diff --git a/asset-manifest.json b/asset-manifest.json index e740a695d..0455bba4c 100644 --- a/asset-manifest.json +++ b/asset-manifest.json @@ -51,12 +51,12 @@ "./static/js/26.4ca0a6c7.chunk.js": "/react/build/./static/js/26.4ca0a6c7.chunk.js", "./static/js/27.a37917ce.chunk.js": "/react/build/./static/js/27.a37917ce.chunk.js", "static/css/28.75aaa133.chunk.css": "/react/build/static/css/28.75aaa133.chunk.css", - "./static/js/28.79b24872.chunk.js": "/react/build/./static/js/28.79b24872.chunk.js", + "./static/js/28.25a3467c.chunk.js": "/react/build/./static/js/28.25a3467c.chunk.js", "static/css/29.646401a4.chunk.css": "/react/build/static/css/29.646401a4.chunk.css", "./static/js/29.923d493f.chunk.js": "/react/build/./static/js/29.923d493f.chunk.js", "./static/js/30.40d07ad1.chunk.js": "/react/build/./static/js/30.40d07ad1.chunk.js", "static/css/31.93537df9.chunk.css": "/react/build/static/css/31.93537df9.chunk.css", - "./static/js/31.6a3b20d4.chunk.js": "/react/build/./static/js/31.6a3b20d4.chunk.js", + "./static/js/31.6014bbba.chunk.js": "/react/build/./static/js/31.6014bbba.chunk.js", "static/css/32.33342a61.chunk.css": "/react/build/static/css/32.33342a61.chunk.css", "./static/js/32.aa9f51bb.chunk.js": "/react/build/./static/js/32.aa9f51bb.chunk.js", "static/css/33.3201edcb.chunk.css": "/react/build/static/css/33.3201edcb.chunk.css", @@ -110,7 +110,7 @@ "static/css/59.ff2c3b14.chunk.css": "/react/build/static/css/59.ff2c3b14.chunk.css", "./static/js/59.10c3d9dd.chunk.js": "/react/build/./static/js/59.10c3d9dd.chunk.js", "static/css/60.c0f62e1a.chunk.css": "/react/build/static/css/60.c0f62e1a.chunk.css", - "./static/js/60.4fbf5522.chunk.js": "/react/build/./static/js/60.4fbf5522.chunk.js", + "./static/js/60.7d62a5a5.chunk.js": "/react/build/./static/js/60.7d62a5a5.chunk.js", "static/css/61.cd48c477.chunk.css": "/react/build/static/css/61.cd48c477.chunk.css", "./static/js/61.59c84ed6.chunk.js": "/react/build/./static/js/61.59c84ed6.chunk.js", "static/css/62.1b6ed5c5.chunk.css": "/react/build/static/css/62.1b6ed5c5.chunk.css", @@ -124,7 +124,7 @@ "static/css/66.1ff4022b.chunk.css": "/react/build/static/css/66.1ff4022b.chunk.css", "./static/js/66.afc9f09c.chunk.js": "/react/build/./static/js/66.afc9f09c.chunk.js", "static/css/67.f8123c09.chunk.css": "/react/build/static/css/67.f8123c09.chunk.css", - "./static/js/67.c24837d2.chunk.js": "/react/build/./static/js/67.c24837d2.chunk.js", + "./static/js/67.59faa180.chunk.js": "/react/build/./static/js/67.59faa180.chunk.js", "./static/js/68.328d799c.chunk.js": "/react/build/./static/js/68.328d799c.chunk.js", "static/css/69.05177416.chunk.css": "/react/build/static/css/69.05177416.chunk.css", "./static/js/69.c59f6352.chunk.js": "/react/build/./static/js/69.c59f6352.chunk.js", @@ -171,7 +171,7 @@ "./static/js/90.23d98cb3.chunk.js": "/react/build/./static/js/90.23d98cb3.chunk.js", "./static/js/91.f2048c58.chunk.js": "/react/build/./static/js/91.f2048c58.chunk.js", "static/css/92.45444cfc.chunk.css": "/react/build/static/css/92.45444cfc.chunk.css", - "./static/js/92.11aef3a5.chunk.js": "/react/build/./static/js/92.11aef3a5.chunk.js", + "./static/js/92.486d7793.chunk.js": "/react/build/./static/js/92.486d7793.chunk.js", "static/css/93.92df39ea.chunk.css": "/react/build/static/css/93.92df39ea.chunk.css", "./static/js/93.30d48335.chunk.js": "/react/build/./static/js/93.30d48335.chunk.js", "static/css/94.92df39ea.chunk.css": "/react/build/static/css/94.92df39ea.chunk.css", @@ -300,15 +300,15 @@ "./static/js/193.bc21c27e.chunk.js": "/react/build/./static/js/193.bc21c27e.chunk.js", "./static/js/194.fdf7dc7d.chunk.js": "/react/build/./static/js/194.fdf7dc7d.chunk.js", "main.css": "/react/build/static/css/main.463aa69f.chunk.css", - "main.js": "/react/build/./static/js/main.d3d2a3f3.chunk.js", - "runtime~main.js": "/react/build/./static/js/runtime~main.a539414e.js", + "main.js": "/react/build/./static/js/main.026ab475.chunk.js", + "runtime~main.js": "/react/build/./static/js/runtime~main.72294cb7.js", "./static/js/147.67ae26a3.chunk.js.LICENSE.txt": "/react/build/./static/js/147.67ae26a3.chunk.js.LICENSE.txt", "./static/js/189.3fbef684.chunk.js.LICENSE.txt": "/react/build/./static/js/189.3fbef684.chunk.js.LICENSE.txt", "./static/js/2.d659edf3.chunk.js.LICENSE.txt": "/react/build/./static/js/2.d659edf3.chunk.js.LICENSE.txt", "./static/js/34.87b69743.chunk.js.LICENSE.txt": "/react/build/./static/js/34.87b69743.chunk.js.LICENSE.txt", "./static/js/35.ee1c89dc.chunk.js.LICENSE.txt": "/react/build/./static/js/35.ee1c89dc.chunk.js.LICENSE.txt", "./static/js/8.a578b450.chunk.js.LICENSE.txt": "/react/build/./static/js/8.a578b450.chunk.js.LICENSE.txt", - "./static/js/main.d3d2a3f3.chunk.js.LICENSE.txt": "/react/build/./static/js/main.d3d2a3f3.chunk.js.LICENSE.txt", + "./static/js/main.026ab475.chunk.js.LICENSE.txt": "/react/build/./static/js/main.026ab475.chunk.js.LICENSE.txt", "css.worker.js": "/react/build/css.worker.js", "editor.worker.js": "/react/build/editor.worker.js", "html.worker.js": "/react/build/html.worker.js", diff --git a/index.html b/index.html index 3eefed510..38193ea52 100644 --- a/index.html +++ b/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/service-worker.js b/service-worker.js index 1146f69de..c03140808 100644 --- a/service-worker.js +++ b/service-worker.js @@ -1 +1 @@ -"use strict";var precacheConfig=[["/react/build/css.worker.js","abadf65f7ed870870dccf00a50b3c6ef"],["/react/build/editor.worker.js","2a381dfa06623f377bb84adbc7b38062"],["/react/build/html.worker.js","028952cd3f435d71d238edcdc2ef2967"],["/react/build/index.html","7ad106ddc78737c5cbd73fd9b9108925"],["/react/build/json.worker.js","4a4ca127f837beaf0dddae0c74c81b57"],["/react/build/static/css/0.d9d88bd2.chunk.css","45259d31111b9a22f91937a03f4946cc"],["/react/build/static/css/1.0ba7a726.chunk.css","5f00325b238a8f0ad62fd2e2ac4e9e54"],["/react/build/static/css/10.d4345223.chunk.css","25bc66f1fcb304ce926c2de7598dc1dd"],["/react/build/static/css/100.632d7855.chunk.css","226acc64dfa2fad8420e5eadf2d7b32d"],["/react/build/static/css/101.f243baca.chunk.css","52a023dc3be7de773e46e2df6dbeb8ef"],["/react/build/static/css/102.6400e32a.chunk.css","a35725c6e848559181bb56f18eaf6d40"],["/react/build/static/css/103.9d206204.chunk.css","e363ea281af9e616a0d144154b88c8f8"],["/react/build/static/css/104.9d206204.chunk.css","e363ea281af9e616a0d144154b88c8f8"],["/react/build/static/css/105.92df39ea.chunk.css","248dd7a153a8a1fac332103b57f55305"],["/react/build/static/css/106.92df39ea.chunk.css","248dd7a153a8a1fac332103b57f55305"],["/react/build/static/css/108.11a04942.chunk.css","1373d0214c811e25b7c1763ef9cf3287"],["/react/build/static/css/109.9d206204.chunk.css","e363ea281af9e616a0d144154b88c8f8"],["/react/build/static/css/11.ae349a22.chunk.css","8c23511df1737358bf41e4098ff59993"],["/react/build/static/css/115.3edde0c7.chunk.css","fdec91b854d997a2d04e3cab3c33a778"],["/react/build/static/css/116.93537df9.chunk.css","12f8e284799330f3208cf59c4a435ebb"],["/react/build/static/css/12.1c5f3a58.chunk.css","5d39578b91b84e925bd702d0d56a0ea2"],["/react/build/static/css/122.1ff4022b.chunk.css","902f4dad6a750d9a4c48cf29ea57a3e7"],["/react/build/static/css/123.acf78e2c.chunk.css","470713ce6e72d22878329b7d25a6c51c"],["/react/build/static/css/124.28bf6b3d.chunk.css","80d2b1a307596eba93f7e28d7e6af95e"],["/react/build/static/css/125.af9850ad.chunk.css","c83c3fe8f78cb68ff2be49d1ec68d450"],["/react/build/static/css/126.93537df9.chunk.css","12f8e284799330f3208cf59c4a435ebb"],["/react/build/static/css/127.93537df9.chunk.css","12f8e284799330f3208cf59c4a435ebb"],["/react/build/static/css/128.93537df9.chunk.css","12f8e284799330f3208cf59c4a435ebb"],["/react/build/static/css/129.f2060fe7.chunk.css","3dc3569f98f0d43324c3871cc5623426"],["/react/build/static/css/13.30f998e5.chunk.css","a2448665afc6db7c5f40112f848f31df"],["/react/build/static/css/130.0485185f.chunk.css","ac6c4166a2b44534beb45ecfd6080b37"],["/react/build/static/css/131.9d206204.chunk.css","e363ea281af9e616a0d144154b88c8f8"],["/react/build/static/css/14.1e970b46.chunk.css","2eabf412810b516f7aa2c27804f2552d"],["/react/build/static/css/15.cf56d612.chunk.css","d4f765e1daf8beaae73ebaec51b4f472"],["/react/build/static/css/16.74ea968f.chunk.css","00367438ed248384120868d43dfe446c"],["/react/build/static/css/17.d0c774b5.chunk.css","7b3e0567aefcc4fcd35f5d0209d61610"],["/react/build/static/css/18.7bd7b9f3.chunk.css","0a57098eaafd05768954e758313b3d3b"],["/react/build/static/css/19.012aec0d.chunk.css","4003be468987a37dbf5402041401a9a1"],["/react/build/static/css/20.e5544bad.chunk.css","cbc0ff5ebc043230b000704e2d49409a"],["/react/build/static/css/22.330fa4e3.chunk.css","474ecb619f4717696793d947b95cdc73"],["/react/build/static/css/23.db9266b0.chunk.css","a32c8d84228d2166ef778fd258a8a107"],["/react/build/static/css/24.0b7937b6.chunk.css","9d6660c0b626c128a1e6cd34da8267ed"],["/react/build/static/css/26.92df39ea.chunk.css","248dd7a153a8a1fac332103b57f55305"],["/react/build/static/css/28.75aaa133.chunk.css","ad6c230d274e3223ef38a0d015368fe5"],["/react/build/static/css/29.646401a4.chunk.css","f3c41fe2d2277b90555bebc83f0a84b6"],["/react/build/static/css/3.d01698e8.chunk.css","f7bca4f3d6437baa7779df051da7a998"],["/react/build/static/css/31.93537df9.chunk.css","12f8e284799330f3208cf59c4a435ebb"],["/react/build/static/css/32.33342a61.chunk.css","867c5fade26b46d4a07e88be93672f5d"],["/react/build/static/css/33.3201edcb.chunk.css","c01c35f0080be0d3c63031af842a18d3"],["/react/build/static/css/34.4dcfd44a.chunk.css","52b249a4480f1f221c4e3f805f5ff4e2"],["/react/build/static/css/35.a673f3dd.chunk.css","73124362f8bc5f7747b030fbed8111a6"],["/react/build/static/css/36.c831b4d8.chunk.css","6f5d6edfa9b7ebfc65e8624252ac57f9"],["/react/build/static/css/37.010bbe87.chunk.css","2c5f70db861785f0462ace73a68695ef"],["/react/build/static/css/38.69edc38b.chunk.css","00367438ed248384120868d43dfe446c"],["/react/build/static/css/39.69edc38b.chunk.css","00367438ed248384120868d43dfe446c"],["/react/build/static/css/4.2254a4a8.chunk.css","f08f007bb4e5e41b5aa87f2848a6c460"],["/react/build/static/css/40.543b24f4.chunk.css","a5241e80a85c0a84a762d290baa7b7aa"],["/react/build/static/css/41.69edc38b.chunk.css","00367438ed248384120868d43dfe446c"],["/react/build/static/css/42.69edc38b.chunk.css","00367438ed248384120868d43dfe446c"],["/react/build/static/css/43.69edc38b.chunk.css","00367438ed248384120868d43dfe446c"],["/react/build/static/css/44.eb498e36.chunk.css","a6e0cdaa09c6e8233d8055cf311db86f"],["/react/build/static/css/46.88cc3b5e.chunk.css","b0f4b693bd04f8403f22cd9c62e5bb70"],["/react/build/static/css/47.88cc3b5e.chunk.css","b0f4b693bd04f8403f22cd9c62e5bb70"],["/react/build/static/css/48.88cc3b5e.chunk.css","b0f4b693bd04f8403f22cd9c62e5bb70"],["/react/build/static/css/49.5c81fe74.chunk.css","ac596097266050c51b4e531e4e272f8b"],["/react/build/static/css/51.080d6958.chunk.css","d9b5ca9cb767438bb42a4167d8c9141b"],["/react/build/static/css/54.c9adf574.chunk.css","e74858fce046436a28855ece8d60f97e"],["/react/build/static/css/55.b299cb62.chunk.css","fecc0876ae57a1f0c824fcfecd4b3731"],["/react/build/static/css/56.4f215d24.chunk.css","00eba11fb996a59e02c26e611538a624"],["/react/build/static/css/57.19d38f88.chunk.css","3b4bd8fd75d8db72b1393e3bd5de4193"],["/react/build/static/css/58.e8001192.chunk.css","b4d9acea6f289a480fab21ef3fb3b2f5"],["/react/build/static/css/59.ff2c3b14.chunk.css","9ee610dac6f9085c78887aa88c1c555a"],["/react/build/static/css/6.8bc7b323.chunk.css","189c51bc6ab1d144f75f0ecdc819523e"],["/react/build/static/css/60.c0f62e1a.chunk.css","105e4f1f34b6827ab5eeaa773aa776b2"],["/react/build/static/css/61.cd48c477.chunk.css","72b2d0800c7dc34080773e96b5445bec"],["/react/build/static/css/62.1b6ed5c5.chunk.css","56aa24932cd6174c631686c49456bcd2"],["/react/build/static/css/63.67a9b0d6.chunk.css","c75c3e15cc66ce6068cf5c6cc88b491d"],["/react/build/static/css/64.859e5099.chunk.css","fb0a4edb5f10123fd360eda42258da94"],["/react/build/static/css/65.1d3b7a8d.chunk.css","69bd71b5b2e724299fe5264de839c4f8"],["/react/build/static/css/66.1ff4022b.chunk.css","902f4dad6a750d9a4c48cf29ea57a3e7"],["/react/build/static/css/67.f8123c09.chunk.css","9c930952c58a50caecf3a9a4cc529056"],["/react/build/static/css/69.05177416.chunk.css","ad57386a590ab587c5673efaa5dd2c04"],["/react/build/static/css/7.bbfdfc43.chunk.css","a4dd127f859f497fde9a1cf9dbee1396"],["/react/build/static/css/70.520bfea6.chunk.css","ff724278085b6419943d6bd15edebd43"],["/react/build/static/css/71.a5678b8f.chunk.css","d374385a868481950227db6ceb1c2bb6"],["/react/build/static/css/72.9d206204.chunk.css","e363ea281af9e616a0d144154b88c8f8"],["/react/build/static/css/74.ea97577b.chunk.css","1211ec54a5dbd129cf63cacdc130ca13"],["/react/build/static/css/75.2cfa3592.chunk.css","44c33d03d47c677ff9abfa6ab1e6ea41"],["/react/build/static/css/76.b2109eb4.chunk.css","4215fbff912ba2ff16a8d0129bd4b326"],["/react/build/static/css/77.1819b82d.chunk.css","f801a6ffe108484747fc41389b5533ab"],["/react/build/static/css/78.61b37499.chunk.css","ce6325f2eb8a3c906dd19b2f05323049"],["/react/build/static/css/79.61b37499.chunk.css","ce6325f2eb8a3c906dd19b2f05323049"],["/react/build/static/css/8.1632b9c8.chunk.css","be10f88a67dbf7202bab419a79747b99"],["/react/build/static/css/80.802376aa.chunk.css","ab9ca4eccd0f7f82106f926852c4413b"],["/react/build/static/css/81.92df39ea.chunk.css","248dd7a153a8a1fac332103b57f55305"],["/react/build/static/css/82.1926e8da.chunk.css","bff37dcde82716bb405a930a27e9e5df"],["/react/build/static/css/83.72690062.chunk.css","de0b77d7d9c3e8ccab44f6af453b223a"],["/react/build/static/css/84.4054f41b.chunk.css","df7b038f8f1a0e16793b24bc950b9b22"],["/react/build/static/css/85.f4de1d43.chunk.css","afbb0128da60fcb8bc41db41f1cd17a3"],["/react/build/static/css/86.d16cbade.chunk.css","dcc39c53ac7340d5d3ecc95864109893"],["/react/build/static/css/87.153cc878.chunk.css","77be4e4f0efdb0e1761a28989da1c41c"],["/react/build/static/css/88.131374a7.chunk.css","1a35fcd6b27d13b50b31c75eca200072"],["/react/build/static/css/89.c2f5b906.chunk.css","06c5db3c2a4617f217c383df8ad0b51f"],["/react/build/static/css/9.6e0686d9.chunk.css","518189592f4d54396239adb7c8a02413"],["/react/build/static/css/90.fd3fa2e9.chunk.css","97c0f9c3d8d16c05584bec1ce645cda0"],["/react/build/static/css/92.45444cfc.chunk.css","eb5e3c36bee6ed89ca7abd09cbd2fb2c"],["/react/build/static/css/93.92df39ea.chunk.css","248dd7a153a8a1fac332103b57f55305"],["/react/build/static/css/94.92df39ea.chunk.css","248dd7a153a8a1fac332103b57f55305"],["/react/build/static/css/98.a8f06a40.chunk.css","805c0ab14eb9b6a46588cc3fc10d3090"],["/react/build/static/css/99.b6f629c2.chunk.css","9bee0d5efe580a886a06f342d0953f1d"],["/react/build/static/css/main.463aa69f.chunk.css","92a07f3ba6c96877bb0a23a9b4e1b285"],["/react/build/static/js/0.38cc2216.chunk.js","a4284c68ac642256950a71aad2989431"],["/react/build/static/js/1.9de07cbc.chunk.js","196c1ffd38b2415d627e2ab48865b2ee"],["/react/build/static/js/10.08552af4.chunk.js","f6ebb9227aabe78e35484d43f4123c84"],["/react/build/static/js/100.f02dd693.chunk.js","e1b59c70deb2a35370f8ff1a60310694"],["/react/build/static/js/101.8a256cda.chunk.js","af7f20758e1ad0b7c16608ce6da89c54"],["/react/build/static/js/102.24f0ff28.chunk.js","eed1f6da3818d462b2000e689ac42f2a"],["/react/build/static/js/103.24088a75.chunk.js","52389db60ee281931fda5fd4bce144ad"],["/react/build/static/js/104.53b1f624.chunk.js","43a05721fed16bcb8abf128460d0c34b"],["/react/build/static/js/105.66fcfeb5.chunk.js","2138a24e362f418d908d8f976e636b25"],["/react/build/static/js/106.562edce5.chunk.js","4c68bf6e7ffb97b06242aebcc930dac2"],["/react/build/static/js/107.1dd4ea21.chunk.js","9b701737502a53c235aef9fbb99385b5"],["/react/build/static/js/108.48af4c57.chunk.js","13dcf7165e9c2ddb3ce77a2c1262c0ae"],["/react/build/static/js/109.33ef9eeb.chunk.js","1c1930e2c2a2f26e107279b642314a11"],["/react/build/static/js/11.69f940df.chunk.js","1e59e9dc852c2d89c707243e452cf217"],["/react/build/static/js/110.e6e4d3d7.chunk.js","bb0c46e3cc78a96a73fd966c3e3ee8ab"],["/react/build/static/js/111.dbfb317d.chunk.js","f94a410159296004f52c6a5ec6783c6a"],["/react/build/static/js/112.a09bbdae.chunk.js","92ea87cd0d2de8271cc9ffb47192323f"],["/react/build/static/js/113.2e4a5519.chunk.js","701552f522fc3a0226fd007d7a58eda1"],["/react/build/static/js/114.33fa8d86.chunk.js","be27099f6688d920e6dce31233f15a8c"],["/react/build/static/js/115.b47d0776.chunk.js","a434cc9656a8fb6dd9258f43923de976"],["/react/build/static/js/116.b81ed987.chunk.js","74f9c371a24568b91affee34ef222c42"],["/react/build/static/js/117.7fff8d1f.chunk.js","57e6af1074095a2cde154098c2be7de4"],["/react/build/static/js/118.c1413177.chunk.js","66be965dcbfbd86c848325215571f131"],["/react/build/static/js/119.8ca783c3.chunk.js","f118c56c133d8420845a880a4e0b09a6"],["/react/build/static/js/12.72a62b66.chunk.js","9c87e1d681a284e17e81dfc9fc140241"],["/react/build/static/js/120.26ad9109.chunk.js","ab04705b3592ea93c6f8f58bd61cfe05"],["/react/build/static/js/121.7e4e15f6.chunk.js","105d6ddccbc3b1c2ef8facc534c620be"],["/react/build/static/js/122.43304547.chunk.js","99aaaade676858d9b3ad06d9b4d6427f"],["/react/build/static/js/123.202782ba.chunk.js","18e848973380641bd6406d08fa90616d"],["/react/build/static/js/124.0efba3cd.chunk.js","cb6701675db16e525d90ae9b0f3e5c58"],["/react/build/static/js/125.c9bdba80.chunk.js","5467c2412f04bdcb47d8552beed2dbc6"],["/react/build/static/js/126.1e1c6b0d.chunk.js","e07f84d044aa6b97a73b2054a3a5007c"],["/react/build/static/js/127.ce9a385e.chunk.js","5bb24fc6e282728664949f1af99881aa"],["/react/build/static/js/128.7c3345ad.chunk.js","1ea1a692a1b646c7095bc06ddc800acb"],["/react/build/static/js/129.e53ef67f.chunk.js","ecff408504f442fc7f14bf17a47c4e1e"],["/react/build/static/js/13.847432ef.chunk.js","77d9f230370309fb13d03f2d5e758526"],["/react/build/static/js/130.1403954b.chunk.js","a4bc820c41e0a56a76ba64cd2191783a"],["/react/build/static/js/131.4f4d8f60.chunk.js","4ab40ee3e70e2a2d3d68077bb38d9973"],["/react/build/static/js/132.34a2259c.chunk.js","ceeecda3dd1ac2128dc0f7f4402fa770"],["/react/build/static/js/133.85d8a606.chunk.js","d57773f9377b440597315a68410ec0cd"],["/react/build/static/js/134.c846ec39.chunk.js","5cd4789ed4ead5b0401449d97e3e8b9d"],["/react/build/static/js/135.42dc9e35.chunk.js","4f5153c53296a319f15a2fbac234a04a"],["/react/build/static/js/136.e713bbda.chunk.js","dbcb706baa23b30d87048e562e57ae51"],["/react/build/static/js/137.9a584547.chunk.js","3afec7d43ee18bad503aa531d5a41dad"],["/react/build/static/js/138.30c9bf3e.chunk.js","87adeff65086a26264c38e9afdd9a4b8"],["/react/build/static/js/139.471b727e.chunk.js","dcfa54fbf5b77efc0c33ee77ed76e340"],["/react/build/static/js/14.47d6b04d.chunk.js","a5b82ffc9e077fa7ef89a30f1192ad79"],["/react/build/static/js/140.2cf678ec.chunk.js","3e0edd48983d46ed99f0b2974ca07454"],["/react/build/static/js/141.0c37428d.chunk.js","d4488812b9900dd534ae7de89d4b98fd"],["/react/build/static/js/142.90447ba1.chunk.js","e70cd13eba49b2f485a56c97199eadfe"],["/react/build/static/js/143.a728fd15.chunk.js","1c7b44ee86f2953fe01ef4a87020018c"],["/react/build/static/js/144.da3d7cb2.chunk.js","c15604c36adfc806bad3edb92759d459"],["/react/build/static/js/145.5ff39369.chunk.js","7969db13673a211fff7f2eea19c1cdae"],["/react/build/static/js/146.9055d194.chunk.js","569b6129c109f972f07be436b69a02a1"],["/react/build/static/js/147.67ae26a3.chunk.js","302a0a4d3ac975fd3cb8b8d57e1c4f36"],["/react/build/static/js/147.67ae26a3.chunk.js.LICENSE.txt","03278fe9381615d8b390847939a9eb37"],["/react/build/static/js/148.469d55ff.chunk.js","77d0d869f00e800dedfaea78bff1221f"],["/react/build/static/js/149.82ddc723.chunk.js","90b2a178ba5c51e79ed7aee9d6ddd46c"],["/react/build/static/js/15.5eff19c4.chunk.js","198930527a2a59e851a519dccd2df0e3"],["/react/build/static/js/150.d9806ad6.chunk.js","7fe4d53cfc1f6beba4dba8e607f84a6d"],["/react/build/static/js/151.aa27b140.chunk.js","aa0865e5bda6c5135f2ccab4c0cd51cc"],["/react/build/static/js/152.f27906a3.chunk.js","a74d50c45a474692da4b75ca3c6e9b7c"],["/react/build/static/js/153.a95c448d.chunk.js","86d2297e5bdfbbae493d7a04179ec76e"],["/react/build/static/js/154.75dff73a.chunk.js","db442242fcab6918d496456e8f6f7d48"],["/react/build/static/js/155.bf7b3b90.chunk.js","25ba8d3a09863ebb00f14829f6964cf9"],["/react/build/static/js/156.a5d3cd4c.chunk.js","995bedd5cbbf559d6b86b6d8fc532fad"],["/react/build/static/js/157.3bf78dcc.chunk.js","549596abb8f3554ab24571295deb8315"],["/react/build/static/js/158.2ac8f8b0.chunk.js","aa131624f015ad8b1b466ba6feeec363"],["/react/build/static/js/159.4c65dad8.chunk.js","2d58be73824022c7becbca4da0db02ad"],["/react/build/static/js/16.0ba6662a.chunk.js","f3043e8d624d4e2fc4c37fc61ce876e8"],["/react/build/static/js/160.8fe98dbd.chunk.js","3d124a9ae9b79525bdc9e6e652b7f2d1"],["/react/build/static/js/161.81b3dc53.chunk.js","3066acd27334ac3d31e3258576e74bae"],["/react/build/static/js/162.80cba987.chunk.js","55569655d262991a5fe5928ec539eb6b"],["/react/build/static/js/163.431c740e.chunk.js","4b5bb69c0a2fe0fe833cb8a48b78584f"],["/react/build/static/js/164.9fe89370.chunk.js","0e562783e1ef12b6f6d7e7306cb11485"],["/react/build/static/js/165.6a20768f.chunk.js","5d229762514c0631455df3186a1a2847"],["/react/build/static/js/166.ced1b182.chunk.js","ee4530941f31ea2a5d46cbff6dd35188"],["/react/build/static/js/167.49b56732.chunk.js","7ec7eb9dbdaa1304d86416eb786644e7"],["/react/build/static/js/168.b9bf1e06.chunk.js","977844346272e29d6e3354a920dddd1a"],["/react/build/static/js/169.d85c0071.chunk.js","fadf58d3f80e74066f71a483f113f020"],["/react/build/static/js/17.de7604c0.chunk.js","61e670ba3790ce7f0c3f4c02cdfc848c"],["/react/build/static/js/170.fc532980.chunk.js","7425c326221283626f3e3bdb8107f3f2"],["/react/build/static/js/171.b062dc4f.chunk.js","3540c9e3a2cbe09d794c91abe1ac8e1b"],["/react/build/static/js/172.10fae3a9.chunk.js","9972273249327be86d9cf3f8b7dd7ec3"],["/react/build/static/js/173.9252f343.chunk.js","1b23bbbb5a7b2ae8e51bf02d9fb2482e"],["/react/build/static/js/174.3a5ed8e6.chunk.js","cf258b19e7e81a51570104ed76450a32"],["/react/build/static/js/175.9babcf3f.chunk.js","62b0608812f141d5576661470e12135a"],["/react/build/static/js/176.a70acaca.chunk.js","cc00afd4d4487dbcb7530465f633bb8f"],["/react/build/static/js/177.dbfa5850.chunk.js","20310be184a252864153d59ca9c12ca0"],["/react/build/static/js/178.eed56d06.chunk.js","a8a51089c6a83df7e9cbcff13372977a"],["/react/build/static/js/179.6b354d9a.chunk.js","218e8d93933bf6e624d0d15769571675"],["/react/build/static/js/18.99b2f967.chunk.js","0d363c0a0c4cd1111af31d097be614cf"],["/react/build/static/js/180.af942319.chunk.js","9ba258e39575a93de41507906df58c83"],["/react/build/static/js/181.70e499f1.chunk.js","f5ed0290b6940d91fe5b378f57036836"],["/react/build/static/js/182.e7c64d3e.chunk.js","c77062dfe2574132aba6de93a81ac22a"],["/react/build/static/js/183.093ee74f.chunk.js","872ba2e62a3f91daa2d9887f145e0cff"],["/react/build/static/js/184.7ed09e68.chunk.js","188dd2f4c3258a42081205ccbb9c3905"],["/react/build/static/js/185.e07e87d8.chunk.js","c45f255bd13049c7a64b14efe49ea2d2"],["/react/build/static/js/186.609d9b25.chunk.js","fbe5cb46ca15b831f0c2b882a4351322"],["/react/build/static/js/187.b08cc870.chunk.js","65d5dd45e3debd597a97dbc1e61a24e1"],["/react/build/static/js/188.9d3f7b7c.chunk.js","872030d57ca363ce497ebfd692b74412"],["/react/build/static/js/189.3fbef684.chunk.js","46469bc1c03438896c85573e44aea45f"],["/react/build/static/js/189.3fbef684.chunk.js.LICENSE.txt","cf224aa154060b2c3c86fa6ed5af6aa8"],["/react/build/static/js/19.c80c661b.chunk.js","d77ae95a80ead48d696fb73e38dc5047"],["/react/build/static/js/190.95b861fa.chunk.js","78b1fe6afe0ff88df6434950b03e3671"],["/react/build/static/js/191.dd01864e.chunk.js","c638395a75d76c006af99a1de3455e03"],["/react/build/static/js/192.f1caa1fa.chunk.js","a4a05a4dbcd61e9d17dd7f2d1c1069bc"],["/react/build/static/js/193.bc21c27e.chunk.js","98d97508dfef1b5e9fbf674a67d75c14"],["/react/build/static/js/194.fdf7dc7d.chunk.js","ee63487533350b0348b49408f7b01f16"],["/react/build/static/js/2.d659edf3.chunk.js","065445e7fc654996bfafff7a4b1b5ce8"],["/react/build/static/js/2.d659edf3.chunk.js.LICENSE.txt","7ec01595672f75e83fd81b41f132f4c1"],["/react/build/static/js/20.bfbd5ffe.chunk.js","7dbfee9dc14c47b9d87fd3fd6167e7f2"],["/react/build/static/js/21.6da4d475.chunk.js","978591d1e81e94b1024e1c0172be6a69"],["/react/build/static/js/22.709de7d8.chunk.js","3bde3961e1546740a195e92d15cb8e8b"],["/react/build/static/js/23.54c1c605.chunk.js","4ce076f7ff92308d1f2274d30aa6fd38"],["/react/build/static/js/24.567dac3f.chunk.js","78169ab8a655a0ae8a148b210cf319a9"],["/react/build/static/js/25.c3ad4e4d.chunk.js","edfededa2a74fe899cca9705978bf3b4"],["/react/build/static/js/26.4ca0a6c7.chunk.js","643cc9d0eafbc604d7b48584af7d2489"],["/react/build/static/js/27.a37917ce.chunk.js","c9c8e506d16d776e7ad76b030b084850"],["/react/build/static/js/28.79b24872.chunk.js","8d231aa5a61c621113754491ba2b5400"],["/react/build/static/js/29.923d493f.chunk.js","459614d22f1a5f503d559d64c5503ba5"],["/react/build/static/js/3.1f347c4c.chunk.js","83f0f2a7eacaf7a6dcfeba8b12801989"],["/react/build/static/js/30.40d07ad1.chunk.js","c688b06d4273131d46f57e408d0bec28"],["/react/build/static/js/31.6a3b20d4.chunk.js","9725830b89390ac9e0837a34ffdc4e32"],["/react/build/static/js/32.aa9f51bb.chunk.js","cadbcbbda78071a6ead7953ce9e52e70"],["/react/build/static/js/33.1bdb4fb4.chunk.js","8b3e9c1c352e4dbf2878f756dd138bd2"],["/react/build/static/js/34.87b69743.chunk.js","3955b95c346b334960251d178e82b622"],["/react/build/static/js/34.87b69743.chunk.js.LICENSE.txt","cd401f03f7504301a45a3b9404d9e8cf"],["/react/build/static/js/35.ee1c89dc.chunk.js","6c882ec74061db92786d3f55a53db327"],["/react/build/static/js/35.ee1c89dc.chunk.js.LICENSE.txt","cd401f03f7504301a45a3b9404d9e8cf"],["/react/build/static/js/36.6afb23fc.chunk.js","d54ef499606aae575d6c6e9241950f14"],["/react/build/static/js/37.89f8d1b1.chunk.js","658350163bd85bff8f02f8b8ba1864ca"],["/react/build/static/js/38.28a85e43.chunk.js","765c9ab8806003f44f1551b76487f6ed"],["/react/build/static/js/39.fee5dd44.chunk.js","166187fb892e08fdaee7e6520d6c2e86"],["/react/build/static/js/4.4d2d662b.chunk.js","26133418ac8b9aa044b555dded0a9ce7"],["/react/build/static/js/40.7df4fd1f.chunk.js","d02b40809e4de94fff990d34dcf7bad5"],["/react/build/static/js/41.4a842986.chunk.js","642eebb1bb448bd9b6f3beb68fa21fa5"],["/react/build/static/js/42.4805604b.chunk.js","7bf8afa044198a8075fe8171c7a1ef8a"],["/react/build/static/js/43.83c8b953.chunk.js","34c0f9a23603f63247148934b735008a"],["/react/build/static/js/44.ccdcc451.chunk.js","6d2d380edd54a7ce555e15fe106ac7c6"],["/react/build/static/js/45.d8714826.chunk.js","f5aa0f34fcf40990e1571b83fc2109ff"],["/react/build/static/js/46.b903135a.chunk.js","6ec4f4acb8ed33f35f53320e869d9f27"],["/react/build/static/js/47.81e034c3.chunk.js","9c78fee08c1e500b305f972043adb615"],["/react/build/static/js/48.bbe819a9.chunk.js","a9b8710d088c17a7d82c228bc6a420b6"],["/react/build/static/js/49.52f41fd7.chunk.js","eb521f0651037373a98af9b2d770e588"],["/react/build/static/js/5.0cdf2e83.chunk.js","0707692a91bfa441c07235ef2924d086"],["/react/build/static/js/50.fe4f94e4.chunk.js","80ed0686ed351f08f6e95787a4b363b0"],["/react/build/static/js/51.5ee89aa0.chunk.js","00ac020838e1a420f57b3d83fe846bbc"],["/react/build/static/js/52.d514755b.chunk.js","2447fb349312f3204e19cbf906e32795"],["/react/build/static/js/53.31e60498.chunk.js","f3d5aa3aa427d3bd8924def1b5191d1b"],["/react/build/static/js/54.ba017f60.chunk.js","62a7a85fea7f0fdb29d1788c0e801ccd"],["/react/build/static/js/55.ce4bb066.chunk.js","1072a5f436b2a07478f65fba09f7ac63"],["/react/build/static/js/56.c0cb6388.chunk.js","1704e6122497a9329f164c21b9c6ac8f"],["/react/build/static/js/57.d3e720bf.chunk.js","197815efc543d7899ffc92eb111e34e7"],["/react/build/static/js/58.e2d064c3.chunk.js","ea518ba3aa7037c6ac64c846266e2e53"],["/react/build/static/js/59.10c3d9dd.chunk.js","13ac0123ac2d60f2500f45124d169d7e"],["/react/build/static/js/6.e9f3c1a5.chunk.js","9e099b029001303c6611c35bf088012e"],["/react/build/static/js/60.4fbf5522.chunk.js","7cb152f30ca6240fe3db6672f049c8f0"],["/react/build/static/js/61.59c84ed6.chunk.js","f08566c1ca50725ec4108b74f695b2f3"],["/react/build/static/js/62.ec026a1a.chunk.js","3e682ee39babbfd7d98259854ebae07e"],["/react/build/static/js/63.eef6a7a2.chunk.js","604542a27381eea77977ff06892cb4b8"],["/react/build/static/js/64.fcef2b45.chunk.js","3aadf9ffa4e2a0211ddd2d52d456a164"],["/react/build/static/js/65.26785650.chunk.js","fb8f833c49abf4116b171eb321b396ad"],["/react/build/static/js/66.afc9f09c.chunk.js","6dfc30ea0ec3e9eecc6154d0c09e9f09"],["/react/build/static/js/67.c24837d2.chunk.js","9662b6d66ae9811e97910e1f508b3390"],["/react/build/static/js/68.328d799c.chunk.js","c8cc32d988f8a0211bc5b5e2ba2d1188"],["/react/build/static/js/69.c59f6352.chunk.js","045e17b6aba78b2a226e63e97e8a4a46"],["/react/build/static/js/7.8462b447.chunk.js","3b082797fd1ff631c60373c94481bb8f"],["/react/build/static/js/70.53ffff10.chunk.js","1c425c4abe13edf96dee7202760eba75"],["/react/build/static/js/71.83e736e7.chunk.js","211a8c06e79ad57d31bd18f89ac2a9fc"],["/react/build/static/js/72.a7cc2a03.chunk.js","96c0ae8fae0a592287898a93ac39948f"],["/react/build/static/js/73.bc81d326.chunk.js","d1575e1b35e146b4523207ede26b47e9"],["/react/build/static/js/74.a946e6ea.chunk.js","20628c6f41c2f2ecb557ae767da07780"],["/react/build/static/js/75.6f46e072.chunk.js","108d262909e191c7bea946e9d34ae1e5"],["/react/build/static/js/76.d42f3d17.chunk.js","15fe3270cc6e743f805a3dec1a3331c1"],["/react/build/static/js/77.fe5da44a.chunk.js","6f256096653c1c028010aa2a4002bb87"],["/react/build/static/js/78.ce83ec22.chunk.js","d2bffcdfd8a1d632ec3a9381cec5e89f"],["/react/build/static/js/79.5342dbfc.chunk.js","3a012d600dc2cee35c3446a3305a87b5"],["/react/build/static/js/8.a578b450.chunk.js","eecf7dbd921ab55e8679ab9ce9071a17"],["/react/build/static/js/8.a578b450.chunk.js.LICENSE.txt","cd401f03f7504301a45a3b9404d9e8cf"],["/react/build/static/js/80.3f5ef3a2.chunk.js","bf92ab6bfae79bf3b68b171d4e816718"],["/react/build/static/js/81.ba015d38.chunk.js","07c37325c04466caa8aaab1b8cee8a93"],["/react/build/static/js/82.a1a65dfb.chunk.js","79919e861d845d9637686981a9e8880f"],["/react/build/static/js/83.0887adae.chunk.js","0edb3570ffc550dbe49bfee368029e23"],["/react/build/static/js/84.0719fb51.chunk.js","b5cb58b8a22d4c94a26a154506bccda1"],["/react/build/static/js/85.dc81d99a.chunk.js","30a7514c3140e8af5023e275720f93f9"],["/react/build/static/js/86.868a42ab.chunk.js","00a5296d87bab9f90a86dcb001c4174e"],["/react/build/static/js/87.0e244f5a.chunk.js","4fd827d35db67527c71c21904ddf0284"],["/react/build/static/js/88.074298aa.chunk.js","86e73076d375a8da3a7b106f12f34670"],["/react/build/static/js/89.166725cf.chunk.js","63550c41ce95150e2daa3c2b29d2f1db"],["/react/build/static/js/9.fd42b255.chunk.js","5efe0de43f988844548d4fec59236edb"],["/react/build/static/js/90.23d98cb3.chunk.js","aad9562ff5cf179443fe17b80b8c7b40"],["/react/build/static/js/91.f2048c58.chunk.js","77e1947082196fab3182355301283ea6"],["/react/build/static/js/92.11aef3a5.chunk.js","ad0f049e71f0e251d885fdb85fa75c35"],["/react/build/static/js/93.30d48335.chunk.js","957c24e4e0239427c4401f69ad01b074"],["/react/build/static/js/94.e0bbfe49.chunk.js","974e3156a59a9b6d5253379a18e8ff17"],["/react/build/static/js/95.81643c9f.chunk.js","bfeb6d924139e6fdf14955d4b198aa81"],["/react/build/static/js/96.8006741e.chunk.js","fb129d2e540954aa13b6aaff687bcaf9"],["/react/build/static/js/97.cf617b0d.chunk.js","1268776ea30d999ae869e8b85e1591b0"],["/react/build/static/js/98.b55dc758.chunk.js","ea45d719ee6de3b2ce815074c9650a9d"],["/react/build/static/js/99.0afab563.chunk.js","ba34df92ca0808adaaccd546477db32b"],["/react/build/static/js/main.d3d2a3f3.chunk.js.LICENSE.txt","20c4c9722b39971e742932d08ec3daf5"],["/react/build/static/js/runtime~main.a539414e.js","182ac350daf2ace4e125b1045bf7f47e"],["/react/build/static/media/2-1bg.d22a63b9.png","ba2b4a272d5ca00d9400b4cd1fd573d6"],["/react/build/static/media/2-2-1.afd0f2f5.png","63de0e927282052b4b7a3a4a4e06c004"],["/react/build/static/media/2-2-2.26bc3301.png","09350b2fc63799fbbbed880ee86c54dc"],["/react/build/static/media/2-2-3.6d6ce99c.png","04c46e92f6c6dbc3f354c7d12f41efdf"],["/react/build/static/media/2-2-head.5e69dbb2.png","1ed02c446d34cd67de8d1685ffd16181"],["/react/build/static/media/2-3-1.bcb33d47.png","6309aee1c5b0f1906cf8224c70a2954d"],["/react/build/static/media/2-3-2.84718f27.png","31c01055ab07471d38fc500d6b705d15"],["/react/build/static/media/2-3-3.db9fe021.png","a57f266b735b7cdba67598b4f26d344a"],["/react/build/static/media/2-3-4.15673036.png","e16aa707c8a5d37f083723bdbcd1e0c4"],["/react/build/static/media/2-3bg.deef1b07.png","5b8e2e8dd995ea94a13247eb5ed7ca9e"],["/react/build/static/media/2-4-1.6347d272.png","ab42a83a413363ee38afe9d6744908e1"],["/react/build/static/media/2-4bg.45478d20.png","f28c71d7b533b10dc5c1c33ddc7e028d"],["/react/build/static/media/2-5bg.9cca3de1.png","7d7c0003e780841147d31243f7c305ad"],["/react/build/static/media/2-6-1.302b729e.png","cd88cc40364a0dacde3fa5af91cb8407"],["/react/build/static/media/2-6-2.b262b91e.png","50b143930101e1b295683ba0099f9ab9"],["/react/build/static/media/3-1.9fdda521.png","f6add2be652f2989e8b5c8ebc319f44d"],["/react/build/static/media/3-2.47050941.png","b3ad137b32270db1b9fc4aa08c8e0451"],["/react/build/static/media/3-3.c767aae7.png","5d79fb69eee45493a7555b6414c739c0"],["/react/build/static/media/3-4.92820cbc.png","5d26624685fca97de2721a718a5209eb"],["/react/build/static/media/3-bg.4f22fe34.png","28b762cb9f96c8122b700f54e3c914b4"],["/react/build/static/media/4-1.79fa159d.png","2bea356c9736a2f3787b03d69b72c733"],["/react/build/static/media/4-2.9c066e75.png","88eada7dcd52a5d211ee86aacd523616"],["/react/build/static/media/4-3.a1487a5b.png","da4afd909ef92b84e7a90043e96504d1"],["/react/build/static/media/4-4.5eb40734.png","d3f20f10c4de4cf438ac376516763db9"],["/react/build/static/media/4-bg.214b12ef.png","bb353b3cf7d527c4c052a5462e5f2209"],["/react/build/static/media/BJHKHT.f065403a.png","7e59d4b496c81f75d5c11c5166f030a4"],["/react/build/static/media/CEC.3b748059.png","064eea41dfa53645eb0134012b9e7f2e"],["/react/build/static/media/GFKJ.eb30c414.png","a60603b90e7b35d31753400f56be7770"],["/react/build/static/media/HSKY.2e76ba44.png","390849e1165e584772959baecaafb55b"],["/react/build/static/media/ISCAS.851fcfda.png","6a2b57a38c79d3c48a5aa238a113d165"],["/react/build/static/media/KYRJLM.2d659e5c.png","8d92960a37abe7deb48e25b7ea72a2e5"],["/react/build/static/media/KaTeX_AMS-Regular.b1489df1.woff","7f06b4e30317f784d61d26686aed0ab2"],["/react/build/static/media/KaTeX_AMS-Regular.d4531cf7.woff2","e78e28b4834954df047e4925e9dbf354"],["/react/build/static/media/KaTeX_AMS-Regular.f80d9eaf.ttf","aaf4eee9fba9907d61c3935e0b6a54ae"],["/react/build/static/media/KaTeX_Caligraphic-Bold.0c96bc8f.ttf","021dd4dc61ee5f5cdf315f43b48c094b"],["/react/build/static/media/KaTeX_Caligraphic-Bold.7ce7636b.woff","1e802ca9dedc4ed4e3c6f645e4316128"],["/react/build/static/media/KaTeX_Caligraphic-Bold.f046a374.woff2","4ec58befa687e9752c3c91cd9bcf1bcb"],["/react/build/static/media/KaTeX_Caligraphic-Regular.35f3c951.ttf","d49f2d55ce4f40f982d8ba63d746fbf9"],["/react/build/static/media/KaTeX_Caligraphic-Regular.4519ba4c.woff2","7edb53b6693d75b8a2232481eea1a52c"],["/react/build/static/media/KaTeX_Caligraphic-Regular.4a559f36.woff","d3b46c3a530116933081d9d74e3e9fe8"],["/react/build/static/media/KaTeX_Fraktur-Bold.069514d4.ttf","a31e7cba7b7221ebf1a2ae545fb306b2"],["/react/build/static/media/KaTeX_Fraktur-Bold.2ea3916b.woff","c4c8cab7d5be97b2bb283e531c077355"],["/react/build/static/media/KaTeX_Fraktur-Bold.5b8749ee.woff2","d5b59ec9764e10f4a82369ae29f3ac58"],["/react/build/static/media/KaTeX_Fraktur-Regular.0d90113d.woff","b7d9c46bff5d51da6209e355cc4a235d"],["/react/build/static/media/KaTeX_Fraktur-Regular.2c629b06.woff2","32a5339eb809f381a7357ba56f82aab3"],["/react/build/static/media/KaTeX_Fraktur-Regular.96556db6.ttf","a48dad4f58c82e38a10da0ceebb86370"],["/react/build/static/media/KaTeX_Main-Bold.07e762d0.ttf","9ceff51b3cb7ce6eb4e8efa8163a1472"],["/react/build/static/media/KaTeX_Main-Bold.20b90c20.woff2","8e1e01c4b1207c0a383d9a2b4f86e637"],["/react/build/static/media/KaTeX_Main-Bold.a9cdbc85.woff","22086eb5d97009c3e99bcc1d16ce6865"],["/react/build/static/media/KaTeX_Main-BoldItalic.7649d52f.woff","4c57dbc44bfff1fdf08a59cf556fdab3"],["/react/build/static/media/KaTeX_Main-BoldItalic.b345de5b.woff2","284a17fe5baf72ff8217d4c7e70c0f82"],["/react/build/static/media/KaTeX_Main-BoldItalic.bc8d96e9.ttf","e8b44b990516dab7937bf240fde8b46a"],["/react/build/static/media/KaTeX_Main-Italic.44a32ae6.ttf","29c86397e75cdcb3135af8295f1c2e28"],["/react/build/static/media/KaTeX_Main-Italic.ab751a9e.woff2","e533d5a2506cf053cd671b335ec04dde"],["/react/build/static/media/KaTeX_Main-Italic.e3954fe9.woff","99be0e10c38cd42466e6fe1665ef9536"],["/react/build/static/media/KaTeX_Main-Regular.13b3f852.woff2","5c734d78610fa35282f3379f866707f2"],["/react/build/static/media/KaTeX_Main-Regular.9e75cd60.woff","b741441f6d71014d0453ca3ebc884dd4"],["/react/build/static/media/KaTeX_Main-Regular.af7fc7b3.ttf","5c94aef490324b0925dbe5f643e8fd04"],["/react/build/static/media/KaTeX_Math-BoldItalic.4d6241be.ttf","9a2834a9ff8ab411153571e0e55ac693"],["/react/build/static/media/KaTeX_Math-BoldItalic.94810ff6.woff","b13731ef4e2bfc3d8d859271e39550fc"],["/react/build/static/media/KaTeX_Math-BoldItalic.d5d35e84.woff2","d747bd1e7a6a43864285edd73dcde253"],["/react/build/static/media/KaTeX_Math-Italic.11278d36.woff","f0303906c2a67ac63bf1e8ccd638a89e"],["/react/build/static/media/KaTeX_Math-Italic.cae7ea26.ttf","291e76b8871b84560701bd29f9d1dcc7"],["/react/build/static/media/KaTeX_Math-Italic.ffda8803.woff2","4ad08b826b8065e1eab85324d726538c"],["/react/build/static/media/KaTeX_SansSerif-Bold.2946bdb5.woff","3fb419559955e3ce75619f1a5e8c6c84"],["/react/build/static/media/KaTeX_SansSerif-Bold.5a20a475.woff2","6e0830bee40435e72165345e0682fbfc"],["/react/build/static/media/KaTeX_SansSerif-Bold.f0ad0abc.ttf","7dc027cba9f7b11ec92af4a311372a85"],["/react/build/static/media/KaTeX_SansSerif-Italic.c7feacd5.ttf","4059868e460d2d2e6be18e180d20c43d"],["/react/build/static/media/KaTeX_SansSerif-Italic.c834ba6d.woff","727a9b0d97d72d2fc0228fe4e07fb4d8"],["/react/build/static/media/KaTeX_SansSerif-Italic.e5fc2aef.woff2","fba01c9c6fb2866a0f95bcacb2c187a5"],["/react/build/static/media/KaTeX_SansSerif-Regular.5af9e1cf.ttf","5c58d168c0b66d2c32234a6718e74dfb"],["/react/build/static/media/KaTeX_SansSerif-Regular.5bf28900.woff2","d929cd671b19f0cfea55b6200fb47461"],["/react/build/static/media/KaTeX_SansSerif-Regular.a4fd0563.woff","2555754a67062cac3a0913b715ab982f"],["/react/build/static/media/KaTeX_Script-Regular.a1c15978.woff2","755e2491f13b5269f0afd5a56f7aa692"],["/react/build/static/media/KaTeX_Script-Regular.cd3b0634.woff","d524c9a5b62a17f98f4a97af37fea735"],["/react/build/static/media/KaTeX_Script-Regular.dd0db7ae.ttf","d12ea9efb375f9dc331f562e69892638"],["/react/build/static/media/KaTeX_Size1-Regular.1876361f.woff2","048c39cba4dfb0460682a45e84548e4b"],["/react/build/static/media/KaTeX_Size1-Regular.bbd9552c.ttf","7342d45b052c3a2abc21049959fbab7f"],["/react/build/static/media/KaTeX_Size1-Regular.c4ae0d25.woff","08b5f00e7140f7a10e62c8e2484dfa5a"],["/react/build/static/media/KaTeX_Size2-Regular.635e9324.woff","af24b0e4b7e52656ca77914695c99930"],["/react/build/static/media/KaTeX_Size2-Regular.d1e8ff17.ttf","eb130dcc661de766c999c60ba1525a88"],["/react/build/static/media/KaTeX_Size2-Regular.f516b73c.woff2","81d6b8d5ca77d63d5033d6991549a659"],["/react/build/static/media/KaTeX_Size3-Regular.1ef7adae.woff2","b311ca09df2c89a10fbb914b5a053805"],["/react/build/static/media/KaTeX_Size3-Regular.5d632274.ttf","7e02a40c41e52dc3b2b6b197bbdf05ea"],["/react/build/static/media/KaTeX_Size3-Regular.f32a9fde.woff","0d8926405d832a4b065e516bd385d812"],["/react/build/static/media/KaTeX_Size4-Regular.1d132596.ttf","ad7672524b64b730dfd176140a8945cb"],["/react/build/static/media/KaTeX_Size4-Regular.4f012d6a.woff2","6a3255dfc1ba41c46e7e807f8ab16c49"],["/react/build/static/media/KaTeX_Size4-Regular.f668d566.woff","68895bb880a61a7fc019dbfaa5121bb4"],["/react/build/static/media/KaTeX_Typewriter-Regular.4f31d033.woff2","6cc31ea5c223c88705a13727a71417fa"],["/react/build/static/media/KaTeX_Typewriter-Regular.b1d1af1a.ttf","257023560753aeb0b89b7e434d3da17f"],["/react/build/static/media/KaTeX_Typewriter-Regular.d3c8e68f.woff","3fe216d2a5f736c560cde71984554b64"],["/react/build/static/media/LC.f247fdb8.png","3e02cbcebad7837bf48da07b33a10bf5"],["/react/build/static/media/LSLM.99387946.png","41c202edbdb8a04e0cff8dca05fcc3de"],["/react/build/static/media/ML.08d278e2.png","9f958c18dbce14eafeed88a2fff5ec30"],["/react/build/static/media/NJDX.bb34b326.png","48e32a4eb948d5d618f7234210cd111d"],["/react/build/static/media/QH.b57a0131.png","45efbad10af2600ac575f17c7f1c6f25"],["/react/build/static/media/SHJT.426bf0c7.png","93cf5b16ef9208cb5bf1da99eebde8fb"],["/react/build/static/media/TX.b703476c.png","47cf36954b1fbb684e346d72dd890b14"],["/react/build/static/media/WXYJY.21e40191.png","e080df4c7b430301c9f741d432afa8ad"],["/react/build/static/media/XH.a0a88f17.png","a621d3a4f230af8107e727f60ed4c8f0"],["/react/build/static/media/XJY.b4c57bf1.png","e41c17ce768fcf94a03339a71c30d6f3"],["/react/build/static/media/YKD.4f7e2766.png","fa37d44fd25bcf449ec35efe68de61c5"],["/react/build/static/media/ZC.ad056aa5.png","c51f75c3c4c469809acda5c394c02adf"],["/react/build/static/media/achievements.f20b7e39.png","6a9f5aef5cc32d04d0a7a2f7acc38b11"],["/react/build/static/media/ball.24214b6e.png","4600b466befba451dd38df26879cf299"],["/react/build/static/media/banner.40f1ff0c.png","196a855ae4a95a04943211925b34b83b"],["/react/build/static/media/banner.598a8076.png","1e538e70165e458ca1662f937d1264dd"],["/react/build/static/media/banner.f7da2db1.png","23523c6657f4a1abe198837d0316a162"],["/react/build/static/media/banner_list.e02c5e16.jpg","bc53dcd5b0731ce2ac28c3ea02a01c97"],["/react/build/static/media/beijing.bfcd5b0e.png","518931a330ddf9dd7348d702c82c033c"],["/react/build/static/media/beijintulogontwo.41076faf.png","245dc9e1ed09d34f605c2d5799ee3327"],["/react/build/static/media/bg.401bf2cf.png","228280fae26c66cbfd718f680d16ce7f"],["/react/build/static/media/bg.9688532b.png","c1f86769f7e46442052e59452f01f9d9"],["/react/build/static/media/box.548a8c8b.png","d86432e2f3b9c9e605b14855d40c4c1f"],["/react/build/static/media/codeafter.c3088c74.png","49ed3ae6c715b4f312f9a4af582ef2a8"],["/react/build/static/media/computer.4fe86b12.png","902233a9dd36c8a274324382e7f693b3"],["/react/build/static/media/earth.050b1435.png","bdc488cfc8356fbe92e2c5e85f38d3a9"],["/react/build/static/media/fun1.c99ffa49.png","0821dbab48751cec64b2bb3c795796ef"],["/react/build/static/media/fun2.12f22bca.png","54a5d7faf4b9ddb2e82d7b5207089a6c"],["/react/build/static/media/fun3.75c280e6.png","5c69ce2307b9e074af5ce82d88ef8582"],["/react/build/static/media/fun4.f499794e.png","253ae97d5ce8d7de5fd987d0ac9cc51b"],["/react/build/static/media/fun5.96b44942.png","e8afdfd77e8ea57ed9945cde3bcf7b98"],["/react/build/static/media/funBg.410c4305.png","d6f1410497fc1f2ed6acdbc525857fc6"],["/react/build/static/media/funBg3.d1c7d094.png","3e38083b0ae65fdcb3e237ee1caa0e6f"],["/react/build/static/media/funBg4.68c5f49e.png","4387caf6448bde780eccac5072aba145"],["/react/build/static/media/huake.63b6a34d.png","adbad39e4b3344c8dac6fa02807eb9e5"],["/react/build/static/media/huawei.73ec7c22.png","64d20728102a750c9ce500eb424f1de5"],["/react/build/static/media/img1.8560258f.png","1a039a78776399d0eee98e6ad7a07ce5"],["/react/build/static/media/img2.ae303051.png","51bd149911e029ebf15ad8838b05c674"],["/react/build/static/media/jijinhui.041fb524.png","827c1f894afb783870599d02cb5c4c3f"],["/react/build/static/media/joinUs.26ec28cd.png","9cd5fee199af626730ee25a37f118eb3"],["/react/build/static/media/loginBg.1cddcbff.png","86ec58b9f8f3f50140770546cf840257"],["/react/build/static/media/logo.1c60f36c.png","8fcb0055aa3e99eccf26c10784d2c7b9"],["/react/build/static/media/logo.35cca493.png","afb0803d323a1f93927dc138c07842f0"],["/react/build/static/media/mulan.690d2289.png","b9d8b87a75927dc097d45280c2ca0f4b"],["/react/build/static/media/registerBg.e14e89f4.png","5ca168f423644e195c7fe270cc728873"],["/react/build/static/media/resetPasswordBg.df9a6167.png","13b9a18d3a09d34b1320713d38fbd04f"],["/react/build/static/media/rightBg.55f14f0c.png","f38c59f756ada99c3eafd76ab2333925"],["/react/build/static/media/slick.2630a3e3.svg","f97e3bbf73254b0112091d0192f17aec"],["/react/build/static/media/slick.29518378.woff","b7c9e1e479de3b53f1e4e30ebac2403a"],["/react/build/static/media/slick.a4e97f5a.eot","ced611daf7709cc778da928fec876475"],["/react/build/static/media/slick.c94f7671.ttf","d41f55a78e6f49a5512878df1737e58a"],["/react/build/static/media/subtitle.5019e086.png","b2d9c74c02d4de483f79085596d0064b"],["/react/build/static/media/taskbar.49a40f3a.png","80443aacad0a26162d838d4f71af128a"],["/react/build/static/media/top-1.54a95b91.png","3d2bbe827191450fb82fc04b7ba925c9"],["/react/build/static/media/top-2.2a21b300.png","7cddde07beac784e8edd065bf3c5f4e2"],["/react/build/static/media/top-3.48ab81a2.png","702e62391cc8148d3f6f405720527121"],["/react/build/static/media/top-bg.7b89cf7e.png","1cf27750ff50673346a49beeab0c3bb9"],["/react/build/static/media/typebg.b2b0ea32.png","c02c413fdc8fbcb9bd4a042ff9f0ea5a"],["/react/build/static/media/xigongye.d51231d3.png","751514079a6e7d1cfd19af4527749e53"],["/react/build/static/media/xiuos.67682257.png","6fd484b0615e89cb2a2fcde1e6e261a1"],["/react/build/ts.worker.js.LICENSE.txt","ce15c9d372cc5baeacdeb733817bdde4"]],cacheName="sw-precache-v3-sw-precache-webpack-plugin-"+(self.registration?self.registration.scope:""),ignoreUrlParametersMatching=[/^utm_/],addDirectoryIndex=function(c,a){var e=new URL(c);return"/"===e.pathname.slice(-1)&&(e.pathname+=a),e.toString()},cleanResponse=function(a){return a.redirected?("body"in a?Promise.resolve(a.body):a.blob()).then(function(c){return new Response(c,{headers:a.headers,status:a.status,statusText:a.statusText})}):Promise.resolve(a)},createCacheKey=function(c,a,e,d){var t=new URL(c);return d&&t.pathname.match(d)||(t.search+=(t.search?"&":"")+encodeURIComponent(a)+"="+encodeURIComponent(e)),t.toString()},isPathWhitelisted=function(c,a){if(0===c.length)return!0;var e=new URL(a).pathname;return c.some(function(c){return e.match(c)})},stripIgnoredUrlParameters=function(c,e){var a=new URL(c);return a.hash="",a.search=a.search.slice(1).split("&").map(function(c){return c.split("=")}).filter(function(a){return e.every(function(c){return!c.test(a[0])})}).map(function(c){return c.join("=")}).join("&"),a.toString()},hashParamName="_sw-precache",urlsToCacheKeys=new Map(precacheConfig.map(function(c){var a=c[0],e=c[1],d=new URL(a,self.location),t=createCacheKey(d,hashParamName,e,/\.\w{8}\./);return[d.toString(),t]}));function setOfCachedUrls(c){return c.keys().then(function(c){return c.map(function(c){return c.url})}).then(function(c){return new Set(c)})}self.addEventListener("install",function(c){c.waitUntil(caches.open(cacheName).then(function(d){return setOfCachedUrls(d).then(function(e){return Promise.all(Array.from(urlsToCacheKeys.values()).map(function(a){if(!e.has(a)){var c=new Request(a,{credentials:"same-origin"});return fetch(c).then(function(c){if(!c.ok)throw new Error("Request for "+a+" returned a response with status "+c.status);return cleanResponse(c).then(function(c){return d.put(a,c)})})}}))})}).then(function(){return self.skipWaiting()}))}),self.addEventListener("activate",function(c){var e=new Set(urlsToCacheKeys.values());c.waitUntil(caches.open(cacheName).then(function(a){return a.keys().then(function(c){return Promise.all(c.map(function(c){if(!e.has(c.url))return a.delete(c)}))})}).then(function(){return self.clients.claim()}))}),self.addEventListener("fetch",function(a){if("GET"===a.request.method){var c,e=stripIgnoredUrlParameters(a.request.url,ignoreUrlParametersMatching),d="index.html";(c=urlsToCacheKeys.has(e))||(e=addDirectoryIndex(e,d),c=urlsToCacheKeys.has(e));var t="/react/build/index.html";!c&&"navigate"===a.request.mode&&isPathWhitelisted(["^(?!\\/__).*"],a.request.url)&&(e=new URL(t,self.location).toString(),c=urlsToCacheKeys.has(e)),c&&a.respondWith(caches.open(cacheName).then(function(c){return c.match(urlsToCacheKeys.get(e)).then(function(c){if(c)return c;throw Error("The cached response that was expected is missing.")})}).catch(function(c){return console.warn('Couldn\'t serve response for "%s" from cache: %O',a.request.url,c),fetch(a.request)}))}}); \ No newline at end of file +"use strict";var precacheConfig=[["/react/build/css.worker.js","abadf65f7ed870870dccf00a50b3c6ef"],["/react/build/editor.worker.js","2a381dfa06623f377bb84adbc7b38062"],["/react/build/html.worker.js","028952cd3f435d71d238edcdc2ef2967"],["/react/build/index.html","c037bed41fb1bfbcbad7b447791913ee"],["/react/build/json.worker.js","4a4ca127f837beaf0dddae0c74c81b57"],["/react/build/static/css/0.d9d88bd2.chunk.css","45259d31111b9a22f91937a03f4946cc"],["/react/build/static/css/1.0ba7a726.chunk.css","5f00325b238a8f0ad62fd2e2ac4e9e54"],["/react/build/static/css/10.d4345223.chunk.css","25bc66f1fcb304ce926c2de7598dc1dd"],["/react/build/static/css/100.632d7855.chunk.css","226acc64dfa2fad8420e5eadf2d7b32d"],["/react/build/static/css/101.f243baca.chunk.css","52a023dc3be7de773e46e2df6dbeb8ef"],["/react/build/static/css/102.6400e32a.chunk.css","a35725c6e848559181bb56f18eaf6d40"],["/react/build/static/css/103.9d206204.chunk.css","e363ea281af9e616a0d144154b88c8f8"],["/react/build/static/css/104.9d206204.chunk.css","e363ea281af9e616a0d144154b88c8f8"],["/react/build/static/css/105.92df39ea.chunk.css","248dd7a153a8a1fac332103b57f55305"],["/react/build/static/css/106.92df39ea.chunk.css","248dd7a153a8a1fac332103b57f55305"],["/react/build/static/css/108.11a04942.chunk.css","1373d0214c811e25b7c1763ef9cf3287"],["/react/build/static/css/109.9d206204.chunk.css","e363ea281af9e616a0d144154b88c8f8"],["/react/build/static/css/11.ae349a22.chunk.css","8c23511df1737358bf41e4098ff59993"],["/react/build/static/css/115.3edde0c7.chunk.css","fdec91b854d997a2d04e3cab3c33a778"],["/react/build/static/css/116.93537df9.chunk.css","12f8e284799330f3208cf59c4a435ebb"],["/react/build/static/css/12.1c5f3a58.chunk.css","5d39578b91b84e925bd702d0d56a0ea2"],["/react/build/static/css/122.1ff4022b.chunk.css","902f4dad6a750d9a4c48cf29ea57a3e7"],["/react/build/static/css/123.acf78e2c.chunk.css","470713ce6e72d22878329b7d25a6c51c"],["/react/build/static/css/124.28bf6b3d.chunk.css","80d2b1a307596eba93f7e28d7e6af95e"],["/react/build/static/css/125.af9850ad.chunk.css","c83c3fe8f78cb68ff2be49d1ec68d450"],["/react/build/static/css/126.93537df9.chunk.css","12f8e284799330f3208cf59c4a435ebb"],["/react/build/static/css/127.93537df9.chunk.css","12f8e284799330f3208cf59c4a435ebb"],["/react/build/static/css/128.93537df9.chunk.css","12f8e284799330f3208cf59c4a435ebb"],["/react/build/static/css/129.f2060fe7.chunk.css","3dc3569f98f0d43324c3871cc5623426"],["/react/build/static/css/13.30f998e5.chunk.css","a2448665afc6db7c5f40112f848f31df"],["/react/build/static/css/130.0485185f.chunk.css","ac6c4166a2b44534beb45ecfd6080b37"],["/react/build/static/css/131.9d206204.chunk.css","e363ea281af9e616a0d144154b88c8f8"],["/react/build/static/css/14.1e970b46.chunk.css","2eabf412810b516f7aa2c27804f2552d"],["/react/build/static/css/15.cf56d612.chunk.css","d4f765e1daf8beaae73ebaec51b4f472"],["/react/build/static/css/16.74ea968f.chunk.css","00367438ed248384120868d43dfe446c"],["/react/build/static/css/17.d0c774b5.chunk.css","7b3e0567aefcc4fcd35f5d0209d61610"],["/react/build/static/css/18.7bd7b9f3.chunk.css","0a57098eaafd05768954e758313b3d3b"],["/react/build/static/css/19.012aec0d.chunk.css","4003be468987a37dbf5402041401a9a1"],["/react/build/static/css/20.e5544bad.chunk.css","cbc0ff5ebc043230b000704e2d49409a"],["/react/build/static/css/22.330fa4e3.chunk.css","474ecb619f4717696793d947b95cdc73"],["/react/build/static/css/23.db9266b0.chunk.css","a32c8d84228d2166ef778fd258a8a107"],["/react/build/static/css/24.0b7937b6.chunk.css","9d6660c0b626c128a1e6cd34da8267ed"],["/react/build/static/css/26.92df39ea.chunk.css","248dd7a153a8a1fac332103b57f55305"],["/react/build/static/css/28.75aaa133.chunk.css","ad6c230d274e3223ef38a0d015368fe5"],["/react/build/static/css/29.646401a4.chunk.css","f3c41fe2d2277b90555bebc83f0a84b6"],["/react/build/static/css/3.d01698e8.chunk.css","f7bca4f3d6437baa7779df051da7a998"],["/react/build/static/css/31.93537df9.chunk.css","12f8e284799330f3208cf59c4a435ebb"],["/react/build/static/css/32.33342a61.chunk.css","867c5fade26b46d4a07e88be93672f5d"],["/react/build/static/css/33.3201edcb.chunk.css","c01c35f0080be0d3c63031af842a18d3"],["/react/build/static/css/34.4dcfd44a.chunk.css","52b249a4480f1f221c4e3f805f5ff4e2"],["/react/build/static/css/35.a673f3dd.chunk.css","73124362f8bc5f7747b030fbed8111a6"],["/react/build/static/css/36.c831b4d8.chunk.css","6f5d6edfa9b7ebfc65e8624252ac57f9"],["/react/build/static/css/37.010bbe87.chunk.css","2c5f70db861785f0462ace73a68695ef"],["/react/build/static/css/38.69edc38b.chunk.css","00367438ed248384120868d43dfe446c"],["/react/build/static/css/39.69edc38b.chunk.css","00367438ed248384120868d43dfe446c"],["/react/build/static/css/4.2254a4a8.chunk.css","f08f007bb4e5e41b5aa87f2848a6c460"],["/react/build/static/css/40.543b24f4.chunk.css","a5241e80a85c0a84a762d290baa7b7aa"],["/react/build/static/css/41.69edc38b.chunk.css","00367438ed248384120868d43dfe446c"],["/react/build/static/css/42.69edc38b.chunk.css","00367438ed248384120868d43dfe446c"],["/react/build/static/css/43.69edc38b.chunk.css","00367438ed248384120868d43dfe446c"],["/react/build/static/css/44.eb498e36.chunk.css","a6e0cdaa09c6e8233d8055cf311db86f"],["/react/build/static/css/46.88cc3b5e.chunk.css","b0f4b693bd04f8403f22cd9c62e5bb70"],["/react/build/static/css/47.88cc3b5e.chunk.css","b0f4b693bd04f8403f22cd9c62e5bb70"],["/react/build/static/css/48.88cc3b5e.chunk.css","b0f4b693bd04f8403f22cd9c62e5bb70"],["/react/build/static/css/49.5c81fe74.chunk.css","ac596097266050c51b4e531e4e272f8b"],["/react/build/static/css/51.080d6958.chunk.css","d9b5ca9cb767438bb42a4167d8c9141b"],["/react/build/static/css/54.c9adf574.chunk.css","e74858fce046436a28855ece8d60f97e"],["/react/build/static/css/55.b299cb62.chunk.css","fecc0876ae57a1f0c824fcfecd4b3731"],["/react/build/static/css/56.4f215d24.chunk.css","00eba11fb996a59e02c26e611538a624"],["/react/build/static/css/57.19d38f88.chunk.css","3b4bd8fd75d8db72b1393e3bd5de4193"],["/react/build/static/css/58.e8001192.chunk.css","b4d9acea6f289a480fab21ef3fb3b2f5"],["/react/build/static/css/59.ff2c3b14.chunk.css","9ee610dac6f9085c78887aa88c1c555a"],["/react/build/static/css/6.8bc7b323.chunk.css","189c51bc6ab1d144f75f0ecdc819523e"],["/react/build/static/css/60.c0f62e1a.chunk.css","105e4f1f34b6827ab5eeaa773aa776b2"],["/react/build/static/css/61.cd48c477.chunk.css","72b2d0800c7dc34080773e96b5445bec"],["/react/build/static/css/62.1b6ed5c5.chunk.css","56aa24932cd6174c631686c49456bcd2"],["/react/build/static/css/63.67a9b0d6.chunk.css","c75c3e15cc66ce6068cf5c6cc88b491d"],["/react/build/static/css/64.859e5099.chunk.css","fb0a4edb5f10123fd360eda42258da94"],["/react/build/static/css/65.1d3b7a8d.chunk.css","69bd71b5b2e724299fe5264de839c4f8"],["/react/build/static/css/66.1ff4022b.chunk.css","902f4dad6a750d9a4c48cf29ea57a3e7"],["/react/build/static/css/67.f8123c09.chunk.css","9c930952c58a50caecf3a9a4cc529056"],["/react/build/static/css/69.05177416.chunk.css","ad57386a590ab587c5673efaa5dd2c04"],["/react/build/static/css/7.bbfdfc43.chunk.css","a4dd127f859f497fde9a1cf9dbee1396"],["/react/build/static/css/70.520bfea6.chunk.css","ff724278085b6419943d6bd15edebd43"],["/react/build/static/css/71.a5678b8f.chunk.css","d374385a868481950227db6ceb1c2bb6"],["/react/build/static/css/72.9d206204.chunk.css","e363ea281af9e616a0d144154b88c8f8"],["/react/build/static/css/74.ea97577b.chunk.css","1211ec54a5dbd129cf63cacdc130ca13"],["/react/build/static/css/75.2cfa3592.chunk.css","44c33d03d47c677ff9abfa6ab1e6ea41"],["/react/build/static/css/76.b2109eb4.chunk.css","4215fbff912ba2ff16a8d0129bd4b326"],["/react/build/static/css/77.1819b82d.chunk.css","f801a6ffe108484747fc41389b5533ab"],["/react/build/static/css/78.61b37499.chunk.css","ce6325f2eb8a3c906dd19b2f05323049"],["/react/build/static/css/79.61b37499.chunk.css","ce6325f2eb8a3c906dd19b2f05323049"],["/react/build/static/css/8.1632b9c8.chunk.css","be10f88a67dbf7202bab419a79747b99"],["/react/build/static/css/80.802376aa.chunk.css","ab9ca4eccd0f7f82106f926852c4413b"],["/react/build/static/css/81.92df39ea.chunk.css","248dd7a153a8a1fac332103b57f55305"],["/react/build/static/css/82.1926e8da.chunk.css","bff37dcde82716bb405a930a27e9e5df"],["/react/build/static/css/83.72690062.chunk.css","de0b77d7d9c3e8ccab44f6af453b223a"],["/react/build/static/css/84.4054f41b.chunk.css","df7b038f8f1a0e16793b24bc950b9b22"],["/react/build/static/css/85.f4de1d43.chunk.css","afbb0128da60fcb8bc41db41f1cd17a3"],["/react/build/static/css/86.d16cbade.chunk.css","dcc39c53ac7340d5d3ecc95864109893"],["/react/build/static/css/87.153cc878.chunk.css","77be4e4f0efdb0e1761a28989da1c41c"],["/react/build/static/css/88.131374a7.chunk.css","1a35fcd6b27d13b50b31c75eca200072"],["/react/build/static/css/89.c2f5b906.chunk.css","06c5db3c2a4617f217c383df8ad0b51f"],["/react/build/static/css/9.6e0686d9.chunk.css","518189592f4d54396239adb7c8a02413"],["/react/build/static/css/90.fd3fa2e9.chunk.css","97c0f9c3d8d16c05584bec1ce645cda0"],["/react/build/static/css/92.45444cfc.chunk.css","eb5e3c36bee6ed89ca7abd09cbd2fb2c"],["/react/build/static/css/93.92df39ea.chunk.css","248dd7a153a8a1fac332103b57f55305"],["/react/build/static/css/94.92df39ea.chunk.css","248dd7a153a8a1fac332103b57f55305"],["/react/build/static/css/98.a8f06a40.chunk.css","805c0ab14eb9b6a46588cc3fc10d3090"],["/react/build/static/css/99.b6f629c2.chunk.css","9bee0d5efe580a886a06f342d0953f1d"],["/react/build/static/css/main.463aa69f.chunk.css","92a07f3ba6c96877bb0a23a9b4e1b285"],["/react/build/static/js/0.38cc2216.chunk.js","a4284c68ac642256950a71aad2989431"],["/react/build/static/js/1.9de07cbc.chunk.js","196c1ffd38b2415d627e2ab48865b2ee"],["/react/build/static/js/10.08552af4.chunk.js","f6ebb9227aabe78e35484d43f4123c84"],["/react/build/static/js/100.f02dd693.chunk.js","e1b59c70deb2a35370f8ff1a60310694"],["/react/build/static/js/101.8a256cda.chunk.js","af7f20758e1ad0b7c16608ce6da89c54"],["/react/build/static/js/102.24f0ff28.chunk.js","eed1f6da3818d462b2000e689ac42f2a"],["/react/build/static/js/103.24088a75.chunk.js","52389db60ee281931fda5fd4bce144ad"],["/react/build/static/js/104.53b1f624.chunk.js","43a05721fed16bcb8abf128460d0c34b"],["/react/build/static/js/105.66fcfeb5.chunk.js","2138a24e362f418d908d8f976e636b25"],["/react/build/static/js/106.562edce5.chunk.js","4c68bf6e7ffb97b06242aebcc930dac2"],["/react/build/static/js/107.1dd4ea21.chunk.js","9b701737502a53c235aef9fbb99385b5"],["/react/build/static/js/108.48af4c57.chunk.js","13dcf7165e9c2ddb3ce77a2c1262c0ae"],["/react/build/static/js/109.33ef9eeb.chunk.js","1c1930e2c2a2f26e107279b642314a11"],["/react/build/static/js/11.69f940df.chunk.js","1e59e9dc852c2d89c707243e452cf217"],["/react/build/static/js/110.e6e4d3d7.chunk.js","bb0c46e3cc78a96a73fd966c3e3ee8ab"],["/react/build/static/js/111.dbfb317d.chunk.js","f94a410159296004f52c6a5ec6783c6a"],["/react/build/static/js/112.a09bbdae.chunk.js","92ea87cd0d2de8271cc9ffb47192323f"],["/react/build/static/js/113.2e4a5519.chunk.js","701552f522fc3a0226fd007d7a58eda1"],["/react/build/static/js/114.33fa8d86.chunk.js","be27099f6688d920e6dce31233f15a8c"],["/react/build/static/js/115.b47d0776.chunk.js","a434cc9656a8fb6dd9258f43923de976"],["/react/build/static/js/116.b81ed987.chunk.js","74f9c371a24568b91affee34ef222c42"],["/react/build/static/js/117.7fff8d1f.chunk.js","57e6af1074095a2cde154098c2be7de4"],["/react/build/static/js/118.c1413177.chunk.js","66be965dcbfbd86c848325215571f131"],["/react/build/static/js/119.8ca783c3.chunk.js","f118c56c133d8420845a880a4e0b09a6"],["/react/build/static/js/12.72a62b66.chunk.js","9c87e1d681a284e17e81dfc9fc140241"],["/react/build/static/js/120.26ad9109.chunk.js","ab04705b3592ea93c6f8f58bd61cfe05"],["/react/build/static/js/121.7e4e15f6.chunk.js","105d6ddccbc3b1c2ef8facc534c620be"],["/react/build/static/js/122.43304547.chunk.js","99aaaade676858d9b3ad06d9b4d6427f"],["/react/build/static/js/123.202782ba.chunk.js","18e848973380641bd6406d08fa90616d"],["/react/build/static/js/124.0efba3cd.chunk.js","cb6701675db16e525d90ae9b0f3e5c58"],["/react/build/static/js/125.c9bdba80.chunk.js","5467c2412f04bdcb47d8552beed2dbc6"],["/react/build/static/js/126.1e1c6b0d.chunk.js","e07f84d044aa6b97a73b2054a3a5007c"],["/react/build/static/js/127.ce9a385e.chunk.js","5bb24fc6e282728664949f1af99881aa"],["/react/build/static/js/128.7c3345ad.chunk.js","1ea1a692a1b646c7095bc06ddc800acb"],["/react/build/static/js/129.e53ef67f.chunk.js","ecff408504f442fc7f14bf17a47c4e1e"],["/react/build/static/js/13.847432ef.chunk.js","77d9f230370309fb13d03f2d5e758526"],["/react/build/static/js/130.1403954b.chunk.js","a4bc820c41e0a56a76ba64cd2191783a"],["/react/build/static/js/131.4f4d8f60.chunk.js","4ab40ee3e70e2a2d3d68077bb38d9973"],["/react/build/static/js/132.34a2259c.chunk.js","ceeecda3dd1ac2128dc0f7f4402fa770"],["/react/build/static/js/133.85d8a606.chunk.js","d57773f9377b440597315a68410ec0cd"],["/react/build/static/js/134.c846ec39.chunk.js","5cd4789ed4ead5b0401449d97e3e8b9d"],["/react/build/static/js/135.42dc9e35.chunk.js","4f5153c53296a319f15a2fbac234a04a"],["/react/build/static/js/136.e713bbda.chunk.js","dbcb706baa23b30d87048e562e57ae51"],["/react/build/static/js/137.9a584547.chunk.js","3afec7d43ee18bad503aa531d5a41dad"],["/react/build/static/js/138.30c9bf3e.chunk.js","87adeff65086a26264c38e9afdd9a4b8"],["/react/build/static/js/139.471b727e.chunk.js","dcfa54fbf5b77efc0c33ee77ed76e340"],["/react/build/static/js/14.47d6b04d.chunk.js","a5b82ffc9e077fa7ef89a30f1192ad79"],["/react/build/static/js/140.2cf678ec.chunk.js","3e0edd48983d46ed99f0b2974ca07454"],["/react/build/static/js/141.0c37428d.chunk.js","d4488812b9900dd534ae7de89d4b98fd"],["/react/build/static/js/142.90447ba1.chunk.js","e70cd13eba49b2f485a56c97199eadfe"],["/react/build/static/js/143.a728fd15.chunk.js","1c7b44ee86f2953fe01ef4a87020018c"],["/react/build/static/js/144.da3d7cb2.chunk.js","c15604c36adfc806bad3edb92759d459"],["/react/build/static/js/145.5ff39369.chunk.js","7969db13673a211fff7f2eea19c1cdae"],["/react/build/static/js/146.9055d194.chunk.js","569b6129c109f972f07be436b69a02a1"],["/react/build/static/js/147.67ae26a3.chunk.js","302a0a4d3ac975fd3cb8b8d57e1c4f36"],["/react/build/static/js/147.67ae26a3.chunk.js.LICENSE.txt","03278fe9381615d8b390847939a9eb37"],["/react/build/static/js/148.469d55ff.chunk.js","77d0d869f00e800dedfaea78bff1221f"],["/react/build/static/js/149.82ddc723.chunk.js","90b2a178ba5c51e79ed7aee9d6ddd46c"],["/react/build/static/js/15.5eff19c4.chunk.js","198930527a2a59e851a519dccd2df0e3"],["/react/build/static/js/150.d9806ad6.chunk.js","7fe4d53cfc1f6beba4dba8e607f84a6d"],["/react/build/static/js/151.aa27b140.chunk.js","aa0865e5bda6c5135f2ccab4c0cd51cc"],["/react/build/static/js/152.f27906a3.chunk.js","a74d50c45a474692da4b75ca3c6e9b7c"],["/react/build/static/js/153.a95c448d.chunk.js","86d2297e5bdfbbae493d7a04179ec76e"],["/react/build/static/js/154.75dff73a.chunk.js","db442242fcab6918d496456e8f6f7d48"],["/react/build/static/js/155.bf7b3b90.chunk.js","25ba8d3a09863ebb00f14829f6964cf9"],["/react/build/static/js/156.a5d3cd4c.chunk.js","995bedd5cbbf559d6b86b6d8fc532fad"],["/react/build/static/js/157.3bf78dcc.chunk.js","549596abb8f3554ab24571295deb8315"],["/react/build/static/js/158.2ac8f8b0.chunk.js","aa131624f015ad8b1b466ba6feeec363"],["/react/build/static/js/159.4c65dad8.chunk.js","2d58be73824022c7becbca4da0db02ad"],["/react/build/static/js/16.0ba6662a.chunk.js","f3043e8d624d4e2fc4c37fc61ce876e8"],["/react/build/static/js/160.8fe98dbd.chunk.js","3d124a9ae9b79525bdc9e6e652b7f2d1"],["/react/build/static/js/161.81b3dc53.chunk.js","3066acd27334ac3d31e3258576e74bae"],["/react/build/static/js/162.80cba987.chunk.js","55569655d262991a5fe5928ec539eb6b"],["/react/build/static/js/163.431c740e.chunk.js","4b5bb69c0a2fe0fe833cb8a48b78584f"],["/react/build/static/js/164.9fe89370.chunk.js","0e562783e1ef12b6f6d7e7306cb11485"],["/react/build/static/js/165.6a20768f.chunk.js","5d229762514c0631455df3186a1a2847"],["/react/build/static/js/166.ced1b182.chunk.js","ee4530941f31ea2a5d46cbff6dd35188"],["/react/build/static/js/167.49b56732.chunk.js","7ec7eb9dbdaa1304d86416eb786644e7"],["/react/build/static/js/168.b9bf1e06.chunk.js","977844346272e29d6e3354a920dddd1a"],["/react/build/static/js/169.d85c0071.chunk.js","fadf58d3f80e74066f71a483f113f020"],["/react/build/static/js/17.de7604c0.chunk.js","61e670ba3790ce7f0c3f4c02cdfc848c"],["/react/build/static/js/170.fc532980.chunk.js","7425c326221283626f3e3bdb8107f3f2"],["/react/build/static/js/171.b062dc4f.chunk.js","3540c9e3a2cbe09d794c91abe1ac8e1b"],["/react/build/static/js/172.10fae3a9.chunk.js","9972273249327be86d9cf3f8b7dd7ec3"],["/react/build/static/js/173.9252f343.chunk.js","1b23bbbb5a7b2ae8e51bf02d9fb2482e"],["/react/build/static/js/174.3a5ed8e6.chunk.js","cf258b19e7e81a51570104ed76450a32"],["/react/build/static/js/175.9babcf3f.chunk.js","62b0608812f141d5576661470e12135a"],["/react/build/static/js/176.a70acaca.chunk.js","cc00afd4d4487dbcb7530465f633bb8f"],["/react/build/static/js/177.dbfa5850.chunk.js","20310be184a252864153d59ca9c12ca0"],["/react/build/static/js/178.eed56d06.chunk.js","a8a51089c6a83df7e9cbcff13372977a"],["/react/build/static/js/179.6b354d9a.chunk.js","218e8d93933bf6e624d0d15769571675"],["/react/build/static/js/18.99b2f967.chunk.js","0d363c0a0c4cd1111af31d097be614cf"],["/react/build/static/js/180.af942319.chunk.js","9ba258e39575a93de41507906df58c83"],["/react/build/static/js/181.70e499f1.chunk.js","f5ed0290b6940d91fe5b378f57036836"],["/react/build/static/js/182.e7c64d3e.chunk.js","c77062dfe2574132aba6de93a81ac22a"],["/react/build/static/js/183.093ee74f.chunk.js","872ba2e62a3f91daa2d9887f145e0cff"],["/react/build/static/js/184.7ed09e68.chunk.js","188dd2f4c3258a42081205ccbb9c3905"],["/react/build/static/js/185.e07e87d8.chunk.js","c45f255bd13049c7a64b14efe49ea2d2"],["/react/build/static/js/186.609d9b25.chunk.js","fbe5cb46ca15b831f0c2b882a4351322"],["/react/build/static/js/187.b08cc870.chunk.js","65d5dd45e3debd597a97dbc1e61a24e1"],["/react/build/static/js/188.9d3f7b7c.chunk.js","872030d57ca363ce497ebfd692b74412"],["/react/build/static/js/189.3fbef684.chunk.js","46469bc1c03438896c85573e44aea45f"],["/react/build/static/js/189.3fbef684.chunk.js.LICENSE.txt","cf224aa154060b2c3c86fa6ed5af6aa8"],["/react/build/static/js/19.c80c661b.chunk.js","d77ae95a80ead48d696fb73e38dc5047"],["/react/build/static/js/190.95b861fa.chunk.js","78b1fe6afe0ff88df6434950b03e3671"],["/react/build/static/js/191.dd01864e.chunk.js","c638395a75d76c006af99a1de3455e03"],["/react/build/static/js/192.f1caa1fa.chunk.js","a4a05a4dbcd61e9d17dd7f2d1c1069bc"],["/react/build/static/js/193.bc21c27e.chunk.js","98d97508dfef1b5e9fbf674a67d75c14"],["/react/build/static/js/194.fdf7dc7d.chunk.js","ee63487533350b0348b49408f7b01f16"],["/react/build/static/js/2.d659edf3.chunk.js","065445e7fc654996bfafff7a4b1b5ce8"],["/react/build/static/js/2.d659edf3.chunk.js.LICENSE.txt","7ec01595672f75e83fd81b41f132f4c1"],["/react/build/static/js/20.bfbd5ffe.chunk.js","7dbfee9dc14c47b9d87fd3fd6167e7f2"],["/react/build/static/js/21.6da4d475.chunk.js","978591d1e81e94b1024e1c0172be6a69"],["/react/build/static/js/22.709de7d8.chunk.js","3bde3961e1546740a195e92d15cb8e8b"],["/react/build/static/js/23.54c1c605.chunk.js","4ce076f7ff92308d1f2274d30aa6fd38"],["/react/build/static/js/24.567dac3f.chunk.js","78169ab8a655a0ae8a148b210cf319a9"],["/react/build/static/js/25.c3ad4e4d.chunk.js","edfededa2a74fe899cca9705978bf3b4"],["/react/build/static/js/26.4ca0a6c7.chunk.js","643cc9d0eafbc604d7b48584af7d2489"],["/react/build/static/js/27.a37917ce.chunk.js","c9c8e506d16d776e7ad76b030b084850"],["/react/build/static/js/28.25a3467c.chunk.js","4c6182ffc4a5181bd02d1b2996bc3bd6"],["/react/build/static/js/29.923d493f.chunk.js","459614d22f1a5f503d559d64c5503ba5"],["/react/build/static/js/3.1f347c4c.chunk.js","83f0f2a7eacaf7a6dcfeba8b12801989"],["/react/build/static/js/30.40d07ad1.chunk.js","c688b06d4273131d46f57e408d0bec28"],["/react/build/static/js/31.6014bbba.chunk.js","1cb3d8c235d9a3dd360e88c116523302"],["/react/build/static/js/32.aa9f51bb.chunk.js","cadbcbbda78071a6ead7953ce9e52e70"],["/react/build/static/js/33.1bdb4fb4.chunk.js","8b3e9c1c352e4dbf2878f756dd138bd2"],["/react/build/static/js/34.87b69743.chunk.js","3955b95c346b334960251d178e82b622"],["/react/build/static/js/34.87b69743.chunk.js.LICENSE.txt","cd401f03f7504301a45a3b9404d9e8cf"],["/react/build/static/js/35.ee1c89dc.chunk.js","6c882ec74061db92786d3f55a53db327"],["/react/build/static/js/35.ee1c89dc.chunk.js.LICENSE.txt","cd401f03f7504301a45a3b9404d9e8cf"],["/react/build/static/js/36.6afb23fc.chunk.js","d54ef499606aae575d6c6e9241950f14"],["/react/build/static/js/37.89f8d1b1.chunk.js","658350163bd85bff8f02f8b8ba1864ca"],["/react/build/static/js/38.28a85e43.chunk.js","765c9ab8806003f44f1551b76487f6ed"],["/react/build/static/js/39.fee5dd44.chunk.js","166187fb892e08fdaee7e6520d6c2e86"],["/react/build/static/js/4.4d2d662b.chunk.js","26133418ac8b9aa044b555dded0a9ce7"],["/react/build/static/js/40.7df4fd1f.chunk.js","d02b40809e4de94fff990d34dcf7bad5"],["/react/build/static/js/41.4a842986.chunk.js","642eebb1bb448bd9b6f3beb68fa21fa5"],["/react/build/static/js/42.4805604b.chunk.js","7bf8afa044198a8075fe8171c7a1ef8a"],["/react/build/static/js/43.83c8b953.chunk.js","34c0f9a23603f63247148934b735008a"],["/react/build/static/js/44.ccdcc451.chunk.js","6d2d380edd54a7ce555e15fe106ac7c6"],["/react/build/static/js/45.d8714826.chunk.js","f5aa0f34fcf40990e1571b83fc2109ff"],["/react/build/static/js/46.b903135a.chunk.js","6ec4f4acb8ed33f35f53320e869d9f27"],["/react/build/static/js/47.81e034c3.chunk.js","9c78fee08c1e500b305f972043adb615"],["/react/build/static/js/48.bbe819a9.chunk.js","a9b8710d088c17a7d82c228bc6a420b6"],["/react/build/static/js/49.52f41fd7.chunk.js","eb521f0651037373a98af9b2d770e588"],["/react/build/static/js/5.0cdf2e83.chunk.js","0707692a91bfa441c07235ef2924d086"],["/react/build/static/js/50.fe4f94e4.chunk.js","80ed0686ed351f08f6e95787a4b363b0"],["/react/build/static/js/51.5ee89aa0.chunk.js","00ac020838e1a420f57b3d83fe846bbc"],["/react/build/static/js/52.d514755b.chunk.js","2447fb349312f3204e19cbf906e32795"],["/react/build/static/js/53.31e60498.chunk.js","f3d5aa3aa427d3bd8924def1b5191d1b"],["/react/build/static/js/54.ba017f60.chunk.js","62a7a85fea7f0fdb29d1788c0e801ccd"],["/react/build/static/js/55.ce4bb066.chunk.js","1072a5f436b2a07478f65fba09f7ac63"],["/react/build/static/js/56.c0cb6388.chunk.js","1704e6122497a9329f164c21b9c6ac8f"],["/react/build/static/js/57.d3e720bf.chunk.js","197815efc543d7899ffc92eb111e34e7"],["/react/build/static/js/58.e2d064c3.chunk.js","ea518ba3aa7037c6ac64c846266e2e53"],["/react/build/static/js/59.10c3d9dd.chunk.js","13ac0123ac2d60f2500f45124d169d7e"],["/react/build/static/js/6.e9f3c1a5.chunk.js","9e099b029001303c6611c35bf088012e"],["/react/build/static/js/60.7d62a5a5.chunk.js","a5f79282f91d50fcb106aae3b8c7735c"],["/react/build/static/js/61.59c84ed6.chunk.js","f08566c1ca50725ec4108b74f695b2f3"],["/react/build/static/js/62.ec026a1a.chunk.js","3e682ee39babbfd7d98259854ebae07e"],["/react/build/static/js/63.eef6a7a2.chunk.js","604542a27381eea77977ff06892cb4b8"],["/react/build/static/js/64.fcef2b45.chunk.js","3aadf9ffa4e2a0211ddd2d52d456a164"],["/react/build/static/js/65.26785650.chunk.js","fb8f833c49abf4116b171eb321b396ad"],["/react/build/static/js/66.afc9f09c.chunk.js","6dfc30ea0ec3e9eecc6154d0c09e9f09"],["/react/build/static/js/67.59faa180.chunk.js","c15a5a6b88975c433506fb6190ad5087"],["/react/build/static/js/68.328d799c.chunk.js","c8cc32d988f8a0211bc5b5e2ba2d1188"],["/react/build/static/js/69.c59f6352.chunk.js","045e17b6aba78b2a226e63e97e8a4a46"],["/react/build/static/js/7.8462b447.chunk.js","3b082797fd1ff631c60373c94481bb8f"],["/react/build/static/js/70.53ffff10.chunk.js","1c425c4abe13edf96dee7202760eba75"],["/react/build/static/js/71.83e736e7.chunk.js","211a8c06e79ad57d31bd18f89ac2a9fc"],["/react/build/static/js/72.a7cc2a03.chunk.js","96c0ae8fae0a592287898a93ac39948f"],["/react/build/static/js/73.bc81d326.chunk.js","d1575e1b35e146b4523207ede26b47e9"],["/react/build/static/js/74.a946e6ea.chunk.js","20628c6f41c2f2ecb557ae767da07780"],["/react/build/static/js/75.6f46e072.chunk.js","108d262909e191c7bea946e9d34ae1e5"],["/react/build/static/js/76.d42f3d17.chunk.js","15fe3270cc6e743f805a3dec1a3331c1"],["/react/build/static/js/77.fe5da44a.chunk.js","6f256096653c1c028010aa2a4002bb87"],["/react/build/static/js/78.ce83ec22.chunk.js","d2bffcdfd8a1d632ec3a9381cec5e89f"],["/react/build/static/js/79.5342dbfc.chunk.js","3a012d600dc2cee35c3446a3305a87b5"],["/react/build/static/js/8.a578b450.chunk.js","eecf7dbd921ab55e8679ab9ce9071a17"],["/react/build/static/js/8.a578b450.chunk.js.LICENSE.txt","cd401f03f7504301a45a3b9404d9e8cf"],["/react/build/static/js/80.3f5ef3a2.chunk.js","bf92ab6bfae79bf3b68b171d4e816718"],["/react/build/static/js/81.ba015d38.chunk.js","07c37325c04466caa8aaab1b8cee8a93"],["/react/build/static/js/82.a1a65dfb.chunk.js","79919e861d845d9637686981a9e8880f"],["/react/build/static/js/83.0887adae.chunk.js","0edb3570ffc550dbe49bfee368029e23"],["/react/build/static/js/84.0719fb51.chunk.js","b5cb58b8a22d4c94a26a154506bccda1"],["/react/build/static/js/85.dc81d99a.chunk.js","30a7514c3140e8af5023e275720f93f9"],["/react/build/static/js/86.868a42ab.chunk.js","00a5296d87bab9f90a86dcb001c4174e"],["/react/build/static/js/87.0e244f5a.chunk.js","4fd827d35db67527c71c21904ddf0284"],["/react/build/static/js/88.074298aa.chunk.js","86e73076d375a8da3a7b106f12f34670"],["/react/build/static/js/89.166725cf.chunk.js","63550c41ce95150e2daa3c2b29d2f1db"],["/react/build/static/js/9.fd42b255.chunk.js","5efe0de43f988844548d4fec59236edb"],["/react/build/static/js/90.23d98cb3.chunk.js","aad9562ff5cf179443fe17b80b8c7b40"],["/react/build/static/js/91.f2048c58.chunk.js","77e1947082196fab3182355301283ea6"],["/react/build/static/js/92.486d7793.chunk.js","3ff5bd0912903790ffa42ca7fa38ba24"],["/react/build/static/js/93.30d48335.chunk.js","957c24e4e0239427c4401f69ad01b074"],["/react/build/static/js/94.e0bbfe49.chunk.js","974e3156a59a9b6d5253379a18e8ff17"],["/react/build/static/js/95.81643c9f.chunk.js","bfeb6d924139e6fdf14955d4b198aa81"],["/react/build/static/js/96.8006741e.chunk.js","fb129d2e540954aa13b6aaff687bcaf9"],["/react/build/static/js/97.cf617b0d.chunk.js","1268776ea30d999ae869e8b85e1591b0"],["/react/build/static/js/98.b55dc758.chunk.js","ea45d719ee6de3b2ce815074c9650a9d"],["/react/build/static/js/99.0afab563.chunk.js","ba34df92ca0808adaaccd546477db32b"],["/react/build/static/js/main.026ab475.chunk.js.LICENSE.txt","20c4c9722b39971e742932d08ec3daf5"],["/react/build/static/js/runtime~main.72294cb7.js","e8e8b723b60869b3eedc67003383dc4a"],["/react/build/static/media/2-1bg.d22a63b9.png","ba2b4a272d5ca00d9400b4cd1fd573d6"],["/react/build/static/media/2-2-1.afd0f2f5.png","63de0e927282052b4b7a3a4a4e06c004"],["/react/build/static/media/2-2-2.26bc3301.png","09350b2fc63799fbbbed880ee86c54dc"],["/react/build/static/media/2-2-3.6d6ce99c.png","04c46e92f6c6dbc3f354c7d12f41efdf"],["/react/build/static/media/2-2-head.5e69dbb2.png","1ed02c446d34cd67de8d1685ffd16181"],["/react/build/static/media/2-3-1.bcb33d47.png","6309aee1c5b0f1906cf8224c70a2954d"],["/react/build/static/media/2-3-2.84718f27.png","31c01055ab07471d38fc500d6b705d15"],["/react/build/static/media/2-3-3.db9fe021.png","a57f266b735b7cdba67598b4f26d344a"],["/react/build/static/media/2-3-4.15673036.png","e16aa707c8a5d37f083723bdbcd1e0c4"],["/react/build/static/media/2-3bg.deef1b07.png","5b8e2e8dd995ea94a13247eb5ed7ca9e"],["/react/build/static/media/2-4-1.6347d272.png","ab42a83a413363ee38afe9d6744908e1"],["/react/build/static/media/2-4bg.45478d20.png","f28c71d7b533b10dc5c1c33ddc7e028d"],["/react/build/static/media/2-5bg.9cca3de1.png","7d7c0003e780841147d31243f7c305ad"],["/react/build/static/media/2-6-1.302b729e.png","cd88cc40364a0dacde3fa5af91cb8407"],["/react/build/static/media/2-6-2.b262b91e.png","50b143930101e1b295683ba0099f9ab9"],["/react/build/static/media/3-1.9fdda521.png","f6add2be652f2989e8b5c8ebc319f44d"],["/react/build/static/media/3-2.47050941.png","b3ad137b32270db1b9fc4aa08c8e0451"],["/react/build/static/media/3-3.c767aae7.png","5d79fb69eee45493a7555b6414c739c0"],["/react/build/static/media/3-4.92820cbc.png","5d26624685fca97de2721a718a5209eb"],["/react/build/static/media/3-bg.4f22fe34.png","28b762cb9f96c8122b700f54e3c914b4"],["/react/build/static/media/4-1.79fa159d.png","2bea356c9736a2f3787b03d69b72c733"],["/react/build/static/media/4-2.9c066e75.png","88eada7dcd52a5d211ee86aacd523616"],["/react/build/static/media/4-3.a1487a5b.png","da4afd909ef92b84e7a90043e96504d1"],["/react/build/static/media/4-4.5eb40734.png","d3f20f10c4de4cf438ac376516763db9"],["/react/build/static/media/4-bg.214b12ef.png","bb353b3cf7d527c4c052a5462e5f2209"],["/react/build/static/media/BJHKHT.f065403a.png","7e59d4b496c81f75d5c11c5166f030a4"],["/react/build/static/media/CEC.3b748059.png","064eea41dfa53645eb0134012b9e7f2e"],["/react/build/static/media/GFKJ.eb30c414.png","a60603b90e7b35d31753400f56be7770"],["/react/build/static/media/HSKY.2e76ba44.png","390849e1165e584772959baecaafb55b"],["/react/build/static/media/ISCAS.851fcfda.png","6a2b57a38c79d3c48a5aa238a113d165"],["/react/build/static/media/KYRJLM.2d659e5c.png","8d92960a37abe7deb48e25b7ea72a2e5"],["/react/build/static/media/KaTeX_AMS-Regular.b1489df1.woff","7f06b4e30317f784d61d26686aed0ab2"],["/react/build/static/media/KaTeX_AMS-Regular.d4531cf7.woff2","e78e28b4834954df047e4925e9dbf354"],["/react/build/static/media/KaTeX_AMS-Regular.f80d9eaf.ttf","aaf4eee9fba9907d61c3935e0b6a54ae"],["/react/build/static/media/KaTeX_Caligraphic-Bold.0c96bc8f.ttf","021dd4dc61ee5f5cdf315f43b48c094b"],["/react/build/static/media/KaTeX_Caligraphic-Bold.7ce7636b.woff","1e802ca9dedc4ed4e3c6f645e4316128"],["/react/build/static/media/KaTeX_Caligraphic-Bold.f046a374.woff2","4ec58befa687e9752c3c91cd9bcf1bcb"],["/react/build/static/media/KaTeX_Caligraphic-Regular.35f3c951.ttf","d49f2d55ce4f40f982d8ba63d746fbf9"],["/react/build/static/media/KaTeX_Caligraphic-Regular.4519ba4c.woff2","7edb53b6693d75b8a2232481eea1a52c"],["/react/build/static/media/KaTeX_Caligraphic-Regular.4a559f36.woff","d3b46c3a530116933081d9d74e3e9fe8"],["/react/build/static/media/KaTeX_Fraktur-Bold.069514d4.ttf","a31e7cba7b7221ebf1a2ae545fb306b2"],["/react/build/static/media/KaTeX_Fraktur-Bold.2ea3916b.woff","c4c8cab7d5be97b2bb283e531c077355"],["/react/build/static/media/KaTeX_Fraktur-Bold.5b8749ee.woff2","d5b59ec9764e10f4a82369ae29f3ac58"],["/react/build/static/media/KaTeX_Fraktur-Regular.0d90113d.woff","b7d9c46bff5d51da6209e355cc4a235d"],["/react/build/static/media/KaTeX_Fraktur-Regular.2c629b06.woff2","32a5339eb809f381a7357ba56f82aab3"],["/react/build/static/media/KaTeX_Fraktur-Regular.96556db6.ttf","a48dad4f58c82e38a10da0ceebb86370"],["/react/build/static/media/KaTeX_Main-Bold.07e762d0.ttf","9ceff51b3cb7ce6eb4e8efa8163a1472"],["/react/build/static/media/KaTeX_Main-Bold.20b90c20.woff2","8e1e01c4b1207c0a383d9a2b4f86e637"],["/react/build/static/media/KaTeX_Main-Bold.a9cdbc85.woff","22086eb5d97009c3e99bcc1d16ce6865"],["/react/build/static/media/KaTeX_Main-BoldItalic.7649d52f.woff","4c57dbc44bfff1fdf08a59cf556fdab3"],["/react/build/static/media/KaTeX_Main-BoldItalic.b345de5b.woff2","284a17fe5baf72ff8217d4c7e70c0f82"],["/react/build/static/media/KaTeX_Main-BoldItalic.bc8d96e9.ttf","e8b44b990516dab7937bf240fde8b46a"],["/react/build/static/media/KaTeX_Main-Italic.44a32ae6.ttf","29c86397e75cdcb3135af8295f1c2e28"],["/react/build/static/media/KaTeX_Main-Italic.ab751a9e.woff2","e533d5a2506cf053cd671b335ec04dde"],["/react/build/static/media/KaTeX_Main-Italic.e3954fe9.woff","99be0e10c38cd42466e6fe1665ef9536"],["/react/build/static/media/KaTeX_Main-Regular.13b3f852.woff2","5c734d78610fa35282f3379f866707f2"],["/react/build/static/media/KaTeX_Main-Regular.9e75cd60.woff","b741441f6d71014d0453ca3ebc884dd4"],["/react/build/static/media/KaTeX_Main-Regular.af7fc7b3.ttf","5c94aef490324b0925dbe5f643e8fd04"],["/react/build/static/media/KaTeX_Math-BoldItalic.4d6241be.ttf","9a2834a9ff8ab411153571e0e55ac693"],["/react/build/static/media/KaTeX_Math-BoldItalic.94810ff6.woff","b13731ef4e2bfc3d8d859271e39550fc"],["/react/build/static/media/KaTeX_Math-BoldItalic.d5d35e84.woff2","d747bd1e7a6a43864285edd73dcde253"],["/react/build/static/media/KaTeX_Math-Italic.11278d36.woff","f0303906c2a67ac63bf1e8ccd638a89e"],["/react/build/static/media/KaTeX_Math-Italic.cae7ea26.ttf","291e76b8871b84560701bd29f9d1dcc7"],["/react/build/static/media/KaTeX_Math-Italic.ffda8803.woff2","4ad08b826b8065e1eab85324d726538c"],["/react/build/static/media/KaTeX_SansSerif-Bold.2946bdb5.woff","3fb419559955e3ce75619f1a5e8c6c84"],["/react/build/static/media/KaTeX_SansSerif-Bold.5a20a475.woff2","6e0830bee40435e72165345e0682fbfc"],["/react/build/static/media/KaTeX_SansSerif-Bold.f0ad0abc.ttf","7dc027cba9f7b11ec92af4a311372a85"],["/react/build/static/media/KaTeX_SansSerif-Italic.c7feacd5.ttf","4059868e460d2d2e6be18e180d20c43d"],["/react/build/static/media/KaTeX_SansSerif-Italic.c834ba6d.woff","727a9b0d97d72d2fc0228fe4e07fb4d8"],["/react/build/static/media/KaTeX_SansSerif-Italic.e5fc2aef.woff2","fba01c9c6fb2866a0f95bcacb2c187a5"],["/react/build/static/media/KaTeX_SansSerif-Regular.5af9e1cf.ttf","5c58d168c0b66d2c32234a6718e74dfb"],["/react/build/static/media/KaTeX_SansSerif-Regular.5bf28900.woff2","d929cd671b19f0cfea55b6200fb47461"],["/react/build/static/media/KaTeX_SansSerif-Regular.a4fd0563.woff","2555754a67062cac3a0913b715ab982f"],["/react/build/static/media/KaTeX_Script-Regular.a1c15978.woff2","755e2491f13b5269f0afd5a56f7aa692"],["/react/build/static/media/KaTeX_Script-Regular.cd3b0634.woff","d524c9a5b62a17f98f4a97af37fea735"],["/react/build/static/media/KaTeX_Script-Regular.dd0db7ae.ttf","d12ea9efb375f9dc331f562e69892638"],["/react/build/static/media/KaTeX_Size1-Regular.1876361f.woff2","048c39cba4dfb0460682a45e84548e4b"],["/react/build/static/media/KaTeX_Size1-Regular.bbd9552c.ttf","7342d45b052c3a2abc21049959fbab7f"],["/react/build/static/media/KaTeX_Size1-Regular.c4ae0d25.woff","08b5f00e7140f7a10e62c8e2484dfa5a"],["/react/build/static/media/KaTeX_Size2-Regular.635e9324.woff","af24b0e4b7e52656ca77914695c99930"],["/react/build/static/media/KaTeX_Size2-Regular.d1e8ff17.ttf","eb130dcc661de766c999c60ba1525a88"],["/react/build/static/media/KaTeX_Size2-Regular.f516b73c.woff2","81d6b8d5ca77d63d5033d6991549a659"],["/react/build/static/media/KaTeX_Size3-Regular.1ef7adae.woff2","b311ca09df2c89a10fbb914b5a053805"],["/react/build/static/media/KaTeX_Size3-Regular.5d632274.ttf","7e02a40c41e52dc3b2b6b197bbdf05ea"],["/react/build/static/media/KaTeX_Size3-Regular.f32a9fde.woff","0d8926405d832a4b065e516bd385d812"],["/react/build/static/media/KaTeX_Size4-Regular.1d132596.ttf","ad7672524b64b730dfd176140a8945cb"],["/react/build/static/media/KaTeX_Size4-Regular.4f012d6a.woff2","6a3255dfc1ba41c46e7e807f8ab16c49"],["/react/build/static/media/KaTeX_Size4-Regular.f668d566.woff","68895bb880a61a7fc019dbfaa5121bb4"],["/react/build/static/media/KaTeX_Typewriter-Regular.4f31d033.woff2","6cc31ea5c223c88705a13727a71417fa"],["/react/build/static/media/KaTeX_Typewriter-Regular.b1d1af1a.ttf","257023560753aeb0b89b7e434d3da17f"],["/react/build/static/media/KaTeX_Typewriter-Regular.d3c8e68f.woff","3fe216d2a5f736c560cde71984554b64"],["/react/build/static/media/LC.f247fdb8.png","3e02cbcebad7837bf48da07b33a10bf5"],["/react/build/static/media/LSLM.99387946.png","41c202edbdb8a04e0cff8dca05fcc3de"],["/react/build/static/media/ML.08d278e2.png","9f958c18dbce14eafeed88a2fff5ec30"],["/react/build/static/media/NJDX.bb34b326.png","48e32a4eb948d5d618f7234210cd111d"],["/react/build/static/media/QH.b57a0131.png","45efbad10af2600ac575f17c7f1c6f25"],["/react/build/static/media/SHJT.426bf0c7.png","93cf5b16ef9208cb5bf1da99eebde8fb"],["/react/build/static/media/TX.b703476c.png","47cf36954b1fbb684e346d72dd890b14"],["/react/build/static/media/WXYJY.21e40191.png","e080df4c7b430301c9f741d432afa8ad"],["/react/build/static/media/XH.a0a88f17.png","a621d3a4f230af8107e727f60ed4c8f0"],["/react/build/static/media/XJY.b4c57bf1.png","e41c17ce768fcf94a03339a71c30d6f3"],["/react/build/static/media/YKD.4f7e2766.png","fa37d44fd25bcf449ec35efe68de61c5"],["/react/build/static/media/ZC.ad056aa5.png","c51f75c3c4c469809acda5c394c02adf"],["/react/build/static/media/achievements.f20b7e39.png","6a9f5aef5cc32d04d0a7a2f7acc38b11"],["/react/build/static/media/ball.24214b6e.png","4600b466befba451dd38df26879cf299"],["/react/build/static/media/banner.40f1ff0c.png","196a855ae4a95a04943211925b34b83b"],["/react/build/static/media/banner.598a8076.png","1e538e70165e458ca1662f937d1264dd"],["/react/build/static/media/banner.f7da2db1.png","23523c6657f4a1abe198837d0316a162"],["/react/build/static/media/banner_list.e02c5e16.jpg","bc53dcd5b0731ce2ac28c3ea02a01c97"],["/react/build/static/media/beijing.bfcd5b0e.png","518931a330ddf9dd7348d702c82c033c"],["/react/build/static/media/beijintulogontwo.41076faf.png","245dc9e1ed09d34f605c2d5799ee3327"],["/react/build/static/media/bg.401bf2cf.png","228280fae26c66cbfd718f680d16ce7f"],["/react/build/static/media/bg.9688532b.png","c1f86769f7e46442052e59452f01f9d9"],["/react/build/static/media/box.548a8c8b.png","d86432e2f3b9c9e605b14855d40c4c1f"],["/react/build/static/media/codeafter.c3088c74.png","49ed3ae6c715b4f312f9a4af582ef2a8"],["/react/build/static/media/computer.4fe86b12.png","902233a9dd36c8a274324382e7f693b3"],["/react/build/static/media/earth.050b1435.png","bdc488cfc8356fbe92e2c5e85f38d3a9"],["/react/build/static/media/fun1.c99ffa49.png","0821dbab48751cec64b2bb3c795796ef"],["/react/build/static/media/fun2.12f22bca.png","54a5d7faf4b9ddb2e82d7b5207089a6c"],["/react/build/static/media/fun3.75c280e6.png","5c69ce2307b9e074af5ce82d88ef8582"],["/react/build/static/media/fun4.f499794e.png","253ae97d5ce8d7de5fd987d0ac9cc51b"],["/react/build/static/media/fun5.96b44942.png","e8afdfd77e8ea57ed9945cde3bcf7b98"],["/react/build/static/media/funBg.410c4305.png","d6f1410497fc1f2ed6acdbc525857fc6"],["/react/build/static/media/funBg3.d1c7d094.png","3e38083b0ae65fdcb3e237ee1caa0e6f"],["/react/build/static/media/funBg4.68c5f49e.png","4387caf6448bde780eccac5072aba145"],["/react/build/static/media/huake.63b6a34d.png","adbad39e4b3344c8dac6fa02807eb9e5"],["/react/build/static/media/huawei.73ec7c22.png","64d20728102a750c9ce500eb424f1de5"],["/react/build/static/media/img1.8560258f.png","1a039a78776399d0eee98e6ad7a07ce5"],["/react/build/static/media/img2.ae303051.png","51bd149911e029ebf15ad8838b05c674"],["/react/build/static/media/jijinhui.041fb524.png","827c1f894afb783870599d02cb5c4c3f"],["/react/build/static/media/joinUs.26ec28cd.png","9cd5fee199af626730ee25a37f118eb3"],["/react/build/static/media/loginBg.1cddcbff.png","86ec58b9f8f3f50140770546cf840257"],["/react/build/static/media/logo.1c60f36c.png","8fcb0055aa3e99eccf26c10784d2c7b9"],["/react/build/static/media/logo.35cca493.png","afb0803d323a1f93927dc138c07842f0"],["/react/build/static/media/mulan.690d2289.png","b9d8b87a75927dc097d45280c2ca0f4b"],["/react/build/static/media/registerBg.e14e89f4.png","5ca168f423644e195c7fe270cc728873"],["/react/build/static/media/resetPasswordBg.df9a6167.png","13b9a18d3a09d34b1320713d38fbd04f"],["/react/build/static/media/rightBg.55f14f0c.png","f38c59f756ada99c3eafd76ab2333925"],["/react/build/static/media/slick.2630a3e3.svg","f97e3bbf73254b0112091d0192f17aec"],["/react/build/static/media/slick.29518378.woff","b7c9e1e479de3b53f1e4e30ebac2403a"],["/react/build/static/media/slick.a4e97f5a.eot","ced611daf7709cc778da928fec876475"],["/react/build/static/media/slick.c94f7671.ttf","d41f55a78e6f49a5512878df1737e58a"],["/react/build/static/media/subtitle.5019e086.png","b2d9c74c02d4de483f79085596d0064b"],["/react/build/static/media/taskbar.49a40f3a.png","80443aacad0a26162d838d4f71af128a"],["/react/build/static/media/top-1.54a95b91.png","3d2bbe827191450fb82fc04b7ba925c9"],["/react/build/static/media/top-2.2a21b300.png","7cddde07beac784e8edd065bf3c5f4e2"],["/react/build/static/media/top-3.48ab81a2.png","702e62391cc8148d3f6f405720527121"],["/react/build/static/media/top-bg.7b89cf7e.png","1cf27750ff50673346a49beeab0c3bb9"],["/react/build/static/media/typebg.b2b0ea32.png","c02c413fdc8fbcb9bd4a042ff9f0ea5a"],["/react/build/static/media/xigongye.d51231d3.png","751514079a6e7d1cfd19af4527749e53"],["/react/build/static/media/xiuos.67682257.png","6fd484b0615e89cb2a2fcde1e6e261a1"],["/react/build/ts.worker.js.LICENSE.txt","ce15c9d372cc5baeacdeb733817bdde4"]],cacheName="sw-precache-v3-sw-precache-webpack-plugin-"+(self.registration?self.registration.scope:""),ignoreUrlParametersMatching=[/^utm_/],addDirectoryIndex=function(c,a){var e=new URL(c);return"/"===e.pathname.slice(-1)&&(e.pathname+=a),e.toString()},cleanResponse=function(a){return a.redirected?("body"in a?Promise.resolve(a.body):a.blob()).then(function(c){return new Response(c,{headers:a.headers,status:a.status,statusText:a.statusText})}):Promise.resolve(a)},createCacheKey=function(c,a,e,d){var t=new URL(c);return d&&t.pathname.match(d)||(t.search+=(t.search?"&":"")+encodeURIComponent(a)+"="+encodeURIComponent(e)),t.toString()},isPathWhitelisted=function(c,a){if(0===c.length)return!0;var e=new URL(a).pathname;return c.some(function(c){return e.match(c)})},stripIgnoredUrlParameters=function(c,e){var a=new URL(c);return a.hash="",a.search=a.search.slice(1).split("&").map(function(c){return c.split("=")}).filter(function(a){return e.every(function(c){return!c.test(a[0])})}).map(function(c){return c.join("=")}).join("&"),a.toString()},hashParamName="_sw-precache",urlsToCacheKeys=new Map(precacheConfig.map(function(c){var a=c[0],e=c[1],d=new URL(a,self.location),t=createCacheKey(d,hashParamName,e,/\.\w{8}\./);return[d.toString(),t]}));function setOfCachedUrls(c){return c.keys().then(function(c){return c.map(function(c){return c.url})}).then(function(c){return new Set(c)})}self.addEventListener("install",function(c){c.waitUntil(caches.open(cacheName).then(function(d){return setOfCachedUrls(d).then(function(e){return Promise.all(Array.from(urlsToCacheKeys.values()).map(function(a){if(!e.has(a)){var c=new Request(a,{credentials:"same-origin"});return fetch(c).then(function(c){if(!c.ok)throw new Error("Request for "+a+" returned a response with status "+c.status);return cleanResponse(c).then(function(c){return d.put(a,c)})})}}))})}).then(function(){return self.skipWaiting()}))}),self.addEventListener("activate",function(c){var e=new Set(urlsToCacheKeys.values());c.waitUntil(caches.open(cacheName).then(function(a){return a.keys().then(function(c){return Promise.all(c.map(function(c){if(!e.has(c.url))return a.delete(c)}))})}).then(function(){return self.clients.claim()}))}),self.addEventListener("fetch",function(a){if("GET"===a.request.method){var c,e=stripIgnoredUrlParameters(a.request.url,ignoreUrlParametersMatching),d="index.html";(c=urlsToCacheKeys.has(e))||(e=addDirectoryIndex(e,d),c=urlsToCacheKeys.has(e));var t="/react/build/index.html";!c&&"navigate"===a.request.mode&&isPathWhitelisted(["^(?!\\/__).*"],a.request.url)&&(e=new URL(t,self.location).toString(),c=urlsToCacheKeys.has(e)),c&&a.respondWith(caches.open(cacheName).then(function(c){return c.match(urlsToCacheKeys.get(e)).then(function(c){if(c)return c;throw Error("The cached response that was expected is missing.")})}).catch(function(c){return console.warn('Couldn\'t serve response for "%s" from cache: %O',a.request.url,c),fetch(a.request)}))}}); \ No newline at end of file diff --git a/static/js/28.79b24872.chunk.js b/static/js/28.25a3467c.chunk.js similarity index 50% rename from static/js/28.79b24872.chunk.js rename to static/js/28.25a3467c.chunk.js index c9a20b2c4..130a38927 100644 --- a/static/js/28.79b24872.chunk.js +++ b/static/js/28.25a3467c.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[28,141],{"+hnl":function(e,t,n){},"+lIL":function(e,t,n){var i=n("ProS");n("/ry/"),n("3OrL");var o=n("L5E0"),a=n("7Phj");i.registerVisual(o),i.registerLayout(a)},"/IIm":function(e,t,n){n("Tghj").__DEV__;var i=n("bYtY"),o=n("H6uX"),a=n("IwbS"),r=n("pP6R"),s=n("gPAo"),l=i.curry,u=i.each,c=i.map,d=Math.min,h=Math.max,p=Math.pow,g={w:[0,0],e:[0,1],n:[1,0],s:[1,1]},f={w:"ew",e:"ew",n:"ns",s:"ns",ne:"nesw",sw:"nesw",nw:"nwse",se:"nwse"},m={brushStyle:{lineWidth:2,stroke:"rgba(0,0,0,0.3)",fill:"rgba(0,0,0,0.1)"},transformable:!0,brushMode:"single",removeOnClick:!1},v=0;function y(e){o.call(this),this._zr=e,this.group=new a.Group,this._brushType,this._brushOption,this._panels,this._track=[],this._dragging,this._covers=[],this._creatingCover,this._creatingPanel,this._enableGlobalPan,this._uid="brushController_"+v++,this._handlers={},u(F,(function(e,t){this._handlers[t]=i.bind(e,this)}),this)}function x(e,t){var n=Z[t.brushType].createCover(e,t);return n.__brushOption=t,S(n,t),e.group.add(n),n}function _(e,t){var n=M(t);return n.endCreating&&(n.endCreating(e,t),S(t,t.__brushOption)),t}function b(e,t){var n=t.__brushOption;M(t).updateCoverShape(e,t,n.range,n)}function S(e,t){var n=t.z;null==n&&(n=1e4),e.traverse((function(e){e.z=n,e.z2=n}))}function w(e,t){M(t).updateCommon(e,t),b(e,t)}function M(e){return Z[e.__brushOption.brushType]}function I(e,t,n){var i,o=e._panels;if(!o)return!0;var a=e._transform;return u(o,(function(e){e.isTargetByCursor(t,n,a)&&(i=e)})),i}function A(e,t){var n=e._panels;if(!n)return!0;var i=t.__brushOption.panelId;return null==i||n[i]}function T(e){var t=e._covers,n=t.length;return u(t,(function(t){e.group.remove(t)}),e),t.length=0,!!n}function D(e,t){var n=c(e._covers,(function(e){var t=e.__brushOption,n=i.clone(t.range);return{brushType:t.brushType,panelId:t.panelId,range:n}}));e.trigger("brush",n,{isEnd:!!t.isEnd,removeOnClick:!!t.removeOnClick})}function C(e){var t=e.length-1;return t<0&&(t=0),[e[0],e[t]]}function L(e,t,n,i){var o=new a.Group;return o.add(new a.Rect({name:"main",style:E(n),silent:!0,draggable:!0,cursor:"move",drift:l(e,t,o,"nswe"),ondragend:l(D,t,{isEnd:!0})})),u(i,(function(n){o.add(new a.Rect({name:n,style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:l(e,t,o,n),ondragend:l(D,t,{isEnd:!0})}))})),o}function P(e,t,n,i){var o=i.brushStyle.lineWidth||0,a=h(o,6),r=n[0][0],s=n[1][0],l=r-o/2,u=s-o/2,c=n[0][1],d=n[1][1],p=c-a+o/2,g=d-a+o/2,f=c-r,m=d-s,v=f+o,y=m+o;N(e,t,"main",r,s,f,m),i.transformable&&(N(e,t,"w",l,u,a,y),N(e,t,"e",p,u,a,y),N(e,t,"n",l,u,v,a),N(e,t,"s",l,g,v,a),N(e,t,"nw",l,u,a,a),N(e,t,"ne",p,u,a,a),N(e,t,"sw",l,g,a,a),N(e,t,"se",p,g,a,a))}function k(e,t){var n=t.__brushOption,i=n.transformable,o=t.childAt(0);o.useStyle(E(n)),o.attr({silent:!i,cursor:i?"move":"default"}),u(["w","e","n","s","se","sw","ne","nw"],(function(n){var o=t.childOfName(n),r=function e(t,n){if(n.length>1)return n=n.split(""),("e"===(i=[e(t,n[0]),e(t,n[1])])[0]||"w"===i[0])&&i.reverse(),i.join("");var i;return{left:"w",right:"e",top:"n",bottom:"s"}[i=a.transformDirection({w:"left",e:"right",n:"top",s:"bottom"}[n],function(e){return a.getTransform(e.group)}(t))]}(e,n);o&&o.attr({silent:!i,invisible:!i,cursor:i?f[r]+"-resize":null})}))}function N(e,t,n,i,o,a,r){var s,l,u,c,p,g=t.childOfName(n);g&&g.setShape((s=B(e,t,[[i,o],[i+a,o+r]]),l=d(s[0][0],s[1][0]),u=d(s[0][1],s[1][1]),c=h(s[0][0],s[1][0]),p=h(s[0][1],s[1][1]),{x:l,y:u,width:c-l,height:p-u}))}function E(e){return i.defaults({strokeNoScale:!0},e.brushStyle)}function O(e,t,n,i){var o=[d(e,n),d(t,i)],a=[h(e,n),h(t,i)];return[[o[0],a[0]],[o[1],a[1]]]}function R(e,t,n,i,o,a,r,s){var l=i.__brushOption,c=e(l.range),d=z(n,a,r);u(o.split(""),(function(e){var t=g[e];c[t[0]][t[1]]+=d[t[0]]})),l.range=t(O(c[0][0],c[1][0],c[0][1],c[1][1])),w(n,i),D(n,{isEnd:!1})}function V(e,t,n,i,o){var a=t.__brushOption.range,r=z(e,n,i);u(a,(function(e){e[0]+=r[0],e[1]+=r[1]})),w(e,t),D(e,{isEnd:!1})}function z(e,t,n){var i=e.group,o=i.transformCoordToLocal(t,n),a=i.transformCoordToLocal(0,0);return[o[0]-a[0],o[1]-a[1]]}function B(e,t,n){var o=A(e,t);return o&&!0!==o?o.clipPath(n,e._transform):i.clone(n)}function G(e){var t=e.event;t.preventDefault&&t.preventDefault()}function Y(e,t,n){return e.childOfName("main").contain(t,n)}function H(e,t,n,o){var a,r=e._creatingCover,s=e._creatingPanel,l=e._brushOption;if(e._track.push(n.slice()),function(e){var t=e._track;if(!t.length)return!1;var n=t[t.length-1],i=t[0],o=n[0]-i[0],a=n[1]-i[1];return p(o*o+a*a,.5)>6}(e)||r){if(s&&!r){"single"===l.brushMode&&T(e);var u=i.clone(l);u.brushType=W(u.brushType,s),u.panelId=!0===s?null:s.panelId,r=e._creatingCover=x(e,u),e._covers.push(r)}if(r){var c=Z[W(e._brushType,s)];r.__brushOption.range=c.getCreatingRange(B(e,r,e._track)),o&&(_(e,r),c.updateCommon(e,r)),b(e,r),a={isEnd:o}}}else o&&"single"===l.brushMode&&l.removeOnClick&&I(e,t,n)&&T(e)&&(a={isEnd:o,removeOnClick:!0});return a}function W(e,t){return"auto"===e?t.defaultBrushType:e}y.prototype={constructor:y,enableBrush:function(e){var t,n;return this._brushType&&(n=(t=this)._zr,r.release(n,"globalPan",t._uid),function(e,t){u(t,(function(t,n){e.off(n,t)}))}(n,t._handlers),t._brushType=t._brushOption=null),e.brushType&&function(e,t){var n=e._zr;e._enableGlobalPan||r.take(n,"globalPan",e._uid);(function(e,t){u(t,(function(t,n){e.on(n,t)}))})(n,e._handlers),e._brushType=t.brushType,e._brushOption=i.merge(i.clone(m),t,!0)}(this,e),this},setPanels:function(e){if(e&&e.length){var t=this._panels={};i.each(e,(function(e){t[e.panelId]=i.clone(e)}))}else this._panels=null;return this},mount:function(e){e=e||{},this._enableGlobalPan=e.enableGlobalPan;var t=this.group;return this._zr.add(t),t.attr({position:e.position||[0,0],rotation:e.rotation||0,scale:e.scale||[1,1]}),this._transform=t.getLocalTransform(),this},eachCover:function(e,t){u(this._covers,e,t)},updateCovers:function(e){e=i.map(e,(function(e){return i.merge(i.clone(m),e,!0)}));var t=this._covers,n=this._covers=[],o=this,a=this._creatingCover;return new s(t,e,(function(e,t){return r(e.__brushOption,t)}),r).add(l).update(l).remove((function(e){t[e]!==a&&o.group.remove(t[e])})).execute(),this;function r(e,t){return(null!=e.id?e.id:"\0-brush-index-"+t)+"-"+e.brushType}function l(i,r){var s=e[i];if(null!=r&&t[r]===a)n[i]=t[r];else{var l=n[i]=null!=r?(t[r].__brushOption=s,t[r]):_(o,x(o,s));w(o,l)}}},unmount:function(){return this.enableBrush(!1),T(this),this._zr.remove(this.group),this},dispose:function(){this.unmount(),this.off()}},i.mixin(y,o);var F={mousedown:function(e){if(this._dragging)j(this,e);else if(!e.target||!e.target.draggable){G(e);var t=this.group.transformCoordToLocal(e.offsetX,e.offsetY);this._creatingCover=null,(this._creatingPanel=I(this,e,t))&&(this._dragging=!0,this._track=[t.slice()])}},mousemove:function(e){var t=e.offsetX,n=e.offsetY,i=this.group.transformCoordToLocal(t,n);if(function(e,t,n){if(e._brushType&&!function(e,t,n){var i=e._zr;return t<0||t>i.getWidth()||n<0||n>i.getHeight()}(e,t)){var i=e._zr,o=e._covers,a=I(e,t,n);if(!e._dragging)for(var r=0;rr;)l+=360*u;return[s,l]},coordToPoint:function(e){var t=e[0],n=e[1]/180*Math.PI;return[Math.cos(n)*t+this.cx,-Math.sin(n)*t+this.cy]},getArea:function(){var e=this.getAngleAxis(),t=this.getRadiusAxis().getExtent().slice();t[0]>t[1]&&t.reverse();var n=e.getExtent(),i=Math.PI/180;return{cx:this.cx,cy:this.cy,r0:t[0],r:t[1],startAngle:-n[0]*i,endAngle:-n[1]*i,clockwise:e.inverse,contain:function(e,t){var n=e-this.cx,i=t-this.cy,o=n*n+i*i,a=this.r,r=this.r0;return o<=a*a&&o>=r*r}}}};var r=a;e.exports=r},"/d5a":function(e,t){var n={average:function(e){for(var t=0,n=0,i=0;it&&(t=e[n]);return isFinite(t)?t:NaN},min:function(e){for(var t=1/0,n=0;n1)"string"==typeof r?l=n[r]:"function"==typeof r&&(l=r),l&&e.setData(a.downSample(a.mapDimension(c.dim),1/p,l,i))}}}}},"/ry/":function(e,t,n){var i=n("bYtY"),o=n("T4UG"),a=n("5GhG").seriesModelMixin,r=o.extend({type:"series.boxplot",dependencies:["xAxis","yAxis","grid"],defaultValueDimensions:[{name:"min",defaultTooltip:!0},{name:"Q1",defaultTooltip:!0},{name:"median",defaultTooltip:!0},{name:"Q3",defaultTooltip:!0},{name:"max",defaultTooltip:!0}],dimensions:null,defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,layout:null,boxWidth:[7,50],itemStyle:{color:"#fff",borderWidth:1},emphasis:{itemStyle:{borderWidth:2,shadowBlur:5,shadowOffsetX:2,shadowOffsetY:2,shadowColor:"rgba(0,0,0,0.4)"}},animationEasing:"elasticOut",animationDuration:800}});i.mixin(r,a,!0);var s=r;e.exports=s},"/stD":function(e,t,n){var i=n("bYtY"),o=n("IUWy"),a=n("Kagy").toolbox.brush;function r(e,t,n){this.model=e,this.ecModel=t,this.api=n,this._brushType,this._brushMode}r.defaultOption={show:!0,type:["rect","polygon","lineX","lineY","keep","clear"],icon:{rect:"M7.3,34.7 M0.4,10V-0.2h9.8 M89.6,10V-0.2h-9.8 M0.4,60v10.2h9.8 M89.6,60v10.2h-9.8 M12.3,22.4V10.5h13.1 M33.6,10.5h7.8 M49.1,10.5h7.8 M77.5,22.4V10.5h-13 M12.3,31.1v8.2 M77.7,31.1v8.2 M12.3,47.6v11.9h13.1 M33.6,59.5h7.6 M49.1,59.5 h7.7 M77.5,47.6v11.9h-13",polygon:"M55.2,34.9c1.7,0,3.1,1.4,3.1,3.1s-1.4,3.1-3.1,3.1 s-3.1-1.4-3.1-3.1S53.5,34.9,55.2,34.9z M50.4,51c1.7,0,3.1,1.4,3.1,3.1c0,1.7-1.4,3.1-3.1,3.1c-1.7,0-3.1-1.4-3.1-3.1 C47.3,52.4,48.7,51,50.4,51z M55.6,37.1l1.5-7.8 M60.1,13.5l1.6-8.7l-7.8,4 M59,19l-1,5.3 M24,16.1l6.4,4.9l6.4-3.3 M48.5,11.6 l-5.9,3.1 M19.1,12.8L9.7,5.1l1.1,7.7 M13.4,29.8l1,7.3l6.6,1.6 M11.6,18.4l1,6.1 M32.8,41.9 M26.6,40.4 M27.3,40.2l6.1,1.6 M49.9,52.1l-5.6-7.6l-4.9-1.2",lineX:"M15.2,30 M19.7,15.6V1.9H29 M34.8,1.9H40.4 M55.3,15.6V1.9H45.9 M19.7,44.4V58.1H29 M34.8,58.1H40.4 M55.3,44.4 V58.1H45.9 M12.5,20.3l-9.4,9.6l9.6,9.8 M3.1,29.9h16.5 M62.5,20.3l9.4,9.6L62.3,39.7 M71.9,29.9H55.4",lineY:"M38.8,7.7 M52.7,12h13.2v9 M65.9,26.6V32 M52.7,46.3h13.2v-9 M24.9,12H11.8v9 M11.8,26.6V32 M24.9,46.3H11.8v-9 M48.2,5.1l-9.3-9l-9.4,9.2 M38.9-3.9V12 M48.2,53.3l-9.3,9l-9.4-9.2 M38.9,62.3V46.4",keep:"M4,10.5V1h10.3 M20.7,1h6.1 M33,1h6.1 M55.4,10.5V1H45.2 M4,17.3v6.6 M55.6,17.3v6.6 M4,30.5V40h10.3 M20.7,40 h6.1 M33,40h6.1 M55.4,30.5V40H45.2 M21,18.9h62.9v48.6H21V18.9z",clear:"M22,14.7l30.9,31 M52.9,14.7L22,45.7 M4.7,16.8V4.2h13.1 M26,4.2h7.8 M41.6,4.2h7.8 M70.3,16.8V4.2H57.2 M4.7,25.9v8.6 M70.3,25.9v8.6 M4.7,43.2v12.6h13.1 M26,55.8h7.8 M41.6,55.8h7.8 M70.3,43.2v12.6H57.2"},title:i.clone(a.title)};var s=r.prototype;s.render=s.updateView=function(e,t,n){var o,a,r;t.eachComponent({mainType:"brush"},(function(e){o=e.brushType,a=e.brushOption.brushMode||"single",r|=e.areas.length})),this._brushType=o,this._brushMode=a,i.each(e.get("type",!0),(function(t){e.setIconStatus(t,("keep"===t?"multiple"===a:"clear"===t?r:t===o)?"emphasis":"normal")}))},s.getIcons=function(){var e=this.model,t=e.get("icon",!0),n={};return i.each(e.get("type",!0),(function(e){t[e]&&(n[e]=t[e])})),n},s.onclick=function(e,t,n){var i=this._brushType,o=this._brushMode;"clear"===n?(t.dispatchAction({type:"axisAreaSelect",intervals:[]}),t.dispatchAction({type:"brush",command:"clear",areas:[]})):t.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:"keep"===n?i:i!==n&&n,brushMode:"keep"===n?"multiple"===o?"single":"multiple":o}})},o.register("brush",r);var l=r;e.exports=l},"01d+":function(e,t,n){var i=n("bYtY").each,o=n("HF/U"),a=o.simpleLayout,r=o.simpleLayoutEdge;e.exports=function(e,t){e.eachSeriesByType("graph",(function(e){var t=e.get("layout"),n=e.coordinateSystem;if(n&&"view"!==n.type){var o=e.getData(),s=[];i(n.dimensions,(function(e){s=s.concat(o.mapDimension(e,!0))}));for(var l=0;l=0&&o.each(e,(function(e){i.setIconStatus(e,"normal")}))})),i.setIconStatus(n,"emphasis"),e.eachComponent({mainType:"series",query:null==a?null:{seriesIndex:a}},(function(t){var a=t.subType,r=t.id,s=c[n](a,r,t,i);s&&(o.defaults(s,t.option),l.series.push(s));var u=t.coordinateSystem;if(u&&"cartesian2d"===u.type&&("line"===n||"bar"===n)){var d=u.getAxesByScale("ordinal")[0];if(d){var h=d.dim+"Axis",p=e.queryComponents({mainType:h,index:t.get(name+"Index"),id:t.get(name+"Id")})[0].componentIndex;l[h]=l[h]||[];for(var g=0;g<=p;g++)l[h][p]=l[h][p]||{};l[h][p].boundaryGap="bar"===n}}})),"stack"===n)r=l.series&&l.series[0]&&"__ec_magicType_stack__"===l.series[0].stack?o.merge({stack:s.title.tiled},s.title):o.clone(s.title);t.dispatchAction({type:"changeMagicType",currentType:n,newOption:l,newTitle:r,featureName:"magicType"})}},i.registerAction({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},(function(e,t){t.mergeOption(e.newOption)})),r.register("magicType",l);var h=l;e.exports=h},"06Qe":function(e,t,n){var i,o=n("ItGF"),a="urn:schemas-microsoft-com:vml",r="undefined"==typeof window?null:window,s=!1,l=r&&r.document;if(l&&!o.canvasSupported)try{!l.namespaces.zrvml&&l.namespaces.add("zrvml",a),i=function(e){return l.createElement("')}}catch(e){i=function(e){return l.createElement("<"+e+' xmlns="'+a+'" class="zrvml">')}}t.doc=l,t.createNode=function(e){return i(e)},t.initVML=function(){if(!s&&l){s=!0;var e=l.styleSheets;e.length<31?l.createStyleSheet().addRule(".zrvml","behavior:url(#default#VML)"):e[0].addRule(".zrvml","behavior:url(#default#VML)")}}},"0Bwj":function(e,t,n){var i=n("T4UG"),o=n("I3/A"),a=n("7aKB").encodeHTML,r=n("Qxkt"),s=(n("Tghj").__DEV__,i.extend({type:"series.sankey",layoutInfo:null,levelModels:null,getInitialData:function(e,t){for(var n=e.edges||e.links,i=e.data||e.nodes,a=e.levels,s=this.levelModels={},l=0;l=0&&(s[a[l].depth]=new r(a[l],this,t));if(i&&n)return o(i,n,this,!0,(function(e,t){e.wrapMethod("getItemModel",(function(e,t){return e.customizeGetParent((function(e){var n=this.parentModel,i=n.getData().getItemLayout(t).depth;return n.levelModels[i]||this.parentModel})),e})),t.wrapMethod("getItemModel",(function(e,t){return e.customizeGetParent((function(e){var n=this.parentModel,i=n.getGraph().getEdgeByIndex(t).node1.getLayout().depth;return n.levelModels[i]||this.parentModel})),e}))})).data},setNodePosition:function(e,t){var n=this.option.data[e];n.localX=t[0],n.localY=t[1]},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},formatTooltip:function(e,t,n){if("edge"===n){var i=this.getDataParams(e,n),o=i.data,r=o.source+" -- "+o.target;return i.value&&(r+=" : "+i.value),a(r)}if("node"===n){var l=this.getGraph().getNodeByIndex(e).getLayout().value,u=this.getDataParams(e,n).data.name;if(l)r=u+" : "+l;return a(r)}return s.superCall(this,"formatTooltip",e,t)},optionUpdated:function(){var e=this.option;!0===e.focusNodeAdjacency&&(e.focusNodeAdjacency="allEdges")},getDataParams:function(e,t){var n=s.superCall(this,"getDataParams",e,t);if(null==n.value&&"node"===t){var i=this.getGraph().getNodeByIndex(e).getLayout().value;n.value=i}return n},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",layout:null,left:"5%",top:"5%",right:"20%",bottom:"5%",orient:"horizontal",nodeWidth:20,nodeGap:8,draggable:!0,focusNodeAdjacency:!1,layoutIterations:32,label:{show:!0,position:"right",color:"#000",fontSize:12},levels:[],nodeAlign:"justify",itemStyle:{borderWidth:1,borderColor:"#333"},lineStyle:{color:"#314656",opacity:.2,curveness:.5},emphasis:{label:{show:!0},lineStyle:{opacity:.5}},animationEasing:"linear",animationDuration:1e3}})),l=s;e.exports=l},"0HBW":function(e,t,n){var i=n("ProS"),o=n("bYtY");function a(e,t){t.update="updateView",i.registerAction(t,(function(t,n){var i={};return n.eachComponent({mainType:"geo",query:t},(function(n){n[e](t.name);var a=n.coordinateSystem;o.each(a.regions,(function(e){i[e.name]=n.isSelected(e.name)||!1}))})),{selected:i,name:t.name}}))}n("Hxpc"),n("7uqq"),n("dmGj"),n("SehX"),a("toggleSelected",{type:"geoToggleSelect",event:"geoselectchanged"}),a("select",{type:"geoSelect",event:"geoselected"}),a("unSelect",{type:"geoUnSelect",event:"geounselected"})},"0JAE":function(e,t,n){var i=n("bYtY"),o=n("+TT/"),a=n("OELB"),r=n("IDmD");function s(e,t,n){this._model=e}function l(e,t,n,i){var o=n.calendarModel,a=n.seriesModel,r=o?o.coordinateSystem:a?a.coordinateSystem:null;return r===this?r[e](i):null}s.prototype={constructor:s,type:"calendar",dimensions:["time","value"],getDimensionsInfo:function(){return[{name:"time",type:"time"},"value"]},getRangeInfo:function(){return this._rangeInfo},getModel:function(){return this._model},getRect:function(){return this._rect},getCellWidth:function(){return this._sw},getCellHeight:function(){return this._sh},getOrient:function(){return this._orient},getFirstDayOfWeek:function(){return this._firstDayOfWeek},getDateInfo:function(e){var t=(e=a.parseDate(e)).getFullYear(),n=e.getMonth()+1;n=n<10?"0"+n:n;var i=e.getDate();i=i<10?"0"+i:i;var o=e.getDay();return{y:t,m:n,d:i,day:o=Math.abs((o+7-this.getFirstDayOfWeek())%7),time:e.getTime(),formatedDate:t+"-"+n+"-"+i,date:e}},getNextNDay:function(e,t){return 0===(t=t||0)||(e=new Date(this.getDateInfo(e).time)).setDate(e.getDate()+t),this.getDateInfo(e)},update:function(e,t){this._firstDayOfWeek=+this._model.getModel("dayLabel").get("firstDay"),this._orient=this._model.get("orient"),this._lineWidth=this._model.getModel("itemStyle").getItemStyle().lineWidth||0,this._rangeInfo=this._getRangeInfo(this._initRangeOption());var n=this._rangeInfo.weeks||1,a=["width","height"],r=this._model.get("cellSize").slice(),s=this._model.getBoxLayoutParams(),l="horizontal"===this._orient?[n,7]:[7,n];i.each([0,1],(function(e){d(r,e)&&(s[a[e]]=r[e]*l[e])}));var u={width:t.getWidth(),height:t.getHeight()},c=this._rect=o.getLayoutRect(s,u);function d(e,t){return null!=e[t]&&"auto"!==e[t]}i.each([0,1],(function(e){d(r,e)||(r[e]=c[a[e]]/l[e])})),this._sw=r[0],this._sh=r[1]},dataToPoint:function(e,t){i.isArray(e)&&(e=e[0]),null==t&&(t=!0);var n=this.getDateInfo(e),o=this._rangeInfo,a=n.formatedDate;if(t&&!(n.time>=o.start.time&&n.timer.end.time&&e.reverse(),e},_getRangeInfo:function(e){var t;(e=[this.getDateInfo(e[0]),this.getDateInfo(e[1])])[0].time>e[1].time&&(t=!0,e.reverse());var n=Math.floor(e[1].time/864e5)-Math.floor(e[0].time/864e5)+1,i=new Date(e[0].time),o=i.getDate(),a=e[1].date.getDate();i.setDate(o+n-1);var r=i.getDate();if(r!==a)for(var s=i.getTime()-e[1].time>0?1:-1;(r=i.getDate())!==a&&(i.getTime()-e[1].time)*s>0;)n-=s,i.setDate(r-s);var l=Math.floor((n+e[0].day+6)/7),u=t?1-l:l-1;return t&&e.reverse(),{range:[e[0].formatedDate,e[1].formatedDate],start:e[0],end:e[1],allDay:n,weeks:l,nthWeek:u,fweek:e[0].day,lweek:e[1].day}},_getDateByWeeksAndDay:function(e,t,n){var i=this._getRangeInfo(n);if(e>i.weeks||0===e&&ti.lweek)return!1;var o=7*(e-1)-i.fweek+t,a=new Date(i.start.time);return a.setDate(i.start.d+o),this.getDateInfo(a)}},s.dimensions=s.prototype.dimensions,s.getDimensionsInfo=s.prototype.getDimensionsInfo,s.create=function(e,t){var n=[];return e.eachComponent("calendar",(function(i){var o=new s(i,e,t);n.push(o),i.coordinateSystem=o})),e.eachSeries((function(e){"calendar"===e.get("coordinateSystem")&&(e.coordinateSystem=n[e.get("calendarIndex")||0])})),n},r.register("calendar",s);var u=s;e.exports=u},"0qV/":function(e,t,n){var i=n("ProS");i.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},(function(){})),i.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},(function(){}))},"10cm":function(e,t,n){var i=n("ProS"),o=n("2B6p").updateCenterAndZoom;n("0qV/");i.registerAction({type:"graphRoam",event:"graphRoam",update:"none"},(function(e,t){t.eachComponent({mainType:"series",query:e},(function(t){var n=t.coordinateSystem,i=o(n,e);t.setCenter&&t.setCenter(i.center),t.setZoom&&t.setZoom(i.zoom)}))}))},"1NG9":function(e,t,n){var i=n("y+Vt"),o=n("QBsz"),a=n("iXp4"),r=o.min,s=o.max,l=o.scaleAndAdd,u=o.copy,c=[],d=[],h=[];function p(e){return isNaN(e[0])||isNaN(e[1])}function g(e,t,n,i,o,a,r,s,l,u,c){return"none"!==u&&u?f.apply(this,arguments):m.apply(this,arguments)}function f(e,t,n,i,o,a,r,s,l,c,g){for(var f=0,m=n,v=0;v=o||m<0)break;if(p(y)){if(g){m+=a;continue}break}if(m===n)e[a>0?"moveTo":"lineTo"](y[0],y[1]);else if(l>0){var x=t[f],_="y"===c?1:0,b=(y[_]-x[_])*l;u(d,x),d[_]=x[_]+b,u(h,y),h[_]=y[_]-b,e.bezierCurveTo(d[0],d[1],h[0],h[1],y[0],y[1])}else e.lineTo(y[0],y[1]);f=m,m+=a}return v}function m(e,t,n,i,a,g,f,m,v,y,x){for(var _=0,b=n,S=0;S=a||b<0)break;if(p(w)){if(x){b+=g;continue}break}if(b===n)e[g>0?"moveTo":"lineTo"](w[0],w[1]),u(d,w);else if(v>0){var M=b+g,I=t[M];if(x)for(;I&&p(t[M]);)I=t[M+=g];var A=.5,T=t[_];if(!(I=t[M])||p(I))u(h,w);else{var D,C;if(p(I)&&!x&&(I=w),o.sub(c,I,T),"x"===y||"y"===y){var L="x"===y?0:1;D=Math.abs(w[L]-T[L]),C=Math.abs(w[L]-I[L])}else D=o.dist(w,T),C=o.dist(w,I);l(h,w,c,-v*(1-(A=C/(C+D))))}r(d,d,m),s(d,d,f),r(h,h,m),s(h,h,f),e.bezierCurveTo(d[0],d[1],h[0],h[1],w[0],w[1]),l(d,w,c,v*A)}else e.lineTo(w[0],w[1]);_=b,b+=g}return S}function v(e,t){var n=[1/0,1/0],i=[-1/0,-1/0];if(t)for(var o=0;oi[0]&&(i[0]=a[0]),a[1]>i[1]&&(i[1]=a[1])}return{min:t?n:i,max:t?i:n}}var y=i.extend({type:"ec-polyline",shape:{points:[],smooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},style:{fill:null,stroke:"#000"},brush:a(i.prototype.brush),buildPath:function(e,t){var n=t.points,i=0,o=n.length,a=v(n,t.smoothConstraint);if(t.connectNulls){for(;o>0&&p(n[o-1]);o--);for(;i0&&p(n[a-1]);a--);for(;on.getHeight()&&(i.textPosition="top",s=!0);var l=s?-5-o.height:h+8;r+o.width/2>n.getWidth()?(i.textPosition=["100%",l],i.textAlign="right"):r-o.width/2<0&&(i.textPosition=[0,l],i.textAlign="left")}}))}function m(a,u){var c,m=f[a],v=f[u],y=p[m],x=new l(y,e,e.ecModel);if(i&&null!=i.newTitle&&i.featureName===m&&(y.title=i.newTitle),m&&!v){if(function(e){return 0===e.indexOf("my")}(m))c={model:x,onclick:x.option.onclick,featureName:m};else{var _=r.get(m);if(!_)return;c=new _(x,t,n)}g[m]=c}else{if(!(c=g[v]))return;c.model=x,c.ecModel=t,c.api=n}m||!v?x.get("show")&&!c.unusable?(!function(i,a,r){var l=i.getModel("iconStyle"),u=i.getModel("emphasis.iconStyle"),c=a.getIcons?a.getIcons():i.get("icon"),p=i.get("title")||{};if("string"==typeof c){var g=c,f=p;p={},(c={})[r]=g,p[r]=f}var m=i.iconPaths={};o.each(c,(function(r,c){var g=s.createIcon(r,{},{x:-h/2,y:-h/2,width:h,height:h});g.setStyle(l.getItemStyle()),g.hoverStyle=u.getItemStyle(),g.setStyle({text:p[c],textAlign:u.get("textAlign"),textBorderRadius:u.get("textBorderRadius"),textPadding:u.get("textPadding"),textFill:null});var f=e.getModel("tooltip");f&&f.get("show")&&g.attr("tooltip",o.extend({content:p[c],formatter:f.get("formatter",!0)||function(){return p[c]},formatterParams:{componentType:"toolbox",name:c,title:p[c],$vars:["name","title"]},position:f.get("position",!0)||"bottom"},f.option)),s.setHoverStyle(g),e.get("showTitle")&&(g.__title=p[c],g.on("mouseover",(function(){var t=u.getItemStyle(),n="vertical"===e.get("orient")?null==e.get("right")?"right":"left":null==e.get("bottom")?"bottom":"top";g.setStyle({textFill:u.get("textFill")||t.fill||t.stroke||"#000",textBackgroundColor:u.get("textBackgroundColor"),textPosition:u.get("textPosition")||n})})).on("mouseout",(function(){g.setStyle({textFill:null,textBackgroundColor:null})}))),g.trigger(i.get("iconStatus."+c)||"normal"),d.add(g),g.on("click",o.bind(a.onclick,a,t,n,c)),m[c]=g}))}(x,c,m),x.setIconStatus=function(e,t){var n=this.option,i=this.iconPaths;n.iconStatus=n.iconStatus||{},n.iconStatus[e]=t,i[e]&&i[e].trigger(t)},c.render&&c.render(x,t,n,i)):c.remove&&c.remove(t,n):c.dispose&&c.dispose(t,n)}},updateView:function(e,t,n,i){o.each(this._features,(function(e){e.updateView&&e.updateView(e.model,t,n,i)}))},remove:function(e,t){o.each(this._features,(function(n){n.remove&&n.remove(e,t)})),this.group.removeAll()},dispose:function(e,t){o.each(this._features,(function(n){n.dispose&&n.dispose(e,t)}))}});e.exports=d},"2B6p":function(e,t){t.updateCenterAndZoom=function(e,t,n){var i=e.getZoom(),o=e.getCenter(),a=t.zoom,r=e.dataToPoint(o);if(null!=t.dx&&null!=t.dy){r[0]-=t.dx,r[1]-=t.dy;o=e.pointToData(r);e.setCenter(o)}if(null!=a){if(n){var s=n.min||0,l=n.max||1/0;a=Math.max(Math.min(i*a,l),s)/i}e.scale[0]*=a,e.scale[1]*=a;var u=e.position,c=(t.originX-u[0])*(a-1),d=(t.originY-u[1])*(a-1);u[0]-=c,u[1]-=d,e.updateTransform();o=e.pointToData(r);e.setCenter(o),e.setZoom(a*i)}return{center:e.getCenter(),zoom:e.getZoom()}}},"2dDv":function(e,t,n){var i=n("bYtY"),o=n("Fofx"),a=n("+TT/"),r=n("aX7z"),s=n("D1WM"),l=n("IwbS"),u=n("OELB"),c=n("72pK"),d=i.each,h=Math.min,p=Math.max,g=Math.floor,f=Math.ceil,m=u.round,v=Math.PI;function y(e,t,n){this._axesMap=i.createHashMap(),this._axesLayout={},this.dimensions=e.dimensions,this._rect,this._model=e,this._init(e,t,n)}function x(e,t){return h(p(e,t[0]),t[1])}function _(e,t){var n=t.layoutLength/(t.axisCount-1);return{position:n*e,axisNameAvailableWidth:n,axisLabelShow:!0}}function b(e,t){var n,i,o=t.layoutLength,a=t.axisExpandWidth,r=t.axisCount,s=t.axisCollapseWidth,l=t.winInnerIndices,u=s,c=!1;return e=n&&a<=n+t.axisLength&&r>=i&&r<=i+t.layoutLength},getModel:function(){return this._model},_updateAxesFromSeries:function(e,t){t.eachSeries((function(n){if(e.contains(n,t)){var i=n.getData();d(this.dimensions,(function(e){var t=this._axesMap.get(e);t.scale.unionExtentFromData(i,i.mapDimension(e)),r.niceScaleExtent(t.scale,t.model)}),this)}}),this)},resize:function(e,t){this._rect=a.getLayoutRect(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()}),this._layoutAxes()},getRect:function(){return this._rect},_makeLayoutInfo:function(){var e,t=this._model,n=this._rect,i=["x","y"],o=["width","height"],a=t.get("layout"),r="horizontal"===a?0:1,s=n[o[r]],l=[0,s],u=this.dimensions.length,c=x(t.get("axisExpandWidth"),l),d=x(t.get("axisExpandCount")||0,[0,u]),h=t.get("axisExpandable")&&u>3&&u>d&&d>1&&c>0&&s>0,p=t.get("axisExpandWindow");p?(e=x(p[1]-p[0],l),p[1]=p[0]+e):(e=x(c*(d-1),l),(p=[c*(t.get("axisExpandCenter")||g(u/2))-e/2])[1]=p[0]+e);var v=(s-e)/(u-d);v<3&&(v=0);var y=[g(m(p[0]/c,1))+1,f(m(p[1]/c,1))-1],_=v/c*p[0];return{layout:a,pixelDimIndex:r,layoutBase:n[i[r]],layoutLength:s,axisBase:n[i[1-r]],axisLength:n[o[1-r]],axisExpandable:h,axisExpandWidth:c,axisCollapseWidth:v,axisExpandWindow:p,axisCount:u,winInnerIndices:y,axisExpandWindow0Pos:_}},_layoutAxes:function(){var e=this._rect,t=this._axesMap,n=this.dimensions,i=this._makeLayoutInfo(),a=i.layout;t.each((function(e){var t=[0,i.axisLength],n=e.inverse?1:0;e.setExtent(t[n],t[1-n])})),d(n,(function(t,n){var r=(i.axisExpandable?b:_)(n,i),s={horizontal:{x:r.position,y:i.axisLength},vertical:{x:0,y:r.position}},l={horizontal:v/2,vertical:0},u=[s[a].x+e.x,s[a].y+e.y],c=l[a],d=o.create();o.rotate(d,d,c),o.translate(d,d,u),this._axesLayout[t]={position:u,rotation:c,transform:d,axisNameAvailableWidth:r.axisNameAvailableWidth,axisLabelShow:r.axisLabelShow,nameTruncateMaxWidth:r.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}}),this)},getAxis:function(e){return this._axesMap.get(e)},dataToPoint:function(e,t){return this.axisCoordToPoint(this._axesMap.get(t).dataToCoord(e),t)},eachActiveState:function(e,t,n,o){null==n&&(n=0),null==o&&(o=e.count());var a=this._axesMap,r=this.dimensions,s=[],l=[];i.each(r,(function(t){s.push(e.mapDimension(t)),l.push(a.get(t).model)}));for(var u=this.hasAxisBrushed(),c=n;co*(1-d[0])?(l="jump",r=s-o*(1-d[2])):(r=s-o*d[1])>=0&&(r=s-o*(1-d[1]))<=0&&(r=0),(r*=t.axisExpandWidth/u)?c(r,i,a,"all"):l="none";else{o=i[1]-i[0];(i=[p(0,a[1]*s/o-o/2)])[1]=h(a[1],i[0]+o),i[0]=i[1]-o}return{axisExpandWindow:i,behavior:l}}};var S=y;e.exports=S},"2fGM":function(e,t,n){var i=n("bYtY"),o=n("bLfw"),a=n("nkfE"),r=n("ICMv"),s=o.extend({type:"polarAxis",axis:null,getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"polar",index:this.option.polarIndex,id:this.option.polarId})[0]}});i.merge(s.prototype,r);var l={splitNumber:5};function u(e,t){return t.type||(t.data?"category":"value")}a("angle",s,u,{startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:!1}}),a("radius",s,u,l)},"2uGb":function(e,t,n){var i=n("ProS");n("ko1b"),n("s2lz"),n("RBEP");var o=n("kMLO"),a=n("nKiI");i.registerVisual(o),i.registerLayout(a)},"33Ds":function(e,t,n){var i=n("ProS"),o=n("b9oc"),a=n("Kagy"),r=n("IUWy"),s=a.toolbox.restore;function l(e){this.model=e}l.defaultOption={show:!0,icon:"M3.8,33.4 M47,18.9h9.8V8.7 M56.3,20.1 C52.1,9,40.5,0.6,26.8,2.1C12.6,3.7,1.6,16.2,2.1,30.6 M13,41.1H3.1v10.2 M3.7,39.9c4.2,11.1,15.8,19.5,29.5,18 c14.2-1.6,25.2-14.1,24.7-28.5",title:s.title},l.prototype.onclick=function(e,t,n){o.clear(e),t.dispatchAction({type:"restore",from:this.uid})},r.register("restore",l),i.registerAction({type:"restore",event:"restore",update:"prepareAndUpdate"},(function(e,t){t.resetOption("recreate")}));var u=l;e.exports=u},"3CBa":function(e,t,n){var i=n("hydK").createElement,o=n("bYtY"),a=n("SUKs"),r=n("y+Vt"),s=n("Dagg"),l=n("dqUG"),u=n("DBLp"),c=n("sW+o"),d=n("n6Mw"),h=n("vKoX"),p=n("P47w"),g=p.path,f=p.image,m=p.text;function v(e){return parseInt(e,10)}function y(e,t){return t&&e&&t.parentNode!==e}function x(e,t,n){if(y(e,t)&&n){var i=n.nextSibling;i?e.insertBefore(t,i):e.appendChild(t)}}function _(e,t){if(y(e,t)){var n=e.firstChild;n?e.insertBefore(t,n):e.appendChild(t)}}function b(e,t){t&&e&&t.parentNode===e&&e.removeChild(t)}function S(e){return e.__textSvgEl}function w(e){return e.__svgEl}var M=function(e,t,n,a){this.root=e,this.storage=t,this._opts=n=o.extend({},n||{});var r=i("svg");r.setAttribute("xmlns","http://www.w3.org/2000/svg"),r.setAttribute("version","1.1"),r.setAttribute("baseProfile","full"),r.style.cssText="user-select:none;position:absolute;left:0;top:0;";var s=i("g");r.appendChild(s);var l=i("g");r.appendChild(l),this.gradientManager=new c(a,l),this.clipPathManager=new d(a,l),this.shadowManager=new h(a,l);var u=document.createElement("div");u.style.cssText="overflow:hidden;position:relative",this._svgDom=r,this._svgRoot=l,this._backgroundRoot=s,this._viewport=u,e.appendChild(u),u.appendChild(r),this.resize(n.width,n.height),this._visibleList=[]};M.prototype={constructor:M,getType:function(){return"svg"},getViewportRoot:function(){return this._viewport},getSvgDom:function(){return this._svgDom},getSvgRoot:function(){return this._svgRoot},getViewportRootOffset:function(){var e=this.getViewportRoot();if(e)return{offsetLeft:e.offsetLeft||0,offsetTop:e.offsetTop||0}},refresh:function(){var e=this.storage.getDisplayList(!0);this._paintList(e)},setBackgroundColor:function(e){this._backgroundRoot&&this._backgroundNode&&this._backgroundRoot.removeChild(this._backgroundNode);var t=i("rect");t.setAttribute("width",this.getWidth()),t.setAttribute("height",this.getHeight()),t.setAttribute("x",0),t.setAttribute("y",0),t.setAttribute("id",0),t.style.fill=e,this._backgroundRoot.appendChild(t),this._backgroundNode=t},_paintList:function(e){this.gradientManager.markAllUnused(),this.clipPathManager.markAllUnused(),this.shadowManager.markAllUnused();var t,n,i=this._svgRoot,o=this._visibleList,a=e.length,c=[];for(t=0;t=0;--i)if(n[i]===e)return!0;return!1}),t):null:t[0]},resize:function(e,t){var n=this._viewport;n.style.display="none";var i=this._opts;if(null!=e&&(i.width=e),null!=t&&(i.height=t),e=this._getSize(0),t=this._getSize(1),n.style.display="",this._width!==e||this._height!==t){this._width=e,this._height=t;var o=n.style;o.width=e+"px",o.height=t+"px";var a=this._svgDom;a.setAttribute("width",e),a.setAttribute("height",t)}this._backgroundNode&&(this._backgroundNode.setAttribute("width",e),this._backgroundNode.setAttribute("height",t))},getWidth:function(){return this._width},getHeight:function(){return this._height},_getSize:function(e){var t=this._opts,n=["width","height"][e],i=["clientWidth","clientHeight"][e],o=["paddingLeft","paddingTop"][e],a=["paddingRight","paddingBottom"][e];if(null!=t[n]&&"auto"!==t[n])return parseFloat(t[n]);var r=this.root,s=document.defaultView.getComputedStyle(r);return(r[i]||v(s[n])||v(r.style[n]))-(v(s[o])||0)-(v(s[a])||0)|0},dispose:function(){this.root.innerHTML="",this._svgRoot=this._backgroundRoot=this._svgDom=this._backgroundNode=this._viewport=this.storage=null},clear:function(){this._viewport&&this.root.removeChild(this._viewport)},toDataURL:function(){return this.refresh(),"data:image/svg+xml;charset=UTF-8,"+encodeURIComponent(this._svgDom.outerHTML.replace(/>\n\r<"))}},o.each(["getLayer","insertLayer","eachLayer","eachBuiltinLayer","eachOtherLayer","getLayers","modLayer","delLayer","clearLayer","pathToImage"],(function(e){var t;M.prototype[e]=(t=e,function(){a('In SVG mode painter not support method "'+t+'"')})}));var I=M;e.exports=I},"3OrL":function(e,t,n){var i=n("bYtY"),o=n("6Ic6"),a=n("IwbS"),r=n("y+Vt"),s=["itemStyle"],l=["emphasis","itemStyle"],u=o.extend({type:"boxplot",render:function(e,t,n){var i=e.getData(),o=this.group,a=this._data;this._data||o.removeAll();var r="horizontal"===e.get("layout")?1:0;i.diff(a).add((function(e){if(i.hasValue(e)){var t=d(i.getItemLayout(e),i,e,r,!0);i.setItemGraphicEl(e,t),o.add(t)}})).update((function(e,t){var n=a.getItemGraphicEl(t);if(i.hasValue(e)){var s=i.getItemLayout(e);n?h(s,n,i,e):n=d(s,i,e,r),o.add(n),i.setItemGraphicEl(e,n)}else o.remove(n)})).remove((function(e){var t=a.getItemGraphicEl(e);t&&o.remove(t)})).execute(),this._data=i},remove:function(e){var t=this.group,n=this._data;this._data=null,n&&n.eachItemGraphicEl((function(e){e&&t.remove(e)}))},dispose:i.noop}),c=r.extend({type:"boxplotBoxPath",shape:{},buildPath:function(e,t){var n=t.points,i=0;for(e.moveTo(n[i][0],n[i][1]),i++;i<4;i++)e.lineTo(n[i][0],n[i][1]);for(e.closePath();i=0;n--)s.asc(t[n])},getActiveState:function(e){var t=this.activeIntervals;if(!t.length)return"normal";if(null==e||isNaN(e))return"inactive";if(1===t.length){var n=t[0];if(n[0]<=e&&e<=n[1])return"active"}else for(var i=0,o=t.length;i"],o.isArray(e)&&(e=e.slice(),i=!0),a=t?e:i?[c(e[0]),c(e[1])]:c(e),o.isString(u)?u.replace("{value}",i?a[0]:a).replace("{value2}",i?a[1]:a):o.isFunction(u)?i?u(e[0],e[1]):u(e):i?e[0]===l[0]?n[0]+" "+a[1]:e[1]===l[1]?n[1]+" "+a[0]:a[0]+" - "+a[1]:a;function c(e){return e===l[0]?"min":e===l[1]?"max":(+e).toFixed(Math.min(s,20))}},resetExtent:function(){var e=this.option,t=f([e.min,e.max]);this._dataExtent=t},getDataDimension:function(e){var t=this.option.dimension,n=e.dimensions;if(null!=t||n.length){if(null!=t)return e.getDimension(t);for(var i=e.dimensions,o=i.length-1;o>=0;o--){var a=i[o];if(!e.getDimensionInfo(a).isCalculationCoord)return a}}},getExtent:function(){return this._dataExtent.slice()},completeVisualOption:function(){var e=this.ecModel,t=this.option,n={inRange:t.inRange,outOfRange:t.outOfRange},i=t.target||(t.target={}),a=t.controller||(t.controller={});o.merge(i,n),o.merge(a,n);var l=this.isCategory();function u(n){p(t.color)&&!n.inRange&&(n.inRange={color:t.color.slice().reverse()}),n.inRange=n.inRange||{color:e.get("gradientColor")},g(this.stateList,(function(e){var t=n[e];if(o.isString(t)){var i=r.get(t,"active",l);i?(n[e]={},n[e][t]=i):delete n[e]}}),this)}u.call(this,i),u.call(this,a),function(e,t,n){var i=e[t],o=e[n];i&&!o&&(o=e[n]={},g(i,(function(e,t){if(s.isValidType(t)){var n=r.get(t,"inactive",l);null!=n&&(o[t]=n,"color"!==t||o.hasOwnProperty("opacity")||o.hasOwnProperty("colorAlpha")||(o.opacity=[0,0]))}})))}.call(this,i,"inRange","outOfRange"),function(e){var t=(e.inRange||{}).symbol||(e.outOfRange||{}).symbol,n=(e.inRange||{}).symbolSize||(e.outOfRange||{}).symbolSize,i=this.get("inactiveColor");g(this.stateList,(function(a){var r=this.itemSize,s=e[a];s||(s=e[a]={color:l?i:[i]}),null==s.symbol&&(s.symbol=t&&o.clone(t)||(l?"roundRect":["roundRect"])),null==s.symbolSize&&(s.symbolSize=n&&o.clone(n)||(l?r[0]:[r[0],r[0]])),s.symbol=d(s.symbol,(function(e){return"none"===e||"square"===e?"roundRect":e}));var u=s.symbolSize;if(null!=u){var c=-1/0;h(u,(function(e){e>c&&(c=e)})),s.symbolSize=d(u,(function(e){return m(e,[0,c],[0,r[0]],!0)}))}}),this)}.call(this,a)},resetItemSize:function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},isCategory:function(){return!!this.option.categories},setSelected:v,getValueState:v,getVisualMeta:v});e.exports=y},"6usn":function(e,t,n){var i=n("bYtY");function o(e,t){return i.map(["Radius","Angle"],(function(n,i){var o=this["get"+n+"Axis"](),a=t[i],r=e[i]/2,s="dataTo"+n,l="category"===o.type?o.getBandWidth():Math.abs(o[s](a-r)-o[s](a+r));return"Angle"===n&&(l=l*Math.PI/180),l}),this)}e.exports=function(e){var t=e.getRadiusAxis(),n=e.getAngleAxis(),a=t.getExtent();return a[0]>a[1]&&a.reverse(),{coordSys:{type:"polar",cx:e.cx,cy:e.cy,r:a[1],r0:a[0]},api:{coord:i.bind((function(i){var o=t.dataToRadius(i[0]),a=n.dataToAngle(i[1]),r=e.coordToPoint([o,a]);return r.push(o,a*Math.PI/180),r})),size:i.bind(o,e)}}}},"72pK":function(e,t){function n(e,t){var n=e[t]-e[1-t];return{span:Math.abs(n),sign:n>0?-1:n<0?1:t?-1:1}}function i(e,t){return Math.min(null!=t[1]?t[1]:1/0,Math.max(null!=t[0]?t[0]:-1/0,e))}e.exports=function(e,t,o,a,r,s){e=e||0;var l=o[1]-o[0];if(null!=r&&(r=i(r,[0,l])),null!=s&&(s=Math.max(s,null!=r?r:0)),"all"===a){var u=Math.abs(t[1]-t[0]);u=i(u,[0,l]),r=s=i(u,[r,s]),a=0}t[0]=i(t[0],o),t[1]=i(t[1],o);var c=n(t,a);t[a]+=e;var d=r||0,h=o.slice();c.sign<0?h[0]+=d:h[1]-=d,t[a]=i(t[a],h);var p=n(t,a);return null!=r&&(p.sign!==c.sign||p.spans&&(t[1-a]=t[a]+p.sign*s),t}},"75ce":function(e,t,n){var i=n("ProS");n("IXuL"),n("8X+K");var o=n("f5Yq"),a=n("h8O9"),r=n("/d5a");n("Ae16"),i.registerVisual(o("line","circle","line")),i.registerLayout(a("line")),i.registerProcessor(i.PRIORITY.PROCESSOR.STATISTIC,r("line"))},"75ev":function(e,t,n){var i=n("ProS");n("IWNH"),n("bNin"),n("v5uJ");var o=n("f5Yq"),a=n("yik8");i.registerVisual(o("tree","circle")),i.registerLayout(a)},"7AJT":function(e,t,n){var i=n("bYtY"),o=n("hM6l"),a=function(e,t,n,i,a){o.call(this,e,t,n),this.type=i||"value",this.position=a||"bottom"};a.prototype={constructor:a,index:0,getAxesOnZeroOf:null,model:null,isHorizontal:function(){var e=this.position;return"top"===e||"bottom"===e},getGlobalExtent:function(e){var t=this.getExtent();return t[0]=this.toGlobalCoord(t[0]),t[1]=this.toGlobalCoord(t[1]),e&&t[0]>t[1]&&t.reverse(),t},getOtherAxis:function(){this.grid.getOtherAxis()},pointToData:function(e,t){return this.coordToData(this.toLocalCoord(e["x"===this.dim?0:1]),t)},toLocalCoord:null,toGlobalCoord:null},i.inherits(a,o);var r=a;e.exports=r},"7Phj":function(e,t,n){var i=n("bYtY"),o=n("OELB").parsePercent,a=i.each;e.exports=function(e){var t=function(e){var t=[],n=[];return e.eachSeriesByType("boxplot",(function(e){var o=e.getBaseAxis(),a=i.indexOf(n,o);a<0&&(a=n.length,n[a]=o,t[a]={axis:o,seriesModels:[]}),t[a].seriesModels.push(e)})),t}(e);a(t,(function(e){var t=e.seriesModels;t.length&&(!function(e){var t,n,r=e.axis,s=e.seriesModels,l=s.length,u=e.boxWidthList=[],c=e.boxOffsetList=[],d=[];if("category"===r.type)n=r.getBandWidth();else{var h=0;a(s,(function(e){h=Math.max(h,e.getData().count())})),t=r.getExtent(),Math.abs(t[1]-t[0])}a(s,(function(e){var t=e.get("boxWidth");i.isArray(t)||(t=[t,t]),d.push([o(t[0],n)||0,o(t[1],n)||0])}));var p=.8*n-2,g=p/l*.3,f=(p-g*(l-1))/l,m=f/2-p/2;a(s,(function(e,t){c.push(m),m+=g+f,u.push(Math.min(Math.max(f,d[t][0]),d[t][1]))}))}(e),a(t,(function(t,n){!function(e,t,n){var i=e.coordinateSystem,o=e.getData(),a=n/2,r="horizontal"===e.get("layout")?0:1,s=1-r,l=["x","y"],u=o.mapDimension(l[r]),c=o.mapDimension(l[s],!0);if(null==u||c.length<5)return;for(var d=0;d=t&&(e=t-1),e<0&&(e=0)),this.option.currentIndex=e},getCurrentIndex:function(){return this.option.currentIndex},isIndexMax:function(){return this.getCurrentIndex()>=this._data.count()-1},setPlayState:function(e){this.option.autoPlay=!!e},getPlayState:function(){return!!this.option.autoPlay},_initData:function(){var e=this.option,t=e.data||[],n=e.axisType,o=this._names=[];if("category"===n){var s=[];i.each(t,(function(e,t){var n,a=r.getDataItemValue(e);i.isObject(e)?(n=i.clone(e)).value=t:n=t,s.push(n),i.isString(a)||null!=a&&!isNaN(a)||(a=""),o.push(a+"")})),t=s}var l={category:"ordinal",time:"time"}[n]||"number";(this._data=new a([{name:"value",type:l}],this)).initData(t,o)},getData:function(){return this._data},getCategories:function(){if("category"===this.get("axisType"))return this._names.slice()}}),l=s;e.exports=l},"7bkD":function(e,t,n){var i=n("bYtY");t.layout=function(e,t){t=t||{};var n=e.coordinateSystem,o=e.axis,a={},r=o.position,s=o.orient,l=n.getRect(),u=[l.x,l.x+l.width,l.y,l.y+l.height],c={horizontal:{top:u[2],bottom:u[3]},vertical:{left:u[0],right:u[1]}};a.position=["vertical"===s?c.vertical[r]:u[0],"horizontal"===s?c.horizontal[r]:u[3]],a.rotation=Math.PI/2*{horizontal:0,vertical:1}[s],a.labelDirection=a.tickDirection=a.nameDirection={top:-1,bottom:1,right:1,left:-1}[r],e.get("axisTick.inside")&&(a.tickDirection=-a.tickDirection),i.retrieve(t.labelInside,e.get("axisLabel.inside"))&&(a.labelDirection=-a.labelDirection);var d=t.rotate;return null==d&&(d=e.get("axisLabel.rotate")),a.labelRotation="top"===r?-d:d,a.z2=1,a}},"7mYs":function(e,t,n){var i=n("ProS"),o=n("bYtY"),a=n("IwbS"),r=n("7aKB"),s=n("OELB"),l={EN:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],CN:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]},u={EN:["S","M","T","W","T","F","S"],CN:["日","一","二","三","四","五","六"]},c=i.extendComponentView({type:"calendar",_tlpoints:null,_blpoints:null,_firstDayOfMonth:null,_firstDayPoints:null,render:function(e,t,n){var i=this.group;i.removeAll();var o=e.coordinateSystem,a=o.getRangeInfo(),r=o.getOrient();this._renderDayRect(e,a,i),this._renderLines(e,a,r,i),this._renderYearText(e,a,r,i),this._renderMonthText(e,r,i),this._renderWeekText(e,a,r,i)},_renderDayRect:function(e,t,n){for(var i=e.coordinateSystem,o=e.getModel("itemStyle").getItemStyle(),r=i.getCellWidth(),s=i.getCellHeight(),l=t.start.time;l<=t.end.time;l=i.getNextNDay(l,1).time){var u=i.dataToRect([l],!1).tl,c=new a.Rect({shape:{x:u[0],y:u[1],width:r,height:s},cursor:"default",style:o});n.add(c)}},_renderLines:function(e,t,n,i){var o=this,a=e.coordinateSystem,r=e.getModel("splitLine.lineStyle").getLineStyle(),s=e.get("splitLine.show"),l=r.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var u=t.start,c=0;u.time<=t.end.time;c++){h(u.formatedDate),0===c&&(u=a.getDateInfo(t.start.y+"-"+t.start.m));var d=u.date;d.setMonth(d.getMonth()+1),u=a.getDateInfo(d)}function h(t){o._firstDayOfMonth.push(a.getDateInfo(t)),o._firstDayPoints.push(a.dataToRect([t],!1).tl);var l=o._getLinePointsOfOneWeek(e,t,n);o._tlpoints.push(l[0]),o._blpoints.push(l[l.length-1]),s&&o._drawSplitline(l,r,i)}h(a.getNextNDay(t.end.time,1).formatedDate),s&&this._drawSplitline(o._getEdgesPoints(o._tlpoints,l,n),r,i),s&&this._drawSplitline(o._getEdgesPoints(o._blpoints,l,n),r,i)},_getEdgesPoints:function(e,t,n){var i=[e[0].slice(),e[e.length-1].slice()],o="horizontal"===n?0:1;return i[0][o]=i[0][o]-t/2,i[1][o]=i[1][o]+t/2,i},_drawSplitline:function(e,t,n){var i=new a.Polyline({z2:20,shape:{points:e},style:t});n.add(i)},_getLinePointsOfOneWeek:function(e,t,n){var i=e.coordinateSystem;t=i.getDateInfo(t);for(var o=[],a=0;a<7;a++){var r=i.getNextNDay(t.time,a),s=i.dataToRect([r.time],!1);o[2*r.day]=s.tl,o[2*r.day+1]=s["horizontal"===n?"bl":"tr"]}return o},_formatterLabel:function(e,t){return"string"==typeof e&&e?r.formatTplSimple(e,t):"function"==typeof e?e(t):t.nameMap},_yearTextPositionControl:function(e,t,n,i,o){t=t.slice();var a=["center","bottom"];"bottom"===i?(t[1]+=o,a=["center","top"]):"left"===i?t[0]-=o:"right"===i?(t[0]+=o,a=["center","top"]):t[1]-=o;var r=0;return"left"!==i&&"right"!==i||(r=Math.PI/2),{rotation:r,position:t,style:{textAlign:a[0],textVerticalAlign:a[1]}}},_renderYearText:function(e,t,n,i){var o=e.getModel("yearLabel");if(o.get("show")){var r=o.get("margin"),s=o.get("position");s||(s="horizontal"!==n?"top":"left");var l=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],u=(l[0][0]+l[1][0])/2,c=(l[0][1]+l[1][1])/2,d="horizontal"===n?0:1,h={top:[u,l[d][1]],bottom:[u,l[1-d][1]],left:[l[1-d][0],c],right:[l[d][0],c]},p=t.start.y;+t.end.y>+t.start.y&&(p=p+"-"+t.end.y);var g=o.get("formatter"),f={start:t.start.y,end:t.end.y,nameMap:p},m=this._formatterLabel(g,f),v=new a.Text({z2:30});a.setTextStyle(v.style,o,{text:m}),v.attr(this._yearTextPositionControl(v,h[s],n,s,r)),i.add(v)}},_monthTextPositionControl:function(e,t,n,i,o){var a="left",r="top",s=e[0],l=e[1];return"horizontal"===n?(l+=o,t&&(a="center"),"start"===i&&(r="bottom")):(s+=o,t&&(r="middle"),"start"===i&&(a="right")),{x:s,y:l,textAlign:a,textVerticalAlign:r}},_renderMonthText:function(e,t,n){var i=e.getModel("monthLabel");if(i.get("show")){var r=i.get("nameMap"),s=i.get("margin"),u=i.get("position"),c=i.get("align"),d=[this._tlpoints,this._blpoints];o.isString(r)&&(r=l[r.toUpperCase()]||[]);var h="start"===u?0:1,p="horizontal"===t?0:1;s="start"===u?-s:s;for(var g="center"===c,f=0;f1?(f.width=c,f.height=c/p):(f.height=c,f.width=c*p),f.y=u[1]-f.height/2,f.x=u[0]-f.width/2}else(a=e.getBoxLayoutParams()).aspect=p,f=r.getLayoutRect(a,{width:d,height:h});this.setViewRect(f.x,f.y,f.width,f.height),this.setCenter(e.get("center")),this.setZoom(e.get("zoom"))}function d(e,t){o.each(t.get("geoCoord"),(function(t,n){e.addGeoCoord(n,t)}))}var h={dimensions:a.prototype.dimensions,create:function(e,t){var n=[];e.eachComponent("geo",(function(e,i){var o=e.get("map"),r=e.get("aspectScale"),s=!0,l=u.retrieveMap(o);l&&l[0]&&"svg"===l[0].type?(null==r&&(r=1),s=!1):null==r&&(r=.75);var h=new a(o+i,o,e.get("nameMap"),s);h.aspectScale=r,h.zoomLimit=e.get("scaleLimit"),n.push(h),d(h,e),e.coordinateSystem=h,h.model=e,h.resize=c,h.resize(e,t)})),e.eachSeries((function(e){if("geo"===e.get("coordinateSystem")){var t=e.get("geoIndex")||0;e.coordinateSystem=n[t]}}));var i={};return e.eachSeriesByType("map",(function(e){if(!e.getHostGeoModel()){var t=e.getMapType();i[t]=i[t]||[],i[t].push(e)}})),o.each(i,(function(e,i){var r=o.map(e,(function(e){return e.get("nameMap")})),s=new a(i,i,o.mergeAll(r));s.zoomLimit=o.retrieve.apply(null,o.map(e,(function(e){return e.get("scaleLimit")}))),n.push(s),s.resize=c,s.aspectScale=e[0].get("aspectScale"),s.resize(e[0],t),o.each(e,(function(e){e.coordinateSystem=s,d(s,e)}))})),n},getFilledRegions:function(e,t,n){for(var i=(e||[]).slice(),a=o.createHashMap(),r=0;ri)return!1;return!0}(s,t))){var l=t.mapDimension(s.dim),u={};return i.each(s.getViewLabels(),(function(e){u[e.tickValue]=1})),function(e){return!u.hasOwnProperty(t.get(l,e))}}}}function I(e,t,n){if("cartesian2d"===e.type){var i=e.getBaseAxis().isHorizontal(),o=y(e,t,n);if(!n.get("clip",!0)){var a=o.shape,r=Math.max(a.width,a.height);i?(a.y-=r,a.height+=2*r):(a.x-=r,a.width+=2*r)}return o}return x(e,t,n)}var A=p.extend({type:"line",init:function(){var e=new l.Group,t=new a;this.group.add(t.group),this._symbolDraw=t,this._lineGroup=e},render:function(e,t,n){var o=e.coordinateSystem,a=this.group,r=e.getData(),s=e.getModel("lineStyle"),u=e.getModel("areaStyle"),c=r.mapArray(r.getItemLayout),d="polar"===o.type,h=this._coordSys,p=this._symbolDraw,g=this._polyline,v=this._polygon,y=this._lineGroup,x=e.get("animation"),b=!u.isEmpty(),A=u.get("origin"),T=function(e,t,n){if(!n.valueDim)return[];for(var i=[],o=0,a=t.count();o=0;r--){var s=n[r].dimension,u=e.dimensions[s],c=e.getDimensionInfo(u);if("x"===(o=c&&c.coordDim)||"y"===o){a=n[r];break}}if(a){var d=t.getAxis(o),h=i.map(a.stops,(function(e){return{coord:d.toGlobalCoord(d.dataToCoord(e.value)),color:e.color}})),p=h.length,g=a.outerColors.slice();p&&h[0].coord>h[p-1].coord&&(h.reverse(),g.reverse());var f=h[0].coord-10,m=h[p-1].coord+10,v=m-f;if(v<.001)return"transparent";i.each(h,(function(e){e.offset=(e.coord-f)/v})),h.push({offset:p?h[p-1].offset:.5,color:g[1]||"transparent"}),h.unshift({offset:p?h[0].offset:.5,color:g[0]||"transparent"});var y=new l.LinearGradient(0,0,0,0,h,!0);return y[o]=f,y[o+"2"]=m,y}}}(r,o)||r.getVisual("color");g.useStyle(i.defaults(s.getLineStyle(),{fill:"none",stroke:N,lineJoin:"bevel"}));var E=e.get("smooth");if(E=S(e.get("smooth")),g.setShape({smooth:E,smoothMonotone:e.get("smoothMonotone"),connectNulls:e.get("connectNulls")}),v){var O=r.getCalculationInfo("stackedOnSeries"),R=0;v.useStyle(i.defaults(u.getAreaStyle(),{fill:N,opacity:.7,lineJoin:"bevel"})),O&&(R=S(O.get("smooth"))),v.setShape({smooth:E,stackedOnSmooth:R,smoothMonotone:e.get("smoothMonotone"),connectNulls:e.get("connectNulls")})}this._data=r,this._coordSys=o,this._stackedOnPoints=T,this._points=c,this._step=k,this._valueOrigin=A},dispose:function(){},highlight:function(e,t,n,i){var o=e.getData(),a=u.queryDataIndex(o,i);if(!(a instanceof Array)&&null!=a&&a>=0){var s=o.getItemGraphicEl(a);if(!s){var l=o.getItemLayout(a);if(!l)return;if(this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(l[0],l[1]))return;(s=new r(o,a)).position=l,s.setZ(e.get("zlevel"),e.get("z")),s.ignore=isNaN(l[0])||isNaN(l[1]),s.__temp=!0,o.setItemGraphicEl(a,s),s.stopSymbolAnimation(!0),this.group.add(s)}s.highlight()}else p.prototype.highlight.call(this,e,t,n,i)},downplay:function(e,t,n,i){var o=e.getData(),a=u.queryDataIndex(o,i);if(null!=a&&a>=0){var r=o.getItemGraphicEl(a);r&&(r.__temp?(o.setItemGraphicEl(a,null),this.group.remove(r)):r.downplay())}else p.prototype.downplay.call(this,e,t,n,i)},_newPolyline:function(e){var t=this._polyline;return t&&this._lineGroup.remove(t),t=new d({shape:{points:e},silent:!0,z2:10}),this._lineGroup.add(t),this._polyline=t,t},_newPolygon:function(e,t){var n=this._polygon;return n&&this._lineGroup.remove(n),n=new h({shape:{points:e,stackedOnPoints:t},silent:!0}),this._lineGroup.add(n),this._polygon=n,n},_updateAnimation:function(e,t,n,i,o,a){var r=this._polyline,u=this._polygon,c=e.hostModel,d=s(this._data,e,this._stackedOnPoints,t,this._coordSys,n,this._valueOrigin,a),h=d.current,p=d.stackedOnCurrent,g=d.next,f=d.stackedOnNext;if(o&&(h=w(d.current,n,o),p=w(d.stackedOnCurrent,n,o),g=w(d.next,n,o),f=w(d.stackedOnNext,n,o)),b(h,g)>3e3||u&&b(p,f)>3e3)return r.setShape({points:g}),void(u&&u.setShape({points:g,stackedOnPoints:f}));r.shape.__points=d.current,r.shape.points=h,l.updateProps(r,{shape:{points:g}},c),u&&(u.setShape({points:h,stackedOnPoints:p}),l.updateProps(u,{shape:{points:g,stackedOnPoints:f}},c));for(var m=[],v=d.status,y=0;y0?i.push([n[0].date,n[0].contributions]):i.push([t,0])},a=t;a<=n;a+=864e5)o();return i}function x(e){var t=new Date(e);return t.getFullYear()+"-"+((t.getMonth()+1<10?"0"+(t.getMonth()+1):t.getMonth()+1)+"-")+(t.getDate()<10?"0"+t.getDate():t.getDate())}return(0,o.useEffect)((function(){if(n){var e=void 0,t="";if(parseInt(n,0)===parseInt((0,s.default)().get("year"),0)){var i=(0,s.default)().get("year"),o=(0,s.default)().get("month"),a=(0,s.default)().get("date");e=i+"-"+(o+1)+"-"+a,t=i-1+"-"+(o+1)+"-"+a}else e=n+"-12-31",t=n+"-01-01";p(e),v(t)}}),[n]),(0,o.useEffect)((function(){var e;m&&h&&(e="/users/"+t+"/headmaps.json",l.default.get(e).then((function(e){if(e&&e.data){var t=[],n=!0;e.data.headmaps&&e.data.headmaps.length>0?(t=e.data.headmaps,n=!0):(t=[{contributions:"",date:x(+r.number.parseDate(m))}],n=!1),t.sort((i="contributions",function(e,t){return e[i]-t[i]})),function(e,t,n){var i=document.getElementById("Calendar"),o=r.init(i),a={title:{show:!1},tooltip:{formatter:function(e){return e.data[0]+": "+e.data[1]+"个贡献"}},visualMap:{min:0,max:t,type:"piecewise",orient:"horizontal",left:"center",bottom:40,inRange:{color:n?["#fafafa","#216e39"]:["#fff","#fff"]},show:n},calendar:{top:50,left:40,right:30,cellSize:["auto",13],range:[m,h],splitLine:{show:!1,lineStyle:{color:"#fff",width:1,type:"solid"}},itemStyle:{borderWidth:.5},yearLabel:{show:!1},monthLabel:{nameMap:"cn"},dayLabel:{nameMap:"cn",firstDay:1}},series:{type:"heatmap",coordinateSystem:"calendar",data:y(e)}};o.setOption(a),o.on("click",(function(e){u(e.data)}))}(t,t[t.length-1].contributions,n)}var i})).catch((function(e){})))}),[m,h]),a.default.createElement("div",{id:"Calendar",style:{height:"210px"}})}},"8nMs":function(e,t,n){var i=n("bYtY"),o=n("IwbS"),a=n("+rIm"),r=n("Znkb"),s=n("AVZG"),l=n("WN+l"),u=l.rectCoordAxisBuildSplitArea,c=l.rectCoordAxisHandleRemove,d=["axisLine","axisTickLabel","axisName"],h=["splitArea","splitLine","minorSplitLine"],p=r.extend({type:"cartesianAxis",axisPointerClass:"CartesianAxisPointer",render:function(e,t,n,r){this.group.removeAll();var l=this._axisGroup;if(this._axisGroup=new o.Group,this.group.add(this._axisGroup),e.get("show")){var u=e.getCoordSysModel(),c=s.layout(u,e),g=new a(e,c);i.each(d,g.add,g),this._axisGroup.add(g.getGroup()),i.each(h,(function(t){e.get(t+".show")&&this["_"+t](e,u)}),this),o.groupTransition(l,this._axisGroup,e),p.superCall(this,"render",e,t,n,r)}},remove:function(){c(this)},_splitLine:function(e,t){var n=e.axis;if(!n.scale.isBlank()){var a=e.getModel("splitLine"),r=a.getModel("lineStyle"),s=r.get("color");s=i.isArray(s)?s:[s];for(var l=t.coordinateSystem.getRect(),u=n.isHorizontal(),c=0,d=n.getTicksCoords({tickModel:a}),h=[],p=[],g=r.getLineStyle(),f=0;f5)return;var i=this._model.coordinateSystem.getSlidedAxisExpandWindow([e.offsetX,e.offsetY]);"none"!==i.behavior&&this._dispatchExpand({axisExpandWindow:i.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(e){if(!this._mouseDownPoint&&l(this,"mousemove")){var t=this._model,n=t.coordinateSystem.getSlidedAxisExpandWindow([e.offsetX,e.offsetY]),i=n.behavior;"jump"===i&&this._throttledDispatchExpand.debounceNextCall(t.get("axisExpandDebounce")),this._throttledDispatchExpand("none"===i?null:{axisExpandWindow:n.axisExpandWindow,animation:"jump"===i&&null})}}};function l(e,t){var n=e._model;return n.get("axisExpandable")&&n.get("axisExpandTriggerOn")===t}i.registerPreprocessor(r)},"8x+h":function(e,t,n){n("Tghj").__DEV__;var i=n("ProS"),o=n("bYtY"),a=n("K4ya"),r=n("Qxkt"),s=["#ddd"];function l(e,t){return o.merge({brushType:e.brushType,brushMode:e.brushMode,transformable:e.transformable,brushStyle:new r(e.brushStyle).getItemStyle(),removeOnClick:e.removeOnClick,z:e.z},t,!0)}var u=i.extendComponentModel({type:"brush",dependencies:["geo","grid","xAxis","yAxis","parallel","series"],defaultOption:{toolbox:null,brushLink:null,seriesIndex:"all",geoIndex:null,xAxisIndex:null,yAxisIndex:null,brushType:"rect",brushMode:"single",transformable:!0,brushStyle:{borderWidth:1,color:"rgba(120,140,180,0.3)",borderColor:"rgba(120,140,180,0.8)"},throttleType:"fixRate",throttleDelay:0,removeOnClick:!0,z:1e4},areas:[],brushType:null,brushOption:{},coordInfoList:[],optionUpdated:function(e,t){var n=this.option;!t&&a.replaceVisualOption(n,e,["inBrush","outOfBrush"]);var i=n.inBrush=n.inBrush||{};n.outOfBrush=n.outOfBrush||{color:s},i.hasOwnProperty("liftZ")||(i.liftZ=5)},setAreas:function(e){e&&(this.areas=o.map(e,(function(e){return l(this.option,e)}),this))},setBrushOption:function(e){this.brushOption=l(this.option,e),this.brushType=this.brushOption.brushType}});e.exports=u},"9KIM":function(e,t,n){var i=n("mFDi"),o=n("xSat").onIrrelevantElement,a=n("IwbS");function r(e){return i.create(e)}t.makeRectPanelClipPath=function(e){return e=r(e),function(t,n){return a.clipPointsByRect(t,e)}},t.makeLinearBrushOtherExtent=function(e,t){return e=r(e),function(n){var i=null!=t?t:n,o=i?e.width:e.height,a=i?e.x:e.y;return[a,a+(o||0)]}},t.makeRectIsTargetByCursor=function(e,t,n){return e=r(e),function(i,a,r){return e.contain(a[0],a[1])&&!o(i,t,n)}}},"9eas":function(e,t,n){n("HM/N"),n("tBnm")},"9hCq":function(e,t,n){var i=n("IwbS"),o=n("+TT/"),a=n("bYtY"),r=n("VaxA").wrapTreePathInfo;function s(e){this.group=new i.Group,e.add(this.group)}function l(e,t,n,i,o,a){var r=[[o?e:e-5,t],[e+n,t],[e+n,t+i],[o?e:e-5,t+i]];return!a&&r.splice(2,0,[e+n+5,t+i/2]),!o&&r.push([e,t+i/2]),r}function u(e,t,n){e.eventData={componentType:"series",componentSubType:"treemap",componentIndex:t.componentIndex,seriesIndex:t.componentIndex,seriesName:t.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:n&&n.dataIndex,name:n&&n.name},treePathInfo:n&&r(n,t)}}s.prototype={constructor:s,render:function(e,t,n,i){var a=e.getModel("breadcrumb"),r=this.group;if(r.removeAll(),a.get("show")&&n){var s=a.getModel("itemStyle"),l=s.getModel("textStyle"),u={pos:{left:a.get("left"),right:a.get("right"),top:a.get("top"),bottom:a.get("bottom")},box:{width:t.getWidth(),height:t.getHeight()},emptyItemWidth:a.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(n,u,l),this._renderContent(e,u,s,l,i),o.positionElement(r,u.pos,u.box)}},_prepare:function(e,t,n){for(var i=e;i;i=i.parentNode){var o=i.getModel().get("name"),a=n.getTextRect(o),r=Math.max(a.width+16,t.emptyItemWidth);t.totalWidth+=r+8,t.renderList.push({node:i,text:o,width:r})}},_renderContent:function(e,t,n,r,s){for(var c=0,d=t.emptyItemWidth,h=e.get("breadcrumb.height"),p=o.getAvailableSize(t.pos,t.box),g=t.totalWidth,f=t.renderList,m=f.length-1;m>=0;m--){var v=f[m],y=v.node,x=v.width,_=v.text;g>p.width&&(g-=x-d,x=d,_=null);var b=new i.Polygon({shape:{points:l(c,0,x,h,m===f.length-1,0===m)},style:a.defaults(n.getItemStyle(),{lineJoin:"bevel",text:_,textFill:r.getTextColor(),textFont:r.getFont()}),z:10,onclick:a.curry(s,y)});this.group.add(b),u(b,e,y),c+=x+8}},remove:function(){this.group.removeAll()}};var c=s;e.exports=c},"9u0u":function(e,t,n){var i=n("bYtY");e.exports=function(e){var t={};e.eachSeriesByType("map",(function(e){var n=e.getHostGeoModel(),i=n?"o"+n.id:"i"+e.getMapType();(t[i]=t[i]||[]).push(e)})),i.each(t,(function(e,t){for(var n,o,a,r=(n=i.map(e,(function(e){return e.getData()})),o=e[0].get("mapValueCalculation"),a={},i.each(n,(function(e){e.each(e.mapDimension("value"),(function(t,n){var i="ec-"+e.getName(n);a[i]=a[i]||[],isNaN(t)||a[i].push(t)}))})),n[0].map(n[0].mapDimension("value"),(function(e,t){for(var i,r="ec-"+n[0].getName(t),s=0,l=1/0,u=-1/0,c=a[r].length,d=0;dt&&(t=i.height)}this.height=t+1},getNodeById:function(e){if(this.getId()===e)return this;for(var t=0,n=this.children,i=n.length;t=0&&this.hostTree.data.setItemLayout(this.dataIndex,e,t)},getLayout:function(){return this.hostTree.data.getItemLayout(this.dataIndex)},getModel:function(e){if(!(this.dataIndex<0))return this.hostTree.data.getItemModel(this.dataIndex).getModel(e)},setVisual:function(e,t){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,e,t)},getVisual:function(e,t){return this.hostTree.data.getItemVisual(this.dataIndex,e,t)},getRawIndex:function(){return this.hostTree.data.getRawIndex(this.dataIndex)},getId:function(){return this.hostTree.data.getId(this.dataIndex)},isAncestorOf:function(e){for(var t=e.parentNode;t;){if(t===this)return!0;t=t.parentNode}return!1},isDescendantOf:function(e){return e!==this&&e.isAncestorOf(this)}},l.prototype={constructor:l,type:"tree",eachNode:function(e,t,n){this.root.eachNode(e,t,n)},getNodeByDataIndex:function(e){var t=this.data.getRawIndex(e);return this._nodes[t]},getNodeByName:function(e){return this.root.getNodeByName(e)},update:function(){for(var e=this.data,t=this._nodes,n=0,i=t.length;n0?"pieces":this.option.categories?"categories":"splitNumber"},setSelected:function(e){this.option.selected=i.clone(e)},getValueState:function(e){var t=a.findPieceIndex(e,this._pieceList);return null!=t&&this.option.selected[this.getSelectedMapKey(this._pieceList[t])]?"inRange":"outOfRange"},findTargetDataIndices:function(e){var t=[];return this.eachTargetSeries((function(n){var i=[],o=n.getData();o.each(this.getDataDimension(o),(function(t,n){a.findPieceIndex(t,this._pieceList)===e&&i.push(n)}),this),t.push({seriesId:n.id,dataIndex:i})}),this),t},getRepresentValue:function(e){var t;if(this.isCategory())t=e.value;else if(null!=e.value)t=e.value;else{var n=e.interval||[];t=n[0]===-1/0&&n[1]===1/0?0:(n[0]+n[1])/2}return t},getVisualMeta:function(e){if(!this.isCategory()){var t=[],n=[],o=this,a=this._pieceList.slice();if(a.length){var r=a[0].interval[0];r!==-1/0&&a.unshift({interval:[-1/0,r]}),(r=a[a.length-1].interval[1])!==1/0&&a.push({interval:[r,1/0]})}else a.push({interval:[-1/0,1/0]});var s=-1/0;return i.each(a,(function(e){var t=e.interval;t&&(t[0]>s&&l([s,t[0]],"outOfRange"),l(t.slice()),s=t[1])}),this),{stops:t,outerColors:n}}function l(i,a){var r=o.getRepresentValue({interval:i});a||(a=o.getValueState(r));var s=e(r,a);i[0]===-1/0?n[0]=s:i[1]===1/0?n[1]=s:t.push({value:i[0],color:s},{value:i[1],color:s})}}}),u={splitNumber:function(){var e=this.option,t=this._pieceList,n=Math.min(e.precision,20),o=this.getExtent(),a=e.splitNumber;a=Math.max(parseInt(a,10),1),e.splitNumber=a;for(var r=(o[1]-o[0])/a;+r.toFixed(n)!==r&&n<5;)n++;e.precision=n,r=+r.toFixed(n),e.minOpen&&t.push({interval:[-1/0,o[0]],close:[0,0]});for(var l=0,u=o[0];l","≥"][t[0]]];e.text=e.text||this.formatValueText(null!=e.value?e.value:e.interval,!1,n)}),this)}};function c(e,t){var n=e.inverse;("vertical"===e.orient?!n:n)&&t.reverse()}var d=l;e.exports=d},C0tN:function(e,t,n){n("0o9m"),n("8Uz6"),n("Ducp"),n("6/nd")},CBdT:function(e,t,n){var i=n("ProS");n("8waO"),n("AEZ6"),n("YNf1");var o=n("q3GZ");i.registerVisual(o)},CF2D:function(e,t,n){var i=n("ProS");n("vZI5"),n("GeKi");var o=n("6r85"),a=n("TJmX"),r=n("CbHG");i.registerPreprocessor(o),i.registerVisual(a),i.registerLayout(r)},"CMP+":function(e,t,n){var i=n("bYtY"),o=n("hM6l"),a=function(e,t,n,i){o.call(this,e,t,n),this.type=i||"value",this.model=null};a.prototype={constructor:a,getLabelModel:function(){return this.model.getModel("label")},isHorizontal:function(){return"horizontal"===this.model.get("orient")}},i.inherits(a,o);var r=a;e.exports=r},CPca:function(e,t,n){},CbHG:function(e,t,n){var i=n("IwbS").subPixelOptimize,o=n("zM3Q"),a=n("OELB").parsePercent,r=n("bYtY").retrieve2,s="undefined"!=typeof Float32Array?Float32Array:Array,l={seriesType:"candlestick",plan:o(),reset:function(e){var t=e.coordinateSystem,n=e.getData(),o=function(e,t){var n,i=e.getBaseAxis(),o="category"===i.type?i.getBandWidth():(n=i.getExtent(),Math.abs(n[1]-n[0])/t.count()),s=a(r(e.get("barMaxWidth"),o),o),l=a(r(e.get("barMinWidth"),1),o),u=e.get("barWidth");return null!=u?a(u,o):Math.max(Math.min(o/2,s),l)}(e,n),l=["x","y"],c=n.mapDimension(l[0]),d=n.mapDimension(l[1],!0),h=d[0],p=d[1],g=d[2],f=d[3];if(n.setLayout({candleWidth:o,isSimpleBox:o<=1.3}),!(null==c||d.length<4))return{progress:e.pipelineContext.large?function(e,n){var i,o,a=new s(4*e.count),r=0,l=[],d=[];for(;null!=(o=e.next());){var m=n.get(c,o),v=n.get(h,o),y=n.get(p,o),x=n.get(g,o),_=n.get(f,o);isNaN(m)||isNaN(x)||isNaN(_)?(a[r++]=NaN,r+=3):(a[r++]=u(n,o,v,y,p),l[0]=m,l[1]=x,i=t.dataToPoint(l,null,d),a[r++]=i?i[0]:NaN,a[r++]=i?i[1]:NaN,l[1]=_,i=t.dataToPoint(l,null,d),a[r++]=i?i[1]:NaN)}n.setLayout("largePoints",a)}:function(e,n){var a;for(;null!=(a=e.next());){var r=n.get(c,a),s=n.get(h,a),l=n.get(p,a),d=n.get(g,a),m=n.get(f,a),v=Math.min(s,l),y=Math.max(s,l),x=M(v,r),_=M(y,r),b=M(d,r),S=M(m,r),w=[];I(w,_,0),I(w,x,1),w.push(T(S),T(_),T(b),T(x)),n.setItemLayout(a,{sign:u(n,a,s,l,p),initBaseline:s>l?_[1]:x[1],ends:w,brushRect:A(d,m,r)})}function M(e,n){var i=[];return i[0]=n,i[1]=e,isNaN(n)||isNaN(e)?[NaN,NaN]:t.dataToPoint(i)}function I(e,t,n){var a=t.slice(),r=t.slice();a[0]=i(a[0]+o/2,1,!1),r[0]=i(r[0]-o/2,1,!0),n?e.push(a,r):e.push(r,a)}function A(e,t,n){var i=M(e,n),a=M(t,n);return i[0]-=o/2,a[0]-=o/2,{x:i[0],y:i[1],width:o,height:a[1]-i[1]}}function T(e){return e[0]=i(e[0],1),e}}}}};function u(e,t,n,i,o){return n>i?-1:n0?e.get(o,t-1)<=i?1:-1:1}e.exports=l},Cm0C:function(e,t,n){n("5NHt"),n("f3JH")},D1WM:function(e,t,n){var i=n("bYtY"),o=n("hM6l"),a=function(e,t,n,i,a){o.call(this,e,t,n),this.type=i||"value",this.axisIndex=a};a.prototype={constructor:a,model:null,isHorizontal:function(){return"horizontal"!==this.coordinateSystem.getModel().get("layout")}},i.inherits(a,o);var r=a;e.exports=r},D5tj:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=a(n("mr32"));t.TagInfo=function(e,t){var n="#e74c3c";n="高"===e?"#e67e22":"正常"===e?"#28be6c":"低"===e?"#1abc9c":"#e74c3c";return o.default.createElement(i.default,{color:n,className:t,style:{height:"25px",lineHeight:"23px"}},e)},n("0lcf");var o=a(n("q1tI"));function a(e){return e&&e.__esModule?e:{default:e}}},D9ME:function(e,t,n){var i=n("IwbS"),o=n("fls0"),a=n("bYtY"),r=n("oVpE").createSymbol,s=n("QBsz"),l=n("Sj9i");function u(e,t,n){i.Group.call(this),this.add(this.createLine(e,t,n)),this._updateEffectSymbol(e,t)}var c=u.prototype;c.createLine=function(e,t,n){return new o(e,t,n)},c._updateEffectSymbol=function(e,t){var n=e.getItemModel(t).getModel("effect"),i=n.get("symbolSize"),o=n.get("symbol");a.isArray(i)||(i=[i,i]);var s=n.get("color")||e.getItemVisual(t,"color"),l=this.childAt(1);this._symbolType!==o&&(this.remove(l),(l=r(o,-.5,-.5,1,1,s)).z2=100,l.culling=!0,this.add(l)),l&&(l.setStyle("shadowColor",s),l.setStyle(n.getItemStyle(["color"])),l.attr("scale",i),l.setColor(s),l.attr("scale",i),this._symbolType=o,this._symbolScale=i,this._updateEffectAnimation(e,n,t))},c._updateEffectAnimation=function(e,t,n){var i=this.childAt(1);if(i){var o=this,r=e.getItemLayout(n),s=1e3*t.get("period"),l=t.get("loop"),u=t.get("constantSpeed"),c=a.retrieve(t.get("delay"),(function(t){return t/e.count()*s/3})),d="function"==typeof c;if(i.ignore=!0,this.updateAnimationPoints(i,r),u>0&&(s=this.getLineLength(i)/u*1e3),s!==this._period||l!==this._loop){i.stopAnimation();var h=c;d&&(h=c(n)),i.__t>0&&(h=-s*i.__t),i.__t=0;var p=i.animate("",l).when(s,{__t:1}).delay(h).during((function(){o.updateSymbolPosition(i)}));l||p.done((function(){o.remove(i)})),p.start()}this._period=s,this._loop=l}},c.getLineLength=function(e){return s.dist(e.__p1,e.__cp1)+s.dist(e.__cp1,e.__p2)},c.updateAnimationPoints=function(e,t){e.__p1=t[0],e.__p2=t[1],e.__cp1=t[2]||[(t[0][0]+t[1][0])/2,(t[0][1]+t[1][1])/2]},c.updateData=function(e,t,n){this.childAt(0).updateData(e,t,n),this._updateEffectSymbol(e,t)},c.updateSymbolPosition=function(e){var t=e.__p1,n=e.__p2,i=e.__cp1,o=e.__t,a=e.position,r=[a[0],a[1]],u=l.quadraticAt,c=l.quadraticDerivativeAt;a[0]=u(t[0],i[0],n[0],o),a[1]=u(t[1],i[1],n[1],o);var d=c(t[0],i[0],n[0],o),h=c(t[1],i[1],n[1],o);if(e.rotation=-Math.atan2(h,d)-Math.PI/2,"line"===this._symbolType||"rect"===this._symbolType||"roundRect"===this._symbolType)if(void 0!==e.__lastT&&e.__lastT=a&&c+1>=r){for(var d=[],h=0;h=a&&h+1>=r)return i(o,l.components,t,e);u[n]=l}else u[n]=void 0}var f;s++}for(;s<=l;){var g=p();if(g)return g}},pushComponent:function(e,t,n){var i=e[e.length-1];i&&i.added===t&&i.removed===n?e[e.length-1]={count:i.count+1,added:t,removed:n}:e.push({count:1,added:t,removed:n})},extractCommon:function(e,t,n,i){for(var o=t.length,a=n.length,r=e.newPos,s=r-i,l=0;r+1a&&(a=t);var s=a%2?a+2:a+3;r=[];for(var l=0;l=0)&&(N=e);var O=new s.Text({position:D(t.center.slice()),scale:[1/f.scale[0],1/f.scale[1]],z2:10,silent:!0});if(s.setLabelStyle(O.style,O.hoverStyle={},y,x,{labelFetcher:N,labelDataIndex:E,defaultText:t.name,useInsideStyle:!1},{textAlign:"center",textVerticalAlign:"middle"}),!v){var R=[1/p[0],1/p[1]];s.updateProps(O,{scale:R},e)}n.add(O)}if(l)l.setItemGraphicEl(a,n);else{var V=e.getRegionModel(t.name);o.eventData={componentType:"geo",componentIndex:e.componentIndex,geoIndex:e.componentIndex,name:t.name,region:V&&V.option||{}}}(n.__regions||(n.__regions=[])).push(t),n.highDownSilentOnTouch=!!e.get("selectedMode"),s.setHoverStyle(n,m),g.add(n)})),this._updateController(e,t,n),function(e,t,n,o,a){n.off("click"),n.off("mousedown"),t.get("selectedMode")&&(n.on("mousedown",(function(){e._mouseDownFlag=!0})),n.on("click",(function(r){if(e._mouseDownFlag){e._mouseDownFlag=!1;for(var s=r.target;!s.__regions;)s=s.parent;if(s){var l={type:("geo"===t.mainType?"geo":"map")+"ToggleSelect",batch:i.map(s.__regions,(function(e){return{name:e.name,from:a.uid}}))};l[t.mainType+"Id"]=t.id,o.dispatchAction(l),h(t,n)}}})))}(this,e,g,n,o),h(e,g)},remove:function(){this._regionsGroup.removeAll(),this._backgroundGroup.removeAll(),this._controller.dispose(),this._mapName&&l.removeGraphic(this._mapName,this.uid),this._mapName=null,this._controllerHost={}},_updateBackground:function(e){var t=e.map;this._mapName!==t&&i.each(l.makeGraphic(t,this.uid),(function(e){this._backgroundGroup.add(e)}),this),this._mapName=t},_updateController:function(e,t,n){var o=e.coordinateSystem,s=this._controller,l=this._controllerHost;l.zoomLimit=e.get("scaleLimit"),l.zoom=o.getZoom(),s.enable(e.get("roam")||!1);var u=e.mainType;function c(){var t={type:"geoRoam",componentType:u};return t[u+"Id"]=e.id,t}s.off("pan").on("pan",(function(e){this._mouseDownFlag=!1,a.updateViewOnPan(l,e.dx,e.dy),n.dispatchAction(i.extend(c(),{dx:e.dx,dy:e.dy}))}),this),s.off("zoom").on("zoom",(function(e){if(this._mouseDownFlag=!1,a.updateViewOnZoom(l,e.scale,e.originX,e.originY),n.dispatchAction(i.extend(c(),{zoom:e.scale,originX:e.originX,originY:e.originY})),this._updateGroup){var t=this.group.scale;this._regionsGroup.traverse((function(e){"text"===e.type&&e.attr("scale",[1/t[0],1/t[1]])}))}}),this),s.setPointerChecker((function(t,i,a){return o.getViewRectAfterRoam().contain(i,a)&&!r(t,n,e)}))}};var g=p;e.exports=g},Dg8C:function(e,t,n){var i=n("XxSj"),o=n("bYtY");e.exports=function(e,t){e.eachSeriesByType("sankey",(function(e){var t=e.getGraph().nodes;if(t.length){var n=1/0,a=-1/0;o.each(t,(function(e){var t=e.getLayout().value;ta&&(a=t)})),o.each(t,(function(t){var o=new i({type:"color",mappingMethod:"linear",dataExtent:[n,a],visual:e.get("color")}).mapValueToVisual(t.getLayout().value),r=t.getModel().get("itemStyle.color");null!=r?t.setVisual("color",r):t.setVisual("color",o)}))}}))}},Dmw4:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=v(n("NUBc")),o=v(n("2fM7")),a=Object.assign||function(e){for(var t=1;t=parseInt(e,0);n--)t.push(n);O(t)}}),[Z]),(0,s.useEffect)((function(){var e;e="/users/"+F+"/project_trends.json",f.default.get(e,{params:{date:z,limit:5,page:v}}).then((function(e){e&&e.data&&(T(e.data.project_trends),w(e.data.total_count))})).catch((function(e){}))}),[z,v]),(0,s.useEffect)((function(){var e;e="/users/"+F+"/statistics/activity.json",f.default.get(e).then((function(e){e&&e.data&&W(e.data)})).catch((function(e){}))}),[]),l.default.createElement("div",null,l.default.createElement("div",null,l.default.createElement(h.default,a({},e,{userLogin:F,current:j&&j.login===F}))),l.default.createElement("div",{className:"recentStatic"},l.default.createElement("p",{className:"font-18 mb15"},"近期活动统计"),l.default.createElement("div",{className:"echartBox"},l.default.createElement(c.default,{data:H}))),l.default.createElement("div",{className:"calendarStatic"},l.default.createElement(u.FlexAJ,{style:{marginBottom:"15px"}},l.default.createElement("span",{className:"font-18"},"贡献度"),l.default.createElement(o.default,{style:{width:"200px"},placeholder:"选择年份",value:L,onSelect:function(e){P(e),B(void 0)}},E&&E.map((function(e,t){return l.default.createElement(y,{key:e},e)})))),l.default.createElement("div",{className:"echartBox"},l.default.createElement(d.default,{time:L,userLogin:F,chooseTime:function(e){e&&(x(1),B(e[0]))}}))),l.default.createElement("div",{className:"activeStatic"},l.default.createElement("span",{className:"font-18"},"动态"),A&&A.length>0&&l.default.createElement(p.default,{list:A}),A&&0===A.length&&l.default.createElement(m.default,{_html:"暂无动态"}),S>5&&l.default.createElement("div",{style:{textAlign:"center",paddingBottom:"30px"}},l.default.createElement(i.default,{pageSize:5,current:v,total:S,onChange:function(e){return x(e)}}))))}},Ducp:function(e,t,n){var i=n("bYtY"),o=n("IwbS"),a=n("+TT/"),r=n("XpcN"),s=o.Group,l=["width","height"],u=["x","y"],c=r.extend({type:"legend.scroll",newlineDisabled:!0,init:function(){c.superCall(this,"init"),this._currentIndex=0,this.group.add(this._containerGroup=new s),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new s),this._showController},resetInner:function(){c.superCall(this,"resetInner"),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},renderInner:function(e,t,n,a,r,s,l){var u=this;c.superCall(this,"renderInner",e,t,n,a,r,s,l);var d=this._controllerGroup,h=t.get("pageIconSize",!0);i.isArray(h)||(h=[h,h]),g("pagePrev",0);var p=t.getModel("pageTextStyle");function g(e,n){var r=e+"DataIndex",s=o.createIcon(t.get("pageIcons",!0)[t.getOrient().name][n],{onclick:i.bind(u._pageGo,u,r,t,a)},{x:-h[0]/2,y:-h[1]/2,width:h[0],height:h[1]});s.name=e,d.add(s)}d.add(new o.Text({name:"pageText",style:{textFill:p.getTextColor(),font:p.getFont(),textVerticalAlign:"middle",textAlign:"center"},silent:!0})),g("pageNext",1)},layoutInner:function(e,t,n,o,r,s){var c=this.getSelectorGroup(),d=e.getOrient().index,h=l[d],p=u[d],g=l[1-d],f=u[1-d];r&&a.box("horizontal",c,e.get("selectorItemGap",!0));var m=e.get("selectorButtonGap",!0),v=c.getBoundingRect(),y=[-v.x,-v.y],x=i.clone(n);r&&(x[h]=n[h]-v[h]-m);var _=this._layoutContentAndController(e,o,x,d,h,g,f);if(r){if("end"===s)y[d]+=_[h]+m;else{var b=v[h]+m;y[d]-=b,_[p]-=b}_[h]+=v[h]+m,y[1-d]+=_[f]+_[g]/2-v[g]/2,_[g]=Math.max(_[g],v[g]),_[f]=Math.min(_[f],v[f]+y[1-d]),c.attr("position",y)}return _},_layoutContentAndController:function(e,t,n,r,s,l,u){var c=this.getContentGroup(),d=this._containerGroup,h=this._controllerGroup;a.box(e.get("orient"),c,e.get("itemGap"),r?n.width:null,r?null:n.height),a.box("horizontal",h,e.get("pageButtonItemGap",!0));var p=c.getBoundingRect(),g=h.getBoundingRect(),f=this._showController=p[s]>n[s],m=[-p.x,-p.y];t||(m[r]=c.position[r]);var v=[0,0],y=[-g.x,-g.y],x=i.retrieve2(e.get("pageButtonGap",!0),e.get("itemGap",!0));f&&("end"===e.get("pageButtonPosition",!0)?y[r]+=n[s]-g[s]:v[r]+=g[s]+x);y[1-r]+=p[l]/2-g[l]/2,c.attr("position",m),d.attr("position",v),h.attr("position",y);var _={x:0,y:0};if(_[s]=f?n[s]:p[s],_[l]=Math.max(p[l],g[l]),_[u]=Math.min(0,g[u]+y[1-r]),d.__rectSize=n[s],f){var b={x:0,y:0};b[s]=Math.max(n[s]-g[s]-x,0),b[l]=_[l],d.setClipPath(new o.Rect({shape:b})),d.__rectSize=b[s]}else h.eachChild((function(e){e.attr({invisible:!0,silent:!0})}));var S=this._getPageInfo(e);return null!=S.pageIndex&&o.updateProps(c,{position:S.contentPosition},!!f&&e),this._updatePageInfoView(e,S),_},_pageGo:function(e,t,n){var i=this._getPageInfo(t)[e];null!=i&&n.dispatchAction({type:"legendScroll",scrollDataIndex:i,legendId:t.id})},_updatePageInfoView:function(e,t){var n=this._controllerGroup;i.each(["pagePrev","pageNext"],(function(i){var o=null!=t[i+"DataIndex"],a=n.childOfName(i);a&&(a.setStyle("fill",o?e.get("pageIconColor",!0):e.get("pageIconInactiveColor",!0)),a.cursor=o?"pointer":"default")}));var o=n.childOfName("pageText"),a=e.get("pageFormatter"),r=t.pageIndex,s=null!=r?r+1:0,l=t.pageCount;o&&a&&o.setStyle("text",i.isString(a)?a.replace("{current}",s).replace("{total}",l):a({current:s,total:l}))},_getPageInfo:function(e){var t=e.get("scrollDataIndex",!0),n=this.getContentGroup(),i=this._containerGroup.__rectSize,o=e.getOrient().index,a=l[o],r=u[o],s=this._findTargetItemIndex(t),c=n.children(),d=c[s],h=c.length,p=h?1:0,g={contentPosition:n.position.slice(),pageCount:p,pageIndex:p-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!d)return g;var f=_(d);g.contentPosition[o]=-f.s;for(var m=s+1,v=f,y=f,x=null;m<=h;++m)(!(x=_(c[m]))&&y.e>v.s+i||x&&!b(x,v.s))&&(v=y.i>v.i?y:x)&&(null==g.pageNextDataIndex&&(g.pageNextDataIndex=v.i),++g.pageCount),y=x;for(m=s-1,v=f,y=f,x=null;m>=-1;--m)(x=_(c[m]))&&b(y,x.s)||!(v.i=t&&e.s<=t+i}},_findTargetItemIndex:function(e){return this._showController?(this.getContentGroup().eachChild((function(i,o){var a=i.__legendDataIndex;null==n&&null!=a&&(n=o),a===e&&(t=o)})),null!=t?t:n):0;var t,n}}),d=c;e.exports=d},EMyp:function(e,t,n){var i=n("ProS"),o=n("bYtY"),a=n("mFDi"),r=n("K4ya"),s=n("qJCg"),l=n("iLNv"),u=n("vZ6x"),c=["inBrush","outOfBrush"],d=i.PRIORITY.VISUAL.BRUSH;function h(e){e.eachComponent({mainType:"brush"},(function(t){(t.brushTargetManager=new u(t.option,e)).setInputRanges(t.areas,e)}))}function p(e,t){if(!e.isDisposed()){var n=e.getZr();n.__ecInBrushSelectEvent=!0,e.dispatchAction({type:"brushSelect",batch:t}),n.__ecInBrushSelectEvent=!1}}function g(e,t,n,i){for(var o=0,a=t.length;ot[0][1]&&(t[0][1]=a[0]),a[1]t[1][1]&&(t[1][1]=a[1])}return t&&v(t)}};function v(e){return new a(e[0][0],e[1][0],e[0][1]-e[0][0],e[1][1]-e[1][0])}t.layoutCovers=h},ERHi:function(e,t,n){var i=n("ProS");n("Z6js"),n("R4Th");var o=n("f5Yq"),a=n("h8O9");i.registerVisual(o("effectScatter","circle")),i.registerLayout(a("effectScatter"))},F5Ls:function(e,t){var n={南海诸岛:[32,80],广东:[0,-10],香港:[10,5],澳门:[-10,10],天津:[5,5]};e.exports=function(e,t){if("china"===e){var i=n[t.name];if(i){var o=t.center;o[0]+=i[0]/10.5,o[1]+=-i[1]/14}}}},F7hV:function(e,t,n){var i=n("MBQ8").extend({type:"series.bar",dependencies:["grid","polar"],brushSelector:"rect",getProgressive:function(){return!!this.get("large")&&this.get("progressive")},getProgressiveThreshold:function(){var e=this.get("progressiveThreshold"),t=this.get("largeThreshold");return t>e&&(e=t),e},defaultOption:{clip:!0,roundCap:!1,showBackground:!1,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)",borderColor:null,borderWidth:0,borderType:"solid",borderRadius:0,shadowBlur:0,shadowColor:null,shadowOffsetX:0,shadowOffsetY:0,opacity:1}}});e.exports=i},FNN5:function(e,t,n){var i=n("bYtY"),o=n("IwbS"),a=n("+rIm"),r=n("Znkb"),s=["axisLine","axisTickLabel","axisName"],l=["splitLine","splitArea","minorSplitLine"],u=r.extend({type:"radiusAxis",axisPointerClass:"PolarAxisPointer",render:function(e,t){if(this.group.removeAll(),e.get("show")){var n=e.axis,o=n.polar,r=o.getAngleAxis(),u=n.getTicksCoords(),c=n.getMinorTicksCoords(),d=r.getExtent()[0],h=n.getExtent(),p=function(e,t,n){return{position:[e.cx,e.cy],rotation:n/180*Math.PI,labelDirection:-1,tickDirection:-1,nameDirection:1,labelRotate:t.getModel("axisLabel").get("rotate"),z2:1}}(o,e,d),g=new a(e,p);i.each(s,g.add,g),this.group.add(g.getGroup()),i.each(l,(function(t){e.get(t+".show")&&!n.scale.isBlank()&&this["_"+t](e,o,d,h,u,c)}),this)}},_splitLine:function(e,t,n,a,r){var s=e.getModel("splitLine").getModel("lineStyle"),l=s.get("color"),u=0;l=l instanceof Array?l:[l];for(var c=[],d=0;d0?"P":"N",a=i.getVisual("borderColor"+o)||i.getVisual("color"+o),r=n.getModel(l).getItemStyle(c);t.useStyle(r),t.style.fill=null,t.style.stroke=a}var _=d;e.exports=_},"HF/U":function(e,t,n){var i=n("QBsz"),o=n("bYtY"),a=n("DDd/").getCurvenessForEdge;function r(e,t){e.eachEdge((function(e,n){var r=o.retrieve3(e.getModel().get("lineStyle.curveness"),-a(e,t,n,!0),0),s=i.clone(e.node1.getLayout()),l=i.clone(e.node2.getLayout()),u=[s,l];+r&&u.push([(s[0]+l[0])/2-(s[1]-l[1])*r,(s[1]+l[1])/2-(l[0]-s[0])*r]),e.setLayout(u)}))}t.simpleLayout=function(e){var t=e.coordinateSystem;if(!t||"view"===t.type){var n=e.getGraph();n.eachNode((function(e){var t=e.getModel();e.setLayout([+t.get("x"),+t.get("y")])})),r(n,e)}},t.simpleLayoutEdge=r},"HM/N":function(e,t,n){n("Tghj").__DEV__;var i=n("bYtY"),o=n("/SeX"),a=n("OELB").parsePercent,r=n("aX7z"),s=r.createScaleByModel,l=r.niceScaleExtent,u=n("IDmD"),c=n("7hqr").getStackedDimension;function d(e,t){var n=this,o=n.getAngleAxis(),a=n.getRadiusAxis();if(o.scale.setExtent(1/0,-1/0),a.scale.setExtent(1/0,-1/0),e.eachSeries((function(e){if(e.coordinateSystem===n){var t=e.getData();i.each(t.mapDimension("radius",!0),(function(e){a.scale.unionExtentFromData(t,c(t,e))})),i.each(t.mapDimension("angle",!0),(function(e){o.scale.unionExtentFromData(t,c(t,e))}))}})),l(o.scale,o.model),l(a.scale,a.model),"category"===o.type&&!o.onBand){var r=o.getExtent(),s=360/o.scale.count();o.inverse?r[1]+=s:r[1]-=s,o.setExtent(r[0],r[1])}}function h(e,t){if(e.type=t.get("type"),e.scale=s(t),e.onBand=t.get("boundaryGap")&&"category"===e.type,e.inverse=t.get("inverse"),"angleAxis"===t.mainType){e.inverse^=t.get("clockwise");var n=t.get("startAngle");e.setExtent(n,n+(e.inverse?-360:360))}t.axis=e,e.model=t}n("ePAk");var p={dimensions:o.prototype.dimensions,create:function(e,t){var n=[];return e.eachComponent("polar",(function(e,r){var s=new o(r);s.update=d;var l=s.getRadiusAxis(),u=s.getAngleAxis(),c=e.findAxisModel("radiusAxis"),p=e.findAxisModel("angleAxis");h(l,c),h(u,p),function(e,t,n){var o=t.get("center"),r=n.getWidth(),s=n.getHeight();e.cx=a(o[0],r),e.cy=a(o[1],s);var l=e.getRadiusAxis(),u=Math.min(r,s)/2,c=t.get("radius");null==c?c=[0,"100%"]:i.isArray(c)||(c=[0,c]),c=[a(c[0],u),a(c[1],u)],l.inverse?l.setExtent(c[1],c[0]):l.setExtent(c[0],c[1])}(s,e,t),n.push(s),e.coordinateSystem=s,s.model=e})),e.eachSeries((function(t){if("polar"===t.get("coordinateSystem")){var n=e.queryComponents({mainType:"polar",index:t.get("polarIndex"),id:t.get("polarId")})[0];t.coordinateSystem=n.coordinateSystem}})),n}};u.register("polar",p)},HjIi:function(e,t,n){var i=n("bYtY"),o=n("OELB").parsePercent,a=n("7hqr").isDimensionStacked;function r(e){return e.get("stack")||"__ec_stack_"+e.seriesIndex}function s(e,t){return t.dim+e.model.componentIndex}var l=function(e,t,n){var l={},u=function(e,t){var n={};i.each(e,(function(e,t){var i=e.getData(),a=e.coordinateSystem,l=a.getBaseAxis(),u=s(a,l),c=l.getExtent(),d="category"===l.type?l.getBandWidth():Math.abs(c[1]-c[0])/i.count(),h=n[u]||{bandWidth:d,remainedWidth:d,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},p=h.stacks;n[u]=h;var g=r(e);p[g]||h.autoWidthCount++,p[g]=p[g]||{width:0,maxWidth:0};var f=o(e.get("barWidth"),d),m=o(e.get("barMaxWidth"),d),v=e.get("barGap"),y=e.get("barCategoryGap");f&&!p[g].width&&(f=Math.min(h.remainedWidth,f),p[g].width=f,h.remainedWidth-=f),m&&(p[g].maxWidth=m),null!=v&&(h.gap=v),null!=y&&(h.categoryGap=y)}));var a={};return i.each(n,(function(e,t){a[t]={};var n=e.stacks,r=e.bandWidth,s=o(e.categoryGap,r),l=o(e.gap,1),u=e.remainedWidth,c=e.autoWidthCount,d=(u-s)/(c+(c-1)*l);d=Math.max(d,0),i.each(n,(function(e,t){var n=e.maxWidth;n&&n=0?"p":"n",N=w;if(b&&(l[c][P]||(l[c][P]={p:w,n:w}),N=l[c][P][k]),"radius"===g.dim){var E=g.dataToRadius(L)-w,O=i.dataToAngle(P);Math.abs(E)=o/3?1:2),l=t.y-i(r)*a*(a>=o/3?1:2);r=t.angle-Math.PI/2,e.moveTo(s,l),e.lineTo(t.x+n(r)*a,t.y+i(r)*a),e.lineTo(t.x+n(t.angle)*o,t.y+i(t.angle)*o),e.lineTo(t.x-n(r)*a,t.y-i(r)*a),e.lineTo(s,l)}});e.exports=i},Hxpc:function(e,t,n){var i=n("bYtY"),o=n("4NO4"),a=n("bLfw"),r=n("Qxkt"),s=n("cCMj"),l=n("7uqq"),u=a.extend({type:"geo",coordinateSystem:null,layoutMode:"box",init:function(e){a.prototype.init.apply(this,arguments),o.defaultEmphasis(e,"label",["show"])},optionUpdated:function(){var e=this.option,t=this;e.regions=l.getFilledRegions(e.regions,e.map,e.nameMap),this._optionModelMap=i.reduce(e.regions||[],(function(e,n){return n.name&&e.set(n.name,new r(n,t)),e}),i.createHashMap()),this.updateSelectedMap(e.regions)},defaultOption:{zlevel:0,z:0,show:!0,left:"center",top:"center",aspectScale:null,silent:!1,map:"",boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",color:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},regions:[]},getRegionModel:function(e){return this._optionModelMap.get(e)||new r(null,this,this.ecModel)},getFormattedLabel:function(e,t){t=t||"normal";var n=this.getRegionModel(e).get(("normal"===t?"":t+".")+"label.formatter"),i={name:e};return"function"==typeof n?(i.status=t,n(i)):"string"==typeof n?n.replace("{a}",null!=e?e:""):void 0},setZoom:function(e){this.option.zoom=e},setCenter:function(e){this.option.center=e}});i.mixin(u,s);var c=u;e.exports=c},"I+77":function(e,t,n){var i=n("ProS");n("h54F"),n("lwQL"),n("10cm");var o=n("Z1r0"),a=n("f5Yq"),r=n("KUOm"),s=n("3m61"),l=n("01d+"),u=n("rdor"),c=n("WGYa"),d=n("ewwo");i.registerProcessor(o),i.registerVisual(a("graph","circle",null)),i.registerVisual(r),i.registerVisual(s),i.registerLayout(l),i.registerLayout(i.PRIORITY.VISUAL.POST_CHART_LAYOUT,u),i.registerLayout(c),i.registerCoordinateSystem("graphView",{create:d})},"I3/A":function(e,t,n){var i=n("bYtY"),o=n("YXkt"),a=n("c2i1"),r=n("Mdki"),s=n("sdST"),l=n("IDmD"),u=n("MwEJ");e.exports=function(e,t,n,c,d){for(var h=new a(c),p=0;p "+x)),m++)}var _,b=n.get("coordinateSystem");if("cartesian2d"===b||"polar"===b)_=u(e,n);else{var S=l.get(b),w=S&&"view"!==S.type&&S.dimensions||[];i.indexOf(w,"value")<0&&w.concat(["value"]);var M=s(e,{coordDimensions:w});(_=new o(M,n)).initData(e)}var I=new o(["value"],n);return I.initData(f,g),d&&d(_,I),r({mainData:_,struct:h,structAttr:"graph",datas:{node:_,edge:I},datasAttr:{node:"data",edge:"edgeData"}}),h.update(),h}},IUWy:function(e,t){var n={};t.register=function(e,t){n[e]=t},t.get=function(e){return n[e]}},IWNH:function(e,t,n){var i=n("T4UG"),o=n("Bsck"),a=n("7aKB").encodeHTML,r=n("Qxkt"),s=i.extend({type:"series.tree",layoutInfo:null,layoutMode:"box",getInitialData:function(e){var t={name:e.name,children:e.data},n=e.leaves||{},i=new r(n,this,this.ecModel),a=o.createTree(t,this,(function(e){e.wrapMethod("getItemModel",(function(e,t){var n=a.getNodeByDataIndex(t);return n.children.length&&n.isExpand||(e.parentModel=i),e}))}));var s=0;a.eachNode("preorder",(function(e){e.depth>s&&(s=e.depth)}));var l=e.expandAndCollapse&&e.initialTreeDepth>=0?e.initialTreeDepth:s;return a.root.eachNode("preorder",(function(e){var t=e.hostTree.data.getRawDataItem(e.dataIndex);e.isExpand=t&&null!=t.collapsed?!t.collapsed:e.depth<=l})),a.data},getOrient:function(){var e=this.get("orient");return"horizontal"===e?e="LR":"vertical"===e&&(e="TB"),e},setZoom:function(e){this.option.zoom=e},setCenter:function(e){this.option.center=e},formatTooltip:function(e){for(var t=this.getData().tree,n=t.root.children[0],i=t.getNodeByDataIndex(e),o=i.getValue(),r=i.name;i&&i!==n;)r=i.parentNode.name+"."+r,i=i.parentNode;return a(r+(isNaN(o)||null==o?"":" : "+o))},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",left:"12%",top:"12%",right:"12%",bottom:"12%",layout:"orthogonal",edgeShape:"curve",edgeForkPosition:"50%",roam:!1,nodeScaleRatio:.4,center:null,zoom:1,orient:"LR",symbol:"emptyCircle",symbolSize:7,expandAndCollapse:!0,initialTreeDepth:2,lineStyle:{color:"#ccc",width:1.5,curveness:.5},itemStyle:{color:"lightsteelblue",borderColor:"#c23531",borderWidth:1.5},label:{show:!0,color:"#555"},leaves:{label:{show:!0}},animationEasing:"linear",animationDuration:700,animationDurationUpdate:1e3}});e.exports=s},IXuL:function(e,t,n){n("Tghj").__DEV__;var i=n("MwEJ"),o=n("T4UG").extend({type:"series.line",dependencies:["grid","polar"],getInitialData:function(e,t){return i(this.getSource(),this,{useEncodeDefaulter:!0})},defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,clip:!0,label:{position:"top"},lineStyle:{width:2,type:"solid"},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0}});e.exports=o},IXyC:function(e,t,n){var i=n("bYtY"),o=n("bLfw");n("3zoK");var a=o.extend({type:"parallel",dependencies:["parallelAxis"],coordinateSystem:null,dimensions:null,parallelAxisIndex:null,layoutMode:"box",defaultOption:{zlevel:0,z:0,left:80,top:60,right:80,bottom:60,layout:"horizontal",axisExpandable:!1,axisExpandCenter:null,axisExpandCount:0,axisExpandWidth:50,axisExpandRate:17,axisExpandDebounce:50,axisExpandSlideTriggerArea:[-.15,.05,.4],axisExpandTriggerOn:"click",parallelAxisDefault:null},init:function(){o.prototype.init.apply(this,arguments),this.mergeOption({})},mergeOption:function(e){var t=this.option;e&&i.merge(t,e,!0),this._initDimensions()},contains:function(e,t){var n=e.get("parallelIndex");return null!=n&&t.getComponent("parallel",n)===this},setAxisExpand:function(e){i.each(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],(function(t){e.hasOwnProperty(t)&&(this.option[t]=e[t])}),this)},_initDimensions:function(){var e=this.dimensions=[],t=this.parallelAxisIndex=[],n=i.filter(this.dependentModels.parallelAxis,(function(e){return(e.get("parallelIndex")||0)===this.componentIndex}),this);i.each(n,(function(n){e.push("dim"+n.get("dim")),t.push(n.componentIndex)}))}});e.exports=a},Itpr:function(e,t,n){var i=n("+TT/");function o(e){var t=e.children;return t.length&&e.isExpand?t[t.length-1]:e.hierNode.thread}function a(e){var t=e.children;return t.length&&e.isExpand?t[0]:e.hierNode.thread}function r(e,t,n){return e.hierNode.ancestor.parentNode===t.parentNode?e.hierNode.ancestor:n}function s(e,t,n){var i=n/(t.hierNode.i-e.hierNode.i);t.hierNode.change-=i,t.hierNode.shift+=n,t.hierNode.modifier+=n,t.hierNode.prelim+=n,e.hierNode.change+=i}function l(e,t){return e.parentNode===t.parentNode?1:2}t.init=function(e){e.hierNode={defaultAncestor:null,ancestor:e,prelim:0,modifier:0,change:0,shift:0,i:0,thread:null};for(var t,n,i=[e];t=i.pop();)if(n=t.children,t.isExpand&&n.length)for(var o=n.length-1;o>=0;o--){var a=n[o];a.hierNode={defaultAncestor:null,ancestor:a,prelim:0,modifier:0,change:0,shift:0,i:o,thread:null},i.push(a)}},t.firstWalk=function(e,t){var n=e.isExpand?e.children:[],i=e.parentNode.children,l=e.hierNode.i?i[e.hierNode.i-1]:null;if(n.length){!function(e){var t=e.children,n=t.length,i=0,o=0;for(;--n>=0;){var a=t[n];a.hierNode.prelim+=i,a.hierNode.modifier+=i,o+=a.hierNode.change,i+=a.hierNode.shift+o}}(e);var u=(n[0].hierNode.prelim+n[n.length-1].hierNode.prelim)/2;l?(e.hierNode.prelim=l.hierNode.prelim+t(e,l),e.hierNode.modifier=e.hierNode.prelim-u):e.hierNode.prelim=u}else l&&(e.hierNode.prelim=l.hierNode.prelim+t(e,l));e.parentNode.hierNode.defaultAncestor=function(e,t,n,i){if(t){for(var l=e,u=e,c=u.parentNode.children[0],d=t,h=l.hierNode.modifier,p=u.hierNode.modifier,g=c.hierNode.modifier,f=d.hierNode.modifier;d=o(d),u=a(u),d&&u;){l=o(l),c=a(c),l.hierNode.ancestor=e;var m=d.hierNode.prelim+f-u.hierNode.prelim-p+i(d,u);m>0&&(s(r(d,e,n),e,m),p+=m,h+=m),f+=d.hierNode.modifier,p+=u.hierNode.modifier,h+=l.hierNode.modifier,g+=c.hierNode.modifier}d&&!o(l)&&(l.hierNode.thread=d,l.hierNode.modifier+=f-h),u&&!a(c)&&(c.hierNode.thread=u,c.hierNode.modifier+=p-g,n=e)}return n}(e,l,e.parentNode.hierNode.defaultAncestor||i[0],t)},t.secondWalk=function(e){var t=e.hierNode.prelim+e.parentNode.hierNode.modifier;e.setLayout({x:t},!0),e.hierNode.modifier+=e.parentNode.hierNode.modifier},t.separation=function(e){return arguments.length?e:l},t.radialCoordinate=function(e,t){var n={};return e-=Math.PI/2,n.x=t*Math.cos(e),n.y=t*Math.sin(e),n},t.getViewRect=function(e,t){return i.getLayoutRect(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}},IyUQ:function(e,t,n){var i=n("bYtY"),o=n("YH21"),a=n("IwbS"),r=n("iLNv"),s=n("fc+c"),l=n("OELB"),u=n("+TT/"),c=n("72pK"),d=a.Rect,h=l.linearMap,p=l.asc,g=i.bind,f=i.each,m=["line","bar","candlestick","scatter"],v=s.extend({type:"dataZoom.slider",init:function(e,t){this._displayables={},this._orient,this._range,this._handleEnds,this._size,this._handleWidth,this._handleHeight,this._location,this._dragging,this._dataShadowInfo,this.api=t},render:function(e,t,n,i){v.superApply(this,"render",arguments),r.createOrUpdate(this,"_dispatchZoomAction",this.dataZoomModel.get("throttle"),"fixRate"),this._orient=e.get("orient"),!1!==this.dataZoomModel.get("show")?(i&&"dataZoom"===i.type&&i.from===this.uid||this._buildView(),this._updateView()):this.group.removeAll()},remove:function(){v.superApply(this,"remove",arguments),r.clear(this,"_dispatchZoomAction")},dispose:function(){v.superApply(this,"dispose",arguments),r.clear(this,"_dispatchZoomAction")},_buildView:function(){var e=this.group;e.removeAll(),this._resetLocation(),this._resetInterval();var t=this._displayables.barGroup=new a.Group;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),e.add(t),this._positionGroup()},_resetLocation:function(){var e=this.dataZoomModel,t=this.api,n=this._findCoordRect(),o={width:t.getWidth(),height:t.getHeight()},a="horizontal"===this._orient?{right:o.width-n.x-n.width,top:o.height-30-7,width:n.width,height:30}:{right:7,top:n.y,width:30,height:n.height},r=u.getLayoutParams(e.option);i.each(["right","top","width","height"],(function(e){"ph"===r[e]&&(r[e]=a[e])}));var s=u.getLayoutRect(r,o,e.padding);this._location={x:s.x,y:s.y},this._size=[s.width,s.height],"vertical"===this._orient&&this._size.reverse()},_positionGroup:function(){var e=this.group,t=this._location,n=this._orient,i=this.dataZoomModel.getFirstTargetAxisModel(),o=i&&i.get("inverse"),a=this._displayables.barGroup,r=(this._dataShadowInfo||{}).otherAxisInverse;a.attr("horizontal"!==n||o?"horizontal"===n&&o?{scale:r?[-1,1]:[-1,-1]}:"vertical"!==n||o?{scale:r?[-1,-1]:[-1,1],rotation:Math.PI/2}:{scale:r?[1,-1]:[1,1],rotation:Math.PI/2}:{scale:r?[1,1]:[1,-1]});var s=e.getBoundingRect([a]);e.attr("position",[t.x-s.x,t.y-s.y])},_getViewExtent:function(){return[0,this._size[0]]},_renderBackground:function(){var e=this.dataZoomModel,t=this._size,n=this._displayables.barGroup;n.add(new d({silent:!0,shape:{x:0,y:0,width:t[0],height:t[1]},style:{fill:e.get("backgroundColor")},z2:-40})),n.add(new d({shape:{x:0,y:0,width:t[0],height:t[1]},style:{fill:"transparent"},z2:0,onclick:i.bind(this._onClickPanelClick,this)}))},_renderDataShadow:function(){var e=this._dataShadowInfo=this._prepareDataShadowInfo();if(e){var t=this._size,n=e.series,o=n.getRawData(),r=n.getShadowDim?n.getShadowDim():e.otherDim;if(null!=r){var s=o.getDataExtent(r),l=.3*(s[1]-s[0]);s=[s[0]-l,s[1]+l];var u,c=[0,t[1]],d=[0,t[0]],p=[[t[0],0],[0,0]],g=[],f=d[1]/(o.count()-1),m=0,v=Math.round(o.count()/t[0]);o.each([r],(function(e,t){if(v>0&&t%v)m+=f;else{var n=null==e||isNaN(e)||""===e,i=n?0:h(e,s,c,!0);n&&!u&&t?(p.push([p[p.length-1][0],0]),g.push([g[g.length-1][0],0])):!n&&u&&(p.push([m,0]),g.push([m,0])),p.push([m,i]),g.push([m,i]),m+=f,u=n}}));var y=this.dataZoomModel;this._displayables.barGroup.add(new a.Polygon({shape:{points:p},style:i.defaults({fill:y.get("dataBackgroundColor")},y.getModel("dataBackground.areaStyle").getAreaStyle()),silent:!0,z2:-20})),this._displayables.barGroup.add(new a.Polyline({shape:{points:g},style:y.getModel("dataBackground.lineStyle").getLineStyle(),silent:!0,z2:-19}))}}},_prepareDataShadowInfo:function(){var e=this.dataZoomModel,t=e.get("showDataShadow");if(!1!==t){var n,o=this.ecModel;return e.eachTargetAxis((function(a,r){var s=e.getAxisProxy(a.name,r).getTargetSeriesModels();i.each(s,(function(e){if(!(n||!0!==t&&i.indexOf(m,e.get("type"))<0)){var s,l=o.getComponent(a.axis,r).axis,u={x:"y",y:"x",radius:"angle",angle:"radius"}[a.name],c=e.coordinateSystem;null!=u&&c.getOtherAxis&&(s=c.getOtherAxis(l).inverse),u=e.getData().mapDimension(u),n={thisAxis:l,series:e,thisDim:a.name,otherDim:u,otherAxisInverse:s}}}),this)}),this),n}},_renderHandle:function(){var e=this._displayables,t=e.handles=[],n=e.handleLabels=[],i=this._displayables.barGroup,o=this._size,r=this.dataZoomModel;i.add(e.filler=new d({draggable:!0,cursor:y(this._orient),drift:g(this._onDragMove,this,"all"),ondragstart:g(this._showDataInfo,this,!0),ondragend:g(this._onDragEnd,this),onmouseover:g(this._showDataInfo,this,!0),onmouseout:g(this._showDataInfo,this,!1),style:{fill:r.get("fillerColor"),textPosition:"inside"}})),i.add(new d({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:o[0],height:o[1]},style:{stroke:r.get("dataBackgroundColor")||r.get("borderColor"),lineWidth:1,fill:"rgba(0,0,0,0)"}})),f([0,1],(function(e){var o=a.createIcon(r.get("handleIcon"),{cursor:y(this._orient),draggable:!0,drift:g(this._onDragMove,this,e),ondragend:g(this._onDragEnd,this),onmouseover:g(this._showDataInfo,this,!0),onmouseout:g(this._showDataInfo,this,!1)},{x:-1,y:0,width:2,height:2}),s=o.getBoundingRect();this._handleHeight=l.parsePercent(r.get("handleSize"),this._size[1]),this._handleWidth=s.width/s.height*this._handleHeight,o.setStyle(r.getModel("handleStyle").getItemStyle());var u=r.get("handleColor");null!=u&&(o.style.fill=u),i.add(t[e]=o);var c=r.textStyleModel;this.group.add(n[e]=new a.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textVerticalAlign:"middle",textAlign:"center",textFill:c.getTextColor(),textFont:c.getFont()},z2:10}))}),this)},_resetInterval:function(){var e=this._range=this.dataZoomModel.getPercentRange(),t=this._getViewExtent();this._handleEnds=[h(e[0],[0,100],t,!0),h(e[1],[0,100],t,!0)]},_updateInterval:function(e,t){var n=this.dataZoomModel,i=this._handleEnds,o=this._getViewExtent(),a=n.findRepresentativeAxisProxy().getMinMaxSpan(),r=[0,100];c(t,i,o,n.get("zoomLock")?"all":e,null!=a.minSpan?h(a.minSpan,r,o,!0):null,null!=a.maxSpan?h(a.maxSpan,r,o,!0):null);var s=this._range,l=this._range=p([h(i[0],o,r,!0),h(i[1],o,r,!0)]);return!s||s[0]!==l[0]||s[1]!==l[1]},_updateView:function(e){var t=this._displayables,n=this._handleEnds,i=p(n.slice()),o=this._size;f([0,1],(function(e){var i=t.handles[e],a=this._handleHeight;i.attr({scale:[a/2,a/2],position:[n[e],o[1]/2-a/2]})}),this),t.filler.setShape({x:i[0],y:0,width:i[1]-i[0],height:o[1]}),this._updateDataInfo(e)},_updateDataInfo:function(e){var t=this.dataZoomModel,n=this._displayables,i=n.handleLabels,o=this._orient,r=["",""];if(t.get("showDetail")){var s=t.findRepresentativeAxisProxy();if(s){var l=s.getAxisModel().axis,u=this._range,c=e?s.calculateDataWindow({start:u[0],end:u[1]}).valueWindow:s.getDataValueWindow();r=[this._formatLabel(c[0],l),this._formatLabel(c[1],l)]}}var d=p(this._handleEnds.slice());function h(e){var t=a.getTransform(n.handles[e].parent,this.group),s=a.transformDirection(0===e?"right":"left",t),l=this._handleWidth/2+5,u=a.applyTransform([d[e]+(0===e?-l:l),this._size[1]/2],t);i[e].setStyle({x:u[0],y:u[1],textVerticalAlign:"horizontal"===o?"middle":s,textAlign:"horizontal"===o?s:"center",text:r[e]})}h.call(this,0),h.call(this,1)},_formatLabel:function(e,t){var n=this.dataZoomModel,o=n.get("labelFormatter"),a=n.get("labelPrecision");null!=a&&"auto"!==a||(a=t.getPixelPrecision());var r=null==e||isNaN(e)?"":"category"===t.type||"time"===t.type?t.scale.getLabel(Math.round(e)):e.toFixed(Math.min(a,20));return i.isFunction(o)?o(e,r):i.isString(o)?o.replace("{value}",r):r},_showDataInfo:function(e){e=this._dragging||e;var t=this._displayables.handleLabels;t[0].attr("invisible",!e),t[1].attr("invisible",!e)},_onDragMove:function(e,t,n,i){this._dragging=!0,o.stop(i.event);var r=this._displayables.barGroup.getLocalTransform(),s=a.applyTransform([t,n],r,!0),l=this._updateInterval(e,s[0]),u=this.dataZoomModel.get("realtime");this._updateView(!u),l&&u&&this._dispatchZoomAction()},_onDragEnd:function(){this._dragging=!1,this._showDataInfo(!1),!this.dataZoomModel.get("realtime")&&this._dispatchZoomAction()},_onClickPanelClick:function(e){var t=this._size,n=this._displayables.barGroup.transformCoordToLocal(e.offsetX,e.offsetY);if(!(n[0]<0||n[0]>t[0]||n[1]<0||n[1]>t[1])){var i=this._handleEnds,o=(i[0]+i[1])/2,a=this._updateInterval("all",n[0]-o);this._updateView(),a&&this._dispatchZoomAction()}},_dispatchZoomAction:function(){var e=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,start:e[0],end:e[1]})},_findCoordRect:function(){var e;if(f(this.getTargetCoordInfo(),(function(t){if(!e&&t.length){var n=t[0].model.coordinateSystem;e=n.getRect&&n.getRect()}})),!e){var t=this.api.getWidth(),n=this.api.getHeight();e={x:.2*t,y:.2*n,width:.6*t,height:.6*n}}return e}});function y(e){return"vertical"===e?"ns-resize":"ew-resize"}var x=v;e.exports=x},JLnu:function(e,t,n){n("Tghj").__DEV__;var i=n("+TT/"),o=n("OELB"),a=o.parsePercent,r=o.linearMap;e.exports=function(e,t,n){e.eachSeriesByType("funnel",(function(e){var n=e.getData(),o=n.mapDimension("value"),s=e.get("sort"),l=function(e,t){return i.getLayoutRect(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}(e,t),u=function(e,t){for(var n=e.mapDimension("value"),i=e.mapArray(n,(function(e){return e})),o=[],a="ascending"===t,r=0,s=e.count();r=0&&"number"==typeof c&&(c=+c.toFixed(Math.min(v,20))),f.coord[p]=m.coord[p]=c,o=[f,m,{type:s,valueIndex:o.valueIndex,value:c}]}return(o=[r.dataTransform(e,o[0]),r.dataTransform(e,o[1]),i.extend({},o[2])])[2].type=o[2].type||"",i.merge(o[2],o[0]),i.merge(o[2],o[1]),o};function d(e){return!isNaN(e)&&!isFinite(e)}function h(e,t,n,i){var o=1-e,a=i.dimensions[e];return d(t[o])&&d(n[o])&&t[e]===n[e]&&i.getAxis(a).containData(t[e])}function p(e,t){if("cartesian2d"===e.type){var n=t[0].coord,i=t[1].coord;if(n&&i&&(h(1,n,i,e)||h(0,n,i,e)))return!0}return r.dataFilter(e,t[0])&&r.dataFilter(e,t[1])}function g(e,t,n,i,o){var r,s=i.coordinateSystem,l=e.getItemModel(t),u=a.parsePercent(l.get("x"),o.getWidth()),c=a.parsePercent(l.get("y"),o.getHeight());if(isNaN(u)||isNaN(c)){if(i.getMarkerPosition)r=i.getMarkerPosition(e.getValues(e.dimensions,t));else{var h=s.dimensions,p=e.get(h[0],t),g=e.get(h[1],t);r=s.dataToPoint([p,g])}if("cartesian2d"===s.type){var f=s.getAxis("x"),m=s.getAxis("y");h=s.dimensions;d(e.get(h[0],t))?r[0]=f.toGlobalCoord(f.getExtent()[n?0:1]):d(e.get(h[1],t))&&(r[1]=m.toGlobalCoord(m.getExtent()[n?0:1]))}isNaN(u)||(r[0]=u),isNaN(c)||(r[1]=c)}else r=[u,c];e.setItemLayout(t,r)}var f=l.extend({type:"markLine",updateTransform:function(e,t,n){t.eachSeries((function(e){var t=e.markLineModel;if(t){var i=t.getData(),o=t.__from,a=t.__to;o.each((function(t){g(o,t,!0,e,n),g(a,t,!1,e,n)})),i.each((function(e){i.setItemLayout(e,[o.getItemLayout(e),a.getItemLayout(e)])})),this.markerGroupMap.get(e.id).updateLayout()}}),this)},renderSeries:function(e,t,n,a){var l=e.coordinateSystem,u=e.id,d=e.getData(),h=this.markerGroupMap,f=h.get(u)||h.set(u,new s);this.group.add(f.group);var m=function(e,t,n){var a;a=e?i.map(e&&e.dimensions,(function(e){var n=t.getData().getDimensionInfo(t.getData().mapDimension(e))||{};return i.defaults({name:e},n)})):[{name:"value",type:"float"}];var s=new o(a,n),l=new o(a,n),u=new o([],n),d=i.map(n.get("data"),i.curry(c,t,e,n));e&&(d=i.filter(d,i.curry(p,e)));var h=e?r.dimValueGetter:function(e){return e.value};return s.initData(i.map(d,(function(e){return e[0]})),null,h),l.initData(i.map(d,(function(e){return e[1]})),null,h),u.initData(i.map(d,(function(e){return e[2]}))),u.hasItemOption=!0,{from:s,to:l,line:u}}(l,e,t),v=m.from,y=m.to,x=m.line;t.__from=v,t.__to=y,t.setData(x);var _=t.get("symbol"),b=t.get("symbolSize");function S(t,n,i){var o=t.getItemModel(n);g(t,n,i,e,a),t.setItemVisual(n,{symbolRotate:o.get("symbolRotate"),symbolSize:o.get("symbolSize")||b[i?0:1],symbol:o.get("symbol",!0)||_[i?0:1],color:o.get("itemStyle.color")||d.getVisual("color")})}i.isArray(_)||(_=[_,_]),"number"==typeof b&&(b=[b,b]),m.from.each((function(e){S(v,e,!0),S(y,e,!1)})),x.each((function(e){var t=x.getItemModel(e).get("lineStyle.color");x.setItemVisual(e,{color:t||v.getItemVisual(e,"color")}),x.setItemLayout(e,[v.getItemLayout(e),y.getItemLayout(e)]),x.setItemVisual(e,{fromSymbolRotate:v.getItemVisual(e,"symbolRotate"),fromSymbolSize:v.getItemVisual(e,"symbolSize"),fromSymbol:v.getItemVisual(e,"symbol"),toSymbolRotate:y.getItemVisual(e,"symbolRotate"),toSymbolSize:y.getItemVisual(e,"symbolSize"),toSymbol:y.getItemVisual(e,"symbol")})})),f.updateData(x),m.line.eachItemGraphicEl((function(e,n){e.traverse((function(e){e.dataModel=t}))})),f.__keep=!0,f.group.silent=t.get("silent")||e.get("silent")}});e.exports=f},MHoB:function(e,t,n){var i=n("bYtY"),o=n("6uqw"),a=n("OELB"),r=[20,140],s=o.extend({type:"visualMap.continuous",defaultOption:{align:"auto",calculable:!1,range:null,realtime:!0,itemHeight:null,itemWidth:null,hoverLink:!0,hoverLinkDataSize:null,hoverLinkOnHandle:null},optionUpdated:function(e,t){s.superApply(this,"optionUpdated",arguments),this.resetExtent(),this.resetVisual((function(e){e.mappingMethod="linear",e.dataExtent=this.getExtent()})),this._resetRange()},resetItemSize:function(){s.superApply(this,"resetItemSize",arguments);var e=this.itemSize;"horizontal"===this._orient&&e.reverse(),(null==e[0]||isNaN(e[0]))&&(e[0]=r[0]),(null==e[1]||isNaN(e[1]))&&(e[1]=r[1])},_resetRange:function(){var e=this.getExtent(),t=this.option.range;!t||t.auto?(e.auto=1,this.option.range=e):i.isArray(t)&&(t[0]>t[1]&&t.reverse(),t[0]=Math.max(t[0],e[0]),t[1]=Math.min(t[1],e[1]))},completeVisualOption:function(){o.prototype.completeVisualOption.apply(this,arguments),i.each(this.stateList,(function(e){var t=this.option.controller[e].symbolSize;t&&t[0]!==t[1]&&(t[0]=0)}),this)},setSelected:function(e){this.option.range=e.slice(),this._resetRange()},getSelected:function(){var e=this.getExtent(),t=a.asc((this.get("range")||[]).slice());return t[0]>e[1]&&(t[0]=e[1]),t[1]>e[1]&&(t[1]=e[1]),t[0]=n[1]||e<=t[1])?"inRange":"outOfRange"},findTargetDataIndices:function(e){var t=[];return this.eachTargetSeries((function(n){var i=[],o=n.getData();o.each(this.getDataDimension(o),(function(t,n){e[0]<=t&&t<=e[1]&&i.push(n)}),this),t.push({seriesId:n.id,dataIndex:i})}),this),t},getVisualMeta:function(e){var t=l(this,"outOfRange",this.getExtent()),n=l(this,"inRange",this.option.range.slice()),i=[];function o(t,n){i.push({value:t,color:e(t,n)})}for(var a=0,r=0,s=n.length,u=t.length;r0?l.pixelStart+l.pixelLength-l.pixel:l.pixel-l.pixelStart)/l.pixelLength*(r[1]-r[0])+r[0],c=Math.max(1/i.scale,0);r[0]=(r[0]-u)*c+u,r[1]=(r[1]-u)*c+u;var h=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();return a(0,r,[0,100],0,h.minSpan,h.maxSpan),this._range=r,o[0]!==r[0]||o[1]!==r[1]?r:void 0}},pan:c((function(e,t,n,i,o,a){var r=d[i]([a.oldX,a.oldY],[a.newX,a.newY],t,o,n);return r.signal*(e[1]-e[0])*r.pixel/r.pixelLength})),scrollMove:c((function(e,t,n,i,o,a){return d[i]([0,0],[a.scrollDelta,a.scrollDelta],t,o,n).signal*(e[1]-e[0])*a.scrollDelta}))};function c(e){return function(t,n,i,o){var r=this._range,s=r.slice(),l=t.axisModels[0];if(l){var u=e(s,l,t,n,i,o);return a(u,s,[0,100],"all"),this._range=s,r[0]!==s[0]||r[1]!==s[1]?s:void 0}}}var d={grid:function(e,t,n,i,o){var a=n.axis,r={},s=o.model.coordinateSystem.getRect();return e=e||[0,0],"x"===a.dim?(r.pixel=t[0]-e[0],r.pixelLength=s.width,r.pixelStart=s.x,r.signal=a.inverse?1:-1):(r.pixel=t[1]-e[1],r.pixelLength=s.height,r.pixelStart=s.y,r.signal=a.inverse?-1:1),r},polar:function(e,t,n,i,o){var a=n.axis,r={},s=o.model.coordinateSystem,l=s.getRadiusAxis().getExtent(),u=s.getAngleAxis().getExtent();return e=e?s.pointToCoord(e):[0,0],t=s.pointToCoord(t),"radiusAxis"===n.mainType?(r.pixel=t[0]-e[0],r.pixelLength=l[1]-l[0],r.pixelStart=l[0],r.signal=a.inverse?1:-1):(r.pixel=t[1]-e[1],r.pixelLength=u[1]-u[0],r.pixelStart=u[0],r.signal=a.inverse?-1:1),r},singleAxis:function(e,t,n,i,o){var a=n.axis,r=o.model.coordinateSystem.getRect(),s={};return e=e||[0,0],"horizontal"===a.orient?(s.pixel=t[0]-e[0],s.pixelLength=r.width,s.pixelStart=r.x,s.signal=a.inverse?1:-1):(s.pixel=t[1]-e[1],s.pixelLength=r.height,s.pixelStart=r.y,s.signal=a.inverse?-1:1),s}},h=l;e.exports=h},Mylv:function(e,t,n){var i=n("ProS"),o=n("bYtY"),a=n("IwbS"),r=n("oVpE").createSymbol,s=n("OELB"),l=s.parsePercent,u=s.isNumeric,c=n("56rv").setLabel,d=["itemStyle","borderWidth"],h=[{xy:"x",wh:"width",index:0,posDesc:["left","right"]},{xy:"y",wh:"height",index:1,posDesc:["top","bottom"]}],p=new a.Circle;function g(e,t,n,i){var a=e.getItemLayout(t),r=n.get("symbolRepeat"),s=n.get("symbolClip"),c=n.get("symbolPosition")||"start",h=(n.get("symbolRotate")||0)*Math.PI/180||0,g=n.get("symbolPatternSize")||2,m=n.isAnimationEnabled(),v={dataIndex:t,layout:a,itemModel:n,symbolType:e.getItemVisual(t,"symbol")||"circle",color:e.getItemVisual(t,"color"),symbolClip:s,symbolRepeat:r,symbolRepeatDirection:n.get("symbolRepeatDirection"),symbolPatternSize:g,rotation:h,animationModel:m?n:null,hoverAnimation:m&&n.get("hoverAnimation"),z2:n.getShallow("z",!0)||0};!function(e,t,n,i,a){var r,s=i.valueDim,l=e.get("symbolBoundingData"),u=i.coordSys.getOtherAxis(i.coordSys.getBaseAxis()),c=u.toGlobalCoord(u.dataToCoord(0)),d=1-+(n[s.wh]<=0);if(o.isArray(l)){var h=[f(u,l[0])-c,f(u,l[1])-c];h[1]0?1:r<0?-1:0}(n,r,a,i,v),function(e,t,n,i,a,r,s,u,c,d){var h=c.valueDim,p=c.categoryDim,g=Math.abs(n[p.wh]),f=e.getItemVisual(t,"symbolSize");o.isArray(f)?f=f.slice():(null==f&&(f="100%"),f=[f,f]);f[p.index]=l(f[p.index],g),f[h.index]=l(f[h.index],i?g:Math.abs(r)),d.symbolSize=f,(d.symbolScale=[f[0]/u,f[1]/u])[h.index]*=(c.isHorizontal?-1:1)*s}(e,t,a,r,0,v.boundingLength,v.pxSign,g,i,v),function(e,t,n,i,o){var a=e.get(d)||0;a&&(p.attr({scale:t.slice(),rotation:n}),p.updateTransform(),a/=p.getLineScale(),a*=t[i.valueDim.index]);o.valueLineWidth=a}(n,v.symbolScale,h,i,v);var y=v.symbolSize,x=n.get("symbolOffset");return o.isArray(x)&&(x=[l(x[0],y[0]),l(x[1],y[1])]),function(e,t,n,i,a,r,s,c,d,h,p,g){var f=p.categoryDim,m=p.valueDim,v=g.pxSign,y=Math.max(t[m.index]+c,0),x=y;if(i){var _=Math.abs(d),b=o.retrieve(e.get("symbolMargin"),"15%")+"",S=!1;b.lastIndexOf("!")===b.length-1&&(S=!0,b=b.slice(0,b.length-1)),b=l(b,t[m.index]);var w=Math.max(y+2*b,0),M=S?0:2*b,I=u(i),A=I?i:P((_+M)/w);w=y+2*(b=(_-A*y)/2/(S?A:A-1)),M=S?0:2*b,I||"fixed"===i||(A=h?P((Math.abs(h)+M)/w):0),x=A*w-M,g.repeatTimes=A,g.symbolMargin=b}var T=v*(x/2),D=g.pathPosition=[];D[f.index]=n[f.wh]/2,D[m.index]="start"===s?T:"end"===s?d-T:d/2,r&&(D[0]+=r[0],D[1]+=r[1]);var C=g.bundlePosition=[];C[f.index]=n[f.xy],C[m.index]=n[m.xy];var L=g.barRectShape=o.extend({},n);L[m.wh]=v*Math.max(Math.abs(n[m.wh]),Math.abs(D[m.index]+T)),L[f.wh]=n[f.wh];var k=g.clipShape={};k[f.xy]=-n[f.xy],k[f.wh]=p.ecSize[f.wh],k[m.xy]=0,k[m.wh]=n[m.wh]}(n,y,a,r,0,x,c,v.valueLineWidth,v.boundingLength,v.repeatCutLength,i,v),v}function f(e,t){return e.toGlobalCoord(e.dataToCoord(e.scale.parse(t)))}function m(e){var t=e.symbolPatternSize,n=r(e.symbolType,-t/2,-t/2,t,t,e.color);return n.attr({culling:!0}),"image"!==n.type&&n.setStyle({strokeNoScale:!0}),n}function v(e,t,n,i){var o=e.__pictorialBundle,a=n.symbolSize,r=n.valueLineWidth,s=n.pathPosition,l=t.valueDim,u=n.repeatTimes||0,c=0,d=a[t.valueDim.index]+r+2*n.symbolMargin;for(D(e,(function(e){e.__pictorialAnimationIndex=c,e.__pictorialRepeatTimes=u,c0:i<0)&&(o=u-1-e),t[l.index]=d*(o-u/2+.5)+s[l.index],{position:t,scale:n.symbolScale.slice(),rotation:n.rotation}}function f(){D(e,(function(e){e.trigger("emphasis")}))}function v(){D(e,(function(e){e.trigger("normal")}))}}function y(e,t,n,i){var o=e.__pictorialBundle,a=e.__pictorialMainPath;a?C(a,null,{position:n.pathPosition.slice(),scale:n.symbolScale.slice(),rotation:n.rotation},n,i):(a=e.__pictorialMainPath=m(n),o.add(a),C(a,{position:n.pathPosition.slice(),scale:[0,0],rotation:n.rotation},{scale:n.symbolScale.slice()},n,i),a.on("mouseover",(function(){this.trigger("emphasis")})).on("mouseout",(function(){this.trigger("normal")}))),M(a,n)}function x(e,t,n){var i=o.extend({},t.barRectShape),r=e.__pictorialBarRect;r?C(r,null,{shape:i},t,n):(r=e.__pictorialBarRect=new a.Rect({z2:2,shape:i,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}}),e.add(r))}function _(e,t,n,i){if(n.symbolClip){var r=e.__pictorialClipPath,s=o.extend({},n.clipShape),l=t.valueDim,u=n.animationModel,c=n.dataIndex;if(r)a.updateProps(r,{shape:s},u,c);else{s[l.wh]=0,r=new a.Rect({shape:s}),e.__pictorialBundle.setClipPath(r),e.__pictorialClipPath=r;var d={};d[l.wh]=n.clipShape[l.wh],a[i?"updateProps":"initProps"](r,{shape:d},u,c)}}}function b(e,t){var n=e.getItemModel(t);return n.getAnimationDelayParams=S,n.isAnimationEnabled=w,n}function S(e){return{index:e.__pictorialAnimationIndex,count:e.__pictorialRepeatTimes}}function w(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function M(e,t){e.off("emphasis").off("normal");var n=t.symbolScale.slice();t.hoverAnimation&&e.on("emphasis",(function(){this.animateTo({scale:[1.1*n[0],1.1*n[1]]},400,"elasticOut")})).on("normal",(function(){this.animateTo({scale:n.slice()},400,"elasticOut")}))}function I(e,t,n,i){var o=new a.Group,r=new a.Group;return o.add(r),o.__pictorialBundle=r,r.attr("position",n.bundlePosition.slice()),n.symbolRepeat?v(o,t,n):y(o,0,n),x(o,n,i),_(o,t,n,i),o.__pictorialShapeStr=T(e,n),o.__pictorialSymbolMeta=n,o}function A(e,t,n,i){var r=i.__pictorialBarRect;r&&(r.style.text=null);var s=[];D(i,(function(e){s.push(e)})),i.__pictorialMainPath&&s.push(i.__pictorialMainPath),i.__pictorialClipPath&&(n=null),o.each(s,(function(e){a.updateProps(e,{scale:[0,0]},n,t,(function(){i.parent&&i.parent.remove(i)}))})),e.setItemGraphicEl(t,null)}function T(e,t){return[e.getItemVisual(t.dataIndex,"symbol")||"none",!!t.symbolRepeat,!!t.symbolClip].join(":")}function D(e,t,n){o.each(e.__pictorialBundle.children(),(function(i){i!==e.__pictorialBarRect&&t.call(n,i)}))}function C(e,t,n,i,o,r){t&&e.attr(t),i.symbolClip&&!o?n&&e.attr(n):n&&a[o?"updateProps":"initProps"](e,n,i.animationModel,i.dataIndex,r)}function L(e,t,n){var i=n.color,r=n.dataIndex,s=n.itemModel,l=s.getModel("itemStyle").getItemStyle(["color"]),u=s.getModel("emphasis.itemStyle").getItemStyle(),d=s.getShallow("cursor");D(e,(function(e){e.setColor(i),e.setStyle(o.defaults({fill:i,opacity:n.opacity},l)),a.setHoverStyle(e,u),d&&(e.cursor=d),e.z2=n.z2}));var h={},p=t.valueDim.posDesc[+(n.boundingLength>0)],g=e.__pictorialBarRect;c(g.style,h,s,i,t.seriesModel,r,p),a.setHoverStyle(g,h)}function P(e){var t=Math.round(e);return Math.abs(e-t)<1e-4?t:Math.ceil(e)}var k=i.extendChartView({type:"pictorialBar",render:function(e,t,n){var i=this.group,o=e.getData(),r=this._data,s=e.coordinateSystem,l=!!s.getBaseAxis().isHorizontal(),u=s.grid.getRect(),c={ecSize:{width:n.getWidth(),height:n.getHeight()},seriesModel:e,coordSys:s,coordSysExtent:[[u.x,u.x+u.width],[u.y,u.y+u.height]],isHorizontal:l,valueDim:h[+l],categoryDim:h[1-l]};return o.diff(r).add((function(e){if(o.hasValue(e)){var t=b(o,e),n=g(o,e,t,c),a=I(o,c,n);o.setItemGraphicEl(e,a),i.add(a),L(a,c,n)}})).update((function(e,t){var n=r.getItemGraphicEl(t);if(o.hasValue(e)){var s=b(o,e),l=g(o,e,s,c),u=T(o,l);n&&u!==n.__pictorialShapeStr&&(i.remove(n),o.setItemGraphicEl(e,null),n=null),n?function(e,t,n){var i=n.animationModel,o=n.dataIndex,r=e.__pictorialBundle;a.updateProps(r,{position:n.bundlePosition.slice()},i,o),n.symbolRepeat?v(e,t,n,!0):y(e,t,n,!0);x(e,n,!0),_(e,t,n,!0)}(n,c,l):n=I(o,c,l,!0),o.setItemGraphicEl(e,n),n.__pictorialSymbolMeta=l,i.add(n),L(n,c,l)}else i.remove(n)})).remove((function(e){var t=r.getItemGraphicEl(e);t&&A(r,e,t.__pictorialSymbolMeta.animationModel,t)})).execute(),this._data=o,this.group},dispose:o.noop,remove:function(e,t){var n=this.group,i=this._data;e.get("animation")?i&&i.eachItemGraphicEl((function(t){A(i,t.dataIndex,e,t)})):n.removeAll()}});e.exports=k},N5BQ:function(e,t,n){var i=n("OlYY").extend({type:"dataZoom.slider",layoutMode:"box",defaultOption:{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,backgroundColor:"rgba(47,69,84,0)",dataBackground:{lineStyle:{color:"#2f4554",width:.5,opacity:.3},areaStyle:{color:"rgba(47,69,84,0.3)",opacity:.3}},borderColor:"#ddd",fillerColor:"rgba(167,183,204,0.4)",handleIcon:"M8.2,13.6V3.9H6.3v9.7H3.1v14.9h3.3v9.7h1.8v-9.7h3.3V13.6H8.2z M9.7,24.4H4.8v-1.4h4.9V24.4z M9.7,19.1H4.8v-1.4h4.9V19.1z",handleSize:"100%",handleStyle:{color:"#a7b7cc"},labelPrecision:null,labelFormatter:null,showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:"#333"}}});e.exports=i},NA0q:function(e,t,n){var i=n("bYtY"),o=n("6Ic6"),a=n("TkdX"),r=n("gPAo"),s=n("7aKB").windowOpen,l=o.extend({type:"sunburst",init:function(){},render:function(e,t,n,o){var s=this;this.seriesModel=e,this.api=n,this.ecModel=t;var l=e.getData(),u=l.tree.root,c=e.getViewRoot(),d=this.group,h=e.get("renderLabelForZeroData"),p=[];c.eachNode((function(e){p.push(e)}));var g=this._oldChildren||[];if(function(n,o){if(0===n.length&&0===o.length)return;function s(e){return e.getId()}function c(i,r){!function(n,i){h||!n||n.getValue()||(n=null);if(n!==u&&i!==u)if(i&&i.piece)n?(i.piece.updateData(!1,n,"normal",e,t),l.setItemGraphicEl(n.dataIndex,i.piece)):function(e){if(!e)return;e.piece&&(d.remove(e.piece),e.piece=null)}(i);else if(n){var o=new a(n,e,t);d.add(o),l.setItemGraphicEl(n.dataIndex,o)}}(null==i?null:n[i],null==r?null:o[r])}new r(o,n,s,s).add(c).update(c).remove(i.curry(c,null)).execute()}(p,g),function(n,i){if(i.depth>0){s.virtualPiece?s.virtualPiece.updateData(!1,n,"normal",e,t):(s.virtualPiece=new a(n,e,t),d.add(s.virtualPiece)),i.piece._onclickEvent&&i.piece.off("click",i.piece._onclickEvent);var o=function(e){s._rootToNode(i.parentNode)};i.piece._onclickEvent=o,s.virtualPiece.on("click",o)}else s.virtualPiece&&(d.remove(s.virtualPiece),s.virtualPiece=null)}(u,c),o&&o.highlight&&o.highlight.piece){var f=e.getShallow("highlightPolicy");o.highlight.piece.onEmphasis(f)}else if(o&&o.unhighlight){var m=this.virtualPiece;!m&&u.children.length&&(m=u.children[0].piece),m&&m.onNormal()}this._initEvents(),this._oldChildren=p},dispose:function(){},_initEvents:function(){var e=this,t=function(t){var n=!1;e.seriesModel.getViewRoot().eachNode((function(i){if(!n&&i.piece&&i.piece.childAt(0)===t.target){var o=i.getModel().get("nodeClick");if("rootToNode"===o)e._rootToNode(i);else if("link"===o){var a=i.getModel(),r=a.get("link");if(r){var l=a.get("target",!0)||"_blank";s(r,l)}}n=!0}}))};this.group._onclickEvent&&this.group.off("click",this.group._onclickEvent),this.group.on("click",t),this.group._onclickEvent=t},_rootToNode:function(e){e!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:"sunburstRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:e})},containPoint:function(e,t){var n=t.getData().getItemLayout(0);if(n){var i=e[0]-n.cx,o=e[1]-n.cy,a=Math.sqrt(i*i+o*o);return a<=n.r&&a>=n.r0}}});e.exports=l},NH9N:function(e,t,n){var i=n("bYtY"),o=n("mFDi"),a=n("Fofx"),r=n("IwbS"),s=n("+TT/"),l=n("kzvK"),u=n("CMP+"),c=n("oVpE").createSymbol,d=n("aX7z"),h=n("OELB"),p=n("7aKB").encodeHTML,g=i.bind,f=i.each,m=Math.PI,v=l.extend({type:"timeline.slider",init:function(e,t){this.api=t,this._axis,this._viewRect,this._timer,this._currentPointer,this._mainGroup,this._labelGroup},render:function(e,t,n,i){if(this.model=e,this.api=n,this.ecModel=t,this.group.removeAll(),e.get("show",!0)){var o=this._layout(e,n),a=this._createGroup("mainGroup"),r=this._createGroup("labelGroup"),s=this._axis=this._createAxis(o,e);e.formatTooltip=function(e){return p(s.scale.getLabel(e))},f(["AxisLine","AxisTick","Control","CurrentPointer"],(function(t){this["_render"+t](o,a,s,e)}),this),this._renderAxisLabel(o,r,s,e),this._position(o,e)}this._doPlayStop()},remove:function(){this._clearTimer(),this.group.removeAll()},dispose:function(){this._clearTimer()},_layout:function(e,t){var n=e.get("label.position"),i=e.get("orient"),o=function(e,t){return s.getLayoutRect(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()},e.get("padding"))}(e,t);null==n||"auto"===n?n="horizontal"===i?o.y+o.height/2=0||"+"===n?"left":"right"},d={horizontal:n>=0||"+"===n?"top":"bottom",vertical:"middle"},h={horizontal:0,vertical:m/2},p="vertical"===i?o.height:o.width,g=e.getModel("controlStyle"),f=g.get("show",!0),v=f?g.get("itemSize"):0,y=f?g.get("itemGap"):0,x=v+y,_=e.get("label.rotate")||0;_=_*m/180;var b=g.get("position",!0),S=f&&g.get("showPlayBtn",!0),w=f&&g.get("showPrevBtn",!0),M=f&&g.get("showNextBtn",!0),I=0,A=p;return"left"===b||"bottom"===b?(S&&(a=[0,0],I+=x),w&&(r=[I,0],I+=x),M&&(l=[A-v,0],A-=x)):(S&&(a=[A-v,0],A-=x),w&&(r=[0,0],I+=x),M&&(l=[A-v,0],A-=x)),u=[I,A],e.get("inverse")&&u.reverse(),{viewRect:o,mainLength:p,orient:i,rotation:h[i],labelRotation:_,labelPosOpt:n,labelAlign:e.get("label.align")||c[i],labelBaseline:e.get("label.verticalAlign")||e.get("label.baseline")||d[i],playPosition:a,prevBtnPosition:r,nextBtnPosition:l,axisExtent:u,controlSize:v,controlGap:y}},_position:function(e,t){var n=this._mainGroup,i=this._labelGroup,o=e.viewRect;if("vertical"===e.orient){var r=a.create(),s=o.x,l=o.y+o.height;a.translate(r,r,[-s,-l]),a.rotate(r,r,-m/2),a.translate(r,r,[s,l]),(o=o.clone()).applyTransform(r)}var u=y(o),c=y(n.getBoundingRect()),d=y(i.getBoundingRect()),h=n.position,p=i.position;p[0]=h[0]=u[0][0];var g,f=e.labelPosOpt;isNaN(f)?(x(h,c,u,1,g="+"===f?0:1),x(p,d,u,1,1-g)):(x(h,c,u,1,g=f>=0?0:1),p[1]=h[1]+f);function v(e){var t=e.position;e.origin=[u[0][0]-t[0],u[1][0]-t[1]]}function y(e){return[[e.x,e.x+e.width],[e.y,e.y+e.height]]}function x(e,t,n,i,o){e[i]+=n[i][o]-t[i][o]}n.attr("position",h),i.attr("position",p),n.rotation=i.rotation=e.rotation,v(n),v(i)},_createAxis:function(e,t){var n=t.getData(),i=t.get("axisType"),o=d.createScaleByModel(t,i);o.getTicks=function(){return n.mapArray(["value"],(function(e){return e}))};var a=n.getDataExtent("value");o.setExtent(a[0],a[1]),o.niceTicks();var r=new u("value",o,e.axisExtent,i);return r.model=t,r},_createGroup:function(e){var t=this["_"+e]=new r.Group;return this.group.add(t),t},_renderAxisLine:function(e,t,n,o){var a=n.getExtent();o.get("lineStyle.show")&&t.add(new r.Line({shape:{x1:a[0],y1:0,x2:a[1],y2:0},style:i.extend({lineCap:"round"},o.getModel("lineStyle").getLineStyle()),silent:!0,z2:1}))},_renderAxisTick:function(e,t,n,i){var o=i.getData(),a=n.scale.getTicks();f(a,(function(e){var a=n.dataToCoord(e),s=o.getItemModel(e),l=s.getModel("itemStyle"),u=s.getModel("emphasis.itemStyle"),c={position:[a,0],onclick:g(this._changeTimeline,this,e)},d=y(s,l,t,c);r.setHoverStyle(d,u.getItemStyle()),s.get("tooltip")?(d.dataIndex=e,d.dataModel=i):d.dataIndex=d.dataModel=null}),this)},_renderAxisLabel:function(e,t,n,i){if(n.getLabelModel().get("show")){var o=i.getData(),a=n.getViewLabels();f(a,(function(i){var a=i.tickValue,s=o.getItemModel(a),l=s.getModel("label"),u=s.getModel("emphasis.label"),c=n.dataToCoord(i.tickValue),d=new r.Text({position:[c,0],rotation:e.labelRotation-e.rotation,onclick:g(this._changeTimeline,this,a),silent:!1});r.setTextStyle(d.style,l,{text:i.formattedLabel,textAlign:e.labelAlign,textVerticalAlign:e.labelBaseline}),t.add(d),r.setHoverStyle(d,r.setTextStyle({},u))}),this)}},_renderControl:function(e,t,n,i){var a=e.controlSize,s=e.rotation,l=i.getModel("controlStyle").getItemStyle(),u=i.getModel("emphasis.controlStyle").getItemStyle(),c=[0,-a/2,a,a],d=i.getPlayState(),h=i.get("inverse",!0);function p(e,n,d,h){if(e){var p=function(e,t,n,i){var a=i.style,s=r.createIcon(e.get(t),i||{},new o(n[0],n[1],n[2],n[3]));a&&s.setStyle(a);return s}(i,n,c,{position:e,origin:[a/2,0],rotation:h?-s:0,rectHover:!0,style:l,onclick:d});t.add(p),r.setHoverStyle(p,u)}}p(e.nextBtnPosition,"controlStyle.nextIcon",g(this._changeTimeline,this,h?"-":"+")),p(e.prevBtnPosition,"controlStyle.prevIcon",g(this._changeTimeline,this,h?"+":"-")),p(e.playPosition,"controlStyle."+(d?"stopIcon":"playIcon"),g(this._handlePlayClick,this,!d),!0)},_renderCurrentPointer:function(e,t,n,i){var o=i.getData(),a=i.getCurrentIndex(),r=o.getItemModel(a).getModel("checkpointStyle"),s=this,l={onCreate:function(e){e.draggable=!0,e.drift=g(s._handlePointerDrag,s),e.ondragend=g(s._handlePointerDragend,s),x(e,a,n,i,!0)},onUpdate:function(e){x(e,a,n,i)}};this._currentPointer=y(r,r,this._mainGroup,{},this._currentPointer,l)},_handlePlayClick:function(e){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:e,from:this.uid})},_handlePointerDrag:function(e,t,n){this._clearTimer(),this._pointerChangeTimeline([n.offsetX,n.offsetY])},_handlePointerDragend:function(e){this._pointerChangeTimeline([e.offsetX,e.offsetY],!0)},_pointerChangeTimeline:function(e,t){var n=this._toAxisCoord(e)[0],i=this._axis,o=h.asc(i.getExtent().slice());n>o[1]&&(n=o[1]),n0){var n=t.map((function(e){return e.project_id}));M(n)}}})).catch((function(e){}))}return(0,o.useEffect)((function(){I()}),[]),a.default.createElement(a.default.Fragment,null,a.default.createElement(u.default,{visible:x,onCancel:function(){return _(!1)},onSure:function(e){e&&0===e.length&&M([]);var n="/users/"+t+"/is_pinned_projects/pin.json";l.default.post(n,{is_pinned_project_ids:e}).then((function(e){e&&e.data&&(_(!1),I())})).catch((function(e){}))},username:t,choosed:w,completeProfile:d,showCompeleteDialog:c,history:h}),f&&f.length>0&&a.default.createElement("div",{className:"concentrate"},a.default.createElement(r.FlexAJ,null,a.default.createElement("span",{className:"font-18"},"精选项目"),n&&a.default.createElement("a",{className:"color-blue",onClick:function(){return _(!0)}},"自定义精选项目")),a.default.createElement("div",null,a.default.createElement("ul",{className:"concentrateUl"},f.map((function(e,t){return a.default.createElement("li",{key:e.id},a.default.createElement(s.Link,{to:"/"+(e.author&&e.author.login)+"/"+e.identifier,className:"name"},e.name),a.default.createElement("p",{className:"task-hide desc"},e.description),a.default.createElement(r.AlignCenter,null,e.category&&a.default.createElement("span",{className:"tagName"},e.category.name),a.default.createElement("span",{className:"pariseCount"},a.default.createElement("i",{className:"iconfont icon-guanzhu"}),e.watchers_count),a.default.createElement("span",{className:"forkCount"},a.default.createElement("i",{className:"iconfont icon-fork"}),e.forked_count)))}))))),f&&0===f.length&&n&&a.default.createElement("div",{className:"ConcentrateTip"},a.default.createElement("i",{className:"iconfont icon-tishi2"}),"你还没有设置精选项目,",a.default.createElement("a",{onClick:function(){return _(!0)}},"点击设置")))}},OUJF:function(e,t,n){var i=n("ProS"),o=n("bYtY");i.registerAction({type:"timelineChange",event:"timelineChanged",update:"prepareAndUpdate"},(function(e,t){var n=t.getComponent("timeline");return n&&null!=e.currentIndex&&(n.setCurrentIndex(e.currentIndex),!n.get("loop",!0)&&n.isIndexMax()&&n.setPlayState(!1)),t.resetOption("timeline"),o.defaults({currentIndex:n.option.currentIndex},e)})),i.registerAction({type:"timelinePlayChange",event:"timelinePlayChanged",update:"update"},(function(e,t){var n=t.getComponent("timeline");n&&null!=e.playState&&n.setPlayState(e.playState)}))},OXB0:function(e,t,n){var i=n("T4UG"),o=n("MwEJ"),a=n("IDmD"),r=i.extend({type:"series.heatmap",getInitialData:function(e,t){return o(this.getSource(),this,{generateCoord:"value"})},preventIncremental:function(){var e=a.get(this.get("coordinateSystem"));if(e&&e.dimensions)return"lng"===e.dimensions[0]&&"lat"===e.dimensions[1]},defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,geoIndex:0,blurSize:30,pointSize:20,maxOpacity:1,minOpacity:0}});e.exports=r},OlYY:function(e,t,n){n("Tghj").__DEV__;var i=n("ProS"),o=n("bYtY"),a=n("ItGF"),r=n("4NO4"),s=n("UOVi"),l=n("zDms"),u=o.each,c=s.eachAxisDim;function d(e){var t={};return u(["start","end","startValue","endValue","throttle"],(function(n){e.hasOwnProperty(n)&&(t[n]=e[n])})),t}function h(e,t){var n=e._rangePropMode,i=e.get("rangeMode");u([["start","startValue"],["end","endValue"]],(function(e,o){var a=null!=t[e[0]],r=null!=t[e[1]];a&&!r?n[o]="percent":!a&&r?n[o]="value":i?n[o]=i[o]:a&&(n[o]="percent")}))}var p=i.extendComponentModel({type:"dataZoom",dependencies:["xAxis","yAxis","zAxis","radiusAxis","angleAxis","singleAxis","series"],defaultOption:{zlevel:0,z:4,orient:null,xAxisIndex:null,yAxisIndex:null,filterMode:"filter",throttle:null,start:0,end:100,startValue:null,endValue:null,minSpan:null,maxSpan:null,minValueSpan:null,maxValueSpan:null,rangeMode:null},init:function(e,t,n){this._dataIntervalByAxis={},this._dataInfo={},this._axisProxies={},this.textStyleModel,this._autoThrottle=!0,this._rangePropMode=["percent","percent"];var i=d(e);this.settledOption=i,this.mergeDefaultAndTheme(e,n),this.doInit(i)},mergeOption:function(e){var t=d(e);o.merge(this.option,e,!0),o.merge(this.settledOption,t,!0),this.doInit(t)},doInit:function(e){var t=this.option;a.canvasSupported||(t.realtime=!1),this._setDefaultThrottle(e),h(this,e);var n=this.settledOption;u([["start","startValue"],["end","endValue"]],(function(e,i){"value"===this._rangePropMode[i]&&(t[e[0]]=n[e[0]]=null)}),this),this.textStyleModel=this.getModel("textStyle"),this._resetTarget(),this._giveAxisProxies()},_giveAxisProxies:function(){var e=this._axisProxies;this.eachTargetAxis((function(t,n,i,o){var a=this.dependentModels[t.axis][n],r=a.__dzAxisProxy||(a.__dzAxisProxy=new l(t.name,n,this,o));e[t.name+"_"+n]=r}),this)},_resetTarget:function(){var e=this.option,t=this._judgeAutoMode();c((function(t){var n=t.axisIndex;e[n]=r.normalizeToArray(e[n])}),this),"axisIndex"===t?this._autoSetAxisIndex():"orient"===t&&this._autoSetOrient()},_judgeAutoMode:function(){var e=this.option,t=!1;c((function(n){null!=e[n.axisIndex]&&(t=!0)}),this);var n=e.orient;return null==n&&t?"orient":t?void 0:(null==n&&(e.orient="horizontal"),"axisIndex")},_autoSetAxisIndex:function(){var e=!0,t=this.get("orient",!0),n=this.option,i=this.dependentModels;if(e){var a="vertical"===t?"y":"x";i[a+"Axis"].length?(n[a+"AxisIndex"]=[0],e=!1):u(i.singleAxis,(function(i){e&&i.get("orient",!0)===t&&(n.singleAxisIndex=[i.componentIndex],e=!1)}))}e&&c((function(t){if(e){var i=[],o=this.dependentModels[t.axis];if(o.length&&!i.length)for(var a=0,r=o.length;a0?100:20}},getFirstTargetAxisModel:function(){var e;return c((function(t){if(null==e){var n=this.get(t.axisIndex);n.length&&(e=this.dependentModels[t.axis][n[0]])}}),this),e},eachTargetAxis:function(e,t){var n=this.ecModel;c((function(i){u(this.get(i.axisIndex),(function(o){e.call(t,i,o,this,n)}),this)}),this)},getAxisProxy:function(e,t){return this._axisProxies[e+"_"+t]},getAxisModel:function(e,t){var n=this.getAxisProxy(e,t);return n&&n.getAxisModel()},setRawRange:function(e){var t=this.option,n=this.settledOption;u([["start","startValue"],["end","endValue"]],(function(i){null==e[i[0]]&&null==e[i[1]]||(t[i[0]]=n[i[0]]=e[i[0]],t[i[1]]=n[i[1]]=e[i[1]])}),this),h(this,e)},setCalculatedRange:function(e){var t=this.option;u(["start","startValue","end","endValue"],(function(n){t[n]=e[n]}))},getPercentRange:function(){var e=this.findRepresentativeAxisProxy();if(e)return e.getDataPercentWindow()},getValueRange:function(e,t){if(null!=e||null!=t)return this.getAxisProxy(e,t).getDataValueWindow();var n=this.findRepresentativeAxisProxy();return n?n.getDataValueWindow():void 0},findRepresentativeAxisProxy:function(e){if(e)return e.__dzAxisProxy;var t=this._axisProxies;for(var n in t)if(t.hasOwnProperty(n)&&t[n].hostedBy(this))return t[n];for(var n in t)if(t.hasOwnProperty(n)&&!t[n].hostedBy(this))return t[n]},getRangePropMode:function(){return this._rangePropMode.slice()}});e.exports=p},P47w:function(e,t,n){var i=n("hydK").createElement,o=n("IMiH"),a=n("mFDi"),r=n("Fofx"),s=n("6GrX"),l=n("pzxd"),u=n("dqUG"),c=o.CMD,d=Array.prototype.join,h=Math.round,p=Math.sin,g=Math.cos,f=Math.PI,m=2*Math.PI,v=180/f;function y(e){return h(1e4*e)/1e4}function x(e){return e<1e-4&&e>-1e-4}function _(e,t){t&&b(e,"transform","matrix("+d.call(t,",")+")")}function b(e,t,n){(!n||"linear"!==n.type&&"radial"!==n.type)&&e.setAttribute(t,n)}function S(e,t,n,i){if(function(e,t){var n=t?e.textFill:e.fill;return null!=n&&"none"!==n}(t,n)){var o=n?t.textFill:t.fill;b(e,"fill",o="transparent"===o?"none":o),b(e,"fill-opacity",null!=t.fillOpacity?t.fillOpacity*t.opacity:t.opacity)}else b(e,"fill","none");if(function(e,t){var n=t?e.textStroke:e.stroke;return null!=n&&"none"!==n}(t,n)){var a=n?t.textStroke:t.stroke;b(e,"stroke",a="transparent"===a?"none":a),b(e,"stroke-width",(n?t.textStrokeWidth:t.lineWidth)/(!n&&t.strokeNoScale?i.getLineScale():1)),b(e,"paint-order",n?"stroke":"fill"),b(e,"stroke-opacity",null!=t.strokeOpacity?t.strokeOpacity:t.opacity),t.lineDash?(b(e,"stroke-dasharray",t.lineDash.join(",")),b(e,"stroke-dashoffset",h(t.lineDashOffset||0))):b(e,"stroke-dasharray",""),t.lineCap&&b(e,"stroke-linecap",t.lineCap),t.lineJoin&&b(e,"stroke-linejoin",t.lineJoin),t.miterLimit&&b(e,"stroke-miterlimit",t.miterLimit)}else b(e,"stroke","none")}var w={};w.brush=function(e){var t=e.style,n=e.__svgEl;n||(n=i("path"),e.__svgEl=n),e.path||e.createPathProxy();var o=e.path;if(e.__dirtyPath){o.beginPath(),o.subPixelOptimize=!1,e.buildPath(o,e.shape),e.__dirtyPath=!1;var a=function(e){for(var t=[],n=e.data,i=e.len(),o=0;o=m:-b>=m),A=b>0?b%m:b%m+m,T=!1;T=!!I||!x(M)&&A>=f==!!w;var D=y(s+u*g(_)),C=y(l+d*p(_));I&&(b=w?m-1e-4:1e-4-m,T=!0,9===o&&t.push("M",D,C));var L=y(s+u*g(_+b)),P=y(l+d*p(_+b));t.push("A",y(u),y(d),h(S*v),+T,+w,L,P);break;case c.Z:a="Z";break;case c.R:L=y(n[o++]),P=y(n[o++]);var k=y(n[o++]),N=y(n[o++]);t.push("M",L,P,"L",L+k,P,"L",L+k,P+N,"L",L,P+N,"L",L,P)}a&&t.push(a);for(var E=0;EV){for(;Oe[1])break;n.push({color:this.getControllerVisual(a,"color",t),offset:o/100})}return n.push({color:this.getControllerVisual(e[1],"color",t),offset:1}),n},_createBarPoints:function(e,t){var n=this.visualMapModel.itemSize;return[[n[0]-t[0],e[0]],[n[0],e[0]],[n[0],e[1]],[n[0]-t[1],e[1]]]},_createBarGroup:function(e){var t=this._orient,n=this.visualMapModel.get("inverse");return new s.Group("horizontal"!==t||n?"horizontal"===t&&n?{scale:"bottom"===e?[-1,1]:[1,1],rotation:-Math.PI/2}:"vertical"!==t||n?{scale:"left"===e?[1,1]:[-1,1]}:{scale:"left"===e?[1,-1]:[-1,-1]}:{scale:"bottom"===e?[1,1]:[-1,1],rotation:Math.PI/2})},_updateHandle:function(e,t){if(this._useHandle){var n=this._shapes,i=this.visualMapModel,o=n.handleThumbs,a=n.handleLabels;p([0,1],(function(r){var l=o[r];l.setStyle("fill",t.handlesColor[r]),l.position[1]=e[r];var u=s.applyTransform(n.handleLabelPoints[r],s.getTransform(l,this.group));a[r].setStyle({x:u[0],y:u[1],text:i.formatValueText(this._dataInterval[r]),textVerticalAlign:"middle",textAlign:this._applyTransform("horizontal"===this._orient?0===r?"bottom":"top":"left",n.barGroup)})}),this)}},_showIndicator:function(e,t,n,i){var o=this.visualMapModel,a=o.getExtent(),r=o.itemSize,l=[0,r[1]],u=h(e,a,l,!0),c=this._shapes,d=c.indicator;if(d){d.position[1]=u,d.attr("invisible",!1),d.setShape("points",function(e,t,n,i){return e?[[0,-g(t,f(n,0))],[6,0],[0,g(t,f(i-n,0))]]:[[0,0],[5,-5],[5,5]]}(!!n,i,u,r[1]));var p=this.getControllerVisual(e,"color",{convertOpacityToAlpha:!0});d.setStyle("fill",p);var m=s.applyTransform(c.indicatorLabelPoint,s.getTransform(d,this.group)),v=c.indicatorLabel;v.attr("invisible",!1);var y=this._applyTransform("left",c.barGroup),x=this._orient;v.setStyle({text:(n||"")+o.formatValueText(t),textVerticalAlign:"horizontal"===x?y:"middle",textAlign:"horizontal"===x?"center":y,x:m[0],y:m[1]})}},_enableHoverLinkToSeries:function(){var e=this;this._shapes.barGroup.on("mousemove",(function(t){if(e._hovering=!0,!e._dragging){var n=e.visualMapModel.itemSize,i=e._applyTransform([t.offsetX,t.offsetY],e._shapes.barGroup,!0,!0);i[1]=g(f(0,i[1]),n[1]),e._doHoverLinkToSeries(i[1],0<=i[0]&&i[0]<=n[0])}})).on("mouseout",(function(){e._hovering=!1,!e._dragging&&e._clearHoverLinkToSeries()}))},_enableHoverLinkFromSeries:function(){var e=this.api.getZr();this.visualMapModel.option.hoverLink?(e.on("mouseover",this._hoverLinkFromSeriesMouseOver,this),e.on("mouseout",this._hideIndicator,this)):this._clearHoverLinkFromSeries()},_doHoverLinkToSeries:function(e,t){var n=this.visualMapModel,i=n.itemSize;if(n.option.hoverLink){var o=[0,i[1]],a=n.getExtent();e=g(f(o[0],e),o[1]);var r=function(e,t,n){var i=6,o=e.get("hoverLinkDataSize");o&&(i=h(o,t,n,!0)/2);return i}(n,a,o),s=[e-r,e+r],l=h(e,o,a,!0),u=[h(s[0],o,a,!0),h(s[1],o,a,!0)];s[0]o[1]&&(u[1]=1/0),t&&(u[0]===-1/0?this._showIndicator(l,u[1],"< ",r):u[1]===1/0?this._showIndicator(l,u[0],"> ",r):this._showIndicator(l,l,"≈ ",r));var p=this._hoverLinkDataIndices,m=[];(t||y(n))&&(m=this._hoverLinkDataIndices=n.findTargetDataIndices(u));var v=d.compressBatches(p,m);this._dispatchHighDown("downplay",c.makeHighDownBatch(v[0],n)),this._dispatchHighDown("highlight",c.makeHighDownBatch(v[1],n))}},_hoverLinkFromSeriesMouseOver:function(e){var t=e.target,n=this.visualMapModel;if(t&&null!=t.dataIndex){var i=this.ecModel.getSeriesByIndex(t.seriesIndex);if(n.isTargetSeries(i)){var o=i.getData(t.dataType),a=o.get(n.getDataDimension(o),t.dataIndex,!0);isNaN(a)||this._showIndicator(a,a)}}},_hideIndicator:function(){var e=this._shapes;e.indicator&&e.indicator.attr("invisible",!0),e.indicatorLabel&&e.indicatorLabel.attr("invisible",!0)},_clearHoverLinkToSeries:function(){this._hideIndicator();var e=this._hoverLinkDataIndices;this._dispatchHighDown("downplay",c.makeHighDownBatch(e,this.visualMapModel)),e.length=0},_clearHoverLinkFromSeries:function(){this._hideIndicator();var e=this.api.getZr();e.off("mouseover",this._hoverLinkFromSeriesMouseOver),e.off("mouseout",this._hideIndicator)},_applyTransform:function(e,t,n,o){var a=s.getTransform(t,o?null:this.group);return s[i.isArray(e)?"applyTransform":"transformDirection"](e,a,n)},_dispatchHighDown:function(e,t){t&&t.length&&this.api.dispatchAction({type:e,batch:t})},dispose:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},remove:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()}});function v(e,t,n,i){return new s.Polygon({shape:{points:e},draggable:!!n,cursor:t,drift:n,onmousemove:function(e){a.stop(e.event)},ondragend:i})}function y(e){var t=e.get("hoverLinkOnHandle");return!!(null==t?e.get("realtime"):t)}function x(e){return"vertical"===e?"ns-resize":"ew-resize"}var _=m;e.exports=_},Q7if:function(e,t,n){var i=n("JEkh").extend({type:"markArea",defaultOption:{zlevel:0,z:1,tooltip:{trigger:"item"},animation:!1,label:{show:!0,position:"top"},itemStyle:{borderWidth:0},emphasis:{label:{show:!0,position:"top"}}}});e.exports=i},QI0a:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=h(n("kLXV")),o=h(n("W9HT")),a=h(n("kaz8")),r=h(n("5rEg")),s=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],i=!0,o=!1,a=void 0;try{for(var r,s=e[Symbol.iterator]();!(i=(r=s.next()).done)&&(n.push(r.value),!t||n.length!==t);i=!0);}catch(e){o=!0,a=e}finally{try{!i&&s.return&&s.return()}finally{if(o)throw a}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};n("k3Gp"),n("04bd"),n("MKzF"),n("1vPl");var l=n("q1tI"),u=h(l),c=h(n("vDqi")),d=h(n("aqs5"));function h(e){return e&&e.__esModule?e:{default:e}}var p=r.default.Search;t.default=function(e){var t=e.visible,n=e.onCancel,r=e.onSure,h=e.username,g=e.choosed,f=e.history,m=e.showCompeleteDialog,v=e.completeProfile,y=(0,l.useState)(1),x=s(y,2),_=x[0],b=x[1],S=(0,l.useState)(0),w=s(S,2),M=w[0],I=w[1],A=(0,l.useState)(!1),T=s(A,2),D=T[0],C=T[1],L=(0,l.useState)(void 0),P=s(L,2),k=P[0],N=P[1],E=(0,l.useState)([]),O=s(E,2),R=O[0],V=O[1],z=(0,l.useState)([]),B=s(z,2),G=B[0],Y=B[1],H=(0,l.useState)(!0),W=s(H,2),F=W[0],j=W[1],Z=(0,l.useState)(!1),U=s(Z,2),X=U[0],q=U[1],K=(0,l.useState)([]),Q=s(K,2),J=Q[0],$=Q[1],ee=(0,l.useState)([]),te=s(ee,2),ne=te[0],ie=te[1];function oe(e,t){var n="/users/"+h+"/projects.json";c.default.get(n,{params:{page:e,limit:20,is_public:"public",search:t,choosed:g}}).then((function(e){if(e&&e.data){var t=k?e.data.projects:(o=R,a=e.data.projects,o.map((function(e,t){if(""!==e){var n=a.indexOf(e);n>-1&&a.splice(n,1)}})),o=o.concat(a));ie(k?ne:t),I(e.data.count),V(t),j(!1);var n=parseInt(e.data.count/20,0),i=e.data.count%20;C(i>0?n+1:n)}var o,a})).catch((function(e){}))}return(0,l.useEffect)((function(){t?(j(!0),oe()):(N(void 0),ie([]),$([]),V([]))}),[t]),(0,l.useEffect)((function(){_>1&&(j(!0),oe(_,void 0))}),[_]),(0,l.useEffect)((function(){t&&g&&g.length>0&&Y(g)}),[t,g]),(0,l.useEffect)((function(){G&&6===G.length?q(!0):q(!1)}),[G]),u.default.createElement(i.default,{visible:t,title:"选择精选项目",closable:!0,width:500,className:"ConcentrateBox",onCancel:n,onOk:function(){r&&r(G),Y([])},okText:"确定",cancelText:"取消"},u.default.createElement(o.default,{spinning:F},u.default.createElement("div",{className:"operateDiv"},u.default.createElement("p",null,"最多可选取6个公开仓库"),u.default.createElement(p,{placeholder:"请输入项目名称进行搜索",onSearch:function(e){e===k&&""===e||(ie(R),G&&G.length>0?function(e){if(e&&e.length>0){for(var t=[],n=0;n0&&t.push(i[0])}$(t)}}(G):$([]),b(1),N(e),oe(1,e))},enterButton:"搜索",allowClear:!0,value:k,onChange:function(e){return N(e.target.value)}})),u.default.createElement("div",{className:"listbox"},u.default.createElement(a.default.Group,{value:G,onChange:function(e){Y(e)},style:{width:"100%"}},J&&J.length>0&&J.map((function(e,t){return u.default.createElement(a.default,{value:e.id,disabled:X&&0===G.filter((function(t){return t===e.id})).length},e.author&&e.author.name,"/",e.name)})),R&&R.length>0&&R.map((function(e,t){return!(J&&J.length>0&&0!==J.filter((function(t){return t.id===e.id})).length)&&u.default.createElement(a.default,{value:e.id,disabled:X&&0===G.filter((function(t){return t===e.id})).length},e.author&&e.author.name,"/",e.name)})))),M>20&&_=t.y&&e[1]<=t.y+t.height:n.contain(n.toLocalCoord(e[1]))&&e[0]>=t.y&&e[0]<=t.y+t.height},pointToData:function(e){var t=this.getAxis();return[t.coordToData(t.toLocalCoord(e["horizontal"===t.orient?0:1]))]},dataToPoint:function(e){var t=this.getAxis(),n=this.getRect(),i=[],o="horizontal"===t.orient?0:1;return e instanceof Array&&(e=e[0]),i[o]=t.toGlobalCoord(t.dataToCoord(+e)),i[1-o]=0===o?n.y+n.height/2:n.x+n.width/2,i}};var l=s;e.exports=l},"SA4+":function(e,t,n){n("Tghj").__DEV__;var i=n("ProS"),o=n("IwbS"),a=n("zYTA"),r=n("bYtY");var s=i.extendChartView({type:"heatmap",render:function(e,t,n){var i;t.eachComponent("visualMap",(function(t){t.eachTargetSeries((function(n){n===e&&(i=t)}))})),this.group.removeAll(),this._incrementalDisplayable=null;var o=e.coordinateSystem;"cartesian2d"===o.type||"calendar"===o.type?this._renderOnCartesianAndCalendar(e,n,0,e.getData().count()):function(e){var t=e.dimensions;return"lng"===t[0]&&"lat"===t[1]}(o)&&this._renderOnGeo(o,e,i,n)},incrementalPrepareRender:function(e,t,n){this.group.removeAll()},incrementalRender:function(e,t,n,i){t.coordinateSystem&&this._renderOnCartesianAndCalendar(t,i,e.start,e.end,!0)},_renderOnCartesianAndCalendar:function(e,t,n,i,a){var s,l,u=e.coordinateSystem;if("cartesian2d"===u.type){var c=u.getAxis("x"),d=u.getAxis("y");s=c.getBandWidth(),l=d.getBandWidth()}for(var h=this.group,p=e.getData(),g=e.getModel("itemStyle").getItemStyle(["color"]),f=e.getModel("emphasis.itemStyle").getItemStyle(),m=e.getModel("label"),v=e.getModel("emphasis.label"),y=u.type,x="cartesian2d"===y?[p.mapDimension("x"),p.mapDimension("y"),p.mapDimension("value")]:[p.mapDimension("time"),p.mapDimension("value")],_=n;_=t[0]&&e<=t[1]}}(b,n.option.range):function(e,t,n){var i=e[1]-e[0],o=(t=r.map(t,(function(t){return{interval:[(t.interval[0]-e[0])/i,(t.interval[1]-e[0])/i]}}))).length,a=0;return function(e){for(var i=a;i=0;i--){var r;if((r=t[i].interval)[0]<=e&&e<=r[1]){a=i;break}}return i>=0&&i=0?i+=f:i-=f:_>=0?i-=f:i+=f}return i}e.exports=function(e,t){var n=[],r=i.quadraticSubdivide,s=[[],[],[]],l=[[],[]],u=[];t/=2,e.eachEdge((function(e,i){var c=e.getLayout(),d=e.getVisual("fromSymbol"),p=e.getVisual("toSymbol");c.__original||(c.__original=[o.clone(c[0]),o.clone(c[1])],c[2]&&c.__original.push(o.clone(c[2])));var g=c.__original;if(null!=c[2]){if(o.copy(s[0],g[0]),o.copy(s[1],g[2]),o.copy(s[2],g[1]),d&&"none"!==d){var f=a(e.node1),m=h(s,g[0],f*t);r(s[0][0],s[1][0],s[2][0],m,n),s[0][0]=n[3],s[1][0]=n[4],r(s[0][1],s[1][1],s[2][1],m,n),s[0][1]=n[3],s[1][1]=n[4]}if(p&&"none"!==p){f=a(e.node2),m=h(s,g[1],f*t);r(s[0][0],s[1][0],s[2][0],m,n),s[1][0]=n[1],s[2][0]=n[2],r(s[0][1],s[1][1],s[2][1],m,n),s[1][1]=n[1],s[2][1]=n[2]}o.copy(c[0],s[0]),o.copy(c[1],s[2]),o.copy(c[2],s[1])}else{if(o.copy(l[0],g[0]),o.copy(l[1],g[1]),o.sub(u,l[1],l[0]),o.normalize(u,u),d&&"none"!==d){f=a(e.node1);o.scaleAndAdd(l[0],l[0],u,f*t)}if(p&&"none"!==p){f=a(e.node2);o.scaleAndAdd(l[1],l[1],u,-f*t)}o.copy(c[0],l[0]),o.copy(c[1],l[1])}}))}},SMc4:function(e,t,n){var i=n("bYtY"),o=n("bLfw"),a=n("nkfE"),r=n("ICMv"),s=o.extend({type:"cartesian2dAxis",axis:null,init:function(){s.superApply(this,"init",arguments),this.resetRange()},mergeOption:function(){s.superApply(this,"mergeOption",arguments),this.resetRange()},restoreData:function(){s.superApply(this,"restoreData",arguments),this.resetRange()},getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"grid",index:this.option.gridIndex,id:this.option.gridId})[0]}});function l(e,t){return t.type||(t.data?"category":"value")}i.merge(s.prototype,r);var u={offset:0};a("x",s,l,u),a("y",s,l,u);var c=s;e.exports=c},SehX:function(e,t,n){var i=n("ProS"),o=n("bYtY"),a=n("2B6p").updateCenterAndZoom;i.registerAction({type:"geoRoam",event:"geoRoam",update:"updateTransform"},(function(e,t){var n=e.componentType||"series";t.eachComponent({mainType:n,query:e},(function(t){var i=t.coordinateSystem;if("geo"===i.type){var r=a(i,e,t.get("scaleLimit"));t.setCenter&&t.setCenter(r.center),t.setZoom&&t.setZoom(r.zoom),"series"===n&&o.each(t.seriesGroup,(function(e){e.setCenter(r.center),e.setZoom(r.zoom)}))}}))}))},SgGq:function(e,t,n){var i=n("bYtY"),o=n("H6uX"),a=n("YH21"),r=n("pP6R");function s(e){this.pointerChecker,this._zr=e,this._opt={};var t=i.bind,n=t(l,this),a=t(u,this),r=t(c,this),s=t(d,this),p=t(h,this);o.call(this),this.setPointerChecker=function(e){this.pointerChecker=e},this.enable=function(t,o){this.disable(),this._opt=i.defaults(i.clone(o)||{},{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),null==t&&(t=!0),!0!==t&&"move"!==t&&"pan"!==t||(e.on("mousedown",n),e.on("mousemove",a),e.on("mouseup",r)),!0!==t&&"scale"!==t&&"zoom"!==t||(e.on("mousewheel",s),e.on("pinch",p))},this.disable=function(){e.off("mousedown",n),e.off("mousemove",a),e.off("mouseup",r),e.off("mousewheel",s),e.off("pinch",p)},this.dispose=this.disable,this.isDragging=function(){return this._dragging},this.isPinching=function(){return this._pinching}}function l(e){if(!(a.isMiddleOrRightButtonOnMouseUpDown(e)||e.target&&e.target.draggable)){var t=e.offsetX,n=e.offsetY;this.pointerChecker&&this.pointerChecker(e,t,n)&&(this._x=t,this._y=n,this._dragging=!0)}}function u(e){if(this._dragging&&f("moveOnMouseMove",e,this._opt)&&"pinch"!==e.gestureEvent&&!r.isTaken(this._zr,"globalPan")){var t=e.offsetX,n=e.offsetY,i=this._x,o=this._y,s=t-i,l=n-o;this._x=t,this._y=n,this._opt.preventDefaultMouseMove&&a.stop(e.event),g(this,"pan","moveOnMouseMove",e,{dx:s,dy:l,oldX:i,oldY:o,newX:t,newY:n})}}function c(e){a.isMiddleOrRightButtonOnMouseUpDown(e)||(this._dragging=!1)}function d(e){var t=f("zoomOnMouseWheel",e,this._opt),n=f("moveOnMouseWheel",e,this._opt),i=e.wheelDelta,o=Math.abs(i),a=e.offsetX,r=e.offsetY;if(0!==i&&(t||n)){if(t){var s=o>3?1.4:o>1?1.2:1.1;p(this,"zoom","zoomOnMouseWheel",e,{scale:i>0?s:1/s,originX:a,originY:r})}if(n){var l=Math.abs(i);p(this,"scrollMove","moveOnMouseWheel",e,{scrollDelta:(i>0?1:-1)*(l>3?.4:l>1?.15:.05),originX:a,originY:r})}}}function h(e){r.isTaken(this._zr,"globalPan")||p(this,"zoom",null,e,{scale:e.pinchScale>1?1.1:1/1.1,originX:e.pinchX,originY:e.pinchY})}function p(e,t,n,i,o){e.pointerChecker&&e.pointerChecker(i,o.originX,o.originY)&&(a.stop(i.event),g(e,t,n,i,o))}function g(e,t,n,o,a){a.isAvailableBehavior=i.bind(f,null,n,o),e.trigger(t,a)}function f(e,t,n){var o=n[e];return!e||o&&(!i.isString(o)||t.event[o+"Key"])}i.mixin(s,o);var m=s;e.exports=m},SrGk:function(e,t,n){var i=n("hydK").createElement,o=n("bYtY"),a=n("y+Vt"),r=n("Dagg"),s=n("dqUG"),l=n("P47w"),u=l.path,c=l.image,d=l.text;function h(e,t,n,i,o){this._zrId=e,this._svgRoot=t,this._tagNames="string"==typeof n?[n]:n,this._markLabel=i,this._domName=o||"_dom",this.nextId=0}h.prototype.createElement=i,h.prototype.getDefs=function(e){var t=this._svgRoot,n=this._svgRoot.getElementsByTagName("defs");return 0===n.length?e?((n=t.insertBefore(this.createElement("defs"),t.firstChild)).contains||(n.contains=function(e){var t=n.children;if(!t)return!1;for(var i=t.length-1;i>=0;--i)if(t[i]===e)return!0;return!1}),n):null:n[0]},h.prototype.update=function(e,t){if(e){var n=this.getDefs(!1);if(e[this._domName]&&n.contains(e[this._domName]))"function"==typeof t&&t(e);else{var i=this.add(e);i&&(e[this._domName]=i)}}},h.prototype.addDom=function(e){this.getDefs(!0).appendChild(e)},h.prototype.removeDom=function(e){var t=this.getDefs(!1);t&&e[this._domName]&&(t.removeChild(e[this._domName]),e[this._domName]=null)},h.prototype.getDoms=function(){var e=this.getDefs(!1);if(!e)return[];var t=[];return o.each(this._tagNames,(function(n){var i=e.getElementsByTagName(n);t=t.concat([].slice.call(i))})),t},h.prototype.markAllUnused=function(){var e=this.getDoms(),t=this;o.each(e,(function(e){e[t._markLabel]="0"}))},h.prototype.markUsed=function(e){e&&(e[this._markLabel]="1")},h.prototype.removeUnused=function(){var e=this.getDefs(!1);if(e){var t=this.getDoms(),n=this;o.each(t,(function(t){"1"!==t[n._markLabel]&&e.removeChild(t)}))}},h.prototype.getSvgProxy=function(e){return e instanceof a?u:e instanceof r?c:e instanceof s?d:u},h.prototype.getTextSvgElement=function(e){return e.__textSvgEl},h.prototype.getSvgElement=function(e){return e.__svgEl};var p=h;e.exports=p},Swgg:function(e,t,n){var i=n("fc+c").extend({type:"dataZoom.select"});e.exports=i},TIY9:function(e,t,n){var i=n("bYtY").each,o=n("vafp"),a=n("4NO4").makeInner,r=n("Mgri"),s=n("F5Ls"),l=n("a9QJ"),u=n("p/La"),c=a(),d={load:function(e,t,n){var a=c(t).parsed;if(a)return a;var d,p=t.specialAreas||{},g=t.geoJSON;try{d=g?o(g,n):[]}catch(e){throw new Error("Invalid geoJson format\n"+e.message)}return r(e,d),i(d,(function(t){var n=t.name;s(e,t),l(e,t),u(e,t);var i=p[n];i&&t.transformTo(i.left,i.top,i.width,i.height)})),c(t).parsed={regions:d,boundingRect:h(d)}}};function h(e){for(var t,n=0;n0?r:s)}function i(e,t){return t.get(e>0?o:a)}}};e.exports=l},TWL2:function(e,t,n){var i=n("IwbS"),o=n("bYtY"),a=n("6Ic6");function r(e,t){i.Group.call(this);var n=new i.Polygon,o=new i.Polyline,a=new i.Text;this.add(n),this.add(o),this.add(a),this.highDownOnUpdate=function(e,t){"emphasis"===t?(o.ignore=o.hoverIgnore,a.ignore=a.hoverIgnore):(o.ignore=o.normalIgnore,a.ignore=a.normalIgnore)},this.updateData(e,t,!0)}var s=r.prototype,l=["itemStyle","opacity"];s.updateData=function(e,t,n){var a=this.childAt(0),r=e.hostModel,s=e.getItemModel(t),u=e.getItemLayout(t),c=e.getItemModel(t).get(l);c=null==c?1:c,a.useStyle({}),n?(a.setShape({points:u.points}),a.setStyle({opacity:0}),i.initProps(a,{style:{opacity:c}},r,t)):i.updateProps(a,{style:{opacity:c},shape:{points:u.points}},r,t);var d=s.getModel("itemStyle"),h=e.getItemVisual(t,"color");a.setStyle(o.defaults({lineJoin:"round",fill:h},d.getItemStyle(["opacity"]))),a.hoverStyle=d.getModel("emphasis").getItemStyle(),this._updateLabel(e,t),i.setHoverStyle(this)},s._updateLabel=function(e,t){var n=this.childAt(1),o=this.childAt(2),a=e.hostModel,r=e.getItemModel(t),s=e.getItemLayout(t).label,l=e.getItemVisual(t,"color");i.updateProps(n,{shape:{points:s.linePoints||s.linePoints}},a,t),i.updateProps(o,{style:{x:s.x,y:s.y}},a,t),o.attr({rotation:s.rotation,origin:[s.x,s.y],z2:10});var u=r.getModel("label"),c=r.getModel("emphasis.label"),d=r.getModel("labelLine"),h=r.getModel("emphasis.labelLine");l=e.getItemVisual(t,"color");i.setLabelStyle(o.style,o.hoverStyle={},u,c,{labelFetcher:e.hostModel,labelDataIndex:t,defaultText:e.getName(t),autoColor:l,useInsideStyle:!!s.inside},{textAlign:s.textAlign,textVerticalAlign:s.verticalAlign}),o.ignore=o.normalIgnore=!u.get("show"),o.hoverIgnore=!c.get("show"),n.ignore=n.normalIgnore=!d.get("show"),n.hoverIgnore=!h.get("show"),n.setStyle({stroke:l}),n.setStyle(d.getModel("lineStyle").getLineStyle()),n.hoverStyle=h.getModel("lineStyle").getLineStyle()},o.inherits(r,i.Group);var u=a.extend({type:"funnel",render:function(e,t,n){var i=e.getData(),o=this._data,a=this.group;i.diff(o).add((function(e){var t=new r(i,e);i.setItemGraphicEl(e,t),a.add(t)})).update((function(e,t){var n=o.getItemGraphicEl(t);n.updateData(i,e),a.add(n),i.setItemGraphicEl(e,n)})).remove((function(e){var t=o.getItemGraphicEl(e);a.remove(t)})).execute(),this._data=i},remove:function(){this.group.removeAll(),this._data=null},dispose:function(){}});e.exports=u},TYVI:function(e,t,n){var i=n("5GtS"),o=n("T4UG").extend({type:"series.gauge",getInitialData:function(e,t){return i(this,["value"])},defaultOption:{zlevel:0,z:2,center:["50%","50%"],legendHoverLink:!0,radius:"75%",startAngle:225,endAngle:-45,clockwise:!0,min:0,max:100,splitNumber:10,axisLine:{show:!0,lineStyle:{color:[[.2,"#91c7ae"],[.8,"#63869e"],[1,"#c23531"]],width:30}},splitLine:{show:!0,length:30,lineStyle:{color:"#eee",width:2,type:"solid"}},axisTick:{show:!0,splitNumber:5,length:8,lineStyle:{color:"#eee",width:1,type:"solid"}},axisLabel:{show:!0,distance:5,color:"auto"},pointer:{show:!0,length:"80%",width:8},itemStyle:{color:"auto"},title:{show:!0,offsetCenter:[0,"-40%"],color:"#333",fontSize:15},detail:{show:!0,backgroundColor:"rgba(0,0,0,0)",borderWidth:0,borderColor:"#ccc",width:100,height:null,padding:[5,10],offsetCenter:[0,"40%"],color:"auto",fontSize:30}}});e.exports=o},ThAp:function(e,t,n){var i=n("bYtY"),o=n("5GtS"),a=n("T4UG"),r=n("7aKB"),s=r.encodeHTML,l=r.addCommas,u=n("cCMj"),c=n("KxfA").retrieveRawAttr,d=n("W4dC"),h=n("D5nY").makeSeriesEncodeForNameBased,p=a.extend({type:"series.map",dependencies:["geo"],layoutMode:"box",needsDrawMap:!1,seriesGroup:[],getInitialData:function(e){for(var t=o(this,{coordDimensions:["value"],encodeDefaulter:i.curry(h,this)}),n=t.mapDimension("value"),a=i.createHashMap(),r=[],s=[],l=0,u=t.count();l":"\n";return c.join(", ")+g+s(r+" : "+a)},getTooltipPosition:function(e){if(null!=e){var t=this.getData().getName(e),n=this.coordinateSystem,i=n.getRegion(t);return i&&n.dataToPoint(i.center)}},setZoom:function(e){this.option.zoom=e},setCenter:function(e){this.option.center=e},defaultOption:{zlevel:0,z:2,coordinateSystem:"geo",map:"",left:"center",top:"center",aspectScale:.75,showLegendSymbol:!0,dataRangeHoverLink:!0,boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",areaColor:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{areaColor:"rgba(255,215,0,0.8)"}},nameProperty:"name"}});i.mixin(p,u);var g=p;e.exports=g},TkdX:function(e,t,n){var i=n("bYtY"),o=n("IwbS"),a="none",r="ancestor",s="self";function l(e,t,n){o.Group.call(this);var i=new o.Sector({z2:2});i.seriesIndex=t.seriesIndex;var a=new o.Text({z2:4,silent:e.getModel("label").get("silent")});function r(){a.ignore=a.hoverIgnore}function s(){a.ignore=a.normalIgnore}this.add(i),this.add(a),this.updateData(!0,e,"normal",t,n),this.on("emphasis",r).on("normal",s).on("mouseover",r).on("mouseout",s)}var u=l.prototype;u.updateData=function(e,t,n,a,r){this.node=t,t.piece=this,a=a||this._seriesModel,r=r||this._ecModel;var s=this.childAt(0);s.dataIndex=t.dataIndex;var l=t.getModel(),u=t.getLayout(),c=i.extend({},u);c.label=null;var d=function(e,t,n){var o=e.getVisual("color"),a=e.getVisual("visualMeta");a&&0!==a.length||(o=null);var r=e.getModel("itemStyle").get("color");if(r)return r;if(o)return o;if(0===e.depth)return n.option.color[0];var s=n.option.color.length;r=n.option.color[function(e){var t=e;for(;t.depth>1;)t=t.parentNode;var n=e.getAncestors()[0];return i.indexOf(n.children,t)}(e)%s];return r}(t,0,r);!function(e,t,n){t.getData().setItemVisual(e.dataIndex,"color",n)}(t,a,d);var h,p=l.getModel("itemStyle").getItemStyle();if("normal"===n)h=p;else{var g=l.getModel(n+".itemStyle").getItemStyle();h=i.merge(g,p)}h=i.defaults({lineJoin:"bevel",fill:h.fill||d},h),e?(s.setShape(c),s.shape.r=u.r0,o.updateProps(s,{shape:{r:u.r}},a,t.dataIndex),s.useStyle(h)):"object"==typeof h.fill&&h.fill.type||"object"==typeof s.style.fill&&s.style.fill.type?(o.updateProps(s,{shape:c},a),s.useStyle(h)):o.updateProps(s,{shape:c,style:h},a),this._updateLabel(a,d,n);var f=l.getShallow("cursor");if(f&&s.attr("cursor",f),e){var m=a.getShallow("highlightPolicy");this._initEvents(s,t,a,m)}this._seriesModel=a||this._seriesModel,this._ecModel=r||this._ecModel,o.setHoverStyle(this)},u.onEmphasis=function(e){var t=this;this.node.hostTree.root.eachNode((function(n){var i,o,l;n.piece&&(t.node===n?n.piece.updateData(!1,n,"emphasis"):(i=n,o=t.node,(l=e)!==a&&(l===s?i===o:l===r?i===o||i.isAncestorOf(o):i===o||i.isDescendantOf(o))?n.piece.childAt(0).trigger("highlight"):e!==a&&n.piece.childAt(0).trigger("downplay")))}))},u.onNormal=function(){this.node.hostTree.root.eachNode((function(e){e.piece&&e.piece.updateData(!1,e,"normal")}))},u.onHighlight=function(){this.updateData(!1,this.node,"highlight")},u.onDownplay=function(){this.updateData(!1,this.node,"downplay")},u._updateLabel=function(e,t,n){var a=this.node.getModel(),r=a.getModel("label"),s="normal"===n||"emphasis"===n?r:a.getModel(n+".label"),l=a.getModel("emphasis.label"),u=s.get("formatter")?n:"normal",c=i.retrieve(e.getFormattedLabel(this.node.dataIndex,u,null,null,"label"),this.node.name);!1===A("show")&&(c="");var d=this.node.getLayout(),h=s.get("minAngle");null==h&&(h=r.get("minAngle")),h=h/180*Math.PI;var p=d.endAngle-d.startAngle;null!=h&&Math.abs(p)Math.PI/2?"right":"left"):b&&"center"!==b?"left"===b?(f=d.r0+_,m>Math.PI/2&&(b="right")):"right"===b&&(f=d.r-_,m>Math.PI/2&&(b="left")):(f=(d.r+d.r0)/2,b="center"),g.attr("style",{text:c,textAlign:b,textVerticalAlign:A("verticalAlign")||"middle",opacity:A("opacity")});var S=f*v+d.cx,w=f*y+d.cy;g.attr("position",[S,w]);var M=A("rotate"),I=0;function A(e){var t=s.get(e);return null==t?r.get(e):t}"radial"===M?(I=-m)<-Math.PI/2&&(I+=Math.PI):"tangential"===M?(I=Math.PI/2-m)>Math.PI/2?I-=Math.PI:I<-Math.PI/2&&(I+=Math.PI):"number"==typeof M&&(I=M*Math.PI/180),g.attr("rotation",I)},u._initEvents=function(e,t,n,i){e.off("mouseover").off("mouseout").off("emphasis").off("normal");var o=this,a=function(){o.onEmphasis(i)},r=function(){o.onNormal()};n.isAnimationEnabled()&&e.on("mouseover",a).on("mouseout",r).on("emphasis",a).on("normal",r).on("downplay",(function(){o.onDownplay()})).on("highlight",(function(){o.onHighlight()}))},i.inherits(l,o.Group);var c=l;e.exports=c},Tp9H:function(e,t,n){var i=n("ItGF"),o=n("Kagy"),a=n("IUWy"),r=o.toolbox.saveAsImage;function s(e){this.model=e}s.defaultOption={show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0",title:r.title,type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],pixelRatio:1,lang:r.lang.slice()},s.prototype.unusable=!i.canvasSupported,s.prototype.onclick=function(e,t){var n=this.model,o=n.get("name")||e.get("title.0.text")||"echarts",a="svg"===t.getZr().painter.getType()?"svg":n.get("type",!0)||"png",r=t.getConnectedDataURL({type:a,backgroundColor:n.get("backgroundColor",!0)||e.get("backgroundColor")||"#fff",connectedBackgroundColor:n.get("connectedBackgroundColor"),excludeComponents:n.get("excludeComponents"),pixelRatio:n.get("pixelRatio")});if("function"!=typeof MouseEvent||i.browser.ie||i.browser.edge)if(window.navigator.msSaveOrOpenBlob){for(var s=atob(r.split(",")[1]),l=s.length,u=new Uint8Array(l);l--;)u[l]=s.charCodeAt(l);var c=new Blob([u]);window.navigator.msSaveOrOpenBlob(c,o+"."+a)}else{var d=n.get("lang"),h='';window.open().document.write(h)}else{var p=document.createElement("a");p.download=o+"."+a,p.target="_blank",p.href=r;var g=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});p.dispatchEvent(g)}},a.register("saveAsImage",s);var l=s;e.exports=l},"U/Mo":function(e,t){t.getNodeGlobalScale=function(e){var t=e.coordinateSystem;if("view"!==t.type)return 1;var n=e.option.nodeScaleRatio,i=t.scale,o=i&&i[0]||1;return((t.getZoom()-1)*n+1)/o},t.getSymbolSize=function(e){var t=e.getVisual("symbolSize");return t instanceof Array&&(t=(t[0]+t[1])/2),+t}},UOVi:function(e,t,n){var i=n("bYtY"),o=n("7aKB"),a=["cartesian2d","polar","singleAxis"];function r(e,t){e=e.slice();var n=i.map(e,o.capitalFirst);t=(t||[]).slice();var a=i.map(t,o.capitalFirst);return function(o,r){i.each(e,(function(e,i){for(var s={name:e,capital:n[i]},l=0;l=0},t.createNameEach=r,t.eachAxisDim=s,t.createLinkedNodesFinder=function(e,t,n){return function(a){var r,s={nodes:[],records:{}};if(t((function(e){s.records[e.name]={}})),!a)return s;o(a,s);do{r=!1,e(l)}while(r);function l(e){!function(e,t){return i.indexOf(t.nodes,e)>=0}(e,s)&&function(e,o){var a=!1;return t((function(t){i.each(n(e,t)||[],(function(e){o.records[t.name][e]&&(a=!0)}))})),a}(e,s)&&(o(e,s),r=!0)}return s};function o(e,o){o.nodes.push(e),t((function(t){i.each(n(e,t)||[],(function(e){o.records[t.name][e]=!0}))}))}}},UnoB:function(e,t,n){var i=n("bYtY"),o=n("OELB");function a(e,t,n){if(e.count())for(var o,a=t.coordinateSystem,r=t.getLayerSeries(),s=e.mapDimension("single"),l=e.mapDimension("value"),u=i.map(r,(function(t){return i.map(t.indices,(function(t){var n=a.dataToPoint(e.get(s,t));return n[1]=e.get(l,t),n}))})),c=function(e){for(var t=e.length,n=e[0].length,i=[],o=[],a=0,r={},s=0;sa&&(a=u),i.push(u)}for(var c=0;ca&&(a=h)}return r.y0=o,r.max=a,r}(u),d=c.y0,h=n/c.max,p=r.length,g=r[0].indices.length,f=0;fg["type_"+p]&&(p=n),f&=t.get("preventDefaultMouseMove",!0)})),{controlType:p,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!f}});d.controller.enable(m.controlType,m.opt),d.controller.setPointerChecker(t.containsPoint),a.createOrUpdate(d,"dispatchAction",t.dataZoomModel.get("throttle",!0),"fixRate")},t.unregister=function(e,t){var n=s(e);i.each(n,(function(e){e.controller.dispose();var n=e.dataZoomInfos;n[t]&&(delete n[t],e.count--)})),l(n)},t.generateCoordId=function(e){return e.type+"\0_"+e.id}},VaxA:function(e,t,n){var i=n("bYtY");function o(e){for(var t=[];e;)(e=e.parentNode)&&t.push(e);return t.reverse()}t.retrieveTargetInfo=function(e,t,n){if(e&&i.indexOf(t,e.type)>=0){var o=n.getData().tree.root,a=e.targetNode;if("string"==typeof a&&(a=o.getNodeById(a)),a&&o.contains(a))return{node:a};var r=e.targetNodeId;if(null!=r&&(a=o.getNodeById(r)))return{node:a}}},t.getPathToRoot=o,t.aboveViewRoot=function(e,t){var n=o(e);return i.indexOf(n,t)>=0},t.wrapTreePathInfo=function(e,t){for(var n=[];e;){var i=e.dataIndex;n.push({name:e.name,dataIndex:i,value:t.getRawValue(i)}),e=e.parentNode}return n.reverse(),n}},W2nI:function(e,t,n){var i=n("IwbS"),o=n("ProS"),a=n("bYtY"),r=["itemStyle","opacity"],s=["emphasis","itemStyle","opacity"],l=["lineStyle","opacity"],u=["emphasis","lineStyle","opacity"];function c(e,t){return e.getVisual("opacity")||e.getModel().get(t)}function d(e,t,n){var i=e.getGraphicEl(),o=c(e,t);null!=n&&(null==o&&(o=1),o*=n),i.downplay&&i.downplay(),i.traverse((function(e){"group"!==e.type&&e.setStyle("opacity",o)}))}function h(e,t){var n=c(e,t),i=e.getGraphicEl();i.traverse((function(e){"group"!==e.type&&e.setStyle("opacity",n)})),i.highlight&&i.highlight()}var p=i.extendShape({shape:{x1:0,y1:0,x2:0,y2:0,cpx1:0,cpy1:0,cpx2:0,cpy2:0,extent:0,orient:""},buildPath:function(e,t){var n=t.extent;e.moveTo(t.x1,t.y1),e.bezierCurveTo(t.cpx1,t.cpy1,t.cpx2,t.cpy2,t.x2,t.y2),"vertical"===t.orient?(e.lineTo(t.x2+n,t.y2),e.bezierCurveTo(t.cpx2+n,t.cpy2,t.cpx1+n,t.cpy1,t.x1+n,t.y1)):(e.lineTo(t.x2,t.y2+n),e.bezierCurveTo(t.cpx2,t.cpy2+n,t.cpx1,t.cpy1+n,t.x1,t.y1+n)),e.closePath()},highlight:function(){this.trigger("emphasis")},downplay:function(){this.trigger("normal")}}),g=o.extendChartView({type:"sankey",_model:null,_focusAdjacencyDisabled:!1,render:function(e,t,n){var o=this,a=e.getGraph(),r=this.group,s=e.layoutInfo,l=s.width,u=s.height,c=e.getData(),d=e.getData("edge"),h=e.get("orient");this._model=e,r.removeAll(),r.attr("position",[s.x,s.y]),a.eachEdge((function(t){var n=new p;n.dataIndex=t.dataIndex,n.seriesIndex=e.seriesIndex,n.dataType="edge";var o,a,s,c,g,f,m,v,y=t.getModel("lineStyle"),x=y.get("curveness"),_=t.node1.getLayout(),b=t.node1.getModel(),S=b.get("localX"),w=b.get("localY"),M=t.node2.getLayout(),I=t.node2.getModel(),A=I.get("localX"),T=I.get("localY"),D=t.getLayout();switch(n.shape.extent=Math.max(1,D.dy),n.shape.orient=h,"vertical"===h?(o=(null!=S?S*l:_.x)+D.sy,a=(null!=w?w*u:_.y)+_.dy,s=(null!=A?A*l:M.x)+D.ty,g=o,f=a*(1-x)+(c=null!=T?T*u:M.y)*x,m=s,v=a*x+c*(1-x)):(o=(null!=S?S*l:_.x)+_.dx,a=(null!=w?w*u:_.y)+D.sy,g=o*(1-x)+(s=null!=A?A*l:M.x)*x,f=a,m=o*x+s*(1-x),v=c=(null!=T?T*u:M.y)+D.ty),n.setShape({x1:o,y1:a,x2:s,y2:c,cpx1:g,cpy1:f,cpx2:m,cpy2:v}),n.setStyle(y.getItemStyle()),n.style.fill){case"source":n.style.fill=t.node1.getVisual("color");break;case"target":n.style.fill=t.node2.getVisual("color")}i.setHoverStyle(n,t.getModel("emphasis.lineStyle").getItemStyle()),r.add(n),d.setItemGraphicEl(t.dataIndex,n)})),a.eachNode((function(t){var n=t.getLayout(),o=t.getModel(),a=o.get("localX"),s=o.get("localY"),d=o.getModel("label"),h=o.getModel("emphasis.label"),p=new i.Rect({shape:{x:null!=a?a*l:n.x,y:null!=s?s*u:n.y,width:n.dx,height:n.dy},style:o.getModel("itemStyle").getItemStyle()}),g=t.getModel("emphasis.itemStyle").getItemStyle();i.setLabelStyle(p.style,g,d,h,{labelFetcher:e,labelDataIndex:t.dataIndex,defaultText:t.id,isRectText:!0}),p.setStyle("fill",t.getVisual("color")),i.setHoverStyle(p,g),r.add(p),c.setItemGraphicEl(t.dataIndex,p),p.dataType="node"})),c.eachItemGraphicEl((function(t,i){var a=c.getItemModel(i);a.get("draggable")&&(t.drift=function(t,a){o._focusAdjacencyDisabled=!0,this.shape.x+=t,this.shape.y+=a,this.dirty(),n.dispatchAction({type:"dragNode",seriesId:e.id,dataIndex:c.getRawIndex(i),localX:this.shape.x/l,localY:this.shape.y/u})},t.ondragend=function(){o._focusAdjacencyDisabled=!1},t.draggable=!0,t.cursor="move"),t.highlight=function(){this.trigger("emphasis")},t.downplay=function(){this.trigger("normal")},t.focusNodeAdjHandler&&t.off("mouseover",t.focusNodeAdjHandler),t.unfocusNodeAdjHandler&&t.off("mouseout",t.unfocusNodeAdjHandler),a.get("focusNodeAdjacency")&&(t.on("mouseover",t.focusNodeAdjHandler=function(){o._focusAdjacencyDisabled||(o._clearTimer(),n.dispatchAction({type:"focusNodeAdjacency",seriesId:e.id,dataIndex:t.dataIndex}))}),t.on("mouseout",t.unfocusNodeAdjHandler=function(){o._focusAdjacencyDisabled||o._dispatchUnfocus(n)}))})),d.eachItemGraphicEl((function(t,i){var a=d.getItemModel(i);t.focusNodeAdjHandler&&t.off("mouseover",t.focusNodeAdjHandler),t.unfocusNodeAdjHandler&&t.off("mouseout",t.unfocusNodeAdjHandler),a.get("focusNodeAdjacency")&&(t.on("mouseover",t.focusNodeAdjHandler=function(){o._focusAdjacencyDisabled||(o._clearTimer(),n.dispatchAction({type:"focusNodeAdjacency",seriesId:e.id,edgeDataIndex:t.dataIndex}))}),t.on("mouseout",t.unfocusNodeAdjHandler=function(){o._focusAdjacencyDisabled||o._dispatchUnfocus(n)}))})),!this._data&&e.get("animation")&&r.setClipPath(function(e,t,n){var o=new i.Rect({shape:{x:e.x-10,y:e.y-10,width:0,height:e.height+20}});return i.initProps(o,{shape:{width:e.width+20}},t,n),o}(r.getBoundingRect(),e,(function(){r.removeClipPath()}))),this._data=e.getData()},dispose:function(){this._clearTimer()},_dispatchUnfocus:function(e){var t=this;this._clearTimer(),this._unfocusDelayTimer=setTimeout((function(){t._unfocusDelayTimer=null,e.dispatchAction({type:"unfocusNodeAdjacency",seriesId:t._model.id})}),500)},_clearTimer:function(){this._unfocusDelayTimer&&(clearTimeout(this._unfocusDelayTimer),this._unfocusDelayTimer=null)},focusNodeAdjacency:function(e,t,n,i){var o=e.getData(),c=o.graph,p=i.dataIndex,g=o.getItemModel(p),f=i.edgeDataIndex;if(null!=p||null!=f){var m=c.getNodeByIndex(p),v=c.getEdgeByIndex(f);if(c.eachNode((function(e){d(e,r,.1)})),c.eachEdge((function(e){d(e,l,.1)})),m){h(m,s);var y=g.get("focusNodeAdjacency");"outEdges"===y?a.each(m.outEdges,(function(e){e.dataIndex<0||(h(e,u),h(e.node2,s))})):"inEdges"===y?a.each(m.inEdges,(function(e){e.dataIndex<0||(h(e,u),h(e.node1,s))})):"allEdges"===y&&a.each(m.edges,(function(e){e.dataIndex<0||(h(e,u),e.node1!==m&&h(e.node1,s),e.node2!==m&&h(e.node2,s))}))}v&&(h(v,u),h(v.node1,s),h(v.node2,s))}},unfocusNodeAdjacency:function(e,t,n,i){var o=e.getGraph();o.eachNode((function(e){d(e,r)})),o.eachEdge((function(e){d(e,l)}))}});e.exports=g},W4dC:function(e,t,n){n("Tghj").__DEV__;var i=n("bYtY"),o=i.each,a=i.createHashMap,r=n("7DRL"),s=n("TIY9"),l=n("yS9w"),u=n("mFDi"),c={geoJSON:s,svg:l},d={load:function(e,t,n){var i,r=[],s=a(),l=a(),d=p(e);return o(d,(function(a){var u=c[a.type].load(e,a,n);o(u.regions,(function(e){var n=e.name;t&&t.hasOwnProperty(n)&&(e=e.cloneShallow(n=t[n])),r.push(e),s.set(n,e),l.set(n,e.center)}));var d=u.boundingRect;d&&(i?i.union(d):i=d.clone())})),{regions:r,regionsMap:s,nameCoordMap:l,boundingRect:i||new u(0,0,0,0)}},makeGraphic:h("makeGraphic"),removeGraphic:h("removeGraphic")};function h(e){return function(t,n){var i=p(t),a=[];return o(i,(function(i){var o=c[i.type][e];o&&a.push(o(t,i,n))})),a}}function p(e){return r.retrieveMap(e)||[]}e.exports=d},WGYa:function(e,t,n){var i=n("7yuC").forceLayout,o=n("HF/U").simpleLayout,a=n("lOQZ").circularLayout,r=n("OELB").linearMap,s=n("QBsz"),l=n("bYtY"),u=n("DDd/").getCurvenessForEdge;e.exports=function(e){e.eachSeriesByType("graph",(function(e){if(!(y=e.coordinateSystem)||"view"===y.type)if("force"===e.get("layout")){var t=e.preservedPoints||{},n=e.getGraph(),c=n.data,d=n.edgeData,h=e.getModel("force"),p=h.get("initLayout");e.preservedPoints?c.each((function(e){var n=c.getId(e);c.setItemLayout(e,t[n]||[NaN,NaN])})):p&&"none"!==p?"circular"===p&&a(e,"value"):o(e);var g=c.getDataExtent("value"),f=d.getDataExtent("value"),m=h.get("repulsion"),v=h.get("edgeLength");l.isArray(m)||(m=[m,m]),l.isArray(v)||(v=[v,v]),v=[v[1],v[0]];var y,x=c.mapArray("value",(function(e,t){var n=c.getItemLayout(t),i=r(e,g,m);return isNaN(i)&&(i=(m[0]+m[1])/2),{w:i,rep:i,fixed:c.getItemModel(t).get("fixed"),p:!n||isNaN(n[0])||isNaN(n[1])?null:n}})),_=d.mapArray("value",(function(t,i){var o=n.getEdgeByIndex(i),a=r(t,f,v);isNaN(a)&&(a=(v[0]+v[1])/2);var s=o.getModel(),c=l.retrieve3(s.get("lineStyle.curveness"),-u(o,e,i,!0),0);return{n1:x[o.node1.dataIndex],n2:x[o.node2.dataIndex],d:a,curveness:c,ignoreForceLayout:s.get("ignoreForceLayout")}})),b=(y=e.coordinateSystem).getBoundingRect(),S=i(x,_,{rect:b,gravity:h.get("gravity"),friction:h.get("friction")}),w=S.step;S.step=function(e){for(var i=0,o=x.length;i=0;s--)null==n[s]&&(delete o[t[s]],t.pop())}(o):c(o,!0):(i.assert("linear"!==t||o.dataExtent),c(o))};l.prototype={constructor:l,mapValueToVisual:function(e){var t=this._normalizeData(e);return this._doMap(t,e)},getNormalizer:function(){return i.bind(this._normalizeData,this)}};var u=l.visualHandlers={color:{applyVisual:p("color"),getColorMapper:function(){var e=this.option;return i.bind("category"===e.mappingMethod?function(e,t){return!t&&(e=this._normalizeData(e)),g.call(this,e)}:function(t,n,i){var a=!!i;return!n&&(t=this._normalizeData(t)),i=o.fastLerp(t,e.parsedVisual,i),a?i:o.stringify(i,"rgba")},this)},_doMap:{linear:function(e){return o.stringify(o.fastLerp(e,this.option.parsedVisual),"rgba")},category:g,piecewise:function(e,t){var n=v.call(this,t);return null==n&&(n=o.stringify(o.fastLerp(e,this.option.parsedVisual),"rgba")),n},fixed:f}},colorHue:d((function(e,t){return o.modifyHSL(e,t)})),colorSaturation:d((function(e,t){return o.modifyHSL(e,null,t)})),colorLightness:d((function(e,t){return o.modifyHSL(e,null,null,t)})),colorAlpha:d((function(e,t){return o.modifyAlpha(e,t)})),opacity:{applyVisual:p("opacity"),_doMap:m([0,1])},liftZ:{applyVisual:p("liftZ"),_doMap:{linear:f,category:f,piecewise:f,fixed:f}},symbol:{applyVisual:function(e,t,n){var o=this.mapValueToVisual(e);if(i.isString(o))n("symbol",o);else if(s(o))for(var a in o)o.hasOwnProperty(a)&&n(a,o[a])},_doMap:{linear:h,category:g,piecewise:function(e,t){var n=v.call(this,t);return null==n&&(n=h.call(this,e)),n},fixed:f}},symbolSize:{applyVisual:p("symbolSize"),_doMap:m([0,1])}};function c(e,t){var n=e.visual,o=[];i.isObject(n)?r(n,(function(e){o.push(e)})):null!=n&&o.push(n);t||1!==o.length||{color:1,symbol:1}.hasOwnProperty(e.type)||(o[1]=o[0]),y(e,o)}function d(e){return{applyVisual:function(t,n,i){t=this.mapValueToVisual(t),i("color",e(n("color"),t))},_doMap:m([0,1])}}function h(e){var t=this.option.visual;return t[Math.round(a(e,[0,1],[0,t.length-1],!0))]||{}}function p(e){return function(t,n,i){i(e,this.mapValueToVisual(t))}}function g(e){var t=this.option.visual;return t[this.option.loop&&-1!==e?e%t.length:e]}function f(){return this.option.visual[0]}function m(e){return{linear:function(t){return a(t,e,this.option.visual,!0)},category:g,piecewise:function(t,n){var i=v.call(this,n);return null==i&&(i=a(t,e,this.option.visual,!0)),i},fixed:f}}function v(e){var t=this.option,n=t.pieceList;if(t.hasSpecialVisual){var i=n[l.findPieceIndex(e,n)];if(i&&i.visual)return i.visual[this.type]}}function y(e,t){return e.visual=t,"color"===e.type&&(e.parsedVisual=i.map(t,(function(e){return o.parse(e)}))),t}var x={linear:function(e){return a(e,this.option.dataExtent,[0,1],!0)},piecewise:function(e){var t=this.option.pieceList,n=l.findPieceIndex(e,t,!0);if(null!=n)return a(n,[0,t.length-1],[0,1],!0)},category:function(e){var t=this.option.categories?this.option.categoryMap[e]:e;return null==t?-1:t},fixed:i.noop};function _(e,t,n){return e?t<=n:t0?1:-1,r=i.height>0?1:-1;return{x:i.x+a*o/2,y:i.y+r*o/2,width:i.width-a*o,height:i.height-r*o}},polar:function(e,t,n){var i=e.getItemLayout(t);return{cx:i.cx,cy:i.cy,r0:i.r0,r:i.r,startAngle:i.startAngle,endAngle:i.endAngle}}};function M(e){return null!=e.startAngle&&null!=e.endAngle&&e.startAngle===e.endAngle}function I(e,t,n,i,s,l,u,c){var d=t.getItemVisual(n,"color"),h=t.getItemVisual(n,"opacity"),p=t.getVisual("borderColor"),g=i.getModel("itemStyle"),f=i.getModel("emphasis.itemStyle").getBarItemStyle();c||e.setShape("r",g.get("barBorderRadius")||0),e.useStyle(o.defaults({stroke:M(s)?"none":p,fill:M(s)?"none":d,opacity:h},g.getBarItemStyle()));var m=i.getShallow("cursor");m&&e.attr("cursor",m);var v=u?s.height>0?"bottom":"top":s.width>0?"left":"right";c||r(e.style,f,i,d,l,n,v),M(s)&&(f.fill=f.stroke="none"),a.setHoverStyle(e,f)}var A=u.extend({type:"largeBar",shape:{points:[]},buildPath:function(e,t){for(var n=t.points,i=this.__startPoint,o=this.__baseDimIdx,a=0;a=d&&v<=h&&(l<=y?c>=l&&c<=y:c>=y&&c<=l))return r[p]}return-1}(this,e.offsetX,e.offsetY);this.dataIndex=t>=0?t:null}),30,!1);function C(e,t,n){var i,o="polar"===n.type;return i=o?n.getArea():n.grid.getRect(),o?{cx:i.cx,cy:i.cy,r0:e?i.r0:t.r0,r:e?i.r:t.r,startAngle:e?t.startAngle:0,endAngle:e?t.endAngle:2*Math.PI}:{x:e?t.x:i.x,y:e?i.y:t.y,width:e?t.width:i.width,height:e?i.height:t.height}}e.exports=m},ZWlE:function(e,t,n){var i=n("bYtY"),o=n("4NO4");e.exports=function(e){!function(e){if(e.parallel)return;var t=!1;i.each(e.series,(function(e){e&&"parallel"===e.type&&(t=!0)})),t&&(e.parallel=[{}])}(e),function(e){var t=o.normalizeToArray(e.parallelAxis);i.each(t,(function(t){if(i.isObject(t)){var n=t.parallelIndex||0,a=o.normalizeToArray(e.parallel)[n];a&&a.parallelAxisDefault&&i.merge(t,a.parallelAxisDefault,!1)}}))}(e)}},ZYIC:function(e,t,n){var i={seriesType:"lines",plan:n("zM3Q")(),reset:function(e){var t=e.coordinateSystem,n=e.get("polyline"),i=e.pipelineContext.large;return{progress:function(o,a){var r=[];if(i){var s,l=o.end-o.start;if(n){for(var u=0,c=o.start;c=0&&!(i[s]<=t);s--);s=Math.min(s,o-2)}else{for(var s=a;st);s++);s=Math.min(s-1,o-2)}r.lerp(e.position,n[s],n[s+1],(t-i[s])/(i[s+1]-i[s]));var l=n[s+1][0]-n[s][0],u=n[s+1][1]-n[s][1];e.rotation=-Math.atan2(u,l)-Math.PI/2,this._lastFrame=s,this._lastFramePercent=t,e.ignore=!1}},o.inherits(s,a);var u=s;e.exports=u},as94:function(e,t,n){var i=n("7aKB"),o=n("3LNs"),a=n("IwbS"),r=n("/y7N"),s=n("Fofx"),l=n("+rIm"),u=n("Znkb"),c=o.extend({makeElOption:function(e,t,n,o,u){var c=n.axis;"angle"===c.dim&&(this.animationThreshold=Math.PI/18);var h,p=c.polar,g=p.getOtherAxis(c).getExtent();h=c["dataTo"+i.capitalFirst(c.dim)](t);var f=o.get("type");if(f&&"none"!==f){var m=r.buildElStyle(o),v=d[f](c,p,h,g,m);v.style=m,e.graphicKey=v.type,e.pointer=v}var y=function(e,t,n,i,o){var r=t.axis,u=r.dataToCoord(e),c=i.getAngleAxis().getExtent()[0];c=c/180*Math.PI;var d,h,p,g=i.getRadiusAxis().getExtent();if("radius"===r.dim){var f=s.create();s.rotate(f,f,c),s.translate(f,f,[i.cx,i.cy]),d=a.applyTransform([u,-o],f);var m=t.getModel("axisLabel").get("rotate")||0,v=l.innerTextLayout(c,m*Math.PI/180,-1);h=v.textAlign,p=v.textVerticalAlign}else{var y=g[1];d=i.coordToPoint([y+o,u]);var x=i.cx,_=i.cy;h=Math.abs(d[0]-x)/y<.3?"center":d[0]>x?"left":"right",p=Math.abs(d[1]-_)/y<.3?"middle":d[1]>_?"top":"bottom"}return{position:d,align:h,verticalAlign:p}}(t,n,0,p,o.get("label.margin"));r.buildLabelElOption(e,n,o,u,y)}});var d={line:function(e,t,n,i,o){return"angle"===e.dim?{type:"Line",shape:r.makeLineShape(t.coordToPoint([i[0],n]),t.coordToPoint([i[1],n]))}:{type:"Circle",shape:{cx:t.cx,cy:t.cy,r:n}}},shadow:function(e,t,n,i,o){var a=Math.max(1,e.getBandWidth()),s=Math.PI/180;return"angle"===e.dim?{type:"Sector",shape:r.makeSectorShape(t.cx,t.cy,i[0],i[1],(-n-a/2)*s,(a/2-n)*s)}:{type:"Sector",shape:r.makeSectorShape(t.cx,t.cy,n-a/2,n+a/2,0,2*Math.PI)}}};u.registerAxisPointerClass("PolarAxisPointer",c);var h=c;e.exports=h},b9oc:function(e,t,n){var i=n("bYtY").each,o="\0_ec_hist_store";function a(e){var t=e[o];return t||(t=e[o]=[{}]),t}t.push=function(e,t){var n=a(e);i(t,(function(t,i){for(var o=n.length-1;o>=0;o--){if(n[o][i])break}if(o<0){var a=e.queryComponents({mainType:"dataZoom",subType:"select",id:i})[0];if(a){var r=a.getPercentRange();n[0][i]={dataZoomId:i,start:r[0],end:r[1]}}}})),n.push(t)},t.pop=function(e){var t=a(e),n=t[t.length-1];t.length>1&&t.pop();var o={};return i(n,(function(e,n){for(var i=t.length-1;i>=0;i--){if(e=t[i][n]){o[n]=e;break}}})),o},t.clear=function(e){e[o]=null},t.count=function(e){return a(e).length}},bBL8:function(e,t,n){var i=n("ProS");n("LPzL"),n("rfSb"),n("JVwQ");var o=n("UnoB"),a=n("cbJ4"),r=n("0/Rx");i.registerLayout(o),i.registerVisual(a),i.registerProcessor(r("themeRiver"))},bMXI:function(e,t,n){var i=n("bYtY"),o=n("QBsz"),a=n("Fofx"),r=n("mFDi"),s=n("DN4a"),l=o.applyTransform;function u(){s.call(this)}function c(e){this.name=e,this.zoomLimit,s.call(this),this._roamTransformable=new u,this._rawTransformable=new u,this._center,this._zoom}function d(e,t,n,i){var o=n.seriesModel,a=o?o.coordinateSystem:null;return a===this?a[e](i):null}i.mixin(u,s),c.prototype={constructor:c,type:"view",dimensions:["x","y"],setBoundingRect:function(e,t,n,i){return this._rect=new r(e,t,n,i),this._rect},getBoundingRect:function(){return this._rect},setViewRect:function(e,t,n,i){this.transformTo(e,t,n,i),this._viewRect=new r(e,t,n,i)},transformTo:function(e,t,n,i){var o=this.getBoundingRect(),a=this._rawTransformable;a.transform=o.calculateTransform(new r(e,t,n,i)),a.decomposeTransform(),this._updateTransform()},setCenter:function(e){e&&(this._center=e,this._updateCenterAndZoom())},setZoom:function(e){e=e||1;var t=this.zoomLimit;t&&(null!=t.max&&(e=Math.min(t.max,e)),null!=t.min&&(e=Math.max(t.min,e))),this._zoom=e,this._updateCenterAndZoom()},getDefaultCenter:function(){var e=this.getBoundingRect();return[e.x+e.width/2,e.y+e.height/2]},getCenter:function(){return this._center||this.getDefaultCenter()},getZoom:function(){return this._zoom||1},getRoamTransform:function(){return this._roamTransformable.getLocalTransform()},_updateCenterAndZoom:function(){var e=this._rawTransformable.getLocalTransform(),t=this._roamTransformable,n=this.getDefaultCenter(),i=this.getCenter(),a=this.getZoom();i=o.applyTransform([],i,e),n=o.applyTransform([],n,e),t.origin=i,t.position=[n[0]-i[0],n[1]-i[1]],t.scale=[a,a],this._updateTransform()},_updateTransform:function(){var e=this._roamTransformable,t=this._rawTransformable;t.parent=e,e.updateTransform(),t.updateTransform(),a.copy(this.transform||(this.transform=[]),t.transform||a.create()),this._rawTransform=t.getLocalTransform(),this.invTransform=this.invTransform||[],a.invert(this.invTransform,this.transform),this.decomposeTransform()},getTransformInfo:function(){var e=this._roamTransformable.transform,t=this._rawTransformable;return{roamTransform:e?i.slice(e):a.create(),rawScale:i.slice(t.scale),rawPosition:i.slice(t.position)}},getViewRect:function(){return this._viewRect},getViewRectAfterRoam:function(){var e=this.getBoundingRect().clone();return e.applyTransform(this.transform),e},dataToPoint:function(e,t,n){var i=t?this._rawTransform:this.transform;return n=n||[],i?l(n,e,i):o.copy(n,e)},pointToData:function(e){var t=this.invTransform;return t?l([],e,t):[e[0],e[1]]},convertToPixel:i.curry(d,"dataToPoint"),convertFromPixel:i.curry(d,"pointToData"),containPoint:function(e){return this.getViewRectAfterRoam().contain(e[0],e[1])}},i.mixin(c,s);var h=c;e.exports=h},bNin:function(e,t,n){var i=n("bYtY"),o=n("IwbS"),a=n("FBjb"),r=n("Itpr").radialCoordinate,s=n("ProS"),l=n("4mN7"),u=n("bMXI"),c=n("Ae+d"),d=n("SgGq"),h=n("xSat").onIrrelevantElement,p=(n("Tghj").__DEV__,n("OELB").parsePercent),g=o.extendShape({shape:{parentPoint:[],childPoints:[],orient:"",forkPosition:""},style:{stroke:"#000",fill:null},buildPath:function(e,t){var n=t.childPoints,i=n.length,o=t.parentPoint,a=n[0],r=n[i-1];if(1===i)return e.moveTo(o[0],o[1]),void e.lineTo(a[0],a[1]);var s=t.orient,l="TB"===s||"BT"===s?0:1,u=1-l,c=p(t.forkPosition,1),d=[];d[l]=o[l],d[u]=o[u]+(r[u]-o[u])*c,e.moveTo(o[0],o[1]),e.lineTo(d[0],d[1]),e.moveTo(a[0],a[1]),d[l]=a[l],e.lineTo(d[0],d[1]),d[l]=r[l],e.lineTo(d[0],d[1]),e.lineTo(r[0],r[1]);for(var h=1;hI.x)||(S-=Math.PI);var D=w?"left":"right",C=l.labelModel.get("rotate"),L=C*(Math.PI/180);b.setStyle({textPosition:l.labelModel.get("position")||D,textRotation:null==C?-S:L,textOrigin:"center",verticalAlign:"middle"})}!function(e,t,n,a,r,s,l,u,c){var d=c.edgeShape,h=a.__edge;if("curve"===d)t.parentNode&&t.parentNode!==n&&(h||(h=a.__edge=new o.BezierCurve({shape:_(c,r,r),style:i.defaults({opacity:0,strokeNoScale:!0},c.lineStyle)})),o.updateProps(h,{shape:_(c,s,l),style:i.defaults({opacity:1},c.lineStyle)},e));else if("polyline"===d&&"orthogonal"===c.layout&&t!==n&&t.children&&0!==t.children.length&&!0===t.isExpand){for(var p=t.children,f=[],m=0;m=0;a--)i.push(o[a])}}},c2i1:function(e,t,n){n("Tghj").__DEV__;var i=n("bYtY"),o=n("Yl7c").enableClassCheck;function a(e){return"_EC_"+e}var r=function(e){this._directed=e||!1,this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this.data,this.edgeData},s=r.prototype;function l(e,t){this.id=null==e?"":e,this.inEdges=[],this.outEdges=[],this.edges=[],this.hostGraph,this.dataIndex=null==t?-1:t}function u(e,t,n){this.node1=e,this.node2=t,this.dataIndex=null==n?-1:n}s.type="graph",s.isDirected=function(){return this._directed},s.addNode=function(e,t){e=null==e?""+t:""+e;var n=this._nodesMap;if(!n[a(e)]){var i=new l(e,t);return i.hostGraph=this,this.nodes.push(i),n[a(e)]=i,i}},s.getNodeByIndex=function(e){var t=this.data.getRawIndex(e);return this.nodes[t]},s.getNodeById=function(e){return this._nodesMap[a(e)]},s.addEdge=function(e,t,n){var i=this._nodesMap,o=this._edgesMap;if("number"==typeof e&&(e=this.nodes[e]),"number"==typeof t&&(t=this.nodes[t]),l.isInstance(e)||(e=i[a(e)]),l.isInstance(t)||(t=i[a(t)]),e&&t){var r=e.id+"-"+t.id,s=new u(e,t,n);return s.hostGraph=this,this._directed&&(e.outEdges.push(s),t.inEdges.push(s)),e.edges.push(s),e!==t&&t.edges.push(s),this.edges.push(s),o[r]=s,s}},s.getEdgeByIndex=function(e){var t=this.edgeData.getRawIndex(e);return this.edges[t]},s.getEdge=function(e,t){l.isInstance(e)&&(e=e.id),l.isInstance(t)&&(t=t.id);var n=this._edgesMap;return this._directed?n[e+"-"+t]:n[e+"-"+t]||n[t+"-"+e]},s.eachNode=function(e,t){for(var n=this.nodes,i=n.length,o=0;o=0&&e.call(t,n[o],o)},s.eachEdge=function(e,t){for(var n=this.edges,i=n.length,o=0;o=0&&n[o].node1.dataIndex>=0&&n[o].node2.dataIndex>=0&&e.call(t,n[o],o)},s.breadthFirstTraverse=function(e,t,n,i){if(l.isInstance(t)||(t=this._nodesMap[a(t)]),t){for(var o="out"===n?"outEdges":"in"===n?"inEdges":"edges",r=0;r=0&&n.node2.dataIndex>=0}));for(o=0,a=i.length;o=0&&this[e][t].setItemVisual(this.dataIndex,n,i)},getVisual:function(n,i){return this[e][t].getItemVisual(this.dataIndex,n,i)},setLayout:function(n,i){this.dataIndex>=0&&this[e][t].setItemLayout(this.dataIndex,n,i)},getLayout:function(){return this[e][t].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[e][t].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[e][t].getRawIndex(this.dataIndex)}}};i.mixin(l,c("hostGraph","data")),i.mixin(u,c("hostGraph","edgeData")),r.Node=l,r.Edge=u,o(l),o(u);var d=r;e.exports=d},c8qY:function(e,t,n){var i=n("IwbS"),o=n("fls0");function a(e){this._ctor=e||o,this.group=new i.Group}var r=a.prototype;function s(e){var t=e.hostModel;return{lineStyle:t.getModel("lineStyle").getLineStyle(),hoverLineStyle:t.getModel("emphasis.lineStyle").getLineStyle(),labelModel:t.getModel("label"),hoverLabelModel:t.getModel("emphasis.label")}}function l(e){return isNaN(e[0])||isNaN(e[1])}function u(e){return!l(e[0])&&!l(e[1])}r.isPersistent=function(){return!0},r.updateData=function(e){var t=this,n=t.group,i=t._lineData;t._lineData=e,i||n.removeAll();var o=s(e);e.diff(i).add((function(n){!function(e,t,n,i){if(!u(t.getItemLayout(n)))return;var o=new e._ctor(t,n,i);t.setItemGraphicEl(n,o),e.group.add(o)}(t,e,n,o)})).update((function(n,a){!function(e,t,n,i,o,a){var r=t.getItemGraphicEl(i);if(!u(n.getItemLayout(o)))return void e.group.remove(r);r?r.updateData(n,o,a):r=new e._ctor(n,o,a);n.setItemGraphicEl(o,r),e.group.add(r)}(t,i,e,a,n,o)})).remove((function(e){n.remove(i.getItemGraphicEl(e))})).execute()},r.updateLayout=function(){var e=this._lineData;e&&e.eachItemGraphicEl((function(t,n){t.updateLayout(e,n)}),this)},r.incrementalPrepareUpdate=function(e){this._seriesScope=s(e),this._lineData=null,this.group.removeAll()},r.incrementalUpdate=function(e,t){function n(e){e.isGroup||function(e){return e.animators&&e.animators.length>0}(e)||(e.incremental=e.useHoverLayer=!0)}for(var i=e.start;i "))},preventIncremental:function(){return!!this.get("effect.show")},getProgressive:function(){var e=this.option.progressive;return null==e?this.option.large?1e4:this.get("progressive"):e},getProgressiveThreshold:function(){var e=this.option.progressiveThreshold;return null==e?this.option.large?2e4:this.get("progressiveThreshold"):e},defaultOption:{coordinateSystem:"geo",zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,xAxisIndex:0,yAxisIndex:0,symbol:["none","none"],symbolSize:[10,10],geoIndex:0,effect:{show:!1,period:4,constantSpeed:0,symbol:"circle",symbolSize:3,loop:!0,trailLength:.2},large:!1,largeThreshold:2e3,polyline:!1,clip:!0,label:{show:!1,position:"end"},lineStyle:{opacity:.5}}}),g=p;e.exports=g},crZl:function(e,t,n){var i=n("ProS"),o=n("bYtY"),a=n("IwbS"),r=n("7aKB"),s=n("+TT/"),l=n("XxSj"),u=i.extendComponentView({type:"visualMap",autoPositionValues:{left:1,right:1,top:1,bottom:1},init:function(e,t){this.ecModel=e,this.api=t,this.visualMapModel},render:function(e,t,n,i){this.visualMapModel=e,!1!==e.get("show")?this.doRender.apply(this,arguments):this.group.removeAll()},renderBackground:function(e){var t=this.visualMapModel,n=r.normalizeCssArray(t.get("padding")||0),i=e.getBoundingRect();e.add(new a.Rect({z2:-1,silent:!0,shape:{x:i.x-n[3],y:i.y-n[0],width:i.width+n[3]+n[1],height:i.height+n[0]+n[2]},style:{fill:t.get("backgroundColor"),stroke:t.get("borderColor"),lineWidth:t.get("borderWidth")}}))},getControllerVisual:function(e,t,n){var i=(n=n||{}).forceState,a=this.visualMapModel,r={};if("symbol"===t&&(r.symbol=a.get("itemSymbol")),"color"===t){var s=a.get("contentColor");r.color=s}function u(e){return r[e]}function c(e,t){r[e]=t}var d=a.controllerVisuals[i||a.getValueState(e)],h=l.prepareVisualTypes(d);return o.each(h,(function(i){var o=d[i];n.convertOpacityToAlpha&&"opacity"===i&&(i="colorAlpha",o=d.__alphaForOpacity),l.dependsOn(i,t)&&o&&o.applyVisual(e,u,c)})),r[t]},positionGroup:function(e){var t=this.visualMapModel,n=this.api;s.positionElement(e,t.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()})},doRender:o.noop});e.exports=u},dBmv:function(e,t,n){var i=n("ProS"),o=n("szbU");n("vF/C"),n("qwVE"),n("MHoB"),n("PNag"),n("1u/T"),i.registerPreprocessor(o)},dmGj:function(e,t,n){var i=n("DEFe"),o=n("ProS").extendComponentView({type:"geo",init:function(e,t){var n=new i(t,!0);this._mapDraw=n,this.group.add(n.group)},render:function(e,t,n,i){if(!i||"geoToggleSelect"!==i.type||i.from!==this.uid){var o=this._mapDraw;e.get("show")?o.draw(e,t,n,this,i):this._mapDraw.group.removeAll(),this.group.silent=e.get("silent")}},dispose:function(){this._mapDraw&&this._mapDraw.remove()}});e.exports=o},dnwI:function(e,t,n){var i=n("ProS"),o=n("bYtY"),a=n("YH21"),r=n("Kagy"),s=n("IUWy"),l=r.toolbox.dataView,u=new Array(60).join("-");function c(e){return o.map(e,(function(e){var t=e.getRawData(),n=[e.name],i=[];return t.each(t.dimensions,(function(){for(var e=arguments.length,o=arguments[e-1],a=t.getName(o),r=0;r=0)return!0}(e)){var a=function(e){for(var t=e.split(/\n+/g),n=d(t.shift()).split(h),i=[],a=o.map(n,(function(e){return{name:e,data:[]}})),r=0;r=0;d--)null==r[d]?r.splice(d,1):delete r[d].$action},_flatten:function(e,t,n){o.each(e,(function(e){if(e){n&&(e.parentOption=n),t.push(e);var i=e.children;"group"===e.type&&i&&this._flatten(i,t,e),delete e.children}}),this)},useElOptionsToUpdate:function(){var e=this._elOptionsToUpdate;return this._elOptionsToUpdate=null,e}});function d(e,t,n,i){var o=n.type,a=new(u.hasOwnProperty(o)?u[o]:r.getShapeClass(o))(n);t.add(a),i.set(e,a),a.__ecGraphicId=e}function h(e,t){var n=e&&e.parent;n&&("group"===e.type&&e.traverse((function(e){h(e,t)})),t.removeKey(e.__ecGraphicId),n.remove(e))}function p(e,t){var n;return o.each(t,(function(t){null!=e[t]&&"auto"!==e[t]&&(n=!0)})),n}i.extendComponentView({type:"graphic",init:function(e,t){this._elMap=o.createHashMap(),this._lastGraphicModel},render:function(e,t,n){e!==this._lastGraphicModel&&this._clear(),this._lastGraphicModel=e,this._updateElements(e),this._relocate(e,n)},_updateElements:function(e){var t=e.useElOptionsToUpdate();if(t){var n=this._elMap,i=this.group;o.each(t,(function(t){var a=t.$action,r=t.id,l=n.get(r),u=t.parentId,c=null!=u?n.get(u):i,p=t.style;"text"===t.type&&p&&(t.hv&&t.hv[1]&&(p.textVerticalAlign=p.textBaseline=null),!p.hasOwnProperty("textFill")&&p.fill&&(p.textFill=p.fill),!p.hasOwnProperty("textStroke")&&p.stroke&&(p.textStroke=p.stroke));var g=function(e){return e=o.extend({},e),o.each(["id","parentId","$action","hv","bounding"].concat(s.LOCATION_PARAMS),(function(t){delete e[t]})),e}(t);a&&"merge"!==a?"replace"===a?(h(l,n),d(r,c,g,n)):"remove"===a&&h(l,n):l?l.attr(g):d(r,c,g,n);var f=n.get(r);f&&(f.__ecGraphicWidthOption=t.width,f.__ecGraphicHeightOption=t.height,function(e,t,n){var i=e.eventData;e.silent||e.ignore||i||(i=e.eventData={componentType:"graphic",componentIndex:t.componentIndex,name:e.name});i&&(i.info=e.info)}(f,e))}))}},_relocate:function(e,t){for(var n=e.option.elements,i=this.group,o=this._elMap,a=t.getWidth(),r=t.getHeight(),u=0;u=0;u--){var h;c=n[u];if(h=o.get(c.id)){var p,g=(p=h.parent)===i?{width:a,height:r}:{width:p.__ecGraphicWidth,height:p.__ecGraphicHeight};s.positionElement(h,c,g,null,{hv:c.hv,boundingMode:c.bounding})}}},_clear:function(){var e=this._elMap;e.each((function(t){h(t,e)})),this._elMap=o.createHashMap()},dispose:function(){this._clear()}})},f3JH:function(e,t,n){n("aTJb"),n("OlYY"),n("fc+c"),n("oY9F"),n("MqEG"),n("LBfv"),n("noeP")},f5HG:function(e,t,n){var i=n("IwbS"),o=n("QBsz"),a=i.Line.prototype,r=i.BezierCurve.prototype;function s(e){return isNaN(+e.cpx1)||isNaN(+e.cpy1)}var l=i.extendShape({type:"ec-line",style:{stroke:"#000",fill:null},shape:{x1:0,y1:0,x2:0,y2:0,percent:1,cpx1:null,cpy1:null},buildPath:function(e,t){this[s(t)?"_buildPathLine":"_buildPathCurve"](e,t)},_buildPathLine:a.buildPath,_buildPathCurve:r.buildPath,pointAt:function(e){return this[s(this.shape)?"_pointAtLine":"_pointAtCurve"](e)},_pointAtLine:a.pointAt,_pointAtCurve:r.pointAt,tangentAt:function(e){var t=this.shape,n=s(t)?[t.x2-t.x1,t.y2-t.y1]:this._tangentAtCurve(e);return o.normalize(n,n)},_tangentAtCurve:r.tangentAt});e.exports=l},fE02:function(e,t,n){var i=n("ProS"),o=n("bYtY"),a=n("/IIm"),r=n("vZ6x"),s=n("b9oc"),l=n("72pK"),u=n("Kagy"),c=n("IUWy");n("3TkU");var d=u.toolbox.dataZoom,h=o.each;function p(e,t,n){(this._brushController=new a(n.getZr())).on("brush",o.bind(this._onBrush,this)).mount(),this._isZoomActive}p.defaultOption={show:!0,filterMode:"filter",icon:{zoom:"M0,13.5h26.9 M13.5,26.9V0 M32.1,13.5H58V58H13.5 V32.1",back:"M22,1.4L9.9,13.5l12.3,12.3 M10.3,13.5H54.9v44.6 H10.3v-26"},title:o.clone(d.title),brushStyle:{borderWidth:0,color:"rgba(0,0,0,0.2)"}};var g=p.prototype;g.render=function(e,t,n,i){this.model=e,this.ecModel=t,this.api=n,function(e,t,n,i,o){var a=n._isZoomActive;i&&"takeGlobalCursor"===i.type&&(a="dataZoomSelect"===i.key&&i.dataZoomSelectActive);n._isZoomActive=a,e.setIconStatus("zoom",a?"emphasis":"normal");var s=new r(m(e.option),t,{include:["grid"]});n._brushController.setPanels(s.makePanelOpts(o,(function(e){return e.xAxisDeclared&&!e.yAxisDeclared?"lineX":!e.xAxisDeclared&&e.yAxisDeclared?"lineY":"rect"}))).enableBrush(!!a&&{brushType:"auto",brushStyle:e.getModel("brushStyle").getItemStyle()})}(e,t,this,i,n),function(e,t){e.setIconStatus("back",s.count(t)>1?"emphasis":"normal")}(e,t)},g.onclick=function(e,t,n){f[n].call(this)},g.remove=function(e,t){this._brushController.unmount()},g.dispose=function(e,t){this._brushController.dispose()};var f={zoom:function(){var e=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:e})},back:function(){this._dispatchZoomAction(s.pop(this.ecModel))}};function m(e){var t={};return o.each(["xAxisIndex","yAxisIndex"],(function(n){t[n]=e[n],null==t[n]&&(t[n]="all"),(!1===t[n]||"none"===t[n])&&(t[n]=[])})),t}g._onBrush=function(e,t){if(t.isEnd&&e.length){var n={},i=this.ecModel;this._brushController.updateCovers([]),new r(m(this.model.option),i,{include:["grid"]}).matchOutputRanges(e,i,(function(e,t,n){if("cartesian2d"===n.type){var i=e.brushType;"rect"===i?(o("x",n,t[0]),o("y",n,t[1])):o({lineX:"x",lineY:"y"}[i],n,t)}})),s.push(i,n),this._dispatchZoomAction(n)}function o(e,t,o){var a=t.getAxis(e),r=a.model,s=function(e,t,n){var i;return n.eachComponent({mainType:"dataZoom",subType:"select"},(function(n){n.getAxisModel(e,t.componentIndex)&&(i=n)})),i}(e,r,i),u=s.findRepresentativeAxisProxy(r).getMinMaxSpan();null==u.minValueSpan&&null==u.maxValueSpan||(o=l(0,o.slice(),a.scale.getExtent(),0,u.minValueSpan,u.maxValueSpan)),s&&(n[s.id]={dataZoomId:s.id,startValue:o[0],endValue:o[1]})}},g._dispatchZoomAction=function(e){var t=[];h(e,(function(e,n){t.push(o.clone(e))})),t.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:t})},c.register("dataZoom",p),i.registerPreprocessor((function(e){if(e){var t=e.dataZoom||(e.dataZoom=[]);o.isArray(t)||(e.dataZoom=t=[t]);var n=e.toolbox;if(n&&(o.isArray(n)&&(n=n[0]),n&&n.feature)){var i=n.feature.dataZoom;a("xAxis",i),a("yAxis",i)}}function a(n,i){if(i){var a=n+"Index",r=i[a];null==r||"all"===r||o.isArray(r)||(r=!1===r||"none"===r?[]:[r]),function(t,n){var i=e[t];o.isArray(i)||(i=i?[i]:[]);h(i,n)}(n,(function(e,s){if(null==r||"all"===r||-1!==o.indexOf(r,s)){var l={type:"select",$fromToolbox:!0,filterMode:i.filterMode||"filter",id:"\0_ec_\0toolbox-dataZoom_"+n+s};l[a]=s,t.push(l)}}))}}}));var v=p;e.exports=v},"fc+c":function(e,t,n){var i=n("sS/r").extend({type:"dataZoom",render:function(e,t,n,i){this.dataZoomModel=e,this.ecModel=t,this.api=n},getTargetCoordInfo:function(){var e=this.dataZoomModel,t=this.ecModel,n={};return e.eachTargetAxis((function(e,i){var o=t.getComponent(e.axis,i);if(o){var a=o.getCoordSysModel();a&&function(e,t,n,i){for(var o,a=0;a0&&(b[0]=-b[0],b[1]=-b[1]);var w,M=d[0]<0?-1:1;if("start"!==n.__position&&"end"!==n.__position){var I=-Math.atan2(d[1],d[0]);u[0].8?"left":c[0]<-.8?"right":"center",f=c[1]>.8?"top":c[1]<-.8?"bottom":"middle";break;case"start":p=[-c[0]*y+l[0],-c[1]*x+l[1]],g=c[0]>.8?"right":c[0]<-.8?"left":"center",f=c[1]>.8?"bottom":c[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":p=[y*M+l[0],l[1]+w],g=d[0]<0?"right":"left",m=[-y*M,-w];break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":p=[S[0],S[1]+w],g="center",m=[0,-w];break;case"insideEndTop":case"insideEnd":case"insideEndBottom":p=[-y*M+u[0],u[1]+w],g=d[0]>=0?"right":"left",m=[y*M,-w]}n.attr({style:{textVerticalAlign:n.__verticalAlign||f,textAlign:n.__textAlign||g},position:p,scale:[i,i],origin:m})}}}},g._createLine=function(e,t,n){var o=e.hostModel,a=function(e){var t=new r({name:"line",subPixelOptimize:!0});return h(t.shape,e),t}(e.getItemLayout(t));a.shape.percent=0,s.initProps(a,{shape:{percent:1}},o,t),this.add(a);var l=new s.Text({name:"label",lineLabelOriginalOpacity:1});this.add(l),i.each(u,(function(n){var i=d(n,e,t);this.add(i),this[c(n)]=e.getItemVisual(t,n)}),this),this._updateCommonStl(e,t,n)},g.updateData=function(e,t,n){var o=e.hostModel,a=this.childOfName("line"),r=e.getItemLayout(t),l={shape:{}};h(l.shape,r),s.updateProps(a,l,o,t),i.each(u,(function(n){var i=e.getItemVisual(t,n),o=c(n);if(this[o]!==i){this.remove(this.childOfName(n));var a=d(n,e,t);this.add(a)}this[o]=i}),this),this._updateCommonStl(e,t,n)},g._updateCommonStl=function(e,t,n){var o=e.hostModel,a=this.childOfName("line"),r=n&&n.lineStyle,c=n&&n.hoverLineStyle,d=n&&n.labelModel,h=n&&n.hoverLabelModel;if(!n||e.hasItemOption){var p=e.getItemModel(t);r=p.getModel("lineStyle").getLineStyle(),c=p.getModel("emphasis.lineStyle").getLineStyle(),d=p.getModel("label"),h=p.getModel("emphasis.label")}var g=e.getItemVisual(t,"color"),f=i.retrieve3(e.getItemVisual(t,"opacity"),r.opacity,1);a.useStyle(i.defaults({strokeNoScale:!0,fill:"none",stroke:g,opacity:f},r)),a.hoverStyle=c,i.each(u,(function(e){var t=this.childOfName(e);t&&(t.setColor(g),t.setStyle({opacity:f}))}),this);var m,v,y=d.getShallow("show"),x=h.getShallow("show"),_=this.childOfName("label");if((y||x)&&(m=g||"#000",null==(v=o.getFormattedLabel(t,"normal",e.dataType)))){var b=o.getRawValue(t);v=null==b?e.getName(t):isFinite(b)?l(b):b}var S=y?v:null,w=x?i.retrieve2(o.getFormattedLabel(t,"emphasis",e.dataType),v):null,M=_.style;if(null!=S||null!=w){s.setTextStyle(_.style,d,{text:S},{autoColor:m}),_.__textAlign=M.textAlign,_.__verticalAlign=M.textVerticalAlign,_.__position=d.get("position")||"middle";var I=d.get("distance");i.isArray(I)||(I=[I,I]),_.__labelDistance=I}_.hoverStyle=null!=w?{text:w,textFill:h.getTextColor(!0),fontStyle:h.getShallow("fontStyle"),fontWeight:h.getShallow("fontWeight"),fontSize:h.getShallow("fontSize"),fontFamily:h.getShallow("fontFamily")}:{text:null},_.ignore=!y&&!x,s.setHoverStyle(this)},g.highlight=function(){this.trigger("emphasis")},g.downplay=function(){this.trigger("normal")},g.updateLayout=function(e,t){this.setLinePoints(e.getItemLayout(t))},g.setLinePoints=function(e){var t=this.childOfName("line");h(t.shape,e),t.dirty()},i.inherits(p,s.Group);var f=p;e.exports=f},g7p0:function(e,t,n){var i=n("bYtY"),o=n("bLfw"),a=n("+TT/"),r=a.getLayoutParams,s=a.sizeCalculable,l=a.mergeLayoutParam,u=o.extend({type:"calendar",coordinateSystem:null,defaultOption:{zlevel:0,z:2,left:80,top:60,cellSize:20,orient:"horizontal",splitLine:{show:!0,lineStyle:{color:"#000",width:1,type:"solid"}},itemStyle:{color:"#fff",borderWidth:1,borderColor:"#ccc"},dayLabel:{show:!0,firstDay:0,position:"start",margin:"50%",nameMap:"en",color:"#000"},monthLabel:{show:!0,position:"start",margin:5,align:"center",nameMap:"en",formatter:null,color:"#000"},yearLabel:{show:!0,position:null,margin:30,formatter:null,color:"#ccc",fontFamily:"sans-serif",fontWeight:"bolder",fontSize:20}},init:function(e,t,n,i){var o=r(e);u.superApply(this,"init",arguments),c(e,o)},mergeOption:function(e,t){u.superApply(this,"mergeOption",arguments),c(this.option,e)}});function c(e,t){var n=e.cellSize;i.isArray(n)?1===n.length&&(n[1]=n[0]):n=e.cellSize=[n,n];var o=i.map([0,1],(function(e){return s(t,e)&&(n[e]="auto"),null!=n[e]&&"auto"!==n[e]}));l(e,t,{type:"box",ignoreSize:o})}var d=u;e.exports=d},gawk:function(e,t,n){var i=n("+TT/"),o=n("bYtY"),a=n("4NO4").groupData;function r(e){var t=e.hostGraph.data.getRawDataItem(e.dataIndex);return null!=t.depth&&t.depth>=0}function s(e,t,n,i,a){var r="vertical"===a?"x":"y";o.each(e,(function(e){var o,s,l;e.sort((function(e,t){return e.getLayout()[r]-t.getLayout()[r]}));for(var u=0,c=e.length,d="vertical"===a?"dx":"dy",h=0;h0&&(o=s.getLayout()[r]+l,"vertical"===a?s.setLayout({x:o},!0):s.setLayout({y:o},!0)),u=s.getLayout()[r]+s.getLayout()[d]+t;if((l=u-t-("vertical"===a?i:n))>0)for(o=s.getLayout()[r]-l,"vertical"===a?s.setLayout({x:o},!0):s.setLayout({y:o},!0),u=o,h=c-2;h>=0;--h)(l=(s=e[h]).getLayout()[r]+s.getLayout()[d]+t-u)>0&&(o=s.getLayout()[r]-l,"vertical"===a?s.setLayout({x:o},!0):s.setLayout({y:o},!0)),u=s.getLayout()[r]}))}function l(e,t,n){o.each(e.slice().reverse(),(function(e){o.each(e,(function(e){if(e.outEdges.length){var i=f(e.outEdges,u,n)/f(e.outEdges,g,n);if(isNaN(i)){var o=e.outEdges.length;i=o?f(e.outEdges,c,n)/o:0}if("vertical"===n){var a=e.getLayout().x+(i-p(e,n))*t;e.setLayout({x:a},!0)}else{var r=e.getLayout().y+(i-p(e,n))*t;e.setLayout({y:r},!0)}}}))}))}function u(e,t){return p(e.node2,t)*e.getValue()}function c(e,t){return p(e.node2,t)}function d(e,t){return p(e.node1,t)*e.getValue()}function h(e,t){return p(e.node1,t)}function p(e,t){return"vertical"===t?e.getLayout().x+e.getLayout().dx/2:e.getLayout().y+e.getLayout().dy/2}function g(e){return e.getValue()}function f(e,t,n){for(var i=0,o=e.length,a=-1;++a=0;x&&y.depth>f&&(f=y.depth),v.setLayout({depth:x?y.depth:p},!0),"vertical"===s?v.setLayout({dy:n},!0):v.setLayout({dx:n},!0);for(var _=0;_p-1?f:p-1;l&&"left"!==l&&function(e,t,n,i){if("right"===t){for(var a=[],s=e,l=0;s.length;){for(var u=0;u0;u--)l(d,h*=.99,c),s(d,r,n,i,c),m(d,h,c),s(d,r,n,i,c)}(e,t,c,u,i,d,h),function(e,t){var n="vertical"===t?"x":"y";o.each(e,(function(e){e.outEdges.sort((function(e,t){return e.node2.getLayout()[n]-t.node2.getLayout()[n]})),e.inEdges.sort((function(e,t){return e.node1.getLayout()[n]-t.node1.getLayout()[n]}))})),o.each(e,(function(e){var t=0,n=0;o.each(e.outEdges,(function(e){e.setLayout({sy:t},!0),t+=e.getLayout().dy})),o.each(e.inEdges,(function(e){e.setLayout({ty:n},!0),n+=e.getLayout().dy}))}))}(e,h)}(v,y,n,u,d,h,0!==o.filter(v,(function(e){return 0===e.getLayout().value})).length?0:e.get("layoutIterations"),e.get("orient"),e.get("nodeAlign"))}))}},h54F:function(e,t,n){var i=n("ProS"),o=n("YXkt"),a=n("bYtY"),r=n("4NO4").defaultEmphasis,s=n("Qxkt"),l=n("7aKB").encodeHTML,u=n("I3/A"),c=n("xKMd"),d=n("DDd/"),h=d.initCurvenessList,p=d.createEdgeMapForCurveness,g=i.extendSeriesModel({type:"series.graph",init:function(e){g.superApply(this,"init",arguments);var t=this;function n(){return t._categoriesData}this.legendVisualProvider=new c(n,n),this.fillDataTextStyle(e.edges||e.links),this._updateCategoriesData()},mergeOption:function(e){g.superApply(this,"mergeOption",arguments),this.fillDataTextStyle(e.edges||e.links),this._updateCategoriesData()},mergeDefaultAndTheme:function(e){g.superApply(this,"mergeDefaultAndTheme",arguments),r(e,["edgeLabel"],["show"])},getInitialData:function(e,t){var n=e.edges||e.links||[],i=e.data||e.nodes||[],o=this;if(i&&n){h(this);var r=u(i,n,this,!0,(function(e,n){e.wrapMethod("getItemModel",(function(e){var t=o._categoriesModels[e.getShallow("category")];return t&&(t.parentModel=e.parentModel,e.parentModel=t),e}));var i=o.getModel("edgeLabel"),a=new s({label:i.option},i.parentModel,t),r=o.getModel("emphasis.edgeLabel"),l=new s({emphasis:{label:r.option}},r.parentModel,t);function u(e){return(e=this.parsePath(e))&&"label"===e[0]?a:e&&"emphasis"===e[0]&&"label"===e[1]?l:this.parentModel}n.wrapMethod("getItemModel",(function(e){return e.customizeGetParent(u),e}))}));return a.each(r.edges,(function(e){p(e.node1,e.node2,this,e.dataIndex)}),this),r.data}},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},getCategoriesData:function(){return this._categoriesData},formatTooltip:function(e,t,n){if("edge"===n){var i=this.getData(),o=this.getDataParams(e,n),a=i.graph.getEdgeByIndex(e),r=i.getName(a.node1.dataIndex),s=i.getName(a.node2.dataIndex),u=[];return null!=r&&u.push(r),null!=s&&u.push(s),u=l(u.join(" > ")),o.value&&(u+=" : "+l(o.value)),u}return g.superApply(this,"formatTooltip",arguments)},_updateCategoriesData:function(){var e=a.map(this.option.categories||[],(function(e){return null!=e.value?e:a.extend({value:0},e)})),t=new o(["value"],this);t.initData(e),this._categoriesData=t,this._categoriesModels=t.mapArray((function(e){return t.getItemModel(e,!0)}))},setZoom:function(e){this.option.zoom=e},setCenter:function(e){this.option.center=e},isAnimationEnabled:function(){return g.superCall(this,"isAnimationEnabled")&&!("force"===this.get("layout")&&this.get("force.layoutAnimation"))},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",legendHoverLink:!0,hoverAnimation:!0,layout:null,focusNodeAdjacency:!1,circular:{rotateLabel:!1},force:{initLayout:null,repulsion:[0,50],gravity:.1,friction:.6,edgeLength:30,layoutAnimation:!0},left:"center",top:"center",symbol:"circle",symbolSize:10,edgeSymbol:["none","none"],edgeSymbolSize:10,edgeLabel:{position:"middle",distance:5},draggable:!1,roam:!1,center:null,zoom:1,nodeScaleRatio:.6,label:{show:!1,formatter:"{b}"},itemStyle:{},lineStyle:{color:"#aaa",width:1,opacity:.5},emphasis:{label:{show:!0}}}}),f=g;e.exports=f},h8O9:function(e,t,n){var i=n("bYtY").map,o=n("zM3Q"),a=n("7hqr").isDimensionStacked;e.exports=function(e){return{seriesType:e,plan:o(),reset:function(e){var t=e.getData(),n=e.coordinateSystem,o=e.pipelineContext.large;if(n){var r=i(n.dimensions,(function(e){return t.mapDimension(e)})).slice(0,2),s=r.length,l=t.getCalculationInfo("stackResultDimension");return a(t,r[0])&&(r[0]=l),a(t,r[1])&&(r[1]=l),s&&{progress:function(e,t){for(var i=e.end-e.start,a=o&&new Float32Array(i*s),l=e.start,u=0,c=[],d=[];ld[1]&&(d[1]=u);var h=t.get("colorMappingBy"),p={type:s.name,dataExtent:d,visual:s.range};"color"!==p.type||"index"!==h&&"id"!==h?p.mappingMethod="linear":(p.mappingMethod="category",p.loop=!0);var g=new i(p);return g.__drColorMappingBy=h,g}(0,u,d,0,g,v);a.each(v,(function(t,n){if(t.depth>=r.length||t===r[t.depth]){var i=function(e,t,n,i,o,r){var s=a.extend({},t);if(o){var l=o.type,u="color"===l&&o.__drColorMappingBy,c="index"===u?i:"id"===u?r.mapIdToIndex(n.getId()):n.getValue(e.get("visualDimension"));s[l]=o.mapValueToVisual(c)}return s}(u,g,t,n,y,s);e(t,i,r,s)}}))}else h=l(g),t.setVisual("color",h)}(s,{},e.getViewRoot().getAncestors(),e)}};function l(e){var t=u(e,"color");if(t){var n=u(e,"colorAlpha"),i=u(e,"colorSaturation");return i&&(t=o.modifyHSL(t,null,null,i)),n&&(t=o.modifyAlpha(t,n)),t}}function u(e,t){var n=e[t];if(null!=n&&"none"!==n)return n}function c(e,t){var n=e.get(t);return r(n)&&n.length?{name:t,range:n}:null}e.exports=s},kaz8:function(e,t,n){"use strict";n.r(t);var i=n("q1tI"),o=n("17x9"),a=n("VCL8"),r=n("TSYQ"),s=n.n(r),l=n("x1Ya"),u=n("Gytx"),c=n.n(u),d=n("H84U"),h=n("6CfX");function p(e){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function f(){return(f=Object.assign||function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,i=new Array(t);n0&&(m=t.getOptions().map((function(e){return i.createElement(I,{prefixCls:p,key:e.value.toString(),disabled:"disabled"in e?e.disabled:a.disabled,value:e.value,checked:-1!==r.value.indexOf(e.value),onChange:e.onChange,className:"".concat(g,"-item")},e.label)})));var v=s()(g,u);return i.createElement("div",D({className:v,style:c},f),m)},t.state={value:e.value||e.defaultValue||[],registeredValues:[]},t}return t=r,o=[{key:"getDerivedStateFromProps",value:function(e){return"value"in e?{value:e.value||[]}:null}}],(n=[{key:"getChildContext",value:function(){return{checkboxGroup:{toggleOption:this.toggleOption,value:this.state.value,disabled:this.props.disabled,name:this.props.name,registerValue:this.registerValue,cancelValue:this.cancelValue}}}},{key:"shouldComponentUpdate",value:function(e,t){return!c()(this.props,e)||!c()(this.state,t)}},{key:"getOptions",value:function(){return this.props.options.map((function(e){return"string"==typeof e?{label:e,value:e}:e}))}},{key:"render",value:function(){return i.createElement(d.a,null,this.renderGroup)}}])&&P(t.prototype,n),o&&P(t,o),r}(i.Component);z.defaultProps={options:[]},z.propTypes={defaultValue:o.array,value:o.array,options:o.array.isRequired,onChange:o.func},z.childContextTypes={checkboxGroup:o.any},Object(a.polyfill)(z);var B=z;I.Group=B;t.default=I},knOB:function(e,t,n){var i=n("bYtY"),o=n("hM6l");function a(e,t){o.call(this,"radius",e,t),this.type="category"}a.prototype={constructor:a,pointToData:function(e,t){return this.polar.pointToData(e,t)["radius"===this.dim?0:1]},dataToRadius:o.prototype.dataToCoord,radiusToData:o.prototype.coordToData},i.inherits(a,o);var r=a;e.exports=r},ko1b:function(e,t,n){var i=n("bYtY"),o=n("T4UG"),a=n("Bsck"),r=n("Qxkt"),s=n("7aKB"),l=s.encodeHTML,u=s.addCommas,c=n("VaxA").wrapTreePathInfo,d=o.extend({type:"series.treemap",layoutMode:"box",dependencies:["grid","polar"],preventUsingHoverLayer:!0,_viewRoot:null,defaultOption:{progressive:0,left:"center",top:"middle",right:null,bottom:null,width:"80%",height:"80%",sort:!0,clipWindow:"origin",squareRatio:.5*(1+Math.sqrt(5)),leafDepth:null,drillDownIcon:"▶",zoomToNodeRatio:.1024,roam:!0,nodeClick:"zoomToNode",animation:!0,animationDurationUpdate:900,animationEasing:"quinticInOut",breadcrumb:{show:!0,height:22,left:"center",top:"bottom",emptyItemWidth:25,itemStyle:{color:"rgba(0,0,0,0.7)",borderColor:"rgba(255,255,255,0.7)",borderWidth:1,shadowColor:"rgba(150,150,150,1)",shadowBlur:3,shadowOffsetX:0,shadowOffsetY:0,textStyle:{color:"#fff"}},emphasis:{textStyle:{}}},label:{show:!0,distance:0,padding:5,position:"inside",color:"#fff",ellipsis:!0},upperLabel:{show:!1,position:[0,"50%"],height:20,color:"#fff",ellipsis:!0,verticalAlign:"middle"},itemStyle:{color:null,colorAlpha:null,colorSaturation:null,borderWidth:0,gapWidth:0,borderColor:"#fff",borderColorSaturation:null},emphasis:{upperLabel:{show:!0,position:[0,"50%"],color:"#fff",ellipsis:!0,verticalAlign:"middle"}},visualDimension:0,visualMin:null,visualMax:null,color:[],colorAlpha:null,colorSaturation:null,colorMappingBy:"index",visibleMin:10,childrenVisibleMin:null,levels:[]},getInitialData:function(e,t){var n={name:e.name,children:e.data};!function e(t){var n=0;i.each(t.children,(function(t){e(t);var o=t.value;i.isArray(o)&&(o=o[0]),n+=o}));var o=t.value;i.isArray(o)&&(o=o[0]);(null==o||isNaN(o))&&(o=n);o<0&&(o=0);i.isArray(t.value)?t.value[0]=o:t.value=o}(n);var o=e.levels||[],s=this.designatedVisualItemStyle={},l=new r({itemStyle:s},this,t);o=e.levels=function(e,t){var n,o=t.get("color");if(!o)return;if(e=e||[],i.each(e,(function(e){var t=new r(e),i=t.get("color");(t.get("itemStyle.color")||i&&"none"!==i)&&(n=!0)})),!n){(e[0]||(e[0]={})).color=o.slice()}return e}(o,t);var u=i.map(o||[],(function(e){return new r(e,l,t)}),this),c=a.createTree(n,this,(function(e){e.wrapMethod("getItemModel",(function(e,t){var n=c.getNodeByDataIndex(t),i=u[n.depth];return e.parentModel=i||l,e}))}));return c.data},optionUpdated:function(){this.resetViewRoot()},formatTooltip:function(e){var t=this.getData(),n=this.getRawValue(e),o=i.isArray(n)?u(n[0]):u(n),a=t.getName(e);return l(a+": "+o)},getDataParams:function(e){var t=o.prototype.getDataParams.apply(this,arguments),n=this.getData().tree.getNodeByDataIndex(e);return t.treePathInfo=c(n,this),t},setLayoutInfo:function(e){this.layoutInfo=this.layoutInfo||{},i.extend(this.layoutInfo,e)},mapIdToIndex:function(e){var t=this._idIndexMap;t||(t=this._idIndexMap=i.createHashMap(),this._idIndexMapCount=0);var n=t.get(e);return null==n&&t.set(e,n=this._idIndexMapCount++),n},getViewRoot:function(){return this._viewRoot},resetViewRoot:function(e){e?this._viewRoot=e:e=this._viewRoot;var t=this.getRawData().tree.root;e&&(e===t||t.contains(e))||(this._viewRoot=t)}});e.exports=d},kzvK:function(e,t,n){var i=n("sS/r").extend({type:"timeline"});e.exports=i},lELe:function(e,t,n){var i=n("bYtY");e.exports=function(e){var t=[];i.each(e.series,(function(e){e&&"map"===e.type&&(t.push(e),e.map=e.map||e.mapType,i.defaults(e,e.mapLocation))}))}},lLGD:function(e,t,n){var i=n("ProS"),o=n("bYtY"),a=n("nVfU"),r=a.layout,s=a.largeLayout;n("Wqna"),n("F7hV"),n("Z8zF"),n("Ae16"),i.registerLayout(i.PRIORITY.VISUAL.LAYOUT,o.curry(r,"bar")),i.registerLayout(i.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,s),i.registerVisual({seriesType:"bar",reset:function(e){e.getData().setVisual("legendSymbol","roundRect")}})},lOQZ:function(e,t,n){var i=n("QBsz"),o=n("U/Mo"),a=o.getSymbolSize,r=o.getNodeGlobalScale,s=n("bYtY"),l=n("DDd/").getCurvenessForEdge,u=Math.PI,c=[];var d={value:function(e,t,n,i,o,a,r,s){var l=0,u=i.getSum("value"),c=2*Math.PI/(u||s);n.eachNode((function(e){var t=e.getValue("value"),n=c*(u?t:1)/2;l+=n,e.setLayout([o*Math.cos(l)+a,o*Math.sin(l)+r]),l+=n}))},symbolSize:function(e,t,n,i,o,s,l,d){var h=0;c.length=d;var p=r(e);n.eachNode((function(e){var t=a(e);isNaN(t)&&(t=2),t<0&&(t=0),t*=p;var n=Math.asin(t/2/o);isNaN(n)&&(n=u/2),c[e.dataIndex]=n,h+=2*n}));var g=(2*u-h)/d/2,f=0;n.eachNode((function(e){var t=g+c[e.dataIndex];f+=t,e.setLayout([o*Math.cos(f)+s,o*Math.sin(f)+l]),f+=t}))}};t.circularLayout=function(e,t){var n=e.coordinateSystem;if(!n||"view"===n.type){var o=n.getBoundingRect(),a=e.getData(),r=a.graph,u=o.width/2+o.x,c=o.height/2+o.y,h=Math.min(o.width,o.height)/2,p=a.count();a.setLayout({cx:u,cy:c}),p&&(d[t](e,n,r,a,h,u,c,p),r.eachEdge((function(t,n){var o,a=s.retrieve3(t.getModel().get("lineStyle.curveness"),l(t,e,n),0),r=i.clone(t.node1.getLayout()),d=i.clone(t.node2.getLayout()),h=(r[0]+d[0])/2,p=(r[1]+d[1])/2;+a&&(o=[u*(a*=3)+h*(1-a),c*a+p*(1-a)]),t.setLayout([r,d,o])})))}}},laiN:function(e,t,n){var i=n("ProS");n("GVMX"),n("MH26"),i.registerPreprocessor((function(e){e.markLine=e.markLine||{}}))},lwQL:function(e,t,n){var i=n("ProS"),o=n("bYtY"),a=n("9wZj"),r=n("c8qY"),s=n("SgGq"),l=n("Ae+d"),u=n("xSat").onIrrelevantElement,c=n("IwbS"),d=n("SA8n"),h=n("U/Mo").getNodeGlobalScale,p="__focusNodeAdjacency",g=["itemStyle","opacity"],f=["lineStyle","opacity"];function m(e,t){var n=e.getVisual("opacity");return null!=n?n:e.getModel().get(t)}function v(e,t,n){var i=e.getGraphicEl(),o=m(e,t);null!=n&&(null==o&&(o=1),o*=n),i.downplay&&i.downplay(),i.traverse((function(e){if(!e.isGroup){var t=e.lineLabelOriginalOpacity;null!=t&&null==n||(t=o),e.setStyle("opacity",t)}}))}function y(e,t){var n=m(e,t),i=e.getGraphicEl();i.traverse((function(e){!e.isGroup&&e.setStyle("opacity",n)})),i.highlight&&i.highlight()}var x=i.extendChartView({type:"graph",init:function(e,t){var n=new a,i=new r,o=this.group;this._controller=new s(t.getZr()),this._controllerHost={target:o},o.add(n.group),o.add(i.group),this._symbolDraw=n,this._lineDraw=i,this._firstRender=!0},render:function(e,t,n){var i=this,o=e.coordinateSystem;this._model=e;var a=this._symbolDraw,r=this._lineDraw,s=this.group;if("view"===o.type){var l={position:o.position,scale:o.scale};this._firstRender?s.attr(l):c.updateProps(s,l,e)}d(e.getGraph(),h(e));var u=e.getData();a.updateData(u);var g=e.getEdgeData();r.updateData(g),this._updateNodeAndLinkScale(),this._updateController(e,t,n),clearTimeout(this._layoutTimeout);var f=e.forceLayout,m=e.get("force.layoutAnimation");f&&this._startForceLayoutIteration(f,m),u.eachItemGraphicEl((function(t,o){var a=u.getItemModel(o);t.off("drag").off("dragend");var r=a.get("draggable");r&&t.on("drag",(function(){f&&(f.warmUp(),!this._layouting&&this._startForceLayoutIteration(f,m),f.setFixed(o),u.setItemLayout(o,t.position))}),this).on("dragend",(function(){f&&f.setUnfixed(o)}),this),t.setDraggable(r&&f),t[p]&&t.off("mouseover",t[p]),t.__unfocusNodeAdjacency&&t.off("mouseout",t.__unfocusNodeAdjacency),a.get("focusNodeAdjacency")&&(t.on("mouseover",t[p]=function(){i._clearTimer(),n.dispatchAction({type:"focusNodeAdjacency",seriesId:e.id,dataIndex:t.dataIndex})}),t.on("mouseout",t.__unfocusNodeAdjacency=function(){i._dispatchUnfocus(n)}))}),this),u.graph.eachEdge((function(t){var o=t.getGraphicEl();o[p]&&o.off("mouseover",o[p]),o.__unfocusNodeAdjacency&&o.off("mouseout",o.__unfocusNodeAdjacency),t.getModel().get("focusNodeAdjacency")&&(o.on("mouseover",o[p]=function(){i._clearTimer(),n.dispatchAction({type:"focusNodeAdjacency",seriesId:e.id,edgeDataIndex:t.dataIndex})}),o.on("mouseout",o.__unfocusNodeAdjacency=function(){i._dispatchUnfocus(n)}))}));var v="circular"===e.get("layout")&&e.get("circular.rotateLabel"),y=u.getLayout("cx"),x=u.getLayout("cy");u.eachItemGraphicEl((function(e,t){var n=u.getItemModel(t).get("label.rotate")||0,i=e.getSymbolPath();if(v){var o=u.getItemLayout(t),a=Math.atan2(o[1]-x,o[0]-y);a<0&&(a=2*Math.PI+a);var r=o[0]0?n=i[0]:i[1]<0&&(n=i[1]);return n}(s,n),u=r.dim,c=s.dim,d=t.mapDimension(c),h=t.mapDimension(u),p="x"===c||"radius"===c?1:0,g=o(e.dimensions,(function(e){return t.mapDimension(e)})),f=t.getCalculationInfo("stackResultDimension");return(a|=i(t,g[0]))&&(g[0]=f),(a|=i(t,g[1]))&&(g[1]=f),{dataDimsForPoint:g,valueStart:l,valueAxisDim:c,baseAxisDim:u,stacked:!!a,valueDim:d,baseDim:h,baseDataOffset:p,stackedOverDimension:t.getCalculationInfo("stackedOverDimension")}},t.getStackedOnPoint=function(e,t,n,i){var o=NaN;e.stacked&&(o=n.get(n.getCalculationInfo("stackedOverDimension"),i)),isNaN(o)&&(o=e.valueStart);var a=e.baseDataOffset,r=[];return r[a]=n.get(e.baseDim,i),r[1-a]=o,t.dataToPoint(r)}},n6Mw:function(e,t,n){var i=n("SrGk"),o=n("bYtY"),a=n("Fofx");function r(e,t){i.call(this,e,t,"clipPath","__clippath_in_use__")}o.inherits(r,i),r.prototype.update=function(e){var t=this.getSvgElement(e);t&&this.updateDom(t,e.__clipPaths,!1);var n=this.getTextSvgElement(e);n&&this.updateDom(n,e.__clipPaths,!0),this.markUsed(e)},r.prototype.updateDom=function(e,t,n){if(t&&t.length>0){var i,o,r=this.getDefs(!0),s=t[0],l=n?"_textDom":"_dom";s[l]?(o=s[l].getAttribute("id"),i=s[l],r.contains(i)||r.appendChild(i)):(o="zr"+this._zrId+"-clip-"+this.nextId,++this.nextId,(i=this.createElement("clipPath")).setAttribute("id",o),r.appendChild(i),s[l]=i);var u=this.getSvgProxy(s);if(s.transform&&s.parent.invTransform&&!n){var c=Array.prototype.slice.call(s.transform);a.mul(s.transform,s.parent.invTransform,s.transform),u.brush(s),s.transform=c}else u.brush(s);var d=this.getSvgElement(s);i.innerHTML="",i.appendChild(d.cloneNode()),e.setAttribute("clip-path","url(#"+o+")"),t.length>1&&this.updateDom(i,t.slice(1),n)}else e&&e.setAttribute("clip-path","none")},r.prototype.markUsed=function(e){var t=this;e.__clipPaths&&o.each(e.__clipPaths,(function(e){e._dom&&i.prototype.markUsed.call(t,e._dom),e._textDom&&i.prototype.markUsed.call(t,e._textDom)}))};var s=r;e.exports=s},nKiI:function(e,t,n){var i=n("bYtY"),o=n("mFDi"),a=n("OELB"),r=a.parsePercent,s=a.MAX_SAFE_INTEGER,l=n("+TT/"),u=n("VaxA"),c=Math.max,d=Math.min,h=i.retrieve,p=i.each,g=["itemStyle","borderWidth"],f=["itemStyle","gapWidth"],m=["upperLabel","show"],v=["upperLabel","height"],y={seriesType:"treemap",reset:function(e,t,n,a){var m=n.getWidth(),v=n.getHeight(),y=e.option,w=l.getLayoutRect(e.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()}),M=y.size||[],I=r(h(w.width,M[0]),m),A=r(h(w.height,M[1]),v),T=a&&a.type,D=u.retrieveTargetInfo(a,["treemapZoomToNode","treemapRootToNode"],e),C="treemapRender"===T||"treemapMove"===T?a.rootRect:null,L=e.getViewRoot(),P=u.getPathToRoot(L);if("treemapMove"!==T){var k="treemapZoomToNode"===T?function(e,t,n,i,o){var a,r=(t||{}).node,l=[i,o];if(!r||r===n)return l;var u=i*o,c=u*e.option.zoomToNodeRatio;for(;a=r.parentNode;){for(var d=0,h=a.children,p=0,f=h.length;ps&&(c=s),r=a}cs[1]&&(s[1]=t)}))}else s=[NaN,NaN];return{sum:i,dataExtent:s}}(t,s,l);if(0===c.sum)return e.viewChildren=[];if(c.sum=function(e,t,n,i,o){if(!i)return n;for(var a=e.get("visibleMin"),r=o.length,s=r,l=r-1;l>=0;l--){var u=o["asc"===i?r-l-1:l].getValue();u/n*to&&(o=i));var l=e.area*e.area,u=t*t*n;return l?c(u*o/l,l/(u*a)):1/0}function b(e,t,n,i,o){var a=t===n.width?0:1,r=1-a,s=["x","y"],l=["width","height"],u=n[s[a]],h=t?e.area/t:0;(o||h>n[l[r]])&&(h=n[l[r]]);for(var p=0,g=e.length;p0){e.moveTo(n[o++],n[o++]);for(var r=1;r0){var d=(s+u)/2-(l-c)*i,h=(l+c)/2-(u-s)*i;e.quadraticCurveTo(d,h,u,c)}else e.lineTo(u,c)}},findDataIndex:function(e,t){var n=this.shape,i=n.segs,o=n.curveness;if(n.polyline)for(var s=0,l=0;l0)for(var c=i[l++],d=i[l++],h=1;h0){var f=(c+p)/2-(d-g)*o,m=(d+g)/2-(p-c)*o;if(r.containStroke(c,d,f,m,p,g))return s}else if(a.containStroke(c,d,p,g))return s;s++}return-1}});function l(){this.group=new i.Group}var u=l.prototype;u.isPersistent=function(){return!this._incremental},u.updateData=function(e){this.group.removeAll();var t=new s({rectHover:!0,cursor:"default"});t.setShape({segs:e.getLayout("linesPoints")}),this._setCommon(t,e),this.group.add(t),this._incremental=null},u.incrementalPrepareUpdate=function(e){this.group.removeAll(),this._clearIncremental(),e.count()>5e5?(this._incremental||(this._incremental=new o({silent:!0})),this.group.add(this._incremental)):this._incremental=null},u.incrementalUpdate=function(e,t){var n=new s;n.setShape({segs:t.getLayout("linesPoints")}),this._setCommon(n,t,!!this._incremental),this._incremental?this._incremental.addDisplayable(n,!0):(n.rectHover=!0,n.cursor="default",n.__startIndex=e.start,this.group.add(n))},u.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},u._setCommon=function(e,t,n){var i=t.hostModel;e.setShape({polyline:i.get("polyline"),curveness:i.get("lineStyle.curveness")}),e.useStyle(i.getModel("lineStyle").getLineStyle()),e.style.strokeNoScale=!0;var o=t.getVisual("color");o&&e.setStyle("stroke",o),e.setStyle("fill"),n||(e.seriesIndex=i.seriesIndex,e.on("mousemove",(function(t){e.dataIndex=null;var n=e.findDataIndex(t.offsetX,t.offsetY);n>0&&(e.dataIndex=n+e.__startIndex)})))},u._clearIncremental=function(){var e=this._incremental;e&&e.clearDisplaybles()};var c=l;e.exports=c},oE7X:function(e,t,n){n("bLfw").registerSubTypeDefaulter("timeline",(function(){return"slider"}))},oY9F:function(e,t,n){var i=n("OlYY").extend({type:"dataZoom.inside",defaultOption:{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}});e.exports=i},"p+If":function(e,t,n){var i=n("ProS");n("cpOr"),n("rkZ5");var o=n("ZYIC"),a=n("7ph2");i.registerLayout(o),i.registerVisual(a)},"p/La":function(e,t){var n=[[[123.45165252685547,25.73527164402261],[123.49731445312499,25.73527164402261],[123.49731445312499,25.750734064600884],[123.45165252685547,25.750734064600884],[123.45165252685547,25.73527164402261]]];e.exports=function(e,t){"china"===e&&"台湾"===t.name&&t.geometries.push({type:"polygon",exterior:n[0]})}},p1MT:function(e,t,n){var i=n("Hw7h"),o=n("IwbS"),a=n("6Ic6"),r=n("OELB"),s=r.parsePercent,l=r.round,u=r.linearMap;function c(e,t){return t&&("string"==typeof t?e=t.replace("{value}",null!=e?e:""):"function"==typeof t&&(e=t(e))),e}var d=2*Math.PI,h=a.extend({type:"gauge",render:function(e,t,n){this.group.removeAll();var i=e.get("axisLine.lineStyle.color"),o=function(e,t){var n=e.get("center"),i=t.getWidth(),o=t.getHeight(),a=Math.min(i,o);return{cx:s(n[0],t.getWidth()),cy:s(n[1],t.getHeight()),r:s(e.get("radius"),a/2)}}(e,n);this._renderMain(e,t,n,i,o)},dispose:function(){},_renderMain:function(e,t,n,i,a){for(var r=this.group,s=e.getModel("axisLine"),l=s.getModel("lineStyle"),u=e.get("clockwise"),c=-e.get("startAngle")/180*Math.PI,h=((v=-e.get("endAngle")/180*Math.PI)-c)%d,p=c,g=l.get("width"),f=s.get("show"),m=0;f&&m=e&&(0===t?0:i[t-1][0]).4?"bottom":"middle",textAlign:P<-.4?"left":P>.4?"right":"center"},{autoColor:R}),silent:!0}))}if(x.get("show")&&L!==b){for(var V=0;V<=S;V++){P=Math.cos(I),k=Math.sin(I);var z=new o.Line({shape:{x1:P*f+p,y1:k*f+g,x2:P*(f-M)+p,y2:k*(f-M)+g},silent:!0,style:C});"auto"===C.stroke&&z.setStyle({stroke:i((L+V/S)/b)}),h.add(z),I+=T}I-=T}else I+=A}},_renderPointer:function(e,t,n,a,r,l,c,d){var h=this.group,p=this._data;if(e.get("pointer.show")){var g=[+e.get("min"),+e.get("max")],f=[l,c],m=e.getData(),v=m.mapDimension("value");m.diff(p).add((function(t){var n=new i({shape:{angle:l}});o.initProps(n,{shape:{angle:u(m.get(v,t),g,f,!0)}},e),h.add(n),m.setItemGraphicEl(t,n)})).update((function(t,n){var i=p.getItemGraphicEl(n);o.updateProps(i,{shape:{angle:u(m.get(v,t),g,f,!0)}},e),h.add(i),m.setItemGraphicEl(t,i)})).remove((function(e){var t=p.getItemGraphicEl(e);h.remove(t)})).execute(),m.eachItemGraphicEl((function(e,t){var n=m.getItemModel(t),i=n.getModel("pointer");e.setShape({x:r.cx,y:r.cy,width:s(i.get("width"),r.r),r:s(i.get("length"),r.r)}),e.useStyle(n.getModel("itemStyle").getItemStyle()),"auto"===e.style.fill&&e.setStyle("fill",a(u(m.get(v,t),g,[0,1],!0))),o.setHoverStyle(e,n.getModel("emphasis.itemStyle").getItemStyle())})),this._data=m}else p&&p.eachItemGraphicEl((function(e){h.remove(e)}))},_renderTitle:function(e,t,n,i,a){var r=e.getData(),l=r.mapDimension("value"),c=e.getModel("title");if(c.get("show")){var d=c.get("offsetCenter"),h=a.cx+s(d[0],a.r),p=a.cy+s(d[1],a.r),g=+e.get("min"),f=+e.get("max"),m=e.getData().get(l,0),v=i(u(m,[g,f],[0,1],!0));this.group.add(new o.Text({silent:!0,style:o.setTextStyle({},c,{x:h,y:p,text:r.getName(0),textAlign:"center",textVerticalAlign:"middle"},{autoColor:v,forceRich:!0})}))}},_renderDetail:function(e,t,n,i,a){var r=e.getModel("detail"),l=+e.get("min"),d=+e.get("max");if(r.get("show")){var h=r.get("offsetCenter"),p=a.cx+s(h[0],a.r),g=a.cy+s(h[1],a.r),f=s(r.get("width"),a.r),m=s(r.get("height"),a.r),v=e.getData(),y=v.get(v.mapDimension("value"),0),x=i(u(y,[l,d],[0,1],!0));this.group.add(new o.Text({silent:!0,style:o.setTextStyle({},r,{x:p,y:g,text:c(y,r.get("formatter")),textWidth:isNaN(f)?null:f,textHeight:isNaN(m)?null:m,textAlign:"center",textVerticalAlign:"middle"},{autoColor:x,forceRich:!0})}))}}});e.exports=h},pLH3:function(e,t,n){var i=n("ProS");n("ALo7"),n("TWL2");var o=n("mOdp"),a=n("JLnu"),r=n("0/Rx");i.registerVisual(o("funnel")),i.registerLayout(a),i.registerProcessor(r("funnel"))},pP6R:function(e,t,n){var i=n("ProS"),o="\0_ec_interaction_mutex";function a(e){return e[o]||(e[o]={})}i.registerAction({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},(function(){})),t.take=function(e,t,n){a(e)[t]=n},t.release=function(e,t,n){var i=a(e);i[t]===n&&(i[t]=null)},t.isTaken=function(e,t){return!!a(e)[t]}},pmaE:function(e,t,n){var i=n("ProS"),o=n("bYtY"),a=n("IwbS"),r=n("DEFe"),s=i.extendChartView({type:"map",render:function(e,t,n,i){if(!i||"mapToggleSelect"!==i.type||i.from!==this.uid){var o=this.group;if(o.removeAll(),!e.getHostGeoModel()){if(i&&"geoRoam"===i.type&&"series"===i.componentType&&i.seriesId===e.id)(a=this._mapDraw)&&o.add(a.group);else if(e.needsDrawMap){var a=this._mapDraw||new r(n,!0);o.add(a.group),a.draw(e,t,n,this,i),this._mapDraw=a}else this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null;e.get("showLegendSymbol")&&t.getComponent("legend")&&this._renderSymbols(e,t,n)}}},remove:function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null,this.group.removeAll()},dispose:function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null},_renderSymbols:function(e,t,n){var i=e.originalData,r=this.group;i.each(i.mapDimension("value"),(function(t,n){if(!isNaN(t)){var s=i.getItemLayout(n);if(s&&s.point){var c=s.point,d=s.offset,h=new a.Circle({style:{fill:e.getData().getVisual("color")},shape:{cx:c[0]+9*d,cy:c[1],r:3},silent:!0,z2:8+(d?0:a.Z2_EMPHASIS_LIFT+1)});if(!d){var p=e.mainSeries.getData(),g=i.getName(n),f=p.indexOfName(g),m=i.getItemModel(n),v=m.getModel("label"),y=m.getModel("emphasis.label"),x=p.getItemGraphicEl(f),_=o.retrieve2(e.getFormattedLabel(f,"normal"),g),b=o.retrieve2(e.getFormattedLabel(f,"emphasis"),_),S=x.__seriesMapHighDown,w=Math.random();if(!S){S=x.__seriesMapHighDown={};var M=o.curry(l,!0),I=o.curry(l,!1);x.on("mouseover",M).on("mouseout",I).on("emphasis",M).on("normal",I)}x.__seriesMapCallKey=w,o.extend(S,{recordVersion:w,circle:h,labelModel:v,hoverLabelModel:y,emphasisText:b,normalText:_}),u(S,!1)}r.add(h)}}}))}});function l(e){var t=this.__seriesMapHighDown;t&&t.recordVersion===this.__seriesMapCallKey&&u(t,e)}function u(e,t){var n=e.circle,i=e.labelModel,o=e.hoverLabelModel,r=e.emphasisText,s=e.normalText;t?(n.style.extendFrom(a.setTextStyle({},o,{text:o.get("show")?r:null},{isRectText:!0,useInsideStyle:!1},!0)),n.__mapOriginalZ2=n.z2,n.z2+=a.Z2_EMPHASIS_LIFT):(a.setTextStyle(n.style,i,{text:i.get("show")?s:null,textPosition:i.getShallow("position")||"bottom"},{isRectText:!0,useInsideStyle:!1}),n.dirty(!1),null!=n.__mapOriginalZ2&&(n.z2=n.__mapOriginalZ2,n.__mapOriginalZ2=null))}e.exports=s},"q/+u":function(e,t,n){var i=n("ProS"),o=n("9wZj"),a=n("yWXo"),r=n("h8O9");i.extendChartView({type:"scatter",render:function(e,t,n){var i=e.getData();this._updateSymbolDraw(i,e).updateData(i,{clipShape:this._getClipShape(e)}),this._finished=!0},incrementalPrepareRender:function(e,t,n){var i=e.getData();this._updateSymbolDraw(i,e).incrementalPrepareUpdate(i),this._finished=!1},incrementalRender:function(e,t,n){this._symbolDraw.incrementalUpdate(e,t.getData(),{clipShape:this._getClipShape(t)}),this._finished=e.end===t.getData().count()},updateTransform:function(e,t,n){var i=e.getData();if(this.group.dirty(),!this._finished||i.count()>1e4||!this._symbolDraw.isPersistent())return{update:!0};var o=r().reset(e);o.progress&&o.progress({start:0,end:i.count()},i),this._symbolDraw.updateLayout(i)},_getClipShape:function(e){var t=e.coordinateSystem,n=t&&t.getArea&&t.getArea();return e.get("clip",!0)?n:null},_updateSymbolDraw:function(e,t){var n=this._symbolDraw,i=t.pipelineContext.large;return n&&i===this._isLargeDraw||(n&&n.remove(),n=this._symbolDraw=i?new a:new o,this._isLargeDraw=i,this.group.removeAll()),this.group.add(n.group),n},remove:function(e,t){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},dispose:function(){}})},q3GZ:function(e,t){var n=["lineStyle","normal","opacity"],i={seriesType:"parallel",reset:function(e,t,i){var o=e.getModel("itemStyle"),a=e.getModel("lineStyle"),r=t.get("color"),s=a.get("color")||o.get("color")||r[e.seriesIndex%r.length],l=e.get("inactiveOpacity"),u=e.get("activeOpacity"),c=e.getModel("lineStyle").getLineStyle(),d=e.coordinateSystem,h=e.getData(),p={normal:c.opacity,active:u,inactive:l};return h.setVisual("color",s),{progress:function(e,t){d.eachActiveState(t,(function(e,i){var o=p[e];if("normal"===e&&t.hasItemOption){var a=t.getItemModel(i).get(n,!0);null!=a&&(o=a)}t.setItemVisual(i,"opacity",o)}),e.start,e.end)}}}};e.exports=i},qH13:function(e,t,n){var i=n("ItGF"),o=n("QBsz").applyTransform,a=n("mFDi"),r=n("Qe9p"),s=n("6GrX"),l=n("pzxd"),u=n("ni6a"),c=n("Gev7"),d=n("Dagg"),h=n("dqUG"),p=n("y+Vt"),g=n("IMiH"),f=n("QuXc"),m=n("06Qe"),v=g.CMD,y=Math.round,x=Math.sqrt,_=Math.abs,b=Math.cos,S=Math.sin,w=Math.max;if(!i.canvasSupported){var M=21600,I=M/2,A=function(e){e.style.cssText="position:absolute;left:0;top:0;width:1px;height:1px;",e.coordsize=M+","+M,e.coordorigin="0,0"},T=function(e,t,n){return"rgb("+[e,t,n].join(",")+")"},D=function(e,t){t&&e&&t.parentNode!==e&&e.appendChild(t)},C=function(e,t){t&&e&&t.parentNode===e&&e.removeChild(t)},L=function(e,t,n){return 1e5*(parseFloat(e)||0)+1e3*(parseFloat(t)||0)+n},P=l.parsePercent,k=function(e,t,n){var i=r.parse(t);n=+n,isNaN(n)&&(n=1),i&&(e.color=T(i[0],i[1],i[2]),e.opacity=n*i[3])},N=function(e,t,n,i){var a="fill"===t,s=e.getElementsByTagName(t)[0];null!=n[t]&&"none"!==n[t]&&(a||!a&&n.lineWidth)?(e[a?"filled":"stroked"]="true",n[t]instanceof f&&C(e,s),s||(s=m.createNode(t)),a?function(e,t,n){var i,a,s=t.fill;if(null!=s)if(s instanceof f){var l,u=0,c=[0,0],d=0,h=1,p=n.getBoundingRect(),g=p.width,m=p.height;if("linear"===s.type){l="gradient";var v=n.transform,y=[s.x*g,s.y*m],x=[s.x2*g,s.y2*m];v&&(o(y,y,v),o(x,x,v));var _=x[0]-y[0],b=x[1]-y[1];(u=180*Math.atan2(_,b)/Math.PI)<0&&(u+=360),u<1e-6&&(u=0)}else{l="gradientradial";y=[s.x*g,s.y*m],v=n.transform;var S=n.scale,I=g,A=m;c=[(y[0]-p.x)/I,(y[1]-p.y)/A],v&&o(y,y,v),I/=S[0]*M,A/=S[1]*M;var D=w(I,A);d=0/D,h=2*s.r/D-d}var C=s.colorStops.slice();C.sort((function(e,t){return e.offset-t.offset}));for(var L=C.length,P=[],N=[],E=0;E=2){var V=P[0][0],z=P[1][0],B=P[0][1]*t.opacity,G=P[1][1]*t.opacity;e.type=l,e.method="none",e.focus="100%",e.angle=u,e.color=V,e.color2=z,e.colors=N.join(","),e.opacity=G,e.opacity2=B}"radial"===l&&(e.focusposition=c.join(","))}else k(e,s,t.opacity)}(s,n,i):function(e,t){t.lineDash&&(e.dashstyle=t.lineDash.join(" ")),null==t.stroke||t.stroke instanceof f||k(e,t.stroke,t.opacity)}(s,n),D(e,s)):(e[a?"filled":"stroked"]="false",C(e,s))},E=[[],[],[]];p.prototype.brushVML=function(e){var t=this.style,n=this._vmlEl;n||(n=m.createNode("shape"),A(n),this._vmlEl=n),N(n,"fill",t,this),N(n,"stroke",t,this);var i=this.transform,a=null!=i,r=n.getElementsByTagName("stroke")[0];if(r){var s=t.lineWidth;if(a&&!t.strokeNoScale){var l=i[0]*i[3]-i[1]*i[2];s*=x(_(l))}r.weight=s+"px"}var u=this.path||(this.path=new g);this.__dirtyPath&&(u.beginPath(),u.subPixelOptimize=!1,this.buildPath(u,this.shape),u.toStatic(),this.__dirtyPath=!1),n.path=function(e,t){var n,i,a,r,s,l,u=v.M,c=v.C,d=v.L,h=v.A,p=v.Q,g=[],f=e.data,m=e.len();for(r=0;r.01?H&&(W+=.0125):Math.abs(F-V)<1e-4?H&&WR?T-=.0125:T+=.0125:H&&FV?A+=.0125:A-=.0125),g.push(j,y(((R-z)*k+L)*M-I),",",y(((V-B)*N+P)*M-I),",",y(((R+z)*k+L)*M-I),",",y(((V+B)*N+P)*M-I),",",y((W*k+L)*M-I),",",y((F*N+P)*M-I),",",y((A*k+L)*M-I),",",y((T*N+P)*M-I)),s=A,l=T;break;case v.R:var Z=E[0],U=E[1];Z[0]=f[r++],Z[1]=f[r++],U[0]=Z[0]+f[r++],U[1]=Z[1]+f[r++],t&&(o(Z,Z,t),o(U,U,t)),Z[0]=y(Z[0]*M-I),U[0]=y(U[0]*M-I),Z[1]=y(Z[1]*M-I),U[1]=y(U[1]*M-I),g.push(" m ",Z[0],",",Z[1]," l ",U[0],",",Z[1]," l ",U[0],",",U[1]," l ",Z[0],",",U[1]);break;case v.Z:g.push(" x ")}if(n>0){g.push(i);for(var X=0;X100&&(V=0,R={});var n,i=z.style;try{i.font=e,n=i.fontFamily.split(",")[0]}catch(e){}t={style:i.fontStyle||"normal",variant:i.fontVariant||"normal",weight:i.fontWeight||"normal",size:0|parseFloat(i.fontSize||12),family:n||"Microsoft YaHei"},R[e]=t,V++}return t}(a.font),b=_.style+" "+_.variant+" "+_.weight+" "+_.size+'px "'+_.family+'"';n=n||s.getBoundingRect(r,b,v,x,a.textPadding,a.textLineHeight);var S=this.transform;if(S&&!i&&(B.copy(t),B.applyTransform(S),t=B),i)g=t.x,f=t.y;else{var w=a.textPosition;if(w instanceof Array)g=t.x+P(w[0],t.width),f=t.y+P(w[1],t.height),v=v||"left";else{var M=this.calculateTextPosition?this.calculateTextPosition({},a,t):s.calculateTextPosition({},a,t);g=M.x,f=M.y,v=v||M.textAlign,x=x||M.textVerticalAlign}}g=s.adjustTextX(g,n.width,v),f=s.adjustTextY(f,n.height,x),f+=n.height/2;var I,T,C,k=m.createNode,E=this._textVmlEl;E?T=(I=(C=E.firstChild).nextSibling).nextSibling:(E=k("line"),I=k("path"),T=k("textpath"),C=k("skew"),T.style["v-text-align"]="left",A(E),I.textpathok=!0,T.on=!0,E.from="0 0",E.to="1000 0.05",D(E,C),D(E,I),D(E,T),this._textVmlEl=E);var O=[g,f],G=E.style;S&&i?(o(O,O,S),C.on=!0,C.matrix=S[0].toFixed(3)+","+S[2].toFixed(3)+","+S[1].toFixed(3)+","+S[3].toFixed(3)+",0,0",C.offset=(y(O[0])||0)+","+(y(O[1])||0),C.origin="0 0",G.left="0px",G.top="0px"):(C.on=!1,G.left=y(g)+"px",G.top=y(f)+"px"),T.string=String(r).replace(/&/g,"&").replace(/"/g,""");try{T.style.font=b}catch(e){}N(E,"fill",{fill:a.textFill,opacity:a.opacity},this),N(E,"stroke",{stroke:a.textStroke,opacity:a.opacity,lineDash:a.lineDash||null},this),E.style.zIndex=L(this.zlevel,this.z,this.z2),D(e,E)}},Y=function(e){C(e,this._textVmlEl),this._textVmlEl=null},H=function(e){D(e,this._textVmlEl)},W=[u,c,d,p,h],F=0;Fd?d=p:(h.lastTickCount=i,h.lastAutoInterval=d),d}},i.inherits(s,a);var l=s;e.exports=l},qgGe:function(e,t,n){var i=n("bYtY"),o=n("T4UG"),a=n("Bsck"),r=n("Qxkt"),s=n("VaxA").wrapTreePathInfo,l=o.extend({type:"series.sunburst",_viewRoot:null,getInitialData:function(e,t){var n={name:e.name,children:e.data};!function e(t){var n=0;i.each(t.children,(function(t){e(t);var o=t.value;i.isArray(o)&&(o=o[0]),n+=o}));var o=t.value;i.isArray(o)&&(o=o[0]);(null==o||isNaN(o))&&(o=n);o<0&&(o=0);i.isArray(t.value)?t.value[0]=o:t.value=o}(n);var o=i.map(e.levels||[],(function(e){return new r(e,this,t)}),this),s=a.createTree(n,this,(function(e){e.wrapMethod("getItemModel",(function(e,t){var n=s.getNodeByDataIndex(t),i=o[n.depth];return i&&(e.parentModel=i),e}))}));return s.data},optionUpdated:function(){this.resetViewRoot()},getDataParams:function(e){var t=o.prototype.getDataParams.apply(this,arguments),n=this.getData().tree.getNodeByDataIndex(e);return t.treePathInfo=s(n,this),t},defaultOption:{zlevel:0,z:2,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,percentPrecision:2,stillShowZeroSum:!0,highlightPolicy:"descendant",nodeClick:"rootToNode",renderLabelForZeroData:!1,label:{rotate:"radial",show:!0,opacity:1,align:"center",position:"inside",distance:5,silent:!0},itemStyle:{borderWidth:1,borderColor:"white",borderType:"solid",shadowBlur:0,shadowColor:"rgba(0, 0, 0, 0.2)",shadowOffsetX:0,shadowOffsetY:0,opacity:1},highlight:{itemStyle:{opacity:1}},downplay:{itemStyle:{opacity:.5},label:{opacity:.6}},animationType:"expansion",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicOut",data:[],levels:[],sort:"desc"},getViewRoot:function(){return this._viewRoot},resetViewRoot:function(e){e?this._viewRoot=e:e=this._viewRoot;var t=this.getRawData().tree.root;e&&(e===t||t.contains(e))||(this._viewRoot=t)}});e.exports=l},qj72:function(e,t,n){var i=n("bYtY");function o(e,t){return t=t||[0,0],i.map(["x","y"],(function(n,i){var o=this.getAxis(n),a=t[i],r=e[i]/2;return"category"===o.type?o.getBandWidth():Math.abs(o.dataToCoord(a-r)-o.dataToCoord(a+r))}),this)}e.exports=function(e){var t=e.grid.getRect();return{coordSys:{type:"cartesian2d",x:t.x,y:t.y,width:t.width,height:t.height},api:{coord:function(t){return e.dataToPoint(t)},size:i.bind(o,e)}}}},"qt/9":function(e,t,n){var i=n("ProS"),o=n("bYtY");n("Wqna"),n("1tlw"),n("Mylv");var a=n("nVfU").layout,r=n("f5Yq");n("Ae16"),i.registerLayout(o.curry(a,"pictorialBar")),i.registerVisual(r("pictorialBar","roundRect"))},qwVE:function(e,t,n){var i=n("ProS"),o=n("bYtY"),a=n("K4ya"),r=n("XxSj"),s=i.PRIORITY.VISUAL.COMPONENT;function l(e,t,n,i){for(var o=t.targetVisuals[i],a=r.prepareVisualTypes(o),s={color:e.getData().getVisual("color")},l=0,u=a.length;l3||Math.abs(e.dy)>3)){var t=this.seriesModel.getData().tree.root;if(!t)return;var n=t.getLayout();if(!n)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:n.x+e.dx,y:n.y+e.dy,width:n.width,height:n.height}})}},_onZoom:function(e){var t=e.originX,n=e.originY;if("animating"!==this._state){var i=this.seriesModel.getData().tree.root;if(!i)return;var o=i.getLayout();if(!o)return;var a=new c(o.x,o.y,o.width,o.height),r=this.seriesModel.layoutInfo;t-=r.x,n-=r.y;var s=d.create();d.translate(s,s,[-t,-n]),d.scale(s,s,[e.scale,e.scale]),d.translate(s,s,[t,n]),a.applyTransform(s),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:a.x,y:a.y,width:a.width,height:a.height}})}},_initEvents:function(e){e.on("click",(function(e){if("ready"===this._state){var t=this.seriesModel.get("nodeClick",!0);if(t){var n=this.findTarget(e.offsetX,e.offsetY);if(n){var i=n.node;if(i.getLayout().isLeafRoot)this._rootToNode(n);else if("zoomToNode"===t)this._zoomToNode(n);else if("link"===t){var o=i.hostTree.data.getItemModel(i.dataIndex),a=o.get("link",!0),r=o.get("target",!0)||"blank";a&&g(a,r)}}}}}),this)},_renderBreadcrumb:function(e,t,n){n||(n=null!=e.get("leafDepth",!0)?{node:e.getViewRoot()}:this.findTarget(t.getWidth()/2,t.getHeight()/2))||(n={node:e.getData().tree.root}),(this._breadcrumb||(this._breadcrumb=new l(this.group))).render(e,t,n.node,f((function(t){"animating"!==this._state&&(s.aboveViewRoot(e.getViewRoot(),t)?this._rootToNode({node:t}):this._zoomToNode({node:t}))}),this))},remove:function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage={nodeGroup:[],background:[],content:[]},this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},dispose:function(){this._clearController()},_zoomToNode:function(e){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:e.node})},_rootToNode:function(e){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:e.node})},findTarget:function(e,t){var n;return this.seriesModel.getViewRoot().eachNode({attr:"viewChildren",order:"preorder"},(function(i){var o=this._storage.background[i.getRawIndex()];if(o){var a=o.transformCoordToLocal(e,t),r=o.shape;if(!(r.x<=a[0]&&a[0]<=r.x+r.width&&r.y<=a[1]&&a[1]<=r.y+r.height))return!1;n={node:i,offsetX:a[0],offsetY:a[1]}}}),this),n}});function A(e,t,n,i,r,s,l,u,c,d){if(l){var h=l.getLayout(),p=e.getData();if(p.setItemGraphicEl(l.dataIndex,null),h&&h.isInView){var g=h.width,f=h.height,y=h.borderWidth,I=h.invisible,A=l.getRawIndex(),D=u&&u.getRawIndex(),C=l.viewChildren,L=h.upperHeight,P=C&&C.length,k=l.getModel("itemStyle"),N=l.getModel("emphasis.itemStyle"),E=Y("nodeGroup",m);if(E){if(c.add(E),E.attr("position",[h.x||0,h.y||0]),E.__tmNodeWidth=g,E.__tmNodeHeight=f,h.isAboveViewRoot)return E;var O=l.getModel(),R=Y("background",v,d,1);if(R&&function(t,n,i){if(n.dataIndex=l.dataIndex,n.seriesIndex=e.seriesIndex,n.setShape({x:0,y:0,width:g,height:f}),I)z(n);else{n.invisible=!1;var o=l.getVisual("borderColor",!0),r=N.get("borderColor"),s=M(k);s.fill=o;var u=w(N);if(u.fill=r,i){var c=g-2*y;B(s,u,o,c,L,{x:y,y:0,width:c,height:L})}else s.text=u.text=null;n.setStyle(s),a.setElementHoverStyle(n,u)}t.add(n)}(E,R,P&&h.upperLabelHeight),P)a.isHighDownDispatcher(E)&&a.setAsHighDownDispatcher(E,!1),R&&(a.setAsHighDownDispatcher(R,!0),p.setItemGraphicEl(l.dataIndex,R));else{var V=Y("content",v,d,2);V&&function(t,n){n.dataIndex=l.dataIndex,n.seriesIndex=e.seriesIndex;var i=Math.max(g-2*y,0),o=Math.max(f-2*y,0);if(n.culling=!0,n.setShape({x:y,y:y,width:i,height:o}),I)z(n);else{n.invisible=!1;var r=l.getVisual("color",!0),s=M(k);s.fill=r;var u=w(N);B(s,u,r,i,o),n.setStyle(s),a.setElementHoverStyle(n,u)}t.add(n)}(E,V),R&&a.isHighDownDispatcher(R)&&a.setAsHighDownDispatcher(R,!1),a.setAsHighDownDispatcher(E,!0),p.setItemGraphicEl(l.dataIndex,E)}return E}}}function z(e){!e.invisible&&s.push(e)}function B(t,n,i,r,s,u){var c=O.get("name"),d=O.getModel(u?b:x),p=O.getModel(u?S:_),g=d.getShallow("show");a.setLabelStyle(t,n,d,p,{defaultText:g?c:null,autoColor:i,isRectText:!0,labelFetcher:e,labelDataIndex:l.dataIndex,labelProp:u?"upperLabel":"label"}),G(t,u,h),G(n,u,h),u&&(t.textRect=o.clone(u)),t.truncate=g&&d.get("ellipsis")?{outerWidth:r,outerHeight:s,minChar:2}:null}function G(t,n,i){var o=t.text;if(!n&&i.isLeafRoot&&null!=o){var a=e.get("drillDownIcon",!0);t.text=a?a+" "+o:o}}function Y(e,a,s,u){var c=null!=D&&n[e][D],d=r[e];return c?(n[e][D]=null,function(e,t,n){(e[A]={}).old="nodeGroup"===n?t.position.slice():o.extend({},t.shape)}(d,c,e)):I||((c=new a({z:T(s,u)})).__tmDepth=s,c.__tmStorageName=e,function(e,t,n){var o=e[A]={},a=l.parentNode;if(a&&(!i||"drillDown"===i.direction)){var s=0,u=0,c=r.background[a.getRawIndex()];!i&&c&&c.old&&(s=c.old.width,u=c.old.height),o.old="nodeGroup"===n?[0,u]:{x:s,y:u,width:0,height:0}}o.fadein="nodeGroup"!==n}(d,0,e)),t[e][A]=c}}function T(e,t){var n=10*e+t;return(n-1)/n}e.exports=I},sAZ8:function(e,t,n){var i=n("ProS"),o=n("bYtY"),a=n("+rIm"),r=n("/IIm"),s=n("9KIM"),l=n("IwbS"),u=["axisLine","axisTickLabel","axisName"],c=i.extendComponentView({type:"parallelAxis",init:function(e,t){c.superApply(this,"init",arguments),(this._brushController=new r(t.getZr())).on("brush",o.bind(this._onBrush,this))},render:function(e,t,n,i){if(!function(e,t,n){return n&&"axisAreaSelect"===n.type&&t.findComponents({mainType:"parallelAxis",query:n})[0]===e}(e,t,i)){this.axisModel=e,this.api=n,this.group.removeAll();var r=this._axisGroup;if(this._axisGroup=new l.Group,this.group.add(this._axisGroup),e.get("show")){var s=function(e,t){return t.getComponent("parallel",e.get("parallelIndex"))}(e,t),c=s.coordinateSystem,d=e.getAreaSelectStyle(),h=d.width,p=e.axis.dim,g=c.getAxisLayout(p),f=o.extend({strokeContainThreshold:h},g),m=new a(e,f);o.each(u,m.add,m),this._axisGroup.add(m.getGroup()),this._refreshBrushController(f,d,e,s,h,n);var v=i&&!1===i.animation?null:e;l.groupTransition(r,this._axisGroup,v)}}},_refreshBrushController:function(e,t,n,i,a,r){var u=n.axis.getExtent(),c=u[1]-u[0],d=Math.min(30,.1*Math.abs(c)),h=l.BoundingRect.create({x:u[0],y:-a/2,width:c,height:a});h.x-=d,h.width+=2*d,this._brushController.mount({enableGlobalPan:!0,rotation:e.rotation,position:e.position}).setPanels([{panelId:"pl",clipPath:s.makeRectPanelClipPath(h),isTargetByCursor:s.makeRectIsTargetByCursor(h,r,i),getLinearBrushOtherExtent:s.makeLinearBrushOtherExtent(h,0)}]).enableBrush({brushType:"lineX",brushStyle:t,removeOnClick:!0}).updateCovers(function(e){var t=e.axis;return o.map(e.activeIntervals,(function(e){return{brushType:"lineX",panelId:"pl",range:[t.dataToCoord(e[0],!0),t.dataToCoord(e[1],!0)]}}))}(n))},_onBrush:function(e,t){var n=this.axisModel,i=n.axis,a=o.map(e,(function(e){return[i.coordToData(e.range[0],!0),i.coordToData(e.range[1],!0)]}));(!n.option.realtime===t.isEnd||t.removeOnClick)&&this.api.dispatchAction({type:"axisAreaSelect",parallelAxisId:n.id,intervals:a})},dispose:function(){this._brushController.dispose()}});var d=c;e.exports=d},"sK/D":function(e,t,n){var i=n("IwbS"),o=n("OELB").round;function a(e,t,n){var o=e.getArea(),a=e.getBaseAxis().isHorizontal(),r=o.x,s=o.y,l=o.width,u=o.height,c=n.get("lineStyle.width")||2;r-=c/2,s-=c/2,l+=c,u+=c,r=Math.floor(r),l=Math.round(l);var d=new i.Rect({shape:{x:r,y:s,width:l,height:u}});return t&&(d.shape[a?"width":"height"]=0,i.initProps(d,{shape:{width:l,height:u}},n)),d}function r(e,t,n){var a=e.getArea(),r=new i.Sector({shape:{cx:o(e.cx,1),cy:o(e.cy,1),r0:o(a.r0,1),r:o(a.r,1),startAngle:a.startAngle,endAngle:a.endAngle,clockwise:a.clockwise}});return t&&(r.shape.endAngle=a.startAngle,i.initProps(r,{shape:{endAngle:a.endAngle}},n)),r}t.createGridClipPath=a,t.createPolarClipPath=r,t.createClipPath=function(e,t,n){return e?"polar"===e.type?r(e,t,n):"cartesian2d"===e.type?a(e,t,n):null:null}},sRwP:function(e,t,n){n("jsU+"),n("2548"),n("Tp9H"),n("06DH"),n("dnwI"),n("fE02"),n("33Ds")},"sW+o":function(e,t,n){var i=n("SrGk"),o=n("bYtY"),a=n("SUKs"),r=n("Qe9p");function s(e,t){i.call(this,e,t,["linearGradient","radialGradient"],"__gradient_in_use__")}o.inherits(s,i),s.prototype.addWithoutUpdate=function(e,t){if(t&&t.style){var n=this;o.each(["fill","stroke"],(function(i){if(t.style[i]&&("linear"===t.style[i].type||"radial"===t.style[i].type)){var o,a=t.style[i],r=n.getDefs(!0);a._dom?(o=a._dom,r.contains(a._dom)||n.addDom(o)):o=n.add(a),n.markUsed(t);var s=o.getAttribute("id");e.setAttribute(i,"url(#"+s+")")}}))}},s.prototype.add=function(e){var t;if("linear"===e.type)t=this.createElement("linearGradient");else{if("radial"!==e.type)return a("Illegal gradient type."),null;t=this.createElement("radialGradient")}return e.id=e.id||this.nextId++,t.setAttribute("id","zr"+this._zrId+"-gradient-"+e.id),this.updateDom(e,t),this.addDom(t),t},s.prototype.update=function(e){var t=this;i.prototype.update.call(this,e,(function(){var n=e.type,i=e._dom.tagName;"linear"===n&&"linearGradient"===i||"radial"===n&&"radialGradient"===i?t.updateDom(e,e._dom):(t.removeDom(e),t.add(e))}))},s.prototype.updateDom=function(e,t){if("linear"===e.type)t.setAttribute("x1",e.x),t.setAttribute("y1",e.y),t.setAttribute("x2",e.x2),t.setAttribute("y2",e.y2);else{if("radial"!==e.type)return void a("Illegal gradient type.");t.setAttribute("cx",e.x),t.setAttribute("cy",e.y),t.setAttribute("r",e.r)}e.global?t.setAttribute("gradientUnits","userSpaceOnUse"):t.setAttribute("gradientUnits","objectBoundingBox"),t.innerHTML="";for(var n=e.colorStops,i=0,o=n.length;i-1){var u=r.parse(l)[3],c=r.toHex(l);s.setAttribute("stop-color","#"+c),s.setAttribute("stop-opacity",u)}else s.setAttribute("stop-color",n[i].color);t.appendChild(s)}e._dom=t},s.prototype.markUsed=function(e){if(e.style){var t=e.style.fill;t&&t._dom&&i.prototype.markUsed.call(this,t._dom),(t=e.style.stroke)&&t._dom&&i.prototype.markUsed.call(this,t._dom)}};var l=s;e.exports=l},spEH:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GroupProjectBackgroup=t.Content=t.Cancel=t.GreenUnder=t.NumUl=t.Redback=t.Blueback=t.Greenback=t.Greenline=t.Redline=t.Blueline=t.WhiteBack=t.Gap=t.Short=t.ShortWidth=t.Long=t.LongWidth=t.Box=t.AlignAJBottom=t.AlignTop=t.AlignCenter=t.FlexAJ=t.AlignCenterBetween=t.Banner=void 0;var i,o=L(["{\n padding:20px 25px;\n color:#333;\n font-size:18px;\n border-bottom:1px solid #eee;\n background-color:#fff;\n border-radius:5px 5px 0px 0px;\n}"],["{\n padding:20px 25px;\n color:#333;\n font-size:18px;\n border-bottom:1px solid #eee;\n background-color:#fff;\n border-radius:5px 5px 0px 0px;\n}"]),a=L(["{\n display:flex;\n align-items: center;\n padding: 14px 14px 14px 20px;\n justify-content: space-between;\n border-bottom:1px solid #eee;\n}"],["{\n display:flex;\n align-items: center;\n padding: 14px 14px 14px 20px;\n justify-content: space-between;\n border-bottom:1px solid #eee;\n}"]),r=L(["{\n display:flex;\n align-items: center;\n justify-content: space-between;\n}"],["{\n display:flex;\n align-items: center;\n justify-content: space-between;\n}"]),s=L(["{\n display:flex;\n align-items: center;\n}"],["{\n display:flex;\n align-items: center;\n}"]),l=L(["{\n display:flex;\n align-items: flex-start;\n}"],["{\n display:flex;\n align-items: flex-start;\n}"]),u=L(["{\n display:flex;\n justify-content: space-between;\n align-items: flex-end;\n}"],["{\n display:flex;\n justify-content: space-between;\n align-items: flex-end;\n}"]),c=L(["{\n display:flex;\n align-items:flex-start;\n}"],["{\n display:flex;\n align-items:flex-start;\n}"]),d=L(["{\n flex:1;\n width:0;\n border-radius:5px;\n margin-bottom:30px;\n}"],["{\n flex:1;\n width:0;\n border-radius:5px;\n margin-bottom:30px;\n}"]),h=L(["{\n width:78%;\n border-radius:5px;\n margin-bottom:30px;\n}"],["{\n width:78%;\n border-radius:5px;\n margin-bottom:30px;\n}"]),p=L(["{\n width:300px;\n border-radius:5px;\n margin-bottom:30px;\n}"],["{\n width:300px;\n border-radius:5px;\n margin-bottom:30px;\n}"]),g=L(["{\n flex:1;\n border-radius:5px;\n margin-bottom:30px;\n}"],["{\n flex:1;\n border-radius:5px;\n margin-bottom:30px;\n}"]),f=L(["{\n padding-left:20px;\n box-sizing:border-box;\n}"],["{\n padding-left:20px;\n box-sizing:border-box;\n}"]),m=L(["{\n background-color:#fff;\n border-radius:5px;\n}"],["{\n background-color:#fff;\n border-radius:5px;\n}"]),v=L(["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid rgba(80,145,255,1);\n color:rgba(80,145,255,1);\n padding:0px 12px;\n display:inline-block;\n}"],["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid rgba(80,145,255,1);\n color:rgba(80,145,255,1);\n padding:0px 12px;\n display:inline-block;\n}"]),y=L(["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #F73030;\n color:"," !important;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n background:",";\n}"],["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #F73030;\n color:"," !important;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n background:",";\n}"]),x=L(["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #28BD6C;\n color:"," !important;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n background:",";\n}"],["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #28BD6C;\n color:"," !important;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n background:",";\n}"]),_=L(["{\n height:30px;\n line-height:30px;\n border-radius:2px;\n background-color:#28BD6C;\n color:#fff;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"],["{\n height:30px;\n line-height:30px;\n border-radius:2px;\n background-color:#28BD6C;\n color:#fff;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"]),b=L(["{\n height:30px;\n line-height:30px;\n border-radius:2px;\n background-color:rgba(80,145,255,1);\n color:#fff!important;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"],["{\n height:30px;\n line-height:30px;\n border-radius:2px;\n background-color:rgba(80,145,255,1);\n color:#fff!important;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"]),S=L(["{\n height:30px;\n line-height:30px;\n border-radius:2px;\n background-color:#F73030;\n color:#fff;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"],["{\n height:30px;\n line-height:30px;\n border-radius:2px;\n background-color:#F73030;\n color:#fff;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"]),w=L(["{\n padding-left: 20px;\n & > li{\n list-style-type: decimal;\n color:#888;\n height:24px;\n line-height:24px;\n }\n}"],["{\n padding-left: 20px;\n & > li{\n list-style-type: decimal;\n color:#888;\n height:24px;\n line-height:24px;\n }\n}"]),M=L(["{\n color:#28BD6C!important;\n position:relative;\n &:after{\n position:absolute;\n bottom:-2px;\n left:0px;\n width:100%;\n height:1px;\n content:'';\n background:#28BD6C;\n }\n}"],["{\n color:#28BD6C!important;\n position:relative;\n &:after{\n position:absolute;\n bottom:-2px;\n left:0px;\n width:100%;\n height:1px;\n content:'';\n background:#28BD6C;\n }\n}"]),I=L(["{\n height:32px;\n line-height:32px;\n border-radius:2px;\n background-color:#BBBBBB;\n color:#fff;\n padding:0px 12px;\n display:inline-block;\n min-width:64px;\n text-align:center;\n letter-spacing: 4px;\n}"],["{\n height:32px;\n line-height:32px;\n border-radius:2px;\n background-color:#BBBBBB;\n color:#fff;\n padding:0px 12px;\n display:inline-block;\n min-width:64px;\n text-align:center;\n letter-spacing: 4px;\n}"]),A=L(["{\n width:1200px;\n margin:20px auto;\n text-align:center;\n display:flex;\n align-Items:center;\n background-color:#fff;\n justify-content: center;\n}"],["{\n width:1200px;\n margin:20px auto;\n text-align:center;\n display:flex;\n align-Items:center;\n background-color:#fff;\n justify-content: center;\n}"]),T=L(["{\n background:#fafafa;\n padding:20px 30px;\n width:100%;\n}"],["{\n background:#fafafa;\n padding:20px 30px;\n width:100%;\n}"]),D=n("vOnD"),C=(i=D)&&i.__esModule?i:{default:i};function L(e,t){return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}t.Banner=C.default.div(o),t.AlignCenterBetween=C.default.div(a),t.FlexAJ=C.default.div(r),t.AlignCenter=C.default.div(s),t.AlignTop=C.default.div(l),t.AlignAJBottom=C.default.div(u),t.Box=C.default.div(c),t.LongWidth=C.default.div(d),t.Long=C.default.div(h),t.ShortWidth=C.default.div(p),t.Short=C.default.div(g),t.Gap=C.default.div(f),t.WhiteBack=C.default.div(m),t.Blueline=C.default.a(v),t.Redline=C.default.a(y,(function(e){return e.bold?"#fff":"#F73030"}),(function(e){return e.bold?"#F73030":"#fff"})),t.Greenline=C.default.a(x,(function(e){return e.bold?"#fff":"#28BD6C"}),(function(e){return e.bold?"#28BD6C":"#fff"})),t.Greenback=C.default.a(_),t.Blueback=C.default.a(b),t.Redback=C.default.a(S),t.NumUl=C.default.ul(w),t.GreenUnder=C.default.a(M),t.Cancel=C.default.a(I),t.Content=C.default.div(A),t.GroupProjectBackgroup=C.default.div(T)},szbU:function(e,t,n){var i=n("bYtY"),o=i.each;function a(e,t){return e&&e.hasOwnProperty&&e.hasOwnProperty(t)}e.exports=function(e){var t=e&&e.visualMap;i.isArray(t)||(t=t?[t]:[]),o(t,(function(e){if(e){a(e,"splitList")&&!a(e,"pieces")&&(e.pieces=e.splitList,delete e.splitList);var t=e.pieces;t&&i.isArray(t)&&o(t,(function(e){i.isObject(e)&&(a(e,"start")&&!a(e,"min")&&(e.min=e.start),a(e,"end")&&!a(e,"max")&&(e.max=e.end))}))}}))}},tBnm:function(e,t,n){var i=n("bYtY"),o=n("IwbS"),a=n("Qxkt"),r=n("Znkb"),s=n("+rIm"),l=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function u(e,t,n){t[1]>t[0]&&(t=t.slice().reverse());var i=e.coordToPoint([t[0],n]),o=e.coordToPoint([t[1],n]);return{x1:i[0],y1:i[1],x2:o[0],y2:o[1]}}function c(e){return e.getRadiusAxis().inverse?0:1}function d(e){var t=e[0],n=e[e.length-1];t&&n&&Math.abs(Math.abs(t.coord-n.coord)-360)<1e-4&&e.pop()}var h=r.extend({type:"angleAxis",axisPointerClass:"PolarAxisPointer",render:function(e,t){if(this.group.removeAll(),e.get("show")){var n=e.axis,o=n.polar,a=o.getRadiusAxis().getExtent(),r=n.getTicksCoords(),s=n.getMinorTicksCoords(),u=i.map(n.getViewLabels(),(function(e){return(e=i.clone(e)).coord=n.dataToCoord(e.tickValue),e}));d(u),d(r),i.each(l,(function(t){!e.get(t+".show")||n.scale.isBlank()&&"axisLine"!==t||this["_"+t](e,o,r,s,a,u)}),this)}},_axisLine:function(e,t,n,i,a){var r,s=e.getModel("axisLine.lineStyle"),l=c(t),u=l?0:1;(r=0===a[u]?new o.Circle({shape:{cx:t.cx,cy:t.cy,r:a[l]},style:s.getLineStyle(),z2:1,silent:!0}):new o.Ring({shape:{cx:t.cx,cy:t.cy,r:a[l],r0:a[u]},style:s.getLineStyle(),z2:1,silent:!0})).style.fill=null,this.group.add(r)},_axisTick:function(e,t,n,a,r){var s=e.getModel("axisTick"),l=(s.get("inside")?-1:1)*s.get("length"),d=r[c(t)],h=i.map(n,(function(e){return new o.Line({shape:u(t,[d,d+l],e.coord)})}));this.group.add(o.mergePath(h,{style:i.defaults(s.getModel("lineStyle").getLineStyle(),{stroke:e.get("axisLine.lineStyle.color")})}))},_minorTick:function(e,t,n,a,r){if(a.length){for(var s=e.getModel("axisTick"),l=e.getModel("minorTick"),d=(s.get("inside")?-1:1)*l.get("length"),h=r[c(t)],p=[],g=0;gv?"left":"right",_=Math.abs(m[1]-y)/f<.3?"middle":m[1]>y?"top":"bottom";d&&d[u]&&d[u].textStyle&&(r=new a(d[u].textStyle,h,h.ecModel));var b=new o.Text({silent:s.isLabelSilent(e)});this.group.add(b),o.setTextStyle(b.style,r,{x:m[0],y:m[1],textFill:r.getTextColor()||e.get("axisLine.lineStyle.color"),text:n.formattedLabel,textAlign:x,textVerticalAlign:_}),g&&(b.eventData=s.makeAxisEventDataBase(e),b.eventData.targetType="axisLabel",b.eventData.value=n.rawLabel)}),this)},_splitLine:function(e,t,n,a,r){var s=e.getModel("splitLine").getModel("lineStyle"),l=s.get("color"),c=0;l=l instanceof Array?l:[l];for(var d=[],h=0;h0:e.splitNumber>0)&&!e.calculable?"piecewise":"continuous"}))},vKoX:function(e,t,n){var i=n("SrGk");function o(e,t){i.call(this,e,t,["filter"],"__filter_in_use__","_shadowDom")}function a(e){return e&&(e.shadowBlur||e.shadowOffsetX||e.shadowOffsetY||e.textShadowBlur||e.textShadowOffsetX||e.textShadowOffsetY)}n("bYtY").inherits(o,i),o.prototype.addWithoutUpdate=function(e,t){if(t&&a(t.style)){var n;if(t._shadowDom)n=t._shadowDom,this.getDefs(!0).contains(t._shadowDom)||this.addDom(n);else n=this.add(t);this.markUsed(t);var i=n.getAttribute("id");e.style.filter="url(#"+i+")"}},o.prototype.add=function(e){var t=this.createElement("filter");return e._shadowDomId=e._shadowDomId||this.nextId++,t.setAttribute("id","zr"+this._zrId+"-shadow-"+e._shadowDomId),this.updateDom(e,t),this.addDom(t),t},o.prototype.update=function(e,t){if(a(t.style)){var n=this;i.prototype.update.call(this,t,(function(){n.updateDom(t,t._shadowDom)}))}else this.remove(e,t)},o.prototype.remove=function(e,t){null!=t._shadowDomId&&(this.removeDom(e),e.style.filter="")},o.prototype.updateDom=function(e,t){var n=t.getElementsByTagName("feDropShadow");n=0===n.length?this.createElement("feDropShadow"):n[0];var i,o,a,r,s=e.style,l=e.scale&&e.scale[0]||1,u=e.scale&&e.scale[1]||1;if(s.shadowBlur||s.shadowOffsetX||s.shadowOffsetY)i=s.shadowOffsetX||0,o=s.shadowOffsetY||0,a=s.shadowBlur,r=s.shadowColor;else{if(!s.textShadowBlur)return void this.removeDom(t,s);i=s.textShadowOffsetX||0,o=s.textShadowOffsetY||0,a=s.textShadowBlur,r=s.textShadowColor}n.setAttribute("dx",i/l),n.setAttribute("dy",o/u),n.setAttribute("flood-color",r);var c=a/2/l+" "+a/2/u;n.setAttribute("stdDeviation",c),t.setAttribute("x","-100%"),t.setAttribute("y","-100%"),t.setAttribute("width",Math.ceil(a/2*200)+"%"),t.setAttribute("height",Math.ceil(a/2*200)+"%"),t.appendChild(n),e._shadowDom=t},o.prototype.markUsed=function(e){e._shadowDom&&i.prototype.markUsed.call(this,e._shadowDom)};var r=o;e.exports=r},vL6D:function(e,t,n){var i=n("bYtY"),o=n("+rIm"),a=n("IwbS"),r=n("7bkD"),s=n("Znkb"),l=n("WN+l"),u=l.rectCoordAxisBuildSplitArea,c=l.rectCoordAxisHandleRemove,d=["axisLine","axisTickLabel","axisName"],h=["splitArea","splitLine"],p=s.extend({type:"singleAxis",axisPointerClass:"SingleAxisPointer",render:function(e,t,n,s){var l=this.group;l.removeAll();var u=this._axisGroup;this._axisGroup=new a.Group;var c=r.layout(e),g=new o(e,c);i.each(d,g.add,g),l.add(this._axisGroup),l.add(g.getGroup()),i.each(h,(function(t){e.get(t+".show")&&this["_"+t](e)}),this),a.groupTransition(u,this._axisGroup,e),p.superCall(this,"render",e,t,n,s)},remove:function(){c(this)},_splitLine:function(e){var t=e.axis;if(!t.scale.isBlank()){var n=e.getModel("splitLine"),i=n.getModel("lineStyle"),o=i.get("width"),r=i.get("color");r=r instanceof Array?r:[r];for(var s=e.coordinateSystem.getRect(),l=t.isHorizontal(),u=[],c=0,d=t.getTicksCoords({tickModel:n}),h=[],p=[],g=0;g=0)&&e(a,i,o)}))}var p=h.prototype;function g(e){return e[0]>e[1]&&e.reverse(),e}function f(e,t){return a.parseFinder(e,t,{includeMainTypes:d})}p.setOutputRanges=function(e,t){this.matchOutputRanges(e,t,(function(e,t,n){if((e.coordRanges||(e.coordRanges=[])).push(t),!e.coordRange){e.coordRange=t;var i=x[e.brushType](0,n,t);e.__rangeOffset={offset:b[e.brushType](i.values,e.range,[1,1]),xyMinMax:i.xyMinMax}}}))},p.matchOutputRanges=function(e,t,n){s(e,(function(e){var o=this.findTargetInfo(e,t);o&&!0!==o&&i.each(o.coordSyses,(function(i){var o=x[e.brushType](1,i,e.range);n(e,o.values,i,t)}))}),this)},p.setInputRanges=function(e,t){s(e,(function(e){var n,i,o,a,r,s=this.findTargetInfo(e,t);if(e.range=e.range||[],s&&!0!==s){e.panelId=s.panelId;var l=x[e.brushType](0,s.coordSys,e.coordRange),u=e.__rangeOffset;e.range=u?b[e.brushType](l.values,u.offset,(n=l.xyMinMax,i=u.xyMinMax,o=w(n),a=w(i),r=[o[0]/a[0],o[1]/a[1]],isNaN(r[0])&&(r[0]=1),isNaN(r[1])&&(r[1]=1),r)):l.values}}),this)},p.makePanelOpts=function(e,t){return i.map(this._targetInfoList,(function(n){var i=n.getPanelRect();return{panelId:n.panelId,defaultBrushType:t&&t(n),clipPath:r.makeRectPanelClipPath(i),isTargetByCursor:r.makeRectIsTargetByCursor(i,e,n.coordSysModel),getLinearBrushOtherExtent:r.makeLinearBrushOtherExtent(i)}}))},p.controlSeries=function(e,t,n){var i=this.findTargetInfo(e,n);return!0===i||i&&l(i.coordSyses,t.coordinateSystem)>=0},p.findTargetInfo=function(e,t){for(var n=this._targetInfoList,i=f(t,e),o=0;o=0||l(o,e.getAxis("y").model)>=0)&&a.push(e)})),t.push({panelId:"grid--"+e.id,gridModel:e,coordSysModel:e,coordSys:a[0],coordSyses:a,getPanelRect:y.grid,xAxisDeclared:u[e.id],yAxisDeclared:c[e.id]})})))},geo:function(e,t){s(e.geoModels,(function(e){var n=e.coordinateSystem;t.push({panelId:"geo--"+e.id,geoModel:e,coordSysModel:e,coordSys:n,coordSyses:[n],getPanelRect:y.geo})}))}},v=[function(e,t){var n=e.xAxisModel,i=e.yAxisModel,o=e.gridModel;return!o&&n&&(o=n.axis.grid.model),!o&&i&&(o=i.axis.grid.model),o&&o===t.gridModel},function(e,t){var n=e.geoModel;return n&&n===t.geoModel}],y={grid:function(){return this.coordSys.grid.getRect().clone()},geo:function(){var e=this.coordSys,t=e.getBoundingRect().clone();return t.applyTransform(o.getTransform(e)),t}},x={lineX:u(_,0),lineY:u(_,1),rect:function(e,t,n){var i=t[c[e]]([n[0][0],n[1][0]]),o=t[c[e]]([n[0][1],n[1][1]]),a=[g([i[0],o[0]]),g([i[1],o[1]])];return{values:a,xyMinMax:a}},polygon:function(e,t,n){var o=[[1/0,-1/0],[1/0,-1/0]];return{values:i.map(n,(function(n){var i=t[c[e]](n);return o[0][0]=Math.min(o[0][0],i[0]),o[1][0]=Math.min(o[1][0],i[1]),o[0][1]=Math.max(o[0][1],i[0]),o[1][1]=Math.max(o[1][1],i[1]),i})),xyMinMax:o}}};function _(e,t,n,o){var a=n.getAxis(["x","y"][e]),r=g(i.map([0,1],(function(e){return t?a.coordToData(a.toLocalCoord(o[e])):a.toGlobalCoord(a.dataToCoord(o[e]))}))),s=[];return s[e]=r,s[1-e]=[NaN,NaN],{values:r,xyMinMax:s}}var b={lineX:u(S,0),lineY:u(S,1),rect:function(e,t,n){return[[e[0][0]-n[0]*t[0][0],e[0][1]-n[0]*t[0][1]],[e[1][0]-n[1]*t[1][0],e[1][1]-n[1]*t[1][1]]]},polygon:function(e,t,n){return i.map(e,(function(e,i){return[e[0]-n[0]*t[i][0],e[1]-n[1]*t[i][1]]}))}};function S(e,t,n,i){return[t[0]-i[e]*n[0],t[1]-i[e]*n[1]]}function w(e){return e?[e[0][1]-e[0][0],e[1][1]-e[1][0]]:[NaN,NaN]}var M=h;e.exports=M},vZI5:function(e,t,n){var i=n("bYtY"),o=n("T4UG"),a=n("5GhG").seriesModelMixin,r=o.extend({type:"series.candlestick",dependencies:["xAxis","yAxis","grid"],defaultValueDimensions:[{name:"open",defaultTooltip:!0},{name:"close",defaultTooltip:!0},{name:"lowest",defaultTooltip:!0},{name:"highest",defaultTooltip:!0}],dimensions:null,defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,layout:null,clip:!0,itemStyle:{color:"#c23531",color0:"#314656",borderWidth:1,borderColor:"#c23531",borderColor0:"#314656"},emphasis:{itemStyle:{borderWidth:2}},barMaxWidth:null,barMinWidth:null,barWidth:null,large:!0,largeThreshold:600,progressive:3e3,progressiveThreshold:1e4,progressiveChunkMode:"mod",animationUpdate:!1,animationEasing:"linear",animationDuration:300},getShadowDim:function(){return"open"},brushSelector:function(e,t,n){var i=t.getItemLayout(e);return i&&n.rect(i.brushRect)}});i.mixin(r,a,!0);var s=r;e.exports=s},vcCh:function(e,t,n){var i=n("ProS");n("0qV/"),i.registerAction({type:"dragNode",event:"dragnode",update:"update"},(function(e,t){t.eachComponent({mainType:"series",subType:"sankey",query:e},(function(t){t.setNodePosition(e.dataIndex,[e.localX,e.localY])}))}))},w2vr:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,o=n("q1tI"),a=(i=o)&&i.__esModule?i:{default:i},r=function(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("MT78"));t.default=function(e){var t=e.data;return(0,o.useEffect)((function(){var e,n,i,o;t&&(e=t,n=document.getElementById("Line"),i=r.init(n),o={color:["#f8e367","#58c0f0","#ff9e48"],title:{show:!1},tooltip:{trigger:"axis"},legend:{data:["提交数","易修数","合并请求数"],right:"center",bottom:"4%"},grid:{left:"4%",right:"5%",bottom:"16%",containLabel:!0},toolbox:{feature:{}},xAxis:{type:"category",boundaryGap:!1,data:e.dates,axisTick:{show:!1}},yAxis:{type:"value",axisLine:{show:!1},axisTick:{show:!1},minInterval:1,splitNumber:5},series:[{name:"提交数",type:"line",data:e.commits_count},{name:"易修数",type:"line",data:e.issues_count},{name:"合并请求数",type:"line",data:e.pull_requests_count}]},i.setOption(o))}),[t]),a.default.createElement("div",{id:"Line",style:{height:"300px"}})}},wr5s:function(e,t,n){var i=(0,n("IwbS").extendShape)({type:"sausage",shape:{cx:0,cy:0,r0:0,r:0,startAngle:0,endAngle:2*Math.PI,clockwise:!0},buildPath:function(e,t){var n=t.cx,i=t.cy,o=Math.max(t.r0||0,0),a=Math.max(t.r,0),r=.5*(a-o),s=o+r,l=t.startAngle,u=t.endAngle,c=t.clockwise,d=Math.cos(l),h=Math.sin(l),p=Math.cos(u),g=Math.sin(u);(c?u-l<2*Math.PI:l-u<2*Math.PI)&&(e.moveTo(d*o+n,h*o+i),e.arc(d*s+n,h*s+i,r,-Math.PI+l,l,!c)),e.arc(n,i,a,l,u,!c),e.moveTo(p*a+n,g*a+i),e.arc(p*s+n,g*s+i,r,u-2*Math.PI,u-Math.PI,!c),0!==o&&(e.arc(n,i,o,u,l,c),e.moveTo(d*o+n,g*o+i)),e.closePath()}});e.exports=i},wt3j:function(e,t,n){var i=n("ProS"),o=n("bYtY"),a=n("/IIm"),r=n("EMyp").layoutCovers,s=i.extendComponentView({type:"brush",init:function(e,t){this.ecModel=e,this.api=t,this.model,(this._brushController=new a(t.getZr())).on("brush",o.bind(this._onBrush,this)).mount()},render:function(e){return this.model=e,l.apply(this,arguments)},updateTransform:function(e,t){return r(t),l.apply(this,arguments)},updateView:l,dispose:function(){this._brushController.dispose()},_onBrush:function(e,t){var n=this.model.id;this.model.brushTargetManager.setOutputRanges(e,this.ecModel),(!t.isEnd||t.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:n,areas:o.clone(e),$from:n}),t.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:n,areas:o.clone(e),$from:n})}});function l(e,t,n,i){(!i||i.$from!==e.id)&&this._brushController.setPanels(e.brushTargetManager.makePanelOpts(n)).enableBrush(e.brushOption).updateCovers(e.areas.slice())}e.exports=s},xRUu:function(e,t,n){n("hJvP"),n("hFmY"),n("sAZ8")},xSat:function(e,t){var n={axisPointer:1,tooltip:1,brush:1};t.onIrrelevantElement=function(e,t,i){var o=t.getComponentByElement(e.topTarget),a=o&&o.coordinateSystem;return o&&o!==i&&!n[o.mainType]&&a&&a.model!==i}},xiyX:function(e,t,n){var i=n("bYtY"),o=n("bLfw"),a=n("nkfE"),r=n("ICMv"),s=o.extend({type:"singleAxis",layoutMode:"box",axis:null,coordinateSystem:null,getCoordSysModel:function(){return this}});i.merge(s.prototype,r),a("single",s,(function(e,t){return t.type||(t.data?"category":"value")}),{left:"5%",top:"5%",right:"5%",bottom:"5%",type:"value",position:"bottom",orient:"horizontal",axisLine:{show:!0,lineStyle:{width:1,type:"solid"}},tooltip:{show:!0},axisTick:{show:!0,length:6,lineStyle:{width:1}},axisLabel:{show:!0,interval:"auto"},splitLine:{show:!0,lineStyle:{type:"dashed",opacity:.2}}});var l=s;e.exports=l},"y+lR":function(e,t,n){var i=n("bYtY"),o=n("mFDi"),a=n("z35g");function r(e){a.call(this,e)}r.prototype={constructor:r,type:"cartesian2d",dimensions:["x","y"],getBaseAxis:function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},containPoint:function(e){var t=this.getAxis("x"),n=this.getAxis("y");return t.contain(t.toLocalCoord(e[0]))&&n.contain(n.toLocalCoord(e[1]))},containData:function(e){return this.getAxis("x").containData(e[0])&&this.getAxis("y").containData(e[1])},dataToPoint:function(e,t,n){var i=this.getAxis("x"),o=this.getAxis("y");return(n=n||[])[0]=i.toGlobalCoord(i.dataToCoord(e[0])),n[1]=o.toGlobalCoord(o.dataToCoord(e[1])),n},clampData:function(e,t){var n=this.getAxis("x").scale,i=this.getAxis("y").scale,o=n.getExtent(),a=i.getExtent(),r=n.parse(e[0]),s=i.parse(e[1]);return(t=t||[])[0]=Math.min(Math.max(Math.min(o[0],o[1]),r),Math.max(o[0],o[1])),t[1]=Math.min(Math.max(Math.min(a[0],a[1]),s),Math.max(a[0],a[1])),t},pointToData:function(e,t){var n=this.getAxis("x"),i=this.getAxis("y");return(t=t||[])[0]=n.coordToData(n.toLocalCoord(e[0])),t[1]=i.coordToData(i.toLocalCoord(e[1])),t},getOtherAxis:function(e){return this.getAxis("x"===e.dim?"y":"x")},getArea:function(){var e=this.getAxis("x").getGlobalExtent(),t=this.getAxis("y").getGlobalExtent(),n=Math.min(e[0],e[1]),i=Math.min(t[0],t[1]),a=Math.max(e[0],e[1])-n,r=Math.max(t[0],t[1])-i;return new o(n,i,a,r)}},i.inherits(r,a);var s=r;e.exports=s},y2l5:function(e,t,n){var i=n("MwEJ"),o=n("T4UG").extend({type:"series.scatter",dependencies:["grid","polar","geo","singleAxis","calendar"],getInitialData:function(e,t){return i(this.getSource(),this,{useEncodeDefaulter:!0})},brushSelector:"point",getProgressive:function(){var e=this.option.progressive;return null==e?this.option.large?5e3:this.get("progressive"):e},getProgressiveThreshold:function(){var e=this.option.progressiveThreshold;return null==e?this.option.large?1e4:this.get("progressiveThreshold"):e},defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},clip:!0}});e.exports=o},y3NT:function(e,t,n){var i=n("OELB").parsePercent,o=n("bYtY"),a=Math.PI/180;function r(e,t){var n=e.children||[];e.children=function(e,t){if("function"==typeof t)return e.sort(t);var n="asc"===t;return e.sort((function(e,t){var i=(e.getValue()-t.getValue())*(n?1:-1);return 0===i?(e.dataIndex-t.dataIndex)*(n?-1:1):i}))}(n,t),n.length&&o.each(e.children,(function(e){r(e,t)}))}e.exports=function(e,t,n,s){t.eachSeriesByType(e,(function(e){var t=e.get("center"),s=e.get("radius");o.isArray(s)||(s=[0,s]),o.isArray(t)||(t=[t,t]);var l=n.getWidth(),u=n.getHeight(),c=Math.min(l,u),d=i(t[0],l),h=i(t[1],u),p=i(s[0],c/2),g=i(s[1],c/2),f=-e.get("startAngle")*a,m=e.get("minAngle")*a,v=e.getData().tree.root,y=e.getViewRoot(),x=y.depth,_=e.get("sort");null!=_&&r(y,_);var b=0;o.each(y.children,(function(e){!isNaN(e.getValue())&&b++}));var S=y.getValue(),w=Math.PI/(S||b)*2,M=y.depth>0,I=y.height-(M?-1:1),A=(g-p)/(I||1),T=e.get("clockwise"),D=e.get("stillShowZeroSum"),C=T?1:-1,L=function(e,t){if(e){var n=t;if(e!==v){var a=e.getValue(),r=0===S&&D?w:a*w;r=0;s--){var l=2*s,u=i[l]-a/2,c=i[l+1]-r/2;if(e>=u&&t>=c&&e<=u+a&&t<=c+r)return s}return-1}});function s(){this.group=new i.Group}var l=s.prototype;l.isPersistent=function(){return!this._incremental},l.updateData=function(e,t){this.group.removeAll();var n=new r({rectHover:!0,cursor:"default"});n.setShape({points:e.getLayout("symbolPoints")}),this._setCommon(n,e,!1,t),this.group.add(n),this._incremental=null},l.updateLayout=function(e){if(!this._incremental){var t=e.getLayout("symbolPoints");this.group.eachChild((function(e){if(null!=e.startIndex){var n=2*(e.endIndex-e.startIndex),i=4*e.startIndex*2;t=new Float32Array(t.buffer,i,n)}e.setShape("points",t)}))}},l.incrementalPrepareUpdate=function(e){this.group.removeAll(),this._clearIncremental(),e.count()>2e6?(this._incremental||(this._incremental=new a({silent:!0})),this.group.add(this._incremental)):this._incremental=null},l.incrementalUpdate=function(e,t,n){var i;this._incremental?(i=new r,this._incremental.addDisplayable(i,!0)):((i=new r({rectHover:!0,cursor:"default",startIndex:e.start,endIndex:e.end})).incremental=!0,this.group.add(i)),i.setShape({points:t.getLayout("symbolPoints")}),this._setCommon(i,t,!!this._incremental,n)},l._setCommon=function(e,t,n,i){var a=t.hostModel;i=i||{};var r=t.getVisual("symbolSize");e.setShape("size",r instanceof Array?r:[r,r]),e.softClipShape=i.clipShape||null,e.symbolProxy=o(t.getVisual("symbol"),0,0,0,0),e.setColor=e.symbolProxy.setColor;var s=e.shape.size[0]<4;e.useStyle(a.getModel("itemStyle").getItemStyle(s?["color","shadowBlur","shadowColor"]:["color"]));var l=t.getVisual("color");l&&e.setColor(l),n||(e.seriesIndex=a.seriesIndex,e.on("mousemove",(function(t){e.dataIndex=null;var n=e.findDataIndex(t.offsetX,t.offsetY);n>=0&&(e.dataIndex=n+(e.startIndex||0))})))},l.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},l._clearIncremental=function(){var e=this._incremental;e&&e.clearDisplaybles()};var u=s;e.exports=u},yik8:function(e,t,n){var i=n("bZqE"),o=i.eachAfter,a=i.eachBefore,r=n("Itpr"),s=r.init,l=r.firstWalk,u=r.secondWalk,c=r.separation,d=r.radialCoordinate,h=r.getViewRect;e.exports=function(e,t){e.eachSeriesByType("tree",(function(e){!function(e,t){var n=h(e,t);e.layoutInfo=n;var i=e.get("layout"),r=0,p=0,g=null;"radial"===i?(r=2*Math.PI,p=Math.min(n.height,n.width)/2,g=c((function(e,t){return(e.parentNode===t.parentNode?1:2)/e.depth}))):(r=n.width,p=n.height,g=c());var f=e.getData().tree.root,m=f.children[0];if(m){s(f),o(m,l,g),f.hierNode.modifier=-m.hierNode.prelim,a(m,u);var v=m,y=m,x=m;a(m,(function(e){var t=e.getLayout().x;ty.getLayout().x&&(y=e),e.depth>x.depth&&(x=e)}));var _=v===y?1:g(v,y)/2,b=_-v.getLayout().x,S=0,w=0,M=0,I=0;if("radial"===i)S=r/(y.getLayout().x+_+b),w=p/(x.depth-1||1),a(m,(function(e){M=(e.getLayout().x+b)*S,I=(e.depth-1)*w;var t=d(M,I);e.setLayout({x:t.x,y:t.y,rawX:M,rawY:I},!0)}));else{var A=e.getOrient();"RL"===A||"LR"===A?(w=p/(y.getLayout().x+_+b),S=r/(x.depth-1||1),a(m,(function(e){I=(e.getLayout().x+b)*w,M="LR"===A?(e.depth-1)*S:r-(e.depth-1)*S,e.setLayout({x:M,y:I},!0)}))):"TB"!==A&&"BT"!==A||(S=r/(y.getLayout().x+_+b),w=p/(x.depth-1||1),a(m,(function(e){M=(e.getLayout().x+b)*S,I="TB"===A?(e.depth-1)*w:p-(e.depth-1)*w,e.setLayout({x:M,y:I},!0)})))}}}(e,t)}))}},z35g:function(e,t,n){var i=n("bYtY");function o(e){return this._axes[e]}var a=function(e){this._axes={},this._dimList=[],this.name=e||""};a.prototype={constructor:a,type:"cartesian",getAxis:function(e){return this._axes[e]},getAxes:function(){return i.map(this._dimList,o,this)},getAxesByScale:function(e){return e=e.toLowerCase(),i.filter(this.getAxes(),(function(t){return t.scale.type===e}))},addAxis:function(e){var t=e.dim;this._axes[t]=e,this._dimList.push(t)},dataToCoord:function(e){return this._dataCoordConvert(e,"dataToCoord")},coordToData:function(e){return this._dataCoordConvert(e,"coordToData")},_dataCoordConvert:function(e,t){for(var n=this._dimList,i=e instanceof Array?[]:{},o=0;oi[1]&&(i[1]=t[1])}))})),i[1]0?0:NaN);var r=n.getMax(!0);null!=r&&"dataMax"!==r&&"function"!=typeof r?t[1]=r:o&&(t[1]=a>0?a-1:NaN);n.get("scale",!0)||(t[0]>0&&(t[0]=0),t[1]<0&&(t[1]=0))}(e,i),i}(this,this._dimName,t),function(e){var t=e._minMaxSpan={},n=e._dataZoomModel,i=e._dataExtent;s(["min","max"],(function(a){var r=n.get(a+"Span"),s=n.get(a+"ValueSpan");null!=s&&(s=e.getAxisModel().axis.scale.parse(s)),null!=s?r=o.linearMap(i[0]+s,i,[0,100],!0):null!=r&&(s=o.linearMap(r,[0,100],i,!0)-i[0]),t[a+"Span"]=r,t[a+"ValueSpan"]=s}))}(this);var n=this.calculateDataWindow(e.settledOption);this._valueWindow=n.valueWindow,this._percentWindow=n.percentWindow,c(this)}},restore:function(e){e===this._dataZoomModel&&(this._valueWindow=this._percentWindow=null,c(this,!0))},filterData:function(e,t){if(e===this._dataZoomModel){var n=this._dimName,i=this.getTargetSeriesModels(),o=e.get("filterMode"),a=this._valueWindow;"none"!==o&&s(i,(function(e){var t=e.getData(),i=t.mapDimension(n,!0);i.length&&("weakFilter"===o?t.filterSelf((function(e){for(var n,o,r,s=0;sa[1];if(u&&!c&&!d)return!0;u&&(r=!0),c&&(n=!0),d&&(o=!0)}return r&&n&&o})):s(i,(function(n){if("empty"===o)e.setData(t=t.map(n,(function(e){return function(e){return e>=a[0]&&e<=a[1]}(e)?e:NaN})));else{var i={};i[n]=a,t.selectRange(i)}})),s(i,(function(e){t.setApproximateExtent(a,e)})))}))}}};var d=u;e.exports=d},zRKj:function(e,t,n){n("Ae16"),n("Sp2Z"),n("y4/Y")},zYTA:function(e,t,n){var i=n("bYtY");function o(){var e=i.createCanvas();this.canvas=e,this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={}}o.prototype={update:function(e,t,n,i,o,a){var r=this._getBrush(),s=this._getGradient(e,o,"inRange"),l=this._getGradient(e,o,"outOfRange"),u=this.pointSize+this.blurSize,c=this.canvas,d=c.getContext("2d"),h=e.length;c.width=t,c.height=n;for(var p=0;p0){var I=a(v)?s:l;v>0&&(v=v*w+S),x[_++]=I[M],x[_++]=I[M+1],x[_++]=I[M+2],x[_++]=I[M+3]*v*256}else _+=4}return d.putImageData(y,0,0),c},_getBrush:function(){var e=this._brushCanvas||(this._brushCanvas=i.createCanvas()),t=this.pointSize+this.blurSize,n=2*t;e.width=n,e.height=n;var o=e.getContext("2d");return o.clearRect(0,0,n,n),o.shadowOffsetX=n,o.shadowBlur=this.blurSize,o.shadowColor="#000",o.beginPath(),o.arc(-t,t,this.pointSize,0,2*Math.PI,!0),o.closePath(),o.fill(),e},_getGradient:function(e,t,n){for(var i=this._gradientPixels,o=i[n]||(i[n]=new Uint8ClampedArray(1024)),a=[0,0,0,0],r=0,s=0;s<256;s++)t[n](s/255,!0,a),o[r++]=a[0],o[r++]=a[1],o[r++]=a[2],o[r++]=a[3];return o}};var a=o;e.exports=a},zuHt:function(e,t,n){var i=n("bYtY");e.exports=function(e){var t={};e.eachSeriesByType("map",(function(n){var o=n.getMapType();if(!n.getHostGeoModel()&&!t[o]){var a={};i.each(n.seriesGroup,(function(t){var n=t.coordinateSystem,i=t.originalData;t.get("showLegendSymbol")&&e.getComponent("legend")&&i.each(i.mapDimension("value"),(function(e,t){var o=i.getName(t),r=n.getRegion(o);if(r&&!isNaN(e)){var s=a[o]||0,l=n.dataToPoint(r.center);a[o]=s+1,i.setItemLayout(t,{point:l,offset:s})}}))}));var r=n.getData();r.each((function(e){var t=r.getName(e),n=r.getItemLayout(e)||{};n.showLabel=!a[t],r.setItemLayout(e,n)})),t[o]=!0}}))}}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[28,141],{"+hnl":function(e,t,n){},"+lIL":function(e,t,n){var i=n("ProS");n("/ry/"),n("3OrL");var o=n("L5E0"),a=n("7Phj");i.registerVisual(o),i.registerLayout(a)},"/IIm":function(e,t,n){n("Tghj").__DEV__;var i=n("bYtY"),o=n("H6uX"),a=n("IwbS"),r=n("pP6R"),s=n("gPAo"),l=i.curry,u=i.each,c=i.map,d=Math.min,h=Math.max,p=Math.pow,g={w:[0,0],e:[0,1],n:[1,0],s:[1,1]},f={w:"ew",e:"ew",n:"ns",s:"ns",ne:"nesw",sw:"nesw",nw:"nwse",se:"nwse"},m={brushStyle:{lineWidth:2,stroke:"rgba(0,0,0,0.3)",fill:"rgba(0,0,0,0.1)"},transformable:!0,brushMode:"single",removeOnClick:!1},v=0;function y(e){o.call(this),this._zr=e,this.group=new a.Group,this._brushType,this._brushOption,this._panels,this._track=[],this._dragging,this._covers=[],this._creatingCover,this._creatingPanel,this._enableGlobalPan,this._uid="brushController_"+v++,this._handlers={},u(F,(function(e,t){this._handlers[t]=i.bind(e,this)}),this)}function x(e,t){var n=Z[t.brushType].createCover(e,t);return n.__brushOption=t,S(n,t),e.group.add(n),n}function _(e,t){var n=M(t);return n.endCreating&&(n.endCreating(e,t),S(t,t.__brushOption)),t}function b(e,t){var n=t.__brushOption;M(t).updateCoverShape(e,t,n.range,n)}function S(e,t){var n=t.z;null==n&&(n=1e4),e.traverse((function(e){e.z=n,e.z2=n}))}function w(e,t){M(t).updateCommon(e,t),b(e,t)}function M(e){return Z[e.__brushOption.brushType]}function I(e,t,n){var i,o=e._panels;if(!o)return!0;var a=e._transform;return u(o,(function(e){e.isTargetByCursor(t,n,a)&&(i=e)})),i}function A(e,t){var n=e._panels;if(!n)return!0;var i=t.__brushOption.panelId;return null==i||n[i]}function T(e){var t=e._covers,n=t.length;return u(t,(function(t){e.group.remove(t)}),e),t.length=0,!!n}function D(e,t){var n=c(e._covers,(function(e){var t=e.__brushOption,n=i.clone(t.range);return{brushType:t.brushType,panelId:t.panelId,range:n}}));e.trigger("brush",n,{isEnd:!!t.isEnd,removeOnClick:!!t.removeOnClick})}function C(e){var t=e.length-1;return t<0&&(t=0),[e[0],e[t]]}function L(e,t,n,i){var o=new a.Group;return o.add(new a.Rect({name:"main",style:E(n),silent:!0,draggable:!0,cursor:"move",drift:l(e,t,o,"nswe"),ondragend:l(D,t,{isEnd:!0})})),u(i,(function(n){o.add(new a.Rect({name:n,style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:l(e,t,o,n),ondragend:l(D,t,{isEnd:!0})}))})),o}function P(e,t,n,i){var o=i.brushStyle.lineWidth||0,a=h(o,6),r=n[0][0],s=n[1][0],l=r-o/2,u=s-o/2,c=n[0][1],d=n[1][1],p=c-a+o/2,g=d-a+o/2,f=c-r,m=d-s,v=f+o,y=m+o;N(e,t,"main",r,s,f,m),i.transformable&&(N(e,t,"w",l,u,a,y),N(e,t,"e",p,u,a,y),N(e,t,"n",l,u,v,a),N(e,t,"s",l,g,v,a),N(e,t,"nw",l,u,a,a),N(e,t,"ne",p,u,a,a),N(e,t,"sw",l,g,a,a),N(e,t,"se",p,g,a,a))}function k(e,t){var n=t.__brushOption,i=n.transformable,o=t.childAt(0);o.useStyle(E(n)),o.attr({silent:!i,cursor:i?"move":"default"}),u(["w","e","n","s","se","sw","ne","nw"],(function(n){var o=t.childOfName(n),r=function e(t,n){if(n.length>1)return n=n.split(""),("e"===(i=[e(t,n[0]),e(t,n[1])])[0]||"w"===i[0])&&i.reverse(),i.join("");var i;return{left:"w",right:"e",top:"n",bottom:"s"}[i=a.transformDirection({w:"left",e:"right",n:"top",s:"bottom"}[n],function(e){return a.getTransform(e.group)}(t))]}(e,n);o&&o.attr({silent:!i,invisible:!i,cursor:i?f[r]+"-resize":null})}))}function N(e,t,n,i,o,a,r){var s,l,u,c,p,g=t.childOfName(n);g&&g.setShape((s=B(e,t,[[i,o],[i+a,o+r]]),l=d(s[0][0],s[1][0]),u=d(s[0][1],s[1][1]),c=h(s[0][0],s[1][0]),p=h(s[0][1],s[1][1]),{x:l,y:u,width:c-l,height:p-u}))}function E(e){return i.defaults({strokeNoScale:!0},e.brushStyle)}function O(e,t,n,i){var o=[d(e,n),d(t,i)],a=[h(e,n),h(t,i)];return[[o[0],a[0]],[o[1],a[1]]]}function R(e,t,n,i,o,a,r,s){var l=i.__brushOption,c=e(l.range),d=z(n,a,r);u(o.split(""),(function(e){var t=g[e];c[t[0]][t[1]]+=d[t[0]]})),l.range=t(O(c[0][0],c[1][0],c[0][1],c[1][1])),w(n,i),D(n,{isEnd:!1})}function V(e,t,n,i,o){var a=t.__brushOption.range,r=z(e,n,i);u(a,(function(e){e[0]+=r[0],e[1]+=r[1]})),w(e,t),D(e,{isEnd:!1})}function z(e,t,n){var i=e.group,o=i.transformCoordToLocal(t,n),a=i.transformCoordToLocal(0,0);return[o[0]-a[0],o[1]-a[1]]}function B(e,t,n){var o=A(e,t);return o&&!0!==o?o.clipPath(n,e._transform):i.clone(n)}function G(e){var t=e.event;t.preventDefault&&t.preventDefault()}function Y(e,t,n){return e.childOfName("main").contain(t,n)}function H(e,t,n,o){var a,r=e._creatingCover,s=e._creatingPanel,l=e._brushOption;if(e._track.push(n.slice()),function(e){var t=e._track;if(!t.length)return!1;var n=t[t.length-1],i=t[0],o=n[0]-i[0],a=n[1]-i[1];return p(o*o+a*a,.5)>6}(e)||r){if(s&&!r){"single"===l.brushMode&&T(e);var u=i.clone(l);u.brushType=W(u.brushType,s),u.panelId=!0===s?null:s.panelId,r=e._creatingCover=x(e,u),e._covers.push(r)}if(r){var c=Z[W(e._brushType,s)];r.__brushOption.range=c.getCreatingRange(B(e,r,e._track)),o&&(_(e,r),c.updateCommon(e,r)),b(e,r),a={isEnd:o}}}else o&&"single"===l.brushMode&&l.removeOnClick&&I(e,t,n)&&T(e)&&(a={isEnd:o,removeOnClick:!0});return a}function W(e,t){return"auto"===e?t.defaultBrushType:e}y.prototype={constructor:y,enableBrush:function(e){var t,n;return this._brushType&&(n=(t=this)._zr,r.release(n,"globalPan",t._uid),function(e,t){u(t,(function(t,n){e.off(n,t)}))}(n,t._handlers),t._brushType=t._brushOption=null),e.brushType&&function(e,t){var n=e._zr;e._enableGlobalPan||r.take(n,"globalPan",e._uid);(function(e,t){u(t,(function(t,n){e.on(n,t)}))})(n,e._handlers),e._brushType=t.brushType,e._brushOption=i.merge(i.clone(m),t,!0)}(this,e),this},setPanels:function(e){if(e&&e.length){var t=this._panels={};i.each(e,(function(e){t[e.panelId]=i.clone(e)}))}else this._panels=null;return this},mount:function(e){e=e||{},this._enableGlobalPan=e.enableGlobalPan;var t=this.group;return this._zr.add(t),t.attr({position:e.position||[0,0],rotation:e.rotation||0,scale:e.scale||[1,1]}),this._transform=t.getLocalTransform(),this},eachCover:function(e,t){u(this._covers,e,t)},updateCovers:function(e){e=i.map(e,(function(e){return i.merge(i.clone(m),e,!0)}));var t=this._covers,n=this._covers=[],o=this,a=this._creatingCover;return new s(t,e,(function(e,t){return r(e.__brushOption,t)}),r).add(l).update(l).remove((function(e){t[e]!==a&&o.group.remove(t[e])})).execute(),this;function r(e,t){return(null!=e.id?e.id:"\0-brush-index-"+t)+"-"+e.brushType}function l(i,r){var s=e[i];if(null!=r&&t[r]===a)n[i]=t[r];else{var l=n[i]=null!=r?(t[r].__brushOption=s,t[r]):_(o,x(o,s));w(o,l)}}},unmount:function(){return this.enableBrush(!1),T(this),this._zr.remove(this.group),this},dispose:function(){this.unmount(),this.off()}},i.mixin(y,o);var F={mousedown:function(e){if(this._dragging)j(this,e);else if(!e.target||!e.target.draggable){G(e);var t=this.group.transformCoordToLocal(e.offsetX,e.offsetY);this._creatingCover=null,(this._creatingPanel=I(this,e,t))&&(this._dragging=!0,this._track=[t.slice()])}},mousemove:function(e){var t=e.offsetX,n=e.offsetY,i=this.group.transformCoordToLocal(t,n);if(function(e,t,n){if(e._brushType&&!function(e,t,n){var i=e._zr;return t<0||t>i.getWidth()||n<0||n>i.getHeight()}(e,t)){var i=e._zr,o=e._covers,a=I(e,t,n);if(!e._dragging)for(var r=0;rr;)l+=360*u;return[s,l]},coordToPoint:function(e){var t=e[0],n=e[1]/180*Math.PI;return[Math.cos(n)*t+this.cx,-Math.sin(n)*t+this.cy]},getArea:function(){var e=this.getAngleAxis(),t=this.getRadiusAxis().getExtent().slice();t[0]>t[1]&&t.reverse();var n=e.getExtent(),i=Math.PI/180;return{cx:this.cx,cy:this.cy,r0:t[0],r:t[1],startAngle:-n[0]*i,endAngle:-n[1]*i,clockwise:e.inverse,contain:function(e,t){var n=e-this.cx,i=t-this.cy,o=n*n+i*i,a=this.r,r=this.r0;return o<=a*a&&o>=r*r}}}};var r=a;e.exports=r},"/d5a":function(e,t){var n={average:function(e){for(var t=0,n=0,i=0;it&&(t=e[n]);return isFinite(t)?t:NaN},min:function(e){for(var t=1/0,n=0;n1)"string"==typeof r?l=n[r]:"function"==typeof r&&(l=r),l&&e.setData(a.downSample(a.mapDimension(c.dim),1/p,l,i))}}}}},"/ry/":function(e,t,n){var i=n("bYtY"),o=n("T4UG"),a=n("5GhG").seriesModelMixin,r=o.extend({type:"series.boxplot",dependencies:["xAxis","yAxis","grid"],defaultValueDimensions:[{name:"min",defaultTooltip:!0},{name:"Q1",defaultTooltip:!0},{name:"median",defaultTooltip:!0},{name:"Q3",defaultTooltip:!0},{name:"max",defaultTooltip:!0}],dimensions:null,defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,layout:null,boxWidth:[7,50],itemStyle:{color:"#fff",borderWidth:1},emphasis:{itemStyle:{borderWidth:2,shadowBlur:5,shadowOffsetX:2,shadowOffsetY:2,shadowColor:"rgba(0,0,0,0.4)"}},animationEasing:"elasticOut",animationDuration:800}});i.mixin(r,a,!0);var s=r;e.exports=s},"/stD":function(e,t,n){var i=n("bYtY"),o=n("IUWy"),a=n("Kagy").toolbox.brush;function r(e,t,n){this.model=e,this.ecModel=t,this.api=n,this._brushType,this._brushMode}r.defaultOption={show:!0,type:["rect","polygon","lineX","lineY","keep","clear"],icon:{rect:"M7.3,34.7 M0.4,10V-0.2h9.8 M89.6,10V-0.2h-9.8 M0.4,60v10.2h9.8 M89.6,60v10.2h-9.8 M12.3,22.4V10.5h13.1 M33.6,10.5h7.8 M49.1,10.5h7.8 M77.5,22.4V10.5h-13 M12.3,31.1v8.2 M77.7,31.1v8.2 M12.3,47.6v11.9h13.1 M33.6,59.5h7.6 M49.1,59.5 h7.7 M77.5,47.6v11.9h-13",polygon:"M55.2,34.9c1.7,0,3.1,1.4,3.1,3.1s-1.4,3.1-3.1,3.1 s-3.1-1.4-3.1-3.1S53.5,34.9,55.2,34.9z M50.4,51c1.7,0,3.1,1.4,3.1,3.1c0,1.7-1.4,3.1-3.1,3.1c-1.7,0-3.1-1.4-3.1-3.1 C47.3,52.4,48.7,51,50.4,51z M55.6,37.1l1.5-7.8 M60.1,13.5l1.6-8.7l-7.8,4 M59,19l-1,5.3 M24,16.1l6.4,4.9l6.4-3.3 M48.5,11.6 l-5.9,3.1 M19.1,12.8L9.7,5.1l1.1,7.7 M13.4,29.8l1,7.3l6.6,1.6 M11.6,18.4l1,6.1 M32.8,41.9 M26.6,40.4 M27.3,40.2l6.1,1.6 M49.9,52.1l-5.6-7.6l-4.9-1.2",lineX:"M15.2,30 M19.7,15.6V1.9H29 M34.8,1.9H40.4 M55.3,15.6V1.9H45.9 M19.7,44.4V58.1H29 M34.8,58.1H40.4 M55.3,44.4 V58.1H45.9 M12.5,20.3l-9.4,9.6l9.6,9.8 M3.1,29.9h16.5 M62.5,20.3l9.4,9.6L62.3,39.7 M71.9,29.9H55.4",lineY:"M38.8,7.7 M52.7,12h13.2v9 M65.9,26.6V32 M52.7,46.3h13.2v-9 M24.9,12H11.8v9 M11.8,26.6V32 M24.9,46.3H11.8v-9 M48.2,5.1l-9.3-9l-9.4,9.2 M38.9-3.9V12 M48.2,53.3l-9.3,9l-9.4-9.2 M38.9,62.3V46.4",keep:"M4,10.5V1h10.3 M20.7,1h6.1 M33,1h6.1 M55.4,10.5V1H45.2 M4,17.3v6.6 M55.6,17.3v6.6 M4,30.5V40h10.3 M20.7,40 h6.1 M33,40h6.1 M55.4,30.5V40H45.2 M21,18.9h62.9v48.6H21V18.9z",clear:"M22,14.7l30.9,31 M52.9,14.7L22,45.7 M4.7,16.8V4.2h13.1 M26,4.2h7.8 M41.6,4.2h7.8 M70.3,16.8V4.2H57.2 M4.7,25.9v8.6 M70.3,25.9v8.6 M4.7,43.2v12.6h13.1 M26,55.8h7.8 M41.6,55.8h7.8 M70.3,43.2v12.6H57.2"},title:i.clone(a.title)};var s=r.prototype;s.render=s.updateView=function(e,t,n){var o,a,r;t.eachComponent({mainType:"brush"},(function(e){o=e.brushType,a=e.brushOption.brushMode||"single",r|=e.areas.length})),this._brushType=o,this._brushMode=a,i.each(e.get("type",!0),(function(t){e.setIconStatus(t,("keep"===t?"multiple"===a:"clear"===t?r:t===o)?"emphasis":"normal")}))},s.getIcons=function(){var e=this.model,t=e.get("icon",!0),n={};return i.each(e.get("type",!0),(function(e){t[e]&&(n[e]=t[e])})),n},s.onclick=function(e,t,n){var i=this._brushType,o=this._brushMode;"clear"===n?(t.dispatchAction({type:"axisAreaSelect",intervals:[]}),t.dispatchAction({type:"brush",command:"clear",areas:[]})):t.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:"keep"===n?i:i!==n&&n,brushMode:"keep"===n?"multiple"===o?"single":"multiple":o}})},o.register("brush",r);var l=r;e.exports=l},"01d+":function(e,t,n){var i=n("bYtY").each,o=n("HF/U"),a=o.simpleLayout,r=o.simpleLayoutEdge;e.exports=function(e,t){e.eachSeriesByType("graph",(function(e){var t=e.get("layout"),n=e.coordinateSystem;if(n&&"view"!==n.type){var o=e.getData(),s=[];i(n.dimensions,(function(e){s=s.concat(o.mapDimension(e,!0))}));for(var l=0;l=0&&o.each(e,(function(e){i.setIconStatus(e,"normal")}))})),i.setIconStatus(n,"emphasis"),e.eachComponent({mainType:"series",query:null==a?null:{seriesIndex:a}},(function(t){var a=t.subType,r=t.id,s=c[n](a,r,t,i);s&&(o.defaults(s,t.option),l.series.push(s));var u=t.coordinateSystem;if(u&&"cartesian2d"===u.type&&("line"===n||"bar"===n)){var d=u.getAxesByScale("ordinal")[0];if(d){var h=d.dim+"Axis",p=e.queryComponents({mainType:h,index:t.get(name+"Index"),id:t.get(name+"Id")})[0].componentIndex;l[h]=l[h]||[];for(var g=0;g<=p;g++)l[h][p]=l[h][p]||{};l[h][p].boundaryGap="bar"===n}}})),"stack"===n)r=l.series&&l.series[0]&&"__ec_magicType_stack__"===l.series[0].stack?o.merge({stack:s.title.tiled},s.title):o.clone(s.title);t.dispatchAction({type:"changeMagicType",currentType:n,newOption:l,newTitle:r,featureName:"magicType"})}},i.registerAction({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},(function(e,t){t.mergeOption(e.newOption)})),r.register("magicType",l);var h=l;e.exports=h},"06Qe":function(e,t,n){var i,o=n("ItGF"),a="urn:schemas-microsoft-com:vml",r="undefined"==typeof window?null:window,s=!1,l=r&&r.document;if(l&&!o.canvasSupported)try{!l.namespaces.zrvml&&l.namespaces.add("zrvml",a),i=function(e){return l.createElement("')}}catch(e){i=function(e){return l.createElement("<"+e+' xmlns="'+a+'" class="zrvml">')}}t.doc=l,t.createNode=function(e){return i(e)},t.initVML=function(){if(!s&&l){s=!0;var e=l.styleSheets;e.length<31?l.createStyleSheet().addRule(".zrvml","behavior:url(#default#VML)"):e[0].addRule(".zrvml","behavior:url(#default#VML)")}}},"0Bwj":function(e,t,n){var i=n("T4UG"),o=n("I3/A"),a=n("7aKB").encodeHTML,r=n("Qxkt"),s=(n("Tghj").__DEV__,i.extend({type:"series.sankey",layoutInfo:null,levelModels:null,getInitialData:function(e,t){for(var n=e.edges||e.links,i=e.data||e.nodes,a=e.levels,s=this.levelModels={},l=0;l=0&&(s[a[l].depth]=new r(a[l],this,t));if(i&&n)return o(i,n,this,!0,(function(e,t){e.wrapMethod("getItemModel",(function(e,t){return e.customizeGetParent((function(e){var n=this.parentModel,i=n.getData().getItemLayout(t).depth;return n.levelModels[i]||this.parentModel})),e})),t.wrapMethod("getItemModel",(function(e,t){return e.customizeGetParent((function(e){var n=this.parentModel,i=n.getGraph().getEdgeByIndex(t).node1.getLayout().depth;return n.levelModels[i]||this.parentModel})),e}))})).data},setNodePosition:function(e,t){var n=this.option.data[e];n.localX=t[0],n.localY=t[1]},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},formatTooltip:function(e,t,n){if("edge"===n){var i=this.getDataParams(e,n),o=i.data,r=o.source+" -- "+o.target;return i.value&&(r+=" : "+i.value),a(r)}if("node"===n){var l=this.getGraph().getNodeByIndex(e).getLayout().value,u=this.getDataParams(e,n).data.name;if(l)r=u+" : "+l;return a(r)}return s.superCall(this,"formatTooltip",e,t)},optionUpdated:function(){var e=this.option;!0===e.focusNodeAdjacency&&(e.focusNodeAdjacency="allEdges")},getDataParams:function(e,t){var n=s.superCall(this,"getDataParams",e,t);if(null==n.value&&"node"===t){var i=this.getGraph().getNodeByIndex(e).getLayout().value;n.value=i}return n},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",layout:null,left:"5%",top:"5%",right:"20%",bottom:"5%",orient:"horizontal",nodeWidth:20,nodeGap:8,draggable:!0,focusNodeAdjacency:!1,layoutIterations:32,label:{show:!0,position:"right",color:"#000",fontSize:12},levels:[],nodeAlign:"justify",itemStyle:{borderWidth:1,borderColor:"#333"},lineStyle:{color:"#314656",opacity:.2,curveness:.5},emphasis:{label:{show:!0},lineStyle:{opacity:.5}},animationEasing:"linear",animationDuration:1e3}})),l=s;e.exports=l},"0HBW":function(e,t,n){var i=n("ProS"),o=n("bYtY");function a(e,t){t.update="updateView",i.registerAction(t,(function(t,n){var i={};return n.eachComponent({mainType:"geo",query:t},(function(n){n[e](t.name);var a=n.coordinateSystem;o.each(a.regions,(function(e){i[e.name]=n.isSelected(e.name)||!1}))})),{selected:i,name:t.name}}))}n("Hxpc"),n("7uqq"),n("dmGj"),n("SehX"),a("toggleSelected",{type:"geoToggleSelect",event:"geoselectchanged"}),a("select",{type:"geoSelect",event:"geoselected"}),a("unSelect",{type:"geoUnSelect",event:"geounselected"})},"0JAE":function(e,t,n){var i=n("bYtY"),o=n("+TT/"),a=n("OELB"),r=n("IDmD");function s(e,t,n){this._model=e}function l(e,t,n,i){var o=n.calendarModel,a=n.seriesModel,r=o?o.coordinateSystem:a?a.coordinateSystem:null;return r===this?r[e](i):null}s.prototype={constructor:s,type:"calendar",dimensions:["time","value"],getDimensionsInfo:function(){return[{name:"time",type:"time"},"value"]},getRangeInfo:function(){return this._rangeInfo},getModel:function(){return this._model},getRect:function(){return this._rect},getCellWidth:function(){return this._sw},getCellHeight:function(){return this._sh},getOrient:function(){return this._orient},getFirstDayOfWeek:function(){return this._firstDayOfWeek},getDateInfo:function(e){var t=(e=a.parseDate(e)).getFullYear(),n=e.getMonth()+1;n=n<10?"0"+n:n;var i=e.getDate();i=i<10?"0"+i:i;var o=e.getDay();return{y:t,m:n,d:i,day:o=Math.abs((o+7-this.getFirstDayOfWeek())%7),time:e.getTime(),formatedDate:t+"-"+n+"-"+i,date:e}},getNextNDay:function(e,t){return 0===(t=t||0)||(e=new Date(this.getDateInfo(e).time)).setDate(e.getDate()+t),this.getDateInfo(e)},update:function(e,t){this._firstDayOfWeek=+this._model.getModel("dayLabel").get("firstDay"),this._orient=this._model.get("orient"),this._lineWidth=this._model.getModel("itemStyle").getItemStyle().lineWidth||0,this._rangeInfo=this._getRangeInfo(this._initRangeOption());var n=this._rangeInfo.weeks||1,a=["width","height"],r=this._model.get("cellSize").slice(),s=this._model.getBoxLayoutParams(),l="horizontal"===this._orient?[n,7]:[7,n];i.each([0,1],(function(e){d(r,e)&&(s[a[e]]=r[e]*l[e])}));var u={width:t.getWidth(),height:t.getHeight()},c=this._rect=o.getLayoutRect(s,u);function d(e,t){return null!=e[t]&&"auto"!==e[t]}i.each([0,1],(function(e){d(r,e)||(r[e]=c[a[e]]/l[e])})),this._sw=r[0],this._sh=r[1]},dataToPoint:function(e,t){i.isArray(e)&&(e=e[0]),null==t&&(t=!0);var n=this.getDateInfo(e),o=this._rangeInfo,a=n.formatedDate;if(t&&!(n.time>=o.start.time&&n.timer.end.time&&e.reverse(),e},_getRangeInfo:function(e){var t;(e=[this.getDateInfo(e[0]),this.getDateInfo(e[1])])[0].time>e[1].time&&(t=!0,e.reverse());var n=Math.floor(e[1].time/864e5)-Math.floor(e[0].time/864e5)+1,i=new Date(e[0].time),o=i.getDate(),a=e[1].date.getDate();i.setDate(o+n-1);var r=i.getDate();if(r!==a)for(var s=i.getTime()-e[1].time>0?1:-1;(r=i.getDate())!==a&&(i.getTime()-e[1].time)*s>0;)n-=s,i.setDate(r-s);var l=Math.floor((n+e[0].day+6)/7),u=t?1-l:l-1;return t&&e.reverse(),{range:[e[0].formatedDate,e[1].formatedDate],start:e[0],end:e[1],allDay:n,weeks:l,nthWeek:u,fweek:e[0].day,lweek:e[1].day}},_getDateByWeeksAndDay:function(e,t,n){var i=this._getRangeInfo(n);if(e>i.weeks||0===e&&ti.lweek)return!1;var o=7*(e-1)-i.fweek+t,a=new Date(i.start.time);return a.setDate(i.start.d+o),this.getDateInfo(a)}},s.dimensions=s.prototype.dimensions,s.getDimensionsInfo=s.prototype.getDimensionsInfo,s.create=function(e,t){var n=[];return e.eachComponent("calendar",(function(i){var o=new s(i,e,t);n.push(o),i.coordinateSystem=o})),e.eachSeries((function(e){"calendar"===e.get("coordinateSystem")&&(e.coordinateSystem=n[e.get("calendarIndex")||0])})),n},r.register("calendar",s);var u=s;e.exports=u},"0qV/":function(e,t,n){var i=n("ProS");i.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},(function(){})),i.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},(function(){}))},"10cm":function(e,t,n){var i=n("ProS"),o=n("2B6p").updateCenterAndZoom;n("0qV/");i.registerAction({type:"graphRoam",event:"graphRoam",update:"none"},(function(e,t){t.eachComponent({mainType:"series",query:e},(function(t){var n=t.coordinateSystem,i=o(n,e);t.setCenter&&t.setCenter(i.center),t.setZoom&&t.setZoom(i.zoom)}))}))},"1NG9":function(e,t,n){var i=n("y+Vt"),o=n("QBsz"),a=n("iXp4"),r=o.min,s=o.max,l=o.scaleAndAdd,u=o.copy,c=[],d=[],h=[];function p(e){return isNaN(e[0])||isNaN(e[1])}function g(e,t,n,i,o,a,r,s,l,u,c){return"none"!==u&&u?f.apply(this,arguments):m.apply(this,arguments)}function f(e,t,n,i,o,a,r,s,l,c,g){for(var f=0,m=n,v=0;v=o||m<0)break;if(p(y)){if(g){m+=a;continue}break}if(m===n)e[a>0?"moveTo":"lineTo"](y[0],y[1]);else if(l>0){var x=t[f],_="y"===c?1:0,b=(y[_]-x[_])*l;u(d,x),d[_]=x[_]+b,u(h,y),h[_]=y[_]-b,e.bezierCurveTo(d[0],d[1],h[0],h[1],y[0],y[1])}else e.lineTo(y[0],y[1]);f=m,m+=a}return v}function m(e,t,n,i,a,g,f,m,v,y,x){for(var _=0,b=n,S=0;S=a||b<0)break;if(p(w)){if(x){b+=g;continue}break}if(b===n)e[g>0?"moveTo":"lineTo"](w[0],w[1]),u(d,w);else if(v>0){var M=b+g,I=t[M];if(x)for(;I&&p(t[M]);)I=t[M+=g];var A=.5,T=t[_];if(!(I=t[M])||p(I))u(h,w);else{var D,C;if(p(I)&&!x&&(I=w),o.sub(c,I,T),"x"===y||"y"===y){var L="x"===y?0:1;D=Math.abs(w[L]-T[L]),C=Math.abs(w[L]-I[L])}else D=o.dist(w,T),C=o.dist(w,I);l(h,w,c,-v*(1-(A=C/(C+D))))}r(d,d,m),s(d,d,f),r(h,h,m),s(h,h,f),e.bezierCurveTo(d[0],d[1],h[0],h[1],w[0],w[1]),l(d,w,c,v*A)}else e.lineTo(w[0],w[1]);_=b,b+=g}return S}function v(e,t){var n=[1/0,1/0],i=[-1/0,-1/0];if(t)for(var o=0;oi[0]&&(i[0]=a[0]),a[1]>i[1]&&(i[1]=a[1])}return{min:t?n:i,max:t?i:n}}var y=i.extend({type:"ec-polyline",shape:{points:[],smooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},style:{fill:null,stroke:"#000"},brush:a(i.prototype.brush),buildPath:function(e,t){var n=t.points,i=0,o=n.length,a=v(n,t.smoothConstraint);if(t.connectNulls){for(;o>0&&p(n[o-1]);o--);for(;i0&&p(n[a-1]);a--);for(;on.getHeight()&&(i.textPosition="top",s=!0);var l=s?-5-o.height:h+8;r+o.width/2>n.getWidth()?(i.textPosition=["100%",l],i.textAlign="right"):r-o.width/2<0&&(i.textPosition=[0,l],i.textAlign="left")}}))}function m(a,u){var c,m=f[a],v=f[u],y=p[m],x=new l(y,e,e.ecModel);if(i&&null!=i.newTitle&&i.featureName===m&&(y.title=i.newTitle),m&&!v){if(function(e){return 0===e.indexOf("my")}(m))c={model:x,onclick:x.option.onclick,featureName:m};else{var _=r.get(m);if(!_)return;c=new _(x,t,n)}g[m]=c}else{if(!(c=g[v]))return;c.model=x,c.ecModel=t,c.api=n}m||!v?x.get("show")&&!c.unusable?(!function(i,a,r){var l=i.getModel("iconStyle"),u=i.getModel("emphasis.iconStyle"),c=a.getIcons?a.getIcons():i.get("icon"),p=i.get("title")||{};if("string"==typeof c){var g=c,f=p;p={},(c={})[r]=g,p[r]=f}var m=i.iconPaths={};o.each(c,(function(r,c){var g=s.createIcon(r,{},{x:-h/2,y:-h/2,width:h,height:h});g.setStyle(l.getItemStyle()),g.hoverStyle=u.getItemStyle(),g.setStyle({text:p[c],textAlign:u.get("textAlign"),textBorderRadius:u.get("textBorderRadius"),textPadding:u.get("textPadding"),textFill:null});var f=e.getModel("tooltip");f&&f.get("show")&&g.attr("tooltip",o.extend({content:p[c],formatter:f.get("formatter",!0)||function(){return p[c]},formatterParams:{componentType:"toolbox",name:c,title:p[c],$vars:["name","title"]},position:f.get("position",!0)||"bottom"},f.option)),s.setHoverStyle(g),e.get("showTitle")&&(g.__title=p[c],g.on("mouseover",(function(){var t=u.getItemStyle(),n="vertical"===e.get("orient")?null==e.get("right")?"right":"left":null==e.get("bottom")?"bottom":"top";g.setStyle({textFill:u.get("textFill")||t.fill||t.stroke||"#000",textBackgroundColor:u.get("textBackgroundColor"),textPosition:u.get("textPosition")||n})})).on("mouseout",(function(){g.setStyle({textFill:null,textBackgroundColor:null})}))),g.trigger(i.get("iconStatus."+c)||"normal"),d.add(g),g.on("click",o.bind(a.onclick,a,t,n,c)),m[c]=g}))}(x,c,m),x.setIconStatus=function(e,t){var n=this.option,i=this.iconPaths;n.iconStatus=n.iconStatus||{},n.iconStatus[e]=t,i[e]&&i[e].trigger(t)},c.render&&c.render(x,t,n,i)):c.remove&&c.remove(t,n):c.dispose&&c.dispose(t,n)}},updateView:function(e,t,n,i){o.each(this._features,(function(e){e.updateView&&e.updateView(e.model,t,n,i)}))},remove:function(e,t){o.each(this._features,(function(n){n.remove&&n.remove(e,t)})),this.group.removeAll()},dispose:function(e,t){o.each(this._features,(function(n){n.dispose&&n.dispose(e,t)}))}});e.exports=d},"2B6p":function(e,t){t.updateCenterAndZoom=function(e,t,n){var i=e.getZoom(),o=e.getCenter(),a=t.zoom,r=e.dataToPoint(o);if(null!=t.dx&&null!=t.dy){r[0]-=t.dx,r[1]-=t.dy;o=e.pointToData(r);e.setCenter(o)}if(null!=a){if(n){var s=n.min||0,l=n.max||1/0;a=Math.max(Math.min(i*a,l),s)/i}e.scale[0]*=a,e.scale[1]*=a;var u=e.position,c=(t.originX-u[0])*(a-1),d=(t.originY-u[1])*(a-1);u[0]-=c,u[1]-=d,e.updateTransform();o=e.pointToData(r);e.setCenter(o),e.setZoom(a*i)}return{center:e.getCenter(),zoom:e.getZoom()}}},"2dDv":function(e,t,n){var i=n("bYtY"),o=n("Fofx"),a=n("+TT/"),r=n("aX7z"),s=n("D1WM"),l=n("IwbS"),u=n("OELB"),c=n("72pK"),d=i.each,h=Math.min,p=Math.max,g=Math.floor,f=Math.ceil,m=u.round,v=Math.PI;function y(e,t,n){this._axesMap=i.createHashMap(),this._axesLayout={},this.dimensions=e.dimensions,this._rect,this._model=e,this._init(e,t,n)}function x(e,t){return h(p(e,t[0]),t[1])}function _(e,t){var n=t.layoutLength/(t.axisCount-1);return{position:n*e,axisNameAvailableWidth:n,axisLabelShow:!0}}function b(e,t){var n,i,o=t.layoutLength,a=t.axisExpandWidth,r=t.axisCount,s=t.axisCollapseWidth,l=t.winInnerIndices,u=s,c=!1;return e=n&&a<=n+t.axisLength&&r>=i&&r<=i+t.layoutLength},getModel:function(){return this._model},_updateAxesFromSeries:function(e,t){t.eachSeries((function(n){if(e.contains(n,t)){var i=n.getData();d(this.dimensions,(function(e){var t=this._axesMap.get(e);t.scale.unionExtentFromData(i,i.mapDimension(e)),r.niceScaleExtent(t.scale,t.model)}),this)}}),this)},resize:function(e,t){this._rect=a.getLayoutRect(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()}),this._layoutAxes()},getRect:function(){return this._rect},_makeLayoutInfo:function(){var e,t=this._model,n=this._rect,i=["x","y"],o=["width","height"],a=t.get("layout"),r="horizontal"===a?0:1,s=n[o[r]],l=[0,s],u=this.dimensions.length,c=x(t.get("axisExpandWidth"),l),d=x(t.get("axisExpandCount")||0,[0,u]),h=t.get("axisExpandable")&&u>3&&u>d&&d>1&&c>0&&s>0,p=t.get("axisExpandWindow");p?(e=x(p[1]-p[0],l),p[1]=p[0]+e):(e=x(c*(d-1),l),(p=[c*(t.get("axisExpandCenter")||g(u/2))-e/2])[1]=p[0]+e);var v=(s-e)/(u-d);v<3&&(v=0);var y=[g(m(p[0]/c,1))+1,f(m(p[1]/c,1))-1],_=v/c*p[0];return{layout:a,pixelDimIndex:r,layoutBase:n[i[r]],layoutLength:s,axisBase:n[i[1-r]],axisLength:n[o[1-r]],axisExpandable:h,axisExpandWidth:c,axisCollapseWidth:v,axisExpandWindow:p,axisCount:u,winInnerIndices:y,axisExpandWindow0Pos:_}},_layoutAxes:function(){var e=this._rect,t=this._axesMap,n=this.dimensions,i=this._makeLayoutInfo(),a=i.layout;t.each((function(e){var t=[0,i.axisLength],n=e.inverse?1:0;e.setExtent(t[n],t[1-n])})),d(n,(function(t,n){var r=(i.axisExpandable?b:_)(n,i),s={horizontal:{x:r.position,y:i.axisLength},vertical:{x:0,y:r.position}},l={horizontal:v/2,vertical:0},u=[s[a].x+e.x,s[a].y+e.y],c=l[a],d=o.create();o.rotate(d,d,c),o.translate(d,d,u),this._axesLayout[t]={position:u,rotation:c,transform:d,axisNameAvailableWidth:r.axisNameAvailableWidth,axisLabelShow:r.axisLabelShow,nameTruncateMaxWidth:r.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}}),this)},getAxis:function(e){return this._axesMap.get(e)},dataToPoint:function(e,t){return this.axisCoordToPoint(this._axesMap.get(t).dataToCoord(e),t)},eachActiveState:function(e,t,n,o){null==n&&(n=0),null==o&&(o=e.count());var a=this._axesMap,r=this.dimensions,s=[],l=[];i.each(r,(function(t){s.push(e.mapDimension(t)),l.push(a.get(t).model)}));for(var u=this.hasAxisBrushed(),c=n;co*(1-d[0])?(l="jump",r=s-o*(1-d[2])):(r=s-o*d[1])>=0&&(r=s-o*(1-d[1]))<=0&&(r=0),(r*=t.axisExpandWidth/u)?c(r,i,a,"all"):l="none";else{o=i[1]-i[0];(i=[p(0,a[1]*s/o-o/2)])[1]=h(a[1],i[0]+o),i[0]=i[1]-o}return{axisExpandWindow:i,behavior:l}}};var S=y;e.exports=S},"2fGM":function(e,t,n){var i=n("bYtY"),o=n("bLfw"),a=n("nkfE"),r=n("ICMv"),s=o.extend({type:"polarAxis",axis:null,getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"polar",index:this.option.polarIndex,id:this.option.polarId})[0]}});i.merge(s.prototype,r);var l={splitNumber:5};function u(e,t){return t.type||(t.data?"category":"value")}a("angle",s,u,{startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:!1}}),a("radius",s,u,l)},"2uGb":function(e,t,n){var i=n("ProS");n("ko1b"),n("s2lz"),n("RBEP");var o=n("kMLO"),a=n("nKiI");i.registerVisual(o),i.registerLayout(a)},"33Ds":function(e,t,n){var i=n("ProS"),o=n("b9oc"),a=n("Kagy"),r=n("IUWy"),s=a.toolbox.restore;function l(e){this.model=e}l.defaultOption={show:!0,icon:"M3.8,33.4 M47,18.9h9.8V8.7 M56.3,20.1 C52.1,9,40.5,0.6,26.8,2.1C12.6,3.7,1.6,16.2,2.1,30.6 M13,41.1H3.1v10.2 M3.7,39.9c4.2,11.1,15.8,19.5,29.5,18 c14.2-1.6,25.2-14.1,24.7-28.5",title:s.title},l.prototype.onclick=function(e,t,n){o.clear(e),t.dispatchAction({type:"restore",from:this.uid})},r.register("restore",l),i.registerAction({type:"restore",event:"restore",update:"prepareAndUpdate"},(function(e,t){t.resetOption("recreate")}));var u=l;e.exports=u},"3CBa":function(e,t,n){var i=n("hydK").createElement,o=n("bYtY"),a=n("SUKs"),r=n("y+Vt"),s=n("Dagg"),l=n("dqUG"),u=n("DBLp"),c=n("sW+o"),d=n("n6Mw"),h=n("vKoX"),p=n("P47w"),g=p.path,f=p.image,m=p.text;function v(e){return parseInt(e,10)}function y(e,t){return t&&e&&t.parentNode!==e}function x(e,t,n){if(y(e,t)&&n){var i=n.nextSibling;i?e.insertBefore(t,i):e.appendChild(t)}}function _(e,t){if(y(e,t)){var n=e.firstChild;n?e.insertBefore(t,n):e.appendChild(t)}}function b(e,t){t&&e&&t.parentNode===e&&e.removeChild(t)}function S(e){return e.__textSvgEl}function w(e){return e.__svgEl}var M=function(e,t,n,a){this.root=e,this.storage=t,this._opts=n=o.extend({},n||{});var r=i("svg");r.setAttribute("xmlns","http://www.w3.org/2000/svg"),r.setAttribute("version","1.1"),r.setAttribute("baseProfile","full"),r.style.cssText="user-select:none;position:absolute;left:0;top:0;";var s=i("g");r.appendChild(s);var l=i("g");r.appendChild(l),this.gradientManager=new c(a,l),this.clipPathManager=new d(a,l),this.shadowManager=new h(a,l);var u=document.createElement("div");u.style.cssText="overflow:hidden;position:relative",this._svgDom=r,this._svgRoot=l,this._backgroundRoot=s,this._viewport=u,e.appendChild(u),u.appendChild(r),this.resize(n.width,n.height),this._visibleList=[]};M.prototype={constructor:M,getType:function(){return"svg"},getViewportRoot:function(){return this._viewport},getSvgDom:function(){return this._svgDom},getSvgRoot:function(){return this._svgRoot},getViewportRootOffset:function(){var e=this.getViewportRoot();if(e)return{offsetLeft:e.offsetLeft||0,offsetTop:e.offsetTop||0}},refresh:function(){var e=this.storage.getDisplayList(!0);this._paintList(e)},setBackgroundColor:function(e){this._backgroundRoot&&this._backgroundNode&&this._backgroundRoot.removeChild(this._backgroundNode);var t=i("rect");t.setAttribute("width",this.getWidth()),t.setAttribute("height",this.getHeight()),t.setAttribute("x",0),t.setAttribute("y",0),t.setAttribute("id",0),t.style.fill=e,this._backgroundRoot.appendChild(t),this._backgroundNode=t},_paintList:function(e){this.gradientManager.markAllUnused(),this.clipPathManager.markAllUnused(),this.shadowManager.markAllUnused();var t,n,i=this._svgRoot,o=this._visibleList,a=e.length,c=[];for(t=0;t=0;--i)if(n[i]===e)return!0;return!1}),t):null:t[0]},resize:function(e,t){var n=this._viewport;n.style.display="none";var i=this._opts;if(null!=e&&(i.width=e),null!=t&&(i.height=t),e=this._getSize(0),t=this._getSize(1),n.style.display="",this._width!==e||this._height!==t){this._width=e,this._height=t;var o=n.style;o.width=e+"px",o.height=t+"px";var a=this._svgDom;a.setAttribute("width",e),a.setAttribute("height",t)}this._backgroundNode&&(this._backgroundNode.setAttribute("width",e),this._backgroundNode.setAttribute("height",t))},getWidth:function(){return this._width},getHeight:function(){return this._height},_getSize:function(e){var t=this._opts,n=["width","height"][e],i=["clientWidth","clientHeight"][e],o=["paddingLeft","paddingTop"][e],a=["paddingRight","paddingBottom"][e];if(null!=t[n]&&"auto"!==t[n])return parseFloat(t[n]);var r=this.root,s=document.defaultView.getComputedStyle(r);return(r[i]||v(s[n])||v(r.style[n]))-(v(s[o])||0)-(v(s[a])||0)|0},dispose:function(){this.root.innerHTML="",this._svgRoot=this._backgroundRoot=this._svgDom=this._backgroundNode=this._viewport=this.storage=null},clear:function(){this._viewport&&this.root.removeChild(this._viewport)},toDataURL:function(){return this.refresh(),"data:image/svg+xml;charset=UTF-8,"+encodeURIComponent(this._svgDom.outerHTML.replace(/>\n\r<"))}},o.each(["getLayer","insertLayer","eachLayer","eachBuiltinLayer","eachOtherLayer","getLayers","modLayer","delLayer","clearLayer","pathToImage"],(function(e){var t;M.prototype[e]=(t=e,function(){a('In SVG mode painter not support method "'+t+'"')})}));var I=M;e.exports=I},"3OrL":function(e,t,n){var i=n("bYtY"),o=n("6Ic6"),a=n("IwbS"),r=n("y+Vt"),s=["itemStyle"],l=["emphasis","itemStyle"],u=o.extend({type:"boxplot",render:function(e,t,n){var i=e.getData(),o=this.group,a=this._data;this._data||o.removeAll();var r="horizontal"===e.get("layout")?1:0;i.diff(a).add((function(e){if(i.hasValue(e)){var t=d(i.getItemLayout(e),i,e,r,!0);i.setItemGraphicEl(e,t),o.add(t)}})).update((function(e,t){var n=a.getItemGraphicEl(t);if(i.hasValue(e)){var s=i.getItemLayout(e);n?h(s,n,i,e):n=d(s,i,e,r),o.add(n),i.setItemGraphicEl(e,n)}else o.remove(n)})).remove((function(e){var t=a.getItemGraphicEl(e);t&&o.remove(t)})).execute(),this._data=i},remove:function(e){var t=this.group,n=this._data;this._data=null,n&&n.eachItemGraphicEl((function(e){e&&t.remove(e)}))},dispose:i.noop}),c=r.extend({type:"boxplotBoxPath",shape:{},buildPath:function(e,t){var n=t.points,i=0;for(e.moveTo(n[i][0],n[i][1]),i++;i<4;i++)e.lineTo(n[i][0],n[i][1]);for(e.closePath();i=0;n--)s.asc(t[n])},getActiveState:function(e){var t=this.activeIntervals;if(!t.length)return"normal";if(null==e||isNaN(e))return"inactive";if(1===t.length){var n=t[0];if(n[0]<=e&&e<=n[1])return"active"}else for(var i=0,o=t.length;i"],o.isArray(e)&&(e=e.slice(),i=!0),a=t?e:i?[c(e[0]),c(e[1])]:c(e),o.isString(u)?u.replace("{value}",i?a[0]:a).replace("{value2}",i?a[1]:a):o.isFunction(u)?i?u(e[0],e[1]):u(e):i?e[0]===l[0]?n[0]+" "+a[1]:e[1]===l[1]?n[1]+" "+a[0]:a[0]+" - "+a[1]:a;function c(e){return e===l[0]?"min":e===l[1]?"max":(+e).toFixed(Math.min(s,20))}},resetExtent:function(){var e=this.option,t=f([e.min,e.max]);this._dataExtent=t},getDataDimension:function(e){var t=this.option.dimension,n=e.dimensions;if(null!=t||n.length){if(null!=t)return e.getDimension(t);for(var i=e.dimensions,o=i.length-1;o>=0;o--){var a=i[o];if(!e.getDimensionInfo(a).isCalculationCoord)return a}}},getExtent:function(){return this._dataExtent.slice()},completeVisualOption:function(){var e=this.ecModel,t=this.option,n={inRange:t.inRange,outOfRange:t.outOfRange},i=t.target||(t.target={}),a=t.controller||(t.controller={});o.merge(i,n),o.merge(a,n);var l=this.isCategory();function u(n){p(t.color)&&!n.inRange&&(n.inRange={color:t.color.slice().reverse()}),n.inRange=n.inRange||{color:e.get("gradientColor")},g(this.stateList,(function(e){var t=n[e];if(o.isString(t)){var i=r.get(t,"active",l);i?(n[e]={},n[e][t]=i):delete n[e]}}),this)}u.call(this,i),u.call(this,a),function(e,t,n){var i=e[t],o=e[n];i&&!o&&(o=e[n]={},g(i,(function(e,t){if(s.isValidType(t)){var n=r.get(t,"inactive",l);null!=n&&(o[t]=n,"color"!==t||o.hasOwnProperty("opacity")||o.hasOwnProperty("colorAlpha")||(o.opacity=[0,0]))}})))}.call(this,i,"inRange","outOfRange"),function(e){var t=(e.inRange||{}).symbol||(e.outOfRange||{}).symbol,n=(e.inRange||{}).symbolSize||(e.outOfRange||{}).symbolSize,i=this.get("inactiveColor");g(this.stateList,(function(a){var r=this.itemSize,s=e[a];s||(s=e[a]={color:l?i:[i]}),null==s.symbol&&(s.symbol=t&&o.clone(t)||(l?"roundRect":["roundRect"])),null==s.symbolSize&&(s.symbolSize=n&&o.clone(n)||(l?r[0]:[r[0],r[0]])),s.symbol=d(s.symbol,(function(e){return"none"===e||"square"===e?"roundRect":e}));var u=s.symbolSize;if(null!=u){var c=-1/0;h(u,(function(e){e>c&&(c=e)})),s.symbolSize=d(u,(function(e){return m(e,[0,c],[0,r[0]],!0)}))}}),this)}.call(this,a)},resetItemSize:function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},isCategory:function(){return!!this.option.categories},setSelected:v,getValueState:v,getVisualMeta:v});e.exports=y},"6usn":function(e,t,n){var i=n("bYtY");function o(e,t){return i.map(["Radius","Angle"],(function(n,i){var o=this["get"+n+"Axis"](),a=t[i],r=e[i]/2,s="dataTo"+n,l="category"===o.type?o.getBandWidth():Math.abs(o[s](a-r)-o[s](a+r));return"Angle"===n&&(l=l*Math.PI/180),l}),this)}e.exports=function(e){var t=e.getRadiusAxis(),n=e.getAngleAxis(),a=t.getExtent();return a[0]>a[1]&&a.reverse(),{coordSys:{type:"polar",cx:e.cx,cy:e.cy,r:a[1],r0:a[0]},api:{coord:i.bind((function(i){var o=t.dataToRadius(i[0]),a=n.dataToAngle(i[1]),r=e.coordToPoint([o,a]);return r.push(o,a*Math.PI/180),r})),size:i.bind(o,e)}}}},"72pK":function(e,t){function n(e,t){var n=e[t]-e[1-t];return{span:Math.abs(n),sign:n>0?-1:n<0?1:t?-1:1}}function i(e,t){return Math.min(null!=t[1]?t[1]:1/0,Math.max(null!=t[0]?t[0]:-1/0,e))}e.exports=function(e,t,o,a,r,s){e=e||0;var l=o[1]-o[0];if(null!=r&&(r=i(r,[0,l])),null!=s&&(s=Math.max(s,null!=r?r:0)),"all"===a){var u=Math.abs(t[1]-t[0]);u=i(u,[0,l]),r=s=i(u,[r,s]),a=0}t[0]=i(t[0],o),t[1]=i(t[1],o);var c=n(t,a);t[a]+=e;var d=r||0,h=o.slice();c.sign<0?h[0]+=d:h[1]-=d,t[a]=i(t[a],h);var p=n(t,a);return null!=r&&(p.sign!==c.sign||p.spans&&(t[1-a]=t[a]+p.sign*s),t}},"75ce":function(e,t,n){var i=n("ProS");n("IXuL"),n("8X+K");var o=n("f5Yq"),a=n("h8O9"),r=n("/d5a");n("Ae16"),i.registerVisual(o("line","circle","line")),i.registerLayout(a("line")),i.registerProcessor(i.PRIORITY.PROCESSOR.STATISTIC,r("line"))},"75ev":function(e,t,n){var i=n("ProS");n("IWNH"),n("bNin"),n("v5uJ");var o=n("f5Yq"),a=n("yik8");i.registerVisual(o("tree","circle")),i.registerLayout(a)},"7AJT":function(e,t,n){var i=n("bYtY"),o=n("hM6l"),a=function(e,t,n,i,a){o.call(this,e,t,n),this.type=i||"value",this.position=a||"bottom"};a.prototype={constructor:a,index:0,getAxesOnZeroOf:null,model:null,isHorizontal:function(){var e=this.position;return"top"===e||"bottom"===e},getGlobalExtent:function(e){var t=this.getExtent();return t[0]=this.toGlobalCoord(t[0]),t[1]=this.toGlobalCoord(t[1]),e&&t[0]>t[1]&&t.reverse(),t},getOtherAxis:function(){this.grid.getOtherAxis()},pointToData:function(e,t){return this.coordToData(this.toLocalCoord(e["x"===this.dim?0:1]),t)},toLocalCoord:null,toGlobalCoord:null},i.inherits(a,o);var r=a;e.exports=r},"7Phj":function(e,t,n){var i=n("bYtY"),o=n("OELB").parsePercent,a=i.each;e.exports=function(e){var t=function(e){var t=[],n=[];return e.eachSeriesByType("boxplot",(function(e){var o=e.getBaseAxis(),a=i.indexOf(n,o);a<0&&(a=n.length,n[a]=o,t[a]={axis:o,seriesModels:[]}),t[a].seriesModels.push(e)})),t}(e);a(t,(function(e){var t=e.seriesModels;t.length&&(!function(e){var t,n,r=e.axis,s=e.seriesModels,l=s.length,u=e.boxWidthList=[],c=e.boxOffsetList=[],d=[];if("category"===r.type)n=r.getBandWidth();else{var h=0;a(s,(function(e){h=Math.max(h,e.getData().count())})),t=r.getExtent(),Math.abs(t[1]-t[0])}a(s,(function(e){var t=e.get("boxWidth");i.isArray(t)||(t=[t,t]),d.push([o(t[0],n)||0,o(t[1],n)||0])}));var p=.8*n-2,g=p/l*.3,f=(p-g*(l-1))/l,m=f/2-p/2;a(s,(function(e,t){c.push(m),m+=g+f,u.push(Math.min(Math.max(f,d[t][0]),d[t][1]))}))}(e),a(t,(function(t,n){!function(e,t,n){var i=e.coordinateSystem,o=e.getData(),a=n/2,r="horizontal"===e.get("layout")?0:1,s=1-r,l=["x","y"],u=o.mapDimension(l[r]),c=o.mapDimension(l[s],!0);if(null==u||c.length<5)return;for(var d=0;d=t&&(e=t-1),e<0&&(e=0)),this.option.currentIndex=e},getCurrentIndex:function(){return this.option.currentIndex},isIndexMax:function(){return this.getCurrentIndex()>=this._data.count()-1},setPlayState:function(e){this.option.autoPlay=!!e},getPlayState:function(){return!!this.option.autoPlay},_initData:function(){var e=this.option,t=e.data||[],n=e.axisType,o=this._names=[];if("category"===n){var s=[];i.each(t,(function(e,t){var n,a=r.getDataItemValue(e);i.isObject(e)?(n=i.clone(e)).value=t:n=t,s.push(n),i.isString(a)||null!=a&&!isNaN(a)||(a=""),o.push(a+"")})),t=s}var l={category:"ordinal",time:"time"}[n]||"number";(this._data=new a([{name:"value",type:l}],this)).initData(t,o)},getData:function(){return this._data},getCategories:function(){if("category"===this.get("axisType"))return this._names.slice()}}),l=s;e.exports=l},"7bkD":function(e,t,n){var i=n("bYtY");t.layout=function(e,t){t=t||{};var n=e.coordinateSystem,o=e.axis,a={},r=o.position,s=o.orient,l=n.getRect(),u=[l.x,l.x+l.width,l.y,l.y+l.height],c={horizontal:{top:u[2],bottom:u[3]},vertical:{left:u[0],right:u[1]}};a.position=["vertical"===s?c.vertical[r]:u[0],"horizontal"===s?c.horizontal[r]:u[3]],a.rotation=Math.PI/2*{horizontal:0,vertical:1}[s],a.labelDirection=a.tickDirection=a.nameDirection={top:-1,bottom:1,right:1,left:-1}[r],e.get("axisTick.inside")&&(a.tickDirection=-a.tickDirection),i.retrieve(t.labelInside,e.get("axisLabel.inside"))&&(a.labelDirection=-a.labelDirection);var d=t.rotate;return null==d&&(d=e.get("axisLabel.rotate")),a.labelRotation="top"===r?-d:d,a.z2=1,a}},"7mYs":function(e,t,n){var i=n("ProS"),o=n("bYtY"),a=n("IwbS"),r=n("7aKB"),s=n("OELB"),l={EN:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],CN:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]},u={EN:["S","M","T","W","T","F","S"],CN:["日","一","二","三","四","五","六"]},c=i.extendComponentView({type:"calendar",_tlpoints:null,_blpoints:null,_firstDayOfMonth:null,_firstDayPoints:null,render:function(e,t,n){var i=this.group;i.removeAll();var o=e.coordinateSystem,a=o.getRangeInfo(),r=o.getOrient();this._renderDayRect(e,a,i),this._renderLines(e,a,r,i),this._renderYearText(e,a,r,i),this._renderMonthText(e,r,i),this._renderWeekText(e,a,r,i)},_renderDayRect:function(e,t,n){for(var i=e.coordinateSystem,o=e.getModel("itemStyle").getItemStyle(),r=i.getCellWidth(),s=i.getCellHeight(),l=t.start.time;l<=t.end.time;l=i.getNextNDay(l,1).time){var u=i.dataToRect([l],!1).tl,c=new a.Rect({shape:{x:u[0],y:u[1],width:r,height:s},cursor:"default",style:o});n.add(c)}},_renderLines:function(e,t,n,i){var o=this,a=e.coordinateSystem,r=e.getModel("splitLine.lineStyle").getLineStyle(),s=e.get("splitLine.show"),l=r.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var u=t.start,c=0;u.time<=t.end.time;c++){h(u.formatedDate),0===c&&(u=a.getDateInfo(t.start.y+"-"+t.start.m));var d=u.date;d.setMonth(d.getMonth()+1),u=a.getDateInfo(d)}function h(t){o._firstDayOfMonth.push(a.getDateInfo(t)),o._firstDayPoints.push(a.dataToRect([t],!1).tl);var l=o._getLinePointsOfOneWeek(e,t,n);o._tlpoints.push(l[0]),o._blpoints.push(l[l.length-1]),s&&o._drawSplitline(l,r,i)}h(a.getNextNDay(t.end.time,1).formatedDate),s&&this._drawSplitline(o._getEdgesPoints(o._tlpoints,l,n),r,i),s&&this._drawSplitline(o._getEdgesPoints(o._blpoints,l,n),r,i)},_getEdgesPoints:function(e,t,n){var i=[e[0].slice(),e[e.length-1].slice()],o="horizontal"===n?0:1;return i[0][o]=i[0][o]-t/2,i[1][o]=i[1][o]+t/2,i},_drawSplitline:function(e,t,n){var i=new a.Polyline({z2:20,shape:{points:e},style:t});n.add(i)},_getLinePointsOfOneWeek:function(e,t,n){var i=e.coordinateSystem;t=i.getDateInfo(t);for(var o=[],a=0;a<7;a++){var r=i.getNextNDay(t.time,a),s=i.dataToRect([r.time],!1);o[2*r.day]=s.tl,o[2*r.day+1]=s["horizontal"===n?"bl":"tr"]}return o},_formatterLabel:function(e,t){return"string"==typeof e&&e?r.formatTplSimple(e,t):"function"==typeof e?e(t):t.nameMap},_yearTextPositionControl:function(e,t,n,i,o){t=t.slice();var a=["center","bottom"];"bottom"===i?(t[1]+=o,a=["center","top"]):"left"===i?t[0]-=o:"right"===i?(t[0]+=o,a=["center","top"]):t[1]-=o;var r=0;return"left"!==i&&"right"!==i||(r=Math.PI/2),{rotation:r,position:t,style:{textAlign:a[0],textVerticalAlign:a[1]}}},_renderYearText:function(e,t,n,i){var o=e.getModel("yearLabel");if(o.get("show")){var r=o.get("margin"),s=o.get("position");s||(s="horizontal"!==n?"top":"left");var l=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],u=(l[0][0]+l[1][0])/2,c=(l[0][1]+l[1][1])/2,d="horizontal"===n?0:1,h={top:[u,l[d][1]],bottom:[u,l[1-d][1]],left:[l[1-d][0],c],right:[l[d][0],c]},p=t.start.y;+t.end.y>+t.start.y&&(p=p+"-"+t.end.y);var g=o.get("formatter"),f={start:t.start.y,end:t.end.y,nameMap:p},m=this._formatterLabel(g,f),v=new a.Text({z2:30});a.setTextStyle(v.style,o,{text:m}),v.attr(this._yearTextPositionControl(v,h[s],n,s,r)),i.add(v)}},_monthTextPositionControl:function(e,t,n,i,o){var a="left",r="top",s=e[0],l=e[1];return"horizontal"===n?(l+=o,t&&(a="center"),"start"===i&&(r="bottom")):(s+=o,t&&(r="middle"),"start"===i&&(a="right")),{x:s,y:l,textAlign:a,textVerticalAlign:r}},_renderMonthText:function(e,t,n){var i=e.getModel("monthLabel");if(i.get("show")){var r=i.get("nameMap"),s=i.get("margin"),u=i.get("position"),c=i.get("align"),d=[this._tlpoints,this._blpoints];o.isString(r)&&(r=l[r.toUpperCase()]||[]);var h="start"===u?0:1,p="horizontal"===t?0:1;s="start"===u?-s:s;for(var g="center"===c,f=0;f1?(f.width=c,f.height=c/p):(f.height=c,f.width=c*p),f.y=u[1]-f.height/2,f.x=u[0]-f.width/2}else(a=e.getBoxLayoutParams()).aspect=p,f=r.getLayoutRect(a,{width:d,height:h});this.setViewRect(f.x,f.y,f.width,f.height),this.setCenter(e.get("center")),this.setZoom(e.get("zoom"))}function d(e,t){o.each(t.get("geoCoord"),(function(t,n){e.addGeoCoord(n,t)}))}var h={dimensions:a.prototype.dimensions,create:function(e,t){var n=[];e.eachComponent("geo",(function(e,i){var o=e.get("map"),r=e.get("aspectScale"),s=!0,l=u.retrieveMap(o);l&&l[0]&&"svg"===l[0].type?(null==r&&(r=1),s=!1):null==r&&(r=.75);var h=new a(o+i,o,e.get("nameMap"),s);h.aspectScale=r,h.zoomLimit=e.get("scaleLimit"),n.push(h),d(h,e),e.coordinateSystem=h,h.model=e,h.resize=c,h.resize(e,t)})),e.eachSeries((function(e){if("geo"===e.get("coordinateSystem")){var t=e.get("geoIndex")||0;e.coordinateSystem=n[t]}}));var i={};return e.eachSeriesByType("map",(function(e){if(!e.getHostGeoModel()){var t=e.getMapType();i[t]=i[t]||[],i[t].push(e)}})),o.each(i,(function(e,i){var r=o.map(e,(function(e){return e.get("nameMap")})),s=new a(i,i,o.mergeAll(r));s.zoomLimit=o.retrieve.apply(null,o.map(e,(function(e){return e.get("scaleLimit")}))),n.push(s),s.resize=c,s.aspectScale=e[0].get("aspectScale"),s.resize(e[0],t),o.each(e,(function(e){e.coordinateSystem=s,d(s,e)}))})),n},getFilledRegions:function(e,t,n){for(var i=(e||[]).slice(),a=o.createHashMap(),r=0;ri)return!1;return!0}(s,t))){var l=t.mapDimension(s.dim),u={};return i.each(s.getViewLabels(),(function(e){u[e.tickValue]=1})),function(e){return!u.hasOwnProperty(t.get(l,e))}}}}function I(e,t,n){if("cartesian2d"===e.type){var i=e.getBaseAxis().isHorizontal(),o=y(e,t,n);if(!n.get("clip",!0)){var a=o.shape,r=Math.max(a.width,a.height);i?(a.y-=r,a.height+=2*r):(a.x-=r,a.width+=2*r)}return o}return x(e,t,n)}var A=p.extend({type:"line",init:function(){var e=new l.Group,t=new a;this.group.add(t.group),this._symbolDraw=t,this._lineGroup=e},render:function(e,t,n){var o=e.coordinateSystem,a=this.group,r=e.getData(),s=e.getModel("lineStyle"),u=e.getModel("areaStyle"),c=r.mapArray(r.getItemLayout),d="polar"===o.type,h=this._coordSys,p=this._symbolDraw,g=this._polyline,v=this._polygon,y=this._lineGroup,x=e.get("animation"),b=!u.isEmpty(),A=u.get("origin"),T=function(e,t,n){if(!n.valueDim)return[];for(var i=[],o=0,a=t.count();o=0;r--){var s=n[r].dimension,u=e.dimensions[s],c=e.getDimensionInfo(u);if("x"===(o=c&&c.coordDim)||"y"===o){a=n[r];break}}if(a){var d=t.getAxis(o),h=i.map(a.stops,(function(e){return{coord:d.toGlobalCoord(d.dataToCoord(e.value)),color:e.color}})),p=h.length,g=a.outerColors.slice();p&&h[0].coord>h[p-1].coord&&(h.reverse(),g.reverse());var f=h[0].coord-10,m=h[p-1].coord+10,v=m-f;if(v<.001)return"transparent";i.each(h,(function(e){e.offset=(e.coord-f)/v})),h.push({offset:p?h[p-1].offset:.5,color:g[1]||"transparent"}),h.unshift({offset:p?h[0].offset:.5,color:g[0]||"transparent"});var y=new l.LinearGradient(0,0,0,0,h,!0);return y[o]=f,y[o+"2"]=m,y}}}(r,o)||r.getVisual("color");g.useStyle(i.defaults(s.getLineStyle(),{fill:"none",stroke:N,lineJoin:"bevel"}));var E=e.get("smooth");if(E=S(e.get("smooth")),g.setShape({smooth:E,smoothMonotone:e.get("smoothMonotone"),connectNulls:e.get("connectNulls")}),v){var O=r.getCalculationInfo("stackedOnSeries"),R=0;v.useStyle(i.defaults(u.getAreaStyle(),{fill:N,opacity:.7,lineJoin:"bevel"})),O&&(R=S(O.get("smooth"))),v.setShape({smooth:E,stackedOnSmooth:R,smoothMonotone:e.get("smoothMonotone"),connectNulls:e.get("connectNulls")})}this._data=r,this._coordSys=o,this._stackedOnPoints=T,this._points=c,this._step=k,this._valueOrigin=A},dispose:function(){},highlight:function(e,t,n,i){var o=e.getData(),a=u.queryDataIndex(o,i);if(!(a instanceof Array)&&null!=a&&a>=0){var s=o.getItemGraphicEl(a);if(!s){var l=o.getItemLayout(a);if(!l)return;if(this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(l[0],l[1]))return;(s=new r(o,a)).position=l,s.setZ(e.get("zlevel"),e.get("z")),s.ignore=isNaN(l[0])||isNaN(l[1]),s.__temp=!0,o.setItemGraphicEl(a,s),s.stopSymbolAnimation(!0),this.group.add(s)}s.highlight()}else p.prototype.highlight.call(this,e,t,n,i)},downplay:function(e,t,n,i){var o=e.getData(),a=u.queryDataIndex(o,i);if(null!=a&&a>=0){var r=o.getItemGraphicEl(a);r&&(r.__temp?(o.setItemGraphicEl(a,null),this.group.remove(r)):r.downplay())}else p.prototype.downplay.call(this,e,t,n,i)},_newPolyline:function(e){var t=this._polyline;return t&&this._lineGroup.remove(t),t=new d({shape:{points:e},silent:!0,z2:10}),this._lineGroup.add(t),this._polyline=t,t},_newPolygon:function(e,t){var n=this._polygon;return n&&this._lineGroup.remove(n),n=new h({shape:{points:e,stackedOnPoints:t},silent:!0}),this._lineGroup.add(n),this._polygon=n,n},_updateAnimation:function(e,t,n,i,o,a){var r=this._polyline,u=this._polygon,c=e.hostModel,d=s(this._data,e,this._stackedOnPoints,t,this._coordSys,n,this._valueOrigin,a),h=d.current,p=d.stackedOnCurrent,g=d.next,f=d.stackedOnNext;if(o&&(h=w(d.current,n,o),p=w(d.stackedOnCurrent,n,o),g=w(d.next,n,o),f=w(d.stackedOnNext,n,o)),b(h,g)>3e3||u&&b(p,f)>3e3)return r.setShape({points:g}),void(u&&u.setShape({points:g,stackedOnPoints:f}));r.shape.__points=d.current,r.shape.points=h,l.updateProps(r,{shape:{points:g}},c),u&&(u.setShape({points:h,stackedOnPoints:p}),l.updateProps(u,{shape:{points:g,stackedOnPoints:f}},c));for(var m=[],v=d.status,y=0;y0?i.push([n[0].date,n[0].contributions]):i.push([t,0])},a=t;a<=n;a+=864e5)o();return i}function x(e){var t=new Date(e);return t.getFullYear()+"-"+((t.getMonth()+1<10?"0"+(t.getMonth()+1):t.getMonth()+1)+"-")+(t.getDate()<10?"0"+t.getDate():t.getDate())}return(0,o.useEffect)((function(){if(n){var e=void 0,t="";if(parseInt(n,0)===parseInt((0,s.default)().get("year"),0)){var i=(0,s.default)().get("year"),o=(0,s.default)().get("month"),a=(0,s.default)().get("date");e=i+"-"+(o+1)+"-"+a,t=i-1+"-"+(o+1)+"-"+a}else e=n+"-12-31",t=n+"-01-01";p(e),v(t)}}),[n]),(0,o.useEffect)((function(){var e;m&&h&&(e="/users/"+t+"/headmaps.json",l.default.get(e).then((function(e){if(e&&e.data){var t=[],n=!0;e.data.headmaps&&e.data.headmaps.length>0?(t=e.data.headmaps,n=!0):(t=[{contributions:"",date:x(+r.number.parseDate(m))}],n=!1),t.sort((i="contributions",function(e,t){return e[i]-t[i]})),function(e,t,n){var i=document.getElementById("Calendar"),o=r.init(i),a={title:{show:!1},tooltip:{formatter:function(e){return e.data[0]+": "+e.data[1]+"个贡献"}},visualMap:{min:0,max:t,type:"piecewise",orient:"horizontal",left:"center",bottom:40,inRange:{color:n?["#fafafa","#216e39"]:["#fff","#fff"]},show:n},calendar:{top:50,left:40,right:30,cellSize:["auto",13],range:[m,h],splitLine:{show:!1,lineStyle:{color:"#fff",width:1,type:"solid"}},itemStyle:{borderWidth:.5},yearLabel:{show:!1},monthLabel:{nameMap:"cn"},dayLabel:{nameMap:"cn",firstDay:1}},series:{type:"heatmap",coordinateSystem:"calendar",data:y(e)}};o.setOption(a),o.on("click",(function(e){u(e.data)}))}(t,t[t.length-1].contributions,n)}var i})).catch((function(e){})))}),[m,h]),a.default.createElement("div",{id:"Calendar",style:{height:"210px"}})}},"8nMs":function(e,t,n){var i=n("bYtY"),o=n("IwbS"),a=n("+rIm"),r=n("Znkb"),s=n("AVZG"),l=n("WN+l"),u=l.rectCoordAxisBuildSplitArea,c=l.rectCoordAxisHandleRemove,d=["axisLine","axisTickLabel","axisName"],h=["splitArea","splitLine","minorSplitLine"],p=r.extend({type:"cartesianAxis",axisPointerClass:"CartesianAxisPointer",render:function(e,t,n,r){this.group.removeAll();var l=this._axisGroup;if(this._axisGroup=new o.Group,this.group.add(this._axisGroup),e.get("show")){var u=e.getCoordSysModel(),c=s.layout(u,e),g=new a(e,c);i.each(d,g.add,g),this._axisGroup.add(g.getGroup()),i.each(h,(function(t){e.get(t+".show")&&this["_"+t](e,u)}),this),o.groupTransition(l,this._axisGroup,e),p.superCall(this,"render",e,t,n,r)}},remove:function(){c(this)},_splitLine:function(e,t){var n=e.axis;if(!n.scale.isBlank()){var a=e.getModel("splitLine"),r=a.getModel("lineStyle"),s=r.get("color");s=i.isArray(s)?s:[s];for(var l=t.coordinateSystem.getRect(),u=n.isHorizontal(),c=0,d=n.getTicksCoords({tickModel:a}),h=[],p=[],g=r.getLineStyle(),f=0;f5)return;var i=this._model.coordinateSystem.getSlidedAxisExpandWindow([e.offsetX,e.offsetY]);"none"!==i.behavior&&this._dispatchExpand({axisExpandWindow:i.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(e){if(!this._mouseDownPoint&&l(this,"mousemove")){var t=this._model,n=t.coordinateSystem.getSlidedAxisExpandWindow([e.offsetX,e.offsetY]),i=n.behavior;"jump"===i&&this._throttledDispatchExpand.debounceNextCall(t.get("axisExpandDebounce")),this._throttledDispatchExpand("none"===i?null:{axisExpandWindow:n.axisExpandWindow,animation:"jump"===i&&null})}}};function l(e,t){var n=e._model;return n.get("axisExpandable")&&n.get("axisExpandTriggerOn")===t}i.registerPreprocessor(r)},"8x+h":function(e,t,n){n("Tghj").__DEV__;var i=n("ProS"),o=n("bYtY"),a=n("K4ya"),r=n("Qxkt"),s=["#ddd"];function l(e,t){return o.merge({brushType:e.brushType,brushMode:e.brushMode,transformable:e.transformable,brushStyle:new r(e.brushStyle).getItemStyle(),removeOnClick:e.removeOnClick,z:e.z},t,!0)}var u=i.extendComponentModel({type:"brush",dependencies:["geo","grid","xAxis","yAxis","parallel","series"],defaultOption:{toolbox:null,brushLink:null,seriesIndex:"all",geoIndex:null,xAxisIndex:null,yAxisIndex:null,brushType:"rect",brushMode:"single",transformable:!0,brushStyle:{borderWidth:1,color:"rgba(120,140,180,0.3)",borderColor:"rgba(120,140,180,0.8)"},throttleType:"fixRate",throttleDelay:0,removeOnClick:!0,z:1e4},areas:[],brushType:null,brushOption:{},coordInfoList:[],optionUpdated:function(e,t){var n=this.option;!t&&a.replaceVisualOption(n,e,["inBrush","outOfBrush"]);var i=n.inBrush=n.inBrush||{};n.outOfBrush=n.outOfBrush||{color:s},i.hasOwnProperty("liftZ")||(i.liftZ=5)},setAreas:function(e){e&&(this.areas=o.map(e,(function(e){return l(this.option,e)}),this))},setBrushOption:function(e){this.brushOption=l(this.option,e),this.brushType=this.brushOption.brushType}});e.exports=u},"9KIM":function(e,t,n){var i=n("mFDi"),o=n("xSat").onIrrelevantElement,a=n("IwbS");function r(e){return i.create(e)}t.makeRectPanelClipPath=function(e){return e=r(e),function(t,n){return a.clipPointsByRect(t,e)}},t.makeLinearBrushOtherExtent=function(e,t){return e=r(e),function(n){var i=null!=t?t:n,o=i?e.width:e.height,a=i?e.x:e.y;return[a,a+(o||0)]}},t.makeRectIsTargetByCursor=function(e,t,n){return e=r(e),function(i,a,r){return e.contain(a[0],a[1])&&!o(i,t,n)}}},"9eas":function(e,t,n){n("HM/N"),n("tBnm")},"9hCq":function(e,t,n){var i=n("IwbS"),o=n("+TT/"),a=n("bYtY"),r=n("VaxA").wrapTreePathInfo;function s(e){this.group=new i.Group,e.add(this.group)}function l(e,t,n,i,o,a){var r=[[o?e:e-5,t],[e+n,t],[e+n,t+i],[o?e:e-5,t+i]];return!a&&r.splice(2,0,[e+n+5,t+i/2]),!o&&r.push([e,t+i/2]),r}function u(e,t,n){e.eventData={componentType:"series",componentSubType:"treemap",componentIndex:t.componentIndex,seriesIndex:t.componentIndex,seriesName:t.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:n&&n.dataIndex,name:n&&n.name},treePathInfo:n&&r(n,t)}}s.prototype={constructor:s,render:function(e,t,n,i){var a=e.getModel("breadcrumb"),r=this.group;if(r.removeAll(),a.get("show")&&n){var s=a.getModel("itemStyle"),l=s.getModel("textStyle"),u={pos:{left:a.get("left"),right:a.get("right"),top:a.get("top"),bottom:a.get("bottom")},box:{width:t.getWidth(),height:t.getHeight()},emptyItemWidth:a.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(n,u,l),this._renderContent(e,u,s,l,i),o.positionElement(r,u.pos,u.box)}},_prepare:function(e,t,n){for(var i=e;i;i=i.parentNode){var o=i.getModel().get("name"),a=n.getTextRect(o),r=Math.max(a.width+16,t.emptyItemWidth);t.totalWidth+=r+8,t.renderList.push({node:i,text:o,width:r})}},_renderContent:function(e,t,n,r,s){for(var c=0,d=t.emptyItemWidth,h=e.get("breadcrumb.height"),p=o.getAvailableSize(t.pos,t.box),g=t.totalWidth,f=t.renderList,m=f.length-1;m>=0;m--){var v=f[m],y=v.node,x=v.width,_=v.text;g>p.width&&(g-=x-d,x=d,_=null);var b=new i.Polygon({shape:{points:l(c,0,x,h,m===f.length-1,0===m)},style:a.defaults(n.getItemStyle(),{lineJoin:"bevel",text:_,textFill:r.getTextColor(),textFont:r.getFont()}),z:10,onclick:a.curry(s,y)});this.group.add(b),u(b,e,y),c+=x+8}},remove:function(){this.group.removeAll()}};var c=s;e.exports=c},"9u0u":function(e,t,n){var i=n("bYtY");e.exports=function(e){var t={};e.eachSeriesByType("map",(function(e){var n=e.getHostGeoModel(),i=n?"o"+n.id:"i"+e.getMapType();(t[i]=t[i]||[]).push(e)})),i.each(t,(function(e,t){for(var n,o,a,r=(n=i.map(e,(function(e){return e.getData()})),o=e[0].get("mapValueCalculation"),a={},i.each(n,(function(e){e.each(e.mapDimension("value"),(function(t,n){var i="ec-"+e.getName(n);a[i]=a[i]||[],isNaN(t)||a[i].push(t)}))})),n[0].map(n[0].mapDimension("value"),(function(e,t){for(var i,r="ec-"+n[0].getName(t),s=0,l=1/0,u=-1/0,c=a[r].length,d=0;dt&&(t=i.height)}this.height=t+1},getNodeById:function(e){if(this.getId()===e)return this;for(var t=0,n=this.children,i=n.length;t=0&&this.hostTree.data.setItemLayout(this.dataIndex,e,t)},getLayout:function(){return this.hostTree.data.getItemLayout(this.dataIndex)},getModel:function(e){if(!(this.dataIndex<0))return this.hostTree.data.getItemModel(this.dataIndex).getModel(e)},setVisual:function(e,t){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,e,t)},getVisual:function(e,t){return this.hostTree.data.getItemVisual(this.dataIndex,e,t)},getRawIndex:function(){return this.hostTree.data.getRawIndex(this.dataIndex)},getId:function(){return this.hostTree.data.getId(this.dataIndex)},isAncestorOf:function(e){for(var t=e.parentNode;t;){if(t===this)return!0;t=t.parentNode}return!1},isDescendantOf:function(e){return e!==this&&e.isAncestorOf(this)}},l.prototype={constructor:l,type:"tree",eachNode:function(e,t,n){this.root.eachNode(e,t,n)},getNodeByDataIndex:function(e){var t=this.data.getRawIndex(e);return this._nodes[t]},getNodeByName:function(e){return this.root.getNodeByName(e)},update:function(){for(var e=this.data,t=this._nodes,n=0,i=t.length;n0?"pieces":this.option.categories?"categories":"splitNumber"},setSelected:function(e){this.option.selected=i.clone(e)},getValueState:function(e){var t=a.findPieceIndex(e,this._pieceList);return null!=t&&this.option.selected[this.getSelectedMapKey(this._pieceList[t])]?"inRange":"outOfRange"},findTargetDataIndices:function(e){var t=[];return this.eachTargetSeries((function(n){var i=[],o=n.getData();o.each(this.getDataDimension(o),(function(t,n){a.findPieceIndex(t,this._pieceList)===e&&i.push(n)}),this),t.push({seriesId:n.id,dataIndex:i})}),this),t},getRepresentValue:function(e){var t;if(this.isCategory())t=e.value;else if(null!=e.value)t=e.value;else{var n=e.interval||[];t=n[0]===-1/0&&n[1]===1/0?0:(n[0]+n[1])/2}return t},getVisualMeta:function(e){if(!this.isCategory()){var t=[],n=[],o=this,a=this._pieceList.slice();if(a.length){var r=a[0].interval[0];r!==-1/0&&a.unshift({interval:[-1/0,r]}),(r=a[a.length-1].interval[1])!==1/0&&a.push({interval:[r,1/0]})}else a.push({interval:[-1/0,1/0]});var s=-1/0;return i.each(a,(function(e){var t=e.interval;t&&(t[0]>s&&l([s,t[0]],"outOfRange"),l(t.slice()),s=t[1])}),this),{stops:t,outerColors:n}}function l(i,a){var r=o.getRepresentValue({interval:i});a||(a=o.getValueState(r));var s=e(r,a);i[0]===-1/0?n[0]=s:i[1]===1/0?n[1]=s:t.push({value:i[0],color:s},{value:i[1],color:s})}}}),u={splitNumber:function(){var e=this.option,t=this._pieceList,n=Math.min(e.precision,20),o=this.getExtent(),a=e.splitNumber;a=Math.max(parseInt(a,10),1),e.splitNumber=a;for(var r=(o[1]-o[0])/a;+r.toFixed(n)!==r&&n<5;)n++;e.precision=n,r=+r.toFixed(n),e.minOpen&&t.push({interval:[-1/0,o[0]],close:[0,0]});for(var l=0,u=o[0];l","≥"][t[0]]];e.text=e.text||this.formatValueText(null!=e.value?e.value:e.interval,!1,n)}),this)}};function c(e,t){var n=e.inverse;("vertical"===e.orient?!n:n)&&t.reverse()}var d=l;e.exports=d},C0tN:function(e,t,n){n("0o9m"),n("8Uz6"),n("Ducp"),n("6/nd")},CBdT:function(e,t,n){var i=n("ProS");n("8waO"),n("AEZ6"),n("YNf1");var o=n("q3GZ");i.registerVisual(o)},CF2D:function(e,t,n){var i=n("ProS");n("vZI5"),n("GeKi");var o=n("6r85"),a=n("TJmX"),r=n("CbHG");i.registerPreprocessor(o),i.registerVisual(a),i.registerLayout(r)},"CMP+":function(e,t,n){var i=n("bYtY"),o=n("hM6l"),a=function(e,t,n,i){o.call(this,e,t,n),this.type=i||"value",this.model=null};a.prototype={constructor:a,getLabelModel:function(){return this.model.getModel("label")},isHorizontal:function(){return"horizontal"===this.model.get("orient")}},i.inherits(a,o);var r=a;e.exports=r},CPca:function(e,t,n){},CbHG:function(e,t,n){var i=n("IwbS").subPixelOptimize,o=n("zM3Q"),a=n("OELB").parsePercent,r=n("bYtY").retrieve2,s="undefined"!=typeof Float32Array?Float32Array:Array,l={seriesType:"candlestick",plan:o(),reset:function(e){var t=e.coordinateSystem,n=e.getData(),o=function(e,t){var n,i=e.getBaseAxis(),o="category"===i.type?i.getBandWidth():(n=i.getExtent(),Math.abs(n[1]-n[0])/t.count()),s=a(r(e.get("barMaxWidth"),o),o),l=a(r(e.get("barMinWidth"),1),o),u=e.get("barWidth");return null!=u?a(u,o):Math.max(Math.min(o/2,s),l)}(e,n),l=["x","y"],c=n.mapDimension(l[0]),d=n.mapDimension(l[1],!0),h=d[0],p=d[1],g=d[2],f=d[3];if(n.setLayout({candleWidth:o,isSimpleBox:o<=1.3}),!(null==c||d.length<4))return{progress:e.pipelineContext.large?function(e,n){var i,o,a=new s(4*e.count),r=0,l=[],d=[];for(;null!=(o=e.next());){var m=n.get(c,o),v=n.get(h,o),y=n.get(p,o),x=n.get(g,o),_=n.get(f,o);isNaN(m)||isNaN(x)||isNaN(_)?(a[r++]=NaN,r+=3):(a[r++]=u(n,o,v,y,p),l[0]=m,l[1]=x,i=t.dataToPoint(l,null,d),a[r++]=i?i[0]:NaN,a[r++]=i?i[1]:NaN,l[1]=_,i=t.dataToPoint(l,null,d),a[r++]=i?i[1]:NaN)}n.setLayout("largePoints",a)}:function(e,n){var a;for(;null!=(a=e.next());){var r=n.get(c,a),s=n.get(h,a),l=n.get(p,a),d=n.get(g,a),m=n.get(f,a),v=Math.min(s,l),y=Math.max(s,l),x=M(v,r),_=M(y,r),b=M(d,r),S=M(m,r),w=[];I(w,_,0),I(w,x,1),w.push(T(S),T(_),T(b),T(x)),n.setItemLayout(a,{sign:u(n,a,s,l,p),initBaseline:s>l?_[1]:x[1],ends:w,brushRect:A(d,m,r)})}function M(e,n){var i=[];return i[0]=n,i[1]=e,isNaN(n)||isNaN(e)?[NaN,NaN]:t.dataToPoint(i)}function I(e,t,n){var a=t.slice(),r=t.slice();a[0]=i(a[0]+o/2,1,!1),r[0]=i(r[0]-o/2,1,!0),n?e.push(a,r):e.push(r,a)}function A(e,t,n){var i=M(e,n),a=M(t,n);return i[0]-=o/2,a[0]-=o/2,{x:i[0],y:i[1],width:o,height:a[1]-i[1]}}function T(e){return e[0]=i(e[0],1),e}}}}};function u(e,t,n,i,o){return n>i?-1:n0?e.get(o,t-1)<=i?1:-1:1}e.exports=l},Cm0C:function(e,t,n){n("5NHt"),n("f3JH")},D1WM:function(e,t,n){var i=n("bYtY"),o=n("hM6l"),a=function(e,t,n,i,a){o.call(this,e,t,n),this.type=i||"value",this.axisIndex=a};a.prototype={constructor:a,model:null,isHorizontal:function(){return"horizontal"!==this.coordinateSystem.getModel().get("layout")}},i.inherits(a,o);var r=a;e.exports=r},D5tj:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=a(n("mr32"));t.TagInfo=function(e,t){var n="#e74c3c";n="高"===e?"#e67e22":"正常"===e?"#28be6c":"低"===e?"#1abc9c":"#e74c3c";return o.default.createElement(i.default,{color:n,className:t,style:{height:"25px",lineHeight:"23px"}},e)},n("0lcf");var o=a(n("q1tI"));function a(e){return e&&e.__esModule?e:{default:e}}},D9ME:function(e,t,n){var i=n("IwbS"),o=n("fls0"),a=n("bYtY"),r=n("oVpE").createSymbol,s=n("QBsz"),l=n("Sj9i");function u(e,t,n){i.Group.call(this),this.add(this.createLine(e,t,n)),this._updateEffectSymbol(e,t)}var c=u.prototype;c.createLine=function(e,t,n){return new o(e,t,n)},c._updateEffectSymbol=function(e,t){var n=e.getItemModel(t).getModel("effect"),i=n.get("symbolSize"),o=n.get("symbol");a.isArray(i)||(i=[i,i]);var s=n.get("color")||e.getItemVisual(t,"color"),l=this.childAt(1);this._symbolType!==o&&(this.remove(l),(l=r(o,-.5,-.5,1,1,s)).z2=100,l.culling=!0,this.add(l)),l&&(l.setStyle("shadowColor",s),l.setStyle(n.getItemStyle(["color"])),l.attr("scale",i),l.setColor(s),l.attr("scale",i),this._symbolType=o,this._symbolScale=i,this._updateEffectAnimation(e,n,t))},c._updateEffectAnimation=function(e,t,n){var i=this.childAt(1);if(i){var o=this,r=e.getItemLayout(n),s=1e3*t.get("period"),l=t.get("loop"),u=t.get("constantSpeed"),c=a.retrieve(t.get("delay"),(function(t){return t/e.count()*s/3})),d="function"==typeof c;if(i.ignore=!0,this.updateAnimationPoints(i,r),u>0&&(s=this.getLineLength(i)/u*1e3),s!==this._period||l!==this._loop){i.stopAnimation();var h=c;d&&(h=c(n)),i.__t>0&&(h=-s*i.__t),i.__t=0;var p=i.animate("",l).when(s,{__t:1}).delay(h).during((function(){o.updateSymbolPosition(i)}));l||p.done((function(){o.remove(i)})),p.start()}this._period=s,this._loop=l}},c.getLineLength=function(e){return s.dist(e.__p1,e.__cp1)+s.dist(e.__cp1,e.__p2)},c.updateAnimationPoints=function(e,t){e.__p1=t[0],e.__p2=t[1],e.__cp1=t[2]||[(t[0][0]+t[1][0])/2,(t[0][1]+t[1][1])/2]},c.updateData=function(e,t,n){this.childAt(0).updateData(e,t,n),this._updateEffectSymbol(e,t)},c.updateSymbolPosition=function(e){var t=e.__p1,n=e.__p2,i=e.__cp1,o=e.__t,a=e.position,r=[a[0],a[1]],u=l.quadraticAt,c=l.quadraticDerivativeAt;a[0]=u(t[0],i[0],n[0],o),a[1]=u(t[1],i[1],n[1],o);var d=c(t[0],i[0],n[0],o),h=c(t[1],i[1],n[1],o);if(e.rotation=-Math.atan2(h,d)-Math.PI/2,"line"===this._symbolType||"rect"===this._symbolType||"roundRect"===this._symbolType)if(void 0!==e.__lastT&&e.__lastT=a&&c+1>=r){for(var d=[],h=0;h=a&&h+1>=r)return i(o,l.components,t,e);u[n]=l}else u[n]=void 0}var f;s++}for(;s<=l;){var g=p();if(g)return g}},pushComponent:function(e,t,n){var i=e[e.length-1];i&&i.added===t&&i.removed===n?e[e.length-1]={count:i.count+1,added:t,removed:n}:e.push({count:1,added:t,removed:n})},extractCommon:function(e,t,n,i){for(var o=t.length,a=n.length,r=e.newPos,s=r-i,l=0;r+1a&&(a=t);var s=a%2?a+2:a+3;r=[];for(var l=0;l=0)&&(N=e);var O=new s.Text({position:D(t.center.slice()),scale:[1/f.scale[0],1/f.scale[1]],z2:10,silent:!0});if(s.setLabelStyle(O.style,O.hoverStyle={},y,x,{labelFetcher:N,labelDataIndex:E,defaultText:t.name,useInsideStyle:!1},{textAlign:"center",textVerticalAlign:"middle"}),!v){var R=[1/p[0],1/p[1]];s.updateProps(O,{scale:R},e)}n.add(O)}if(l)l.setItemGraphicEl(a,n);else{var V=e.getRegionModel(t.name);o.eventData={componentType:"geo",componentIndex:e.componentIndex,geoIndex:e.componentIndex,name:t.name,region:V&&V.option||{}}}(n.__regions||(n.__regions=[])).push(t),n.highDownSilentOnTouch=!!e.get("selectedMode"),s.setHoverStyle(n,m),g.add(n)})),this._updateController(e,t,n),function(e,t,n,o,a){n.off("click"),n.off("mousedown"),t.get("selectedMode")&&(n.on("mousedown",(function(){e._mouseDownFlag=!0})),n.on("click",(function(r){if(e._mouseDownFlag){e._mouseDownFlag=!1;for(var s=r.target;!s.__regions;)s=s.parent;if(s){var l={type:("geo"===t.mainType?"geo":"map")+"ToggleSelect",batch:i.map(s.__regions,(function(e){return{name:e.name,from:a.uid}}))};l[t.mainType+"Id"]=t.id,o.dispatchAction(l),h(t,n)}}})))}(this,e,g,n,o),h(e,g)},remove:function(){this._regionsGroup.removeAll(),this._backgroundGroup.removeAll(),this._controller.dispose(),this._mapName&&l.removeGraphic(this._mapName,this.uid),this._mapName=null,this._controllerHost={}},_updateBackground:function(e){var t=e.map;this._mapName!==t&&i.each(l.makeGraphic(t,this.uid),(function(e){this._backgroundGroup.add(e)}),this),this._mapName=t},_updateController:function(e,t,n){var o=e.coordinateSystem,s=this._controller,l=this._controllerHost;l.zoomLimit=e.get("scaleLimit"),l.zoom=o.getZoom(),s.enable(e.get("roam")||!1);var u=e.mainType;function c(){var t={type:"geoRoam",componentType:u};return t[u+"Id"]=e.id,t}s.off("pan").on("pan",(function(e){this._mouseDownFlag=!1,a.updateViewOnPan(l,e.dx,e.dy),n.dispatchAction(i.extend(c(),{dx:e.dx,dy:e.dy}))}),this),s.off("zoom").on("zoom",(function(e){if(this._mouseDownFlag=!1,a.updateViewOnZoom(l,e.scale,e.originX,e.originY),n.dispatchAction(i.extend(c(),{zoom:e.scale,originX:e.originX,originY:e.originY})),this._updateGroup){var t=this.group.scale;this._regionsGroup.traverse((function(e){"text"===e.type&&e.attr("scale",[1/t[0],1/t[1]])}))}}),this),s.setPointerChecker((function(t,i,a){return o.getViewRectAfterRoam().contain(i,a)&&!r(t,n,e)}))}};var g=p;e.exports=g},Dg8C:function(e,t,n){var i=n("XxSj"),o=n("bYtY");e.exports=function(e,t){e.eachSeriesByType("sankey",(function(e){var t=e.getGraph().nodes;if(t.length){var n=1/0,a=-1/0;o.each(t,(function(e){var t=e.getLayout().value;ta&&(a=t)})),o.each(t,(function(t){var o=new i({type:"color",mappingMethod:"linear",dataExtent:[n,a],visual:e.get("color")}).mapValueToVisual(t.getLayout().value),r=t.getModel().get("itemStyle.color");null!=r?t.setVisual("color",r):t.setVisual("color",o)}))}}))}},Dmw4:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=v(n("NUBc")),o=v(n("2fM7")),a=Object.assign||function(e){for(var t=1;t=parseInt(e,0);n--)t.push(n);O(t)}}),[Z]),(0,s.useEffect)((function(){var e;e="/users/"+F+"/project_trends.json",f.default.get(e,{params:{date:z,limit:5,page:v}}).then((function(e){e&&e.data&&(T(e.data.project_trends),w(e.data.total_count))})).catch((function(e){}))}),[z,v]),(0,s.useEffect)((function(){var e;e="/users/"+F+"/statistics/activity.json",f.default.get(e).then((function(e){e&&e.data&&W(e.data)})).catch((function(e){}))}),[]),l.default.createElement("div",null,l.default.createElement("div",null,l.default.createElement(h.default,a({},e,{userLogin:F,current:j&&j.login===F}))),l.default.createElement("div",{className:"recentStatic"},l.default.createElement("p",{className:"font-18 mb15"},"近期活动统计"),l.default.createElement("div",{className:"echartBox"},l.default.createElement(c.default,{data:H}))),l.default.createElement("div",{className:"calendarStatic"},l.default.createElement(u.FlexAJ,{style:{marginBottom:"15px"}},l.default.createElement("span",{className:"font-18"},"贡献度"),l.default.createElement(o.default,{style:{width:"200px"},placeholder:"选择年份",value:L,onSelect:function(e){P(e),B(void 0)}},E&&E.map((function(e,t){return l.default.createElement(y,{key:e},e)})))),l.default.createElement("div",{className:"echartBox"},l.default.createElement(d.default,{time:L,userLogin:F,chooseTime:function(e){e&&(x(1),B(e[0]))}}))),l.default.createElement("div",{className:"activeStatic"},l.default.createElement("span",{className:"font-18"},"动态"),A&&A.length>0&&l.default.createElement(p.default,{list:A}),A&&0===A.length&&l.default.createElement(m.default,{_html:"暂无动态"}),S>5&&l.default.createElement("div",{style:{textAlign:"center",paddingBottom:"30px"}},l.default.createElement(i.default,{pageSize:5,current:v,total:S,onChange:function(e){return x(e)}}))))}},Ducp:function(e,t,n){var i=n("bYtY"),o=n("IwbS"),a=n("+TT/"),r=n("XpcN"),s=o.Group,l=["width","height"],u=["x","y"],c=r.extend({type:"legend.scroll",newlineDisabled:!0,init:function(){c.superCall(this,"init"),this._currentIndex=0,this.group.add(this._containerGroup=new s),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new s),this._showController},resetInner:function(){c.superCall(this,"resetInner"),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},renderInner:function(e,t,n,a,r,s,l){var u=this;c.superCall(this,"renderInner",e,t,n,a,r,s,l);var d=this._controllerGroup,h=t.get("pageIconSize",!0);i.isArray(h)||(h=[h,h]),g("pagePrev",0);var p=t.getModel("pageTextStyle");function g(e,n){var r=e+"DataIndex",s=o.createIcon(t.get("pageIcons",!0)[t.getOrient().name][n],{onclick:i.bind(u._pageGo,u,r,t,a)},{x:-h[0]/2,y:-h[1]/2,width:h[0],height:h[1]});s.name=e,d.add(s)}d.add(new o.Text({name:"pageText",style:{textFill:p.getTextColor(),font:p.getFont(),textVerticalAlign:"middle",textAlign:"center"},silent:!0})),g("pageNext",1)},layoutInner:function(e,t,n,o,r,s){var c=this.getSelectorGroup(),d=e.getOrient().index,h=l[d],p=u[d],g=l[1-d],f=u[1-d];r&&a.box("horizontal",c,e.get("selectorItemGap",!0));var m=e.get("selectorButtonGap",!0),v=c.getBoundingRect(),y=[-v.x,-v.y],x=i.clone(n);r&&(x[h]=n[h]-v[h]-m);var _=this._layoutContentAndController(e,o,x,d,h,g,f);if(r){if("end"===s)y[d]+=_[h]+m;else{var b=v[h]+m;y[d]-=b,_[p]-=b}_[h]+=v[h]+m,y[1-d]+=_[f]+_[g]/2-v[g]/2,_[g]=Math.max(_[g],v[g]),_[f]=Math.min(_[f],v[f]+y[1-d]),c.attr("position",y)}return _},_layoutContentAndController:function(e,t,n,r,s,l,u){var c=this.getContentGroup(),d=this._containerGroup,h=this._controllerGroup;a.box(e.get("orient"),c,e.get("itemGap"),r?n.width:null,r?null:n.height),a.box("horizontal",h,e.get("pageButtonItemGap",!0));var p=c.getBoundingRect(),g=h.getBoundingRect(),f=this._showController=p[s]>n[s],m=[-p.x,-p.y];t||(m[r]=c.position[r]);var v=[0,0],y=[-g.x,-g.y],x=i.retrieve2(e.get("pageButtonGap",!0),e.get("itemGap",!0));f&&("end"===e.get("pageButtonPosition",!0)?y[r]+=n[s]-g[s]:v[r]+=g[s]+x);y[1-r]+=p[l]/2-g[l]/2,c.attr("position",m),d.attr("position",v),h.attr("position",y);var _={x:0,y:0};if(_[s]=f?n[s]:p[s],_[l]=Math.max(p[l],g[l]),_[u]=Math.min(0,g[u]+y[1-r]),d.__rectSize=n[s],f){var b={x:0,y:0};b[s]=Math.max(n[s]-g[s]-x,0),b[l]=_[l],d.setClipPath(new o.Rect({shape:b})),d.__rectSize=b[s]}else h.eachChild((function(e){e.attr({invisible:!0,silent:!0})}));var S=this._getPageInfo(e);return null!=S.pageIndex&&o.updateProps(c,{position:S.contentPosition},!!f&&e),this._updatePageInfoView(e,S),_},_pageGo:function(e,t,n){var i=this._getPageInfo(t)[e];null!=i&&n.dispatchAction({type:"legendScroll",scrollDataIndex:i,legendId:t.id})},_updatePageInfoView:function(e,t){var n=this._controllerGroup;i.each(["pagePrev","pageNext"],(function(i){var o=null!=t[i+"DataIndex"],a=n.childOfName(i);a&&(a.setStyle("fill",o?e.get("pageIconColor",!0):e.get("pageIconInactiveColor",!0)),a.cursor=o?"pointer":"default")}));var o=n.childOfName("pageText"),a=e.get("pageFormatter"),r=t.pageIndex,s=null!=r?r+1:0,l=t.pageCount;o&&a&&o.setStyle("text",i.isString(a)?a.replace("{current}",s).replace("{total}",l):a({current:s,total:l}))},_getPageInfo:function(e){var t=e.get("scrollDataIndex",!0),n=this.getContentGroup(),i=this._containerGroup.__rectSize,o=e.getOrient().index,a=l[o],r=u[o],s=this._findTargetItemIndex(t),c=n.children(),d=c[s],h=c.length,p=h?1:0,g={contentPosition:n.position.slice(),pageCount:p,pageIndex:p-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!d)return g;var f=_(d);g.contentPosition[o]=-f.s;for(var m=s+1,v=f,y=f,x=null;m<=h;++m)(!(x=_(c[m]))&&y.e>v.s+i||x&&!b(x,v.s))&&(v=y.i>v.i?y:x)&&(null==g.pageNextDataIndex&&(g.pageNextDataIndex=v.i),++g.pageCount),y=x;for(m=s-1,v=f,y=f,x=null;m>=-1;--m)(x=_(c[m]))&&b(y,x.s)||!(v.i=t&&e.s<=t+i}},_findTargetItemIndex:function(e){return this._showController?(this.getContentGroup().eachChild((function(i,o){var a=i.__legendDataIndex;null==n&&null!=a&&(n=o),a===e&&(t=o)})),null!=t?t:n):0;var t,n}}),d=c;e.exports=d},EMyp:function(e,t,n){var i=n("ProS"),o=n("bYtY"),a=n("mFDi"),r=n("K4ya"),s=n("qJCg"),l=n("iLNv"),u=n("vZ6x"),c=["inBrush","outOfBrush"],d=i.PRIORITY.VISUAL.BRUSH;function h(e){e.eachComponent({mainType:"brush"},(function(t){(t.brushTargetManager=new u(t.option,e)).setInputRanges(t.areas,e)}))}function p(e,t){if(!e.isDisposed()){var n=e.getZr();n.__ecInBrushSelectEvent=!0,e.dispatchAction({type:"brushSelect",batch:t}),n.__ecInBrushSelectEvent=!1}}function g(e,t,n,i){for(var o=0,a=t.length;ot[0][1]&&(t[0][1]=a[0]),a[1]t[1][1]&&(t[1][1]=a[1])}return t&&v(t)}};function v(e){return new a(e[0][0],e[1][0],e[0][1]-e[0][0],e[1][1]-e[1][0])}t.layoutCovers=h},ERHi:function(e,t,n){var i=n("ProS");n("Z6js"),n("R4Th");var o=n("f5Yq"),a=n("h8O9");i.registerVisual(o("effectScatter","circle")),i.registerLayout(a("effectScatter"))},F5Ls:function(e,t){var n={南海诸岛:[32,80],广东:[0,-10],香港:[10,5],澳门:[-10,10],天津:[5,5]};e.exports=function(e,t){if("china"===e){var i=n[t.name];if(i){var o=t.center;o[0]+=i[0]/10.5,o[1]+=-i[1]/14}}}},F7hV:function(e,t,n){var i=n("MBQ8").extend({type:"series.bar",dependencies:["grid","polar"],brushSelector:"rect",getProgressive:function(){return!!this.get("large")&&this.get("progressive")},getProgressiveThreshold:function(){var e=this.get("progressiveThreshold"),t=this.get("largeThreshold");return t>e&&(e=t),e},defaultOption:{clip:!0,roundCap:!1,showBackground:!1,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)",borderColor:null,borderWidth:0,borderType:"solid",borderRadius:0,shadowBlur:0,shadowColor:null,shadowOffsetX:0,shadowOffsetY:0,opacity:1}}});e.exports=i},FNN5:function(e,t,n){var i=n("bYtY"),o=n("IwbS"),a=n("+rIm"),r=n("Znkb"),s=["axisLine","axisTickLabel","axisName"],l=["splitLine","splitArea","minorSplitLine"],u=r.extend({type:"radiusAxis",axisPointerClass:"PolarAxisPointer",render:function(e,t){if(this.group.removeAll(),e.get("show")){var n=e.axis,o=n.polar,r=o.getAngleAxis(),u=n.getTicksCoords(),c=n.getMinorTicksCoords(),d=r.getExtent()[0],h=n.getExtent(),p=function(e,t,n){return{position:[e.cx,e.cy],rotation:n/180*Math.PI,labelDirection:-1,tickDirection:-1,nameDirection:1,labelRotate:t.getModel("axisLabel").get("rotate"),z2:1}}(o,e,d),g=new a(e,p);i.each(s,g.add,g),this.group.add(g.getGroup()),i.each(l,(function(t){e.get(t+".show")&&!n.scale.isBlank()&&this["_"+t](e,o,d,h,u,c)}),this)}},_splitLine:function(e,t,n,a,r){var s=e.getModel("splitLine").getModel("lineStyle"),l=s.get("color"),u=0;l=l instanceof Array?l:[l];for(var c=[],d=0;d0?"P":"N",a=i.getVisual("borderColor"+o)||i.getVisual("color"+o),r=n.getModel(l).getItemStyle(c);t.useStyle(r),t.style.fill=null,t.style.stroke=a}var _=d;e.exports=_},"HF/U":function(e,t,n){var i=n("QBsz"),o=n("bYtY"),a=n("DDd/").getCurvenessForEdge;function r(e,t){e.eachEdge((function(e,n){var r=o.retrieve3(e.getModel().get("lineStyle.curveness"),-a(e,t,n,!0),0),s=i.clone(e.node1.getLayout()),l=i.clone(e.node2.getLayout()),u=[s,l];+r&&u.push([(s[0]+l[0])/2-(s[1]-l[1])*r,(s[1]+l[1])/2-(l[0]-s[0])*r]),e.setLayout(u)}))}t.simpleLayout=function(e){var t=e.coordinateSystem;if(!t||"view"===t.type){var n=e.getGraph();n.eachNode((function(e){var t=e.getModel();e.setLayout([+t.get("x"),+t.get("y")])})),r(n,e)}},t.simpleLayoutEdge=r},"HM/N":function(e,t,n){n("Tghj").__DEV__;var i=n("bYtY"),o=n("/SeX"),a=n("OELB").parsePercent,r=n("aX7z"),s=r.createScaleByModel,l=r.niceScaleExtent,u=n("IDmD"),c=n("7hqr").getStackedDimension;function d(e,t){var n=this,o=n.getAngleAxis(),a=n.getRadiusAxis();if(o.scale.setExtent(1/0,-1/0),a.scale.setExtent(1/0,-1/0),e.eachSeries((function(e){if(e.coordinateSystem===n){var t=e.getData();i.each(t.mapDimension("radius",!0),(function(e){a.scale.unionExtentFromData(t,c(t,e))})),i.each(t.mapDimension("angle",!0),(function(e){o.scale.unionExtentFromData(t,c(t,e))}))}})),l(o.scale,o.model),l(a.scale,a.model),"category"===o.type&&!o.onBand){var r=o.getExtent(),s=360/o.scale.count();o.inverse?r[1]+=s:r[1]-=s,o.setExtent(r[0],r[1])}}function h(e,t){if(e.type=t.get("type"),e.scale=s(t),e.onBand=t.get("boundaryGap")&&"category"===e.type,e.inverse=t.get("inverse"),"angleAxis"===t.mainType){e.inverse^=t.get("clockwise");var n=t.get("startAngle");e.setExtent(n,n+(e.inverse?-360:360))}t.axis=e,e.model=t}n("ePAk");var p={dimensions:o.prototype.dimensions,create:function(e,t){var n=[];return e.eachComponent("polar",(function(e,r){var s=new o(r);s.update=d;var l=s.getRadiusAxis(),u=s.getAngleAxis(),c=e.findAxisModel("radiusAxis"),p=e.findAxisModel("angleAxis");h(l,c),h(u,p),function(e,t,n){var o=t.get("center"),r=n.getWidth(),s=n.getHeight();e.cx=a(o[0],r),e.cy=a(o[1],s);var l=e.getRadiusAxis(),u=Math.min(r,s)/2,c=t.get("radius");null==c?c=[0,"100%"]:i.isArray(c)||(c=[0,c]),c=[a(c[0],u),a(c[1],u)],l.inverse?l.setExtent(c[1],c[0]):l.setExtent(c[0],c[1])}(s,e,t),n.push(s),e.coordinateSystem=s,s.model=e})),e.eachSeries((function(t){if("polar"===t.get("coordinateSystem")){var n=e.queryComponents({mainType:"polar",index:t.get("polarIndex"),id:t.get("polarId")})[0];t.coordinateSystem=n.coordinateSystem}})),n}};u.register("polar",p)},HjIi:function(e,t,n){var i=n("bYtY"),o=n("OELB").parsePercent,a=n("7hqr").isDimensionStacked;function r(e){return e.get("stack")||"__ec_stack_"+e.seriesIndex}function s(e,t){return t.dim+e.model.componentIndex}var l=function(e,t,n){var l={},u=function(e,t){var n={};i.each(e,(function(e,t){var i=e.getData(),a=e.coordinateSystem,l=a.getBaseAxis(),u=s(a,l),c=l.getExtent(),d="category"===l.type?l.getBandWidth():Math.abs(c[1]-c[0])/i.count(),h=n[u]||{bandWidth:d,remainedWidth:d,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},p=h.stacks;n[u]=h;var g=r(e);p[g]||h.autoWidthCount++,p[g]=p[g]||{width:0,maxWidth:0};var f=o(e.get("barWidth"),d),m=o(e.get("barMaxWidth"),d),v=e.get("barGap"),y=e.get("barCategoryGap");f&&!p[g].width&&(f=Math.min(h.remainedWidth,f),p[g].width=f,h.remainedWidth-=f),m&&(p[g].maxWidth=m),null!=v&&(h.gap=v),null!=y&&(h.categoryGap=y)}));var a={};return i.each(n,(function(e,t){a[t]={};var n=e.stacks,r=e.bandWidth,s=o(e.categoryGap,r),l=o(e.gap,1),u=e.remainedWidth,c=e.autoWidthCount,d=(u-s)/(c+(c-1)*l);d=Math.max(d,0),i.each(n,(function(e,t){var n=e.maxWidth;n&&n=0?"p":"n",N=w;if(b&&(l[c][P]||(l[c][P]={p:w,n:w}),N=l[c][P][k]),"radius"===g.dim){var E=g.dataToRadius(L)-w,O=i.dataToAngle(P);Math.abs(E)=o/3?1:2),l=t.y-i(r)*a*(a>=o/3?1:2);r=t.angle-Math.PI/2,e.moveTo(s,l),e.lineTo(t.x+n(r)*a,t.y+i(r)*a),e.lineTo(t.x+n(t.angle)*o,t.y+i(t.angle)*o),e.lineTo(t.x-n(r)*a,t.y-i(r)*a),e.lineTo(s,l)}});e.exports=i},Hxpc:function(e,t,n){var i=n("bYtY"),o=n("4NO4"),a=n("bLfw"),r=n("Qxkt"),s=n("cCMj"),l=n("7uqq"),u=a.extend({type:"geo",coordinateSystem:null,layoutMode:"box",init:function(e){a.prototype.init.apply(this,arguments),o.defaultEmphasis(e,"label",["show"])},optionUpdated:function(){var e=this.option,t=this;e.regions=l.getFilledRegions(e.regions,e.map,e.nameMap),this._optionModelMap=i.reduce(e.regions||[],(function(e,n){return n.name&&e.set(n.name,new r(n,t)),e}),i.createHashMap()),this.updateSelectedMap(e.regions)},defaultOption:{zlevel:0,z:0,show:!0,left:"center",top:"center",aspectScale:null,silent:!1,map:"",boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",color:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},regions:[]},getRegionModel:function(e){return this._optionModelMap.get(e)||new r(null,this,this.ecModel)},getFormattedLabel:function(e,t){t=t||"normal";var n=this.getRegionModel(e).get(("normal"===t?"":t+".")+"label.formatter"),i={name:e};return"function"==typeof n?(i.status=t,n(i)):"string"==typeof n?n.replace("{a}",null!=e?e:""):void 0},setZoom:function(e){this.option.zoom=e},setCenter:function(e){this.option.center=e}});i.mixin(u,s);var c=u;e.exports=c},"I+77":function(e,t,n){var i=n("ProS");n("h54F"),n("lwQL"),n("10cm");var o=n("Z1r0"),a=n("f5Yq"),r=n("KUOm"),s=n("3m61"),l=n("01d+"),u=n("rdor"),c=n("WGYa"),d=n("ewwo");i.registerProcessor(o),i.registerVisual(a("graph","circle",null)),i.registerVisual(r),i.registerVisual(s),i.registerLayout(l),i.registerLayout(i.PRIORITY.VISUAL.POST_CHART_LAYOUT,u),i.registerLayout(c),i.registerCoordinateSystem("graphView",{create:d})},"I3/A":function(e,t,n){var i=n("bYtY"),o=n("YXkt"),a=n("c2i1"),r=n("Mdki"),s=n("sdST"),l=n("IDmD"),u=n("MwEJ");e.exports=function(e,t,n,c,d){for(var h=new a(c),p=0;p "+x)),m++)}var _,b=n.get("coordinateSystem");if("cartesian2d"===b||"polar"===b)_=u(e,n);else{var S=l.get(b),w=S&&"view"!==S.type&&S.dimensions||[];i.indexOf(w,"value")<0&&w.concat(["value"]);var M=s(e,{coordDimensions:w});(_=new o(M,n)).initData(e)}var I=new o(["value"],n);return I.initData(f,g),d&&d(_,I),r({mainData:_,struct:h,structAttr:"graph",datas:{node:_,edge:I},datasAttr:{node:"data",edge:"edgeData"}}),h.update(),h}},IUWy:function(e,t){var n={};t.register=function(e,t){n[e]=t},t.get=function(e){return n[e]}},IWNH:function(e,t,n){var i=n("T4UG"),o=n("Bsck"),a=n("7aKB").encodeHTML,r=n("Qxkt"),s=i.extend({type:"series.tree",layoutInfo:null,layoutMode:"box",getInitialData:function(e){var t={name:e.name,children:e.data},n=e.leaves||{},i=new r(n,this,this.ecModel),a=o.createTree(t,this,(function(e){e.wrapMethod("getItemModel",(function(e,t){var n=a.getNodeByDataIndex(t);return n.children.length&&n.isExpand||(e.parentModel=i),e}))}));var s=0;a.eachNode("preorder",(function(e){e.depth>s&&(s=e.depth)}));var l=e.expandAndCollapse&&e.initialTreeDepth>=0?e.initialTreeDepth:s;return a.root.eachNode("preorder",(function(e){var t=e.hostTree.data.getRawDataItem(e.dataIndex);e.isExpand=t&&null!=t.collapsed?!t.collapsed:e.depth<=l})),a.data},getOrient:function(){var e=this.get("orient");return"horizontal"===e?e="LR":"vertical"===e&&(e="TB"),e},setZoom:function(e){this.option.zoom=e},setCenter:function(e){this.option.center=e},formatTooltip:function(e){for(var t=this.getData().tree,n=t.root.children[0],i=t.getNodeByDataIndex(e),o=i.getValue(),r=i.name;i&&i!==n;)r=i.parentNode.name+"."+r,i=i.parentNode;return a(r+(isNaN(o)||null==o?"":" : "+o))},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",left:"12%",top:"12%",right:"12%",bottom:"12%",layout:"orthogonal",edgeShape:"curve",edgeForkPosition:"50%",roam:!1,nodeScaleRatio:.4,center:null,zoom:1,orient:"LR",symbol:"emptyCircle",symbolSize:7,expandAndCollapse:!0,initialTreeDepth:2,lineStyle:{color:"#ccc",width:1.5,curveness:.5},itemStyle:{color:"lightsteelblue",borderColor:"#c23531",borderWidth:1.5},label:{show:!0,color:"#555"},leaves:{label:{show:!0}},animationEasing:"linear",animationDuration:700,animationDurationUpdate:1e3}});e.exports=s},IXuL:function(e,t,n){n("Tghj").__DEV__;var i=n("MwEJ"),o=n("T4UG").extend({type:"series.line",dependencies:["grid","polar"],getInitialData:function(e,t){return i(this.getSource(),this,{useEncodeDefaulter:!0})},defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,clip:!0,label:{position:"top"},lineStyle:{width:2,type:"solid"},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0}});e.exports=o},IXyC:function(e,t,n){var i=n("bYtY"),o=n("bLfw");n("3zoK");var a=o.extend({type:"parallel",dependencies:["parallelAxis"],coordinateSystem:null,dimensions:null,parallelAxisIndex:null,layoutMode:"box",defaultOption:{zlevel:0,z:0,left:80,top:60,right:80,bottom:60,layout:"horizontal",axisExpandable:!1,axisExpandCenter:null,axisExpandCount:0,axisExpandWidth:50,axisExpandRate:17,axisExpandDebounce:50,axisExpandSlideTriggerArea:[-.15,.05,.4],axisExpandTriggerOn:"click",parallelAxisDefault:null},init:function(){o.prototype.init.apply(this,arguments),this.mergeOption({})},mergeOption:function(e){var t=this.option;e&&i.merge(t,e,!0),this._initDimensions()},contains:function(e,t){var n=e.get("parallelIndex");return null!=n&&t.getComponent("parallel",n)===this},setAxisExpand:function(e){i.each(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],(function(t){e.hasOwnProperty(t)&&(this.option[t]=e[t])}),this)},_initDimensions:function(){var e=this.dimensions=[],t=this.parallelAxisIndex=[],n=i.filter(this.dependentModels.parallelAxis,(function(e){return(e.get("parallelIndex")||0)===this.componentIndex}),this);i.each(n,(function(n){e.push("dim"+n.get("dim")),t.push(n.componentIndex)}))}});e.exports=a},Itpr:function(e,t,n){var i=n("+TT/");function o(e){var t=e.children;return t.length&&e.isExpand?t[t.length-1]:e.hierNode.thread}function a(e){var t=e.children;return t.length&&e.isExpand?t[0]:e.hierNode.thread}function r(e,t,n){return e.hierNode.ancestor.parentNode===t.parentNode?e.hierNode.ancestor:n}function s(e,t,n){var i=n/(t.hierNode.i-e.hierNode.i);t.hierNode.change-=i,t.hierNode.shift+=n,t.hierNode.modifier+=n,t.hierNode.prelim+=n,e.hierNode.change+=i}function l(e,t){return e.parentNode===t.parentNode?1:2}t.init=function(e){e.hierNode={defaultAncestor:null,ancestor:e,prelim:0,modifier:0,change:0,shift:0,i:0,thread:null};for(var t,n,i=[e];t=i.pop();)if(n=t.children,t.isExpand&&n.length)for(var o=n.length-1;o>=0;o--){var a=n[o];a.hierNode={defaultAncestor:null,ancestor:a,prelim:0,modifier:0,change:0,shift:0,i:o,thread:null},i.push(a)}},t.firstWalk=function(e,t){var n=e.isExpand?e.children:[],i=e.parentNode.children,l=e.hierNode.i?i[e.hierNode.i-1]:null;if(n.length){!function(e){var t=e.children,n=t.length,i=0,o=0;for(;--n>=0;){var a=t[n];a.hierNode.prelim+=i,a.hierNode.modifier+=i,o+=a.hierNode.change,i+=a.hierNode.shift+o}}(e);var u=(n[0].hierNode.prelim+n[n.length-1].hierNode.prelim)/2;l?(e.hierNode.prelim=l.hierNode.prelim+t(e,l),e.hierNode.modifier=e.hierNode.prelim-u):e.hierNode.prelim=u}else l&&(e.hierNode.prelim=l.hierNode.prelim+t(e,l));e.parentNode.hierNode.defaultAncestor=function(e,t,n,i){if(t){for(var l=e,u=e,c=u.parentNode.children[0],d=t,h=l.hierNode.modifier,p=u.hierNode.modifier,g=c.hierNode.modifier,f=d.hierNode.modifier;d=o(d),u=a(u),d&&u;){l=o(l),c=a(c),l.hierNode.ancestor=e;var m=d.hierNode.prelim+f-u.hierNode.prelim-p+i(d,u);m>0&&(s(r(d,e,n),e,m),p+=m,h+=m),f+=d.hierNode.modifier,p+=u.hierNode.modifier,h+=l.hierNode.modifier,g+=c.hierNode.modifier}d&&!o(l)&&(l.hierNode.thread=d,l.hierNode.modifier+=f-h),u&&!a(c)&&(c.hierNode.thread=u,c.hierNode.modifier+=p-g,n=e)}return n}(e,l,e.parentNode.hierNode.defaultAncestor||i[0],t)},t.secondWalk=function(e){var t=e.hierNode.prelim+e.parentNode.hierNode.modifier;e.setLayout({x:t},!0),e.hierNode.modifier+=e.parentNode.hierNode.modifier},t.separation=function(e){return arguments.length?e:l},t.radialCoordinate=function(e,t){var n={};return e-=Math.PI/2,n.x=t*Math.cos(e),n.y=t*Math.sin(e),n},t.getViewRect=function(e,t){return i.getLayoutRect(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}},IyUQ:function(e,t,n){var i=n("bYtY"),o=n("YH21"),a=n("IwbS"),r=n("iLNv"),s=n("fc+c"),l=n("OELB"),u=n("+TT/"),c=n("72pK"),d=a.Rect,h=l.linearMap,p=l.asc,g=i.bind,f=i.each,m=["line","bar","candlestick","scatter"],v=s.extend({type:"dataZoom.slider",init:function(e,t){this._displayables={},this._orient,this._range,this._handleEnds,this._size,this._handleWidth,this._handleHeight,this._location,this._dragging,this._dataShadowInfo,this.api=t},render:function(e,t,n,i){v.superApply(this,"render",arguments),r.createOrUpdate(this,"_dispatchZoomAction",this.dataZoomModel.get("throttle"),"fixRate"),this._orient=e.get("orient"),!1!==this.dataZoomModel.get("show")?(i&&"dataZoom"===i.type&&i.from===this.uid||this._buildView(),this._updateView()):this.group.removeAll()},remove:function(){v.superApply(this,"remove",arguments),r.clear(this,"_dispatchZoomAction")},dispose:function(){v.superApply(this,"dispose",arguments),r.clear(this,"_dispatchZoomAction")},_buildView:function(){var e=this.group;e.removeAll(),this._resetLocation(),this._resetInterval();var t=this._displayables.barGroup=new a.Group;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),e.add(t),this._positionGroup()},_resetLocation:function(){var e=this.dataZoomModel,t=this.api,n=this._findCoordRect(),o={width:t.getWidth(),height:t.getHeight()},a="horizontal"===this._orient?{right:o.width-n.x-n.width,top:o.height-30-7,width:n.width,height:30}:{right:7,top:n.y,width:30,height:n.height},r=u.getLayoutParams(e.option);i.each(["right","top","width","height"],(function(e){"ph"===r[e]&&(r[e]=a[e])}));var s=u.getLayoutRect(r,o,e.padding);this._location={x:s.x,y:s.y},this._size=[s.width,s.height],"vertical"===this._orient&&this._size.reverse()},_positionGroup:function(){var e=this.group,t=this._location,n=this._orient,i=this.dataZoomModel.getFirstTargetAxisModel(),o=i&&i.get("inverse"),a=this._displayables.barGroup,r=(this._dataShadowInfo||{}).otherAxisInverse;a.attr("horizontal"!==n||o?"horizontal"===n&&o?{scale:r?[-1,1]:[-1,-1]}:"vertical"!==n||o?{scale:r?[-1,-1]:[-1,1],rotation:Math.PI/2}:{scale:r?[1,-1]:[1,1],rotation:Math.PI/2}:{scale:r?[1,1]:[1,-1]});var s=e.getBoundingRect([a]);e.attr("position",[t.x-s.x,t.y-s.y])},_getViewExtent:function(){return[0,this._size[0]]},_renderBackground:function(){var e=this.dataZoomModel,t=this._size,n=this._displayables.barGroup;n.add(new d({silent:!0,shape:{x:0,y:0,width:t[0],height:t[1]},style:{fill:e.get("backgroundColor")},z2:-40})),n.add(new d({shape:{x:0,y:0,width:t[0],height:t[1]},style:{fill:"transparent"},z2:0,onclick:i.bind(this._onClickPanelClick,this)}))},_renderDataShadow:function(){var e=this._dataShadowInfo=this._prepareDataShadowInfo();if(e){var t=this._size,n=e.series,o=n.getRawData(),r=n.getShadowDim?n.getShadowDim():e.otherDim;if(null!=r){var s=o.getDataExtent(r),l=.3*(s[1]-s[0]);s=[s[0]-l,s[1]+l];var u,c=[0,t[1]],d=[0,t[0]],p=[[t[0],0],[0,0]],g=[],f=d[1]/(o.count()-1),m=0,v=Math.round(o.count()/t[0]);o.each([r],(function(e,t){if(v>0&&t%v)m+=f;else{var n=null==e||isNaN(e)||""===e,i=n?0:h(e,s,c,!0);n&&!u&&t?(p.push([p[p.length-1][0],0]),g.push([g[g.length-1][0],0])):!n&&u&&(p.push([m,0]),g.push([m,0])),p.push([m,i]),g.push([m,i]),m+=f,u=n}}));var y=this.dataZoomModel;this._displayables.barGroup.add(new a.Polygon({shape:{points:p},style:i.defaults({fill:y.get("dataBackgroundColor")},y.getModel("dataBackground.areaStyle").getAreaStyle()),silent:!0,z2:-20})),this._displayables.barGroup.add(new a.Polyline({shape:{points:g},style:y.getModel("dataBackground.lineStyle").getLineStyle(),silent:!0,z2:-19}))}}},_prepareDataShadowInfo:function(){var e=this.dataZoomModel,t=e.get("showDataShadow");if(!1!==t){var n,o=this.ecModel;return e.eachTargetAxis((function(a,r){var s=e.getAxisProxy(a.name,r).getTargetSeriesModels();i.each(s,(function(e){if(!(n||!0!==t&&i.indexOf(m,e.get("type"))<0)){var s,l=o.getComponent(a.axis,r).axis,u={x:"y",y:"x",radius:"angle",angle:"radius"}[a.name],c=e.coordinateSystem;null!=u&&c.getOtherAxis&&(s=c.getOtherAxis(l).inverse),u=e.getData().mapDimension(u),n={thisAxis:l,series:e,thisDim:a.name,otherDim:u,otherAxisInverse:s}}}),this)}),this),n}},_renderHandle:function(){var e=this._displayables,t=e.handles=[],n=e.handleLabels=[],i=this._displayables.barGroup,o=this._size,r=this.dataZoomModel;i.add(e.filler=new d({draggable:!0,cursor:y(this._orient),drift:g(this._onDragMove,this,"all"),ondragstart:g(this._showDataInfo,this,!0),ondragend:g(this._onDragEnd,this),onmouseover:g(this._showDataInfo,this,!0),onmouseout:g(this._showDataInfo,this,!1),style:{fill:r.get("fillerColor"),textPosition:"inside"}})),i.add(new d({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:o[0],height:o[1]},style:{stroke:r.get("dataBackgroundColor")||r.get("borderColor"),lineWidth:1,fill:"rgba(0,0,0,0)"}})),f([0,1],(function(e){var o=a.createIcon(r.get("handleIcon"),{cursor:y(this._orient),draggable:!0,drift:g(this._onDragMove,this,e),ondragend:g(this._onDragEnd,this),onmouseover:g(this._showDataInfo,this,!0),onmouseout:g(this._showDataInfo,this,!1)},{x:-1,y:0,width:2,height:2}),s=o.getBoundingRect();this._handleHeight=l.parsePercent(r.get("handleSize"),this._size[1]),this._handleWidth=s.width/s.height*this._handleHeight,o.setStyle(r.getModel("handleStyle").getItemStyle());var u=r.get("handleColor");null!=u&&(o.style.fill=u),i.add(t[e]=o);var c=r.textStyleModel;this.group.add(n[e]=new a.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textVerticalAlign:"middle",textAlign:"center",textFill:c.getTextColor(),textFont:c.getFont()},z2:10}))}),this)},_resetInterval:function(){var e=this._range=this.dataZoomModel.getPercentRange(),t=this._getViewExtent();this._handleEnds=[h(e[0],[0,100],t,!0),h(e[1],[0,100],t,!0)]},_updateInterval:function(e,t){var n=this.dataZoomModel,i=this._handleEnds,o=this._getViewExtent(),a=n.findRepresentativeAxisProxy().getMinMaxSpan(),r=[0,100];c(t,i,o,n.get("zoomLock")?"all":e,null!=a.minSpan?h(a.minSpan,r,o,!0):null,null!=a.maxSpan?h(a.maxSpan,r,o,!0):null);var s=this._range,l=this._range=p([h(i[0],o,r,!0),h(i[1],o,r,!0)]);return!s||s[0]!==l[0]||s[1]!==l[1]},_updateView:function(e){var t=this._displayables,n=this._handleEnds,i=p(n.slice()),o=this._size;f([0,1],(function(e){var i=t.handles[e],a=this._handleHeight;i.attr({scale:[a/2,a/2],position:[n[e],o[1]/2-a/2]})}),this),t.filler.setShape({x:i[0],y:0,width:i[1]-i[0],height:o[1]}),this._updateDataInfo(e)},_updateDataInfo:function(e){var t=this.dataZoomModel,n=this._displayables,i=n.handleLabels,o=this._orient,r=["",""];if(t.get("showDetail")){var s=t.findRepresentativeAxisProxy();if(s){var l=s.getAxisModel().axis,u=this._range,c=e?s.calculateDataWindow({start:u[0],end:u[1]}).valueWindow:s.getDataValueWindow();r=[this._formatLabel(c[0],l),this._formatLabel(c[1],l)]}}var d=p(this._handleEnds.slice());function h(e){var t=a.getTransform(n.handles[e].parent,this.group),s=a.transformDirection(0===e?"right":"left",t),l=this._handleWidth/2+5,u=a.applyTransform([d[e]+(0===e?-l:l),this._size[1]/2],t);i[e].setStyle({x:u[0],y:u[1],textVerticalAlign:"horizontal"===o?"middle":s,textAlign:"horizontal"===o?s:"center",text:r[e]})}h.call(this,0),h.call(this,1)},_formatLabel:function(e,t){var n=this.dataZoomModel,o=n.get("labelFormatter"),a=n.get("labelPrecision");null!=a&&"auto"!==a||(a=t.getPixelPrecision());var r=null==e||isNaN(e)?"":"category"===t.type||"time"===t.type?t.scale.getLabel(Math.round(e)):e.toFixed(Math.min(a,20));return i.isFunction(o)?o(e,r):i.isString(o)?o.replace("{value}",r):r},_showDataInfo:function(e){e=this._dragging||e;var t=this._displayables.handleLabels;t[0].attr("invisible",!e),t[1].attr("invisible",!e)},_onDragMove:function(e,t,n,i){this._dragging=!0,o.stop(i.event);var r=this._displayables.barGroup.getLocalTransform(),s=a.applyTransform([t,n],r,!0),l=this._updateInterval(e,s[0]),u=this.dataZoomModel.get("realtime");this._updateView(!u),l&&u&&this._dispatchZoomAction()},_onDragEnd:function(){this._dragging=!1,this._showDataInfo(!1),!this.dataZoomModel.get("realtime")&&this._dispatchZoomAction()},_onClickPanelClick:function(e){var t=this._size,n=this._displayables.barGroup.transformCoordToLocal(e.offsetX,e.offsetY);if(!(n[0]<0||n[0]>t[0]||n[1]<0||n[1]>t[1])){var i=this._handleEnds,o=(i[0]+i[1])/2,a=this._updateInterval("all",n[0]-o);this._updateView(),a&&this._dispatchZoomAction()}},_dispatchZoomAction:function(){var e=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,start:e[0],end:e[1]})},_findCoordRect:function(){var e;if(f(this.getTargetCoordInfo(),(function(t){if(!e&&t.length){var n=t[0].model.coordinateSystem;e=n.getRect&&n.getRect()}})),!e){var t=this.api.getWidth(),n=this.api.getHeight();e={x:.2*t,y:.2*n,width:.6*t,height:.6*n}}return e}});function y(e){return"vertical"===e?"ns-resize":"ew-resize"}var x=v;e.exports=x},JLnu:function(e,t,n){n("Tghj").__DEV__;var i=n("+TT/"),o=n("OELB"),a=o.parsePercent,r=o.linearMap;e.exports=function(e,t,n){e.eachSeriesByType("funnel",(function(e){var n=e.getData(),o=n.mapDimension("value"),s=e.get("sort"),l=function(e,t){return i.getLayoutRect(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}(e,t),u=function(e,t){for(var n=e.mapDimension("value"),i=e.mapArray(n,(function(e){return e})),o=[],a="ascending"===t,r=0,s=e.count();r=0&&"number"==typeof c&&(c=+c.toFixed(Math.min(v,20))),f.coord[p]=m.coord[p]=c,o=[f,m,{type:s,valueIndex:o.valueIndex,value:c}]}return(o=[r.dataTransform(e,o[0]),r.dataTransform(e,o[1]),i.extend({},o[2])])[2].type=o[2].type||"",i.merge(o[2],o[0]),i.merge(o[2],o[1]),o};function d(e){return!isNaN(e)&&!isFinite(e)}function h(e,t,n,i){var o=1-e,a=i.dimensions[e];return d(t[o])&&d(n[o])&&t[e]===n[e]&&i.getAxis(a).containData(t[e])}function p(e,t){if("cartesian2d"===e.type){var n=t[0].coord,i=t[1].coord;if(n&&i&&(h(1,n,i,e)||h(0,n,i,e)))return!0}return r.dataFilter(e,t[0])&&r.dataFilter(e,t[1])}function g(e,t,n,i,o){var r,s=i.coordinateSystem,l=e.getItemModel(t),u=a.parsePercent(l.get("x"),o.getWidth()),c=a.parsePercent(l.get("y"),o.getHeight());if(isNaN(u)||isNaN(c)){if(i.getMarkerPosition)r=i.getMarkerPosition(e.getValues(e.dimensions,t));else{var h=s.dimensions,p=e.get(h[0],t),g=e.get(h[1],t);r=s.dataToPoint([p,g])}if("cartesian2d"===s.type){var f=s.getAxis("x"),m=s.getAxis("y");h=s.dimensions;d(e.get(h[0],t))?r[0]=f.toGlobalCoord(f.getExtent()[n?0:1]):d(e.get(h[1],t))&&(r[1]=m.toGlobalCoord(m.getExtent()[n?0:1]))}isNaN(u)||(r[0]=u),isNaN(c)||(r[1]=c)}else r=[u,c];e.setItemLayout(t,r)}var f=l.extend({type:"markLine",updateTransform:function(e,t,n){t.eachSeries((function(e){var t=e.markLineModel;if(t){var i=t.getData(),o=t.__from,a=t.__to;o.each((function(t){g(o,t,!0,e,n),g(a,t,!1,e,n)})),i.each((function(e){i.setItemLayout(e,[o.getItemLayout(e),a.getItemLayout(e)])})),this.markerGroupMap.get(e.id).updateLayout()}}),this)},renderSeries:function(e,t,n,a){var l=e.coordinateSystem,u=e.id,d=e.getData(),h=this.markerGroupMap,f=h.get(u)||h.set(u,new s);this.group.add(f.group);var m=function(e,t,n){var a;a=e?i.map(e&&e.dimensions,(function(e){var n=t.getData().getDimensionInfo(t.getData().mapDimension(e))||{};return i.defaults({name:e},n)})):[{name:"value",type:"float"}];var s=new o(a,n),l=new o(a,n),u=new o([],n),d=i.map(n.get("data"),i.curry(c,t,e,n));e&&(d=i.filter(d,i.curry(p,e)));var h=e?r.dimValueGetter:function(e){return e.value};return s.initData(i.map(d,(function(e){return e[0]})),null,h),l.initData(i.map(d,(function(e){return e[1]})),null,h),u.initData(i.map(d,(function(e){return e[2]}))),u.hasItemOption=!0,{from:s,to:l,line:u}}(l,e,t),v=m.from,y=m.to,x=m.line;t.__from=v,t.__to=y,t.setData(x);var _=t.get("symbol"),b=t.get("symbolSize");function S(t,n,i){var o=t.getItemModel(n);g(t,n,i,e,a),t.setItemVisual(n,{symbolRotate:o.get("symbolRotate"),symbolSize:o.get("symbolSize")||b[i?0:1],symbol:o.get("symbol",!0)||_[i?0:1],color:o.get("itemStyle.color")||d.getVisual("color")})}i.isArray(_)||(_=[_,_]),"number"==typeof b&&(b=[b,b]),m.from.each((function(e){S(v,e,!0),S(y,e,!1)})),x.each((function(e){var t=x.getItemModel(e).get("lineStyle.color");x.setItemVisual(e,{color:t||v.getItemVisual(e,"color")}),x.setItemLayout(e,[v.getItemLayout(e),y.getItemLayout(e)]),x.setItemVisual(e,{fromSymbolRotate:v.getItemVisual(e,"symbolRotate"),fromSymbolSize:v.getItemVisual(e,"symbolSize"),fromSymbol:v.getItemVisual(e,"symbol"),toSymbolRotate:y.getItemVisual(e,"symbolRotate"),toSymbolSize:y.getItemVisual(e,"symbolSize"),toSymbol:y.getItemVisual(e,"symbol")})})),f.updateData(x),m.line.eachItemGraphicEl((function(e,n){e.traverse((function(e){e.dataModel=t}))})),f.__keep=!0,f.group.silent=t.get("silent")||e.get("silent")}});e.exports=f},MHoB:function(e,t,n){var i=n("bYtY"),o=n("6uqw"),a=n("OELB"),r=[20,140],s=o.extend({type:"visualMap.continuous",defaultOption:{align:"auto",calculable:!1,range:null,realtime:!0,itemHeight:null,itemWidth:null,hoverLink:!0,hoverLinkDataSize:null,hoverLinkOnHandle:null},optionUpdated:function(e,t){s.superApply(this,"optionUpdated",arguments),this.resetExtent(),this.resetVisual((function(e){e.mappingMethod="linear",e.dataExtent=this.getExtent()})),this._resetRange()},resetItemSize:function(){s.superApply(this,"resetItemSize",arguments);var e=this.itemSize;"horizontal"===this._orient&&e.reverse(),(null==e[0]||isNaN(e[0]))&&(e[0]=r[0]),(null==e[1]||isNaN(e[1]))&&(e[1]=r[1])},_resetRange:function(){var e=this.getExtent(),t=this.option.range;!t||t.auto?(e.auto=1,this.option.range=e):i.isArray(t)&&(t[0]>t[1]&&t.reverse(),t[0]=Math.max(t[0],e[0]),t[1]=Math.min(t[1],e[1]))},completeVisualOption:function(){o.prototype.completeVisualOption.apply(this,arguments),i.each(this.stateList,(function(e){var t=this.option.controller[e].symbolSize;t&&t[0]!==t[1]&&(t[0]=0)}),this)},setSelected:function(e){this.option.range=e.slice(),this._resetRange()},getSelected:function(){var e=this.getExtent(),t=a.asc((this.get("range")||[]).slice());return t[0]>e[1]&&(t[0]=e[1]),t[1]>e[1]&&(t[1]=e[1]),t[0]=n[1]||e<=t[1])?"inRange":"outOfRange"},findTargetDataIndices:function(e){var t=[];return this.eachTargetSeries((function(n){var i=[],o=n.getData();o.each(this.getDataDimension(o),(function(t,n){e[0]<=t&&t<=e[1]&&i.push(n)}),this),t.push({seriesId:n.id,dataIndex:i})}),this),t},getVisualMeta:function(e){var t=l(this,"outOfRange",this.getExtent()),n=l(this,"inRange",this.option.range.slice()),i=[];function o(t,n){i.push({value:t,color:e(t,n)})}for(var a=0,r=0,s=n.length,u=t.length;r0?l.pixelStart+l.pixelLength-l.pixel:l.pixel-l.pixelStart)/l.pixelLength*(r[1]-r[0])+r[0],c=Math.max(1/i.scale,0);r[0]=(r[0]-u)*c+u,r[1]=(r[1]-u)*c+u;var h=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();return a(0,r,[0,100],0,h.minSpan,h.maxSpan),this._range=r,o[0]!==r[0]||o[1]!==r[1]?r:void 0}},pan:c((function(e,t,n,i,o,a){var r=d[i]([a.oldX,a.oldY],[a.newX,a.newY],t,o,n);return r.signal*(e[1]-e[0])*r.pixel/r.pixelLength})),scrollMove:c((function(e,t,n,i,o,a){return d[i]([0,0],[a.scrollDelta,a.scrollDelta],t,o,n).signal*(e[1]-e[0])*a.scrollDelta}))};function c(e){return function(t,n,i,o){var r=this._range,s=r.slice(),l=t.axisModels[0];if(l){var u=e(s,l,t,n,i,o);return a(u,s,[0,100],"all"),this._range=s,r[0]!==s[0]||r[1]!==s[1]?s:void 0}}}var d={grid:function(e,t,n,i,o){var a=n.axis,r={},s=o.model.coordinateSystem.getRect();return e=e||[0,0],"x"===a.dim?(r.pixel=t[0]-e[0],r.pixelLength=s.width,r.pixelStart=s.x,r.signal=a.inverse?1:-1):(r.pixel=t[1]-e[1],r.pixelLength=s.height,r.pixelStart=s.y,r.signal=a.inverse?-1:1),r},polar:function(e,t,n,i,o){var a=n.axis,r={},s=o.model.coordinateSystem,l=s.getRadiusAxis().getExtent(),u=s.getAngleAxis().getExtent();return e=e?s.pointToCoord(e):[0,0],t=s.pointToCoord(t),"radiusAxis"===n.mainType?(r.pixel=t[0]-e[0],r.pixelLength=l[1]-l[0],r.pixelStart=l[0],r.signal=a.inverse?1:-1):(r.pixel=t[1]-e[1],r.pixelLength=u[1]-u[0],r.pixelStart=u[0],r.signal=a.inverse?-1:1),r},singleAxis:function(e,t,n,i,o){var a=n.axis,r=o.model.coordinateSystem.getRect(),s={};return e=e||[0,0],"horizontal"===a.orient?(s.pixel=t[0]-e[0],s.pixelLength=r.width,s.pixelStart=r.x,s.signal=a.inverse?1:-1):(s.pixel=t[1]-e[1],s.pixelLength=r.height,s.pixelStart=r.y,s.signal=a.inverse?-1:1),s}},h=l;e.exports=h},Mylv:function(e,t,n){var i=n("ProS"),o=n("bYtY"),a=n("IwbS"),r=n("oVpE").createSymbol,s=n("OELB"),l=s.parsePercent,u=s.isNumeric,c=n("56rv").setLabel,d=["itemStyle","borderWidth"],h=[{xy:"x",wh:"width",index:0,posDesc:["left","right"]},{xy:"y",wh:"height",index:1,posDesc:["top","bottom"]}],p=new a.Circle;function g(e,t,n,i){var a=e.getItemLayout(t),r=n.get("symbolRepeat"),s=n.get("symbolClip"),c=n.get("symbolPosition")||"start",h=(n.get("symbolRotate")||0)*Math.PI/180||0,g=n.get("symbolPatternSize")||2,m=n.isAnimationEnabled(),v={dataIndex:t,layout:a,itemModel:n,symbolType:e.getItemVisual(t,"symbol")||"circle",color:e.getItemVisual(t,"color"),symbolClip:s,symbolRepeat:r,symbolRepeatDirection:n.get("symbolRepeatDirection"),symbolPatternSize:g,rotation:h,animationModel:m?n:null,hoverAnimation:m&&n.get("hoverAnimation"),z2:n.getShallow("z",!0)||0};!function(e,t,n,i,a){var r,s=i.valueDim,l=e.get("symbolBoundingData"),u=i.coordSys.getOtherAxis(i.coordSys.getBaseAxis()),c=u.toGlobalCoord(u.dataToCoord(0)),d=1-+(n[s.wh]<=0);if(o.isArray(l)){var h=[f(u,l[0])-c,f(u,l[1])-c];h[1]0?1:r<0?-1:0}(n,r,a,i,v),function(e,t,n,i,a,r,s,u,c,d){var h=c.valueDim,p=c.categoryDim,g=Math.abs(n[p.wh]),f=e.getItemVisual(t,"symbolSize");o.isArray(f)?f=f.slice():(null==f&&(f="100%"),f=[f,f]);f[p.index]=l(f[p.index],g),f[h.index]=l(f[h.index],i?g:Math.abs(r)),d.symbolSize=f,(d.symbolScale=[f[0]/u,f[1]/u])[h.index]*=(c.isHorizontal?-1:1)*s}(e,t,a,r,0,v.boundingLength,v.pxSign,g,i,v),function(e,t,n,i,o){var a=e.get(d)||0;a&&(p.attr({scale:t.slice(),rotation:n}),p.updateTransform(),a/=p.getLineScale(),a*=t[i.valueDim.index]);o.valueLineWidth=a}(n,v.symbolScale,h,i,v);var y=v.symbolSize,x=n.get("symbolOffset");return o.isArray(x)&&(x=[l(x[0],y[0]),l(x[1],y[1])]),function(e,t,n,i,a,r,s,c,d,h,p,g){var f=p.categoryDim,m=p.valueDim,v=g.pxSign,y=Math.max(t[m.index]+c,0),x=y;if(i){var _=Math.abs(d),b=o.retrieve(e.get("symbolMargin"),"15%")+"",S=!1;b.lastIndexOf("!")===b.length-1&&(S=!0,b=b.slice(0,b.length-1)),b=l(b,t[m.index]);var w=Math.max(y+2*b,0),M=S?0:2*b,I=u(i),A=I?i:P((_+M)/w);w=y+2*(b=(_-A*y)/2/(S?A:A-1)),M=S?0:2*b,I||"fixed"===i||(A=h?P((Math.abs(h)+M)/w):0),x=A*w-M,g.repeatTimes=A,g.symbolMargin=b}var T=v*(x/2),D=g.pathPosition=[];D[f.index]=n[f.wh]/2,D[m.index]="start"===s?T:"end"===s?d-T:d/2,r&&(D[0]+=r[0],D[1]+=r[1]);var C=g.bundlePosition=[];C[f.index]=n[f.xy],C[m.index]=n[m.xy];var L=g.barRectShape=o.extend({},n);L[m.wh]=v*Math.max(Math.abs(n[m.wh]),Math.abs(D[m.index]+T)),L[f.wh]=n[f.wh];var k=g.clipShape={};k[f.xy]=-n[f.xy],k[f.wh]=p.ecSize[f.wh],k[m.xy]=0,k[m.wh]=n[m.wh]}(n,y,a,r,0,x,c,v.valueLineWidth,v.boundingLength,v.repeatCutLength,i,v),v}function f(e,t){return e.toGlobalCoord(e.dataToCoord(e.scale.parse(t)))}function m(e){var t=e.symbolPatternSize,n=r(e.symbolType,-t/2,-t/2,t,t,e.color);return n.attr({culling:!0}),"image"!==n.type&&n.setStyle({strokeNoScale:!0}),n}function v(e,t,n,i){var o=e.__pictorialBundle,a=n.symbolSize,r=n.valueLineWidth,s=n.pathPosition,l=t.valueDim,u=n.repeatTimes||0,c=0,d=a[t.valueDim.index]+r+2*n.symbolMargin;for(D(e,(function(e){e.__pictorialAnimationIndex=c,e.__pictorialRepeatTimes=u,c0:i<0)&&(o=u-1-e),t[l.index]=d*(o-u/2+.5)+s[l.index],{position:t,scale:n.symbolScale.slice(),rotation:n.rotation}}function f(){D(e,(function(e){e.trigger("emphasis")}))}function v(){D(e,(function(e){e.trigger("normal")}))}}function y(e,t,n,i){var o=e.__pictorialBundle,a=e.__pictorialMainPath;a?C(a,null,{position:n.pathPosition.slice(),scale:n.symbolScale.slice(),rotation:n.rotation},n,i):(a=e.__pictorialMainPath=m(n),o.add(a),C(a,{position:n.pathPosition.slice(),scale:[0,0],rotation:n.rotation},{scale:n.symbolScale.slice()},n,i),a.on("mouseover",(function(){this.trigger("emphasis")})).on("mouseout",(function(){this.trigger("normal")}))),M(a,n)}function x(e,t,n){var i=o.extend({},t.barRectShape),r=e.__pictorialBarRect;r?C(r,null,{shape:i},t,n):(r=e.__pictorialBarRect=new a.Rect({z2:2,shape:i,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}}),e.add(r))}function _(e,t,n,i){if(n.symbolClip){var r=e.__pictorialClipPath,s=o.extend({},n.clipShape),l=t.valueDim,u=n.animationModel,c=n.dataIndex;if(r)a.updateProps(r,{shape:s},u,c);else{s[l.wh]=0,r=new a.Rect({shape:s}),e.__pictorialBundle.setClipPath(r),e.__pictorialClipPath=r;var d={};d[l.wh]=n.clipShape[l.wh],a[i?"updateProps":"initProps"](r,{shape:d},u,c)}}}function b(e,t){var n=e.getItemModel(t);return n.getAnimationDelayParams=S,n.isAnimationEnabled=w,n}function S(e){return{index:e.__pictorialAnimationIndex,count:e.__pictorialRepeatTimes}}function w(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function M(e,t){e.off("emphasis").off("normal");var n=t.symbolScale.slice();t.hoverAnimation&&e.on("emphasis",(function(){this.animateTo({scale:[1.1*n[0],1.1*n[1]]},400,"elasticOut")})).on("normal",(function(){this.animateTo({scale:n.slice()},400,"elasticOut")}))}function I(e,t,n,i){var o=new a.Group,r=new a.Group;return o.add(r),o.__pictorialBundle=r,r.attr("position",n.bundlePosition.slice()),n.symbolRepeat?v(o,t,n):y(o,0,n),x(o,n,i),_(o,t,n,i),o.__pictorialShapeStr=T(e,n),o.__pictorialSymbolMeta=n,o}function A(e,t,n,i){var r=i.__pictorialBarRect;r&&(r.style.text=null);var s=[];D(i,(function(e){s.push(e)})),i.__pictorialMainPath&&s.push(i.__pictorialMainPath),i.__pictorialClipPath&&(n=null),o.each(s,(function(e){a.updateProps(e,{scale:[0,0]},n,t,(function(){i.parent&&i.parent.remove(i)}))})),e.setItemGraphicEl(t,null)}function T(e,t){return[e.getItemVisual(t.dataIndex,"symbol")||"none",!!t.symbolRepeat,!!t.symbolClip].join(":")}function D(e,t,n){o.each(e.__pictorialBundle.children(),(function(i){i!==e.__pictorialBarRect&&t.call(n,i)}))}function C(e,t,n,i,o,r){t&&e.attr(t),i.symbolClip&&!o?n&&e.attr(n):n&&a[o?"updateProps":"initProps"](e,n,i.animationModel,i.dataIndex,r)}function L(e,t,n){var i=n.color,r=n.dataIndex,s=n.itemModel,l=s.getModel("itemStyle").getItemStyle(["color"]),u=s.getModel("emphasis.itemStyle").getItemStyle(),d=s.getShallow("cursor");D(e,(function(e){e.setColor(i),e.setStyle(o.defaults({fill:i,opacity:n.opacity},l)),a.setHoverStyle(e,u),d&&(e.cursor=d),e.z2=n.z2}));var h={},p=t.valueDim.posDesc[+(n.boundingLength>0)],g=e.__pictorialBarRect;c(g.style,h,s,i,t.seriesModel,r,p),a.setHoverStyle(g,h)}function P(e){var t=Math.round(e);return Math.abs(e-t)<1e-4?t:Math.ceil(e)}var k=i.extendChartView({type:"pictorialBar",render:function(e,t,n){var i=this.group,o=e.getData(),r=this._data,s=e.coordinateSystem,l=!!s.getBaseAxis().isHorizontal(),u=s.grid.getRect(),c={ecSize:{width:n.getWidth(),height:n.getHeight()},seriesModel:e,coordSys:s,coordSysExtent:[[u.x,u.x+u.width],[u.y,u.y+u.height]],isHorizontal:l,valueDim:h[+l],categoryDim:h[1-l]};return o.diff(r).add((function(e){if(o.hasValue(e)){var t=b(o,e),n=g(o,e,t,c),a=I(o,c,n);o.setItemGraphicEl(e,a),i.add(a),L(a,c,n)}})).update((function(e,t){var n=r.getItemGraphicEl(t);if(o.hasValue(e)){var s=b(o,e),l=g(o,e,s,c),u=T(o,l);n&&u!==n.__pictorialShapeStr&&(i.remove(n),o.setItemGraphicEl(e,null),n=null),n?function(e,t,n){var i=n.animationModel,o=n.dataIndex,r=e.__pictorialBundle;a.updateProps(r,{position:n.bundlePosition.slice()},i,o),n.symbolRepeat?v(e,t,n,!0):y(e,t,n,!0);x(e,n,!0),_(e,t,n,!0)}(n,c,l):n=I(o,c,l,!0),o.setItemGraphicEl(e,n),n.__pictorialSymbolMeta=l,i.add(n),L(n,c,l)}else i.remove(n)})).remove((function(e){var t=r.getItemGraphicEl(e);t&&A(r,e,t.__pictorialSymbolMeta.animationModel,t)})).execute(),this._data=o,this.group},dispose:o.noop,remove:function(e,t){var n=this.group,i=this._data;e.get("animation")?i&&i.eachItemGraphicEl((function(t){A(i,t.dataIndex,e,t)})):n.removeAll()}});e.exports=k},N5BQ:function(e,t,n){var i=n("OlYY").extend({type:"dataZoom.slider",layoutMode:"box",defaultOption:{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,backgroundColor:"rgba(47,69,84,0)",dataBackground:{lineStyle:{color:"#2f4554",width:.5,opacity:.3},areaStyle:{color:"rgba(47,69,84,0.3)",opacity:.3}},borderColor:"#ddd",fillerColor:"rgba(167,183,204,0.4)",handleIcon:"M8.2,13.6V3.9H6.3v9.7H3.1v14.9h3.3v9.7h1.8v-9.7h3.3V13.6H8.2z M9.7,24.4H4.8v-1.4h4.9V24.4z M9.7,19.1H4.8v-1.4h4.9V19.1z",handleSize:"100%",handleStyle:{color:"#a7b7cc"},labelPrecision:null,labelFormatter:null,showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:"#333"}}});e.exports=i},NA0q:function(e,t,n){var i=n("bYtY"),o=n("6Ic6"),a=n("TkdX"),r=n("gPAo"),s=n("7aKB").windowOpen,l=o.extend({type:"sunburst",init:function(){},render:function(e,t,n,o){var s=this;this.seriesModel=e,this.api=n,this.ecModel=t;var l=e.getData(),u=l.tree.root,c=e.getViewRoot(),d=this.group,h=e.get("renderLabelForZeroData"),p=[];c.eachNode((function(e){p.push(e)}));var g=this._oldChildren||[];if(function(n,o){if(0===n.length&&0===o.length)return;function s(e){return e.getId()}function c(i,r){!function(n,i){h||!n||n.getValue()||(n=null);if(n!==u&&i!==u)if(i&&i.piece)n?(i.piece.updateData(!1,n,"normal",e,t),l.setItemGraphicEl(n.dataIndex,i.piece)):function(e){if(!e)return;e.piece&&(d.remove(e.piece),e.piece=null)}(i);else if(n){var o=new a(n,e,t);d.add(o),l.setItemGraphicEl(n.dataIndex,o)}}(null==i?null:n[i],null==r?null:o[r])}new r(o,n,s,s).add(c).update(c).remove(i.curry(c,null)).execute()}(p,g),function(n,i){if(i.depth>0){s.virtualPiece?s.virtualPiece.updateData(!1,n,"normal",e,t):(s.virtualPiece=new a(n,e,t),d.add(s.virtualPiece)),i.piece._onclickEvent&&i.piece.off("click",i.piece._onclickEvent);var o=function(e){s._rootToNode(i.parentNode)};i.piece._onclickEvent=o,s.virtualPiece.on("click",o)}else s.virtualPiece&&(d.remove(s.virtualPiece),s.virtualPiece=null)}(u,c),o&&o.highlight&&o.highlight.piece){var f=e.getShallow("highlightPolicy");o.highlight.piece.onEmphasis(f)}else if(o&&o.unhighlight){var m=this.virtualPiece;!m&&u.children.length&&(m=u.children[0].piece),m&&m.onNormal()}this._initEvents(),this._oldChildren=p},dispose:function(){},_initEvents:function(){var e=this,t=function(t){var n=!1;e.seriesModel.getViewRoot().eachNode((function(i){if(!n&&i.piece&&i.piece.childAt(0)===t.target){var o=i.getModel().get("nodeClick");if("rootToNode"===o)e._rootToNode(i);else if("link"===o){var a=i.getModel(),r=a.get("link");if(r){var l=a.get("target",!0)||"_blank";s(r,l)}}n=!0}}))};this.group._onclickEvent&&this.group.off("click",this.group._onclickEvent),this.group.on("click",t),this.group._onclickEvent=t},_rootToNode:function(e){e!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:"sunburstRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:e})},containPoint:function(e,t){var n=t.getData().getItemLayout(0);if(n){var i=e[0]-n.cx,o=e[1]-n.cy,a=Math.sqrt(i*i+o*o);return a<=n.r&&a>=n.r0}}});e.exports=l},NH9N:function(e,t,n){var i=n("bYtY"),o=n("mFDi"),a=n("Fofx"),r=n("IwbS"),s=n("+TT/"),l=n("kzvK"),u=n("CMP+"),c=n("oVpE").createSymbol,d=n("aX7z"),h=n("OELB"),p=n("7aKB").encodeHTML,g=i.bind,f=i.each,m=Math.PI,v=l.extend({type:"timeline.slider",init:function(e,t){this.api=t,this._axis,this._viewRect,this._timer,this._currentPointer,this._mainGroup,this._labelGroup},render:function(e,t,n,i){if(this.model=e,this.api=n,this.ecModel=t,this.group.removeAll(),e.get("show",!0)){var o=this._layout(e,n),a=this._createGroup("mainGroup"),r=this._createGroup("labelGroup"),s=this._axis=this._createAxis(o,e);e.formatTooltip=function(e){return p(s.scale.getLabel(e))},f(["AxisLine","AxisTick","Control","CurrentPointer"],(function(t){this["_render"+t](o,a,s,e)}),this),this._renderAxisLabel(o,r,s,e),this._position(o,e)}this._doPlayStop()},remove:function(){this._clearTimer(),this.group.removeAll()},dispose:function(){this._clearTimer()},_layout:function(e,t){var n=e.get("label.position"),i=e.get("orient"),o=function(e,t){return s.getLayoutRect(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()},e.get("padding"))}(e,t);null==n||"auto"===n?n="horizontal"===i?o.y+o.height/2=0||"+"===n?"left":"right"},d={horizontal:n>=0||"+"===n?"top":"bottom",vertical:"middle"},h={horizontal:0,vertical:m/2},p="vertical"===i?o.height:o.width,g=e.getModel("controlStyle"),f=g.get("show",!0),v=f?g.get("itemSize"):0,y=f?g.get("itemGap"):0,x=v+y,_=e.get("label.rotate")||0;_=_*m/180;var b=g.get("position",!0),S=f&&g.get("showPlayBtn",!0),w=f&&g.get("showPrevBtn",!0),M=f&&g.get("showNextBtn",!0),I=0,A=p;return"left"===b||"bottom"===b?(S&&(a=[0,0],I+=x),w&&(r=[I,0],I+=x),M&&(l=[A-v,0],A-=x)):(S&&(a=[A-v,0],A-=x),w&&(r=[0,0],I+=x),M&&(l=[A-v,0],A-=x)),u=[I,A],e.get("inverse")&&u.reverse(),{viewRect:o,mainLength:p,orient:i,rotation:h[i],labelRotation:_,labelPosOpt:n,labelAlign:e.get("label.align")||c[i],labelBaseline:e.get("label.verticalAlign")||e.get("label.baseline")||d[i],playPosition:a,prevBtnPosition:r,nextBtnPosition:l,axisExtent:u,controlSize:v,controlGap:y}},_position:function(e,t){var n=this._mainGroup,i=this._labelGroup,o=e.viewRect;if("vertical"===e.orient){var r=a.create(),s=o.x,l=o.y+o.height;a.translate(r,r,[-s,-l]),a.rotate(r,r,-m/2),a.translate(r,r,[s,l]),(o=o.clone()).applyTransform(r)}var u=y(o),c=y(n.getBoundingRect()),d=y(i.getBoundingRect()),h=n.position,p=i.position;p[0]=h[0]=u[0][0];var g,f=e.labelPosOpt;isNaN(f)?(x(h,c,u,1,g="+"===f?0:1),x(p,d,u,1,1-g)):(x(h,c,u,1,g=f>=0?0:1),p[1]=h[1]+f);function v(e){var t=e.position;e.origin=[u[0][0]-t[0],u[1][0]-t[1]]}function y(e){return[[e.x,e.x+e.width],[e.y,e.y+e.height]]}function x(e,t,n,i,o){e[i]+=n[i][o]-t[i][o]}n.attr("position",h),i.attr("position",p),n.rotation=i.rotation=e.rotation,v(n),v(i)},_createAxis:function(e,t){var n=t.getData(),i=t.get("axisType"),o=d.createScaleByModel(t,i);o.getTicks=function(){return n.mapArray(["value"],(function(e){return e}))};var a=n.getDataExtent("value");o.setExtent(a[0],a[1]),o.niceTicks();var r=new u("value",o,e.axisExtent,i);return r.model=t,r},_createGroup:function(e){var t=this["_"+e]=new r.Group;return this.group.add(t),t},_renderAxisLine:function(e,t,n,o){var a=n.getExtent();o.get("lineStyle.show")&&t.add(new r.Line({shape:{x1:a[0],y1:0,x2:a[1],y2:0},style:i.extend({lineCap:"round"},o.getModel("lineStyle").getLineStyle()),silent:!0,z2:1}))},_renderAxisTick:function(e,t,n,i){var o=i.getData(),a=n.scale.getTicks();f(a,(function(e){var a=n.dataToCoord(e),s=o.getItemModel(e),l=s.getModel("itemStyle"),u=s.getModel("emphasis.itemStyle"),c={position:[a,0],onclick:g(this._changeTimeline,this,e)},d=y(s,l,t,c);r.setHoverStyle(d,u.getItemStyle()),s.get("tooltip")?(d.dataIndex=e,d.dataModel=i):d.dataIndex=d.dataModel=null}),this)},_renderAxisLabel:function(e,t,n,i){if(n.getLabelModel().get("show")){var o=i.getData(),a=n.getViewLabels();f(a,(function(i){var a=i.tickValue,s=o.getItemModel(a),l=s.getModel("label"),u=s.getModel("emphasis.label"),c=n.dataToCoord(i.tickValue),d=new r.Text({position:[c,0],rotation:e.labelRotation-e.rotation,onclick:g(this._changeTimeline,this,a),silent:!1});r.setTextStyle(d.style,l,{text:i.formattedLabel,textAlign:e.labelAlign,textVerticalAlign:e.labelBaseline}),t.add(d),r.setHoverStyle(d,r.setTextStyle({},u))}),this)}},_renderControl:function(e,t,n,i){var a=e.controlSize,s=e.rotation,l=i.getModel("controlStyle").getItemStyle(),u=i.getModel("emphasis.controlStyle").getItemStyle(),c=[0,-a/2,a,a],d=i.getPlayState(),h=i.get("inverse",!0);function p(e,n,d,h){if(e){var p=function(e,t,n,i){var a=i.style,s=r.createIcon(e.get(t),i||{},new o(n[0],n[1],n[2],n[3]));a&&s.setStyle(a);return s}(i,n,c,{position:e,origin:[a/2,0],rotation:h?-s:0,rectHover:!0,style:l,onclick:d});t.add(p),r.setHoverStyle(p,u)}}p(e.nextBtnPosition,"controlStyle.nextIcon",g(this._changeTimeline,this,h?"-":"+")),p(e.prevBtnPosition,"controlStyle.prevIcon",g(this._changeTimeline,this,h?"+":"-")),p(e.playPosition,"controlStyle."+(d?"stopIcon":"playIcon"),g(this._handlePlayClick,this,!d),!0)},_renderCurrentPointer:function(e,t,n,i){var o=i.getData(),a=i.getCurrentIndex(),r=o.getItemModel(a).getModel("checkpointStyle"),s=this,l={onCreate:function(e){e.draggable=!0,e.drift=g(s._handlePointerDrag,s),e.ondragend=g(s._handlePointerDragend,s),x(e,a,n,i,!0)},onUpdate:function(e){x(e,a,n,i)}};this._currentPointer=y(r,r,this._mainGroup,{},this._currentPointer,l)},_handlePlayClick:function(e){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:e,from:this.uid})},_handlePointerDrag:function(e,t,n){this._clearTimer(),this._pointerChangeTimeline([n.offsetX,n.offsetY])},_handlePointerDragend:function(e){this._pointerChangeTimeline([e.offsetX,e.offsetY],!0)},_pointerChangeTimeline:function(e,t){var n=this._toAxisCoord(e)[0],i=this._axis,o=h.asc(i.getExtent().slice());n>o[1]&&(n=o[1]),n0){var n=t.map((function(e){return e.project_id}));M(n)}}})).catch((function(e){}))}return(0,o.useEffect)((function(){I()}),[]),a.default.createElement(a.default.Fragment,null,a.default.createElement(u.default,{visible:x,onCancel:function(){return _(!1)},onSure:function(e){e&&0===e.length&&M([]);var n="/users/"+t+"/is_pinned_projects/pin.json";l.default.post(n,{is_pinned_project_ids:e}).then((function(e){e&&e.data&&(_(!1),I())})).catch((function(e){}))},username:t,choosed:w,completeProfile:d,showCompeleteDialog:c,history:h}),f&&f.length>0&&a.default.createElement("div",{className:"concentrate"},a.default.createElement(r.FlexAJ,null,a.default.createElement("span",{className:"font-18"},"精选项目"),n&&a.default.createElement("a",{className:"color-blue",onClick:function(){return _(!0)}},"自定义精选项目")),a.default.createElement("div",null,a.default.createElement("ul",{className:"concentrateUl"},f.map((function(e,t){return a.default.createElement("li",{key:e.id},a.default.createElement(s.Link,{to:"/"+(e.author&&e.author.login)+"/"+e.identifier,className:"name"},e.name),a.default.createElement("p",{className:"task-hide desc"},e.description),a.default.createElement(r.AlignCenter,null,e.category&&a.default.createElement("span",{className:"tagName"},e.category.name),a.default.createElement("span",{className:"pariseCount"},a.default.createElement("i",{className:"iconfont icon-guanzhu"}),e.watchers_count),a.default.createElement("span",{className:"forkCount"},a.default.createElement("i",{className:"iconfont icon-fork"}),e.forked_count)))}))))),f&&0===f.length&&n&&a.default.createElement("div",{className:"ConcentrateTip"},a.default.createElement("i",{className:"iconfont icon-tishi2"}),"你还没有设置精选项目,",a.default.createElement("a",{onClick:function(){return _(!0)}},"点击设置")))}},OUJF:function(e,t,n){var i=n("ProS"),o=n("bYtY");i.registerAction({type:"timelineChange",event:"timelineChanged",update:"prepareAndUpdate"},(function(e,t){var n=t.getComponent("timeline");return n&&null!=e.currentIndex&&(n.setCurrentIndex(e.currentIndex),!n.get("loop",!0)&&n.isIndexMax()&&n.setPlayState(!1)),t.resetOption("timeline"),o.defaults({currentIndex:n.option.currentIndex},e)})),i.registerAction({type:"timelinePlayChange",event:"timelinePlayChanged",update:"update"},(function(e,t){var n=t.getComponent("timeline");n&&null!=e.playState&&n.setPlayState(e.playState)}))},OXB0:function(e,t,n){var i=n("T4UG"),o=n("MwEJ"),a=n("IDmD"),r=i.extend({type:"series.heatmap",getInitialData:function(e,t){return o(this.getSource(),this,{generateCoord:"value"})},preventIncremental:function(){var e=a.get(this.get("coordinateSystem"));if(e&&e.dimensions)return"lng"===e.dimensions[0]&&"lat"===e.dimensions[1]},defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,geoIndex:0,blurSize:30,pointSize:20,maxOpacity:1,minOpacity:0}});e.exports=r},OlYY:function(e,t,n){n("Tghj").__DEV__;var i=n("ProS"),o=n("bYtY"),a=n("ItGF"),r=n("4NO4"),s=n("UOVi"),l=n("zDms"),u=o.each,c=s.eachAxisDim;function d(e){var t={};return u(["start","end","startValue","endValue","throttle"],(function(n){e.hasOwnProperty(n)&&(t[n]=e[n])})),t}function h(e,t){var n=e._rangePropMode,i=e.get("rangeMode");u([["start","startValue"],["end","endValue"]],(function(e,o){var a=null!=t[e[0]],r=null!=t[e[1]];a&&!r?n[o]="percent":!a&&r?n[o]="value":i?n[o]=i[o]:a&&(n[o]="percent")}))}var p=i.extendComponentModel({type:"dataZoom",dependencies:["xAxis","yAxis","zAxis","radiusAxis","angleAxis","singleAxis","series"],defaultOption:{zlevel:0,z:4,orient:null,xAxisIndex:null,yAxisIndex:null,filterMode:"filter",throttle:null,start:0,end:100,startValue:null,endValue:null,minSpan:null,maxSpan:null,minValueSpan:null,maxValueSpan:null,rangeMode:null},init:function(e,t,n){this._dataIntervalByAxis={},this._dataInfo={},this._axisProxies={},this.textStyleModel,this._autoThrottle=!0,this._rangePropMode=["percent","percent"];var i=d(e);this.settledOption=i,this.mergeDefaultAndTheme(e,n),this.doInit(i)},mergeOption:function(e){var t=d(e);o.merge(this.option,e,!0),o.merge(this.settledOption,t,!0),this.doInit(t)},doInit:function(e){var t=this.option;a.canvasSupported||(t.realtime=!1),this._setDefaultThrottle(e),h(this,e);var n=this.settledOption;u([["start","startValue"],["end","endValue"]],(function(e,i){"value"===this._rangePropMode[i]&&(t[e[0]]=n[e[0]]=null)}),this),this.textStyleModel=this.getModel("textStyle"),this._resetTarget(),this._giveAxisProxies()},_giveAxisProxies:function(){var e=this._axisProxies;this.eachTargetAxis((function(t,n,i,o){var a=this.dependentModels[t.axis][n],r=a.__dzAxisProxy||(a.__dzAxisProxy=new l(t.name,n,this,o));e[t.name+"_"+n]=r}),this)},_resetTarget:function(){var e=this.option,t=this._judgeAutoMode();c((function(t){var n=t.axisIndex;e[n]=r.normalizeToArray(e[n])}),this),"axisIndex"===t?this._autoSetAxisIndex():"orient"===t&&this._autoSetOrient()},_judgeAutoMode:function(){var e=this.option,t=!1;c((function(n){null!=e[n.axisIndex]&&(t=!0)}),this);var n=e.orient;return null==n&&t?"orient":t?void 0:(null==n&&(e.orient="horizontal"),"axisIndex")},_autoSetAxisIndex:function(){var e=!0,t=this.get("orient",!0),n=this.option,i=this.dependentModels;if(e){var a="vertical"===t?"y":"x";i[a+"Axis"].length?(n[a+"AxisIndex"]=[0],e=!1):u(i.singleAxis,(function(i){e&&i.get("orient",!0)===t&&(n.singleAxisIndex=[i.componentIndex],e=!1)}))}e&&c((function(t){if(e){var i=[],o=this.dependentModels[t.axis];if(o.length&&!i.length)for(var a=0,r=o.length;a0?100:20}},getFirstTargetAxisModel:function(){var e;return c((function(t){if(null==e){var n=this.get(t.axisIndex);n.length&&(e=this.dependentModels[t.axis][n[0]])}}),this),e},eachTargetAxis:function(e,t){var n=this.ecModel;c((function(i){u(this.get(i.axisIndex),(function(o){e.call(t,i,o,this,n)}),this)}),this)},getAxisProxy:function(e,t){return this._axisProxies[e+"_"+t]},getAxisModel:function(e,t){var n=this.getAxisProxy(e,t);return n&&n.getAxisModel()},setRawRange:function(e){var t=this.option,n=this.settledOption;u([["start","startValue"],["end","endValue"]],(function(i){null==e[i[0]]&&null==e[i[1]]||(t[i[0]]=n[i[0]]=e[i[0]],t[i[1]]=n[i[1]]=e[i[1]])}),this),h(this,e)},setCalculatedRange:function(e){var t=this.option;u(["start","startValue","end","endValue"],(function(n){t[n]=e[n]}))},getPercentRange:function(){var e=this.findRepresentativeAxisProxy();if(e)return e.getDataPercentWindow()},getValueRange:function(e,t){if(null!=e||null!=t)return this.getAxisProxy(e,t).getDataValueWindow();var n=this.findRepresentativeAxisProxy();return n?n.getDataValueWindow():void 0},findRepresentativeAxisProxy:function(e){if(e)return e.__dzAxisProxy;var t=this._axisProxies;for(var n in t)if(t.hasOwnProperty(n)&&t[n].hostedBy(this))return t[n];for(var n in t)if(t.hasOwnProperty(n)&&!t[n].hostedBy(this))return t[n]},getRangePropMode:function(){return this._rangePropMode.slice()}});e.exports=p},P47w:function(e,t,n){var i=n("hydK").createElement,o=n("IMiH"),a=n("mFDi"),r=n("Fofx"),s=n("6GrX"),l=n("pzxd"),u=n("dqUG"),c=o.CMD,d=Array.prototype.join,h=Math.round,p=Math.sin,g=Math.cos,f=Math.PI,m=2*Math.PI,v=180/f;function y(e){return h(1e4*e)/1e4}function x(e){return e<1e-4&&e>-1e-4}function _(e,t){t&&b(e,"transform","matrix("+d.call(t,",")+")")}function b(e,t,n){(!n||"linear"!==n.type&&"radial"!==n.type)&&e.setAttribute(t,n)}function S(e,t,n,i){if(function(e,t){var n=t?e.textFill:e.fill;return null!=n&&"none"!==n}(t,n)){var o=n?t.textFill:t.fill;b(e,"fill",o="transparent"===o?"none":o),b(e,"fill-opacity",null!=t.fillOpacity?t.fillOpacity*t.opacity:t.opacity)}else b(e,"fill","none");if(function(e,t){var n=t?e.textStroke:e.stroke;return null!=n&&"none"!==n}(t,n)){var a=n?t.textStroke:t.stroke;b(e,"stroke",a="transparent"===a?"none":a),b(e,"stroke-width",(n?t.textStrokeWidth:t.lineWidth)/(!n&&t.strokeNoScale?i.getLineScale():1)),b(e,"paint-order",n?"stroke":"fill"),b(e,"stroke-opacity",null!=t.strokeOpacity?t.strokeOpacity:t.opacity),t.lineDash?(b(e,"stroke-dasharray",t.lineDash.join(",")),b(e,"stroke-dashoffset",h(t.lineDashOffset||0))):b(e,"stroke-dasharray",""),t.lineCap&&b(e,"stroke-linecap",t.lineCap),t.lineJoin&&b(e,"stroke-linejoin",t.lineJoin),t.miterLimit&&b(e,"stroke-miterlimit",t.miterLimit)}else b(e,"stroke","none")}var w={};w.brush=function(e){var t=e.style,n=e.__svgEl;n||(n=i("path"),e.__svgEl=n),e.path||e.createPathProxy();var o=e.path;if(e.__dirtyPath){o.beginPath(),o.subPixelOptimize=!1,e.buildPath(o,e.shape),e.__dirtyPath=!1;var a=function(e){for(var t=[],n=e.data,i=e.len(),o=0;o=m:-b>=m),A=b>0?b%m:b%m+m,T=!1;T=!!I||!x(M)&&A>=f==!!w;var D=y(s+u*g(_)),C=y(l+d*p(_));I&&(b=w?m-1e-4:1e-4-m,T=!0,9===o&&t.push("M",D,C));var L=y(s+u*g(_+b)),P=y(l+d*p(_+b));t.push("A",y(u),y(d),h(S*v),+T,+w,L,P);break;case c.Z:a="Z";break;case c.R:L=y(n[o++]),P=y(n[o++]);var k=y(n[o++]),N=y(n[o++]);t.push("M",L,P,"L",L+k,P,"L",L+k,P+N,"L",L,P+N,"L",L,P)}a&&t.push(a);for(var E=0;EV){for(;Oe[1])break;n.push({color:this.getControllerVisual(a,"color",t),offset:o/100})}return n.push({color:this.getControllerVisual(e[1],"color",t),offset:1}),n},_createBarPoints:function(e,t){var n=this.visualMapModel.itemSize;return[[n[0]-t[0],e[0]],[n[0],e[0]],[n[0],e[1]],[n[0]-t[1],e[1]]]},_createBarGroup:function(e){var t=this._orient,n=this.visualMapModel.get("inverse");return new s.Group("horizontal"!==t||n?"horizontal"===t&&n?{scale:"bottom"===e?[-1,1]:[1,1],rotation:-Math.PI/2}:"vertical"!==t||n?{scale:"left"===e?[1,1]:[-1,1]}:{scale:"left"===e?[1,-1]:[-1,-1]}:{scale:"bottom"===e?[1,1]:[-1,1],rotation:Math.PI/2})},_updateHandle:function(e,t){if(this._useHandle){var n=this._shapes,i=this.visualMapModel,o=n.handleThumbs,a=n.handleLabels;p([0,1],(function(r){var l=o[r];l.setStyle("fill",t.handlesColor[r]),l.position[1]=e[r];var u=s.applyTransform(n.handleLabelPoints[r],s.getTransform(l,this.group));a[r].setStyle({x:u[0],y:u[1],text:i.formatValueText(this._dataInterval[r]),textVerticalAlign:"middle",textAlign:this._applyTransform("horizontal"===this._orient?0===r?"bottom":"top":"left",n.barGroup)})}),this)}},_showIndicator:function(e,t,n,i){var o=this.visualMapModel,a=o.getExtent(),r=o.itemSize,l=[0,r[1]],u=h(e,a,l,!0),c=this._shapes,d=c.indicator;if(d){d.position[1]=u,d.attr("invisible",!1),d.setShape("points",function(e,t,n,i){return e?[[0,-g(t,f(n,0))],[6,0],[0,g(t,f(i-n,0))]]:[[0,0],[5,-5],[5,5]]}(!!n,i,u,r[1]));var p=this.getControllerVisual(e,"color",{convertOpacityToAlpha:!0});d.setStyle("fill",p);var m=s.applyTransform(c.indicatorLabelPoint,s.getTransform(d,this.group)),v=c.indicatorLabel;v.attr("invisible",!1);var y=this._applyTransform("left",c.barGroup),x=this._orient;v.setStyle({text:(n||"")+o.formatValueText(t),textVerticalAlign:"horizontal"===x?y:"middle",textAlign:"horizontal"===x?"center":y,x:m[0],y:m[1]})}},_enableHoverLinkToSeries:function(){var e=this;this._shapes.barGroup.on("mousemove",(function(t){if(e._hovering=!0,!e._dragging){var n=e.visualMapModel.itemSize,i=e._applyTransform([t.offsetX,t.offsetY],e._shapes.barGroup,!0,!0);i[1]=g(f(0,i[1]),n[1]),e._doHoverLinkToSeries(i[1],0<=i[0]&&i[0]<=n[0])}})).on("mouseout",(function(){e._hovering=!1,!e._dragging&&e._clearHoverLinkToSeries()}))},_enableHoverLinkFromSeries:function(){var e=this.api.getZr();this.visualMapModel.option.hoverLink?(e.on("mouseover",this._hoverLinkFromSeriesMouseOver,this),e.on("mouseout",this._hideIndicator,this)):this._clearHoverLinkFromSeries()},_doHoverLinkToSeries:function(e,t){var n=this.visualMapModel,i=n.itemSize;if(n.option.hoverLink){var o=[0,i[1]],a=n.getExtent();e=g(f(o[0],e),o[1]);var r=function(e,t,n){var i=6,o=e.get("hoverLinkDataSize");o&&(i=h(o,t,n,!0)/2);return i}(n,a,o),s=[e-r,e+r],l=h(e,o,a,!0),u=[h(s[0],o,a,!0),h(s[1],o,a,!0)];s[0]o[1]&&(u[1]=1/0),t&&(u[0]===-1/0?this._showIndicator(l,u[1],"< ",r):u[1]===1/0?this._showIndicator(l,u[0],"> ",r):this._showIndicator(l,l,"≈ ",r));var p=this._hoverLinkDataIndices,m=[];(t||y(n))&&(m=this._hoverLinkDataIndices=n.findTargetDataIndices(u));var v=d.compressBatches(p,m);this._dispatchHighDown("downplay",c.makeHighDownBatch(v[0],n)),this._dispatchHighDown("highlight",c.makeHighDownBatch(v[1],n))}},_hoverLinkFromSeriesMouseOver:function(e){var t=e.target,n=this.visualMapModel;if(t&&null!=t.dataIndex){var i=this.ecModel.getSeriesByIndex(t.seriesIndex);if(n.isTargetSeries(i)){var o=i.getData(t.dataType),a=o.get(n.getDataDimension(o),t.dataIndex,!0);isNaN(a)||this._showIndicator(a,a)}}},_hideIndicator:function(){var e=this._shapes;e.indicator&&e.indicator.attr("invisible",!0),e.indicatorLabel&&e.indicatorLabel.attr("invisible",!0)},_clearHoverLinkToSeries:function(){this._hideIndicator();var e=this._hoverLinkDataIndices;this._dispatchHighDown("downplay",c.makeHighDownBatch(e,this.visualMapModel)),e.length=0},_clearHoverLinkFromSeries:function(){this._hideIndicator();var e=this.api.getZr();e.off("mouseover",this._hoverLinkFromSeriesMouseOver),e.off("mouseout",this._hideIndicator)},_applyTransform:function(e,t,n,o){var a=s.getTransform(t,o?null:this.group);return s[i.isArray(e)?"applyTransform":"transformDirection"](e,a,n)},_dispatchHighDown:function(e,t){t&&t.length&&this.api.dispatchAction({type:e,batch:t})},dispose:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},remove:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()}});function v(e,t,n,i){return new s.Polygon({shape:{points:e},draggable:!!n,cursor:t,drift:n,onmousemove:function(e){a.stop(e.event)},ondragend:i})}function y(e){var t=e.get("hoverLinkOnHandle");return!!(null==t?e.get("realtime"):t)}function x(e){return"vertical"===e?"ns-resize":"ew-resize"}var _=m;e.exports=_},Q7if:function(e,t,n){var i=n("JEkh").extend({type:"markArea",defaultOption:{zlevel:0,z:1,tooltip:{trigger:"item"},animation:!1,label:{show:!0,position:"top"},itemStyle:{borderWidth:0},emphasis:{label:{show:!0,position:"top"}}}});e.exports=i},QI0a:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=h(n("kLXV")),o=h(n("W9HT")),a=h(n("kaz8")),r=h(n("5rEg")),s=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],i=!0,o=!1,a=void 0;try{for(var r,s=e[Symbol.iterator]();!(i=(r=s.next()).done)&&(n.push(r.value),!t||n.length!==t);i=!0);}catch(e){o=!0,a=e}finally{try{!i&&s.return&&s.return()}finally{if(o)throw a}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};n("k3Gp"),n("04bd"),n("MKzF"),n("1vPl");var l=n("q1tI"),u=h(l),c=h(n("vDqi")),d=h(n("aqs5"));function h(e){return e&&e.__esModule?e:{default:e}}var p=r.default.Search;t.default=function(e){var t=e.visible,n=e.onCancel,r=e.onSure,h=e.username,g=e.choosed,f=e.history,m=e.showCompeleteDialog,v=e.completeProfile,y=(0,l.useState)(1),x=s(y,2),_=x[0],b=x[1],S=(0,l.useState)(0),w=s(S,2),M=w[0],I=w[1],A=(0,l.useState)(!1),T=s(A,2),D=T[0],C=T[1],L=(0,l.useState)(""),P=s(L,2),k=P[0],N=P[1],E=(0,l.useState)([]),O=s(E,2),R=O[0],V=O[1],z=(0,l.useState)([]),B=s(z,2),G=B[0],Y=B[1],H=(0,l.useState)(!0),W=s(H,2),F=W[0],j=W[1],Z=(0,l.useState)(!1),U=s(Z,2),X=U[0],q=U[1],K=(0,l.useState)([]),Q=s(K,2),J=Q[0],$=Q[1],ee=(0,l.useState)([]),te=s(ee,2),ne=te[0],ie=te[1];function oe(e,t){var n="/users/"+h+"/projects.json";c.default.get(n,{params:{page:e,limit:20,is_public:"public",search:t,choosed:g}}).then((function(e){if(e&&e.data){var t=k?e.data.projects:(o=R,a=e.data.projects,o.map((function(e,t){if(""!==e){var n=a.indexOf(e);n>-1&&a.splice(n,1)}})),o=o.concat(a));ie(k?ne:t),I(e.data.count),V(t),j(!1);var n=parseInt(e.data.count/20,0),i=e.data.count%20;C(i>0?n+1:n)}var o,a})).catch((function(e){}))}return(0,l.useEffect)((function(){t?(j(!0),oe()):(N(""),ie([]),$([]),V([]))}),[t]),(0,l.useEffect)((function(){_>1&&(j(!0),oe(_,void 0))}),[_]),(0,l.useEffect)((function(){t&&g&&g.length>0&&Y(g)}),[t,g]),(0,l.useEffect)((function(){G&&6===G.length?q(!0):q(!1)}),[G]),u.default.createElement(i.default,{visible:t,title:"选择精选项目",closable:!0,width:500,className:"ConcentrateBox",onCancel:n,onOk:function(){r&&r(G),Y([])},okText:"确定",cancelText:"取消"},u.default.createElement(o.default,{spinning:F},u.default.createElement("div",{className:"operateDiv"},u.default.createElement("p",null,"最多可选取6个公开仓库"),u.default.createElement(p,{placeholder:"请输入项目名称进行搜索",onSearch:function(e){e===k&&""===e||(ie(R),G&&G.length>0?function(e){if(e&&e.length>0){for(var t=[],n=0;n0&&t.push(i[0])}$(t)}}(G):$([]),b(1),N(e),oe(1,e))},enterButton:"搜索",allowClear:!0,value:k,onChange:function(e){return N(e.target.value)}})),u.default.createElement("div",{className:"listbox"},u.default.createElement(a.default.Group,{value:G,onChange:function(e){Y(e)},style:{width:"100%"}},J&&J.length>0&&J.map((function(e,t){return u.default.createElement(a.default,{value:e.id,disabled:X&&0===G.filter((function(t){return t===e.id})).length},e.author&&e.author.name,"/",e.name)})),R&&R.length>0&&R.map((function(e,t){return!(J&&J.length>0&&0!==J.filter((function(t){return t.id===e.id})).length)&&u.default.createElement(a.default,{value:e.id,disabled:X&&0===G.filter((function(t){return t===e.id})).length},e.author&&e.author.name,"/",e.name)})))),M>20&&_=t.y&&e[1]<=t.y+t.height:n.contain(n.toLocalCoord(e[1]))&&e[0]>=t.y&&e[0]<=t.y+t.height},pointToData:function(e){var t=this.getAxis();return[t.coordToData(t.toLocalCoord(e["horizontal"===t.orient?0:1]))]},dataToPoint:function(e){var t=this.getAxis(),n=this.getRect(),i=[],o="horizontal"===t.orient?0:1;return e instanceof Array&&(e=e[0]),i[o]=t.toGlobalCoord(t.dataToCoord(+e)),i[1-o]=0===o?n.y+n.height/2:n.x+n.width/2,i}};var l=s;e.exports=l},"SA4+":function(e,t,n){n("Tghj").__DEV__;var i=n("ProS"),o=n("IwbS"),a=n("zYTA"),r=n("bYtY");var s=i.extendChartView({type:"heatmap",render:function(e,t,n){var i;t.eachComponent("visualMap",(function(t){t.eachTargetSeries((function(n){n===e&&(i=t)}))})),this.group.removeAll(),this._incrementalDisplayable=null;var o=e.coordinateSystem;"cartesian2d"===o.type||"calendar"===o.type?this._renderOnCartesianAndCalendar(e,n,0,e.getData().count()):function(e){var t=e.dimensions;return"lng"===t[0]&&"lat"===t[1]}(o)&&this._renderOnGeo(o,e,i,n)},incrementalPrepareRender:function(e,t,n){this.group.removeAll()},incrementalRender:function(e,t,n,i){t.coordinateSystem&&this._renderOnCartesianAndCalendar(t,i,e.start,e.end,!0)},_renderOnCartesianAndCalendar:function(e,t,n,i,a){var s,l,u=e.coordinateSystem;if("cartesian2d"===u.type){var c=u.getAxis("x"),d=u.getAxis("y");s=c.getBandWidth(),l=d.getBandWidth()}for(var h=this.group,p=e.getData(),g=e.getModel("itemStyle").getItemStyle(["color"]),f=e.getModel("emphasis.itemStyle").getItemStyle(),m=e.getModel("label"),v=e.getModel("emphasis.label"),y=u.type,x="cartesian2d"===y?[p.mapDimension("x"),p.mapDimension("y"),p.mapDimension("value")]:[p.mapDimension("time"),p.mapDimension("value")],_=n;_=t[0]&&e<=t[1]}}(b,n.option.range):function(e,t,n){var i=e[1]-e[0],o=(t=r.map(t,(function(t){return{interval:[(t.interval[0]-e[0])/i,(t.interval[1]-e[0])/i]}}))).length,a=0;return function(e){for(var i=a;i=0;i--){var r;if((r=t[i].interval)[0]<=e&&e<=r[1]){a=i;break}}return i>=0&&i=0?i+=f:i-=f:_>=0?i-=f:i+=f}return i}e.exports=function(e,t){var n=[],r=i.quadraticSubdivide,s=[[],[],[]],l=[[],[]],u=[];t/=2,e.eachEdge((function(e,i){var c=e.getLayout(),d=e.getVisual("fromSymbol"),p=e.getVisual("toSymbol");c.__original||(c.__original=[o.clone(c[0]),o.clone(c[1])],c[2]&&c.__original.push(o.clone(c[2])));var g=c.__original;if(null!=c[2]){if(o.copy(s[0],g[0]),o.copy(s[1],g[2]),o.copy(s[2],g[1]),d&&"none"!==d){var f=a(e.node1),m=h(s,g[0],f*t);r(s[0][0],s[1][0],s[2][0],m,n),s[0][0]=n[3],s[1][0]=n[4],r(s[0][1],s[1][1],s[2][1],m,n),s[0][1]=n[3],s[1][1]=n[4]}if(p&&"none"!==p){f=a(e.node2),m=h(s,g[1],f*t);r(s[0][0],s[1][0],s[2][0],m,n),s[1][0]=n[1],s[2][0]=n[2],r(s[0][1],s[1][1],s[2][1],m,n),s[1][1]=n[1],s[2][1]=n[2]}o.copy(c[0],s[0]),o.copy(c[1],s[2]),o.copy(c[2],s[1])}else{if(o.copy(l[0],g[0]),o.copy(l[1],g[1]),o.sub(u,l[1],l[0]),o.normalize(u,u),d&&"none"!==d){f=a(e.node1);o.scaleAndAdd(l[0],l[0],u,f*t)}if(p&&"none"!==p){f=a(e.node2);o.scaleAndAdd(l[1],l[1],u,-f*t)}o.copy(c[0],l[0]),o.copy(c[1],l[1])}}))}},SMc4:function(e,t,n){var i=n("bYtY"),o=n("bLfw"),a=n("nkfE"),r=n("ICMv"),s=o.extend({type:"cartesian2dAxis",axis:null,init:function(){s.superApply(this,"init",arguments),this.resetRange()},mergeOption:function(){s.superApply(this,"mergeOption",arguments),this.resetRange()},restoreData:function(){s.superApply(this,"restoreData",arguments),this.resetRange()},getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"grid",index:this.option.gridIndex,id:this.option.gridId})[0]}});function l(e,t){return t.type||(t.data?"category":"value")}i.merge(s.prototype,r);var u={offset:0};a("x",s,l,u),a("y",s,l,u);var c=s;e.exports=c},SehX:function(e,t,n){var i=n("ProS"),o=n("bYtY"),a=n("2B6p").updateCenterAndZoom;i.registerAction({type:"geoRoam",event:"geoRoam",update:"updateTransform"},(function(e,t){var n=e.componentType||"series";t.eachComponent({mainType:n,query:e},(function(t){var i=t.coordinateSystem;if("geo"===i.type){var r=a(i,e,t.get("scaleLimit"));t.setCenter&&t.setCenter(r.center),t.setZoom&&t.setZoom(r.zoom),"series"===n&&o.each(t.seriesGroup,(function(e){e.setCenter(r.center),e.setZoom(r.zoom)}))}}))}))},SgGq:function(e,t,n){var i=n("bYtY"),o=n("H6uX"),a=n("YH21"),r=n("pP6R");function s(e){this.pointerChecker,this._zr=e,this._opt={};var t=i.bind,n=t(l,this),a=t(u,this),r=t(c,this),s=t(d,this),p=t(h,this);o.call(this),this.setPointerChecker=function(e){this.pointerChecker=e},this.enable=function(t,o){this.disable(),this._opt=i.defaults(i.clone(o)||{},{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),null==t&&(t=!0),!0!==t&&"move"!==t&&"pan"!==t||(e.on("mousedown",n),e.on("mousemove",a),e.on("mouseup",r)),!0!==t&&"scale"!==t&&"zoom"!==t||(e.on("mousewheel",s),e.on("pinch",p))},this.disable=function(){e.off("mousedown",n),e.off("mousemove",a),e.off("mouseup",r),e.off("mousewheel",s),e.off("pinch",p)},this.dispose=this.disable,this.isDragging=function(){return this._dragging},this.isPinching=function(){return this._pinching}}function l(e){if(!(a.isMiddleOrRightButtonOnMouseUpDown(e)||e.target&&e.target.draggable)){var t=e.offsetX,n=e.offsetY;this.pointerChecker&&this.pointerChecker(e,t,n)&&(this._x=t,this._y=n,this._dragging=!0)}}function u(e){if(this._dragging&&f("moveOnMouseMove",e,this._opt)&&"pinch"!==e.gestureEvent&&!r.isTaken(this._zr,"globalPan")){var t=e.offsetX,n=e.offsetY,i=this._x,o=this._y,s=t-i,l=n-o;this._x=t,this._y=n,this._opt.preventDefaultMouseMove&&a.stop(e.event),g(this,"pan","moveOnMouseMove",e,{dx:s,dy:l,oldX:i,oldY:o,newX:t,newY:n})}}function c(e){a.isMiddleOrRightButtonOnMouseUpDown(e)||(this._dragging=!1)}function d(e){var t=f("zoomOnMouseWheel",e,this._opt),n=f("moveOnMouseWheel",e,this._opt),i=e.wheelDelta,o=Math.abs(i),a=e.offsetX,r=e.offsetY;if(0!==i&&(t||n)){if(t){var s=o>3?1.4:o>1?1.2:1.1;p(this,"zoom","zoomOnMouseWheel",e,{scale:i>0?s:1/s,originX:a,originY:r})}if(n){var l=Math.abs(i);p(this,"scrollMove","moveOnMouseWheel",e,{scrollDelta:(i>0?1:-1)*(l>3?.4:l>1?.15:.05),originX:a,originY:r})}}}function h(e){r.isTaken(this._zr,"globalPan")||p(this,"zoom",null,e,{scale:e.pinchScale>1?1.1:1/1.1,originX:e.pinchX,originY:e.pinchY})}function p(e,t,n,i,o){e.pointerChecker&&e.pointerChecker(i,o.originX,o.originY)&&(a.stop(i.event),g(e,t,n,i,o))}function g(e,t,n,o,a){a.isAvailableBehavior=i.bind(f,null,n,o),e.trigger(t,a)}function f(e,t,n){var o=n[e];return!e||o&&(!i.isString(o)||t.event[o+"Key"])}i.mixin(s,o);var m=s;e.exports=m},SrGk:function(e,t,n){var i=n("hydK").createElement,o=n("bYtY"),a=n("y+Vt"),r=n("Dagg"),s=n("dqUG"),l=n("P47w"),u=l.path,c=l.image,d=l.text;function h(e,t,n,i,o){this._zrId=e,this._svgRoot=t,this._tagNames="string"==typeof n?[n]:n,this._markLabel=i,this._domName=o||"_dom",this.nextId=0}h.prototype.createElement=i,h.prototype.getDefs=function(e){var t=this._svgRoot,n=this._svgRoot.getElementsByTagName("defs");return 0===n.length?e?((n=t.insertBefore(this.createElement("defs"),t.firstChild)).contains||(n.contains=function(e){var t=n.children;if(!t)return!1;for(var i=t.length-1;i>=0;--i)if(t[i]===e)return!0;return!1}),n):null:n[0]},h.prototype.update=function(e,t){if(e){var n=this.getDefs(!1);if(e[this._domName]&&n.contains(e[this._domName]))"function"==typeof t&&t(e);else{var i=this.add(e);i&&(e[this._domName]=i)}}},h.prototype.addDom=function(e){this.getDefs(!0).appendChild(e)},h.prototype.removeDom=function(e){var t=this.getDefs(!1);t&&e[this._domName]&&(t.removeChild(e[this._domName]),e[this._domName]=null)},h.prototype.getDoms=function(){var e=this.getDefs(!1);if(!e)return[];var t=[];return o.each(this._tagNames,(function(n){var i=e.getElementsByTagName(n);t=t.concat([].slice.call(i))})),t},h.prototype.markAllUnused=function(){var e=this.getDoms(),t=this;o.each(e,(function(e){e[t._markLabel]="0"}))},h.prototype.markUsed=function(e){e&&(e[this._markLabel]="1")},h.prototype.removeUnused=function(){var e=this.getDefs(!1);if(e){var t=this.getDoms(),n=this;o.each(t,(function(t){"1"!==t[n._markLabel]&&e.removeChild(t)}))}},h.prototype.getSvgProxy=function(e){return e instanceof a?u:e instanceof r?c:e instanceof s?d:u},h.prototype.getTextSvgElement=function(e){return e.__textSvgEl},h.prototype.getSvgElement=function(e){return e.__svgEl};var p=h;e.exports=p},Swgg:function(e,t,n){var i=n("fc+c").extend({type:"dataZoom.select"});e.exports=i},TIY9:function(e,t,n){var i=n("bYtY").each,o=n("vafp"),a=n("4NO4").makeInner,r=n("Mgri"),s=n("F5Ls"),l=n("a9QJ"),u=n("p/La"),c=a(),d={load:function(e,t,n){var a=c(t).parsed;if(a)return a;var d,p=t.specialAreas||{},g=t.geoJSON;try{d=g?o(g,n):[]}catch(e){throw new Error("Invalid geoJson format\n"+e.message)}return r(e,d),i(d,(function(t){var n=t.name;s(e,t),l(e,t),u(e,t);var i=p[n];i&&t.transformTo(i.left,i.top,i.width,i.height)})),c(t).parsed={regions:d,boundingRect:h(d)}}};function h(e){for(var t,n=0;n0?r:s)}function i(e,t){return t.get(e>0?o:a)}}};e.exports=l},TWL2:function(e,t,n){var i=n("IwbS"),o=n("bYtY"),a=n("6Ic6");function r(e,t){i.Group.call(this);var n=new i.Polygon,o=new i.Polyline,a=new i.Text;this.add(n),this.add(o),this.add(a),this.highDownOnUpdate=function(e,t){"emphasis"===t?(o.ignore=o.hoverIgnore,a.ignore=a.hoverIgnore):(o.ignore=o.normalIgnore,a.ignore=a.normalIgnore)},this.updateData(e,t,!0)}var s=r.prototype,l=["itemStyle","opacity"];s.updateData=function(e,t,n){var a=this.childAt(0),r=e.hostModel,s=e.getItemModel(t),u=e.getItemLayout(t),c=e.getItemModel(t).get(l);c=null==c?1:c,a.useStyle({}),n?(a.setShape({points:u.points}),a.setStyle({opacity:0}),i.initProps(a,{style:{opacity:c}},r,t)):i.updateProps(a,{style:{opacity:c},shape:{points:u.points}},r,t);var d=s.getModel("itemStyle"),h=e.getItemVisual(t,"color");a.setStyle(o.defaults({lineJoin:"round",fill:h},d.getItemStyle(["opacity"]))),a.hoverStyle=d.getModel("emphasis").getItemStyle(),this._updateLabel(e,t),i.setHoverStyle(this)},s._updateLabel=function(e,t){var n=this.childAt(1),o=this.childAt(2),a=e.hostModel,r=e.getItemModel(t),s=e.getItemLayout(t).label,l=e.getItemVisual(t,"color");i.updateProps(n,{shape:{points:s.linePoints||s.linePoints}},a,t),i.updateProps(o,{style:{x:s.x,y:s.y}},a,t),o.attr({rotation:s.rotation,origin:[s.x,s.y],z2:10});var u=r.getModel("label"),c=r.getModel("emphasis.label"),d=r.getModel("labelLine"),h=r.getModel("emphasis.labelLine");l=e.getItemVisual(t,"color");i.setLabelStyle(o.style,o.hoverStyle={},u,c,{labelFetcher:e.hostModel,labelDataIndex:t,defaultText:e.getName(t),autoColor:l,useInsideStyle:!!s.inside},{textAlign:s.textAlign,textVerticalAlign:s.verticalAlign}),o.ignore=o.normalIgnore=!u.get("show"),o.hoverIgnore=!c.get("show"),n.ignore=n.normalIgnore=!d.get("show"),n.hoverIgnore=!h.get("show"),n.setStyle({stroke:l}),n.setStyle(d.getModel("lineStyle").getLineStyle()),n.hoverStyle=h.getModel("lineStyle").getLineStyle()},o.inherits(r,i.Group);var u=a.extend({type:"funnel",render:function(e,t,n){var i=e.getData(),o=this._data,a=this.group;i.diff(o).add((function(e){var t=new r(i,e);i.setItemGraphicEl(e,t),a.add(t)})).update((function(e,t){var n=o.getItemGraphicEl(t);n.updateData(i,e),a.add(n),i.setItemGraphicEl(e,n)})).remove((function(e){var t=o.getItemGraphicEl(e);a.remove(t)})).execute(),this._data=i},remove:function(){this.group.removeAll(),this._data=null},dispose:function(){}});e.exports=u},TYVI:function(e,t,n){var i=n("5GtS"),o=n("T4UG").extend({type:"series.gauge",getInitialData:function(e,t){return i(this,["value"])},defaultOption:{zlevel:0,z:2,center:["50%","50%"],legendHoverLink:!0,radius:"75%",startAngle:225,endAngle:-45,clockwise:!0,min:0,max:100,splitNumber:10,axisLine:{show:!0,lineStyle:{color:[[.2,"#91c7ae"],[.8,"#63869e"],[1,"#c23531"]],width:30}},splitLine:{show:!0,length:30,lineStyle:{color:"#eee",width:2,type:"solid"}},axisTick:{show:!0,splitNumber:5,length:8,lineStyle:{color:"#eee",width:1,type:"solid"}},axisLabel:{show:!0,distance:5,color:"auto"},pointer:{show:!0,length:"80%",width:8},itemStyle:{color:"auto"},title:{show:!0,offsetCenter:[0,"-40%"],color:"#333",fontSize:15},detail:{show:!0,backgroundColor:"rgba(0,0,0,0)",borderWidth:0,borderColor:"#ccc",width:100,height:null,padding:[5,10],offsetCenter:[0,"40%"],color:"auto",fontSize:30}}});e.exports=o},ThAp:function(e,t,n){var i=n("bYtY"),o=n("5GtS"),a=n("T4UG"),r=n("7aKB"),s=r.encodeHTML,l=r.addCommas,u=n("cCMj"),c=n("KxfA").retrieveRawAttr,d=n("W4dC"),h=n("D5nY").makeSeriesEncodeForNameBased,p=a.extend({type:"series.map",dependencies:["geo"],layoutMode:"box",needsDrawMap:!1,seriesGroup:[],getInitialData:function(e){for(var t=o(this,{coordDimensions:["value"],encodeDefaulter:i.curry(h,this)}),n=t.mapDimension("value"),a=i.createHashMap(),r=[],s=[],l=0,u=t.count();l":"\n";return c.join(", ")+g+s(r+" : "+a)},getTooltipPosition:function(e){if(null!=e){var t=this.getData().getName(e),n=this.coordinateSystem,i=n.getRegion(t);return i&&n.dataToPoint(i.center)}},setZoom:function(e){this.option.zoom=e},setCenter:function(e){this.option.center=e},defaultOption:{zlevel:0,z:2,coordinateSystem:"geo",map:"",left:"center",top:"center",aspectScale:.75,showLegendSymbol:!0,dataRangeHoverLink:!0,boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",areaColor:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{areaColor:"rgba(255,215,0,0.8)"}},nameProperty:"name"}});i.mixin(p,u);var g=p;e.exports=g},TkdX:function(e,t,n){var i=n("bYtY"),o=n("IwbS"),a="none",r="ancestor",s="self";function l(e,t,n){o.Group.call(this);var i=new o.Sector({z2:2});i.seriesIndex=t.seriesIndex;var a=new o.Text({z2:4,silent:e.getModel("label").get("silent")});function r(){a.ignore=a.hoverIgnore}function s(){a.ignore=a.normalIgnore}this.add(i),this.add(a),this.updateData(!0,e,"normal",t,n),this.on("emphasis",r).on("normal",s).on("mouseover",r).on("mouseout",s)}var u=l.prototype;u.updateData=function(e,t,n,a,r){this.node=t,t.piece=this,a=a||this._seriesModel,r=r||this._ecModel;var s=this.childAt(0);s.dataIndex=t.dataIndex;var l=t.getModel(),u=t.getLayout(),c=i.extend({},u);c.label=null;var d=function(e,t,n){var o=e.getVisual("color"),a=e.getVisual("visualMeta");a&&0!==a.length||(o=null);var r=e.getModel("itemStyle").get("color");if(r)return r;if(o)return o;if(0===e.depth)return n.option.color[0];var s=n.option.color.length;r=n.option.color[function(e){var t=e;for(;t.depth>1;)t=t.parentNode;var n=e.getAncestors()[0];return i.indexOf(n.children,t)}(e)%s];return r}(t,0,r);!function(e,t,n){t.getData().setItemVisual(e.dataIndex,"color",n)}(t,a,d);var h,p=l.getModel("itemStyle").getItemStyle();if("normal"===n)h=p;else{var g=l.getModel(n+".itemStyle").getItemStyle();h=i.merge(g,p)}h=i.defaults({lineJoin:"bevel",fill:h.fill||d},h),e?(s.setShape(c),s.shape.r=u.r0,o.updateProps(s,{shape:{r:u.r}},a,t.dataIndex),s.useStyle(h)):"object"==typeof h.fill&&h.fill.type||"object"==typeof s.style.fill&&s.style.fill.type?(o.updateProps(s,{shape:c},a),s.useStyle(h)):o.updateProps(s,{shape:c,style:h},a),this._updateLabel(a,d,n);var f=l.getShallow("cursor");if(f&&s.attr("cursor",f),e){var m=a.getShallow("highlightPolicy");this._initEvents(s,t,a,m)}this._seriesModel=a||this._seriesModel,this._ecModel=r||this._ecModel,o.setHoverStyle(this)},u.onEmphasis=function(e){var t=this;this.node.hostTree.root.eachNode((function(n){var i,o,l;n.piece&&(t.node===n?n.piece.updateData(!1,n,"emphasis"):(i=n,o=t.node,(l=e)!==a&&(l===s?i===o:l===r?i===o||i.isAncestorOf(o):i===o||i.isDescendantOf(o))?n.piece.childAt(0).trigger("highlight"):e!==a&&n.piece.childAt(0).trigger("downplay")))}))},u.onNormal=function(){this.node.hostTree.root.eachNode((function(e){e.piece&&e.piece.updateData(!1,e,"normal")}))},u.onHighlight=function(){this.updateData(!1,this.node,"highlight")},u.onDownplay=function(){this.updateData(!1,this.node,"downplay")},u._updateLabel=function(e,t,n){var a=this.node.getModel(),r=a.getModel("label"),s="normal"===n||"emphasis"===n?r:a.getModel(n+".label"),l=a.getModel("emphasis.label"),u=s.get("formatter")?n:"normal",c=i.retrieve(e.getFormattedLabel(this.node.dataIndex,u,null,null,"label"),this.node.name);!1===A("show")&&(c="");var d=this.node.getLayout(),h=s.get("minAngle");null==h&&(h=r.get("minAngle")),h=h/180*Math.PI;var p=d.endAngle-d.startAngle;null!=h&&Math.abs(p)Math.PI/2?"right":"left"):b&&"center"!==b?"left"===b?(f=d.r0+_,m>Math.PI/2&&(b="right")):"right"===b&&(f=d.r-_,m>Math.PI/2&&(b="left")):(f=(d.r+d.r0)/2,b="center"),g.attr("style",{text:c,textAlign:b,textVerticalAlign:A("verticalAlign")||"middle",opacity:A("opacity")});var S=f*v+d.cx,w=f*y+d.cy;g.attr("position",[S,w]);var M=A("rotate"),I=0;function A(e){var t=s.get(e);return null==t?r.get(e):t}"radial"===M?(I=-m)<-Math.PI/2&&(I+=Math.PI):"tangential"===M?(I=Math.PI/2-m)>Math.PI/2?I-=Math.PI:I<-Math.PI/2&&(I+=Math.PI):"number"==typeof M&&(I=M*Math.PI/180),g.attr("rotation",I)},u._initEvents=function(e,t,n,i){e.off("mouseover").off("mouseout").off("emphasis").off("normal");var o=this,a=function(){o.onEmphasis(i)},r=function(){o.onNormal()};n.isAnimationEnabled()&&e.on("mouseover",a).on("mouseout",r).on("emphasis",a).on("normal",r).on("downplay",(function(){o.onDownplay()})).on("highlight",(function(){o.onHighlight()}))},i.inherits(l,o.Group);var c=l;e.exports=c},Tp9H:function(e,t,n){var i=n("ItGF"),o=n("Kagy"),a=n("IUWy"),r=o.toolbox.saveAsImage;function s(e){this.model=e}s.defaultOption={show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0",title:r.title,type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],pixelRatio:1,lang:r.lang.slice()},s.prototype.unusable=!i.canvasSupported,s.prototype.onclick=function(e,t){var n=this.model,o=n.get("name")||e.get("title.0.text")||"echarts",a="svg"===t.getZr().painter.getType()?"svg":n.get("type",!0)||"png",r=t.getConnectedDataURL({type:a,backgroundColor:n.get("backgroundColor",!0)||e.get("backgroundColor")||"#fff",connectedBackgroundColor:n.get("connectedBackgroundColor"),excludeComponents:n.get("excludeComponents"),pixelRatio:n.get("pixelRatio")});if("function"!=typeof MouseEvent||i.browser.ie||i.browser.edge)if(window.navigator.msSaveOrOpenBlob){for(var s=atob(r.split(",")[1]),l=s.length,u=new Uint8Array(l);l--;)u[l]=s.charCodeAt(l);var c=new Blob([u]);window.navigator.msSaveOrOpenBlob(c,o+"."+a)}else{var d=n.get("lang"),h='';window.open().document.write(h)}else{var p=document.createElement("a");p.download=o+"."+a,p.target="_blank",p.href=r;var g=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});p.dispatchEvent(g)}},a.register("saveAsImage",s);var l=s;e.exports=l},"U/Mo":function(e,t){t.getNodeGlobalScale=function(e){var t=e.coordinateSystem;if("view"!==t.type)return 1;var n=e.option.nodeScaleRatio,i=t.scale,o=i&&i[0]||1;return((t.getZoom()-1)*n+1)/o},t.getSymbolSize=function(e){var t=e.getVisual("symbolSize");return t instanceof Array&&(t=(t[0]+t[1])/2),+t}},UOVi:function(e,t,n){var i=n("bYtY"),o=n("7aKB"),a=["cartesian2d","polar","singleAxis"];function r(e,t){e=e.slice();var n=i.map(e,o.capitalFirst);t=(t||[]).slice();var a=i.map(t,o.capitalFirst);return function(o,r){i.each(e,(function(e,i){for(var s={name:e,capital:n[i]},l=0;l=0},t.createNameEach=r,t.eachAxisDim=s,t.createLinkedNodesFinder=function(e,t,n){return function(a){var r,s={nodes:[],records:{}};if(t((function(e){s.records[e.name]={}})),!a)return s;o(a,s);do{r=!1,e(l)}while(r);function l(e){!function(e,t){return i.indexOf(t.nodes,e)>=0}(e,s)&&function(e,o){var a=!1;return t((function(t){i.each(n(e,t)||[],(function(e){o.records[t.name][e]&&(a=!0)}))})),a}(e,s)&&(o(e,s),r=!0)}return s};function o(e,o){o.nodes.push(e),t((function(t){i.each(n(e,t)||[],(function(e){o.records[t.name][e]=!0}))}))}}},UnoB:function(e,t,n){var i=n("bYtY"),o=n("OELB");function a(e,t,n){if(e.count())for(var o,a=t.coordinateSystem,r=t.getLayerSeries(),s=e.mapDimension("single"),l=e.mapDimension("value"),u=i.map(r,(function(t){return i.map(t.indices,(function(t){var n=a.dataToPoint(e.get(s,t));return n[1]=e.get(l,t),n}))})),c=function(e){for(var t=e.length,n=e[0].length,i=[],o=[],a=0,r={},s=0;sa&&(a=u),i.push(u)}for(var c=0;ca&&(a=h)}return r.y0=o,r.max=a,r}(u),d=c.y0,h=n/c.max,p=r.length,g=r[0].indices.length,f=0;fg["type_"+p]&&(p=n),f&=t.get("preventDefaultMouseMove",!0)})),{controlType:p,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!f}});d.controller.enable(m.controlType,m.opt),d.controller.setPointerChecker(t.containsPoint),a.createOrUpdate(d,"dispatchAction",t.dataZoomModel.get("throttle",!0),"fixRate")},t.unregister=function(e,t){var n=s(e);i.each(n,(function(e){e.controller.dispose();var n=e.dataZoomInfos;n[t]&&(delete n[t],e.count--)})),l(n)},t.generateCoordId=function(e){return e.type+"\0_"+e.id}},VaxA:function(e,t,n){var i=n("bYtY");function o(e){for(var t=[];e;)(e=e.parentNode)&&t.push(e);return t.reverse()}t.retrieveTargetInfo=function(e,t,n){if(e&&i.indexOf(t,e.type)>=0){var o=n.getData().tree.root,a=e.targetNode;if("string"==typeof a&&(a=o.getNodeById(a)),a&&o.contains(a))return{node:a};var r=e.targetNodeId;if(null!=r&&(a=o.getNodeById(r)))return{node:a}}},t.getPathToRoot=o,t.aboveViewRoot=function(e,t){var n=o(e);return i.indexOf(n,t)>=0},t.wrapTreePathInfo=function(e,t){for(var n=[];e;){var i=e.dataIndex;n.push({name:e.name,dataIndex:i,value:t.getRawValue(i)}),e=e.parentNode}return n.reverse(),n}},W2nI:function(e,t,n){var i=n("IwbS"),o=n("ProS"),a=n("bYtY"),r=["itemStyle","opacity"],s=["emphasis","itemStyle","opacity"],l=["lineStyle","opacity"],u=["emphasis","lineStyle","opacity"];function c(e,t){return e.getVisual("opacity")||e.getModel().get(t)}function d(e,t,n){var i=e.getGraphicEl(),o=c(e,t);null!=n&&(null==o&&(o=1),o*=n),i.downplay&&i.downplay(),i.traverse((function(e){"group"!==e.type&&e.setStyle("opacity",o)}))}function h(e,t){var n=c(e,t),i=e.getGraphicEl();i.traverse((function(e){"group"!==e.type&&e.setStyle("opacity",n)})),i.highlight&&i.highlight()}var p=i.extendShape({shape:{x1:0,y1:0,x2:0,y2:0,cpx1:0,cpy1:0,cpx2:0,cpy2:0,extent:0,orient:""},buildPath:function(e,t){var n=t.extent;e.moveTo(t.x1,t.y1),e.bezierCurveTo(t.cpx1,t.cpy1,t.cpx2,t.cpy2,t.x2,t.y2),"vertical"===t.orient?(e.lineTo(t.x2+n,t.y2),e.bezierCurveTo(t.cpx2+n,t.cpy2,t.cpx1+n,t.cpy1,t.x1+n,t.y1)):(e.lineTo(t.x2,t.y2+n),e.bezierCurveTo(t.cpx2,t.cpy2+n,t.cpx1,t.cpy1+n,t.x1,t.y1+n)),e.closePath()},highlight:function(){this.trigger("emphasis")},downplay:function(){this.trigger("normal")}}),g=o.extendChartView({type:"sankey",_model:null,_focusAdjacencyDisabled:!1,render:function(e,t,n){var o=this,a=e.getGraph(),r=this.group,s=e.layoutInfo,l=s.width,u=s.height,c=e.getData(),d=e.getData("edge"),h=e.get("orient");this._model=e,r.removeAll(),r.attr("position",[s.x,s.y]),a.eachEdge((function(t){var n=new p;n.dataIndex=t.dataIndex,n.seriesIndex=e.seriesIndex,n.dataType="edge";var o,a,s,c,g,f,m,v,y=t.getModel("lineStyle"),x=y.get("curveness"),_=t.node1.getLayout(),b=t.node1.getModel(),S=b.get("localX"),w=b.get("localY"),M=t.node2.getLayout(),I=t.node2.getModel(),A=I.get("localX"),T=I.get("localY"),D=t.getLayout();switch(n.shape.extent=Math.max(1,D.dy),n.shape.orient=h,"vertical"===h?(o=(null!=S?S*l:_.x)+D.sy,a=(null!=w?w*u:_.y)+_.dy,s=(null!=A?A*l:M.x)+D.ty,g=o,f=a*(1-x)+(c=null!=T?T*u:M.y)*x,m=s,v=a*x+c*(1-x)):(o=(null!=S?S*l:_.x)+_.dx,a=(null!=w?w*u:_.y)+D.sy,g=o*(1-x)+(s=null!=A?A*l:M.x)*x,f=a,m=o*x+s*(1-x),v=c=(null!=T?T*u:M.y)+D.ty),n.setShape({x1:o,y1:a,x2:s,y2:c,cpx1:g,cpy1:f,cpx2:m,cpy2:v}),n.setStyle(y.getItemStyle()),n.style.fill){case"source":n.style.fill=t.node1.getVisual("color");break;case"target":n.style.fill=t.node2.getVisual("color")}i.setHoverStyle(n,t.getModel("emphasis.lineStyle").getItemStyle()),r.add(n),d.setItemGraphicEl(t.dataIndex,n)})),a.eachNode((function(t){var n=t.getLayout(),o=t.getModel(),a=o.get("localX"),s=o.get("localY"),d=o.getModel("label"),h=o.getModel("emphasis.label"),p=new i.Rect({shape:{x:null!=a?a*l:n.x,y:null!=s?s*u:n.y,width:n.dx,height:n.dy},style:o.getModel("itemStyle").getItemStyle()}),g=t.getModel("emphasis.itemStyle").getItemStyle();i.setLabelStyle(p.style,g,d,h,{labelFetcher:e,labelDataIndex:t.dataIndex,defaultText:t.id,isRectText:!0}),p.setStyle("fill",t.getVisual("color")),i.setHoverStyle(p,g),r.add(p),c.setItemGraphicEl(t.dataIndex,p),p.dataType="node"})),c.eachItemGraphicEl((function(t,i){var a=c.getItemModel(i);a.get("draggable")&&(t.drift=function(t,a){o._focusAdjacencyDisabled=!0,this.shape.x+=t,this.shape.y+=a,this.dirty(),n.dispatchAction({type:"dragNode",seriesId:e.id,dataIndex:c.getRawIndex(i),localX:this.shape.x/l,localY:this.shape.y/u})},t.ondragend=function(){o._focusAdjacencyDisabled=!1},t.draggable=!0,t.cursor="move"),t.highlight=function(){this.trigger("emphasis")},t.downplay=function(){this.trigger("normal")},t.focusNodeAdjHandler&&t.off("mouseover",t.focusNodeAdjHandler),t.unfocusNodeAdjHandler&&t.off("mouseout",t.unfocusNodeAdjHandler),a.get("focusNodeAdjacency")&&(t.on("mouseover",t.focusNodeAdjHandler=function(){o._focusAdjacencyDisabled||(o._clearTimer(),n.dispatchAction({type:"focusNodeAdjacency",seriesId:e.id,dataIndex:t.dataIndex}))}),t.on("mouseout",t.unfocusNodeAdjHandler=function(){o._focusAdjacencyDisabled||o._dispatchUnfocus(n)}))})),d.eachItemGraphicEl((function(t,i){var a=d.getItemModel(i);t.focusNodeAdjHandler&&t.off("mouseover",t.focusNodeAdjHandler),t.unfocusNodeAdjHandler&&t.off("mouseout",t.unfocusNodeAdjHandler),a.get("focusNodeAdjacency")&&(t.on("mouseover",t.focusNodeAdjHandler=function(){o._focusAdjacencyDisabled||(o._clearTimer(),n.dispatchAction({type:"focusNodeAdjacency",seriesId:e.id,edgeDataIndex:t.dataIndex}))}),t.on("mouseout",t.unfocusNodeAdjHandler=function(){o._focusAdjacencyDisabled||o._dispatchUnfocus(n)}))})),!this._data&&e.get("animation")&&r.setClipPath(function(e,t,n){var o=new i.Rect({shape:{x:e.x-10,y:e.y-10,width:0,height:e.height+20}});return i.initProps(o,{shape:{width:e.width+20}},t,n),o}(r.getBoundingRect(),e,(function(){r.removeClipPath()}))),this._data=e.getData()},dispose:function(){this._clearTimer()},_dispatchUnfocus:function(e){var t=this;this._clearTimer(),this._unfocusDelayTimer=setTimeout((function(){t._unfocusDelayTimer=null,e.dispatchAction({type:"unfocusNodeAdjacency",seriesId:t._model.id})}),500)},_clearTimer:function(){this._unfocusDelayTimer&&(clearTimeout(this._unfocusDelayTimer),this._unfocusDelayTimer=null)},focusNodeAdjacency:function(e,t,n,i){var o=e.getData(),c=o.graph,p=i.dataIndex,g=o.getItemModel(p),f=i.edgeDataIndex;if(null!=p||null!=f){var m=c.getNodeByIndex(p),v=c.getEdgeByIndex(f);if(c.eachNode((function(e){d(e,r,.1)})),c.eachEdge((function(e){d(e,l,.1)})),m){h(m,s);var y=g.get("focusNodeAdjacency");"outEdges"===y?a.each(m.outEdges,(function(e){e.dataIndex<0||(h(e,u),h(e.node2,s))})):"inEdges"===y?a.each(m.inEdges,(function(e){e.dataIndex<0||(h(e,u),h(e.node1,s))})):"allEdges"===y&&a.each(m.edges,(function(e){e.dataIndex<0||(h(e,u),e.node1!==m&&h(e.node1,s),e.node2!==m&&h(e.node2,s))}))}v&&(h(v,u),h(v.node1,s),h(v.node2,s))}},unfocusNodeAdjacency:function(e,t,n,i){var o=e.getGraph();o.eachNode((function(e){d(e,r)})),o.eachEdge((function(e){d(e,l)}))}});e.exports=g},W4dC:function(e,t,n){n("Tghj").__DEV__;var i=n("bYtY"),o=i.each,a=i.createHashMap,r=n("7DRL"),s=n("TIY9"),l=n("yS9w"),u=n("mFDi"),c={geoJSON:s,svg:l},d={load:function(e,t,n){var i,r=[],s=a(),l=a(),d=p(e);return o(d,(function(a){var u=c[a.type].load(e,a,n);o(u.regions,(function(e){var n=e.name;t&&t.hasOwnProperty(n)&&(e=e.cloneShallow(n=t[n])),r.push(e),s.set(n,e),l.set(n,e.center)}));var d=u.boundingRect;d&&(i?i.union(d):i=d.clone())})),{regions:r,regionsMap:s,nameCoordMap:l,boundingRect:i||new u(0,0,0,0)}},makeGraphic:h("makeGraphic"),removeGraphic:h("removeGraphic")};function h(e){return function(t,n){var i=p(t),a=[];return o(i,(function(i){var o=c[i.type][e];o&&a.push(o(t,i,n))})),a}}function p(e){return r.retrieveMap(e)||[]}e.exports=d},WGYa:function(e,t,n){var i=n("7yuC").forceLayout,o=n("HF/U").simpleLayout,a=n("lOQZ").circularLayout,r=n("OELB").linearMap,s=n("QBsz"),l=n("bYtY"),u=n("DDd/").getCurvenessForEdge;e.exports=function(e){e.eachSeriesByType("graph",(function(e){if(!(y=e.coordinateSystem)||"view"===y.type)if("force"===e.get("layout")){var t=e.preservedPoints||{},n=e.getGraph(),c=n.data,d=n.edgeData,h=e.getModel("force"),p=h.get("initLayout");e.preservedPoints?c.each((function(e){var n=c.getId(e);c.setItemLayout(e,t[n]||[NaN,NaN])})):p&&"none"!==p?"circular"===p&&a(e,"value"):o(e);var g=c.getDataExtent("value"),f=d.getDataExtent("value"),m=h.get("repulsion"),v=h.get("edgeLength");l.isArray(m)||(m=[m,m]),l.isArray(v)||(v=[v,v]),v=[v[1],v[0]];var y,x=c.mapArray("value",(function(e,t){var n=c.getItemLayout(t),i=r(e,g,m);return isNaN(i)&&(i=(m[0]+m[1])/2),{w:i,rep:i,fixed:c.getItemModel(t).get("fixed"),p:!n||isNaN(n[0])||isNaN(n[1])?null:n}})),_=d.mapArray("value",(function(t,i){var o=n.getEdgeByIndex(i),a=r(t,f,v);isNaN(a)&&(a=(v[0]+v[1])/2);var s=o.getModel(),c=l.retrieve3(s.get("lineStyle.curveness"),-u(o,e,i,!0),0);return{n1:x[o.node1.dataIndex],n2:x[o.node2.dataIndex],d:a,curveness:c,ignoreForceLayout:s.get("ignoreForceLayout")}})),b=(y=e.coordinateSystem).getBoundingRect(),S=i(x,_,{rect:b,gravity:h.get("gravity"),friction:h.get("friction")}),w=S.step;S.step=function(e){for(var i=0,o=x.length;i=0;s--)null==n[s]&&(delete o[t[s]],t.pop())}(o):c(o,!0):(i.assert("linear"!==t||o.dataExtent),c(o))};l.prototype={constructor:l,mapValueToVisual:function(e){var t=this._normalizeData(e);return this._doMap(t,e)},getNormalizer:function(){return i.bind(this._normalizeData,this)}};var u=l.visualHandlers={color:{applyVisual:p("color"),getColorMapper:function(){var e=this.option;return i.bind("category"===e.mappingMethod?function(e,t){return!t&&(e=this._normalizeData(e)),g.call(this,e)}:function(t,n,i){var a=!!i;return!n&&(t=this._normalizeData(t)),i=o.fastLerp(t,e.parsedVisual,i),a?i:o.stringify(i,"rgba")},this)},_doMap:{linear:function(e){return o.stringify(o.fastLerp(e,this.option.parsedVisual),"rgba")},category:g,piecewise:function(e,t){var n=v.call(this,t);return null==n&&(n=o.stringify(o.fastLerp(e,this.option.parsedVisual),"rgba")),n},fixed:f}},colorHue:d((function(e,t){return o.modifyHSL(e,t)})),colorSaturation:d((function(e,t){return o.modifyHSL(e,null,t)})),colorLightness:d((function(e,t){return o.modifyHSL(e,null,null,t)})),colorAlpha:d((function(e,t){return o.modifyAlpha(e,t)})),opacity:{applyVisual:p("opacity"),_doMap:m([0,1])},liftZ:{applyVisual:p("liftZ"),_doMap:{linear:f,category:f,piecewise:f,fixed:f}},symbol:{applyVisual:function(e,t,n){var o=this.mapValueToVisual(e);if(i.isString(o))n("symbol",o);else if(s(o))for(var a in o)o.hasOwnProperty(a)&&n(a,o[a])},_doMap:{linear:h,category:g,piecewise:function(e,t){var n=v.call(this,t);return null==n&&(n=h.call(this,e)),n},fixed:f}},symbolSize:{applyVisual:p("symbolSize"),_doMap:m([0,1])}};function c(e,t){var n=e.visual,o=[];i.isObject(n)?r(n,(function(e){o.push(e)})):null!=n&&o.push(n);t||1!==o.length||{color:1,symbol:1}.hasOwnProperty(e.type)||(o[1]=o[0]),y(e,o)}function d(e){return{applyVisual:function(t,n,i){t=this.mapValueToVisual(t),i("color",e(n("color"),t))},_doMap:m([0,1])}}function h(e){var t=this.option.visual;return t[Math.round(a(e,[0,1],[0,t.length-1],!0))]||{}}function p(e){return function(t,n,i){i(e,this.mapValueToVisual(t))}}function g(e){var t=this.option.visual;return t[this.option.loop&&-1!==e?e%t.length:e]}function f(){return this.option.visual[0]}function m(e){return{linear:function(t){return a(t,e,this.option.visual,!0)},category:g,piecewise:function(t,n){var i=v.call(this,n);return null==i&&(i=a(t,e,this.option.visual,!0)),i},fixed:f}}function v(e){var t=this.option,n=t.pieceList;if(t.hasSpecialVisual){var i=n[l.findPieceIndex(e,n)];if(i&&i.visual)return i.visual[this.type]}}function y(e,t){return e.visual=t,"color"===e.type&&(e.parsedVisual=i.map(t,(function(e){return o.parse(e)}))),t}var x={linear:function(e){return a(e,this.option.dataExtent,[0,1],!0)},piecewise:function(e){var t=this.option.pieceList,n=l.findPieceIndex(e,t,!0);if(null!=n)return a(n,[0,t.length-1],[0,1],!0)},category:function(e){var t=this.option.categories?this.option.categoryMap[e]:e;return null==t?-1:t},fixed:i.noop};function _(e,t,n){return e?t<=n:t0?1:-1,r=i.height>0?1:-1;return{x:i.x+a*o/2,y:i.y+r*o/2,width:i.width-a*o,height:i.height-r*o}},polar:function(e,t,n){var i=e.getItemLayout(t);return{cx:i.cx,cy:i.cy,r0:i.r0,r:i.r,startAngle:i.startAngle,endAngle:i.endAngle}}};function M(e){return null!=e.startAngle&&null!=e.endAngle&&e.startAngle===e.endAngle}function I(e,t,n,i,s,l,u,c){var d=t.getItemVisual(n,"color"),h=t.getItemVisual(n,"opacity"),p=t.getVisual("borderColor"),g=i.getModel("itemStyle"),f=i.getModel("emphasis.itemStyle").getBarItemStyle();c||e.setShape("r",g.get("barBorderRadius")||0),e.useStyle(o.defaults({stroke:M(s)?"none":p,fill:M(s)?"none":d,opacity:h},g.getBarItemStyle()));var m=i.getShallow("cursor");m&&e.attr("cursor",m);var v=u?s.height>0?"bottom":"top":s.width>0?"left":"right";c||r(e.style,f,i,d,l,n,v),M(s)&&(f.fill=f.stroke="none"),a.setHoverStyle(e,f)}var A=u.extend({type:"largeBar",shape:{points:[]},buildPath:function(e,t){for(var n=t.points,i=this.__startPoint,o=this.__baseDimIdx,a=0;a=d&&v<=h&&(l<=y?c>=l&&c<=y:c>=y&&c<=l))return r[p]}return-1}(this,e.offsetX,e.offsetY);this.dataIndex=t>=0?t:null}),30,!1);function C(e,t,n){var i,o="polar"===n.type;return i=o?n.getArea():n.grid.getRect(),o?{cx:i.cx,cy:i.cy,r0:e?i.r0:t.r0,r:e?i.r:t.r,startAngle:e?t.startAngle:0,endAngle:e?t.endAngle:2*Math.PI}:{x:e?t.x:i.x,y:e?i.y:t.y,width:e?t.width:i.width,height:e?i.height:t.height}}e.exports=m},ZWlE:function(e,t,n){var i=n("bYtY"),o=n("4NO4");e.exports=function(e){!function(e){if(e.parallel)return;var t=!1;i.each(e.series,(function(e){e&&"parallel"===e.type&&(t=!0)})),t&&(e.parallel=[{}])}(e),function(e){var t=o.normalizeToArray(e.parallelAxis);i.each(t,(function(t){if(i.isObject(t)){var n=t.parallelIndex||0,a=o.normalizeToArray(e.parallel)[n];a&&a.parallelAxisDefault&&i.merge(t,a.parallelAxisDefault,!1)}}))}(e)}},ZYIC:function(e,t,n){var i={seriesType:"lines",plan:n("zM3Q")(),reset:function(e){var t=e.coordinateSystem,n=e.get("polyline"),i=e.pipelineContext.large;return{progress:function(o,a){var r=[];if(i){var s,l=o.end-o.start;if(n){for(var u=0,c=o.start;c=0&&!(i[s]<=t);s--);s=Math.min(s,o-2)}else{for(var s=a;st);s++);s=Math.min(s-1,o-2)}r.lerp(e.position,n[s],n[s+1],(t-i[s])/(i[s+1]-i[s]));var l=n[s+1][0]-n[s][0],u=n[s+1][1]-n[s][1];e.rotation=-Math.atan2(u,l)-Math.PI/2,this._lastFrame=s,this._lastFramePercent=t,e.ignore=!1}},o.inherits(s,a);var u=s;e.exports=u},as94:function(e,t,n){var i=n("7aKB"),o=n("3LNs"),a=n("IwbS"),r=n("/y7N"),s=n("Fofx"),l=n("+rIm"),u=n("Znkb"),c=o.extend({makeElOption:function(e,t,n,o,u){var c=n.axis;"angle"===c.dim&&(this.animationThreshold=Math.PI/18);var h,p=c.polar,g=p.getOtherAxis(c).getExtent();h=c["dataTo"+i.capitalFirst(c.dim)](t);var f=o.get("type");if(f&&"none"!==f){var m=r.buildElStyle(o),v=d[f](c,p,h,g,m);v.style=m,e.graphicKey=v.type,e.pointer=v}var y=function(e,t,n,i,o){var r=t.axis,u=r.dataToCoord(e),c=i.getAngleAxis().getExtent()[0];c=c/180*Math.PI;var d,h,p,g=i.getRadiusAxis().getExtent();if("radius"===r.dim){var f=s.create();s.rotate(f,f,c),s.translate(f,f,[i.cx,i.cy]),d=a.applyTransform([u,-o],f);var m=t.getModel("axisLabel").get("rotate")||0,v=l.innerTextLayout(c,m*Math.PI/180,-1);h=v.textAlign,p=v.textVerticalAlign}else{var y=g[1];d=i.coordToPoint([y+o,u]);var x=i.cx,_=i.cy;h=Math.abs(d[0]-x)/y<.3?"center":d[0]>x?"left":"right",p=Math.abs(d[1]-_)/y<.3?"middle":d[1]>_?"top":"bottom"}return{position:d,align:h,verticalAlign:p}}(t,n,0,p,o.get("label.margin"));r.buildLabelElOption(e,n,o,u,y)}});var d={line:function(e,t,n,i,o){return"angle"===e.dim?{type:"Line",shape:r.makeLineShape(t.coordToPoint([i[0],n]),t.coordToPoint([i[1],n]))}:{type:"Circle",shape:{cx:t.cx,cy:t.cy,r:n}}},shadow:function(e,t,n,i,o){var a=Math.max(1,e.getBandWidth()),s=Math.PI/180;return"angle"===e.dim?{type:"Sector",shape:r.makeSectorShape(t.cx,t.cy,i[0],i[1],(-n-a/2)*s,(a/2-n)*s)}:{type:"Sector",shape:r.makeSectorShape(t.cx,t.cy,n-a/2,n+a/2,0,2*Math.PI)}}};u.registerAxisPointerClass("PolarAxisPointer",c);var h=c;e.exports=h},b9oc:function(e,t,n){var i=n("bYtY").each,o="\0_ec_hist_store";function a(e){var t=e[o];return t||(t=e[o]=[{}]),t}t.push=function(e,t){var n=a(e);i(t,(function(t,i){for(var o=n.length-1;o>=0;o--){if(n[o][i])break}if(o<0){var a=e.queryComponents({mainType:"dataZoom",subType:"select",id:i})[0];if(a){var r=a.getPercentRange();n[0][i]={dataZoomId:i,start:r[0],end:r[1]}}}})),n.push(t)},t.pop=function(e){var t=a(e),n=t[t.length-1];t.length>1&&t.pop();var o={};return i(n,(function(e,n){for(var i=t.length-1;i>=0;i--){if(e=t[i][n]){o[n]=e;break}}})),o},t.clear=function(e){e[o]=null},t.count=function(e){return a(e).length}},bBL8:function(e,t,n){var i=n("ProS");n("LPzL"),n("rfSb"),n("JVwQ");var o=n("UnoB"),a=n("cbJ4"),r=n("0/Rx");i.registerLayout(o),i.registerVisual(a),i.registerProcessor(r("themeRiver"))},bMXI:function(e,t,n){var i=n("bYtY"),o=n("QBsz"),a=n("Fofx"),r=n("mFDi"),s=n("DN4a"),l=o.applyTransform;function u(){s.call(this)}function c(e){this.name=e,this.zoomLimit,s.call(this),this._roamTransformable=new u,this._rawTransformable=new u,this._center,this._zoom}function d(e,t,n,i){var o=n.seriesModel,a=o?o.coordinateSystem:null;return a===this?a[e](i):null}i.mixin(u,s),c.prototype={constructor:c,type:"view",dimensions:["x","y"],setBoundingRect:function(e,t,n,i){return this._rect=new r(e,t,n,i),this._rect},getBoundingRect:function(){return this._rect},setViewRect:function(e,t,n,i){this.transformTo(e,t,n,i),this._viewRect=new r(e,t,n,i)},transformTo:function(e,t,n,i){var o=this.getBoundingRect(),a=this._rawTransformable;a.transform=o.calculateTransform(new r(e,t,n,i)),a.decomposeTransform(),this._updateTransform()},setCenter:function(e){e&&(this._center=e,this._updateCenterAndZoom())},setZoom:function(e){e=e||1;var t=this.zoomLimit;t&&(null!=t.max&&(e=Math.min(t.max,e)),null!=t.min&&(e=Math.max(t.min,e))),this._zoom=e,this._updateCenterAndZoom()},getDefaultCenter:function(){var e=this.getBoundingRect();return[e.x+e.width/2,e.y+e.height/2]},getCenter:function(){return this._center||this.getDefaultCenter()},getZoom:function(){return this._zoom||1},getRoamTransform:function(){return this._roamTransformable.getLocalTransform()},_updateCenterAndZoom:function(){var e=this._rawTransformable.getLocalTransform(),t=this._roamTransformable,n=this.getDefaultCenter(),i=this.getCenter(),a=this.getZoom();i=o.applyTransform([],i,e),n=o.applyTransform([],n,e),t.origin=i,t.position=[n[0]-i[0],n[1]-i[1]],t.scale=[a,a],this._updateTransform()},_updateTransform:function(){var e=this._roamTransformable,t=this._rawTransformable;t.parent=e,e.updateTransform(),t.updateTransform(),a.copy(this.transform||(this.transform=[]),t.transform||a.create()),this._rawTransform=t.getLocalTransform(),this.invTransform=this.invTransform||[],a.invert(this.invTransform,this.transform),this.decomposeTransform()},getTransformInfo:function(){var e=this._roamTransformable.transform,t=this._rawTransformable;return{roamTransform:e?i.slice(e):a.create(),rawScale:i.slice(t.scale),rawPosition:i.slice(t.position)}},getViewRect:function(){return this._viewRect},getViewRectAfterRoam:function(){var e=this.getBoundingRect().clone();return e.applyTransform(this.transform),e},dataToPoint:function(e,t,n){var i=t?this._rawTransform:this.transform;return n=n||[],i?l(n,e,i):o.copy(n,e)},pointToData:function(e){var t=this.invTransform;return t?l([],e,t):[e[0],e[1]]},convertToPixel:i.curry(d,"dataToPoint"),convertFromPixel:i.curry(d,"pointToData"),containPoint:function(e){return this.getViewRectAfterRoam().contain(e[0],e[1])}},i.mixin(c,s);var h=c;e.exports=h},bNin:function(e,t,n){var i=n("bYtY"),o=n("IwbS"),a=n("FBjb"),r=n("Itpr").radialCoordinate,s=n("ProS"),l=n("4mN7"),u=n("bMXI"),c=n("Ae+d"),d=n("SgGq"),h=n("xSat").onIrrelevantElement,p=(n("Tghj").__DEV__,n("OELB").parsePercent),g=o.extendShape({shape:{parentPoint:[],childPoints:[],orient:"",forkPosition:""},style:{stroke:"#000",fill:null},buildPath:function(e,t){var n=t.childPoints,i=n.length,o=t.parentPoint,a=n[0],r=n[i-1];if(1===i)return e.moveTo(o[0],o[1]),void e.lineTo(a[0],a[1]);var s=t.orient,l="TB"===s||"BT"===s?0:1,u=1-l,c=p(t.forkPosition,1),d=[];d[l]=o[l],d[u]=o[u]+(r[u]-o[u])*c,e.moveTo(o[0],o[1]),e.lineTo(d[0],d[1]),e.moveTo(a[0],a[1]),d[l]=a[l],e.lineTo(d[0],d[1]),d[l]=r[l],e.lineTo(d[0],d[1]),e.lineTo(r[0],r[1]);for(var h=1;hI.x)||(S-=Math.PI);var D=w?"left":"right",C=l.labelModel.get("rotate"),L=C*(Math.PI/180);b.setStyle({textPosition:l.labelModel.get("position")||D,textRotation:null==C?-S:L,textOrigin:"center",verticalAlign:"middle"})}!function(e,t,n,a,r,s,l,u,c){var d=c.edgeShape,h=a.__edge;if("curve"===d)t.parentNode&&t.parentNode!==n&&(h||(h=a.__edge=new o.BezierCurve({shape:_(c,r,r),style:i.defaults({opacity:0,strokeNoScale:!0},c.lineStyle)})),o.updateProps(h,{shape:_(c,s,l),style:i.defaults({opacity:1},c.lineStyle)},e));else if("polyline"===d&&"orthogonal"===c.layout&&t!==n&&t.children&&0!==t.children.length&&!0===t.isExpand){for(var p=t.children,f=[],m=0;m=0;a--)i.push(o[a])}}},c2i1:function(e,t,n){n("Tghj").__DEV__;var i=n("bYtY"),o=n("Yl7c").enableClassCheck;function a(e){return"_EC_"+e}var r=function(e){this._directed=e||!1,this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this.data,this.edgeData},s=r.prototype;function l(e,t){this.id=null==e?"":e,this.inEdges=[],this.outEdges=[],this.edges=[],this.hostGraph,this.dataIndex=null==t?-1:t}function u(e,t,n){this.node1=e,this.node2=t,this.dataIndex=null==n?-1:n}s.type="graph",s.isDirected=function(){return this._directed},s.addNode=function(e,t){e=null==e?""+t:""+e;var n=this._nodesMap;if(!n[a(e)]){var i=new l(e,t);return i.hostGraph=this,this.nodes.push(i),n[a(e)]=i,i}},s.getNodeByIndex=function(e){var t=this.data.getRawIndex(e);return this.nodes[t]},s.getNodeById=function(e){return this._nodesMap[a(e)]},s.addEdge=function(e,t,n){var i=this._nodesMap,o=this._edgesMap;if("number"==typeof e&&(e=this.nodes[e]),"number"==typeof t&&(t=this.nodes[t]),l.isInstance(e)||(e=i[a(e)]),l.isInstance(t)||(t=i[a(t)]),e&&t){var r=e.id+"-"+t.id,s=new u(e,t,n);return s.hostGraph=this,this._directed&&(e.outEdges.push(s),t.inEdges.push(s)),e.edges.push(s),e!==t&&t.edges.push(s),this.edges.push(s),o[r]=s,s}},s.getEdgeByIndex=function(e){var t=this.edgeData.getRawIndex(e);return this.edges[t]},s.getEdge=function(e,t){l.isInstance(e)&&(e=e.id),l.isInstance(t)&&(t=t.id);var n=this._edgesMap;return this._directed?n[e+"-"+t]:n[e+"-"+t]||n[t+"-"+e]},s.eachNode=function(e,t){for(var n=this.nodes,i=n.length,o=0;o=0&&e.call(t,n[o],o)},s.eachEdge=function(e,t){for(var n=this.edges,i=n.length,o=0;o=0&&n[o].node1.dataIndex>=0&&n[o].node2.dataIndex>=0&&e.call(t,n[o],o)},s.breadthFirstTraverse=function(e,t,n,i){if(l.isInstance(t)||(t=this._nodesMap[a(t)]),t){for(var o="out"===n?"outEdges":"in"===n?"inEdges":"edges",r=0;r=0&&n.node2.dataIndex>=0}));for(o=0,a=i.length;o=0&&this[e][t].setItemVisual(this.dataIndex,n,i)},getVisual:function(n,i){return this[e][t].getItemVisual(this.dataIndex,n,i)},setLayout:function(n,i){this.dataIndex>=0&&this[e][t].setItemLayout(this.dataIndex,n,i)},getLayout:function(){return this[e][t].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[e][t].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[e][t].getRawIndex(this.dataIndex)}}};i.mixin(l,c("hostGraph","data")),i.mixin(u,c("hostGraph","edgeData")),r.Node=l,r.Edge=u,o(l),o(u);var d=r;e.exports=d},c8qY:function(e,t,n){var i=n("IwbS"),o=n("fls0");function a(e){this._ctor=e||o,this.group=new i.Group}var r=a.prototype;function s(e){var t=e.hostModel;return{lineStyle:t.getModel("lineStyle").getLineStyle(),hoverLineStyle:t.getModel("emphasis.lineStyle").getLineStyle(),labelModel:t.getModel("label"),hoverLabelModel:t.getModel("emphasis.label")}}function l(e){return isNaN(e[0])||isNaN(e[1])}function u(e){return!l(e[0])&&!l(e[1])}r.isPersistent=function(){return!0},r.updateData=function(e){var t=this,n=t.group,i=t._lineData;t._lineData=e,i||n.removeAll();var o=s(e);e.diff(i).add((function(n){!function(e,t,n,i){if(!u(t.getItemLayout(n)))return;var o=new e._ctor(t,n,i);t.setItemGraphicEl(n,o),e.group.add(o)}(t,e,n,o)})).update((function(n,a){!function(e,t,n,i,o,a){var r=t.getItemGraphicEl(i);if(!u(n.getItemLayout(o)))return void e.group.remove(r);r?r.updateData(n,o,a):r=new e._ctor(n,o,a);n.setItemGraphicEl(o,r),e.group.add(r)}(t,i,e,a,n,o)})).remove((function(e){n.remove(i.getItemGraphicEl(e))})).execute()},r.updateLayout=function(){var e=this._lineData;e&&e.eachItemGraphicEl((function(t,n){t.updateLayout(e,n)}),this)},r.incrementalPrepareUpdate=function(e){this._seriesScope=s(e),this._lineData=null,this.group.removeAll()},r.incrementalUpdate=function(e,t){function n(e){e.isGroup||function(e){return e.animators&&e.animators.length>0}(e)||(e.incremental=e.useHoverLayer=!0)}for(var i=e.start;i "))},preventIncremental:function(){return!!this.get("effect.show")},getProgressive:function(){var e=this.option.progressive;return null==e?this.option.large?1e4:this.get("progressive"):e},getProgressiveThreshold:function(){var e=this.option.progressiveThreshold;return null==e?this.option.large?2e4:this.get("progressiveThreshold"):e},defaultOption:{coordinateSystem:"geo",zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,xAxisIndex:0,yAxisIndex:0,symbol:["none","none"],symbolSize:[10,10],geoIndex:0,effect:{show:!1,period:4,constantSpeed:0,symbol:"circle",symbolSize:3,loop:!0,trailLength:.2},large:!1,largeThreshold:2e3,polyline:!1,clip:!0,label:{show:!1,position:"end"},lineStyle:{opacity:.5}}}),g=p;e.exports=g},crZl:function(e,t,n){var i=n("ProS"),o=n("bYtY"),a=n("IwbS"),r=n("7aKB"),s=n("+TT/"),l=n("XxSj"),u=i.extendComponentView({type:"visualMap",autoPositionValues:{left:1,right:1,top:1,bottom:1},init:function(e,t){this.ecModel=e,this.api=t,this.visualMapModel},render:function(e,t,n,i){this.visualMapModel=e,!1!==e.get("show")?this.doRender.apply(this,arguments):this.group.removeAll()},renderBackground:function(e){var t=this.visualMapModel,n=r.normalizeCssArray(t.get("padding")||0),i=e.getBoundingRect();e.add(new a.Rect({z2:-1,silent:!0,shape:{x:i.x-n[3],y:i.y-n[0],width:i.width+n[3]+n[1],height:i.height+n[0]+n[2]},style:{fill:t.get("backgroundColor"),stroke:t.get("borderColor"),lineWidth:t.get("borderWidth")}}))},getControllerVisual:function(e,t,n){var i=(n=n||{}).forceState,a=this.visualMapModel,r={};if("symbol"===t&&(r.symbol=a.get("itemSymbol")),"color"===t){var s=a.get("contentColor");r.color=s}function u(e){return r[e]}function c(e,t){r[e]=t}var d=a.controllerVisuals[i||a.getValueState(e)],h=l.prepareVisualTypes(d);return o.each(h,(function(i){var o=d[i];n.convertOpacityToAlpha&&"opacity"===i&&(i="colorAlpha",o=d.__alphaForOpacity),l.dependsOn(i,t)&&o&&o.applyVisual(e,u,c)})),r[t]},positionGroup:function(e){var t=this.visualMapModel,n=this.api;s.positionElement(e,t.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()})},doRender:o.noop});e.exports=u},dBmv:function(e,t,n){var i=n("ProS"),o=n("szbU");n("vF/C"),n("qwVE"),n("MHoB"),n("PNag"),n("1u/T"),i.registerPreprocessor(o)},dmGj:function(e,t,n){var i=n("DEFe"),o=n("ProS").extendComponentView({type:"geo",init:function(e,t){var n=new i(t,!0);this._mapDraw=n,this.group.add(n.group)},render:function(e,t,n,i){if(!i||"geoToggleSelect"!==i.type||i.from!==this.uid){var o=this._mapDraw;e.get("show")?o.draw(e,t,n,this,i):this._mapDraw.group.removeAll(),this.group.silent=e.get("silent")}},dispose:function(){this._mapDraw&&this._mapDraw.remove()}});e.exports=o},dnwI:function(e,t,n){var i=n("ProS"),o=n("bYtY"),a=n("YH21"),r=n("Kagy"),s=n("IUWy"),l=r.toolbox.dataView,u=new Array(60).join("-");function c(e){return o.map(e,(function(e){var t=e.getRawData(),n=[e.name],i=[];return t.each(t.dimensions,(function(){for(var e=arguments.length,o=arguments[e-1],a=t.getName(o),r=0;r=0)return!0}(e)){var a=function(e){for(var t=e.split(/\n+/g),n=d(t.shift()).split(h),i=[],a=o.map(n,(function(e){return{name:e,data:[]}})),r=0;r=0;d--)null==r[d]?r.splice(d,1):delete r[d].$action},_flatten:function(e,t,n){o.each(e,(function(e){if(e){n&&(e.parentOption=n),t.push(e);var i=e.children;"group"===e.type&&i&&this._flatten(i,t,e),delete e.children}}),this)},useElOptionsToUpdate:function(){var e=this._elOptionsToUpdate;return this._elOptionsToUpdate=null,e}});function d(e,t,n,i){var o=n.type,a=new(u.hasOwnProperty(o)?u[o]:r.getShapeClass(o))(n);t.add(a),i.set(e,a),a.__ecGraphicId=e}function h(e,t){var n=e&&e.parent;n&&("group"===e.type&&e.traverse((function(e){h(e,t)})),t.removeKey(e.__ecGraphicId),n.remove(e))}function p(e,t){var n;return o.each(t,(function(t){null!=e[t]&&"auto"!==e[t]&&(n=!0)})),n}i.extendComponentView({type:"graphic",init:function(e,t){this._elMap=o.createHashMap(),this._lastGraphicModel},render:function(e,t,n){e!==this._lastGraphicModel&&this._clear(),this._lastGraphicModel=e,this._updateElements(e),this._relocate(e,n)},_updateElements:function(e){var t=e.useElOptionsToUpdate();if(t){var n=this._elMap,i=this.group;o.each(t,(function(t){var a=t.$action,r=t.id,l=n.get(r),u=t.parentId,c=null!=u?n.get(u):i,p=t.style;"text"===t.type&&p&&(t.hv&&t.hv[1]&&(p.textVerticalAlign=p.textBaseline=null),!p.hasOwnProperty("textFill")&&p.fill&&(p.textFill=p.fill),!p.hasOwnProperty("textStroke")&&p.stroke&&(p.textStroke=p.stroke));var g=function(e){return e=o.extend({},e),o.each(["id","parentId","$action","hv","bounding"].concat(s.LOCATION_PARAMS),(function(t){delete e[t]})),e}(t);a&&"merge"!==a?"replace"===a?(h(l,n),d(r,c,g,n)):"remove"===a&&h(l,n):l?l.attr(g):d(r,c,g,n);var f=n.get(r);f&&(f.__ecGraphicWidthOption=t.width,f.__ecGraphicHeightOption=t.height,function(e,t,n){var i=e.eventData;e.silent||e.ignore||i||(i=e.eventData={componentType:"graphic",componentIndex:t.componentIndex,name:e.name});i&&(i.info=e.info)}(f,e))}))}},_relocate:function(e,t){for(var n=e.option.elements,i=this.group,o=this._elMap,a=t.getWidth(),r=t.getHeight(),u=0;u=0;u--){var h;c=n[u];if(h=o.get(c.id)){var p,g=(p=h.parent)===i?{width:a,height:r}:{width:p.__ecGraphicWidth,height:p.__ecGraphicHeight};s.positionElement(h,c,g,null,{hv:c.hv,boundingMode:c.bounding})}}},_clear:function(){var e=this._elMap;e.each((function(t){h(t,e)})),this._elMap=o.createHashMap()},dispose:function(){this._clear()}})},f3JH:function(e,t,n){n("aTJb"),n("OlYY"),n("fc+c"),n("oY9F"),n("MqEG"),n("LBfv"),n("noeP")},f5HG:function(e,t,n){var i=n("IwbS"),o=n("QBsz"),a=i.Line.prototype,r=i.BezierCurve.prototype;function s(e){return isNaN(+e.cpx1)||isNaN(+e.cpy1)}var l=i.extendShape({type:"ec-line",style:{stroke:"#000",fill:null},shape:{x1:0,y1:0,x2:0,y2:0,percent:1,cpx1:null,cpy1:null},buildPath:function(e,t){this[s(t)?"_buildPathLine":"_buildPathCurve"](e,t)},_buildPathLine:a.buildPath,_buildPathCurve:r.buildPath,pointAt:function(e){return this[s(this.shape)?"_pointAtLine":"_pointAtCurve"](e)},_pointAtLine:a.pointAt,_pointAtCurve:r.pointAt,tangentAt:function(e){var t=this.shape,n=s(t)?[t.x2-t.x1,t.y2-t.y1]:this._tangentAtCurve(e);return o.normalize(n,n)},_tangentAtCurve:r.tangentAt});e.exports=l},fE02:function(e,t,n){var i=n("ProS"),o=n("bYtY"),a=n("/IIm"),r=n("vZ6x"),s=n("b9oc"),l=n("72pK"),u=n("Kagy"),c=n("IUWy");n("3TkU");var d=u.toolbox.dataZoom,h=o.each;function p(e,t,n){(this._brushController=new a(n.getZr())).on("brush",o.bind(this._onBrush,this)).mount(),this._isZoomActive}p.defaultOption={show:!0,filterMode:"filter",icon:{zoom:"M0,13.5h26.9 M13.5,26.9V0 M32.1,13.5H58V58H13.5 V32.1",back:"M22,1.4L9.9,13.5l12.3,12.3 M10.3,13.5H54.9v44.6 H10.3v-26"},title:o.clone(d.title),brushStyle:{borderWidth:0,color:"rgba(0,0,0,0.2)"}};var g=p.prototype;g.render=function(e,t,n,i){this.model=e,this.ecModel=t,this.api=n,function(e,t,n,i,o){var a=n._isZoomActive;i&&"takeGlobalCursor"===i.type&&(a="dataZoomSelect"===i.key&&i.dataZoomSelectActive);n._isZoomActive=a,e.setIconStatus("zoom",a?"emphasis":"normal");var s=new r(m(e.option),t,{include:["grid"]});n._brushController.setPanels(s.makePanelOpts(o,(function(e){return e.xAxisDeclared&&!e.yAxisDeclared?"lineX":!e.xAxisDeclared&&e.yAxisDeclared?"lineY":"rect"}))).enableBrush(!!a&&{brushType:"auto",brushStyle:e.getModel("brushStyle").getItemStyle()})}(e,t,this,i,n),function(e,t){e.setIconStatus("back",s.count(t)>1?"emphasis":"normal")}(e,t)},g.onclick=function(e,t,n){f[n].call(this)},g.remove=function(e,t){this._brushController.unmount()},g.dispose=function(e,t){this._brushController.dispose()};var f={zoom:function(){var e=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:e})},back:function(){this._dispatchZoomAction(s.pop(this.ecModel))}};function m(e){var t={};return o.each(["xAxisIndex","yAxisIndex"],(function(n){t[n]=e[n],null==t[n]&&(t[n]="all"),(!1===t[n]||"none"===t[n])&&(t[n]=[])})),t}g._onBrush=function(e,t){if(t.isEnd&&e.length){var n={},i=this.ecModel;this._brushController.updateCovers([]),new r(m(this.model.option),i,{include:["grid"]}).matchOutputRanges(e,i,(function(e,t,n){if("cartesian2d"===n.type){var i=e.brushType;"rect"===i?(o("x",n,t[0]),o("y",n,t[1])):o({lineX:"x",lineY:"y"}[i],n,t)}})),s.push(i,n),this._dispatchZoomAction(n)}function o(e,t,o){var a=t.getAxis(e),r=a.model,s=function(e,t,n){var i;return n.eachComponent({mainType:"dataZoom",subType:"select"},(function(n){n.getAxisModel(e,t.componentIndex)&&(i=n)})),i}(e,r,i),u=s.findRepresentativeAxisProxy(r).getMinMaxSpan();null==u.minValueSpan&&null==u.maxValueSpan||(o=l(0,o.slice(),a.scale.getExtent(),0,u.minValueSpan,u.maxValueSpan)),s&&(n[s.id]={dataZoomId:s.id,startValue:o[0],endValue:o[1]})}},g._dispatchZoomAction=function(e){var t=[];h(e,(function(e,n){t.push(o.clone(e))})),t.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:t})},c.register("dataZoom",p),i.registerPreprocessor((function(e){if(e){var t=e.dataZoom||(e.dataZoom=[]);o.isArray(t)||(e.dataZoom=t=[t]);var n=e.toolbox;if(n&&(o.isArray(n)&&(n=n[0]),n&&n.feature)){var i=n.feature.dataZoom;a("xAxis",i),a("yAxis",i)}}function a(n,i){if(i){var a=n+"Index",r=i[a];null==r||"all"===r||o.isArray(r)||(r=!1===r||"none"===r?[]:[r]),function(t,n){var i=e[t];o.isArray(i)||(i=i?[i]:[]);h(i,n)}(n,(function(e,s){if(null==r||"all"===r||-1!==o.indexOf(r,s)){var l={type:"select",$fromToolbox:!0,filterMode:i.filterMode||"filter",id:"\0_ec_\0toolbox-dataZoom_"+n+s};l[a]=s,t.push(l)}}))}}}));var v=p;e.exports=v},"fc+c":function(e,t,n){var i=n("sS/r").extend({type:"dataZoom",render:function(e,t,n,i){this.dataZoomModel=e,this.ecModel=t,this.api=n},getTargetCoordInfo:function(){var e=this.dataZoomModel,t=this.ecModel,n={};return e.eachTargetAxis((function(e,i){var o=t.getComponent(e.axis,i);if(o){var a=o.getCoordSysModel();a&&function(e,t,n,i){for(var o,a=0;a0&&(b[0]=-b[0],b[1]=-b[1]);var w,M=d[0]<0?-1:1;if("start"!==n.__position&&"end"!==n.__position){var I=-Math.atan2(d[1],d[0]);u[0].8?"left":c[0]<-.8?"right":"center",f=c[1]>.8?"top":c[1]<-.8?"bottom":"middle";break;case"start":p=[-c[0]*y+l[0],-c[1]*x+l[1]],g=c[0]>.8?"right":c[0]<-.8?"left":"center",f=c[1]>.8?"bottom":c[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":p=[y*M+l[0],l[1]+w],g=d[0]<0?"right":"left",m=[-y*M,-w];break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":p=[S[0],S[1]+w],g="center",m=[0,-w];break;case"insideEndTop":case"insideEnd":case"insideEndBottom":p=[-y*M+u[0],u[1]+w],g=d[0]>=0?"right":"left",m=[y*M,-w]}n.attr({style:{textVerticalAlign:n.__verticalAlign||f,textAlign:n.__textAlign||g},position:p,scale:[i,i],origin:m})}}}},g._createLine=function(e,t,n){var o=e.hostModel,a=function(e){var t=new r({name:"line",subPixelOptimize:!0});return h(t.shape,e),t}(e.getItemLayout(t));a.shape.percent=0,s.initProps(a,{shape:{percent:1}},o,t),this.add(a);var l=new s.Text({name:"label",lineLabelOriginalOpacity:1});this.add(l),i.each(u,(function(n){var i=d(n,e,t);this.add(i),this[c(n)]=e.getItemVisual(t,n)}),this),this._updateCommonStl(e,t,n)},g.updateData=function(e,t,n){var o=e.hostModel,a=this.childOfName("line"),r=e.getItemLayout(t),l={shape:{}};h(l.shape,r),s.updateProps(a,l,o,t),i.each(u,(function(n){var i=e.getItemVisual(t,n),o=c(n);if(this[o]!==i){this.remove(this.childOfName(n));var a=d(n,e,t);this.add(a)}this[o]=i}),this),this._updateCommonStl(e,t,n)},g._updateCommonStl=function(e,t,n){var o=e.hostModel,a=this.childOfName("line"),r=n&&n.lineStyle,c=n&&n.hoverLineStyle,d=n&&n.labelModel,h=n&&n.hoverLabelModel;if(!n||e.hasItemOption){var p=e.getItemModel(t);r=p.getModel("lineStyle").getLineStyle(),c=p.getModel("emphasis.lineStyle").getLineStyle(),d=p.getModel("label"),h=p.getModel("emphasis.label")}var g=e.getItemVisual(t,"color"),f=i.retrieve3(e.getItemVisual(t,"opacity"),r.opacity,1);a.useStyle(i.defaults({strokeNoScale:!0,fill:"none",stroke:g,opacity:f},r)),a.hoverStyle=c,i.each(u,(function(e){var t=this.childOfName(e);t&&(t.setColor(g),t.setStyle({opacity:f}))}),this);var m,v,y=d.getShallow("show"),x=h.getShallow("show"),_=this.childOfName("label");if((y||x)&&(m=g||"#000",null==(v=o.getFormattedLabel(t,"normal",e.dataType)))){var b=o.getRawValue(t);v=null==b?e.getName(t):isFinite(b)?l(b):b}var S=y?v:null,w=x?i.retrieve2(o.getFormattedLabel(t,"emphasis",e.dataType),v):null,M=_.style;if(null!=S||null!=w){s.setTextStyle(_.style,d,{text:S},{autoColor:m}),_.__textAlign=M.textAlign,_.__verticalAlign=M.textVerticalAlign,_.__position=d.get("position")||"middle";var I=d.get("distance");i.isArray(I)||(I=[I,I]),_.__labelDistance=I}_.hoverStyle=null!=w?{text:w,textFill:h.getTextColor(!0),fontStyle:h.getShallow("fontStyle"),fontWeight:h.getShallow("fontWeight"),fontSize:h.getShallow("fontSize"),fontFamily:h.getShallow("fontFamily")}:{text:null},_.ignore=!y&&!x,s.setHoverStyle(this)},g.highlight=function(){this.trigger("emphasis")},g.downplay=function(){this.trigger("normal")},g.updateLayout=function(e,t){this.setLinePoints(e.getItemLayout(t))},g.setLinePoints=function(e){var t=this.childOfName("line");h(t.shape,e),t.dirty()},i.inherits(p,s.Group);var f=p;e.exports=f},g7p0:function(e,t,n){var i=n("bYtY"),o=n("bLfw"),a=n("+TT/"),r=a.getLayoutParams,s=a.sizeCalculable,l=a.mergeLayoutParam,u=o.extend({type:"calendar",coordinateSystem:null,defaultOption:{zlevel:0,z:2,left:80,top:60,cellSize:20,orient:"horizontal",splitLine:{show:!0,lineStyle:{color:"#000",width:1,type:"solid"}},itemStyle:{color:"#fff",borderWidth:1,borderColor:"#ccc"},dayLabel:{show:!0,firstDay:0,position:"start",margin:"50%",nameMap:"en",color:"#000"},monthLabel:{show:!0,position:"start",margin:5,align:"center",nameMap:"en",formatter:null,color:"#000"},yearLabel:{show:!0,position:null,margin:30,formatter:null,color:"#ccc",fontFamily:"sans-serif",fontWeight:"bolder",fontSize:20}},init:function(e,t,n,i){var o=r(e);u.superApply(this,"init",arguments),c(e,o)},mergeOption:function(e,t){u.superApply(this,"mergeOption",arguments),c(this.option,e)}});function c(e,t){var n=e.cellSize;i.isArray(n)?1===n.length&&(n[1]=n[0]):n=e.cellSize=[n,n];var o=i.map([0,1],(function(e){return s(t,e)&&(n[e]="auto"),null!=n[e]&&"auto"!==n[e]}));l(e,t,{type:"box",ignoreSize:o})}var d=u;e.exports=d},gawk:function(e,t,n){var i=n("+TT/"),o=n("bYtY"),a=n("4NO4").groupData;function r(e){var t=e.hostGraph.data.getRawDataItem(e.dataIndex);return null!=t.depth&&t.depth>=0}function s(e,t,n,i,a){var r="vertical"===a?"x":"y";o.each(e,(function(e){var o,s,l;e.sort((function(e,t){return e.getLayout()[r]-t.getLayout()[r]}));for(var u=0,c=e.length,d="vertical"===a?"dx":"dy",h=0;h0&&(o=s.getLayout()[r]+l,"vertical"===a?s.setLayout({x:o},!0):s.setLayout({y:o},!0)),u=s.getLayout()[r]+s.getLayout()[d]+t;if((l=u-t-("vertical"===a?i:n))>0)for(o=s.getLayout()[r]-l,"vertical"===a?s.setLayout({x:o},!0):s.setLayout({y:o},!0),u=o,h=c-2;h>=0;--h)(l=(s=e[h]).getLayout()[r]+s.getLayout()[d]+t-u)>0&&(o=s.getLayout()[r]-l,"vertical"===a?s.setLayout({x:o},!0):s.setLayout({y:o},!0)),u=s.getLayout()[r]}))}function l(e,t,n){o.each(e.slice().reverse(),(function(e){o.each(e,(function(e){if(e.outEdges.length){var i=f(e.outEdges,u,n)/f(e.outEdges,g,n);if(isNaN(i)){var o=e.outEdges.length;i=o?f(e.outEdges,c,n)/o:0}if("vertical"===n){var a=e.getLayout().x+(i-p(e,n))*t;e.setLayout({x:a},!0)}else{var r=e.getLayout().y+(i-p(e,n))*t;e.setLayout({y:r},!0)}}}))}))}function u(e,t){return p(e.node2,t)*e.getValue()}function c(e,t){return p(e.node2,t)}function d(e,t){return p(e.node1,t)*e.getValue()}function h(e,t){return p(e.node1,t)}function p(e,t){return"vertical"===t?e.getLayout().x+e.getLayout().dx/2:e.getLayout().y+e.getLayout().dy/2}function g(e){return e.getValue()}function f(e,t,n){for(var i=0,o=e.length,a=-1;++a=0;x&&y.depth>f&&(f=y.depth),v.setLayout({depth:x?y.depth:p},!0),"vertical"===s?v.setLayout({dy:n},!0):v.setLayout({dx:n},!0);for(var _=0;_p-1?f:p-1;l&&"left"!==l&&function(e,t,n,i){if("right"===t){for(var a=[],s=e,l=0;s.length;){for(var u=0;u0;u--)l(d,h*=.99,c),s(d,r,n,i,c),m(d,h,c),s(d,r,n,i,c)}(e,t,c,u,i,d,h),function(e,t){var n="vertical"===t?"x":"y";o.each(e,(function(e){e.outEdges.sort((function(e,t){return e.node2.getLayout()[n]-t.node2.getLayout()[n]})),e.inEdges.sort((function(e,t){return e.node1.getLayout()[n]-t.node1.getLayout()[n]}))})),o.each(e,(function(e){var t=0,n=0;o.each(e.outEdges,(function(e){e.setLayout({sy:t},!0),t+=e.getLayout().dy})),o.each(e.inEdges,(function(e){e.setLayout({ty:n},!0),n+=e.getLayout().dy}))}))}(e,h)}(v,y,n,u,d,h,0!==o.filter(v,(function(e){return 0===e.getLayout().value})).length?0:e.get("layoutIterations"),e.get("orient"),e.get("nodeAlign"))}))}},h54F:function(e,t,n){var i=n("ProS"),o=n("YXkt"),a=n("bYtY"),r=n("4NO4").defaultEmphasis,s=n("Qxkt"),l=n("7aKB").encodeHTML,u=n("I3/A"),c=n("xKMd"),d=n("DDd/"),h=d.initCurvenessList,p=d.createEdgeMapForCurveness,g=i.extendSeriesModel({type:"series.graph",init:function(e){g.superApply(this,"init",arguments);var t=this;function n(){return t._categoriesData}this.legendVisualProvider=new c(n,n),this.fillDataTextStyle(e.edges||e.links),this._updateCategoriesData()},mergeOption:function(e){g.superApply(this,"mergeOption",arguments),this.fillDataTextStyle(e.edges||e.links),this._updateCategoriesData()},mergeDefaultAndTheme:function(e){g.superApply(this,"mergeDefaultAndTheme",arguments),r(e,["edgeLabel"],["show"])},getInitialData:function(e,t){var n=e.edges||e.links||[],i=e.data||e.nodes||[],o=this;if(i&&n){h(this);var r=u(i,n,this,!0,(function(e,n){e.wrapMethod("getItemModel",(function(e){var t=o._categoriesModels[e.getShallow("category")];return t&&(t.parentModel=e.parentModel,e.parentModel=t),e}));var i=o.getModel("edgeLabel"),a=new s({label:i.option},i.parentModel,t),r=o.getModel("emphasis.edgeLabel"),l=new s({emphasis:{label:r.option}},r.parentModel,t);function u(e){return(e=this.parsePath(e))&&"label"===e[0]?a:e&&"emphasis"===e[0]&&"label"===e[1]?l:this.parentModel}n.wrapMethod("getItemModel",(function(e){return e.customizeGetParent(u),e}))}));return a.each(r.edges,(function(e){p(e.node1,e.node2,this,e.dataIndex)}),this),r.data}},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},getCategoriesData:function(){return this._categoriesData},formatTooltip:function(e,t,n){if("edge"===n){var i=this.getData(),o=this.getDataParams(e,n),a=i.graph.getEdgeByIndex(e),r=i.getName(a.node1.dataIndex),s=i.getName(a.node2.dataIndex),u=[];return null!=r&&u.push(r),null!=s&&u.push(s),u=l(u.join(" > ")),o.value&&(u+=" : "+l(o.value)),u}return g.superApply(this,"formatTooltip",arguments)},_updateCategoriesData:function(){var e=a.map(this.option.categories||[],(function(e){return null!=e.value?e:a.extend({value:0},e)})),t=new o(["value"],this);t.initData(e),this._categoriesData=t,this._categoriesModels=t.mapArray((function(e){return t.getItemModel(e,!0)}))},setZoom:function(e){this.option.zoom=e},setCenter:function(e){this.option.center=e},isAnimationEnabled:function(){return g.superCall(this,"isAnimationEnabled")&&!("force"===this.get("layout")&&this.get("force.layoutAnimation"))},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",legendHoverLink:!0,hoverAnimation:!0,layout:null,focusNodeAdjacency:!1,circular:{rotateLabel:!1},force:{initLayout:null,repulsion:[0,50],gravity:.1,friction:.6,edgeLength:30,layoutAnimation:!0},left:"center",top:"center",symbol:"circle",symbolSize:10,edgeSymbol:["none","none"],edgeSymbolSize:10,edgeLabel:{position:"middle",distance:5},draggable:!1,roam:!1,center:null,zoom:1,nodeScaleRatio:.6,label:{show:!1,formatter:"{b}"},itemStyle:{},lineStyle:{color:"#aaa",width:1,opacity:.5},emphasis:{label:{show:!0}}}}),f=g;e.exports=f},h8O9:function(e,t,n){var i=n("bYtY").map,o=n("zM3Q"),a=n("7hqr").isDimensionStacked;e.exports=function(e){return{seriesType:e,plan:o(),reset:function(e){var t=e.getData(),n=e.coordinateSystem,o=e.pipelineContext.large;if(n){var r=i(n.dimensions,(function(e){return t.mapDimension(e)})).slice(0,2),s=r.length,l=t.getCalculationInfo("stackResultDimension");return a(t,r[0])&&(r[0]=l),a(t,r[1])&&(r[1]=l),s&&{progress:function(e,t){for(var i=e.end-e.start,a=o&&new Float32Array(i*s),l=e.start,u=0,c=[],d=[];ld[1]&&(d[1]=u);var h=t.get("colorMappingBy"),p={type:s.name,dataExtent:d,visual:s.range};"color"!==p.type||"index"!==h&&"id"!==h?p.mappingMethod="linear":(p.mappingMethod="category",p.loop=!0);var g=new i(p);return g.__drColorMappingBy=h,g}(0,u,d,0,g,v);a.each(v,(function(t,n){if(t.depth>=r.length||t===r[t.depth]){var i=function(e,t,n,i,o,r){var s=a.extend({},t);if(o){var l=o.type,u="color"===l&&o.__drColorMappingBy,c="index"===u?i:"id"===u?r.mapIdToIndex(n.getId()):n.getValue(e.get("visualDimension"));s[l]=o.mapValueToVisual(c)}return s}(u,g,t,n,y,s);e(t,i,r,s)}}))}else h=l(g),t.setVisual("color",h)}(s,{},e.getViewRoot().getAncestors(),e)}};function l(e){var t=u(e,"color");if(t){var n=u(e,"colorAlpha"),i=u(e,"colorSaturation");return i&&(t=o.modifyHSL(t,null,null,i)),n&&(t=o.modifyAlpha(t,n)),t}}function u(e,t){var n=e[t];if(null!=n&&"none"!==n)return n}function c(e,t){var n=e.get(t);return r(n)&&n.length?{name:t,range:n}:null}e.exports=s},kaz8:function(e,t,n){"use strict";n.r(t);var i=n("q1tI"),o=n("17x9"),a=n("VCL8"),r=n("TSYQ"),s=n.n(r),l=n("x1Ya"),u=n("Gytx"),c=n.n(u),d=n("H84U"),h=n("6CfX");function p(e){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function f(){return(f=Object.assign||function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,i=new Array(t);n0&&(m=t.getOptions().map((function(e){return i.createElement(I,{prefixCls:p,key:e.value.toString(),disabled:"disabled"in e?e.disabled:a.disabled,value:e.value,checked:-1!==r.value.indexOf(e.value),onChange:e.onChange,className:"".concat(g,"-item")},e.label)})));var v=s()(g,u);return i.createElement("div",D({className:v,style:c},f),m)},t.state={value:e.value||e.defaultValue||[],registeredValues:[]},t}return t=r,o=[{key:"getDerivedStateFromProps",value:function(e){return"value"in e?{value:e.value||[]}:null}}],(n=[{key:"getChildContext",value:function(){return{checkboxGroup:{toggleOption:this.toggleOption,value:this.state.value,disabled:this.props.disabled,name:this.props.name,registerValue:this.registerValue,cancelValue:this.cancelValue}}}},{key:"shouldComponentUpdate",value:function(e,t){return!c()(this.props,e)||!c()(this.state,t)}},{key:"getOptions",value:function(){return this.props.options.map((function(e){return"string"==typeof e?{label:e,value:e}:e}))}},{key:"render",value:function(){return i.createElement(d.a,null,this.renderGroup)}}])&&P(t.prototype,n),o&&P(t,o),r}(i.Component);z.defaultProps={options:[]},z.propTypes={defaultValue:o.array,value:o.array,options:o.array.isRequired,onChange:o.func},z.childContextTypes={checkboxGroup:o.any},Object(a.polyfill)(z);var B=z;I.Group=B;t.default=I},knOB:function(e,t,n){var i=n("bYtY"),o=n("hM6l");function a(e,t){o.call(this,"radius",e,t),this.type="category"}a.prototype={constructor:a,pointToData:function(e,t){return this.polar.pointToData(e,t)["radius"===this.dim?0:1]},dataToRadius:o.prototype.dataToCoord,radiusToData:o.prototype.coordToData},i.inherits(a,o);var r=a;e.exports=r},ko1b:function(e,t,n){var i=n("bYtY"),o=n("T4UG"),a=n("Bsck"),r=n("Qxkt"),s=n("7aKB"),l=s.encodeHTML,u=s.addCommas,c=n("VaxA").wrapTreePathInfo,d=o.extend({type:"series.treemap",layoutMode:"box",dependencies:["grid","polar"],preventUsingHoverLayer:!0,_viewRoot:null,defaultOption:{progressive:0,left:"center",top:"middle",right:null,bottom:null,width:"80%",height:"80%",sort:!0,clipWindow:"origin",squareRatio:.5*(1+Math.sqrt(5)),leafDepth:null,drillDownIcon:"▶",zoomToNodeRatio:.1024,roam:!0,nodeClick:"zoomToNode",animation:!0,animationDurationUpdate:900,animationEasing:"quinticInOut",breadcrumb:{show:!0,height:22,left:"center",top:"bottom",emptyItemWidth:25,itemStyle:{color:"rgba(0,0,0,0.7)",borderColor:"rgba(255,255,255,0.7)",borderWidth:1,shadowColor:"rgba(150,150,150,1)",shadowBlur:3,shadowOffsetX:0,shadowOffsetY:0,textStyle:{color:"#fff"}},emphasis:{textStyle:{}}},label:{show:!0,distance:0,padding:5,position:"inside",color:"#fff",ellipsis:!0},upperLabel:{show:!1,position:[0,"50%"],height:20,color:"#fff",ellipsis:!0,verticalAlign:"middle"},itemStyle:{color:null,colorAlpha:null,colorSaturation:null,borderWidth:0,gapWidth:0,borderColor:"#fff",borderColorSaturation:null},emphasis:{upperLabel:{show:!0,position:[0,"50%"],color:"#fff",ellipsis:!0,verticalAlign:"middle"}},visualDimension:0,visualMin:null,visualMax:null,color:[],colorAlpha:null,colorSaturation:null,colorMappingBy:"index",visibleMin:10,childrenVisibleMin:null,levels:[]},getInitialData:function(e,t){var n={name:e.name,children:e.data};!function e(t){var n=0;i.each(t.children,(function(t){e(t);var o=t.value;i.isArray(o)&&(o=o[0]),n+=o}));var o=t.value;i.isArray(o)&&(o=o[0]);(null==o||isNaN(o))&&(o=n);o<0&&(o=0);i.isArray(t.value)?t.value[0]=o:t.value=o}(n);var o=e.levels||[],s=this.designatedVisualItemStyle={},l=new r({itemStyle:s},this,t);o=e.levels=function(e,t){var n,o=t.get("color");if(!o)return;if(e=e||[],i.each(e,(function(e){var t=new r(e),i=t.get("color");(t.get("itemStyle.color")||i&&"none"!==i)&&(n=!0)})),!n){(e[0]||(e[0]={})).color=o.slice()}return e}(o,t);var u=i.map(o||[],(function(e){return new r(e,l,t)}),this),c=a.createTree(n,this,(function(e){e.wrapMethod("getItemModel",(function(e,t){var n=c.getNodeByDataIndex(t),i=u[n.depth];return e.parentModel=i||l,e}))}));return c.data},optionUpdated:function(){this.resetViewRoot()},formatTooltip:function(e){var t=this.getData(),n=this.getRawValue(e),o=i.isArray(n)?u(n[0]):u(n),a=t.getName(e);return l(a+": "+o)},getDataParams:function(e){var t=o.prototype.getDataParams.apply(this,arguments),n=this.getData().tree.getNodeByDataIndex(e);return t.treePathInfo=c(n,this),t},setLayoutInfo:function(e){this.layoutInfo=this.layoutInfo||{},i.extend(this.layoutInfo,e)},mapIdToIndex:function(e){var t=this._idIndexMap;t||(t=this._idIndexMap=i.createHashMap(),this._idIndexMapCount=0);var n=t.get(e);return null==n&&t.set(e,n=this._idIndexMapCount++),n},getViewRoot:function(){return this._viewRoot},resetViewRoot:function(e){e?this._viewRoot=e:e=this._viewRoot;var t=this.getRawData().tree.root;e&&(e===t||t.contains(e))||(this._viewRoot=t)}});e.exports=d},kzvK:function(e,t,n){var i=n("sS/r").extend({type:"timeline"});e.exports=i},lELe:function(e,t,n){var i=n("bYtY");e.exports=function(e){var t=[];i.each(e.series,(function(e){e&&"map"===e.type&&(t.push(e),e.map=e.map||e.mapType,i.defaults(e,e.mapLocation))}))}},lLGD:function(e,t,n){var i=n("ProS"),o=n("bYtY"),a=n("nVfU"),r=a.layout,s=a.largeLayout;n("Wqna"),n("F7hV"),n("Z8zF"),n("Ae16"),i.registerLayout(i.PRIORITY.VISUAL.LAYOUT,o.curry(r,"bar")),i.registerLayout(i.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,s),i.registerVisual({seriesType:"bar",reset:function(e){e.getData().setVisual("legendSymbol","roundRect")}})},lOQZ:function(e,t,n){var i=n("QBsz"),o=n("U/Mo"),a=o.getSymbolSize,r=o.getNodeGlobalScale,s=n("bYtY"),l=n("DDd/").getCurvenessForEdge,u=Math.PI,c=[];var d={value:function(e,t,n,i,o,a,r,s){var l=0,u=i.getSum("value"),c=2*Math.PI/(u||s);n.eachNode((function(e){var t=e.getValue("value"),n=c*(u?t:1)/2;l+=n,e.setLayout([o*Math.cos(l)+a,o*Math.sin(l)+r]),l+=n}))},symbolSize:function(e,t,n,i,o,s,l,d){var h=0;c.length=d;var p=r(e);n.eachNode((function(e){var t=a(e);isNaN(t)&&(t=2),t<0&&(t=0),t*=p;var n=Math.asin(t/2/o);isNaN(n)&&(n=u/2),c[e.dataIndex]=n,h+=2*n}));var g=(2*u-h)/d/2,f=0;n.eachNode((function(e){var t=g+c[e.dataIndex];f+=t,e.setLayout([o*Math.cos(f)+s,o*Math.sin(f)+l]),f+=t}))}};t.circularLayout=function(e,t){var n=e.coordinateSystem;if(!n||"view"===n.type){var o=n.getBoundingRect(),a=e.getData(),r=a.graph,u=o.width/2+o.x,c=o.height/2+o.y,h=Math.min(o.width,o.height)/2,p=a.count();a.setLayout({cx:u,cy:c}),p&&(d[t](e,n,r,a,h,u,c,p),r.eachEdge((function(t,n){var o,a=s.retrieve3(t.getModel().get("lineStyle.curveness"),l(t,e,n),0),r=i.clone(t.node1.getLayout()),d=i.clone(t.node2.getLayout()),h=(r[0]+d[0])/2,p=(r[1]+d[1])/2;+a&&(o=[u*(a*=3)+h*(1-a),c*a+p*(1-a)]),t.setLayout([r,d,o])})))}}},laiN:function(e,t,n){var i=n("ProS");n("GVMX"),n("MH26"),i.registerPreprocessor((function(e){e.markLine=e.markLine||{}}))},lwQL:function(e,t,n){var i=n("ProS"),o=n("bYtY"),a=n("9wZj"),r=n("c8qY"),s=n("SgGq"),l=n("Ae+d"),u=n("xSat").onIrrelevantElement,c=n("IwbS"),d=n("SA8n"),h=n("U/Mo").getNodeGlobalScale,p="__focusNodeAdjacency",g=["itemStyle","opacity"],f=["lineStyle","opacity"];function m(e,t){var n=e.getVisual("opacity");return null!=n?n:e.getModel().get(t)}function v(e,t,n){var i=e.getGraphicEl(),o=m(e,t);null!=n&&(null==o&&(o=1),o*=n),i.downplay&&i.downplay(),i.traverse((function(e){if(!e.isGroup){var t=e.lineLabelOriginalOpacity;null!=t&&null==n||(t=o),e.setStyle("opacity",t)}}))}function y(e,t){var n=m(e,t),i=e.getGraphicEl();i.traverse((function(e){!e.isGroup&&e.setStyle("opacity",n)})),i.highlight&&i.highlight()}var x=i.extendChartView({type:"graph",init:function(e,t){var n=new a,i=new r,o=this.group;this._controller=new s(t.getZr()),this._controllerHost={target:o},o.add(n.group),o.add(i.group),this._symbolDraw=n,this._lineDraw=i,this._firstRender=!0},render:function(e,t,n){var i=this,o=e.coordinateSystem;this._model=e;var a=this._symbolDraw,r=this._lineDraw,s=this.group;if("view"===o.type){var l={position:o.position,scale:o.scale};this._firstRender?s.attr(l):c.updateProps(s,l,e)}d(e.getGraph(),h(e));var u=e.getData();a.updateData(u);var g=e.getEdgeData();r.updateData(g),this._updateNodeAndLinkScale(),this._updateController(e,t,n),clearTimeout(this._layoutTimeout);var f=e.forceLayout,m=e.get("force.layoutAnimation");f&&this._startForceLayoutIteration(f,m),u.eachItemGraphicEl((function(t,o){var a=u.getItemModel(o);t.off("drag").off("dragend");var r=a.get("draggable");r&&t.on("drag",(function(){f&&(f.warmUp(),!this._layouting&&this._startForceLayoutIteration(f,m),f.setFixed(o),u.setItemLayout(o,t.position))}),this).on("dragend",(function(){f&&f.setUnfixed(o)}),this),t.setDraggable(r&&f),t[p]&&t.off("mouseover",t[p]),t.__unfocusNodeAdjacency&&t.off("mouseout",t.__unfocusNodeAdjacency),a.get("focusNodeAdjacency")&&(t.on("mouseover",t[p]=function(){i._clearTimer(),n.dispatchAction({type:"focusNodeAdjacency",seriesId:e.id,dataIndex:t.dataIndex})}),t.on("mouseout",t.__unfocusNodeAdjacency=function(){i._dispatchUnfocus(n)}))}),this),u.graph.eachEdge((function(t){var o=t.getGraphicEl();o[p]&&o.off("mouseover",o[p]),o.__unfocusNodeAdjacency&&o.off("mouseout",o.__unfocusNodeAdjacency),t.getModel().get("focusNodeAdjacency")&&(o.on("mouseover",o[p]=function(){i._clearTimer(),n.dispatchAction({type:"focusNodeAdjacency",seriesId:e.id,edgeDataIndex:t.dataIndex})}),o.on("mouseout",o.__unfocusNodeAdjacency=function(){i._dispatchUnfocus(n)}))}));var v="circular"===e.get("layout")&&e.get("circular.rotateLabel"),y=u.getLayout("cx"),x=u.getLayout("cy");u.eachItemGraphicEl((function(e,t){var n=u.getItemModel(t).get("label.rotate")||0,i=e.getSymbolPath();if(v){var o=u.getItemLayout(t),a=Math.atan2(o[1]-x,o[0]-y);a<0&&(a=2*Math.PI+a);var r=o[0]0?n=i[0]:i[1]<0&&(n=i[1]);return n}(s,n),u=r.dim,c=s.dim,d=t.mapDimension(c),h=t.mapDimension(u),p="x"===c||"radius"===c?1:0,g=o(e.dimensions,(function(e){return t.mapDimension(e)})),f=t.getCalculationInfo("stackResultDimension");return(a|=i(t,g[0]))&&(g[0]=f),(a|=i(t,g[1]))&&(g[1]=f),{dataDimsForPoint:g,valueStart:l,valueAxisDim:c,baseAxisDim:u,stacked:!!a,valueDim:d,baseDim:h,baseDataOffset:p,stackedOverDimension:t.getCalculationInfo("stackedOverDimension")}},t.getStackedOnPoint=function(e,t,n,i){var o=NaN;e.stacked&&(o=n.get(n.getCalculationInfo("stackedOverDimension"),i)),isNaN(o)&&(o=e.valueStart);var a=e.baseDataOffset,r=[];return r[a]=n.get(e.baseDim,i),r[1-a]=o,t.dataToPoint(r)}},n6Mw:function(e,t,n){var i=n("SrGk"),o=n("bYtY"),a=n("Fofx");function r(e,t){i.call(this,e,t,"clipPath","__clippath_in_use__")}o.inherits(r,i),r.prototype.update=function(e){var t=this.getSvgElement(e);t&&this.updateDom(t,e.__clipPaths,!1);var n=this.getTextSvgElement(e);n&&this.updateDom(n,e.__clipPaths,!0),this.markUsed(e)},r.prototype.updateDom=function(e,t,n){if(t&&t.length>0){var i,o,r=this.getDefs(!0),s=t[0],l=n?"_textDom":"_dom";s[l]?(o=s[l].getAttribute("id"),i=s[l],r.contains(i)||r.appendChild(i)):(o="zr"+this._zrId+"-clip-"+this.nextId,++this.nextId,(i=this.createElement("clipPath")).setAttribute("id",o),r.appendChild(i),s[l]=i);var u=this.getSvgProxy(s);if(s.transform&&s.parent.invTransform&&!n){var c=Array.prototype.slice.call(s.transform);a.mul(s.transform,s.parent.invTransform,s.transform),u.brush(s),s.transform=c}else u.brush(s);var d=this.getSvgElement(s);i.innerHTML="",i.appendChild(d.cloneNode()),e.setAttribute("clip-path","url(#"+o+")"),t.length>1&&this.updateDom(i,t.slice(1),n)}else e&&e.setAttribute("clip-path","none")},r.prototype.markUsed=function(e){var t=this;e.__clipPaths&&o.each(e.__clipPaths,(function(e){e._dom&&i.prototype.markUsed.call(t,e._dom),e._textDom&&i.prototype.markUsed.call(t,e._textDom)}))};var s=r;e.exports=s},nKiI:function(e,t,n){var i=n("bYtY"),o=n("mFDi"),a=n("OELB"),r=a.parsePercent,s=a.MAX_SAFE_INTEGER,l=n("+TT/"),u=n("VaxA"),c=Math.max,d=Math.min,h=i.retrieve,p=i.each,g=["itemStyle","borderWidth"],f=["itemStyle","gapWidth"],m=["upperLabel","show"],v=["upperLabel","height"],y={seriesType:"treemap",reset:function(e,t,n,a){var m=n.getWidth(),v=n.getHeight(),y=e.option,w=l.getLayoutRect(e.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()}),M=y.size||[],I=r(h(w.width,M[0]),m),A=r(h(w.height,M[1]),v),T=a&&a.type,D=u.retrieveTargetInfo(a,["treemapZoomToNode","treemapRootToNode"],e),C="treemapRender"===T||"treemapMove"===T?a.rootRect:null,L=e.getViewRoot(),P=u.getPathToRoot(L);if("treemapMove"!==T){var k="treemapZoomToNode"===T?function(e,t,n,i,o){var a,r=(t||{}).node,l=[i,o];if(!r||r===n)return l;var u=i*o,c=u*e.option.zoomToNodeRatio;for(;a=r.parentNode;){for(var d=0,h=a.children,p=0,f=h.length;ps&&(c=s),r=a}cs[1]&&(s[1]=t)}))}else s=[NaN,NaN];return{sum:i,dataExtent:s}}(t,s,l);if(0===c.sum)return e.viewChildren=[];if(c.sum=function(e,t,n,i,o){if(!i)return n;for(var a=e.get("visibleMin"),r=o.length,s=r,l=r-1;l>=0;l--){var u=o["asc"===i?r-l-1:l].getValue();u/n*to&&(o=i));var l=e.area*e.area,u=t*t*n;return l?c(u*o/l,l/(u*a)):1/0}function b(e,t,n,i,o){var a=t===n.width?0:1,r=1-a,s=["x","y"],l=["width","height"],u=n[s[a]],h=t?e.area/t:0;(o||h>n[l[r]])&&(h=n[l[r]]);for(var p=0,g=e.length;p0){e.moveTo(n[o++],n[o++]);for(var r=1;r0){var d=(s+u)/2-(l-c)*i,h=(l+c)/2-(u-s)*i;e.quadraticCurveTo(d,h,u,c)}else e.lineTo(u,c)}},findDataIndex:function(e,t){var n=this.shape,i=n.segs,o=n.curveness;if(n.polyline)for(var s=0,l=0;l0)for(var c=i[l++],d=i[l++],h=1;h0){var f=(c+p)/2-(d-g)*o,m=(d+g)/2-(p-c)*o;if(r.containStroke(c,d,f,m,p,g))return s}else if(a.containStroke(c,d,p,g))return s;s++}return-1}});function l(){this.group=new i.Group}var u=l.prototype;u.isPersistent=function(){return!this._incremental},u.updateData=function(e){this.group.removeAll();var t=new s({rectHover:!0,cursor:"default"});t.setShape({segs:e.getLayout("linesPoints")}),this._setCommon(t,e),this.group.add(t),this._incremental=null},u.incrementalPrepareUpdate=function(e){this.group.removeAll(),this._clearIncremental(),e.count()>5e5?(this._incremental||(this._incremental=new o({silent:!0})),this.group.add(this._incremental)):this._incremental=null},u.incrementalUpdate=function(e,t){var n=new s;n.setShape({segs:t.getLayout("linesPoints")}),this._setCommon(n,t,!!this._incremental),this._incremental?this._incremental.addDisplayable(n,!0):(n.rectHover=!0,n.cursor="default",n.__startIndex=e.start,this.group.add(n))},u.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},u._setCommon=function(e,t,n){var i=t.hostModel;e.setShape({polyline:i.get("polyline"),curveness:i.get("lineStyle.curveness")}),e.useStyle(i.getModel("lineStyle").getLineStyle()),e.style.strokeNoScale=!0;var o=t.getVisual("color");o&&e.setStyle("stroke",o),e.setStyle("fill"),n||(e.seriesIndex=i.seriesIndex,e.on("mousemove",(function(t){e.dataIndex=null;var n=e.findDataIndex(t.offsetX,t.offsetY);n>0&&(e.dataIndex=n+e.__startIndex)})))},u._clearIncremental=function(){var e=this._incremental;e&&e.clearDisplaybles()};var c=l;e.exports=c},oE7X:function(e,t,n){n("bLfw").registerSubTypeDefaulter("timeline",(function(){return"slider"}))},oY9F:function(e,t,n){var i=n("OlYY").extend({type:"dataZoom.inside",defaultOption:{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}});e.exports=i},"p+If":function(e,t,n){var i=n("ProS");n("cpOr"),n("rkZ5");var o=n("ZYIC"),a=n("7ph2");i.registerLayout(o),i.registerVisual(a)},"p/La":function(e,t){var n=[[[123.45165252685547,25.73527164402261],[123.49731445312499,25.73527164402261],[123.49731445312499,25.750734064600884],[123.45165252685547,25.750734064600884],[123.45165252685547,25.73527164402261]]];e.exports=function(e,t){"china"===e&&"台湾"===t.name&&t.geometries.push({type:"polygon",exterior:n[0]})}},p1MT:function(e,t,n){var i=n("Hw7h"),o=n("IwbS"),a=n("6Ic6"),r=n("OELB"),s=r.parsePercent,l=r.round,u=r.linearMap;function c(e,t){return t&&("string"==typeof t?e=t.replace("{value}",null!=e?e:""):"function"==typeof t&&(e=t(e))),e}var d=2*Math.PI,h=a.extend({type:"gauge",render:function(e,t,n){this.group.removeAll();var i=e.get("axisLine.lineStyle.color"),o=function(e,t){var n=e.get("center"),i=t.getWidth(),o=t.getHeight(),a=Math.min(i,o);return{cx:s(n[0],t.getWidth()),cy:s(n[1],t.getHeight()),r:s(e.get("radius"),a/2)}}(e,n);this._renderMain(e,t,n,i,o)},dispose:function(){},_renderMain:function(e,t,n,i,a){for(var r=this.group,s=e.getModel("axisLine"),l=s.getModel("lineStyle"),u=e.get("clockwise"),c=-e.get("startAngle")/180*Math.PI,h=((v=-e.get("endAngle")/180*Math.PI)-c)%d,p=c,g=l.get("width"),f=s.get("show"),m=0;f&&m=e&&(0===t?0:i[t-1][0]).4?"bottom":"middle",textAlign:P<-.4?"left":P>.4?"right":"center"},{autoColor:R}),silent:!0}))}if(x.get("show")&&L!==b){for(var V=0;V<=S;V++){P=Math.cos(I),k=Math.sin(I);var z=new o.Line({shape:{x1:P*f+p,y1:k*f+g,x2:P*(f-M)+p,y2:k*(f-M)+g},silent:!0,style:C});"auto"===C.stroke&&z.setStyle({stroke:i((L+V/S)/b)}),h.add(z),I+=T}I-=T}else I+=A}},_renderPointer:function(e,t,n,a,r,l,c,d){var h=this.group,p=this._data;if(e.get("pointer.show")){var g=[+e.get("min"),+e.get("max")],f=[l,c],m=e.getData(),v=m.mapDimension("value");m.diff(p).add((function(t){var n=new i({shape:{angle:l}});o.initProps(n,{shape:{angle:u(m.get(v,t),g,f,!0)}},e),h.add(n),m.setItemGraphicEl(t,n)})).update((function(t,n){var i=p.getItemGraphicEl(n);o.updateProps(i,{shape:{angle:u(m.get(v,t),g,f,!0)}},e),h.add(i),m.setItemGraphicEl(t,i)})).remove((function(e){var t=p.getItemGraphicEl(e);h.remove(t)})).execute(),m.eachItemGraphicEl((function(e,t){var n=m.getItemModel(t),i=n.getModel("pointer");e.setShape({x:r.cx,y:r.cy,width:s(i.get("width"),r.r),r:s(i.get("length"),r.r)}),e.useStyle(n.getModel("itemStyle").getItemStyle()),"auto"===e.style.fill&&e.setStyle("fill",a(u(m.get(v,t),g,[0,1],!0))),o.setHoverStyle(e,n.getModel("emphasis.itemStyle").getItemStyle())})),this._data=m}else p&&p.eachItemGraphicEl((function(e){h.remove(e)}))},_renderTitle:function(e,t,n,i,a){var r=e.getData(),l=r.mapDimension("value"),c=e.getModel("title");if(c.get("show")){var d=c.get("offsetCenter"),h=a.cx+s(d[0],a.r),p=a.cy+s(d[1],a.r),g=+e.get("min"),f=+e.get("max"),m=e.getData().get(l,0),v=i(u(m,[g,f],[0,1],!0));this.group.add(new o.Text({silent:!0,style:o.setTextStyle({},c,{x:h,y:p,text:r.getName(0),textAlign:"center",textVerticalAlign:"middle"},{autoColor:v,forceRich:!0})}))}},_renderDetail:function(e,t,n,i,a){var r=e.getModel("detail"),l=+e.get("min"),d=+e.get("max");if(r.get("show")){var h=r.get("offsetCenter"),p=a.cx+s(h[0],a.r),g=a.cy+s(h[1],a.r),f=s(r.get("width"),a.r),m=s(r.get("height"),a.r),v=e.getData(),y=v.get(v.mapDimension("value"),0),x=i(u(y,[l,d],[0,1],!0));this.group.add(new o.Text({silent:!0,style:o.setTextStyle({},r,{x:p,y:g,text:c(y,r.get("formatter")),textWidth:isNaN(f)?null:f,textHeight:isNaN(m)?null:m,textAlign:"center",textVerticalAlign:"middle"},{autoColor:x,forceRich:!0})}))}}});e.exports=h},pLH3:function(e,t,n){var i=n("ProS");n("ALo7"),n("TWL2");var o=n("mOdp"),a=n("JLnu"),r=n("0/Rx");i.registerVisual(o("funnel")),i.registerLayout(a),i.registerProcessor(r("funnel"))},pP6R:function(e,t,n){var i=n("ProS"),o="\0_ec_interaction_mutex";function a(e){return e[o]||(e[o]={})}i.registerAction({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},(function(){})),t.take=function(e,t,n){a(e)[t]=n},t.release=function(e,t,n){var i=a(e);i[t]===n&&(i[t]=null)},t.isTaken=function(e,t){return!!a(e)[t]}},pmaE:function(e,t,n){var i=n("ProS"),o=n("bYtY"),a=n("IwbS"),r=n("DEFe"),s=i.extendChartView({type:"map",render:function(e,t,n,i){if(!i||"mapToggleSelect"!==i.type||i.from!==this.uid){var o=this.group;if(o.removeAll(),!e.getHostGeoModel()){if(i&&"geoRoam"===i.type&&"series"===i.componentType&&i.seriesId===e.id)(a=this._mapDraw)&&o.add(a.group);else if(e.needsDrawMap){var a=this._mapDraw||new r(n,!0);o.add(a.group),a.draw(e,t,n,this,i),this._mapDraw=a}else this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null;e.get("showLegendSymbol")&&t.getComponent("legend")&&this._renderSymbols(e,t,n)}}},remove:function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null,this.group.removeAll()},dispose:function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null},_renderSymbols:function(e,t,n){var i=e.originalData,r=this.group;i.each(i.mapDimension("value"),(function(t,n){if(!isNaN(t)){var s=i.getItemLayout(n);if(s&&s.point){var c=s.point,d=s.offset,h=new a.Circle({style:{fill:e.getData().getVisual("color")},shape:{cx:c[0]+9*d,cy:c[1],r:3},silent:!0,z2:8+(d?0:a.Z2_EMPHASIS_LIFT+1)});if(!d){var p=e.mainSeries.getData(),g=i.getName(n),f=p.indexOfName(g),m=i.getItemModel(n),v=m.getModel("label"),y=m.getModel("emphasis.label"),x=p.getItemGraphicEl(f),_=o.retrieve2(e.getFormattedLabel(f,"normal"),g),b=o.retrieve2(e.getFormattedLabel(f,"emphasis"),_),S=x.__seriesMapHighDown,w=Math.random();if(!S){S=x.__seriesMapHighDown={};var M=o.curry(l,!0),I=o.curry(l,!1);x.on("mouseover",M).on("mouseout",I).on("emphasis",M).on("normal",I)}x.__seriesMapCallKey=w,o.extend(S,{recordVersion:w,circle:h,labelModel:v,hoverLabelModel:y,emphasisText:b,normalText:_}),u(S,!1)}r.add(h)}}}))}});function l(e){var t=this.__seriesMapHighDown;t&&t.recordVersion===this.__seriesMapCallKey&&u(t,e)}function u(e,t){var n=e.circle,i=e.labelModel,o=e.hoverLabelModel,r=e.emphasisText,s=e.normalText;t?(n.style.extendFrom(a.setTextStyle({},o,{text:o.get("show")?r:null},{isRectText:!0,useInsideStyle:!1},!0)),n.__mapOriginalZ2=n.z2,n.z2+=a.Z2_EMPHASIS_LIFT):(a.setTextStyle(n.style,i,{text:i.get("show")?s:null,textPosition:i.getShallow("position")||"bottom"},{isRectText:!0,useInsideStyle:!1}),n.dirty(!1),null!=n.__mapOriginalZ2&&(n.z2=n.__mapOriginalZ2,n.__mapOriginalZ2=null))}e.exports=s},"q/+u":function(e,t,n){var i=n("ProS"),o=n("9wZj"),a=n("yWXo"),r=n("h8O9");i.extendChartView({type:"scatter",render:function(e,t,n){var i=e.getData();this._updateSymbolDraw(i,e).updateData(i,{clipShape:this._getClipShape(e)}),this._finished=!0},incrementalPrepareRender:function(e,t,n){var i=e.getData();this._updateSymbolDraw(i,e).incrementalPrepareUpdate(i),this._finished=!1},incrementalRender:function(e,t,n){this._symbolDraw.incrementalUpdate(e,t.getData(),{clipShape:this._getClipShape(t)}),this._finished=e.end===t.getData().count()},updateTransform:function(e,t,n){var i=e.getData();if(this.group.dirty(),!this._finished||i.count()>1e4||!this._symbolDraw.isPersistent())return{update:!0};var o=r().reset(e);o.progress&&o.progress({start:0,end:i.count()},i),this._symbolDraw.updateLayout(i)},_getClipShape:function(e){var t=e.coordinateSystem,n=t&&t.getArea&&t.getArea();return e.get("clip",!0)?n:null},_updateSymbolDraw:function(e,t){var n=this._symbolDraw,i=t.pipelineContext.large;return n&&i===this._isLargeDraw||(n&&n.remove(),n=this._symbolDraw=i?new a:new o,this._isLargeDraw=i,this.group.removeAll()),this.group.add(n.group),n},remove:function(e,t){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},dispose:function(){}})},q3GZ:function(e,t){var n=["lineStyle","normal","opacity"],i={seriesType:"parallel",reset:function(e,t,i){var o=e.getModel("itemStyle"),a=e.getModel("lineStyle"),r=t.get("color"),s=a.get("color")||o.get("color")||r[e.seriesIndex%r.length],l=e.get("inactiveOpacity"),u=e.get("activeOpacity"),c=e.getModel("lineStyle").getLineStyle(),d=e.coordinateSystem,h=e.getData(),p={normal:c.opacity,active:u,inactive:l};return h.setVisual("color",s),{progress:function(e,t){d.eachActiveState(t,(function(e,i){var o=p[e];if("normal"===e&&t.hasItemOption){var a=t.getItemModel(i).get(n,!0);null!=a&&(o=a)}t.setItemVisual(i,"opacity",o)}),e.start,e.end)}}}};e.exports=i},qH13:function(e,t,n){var i=n("ItGF"),o=n("QBsz").applyTransform,a=n("mFDi"),r=n("Qe9p"),s=n("6GrX"),l=n("pzxd"),u=n("ni6a"),c=n("Gev7"),d=n("Dagg"),h=n("dqUG"),p=n("y+Vt"),g=n("IMiH"),f=n("QuXc"),m=n("06Qe"),v=g.CMD,y=Math.round,x=Math.sqrt,_=Math.abs,b=Math.cos,S=Math.sin,w=Math.max;if(!i.canvasSupported){var M=21600,I=M/2,A=function(e){e.style.cssText="position:absolute;left:0;top:0;width:1px;height:1px;",e.coordsize=M+","+M,e.coordorigin="0,0"},T=function(e,t,n){return"rgb("+[e,t,n].join(",")+")"},D=function(e,t){t&&e&&t.parentNode!==e&&e.appendChild(t)},C=function(e,t){t&&e&&t.parentNode===e&&e.removeChild(t)},L=function(e,t,n){return 1e5*(parseFloat(e)||0)+1e3*(parseFloat(t)||0)+n},P=l.parsePercent,k=function(e,t,n){var i=r.parse(t);n=+n,isNaN(n)&&(n=1),i&&(e.color=T(i[0],i[1],i[2]),e.opacity=n*i[3])},N=function(e,t,n,i){var a="fill"===t,s=e.getElementsByTagName(t)[0];null!=n[t]&&"none"!==n[t]&&(a||!a&&n.lineWidth)?(e[a?"filled":"stroked"]="true",n[t]instanceof f&&C(e,s),s||(s=m.createNode(t)),a?function(e,t,n){var i,a,s=t.fill;if(null!=s)if(s instanceof f){var l,u=0,c=[0,0],d=0,h=1,p=n.getBoundingRect(),g=p.width,m=p.height;if("linear"===s.type){l="gradient";var v=n.transform,y=[s.x*g,s.y*m],x=[s.x2*g,s.y2*m];v&&(o(y,y,v),o(x,x,v));var _=x[0]-y[0],b=x[1]-y[1];(u=180*Math.atan2(_,b)/Math.PI)<0&&(u+=360),u<1e-6&&(u=0)}else{l="gradientradial";y=[s.x*g,s.y*m],v=n.transform;var S=n.scale,I=g,A=m;c=[(y[0]-p.x)/I,(y[1]-p.y)/A],v&&o(y,y,v),I/=S[0]*M,A/=S[1]*M;var D=w(I,A);d=0/D,h=2*s.r/D-d}var C=s.colorStops.slice();C.sort((function(e,t){return e.offset-t.offset}));for(var L=C.length,P=[],N=[],E=0;E=2){var V=P[0][0],z=P[1][0],B=P[0][1]*t.opacity,G=P[1][1]*t.opacity;e.type=l,e.method="none",e.focus="100%",e.angle=u,e.color=V,e.color2=z,e.colors=N.join(","),e.opacity=G,e.opacity2=B}"radial"===l&&(e.focusposition=c.join(","))}else k(e,s,t.opacity)}(s,n,i):function(e,t){t.lineDash&&(e.dashstyle=t.lineDash.join(" ")),null==t.stroke||t.stroke instanceof f||k(e,t.stroke,t.opacity)}(s,n),D(e,s)):(e[a?"filled":"stroked"]="false",C(e,s))},E=[[],[],[]];p.prototype.brushVML=function(e){var t=this.style,n=this._vmlEl;n||(n=m.createNode("shape"),A(n),this._vmlEl=n),N(n,"fill",t,this),N(n,"stroke",t,this);var i=this.transform,a=null!=i,r=n.getElementsByTagName("stroke")[0];if(r){var s=t.lineWidth;if(a&&!t.strokeNoScale){var l=i[0]*i[3]-i[1]*i[2];s*=x(_(l))}r.weight=s+"px"}var u=this.path||(this.path=new g);this.__dirtyPath&&(u.beginPath(),u.subPixelOptimize=!1,this.buildPath(u,this.shape),u.toStatic(),this.__dirtyPath=!1),n.path=function(e,t){var n,i,a,r,s,l,u=v.M,c=v.C,d=v.L,h=v.A,p=v.Q,g=[],f=e.data,m=e.len();for(r=0;r.01?H&&(W+=.0125):Math.abs(F-V)<1e-4?H&&WR?T-=.0125:T+=.0125:H&&FV?A+=.0125:A-=.0125),g.push(j,y(((R-z)*k+L)*M-I),",",y(((V-B)*N+P)*M-I),",",y(((R+z)*k+L)*M-I),",",y(((V+B)*N+P)*M-I),",",y((W*k+L)*M-I),",",y((F*N+P)*M-I),",",y((A*k+L)*M-I),",",y((T*N+P)*M-I)),s=A,l=T;break;case v.R:var Z=E[0],U=E[1];Z[0]=f[r++],Z[1]=f[r++],U[0]=Z[0]+f[r++],U[1]=Z[1]+f[r++],t&&(o(Z,Z,t),o(U,U,t)),Z[0]=y(Z[0]*M-I),U[0]=y(U[0]*M-I),Z[1]=y(Z[1]*M-I),U[1]=y(U[1]*M-I),g.push(" m ",Z[0],",",Z[1]," l ",U[0],",",Z[1]," l ",U[0],",",U[1]," l ",Z[0],",",U[1]);break;case v.Z:g.push(" x ")}if(n>0){g.push(i);for(var X=0;X100&&(V=0,R={});var n,i=z.style;try{i.font=e,n=i.fontFamily.split(",")[0]}catch(e){}t={style:i.fontStyle||"normal",variant:i.fontVariant||"normal",weight:i.fontWeight||"normal",size:0|parseFloat(i.fontSize||12),family:n||"Microsoft YaHei"},R[e]=t,V++}return t}(a.font),b=_.style+" "+_.variant+" "+_.weight+" "+_.size+'px "'+_.family+'"';n=n||s.getBoundingRect(r,b,v,x,a.textPadding,a.textLineHeight);var S=this.transform;if(S&&!i&&(B.copy(t),B.applyTransform(S),t=B),i)g=t.x,f=t.y;else{var w=a.textPosition;if(w instanceof Array)g=t.x+P(w[0],t.width),f=t.y+P(w[1],t.height),v=v||"left";else{var M=this.calculateTextPosition?this.calculateTextPosition({},a,t):s.calculateTextPosition({},a,t);g=M.x,f=M.y,v=v||M.textAlign,x=x||M.textVerticalAlign}}g=s.adjustTextX(g,n.width,v),f=s.adjustTextY(f,n.height,x),f+=n.height/2;var I,T,C,k=m.createNode,E=this._textVmlEl;E?T=(I=(C=E.firstChild).nextSibling).nextSibling:(E=k("line"),I=k("path"),T=k("textpath"),C=k("skew"),T.style["v-text-align"]="left",A(E),I.textpathok=!0,T.on=!0,E.from="0 0",E.to="1000 0.05",D(E,C),D(E,I),D(E,T),this._textVmlEl=E);var O=[g,f],G=E.style;S&&i?(o(O,O,S),C.on=!0,C.matrix=S[0].toFixed(3)+","+S[2].toFixed(3)+","+S[1].toFixed(3)+","+S[3].toFixed(3)+",0,0",C.offset=(y(O[0])||0)+","+(y(O[1])||0),C.origin="0 0",G.left="0px",G.top="0px"):(C.on=!1,G.left=y(g)+"px",G.top=y(f)+"px"),T.string=String(r).replace(/&/g,"&").replace(/"/g,""");try{T.style.font=b}catch(e){}N(E,"fill",{fill:a.textFill,opacity:a.opacity},this),N(E,"stroke",{stroke:a.textStroke,opacity:a.opacity,lineDash:a.lineDash||null},this),E.style.zIndex=L(this.zlevel,this.z,this.z2),D(e,E)}},Y=function(e){C(e,this._textVmlEl),this._textVmlEl=null},H=function(e){D(e,this._textVmlEl)},W=[u,c,d,p,h],F=0;Fd?d=p:(h.lastTickCount=i,h.lastAutoInterval=d),d}},i.inherits(s,a);var l=s;e.exports=l},qgGe:function(e,t,n){var i=n("bYtY"),o=n("T4UG"),a=n("Bsck"),r=n("Qxkt"),s=n("VaxA").wrapTreePathInfo,l=o.extend({type:"series.sunburst",_viewRoot:null,getInitialData:function(e,t){var n={name:e.name,children:e.data};!function e(t){var n=0;i.each(t.children,(function(t){e(t);var o=t.value;i.isArray(o)&&(o=o[0]),n+=o}));var o=t.value;i.isArray(o)&&(o=o[0]);(null==o||isNaN(o))&&(o=n);o<0&&(o=0);i.isArray(t.value)?t.value[0]=o:t.value=o}(n);var o=i.map(e.levels||[],(function(e){return new r(e,this,t)}),this),s=a.createTree(n,this,(function(e){e.wrapMethod("getItemModel",(function(e,t){var n=s.getNodeByDataIndex(t),i=o[n.depth];return i&&(e.parentModel=i),e}))}));return s.data},optionUpdated:function(){this.resetViewRoot()},getDataParams:function(e){var t=o.prototype.getDataParams.apply(this,arguments),n=this.getData().tree.getNodeByDataIndex(e);return t.treePathInfo=s(n,this),t},defaultOption:{zlevel:0,z:2,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,percentPrecision:2,stillShowZeroSum:!0,highlightPolicy:"descendant",nodeClick:"rootToNode",renderLabelForZeroData:!1,label:{rotate:"radial",show:!0,opacity:1,align:"center",position:"inside",distance:5,silent:!0},itemStyle:{borderWidth:1,borderColor:"white",borderType:"solid",shadowBlur:0,shadowColor:"rgba(0, 0, 0, 0.2)",shadowOffsetX:0,shadowOffsetY:0,opacity:1},highlight:{itemStyle:{opacity:1}},downplay:{itemStyle:{opacity:.5},label:{opacity:.6}},animationType:"expansion",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicOut",data:[],levels:[],sort:"desc"},getViewRoot:function(){return this._viewRoot},resetViewRoot:function(e){e?this._viewRoot=e:e=this._viewRoot;var t=this.getRawData().tree.root;e&&(e===t||t.contains(e))||(this._viewRoot=t)}});e.exports=l},qj72:function(e,t,n){var i=n("bYtY");function o(e,t){return t=t||[0,0],i.map(["x","y"],(function(n,i){var o=this.getAxis(n),a=t[i],r=e[i]/2;return"category"===o.type?o.getBandWidth():Math.abs(o.dataToCoord(a-r)-o.dataToCoord(a+r))}),this)}e.exports=function(e){var t=e.grid.getRect();return{coordSys:{type:"cartesian2d",x:t.x,y:t.y,width:t.width,height:t.height},api:{coord:function(t){return e.dataToPoint(t)},size:i.bind(o,e)}}}},"qt/9":function(e,t,n){var i=n("ProS"),o=n("bYtY");n("Wqna"),n("1tlw"),n("Mylv");var a=n("nVfU").layout,r=n("f5Yq");n("Ae16"),i.registerLayout(o.curry(a,"pictorialBar")),i.registerVisual(r("pictorialBar","roundRect"))},qwVE:function(e,t,n){var i=n("ProS"),o=n("bYtY"),a=n("K4ya"),r=n("XxSj"),s=i.PRIORITY.VISUAL.COMPONENT;function l(e,t,n,i){for(var o=t.targetVisuals[i],a=r.prepareVisualTypes(o),s={color:e.getData().getVisual("color")},l=0,u=a.length;l3||Math.abs(e.dy)>3)){var t=this.seriesModel.getData().tree.root;if(!t)return;var n=t.getLayout();if(!n)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:n.x+e.dx,y:n.y+e.dy,width:n.width,height:n.height}})}},_onZoom:function(e){var t=e.originX,n=e.originY;if("animating"!==this._state){var i=this.seriesModel.getData().tree.root;if(!i)return;var o=i.getLayout();if(!o)return;var a=new c(o.x,o.y,o.width,o.height),r=this.seriesModel.layoutInfo;t-=r.x,n-=r.y;var s=d.create();d.translate(s,s,[-t,-n]),d.scale(s,s,[e.scale,e.scale]),d.translate(s,s,[t,n]),a.applyTransform(s),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:a.x,y:a.y,width:a.width,height:a.height}})}},_initEvents:function(e){e.on("click",(function(e){if("ready"===this._state){var t=this.seriesModel.get("nodeClick",!0);if(t){var n=this.findTarget(e.offsetX,e.offsetY);if(n){var i=n.node;if(i.getLayout().isLeafRoot)this._rootToNode(n);else if("zoomToNode"===t)this._zoomToNode(n);else if("link"===t){var o=i.hostTree.data.getItemModel(i.dataIndex),a=o.get("link",!0),r=o.get("target",!0)||"blank";a&&g(a,r)}}}}}),this)},_renderBreadcrumb:function(e,t,n){n||(n=null!=e.get("leafDepth",!0)?{node:e.getViewRoot()}:this.findTarget(t.getWidth()/2,t.getHeight()/2))||(n={node:e.getData().tree.root}),(this._breadcrumb||(this._breadcrumb=new l(this.group))).render(e,t,n.node,f((function(t){"animating"!==this._state&&(s.aboveViewRoot(e.getViewRoot(),t)?this._rootToNode({node:t}):this._zoomToNode({node:t}))}),this))},remove:function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage={nodeGroup:[],background:[],content:[]},this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},dispose:function(){this._clearController()},_zoomToNode:function(e){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:e.node})},_rootToNode:function(e){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:e.node})},findTarget:function(e,t){var n;return this.seriesModel.getViewRoot().eachNode({attr:"viewChildren",order:"preorder"},(function(i){var o=this._storage.background[i.getRawIndex()];if(o){var a=o.transformCoordToLocal(e,t),r=o.shape;if(!(r.x<=a[0]&&a[0]<=r.x+r.width&&r.y<=a[1]&&a[1]<=r.y+r.height))return!1;n={node:i,offsetX:a[0],offsetY:a[1]}}}),this),n}});function A(e,t,n,i,r,s,l,u,c,d){if(l){var h=l.getLayout(),p=e.getData();if(p.setItemGraphicEl(l.dataIndex,null),h&&h.isInView){var g=h.width,f=h.height,y=h.borderWidth,I=h.invisible,A=l.getRawIndex(),D=u&&u.getRawIndex(),C=l.viewChildren,L=h.upperHeight,P=C&&C.length,k=l.getModel("itemStyle"),N=l.getModel("emphasis.itemStyle"),E=Y("nodeGroup",m);if(E){if(c.add(E),E.attr("position",[h.x||0,h.y||0]),E.__tmNodeWidth=g,E.__tmNodeHeight=f,h.isAboveViewRoot)return E;var O=l.getModel(),R=Y("background",v,d,1);if(R&&function(t,n,i){if(n.dataIndex=l.dataIndex,n.seriesIndex=e.seriesIndex,n.setShape({x:0,y:0,width:g,height:f}),I)z(n);else{n.invisible=!1;var o=l.getVisual("borderColor",!0),r=N.get("borderColor"),s=M(k);s.fill=o;var u=w(N);if(u.fill=r,i){var c=g-2*y;B(s,u,o,c,L,{x:y,y:0,width:c,height:L})}else s.text=u.text=null;n.setStyle(s),a.setElementHoverStyle(n,u)}t.add(n)}(E,R,P&&h.upperLabelHeight),P)a.isHighDownDispatcher(E)&&a.setAsHighDownDispatcher(E,!1),R&&(a.setAsHighDownDispatcher(R,!0),p.setItemGraphicEl(l.dataIndex,R));else{var V=Y("content",v,d,2);V&&function(t,n){n.dataIndex=l.dataIndex,n.seriesIndex=e.seriesIndex;var i=Math.max(g-2*y,0),o=Math.max(f-2*y,0);if(n.culling=!0,n.setShape({x:y,y:y,width:i,height:o}),I)z(n);else{n.invisible=!1;var r=l.getVisual("color",!0),s=M(k);s.fill=r;var u=w(N);B(s,u,r,i,o),n.setStyle(s),a.setElementHoverStyle(n,u)}t.add(n)}(E,V),R&&a.isHighDownDispatcher(R)&&a.setAsHighDownDispatcher(R,!1),a.setAsHighDownDispatcher(E,!0),p.setItemGraphicEl(l.dataIndex,E)}return E}}}function z(e){!e.invisible&&s.push(e)}function B(t,n,i,r,s,u){var c=O.get("name"),d=O.getModel(u?b:x),p=O.getModel(u?S:_),g=d.getShallow("show");a.setLabelStyle(t,n,d,p,{defaultText:g?c:null,autoColor:i,isRectText:!0,labelFetcher:e,labelDataIndex:l.dataIndex,labelProp:u?"upperLabel":"label"}),G(t,u,h),G(n,u,h),u&&(t.textRect=o.clone(u)),t.truncate=g&&d.get("ellipsis")?{outerWidth:r,outerHeight:s,minChar:2}:null}function G(t,n,i){var o=t.text;if(!n&&i.isLeafRoot&&null!=o){var a=e.get("drillDownIcon",!0);t.text=a?a+" "+o:o}}function Y(e,a,s,u){var c=null!=D&&n[e][D],d=r[e];return c?(n[e][D]=null,function(e,t,n){(e[A]={}).old="nodeGroup"===n?t.position.slice():o.extend({},t.shape)}(d,c,e)):I||((c=new a({z:T(s,u)})).__tmDepth=s,c.__tmStorageName=e,function(e,t,n){var o=e[A]={},a=l.parentNode;if(a&&(!i||"drillDown"===i.direction)){var s=0,u=0,c=r.background[a.getRawIndex()];!i&&c&&c.old&&(s=c.old.width,u=c.old.height),o.old="nodeGroup"===n?[0,u]:{x:s,y:u,width:0,height:0}}o.fadein="nodeGroup"!==n}(d,0,e)),t[e][A]=c}}function T(e,t){var n=10*e+t;return(n-1)/n}e.exports=I},sAZ8:function(e,t,n){var i=n("ProS"),o=n("bYtY"),a=n("+rIm"),r=n("/IIm"),s=n("9KIM"),l=n("IwbS"),u=["axisLine","axisTickLabel","axisName"],c=i.extendComponentView({type:"parallelAxis",init:function(e,t){c.superApply(this,"init",arguments),(this._brushController=new r(t.getZr())).on("brush",o.bind(this._onBrush,this))},render:function(e,t,n,i){if(!function(e,t,n){return n&&"axisAreaSelect"===n.type&&t.findComponents({mainType:"parallelAxis",query:n})[0]===e}(e,t,i)){this.axisModel=e,this.api=n,this.group.removeAll();var r=this._axisGroup;if(this._axisGroup=new l.Group,this.group.add(this._axisGroup),e.get("show")){var s=function(e,t){return t.getComponent("parallel",e.get("parallelIndex"))}(e,t),c=s.coordinateSystem,d=e.getAreaSelectStyle(),h=d.width,p=e.axis.dim,g=c.getAxisLayout(p),f=o.extend({strokeContainThreshold:h},g),m=new a(e,f);o.each(u,m.add,m),this._axisGroup.add(m.getGroup()),this._refreshBrushController(f,d,e,s,h,n);var v=i&&!1===i.animation?null:e;l.groupTransition(r,this._axisGroup,v)}}},_refreshBrushController:function(e,t,n,i,a,r){var u=n.axis.getExtent(),c=u[1]-u[0],d=Math.min(30,.1*Math.abs(c)),h=l.BoundingRect.create({x:u[0],y:-a/2,width:c,height:a});h.x-=d,h.width+=2*d,this._brushController.mount({enableGlobalPan:!0,rotation:e.rotation,position:e.position}).setPanels([{panelId:"pl",clipPath:s.makeRectPanelClipPath(h),isTargetByCursor:s.makeRectIsTargetByCursor(h,r,i),getLinearBrushOtherExtent:s.makeLinearBrushOtherExtent(h,0)}]).enableBrush({brushType:"lineX",brushStyle:t,removeOnClick:!0}).updateCovers(function(e){var t=e.axis;return o.map(e.activeIntervals,(function(e){return{brushType:"lineX",panelId:"pl",range:[t.dataToCoord(e[0],!0),t.dataToCoord(e[1],!0)]}}))}(n))},_onBrush:function(e,t){var n=this.axisModel,i=n.axis,a=o.map(e,(function(e){return[i.coordToData(e.range[0],!0),i.coordToData(e.range[1],!0)]}));(!n.option.realtime===t.isEnd||t.removeOnClick)&&this.api.dispatchAction({type:"axisAreaSelect",parallelAxisId:n.id,intervals:a})},dispose:function(){this._brushController.dispose()}});var d=c;e.exports=d},"sK/D":function(e,t,n){var i=n("IwbS"),o=n("OELB").round;function a(e,t,n){var o=e.getArea(),a=e.getBaseAxis().isHorizontal(),r=o.x,s=o.y,l=o.width,u=o.height,c=n.get("lineStyle.width")||2;r-=c/2,s-=c/2,l+=c,u+=c,r=Math.floor(r),l=Math.round(l);var d=new i.Rect({shape:{x:r,y:s,width:l,height:u}});return t&&(d.shape[a?"width":"height"]=0,i.initProps(d,{shape:{width:l,height:u}},n)),d}function r(e,t,n){var a=e.getArea(),r=new i.Sector({shape:{cx:o(e.cx,1),cy:o(e.cy,1),r0:o(a.r0,1),r:o(a.r,1),startAngle:a.startAngle,endAngle:a.endAngle,clockwise:a.clockwise}});return t&&(r.shape.endAngle=a.startAngle,i.initProps(r,{shape:{endAngle:a.endAngle}},n)),r}t.createGridClipPath=a,t.createPolarClipPath=r,t.createClipPath=function(e,t,n){return e?"polar"===e.type?r(e,t,n):"cartesian2d"===e.type?a(e,t,n):null:null}},sRwP:function(e,t,n){n("jsU+"),n("2548"),n("Tp9H"),n("06DH"),n("dnwI"),n("fE02"),n("33Ds")},"sW+o":function(e,t,n){var i=n("SrGk"),o=n("bYtY"),a=n("SUKs"),r=n("Qe9p");function s(e,t){i.call(this,e,t,["linearGradient","radialGradient"],"__gradient_in_use__")}o.inherits(s,i),s.prototype.addWithoutUpdate=function(e,t){if(t&&t.style){var n=this;o.each(["fill","stroke"],(function(i){if(t.style[i]&&("linear"===t.style[i].type||"radial"===t.style[i].type)){var o,a=t.style[i],r=n.getDefs(!0);a._dom?(o=a._dom,r.contains(a._dom)||n.addDom(o)):o=n.add(a),n.markUsed(t);var s=o.getAttribute("id");e.setAttribute(i,"url(#"+s+")")}}))}},s.prototype.add=function(e){var t;if("linear"===e.type)t=this.createElement("linearGradient");else{if("radial"!==e.type)return a("Illegal gradient type."),null;t=this.createElement("radialGradient")}return e.id=e.id||this.nextId++,t.setAttribute("id","zr"+this._zrId+"-gradient-"+e.id),this.updateDom(e,t),this.addDom(t),t},s.prototype.update=function(e){var t=this;i.prototype.update.call(this,e,(function(){var n=e.type,i=e._dom.tagName;"linear"===n&&"linearGradient"===i||"radial"===n&&"radialGradient"===i?t.updateDom(e,e._dom):(t.removeDom(e),t.add(e))}))},s.prototype.updateDom=function(e,t){if("linear"===e.type)t.setAttribute("x1",e.x),t.setAttribute("y1",e.y),t.setAttribute("x2",e.x2),t.setAttribute("y2",e.y2);else{if("radial"!==e.type)return void a("Illegal gradient type.");t.setAttribute("cx",e.x),t.setAttribute("cy",e.y),t.setAttribute("r",e.r)}e.global?t.setAttribute("gradientUnits","userSpaceOnUse"):t.setAttribute("gradientUnits","objectBoundingBox"),t.innerHTML="";for(var n=e.colorStops,i=0,o=n.length;i-1){var u=r.parse(l)[3],c=r.toHex(l);s.setAttribute("stop-color","#"+c),s.setAttribute("stop-opacity",u)}else s.setAttribute("stop-color",n[i].color);t.appendChild(s)}e._dom=t},s.prototype.markUsed=function(e){if(e.style){var t=e.style.fill;t&&t._dom&&i.prototype.markUsed.call(this,t._dom),(t=e.style.stroke)&&t._dom&&i.prototype.markUsed.call(this,t._dom)}};var l=s;e.exports=l},spEH:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GroupProjectBackgroup=t.Content=t.Cancel=t.GreenUnder=t.NumUl=t.Redback=t.Blueback=t.Greenback=t.Greenline=t.Redline=t.Blueline=t.WhiteBack=t.Gap=t.Short=t.ShortWidth=t.Long=t.LongWidth=t.Box=t.AlignAJBottom=t.AlignTop=t.AlignCenter=t.FlexAJ=t.AlignCenterBetween=t.Banner=void 0;var i,o=L(["{\n padding:20px 25px;\n color:#333;\n font-size:18px;\n border-bottom:1px solid #eee;\n background-color:#fff;\n border-radius:5px 5px 0px 0px;\n}"],["{\n padding:20px 25px;\n color:#333;\n font-size:18px;\n border-bottom:1px solid #eee;\n background-color:#fff;\n border-radius:5px 5px 0px 0px;\n}"]),a=L(["{\n display:flex;\n align-items: center;\n padding: 14px 14px 14px 20px;\n justify-content: space-between;\n border-bottom:1px solid #eee;\n}"],["{\n display:flex;\n align-items: center;\n padding: 14px 14px 14px 20px;\n justify-content: space-between;\n border-bottom:1px solid #eee;\n}"]),r=L(["{\n display:flex;\n align-items: center;\n justify-content: space-between;\n}"],["{\n display:flex;\n align-items: center;\n justify-content: space-between;\n}"]),s=L(["{\n display:flex;\n align-items: center;\n}"],["{\n display:flex;\n align-items: center;\n}"]),l=L(["{\n display:flex;\n align-items: flex-start;\n}"],["{\n display:flex;\n align-items: flex-start;\n}"]),u=L(["{\n display:flex;\n justify-content: space-between;\n align-items: flex-end;\n}"],["{\n display:flex;\n justify-content: space-between;\n align-items: flex-end;\n}"]),c=L(["{\n display:flex;\n align-items:flex-start;\n}"],["{\n display:flex;\n align-items:flex-start;\n}"]),d=L(["{\n flex:1;\n width:0;\n border-radius:5px;\n margin-bottom:30px;\n}"],["{\n flex:1;\n width:0;\n border-radius:5px;\n margin-bottom:30px;\n}"]),h=L(["{\n width:78%;\n border-radius:5px;\n margin-bottom:30px;\n}"],["{\n width:78%;\n border-radius:5px;\n margin-bottom:30px;\n}"]),p=L(["{\n width:300px;\n border-radius:5px;\n margin-bottom:30px;\n}"],["{\n width:300px;\n border-radius:5px;\n margin-bottom:30px;\n}"]),g=L(["{\n flex:1;\n border-radius:5px;\n margin-bottom:30px;\n}"],["{\n flex:1;\n border-radius:5px;\n margin-bottom:30px;\n}"]),f=L(["{\n padding-left:20px;\n box-sizing:border-box;\n}"],["{\n padding-left:20px;\n box-sizing:border-box;\n}"]),m=L(["{\n background-color:#fff;\n border-radius:5px;\n}"],["{\n background-color:#fff;\n border-radius:5px;\n}"]),v=L(["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid rgba(80,145,255,1);\n color:rgba(80,145,255,1);\n padding:0px 12px;\n display:inline-block;\n}"],["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid rgba(80,145,255,1);\n color:rgba(80,145,255,1);\n padding:0px 12px;\n display:inline-block;\n}"]),y=L(["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #F73030;\n color:"," !important;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n background:",";\n}"],["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #F73030;\n color:"," !important;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n background:",";\n}"]),x=L(["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #28BD6C;\n color:"," !important;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n background:",";\n}"],["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #28BD6C;\n color:"," !important;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n background:",";\n}"]),_=L(["{\n height:30px;\n line-height:30px;\n border-radius:2px;\n background-color:#28BD6C;\n color:#fff;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"],["{\n height:30px;\n line-height:30px;\n border-radius:2px;\n background-color:#28BD6C;\n color:#fff;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"]),b=L(["{\n height:30px;\n line-height:30px;\n border-radius:2px;\n background-color:rgba(80,145,255,1);\n color:#fff!important;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"],["{\n height:30px;\n line-height:30px;\n border-radius:2px;\n background-color:rgba(80,145,255,1);\n color:#fff!important;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"]),S=L(["{\n height:30px;\n line-height:30px;\n border-radius:2px;\n background-color:#F73030;\n color:#fff;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"],["{\n height:30px;\n line-height:30px;\n border-radius:2px;\n background-color:#F73030;\n color:#fff;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"]),w=L(["{\n padding-left: 20px;\n & > li{\n list-style-type: decimal;\n color:#888;\n height:24px;\n line-height:24px;\n }\n}"],["{\n padding-left: 20px;\n & > li{\n list-style-type: decimal;\n color:#888;\n height:24px;\n line-height:24px;\n }\n}"]),M=L(["{\n color:#28BD6C!important;\n position:relative;\n &:after{\n position:absolute;\n bottom:-2px;\n left:0px;\n width:100%;\n height:1px;\n content:'';\n background:#28BD6C;\n }\n}"],["{\n color:#28BD6C!important;\n position:relative;\n &:after{\n position:absolute;\n bottom:-2px;\n left:0px;\n width:100%;\n height:1px;\n content:'';\n background:#28BD6C;\n }\n}"]),I=L(["{\n height:32px;\n line-height:32px;\n border-radius:2px;\n background-color:#BBBBBB;\n color:#fff;\n padding:0px 12px;\n display:inline-block;\n min-width:64px;\n text-align:center;\n letter-spacing: 4px;\n}"],["{\n height:32px;\n line-height:32px;\n border-radius:2px;\n background-color:#BBBBBB;\n color:#fff;\n padding:0px 12px;\n display:inline-block;\n min-width:64px;\n text-align:center;\n letter-spacing: 4px;\n}"]),A=L(["{\n width:1200px;\n margin:20px auto;\n text-align:center;\n display:flex;\n align-Items:center;\n background-color:#fff;\n justify-content: center;\n}"],["{\n width:1200px;\n margin:20px auto;\n text-align:center;\n display:flex;\n align-Items:center;\n background-color:#fff;\n justify-content: center;\n}"]),T=L(["{\n background:#fafafa;\n padding:20px 30px;\n width:100%;\n}"],["{\n background:#fafafa;\n padding:20px 30px;\n width:100%;\n}"]),D=n("vOnD"),C=(i=D)&&i.__esModule?i:{default:i};function L(e,t){return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}t.Banner=C.default.div(o),t.AlignCenterBetween=C.default.div(a),t.FlexAJ=C.default.div(r),t.AlignCenter=C.default.div(s),t.AlignTop=C.default.div(l),t.AlignAJBottom=C.default.div(u),t.Box=C.default.div(c),t.LongWidth=C.default.div(d),t.Long=C.default.div(h),t.ShortWidth=C.default.div(p),t.Short=C.default.div(g),t.Gap=C.default.div(f),t.WhiteBack=C.default.div(m),t.Blueline=C.default.a(v),t.Redline=C.default.a(y,(function(e){return e.bold?"#fff":"#F73030"}),(function(e){return e.bold?"#F73030":"#fff"})),t.Greenline=C.default.a(x,(function(e){return e.bold?"#fff":"#28BD6C"}),(function(e){return e.bold?"#28BD6C":"#fff"})),t.Greenback=C.default.a(_),t.Blueback=C.default.a(b),t.Redback=C.default.a(S),t.NumUl=C.default.ul(w),t.GreenUnder=C.default.a(M),t.Cancel=C.default.a(I),t.Content=C.default.div(A),t.GroupProjectBackgroup=C.default.div(T)},szbU:function(e,t,n){var i=n("bYtY"),o=i.each;function a(e,t){return e&&e.hasOwnProperty&&e.hasOwnProperty(t)}e.exports=function(e){var t=e&&e.visualMap;i.isArray(t)||(t=t?[t]:[]),o(t,(function(e){if(e){a(e,"splitList")&&!a(e,"pieces")&&(e.pieces=e.splitList,delete e.splitList);var t=e.pieces;t&&i.isArray(t)&&o(t,(function(e){i.isObject(e)&&(a(e,"start")&&!a(e,"min")&&(e.min=e.start),a(e,"end")&&!a(e,"max")&&(e.max=e.end))}))}}))}},tBnm:function(e,t,n){var i=n("bYtY"),o=n("IwbS"),a=n("Qxkt"),r=n("Znkb"),s=n("+rIm"),l=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function u(e,t,n){t[1]>t[0]&&(t=t.slice().reverse());var i=e.coordToPoint([t[0],n]),o=e.coordToPoint([t[1],n]);return{x1:i[0],y1:i[1],x2:o[0],y2:o[1]}}function c(e){return e.getRadiusAxis().inverse?0:1}function d(e){var t=e[0],n=e[e.length-1];t&&n&&Math.abs(Math.abs(t.coord-n.coord)-360)<1e-4&&e.pop()}var h=r.extend({type:"angleAxis",axisPointerClass:"PolarAxisPointer",render:function(e,t){if(this.group.removeAll(),e.get("show")){var n=e.axis,o=n.polar,a=o.getRadiusAxis().getExtent(),r=n.getTicksCoords(),s=n.getMinorTicksCoords(),u=i.map(n.getViewLabels(),(function(e){return(e=i.clone(e)).coord=n.dataToCoord(e.tickValue),e}));d(u),d(r),i.each(l,(function(t){!e.get(t+".show")||n.scale.isBlank()&&"axisLine"!==t||this["_"+t](e,o,r,s,a,u)}),this)}},_axisLine:function(e,t,n,i,a){var r,s=e.getModel("axisLine.lineStyle"),l=c(t),u=l?0:1;(r=0===a[u]?new o.Circle({shape:{cx:t.cx,cy:t.cy,r:a[l]},style:s.getLineStyle(),z2:1,silent:!0}):new o.Ring({shape:{cx:t.cx,cy:t.cy,r:a[l],r0:a[u]},style:s.getLineStyle(),z2:1,silent:!0})).style.fill=null,this.group.add(r)},_axisTick:function(e,t,n,a,r){var s=e.getModel("axisTick"),l=(s.get("inside")?-1:1)*s.get("length"),d=r[c(t)],h=i.map(n,(function(e){return new o.Line({shape:u(t,[d,d+l],e.coord)})}));this.group.add(o.mergePath(h,{style:i.defaults(s.getModel("lineStyle").getLineStyle(),{stroke:e.get("axisLine.lineStyle.color")})}))},_minorTick:function(e,t,n,a,r){if(a.length){for(var s=e.getModel("axisTick"),l=e.getModel("minorTick"),d=(s.get("inside")?-1:1)*l.get("length"),h=r[c(t)],p=[],g=0;gv?"left":"right",_=Math.abs(m[1]-y)/f<.3?"middle":m[1]>y?"top":"bottom";d&&d[u]&&d[u].textStyle&&(r=new a(d[u].textStyle,h,h.ecModel));var b=new o.Text({silent:s.isLabelSilent(e)});this.group.add(b),o.setTextStyle(b.style,r,{x:m[0],y:m[1],textFill:r.getTextColor()||e.get("axisLine.lineStyle.color"),text:n.formattedLabel,textAlign:x,textVerticalAlign:_}),g&&(b.eventData=s.makeAxisEventDataBase(e),b.eventData.targetType="axisLabel",b.eventData.value=n.rawLabel)}),this)},_splitLine:function(e,t,n,a,r){var s=e.getModel("splitLine").getModel("lineStyle"),l=s.get("color"),c=0;l=l instanceof Array?l:[l];for(var d=[],h=0;h0:e.splitNumber>0)&&!e.calculable?"piecewise":"continuous"}))},vKoX:function(e,t,n){var i=n("SrGk");function o(e,t){i.call(this,e,t,["filter"],"__filter_in_use__","_shadowDom")}function a(e){return e&&(e.shadowBlur||e.shadowOffsetX||e.shadowOffsetY||e.textShadowBlur||e.textShadowOffsetX||e.textShadowOffsetY)}n("bYtY").inherits(o,i),o.prototype.addWithoutUpdate=function(e,t){if(t&&a(t.style)){var n;if(t._shadowDom)n=t._shadowDom,this.getDefs(!0).contains(t._shadowDom)||this.addDom(n);else n=this.add(t);this.markUsed(t);var i=n.getAttribute("id");e.style.filter="url(#"+i+")"}},o.prototype.add=function(e){var t=this.createElement("filter");return e._shadowDomId=e._shadowDomId||this.nextId++,t.setAttribute("id","zr"+this._zrId+"-shadow-"+e._shadowDomId),this.updateDom(e,t),this.addDom(t),t},o.prototype.update=function(e,t){if(a(t.style)){var n=this;i.prototype.update.call(this,t,(function(){n.updateDom(t,t._shadowDom)}))}else this.remove(e,t)},o.prototype.remove=function(e,t){null!=t._shadowDomId&&(this.removeDom(e),e.style.filter="")},o.prototype.updateDom=function(e,t){var n=t.getElementsByTagName("feDropShadow");n=0===n.length?this.createElement("feDropShadow"):n[0];var i,o,a,r,s=e.style,l=e.scale&&e.scale[0]||1,u=e.scale&&e.scale[1]||1;if(s.shadowBlur||s.shadowOffsetX||s.shadowOffsetY)i=s.shadowOffsetX||0,o=s.shadowOffsetY||0,a=s.shadowBlur,r=s.shadowColor;else{if(!s.textShadowBlur)return void this.removeDom(t,s);i=s.textShadowOffsetX||0,o=s.textShadowOffsetY||0,a=s.textShadowBlur,r=s.textShadowColor}n.setAttribute("dx",i/l),n.setAttribute("dy",o/u),n.setAttribute("flood-color",r);var c=a/2/l+" "+a/2/u;n.setAttribute("stdDeviation",c),t.setAttribute("x","-100%"),t.setAttribute("y","-100%"),t.setAttribute("width",Math.ceil(a/2*200)+"%"),t.setAttribute("height",Math.ceil(a/2*200)+"%"),t.appendChild(n),e._shadowDom=t},o.prototype.markUsed=function(e){e._shadowDom&&i.prototype.markUsed.call(this,e._shadowDom)};var r=o;e.exports=r},vL6D:function(e,t,n){var i=n("bYtY"),o=n("+rIm"),a=n("IwbS"),r=n("7bkD"),s=n("Znkb"),l=n("WN+l"),u=l.rectCoordAxisBuildSplitArea,c=l.rectCoordAxisHandleRemove,d=["axisLine","axisTickLabel","axisName"],h=["splitArea","splitLine"],p=s.extend({type:"singleAxis",axisPointerClass:"SingleAxisPointer",render:function(e,t,n,s){var l=this.group;l.removeAll();var u=this._axisGroup;this._axisGroup=new a.Group;var c=r.layout(e),g=new o(e,c);i.each(d,g.add,g),l.add(this._axisGroup),l.add(g.getGroup()),i.each(h,(function(t){e.get(t+".show")&&this["_"+t](e)}),this),a.groupTransition(u,this._axisGroup,e),p.superCall(this,"render",e,t,n,s)},remove:function(){c(this)},_splitLine:function(e){var t=e.axis;if(!t.scale.isBlank()){var n=e.getModel("splitLine"),i=n.getModel("lineStyle"),o=i.get("width"),r=i.get("color");r=r instanceof Array?r:[r];for(var s=e.coordinateSystem.getRect(),l=t.isHorizontal(),u=[],c=0,d=t.getTicksCoords({tickModel:n}),h=[],p=[],g=0;g=0)&&e(a,i,o)}))}var p=h.prototype;function g(e){return e[0]>e[1]&&e.reverse(),e}function f(e,t){return a.parseFinder(e,t,{includeMainTypes:d})}p.setOutputRanges=function(e,t){this.matchOutputRanges(e,t,(function(e,t,n){if((e.coordRanges||(e.coordRanges=[])).push(t),!e.coordRange){e.coordRange=t;var i=x[e.brushType](0,n,t);e.__rangeOffset={offset:b[e.brushType](i.values,e.range,[1,1]),xyMinMax:i.xyMinMax}}}))},p.matchOutputRanges=function(e,t,n){s(e,(function(e){var o=this.findTargetInfo(e,t);o&&!0!==o&&i.each(o.coordSyses,(function(i){var o=x[e.brushType](1,i,e.range);n(e,o.values,i,t)}))}),this)},p.setInputRanges=function(e,t){s(e,(function(e){var n,i,o,a,r,s=this.findTargetInfo(e,t);if(e.range=e.range||[],s&&!0!==s){e.panelId=s.panelId;var l=x[e.brushType](0,s.coordSys,e.coordRange),u=e.__rangeOffset;e.range=u?b[e.brushType](l.values,u.offset,(n=l.xyMinMax,i=u.xyMinMax,o=w(n),a=w(i),r=[o[0]/a[0],o[1]/a[1]],isNaN(r[0])&&(r[0]=1),isNaN(r[1])&&(r[1]=1),r)):l.values}}),this)},p.makePanelOpts=function(e,t){return i.map(this._targetInfoList,(function(n){var i=n.getPanelRect();return{panelId:n.panelId,defaultBrushType:t&&t(n),clipPath:r.makeRectPanelClipPath(i),isTargetByCursor:r.makeRectIsTargetByCursor(i,e,n.coordSysModel),getLinearBrushOtherExtent:r.makeLinearBrushOtherExtent(i)}}))},p.controlSeries=function(e,t,n){var i=this.findTargetInfo(e,n);return!0===i||i&&l(i.coordSyses,t.coordinateSystem)>=0},p.findTargetInfo=function(e,t){for(var n=this._targetInfoList,i=f(t,e),o=0;o=0||l(o,e.getAxis("y").model)>=0)&&a.push(e)})),t.push({panelId:"grid--"+e.id,gridModel:e,coordSysModel:e,coordSys:a[0],coordSyses:a,getPanelRect:y.grid,xAxisDeclared:u[e.id],yAxisDeclared:c[e.id]})})))},geo:function(e,t){s(e.geoModels,(function(e){var n=e.coordinateSystem;t.push({panelId:"geo--"+e.id,geoModel:e,coordSysModel:e,coordSys:n,coordSyses:[n],getPanelRect:y.geo})}))}},v=[function(e,t){var n=e.xAxisModel,i=e.yAxisModel,o=e.gridModel;return!o&&n&&(o=n.axis.grid.model),!o&&i&&(o=i.axis.grid.model),o&&o===t.gridModel},function(e,t){var n=e.geoModel;return n&&n===t.geoModel}],y={grid:function(){return this.coordSys.grid.getRect().clone()},geo:function(){var e=this.coordSys,t=e.getBoundingRect().clone();return t.applyTransform(o.getTransform(e)),t}},x={lineX:u(_,0),lineY:u(_,1),rect:function(e,t,n){var i=t[c[e]]([n[0][0],n[1][0]]),o=t[c[e]]([n[0][1],n[1][1]]),a=[g([i[0],o[0]]),g([i[1],o[1]])];return{values:a,xyMinMax:a}},polygon:function(e,t,n){var o=[[1/0,-1/0],[1/0,-1/0]];return{values:i.map(n,(function(n){var i=t[c[e]](n);return o[0][0]=Math.min(o[0][0],i[0]),o[1][0]=Math.min(o[1][0],i[1]),o[0][1]=Math.max(o[0][1],i[0]),o[1][1]=Math.max(o[1][1],i[1]),i})),xyMinMax:o}}};function _(e,t,n,o){var a=n.getAxis(["x","y"][e]),r=g(i.map([0,1],(function(e){return t?a.coordToData(a.toLocalCoord(o[e])):a.toGlobalCoord(a.dataToCoord(o[e]))}))),s=[];return s[e]=r,s[1-e]=[NaN,NaN],{values:r,xyMinMax:s}}var b={lineX:u(S,0),lineY:u(S,1),rect:function(e,t,n){return[[e[0][0]-n[0]*t[0][0],e[0][1]-n[0]*t[0][1]],[e[1][0]-n[1]*t[1][0],e[1][1]-n[1]*t[1][1]]]},polygon:function(e,t,n){return i.map(e,(function(e,i){return[e[0]-n[0]*t[i][0],e[1]-n[1]*t[i][1]]}))}};function S(e,t,n,i){return[t[0]-i[e]*n[0],t[1]-i[e]*n[1]]}function w(e){return e?[e[0][1]-e[0][0],e[1][1]-e[1][0]]:[NaN,NaN]}var M=h;e.exports=M},vZI5:function(e,t,n){var i=n("bYtY"),o=n("T4UG"),a=n("5GhG").seriesModelMixin,r=o.extend({type:"series.candlestick",dependencies:["xAxis","yAxis","grid"],defaultValueDimensions:[{name:"open",defaultTooltip:!0},{name:"close",defaultTooltip:!0},{name:"lowest",defaultTooltip:!0},{name:"highest",defaultTooltip:!0}],dimensions:null,defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,layout:null,clip:!0,itemStyle:{color:"#c23531",color0:"#314656",borderWidth:1,borderColor:"#c23531",borderColor0:"#314656"},emphasis:{itemStyle:{borderWidth:2}},barMaxWidth:null,barMinWidth:null,barWidth:null,large:!0,largeThreshold:600,progressive:3e3,progressiveThreshold:1e4,progressiveChunkMode:"mod",animationUpdate:!1,animationEasing:"linear",animationDuration:300},getShadowDim:function(){return"open"},brushSelector:function(e,t,n){var i=t.getItemLayout(e);return i&&n.rect(i.brushRect)}});i.mixin(r,a,!0);var s=r;e.exports=s},vcCh:function(e,t,n){var i=n("ProS");n("0qV/"),i.registerAction({type:"dragNode",event:"dragnode",update:"update"},(function(e,t){t.eachComponent({mainType:"series",subType:"sankey",query:e},(function(t){t.setNodePosition(e.dataIndex,[e.localX,e.localY])}))}))},w2vr:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,o=n("q1tI"),a=(i=o)&&i.__esModule?i:{default:i},r=function(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("MT78"));t.default=function(e){var t=e.data;return(0,o.useEffect)((function(){var e,n,i,o;t&&(e=t,n=document.getElementById("Line"),i=r.init(n),o={color:["#f8e367","#58c0f0","#ff9e48"],title:{show:!1},tooltip:{trigger:"axis"},legend:{data:["提交数","易修数","合并请求数"],right:"center",bottom:"4%"},grid:{left:"4%",right:"5%",bottom:"16%",containLabel:!0},toolbox:{feature:{}},xAxis:{type:"category",boundaryGap:!1,data:e.dates,axisTick:{show:!1}},yAxis:{type:"value",axisLine:{show:!1},axisTick:{show:!1},minInterval:1,splitNumber:5},series:[{name:"提交数",type:"line",data:e.commits_count},{name:"易修数",type:"line",data:e.issues_count},{name:"合并请求数",type:"line",data:e.pull_requests_count}]},i.setOption(o))}),[t]),a.default.createElement("div",{id:"Line",style:{height:"300px"}})}},wr5s:function(e,t,n){var i=(0,n("IwbS").extendShape)({type:"sausage",shape:{cx:0,cy:0,r0:0,r:0,startAngle:0,endAngle:2*Math.PI,clockwise:!0},buildPath:function(e,t){var n=t.cx,i=t.cy,o=Math.max(t.r0||0,0),a=Math.max(t.r,0),r=.5*(a-o),s=o+r,l=t.startAngle,u=t.endAngle,c=t.clockwise,d=Math.cos(l),h=Math.sin(l),p=Math.cos(u),g=Math.sin(u);(c?u-l<2*Math.PI:l-u<2*Math.PI)&&(e.moveTo(d*o+n,h*o+i),e.arc(d*s+n,h*s+i,r,-Math.PI+l,l,!c)),e.arc(n,i,a,l,u,!c),e.moveTo(p*a+n,g*a+i),e.arc(p*s+n,g*s+i,r,u-2*Math.PI,u-Math.PI,!c),0!==o&&(e.arc(n,i,o,u,l,c),e.moveTo(d*o+n,g*o+i)),e.closePath()}});e.exports=i},wt3j:function(e,t,n){var i=n("ProS"),o=n("bYtY"),a=n("/IIm"),r=n("EMyp").layoutCovers,s=i.extendComponentView({type:"brush",init:function(e,t){this.ecModel=e,this.api=t,this.model,(this._brushController=new a(t.getZr())).on("brush",o.bind(this._onBrush,this)).mount()},render:function(e){return this.model=e,l.apply(this,arguments)},updateTransform:function(e,t){return r(t),l.apply(this,arguments)},updateView:l,dispose:function(){this._brushController.dispose()},_onBrush:function(e,t){var n=this.model.id;this.model.brushTargetManager.setOutputRanges(e,this.ecModel),(!t.isEnd||t.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:n,areas:o.clone(e),$from:n}),t.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:n,areas:o.clone(e),$from:n})}});function l(e,t,n,i){(!i||i.$from!==e.id)&&this._brushController.setPanels(e.brushTargetManager.makePanelOpts(n)).enableBrush(e.brushOption).updateCovers(e.areas.slice())}e.exports=s},xRUu:function(e,t,n){n("hJvP"),n("hFmY"),n("sAZ8")},xSat:function(e,t){var n={axisPointer:1,tooltip:1,brush:1};t.onIrrelevantElement=function(e,t,i){var o=t.getComponentByElement(e.topTarget),a=o&&o.coordinateSystem;return o&&o!==i&&!n[o.mainType]&&a&&a.model!==i}},xiyX:function(e,t,n){var i=n("bYtY"),o=n("bLfw"),a=n("nkfE"),r=n("ICMv"),s=o.extend({type:"singleAxis",layoutMode:"box",axis:null,coordinateSystem:null,getCoordSysModel:function(){return this}});i.merge(s.prototype,r),a("single",s,(function(e,t){return t.type||(t.data?"category":"value")}),{left:"5%",top:"5%",right:"5%",bottom:"5%",type:"value",position:"bottom",orient:"horizontal",axisLine:{show:!0,lineStyle:{width:1,type:"solid"}},tooltip:{show:!0},axisTick:{show:!0,length:6,lineStyle:{width:1}},axisLabel:{show:!0,interval:"auto"},splitLine:{show:!0,lineStyle:{type:"dashed",opacity:.2}}});var l=s;e.exports=l},"y+lR":function(e,t,n){var i=n("bYtY"),o=n("mFDi"),a=n("z35g");function r(e){a.call(this,e)}r.prototype={constructor:r,type:"cartesian2d",dimensions:["x","y"],getBaseAxis:function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},containPoint:function(e){var t=this.getAxis("x"),n=this.getAxis("y");return t.contain(t.toLocalCoord(e[0]))&&n.contain(n.toLocalCoord(e[1]))},containData:function(e){return this.getAxis("x").containData(e[0])&&this.getAxis("y").containData(e[1])},dataToPoint:function(e,t,n){var i=this.getAxis("x"),o=this.getAxis("y");return(n=n||[])[0]=i.toGlobalCoord(i.dataToCoord(e[0])),n[1]=o.toGlobalCoord(o.dataToCoord(e[1])),n},clampData:function(e,t){var n=this.getAxis("x").scale,i=this.getAxis("y").scale,o=n.getExtent(),a=i.getExtent(),r=n.parse(e[0]),s=i.parse(e[1]);return(t=t||[])[0]=Math.min(Math.max(Math.min(o[0],o[1]),r),Math.max(o[0],o[1])),t[1]=Math.min(Math.max(Math.min(a[0],a[1]),s),Math.max(a[0],a[1])),t},pointToData:function(e,t){var n=this.getAxis("x"),i=this.getAxis("y");return(t=t||[])[0]=n.coordToData(n.toLocalCoord(e[0])),t[1]=i.coordToData(i.toLocalCoord(e[1])),t},getOtherAxis:function(e){return this.getAxis("x"===e.dim?"y":"x")},getArea:function(){var e=this.getAxis("x").getGlobalExtent(),t=this.getAxis("y").getGlobalExtent(),n=Math.min(e[0],e[1]),i=Math.min(t[0],t[1]),a=Math.max(e[0],e[1])-n,r=Math.max(t[0],t[1])-i;return new o(n,i,a,r)}},i.inherits(r,a);var s=r;e.exports=s},y2l5:function(e,t,n){var i=n("MwEJ"),o=n("T4UG").extend({type:"series.scatter",dependencies:["grid","polar","geo","singleAxis","calendar"],getInitialData:function(e,t){return i(this.getSource(),this,{useEncodeDefaulter:!0})},brushSelector:"point",getProgressive:function(){var e=this.option.progressive;return null==e?this.option.large?5e3:this.get("progressive"):e},getProgressiveThreshold:function(){var e=this.option.progressiveThreshold;return null==e?this.option.large?1e4:this.get("progressiveThreshold"):e},defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},clip:!0}});e.exports=o},y3NT:function(e,t,n){var i=n("OELB").parsePercent,o=n("bYtY"),a=Math.PI/180;function r(e,t){var n=e.children||[];e.children=function(e,t){if("function"==typeof t)return e.sort(t);var n="asc"===t;return e.sort((function(e,t){var i=(e.getValue()-t.getValue())*(n?1:-1);return 0===i?(e.dataIndex-t.dataIndex)*(n?-1:1):i}))}(n,t),n.length&&o.each(e.children,(function(e){r(e,t)}))}e.exports=function(e,t,n,s){t.eachSeriesByType(e,(function(e){var t=e.get("center"),s=e.get("radius");o.isArray(s)||(s=[0,s]),o.isArray(t)||(t=[t,t]);var l=n.getWidth(),u=n.getHeight(),c=Math.min(l,u),d=i(t[0],l),h=i(t[1],u),p=i(s[0],c/2),g=i(s[1],c/2),f=-e.get("startAngle")*a,m=e.get("minAngle")*a,v=e.getData().tree.root,y=e.getViewRoot(),x=y.depth,_=e.get("sort");null!=_&&r(y,_);var b=0;o.each(y.children,(function(e){!isNaN(e.getValue())&&b++}));var S=y.getValue(),w=Math.PI/(S||b)*2,M=y.depth>0,I=y.height-(M?-1:1),A=(g-p)/(I||1),T=e.get("clockwise"),D=e.get("stillShowZeroSum"),C=T?1:-1,L=function(e,t){if(e){var n=t;if(e!==v){var a=e.getValue(),r=0===S&&D?w:a*w;r=0;s--){var l=2*s,u=i[l]-a/2,c=i[l+1]-r/2;if(e>=u&&t>=c&&e<=u+a&&t<=c+r)return s}return-1}});function s(){this.group=new i.Group}var l=s.prototype;l.isPersistent=function(){return!this._incremental},l.updateData=function(e,t){this.group.removeAll();var n=new r({rectHover:!0,cursor:"default"});n.setShape({points:e.getLayout("symbolPoints")}),this._setCommon(n,e,!1,t),this.group.add(n),this._incremental=null},l.updateLayout=function(e){if(!this._incremental){var t=e.getLayout("symbolPoints");this.group.eachChild((function(e){if(null!=e.startIndex){var n=2*(e.endIndex-e.startIndex),i=4*e.startIndex*2;t=new Float32Array(t.buffer,i,n)}e.setShape("points",t)}))}},l.incrementalPrepareUpdate=function(e){this.group.removeAll(),this._clearIncremental(),e.count()>2e6?(this._incremental||(this._incremental=new a({silent:!0})),this.group.add(this._incremental)):this._incremental=null},l.incrementalUpdate=function(e,t,n){var i;this._incremental?(i=new r,this._incremental.addDisplayable(i,!0)):((i=new r({rectHover:!0,cursor:"default",startIndex:e.start,endIndex:e.end})).incremental=!0,this.group.add(i)),i.setShape({points:t.getLayout("symbolPoints")}),this._setCommon(i,t,!!this._incremental,n)},l._setCommon=function(e,t,n,i){var a=t.hostModel;i=i||{};var r=t.getVisual("symbolSize");e.setShape("size",r instanceof Array?r:[r,r]),e.softClipShape=i.clipShape||null,e.symbolProxy=o(t.getVisual("symbol"),0,0,0,0),e.setColor=e.symbolProxy.setColor;var s=e.shape.size[0]<4;e.useStyle(a.getModel("itemStyle").getItemStyle(s?["color","shadowBlur","shadowColor"]:["color"]));var l=t.getVisual("color");l&&e.setColor(l),n||(e.seriesIndex=a.seriesIndex,e.on("mousemove",(function(t){e.dataIndex=null;var n=e.findDataIndex(t.offsetX,t.offsetY);n>=0&&(e.dataIndex=n+(e.startIndex||0))})))},l.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},l._clearIncremental=function(){var e=this._incremental;e&&e.clearDisplaybles()};var u=s;e.exports=u},yik8:function(e,t,n){var i=n("bZqE"),o=i.eachAfter,a=i.eachBefore,r=n("Itpr"),s=r.init,l=r.firstWalk,u=r.secondWalk,c=r.separation,d=r.radialCoordinate,h=r.getViewRect;e.exports=function(e,t){e.eachSeriesByType("tree",(function(e){!function(e,t){var n=h(e,t);e.layoutInfo=n;var i=e.get("layout"),r=0,p=0,g=null;"radial"===i?(r=2*Math.PI,p=Math.min(n.height,n.width)/2,g=c((function(e,t){return(e.parentNode===t.parentNode?1:2)/e.depth}))):(r=n.width,p=n.height,g=c());var f=e.getData().tree.root,m=f.children[0];if(m){s(f),o(m,l,g),f.hierNode.modifier=-m.hierNode.prelim,a(m,u);var v=m,y=m,x=m;a(m,(function(e){var t=e.getLayout().x;ty.getLayout().x&&(y=e),e.depth>x.depth&&(x=e)}));var _=v===y?1:g(v,y)/2,b=_-v.getLayout().x,S=0,w=0,M=0,I=0;if("radial"===i)S=r/(y.getLayout().x+_+b),w=p/(x.depth-1||1),a(m,(function(e){M=(e.getLayout().x+b)*S,I=(e.depth-1)*w;var t=d(M,I);e.setLayout({x:t.x,y:t.y,rawX:M,rawY:I},!0)}));else{var A=e.getOrient();"RL"===A||"LR"===A?(w=p/(y.getLayout().x+_+b),S=r/(x.depth-1||1),a(m,(function(e){I=(e.getLayout().x+b)*w,M="LR"===A?(e.depth-1)*S:r-(e.depth-1)*S,e.setLayout({x:M,y:I},!0)}))):"TB"!==A&&"BT"!==A||(S=r/(y.getLayout().x+_+b),w=p/(x.depth-1||1),a(m,(function(e){M=(e.getLayout().x+b)*S,I="TB"===A?(e.depth-1)*w:p-(e.depth-1)*w,e.setLayout({x:M,y:I},!0)})))}}}(e,t)}))}},z35g:function(e,t,n){var i=n("bYtY");function o(e){return this._axes[e]}var a=function(e){this._axes={},this._dimList=[],this.name=e||""};a.prototype={constructor:a,type:"cartesian",getAxis:function(e){return this._axes[e]},getAxes:function(){return i.map(this._dimList,o,this)},getAxesByScale:function(e){return e=e.toLowerCase(),i.filter(this.getAxes(),(function(t){return t.scale.type===e}))},addAxis:function(e){var t=e.dim;this._axes[t]=e,this._dimList.push(t)},dataToCoord:function(e){return this._dataCoordConvert(e,"dataToCoord")},coordToData:function(e){return this._dataCoordConvert(e,"coordToData")},_dataCoordConvert:function(e,t){for(var n=this._dimList,i=e instanceof Array?[]:{},o=0;oi[1]&&(i[1]=t[1])}))})),i[1]0?0:NaN);var r=n.getMax(!0);null!=r&&"dataMax"!==r&&"function"!=typeof r?t[1]=r:o&&(t[1]=a>0?a-1:NaN);n.get("scale",!0)||(t[0]>0&&(t[0]=0),t[1]<0&&(t[1]=0))}(e,i),i}(this,this._dimName,t),function(e){var t=e._minMaxSpan={},n=e._dataZoomModel,i=e._dataExtent;s(["min","max"],(function(a){var r=n.get(a+"Span"),s=n.get(a+"ValueSpan");null!=s&&(s=e.getAxisModel().axis.scale.parse(s)),null!=s?r=o.linearMap(i[0]+s,i,[0,100],!0):null!=r&&(s=o.linearMap(r,[0,100],i,!0)-i[0]),t[a+"Span"]=r,t[a+"ValueSpan"]=s}))}(this);var n=this.calculateDataWindow(e.settledOption);this._valueWindow=n.valueWindow,this._percentWindow=n.percentWindow,c(this)}},restore:function(e){e===this._dataZoomModel&&(this._valueWindow=this._percentWindow=null,c(this,!0))},filterData:function(e,t){if(e===this._dataZoomModel){var n=this._dimName,i=this.getTargetSeriesModels(),o=e.get("filterMode"),a=this._valueWindow;"none"!==o&&s(i,(function(e){var t=e.getData(),i=t.mapDimension(n,!0);i.length&&("weakFilter"===o?t.filterSelf((function(e){for(var n,o,r,s=0;sa[1];if(u&&!c&&!d)return!0;u&&(r=!0),c&&(n=!0),d&&(o=!0)}return r&&n&&o})):s(i,(function(n){if("empty"===o)e.setData(t=t.map(n,(function(e){return function(e){return e>=a[0]&&e<=a[1]}(e)?e:NaN})));else{var i={};i[n]=a,t.selectRange(i)}})),s(i,(function(e){t.setApproximateExtent(a,e)})))}))}}};var d=u;e.exports=d},zRKj:function(e,t,n){n("Ae16"),n("Sp2Z"),n("y4/Y")},zYTA:function(e,t,n){var i=n("bYtY");function o(){var e=i.createCanvas();this.canvas=e,this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={}}o.prototype={update:function(e,t,n,i,o,a){var r=this._getBrush(),s=this._getGradient(e,o,"inRange"),l=this._getGradient(e,o,"outOfRange"),u=this.pointSize+this.blurSize,c=this.canvas,d=c.getContext("2d"),h=e.length;c.width=t,c.height=n;for(var p=0;p0){var I=a(v)?s:l;v>0&&(v=v*w+S),x[_++]=I[M],x[_++]=I[M+1],x[_++]=I[M+2],x[_++]=I[M+3]*v*256}else _+=4}return d.putImageData(y,0,0),c},_getBrush:function(){var e=this._brushCanvas||(this._brushCanvas=i.createCanvas()),t=this.pointSize+this.blurSize,n=2*t;e.width=n,e.height=n;var o=e.getContext("2d");return o.clearRect(0,0,n,n),o.shadowOffsetX=n,o.shadowBlur=this.blurSize,o.shadowColor="#000",o.beginPath(),o.arc(-t,t,this.pointSize,0,2*Math.PI,!0),o.closePath(),o.fill(),e},_getGradient:function(e,t,n){for(var i=this._gradientPixels,o=i[n]||(i[n]=new Uint8ClampedArray(1024)),a=[0,0,0,0],r=0,s=0;s<256;s++)t[n](s/255,!0,a),o[r++]=a[0],o[r++]=a[1],o[r++]=a[2],o[r++]=a[3];return o}};var a=o;e.exports=a},zuHt:function(e,t,n){var i=n("bYtY");e.exports=function(e){var t={};e.eachSeriesByType("map",(function(n){var o=n.getMapType();if(!n.getHostGeoModel()&&!t[o]){var a={};i.each(n.seriesGroup,(function(t){var n=t.coordinateSystem,i=t.originalData;t.get("showLegendSymbol")&&e.getComponent("legend")&&i.each(i.mapDimension("value"),(function(e,t){var o=i.getName(t),r=n.getRegion(o);if(r&&!isNaN(e)){var s=a[o]||0,l=n.dataToPoint(r.center);a[o]=s+1,i.setItemLayout(t,{point:l,offset:s})}}))}));var r=n.getData();r.each((function(e){var t=r.getName(e),n=r.getItemLayout(e)||{};n.showLabel=!a[t],r.setItemLayout(e,n)})),t[o]=!0}}))}}}]); \ No newline at end of file diff --git a/static/js/31.6a3b20d4.chunk.js b/static/js/31.6014bbba.chunk.js similarity index 61% rename from static/js/31.6a3b20d4.chunk.js rename to static/js/31.6014bbba.chunk.js index 7eff5bc2d..64b752495 100644 --- a/static/js/31.6a3b20d4.chunk.js +++ b/static/js/31.6014bbba.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[31],{"/FUP":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ReactCSS=t.loop=t.handleActive=t.handleHover=t.hover=void 0;var a=s(r("W3HW")),n=s(r("lreK")),o=s(r("KfSR")),l=s(r("VYtm")),i=s(r("XQvf")),u=s(r("B5Mt"));function s(e){return e&&e.__esModule?e:{default:e}}t.hover=l.default,t.handleHover=l.default,t.handleActive=i.default,t.loop=u.default;var d=t.ReactCSS=function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),l=1;l=0||Object.prototype.hasOwnProperty.call(e,a)&&(r[a]=e[a]);return r}(e,["fill","width","height","style"]);return l.default.createElement("svg",n({viewBox:"0 0 24 24",style:n({fill:r,width:o,height:u},d)},c),l.default.createElement("path",{d:"M12,18.17L8.83,15L7.42,16.41L12,21L16.59,16.41L15.17,15M12,5.83L15.17,9L16.58,7.59L12,3L7.41,7.59L8.83,9L12,5.83Z"}))}},Ag8Z:function(e,t,r){var a=r("JC6p"),n=r("EwQA");e.exports=function(e,t){return e&&a(e,n(t))}},AnK5:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EditableInput=void 0;var a=function(){function e(e,t){for(var r=0;r-1)){var n=r.getArrowOffset(),o=38===e.keyCode?a+n:a-n;r.setUpdatedValue(o,e)}},r.handleDrag=function(e){if(r.props.dragLabel){var t=Math.round(r.props.value+e.movementX);t>=0&&t<=r.props.dragMax&&r.props.onChange&&r.props.onChange(r.getValueObjectWithLabel(t),e)}},r.handleMouseDown=function(e){r.props.dragLabel&&(e.preventDefault(),r.handleDrag(e),window.addEventListener("mousemove",r.handleDrag),window.addEventListener("mouseup",r.handleMouseUp))},r.handleMouseUp=function(){r.unbindEventListeners()},r.unbindEventListeners=function(){window.removeEventListener("mousemove",r.handleDrag),window.removeEventListener("mouseup",r.handleMouseUp)},r.state={value:String(e.value).toUpperCase(),blurValue:String(e.value).toUpperCase()},r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),a(t,[{key:"componentDidUpdate",value:function(e,t){this.props.value===this.state.value||e.value===this.props.value&&t.value===this.state.value||(this.input===document.activeElement?this.setState({blurValue:String(this.props.value).toUpperCase()}):this.setState({value:String(this.props.value).toUpperCase(),blurValue:!this.state.blurValue&&String(this.props.value).toUpperCase()}))}},{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"getValueObjectWithLabel",value:function(e){return function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}({},this.props.label,e)}},{key:"getArrowOffset",value:function(){return this.props.arrowOffset||1}},{key:"setUpdatedValue",value:function(e,t){var r=this.props.label?this.getValueObjectWithLabel(e):e;this.props.onChange&&this.props.onChange(r,t);var a,n=function(e){return String(e).indexOf("%")>-1}(t.target.value);this.setState({value:n?(a=e,a+"%"):e})}},{key:"render",value:function(){var e=this,t=(0,l.default)({default:{wrap:{position:"relative"}},"user-override":{wrap:this.props.style&&this.props.style.wrap?this.props.style.wrap:{},input:this.props.style&&this.props.style.input?this.props.style.input:{},label:this.props.style&&this.props.style.label?this.props.style.label:{}},"dragLabel-true":{label:{cursor:"ew-resize"}}},{"user-override":!0},this.props);return o.default.createElement("div",{style:t.wrap},o.default.createElement("input",{style:t.input,ref:function(t){return e.input=t},value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,onBlur:this.handleBlur,placeholder:this.props.placeholder,spellCheck:"false"}),this.props.label&&!this.props.hideLabel?o.default.createElement("span",{style:t.label,onMouseDown:this.handleMouseDown},this.props.label):null)}}]),t}(n.PureComponent||n.Component);t.default=s},B5Mt:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default=function(e,t){var r={},a=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];r[e]=t};return 0===e&&a("first-child"),e===t-1&&a("last-child"),(0===e||e%2==0)&&a("even"),1===Math.abs(e%2)&&a("odd"),a("nth-child",e),r}},BKMn:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PhotoshopPointerCircle=void 0;var a=o(r("q1tI")),n=o(r("/FUP"));function o(e){return e&&e.__esModule?e:{default:e}}var l=t.PhotoshopPointerCircle=function(e){var t=e.hsl,r=(0,n.default)({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",boxShadow:"inset 0 0 0 1px #fff",transform:"translate(-6px, -6px)"}},"black-outline":{picker:{boxShadow:"inset 0 0 0 1px #000"}}},{"black-outline":t.l>.5});return a.default.createElement("div",{style:r.picker})};t.default=l},Ba7A:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Swatch=void 0;var a=Object.assign||function(e){for(var t=1;t100&&(e.a=100),e.a/=100,t({h:i.h,s:i.s,l:i.l,a:e.a,source:"rgb"},a))};return a.default.createElement("div",{style:d.fields,className:"flexbox-fix"},a.default.createElement("div",{style:d.double},a.default.createElement(l.EditableInput,{style:{input:d.input,label:d.label},label:"hex",value:u.replace("#",""),onChange:c})),a.default.createElement("div",{style:d.single},a.default.createElement(l.EditableInput,{style:{input:d.input,label:d.label},label:"r",value:r.r,onChange:c,dragLabel:"true",dragMax:"255"})),a.default.createElement("div",{style:d.single},a.default.createElement(l.EditableInput,{style:{input:d.input,label:d.label},label:"g",value:r.g,onChange:c,dragLabel:"true",dragMax:"255"})),a.default.createElement("div",{style:d.single},a.default.createElement(l.EditableInput,{style:{input:d.input,label:d.label},label:"b",value:r.b,onChange:c,dragLabel:"true",dragMax:"255"})),a.default.createElement("div",{style:d.alpha},a.default.createElement(l.EditableInput,{style:{input:d.input,label:d.label},label:"a",value:Math.round(100*r.a),onChange:c,dragLabel:"true",dragMax:"100"})))};t.default=u},HTXX:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Sketch=void 0;var a=Object.assign||function(e){for(var t=1;t1&&(e.a=1),r.props.onChange({h:r.props.hsl.h,s:r.props.hsl.s,l:r.props.hsl.l,a:Math.round(100*e.a)/100,source:"rgb"},t)):(e.h||e.s||e.l)&&("string"==typeof e.s&&e.s.includes("%")&&(e.s=e.s.replace("%","")),"string"==typeof e.l&&e.l.includes("%")&&(e.l=e.l.replace("%","")),r.props.onChange({h:e.h||r.props.hsl.h,s:Number(e.s&&e.s||r.props.hsl.s),l:Number(e.l&&e.l||r.props.hsl.l),source:"hsl"},t))},r.showHighlight=function(e){e.currentTarget.style.background="#eee"},r.hideHighlight=function(e){e.currentTarget.style.background="transparent"},1!==e.hsl.a&&"hex"===e.view?r.state={view:"rgb"}:r.state={view:e.view},r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),a(t,[{key:"render",value:function(){var e=this,t=(0,o.default)({default:{wrap:{paddingTop:"16px",display:"flex"},fields:{flex:"1",display:"flex",marginLeft:"-6px"},field:{paddingLeft:"6px",width:"100%"},alpha:{paddingLeft:"6px",width:"100%"},toggle:{width:"32px",textAlign:"right",position:"relative"},icon:{marginRight:"-4px",marginTop:"12px",cursor:"pointer",position:"relative"},iconHighlight:{position:"absolute",width:"24px",height:"28px",background:"#eee",borderRadius:"4px",top:"10px",left:"12px",display:"none"},input:{fontSize:"11px",color:"#333",width:"100%",borderRadius:"2px",border:"none",boxShadow:"inset 0 0 0 1px #dadada",height:"21px",textAlign:"center"},label:{textTransform:"uppercase",fontSize:"11px",lineHeight:"11px",color:"#969696",textAlign:"center",display:"block",marginTop:"12px"},svg:{fill:"#333",width:"24px",height:"24px",border:"1px transparent solid",borderRadius:"5px"}},disableAlpha:{alpha:{display:"none"}}},this.props,this.state),r=void 0;return"hex"===this.state.view?r=n.default.createElement("div",{style:t.fields,className:"flexbox-fix"},n.default.createElement("div",{style:t.field},n.default.createElement(i.EditableInput,{style:{input:t.input,label:t.label},label:"hex",value:this.props.hex,onChange:this.handleChange}))):"rgb"===this.state.view?r=n.default.createElement("div",{style:t.fields,className:"flexbox-fix"},n.default.createElement("div",{style:t.field},n.default.createElement(i.EditableInput,{style:{input:t.input,label:t.label},label:"r",value:this.props.rgb.r,onChange:this.handleChange})),n.default.createElement("div",{style:t.field},n.default.createElement(i.EditableInput,{style:{input:t.input,label:t.label},label:"g",value:this.props.rgb.g,onChange:this.handleChange})),n.default.createElement("div",{style:t.field},n.default.createElement(i.EditableInput,{style:{input:t.input,label:t.label},label:"b",value:this.props.rgb.b,onChange:this.handleChange})),n.default.createElement("div",{style:t.alpha},n.default.createElement(i.EditableInput,{style:{input:t.input,label:t.label},label:"a",value:this.props.rgb.a,arrowOffset:.01,onChange:this.handleChange}))):"hsl"===this.state.view&&(r=n.default.createElement("div",{style:t.fields,className:"flexbox-fix"},n.default.createElement("div",{style:t.field},n.default.createElement(i.EditableInput,{style:{input:t.input,label:t.label},label:"h",value:Math.round(this.props.hsl.h),onChange:this.handleChange})),n.default.createElement("div",{style:t.field},n.default.createElement(i.EditableInput,{style:{input:t.input,label:t.label},label:"s",value:Math.round(100*this.props.hsl.s)+"%",onChange:this.handleChange})),n.default.createElement("div",{style:t.field},n.default.createElement(i.EditableInput,{style:{input:t.input,label:t.label},label:"l",value:Math.round(100*this.props.hsl.l)+"%",onChange:this.handleChange})),n.default.createElement("div",{style:t.alpha},n.default.createElement(i.EditableInput,{style:{input:t.input,label:t.label},label:"a",value:this.props.hsl.a,arrowOffset:.01,onChange:this.handleChange})))),n.default.createElement("div",{style:t.wrap,className:"flexbox-fix"},r,n.default.createElement("div",{style:t.toggle},n.default.createElement("div",{style:t.icon,onClick:this.toggleViews,ref:function(t){return e.icon=t}},n.default.createElement(u.default,{style:t.svg,onMouseOver:this.showHighlight,onMouseEnter:this.showHighlight,onMouseOut:this.hideHighlight}))))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return 1!==e.hsl.a&&"hex"===t.view?{view:"rgb"}:null}}]),t}(n.default.Component);d.defaultProps={view:"hex"},t.default=d},SKAX:function(e,t,r){var a=r("JC6p"),n=r("lQqw")(a);e.exports=n},Syy6:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AlphaPointer=void 0;var a=o(r("q1tI")),n=o(r("/FUP"));function o(e){return e&&e.__esModule?e:{default:e}}var l=t.AlphaPointer=function(e){var t=e.direction,r=(0,n.default)({default:{picker:{width:"18px",height:"18px",borderRadius:"50%",transform:"translate(-9px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}},vertical:{picker:{transform:"translate(-3px, -9px)"}}},{vertical:"vertical"===t});return a.default.createElement("div",{style:r.picker})};t.default=l},THLb:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.calculateChange=function(e,t,r,a,n){var o=n.clientWidth,l=n.clientHeight,i="number"==typeof e.pageX?e.pageX:e.touches[0].pageX,u="number"==typeof e.pageY?e.pageY:e.touches[0].pageY,s=i-(n.getBoundingClientRect().left+window.pageXOffset),d=u-(n.getBoundingClientRect().top+window.pageYOffset);if("vertical"===r){var c=void 0;if(c=d<0?0:d>l?1:Math.round(100*d/l)/100,t.a!==c)return{h:t.h,s:t.s,l:t.l,a:c,source:"rgb"}}else{var f=void 0;if(a!==(f=s<0?0:s>o?1:Math.round(100*s/o)/100))return{h:t.h,s:t.s,l:t.l,a:f,source:"rgb"}}return null}},TM95:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=r("yOY4");Object.defineProperty(t,"Alpha",{enumerable:!0,get:function(){return c(a).default}});var n=r("Nq3d");Object.defineProperty(t,"Checkboard",{enumerable:!0,get:function(){return c(n).default}});var o=r("AnK5");Object.defineProperty(t,"EditableInput",{enumerable:!0,get:function(){return c(o).default}});var l=r("HlQe");Object.defineProperty(t,"Hue",{enumerable:!0,get:function(){return c(l).default}});var i=r("Ojt5");Object.defineProperty(t,"Raised",{enumerable:!0,get:function(){return c(i).default}});var u=r("ccyi");Object.defineProperty(t,"Saturation",{enumerable:!0,get:function(){return c(u).default}});var s=r("UGzO");Object.defineProperty(t,"ColorWrap",{enumerable:!0,get:function(){return c(s).default}});var d=r("Ba7A");function c(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"Swatch",{enumerable:!0,get:function(){return c(d).default}})},UGzO:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ColorWrap=void 0;var a=Object.assign||function(e){for(var t=1;th?g.default.createElement("div",{className:"mt30 mb50 edu-txt-center"},g.default.createElement(c.default,{simple:!0,defaultCurrent:b,total:r&&r.issue_tags_count,pageSize:h,onChange:this.ChangePage})):"");return g.default.createElement(E.WhiteBack,null,g.default.createElement("div",{className:"flex-a-center baseForm bbr",style:{"justify-content":"space-between"}},g.default.createElement("span",{className:"font-18 text-black"},"项目标记"),r&&r.user_admin_or_member?g.default.createElement(i.default,{type:"primary",ghost:!0,onClick:this.newshow},g.default.createElement(d.default,{type:"plus"}),"创建标记"):""),g.default.createElement("div",null,g.default.createElement("div",{style:{display:this.state.display},className:"padding15"},g.default.createElement(o.default,null,g.default.createElement("div",{className:"new-tag-div"},g.default.createElement(o.default.Item,{className:"inptwidth"},w("name",{rules:[{required:!0,message:"请填写标记名字"}]})(g.default.createElement(l.default,{placeholder:"名称,15字以内",maxLength:"15"}))),g.default.createElement(o.default.Item,{className:"inputcount"},w("description",{rules:[{required:!0,message:"描述不能为空"}]})(g.default.createElement(l.default,{placeholder:"描述, 30字以内",maxLength:"30"}))),g.default.createElement("div",null,g.default.createElement("div",{style:_.swatch,onClick:this.handleClick},g.default.createElement("div",{style:_.color},g.default.createElement("p",{style:{paddingLeft:25}},this.state.textcolor))),this.state.displayColorPicker?g.default.createElement("div",{style:_.popover},g.default.createElement("div",{style:_.cover,onClick:this.handleClose}),g.default.createElement(y.SketchPicker,{color:this.state.color,onChange:this.handleChange})):null),g.default.createElement("div",{className:"fr",style:{marginTop:5}},g.default.createElement(i.default,{type:"primary",onClick:this.createtagpost,className:"fr"},"创建标记"),g.default.createElement("a",{onClick:this.newclose,className:"a_btn cancel_btn fr"},"取消"))))),g.default.createElement("div",{className:"padding20-30"},g.default.createElement(n.default,{spinning:v},g.default.createElement("div",{style:{minHeight:"350px"}},r&&r.issue_tags&&r.issue_tags.length>0?g.default.createElement("div",null,g.default.createElement("div",{className:"topWrapper",style:{borderBottom:"1px solid #eee"}},g.default.createElement("span",null,"共",r&&r.issue_tags_count,"个标记"),g.default.createElement("ul",{className:"topWrapper_select"},g.default.createElement("li",null,g.default.createElement(s.default,{className:"topWrapperSelect",overlay:C,trigger:["click"],placement:"bottomCenter"},g.default.createElement("span",null,"标记",g.default.createElement(d.default,{type:"caret-down",className:"ml5"})))))),g.default.createElement("div",null,g.default.createElement(u.default,{className:"setTables",showHeader:!1,pagination:!1,columns:k,dataSource:r.issue_tags,rowKey:function(e){return e.id}}))):r&&r.issue_tags&&0===r.issue_tags.length?g.default.createElement(x.default,{_html:"暂时还没有相关数据!"}):void 0)),O)),g.default.createElement(a.default,{title:"编辑标记",onCancel:this.handleCancel,visible:this.state.isShow,onOk:this.handleok,mask:!0,width:"600px",closable:!1},g.default.createElement("div",{className:"dialogdiv"},g.default.createElement(l.default,{placeholder:"名称,10字以内",maxLength:"10",className:"inptwidth",value:this.state.name,onChange:this.changmodelname}),g.default.createElement(l.default,{placeholder:"描述, 30字以内",maxLength:"30",className:"inputcount",value:this.state.description,onChange:this.changdescription}),g.default.createElement("div",null,g.default.createElement("div",{style:_.swatch,onClick:this.handleClick},g.default.createElement("div",{style:_.modalcolor},g.default.createElement("p",{style:{paddingLeft:25,width:100}},this.state.newcolor))),this.state.displayColorPicker?g.default.createElement("div",{style:_.popover},g.default.createElement("div",{style:_.cover,onClick:this.handleClose}),g.default.createElement(y.SketchPicker,{color:this.state.color,onChange:this.handleChange})):null))))}}]),t}(v.Component),k=o.default.create({name:"tageFrom"})(_);t.default=k},VOtZ:function(e,t,r){var a=r("juv8"),n=r("MvSz");e.exports=function(e,t){return a(e,n(e),t)}},VVms:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.calculateChange=function(e,t,r){var a=r.getBoundingClientRect(),n=a.width,o=a.height,l="number"==typeof e.pageX?e.pageX:e.touches[0].pageX,i="number"==typeof e.pageY?e.pageY:e.touches[0].pageY,u=l-(r.getBoundingClientRect().left+window.pageXOffset),s=i-(r.getBoundingClientRect().top+window.pageYOffset);u<0?u=0:u>n&&(u=n),s<0?s=0:s>o&&(s=o);var d=u/n,c=1-s/o;return{h:t.h,s:d,v:c,a:t.a,source:"rgb"}}},VYtm:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hover=void 0;var a,n=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:"span";return function(r){function a(){var r,o,s;i(this,a);for(var d=arguments.length,c=Array(d),f=0;f0&&void 0!==arguments[0]?arguments[0]:[],r=[];return(0,l.default)(t,(function(t){Array.isArray(t)?e(t).map((function(e){return r.push(e)})):(0,o.default)(t)?(0,n.default)(t,(function(e,t){!0===e&&r.push(t),r.push(t+"-"+e)})):(0,a.default)(t)&&r.push(t)})),r};t.default=u},WFjJ:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CustomPicker=t.TwitterPicker=t.SwatchesPicker=t.SliderPicker=t.SketchPicker=t.PhotoshopPicker=t.MaterialPicker=t.HuePicker=t.GithubPicker=t.CompactPicker=t.ChromePicker=t.default=t.CirclePicker=t.BlockPicker=t.AlphaPicker=void 0;var a=r("qo7Q");Object.defineProperty(t,"AlphaPicker",{enumerable:!0,get:function(){return x(a).default}});var n=r("rJ8t");Object.defineProperty(t,"BlockPicker",{enumerable:!0,get:function(){return x(n).default}});var o=r("7dW+");Object.defineProperty(t,"CirclePicker",{enumerable:!0,get:function(){return x(o).default}});var l=r("JI00");Object.defineProperty(t,"ChromePicker",{enumerable:!0,get:function(){return x(l).default}});var i=r("oPLb");Object.defineProperty(t,"CompactPicker",{enumerable:!0,get:function(){return x(i).default}});var u=r("Lx/H");Object.defineProperty(t,"GithubPicker",{enumerable:!0,get:function(){return x(u).default}});var s=r("wkyg");Object.defineProperty(t,"HuePicker",{enumerable:!0,get:function(){return x(s).default}});var d=r("Jxpl");Object.defineProperty(t,"MaterialPicker",{enumerable:!0,get:function(){return x(d).default}});var c=r("FbP/");Object.defineProperty(t,"PhotoshopPicker",{enumerable:!0,get:function(){return x(c).default}});var f=r("HTXX");Object.defineProperty(t,"SketchPicker",{enumerable:!0,get:function(){return x(f).default}});var p=r("Pzom");Object.defineProperty(t,"SliderPicker",{enumerable:!0,get:function(){return x(p).default}});var h=r("t8r4");Object.defineProperty(t,"SwatchesPicker",{enumerable:!0,get:function(){return x(h).default}});var b=r("nW7/");Object.defineProperty(t,"TwitterPicker",{enumerable:!0,get:function(){return x(b).default}});var v=r("UGzO");Object.defineProperty(t,"CustomPicker",{enumerable:!0,get:function(){return x(v).default}});var g=x(l);function x(e){return e&&e.__esModule?e:{default:e}}t.default=g.default},WwFo:function(e,t,r){var a=r("juv8"),n=r("7GkX");e.exports=function(e,t){return e&&a(t,n(t),e)}},XQvf:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.active=void 0;var a,n=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:"span";return function(r){function a(){var r,o,s;i(this,a);for(var d=arguments.length,c=Array(d),f=0;f1&&void 0!==arguments[1]?arguments[1]:"span";return function(r){function a(){var e,t,r;u(this,a);for(var n=arguments.length,o=Array(n),l=0;l1&&void 0!==arguments[1]?arguments[1]:[],r=e.default&&(0,n.default)(e.default)||{};return t.map((function(t){var n=e[t];return n&&(0,a.default)(n,(function(e,t){r[t]||(r[t]={}),r[t]=o({},r[t],n[t])})),t})),r};t.default=i},"nW7/":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Twitter=void 0;var a=d(r("q1tI")),n=d(r("17x9")),o=d(r("/FUP")),l=d(r("3WF5")),i=d(r("QkVN")),u=d(r("p8yl")),s=r("TM95");function d(e){return e&&e.__esModule?e:{default:e}}var c=t.Twitter=function(e){var t=e.onChange,r=e.onSwatchHover,n=e.hex,d=e.colors,c=e.width,f=e.triangle,p=e.styles,h=void 0===p?{}:p,b=e.className,v=void 0===b?"":b,g=(0,o.default)((0,i.default)({default:{card:{width:c,background:"#fff",border:"0 solid rgba(0,0,0,0.25)",boxShadow:"0 1px 4px rgba(0,0,0,0.25)",borderRadius:"4px",position:"relative"},body:{padding:"15px 9px 9px 15px"},label:{fontSize:"18px",color:"#fff"},triangle:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 9px 10px 9px",borderColor:"transparent transparent #fff transparent",position:"absolute"},triangleShadow:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 9px 10px 9px",borderColor:"transparent transparent rgba(0,0,0,.1) transparent",position:"absolute"},hash:{background:"#F0F0F0",height:"30px",width:"30px",borderRadius:"4px 0 0 4px",float:"left",color:"#98A1A4",display:"flex",alignItems:"center",justifyContent:"center"},input:{width:"100px",fontSize:"14px",color:"#666",border:"0px",outline:"none",height:"28px",boxShadow:"inset 0 0 0 1px #F0F0F0",boxSizing:"content-box",borderRadius:"0 4px 4px 0",float:"left",paddingLeft:"8px"},swatch:{width:"30px",height:"30px",float:"left",borderRadius:"4px",margin:"0 6px 6px 0"},clear:{clear:"both"}},"hide-triangle":{triangle:{display:"none"},triangleShadow:{display:"none"}},"top-left-triangle":{triangle:{top:"-10px",left:"12px"},triangleShadow:{top:"-11px",left:"12px"}},"top-right-triangle":{triangle:{top:"-10px",right:"12px"},triangleShadow:{top:"-11px",right:"12px"}}},h),{"hide-triangle":"hide"===f,"top-left-triangle":"top-left"===f,"top-right-triangle":"top-right"===f}),x=function(e,r){u.default.isValidHex(e)&&t({hex:e,source:"hex"},r)};return a.default.createElement("div",{style:g.card,className:"twitter-picker "+v},a.default.createElement("div",{style:g.triangleShadow}),a.default.createElement("div",{style:g.triangle}),a.default.createElement("div",{style:g.body},(0,l.default)(d,(function(e,t){return a.default.createElement(s.Swatch,{key:t,color:e,hex:e,style:g.swatch,onClick:x,onHover:r,focusStyle:{boxShadow:"0 0 4px "+e}})})),a.default.createElement("div",{style:g.hash},"#"),a.default.createElement(s.EditableInput,{label:null,style:{input:g.input},value:n.replace("#",""),onChange:x}),a.default.createElement("div",{style:g.clear})))};c.propTypes={width:n.default.oneOfType([n.default.string,n.default.number]),triangle:n.default.oneOf(["hide","top-left","top-right"]),colors:n.default.arrayOf(n.default.string),styles:n.default.object},c.defaultProps={width:276,colors:["#FF6900","#FCB900","#7BDCB5","#00D084","#8ED1FC","#0693E3","#ABB8C3","#EB144C","#F78DA7","#9900EF"],triangle:"top-left",styles:{}},t.default=(0,s.ColorWrap)(c)},"oCl/":function(e,t,r){var a=r("CH3K"),n=r("LcsW"),o=r("MvSz"),l=r("0ycA"),i=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)a(t,o(e)),e=n(e);return t}:l;e.exports=i},oPLb:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Compact=void 0;var a=f(r("q1tI")),n=f(r("17x9")),o=f(r("/FUP")),l=f(r("3WF5")),i=f(r("QkVN")),u=f(r("p8yl")),s=r("TM95"),d=f(r("ZQT/")),c=f(r("8J/B"));function f(e){return e&&e.__esModule?e:{default:e}}var p=t.Compact=function(e){var t=e.onChange,r=e.onSwatchHover,n=e.colors,f=e.hex,p=e.rgb,h=e.styles,b=void 0===h?{}:h,v=e.className,g=void 0===v?"":v,x=(0,o.default)((0,i.default)({default:{Compact:{background:"#f6f6f6",radius:"4px"},compact:{paddingTop:"5px",paddingLeft:"5px",boxSizing:"initial",width:"240px"},clear:{clear:"both"}}},b)),y=function(e,r){e.hex?u.default.isValidHex(e.hex)&&t({hex:e.hex,source:"hex"},r):t(e,r)};return a.default.createElement(s.Raised,{style:x.Compact,styles:b},a.default.createElement("div",{style:x.compact,className:"compact-picker "+g},a.default.createElement("div",null,(0,l.default)(n,(function(e){return a.default.createElement(d.default,{key:e,color:e,active:e.toLowerCase()===f,onClick:y,onSwatchHover:r})})),a.default.createElement("div",{style:x.clear})),a.default.createElement(c.default,{hex:f,rgb:p,onChange:y})))};p.propTypes={colors:n.default.arrayOf(n.default.string),styles:n.default.object},p.defaultProps={colors:["#4D4D4D","#999999","#FFFFFF","#F44E3B","#FE9200","#FCDC00","#DBDF00","#A4DD00","#68CCCA","#73D8FF","#AEA1FF","#FDA1FF","#333333","#808080","#cccccc","#D33115","#E27300","#FCC400","#B0BC00","#68BC00","#16A5A5","#009CE0","#7B64FF","#FA28FF","#000000","#666666","#B3B3B3","#9F0500","#C45100","#FB9E00","#808900","#194D33","#0C797D","#0062B1","#653294","#AB149E"],styles:{}},t.default=(0,s.ColorWrap)(p)},"otv/":function(e,t,r){var a=r("nmnc"),n=a?a.prototype:void 0,o=n?n.valueOf:void 0;e.exports=function(e){return o?Object(o.call(e)):{}}},p8yl:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.red=t.getContrastingColor=t.isValidHex=t.toState=t.simpleCheckForValidColor=void 0;var a=o(r("xkGU")),n=o(r("Zss7"));function o(e){return e&&e.__esModule?e:{default:e}}t.simpleCheckForValidColor=function(e){var t=0,r=0;return(0,a.default)(["r","g","b","a","h","s","l","v"],(function(a){if(e[a]&&(t+=1,isNaN(e[a])||(r+=1),"s"===a||"l"===a)){/^\d+%$/.test(e[a])&&(r+=1)}})),t===r&&e};var l=t.toState=function(e,t){var r=e.hex?(0,n.default)(e.hex):(0,n.default)(e),a=r.toHsl(),o=r.toHsv(),l=r.toRgb(),i=r.toHex();return 0===a.s&&(a.h=t||0,o.h=t||0),{hsl:a,hex:"000000"===i&&0===l.a?"transparent":"#"+i,rgb:l,hsv:o,oldHue:e.h||t||a.h,source:e.source}};t.isValidHex=function(e){var t="#"===String(e).charAt(0)?1:0;return e.length!==4+t&&e.length<7+t&&(0,n.default)(e).isValid()},t.getContrastingColor=function(e){if(!e)return"#fff";var t=l(e);return"transparent"===t.hex?"rgba(0,0,0,0.4)":(299*t.rgb.r+587*t.rgb.g+114*t.rgb.b)/1e3>=128?"#000":"#fff"},t.red={hsl:{a:1,h:0,l:.5,s:1},hex:"#ff0000",rgb:{r:255,g:0,b:0,a:1},hsv:{h:0,s:1,v:1,a:1}};t.default=t},"ql/k":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a,n=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,a)&&(r[a]=e[a]);return r}(e,["fill","width","height","style"]);return l.default.createElement("svg",n({viewBox:"0 0 24 24",style:n({fill:r,width:o,height:u},d)},c),l.default.createElement("path",{d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"}))}},qo7Q:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AlphaPicker=void 0;var a=Object.assign||function(e){for(var t=1;to)d=0;else{d=360*(-100*s/o+100)/100}if(r.h!==d)return{h:d,s:r.s,l:r.l,a:r.a,source:"rgb"}}else{var c=void 0;if(u<0)c=0;else if(u>n)c=359;else{c=360*(100*u/n)/100}if(r.h!==c)return{h:c,s:r.s,l:r.l,a:r.a,source:"rgb"}}return null}},t8r4:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Swatches=void 0;var a=f(r("q1tI")),n=f(r("17x9")),o=f(r("/FUP")),l=f(r("3WF5")),i=f(r("QkVN")),u=f(r("p8yl")),s=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}(r("wME1")),d=r("TM95"),c=f(r("Efrf"));function f(e){return e&&e.__esModule?e:{default:e}}var p=t.Swatches=function(e){var t=e.width,r=e.height,n=e.onChange,s=e.onSwatchHover,f=e.colors,p=e.hex,h=e.styles,b=void 0===h?{}:h,v=e.className,g=void 0===v?"":v,x=(0,o.default)((0,i.default)({default:{picker:{width:t,height:r},overflow:{height:r,overflowY:"scroll"},body:{padding:"16px 0 6px 16px"},clear:{clear:"both"}}},b)),y=function(e,t){u.default.isValidHex(e)&&n({hex:e,source:"hex"},t)};return a.default.createElement("div",{style:x.picker,className:"swatches-picker "+g},a.default.createElement(d.Raised,null,a.default.createElement("div",{style:x.overflow},a.default.createElement("div",{style:x.body},(0,l.default)(f,(function(e){return a.default.createElement(c.default,{key:e.toString(),group:e,active:p,onClick:y,onSwatchHover:s})})),a.default.createElement("div",{style:x.clear})))))};p.propTypes={width:n.default.oneOfType([n.default.string,n.default.number]),height:n.default.oneOfType([n.default.string,n.default.number]),colors:n.default.arrayOf(n.default.arrayOf(n.default.string)),styles:n.default.object},p.defaultProps={width:320,height:240,colors:[[s.red[900],s.red[700],s.red[500],s.red[300],s.red[100]],[s.pink[900],s.pink[700],s.pink[500],s.pink[300],s.pink[100]],[s.purple[900],s.purple[700],s.purple[500],s.purple[300],s.purple[100]],[s.deepPurple[900],s.deepPurple[700],s.deepPurple[500],s.deepPurple[300],s.deepPurple[100]],[s.indigo[900],s.indigo[700],s.indigo[500],s.indigo[300],s.indigo[100]],[s.blue[900],s.blue[700],s.blue[500],s.blue[300],s.blue[100]],[s.lightBlue[900],s.lightBlue[700],s.lightBlue[500],s.lightBlue[300],s.lightBlue[100]],[s.cyan[900],s.cyan[700],s.cyan[500],s.cyan[300],s.cyan[100]],[s.teal[900],s.teal[700],s.teal[500],s.teal[300],s.teal[100]],["#194D33",s.green[700],s.green[500],s.green[300],s.green[100]],[s.lightGreen[900],s.lightGreen[700],s.lightGreen[500],s.lightGreen[300],s.lightGreen[100]],[s.lime[900],s.lime[700],s.lime[500],s.lime[300],s.lime[100]],[s.yellow[900],s.yellow[700],s.yellow[500],s.yellow[300],s.yellow[100]],[s.amber[900],s.amber[700],s.amber[500],s.amber[300],s.amber[100]],[s.orange[900],s.orange[700],s.orange[500],s.orange[300],s.orange[100]],[s.deepOrange[900],s.deepOrange[700],s.deepOrange[500],s.deepOrange[300],s.deepOrange[100]],[s.brown[900],s.brown[700],s.brown[500],s.brown[300],s.brown[100]],[s.blueGrey[900],s.blueGrey[700],s.blueGrey[500],s.blueGrey[300],s.blueGrey[100]],["#000000","#525252","#969696","#D9D9D9","#FFFFFF"]],styles:{}},t.default=(0,d.ColorWrap)(p)},trA2:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SliderPointer=void 0;var a=o(r("q1tI")),n=o(r("/FUP"));function o(e){return e&&e.__esModule?e:{default:e}}var l=t.SliderPointer=function(e){var t=e.direction,r=(0,n.default)({default:{picker:{width:"18px",height:"18px",borderRadius:"50%",transform:"translate(-9px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}},vertical:{picker:{transform:"translate(-3px, -9px)"}}},{vertical:"vertical"===t});return a.default.createElement("div",{style:r.picker})};t.default=l},tu5P:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ChromePointerCircle=void 0;var a=o(r("q1tI")),n=o(r("/FUP"));function o(e){return e&&e.__esModule?e:{default:e}}var l=t.ChromePointerCircle=function(){var e=(0,n.default)({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",boxShadow:"inset 0 0 0 1px #fff",transform:"translate(-6px, -6px)"}}});return a.default.createElement("div",{style:e.picker})};t.default=l},uDUr:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BlockSwatches=void 0;var a=i(r("q1tI")),n=i(r("/FUP")),o=i(r("3WF5")),l=r("TM95");function i(e){return e&&e.__esModule?e:{default:e}}var u=t.BlockSwatches=function(e){var t=e.colors,r=e.onClick,i=e.onSwatchHover,u=(0,n.default)({default:{swatches:{marginRight:"-10px"},swatch:{width:"22px",height:"22px",float:"left",marginRight:"10px",marginBottom:"10px",borderRadius:"4px"},clear:{clear:"both"}}});return a.default.createElement("div",{style:u.swatches},(0,o.default)(t,(function(e){return a.default.createElement(l.Swatch,{key:e,color:e,style:u.swatch,onClick:r,onHover:i,focusStyle:{boxShadow:"0 0 4px "+e}})})),a.default.createElement("div",{style:u.clear}))};t.default=u},"w/wX":function(e,t,r){var a=r("QqLw"),n=r("ExA7");e.exports=function(e){return n(e)&&"[object Set]"==a(e)}},wME1:function(e,t,r){"use strict";r.r(t),r.d(t,"red",(function(){return a})),r.d(t,"pink",(function(){return n})),r.d(t,"purple",(function(){return o})),r.d(t,"deepPurple",(function(){return l})),r.d(t,"indigo",(function(){return i})),r.d(t,"blue",(function(){return u})),r.d(t,"lightBlue",(function(){return s})),r.d(t,"cyan",(function(){return d})),r.d(t,"teal",(function(){return c})),r.d(t,"green",(function(){return f})),r.d(t,"lightGreen",(function(){return p})),r.d(t,"lime",(function(){return h})),r.d(t,"yellow",(function(){return b})),r.d(t,"amber",(function(){return v})),r.d(t,"orange",(function(){return g})),r.d(t,"deepOrange",(function(){return x})),r.d(t,"brown",(function(){return y})),r.d(t,"grey",(function(){return m})),r.d(t,"blueGrey",(function(){return w})),r.d(t,"darkText",(function(){return E})),r.d(t,"lightText",(function(){return C})),r.d(t,"darkIcons",(function(){return _})),r.d(t,"lightIcons",(function(){return k})),r.d(t,"white",(function(){return O})),r.d(t,"black",(function(){return S}));var a={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",a100:"#ff8a80",a200:"#ff5252",a400:"#ff1744",a700:"#d50000"},n={50:"#fce4ec",100:"#f8bbd0",200:"#f48fb1",300:"#f06292",400:"#ec407a",500:"#e91e63",600:"#d81b60",700:"#c2185b",800:"#ad1457",900:"#880e4f",a100:"#ff80ab",a200:"#ff4081",a400:"#f50057",a700:"#c51162"},o={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",a100:"#ea80fc",a200:"#e040fb",a400:"#d500f9",a700:"#aa00ff"},l={50:"#ede7f6",100:"#d1c4e9",200:"#b39ddb",300:"#9575cd",400:"#7e57c2",500:"#673ab7",600:"#5e35b1",700:"#512da8",800:"#4527a0",900:"#311b92",a100:"#b388ff",a200:"#7c4dff",a400:"#651fff",a700:"#6200ea"},i={50:"#e8eaf6",100:"#c5cae9",200:"#9fa8da",300:"#7986cb",400:"#5c6bc0",500:"#3f51b5",600:"#3949ab",700:"#303f9f",800:"#283593",900:"#1a237e",a100:"#8c9eff",a200:"#536dfe",a400:"#3d5afe",a700:"#304ffe"},u={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",a100:"#82b1ff",a200:"#448aff",a400:"#2979ff",a700:"#2962ff"},s={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",a100:"#80d8ff",a200:"#40c4ff",a400:"#00b0ff",a700:"#0091ea"},d={50:"#e0f7fa",100:"#b2ebf2",200:"#80deea",300:"#4dd0e1",400:"#26c6da",500:"#00bcd4",600:"#00acc1",700:"#0097a7",800:"#00838f",900:"#006064",a100:"#84ffff",a200:"#18ffff",a400:"#00e5ff",a700:"#00b8d4"},c={50:"#e0f2f1",100:"#b2dfdb",200:"#80cbc4",300:"#4db6ac",400:"#26a69a",500:"#009688",600:"#00897b",700:"#00796b",800:"#00695c",900:"#004d40",a100:"#a7ffeb",a200:"#64ffda",a400:"#1de9b6",a700:"#00bfa5"},f={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",a100:"#b9f6ca",a200:"#69f0ae",a400:"#00e676",a700:"#00c853"},p={50:"#f1f8e9",100:"#dcedc8",200:"#c5e1a5",300:"#aed581",400:"#9ccc65",500:"#8bc34a",600:"#7cb342",700:"#689f38",800:"#558b2f",900:"#33691e",a100:"#ccff90",a200:"#b2ff59",a400:"#76ff03",a700:"#64dd17"},h={50:"#f9fbe7",100:"#f0f4c3",200:"#e6ee9c",300:"#dce775",400:"#d4e157",500:"#cddc39",600:"#c0ca33",700:"#afb42b",800:"#9e9d24",900:"#827717",a100:"#f4ff81",a200:"#eeff41",a400:"#c6ff00",a700:"#aeea00"},b={50:"#fffde7",100:"#fff9c4",200:"#fff59d",300:"#fff176",400:"#ffee58",500:"#ffeb3b",600:"#fdd835",700:"#fbc02d",800:"#f9a825",900:"#f57f17",a100:"#ffff8d",a200:"#ffff00",a400:"#ffea00",a700:"#ffd600"},v={50:"#fff8e1",100:"#ffecb3",200:"#ffe082",300:"#ffd54f",400:"#ffca28",500:"#ffc107",600:"#ffb300",700:"#ffa000",800:"#ff8f00",900:"#ff6f00",a100:"#ffe57f",a200:"#ffd740",a400:"#ffc400",a700:"#ffab00"},g={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",a100:"#ffd180",a200:"#ffab40",a400:"#ff9100",a700:"#ff6d00"},x={50:"#fbe9e7",100:"#ffccbc",200:"#ffab91",300:"#ff8a65",400:"#ff7043",500:"#ff5722",600:"#f4511e",700:"#e64a19",800:"#d84315",900:"#bf360c",a100:"#ff9e80",a200:"#ff6e40",a400:"#ff3d00",a700:"#dd2c00"},y={50:"#efebe9",100:"#d7ccc8",200:"#bcaaa4",300:"#a1887f",400:"#8d6e63",500:"#795548",600:"#6d4c41",700:"#5d4037",800:"#4e342e",900:"#3e2723"},m={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121"},w={50:"#eceff1",100:"#cfd8dc",200:"#b0bec5",300:"#90a4ae",400:"#78909c",500:"#607d8b",600:"#546e7a",700:"#455a64",800:"#37474f",900:"#263238"},E={primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.54)",disabled:"rgba(0, 0, 0, 0.38)",dividers:"rgba(0, 0, 0, 0.12)"},C={primary:"rgba(255, 255, 255, 1)",secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",dividers:"rgba(255, 255, 255, 0.12)"},_={active:"rgba(0, 0, 0, 0.54)",inactive:"rgba(0, 0, 0, 0.38)"},k={active:"rgba(255, 255, 255, 1)",inactive:"rgba(255, 255, 255, 0.5)"},O="#ffffff",S="#000000";t.default={red:a,pink:n,purple:o,deepPurple:l,indigo:i,blue:u,lightBlue:s,cyan:d,teal:c,green:f,lightGreen:p,lime:h,yellow:b,amber:v,orange:g,deepOrange:x,brown:y,grey:m,blueGrey:w,darkText:E,lightText:C,darkIcons:_,lightIcons:k,white:O,black:S}},wkyg:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HuePicker=void 0;var a=Object.assign||function(e){for(var t=1;t1?t-1:0),l=1;l=0||Object.prototype.hasOwnProperty.call(e,a)&&(r[a]=e[a]);return r}(e,["fill","width","height","style"]);return l.default.createElement("svg",n({viewBox:"0 0 24 24",style:n({fill:r,width:o,height:u},d)},c),l.default.createElement("path",{d:"M12,18.17L8.83,15L7.42,16.41L12,21L16.59,16.41L15.17,15M12,5.83L15.17,9L16.58,7.59L12,3L7.41,7.59L8.83,9L12,5.83Z"}))}},Ag8Z:function(e,t,r){var a=r("JC6p"),n=r("EwQA");e.exports=function(e,t){return e&&a(e,n(t))}},AnK5:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EditableInput=void 0;var a=function(){function e(e,t){for(var r=0;r-1)){var n=r.getArrowOffset(),o=38===e.keyCode?a+n:a-n;r.setUpdatedValue(o,e)}},r.handleDrag=function(e){if(r.props.dragLabel){var t=Math.round(r.props.value+e.movementX);t>=0&&t<=r.props.dragMax&&r.props.onChange&&r.props.onChange(r.getValueObjectWithLabel(t),e)}},r.handleMouseDown=function(e){r.props.dragLabel&&(e.preventDefault(),r.handleDrag(e),window.addEventListener("mousemove",r.handleDrag),window.addEventListener("mouseup",r.handleMouseUp))},r.handleMouseUp=function(){r.unbindEventListeners()},r.unbindEventListeners=function(){window.removeEventListener("mousemove",r.handleDrag),window.removeEventListener("mouseup",r.handleMouseUp)},r.state={value:String(e.value).toUpperCase(),blurValue:String(e.value).toUpperCase()},r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),a(t,[{key:"componentDidUpdate",value:function(e,t){this.props.value===this.state.value||e.value===this.props.value&&t.value===this.state.value||(this.input===document.activeElement?this.setState({blurValue:String(this.props.value).toUpperCase()}):this.setState({value:String(this.props.value).toUpperCase(),blurValue:!this.state.blurValue&&String(this.props.value).toUpperCase()}))}},{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"getValueObjectWithLabel",value:function(e){return function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}({},this.props.label,e)}},{key:"getArrowOffset",value:function(){return this.props.arrowOffset||1}},{key:"setUpdatedValue",value:function(e,t){var r=this.props.label?this.getValueObjectWithLabel(e):e;this.props.onChange&&this.props.onChange(r,t);var a,n=function(e){return String(e).indexOf("%")>-1}(t.target.value);this.setState({value:n?(a=e,a+"%"):e})}},{key:"render",value:function(){var e=this,t=(0,l.default)({default:{wrap:{position:"relative"}},"user-override":{wrap:this.props.style&&this.props.style.wrap?this.props.style.wrap:{},input:this.props.style&&this.props.style.input?this.props.style.input:{},label:this.props.style&&this.props.style.label?this.props.style.label:{}},"dragLabel-true":{label:{cursor:"ew-resize"}}},{"user-override":!0},this.props);return o.default.createElement("div",{style:t.wrap},o.default.createElement("input",{style:t.input,ref:function(t){return e.input=t},value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,onBlur:this.handleBlur,placeholder:this.props.placeholder,spellCheck:"false"}),this.props.label&&!this.props.hideLabel?o.default.createElement("span",{style:t.label,onMouseDown:this.handleMouseDown},this.props.label):null)}}]),t}(n.PureComponent||n.Component);t.default=s},B5Mt:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default=function(e,t){var r={},a=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];r[e]=t};return 0===e&&a("first-child"),e===t-1&&a("last-child"),(0===e||e%2==0)&&a("even"),1===Math.abs(e%2)&&a("odd"),a("nth-child",e),r}},BKMn:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PhotoshopPointerCircle=void 0;var a=o(r("q1tI")),n=o(r("/FUP"));function o(e){return e&&e.__esModule?e:{default:e}}var l=t.PhotoshopPointerCircle=function(e){var t=e.hsl,r=(0,n.default)({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",boxShadow:"inset 0 0 0 1px #fff",transform:"translate(-6px, -6px)"}},"black-outline":{picker:{boxShadow:"inset 0 0 0 1px #000"}}},{"black-outline":t.l>.5});return a.default.createElement("div",{style:r.picker})};t.default=l},Ba7A:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Swatch=void 0;var a=Object.assign||function(e){for(var t=1;t100&&(e.a=100),e.a/=100,t({h:i.h,s:i.s,l:i.l,a:e.a,source:"rgb"},a))};return a.default.createElement("div",{style:d.fields,className:"flexbox-fix"},a.default.createElement("div",{style:d.double},a.default.createElement(l.EditableInput,{style:{input:d.input,label:d.label},label:"hex",value:u.replace("#",""),onChange:c})),a.default.createElement("div",{style:d.single},a.default.createElement(l.EditableInput,{style:{input:d.input,label:d.label},label:"r",value:r.r,onChange:c,dragLabel:"true",dragMax:"255"})),a.default.createElement("div",{style:d.single},a.default.createElement(l.EditableInput,{style:{input:d.input,label:d.label},label:"g",value:r.g,onChange:c,dragLabel:"true",dragMax:"255"})),a.default.createElement("div",{style:d.single},a.default.createElement(l.EditableInput,{style:{input:d.input,label:d.label},label:"b",value:r.b,onChange:c,dragLabel:"true",dragMax:"255"})),a.default.createElement("div",{style:d.alpha},a.default.createElement(l.EditableInput,{style:{input:d.input,label:d.label},label:"a",value:Math.round(100*r.a),onChange:c,dragLabel:"true",dragMax:"100"})))};t.default=u},HTXX:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Sketch=void 0;var a=Object.assign||function(e){for(var t=1;t1&&(e.a=1),r.props.onChange({h:r.props.hsl.h,s:r.props.hsl.s,l:r.props.hsl.l,a:Math.round(100*e.a)/100,source:"rgb"},t)):(e.h||e.s||e.l)&&("string"==typeof e.s&&e.s.includes("%")&&(e.s=e.s.replace("%","")),"string"==typeof e.l&&e.l.includes("%")&&(e.l=e.l.replace("%","")),r.props.onChange({h:e.h||r.props.hsl.h,s:Number(e.s&&e.s||r.props.hsl.s),l:Number(e.l&&e.l||r.props.hsl.l),source:"hsl"},t))},r.showHighlight=function(e){e.currentTarget.style.background="#eee"},r.hideHighlight=function(e){e.currentTarget.style.background="transparent"},1!==e.hsl.a&&"hex"===e.view?r.state={view:"rgb"}:r.state={view:e.view},r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),a(t,[{key:"render",value:function(){var e=this,t=(0,o.default)({default:{wrap:{paddingTop:"16px",display:"flex"},fields:{flex:"1",display:"flex",marginLeft:"-6px"},field:{paddingLeft:"6px",width:"100%"},alpha:{paddingLeft:"6px",width:"100%"},toggle:{width:"32px",textAlign:"right",position:"relative"},icon:{marginRight:"-4px",marginTop:"12px",cursor:"pointer",position:"relative"},iconHighlight:{position:"absolute",width:"24px",height:"28px",background:"#eee",borderRadius:"4px",top:"10px",left:"12px",display:"none"},input:{fontSize:"11px",color:"#333",width:"100%",borderRadius:"2px",border:"none",boxShadow:"inset 0 0 0 1px #dadada",height:"21px",textAlign:"center"},label:{textTransform:"uppercase",fontSize:"11px",lineHeight:"11px",color:"#969696",textAlign:"center",display:"block",marginTop:"12px"},svg:{fill:"#333",width:"24px",height:"24px",border:"1px transparent solid",borderRadius:"5px"}},disableAlpha:{alpha:{display:"none"}}},this.props,this.state),r=void 0;return"hex"===this.state.view?r=n.default.createElement("div",{style:t.fields,className:"flexbox-fix"},n.default.createElement("div",{style:t.field},n.default.createElement(i.EditableInput,{style:{input:t.input,label:t.label},label:"hex",value:this.props.hex,onChange:this.handleChange}))):"rgb"===this.state.view?r=n.default.createElement("div",{style:t.fields,className:"flexbox-fix"},n.default.createElement("div",{style:t.field},n.default.createElement(i.EditableInput,{style:{input:t.input,label:t.label},label:"r",value:this.props.rgb.r,onChange:this.handleChange})),n.default.createElement("div",{style:t.field},n.default.createElement(i.EditableInput,{style:{input:t.input,label:t.label},label:"g",value:this.props.rgb.g,onChange:this.handleChange})),n.default.createElement("div",{style:t.field},n.default.createElement(i.EditableInput,{style:{input:t.input,label:t.label},label:"b",value:this.props.rgb.b,onChange:this.handleChange})),n.default.createElement("div",{style:t.alpha},n.default.createElement(i.EditableInput,{style:{input:t.input,label:t.label},label:"a",value:this.props.rgb.a,arrowOffset:.01,onChange:this.handleChange}))):"hsl"===this.state.view&&(r=n.default.createElement("div",{style:t.fields,className:"flexbox-fix"},n.default.createElement("div",{style:t.field},n.default.createElement(i.EditableInput,{style:{input:t.input,label:t.label},label:"h",value:Math.round(this.props.hsl.h),onChange:this.handleChange})),n.default.createElement("div",{style:t.field},n.default.createElement(i.EditableInput,{style:{input:t.input,label:t.label},label:"s",value:Math.round(100*this.props.hsl.s)+"%",onChange:this.handleChange})),n.default.createElement("div",{style:t.field},n.default.createElement(i.EditableInput,{style:{input:t.input,label:t.label},label:"l",value:Math.round(100*this.props.hsl.l)+"%",onChange:this.handleChange})),n.default.createElement("div",{style:t.alpha},n.default.createElement(i.EditableInput,{style:{input:t.input,label:t.label},label:"a",value:this.props.hsl.a,arrowOffset:.01,onChange:this.handleChange})))),n.default.createElement("div",{style:t.wrap,className:"flexbox-fix"},r,n.default.createElement("div",{style:t.toggle},n.default.createElement("div",{style:t.icon,onClick:this.toggleViews,ref:function(t){return e.icon=t}},n.default.createElement(u.default,{style:t.svg,onMouseOver:this.showHighlight,onMouseEnter:this.showHighlight,onMouseOut:this.hideHighlight}))))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return 1!==e.hsl.a&&"hex"===t.view?{view:"rgb"}:null}}]),t}(n.default.Component);d.defaultProps={view:"hex"},t.default=d},SKAX:function(e,t,r){var a=r("JC6p"),n=r("lQqw")(a);e.exports=n},Syy6:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AlphaPointer=void 0;var a=o(r("q1tI")),n=o(r("/FUP"));function o(e){return e&&e.__esModule?e:{default:e}}var l=t.AlphaPointer=function(e){var t=e.direction,r=(0,n.default)({default:{picker:{width:"18px",height:"18px",borderRadius:"50%",transform:"translate(-9px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}},vertical:{picker:{transform:"translate(-3px, -9px)"}}},{vertical:"vertical"===t});return a.default.createElement("div",{style:r.picker})};t.default=l},THLb:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.calculateChange=function(e,t,r,a,n){var o=n.clientWidth,l=n.clientHeight,i="number"==typeof e.pageX?e.pageX:e.touches[0].pageX,u="number"==typeof e.pageY?e.pageY:e.touches[0].pageY,s=i-(n.getBoundingClientRect().left+window.pageXOffset),d=u-(n.getBoundingClientRect().top+window.pageYOffset);if("vertical"===r){var c=void 0;if(c=d<0?0:d>l?1:Math.round(100*d/l)/100,t.a!==c)return{h:t.h,s:t.s,l:t.l,a:c,source:"rgb"}}else{var f=void 0;if(a!==(f=s<0?0:s>o?1:Math.round(100*s/o)/100))return{h:t.h,s:t.s,l:t.l,a:f,source:"rgb"}}return null}},TM95:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=r("yOY4");Object.defineProperty(t,"Alpha",{enumerable:!0,get:function(){return c(a).default}});var n=r("Nq3d");Object.defineProperty(t,"Checkboard",{enumerable:!0,get:function(){return c(n).default}});var o=r("AnK5");Object.defineProperty(t,"EditableInput",{enumerable:!0,get:function(){return c(o).default}});var l=r("HlQe");Object.defineProperty(t,"Hue",{enumerable:!0,get:function(){return c(l).default}});var i=r("Ojt5");Object.defineProperty(t,"Raised",{enumerable:!0,get:function(){return c(i).default}});var u=r("ccyi");Object.defineProperty(t,"Saturation",{enumerable:!0,get:function(){return c(u).default}});var s=r("UGzO");Object.defineProperty(t,"ColorWrap",{enumerable:!0,get:function(){return c(s).default}});var d=r("Ba7A");function c(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"Swatch",{enumerable:!0,get:function(){return c(d).default}})},UGzO:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ColorWrap=void 0;var a=Object.assign||function(e){for(var t=1;th?g.default.createElement("div",{className:"mt30 mb50 edu-txt-center"},g.default.createElement(c.default,{simple:!0,defaultCurrent:b,total:r&&r.issue_tags_count,pageSize:h,onChange:this.ChangePage})):"");return g.default.createElement(E.WhiteBack,null,g.default.createElement("div",{className:"flex-a-center baseForm bbr",style:{"justify-content":"space-between"}},g.default.createElement("span",{className:"font-18 text-black"},"项目标记"),r&&r.user_admin_or_member?g.default.createElement(i.default,{type:"primary",ghost:!0,onClick:this.newshow},g.default.createElement(d.default,{type:"plus"}),"创建标记"):""),g.default.createElement("div",null,g.default.createElement("div",{style:{display:this.state.display},className:"padding15"},g.default.createElement(o.default,null,g.default.createElement("div",{className:"new-tag-div"},g.default.createElement(o.default.Item,{className:"inptwidth"},w("name",{rules:[{required:!0,message:"请填写标记名字"}]})(g.default.createElement(l.default,{placeholder:"名称,15字以内",maxLength:"15"}))),g.default.createElement(o.default.Item,{className:"inputcount"},w("description",{rules:[{required:!0,message:"描述不能为空"}]})(g.default.createElement(l.default,{placeholder:"描述, 30字以内",maxLength:"30"}))),g.default.createElement("div",null,g.default.createElement("div",{style:_.swatch,onClick:this.handleClick},g.default.createElement("div",{style:_.color},g.default.createElement("p",{style:{paddingLeft:25}},this.state.textcolor))),this.state.displayColorPicker?g.default.createElement("div",{style:_.popover},g.default.createElement("div",{style:_.cover,onClick:this.handleClose}),g.default.createElement(y.SketchPicker,{color:this.state.color,onChange:this.handleChange})):null),g.default.createElement("div",{className:"fr",style:{marginTop:5}},g.default.createElement(i.default,{type:"primary",onClick:this.createtagpost,className:"fr"},"创建标记"),g.default.createElement("a",{onClick:this.newclose,className:"a_btn cancel_btn fr"},"取消"))))),g.default.createElement("div",{className:"padding20-30"},g.default.createElement(n.default,{spinning:v},g.default.createElement("div",{style:{minHeight:"350px"}},r&&r.issue_tags&&r.issue_tags.length>0?g.default.createElement("div",null,g.default.createElement("div",{className:"topWrapper",style:{borderBottom:"1px solid #eee"}},g.default.createElement("span",null,"共",r&&r.issue_tags_count,"个标记"),g.default.createElement("ul",{className:"topWrapper_select"},g.default.createElement("li",null,g.default.createElement(s.default,{className:"topWrapperSelect",overlay:C,trigger:["click"],placement:"bottomCenter"},g.default.createElement("span",null,"标记",g.default.createElement(d.default,{type:"caret-down",className:"ml5"})))))),g.default.createElement("div",null,g.default.createElement(u.default,{className:"setTables",showHeader:!1,pagination:!1,columns:k,dataSource:r.issue_tags,rowKey:function(e){return e.id}}))):r&&r.issue_tags&&0===r.issue_tags.length?g.default.createElement(x.default,{_html:"暂时还没有相关数据!"}):void 0)),O)),g.default.createElement(a.default,{title:"编辑标记",onCancel:this.handleCancel,visible:this.state.isShow,onOk:this.handleok,mask:!0,width:"600px",closable:!1},g.default.createElement("div",{className:"dialogdiv"},g.default.createElement(l.default,{placeholder:"名称,15字以内",maxLength:15,className:"inptwidth",value:this.state.name,onChange:this.changmodelname}),g.default.createElement(l.default,{placeholder:"描述, 30字以内",maxLength:"30",className:"inputcount",value:this.state.description,onChange:this.changdescription}),g.default.createElement("div",null,g.default.createElement("div",{style:_.swatch,onClick:this.handleClick},g.default.createElement("div",{style:_.modalcolor},g.default.createElement("p",{style:{paddingLeft:25,width:100}},this.state.newcolor))),this.state.displayColorPicker?g.default.createElement("div",{style:_.popover},g.default.createElement("div",{style:_.cover,onClick:this.handleClose}),g.default.createElement(y.SketchPicker,{color:this.state.color,onChange:this.handleChange})):null))))}}]),t}(v.Component),k=o.default.create({name:"tageFrom"})(_);t.default=k},VOtZ:function(e,t,r){var a=r("juv8"),n=r("MvSz");e.exports=function(e,t){return a(e,n(e),t)}},VVms:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.calculateChange=function(e,t,r){var a=r.getBoundingClientRect(),n=a.width,o=a.height,l="number"==typeof e.pageX?e.pageX:e.touches[0].pageX,i="number"==typeof e.pageY?e.pageY:e.touches[0].pageY,u=l-(r.getBoundingClientRect().left+window.pageXOffset),s=i-(r.getBoundingClientRect().top+window.pageYOffset);u<0?u=0:u>n&&(u=n),s<0?s=0:s>o&&(s=o);var d=u/n,c=1-s/o;return{h:t.h,s:d,v:c,a:t.a,source:"rgb"}}},VYtm:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hover=void 0;var a,n=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:"span";return function(r){function a(){var r,o,s;i(this,a);for(var d=arguments.length,c=Array(d),f=0;f0&&void 0!==arguments[0]?arguments[0]:[],r=[];return(0,l.default)(t,(function(t){Array.isArray(t)?e(t).map((function(e){return r.push(e)})):(0,o.default)(t)?(0,n.default)(t,(function(e,t){!0===e&&r.push(t),r.push(t+"-"+e)})):(0,a.default)(t)&&r.push(t)})),r};t.default=u},WFjJ:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CustomPicker=t.TwitterPicker=t.SwatchesPicker=t.SliderPicker=t.SketchPicker=t.PhotoshopPicker=t.MaterialPicker=t.HuePicker=t.GithubPicker=t.CompactPicker=t.ChromePicker=t.default=t.CirclePicker=t.BlockPicker=t.AlphaPicker=void 0;var a=r("qo7Q");Object.defineProperty(t,"AlphaPicker",{enumerable:!0,get:function(){return x(a).default}});var n=r("rJ8t");Object.defineProperty(t,"BlockPicker",{enumerable:!0,get:function(){return x(n).default}});var o=r("7dW+");Object.defineProperty(t,"CirclePicker",{enumerable:!0,get:function(){return x(o).default}});var l=r("JI00");Object.defineProperty(t,"ChromePicker",{enumerable:!0,get:function(){return x(l).default}});var i=r("oPLb");Object.defineProperty(t,"CompactPicker",{enumerable:!0,get:function(){return x(i).default}});var u=r("Lx/H");Object.defineProperty(t,"GithubPicker",{enumerable:!0,get:function(){return x(u).default}});var s=r("wkyg");Object.defineProperty(t,"HuePicker",{enumerable:!0,get:function(){return x(s).default}});var d=r("Jxpl");Object.defineProperty(t,"MaterialPicker",{enumerable:!0,get:function(){return x(d).default}});var c=r("FbP/");Object.defineProperty(t,"PhotoshopPicker",{enumerable:!0,get:function(){return x(c).default}});var f=r("HTXX");Object.defineProperty(t,"SketchPicker",{enumerable:!0,get:function(){return x(f).default}});var p=r("Pzom");Object.defineProperty(t,"SliderPicker",{enumerable:!0,get:function(){return x(p).default}});var h=r("t8r4");Object.defineProperty(t,"SwatchesPicker",{enumerable:!0,get:function(){return x(h).default}});var b=r("nW7/");Object.defineProperty(t,"TwitterPicker",{enumerable:!0,get:function(){return x(b).default}});var v=r("UGzO");Object.defineProperty(t,"CustomPicker",{enumerable:!0,get:function(){return x(v).default}});var g=x(l);function x(e){return e&&e.__esModule?e:{default:e}}t.default=g.default},WwFo:function(e,t,r){var a=r("juv8"),n=r("7GkX");e.exports=function(e,t){return e&&a(t,n(t),e)}},XQvf:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.active=void 0;var a,n=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:"span";return function(r){function a(){var r,o,s;i(this,a);for(var d=arguments.length,c=Array(d),f=0;f1&&void 0!==arguments[1]?arguments[1]:"span";return function(r){function a(){var e,t,r;u(this,a);for(var n=arguments.length,o=Array(n),l=0;l1&&void 0!==arguments[1]?arguments[1]:[],r=e.default&&(0,n.default)(e.default)||{};return t.map((function(t){var n=e[t];return n&&(0,a.default)(n,(function(e,t){r[t]||(r[t]={}),r[t]=o({},r[t],n[t])})),t})),r};t.default=i},"nW7/":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Twitter=void 0;var a=d(r("q1tI")),n=d(r("17x9")),o=d(r("/FUP")),l=d(r("3WF5")),i=d(r("QkVN")),u=d(r("p8yl")),s=r("TM95");function d(e){return e&&e.__esModule?e:{default:e}}var c=t.Twitter=function(e){var t=e.onChange,r=e.onSwatchHover,n=e.hex,d=e.colors,c=e.width,f=e.triangle,p=e.styles,h=void 0===p?{}:p,b=e.className,v=void 0===b?"":b,g=(0,o.default)((0,i.default)({default:{card:{width:c,background:"#fff",border:"0 solid rgba(0,0,0,0.25)",boxShadow:"0 1px 4px rgba(0,0,0,0.25)",borderRadius:"4px",position:"relative"},body:{padding:"15px 9px 9px 15px"},label:{fontSize:"18px",color:"#fff"},triangle:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 9px 10px 9px",borderColor:"transparent transparent #fff transparent",position:"absolute"},triangleShadow:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 9px 10px 9px",borderColor:"transparent transparent rgba(0,0,0,.1) transparent",position:"absolute"},hash:{background:"#F0F0F0",height:"30px",width:"30px",borderRadius:"4px 0 0 4px",float:"left",color:"#98A1A4",display:"flex",alignItems:"center",justifyContent:"center"},input:{width:"100px",fontSize:"14px",color:"#666",border:"0px",outline:"none",height:"28px",boxShadow:"inset 0 0 0 1px #F0F0F0",boxSizing:"content-box",borderRadius:"0 4px 4px 0",float:"left",paddingLeft:"8px"},swatch:{width:"30px",height:"30px",float:"left",borderRadius:"4px",margin:"0 6px 6px 0"},clear:{clear:"both"}},"hide-triangle":{triangle:{display:"none"},triangleShadow:{display:"none"}},"top-left-triangle":{triangle:{top:"-10px",left:"12px"},triangleShadow:{top:"-11px",left:"12px"}},"top-right-triangle":{triangle:{top:"-10px",right:"12px"},triangleShadow:{top:"-11px",right:"12px"}}},h),{"hide-triangle":"hide"===f,"top-left-triangle":"top-left"===f,"top-right-triangle":"top-right"===f}),x=function(e,r){u.default.isValidHex(e)&&t({hex:e,source:"hex"},r)};return a.default.createElement("div",{style:g.card,className:"twitter-picker "+v},a.default.createElement("div",{style:g.triangleShadow}),a.default.createElement("div",{style:g.triangle}),a.default.createElement("div",{style:g.body},(0,l.default)(d,(function(e,t){return a.default.createElement(s.Swatch,{key:t,color:e,hex:e,style:g.swatch,onClick:x,onHover:r,focusStyle:{boxShadow:"0 0 4px "+e}})})),a.default.createElement("div",{style:g.hash},"#"),a.default.createElement(s.EditableInput,{label:null,style:{input:g.input},value:n.replace("#",""),onChange:x}),a.default.createElement("div",{style:g.clear})))};c.propTypes={width:n.default.oneOfType([n.default.string,n.default.number]),triangle:n.default.oneOf(["hide","top-left","top-right"]),colors:n.default.arrayOf(n.default.string),styles:n.default.object},c.defaultProps={width:276,colors:["#FF6900","#FCB900","#7BDCB5","#00D084","#8ED1FC","#0693E3","#ABB8C3","#EB144C","#F78DA7","#9900EF"],triangle:"top-left",styles:{}},t.default=(0,s.ColorWrap)(c)},"oCl/":function(e,t,r){var a=r("CH3K"),n=r("LcsW"),o=r("MvSz"),l=r("0ycA"),i=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)a(t,o(e)),e=n(e);return t}:l;e.exports=i},oPLb:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Compact=void 0;var a=f(r("q1tI")),n=f(r("17x9")),o=f(r("/FUP")),l=f(r("3WF5")),i=f(r("QkVN")),u=f(r("p8yl")),s=r("TM95"),d=f(r("ZQT/")),c=f(r("8J/B"));function f(e){return e&&e.__esModule?e:{default:e}}var p=t.Compact=function(e){var t=e.onChange,r=e.onSwatchHover,n=e.colors,f=e.hex,p=e.rgb,h=e.styles,b=void 0===h?{}:h,v=e.className,g=void 0===v?"":v,x=(0,o.default)((0,i.default)({default:{Compact:{background:"#f6f6f6",radius:"4px"},compact:{paddingTop:"5px",paddingLeft:"5px",boxSizing:"initial",width:"240px"},clear:{clear:"both"}}},b)),y=function(e,r){e.hex?u.default.isValidHex(e.hex)&&t({hex:e.hex,source:"hex"},r):t(e,r)};return a.default.createElement(s.Raised,{style:x.Compact,styles:b},a.default.createElement("div",{style:x.compact,className:"compact-picker "+g},a.default.createElement("div",null,(0,l.default)(n,(function(e){return a.default.createElement(d.default,{key:e,color:e,active:e.toLowerCase()===f,onClick:y,onSwatchHover:r})})),a.default.createElement("div",{style:x.clear})),a.default.createElement(c.default,{hex:f,rgb:p,onChange:y})))};p.propTypes={colors:n.default.arrayOf(n.default.string),styles:n.default.object},p.defaultProps={colors:["#4D4D4D","#999999","#FFFFFF","#F44E3B","#FE9200","#FCDC00","#DBDF00","#A4DD00","#68CCCA","#73D8FF","#AEA1FF","#FDA1FF","#333333","#808080","#cccccc","#D33115","#E27300","#FCC400","#B0BC00","#68BC00","#16A5A5","#009CE0","#7B64FF","#FA28FF","#000000","#666666","#B3B3B3","#9F0500","#C45100","#FB9E00","#808900","#194D33","#0C797D","#0062B1","#653294","#AB149E"],styles:{}},t.default=(0,s.ColorWrap)(p)},"otv/":function(e,t,r){var a=r("nmnc"),n=a?a.prototype:void 0,o=n?n.valueOf:void 0;e.exports=function(e){return o?Object(o.call(e)):{}}},p8yl:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.red=t.getContrastingColor=t.isValidHex=t.toState=t.simpleCheckForValidColor=void 0;var a=o(r("xkGU")),n=o(r("Zss7"));function o(e){return e&&e.__esModule?e:{default:e}}t.simpleCheckForValidColor=function(e){var t=0,r=0;return(0,a.default)(["r","g","b","a","h","s","l","v"],(function(a){if(e[a]&&(t+=1,isNaN(e[a])||(r+=1),"s"===a||"l"===a)){/^\d+%$/.test(e[a])&&(r+=1)}})),t===r&&e};var l=t.toState=function(e,t){var r=e.hex?(0,n.default)(e.hex):(0,n.default)(e),a=r.toHsl(),o=r.toHsv(),l=r.toRgb(),i=r.toHex();return 0===a.s&&(a.h=t||0,o.h=t||0),{hsl:a,hex:"000000"===i&&0===l.a?"transparent":"#"+i,rgb:l,hsv:o,oldHue:e.h||t||a.h,source:e.source}};t.isValidHex=function(e){var t="#"===String(e).charAt(0)?1:0;return e.length!==4+t&&e.length<7+t&&(0,n.default)(e).isValid()},t.getContrastingColor=function(e){if(!e)return"#fff";var t=l(e);return"transparent"===t.hex?"rgba(0,0,0,0.4)":(299*t.rgb.r+587*t.rgb.g+114*t.rgb.b)/1e3>=128?"#000":"#fff"},t.red={hsl:{a:1,h:0,l:.5,s:1},hex:"#ff0000",rgb:{r:255,g:0,b:0,a:1},hsv:{h:0,s:1,v:1,a:1}};t.default=t},"ql/k":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a,n=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,a)&&(r[a]=e[a]);return r}(e,["fill","width","height","style"]);return l.default.createElement("svg",n({viewBox:"0 0 24 24",style:n({fill:r,width:o,height:u},d)},c),l.default.createElement("path",{d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"}))}},qo7Q:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AlphaPicker=void 0;var a=Object.assign||function(e){for(var t=1;to)d=0;else{d=360*(-100*s/o+100)/100}if(r.h!==d)return{h:d,s:r.s,l:r.l,a:r.a,source:"rgb"}}else{var c=void 0;if(u<0)c=0;else if(u>n)c=359;else{c=360*(100*u/n)/100}if(r.h!==c)return{h:c,s:r.s,l:r.l,a:r.a,source:"rgb"}}return null}},t8r4:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Swatches=void 0;var a=f(r("q1tI")),n=f(r("17x9")),o=f(r("/FUP")),l=f(r("3WF5")),i=f(r("QkVN")),u=f(r("p8yl")),s=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}(r("wME1")),d=r("TM95"),c=f(r("Efrf"));function f(e){return e&&e.__esModule?e:{default:e}}var p=t.Swatches=function(e){var t=e.width,r=e.height,n=e.onChange,s=e.onSwatchHover,f=e.colors,p=e.hex,h=e.styles,b=void 0===h?{}:h,v=e.className,g=void 0===v?"":v,x=(0,o.default)((0,i.default)({default:{picker:{width:t,height:r},overflow:{height:r,overflowY:"scroll"},body:{padding:"16px 0 6px 16px"},clear:{clear:"both"}}},b)),y=function(e,t){u.default.isValidHex(e)&&n({hex:e,source:"hex"},t)};return a.default.createElement("div",{style:x.picker,className:"swatches-picker "+g},a.default.createElement(d.Raised,null,a.default.createElement("div",{style:x.overflow},a.default.createElement("div",{style:x.body},(0,l.default)(f,(function(e){return a.default.createElement(c.default,{key:e.toString(),group:e,active:p,onClick:y,onSwatchHover:s})})),a.default.createElement("div",{style:x.clear})))))};p.propTypes={width:n.default.oneOfType([n.default.string,n.default.number]),height:n.default.oneOfType([n.default.string,n.default.number]),colors:n.default.arrayOf(n.default.arrayOf(n.default.string)),styles:n.default.object},p.defaultProps={width:320,height:240,colors:[[s.red[900],s.red[700],s.red[500],s.red[300],s.red[100]],[s.pink[900],s.pink[700],s.pink[500],s.pink[300],s.pink[100]],[s.purple[900],s.purple[700],s.purple[500],s.purple[300],s.purple[100]],[s.deepPurple[900],s.deepPurple[700],s.deepPurple[500],s.deepPurple[300],s.deepPurple[100]],[s.indigo[900],s.indigo[700],s.indigo[500],s.indigo[300],s.indigo[100]],[s.blue[900],s.blue[700],s.blue[500],s.blue[300],s.blue[100]],[s.lightBlue[900],s.lightBlue[700],s.lightBlue[500],s.lightBlue[300],s.lightBlue[100]],[s.cyan[900],s.cyan[700],s.cyan[500],s.cyan[300],s.cyan[100]],[s.teal[900],s.teal[700],s.teal[500],s.teal[300],s.teal[100]],["#194D33",s.green[700],s.green[500],s.green[300],s.green[100]],[s.lightGreen[900],s.lightGreen[700],s.lightGreen[500],s.lightGreen[300],s.lightGreen[100]],[s.lime[900],s.lime[700],s.lime[500],s.lime[300],s.lime[100]],[s.yellow[900],s.yellow[700],s.yellow[500],s.yellow[300],s.yellow[100]],[s.amber[900],s.amber[700],s.amber[500],s.amber[300],s.amber[100]],[s.orange[900],s.orange[700],s.orange[500],s.orange[300],s.orange[100]],[s.deepOrange[900],s.deepOrange[700],s.deepOrange[500],s.deepOrange[300],s.deepOrange[100]],[s.brown[900],s.brown[700],s.brown[500],s.brown[300],s.brown[100]],[s.blueGrey[900],s.blueGrey[700],s.blueGrey[500],s.blueGrey[300],s.blueGrey[100]],["#000000","#525252","#969696","#D9D9D9","#FFFFFF"]],styles:{}},t.default=(0,d.ColorWrap)(p)},trA2:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SliderPointer=void 0;var a=o(r("q1tI")),n=o(r("/FUP"));function o(e){return e&&e.__esModule?e:{default:e}}var l=t.SliderPointer=function(e){var t=e.direction,r=(0,n.default)({default:{picker:{width:"18px",height:"18px",borderRadius:"50%",transform:"translate(-9px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}},vertical:{picker:{transform:"translate(-3px, -9px)"}}},{vertical:"vertical"===t});return a.default.createElement("div",{style:r.picker})};t.default=l},tu5P:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ChromePointerCircle=void 0;var a=o(r("q1tI")),n=o(r("/FUP"));function o(e){return e&&e.__esModule?e:{default:e}}var l=t.ChromePointerCircle=function(){var e=(0,n.default)({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",boxShadow:"inset 0 0 0 1px #fff",transform:"translate(-6px, -6px)"}}});return a.default.createElement("div",{style:e.picker})};t.default=l},uDUr:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BlockSwatches=void 0;var a=i(r("q1tI")),n=i(r("/FUP")),o=i(r("3WF5")),l=r("TM95");function i(e){return e&&e.__esModule?e:{default:e}}var u=t.BlockSwatches=function(e){var t=e.colors,r=e.onClick,i=e.onSwatchHover,u=(0,n.default)({default:{swatches:{marginRight:"-10px"},swatch:{width:"22px",height:"22px",float:"left",marginRight:"10px",marginBottom:"10px",borderRadius:"4px"},clear:{clear:"both"}}});return a.default.createElement("div",{style:u.swatches},(0,o.default)(t,(function(e){return a.default.createElement(l.Swatch,{key:e,color:e,style:u.swatch,onClick:r,onHover:i,focusStyle:{boxShadow:"0 0 4px "+e}})})),a.default.createElement("div",{style:u.clear}))};t.default=u},"w/wX":function(e,t,r){var a=r("QqLw"),n=r("ExA7");e.exports=function(e){return n(e)&&"[object Set]"==a(e)}},wME1:function(e,t,r){"use strict";r.r(t),r.d(t,"red",(function(){return a})),r.d(t,"pink",(function(){return n})),r.d(t,"purple",(function(){return o})),r.d(t,"deepPurple",(function(){return l})),r.d(t,"indigo",(function(){return i})),r.d(t,"blue",(function(){return u})),r.d(t,"lightBlue",(function(){return s})),r.d(t,"cyan",(function(){return d})),r.d(t,"teal",(function(){return c})),r.d(t,"green",(function(){return f})),r.d(t,"lightGreen",(function(){return p})),r.d(t,"lime",(function(){return h})),r.d(t,"yellow",(function(){return b})),r.d(t,"amber",(function(){return v})),r.d(t,"orange",(function(){return g})),r.d(t,"deepOrange",(function(){return x})),r.d(t,"brown",(function(){return y})),r.d(t,"grey",(function(){return m})),r.d(t,"blueGrey",(function(){return w})),r.d(t,"darkText",(function(){return E})),r.d(t,"lightText",(function(){return C})),r.d(t,"darkIcons",(function(){return _})),r.d(t,"lightIcons",(function(){return k})),r.d(t,"white",(function(){return O})),r.d(t,"black",(function(){return S}));var a={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",a100:"#ff8a80",a200:"#ff5252",a400:"#ff1744",a700:"#d50000"},n={50:"#fce4ec",100:"#f8bbd0",200:"#f48fb1",300:"#f06292",400:"#ec407a",500:"#e91e63",600:"#d81b60",700:"#c2185b",800:"#ad1457",900:"#880e4f",a100:"#ff80ab",a200:"#ff4081",a400:"#f50057",a700:"#c51162"},o={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",a100:"#ea80fc",a200:"#e040fb",a400:"#d500f9",a700:"#aa00ff"},l={50:"#ede7f6",100:"#d1c4e9",200:"#b39ddb",300:"#9575cd",400:"#7e57c2",500:"#673ab7",600:"#5e35b1",700:"#512da8",800:"#4527a0",900:"#311b92",a100:"#b388ff",a200:"#7c4dff",a400:"#651fff",a700:"#6200ea"},i={50:"#e8eaf6",100:"#c5cae9",200:"#9fa8da",300:"#7986cb",400:"#5c6bc0",500:"#3f51b5",600:"#3949ab",700:"#303f9f",800:"#283593",900:"#1a237e",a100:"#8c9eff",a200:"#536dfe",a400:"#3d5afe",a700:"#304ffe"},u={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",a100:"#82b1ff",a200:"#448aff",a400:"#2979ff",a700:"#2962ff"},s={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",a100:"#80d8ff",a200:"#40c4ff",a400:"#00b0ff",a700:"#0091ea"},d={50:"#e0f7fa",100:"#b2ebf2",200:"#80deea",300:"#4dd0e1",400:"#26c6da",500:"#00bcd4",600:"#00acc1",700:"#0097a7",800:"#00838f",900:"#006064",a100:"#84ffff",a200:"#18ffff",a400:"#00e5ff",a700:"#00b8d4"},c={50:"#e0f2f1",100:"#b2dfdb",200:"#80cbc4",300:"#4db6ac",400:"#26a69a",500:"#009688",600:"#00897b",700:"#00796b",800:"#00695c",900:"#004d40",a100:"#a7ffeb",a200:"#64ffda",a400:"#1de9b6",a700:"#00bfa5"},f={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",a100:"#b9f6ca",a200:"#69f0ae",a400:"#00e676",a700:"#00c853"},p={50:"#f1f8e9",100:"#dcedc8",200:"#c5e1a5",300:"#aed581",400:"#9ccc65",500:"#8bc34a",600:"#7cb342",700:"#689f38",800:"#558b2f",900:"#33691e",a100:"#ccff90",a200:"#b2ff59",a400:"#76ff03",a700:"#64dd17"},h={50:"#f9fbe7",100:"#f0f4c3",200:"#e6ee9c",300:"#dce775",400:"#d4e157",500:"#cddc39",600:"#c0ca33",700:"#afb42b",800:"#9e9d24",900:"#827717",a100:"#f4ff81",a200:"#eeff41",a400:"#c6ff00",a700:"#aeea00"},b={50:"#fffde7",100:"#fff9c4",200:"#fff59d",300:"#fff176",400:"#ffee58",500:"#ffeb3b",600:"#fdd835",700:"#fbc02d",800:"#f9a825",900:"#f57f17",a100:"#ffff8d",a200:"#ffff00",a400:"#ffea00",a700:"#ffd600"},v={50:"#fff8e1",100:"#ffecb3",200:"#ffe082",300:"#ffd54f",400:"#ffca28",500:"#ffc107",600:"#ffb300",700:"#ffa000",800:"#ff8f00",900:"#ff6f00",a100:"#ffe57f",a200:"#ffd740",a400:"#ffc400",a700:"#ffab00"},g={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",a100:"#ffd180",a200:"#ffab40",a400:"#ff9100",a700:"#ff6d00"},x={50:"#fbe9e7",100:"#ffccbc",200:"#ffab91",300:"#ff8a65",400:"#ff7043",500:"#ff5722",600:"#f4511e",700:"#e64a19",800:"#d84315",900:"#bf360c",a100:"#ff9e80",a200:"#ff6e40",a400:"#ff3d00",a700:"#dd2c00"},y={50:"#efebe9",100:"#d7ccc8",200:"#bcaaa4",300:"#a1887f",400:"#8d6e63",500:"#795548",600:"#6d4c41",700:"#5d4037",800:"#4e342e",900:"#3e2723"},m={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121"},w={50:"#eceff1",100:"#cfd8dc",200:"#b0bec5",300:"#90a4ae",400:"#78909c",500:"#607d8b",600:"#546e7a",700:"#455a64",800:"#37474f",900:"#263238"},E={primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.54)",disabled:"rgba(0, 0, 0, 0.38)",dividers:"rgba(0, 0, 0, 0.12)"},C={primary:"rgba(255, 255, 255, 1)",secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",dividers:"rgba(255, 255, 255, 0.12)"},_={active:"rgba(0, 0, 0, 0.54)",inactive:"rgba(0, 0, 0, 0.38)"},k={active:"rgba(255, 255, 255, 1)",inactive:"rgba(255, 255, 255, 0.5)"},O="#ffffff",S="#000000";t.default={red:a,pink:n,purple:o,deepPurple:l,indigo:i,blue:u,lightBlue:s,cyan:d,teal:c,green:f,lightGreen:p,lime:h,yellow:b,amber:v,orange:g,deepOrange:x,brown:y,grey:m,blueGrey:w,darkText:E,lightText:C,darkIcons:_,lightIcons:k,white:O,black:S}},wkyg:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HuePicker=void 0;var a=Object.assign||function(e){for(var t=1;t0&&e.indexOf("/")>-1?e.replaceAll("/","%2F"):e}n("js5m");var p=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(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,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.onMouseMove=function(e){n.setState({isdisplay:!0,orderid:e})},n.onMouseOut=function(){n.setState({isdisplay:!1})},n.set_issue_tags=function(e){return e&&e.length>0?e.map((function(e,t){return o.default.createElement("span",{className:"issue-tag-show",style:{color:e.color}},e.name)})):"--"},n.state={isdisplay:!1,orderid:""},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),a(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.issues,a=(t.project_name,t.project_author_name),l=t.user_admin_or_developer,u=this.props.match.params,p=u.projectsId,d=u.owner;this.props.current_user;return o.default.createElement("div",null,function(){if(n&&n.length>0)return n.map((function(t,n){var u=t.pull_request_staus;return o.default.createElement("div",{className:"issueItem"},o.default.createElement("div",{className:"flex-1"},o.default.createElement("p",{className:"mb15 df",style:{alignItems:"center"}},o.default.createElement("i",{className:"iconfont icon-hebingqingqiu1 font-14 mr3 i_"+u}),o.default.createElement(s.Link,{to:"/"+d+"/"+p+"/pulls/"+(t.pull_request_number||t.pull_request_id),className:"hide-1 font-15 color-grey-3 fwb lineh-30 mr10",style:{maxWidth:"600px"}},t.name),o.default.createElement(r.default,{className:"pr_tags_"+u},"merged"===u?"已合并":"closed"===u?"已拒绝":"开启的")),o.default.createElement("p",{className:"grid-item font-13"},o.default.createElement(s.Link,{to:"/"+(t&&t.author_login),className:"show-user-link"},o.default.createElement("img",{className:"radius",src:(0,c.getImageUrl)("/"+(t&&t.avatar_url)),alt:"",width:"24",height:"24"})),o.default.createElement(i.AlignCenter,null,o.default.createElement(s.Link,{to:"/"+(t&&t.author_login),className:"show-user-link color-grey-8 ml5"},t&&t.author_name),o.default.createElement("span",{className:"ml15 color-grey-8"},"open"===t.pull_request_staus?"创建于":"merged"===t.pull_request_staus?"合并于":"更新于"),o.default.createElement("span",{className:"color-grey-8"},t.pr_time),o.default.createElement("span",{className:"ml15"},t.pull_request_head&&o.default.createElement(r.default,{className:"pr-branch-tag"},o.default.createElement(s.Link,{to:"/"+(t.is_original?t.fork_project_user:d)+"/"+(t.is_original?t.fork_project_identifier:p)+"/tree/"+f(t.pull_request_head),className:"maxW200px task-hide ver-middle",style:{maxWidth:"200px"}},t.is_original?t.fork_project_user_name:t.author_name,": ",t.pull_request_head)),t.pull_request_base&&o.default.createElement("span",{className:"mr8 ver-middle"},o.default.createElement("i",{className:"iconfont icon-youjiang color-grey-c font-16"})),t.pull_request_base&&o.default.createElement(r.default,{className:"pr-branch-tag"},o.default.createElement(s.Link,{to:"/"+d+"/"+p+"/tree/"+f(t.pull_request_base),className:"maxW200px task-hide ver-middle",style:{maxWidth:"200px"}},a,": ",t.pull_request_base)))))),o.default.createElement("ul",{className:"topWrapper_select no-cursor",onMouseMove:function(){return e.onMouseMove(t.id)},onMouseOut:function(){return e.onMouseOut()}},o.default.createElement("li",null,t.priority),o.default.createElement("li",null,e.set_issue_tags(t.issue_tags)),o.default.createElement("li",null,t.assign_user_name?o.default.createElement(s.Link,{to:"/"+t.assign_user_login,className:"show-user-link"},t.assign_user_name):"--"),o.default.createElement("li",null,t.version||"--"),o.default.createElement("li",null,o.default.createElement("div",{className:"flex1 df",style:{justifyContent:"center"}},t.journals_count?o.default.createElement(s.Link,{className:"mr5 color-grey-8",to:"/"+d+"/"+p+"/pulls/"+t.pull_request_id},o.default.createElement("i",{className:"iconfont icon-huifu1 font-15 mr5 ver-middle"}),t.journals_count):"",l&&0===t.pull_request_status?o.default.createElement("div",{className:"milepostleft",style:{display:e.state.orderid===t.id&&e.state.isdisplay?"flex":"none"}},o.default.createElement("div",{className:"grid-item mr15 color-grey-9"},o.default.createElement(s.Link,{to:"/"+d+"/"+p+"/pulls/"+t.pull_request_id+"/edit",className:"color-grey-9"},o.default.createElement("i",{className:"iconfont icon-bianji3 font-14 mr5"})))):""))))}))}())}}]),t}(l.Component);t.default=p},Phz4:function(e,t,n){},VPG4:function(e,t,n){},VSCt:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=h(n("W9HT")),a=h(n("NUBc")),l=h(n("jsC+")),o=h(n("CtXQ")),s=h(n("BvKs")),i=h(n("5rEg")),c=Object.assign||function(e){for(var t=1;t0&&e.map((function(e,t){return(!e.permission||e.permission&&"Reporter"!==e.permission)&&p.default.createElement(s.default.Item,{key:e.id,onClick:function(t){return n.getOption(t,r,e.name)}},e.name)})))},n.ChangePage=function(e){n.setState({isSpin:!0}),n.state.select_params.page=e,n.getIssueList()},n.searchFunc=function(e){n.setState({search:e,isSpin:!0}),n.state.select_params.search=e,n.state.select_params.page=1,n.getIssueList()},n.openorder=function(e){n.setState({isSpin:!0}),n.setState({status_type:e,issue_tag_ids:"标记",fixed_version_ids:"里程碑",assigned_to_ids:"审查人员",paix:"排序",priority_ids:"优先级"}),n.state.select_params.status_type=e,n.state.select_params.page=1,n.state.select_params.limit=15,n.getIssueList()},n.state={issue_chosen:void 0,data:void 0,issues:void 0,isSpin:!1,search:void 0,author_id:void 0,assigned_to_id:void 0,search_count:void 0,issue_type:void 0,status_type:"1",openselect:1,closeselect:void 0,issue_tag_ids:"标记",fixed_version_ids:"里程碑",assigned_to_ids:"审查人员",paix:"排序",priority_ids:"优先级",select_params:{status_type:"1",assigned_to_id:void 0,fixed_version_id:void 0,priority_id:void 0,order_name:void 0,order_type:void 0,search:void 0,page:1,limit:15}},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),u(t,[{key:"checkOperation",value:function(){var e=this.props.match.params,t=e.projectsId,n=e.owner;this.props.history.push("/"+n+"/"+t+"/compare/master...master")}},{key:"render",value:function(){var e=this,t=this.props.match.params,n=t.projectsId,i=t.owner,u=this.state,f=u.issue_chosen,_=u.issues,h=(u.limit,u.page,u.search_count),g=u.data,v=u.isSpin,E=u.status_type,O=u.select_params,j=p.default.createElement(s.default,{onClick:function(t){return e.getMenu(t)}},p.default.createElement(s.default.Item,{key:"created_on-desc",value:"desc"},"最新创建"),p.default.createElement(s.default.Item,{key:"created_on-asc",value:"asc"},"最早创建"),p.default.createElement(s.default.Item,{key:"updated_on-desc",value:"desc"},"最新更新"),p.default.createElement(s.default.Item,{key:"updated_on-asc",value:"asc"},"最早更新"));return p.default.createElement("div",{className:"main",style:{padding:"0px"}},p.default.createElement("div",{className:"topWrapper",style:{borderBottom:"none",padding:"20px"}},p.default.createElement("div",{className:"target-detail-search"},p.default.createElement(b,{placeholder:"输入关键字搜索合并请求",enterButton:!0,onSearch:this.searchFunc,style:{width:300}})),g&&g.user_admin_or_developer&&p.default.createElement(y.default,c({},this.props,{className:"topWrapper_btn ml10",sureFunc:function(){return e.checkOperation()}}),"+ 新建合并请求")),p.default.createElement("div",{className:"f-wrap-between screenWrap"},p.default.createElement("div",{className:"df"},p.default.createElement("ul",{className:"searchBanner"},p.default.createElement("li",{className:E?"":"active",onClick:function(){return e.openorder(void 0)}},p.default.createElement("label",null,"搜索结果"),p.default.createElement("span",null,g&&g.search_count)),p.default.createElement("li",{className:"1"===E?"active":"",onClick:function(){return e.openorder("1")}},p.default.createElement("i",{className:"iconfont icon-hebingqingqiu1 font-14 mr3 i_open"}),p.default.createElement("label",null,"开启的"),p.default.createElement("span",null,g&&g.open_count)),p.default.createElement("li",{className:"11"===E?"active":"",onClick:function(){return e.openorder("11")}},p.default.createElement("i",{className:"iconfont icon-hebingqingqiu1 font-14 mr3 i_merged"}),p.default.createElement("label",null,"已合并"),p.default.createElement("span",null,g&&g.merged_issues_size)),p.default.createElement("li",{className:"2"===E?"active":"",onClick:function(){return e.openorder("2")}},p.default.createElement("i",{className:"iconfont icon-hebingqingqiu1 font-14 mr3 i_closed"}),p.default.createElement("label",null,"已拒绝"),p.default.createElement("span",null,g&&g.close_count)))),p.default.createElement("ul",{className:"topWrapper_select"},p.default.createElement("li",null,p.default.createElement(l.default,{className:"topWrapperSelect",overlay:this.renderMenu(f&&f.priority,"优先级","priority_id"),trigger:["click"],placement:"bottomCenter"},p.default.createElement("span",null,this.state.priority_ids,p.default.createElement(o.default,{type:"caret-down",className:"ml5"})))),p.default.createElement("li",null,p.default.createElement(l.default,{className:"topWrapperSelect",overlay:this.renderMenu(f&&f.issue_tag,"标记","issue_tag_id"),trigger:["click"],placement:"bottomCenter"},p.default.createElement("span",null,this.state.issue_tag_ids,p.default.createElement(o.default,{type:"caret-down",className:"ml5"})))),p.default.createElement("li",null,p.default.createElement(l.default,{className:"topWrapperSelect",overlay:this.renderMenu(f&&f.assign_user,"审查人员","assigned_to_id"),trigger:["click"],placement:"bottomCenter"},p.default.createElement("span",null,this.state.assigned_to_ids,p.default.createElement(o.default,{type:"caret-down",className:"ml5"})))),p.default.createElement("li",null,p.default.createElement(l.default,{className:"topWrapperSelect",overlay:this.renderMenu(f&&f.issue_version,"里程碑","fixed_version_id"),trigger:["click"],placement:"bottomCenter"},p.default.createElement("span",null,this.state.fixed_version_ids,p.default.createElement(o.default,{type:"caret-down",className:"ml5"})))),p.default.createElement("li",null,p.default.createElement(l.default,{className:"topWrapperSelect",overlay:j,trigger:["click"],placement:"bottomCenter"},p.default.createElement("span",null,this.state.paix,p.default.createElement(o.default,{type:"caret-down",className:"ml5"})))))),p.default.createElement("div",{style:{minHeight:"470px"}},p.default.createElement(r.default,{spinning:v},g&&g.search_count&&g.search_count>0?p.default.createElement("div",null,p.default.createElement(m.default,c({issues:_,search_count:h,page:O.page,limit:O.limit,project_name:g.project_name,project_author_name:g.project_author_name},this.props,this.state,{user_admin_or_developer:g&&g.user_admin_or_developer}))):"",h>O.limit?p.default.createElement("div",{className:"mt30 mb50 edu-txt-center"},p.default.createElement(a.default,{simple:!0,current:O.page,total:h,pageSize:O.limit,onChange:this.ChangePage})):"",g&&g.issues&&0===g.issues.length?p.default.createElement(d.default,{_html:"暂时还没有相关数据!",projectsId:n,owner:i}):"")))}}]),t}(f.Component);t.default=g},js5m:function(e,t,n){},kre1:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,a=function(){function e(e,t){for(var n=0;n0&&e.indexOf("/")>-1?e.replaceAll("/","%2F"):e}n("js5m");var p=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(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,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.onMouseMove=function(e){n.setState({isdisplay:!0,orderid:e})},n.onMouseOut=function(){n.setState({isdisplay:!1})},n.set_issue_tags=function(e){return e&&e.length>0?e.map((function(e,t){return o.default.createElement("span",{className:"issue-tag-show",style:{color:e.color}},e.name)})):"--"},n.state={isdisplay:!1,orderid:""},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),a(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.issues,a=(t.project_name,t.project_author_name),l=t.user_admin_or_developer,u=this.props.match.params,p=u.projectsId,d=u.owner;this.props.current_user;return o.default.createElement("div",null,function(){if(n&&n.length>0)return n.map((function(t,n){var u=t.pull_request_staus;return o.default.createElement("div",{className:"issueItem"},o.default.createElement("div",{className:"flex-1"},o.default.createElement("p",{className:"mb15 df",style:{alignItems:"center"}},o.default.createElement("i",{className:"iconfont icon-hebingqingqiu1 font-14 mr3 i_"+u}),o.default.createElement(s.Link,{to:"/"+d+"/"+p+"/pulls/"+(t.pull_request_number||t.pull_request_id),className:"hide-1 font-15 color-grey-3 fwb lineh-30 mr10",style:{maxWidth:"600px"}},t.name),o.default.createElement(r.default,{className:"pr_tags_"+u},"merged"===u?"已合并":"closed"===u?"已拒绝":"开启的")),o.default.createElement("p",{className:"grid-item font-13"},o.default.createElement(s.Link,{to:"/"+(t&&t.author_login),className:"show-user-link"},o.default.createElement("img",{className:"radius",src:(0,c.getImageUrl)("/"+(t&&t.avatar_url)),alt:"",width:"24",height:"24"})),o.default.createElement(i.AlignCenter,null,o.default.createElement(s.Link,{to:"/"+(t&&t.author_login),className:"show-user-link color-grey-8 ml5"},t&&t.author_name),o.default.createElement("span",{className:"ml15 color-grey-8"},"open"===t.pull_request_staus?"创建于":"merged"===t.pull_request_staus?"合并于":"更新于"),o.default.createElement("span",{className:"color-grey-8"},t.pr_time),o.default.createElement("span",{className:"ml15"},t.pull_request_head&&o.default.createElement(r.default,{className:"pr-branch-tag"},o.default.createElement(s.Link,{to:"/"+(t.is_original?t.fork_project_user:d)+"/"+(t.is_original?t.fork_project_identifier:p)+"/tree/"+f(t.pull_request_head),className:"maxW200px task-hide ver-middle",style:{maxWidth:"200px"}},t.is_original?t.fork_project_user_name:t.author_name,": ",t.pull_request_head)),t.pull_request_base&&o.default.createElement("span",{className:"mr8 ver-middle"},o.default.createElement("i",{className:"iconfont icon-youjiang color-grey-c font-16"})),t.pull_request_base&&o.default.createElement(r.default,{className:"pr-branch-tag"},o.default.createElement(s.Link,{to:"/"+d+"/"+p+"/tree/"+f(t.pull_request_base),className:"maxW200px task-hide ver-middle",style:{maxWidth:"200px"}},a,": ",t.pull_request_base)))))),o.default.createElement("ul",{className:"topWrapper_select no-cursor",onMouseMove:function(){return e.onMouseMove(t.id)},onMouseOut:function(){return e.onMouseOut()}},o.default.createElement("li",null,t.priority),o.default.createElement("li",null,e.set_issue_tags(t.issue_tags)),o.default.createElement("li",null,t.assign_user_name?o.default.createElement(s.Link,{to:"/"+t.assign_user_login,className:"show-user-link"},t.assign_user_name):"--"),o.default.createElement("li",null,t.version||"--"),o.default.createElement("li",null,o.default.createElement("div",{className:"flex1 df",style:{justifyContent:"center"}},t.journals_count?o.default.createElement(s.Link,{className:"mr5 color-grey-8",to:"/"+d+"/"+p+"/pulls/"+t.pull_request_id},o.default.createElement("i",{className:"iconfont icon-huifu1 font-15 mr5 ver-middle"}),t.journals_count):"",l&&0===t.pull_request_status?o.default.createElement("div",{className:"milepostleft",style:{display:e.state.orderid===t.id&&e.state.isdisplay?"flex":"none"}},o.default.createElement("div",{className:"grid-item mr15 color-grey-9"},o.default.createElement(s.Link,{to:"/"+d+"/"+p+"/pulls/"+t.pull_request_id+"/edit",className:"color-grey-9"},o.default.createElement("i",{className:"iconfont icon-bianji3 font-14 mr5"})))):""))))}))}())}}]),t}(l.Component);t.default=p},Phz4:function(e,t,n){},VPG4:function(e,t,n){},VSCt:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=h(n("W9HT")),a=h(n("NUBc")),l=h(n("jsC+")),o=h(n("CtXQ")),s=h(n("BvKs")),i=h(n("5rEg")),c=Object.assign||function(e){for(var t=1;t0&&e.map((function(e,t){return(!e.permission||e.permission&&"Reporter"!==e.permission)&&p.default.createElement(s.default.Item,{key:e.id,onClick:function(t){return n.getOption(t,r,e.name)}},e.name)})))},n.ChangePage=function(e){n.setState({isSpin:!0}),n.state.select_params.page=e,n.getIssueList()},n.searchFunc=function(e){n.setState({search:e,isSpin:!0}),n.state.select_params.search=e,n.state.select_params.page=1,n.getIssueList()},n.openorder=function(e){n.setState({isSpin:!0}),n.setState({status_type:e,issue_tag_ids:"标记",fixed_version_ids:"里程碑",assigned_to_ids:"审查人员",paix:"排序",priority_ids:"优先级"}),n.state.select_params.status_type=e,n.state.select_params.page=1,n.state.select_params.limit=15,n.getIssueList()},n.state={issue_chosen:void 0,data:void 0,issues:void 0,isSpin:!1,search:void 0,author_id:void 0,assigned_to_id:void 0,search_count:void 0,issue_type:void 0,status_type:"1",openselect:1,closeselect:void 0,issue_tag_ids:"标记",fixed_version_ids:"里程碑",assigned_to_ids:"审查人员",paix:"排序",priority_ids:"优先级",select_params:{status_type:"1",assigned_to_id:void 0,fixed_version_id:void 0,priority_id:void 0,order_name:void 0,order_type:void 0,search:void 0,page:1,limit:15}},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),u(t,[{key:"checkOperation",value:function(){var e=this.props.match.params,t=e.projectsId,n=e.owner;this.props.history.push("/"+n+"/"+t+"/compare/master...master")}},{key:"render",value:function(){var e=this,t=this.props.match.params,n=t.projectsId,i=t.owner,u=this.state,f=u.issue_chosen,_=u.issues,h=(u.limit,u.page,u.search_count),g=u.data,v=u.isSpin,E=u.status_type,O=u.select_params,j=p.default.createElement(s.default,{onClick:function(t){return e.getMenu(t)}},p.default.createElement(s.default.Item,{key:"created_on-desc",value:"desc"},"最新创建"),p.default.createElement(s.default.Item,{key:"created_on-asc",value:"asc"},"最早创建"),p.default.createElement(s.default.Item,{key:"updated_on-desc",value:"desc"},"最新更新"),p.default.createElement(s.default.Item,{key:"updated_on-asc",value:"asc"},"最早更新"));return p.default.createElement("div",{className:"main",style:{padding:"0px"}},p.default.createElement("div",{className:"topWrapper",style:{borderBottom:"none",padding:"20px"}},p.default.createElement("div",{className:"target-detail-search"},p.default.createElement(b,{placeholder:"输入关键字搜索合并请求",enterButton:!0,onSearch:this.searchFunc,style:{width:300}})),g&&g.user_admin_or_developer&&p.default.createElement(y.default,c({},this.props,{className:"topWrapper_btn ml10",sureFunc:function(){return e.checkOperation()}}),"+ 新建合并请求")),p.default.createElement("div",{className:"f-wrap-between screenWrap"},p.default.createElement("div",{className:"df"},p.default.createElement("ul",{className:"searchBanner"},p.default.createElement("li",{className:E?"":"active",onClick:function(){return e.openorder(void 0)}},p.default.createElement("label",null,"搜索结果"),p.default.createElement("span",null,g&&g.search_count)),p.default.createElement("li",{className:"1"===E?"active":"",onClick:function(){return e.openorder("1")}},p.default.createElement("i",{className:"iconfont icon-hebingqingqiu1 font-14 mr3 i_open"}),p.default.createElement("label",null,"开启的"),p.default.createElement("span",null,g&&g.open_count)),p.default.createElement("li",{className:"11"===E?"active":"",onClick:function(){return e.openorder("11")}},p.default.createElement("i",{className:"iconfont icon-hebingqingqiu1 font-14 mr3 i_merged"}),p.default.createElement("label",null,"已合并"),p.default.createElement("span",null,g&&g.merged_issues_size)),p.default.createElement("li",{className:"2"===E?"active":"",onClick:function(){return e.openorder("2")}},p.default.createElement("i",{className:"iconfont icon-hebingqingqiu1 font-14 mr3 i_closed"}),p.default.createElement("label",null,"已拒绝"),p.default.createElement("span",null,g&&g.close_count)))),p.default.createElement("ul",{className:"topWrapper_select"},p.default.createElement("li",null,p.default.createElement(l.default,{className:"topWrapperSelect",overlay:this.renderMenu(f&&f.priority,"优先级","priority_id"),trigger:["click"],placement:"bottomCenter"},p.default.createElement("span",null,this.state.priority_ids,p.default.createElement(o.default,{type:"caret-down",className:"ml5"})))),p.default.createElement("li",null,p.default.createElement(l.default,{className:"topWrapperSelect",overlay:this.renderMenu(f&&f.issue_tag,"标记","issue_tag_id"),trigger:["click"],placement:"bottomCenter"},p.default.createElement("span",null,this.state.issue_tag_ids,p.default.createElement(o.default,{type:"caret-down",className:"ml5"})))),p.default.createElement("li",null,p.default.createElement(l.default,{className:"topWrapperSelect",overlay:this.renderMenu(f&&f.assign_user,"审查人员","assigned_to_id"),trigger:["click"],placement:"bottomCenter"},p.default.createElement("span",null,this.state.assigned_to_ids,p.default.createElement(o.default,{type:"caret-down",className:"ml5"})))),p.default.createElement("li",null,p.default.createElement(l.default,{className:"topWrapperSelect",overlay:this.renderMenu(f&&f.issue_version,"里程碑","fixed_version_id"),trigger:["click"],placement:"bottomCenter"},p.default.createElement("span",null,this.state.fixed_version_ids,p.default.createElement(o.default,{type:"caret-down",className:"ml5"})))),p.default.createElement("li",null,p.default.createElement(l.default,{className:"topWrapperSelect",overlay:j,trigger:["click"],placement:"bottomCenter"},p.default.createElement("span",null,this.state.paix,p.default.createElement(o.default,{type:"caret-down",className:"ml5"})))))),p.default.createElement("div",{style:{minHeight:"470px"}},p.default.createElement(r.default,{spinning:v},g&&g.search_count&&g.search_count>0?p.default.createElement("div",null,p.default.createElement(m.default,c({issues:_,search_count:h,page:O.page,limit:O.limit,project_name:g.project_name,project_author_name:g.project_author_name},this.props,this.state,{user_admin_or_developer:g&&g.user_admin_or_developer}))):"",h>O.limit?p.default.createElement("div",{className:"mt30 mb50 edu-txt-center"},p.default.createElement(a.default,{simple:!0,current:O.page,total:h,pageSize:O.limit,onChange:this.ChangePage})):"",g&&g.issues&&0===g.issues.length?p.default.createElement(d.default,{_html:"暂时还没有相关数据!",user_admin_or_member:g.user_admin_or_member,projectsId:n,owner:i}):"")))}}]),t}(f.Component);t.default=g},js5m:function(e,t,n){},kre1:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,a=function(){function e(e,t){for(var n=0;n0&&e.map((function(e,t){return f.default.createElement(i.default.Item,{key:e.id,onClick:function(t){return n.getOption(t,r,e.name)}},e.name)})))},n.ChangePage=function(e){n.setState({page:e,isSpin:!0}),n.getIssueList(e)},n.openorder=function(e){n.setState({status_type:e,issue_tag_id:void 0,author_id:void 0,tracker_id:void 0,done_ratio:void 0,status_id:void 0,assigned_to_id:void 0,issue_tag_ids:"标记",tracker_ids:"类型",author_ids:"发布人",assigned_to_ids:"负责人",status_ids:"状态",done_ratios:"完成度",paix:"排序"},(function(){n.getIssueList(1,void 0,void 0,void 0,void 0,e)}))},n.state={issue_chosen:void 0,data:void 0,issues:void 0,isSpin:!0,author_id:void 0,status_id:void 0,assigned_to_id:void 0,limit:15,page:1,search_count:void 0,issue_type:void 0,status_type:"1",issue_tag_ids:"标记",tracker_ids:"类型",author_ids:"发布人",assigned_to_ids:"负责人",status_ids:"状态",done_ratios:"完成度",paix:"排序"},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),c(t,[{key:"render",value:function(){var e=this,t=this.state,n=t.issue_chosen,c=t.issues,u=t.limit,v=t.page,h=t.search_count,_=t.data,g=t.isSpin,E=t.status_type,O=this.props.match.params,k=O.projectsId,C=O.meilid,w=O.owner,j=this.props,N=j.current_user,S=j.showLoginDialog,P=j.projectDetail,x=f.default.createElement(i.default,{onClick:function(t){return e.getOption(t)}},f.default.createElement(i.default.Item,{key:"created_on",value:"desc"},"最新创建"),f.default.createElement(i.default.Item,{key:"created_on",value:"asc"},"最早创建"),f.default.createElement(i.default.Item,{key:"updated_on",value:"desc"},"最新更新"),f.default.createElement(i.default.Item,{key:"updated_on",value:"asc"},"最早更新"));return f.default.createElement("div",{className:"main",style:{padding:"0px"}},f.default.createElement("div",{className:"miledetail"},f.default.createElement("p",{className:"font-20"},_&&_.name),f.default.createElement(d.FlexAJ,null,f.default.createElement("span",{className:"mt7"},f.default.createElement("span",{className:"mr10"},f.default.createElement("i",{className:"iconfont icon-rili font-14 mr5"}),_&&_.effective_date?f.default.createElement("span",null,_&&_.effective_date):f.default.createElement("span",null,"暂无截止时间")),_&&(_.percent||0===_.percent)?f.default.createElement("span",{className:"font-weight-bold"}," ",_.percent>0?_.percent.toFixed(2):_.percent,"%完成 "):""),f.default.createElement("div",{className:"milepostdiv"},N&&N.login&&P&&P.permission&&"Reporter"!==P.permission?f.default.createElement(p.Link,{to:"/"+w+"/"+k+"/milestones/"+C+"/edit",className:"topWrapper_btn",style:{marginRight:15}},"编辑里程碑"):"",N&&N.login?f.default.createElement(m.default,s({},this.props,{sureFunc:function(){e.props.history.push("/"+w+"/"+k+"/issues/"+C+"/new")},className:"topWrapper_btn"}),"创建易修"):f.default.createElement("a",{className:"topWrapper_btn",onClick:S},"创建易修")))),f.default.createElement(r.default,{spinning:g},f.default.createElement("div",{className:"pl20 pr20"},f.default.createElement("div",{className:"f-wrap-between pt15 pb15 bor-bottom-greyE"},f.default.createElement("ul",{className:"topWrapper_type_infos"},f.default.createElement("li",{className:"1"===E?"active":"",onClick:function(){return e.openorder("1")}},_&&_.open_issues_count,"个开启中"),f.default.createElement("li",{className:"2"===E?"active":"",onClick:function(){return e.openorder("2")}},_&&_.close_issues_count,"个已关闭")),f.default.createElement("ul",{className:"topWrapper_select"},f.default.createElement("li",null,f.default.createElement(o.default,{className:"topWrapperSelect",overlay:this.renderMenu(n&&n.issue_tag,"标记","issue_tag_id"),trigger:["click"],placement:"bottomCenter"},f.default.createElement("span",null,this.state.issue_tag_ids,f.default.createElement(l.default,{type:"caret-down",className:"ml5"})))),f.default.createElement("li",null,f.default.createElement(o.default,{className:"topWrapperSelect",overlay:this.renderMenu(n&&n.assign_user,"发布人","author_id"),trigger:["click"],placement:"bottomCenter"},f.default.createElement("span",null,this.state.author_ids,f.default.createElement(l.default,{type:"caret-down",className:"ml5"})))),f.default.createElement("li",null,f.default.createElement(o.default,{className:"topWrapperSelect",overlay:this.renderMenu(n&&n.assign_user,"负责人","assigned_to_id"),trigger:["click"],placement:"bottomCenter"},f.default.createElement("span",null,this.state.assigned_to_ids,f.default.createElement(l.default,{type:"caret-down",className:"ml5"})))),f.default.createElement("li",null,f.default.createElement(o.default,{className:"topWrapperSelect",overlay:this.renderMenu(n&&n.tracker,"类型","tracker_id"),trigger:["click"],placement:"bottomCenter"},f.default.createElement("span",null,this.state.tracker_ids,f.default.createElement(l.default,{type:"caret-down",className:"ml5"})))),f.default.createElement("li",null,f.default.createElement(o.default,{className:"topWrapperSelect",overlay:this.renderMenu(n&&n.issue_status,"状态","status_id"),trigger:["click"],placement:"bottomCenter"},f.default.createElement("span",null,this.state.status_ids,f.default.createElement(l.default,{type:"caret-down",className:"ml5"})))),f.default.createElement("li",null,f.default.createElement(o.default,{className:"topWrapperSelect",overlay:this.renderMenu(n&&n.done_ratio,"完成度","done_ratio"),trigger:["click"],placement:"bottomCenter"},f.default.createElement("span",null,this.state.done_ratios,f.default.createElement(l.default,{type:"caret-down",className:"ml5"})))),f.default.createElement("li",null,f.default.createElement(o.default,{className:"topWrapperSelect",overlay:x,trigger:["click"],placement:"bottomCenter"},f.default.createElement("span",null,this.state.paix,f.default.createElement(l.default,{type:"caret-down",className:"ml5"})))))),f.default.createElement("div",{className:"setItemStyle"},0===h?f.default.createElement(y.default,{_html:"暂时还没有相关数据!"}):c&&c.length>0&&c.map((function(t,n){return f.default.createElement(b.default,s({key:n,mile:!0,item:t,search_count:h,page:v,limit:u},e.props,e.state,{deletedetail:e.deletedetail}))}))),h>u?f.default.createElement("div",{className:"mt30 pb30 edu-txt-center"},f.default.createElement(a.default,{simple:!0,current:v,total:h,pageSize:u,onChange:this.ChangePage})):"")))}}]),t}(u.Component);t.default=g},"0lcf":function(e,t,n){"use strict";n.r(t);n("SchZ"),n("u3En")},"6JOy":function(e,t,n){},D5tj:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(n("mr32"));t.TagInfo=function(e,t){var n="#e74c3c";n="高"===e?"#e67e22":"正常"===e?"#28be6c":"低"===e?"#1abc9c":"#e74c3c";return a.default.createElement(r.default,{color:n,className:t,style:{height:"25px",lineHeight:"23px"}},e)},n("0lcf");var a=o(n("q1tI"));function o(e){return e&&e.__esModule?e:{default:e}}},GqXi:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=c(n("NJEC")),a=function(){function e(e,t){for(var n=0;n0?e.map((function(e,t){return l.default.createElement("span",{className:"mr10",key:t},e.name)})):"--"},n.deletedetail=function(e){n.props.deletedetail(e)},n.onMouseMove=function(e){n.setState({isdisplay:!0,orderid:e})},n.onMouseOut=function(){n.setState({isdisplay:!1})},n.state={isdisplay:!1,orderid:""},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),a(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.item,a=t.checkbox,o=t.mile,c=t.user_admin_or_member,u=this.props.match.params,f=u.projectsId,p=u.owner,d=this.state,m=d.orderid,y=d.isdisplay,b=this.props.current_user;return n&&l.default.createElement("div",{className:"issueItem"},b&&b.login&&a,l.default.createElement("div",{className:"flex-1"},l.default.createElement("p",{className:"mb10 df",style:{alignItems:"center"}},l.default.createElement(i.Link,{to:"/"+p+"/"+f+"/issues/"+n.id,title:n.name,className:"hide-1 font-16 color-grey-3 lineh-30 mr10",style:{maxWidth:"370px"}},n.name),(0,s.TagInfo)(n.priority,"mr10")),l.default.createElement("p",{className:"color-grey-6 font-12"},l.default.createElement("span",null,n.format_time),l.default.createElement("span",{className:"ml5"},"发布"),n.updated_at===n.format_time?"":l.default.createElement("span",{className:"ml20"},l.default.createElement("span",null,n.updated_at),l.default.createElement("span",{className:"ml5"},"更新")))),l.default.createElement("ul",{className:"topWrapper_select no-cursor",onMouseMove:function(){return e.onMouseMove(n.id)},onMouseOut:function(){return e.onMouseOut()}},l.default.createElement("li",null,this.set_issue_tags(n.issue_tags)),l.default.createElement("li",null,n.author_name?l.default.createElement(i.Link,{to:"/"+n.author_login,className:"show-user-link"},n.author_name):"--"),l.default.createElement("li",null,n.assign_user_name?l.default.createElement(i.Link,{to:"/"+n.assign_user_login,className:"show-user-link"},n.assign_user_name):"--"),l.default.createElement("li",null,n.tracker||"--"),o?"":l.default.createElement("li",null,n.version||"--"),l.default.createElement("li",null,n.issue_status||"--"),l.default.createElement("li",{style:{color:"100%"===n.done_ratio?"#28BD6C":"#F73030"}},n.done_ratio||"--"),l.default.createElement("li",null,l.default.createElement("div",{className:"milepostleft"},l.default.createElement(i.Link,{to:"/"+p+"/"+f+"/issues/"+n.id},l.default.createElement("i",{className:"iconfont icon-pinglun1 mr3 font-16"}),n.journals_count),c?l.default.createElement("div",{style:{display:m===n.id&&y?"flex":"none"}},l.default.createElement("div",{className:"mr8 ml8 color-grey-9"},l.default.createElement(i.Link,{to:"/"+p+"/"+f+"/issues/"+n.id+"/updatedetail",className:"color-grey-9"},l.default.createElement("i",{className:"iconfont icon-bianji3 font-14 mr5"}))),l.default.createElement("div",{className:"color-grey-9"},l.default.createElement(r.default,{placement:"bottom",overlayClassName:m===n.id&&y?"overlayBox":"overlayBox hideOverlay",title:"您确定要删除当前易修吗?",okText:"是",cancelText:"否",onConfirm:function(){return e.deletedetail(n.id)}},l.default.createElement("i",{className:"iconfont icon-yiguanbi1 font-14"})))):""))))}}]),t}(o.Component);t.default=u},NJEC:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),a=n("VCL8"),o=n("3S7+"),l=n("CtXQ"),i=n("2/Rp"),s=n("YMnH"),c=n("ZvpZ"),u=n("H84U");function f(e){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function p(){return(p=Object.assign||function(e){for(var t=1;t0&&e.map((function(e,t){return f.default.createElement(i.default.Item,{key:e.id,onClick:function(t){return n.getOption(t,r,e.name)}},e.name)})))},n.ChangePage=function(e){n.setState({page:e,isSpin:!0}),n.getIssueList(e)},n.openorder=function(e){n.setState({status_type:e,issue_tag_id:void 0,author_id:void 0,tracker_id:void 0,done_ratio:void 0,status_id:void 0,assigned_to_id:void 0,issue_tag_ids:"标记",tracker_ids:"类型",author_ids:"发布人",assigned_to_ids:"负责人",status_ids:"状态",done_ratios:"完成度",paix:"排序"},(function(){n.getIssueList(1,void 0,void 0,void 0,void 0,e)}))},n.state={issue_chosen:void 0,data:void 0,issues:void 0,isSpin:!0,author_id:void 0,status_id:void 0,assigned_to_id:void 0,limit:15,page:1,search_count:void 0,issue_type:void 0,status_type:"1",issue_tag_ids:"标记",tracker_ids:"类型",author_ids:"发布人",assigned_to_ids:"负责人",status_ids:"状态",done_ratios:"完成度",paix:"排序"},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),c(t,[{key:"render",value:function(){var e=this,t=this.state,n=t.issue_chosen,c=t.issues,u=t.limit,v=t.page,h=t.search_count,_=t.data,g=t.isSpin,E=t.status_type,O=this.props.match.params,k=O.projectsId,C=O.meilid,w=O.owner,j=this.props,N=j.current_user,S=j.showLoginDialog,P=j.projectDetail,x=f.default.createElement(i.default,{onClick:function(t){return e.getOption(t)}},f.default.createElement(i.default.Item,{key:"created_on",value:"desc"},"最新创建"),f.default.createElement(i.default.Item,{key:"created_on",value:"asc"},"最早创建"),f.default.createElement(i.default.Item,{key:"updated_on",value:"desc"},"最新更新"),f.default.createElement(i.default.Item,{key:"updated_on",value:"asc"},"最早更新"));return f.default.createElement("div",{className:"main",style:{padding:"0px"}},f.default.createElement("div",{className:"miledetail"},f.default.createElement("p",{className:"font-20"},_&&_.name),f.default.createElement(d.FlexAJ,null,f.default.createElement("span",{className:"mt7"},f.default.createElement("span",{className:"mr10"},f.default.createElement("i",{className:"iconfont icon-rili font-14 mr5"}),_&&_.effective_date?f.default.createElement("span",null,_&&_.effective_date):f.default.createElement("span",null,"暂无截止时间")),_&&(_.percent||0===_.percent)?f.default.createElement("span",{className:"font-weight-bold"}," ",_.percent>0?_.percent.toFixed(2):_.percent,"%完成 "):""),f.default.createElement("div",{className:"milepostdiv"},N&&N.login&&P&&P.permission&&"Reporter"!==P.permission?f.default.createElement(p.Link,{to:"/"+w+"/"+k+"/milestones/"+C+"/edit",className:"topWrapper_btn",style:{marginRight:15}},"编辑里程碑"):"",N&&N.login?f.default.createElement(m.default,s({},this.props,{sureFunc:function(){e.props.history.push("/"+w+"/"+k+"/issues/"+C+"/new")},className:"topWrapper_btn"}),"创建易修"):f.default.createElement("a",{className:"topWrapper_btn",onClick:S},"创建易修")))),f.default.createElement(r.default,{spinning:g},f.default.createElement("div",{className:"pl20 pr20"},f.default.createElement("div",{className:"f-wrap-between pt15 pb15 bor-bottom-greyE"},f.default.createElement("ul",{className:"topWrapper_type_infos"},f.default.createElement("li",{className:"1"===E?"active":"",onClick:function(){return e.openorder("1")}},_&&_.open_issues_count,"个开启中"),f.default.createElement("li",{className:"2"===E?"active":"",onClick:function(){return e.openorder("2")}},_&&_.close_issues_count,"个已关闭")),f.default.createElement("ul",{className:"topWrapper_select"},f.default.createElement("li",null,f.default.createElement(o.default,{className:"topWrapperSelect",overlay:this.renderMenu(n&&n.issue_tag,"标记","issue_tag_id"),trigger:["click"],placement:"bottomCenter"},f.default.createElement("span",null,this.state.issue_tag_ids,f.default.createElement(l.default,{type:"caret-down",className:"ml5"})))),f.default.createElement("li",null,f.default.createElement(o.default,{className:"topWrapperSelect",overlay:this.renderMenu(n&&n.assign_user,"发布人","author_id"),trigger:["click"],placement:"bottomCenter"},f.default.createElement("span",null,this.state.author_ids,f.default.createElement(l.default,{type:"caret-down",className:"ml5"})))),f.default.createElement("li",null,f.default.createElement(o.default,{className:"topWrapperSelect",overlay:this.renderMenu(n&&n.assign_user,"负责人","assigned_to_id"),trigger:["click"],placement:"bottomCenter"},f.default.createElement("span",null,this.state.assigned_to_ids,f.default.createElement(l.default,{type:"caret-down",className:"ml5"})))),f.default.createElement("li",null,f.default.createElement(o.default,{className:"topWrapperSelect",overlay:this.renderMenu(n&&n.tracker,"类型","tracker_id"),trigger:["click"],placement:"bottomCenter"},f.default.createElement("span",null,this.state.tracker_ids,f.default.createElement(l.default,{type:"caret-down",className:"ml5"})))),f.default.createElement("li",null,f.default.createElement(o.default,{className:"topWrapperSelect",overlay:this.renderMenu(n&&n.issue_status,"状态","status_id"),trigger:["click"],placement:"bottomCenter"},f.default.createElement("span",null,this.state.status_ids,f.default.createElement(l.default,{type:"caret-down",className:"ml5"})))),f.default.createElement("li",null,f.default.createElement(o.default,{className:"topWrapperSelect",overlay:this.renderMenu(n&&n.done_ratio,"完成度","done_ratio"),trigger:["click"],placement:"bottomCenter"},f.default.createElement("span",null,this.state.done_ratios,f.default.createElement(l.default,{type:"caret-down",className:"ml5"})))),f.default.createElement("li",null,f.default.createElement(o.default,{className:"topWrapperSelect",overlay:x,trigger:["click"],placement:"bottomCenter"},f.default.createElement("span",null,this.state.paix,f.default.createElement(l.default,{type:"caret-down",className:"ml5"})))))),f.default.createElement("div",{className:"setItemStyle"},0===h?f.default.createElement(y.default,{_html:"暂时还没有相关数据!"}):c&&c.length>0&&c.map((function(t,n){return f.default.createElement(b.default,s({key:n,mile:!0,item:t,search_count:h,page:v,limit:u},e.props,e.state,{deletedetail:e.deletedetail}))}))),h>u?f.default.createElement("div",{className:"mt30 pb30 edu-txt-center"},f.default.createElement(a.default,{simple:!0,current:v,total:h,pageSize:u,onChange:this.ChangePage})):"")))}}]),t}(u.Component);t.default=g},"0lcf":function(e,t,n){"use strict";n.r(t);n("SchZ"),n("u3En")},"6JOy":function(e,t,n){},D5tj:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(n("mr32"));t.TagInfo=function(e,t){var n="#e74c3c";n="高"===e?"#e67e22":"正常"===e?"#28be6c":"低"===e?"#1abc9c":"#e74c3c";return a.default.createElement(r.default,{color:n,className:t,style:{height:"25px",lineHeight:"23px"}},e)},n("0lcf");var a=o(n("q1tI"));function o(e){return e&&e.__esModule?e:{default:e}}},GqXi:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=c(n("NJEC")),a=function(){function e(e,t){for(var n=0;n0?e.map((function(e,t){return l.default.createElement("span",{className:"mr10",key:t},e.name)})):"--"},n.deletedetail=function(e){n.props.deletedetail(e)},n.onMouseMove=function(e){n.setState({isdisplay:!0,orderid:e})},n.onMouseOut=function(){n.setState({isdisplay:!1})},n.state={isdisplay:!1,orderid:""},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),a(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.item,a=t.checkbox,o=t.mile,c=t.user_admin_or_member,u=this.props.match.params,f=u.projectsId,p=u.owner,d=this.state,m=d.orderid,y=d.isdisplay,b=this.props.current_user;return n&&l.default.createElement("div",{className:"issueItem"},b&&b.login&&c&&a,l.default.createElement("div",{className:"flex-1"},l.default.createElement("p",{className:"mb10 df",style:{alignItems:"center"}},l.default.createElement(i.Link,{to:"/"+p+"/"+f+"/issues/"+n.id,title:n.name,className:"hide-1 font-16 color-grey-3 lineh-30 mr10",style:{maxWidth:"370px"}},n.name),(0,s.TagInfo)(n.priority,"mr10")),l.default.createElement("p",{className:"color-grey-6 font-12"},l.default.createElement("span",null,n.format_time),l.default.createElement("span",{className:"ml5"},"发布"),n.updated_at===n.format_time?"":l.default.createElement("span",{className:"ml20"},l.default.createElement("span",null,n.updated_at),l.default.createElement("span",{className:"ml5"},"更新")))),l.default.createElement("ul",{className:"topWrapper_select no-cursor",onMouseMove:function(){return e.onMouseMove(n.id)},onMouseOut:function(){return e.onMouseOut()}},l.default.createElement("li",null,this.set_issue_tags(n.issue_tags)),l.default.createElement("li",null,n.author_name?l.default.createElement(i.Link,{to:"/"+n.author_login,className:"show-user-link"},n.author_name):"--"),l.default.createElement("li",null,n.assign_user_name?l.default.createElement(i.Link,{to:"/"+n.assign_user_login,className:"show-user-link"},n.assign_user_name):"--"),l.default.createElement("li",null,n.tracker||"--"),o?"":l.default.createElement("li",null,n.version||"--"),l.default.createElement("li",null,n.issue_status||"--"),l.default.createElement("li",{style:{color:"100%"===n.done_ratio?"#28BD6C":"#F73030"}},n.done_ratio||"--"),l.default.createElement("li",null,l.default.createElement("div",{className:"milepostleft"},l.default.createElement(i.Link,{to:"/"+p+"/"+f+"/issues/"+n.id},l.default.createElement("i",{className:"iconfont icon-pinglun1 mr3 font-16"}),n.journals_count),c?l.default.createElement("div",{style:{display:m===n.id&&y?"flex":"none"}},l.default.createElement("div",{className:"mr8 ml8 color-grey-9"},l.default.createElement(i.Link,{to:"/"+p+"/"+f+"/issues/"+n.id+"/updatedetail",className:"color-grey-9"},l.default.createElement("i",{className:"iconfont icon-bianji3 font-14 mr5"}))),l.default.createElement("div",{className:"color-grey-9"},l.default.createElement(r.default,{placement:"bottom",overlayClassName:m===n.id&&y?"overlayBox":"overlayBox hideOverlay",title:"您确定要删除当前易修吗?",okText:"是",cancelText:"否",onConfirm:function(){return e.deletedetail(n.id)}},l.default.createElement("i",{className:"iconfont icon-yiguanbi1 font-14"})))):""))))}}]),t}(o.Component);t.default=u},NJEC:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),a=n("VCL8"),o=n("3S7+"),l=n("CtXQ"),i=n("2/Rp"),s=n("YMnH"),c=n("ZvpZ"),u=n("H84U");function f(e){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function p(){return(p=Object.assign||function(e){for(var t=1;t0?e.map((function(e,t){return r.default.createElement("span",{className:"mr10",key:t},e.name)})):"--"},a.deletedetail=function(e){a.props.deletedetail(e)},a.onMouseMove=function(e){a.setState({isdisplay:!0,orderid:e})},a.onMouseOut=function(){a.setState({isdisplay:!1})},a.state={isdisplay:!1,orderid:""},a}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),l(t,[{key:"render",value:function(){var e=this,t=this.props,a=t.item,l=t.checkbox,n=t.mile,o=t.user_admin_or_member,c=this.props.match.params,d=c.projectsId,p=c.owner,m=this.state,f=m.orderid,_=m.isdisplay,h=this.props.current_user;return a&&r.default.createElement("div",{className:"issueItem"},h&&h.login&&o&&l,r.default.createElement("div",{className:"flex-1"},r.default.createElement("p",{className:"mb10 df",style:{alignItems:"center"}},r.default.createElement(i.Link,{to:"/"+p+"/"+d+"/issues/"+a.id,title:a.name,className:"hide-1 font-16 color-grey-3 lineh-30 mr10",style:{maxWidth:"370px"}},a.name),(0,u.TagInfo)(a.priority,"mr10")),r.default.createElement("p",{className:"color-grey-6 font-12"},r.default.createElement("span",null,a.format_time),r.default.createElement("span",{className:"ml5"},"发布"),a.updated_at===a.format_time?"":r.default.createElement("span",{className:"ml20"},r.default.createElement("span",null,a.updated_at),r.default.createElement("span",{className:"ml5"},"更新")))),r.default.createElement("ul",{className:"topWrapper_select no-cursor",onMouseMove:function(){return e.onMouseMove(a.id)},onMouseOut:function(){return e.onMouseOut()}},r.default.createElement("li",null,this.set_issue_tags(a.issue_tags)),r.default.createElement("li",null,a.author_name?r.default.createElement(i.Link,{to:"/"+a.author_login,className:"show-user-link"},a.author_name):"--"),r.default.createElement("li",null,a.assign_user_name?r.default.createElement(i.Link,{to:"/"+a.assign_user_login,className:"show-user-link"},a.assign_user_name):"--"),r.default.createElement("li",null,a.tracker||"--"),n?"":r.default.createElement("li",null,a.version||"--"),r.default.createElement("li",null,a.issue_status||"--"),r.default.createElement("li",{style:{color:"100%"===a.done_ratio?"#28BD6C":"#F73030"}},a.done_ratio||"--"),r.default.createElement("li",null,r.default.createElement("div",{className:"milepostleft"},r.default.createElement(i.Link,{to:"/"+p+"/"+d+"/issues/"+a.id},r.default.createElement("i",{className:"iconfont icon-pinglun1 mr3 font-16"}),a.journals_count),o?r.default.createElement("div",{style:{display:f===a.id&&_?"flex":"none"}},r.default.createElement("div",{className:"mr8 ml8 color-grey-9"},r.default.createElement(i.Link,{to:"/"+p+"/"+d+"/issues/"+a.id+"/updatedetail",className:"color-grey-9"},r.default.createElement("i",{className:"iconfont icon-bianji3 font-14 mr5"}))),r.default.createElement("div",{className:"color-grey-9"},r.default.createElement(s.default,{placement:"bottom",overlayClassName:f===a.id&&_?"overlayBox":"overlayBox hideOverlay",title:"您确定要删除当前易修吗?",okText:"是",cancelText:"否",onConfirm:function(){return e.deletedetail(a.id)}},r.default.createElement("i",{className:"iconfont icon-yiguanbi1 font-14"})))):""))))}}]),t}(n.Component);t.default=c},Phz4:function(e,t,a){},WT1Z:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=E(a("W9HT")),l=E(a("NUBc")),n=E(a("jsC+")),r=E(a("CtXQ")),i=E(a("kaz8")),u=E(a("+eQT")),o=E(a("BvKs")),c=E(a("5rEg")),d=Object.assign||function(e){for(var t=1;t0&&t.map((function(e){return e.id}))})}})).catch((function(e){console.log(e)}))},a.getMenu=function(e,t,s){a.setState({isSpin:!0});var l=e.key.split("-");"created_on"===l[0]?("desc"===e.item.props.value?a.setState({paix:"最新创建"}):a.setState({paix:"最早创建"}),a.state.select_params.order_name=e.key):"updated_on"===l[0]&&("desc"===e.item.props.value?a.setState({paix:"最新更新"}):a.setState({paix:"最早更新"})),a.state.select_params.order_name=l[0],a.state.select_params.order_type=e.item.props.value,a.state.select_params.page=1;var n=a.state.status_type;a.getIssueList(n)},a.getOption=function(e,t,s,l){var n,r=a.props.current_user,i="all"===e.key?void 0:e.key,u=a.state.author_id,o=a.state.assigned_to_id,c=a.state.select_params;if(c[""+t]=i,c.page=1,r&&(u=c.author_id&&c.author_id===r.user_id?r.user_id:void 0,o=c.assigned_to_id&&c.assigned_to_id===r.user_id?r.user_id:void 0),a.setState((y(n={},t+"s",s),y(n,"select_params",c),y(n,"author_id",u),y(n,"assigned_to_id",o),n)),!l){var d=a.state.status_type;a.getIssueList(d)}},a.renderMenu=function(e,t,s,l){return f.default.createElement(o.default,{className:"orderCondition"},f.default.createElement(o.default.Item,{key:"all",onClick:function(e){return a.getOption(e,s,t,l)}},t),e&&e.length>0&&e.map((function(e,t){return f.default.createElement(o.default.Item,{key:e.id,onClick:function(t){return a.getOption(t,s,e.name,l)},style:{textAlign:e.color?"left":"center",padding:"6px 15px"}},e.color&&f.default.createElement("span",{className:"tagColor",style:{backgroundColor:""+e.color}}),e.name)})))},a.ChangePage=function(e){window.scrollTo(0,0),a.setState({isSpin:!0,checkedValue:[],all:!1});var t=a.state.status_type;a.state.select_params.page=e,a.getIssueList(t)},a.searchFunc=function(e){a.setState({search:e,isSpin:!0,checkedValue:[],all:void 0});var t=a.state.status_type;a.state.select_params.search=e,a.state.select_params.page=1,a.getIssueList(t)},a.openorder=function(e){a.setState({author_id:void 0,assigned_to_id:void 0,status_type:e,issue_tag_ids:"标记",tracker_ids:"类型",author_ids:"发布人",assigned_to_ids:"负责人",status_ids:"状态",done_ratios:"完成度",fixed_version_ids:"里程碑",paix:"排序",checkedValue:[],all:void 0}),a.state.select_params.page=1,a.state.select_params.limit=15,a.getIssueList(e)},a.ChangeAssign=function(e){var t=a.props.current_user;if(a.setState({isSpin:!0}),e){if(!t)return void a.setState({isSpin:!1});1===e?(a.setState({assigned_to_ids:t.username,assigned_to_id:t.user_id,author_id:void 0,author_ids:"发布人"}),a.state.select_params.author_id=void 0,a.state.select_params.assigned_to_id=t.user_id):(a.setState({author_ids:t.username,author_id:t.user_id,assigned_to_id:void 0,assigned_to_ids:"负责人"}),a.state.select_params.assigned_to_id=void 0,a.state.select_params.author_id=t.user_id)}else a.setState({author_ids:"发布人",author_id:void 0,assigned_to_ids:"负责人",assigned_to_id:void 0}),a.state.select_params.assigned_to_id=void 0,a.state.select_params.author_id=void 0;var s=a.state.status_type;a.getIssueList(s)},a.deletedetail=function(e){var t=a.props.match.params,s=t.projectsId,l="/"+t.owner+"/"+s+"/issues/"+e+".json";v.default.delete(l,{data:{project_id:s,id:e}}).then((function(e){if(e){var t=a.state.status_type;a.getIssueList(t);var s=a.props.getDetail;s&&s()}})).catch((function(e){console.log(e)}))},a.createIssue=function(){var e=a.state.data,t=a.props.match.params,s=t.projectsId,l=t.owner;e&&e.user_admin_or_member?a.props.history.push("/"+l+"/"+s+"/issues/new","_blank"):a.props.showLoginDialog("/"+l+"/"+s+"/issues/new")},a.renderNew=function(){return f.default.createElement("a",{className:"topWrapper_btn ml10",onClick:a.createIssue},"+ 创建易修")},a.changeBeginTime=function(e,t){var s=a.state.status_type;a.setState({begin:t}),a.getIssueList(s,t,a.state.end)},a.changeEndTime=function(e,t){var s=a.state.status_type;a.setState({end:t}),a.getIssueList(s,a.state.begin,t)},a.checkIssues=function(e){a.setState({checkedValue:e});var t=a.state.allValue;a.setState({all:t&&e&&e.length===t.length}),0===e.length&&a.setState({update_author_ids:"更换负责人",update_fixed_version_ids:"更换里程碑",update_status_ids:"修改状态",select_params:{update_author_id:void 0,update_fixed_version_id:void 0,update_status_id:void 0}})},a.changeAll=function(e){if(e.target.checked){var t=a.state.allValue;a.setState({checkedValue:t})}else a.setState({checkedValue:[]});a.setState({all:e.target.checked})},a.updateIssues=function(){var e=a.state,t=e.checkedValue,s=e.select_params,l=a.props.match.params,n=l.projectsId,r=l.owner;if(s.update_author_id||s.update_fixed_version_id||s.update_status_id){a.setState({isSpin:!0});var i="/"+r+"/"+n+"/issues/series_update.json";v.default.post(i,{ids:t,assigned_to_id:s.update_author_id,fixed_version_id:s.update_fixed_version_id,status_id:s.update_status_id}).then((function(e){if(e){var t=a.props.getDetail;s&&s.update_status_id&&t&&t(),a.props.showNotification("修改成功!"),a.successFunc()}})).catch((function(e){console.log(e)}))}else a.resetSelectParams()},a.successFunc=function(){a.resetSelectParams();var e=a.state.status_type;a.getIssueList(e)},a.resetSelectParams=function(){var e=a.state.select_params;e.update_author_id=void 0,e.update_fixed_version_id=void 0,e.update_status_id=void 0,a.setState({all:!1,checkedValue:[],update_author_ids:"更换负责人",update_fixed_version_ids:"更换里程碑",update_status_ids:"修改状态",select_params:e})},a.deleteIssues=function(){a.props.confirm({content:"是否确认删除所有选中的任务?",onOk:function(){a.setState({isSpin:!0});var e=a.state.checkedValue,t=a.props.match.params,s=t.projectsId,l="/"+t.owner+"/"+s+"/issues/clean.json";v.default.post(l,{ids:e}).then((function(e){if(e){var t=a.props.getDetail;t&&t(),a.props.showNotification("删除成功!"),a.successFunc()}})).catch((function(e){console.log(e)}))}})},a.menu=function(){return f.default.createElement(o.default,{onClick:function(e){return a.getMenu(e)}},f.default.createElement(o.default.Item,{key:"created_on-desc",value:"desc"},"最新创建"),f.default.createElement(o.default.Item,{key:"created_on-asc",value:"asc"},"最早创建"),f.default.createElement(o.default.Item,{key:"updated_on-desc",value:"desc"},"最新更新"),f.default.createElement(o.default.Item,{key:"updated_on-asc",value:"asc"},"最早更新"))},a.state={issue_chosen:void 0,data:void 0,issues:void 0,isSpin:!1,search:void 0,author_id:void 0,assigned_to_id:void 0,search_count:void 0,issue_type:void 0,status_type:"1",issue_tag_ids:"标记",tracker_ids:"类型",author_ids:"发布人",assigned_to_ids:"负责人",fixed_version_ids:"里程碑",status_ids:"状态",done_ratios:"完成度",paix:"排序",update_author_ids:"更换负责人",update_fixed_version_ids:"更换里程碑",update_status_ids:"修改状态",begin:"",end:"",checkedValue:[],allValue:[],all:!1,select_params:{assigned_to_id:void 0,author_id:void 0,issue_tag_id:void 0,tracker_id:void 0,done_ratio:void 0,status_id:void 0,fixed_version_id:void 0,order_name:void 0,order_type:void 0,search:void 0,update_author_id:void 0,update_fixed_version_id:void 0,update_status_id:void 0,page:1,limit:15}},a}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),p(t,[{key:"render",value:function(){var e=this,t=this.props.current_user,a=this.state,o=a.issue_chosen,c=a.issues,p=a.search_count,m=a.data,v=a.author_id,E=a.assigned_to_id,y=a.isSpin,k=a.status_type,N=a.select_params,S=a.begin,x=a.end,w=a.checkedValue,C=a.all;return f.default.createElement("div",{className:"main",style:{padding:"0px"}},f.default.createElement("div",{style:{padding:"10px 20px 0px 20px"}},f.default.createElement("div",{className:"topWrapper",style:{paddingTop:"10px"}},f.default.createElement("ul",{className:"topWrapper_type"},f.default.createElement("li",null,f.default.createElement("label",null,"所有:"),f.default.createElement("span",{className:k?"":"active",onClick:function(){return e.openorder()}},m&&m.all_count)),f.default.createElement("li",null,f.default.createElement("label",null,"开启中:"),f.default.createElement("span",{className:"1"===k?"active":"",onClick:function(){return e.openorder("1")}},m&&m.open_count)),f.default.createElement("li",null,f.default.createElement("label",null,"已关闭:"),f.default.createElement("span",{className:"2"===k?"active":"",onClick:function(){return e.openorder("2")}},m&&m.close_count))),this.renderNew()),f.default.createElement("div",{className:"topWrapper",style:{borderBottom:"none"}},f.default.createElement("div",{className:"target-detail-search"},f.default.createElement(b,{placeholder:"输入关键字搜索易修",enterButton:!0,onSearch:this.searchFunc,style:{width:300}})),f.default.createElement("div",null,f.default.createElement(u.default,{value:S?(0,_.default)(S,"YYYY-MM-DD"):"",style:{marginRight:"20px"},placeholder:"请选择开始时间",onChange:this.changeBeginTime}),f.default.createElement(u.default,{value:x?(0,_.default)(x,"YYYY-MM-DD"):"",placeholder:"请选择结束时间",onChange:this.changeEndTime})))),f.default.createElement(s.default,{spinning:y},f.default.createElement("div",{className:"f-wrap-between screenWrap"},f.default.createElement("div",{className:"df"},t&&t.login&&m&&m.user_admin_or_member?f.default.createElement(i.default,{value:"0",style:{lineHeight:"50px",marginRight:"15px"},checked:C,onChange:this.changeAll}):"",w&&w.length>0?f.default.createElement("span",{style:{lineHeight:"50px"}},"选中",w.length,"个issue"):f.default.createElement("ul",{className:"searchBanner"},f.default.createElement("li",{className:v||E?"":"active",onClick:function(){return e.ChangeAssign()}},f.default.createElement("label",null,"搜索结果"),f.default.createElement("span",null,m&&m.search_count)),f.default.createElement("li",{style:{display:t&&""===t.login?"none":"flex"},className:E?"active":"",onClick:function(){return e.ChangeAssign(1)}},f.default.createElement("label",null,"指派给我"),f.default.createElement("span",null,m&&m.assign_me_count)),f.default.createElement("li",{style:{display:t&&""===t.login?"none":"flex"},className:v?"active":"",onClick:function(){return e.ChangeAssign(2)}},f.default.createElement("label",null,"我的发布"),f.default.createElement("span",null,m&&m.my_published_count)))),w&&w.length>0?f.default.createElement("ul",{className:"topWrapper_select wrapperStyle"},f.default.createElement("li",{className:"mr20"},f.default.createElement(n.default,{className:"topWrapperSelect",overlay:this.renderMenu(o&&o.assign_user,"更换负责人","update_author_id",!0),trigger:["click"],placement:"bottomCenter"},f.default.createElement("span",null,this.state.update_author_ids,f.default.createElement(r.default,{type:"caret-down",className:"ml5"})))),f.default.createElement("li",{className:"mr20"},f.default.createElement(n.default,{className:"topWrapperSelect wrapperStyle",overlay:this.renderMenu(o&&o.issue_version,"更换里程碑","update_fixed_version_id",!0),trigger:["click"],placement:"bottomCenter"},f.default.createElement("span",null,this.state.update_fixed_version_ids,f.default.createElement(r.default,{type:"caret-down",className:"ml5"})))),f.default.createElement("li",{className:"mr20"},f.default.createElement(n.default,{className:"topWrapperSelect wrapperStyle",overlay:this.renderMenu(o&&o.issue_status,"修改状态","update_status_id",!0),trigger:["click"],placement:"bottomCenter"},f.default.createElement("span",null,this.state.update_status_ids,f.default.createElement(r.default,{type:"caret-down",className:"ml5"})))),f.default.createElement("a",{onClick:this.updateIssues,className:"updateBtn blue mr20"},"确定"),f.default.createElement("a",{onClick:this.deleteIssues,className:"updateBtn red mr20"},"删除")):f.default.createElement("ul",{className:"topWrapper_select"},f.default.createElement("li",null,f.default.createElement(n.default,{className:"topWrapperSelect",overlay:this.renderMenu(o&&o.issue_tag,"标记","issue_tag_id"),trigger:["click"],placement:"bottomCenter"},f.default.createElement("span",null,this.state.issue_tag_ids,f.default.createElement(r.default,{type:"caret-down",className:"ml5"})))),f.default.createElement("li",null,f.default.createElement(n.default,{className:"topWrapperSelect",overlay:this.renderMenu(o&&o.assign_user,"发布人","author_id"),trigger:["click"],placement:"bottomCenter"},f.default.createElement("span",null,this.state.author_ids,f.default.createElement(r.default,{type:"caret-down",className:"ml5"})))),f.default.createElement("li",null,f.default.createElement(n.default,{className:"topWrapperSelect",overlay:this.renderMenu(o&&o.assign_user,"负责人","assigned_to_id"),trigger:["click"],placement:"bottomCenter"},f.default.createElement("span",null,this.state.assigned_to_ids,f.default.createElement(r.default,{type:"caret-down",className:"ml5"})))),f.default.createElement("li",null,f.default.createElement(n.default,{className:"topWrapperSelect",overlay:this.renderMenu(o&&o.tracker,"类型","tracker_id"),trigger:["click"],placement:"bottomCenter"},f.default.createElement("span",null,this.state.tracker_ids,f.default.createElement(r.default,{type:"caret-down",className:"ml5"})))),f.default.createElement("li",null,f.default.createElement(n.default,{className:"topWrapperSelect",overlay:this.renderMenu(o&&o.issue_version,"里程碑","fixed_version_id"),trigger:["click"],placement:"bottomCenter"},f.default.createElement("span",null,this.state.fixed_version_ids,f.default.createElement(r.default,{type:"caret-down",className:"ml5"})))),f.default.createElement("li",null,f.default.createElement(n.default,{className:"topWrapperSelect",overlay:this.renderMenu(o&&o.issue_status,"状态","status_id"),trigger:["click"],placement:"bottomCenter"},f.default.createElement("span",null,this.state.status_ids,f.default.createElement(r.default,{type:"caret-down",className:"ml5"})))),f.default.createElement("li",null,f.default.createElement(n.default,{className:"topWrapperSelect",overlay:this.renderMenu(o&&o.done_ratio,"完成度","done_ratio"),trigger:["click"],placement:"bottomCenter"},f.default.createElement("span",null,this.state.done_ratios,f.default.createElement(r.default,{type:"caret-down",className:"ml5"})))),f.default.createElement("li",null,f.default.createElement(n.default,{className:"topWrapperSelect",overlay:this.menu(),trigger:["click"],placement:"bottomCenter"},f.default.createElement("span",null,this.state.paix,f.default.createElement(r.default,{type:"caret-down",className:"ml5"})))))),0===p?f.default.createElement(h.default,{_html:"暂时还没有相关数据!"}):f.default.createElement("div",{style:{minHeight:"500px"}},f.default.createElement(i.default.Group,{name:"issues",onChange:this.checkIssues,value:w,style:{width:"100%"}},c&&c.length>0&&c.map((function(a,s){return f.default.createElement(g.default,d({key:s,item:a,checkbox:t&&m&&m.user_admin_or_member?f.default.createElement(i.default,{value:a.id,key:a.id,style:{margin:"4px 15px 0px 0px"}}):"",search_count:p,page:N.page,limit:N.limit},e.props,e.state,{deletedetail:e.deletedetail,user_admin_or_member:m&&m.user_admin_or_member}))})))),p>N.limit?f.default.createElement("div",{className:"mt30 mb30 edu-txt-center"},f.default.createElement(l.default,{simple:!0,defaultCurrent:N.page,total:p,pageSize:N.limit,onChange:this.ChangePage})):""))}}]),t}(m.Component);t.default=k}}]); \ No newline at end of file diff --git a/static/js/92.486d7793.chunk.js b/static/js/92.486d7793.chunk.js new file mode 100644 index 000000000..f637f09b6 --- /dev/null +++ b/static/js/92.486d7793.chunk.js @@ -0,0 +1 @@ +(this.webpackJsonp=this.webpackJsonp||[]).push([[92],{"6JOy":function(e,t,a){},D5tj:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=n(a("mr32"));t.TagInfo=function(e,t){var a="#e74c3c";a="高"===e?"#e67e22":"正常"===e?"#28be6c":"低"===e?"#1abc9c":"#e74c3c";return l.default.createElement(s.default,{color:a,className:t,style:{height:"25px",lineHeight:"23px"}},e)},a("0lcf");var l=n(a("q1tI"));function n(e){return e&&e.__esModule?e:{default:e}}},GqXi:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=o(a("NJEC")),l=function(){function e(e,t){for(var a=0;a0?e.map((function(e,t){return r.default.createElement("span",{className:"mr10",key:t},e.name)})):"--"},a.deletedetail=function(e){a.props.deletedetail(e)},a.onMouseMove=function(e){a.setState({isdisplay:!0,orderid:e})},a.onMouseOut=function(){a.setState({isdisplay:!1})},a.state={isdisplay:!1,orderid:""},a}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),l(t,[{key:"render",value:function(){var e=this,t=this.props,a=t.item,l=t.checkbox,n=t.mile,o=t.user_admin_or_member,c=this.props.match.params,d=c.projectsId,p=c.owner,m=this.state,f=m.orderid,_=m.isdisplay,h=this.props.current_user;return a&&r.default.createElement("div",{className:"issueItem"},h&&h.login&&l,r.default.createElement("div",{className:"flex-1"},r.default.createElement("p",{className:"mb10 df",style:{alignItems:"center"}},r.default.createElement(i.Link,{to:"/"+p+"/"+d+"/issues/"+a.id,title:a.name,className:"hide-1 font-16 color-grey-3 lineh-30 mr10",style:{maxWidth:"370px"}},a.name),(0,u.TagInfo)(a.priority,"mr10")),r.default.createElement("p",{className:"color-grey-6 font-12"},r.default.createElement("span",null,a.format_time),r.default.createElement("span",{className:"ml5"},"发布"),a.updated_at===a.format_time?"":r.default.createElement("span",{className:"ml20"},r.default.createElement("span",null,a.updated_at),r.default.createElement("span",{className:"ml5"},"更新")))),r.default.createElement("ul",{className:"topWrapper_select no-cursor",onMouseMove:function(){return e.onMouseMove(a.id)},onMouseOut:function(){return e.onMouseOut()}},r.default.createElement("li",null,this.set_issue_tags(a.issue_tags)),r.default.createElement("li",null,a.author_name?r.default.createElement(i.Link,{to:"/"+a.author_login,className:"show-user-link"},a.author_name):"--"),r.default.createElement("li",null,a.assign_user_name?r.default.createElement(i.Link,{to:"/"+a.assign_user_login,className:"show-user-link"},a.assign_user_name):"--"),r.default.createElement("li",null,a.tracker||"--"),n?"":r.default.createElement("li",null,a.version||"--"),r.default.createElement("li",null,a.issue_status||"--"),r.default.createElement("li",{style:{color:"100%"===a.done_ratio?"#28BD6C":"#F73030"}},a.done_ratio||"--"),r.default.createElement("li",null,r.default.createElement("div",{className:"milepostleft"},r.default.createElement(i.Link,{to:"/"+p+"/"+d+"/issues/"+a.id},r.default.createElement("i",{className:"iconfont icon-pinglun1 mr3 font-16"}),a.journals_count),o?r.default.createElement("div",{style:{display:f===a.id&&_?"flex":"none"}},r.default.createElement("div",{className:"mr8 ml8 color-grey-9"},r.default.createElement(i.Link,{to:"/"+p+"/"+d+"/issues/"+a.id+"/updatedetail",className:"color-grey-9"},r.default.createElement("i",{className:"iconfont icon-bianji3 font-14 mr5"}))),r.default.createElement("div",{className:"color-grey-9"},r.default.createElement(s.default,{placement:"bottom",overlayClassName:f===a.id&&_?"overlayBox":"overlayBox hideOverlay",title:"您确定要删除当前易修吗?",okText:"是",cancelText:"否",onConfirm:function(){return e.deletedetail(a.id)}},r.default.createElement("i",{className:"iconfont icon-yiguanbi1 font-14"})))):""))))}}]),t}(n.Component);t.default=c},Phz4:function(e,t,a){},WT1Z:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=E(a("W9HT")),l=E(a("NUBc")),n=E(a("jsC+")),r=E(a("CtXQ")),i=E(a("kaz8")),u=E(a("+eQT")),o=E(a("BvKs")),c=E(a("5rEg")),d=Object.assign||function(e){for(var t=1;t0&&t.map((function(e){return e.id}))})}})).catch((function(e){console.log(e)}))},a.getMenu=function(e,t,s){a.setState({isSpin:!0});var l=e.key.split("-");"created_on"===l[0]?("desc"===e.item.props.value?a.setState({paix:"最新创建"}):a.setState({paix:"最早创建"}),a.state.select_params.order_name=e.key):"updated_on"===l[0]&&("desc"===e.item.props.value?a.setState({paix:"最新更新"}):a.setState({paix:"最早更新"})),a.state.select_params.order_name=l[0],a.state.select_params.order_type=e.item.props.value,a.state.select_params.page=1;var n=a.state.status_type;a.getIssueList(n)},a.getOption=function(e,t,s,l){var n,r=a.props.current_user,i="all"===e.key?void 0:e.key,u=a.state.author_id,o=a.state.assigned_to_id,c=a.state.select_params;if(c[""+t]=i,c.page=1,r&&(u=c.author_id&&c.author_id===r.user_id?r.user_id:void 0,o=c.assigned_to_id&&c.assigned_to_id===r.user_id?r.user_id:void 0),a.setState((y(n={},t+"s",s),y(n,"select_params",c),y(n,"author_id",u),y(n,"assigned_to_id",o),n)),!l){var d=a.state.status_type;a.getIssueList(d)}},a.renderMenu=function(e,t,s,l){return f.default.createElement(o.default,{className:"orderCondition"},f.default.createElement(o.default.Item,{key:"all",onClick:function(e){return a.getOption(e,s,t,l)}},t),e&&e.length>0&&e.map((function(e,t){return f.default.createElement(o.default.Item,{key:e.id,onClick:function(t){return a.getOption(t,s,e.name,l)},style:{textAlign:e.color?"left":"center",padding:"6px 15px"}},e.color&&f.default.createElement("span",{className:"tagColor",style:{backgroundColor:""+e.color}}),e.name)})))},a.ChangePage=function(e){window.scrollTo(0,0),a.setState({isSpin:!0,checkedValue:[],all:!1});var t=a.state.status_type;a.state.select_params.page=e,a.getIssueList(t)},a.searchFunc=function(e){a.setState({search:e,isSpin:!0,checkedValue:[],all:void 0});var t=a.state.status_type;a.state.select_params.search=e,a.state.select_params.page=1,a.getIssueList(t)},a.openorder=function(e){a.setState({author_id:void 0,assigned_to_id:void 0,status_type:e,issue_tag_ids:"标记",tracker_ids:"类型",author_ids:"发布人",assigned_to_ids:"负责人",status_ids:"状态",done_ratios:"完成度",fixed_version_ids:"里程碑",paix:"排序",checkedValue:[],all:void 0}),a.state.select_params.page=1,a.state.select_params.limit=15,a.getIssueList(e)},a.ChangeAssign=function(e){var t=a.props.current_user;if(a.setState({isSpin:!0}),e){if(!t)return void a.setState({isSpin:!1});1===e?(a.setState({assigned_to_ids:t.username,assigned_to_id:t.user_id,author_id:void 0,author_ids:"发布人"}),a.state.select_params.author_id=void 0,a.state.select_params.assigned_to_id=t.user_id):(a.setState({author_ids:t.username,author_id:t.user_id,assigned_to_id:void 0,assigned_to_ids:"负责人"}),a.state.select_params.assigned_to_id=void 0,a.state.select_params.author_id=t.user_id)}else a.setState({author_ids:"发布人",author_id:void 0,assigned_to_ids:"负责人",assigned_to_id:void 0}),a.state.select_params.assigned_to_id=void 0,a.state.select_params.author_id=void 0;var s=a.state.status_type;a.getIssueList(s)},a.deletedetail=function(e){var t=a.props.match.params,s=t.projectsId,l="/"+t.owner+"/"+s+"/issues/"+e+".json";v.default.delete(l,{data:{project_id:s,id:e}}).then((function(e){if(e){var t=a.state.status_type;a.getIssueList(t);var s=a.props.getDetail;s&&s()}})).catch((function(e){console.log(e)}))},a.createIssue=function(){var e=a.state.data,t=a.props.match.params,s=t.projectsId,l=t.owner;e&&e.user_admin_or_member?a.props.history.push("/"+l+"/"+s+"/issues/new","_blank"):a.props.showLoginDialog("/"+l+"/"+s+"/issues/new")},a.renderNew=function(){return f.default.createElement("a",{className:"topWrapper_btn ml10",onClick:a.createIssue},"+ 创建易修")},a.changeBeginTime=function(e,t){var s=a.state.status_type;a.setState({begin:t}),a.getIssueList(s,t,a.state.end)},a.changeEndTime=function(e,t){var s=a.state.status_type;a.setState({end:t}),a.getIssueList(s,a.state.begin,t)},a.checkIssues=function(e){a.setState({checkedValue:e});var t=a.state.allValue;a.setState({all:t&&e&&e.length===t.length}),0===e.length&&a.setState({update_author_ids:"更换负责人",update_fixed_version_ids:"更换里程碑",update_status_ids:"修改状态",select_params:{update_author_id:void 0,update_fixed_version_id:void 0,update_status_id:void 0}})},a.changeAll=function(e){if(e.target.checked){var t=a.state.allValue;a.setState({checkedValue:t})}else a.setState({checkedValue:[]});a.setState({all:e.target.checked})},a.updateIssues=function(){var e=a.state,t=e.checkedValue,s=e.select_params,l=a.props.match.params,n=l.projectsId,r=l.owner;if(s.update_author_id||s.update_fixed_version_id||s.update_status_id){a.setState({isSpin:!0});var i="/"+r+"/"+n+"/issues/series_update.json";v.default.post(i,{ids:t,assigned_to_id:s.update_author_id,fixed_version_id:s.update_fixed_version_id,status_id:s.update_status_id}).then((function(e){if(e){var t=a.props.getDetail;s&&s.update_status_id&&t&&t(),a.props.showNotification("修改成功!"),a.successFunc()}})).catch((function(e){console.log(e)}))}else a.resetSelectParams()},a.successFunc=function(){a.resetSelectParams();var e=a.state.status_type;a.getIssueList(e)},a.resetSelectParams=function(){var e=a.state.select_params;e.update_author_id=void 0,e.update_fixed_version_id=void 0,e.update_status_id=void 0,a.setState({all:!1,checkedValue:[],update_author_ids:"更换负责人",update_fixed_version_ids:"更换里程碑",update_status_ids:"修改状态",select_params:e})},a.deleteIssues=function(){a.props.confirm({content:"是否确认删除所有选中的任务?",onOk:function(){a.setState({isSpin:!0});var e=a.state.checkedValue,t=a.props.match.params,s=t.projectsId,l="/"+t.owner+"/"+s+"/issues/clean.json";v.default.post(l,{ids:e}).then((function(e){if(e){var t=a.props.getDetail;t&&t(),a.props.showNotification("删除成功!"),a.successFunc()}})).catch((function(e){console.log(e)}))}})},a.menu=function(){return f.default.createElement(o.default,{onClick:function(e){return a.getMenu(e)}},f.default.createElement(o.default.Item,{key:"created_on-desc",value:"desc"},"最新创建"),f.default.createElement(o.default.Item,{key:"created_on-asc",value:"asc"},"最早创建"),f.default.createElement(o.default.Item,{key:"updated_on-desc",value:"desc"},"最新更新"),f.default.createElement(o.default.Item,{key:"updated_on-asc",value:"asc"},"最早更新"))},a.state={issue_chosen:void 0,data:void 0,issues:void 0,isSpin:!1,search:void 0,author_id:void 0,assigned_to_id:void 0,search_count:void 0,issue_type:void 0,status_type:"1",issue_tag_ids:"标记",tracker_ids:"类型",author_ids:"发布人",assigned_to_ids:"负责人",fixed_version_ids:"里程碑",status_ids:"状态",done_ratios:"完成度",paix:"排序",update_author_ids:"更换负责人",update_fixed_version_ids:"更换里程碑",update_status_ids:"修改状态",begin:"",end:"",checkedValue:[],allValue:[],all:!1,select_params:{assigned_to_id:void 0,author_id:void 0,issue_tag_id:void 0,tracker_id:void 0,done_ratio:void 0,status_id:void 0,fixed_version_id:void 0,order_name:void 0,order_type:void 0,search:void 0,update_author_id:void 0,update_fixed_version_id:void 0,update_status_id:void 0,page:1,limit:15}},a}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),p(t,[{key:"render",value:function(){var e=this,t=this.props.current_user,a=this.state,o=a.issue_chosen,c=a.issues,p=a.search_count,m=a.data,v=a.author_id,E=a.assigned_to_id,y=a.isSpin,k=a.status_type,N=a.select_params,S=a.begin,x=a.end,w=a.checkedValue,C=a.all;return f.default.createElement("div",{className:"main",style:{padding:"0px"}},f.default.createElement("div",{style:{padding:"10px 20px 0px 20px"}},f.default.createElement("div",{className:"topWrapper",style:{paddingTop:"10px"}},f.default.createElement("ul",{className:"topWrapper_type"},f.default.createElement("li",null,f.default.createElement("label",null,"所有:"),f.default.createElement("span",{className:k?"":"active",onClick:function(){return e.openorder()}},m&&m.all_count)),f.default.createElement("li",null,f.default.createElement("label",null,"开启中:"),f.default.createElement("span",{className:"1"===k?"active":"",onClick:function(){return e.openorder("1")}},m&&m.open_count)),f.default.createElement("li",null,f.default.createElement("label",null,"已关闭:"),f.default.createElement("span",{className:"2"===k?"active":"",onClick:function(){return e.openorder("2")}},m&&m.close_count))),this.renderNew()),f.default.createElement("div",{className:"topWrapper",style:{borderBottom:"none"}},f.default.createElement("div",{className:"target-detail-search"},f.default.createElement(b,{placeholder:"输入关键字搜索易修",enterButton:!0,onSearch:this.searchFunc,style:{width:300}})),f.default.createElement("div",null,f.default.createElement(u.default,{value:S?(0,_.default)(S,"YYYY-MM-DD"):"",style:{marginRight:"20px"},placeholder:"请选择开始时间",onChange:this.changeBeginTime}),f.default.createElement(u.default,{value:x?(0,_.default)(x,"YYYY-MM-DD"):"",placeholder:"请选择结束时间",onChange:this.changeEndTime})))),f.default.createElement(s.default,{spinning:y},f.default.createElement("div",{className:"f-wrap-between screenWrap"},f.default.createElement("div",{className:"df"},t&&t.login&&m&&m.user_operate_issue?f.default.createElement(i.default,{value:"0",style:{lineHeight:"50px",marginRight:"15px"},checked:C,onChange:this.changeAll}):"",w&&w.length>0?f.default.createElement("span",{style:{lineHeight:"50px"}},"选中",w.length,"个issue"):f.default.createElement("ul",{className:"searchBanner"},f.default.createElement("li",{className:v||E?"":"active",onClick:function(){return e.ChangeAssign()}},f.default.createElement("label",null,"搜索结果"),f.default.createElement("span",null,m&&m.search_count)),f.default.createElement("li",{style:{display:t&&""===t.login?"none":"flex"},className:E?"active":"",onClick:function(){return e.ChangeAssign(1)}},f.default.createElement("label",null,"指派给我"),f.default.createElement("span",null,m&&m.assign_me_count)),f.default.createElement("li",{style:{display:t&&""===t.login?"none":"flex"},className:v?"active":"",onClick:function(){return e.ChangeAssign(2)}},f.default.createElement("label",null,"我的发布"),f.default.createElement("span",null,m&&m.my_published_count)))),w&&w.length>0?f.default.createElement("ul",{className:"topWrapper_select wrapperStyle"},f.default.createElement("li",{className:"mr20"},f.default.createElement(n.default,{className:"topWrapperSelect",overlay:this.renderMenu(o&&o.assign_user,"更换负责人","update_author_id",!0),trigger:["click"],placement:"bottomCenter"},f.default.createElement("span",null,this.state.update_author_ids,f.default.createElement(r.default,{type:"caret-down",className:"ml5"})))),f.default.createElement("li",{className:"mr20"},f.default.createElement(n.default,{className:"topWrapperSelect wrapperStyle",overlay:this.renderMenu(o&&o.issue_version,"更换里程碑","update_fixed_version_id",!0),trigger:["click"],placement:"bottomCenter"},f.default.createElement("span",null,this.state.update_fixed_version_ids,f.default.createElement(r.default,{type:"caret-down",className:"ml5"})))),f.default.createElement("li",{className:"mr20"},f.default.createElement(n.default,{className:"topWrapperSelect wrapperStyle",overlay:this.renderMenu(o&&o.issue_status,"修改状态","update_status_id",!0),trigger:["click"],placement:"bottomCenter"},f.default.createElement("span",null,this.state.update_status_ids,f.default.createElement(r.default,{type:"caret-down",className:"ml5"})))),f.default.createElement("a",{onClick:this.updateIssues,className:"updateBtn blue mr20"},"确定"),f.default.createElement("a",{onClick:this.deleteIssues,className:"updateBtn red mr20"},"删除")):f.default.createElement("ul",{className:"topWrapper_select"},f.default.createElement("li",null,f.default.createElement(n.default,{className:"topWrapperSelect",overlay:this.renderMenu(o&&o.issue_tag,"标记","issue_tag_id"),trigger:["click"],placement:"bottomCenter"},f.default.createElement("span",null,this.state.issue_tag_ids,f.default.createElement(r.default,{type:"caret-down",className:"ml5"})))),f.default.createElement("li",null,f.default.createElement(n.default,{className:"topWrapperSelect",overlay:this.renderMenu(o&&o.assign_user,"发布人","author_id"),trigger:["click"],placement:"bottomCenter"},f.default.createElement("span",null,this.state.author_ids,f.default.createElement(r.default,{type:"caret-down",className:"ml5"})))),f.default.createElement("li",null,f.default.createElement(n.default,{className:"topWrapperSelect",overlay:this.renderMenu(o&&o.assign_user,"负责人","assigned_to_id"),trigger:["click"],placement:"bottomCenter"},f.default.createElement("span",null,this.state.assigned_to_ids,f.default.createElement(r.default,{type:"caret-down",className:"ml5"})))),f.default.createElement("li",null,f.default.createElement(n.default,{className:"topWrapperSelect",overlay:this.renderMenu(o&&o.tracker,"类型","tracker_id"),trigger:["click"],placement:"bottomCenter"},f.default.createElement("span",null,this.state.tracker_ids,f.default.createElement(r.default,{type:"caret-down",className:"ml5"})))),f.default.createElement("li",null,f.default.createElement(n.default,{className:"topWrapperSelect",overlay:this.renderMenu(o&&o.issue_version,"里程碑","fixed_version_id"),trigger:["click"],placement:"bottomCenter"},f.default.createElement("span",null,this.state.fixed_version_ids,f.default.createElement(r.default,{type:"caret-down",className:"ml5"})))),f.default.createElement("li",null,f.default.createElement(n.default,{className:"topWrapperSelect",overlay:this.renderMenu(o&&o.issue_status,"状态","status_id"),trigger:["click"],placement:"bottomCenter"},f.default.createElement("span",null,this.state.status_ids,f.default.createElement(r.default,{type:"caret-down",className:"ml5"})))),f.default.createElement("li",null,f.default.createElement(n.default,{className:"topWrapperSelect",overlay:this.renderMenu(o&&o.done_ratio,"完成度","done_ratio"),trigger:["click"],placement:"bottomCenter"},f.default.createElement("span",null,this.state.done_ratios,f.default.createElement(r.default,{type:"caret-down",className:"ml5"})))),f.default.createElement("li",null,f.default.createElement(n.default,{className:"topWrapperSelect",overlay:this.menu(),trigger:["click"],placement:"bottomCenter"},f.default.createElement("span",null,this.state.paix,f.default.createElement(r.default,{type:"caret-down",className:"ml5"})))))),0===p?f.default.createElement(h.default,{_html:"暂时还没有相关数据!"}):f.default.createElement("div",{style:{minHeight:"500px"}},f.default.createElement(i.default.Group,{name:"issues",onChange:this.checkIssues,value:w,style:{width:"100%"}},c&&c.length>0&&c.map((function(a,s){return f.default.createElement(g.default,d({key:s,item:a,checkbox:t&&m&&m.user_operate_issue?f.default.createElement(i.default,{value:a.id,key:a.id,style:{margin:"4px 15px 0px 0px"}}):"",search_count:p,page:N.page,limit:N.limit},e.props,e.state,{deletedetail:e.deletedetail,user_admin_or_member:m&&m.user_operate_issue}))})))),p>N.limit?f.default.createElement("div",{className:"mt30 mb30 edu-txt-center"},f.default.createElement(l.default,{simple:!0,defaultCurrent:N.page,total:p,pageSize:N.limit,onChange:this.ChangePage})):""))}}]),t}(m.Component);t.default=k}}]); \ No newline at end of file diff --git a/static/js/main.026ab475.chunk.js b/static/js/main.026ab475.chunk.js new file mode 100644 index 000000000..f7556bfdc --- /dev/null +++ b/static/js/main.026ab475.chunk.js @@ -0,0 +1,2 @@ +/*! For license information please see main.026ab475.chunk.js.LICENSE.txt */ +(this.webpackJsonp=this.webpackJsonp||[]).push([["main"],{"+/fp":function(e,t){e.exports=class{strong(e){return e}em(e){return e}codespan(e){return e}del(e){return e}html(e){return e}text(e){return e}link(e,t,n){return""+n}image(e,t,n){return""+n}br(){return""}}},"+JPL":function(e,t,n){e.exports={default:n("+SFK"),__esModule:!0}},"+MfF":function(e,t,n){"use strict";t.__esModule=!0,t.Encoders=t.Decoders=t.encodeNumericObject=t.encodeNumericArray=void 0;var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e},o=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,l=e[Symbol.iterator]();!(r=(a=l.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&l.return&&l.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};t.encodeDate=c,t.decodeDate=s,t.encodeBoolean=u,t.decodeBoolean=f,t.encodeNumber=h,t.decodeNumber=p,t.encodeString=d,t.decodeString=m,t.encodeJson=v,t.decodeJson=y,t.encodeArray=g,t.decodeArray=b,t.decodeNumericArray=x,t.encodeObject=_,t.decodeObject=k,t.decodeNumericObject=O,t.decode=function(e,t,n){var o=void 0;o="function"==typeof e?e(t,n):"object"===(void 0===e?"undefined":r(e))&&e.decode?e.decode(t,n):void 0===t?n:M[e]?M[e](t):t;return o},t.encode=function(e,t){var n=void 0;n="function"==typeof e?e(t):"object"===(void 0===e?"undefined":r(e))&&e.encode?e.encode(t):T[e]?T[e](t):t;return n};var i,a=n("Lusz"),l=(i=a)&&i.__esModule?i:{default:i};function c(e){if(null==e)return e;var t=e.getFullYear(),n=e.getMonth()+1,r=e.getDate();return t+"-"+(n<10?"0"+n:n)+"-"+(r<10?"0"+r:r)}function s(e){if(null!=e&&e.length){var t=e.split("-");null!=t[1]?t[1]-=1:(t[1]=0,t[2]=1);var n=new(Function.prototype.bind.apply(Date,[null].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t=_},l=function(){},t.unstable_forceFrameRate=function(e){0>e||125>>1,o=e[r];if(!(void 0!==o&&0E(a,n))void 0!==c&&0>E(c,a)?(e[r]=c,e[l]=n,r=l):(e[r]=a,e[i]=n,r=i);else{if(!(void 0!==c&&0>E(c,n)))break e;e[r]=c,e[l]=n,r=l}}}return t}return null}function E(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var z=[],C=[],P=1,A=null,j=3,L=!1,N=!1,H=!1;function R(e){for(var t=M(C);null!==t;){if(null===t.callback)T(C);else{if(!(t.startTime<=e))break;T(C),t.sortIndex=t.expirationTime,O(z,t)}t=M(C)}}function I(e){if(H=!1,R(e),!N)if(null!==M(z))N=!0,r(V);else{var t=M(C);null!==t&&o(I,t.startTime-e)}}function V(e,n){N=!1,H&&(H=!1,i()),L=!0;var r=j;try{for(R(n),A=M(z);null!==A&&(!(A.expirationTime>n)||e&&!a());){var l=A.callback;if(null!==l){A.callback=null,j=A.priorityLevel;var c=l(A.expirationTime<=n);n=t.unstable_now(),"function"==typeof c?A.callback=c:A===M(z)&&T(z),R(n)}else T(z);A=M(z)}if(null!==A)var s=!0;else{var u=M(C);null!==u&&o(I,u.startTime-n),s=!1}return s}finally{A=null,j=r,L=!1}}function D(e){switch(e){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var F=l;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){N||L||(N=!0,r(V))},t.unstable_getCurrentPriorityLevel=function(){return j},t.unstable_getFirstCallbackNode=function(){return M(z)},t.unstable_next=function(e){switch(j){case 1:case 2:case 3:var t=3;break;default:t=j}var n=j;j=t;try{return e()}finally{j=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=F,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=j;j=e;try{return t()}finally{j=n}},t.unstable_scheduleCallback=function(e,n,a){var l=t.unstable_now();if("object"==typeof a&&null!==a){var c=a.delay;c="number"==typeof c&&0l?(e.sortIndex=c,O(C,e),null===M(z)&&e===M(C)&&(H?i():H=!0,o(I,c-l))):(e.sortIndex=a,O(z,e),N||L||(N=!0,r(V))),e},t.unstable_shouldYield=function(){var e=t.unstable_now();R(e);var n=M(z);return n!==A&&null!==A&&null!==n&&null!==n.callback&&n.startTime<=e&&n.expirationTimee.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&void 0!==arguments[0]?arguments[0]:"store",n=arguments[1],o=n||t+"Subscription",f=function(e){function n(r,o){c(this,n);var i=s(this,e.call(this,r,o));return i[t]=r.store,i}return u(n,e),n.prototype.getChildContext=function(){var e;return(e={})[t]=this[t],e[o]=null,e},n.prototype.render=function(){return r.Children.only(this.props.children)},n}(r.Component);return f.propTypes={store:l.isRequired,children:i.a.element.isRequired},f.childContextTypes=((e={})[t]=l.isRequired,e[o]=a,e),f}var h=f(),p=n("dWyf"),d=n.n(p),m=n("QLaP"),v=n.n(m);var y={notify:function(){}};var g=function(){function e(t,n,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.store=t,this.parentSub=n,this.onStateChange=r,this.unsubscribe=null,this.listeners=y}return e.prototype.addNestedSub=function(e){return this.trySubscribe(),this.listeners.subscribe(e)},e.prototype.notifyNestedSubs=function(){this.listeners.notify()},e.prototype.isSubscribed=function(){return Boolean(this.unsubscribe)},e.prototype.trySubscribe=function(){var e,t;this.unsubscribe||(this.unsubscribe=this.parentSub?this.parentSub.addNestedSub(this.onStateChange):this.store.subscribe(this.onStateChange),this.listeners=(e=[],t=[],{clear:function(){t=null,e=null},notify:function(){for(var n=e=t,r=0;r=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}var S=0,O={};function M(){}function T(e,t){var n={run:function(r){try{var o=e(t.getState(),r);(o!==n.props||n.error)&&(n.shouldComponentUpdate=!0,n.props=o,n.error=null)}catch(e){n.shouldComponentUpdate=!0,n.error=e}}};return n}function E(e){var t,n,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=o.getDisplayName,c=void 0===i?function(e){return"ConnectAdvanced("+e+")"}:i,s=o.methodName,u=void 0===s?"connectAdvanced":s,f=o.renderCountProp,h=void 0===f?void 0:f,p=o.shouldHandleStateChanges,m=void 0===p||p,y=o.storeKey,E=void 0===y?"store":y,z=o.withRef,C=void 0!==z&&z,P=k(o,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef"]),A=E+"Subscription",j=S++,L=((t={})[E]=l,t[A]=a,t),N=((n={})[A]=a,n);return function(t){v()("function"==typeof t,"You must pass a component to the function returned by "+u+". Instead received "+JSON.stringify(t));var n=t.displayName||t.name||"Component",o=c(n),i=b({},P,{getDisplayName:c,methodName:u,renderCountProp:h,shouldHandleStateChanges:m,storeKey:E,withRef:C,displayName:o,wrappedComponentName:n,WrappedComponent:t}),a=function(n){function a(e,t){w(this,a);var r=x(this,n.call(this,e,t));return r.version=j,r.state={},r.renderCount=0,r.store=e[E]||t[E],r.propsMode=Boolean(e[E]),r.setWrappedInstance=r.setWrappedInstance.bind(r),v()(r.store,'Could not find "'+E+'" in either the context or props of "'+o+'". Either wrap the root component in a , or explicitly pass "'+E+'" as a prop to "'+o+'".'),r.initSelector(),r.initSubscription(),r}return _(a,n),a.prototype.getChildContext=function(){var e,t=this.propsMode?null:this.subscription;return(e={})[A]=t||this.context[A],e},a.prototype.componentDidMount=function(){m&&(this.subscription.trySubscribe(),this.selector.run(this.props),this.selector.shouldComponentUpdate&&this.forceUpdate())},a.prototype.componentWillReceiveProps=function(e){this.selector.run(e)},a.prototype.shouldComponentUpdate=function(){return this.selector.shouldComponentUpdate},a.prototype.componentWillUnmount=function(){this.subscription&&this.subscription.tryUnsubscribe(),this.subscription=null,this.notifyNestedSubs=M,this.store=null,this.selector.run=M,this.selector.shouldComponentUpdate=!1},a.prototype.getWrappedInstance=function(){return v()(C,"To access the wrapped instance, you need to specify { withRef: true } in the options argument of the "+u+"() call."),this.wrappedInstance},a.prototype.setWrappedInstance=function(e){this.wrappedInstance=e},a.prototype.initSelector=function(){var t=e(this.store.dispatch,i);this.selector=T(t,this.store),this.selector.run(this.props)},a.prototype.initSubscription=function(){if(m){var e=(this.propsMode?this.props:this.context)[A];this.subscription=new g(this.store,e,this.onStateChange.bind(this)),this.notifyNestedSubs=this.subscription.notifyNestedSubs.bind(this.subscription)}},a.prototype.onStateChange=function(){this.selector.run(this.props),this.selector.shouldComponentUpdate?(this.componentDidUpdate=this.notifyNestedSubsOnComponentDidUpdate,this.setState(O)):this.notifyNestedSubs()},a.prototype.notifyNestedSubsOnComponentDidUpdate=function(){this.componentDidUpdate=void 0,this.notifyNestedSubs()},a.prototype.isSubscribed=function(){return Boolean(this.subscription)&&this.subscription.isSubscribed()},a.prototype.addExtraProps=function(e){if(!(C||h||this.propsMode&&this.subscription))return e;var t=b({},e);return C&&(t.ref=this.setWrappedInstance),h&&(t[h]=this.renderCount++),this.propsMode&&this.subscription&&(t[A]=this.subscription),t},a.prototype.render=function(){var e=this.selector;if(e.shouldComponentUpdate=!1,e.error)throw e.error;return Object(r.createElement)(t,this.addExtraProps(e.props))},a}(r.Component);return a.WrappedComponent=t,a.displayName=o,a.childContextTypes=N,a.contextTypes=L,a.propTypes=L,d()(a,t)}}var z=Object.prototype.hasOwnProperty;function C(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function P(e,t){if(C(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 o=0;o=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(t,["initMapStateToProps","initMapDispatchToProps","initMergeProps"]),a=n(e,i),l=r(e,i),c=o(e,i);return(i.pure?Q:J)(a,l,c,e,i)}var $=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function te(e,t,n){for(var r=t.length-1;r>=0;r--){var o=t[r](e);if(o)return o}return function(t,r){throw new Error("Invalid value of type "+typeof e+" for "+n+" argument when connecting component "+r.wrappedComponentName+".")}}function ne(e,t){return e===t}var re=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.connectHOC,n=void 0===t?E:t,r=e.mapStateToPropsFactories,o=void 0===r?Y:r,i=e.mapDispatchToPropsFactories,a=void 0===i?W:i,l=e.mergePropsFactories,c=void 0===l?X:l,s=e.selectorFactory,u=void 0===s?Z:s;return function(e,t,r){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},l=i.pure,s=void 0===l||l,f=i.areStatesEqual,h=void 0===f?ne:f,p=i.areOwnPropsEqual,d=void 0===p?P:p,m=i.areStatePropsEqual,v=void 0===m?P:m,y=i.areMergedPropsEqual,g=void 0===y?P:y,b=ee(i,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),w=te(e,o,"mapStateToProps"),x=te(t,a,"mapDispatchToProps"),_=te(r,c,"mergeProps");return n(u,$({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:w,initMapDispatchToProps:x,initMergeProps:_,pure:s,areStatesEqual:h,areOwnPropsEqual:d,areStatePropsEqual:v,areMergedPropsEqual:g},b))}}()},"/SS/":function(e,t,n){var r=n("XKFU");r(r.S,"Object",{setPrototypeOf:n("i5dc").set})},"/Vpf":function(e,t,n){n("0Mri"),e.exports=n("g3g5").RegExp.escape},"/dDc":function(e,t,n){"use strict";var r={transitionstart:{transition:"transitionstart",WebkitTransition:"webkitTransitionStart",MozTransition:"mozTransitionStart",OTransition:"oTransitionStart",msTransition:"MSTransitionStart"},animationstart:{animation:"animationstart",WebkitAnimation:"webkitAnimationStart",MozAnimation:"mozAnimationStart",OAnimation:"oAnimationStart",msAnimation:"MSAnimationStart"}},o={transitionend:{transition:"transitionend",WebkitTransition:"webkitTransitionEnd",MozTransition:"mozTransitionEnd",OTransition:"oTransitionEnd",msTransition:"MSTransitionEnd"},animationend:{animation:"animationend",WebkitAnimation:"webkitAnimationEnd",MozAnimation:"mozAnimationEnd",OAnimation:"oAnimationEnd",msAnimation:"MSAnimationEnd"}},i=[],a=[];function l(e,t,n){e.addEventListener(t,n,!1)}function c(e,t,n){e.removeEventListener(t,n,!1)}"undefined"!=typeof window&&"undefined"!=typeof document&&function(){var e=document.createElement("div").style;function t(t,n){for(var r in t)if(t.hasOwnProperty(r)){var o=t[r];for(var i in o)if(i in e){n.push(o[i]);break}}}"AnimationEvent"in window||(delete r.animationstart.animation,delete o.animationend.animation),"TransitionEvent"in window||(delete r.transitionstart.transition,delete o.transitionend.transition),t(r,i),t(o,a)}();var s={startEvents:i,addStartEventListener:function(e,t){0!==i.length?i.forEach((function(n){l(e,n,t)})):window.setTimeout(t,0)},removeStartEventListener:function(e,t){0!==i.length&&i.forEach((function(n){c(e,n,t)}))},endEvents:a,addEndEventListener:function(e,t){0!==a.length?a.forEach((function(n){l(e,n,t)})):window.setTimeout(t,0)},removeEndEventListener:function(e,t){0!==a.length&&a.forEach((function(n){c(e,n,t)}))}};t.a=s},"/e88":function(e,t){e.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"},"/eQG":function(e,t,n){n("v5Dd");var r=n("WEpk").Object;e.exports=function(e,t){return r.getOwnPropertyDescriptor(e,t)}},"/h46":function(e,t,n){n("cHUd")("Map")},"/uf1":function(e,t,n){"use strict";var r=n("XKFU"),o=n("S/j/"),i=n("2OiF"),a=n("hswa");n("nh4g")&&r(r.P+n("xbSm"),"Object",{__defineSetter__:function(e,t){a.f(o(this),e,{set:i(t),enumerable:!0,configurable:!0})}})},0:function(e,t,n){n("CEcq"),e.exports=n("tjUo")},"0/R4":function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},"04bd":function(e,t,n){"use strict";n.r(t);n("SchZ"),n("/3gg")},"0E+W":function(e,t,n){n("elZq")("Array")},"0LDn":function(e,t,n){"use strict";n("OGtf")("italics",(function(e){return function(){return e(this,"i","","")}}))},"0Mri":function(e,t,n){var r=n("XKFU"),o=n("q9eg")(/[\\^$*+?.()|[\]{}]/g,"\\$&");r(r.S,"RegExp",{escape:function(e){return o(e)}})},"0YWM":function(e,t,n){var r=n("EemH"),o=n("OP3Y"),i=n("aagx"),a=n("XKFU"),l=n("0/R4"),c=n("y3w9");a(a.S,"Reflect",{get:function e(t,n){var a,s,u=arguments.length<3?t:arguments[2];return c(t)===u?t[n]:(a=r.f(t,n))?i(a,"value")?a.value:void 0!==a.get?a.get.call(u):void 0:l(s=o(t))?e(s,n,u):void 0}})},"0cfB":function(e,t,n){"use strict";e.exports=n("7B0+")},"0l/t":function(e,t,n){"use strict";var r=n("XKFU"),o=n("CkkT")(2);r(r.P+r.F*!n("LyE8")([].filter,!0),"Array",{filter:function(e){return o(this,e,arguments[1])}})},"0mN4":function(e,t,n){"use strict";n("OGtf")("fixed",(function(e){return function(){return e(this,"tt","","")}}))},"0r0h":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){var n=[];return o.default.Children.forEach(t,(function(t){null!=t&&(Array.isArray(t)?n=n.concat(e(t)):(0,i.isFragment)(t)&&t.props?n=n.concat(e(t.props.children)):n.push(t))})),n};var r,o=(r=n("q1tI"))&&r.__esModule?r:{default:r},i=n("TOwV")},"0sh+":function(e,t,n){var r=n("quPj"),o=n("vhPU");e.exports=function(e,t,n){if(r(t))throw TypeError("String#"+n+" doesn't accept regex!");return String(o(e))}},"0tVQ":function(e,t,n){n("FlQf"),n("VJsP"),e.exports=n("WEpk").Array.from},"11IZ":function(e,t,n){var r=n("dyZX").parseFloat,o=n("qncB").trim;e.exports=1/r(n("/e88")+"-0")!=-1/0?function(e){var t=o(String(e),3),n=r(t);return 0===n&&"-"==t.charAt(0)?-0:n}:r},"14Xm":function(e,t,n){e.exports=n("u938")},"16Al":function(e,t,n){"use strict";var r=n("WbBG");function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var l=new Error("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");throw l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},"17x9":function(e,t,n){e.exports=n("16Al")()},"1AP1":function(e,t,n){"use strict";var r=n("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=r(n("pVnL")),i=r(n("lSNA")),a=r(n("QILm")),l=r(n("cWOT")),c=r(n("lwsE")),s=r(n("a1gu")),u=r(n("W8MJ")),f=r(n("7W2i")),h=r(n("PJYZ")),p=r(n("q1tI")),d=r(n("i8i4")),m=(r(n("17x9")),r(n("TSYQ"))),v=n("VCL8"),y=(r(n("PV3f")),r(n("3zPy"))),g=r(n("Ed7I")),b=r(n("61Rg")),w=r(n("Bp9Y")),x=r(n("o43f")),_=r(n("xKqy")),k=r(n("VOza")),S=n("fvma"),O=r(n("d05B")),M=r(n("jvf+")),T=r(n("Nf+j"));function E(e){return!!e.children&&e.children.props.hasOwnProperty("in")}var z=function(e){return{root:{display:"flex",width:"100%",height:"100%",position:"fixed",zIndex:e.zIndex.modal,top:0,left:0},hidden:{visibility:"hidden"}}};t.styles=z;var C=function(e){function t(e,n){var r;return(0,c.default)(this,t),r=(0,s.default)(this,(t.__proto__||(0,l.default)(t)).call(this,e,n)),Object.defineProperty((0,h.default)(r),"dialogElement",{configurable:!0,enumerable:!0,writable:!0,value:null}),Object.defineProperty((0,h.default)(r),"mounted",{configurable:!0,enumerable:!0,writable:!0,value:!1}),Object.defineProperty((0,h.default)(r),"mountNode",{configurable:!0,enumerable:!0,writable:!0,value:null}),Object.defineProperty((0,h.default)(r),"handleRendered",{configurable:!0,enumerable:!0,writable:!0,value:function(){r.autoFocus(),r.props.onRendered&&r.props.onRendered()}}),Object.defineProperty((0,h.default)(r),"handleOpen",{configurable:!0,enumerable:!0,writable:!0,value:function(){var e=(0,x.default)(r.mountNode),t=function(e,t){return e="function"==typeof e?e():e,d.default.findDOMNode(e)||t}(r.props.container,e.body);r.props.manager.add((0,h.default)(r),t),e.addEventListener("keydown",r.handleDocumentKeyDown),e.addEventListener("focus",r.enforceFocus,!0)}}),Object.defineProperty((0,h.default)(r),"handleClose",{configurable:!0,enumerable:!0,writable:!0,value:function(){r.props.manager.remove((0,h.default)(r));var e=(0,x.default)(r.mountNode);e.removeEventListener("keydown",r.handleDocumentKeyDown),e.removeEventListener("focus",r.enforceFocus),r.restoreLastFocus()}}),Object.defineProperty((0,h.default)(r),"handleExited",{configurable:!0,enumerable:!0,writable:!0,value:function(){r.setState({exited:!0}),r.handleClose()}}),Object.defineProperty((0,h.default)(r),"handleBackdropClick",{configurable:!0,enumerable:!0,writable:!0,value:function(e){e.target===e.currentTarget&&(r.props.onBackdropClick&&r.props.onBackdropClick(e),!r.props.disableBackdropClick&&r.props.onClose&&r.props.onClose(e,"backdropClick"))}}),Object.defineProperty((0,h.default)(r),"handleDocumentKeyDown",{configurable:!0,enumerable:!0,writable:!0,value:function(e){r.isTopModal()&&"esc"===(0,y.default)(e)&&(r.props.onEscapeKeyDown&&r.props.onEscapeKeyDown(e),!r.props.disableEscapeKeyDown&&r.props.onClose&&r.props.onClose(e,"escapeKeyDown"))}}),Object.defineProperty((0,h.default)(r),"checkForFocus",{configurable:!0,enumerable:!0,writable:!0,value:function(){w.default&&(r.lastFocus=(0,g.default)())}}),Object.defineProperty((0,h.default)(r),"enforceFocus",{configurable:!0,enumerable:!0,writable:!0,value:function(){if(!r.props.disableEnforceFocus&&r.mounted&&r.isTopModal()){var e=(0,g.default)((0,x.default)(r.mountNode));r.dialogElement&&!(0,b.default)(r.dialogElement,e)&&r.dialogElement.focus()}}}),r.state={exited:!r.props.open},r}return(0,f.default)(t,e),(0,u.default)(t,null,[{key:"getDerivedStateFromProps",value:function(e){return e.open?{exited:!1}:E(e)?null:{exited:!0}}}]),(0,u.default)(t,[{key:"componentDidMount",value:function(){this.mounted=!0,this.props.open&&this.handleOpen()}},{key:"componentDidUpdate",value:function(e){!e.open&&this.props.open&&this.checkForFocus(),!e.open||this.props.open||E(this.props)?!e.open&&this.props.open&&this.handleOpen():this.handleClose()}},{key:"componentWillUnmount",value:function(){this.mounted=!1,(this.props.open||E(this.props)&&!this.state.exited)&&this.handleClose()}},{key:"autoFocus",value:function(){if(!this.props.disableAutoFocus){var e=(0,g.default)((0,x.default)(this.mountNode));this.dialogElement&&!(0,b.default)(this.dialogElement,e)&&(this.lastFocus=e,this.dialogElement.hasAttribute("tabIndex")||this.dialogElement.setAttribute("tabIndex",-1),this.dialogElement.focus())}}},{key:"restoreLastFocus",value:function(){this.props.disableRestoreFocus||this.lastFocus&&(this.lastFocus.focus&&this.lastFocus.focus(),this.lastFocus=null)}},{key:"isTopModal",value:function(){return this.props.manager.isTopModal(this)}},{key:"render",value:function(){var e=this,t=this.props,n=t.BackdropComponent,r=t.BackdropProps,l=t.children,c=t.classes,s=t.className,u=t.container,f=(t.disableAutoFocus,t.disableBackdropClick,t.disableEnforceFocus,t.disableEscapeKeyDown,t.disableRestoreFocus,t.hideBackdrop),h=t.keepMounted,d=(t.onBackdropClick,t.onClose,t.onEscapeKeyDown,t.onRendered,t.open),v=(t.manager,(0,a.default)(t,["BackdropComponent","BackdropProps","children","classes","className","container","disableAutoFocus","disableBackdropClick","disableEnforceFocus","disableEscapeKeyDown","disableRestoreFocus","hideBackdrop","keepMounted","onBackdropClick","onClose","onEscapeKeyDown","onRendered","open","manager"])),y=this.state.exited,g=E(this.props),b={};return h||d||g&&!y?(g&&(b.onExited=(0,S.createChainedFunction)(this.handleExited,l.props.onExited)),void 0===l.props.role&&(b.role=l.props.role||"document"),void 0===l.props.tabIndex&&(b.tabIndex=l.props.tabIndex||"-1"),p.default.createElement(k.default,{ref:function(t){e.mountNode=t?t.getMountNode():t},container:u,onRendered:this.handleRendered},p.default.createElement("div",(0,o.default)({className:(0,m.default)(c.root,s,(0,i.default)({},c.hidden,y))},v),f?null:p.default.createElement(n,(0,o.default)({open:d,onClick:this.handleBackdropClick},r)),p.default.createElement(_.default,{rootRef:function(t){e.dialogElement=t}},p.default.cloneElement(l,b))))):null}}]),t}(p.default.Component);C.propTypes={},C.defaultProps={disableAutoFocus:!1,disableBackdropClick:!1,disableEnforceFocus:!1,disableEscapeKeyDown:!1,disableRestoreFocus:!1,hideBackdrop:!1,keepMounted:!1,manager:new M.default,BackdropComponent:T.default};var P=(0,O.default)(z,{flip:!1,name:"MuiModal"})((0,v.polyfill)(C));t.default=P},"1MBn":function(e,t,n){var r=n("DVgA"),o=n("JiEa"),i=n("UqcF");e.exports=function(e){var t=r(e),n=o.f;if(n)for(var a,l=n(e),c=i.f,s=0;l.length>s;)c.call(e,a=l[s++])&&t.push(a);return t}},"1QMK":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:l,t=arguments[1],n=t.payload,r=void 0===n?{}:n,i=t.type,c=r.subject_info,s=r.other_info,u=void 0===s?[]:s,f=r.total,h=void 0===f?{}:f,p=r.total_count;switch(i){case a.default.GET_STATIC_INFO:return o({},e,{subject_info:c,other_info:u,total:h,total_count:p});case a.default.CHANGE_STATIC_PARAMS:return o({},e,{params:Object.assign({},e.params,r)});case a.default.CHANGE_STATIC_TOTAL:return o({},e,{other_info:[],total:{}});default:return e}}},"1QNo":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["to","children","style","className"]));return l.default.createElement(l.default.Fragment,null,void 0===t?l.default.createElement("a",o({onClick:this.props.onClick},i,{className:"Actionbtn "+f[r||"blue"]+" "+this.props.className}),n):l.default.createElement(c.Link,o({to:t,className:"btn "+f[this.props.style]+" "+this.props.className},i),this.props.children))}}]),t}(a.Component);t.default=h},"1TsA":function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},"1V9r":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){e.renderable=t,e.rules&&t.cssRules&&e.rules.link(t.cssRules)}},"1Vz1":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("f2ih"),i=(r=o)&&r.__esModule?r:{default:r};t.default=new i.default},"1W/9":function(e,t,n){"use strict";var r=n("q1tI"),o=n.n(r),i=n("i8i4"),a=n.n(i),l=n("17x9"),c=n.n(l),s=n("VCL8"),u=n("PIAm"),f=n("QC+M"),h=n("qx4F");var p=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.element,r=void 0===n?document.body:n,o={},i=Object.keys(e);return i.forEach((function(e){o[e]=r.style[e]})),i.forEach((function(t){r.style[t]=e[t]})),o};var d={},m=function(e){if(document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth||e){var t=new RegExp("".concat("ant-scrolling-effect"),"g"),n=document.body.className;if(e){if(!t.test(n))return;return p(d),d={},void(document.body.className=n.replace(t,"").trim())}var r=Object(h.a)();if(r&&(d=p({position:"relative",width:"calc(100% - ".concat(r,"px)")}),!t.test(n))){var o="".concat(n," ").concat("ant-scrolling-effect");document.body.className=o.trim()}}};function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function y(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{};return n(y({},t,{},l,{ref:e.savePortal}))},getContainer:this.getContainer,forceRender:r},(function(t){var n=t.renderComponent,r=t.removeContainer;return e.renderComponent=n,e.removeContainer=r,null}))}}])&&w(n.prototype,r),i&&w(n,i),l}(o.a.Component);C.propTypes={wrapperClassName:c.a.string,forceRender:c.a.bool,getContainer:c.a.any,children:c.a.func,visible:c.a.bool};t.a=Object(s.polyfill)(C)},"1sa7":function(e,t){e.exports=Math.log1p||function(e){return(e=+e)>-1e-8&&e<1e-8?e-e*e/2:Math.log(1+e)}},"1thW":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=s(n("TeRw")),o=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]&&arguments[0];return function(e){return function(t){function n(e){u(this,n);var t=f(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,e));return t.showNotification=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"提示";arguments[2];r.default.open({message:t,description:e,style:{zIndex:99999999}})},t.bytesToSize=function(e){if(0===e)return"0 B";var t=Math.floor(Math.log(e)/Math.log(1024));return(e/Math.pow(1024,t)).toFixed(2)+" "+["B","KB","MB","GB","TB","PB","EB","ZB","YB"][t]},t.configNotification=function(e){e&&r.default.config({placement:e})},t.getNowFormatDates=function(e,t){var n,r=new Date,o=0;n=1===e?r.getMonth()+1:2===e?r.getMonth()+2:r.getMonth()+3;var i=r.getDate();n>=1&&n<=9&&(n="0"+n),i>=0&&i<=9&&(i="0"+i);var a=r.getMinutes();1===e?a>=0&&a<=9&&(a="0"+a):a>=0&&(a="00",o=1);var l=r.getHours()+o;return 1===t?r.getFullYear()+"-"+n+"-"+i+" 00:00":1===e?r.getFullYear()+"-"+n+"-"+i+" "+r.getHours()+":"+a:r.getFullYear()+"-"+n+"-"+i+" "+l+":"+a},t.confirm=function(e){var n=e.title,r=e.content,o=e.subContent,i=e.onOk,a=e.onCancel,l=e.okText;t.onCancel=a,t.onOk=i,t.okText=l||"确定",t.setState({title:n,content:r,subContent:o,dialogOpen:!0})},t.onDialogOkBtnClick=function(){t.onOk&&t.onOk(),t.setState({dialogOpen:!1}),t.onCancel=null,t.onOk=null},t.handleDialogClose=function(){t.onCancel&&t.onCancel(),t.setState({dialogOpen:!1}),t.onCancel=null,t.onOk=null},t.define=function(e){var n=e.title,r=e.content;t.setState({title:n,content:r,defineOpen:!0})},t.onDialogdefineOkBtnClick=function(){t.onCancel&&t.onCancel(),t.setState({defineOpen:!1}),t.onCancel=null,t.onOk=null},r.default.config({duration:3}),t.state={dialogOpen:!1,defineOpen:!1},t}return h(n,t),i(n,[{key:"render",value:function(){var t=this,n=this.state,r=(n.snackbarOpen,n.snackbarText,n.snackbarHorizontal,n.snackbarVertical,n.dialogOpen),i=n.content,a=n.subContent,s=n.defineOpen;return l.default.createElement(l.default.Fragment,null,l.default.createElement(c.default,{className:"confirmModal",modalsType:r,modalsTopval:i,modalsBottomval:a||"",modalCancel:this.handleDialogClose,modalSave:this.onDialogOkBtnClick,okText:this.okText}),l.default.createElement(c.default,{modalsType:s,modalsTopval:i,loadtype:!0,modalsBottomval:"",modalCancel:void 0,modalSave:this.onDialogdefineOkBtnClick}),l.default.createElement(e,o({},this.props,{showNotification:this.showNotification,bytesToSize:this.bytesToSize,getNowFormatDates:function(e,n){return t.getNowFormatDates(e,n)},configNotification:this.configNotification,confirm:this.confirm,define:this.define})))}}]),n}(a.Component)}},n("O+I2");var a=n("q1tI"),l=s(a),c=s(n("QYFm"));function s(e){return e&&e.__esModule?e:{default:e}}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(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 h(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)}},"1v76":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{indent:1},t=this.rules.toString(e);return t&&(t+="\n"),this.key+" {\n"+t+"}"}}]),e}();t.default=c},"1vPl":function(e,t,n){"use strict";n.r(t);n("SchZ"),n("RXDR"),n("L/Qf")},"2/Rp":function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n("17x9"),i=n("TSYQ"),a=n.n(i),l=n("VCL8"),c=n("BGR+"),s=n("CtXQ"),u=n("H84U"),f=n("g0mS"),h=n("CWQg");function p(){return(p=Object.assign||function(e){for(var t=1;t=0||o.indexOf("Bottom")>=0?a.top="".concat(i.height-n.offset[1],"px"):(o.indexOf("Top")>=0||o.indexOf("bottom")>=0)&&(a.top="".concat(-n.offset[1],"px")),o.indexOf("left")>=0||o.indexOf("Right")>=0?a.left="".concat(i.width-n.offset[0],"px"):(o.indexOf("right")>=0||o.indexOf("Left")>=0)&&(a.left="".concat(-n.offset[0],"px")),e.style.transformOrigin="".concat(a.left," ").concat(a.top)}},t.renderTooltip=function(e){var n=e.getPopupContainer,o=e.getPrefixCls,i=V(t),a=i.props,l=i.state,c=a.prefixCls,s=a.openClassName,u=a.getPopupContainer,f=a.getTooltipContainer,h=a.children,p=o("tooltip",c),d=l.visible;!("visible"in a)&&t.isNoTitle()&&(d=!1);var m,v,y,g=q(r.isValidElement(h)?h:r.createElement("span",null,h)),b=g.props,w=T()(b.className,(m={},v=s||"".concat(p,"-open"),y=!0,v in m?Object.defineProperty(m,v,{value:y,enumerable:!0,configurable:!0,writable:!0}):m[v]=y,m));return r.createElement(O,F({},t.props,{prefixCls:p,getTooltipContainer:u||f||n,ref:t.saveTooltip,builtinPlacements:t.getPlacements(),overlay:t.getOverlay(),visible:d,onVisibleChange:t.onVisibleChange,onPopupAlign:t.onPopupAlign}),d?r.cloneElement(g,{className:w}):g)},t.state={visible:!!e.visible||!!e.defaultVisible},t}return t=a,o=[{key:"getDerivedStateFromProps",value:function(e){return"visible"in e?{visible:e.visible}:null}}],(n=[{key:"getPopupDomNode",value:function(){return this.tooltip.getPopupDomNode()}},{key:"getPlacements",value:function(){var e=this.props,t=e.builtinPlacements,n=e.arrowPointAtCenter,r=e.autoAdjustOverflow;return t||function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.arrowWidth,n=void 0===t?5:t,r=e.horizontalArrowShift,o=void 0===r?16:r,i=e.verticalArrowShift,a=void 0===i?12:i,l=e.autoAdjustOverflow,c=void 0===l||l,s={left:{points:["cr","cl"],offset:[-4,0]},right:{points:["cl","cr"],offset:[4,0]},top:{points:["bc","tc"],offset:[0,-4]},bottom:{points:["tc","bc"],offset:[0,4]},topLeft:{points:["bl","tc"],offset:[-(o+n),-4]},leftTop:{points:["tr","cl"],offset:[-4,-(a+n)]},topRight:{points:["br","tc"],offset:[o+n,-4]},rightTop:{points:["tl","cr"],offset:[4,-(a+n)]},bottomRight:{points:["tr","bc"],offset:[o+n,4]},rightBottom:{points:["bl","cr"],offset:[4,a+n]},bottomLeft:{points:["tl","bc"],offset:[-(o+n),4]},leftBottom:{points:["br","cl"],offset:[-4,a+n]}};return Object.keys(s).forEach((function(t){s[t]=e.arrowPointAtCenter?E(E({},s[t]),{overflow:A(c),targetOffset:P}):E(E({},x[t]),{overflow:A(c)}),s[t].ignoreShake=!0})),s}({arrowPointAtCenter:n,verticalArrowShift:8,autoAdjustOverflow:r})}},{key:"isNoTitle",value:function(){var e=this.props,t=e.title,n=e.overlay;return!t&&!n&&0!==t}},{key:"getOverlay",value:function(){var e=this.props,t=e.title,n=e.overlay;return 0===t?t:n||t||""}},{key:"render",value:function(){return r.createElement(j.a,null,this.renderTooltip)}}])&&N(t.prototype,n),o&&N(t,o),a}(r.Component);B.defaultProps={placement:"top",transitionName:"zoom-big-fast",mouseEnterDelay:.1,mouseLeaveDelay:.1,arrowPointAtCenter:!1,autoAdjustOverflow:!0},Object(i.polyfill)(B);t.default=B},"3SYV":function(e,t,n){"use strict";e.exports=function(){}},"3UD+":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}},"3WiY":function(e,t,n){var r=n("Y7ZC");r(r.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},"3YpW":function(e,t,n){n("KOQb")("Set")},"3x3+":function(e,t,n){"use strict";var r=n("61s2");t.a=r.a},"3xty":function(e,t,n){var r=n("XKFU"),o=n("2OiF"),i=n("y3w9"),a=(n("dyZX").Reflect||{}).apply,l=Function.apply;r(r.S+r.F*!n("eeVq")((function(){a((function(){}))})),"Reflect",{apply:function(e,t,n){var r=o(e),c=i(n);return a?a(r,t,c):l.call(r,t,c)}})},"3zPy":function(e,t){function n(e){if(e&&"object"==typeof e){var t=e.which||e.keyCode||e.charCode;t&&(e=t)}if("number"==typeof e)return a[e];var n,i=String(e);return(n=r[i.toLowerCase()])?n:(n=o[i.toLowerCase()])||(1===i.length?i.charCodeAt(0):void 0)}n.isEventKey=function(e,t){if(e&&"object"==typeof e){var n=e.which||e.keyCode||e.charCode;if(null==n)return!1;if("string"==typeof t){var i;if(i=r[t.toLowerCase()])return i===n;if(i=o[t.toLowerCase()])return i===n}else if("number"==typeof t)return t===n;return!1}};var r=(t=e.exports=n).code=t.codes={backspace:8,tab:9,enter:13,shift:16,ctrl:17,alt:18,"pause/break":19,"caps lock":20,esc:27,space:32,"page up":33,"page down":34,end:35,home:36,left:37,up:38,right:39,down:40,insert:45,delete:46,command:91,"left command":91,"right command":93,"numpad *":106,"numpad +":107,"numpad -":109,"numpad .":110,"numpad /":111,"num lock":144,"scroll lock":145,"my computer":182,"my calculator":183,";":186,"=":187,",":188,"-":189,".":190,"/":191,"`":192,"[":219,"\\":220,"]":221,"'":222},o=t.aliases={windows:91,"⇧":16,"⌥":18,"⌃":17,"⌘":91,ctl:17,control:17,option:18,pause:19,break:19,caps:20,return:13,escape:27,spc:32,spacebar:32,pgup:33,pgdn:34,ins:45,del:46,cmd:91};for(i=97;i<123;i++)r[String.fromCharCode(i)]=i-32;for(var i=48;i<58;i++)r[i-48]=i;for(i=1;i<13;i++)r["f"+i]=i+111;for(i=0;i<10;i++)r["numpad "+i]=i+96;var a=t.names=t.title={};for(i in r)a[r[i]]=i;for(var l in o)r[l]=o[l]},"40dm":function(e,t,n){"use strict";var r=n("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n("pVnL")),i=r(n("lSNA")),a=r(n("QILm")),l=r(n("cWOT")),c=r(n("lwsE")),s=r(n("W8MJ")),u=r(n("a1gu")),f=r(n("7W2i")),h=r(n("PJYZ")),p=r(n("q1tI")),d=(r(n("17x9")),r(n("TSYQ"))),m=r(n("S3Uj")),v=function(e){function t(){var e,n,r;(0,c.default)(this,t);for(var o=arguments.length,i=new Array(o),a=0;a=r.F1&&t<=r.F12)return!1;switch(t){case r.ALT:case r.CAPS_LOCK:case r.CONTEXT_MENU:case r.CTRL:case r.DOWN:case r.END:case r.ESC:case r.HOME:case r.INSERT:case r.LEFT:case r.MAC_FF_META:case r.META:case r.NUMLOCK:case r.NUM_CENTER:case r.PAGE_DOWN:case r.PAGE_UP:case r.PAUSE:case r.PRINT_SCREEN:case r.RIGHT:case r.SHIFT:case r.UP:case r.WIN_KEY:case r.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(e){if(e>=r.ZERO&&e<=r.NINE)return!0;if(e>=r.NUM_ZERO&&e<=r.NUM_MULTIPLY)return!0;if(e>=r.A&&e<=r.Z)return!0;if(-1!==window.navigator.userAgent.indexOf("WebKit")&&0===e)return!0;switch(e){case r.SPACE:case r.QUESTION_MARK:case r.NUM_PLUS:case r.NUM_MINUS:case r.NUM_PERIOD:case r.NUM_DIVISION:case r.SEMICOLON:case r.DASH:case r.EQUALS:case r.COMMA:case r.PERIOD:case r.SLASH:case r.APOSTROPHE:case r.SINGLE_QUOTE:case r.OPEN_SQUARE_BRACKET:case r.BACKSLASH:case r.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};t.a=r},"4LiD":function(e,t,n){"use strict";var r=n("dyZX"),o=n("XKFU"),i=n("KroJ"),a=n("3Lyj"),l=n("Z6vF"),c=n("SlkY"),s=n("9gX7"),u=n("0/R4"),f=n("eeVq"),h=n("XMVh"),p=n("fyDq"),d=n("Xbzi");e.exports=function(e,t,n,m,v,y){var g=r[e],b=g,w=v?"set":"add",x=b&&b.prototype,_={},k=function(e){var t=x[e];i(x,e,"delete"==e||"has"==e?function(e){return!(y&&!u(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return y&&!u(e)?void 0:t.call(this,0===e?0:e)}:"add"==e?function(e){return t.call(this,0===e?0:e),this}:function(e,n){return t.call(this,0===e?0:e,n),this})};if("function"==typeof b&&(y||x.forEach&&!f((function(){(new b).entries().next()})))){var S=new b,O=S[w](y?{}:-0,1)!=S,M=f((function(){S.has(1)})),T=h((function(e){new b(e)})),E=!y&&f((function(){for(var e=new b,t=5;t--;)e[w](t,t);return!e.has(-0)}));T||((b=t((function(t,n){s(t,b,e);var r=d(new g,t,b);return null!=n&&c(n,v,r[w],r),r}))).prototype=x,x.constructor=b),(M||E)&&(k("delete"),k("has"),v&&k("get")),(E||O)&&k(w),y&&x.clear&&delete x.clear}else b=m.getConstructor(t,e,v,w),a(b.prototype,n),l.NEED=!0;return p(b,e),_[e]=b,o(o.G+o.W+o.F*(b!=g),_),y||m.setStrong(b,e,v),b}},"4MG8":function(e,t,n){const r=n("T9Ld"),o=n("66f7"),i=n("T7TJ"),a=n("SbYC"),l=n("+/fp"),c=n("J7Ao"),{merge:s,checkSanitizeDeprecation:u,escape:f}=n("rUJ1"),{getDefaults:h,changeDefaults:p,defaults:d}=n("vbtb");function m(e,t,n){if(null==e)throw new Error("marked(): input parameter is undefined or null");if("string"!=typeof e)throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected");if(n||"function"==typeof t){n||(n=t,t=null),t=s({},m.defaults,t||{}),u(t);const i=t.highlight;let a,l,c=0;try{a=r.lex(e,t)}catch(e){return n(e)}l=a.length;const f=function(e){if(e)return t.highlight=i,n(e);let r;try{r=o.parse(a,t)}catch(t){e=t}return t.highlight=i,e?n(e):n(null,r)};if(!i||i.length<3)return f();if(delete t.highlight,!l)return f();for(;cAn error occurred:

"+f(e.message+"",!0)+"
";throw e}}m.options=m.setOptions=function(e){return s(m.defaults,e),p(m.defaults),m},m.getDefaults=h,m.defaults=d,m.use=function(e){const t=s({},e);if(e.renderer){const n=m.defaults.renderer||new a;for(const t in e.renderer){const r=n[t];n[t]=(...o)=>{let i=e.renderer[t].apply(n,o);return!1===i&&(i=r.apply(n,o)),i}}t.renderer=n}if(e.tokenizer){const n=m.defaults.tokenizer||new i;for(const t in e.tokenizer){const r=n[t];n[t]=(...o)=>{let i=e.tokenizer[t].apply(n,o);return!1===i&&(i=r.apply(n,o)),i}}t.tokenizer=n}m.setOptions(t)},m.Parser=o,m.parser=o.parse,m.Renderer=a,m.TextRenderer=l,m.Lexer=r,m.lexer=r.lex,m.Tokenizer=i,m.Slugger=c,m.parse=m,e.exports=m},"4R4u":function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},"4p7I":function(e,t,n){"use strict";var r=n("2W6z"),o=n.n(r),i=n("QLaP"),a=n.n(i),l=n("q1tI"),c=n.n(l),s=n("17x9"),u=n.n(s),f=n("SsKX"),h=Object.assign||function(e){for(var t=1;t or withRouter() outside a ");var s=t.route,u=(r||s.location).pathname;return Object(f.a)(u,{path:o,strict:i,exact:l,sensitive:c},s.match)},t.prototype.componentWillMount=function(){o()(!(this.props.component&&this.props.render),"You should not use and in the same route; will be ignored"),o()(!(this.props.component&&this.props.children&&!m(this.props.children)),"You should not use and in the same route; will be ignored"),o()(!(this.props.render&&this.props.children&&!m(this.props.children)),"You should not use and in the same route; will be ignored")},t.prototype.componentWillReceiveProps=function(e,t){o()(!(e.location&&!this.props.location),' elements should not change from uncontrolled to controlled (or vice versa). You initially used no "location" prop and then provided one on a subsequent render.'),o()(!(!e.location&&this.props.location),' elements should not change from controlled to uncontrolled (or vice versa). You provided a "location" prop initially but omitted it on a subsequent render.'),this.setState({match:this.computeMatch(e,t.router)})},t.prototype.render=function(){var e=this.state.match,t=this.props,n=t.children,r=t.component,o=t.render,i=this.context.router,a=i.history,l=i.route,s=i.staticContext,u={match:e,location:this.props.location||l.location,history:a,staticContext:s};return r?e?c.a.createElement(r,u):null:o?e?o(u):null:"function"==typeof n?n(u):n&&!m(n)?c.a.Children.only(n):null},t}(c.a.Component);v.propTypes={computedMatch:u.a.object,path:u.a.string,exact:u.a.bool,strict:u.a.bool,sensitive:u.a.bool,component:u.a.func,render:u.a.func,children:u.a.oneOfType([u.a.func,u.a.node]),location:u.a.object},v.contextTypes={router:u.a.shape({history:u.a.object.isRequired,route:u.a.object.isRequired,staticContext:u.a.object})},v.childContextTypes={router:u.a.object.isRequired},t.a=v},"4piT":function(e,t,n){"use strict";var r=n("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n("cWOT")),i=r(n("lwsE")),a=r(n("W8MJ")),l=r(n("a1gu")),c=r(n("7W2i")),s=r(n("PJYZ")),u=r(n("q1tI")),f=r(n("i8i4")),h=(r(n("17x9")),r(n("o43f")));r(n("i4o0"));var p=function(e){function t(){var e,n,r;(0,i.default)(this,t);for(var a=arguments.length,c=new Array(a),u=0;u0&&void 0!==arguments[0]?arguments[0]:{},t=e.palette,n=void 0===t?{}:t,r=e.breakpoints,m=void 0===r?{}:r,v=e.mixins,y=void 0===v?{}:v,g=e.typography,b=void 0===g?{}:g,w=e.shadows,x=(0,i.default)(e,["palette","breakpoints","mixins","typography","shadows"]),_=(0,s.default)(n),k=(0,c.default)(m),S=(0,o.default)({breakpoints:k,direction:"ltr",mixins:(0,u.default)(k,d.default,y),overrides:{},palette:_,props:{},shadows:w||f.default,typography:(0,l.default)(_,b)},(0,a.default)({transitions:h.default,spacing:d.default,zIndex:p.default},x));return S};t.default=m},"5Cgt":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Mixcloud=void 0;var r,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==c(e)&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o]}n.default=e,t&&t.set(e,n);return n}(n("q1tI")),i=n("tbWI"),a=(r=n("LVMo"))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){for(var n=0;nc;)r(l,n=t[c++])&&(~i(s,n)||s.push(n));return s}},"6/1s":function(e,t,n){var r=n("YqAc")("meta"),o=n("93I4"),i=n("B+OT"),a=n("2faE").f,l=0,c=Object.isExtensible||function(){return!0},s=!n("KUxP")((function(){return c(Object.preventExtensions({}))})),u=function(e){a(e,r,{value:{i:"O"+ ++l,w:{}}})},f=e.exports={KEY:r,NEED:!1,fastKey:function(e,t){if(!o(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!i(e,r)){if(!c(e))return"F";if(!t)return"E";u(e)}return e[r].i},getWeak:function(e,t){if(!i(e,r)){if(!c(e))return!0;if(!t)return!1;u(e)}return e[r].w},onFreeze:function(e){return s&&f.NEED&&c(e)&&!i(e,r)&&u(e),e}}},"61Rg":function(e,t,n){"use strict";var r=n("FGEo");t.__esModule=!0,t.default=void 0;var o=r(n("Bp9Y")).default?function(e,t){return e.contains?e.contains(t):e.compareDocumentPosition?e===t||!!(16&e.compareDocumentPosition(t)):i(e,t)}:i;function i(e,t){if(t)do{if(t===e)return!0}while(t=t.parentNode);return!1}t.default=o,e.exports=t.default},"61SU":function(e,t,n){(function(t){for(var r=n("bQgK"),o="undefined"==typeof window?t:window,i=["moz","webkit"],a="AnimationFrame",l=o["request"+a],c=o["cancel"+a]||o["cancelRequest"+a],s=0;!l&&s0&&"text"===y.tokens[0].tokens[0].type&&(y.tokens[0].tokens[0].text=w+" "+y.tokens[0].tokens[0].text)):y.tokens.unshift({type:"text",text:w}):v+=w),v+=this.parse(y.tokens,m),f+=this.renderer.listitem(v,b,g);x+=this.renderer.list(f,p,d);continue;case"html":x+=this.renderer.html(h.text);continue;case"paragraph":x+=this.renderer.paragraph(this.parseInline(h.tokens));continue;case"text":for(f=h.tokens?this.parseInline(h.tokens):h.text;n+1<_&&"text"===e[n+1].type;)h=e[++n],f+="\n"+(h.tokens?this.parseInline(h.tokens):h.text);x+=t?this.renderer.paragraph(f):f;continue;default:{const e='Token with "'+h.type+'" type was not found.';if(this.options.silent)return void console.error(e);throw new Error(e)}}return x}parseInline(e,t){t=t||this.renderer;let n,r,o="";const i=e.length;for(n=0;ne;)o(n,e,arguments[e++]);return n.length=t,n}})},"6CfX":function(e,t,n){"use strict";var r=n("Kwbf");t.a=function(e,t,n){Object(r.a)(e,"[antd: ".concat(t,"] ").concat(n))}},"6FMO":function(e,t,n){var r=n("0/R4"),o=n("EWmC"),i=n("K0xU")("species");e.exports=function(e){var t;return o(e)&&("function"!=typeof(t=e.constructor)||t!==Array&&!o(t.prototype)||(t=void 0),r(t)&&null===(t=t[i])&&(t=void 0)),void 0===t?Array:t}},"6VaU":function(e,t,n){"use strict";var r=n("XKFU"),o=n("xF/b"),i=n("S/j/"),a=n("ne8i"),l=n("2OiF"),c=n("zRwo");r(r.P,"Array",{flatMap:function(e){var t,n,r=i(this);return l(e),t=a(r.length),n=c(r,0),o(n,r,r,t,0,1,e,arguments[1]),n}}),n("nGyu")("flatMap")},"6dIT":function(e,t){e.exports=Math.scale||function(e,t,n,r,o){return 0===arguments.length||e!=e||t!=t||n!=n||r!=r||o!=o?NaN:e===1/0||e===-1/0?e:(e-t)*(o-r)/(n-t)+r}},"6tYh":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"FilePlayer",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"YouTube",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(t,"SoundCloud",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(t,"Vimeo",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(t,"Facebook",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(t,"Streamable",{enumerable:!0,get:function(){return m.default}}),Object.defineProperty(t,"Wistia",{enumerable:!0,get:function(){return v.default}}),Object.defineProperty(t,"Twitch",{enumerable:!0,get:function(){return y.default}}),Object.defineProperty(t,"DailyMotion",{enumerable:!0,get:function(){return g.default}}),Object.defineProperty(t,"Mixcloud",{enumerable:!0,get:function(){return b.default}}),t.default=void 0;var r=_(n("q1tI")),o=n("QXAm"),i=n("tbWI"),a=w(n("zuFh")),l=w(n("q+qS")),c=w(n("fflM")),s=_(n("bq/u")),u=w(n("fn3U")),f=w(n("/6c9")),h=w(n("xkkJ")),p=w(n("LLoX")),d=w(n("f77o")),m=w(n("GdC5")),v=w(n("W4/P")),y=w(n("bA2t")),g=w(n("Rom6")),b=w(n("5Cgt"));function w(e){return e&&e.__esModule?e:{default:e}}function x(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return x=function(){return e},e}function _(e){if(e&&e.__esModule)return e;if(null===e||"object"!==k(e)&&"function"!=typeof e)return{default:e};var t=x();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o]}return n.default=e,t&&t.set(e,n),n}function k(e){return(k="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function S(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function O(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&void 0!==arguments[0]?arguments[0]:"player";return e.player?e.player.getInternalPlayer(t):null})),H(A(e),"seekTo",(function(t,n){if(!e.player)return null;e.player.seekTo(t,n)})),H(A(e),"handleReady",(function(){e.props.onReady(A(e))})),H(A(e),"wrapperRef",(function(t){e.wrapper=t})),H(A(e),"activePlayerRef",(function(t){e.player=t})),e}return n=d,(f=[{key:"componentDidMount",value:function(){this.props.progressFrequency&&console.warn("ReactPlayer: %cprogressFrequency%c is deprecated, please use %cprogressInterval%c instead","font-weight: bold","","font-weight: bold","")}},{key:"shouldComponentUpdate",value:function(e,t){return!(0,i.isEqual)(this.props,e)||!(0,i.isEqual)(this.state,t)}},{key:"componentDidUpdate",value:function(e){var t=this.props.light;this.config=(0,i.getConfig)(this.props,o.defaultProps),!e.light&&t&&this.setState({showPreview:!0}),e.light&&!t&&this.setState({showPreview:!1})}},{key:"getActivePlayer",value:function(e){for(var t=0,n=[].concat(T(I),T(a.default));tn;)o[n]=t[n++];return o},ze=function(e,t,n){F(e,t,{get:function(){return this._d[n]}})},Ce=function(e){var t,n,r,o,i,a,l=_(e),c=arguments.length,u=c>1?arguments[1]:void 0,f=void 0!==u,h=T(l);if(null!=h&&!k(h)){for(a=h.call(l),r=[],t=0;!(i=a.next()).done;t++)r.push(i.value);l=r}for(f&&c>2&&(u=s(u,arguments[2],2)),t=0,n=m(l.length),o=Me(this,n);n>t;t++)o[t]=f?u(l[t],t):l[t];return o},Pe=function(){for(var e=0,t=arguments.length,n=Me(this,t);t>e;)n[e]=arguments[e++];return n},Ae=!!W&&i((function(){pe.call(new W(1))})),je=function(){return pe.apply(Ae?fe.call(Oe(this)):Oe(this),arguments)},Le={copyWithin:function(e,t){return I.call(Oe(this),e,t,arguments.length>2?arguments[2]:void 0)},every:function(e){return Z(Oe(this),e,arguments.length>1?arguments[1]:void 0)},fill:function(e){return R.apply(Oe(this),arguments)},filter:function(e){return Te(this,J(Oe(this),e,arguments.length>1?arguments[1]:void 0))},find:function(e){return $(Oe(this),e,arguments.length>1?arguments[1]:void 0)},findIndex:function(e){return ee(Oe(this),e,arguments.length>1?arguments[1]:void 0)},forEach:function(e){X(Oe(this),e,arguments.length>1?arguments[1]:void 0)},indexOf:function(e){return ne(Oe(this),e,arguments.length>1?arguments[1]:void 0)},includes:function(e){return te(Oe(this),e,arguments.length>1?arguments[1]:void 0)},join:function(e){return se.apply(Oe(this),arguments)},lastIndexOf:function(e){return ae.apply(Oe(this),arguments)},map:function(e){return xe(Oe(this),e,arguments.length>1?arguments[1]:void 0)},reduce:function(e){return le.apply(Oe(this),arguments)},reduceRight:function(e){return ce.apply(Oe(this),arguments)},reverse:function(){for(var e,t=Oe(this).length,n=Math.floor(t/2),r=0;r1?arguments[1]:void 0)},sort:function(e){return ue.call(Oe(this),e)},subarray:function(e,t){var n=Oe(this),r=n.length,o=y(e,r);return new(A(n,n[ye]))(n.buffer,n.byteOffset+o*n.BYTES_PER_ELEMENT,m((void 0===t?r:y(t,r))-o))}},Ne=function(e,t){return Te(this,fe.call(Oe(this),e,t))},He=function(e){Oe(this);var t=Se(arguments[1],1),n=this.length,r=_(e),o=m(r.length),i=0;if(o+t>n)throw B("Wrong length!");for(;i255?255:255&r),o.v[p](n*t+o.o,r,_e)}(this,n,e)},enumerable:!0})};b?(d=n((function(e,n,r,o){u(e,d,s,"_d");var i,a,l,c,f=0,p=0;if(x(n)){if(!(n instanceof G||"ArrayBuffer"==(c=w(n))||"SharedArrayBuffer"==c))return be in n?Ee(d,n):Ce.call(d,n);i=n,p=Se(r,t);var y=n.byteLength;if(void 0===o){if(y%t)throw B("Wrong length!");if((a=y-p)<0)throw B("Wrong length!")}else if((a=m(o)*t)+p>y)throw B("Wrong length!");l=a/t}else l=v(n),i=new G(a=l*t);for(h(e,"_d",{b:i,o:p,l:a,e:l,v:new K(i)});f>1,u=23===t?O(2,-24)-O(2,-77):0,f=0,h=e<0||0===e&&1/e<0?1:0;for((e=S(e))!=e||e===_?(o=e!=e?1:0,r=c):(r=M(T(e)/E),e*(i=O(2,-r))<1&&(r--,i*=2),(e+=r+s>=1?u/i:u*O(2,1-s))*i>=2&&(r++,i/=2),r+s>=c?(o=0,r=c):r+s>=1?(o=(e*i-1)*O(2,t),r+=s):(o=e*O(2,s-1)*O(2,t),r=0));t>=8;a[f++]=255&o,o/=256,t-=8);for(r=r<0;a[f++]=255&r,r/=256,l-=8);return a[--f]|=128*h,a}function j(e,t,n){var r,o=8*n-t-1,i=(1<>1,l=o-7,c=n-1,s=e[c--],u=127&s;for(s>>=7;l>0;u=256*u+e[c],c--,l-=8);for(r=u&(1<<-l)-1,u>>=-l,l+=t;l>0;r=256*r+e[c],c--,l-=8);if(0===u)u=1-a;else{if(u===i)return r?NaN:s?-_:_;r+=O(2,t),u-=a}return(s?-1:1)*r*O(2,u-t)}function L(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]}function N(e){return[255&e]}function H(e){return[255&e,e>>8&255]}function R(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]}function I(e){return A(e,52,8)}function V(e){return A(e,23,4)}function D(e,t,n){m(e.prototype,t,{get:function(){return this[n]}})}function F(e,t,n,r){var o=p(+n);if(o+t>e[C])throw x("Wrong index!");var i=e[z]._b,a=o+e[P],l=i.slice(a,a+t);return r?l:l.reverse()}function q(e,t,n,r,o,i){var a=p(+n);if(a+t>e[C])throw x("Wrong index!");for(var l=e[z]._b,c=a+e[P],s=r(+o),u=0;uY;)(B=W[Y++])in g||l(g,B,k[B]);i||(U.constructor=g)}var G=new b(new g(2)),K=b.prototype.setInt8;G.setInt8(0,2147483648),G.setInt8(1,2147483649),!G.getInt8(0)&&G.getInt8(1)||c(b.prototype,{setInt8:function(e,t){K.call(this,e,t<<24>>24)},setUint8:function(e,t){K.call(this,e,t<<24>>24)}},!0)}else g=function(e){u(this,g,"ArrayBuffer");var t=p(e);this._b=v.call(new Array(t),0),this[C]=t},b=function(e,t,n){u(this,b,"DataView"),u(e,g,"DataView");var r=e[C],o=f(t);if(o<0||o>r)throw x("Wrong offset!");if(o+(n=void 0===n?r-o:h(n))>r)throw x("Wrong length!");this[z]=e,this[P]=o,this[C]=n},o&&(D(g,"byteLength","_l"),D(b,"buffer","_b"),D(b,"byteLength","_l"),D(b,"byteOffset","_o")),c(b.prototype,{getInt8:function(e){return F(this,1,e)[0]<<24>>24},getUint8:function(e){return F(this,1,e)[0]},getInt16:function(e){var t=F(this,2,e,arguments[1]);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=F(this,2,e,arguments[1]);return t[1]<<8|t[0]},getInt32:function(e){return L(F(this,4,e,arguments[1]))},getUint32:function(e){return L(F(this,4,e,arguments[1]))>>>0},getFloat32:function(e){return j(F(this,4,e,arguments[1]),23,4)},getFloat64:function(e){return j(F(this,8,e,arguments[1]),52,8)},setInt8:function(e,t){q(this,1,e,N,t)},setUint8:function(e,t){q(this,1,e,N,t)},setInt16:function(e,t){q(this,2,e,H,t,arguments[2])},setUint16:function(e,t){q(this,2,e,H,t,arguments[2])},setInt32:function(e,t){q(this,4,e,R,t,arguments[2])},setUint32:function(e,t){q(this,4,e,R,t,arguments[2])},setFloat32:function(e,t){q(this,4,e,V,t,arguments[2])},setFloat64:function(e,t){q(this,8,e,I,t,arguments[2])}});y(g,"ArrayBuffer"),y(b,"DataView"),l(b.prototype,a.VIEW,!0),t.ArrayBuffer=g,t.DataView=b},"7TPF":function(e,t,n){n("AUvm"),e.exports=n("WEpk").Object.getOwnPropertySymbols},"7VC1":function(e,t,n){"use strict";var r=n("XKFU"),o=n("Lgjv"),i=n("ol8x"),a=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(i);r(r.P+r.F*a,"String",{padEnd:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0,!1)}})},"7W2i":function(e,t,n){var r=n("r4Cf"),o=n("SksO");e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=r(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o(e,t)}},"7X58":function(e,t,n){var r=n("XKFU");r(r.S,"Math",{signbit:function(e){return(e=+e)!=e?e:0==e?1/e==1/0:e>0}})},"7apM":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.requestProxy=function(e){var t=e.url;if(-1!==t.indexOf(".json"))return e;e.withCredentials=!1;var n=t.split("?"),a=n[0],l=void 0,c=void 0;(l=r[a])||o.forEach((function(t,r){var o=a.match(t);if(o){var s=i[r];return l=s&&s(o),c=l+"?"+n[1],e.url=c,e}}));return e};var r={},o=[/\/api\/v1\/games\/(\w*)\/choose_build/i],i=[function(e){return"/tasks/"+e[1]+"/choose_build.json"}]},"7h0T":function(e,t,n){var r=n("XKFU");r(r.S,"Number",{isNaN:function(e){return e!=e}})},"8+KV":function(e,t,n){"use strict";var r=n("XKFU"),o=n("CkkT")(0),i=n("LyE8")([].forEach,!0);r(r.P+r.F*!i,"Array",{forEach:function(e){return o(this,e,arguments[1])}})},"8/o9":function(e,t,n){"use strict";n.r(t);n("SchZ"),n("PYb6")},"84bF":function(e,t,n){"use strict";n("OGtf")("small",(function(e){return function(){return e(this,"small","","")}}))},"86LW":function(e,t,n){(function(t){!function(t){"use strict";var n=Object.prototype,r=n.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag",c="object"==typeof e,s=t.regeneratorRuntime;if(s)c&&(e.exports=s);else{(s=t.regeneratorRuntime=c?e.exports:{}).wrap=m;var u={},f={};f[i]=function(){return this};var h=Object.getPrototypeOf,p=h&&h(h(M([])));p&&p!==n&&r.call(p,i)&&(f=p);var d=b.prototype=y.prototype=Object.create(f);g.prototype=d.constructor=b,b.constructor=g,b[l]=g.displayName="GeneratorFunction",s.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===g||"GeneratorFunction"===(t.displayName||t.name))},s.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,l in e||(e[l]="GeneratorFunction")),e.prototype=Object.create(d),e},s.awrap=function(e){return{__await:e}},w(x.prototype),x.prototype[a]=function(){return this},s.AsyncIterator=x,s.async=function(e,t,n,r){var o=new x(m(e,t,n,r));return s.isGeneratorFunction(t)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},w(d),d[l]="Generator",d[i]=function(){return this},d.toString=function(){return"[object Generator]"},s.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},s.values=M,O.prototype={constructor:O,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var l=r.call(i,"catchLoc"),c=r.call(i,"finallyLoc");if(l&&c){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),S(n),u}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;S(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:M(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),u}}}function m(e,t,n,r){var o=t&&t.prototype instanceof y?t:y,i=Object.create(o.prototype),a=new O(r||[]);return i._invoke=function(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return T()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var l=_(a,n);if(l){if(l===u)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var c=v(e,t,n);if("normal"===c.type){if(r=n.done?"completed":"suspendedYield",c.arg===u)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r="completed",n.method="throw",n.arg=c.arg)}}}(e,n,a),i}function v(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}function y(){}function g(){}function b(){}function w(e){["next","throw","return"].forEach((function(t){e[t]=function(e){return this._invoke(t,e)}}))}function x(e){function n(t,o,i,a){var l=v(e[t],e,o);if("throw"!==l.type){var c=l.arg,s=c.value;return s&&"object"==typeof s&&r.call(s,"__await")?Promise.resolve(s.__await).then((function(e){n("next",e,i,a)}),(function(e){n("throw",e,i,a)})):Promise.resolve(s).then((function(e){c.value=e,i(c)}),a)}a(l.arg)}var o;"object"==typeof t.process&&t.process.domain&&(n=t.process.domain.bind(n)),this._invoke=function(e,t){function r(){return new Promise((function(r,o){n(e,t,r,o)}))}return o=o?o.then(r,r):r()}}function _(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,_(e,t),"throw"===t.method))return u;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return u}var r=v(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,u;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,u):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,u)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function O(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function M(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,o=function t(){for(;++n0&&void 0!==arguments[0]?arguments[0]:l,t=arguments[1];switch(t.type){case a.default.GET_JUPYTER_DATA_SETS:var n=t.payload,r=n.data_sets,i=n.data_sets_count,c=n.folder_name,s=e.jupyter_data_set;return r.map((function(e,t){s.push(e)})),o({},e,{jupyter_data_set:s,jupyter_data_set_count:i,jupyter_folder_name:c});case a.default.GET_JUPYTER_TPI_URL:var u=t.payload,f=u.url,h=u.status,p=u.port;return o({},e,{jupyter_tpi_url:f,jupyter_tpi_url_state:h,jupyter_tpi_code:p});case a.default.SAVE_JUPYTER_IDENTIFIER:return o({},e,{jupyter_identifier:t.payload});case a.default.SAVE_JUPYTER_INFO:return o({},e,{jupyter_info:t.payload});case a.default.CHANGE_JUPYTER_URL_STATE:return o({},e,{jupyter_tpi_url_state:t.payload});case a.default.CHANGE_JUPYTER_CURRENT_PAGE:return o({},e,{jupyter_pagination:Object.assign({},e.jupyter_pagination,{page:t.payload})});default:return o({},e)}}},"8Lis":function(e,t,n){"use strict";var r=n("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=r(n("pVnL")),i=r(n("lSNA")),a=r(n("QILm")),l=r(n("MVZn")),c=r(n("q1tI")),s=(r(n("17x9")),r(n("TSYQ"))),u=r(n("d05B")),f=n("JS0+"),h=r(n("tC+R")),p=n("fvma"),d=function(e){return{root:(0,l.default)({},e.typography.button,{lineHeight:"1.4em",boxSizing:"border-box",minWidth:11*e.spacing.unit,minHeight:36,padding:"".concat(e.spacing.unit,"px ").concat(2*e.spacing.unit,"px"),borderRadius:2,color:e.palette.text.primary,transition:e.transitions.create(["background-color","box-shadow"],{duration:e.transitions.duration.short}),"&:hover":{textDecoration:"none",backgroundColor:(0,f.fade)(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"},"&$disabled":{backgroundColor:"transparent"}},"&$disabled":{color:e.palette.action.disabled}}),label:{width:"100%",display:"inherit",alignItems:"inherit",justifyContent:"inherit"},flatPrimary:{color:e.palette.primary.main,"&:hover":{backgroundColor:(0,f.fade)(e.palette.primary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},flatSecondary:{color:e.palette.secondary.main,"&:hover":{backgroundColor:(0,f.fade)(e.palette.secondary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},colorInherit:{color:"inherit"},raised:{color:e.palette.getContrastText(e.palette.grey[300]),backgroundColor:e.palette.grey[300],boxShadow:e.shadows[2],"&$focusVisible":{boxShadow:e.shadows[6]},"&:active":{boxShadow:e.shadows[8]},"&$disabled":{color:e.palette.action.disabled,boxShadow:e.shadows[0],backgroundColor:e.palette.action.disabledBackground},"&:hover":{backgroundColor:e.palette.grey.A100,"@media (hover: none)":{backgroundColor:e.palette.grey[300]},"&$disabled":{backgroundColor:e.palette.action.disabledBackground}}},raisedPrimary:{color:e.palette.primary.contrastText,backgroundColor:e.palette.primary.main,"&:hover":{backgroundColor:e.palette.primary.dark,"@media (hover: none)":{backgroundColor:e.palette.primary.main}}},raisedSecondary:{color:e.palette.secondary.contrastText,backgroundColor:e.palette.secondary.main,"&:hover":{backgroundColor:e.palette.secondary.dark,"@media (hover: none)":{backgroundColor:e.palette.secondary.main}}},focusVisible:{},disabled:{},fab:{borderRadius:"50%",padding:0,minWidth:0,width:56,fontSize:24,height:56,boxShadow:e.shadows[6],"&:active":{boxShadow:e.shadows[12]}},mini:{width:40,height:40},sizeSmall:{padding:"".concat(e.spacing.unit-1,"px ").concat(e.spacing.unit,"px"),minWidth:8*e.spacing.unit,minHeight:32,fontSize:e.typography.pxToRem(13)},sizeLarge:{padding:"".concat(e.spacing.unit,"px ").concat(3*e.spacing.unit,"px"),minWidth:14*e.spacing.unit,minHeight:40,fontSize:e.typography.pxToRem(15)},fullWidth:{width:"100%"}}};function m(e){var t,n=e.children,r=e.classes,l=e.className,u=e.color,f=e.disabled,d=e.disableFocusRipple,m=e.fullWidth,v=e.focusVisibleClassName,y=e.mini,g=e.size,b=e.variant,w=(0,a.default)(e,["children","classes","className","color","disabled","disableFocusRipple","fullWidth","focusVisibleClassName","mini","size","variant"]),x="fab"===b,_="raised"===b,k=!_&&!x,S=(0,s.default)(r.root,(t={},(0,i.default)(t,r.raised,_||x),(0,i.default)(t,r.fab,x),(0,i.default)(t,r.mini,x&&y),(0,i.default)(t,r.colorInherit,"inherit"===u),(0,i.default)(t,r.flatPrimary,k&&"primary"===u),(0,i.default)(t,r.flatSecondary,k&&"secondary"===u),(0,i.default)(t,r.raisedPrimary,!k&&"primary"===u),(0,i.default)(t,r.raisedSecondary,!k&&"secondary"===u),(0,i.default)(t,r["size".concat((0,p.capitalize)(g))],"medium"!==g),(0,i.default)(t,r.disabled,f),(0,i.default)(t,r.fullWidth,m),t),l);return c.default.createElement(h.default,(0,o.default)({className:S,disabled:f,focusRipple:!d,focusVisibleClassName:(0,s.default)(r.focusVisible,v)},w),c.default.createElement("span",{className:r.label},n))}t.styles=d,m.propTypes={},m.defaultProps={color:"default",disabled:!1,disableFocusRipple:!1,fullWidth:!1,mini:!1,size:"medium",type:"button",variant:"flat"};var v=(0,u.default)(d,{name:"MuiButton"})(m);t.default=v},"8MEG":function(e,t,n){"use strict";var r=n("2OiF"),o=n("0/R4"),i=n("MfQN"),a=[].slice,l={},c=function(e,t,n){if(!(t in l)){for(var r=[],o=0;o ignores the history prop. To use a custom history, use `import { Router }` instead of `import { MemoryRouter as Router }`.")},t.prototype.render=function(){return a.a.createElement(u.a,{history:this.history,children:this.props.children})},t}(a.a.Component);p.propTypes={initialEntries:c.a.array,initialIndex:c.a.number,getUserConfirmation:c.a.func,keyLength:c.a.number,children:c.a.node},t.a=p},"8Y+z":function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e){return e===e.window?e:9===e.nodeType&&(e.defaultView||e.parentWindow)},e.exports=t.default},"8a7r":function(e,t,n){"use strict";var r=n("hswa"),o=n("RjD/");e.exports=function(e,t,n){t in e?r.f(e,t,o(0,n)):e[t]=n}},"8iia":function(e,t,n){var r=n("QMMT"),o=n("RRc/");e.exports=function(e){return function(){if(r(this)!=e)throw TypeError(e+"#toJSON isn't generic");return o(this)}}},"8jD+":function(e,t,n){"use strict";var r=n("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.isNumber=t.isString=t.formatMs=t.duration=t.easing=void 0;r(n("iVxW"));var o=r(n("QILm")),i=r(n("MRPZ")),a=(r(n("PV3f")),{easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"});t.easing=a;var l={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};t.duration=l;var c=function(e){return"".concat(Math.round(e),"ms")};t.formatMs=c;t.isString=function(e){return"string"==typeof e};t.isNumber=function(e){return!(0,i.default)(parseFloat(e))};var s={easing:a,duration:l,create:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["all"],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(){var n=t.duration,r=void 0===n?l.standard:n,i=t.easing,s=void 0===i?a.easeInOut:i,u=t.delay,f=void 0===u?0:u;(0,o.default)(t,["duration","easing","delay"]);return(Array.isArray(e)?e:[e]).map((function(e){return"".concat(e," ").concat("string"==typeof r?r:c(r)," ").concat(s," ").concat("string"==typeof f?f:c(f))})).join(",")}()},getAutoHeightDuration:function(e){if(!e)return 0;var t=e/36;return Math.round(10*(4+15*Math.pow(t,.25)+t/5))}};t.default=s},"8oxe":function(e,t,n){"use strict";var r=n("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n("o43f")),i=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window,n=(0,o.default)(e);return n.defaultView||n.parentView||t};t.default=i},"8tx+":function(e,t,n){"use strict";var r=n("jo6Y"),o=n.n(r),i=n("YEIV"),a=n.n(i),l=n("QbLZ"),c=n.n(l),s=n("iCc5"),u=n.n(s),f=n("V7oC"),h=n.n(f),p=n("FYw3"),d=n.n(p),m=n("mRg0"),v=n.n(m),y=n("q1tI"),g=n.n(y),b=n("17x9"),w=n.n(b),x=n("i8i4"),_=n.n(x),k=n("MFj2"),S=n("2GS6"),O=n("TSYQ"),M=n.n(O),T=function(e){function t(){var e,n,r,o;u()(this,t);for(var i=arguments.length,a=Array(i),l=0;l=n&&(e.updateKey=a[0].updateKey||a[0].key,a.shift()),a.push(e)),{notices:a}}))},r.remove=function(e){r.setState((function(t){return{notices:t.notices.filter((function(t){return t.key!==e}))}}))},o=n,d()(r,o)}return v()(t,e),h()(t,[{key:"getTransitionName",value:function(){var e=this.props,t=e.transitionName;return!t&&e.animation&&(t=e.prefixCls+"-"+e.animation),t}},{key:"render",value:function(){var e,t=this,n=this.props,r=this.state.notices,o=r.map((function(e,o){var i=Boolean(o===r.length-1&&e.updateKey),a=e.updateKey?e.updateKey:e.key,l=Object(S.a)(t.remove.bind(t,e.key),e.onClose);return g.a.createElement(E,c()({prefixCls:n.prefixCls},e,{key:a,update:i,onClose:l,onClick:e.onClick,closeIcon:n.closeIcon}),e.content)})),i=(e={},a()(e,n.prefixCls,1),a()(e,n.className,!!n.className),e);return g.a.createElement("div",{className:M()(i),style:n.style},g.a.createElement(k.a,{transitionName:this.getTransitionName()},o))}}]),t}(y.Component);A.propTypes={prefixCls:w.a.string,transitionName:w.a.string,animation:w.a.oneOfType([w.a.string,w.a.object]),style:w.a.object,maxCount:w.a.number,closeIcon:w.a.node},A.defaultProps={prefixCls:"rc-notification",animation:"fade",style:{top:65,left:"50%"}},A.newInstance=function(e,t){var n=e||{},r=n.getContainer,i=o()(n,["getContainer"]),a=document.createElement("div");r?r().appendChild(a):document.body.appendChild(a);var l=!1;_.a.render(g.a.createElement(A,c()({},i,{ref:function(e){l||(l=!0,t({notice:function(t){e.add(t)},removeNotice:function(t){e.remove(t)},component:e,destroy:function(){_.a.unmountComponentAtNode(a),a.parentNode.removeChild(a)}}))}})),a)};var j=A;t.a=j},"91GP":function(e,t,n){var r=n("XKFU");r(r.S+r.F,"Object",{assign:n("czNK")})},"92dX":function(e,t){function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(t){return"function"==typeof Symbol&&"symbol"===n(Symbol.iterator)?e.exports=r=function(e){return n(e)}:e.exports=r=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":n(e)},r(t)}e.exports=r},"93I4":function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},"93uN":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=function(){function e(e,t){for(var n=0;n0?arguments[0]:void 0)}}),{get:function(e){var t=r.getEntry(o(this,"Map"),e);return t&&t.v},set:function(e,t){return r.def(o(this,"Map"),0===e?0:e,t)}},r,!0)},"9C/b":function(e,t,n){"use strict";var r=n("q1tI"),o=n.n(r),i=n("17x9"),a=n.n(i),l=n("m1lR"),c=n.n(l),s=n("4p7I"),u=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(t,["wrappedComponentRef"]);return o.a.createElement(s.a,{children:function(t){return o.a.createElement(e,u({},r,t,{ref:n}))}})};return t.displayName="withRouter("+(e.displayName||e.name)+")",t.WrappedComponent=e,t.propTypes={wrappedComponentRef:a.a.func},c()(t,e)}},"9IzE":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bytesToSize=function(e){if(0==e)return"0 Byte";var t=parseInt(Math.floor(Math.log(e)/Math.log(1024)));return parseFloat(e/Math.pow(1024,t),2).toFixed(1)+" "+["Bytes","KB","MB","GB","TB"][t]}},"9P93":function(e,t,n){var r=n("XKFU"),o=Math.imul;r(r.S+r.F*n("eeVq")((function(){return-5!=o(4294967295,5)||2!=o.length})),"Math",{imul:function(e,t){var n=+e,r=+t,o=65535&n,i=65535&r;return 0|o*i+((65535&n>>>16)*i+o*(65535&r>>>16)<<16>>>0)}})},"9SKx":function(e,t,n){"use strict";var r=n("FGEo");t.__esModule=!0,t.default=function(e){return(0,o.default)(e.replace(i,"ms-"))};var o=r(n("DZ0b")),i=/^-ms-/;e.exports=t.default},"9VmF":function(e,t,n){"use strict";var r=n("XKFU"),o=n("ne8i"),i=n("0sh+"),a="".startsWith;r(r.P+r.F*n("UUeW")("startsWith"),"String",{startsWith:function(e){var t=i(this,e,"startsWith"),n=o(Math.min(arguments.length>1?arguments[1]:void 0,t.length)),r=String(e);return a?a.call(t,r,n):t.slice(n,n+r.length)===r}})},"9XZr":function(e,t,n){"use strict";var r=n("XKFU"),o=n("Lgjv"),i=n("ol8x"),a=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(i);r(r.P+r.F*a,"String",{padStart:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0,!0)}})},"9gX7":function(e,t){e.exports=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e}},"9oF9":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("ANjH"),o=a(n("sINF")),i=a(n("fhFi"));function a(e){return e&&e.__esModule?e:{default:e}}t.default=function(){return(0,r.createStore)(i.default,(0,r.applyMiddleware)(o.default))}},"9rMk":function(e,t,n){var r=n("XKFU");r(r.S,"Reflect",{has:function(e,t){return t in e}})},"9rSQ":function(e,t,n){"use strict";var r=n("xTJ+");function o(){this.handlers=[]}o.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},o.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},o.prototype.forEach=function(e){r.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=o},A2zW:function(e,t,n){"use strict";var r=n("XKFU"),o=n("RYi7"),i=n("vvmO"),a=n("l0Rn"),l=1..toFixed,c=Math.floor,s=[0,0,0,0,0,0],u="Number.toFixed: incorrect invocation!",f=function(e,t){for(var n=-1,r=t;++n<6;)r+=e*s[n],s[n]=r%1e7,r=c(r/1e7)},h=function(e){for(var t=6,n=0;--t>=0;)n+=s[t],s[t]=c(n/e),n=n%e*1e7},p=function(){for(var e=6,t="";--e>=0;)if(""!==t||0===e||0!==s[e]){var n=String(s[e]);t=""===t?n:t+a.call("0",7-n.length)+n}return t},d=function(e,t,n){return 0===t?n:t%2==1?d(e,t-1,n*e):d(e*e,t/2,n)};r(r.P+r.F*(!!l&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!n("eeVq")((function(){l.call({})}))),"Number",{toFixed:function(e){var t,n,r,l,c=i(this,u),s=o(e),m="",v="0";if(s<0||s>20)throw RangeError(u);if(c!=c)return"NaN";if(c<=-1e21||c>=1e21)return String(c);if(c<0&&(m="-",c=-c),c>1e-21)if(n=(t=function(e){for(var t=0,n=e;n>=4096;)t+=12,n/=4096;for(;n>=2;)t+=1,n/=2;return t}(c*d(2,69,1))-69)<0?c*d(2,-t,1):c/d(2,t,1),n*=4503599627370496,(t=52-t)>0){for(f(0,n),r=s;r>=7;)f(1e7,0),r-=7;for(f(d(10,r,1),0),r=t-1;r>=23;)h(1<<23),r-=23;h(1<0?m+((l=v.length)<=s?"0."+a.call("0",s-l)+v:v.slice(0,l-s)+"."+v.slice(l-s)):m+v}})},A5AN:function(e,t,n){"use strict";var r=n("AvRE")(!0);e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},A5Xg:function(e,t,n){var r=n("NsO/"),o=n("ar/p").f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"[object Window]"==i.call(e)?function(e){try{return o(e)}catch(e){return a.slice()}}(e):o(r(e))}},"AK+3":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#d5d5d5",A200:"#aaaaaa",A400:"#303030",A700:"#616161"};t.default=r},ANhw:function(e,t){var n,r;n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",r={rotl:function(e,t){return e<>>32-t},rotr:function(e,t){return e<<32-t|e>>>t},endian:function(e){if(e.constructor==Number)return 16711935&r.rotl(e,8)|4278255360&r.rotl(e,24);for(var t=0;t0;e--)t.push(Math.floor(256*Math.random()));return t},bytesToWords:function(e){for(var t=[],n=0,r=0;n>>5]|=e[n]<<24-r%32;return t},wordsToBytes:function(e){for(var t=[],n=0;n<32*e.length;n+=8)t.push(e[n>>>5]>>>24-n%32&255);return t},bytesToHex:function(e){for(var t=[],n=0;n>>4).toString(16)),t.push((15&e[n]).toString(16));return t.join("")},hexToBytes:function(e){for(var t=[],n=0;n>>6*(3-i)&63)):t.push("=");return t.join("")},base64ToBytes:function(e){e=e.replace(/[^A-Z0-9+\/]/gi,"");for(var t=[],r=0,o=0;r>>6-2*o);return t}},e.exports=r},ANjH:function(e,t,n){"use strict";n.r(t),n.d(t,"__DO_NOT_USE__ActionTypes",(function(){return i})),n.d(t,"applyMiddleware",(function(){return v})),n.d(t,"bindActionCreators",(function(){return f})),n.d(t,"combineReducers",(function(){return s})),n.d(t,"compose",(function(){return m})),n.d(t,"createStore",(function(){return l}));var r=n("bCCX"),o=function(){return Math.random().toString(36).substring(7).split("").join(".")},i={INIT:"@@redux/INIT"+o(),REPLACE:"@@redux/REPLACE"+o(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+o()}};function a(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function l(e,t,n){var o;if("function"==typeof t&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error("It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function.");if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error("Expected the enhancer to be a function.");return n(l)(e,t)}if("function"!=typeof e)throw new Error("Expected the reducer to be a function.");var c=e,s=t,u=[],f=u,h=!1;function p(){f===u&&(f=u.slice())}function d(){if(h)throw new Error("You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return s}function m(e){if("function"!=typeof e)throw new Error("Expected the listener to be a function.");if(h)throw new Error("You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api-reference/store#subscribelistener for more details.");var t=!0;return p(),f.push(e),function(){if(t){if(h)throw new Error("You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api-reference/store#subscribelistener for more details.");t=!1,p();var n=f.indexOf(e);f.splice(n,1),u=null}}}function v(e){if(!a(e))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if(void 0===e.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(h)throw new Error("Reducers may not dispatch actions.");try{h=!0,s=c(s,e)}finally{h=!1}for(var t=u=f,n=0;no;)X(e,n=r[o++],t[n]);return e},Q=function(e){var t=I.call(this,e=_(e,!0));return!(this===q&&o(D,e)&&!o(F,e))&&(!(t||!o(this,e)||!o(D,e)||o(this,H)&&this[H][e])||t)},Z=function(e,t){if(e=x(e),t=_(t,!0),e!==q||!o(D,t)||o(F,t)){var n=C(e,t);return!n||!o(D,t)||o(e,H)&&e[H][t]||(n.enumerable=!0),n}},$=function(e){for(var t,n=A(x(e)),r=[],i=0;n.length>i;)o(D,t=n[i++])||t==H||t==c||r.push(t);return r},ee=function(e){for(var t,n=e===q,r=A(n?F:x(e)),i=[],a=0;r.length>a;)!o(D,t=r[a++])||n&&!o(q,t)||i.push(D[t]);return i};B||(l((j=function(){if(this instanceof j)throw TypeError("Symbol is not a constructor!");var e=h(arguments.length>0?arguments[0]:void 0),t=function(n){this===q&&t.call(F,n),o(this,H)&&o(this[H],e)&&(this[H][e]=!1),Y(this,e,k(1,n))};return i&&W&&Y(q,e,{configurable:!0,set:t}),G(e)}).prototype,"toString",(function(){return this._k})),M.f=Z,E.f=X,n("ar/p").f=O.f=$,n("NV0k").f=Q,T.f=ee,i&&!n("uOPS")&&l(q,"propertyIsEnumerable",Q,!0),d.f=function(e){return G(p(e))}),a(a.G+a.W+a.F*!B,{Symbol:j});for(var te="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ne=0;te.length>ne;)p(te[ne++]);for(var re=z(p.store),oe=0;re.length>oe;)m(re[oe++]);a(a.S+a.F*!B,"Symbol",{for:function(e){return o(V,e+="")?V[e]:V[e]=j(e)},keyFor:function(e){if(!K(e))throw TypeError(e+" is not a symbol!");for(var t in V)if(V[t]===e)return t},useSetter:function(){W=!0},useSimple:function(){W=!1}}),a(a.S+a.F*!B,"Object",{create:function(e,t){return void 0===t?S(e):J(S(e),t)},defineProperty:X,defineProperties:J,getOwnPropertyDescriptor:Z,getOwnPropertyNames:$,getOwnPropertySymbols:ee});var ie=s((function(){T.f(1)}));a(a.S+a.F*ie,"Object",{getOwnPropertySymbols:function(e){return T.f(w(e))}}),L&&a(a.S+a.F*(!B||s((function(){var e=j();return"[null]"!=N([e])||"{}"!=N({a:e})||"{}"!=N(Object(e))}))),"JSON",{stringify:function(e){for(var t,n,r=[e],o=1;arguments.length>o;)r.push(arguments[o++]);if(n=t=r[1],(b(t)||void 0!==e)&&!K(e))return y(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!K(t))return t}),r[1]=t,N.apply(L,r)}}),j.prototype[R]||n("NegM")(j.prototype,R,j.prototype.valueOf),f(j,"Symbol"),f(Math,"Math",!0),f(r.JSON,"JSON",!0)},Afnz:function(e,t,n){"use strict";var r=n("LQAc"),o=n("XKFU"),i=n("KroJ"),a=n("Mukb"),l=n("hPIQ"),c=n("QaDb"),s=n("fyDq"),u=n("OP3Y"),f=n("K0xU")("iterator"),h=!([].keys&&"next"in[].keys()),p=function(){return this};e.exports=function(e,t,n,d,m,v,y){c(n,t,d);var g,b,w,x=function(e){if(!h&&e in O)return O[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},_=t+" Iterator",k="values"==m,S=!1,O=e.prototype,M=O[f]||O["@@iterator"]||m&&O[m],T=M||x(m),E=m?k?x("entries"):T:void 0,z="Array"==t&&O.entries||M;if(z&&(w=u(z.call(new e)))!==Object.prototype&&w.next&&(s(w,_,!0),r||"function"==typeof w[f]||a(w,f,p)),k&&M&&"values"!==M.name&&(S=!0,T=function(){return M.call(this)}),r&&!y||!h&&!S&&O[f]||a(O,f,T),l[t]=T,l[_]=p,m)if(g={values:k?T:x("values"),keys:v?T:x("keys"),entries:E},y)for(b in g)b in O||i(O,b,g[b]);else o(o.P+o.F*(h||S),t,g);return g}},Aosp:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("Dt+G")},ApPD:function(e,t,n){var r=n("JB68"),o=n("U+KD");n("zn7N")("getPrototypeOf",(function(){return function(e){return o(r(e))}}))},AphP:function(e,t,n){"use strict";var r=n("XKFU"),o=n("S/j/"),i=n("apmT");r(r.P+r.F*n("eeVq")((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})})),"Date",{toJSON:function(e){var t=o(this),n=i(t);return"number"!=typeof n||isFinite(n)?t.toISOString():null}})},AqCL:function(e,t){e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},AvRE:function(e,t,n){var r=n("RYi7"),o=n("vhPU");e.exports=function(e){return function(t,n){var i,a,l=String(o(t)),c=r(n),s=l.length;return c<0||c>=s?e?"":void 0:(i=l.charCodeAt(c))<55296||i>56319||c+1===s||(a=l.charCodeAt(c+1))<56320||a>57343?e?l.charAt(c):i:e?l.slice(c,c+2):a-56320+(i-55296<<10)+65536}}},AyUB:function(e,t,n){e.exports={default:n("3GJH"),__esModule:!0}},Azq0:function(e,t,n){"use strict";var r=n("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createGenerateClassName",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"createMuiTheme",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"jssPreset",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"MuiThemeProvider",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"withStyles",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"withTheme",{enumerable:!0,get:function(){return s.default}});var o=r(n("w5Wy")),i=r(n("4qVG")),a=r(n("FVT5")),l=r(n("Wty2")),c=r(n("d05B")),s=r(n("PfIm"))},"B+OT":function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},BC7C:function(e,t,n){var r=n("XKFU");r(r.S,"Math",{fround:n("kcoS")})},BEtg:function(e,t){e.exports=function(e){return null!=e&&null!=e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}},"BGR+":function(e,t,n){"use strict";var r=n("QbLZ"),o=n.n(r);t.a=function(e,t){for(var n=o()({},e),r=0;r15?"…"+a.slice(r-15,r):a.slice(0,r))+c+(l+15":">","<":"<",'"':""","'":"'"},s=/[&><"']/g,u=function e(t){return"ordgroup"===t.type||"color"===t.type?1===t.body.length?e(t.body[0]):t:"font"===t.type?e(t.body):t},f={contains:function(e,t){return-1!==e.indexOf(t)},deflt:function(e,t){return void 0===e?t:e},escape:function(e){return String(e).replace(s,(function(e){return c[e]}))},hyphenate:function(e){return e.replace(l,"-$1").toLowerCase()},getBaseElem:u,isCharacterBox:function(e){var t=u(e);return"mathord"===t.type||"textord"===t.type||"atom"===t.type},protocolFromUrl:function(e){var t=/^\s*([^\\/#]*?)(?::|�*58|�*3a)/i.exec(e);return null!=t?t[1]:"_relative"}},h=function(){function e(e){this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,e=e||{},this.displayMode=f.deflt(e.displayMode,!1),this.output=f.deflt(e.output,"htmlAndMathml"),this.leqno=f.deflt(e.leqno,!1),this.fleqn=f.deflt(e.fleqn,!1),this.throwOnError=f.deflt(e.throwOnError,!0),this.errorColor=f.deflt(e.errorColor,"#cc0000"),this.macros=e.macros||{},this.minRuleThickness=Math.max(0,f.deflt(e.minRuleThickness,0)),this.colorIsTextColor=f.deflt(e.colorIsTextColor,!1),this.strict=f.deflt(e.strict,"warn"),this.trust=f.deflt(e.trust,!1),this.maxSize=Math.max(0,f.deflt(e.maxSize,1/0)),this.maxExpand=Math.max(0,f.deflt(e.maxExpand,1e3))}var t=e.prototype;return t.reportNonstrict=function(e,t,n){var r=this.strict;if("function"==typeof r&&(r=r(e,t,n)),r&&"ignore"!==r){if(!0===r||"error"===r)throw new a("LaTeX-incompatible input and strict mode is set to 'error': "+t+" ["+e+"]",n);"warn"===r?"undefined"!=typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+t+" ["+e+"]"):"undefined"!=typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to unrecognized '"+r+"': "+t+" ["+e+"]")}},t.useStrictBehavior=function(e,t,n){var r=this.strict;if("function"==typeof r)try{r=r(e,t,n)}catch(e){r="error"}return!(!r||"ignore"===r||!0!==r&&"error"!==r&&("warn"===r?("undefined"!=typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+t+" ["+e+"]"),1):("undefined"!=typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to unrecognized '"+r+"': "+t+" ["+e+"]"),1)))},t.isTrusted=function(e){e.url&&!e.protocol&&(e.protocol=f.protocolFromUrl(e.url));var t="function"==typeof this.trust?this.trust(e):this.trust;return Boolean(t)},e}(),p=function(){function e(e,t,n){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=e,this.size=t,this.cramped=n}var t=e.prototype;return t.sup=function(){return d[m[this.id]]},t.sub=function(){return d[v[this.id]]},t.fracNum=function(){return d[y[this.id]]},t.fracDen=function(){return d[g[this.id]]},t.cramp=function(){return d[b[this.id]]},t.text=function(){return d[w[this.id]]},t.isTight=function(){return this.size>=2},e}(),d=[new p(0,0,!1),new p(1,0,!0),new p(2,1,!1),new p(3,1,!0),new p(4,2,!1),new p(5,2,!0),new p(6,3,!1),new p(7,3,!0)],m=[4,5,4,5,6,7,6,7],v=[5,5,5,5,7,7,7,7],y=[2,3,4,5,6,7,6,7],g=[3,3,5,5,7,7,7,7],b=[1,1,3,3,5,5,7,7],w=[0,1,2,3,2,3,2,3],x={DISPLAY:d[0],TEXT:d[2],SCRIPT:d[4],SCRIPTSCRIPT:d[6]},_=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}],k=[];function S(e){for(var t=0;t=k[t]&&e<=k[t+1])return!0;return!1}_.forEach((function(e){return e.blocks.forEach((function(e){return k.push.apply(k,e)}))}));var O={doubleleftarrow:"M262 157\nl10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3\n 0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28\n 14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5\nc2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5\n 157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87\n-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7\n-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z\nm8 0v40h399730v-40zm0 194v40h399730v-40z",doublerightarrow:"M399738 392l\n-10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5\n 14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88\n-33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68\n-17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18\n-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782\nc-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3\n-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z",leftarrow:"M400000 241H110l3-3c68.7-52.7 113.7-120\n 135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8\n-5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247\nc-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208\n 490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3\n 1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202\n l-3-3h399890zM100 241v40h399900v-40z",leftbrace:"M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117\n-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7\n 5-6 9-10 13-.7 1-7.3 1-20 1H6z",leftbraceunder:"M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13\n 35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688\n 0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7\n-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z",leftgroup:"M400000 80\nH435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0\n 435 0h399565z",leftgroupunder:"M400000 262\nH435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219\n 435 219h399565z",leftharpoon:"M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3\n-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5\n-18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7\n-196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z",leftharpoonplus:"M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5\n 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3\n-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7\n-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z\nm0 0v40h400000v-40z",leftharpoondown:"M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333\n 5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5\n 1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667\n-152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z",leftharpoondownplus:"M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12\n 10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7\n-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0\nv40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z",lefthook:"M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5\n-83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3\n-68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21\n 71.5 23h399859zM103 281v-40h399897v40z",leftlinesegment:"M40 281 V428 H0 V94 H40 V241 H400000 v40z\nM40 281 V428 H0 V94 H40 V241 H400000 v40z",leftmapsto:"M40 281 V448H0V74H40V241H400000v40z\nM40 281 V448H0V74H40V241H400000v40z",leftToFrom:"M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23\n-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8\nc28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3\n 68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z",longequal:"M0 50 h400000 v40H0z m0 194h40000v40H0z\nM0 50 h400000 v40H0z m0 194h40000v40H0z",midbrace:"M200428 334\nc-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14\n-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7\n 311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11\n 12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z",midbraceunder:"M199572 214\nc100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14\n 53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3\n 11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0\n-5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z",oiintSize1:"M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6\n-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z\nm368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8\n60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z",oiintSize2:"M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8\n-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z\nm502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2\nc0 110 84 276 504 276s502.4-166 502.4-276z",oiiintSize1:"M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6\n-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z\nm525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0\n85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z",oiiintSize2:"M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8\n-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z\nm770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1\nc0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z",rightarrow:"M0 241v40h399891c-47.3 35.3-84 78-110 128\n-16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20\n 11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7\n 39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85\n-40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5\n-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67\n 151.7 139 205zm0 0v40h399900v-40z",rightbrace:"M400000 542l\n-6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5\ns-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1\nc124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z",rightbraceunder:"M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3\n 28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237\n-174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z",rightgroup:"M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0\n 3-1 3-3v-38c-76-158-257-219-435-219H0z",rightgroupunder:"M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18\n 0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z",rightharpoon:"M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3\n-3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2\n-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58\n 69.2 92 94.5zm0 0v40h399900v-40z",rightharpoonplus:"M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11\n-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7\n 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z\nm0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z",rightharpoondown:"M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8\n 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5\n-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95\n-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z",rightharpoondownplus:"M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8\n 15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3\n 8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3\n-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z\nm0-194v40h400000v-40zm0 0v40h400000v-40z",righthook:"M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3\n 15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0\n-13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21\n 66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z",rightlinesegment:"M399960 241 V94 h40 V428 h-40 V281 H0 v-40z\nM399960 241 V94 h40 V428 h-40 V281 H0 v-40z",rightToFrom:"M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23\n 1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32\n-52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142\n-167z M100 147v40h399900v-40zM0 341v40h399900v-40z",twoheadleftarrow:"M0 167c68 40\n 115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69\n-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3\n-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19\n-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101\n 10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z",twoheadrightarrow:"M400000 167\nc-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3\n 41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42\n 18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333\n-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70\n 101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z",tilde1:"M200 55.538c-77 0-168 73.953-177 73.953-3 0-7\n-2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0\n 114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0\n 4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128\n-68.267.847-113-73.952-191-73.952z",tilde2:"M344 55.266c-142 0-300.638 81.316-311.5 86.418\n-8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9\n 31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114\nc1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751\n 181.476 676 181.476c-149 0-189-126.21-332-126.21z",tilde3:"M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457\n-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0\n 411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697\n 16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696\n -338 0-409-156.573-744-156.573z",tilde4:"M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345\n-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409\n 177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9\n 14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409\n -175.236-744-175.236z",vec:"M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5\n3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11\n10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63\n-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1\n-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59\nH213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359\nc-16-25.333-24-45-24-59z",widehat1:"M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22\nc-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z",widehat2:"M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widehat3:"M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widehat4:"M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widecheck1:"M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1,\n-5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z",widecheck2:"M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",widecheck3:"M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",widecheck4:"M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",baraboveleftarrow:"M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202\nc4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5\nc-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130\ns-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47\n121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6\ns2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11\nc0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z\nM100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z",rightarrowabovebar:"M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32\n-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0\n13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39\n-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5\n-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5\n-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67\n151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z",baraboveshortleftharpoon:"M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11\nc1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17\nc2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21\nc-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40\nc-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z\nM0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z",rightharpoonaboveshortbar:"M0,241 l0,40c399126,0,399993,0,399993,0\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\n-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6\nc-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z\nM0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z",shortbaraboveleftharpoon:"M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11\nc1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9,\n1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7,\n-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z\nM93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z",shortrightharpoonabovebar:"M53,241l0,40c398570,0,399437,0,399437,0\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\n-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6\nc-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z\nM500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z"},M=function(){function e(e){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=e,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}var t=e.prototype;return t.hasClass=function(e){return f.contains(this.classes,e)},t.toNode=function(){for(var e=document.createDocumentFragment(),t=0;t"},P=function(){function e(e,t,n,r){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,E.call(this,e,n,r),this.children=t||[]}var t=e.prototype;return t.setAttribute=function(e,t){this.attributes[e]=t},t.hasClass=function(e){return f.contains(this.classes,e)},t.toNode=function(){return z.call(this,"span")},t.toMarkup=function(){return C.call(this,"span")},e}(),A=function(){function e(e,t,n,r){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,E.call(this,t,r),this.children=n||[],this.setAttribute("href",e)}var t=e.prototype;return t.setAttribute=function(e,t){this.attributes[e]=t},t.hasClass=function(e){return f.contains(this.classes,e)},t.toNode=function(){return z.call(this,"a")},t.toMarkup=function(){return C.call(this,"a")},e}(),j=function(){function e(e,t,n){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=t,this.src=e,this.classes=["mord"],this.style=n}var t=e.prototype;return t.hasClass=function(e){return f.contains(this.classes,e)},t.toNode=function(){var e=document.createElement("img");for(var t in e.src=this.src,e.alt=this.alt,e.className="mord",this.style)this.style.hasOwnProperty(t)&&(e.style[t]=this.style[t]);return e},t.toMarkup=function(){var e=""+this.alt+"=o[0]&&e<=o[1])return n.name}return null}(this.text.charCodeAt(0));c&&this.classes.push(c+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=L[this.text])}var t=e.prototype;return t.hasClass=function(e){return f.contains(this.classes,e)},t.toNode=function(){var e=document.createTextNode(this.text),t=null;for(var n in this.italic>0&&((t=document.createElement("span")).style.marginRight=this.italic+"em"),this.classes.length>0&&((t=t||document.createElement("span")).className=T(this.classes)),this.style)this.style.hasOwnProperty(n)&&((t=t||document.createElement("span")).style[n]=this.style[n]);return t?(t.appendChild(e),t):e},t.toMarkup=function(){var e=!1,t="0&&(n+="margin-right:"+this.italic+"em;"),this.style)this.style.hasOwnProperty(r)&&(n+=f.hyphenate(r)+":"+this.style[r]+";");n&&(e=!0,t+=' style="'+f.escape(n)+'"');var o=f.escape(this.text);return e?(t+=">",t+=o,t+=""):o},e}(),H=function(){function e(e,t){this.children=void 0,this.attributes=void 0,this.children=e||[],this.attributes=t||{}}var t=e.prototype;return t.toNode=function(){var e=document.createElementNS("http://www.w3.org/2000/svg","svg");for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);for(var n=0;n":""},e}(),I=function(){function e(e){this.attributes=void 0,this.attributes=e||{}}var t=e.prototype;return t.toNode=function(){var e=document.createElementNS("http://www.w3.org/2000/svg","line");for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);return e},t.toMarkup=function(){var e="",">"),X("math",J,te,":",":"),X("math",J,te,"≈","\\approx",!0),X("math",J,te,"≅","\\cong",!0),X("math",J,te,"≥","\\ge"),X("math",J,te,"≥","\\geq",!0),X("math",J,te,"←","\\gets"),X("math",J,te,">","\\gt"),X("math",J,te,"∈","\\in",!0),X("math",J,te,"","\\@not"),X("math",J,te,"⊂","\\subset",!0),X("math",J,te,"⊃","\\supset",!0),X("math",J,te,"⊆","\\subseteq",!0),X("math",J,te,"⊇","\\supseteq",!0),X("math",Q,te,"⊈","\\nsubseteq",!0),X("math",Q,te,"⊉","\\nsupseteq",!0),X("math",J,te,"⊨","\\models"),X("math",J,te,"←","\\leftarrow",!0),X("math",J,te,"≤","\\le"),X("math",J,te,"≤","\\leq",!0),X("math",J,te,"<","\\lt"),X("math",J,te,"→","\\rightarrow",!0),X("math",J,te,"→","\\to"),X("math",Q,te,"≱","\\ngeq",!0),X("math",Q,te,"≰","\\nleq",!0),X("math",J,"spacing"," ","\\ "),X("math",J,"spacing"," ","~"),X("math",J,"spacing"," ","\\space"),X("math",J,"spacing"," ","\\nobreakspace"),X("text",J,"spacing"," ","\\ "),X("text",J,"spacing"," ","~"),X("text",J,"spacing"," ","\\space"),X("text",J,"spacing"," ","\\nobreakspace"),X("math",J,"spacing",null,"\\nobreak"),X("math",J,"spacing",null,"\\allowbreak"),X("math",J,"punct",",",","),X("math",J,"punct",";",";"),X("math",Q,Z,"⊼","\\barwedge",!0),X("math",Q,Z,"⊻","\\veebar",!0),X("math",J,Z,"⊙","\\odot",!0),X("math",J,Z,"⊕","\\oplus",!0),X("math",J,Z,"⊗","\\otimes",!0),X("math",J,"textord","∂","\\partial",!0),X("math",J,Z,"⊘","\\oslash",!0),X("math",Q,Z,"⊚","\\circledcirc",!0),X("math",Q,Z,"⊡","\\boxdot",!0),X("math",J,Z,"△","\\bigtriangleup"),X("math",J,Z,"▽","\\bigtriangledown"),X("math",J,Z,"†","\\dagger"),X("math",J,Z,"⋄","\\diamond"),X("math",J,Z,"⋆","\\star"),X("math",J,Z,"◃","\\triangleleft"),X("math",J,Z,"▹","\\triangleright"),X("math",J,"open","{","\\{"),X("text",J,"textord","{","\\{"),X("text",J,"textord","{","\\textbraceleft"),X("math",J,"close","}","\\}"),X("text",J,"textord","}","\\}"),X("text",J,"textord","}","\\textbraceright"),X("math",J,"open","{","\\lbrace"),X("math",J,"close","}","\\rbrace"),X("math",J,"open","[","\\lbrack"),X("text",J,"textord","[","\\lbrack"),X("math",J,"close","]","\\rbrack"),X("text",J,"textord","]","\\rbrack"),X("math",J,"open","(","\\lparen"),X("math",J,"close",")","\\rparen"),X("text",J,"textord","<","\\textless"),X("text",J,"textord",">","\\textgreater"),X("math",J,"open","⌊","\\lfloor",!0),X("math",J,"close","⌋","\\rfloor",!0),X("math",J,"open","⌈","\\lceil",!0),X("math",J,"close","⌉","\\rceil",!0),X("math",J,"textord","\\","\\backslash"),X("math",J,"textord","∣","|"),X("math",J,"textord","∣","\\vert"),X("text",J,"textord","|","\\textbar"),X("math",J,"textord","∥","\\|"),X("math",J,"textord","∥","\\Vert"),X("text",J,"textord","∥","\\textbardbl"),X("text",J,"textord","~","\\textasciitilde"),X("text",J,"textord","\\","\\textbackslash"),X("text",J,"textord","^","\\textasciicircum"),X("math",J,te,"↑","\\uparrow",!0),X("math",J,te,"⇑","\\Uparrow",!0),X("math",J,te,"↓","\\downarrow",!0),X("math",J,te,"⇓","\\Downarrow",!0),X("math",J,te,"↕","\\updownarrow",!0),X("math",J,te,"⇕","\\Updownarrow",!0),X("math",J,ee,"∐","\\coprod"),X("math",J,ee,"⋁","\\bigvee"),X("math",J,ee,"⋀","\\bigwedge"),X("math",J,ee,"⨄","\\biguplus"),X("math",J,ee,"⋂","\\bigcap"),X("math",J,ee,"⋃","\\bigcup"),X("math",J,ee,"∫","\\int"),X("math",J,ee,"∫","\\intop"),X("math",J,ee,"∬","\\iint"),X("math",J,ee,"∭","\\iiint"),X("math",J,ee,"∏","\\prod"),X("math",J,ee,"∑","\\sum"),X("math",J,ee,"⨂","\\bigotimes"),X("math",J,ee,"⨁","\\bigoplus"),X("math",J,ee,"⨀","\\bigodot"),X("math",J,ee,"∮","\\oint"),X("math",J,ee,"∯","\\oiint"),X("math",J,ee,"∰","\\oiiint"),X("math",J,ee,"⨆","\\bigsqcup"),X("math",J,ee,"∫","\\smallint"),X("text",J,"inner","…","\\textellipsis"),X("math",J,"inner","…","\\mathellipsis"),X("text",J,"inner","…","\\ldots",!0),X("math",J,"inner","…","\\ldots",!0),X("math",J,"inner","⋯","\\@cdots",!0),X("math",J,"inner","⋱","\\ddots",!0),X("math",J,"textord","⋮","\\varvdots"),X("math",J,"accent-token","ˊ","\\acute"),X("math",J,"accent-token","ˋ","\\grave"),X("math",J,"accent-token","¨","\\ddot"),X("math",J,"accent-token","~","\\tilde"),X("math",J,"accent-token","ˉ","\\bar"),X("math",J,"accent-token","˘","\\breve"),X("math",J,"accent-token","ˇ","\\check"),X("math",J,"accent-token","^","\\hat"),X("math",J,"accent-token","⃗","\\vec"),X("math",J,"accent-token","˙","\\dot"),X("math",J,"accent-token","˚","\\mathring"),X("math",J,$,"ı","\\imath",!0),X("math",J,$,"ȷ","\\jmath",!0),X("text",J,"textord","ı","\\i",!0),X("text",J,"textord","ȷ","\\j",!0),X("text",J,"textord","ß","\\ss",!0),X("text",J,"textord","æ","\\ae",!0),X("text",J,"textord","æ","\\ae",!0),X("text",J,"textord","œ","\\oe",!0),X("text",J,"textord","ø","\\o",!0),X("text",J,"textord","Æ","\\AE",!0),X("text",J,"textord","Œ","\\OE",!0),X("text",J,"textord","Ø","\\O",!0),X("text",J,"accent-token","ˊ","\\'"),X("text",J,"accent-token","ˋ","\\`"),X("text",J,"accent-token","ˆ","\\^"),X("text",J,"accent-token","˜","\\~"),X("text",J,"accent-token","ˉ","\\="),X("text",J,"accent-token","˘","\\u"),X("text",J,"accent-token","˙","\\."),X("text",J,"accent-token","˚","\\r"),X("text",J,"accent-token","ˇ","\\v"),X("text",J,"accent-token","¨",'\\"'),X("text",J,"accent-token","˝","\\H"),X("text",J,"accent-token","◯","\\textcircled");var ne={"--":!0,"---":!0,"``":!0,"''":!0};X("text",J,"textord","–","--"),X("text",J,"textord","–","\\textendash"),X("text",J,"textord","—","---"),X("text",J,"textord","—","\\textemdash"),X("text",J,"textord","‘","`"),X("text",J,"textord","‘","\\textquoteleft"),X("text",J,"textord","’","'"),X("text",J,"textord","’","\\textquoteright"),X("text",J,"textord","“","``"),X("text",J,"textord","“","\\textquotedblleft"),X("text",J,"textord","”","''"),X("text",J,"textord","”","\\textquotedblright"),X("math",J,"textord","°","\\degree",!0),X("text",J,"textord","°","\\degree"),X("text",J,"textord","°","\\textdegree",!0),X("math",J,$,"£","\\pounds"),X("math",J,$,"£","\\mathsterling",!0),X("text",J,$,"£","\\pounds"),X("text",J,$,"£","\\textsterling",!0),X("math",Q,"textord","✠","\\maltese"),X("text",Q,"textord","✠","\\maltese"),X("text",J,"spacing"," ","\\ "),X("text",J,"spacing"," "," "),X("text",J,"spacing"," ","~");for(var re=0;re<'0123456789/@."'.length;re++){var oe='0123456789/@."'.charAt(re);X("math",J,"textord",oe,oe)}for(var ie=0;ie<'0123456789!@*()-=+[]<>|";:?/.,'.length;ie++){var ae='0123456789!@*()-=+[]<>|";:?/.,'.charAt(ie);X("text",J,"textord",ae,ae)}for(var le="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",ce=0;ce=5?0:e>=3?1:2]){var n=U[t]={cssEmPerMu:F.quad[t]/18};for(var r in F)F.hasOwnProperty(r)&&(n[r]=F[r][t])}return U[t]}(this.size)),this._fontMetrics},t.getColor=function(){return this.phantom?"transparent":this.color},e}();_e.BASESIZE=6;var ke=_e,Se={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:1.00375,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:1.00375},Oe={ex:!0,em:!0,mu:!0},Me=function(e){return"string"!=typeof e&&(e=e.unit),e in Se||e in Oe||"ex"===e},Te=function(e,t){var n;if(e.unit in Se)n=Se[e.unit]/t.fontMetrics().ptPerEm/t.sizeMultiplier;else if("mu"===e.unit)n=t.fontMetrics().cssEmPerMu;else{var r;if(r=t.style.isTight()?t.havingStyle(t.style.text()):t,"ex"===e.unit)n=r.fontMetrics().xHeight;else{if("em"!==e.unit)throw new a("Invalid unit: '"+e.unit+"'");n=r.fontMetrics().quad}r!==t&&(n*=r.sizeMultiplier/t.sizeMultiplier)}return Math.min(e.number*n,t.maxSize)},Ee=["\\imath","ı","\\jmath","ȷ","\\pounds","\\mathsterling","\\textsterling","£"],ze=function(e,t,n){return K[n][e]&&K[n][e].replace&&(e=K[n][e].replace),{value:e,metrics:B(e,t,n)}},Ce=function(e,t,n,r,o){var i,a=ze(e,t,n),l=a.metrics;if(e=a.value,l){var c=l.italic;("text"===n||r&&"mathit"===r.font)&&(c=0),i=new N(e,l.height,l.depth,c,l.skew,l.width,o)}else"undefined"!=typeof console&&console.warn("No character metrics for '"+e+"' in style '"+t+"' and mode '"+n+"'"),i=new N(e,0,0,0,0,0,o);if(r){i.maxFontSize=r.sizeMultiplier,r.style.isTight()&&i.classes.push("mtight");var s=r.getColor();s&&(i.style.color=s)}return i},Pe=function(e,t){if(T(e.classes)!==T(t.classes)||e.skew!==t.skew||e.maxFontSize!==t.maxFontSize)return!1;for(var n in e.style)if(e.style.hasOwnProperty(n)&&e.style[n]!==t.style[n])return!1;for(var r in t.style)if(t.style.hasOwnProperty(r)&&e.style[r]!==t.style[r])return!1;return!0},Ae=function(e){for(var t=0,n=0,r=0,o=0;ot&&(t=i.height),i.depth>n&&(n=i.depth),i.maxFontSize>r&&(r=i.maxFontSize)}e.height=t,e.depth=n,e.maxFontSize=r},je=function(e,t,n,r){var o=new P(e,t,n,r);return Ae(o),o},Le=function(e,t,n,r){return new P(e,t,n,r)},Ne=function(e){var t=new M(e);return Ae(t),t},He=function(e,t,n){var r="";switch(e){case"amsrm":r="AMS";break;case"textrm":r="Main";break;case"textsf":r="SansSerif";break;case"texttt":r="Typewriter";break;default:r=e}return r+"-"+("textbf"===t&&"textit"===n?"BoldItalic":"textbf"===t?"Bold":"textit"===t?"Italic":"Regular")},Re={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},Ie={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},Ve={fontMap:Re,makeSymbol:Ce,mathsym:function(e,t,n,r){return void 0===r&&(r=[]),"boldsymbol"===n.font&&ze(e,"Main-Bold",t).metrics?Ce(e,"Main-Bold",t,n,r.concat(["mathbf"])):"\\"===e||"main"===K[t][e].font?Ce(e,"Main-Regular",t,n,r):Ce(e,"AMS-Regular",t,n,r.concat(["amsrm"]))},makeSpan:je,makeSvgSpan:Le,makeLineSpan:function(e,t,n){var r=je([e],[],t);return r.height=Math.max(n||t.fontMetrics().defaultRuleThickness,t.minRuleThickness),r.style.borderBottomWidth=r.height+"em",r.maxFontSize=1,r},makeAnchor:function(e,t,n,r){var o=new A(e,t,n,r);return Ae(o),o},makeFragment:Ne,wrapFragment:function(e,t){return e instanceof M?je([],[e],t):e},makeVList:function(e,t){for(var n=function(e){if("individualShift"===e.positionType){for(var t=e.children,n=[t[0]],r=-t[0].shift-t[0].elem.depth,o=r,i=1;i0&&(i.push(pt(a,t)),a=[]),i.push(o[l]));a.length>0&&i.push(pt(a,t)),n&&((r=pt(lt(n,t,!0))).classes=["tag"],i.push(r));var s=nt(["katex-html"],i);if(s.setAttribute("aria-hidden","true"),r){var u=r.children[0];u.style.height=s.height+s.depth+"em",u.style.verticalAlign=-s.depth+"em"}return s}function mt(e){return new M(e)}var vt=function(){function e(e,t){this.type=void 0,this.attributes=void 0,this.children=void 0,this.type=e,this.attributes={},this.children=t||[]}var t=e.prototype;return t.setAttribute=function(e,t){this.attributes[e]=t},t.getAttribute=function(e){return this.attributes[e]},t.toNode=function(){var e=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);for(var n=0;n"},t.toText=function(){return this.children.map((function(e){return e.toText()})).join("")},e}(),yt=function(){function e(e){this.text=void 0,this.text=e}var t=e.prototype;return t.toNode=function(){return document.createTextNode(this.text)},t.toMarkup=function(){return f.escape(this.toText())},t.toText=function(){return this.text},e}(),gt={MathNode:vt,TextNode:yt,SpaceNode:function(){function e(e){this.width=void 0,this.character=void 0,this.width=e,this.character=e>=.05555&&e<=.05556?" ":e>=.1666&&e<=.1667?" ":e>=.2222&&e<=.2223?" ":e>=.2777&&e<=.2778?"  ":e>=-.05556&&e<=-.05555?" ⁣":e>=-.1667&&e<=-.1666?" ⁣":e>=-.2223&&e<=-.2222?" ⁣":e>=-.2778&&e<=-.2777?" ⁣":null}var t=e.prototype;return t.toNode=function(){if(this.character)return document.createTextNode(this.character);var e=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return e.setAttribute("width",this.width+"em"),e},t.toMarkup=function(){return this.character?""+this.character+"":''},t.toText=function(){return this.character?this.character:" "},e}(),newDocumentFragment:mt},bt=function(e,t,n){return!K[t][e]||!K[t][e].replace||55349===e.charCodeAt(0)||ne.hasOwnProperty(e)&&n&&(n.fontFamily&&"tt"===n.fontFamily.substr(4,2)||n.font&&"tt"===n.font.substr(4,2))||(e=K[t][e].replace),new gt.TextNode(e)},wt=function(e){return 1===e.length?e[0]:new gt.MathNode("mrow",e)},xt=function(e,t){if("texttt"===t.fontFamily)return"monospace";if("textsf"===t.fontFamily)return"textit"===t.fontShape&&"textbf"===t.fontWeight?"sans-serif-bold-italic":"textit"===t.fontShape?"sans-serif-italic":"textbf"===t.fontWeight?"bold-sans-serif":"sans-serif";if("textit"===t.fontShape&&"textbf"===t.fontWeight)return"bold-italic";if("textit"===t.fontShape)return"italic";if("textbf"===t.fontWeight)return"bold";var n=t.font;if(!n||"mathnormal"===n)return null;var r=e.mode;if("mathit"===n)return"italic";if("boldsymbol"===n)return"bold-italic";if("mathbf"===n)return"bold";if("mathbb"===n)return"double-struck";if("mathfrak"===n)return"fraktur";if("mathscr"===n||"mathcal"===n)return"script";if("mathsf"===n)return"sans-serif";if("mathtt"===n)return"monospace";var o=e.text;return f.contains(["\\imath","\\jmath"],o)?null:(K[r][o]&&K[r][o].replace&&(o=K[r][o].replace),B(o,Ve.fontMap[n].fontName,r)?Ve.fontMap[n].variant:null)},_t=function(e,t,n){if(1===e.length){var r=St(e[0],t);return n&&r instanceof vt&&"mo"===r.type&&(r.setAttribute("lspace","0em"),r.setAttribute("rspace","0em")),[r]}for(var o,i=[],a=0;a0&&(p.text=p.text.slice(0,1)+"̸"+p.text.slice(1),i.pop())}}}i.push(l),o=l}return i},kt=function(e,t,n){return wt(_t(e,t,n))},St=function(e,t){if(!e)return new gt.MathNode("mrow");if(Ze[e.type])return Ze[e.type](e,t);throw new a("Got group of unknown type: '"+e.type+"'")};function Ot(e,t,n,r){var o,i=_t(e,n);o=1===i.length&&i[0]instanceof vt&&f.contains(["mrow","mtable"],i[0].type)?i[0]:new gt.MathNode("mrow",i);var a=new gt.MathNode("annotation",[new gt.TextNode(t)]);a.setAttribute("encoding","application/x-tex");var l=new gt.MathNode("semantics",[o,a]),c=new gt.MathNode("math",[l]);c.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML");var s=r?"katex":"katex-mathml";return Ve.makeSpan([s],[c])}var Mt=function(e){return new ke({style:e.displayMode?x.DISPLAY:x.TEXT,maxSize:e.maxSize,minRuleThickness:e.minRuleThickness})},Tt=function(e,t){if(t.displayMode){var n=["katex-display"];t.leqno&&n.push("leqno"),t.fleqn&&n.push("fleqn"),e=Ve.makeSpan(n,[e])}return e},Et={widehat:"^",widecheck:"ˇ",widetilde:"~",utilde:"~",overleftarrow:"←",underleftarrow:"←",xleftarrow:"←",overrightarrow:"→",underrightarrow:"→",xrightarrow:"→",underbrace:"⏟",overbrace:"⏞",overgroup:"⏠",undergroup:"⏡",overleftrightarrow:"↔",underleftrightarrow:"↔",xleftrightarrow:"↔",Overrightarrow:"⇒",xRightarrow:"⇒",overleftharpoon:"↼",xleftharpoonup:"↼",overrightharpoon:"⇀",xrightharpoonup:"⇀",xLeftarrow:"⇐",xLeftrightarrow:"⇔",xhookleftarrow:"↩",xhookrightarrow:"↪",xmapsto:"↦",xrightharpoondown:"⇁",xleftharpoondown:"↽",xrightleftharpoons:"⇌",xleftrightharpoons:"⇋",xtwoheadleftarrow:"↞",xtwoheadrightarrow:"↠",xlongequal:"=",xtofrom:"⇄",xrightleftarrows:"⇄",xrightequilibrium:"⇌",xleftequilibrium:"⇋"},zt={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},Ct=function(e,t,n,r){var o,i=e.height+e.depth+2*n;if(/fbox|color/.test(t)){if(o=Ve.makeSpan(["stretchy",t],[],r),"fbox"===t){var a=r.color&&r.getColor();a&&(o.style.borderColor=a)}}else{var l=[];/^[bx]cancel$/.test(t)&&l.push(new I({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(t)&&l.push(new I({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var c=new H(l,{width:"100%",height:i+"em"});o=Ve.makeSvgSpan([],[c],r)}return o.height=i,o.style.height=i+"em",o},Pt=function(e){var t=new gt.MathNode("mo",[new gt.TextNode(Et[e.substr(1)])]);return t.setAttribute("stretchy","true"),t},At=function(e,t){var n=function(){var n=4e5,r=e.label.substr(1);if(f.contains(["widehat","widecheck","widetilde","utilde"],r)){var o,i,a,l="ordgroup"===(d=e.base).type?d.body.length:1;if(l>5)"widehat"===r||"widecheck"===r?(o=420,n=2364,a=.42,i=r+"4"):(o=312,n=2340,a=.34,i="tilde4");else{var c=[1,1,2,2,3,3][l];"widehat"===r||"widecheck"===r?(n=[0,1062,2364,2364,2364][c],o=[0,239,300,360,420][c],a=[0,.24,.3,.3,.36,.42][c],i=r+c):(n=[0,600,1033,2339,2340][c],o=[0,260,286,306,312][c],a=[0,.26,.286,.3,.306,.34][c],i="tilde"+c)}var s=new R(i),u=new H([s],{width:"100%",height:a+"em",viewBox:"0 0 "+n+" "+o,preserveAspectRatio:"none"});return{span:Ve.makeSvgSpan([],[u],t),minWidth:0,height:a}}var h,p,d,m=[],v=zt[r],y=v[0],g=v[1],b=v[2],w=b/1e3,x=y.length;if(1===x)h=["hide-tail"],p=[v[3]];else if(2===x)h=["halfarrow-left","halfarrow-right"],p=["xMinYMin","xMaxYMin"];else{if(3!==x)throw new Error("Correct katexImagesData or update code here to support\n "+x+" children.");h=["brace-left","brace-center","brace-right"],p=["xMinYMin","xMidYMin","xMaxYMin"]}for(var _=0;_0&&(r.style.minWidth=o+"em"),r},jt=function(e,t){var n,r,o,i=Fe(e,"supsub");i?(n=(r=De(i.base,"accent")).base,i.base=n,o=function(e){if(e instanceof P)return e;throw new Error("Expected span but got "+String(e)+".")}(ht(i,t)),i.base=r):n=(r=De(e,"accent")).base;var a=ht(n,t.havingCrampedStyle()),l=0;if(r.isShifty&&f.isCharacterBox(n)){var c=f.getBaseElem(n);l=V(ht(c,t.havingCrampedStyle())).skew}var s,u=Math.min(a.height,t.fontMetrics().xHeight);if(r.isStretchy)s=At(r,t),s=Ve.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"elem",elem:s,wrapperClasses:["svg-align"],wrapperStyle:l>0?{width:"calc(100% - "+2*l+"em)",marginLeft:2*l+"em"}:void 0}]},t);else{var h,p;"\\vec"===r.label?(h=Ve.staticSvg("vec",t),p=Ve.svgData.vec[1]):((h=V(h=Ve.makeOrd({mode:r.mode,text:r.label},t,"textord"))).italic=0,p=h.width),s=Ve.makeSpan(["accent-body"],[h]);var d="\\textcircled"===r.label;d&&(s.classes.push("accent-full"),u=a.height);var m=l;d||(m-=p/2),s.style.left=m+"em","\\textcircled"===r.label&&(s.style.top=".2em"),s=Ve.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"kern",size:-u},{type:"elem",elem:s}]},t)}var v=Ve.makeSpan(["mord","accent"],[s],t);return o?(o.children[0]=v,o.height=Math.max(v.height,o.height),o.classes[0]="mord",o):v},Lt=function(e,t){var n=e.isStretchy?Pt(e.label):new gt.MathNode("mo",[bt(e.label,e.mode)]),r=new gt.MathNode("mover",[St(e.base,t),n]);return r.setAttribute("accent","true"),r},Nt=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map((function(e){return"\\"+e})).join("|"));$e({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:function(e,t){var n=t[0],r=!Nt.test(e.funcName),o=!r||"\\widehat"===e.funcName||"\\widetilde"===e.funcName||"\\widecheck"===e.funcName;return{type:"accent",mode:e.parser.mode,label:e.funcName,isStretchy:r,isShifty:o,base:n}},htmlBuilder:jt,mathmlBuilder:Lt}),$e({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!1},handler:function(e,t){var n=t[0];return{type:"accent",mode:e.parser.mode,label:e.funcName,isStretchy:!1,isShifty:!0,base:n}},htmlBuilder:jt,mathmlBuilder:Lt}),$e({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:function(e,t){var n=e.parser,r=e.funcName,o=t[0];return{type:"accentUnder",mode:n.mode,label:r,base:o}},htmlBuilder:function(e,t){var n=ht(e.base,t),r=At(e,t),o="\\utilde"===e.label?.12:0,i=Ve.makeVList({positionType:"bottom",positionData:r.height+o,children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:o},{type:"elem",elem:n}]},t);return Ve.makeSpan(["mord","accentunder"],[i],t)},mathmlBuilder:function(e,t){var n=Pt(e.label),r=new gt.MathNode("munder",[St(e.base,t),n]);return r.setAttribute("accentunder","true"),r}});var Ht=function(e){var t=new gt.MathNode("mpadded",e?[e]:[]);return t.setAttribute("width","+0.6em"),t.setAttribute("lspace","0.3em"),t};$e({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium"],props:{numArgs:1,numOptionalArgs:1},handler:function(e,t,n){var r=e.parser,o=e.funcName;return{type:"xArrow",mode:r.mode,label:o,body:t[0],below:n[0]}},htmlBuilder:function(e,t){var n,r=t.style,o=t.havingStyle(r.sup()),i=Ve.wrapFragment(ht(e.body,o,t),t);i.classes.push("x-arrow-pad"),e.below&&(o=t.havingStyle(r.sub()),(n=Ve.wrapFragment(ht(e.below,o,t),t)).classes.push("x-arrow-pad"));var a,l=At(e,t),c=-t.fontMetrics().axisHeight+.5*l.height,s=-t.fontMetrics().axisHeight-.5*l.height-.111;if((i.depth>.25||"\\xleftequilibrium"===e.label)&&(s-=i.depth),n){var u=-t.fontMetrics().axisHeight+n.height+.5*l.height+.111;a=Ve.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:s},{type:"elem",elem:l,shift:c},{type:"elem",elem:n,shift:u}]},t)}else a=Ve.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:s},{type:"elem",elem:l,shift:c}]},t);return a.children[0].children[0].children[1].classes.push("svg-align"),Ve.makeSpan(["mrel","x-arrow"],[a],t)},mathmlBuilder:function(e,t){var n,r=Pt(e.label);if(e.body){var o=Ht(St(e.body,t));if(e.below){var i=Ht(St(e.below,t));n=new gt.MathNode("munderover",[r,i,o])}else n=new gt.MathNode("mover",[r,o])}else if(e.below){var a=Ht(St(e.below,t));n=new gt.MathNode("munder",[r,a])}else n=Ht(),n=new gt.MathNode("mover",[r,n]);return n}}),$e({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler:function(e,t){for(var n=e.parser,r=De(t[0],"ordgroup").body,o="",i=0;i","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],Jt=[0,1.2,1.8,2.4,3],Qt=[{type:"small",style:x.SCRIPTSCRIPT},{type:"small",style:x.SCRIPT},{type:"small",style:x.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],Zt=[{type:"small",style:x.SCRIPTSCRIPT},{type:"small",style:x.SCRIPT},{type:"small",style:x.TEXT},{type:"stack"}],$t=[{type:"small",style:x.SCRIPTSCRIPT},{type:"small",style:x.SCRIPT},{type:"small",style:x.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],en=function(e){if("small"===e.type)return"Main-Regular";if("large"===e.type)return"Size"+e.size+"-Regular";if("stack"===e.type)return"Size4-Regular";throw new Error("Add support for delim type '"+e.type+"' here.")},tn=function(e,t,n,r){for(var o=Math.min(2,3-r.style.size);ot)return n[o]}return n[n.length-1]},nn=function(e,t,n,r,o,i){var a;"<"===e||"\\lt"===e||"⟨"===e?e="\\langle":">"!==e&&"\\gt"!==e&&"⟩"!==e||(e="\\rangle"),a=f.contains(Xt,e)?Qt:f.contains(Gt,e)?$t:Zt;var l=tn(e,t,a,r);return"small"===l.type?function(e,t,n,r,o,i){var a=Ve.makeSymbol(e,"Main-Regular",o,r),l=Dt(a,t,r,i);return n&&Ft(l,r,t),l}(e,l.style,n,r,o,i):"large"===l.type?qt(e,l.size,n,r,o,i):Wt(e,t,n,r,o,i)},rn=function(e,t){var n,r,o=t.havingBaseSizing(),i=tn("\\surd",e*o.sizeMultiplier,$t,o),a=o.sizeMultiplier,l=Math.max(0,t.minRuleThickness-t.fontMetrics().sqrtRuleThickness),c=0,s=0,u=0;return"small"===i.type?(e<1?a=1:e<1.4&&(a=.7),s=(1+l)/a,(n=Yt("sqrtMain",c=(1+l+.08)/a,u=1e3+1e3*l+80,l,t)).style.minWidth="0.853em",r=.833/a):"large"===i.type?(u=1080*Jt[i.size],s=(Jt[i.size]+l)/a,c=(Jt[i.size]+l+.08)/a,(n=Yt("sqrtSize"+i.size,c,u,l,t)).style.minWidth="1.02em",r=1/a):(c=e+l+.08,s=e+l,u=Math.floor(1e3*e+l)+80,(n=Yt("sqrtTall",c,u,l,t)).style.minWidth="0.742em",r=1.056),n.height=s,n.style.height=c+"em",{span:n,advanceWidth:r,ruleWidth:(t.fontMetrics().sqrtRuleThickness+l)*a}},on=function(e,t,n,r,o){if("<"===e||"\\lt"===e||"⟨"===e?e="\\langle":">"!==e&&"\\gt"!==e&&"⟩"!==e||(e="\\rangle"),f.contains(Gt,e)||f.contains(Xt,e))return qt(e,t,!1,n,r,o);if(f.contains(Kt,e))return Wt(e,Jt[t],!1,n,r,o);throw new a("Illegal delimiter: '"+e+"'")},an=nn,ln=function(e,t,n,r,o,i){var a=r.fontMetrics().axisHeight*r.sizeMultiplier,l=5/r.fontMetrics().ptPerEm,c=Math.max(t-a,n+a),s=Math.max(c/500*901,2*c-l);return nn(e,s,!0,r,o,i)},cn={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},sn=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","<",">","\\langle","⟨","\\rangle","⟩","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function un(e,t){var n=Ue(e);if(n&&f.contains(sn,n.text))return n;throw new a("Invalid delimiter: '"+(n?n.text:JSON.stringify(e))+"' after '"+t.funcName+"'",e)}function fn(e){if(!e.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}$e({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1},handler:function(e,t){var n=un(t[0],e);return{type:"delimsizing",mode:e.parser.mode,size:cn[e.funcName].size,mclass:cn[e.funcName].mclass,delim:n.text}},htmlBuilder:function(e,t){return"."===e.delim?Ve.makeSpan([e.mclass]):on(e.delim,e.size,t,e.mode,[e.mclass])},mathmlBuilder:function(e){var t=[];"."!==e.delim&&t.push(bt(e.delim,e.mode));var n=new gt.MathNode("mo",t);return"mopen"===e.mclass||"mclose"===e.mclass?n.setAttribute("fence","true"):n.setAttribute("fence","false"),n}}),$e({type:"leftright-right",names:["\\right"],props:{numArgs:1},handler:function(e,t){var n=e.parser.gullet.macros.get("\\current@color");if(n&&"string"!=typeof n)throw new a("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:un(t[0],e).text,color:n}}}),$e({type:"leftright",names:["\\left"],props:{numArgs:1},handler:function(e,t){var n=un(t[0],e),r=e.parser;++r.leftrightDepth;var o=r.parseExpression(!1);--r.leftrightDepth,r.expect("\\right",!1);var i=De(r.parseFunction(),"leftright-right");return{type:"leftright",mode:r.mode,body:o,left:n.text,right:i.delim,rightColor:i.color}},htmlBuilder:function(e,t){fn(e);for(var n,r,o=lt(e.body,t,!0,["mopen","mclose"]),i=0,a=0,l=!1,c=0;c-1?"mpadded":"menclose",[St(e.body,t)]);switch(e.label){case"\\cancel":r.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":r.setAttribute("notation","downdiagonalstrike");break;case"\\sout":r.setAttribute("notation","horizontalstrike");break;case"\\fbox":r.setAttribute("notation","box");break;case"\\fcolorbox":case"\\colorbox":if(n=t.fontMetrics().fboxsep*t.fontMetrics().ptPerEm,r.setAttribute("width","+"+2*n+"pt"),r.setAttribute("height","+"+2*n+"pt"),r.setAttribute("lspace",n+"pt"),r.setAttribute("voffset",n+"pt"),"\\fcolorbox"===e.label){var o=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness);r.setAttribute("style","border: "+o+"em solid "+String(e.borderColor))}break;case"\\xcancel":r.setAttribute("notation","updiagonalstrike downdiagonalstrike")}return e.backgroundColor&&r.setAttribute("mathbackground",e.backgroundColor),r};$e({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","text"]},handler:function(e,t,n){var r=e.parser,o=e.funcName,i=De(t[0],"color-token").color,a=t[1];return{type:"enclose",mode:r.mode,label:o,backgroundColor:i,body:a}},htmlBuilder:hn,mathmlBuilder:pn}),$e({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,greediness:3,argTypes:["color","color","text"]},handler:function(e,t,n){var r=e.parser,o=e.funcName,i=De(t[0],"color-token").color,a=De(t[1],"color-token").color,l=t[2];return{type:"enclose",mode:r.mode,label:o,backgroundColor:a,borderColor:i,body:l}},htmlBuilder:hn,mathmlBuilder:pn}),$e({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler:function(e,t){return{type:"enclose",mode:e.parser.mode,label:"\\fbox",body:t[0]}}}),$e({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout"],props:{numArgs:1},handler:function(e,t,n){var r=e.parser,o=e.funcName,i=t[0];return{type:"enclose",mode:r.mode,label:o,body:i}},htmlBuilder:hn,mathmlBuilder:pn});var dn={};function mn(e){for(var t=e.type,n=e.names,r=e.props,o=e.handler,i=e.htmlBuilder,a=e.mathmlBuilder,l={type:t,numArgs:r.numArgs||0,greediness:1,allowedInText:!1,numOptionalArgs:0,handler:o},c=0;c0&&(b+=.25),s.push({pos:b,isDashed:e[t]})}for(w(i[0]),n=0;n0&&(S<(E+=g)&&(S=E),E=0),e.addJot&&(S+=m),O.height=k,O.depth=S,b+=k,O.pos=b,b+=S+E,c[n]=O,w(i[n+1])}var z,C,P=b/2+t.fontMetrics().axisHeight,A=e.cols||[],j=[];for(r=0,C=0;r=l)){var I=void 0;(r>0||e.hskipBeforeAndAfter)&&0!==(I=f.deflt(L.pregap,p))&&((z=Ve.makeSpan(["arraycolsep"],[])).style.width=I+"em",j.push(z));var V=[];for(n=0;n0){for(var B=Ve.makeLineSpan("hline",t,u),U=Ve.makeLineSpan("hdashline",t,u),W=[{type:"elem",elem:c,shift:0}];s.length>0;){var Y=s.pop(),G=Y.pos-P;Y.isDashed?W.push({type:"elem",elem:U,shift:G}):W.push({type:"elem",elem:B,shift:G})}c=Ve.makeVList({positionType:"individualShift",children:W},t)}return Ve.makeSpan(["mord"],[c],t)},wn={c:"center ",l:"left ",r:"right "},xn=function(e,t){var n=new gt.MathNode("mtable",e.body.map((function(e){return new gt.MathNode("mtr",e.map((function(e){return new gt.MathNode("mtd",[St(e,t)])})))}))),r=.5===e.arraystretch?.1:.16+e.arraystretch-1+(e.addJot?.09:0);n.setAttribute("rowspacing",r+"em");var o="",i="";if(e.cols){var a=e.cols,l="",c=!1,s=0,u=a.length;"separator"===a[0].type&&(o+="top ",s=1),"separator"===a[a.length-1].type&&(o+="bottom ",u-=1);for(var f=s;f0?"left ":"",o+=v[v.length-1].length>0?"right ":"";for(var y=1;y0&&f&&(d=1),r[h]={type:"align",align:p,pregap:d,postgap:0}}return o.colSeparationType=f?"align":"alignat",o};mn({type:"array",names:["array","darray"],props:{numArgs:1},handler:function(e,t){var n={cols:(Ue(t[0])?[t[0]]:De(t[0],"ordgroup").body).map((function(e){var t=Be(e).text;if(-1!=="lcr".indexOf(t))return{type:"align",align:t};if("|"===t)return{type:"separator",separator:"|"};if(":"===t)return{type:"separator",separator:":"};throw new a("Unknown column alignment: "+t,e)})),hskipBeforeAndAfter:!0};return yn(e.parser,n,gn(e.envName))},htmlBuilder:bn,mathmlBuilder:xn}),mn({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix"],props:{numArgs:0},handler:function(e){var t={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[e.envName],n=yn(e.parser,{hskipBeforeAndAfter:!1},gn(e.envName));return t?{type:"leftright",mode:e.mode,body:[n],left:t[0],right:t[1],rightColor:void 0}:n},htmlBuilder:bn,mathmlBuilder:xn}),mn({type:"array",names:["smallmatrix"],props:{numArgs:0},handler:function(e){var t=yn(e.parser,{arraystretch:.5},"script");return t.colSeparationType="small",t},htmlBuilder:bn,mathmlBuilder:xn}),mn({type:"array",names:["subarray"],props:{numArgs:1},handler:function(e,t){var n=(Ue(t[0])?[t[0]]:De(t[0],"ordgroup").body).map((function(e){var t=Be(e).text;if(-1!=="lc".indexOf(t))return{type:"align",align:t};throw new a("Unknown column alignment: "+t,e)}));if(n.length>1)throw new a("{subarray} can contain only one column");var r={cols:n,hskipBeforeAndAfter:!1,arraystretch:.5};if((r=yn(e.parser,r,"script")).body[0].length>1)throw new a("{subarray} can contain only one column");return r},htmlBuilder:bn,mathmlBuilder:xn}),mn({type:"array",names:["cases","dcases"],props:{numArgs:0},handler:function(e){var t=yn(e.parser,{arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},gn(e.envName));return{type:"leftright",mode:e.mode,body:[t],left:"\\{",right:".",rightColor:void 0}},htmlBuilder:bn,mathmlBuilder:xn}),mn({type:"array",names:["aligned"],props:{numArgs:0},handler:_n,htmlBuilder:bn,mathmlBuilder:xn}),mn({type:"array",names:["gathered"],props:{numArgs:0},handler:function(e){return yn(e.parser,{cols:[{type:"align",align:"c"}],addJot:!0},"display")},htmlBuilder:bn,mathmlBuilder:xn}),mn({type:"array",names:["alignedat"],props:{numArgs:1},handler:_n,htmlBuilder:bn,mathmlBuilder:xn}),$e({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler:function(e,t){throw new a(e.funcName+" valid only within array environment")}});var kn=dn;$e({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler:function(e,t){var n=e.parser,r=e.funcName,o=t[0];if("ordgroup"!==o.type)throw new a("Invalid environment name",o);for(var i="",l=0;l=x.SCRIPT.id?n.text():x.DISPLAY:"text"===e&&n.size===x.DISPLAY.size?n=x.TEXT:"script"===e?n=x.SCRIPT:"scriptscript"===e&&(n=x.SCRIPTSCRIPT),n},An=function(e,t){var n,r=Pn(e.size,t.style),o=r.fracNum(),i=r.fracDen();n=t.havingStyle(o);var a=ht(e.numer,n,t);if(e.continued){var l=8.5/t.fontMetrics().ptPerEm,c=3.5/t.fontMetrics().ptPerEm;a.height=a.height0?3*f:7*f,d=t.fontMetrics().denom1):(u>0?(h=t.fontMetrics().num2,p=f):(h=t.fontMetrics().num3,p=3*f),d=t.fontMetrics().denom2),s){var w=t.fontMetrics().axisHeight;h-a.depth-(w+.5*u)0&&(t="."===(t=e)?null:t),t};$e({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,greediness:6,argTypes:["math","math","size","text","math","math"]},handler:function(e,t){var n=e.parser,r=t[4],o=t[5],i=Fe(t[0],"atom");i&&(i=qe(t[0],"open"));var a=i?Nn(i.text):null,l=Fe(t[1],"atom");l&&(l=qe(t[1],"close"));var c,s=l?Nn(l.text):null,u=De(t[2],"size"),f=null;c=!!u.isBlank||(f=u.value).number>0;var h="auto",p=Fe(t[3],"ordgroup");if(p){if(p.body.length>0){var d=De(p.body[0],"textord");h=Ln[Number(d.text)]}}else p=De(t[3],"textord"),h=Ln[Number(p.text)];return{type:"genfrac",mode:n.mode,numer:r,denom:o,continued:!1,hasBarLine:c,barSize:f,leftDelim:a,rightDelim:s,size:h}},htmlBuilder:An,mathmlBuilder:jn}),$e({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler:function(e,t){var n=e.parser,r=(e.funcName,e.token);return{type:"infix",mode:n.mode,replaceWith:"\\\\abovefrac",size:De(t[0],"size").value,token:r}}}),$e({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:function(e,t){var n=e.parser,r=(e.funcName,t[0]),o=function(e){if(!e)throw new Error("Expected non-null, but got "+String(e));return e}(De(t[1],"infix").size),i=t[2],a=o.number>0;return{type:"genfrac",mode:n.mode,numer:r,denom:i,continued:!1,hasBarLine:a,barSize:o,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:An,mathmlBuilder:jn});var Hn=function(e,t){var n,r,o=t.style,i=Fe(e,"supsub");i?(n=i.sup?ht(i.sup,t.havingStyle(o.sup()),t):ht(i.sub,t.havingStyle(o.sub()),t),r=De(i.base,"horizBrace")):r=De(e,"horizBrace");var a,l=ht(r.base,t.havingBaseStyle(x.DISPLAY)),c=At(r,t);if(r.isOver?(a=Ve.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:l},{type:"kern",size:.1},{type:"elem",elem:c}]},t)).children[0].children[0].children[1].classes.push("svg-align"):(a=Ve.makeVList({positionType:"bottom",positionData:l.depth+.1+c.height,children:[{type:"elem",elem:c},{type:"kern",size:.1},{type:"elem",elem:l}]},t)).children[0].children[0].children[0].classes.push("svg-align"),n){var s=Ve.makeSpan(["mord",r.isOver?"mover":"munder"],[a],t);a=r.isOver?Ve.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:s},{type:"kern",size:.2},{type:"elem",elem:n}]},t):Ve.makeVList({positionType:"bottom",positionData:s.depth+.2+n.height+n.depth,children:[{type:"elem",elem:n},{type:"kern",size:.2},{type:"elem",elem:s}]},t)}return Ve.makeSpan(["mord",r.isOver?"mover":"munder"],[a],t)};$e({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler:function(e,t){var n=e.parser,r=e.funcName;return{type:"horizBrace",mode:n.mode,label:r,isOver:/^\\over/.test(r),base:t[0]}},htmlBuilder:Hn,mathmlBuilder:function(e,t){var n=Pt(e.label);return new gt.MathNode(e.isOver?"mover":"munder",[St(e.base,t),n])}}),$e({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:function(e,t){var n=e.parser,r=t[1],o=De(t[0],"url").url;return n.settings.isTrusted({command:"\\href",url:o})?{type:"href",mode:n.mode,href:o,body:tt(r)}:n.formatUnsupportedCmd("\\href")},htmlBuilder:function(e,t){var n=lt(e.body,t,!1);return Ve.makeAnchor(e.href,[],n,t)},mathmlBuilder:function(e,t){var n=kt(e.body,t);return n instanceof vt||(n=new vt("mrow",[n])),n.setAttribute("href",e.href),n}}),$e({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:function(e,t){var n=e.parser,r=De(t[0],"url").url;if(!n.settings.isTrusted({command:"\\url",url:r}))return n.formatUnsupportedCmd("\\url");for(var o=[],i=0;i0&&(r=Te(e.totalheight,t)-n,r=Number(r.toFixed(2)));var o=0;e.width.number>0&&(o=Te(e.width,t));var i={height:n+r+"em"};o>0&&(i.width=o+"em"),r>0&&(i.verticalAlign=-r+"em");var a=new j(e.src,e.alt,i);return a.height=n,a.depth=r,a},mathmlBuilder:function(e,t){var n=new gt.MathNode("mglyph",[]);n.setAttribute("alt",e.alt);var r=Te(e.height,t),o=0;if(e.totalheight.number>0&&(o=(o=Te(e.totalheight,t)-r).toFixed(2),n.setAttribute("valign","-"+o+"em")),n.setAttribute("height",r+o+"em"),e.width.number>0){var i=Te(e.width,t);n.setAttribute("width",i+"em")}return n.setAttribute("src",e.src),n}}),$e({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],allowedInText:!0},handler:function(e,t){var n=e.parser,r=e.funcName,o=De(t[0],"size");if(n.settings.strict){var i="m"===r[1],a="mu"===o.value.unit;i?(a||n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" supports only mu units, not "+o.value.unit+" units"),"math"!==n.mode&&n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" works only in math mode")):a&&n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" doesn't support mu units")}return{type:"kern",mode:n.mode,dimension:o.value}},htmlBuilder:function(e,t){return Ve.makeGlue(e.dimension,t)},mathmlBuilder:function(e,t){var n=Te(e.dimension,t);return new gt.SpaceNode(n)}}),$e({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:function(e,t){var n=e.parser,r=e.funcName,o=t[0];return{type:"lap",mode:n.mode,alignment:r.slice(5),body:o}},htmlBuilder:function(e,t){var n;"clap"===e.alignment?(n=Ve.makeSpan([],[ht(e.body,t)]),n=Ve.makeSpan(["inner"],[n],t)):n=Ve.makeSpan(["inner"],[ht(e.body,t)]);var r=Ve.makeSpan(["fix"],[]),o=Ve.makeSpan([e.alignment],[n,r],t),i=Ve.makeSpan(["strut"]);return i.style.height=o.height+o.depth+"em",i.style.verticalAlign=-o.depth+"em",o.children.unshift(i),o=Ve.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:o}]},t),Ve.makeSpan(["mord"],[o],t)},mathmlBuilder:function(e,t){var n=new gt.MathNode("mpadded",[St(e.body,t)]);if("rlap"!==e.alignment){var r="llap"===e.alignment?"-1":"-0.5";n.setAttribute("lspace",r+"width")}return n.setAttribute("width","0px"),n}}),$e({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(e,t){var n=e.funcName,r=e.parser,o=r.mode;r.switchMode("math");var i="\\("===n?"\\)":"$",a=r.parseExpression(!1,i);return r.expect(i),r.switchMode(o),{type:"styling",mode:r.mode,style:"text",body:a}}}),$e({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(e,t){throw new a("Mismatched "+e.funcName)}});var In=function(e,t){switch(t.style.size){case x.DISPLAY.size:return e.display;case x.TEXT.size:return e.text;case x.SCRIPT.size:return e.script;case x.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}};$e({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4},handler:function(e,t){return{type:"mathchoice",mode:e.parser.mode,display:tt(t[0]),text:tt(t[1]),script:tt(t[2]),scriptscript:tt(t[3])}},htmlBuilder:function(e,t){var n=In(e,t),r=lt(n,t,!1);return Ve.makeFragment(r)},mathmlBuilder:function(e,t){var n=In(e,t);return kt(n,t)}});var Vn=function(e,t,n,r,o,i,a){var l,c,s;if(e=Ve.makeSpan([],[e]),t){var u=ht(t,r.havingStyle(o.sup()),r);c={elem:u,kern:Math.max(r.fontMetrics().bigOpSpacing1,r.fontMetrics().bigOpSpacing3-u.depth)}}if(n){var f=ht(n,r.havingStyle(o.sub()),r);l={elem:f,kern:Math.max(r.fontMetrics().bigOpSpacing2,r.fontMetrics().bigOpSpacing4-f.height)}}if(c&&l){var h=r.fontMetrics().bigOpSpacing5+l.elem.height+l.elem.depth+l.kern+e.depth+a;s=Ve.makeVList({positionType:"bottom",positionData:h,children:[{type:"kern",size:r.fontMetrics().bigOpSpacing5},{type:"elem",elem:l.elem,marginLeft:-i+"em"},{type:"kern",size:l.kern},{type:"elem",elem:e},{type:"kern",size:c.kern},{type:"elem",elem:c.elem,marginLeft:i+"em"},{type:"kern",size:r.fontMetrics().bigOpSpacing5}]},r)}else if(l){var p=e.height-a;s=Ve.makeVList({positionType:"top",positionData:p,children:[{type:"kern",size:r.fontMetrics().bigOpSpacing5},{type:"elem",elem:l.elem,marginLeft:-i+"em"},{type:"kern",size:l.kern},{type:"elem",elem:e}]},r)}else{if(!c)return e;var d=e.depth+a;s=Ve.makeVList({positionType:"bottom",positionData:d,children:[{type:"elem",elem:e},{type:"kern",size:c.kern},{type:"elem",elem:c.elem,marginLeft:i+"em"},{type:"kern",size:r.fontMetrics().bigOpSpacing5}]},r)}return Ve.makeSpan(["mop","op-limits"],[s],r)},Dn=["\\smallint"],Fn=function(e,t){var n,r,o,i=!1,a=Fe(e,"supsub");a?(n=a.sup,r=a.sub,o=De(a.base,"op"),i=!0):o=De(e,"op");var l,c=t.style,s=!1;if(c.size===x.DISPLAY.size&&o.symbol&&!f.contains(Dn,o.name)&&(s=!0),o.symbol){var u=s?"Size2-Regular":"Size1-Regular",h="";if("\\oiint"!==o.name&&"\\oiiint"!==o.name||(h=o.name.substr(1),o.name="oiint"===h?"\\iint":"\\iiint"),l=Ve.makeSymbol(o.name,u,"math",t,["mop","op-symbol",s?"large-op":"small-op"]),h.length>0){var p=l.italic,d=Ve.staticSvg(h+"Size"+(s?"2":"1"),t);l=Ve.makeVList({positionType:"individualShift",children:[{type:"elem",elem:l,shift:0},{type:"elem",elem:d,shift:s?.08:0}]},t),o.name="\\"+h,l.classes.unshift("mop"),l.italic=p}}else if(o.body){var m=lt(o.body,t,!0);1===m.length&&m[0]instanceof N?(l=m[0]).classes[0]="mop":l=Ve.makeSpan(["mop"],Ve.tryCombineChars(m),t)}else{for(var v=[],y=1;y0){for(var c=o.body.map((function(e){var t=e.text;return"string"==typeof t?{type:"textord",mode:e.mode,text:t}:e})),s=lt(c,t.withFont("mathrm"),!0),u=0;u=0?l.setAttribute("height","+"+o+"em"):(l.setAttribute("height",o+"em"),l.setAttribute("depth","+"+-o+"em")),l.setAttribute("voffset",o+"em"),l}});var Gn=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"];$e({type:"sizing",names:Gn,props:{numArgs:0,allowedInText:!0},handler:function(e,t){var n=e.breakOnTokenText,r=e.funcName,o=e.parser,i=o.parseExpression(!1,n);return{type:"sizing",mode:o.mode,size:Gn.indexOf(r)+1,body:i}},htmlBuilder:function(e,t){var n=t.havingSize(e.size);return Yn(e.body,n,t)},mathmlBuilder:function(e,t){var n=t.havingSize(e.size),r=_t(e.body,n),o=new gt.MathNode("mstyle",r);return o.setAttribute("mathsize",n.sizeMultiplier+"em"),o}}),$e({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:function(e,t,n){var r=e.parser,o=!1,i=!1,a=n[0]&&De(n[0],"ordgroup");if(a)for(var l="",c=0;cn.height+n.depth+i&&(i=(i+f-n.height-n.depth)/2);var h=c.height-n.height-i-s;n.style.paddingLeft=u+"em";var p=Ve.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:-(n.height+h)},{type:"elem",elem:c},{type:"kern",size:s}]},t);if(e.index){var d=t.havingStyle(x.SCRIPTSCRIPT),m=ht(e.index,d,t),v=.6*(p.height-p.depth),y=Ve.makeVList({positionType:"shift",positionData:-v,children:[{type:"elem",elem:m}]},t),g=Ve.makeSpan(["root"],[y]);return Ve.makeSpan(["mord","sqrt"],[g,p],t)}return Ve.makeSpan(["mord","sqrt"],[p],t)},mathmlBuilder:function(e,t){var n=e.body,r=e.index;return r?new gt.MathNode("mroot",[St(n,t),St(r,t)]):new gt.MathNode("msqrt",[St(n,t)])}});var Kn={display:x.DISPLAY,text:x.TEXT,script:x.SCRIPT,scriptscript:x.SCRIPTSCRIPT};$e({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0},handler:function(e,t){var n=e.breakOnTokenText,r=e.funcName,o=e.parser,i=o.parseExpression(!0,n),a=r.slice(1,r.length-5);return{type:"styling",mode:o.mode,style:a,body:i}},htmlBuilder:function(e,t){var n=Kn[e.style],r=t.havingStyle(n).withFont("");return Yn(e.body,r,t)},mathmlBuilder:function(e,t){var n=Kn[e.style],r=t.havingStyle(n),o=_t(e.body,r),i=new gt.MathNode("mstyle",o),a={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]}[e.style];return i.setAttribute("scriptlevel",a[0]),i.setAttribute("displaystyle",a[1]),i}}),et({type:"supsub",htmlBuilder:function(e,t){var n=function(e,t){var n=e.base;return n?"op"===n.type?n.limits&&(t.style.size===x.DISPLAY.size||n.alwaysHandleSupSub)?Fn:null:"operatorname"===n.type?n.alwaysHandleSupSub&&(t.style.size===x.DISPLAY.size||n.limits)?Wn:null:"accent"===n.type?f.isCharacterBox(n.base)?jt:null:"horizBrace"===n.type&&!e.sub===n.isOver?Hn:null:null}(e,t);if(n)return n(e,t);var r,o,i,a=e.base,l=e.sup,c=e.sub,s=ht(a,t),u=t.fontMetrics(),h=0,p=0,d=a&&f.isCharacterBox(a);if(l){var m=t.havingStyle(t.style.sup());r=ht(l,m,t),d||(h=s.height-m.fontMetrics().supDrop*m.sizeMultiplier/t.sizeMultiplier)}if(c){var v=t.havingStyle(t.style.sub());o=ht(c,v,t),d||(p=s.depth+v.fontMetrics().subDrop*v.sizeMultiplier/t.sizeMultiplier)}i=t.style===x.DISPLAY?u.sup1:t.style.cramped?u.sup3:u.sup2;var y,g=t.sizeMultiplier,b=.5/u.ptPerEm/g+"em",w=null;if(o){var _=e.base&&"op"===e.base.type&&e.base.name&&("\\oiint"===e.base.name||"\\oiiint"===e.base.name);(s instanceof N||_)&&(w=-s.italic+"em")}if(r&&o){h=Math.max(h,i,r.depth+.25*u.xHeight),p=Math.max(p,u.sub2);var k=4*u.defaultRuleThickness;if(h-r.depth-(o.height-p)0&&(h+=S,p-=S)}var O=[{type:"elem",elem:o,shift:p,marginRight:b,marginLeft:w},{type:"elem",elem:r,shift:-h,marginRight:b}];y=Ve.makeVList({positionType:"individualShift",children:O},t)}else if(o){p=Math.max(p,u.sub1,o.height-.8*u.xHeight);var M=[{type:"elem",elem:o,marginLeft:w,marginRight:b}];y=Ve.makeVList({positionType:"shift",positionData:p,children:M},t)}else{if(!r)throw new Error("supsub must have either sup or sub.");h=Math.max(h,i,r.depth+.25*u.xHeight),y=Ve.makeVList({positionType:"shift",positionData:-h,children:[{type:"elem",elem:r,marginRight:b}]},t)}var T=ut(s,"right")||"mord";return Ve.makeSpan([T],[s,Ve.makeSpan(["msupsub"],[y])],t)},mathmlBuilder:function(e,t){var n,r=!1,o=Fe(e.base,"horizBrace");o&&!!e.sup===o.isOver&&(r=!0,n=o.isOver),!e.base||"op"!==e.base.type&&"operatorname"!==e.base.type||(e.base.parentIsSupSub=!0);var i,a=[St(e.base,t)];if(e.sub&&a.push(St(e.sub,t)),e.sup&&a.push(St(e.sup,t)),r)i=n?"mover":"munder";else if(e.sub)if(e.sup){var l=e.base;i=l&&"op"===l.type&&l.limits&&t.style===x.DISPLAY||l&&"operatorname"===l.type&&l.alwaysHandleSupSub&&(t.style===x.DISPLAY||l.limits)?"munderover":"msubsup"}else{var c=e.base;i=c&&"op"===c.type&&c.limits&&(t.style===x.DISPLAY||c.alwaysHandleSupSub)||c&&"operatorname"===c.type&&c.alwaysHandleSupSub&&(c.limits||t.style===x.DISPLAY)?"munder":"msub"}else{var s=e.base;i=s&&"op"===s.type&&s.limits&&(t.style===x.DISPLAY||s.alwaysHandleSupSub)||s&&"operatorname"===s.type&&s.alwaysHandleSupSub&&(s.limits||t.style===x.DISPLAY)?"mover":"msup"}return new gt.MathNode(i,a)}}),et({type:"atom",htmlBuilder:function(e,t){return Ve.mathsym(e.text,e.mode,t,["m"+e.family])},mathmlBuilder:function(e,t){var n=new gt.MathNode("mo",[bt(e.text,e.mode)]);if("bin"===e.family){var r=xt(e,t);"bold-italic"===r&&n.setAttribute("mathvariant",r)}else"punct"===e.family?n.setAttribute("separator","true"):"open"!==e.family&&"close"!==e.family||n.setAttribute("stretchy","false");return n}});var Xn={mi:"italic",mn:"normal",mtext:"normal"};et({type:"mathord",htmlBuilder:function(e,t){return Ve.makeOrd(e,t,"mathord")},mathmlBuilder:function(e,t){var n=new gt.MathNode("mi",[bt(e.text,e.mode,t)]),r=xt(e,t)||"italic";return r!==Xn[n.type]&&n.setAttribute("mathvariant",r),n}}),et({type:"textord",htmlBuilder:function(e,t){return Ve.makeOrd(e,t,"textord")},mathmlBuilder:function(e,t){var n,r=bt(e.text,e.mode,t),o=xt(e,t)||"normal";return n="text"===e.mode?new gt.MathNode("mtext",[r]):/[0-9]/.test(e.text)?new gt.MathNode("mn",[r]):"\\prime"===e.text?new gt.MathNode("mo",[r]):new gt.MathNode("mi",[r]),o!==Xn[n.type]&&n.setAttribute("mathvariant",o),n}});var Jn={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},Qn={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};et({type:"spacing",htmlBuilder:function(e,t){if(Qn.hasOwnProperty(e.text)){var n=Qn[e.text].className||"";if("text"===e.mode){var r=Ve.makeOrd(e,t,"textord");return r.classes.push(n),r}return Ve.makeSpan(["mspace",n],[Ve.mathsym(e.text,e.mode,t)],t)}if(Jn.hasOwnProperty(e.text))return Ve.makeSpan(["mspace",Jn[e.text]],[],t);throw new a('Unknown type of space "'+e.text+'"')},mathmlBuilder:function(e,t){if(!Qn.hasOwnProperty(e.text)){if(Jn.hasOwnProperty(e.text))return new gt.MathNode("mspace");throw new a('Unknown type of space "'+e.text+'"')}return new gt.MathNode("mtext",[new gt.TextNode(" ")])}});var Zn=function(){var e=new gt.MathNode("mtd",[]);return e.setAttribute("width","50%"),e};et({type:"tag",mathmlBuilder:function(e,t){var n=new gt.MathNode("mtable",[new gt.MathNode("mtr",[Zn(),new gt.MathNode("mtd",[kt(e.body,t)]),Zn(),new gt.MathNode("mtd",[kt(e.tag,t)])])]);return n.setAttribute("width","100%"),n}});var $n={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},er={"\\textbf":"textbf","\\textmd":"textmd"},tr={"\\textit":"textit","\\textup":"textup"},nr=function(e,t){var n=e.font;return n?$n[n]?t.withTextFontFamily($n[n]):er[n]?t.withTextFontWeight(er[n]):t.withTextFontShape(tr[n]):t};$e({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup"],props:{numArgs:1,argTypes:["text"],greediness:2,allowedInText:!0},handler:function(e,t){var n=e.parser,r=e.funcName,o=t[0];return{type:"text",mode:n.mode,body:tt(o),font:r}},htmlBuilder:function(e,t){var n=nr(e,t),r=lt(e.body,n,!0);return Ve.makeSpan(["mord","text"],Ve.tryCombineChars(r),n)},mathmlBuilder:function(e,t){var n=nr(e,t);return kt(e.body,n)}}),$e({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler:function(e,t){return{type:"underline",mode:e.parser.mode,body:t[0]}},htmlBuilder:function(e,t){var n=ht(e.body,t),r=Ve.makeLineSpan("underline-line",t),o=t.fontMetrics().defaultRuleThickness,i=Ve.makeVList({positionType:"top",positionData:n.height,children:[{type:"kern",size:o},{type:"elem",elem:r},{type:"kern",size:3*o},{type:"elem",elem:n}]},t);return Ve.makeSpan(["mord","underline"],[i],t)},mathmlBuilder:function(e,t){var n=new gt.MathNode("mo",[new gt.TextNode("‾")]);n.setAttribute("stretchy","true");var r=new gt.MathNode("munder",[St(e.body,t),n]);return r.setAttribute("accentunder","true"),r}}),$e({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler:function(e,t,n){throw new a("\\verb ended by end of line instead of matching delimiter")},htmlBuilder:function(e,t){for(var n=rr(e),r=[],o=t.havingStyle(t.style.text()),i=0;i0&&(this.undefStack[this.undefStack.length-1][e]=t)}else{var o=this.undefStack[this.undefStack.length-1];o&&!o.hasOwnProperty(e)&&(o[e]=this.current[e])}this.current[e]=t},e}(),sr={},ur=sr;function fr(e,t){sr[e]=t}fr("\\@firstoftwo",(function(e){return{tokens:e.consumeArgs(2)[0],numArgs:0}})),fr("\\@secondoftwo",(function(e){return{tokens:e.consumeArgs(2)[1],numArgs:0}})),fr("\\@ifnextchar",(function(e){var t=e.consumeArgs(3),n=e.future();return 1===t[0].length&&t[0][0].text===n.text?{tokens:t[1],numArgs:0}:{tokens:t[2],numArgs:0}})),fr("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),fr("\\TextOrMath",(function(e){var t=e.consumeArgs(2);return"text"===e.mode?{tokens:t[0],numArgs:0}:{tokens:t[1],numArgs:0}}));var hr={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};fr("\\char",(function(e){var t,n=e.popToken(),r="";if("'"===n.text)t=8,n=e.popToken();else if('"'===n.text)t=16,n=e.popToken();else if("`"===n.text)if("\\"===(n=e.popToken()).text[0])r=n.text.charCodeAt(1);else{if("EOF"===n.text)throw new a("\\char` missing argument");r=n.text.charCodeAt(0)}else t=10;if(t){if(null==(r=hr[n.text])||r>=t)throw new a("Invalid base-"+t+" digit "+n.text);for(var o;null!=(o=hr[e.future().text])&&o":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};fr("\\dots",(function(e){var t="\\dotso",n=e.expandAfterFuture().text;return n in mr?t=mr[n]:("\\not"===n.substr(0,4)||n in K.math&&f.contains(["bin","rel"],K.math[n].group))&&(t="\\dotsb"),t}));var vr={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};fr("\\dotso",(function(e){return e.future().text in vr?"\\ldots\\,":"\\ldots"})),fr("\\dotsc",(function(e){var t=e.future().text;return t in vr&&","!==t?"\\ldots\\,":"\\ldots"})),fr("\\cdots",(function(e){return e.future().text in vr?"\\@cdots\\,":"\\@cdots"})),fr("\\dotsb","\\cdots"),fr("\\dotsm","\\cdots"),fr("\\dotsi","\\!\\cdots"),fr("\\dotsx","\\ldots\\,"),fr("\\DOTSI","\\relax"),fr("\\DOTSB","\\relax"),fr("\\DOTSX","\\relax"),fr("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),fr("\\,","\\tmspace+{3mu}{.1667em}"),fr("\\thinspace","\\,"),fr("\\>","\\mskip{4mu}"),fr("\\:","\\tmspace+{4mu}{.2222em}"),fr("\\medspace","\\:"),fr("\\;","\\tmspace+{5mu}{.2777em}"),fr("\\thickspace","\\;"),fr("\\!","\\tmspace-{3mu}{.1667em}"),fr("\\negthinspace","\\!"),fr("\\negmedspace","\\tmspace-{4mu}{.2222em}"),fr("\\negthickspace","\\tmspace-{5mu}{.277em}"),fr("\\enspace","\\kern.5em "),fr("\\enskip","\\hskip.5em\\relax"),fr("\\quad","\\hskip1em\\relax"),fr("\\qquad","\\hskip2em\\relax"),fr("\\tag","\\@ifstar\\tag@literal\\tag@paren"),fr("\\tag@paren","\\tag@literal{({#1})}"),fr("\\tag@literal",(function(e){if(e.macros.get("\\df@tag"))throw new a("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"})),fr("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),fr("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),fr("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),fr("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),fr("\\pmb","\\html@mathml{\\@binrel{#1}{\\mathrlap{#1}\\kern0.5px#1}}{\\mathbf{#1}}"),fr("\\\\","\\newline"),fr("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var yr=D["Main-Regular"]["T".charCodeAt(0)][1]-.7*D["Main-Regular"]["A".charCodeAt(0)][1]+"em";fr("\\LaTeX","\\textrm{\\html@mathml{L\\kern-.36em\\raisebox{"+yr+"}{\\scriptstyle A}\\kern-.15em\\TeX}{LaTeX}}"),fr("\\KaTeX","\\textrm{\\html@mathml{K\\kern-.17em\\raisebox{"+yr+"}{\\scriptstyle A}\\kern-.15em\\TeX}{KaTeX}}"),fr("\\hspace","\\@ifstar\\@hspacer\\@hspace"),fr("\\@hspace","\\hskip #1\\relax"),fr("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),fr("\\ordinarycolon",":"),fr("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),fr("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),fr("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),fr("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),fr("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),fr("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),fr("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),fr("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),fr("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),fr("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),fr("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),fr("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),fr("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),fr("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),fr("∷","\\dblcolon"),fr("∹","\\eqcolon"),fr("≔","\\coloneqq"),fr("≕","\\eqqcolon"),fr("⩴","\\Coloneqq"),fr("\\ratio","\\vcentcolon"),fr("\\coloncolon","\\dblcolon"),fr("\\colonequals","\\coloneqq"),fr("\\coloncolonequals","\\Coloneqq"),fr("\\equalscolon","\\eqqcolon"),fr("\\equalscoloncolon","\\Eqqcolon"),fr("\\colonminus","\\coloneq"),fr("\\coloncolonminus","\\Coloneq"),fr("\\minuscolon","\\eqcolon"),fr("\\minuscoloncolon","\\Eqcolon"),fr("\\coloncolonapprox","\\Colonapprox"),fr("\\coloncolonsim","\\Colonsim"),fr("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),fr("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),fr("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),fr("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),fr("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}"),fr("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),fr("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),fr("\\gvertneqq","\\html@mathml{\\@gvertneqq}{≩}"),fr("\\lvertneqq","\\html@mathml{\\@lvertneqq}{≨}"),fr("\\ngeqq","\\html@mathml{\\@ngeqq}{≱}"),fr("\\ngeqslant","\\html@mathml{\\@ngeqslant}{≱}"),fr("\\nleqq","\\html@mathml{\\@nleqq}{≰}"),fr("\\nleqslant","\\html@mathml{\\@nleqslant}{≰}"),fr("\\nshortmid","\\html@mathml{\\@nshortmid}{∤}"),fr("\\nshortparallel","\\html@mathml{\\@nshortparallel}{∦}"),fr("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{⊈}"),fr("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{⊉}"),fr("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{⊊}"),fr("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{⫋}"),fr("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{⊋}"),fr("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{⫌}"),fr("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}"),fr("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}"),fr("⟦","\\llbracket"),fr("⟧","\\rrbracket"),fr("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}"),fr("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}"),fr("⦃","\\lBrace"),fr("⦄","\\rBrace"),fr("\\darr","\\downarrow"),fr("\\dArr","\\Downarrow"),fr("\\Darr","\\Downarrow"),fr("\\lang","\\langle"),fr("\\rang","\\rangle"),fr("\\uarr","\\uparrow"),fr("\\uArr","\\Uparrow"),fr("\\Uarr","\\Uparrow"),fr("\\N","\\mathbb{N}"),fr("\\R","\\mathbb{R}"),fr("\\Z","\\mathbb{Z}"),fr("\\alef","\\aleph"),fr("\\alefsym","\\aleph"),fr("\\Alpha","\\mathrm{A}"),fr("\\Beta","\\mathrm{B}"),fr("\\bull","\\bullet"),fr("\\Chi","\\mathrm{X}"),fr("\\clubs","\\clubsuit"),fr("\\cnums","\\mathbb{C}"),fr("\\Complex","\\mathbb{C}"),fr("\\Dagger","\\ddagger"),fr("\\diamonds","\\diamondsuit"),fr("\\empty","\\emptyset"),fr("\\Epsilon","\\mathrm{E}"),fr("\\Eta","\\mathrm{H}"),fr("\\exist","\\exists"),fr("\\harr","\\leftrightarrow"),fr("\\hArr","\\Leftrightarrow"),fr("\\Harr","\\Leftrightarrow"),fr("\\hearts","\\heartsuit"),fr("\\image","\\Im"),fr("\\infin","\\infty"),fr("\\Iota","\\mathrm{I}"),fr("\\isin","\\in"),fr("\\Kappa","\\mathrm{K}"),fr("\\larr","\\leftarrow"),fr("\\lArr","\\Leftarrow"),fr("\\Larr","\\Leftarrow"),fr("\\lrarr","\\leftrightarrow"),fr("\\lrArr","\\Leftrightarrow"),fr("\\Lrarr","\\Leftrightarrow"),fr("\\Mu","\\mathrm{M}"),fr("\\natnums","\\mathbb{N}"),fr("\\Nu","\\mathrm{N}"),fr("\\Omicron","\\mathrm{O}"),fr("\\plusmn","\\pm"),fr("\\rarr","\\rightarrow"),fr("\\rArr","\\Rightarrow"),fr("\\Rarr","\\Rightarrow"),fr("\\real","\\Re"),fr("\\reals","\\mathbb{R}"),fr("\\Reals","\\mathbb{R}"),fr("\\Rho","\\mathrm{P}"),fr("\\sdot","\\cdot"),fr("\\sect","\\S"),fr("\\spades","\\spadesuit"),fr("\\sub","\\subset"),fr("\\sube","\\subseteq"),fr("\\supe","\\supseteq"),fr("\\Tau","\\mathrm{T}"),fr("\\thetasym","\\vartheta"),fr("\\weierp","\\wp"),fr("\\Zeta","\\mathrm{Z}"),fr("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),fr("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),fr("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),fr("\\blue","\\textcolor{##6495ed}{#1}"),fr("\\orange","\\textcolor{##ffa500}{#1}"),fr("\\pink","\\textcolor{##ff00af}{#1}"),fr("\\red","\\textcolor{##df0030}{#1}"),fr("\\green","\\textcolor{##28ae7b}{#1}"),fr("\\gray","\\textcolor{gray}{#1}"),fr("\\purple","\\textcolor{##9d38bd}{#1}"),fr("\\blueA","\\textcolor{##ccfaff}{#1}"),fr("\\blueB","\\textcolor{##80f6ff}{#1}"),fr("\\blueC","\\textcolor{##63d9ea}{#1}"),fr("\\blueD","\\textcolor{##11accd}{#1}"),fr("\\blueE","\\textcolor{##0c7f99}{#1}"),fr("\\tealA","\\textcolor{##94fff5}{#1}"),fr("\\tealB","\\textcolor{##26edd5}{#1}"),fr("\\tealC","\\textcolor{##01d1c1}{#1}"),fr("\\tealD","\\textcolor{##01a995}{#1}"),fr("\\tealE","\\textcolor{##208170}{#1}"),fr("\\greenA","\\textcolor{##b6ffb0}{#1}"),fr("\\greenB","\\textcolor{##8af281}{#1}"),fr("\\greenC","\\textcolor{##74cf70}{#1}"),fr("\\greenD","\\textcolor{##1fab54}{#1}"),fr("\\greenE","\\textcolor{##0d923f}{#1}"),fr("\\goldA","\\textcolor{##ffd0a9}{#1}"),fr("\\goldB","\\textcolor{##ffbb71}{#1}"),fr("\\goldC","\\textcolor{##ff9c39}{#1}"),fr("\\goldD","\\textcolor{##e07d10}{#1}"),fr("\\goldE","\\textcolor{##a75a05}{#1}"),fr("\\redA","\\textcolor{##fca9a9}{#1}"),fr("\\redB","\\textcolor{##ff8482}{#1}"),fr("\\redC","\\textcolor{##f9685d}{#1}"),fr("\\redD","\\textcolor{##e84d39}{#1}"),fr("\\redE","\\textcolor{##bc2612}{#1}"),fr("\\maroonA","\\textcolor{##ffbde0}{#1}"),fr("\\maroonB","\\textcolor{##ff92c6}{#1}"),fr("\\maroonC","\\textcolor{##ed5fa6}{#1}"),fr("\\maroonD","\\textcolor{##ca337c}{#1}"),fr("\\maroonE","\\textcolor{##9e034e}{#1}"),fr("\\purpleA","\\textcolor{##ddd7ff}{#1}"),fr("\\purpleB","\\textcolor{##c6b9fc}{#1}"),fr("\\purpleC","\\textcolor{##aa87ff}{#1}"),fr("\\purpleD","\\textcolor{##7854ab}{#1}"),fr("\\purpleE","\\textcolor{##543b78}{#1}"),fr("\\mintA","\\textcolor{##f5f9e8}{#1}"),fr("\\mintB","\\textcolor{##edf2df}{#1}"),fr("\\mintC","\\textcolor{##e0e5cc}{#1}"),fr("\\grayA","\\textcolor{##f6f7f7}{#1}"),fr("\\grayB","\\textcolor{##f0f1f2}{#1}"),fr("\\grayC","\\textcolor{##e3e5e6}{#1}"),fr("\\grayD","\\textcolor{##d6d8da}{#1}"),fr("\\grayE","\\textcolor{##babec2}{#1}"),fr("\\grayF","\\textcolor{##888d93}{#1}"),fr("\\grayG","\\textcolor{##626569}{#1}"),fr("\\grayH","\\textcolor{##3b3e40}{#1}"),fr("\\grayI","\\textcolor{##21242c}{#1}"),fr("\\kaBlue","\\textcolor{##314453}{#1}"),fr("\\kaGreen","\\textcolor{##71B307}{#1}");var gr={"\\relax":!0,"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},br=function(){function e(e,t,n){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=t,this.expansionCount=0,this.feed(e),this.macros=new cr(ur,t.macros),this.mode=n,this.stack=[]}var t=e.prototype;return t.feed=function(e){this.lexer=new lr(e,this.settings)},t.switchMode=function(e){this.mode=e},t.beginGroup=function(){this.macros.beginGroup()},t.endGroup=function(){this.macros.endGroup()},t.future=function(){return 0===this.stack.length&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]},t.popToken=function(){return this.future(),this.stack.pop()},t.pushToken=function(e){this.stack.push(e)},t.pushTokens=function(e){var t;(t=this.stack).push.apply(t,e)},t.consumeSpaces=function(){for(;" "===this.future().text;)this.stack.pop()},t.consumeArgs=function(e){for(var t=[],n=0;nthis.settings.maxExpand)throw new a("Too many expansions: infinite loop or need to increase maxExpand setting");var r=n.tokens;if(n.numArgs)for(var o=this.consumeArgs(n.numArgs),i=(r=r.slice()).length-1;i>=0;--i){var l=r[i];if("#"===l.text){if(0===i)throw new a("Incomplete placeholder at end of macro body",l);if("#"===(l=r[--i]).text)r.splice(i+1,1);else{if(!/^[1-9]$/.test(l.text))throw new a("Not a valid argument number",l);var c;(c=r).splice.apply(c,[i,2].concat(o[+l.text-1]))}}}return this.pushTokens(r),r},t.expandAfterFuture=function(){return this.expandOnce(),this.future()},t.expandNextToken=function(){for(;;){var e=this.expandOnce();if(e instanceof o){if("\\relax"!==e.text)return this.stack.pop();this.stack.pop()}}throw new Error},t.expandMacro=function(e){if(this.macros.get(e)){var t=[],n=this.stack.length;for(this.pushToken(new o(e));this.stack.length>n;)this.expandOnce()instanceof o&&t.push(this.stack.pop());return t}},t.expandMacroAsText=function(e){var t=this.expandMacro(e);return t?t.map((function(e){return e.text})).join(""):t},t._getExpansion=function(e){var t=this.macros.get(e);if(null==t)return t;var n="function"==typeof t?t(this):t;if("string"==typeof n){var r=0;if(-1!==n.indexOf("#"))for(var o=n.replace(/##/g,"");-1!==o.indexOf("#"+(r+1));)++r;for(var i=new lr(n,this.settings),a=[],l=i.lex();"EOF"!==l.text;)a.push(l),l=i.lex();return a.reverse(),{tokens:a,numArgs:r}}return n},t.isDefined=function(e){return this.macros.has(e)||or.hasOwnProperty(e)||K.math.hasOwnProperty(e)||K.text.hasOwnProperty(e)||gr.hasOwnProperty(e)},e}(),wr={"́":{text:"\\'",math:"\\acute"},"̀":{text:"\\`",math:"\\grave"},"̈":{text:'\\"',math:"\\ddot"},"̃":{text:"\\~",math:"\\tilde"},"̄":{text:"\\=",math:"\\bar"},"̆":{text:"\\u",math:"\\breve"},"̌":{text:"\\v",math:"\\check"},"̂":{text:"\\^",math:"\\hat"},"̇":{text:"\\.",math:"\\dot"},"̊":{text:"\\r",math:"\\mathring"},"̋":{text:"\\H"}},xr={á:"á",à:"à",ä:"ä",ǟ:"ǟ",ã:"ã",ā:"ā",ă:"ă",ắ:"ắ",ằ:"ằ",ẵ:"ẵ",ǎ:"ǎ",â:"â",ấ:"ấ",ầ:"ầ",ẫ:"ẫ",ȧ:"ȧ",ǡ:"ǡ",å:"å",ǻ:"ǻ",ḃ:"ḃ",ć:"ć",č:"č",ĉ:"ĉ",ċ:"ċ",ď:"ď",ḋ:"ḋ",é:"é",è:"è",ë:"ë",ẽ:"ẽ",ē:"ē",ḗ:"ḗ",ḕ:"ḕ",ĕ:"ĕ",ě:"ě",ê:"ê",ế:"ế",ề:"ề",ễ:"ễ",ė:"ė",ḟ:"ḟ",ǵ:"ǵ",ḡ:"ḡ",ğ:"ğ",ǧ:"ǧ",ĝ:"ĝ",ġ:"ġ",ḧ:"ḧ",ȟ:"ȟ",ĥ:"ĥ",ḣ:"ḣ",í:"í",ì:"ì",ï:"ï",ḯ:"ḯ",ĩ:"ĩ",ī:"ī",ĭ:"ĭ",ǐ:"ǐ",î:"î",ǰ:"ǰ",ĵ:"ĵ",ḱ:"ḱ",ǩ:"ǩ",ĺ:"ĺ",ľ:"ľ",ḿ:"ḿ",ṁ:"ṁ",ń:"ń",ǹ:"ǹ",ñ:"ñ",ň:"ň",ṅ:"ṅ",ó:"ó",ò:"ò",ö:"ö",ȫ:"ȫ",õ:"õ",ṍ:"ṍ",ṏ:"ṏ",ȭ:"ȭ",ō:"ō",ṓ:"ṓ",ṑ:"ṑ",ŏ:"ŏ",ǒ:"ǒ",ô:"ô",ố:"ố",ồ:"ồ",ỗ:"ỗ",ȯ:"ȯ",ȱ:"ȱ",ő:"ő",ṕ:"ṕ",ṗ:"ṗ",ŕ:"ŕ",ř:"ř",ṙ:"ṙ",ś:"ś",ṥ:"ṥ",š:"š",ṧ:"ṧ",ŝ:"ŝ",ṡ:"ṡ",ẗ:"ẗ",ť:"ť",ṫ:"ṫ",ú:"ú",ù:"ù",ü:"ü",ǘ:"ǘ",ǜ:"ǜ",ǖ:"ǖ",ǚ:"ǚ",ũ:"ũ",ṹ:"ṹ",ū:"ū",ṻ:"ṻ",ŭ:"ŭ",ǔ:"ǔ",û:"û",ů:"ů",ű:"ű",ṽ:"ṽ",ẃ:"ẃ",ẁ:"ẁ",ẅ:"ẅ",ŵ:"ŵ",ẇ:"ẇ",ẘ:"ẘ",ẍ:"ẍ",ẋ:"ẋ",ý:"ý",ỳ:"ỳ",ÿ:"ÿ",ỹ:"ỹ",ȳ:"ȳ",ŷ:"ŷ",ẏ:"ẏ",ẙ:"ẙ",ź:"ź",ž:"ž",ẑ:"ẑ",ż:"ż",Á:"Á",À:"À",Ä:"Ä",Ǟ:"Ǟ",Ã:"Ã",Ā:"Ā",Ă:"Ă",Ắ:"Ắ",Ằ:"Ằ",Ẵ:"Ẵ",Ǎ:"Ǎ",Â:"Â",Ấ:"Ấ",Ầ:"Ầ",Ẫ:"Ẫ",Ȧ:"Ȧ",Ǡ:"Ǡ",Å:"Å",Ǻ:"Ǻ",Ḃ:"Ḃ",Ć:"Ć",Č:"Č",Ĉ:"Ĉ",Ċ:"Ċ",Ď:"Ď",Ḋ:"Ḋ",É:"É",È:"È",Ë:"Ë",Ẽ:"Ẽ",Ē:"Ē",Ḗ:"Ḗ",Ḕ:"Ḕ",Ĕ:"Ĕ",Ě:"Ě",Ê:"Ê",Ế:"Ế",Ề:"Ề",Ễ:"Ễ",Ė:"Ė",Ḟ:"Ḟ",Ǵ:"Ǵ",Ḡ:"Ḡ",Ğ:"Ğ",Ǧ:"Ǧ",Ĝ:"Ĝ",Ġ:"Ġ",Ḧ:"Ḧ",Ȟ:"Ȟ",Ĥ:"Ĥ",Ḣ:"Ḣ",Í:"Í",Ì:"Ì",Ï:"Ï",Ḯ:"Ḯ",Ĩ:"Ĩ",Ī:"Ī",Ĭ:"Ĭ",Ǐ:"Ǐ",Î:"Î",İ:"İ",Ĵ:"Ĵ",Ḱ:"Ḱ",Ǩ:"Ǩ",Ĺ:"Ĺ",Ľ:"Ľ",Ḿ:"Ḿ",Ṁ:"Ṁ",Ń:"Ń",Ǹ:"Ǹ",Ñ:"Ñ",Ň:"Ň",Ṅ:"Ṅ",Ó:"Ó",Ò:"Ò",Ö:"Ö",Ȫ:"Ȫ",Õ:"Õ",Ṍ:"Ṍ",Ṏ:"Ṏ",Ȭ:"Ȭ",Ō:"Ō",Ṓ:"Ṓ",Ṑ:"Ṑ",Ŏ:"Ŏ",Ǒ:"Ǒ",Ô:"Ô",Ố:"Ố",Ồ:"Ồ",Ỗ:"Ỗ",Ȯ:"Ȯ",Ȱ:"Ȱ",Ő:"Ő",Ṕ:"Ṕ",Ṗ:"Ṗ",Ŕ:"Ŕ",Ř:"Ř",Ṙ:"Ṙ",Ś:"Ś",Ṥ:"Ṥ",Š:"Š",Ṧ:"Ṧ",Ŝ:"Ŝ",Ṡ:"Ṡ",Ť:"Ť",Ṫ:"Ṫ",Ú:"Ú",Ù:"Ù",Ü:"Ü",Ǘ:"Ǘ",Ǜ:"Ǜ",Ǖ:"Ǖ",Ǚ:"Ǚ",Ũ:"Ũ",Ṹ:"Ṹ",Ū:"Ū",Ṻ:"Ṻ",Ŭ:"Ŭ",Ǔ:"Ǔ",Û:"Û",Ů:"Ů",Ű:"Ű",Ṽ:"Ṽ",Ẃ:"Ẃ",Ẁ:"Ẁ",Ẅ:"Ẅ",Ŵ:"Ŵ",Ẇ:"Ẇ",Ẍ:"Ẍ",Ẋ:"Ẋ",Ý:"Ý",Ỳ:"Ỳ",Ÿ:"Ÿ",Ỹ:"Ỹ",Ȳ:"Ȳ",Ŷ:"Ŷ",Ẏ:"Ẏ",Ź:"Ź",Ž:"Ž",Ẑ:"Ẑ",Ż:"Ż",ά:"ά",ὰ:"ὰ",ᾱ:"ᾱ",ᾰ:"ᾰ",έ:"έ",ὲ:"ὲ",ή:"ή",ὴ:"ὴ",ί:"ί",ὶ:"ὶ",ϊ:"ϊ",ΐ:"ΐ",ῒ:"ῒ",ῑ:"ῑ",ῐ:"ῐ",ό:"ό",ὸ:"ὸ",ύ:"ύ",ὺ:"ὺ",ϋ:"ϋ",ΰ:"ΰ",ῢ:"ῢ",ῡ:"ῡ",ῠ:"ῠ",ώ:"ώ",ὼ:"ὼ",Ύ:"Ύ",Ὺ:"Ὺ",Ϋ:"Ϋ",Ῡ:"Ῡ",Ῠ:"Ῠ",Ώ:"Ώ",Ὼ:"Ὼ"},_r=function(){function e(e,t){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new br(e,t,this.mode),this.settings=t,this.leftrightDepth=0}var t=e.prototype;return t.expect=function(e,t){if(void 0===t&&(t=!0),this.fetch().text!==e)throw new a("Expected '"+e+"', got '"+this.fetch().text+"'",this.fetch());t&&this.consume()},t.consume=function(){this.nextToken=null},t.fetch=function(){return null==this.nextToken&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken},t.switchMode=function(e){this.mode=e,this.gullet.switchMode(e)},t.parse=function(){this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");var e=this.parseExpression(!1);return this.expect("EOF"),this.gullet.endGroup(),e},t.parseExpression=function(t,n){for(var r=[];;){"math"===this.mode&&this.consumeSpaces();var o=this.fetch();if(-1!==e.endOfExpression.indexOf(o.text))break;if(n&&o.text===n)break;if(t&&or[o.text]&&or[o.text].infix)break;var i=this.parseAtom(n);if(!i)break;r.push(i)}return"text"===this.mode&&this.formLigatures(r),this.handleInfixNodes(r)},t.handleInfixNodes=function(e){for(var t,n=-1,r=0;r0&&!s||0===l&&!s&&"math"===this.mode,f=this.parseGroupOfType("argument to '"+e+"'",c,s,r,u);if(!f){if(s){i.push(null);continue}throw new a("Expected group after '"+e+"'",this.fetch())}(s?i:o).push(f)}return{args:o,optArgs:i}},t.parseGroupOfType=function(e,t,n,r,o){switch(t){case"color":return o&&this.consumeSpaces(),this.parseColorGroup(n);case"size":return o&&this.consumeSpaces(),this.parseSizeGroup(n);case"url":return this.parseUrlGroup(n,o);case"math":case"text":return this.parseGroup(e,n,r,void 0,t,o);case"hbox":var i=this.parseGroup(e,n,r,void 0,"text",o);return i?{type:"styling",mode:i.mode,body:[i],style:"text"}:i;case"raw":if(o&&this.consumeSpaces(),n&&"{"===this.fetch().text)return null;var l=this.parseStringGroup("raw",n,!0);if(l)return{type:"raw",mode:"text",string:l.text};throw new a("Expected raw group",this.fetch());case"original":case null:case void 0:return this.parseGroup(e,n,r,void 0,void 0,o);default:throw new a("Unknown group type as "+e,this.fetch())}},t.consumeSpaces=function(){for(;" "===this.fetch().text;)this.consume()},t.parseStringGroup=function(e,t,n){var r=t?"[":"{",o=t?"]":"}",i=this.fetch();if(i.text!==r){if(t)return null;if(n&&"EOF"!==i.text&&/[^{}[\]]/.test(i.text))return this.consume(),i}var l=this.mode;this.mode="text",this.expect(r);for(var c,s="",u=this.fetch(),f=0,h=u;(c=this.fetch()).text!==o||n&&f>0;){switch(c.text){case"EOF":throw new a("Unexpected end of input in "+e,u.range(h,s));case r:f++;break;case o:f--}s+=(h=c).text,this.consume()}return this.expect(o),this.mode=l,u.range(h,s)},t.parseRegexGroup=function(e,t){var n=this.mode;this.mode="text";for(var r,o=this.fetch(),i=o,l="";"EOF"!==(r=this.fetch()).text&&e.test(l+r.text);)l+=(i=r).text,this.consume();if(""===l)throw new a("Invalid "+t+": '"+o.text+"'",o);return this.mode=n,o.range(i,l)},t.parseColorGroup=function(e){var t=this.parseStringGroup("color",e);if(!t)return null;var n=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(t.text);if(!n)throw new a("Invalid color: '"+t.text+"'",t);var r=n[0];return/^[0-9a-f]{6}$/i.test(r)&&(r="#"+r),{type:"color-token",mode:this.mode,color:r}},t.parseSizeGroup=function(e){var t,n=!1;if(!(t=e||"{"===this.fetch().text?this.parseStringGroup("size",e):this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size")))return null;e||0!==t.text.length||(t.text="0pt",n=!0);var r=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(t.text);if(!r)throw new a("Invalid size: '"+t.text+"'",t);var o={number:+(r[1]+r[2]),unit:r[3]};if(!Me(o))throw new a("Invalid unit: '"+o.unit+"'",t);return{type:"size",mode:this.mode,value:o,isBlank:n}},t.parseUrlGroup=function(e,t){this.gullet.lexer.setCatcode("%",13);var n=this.parseStringGroup("url",e,!0);if(this.gullet.lexer.setCatcode("%",14),!n)return null;var r=n.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:r}},t.parseGroup=function(t,n,o,i,l,c){var s=this.mode;l&&this.switchMode(l),c&&this.consumeSpaces();var u,f=this.fetch(),h=f.text;if(n?"["===h:"{"===h||"\\begingroup"===h){this.consume();var p=e.endOfGroup[h];this.gullet.beginGroup();var d=this.parseExpression(!1,p),m=this.fetch();this.expect(p),this.gullet.endGroup(),u={type:"ordgroup",mode:this.mode,loc:r.range(f,m),body:d,semisimple:"\\begingroup"===h||void 0}}else if(n)u=null;else if(null==(u=this.parseFunction(i,t,o)||this.parseSymbol())&&"\\"===h[0]&&!gr.hasOwnProperty(h)){if(this.settings.throwOnError)throw new a("Undefined control sequence: "+h,f);u=this.formatUnsupportedCmd(h),this.consume()}return l&&this.switchMode(s),u},t.formLigatures=function(e){for(var t=e.length-1,n=0;n=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+t[0]+'" used in math mode',e);var c,s=K[this.mode][t].group,u=r.range(e);if(W.hasOwnProperty(s)){var f=s;c={type:"atom",mode:this.mode,family:f,loc:u,text:t}}else c={type:s,mode:this.mode,loc:u,text:t};i=c}else{if(!(t.charCodeAt(0)>=128))return null;this.settings.strict&&(S(t.charCodeAt(0))?"math"===this.mode&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+t[0]+'" used in math mode',e):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+t[0]+'" ('+t.charCodeAt(0)+")",e)),i={type:"textord",mode:"text",loc:r.range(e),text:t}}if(this.consume(),l)for(var h=0;h15?"…"+e.slice(n-15,n):e.slice(0,n),l=t+15":">","<":"<",'"':""","'":"'"},h=/[&><"']/g,p=function e(t){return"ordgroup"===t.type||"color"===t.type?1===t.body.length?e(t.body[0]):t:"font"===t.type?e(t.body):t};var d={contains:function(e,t){return-1!==e.indexOf(t)},deflt:function(e,t){return void 0===e?t:e},escape:function(e){return String(e).replace(h,e=>f[e])},hyphenate:function(e){return e.replace(u,"-$1").toLowerCase()},getBaseElem:p,isCharacterBox:function(e){const t=p(e);return"mathord"===t.type||"textord"===t.type||"atom"===t.type},protocolFromUrl:function(e){const t=/^\s*([^\\/#]*?)(?::|�*58|�*3a)/i.exec(e);return null!=t?t[1]:"_relative"}};class m{constructor(e){this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,e=e||{},this.displayMode=d.deflt(e.displayMode,!1),this.output=d.deflt(e.output,"htmlAndMathml"),this.leqno=d.deflt(e.leqno,!1),this.fleqn=d.deflt(e.fleqn,!1),this.throwOnError=d.deflt(e.throwOnError,!0),this.errorColor=d.deflt(e.errorColor,"#cc0000"),this.macros=e.macros||{},this.minRuleThickness=Math.max(0,d.deflt(e.minRuleThickness,0)),this.colorIsTextColor=d.deflt(e.colorIsTextColor,!1),this.strict=d.deflt(e.strict,"warn"),this.trust=d.deflt(e.trust,!1),this.maxSize=Math.max(0,d.deflt(e.maxSize,1/0)),this.maxExpand=Math.max(0,d.deflt(e.maxExpand,1e3))}reportNonstrict(e,t,n){let r=this.strict;if("function"==typeof r&&(r=r(e,t,n)),r&&"ignore"!==r){if(!0===r||"error"===r)throw new s(`LaTeX-incompatible input and strict mode is set to 'error': ${t} [${e}]`,n);"warn"===r?"undefined"!=typeof console&&console.warn(`LaTeX-incompatible input and strict mode is set to 'warn': ${t} [${e}]`):"undefined"!=typeof console&&console.warn(`LaTeX-incompatible input and strict mode is set to unrecognized '${r}': ${t} [${e}]`)}}useStrictBehavior(e,t,n){let r=this.strict;if("function"==typeof r)try{r=r(e,t,n)}catch(e){r="error"}return!(!r||"ignore"===r||!0!==r&&"error"!==r&&("warn"===r?("undefined"!=typeof console&&console.warn(`LaTeX-incompatible input and strict mode is set to 'warn': ${t} [${e}]`),1):("undefined"!=typeof console&&console.warn(`LaTeX-incompatible input and strict mode is set to unrecognized '${r}': ${t} [${e}]`),1)))}isTrusted(e){e.url&&!e.protocol&&(e.protocol=d.protocolFromUrl(e.url));const t="function"==typeof this.trust?this.trust(e):this.trust;return Boolean(t)}}class v{constructor(e,t,n){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=e,this.size=t,this.cramped=n}sup(){return y[g[this.id]]}sub(){return y[b[this.id]]}fracNum(){return y[w[this.id]]}fracDen(){return y[x[this.id]]}cramp(){return y[_[this.id]]}text(){return y[k[this.id]]}isTight(){return this.size>=2}}const y=[new v(0,0,!1),new v(1,0,!0),new v(2,1,!1),new v(3,1,!0),new v(4,2,!1),new v(5,2,!0),new v(6,3,!1),new v(7,3,!0)],g=[4,5,4,5,6,7,6,7],b=[5,5,5,5,7,7,7,7],w=[2,3,4,5,6,7,6,7],x=[3,3,5,5,7,7,7,7],_=[1,1,3,3,5,5,7,7],k=[0,1,2,3,2,3,2,3];var S={DISPLAY:y[0],TEXT:y[2],SCRIPT:y[4],SCRIPTSCRIPT:y[6]};const O=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}],M=[];function T(e){for(let t=0;t=M[t]&&e<=M[t+1])return!0;return!1}O.forEach(e=>e.blocks.forEach(e=>M.push(...e)));const E={doubleleftarrow:"M262 157\nl10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3\n 0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28\n 14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5\nc2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5\n 157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87\n-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7\n-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z\nm8 0v40h399730v-40zm0 194v40h399730v-40z",doublerightarrow:"M399738 392l\n-10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5\n 14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88\n-33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68\n-17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18\n-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782\nc-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3\n-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z",leftarrow:"M400000 241H110l3-3c68.7-52.7 113.7-120\n 135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8\n-5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247\nc-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208\n 490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3\n 1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202\n l-3-3h399890zM100 241v40h399900v-40z",leftbrace:"M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117\n-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7\n 5-6 9-10 13-.7 1-7.3 1-20 1H6z",leftbraceunder:"M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13\n 35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688\n 0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7\n-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z",leftgroup:"M400000 80\nH435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0\n 435 0h399565z",leftgroupunder:"M400000 262\nH435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219\n 435 219h399565z",leftharpoon:"M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3\n-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5\n-18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7\n-196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z",leftharpoonplus:"M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5\n 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3\n-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7\n-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z\nm0 0v40h400000v-40z",leftharpoondown:"M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333\n 5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5\n 1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667\n-152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z",leftharpoondownplus:"M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12\n 10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7\n-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0\nv40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z",lefthook:"M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5\n-83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3\n-68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21\n 71.5 23h399859zM103 281v-40h399897v40z",leftlinesegment:"M40 281 V428 H0 V94 H40 V241 H400000 v40z\nM40 281 V428 H0 V94 H40 V241 H400000 v40z",leftmapsto:"M40 281 V448H0V74H40V241H400000v40z\nM40 281 V448H0V74H40V241H400000v40z",leftToFrom:"M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23\n-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8\nc28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3\n 68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z",longequal:"M0 50 h400000 v40H0z m0 194h40000v40H0z\nM0 50 h400000 v40H0z m0 194h40000v40H0z",midbrace:"M200428 334\nc-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14\n-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7\n 311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11\n 12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z",midbraceunder:"M199572 214\nc100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14\n 53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3\n 11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0\n-5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z",oiintSize1:"M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6\n-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z\nm368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8\n60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z",oiintSize2:"M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8\n-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z\nm502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2\nc0 110 84 276 504 276s502.4-166 502.4-276z",oiiintSize1:"M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6\n-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z\nm525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0\n85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z",oiiintSize2:"M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8\n-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z\nm770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1\nc0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z",rightarrow:"M0 241v40h399891c-47.3 35.3-84 78-110 128\n-16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20\n 11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7\n 39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85\n-40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5\n-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67\n 151.7 139 205zm0 0v40h399900v-40z",rightbrace:"M400000 542l\n-6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5\ns-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1\nc124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z",rightbraceunder:"M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3\n 28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237\n-174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z",rightgroup:"M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0\n 3-1 3-3v-38c-76-158-257-219-435-219H0z",rightgroupunder:"M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18\n 0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z",rightharpoon:"M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3\n-3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2\n-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58\n 69.2 92 94.5zm0 0v40h399900v-40z",rightharpoonplus:"M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11\n-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7\n 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z\nm0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z",rightharpoondown:"M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8\n 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5\n-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95\n-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z",rightharpoondownplus:"M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8\n 15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3\n 8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3\n-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z\nm0-194v40h400000v-40zm0 0v40h400000v-40z",righthook:"M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3\n 15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0\n-13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21\n 66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z",rightlinesegment:"M399960 241 V94 h40 V428 h-40 V281 H0 v-40z\nM399960 241 V94 h40 V428 h-40 V281 H0 v-40z",rightToFrom:"M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23\n 1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32\n-52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142\n-167z M100 147v40h399900v-40zM0 341v40h399900v-40z",twoheadleftarrow:"M0 167c68 40\n 115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69\n-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3\n-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19\n-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101\n 10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z",twoheadrightarrow:"M400000 167\nc-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3\n 41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42\n 18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333\n-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70\n 101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z",tilde1:"M200 55.538c-77 0-168 73.953-177 73.953-3 0-7\n-2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0\n 114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0\n 4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128\n-68.267.847-113-73.952-191-73.952z",tilde2:"M344 55.266c-142 0-300.638 81.316-311.5 86.418\n-8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9\n 31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114\nc1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751\n 181.476 676 181.476c-149 0-189-126.21-332-126.21z",tilde3:"M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457\n-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0\n 411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697\n 16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696\n -338 0-409-156.573-744-156.573z",tilde4:"M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345\n-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409\n 177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9\n 14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409\n -175.236-744-175.236z",vec:"M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5\n3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11\n10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63\n-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1\n-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59\nH213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359\nc-16-25.333-24-45-24-59z",widehat1:"M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22\nc-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z",widehat2:"M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widehat3:"M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widehat4:"M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widecheck1:"M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1,\n-5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z",widecheck2:"M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",widecheck3:"M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",widecheck4:"M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",baraboveleftarrow:"M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202\nc4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5\nc-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130\ns-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47\n121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6\ns2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11\nc0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z\nM100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z",rightarrowabovebar:"M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32\n-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0\n13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39\n-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5\n-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5\n-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67\n151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z",baraboveshortleftharpoon:"M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11\nc1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17\nc2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21\nc-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40\nc-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z\nM0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z",rightharpoonaboveshortbar:"M0,241 l0,40c399126,0,399993,0,399993,0\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\n-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6\nc-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z\nM0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z",shortbaraboveleftharpoon:"M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11\nc1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9,\n1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7,\n-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z\nM93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z",shortrightharpoonabovebar:"M53,241l0,40c398570,0,399437,0,399437,0\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\n-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6\nc-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z\nM500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z"};class z{constructor(e){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=e,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(e){return d.contains(this.classes,e)}toNode(){const e=document.createDocumentFragment();for(let t=0;te.toText()).join("")}}const C=function(e){return e.filter(e=>e).join(" ")},P=function(e,t,n){if(this.classes=e||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=n||{},t){t.style.isTight()&&this.classes.push("mtight");const e=t.getColor();e&&(this.style.color=e)}},A=function(e){const t=document.createElement(e);t.className=C(this.classes);for(const e in this.style)this.style.hasOwnProperty(e)&&(t.style[e]=this.style[e]);for(const e in this.attributes)this.attributes.hasOwnProperty(e)&&t.setAttribute(e,this.attributes[e]);for(let e=0;e`,t};class L{constructor(e,t,n,r){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,P.call(this,e,n,r),this.children=t||[]}setAttribute(e,t){this.attributes[e]=t}hasClass(e){return d.contains(this.classes,e)}toNode(){return A.call(this,"span")}toMarkup(){return j.call(this,"span")}}class N{constructor(e,t,n,r){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,P.call(this,t,r),this.children=n||[],this.setAttribute("href",e)}setAttribute(e,t){this.attributes[e]=t}hasClass(e){return d.contains(this.classes,e)}toNode(){return A.call(this,"a")}toMarkup(){return j.call(this,"a")}}class H{constructor(e,t,n){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=t,this.src=e,this.classes=["mord"],this.style=n}hasClass(e){return d.contains(this.classes,e)}toNode(){const e=document.createElement("img");e.src=this.src,e.alt=this.alt,e.className="mord";for(const t in this.style)this.style.hasOwnProperty(t)&&(e.style[t]=this.style[t]);return e}toMarkup(){let e=`${this.alt}=r[0]&&e<=r[1])return n.name}}return null}(this.text.charCodeAt(0));c&&this.classes.push(c+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=R[this.text])}hasClass(e){return d.contains(this.classes,e)}toNode(){const e=document.createTextNode(this.text);let t=null;this.italic>0&&(t=document.createElement("span"),t.style.marginRight=this.italic+"em"),this.classes.length>0&&(t=t||document.createElement("span"),t.className=C(this.classes));for(const e in this.style)this.style.hasOwnProperty(e)&&(t=t||document.createElement("span"),t.style[e]=this.style[e]);return t?(t.appendChild(e),t):e}toMarkup(){let e=!1,t="0&&(n+="margin-right:"+this.italic+"em;");for(const e in this.style)this.style.hasOwnProperty(e)&&(n+=d.hyphenate(e)+":"+this.style[e]+";");n&&(e=!0,t+=' style="'+d.escape(n)+'"');const r=d.escape(this.text);return e?(t+=">",t+=r,t+="",t):r}}class V{constructor(e,t){this.children=void 0,this.attributes=void 0,this.children=e||[],this.attributes=t||{}}toNode(){const e=document.createElementNS("http://www.w3.org/2000/svg","svg");for(const t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);for(let t=0;t`:``}}class F{constructor(e){this.attributes=void 0,this.attributes=e||{}}toNode(){const e=document.createElementNS("http://www.w3.org/2000/svg","line");for(const t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);return e}toMarkup(){let e="",">"),Q(Z,$,le,":",":"),Q(Z,$,le,"≈","\\approx",!0),Q(Z,$,le,"≅","\\cong",!0),Q(Z,$,le,"≥","\\ge"),Q(Z,$,le,"≥","\\geq",!0),Q(Z,$,le,"←","\\gets"),Q(Z,$,le,">","\\gt"),Q(Z,$,le,"∈","\\in",!0),Q(Z,$,le,"","\\@not"),Q(Z,$,le,"⊂","\\subset",!0),Q(Z,$,le,"⊃","\\supset",!0),Q(Z,$,le,"⊆","\\subseteq",!0),Q(Z,$,le,"⊇","\\supseteq",!0),Q(Z,ee,le,"⊈","\\nsubseteq",!0),Q(Z,ee,le,"⊉","\\nsupseteq",!0),Q(Z,$,le,"⊨","\\models"),Q(Z,$,le,"←","\\leftarrow",!0),Q(Z,$,le,"≤","\\le"),Q(Z,$,le,"≤","\\leq",!0),Q(Z,$,le,"<","\\lt"),Q(Z,$,le,"→","\\rightarrow",!0),Q(Z,$,le,"→","\\to"),Q(Z,ee,le,"≱","\\ngeq",!0),Q(Z,ee,le,"≰","\\nleq",!0),Q(Z,$,ce," ","\\ "),Q(Z,$,ce," ","~"),Q(Z,$,ce," ","\\space"),Q(Z,$,ce," ","\\nobreakspace"),Q("text",$,ce," ","\\ "),Q("text",$,ce," ","~"),Q("text",$,ce," ","\\space"),Q("text",$,ce," ","\\nobreakspace"),Q(Z,$,ce,null,"\\nobreak"),Q(Z,$,ce,null,"\\allowbreak"),Q(Z,$,"punct",",",","),Q(Z,$,"punct",";",";"),Q(Z,ee,ne,"⊼","\\barwedge",!0),Q(Z,ee,ne,"⊻","\\veebar",!0),Q(Z,$,ne,"⊙","\\odot",!0),Q(Z,$,ne,"⊕","\\oplus",!0),Q(Z,$,ne,"⊗","\\otimes",!0),Q(Z,$,se,"∂","\\partial",!0),Q(Z,$,ne,"⊘","\\oslash",!0),Q(Z,ee,ne,"⊚","\\circledcirc",!0),Q(Z,ee,ne,"⊡","\\boxdot",!0),Q(Z,$,ne,"△","\\bigtriangleup"),Q(Z,$,ne,"▽","\\bigtriangledown"),Q(Z,$,ne,"†","\\dagger"),Q(Z,$,ne,"⋄","\\diamond"),Q(Z,$,ne,"⋆","\\star"),Q(Z,$,ne,"◃","\\triangleleft"),Q(Z,$,ne,"▹","\\triangleright"),Q(Z,$,ae,"{","\\{"),Q("text",$,se,"{","\\{"),Q("text",$,se,"{","\\textbraceleft"),Q(Z,$,re,"}","\\}"),Q("text",$,se,"}","\\}"),Q("text",$,se,"}","\\textbraceright"),Q(Z,$,ae,"{","\\lbrace"),Q(Z,$,re,"}","\\rbrace"),Q(Z,$,ae,"[","\\lbrack"),Q("text",$,se,"[","\\lbrack"),Q(Z,$,re,"]","\\rbrack"),Q("text",$,se,"]","\\rbrack"),Q(Z,$,ae,"(","\\lparen"),Q(Z,$,re,")","\\rparen"),Q("text",$,se,"<","\\textless"),Q("text",$,se,">","\\textgreater"),Q(Z,$,ae,"⌊","\\lfloor",!0),Q(Z,$,re,"⌋","\\rfloor",!0),Q(Z,$,ae,"⌈","\\lceil",!0),Q(Z,$,re,"⌉","\\rceil",!0),Q(Z,$,se,"\\","\\backslash"),Q(Z,$,se,"∣","|"),Q(Z,$,se,"∣","\\vert"),Q("text",$,se,"|","\\textbar"),Q(Z,$,se,"∥","\\|"),Q(Z,$,se,"∥","\\Vert"),Q("text",$,se,"∥","\\textbardbl"),Q("text",$,se,"~","\\textasciitilde"),Q("text",$,se,"\\","\\textbackslash"),Q("text",$,se,"^","\\textasciicircum"),Q(Z,$,le,"↑","\\uparrow",!0),Q(Z,$,le,"⇑","\\Uparrow",!0),Q(Z,$,le,"↓","\\downarrow",!0),Q(Z,$,le,"⇓","\\Downarrow",!0),Q(Z,$,le,"↕","\\updownarrow",!0),Q(Z,$,le,"⇕","\\Updownarrow",!0),Q(Z,$,ie,"∐","\\coprod"),Q(Z,$,ie,"⋁","\\bigvee"),Q(Z,$,ie,"⋀","\\bigwedge"),Q(Z,$,ie,"⨄","\\biguplus"),Q(Z,$,ie,"⋂","\\bigcap"),Q(Z,$,ie,"⋃","\\bigcup"),Q(Z,$,ie,"∫","\\int"),Q(Z,$,ie,"∫","\\intop"),Q(Z,$,ie,"∬","\\iint"),Q(Z,$,ie,"∭","\\iiint"),Q(Z,$,ie,"∏","\\prod"),Q(Z,$,ie,"∑","\\sum"),Q(Z,$,ie,"⨂","\\bigotimes"),Q(Z,$,ie,"⨁","\\bigoplus"),Q(Z,$,ie,"⨀","\\bigodot"),Q(Z,$,ie,"∮","\\oint"),Q(Z,$,ie,"∯","\\oiint"),Q(Z,$,ie,"∰","\\oiiint"),Q(Z,$,ie,"⨆","\\bigsqcup"),Q(Z,$,ie,"∫","\\smallint"),Q("text",$,"inner","…","\\textellipsis"),Q(Z,$,"inner","…","\\mathellipsis"),Q("text",$,"inner","…","\\ldots",!0),Q(Z,$,"inner","…","\\ldots",!0),Q(Z,$,"inner","⋯","\\@cdots",!0),Q(Z,$,"inner","⋱","\\ddots",!0),Q(Z,$,se,"⋮","\\varvdots"),Q(Z,$,te,"ˊ","\\acute"),Q(Z,$,te,"ˋ","\\grave"),Q(Z,$,te,"¨","\\ddot"),Q(Z,$,te,"~","\\tilde"),Q(Z,$,te,"ˉ","\\bar"),Q(Z,$,te,"˘","\\breve"),Q(Z,$,te,"ˇ","\\check"),Q(Z,$,te,"^","\\hat"),Q(Z,$,te,"⃗","\\vec"),Q(Z,$,te,"˙","\\dot"),Q(Z,$,te,"˚","\\mathring"),Q(Z,$,oe,"ı","\\imath",!0),Q(Z,$,oe,"ȷ","\\jmath",!0),Q("text",$,se,"ı","\\i",!0),Q("text",$,se,"ȷ","\\j",!0),Q("text",$,se,"ß","\\ss",!0),Q("text",$,se,"æ","\\ae",!0),Q("text",$,se,"æ","\\ae",!0),Q("text",$,se,"œ","\\oe",!0),Q("text",$,se,"ø","\\o",!0),Q("text",$,se,"Æ","\\AE",!0),Q("text",$,se,"Œ","\\OE",!0),Q("text",$,se,"Ø","\\O",!0),Q("text",$,te,"ˊ","\\'"),Q("text",$,te,"ˋ","\\`"),Q("text",$,te,"ˆ","\\^"),Q("text",$,te,"˜","\\~"),Q("text",$,te,"ˉ","\\="),Q("text",$,te,"˘","\\u"),Q("text",$,te,"˙","\\."),Q("text",$,te,"˚","\\r"),Q("text",$,te,"ˇ","\\v"),Q("text",$,te,"¨",'\\"'),Q("text",$,te,"˝","\\H"),Q("text",$,te,"◯","\\textcircled");const ue={"--":!0,"---":!0,"``":!0,"''":!0};Q("text",$,se,"–","--"),Q("text",$,se,"–","\\textendash"),Q("text",$,se,"—","---"),Q("text",$,se,"—","\\textemdash"),Q("text",$,se,"‘","`"),Q("text",$,se,"‘","\\textquoteleft"),Q("text",$,se,"’","'"),Q("text",$,se,"’","\\textquoteright"),Q("text",$,se,"“","``"),Q("text",$,se,"“","\\textquotedblleft"),Q("text",$,se,"”","''"),Q("text",$,se,"”","\\textquotedblright"),Q(Z,$,se,"°","\\degree",!0),Q("text",$,se,"°","\\degree"),Q("text",$,se,"°","\\textdegree",!0),Q(Z,$,oe,"£","\\pounds"),Q(Z,$,oe,"£","\\mathsterling",!0),Q("text",$,oe,"£","\\pounds"),Q("text",$,oe,"£","\\textsterling",!0),Q(Z,ee,se,"✠","\\maltese"),Q("text",ee,se,"✠","\\maltese"),Q("text",$,ce," ","\\ "),Q("text",$,ce," "," "),Q("text",$,ce," ","~");for(let e=0;e<'0123456789/@."'.length;e++){const t='0123456789/@."'.charAt(e);Q(Z,$,se,t,t)}for(let e=0;e<'0123456789!@*()-=+[]<>|";:?/.,'.length;e++){const t='0123456789!@*()-=+[]<>|";:?/.,'.charAt(e);Q("text",$,se,t,t)}const fe="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";for(let e=0;e=5?0:e>=3?1:2,!G[t]){const e=G[t]={cssEmPerMu:U.quad[t]/18};for(const n in U)U.hasOwnProperty(n)&&(e[n]=U[n][t])}return G[t]}(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}ge.BASESIZE=6;const be={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:1.00375,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:1.00375},we={ex:!0,em:!0,mu:!0},xe=function(e){return"string"!=typeof e&&(e=e.unit),e in be||e in we||"ex"===e},_e=function(e,t){let n;if(e.unit in be)n=be[e.unit]/t.fontMetrics().ptPerEm/t.sizeMultiplier;else if("mu"===e.unit)n=t.fontMetrics().cssEmPerMu;else{let r;if(r=t.style.isTight()?t.havingStyle(t.style.text()):t,"ex"===e.unit)n=r.fontMetrics().xHeight;else{if("em"!==e.unit)throw new s("Invalid unit: '"+e.unit+"'");n=r.fontMetrics().quad}r!==t&&(n*=r.sizeMultiplier/t.sizeMultiplier)}return Math.min(e.number*n,t.maxSize)},ke=["\\imath","ı","\\jmath","ȷ","\\pounds","\\mathsterling","\\textsterling","£"],Se=function(e,t,n){return J[n][e]&&J[n][e].replace&&(e=J[n][e].replace),{value:e,metrics:Y(e,t,n)}},Oe=function(e,t,n,r,o){const i=Se(e,t,n),a=i.metrics;let l;if(e=i.value,a){let t=a.italic;("text"===n||r&&"mathit"===r.font)&&(t=0),l=new I(e,a.height,a.depth,t,a.skew,a.width,o)}else"undefined"!=typeof console&&console.warn(`No character metrics for '${e}' in style '${t}' and mode '${n}'`),l=new I(e,0,0,0,0,0,o);if(r){l.maxFontSize=r.sizeMultiplier,r.style.isTight()&&l.classes.push("mtight");const e=r.getColor();e&&(l.style.color=e)}return l},Me=(e,t)=>{if(C(e.classes)!==C(t.classes)||e.skew!==t.skew||e.maxFontSize!==t.maxFontSize)return!1;for(const n in e.style)if(e.style.hasOwnProperty(n)&&e.style[n]!==t.style[n])return!1;for(const n in t.style)if(t.style.hasOwnProperty(n)&&e.style[n]!==t.style[n])return!1;return!0},Te=function(e){let t=0,n=0,r=0;for(let o=0;ot&&(t=i.height),i.depth>n&&(n=i.depth),i.maxFontSize>r&&(r=i.maxFontSize)}e.height=t,e.depth=n,e.maxFontSize=r},Ee=function(e,t,n,r){const o=new L(e,t,n,r);return Te(o),o},ze=(e,t,n,r)=>new L(e,t,n,r),Ce=function(e){const t=new z(e);return Te(t),t},Pe=function(e,t,n){let r,o="";switch(e){case"amsrm":o="AMS";break;case"textrm":o="Main";break;case"textsf":o="SansSerif";break;case"texttt":o="Typewriter";break;default:o=e}return r="textbf"===t&&"textit"===n?"BoldItalic":"textbf"===t?"Bold":"textit"===t?"Italic":"Regular",`${o}-${r}`},Ae={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},je={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]};var Le={fontMap:Ae,makeSymbol:Oe,mathsym:function(e,t,n,r){return void 0===r&&(r=[]),"boldsymbol"===n.font&&Se(e,"Main-Bold",t).metrics?Oe(e,"Main-Bold",t,n,r.concat(["mathbf"])):"\\"===e||"main"===J[t][e].font?Oe(e,"Main-Regular",t,n,r):Oe(e,"AMS-Regular",t,n,r.concat(["amsrm"]))},makeSpan:Ee,makeSvgSpan:ze,makeLineSpan:function(e,t,n){const r=Ee([e],[],t);return r.height=Math.max(n||t.fontMetrics().defaultRuleThickness,t.minRuleThickness),r.style.borderBottomWidth=r.height+"em",r.maxFontSize=1,r},makeAnchor:function(e,t,n,r){const o=new N(e,t,n,r);return Te(o),o},makeFragment:Ce,wrapFragment:function(e,t){return e instanceof z?Ee([],[e],t):e},makeVList:function(e,t){const n=function(e){if("individualShift"===e.positionType){const t=e.children,n=[t[0]],r=-t[0].shift-t[0].elem.depth;let o=r;for(let e=1;e{const n=Ee(["mspace"],[],t),r=_e(e,t);return n.style.marginRight=r+"em",n},staticSvg:function(e,t){const n=je[e],r=n[0],o=n[1],i=n[2],a=new D(r),l=new V([a],{width:o+"em",height:i+"em",style:"width:"+o+"em",viewBox:"0 0 "+1e3*o+" "+1e3*i,preserveAspectRatio:"xMinYMin"}),c=ze(["overlay"],[l],t);return c.height=i,c.style.height=i+"em",c.style.width=o+"em",c},svgData:je,tryCombineChars:e=>{for(let t=0;t{const n=t.classes[0],r=e.classes[0];"mbin"===n&&d.contains($e,r)?t.classes[0]="mord":"mbin"===r&&d.contains(Ze,n)&&(e.classes[0]="mord")},{node:a},l),rt(o,(e,t)=>{const n=it(t),r=it(e),o=n&&r?e.hasClass("mtight")?Ue[n][r]:Be[n][r]:null;if(o)return Le.makeGlue(o,i)},{node:a},l),o},rt=function e(t,n,r,o){o&&t.push(o);let i=0;for(;in=>{t.splice(e+1,0,n),i++})(i)}o&&t.pop()},ot=function(e){return e instanceof z||e instanceof N?e:null},it=function(e,t){return e?(t&&(e=function e(t,n){const r=ot(t);if(r){const t=r.children;if(t.length){if("right"===n)return e(t[t.length-1],"right");if("left"===n)return e(t[0],"left")}}return t}(e,t)),tt[e.classes[0]]||null):null},at=function(e,t){const n=["nulldelimiter"].concat(e.baseSizingClasses());return Qe(t.concat(n))},lt=function(e,t,n){if(!e)return Qe();if(Ye[e.type]){let r=Ye[e.type](e,t);if(n&&t.size!==n.size){r=Qe(t.sizingClasses(n),[r],t);const e=t.sizeMultiplier/n.sizeMultiplier;r.height*=e,r.depth*=e}return r}throw new s("Got group of unknown type: '"+e.type+"'")};function ct(e,t){const n=Qe(["base"],e,t),r=Qe(["strut"]);return r.style.height=n.height+n.depth+"em",r.style.verticalAlign=-n.depth+"em",n.children.unshift(r),n}function st(e,t){let n=null;1===e.length&&"tag"===e[0].type&&(n=e[0].tag,e=e[0].body);const r=nt(e,t,!0),o=[];let i,a=[];for(let e=0;e0&&(o.push(ct(a,t)),a=[]),o.push(r[e]));a.length>0&&o.push(ct(a,t)),n&&(i=ct(nt(n,t,!0)),i.classes=["tag"],o.push(i));const l=Qe(["katex-html"],o);if(l.setAttribute("aria-hidden","true"),i){const e=i.children[0];e.style.height=l.height+l.depth+"em",e.style.verticalAlign=-l.depth+"em"}return l}function ut(e){return new z(e)}class ft{constructor(e,t){this.type=void 0,this.attributes=void 0,this.children=void 0,this.type=e,this.attributes={},this.children=t||[]}setAttribute(e,t){this.attributes[e]=t}getAttribute(e){return this.attributes[e]}toNode(){const e=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(const t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);for(let t=0;t",e}toText(){return this.children.map(e=>e.toText()).join("")}}class ht{constructor(e){this.text=void 0,this.text=e}toNode(){return document.createTextNode(this.text)}toMarkup(){return d.escape(this.toText())}toText(){return this.text}}var pt={MathNode:ft,TextNode:ht,SpaceNode:class{constructor(e){this.width=void 0,this.character=void 0,this.width=e,this.character=e>=.05555&&e<=.05556?" ":e>=.1666&&e<=.1667?" ":e>=.2222&&e<=.2223?" ":e>=.2777&&e<=.2778?"  ":e>=-.05556&&e<=-.05555?" ⁣":e>=-.1667&&e<=-.1666?" ⁣":e>=-.2223&&e<=-.2222?" ⁣":e>=-.2778&&e<=-.2777?" ⁣":null}toNode(){if(this.character)return document.createTextNode(this.character);{const e=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return e.setAttribute("width",this.width+"em"),e}}toMarkup(){return this.character?`${this.character}`:``}toText(){return this.character?this.character:" "}},newDocumentFragment:ut};const dt=function(e,t,n){return!J[t][e]||!J[t][e].replace||55349===e.charCodeAt(0)||ue.hasOwnProperty(e)&&n&&(n.fontFamily&&"tt"===n.fontFamily.substr(4,2)||n.font&&"tt"===n.font.substr(4,2))||(e=J[t][e].replace),new pt.TextNode(e)},mt=function(e){return 1===e.length?e[0]:new pt.MathNode("mrow",e)},vt=function(e,t){if("texttt"===t.fontFamily)return"monospace";if("textsf"===t.fontFamily)return"textit"===t.fontShape&&"textbf"===t.fontWeight?"sans-serif-bold-italic":"textit"===t.fontShape?"sans-serif-italic":"textbf"===t.fontWeight?"bold-sans-serif":"sans-serif";if("textit"===t.fontShape&&"textbf"===t.fontWeight)return"bold-italic";if("textit"===t.fontShape)return"italic";if("textbf"===t.fontWeight)return"bold";const n=t.font;if(!n||"mathnormal"===n)return null;const r=e.mode;if("mathit"===n)return"italic";if("boldsymbol"===n)return"bold-italic";if("mathbf"===n)return"bold";if("mathbb"===n)return"double-struck";if("mathfrak"===n)return"fraktur";if("mathscr"===n||"mathcal"===n)return"script";if("mathsf"===n)return"sans-serif";if("mathtt"===n)return"monospace";let o=e.text;return d.contains(["\\imath","\\jmath"],o)?null:(J[r][o]&&J[r][o].replace&&(o=J[r][o].replace),Y(o,Le.fontMap[n].fontName,r)?Le.fontMap[n].variant:null)},yt=function(e,t,n){if(1===e.length){const r=bt(e[0],t);return n&&r instanceof ft&&"mo"===r.type&&(r.setAttribute("lspace","0em"),r.setAttribute("rspace","0em")),[r]}const r=[];let o;for(let n=0;n0&&(e.text=e.text.slice(0,1)+"̸"+e.text.slice(1),r.pop())}}}r.push(i),o=i}return r},gt=function(e,t,n){return mt(yt(e,t,n))},bt=function(e,t){if(!e)return new pt.MathNode("mrow");if(Ge[e.type])return Ge[e.type](e,t);throw new s("Got group of unknown type: '"+e.type+"'")};function wt(e,t,n,r){const o=yt(e,n);let i;i=1===o.length&&o[0]instanceof ft&&d.contains(["mrow","mtable"],o[0].type)?o[0]:new pt.MathNode("mrow",o);const a=new pt.MathNode("annotation",[new pt.TextNode(t)]);a.setAttribute("encoding","application/x-tex");const l=new pt.MathNode("semantics",[i,a]),c=new pt.MathNode("math",[l]);c.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML");const s=r?"katex":"katex-mathml";return Le.makeSpan([s],[c])}const xt=function(e){return new ge({style:e.displayMode?S.DISPLAY:S.TEXT,maxSize:e.maxSize,minRuleThickness:e.minRuleThickness})},_t=function(e,t){if(t.displayMode){const n=["katex-display"];t.leqno&&n.push("leqno"),t.fleqn&&n.push("fleqn"),e=Le.makeSpan(n,[e])}return e},kt={widehat:"^",widecheck:"ˇ",widetilde:"~",utilde:"~",overleftarrow:"←",underleftarrow:"←",xleftarrow:"←",overrightarrow:"→",underrightarrow:"→",xrightarrow:"→",underbrace:"⏟",overbrace:"⏞",overgroup:"⏠",undergroup:"⏡",overleftrightarrow:"↔",underleftrightarrow:"↔",xleftrightarrow:"↔",Overrightarrow:"⇒",xRightarrow:"⇒",overleftharpoon:"↼",xleftharpoonup:"↼",overrightharpoon:"⇀",xrightharpoonup:"⇀",xLeftarrow:"⇐",xLeftrightarrow:"⇔",xhookleftarrow:"↩",xhookrightarrow:"↪",xmapsto:"↦",xrightharpoondown:"⇁",xleftharpoondown:"↽",xrightleftharpoons:"⇌",xleftrightharpoons:"⇋",xtwoheadleftarrow:"↞",xtwoheadrightarrow:"↠",xlongequal:"=",xtofrom:"⇄",xrightleftarrows:"⇄",xrightequilibrium:"⇌",xleftequilibrium:"⇋"},St={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]};var Ot=function(e,t,n,r){let o;const i=e.height+e.depth+2*n;if(/fbox|color/.test(t)){if(o=Le.makeSpan(["stretchy",t],[],r),"fbox"===t){const e=r.color&&r.getColor();e&&(o.style.borderColor=e)}}else{const e=[];/^[bx]cancel$/.test(t)&&e.push(new F({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(t)&&e.push(new F({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));const n=new V(e,{width:"100%",height:i+"em"});o=Le.makeSvgSpan([],[n],r)}return o.height=i,o.style.height=i+"em",o},Mt=function(e){const t=new pt.MathNode("mo",[new pt.TextNode(kt[e.substr(1)])]);return t.setAttribute("stretchy","true"),t},Tt=function(e,t){const n=function(){let n=4e5;const r=e.label.substr(1);if(d.contains(["widehat","widecheck","widetilde","utilde"],r)){const i="ordgroup"===(o=e.base).type?o.body.length:1;let a,l,c;if(i>5)"widehat"===r||"widecheck"===r?(a=420,n=2364,c=.42,l=r+"4"):(a=312,n=2340,c=.34,l="tilde4");else{const e=[1,1,2,2,3,3][i];"widehat"===r||"widecheck"===r?(n=[0,1062,2364,2364,2364][e],a=[0,239,300,360,420][e],c=[0,.24,.3,.3,.36,.42][e],l=r+e):(n=[0,600,1033,2339,2340][e],a=[0,260,286,306,312][e],c=[0,.26,.286,.3,.306,.34][e],l="tilde"+e)}const s=new D(l),u=new V([s],{width:"100%",height:c+"em",viewBox:`0 0 ${n} ${a}`,preserveAspectRatio:"none"});return{span:Le.makeSvgSpan([],[u],t),minWidth:0,height:c}}{const e=[],o=St[r],i=o[0],a=o[1],l=o[2],c=l/1e3,s=i.length;let u,f;if(1===s){const e=o[3];u=["hide-tail"],f=[e]}else if(2===s)u=["halfarrow-left","halfarrow-right"],f=["xMinYMin","xMaxYMin"];else{if(3!==s)throw new Error(`Correct katexImagesData or update code here to support\n ${s} children.`);u=["brace-left","brace-center","brace-right"],f=["xMinYMin","xMidYMin","xMaxYMin"]}for(let r=0;r0&&(r.style.minWidth=o+"em"),r};const Et=(e,t)=>{let n,r;const o=He(e,"supsub");let i;o?(r=Ne(o.base,"accent"),n=r.base,o.base=n,i=function(e){if(e instanceof L)return e;throw new Error(`Expected span but got ${String(e)}.`)}(lt(o,t)),o.base=r):(r=Ne(e,"accent"),n=r.base);const a=lt(n,t.havingCrampedStyle());let l=0;if(r.isShifty&&d.isCharacterBox(n)){const e=d.getBaseElem(n);l=q(lt(e,t.havingCrampedStyle())).skew}let c,s=Math.min(a.height,t.fontMetrics().xHeight);if(r.isStretchy)c=Tt(r,t),c=Le.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"elem",elem:c,wrapperClasses:["svg-align"],wrapperStyle:l>0?{width:`calc(100% - ${2*l}em)`,marginLeft:2*l+"em"}:void 0}]},t);else{let e,n;"\\vec"===r.label?(e=Le.staticSvg("vec",t),n=Le.svgData.vec[1]):(e=Le.makeOrd({mode:r.mode,text:r.label},t,"textord"),e=q(e),e.italic=0,n=e.width),c=Le.makeSpan(["accent-body"],[e]);const o="\\textcircled"===r.label;o&&(c.classes.push("accent-full"),s=a.height);let i=l;o||(i-=n/2),c.style.left=i+"em","\\textcircled"===r.label&&(c.style.top=".2em"),c=Le.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"kern",size:-s},{type:"elem",elem:c}]},t)}const u=Le.makeSpan(["mord","accent"],[c],t);return i?(i.children[0]=u,i.height=Math.max(u.height,i.height),i.classes[0]="mord",i):u},zt=(e,t)=>{const n=e.isStretchy?Mt(e.label):new pt.MathNode("mo",[dt(e.label,e.mode)]),r=new pt.MathNode("mover",[bt(e.base,t),n]);return r.setAttribute("accent","true"),r},Ct=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(e=>"\\"+e).join("|"));Ke({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:(e,t)=>{const n=t[0],r=!Ct.test(e.funcName),o=!r||"\\widehat"===e.funcName||"\\widetilde"===e.funcName||"\\widecheck"===e.funcName;return{type:"accent",mode:e.parser.mode,label:e.funcName,isStretchy:r,isShifty:o,base:n}},htmlBuilder:Et,mathmlBuilder:zt}),Ke({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!1},handler:(e,t)=>{const n=t[0];return{type:"accent",mode:e.parser.mode,label:e.funcName,isStretchy:!1,isShifty:!0,base:n}},htmlBuilder:Et,mathmlBuilder:zt}),Ke({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(e,t)=>{let n=e.parser,r=e.funcName;const o=t[0];return{type:"accentUnder",mode:n.mode,label:r,base:o}},htmlBuilder:(e,t)=>{const n=lt(e.base,t),r=Tt(e,t),o="\\utilde"===e.label?.12:0,i=Le.makeVList({positionType:"bottom",positionData:r.height+o,children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:o},{type:"elem",elem:n}]},t);return Le.makeSpan(["mord","accentunder"],[i],t)},mathmlBuilder:(e,t)=>{const n=Mt(e.label),r=new pt.MathNode("munder",[bt(e.base,t),n]);return r.setAttribute("accentunder","true"),r}});const Pt=e=>{const t=new pt.MathNode("mpadded",e?[e]:[]);return t.setAttribute("width","+0.6em"),t.setAttribute("lspace","0.3em"),t};Ke({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,n){let r=e.parser,o=e.funcName;return{type:"xArrow",mode:r.mode,label:o,body:t[0],below:n[0]}},htmlBuilder(e,t){const n=t.style;let r=t.havingStyle(n.sup());const o=Le.wrapFragment(lt(e.body,r,t),t);let i;o.classes.push("x-arrow-pad"),e.below&&(r=t.havingStyle(n.sub()),i=Le.wrapFragment(lt(e.below,r,t),t),i.classes.push("x-arrow-pad"));const a=Tt(e,t),l=-t.fontMetrics().axisHeight+.5*a.height;let c,s=-t.fontMetrics().axisHeight-.5*a.height-.111;if((o.depth>.25||"\\xleftequilibrium"===e.label)&&(s-=o.depth),i){const e=-t.fontMetrics().axisHeight+i.height+.5*a.height+.111;c=Le.makeVList({positionType:"individualShift",children:[{type:"elem",elem:o,shift:s},{type:"elem",elem:a,shift:l},{type:"elem",elem:i,shift:e}]},t)}else c=Le.makeVList({positionType:"individualShift",children:[{type:"elem",elem:o,shift:s},{type:"elem",elem:a,shift:l}]},t);return c.children[0].children[0].children[1].classes.push("svg-align"),Le.makeSpan(["mrel","x-arrow"],[c],t)},mathmlBuilder(e,t){const n=Mt(e.label);let r;if(e.body){const o=Pt(bt(e.body,t));if(e.below){const i=Pt(bt(e.below,t));r=new pt.MathNode("munderover",[n,i,o])}else r=new pt.MathNode("mover",[n,o])}else if(e.below){const o=Pt(bt(e.below,t));r=new pt.MathNode("munder",[n,o])}else r=Pt(),r=new pt.MathNode("mover",[n,r]);return r}}),Ke({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(e,t){let n=e.parser;const r=Ne(t[0],"ordgroup").body;let o="";for(let e=0;e{const n=nt(e.body,t.withColor(e.color),!1);return Le.makeFragment(n)},jt=(e,t)=>{const n=yt(e.body,t.withColor(e.color)),r=new pt.MathNode("mstyle",n);return r.setAttribute("mathcolor",e.color),r};Ke({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","original"]},handler(e,t){let n=e.parser;const r=Ne(t[0],"color-token").color,o=t[1];return{type:"color",mode:n.mode,color:r,body:Je(o)}},htmlBuilder:At,mathmlBuilder:jt}),Ke({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,greediness:3,argTypes:["color"]},handler(e,t){let n=e.parser,r=e.breakOnTokenText;const o=Ne(t[0],"color-token").color;n.gullet.macros.set("\\current@color",o);const i=n.parseExpression(!0,r);return{type:"color",mode:n.mode,color:o,body:i}},htmlBuilder:At,mathmlBuilder:jt}),Ke({type:"cr",names:["\\cr","\\newline"],props:{numArgs:0,numOptionalArgs:1,argTypes:["size"],allowedInText:!0},handler(e,t,n){let r=e.parser,o=e.funcName;const i=n[0],a="\\cr"===o;let l=!1;return a||(l=!r.settings.displayMode||!r.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode")),{type:"cr",mode:r.mode,newLine:l,newRow:a,size:i&&Ne(i,"size").value}},htmlBuilder(e,t){if(e.newRow)throw new s("\\cr valid only within a tabular/array environment");const n=Le.makeSpan(["mspace"],[],t);return e.newLine&&(n.classes.push("newline"),e.size&&(n.style.marginTop=_e(e.size,t)+"em")),n},mathmlBuilder(e,t){const n=new pt.MathNode("mspace");return e.newLine&&(n.setAttribute("linebreak","newline"),e.size&&n.setAttribute("height",_e(e.size,t)+"em")),n}});const Lt=function(e,t,n){const r=Y(J.math[e]&&J.math[e].replace||e,t,n);if(!r)throw new Error(`Unsupported symbol ${e} and font size ${t}.`);return r},Nt=function(e,t,n,r){const o=n.havingBaseStyle(t),i=Le.makeSpan(r.concat(o.sizingClasses(n)),[e],n),a=o.sizeMultiplier/n.sizeMultiplier;return i.height*=a,i.depth*=a,i.maxFontSize=o.sizeMultiplier,i},Ht=function(e,t,n){const r=t.havingBaseStyle(n),o=(1-t.sizeMultiplier/r.sizeMultiplier)*t.fontMetrics().axisHeight;e.classes.push("delimcenter"),e.style.top=o+"em",e.height-=o,e.depth+=o},Rt=function(e,t,n,r,o,i){const a=function(e,t,n,r){return Le.makeSymbol(e,"Size"+t+"-Regular",n,r)}(e,t,o,r),l=Nt(Le.makeSpan(["delimsizing","size"+t],[a],r),S.TEXT,r,i);return n&&Ht(l,r,S.TEXT),l},It=function(e,t,n){let r;return r="Size1-Regular"===t?"delim-size1":"delim-size4",{type:"elem",elem:Le.makeSpan(["delimsizinginner",r],[Le.makeSpan([],[Le.makeSymbol(e,t,n)])])}},Vt={type:"kern",size:-.005},Dt=function(e,t,n,r,o,i){let a,l,c,s;a=c=s=e,l=null;let u="Size1-Regular";"\\uparrow"===e?c=s="⏐":"\\Uparrow"===e?c=s="‖":"\\downarrow"===e?a=c="⏐":"\\Downarrow"===e?a=c="‖":"\\updownarrow"===e?(a="\\uparrow",c="⏐",s="\\downarrow"):"\\Updownarrow"===e?(a="\\Uparrow",c="‖",s="\\Downarrow"):"["===e||"\\lbrack"===e?(a="⎡",c="⎢",s="⎣",u="Size4-Regular"):"]"===e||"\\rbrack"===e?(a="⎤",c="⎥",s="⎦",u="Size4-Regular"):"\\lfloor"===e||"⌊"===e?(c=a="⎢",s="⎣",u="Size4-Regular"):"\\lceil"===e||"⌈"===e?(a="⎡",c=s="⎢",u="Size4-Regular"):"\\rfloor"===e||"⌋"===e?(c=a="⎥",s="⎦",u="Size4-Regular"):"\\rceil"===e||"⌉"===e?(a="⎤",c=s="⎥",u="Size4-Regular"):"("===e||"\\lparen"===e?(a="⎛",c="⎜",s="⎝",u="Size4-Regular"):")"===e||"\\rparen"===e?(a="⎞",c="⎟",s="⎠",u="Size4-Regular"):"\\{"===e||"\\lbrace"===e?(a="⎧",l="⎨",s="⎩",c="⎪",u="Size4-Regular"):"\\}"===e||"\\rbrace"===e?(a="⎫",l="⎬",s="⎭",c="⎪",u="Size4-Regular"):"\\lgroup"===e||"⟮"===e?(a="⎧",s="⎩",c="⎪",u="Size4-Regular"):"\\rgroup"===e||"⟯"===e?(a="⎫",s="⎭",c="⎪",u="Size4-Regular"):"\\lmoustache"===e||"⎰"===e?(a="⎧",s="⎭",c="⎪",u="Size4-Regular"):"\\rmoustache"!==e&&"⎱"!==e||(a="⎫",s="⎩",c="⎪",u="Size4-Regular");const f=Lt(a,u,o),h=f.height+f.depth,p=Lt(c,u,o),d=p.height+p.depth,m=Lt(s,u,o),v=m.height+m.depth;let y=0,g=1;if(null!==l){const e=Lt(l,u,o);y=e.height+e.depth,g=2}const b=h+v+y,w=Math.max(0,Math.ceil((t-b)/(g*d))),x=b+w*g*d;let _=r.fontMetrics().axisHeight;n&&(_*=r.sizeMultiplier);const k=x/2-_,O=.005*(w+1)-d,M=[];if(M.push(It(s,u,o)),null===l)for(let e=0;e","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],Wt=[0,1.2,1.8,2.4,3],Yt=[{type:"small",style:S.SCRIPTSCRIPT},{type:"small",style:S.SCRIPT},{type:"small",style:S.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],Gt=[{type:"small",style:S.SCRIPTSCRIPT},{type:"small",style:S.SCRIPT},{type:"small",style:S.TEXT},{type:"stack"}],Kt=[{type:"small",style:S.SCRIPTSCRIPT},{type:"small",style:S.SCRIPT},{type:"small",style:S.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],Xt=function(e){if("small"===e.type)return"Main-Regular";if("large"===e.type)return"Size"+e.size+"-Regular";if("stack"===e.type)return"Size4-Regular";throw new Error(`Add support for delim type '${e.type}' here.`)},Jt=function(e,t,n,r){for(let o=Math.min(2,3-r.style.size);ot)return n[o]}return n[n.length-1]},Qt=function(e,t,n,r,o,i){let a;"<"===e||"\\lt"===e||"⟨"===e?e="\\langle":">"!==e&&"\\gt"!==e&&"⟩"!==e||(e="\\rangle"),a=d.contains(Ut,e)?Yt:d.contains(qt,e)?Kt:Gt;const l=Jt(e,t,a,r);return"small"===l.type?function(e,t,n,r,o,i){const a=Le.makeSymbol(e,"Main-Regular",o,r),l=Nt(a,t,r,i);return n&&Ht(l,r,t),l}(e,l.style,n,r,o,i):"large"===l.type?Rt(e,l.size,n,r,o,i):Dt(e,t,n,r,o,i)};var Zt=function(e,t){const n=t.havingBaseSizing(),r=Jt("\\surd",e*n.sizeMultiplier,Kt,n);let o=n.sizeMultiplier;const i=Math.max(0,t.minRuleThickness-t.fontMetrics().sqrtRuleThickness);let a,l,c=0,s=0,u=0;return"small"===r.type?(u=1e3+1e3*i+80,e<1?o=1:e<1.4&&(o=.7),c=(1+i+.08)/o,s=(1+i)/o,a=Ft("sqrtMain",c,u,i,t),a.style.minWidth="0.853em",l=.833/o):"large"===r.type?(u=1080*Wt[r.size],s=(Wt[r.size]+i)/o,c=(Wt[r.size]+i+.08)/o,a=Ft("sqrtSize"+r.size,c,u,i,t),a.style.minWidth="1.02em",l=1/o):(c=e+i+.08,s=e+i,u=Math.floor(1e3*e+i)+80,a=Ft("sqrtTall",c,u,i,t),a.style.minWidth="0.742em",l=1.056),a.height=s,a.style.height=c+"em",{span:a,advanceWidth:l,ruleWidth:(t.fontMetrics().sqrtRuleThickness+i)*o}},$t=function(e,t,n,r,o){if("<"===e||"\\lt"===e||"⟨"===e?e="\\langle":">"!==e&&"\\gt"!==e&&"⟩"!==e||(e="\\rangle"),d.contains(qt,e)||d.contains(Ut,e))return Rt(e,t,!1,n,r,o);if(d.contains(Bt,e))return Dt(e,Wt[t],!1,n,r,o);throw new s("Illegal delimiter: '"+e+"'")},en=Qt,tn=function(e,t,n,r,o,i){const a=r.fontMetrics().axisHeight*r.sizeMultiplier,l=5/r.fontMetrics().ptPerEm,c=Math.max(t-a,n+a),s=Math.max(c/500*901,2*c-l);return Qt(e,s,!0,r,o,i)};const nn={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},rn=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","<",">","\\langle","⟨","\\rangle","⟩","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function on(e,t){const n=Ve(e);if(n&&d.contains(rn,n.text))return n;throw new s("Invalid delimiter: '"+(n?n.text:JSON.stringify(e))+"' after '"+t.funcName+"'",e)}function an(e){if(!e.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}Ke({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1},handler:(e,t)=>{const n=on(t[0],e);return{type:"delimsizing",mode:e.parser.mode,size:nn[e.funcName].size,mclass:nn[e.funcName].mclass,delim:n.text}},htmlBuilder:(e,t)=>"."===e.delim?Le.makeSpan([e.mclass]):$t(e.delim,e.size,t,e.mode,[e.mclass]),mathmlBuilder:e=>{const t=[];"."!==e.delim&&t.push(dt(e.delim,e.mode));const n=new pt.MathNode("mo",t);return"mopen"===e.mclass||"mclose"===e.mclass?n.setAttribute("fence","true"):n.setAttribute("fence","false"),n}}),Ke({type:"leftright-right",names:["\\right"],props:{numArgs:1},handler:(e,t)=>{const n=e.parser.gullet.macros.get("\\current@color");if(n&&"string"!=typeof n)throw new s("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:on(t[0],e).text,color:n}}}),Ke({type:"leftright",names:["\\left"],props:{numArgs:1},handler:(e,t)=>{const n=on(t[0],e),r=e.parser;++r.leftrightDepth;const o=r.parseExpression(!1);--r.leftrightDepth,r.expect("\\right",!1);const i=Ne(r.parseFunction(),"leftright-right");return{type:"leftright",mode:r.mode,body:o,left:n.text,right:i.delim,rightColor:i.color}},htmlBuilder:(e,t)=>{an(e);const n=nt(e.body,t,!0,["mopen","mclose"]);let r,o,i=0,a=0,l=!1;for(let e=0;e{an(e);const n=yt(e.body,t);if("."!==e.left){const t=new pt.MathNode("mo",[dt(e.left,e.mode)]);t.setAttribute("fence","true"),n.unshift(t)}if("."!==e.right){const t=new pt.MathNode("mo",[dt(e.right,e.mode)]);t.setAttribute("fence","true"),e.rightColor&&t.setAttribute("mathcolor",e.rightColor),n.push(t)}return mt(n)}}),Ke({type:"middle",names:["\\middle"],props:{numArgs:1},handler:(e,t)=>{const n=on(t[0],e);if(!e.parser.leftrightDepth)throw new s("\\middle without preceding \\left",n);return{type:"middle",mode:e.parser.mode,delim:n.text}},htmlBuilder:(e,t)=>{let n;if("."===e.delim)n=at(t,[]);else{n=$t(e.delim,1,t,e.mode,[]);const r={delim:e.delim,options:t};n.isMiddle=r}return n},mathmlBuilder:(e,t)=>{const n="\\vert"===e.delim||"|"===e.delim?dt("|","text"):dt(e.delim,e.mode),r=new pt.MathNode("mo",[n]);return r.setAttribute("fence","true"),r.setAttribute("lspace","0.05em"),r.setAttribute("rspace","0.05em"),r}});const ln=(e,t)=>{const n=Le.wrapFragment(lt(e.body,t),t),r=e.label.substr(1),o=t.sizeMultiplier;let i,a=0;const l=d.isCharacterBox(e.body);if("sout"===r)i=Le.makeSpan(["stretchy","sout"]),i.height=t.fontMetrics().defaultRuleThickness/o,a=-.5*t.fontMetrics().xHeight;else{/cancel/.test(r)?l||n.classes.push("cancel-pad"):n.classes.push("boxpad");let o=0,c=0;/box/.test(r)?(c=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness),o=t.fontMetrics().fboxsep+("colorbox"===r?0:c)):o=l?.2:0,i=Ot(n,r,o,t),/fbox|boxed|fcolorbox/.test(r)&&(i.style.borderStyle="solid",i.style.borderWidth=c+"em"),a=n.depth+o,e.backgroundColor&&(i.style.backgroundColor=e.backgroundColor,e.borderColor&&(i.style.borderColor=e.borderColor))}let c;return c=e.backgroundColor?Le.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:a},{type:"elem",elem:n,shift:0}]},t):Le.makeVList({positionType:"individualShift",children:[{type:"elem",elem:n,shift:0},{type:"elem",elem:i,shift:a,wrapperClasses:/cancel/.test(r)?["svg-align"]:[]}]},t),/cancel/.test(r)&&(c.height=n.height,c.depth=n.depth),/cancel/.test(r)&&!l?Le.makeSpan(["mord","cancel-lap"],[c],t):Le.makeSpan(["mord"],[c],t)},cn=(e,t)=>{let n=0;const r=new pt.MathNode(e.label.indexOf("colorbox")>-1?"mpadded":"menclose",[bt(e.body,t)]);switch(e.label){case"\\cancel":r.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":r.setAttribute("notation","downdiagonalstrike");break;case"\\sout":r.setAttribute("notation","horizontalstrike");break;case"\\fbox":r.setAttribute("notation","box");break;case"\\fcolorbox":case"\\colorbox":if(n=t.fontMetrics().fboxsep*t.fontMetrics().ptPerEm,r.setAttribute("width",`+${2*n}pt`),r.setAttribute("height",`+${2*n}pt`),r.setAttribute("lspace",n+"pt"),r.setAttribute("voffset",n+"pt"),"\\fcolorbox"===e.label){const n=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness);r.setAttribute("style","border: "+n+"em solid "+String(e.borderColor))}break;case"\\xcancel":r.setAttribute("notation","updiagonalstrike downdiagonalstrike")}return e.backgroundColor&&r.setAttribute("mathbackground",e.backgroundColor),r};Ke({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","text"]},handler(e,t,n){let r=e.parser,o=e.funcName;const i=Ne(t[0],"color-token").color,a=t[1];return{type:"enclose",mode:r.mode,label:o,backgroundColor:i,body:a}},htmlBuilder:ln,mathmlBuilder:cn}),Ke({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,greediness:3,argTypes:["color","color","text"]},handler(e,t,n){let r=e.parser,o=e.funcName;const i=Ne(t[0],"color-token").color,a=Ne(t[1],"color-token").color,l=t[2];return{type:"enclose",mode:r.mode,label:o,backgroundColor:a,borderColor:i,body:l}},htmlBuilder:ln,mathmlBuilder:cn}),Ke({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler:(e,t)=>({type:"enclose",mode:e.parser.mode,label:"\\fbox",body:t[0]})}),Ke({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout"],props:{numArgs:1},handler(e,t,n){let r=e.parser,o=e.funcName;const i=t[0];return{type:"enclose",mode:r.mode,label:o,body:i}},htmlBuilder:ln,mathmlBuilder:cn});const sn={};function un(e){let t=e.type,n=e.names,r=e.props,o=e.handler,i=e.htmlBuilder,a=e.mathmlBuilder;const l={type:t,numArgs:r.numArgs||0,greediness:1,allowedInText:!1,numOptionalArgs:0,handler:o};for(let e=0;e0&&(b+=.25),c.push({pos:b,isDashed:e[t]})}for(w(i[0]),n=0;n0&&(h+=g,s=a)continue;(r>0||e.hskipBeforeAndAfter)&&(i=d.deflt(c.pregap,h),0!==i&&(O=Le.makeSpan(["arraycolsep"],[]),O.style.width=i+"em",k.push(O)));let p=[];for(n=0;n0){const e=Le.makeLineSpan("hline",t,u),n=Le.makeLineSpan("hdashline",t,u),r=[{type:"elem",elem:l,shift:0}];for(;c.length>0;){const t=c.pop(),o=t.pos-x;t.isDashed?r.push({type:"elem",elem:n,shift:o}):r.push({type:"elem",elem:e,shift:o})}l=Le.makeVList({positionType:"individualShift",children:r},t)}return Le.makeSpan(["mord"],[l],t)},mn={c:"center ",l:"left ",r:"right "},vn=function(e,t){let n=new pt.MathNode("mtable",e.body.map((function(e){return new pt.MathNode("mtr",e.map((function(e){return new pt.MathNode("mtd",[bt(e,t)])})))})));const r=.5===e.arraystretch?.1:.16+e.arraystretch-1+(e.addJot?.09:0);n.setAttribute("rowspacing",r+"em");let o="",i="";if(e.cols){const t=e.cols;let r="",a=!1,l=0,c=t.length;"separator"===t[0].type&&(o+="top ",l=1),"separator"===t[t.length-1].type&&(o+="bottom ",c-=1);for(let e=l;e0?"left ":"",o+=l[l.length-1].length>0?"right ":"";for(let e=1;e0&&c&&(r=1),n[e]={type:"align",align:t,pregap:r,postgap:0}}return r.colSeparationType=c?"align":"alignat",r};un({type:"array",names:["array","darray"],props:{numArgs:1},handler(e,t){const n={cols:(Ve(t[0])?[t[0]]:Ne(t[0],"ordgroup").body).map((function(e){const t=Ie(e).text;if(-1!=="lcr".indexOf(t))return{type:"align",align:t};if("|"===t)return{type:"separator",separator:"|"};if(":"===t)return{type:"separator",separator:":"};throw new s("Unknown column alignment: "+t,e)})),hskipBeforeAndAfter:!0};return hn(e.parser,n,pn(e.envName))},htmlBuilder:dn,mathmlBuilder:vn}),un({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix"],props:{numArgs:0},handler(e){const t={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[e.envName],n=hn(e.parser,{hskipBeforeAndAfter:!1},pn(e.envName));return t?{type:"leftright",mode:e.mode,body:[n],left:t[0],right:t[1],rightColor:void 0}:n},htmlBuilder:dn,mathmlBuilder:vn}),un({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(e){const t=hn(e.parser,{arraystretch:.5},"script");return t.colSeparationType="small",t},htmlBuilder:dn,mathmlBuilder:vn}),un({type:"array",names:["subarray"],props:{numArgs:1},handler(e,t){const n=(Ve(t[0])?[t[0]]:Ne(t[0],"ordgroup").body).map((function(e){const t=Ie(e).text;if(-1!=="lc".indexOf(t))return{type:"align",align:t};throw new s("Unknown column alignment: "+t,e)}));if(n.length>1)throw new s("{subarray} can contain only one column");let r={cols:n,hskipBeforeAndAfter:!1,arraystretch:.5};if(r=hn(e.parser,r,"script"),r.body[0].length>1)throw new s("{subarray} can contain only one column");return r},htmlBuilder:dn,mathmlBuilder:vn}),un({type:"array",names:["cases","dcases"],props:{numArgs:0},handler(e){const t=hn(e.parser,{arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},pn(e.envName));return{type:"leftright",mode:e.mode,body:[t],left:"\\{",right:".",rightColor:void 0}},htmlBuilder:dn,mathmlBuilder:vn}),un({type:"array",names:["aligned"],props:{numArgs:0},handler:yn,htmlBuilder:dn,mathmlBuilder:vn}),un({type:"array",names:["gathered"],props:{numArgs:0},handler:e=>hn(e.parser,{cols:[{type:"align",align:"c"}],addJot:!0},"display"),htmlBuilder:dn,mathmlBuilder:vn}),un({type:"array",names:["alignedat"],props:{numArgs:1},handler:yn,htmlBuilder:dn,mathmlBuilder:vn}),Ke({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(e,t){throw new s(e.funcName+" valid only within array environment")}});const gn=sn;Ke({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(e,t){let n=e.parser,r=e.funcName;const o=t[0];if("ordgroup"!==o.type)throw new s("Invalid environment name",o);let i="";for(let e=0;e{const t="ordgroup"===e.type&&e.body.length?e.body[0]:e;return"atom"!==t.type||"bin"!==t.family&&"rel"!==t.family?"mord":"m"+t.family};Ke({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler:(e,t)=>({type:"mclass",mode:e.parser.mode,mclass:_n(t[0]),body:[t[1]],isCharacterBox:d.isCharacterBox(t[1])})}),Ke({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(e,t){let n=e.parser,r=e.funcName;const o=t[1],i=t[0];let a;a="\\stackrel"!==r?_n(o):"mrel";const l={type:"op",mode:o.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:"\\stackrel"!==r,body:Je(o)},c={type:"supsub",mode:i.mode,base:l,sup:"\\underset"===r?null:i,sub:"\\underset"===r?i:null};return{type:"mclass",mode:n.mode,mclass:a,body:[c],isCharacterBox:d.isCharacterBox(c)}},htmlBuilder:wn,mathmlBuilder:xn});const kn=(e,t)=>{const n=e.font,r=t.withFont(n);return lt(e.body,r)},Sn=(e,t)=>{const n=e.font,r=t.withFont(n);return bt(e.body,r)},On={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};Ke({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,greediness:2},handler:(e,t)=>{let n=e.parser,r=e.funcName;const o=t[0];let i=r;return i in On&&(i=On[i]),{type:"font",mode:n.mode,font:i.slice(1),body:o}},htmlBuilder:kn,mathmlBuilder:Sn}),Ke({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1,greediness:2},handler:(e,t)=>{let n=e.parser;const r=t[0],o=d.isCharacterBox(r);return{type:"mclass",mode:n.mode,mclass:_n(r),body:[{type:"font",mode:n.mode,font:"boldsymbol",body:r}],isCharacterBox:o}}}),Ke({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it"],props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{let n=e.parser,r=e.funcName,o=e.breakOnTokenText;const i=n.mode,a=n.parseExpression(!0,o);return{type:"font",mode:i,font:"math"+r.slice(1),body:{type:"ordgroup",mode:n.mode,body:a}}},htmlBuilder:kn,mathmlBuilder:Sn});const Mn=(e,t)=>{let n=t;return"display"===e?n=n.id>=S.SCRIPT.id?n.text():S.DISPLAY:"text"===e&&n.size===S.DISPLAY.size?n=S.TEXT:"script"===e?n=S.SCRIPT:"scriptscript"===e&&(n=S.SCRIPTSCRIPT),n},Tn=(e,t)=>{const n=Mn(e.size,t.style),r=n.fracNum(),o=n.fracDen();let i;i=t.havingStyle(r);const a=lt(e.numer,i,t);if(e.continued){const e=8.5/t.fontMetrics().ptPerEm,n=3.5/t.fontMetrics().ptPerEm;a.height=a.height0?3*u:7*u,p=t.fontMetrics().denom1):(s>0?(f=t.fontMetrics().num2,h=u):(f=t.fontMetrics().num3,h=3*u),p=t.fontMetrics().denom2),c){const e=t.fontMetrics().axisHeight;f-a.depth-(e+.5*s){let n=new pt.MathNode("mfrac",[bt(e.numer,t),bt(e.denom,t)]);if(e.hasBarLine){if(e.barSize){const r=_e(e.barSize,t);n.setAttribute("linethickness",r+"em")}}else n.setAttribute("linethickness","0px");const r=Mn(e.size,t.style);if(r.size!==t.style.size){n=new pt.MathNode("mstyle",[n]);const e=r.size===S.DISPLAY.size?"true":"false";n.setAttribute("displaystyle",e),n.setAttribute("scriptlevel","0")}if(null!=e.leftDelim||null!=e.rightDelim){const t=[];if(null!=e.leftDelim){const n=new pt.MathNode("mo",[new pt.TextNode(e.leftDelim.replace("\\",""))]);n.setAttribute("fence","true"),t.push(n)}if(t.push(n),null!=e.rightDelim){const n=new pt.MathNode("mo",[new pt.TextNode(e.rightDelim.replace("\\",""))]);n.setAttribute("fence","true"),t.push(n)}return mt(t)}return n};Ke({type:"genfrac",names:["\\cfrac","\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,greediness:2},handler:(e,t)=>{let n=e.parser,r=e.funcName;const o=t[0],i=t[1];let a,l=null,c=null,s="auto";switch(r){case"\\cfrac":case"\\dfrac":case"\\frac":case"\\tfrac":a=!0;break;case"\\\\atopfrac":a=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":a=!1,l="(",c=")";break;case"\\\\bracefrac":a=!1,l="\\{",c="\\}";break;case"\\\\brackfrac":a=!1,l="[",c="]";break;default:throw new Error("Unrecognized genfrac command")}switch(r){case"\\cfrac":case"\\dfrac":case"\\dbinom":s="display";break;case"\\tfrac":case"\\tbinom":s="text"}return{type:"genfrac",mode:n.mode,continued:"\\cfrac"===r,numer:o,denom:i,hasBarLine:a,leftDelim:l,rightDelim:c,size:s,barSize:null}},htmlBuilder:Tn,mathmlBuilder:En}),Ke({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(e){let t,n=e.parser,r=e.funcName,o=e.token;switch(r){case"\\over":t="\\frac";break;case"\\choose":t="\\binom";break;case"\\atop":t="\\\\atopfrac";break;case"\\brace":t="\\\\bracefrac";break;case"\\brack":t="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:n.mode,replaceWith:t,token:o}}});const zn=["display","text","script","scriptscript"],Cn=function(e){let t=null;return e.length>0&&(t=e,t="."===t?null:t),t};Ke({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,greediness:6,argTypes:["math","math","size","text","math","math"]},handler(e,t){let n=e.parser;const r=t[4],o=t[5];let i=He(t[0],"atom");i&&(i=Re(t[0],"open"));const a=i?Cn(i.text):null;let l=He(t[1],"atom");l&&(l=Re(t[1],"close"));const c=l?Cn(l.text):null,s=Ne(t[2],"size");let u,f=null;s.isBlank?u=!0:(f=s.value,u=f.number>0);let h="auto",p=He(t[3],"ordgroup");if(p){if(p.body.length>0){const e=Ne(p.body[0],"textord");h=zn[Number(e.text)]}}else p=Ne(t[3],"textord"),h=zn[Number(p.text)];return{type:"genfrac",mode:n.mode,numer:r,denom:o,continued:!1,hasBarLine:u,barSize:f,leftDelim:a,rightDelim:c,size:h}},htmlBuilder:Tn,mathmlBuilder:En}),Ke({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(e,t){let n=e.parser,r=(e.funcName,e.token);return{type:"infix",mode:n.mode,replaceWith:"\\\\abovefrac",size:Ne(t[0],"size").value,token:r}}}),Ke({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(e,t)=>{let n=e.parser;e.funcName;const r=t[0],o=function(e){if(!e)throw new Error("Expected non-null, but got "+String(e));return e}(Ne(t[1],"infix").size),i=t[2],a=o.number>0;return{type:"genfrac",mode:n.mode,numer:r,denom:i,continued:!1,hasBarLine:a,barSize:o,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:Tn,mathmlBuilder:En});const Pn=(e,t)=>{const n=t.style;let r,o;const i=He(e,"supsub");i?(r=i.sup?lt(i.sup,t.havingStyle(n.sup()),t):lt(i.sub,t.havingStyle(n.sub()),t),o=Ne(i.base,"horizBrace")):o=Ne(e,"horizBrace");const a=lt(o.base,t.havingBaseStyle(S.DISPLAY)),l=Tt(o,t);let c;if(o.isOver?(c=Le.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"kern",size:.1},{type:"elem",elem:l}]},t),c.children[0].children[0].children[1].classes.push("svg-align")):(c=Le.makeVList({positionType:"bottom",positionData:a.depth+.1+l.height,children:[{type:"elem",elem:l},{type:"kern",size:.1},{type:"elem",elem:a}]},t),c.children[0].children[0].children[0].classes.push("svg-align")),r){const e=Le.makeSpan(["mord",o.isOver?"mover":"munder"],[c],t);c=o.isOver?Le.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:e},{type:"kern",size:.2},{type:"elem",elem:r}]},t):Le.makeVList({positionType:"bottom",positionData:e.depth+.2+r.height+r.depth,children:[{type:"elem",elem:r},{type:"kern",size:.2},{type:"elem",elem:e}]},t)}return Le.makeSpan(["mord",o.isOver?"mover":"munder"],[c],t)};Ke({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(e,t){let n=e.parser,r=e.funcName;return{type:"horizBrace",mode:n.mode,label:r,isOver:/^\\over/.test(r),base:t[0]}},htmlBuilder:Pn,mathmlBuilder:(e,t)=>{const n=Mt(e.label);return new pt.MathNode(e.isOver?"mover":"munder",[bt(e.base,t),n])}}),Ke({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(e,t)=>{let n=e.parser;const r=t[1],o=Ne(t[0],"url").url;return n.settings.isTrusted({command:"\\href",url:o})?{type:"href",mode:n.mode,href:o,body:Je(r)}:n.formatUnsupportedCmd("\\href")},htmlBuilder:(e,t)=>{const n=nt(e.body,t,!1);return Le.makeAnchor(e.href,[],n,t)},mathmlBuilder:(e,t)=>{let n=gt(e.body,t);return n instanceof ft||(n=new ft("mrow",[n])),n.setAttribute("href",e.href),n}}),Ke({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(e,t)=>{let n=e.parser;const r=Ne(t[0],"url").url;if(!n.settings.isTrusted({command:"\\url",url:r}))return n.formatUnsupportedCmd("\\url");const o=[];for(let e=0;e({type:"htmlmathml",mode:e.parser.mode,html:Je(t[0]),mathml:Je(t[1])}),htmlBuilder:(e,t)=>{const n=nt(e.html,t,!1);return Le.makeFragment(n)},mathmlBuilder:(e,t)=>gt(e.mathml,t)});const An=function(e){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(e))return{number:+e,unit:"bp"};{const t=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(e);if(!t)throw new s("Invalid size: '"+e+"' in \\includegraphics");const n={number:+(t[1]+t[2]),unit:t[3]};if(!xe(n))throw new s("Invalid unit: '"+n.unit+"' in \\includegraphics.");return n}};Ke({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(e,t,n)=>{let r=e.parser,o={number:0,unit:"em"},i={number:.9,unit:"em"},a={number:0,unit:"em"},l="";if(n[0]){const e=Ne(n[0],"raw").string.split(",");for(let t=0;t{const n=_e(e.height,t);let r=0;e.totalheight.number>0&&(r=_e(e.totalheight,t)-n,r=Number(r.toFixed(2)));let o=0;e.width.number>0&&(o=_e(e.width,t));const i={height:n+r+"em"};o>0&&(i.width=o+"em"),r>0&&(i.verticalAlign=-r+"em");const a=new H(e.src,e.alt,i);return a.height=n,a.depth=r,a},mathmlBuilder:(e,t)=>{const n=new pt.MathNode("mglyph",[]);n.setAttribute("alt",e.alt);const r=_e(e.height,t);let o=0;if(e.totalheight.number>0&&(o=_e(e.totalheight,t)-r,o=o.toFixed(2),n.setAttribute("valign","-"+o+"em")),n.setAttribute("height",r+o+"em"),e.width.number>0){const r=_e(e.width,t);n.setAttribute("width",r+"em")}return n.setAttribute("src",e.src),n}}),Ke({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],allowedInText:!0},handler(e,t){let n=e.parser,r=e.funcName;const o=Ne(t[0],"size");if(n.settings.strict){const e="m"===r[1],t="mu"===o.value.unit;e?(t||n.settings.reportNonstrict("mathVsTextUnits",`LaTeX's ${r} supports only mu units, not ${o.value.unit} units`),"math"!==n.mode&&n.settings.reportNonstrict("mathVsTextUnits",`LaTeX's ${r} works only in math mode`)):t&&n.settings.reportNonstrict("mathVsTextUnits",`LaTeX's ${r} doesn't support mu units`)}return{type:"kern",mode:n.mode,dimension:o.value}},htmlBuilder:(e,t)=>Le.makeGlue(e.dimension,t),mathmlBuilder(e,t){const n=_e(e.dimension,t);return new pt.SpaceNode(n)}}),Ke({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{let n=e.parser,r=e.funcName;const o=t[0];return{type:"lap",mode:n.mode,alignment:r.slice(5),body:o}},htmlBuilder:(e,t)=>{let n;"clap"===e.alignment?(n=Le.makeSpan([],[lt(e.body,t)]),n=Le.makeSpan(["inner"],[n],t)):n=Le.makeSpan(["inner"],[lt(e.body,t)]);const r=Le.makeSpan(["fix"],[]);let o=Le.makeSpan([e.alignment],[n,r],t);const i=Le.makeSpan(["strut"]);return i.style.height=o.height+o.depth+"em",i.style.verticalAlign=-o.depth+"em",o.children.unshift(i),o=Le.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:o}]},t),Le.makeSpan(["mord"],[o],t)},mathmlBuilder:(e,t)=>{const n=new pt.MathNode("mpadded",[bt(e.body,t)]);if("rlap"!==e.alignment){const t="llap"===e.alignment?"-1":"-0.5";n.setAttribute("lspace",t+"width")}return n.setAttribute("width","0px"),n}}),Ke({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){let n=e.funcName,r=e.parser;const o=r.mode;r.switchMode("math");const i="\\("===n?"\\)":"$",a=r.parseExpression(!1,i);return r.expect(i),r.switchMode(o),{type:"styling",mode:r.mode,style:"text",body:a}}}),Ke({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){throw new s("Mismatched "+e.funcName)}});const jn=(e,t)=>{switch(t.style.size){case S.DISPLAY.size:return e.display;case S.TEXT.size:return e.text;case S.SCRIPT.size:return e.script;case S.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}};Ke({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4},handler:(e,t)=>({type:"mathchoice",mode:e.parser.mode,display:Je(t[0]),text:Je(t[1]),script:Je(t[2]),scriptscript:Je(t[3])}),htmlBuilder:(e,t)=>{const n=jn(e,t),r=nt(n,t,!1);return Le.makeFragment(r)},mathmlBuilder:(e,t)=>{const n=jn(e,t);return gt(n,t)}});const Ln=(e,t,n,r,o,i,a)=>{let l,c,s;if(e=Le.makeSpan([],[e]),t){const e=lt(t,r.havingStyle(o.sup()),r);c={elem:e,kern:Math.max(r.fontMetrics().bigOpSpacing1,r.fontMetrics().bigOpSpacing3-e.depth)}}if(n){const e=lt(n,r.havingStyle(o.sub()),r);l={elem:e,kern:Math.max(r.fontMetrics().bigOpSpacing2,r.fontMetrics().bigOpSpacing4-e.height)}}if(c&&l){const t=r.fontMetrics().bigOpSpacing5+l.elem.height+l.elem.depth+l.kern+e.depth+a;s=Le.makeVList({positionType:"bottom",positionData:t,children:[{type:"kern",size:r.fontMetrics().bigOpSpacing5},{type:"elem",elem:l.elem,marginLeft:-i+"em"},{type:"kern",size:l.kern},{type:"elem",elem:e},{type:"kern",size:c.kern},{type:"elem",elem:c.elem,marginLeft:i+"em"},{type:"kern",size:r.fontMetrics().bigOpSpacing5}]},r)}else if(l){const t=e.height-a;s=Le.makeVList({positionType:"top",positionData:t,children:[{type:"kern",size:r.fontMetrics().bigOpSpacing5},{type:"elem",elem:l.elem,marginLeft:-i+"em"},{type:"kern",size:l.kern},{type:"elem",elem:e}]},r)}else{if(!c)return e;{const t=e.depth+a;s=Le.makeVList({positionType:"bottom",positionData:t,children:[{type:"elem",elem:e},{type:"kern",size:c.kern},{type:"elem",elem:c.elem,marginLeft:i+"em"},{type:"kern",size:r.fontMetrics().bigOpSpacing5}]},r)}}return Le.makeSpan(["mop","op-limits"],[s],r)},Nn=["\\smallint"],Hn=(e,t)=>{let n,r,o,i=!1;const a=He(e,"supsub");a?(n=a.sup,r=a.sub,o=Ne(a.base,"op"),i=!0):o=Ne(e,"op");const l=t.style;let c,s=!1;if(l.size===S.DISPLAY.size&&o.symbol&&!d.contains(Nn,o.name)&&(s=!0),o.symbol){const e=s?"Size2-Regular":"Size1-Regular";let n="";if("\\oiint"!==o.name&&"\\oiiint"!==o.name||(n=o.name.substr(1),o.name="oiint"===n?"\\iint":"\\iiint"),c=Le.makeSymbol(o.name,e,"math",t,["mop","op-symbol",s?"large-op":"small-op"]),n.length>0){const e=c.italic,r=Le.staticSvg(n+"Size"+(s?"2":"1"),t);c=Le.makeVList({positionType:"individualShift",children:[{type:"elem",elem:c,shift:0},{type:"elem",elem:r,shift:s?.08:0}]},t),o.name="\\"+n,c.classes.unshift("mop"),c.italic=e}}else if(o.body){const e=nt(o.body,t,!0);1===e.length&&e[0]instanceof I?(c=e[0],c.classes[0]="mop"):c=Le.makeSpan(["mop"],Le.tryCombineChars(e),t)}else{const e=[];for(let n=1;n{let n;if(e.symbol)n=new ft("mo",[dt(e.name,e.mode)]),d.contains(Nn,e.name)&&n.setAttribute("largeop","false");else if(e.body)n=new ft("mo",yt(e.body,t));else{n=new ft("mi",[new ht(e.name.slice(1))]);const t=new ft("mo",[dt("⁡","text")]);n=e.parentIsSupSub?new ft("mo",[n,t]):ut([n,t])}return n},In={"∏":"\\prod","∐":"\\coprod","∑":"\\sum","⋀":"\\bigwedge","⋁":"\\bigvee","⋂":"\\bigcap","⋃":"\\bigcup","⨀":"\\bigodot","⨁":"\\bigoplus","⨂":"\\bigotimes","⨄":"\\biguplus","⨆":"\\bigsqcup"};Ke({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","∏","∐","∑","⋀","⋁","⋂","⋃","⨀","⨁","⨂","⨄","⨆"],props:{numArgs:0},handler:(e,t)=>{let n=e.parser,r=e.funcName;return 1===r.length&&(r=In[r]),{type:"op",mode:n.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:r}},htmlBuilder:Hn,mathmlBuilder:Rn}),Ke({type:"op",names:["\\mathop"],props:{numArgs:1},handler:(e,t)=>{let n=e.parser;const r=t[0];return{type:"op",mode:n.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:Je(r)}},htmlBuilder:Hn,mathmlBuilder:Rn});const Vn={"∫":"\\int","∬":"\\iint","∭":"\\iiint","∮":"\\oint","∯":"\\oiint","∰":"\\oiiint"};Ke({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler(e){let t=e.parser,n=e.funcName;return{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:n}},htmlBuilder:Hn,mathmlBuilder:Rn}),Ke({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(e){let t=e.parser,n=e.funcName;return{type:"op",mode:t.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:n}},htmlBuilder:Hn,mathmlBuilder:Rn}),Ke({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","∫","∬","∭","∮","∯","∰"],props:{numArgs:0},handler(e){let t=e.parser,n=e.funcName;return 1===n.length&&(n=Vn[n]),{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:n}},htmlBuilder:Hn,mathmlBuilder:Rn});const Dn=(e,t)=>{let n,r,o,i=!1;const a=He(e,"supsub");let l;if(a?(n=a.sup,r=a.sub,o=Ne(a.base,"operatorname"),i=!0):o=Ne(e,"operatorname"),o.body.length>0){const e=o.body.map(e=>{const t=e.text;return"string"==typeof t?{type:"textord",mode:e.mode,text:t}:e}),n=nt(e,t.withFont("mathrm"),!0);for(let e=0;e{let n=e.parser,r=e.funcName;const o=t[0];return{type:"operatorname",mode:n.mode,body:Je(o),alwaysHandleSupSub:"\\operatorname*"===r,limits:!1,parentIsSupSub:!1}},htmlBuilder:Dn,mathmlBuilder:(e,t)=>{let n=yt(e.body,t.withFont("mathrm")),r=!0;for(let e=0;ee.toText()).join("");n=[new pt.TextNode(e)]}const o=new pt.MathNode("mi",n);o.setAttribute("mathvariant","normal");const i=new pt.MathNode("mo",[dt("⁡","text")]);return e.parentIsSupSub?new pt.MathNode("mo",[o,i]):pt.newDocumentFragment([o,i])}}),Xe({type:"ordgroup",htmlBuilder:(e,t)=>e.semisimple?Le.makeFragment(nt(e.body,t,!1)):Le.makeSpan(["mord"],nt(e.body,t,!0),t),mathmlBuilder:(e,t)=>gt(e.body,t,!0)}),Ke({type:"overline",names:["\\overline"],props:{numArgs:1},handler(e,t){let n=e.parser;const r=t[0];return{type:"overline",mode:n.mode,body:r}},htmlBuilder(e,t){const n=lt(e.body,t.havingCrampedStyle()),r=Le.makeLineSpan("overline-line",t),o=t.fontMetrics().defaultRuleThickness,i=Le.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n},{type:"kern",size:3*o},{type:"elem",elem:r},{type:"kern",size:o}]},t);return Le.makeSpan(["mord","overline"],[i],t)},mathmlBuilder(e,t){const n=new pt.MathNode("mo",[new pt.TextNode("‾")]);n.setAttribute("stretchy","true");const r=new pt.MathNode("mover",[bt(e.body,t),n]);return r.setAttribute("accent","true"),r}}),Ke({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{let n=e.parser;const r=t[0];return{type:"phantom",mode:n.mode,body:Je(r)}},htmlBuilder:(e,t)=>{const n=nt(e.body,t.withPhantom(),!1);return Le.makeFragment(n)},mathmlBuilder:(e,t)=>{const n=yt(e.body,t);return new pt.MathNode("mphantom",n)}}),Ke({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{let n=e.parser;const r=t[0];return{type:"hphantom",mode:n.mode,body:r}},htmlBuilder:(e,t)=>{let n=Le.makeSpan([],[lt(e.body,t.withPhantom())]);if(n.height=0,n.depth=0,n.children)for(let e=0;e{const n=yt(Je(e.body),t),r=new pt.MathNode("mphantom",n),o=new pt.MathNode("mpadded",[r]);return o.setAttribute("height","0px"),o.setAttribute("depth","0px"),o}}),Ke({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{let n=e.parser;const r=t[0];return{type:"vphantom",mode:n.mode,body:r}},htmlBuilder:(e,t)=>{const n=Le.makeSpan(["inner"],[lt(e.body,t.withPhantom())]),r=Le.makeSpan(["fix"],[]);return Le.makeSpan(["mord","rlap"],[n,r],t)},mathmlBuilder:(e,t)=>{const n=yt(Je(e.body),t),r=new pt.MathNode("mphantom",n),o=new pt.MathNode("mpadded",[r]);return o.setAttribute("width","0px"),o}}),Ke({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(e,t){let n=e.parser;const r=Ne(t[0],"size").value,o=t[1];return{type:"raisebox",mode:n.mode,dy:r,body:o}},htmlBuilder(e,t){const n=lt(e.body,t),r=_e(e.dy,t);return Le.makeVList({positionType:"shift",positionData:-r,children:[{type:"elem",elem:n}]},t)},mathmlBuilder(e,t){const n=new pt.MathNode("mpadded",[bt(e.body,t)]),r=e.dy.number+e.dy.unit;return n.setAttribute("voffset",r),n}}),Ke({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler(e,t,n){let r=e.parser;const o=n[0],i=Ne(t[0],"size"),a=Ne(t[1],"size");return{type:"rule",mode:r.mode,shift:o&&Ne(o,"size").value,width:i.value,height:a.value}},htmlBuilder(e,t){const n=Le.makeSpan(["mord","rule"],[],t),r=_e(e.width,t),o=_e(e.height,t),i=e.shift?_e(e.shift,t):0;return n.style.borderRightWidth=r+"em",n.style.borderTopWidth=o+"em",n.style.bottom=i+"em",n.width=r,n.height=o+i,n.depth=-i,n.maxFontSize=1.125*o*t.sizeMultiplier,n},mathmlBuilder(e,t){const n=_e(e.width,t),r=_e(e.height,t),o=e.shift?_e(e.shift,t):0,i=t.color&&t.getColor()||"black",a=new pt.MathNode("mspace");a.setAttribute("mathbackground",i),a.setAttribute("width",n+"em"),a.setAttribute("height",r+"em");const l=new pt.MathNode("mpadded",[a]);return o>=0?l.setAttribute("height","+"+o+"em"):(l.setAttribute("height",o+"em"),l.setAttribute("depth","+"+-o+"em")),l.setAttribute("voffset",o+"em"),l}});const qn=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"];Ke({type:"sizing",names:qn,props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{let n=e.breakOnTokenText,r=e.funcName,o=e.parser;const i=o.parseExpression(!1,n);return{type:"sizing",mode:o.mode,size:qn.indexOf(r)+1,body:i}},htmlBuilder:(e,t)=>{const n=t.havingSize(e.size);return Fn(e.body,n,t)},mathmlBuilder:(e,t)=>{const n=t.havingSize(e.size),r=yt(e.body,n),o=new pt.MathNode("mstyle",r);return o.setAttribute("mathsize",n.sizeMultiplier+"em"),o}}),Ke({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(e,t,n)=>{let r=e.parser,o=!1,i=!1;const a=n[0]&&Ne(n[0],"ordgroup");if(a){let e="";for(let t=0;t{const n=Le.makeSpan([],[lt(e.body,t)]);if(!e.smashHeight&&!e.smashDepth)return n;if(e.smashHeight&&(n.height=0,n.children))for(let e=0;e{const n=new pt.MathNode("mpadded",[bt(e.body,t)]);return e.smashHeight&&n.setAttribute("height","0px"),e.smashDepth&&n.setAttribute("depth","0px"),n}}),Ke({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,n){let r=e.parser;const o=n[0],i=t[0];return{type:"sqrt",mode:r.mode,body:i,index:o}},htmlBuilder(e,t){let n=lt(e.body,t.havingCrampedStyle());0===n.height&&(n.height=t.fontMetrics().xHeight),n=Le.wrapFragment(n,t);const r=t.fontMetrics().defaultRuleThickness;let o=r;t.style.idn.height+n.depth+i&&(i=(i+f-n.height-n.depth)/2);const h=c.height-n.height-i-s;n.style.paddingLeft=u+"em";const p=Le.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:-(n.height+h)},{type:"elem",elem:c},{type:"kern",size:s}]},t);if(e.index){const n=t.havingStyle(S.SCRIPTSCRIPT),r=lt(e.index,n,t),o=.6*(p.height-p.depth),i=Le.makeVList({positionType:"shift",positionData:-o,children:[{type:"elem",elem:r}]},t),a=Le.makeSpan(["root"],[i]);return Le.makeSpan(["mord","sqrt"],[a,p],t)}return Le.makeSpan(["mord","sqrt"],[p],t)},mathmlBuilder(e,t){const n=e.body,r=e.index;return r?new pt.MathNode("mroot",[bt(n,t),bt(r,t)]):new pt.MathNode("msqrt",[bt(n,t)])}});const Bn={display:S.DISPLAY,text:S.TEXT,script:S.SCRIPT,scriptscript:S.SCRIPTSCRIPT};Ke({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0},handler(e,t){let n=e.breakOnTokenText,r=e.funcName,o=e.parser;const i=o.parseExpression(!0,n),a=r.slice(1,r.length-5);return{type:"styling",mode:o.mode,style:a,body:i}},htmlBuilder(e,t){const n=Bn[e.style],r=t.havingStyle(n).withFont("");return Fn(e.body,r,t)},mathmlBuilder(e,t){const n=Bn[e.style],r=t.havingStyle(n),o=yt(e.body,r),i=new pt.MathNode("mstyle",o),a={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]}[e.style];return i.setAttribute("scriptlevel",a[0]),i.setAttribute("displaystyle",a[1]),i}}),Xe({type:"supsub",htmlBuilder(e,t){const n=function(e,t){const n=e.base;return n?"op"===n.type?n.limits&&(t.style.size===S.DISPLAY.size||n.alwaysHandleSupSub)?Hn:null:"operatorname"===n.type?n.alwaysHandleSupSub&&(t.style.size===S.DISPLAY.size||n.limits)?Dn:null:"accent"===n.type?d.isCharacterBox(n.base)?Et:null:"horizBrace"===n.type&&!e.sub===n.isOver?Pn:null:null}(e,t);if(n)return n(e,t);const r=e.base,o=e.sup,i=e.sub,a=lt(r,t);let l,c;const s=t.fontMetrics();let u=0,f=0;const h=r&&d.isCharacterBox(r);if(o){const e=t.havingStyle(t.style.sup());l=lt(o,e,t),h||(u=a.height-e.fontMetrics().supDrop*e.sizeMultiplier/t.sizeMultiplier)}if(i){const e=t.havingStyle(t.style.sub());c=lt(i,e,t),h||(f=a.depth+e.fontMetrics().subDrop*e.sizeMultiplier/t.sizeMultiplier)}let p;p=t.style===S.DISPLAY?s.sup1:t.style.cramped?s.sup3:s.sup2;const m=t.sizeMultiplier,v=.5/s.ptPerEm/m+"em";let y,g=null;if(c){const t=e.base&&"op"===e.base.type&&e.base.name&&("\\oiint"===e.base.name||"\\oiiint"===e.base.name);(a instanceof I||t)&&(g=-a.italic+"em")}if(l&&c){u=Math.max(u,p,l.depth+.25*s.xHeight),f=Math.max(f,s.sub2);const e=4*s.defaultRuleThickness;if(u-l.depth-(c.height-f)0&&(u+=t,f-=t)}const n=[{type:"elem",elem:c,shift:f,marginRight:v,marginLeft:g},{type:"elem",elem:l,shift:-u,marginRight:v}];y=Le.makeVList({positionType:"individualShift",children:n},t)}else if(c){f=Math.max(f,s.sub1,c.height-.8*s.xHeight);const e=[{type:"elem",elem:c,marginLeft:g,marginRight:v}];y=Le.makeVList({positionType:"shift",positionData:f,children:e},t)}else{if(!l)throw new Error("supsub must have either sup or sub.");u=Math.max(u,p,l.depth+.25*s.xHeight),y=Le.makeVList({positionType:"shift",positionData:-u,children:[{type:"elem",elem:l,marginRight:v}]},t)}const b=it(a,"right")||"mord";return Le.makeSpan([b],[a,Le.makeSpan(["msupsub"],[y])],t)},mathmlBuilder(e,t){let n,r,o=!1;const i=He(e.base,"horizBrace");i&&(r=!!e.sup,r===i.isOver&&(o=!0,n=i.isOver)),!e.base||"op"!==e.base.type&&"operatorname"!==e.base.type||(e.base.parentIsSupSub=!0);const a=[bt(e.base,t)];let l;if(e.sub&&a.push(bt(e.sub,t)),e.sup&&a.push(bt(e.sup,t)),o)l=n?"mover":"munder";else if(e.sub)if(e.sup){const n=e.base;l=n&&"op"===n.type&&n.limits&&t.style===S.DISPLAY||n&&"operatorname"===n.type&&n.alwaysHandleSupSub&&(t.style===S.DISPLAY||n.limits)?"munderover":"msubsup"}else{const n=e.base;l=n&&"op"===n.type&&n.limits&&(t.style===S.DISPLAY||n.alwaysHandleSupSub)||n&&"operatorname"===n.type&&n.alwaysHandleSupSub&&(n.limits||t.style===S.DISPLAY)?"munder":"msub"}else{const n=e.base;l=n&&"op"===n.type&&n.limits&&(t.style===S.DISPLAY||n.alwaysHandleSupSub)||n&&"operatorname"===n.type&&n.alwaysHandleSupSub&&(n.limits||t.style===S.DISPLAY)?"mover":"msup"}return new pt.MathNode(l,a)}}),Xe({type:"atom",htmlBuilder:(e,t)=>Le.mathsym(e.text,e.mode,t,["m"+e.family]),mathmlBuilder(e,t){const n=new pt.MathNode("mo",[dt(e.text,e.mode)]);if("bin"===e.family){const r=vt(e,t);"bold-italic"===r&&n.setAttribute("mathvariant",r)}else"punct"===e.family?n.setAttribute("separator","true"):"open"!==e.family&&"close"!==e.family||n.setAttribute("stretchy","false");return n}});const Un={mi:"italic",mn:"normal",mtext:"normal"};Xe({type:"mathord",htmlBuilder:(e,t)=>Le.makeOrd(e,t,"mathord"),mathmlBuilder(e,t){const n=new pt.MathNode("mi",[dt(e.text,e.mode,t)]),r=vt(e,t)||"italic";return r!==Un[n.type]&&n.setAttribute("mathvariant",r),n}}),Xe({type:"textord",htmlBuilder:(e,t)=>Le.makeOrd(e,t,"textord"),mathmlBuilder(e,t){const n=dt(e.text,e.mode,t),r=vt(e,t)||"normal";let o;return o="text"===e.mode?new pt.MathNode("mtext",[n]):/[0-9]/.test(e.text)?new pt.MathNode("mn",[n]):"\\prime"===e.text?new pt.MathNode("mo",[n]):new pt.MathNode("mi",[n]),r!==Un[o.type]&&o.setAttribute("mathvariant",r),o}});const Wn={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},Yn={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};Xe({type:"spacing",htmlBuilder(e,t){if(Yn.hasOwnProperty(e.text)){const n=Yn[e.text].className||"";if("text"===e.mode){const r=Le.makeOrd(e,t,"textord");return r.classes.push(n),r}return Le.makeSpan(["mspace",n],[Le.mathsym(e.text,e.mode,t)],t)}if(Wn.hasOwnProperty(e.text))return Le.makeSpan(["mspace",Wn[e.text]],[],t);throw new s(`Unknown type of space "${e.text}"`)},mathmlBuilder(e,t){let n;if(!Yn.hasOwnProperty(e.text)){if(Wn.hasOwnProperty(e.text))return new pt.MathNode("mspace");throw new s(`Unknown type of space "${e.text}"`)}return n=new pt.MathNode("mtext",[new pt.TextNode(" ")]),n}});const Gn=()=>{const e=new pt.MathNode("mtd",[]);return e.setAttribute("width","50%"),e};Xe({type:"tag",mathmlBuilder(e,t){const n=new pt.MathNode("mtable",[new pt.MathNode("mtr",[Gn(),new pt.MathNode("mtd",[gt(e.body,t)]),Gn(),new pt.MathNode("mtd",[gt(e.tag,t)])])]);return n.setAttribute("width","100%"),n}});const Kn={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},Xn={"\\textbf":"textbf","\\textmd":"textmd"},Jn={"\\textit":"textit","\\textup":"textup"},Qn=(e,t)=>{const n=e.font;return n?Kn[n]?t.withTextFontFamily(Kn[n]):Xn[n]?t.withTextFontWeight(Xn[n]):t.withTextFontShape(Jn[n]):t};Ke({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup"],props:{numArgs:1,argTypes:["text"],greediness:2,allowedInText:!0},handler(e,t){let n=e.parser,r=e.funcName;const o=t[0];return{type:"text",mode:n.mode,body:Je(o),font:r}},htmlBuilder(e,t){const n=Qn(e,t),r=nt(e.body,n,!0);return Le.makeSpan(["mord","text"],Le.tryCombineChars(r),n)},mathmlBuilder(e,t){const n=Qn(e,t);return gt(e.body,n)}}),Ke({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>({type:"underline",mode:e.parser.mode,body:t[0]}),htmlBuilder(e,t){const n=lt(e.body,t),r=Le.makeLineSpan("underline-line",t),o=t.fontMetrics().defaultRuleThickness,i=Le.makeVList({positionType:"top",positionData:n.height,children:[{type:"kern",size:o},{type:"elem",elem:r},{type:"kern",size:3*o},{type:"elem",elem:n}]},t);return Le.makeSpan(["mord","underline"],[i],t)},mathmlBuilder(e,t){const n=new pt.MathNode("mo",[new pt.TextNode("‾")]);n.setAttribute("stretchy","true");const r=new pt.MathNode("munder",[bt(e.body,t),n]);return r.setAttribute("accentunder","true"),r}}),Ke({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(e,t,n){throw new s("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(e,t){const n=Zn(e),r=[],o=t.havingStyle(t.style.text());for(let t=0;te.body.replace(/ /g,e.star?"␣":" "),$n=We,er=new RegExp("^(\\\\[a-zA-Z@]+)[ \r\n\t]*$"),tr=new RegExp("[̀-ͯ]+$");class nr{constructor(e,t){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=e,this.settings=t,this.tokenRegex=new RegExp("([ \r\n\t]+)|([!-\\[\\]-‧‪-퟿豈-￿][̀-ͯ]*|[\ud800-\udbff][\udc00-\udfff][̀-ͯ]*|\\\\verb\\*([^]).*?\\3|\\\\verb([^*a-zA-Z]).*?\\4|\\\\operatorname\\*|\\\\[a-zA-Z@]+[ \r\n\t]*|\\\\[^\ud800-\udfff])","g"),this.catcodes={"%":14}}setCatcode(e,t){this.catcodes[e]=t}lex(){const e=this.input,t=this.tokenRegex.lastIndex;if(t===e.length)return new c("EOF",new l(this,t,t));const n=this.tokenRegex.exec(e);if(null===n||n.index!==t)throw new s(`Unexpected character: '${e[t]}'`,new c(e[t],new l(this,t,t+1)));let r=n[2]||" ";if(14===this.catcodes[r]){const t=e.indexOf("\n",this.tokenRegex.lastIndex);return-1===t?(this.tokenRegex.lastIndex=e.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=t+1,this.lex()}const o=r.match(er);return o&&(r=o[1]),new c(r,new l(this,t,this.tokenRegex.lastIndex))}}class rr{constructor(e,t){void 0===e&&(e={}),void 0===t&&(t={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=t,this.builtins=e,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(0===this.undefStack.length)throw new s("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");const e=this.undefStack.pop();for(const t in e)e.hasOwnProperty(t)&&(void 0===e[t]?delete this.current[t]:this.current[t]=e[t])}has(e){return this.current.hasOwnProperty(e)||this.builtins.hasOwnProperty(e)}get(e){return this.current.hasOwnProperty(e)?this.current[e]:this.builtins[e]}set(e,t,n){if(void 0===n&&(n=!1),n){for(let t=0;t0&&(this.undefStack[this.undefStack.length-1][e]=t)}else{const t=this.undefStack[this.undefStack.length-1];t&&!t.hasOwnProperty(e)&&(t[e]=this.current[e])}this.current[e]=t}}const or={};function ir(e,t){or[e]=t}ir("\\@firstoftwo",(function(e){return{tokens:e.consumeArgs(2)[0],numArgs:0}})),ir("\\@secondoftwo",(function(e){return{tokens:e.consumeArgs(2)[1],numArgs:0}})),ir("\\@ifnextchar",(function(e){const t=e.consumeArgs(3),n=e.future();return 1===t[0].length&&t[0][0].text===n.text?{tokens:t[1],numArgs:0}:{tokens:t[2],numArgs:0}})),ir("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),ir("\\TextOrMath",(function(e){const t=e.consumeArgs(2);return"text"===e.mode?{tokens:t[0],numArgs:0}:{tokens:t[1],numArgs:0}}));const ar={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};ir("\\char",(function(e){let t,n=e.popToken(),r="";if("'"===n.text)t=8,n=e.popToken();else if('"'===n.text)t=16,n=e.popToken();else if("`"===n.text)if(n=e.popToken(),"\\"===n.text[0])r=n.text.charCodeAt(1);else{if("EOF"===n.text)throw new s("\\char` missing argument");r=n.text.charCodeAt(0)}else t=10;if(t){if(r=ar[n.text],null==r||r>=t)throw new s(`Invalid base-${t} digit ${n.text}`);let o;for(;null!=(o=ar[e.future().text])&&o{let n=e.consumeArgs(1)[0];if(1!==n.length)throw new s("\\gdef's first argument must be a macro name");const r=n[0].text;let o=0;for(n=e.consumeArgs(1)[0];1===n.length&&"#"===n[0].text;){if(n=e.consumeArgs(1)[0],1!==n.length)throw new s(`Invalid argument number length "${n.length}"`);if(!/^[1-9]$/.test(n[0].text))throw new s(`Invalid argument number "${n[0].text}"`);if(o++,parseInt(n[0].text)!==o)throw new s(`Argument number "${n[0].text}" out of order`);n=e.consumeArgs(1)[0]}return e.macros.set(r,{tokens:n,numArgs:o},t),""};ir("\\gdef",e=>lr(e,!0)),ir("\\def",e=>lr(e,!1)),ir("\\global",e=>{const t=e.consumeArgs(1)[0];if(1!==t.length)throw new s("Invalid command after \\global");const n=t[0].text;if("\\def"===n)return lr(e,!0);throw new s(`Invalid command '${n}' after \\global`)});const cr=(e,t,n)=>{let r=e.consumeArgs(1)[0];if(1!==r.length)throw new s("\\newcommand's first argument must be a macro name");const o=r[0].text,i=e.isDefined(o);if(i&&!t)throw new s(`\\newcommand{${o}} attempting to redefine `+o+"; use \\renewcommand");if(!i&&!n)throw new s(`\\renewcommand{${o}} when command ${o} does not yet exist; use \\newcommand`);let a=0;if(r=e.consumeArgs(1)[0],1===r.length&&"["===r[0].text){let t="",n=e.expandNextToken();for(;"]"!==n.text&&"EOF"!==n.text;)t+=n.text,n=e.expandNextToken();if(!t.match(/^\s*[0-9]+\s*$/))throw new s("Invalid number of arguments: "+t);a=parseInt(t),r=e.consumeArgs(1)[0]}return e.macros.set(o,{tokens:r,numArgs:a}),""};ir("\\newcommand",e=>cr(e,!1,!0)),ir("\\renewcommand",e=>cr(e,!0,!1)),ir("\\providecommand",e=>cr(e,!0,!0)),ir("\\bgroup","{"),ir("\\egroup","}"),ir("\\lq","`"),ir("\\rq","'"),ir("\\aa","\\r a"),ir("\\AA","\\r A"),ir("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`©}"),ir("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),ir("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`®}"),ir("ℬ","\\mathscr{B}"),ir("ℰ","\\mathscr{E}"),ir("ℱ","\\mathscr{F}"),ir("ℋ","\\mathscr{H}"),ir("ℐ","\\mathscr{I}"),ir("ℒ","\\mathscr{L}"),ir("ℳ","\\mathscr{M}"),ir("ℛ","\\mathscr{R}"),ir("ℭ","\\mathfrak{C}"),ir("ℌ","\\mathfrak{H}"),ir("ℨ","\\mathfrak{Z}"),ir("\\Bbbk","\\Bbb{k}"),ir("·","\\cdotp"),ir("\\llap","\\mathllap{\\textrm{#1}}"),ir("\\rlap","\\mathrlap{\\textrm{#1}}"),ir("\\clap","\\mathclap{\\textrm{#1}}"),ir("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}'),ir("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`≠}}"),ir("\\ne","\\neq"),ir("≠","\\neq"),ir("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`∉}}"),ir("∉","\\notin"),ir("≘","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`≘}}"),ir("≙","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`≘}}"),ir("≚","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`≚}}"),ir("≛","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`≛}}"),ir("≝","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`≝}}"),ir("≞","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`≞}}"),ir("≟","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`≟}}"),ir("⟂","\\perp"),ir("‼","\\mathclose{!\\mkern-0.8mu!}"),ir("∌","\\notni"),ir("⌜","\\ulcorner"),ir("⌝","\\urcorner"),ir("⌞","\\llcorner"),ir("⌟","\\lrcorner"),ir("©","\\copyright"),ir("®","\\textregistered"),ir("️","\\textregistered"),ir("\\vdots","\\mathord{\\varvdots\\rule{0pt}{15pt}}"),ir("⋮","\\vdots"),ir("\\varGamma","\\mathit{\\Gamma}"),ir("\\varDelta","\\mathit{\\Delta}"),ir("\\varTheta","\\mathit{\\Theta}"),ir("\\varLambda","\\mathit{\\Lambda}"),ir("\\varXi","\\mathit{\\Xi}"),ir("\\varPi","\\mathit{\\Pi}"),ir("\\varSigma","\\mathit{\\Sigma}"),ir("\\varUpsilon","\\mathit{\\Upsilon}"),ir("\\varPhi","\\mathit{\\Phi}"),ir("\\varPsi","\\mathit{\\Psi}"),ir("\\varOmega","\\mathit{\\Omega}"),ir("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),ir("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu"),ir("\\boxed","\\fbox{$\\displaystyle{#1}$}"),ir("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),ir("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),ir("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");const sr={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};ir("\\dots",(function(e){let t="\\dotso";const n=e.expandAfterFuture().text;return n in sr?t=sr[n]:("\\not"===n.substr(0,4)||n in J.math&&d.contains(["bin","rel"],J.math[n].group))&&(t="\\dotsb"),t}));const ur={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};ir("\\dotso",(function(e){return e.future().text in ur?"\\ldots\\,":"\\ldots"})),ir("\\dotsc",(function(e){const t=e.future().text;return t in ur&&","!==t?"\\ldots\\,":"\\ldots"})),ir("\\cdots",(function(e){return e.future().text in ur?"\\@cdots\\,":"\\@cdots"})),ir("\\dotsb","\\cdots"),ir("\\dotsm","\\cdots"),ir("\\dotsi","\\!\\cdots"),ir("\\dotsx","\\ldots\\,"),ir("\\DOTSI","\\relax"),ir("\\DOTSB","\\relax"),ir("\\DOTSX","\\relax"),ir("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),ir("\\,","\\tmspace+{3mu}{.1667em}"),ir("\\thinspace","\\,"),ir("\\>","\\mskip{4mu}"),ir("\\:","\\tmspace+{4mu}{.2222em}"),ir("\\medspace","\\:"),ir("\\;","\\tmspace+{5mu}{.2777em}"),ir("\\thickspace","\\;"),ir("\\!","\\tmspace-{3mu}{.1667em}"),ir("\\negthinspace","\\!"),ir("\\negmedspace","\\tmspace-{4mu}{.2222em}"),ir("\\negthickspace","\\tmspace-{5mu}{.277em}"),ir("\\enspace","\\kern.5em "),ir("\\enskip","\\hskip.5em\\relax"),ir("\\quad","\\hskip1em\\relax"),ir("\\qquad","\\hskip2em\\relax"),ir("\\tag","\\@ifstar\\tag@literal\\tag@paren"),ir("\\tag@paren","\\tag@literal{({#1})}"),ir("\\tag@literal",e=>{if(e.macros.get("\\df@tag"))throw new s("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"}),ir("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),ir("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),ir("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),ir("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),ir("\\pmb","\\html@mathml{\\@binrel{#1}{\\mathrlap{#1}\\kern0.5px#1}}{\\mathbf{#1}}"),ir("\\\\","\\newline"),ir("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");const fr=B["Main-Regular"]["T".charCodeAt(0)][1]-.7*B["Main-Regular"]["A".charCodeAt(0)][1]+"em";ir("\\LaTeX",`\\textrm{\\html@mathml{L\\kern-.36em\\raisebox{${fr}}{\\scriptstyle A}\\kern-.15em\\TeX}{LaTeX}}`),ir("\\KaTeX",`\\textrm{\\html@mathml{K\\kern-.17em\\raisebox{${fr}}{\\scriptstyle A}\\kern-.15em\\TeX}{KaTeX}}`),ir("\\hspace","\\@ifstar\\@hspacer\\@hspace"),ir("\\@hspace","\\hskip #1\\relax"),ir("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),ir("\\ordinarycolon",":"),ir("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),ir("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),ir("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),ir("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),ir("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),ir("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),ir("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),ir("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),ir("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),ir("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),ir("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),ir("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),ir("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),ir("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),ir("∷","\\dblcolon"),ir("∹","\\eqcolon"),ir("≔","\\coloneqq"),ir("≕","\\eqqcolon"),ir("⩴","\\Coloneqq"),ir("\\ratio","\\vcentcolon"),ir("\\coloncolon","\\dblcolon"),ir("\\colonequals","\\coloneqq"),ir("\\coloncolonequals","\\Coloneqq"),ir("\\equalscolon","\\eqqcolon"),ir("\\equalscoloncolon","\\Eqqcolon"),ir("\\colonminus","\\coloneq"),ir("\\coloncolonminus","\\Coloneq"),ir("\\minuscolon","\\eqcolon"),ir("\\minuscoloncolon","\\Eqcolon"),ir("\\coloncolonapprox","\\Colonapprox"),ir("\\coloncolonsim","\\Colonsim"),ir("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),ir("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),ir("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),ir("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),ir("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}"),ir("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),ir("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),ir("\\gvertneqq","\\html@mathml{\\@gvertneqq}{≩}"),ir("\\lvertneqq","\\html@mathml{\\@lvertneqq}{≨}"),ir("\\ngeqq","\\html@mathml{\\@ngeqq}{≱}"),ir("\\ngeqslant","\\html@mathml{\\@ngeqslant}{≱}"),ir("\\nleqq","\\html@mathml{\\@nleqq}{≰}"),ir("\\nleqslant","\\html@mathml{\\@nleqslant}{≰}"),ir("\\nshortmid","\\html@mathml{\\@nshortmid}{∤}"),ir("\\nshortparallel","\\html@mathml{\\@nshortparallel}{∦}"),ir("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{⊈}"),ir("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{⊉}"),ir("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{⊊}"),ir("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{⫋}"),ir("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{⊋}"),ir("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{⫌}"),ir("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}"),ir("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}"),ir("⟦","\\llbracket"),ir("⟧","\\rrbracket"),ir("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}"),ir("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}"),ir("⦃","\\lBrace"),ir("⦄","\\rBrace"),ir("\\darr","\\downarrow"),ir("\\dArr","\\Downarrow"),ir("\\Darr","\\Downarrow"),ir("\\lang","\\langle"),ir("\\rang","\\rangle"),ir("\\uarr","\\uparrow"),ir("\\uArr","\\Uparrow"),ir("\\Uarr","\\Uparrow"),ir("\\N","\\mathbb{N}"),ir("\\R","\\mathbb{R}"),ir("\\Z","\\mathbb{Z}"),ir("\\alef","\\aleph"),ir("\\alefsym","\\aleph"),ir("\\Alpha","\\mathrm{A}"),ir("\\Beta","\\mathrm{B}"),ir("\\bull","\\bullet"),ir("\\Chi","\\mathrm{X}"),ir("\\clubs","\\clubsuit"),ir("\\cnums","\\mathbb{C}"),ir("\\Complex","\\mathbb{C}"),ir("\\Dagger","\\ddagger"),ir("\\diamonds","\\diamondsuit"),ir("\\empty","\\emptyset"),ir("\\Epsilon","\\mathrm{E}"),ir("\\Eta","\\mathrm{H}"),ir("\\exist","\\exists"),ir("\\harr","\\leftrightarrow"),ir("\\hArr","\\Leftrightarrow"),ir("\\Harr","\\Leftrightarrow"),ir("\\hearts","\\heartsuit"),ir("\\image","\\Im"),ir("\\infin","\\infty"),ir("\\Iota","\\mathrm{I}"),ir("\\isin","\\in"),ir("\\Kappa","\\mathrm{K}"),ir("\\larr","\\leftarrow"),ir("\\lArr","\\Leftarrow"),ir("\\Larr","\\Leftarrow"),ir("\\lrarr","\\leftrightarrow"),ir("\\lrArr","\\Leftrightarrow"),ir("\\Lrarr","\\Leftrightarrow"),ir("\\Mu","\\mathrm{M}"),ir("\\natnums","\\mathbb{N}"),ir("\\Nu","\\mathrm{N}"),ir("\\Omicron","\\mathrm{O}"),ir("\\plusmn","\\pm"),ir("\\rarr","\\rightarrow"),ir("\\rArr","\\Rightarrow"),ir("\\Rarr","\\Rightarrow"),ir("\\real","\\Re"),ir("\\reals","\\mathbb{R}"),ir("\\Reals","\\mathbb{R}"),ir("\\Rho","\\mathrm{P}"),ir("\\sdot","\\cdot"),ir("\\sect","\\S"),ir("\\spades","\\spadesuit"),ir("\\sub","\\subset"),ir("\\sube","\\subseteq"),ir("\\supe","\\supseteq"),ir("\\Tau","\\mathrm{T}"),ir("\\thetasym","\\vartheta"),ir("\\weierp","\\wp"),ir("\\Zeta","\\mathrm{Z}"),ir("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),ir("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),ir("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),ir("\\blue","\\textcolor{##6495ed}{#1}"),ir("\\orange","\\textcolor{##ffa500}{#1}"),ir("\\pink","\\textcolor{##ff00af}{#1}"),ir("\\red","\\textcolor{##df0030}{#1}"),ir("\\green","\\textcolor{##28ae7b}{#1}"),ir("\\gray","\\textcolor{gray}{#1}"),ir("\\purple","\\textcolor{##9d38bd}{#1}"),ir("\\blueA","\\textcolor{##ccfaff}{#1}"),ir("\\blueB","\\textcolor{##80f6ff}{#1}"),ir("\\blueC","\\textcolor{##63d9ea}{#1}"),ir("\\blueD","\\textcolor{##11accd}{#1}"),ir("\\blueE","\\textcolor{##0c7f99}{#1}"),ir("\\tealA","\\textcolor{##94fff5}{#1}"),ir("\\tealB","\\textcolor{##26edd5}{#1}"),ir("\\tealC","\\textcolor{##01d1c1}{#1}"),ir("\\tealD","\\textcolor{##01a995}{#1}"),ir("\\tealE","\\textcolor{##208170}{#1}"),ir("\\greenA","\\textcolor{##b6ffb0}{#1}"),ir("\\greenB","\\textcolor{##8af281}{#1}"),ir("\\greenC","\\textcolor{##74cf70}{#1}"),ir("\\greenD","\\textcolor{##1fab54}{#1}"),ir("\\greenE","\\textcolor{##0d923f}{#1}"),ir("\\goldA","\\textcolor{##ffd0a9}{#1}"),ir("\\goldB","\\textcolor{##ffbb71}{#1}"),ir("\\goldC","\\textcolor{##ff9c39}{#1}"),ir("\\goldD","\\textcolor{##e07d10}{#1}"),ir("\\goldE","\\textcolor{##a75a05}{#1}"),ir("\\redA","\\textcolor{##fca9a9}{#1}"),ir("\\redB","\\textcolor{##ff8482}{#1}"),ir("\\redC","\\textcolor{##f9685d}{#1}"),ir("\\redD","\\textcolor{##e84d39}{#1}"),ir("\\redE","\\textcolor{##bc2612}{#1}"),ir("\\maroonA","\\textcolor{##ffbde0}{#1}"),ir("\\maroonB","\\textcolor{##ff92c6}{#1}"),ir("\\maroonC","\\textcolor{##ed5fa6}{#1}"),ir("\\maroonD","\\textcolor{##ca337c}{#1}"),ir("\\maroonE","\\textcolor{##9e034e}{#1}"),ir("\\purpleA","\\textcolor{##ddd7ff}{#1}"),ir("\\purpleB","\\textcolor{##c6b9fc}{#1}"),ir("\\purpleC","\\textcolor{##aa87ff}{#1}"),ir("\\purpleD","\\textcolor{##7854ab}{#1}"),ir("\\purpleE","\\textcolor{##543b78}{#1}"),ir("\\mintA","\\textcolor{##f5f9e8}{#1}"),ir("\\mintB","\\textcolor{##edf2df}{#1}"),ir("\\mintC","\\textcolor{##e0e5cc}{#1}"),ir("\\grayA","\\textcolor{##f6f7f7}{#1}"),ir("\\grayB","\\textcolor{##f0f1f2}{#1}"),ir("\\grayC","\\textcolor{##e3e5e6}{#1}"),ir("\\grayD","\\textcolor{##d6d8da}{#1}"),ir("\\grayE","\\textcolor{##babec2}{#1}"),ir("\\grayF","\\textcolor{##888d93}{#1}"),ir("\\grayG","\\textcolor{##626569}{#1}"),ir("\\grayH","\\textcolor{##3b3e40}{#1}"),ir("\\grayI","\\textcolor{##21242c}{#1}"),ir("\\kaBlue","\\textcolor{##314453}{#1}"),ir("\\kaGreen","\\textcolor{##71B307}{#1}");const hr={"\\relax":!0,"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class pr{constructor(e,t,n){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=t,this.expansionCount=0,this.feed(e),this.macros=new rr(or,t.macros),this.mode=n,this.stack=[]}feed(e){this.lexer=new nr(e,this.settings)}switchMode(e){this.mode=e}beginGroup(){this.macros.beginGroup()}endGroup(){this.macros.endGroup()}future(){return 0===this.stack.length&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]}popToken(){return this.future(),this.stack.pop()}pushToken(e){this.stack.push(e)}pushTokens(e){this.stack.push(...e)}consumeSpaces(){for(;" "===this.future().text;)this.stack.pop()}consumeArgs(e){const t=[];for(let n=0;nthis.settings.maxExpand)throw new s("Too many expansions: infinite loop or need to increase maxExpand setting");let r=n.tokens;if(n.numArgs){const e=this.consumeArgs(n.numArgs);r=r.slice();for(let t=r.length-1;t>=0;--t){let n=r[t];if("#"===n.text){if(0===t)throw new s("Incomplete placeholder at end of macro body",n);if(n=r[--t],"#"===n.text)r.splice(t+1,1);else{if(!/^[1-9]$/.test(n.text))throw new s("Not a valid argument number",n);r.splice(t,2,...e[+n.text-1])}}}}return this.pushTokens(r),r}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;){const e=this.expandOnce();if(e instanceof c){if("\\relax"!==e.text)return this.stack.pop();this.stack.pop()}}throw new Error}expandMacro(e){if(!this.macros.get(e))return;const t=[],n=this.stack.length;for(this.pushToken(new c(e));this.stack.length>n;)this.expandOnce()instanceof c&&t.push(this.stack.pop());return t}expandMacroAsText(e){const t=this.expandMacro(e);return t?t.map(e=>e.text).join(""):t}_getExpansion(e){const t=this.macros.get(e);if(null==t)return t;const n="function"==typeof t?t(this):t;if("string"==typeof n){let e=0;if(-1!==n.indexOf("#")){const t=n.replace(/##/g,"");for(;-1!==t.indexOf("#"+(e+1));)++e}const t=new nr(n,this.settings),r=[];let o=t.lex();for(;"EOF"!==o.text;)r.push(o),o=t.lex();return r.reverse(),{tokens:r,numArgs:e}}return n}isDefined(e){return this.macros.has(e)||$n.hasOwnProperty(e)||J.math.hasOwnProperty(e)||J.text.hasOwnProperty(e)||hr.hasOwnProperty(e)}}var dr={"́":{text:"\\'",math:"\\acute"},"̀":{text:"\\`",math:"\\grave"},"̈":{text:'\\"',math:"\\ddot"},"̃":{text:"\\~",math:"\\tilde"},"̄":{text:"\\=",math:"\\bar"},"̆":{text:"\\u",math:"\\breve"},"̌":{text:"\\v",math:"\\check"},"̂":{text:"\\^",math:"\\hat"},"̇":{text:"\\.",math:"\\dot"},"̊":{text:"\\r",math:"\\mathring"},"̋":{text:"\\H"}},mr={á:"á",à:"à",ä:"ä",ǟ:"ǟ",ã:"ã",ā:"ā",ă:"ă",ắ:"ắ",ằ:"ằ",ẵ:"ẵ",ǎ:"ǎ",â:"â",ấ:"ấ",ầ:"ầ",ẫ:"ẫ",ȧ:"ȧ",ǡ:"ǡ",å:"å",ǻ:"ǻ",ḃ:"ḃ",ć:"ć",č:"č",ĉ:"ĉ",ċ:"ċ",ď:"ď",ḋ:"ḋ",é:"é",è:"è",ë:"ë",ẽ:"ẽ",ē:"ē",ḗ:"ḗ",ḕ:"ḕ",ĕ:"ĕ",ě:"ě",ê:"ê",ế:"ế",ề:"ề",ễ:"ễ",ė:"ė",ḟ:"ḟ",ǵ:"ǵ",ḡ:"ḡ",ğ:"ğ",ǧ:"ǧ",ĝ:"ĝ",ġ:"ġ",ḧ:"ḧ",ȟ:"ȟ",ĥ:"ĥ",ḣ:"ḣ",í:"í",ì:"ì",ï:"ï",ḯ:"ḯ",ĩ:"ĩ",ī:"ī",ĭ:"ĭ",ǐ:"ǐ",î:"î",ǰ:"ǰ",ĵ:"ĵ",ḱ:"ḱ",ǩ:"ǩ",ĺ:"ĺ",ľ:"ľ",ḿ:"ḿ",ṁ:"ṁ",ń:"ń",ǹ:"ǹ",ñ:"ñ",ň:"ň",ṅ:"ṅ",ó:"ó",ò:"ò",ö:"ö",ȫ:"ȫ",õ:"õ",ṍ:"ṍ",ṏ:"ṏ",ȭ:"ȭ",ō:"ō",ṓ:"ṓ",ṑ:"ṑ",ŏ:"ŏ",ǒ:"ǒ",ô:"ô",ố:"ố",ồ:"ồ",ỗ:"ỗ",ȯ:"ȯ",ȱ:"ȱ",ő:"ő",ṕ:"ṕ",ṗ:"ṗ",ŕ:"ŕ",ř:"ř",ṙ:"ṙ",ś:"ś",ṥ:"ṥ",š:"š",ṧ:"ṧ",ŝ:"ŝ",ṡ:"ṡ",ẗ:"ẗ",ť:"ť",ṫ:"ṫ",ú:"ú",ù:"ù",ü:"ü",ǘ:"ǘ",ǜ:"ǜ",ǖ:"ǖ",ǚ:"ǚ",ũ:"ũ",ṹ:"ṹ",ū:"ū",ṻ:"ṻ",ŭ:"ŭ",ǔ:"ǔ",û:"û",ů:"ů",ű:"ű",ṽ:"ṽ",ẃ:"ẃ",ẁ:"ẁ",ẅ:"ẅ",ŵ:"ŵ",ẇ:"ẇ",ẘ:"ẘ",ẍ:"ẍ",ẋ:"ẋ",ý:"ý",ỳ:"ỳ",ÿ:"ÿ",ỹ:"ỹ",ȳ:"ȳ",ŷ:"ŷ",ẏ:"ẏ",ẙ:"ẙ",ź:"ź",ž:"ž",ẑ:"ẑ",ż:"ż",Á:"Á",À:"À",Ä:"Ä",Ǟ:"Ǟ",Ã:"Ã",Ā:"Ā",Ă:"Ă",Ắ:"Ắ",Ằ:"Ằ",Ẵ:"Ẵ",Ǎ:"Ǎ",Â:"Â",Ấ:"Ấ",Ầ:"Ầ",Ẫ:"Ẫ",Ȧ:"Ȧ",Ǡ:"Ǡ",Å:"Å",Ǻ:"Ǻ",Ḃ:"Ḃ",Ć:"Ć",Č:"Č",Ĉ:"Ĉ",Ċ:"Ċ",Ď:"Ď",Ḋ:"Ḋ",É:"É",È:"È",Ë:"Ë",Ẽ:"Ẽ",Ē:"Ē",Ḗ:"Ḗ",Ḕ:"Ḕ",Ĕ:"Ĕ",Ě:"Ě",Ê:"Ê",Ế:"Ế",Ề:"Ề",Ễ:"Ễ",Ė:"Ė",Ḟ:"Ḟ",Ǵ:"Ǵ",Ḡ:"Ḡ",Ğ:"Ğ",Ǧ:"Ǧ",Ĝ:"Ĝ",Ġ:"Ġ",Ḧ:"Ḧ",Ȟ:"Ȟ",Ĥ:"Ĥ",Ḣ:"Ḣ",Í:"Í",Ì:"Ì",Ï:"Ï",Ḯ:"Ḯ",Ĩ:"Ĩ",Ī:"Ī",Ĭ:"Ĭ",Ǐ:"Ǐ",Î:"Î",İ:"İ",Ĵ:"Ĵ",Ḱ:"Ḱ",Ǩ:"Ǩ",Ĺ:"Ĺ",Ľ:"Ľ",Ḿ:"Ḿ",Ṁ:"Ṁ",Ń:"Ń",Ǹ:"Ǹ",Ñ:"Ñ",Ň:"Ň",Ṅ:"Ṅ",Ó:"Ó",Ò:"Ò",Ö:"Ö",Ȫ:"Ȫ",Õ:"Õ",Ṍ:"Ṍ",Ṏ:"Ṏ",Ȭ:"Ȭ",Ō:"Ō",Ṓ:"Ṓ",Ṑ:"Ṑ",Ŏ:"Ŏ",Ǒ:"Ǒ",Ô:"Ô",Ố:"Ố",Ồ:"Ồ",Ỗ:"Ỗ",Ȯ:"Ȯ",Ȱ:"Ȱ",Ő:"Ő",Ṕ:"Ṕ",Ṗ:"Ṗ",Ŕ:"Ŕ",Ř:"Ř",Ṙ:"Ṙ",Ś:"Ś",Ṥ:"Ṥ",Š:"Š",Ṧ:"Ṧ",Ŝ:"Ŝ",Ṡ:"Ṡ",Ť:"Ť",Ṫ:"Ṫ",Ú:"Ú",Ù:"Ù",Ü:"Ü",Ǘ:"Ǘ",Ǜ:"Ǜ",Ǖ:"Ǖ",Ǚ:"Ǚ",Ũ:"Ũ",Ṹ:"Ṹ",Ū:"Ū",Ṻ:"Ṻ",Ŭ:"Ŭ",Ǔ:"Ǔ",Û:"Û",Ů:"Ů",Ű:"Ű",Ṽ:"Ṽ",Ẃ:"Ẃ",Ẁ:"Ẁ",Ẅ:"Ẅ",Ŵ:"Ŵ",Ẇ:"Ẇ",Ẍ:"Ẍ",Ẋ:"Ẋ",Ý:"Ý",Ỳ:"Ỳ",Ÿ:"Ÿ",Ỹ:"Ỹ",Ȳ:"Ȳ",Ŷ:"Ŷ",Ẏ:"Ẏ",Ź:"Ź",Ž:"Ž",Ẑ:"Ẑ",Ż:"Ż",ά:"ά",ὰ:"ὰ",ᾱ:"ᾱ",ᾰ:"ᾰ",έ:"έ",ὲ:"ὲ",ή:"ή",ὴ:"ὴ",ί:"ί",ὶ:"ὶ",ϊ:"ϊ",ΐ:"ΐ",ῒ:"ῒ",ῑ:"ῑ",ῐ:"ῐ",ό:"ό",ὸ:"ὸ",ύ:"ύ",ὺ:"ὺ",ϋ:"ϋ",ΰ:"ΰ",ῢ:"ῢ",ῡ:"ῡ",ῠ:"ῠ",ώ:"ώ",ὼ:"ὼ",Ύ:"Ύ",Ὺ:"Ὺ",Ϋ:"Ϋ",Ῡ:"Ῡ",Ῠ:"Ῠ",Ώ:"Ώ",Ὼ:"Ὼ"};class vr{constructor(e,t){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new pr(e,t,this.mode),this.settings=t,this.leftrightDepth=0}expect(e,t){if(void 0===t&&(t=!0),this.fetch().text!==e)throw new s(`Expected '${e}', got '${this.fetch().text}'`,this.fetch());t&&this.consume()}consume(){this.nextToken=null}fetch(){return null==this.nextToken&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken}switchMode(e){this.mode=e,this.gullet.switchMode(e)}parse(){this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");const e=this.parseExpression(!1);return this.expect("EOF"),this.gullet.endGroup(),e}parseExpression(e,t){const n=[];for(;;){"math"===this.mode&&this.consumeSpaces();const r=this.fetch();if(-1!==vr.endOfExpression.indexOf(r.text))break;if(t&&r.text===t)break;if(e&&$n[r.text]&&$n[r.text].infix)break;const o=this.parseAtom(t);if(!o)break;n.push(o)}return"text"===this.mode&&this.formLigatures(n),this.handleInfixNodes(n)}handleInfixNodes(e){let t,n=-1;for(let r=0;r0&&!l||0===a&&!l&&"math"===this.mode,u=this.parseGroupOfType(`argument to '${e}'`,n,l,r,c);if(!u){if(l){i.push(null);continue}throw new s(`Expected group after '${e}'`,this.fetch())}(l?i:o).push(u)}return{args:o,optArgs:i}}parseGroupOfType(e,t,n,r,o){switch(t){case"color":return o&&this.consumeSpaces(),this.parseColorGroup(n);case"size":return o&&this.consumeSpaces(),this.parseSizeGroup(n);case"url":return this.parseUrlGroup(n,o);case"math":case"text":return this.parseGroup(e,n,r,void 0,t,o);case"hbox":{const t=this.parseGroup(e,n,r,void 0,"text",o);return t?{type:"styling",mode:t.mode,body:[t],style:"text"}:t}case"raw":{if(o&&this.consumeSpaces(),n&&"{"===this.fetch().text)return null;const e=this.parseStringGroup("raw",n,!0);if(e)return{type:"raw",mode:"text",string:e.text};throw new s("Expected raw group",this.fetch())}case"original":case null:case void 0:return this.parseGroup(e,n,r,void 0,void 0,o);default:throw new s("Unknown group type as "+e,this.fetch())}}consumeSpaces(){for(;" "===this.fetch().text;)this.consume()}parseStringGroup(e,t,n){const r=t?"[":"{",o=t?"]":"}",i=this.fetch();if(i.text!==r){if(t)return null;if(n&&"EOF"!==i.text&&/[^{}[\]]/.test(i.text))return this.consume(),i}const a=this.mode;this.mode="text",this.expect(r);let l="";const c=this.fetch();let u,f=0,h=c;for(;(u=this.fetch()).text!==o||n&&f>0;){switch(u.text){case"EOF":throw new s("Unexpected end of input in "+e,c.range(h,l));case r:f++;break;case o:f--}h=u,l+=h.text,this.consume()}return this.expect(o),this.mode=a,c.range(h,l)}parseRegexGroup(e,t){const n=this.mode;this.mode="text";const r=this.fetch();let o,i=r,a="";for(;"EOF"!==(o=this.fetch()).text&&e.test(a+o.text);)i=o,a+=i.text,this.consume();if(""===a)throw new s("Invalid "+t+": '"+r.text+"'",r);return this.mode=n,r.range(i,a)}parseColorGroup(e){const t=this.parseStringGroup("color",e);if(!t)return null;const n=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(t.text);if(!n)throw new s("Invalid color: '"+t.text+"'",t);let r=n[0];return/^[0-9a-f]{6}$/i.test(r)&&(r="#"+r),{type:"color-token",mode:this.mode,color:r}}parseSizeGroup(e){let t,n=!1;if(t=e||"{"===this.fetch().text?this.parseStringGroup("size",e):this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"),!t)return null;e||0!==t.text.length||(t.text="0pt",n=!0);const r=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(t.text);if(!r)throw new s("Invalid size: '"+t.text+"'",t);const o={number:+(r[1]+r[2]),unit:r[3]};if(!xe(o))throw new s("Invalid unit: '"+o.unit+"'",t);return{type:"size",mode:this.mode,value:o,isBlank:n}}parseUrlGroup(e,t){this.gullet.lexer.setCatcode("%",13);const n=this.parseStringGroup("url",e,!0);if(this.gullet.lexer.setCatcode("%",14),!n)return null;const r=n.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:r}}parseGroup(e,t,n,r,o,i){const a=this.mode;o&&this.switchMode(o),i&&this.consumeSpaces();const c=this.fetch(),u=c.text;let f;if(t?"["===u:"{"===u||"\\begingroup"===u){this.consume();const e=vr.endOfGroup[u];this.gullet.beginGroup();const t=this.parseExpression(!1,e),n=this.fetch();this.expect(e),this.gullet.endGroup(),f={type:"ordgroup",mode:this.mode,loc:l.range(c,n),body:t,semisimple:"\\begingroup"===u||void 0}}else if(t)f=null;else if(f=this.parseFunction(r,e,n)||this.parseSymbol(),null==f&&"\\"===u[0]&&!hr.hasOwnProperty(u)){if(this.settings.throwOnError)throw new s("Undefined control sequence: "+u,c);f=this.formatUnsupportedCmd(u),this.consume()}return o&&this.switchMode(a),f}formLigatures(e){let t=e.length-1;for(let n=0;n=0&&this.settings.reportNonstrict("unicodeTextInMathMode",`Latin-1/Unicode text character "${t[0]}" used in math mode`,e);const n=J[this.mode][t].group,o=l.range(e);let i;if(K.hasOwnProperty(n)){const e=n;i={type:"atom",mode:this.mode,family:e,loc:o,text:t}}else i={type:n,mode:this.mode,loc:o,text:t};r=i}else{if(!(t.charCodeAt(0)>=128))return null;this.settings.strict&&(T(t.charCodeAt(0))?"math"===this.mode&&this.settings.reportNonstrict("unicodeTextInMathMode",`Unicode text character "${t[0]}" used in math mode`,e):this.settings.reportNonstrict("unknownSymbol",`Unrecognized Unicode character "${t[0]}" (${t.charCodeAt(0)})`,e)),r={type:"textord",mode:"text",loc:l.range(e),text:t}}if(this.consume(),n)for(let t=0;t-1===t.indexOf(" "+e+" "))&&e(o,n)}}}(e,n)};var Mr,Tr=0,Er=1,zr=2,Cr=3,Pr=4,Ar=5,jr=6,Lr=7,Nr=8,Hr=9,Rr=10,Ir={input:"'",tag:"mtext",output:"mbox",tex:null,tType:Rr},Vr=[{input:"alpha",tag:"mi",output:"α",tex:null,tType:Tr},{input:"beta",tag:"mi",output:"β",tex:null,tType:Tr},{input:"chi",tag:"mi",output:"χ",tex:null,tType:Tr},{input:"delta",tag:"mi",output:"δ",tex:null,tType:Tr},{input:"Delta",tag:"mo",output:"Δ",tex:null,tType:Tr},{input:"epsi",tag:"mi",output:"ε",tex:"epsilon",tType:Tr},{input:"varepsilon",tag:"mi",output:"ɛ",tex:null,tType:Tr},{input:"eta",tag:"mi",output:"η",tex:null,tType:Tr},{input:"gamma",tag:"mi",output:"γ",tex:null,tType:Tr},{input:"Gamma",tag:"mo",output:"Γ",tex:null,tType:Tr},{input:"iota",tag:"mi",output:"ι",tex:null,tType:Tr},{input:"kappa",tag:"mi",output:"κ",tex:null,tType:Tr},{input:"lambda",tag:"mi",output:"λ",tex:null,tType:Tr},{input:"Lambda",tag:"mo",output:"Λ",tex:null,tType:Tr},{input:"lamda",tag:"mi",output:"lambda",tex:null,tType:Nr},{input:"Lamda",tag:"mi",output:"Lambda",tex:null,tType:Nr},{input:"mu",tag:"mi",output:"μ",tex:null,tType:Tr},{input:"nu",tag:"mi",output:"ν",tex:null,tType:Tr},{input:"omega",tag:"mi",output:"ω",tex:null,tType:Tr},{input:"Omega",tag:"mo",output:"Ω",tex:null,tType:Tr},{input:"phi",tag:"mi",output:"φ",tex:null,tType:Tr},{input:"varphi",tag:"mi",output:"ϕ",tex:null,tType:Tr},{input:"Phi",tag:"mo",output:"Φ",tex:null,tType:Tr},{input:"pi",tag:"mi",output:"π",tex:null,tType:Tr},{input:"Pi",tag:"mo",output:"Π",tex:null,tType:Tr},{input:"psi",tag:"mi",output:"ψ",tex:null,tType:Tr},{input:"Psi",tag:"mi",output:"Ψ",tex:null,tType:Tr},{input:"rho",tag:"mi",output:"ρ",tex:null,tType:Tr},{input:"sigma",tag:"mi",output:"σ",tex:null,tType:Tr},{input:"Sigma",tag:"mo",output:"Σ",tex:null,tType:Tr},{input:"tau",tag:"mi",output:"τ",tex:null,tType:Tr},{input:"theta",tag:"mi",output:"θ",tex:null,tType:Tr},{input:"vartheta",tag:"mi",output:"ϑ",tex:null,tType:Tr},{input:"Theta",tag:"mo",output:"Θ",tex:null,tType:Tr},{input:"upsilon",tag:"mi",output:"υ",tex:null,tType:Tr},{input:"xi",tag:"mi",output:"ξ",tex:null,tType:Tr},{input:"Xi",tag:"mo",output:"Ξ",tex:null,tType:Tr},{input:"zeta",tag:"mi",output:"ζ",tex:null,tType:Tr},{input:"*",tag:"mo",output:"⋅",tex:"cdot",tType:Tr},{input:"**",tag:"mo",output:"∗",tex:"ast",tType:Tr},{input:"***",tag:"mo",output:"⋆",tex:"star",tType:Tr},{input:"// ",tag:"mo",output:"/",tex:"/",tType:Tr,val:!0,noTexCopy:!0},{input:"\\\\",tag:"mo",output:"\\",tex:"backslash",tType:Tr},{input:"setminus",tag:"mo",output:"\\",tex:null,tType:Tr},{input:"xx",tag:"mo",output:"×",tex:"times",tType:Tr},{input:"|><",tag:"mo",output:"⋉",tex:"ltimes",tType:Tr},{input:"><|",tag:"mo",output:"⋊",tex:"rtimes",tType:Tr},{input:"|><|",tag:"mo",output:"⋈",tex:"bowtie",tType:Tr},{input:"-:",tag:"mo",output:"÷",tex:"div",tType:Tr},{input:"divide",tag:"mo",output:"-:",tex:null,tType:Nr},{input:"@",tag:"mo",output:"∘",tex:"circ",tType:Tr},{input:"o+",tag:"mo",output:"⊕",tex:"oplus",tType:Tr},{input:"ox",tag:"mo",output:"⊗",tex:"otimes",tType:Tr},{input:"o.",tag:"mo",output:"⊙",tex:"odot",tType:Tr},{input:"sum",tag:"mo",output:"∑",tex:null,tType:Lr},{input:"prod",tag:"mo",output:"∏",tex:null,tType:Lr},{input:"^^",tag:"mo",output:"∧",tex:"wedge",tType:Tr},{input:"^^^",tag:"mo",output:"⋀",tex:"bigwedge",tType:Lr},{input:"vv",tag:"mo",output:"∨",tex:"vee",tType:Tr},{input:"vvv",tag:"mo",output:"⋁",tex:"bigvee",tType:Lr},{input:"nn",tag:"mo",output:"∩",tex:"cap",tType:Tr},{input:"nnn",tag:"mo",output:"⋂",tex:"bigcap",tType:Lr},{input:"uu",tag:"mo",output:"∪",tex:"cup",tType:Tr},{input:"uuu",tag:"mo",output:"⋃",tex:"bigcup",tType:Lr},{input:"overset",tag:"mover",output:"stackrel",tex:null,tType:zr},{input:"underset",tag:"munder",output:"stackrel",tex:null,tType:zr},{input:"!=",tag:"mo",output:"≠",tex:"ne",tType:Tr},{input:":=",tag:"mo",output:":=",tex:null,tType:Tr},{input:"lt",tag:"mo",output:"<",tex:null,tType:Tr},{input:"gt",tag:"mo",output:">",tex:null,tType:Tr},{input:"<=",tag:"mo",output:"≤",tex:"le",tType:Tr},{input:"lt=",tag:"mo",output:"≤",tex:"leq",tType:Tr},{input:"gt=",tag:"mo",output:"≥",tex:"geq",tType:Tr},{input:">=",tag:"mo",output:"≥",tex:"ge",tType:Tr},{input:"-<",tag:"mo",output:"≺",tex:"prec",tType:Tr},{input:"-lt",tag:"mo",output:"≺",tex:null,tType:Tr},{input:">-",tag:"mo",output:"≻",tex:"succ",tType:Tr},{input:"-<=",tag:"mo",output:"⪯",tex:"preceq",tType:Tr},{input:">-=",tag:"mo",output:"⪰",tex:"succeq",tType:Tr},{input:"in",tag:"mo",output:"∈",tex:null,tType:Tr},{input:"!in",tag:"mo",output:"∉",tex:"notin",tType:Tr},{input:"sub",tag:"mo",output:"⊂",tex:"subset",tType:Tr},{input:"sup",tag:"mo",output:"⊃",tex:"supset",tType:Tr},{input:"sube",tag:"mo",output:"⊆",tex:"subseteq",tType:Tr},{input:"supe",tag:"mo",output:"⊇",tex:"supseteq",tType:Tr},{input:"-=",tag:"mo",output:"≡",tex:"equiv",tType:Tr},{input:"~=",tag:"mo",output:"≅",tex:"stackrel{\\sim}{=}",tType:Tr},{input:"cong",tag:"mo",output:"~=",tex:null,tType:Nr},{input:"~~",tag:"mo",output:"≈",tex:"approx",tType:Tr},{input:"prop",tag:"mo",output:"∝",tex:"propto",tType:Tr},{input:"and",tag:"mtext",output:"and",tex:null,tType:jr},{input:"or",tag:"mtext",output:"or",tex:null,tType:jr},{input:"not",tag:"mo",output:"¬",tex:"neg",tType:Tr},{input:"=>",tag:"mo",output:"⇒",tex:"Rightarrow",tType:Tr},{input:"implies",tag:"mo",output:"=>",tex:null,tType:Nr},{input:"if",tag:"mo",output:"if",tex:null,tType:jr},{input:"<=>",tag:"mo",output:"⇔",tex:"Leftrightarrow",tType:Tr},{input:"iff",tag:"mo",output:"<=>",tex:null,tType:Nr},{input:"AA",tag:"mo",output:"∀",tex:"forall",tType:Tr},{input:"EE",tag:"mo",output:"∃",tex:"exists",tType:Tr},{input:"_|_",tag:"mo",output:"⊥",tex:"bot",tType:Tr},{input:"TT",tag:"mo",output:"⊤",tex:"top",tType:Tr},{input:"|--",tag:"mo",output:"⊢",tex:"vdash",tType:Tr},{input:"|==",tag:"mo",output:"⊨",tex:"models",tType:Tr},{input:"(",tag:"mo",output:"(",tex:null,tType:Pr,val:!0},{input:")",tag:"mo",output:")",tex:null,tType:Ar,val:!0},{input:"[",tag:"mo",output:"[",tex:null,tType:Pr,val:!0},{input:"]",tag:"mo",output:"]",tex:null,tType:Ar,val:!0},{input:"{",tag:"mo",output:"{",tex:"lbrace",tType:Pr},{input:"}",tag:"mo",output:"}",tex:"rbrace",tType:Ar},{input:"|",tag:"mo",output:"|",tex:null,tType:Hr,val:!0},{input:"(:",tag:"mo",output:"〈",tex:"langle",tType:Pr},{input:":)",tag:"mo",output:"〉",tex:"rangle",tType:Ar},{input:"<<",tag:"mo",output:"〈",tex:"langle",tType:Pr},{input:">>",tag:"mo",output:"〉",tex:"rangle",tType:Ar},{input:"{:",tag:"mo",output:"{:",tex:null,tType:Pr,invisible:!0},{input:":}",tag:"mo",output:":}",tex:null,tType:Ar,invisible:!0},{input:"int",tag:"mo",output:"∫",tex:null,tType:Tr},{input:"dx",tag:"mi",output:"{:d x:}",tex:null,tType:Nr},{input:"dy",tag:"mi",output:"{:d y:}",tex:null,tType:Nr},{input:"dz",tag:"mi",output:"{:d z:}",tex:null,tType:Nr},{input:"dt",tag:"mi",output:"{:d t:}",tex:null,tType:Nr},{input:"oint",tag:"mo",output:"∮",tex:null,tType:Tr},{input:"del",tag:"mo",output:"∂",tex:"partial",tType:Tr},{input:"grad",tag:"mo",output:"∇",tex:"nabla",tType:Tr},{input:"+-",tag:"mo",output:"±",tex:"pm",tType:Tr},{input:"O/",tag:"mo",output:"∅",tex:"emptyset",tType:Tr},{input:"oo",tag:"mo",output:"∞",tex:"infty",tType:Tr},{input:"aleph",tag:"mo",output:"ℵ",tex:null,tType:Tr},{input:"...",tag:"mo",output:"...",tex:"ldots",tType:Tr},{input:":.",tag:"mo",output:"∴",tex:"therefore",tType:Tr},{input:":'",tag:"mo",output:"∵",tex:"because",tType:Tr},{input:"/_",tag:"mo",output:"∠",tex:"angle",tType:Tr},{input:"/_\\",tag:"mo",output:"△",tex:"triangle",tType:Tr},{input:"\\ ",tag:"mo",output:" ",tex:null,tType:Tr,val:!0},{input:"frown",tag:"mo",output:"⌢",tex:null,tType:Tr},{input:"%",tag:"mo",output:"%",tex:"%",tType:Tr,noTexCopy:!0},{input:"quad",tag:"mo",output:"  ",tex:null,tType:Tr},{input:"qquad",tag:"mo",output:"    ",tex:null,tType:Tr},{input:"cdots",tag:"mo",output:"⋯",tex:null,tType:Tr},{input:"vdots",tag:"mo",output:"⋮",tex:null,tType:Tr},{input:"ddots",tag:"mo",output:"⋱",tex:null,tType:Tr},{input:"diamond",tag:"mo",output:"⋄",tex:null,tType:Tr},{input:"square",tag:"mo",output:"□",tex:"boxempty",tType:Tr},{input:"|__",tag:"mo",output:"⌊",tex:"lfloor",tType:Tr},{input:"__|",tag:"mo",output:"⌋",tex:"rfloor",tType:Tr},{input:"|~",tag:"mo",output:"⌈",tex:"lceil",tType:Tr},{input:"lceiling",tag:"mo",output:"|~",tex:null,tType:Nr},{input:"~|",tag:"mo",output:"⌉",tex:"rceil",tType:Tr},{input:"rceiling",tag:"mo",output:"~|",tex:null,tType:Nr},{input:"CC",tag:"mo",output:"ℂ",tex:"mathbb{C}",tType:Tr,noTexCopy:!0},{input:"NN",tag:"mo",output:"ℕ",tex:"mathbb{N}",tType:Tr,noTexCopy:!0},{input:"QQ",tag:"mo",output:"ℚ",tex:"mathbb{Q}",tType:Tr,noTexCopy:!0},{input:"RR",tag:"mo",output:"ℝ",tex:"mathbb{R}",tType:Tr,noTexCopy:!0},{input:"ZZ",tag:"mo",output:"ℤ",tex:"mathbb{Z}",tType:Tr,noTexCopy:!0},{input:"f",tag:"mi",output:"f",tex:null,tType:Er,func:!0,val:!0},{input:"g",tag:"mi",output:"g",tex:null,tType:Er,func:!0,val:!0},{input:"''",tag:"mo",output:"''",tex:null,val:!0},{input:"'''",tag:"mo",output:"'''",tex:null,val:!0},{input:"''''",tag:"mo",output:"''''",tex:null,val:!0},{input:"lim",tag:"mo",output:"lim",tex:null,tType:Lr},{input:"Lim",tag:"mo",output:"Lim",tex:null,tType:Lr},{input:"sin",tag:"mo",output:"sin",tex:null,tType:Er,func:!0},{input:"cos",tag:"mo",output:"cos",tex:null,tType:Er,func:!0},{input:"tan",tag:"mo",output:"tan",tex:null,tType:Er,func:!0},{input:"arcsin",tag:"mo",output:"arcsin",tex:null,tType:Er,func:!0},{input:"arccos",tag:"mo",output:"arccos",tex:null,tType:Er,func:!0},{input:"arctan",tag:"mo",output:"arctan",tex:null,tType:Er,func:!0},{input:"sinh",tag:"mo",output:"sinh",tex:null,tType:Er,func:!0},{input:"cosh",tag:"mo",output:"cosh",tex:null,tType:Er,func:!0},{input:"tanh",tag:"mo",output:"tanh",tex:null,tType:Er,func:!0},{input:"cot",tag:"mo",output:"cot",tex:null,tType:Er,func:!0},{input:"coth",tag:"mo",output:"coth",tex:null,tType:Er,func:!0},{input:"sech",tag:"mo",output:"sech",tex:null,tType:Er,func:!0},{input:"csch",tag:"mo",output:"csch",tex:null,tType:Er,func:!0},{input:"sec",tag:"mo",output:"sec",tex:null,tType:Er,func:!0},{input:"csc",tag:"mo",output:"csc",tex:null,tType:Er,func:!0},{input:"log",tag:"mo",output:"log",tex:null,tType:Er,func:!0},{input:"ln",tag:"mo",output:"ln",tex:null,tType:Er,func:!0},{input:"abs",tag:"mo",output:"abs",tex:null,tType:Er,noTexCopy:!0,rewriteLeftRight:["|","|"]},{input:"norm",tag:"mo",output:"norm",tex:null,tType:Er,noTexCopy:!0,rewriteLeftRight:["\\|","\\|"]},{input:"floor",tag:"mo",output:"floor",tex:null,tType:Er,noTexCopy:!0,rewriteLeftRight:["\\lfloor","\\rfloor"]},{input:"ceil",tag:"mo",output:"ceil",tex:null,tType:Er,noTexCopy:!0,rewriteLeftRight:["\\lceil","\\rceil"]},{input:"Sin",tag:"mo",output:"sin",tex:null,tType:Er,func:!0},{input:"Cos",tag:"mo",output:"cos",tex:null,tType:Er,func:!0},{input:"Tan",tag:"mo",output:"tan",tex:null,tType:Er,func:!0},{input:"Arcsin",tag:"mo",output:"arcsin",tex:null,tType:Er,func:!0},{input:"Arccos",tag:"mo",output:"arccos",tex:null,tType:Er,func:!0},{input:"Arctan",tag:"mo",output:"arctan",tex:null,tType:Er,func:!0},{input:"Sinh",tag:"mo",output:"sinh",tex:null,tType:Er,func:!0},{input:"Sosh",tag:"mo",output:"cosh",tex:null,tType:Er,func:!0},{input:"Tanh",tag:"mo",output:"tanh",tex:null,tType:Er,func:!0},{input:"Cot",tag:"mo",output:"cot",tex:null,tType:Er,func:!0},{input:"Sec",tag:"mo",output:"sec",tex:null,tType:Er,func:!0},{input:"Csc",tag:"mo",output:"csc",tex:null,tType:Er,func:!0},{input:"Log",tag:"mo",output:"log",tex:null,tType:Er,func:!0},{input:"Ln",tag:"mo",output:"ln",tex:null,tType:Er,func:!0},{input:"Abs",tag:"mo",output:"abs",tex:null,tType:Er,noTexCopy:!0,rewriteLeftRight:["|","|"]},{input:"det",tag:"mo",output:"det",tex:null,tType:Er,func:!0},{input:"exp",tag:"mo",output:"exp",tex:null,tType:Er,func:!0},{input:"dim",tag:"mo",output:"dim",tex:null,tType:Tr},{input:"mod",tag:"mo",output:"mod",tex:"text{mod}",tType:Tr,noTexCopy:!0},{input:"gcd",tag:"mo",output:"gcd",tex:null,tType:Er,func:!0},{input:"lcm",tag:"mo",output:"lcm",tex:"text{lcm}",tType:Er,func:!0,noTexCopy:!0},{input:"lub",tag:"mo",output:"lub",tex:null,tType:Tr},{input:"glb",tag:"mo",output:"glb",tex:null,tType:Tr},{input:"min",tag:"mo",output:"min",tex:null,tType:Lr},{input:"max",tag:"mo",output:"max",tex:null,tType:Lr},{input:"uarr",tag:"mo",output:"↑",tex:"uparrow",tType:Tr},{input:"darr",tag:"mo",output:"↓",tex:"downarrow",tType:Tr},{input:"rarr",tag:"mo",output:"→",tex:"rightarrow",tType:Tr},{input:"->",tag:"mo",output:"→",tex:"to",tType:Tr},{input:">->",tag:"mo",output:"↣",tex:"rightarrowtail",tType:Tr},{input:"->>",tag:"mo",output:"↠",tex:"twoheadrightarrow",tType:Tr},{input:">->>",tag:"mo",output:"⤖",tex:"twoheadrightarrowtail",tType:Tr},{input:"|->",tag:"mo",output:"↦",tex:"mapsto",tType:Tr},{input:"larr",tag:"mo",output:"←",tex:"leftarrow",tType:Tr},{input:"harr",tag:"mo",output:"↔",tex:"leftrightarrow",tType:Tr},{input:"rArr",tag:"mo",output:"⇒",tex:"Rightarrow",tType:Tr},{input:"lArr",tag:"mo",output:"⇐",tex:"Leftarrow",tType:Tr},{input:"hArr",tag:"mo",output:"⇔",tex:"Leftrightarrow",tType:Tr},{input:"sqrt",tag:"msqrt",output:"sqrt",tex:null,tType:Er},{input:"root",tag:"mroot",output:"root",tex:null,tType:zr},{input:"frac",tag:"mfrac",output:"/",tex:null,tType:zr},{input:"/",tag:"mfrac",output:"/",tex:null,tType:Cr},{input:"stackrel",tag:"mover",output:"stackrel",tex:null,tType:zr},{input:"_",tag:"msub",output:"_",tex:null,tType:Cr},{input:"^",tag:"msup",output:"^",tex:null,tType:Cr},{input:"cancel",tag:"menclose",output:"cancel",tex:null,tType:Er},{input:"Sqrt",tag:"msqrt",output:"sqrt",tex:null,tType:Er},{input:"hat",tag:"mover",output:"^",tex:null,tType:Er,acc:!0},{input:"bar",tag:"mover",output:"¯",tex:"overline",tType:Er,acc:!0},{input:"vec",tag:"mover",output:"→",tex:null,tType:Er,acc:!0},{input:"tilde",tag:"mover",output:"~",tex:null,tType:Er,acc:!0},{input:"dot",tag:"mover",output:".",tex:null,tType:Er,acc:!0},{input:"ddot",tag:"mover",output:"..",tex:null,tType:Er,acc:!0},{input:"ul",tag:"munder",output:"̲",tex:"underline",tType:Er,acc:!0},{input:"ubrace",tag:"munder",output:"⏟",tex:"underbrace",tType:Er,acc:!0},{input:"obrace",tag:"mover",output:"⏞",tex:"overbrace",tType:Er,acc:!0},{input:"text",tag:"mtext",output:"text",tex:null,tType:Rr},{input:"mbox",tag:"mtext",output:"mbox",tex:null,tType:Rr},Ir,{input:"color",tag:"mstyle",tType:zr},{input:"bb",tag:"mstyle",atName:"mathvariant",atVal:"bold",output:"bb",tex:"mathbf",tType:Er,noTexCopy:!0},{input:"mathbf",tag:"mstyle",atName:"mathvariant",atVal:"bold",output:"mathbf",tex:null,tType:Er},{input:"sf",tag:"mstyle",atName:"mathvariant",atVal:"sans-serif",output:"sf",tex:"mathsf",tType:Er,noTexCopy:!0},{input:"mathsf",tag:"mstyle",atName:"mathvariant",atVal:"sans-serif",output:"mathsf",tex:null,tType:Er},{input:"bbb",tag:"mstyle",atName:"mathvariant",atVal:"double-struck",output:"bbb",tex:"mathbb",tType:Er,noTexCopy:!0},{input:"mathbb",tag:"mstyle",atName:"mathvariant",atVal:"double-struck",output:"mathbb",tex:null,tType:Er},{input:"cc",tag:"mstyle",atName:"mathvariant",atVal:"script",output:"cc",tex:"mathcal",tType:Er,noTexCopy:!0},{input:"mathcal",tag:"mstyle",atName:"mathvariant",atVal:"script",output:"mathcal",tex:null,tType:Er},{input:"tt",tag:"mstyle",atName:"mathvariant",atVal:"monospace",output:"tt",tex:"mathtt",tType:Er,noTexCopy:!0},{input:"mathtt",tag:"mstyle",atName:"mathvariant",atVal:"monospace",output:"mathtt",tex:null,tType:Er},{input:"fr",tag:"mstyle",atName:"mathvariant",atVal:"fraktur",output:"fr",tex:"mathfrak",tType:Er,noTexCopy:!0},{input:"mathfrak",tag:"mstyle",atName:"mathvariant",atVal:"fraktur",output:"mathfrak",tex:null,tType:Er}],Dr=Vr.filter((function(e){return e.tex&&!0!==e.noTexCopy})).map((function(e){return{input:e.tex,tag:e.tag,output:e.output,tType:e.tType,acc:e.acc||!1}}));function Fr(e,t){var n;n="\\"===e.charAt(t)&&"\\"!==e.charAt(t+1)&&" "!==e.charAt(t+1)?e.slice(t+1):e.slice(t);for(var r=0;r>1;e[o]=Mr[a];if(t=n,""!==l)return n=Vr[r].tType,Vr[r];n=Tr,a=1,o=e.slice(0,1);for(var u=!0;"0"<=o&&o<="9"&&a<=e.length;)o=e.slice(a,a+1),a++;if("."===o&&"0"<=(o=e.slice(a,a+1))&&o<="9")for(u=!1,a++;"0"<=o&&o<="9"&&a<=e.length;)o=e.slice(a,a+1),a++;return u&&a>1||a>2?(o=e.slice(0,a-1),i="mn"):(a=2,i=("A">(o=e.slice(0,1))||o>"Z")&&("a">o||o>"z")?"mo":"mi"),"-"===o&&t===Cr?(n=Cr,{input:o,tag:i,output:o,tType:Er,func:!0,val:!0}):{input:o,tag:i,output:o,tType:Tr,val:!0}}function Ur(e){if("{"===e.charAt(0)&&"}"===e.charAt(e.length-1)){var t=0,n=e.substr(1,5);"\\left"===n?"("===(n=e.charAt(6))||"["===n||"{"===n?t=7:"\\lbrace"===(n=e.substr(6,7))&&(t=13):"("!==(n=e.charAt(1))&&"["!==n||(t=2),t>0&&("\\right)}"===(n=e.substr(e.length-8))||"\\right]}"===n||"\\right.}"===n?e=(e="{"+e.substr(t)).substr(0,e.length-8)+"}":"\\rbrace}"===n&&(e=(e="{"+e.substr(t)).substr(0,e.length-14)+"}"))}return e}function Wr(e){var t="";return t="boolean"==typeof e.val&&e.val?"":"\\",e.tex?t+e.tex:t+e.input}function Yr(e,t){var n=Br(e=Fr(e,0));if(!n||n.tType===Ar&&t>0)return[null,e];switch(n.tType===Nr&&(n=Br(e=n.output+Fr(e,n.input.length))),n.tType){case Lr:case Tr:e=Fr(e,n.input.length);var r=Wr(n);return"\\"===r.charAt(0)||"mo"===n.tag?[r,e]:["{".concat(r,"}"),e];case Pr:t++;var o=Kr(e=Fr(e,n.input.length),!0,t);t--;var i=0;"\\right"===o[0].substr(0,6)&&(")"===(p=o[0].charAt(6))||"]"===p||"}"===p?i=6:"."===p?i=7:"\\rbrace"===(p=o[0].substr(6,7))&&(i=13));var a="";return i>0?(o[0]=o[0].substr(i),a=n.invisible?"{".concat(o[0],"}"):"{".concat(Wr(n)).concat(o[0],"}")):a=n.invisible?"{\\left.".concat(o[0],"}"):"{\\left".concat(Wr(n)).concat(o[0],"}"),[a,o[1]];case Rr:var l;n!==Ir&&(e=Fr(e,n.input.length)),-1===(l="{"===e.charAt(0)?e.indexOf("}"):"("===e.charAt(0)?e.indexOf(")"):"["===e.charAt(0)?e.indexOf("]"):n===Ir?e.slice(1).indexOf("'")+1:0)&&(l=e.length);var c="";return" "===(p=e.slice(1,l)).charAt(0)&&(c="\\ "),c+="\\text{".concat(p,"}")," "===p.charAt(p.length-1)&&(c+="\\ "),[c,e=Fr(e,l+1)];case Er:var s=Yr(e=Fr(e,n.input.length),t);return null===s[0]?["{".concat(Wr(n),"}"),e]:!0===n.func?"^"===(p=e.charAt(0))||"_"===p||"/"===p||"|"===p||","===p||1===n.input.length&&n.input.match(/\w/)&&"("!==p?["{".concat(Wr(n),"}"),e]:["{".concat(Wr(n),"{").concat(s[0],"}}"),s[1]]:(s[0]=Ur(s[0]),"sqrt"===n.input?["\\sqrt{".concat(s[0],"}"),s[1]]:"cancel"===n.input?["\\cancel{".concat(s[0],"}"),s[1]]:void 0!==n.rewriteLeftRight?["{\\left".concat(n.rewriteLeftRight[0]).concat(s[0],"\\right").concat(n.rewriteLeftRight[1],"}"),s[1]]:!0===n.acc?["".concat(Wr(n),"{").concat(s[0],"}"),s[1]]:["{".concat(Wr(n),"{").concat(s[0],"}}"),s[1]]);case zr:var u=Yr(e=Fr(e,n.input.length),t);if(null===u[0])return["{".concat(Wr(n),"}"),e];u[0]=Ur(u[0]);var f=Yr(u[1],t);return null===f[0]?["{".concat(Wr(n),"}"),e]:(f[0]=Ur(f[0]),["color"===n.input?"{\\color{".concat(u[0].replace(/[{}]/g,""),"}").concat(f[0],"}"):"root"===n.input?"{\\sqrt[".concat(u[0],"]{").concat(f[0],"}}"):"{".concat(Wr(n),"{").concat(u[0],"}{").concat(f[0],"}}"),f[1]]);case Cr:return e=Fr(e,n.input.length),[n.output,e];case jr:return e=Fr(e,n.input.length),["{\\quad\\text{".concat(n.input,"}\\quad}"),e];case Hr:t++;var h=Kr(e=Fr(e,n.input.length),!1,t);t--;var p="";return"|"===(p=h[0].charAt(h[0].length-1))?["{\\left|".concat(h[0],"}"),h[1]]:["{\\mid}",e];default:return e=Fr(e,n.input.length),["{".concat(Wr(n),"}"),e]}}function Gr(e,t){var n,r=Br(e=Fr(e,0)),o=Yr(e,t),i=o[0],a=Br(e=o[1]);if(a.tType!==Cr||"/"===a.input)return[i,e];if(null===(o=Yr(e=Fr(e,a.input.length),t))[0]?o[0]="{}":o[0]=Ur(o[0]),e=o[1],"_"===a.input)if("^"===(n=Br(e)).input){var l=Yr(e=Fr(e,n.input.length),t);l[0]=Ur(l[0]),e=l[1],i="{".concat(i),i+="_{".concat(o[0],"}"),i+="^{".concat(l[0],"}"),i+="}"}else i+="_{".concat(o[0],"}");else i="".concat(i,"^{").concat(o[0],"}");return void 0!==r.func&&r.func&&(n=Br(e)).tType!==Cr&&n.tType!==Ar&&(o=Gr(e,t),i="{".concat(i).concat(o[0],"}"),e=o[1]),[i,e]}function Kr(e,t,n){var r,o,i,a,l="",c=!1;do{o=(i=Gr(e=Fr(e,0),n))[0],(r=Br(e=i[1])).tType===Cr&&"/"===r.input?(null===(i=Gr(e=Fr(e,r.input.length),n))[0]?i[0]="{}":i[0]=Ur(i[0]),e=i[1],o=Ur(o),o="".concat("\\frac{").concat(o,"}"),l+=o+="{".concat(i[0],"}"),r=Br(e)):o&&(l+=o)}while((r.tType!==Ar&&(r.tType!==Hr||t)||0===n)&&r&&r.output);if(r.tType===Ar||r.tType===Hr){var s=l.length;if(s>2&&"{"===l.charAt(0)&&l.indexOf(",")>0){var u=l.charAt(s-2);if(")"===u||"]"===u){var f=l.charAt(6);if("("===f&&")"===u&&"}"!==r.output||"["===f&&"]"===u){var h="\\matrix{",p=new Array;p.push(0);var d=!0,m=0,v=[];v[0]=[0];var y=0,g=0;for(a=1;a0&&d)for(a=0;a0&&(h+="\\\\");var w=void 0;if(0===a)if(1===v[p[a]].length)w=[l.substr(p[a]+7,p[a+1]-p[a]-15)];else{for(var x=[l.substring(p[a]+7,v[p[a]][1])],_=2;_0&&w.length!==b?d=!1:-1===b&&(b=w.length),h+=w.join("&")}h+="}",d&&(l=h)}}}e=Fr(e,r.input.length),"boolean"==typeof r.invisible&&r.invisible?(l+="\\right.",c=!0):(l+=o="\\right".concat(Wr(r)),c=!0)}return n>0&&!c&&(l+="\\right."),[l,e]}function Xr(e){return(e=e.replace(/( |\u00a0| )/g,"").replace(/>/g,">").replace(/</g,"<")).match(/\S/)?Kr(e.replace(/^\s+/g,""),!1,0)[0]:""}function Jr(e){var t=e.elements,n=e.config,r=e.isAsciimath;t.length&&t.forEach((function(e){var t=e.textContent,o=r?Xr(t):t,i=a.renderToString(o,n);e.parentNode.outerHTML='').concat(i,"")}))}function Qr(e){return e.replace(/[-[\]/{}()*+?.\\$^|]/g,"\\$&")}Vr.push.apply(Vr,r(Dr)),Vr.sort((function(e,t){return e.input>t.input?1:-1})),Mr=Vr.map((function(e){return e.input}));var Zr=function(e){return function(){var t=new DOMParser,o=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return n({displayMode:!0,throwOnError:!1,errorColor:"#ff0000"},e,{delimiters:(e.delimiters||[]).concat([{left:"$$",right:"$$",display:!1},{left:"~",right:"~",display:!1,asciimath:!0}])})}(e),i=o.delimiters.filter((function(e){return e.asciimath})).map((function(e){var t=e.left,n=e.right;return{test:new RegExp("".concat(Qr(t),"(.*?)").concat(Qr(n)),"g"),replacer:function(e,r){return"".concat(t).concat(Xr(r)).concat(n)}}}));return[{type:"output",filter:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=t.parseFromString(e,"text/html").body;i.length&&n.querySelectorAll(":not(code):not(pre)").forEach((function(e){r(e.childNodes).filter((function(e){return"#text"===e.nodeName&&e.nodeValue.trim()})).forEach((function(e){var t=i.reduce((function(e,t){var n=t.test,r=t.replacer;return e.replace(n,r)}),e.nodeValue);e.nodeValue=t}))}));var a=n.querySelectorAll("code.latex.language-latex"),l=n.querySelectorAll("code.asciimath.language-asciimath");return Jr({elements:a,config:o}),Jr({elements:l,config:o,isAsciimath:!0}),Or(n,o),n.innerHTML}}]}};return e.extension("showdown-katex",Zr()),Zr},e.exports=r(n("M55E"))}).call(this,n("yLpj"))},Blpk:function(e,t,n){"use strict";var r=n("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n("pVnL")),i=r(n("MVZn")),a=r(n("QILm")),l=r(n("cWOT")),c=r(n("lwsE")),s=r(n("W8MJ")),u=r(n("a1gu")),f=r(n("7W2i")),h=r(n("PJYZ")),p=r(n("q1tI")),d=(r(n("17x9")),r(n("S3Uj"))),m=n("8jD+"),v=r(n("PfIm")),y=n("foiH"),g={entering:{opacity:1},entered:{opacity:1}},b=function(e){function t(){var e,n,r;(0,c.default)(this,t);for(var o=arguments.length,i=new Array(o),a=0;a>>>>",o),(0,a.fetchStaticList)(e,o).then((function(e){var n=e.data;0===n.status&&t({type:i.default.GET_STATIC_INFO,other_info:n.data.other_info,payload:n.data})}))}},t.changeParams=function(e){return{type:i.default.CHANGE_STATIC_PARAMS,payload:e}},t.initTotal=function(){return{type:i.default.CHANGE_STATIC_TOTAL}}},CEcq:function(e,t,n){"use strict";"undefined"==typeof Promise&&(n("crqt").enable(),window.Promise=n("yiUt")),n("bZMm"),Object.assign=n("MgzW")},CFxG:function(e,t,n){"use strict";var r=n("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=r(n("pVnL")),i=r(n("QILm")),a=r(n("q1tI")),l=(r(n("17x9")),r(n("TSYQ"))),c=r(n("d05B")),s=n("IeMT");n("ZntQ");var u=function(e){return{root:{display:"flex",alignItems:"center",justifyContent:"flex-end",flex:"0 0 auto",margin:"".concat(e.spacing.unit,"px ").concat(e.spacing.unit/2,"px")},action:{margin:"0 ".concat(e.spacing.unit/2,"px"),minWidth:64}}};function f(e){var t=e.disableActionSpacing,n=e.children,r=e.classes,c=e.className,u=(0,i.default)(e,["disableActionSpacing","children","classes","className"]);return a.default.createElement("div",(0,o.default)({className:(0,l.default)(r.root,c)},u),t?n:(0,s.cloneChildrenWithClassName)(n,r.action))}t.styles=u,f.propTypes={},f.defaultProps={disableActionSpacing:!1};var h=(0,c.default)(u,{name:"MuiDialogActions"})(f);t.default=h},CWQg:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o}));var r=function(){for(var e=arguments.length,t=new Array(e),n=0;n去注册').show():p("#pass_name_input").next().find("p").html("该邮箱尚未绑定,你可以登录后去绑定").show();else{if(p("#pass_name_input").next().find("p").hide(),6==t)p("#send_code_notice").html(n.msg).show();else{var r=window.gotoEmail(n.link);p("#send_code_notice").html("验证码已经发送到您的邮箱,去查收").show()}!function e(t){if(0==d)return p(t).addClass("btn_orange_bg"),t.removeAttribute("disabled"),t.innerHTML="获取验证码",void(d=60);p(t).removeClass("btn_orange_bg"),t.setAttribute("disabled","disabled"),t.innerHTML=d+"s后重试",d--,setTimeout((function(){e(t)}),1e3)}(e)}}))}}var v=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(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,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.enter=function(e){n.setState({login:e,speedy:1,dialogBox:"dialogBox"})},n.register=function(e){n.setState({login:1,speedy:e,dialogBox:"dialogBox2"})},n.inputOnBlur=function(e,t){n.Emailphonenumberverification(e.target.value,1)},n.loginChange=function(e){var t="";e.target.value.length>0?t=e.target.value.replace(/\s*/g,""):t=e.target.value;e.target.value.length,n.setState({loginValue:t,Phonenumberisnotco:void 0})},n.Emailphonenumberverification=function(e,t){c.default.get("/accounts/valid_email_and_phone.json",{params:{login:e,type:1}}).then((function(e){if(e)return-2===e.data.status?void("该手机号码或邮箱已被注册"===e.data.message?n.setState({Phonenumberisnotco:void 0,Phonenumberisnotcobool:!1}):n.setState({Phonenumberisnotco:e.data.message,Phonenumberisnotcobool:!0})):void n.setState({Phonenumberisnotco:void 0,Phonenumberisnotcobool:!1})})).catch((function(e){}))},n.passwordChange=function(){var e=n.refs.passwordText.value,t=e.length;n.setState({disabled:!1}),n.setState({bottonclass:"log-botton mt5 edu-back-blue"}),0==t&&(n.setState({bottonclass:"log-botton mt5"}),n.setState({disabled:!0})),n.setState({passValue:e})},n.handleInputChange=function(e){var t=e.target,r="checkbox"===t.type?t.checked:t.value,o=t.name;n.setState(function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},o,r)),!0===r?n.setState({isGoingValue:1}):n.setState({isGoingValue:0})},n.shortcutIdChange=function(){var e=n.refs.shortcutText.value;if(e.length>0){if(!(/^(\w-*\.*)+@(\w-?)+(\.\w{2,})+$/.test(e)||/^1\d{10}$/.test(e)||/^[a-zA-z]\w{3,14}$/.test(e)))return n.setState({shortcutnum:0}),n.setState({disabledType:!0}),void n.setState({gaincode:"gain-code"});n.setState({gaincode:"gain-code edu-back-blue"}),n.setState({shortcutValue:e}),n.setState({shortcutnum:1}),n.setState({disabledType:!1})}else n.setState({shortcutValue:e})},n.authCodeChange=function(){var e=n.refs.authCodeText.value.length;e>3?(n.setState({authCodeType:!1}),n.setState({authCodeclass:"log-botton mt5 edu-back-blue"})):0==e&&(n.setState({authCodeType:!0}),n.setState({authCodeclass:"log-botton mt5"}))},n.get_login_verification_code=function(){m(p("#get_verification_code")[0])},n.dragWrapper=function(){var e=window.$;e.fn.drag=function(t){var n,r=this,o=!1,i=(t=e.extend({},t),r.find(".handler")),a=r.find(".drag_bg"),l=r.find(".drag_text"),c=100;i.mousedown((function(e){o=!0,n=e.pageX-parseInt(i.css("left"),10),c=r.width()-i.width()-2})),e(document).mousemove((function(t){var r=t.pageX-n;o&&(r>0&&r<=c?(i.css({left:r}),a.css({width:r})):r>c&&(i.removeClass("handler_bg").addClass("handler_ok_bg"),l.removeClass("slidetounlock").text("验证通过").css({color:"#fff"}),i.css({left:c}),a.css({width:c}),i.unbind("mousedown"),e(document).unbind("mousemove"),e(document).unbind("mouseup")))})).mouseup((function(e){o=!1,e.pageX-n0){n=!1;break}return n},n.handleDialogClose=function(){n.setState({isRender:!1}),n.props.Modifyloginvalue()},n.loginEDU=function(){var e=n.state,t=e.loginValue,o=e.passValue,i=e.regular,l=e.isGoingValue;if(1!==i){var s=t.replace(/(^\s*)|(\s*$)/g,""),f=o.replace(/(^\s*)|(\s*$)/g,"");c.default.post("/accounts/login.json",{login:s,password:f,autologin:l}).then((function(e){if(void 0!==e)if(-2===e.data.status)if("登录密码出错已达上限,账号已被锁定, 请10分钟后重新登录或找回密码"===e.data.message){var t=a.default.createElement("div",null,a.default.createElement("p",null,"登录密码出错已达上限,账号已被锁定;"),a.default.createElement("p",{className:"mt10"},"请10分钟后重新登录或",a.default.createElement("a",{href:"/resetPassword",style:{textDecoration:"underline",color:"#4CACFF"}},"找回密码")));n.openNotifications(t)}else r.default.open({message:"提示",description:e.data.message,duration:5});else(0,u.broadcastChannelPostMessage)("refreshPage"),n.setState({isRender:!1}),n.props.Modifyloginvalue(e.data),n.props.gopage?window.location.href=n.props.gopage:window.location.reload()})).catch((function(e){console.log(e)}))}},n.setNotcompleteds=function(){n.setState({Notcompleteds:!0,MyEduCoderModals:!1})},n.setMyEduCoderModals=function(){n.setState({MyEduCoderModals:!0})},n.onKeydowns=function(e){!1===n.state.disabled&&13===e.keyCode&&n.loginEDU()},n.getloginurl=function(e){window.location.href=e},n.openNotifications=function(e){r.default.open({message:"提示",description:e,duration:5,onClick:function(){}})},n.openqqlogin=function(){n.setState({qqlogin:!0}),window.location.href="https://graph.qq.com/oauth2.0/show?which=Login&display=pc&client_id=101508858&redirect_uri=https%3a%2f%2fwww.educoder.net%2fotherloginqq&state=null,"+window.location.host+"&response_type=code"},n.openphoneqqlogin=function(){window.open("https://xui.ptlogin2.qq.com/cgi-bin/xlogin?appid=716027609&pt_3rd_aid=101508858&daid=383&pt_skey_valid=0&style=35&s_url=http%3A%2F%2Fconnect.qq.com&refer_cgi=authorize&which=&client_id=101508858&response_type=code&scope=get_user_info&redirect_uri=https%3a%2f%2fwww.educoder.net%2fotherloginqq&state=null,"+window.location.host+"&response_type=code")},n.getTContainer=function(){return document.body},n.hideweixinlogin=function(){n.setState({weixinlogin:!1,qqlogin:!1})},n.state={open:!0,login:0,speedy:1,regular:0,loginValue:"",passValue:"",isGoing:!0,isGoingValue:1,disabled:!0,bottonclass:"log-botton mt5",dialogBox:"dialogBox",shortcutValue:"",shortcutnum:1,disabledType:!0,gaincode:"gain-code",authCodeType:!0,authCodeclass:"log-botton mt5",isRender:!1,MyEduCoderModals:!1,Phonenumberisnotco:void 0,Phonenumberisnotcobool:!1,weixinlogin:!1,qqlogin:!1,settings:void 0},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"componentWillReceiveProps",value:function(e){this.setState({isRender:e.isRender})}},{key:"componentDidMount",value:function(){var e=this,t=this.IsPC();this.setState({isphone:t,settings:JSON.parse(localStorage.getItem("chromesetting"))}),null!=this.props.isRender&&this.setState({isRender:this.props.isRender}),this.dragWrapper(),c.default.interceptors.response.use((function(t){return null!=t&&t&&401===t.data.status&&(document.title="提示",e.setState({isRender:!0})),t}),(function(e){}))}},{key:"render",value:function(){var e=this,t=this.state,n=t.login,r=t.isGoing,o=t.isGoingValue,i=t.disabled,c=t.Phonenumberisnotco,u=t.dialogBox,h=t.isRender,p=t.weixinlogin,d=t.settings;return void 0===h&&(h=!1),a.default.createElement(l.default,{open:!0,id:"DialogID",className:"zindextest",style:{display:!1===h?"none":""},disableEscapeKeyDown:!0,disableBackdropClick:!0,onClose:function(){return e.handleDialogClose()}},a.default.createElement(f.default,{modalsType:this.state.MyEduCoderModals,setNotcompleteds:function(){e.setNotcompleteds()}}),a.default.createElement("style",null,"\n\t\t\t\t\t\t #DialogID .dialogBox {\n\t\t\t\t\t\t\t\t\twidth: 405px !important;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t.dialogBox {\n\t\t\t\t\t\t\t\t\theight: 290px !important;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t"),!0===h?a.default.createElement("div",{className:u},a.default.createElement("div",{id:"closeIcon",className:"logincloseIcon",onClick:function(){e.handleDialogClose()}},a.default.createElement("i",{className:"iconfont icon-shanchudiao"})),a.default.createElement("div",{id:"log_reg_content"},!0===p?"":a.default.createElement("ul",{className:"log_nav clearfix"},a.default.createElement("li",{onClick:function(){e.enter(0)}},"登录")),a.default.createElement("div",{className:"login-panel",id:"login-panel-1",style:{display:0==n?"block":"none"}},a.default.createElement("form",{acceptCharset:"UTF-8",action:"/login",id:"main_login_form",method:"post"},a.default.createElement("div",{style:{display:"inline",padding:"0",margin:"0"}},a.default.createElement("input",{name:"utf8",type:"hidden",value:"✓"}),a.default.createElement("input",{name:"authenticity_token",type:"hidden",value:"NVLiIlHZfhVBQtO9djnWncJqqdikNQIIxEmOvzK9vNM="})),a.default.createElement("input",{name:"back_url",type:"hidden",value:this.back_url}),a.default.createElement("input",{type:"text",className:"input-100-45 mt20",id:"name_loggin_input",ref:"loginPassText",onInput:this.loginChange,onBlur:function(t){return e.inputOnBlur(t,1)},onPressEnter:!1===i?this.loginEDU:function(){},value:this.state.loginValue,name:"username",placeholder:"请输入邮箱地址/用户名"}),a.default.createElement("div",{style:{height:"25px"}},a.default.createElement("p",{className:"color-orange edu-txt-left none",id:"username_error_notice",style:{display:void 0===c?"none":"block"}},c)),a.default.createElement("div",null,a.default.createElement("input",{type:"password",id:"password_loggin_input",name:"password",ref:"passwordText",onInput:this.passwordChange,onKeyDown:this.onKeydowns,className:"input-100-45 mt5",onPressEnter:!1===i?this.loginEDU:function(){},placeholder:"请输入登录密码"}),a.default.createElement("div",{style:{height:"25px"}},a.default.createElement("p",{className:"color-orange edu-txt-left none",id:"password_error_notice"},"请输入密码"))),a.default.createElement("div",{className:!1===i?"bluebutton edu-back-blue":"bluebutton",onClick:!1===i?this.loginEDU:function(){}},"登录"),a.default.createElement("p",{className:"clearfix mt20"},a.default.createElement("span",{className:"fl"},a.default.createElement("input",{type:"checkbox",className:"mr5 magic-checkbox",checked:r,onChange:this.handleInputChange,value:o,name:"isGoing",id:"p_autolog"}),a.default.createElement("label",{htmlFor:"p_autolog",style:{top:"0px"}},"下次自动登录")),a.default.createElement("span",{className:"fr"},a.default.createElement("a",{href:"/resetPassword",className:"mr3 color-grey-9"},"找回密码"),a.default.createElement("em",{className:"vertical-line"}),a.default.createElement("a",{href:"/register",className:"color-grey-9"},"注册"))),d&&d.third_party&&d.third_party.length>0?a.default.createElement("p",{className:"clearfix mt20"},a.default.createElement("span",{className:"startlogin"},"———————— 快速登录 ————————"),a.default.createElement("div",{className:"mt10"},d.third_party.map((function(e,t){return a.default.createElement("a",{href:""+e.url},a.default.createElement("img",{src:"educoder"===e.name?s.default:"",width:"46px",alt:e.name+"登录"}))})))):"")))):"")}}]),t}(i.Component);t.default=v},CX2u:function(e,t,n){"use strict";var r=n("XKFU"),o=n("g3g5"),i=n("dyZX"),a=n("69bn"),l=n("vKrd");r(r.P+r.R,"Promise",{finally:function(e){var t=a(this,o.Promise||i.Promise),n="function"==typeof e;return this.then(n?function(n){return l(t,e()).then((function(){return n}))}:e,n?function(n){return l(t,e()).then((function(){throw n}))}:e)}})},CarK:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return{onProcessRule:function(e){"keyframes"===e.type&&(e.key="@"+r.prefix.css+e.key.substr(1))},onProcessStyle:function(e,t){if("style"!==t.type)return e;for(var n in e){var o=e[n],i=!1,a=r.supportedProperty(n);a&&a!==n&&(i=!0);var l=!1,c=r.supportedValue(a,o);c&&c!==o&&(l=!0),(i||l)&&(i&&delete e[n],e[a||n]=c||o)}return e},onChangeValue:function(e,t){return r.supportedValue(t,e)}}};var r=function(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("YYyC"))},CeCd:function(e,t,n){var r=n("XKFU");r(r.S,"Math",{clamp:function(e,t,n){return Math.min(n,Math.max(t,e))}})},Cfrj:function(e,t,n){var r=n("RYi7"),o=n("ne8i");e.exports=function(e){if(void 0===e)return 0;var t=r(e),n=o(t);if(t!==n)throw RangeError("Wrong length!");return n}},CgaS:function(e,t,n){"use strict";var r=n("JEQr"),o=n("xTJ+"),i=n("9rSQ"),a=n("UnBK");function l(e){this.defaults=e,this.interceptors={request:new i,response:new i}}l.prototype.request=function(e){"string"==typeof e&&(e=o.merge({url:arguments[0]},arguments[1])),(e=o.merge(r,{method:"get"},this.defaults,e)).method=e.method.toLowerCase();var t=[a,void 0],n=Promise.resolve(e);for(this.interceptors.request.forEach((function(e){t.unshift(e.fulfilled,e.rejected)})),this.interceptors.response.forEach((function(e){t.push(e.fulfilled,e.rejected)}));t.length;)n=n.then(t.shift(),t.shift());return n},o.forEach(["delete","get","head","options"],(function(e){l.prototype[e]=function(t,n){return this.request(o.merge(n||{},{method:e,url:t}))}})),o.forEach(["post","put","patch"],(function(e){l.prototype[e]=function(t,n,r){return this.request(o.merge(r||{},{method:e,url:t,data:n}))}})),e.exports=l},CkkT:function(e,t,n){var r=n("m0Pp"),o=n("Ymqv"),i=n("S/j/"),a=n("ne8i"),l=n("zRwo");e.exports=function(e,t){var n=1==e,c=2==e,s=3==e,u=4==e,f=6==e,h=5==e||f,p=t||l;return function(t,l,d){for(var m,v,y=i(t),g=o(y),b=r(l,d,3),w=a(g.length),x=0,_=n?p(t,w):c?p(t,0):void 0;w>x;x++)if((h||x in g)&&(v=b(m=g[x],x,y),e))if(n)_[x]=v;else if(v)switch(e){case 3:return!0;case 5:return m;case 6:return x;case 2:_.push(m)}else if(u)return!1;return f?-1:s||u?u:_}}},CnBM:function(e,t,n){"use strict";var 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};function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(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 a(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 l=n("q1tI"),c=n("17x9"),s=[],u=[];function f(e){var t=e(),n={loading:!0,loaded:null,error:null};return n.promise=t.then((function(e){return n.loading=!1,n.loaded=e,e})).catch((function(e){throw n.loading=!1,n.error=e,e})),n}function h(e){var t={loading:!1,loaded:{},error:null},n=[];try{Object.keys(e).forEach((function(r){var o=f(e[r]);o.loading?t.loading=!0:(t.loaded[r]=o.loaded,t.error=o.error),n.push(o.promise),o.promise.then((function(e){t.loaded[r]=e})).catch((function(e){t.error=e}))}))}catch(e){t.error=e}return t.promise=Promise.all(n).then((function(e){return t.loading=!1,e})).catch((function(e){throw t.loading=!1,e})),t}function p(e,t){return l.createElement((n=e)&&n.__esModule?n.default:n,t);var n}function d(e,t){var f,h;if(!t.loading)throw new Error("react-loadable requires a `loading` component");var d=Object.assign({loader:null,loading:null,delay:200,timeout:null,render:p,webpack:null,modules:null},t),m=null;function v(){return m||(m=e(d.loader)),m.promise}return s.push(v),"function"==typeof d.webpack&&u.push((function(){if(e=d.webpack,"object"===r(n.m)&&e().every((function(e){return void 0!==e&&void 0!==n.m[e]})))return v();var e})),h=f=function(t){function n(r){o(this,n);var a=i(this,t.call(this,r));return a.retry=function(){a.setState({error:null,loading:!0,timedOut:!1}),m=e(d.loader),a._loadModule()},v(),a.state={error:m.error,pastDelay:!1,timedOut:!1,loading:m.loading,loaded:m.loaded},a}return a(n,t),n.preload=function(){return v()},n.prototype.componentWillMount=function(){this._mounted=!0,this._loadModule()},n.prototype._loadModule=function(){var e=this;if(this.context.loadable&&Array.isArray(d.modules)&&d.modules.forEach((function(t){e.context.loadable.report(t)})),m.loading){"number"==typeof d.delay&&(0===d.delay?this.setState({pastDelay:!0}):this._delay=setTimeout((function(){e.setState({pastDelay:!0})}),d.delay)),"number"==typeof d.timeout&&(this._timeout=setTimeout((function(){e.setState({timedOut:!0})}),d.timeout));var t=function(){e._mounted&&(e.setState({error:m.error,loaded:m.loaded,loading:m.loading}),e._clearTimeouts())};m.promise.then((function(){t()})).catch((function(e){t()}))}},n.prototype.componentWillUnmount=function(){this._mounted=!1,this._clearTimeouts()},n.prototype._clearTimeouts=function(){clearTimeout(this._delay),clearTimeout(this._timeout)},n.prototype.render=function(){return this.state.loading||this.state.error?l.createElement(d.loading,{isLoading:this.state.loading,pastDelay:this.state.pastDelay,timedOut:this.state.timedOut,error:this.state.error,retry:this.retry}):this.state.loaded?d.render(this.state.loaded,this.props):null},n}(l.Component),f.contextTypes={loadable:c.shape({report:c.func.isRequired})},h}function m(e){return d(f,e)}m.Map=function(e){if("function"!=typeof e.render)throw new Error("LoadableMap requires a `render(loaded, props)` function");return d(h,e)};var v=function(e){function t(){return o(this,t),i(this,e.apply(this,arguments))}return a(t,e),t.prototype.getChildContext=function(){return{loadable:{report:this.props.report}}},t.prototype.render=function(){return l.Children.only(this.props.children)},t}(l.Component);function y(e){for(var t=[];e.length;){var n=e.pop();t.push(n())}return Promise.all(t).then((function(){if(e.length)return y(e)}))}v.propTypes={report:c.func.isRequired},v.childContextTypes={loadable:c.shape({report:c.func.isRequired}).isRequired},m.Capture=v,m.preloadAll=function(){return new Promise((function(e,t){y(s).then(e,t)}))},m.preloadReady=function(){return new Promise((function(e,t){y(u).then(e,e)}))},e.exports=m},CnV9:function(e,t,n){e.exports=n("RU/L")},CrYA:function(e,t,n){var r=n("MFOe").Global;function o(){return r.sessionStorage}function i(e){return o().getItem(e)}e.exports={name:"sessionStorage",read:i,write:function(e,t){return o().setItem(e,t)},each:function(e){for(var t=o().length-1;t>=0;t--){var n=o().key(t);e(i(n),n)}},remove:function(e){return o().removeItem(e)},clearAll:function(){return o().clear()}}},CtXQ:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n("TSYQ"),i=n.n(o),a=n("Optq"),l=n("YEIV"),c=n.n(l),s=n("QbLZ"),u=n.n(s),f=n("jo6Y"),h=n.n(f),p=n("iCc5"),d=n.n(p),m=n("V7oC"),v=n.n(m),y=n("FYw3"),g=n.n(y),b=n("mRg0"),w=n.n(b),x=n("bac3"),_={primaryColor:"#333",secondaryColor:"#E6E6E6"},k=function(e){function t(){return d()(this,t),g()(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return w()(t,e),v()(t,[{key:"render",value:function(){var e,n=this.props,r=n.type,o=n.className,i=n.onClick,a=n.style,l=n.primaryColor,s=n.secondaryColor,f=h()(n,["type","className","onClick","style","primaryColor","secondaryColor"]),p=void 0,d=_;if(l&&(d={primaryColor:l,secondaryColor:s||Object(x.c)(l)}),Object(x.d)(r))p=r;else if("string"==typeof r&&!(p=t.get(r,d)))return null;return p?(p&&"function"==typeof p.icon&&(p=u()({},p,{icon:p.icon(d.primaryColor,d.secondaryColor)})),Object(x.b)(p.icon,"svg-"+p.name,u()((e={className:o,onClick:i,style:a},c()(e,"data-icon",p.name),c()(e,"width","1em"),c()(e,"height","1em"),c()(e,"fill","currentColor"),c()(e,"aria-hidden","true"),c()(e,"focusable","false"),e),f))):(Object(x.e)("type should be string or icon definiton, but got "+r),null)}}],[{key:"add",value:function(){for(var e=this,t=arguments.length,n=Array(t),r=0;r1&&void 0!==arguments[1]?arguments[1]:_;if(e){var n=this.definitions.get(e);return n&&"function"==typeof n.icon&&(n=u()({},n,{icon:n.icon(t.primaryColor,t.secondaryColor)})),n}}},{key:"setTwoToneColors",value:function(e){var t=e.primaryColor,n=e.secondaryColor;_.primaryColor=t,_.secondaryColor=n||Object(x.c)(t)}},{key:"getTwoToneColors",value:function(){return u()({},_)}}]),t}(r.Component);k.displayName="IconReact",k.definitions=new x.a;var S=k;function O(){return(O=Object.assign||function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&void 0!==arguments[0]?arguments[0]:{},t=e.scriptUrl,n=e.extraCommonProps,o=void 0===n?{}:n;if("undefined"!=typeof document&&"undefined"!=typeof window&&"function"==typeof document.createElement&&"string"==typeof t&&t.length&&!T.has(t)){var i=document.createElement("script");i.setAttribute("src",t),i.setAttribute("data-namespace",t),T.add(t),document.body.appendChild(i)}var a=function(e){var t=e.type,n=e.children,i=M(e,["type","children"]),a=null;return e.type&&(a=r.createElement("use",{xlinkHref:"#".concat(t)})),n&&(a=n),r.createElement(B,O({},o,i),a)};return a.displayName="Iconfont",a},q.getTwoToneColor=function(){return S.getTwoToneColors().primaryColor},q.setTwoToneColor=L;var B=t.default=q},CyHz:function(e,t,n){var r=n("XKFU");r(r.S,"Math",{sign:n("lvtm")})},D1Df:function(e,t,n){"use strict";function r(e){return(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})(e)}function o(){return(o=Object.assign||function(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n>6),t+=String.fromCharCode(128|63&r)):r<55296||r>=57344?(t+=String.fromCharCode(224|r>>12),t+=String.fromCharCode(128|r>>6&63),t+=String.fromCharCode(128|63&r)):(n++,r=65536+((1023&r)<<10|1023&e.charCodeAt(n)),t+=String.fromCharCode(240|r>>18),t+=String.fromCharCode(128|r>>12&63),t+=String.fromCharCode(128|r>>6&63),t+=String.fromCharCode(128|63&r))}return t}var x={size:128,level:"L",bgColor:"#FFFFFF",fgColor:"#000000",includeMargin:!1};function _(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=[];return e.forEach((function(e,r){var o=null;e.forEach((function(i,a){if(!i&&null!==o)return n.push("M".concat(o+t," ").concat(r+t,"h").concat(a-o,"v1H").concat(o+t,"z")),void(o=null);if(a!==e.length-1)i&&null===o&&(o=a);else{if(!i)return;null===o?n.push("M".concat(a+t,",").concat(r+t," h1v1H").concat(a+t,"z")):n.push("M".concat(o+t,",").concat(r+t," h").concat(a+1-o,"v1H").concat(o+t,"z"))}}))})),n.join("")}function k(e,t){return e.slice().map((function(e,n){return n=t.y+t.h?e:e.map((function(e,n){return(n=t.x+t.w)&&e}))}))}function S(e,t){var n=e.imageSettings,r=e.size,o=e.includeMargin;if(null==n)return null;var i=o?4:0,a=t.length+2*i,l=Math.floor(.1*r),c=a/r,s=(n.width||l)*c,u=(n.height||l)*c,f=null==n.x?t.length/2-s/2:n.x*c,h=null==n.y?t.length/2-u/2:n.y*c,p=null;if(n.excavate){var d=Math.floor(f),m=Math.floor(h);p={x:d,y:m,w:Math.ceil(s+f-d),h:Math.ceil(u+h-m)}}return{x:f,y:h,h:u,w:s,excavation:p}}var O=function(){try{(new Path2D).addPath(new Path2D)}catch(e){return!1}return!0}(),M=function(e){function t(){var e,n;c(this,t);for(var r=arguments.length,o=new Array(r),i=0;i0;(h||!1===e.isLeaf)&&(u+=" "+r+"-menu-item-expand",e.loading||(f=o.a.createElement("span",{className:r+"-menu-item-expand-icon"},a))),"hover"!==i||!h&&!1!==e.isLeaf||(s={onMouseEnter:this.delayOnSelect.bind(this,c),onMouseLeave:this.delayOnSelect.bind(this),onClick:c}),this.isActiveOption(e,t)&&(u+=" "+r+"-menu-item-active",s.ref=this.saveMenuItem(t)),e.disabled&&(u+=" "+r+"-menu-item-disabled");var p=null;e.loading&&(u+=" "+r+"-menu-item-loading",p=l||null);var d="";return"title"in e?d=e.title:"string"==typeof e[this.getFieldName("label")]&&(d=e[this.getFieldName("label")]),o.a.createElement("li",y({key:e[this.getFieldName("value")],className:u,title:d},s,{role:"menuitem",onMouseDown:function(e){return e.preventDefault()}}),e[this.getFieldName("label")],f,p)}},{key:"getActiveOptions",value:function(e){var t=this,n=e||this.props.activeValue,r=this.props.options;return h()(r,(function(e,r){return e[t.getFieldName("value")]===n[r]}),{childrenKeyName:this.getFieldName("children")})}},{key:"getShowOptions",value:function(){var e=this,t=this.props.options,n=this.getActiveOptions().map((function(t){return t[e.getFieldName("children")]})).filter((function(e){return!!e}));return n.unshift(t),n}},{key:"delayOnSelect",value:function(e){for(var t=this,n=arguments.length,r=Array(n>1?n-1:0),o=1;o=i.length?0:l:(l-=1)<0?i.length-1:l:0,r[o]=i[l][n.getFieldName("value")]}else if(e.keyCode===u.a.LEFT||e.keyCode===u.a.BACKSPACE)e.preventDefault(),r.splice(r.length-1,1);else if(e.keyCode===u.a.RIGHT)e.preventDefault(),i[a]&&i[a][n.getFieldName("children")]&&r.push(i[a][n.getFieldName("children")][0][n.getFieldName("value")]);else if(e.keyCode===u.a.ESC||e.keyCode===u.a.TAB)return void n.setPopupVisible(!1);r&&0!==r.length||n.setPopupVisible(!1);var c=n.getActiveOptions(r),s=c[c.length-1];n.handleMenuSelect(s,c.length-1,e),n.props.onKeyDown&&n.props.onKeyDown(e)}else n.setPopupVisible(!0)}},n.saveTrigger=function(e){n.trigger=e};var r=[];return"value"in e?r=e.value||[]:"defaultValue"in e&&(r=e.defaultValue||[]),s()(!("filedNames"in e),"`filedNames` of Cascader is a typo usage and deprecated, please use `fieldNames` instead."),n.state={popupVisible:e.popupVisible,activeValue:r,value:r,prevProps:e},n.defaultFieldNames={label:"label",value:"value",children:"children"},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),_(t,[{key:"getPopupDOMNode",value:function(){return this.trigger.getPopupDomNode()}},{key:"getFieldName",value:function(e){var t=this.defaultFieldNames,n=this.props,r=n.fieldNames,o=n.filedNames;return"filedNames"in this.props?o[e]||t[e]:r[e]||t[e]}},{key:"getFieldNames",value:function(){var e=this.props,t=e.fieldNames,n=e.filedNames;return"filedNames"in this.props?n:t}},{key:"getCurrentLevelOptions",value:function(){var e=this,t=this.props.options,n=void 0===t?[]:t,r=this.state.activeValue,o=void 0===r?[]:r,i=h()(n,(function(t,n){return t[e.getFieldName("value")]===o[n]}),{childrenKeyName:this.getFieldName("children")});return i[i.length-2]?i[i.length-2][this.getFieldName("children")]:[].concat(k(n)).filter((function(e){return!e.disabled}))}},{key:"getActiveOptions",value:function(e){var t=this;return h()(this.props.options||[],(function(n,r){return n[t.getFieldName("value")]===e[r]}),{childrenKeyName:this.getFieldName("children")})}},{key:"render",value:function(){var e=this.props,t=e.prefixCls,n=e.transitionName,i=e.popupClassName,a=e.options,c=void 0===a?[]:a,s=e.disabled,u=e.builtinPlacements,f=e.popupPlacement,h=e.children,p=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["prefixCls","transitionName","popupClassName","options","disabled","builtinPlacements","popupPlacement","children"]),d=o.a.createElement("div",null),m="";return c&&c.length>0?d=o.a.createElement(w,x({},this.props,{fieldNames:this.getFieldNames(),defaultFieldNames:this.defaultFieldNames,activeValue:this.state.activeValue,onSelect:this.handleMenuSelect,onItemDoubleClick:this.handleItemDoubleClick,visible:this.state.popupVisible})):m=" "+t+"-menus-empty",o.a.createElement(l.a,x({ref:this.saveTrigger},p,{options:c,disabled:s,popupPlacement:f,builtinPlacements:u,popupTransitionName:n,action:s?[]:["click"],popupVisible:!s&&this.state.popupVisible,onPopupVisibleChange:this.handlePopupVisibleChange,prefixCls:t+"-menus",popupClassName:i+m,popup:d}),Object(r.cloneElement)(h,{onKeyDown:this.handleKeyDown,tabIndex:s?void 0:0}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps,r=void 0===n?{}:n,o={prevProps:e};return"value"in e&&!d()(r.value,e.value)&&(o.value=e.value||[],"loadData"in e||(o.activeValue=e.value||[])),"popupVisible"in e&&(o.popupVisible=e.popupVisible),o}}]),t}(r.Component);S.defaultProps={onChange:function(){},onPopupVisibleChange:function(){},disabled:!1,transitionName:"",prefixCls:"rc-cascader",popupClassName:"",popupPlacement:"bottomLeft",builtinPlacements:{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:1,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:1,adjustY:1}}},expandTrigger:"click",fieldNames:{label:"label",value:"value",children:"children"},expandIcon:">"},S.propTypes={value:a.a.array,defaultValue:a.a.array,options:a.a.array.isRequired,onChange:a.a.func,onPopupVisibleChange:a.a.func,popupVisible:a.a.bool,disabled:a.a.bool,transitionName:a.a.string,popupClassName:a.a.string,popupPlacement:a.a.string,prefixCls:a.a.string,dropdownMenuColumnStyle:a.a.object,builtinPlacements:a.a.object,loadData:a.a.func,changeOnSelect:a.a.bool,children:a.a.node,onKeyDown:a.a.func,expandTrigger:a.a.string,fieldNames:a.a.object,filedNames:a.a.object,expandIcon:a.a.node,loadingIcon:a.a.node},Object(m.polyfill)(S);var O=S,M=n("TSYQ"),T=n.n(M),E=n("BGR+"),z=n("5rEg"),C=n("CtXQ"),P=n("H84U"),A=n("YMnH"),j=n("6CfX");function L(e){return(L="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function N(){return(N=Object.assign||function(e){for(var t=1;t-1}))}function W(e,t,n,o){return t.map((function(t,i){var a=t[o.label],l=a.indexOf(e)>-1?function(e,t,n){return e.split(t).map((function(e,o){return 0===o?e:[r.createElement("span",{className:"".concat(n,"-menu-item-keyword"),key:"seperator"},t),e]}))}(a,e,n):a;return 0===i?l:[" / ",l]}))}function Y(e,t,n,r){function o(e){return e[r.label].indexOf(n)>-1}return e.findIndex(o)-t.findIndex(o)}function G(e){var t=function(e){var t=e.fieldNames,n=e.filedNames;return"filedNames"in e?n:t}(e)||{};return{children:t.children||"children",label:t.label||"label",value:t.value||"value"}}function K(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=G(t),o=[],i=r.children;return e.forEach((function(e){var r=n.concat(e);!t.changeOnSelect&&e[i]&&e[i].length||o.push(r),e[i]&&(o=o.concat(K(e[i],t,r)))})),o}var X=function(e){return e.join(" / ")};var J=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&I(e,t)}(a,e);var t,n,o,i=V(a);function a(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),(t=i.call(this,e)).cachedOptions=[],t.setValue=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];"value"in t.props||t.setState({value:e});var r=t.props.onChange;r&&r(e,n)},t.saveInput=function(e){t.input=e},t.handleChange=function(e,n){if(t.setState({inputValue:""}),n[0].__IS_FILTERED_OPTION){var r=e[0],o=n[0].path;t.setValue(r,o)}else t.setValue(e,n)},t.handlePopupVisibleChange=function(e){"popupVisible"in t.props||t.setState((function(t){return{popupVisible:e,inputFocused:e,inputValue:e?t.inputValue:""}}));var n=t.props.onPopupVisibleChange;n&&n(e)},t.handleInputBlur=function(){t.setState({inputFocused:!1})},t.handleInputClick=function(e){var n=t.state,r=n.inputFocused,o=n.popupVisible;(r||o)&&(e.stopPropagation(),e.nativeEvent.stopImmediatePropagation&&e.nativeEvent.stopImmediatePropagation())},t.handleKeyDown=function(e){e.keyCode!==u.a.BACKSPACE&&e.keyCode!==u.a.SPACE||e.stopPropagation()},t.handleInputChange=function(e){var n=e.target.value;t.setState({inputValue:n})},t.clearSelection=function(e){e.preventDefault(),e.stopPropagation(),t.state.inputValue?t.setState({inputValue:""}):(t.setValue([]),t.handlePopupVisibleChange(!1))},t.renderCascader=function(e,n){var o,i,a,l,c,s=e.getPopupContainer,u=e.getPrefixCls,f=e.renderEmpty,h=F(t),p=h.props,d=h.state,m=p.prefixCls,v=p.inputPrefixCls,y=p.children,g=p.placeholder,b=void 0===g?n.placeholder||"Please select":g,w=p.size,x=p.disabled,_=p.className,k=p.style,S=p.allowClear,M=p.showSearch,P=void 0!==M&&M,A=p.suffixIcon,j=p.notFoundContent,L=B(p,["prefixCls","inputPrefixCls","children","placeholder","size","disabled","className","style","allowClear","showSearch","suffixIcon","notFoundContent"]),R=d.value,I=d.inputFocused,V=u("cascader",m),D=u("input",v),q=T()((H(o={},"".concat(D,"-lg"),"large"===w),H(o,"".concat(D,"-sm"),"small"===w),o)),U=S&&!x&&R.length>0||d.inputValue?r.createElement(C.default,{type:"close-circle",theme:"filled",className:"".concat(V,"-picker-clear"),onClick:t.clearSelection}):null,W=T()((H(i={},"".concat(V,"-picker-arrow"),!0),H(i,"".concat(V,"-picker-arrow-expand"),d.popupVisible),i)),Y=T()(_,"".concat(V,"-picker"),(H(a={},"".concat(V,"-picker-with-value"),d.inputValue),H(a,"".concat(V,"-picker-disabled"),x),H(a,"".concat(V,"-picker-").concat(w),!!w),H(a,"".concat(V,"-picker-show-search"),!!P),H(a,"".concat(V,"-picker-focused"),I),a)),K=Object(E.a)(L,["onChange","options","popupPlacement","transitionName","displayRender","onPopupVisibleChange","changeOnSelect","expandTrigger","popupVisible","getPopupContainer","loadData","popupClassName","filterOption","renderFilteredOption","sortFilteredOption","notFoundContent","fieldNames","filedNames"]),X=p.options,J=G(t.props);X&&X.length>0?d.inputValue&&(X=t.generateFilteredOptions(V,f)):X=[(c={},H(c,J.value,"ANT_CASCADER_NOT_FOUND"),H(c,J.label,j||f("Cascader")),H(c,"disabled",!0),H(c,"isEmptyNode",!0),c)];d.popupVisible?t.cachedOptions=X:X=t.cachedOptions;var Q={},Z=1===(X||[]).length&&X[0].isEmptyNode;Z&&(Q.height="auto"),!1!==P.matchInputWidth&&(d.inputValue||Z)&&t.input&&(Q.width=t.input.input.offsetWidth);var $=A&&(r.isValidElement(A)?r.cloneElement(A,{className:T()((l={},H(l,A.props.className,A.props.className),H(l,"".concat(V,"-picker-arrow"),!0),l))}):r.createElement("span",{className:"".concat(V,"-picker-arrow")},A))||r.createElement(C.default,{type:"down",className:W}),ee=y||r.createElement("span",{style:k,className:Y},r.createElement("span",{className:"".concat(V,"-picker-label")},t.getLabel()),r.createElement(z.default,N({},K,{tabIndex:"-1",ref:t.saveInput,prefixCls:D,placeholder:R&&R.length>0?void 0:b,className:"".concat(V,"-input ").concat(q),value:d.inputValue,disabled:x,readOnly:!P,autoComplete:K.autoComplete||"off",onClick:P?t.handleInputClick:void 0,onBlur:P?t.handleInputBlur:void 0,onKeyDown:t.handleKeyDown,onChange:P?t.handleInputChange:void 0})),U,$),te=r.createElement(C.default,{type:"right"}),ne=r.createElement("span",{className:"".concat(V,"-menu-item-loading-icon")},r.createElement(C.default,{type:"redo",spin:!0})),re=p.getPopupContainer||s,oe=Object(E.a)(p,["inputIcon","expandIcon","loadingIcon"]);return r.createElement(O,N({},oe,{prefixCls:V,getPopupContainer:re,options:X,value:R,popupVisible:d.popupVisible,onPopupVisibleChange:t.handlePopupVisibleChange,onChange:t.handleChange,dropdownMenuColumnStyle:Q,expandIcon:te,loadingIcon:ne}),ee)},t.state={value:e.value||e.defaultValue||[],inputValue:"",inputFocused:!1,popupVisible:e.popupVisible,flattenOptions:e.showSearch?K(e.options,e):void 0,prevProps:e},t}return t=a,o=[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps,r={prevProps:e};return"value"in e&&(r.value=e.value||[]),"popupVisible"in e&&(r.popupVisible=e.popupVisible),e.showSearch&&n.options!==e.options&&(r.flattenOptions=K(e.options,e)),r}}],(n=[{key:"getLabel",value:function(){var e=this.props,t=e.options,n=e.displayRender,r=void 0===n?X:n,o=G(this.props),i=this.state.value,a=Array.isArray(i[0])?i[0]:i,l=h()(t,(function(e,t){return e[o.value]===a[t]}),{childrenKeyName:o.children});return r(l.map((function(e){return e[o.label]})),l)}},{key:"generateFilteredOptions",value:function(e,t){var n,r,o=this,i=this.props,a=i.showSearch,l=i.notFoundContent,c=G(this.props),s=a.filter,u=void 0===s?U:s,f=a.render,h=void 0===f?W:f,p=a.sort,d=void 0===p?Y:p,m=a.limit,v=void 0===m?50:m,y=this.state,g=y.flattenOptions,b=void 0===g?[]:g,w=y.inputValue;if(v>0){r=[];var x=0;b.some((function(e){return u(o.state.inputValue,e,c)&&(r.push(e),x+=1),x>=v}))}else Object(j.a)("number"!=typeof v,"Cascader","'limit' of showSearch should be positive number or false."),r=b.filter((function(e){return u(o.state.inputValue,e,c)}));return r.sort((function(e,t){return d(e,t,w,c)})),r.length>0?r.map((function(t){var n;return H(n={__IS_FILTERED_OPTION:!0,path:t},c.value,t.map((function(e){return e[c.value]}))),H(n,c.label,h(w,t,e,c)),H(n,"disabled",t.some((function(e){return!!e.disabled}))),H(n,"isEmptyNode",!0),n})):[(n={},H(n,c.value,"ANT_CASCADER_NOT_FOUND"),H(n,c.label,l||t("Cascader")),H(n,"disabled",!0),H(n,"isEmptyNode",!0),n)]}},{key:"focus",value:function(){this.input.focus()}},{key:"blur",value:function(){this.input.blur()}},{key:"render",value:function(){var e=this;return r.createElement(P.a,null,(function(t){return r.createElement(A.a,null,(function(n){return e.renderCascader(t,n)}))}))}}])&&R(t.prototype,n),o&&R(t,o),a}(r.Component);J.defaultProps={transitionName:"slide-up",popupPlacement:"bottomLeft",options:[],disabled:!1,allowClear:!0},Object(m.polyfill)(J);t.default=J},DKAG:function(e,t,n){"use strict";function r(e){return e&&"object"==typeof e&&"default"in e?e.default:e}Object.defineProperty(t,"__esModule",{value:!0});var o=r(n("ptwB")),i=r(n("wmEG")),a=r(n("lWZf")),l=r(n("kc8Z")),c=r(n("92dX")),s=r(n("e5eY")),u=r(n("NlO1")),f=r(n("q1tI")),h=(r(n("17x9")),r(n("rzV7")));r(n("63PN"));var p,d=(p=null,function(){if(null!==p)return p;var e,t,n,r=!1;try{window.addEventListener("test",null,(e={},t="passive",n={get:function(){r=!0}},Object.defineProperty(e,t,n)))}catch(e){}return p=r,r}()),m={capture:!1,passive:!1};function v(e){return u({},m,e)}function y(e,t,n){var r=[e,t];return r.push(d?n:n.capture),r}function g(e,t,n,r){e.addEventListener.apply(e,y(t,n,r))}function b(e,t,n,r){e.removeEventListener.apply(e,y(t,n,r))}var w=function(e){function t(){return o(this,t),a(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return l(t,e),i(t,[{key:"componentDidMount",value:function(){this.addListeners()}},{key:"shouldComponentUpdate",value:function(e){return!h(this.props,e)}},{key:"componentWillUpdate",value:function(){this.removeListeners()}},{key:"componentDidUpdate",value:function(){this.addListeners()}},{key:"componentWillUnmount",value:function(){this.removeListeners()}},{key:"addListeners",value:function(){this.applyListeners(g)}},{key:"removeListeners",value:function(){this.applyListeners(b)}},{key:"applyListeners",value:function(e){var t=this.props.target;if(t){var n=t;"string"==typeof t&&(n=window[t]),function(e,t){e.children,e.target;var n=s(e,["children","target"]);Object.keys(n).forEach((function(e){if("on"===e.substring(0,2)){var r=n[e],o=c(r),i="object"===o;if(i||"function"===o){var a="capture"===e.substr(-7).toLowerCase(),l=e.substring(2).toLowerCase();l=a?l.substring(0,l.length-7):l,i?t(l,r.handler,r.options):t(l,r,v({capture:a}))}}}))}(this.props,e.bind(null,n))}}},{key:"render",value:function(){return this.props.children||null}}]),t}(f.Component);w.propTypes={},t.withOptions=function(e,t){return{handler:e,options:v(t)}},t.default=w},DNiP:function(e,t,n){"use strict";var r=n("XKFU"),o=n("eyMr");r(r.P+r.F*!n("LyE8")([].reduce,!0),"Array",{reduce:function(e){return o(this,e,arguments.length,arguments[1],!1)}})},DPHD:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fetchWxCodeGameStatus=t.fetchWxCodeGameBuild=t.fetchRestoreWxCode=t.fetchUpdateWxCode=t.fetchWxCodeTextCase=t.fetchWxCode=void 0;var r,o,i,a,l,c,s=f(n("14Xm")),u=(t.fetchWxCode=(r=h(s.default.mark((function e(t,n){var r;return s.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return p(),r="/tasks/"+t+"/rep_content.json",n=Object.assign({},n,{withCredentials:!0}),e.abrupt("return",u.default.get(r,{params:n}));case 4:case"end":return e.stop()}}),e,this)}))),function(e,t){return r.apply(this,arguments)}),t.fetchWxCodeTextCase=(o=h(s.default.mark((function e(t){var n,r;return s.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return p(),n="/tasks/"+t+".json",r=Object.assign({},{withCredentials:!0}),e.abrupt("return",u.default.get(n,{params:r}));case 4:case"end":return e.stop()}}),e,this)}))),function(e){return o.apply(this,arguments)}),t.fetchUpdateWxCode=(i=h(s.default.mark((function e(t,n){var r;return s.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return p(),r="/myshixuns/"+t+"/update_file.json",n=Object.assign({},n,{withCredentials:!0}),e.abrupt("return",u.default.post(r,n));case 4:case"end":return e.stop()}}),e,this)}))),function(e,t){return i.apply(this,arguments)}),t.fetchRestoreWxCode=(a=h(s.default.mark((function e(t,n){var r;return s.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return p(),r="/tasks/"+t+"/reset_original_code.json",n=Object.assign({},n,{withCredentials:!0}),e.abrupt("return",u.default.get(r,{params:n}));case 4:case"end":return e.stop()}}),e,this)}))),function(e,t){return a.apply(this,arguments)}),t.fetchWxCodeGameBuild=(l=h(s.default.mark((function e(t,n){var r;return s.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return p(),r="/tasks/"+t+"/game_build.json",n=Object.assign({},n,{withCredentials:!0}),e.abrupt("return",u.default.get(r,{params:n}));case 4:case"end":return e.stop()}}),e,this)}))),function(e,t){return l.apply(this,arguments)}),t.fetchWxCodeGameStatus=(c=h(s.default.mark((function e(t,n){var r;return s.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return p(),r="/tasks/"+t+"/game_status.json",n=Object.assign({},n,{withCredentials:!0}),e.abrupt("return",u.default.get(r,{params:n}));case 4:case"end":return e.stop()}}),e,this)}))),function(e,t){return c.apply(this,arguments)}),f(n("vDqi")));f(n("Po8q"));function f(e){return e&&e.__esModule?e:{default:e}}function h(e){return function(){var t=e.apply(this,arguments);return new Promise((function(e,n){return function r(o,i){try{var a=t[o](i),l=a.value}catch(e){return void n(e)}if(!a.done)return Promise.resolve(l).then((function(e){r("next",e)}),(function(e){r("throw",e)}));e(l)}("next")}))}}var p=function(){}},DSV3:function(e,t,n){var r=n("XKFU"),o=n("gHnn")(),i=n("dyZX").process,a="process"==n("LZWt")(i);r(r.G,{asap:function(e){var t=a&&i.domain;o(t?t.bind(e):e)}})},DVgA:function(e,t,n){var r=n("zhAb"),o=n("4R4u");e.exports=Object.keys||function(e){return r(e,o)}},DW2E:function(e,t,n){var r=n("0/R4"),o=n("Z6vF").onFreeze;n("Xtr8")("freeze",(function(e){return function(t){return e&&r(t)?e(o(t)):t}}))},DZ0b:function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e){return e.replace(r,(function(e,t){return t.toUpperCase()}))};var r=/-(.)/g;e.exports=t.default},Dew8:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var 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},o=Object.assign||function(e){for(var t=1;t0&&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?y.default:v.default)),e.plugins&&this.use.apply(this,e.plugins),this}},{key:"createStyleSheet",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.index;"number"!=typeof n&&(n=0===h.default.index?0:h.default.index+1);var r=new l.default(e,o({},t,{jss:this,generateClassName:t.generateClassName||this.generateClassName,insertionPoint:this.options.insertionPoint,Renderer:this.options.Renderer,index:n}));return this.plugins.onProcessSheet(r),r}},{key:"removeStyleSheet",value:function(e){return e.detach(),h.default.remove(e),this}},{key:"createRule",value:function(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":r(e))&&(n=t,t=e,e=void 0);var o=n;o.jss=this,o.Renderer=this.options.Renderer,o.generateClassName||(o.generateClassName=this.generateClassName),o.classes||(o.classes={});var i=(0,m.default)(e,t,o);return!o.selector&&i instanceof p.default&&(i.selector="."+o.generateClassName(i)),this.plugins.onProcessRule(i),i}},{key:"use",value:function(){for(var e=this,t=arguments.length,n=Array(t),r=0;r=0;n--)if(i(t[n])){var r=t[n].split("="),o=unescape(r[0]);e(unescape(r[1]),o)}}function c(e){e&&s(e)&&(a.cookie=escape(e)+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/")}function s(e){return new RegExp("(?:^|;\\s*)"+escape(e).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=").test(a.cookie)}},"Dt+G":function(e,t,n){},"E+au":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.jss="64a55d578f856d258dc345b094a2a2b3",t.sheetsRegistry="d4bd0baacbc52bbd48bbb9eb24344ecd",t.managers="b768b78919504fba9de2c03545c5cd3a",t.sheetOptions="6fc570d6bd61383819d0f9e7407c452d"},E0u0:function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(n("QDlc")),i=r(n("MgzW")),a=["altKey","bubbles","cancelable","ctrlKey","currentTarget","eventPhase","metaKey","shiftKey","target","timeStamp","view","type"];function l(e){return null==e}var c=[{reg:/^key/,props:["char","charCode","key","keyCode","which"],fix:function(e,t){l(e.which)&&(e.which=l(t.charCode)?t.keyCode:t.charCode),void 0===e.metaKey&&(e.metaKey=e.ctrlKey)}},{reg:/^touch/,props:["touches","changedTouches","targetTouches"]},{reg:/^hashchange$/,props:["newURL","oldURL"]},{reg:/^gesturechange$/i,props:["rotation","scale"]},{reg:/^(mousewheel|DOMMouseScroll)$/,props:[],fix:function(e,t){var n=void 0,r=void 0,o=void 0,i=t.wheelDelta,a=t.axis,l=t.wheelDeltaY,c=t.wheelDeltaX,s=t.detail;i&&(o=i/120),s&&(o=0-(s%3==0?s/3:s)),void 0!==a&&(a===e.HORIZONTAL_AXIS?(r=0,n=0-o):a===e.VERTICAL_AXIS&&(n=0,r=o)),void 0!==l&&(r=l/120),void 0!==c&&(n=-1*c/120),n||r||(r=o),void 0!==n&&(e.deltaX=n),void 0!==r&&(e.deltaY=r),void 0!==o&&(e.delta=o)}},{reg:/^mouse|contextmenu|click|mspointer|(^DOMMouseScroll$)/i,props:["buttons","clientX","clientY","button","offsetX","relatedTarget","which","fromElement","toElement","offsetY","pageX","pageY","screenX","screenY"],fix:function(e,t){var n=void 0,r=void 0,o=void 0,i=e.target,a=t.button;return i&&l(e.pageX)&&!l(t.clientX)&&(r=(n=i.ownerDocument||document).documentElement,o=n.body,e.pageX=t.clientX+(r&&r.scrollLeft||o&&o.scrollLeft||0)-(r&&r.clientLeft||o&&o.clientLeft||0),e.pageY=t.clientY+(r&&r.scrollTop||o&&o.scrollTop||0)-(r&&r.clientTop||o&&o.clientTop||0)),e.which||void 0===a||(e.which=1&a?1:2&a?3:4&a?2:0),!e.relatedTarget&&e.fromElement&&(e.relatedTarget=e.fromElement===i?e.toElement:e.fromElement),e}}];function s(){return!0}function u(){return!1}function f(e){var t=e.type,n="function"==typeof e.stopPropagation||"boolean"==typeof e.cancelBubble;o.default.call(this),this.nativeEvent=e;var r=u;"defaultPrevented"in e?r=e.defaultPrevented?s:u:"getPreventDefault"in e?r=e.getPreventDefault()?s:u:"returnValue"in e&&(r=!1===e.returnValue?s:u),this.isDefaultPrevented=r;var i=[],l=void 0,f=void 0,h=a.concat();for(c.forEach((function(e){t.match(e.reg)&&(h=h.concat(e.props),e.fix&&i.push(e.fix))})),l=h.length;l;)this[f=h[--l]]=e[f];for(!this.target&&n&&(this.target=e.srcElement||document),this.target&&3===this.target.nodeType&&(this.target=this.target.parentNode),l=i.length;l;)(0,i[--l])(this,e);this.timeStamp=e.timeStamp||Date.now()}var h=o.default.prototype;(0,i.default)(f.prototype,h,{constructor:f,preventDefault:function(){var e=this.nativeEvent;e.preventDefault?e.preventDefault():e.returnValue=!1,h.preventDefault.call(this)},stopPropagation:function(){var e=this.nativeEvent;e.stopPropagation?e.stopPropagation():e.cancelBubble=!0,h.stopPropagation.call(this)}}),t.default=f,e.exports=t.default},ECub:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n("TSYQ"),i=n.n(o),a=n("H84U"),l=n("YMnH"),c=function(){return r.createElement("svg",{width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},r.createElement("g",{fill:"none",fillRule:"evenodd"},r.createElement("g",{transform:"translate(24 31.67)"},r.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),r.createElement("path",{d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",fill:"#AEB8C2"}),r.createElement("path",{d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",fill:"url(#linearGradient-1)",transform:"translate(13.56)"}),r.createElement("path",{d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",fill:"#F5F5F7"}),r.createElement("path",{d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",fill:"#DCE0E6"})),r.createElement("path",{d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",fill:"#DCE0E6"}),r.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},r.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),r.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},s=function(){return r.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},r.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},r.createElement("ellipse",{fill:"#F5F5F5",cx:"32",cy:"33",rx:"32",ry:"7"}),r.createElement("g",{fillRule:"nonzero",stroke:"#D9D9D9"},r.createElement("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"}),r.createElement("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",fill:"#FAFAFA"}))))};function u(){return(u=Object.assign||function(e){for(var t=1;t0?arguments[0]:void 0)}},g={get:function(e){if(u(e)){var t=d(e);return!0===t?v(f(this,"WeakMap")).get(e):t?t[this._i]:void 0}},set:function(e,t){return s.def(f(this,"WeakMap"),e,t)}},b=e.exports=n("4LiD")("WeakMap",y,g,s,!0,!0);h&&p&&(c((r=s.getConstructor(y,"WeakMap")).prototype,g),l.NEED=!0,i(["delete","has","get","set"],(function(e){var t=b.prototype,n=t[e];a(t,e,(function(t,o){if(u(t)&&!m(t)){this._f||(this._f=new r);var i=this._f[e](t,o);return"set"==e?this:i}return n.call(this,t,o)}))})))},ERXd:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;tc;)r.f(e,n=a[c++],t[n]);return e}},FLEz:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t1024){for(var t=0,n=o.length-i;t=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})}))},FlsD:function(e,t,n){var r=n("0/R4");n("Xtr8")("isExtensible",(function(e){return function(t){return!!r(t)&&(!e||e(t))}}))},FpHa:function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},G4OA:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=u(n("TeRw")),o=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]&&arguments[0];return function(e){return function(t){function n(e){f(this,n);var t=h(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,e));return t.showNotification=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"提示",n=arguments[2],o={message:t,description:e};n&&(o.icon=n),r.default.open(o)},t.showSnackbar=t.showSnackbar.bind(t),t.handleSnackbarClose=t.handleSnackbarClose.bind(t),t.state={snackbarText:"",snackbarOpen:!1},t}return p(n,t),i(n,[{key:"handleSnackbarClose",value:function(){this.setState({snackbarOpen:!1,snackbarVertical:"",snackbarHorizontal:""})}},{key:"showSnackbar",value:function(e,t,n){this.setState({snackbarOpen:!0,snackbarText:e,snackbarVertical:t,snackbarHorizontal:n})}},{key:"render",value:function(){return l.default.createElement(l.default.Fragment,null,l.default.createElement(c.default,{className:"rootSnackbar",style:{zIndex:3e4},open:this.state.snackbarOpen,autoHideDuration:3e3,anchorOrigin:{vertical:this.state.snackbarVertical||"top",horizontal:this.state.snackbarHorizontal||"center"},onClose:this.handleSnackbarClose,transition:s.default,SnackbarContentProps:d,resumeHideDuration:2e3,message:l.default.createElement("span",{id:"message-id"},this.state.snackbarText)}),l.default.createElement(e,o({},this.props,{showSnackbar:this.showSnackbar,showNotification:this.showNotification})))}}]),n}(a.Component)}},n("O+I2");var a=n("q1tI"),l=u(a),c=u(n("ljwo")),s=u(n("Blpk"));function u(e){return e&&e.__esModule?e:{default:e}}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function p(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var d={"aria-describedby":"message-id"}},G8Mo:function(e,t,n){var r=n("93I4");e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},GHUu:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=function(){function e(e,t){for(var n=0;n30},a.default.createElement("a",{href:e.url+(0,l.getRandomNumber)(),className:"mr12 fl task-hide",length:"58",target:e.is_pdf&&1==e.is_pdf?"_blank":"_self",style:{maxWidth:"432px"}},e.title)),a.default.createElement("span",{className:"color-grey mt2 color-grey-6 font-12"},e.filesize))})))}}]),t}(i.Component);t.default=c},GMIx:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=function(){function e(e,t){for(var n=0;nn;)t.push(arguments[n++]);return y[++v]=function(){l("function"==typeof e?e:Function(e),t)},r(v),v},p=function(e){delete y[e]},"process"==n("LZWt")(f)?r=function(e){f.nextTick(a(g,e,1))}:m&&m.now?r=function(e){m.now(a(g,e,1))}:d?(i=(o=new d).port2,o.port1.onmessage=b,r=a(i.postMessage,i,1)):u.addEventListener&&"function"==typeof postMessage&&!u.importScripts?(r=function(e){u.postMessage(e+"","*")},u.addEventListener("message",b,!1)):r="onreadystatechange"in s("script")?function(e){c.appendChild(s("script")).onreadystatechange=function(){c.removeChild(this),g.call(e)}}:function(e){setTimeout(a(g,e,1),0)}),e.exports={set:h,clear:p}},GdC5:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Streamable=void 0;var r,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==c(e)&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o]}n.default=e,t&&t.set(e,n);return n}(n("q1tI")),i=n("tbWI"),a=(r=n("LVMo"))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var n=0;n=7&&this.setupTypeNumber(e),null==this.dataCache&&(this.dataCache=c.createData(this.typeNumber,this.errorCorrectLevel,this.dataList)),this.mapData(this.dataCache,t)},s.setupPositionProbePattern=function(e,t){for(var n=-1;n<=7;n++)if(!(e+n<=-1||this.moduleCount<=e+n))for(var r=-1;r<=7;r++)t+r<=-1||this.moduleCount<=t+r||(this.modules[e+n][t+r]=0<=n&&n<=6&&(0==r||6==r)||0<=r&&r<=6&&(0==n||6==n)||2<=n&&n<=4&&2<=r&&r<=4)},s.getBestMaskPattern=function(){for(var e=0,t=0,n=0;n<8;n++){this.makeImpl(!0,n);var r=a.getLostPoint(this);(0==n||e>r)&&(e=r,t=n)}return t},s.createMovieClip=function(e,t,n){var r=e.createEmptyMovieClip(t,n);this.make();for(var o=0;o>n&1);this.modules[Math.floor(n/3)][n%3+this.moduleCount-8-3]=r}for(n=0;n<18;n++){r=!e&&1==(t>>n&1);this.modules[n%3+this.moduleCount-8-3][Math.floor(n/3)]=r}},s.setupTypeInfo=function(e,t){for(var n=this.errorCorrectLevel<<3|t,r=a.getBCHTypeInfo(n),o=0;o<15;o++){var i=!e&&1==(r>>o&1);o<6?this.modules[o][8]=i:o<8?this.modules[o+1][8]=i:this.modules[this.moduleCount-15+o][8]=i}for(o=0;o<15;o++){i=!e&&1==(r>>o&1);o<8?this.modules[8][this.moduleCount-o-1]=i:o<9?this.modules[8][15-o-1+1]=i:this.modules[8][15-o-1]=i}this.modules[this.moduleCount-8][8]=!e},s.mapData=function(e,t){for(var n=-1,r=this.moduleCount-1,o=7,i=0,l=this.moduleCount-1;l>0;l-=2)for(6==l&&l--;;){for(var c=0;c<2;c++)if(null==this.modules[r][l-c]){var s=!1;i>>o&1)),a.getMask(t,r,l-c)&&(s=!s),this.modules[r][l-c]=s,-1==--o&&(i++,o=7)}if((r+=n)<0||this.moduleCount<=r){r-=n,n=-n;break}}},c.PAD0=236,c.PAD1=17,c.createData=function(e,t,n){for(var r=o.getRSBlocks(e,t),l=new i,s=0;s8*f)throw new Error("code length overflow. ("+l.getLengthInBits()+">"+8*f+")");for(l.getLengthInBits()+4<=8*f&&l.put(0,4);l.getLengthInBits()%8!=0;)l.putBit(!1);for(;!(l.getLengthInBits()>=8*f||(l.put(c.PAD0,8),l.getLengthInBits()>=8*f));)l.put(c.PAD1,8);return c.createBytes(l,r)},c.createBytes=function(e,t){for(var n=0,r=0,o=0,i=new Array(t.length),c=new Array(t.length),s=0;s=0?d.get(m):0}}var v=0;for(h=0;h0?a-4:a;for(n=0;n>16&255,c[u++]=t>>8&255,c[u++]=255&t;2===l&&(t=o[e.charCodeAt(n)]<<2|o[e.charCodeAt(n+1)]>>4,c[u++]=255&t);1===l&&(t=o[e.charCodeAt(n)]<<10|o[e.charCodeAt(n+1)]<<4|o[e.charCodeAt(n+2)]>>2,c[u++]=t>>8&255,c[u++]=255&t);return c},t.fromByteArray=function(e){for(var t,n=e.length,o=n%3,i=[],a=0,l=n-o;al?l:a+16383));1===o?(t=e[n-1],i.push(r[t>>2]+r[t<<4&63]+"==")):2===o&&(t=(e[n-2]<<8)+e[n-1],i.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"="));return i.join("")};for(var r=[],o=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",l=0,c=a.length;l0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function u(e,t,n){for(var o,i,a=[],l=t;l>18&63]+r[i>>12&63]+r[i>>6&63]+r[63&i]);return a.join("")}o["-".charCodeAt(0)]=62,o["_".charCodeAt(0)]=63},H84U:function(e,t,n){"use strict";n.d(t,"b",(function(){return s})),n.d(t,"a",(function(){return u})),n.d(t,"c",(function(){return f}));var r=n("q1tI"),o=n("foW8"),i=n.n(o),a=n("ECub"),l=function(e){return r.createElement(u,null,(function(t){var n=(0,t.getPrefixCls)("empty");switch(e){case"Table":case"List":return r.createElement(a.default,{image:a.default.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return r.createElement(a.default,{image:a.default.PRESENTED_IMAGE_SIMPLE,className:"".concat(n,"-small")});default:return r.createElement(a.default,null)}}))};function c(){return(c=Object.assign||function(e){for(var t=1;t1?arguments[1]:void 0,v=void 0!==m,y=0,g=u(h);if(v&&(m=r(m,d>2?arguments[2]:void 0,2)),null==g||p==Array&&l(g))for(n=new p(t=c(h.length));t>y;y++)s(n,y,v?m(h[y],y):h[y]);else for(f=g.call(h),n=new p;!(o=f.next()).done;y++)s(n,y,v?a(f,m,[o.value,y],!0):o.value);return n.length=y,n}})},HSsa:function(e,t,n){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;rh+1){clearInterval(d),d=null;var p=null;p=1===a?{error_line:-1,error_msg:"",execute_memory:"",execute_time:h,input:"",output:"",status:2,expected_output:"",isPassed:!1}:i.data.data,e({type:o.default.COMMIT_RECORD_DETAIL,payload:{type:n,data:p}}),n&&"debug"!==n?(e({type:o.default.SUBMIT_LOADING_STATUS,payload:!1}),e({type:o.default.CHANGE_USER_CODE_TAB,payload:"record"}),e(u(t)),e(f(n)),1===l&&!s&&p.isPassed&&(e({type:o.default.UPDATE_HACK_PASSED,payload:!0}),r.default.success({message:"提示",description:"恭喜您获得金币奖励: "+c}))):(e({type:o.default.LOADING_STATUS,payload:!1}),e({type:o.default.TEST_CODE_STATUS,payload:"finish"}))}})).catch((function(t){clearInterval(d),d=null,e(n&&"debug"!==n?{type:o.default.SUBMIT_LOADING_STATUS,payload:!1}:{type:o.default.LOADING_STATUS,payload:!1})}))}(500,i,h++,p)}),500)},s=t.debuggerCode=function(e,t,n){return function(r,i){var l=i().ojForUserReducer.hack;n&&"debug"!==n||r({type:o.default.TEST_CODE_STATUS,payload:"loading"}),(0,a.fetchDebuggerCode)(e,t).then((function(t){if(200===t.status){if(401===t.data.status)return void r({type:o.default.LOADING_STATUS,payload:!1});c(r,e,n,l.time_limit)}})).catch((function(){r({type:o.default.TEST_CODE_STATUS,payload:"error"}),r({type:o.default.LOADING_STATUS,payload:!1}),r({type:o.default.SUBMIT_LOADING_STATUS,payload:!1})}))}},u=t.getUserCommitRecord=function(e){return function(t,n){try{var r=n().ojForUserReducer.pages,i=r.limit,l=r.page;(0,a.fetchUserCommitRecord)(e,{limit:i,page:l}).then((function(e){if(e){var n=e.status,r=e.data;200===n&&t({type:o.default.COMMIT_RECORD,payload:r})}}))}catch(e){console.log(e,"-------")}}},f=(t.getUserCommitRecordDetail=function(e){return function(t){(0,a.fetchUserCommitRecordDetail)(e).then((function(e){var n=e.data;401!==n.status&&(t({type:o.default.GET_COMMIT_RECORD_DETAIL_BY_ID,payload:n}),t({type:o.default.CLICK_OPERATE_TYPE,payload:""}))}))}},t.saveUserInputCode=function(e){return{type:o.default.SAVE_USER_CODE,payload:e}},t.changeUserCodeTab=function(e){return{type:o.default.CHANGE_USER_CODE_TAB,payload:e}},t.submitUserCode=function(e,t,n){return function(t,r){var l=r().ojForUserReducer,s=l.editor_code,u=l.hack;(0,a.fetchUpdateCode)(e,{code:i.Base64.encode(s)}).then((function(r){401!==r.data.status?(t({type:o.default.IS_UPDATE_CODE,flag:!1}),(0,a.fetchUserCodeSubmit)(e).then((function(r){if(200===r.status){if(401===r.data.status)return void t({type:o.default.SUBMIT_LOADING_STATUS,payload:!1});c(t,e,n,u.time_limit,u.status,u.score,u.passed)}})).catch((function(){t({type:o.default.SUBMIT_LOADING_STATUS,payload:!1})}))):t({type:o.default.SUBMIT_LOADING_STATUS,payload:!1})})).catch((function(){t({type:o.default.SUBMIT_LOADING_STATUS,payload:!1})}))}},t.restoreInitialCode=function(e,t){return function(n){(0,a.fetchRestoreInitialCode)(e).then((function(e){if(401!==e.data.status){var i=e.status,a=e.data;200===i&&(n({type:o.default.RESTORE_INITIAL_CODE,payload:a.code}),r.default.success({message:"提示",description:t}),n({type:o.default.SAVE_NOTICE_COUNT,payload:!1}))}}))}},t.saveEditorCodeForDetail=function(e){return{type:o.default.SAVE_EDITOR_CODE,payload:e}},t.saveOpacityType=function(e){return{type:o.default.CLICK_OPERATE_TYPE,payload:e}});t.clearOjForUserReducer=function(){return{type:o.default.CLEAR_OJ_FOR_USER_REDUCER}},t.changeRecordPagination=function(e){return{type:o.default.CHANGE_RECORD_PAGINATION_PAGE,payload:e}},t.addNotes=function(e,t,n){return function(i){(0,a.fetchAddNotes)(e,t).then((function(e){i({type:o.default.LOADING_STATUS,payload:!1}),0===e.data.status&&(n&&n(),r.default.success({message:"提示",description:"添加笔记成功"}),i({type:o.default.UPDATE_NOTE_CONTENT,payload:t.notes}))})).catch((function(){i({type:o.default.LOADING_STATUS,payload:!1})}))}}},Hd6r:function(e,t,n){"use strict";n.r(t);n("C1Nm")},Hfiw:function(e,t,n){var r=n("Y7ZC");r(r.S,"Object",{setPrototypeOf:n("6tYhl").set})},Hsns:function(e,t,n){var r=n("93I4"),o=n("5T2Y").document,i=r(o)&&r(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},Hxic:function(e,t,n){var r=n("XKFU");r(r.S,"Math",{RAD_PER_DEG:180/Math.PI})},I2u6:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.replace(r,o)};var r=/[-\s]+(.)?/g;function o(e,t){return t?t.toUpperCase():""}},I5cv:function(e,t,n){var r=n("XKFU"),o=n("Kuth"),i=n("2OiF"),a=n("y3w9"),l=n("0/R4"),c=n("eeVq"),s=n("8MEG"),u=(n("dyZX").Reflect||{}).construct,f=c((function(){function e(){}return!(u((function(){}),[],e)instanceof e)})),h=!c((function(){u((function(){}))}));r(r.S+r.F*(f||h),"Reflect",{construct:function(e,t){i(e),a(t);var n=arguments.length<3?e:i(arguments[2]);if(h&&!f)return u(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var r=[null];return r.push.apply(r,t),new(s.apply(e,r))}var c=n.prototype,p=o(l(c)?c:Object.prototype),d=Function.apply.call(e,p,t);return l(d)?d:p}})},I74W:function(e,t,n){"use strict";n("qncB")("trimLeft",(function(e){return function(){return e(this,1)}}),"trimStart")},I78e:function(e,t,n){"use strict";var r=n("XKFU"),o=n("+rLv"),i=n("LZWt"),a=n("d/Gc"),l=n("ne8i"),c=[].slice;r(r.P+r.F*n("eeVq")((function(){o&&c.call(o)})),"Array",{slice:function(e,t){var n=l(this.length),r=i(this);if(t=void 0===t?n:t,"Array"==r)return c.call(this,e,t);for(var o=a(e,n),s=a(t,n),u=l(s-o),f=new Array(u),h=0;h1?arguments[1]:void 0)}}),n("nGyu")(i)},IP1Z:function(e,t,n){"use strict";var r=n("2faE"),o=n("rr1i");e.exports=function(e,t,n){t in e?r.f(e,t,o(0,n)):e[t]=n}},"IS4+":function(e,t,n){"use strict";var r=n("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.primary,n=void 0===t?{light:l.default[300],main:l.default[500],dark:l.default[700]}:t,r=e.secondary,v=void 0===r?{light:c.default.A200,main:c.default.A400,dark:c.default.A700}:r,y=e.error,g=void 0===y?{light:u.default[300],main:u.default[500],dark:u.default[700]}:y,b=e.type,w=void 0===b?"light":b,x=e.contrastThreshold,_=void 0===x?3:x,k=e.tonalOffset,S=void 0===k?.2:k,O=(0,i.default)(e,["primary","secondary","error","type","contrastThreshold","tonalOffset"]);function M(e){return(0,h.getContrastRatio)(e,d.text.primary)>=_?d.text.primary:p.text.primary}function T(e,t,n,r){!e.main&&e[t]&&(e.main=e[t]),m(e,"light",n,S),m(e,"dark",r,S),e.contrastText||(e.contrastText=M(e.main))}T(n,500,300,700),T(v,"A400","A200","A700"),T(g,500,300,700);var E={dark:d,light:p};return(0,a.default)((0,o.default)({common:f.default,type:w,primary:n,secondary:v,error:g,grey:s.default,contrastThreshold:_,getContrastText:M,augmentColor:T,tonalOffset:S},E[w]),O,{clone:!1})},t.dark=t.light=void 0;var o=r(n("MVZn")),i=r(n("QILm")),a=(r(n("PV3f")),r(n("WNwX"))),l=r(n("LacO")),c=r(n("sVKJ")),s=r(n("AK+3")),u=r(n("IWIc")),f=r(n("zOe8")),h=n("JS0+"),p={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.54)",disabled:"rgba(0, 0, 0, 0.38)",hint:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:f.default.white,default:s.default[50]},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.08)",hoverOpacity:.08,selected:"rgba(0, 0, 0, 0.14)",disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)"}};t.light=p;var d={text:{primary:f.default.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",hint:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:s.default[800],default:"#303030"},action:{active:f.default.white,hover:"rgba(255, 255, 255, 0.1)",hoverOpacity:.1,selected:"rgba(255, 255, 255, 0.2)",disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)"}};function m(e,t,n,r){e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=(0,h.lighten)(e.main,r):"dark"===t&&(e.dark=(0,h.darken)(e.main,1.5*r)))}t.dark=d},"IU+Z":function(e,t,n){"use strict";n("sMXx");var r=n("KroJ"),o=n("Mukb"),i=n("eeVq"),a=n("vhPU"),l=n("K0xU"),c=n("Ugos"),s=l("species"),u=!i((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$")})),f=function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2===n.length&&"a"===n[0]&&"b"===n[1]}();e.exports=function(e,t,n){var h=l(e),p=!i((function(){var t={};return t[h]=function(){return 7},7!=""[e](t)})),d=p?!i((function(){var t=!1,n=/a/;return n.exec=function(){return t=!0,null},"split"===e&&(n.constructor={},n.constructor[s]=function(){return n}),n[h](""),!t})):void 0;if(!p||!d||"replace"===e&&!u||"split"===e&&!f){var m=/./[h],v=n(a,h,""[e],(function(e,t,n,r,o){return t.exec===c?p&&!o?{done:!0,value:m.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}})),y=v[0],g=v[1];r(String.prototype,e,y),o(RegExp.prototype,h,2==t?function(e,t){return g.call(e,this,t)}:function(e){return g.call(e,this)})}}},IWIc:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"};t.default=r},IXt9:function(e,t,n){"use strict";var r=n("0/R4"),o=n("OP3Y"),i=n("K0xU")("hasInstance"),a=Function.prototype;i in a||n("hswa").f(a,i,{value:function(e){if("function"!=typeof this||!r(e))return!1;if(!r(this.prototype))return e instanceof this;for(;e=o(e);)if(this.prototype===e)return!0;return!1}})},IdCh:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["to","href","targets","style2","style","className"]));return l.default.createElement(l.default.Fragment,null,null==t&&null==n?l.default.createElement("a",o({onClick:this.props.onClick,className:"btn "+s[this.props.style]+" "+(this.props.className||""),style:r},i),this.props.children):null!=n?l.default.createElement("a",o({href:t,target:"_blank",className:"btn "+s[this.props.style]+" "+this.props.className,style:r},i),this.props.children):l.default.createElement(c.Link,o({to:t,className:"btn "+s[this.props.style]+" "+(this.props.className||""),style:r},i),this.props.children))}}]),t}(a.Component);t.default=u},IeMT:function(e,t,n){"use strict";var r=n("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),t.cloneElementWithClassName=a,t.cloneChildrenWithClassName=function(e,t){return o.default.Children.map(e,(function(e){return o.default.isValidElement(e)&&a(e,t)}))},t.isMuiElement=function(e,t){return o.default.isValidElement(e)&&-1!==t.indexOf(e.type.muiName)},t.isMuiComponent=function(e,t){return-1!==t.indexOf(e.muiName)};var o=r(n("q1tI")),i=r(n("TSYQ"));function a(e,t){return o.default.cloneElement(e,{className:(0,i.default)(e.props.className,t)})}},Ijbi:function(e,t){e.exports=function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t=0;)t^=d.G15<=0;)t^=d.G18<>>=1;return t},getPatternPosition:function(e){return d.PATTERN_POSITION_TABLE[e-1]},getMask:function(e,t,n){switch(e){case a:return(t+n)%2==0;case l:return t%2==0;case c:return n%3==0;case s:return(t+n)%3==0;case u:return(Math.floor(t/2)+Math.floor(n/3))%2==0;case f:return t*n%2+t*n%3==0;case h:return(t*n%2+t*n%3)%2==0;case p:return(t*n%3+(t+n)%2)%2==0;default:throw new Error("bad maskPattern:"+e)}},getErrorCorrectPolynomial:function(e){for(var t=new o([1],0),n=0;n5&&(n+=3+i-5)}for(r=0;r>>6)+fromCharCode(128|63&t):fromCharCode(224|t>>>12&15)+fromCharCode(128|t>>>6&63)+fromCharCode(128|63&t);var t=65536+1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320);return fromCharCode(240|t>>>18&7)+fromCharCode(128|t>>>12&63)+fromCharCode(128|t>>>6&63)+fromCharCode(128|63&t)},re_utob=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,utob=function(e){return e.replace(re_utob,cb_utob)},cb_encode=function(e){var t=[0,2,1][e.length%3],n=e.charCodeAt(0)<<16|(e.length>1?e.charCodeAt(1):0)<<8|(e.length>2?e.charCodeAt(2):0);return[b64chars.charAt(n>>>18),b64chars.charAt(n>>>12&63),t>=2?"=":b64chars.charAt(n>>>6&63),t>=1?"=":b64chars.charAt(63&n)].join("")},btoa=global.btoa?function(e){return global.btoa(e)}:function(e){return e.replace(/[\s\S]{1,3}/g,cb_encode)},_encode=function(e){return"[object Uint8Array]"===Object.prototype.toString.call(e)?e.toString("base64"):btoa(utob(String(e)))},encode=function(e,t){return t?_encode(String(e)).replace(/[+\/]/g,(function(e){return"+"==e?"-":"_"})).replace(/=/g,""):_encode(e)},encodeURI=function(e){return encode(e,!0)},re_btou=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,cb_btou=function(e){switch(e.length){case 4:var t=((7&e.charCodeAt(0))<<18|(63&e.charCodeAt(1))<<12|(63&e.charCodeAt(2))<<6|63&e.charCodeAt(3))-65536;return fromCharCode(55296+(t>>>10))+fromCharCode(56320+(1023&t));case 3:return fromCharCode((15&e.charCodeAt(0))<<12|(63&e.charCodeAt(1))<<6|63&e.charCodeAt(2));default:return fromCharCode((31&e.charCodeAt(0))<<6|63&e.charCodeAt(1))}},btou=function(e){return e.replace(re_btou,cb_btou)},cb_decode=function(e){var t=e.length,n=t%4,r=(t>0?b64tab[e.charAt(0)]<<18:0)|(t>1?b64tab[e.charAt(1)]<<12:0)|(t>2?b64tab[e.charAt(2)]<<6:0)|(t>3?b64tab[e.charAt(3)]:0),o=[fromCharCode(r>>>16),fromCharCode(r>>>8&255),fromCharCode(255&r)];return o.length-=[0,0,2,1][n],o.join("")},_atob=global.atob?function(e){return global.atob(e)}:function(e){return e.replace(/\S{1,4}/g,cb_decode)},atob=function(e){return _atob(String(e).replace(/[^A-Za-z0-9\+\/]/g,""))},_decode=buffer?buffer.from&&Uint8Array&&buffer.from!==Uint8Array.from?function(e){return(e.constructor===buffer.constructor?e:buffer.from(e,"base64")).toString()}:function(e){return(e.constructor===buffer.constructor?e:new buffer(e,"base64")).toString()}:function(e){return btou(_atob(e))},decode=function(e){return _decode(String(e).replace(/[-_]/g,(function(e){return"-"==e?"+":"/"})).replace(/[^A-Za-z0-9\+\/]/g,""))},noConflict=function(){var e=global.Base64;return global.Base64=_Base64,e};if(global.Base64={VERSION:version,atob:atob,btoa:btoa,fromBase64:decode,toBase64:encode,utob:utob,encode:encode,encodeURI:encodeURI,btou:btou,decode:decode,noConflict:noConflict,__buffer__:buffer},"function"==typeof Object.defineProperty){var noEnum=function(e){return{value:e,enumerable:!1,writable:!0,configurable:!0}};global.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",noEnum((function(){return decode(this)}))),Object.defineProperty(String.prototype,"toBase64",noEnum((function(e){return encode(this,e)}))),Object.defineProperty(String.prototype,"toBase64URI",noEnum((function(){return encode(this,!0)})))}}return global.Meteor&&(Base64=global.Base64),module.exports?module.exports.Base64=global.Base64:(__WEBPACK_AMD_DEFINE_ARRAY__=[],__WEBPACK_AMD_DEFINE_RESULT__=function(){return global.Base64}.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__),void 0===__WEBPACK_AMD_DEFINE_RESULT__||(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)),{Base64:global.Base64}}))}).call(this,__webpack_require__("yLpj"))},J6Do:function(e,t,n){"use strict";var r=n("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"DialogActions",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"DialogTitle",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"DialogContent",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"DialogContentText",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"withMobileDialog",{enumerable:!0,get:function(){return s.default}});var o=r(n("cSWV")),i=r(n("CFxG")),a=r(n("viCs")),l=r(n("r+0b")),c=r(n("VDLE")),s=r(n("kM5N"))},J7Ao:function(e,t){e.exports=class{constructor(){this.seen={}}slug(e){let t=e.toLowerCase().trim().replace(/<[!\/a-z].*?>/gi,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-");if(this.seen.hasOwnProperty(t)){const e=t;do{this.seen[e]++,t=e+"-"+this.seen[e]}while(this.seen.hasOwnProperty(t))}return this.seen[t]=0,t}}},J9Du:function(e,t,n){"use strict";n.d(t,"b",(function(){return c}));var r=n("EJiy"),o=n.n(r),i=n("/dDc"),a=n("PFWz"),l=n.n(a),c=0!==i.a.endEvents.length,s=["Webkit","Moz","O","ms"],u=["-webkit-","-moz-","-o-","ms-",""];function f(e,t){for(var n=window.getComputedStyle(e,null),r="",o=0;o=200&&e<300}};c.headers={common:{Accept:"application/json, text/plain, */*"}},r.forEach(["delete","get","head"],(function(e){c.headers[e]={}})),r.forEach(["post","put","patch"],(function(e){c.headers[e]=r.merge(i)})),e.exports=c}).call(this,n("KCCg"))},JEiT:function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e){if(!e)return e;for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r1&&void 0!==arguments[1]?arguments[1]:.15;return c(e)>.5?s(e,t):u(e,t)},t.fade=function(e,t){if(!e)return e;e=a(e),t=o(t),("rgb"===e.type||"hsl"===e.type)&&(e.type+="a");return e.values[3]=t,l(e)},t.darken=s,t.lighten=u;r(n("PV3f"));function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return en?n:e}function i(e){e=e.substr(1);var t=new RegExp(".{1,".concat(e.length/3,"}"),"g"),n=e.match(t);return n&&1===n[0].length&&(n=n.map((function(e){return e+e}))),n?"rgb(".concat(n.map((function(e){return parseInt(e,16)})).join(", "),")"):""}function a(e){if("#"===e.charAt(0))return a(i(e));var t=e.indexOf("("),n=e.substring(0,t),r=e.substring(t+1,e.length-1).split(",");return{type:n,values:r=r.map((function(e){return parseFloat(e)}))}}function l(e){var t=e.type,n=e.values;return-1!==t.indexOf("rgb")&&(n=n.map((function(e,t){return t<3?parseInt(e,10):e}))),-1!==t.indexOf("hsl")&&(n[1]="".concat(n[1],"%"),n[2]="".concat(n[2],"%")),"".concat(e.type,"(").concat(n.join(", "),")")}function c(e){var t=a(e);if(-1!==t.type.indexOf("rgb")){var n=t.values.map((function(e){return(e/=255)<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)}));return Number((.2126*n[0]+.7152*n[1]+.0722*n[2]).toFixed(3))}return t.values[2]/100}function s(e,t){if(!e)return e;if(e=a(e),t=o(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb"))for(var n=0;n<3;n+=1)e.values[n]*=1-t;return l(e)}function u(e,t){if(!e)return e;if(e=a(e),t=o(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(var n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;return l(e)}},JbBM:function(e,t,n){n("Hfiw"),e.exports=n("WEpk").Object.setPrototypeOf},Jcmo:function(e,t,n){var r=n("XKFU"),o=Math.exp;r(r.S,"Math",{cosh:function(e){return(o(e=+e)+o(-e))/2}})},JduL:function(e,t,n){n("Xtr8")("getOwnPropertyNames",(function(){return n("e7yV").f}))},Jes0:function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},JgYk:function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},"Ji/l":function(e,t,n){var r=n("XKFU");r(r.G+r.W+r.F*!n("D4iV").ABV,{DataView:n("7Qtz").DataView})},JiEa:function(e,t){t.f=Object.getOwnPropertySymbols},Jnur:function(e,t,n){"use strict";var r=n("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),t.setTranslateValue=k,t.default=void 0;var o=r(n("pVnL")),i=r(n("QILm")),a=r(n("MVZn")),l=r(n("cWOT")),c=r(n("lwsE")),s=r(n("W8MJ")),u=r(n("a1gu")),f=r(n("7W2i")),h=r(n("PJYZ")),p=r(n("q1tI")),d=(r(n("17x9")),r(n("i8i4"))),m=r(n("DKAG")),v=r(n("sEfC")),y=r(n("S3Uj")),g=n("VCL8"),b=r(n("8oxe")),w=r(n("PfIm")),x=n("8jD+"),_=n("foiH");function k(e,t){var n=function(e,t){var n,r=e.direction,o=t.getBoundingClientRect();if(t.fakeTransform)n=t.fakeTransform;else{var i=(0,b.default)(t).getComputedStyle(t);n=i.getPropertyValue("-webkit-transform")||i.getPropertyValue("transform")}var a=0,l=0;if(n&&"none"!==n&&"string"==typeof n){var c=n.split("(")[1].split(")")[0].split(",");a=parseInt(c[4],10),l=parseInt(c[5],10)}return"left"===r?"translateX(100vw) translateX(-".concat(o.left-a,"px)"):"right"===r?"translateX(-".concat(o.left+o.width+24-a,"px)"):"up"===r?"translateY(100vh) translateY(-".concat(o.top-l,"px)"):"translateY(-".concat(o.top+o.height+24-l,"px)")}(e,t);n&&(t.style.webkitTransform=n,t.style.transform=n)}var S=function(e){function t(){var e,n,r;(0,c.default)(this,t);for(var o=arguments.length,i=new Array(o),s=0;s1)for(var n=1;n1||"".split(/.?/)[p]?function(e,t){var o=String(this);if(void 0===e&&0===t)return[];if(!r(e))return n.call(o,e,t);for(var i,a,l,c=[],u=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),f=0,d=void 0===t?4294967295:t>>>0,m=new RegExp(e.source,u+"g");(i=s.call(m,o))&&!((a=m.lastIndex)>f&&(c.push(o.slice(f,i.index)),i[p]>1&&i.index=d));)m.lastIndex===i.index&&m.lastIndex++;return f===o[p]?!l&&m.test("")||c.push(""):c.push(o.slice(f)),c[p]>d?c.slice(0,d):c}:"0".split(void 0,0)[p]?function(e,t){return void 0===e&&0===t?[]:n.call(this,e,t)}:n,[function(n,r){var o=e(this),i=null==n?void 0:n[t];return void 0!==i?i.call(n,o,r):m.call(String(o),n,r)},function(e,t){var r=u(m,e,this,t,m!==n);if(r.done)return r.value;var s=o(e),h=String(this),p=i(s,RegExp),v=s.unicode,y=(s.ignoreCase?"i":"")+(s.multiline?"m":"")+(s.unicode?"u":"")+(d?"y":"g"),g=new p(d?s:"^(?:"+s.source+")",y),b=void 0===t?4294967295:t>>>0;if(0===b)return[];if(0===h.length)return null===c(g,h)?[h]:[];for(var w=0,x=0,_=[];x1&&void 0!==arguments[1]?arguments[1]:0;return e.substr(t,e.indexOf("{")-1)},function(e){if(e.type===d)return e.selectorText;if(e.type===m){var t=e.name;if(t)return"@keyframes "+t;var n=e.cssText;return"@"+p(n,n.indexOf("keyframes"))}return p(e.cssText)});function y(e,t){return e.selectorText=t,e.selectorText===t}var g,b,w=s((function(){return document.head||document.getElementsByTagName("head")[0]})),x=(g=void 0,b=!1,function(e){var t={};g||(g=document.createElement("style"));for(var n=0;n0){var n=function(e,t){for(var n=0;nt.index&&r.options.insertionPoint===t.insertionPoint)return r}return null}(t,e);if(n)return n.renderer.element;if(n=function(e,t){for(var n=e.length-1;n>=0;n--){var r=e[n];if(r.attached&&r.options.insertionPoint===t.insertionPoint)return r}return null}(t,e))return n.renderer.element.nextElementSibling}var r=e.insertionPoint;if(r&&"string"==typeof r){var a=function(e){for(var t=w(),n=0;ndocument.F=Object<\/script>"),e.close(),c=e.F;r--;)delete c.prototype[i[r]];return c()};e.exports=Object.create||function(e,t){var n;return null!==e?(l.prototype=r(e),n=new l,l.prototype=null,n[a]=e):n=c(),void 0===t?n:o(n,t)}},Kwbf:function(e,t,n){"use strict";var r={};function o(e,t){0}function i(e,t,n){t||r[n]||(e(!1,n),r[n]=!0)}t.a=function(e,t){i(o,e,t)}},Kx9E:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n>>0,i=n>>>0;return(t>>>0)-(r>>>0)-((~o&i|~(o^i)&o-i>>>0)>>>31)|0}})},L9s1:function(e,t,n){"use strict";var r=n("XKFU"),o=n("0sh+");r(r.P+r.F*n("UUeW")("includes"),"String",{includes:function(e){return!!~o(this,e,"includes").indexOf(e,arguments.length>1?arguments[1]:void 0)}})},"LC8+":function(e,t,n){},LFwo:function(e,t,n){"use strict";t.__esModule=!0,t.subqueryOmit=t.subquery=t.urlQueryReducer=t.urlQueryMiddleware=t.urlMultiPushInAction=t.urlMultiReplaceInAction=t.urlPushInAction=t.urlReplaceInAction=t.urlPushAction=t.urlReplaceAction=t.urlAction=t.multiPushInUrlQueryFromAction=t.pushUrlQueryFromAction=t.pushInUrlQueryFromAction=t.multiReplaceInUrlQueryFromAction=t.replaceUrlQueryFromAction=t.replaceInUrlQueryFromAction=t.RouterToUrlQuery=t.addUrlProps=t.UrlUpdateTypes=t.UrlQueryParamTypes=t.urlQueryEncoder=t.urlQueryDecoder=t.multiPushInUrlQuery=t.multiReplaceInUrlQuery=t.pushUrlQuery=t.pushInUrlQuery=t.replaceUrlQuery=t.replaceInUrlQuery=t.decode=t.encode=t.Serialize=t.configureUrlQuery=void 0;var r=n("+MfF");Object.defineProperty(t,"encode",{enumerable:!0,get:function(){return r.encode}}),Object.defineProperty(t,"decode",{enumerable:!0,get:function(){return r.decode}});var o=n("5fYu");Object.defineProperty(t,"replaceInUrlQuery",{enumerable:!0,get:function(){return o.replaceInUrlQuery}}),Object.defineProperty(t,"replaceUrlQuery",{enumerable:!0,get:function(){return o.replaceUrlQuery}}),Object.defineProperty(t,"pushInUrlQuery",{enumerable:!0,get:function(){return o.pushInUrlQuery}}),Object.defineProperty(t,"pushUrlQuery",{enumerable:!0,get:function(){return o.pushUrlQuery}}),Object.defineProperty(t,"multiReplaceInUrlQuery",{enumerable:!0,get:function(){return o.multiReplaceInUrlQuery}}),Object.defineProperty(t,"multiPushInUrlQuery",{enumerable:!0,get:function(){return o.multiPushInUrlQuery}});var i=n("Mos3");Object.defineProperty(t,"replaceInUrlQueryFromAction",{enumerable:!0,get:function(){return i.replaceInUrlQueryFromAction}}),Object.defineProperty(t,"replaceUrlQueryFromAction",{enumerable:!0,get:function(){return i.replaceUrlQueryFromAction}}),Object.defineProperty(t,"multiReplaceInUrlQueryFromAction",{enumerable:!0,get:function(){return i.multiReplaceInUrlQueryFromAction}}),Object.defineProperty(t,"pushInUrlQueryFromAction",{enumerable:!0,get:function(){return i.pushInUrlQueryFromAction}}),Object.defineProperty(t,"pushUrlQueryFromAction",{enumerable:!0,get:function(){return i.pushUrlQueryFromAction}}),Object.defineProperty(t,"multiPushInUrlQueryFromAction",{enumerable:!0,get:function(){return i.multiPushInUrlQueryFromAction}});var a=n("K7Q1");Object.defineProperty(t,"urlReplaceAction",{enumerable:!0,get:function(){return a.urlReplaceAction}}),Object.defineProperty(t,"urlPushAction",{enumerable:!0,get:function(){return a.urlPushAction}}),Object.defineProperty(t,"urlReplaceInAction",{enumerable:!0,get:function(){return a.urlReplaceInAction}}),Object.defineProperty(t,"urlPushInAction",{enumerable:!0,get:function(){return a.urlPushInAction}}),Object.defineProperty(t,"urlMultiReplaceInAction",{enumerable:!0,get:function(){return a.urlMultiReplaceInAction}}),Object.defineProperty(t,"urlMultiPushInAction",{enumerable:!0,get:function(){return a.urlMultiPushInAction}});var l=w(n("q0cm")),c=function(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}(r),s=w(n("qw/J")),u=w(n("a4qL")),f=w(n("tOWm")),h=w(n("pAdL")),p=w(n("pqSw")),d=w(n("KYhp")),m=w(a),v=w(n("QB/3")),y=w(n("rnRR")),g=w(n("JEiT")),b=w(n("Ur2m"));function w(e){return e&&e.__esModule?e:{default:e}}t.configureUrlQuery=l.default,t.Serialize=c,t.urlQueryDecoder=s.default,t.urlQueryEncoder=u.default,t.UrlQueryParamTypes=f.default,t.UrlUpdateTypes=h.default,t.addUrlProps=p.default,t.RouterToUrlQuery=d.default,t.urlAction=m.default,t.urlQueryMiddleware=v.default,t.urlQueryReducer=y.default,t.subquery=g.default,t.subqueryOmit=b.default},LIAx:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,r){function o(t){var r=new i.default(t);n.call(e,r)}if(e.addEventListener){var a=(l=!1,"object"==typeof r?l=r.capture||!1:"boolean"==typeof r&&(l=r),e.addEventListener(t,o,r||!1),{v:{remove:function(){e.removeEventListener(t,o,l)}}});if("object"==typeof a)return a.v}else if(e.attachEvent)return e.attachEvent("on"+t,o),{remove:function(){e.detachEvent("on"+t,o)}};var l};var r,o=n("E0u0"),i=(r=o)&&r.__esModule?r:{default:r};e.exports=t.default},LK8F:function(e,t,n){var r=n("XKFU");r(r.S,"Array",{isArray:n("EWmC")})},LLoX:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Vimeo=void 0;var r,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==c(e)&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o]}n.default=e,t&&t.set(e,n);return n}(n("q1tI")),i=n("tbWI"),a=(r=n("LVMo"))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:"player";return e.player?e.player.getInternalPlayer(t):null})),w(v(e),"seekTo",(function(t,n){if(!e.player)return null;e.player.seekTo(t,n)})),w(v(e),"ref",(function(t){e.player=t})),e}return function(e,t,n){t&&d(e.prototype,t);n&&d(e,n)}(c,[{key:"shouldComponentUpdate",value:function(e){return!(0,a.isEqual)(this.props,e)}},{key:"componentDidUpdate",value:function(){this.config=(0,a.getConfig)(this.props,i.defaultProps)}},{key:"render",value:function(){var t=this.config.file,n=t.forceVideo,r=t.forceAudio,c=t.forceHLS,s=t.forceDASH,f=n||r||c||s;if(!e.canPlay(this.props.url)&&!f)return null;var p=this.props,d=p.style,m=p.width,v=p.height,y=p.wrapper,g=(0,a.omit)(this.props,x,i.DEPRECATED_CONFIG_PROPS);return o.default.createElement(y,u({style:h({},d,{width:m,height:v})},g),o.default.createElement(l.default,u({},this.props,{ref:this.ref,activePlayer:e,config:this.config})))}}]),c}(o.Component),w(t,"displayName","".concat(e.displayName,"Player")),w(t,"propTypes",i.propTypes),w(t,"defaultProps",i.defaultProps),w(t,"canPlay",e.canPlay),n};var r,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==s(e)&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o]}n.default=e,t&&t.set(e,n);return n}(n("q1tI")),i=n("QXAm"),a=n("tbWI"),l=(r=n("q+qS"))&&r.__esModule?r:{default:r};function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function u(){return(u=Object.assign||function(e){for(var t=1;t22025.465794806718||n(10)<22025.465794806718||-2e-17!=n(-2e-17)?function(e){return 0==(e=+e)?e:e>-1e-6&&e<1e-6?e+e*e/2:Math.exp(e)-1}:n},LWYa:function(e,t,n){"use strict";var r=n("q1tI"),o=n.n(r),i=n("17x9"),a=n.n(i),l=n("QLaP"),c=n.n(l);function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(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 f=function(e){function t(){return s(this,t),u(this,e.apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.enable=function(e){this.unblock&&this.unblock(),this.unblock=this.context.router.history.block(e)},t.prototype.disable=function(){this.unblock&&(this.unblock(),this.unblock=null)},t.prototype.componentWillMount=function(){c()(this.context.router,"You should not use outside a "),this.props.when&&this.enable(this.props.message)},t.prototype.componentWillReceiveProps=function(e){e.when?this.props.when&&this.props.message===e.message||this.enable(e.message):this.disable()},t.prototype.componentWillUnmount=function(){this.disable()},t.prototype.render=function(){return null},t}(o.a.Component);f.propTypes={when:a.a.bool,message:a.a.oneOfType([a.a.func,a.a.string]).isRequired},f.defaultProps={when:!0},f.contextTypes={router:a.a.shape({history:a.a.shape({block:a.a.func.isRequired}).isRequired}).isRequired},t.a=f},LYNF:function(e,t,n){"use strict";var r=n("OH9c");e.exports=function(e,t,n,o,i){var a=new Error(e);return r(a,t,n,o,i)}},LZWt:function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},LacO:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={50:"#e8eaf6",100:"#c5cae9",200:"#9fa8da",300:"#7986cb",400:"#5c6bc0",500:"#3f51b5",600:"#3949ab",700:"#303f9f",800:"#283593",900:"#1a237e",A100:"#8c9eff",A200:"#536dfe",A400:"#3d5afe",A700:"#304ffe"};t.default=r},Lgjv:function(e,t,n){var r=n("ne8i"),o=n("l0Rn"),i=n("vhPU");e.exports=function(e,t,n,a){var l=String(i(e)),c=l.length,s=void 0===n?" ":String(n),u=r(t);if(u<=c||""==s)return l;var f=u-c,h=o.call(s,Math.ceil(f/s.length));return h.length>f&&(h=h.slice(0,f)),a?h+l:l+h}},LhCv:function(e,t,n){"use strict";function r(){return(r=Object.assign||function(e){for(var t=1;t=0;h--){var p=a[h];"."===p?i(a,h):".."===p?(i(a,h),f++):f&&(i(a,h),f--)}if(!s)for(;f--;f)a.unshift("..");!s||""===a[0]||a[0]&&o(a[0])||a.unshift("");var d=a.join("/");return n&&"/"!==d.substr(-1)&&(d+="/"),d};function l(e){return e.valueOf?e.valueOf():Object.prototype.valueOf.call(e)}var c=function e(t,n){if(t===n)return!0;if(null==t||null==n)return!1;if(Array.isArray(t))return Array.isArray(n)&&t.length===n.length&&t.every((function(t,r){return e(t,n[r])}));if("object"==typeof t||"object"==typeof n){var r=l(t),o=l(n);return r!==t||o!==n?e(r,o):Object.keys(Object.assign({},t,n)).every((function(r){return e(t[r],n[r])}))}return!1};var s=function(e,t){if(!e)throw new Error("Invariant failed")};function u(e){return"/"===e.charAt(0)?e:"/"+e}function f(e){return"/"===e.charAt(0)?e.substr(1):e}function h(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function p(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function d(e){var t=e||"/",n="",r="",o=t.indexOf("#");-1!==o&&(r=t.substr(o),t=t.substr(0,o));var i=t.indexOf("?");return-1!==i&&(n=t.substr(i),t=t.substr(0,i)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}function m(e){var t=e.pathname,n=e.search,r=e.hash,o=t||"/";return n&&"?"!==n&&(o+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(o+="#"===r.charAt(0)?r:"#"+r),o}function v(e,t,n,o){var i;"string"==typeof e?(i=d(e)).state=t:(void 0===(i=r({},e)).pathname&&(i.pathname=""),i.search?"?"!==i.search.charAt(0)&&(i.search="?"+i.search):i.search="",i.hash?"#"!==i.hash.charAt(0)&&(i.hash="#"+i.hash):i.hash="",void 0!==t&&void 0===i.state&&(i.state=t));try{i.pathname=decodeURI(i.pathname)}catch(e){throw e instanceof URIError?new URIError('Pathname "'+i.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):e}return n&&(i.key=n),o?i.pathname?"/"!==i.pathname.charAt(0)&&(i.pathname=a(i.pathname,o.pathname)):i.pathname=o.pathname:i.pathname||(i.pathname="/"),i}function y(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash&&e.key===t.key&&c(e.state,t.state)}function g(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,o){if(null!=e){var i="function"==typeof e?e(t,n):e;"string"==typeof i?"function"==typeof r?r(i,o):o(!0):o(!1!==i)}else o(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),r=0;rt?n.splice(t,n.length-t,r):n.push(r),f({action:"PUSH",location:r,index:t,entries:n})}}))},replace:function(e,t){var r=v(e,t,h(),w.location);u.confirmTransitionTo(r,"REPLACE",n,(function(e){e&&(w.entries[w.index]=r,f({action:"REPLACE",location:r}))}))},go:b,goBack:function(){b(-1)},goForward:function(){b(1)},canGo:function(e){var t=w.index+e;return t>=0&&t (GFM Style)",type:"boolean"},requireSpaceBeforeHeadingText:{defaultValue:!1,description:"Makes adding a space between `#` and the header text mandatory (GFM Style)",type:"boolean"},ghMentions:{defaultValue:!1,description:"Enables github @mentions",type:"boolean"},ghMentionsLink:{defaultValue:"https://github.com/{u}",description:"Changes the link generated by @mentions. Only applies if ghMentions option is enabled.",type:"string"},encodeEmails:{defaultValue:!0,description:"Encode e-mail addresses through the use of Character Entities, transforming ASCII e-mail addresses into its equivalent decimal entities",type:"boolean"},openLinksInNewWindow:{defaultValue:!1,description:"Open all links in new windows",type:"boolean"},backslashEscapesHTMLTags:{defaultValue:!1,description:"Support for HTML Tag escaping. ex:
foo
",type:"boolean"},emoji:{defaultValue:!1,description:"Enable emoji support. Ex: `this is a :smile: emoji`",type:"boolean"},underline:{defaultValue:!1,description:"Enable support for underline. Syntax is double or triple underscores: `__underline word__`. With this option enabled, underscores no longer parses into `` and ``",type:"boolean"},completeHTMLDocument:{defaultValue:!1,description:"Outputs a complete html document, including ``, `` and `` tags",type:"boolean"},metadata:{defaultValue:!1,description:"Enable support for document metadata (defined at the top of the document between `«««` and `»»»` or between `---` and `---`).",type:"boolean"},splitAdjacentBlockquotes:{defaultValue:!1,description:"Split adjacent blockquote blocks",type:"boolean"}};if(!1===e)return JSON.parse(JSON.stringify(t));var n={};for(var r in t)t.hasOwnProperty(r)&&(n[r]=t[r].defaultValue);return n}var i={},a={},l={},c=o(!0),s="vanilla",u={github:{omitExtraWLInCodeBlocks:!0,simplifiedAutoLink:!0,excludeTrailingPunctuationFromURLs:!0,literalMidWordUnderscores:!0,strikethrough:!0,tables:!0,tablesHeaderId:!0,ghCodeBlocks:!0,tasklists:!0,disableForced4SpacesIndentedSublists:!0,simpleLineBreaks:!0,requireSpaceBeforeHeadingText:!0,ghCompatibleHeaderId:!0,ghMentions:!0,backslashEscapesHTMLTags:!0,emoji:!0,splitAdjacentBlockquotes:!0},original:{noHeaderId:!0,ghCodeBlocks:!1},ghost:{omitExtraWLInCodeBlocks:!0,parseImgDimensions:!0,simplifiedAutoLink:!0,excludeTrailingPunctuationFromURLs:!0,literalMidWordUnderscores:!0,strikethrough:!0,tables:!0,tablesHeaderId:!0,ghCodeBlocks:!0,tasklists:!0,smoothLivePreview:!0,simpleLineBreaks:!0,requireSpaceBeforeHeadingText:!0,ghMentions:!1,encodeEmails:!0},vanilla:o(!0),allOn:function(){"use strict";var e=o(!0),t={};for(var n in e)e.hasOwnProperty(n)&&(t[n]=!0);return t}()};function f(e,t){"use strict";var n=t?"Error in "+t+" extension->":"Error in unnamed extension",r={valid:!0,error:""};i.helper.isArray(e)||(e=[e]);for(var o=0;o").replace(/&/g,"&")};var p=function(e,t,n,r){"use strict";var o,i,a,l,c,s=r||"",u=s.indexOf("g")>-1,f=new RegExp(t+"|"+n,"g"+s.replace(/g/g,"")),h=new RegExp(t,s.replace(/g/g,"")),p=[];do{for(o=0;a=f.exec(e);)if(h.test(a[0]))o++||(l=(i=f.lastIndex)-a[0].length);else if(o&&!--o){c=a.index+a[0].length;var d={left:{start:l,end:i},match:{start:i,end:a.index},right:{start:a.index,end:c},wholeMatch:{start:l,end:c}};if(p.push(d),!u)return p}}while(o&&(f.lastIndex=i));return p};i.helper.matchRecursiveRegExp=function(e,t,n,r){"use strict";for(var o=p(e,t,n,r),i=[],a=0;a0){var u=[];0!==l[0].wholeMatch.start&&u.push(e.slice(0,l[0].wholeMatch.start));for(var f=0;f=0?r+(n||0):r},i.helper.splitAtIndex=function(e,t){"use strict";if(!i.helper.isString(e))throw"InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string";return[e.substring(0,t),e.substring(t)]},i.helper.encodeEmailAddress=function(e){"use strict";var t=[function(e){return"&#"+e.charCodeAt(0)+";"},function(e){return"&#x"+e.charCodeAt(0).toString(16)+";"},function(e){return e}];return e=e.replace(/./g,(function(e){if("@"===e)e=t[Math.floor(2*Math.random())](e);else{var n=Math.random();e=n>.9?t[2](e):n>.45?t[1](e):t[0](e)}return e}))},i.helper.padEnd=function(e,t,n){"use strict";return t>>=0,n=String(n||" "),e.length>t?String(e):((t-=e.length)>n.length&&(n+=n.repeat(t/n.length)),String(e)+n.slice(0,t))},"undefined"==typeof console&&(console={warn:function(e){"use strict";alert(e)},log:function(e){"use strict";alert(e)},error:function(e){"use strict";throw e}}),i.helper.regexes={asteriskDashAndColon:/([*_:~])/g},i.helper.emojis={"+1":"👍","-1":"👎",100:"💯",1234:"🔢","1st_place_medal":"🥇","2nd_place_medal":"🥈","3rd_place_medal":"🥉","8ball":"🎱",a:"🅰️",ab:"🆎",abc:"🔤",abcd:"🔡",accept:"🉑",aerial_tramway:"🚡",airplane:"✈️",alarm_clock:"⏰",alembic:"⚗️",alien:"👽",ambulance:"🚑",amphora:"🏺",anchor:"⚓️",angel:"👼",anger:"💢",angry:"😠",anguished:"😧",ant:"🐜",apple:"🍎",aquarius:"♒️",aries:"♈️",arrow_backward:"◀️",arrow_double_down:"⏬",arrow_double_up:"⏫",arrow_down:"⬇️",arrow_down_small:"🔽",arrow_forward:"▶️",arrow_heading_down:"⤵️",arrow_heading_up:"⤴️",arrow_left:"⬅️",arrow_lower_left:"↙️",arrow_lower_right:"↘️",arrow_right:"➡️",arrow_right_hook:"↪️",arrow_up:"⬆️",arrow_up_down:"↕️",arrow_up_small:"🔼",arrow_upper_left:"↖️",arrow_upper_right:"↗️",arrows_clockwise:"🔃",arrows_counterclockwise:"🔄",art:"🎨",articulated_lorry:"🚛",artificial_satellite:"🛰",astonished:"😲",athletic_shoe:"👟",atm:"🏧",atom_symbol:"⚛️",avocado:"🥑",b:"🅱️",baby:"👶",baby_bottle:"🍼",baby_chick:"🐤",baby_symbol:"🚼",back:"🔙",bacon:"🥓",badminton:"🏸",baggage_claim:"🛄",baguette_bread:"🥖",balance_scale:"⚖️",balloon:"🎈",ballot_box:"🗳",ballot_box_with_check:"☑️",bamboo:"🎍",banana:"🍌",bangbang:"‼️",bank:"🏦",bar_chart:"📊",barber:"💈",baseball:"⚾️",basketball:"🏀",basketball_man:"⛹️",basketball_woman:"⛹️‍♀️",bat:"🦇",bath:"🛀",bathtub:"🛁",battery:"🔋",beach_umbrella:"🏖",bear:"🐻",bed:"🛏",bee:"🐝",beer:"🍺",beers:"🍻",beetle:"🐞",beginner:"🔰",bell:"🔔",bellhop_bell:"🛎",bento:"🍱",biking_man:"🚴",bike:"🚲",biking_woman:"🚴‍♀️",bikini:"👙",biohazard:"☣️",bird:"🐦",birthday:"🎂",black_circle:"⚫️",black_flag:"🏴",black_heart:"🖤",black_joker:"🃏",black_large_square:"⬛️",black_medium_small_square:"◾️",black_medium_square:"◼️",black_nib:"✒️",black_small_square:"▪️",black_square_button:"🔲",blonde_man:"👱",blonde_woman:"👱‍♀️",blossom:"🌼",blowfish:"🐡",blue_book:"📘",blue_car:"🚙",blue_heart:"💙",blush:"😊",boar:"🐗",boat:"⛵️",bomb:"💣",book:"📖",bookmark:"🔖",bookmark_tabs:"📑",books:"📚",boom:"💥",boot:"👢",bouquet:"💐",bowing_man:"🙇",bow_and_arrow:"🏹",bowing_woman:"🙇‍♀️",bowling:"🎳",boxing_glove:"🥊",boy:"👦",bread:"🍞",bride_with_veil:"👰",bridge_at_night:"🌉",briefcase:"💼",broken_heart:"💔",bug:"🐛",building_construction:"🏗",bulb:"💡",bullettrain_front:"🚅",bullettrain_side:"🚄",burrito:"🌯",bus:"🚌",business_suit_levitating:"🕴",busstop:"🚏",bust_in_silhouette:"👤",busts_in_silhouette:"👥",butterfly:"🦋",cactus:"🌵",cake:"🍰",calendar:"📆",call_me_hand:"🤙",calling:"📲",camel:"🐫",camera:"📷",camera_flash:"📸",camping:"🏕",cancer:"♋️",candle:"🕯",candy:"🍬",canoe:"🛶",capital_abcd:"🔠",capricorn:"♑️",car:"🚗",card_file_box:"🗃",card_index:"📇",card_index_dividers:"🗂",carousel_horse:"🎠",carrot:"🥕",cat:"🐱",cat2:"🐈",cd:"💿",chains:"⛓",champagne:"🍾",chart:"💹",chart_with_downwards_trend:"📉",chart_with_upwards_trend:"📈",checkered_flag:"🏁",cheese:"🧀",cherries:"🍒",cherry_blossom:"🌸",chestnut:"🌰",chicken:"🐔",children_crossing:"🚸",chipmunk:"🐿",chocolate_bar:"🍫",christmas_tree:"🎄",church:"⛪️",cinema:"🎦",circus_tent:"🎪",city_sunrise:"🌇",city_sunset:"🌆",cityscape:"🏙",cl:"🆑",clamp:"🗜",clap:"👏",clapper:"🎬",classical_building:"🏛",clinking_glasses:"🥂",clipboard:"📋",clock1:"🕐",clock10:"🕙",clock1030:"🕥",clock11:"🕚",clock1130:"🕦",clock12:"🕛",clock1230:"🕧",clock130:"🕜",clock2:"🕑",clock230:"🕝",clock3:"🕒",clock330:"🕞",clock4:"🕓",clock430:"🕟",clock5:"🕔",clock530:"🕠",clock6:"🕕",clock630:"🕡",clock7:"🕖",clock730:"🕢",clock8:"🕗",clock830:"🕣",clock9:"🕘",clock930:"🕤",closed_book:"📕",closed_lock_with_key:"🔐",closed_umbrella:"🌂",cloud:"☁️",cloud_with_lightning:"🌩",cloud_with_lightning_and_rain:"⛈",cloud_with_rain:"🌧",cloud_with_snow:"🌨",clown_face:"🤡",clubs:"♣️",cocktail:"🍸",coffee:"☕️",coffin:"⚰️",cold_sweat:"😰",comet:"☄️",computer:"💻",computer_mouse:"🖱",confetti_ball:"🎊",confounded:"😖",confused:"😕",congratulations:"㊗️",construction:"🚧",construction_worker_man:"👷",construction_worker_woman:"👷‍♀️",control_knobs:"🎛",convenience_store:"🏪",cookie:"🍪",cool:"🆒",policeman:"👮",copyright:"©️",corn:"🌽",couch_and_lamp:"🛋",couple:"👫",couple_with_heart_woman_man:"💑",couple_with_heart_man_man:"👨‍❤️‍👨",couple_with_heart_woman_woman:"👩‍❤️‍👩",couplekiss_man_man:"👨‍❤️‍💋‍👨",couplekiss_man_woman:"💏",couplekiss_woman_woman:"👩‍❤️‍💋‍👩",cow:"🐮",cow2:"🐄",cowboy_hat_face:"🤠",crab:"🦀",crayon:"🖍",credit_card:"💳",crescent_moon:"🌙",cricket:"🏏",crocodile:"🐊",croissant:"🥐",crossed_fingers:"🤞",crossed_flags:"🎌",crossed_swords:"⚔️",crown:"👑",cry:"😢",crying_cat_face:"😿",crystal_ball:"🔮",cucumber:"🥒",cupid:"💘",curly_loop:"➰",currency_exchange:"💱",curry:"🍛",custard:"🍮",customs:"🛃",cyclone:"🌀",dagger:"🗡",dancer:"💃",dancing_women:"👯",dancing_men:"👯‍♂️",dango:"🍡",dark_sunglasses:"🕶",dart:"🎯",dash:"💨",date:"📅",deciduous_tree:"🌳",deer:"🦌",department_store:"🏬",derelict_house:"🏚",desert:"🏜",desert_island:"🏝",desktop_computer:"🖥",male_detective:"🕵️",diamond_shape_with_a_dot_inside:"💠",diamonds:"♦️",disappointed:"😞",disappointed_relieved:"😥",dizzy:"💫",dizzy_face:"😵",do_not_litter:"🚯",dog:"🐶",dog2:"🐕",dollar:"💵",dolls:"🎎",dolphin:"🐬",door:"🚪",doughnut:"🍩",dove:"🕊",dragon:"🐉",dragon_face:"🐲",dress:"👗",dromedary_camel:"🐪",drooling_face:"🤤",droplet:"💧",drum:"🥁",duck:"🦆",dvd:"📀","e-mail":"📧",eagle:"🦅",ear:"👂",ear_of_rice:"🌾",earth_africa:"🌍",earth_americas:"🌎",earth_asia:"🌏",egg:"🥚",eggplant:"🍆",eight_pointed_black_star:"✴️",eight_spoked_asterisk:"✳️",electric_plug:"🔌",elephant:"🐘",email:"✉️",end:"🔚",envelope_with_arrow:"📩",euro:"💶",european_castle:"🏰",european_post_office:"🏤",evergreen_tree:"🌲",exclamation:"❗️",expressionless:"😑",eye:"👁",eye_speech_bubble:"👁‍🗨",eyeglasses:"👓",eyes:"👀",face_with_head_bandage:"🤕",face_with_thermometer:"🤒",fist_oncoming:"👊",factory:"🏭",fallen_leaf:"🍂",family_man_woman_boy:"👪",family_man_boy:"👨‍👦",family_man_boy_boy:"👨‍👦‍👦",family_man_girl:"👨‍👧",family_man_girl_boy:"👨‍👧‍👦",family_man_girl_girl:"👨‍👧‍👧",family_man_man_boy:"👨‍👨‍👦",family_man_man_boy_boy:"👨‍👨‍👦‍👦",family_man_man_girl:"👨‍👨‍👧",family_man_man_girl_boy:"👨‍👨‍👧‍👦",family_man_man_girl_girl:"👨‍👨‍👧‍👧",family_man_woman_boy_boy:"👨‍👩‍👦‍👦",family_man_woman_girl:"👨‍👩‍👧",family_man_woman_girl_boy:"👨‍👩‍👧‍👦",family_man_woman_girl_girl:"👨‍👩‍👧‍👧",family_woman_boy:"👩‍👦",family_woman_boy_boy:"👩‍👦‍👦",family_woman_girl:"👩‍👧",family_woman_girl_boy:"👩‍👧‍👦",family_woman_girl_girl:"👩‍👧‍👧",family_woman_woman_boy:"👩‍👩‍👦",family_woman_woman_boy_boy:"👩‍👩‍👦‍👦",family_woman_woman_girl:"👩‍👩‍👧",family_woman_woman_girl_boy:"👩‍👩‍👧‍👦",family_woman_woman_girl_girl:"👩‍👩‍👧‍👧",fast_forward:"⏩",fax:"📠",fearful:"😨",feet:"🐾",female_detective:"🕵️‍♀️",ferris_wheel:"🎡",ferry:"⛴",field_hockey:"🏑",file_cabinet:"🗄",file_folder:"📁",film_projector:"📽",film_strip:"🎞",fire:"🔥",fire_engine:"🚒",fireworks:"🎆",first_quarter_moon:"🌓",first_quarter_moon_with_face:"🌛",fish:"🐟",fish_cake:"🍥",fishing_pole_and_fish:"🎣",fist_raised:"✊",fist_left:"🤛",fist_right:"🤜",flags:"🎏",flashlight:"🔦",fleur_de_lis:"⚜️",flight_arrival:"🛬",flight_departure:"🛫",floppy_disk:"💾",flower_playing_cards:"🎴",flushed:"😳",fog:"🌫",foggy:"🌁",football:"🏈",footprints:"👣",fork_and_knife:"🍴",fountain:"⛲️",fountain_pen:"🖋",four_leaf_clover:"🍀",fox_face:"🦊",framed_picture:"🖼",free:"🆓",fried_egg:"🍳",fried_shrimp:"🍤",fries:"🍟",frog:"🐸",frowning:"😦",frowning_face:"☹️",frowning_man:"🙍‍♂️",frowning_woman:"🙍",middle_finger:"🖕",fuelpump:"⛽️",full_moon:"🌕",full_moon_with_face:"🌝",funeral_urn:"⚱️",game_die:"🎲",gear:"⚙️",gem:"💎",gemini:"♊️",ghost:"👻",gift:"🎁",gift_heart:"💝",girl:"👧",globe_with_meridians:"🌐",goal_net:"🥅",goat:"🐐",golf:"⛳️",golfing_man:"🏌️",golfing_woman:"🏌️‍♀️",gorilla:"🦍",grapes:"🍇",green_apple:"🍏",green_book:"📗",green_heart:"💚",green_salad:"🥗",grey_exclamation:"❕",grey_question:"❔",grimacing:"😬",grin:"😁",grinning:"😀",guardsman:"💂",guardswoman:"💂‍♀️",guitar:"🎸",gun:"🔫",haircut_woman:"💇",haircut_man:"💇‍♂️",hamburger:"🍔",hammer:"🔨",hammer_and_pick:"⚒",hammer_and_wrench:"🛠",hamster:"🐹",hand:"✋",handbag:"👜",handshake:"🤝",hankey:"💩",hatched_chick:"🐥",hatching_chick:"🐣",headphones:"🎧",hear_no_evil:"🙉",heart:"❤️",heart_decoration:"💟",heart_eyes:"😍",heart_eyes_cat:"😻",heartbeat:"💓",heartpulse:"💗",hearts:"♥️",heavy_check_mark:"✔️",heavy_division_sign:"➗",heavy_dollar_sign:"💲",heavy_heart_exclamation:"❣️",heavy_minus_sign:"➖",heavy_multiplication_x:"✖️",heavy_plus_sign:"➕",helicopter:"🚁",herb:"🌿",hibiscus:"🌺",high_brightness:"🔆",high_heel:"👠",hocho:"🔪",hole:"🕳",honey_pot:"🍯",horse:"🐴",horse_racing:"🏇",hospital:"🏥",hot_pepper:"🌶",hotdog:"🌭",hotel:"🏨",hotsprings:"♨️",hourglass:"⌛️",hourglass_flowing_sand:"⏳",house:"🏠",house_with_garden:"🏡",houses:"🏘",hugs:"🤗",hushed:"😯",ice_cream:"🍨",ice_hockey:"🏒",ice_skate:"⛸",icecream:"🍦",id:"🆔",ideograph_advantage:"🉐",imp:"👿",inbox_tray:"📥",incoming_envelope:"📨",tipping_hand_woman:"💁",information_source:"ℹ️",innocent:"😇",interrobang:"⁉️",iphone:"📱",izakaya_lantern:"🏮",jack_o_lantern:"🎃",japan:"🗾",japanese_castle:"🏯",japanese_goblin:"👺",japanese_ogre:"👹",jeans:"👖",joy:"😂",joy_cat:"😹",joystick:"🕹",kaaba:"🕋",key:"🔑",keyboard:"⌨️",keycap_ten:"🔟",kick_scooter:"🛴",kimono:"👘",kiss:"💋",kissing:"😗",kissing_cat:"😽",kissing_closed_eyes:"😚",kissing_heart:"😘",kissing_smiling_eyes:"😙",kiwi_fruit:"🥝",koala:"🐨",koko:"🈁",label:"🏷",large_blue_circle:"🔵",large_blue_diamond:"🔷",large_orange_diamond:"🔶",last_quarter_moon:"🌗",last_quarter_moon_with_face:"🌜",latin_cross:"✝️",laughing:"😆",leaves:"🍃",ledger:"📒",left_luggage:"🛅",left_right_arrow:"↔️",leftwards_arrow_with_hook:"↩️",lemon:"🍋",leo:"♌️",leopard:"🐆",level_slider:"🎚",libra:"♎️",light_rail:"🚈",link:"🔗",lion:"🦁",lips:"👄",lipstick:"💄",lizard:"🦎",lock:"🔒",lock_with_ink_pen:"🔏",lollipop:"🍭",loop:"➿",loud_sound:"🔊",loudspeaker:"📢",love_hotel:"🏩",love_letter:"💌",low_brightness:"🔅",lying_face:"🤥",m:"Ⓜ️",mag:"🔍",mag_right:"🔎",mahjong:"🀄️",mailbox:"📫",mailbox_closed:"📪",mailbox_with_mail:"📬",mailbox_with_no_mail:"📭",man:"👨",man_artist:"👨‍🎨",man_astronaut:"👨‍🚀",man_cartwheeling:"🤸‍♂️",man_cook:"👨‍🍳",man_dancing:"🕺",man_facepalming:"🤦‍♂️",man_factory_worker:"👨‍🏭",man_farmer:"👨‍🌾",man_firefighter:"👨‍🚒",man_health_worker:"👨‍⚕️",man_in_tuxedo:"🤵",man_judge:"👨‍⚖️",man_juggling:"🤹‍♂️",man_mechanic:"👨‍🔧",man_office_worker:"👨‍💼",man_pilot:"👨‍✈️",man_playing_handball:"🤾‍♂️",man_playing_water_polo:"🤽‍♂️",man_scientist:"👨‍🔬",man_shrugging:"🤷‍♂️",man_singer:"👨‍🎤",man_student:"👨‍🎓",man_teacher:"👨‍🏫",man_technologist:"👨‍💻",man_with_gua_pi_mao:"👲",man_with_turban:"👳",tangerine:"🍊",mans_shoe:"👞",mantelpiece_clock:"🕰",maple_leaf:"🍁",martial_arts_uniform:"🥋",mask:"😷",massage_woman:"💆",massage_man:"💆‍♂️",meat_on_bone:"🍖",medal_military:"🎖",medal_sports:"🏅",mega:"📣",melon:"🍈",memo:"📝",men_wrestling:"🤼‍♂️",menorah:"🕎",mens:"🚹",metal:"🤘",metro:"🚇",microphone:"🎤",microscope:"🔬",milk_glass:"🥛",milky_way:"🌌",minibus:"🚐",minidisc:"💽",mobile_phone_off:"📴",money_mouth_face:"🤑",money_with_wings:"💸",moneybag:"💰",monkey:"🐒",monkey_face:"🐵",monorail:"🚝",moon:"🌔",mortar_board:"🎓",mosque:"🕌",motor_boat:"🛥",motor_scooter:"🛵",motorcycle:"🏍",motorway:"🛣",mount_fuji:"🗻",mountain:"⛰",mountain_biking_man:"🚵",mountain_biking_woman:"🚵‍♀️",mountain_cableway:"🚠",mountain_railway:"🚞",mountain_snow:"🏔",mouse:"🐭",mouse2:"🐁",movie_camera:"🎥",moyai:"🗿",mrs_claus:"🤶",muscle:"💪",mushroom:"🍄",musical_keyboard:"🎹",musical_note:"🎵",musical_score:"🎼",mute:"🔇",nail_care:"💅",name_badge:"📛",national_park:"🏞",nauseated_face:"🤢",necktie:"👔",negative_squared_cross_mark:"❎",nerd_face:"🤓",neutral_face:"😐",new:"🆕",new_moon:"🌑",new_moon_with_face:"🌚",newspaper:"📰",newspaper_roll:"🗞",next_track_button:"⏭",ng:"🆖",no_good_man:"🙅‍♂️",no_good_woman:"🙅",night_with_stars:"🌃",no_bell:"🔕",no_bicycles:"🚳",no_entry:"⛔️",no_entry_sign:"🚫",no_mobile_phones:"📵",no_mouth:"😶",no_pedestrians:"🚷",no_smoking:"🚭","non-potable_water":"🚱",nose:"👃",notebook:"📓",notebook_with_decorative_cover:"📔",notes:"🎶",nut_and_bolt:"🔩",o:"⭕️",o2:"🅾️",ocean:"🌊",octopus:"🐙",oden:"🍢",office:"🏢",oil_drum:"🛢",ok:"🆗",ok_hand:"👌",ok_man:"🙆‍♂️",ok_woman:"🙆",old_key:"🗝",older_man:"👴",older_woman:"👵",om:"🕉",on:"🔛",oncoming_automobile:"🚘",oncoming_bus:"🚍",oncoming_police_car:"🚔",oncoming_taxi:"🚖",open_file_folder:"📂",open_hands:"👐",open_mouth:"😮",open_umbrella:"☂️",ophiuchus:"⛎",orange_book:"📙",orthodox_cross:"☦️",outbox_tray:"📤",owl:"🦉",ox:"🐂",package:"📦",page_facing_up:"📄",page_with_curl:"📃",pager:"📟",paintbrush:"🖌",palm_tree:"🌴",pancakes:"🥞",panda_face:"🐼",paperclip:"📎",paperclips:"🖇",parasol_on_ground:"⛱",parking:"🅿️",part_alternation_mark:"〽️",partly_sunny:"⛅️",passenger_ship:"🛳",passport_control:"🛂",pause_button:"⏸",peace_symbol:"☮️",peach:"🍑",peanuts:"🥜",pear:"🍐",pen:"🖊",pencil2:"✏️",penguin:"🐧",pensive:"😔",performing_arts:"🎭",persevere:"😣",person_fencing:"🤺",pouting_woman:"🙎",phone:"☎️",pick:"⛏",pig:"🐷",pig2:"🐖",pig_nose:"🐽",pill:"💊",pineapple:"🍍",ping_pong:"🏓",pisces:"♓️",pizza:"🍕",place_of_worship:"🛐",plate_with_cutlery:"🍽",play_or_pause_button:"⏯",point_down:"👇",point_left:"👈",point_right:"👉",point_up:"☝️",point_up_2:"👆",police_car:"🚓",policewoman:"👮‍♀️",poodle:"🐩",popcorn:"🍿",post_office:"🏣",postal_horn:"📯",postbox:"📮",potable_water:"🚰",potato:"🥔",pouch:"👝",poultry_leg:"🍗",pound:"💷",rage:"😡",pouting_cat:"😾",pouting_man:"🙎‍♂️",pray:"🙏",prayer_beads:"📿",pregnant_woman:"🤰",previous_track_button:"⏮",prince:"🤴",princess:"👸",printer:"🖨",purple_heart:"💜",purse:"👛",pushpin:"📌",put_litter_in_its_place:"🚮",question:"❓",rabbit:"🐰",rabbit2:"🐇",racehorse:"🐎",racing_car:"🏎",radio:"📻",radio_button:"🔘",radioactive:"☢️",railway_car:"🚃",railway_track:"🛤",rainbow:"🌈",rainbow_flag:"🏳️‍🌈",raised_back_of_hand:"🤚",raised_hand_with_fingers_splayed:"🖐",raised_hands:"🙌",raising_hand_woman:"🙋",raising_hand_man:"🙋‍♂️",ram:"🐏",ramen:"🍜",rat:"🐀",record_button:"⏺",recycle:"♻️",red_circle:"🔴",registered:"®️",relaxed:"☺️",relieved:"😌",reminder_ribbon:"🎗",repeat:"🔁",repeat_one:"🔂",rescue_worker_helmet:"⛑",restroom:"🚻",revolving_hearts:"💞",rewind:"⏪",rhinoceros:"🦏",ribbon:"🎀",rice:"🍚",rice_ball:"🍙",rice_cracker:"🍘",rice_scene:"🎑",right_anger_bubble:"🗯",ring:"💍",robot:"🤖",rocket:"🚀",rofl:"🤣",roll_eyes:"🙄",roller_coaster:"🎢",rooster:"🐓",rose:"🌹",rosette:"🏵",rotating_light:"🚨",round_pushpin:"📍",rowing_man:"🚣",rowing_woman:"🚣‍♀️",rugby_football:"🏉",running_man:"🏃",running_shirt_with_sash:"🎽",running_woman:"🏃‍♀️",sa:"🈂️",sagittarius:"♐️",sake:"🍶",sandal:"👡",santa:"🎅",satellite:"📡",saxophone:"🎷",school:"🏫",school_satchel:"🎒",scissors:"✂️",scorpion:"🦂",scorpius:"♏️",scream:"😱",scream_cat:"🙀",scroll:"📜",seat:"💺",secret:"㊙️",see_no_evil:"🙈",seedling:"🌱",selfie:"🤳",shallow_pan_of_food:"🥘",shamrock:"☘️",shark:"🦈",shaved_ice:"🍧",sheep:"🐑",shell:"🐚",shield:"🛡",shinto_shrine:"⛩",ship:"🚢",shirt:"👕",shopping:"🛍",shopping_cart:"🛒",shower:"🚿",shrimp:"🦐",signal_strength:"📶",six_pointed_star:"🔯",ski:"🎿",skier:"⛷",skull:"💀",skull_and_crossbones:"☠️",sleeping:"😴",sleeping_bed:"🛌",sleepy:"😪",slightly_frowning_face:"🙁",slightly_smiling_face:"🙂",slot_machine:"🎰",small_airplane:"🛩",small_blue_diamond:"🔹",small_orange_diamond:"🔸",small_red_triangle:"🔺",small_red_triangle_down:"🔻",smile:"😄",smile_cat:"😸",smiley:"😃",smiley_cat:"😺",smiling_imp:"😈",smirk:"😏",smirk_cat:"😼",smoking:"🚬",snail:"🐌",snake:"🐍",sneezing_face:"🤧",snowboarder:"🏂",snowflake:"❄️",snowman:"⛄️",snowman_with_snow:"☃️",sob:"😭",soccer:"⚽️",soon:"🔜",sos:"🆘",sound:"🔉",space_invader:"👾",spades:"♠️",spaghetti:"🍝",sparkle:"❇️",sparkler:"🎇",sparkles:"✨",sparkling_heart:"💖",speak_no_evil:"🙊",speaker:"🔈",speaking_head:"🗣",speech_balloon:"💬",speedboat:"🚤",spider:"🕷",spider_web:"🕸",spiral_calendar:"🗓",spiral_notepad:"🗒",spoon:"🥄",squid:"🦑",stadium:"🏟",star:"⭐️",star2:"🌟",star_and_crescent:"☪️",star_of_david:"✡️",stars:"🌠",station:"🚉",statue_of_liberty:"🗽",steam_locomotive:"🚂",stew:"🍲",stop_button:"⏹",stop_sign:"🛑",stopwatch:"⏱",straight_ruler:"📏",strawberry:"🍓",stuck_out_tongue:"😛",stuck_out_tongue_closed_eyes:"😝",stuck_out_tongue_winking_eye:"😜",studio_microphone:"🎙",stuffed_flatbread:"🥙",sun_behind_large_cloud:"🌥",sun_behind_rain_cloud:"🌦",sun_behind_small_cloud:"🌤",sun_with_face:"🌞",sunflower:"🌻",sunglasses:"😎",sunny:"☀️",sunrise:"🌅",sunrise_over_mountains:"🌄",surfing_man:"🏄",surfing_woman:"🏄‍♀️",sushi:"🍣",suspension_railway:"🚟",sweat:"😓",sweat_drops:"💦",sweat_smile:"😅",sweet_potato:"🍠",swimming_man:"🏊",swimming_woman:"🏊‍♀️",symbols:"🔣",synagogue:"🕍",syringe:"💉",taco:"🌮",tada:"🎉",tanabata_tree:"🎋",taurus:"♉️",taxi:"🚕",tea:"🍵",telephone_receiver:"📞",telescope:"🔭",tennis:"🎾",tent:"⛺️",thermometer:"🌡",thinking:"🤔",thought_balloon:"💭",ticket:"🎫",tickets:"🎟",tiger:"🐯",tiger2:"🐅",timer_clock:"⏲",tipping_hand_man:"💁‍♂️",tired_face:"😫",tm:"™️",toilet:"🚽",tokyo_tower:"🗼",tomato:"🍅",tongue:"👅",top:"🔝",tophat:"🎩",tornado:"🌪",trackball:"🖲",tractor:"🚜",traffic_light:"🚥",train:"🚋",train2:"🚆",tram:"🚊",triangular_flag_on_post:"🚩",triangular_ruler:"📐",trident:"🔱",triumph:"😤",trolleybus:"🚎",trophy:"🏆",tropical_drink:"🍹",tropical_fish:"🐠",truck:"🚚",trumpet:"🎺",tulip:"🌷",tumbler_glass:"🥃",turkey:"🦃",turtle:"🐢",tv:"📺",twisted_rightwards_arrows:"🔀",two_hearts:"💕",two_men_holding_hands:"👬",two_women_holding_hands:"👭",u5272:"🈹",u5408:"🈴",u55b6:"🈺",u6307:"🈯️",u6708:"🈷️",u6709:"🈶",u6e80:"🈵",u7121:"🈚️",u7533:"🈸",u7981:"🈲",u7a7a:"🈳",umbrella:"☔️",unamused:"😒",underage:"🔞",unicorn:"🦄",unlock:"🔓",up:"🆙",upside_down_face:"🙃",v:"✌️",vertical_traffic_light:"🚦",vhs:"📼",vibration_mode:"📳",video_camera:"📹",video_game:"🎮",violin:"🎻",virgo:"♍️",volcano:"🌋",volleyball:"🏐",vs:"🆚",vulcan_salute:"🖖",walking_man:"🚶",walking_woman:"🚶‍♀️",waning_crescent_moon:"🌘",waning_gibbous_moon:"🌖",warning:"⚠️",wastebasket:"🗑",watch:"⌚️",water_buffalo:"🐃",watermelon:"🍉",wave:"👋",wavy_dash:"〰️",waxing_crescent_moon:"🌒",wc:"🚾",weary:"😩",wedding:"💒",weight_lifting_man:"🏋️",weight_lifting_woman:"🏋️‍♀️",whale:"🐳",whale2:"🐋",wheel_of_dharma:"☸️",wheelchair:"♿️",white_check_mark:"✅",white_circle:"⚪️",white_flag:"🏳️",white_flower:"💮",white_large_square:"⬜️",white_medium_small_square:"◽️",white_medium_square:"◻️",white_small_square:"▫️",white_square_button:"🔳",wilted_flower:"🥀",wind_chime:"🎐",wind_face:"🌬",wine_glass:"🍷",wink:"😉",wolf:"🐺",woman:"👩",woman_artist:"👩‍🎨",woman_astronaut:"👩‍🚀",woman_cartwheeling:"🤸‍♀️",woman_cook:"👩‍🍳",woman_facepalming:"🤦‍♀️",woman_factory_worker:"👩‍🏭",woman_farmer:"👩‍🌾",woman_firefighter:"👩‍🚒",woman_health_worker:"👩‍⚕️",woman_judge:"👩‍⚖️",woman_juggling:"🤹‍♀️",woman_mechanic:"👩‍🔧",woman_office_worker:"👩‍💼",woman_pilot:"👩‍✈️",woman_playing_handball:"🤾‍♀️",woman_playing_water_polo:"🤽‍♀️",woman_scientist:"👩‍🔬",woman_shrugging:"🤷‍♀️",woman_singer:"👩‍🎤",woman_student:"👩‍🎓",woman_teacher:"👩‍🏫",woman_technologist:"👩‍💻",woman_with_turban:"👳‍♀️",womans_clothes:"👚",womans_hat:"👒",women_wrestling:"🤼‍♀️",womens:"🚺",world_map:"🗺",worried:"😟",wrench:"🔧",writing_hand:"✍️",x:"❌",yellow_heart:"💛",yen:"💴",yin_yang:"☯️",yum:"😋",zap:"⚡️",zipper_mouth_face:"🤐",zzz:"💤",octocat:':octocat:',showdown:"S"},i.Converter=function(e){"use strict";var t={},n=[],r=[],o={},a=s,h={parsed:{},raw:"",format:""};function p(e,t){if(t=t||null,i.helper.isString(e)){if(t=e=i.helper.stdExtName(e),i.extensions[e])return console.warn("DEPRECATION WARNING: "+e+" is an old extension that uses a deprecated loading method.Please inform the developer that the extension should be updated!"),void function(e,t){"function"==typeof e&&(e=e(new i.Converter));i.helper.isArray(e)||(e=[e]);var o=f(e,t);if(!o.valid)throw Error(o.error);for(var a=0;a[ \t]+¨NBSP;<"),!t){if(!window||!window.document)throw new Error("HTMLParser is undefined. If in a webworker or nodejs environment, you need to provide a WHATWG DOM and HTML such as JSDOM");t=window.document}var n=t.createElement("div");n.innerHTML=e;var r={preList:function(e){for(var t=e.querySelectorAll("pre"),n=[],r=0;r'}else n.push(t[r].innerHTML),t[r].innerHTML="",t[r].setAttribute("prenum",r.toString());return n}(n)};!function e(t){for(var n=0;n? ?(['"].*['"])?\)$/m)>-1)a="";else if(!a){if(o||(o=r.toLowerCase().replace(/ ?\n/g," ")),a="#"+o,i.helper.isUndefined(n.gUrls[o]))return e;a=n.gUrls[o],i.helper.isUndefined(n.gTitles[o])||(s=n.gTitles[o])}var u='
"};return e=(e=(e=(e=(e=n.converter._dispatch("anchors.before",e,t,n)).replace(/\[((?:\[[^\]]*]|[^\[\]])*)] ?(?:\n *)?\[(.*?)]()()()()/g,r)).replace(/\[((?:\[[^\]]*]|[^\[\]])*)]()[ \t]*\([ \t]?<([^>]*)>(?:[ \t]*((["'])([^"]*?)\5))?[ \t]?\)/g,r)).replace(/\[((?:\[[^\]]*]|[^\[\]])*)]()[ \t]*\([ \t]??(?:[ \t]*((["'])([^"]*?)\5))?[ \t]?\)/g,r)).replace(/\[([^\[\]]+)]()()()()()/g,r),t.ghMentions&&(e=e.replace(/(^|\s)(\\)?(@([a-z\d]+(?:[a-z\d.-]+?[a-z\d]+)*))/gim,(function(e,n,r,o,a){if("\\"===r)return n+o;if(!i.helper.isString(t.ghMentionsLink))throw new Error("ghMentionsLink option must be a string");var l=t.ghMentionsLink.replace(/\{u}/g,a),c="";return t.openLinksInNewWindow&&(c=' rel="noopener noreferrer" target="¨E95Eblank"'),n+'"+o+""}))),e=n.converter._dispatch("anchors.after",e,t,n)}));var d=/([*~_]+|\b)(((https?|ftp|dict):\/\/|www\.)[^'">\s]+?\.[^'">\s]+?)()(\1)?(?=\s|$)(?!["<>])/gi,m=/([*~_]+|\b)(((https?|ftp|dict):\/\/|www\.)[^'">\s]+\.[^'">\s]+?)([.!?,()\[\]])?(\1)?(?=\s|$)(?!["<>])/gi,v=/()<(((https?|ftp|dict):\/\/|www\.)[^'">\s]+)()>()/gi,y=/(^|\s)(?:mailto:)?([A-Za-z0-9!#$%&'*+-/=?^_`{|}~.]+@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)(?=$|\s)/gim,g=/<()(?:mailto:)?([-.\w]+@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)>/gi,b=function(e){"use strict";return function(t,n,r,o,a,l,c){var s=r=r.replace(i.helper.regexes.asteriskDashAndColon,i.helper.escapeCharactersCallback),u="",f="",h=n||"",p=c||"";return/^www\./i.test(r)&&(r=r.replace(/^www\./i,"http://www.")),e.excludeTrailingPunctuationFromURLs&&l&&(u=l),e.openLinksInNewWindow&&(f=' rel="noopener noreferrer" target="¨E95Eblank"'),h+'"+s+""+u+p}},w=function(e,t){"use strict";return function(n,r,o){var a="mailto:";return r=r||"",o=i.subParser("unescapeSpecialChars")(o,e,t),e.encodeEmails?(a=i.helper.encodeEmailAddress(a+o),o=i.helper.encodeEmailAddress(o)):a+=o,r+''+o+""}};i.subParser("autoLinks",(function(e,t,n){"use strict";return e=(e=(e=n.converter._dispatch("autoLinks.before",e,t,n)).replace(v,b(t))).replace(g,w(t,n)),e=n.converter._dispatch("autoLinks.after",e,t,n)})),i.subParser("simplifiedAutoLinks",(function(e,t,n){"use strict";return t.simplifiedAutoLink?(e=n.converter._dispatch("simplifiedAutoLinks.before",e,t,n),e=(e=t.excludeTrailingPunctuationFromURLs?e.replace(m,b(t)):e.replace(d,b(t))).replace(y,w(t,n)),e=n.converter._dispatch("simplifiedAutoLinks.after",e,t,n)):e})),i.subParser("blockGamut",(function(e,t,n){"use strict";return e=n.converter._dispatch("blockGamut.before",e,t,n),e=i.subParser("blockQuotes")(e,t,n),e=i.subParser("headers")(e,t,n),e=i.subParser("horizontalRule")(e,t,n),e=i.subParser("lists")(e,t,n),e=i.subParser("codeBlocks")(e,t,n),e=i.subParser("tables")(e,t,n),e=i.subParser("hashHTMLBlocks")(e,t,n),e=i.subParser("paragraphs")(e,t,n),e=n.converter._dispatch("blockGamut.after",e,t,n)})),i.subParser("blockQuotes",(function(e,t,n){"use strict";e=n.converter._dispatch("blockQuotes.before",e,t,n),e+="\n\n";var r=/(^ {0,3}>[ \t]?.+\n(.+\n)*\n*)+/gm;return t.splitAdjacentBlockquotes&&(r=/^ {0,3}>[\s\S]*?(?:\n\n)/gm),e=e.replace(r,(function(e){return e=(e=(e=e.replace(/^[ \t]*>[ \t]?/gm,"")).replace(/¨0/g,"")).replace(/^[ \t]+$/gm,""),e=i.subParser("githubCodeBlocks")(e,t,n),e=(e=(e=i.subParser("blockGamut")(e,t,n)).replace(/(^|\n)/g,"$1 ")).replace(/(\s*
[^\r]+?<\/pre>)/gm,(function(e,t){var n=t;return n=(n=n.replace(/^  /gm,"¨0")).replace(/¨0/g,"")})),i.subParser("hashBlock")("
\n"+e+"\n
",t,n)})),e=n.converter._dispatch("blockQuotes.after",e,t,n)})),i.subParser("codeBlocks",(function(e,t,n){"use strict";e=n.converter._dispatch("codeBlocks.before",e,t,n);return e=(e=(e+="¨0").replace(/(?:\n\n|^)((?:(?:[ ]{4}|\t).*\n+)+)(\n*[ ]{0,3}[^ \t\n]|(?=¨0))/g,(function(e,r,o){var a=r,l=o,c="\n";return a=i.subParser("outdent")(a,t,n),a=i.subParser("encodeCode")(a,t,n),a=(a=(a=i.subParser("detab")(a,t,n)).replace(/^\n+/g,"")).replace(/\n+$/g,""),t.omitExtraWLInCodeBlocks&&(c=""),a="
"+a+c+"
",i.subParser("hashBlock")(a,t,n)+l}))).replace(/¨0/,""),e=n.converter._dispatch("codeBlocks.after",e,t,n)})),i.subParser("codeSpans",(function(e,t,n){"use strict";return void 0===(e=n.converter._dispatch("codeSpans.before",e,t,n))&&(e=""),e=e.replace(/(^|[^\\])(`+)([^\r]*?[^`])\2(?!`)/gm,(function(e,r,o,a){var l=a;return l=(l=l.replace(/^([ \t]*)/g,"")).replace(/[ \t]*$/g,""),l=r+""+(l=i.subParser("encodeCode")(l,t,n))+"",l=i.subParser("hashHTMLSpans")(l,t,n)})),e=n.converter._dispatch("codeSpans.after",e,t,n)})),i.subParser("completeHTMLDocument",(function(e,t,n){"use strict";if(!t.completeHTMLDocument)return e;e=n.converter._dispatch("completeHTMLDocument.before",e,t,n);var r="html",o="\n",i="",a='\n',l="",c="";for(var s in void 0!==n.metadata.parsed.doctype&&(o="\n","html"!==(r=n.metadata.parsed.doctype.toString().toLowerCase())&&"html5"!==r||(a='')),n.metadata.parsed)if(n.metadata.parsed.hasOwnProperty(s))switch(s.toLowerCase()){case"doctype":break;case"title":i=""+n.metadata.parsed.title+"\n";break;case"charset":a="html"===r||"html5"===r?'\n':'\n';break;case"language":case"lang":l=' lang="'+n.metadata.parsed[s]+'"',c+='\n';break;default:c+='\n'}return e=o+"\n\n"+i+a+c+"\n\n"+e.trim()+"\n\n",e=n.converter._dispatch("completeHTMLDocument.after",e,t,n)})),i.subParser("detab",(function(e,t,n){"use strict";return e=(e=(e=(e=(e=(e=n.converter._dispatch("detab.before",e,t,n)).replace(/\t(?=\t)/g," ")).replace(/\t/g,"¨A¨B")).replace(/¨B(.+?)¨A/g,(function(e,t){for(var n=t,r=4-n.length%4,o=0;o/g,">"),e=n.converter._dispatch("encodeAmpsAndAngles.after",e,t,n)})),i.subParser("encodeBackslashEscapes",(function(e,t,n){"use strict";return e=(e=(e=n.converter._dispatch("encodeBackslashEscapes.before",e,t,n)).replace(/\\(\\)/g,i.helper.escapeCharactersCallback)).replace(/\\([`*_{}\[\]()>#+.!~=|-])/g,i.helper.escapeCharactersCallback),e=n.converter._dispatch("encodeBackslashEscapes.after",e,t,n)})),i.subParser("encodeCode",(function(e,t,n){"use strict";return e=(e=n.converter._dispatch("encodeCode.before",e,t,n)).replace(/&/g,"&").replace(//g,">").replace(/([*_{}\[\]\\=~-])/g,i.helper.escapeCharactersCallback),e=n.converter._dispatch("encodeCode.after",e,t,n)})),i.subParser("escapeSpecialCharsWithinTagAttributes",(function(e,t,n){"use strict";return e=(e=(e=n.converter._dispatch("escapeSpecialCharsWithinTagAttributes.before",e,t,n)).replace(/<\/?[a-z\d_:-]+(?:[\s]+[\s\S]+?)?>/gi,(function(e){return e.replace(/(.)<\/?code>(?=.)/g,"$1`").replace(/([\\`*_~=|])/g,i.helper.escapeCharactersCallback)}))).replace(/-]|-[^>])(?:[^-]|-[^-])*)--)>/gi,(function(e){return e.replace(/([\\`*_~=|])/g,i.helper.escapeCharactersCallback)})),e=n.converter._dispatch("escapeSpecialCharsWithinTagAttributes.after",e,t,n)})),i.subParser("githubCodeBlocks",(function(e,t,n){"use strict";return t.ghCodeBlocks?(e=n.converter._dispatch("githubCodeBlocks.before",e,t,n),e=(e=(e+="¨0").replace(/(?:^|\n)(?: {0,3})(```+|~~~+)(?: *)([^\s`~]*)\n([\s\S]*?)\n(?: {0,3})\1/g,(function(e,r,o,a){var l=t.omitExtraWLInCodeBlocks?"":"\n";return a=i.subParser("encodeCode")(a,t,n),a="
"+(a=(a=(a=i.subParser("detab")(a,t,n)).replace(/^\n+/g,"")).replace(/\n+$/g,""))+l+"
",a=i.subParser("hashBlock")(a,t,n),"\n\n¨G"+(n.ghCodeBlocks.push({text:e,codeblock:a})-1)+"G\n\n"}))).replace(/¨0/,""),n.converter._dispatch("githubCodeBlocks.after",e,t,n)):e})),i.subParser("hashBlock",(function(e,t,n){"use strict";return e=(e=n.converter._dispatch("hashBlock.before",e,t,n)).replace(/(^\n+|\n+$)/g,""),e="\n\n¨K"+(n.gHtmlBlocks.push(e)-1)+"K\n\n",e=n.converter._dispatch("hashBlock.after",e,t,n)})),i.subParser("hashCodeTags",(function(e,t,n){"use strict";e=n.converter._dispatch("hashCodeTags.before",e,t,n);return e=i.helper.replaceRecursiveRegExp(e,(function(e,r,o,a){var l=o+i.subParser("encodeCode")(r,t,n)+a;return"¨C"+(n.gHtmlSpans.push(l)-1)+"C"}),"]*>","","gim"),e=n.converter._dispatch("hashCodeTags.after",e,t,n)})),i.subParser("hashElement",(function(e,t,n){"use strict";return function(e,t){var r=t;return r=(r=(r=r.replace(/\n\n/g,"\n")).replace(/^\n/,"")).replace(/\n+$/g,""),r="\n\n¨K"+(n.gHtmlBlocks.push(r)-1)+"K\n\n"}})),i.subParser("hashHTMLBlocks",(function(e,t,n){"use strict";e=n.converter._dispatch("hashHTMLBlocks.before",e,t,n);var r=["pre","div","h1","h2","h3","h4","h5","h6","blockquote","table","dl","ol","ul","script","noscript","form","fieldset","iframe","math","style","section","header","footer","nav","article","aside","address","audio","canvas","figure","hgroup","output","video","p"],o=function(e,t,r,o){var i=e;return-1!==r.search(/\bmarkdown\b/)&&(i=r+n.converter.makeHtml(t)+o),"\n\n¨K"+(n.gHtmlBlocks.push(i)-1)+"K\n\n"};t.backslashEscapesHTMLTags&&(e=e.replace(/\\<(\/?[^>]+?)>/g,(function(e,t){return"<"+t+">"})));for(var a=0;a]*>)","im"),s="<"+r[a]+"\\b[^>]*>",u="";-1!==(l=i.helper.regexIndexOf(e,c));){var f=i.helper.splitAtIndex(e,l),h=i.helper.replaceRecursiveRegExp(f[1],o,s,u,"im");if(h===f[1])break;e=f[0].concat(h)}return e=e.replace(/(\n {0,3}(<(hr)\b([^<>])*?\/?>)[ \t]*(?=\n{2,}))/g,i.subParser("hashElement")(e,t,n)),e=(e=i.helper.replaceRecursiveRegExp(e,(function(e){return"\n\n¨K"+(n.gHtmlBlocks.push(e)-1)+"K\n\n"}),"^ {0,3}\x3c!--","--\x3e","gm")).replace(/(?:\n\n)( {0,3}(?:<([?%])[^\r]*?\2>)[ \t]*(?=\n{2,}))/g,i.subParser("hashElement")(e,t,n)),e=n.converter._dispatch("hashHTMLBlocks.after",e,t,n)})),i.subParser("hashHTMLSpans",(function(e,t,n){"use strict";function r(e){return"¨C"+(n.gHtmlSpans.push(e)-1)+"C"}return e=(e=(e=(e=(e=n.converter._dispatch("hashHTMLSpans.before",e,t,n)).replace(/<[^>]+?\/>/gi,(function(e){return r(e)}))).replace(/<([^>]+?)>[\s\S]*?<\/\1>/g,(function(e){return r(e)}))).replace(/<([^>]+?)\s[^>]+?>[\s\S]*?<\/\1>/g,(function(e){return r(e)}))).replace(/<[^>]+?>/gi,(function(e){return r(e)})),e=n.converter._dispatch("hashHTMLSpans.after",e,t,n)})),i.subParser("unhashHTMLSpans",(function(e,t,n){"use strict";e=n.converter._dispatch("unhashHTMLSpans.before",e,t,n);for(var r=0;r]*>\\s*]*>","^ {0,3}\\s*
","gim"),e=n.converter._dispatch("hashPreCodeTags.after",e,t,n)})),i.subParser("headers",(function(e,t,n){"use strict";e=n.converter._dispatch("headers.before",e,t,n);var r=isNaN(parseInt(t.headerLevelStart))?1:parseInt(t.headerLevelStart),o=t.smoothLivePreview?/^(.+)[ \t]*\n={2,}[ \t]*\n+/gm:/^(.+)[ \t]*\n=+[ \t]*\n+/gm,a=t.smoothLivePreview?/^(.+)[ \t]*\n-{2,}[ \t]*\n+/gm:/^(.+)[ \t]*\n-+[ \t]*\n+/gm;e=(e=e.replace(o,(function(e,o){var a=i.subParser("spanGamut")(o,t,n),l=t.noHeaderId?"":' id="'+c(o)+'"',s=""+a+"";return i.subParser("hashBlock")(s,t,n)}))).replace(a,(function(e,o){var a=i.subParser("spanGamut")(o,t,n),l=t.noHeaderId?"":' id="'+c(o)+'"',s=r+1,u=""+a+"";return i.subParser("hashBlock")(u,t,n)}));var l=t.requireSpaceBeforeHeadingText?/^(#{1,6})[ \t]+(.+?)[ \t]*#*\n+/gm:/^(#{1,6})[ \t]*(.+?)[ \t]*#*\n+/gm;function c(e){var r,o;if(t.customizedHeaderId){var a=e.match(/\{([^{]+?)}\s*$/);a&&a[1]&&(e=a[1])}return r=e,o=i.helper.isString(t.prefixHeaderId)?t.prefixHeaderId:!0===t.prefixHeaderId?"section-":"",t.rawPrefixHeaderId||(r=o+r),r=t.ghCompatibleHeaderId?r.replace(/ /g,"-").replace(/&/g,"").replace(/¨T/g,"").replace(/¨D/g,"").replace(/[&+$,\/:;=?@"#{}|^¨~\[\]`\\*)(%.!'<>]/g,"").toLowerCase():t.rawHeaderId?r.replace(/ /g,"-").replace(/&/g,"&").replace(/¨T/g,"¨").replace(/¨D/g,"$").replace(/["']/g,"-").toLowerCase():r.replace(/[^\w]/g,"").toLowerCase(),t.rawPrefixHeaderId&&(r=o+r),n.hashLinkCounts[r]?r=r+"-"+n.hashLinkCounts[r]++:n.hashLinkCounts[r]=1,r}return e=e.replace(l,(function(e,o,a){var l=a;t.customizedHeaderId&&(l=a.replace(/\s?\{([^{]+?)}\s*$/,""));var s=i.subParser("spanGamut")(l,t,n),u=t.noHeaderId?"":' id="'+c(a)+'"',f=r-1+o.length,h=""+s+"";return i.subParser("hashBlock")(h,t,n)})),e=n.converter._dispatch("headers.after",e,t,n)})),i.subParser("horizontalRule",(function(e,t,n){"use strict";e=n.converter._dispatch("horizontalRule.before",e,t,n);var r=i.subParser("hashBlock")("
",t,n);return e=(e=(e=e.replace(/^ {0,2}( ?-){3,}[ \t]*$/gm,r)).replace(/^ {0,2}( ?\*){3,}[ \t]*$/gm,r)).replace(/^ {0,2}( ?_){3,}[ \t]*$/gm,r),e=n.converter._dispatch("horizontalRule.after",e,t,n)})),i.subParser("images",(function(e,t,n){"use strict";function r(e,t,r,o,a,l,c,s){var u=n.gUrls,f=n.gTitles,h=n.gDimensions;if(r=r.toLowerCase(),s||(s=""),e.search(/\(? ?(['"].*['"])?\)$/m)>-1)o="";else if(""===o||null===o){if(""!==r&&null!==r||(r=t.toLowerCase().replace(/ ?\n/g," ")),o="#"+r,i.helper.isUndefined(u[r]))return e;o=u[r],i.helper.isUndefined(f[r])||(s=f[r]),i.helper.isUndefined(h[r])||(a=h[r].width,l=h[r].height)}t=t.replace(/"/g,""").replace(i.helper.regexes.asteriskDashAndColon,i.helper.escapeCharactersCallback);var p=''+t+'"}return e=(e=(e=(e=(e=(e=n.converter._dispatch("images.before",e,t,n)).replace(/!\[([^\]]*?)] ?(?:\n *)?\[([\s\S]*?)]()()()()()/g,r)).replace(/!\[([^\]]*?)][ \t]*()\([ \t]??(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(["'])([^"]*?)\6)?[ \t]?\)/g,(function(e,t,n,o,i,a,l,c){return r(e,t,n,o=o.replace(/\s/g,""),i,a,l,c)}))).replace(/!\[([^\]]*?)][ \t]*()\([ \t]?<([^>]*)>(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(?:(["'])([^"]*?)\6))?[ \t]?\)/g,r)).replace(/!\[([^\]]*?)][ \t]*()\([ \t]??(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(["'])([^"]*?)\6)?[ \t]?\)/g,r)).replace(/!\[([^\[\]]+)]()()()()()/g,r),e=n.converter._dispatch("images.after",e,t,n)})),i.subParser("italicsAndBold",(function(e,t,n){"use strict";function r(e,t,n){return t+e+n}return e=n.converter._dispatch("italicsAndBold.before",e,t,n),e=t.literalMidWordUnderscores?(e=(e=e.replace(/\b___(\S[\s\S]*?)___\b/g,(function(e,t){return r(t,"","")}))).replace(/\b__(\S[\s\S]*?)__\b/g,(function(e,t){return r(t,"","")}))).replace(/\b_(\S[\s\S]*?)_\b/g,(function(e,t){return r(t,"","")})):(e=(e=e.replace(/___(\S[\s\S]*?)___/g,(function(e,t){return/\S$/.test(t)?r(t,"",""):e}))).replace(/__(\S[\s\S]*?)__/g,(function(e,t){return/\S$/.test(t)?r(t,"",""):e}))).replace(/_([^\s_][\s\S]*?)_/g,(function(e,t){return/\S$/.test(t)?r(t,"",""):e})),e=t.literalMidWordAsterisks?(e=(e=e.replace(/([^*]|^)\B\*\*\*(\S[\s\S]*?)\*\*\*\B(?!\*)/g,(function(e,t,n){return r(n,t+"","")}))).replace(/([^*]|^)\B\*\*(\S[\s\S]*?)\*\*\B(?!\*)/g,(function(e,t,n){return r(n,t+"","")}))).replace(/([^*]|^)\B\*(\S[\s\S]*?)\*\B(?!\*)/g,(function(e,t,n){return r(n,t+"","")})):(e=(e=e.replace(/\*\*\*(\S[\s\S]*?)\*\*\*/g,(function(e,t){return/\S$/.test(t)?r(t,"",""):e}))).replace(/\*\*(\S[\s\S]*?)\*\*/g,(function(e,t){return/\S$/.test(t)?r(t,"",""):e}))).replace(/\*([^\s*][\s\S]*?)\*/g,(function(e,t){return/\S$/.test(t)?r(t,"",""):e})),e=n.converter._dispatch("italicsAndBold.after",e,t,n)})),i.subParser("lists",(function(e,t,n){"use strict";function r(e,r){n.gListLevel++,e=e.replace(/\n{2,}$/,"\n");var o=/(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(¨0| {0,3}([*+-]|\d+[.])[ \t]+))/gm,a=/\n[ \t]*\n(?!¨0)/.test(e+="¨0");return t.disableForced4SpacesIndentedSublists&&(o=/(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(¨0|\2([*+-]|\d+[.])[ \t]+))/gm),e=(e=e.replace(o,(function(e,r,o,l,c,s,u){u=u&&""!==u.trim();var f=i.subParser("outdent")(c,t,n),h="";return s&&t.tasklists&&(h=' class="task-list-item" style="list-style-type: none;"',f=f.replace(/^[ \t]*\[(x|X| )?]/m,(function(){var e='-1?(f=i.subParser("githubCodeBlocks")(f,t,n),f=i.subParser("blockGamut")(f,t,n)):(f=(f=i.subParser("lists")(f,t,n)).replace(/\n$/,""),f=(f=i.subParser("hashHTMLBlocks")(f,t,n)).replace(/\n\n+/g,"\n\n"),f=a?i.subParser("paragraphs")(f,t,n):i.subParser("spanGamut")(f,t,n)),f=""+(f=f.replace("¨A",""))+"\n"}))).replace(/¨0/g,""),n.gListLevel--,r&&(e=e.replace(/\s+$/,"")),e}function o(e,t){if("ol"===t){var n=e.match(/^ *(\d+)\./);if(n&&"1"!==n[1])return' start="'+n[1]+'"'}return""}function a(e,n,i){var a=t.disableForced4SpacesIndentedSublists?/^ ?\d+\.[ \t]/gm:/^ {0,3}\d+\.[ \t]/gm,l=t.disableForced4SpacesIndentedSublists?/^ ?[*+-][ \t]/gm:/^ {0,3}[*+-][ \t]/gm,c="ul"===n?a:l,s="";if(-1!==e.search(c))!function t(u){var f=u.search(c),h=o(e,n);-1!==f?(s+="\n\n<"+n+h+">\n"+r(u.slice(0,f),!!i)+"\n",c="ul"===(n="ul"===n?"ol":"ul")?a:l,t(u.slice(f))):s+="\n\n<"+n+h+">\n"+r(u,!!i)+"\n"}(e);else{var u=o(e,n);s="\n\n<"+n+u+">\n"+r(e,!!i)+"\n"}return s}return e=n.converter._dispatch("lists.before",e,t,n),e+="¨0",e=(e=n.gListLevel?e.replace(/^(( {0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(¨0|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/gm,(function(e,t,n){return a(t,n.search(/[*+-]/g)>-1?"ul":"ol",!0)})):e.replace(/(\n\n|^\n?)(( {0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(¨0|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/gm,(function(e,t,n,r){return a(n,r.search(/[*+-]/g)>-1?"ul":"ol",!1)}))).replace(/¨0/,""),e=n.converter._dispatch("lists.after",e,t,n)})),i.subParser("metadata",(function(e,t,n){"use strict";if(!t.metadata)return e;function r(e){n.metadata.raw=e,(e=(e=e.replace(/&/g,"&").replace(/"/g,""")).replace(/\n {4}/g," ")).replace(/^([\S ]+): +([\s\S]+?)$/gm,(function(e,t,r){return n.metadata.parsed[t]=r,""}))}return e=(e=(e=(e=n.converter._dispatch("metadata.before",e,t,n)).replace(/^\s*«««+(\S*?)\n([\s\S]+?)\n»»»+\n/,(function(e,t,n){return r(n),"¨M"}))).replace(/^\s*---+(\S*?)\n([\s\S]+?)\n---+\n/,(function(e,t,o){return t&&(n.metadata.format=t),r(o),"¨M"}))).replace(/¨M/g,""),e=n.converter._dispatch("metadata.after",e,t,n)})),i.subParser("outdent",(function(e,t,n){"use strict";return e=(e=(e=n.converter._dispatch("outdent.before",e,t,n)).replace(/^(\t|[ ]{1,4})/gm,"¨0")).replace(/¨0/g,""),e=n.converter._dispatch("outdent.after",e,t,n)})),i.subParser("paragraphs",(function(e,t,n){"use strict";for(var r=(e=(e=(e=n.converter._dispatch("paragraphs.before",e,t,n)).replace(/^\n+/g,"")).replace(/\n+$/g,"")).split(/\n{2,}/g),o=[],a=r.length,l=0;l=0?o.push(c):c.search(/\S/)>=0&&(c=(c=i.subParser("spanGamut")(c,t,n)).replace(/^([ \t]*)/g,"

"),c+="

",o.push(c))}for(a=o.length,l=0;l]*>\s*]*>/.test(u)&&(f=!0)}o[l]=u}return e=(e=(e=o.join("\n")).replace(/^\n+/g,"")).replace(/\n+$/g,""),n.converter._dispatch("paragraphs.after",e,t,n)})),i.subParser("runExtension",(function(e,t,n,r){"use strict";if(e.filter)t=e.filter(t,r.converter,n);else if(e.regex){var o=e.regex;o instanceof RegExp||(o=new RegExp(o,"g")),t=t.replace(o,e.replace)}return t})),i.subParser("spanGamut",(function(e,t,n){"use strict";return e=n.converter._dispatch("spanGamut.before",e,t,n),e=i.subParser("codeSpans")(e,t,n),e=i.subParser("escapeSpecialCharsWithinTagAttributes")(e,t,n),e=i.subParser("encodeBackslashEscapes")(e,t,n),e=i.subParser("images")(e,t,n),e=i.subParser("anchors")(e,t,n),e=i.subParser("autoLinks")(e,t,n),e=i.subParser("simplifiedAutoLinks")(e,t,n),e=i.subParser("emoji")(e,t,n),e=i.subParser("underline")(e,t,n),e=i.subParser("italicsAndBold")(e,t,n),e=i.subParser("strikethrough")(e,t,n),e=i.subParser("ellipsis")(e,t,n),e=i.subParser("hashHTMLSpans")(e,t,n),e=i.subParser("encodeAmpsAndAngles")(e,t,n),t.simpleLineBreaks?/\n\n¨K/.test(e)||(e=e.replace(/\n+/g,"
\n")):e=e.replace(/ +\n/g,"
\n"),e=n.converter._dispatch("spanGamut.after",e,t,n)})),i.subParser("strikethrough",(function(e,t,n){"use strict";return t.strikethrough&&(e=(e=n.converter._dispatch("strikethrough.before",e,t,n)).replace(/(?:~){2}([\s\S]+?)(?:~){2}/g,(function(e,r){return function(e){return t.simplifiedAutoLink&&(e=i.subParser("simplifiedAutoLinks")(e,t,n)),""+e+""}(r)})),e=n.converter._dispatch("strikethrough.after",e,t,n)),e})),i.subParser("stripLinkDefinitions",(function(e,t,n){"use strict";var r=function(e,r,o,a,l,c,s){return r=r.toLowerCase(),o.match(/^data:.+?\/.+?;base64,/)?n.gUrls[r]=o.replace(/\s/g,""):n.gUrls[r]=i.subParser("encodeAmpsAndAngles")(o,t,n),c?c+s:(s&&(n.gTitles[r]=s.replace(/"|'/g,""")),t.parseImgDimensions&&a&&l&&(n.gDimensions[r]={width:a,height:l}),"")};return e=(e=(e=(e+="¨0").replace(/^ {0,3}\[(.+)]:[ \t]*\n?[ \t]*?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*\n?[ \t]*(?:(\n*)["|'(](.+?)["|')][ \t]*)?(?:\n\n|(?=¨0)|(?=\n\[))/gm,r)).replace(/^ {0,3}\[(.+)]:[ \t]*\n?[ \t]*\s]+)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*\n?[ \t]*(?:(\n*)["|'(](.+?)["|')][ \t]*)?(?:\n+|(?=¨0))/gm,r)).replace(/¨0/,"")})),i.subParser("tables",(function(e,t,n){"use strict";if(!t.tables)return e;function r(e,r){return""+i.subParser("spanGamut")(e,t,n)+"\n"}function o(e){var o,a=e.split("\n");for(o=0;o"+(c=i.subParser("spanGamut")(c,t,n))+"\n"));for(o=0;o\n\n\n",o=0;o\n";for(var i=0;i\n"}return n+="\n\n"}(d,v)}return e=(e=(e=(e=n.converter._dispatch("tables.before",e,t,n)).replace(/\\(\|)/g,i.helper.escapeCharactersCallback)).replace(/^ {0,3}\|?.+\|.+\n {0,3}\|?[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*:?[ \t]*(?:[-=]){2,}[\s\S]+?(?:\n\n|¨0)/gm,o)).replace(/^ {0,3}\|.+\|[ \t]*\n {0,3}\|[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*\n( {0,3}\|.+\|[ \t]*\n)*(?:\n|¨0)/gm,o),e=n.converter._dispatch("tables.after",e,t,n)})),i.subParser("underline",(function(e,t,n){"use strict";return t.underline?(e=n.converter._dispatch("underline.before",e,t,n),e=(e=t.literalMidWordUnderscores?(e=e.replace(/\b___(\S[\s\S]*?)___\b/g,(function(e,t){return""+t+""}))).replace(/\b__(\S[\s\S]*?)__\b/g,(function(e,t){return""+t+""})):(e=e.replace(/___(\S[\s\S]*?)___/g,(function(e,t){return/\S$/.test(t)?""+t+"":e}))).replace(/__(\S[\s\S]*?)__/g,(function(e,t){return/\S$/.test(t)?""+t+"":e}))).replace(/(_)/g,i.helper.escapeCharactersCallback),e=n.converter._dispatch("underline.after",e,t,n)):e})),i.subParser("unescapeSpecialChars",(function(e,t,n){"use strict";return e=(e=n.converter._dispatch("unescapeSpecialChars.before",e,t,n)).replace(/¨E(\d+)E/g,(function(e,t){var n=parseInt(t);return String.fromCharCode(n)})),e=n.converter._dispatch("unescapeSpecialChars.after",e,t,n)})),i.subParser("makeMarkdown.blockquote",(function(e,t){"use strict";var n="";if(e.hasChildNodes())for(var r=e.childNodes,o=r.length,a=0;a ")})),i.subParser("makeMarkdown.codeBlock",(function(e,t){"use strict";var n=e.getAttribute("language"),r=e.getAttribute("precodenum");return"```"+n+"\n"+t.preList[r]+"\n```"})),i.subParser("makeMarkdown.codeSpan",(function(e){"use strict";return"`"+e.innerHTML+"`"})),i.subParser("makeMarkdown.emphasis",(function(e,t){"use strict";var n="";if(e.hasChildNodes()){n+="*";for(var r=e.childNodes,o=r.length,a=0;a",e.hasAttribute("width")&&e.hasAttribute("height")&&(t+=" ="+e.getAttribute("width")+"x"+e.getAttribute("height")),e.hasAttribute("title")&&(t+=' "'+e.getAttribute("title")+'"'),t+=")"),t})),i.subParser("makeMarkdown.links",(function(e,t){"use strict";var n="";if(e.hasChildNodes()&&e.hasAttribute("href")){var r=e.childNodes,o=r.length;n="[";for(var a=0;a",e.hasAttribute("title")&&(n+=' "'+e.getAttribute("title")+'"'),n+=")"}return n})),i.subParser("makeMarkdown.list",(function(e,t,n){"use strict";var r="";if(!e.hasChildNodes())return"";for(var o=e.childNodes,a=o.length,l=e.getAttribute("start")||1,c=0;c"+t.preList[n]+""})),i.subParser("makeMarkdown.strikethrough",(function(e,t){"use strict";var n="";if(e.hasChildNodes()){n+="~~";for(var r=e.childNodes,o=r.length,a=0;atr>th"),c=e.querySelectorAll("tbody>tr");for(n=0;nd&&(d=m)}for(n=0;n/g,"\\$1>")).replace(/^#/gm,"\\#")).replace(/^(\s*)([-=]{3,})(\s*)$/,"$1\\$2$3")).replace(/^( {0,3}\d+)\./gm,"$1\\.")).replace(/^( {0,3})([+-])/gm,"$1\\$2")).replace(/]([\s]*)\(/g,"\\]$1\\(")).replace(/^ {0,3}\[([\S \t]*?)]:/gm,"\\[$1]:")}));void 0===(r=function(){"use strict";return i}.call(t,n,t,e))||(e.exports=r)}).call(this)},M6Qj:function(e,t,n){var r=n("hPIQ"),o=n("K0xU")("iterator"),i=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||i[o]===e)}},M8ly:function(e,t,n){"use strict";var r={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i=Object.defineProperty,a=Object.getOwnPropertyNames,l=Object.getOwnPropertySymbols,c=Object.getOwnPropertyDescriptor,s=Object.getPrototypeOf,u=s&&s(Object);e.exports=function e(t,n,f){if("string"!=typeof n){if(u){var h=s(n);h&&h!==u&&e(t,h,f)}var p=a(n);l&&(p=p.concat(l(n)));for(var d=0;d children");r=e}})),r}var k=n("i8i4"),S=n.n(k),O=n("J9Du"),M={isAppearSupported:function(e){return e.transitionName&&e.transitionAppear||e.animation.appear},isEnterSupported:function(e){return e.transitionName&&e.transitionEnter||e.animation.enter},isLeaveSupported:function(e){return e.transitionName&&e.transitionLeave||e.animation.leave},allowAppearCallback:function(e){return e.transitionAppear||e.animation.appear},allowEnterCallback:function(e){return e.transitionEnter||e.animation.enter},allowLeaveCallback:function(e){return e.transitionLeave||e.animation.leave}},T={enter:"transitionEnter",appear:"transitionAppear",leave:"transitionLeave"},E=function(e){function t(){return c()(this,t),h()(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return d()(t,e),u()(t,[{key:"componentWillUnmount",value:function(){this.stop()}},{key:"componentWillEnter",value:function(e){M.isEnterSupported(this.props)?this.transition("enter",e):e()}},{key:"componentWillAppear",value:function(e){M.isAppearSupported(this.props)?this.transition("appear",e):e()}},{key:"componentWillLeave",value:function(e){M.isLeaveSupported(this.props)?this.transition("leave",e):e()}},{key:"transition",value:function(e,t){var n=this,r=S.a.findDOMNode(this),o=this.props,i=o.transitionName,a="object"==typeof i;this.stop();var l=function(){n.stopper=null,t()};if((O.b||!o.animation[e])&&i&&o[T[e]]){var c=a?i[e]:i+"-"+e,s=c+"-active";a&&i[e+"Active"]&&(s=i[e+"Active"]),this.stopper=Object(O.a)(r,{name:c,active:s},l)}else this.stopper=o.animation[e](r,l)}},{key:"stop",value:function(){var e=this.stopper;e&&(this.stopper=null,e.stop())}},{key:"render",value:function(){return this.props.children}}]),t}(v.a.Component);E.propTypes={children:g.a.any,animation:g.a.any,transitionName:g.a.any};var z=E,C="rc_animate_"+Date.now();function P(e){var t=e.children;return v.a.isValidElement(t)&&!t.key?v.a.cloneElement(t,{key:C}):t}function A(){}var j=function(e){function t(e){c()(this,t);var n=h()(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return L.call(n),n.currentlyAnimatingKeys={},n.keysToEnter=[],n.keysToLeave=[],n.state={children:w(P(e))},n.childrenRefs={},n}return d()(t,e),u()(t,[{key:"componentDidMount",value:function(){var e=this,t=this.props.showProp,n=this.state.children;t&&(n=n.filter((function(e){return!!e.props[t]}))),n.forEach((function(t){t&&e.performAppear(t.key)}))}},{key:"componentWillReceiveProps",value:function(e){var t=this;this.nextProps=e;var n=w(P(e)),r=this.props;r.exclusive&&Object.keys(this.currentlyAnimatingKeys).forEach((function(e){t.stop(e)}));var o,i,l,c,s=r.showProp,u=this.currentlyAnimatingKeys,f=r.exclusive?w(P(r)):this.state.children,h=[];s?(f.forEach((function(e){var t=e&&x(n,e.key),r=void 0;(r=t&&t.props[s]||!e.props[s]?t:v.a.cloneElement(t||e,a()({},s,!0)))&&h.push(r)})),n.forEach((function(e){e&&x(f,e.key)||h.push(e)}))):(o=n,i=[],l={},c=[],f.forEach((function(e){e&&x(o,e.key)?c.length&&(l[e.key]=c,c=[]):c.push(e)})),o.forEach((function(e){e&&Object.prototype.hasOwnProperty.call(l,e.key)&&(i=i.concat(l[e.key])),i.push(e)})),h=i=i.concat(c)),this.setState({children:h}),n.forEach((function(e){var n=e&&e.key;if(!e||!u[n]){var r=e&&x(f,n);if(s){var o=e.props[s];if(r)!_(f,n,s)&&o&&t.keysToEnter.push(n);else o&&t.keysToEnter.push(n)}else r||t.keysToEnter.push(n)}})),f.forEach((function(e){var r=e&&e.key;if(!e||!u[r]){var o=e&&x(n,r);if(s){var i=e.props[s];if(o)!_(n,r,s)&&i&&t.keysToLeave.push(r);else i&&t.keysToLeave.push(r)}else o||t.keysToLeave.push(r)}}))}},{key:"componentDidUpdate",value:function(){var e=this.keysToEnter;this.keysToEnter=[],e.forEach(this.performEnter);var t=this.keysToLeave;this.keysToLeave=[],t.forEach(this.performLeave)}},{key:"isValidChildByKey",value:function(e,t){var n=this.props.showProp;return n?_(e,t,n):x(e,t)}},{key:"stop",value:function(e){delete this.currentlyAnimatingKeys[e];var t=this.childrenRefs[e];t&&t.stop()}},{key:"render",value:function(){var e=this,t=this.props;this.nextProps=t;var n=this.state.children,r=null;n&&(r=n.map((function(n){if(null==n)return n;if(!n.key)throw new Error("must set key for children");return v.a.createElement(z,{key:n.key,ref:function(t){e.childrenRefs[n.key]=t},animation:t.animation,transitionName:t.transitionName,transitionEnter:t.transitionEnter,transitionAppear:t.transitionAppear,transitionLeave:t.transitionLeave},n)})));var i=t.component;if(i){var a=t;return"string"==typeof i&&(a=o()({className:t.className,style:t.style},t.componentProps)),v.a.createElement(i,a,r)}return r[0]||null}}]),t}(v.a.Component);j.isAnimate=!0,j.propTypes={className:g.a.string,style:g.a.object,component:g.a.any,componentProps:g.a.object,animation:g.a.object,transitionName:g.a.oneOfType([g.a.string,g.a.object]),transitionEnter:g.a.bool,transitionAppear:g.a.bool,exclusive:g.a.bool,transitionLeave:g.a.bool,onEnd:g.a.func,onEnter:g.a.func,onLeave:g.a.func,onAppear:g.a.func,showProp:g.a.string,children:g.a.node},j.defaultProps={animation:{},component:"span",componentProps:{},transitionEnter:!0,transitionLeave:!0,transitionAppear:!1,onEnd:A,onEnter:A,onLeave:A,onAppear:A};var L=function(){var e=this;this.performEnter=function(t){e.childrenRefs[t]&&(e.currentlyAnimatingKeys[t]=!0,e.childrenRefs[t].componentWillEnter(e.handleDoneAdding.bind(e,t,"enter")))},this.performAppear=function(t){e.childrenRefs[t]&&(e.currentlyAnimatingKeys[t]=!0,e.childrenRefs[t].componentWillAppear(e.handleDoneAdding.bind(e,t,"appear")))},this.handleDoneAdding=function(t,n){var r=e.props;if(delete e.currentlyAnimatingKeys[t],!r.exclusive||r===e.nextProps){var o=w(P(r));e.isValidChildByKey(o,t)?"appear"===n?M.allowAppearCallback(r)&&(r.onAppear(t),r.onEnd(t,!0)):M.allowEnterCallback(r)&&(r.onEnter(t),r.onEnd(t,!0)):e.performLeave(t)}},this.performLeave=function(t){e.childrenRefs[t]&&(e.currentlyAnimatingKeys[t]=!0,e.childrenRefs[t].componentWillLeave(e.handleDoneLeaving.bind(e,t)))},this.handleDoneLeaving=function(t){var n=e.props;if(delete e.currentlyAnimatingKeys[t],!n.exclusive||n===e.nextProps){var r,o,i,a,l=w(P(n));if(e.isValidChildByKey(l,t))e.performEnter(t);else{var c=function(){M.allowLeaveCallback(n)&&(n.onLeave(t),n.onEnd(t,!1))};r=e.state.children,o=l,i=n.showProp,(a=r.length===o.length)&&r.forEach((function(e,t){var n=o[t];e&&n&&(e&&!n||!e&&n||e.key!==n.key||i&&e.props[i]!==n.props[i])&&(a=!1)})),a?c():e.setState({children:l},c)}}}};t.a=Object(b.a)(j)},MLWZ:function(e,t,n){"use strict";var r=n("xTJ+");function o(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var i;if(n)i=n(t);else if(r.isURLSearchParams(t))i=t.toString();else{var a=[];r.forEach(t,(function(e,t){null!=e&&(r.isArray(e)?t+="[]":e=[e],r.forEach(e,(function(e){r.isDate(e)?e=e.toISOString():r.isObject(e)&&(e=JSON.stringify(e)),a.push(o(t)+"="+o(e))})))})),i=a.join("&")}return i&&(e+=(-1===e.indexOf("?")?"?":"&")+i),e}},MPFp:function(e,t,n){"use strict";var r=n("uOPS"),o=n("Y7ZC"),i=n("kTiW"),a=n("NegM"),l=n("SBuE"),c=n("j2DC"),s=n("RfKB"),u=n("U+KD"),f=n("UWiX")("iterator"),h=!([].keys&&"next"in[].keys()),p=function(){return this};e.exports=function(e,t,n,d,m,v,y){c(n,t,d);var g,b,w,x=function(e){if(!h&&e in O)return O[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},_=t+" Iterator",k="values"==m,S=!1,O=e.prototype,M=O[f]||O["@@iterator"]||m&&O[m],T=M||x(m),E=m?k?x("entries"):T:void 0,z="Array"==t&&O.entries||M;if(z&&(w=u(z.call(new e)))!==Object.prototype&&w.next&&(s(w,_,!0),r||"function"==typeof w[f]||a(w,f,p)),k&&M&&"values"!==M.name&&(S=!0,T=function(){return M.call(this)}),r&&!y||!h&&!S&&O[f]||a(O,f,T),l[t]=T,l[_]=p,m)if(g={values:k?T:x("values"),keys:v?T:x("keys"),entries:E},y)for(b in g)b in O||i(O,b,g[b]);else o(o.P+o.F*(h||S),t,g);return g}},MRPZ:function(e,t,n){e.exports=n("TclB")},MVZn:function(e,t,n){var r=n("j1ok"),o=n("r9tm"),i=n("iVxW"),a=n("lSNA");e.exports=function(e){for(var t=1;t>>=0)?31-Math.floor(Math.log(e+.5)*Math.LOG2E):32}})},MuZe:function(e,t){function n(e,t){e.onload=function(){this.onerror=this.onload=null,t(null,e)},e.onerror=function(){this.onerror=this.onload=null,t(new Error("Failed to load "+this.src),e)}}function r(e,t){e.onreadystatechange=function(){"complete"!=this.readyState&&"loaded"!=this.readyState||(this.onreadystatechange=null,t(null,e))}}e.exports=function(e,t,o){var i=document.head||document.getElementsByTagName("head")[0],a=document.createElement("script");"function"==typeof t&&(o=t,t={}),t=t||{},o=o||function(){},a.type=t.type||"text/javascript",a.charset=t.charset||"utf8",a.async=!("async"in t)||!!t.async,a.src=e,t.attrs&&function(e,t){for(var n in t)e.setAttribute(n,t[n])}(a,t.attrs),t.text&&(a.text=""+t.text),("onload"in a?n:r)(a,o),a.onload||n(a,o),i.appendChild(a)}},Mukb:function(e,t,n){var r=n("hswa"),o=n("RjD/");e.exports=n("nh4g")?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},MvwC:function(e,t,n){var r=n("5T2Y").document;e.exports=r&&r.documentElement},Mxsh:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=c(n("3S7+")),o=Object.assign||function(e){for(var t=1;t=0)return t[e].splice(o,1),!0}return!1},publish:function(e){if(!t[e])return!1;var n=Array.prototype.slice.call(arguments,1);return t[e].forEach((function(e){e.apply(null,n)})),this}};return e?Object.assign(e,n):n};t.default=r},NV0k:function(e,t){t.f={}.propertyIsEnumerable},NegM:function(e,t,n){var r=n("2faE"),o=n("rr1i");e.exports=n("jmDH")?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},"Nf+j":function(e,t,n){"use strict";var r=n("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=r(n("pVnL")),i=r(n("lSNA")),a=r(n("QILm")),l=r(n("q1tI")),c=(r(n("17x9")),r(n("TSYQ"))),s=r(n("d05B")),u=r(n("Blpk")),f={root:{zIndex:-1,width:"100%",height:"100%",position:"fixed",top:0,left:0,WebkitTapHighlightColor:"transparent",backgroundColor:"rgba(0, 0, 0, 0.5)"},invisible:{backgroundColor:"transparent"}};function h(e){var t=e.classes,n=e.className,r=e.invisible,s=e.open,f=e.transitionDuration,h=(0,a.default)(e,["classes","className","invisible","open","transitionDuration"]);return l.default.createElement(u.default,(0,o.default)({appear:!0,in:s,timeout:f},h),l.default.createElement("div",{className:(0,c.default)(t.root,(0,i.default)({},t.invisible,r),n),"aria-hidden":"true"}))}t.styles=f,h.propTypes={},h.defaultProps={invisible:!1};var p=(0,s.default)(f,{name:"MuiBackdrop"})(h);t.default=p},NlO1:function(e,t,n){var r=n("RlDP");e.exports=function(e){for(var t=1;t1?arguments[1]:void 0,n),c=a>2?arguments[2]:void 0,s=void 0===c?n:o(c,n);s>l;)t[l++]=e;return t}},"NsO/":function(e,t,n){var r=n("M1xp"),o=n("Jes0");e.exports=function(e){return r(o(e))}},NwJ3:function(e,t,n){var r=n("SBuE"),o=n("UWiX")("iterator"),i=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||i[o]===e)}},NykK:function(e,t,n){var r=n("nmnc"),o=n("AP2z"),i=n("KfNM"),a=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?o(e):i(e)}},Nz9U:function(e,t,n){"use strict";var r=n("XKFU"),o=n("aCFj"),i=[].join;r(r.P+r.F*(n("Ymqv")!=Object||!n("LyE8")(i)),"Array",{join:function(e){return i.call(o(this),void 0===e?",":e)}})},"O+I2":function(e,t,n){"use strict";n.r(t);n("SchZ"),n("jyVq")},O9o6:function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e){return!(!e||!r.test(e))};var r=/^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;e.exports=t.default},OCCX:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a(n("FLEz")),o=a(n("Rx9b")),i=a(n("RiHD"));function a(e){return e&&e.__esModule?e:{default:e}}var l=Date.now(),c="fnValues"+l,s="fnStyle"+ ++l;t.default={onCreateRule:function(e,t,n){if("function"!=typeof t)return null;var r=(0,i.default)(e,{},n);return r[s]=t,r},onProcessStyle:function(e,t){var n={};for(var r in e){var o=e[r];"function"==typeof o&&(delete e[r],n[r]=o)}return(t=t)[c]=n,e},onUpdate:function(e,t){if(t.rules instanceof r.default)t.rules.update(e);else if(t instanceof o.default){if((t=t)[c])for(var n in t[c])t.prop(n,t[c][n](e));var i=(t=t)[s];if(i){var a=i(e);for(var l in a)t.prop(l,a[l])}}}}},OEbY:function(e,t,n){n("nh4g")&&"g"!=/./g.flags&&n("hswa").f(RegExp.prototype,"flags",{configurable:!0,get:n("C/va")})},OG14:function(e,t,n){"use strict";var r=n("y3w9"),o=n("g6HL"),i=n("Xxuz");n("IU+Z")("search",1,(function(e,t,n,a){return[function(n){var r=e(this),o=null==n?void 0:n[t];return void 0!==o?o.call(n,r):new RegExp(n)[t](String(r))},function(e){var t=a(n,e,this);if(t.done)return t.value;var l=r(e),c=String(this),s=l.lastIndex;o(s,0)||(l.lastIndex=0);var u=i(l,c);return o(l.lastIndex,s)||(l.lastIndex=s),null===u?-1:u.index}]}))},OGtf:function(e,t,n){var r=n("XKFU"),o=n("eeVq"),i=n("vhPU"),a=/"/g,l=function(e,t,n,r){var o=String(i(e)),l="<"+t;return""!==n&&(l+=" "+n+'="'+String(r).replace(a,""")+'"'),l+">"+o+""};e.exports=function(e,t){var n={};n[e]=t(l),r(r.P+r.F*o((function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3})),"String",n)}},OH9c:function(e,t,n){"use strict";e.exports=function(e,t,n,r,o){return e.config=t,n&&(e.code=n),e.request=r,e.response=o,e}},OP3Y:function(e,t,n){var r=n("aagx"),o=n("S/j/"),i=n("YTvA")("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=o(e),r(e,i)?e[i]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},OTTw:function(e,t,n){"use strict";var r=n("xTJ+");e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function o(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=o(window.location.href),function(t){var n=r.isString(t)?o(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}},OcHi:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ariaHidden=i,t.hideSiblings=function(e,t){o(e,t,(function(e){return i(!0,e)}))},t.showSiblings=function(e,t){o(e,t,(function(e){return i(!1,e)}))};var r=["template","script","style"];function o(e,t,n){t=[].concat(t),[].forEach.call(e.children,(function(e){-1===t.indexOf(e)&&function(e){return 1===e.nodeType&&-1===r.indexOf(e.tagName.toLowerCase())}(e)&&n(e)}))}function i(e,t){t&&(e?t.setAttribute("aria-hidden","true"):t.removeAttribute("aria-hidden"))}},Ojgd:function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},OnI7:function(e,t,n){var r=n("dyZX"),o=n("g3g5"),i=n("LQAc"),a=n("N8g3"),l=n("hswa").f;e.exports=function(e){var t=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||l(t,e,{value:a.f(e)})}},Optq:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="0 0 1024 1024",o="64 64 896 896",i="fill",a="outline",l="twotone";function c(e){for(var t=[],n=1;n15?"…"+a.slice(r-15,r):a.slice(0,r))+c+(l+15":">","<":"<",'"':""","'":"'"},s=/[&><"']/g,u=function e(t){return"ordgroup"===t.type||"color"===t.type?1===t.body.length?e(t.body[0]):t:"font"===t.type?e(t.body):t},f={contains:function(e,t){return-1!==e.indexOf(t)},deflt:function(e,t){return void 0===e?t:e},escape:function(e){return String(e).replace(s,(function(e){return c[e]}))},hyphenate:function(e){return e.replace(l,"-$1").toLowerCase()},getBaseElem:u,isCharacterBox:function(e){var t=u(e);return"mathord"===t.type||"textord"===t.type||"atom"===t.type},protocolFromUrl:function(e){var t=/^\s*([^\\/#]*?)(?::|�*58|�*3a)/i.exec(e);return null!=t?t[1]:"_relative"}},h=function(){function e(e){this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,e=e||{},this.displayMode=f.deflt(e.displayMode,!1),this.output=f.deflt(e.output,"htmlAndMathml"),this.leqno=f.deflt(e.leqno,!1),this.fleqn=f.deflt(e.fleqn,!1),this.throwOnError=f.deflt(e.throwOnError,!0),this.errorColor=f.deflt(e.errorColor,"#cc0000"),this.macros=e.macros||{},this.minRuleThickness=Math.max(0,f.deflt(e.minRuleThickness,0)),this.colorIsTextColor=f.deflt(e.colorIsTextColor,!1),this.strict=f.deflt(e.strict,"warn"),this.trust=f.deflt(e.trust,!1),this.maxSize=Math.max(0,f.deflt(e.maxSize,1/0)),this.maxExpand=Math.max(0,f.deflt(e.maxExpand,1e3))}var t=e.prototype;return t.reportNonstrict=function(e,t,n){var r=this.strict;if("function"==typeof r&&(r=r(e,t,n)),r&&"ignore"!==r){if(!0===r||"error"===r)throw new a("LaTeX-incompatible input and strict mode is set to 'error': "+t+" ["+e+"]",n);"warn"===r?"undefined"!=typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+t+" ["+e+"]"):"undefined"!=typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to unrecognized '"+r+"': "+t+" ["+e+"]")}},t.useStrictBehavior=function(e,t,n){var r=this.strict;if("function"==typeof r)try{r=r(e,t,n)}catch(e){r="error"}return!(!r||"ignore"===r||!0!==r&&"error"!==r&&("warn"===r?("undefined"!=typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+t+" ["+e+"]"),1):("undefined"!=typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to unrecognized '"+r+"': "+t+" ["+e+"]"),1)))},t.isTrusted=function(e){e.url&&!e.protocol&&(e.protocol=f.protocolFromUrl(e.url));var t="function"==typeof this.trust?this.trust(e):this.trust;return Boolean(t)},e}(),p=function(){function e(e,t,n){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=e,this.size=t,this.cramped=n}var t=e.prototype;return t.sup=function(){return d[m[this.id]]},t.sub=function(){return d[v[this.id]]},t.fracNum=function(){return d[y[this.id]]},t.fracDen=function(){return d[g[this.id]]},t.cramp=function(){return d[b[this.id]]},t.text=function(){return d[w[this.id]]},t.isTight=function(){return this.size>=2},e}(),d=[new p(0,0,!1),new p(1,0,!0),new p(2,1,!1),new p(3,1,!0),new p(4,2,!1),new p(5,2,!0),new p(6,3,!1),new p(7,3,!0)],m=[4,5,4,5,6,7,6,7],v=[5,5,5,5,7,7,7,7],y=[2,3,4,5,6,7,6,7],g=[3,3,5,5,7,7,7,7],b=[1,1,3,3,5,5,7,7],w=[0,1,2,3,2,3,2,3],x={DISPLAY:d[0],TEXT:d[2],SCRIPT:d[4],SCRIPTSCRIPT:d[6]},_=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}],k=[];function S(e){for(var t=0;t=k[t]&&e<=k[t+1])return!0;return!1}_.forEach((function(e){return e.blocks.forEach((function(e){return k.push.apply(k,e)}))}));var O={doubleleftarrow:"M262 157\nl10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3\n 0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28\n 14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5\nc2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5\n 157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87\n-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7\n-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z\nm8 0v40h399730v-40zm0 194v40h399730v-40z",doublerightarrow:"M399738 392l\n-10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5\n 14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88\n-33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68\n-17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18\n-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782\nc-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3\n-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z",leftarrow:"M400000 241H110l3-3c68.7-52.7 113.7-120\n 135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8\n-5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247\nc-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208\n 490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3\n 1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202\n l-3-3h399890zM100 241v40h399900v-40z",leftbrace:"M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117\n-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7\n 5-6 9-10 13-.7 1-7.3 1-20 1H6z",leftbraceunder:"M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13\n 35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688\n 0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7\n-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z",leftgroup:"M400000 80\nH435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0\n 435 0h399565z",leftgroupunder:"M400000 262\nH435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219\n 435 219h399565z",leftharpoon:"M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3\n-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5\n-18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7\n-196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z",leftharpoonplus:"M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5\n 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3\n-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7\n-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z\nm0 0v40h400000v-40z",leftharpoondown:"M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333\n 5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5\n 1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667\n-152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z",leftharpoondownplus:"M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12\n 10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7\n-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0\nv40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z",lefthook:"M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5\n-83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3\n-68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21\n 71.5 23h399859zM103 281v-40h399897v40z",leftlinesegment:"M40 281 V428 H0 V94 H40 V241 H400000 v40z\nM40 281 V428 H0 V94 H40 V241 H400000 v40z",leftmapsto:"M40 281 V448H0V74H40V241H400000v40z\nM40 281 V448H0V74H40V241H400000v40z",leftToFrom:"M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23\n-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8\nc28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3\n 68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z",longequal:"M0 50 h400000 v40H0z m0 194h40000v40H0z\nM0 50 h400000 v40H0z m0 194h40000v40H0z",midbrace:"M200428 334\nc-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14\n-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7\n 311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11\n 12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z",midbraceunder:"M199572 214\nc100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14\n 53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3\n 11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0\n-5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z",oiintSize1:"M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6\n-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z\nm368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8\n60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z",oiintSize2:"M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8\n-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z\nm502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2\nc0 110 84 276 504 276s502.4-166 502.4-276z",oiiintSize1:"M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6\n-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z\nm525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0\n85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z",oiiintSize2:"M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8\n-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z\nm770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1\nc0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z",rightarrow:"M0 241v40h399891c-47.3 35.3-84 78-110 128\n-16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20\n 11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7\n 39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85\n-40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5\n-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67\n 151.7 139 205zm0 0v40h399900v-40z",rightbrace:"M400000 542l\n-6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5\ns-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1\nc124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z",rightbraceunder:"M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3\n 28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237\n-174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z",rightgroup:"M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0\n 3-1 3-3v-38c-76-158-257-219-435-219H0z",rightgroupunder:"M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18\n 0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z",rightharpoon:"M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3\n-3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2\n-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58\n 69.2 92 94.5zm0 0v40h399900v-40z",rightharpoonplus:"M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11\n-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7\n 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z\nm0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z",rightharpoondown:"M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8\n 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5\n-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95\n-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z",rightharpoondownplus:"M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8\n 15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3\n 8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3\n-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z\nm0-194v40h400000v-40zm0 0v40h400000v-40z",righthook:"M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3\n 15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0\n-13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21\n 66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z",rightlinesegment:"M399960 241 V94 h40 V428 h-40 V281 H0 v-40z\nM399960 241 V94 h40 V428 h-40 V281 H0 v-40z",rightToFrom:"M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23\n 1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32\n-52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142\n-167z M100 147v40h399900v-40zM0 341v40h399900v-40z",twoheadleftarrow:"M0 167c68 40\n 115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69\n-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3\n-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19\n-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101\n 10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z",twoheadrightarrow:"M400000 167\nc-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3\n 41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42\n 18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333\n-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70\n 101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z",tilde1:"M200 55.538c-77 0-168 73.953-177 73.953-3 0-7\n-2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0\n 114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0\n 4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128\n-68.267.847-113-73.952-191-73.952z",tilde2:"M344 55.266c-142 0-300.638 81.316-311.5 86.418\n-8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9\n 31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114\nc1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751\n 181.476 676 181.476c-149 0-189-126.21-332-126.21z",tilde3:"M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457\n-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0\n 411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697\n 16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696\n -338 0-409-156.573-744-156.573z",tilde4:"M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345\n-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409\n 177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9\n 14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409\n -175.236-744-175.236z",vec:"M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5\n3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11\n10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63\n-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1\n-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59\nH213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359\nc-16-25.333-24-45-24-59z",widehat1:"M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22\nc-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z",widehat2:"M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widehat3:"M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widehat4:"M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widecheck1:"M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1,\n-5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z",widecheck2:"M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",widecheck3:"M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",widecheck4:"M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",baraboveleftarrow:"M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202\nc4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5\nc-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130\ns-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47\n121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6\ns2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11\nc0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z\nM100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z",rightarrowabovebar:"M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32\n-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0\n13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39\n-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5\n-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5\n-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67\n151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z",baraboveshortleftharpoon:"M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11\nc1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17\nc2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21\nc-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40\nc-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z\nM0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z",rightharpoonaboveshortbar:"M0,241 l0,40c399126,0,399993,0,399993,0\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\n-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6\nc-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z\nM0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z",shortbaraboveleftharpoon:"M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11\nc1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9,\n1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7,\n-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z\nM93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z",shortrightharpoonabovebar:"M53,241l0,40c398570,0,399437,0,399437,0\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\n-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6\nc-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z\nM500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z"},M=function(){function e(e){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=e,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}var t=e.prototype;return t.hasClass=function(e){return f.contains(this.classes,e)},t.toNode=function(){for(var e=document.createDocumentFragment(),t=0;t"},P=function(){function e(e,t,n,r){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,E.call(this,e,n,r),this.children=t||[]}var t=e.prototype;return t.setAttribute=function(e,t){this.attributes[e]=t},t.hasClass=function(e){return f.contains(this.classes,e)},t.toNode=function(){return z.call(this,"span")},t.toMarkup=function(){return C.call(this,"span")},e}(),A=function(){function e(e,t,n,r){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,E.call(this,t,r),this.children=n||[],this.setAttribute("href",e)}var t=e.prototype;return t.setAttribute=function(e,t){this.attributes[e]=t},t.hasClass=function(e){return f.contains(this.classes,e)},t.toNode=function(){return z.call(this,"a")},t.toMarkup=function(){return C.call(this,"a")},e}(),j=function(){function e(e,t,n){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=t,this.src=e,this.classes=["mord"],this.style=n}var t=e.prototype;return t.hasClass=function(e){return f.contains(this.classes,e)},t.toNode=function(){var e=document.createElement("img");for(var t in e.src=this.src,e.alt=this.alt,e.className="mord",this.style)this.style.hasOwnProperty(t)&&(e.style[t]=this.style[t]);return e},t.toMarkup=function(){var e=""+this.alt+"=o[0]&&e<=o[1])return n.name}return null}(this.text.charCodeAt(0));c&&this.classes.push(c+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=L[this.text])}var t=e.prototype;return t.hasClass=function(e){return f.contains(this.classes,e)},t.toNode=function(){var e=document.createTextNode(this.text),t=null;for(var n in this.italic>0&&((t=document.createElement("span")).style.marginRight=this.italic+"em"),this.classes.length>0&&((t=t||document.createElement("span")).className=T(this.classes)),this.style)this.style.hasOwnProperty(n)&&((t=t||document.createElement("span")).style[n]=this.style[n]);return t?(t.appendChild(e),t):e},t.toMarkup=function(){var e=!1,t="0&&(n+="margin-right:"+this.italic+"em;"),this.style)this.style.hasOwnProperty(r)&&(n+=f.hyphenate(r)+":"+this.style[r]+";");n&&(e=!0,t+=' style="'+f.escape(n)+'"');var o=f.escape(this.text);return e?(t+=">",t+=o,t+=""):o},e}(),H=function(){function e(e,t){this.children=void 0,this.attributes=void 0,this.children=e||[],this.attributes=t||{}}var t=e.prototype;return t.toNode=function(){var e=document.createElementNS("http://www.w3.org/2000/svg","svg");for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);for(var n=0;n":""},e}(),I=function(){function e(e){this.attributes=void 0,this.attributes=e||{}}var t=e.prototype;return t.toNode=function(){var e=document.createElementNS("http://www.w3.org/2000/svg","line");for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);return e},t.toMarkup=function(){var e="",">"),X("math",J,te,":",":"),X("math",J,te,"≈","\\approx",!0),X("math",J,te,"≅","\\cong",!0),X("math",J,te,"≥","\\ge"),X("math",J,te,"≥","\\geq",!0),X("math",J,te,"←","\\gets"),X("math",J,te,">","\\gt"),X("math",J,te,"∈","\\in",!0),X("math",J,te,"","\\@not"),X("math",J,te,"⊂","\\subset",!0),X("math",J,te,"⊃","\\supset",!0),X("math",J,te,"⊆","\\subseteq",!0),X("math",J,te,"⊇","\\supseteq",!0),X("math",Q,te,"⊈","\\nsubseteq",!0),X("math",Q,te,"⊉","\\nsupseteq",!0),X("math",J,te,"⊨","\\models"),X("math",J,te,"←","\\leftarrow",!0),X("math",J,te,"≤","\\le"),X("math",J,te,"≤","\\leq",!0),X("math",J,te,"<","\\lt"),X("math",J,te,"→","\\rightarrow",!0),X("math",J,te,"→","\\to"),X("math",Q,te,"≱","\\ngeq",!0),X("math",Q,te,"≰","\\nleq",!0),X("math",J,"spacing"," ","\\ "),X("math",J,"spacing"," ","~"),X("math",J,"spacing"," ","\\space"),X("math",J,"spacing"," ","\\nobreakspace"),X("text",J,"spacing"," ","\\ "),X("text",J,"spacing"," ","~"),X("text",J,"spacing"," ","\\space"),X("text",J,"spacing"," ","\\nobreakspace"),X("math",J,"spacing",null,"\\nobreak"),X("math",J,"spacing",null,"\\allowbreak"),X("math",J,"punct",",",","),X("math",J,"punct",";",";"),X("math",Q,Z,"⊼","\\barwedge",!0),X("math",Q,Z,"⊻","\\veebar",!0),X("math",J,Z,"⊙","\\odot",!0),X("math",J,Z,"⊕","\\oplus",!0),X("math",J,Z,"⊗","\\otimes",!0),X("math",J,"textord","∂","\\partial",!0),X("math",J,Z,"⊘","\\oslash",!0),X("math",Q,Z,"⊚","\\circledcirc",!0),X("math",Q,Z,"⊡","\\boxdot",!0),X("math",J,Z,"△","\\bigtriangleup"),X("math",J,Z,"▽","\\bigtriangledown"),X("math",J,Z,"†","\\dagger"),X("math",J,Z,"⋄","\\diamond"),X("math",J,Z,"⋆","\\star"),X("math",J,Z,"◃","\\triangleleft"),X("math",J,Z,"▹","\\triangleright"),X("math",J,"open","{","\\{"),X("text",J,"textord","{","\\{"),X("text",J,"textord","{","\\textbraceleft"),X("math",J,"close","}","\\}"),X("text",J,"textord","}","\\}"),X("text",J,"textord","}","\\textbraceright"),X("math",J,"open","{","\\lbrace"),X("math",J,"close","}","\\rbrace"),X("math",J,"open","[","\\lbrack"),X("text",J,"textord","[","\\lbrack"),X("math",J,"close","]","\\rbrack"),X("text",J,"textord","]","\\rbrack"),X("math",J,"open","(","\\lparen"),X("math",J,"close",")","\\rparen"),X("text",J,"textord","<","\\textless"),X("text",J,"textord",">","\\textgreater"),X("math",J,"open","⌊","\\lfloor",!0),X("math",J,"close","⌋","\\rfloor",!0),X("math",J,"open","⌈","\\lceil",!0),X("math",J,"close","⌉","\\rceil",!0),X("math",J,"textord","\\","\\backslash"),X("math",J,"textord","∣","|"),X("math",J,"textord","∣","\\vert"),X("text",J,"textord","|","\\textbar"),X("math",J,"textord","∥","\\|"),X("math",J,"textord","∥","\\Vert"),X("text",J,"textord","∥","\\textbardbl"),X("text",J,"textord","~","\\textasciitilde"),X("text",J,"textord","\\","\\textbackslash"),X("text",J,"textord","^","\\textasciicircum"),X("math",J,te,"↑","\\uparrow",!0),X("math",J,te,"⇑","\\Uparrow",!0),X("math",J,te,"↓","\\downarrow",!0),X("math",J,te,"⇓","\\Downarrow",!0),X("math",J,te,"↕","\\updownarrow",!0),X("math",J,te,"⇕","\\Updownarrow",!0),X("math",J,ee,"∐","\\coprod"),X("math",J,ee,"⋁","\\bigvee"),X("math",J,ee,"⋀","\\bigwedge"),X("math",J,ee,"⨄","\\biguplus"),X("math",J,ee,"⋂","\\bigcap"),X("math",J,ee,"⋃","\\bigcup"),X("math",J,ee,"∫","\\int"),X("math",J,ee,"∫","\\intop"),X("math",J,ee,"∬","\\iint"),X("math",J,ee,"∭","\\iiint"),X("math",J,ee,"∏","\\prod"),X("math",J,ee,"∑","\\sum"),X("math",J,ee,"⨂","\\bigotimes"),X("math",J,ee,"⨁","\\bigoplus"),X("math",J,ee,"⨀","\\bigodot"),X("math",J,ee,"∮","\\oint"),X("math",J,ee,"∯","\\oiint"),X("math",J,ee,"∰","\\oiiint"),X("math",J,ee,"⨆","\\bigsqcup"),X("math",J,ee,"∫","\\smallint"),X("text",J,"inner","…","\\textellipsis"),X("math",J,"inner","…","\\mathellipsis"),X("text",J,"inner","…","\\ldots",!0),X("math",J,"inner","…","\\ldots",!0),X("math",J,"inner","⋯","\\@cdots",!0),X("math",J,"inner","⋱","\\ddots",!0),X("math",J,"textord","⋮","\\varvdots"),X("math",J,"accent-token","ˊ","\\acute"),X("math",J,"accent-token","ˋ","\\grave"),X("math",J,"accent-token","¨","\\ddot"),X("math",J,"accent-token","~","\\tilde"),X("math",J,"accent-token","ˉ","\\bar"),X("math",J,"accent-token","˘","\\breve"),X("math",J,"accent-token","ˇ","\\check"),X("math",J,"accent-token","^","\\hat"),X("math",J,"accent-token","⃗","\\vec"),X("math",J,"accent-token","˙","\\dot"),X("math",J,"accent-token","˚","\\mathring"),X("math",J,$,"ı","\\imath",!0),X("math",J,$,"ȷ","\\jmath",!0),X("text",J,"textord","ı","\\i",!0),X("text",J,"textord","ȷ","\\j",!0),X("text",J,"textord","ß","\\ss",!0),X("text",J,"textord","æ","\\ae",!0),X("text",J,"textord","æ","\\ae",!0),X("text",J,"textord","œ","\\oe",!0),X("text",J,"textord","ø","\\o",!0),X("text",J,"textord","Æ","\\AE",!0),X("text",J,"textord","Œ","\\OE",!0),X("text",J,"textord","Ø","\\O",!0),X("text",J,"accent-token","ˊ","\\'"),X("text",J,"accent-token","ˋ","\\`"),X("text",J,"accent-token","ˆ","\\^"),X("text",J,"accent-token","˜","\\~"),X("text",J,"accent-token","ˉ","\\="),X("text",J,"accent-token","˘","\\u"),X("text",J,"accent-token","˙","\\."),X("text",J,"accent-token","˚","\\r"),X("text",J,"accent-token","ˇ","\\v"),X("text",J,"accent-token","¨",'\\"'),X("text",J,"accent-token","˝","\\H"),X("text",J,"accent-token","◯","\\textcircled");var ne={"--":!0,"---":!0,"``":!0,"''":!0};X("text",J,"textord","–","--"),X("text",J,"textord","–","\\textendash"),X("text",J,"textord","—","---"),X("text",J,"textord","—","\\textemdash"),X("text",J,"textord","‘","`"),X("text",J,"textord","‘","\\textquoteleft"),X("text",J,"textord","’","'"),X("text",J,"textord","’","\\textquoteright"),X("text",J,"textord","“","``"),X("text",J,"textord","“","\\textquotedblleft"),X("text",J,"textord","”","''"),X("text",J,"textord","”","\\textquotedblright"),X("math",J,"textord","°","\\degree",!0),X("text",J,"textord","°","\\degree"),X("text",J,"textord","°","\\textdegree",!0),X("math",J,$,"£","\\pounds"),X("math",J,$,"£","\\mathsterling",!0),X("text",J,$,"£","\\pounds"),X("text",J,$,"£","\\textsterling",!0),X("math",Q,"textord","✠","\\maltese"),X("text",Q,"textord","✠","\\maltese"),X("text",J,"spacing"," ","\\ "),X("text",J,"spacing"," "," "),X("text",J,"spacing"," ","~");for(var re=0;re<'0123456789/@."'.length;re++){var oe='0123456789/@."'.charAt(re);X("math",J,"textord",oe,oe)}for(var ie=0;ie<'0123456789!@*()-=+[]<>|";:?/.,'.length;ie++){var ae='0123456789!@*()-=+[]<>|";:?/.,'.charAt(ie);X("text",J,"textord",ae,ae)}for(var le="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",ce=0;ce=5?0:e>=3?1:2]){var n=U[t]={cssEmPerMu:F.quad[t]/18};for(var r in F)F.hasOwnProperty(r)&&(n[r]=F[r][t])}return U[t]}(this.size)),this._fontMetrics},t.getColor=function(){return this.phantom?"transparent":this.color},e}();_e.BASESIZE=6;var ke=_e,Se={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:1.00375,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:1.00375},Oe={ex:!0,em:!0,mu:!0},Me=function(e){return"string"!=typeof e&&(e=e.unit),e in Se||e in Oe||"ex"===e},Te=function(e,t){var n;if(e.unit in Se)n=Se[e.unit]/t.fontMetrics().ptPerEm/t.sizeMultiplier;else if("mu"===e.unit)n=t.fontMetrics().cssEmPerMu;else{var r;if(r=t.style.isTight()?t.havingStyle(t.style.text()):t,"ex"===e.unit)n=r.fontMetrics().xHeight;else{if("em"!==e.unit)throw new a("Invalid unit: '"+e.unit+"'");n=r.fontMetrics().quad}r!==t&&(n*=r.sizeMultiplier/t.sizeMultiplier)}return Math.min(e.number*n,t.maxSize)},Ee=["\\imath","ı","\\jmath","ȷ","\\pounds","\\mathsterling","\\textsterling","£"],ze=function(e,t,n){return K[n][e]&&K[n][e].replace&&(e=K[n][e].replace),{value:e,metrics:B(e,t,n)}},Ce=function(e,t,n,r,o){var i,a=ze(e,t,n),l=a.metrics;if(e=a.value,l){var c=l.italic;("text"===n||r&&"mathit"===r.font)&&(c=0),i=new N(e,l.height,l.depth,c,l.skew,l.width,o)}else"undefined"!=typeof console&&console.warn("No character metrics for '"+e+"' in style '"+t+"' and mode '"+n+"'"),i=new N(e,0,0,0,0,0,o);if(r){i.maxFontSize=r.sizeMultiplier,r.style.isTight()&&i.classes.push("mtight");var s=r.getColor();s&&(i.style.color=s)}return i},Pe=function(e,t){if(T(e.classes)!==T(t.classes)||e.skew!==t.skew||e.maxFontSize!==t.maxFontSize)return!1;for(var n in e.style)if(e.style.hasOwnProperty(n)&&e.style[n]!==t.style[n])return!1;for(var r in t.style)if(t.style.hasOwnProperty(r)&&e.style[r]!==t.style[r])return!1;return!0},Ae=function(e){for(var t=0,n=0,r=0,o=0;ot&&(t=i.height),i.depth>n&&(n=i.depth),i.maxFontSize>r&&(r=i.maxFontSize)}e.height=t,e.depth=n,e.maxFontSize=r},je=function(e,t,n,r){var o=new P(e,t,n,r);return Ae(o),o},Le=function(e,t,n,r){return new P(e,t,n,r)},Ne=function(e){var t=new M(e);return Ae(t),t},He=function(e,t,n){var r="";switch(e){case"amsrm":r="AMS";break;case"textrm":r="Main";break;case"textsf":r="SansSerif";break;case"texttt":r="Typewriter";break;default:r=e}return r+"-"+("textbf"===t&&"textit"===n?"BoldItalic":"textbf"===t?"Bold":"textit"===t?"Italic":"Regular")},Re={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},Ie={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},Ve={fontMap:Re,makeSymbol:Ce,mathsym:function(e,t,n,r){return void 0===r&&(r=[]),"boldsymbol"===n.font&&ze(e,"Main-Bold",t).metrics?Ce(e,"Main-Bold",t,n,r.concat(["mathbf"])):"\\"===e||"main"===K[t][e].font?Ce(e,"Main-Regular",t,n,r):Ce(e,"AMS-Regular",t,n,r.concat(["amsrm"]))},makeSpan:je,makeSvgSpan:Le,makeLineSpan:function(e,t,n){var r=je([e],[],t);return r.height=Math.max(n||t.fontMetrics().defaultRuleThickness,t.minRuleThickness),r.style.borderBottomWidth=r.height+"em",r.maxFontSize=1,r},makeAnchor:function(e,t,n,r){var o=new A(e,t,n,r);return Ae(o),o},makeFragment:Ne,wrapFragment:function(e,t){return e instanceof M?je([],[e],t):e},makeVList:function(e,t){for(var n=function(e){if("individualShift"===e.positionType){for(var t=e.children,n=[t[0]],r=-t[0].shift-t[0].elem.depth,o=r,i=1;i0&&(i.push(pt(a,t)),a=[]),i.push(o[l]));a.length>0&&i.push(pt(a,t)),n&&((r=pt(lt(n,t,!0))).classes=["tag"],i.push(r));var s=nt(["katex-html"],i);if(s.setAttribute("aria-hidden","true"),r){var u=r.children[0];u.style.height=s.height+s.depth+"em",u.style.verticalAlign=-s.depth+"em"}return s}function mt(e){return new M(e)}var vt=function(){function e(e,t){this.type=void 0,this.attributes=void 0,this.children=void 0,this.type=e,this.attributes={},this.children=t||[]}var t=e.prototype;return t.setAttribute=function(e,t){this.attributes[e]=t},t.getAttribute=function(e){return this.attributes[e]},t.toNode=function(){var e=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);for(var n=0;n"},t.toText=function(){return this.children.map((function(e){return e.toText()})).join("")},e}(),yt=function(){function e(e){this.text=void 0,this.text=e}var t=e.prototype;return t.toNode=function(){return document.createTextNode(this.text)},t.toMarkup=function(){return f.escape(this.toText())},t.toText=function(){return this.text},e}(),gt={MathNode:vt,TextNode:yt,SpaceNode:function(){function e(e){this.width=void 0,this.character=void 0,this.width=e,this.character=e>=.05555&&e<=.05556?" ":e>=.1666&&e<=.1667?" ":e>=.2222&&e<=.2223?" ":e>=.2777&&e<=.2778?"  ":e>=-.05556&&e<=-.05555?" ⁣":e>=-.1667&&e<=-.1666?" ⁣":e>=-.2223&&e<=-.2222?" ⁣":e>=-.2778&&e<=-.2777?" ⁣":null}var t=e.prototype;return t.toNode=function(){if(this.character)return document.createTextNode(this.character);var e=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return e.setAttribute("width",this.width+"em"),e},t.toMarkup=function(){return this.character?""+this.character+"":''},t.toText=function(){return this.character?this.character:" "},e}(),newDocumentFragment:mt},bt=function(e,t,n){return!K[t][e]||!K[t][e].replace||55349===e.charCodeAt(0)||ne.hasOwnProperty(e)&&n&&(n.fontFamily&&"tt"===n.fontFamily.substr(4,2)||n.font&&"tt"===n.font.substr(4,2))||(e=K[t][e].replace),new gt.TextNode(e)},wt=function(e){return 1===e.length?e[0]:new gt.MathNode("mrow",e)},xt=function(e,t){if("texttt"===t.fontFamily)return"monospace";if("textsf"===t.fontFamily)return"textit"===t.fontShape&&"textbf"===t.fontWeight?"sans-serif-bold-italic":"textit"===t.fontShape?"sans-serif-italic":"textbf"===t.fontWeight?"bold-sans-serif":"sans-serif";if("textit"===t.fontShape&&"textbf"===t.fontWeight)return"bold-italic";if("textit"===t.fontShape)return"italic";if("textbf"===t.fontWeight)return"bold";var n=t.font;if(!n||"mathnormal"===n)return null;var r=e.mode;if("mathit"===n)return"italic";if("boldsymbol"===n)return"bold-italic";if("mathbf"===n)return"bold";if("mathbb"===n)return"double-struck";if("mathfrak"===n)return"fraktur";if("mathscr"===n||"mathcal"===n)return"script";if("mathsf"===n)return"sans-serif";if("mathtt"===n)return"monospace";var o=e.text;return f.contains(["\\imath","\\jmath"],o)?null:(K[r][o]&&K[r][o].replace&&(o=K[r][o].replace),B(o,Ve.fontMap[n].fontName,r)?Ve.fontMap[n].variant:null)},_t=function(e,t,n){if(1===e.length){var r=St(e[0],t);return n&&r instanceof vt&&"mo"===r.type&&(r.setAttribute("lspace","0em"),r.setAttribute("rspace","0em")),[r]}for(var o,i=[],a=0;a0&&(p.text=p.text.slice(0,1)+"̸"+p.text.slice(1),i.pop())}}}i.push(l),o=l}return i},kt=function(e,t,n){return wt(_t(e,t,n))},St=function(e,t){if(!e)return new gt.MathNode("mrow");if(Ze[e.type])return Ze[e.type](e,t);throw new a("Got group of unknown type: '"+e.type+"'")};function Ot(e,t,n,r){var o,i=_t(e,n);o=1===i.length&&i[0]instanceof vt&&f.contains(["mrow","mtable"],i[0].type)?i[0]:new gt.MathNode("mrow",i);var a=new gt.MathNode("annotation",[new gt.TextNode(t)]);a.setAttribute("encoding","application/x-tex");var l=new gt.MathNode("semantics",[o,a]),c=new gt.MathNode("math",[l]);c.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML");var s=r?"katex":"katex-mathml";return Ve.makeSpan([s],[c])}var Mt=function(e){return new ke({style:e.displayMode?x.DISPLAY:x.TEXT,maxSize:e.maxSize,minRuleThickness:e.minRuleThickness})},Tt=function(e,t){if(t.displayMode){var n=["katex-display"];t.leqno&&n.push("leqno"),t.fleqn&&n.push("fleqn"),e=Ve.makeSpan(n,[e])}return e},Et=function(e,t,n){var r,o=Mt(n);if("mathml"===n.output)return Ot(e,t,o,!0);if("html"===n.output){var i=dt(e,o);r=Ve.makeSpan(["katex"],[i])}else{var a=Ot(e,t,o,!1),l=dt(e,o);r=Ve.makeSpan(["katex"],[a,l])}return Tt(r,n)},zt={widehat:"^",widecheck:"ˇ",widetilde:"~",utilde:"~",overleftarrow:"←",underleftarrow:"←",xleftarrow:"←",overrightarrow:"→",underrightarrow:"→",xrightarrow:"→",underbrace:"⏟",overbrace:"⏞",overgroup:"⏠",undergroup:"⏡",overleftrightarrow:"↔",underleftrightarrow:"↔",xleftrightarrow:"↔",Overrightarrow:"⇒",xRightarrow:"⇒",overleftharpoon:"↼",xleftharpoonup:"↼",overrightharpoon:"⇀",xrightharpoonup:"⇀",xLeftarrow:"⇐",xLeftrightarrow:"⇔",xhookleftarrow:"↩",xhookrightarrow:"↪",xmapsto:"↦",xrightharpoondown:"⇁",xleftharpoondown:"↽",xrightleftharpoons:"⇌",xleftrightharpoons:"⇋",xtwoheadleftarrow:"↞",xtwoheadrightarrow:"↠",xlongequal:"=",xtofrom:"⇄",xrightleftarrows:"⇄",xrightequilibrium:"⇌",xleftequilibrium:"⇋"},Ct={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},Pt=function(e,t,n,r){var o,i=e.height+e.depth+2*n;if(/fbox|color/.test(t)){if(o=Ve.makeSpan(["stretchy",t],[],r),"fbox"===t){var a=r.color&&r.getColor();a&&(o.style.borderColor=a)}}else{var l=[];/^[bx]cancel$/.test(t)&&l.push(new I({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(t)&&l.push(new I({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var c=new H(l,{width:"100%",height:i+"em"});o=Ve.makeSvgSpan([],[c],r)}return o.height=i,o.style.height=i+"em",o},At=function(e){var t=new gt.MathNode("mo",[new gt.TextNode(zt[e.substr(1)])]);return t.setAttribute("stretchy","true"),t},jt=function(e,t){var n=function(){var n=4e5,r=e.label.substr(1);if(f.contains(["widehat","widecheck","widetilde","utilde"],r)){var o,i,a,l="ordgroup"===(d=e.base).type?d.body.length:1;if(l>5)"widehat"===r||"widecheck"===r?(o=420,n=2364,a=.42,i=r+"4"):(o=312,n=2340,a=.34,i="tilde4");else{var c=[1,1,2,2,3,3][l];"widehat"===r||"widecheck"===r?(n=[0,1062,2364,2364,2364][c],o=[0,239,300,360,420][c],a=[0,.24,.3,.3,.36,.42][c],i=r+c):(n=[0,600,1033,2339,2340][c],o=[0,260,286,306,312][c],a=[0,.26,.286,.3,.306,.34][c],i="tilde"+c)}var s=new R(i),u=new H([s],{width:"100%",height:a+"em",viewBox:"0 0 "+n+" "+o,preserveAspectRatio:"none"});return{span:Ve.makeSvgSpan([],[u],t),minWidth:0,height:a}}var h,p,d,m=[],v=Ct[r],y=v[0],g=v[1],b=v[2],w=b/1e3,x=y.length;if(1===x)h=["hide-tail"],p=[v[3]];else if(2===x)h=["halfarrow-left","halfarrow-right"],p=["xMinYMin","xMaxYMin"];else{if(3!==x)throw new Error("Correct katexImagesData or update code here to support\n "+x+" children.");h=["brace-left","brace-center","brace-right"],p=["xMinYMin","xMidYMin","xMaxYMin"]}for(var _=0;_0&&(r.style.minWidth=o+"em"),r},Lt=function(e,t){var n,r,o,i=Fe(e,"supsub");i?(n=(r=De(i.base,"accent")).base,i.base=n,o=function(e){if(e instanceof P)return e;throw new Error("Expected span but got "+String(e)+".")}(ht(i,t)),i.base=r):n=(r=De(e,"accent")).base;var a=ht(n,t.havingCrampedStyle()),l=0;if(r.isShifty&&f.isCharacterBox(n)){var c=f.getBaseElem(n);l=V(ht(c,t.havingCrampedStyle())).skew}var s,u=Math.min(a.height,t.fontMetrics().xHeight);if(r.isStretchy)s=jt(r,t),s=Ve.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"elem",elem:s,wrapperClasses:["svg-align"],wrapperStyle:l>0?{width:"calc(100% - "+2*l+"em)",marginLeft:2*l+"em"}:void 0}]},t);else{var h,p;"\\vec"===r.label?(h=Ve.staticSvg("vec",t),p=Ve.svgData.vec[1]):((h=V(h=Ve.makeOrd({mode:r.mode,text:r.label},t,"textord"))).italic=0,p=h.width),s=Ve.makeSpan(["accent-body"],[h]);var d="\\textcircled"===r.label;d&&(s.classes.push("accent-full"),u=a.height);var m=l;d||(m-=p/2),s.style.left=m+"em","\\textcircled"===r.label&&(s.style.top=".2em"),s=Ve.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"kern",size:-u},{type:"elem",elem:s}]},t)}var v=Ve.makeSpan(["mord","accent"],[s],t);return o?(o.children[0]=v,o.height=Math.max(v.height,o.height),o.classes[0]="mord",o):v},Nt=function(e,t){var n=e.isStretchy?At(e.label):new gt.MathNode("mo",[bt(e.label,e.mode)]),r=new gt.MathNode("mover",[St(e.base,t),n]);return r.setAttribute("accent","true"),r},Ht=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map((function(e){return"\\"+e})).join("|"));$e({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:function(e,t){var n=t[0],r=!Ht.test(e.funcName),o=!r||"\\widehat"===e.funcName||"\\widetilde"===e.funcName||"\\widecheck"===e.funcName;return{type:"accent",mode:e.parser.mode,label:e.funcName,isStretchy:r,isShifty:o,base:n}},htmlBuilder:Lt,mathmlBuilder:Nt}),$e({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!1},handler:function(e,t){var n=t[0];return{type:"accent",mode:e.parser.mode,label:e.funcName,isStretchy:!1,isShifty:!0,base:n}},htmlBuilder:Lt,mathmlBuilder:Nt}),$e({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:function(e,t){var n=e.parser,r=e.funcName,o=t[0];return{type:"accentUnder",mode:n.mode,label:r,base:o}},htmlBuilder:function(e,t){var n=ht(e.base,t),r=jt(e,t),o="\\utilde"===e.label?.12:0,i=Ve.makeVList({positionType:"bottom",positionData:r.height+o,children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:o},{type:"elem",elem:n}]},t);return Ve.makeSpan(["mord","accentunder"],[i],t)},mathmlBuilder:function(e,t){var n=At(e.label),r=new gt.MathNode("munder",[St(e.base,t),n]);return r.setAttribute("accentunder","true"),r}});var Rt=function(e){var t=new gt.MathNode("mpadded",e?[e]:[]);return t.setAttribute("width","+0.6em"),t.setAttribute("lspace","0.3em"),t};$e({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium"],props:{numArgs:1,numOptionalArgs:1},handler:function(e,t,n){var r=e.parser,o=e.funcName;return{type:"xArrow",mode:r.mode,label:o,body:t[0],below:n[0]}},htmlBuilder:function(e,t){var n,r=t.style,o=t.havingStyle(r.sup()),i=Ve.wrapFragment(ht(e.body,o,t),t);i.classes.push("x-arrow-pad"),e.below&&(o=t.havingStyle(r.sub()),(n=Ve.wrapFragment(ht(e.below,o,t),t)).classes.push("x-arrow-pad"));var a,l=jt(e,t),c=-t.fontMetrics().axisHeight+.5*l.height,s=-t.fontMetrics().axisHeight-.5*l.height-.111;if((i.depth>.25||"\\xleftequilibrium"===e.label)&&(s-=i.depth),n){var u=-t.fontMetrics().axisHeight+n.height+.5*l.height+.111;a=Ve.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:s},{type:"elem",elem:l,shift:c},{type:"elem",elem:n,shift:u}]},t)}else a=Ve.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:s},{type:"elem",elem:l,shift:c}]},t);return a.children[0].children[0].children[1].classes.push("svg-align"),Ve.makeSpan(["mrel","x-arrow"],[a],t)},mathmlBuilder:function(e,t){var n,r=At(e.label);if(e.body){var o=Rt(St(e.body,t));if(e.below){var i=Rt(St(e.below,t));n=new gt.MathNode("munderover",[r,i,o])}else n=new gt.MathNode("mover",[r,o])}else if(e.below){var a=Rt(St(e.below,t));n=new gt.MathNode("munder",[r,a])}else n=Rt(),n=new gt.MathNode("mover",[r,n]);return n}}),$e({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler:function(e,t){for(var n=e.parser,r=De(t[0],"ordgroup").body,o="",i=0;i","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],Qt=[0,1.2,1.8,2.4,3],Zt=[{type:"small",style:x.SCRIPTSCRIPT},{type:"small",style:x.SCRIPT},{type:"small",style:x.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],$t=[{type:"small",style:x.SCRIPTSCRIPT},{type:"small",style:x.SCRIPT},{type:"small",style:x.TEXT},{type:"stack"}],en=[{type:"small",style:x.SCRIPTSCRIPT},{type:"small",style:x.SCRIPT},{type:"small",style:x.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],tn=function(e){if("small"===e.type)return"Main-Regular";if("large"===e.type)return"Size"+e.size+"-Regular";if("stack"===e.type)return"Size4-Regular";throw new Error("Add support for delim type '"+e.type+"' here.")},nn=function(e,t,n,r){for(var o=Math.min(2,3-r.style.size);ot)return n[o]}return n[n.length-1]},rn=function(e,t,n,r,o,i){var a;"<"===e||"\\lt"===e||"⟨"===e?e="\\langle":">"!==e&&"\\gt"!==e&&"⟩"!==e||(e="\\rangle"),a=f.contains(Jt,e)?Zt:f.contains(Kt,e)?en:$t;var l=nn(e,t,a,r);return"small"===l.type?function(e,t,n,r,o,i){var a=Ve.makeSymbol(e,"Main-Regular",o,r),l=Ft(a,t,r,i);return n&&qt(l,r,t),l}(e,l.style,n,r,o,i):"large"===l.type?Bt(e,l.size,n,r,o,i):Yt(e,t,n,r,o,i)},on=function(e,t){var n,r,o=t.havingBaseSizing(),i=nn("\\surd",e*o.sizeMultiplier,en,o),a=o.sizeMultiplier,l=Math.max(0,t.minRuleThickness-t.fontMetrics().sqrtRuleThickness),c=0,s=0,u=0;return"small"===i.type?(e<1?a=1:e<1.4&&(a=.7),s=(1+l)/a,(n=Gt("sqrtMain",c=(1+l+.08)/a,u=1e3+1e3*l+80,l,t)).style.minWidth="0.853em",r=.833/a):"large"===i.type?(u=1080*Qt[i.size],s=(Qt[i.size]+l)/a,c=(Qt[i.size]+l+.08)/a,(n=Gt("sqrtSize"+i.size,c,u,l,t)).style.minWidth="1.02em",r=1/a):(c=e+l+.08,s=e+l,u=Math.floor(1e3*e+l)+80,(n=Gt("sqrtTall",c,u,l,t)).style.minWidth="0.742em",r=1.056),n.height=s,n.style.height=c+"em",{span:n,advanceWidth:r,ruleWidth:(t.fontMetrics().sqrtRuleThickness+l)*a}},an=function(e,t,n,r,o){if("<"===e||"\\lt"===e||"⟨"===e?e="\\langle":">"!==e&&"\\gt"!==e&&"⟩"!==e||(e="\\rangle"),f.contains(Kt,e)||f.contains(Jt,e))return Bt(e,t,!1,n,r,o);if(f.contains(Xt,e))return Yt(e,Qt[t],!1,n,r,o);throw new a("Illegal delimiter: '"+e+"'")},ln=rn,cn=function(e,t,n,r,o,i){var a=r.fontMetrics().axisHeight*r.sizeMultiplier,l=5/r.fontMetrics().ptPerEm,c=Math.max(t-a,n+a),s=Math.max(c/500*901,2*c-l);return rn(e,s,!0,r,o,i)},sn={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},un=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","<",">","\\langle","⟨","\\rangle","⟩","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function fn(e,t){var n=Ue(e);if(n&&f.contains(un,n.text))return n;throw new a("Invalid delimiter: '"+(n?n.text:JSON.stringify(e))+"' after '"+t.funcName+"'",e)}function hn(e){if(!e.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}$e({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1},handler:function(e,t){var n=fn(t[0],e);return{type:"delimsizing",mode:e.parser.mode,size:sn[e.funcName].size,mclass:sn[e.funcName].mclass,delim:n.text}},htmlBuilder:function(e,t){return"."===e.delim?Ve.makeSpan([e.mclass]):an(e.delim,e.size,t,e.mode,[e.mclass])},mathmlBuilder:function(e){var t=[];"."!==e.delim&&t.push(bt(e.delim,e.mode));var n=new gt.MathNode("mo",t);return"mopen"===e.mclass||"mclose"===e.mclass?n.setAttribute("fence","true"):n.setAttribute("fence","false"),n}}),$e({type:"leftright-right",names:["\\right"],props:{numArgs:1},handler:function(e,t){var n=e.parser.gullet.macros.get("\\current@color");if(n&&"string"!=typeof n)throw new a("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:fn(t[0],e).text,color:n}}}),$e({type:"leftright",names:["\\left"],props:{numArgs:1},handler:function(e,t){var n=fn(t[0],e),r=e.parser;++r.leftrightDepth;var o=r.parseExpression(!1);--r.leftrightDepth,r.expect("\\right",!1);var i=De(r.parseFunction(),"leftright-right");return{type:"leftright",mode:r.mode,body:o,left:n.text,right:i.delim,rightColor:i.color}},htmlBuilder:function(e,t){hn(e);for(var n,r,o=lt(e.body,t,!0,["mopen","mclose"]),i=0,a=0,l=!1,c=0;c-1?"mpadded":"menclose",[St(e.body,t)]);switch(e.label){case"\\cancel":r.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":r.setAttribute("notation","downdiagonalstrike");break;case"\\sout":r.setAttribute("notation","horizontalstrike");break;case"\\fbox":r.setAttribute("notation","box");break;case"\\fcolorbox":case"\\colorbox":if(n=t.fontMetrics().fboxsep*t.fontMetrics().ptPerEm,r.setAttribute("width","+"+2*n+"pt"),r.setAttribute("height","+"+2*n+"pt"),r.setAttribute("lspace",n+"pt"),r.setAttribute("voffset",n+"pt"),"\\fcolorbox"===e.label){var o=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness);r.setAttribute("style","border: "+o+"em solid "+String(e.borderColor))}break;case"\\xcancel":r.setAttribute("notation","updiagonalstrike downdiagonalstrike")}return e.backgroundColor&&r.setAttribute("mathbackground",e.backgroundColor),r};$e({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","text"]},handler:function(e,t,n){var r=e.parser,o=e.funcName,i=De(t[0],"color-token").color,a=t[1];return{type:"enclose",mode:r.mode,label:o,backgroundColor:i,body:a}},htmlBuilder:pn,mathmlBuilder:dn}),$e({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,greediness:3,argTypes:["color","color","text"]},handler:function(e,t,n){var r=e.parser,o=e.funcName,i=De(t[0],"color-token").color,a=De(t[1],"color-token").color,l=t[2];return{type:"enclose",mode:r.mode,label:o,backgroundColor:a,borderColor:i,body:l}},htmlBuilder:pn,mathmlBuilder:dn}),$e({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler:function(e,t){return{type:"enclose",mode:e.parser.mode,label:"\\fbox",body:t[0]}}}),$e({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout"],props:{numArgs:1},handler:function(e,t,n){var r=e.parser,o=e.funcName,i=t[0];return{type:"enclose",mode:r.mode,label:o,body:i}},htmlBuilder:pn,mathmlBuilder:dn});var mn={};function vn(e){for(var t=e.type,n=e.names,r=e.props,o=e.handler,i=e.htmlBuilder,a=e.mathmlBuilder,l={type:t,numArgs:r.numArgs||0,greediness:1,allowedInText:!1,numOptionalArgs:0,handler:o},c=0;c0&&(b+=.25),s.push({pos:b,isDashed:e[t]})}for(w(i[0]),n=0;n0&&(S<(E+=g)&&(S=E),E=0),e.addJot&&(S+=m),O.height=k,O.depth=S,b+=k,O.pos=b,b+=S+E,c[n]=O,w(i[n+1])}var z,C,P=b/2+t.fontMetrics().axisHeight,A=e.cols||[],j=[];for(r=0,C=0;r=l)){var I=void 0;(r>0||e.hskipBeforeAndAfter)&&0!==(I=f.deflt(L.pregap,p))&&((z=Ve.makeSpan(["arraycolsep"],[])).style.width=I+"em",j.push(z));var V=[];for(n=0;n0){for(var B=Ve.makeLineSpan("hline",t,u),U=Ve.makeLineSpan("hdashline",t,u),W=[{type:"elem",elem:c,shift:0}];s.length>0;){var Y=s.pop(),G=Y.pos-P;Y.isDashed?W.push({type:"elem",elem:U,shift:G}):W.push({type:"elem",elem:B,shift:G})}c=Ve.makeVList({positionType:"individualShift",children:W},t)}return Ve.makeSpan(["mord"],[c],t)},xn={c:"center ",l:"left ",r:"right "},_n=function(e,t){var n=new gt.MathNode("mtable",e.body.map((function(e){return new gt.MathNode("mtr",e.map((function(e){return new gt.MathNode("mtd",[St(e,t)])})))}))),r=.5===e.arraystretch?.1:.16+e.arraystretch-1+(e.addJot?.09:0);n.setAttribute("rowspacing",r+"em");var o="",i="";if(e.cols){var a=e.cols,l="",c=!1,s=0,u=a.length;"separator"===a[0].type&&(o+="top ",s=1),"separator"===a[a.length-1].type&&(o+="bottom ",u-=1);for(var f=s;f0?"left ":"",o+=v[v.length-1].length>0?"right ":"";for(var y=1;y0&&f&&(d=1),r[h]={type:"align",align:p,pregap:d,postgap:0}}return o.colSeparationType=f?"align":"alignat",o};vn({type:"array",names:["array","darray"],props:{numArgs:1},handler:function(e,t){var n={cols:(Ue(t[0])?[t[0]]:De(t[0],"ordgroup").body).map((function(e){var t=Be(e).text;if(-1!=="lcr".indexOf(t))return{type:"align",align:t};if("|"===t)return{type:"separator",separator:"|"};if(":"===t)return{type:"separator",separator:":"};throw new a("Unknown column alignment: "+t,e)})),hskipBeforeAndAfter:!0};return gn(e.parser,n,bn(e.envName))},htmlBuilder:wn,mathmlBuilder:_n}),vn({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix"],props:{numArgs:0},handler:function(e){var t={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[e.envName],n=gn(e.parser,{hskipBeforeAndAfter:!1},bn(e.envName));return t?{type:"leftright",mode:e.mode,body:[n],left:t[0],right:t[1],rightColor:void 0}:n},htmlBuilder:wn,mathmlBuilder:_n}),vn({type:"array",names:["smallmatrix"],props:{numArgs:0},handler:function(e){var t=gn(e.parser,{arraystretch:.5},"script");return t.colSeparationType="small",t},htmlBuilder:wn,mathmlBuilder:_n}),vn({type:"array",names:["subarray"],props:{numArgs:1},handler:function(e,t){var n=(Ue(t[0])?[t[0]]:De(t[0],"ordgroup").body).map((function(e){var t=Be(e).text;if(-1!=="lc".indexOf(t))return{type:"align",align:t};throw new a("Unknown column alignment: "+t,e)}));if(n.length>1)throw new a("{subarray} can contain only one column");var r={cols:n,hskipBeforeAndAfter:!1,arraystretch:.5};if((r=gn(e.parser,r,"script")).body[0].length>1)throw new a("{subarray} can contain only one column");return r},htmlBuilder:wn,mathmlBuilder:_n}),vn({type:"array",names:["cases","dcases"],props:{numArgs:0},handler:function(e){var t=gn(e.parser,{arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},bn(e.envName));return{type:"leftright",mode:e.mode,body:[t],left:"\\{",right:".",rightColor:void 0}},htmlBuilder:wn,mathmlBuilder:_n}),vn({type:"array",names:["aligned"],props:{numArgs:0},handler:kn,htmlBuilder:wn,mathmlBuilder:_n}),vn({type:"array",names:["gathered"],props:{numArgs:0},handler:function(e){return gn(e.parser,{cols:[{type:"align",align:"c"}],addJot:!0},"display")},htmlBuilder:wn,mathmlBuilder:_n}),vn({type:"array",names:["alignedat"],props:{numArgs:1},handler:kn,htmlBuilder:wn,mathmlBuilder:_n}),$e({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler:function(e,t){throw new a(e.funcName+" valid only within array environment")}});var Sn=mn;$e({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler:function(e,t){var n=e.parser,r=e.funcName,o=t[0];if("ordgroup"!==o.type)throw new a("Invalid environment name",o);for(var i="",l=0;l=x.SCRIPT.id?n.text():x.DISPLAY:"text"===e&&n.size===x.DISPLAY.size?n=x.TEXT:"script"===e?n=x.SCRIPT:"scriptscript"===e&&(n=x.SCRIPTSCRIPT),n},jn=function(e,t){var n,r=An(e.size,t.style),o=r.fracNum(),i=r.fracDen();n=t.havingStyle(o);var a=ht(e.numer,n,t);if(e.continued){var l=8.5/t.fontMetrics().ptPerEm,c=3.5/t.fontMetrics().ptPerEm;a.height=a.height0?3*f:7*f,d=t.fontMetrics().denom1):(u>0?(h=t.fontMetrics().num2,p=f):(h=t.fontMetrics().num3,p=3*f),d=t.fontMetrics().denom2),s){var w=t.fontMetrics().axisHeight;h-a.depth-(w+.5*u)0&&(t="."===(t=e)?null:t),t};$e({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,greediness:6,argTypes:["math","math","size","text","math","math"]},handler:function(e,t){var n=e.parser,r=t[4],o=t[5],i=Fe(t[0],"atom");i&&(i=qe(t[0],"open"));var a=i?Hn(i.text):null,l=Fe(t[1],"atom");l&&(l=qe(t[1],"close"));var c,s=l?Hn(l.text):null,u=De(t[2],"size"),f=null;c=!!u.isBlank||(f=u.value).number>0;var h="auto",p=Fe(t[3],"ordgroup");if(p){if(p.body.length>0){var d=De(p.body[0],"textord");h=Nn[Number(d.text)]}}else p=De(t[3],"textord"),h=Nn[Number(p.text)];return{type:"genfrac",mode:n.mode,numer:r,denom:o,continued:!1,hasBarLine:c,barSize:f,leftDelim:a,rightDelim:s,size:h}},htmlBuilder:jn,mathmlBuilder:Ln}),$e({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler:function(e,t){var n=e.parser,r=(e.funcName,e.token);return{type:"infix",mode:n.mode,replaceWith:"\\\\abovefrac",size:De(t[0],"size").value,token:r}}}),$e({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:function(e,t){var n=e.parser,r=(e.funcName,t[0]),o=function(e){if(!e)throw new Error("Expected non-null, but got "+String(e));return e}(De(t[1],"infix").size),i=t[2],a=o.number>0;return{type:"genfrac",mode:n.mode,numer:r,denom:i,continued:!1,hasBarLine:a,barSize:o,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:jn,mathmlBuilder:Ln});var Rn=function(e,t){var n,r,o=t.style,i=Fe(e,"supsub");i?(n=i.sup?ht(i.sup,t.havingStyle(o.sup()),t):ht(i.sub,t.havingStyle(o.sub()),t),r=De(i.base,"horizBrace")):r=De(e,"horizBrace");var a,l=ht(r.base,t.havingBaseStyle(x.DISPLAY)),c=jt(r,t);if(r.isOver?(a=Ve.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:l},{type:"kern",size:.1},{type:"elem",elem:c}]},t)).children[0].children[0].children[1].classes.push("svg-align"):(a=Ve.makeVList({positionType:"bottom",positionData:l.depth+.1+c.height,children:[{type:"elem",elem:c},{type:"kern",size:.1},{type:"elem",elem:l}]},t)).children[0].children[0].children[0].classes.push("svg-align"),n){var s=Ve.makeSpan(["mord",r.isOver?"mover":"munder"],[a],t);a=r.isOver?Ve.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:s},{type:"kern",size:.2},{type:"elem",elem:n}]},t):Ve.makeVList({positionType:"bottom",positionData:s.depth+.2+n.height+n.depth,children:[{type:"elem",elem:n},{type:"kern",size:.2},{type:"elem",elem:s}]},t)}return Ve.makeSpan(["mord",r.isOver?"mover":"munder"],[a],t)};$e({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler:function(e,t){var n=e.parser,r=e.funcName;return{type:"horizBrace",mode:n.mode,label:r,isOver:/^\\over/.test(r),base:t[0]}},htmlBuilder:Rn,mathmlBuilder:function(e,t){var n=At(e.label);return new gt.MathNode(e.isOver?"mover":"munder",[St(e.base,t),n])}}),$e({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:function(e,t){var n=e.parser,r=t[1],o=De(t[0],"url").url;return n.settings.isTrusted({command:"\\href",url:o})?{type:"href",mode:n.mode,href:o,body:tt(r)}:n.formatUnsupportedCmd("\\href")},htmlBuilder:function(e,t){var n=lt(e.body,t,!1);return Ve.makeAnchor(e.href,[],n,t)},mathmlBuilder:function(e,t){var n=kt(e.body,t);return n instanceof vt||(n=new vt("mrow",[n])),n.setAttribute("href",e.href),n}}),$e({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:function(e,t){var n=e.parser,r=De(t[0],"url").url;if(!n.settings.isTrusted({command:"\\url",url:r}))return n.formatUnsupportedCmd("\\url");for(var o=[],i=0;i0&&(r=Te(e.totalheight,t)-n,r=Number(r.toFixed(2)));var o=0;e.width.number>0&&(o=Te(e.width,t));var i={height:n+r+"em"};o>0&&(i.width=o+"em"),r>0&&(i.verticalAlign=-r+"em");var a=new j(e.src,e.alt,i);return a.height=n,a.depth=r,a},mathmlBuilder:function(e,t){var n=new gt.MathNode("mglyph",[]);n.setAttribute("alt",e.alt);var r=Te(e.height,t),o=0;if(e.totalheight.number>0&&(o=(o=Te(e.totalheight,t)-r).toFixed(2),n.setAttribute("valign","-"+o+"em")),n.setAttribute("height",r+o+"em"),e.width.number>0){var i=Te(e.width,t);n.setAttribute("width",i+"em")}return n.setAttribute("src",e.src),n}}),$e({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],allowedInText:!0},handler:function(e,t){var n=e.parser,r=e.funcName,o=De(t[0],"size");if(n.settings.strict){var i="m"===r[1],a="mu"===o.value.unit;i?(a||n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" supports only mu units, not "+o.value.unit+" units"),"math"!==n.mode&&n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" works only in math mode")):a&&n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" doesn't support mu units")}return{type:"kern",mode:n.mode,dimension:o.value}},htmlBuilder:function(e,t){return Ve.makeGlue(e.dimension,t)},mathmlBuilder:function(e,t){var n=Te(e.dimension,t);return new gt.SpaceNode(n)}}),$e({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:function(e,t){var n=e.parser,r=e.funcName,o=t[0];return{type:"lap",mode:n.mode,alignment:r.slice(5),body:o}},htmlBuilder:function(e,t){var n;"clap"===e.alignment?(n=Ve.makeSpan([],[ht(e.body,t)]),n=Ve.makeSpan(["inner"],[n],t)):n=Ve.makeSpan(["inner"],[ht(e.body,t)]);var r=Ve.makeSpan(["fix"],[]),o=Ve.makeSpan([e.alignment],[n,r],t),i=Ve.makeSpan(["strut"]);return i.style.height=o.height+o.depth+"em",i.style.verticalAlign=-o.depth+"em",o.children.unshift(i),o=Ve.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:o}]},t),Ve.makeSpan(["mord"],[o],t)},mathmlBuilder:function(e,t){var n=new gt.MathNode("mpadded",[St(e.body,t)]);if("rlap"!==e.alignment){var r="llap"===e.alignment?"-1":"-0.5";n.setAttribute("lspace",r+"width")}return n.setAttribute("width","0px"),n}}),$e({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(e,t){var n=e.funcName,r=e.parser,o=r.mode;r.switchMode("math");var i="\\("===n?"\\)":"$",a=r.parseExpression(!1,i);return r.expect(i),r.switchMode(o),{type:"styling",mode:r.mode,style:"text",body:a}}}),$e({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(e,t){throw new a("Mismatched "+e.funcName)}});var Vn=function(e,t){switch(t.style.size){case x.DISPLAY.size:return e.display;case x.TEXT.size:return e.text;case x.SCRIPT.size:return e.script;case x.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}};$e({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4},handler:function(e,t){return{type:"mathchoice",mode:e.parser.mode,display:tt(t[0]),text:tt(t[1]),script:tt(t[2]),scriptscript:tt(t[3])}},htmlBuilder:function(e,t){var n=Vn(e,t),r=lt(n,t,!1);return Ve.makeFragment(r)},mathmlBuilder:function(e,t){var n=Vn(e,t);return kt(n,t)}});var Dn=function(e,t,n,r,o,i,a){var l,c,s;if(e=Ve.makeSpan([],[e]),t){var u=ht(t,r.havingStyle(o.sup()),r);c={elem:u,kern:Math.max(r.fontMetrics().bigOpSpacing1,r.fontMetrics().bigOpSpacing3-u.depth)}}if(n){var f=ht(n,r.havingStyle(o.sub()),r);l={elem:f,kern:Math.max(r.fontMetrics().bigOpSpacing2,r.fontMetrics().bigOpSpacing4-f.height)}}if(c&&l){var h=r.fontMetrics().bigOpSpacing5+l.elem.height+l.elem.depth+l.kern+e.depth+a;s=Ve.makeVList({positionType:"bottom",positionData:h,children:[{type:"kern",size:r.fontMetrics().bigOpSpacing5},{type:"elem",elem:l.elem,marginLeft:-i+"em"},{type:"kern",size:l.kern},{type:"elem",elem:e},{type:"kern",size:c.kern},{type:"elem",elem:c.elem,marginLeft:i+"em"},{type:"kern",size:r.fontMetrics().bigOpSpacing5}]},r)}else if(l){var p=e.height-a;s=Ve.makeVList({positionType:"top",positionData:p,children:[{type:"kern",size:r.fontMetrics().bigOpSpacing5},{type:"elem",elem:l.elem,marginLeft:-i+"em"},{type:"kern",size:l.kern},{type:"elem",elem:e}]},r)}else{if(!c)return e;var d=e.depth+a;s=Ve.makeVList({positionType:"bottom",positionData:d,children:[{type:"elem",elem:e},{type:"kern",size:c.kern},{type:"elem",elem:c.elem,marginLeft:i+"em"},{type:"kern",size:r.fontMetrics().bigOpSpacing5}]},r)}return Ve.makeSpan(["mop","op-limits"],[s],r)},Fn=["\\smallint"],qn=function(e,t){var n,r,o,i=!1,a=Fe(e,"supsub");a?(n=a.sup,r=a.sub,o=De(a.base,"op"),i=!0):o=De(e,"op");var l,c=t.style,s=!1;if(c.size===x.DISPLAY.size&&o.symbol&&!f.contains(Fn,o.name)&&(s=!0),o.symbol){var u=s?"Size2-Regular":"Size1-Regular",h="";if("\\oiint"!==o.name&&"\\oiiint"!==o.name||(h=o.name.substr(1),o.name="oiint"===h?"\\iint":"\\iiint"),l=Ve.makeSymbol(o.name,u,"math",t,["mop","op-symbol",s?"large-op":"small-op"]),h.length>0){var p=l.italic,d=Ve.staticSvg(h+"Size"+(s?"2":"1"),t);l=Ve.makeVList({positionType:"individualShift",children:[{type:"elem",elem:l,shift:0},{type:"elem",elem:d,shift:s?.08:0}]},t),o.name="\\"+h,l.classes.unshift("mop"),l.italic=p}}else if(o.body){var m=lt(o.body,t,!0);1===m.length&&m[0]instanceof N?(l=m[0]).classes[0]="mop":l=Ve.makeSpan(["mop"],Ve.tryCombineChars(m),t)}else{for(var v=[],y=1;y0){for(var c=o.body.map((function(e){var t=e.text;return"string"==typeof t?{type:"textord",mode:e.mode,text:t}:e})),s=lt(c,t.withFont("mathrm"),!0),u=0;u=0?l.setAttribute("height","+"+o+"em"):(l.setAttribute("height",o+"em"),l.setAttribute("depth","+"+-o+"em")),l.setAttribute("voffset",o+"em"),l}});var Kn=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"];$e({type:"sizing",names:Kn,props:{numArgs:0,allowedInText:!0},handler:function(e,t){var n=e.breakOnTokenText,r=e.funcName,o=e.parser,i=o.parseExpression(!1,n);return{type:"sizing",mode:o.mode,size:Kn.indexOf(r)+1,body:i}},htmlBuilder:function(e,t){var n=t.havingSize(e.size);return Gn(e.body,n,t)},mathmlBuilder:function(e,t){var n=t.havingSize(e.size),r=_t(e.body,n),o=new gt.MathNode("mstyle",r);return o.setAttribute("mathsize",n.sizeMultiplier+"em"),o}}),$e({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:function(e,t,n){var r=e.parser,o=!1,i=!1,a=n[0]&&De(n[0],"ordgroup");if(a)for(var l="",c=0;cn.height+n.depth+i&&(i=(i+f-n.height-n.depth)/2);var h=c.height-n.height-i-s;n.style.paddingLeft=u+"em";var p=Ve.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:-(n.height+h)},{type:"elem",elem:c},{type:"kern",size:s}]},t);if(e.index){var d=t.havingStyle(x.SCRIPTSCRIPT),m=ht(e.index,d,t),v=.6*(p.height-p.depth),y=Ve.makeVList({positionType:"shift",positionData:-v,children:[{type:"elem",elem:m}]},t),g=Ve.makeSpan(["root"],[y]);return Ve.makeSpan(["mord","sqrt"],[g,p],t)}return Ve.makeSpan(["mord","sqrt"],[p],t)},mathmlBuilder:function(e,t){var n=e.body,r=e.index;return r?new gt.MathNode("mroot",[St(n,t),St(r,t)]):new gt.MathNode("msqrt",[St(n,t)])}});var Xn={display:x.DISPLAY,text:x.TEXT,script:x.SCRIPT,scriptscript:x.SCRIPTSCRIPT};$e({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0},handler:function(e,t){var n=e.breakOnTokenText,r=e.funcName,o=e.parser,i=o.parseExpression(!0,n),a=r.slice(1,r.length-5);return{type:"styling",mode:o.mode,style:a,body:i}},htmlBuilder:function(e,t){var n=Xn[e.style],r=t.havingStyle(n).withFont("");return Gn(e.body,r,t)},mathmlBuilder:function(e,t){var n=Xn[e.style],r=t.havingStyle(n),o=_t(e.body,r),i=new gt.MathNode("mstyle",o),a={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]}[e.style];return i.setAttribute("scriptlevel",a[0]),i.setAttribute("displaystyle",a[1]),i}}),et({type:"supsub",htmlBuilder:function(e,t){var n=function(e,t){var n=e.base;return n?"op"===n.type?n.limits&&(t.style.size===x.DISPLAY.size||n.alwaysHandleSupSub)?qn:null:"operatorname"===n.type?n.alwaysHandleSupSub&&(t.style.size===x.DISPLAY.size||n.limits)?Yn:null:"accent"===n.type?f.isCharacterBox(n.base)?Lt:null:"horizBrace"===n.type&&!e.sub===n.isOver?Rn:null:null}(e,t);if(n)return n(e,t);var r,o,i,a=e.base,l=e.sup,c=e.sub,s=ht(a,t),u=t.fontMetrics(),h=0,p=0,d=a&&f.isCharacterBox(a);if(l){var m=t.havingStyle(t.style.sup());r=ht(l,m,t),d||(h=s.height-m.fontMetrics().supDrop*m.sizeMultiplier/t.sizeMultiplier)}if(c){var v=t.havingStyle(t.style.sub());o=ht(c,v,t),d||(p=s.depth+v.fontMetrics().subDrop*v.sizeMultiplier/t.sizeMultiplier)}i=t.style===x.DISPLAY?u.sup1:t.style.cramped?u.sup3:u.sup2;var y,g=t.sizeMultiplier,b=.5/u.ptPerEm/g+"em",w=null;if(o){var _=e.base&&"op"===e.base.type&&e.base.name&&("\\oiint"===e.base.name||"\\oiiint"===e.base.name);(s instanceof N||_)&&(w=-s.italic+"em")}if(r&&o){h=Math.max(h,i,r.depth+.25*u.xHeight),p=Math.max(p,u.sub2);var k=4*u.defaultRuleThickness;if(h-r.depth-(o.height-p)0&&(h+=S,p-=S)}var O=[{type:"elem",elem:o,shift:p,marginRight:b,marginLeft:w},{type:"elem",elem:r,shift:-h,marginRight:b}];y=Ve.makeVList({positionType:"individualShift",children:O},t)}else if(o){p=Math.max(p,u.sub1,o.height-.8*u.xHeight);var M=[{type:"elem",elem:o,marginLeft:w,marginRight:b}];y=Ve.makeVList({positionType:"shift",positionData:p,children:M},t)}else{if(!r)throw new Error("supsub must have either sup or sub.");h=Math.max(h,i,r.depth+.25*u.xHeight),y=Ve.makeVList({positionType:"shift",positionData:-h,children:[{type:"elem",elem:r,marginRight:b}]},t)}var T=ut(s,"right")||"mord";return Ve.makeSpan([T],[s,Ve.makeSpan(["msupsub"],[y])],t)},mathmlBuilder:function(e,t){var n,r=!1,o=Fe(e.base,"horizBrace");o&&!!e.sup===o.isOver&&(r=!0,n=o.isOver),!e.base||"op"!==e.base.type&&"operatorname"!==e.base.type||(e.base.parentIsSupSub=!0);var i,a=[St(e.base,t)];if(e.sub&&a.push(St(e.sub,t)),e.sup&&a.push(St(e.sup,t)),r)i=n?"mover":"munder";else if(e.sub)if(e.sup){var l=e.base;i=l&&"op"===l.type&&l.limits&&t.style===x.DISPLAY||l&&"operatorname"===l.type&&l.alwaysHandleSupSub&&(t.style===x.DISPLAY||l.limits)?"munderover":"msubsup"}else{var c=e.base;i=c&&"op"===c.type&&c.limits&&(t.style===x.DISPLAY||c.alwaysHandleSupSub)||c&&"operatorname"===c.type&&c.alwaysHandleSupSub&&(c.limits||t.style===x.DISPLAY)?"munder":"msub"}else{var s=e.base;i=s&&"op"===s.type&&s.limits&&(t.style===x.DISPLAY||s.alwaysHandleSupSub)||s&&"operatorname"===s.type&&s.alwaysHandleSupSub&&(s.limits||t.style===x.DISPLAY)?"mover":"msup"}return new gt.MathNode(i,a)}}),et({type:"atom",htmlBuilder:function(e,t){return Ve.mathsym(e.text,e.mode,t,["m"+e.family])},mathmlBuilder:function(e,t){var n=new gt.MathNode("mo",[bt(e.text,e.mode)]);if("bin"===e.family){var r=xt(e,t);"bold-italic"===r&&n.setAttribute("mathvariant",r)}else"punct"===e.family?n.setAttribute("separator","true"):"open"!==e.family&&"close"!==e.family||n.setAttribute("stretchy","false");return n}});var Jn={mi:"italic",mn:"normal",mtext:"normal"};et({type:"mathord",htmlBuilder:function(e,t){return Ve.makeOrd(e,t,"mathord")},mathmlBuilder:function(e,t){var n=new gt.MathNode("mi",[bt(e.text,e.mode,t)]),r=xt(e,t)||"italic";return r!==Jn[n.type]&&n.setAttribute("mathvariant",r),n}}),et({type:"textord",htmlBuilder:function(e,t){return Ve.makeOrd(e,t,"textord")},mathmlBuilder:function(e,t){var n,r=bt(e.text,e.mode,t),o=xt(e,t)||"normal";return n="text"===e.mode?new gt.MathNode("mtext",[r]):/[0-9]/.test(e.text)?new gt.MathNode("mn",[r]):"\\prime"===e.text?new gt.MathNode("mo",[r]):new gt.MathNode("mi",[r]),o!==Jn[n.type]&&n.setAttribute("mathvariant",o),n}});var Qn={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},Zn={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};et({type:"spacing",htmlBuilder:function(e,t){if(Zn.hasOwnProperty(e.text)){var n=Zn[e.text].className||"";if("text"===e.mode){var r=Ve.makeOrd(e,t,"textord");return r.classes.push(n),r}return Ve.makeSpan(["mspace",n],[Ve.mathsym(e.text,e.mode,t)],t)}if(Qn.hasOwnProperty(e.text))return Ve.makeSpan(["mspace",Qn[e.text]],[],t);throw new a('Unknown type of space "'+e.text+'"')},mathmlBuilder:function(e,t){if(!Zn.hasOwnProperty(e.text)){if(Qn.hasOwnProperty(e.text))return new gt.MathNode("mspace");throw new a('Unknown type of space "'+e.text+'"')}return new gt.MathNode("mtext",[new gt.TextNode(" ")])}});var $n=function(){var e=new gt.MathNode("mtd",[]);return e.setAttribute("width","50%"),e};et({type:"tag",mathmlBuilder:function(e,t){var n=new gt.MathNode("mtable",[new gt.MathNode("mtr",[$n(),new gt.MathNode("mtd",[kt(e.body,t)]),$n(),new gt.MathNode("mtd",[kt(e.tag,t)])])]);return n.setAttribute("width","100%"),n}});var er={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},tr={"\\textbf":"textbf","\\textmd":"textmd"},nr={"\\textit":"textit","\\textup":"textup"},rr=function(e,t){var n=e.font;return n?er[n]?t.withTextFontFamily(er[n]):tr[n]?t.withTextFontWeight(tr[n]):t.withTextFontShape(nr[n]):t};$e({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup"],props:{numArgs:1,argTypes:["text"],greediness:2,allowedInText:!0},handler:function(e,t){var n=e.parser,r=e.funcName,o=t[0];return{type:"text",mode:n.mode,body:tt(o),font:r}},htmlBuilder:function(e,t){var n=rr(e,t),r=lt(e.body,n,!0);return Ve.makeSpan(["mord","text"],Ve.tryCombineChars(r),n)},mathmlBuilder:function(e,t){var n=rr(e,t);return kt(e.body,n)}}),$e({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler:function(e,t){return{type:"underline",mode:e.parser.mode,body:t[0]}},htmlBuilder:function(e,t){var n=ht(e.body,t),r=Ve.makeLineSpan("underline-line",t),o=t.fontMetrics().defaultRuleThickness,i=Ve.makeVList({positionType:"top",positionData:n.height,children:[{type:"kern",size:o},{type:"elem",elem:r},{type:"kern",size:3*o},{type:"elem",elem:n}]},t);return Ve.makeSpan(["mord","underline"],[i],t)},mathmlBuilder:function(e,t){var n=new gt.MathNode("mo",[new gt.TextNode("‾")]);n.setAttribute("stretchy","true");var r=new gt.MathNode("munder",[St(e.body,t),n]);return r.setAttribute("accentunder","true"),r}}),$e({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler:function(e,t,n){throw new a("\\verb ended by end of line instead of matching delimiter")},htmlBuilder:function(e,t){for(var n=or(e),r=[],o=t.havingStyle(t.style.text()),i=0;i0&&(this.undefStack[this.undefStack.length-1][e]=t)}else{var o=this.undefStack[this.undefStack.length-1];o&&!o.hasOwnProperty(e)&&(o[e]=this.current[e])}this.current[e]=t},e}(),ur={},fr=ur;function hr(e,t){ur[e]=t}hr("\\@firstoftwo",(function(e){return{tokens:e.consumeArgs(2)[0],numArgs:0}})),hr("\\@secondoftwo",(function(e){return{tokens:e.consumeArgs(2)[1],numArgs:0}})),hr("\\@ifnextchar",(function(e){var t=e.consumeArgs(3),n=e.future();return 1===t[0].length&&t[0][0].text===n.text?{tokens:t[1],numArgs:0}:{tokens:t[2],numArgs:0}})),hr("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),hr("\\TextOrMath",(function(e){var t=e.consumeArgs(2);return"text"===e.mode?{tokens:t[0],numArgs:0}:{tokens:t[1],numArgs:0}}));var pr={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};hr("\\char",(function(e){var t,n=e.popToken(),r="";if("'"===n.text)t=8,n=e.popToken();else if('"'===n.text)t=16,n=e.popToken();else if("`"===n.text)if("\\"===(n=e.popToken()).text[0])r=n.text.charCodeAt(1);else{if("EOF"===n.text)throw new a("\\char` missing argument");r=n.text.charCodeAt(0)}else t=10;if(t){if(null==(r=pr[n.text])||r>=t)throw new a("Invalid base-"+t+" digit "+n.text);for(var o;null!=(o=pr[e.future().text])&&o":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};hr("\\dots",(function(e){var t="\\dotso",n=e.expandAfterFuture().text;return n in vr?t=vr[n]:("\\not"===n.substr(0,4)||n in K.math&&f.contains(["bin","rel"],K.math[n].group))&&(t="\\dotsb"),t}));var yr={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};hr("\\dotso",(function(e){return e.future().text in yr?"\\ldots\\,":"\\ldots"})),hr("\\dotsc",(function(e){var t=e.future().text;return t in yr&&","!==t?"\\ldots\\,":"\\ldots"})),hr("\\cdots",(function(e){return e.future().text in yr?"\\@cdots\\,":"\\@cdots"})),hr("\\dotsb","\\cdots"),hr("\\dotsm","\\cdots"),hr("\\dotsi","\\!\\cdots"),hr("\\dotsx","\\ldots\\,"),hr("\\DOTSI","\\relax"),hr("\\DOTSB","\\relax"),hr("\\DOTSX","\\relax"),hr("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),hr("\\,","\\tmspace+{3mu}{.1667em}"),hr("\\thinspace","\\,"),hr("\\>","\\mskip{4mu}"),hr("\\:","\\tmspace+{4mu}{.2222em}"),hr("\\medspace","\\:"),hr("\\;","\\tmspace+{5mu}{.2777em}"),hr("\\thickspace","\\;"),hr("\\!","\\tmspace-{3mu}{.1667em}"),hr("\\negthinspace","\\!"),hr("\\negmedspace","\\tmspace-{4mu}{.2222em}"),hr("\\negthickspace","\\tmspace-{5mu}{.277em}"),hr("\\enspace","\\kern.5em "),hr("\\enskip","\\hskip.5em\\relax"),hr("\\quad","\\hskip1em\\relax"),hr("\\qquad","\\hskip2em\\relax"),hr("\\tag","\\@ifstar\\tag@literal\\tag@paren"),hr("\\tag@paren","\\tag@literal{({#1})}"),hr("\\tag@literal",(function(e){if(e.macros.get("\\df@tag"))throw new a("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"})),hr("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),hr("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),hr("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),hr("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),hr("\\pmb","\\html@mathml{\\@binrel{#1}{\\mathrlap{#1}\\kern0.5px#1}}{\\mathbf{#1}}"),hr("\\\\","\\newline"),hr("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var gr=D["Main-Regular"]["T".charCodeAt(0)][1]-.7*D["Main-Regular"]["A".charCodeAt(0)][1]+"em";hr("\\LaTeX","\\textrm{\\html@mathml{L\\kern-.36em\\raisebox{"+gr+"}{\\scriptstyle A}\\kern-.15em\\TeX}{LaTeX}}"),hr("\\KaTeX","\\textrm{\\html@mathml{K\\kern-.17em\\raisebox{"+gr+"}{\\scriptstyle A}\\kern-.15em\\TeX}{KaTeX}}"),hr("\\hspace","\\@ifstar\\@hspacer\\@hspace"),hr("\\@hspace","\\hskip #1\\relax"),hr("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),hr("\\ordinarycolon",":"),hr("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),hr("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),hr("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),hr("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),hr("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),hr("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),hr("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),hr("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),hr("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),hr("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),hr("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),hr("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),hr("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),hr("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),hr("∷","\\dblcolon"),hr("∹","\\eqcolon"),hr("≔","\\coloneqq"),hr("≕","\\eqqcolon"),hr("⩴","\\Coloneqq"),hr("\\ratio","\\vcentcolon"),hr("\\coloncolon","\\dblcolon"),hr("\\colonequals","\\coloneqq"),hr("\\coloncolonequals","\\Coloneqq"),hr("\\equalscolon","\\eqqcolon"),hr("\\equalscoloncolon","\\Eqqcolon"),hr("\\colonminus","\\coloneq"),hr("\\coloncolonminus","\\Coloneq"),hr("\\minuscolon","\\eqcolon"),hr("\\minuscoloncolon","\\Eqcolon"),hr("\\coloncolonapprox","\\Colonapprox"),hr("\\coloncolonsim","\\Colonsim"),hr("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),hr("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),hr("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),hr("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),hr("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}"),hr("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),hr("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),hr("\\gvertneqq","\\html@mathml{\\@gvertneqq}{≩}"),hr("\\lvertneqq","\\html@mathml{\\@lvertneqq}{≨}"),hr("\\ngeqq","\\html@mathml{\\@ngeqq}{≱}"),hr("\\ngeqslant","\\html@mathml{\\@ngeqslant}{≱}"),hr("\\nleqq","\\html@mathml{\\@nleqq}{≰}"),hr("\\nleqslant","\\html@mathml{\\@nleqslant}{≰}"),hr("\\nshortmid","\\html@mathml{\\@nshortmid}{∤}"),hr("\\nshortparallel","\\html@mathml{\\@nshortparallel}{∦}"),hr("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{⊈}"),hr("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{⊉}"),hr("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{⊊}"),hr("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{⫋}"),hr("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{⊋}"),hr("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{⫌}"),hr("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}"),hr("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}"),hr("⟦","\\llbracket"),hr("⟧","\\rrbracket"),hr("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}"),hr("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}"),hr("⦃","\\lBrace"),hr("⦄","\\rBrace"),hr("\\darr","\\downarrow"),hr("\\dArr","\\Downarrow"),hr("\\Darr","\\Downarrow"),hr("\\lang","\\langle"),hr("\\rang","\\rangle"),hr("\\uarr","\\uparrow"),hr("\\uArr","\\Uparrow"),hr("\\Uarr","\\Uparrow"),hr("\\N","\\mathbb{N}"),hr("\\R","\\mathbb{R}"),hr("\\Z","\\mathbb{Z}"),hr("\\alef","\\aleph"),hr("\\alefsym","\\aleph"),hr("\\Alpha","\\mathrm{A}"),hr("\\Beta","\\mathrm{B}"),hr("\\bull","\\bullet"),hr("\\Chi","\\mathrm{X}"),hr("\\clubs","\\clubsuit"),hr("\\cnums","\\mathbb{C}"),hr("\\Complex","\\mathbb{C}"),hr("\\Dagger","\\ddagger"),hr("\\diamonds","\\diamondsuit"),hr("\\empty","\\emptyset"),hr("\\Epsilon","\\mathrm{E}"),hr("\\Eta","\\mathrm{H}"),hr("\\exist","\\exists"),hr("\\harr","\\leftrightarrow"),hr("\\hArr","\\Leftrightarrow"),hr("\\Harr","\\Leftrightarrow"),hr("\\hearts","\\heartsuit"),hr("\\image","\\Im"),hr("\\infin","\\infty"),hr("\\Iota","\\mathrm{I}"),hr("\\isin","\\in"),hr("\\Kappa","\\mathrm{K}"),hr("\\larr","\\leftarrow"),hr("\\lArr","\\Leftarrow"),hr("\\Larr","\\Leftarrow"),hr("\\lrarr","\\leftrightarrow"),hr("\\lrArr","\\Leftrightarrow"),hr("\\Lrarr","\\Leftrightarrow"),hr("\\Mu","\\mathrm{M}"),hr("\\natnums","\\mathbb{N}"),hr("\\Nu","\\mathrm{N}"),hr("\\Omicron","\\mathrm{O}"),hr("\\plusmn","\\pm"),hr("\\rarr","\\rightarrow"),hr("\\rArr","\\Rightarrow"),hr("\\Rarr","\\Rightarrow"),hr("\\real","\\Re"),hr("\\reals","\\mathbb{R}"),hr("\\Reals","\\mathbb{R}"),hr("\\Rho","\\mathrm{P}"),hr("\\sdot","\\cdot"),hr("\\sect","\\S"),hr("\\spades","\\spadesuit"),hr("\\sub","\\subset"),hr("\\sube","\\subseteq"),hr("\\supe","\\supseteq"),hr("\\Tau","\\mathrm{T}"),hr("\\thetasym","\\vartheta"),hr("\\weierp","\\wp"),hr("\\Zeta","\\mathrm{Z}"),hr("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),hr("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),hr("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),hr("\\blue","\\textcolor{##6495ed}{#1}"),hr("\\orange","\\textcolor{##ffa500}{#1}"),hr("\\pink","\\textcolor{##ff00af}{#1}"),hr("\\red","\\textcolor{##df0030}{#1}"),hr("\\green","\\textcolor{##28ae7b}{#1}"),hr("\\gray","\\textcolor{gray}{#1}"),hr("\\purple","\\textcolor{##9d38bd}{#1}"),hr("\\blueA","\\textcolor{##ccfaff}{#1}"),hr("\\blueB","\\textcolor{##80f6ff}{#1}"),hr("\\blueC","\\textcolor{##63d9ea}{#1}"),hr("\\blueD","\\textcolor{##11accd}{#1}"),hr("\\blueE","\\textcolor{##0c7f99}{#1}"),hr("\\tealA","\\textcolor{##94fff5}{#1}"),hr("\\tealB","\\textcolor{##26edd5}{#1}"),hr("\\tealC","\\textcolor{##01d1c1}{#1}"),hr("\\tealD","\\textcolor{##01a995}{#1}"),hr("\\tealE","\\textcolor{##208170}{#1}"),hr("\\greenA","\\textcolor{##b6ffb0}{#1}"),hr("\\greenB","\\textcolor{##8af281}{#1}"),hr("\\greenC","\\textcolor{##74cf70}{#1}"),hr("\\greenD","\\textcolor{##1fab54}{#1}"),hr("\\greenE","\\textcolor{##0d923f}{#1}"),hr("\\goldA","\\textcolor{##ffd0a9}{#1}"),hr("\\goldB","\\textcolor{##ffbb71}{#1}"),hr("\\goldC","\\textcolor{##ff9c39}{#1}"),hr("\\goldD","\\textcolor{##e07d10}{#1}"),hr("\\goldE","\\textcolor{##a75a05}{#1}"),hr("\\redA","\\textcolor{##fca9a9}{#1}"),hr("\\redB","\\textcolor{##ff8482}{#1}"),hr("\\redC","\\textcolor{##f9685d}{#1}"),hr("\\redD","\\textcolor{##e84d39}{#1}"),hr("\\redE","\\textcolor{##bc2612}{#1}"),hr("\\maroonA","\\textcolor{##ffbde0}{#1}"),hr("\\maroonB","\\textcolor{##ff92c6}{#1}"),hr("\\maroonC","\\textcolor{##ed5fa6}{#1}"),hr("\\maroonD","\\textcolor{##ca337c}{#1}"),hr("\\maroonE","\\textcolor{##9e034e}{#1}"),hr("\\purpleA","\\textcolor{##ddd7ff}{#1}"),hr("\\purpleB","\\textcolor{##c6b9fc}{#1}"),hr("\\purpleC","\\textcolor{##aa87ff}{#1}"),hr("\\purpleD","\\textcolor{##7854ab}{#1}"),hr("\\purpleE","\\textcolor{##543b78}{#1}"),hr("\\mintA","\\textcolor{##f5f9e8}{#1}"),hr("\\mintB","\\textcolor{##edf2df}{#1}"),hr("\\mintC","\\textcolor{##e0e5cc}{#1}"),hr("\\grayA","\\textcolor{##f6f7f7}{#1}"),hr("\\grayB","\\textcolor{##f0f1f2}{#1}"),hr("\\grayC","\\textcolor{##e3e5e6}{#1}"),hr("\\grayD","\\textcolor{##d6d8da}{#1}"),hr("\\grayE","\\textcolor{##babec2}{#1}"),hr("\\grayF","\\textcolor{##888d93}{#1}"),hr("\\grayG","\\textcolor{##626569}{#1}"),hr("\\grayH","\\textcolor{##3b3e40}{#1}"),hr("\\grayI","\\textcolor{##21242c}{#1}"),hr("\\kaBlue","\\textcolor{##314453}{#1}"),hr("\\kaGreen","\\textcolor{##71B307}{#1}");var br={"\\relax":!0,"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},wr=function(){function e(e,t,n){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=t,this.expansionCount=0,this.feed(e),this.macros=new sr(fr,t.macros),this.mode=n,this.stack=[]}var t=e.prototype;return t.feed=function(e){this.lexer=new cr(e,this.settings)},t.switchMode=function(e){this.mode=e},t.beginGroup=function(){this.macros.beginGroup()},t.endGroup=function(){this.macros.endGroup()},t.future=function(){return 0===this.stack.length&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]},t.popToken=function(){return this.future(),this.stack.pop()},t.pushToken=function(e){this.stack.push(e)},t.pushTokens=function(e){var t;(t=this.stack).push.apply(t,e)},t.consumeSpaces=function(){for(;" "===this.future().text;)this.stack.pop()},t.consumeArgs=function(e){for(var t=[],n=0;nthis.settings.maxExpand)throw new a("Too many expansions: infinite loop or need to increase maxExpand setting");var r=n.tokens;if(n.numArgs)for(var o=this.consumeArgs(n.numArgs),i=(r=r.slice()).length-1;i>=0;--i){var l=r[i];if("#"===l.text){if(0===i)throw new a("Incomplete placeholder at end of macro body",l);if("#"===(l=r[--i]).text)r.splice(i+1,1);else{if(!/^[1-9]$/.test(l.text))throw new a("Not a valid argument number",l);var c;(c=r).splice.apply(c,[i,2].concat(o[+l.text-1]))}}}return this.pushTokens(r),r},t.expandAfterFuture=function(){return this.expandOnce(),this.future()},t.expandNextToken=function(){for(;;){var e=this.expandOnce();if(e instanceof o){if("\\relax"!==e.text)return this.stack.pop();this.stack.pop()}}throw new Error},t.expandMacro=function(e){if(this.macros.get(e)){var t=[],n=this.stack.length;for(this.pushToken(new o(e));this.stack.length>n;)this.expandOnce()instanceof o&&t.push(this.stack.pop());return t}},t.expandMacroAsText=function(e){var t=this.expandMacro(e);return t?t.map((function(e){return e.text})).join(""):t},t._getExpansion=function(e){var t=this.macros.get(e);if(null==t)return t;var n="function"==typeof t?t(this):t;if("string"==typeof n){var r=0;if(-1!==n.indexOf("#"))for(var o=n.replace(/##/g,"");-1!==o.indexOf("#"+(r+1));)++r;for(var i=new cr(n,this.settings),a=[],l=i.lex();"EOF"!==l.text;)a.push(l),l=i.lex();return a.reverse(),{tokens:a,numArgs:r}}return n},t.isDefined=function(e){return this.macros.has(e)||ir.hasOwnProperty(e)||K.math.hasOwnProperty(e)||K.text.hasOwnProperty(e)||br.hasOwnProperty(e)},e}(),xr={"́":{text:"\\'",math:"\\acute"},"̀":{text:"\\`",math:"\\grave"},"̈":{text:'\\"',math:"\\ddot"},"̃":{text:"\\~",math:"\\tilde"},"̄":{text:"\\=",math:"\\bar"},"̆":{text:"\\u",math:"\\breve"},"̌":{text:"\\v",math:"\\check"},"̂":{text:"\\^",math:"\\hat"},"̇":{text:"\\.",math:"\\dot"},"̊":{text:"\\r",math:"\\mathring"},"̋":{text:"\\H"}},_r={á:"á",à:"à",ä:"ä",ǟ:"ǟ",ã:"ã",ā:"ā",ă:"ă",ắ:"ắ",ằ:"ằ",ẵ:"ẵ",ǎ:"ǎ",â:"â",ấ:"ấ",ầ:"ầ",ẫ:"ẫ",ȧ:"ȧ",ǡ:"ǡ",å:"å",ǻ:"ǻ",ḃ:"ḃ",ć:"ć",č:"č",ĉ:"ĉ",ċ:"ċ",ď:"ď",ḋ:"ḋ",é:"é",è:"è",ë:"ë",ẽ:"ẽ",ē:"ē",ḗ:"ḗ",ḕ:"ḕ",ĕ:"ĕ",ě:"ě",ê:"ê",ế:"ế",ề:"ề",ễ:"ễ",ė:"ė",ḟ:"ḟ",ǵ:"ǵ",ḡ:"ḡ",ğ:"ğ",ǧ:"ǧ",ĝ:"ĝ",ġ:"ġ",ḧ:"ḧ",ȟ:"ȟ",ĥ:"ĥ",ḣ:"ḣ",í:"í",ì:"ì",ï:"ï",ḯ:"ḯ",ĩ:"ĩ",ī:"ī",ĭ:"ĭ",ǐ:"ǐ",î:"î",ǰ:"ǰ",ĵ:"ĵ",ḱ:"ḱ",ǩ:"ǩ",ĺ:"ĺ",ľ:"ľ",ḿ:"ḿ",ṁ:"ṁ",ń:"ń",ǹ:"ǹ",ñ:"ñ",ň:"ň",ṅ:"ṅ",ó:"ó",ò:"ò",ö:"ö",ȫ:"ȫ",õ:"õ",ṍ:"ṍ",ṏ:"ṏ",ȭ:"ȭ",ō:"ō",ṓ:"ṓ",ṑ:"ṑ",ŏ:"ŏ",ǒ:"ǒ",ô:"ô",ố:"ố",ồ:"ồ",ỗ:"ỗ",ȯ:"ȯ",ȱ:"ȱ",ő:"ő",ṕ:"ṕ",ṗ:"ṗ",ŕ:"ŕ",ř:"ř",ṙ:"ṙ",ś:"ś",ṥ:"ṥ",š:"š",ṧ:"ṧ",ŝ:"ŝ",ṡ:"ṡ",ẗ:"ẗ",ť:"ť",ṫ:"ṫ",ú:"ú",ù:"ù",ü:"ü",ǘ:"ǘ",ǜ:"ǜ",ǖ:"ǖ",ǚ:"ǚ",ũ:"ũ",ṹ:"ṹ",ū:"ū",ṻ:"ṻ",ŭ:"ŭ",ǔ:"ǔ",û:"û",ů:"ů",ű:"ű",ṽ:"ṽ",ẃ:"ẃ",ẁ:"ẁ",ẅ:"ẅ",ŵ:"ŵ",ẇ:"ẇ",ẘ:"ẘ",ẍ:"ẍ",ẋ:"ẋ",ý:"ý",ỳ:"ỳ",ÿ:"ÿ",ỹ:"ỹ",ȳ:"ȳ",ŷ:"ŷ",ẏ:"ẏ",ẙ:"ẙ",ź:"ź",ž:"ž",ẑ:"ẑ",ż:"ż",Á:"Á",À:"À",Ä:"Ä",Ǟ:"Ǟ",Ã:"Ã",Ā:"Ā",Ă:"Ă",Ắ:"Ắ",Ằ:"Ằ",Ẵ:"Ẵ",Ǎ:"Ǎ",Â:"Â",Ấ:"Ấ",Ầ:"Ầ",Ẫ:"Ẫ",Ȧ:"Ȧ",Ǡ:"Ǡ",Å:"Å",Ǻ:"Ǻ",Ḃ:"Ḃ",Ć:"Ć",Č:"Č",Ĉ:"Ĉ",Ċ:"Ċ",Ď:"Ď",Ḋ:"Ḋ",É:"É",È:"È",Ë:"Ë",Ẽ:"Ẽ",Ē:"Ē",Ḗ:"Ḗ",Ḕ:"Ḕ",Ĕ:"Ĕ",Ě:"Ě",Ê:"Ê",Ế:"Ế",Ề:"Ề",Ễ:"Ễ",Ė:"Ė",Ḟ:"Ḟ",Ǵ:"Ǵ",Ḡ:"Ḡ",Ğ:"Ğ",Ǧ:"Ǧ",Ĝ:"Ĝ",Ġ:"Ġ",Ḧ:"Ḧ",Ȟ:"Ȟ",Ĥ:"Ĥ",Ḣ:"Ḣ",Í:"Í",Ì:"Ì",Ï:"Ï",Ḯ:"Ḯ",Ĩ:"Ĩ",Ī:"Ī",Ĭ:"Ĭ",Ǐ:"Ǐ",Î:"Î",İ:"İ",Ĵ:"Ĵ",Ḱ:"Ḱ",Ǩ:"Ǩ",Ĺ:"Ĺ",Ľ:"Ľ",Ḿ:"Ḿ",Ṁ:"Ṁ",Ń:"Ń",Ǹ:"Ǹ",Ñ:"Ñ",Ň:"Ň",Ṅ:"Ṅ",Ó:"Ó",Ò:"Ò",Ö:"Ö",Ȫ:"Ȫ",Õ:"Õ",Ṍ:"Ṍ",Ṏ:"Ṏ",Ȭ:"Ȭ",Ō:"Ō",Ṓ:"Ṓ",Ṑ:"Ṑ",Ŏ:"Ŏ",Ǒ:"Ǒ",Ô:"Ô",Ố:"Ố",Ồ:"Ồ",Ỗ:"Ỗ",Ȯ:"Ȯ",Ȱ:"Ȱ",Ő:"Ő",Ṕ:"Ṕ",Ṗ:"Ṗ",Ŕ:"Ŕ",Ř:"Ř",Ṙ:"Ṙ",Ś:"Ś",Ṥ:"Ṥ",Š:"Š",Ṧ:"Ṧ",Ŝ:"Ŝ",Ṡ:"Ṡ",Ť:"Ť",Ṫ:"Ṫ",Ú:"Ú",Ù:"Ù",Ü:"Ü",Ǘ:"Ǘ",Ǜ:"Ǜ",Ǖ:"Ǖ",Ǚ:"Ǚ",Ũ:"Ũ",Ṹ:"Ṹ",Ū:"Ū",Ṻ:"Ṻ",Ŭ:"Ŭ",Ǔ:"Ǔ",Û:"Û",Ů:"Ů",Ű:"Ű",Ṽ:"Ṽ",Ẃ:"Ẃ",Ẁ:"Ẁ",Ẅ:"Ẅ",Ŵ:"Ŵ",Ẇ:"Ẇ",Ẍ:"Ẍ",Ẋ:"Ẋ",Ý:"Ý",Ỳ:"Ỳ",Ÿ:"Ÿ",Ỹ:"Ỹ",Ȳ:"Ȳ",Ŷ:"Ŷ",Ẏ:"Ẏ",Ź:"Ź",Ž:"Ž",Ẑ:"Ẑ",Ż:"Ż",ά:"ά",ὰ:"ὰ",ᾱ:"ᾱ",ᾰ:"ᾰ",έ:"έ",ὲ:"ὲ",ή:"ή",ὴ:"ὴ",ί:"ί",ὶ:"ὶ",ϊ:"ϊ",ΐ:"ΐ",ῒ:"ῒ",ῑ:"ῑ",ῐ:"ῐ",ό:"ό",ὸ:"ὸ",ύ:"ύ",ὺ:"ὺ",ϋ:"ϋ",ΰ:"ΰ",ῢ:"ῢ",ῡ:"ῡ",ῠ:"ῠ",ώ:"ώ",ὼ:"ὼ",Ύ:"Ύ",Ὺ:"Ὺ",Ϋ:"Ϋ",Ῡ:"Ῡ",Ῠ:"Ῠ",Ώ:"Ώ",Ὼ:"Ὼ"},kr=function(){function e(e,t){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new wr(e,t,this.mode),this.settings=t,this.leftrightDepth=0}var t=e.prototype;return t.expect=function(e,t){if(void 0===t&&(t=!0),this.fetch().text!==e)throw new a("Expected '"+e+"', got '"+this.fetch().text+"'",this.fetch());t&&this.consume()},t.consume=function(){this.nextToken=null},t.fetch=function(){return null==this.nextToken&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken},t.switchMode=function(e){this.mode=e,this.gullet.switchMode(e)},t.parse=function(){this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");var e=this.parseExpression(!1);return this.expect("EOF"),this.gullet.endGroup(),e},t.parseExpression=function(t,n){for(var r=[];;){"math"===this.mode&&this.consumeSpaces();var o=this.fetch();if(-1!==e.endOfExpression.indexOf(o.text))break;if(n&&o.text===n)break;if(t&&ir[o.text]&&ir[o.text].infix)break;var i=this.parseAtom(n);if(!i)break;r.push(i)}return"text"===this.mode&&this.formLigatures(r),this.handleInfixNodes(r)},t.handleInfixNodes=function(e){for(var t,n=-1,r=0;r0&&!s||0===l&&!s&&"math"===this.mode,f=this.parseGroupOfType("argument to '"+e+"'",c,s,r,u);if(!f){if(s){i.push(null);continue}throw new a("Expected group after '"+e+"'",this.fetch())}(s?i:o).push(f)}return{args:o,optArgs:i}},t.parseGroupOfType=function(e,t,n,r,o){switch(t){case"color":return o&&this.consumeSpaces(),this.parseColorGroup(n);case"size":return o&&this.consumeSpaces(),this.parseSizeGroup(n);case"url":return this.parseUrlGroup(n,o);case"math":case"text":return this.parseGroup(e,n,r,void 0,t,o);case"hbox":var i=this.parseGroup(e,n,r,void 0,"text",o);return i?{type:"styling",mode:i.mode,body:[i],style:"text"}:i;case"raw":if(o&&this.consumeSpaces(),n&&"{"===this.fetch().text)return null;var l=this.parseStringGroup("raw",n,!0);if(l)return{type:"raw",mode:"text",string:l.text};throw new a("Expected raw group",this.fetch());case"original":case null:case void 0:return this.parseGroup(e,n,r,void 0,void 0,o);default:throw new a("Unknown group type as "+e,this.fetch())}},t.consumeSpaces=function(){for(;" "===this.fetch().text;)this.consume()},t.parseStringGroup=function(e,t,n){var r=t?"[":"{",o=t?"]":"}",i=this.fetch();if(i.text!==r){if(t)return null;if(n&&"EOF"!==i.text&&/[^{}[\]]/.test(i.text))return this.consume(),i}var l=this.mode;this.mode="text",this.expect(r);for(var c,s="",u=this.fetch(),f=0,h=u;(c=this.fetch()).text!==o||n&&f>0;){switch(c.text){case"EOF":throw new a("Unexpected end of input in "+e,u.range(h,s));case r:f++;break;case o:f--}s+=(h=c).text,this.consume()}return this.expect(o),this.mode=l,u.range(h,s)},t.parseRegexGroup=function(e,t){var n=this.mode;this.mode="text";for(var r,o=this.fetch(),i=o,l="";"EOF"!==(r=this.fetch()).text&&e.test(l+r.text);)l+=(i=r).text,this.consume();if(""===l)throw new a("Invalid "+t+": '"+o.text+"'",o);return this.mode=n,o.range(i,l)},t.parseColorGroup=function(e){var t=this.parseStringGroup("color",e);if(!t)return null;var n=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(t.text);if(!n)throw new a("Invalid color: '"+t.text+"'",t);var r=n[0];return/^[0-9a-f]{6}$/i.test(r)&&(r="#"+r),{type:"color-token",mode:this.mode,color:r}},t.parseSizeGroup=function(e){var t,n=!1;if(!(t=e||"{"===this.fetch().text?this.parseStringGroup("size",e):this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size")))return null;e||0!==t.text.length||(t.text="0pt",n=!0);var r=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(t.text);if(!r)throw new a("Invalid size: '"+t.text+"'",t);var o={number:+(r[1]+r[2]),unit:r[3]};if(!Me(o))throw new a("Invalid unit: '"+o.unit+"'",t);return{type:"size",mode:this.mode,value:o,isBlank:n}},t.parseUrlGroup=function(e,t){this.gullet.lexer.setCatcode("%",13);var n=this.parseStringGroup("url",e,!0);if(this.gullet.lexer.setCatcode("%",14),!n)return null;var r=n.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:r}},t.parseGroup=function(t,n,o,i,l,c){var s=this.mode;l&&this.switchMode(l),c&&this.consumeSpaces();var u,f=this.fetch(),h=f.text;if(n?"["===h:"{"===h||"\\begingroup"===h){this.consume();var p=e.endOfGroup[h];this.gullet.beginGroup();var d=this.parseExpression(!1,p),m=this.fetch();this.expect(p),this.gullet.endGroup(),u={type:"ordgroup",mode:this.mode,loc:r.range(f,m),body:d,semisimple:"\\begingroup"===h||void 0}}else if(n)u=null;else if(null==(u=this.parseFunction(i,t,o)||this.parseSymbol())&&"\\"===h[0]&&!br.hasOwnProperty(h)){if(this.settings.throwOnError)throw new a("Undefined control sequence: "+h,f);u=this.formatUnsupportedCmd(h),this.consume()}return l&&this.switchMode(s),u},t.formLigatures=function(e){for(var t=e.length-1,n=0;n=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+t[0]+'" used in math mode',e);var c,s=K[this.mode][t].group,u=r.range(e);if(W.hasOwnProperty(s)){var f=s;c={type:"atom",mode:this.mode,family:f,loc:u,text:t}}else c={type:s,mode:this.mode,loc:u,text:t};i=c}else{if(!(t.charCodeAt(0)>=128))return null;this.settings.strict&&(S(t.charCodeAt(0))?"math"===this.mode&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+t[0]+'" used in math mode',e):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+t[0]+'" ('+t.charCodeAt(0)+")",e)),i={type:"textord",mode:"text",loc:r.range(e),text:t}}if(this.consume(),l)for(var h=0;hy;)m(v[y++]);f.constructor=s,s.prototype=f,n("KroJ")(r,"RegExp",s)}n("elZq")("RegExp")},Ozcj:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=s(n("2/Rp")),o=s(n("CtXQ")),i=function(){function e(e,t){for(var n=0;n>>0||(a.test(n)?16:10))}:r},PV3f:function(e,t,n){"use strict";e.exports=function(){}},PYb6:function(e,t,n){},PfIm:function(e,t,n){"use strict";var r=n("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,i=r(n("pVnL")),a=r(n("cWOT")),l=r(n("lwsE")),c=r(n("W8MJ")),s=r(n("a1gu")),u=r(n("7W2i")),f=r(n("PJYZ")),h=r(n("q1tI")),p=r(n("M8ly")),d=(r(n("hBwV")),r(n("4qVG"))),m=r(n("R9O/"));var v=function(){return function(e){var t=function(t){function n(e,t){var r;return(0,l.default)(this,n),r=(0,s.default)(this,(n.__proto__||(0,a.default)(n)).call(this,e,t)),Object.defineProperty((0,f.default)(r),"state",{configurable:!0,enumerable:!0,writable:!0,value:{}}),Object.defineProperty((0,f.default)(r),"unsubscribeId",{configurable:!0,enumerable:!0,writable:!0,value:null}),r.state={theme:m.default.initial(t)||o||(o=(0,d.default)())},r}return(0,u.default)(n,t),(0,c.default)(n,[{key:"componentDidMount",value:function(){var e=this;this.unsubscribeId=m.default.subscribe(this.context,(function(t){e.setState({theme:t})}))}},{key:"componentWillUnmount",value:function(){null!==this.unsubscribeId&&m.default.unsubscribe(this.context,this.unsubscribeId)}},{key:"render",value:function(){return h.default.createElement(e,(0,i.default)({theme:this.state.theme},this.props))}}]),n}(h.default.Component);return t.contextTypes=m.default.contextTypes,(0,p.default)(t,e),t}};t.default=v},Po8q:function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});var 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.load=f,t.loadAll=h,t.select=p,t.save=d,t.remove=m,t.setRawCookie=v,t.plugToRequest=y;var o=a(n("iVi/")),i=a(n("MgzW"));function a(e){return e&&e.__esModule?e:{default:e}}var l="undefined"==typeof document||void 0!==e&&Object({NODE_ENV:"production",PUBLIC_URL:"/react/build/"})&&!1,c={},s=void 0;function u(){return s&&!s.headersSent}function f(e,t){var n=l?c:o.default.parse(document.cookie),r=n&&n[e];if(void 0===t&&(t=!r||"{"!==r[0]&&"["!==r[0]),!t)try{r=JSON.parse(r)}catch(e){}return r}function h(e){var t=l?c:o.default.parse(document.cookie);if(void 0===e&&(e=!t||"{"!==t[0]&&"["!==t[0]),!e)try{t=JSON.parse(t)}catch(e){}return t}function p(e){var t=l?c:o.default.parse(document.cookie);return t?e?Object.keys(t).reduce((function(n,r){if(!e.test(r))return n;var o={};return o[r]=t[r],(0,i.default)({},n,o)}),{}):t:{}}function d(e,t,n){c[e]=t,"object"===(void 0===t?"undefined":r(t))&&(c[e]=JSON.stringify(t)),l||(document.cookie=o.default.serialize(e,c[e],n)),u()&&s.cookie&&s.cookie(e,t,n)}function m(e,t){delete c[e],t=void 0===t?{}:"string"==typeof t?{path:t}:(0,i.default)({},t),"undefined"!=typeof document&&(t.expires=new Date(1970,1,1,0,0,1),t.maxAge=0,document.cookie=o.default.serialize(e,"",t)),u()&&s.clearCookie&&s.clearCookie(e,t)}function v(e){c=e?o.default.parse(e):{}}function y(e,t){return e.cookie?c=e.cookie:e.cookies?c=e.cookies:e.headers&&e.headers.cookie?v(e.headers.cookie):c={},s=t,function(){s=null,c={}}}t.default={setRawCookie:v,load:f,loadAll:h,select:p,save:d,remove:m,plugToRequest:y}}).call(this,n("KCCg"))},PovZ:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=v(n("14Xm")),o=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,l=e[Symbol.iterator]();!(r=(a=l.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&l.return&&l.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};n("gmff"),n("p1OT"),n("gJae"),n("FOEY"),n("qiVY");var i=n("q1tI"),a=v(i),l=v(n("kzlf")),c=v(n("Oy/b")),s=n("t71B"),u=n("sYIF"),f=v(n("MEIi")),h=v(n("dpDy")),p=v(n("lEn/")),d=v(n("NTv2")),m=n("mN9g");function v(e){return e&&e.__esModule?e:{default:e}}var y=l.default.import("attributors/style/size");y.whitelist=["14px","16px","18px","20px",!1];var g=l.default.import("formats/font");g.whitelist=["Microsoft-YaHei","SimSun","SimHei","KaiTi","FangSong"],window.Quill=l.default,window.katex=c.default,l.default.register(f.default),l.default.register(y),l.default.register(p.default),l.default.register(g,!0),l.default.register(h.default);var b=new RegExp("▁","g");function w(e,t){if(t&&t.hasOwnProperty("ops"))e.setContents(t);else if(t){var n=t;n.endsWith("


")&&(n+="


"),e.clipboard.dangerouslyPasteHTML(n)}}var x={bold:"加粗",strike:"删除线",italic:"斜体",underline:"下划线",ordered:"有序列表",bullet:"无序列表",color:"字体颜色",background:"背景色",sub:"下标",super:"上标",image:"上传图片","code-block":"代码块",formula:"公式",clean:"清除格式",fill:"插入填空项",align:"对齐",header1:"标题一",header2:"标题二",header3:"标题三",header4:"标题四",header5:"标题五",header6:"标题六"};t.default=function(e){var t=e.defaultValue,n=e.placeholder,c=e.readOnly,f=e.autoFocus,h=void 0!==f&&f,p=e.options,v=e.value,y=e.imgAttrs,g=void 0===y?{}:y,_=e.style,k=void 0===_?{}:_,S=e.wrapStyle,O=void 0===S?{}:S,M=e.showUploadImage,T=e.onContentChange,E=e.className,z=e.onAddFill,C=e.onDeleteFill,P=(0,i.useRef)(null),A=(0,i.useState)(null),j=o(A,2),L=j[0],N=j[1],H={backspace:{key:"Backspace",handler:function(e,t){var n=I(e,this.quill),r=o(n,2),i=r[0],a=r[1];return!a||!!window.confirm("确定要删除这个填空吗?")&&(C&&C(i,a.length),!0)}}},R={modules:{toolbar:p||m.defaultQuillOpt,syntax:!1,keyboard:{bindings:H}},readOnly:c,placeholder:n,theme:c?"bubble":"snow"};function I(e,t){var n=e.index,r=e.length,o=0===r?n-1:n,i=t.getText(o,Math.max(1,r));return[(t.getText(0,o).match(b)||[]).length,i.match(b)]}return(0,i.useEffect)((function(){var e,t=new l.default(P.current,R);N(t),t.getModule("toolbar").addHandler("image",(function(e){var n,o,i=document.createElement("input");i.setAttribute("type","file"),i.setAttribute("accept","image/*"),i.click(),i.onchange=(n=r.default.mark((function e(n){var o,a,l,c,f,h,p,d;return r.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=i.files[0],(a=new FormData).append("file",o),l=t.getSelection(!0),c="",e.next=7,(0,s.fetchUploadImage)(a);case 7:(f=e.sent).data&&f.data.id&&(c=(0,u.getImageUrl)("api/attachments/"+f.data.id)),h=g.width,p=g.height,c&&(d={url:c,alt:"图片信息",width:h,height:p},t.insertEmbed(l.index,"image",d));case 11:case"end":return e.stop()}}),e,void 0)})),o=function(){var e=n.apply(this,arguments);return new Promise((function(t,n){return function r(o,i){try{var a=e[o](i),l=a.value}catch(e){return void n(e)}if(!a.done)return Promise.resolve(l).then((function(e){r("next",e)}),(function(e){r("throw",e)}));t(l)}("next")}))},function(e){return o.apply(this,arguments)})})),t.getModule("toolbar").addHandler("fill",(function(e){var n=t.getSelection(!0),r=I(n,t),i=o(r,2),a=i[0];i[1];t.insertEmbed(n.index,"fill",{"data-index":a,text:"▁"}),t.setSelection(t.getLength(),0,"api"),z&&z(a)})),e=t.getModule("toolbar").container.querySelectorAll(".ql-formats > button,.ql-formats>span"),Array.from(e).forEach((function(e){var t,n,r=e.getAttribute("value"),o=e.classList[0].replace("ql-","");if(e.setAttribute("title",x[r||o]||x[""+o+r]),"fill"===o){var i=document.createElement("span");i.setAttribute("class","fill-tip"),i.innerText="点击插入填空项",i.addEventListener("click",(function(){e.click()})),t=i,(n=e).parentNode.insertBefore(t,n.nextSibling)}})),w(t,v),h&&t.focus();var n=d.default.subscribe("on-preview-image",(function(e){M&&M(e)}));return function(){n()}}),[]),(0,i.useEffect)((function(){L&&(!0===c?L.enable(!1):L.enable(!0))}),[L,c]),(0,i.useEffect)((function(){w(L,t)}),[L,t]),(0,i.useEffect)((function(){L&&(L.root.dataset.placeholder=n)}),[L,n]),(0,i.useEffect)((function(){L&&(h?L.focus():L.blur())}),[L,h]),(0,i.useEffect)((function(){if(L&&T){var e=function(e,t,n){var r=P.current.children[0].innerHTML,o=L.getText();"


"===r&&(r=""),T&&T(L.getContents(),r,{quill:L,text:o,delta:e,oldDelta:t,source:n})};return L.on("text-change",e),function(){L.off("text-change",e)}}}),[L,T]),a.default.createElement("div",{className:"quill_editor_for_react_area "+E+" ",style:O},a.default.createElement("div",{ref:P,style:k}))}},PxQ1:function(e,t,n){"use strict";var r={stringify:function(e){var t="";for(var n in e)if(null!=e[n])if(e[n].constructor===Array){var r=!0,o=!1,i=void 0;try{for(var a,l=e[n][Symbol.iterator]();!(r=(a=l.next()).done);r=!0){t=t+n+"[]="+a.value+"&"}}catch(e){o=!0,i=e}finally{try{!r&&l.return&&l.return()}finally{if(o)throw i}}}else t+=n+"="+encodeURIComponent(e[n])+"&";return""==t?"":t=t.substring(0,t.length-1)},parse:function(e){if(!e)return{};if(e.startsWith("?")&&(e=e.substring(1)),!e)return{};var t=e.split("&"),n={};return t.forEach((function(e){var t=e.split("=");n[t[0]]=t[1]})),n}};e.exports=r},Q3ne:function(e,t,n){var r=n("SlkY");e.exports=function(e,t){var n=[];return r(e,!1,n.push,n,t),n}},Q6hy:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.userReducer=void 0;var r,o=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:l,t=arguments[1];switch(t.type){case a.default.SAVE_USER_INFO:return{userInfo:t.payload};default:return o({},e)}};t.default=c,t.userReducer=c},Q8kY:function(e,t,n){},"QB/3":function(e,t,n){"use strict";t.__esModule=!0;var r=i(n("rnRR")),o=i(n("Lusz"));function i(e){return e&&e.__esModule?e:{default:e}}t.default=function(){var e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];return function(t){var n=t.getState;return function(t){return function(i){if(!i.meta||!i.meta.urlQuery)return t(i);var a=e.reducer||o.default.reducer||r.default,l=null==e.readLocationFromStore?o.default.readLocationFromStore:e.readLocationFromStore;l?a(i,l(n())):a(i);return!1===e.shortcircuit?t(i):void 0}}}}},"QC+M":function(e,t,n){"use strict";n.d(t,"a",(function(){return v}));var r=n("q1tI"),o=n.n(r),i=n("i8i4"),a=n.n(i),l=n("17x9"),c=n.n(l);function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){for(var n=0;n=0||(a[n]=e[n]);if(r){var c=r(e);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}},QIyF:function(e,t,n){var r=n("Kz5y");e.exports=function(){return r.Date.now()}},"QKg/":function(e,t,n){},QLaP:function(e,t,n){"use strict";e.exports=function(e,t,n,r,o,i,a,l){if(!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var s=[n,r,o,i,a,l],u=0;(c=new Error(t.replace(/%s/g,(function(){return s[u++]})))).name="Invariant Violation"}throw c.framesToPop=1,c}}},QMMT:function(e,t,n){var r=n("a0xu"),o=n("UWiX")("toStringTag"),i="Arguments"==r(function(){return arguments}());e.exports=function(e){var t,n,a;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),o))?n:i?r(t):"Object"==(a=r(t))&&"function"==typeof t.callee?"Arguments":a}},QWy2:function(e,t,n){n("KOQb")("Map")},QXAm:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DEPRECATED_CONFIG_PROPS=t.defaultProps=t.propTypes=void 0;var r,o=(r=n("17x9"))&&r.__esModule?r:{default:r};var i=o.default.string,a=o.default.bool,l=o.default.number,c=o.default.array,s=o.default.oneOfType,u=o.default.shape,f=o.default.object,h=o.default.func,p=o.default.node,d={url:s([i,c,f]),playing:a,loop:a,controls:a,volume:l,muted:a,playbackRate:l,width:s([i,l]),height:s([i,l]),style:f,progressInterval:l,playsinline:a,pip:a,light:s([a,i]),playIcon:p,wrapper:s([i,h,u({render:h.isRequired})]),config:u({soundcloud:u({options:f,preload:a}),youtube:u({playerVars:f,embedOptions:f,preload:a}),facebook:u({appId:i,version:i,playerId:i}),dailymotion:u({params:f,preload:a}),vimeo:u({playerOptions:f,preload:a}),file:u({attributes:f,tracks:c,forceVideo:a,forceAudio:a,forceHLS:a,forceDASH:a,hlsOptions:f,hlsVersion:i,dashVersion:i}),wistia:u({options:f}),mixcloud:u({options:f}),twitch:u({options:f,playerId:i})}),onReady:h,onStart:h,onPlay:h,onPause:h,onBuffer:h,onBufferEnd:h,onEnded:h,onError:h,onDuration:h,onSeek:h,onProgress:h,onEnablePIP:h,onDisablePIP:h};t.propTypes=d;t.defaultProps={playing:!1,loop:!1,controls:!1,volume:null,muted:!1,playbackRate:1,width:"640px",height:"360px",style:{},progressInterval:1e3,playsinline:!1,pip:!1,light:!1,wrapper:"div",config:{soundcloud:{options:{visual:!0,buying:!1,liking:!1,download:!1,sharing:!1,show_comments:!1,show_playcount:!1}},youtube:{playerVars:{playsinline:1,showinfo:0,rel:0,iv_load_policy:3,modestbranding:1},embedOptions:{},preload:!1},facebook:{appId:"1309697205772819",version:"v3.3",playerId:null},dailymotion:{params:{api:1,"endscreen-enable":!1},preload:!1},vimeo:{playerOptions:{autopause:!1,byline:!1,portrait:!1,title:!1},preload:!1},file:{attributes:{},tracks:[],forceVideo:!1,forceAudio:!1,forceHLS:!1,forceDASH:!1,hlsOptions:{},hlsVersion:"0.13.1",dashVersion:"2.9.2"},wistia:{options:{}},mixcloud:{options:{hide_cover:1}},twitch:{options:{},playerId:null}},onReady:function(){},onStart:function(){},onPlay:function(){},onPause:function(){},onBuffer:function(){},onBufferEnd:function(){},onEnded:function(){},onError:function(){},onDuration:function(){},onSeek:function(){},onProgress:function(){},onEnablePIP:function(){},onDisablePIP:function(){}};t.DEPRECATED_CONFIG_PROPS=["soundcloudConfig","youtubeConfig","facebookConfig","dailymotionConfig","vimeoConfig","fileConfig","wistiaConfig"]},QYFm:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=s(n("kLXV")),o=s(n("W9HT")),i=s(n("CtXQ")),a=function(){function e(e,t){for(var n=0;ns;)c.call(e,a=l[s++])&&t.push(a);return t}},R5XZ:function(e,t,n){var r=n("dyZX"),o=n("XKFU"),i=n("ol8x"),a=[].slice,l=/MSIE .\./.test(i),c=function(e){return function(t,n){var r=arguments.length>2,o=!!r&&a.call(arguments,2);return e(r?function(){("function"==typeof t?t:Function(t)).apply(this,o)}:t,n)}};o(o.G+o.B+o.F*l,{setTimeout:c(r.setTimeout),setInterval:c(r.setInterval)})},"R9O/":function(e,t,n){"use strict";var r=n("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.CHANNEL=void 0;var o=r(n("lSNA")),i=r(n("17x9")),a="__THEMING__";t.CHANNEL=a;var l={contextTypes:(0,o.default)({},a,i.default.object),initial:function(e){return e[a]?e[a].getState():null},subscribe:function(e,t){return e[a]?e[a].subscribe(t):null},unsubscribe:function(e,t){e[a]&&e[a].unsubscribe(t)}};t.default=l},RELg:function(e,t,n){var r=n("MFOe").Global;e.exports={name:"oldIE-userDataStorage",write:function(e,t){if(a)return;var n=c(e);i((function(e){e.setAttribute(n,t),e.save("storejs")}))},read:function(e){if(a)return;var t=c(e),n=null;return i((function(e){n=e.getAttribute(t)})),n},each:function(e){i((function(t){for(var n=t.XMLDocument.documentElement.attributes,r=n.length-1;r>=0;r--){var o=n[r];e(t.getAttribute(o.name),o.name)}}))},remove:function(e){var t=c(e);i((function(e){e.removeAttribute(t),e.save("storejs")}))},clearAll:function(){i((function(e){var t=e.XMLDocument.documentElement.attributes;e.load("storejs");for(var n=t.length-1;n>=0;n--)e.removeAttribute(t[n].name);e.save("storejs")}))}};var o=r.document,i=function(){if(!o||!o.documentElement||!o.documentElement.addBehavior)return null;var e,t,n;try{(t=new ActiveXObject("htmlfile")).open(),t.write('