From 1ca9e523e66ad8faec39d8c945c11e24e01fbfd5 Mon Sep 17 00:00:00 2001 From: "sylor_huang@126.com" Date: Wed, 19 Aug 2020 18:18:18 +0800 Subject: [PATCH] Hide LoginDialog --- asset-manifest.json | 4 ++-- index.html | 2 +- service-worker.js | 2 +- static/js/main.44689537.chunk.js | 2 ++ ...hunk.js.LICENSE.txt => main.44689537.chunk.js.LICENSE.txt} | 0 static/js/main.72d26286.chunk.js | 2 -- 6 files changed, 6 insertions(+), 6 deletions(-) create mode 100644 static/js/main.44689537.chunk.js rename static/js/{main.72d26286.chunk.js.LICENSE.txt => main.44689537.chunk.js.LICENSE.txt} (100%) delete mode 100644 static/js/main.72d26286.chunk.js diff --git a/asset-manifest.json b/asset-manifest.json index 9924dd6e1..881cb7be4 100644 --- a/asset-manifest.json +++ b/asset-manifest.json @@ -200,11 +200,11 @@ "./static/js/137.d12d3a11.chunk.js": "/react/build/./static/js/137.d12d3a11.chunk.js", "./static/js/138.b0d3f1b1.chunk.js": "/react/build/./static/js/138.b0d3f1b1.chunk.js", "main.css": "/react/build/static/css/main.42d13bba.chunk.css", - "main.js": "/react/build/./static/js/main.72d26286.chunk.js", + "main.js": "/react/build/./static/js/main.44689537.chunk.js", "runtime~main.js": "/react/build/./static/js/runtime~main.9855b487.js", "./static/js/133.49c8480a.chunk.js.LICENSE.txt": "/react/build/./static/js/133.49c8480a.chunk.js.LICENSE.txt", "./static/js/6.a952f14e.chunk.js.LICENSE.txt": "/react/build/./static/js/6.a952f14e.chunk.js.LICENSE.txt", - "./static/js/main.72d26286.chunk.js.LICENSE.txt": "/react/build/./static/js/main.72d26286.chunk.js.LICENSE.txt", + "./static/js/main.44689537.chunk.js.LICENSE.txt": "/react/build/./static/js/main.44689537.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 cae109dcc..61936bdd6 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 418d770f9..1b15e0640 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","59a210eb7f41be8627a7c2cb85ea7af2"],["/react/build/json.worker.js","4a4ca127f837beaf0dddae0c74c81b57"],["/react/build/static/css/1.50ff7122.chunk.css","45259d31111b9a22f91937a03f4946cc"],["/react/build/static/css/10.ce94a75e.chunk.css","83892bc2c940e3b377d6f836dafb36d5"],["/react/build/static/css/11.58c2bda0.chunk.css","7251503b2fb2777418b1d533e31be56d"],["/react/build/static/css/12.620a5b46.chunk.css","119988bb06ed43feb43934a2b308db2a"],["/react/build/static/css/14.263f86cb.chunk.css","706eec9e37604f5bbb76eaf56cd6463e"],["/react/build/static/css/15.31d3f2f2.chunk.css","400805ee0ad77a87b7be7e04cea0f1fd"],["/react/build/static/css/16.7932db0e.chunk.css","5d84e23fbdabf6060e27bfe1887facd4"],["/react/build/static/css/17.5d23f38f.chunk.css","5747f2ac5acc23421f72ef2185482658"],["/react/build/static/css/18.cd5da53a.chunk.css","c2355f612417a0706a734c737c1dcf10"],["/react/build/static/css/19.bedbce9f.chunk.css","bc9815799f65fabf733037474da5f356"],["/react/build/static/css/20.0a9b8524.chunk.css","f756837029121513ccee77d488b8548b"],["/react/build/static/css/21.819592bd.chunk.css","75911af6c3da7b2b9fd9a68704ef1415"],["/react/build/static/css/22.bd7808a3.chunk.css","893a414f5c696558e07173fdb6d73d14"],["/react/build/static/css/23.2ca6b566.chunk.css","3a69a7b29924b9708bf95e56e58cf412"],["/react/build/static/css/24.2ca6b566.chunk.css","3a69a7b29924b9708bf95e56e58cf412"],["/react/build/static/css/25.2ca6b566.chunk.css","3a69a7b29924b9708bf95e56e58cf412"],["/react/build/static/css/26.31bacb05.chunk.css","af3308ab0d8df48ab041d9ebd4137822"],["/react/build/static/css/27.524120d2.chunk.css","3504556cc87ba4889573b8b123c7ac74"],["/react/build/static/css/28.a3654973.chunk.css","bf49dde086ecc9d635e6471f7c21ff1a"],["/react/build/static/css/29.3ad2a9e0.chunk.css","1ce4f73180ebf40e74b7d5279ce696fe"],["/react/build/static/css/3.8fcaeca1.chunk.css","e03a6da0b18e925a1b31673e16d28b89"],["/react/build/static/css/30.3ad2a9e0.chunk.css","1ce4f73180ebf40e74b7d5279ce696fe"],["/react/build/static/css/31.209d3014.chunk.css","bfd7dc1ccc8a7aa9948e35b51f4d40b9"],["/react/build/static/css/32.537827da.chunk.css","f87b7367f846633a25e58c92fd016bd2"],["/react/build/static/css/33.066bcb2f.chunk.css","c8605d8e757c2c5449e045dc5ed67c6c"],["/react/build/static/css/34.a95c64d1.chunk.css","a3491385781d5e641ef35a2eb2950659"],["/react/build/static/css/35.8739cc0a.chunk.css","ba7fb31b290c9cf770c9fdd117182388"],["/react/build/static/css/36.b8dcc10e.chunk.css","ebd809971a35a3ab9fa4eabb35f10c02"],["/react/build/static/css/37.9825b4ed.chunk.css","cc4dfe2c777189b430c195c35c35dd65"],["/react/build/static/css/38.7c2cdd7f.chunk.css","c123d4288592ac4362a1f59b20924a09"],["/react/build/static/css/39.78dc1e5f.chunk.css","e997c040414300dde95a5675b35b9de3"],["/react/build/static/css/4.8c0097ca.chunk.css","189c51bc6ab1d144f75f0ecdc819523e"],["/react/build/static/css/40.b25d46f3.chunk.css","0aa18a92d8bc1786b1d3a70c2162c424"],["/react/build/static/css/41.dba177bc.chunk.css","399a0a542dabd5560b4e3da0019a7891"],["/react/build/static/css/42.c7312c17.chunk.css","01add0ea9f7f9c7d4f7a8f7ef61f0cea"],["/react/build/static/css/43.71802b2f.chunk.css","1bccf62beaff6199694e9e44a337af8e"],["/react/build/static/css/44.c7312c17.chunk.css","01add0ea9f7f9c7d4f7a8f7ef61f0cea"],["/react/build/static/css/45.91d56524.chunk.css","36a233834571fd8685df906cb9f3d2ec"],["/react/build/static/css/46.d54febb8.chunk.css","51ce07874c779bb8f0a9d0c6e1c1d289"],["/react/build/static/css/47.c347466a.chunk.css","871f886d976ff77423a1fe24aa1d6f00"],["/react/build/static/css/48.1be69314.chunk.css","5464893a8bde4ca5566a540442ff939c"],["/react/build/static/css/49.1be69314.chunk.css","5464893a8bde4ca5566a540442ff939c"],["/react/build/static/css/5.5d2538f7.chunk.css","f7bca4f3d6437baa7779df051da7a998"],["/react/build/static/css/50.ceffcc2e.chunk.css","2526432216fa37b32602558f1ea4b51e"],["/react/build/static/css/51.640f37d5.chunk.css","248dd7a153a8a1fac332103b57f55305"],["/react/build/static/css/52.fac0c3b4.chunk.css","b276cf83dbc2b6f60afca083b30b127c"],["/react/build/static/css/53.971b56a9.chunk.css","ae447dc72790c750ef2bb8bdb4a2e8a9"],["/react/build/static/css/54.43a7e510.chunk.css","13f972727b3d1415ae5239dcb5cc54ce"],["/react/build/static/css/55.43a7e510.chunk.css","8233af5c95ed89730451b63896df850f"],["/react/build/static/css/56.3d1201e6.chunk.css","32da57713ccd3f30abc141069f5cea74"],["/react/build/static/css/57.e522dd89.chunk.css","7b3e0567aefcc4fcd35f5d0209d61610"],["/react/build/static/css/59.482e24a6.chunk.css","e46568191a34be14e7f680cdd9e45516"],["/react/build/static/css/60.1be69314.chunk.css","5464893a8bde4ca5566a540442ff939c"],["/react/build/static/css/63.2163ee97.chunk.css","21e3b96c754030c471e4f3539b52e7eb"],["/react/build/static/css/64.8725ffda.chunk.css","a4dd127f859f497fde9a1cf9dbee1396"],["/react/build/static/css/7.f89d762e.chunk.css","458a044119c0a01635e8f7c71378ef6e"],["/react/build/static/css/72.dabd48e6.chunk.css","325c43faf39e43f569c1c137ba5158f7"],["/react/build/static/css/75.2ac07d1f.chunk.css","76e783e78b56714b4170df399223cfbd"],["/react/build/static/css/76.482e24a6.chunk.css","e46568191a34be14e7f680cdd9e45516"],["/react/build/static/css/8.596a8c51.chunk.css","a457b14782baa7c74f01db16975d3cc7"],["/react/build/static/css/9.e8d77148.chunk.css","3ecd6d700db1a442f050993baab7bb7e"],["/react/build/static/css/main.42d13bba.chunk.css","f4c31d0398903e509cac9a6bb4357704"],["/react/build/static/js/0.15abc98e.chunk.js","f3f910d74cf49cedcf1f230b5f55a0ea"],["/react/build/static/js/1.3c8bde58.chunk.js","340135f45abafab175a2fd9c4099727a"],["/react/build/static/js/10.4d181117.chunk.js","9057cd13b971ebd98e3b78426014838f"],["/react/build/static/js/100.30643b74.chunk.js","146552b911955ec68c166141eac2d388"],["/react/build/static/js/101.3a498409.chunk.js","ca6397405c82826e2c0220b98f98673c"],["/react/build/static/js/102.19c18cac.chunk.js","801124e8a7ab89fc6c784fc692b49bb7"],["/react/build/static/js/103.913b956b.chunk.js","1fa27181455637d7a15c8c142e4a440c"],["/react/build/static/js/104.1c0cf399.chunk.js","c9a4c976deb1a07250de511d577f3cf1"],["/react/build/static/js/105.90eb0c9e.chunk.js","9de098407262512ce9afcfd15f6c6268"],["/react/build/static/js/106.0d2171d8.chunk.js","1327a12ad47167b0af47ac0e6684022d"],["/react/build/static/js/107.faf1a078.chunk.js","cca22ed95375dec904d90f80d9bbe07f"],["/react/build/static/js/108.1fbdc913.chunk.js","9ce62c29638b1c6a6825ca780b99c13e"],["/react/build/static/js/109.1f3525f0.chunk.js","ee03143dc4b5158354f3d2f47aa5a0eb"],["/react/build/static/js/11.237cba75.chunk.js","c7534bbed816da285e303df2f19aa9be"],["/react/build/static/js/110.18406c85.chunk.js","84012a70a8bae0a4036e062a66a66d03"],["/react/build/static/js/111.a082039c.chunk.js","56b808e36e2b5637cedf25539d05a3ac"],["/react/build/static/js/112.9082bdfa.chunk.js","7c2a2b3826a064fb41cfe08f7158a717"],["/react/build/static/js/113.4934f3e0.chunk.js","bb361ddd146309fc4594d8b97e640306"],["/react/build/static/js/114.ed06755b.chunk.js","25d8556e54f176dad1906a251d8f744f"],["/react/build/static/js/115.1cd7add8.chunk.js","cdafc55cde8f759eb7b4063f5b7407f2"],["/react/build/static/js/116.1bec3b81.chunk.js","1154d6a586413ba397db7a1ae8b8ce86"],["/react/build/static/js/117.b7cf81bb.chunk.js","7177491447d8134ff5cb13ef86b9f90a"],["/react/build/static/js/118.7f23e6b7.chunk.js","c32f60f654bbf1576fe5a92f1bb95489"],["/react/build/static/js/119.4f6c8cd9.chunk.js","b6375d82dad581738f4af08fc1d5394e"],["/react/build/static/js/12.a05dbe12.chunk.js","0a998e57be1620be53278aff6bf90302"],["/react/build/static/js/120.fddf8c6b.chunk.js","a5b94239a571b28545b514cb273a76ca"],["/react/build/static/js/121.b30beac5.chunk.js","62f13b81f0446dedd8236765d73a9ded"],["/react/build/static/js/122.d4f6a1e7.chunk.js","459a38cc1087de3b221cd442ba7dfc85"],["/react/build/static/js/123.32844768.chunk.js","fde24e05f265e444c88b7c2d2856ce82"],["/react/build/static/js/124.fff2e03f.chunk.js","389a7437b569f5b5985058eeca5668ff"],["/react/build/static/js/125.aa9cf50b.chunk.js","7a77d088df674b5e32be9d13dbb60444"],["/react/build/static/js/126.a12a4619.chunk.js","34512dc8309f6b6e330879ad3b6fd2b0"],["/react/build/static/js/127.d0c36129.chunk.js","f6ac457727258dccd65e1012a780234a"],["/react/build/static/js/128.1eeec8b5.chunk.js","6c4a43adcb6ffa288b4be3c450d5675c"],["/react/build/static/js/129.2757a185.chunk.js","23df292255755317b3868717b820fce3"],["/react/build/static/js/13.9b6e9907.chunk.js","bdf4091cb44bce2da34b62ff7304d7a3"],["/react/build/static/js/130.9744ab1a.chunk.js","9384198f4f74d26d3a2c7a7100048648"],["/react/build/static/js/131.782174ee.chunk.js","a6061da7f9f6532a7530854160ff0b44"],["/react/build/static/js/132.4d8631a7.chunk.js","aa808aeb8f5bb9cae37be9a33e053cc1"],["/react/build/static/js/133.49c8480a.chunk.js","35097bfb4f38429c38f6b1882f989c15"],["/react/build/static/js/133.49c8480a.chunk.js.LICENSE.txt","cf224aa154060b2c3c86fa6ed5af6aa8"],["/react/build/static/js/134.41cfcb42.chunk.js","ce1ab2a46c370a5b45723e42887b967a"],["/react/build/static/js/135.b27dcf4e.chunk.js","b318002f8a87a52e77ce1663024e600b"],["/react/build/static/js/136.e5c7d987.chunk.js","25f8fe673afa552b5b8f548c673893a8"],["/react/build/static/js/137.d12d3a11.chunk.js","f123ab5e889ff31fffef27e7c88a4c21"],["/react/build/static/js/138.b0d3f1b1.chunk.js","03baf8b9d843de043cf455ac261b7ffd"],["/react/build/static/js/14.7c0221d5.chunk.js","7264e1a4773ad7c375aeab10037dc3a7"],["/react/build/static/js/15.3bcb21b1.chunk.js","d76e35e5d43d96330a7e8fcc6c4f61df"],["/react/build/static/js/16.6a4b5c0a.chunk.js","859dbd0c7643217565630af71a2bda2d"],["/react/build/static/js/17.7c2a6c6f.chunk.js","014b638133d6b6799fe10709a94fdcb5"],["/react/build/static/js/18.348f3a6b.chunk.js","dc5e7c81c091961556de4b1d2834078c"],["/react/build/static/js/19.61857ea3.chunk.js","50e50d07676f93c85ef2fc49cb5b5b88"],["/react/build/static/js/2.bc87859a.chunk.js","fe672ad7b8eb7879a799df7e802b2870"],["/react/build/static/js/20.54264df9.chunk.js","90a2fe876f8068ac747ab711857b4a13"],["/react/build/static/js/21.69d02319.chunk.js","24eebfb4b7cc9ecc414943fe2f8bd4bc"],["/react/build/static/js/22.71ab6ed4.chunk.js","a30131f6f616ae0c5378e25146901fad"],["/react/build/static/js/23.e1a59215.chunk.js","20d16206a80cf163286053ece8ae2e00"],["/react/build/static/js/24.07fb44c4.chunk.js","855e8fb56435032a9af229083f2c6c3d"],["/react/build/static/js/25.cc4e4d81.chunk.js","6aff0d4a4ecd95be5dd1be371eb91496"],["/react/build/static/js/26.0096ff28.chunk.js","12f963d7c27f01e5af66705fbfd20b4b"],["/react/build/static/js/27.4cd3ef21.chunk.js","3565af3bd053f019a3faa0db03fc344f"],["/react/build/static/js/28.827b62ec.chunk.js","0722f6ae19ff1c7d76258300d9747bb7"],["/react/build/static/js/29.9d1f7f74.chunk.js","a8614d6cc186a67ba7f5b460af3c409a"],["/react/build/static/js/3.ed73acdc.chunk.js","a3d95df263f19a715a4e50d9ad9862e2"],["/react/build/static/js/30.0d744d87.chunk.js","ffb71cbe2a9691a134ecce2921134c2b"],["/react/build/static/js/31.dedb2ce0.chunk.js","3880476a20372c7276cd7e99002d984c"],["/react/build/static/js/32.ed740d4f.chunk.js","75abd4dec06ab19a1cc39650814eef5a"],["/react/build/static/js/33.76218f03.chunk.js","cc4152566274c5579d67e99327eae7b9"],["/react/build/static/js/34.a64a6bb5.chunk.js","cef5864e7b2999e90a92663a2fc0f742"],["/react/build/static/js/35.b9611841.chunk.js","e495184dbd9a68fb8b29be5c2360e820"],["/react/build/static/js/36.0e824727.chunk.js","4ce97fa6a70bf3e0698c6c4d7defbbaf"],["/react/build/static/js/37.0f885e85.chunk.js","a338ef650f669a991e5e920ccfa4a02c"],["/react/build/static/js/38.f7ae5246.chunk.js","c2a8c326c812214f46508f0125bb5469"],["/react/build/static/js/39.56aa16ba.chunk.js","d6ff9593a0149b0314ef6bf27acc862c"],["/react/build/static/js/4.78288daa.chunk.js","05b2850d82d7770ed7769dc99d0b26de"],["/react/build/static/js/40.b657acfe.chunk.js","e950ea24c5640ad1cfcc81b1fa94b257"],["/react/build/static/js/41.c15e550c.chunk.js","d3b159f572c9a22dbaa354198813f09b"],["/react/build/static/js/42.3b524c62.chunk.js","8da820ff57f8d42f83d7171fd0ad221c"],["/react/build/static/js/43.59b383be.chunk.js","94c34973cf5922d2b18976f869486aaf"],["/react/build/static/js/44.1dd04cb6.chunk.js","9190972d13274f857be7ffcde140f161"],["/react/build/static/js/45.347c4755.chunk.js","02ff5295f7f259db22da6a4610a9e125"],["/react/build/static/js/46.d41174b0.chunk.js","947fca0629c48bd1eb34aa2419493789"],["/react/build/static/js/47.8994ab25.chunk.js","6a64e686027b8ef0908c8a256e4cb868"],["/react/build/static/js/48.1d94fd83.chunk.js","4dc687e851c6b8ef1ea682ee3086c19f"],["/react/build/static/js/49.190b88eb.chunk.js","ca9beee3ec2f8abd1f839a69a15c3ac4"],["/react/build/static/js/5.a0c1abdb.chunk.js","87f79955090bf31663ad466df9f8379f"],["/react/build/static/js/50.bf5fe711.chunk.js","150de4e9867350453b7bde2309812d0a"],["/react/build/static/js/51.60492204.chunk.js","8fb829a159245b6b6dfbcd6da0d10719"],["/react/build/static/js/52.0ef115fd.chunk.js","465d2af9c78385dd3e7da14ac639f9ee"],["/react/build/static/js/53.af22293a.chunk.js","43ceb215ef47d3b7bdddbdeef627f455"],["/react/build/static/js/54.0997a956.chunk.js","ccb6c57999d3d3583fb232da08051006"],["/react/build/static/js/55.7d064b3c.chunk.js","cc04d7787bce4493d5f3e1cfd6fdc019"],["/react/build/static/js/56.382d65af.chunk.js","73d4ec48e4b67d8b90409209e7b5af99"],["/react/build/static/js/57.b2d9902c.chunk.js","37e55960cb4d223cc98079d996dcb1aa"],["/react/build/static/js/58.82ff6a4f.chunk.js","dd35c1329d53ca15bcc0552e3db342ec"],["/react/build/static/js/59.f92a6549.chunk.js","58b02ff01a3c32b075eeba22bc94b126"],["/react/build/static/js/6.a952f14e.chunk.js","280f883b87e81854e37d79891b720ab0"],["/react/build/static/js/6.a952f14e.chunk.js.LICENSE.txt","7ec01595672f75e83fd81b41f132f4c1"],["/react/build/static/js/60.61f15e69.chunk.js","ca5189b5aae2ec8a2828e8d578e30c55"],["/react/build/static/js/61.7374e6b7.chunk.js","cf2b0742c3be732a98508bd5c69b7082"],["/react/build/static/js/62.dd5ec3ac.chunk.js","c71db963f74266c2485155c36829aa05"],["/react/build/static/js/63.18c8a44f.chunk.js","77c894ad02a3d4c72e8a7ab17bee86ca"],["/react/build/static/js/64.ea9932da.chunk.js","5f49a39f6df0a60a65afee3e2869fdb7"],["/react/build/static/js/65.4c53a855.chunk.js","542d6c30c8fab93c29adb51e43c5fdfe"],["/react/build/static/js/66.33853f25.chunk.js","0de2486f0eb82150df05b7aa6bd18d7a"],["/react/build/static/js/67.d670be93.chunk.js","670bae48d487223c9cfea31d25751d95"],["/react/build/static/js/68.9af45c54.chunk.js","52a3cc8eb1aa20bc78a66dfd6b23fcc5"],["/react/build/static/js/69.3eb79ece.chunk.js","5d61f60909d9b7ea1e7089ac12200c0c"],["/react/build/static/js/7.08af198a.chunk.js","ec4246ed319d126672f0c1f4d8bef01c"],["/react/build/static/js/70.6125a305.chunk.js","803e8b31d50bdebc47491bebc2ac9b19"],["/react/build/static/js/71.69af1bb2.chunk.js","9dcbbe83d488721d24d63a504637e832"],["/react/build/static/js/72.d452f618.chunk.js","102bf75284e9e677c24c62418499f2a7"],["/react/build/static/js/73.f8e7119d.chunk.js","eaaafd953e68b624be4640085740ca28"],["/react/build/static/js/74.cb4a7d3a.chunk.js","d0e8ae6642aa6e5a03d059ad08f9ed7d"],["/react/build/static/js/75.3639784e.chunk.js","16bcdcef2647b14f395c1e67e27c682b"],["/react/build/static/js/76.816605ca.chunk.js","908057be16aca78e0ea2a99856bc2231"],["/react/build/static/js/77.e8ff8efd.chunk.js","9714abf60c6ea35ffcca3e5aa38a4f5c"],["/react/build/static/js/78.03ea0f8f.chunk.js","a201899daa8cf46e6259665a00af0e07"],["/react/build/static/js/79.ed5afd3d.chunk.js","9c7726707c2061b918f576a9c5fe5f54"],["/react/build/static/js/8.35f72507.chunk.js","051c74b15ad898cded851822e88cdd22"],["/react/build/static/js/80.38cd3860.chunk.js","a2e7e99214ff6b4dd06a652b7a97a5b4"],["/react/build/static/js/81.8764793d.chunk.js","e5af349844ff866acdb90d3e75b59d3e"],["/react/build/static/js/82.3af24b4a.chunk.js","6afd82651b6aaa85ce47b28303a737d3"],["/react/build/static/js/83.9b6bc10f.chunk.js","aba422e1beef2f2b5d37a1ec4aa91f8e"],["/react/build/static/js/84.98abc7a5.chunk.js","61c4186b51827326d4b2759fb48cefb3"],["/react/build/static/js/85.fd9c57da.chunk.js","54c86e260bbb75f6f2812b8128970a7e"],["/react/build/static/js/86.fecf5597.chunk.js","9ab0d2133e147690c45a21ca9e03013b"],["/react/build/static/js/87.52268767.chunk.js","faea4ea0872a75ff2c712f78ed1dacab"],["/react/build/static/js/88.b98083fd.chunk.js","8cf984a1dd4b4040ebccc5f3db51aec7"],["/react/build/static/js/89.9f2457b1.chunk.js","649340eb6e816cb25a2ca09d6d5c5e33"],["/react/build/static/js/9.c624404e.chunk.js","05f55554135a6256cd65442dd72fbb6f"],["/react/build/static/js/90.b34fd4ae.chunk.js","49a672d96bf2a5de67372b76055ba0e1"],["/react/build/static/js/91.4a6de1e2.chunk.js","c993e5790c3cebe9fb0b30c552ff20aa"],["/react/build/static/js/92.90c61d61.chunk.js","13db18033ef1644126ce7bfa72947858"],["/react/build/static/js/93.f6c34cb2.chunk.js","6a4edb72c8b7c56b6356a5151dfe79ef"],["/react/build/static/js/94.c1ec6b69.chunk.js","83589cc32aa22cfab1ccbcc28bc96809"],["/react/build/static/js/95.75a0883c.chunk.js","7ce59910be645cae6832cf15c93aa9a8"],["/react/build/static/js/96.8fa418db.chunk.js","11fe88749761a0787b3c6fa473bca764"],["/react/build/static/js/97.0cebc24a.chunk.js","4d6fa85263f504d702f410e8ccfa39f0"],["/react/build/static/js/98.7c0297f3.chunk.js","5dc938ff55c9669e03b956734ceea592"],["/react/build/static/js/99.b6d427bb.chunk.js","3f854ee957d142a48f2dbcdcaf09573b"],["/react/build/static/js/main.72d26286.chunk.js.LICENSE.txt","20c4c9722b39971e742932d08ec3daf5"],["/react/build/static/js/runtime~main.9855b487.js","27ea1c07e55a93829917db543fc9630e"],["/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/banner_list.690e0e74.png","614e3d1cfa0f8298d9f8aa45eafef7dd"],["/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,t){var d=new URL(c);return t&&d.pathname.match(t)||(d.search+=(d.search?"&":"")+encodeURIComponent(a)+"="+encodeURIComponent(e)),d.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],t=new URL(a,self.location),d=createCacheKey(t,hashParamName,e,/\.\w{8}\./);return[t.toString(),d]}));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(t){return setOfCachedUrls(t).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 t.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),t="index.html";(c=urlsToCacheKeys.has(e))||(e=addDirectoryIndex(e,t),c=urlsToCacheKeys.has(e));var d="/react/build/index.html";!c&&"navigate"===a.request.mode&&isPathWhitelisted(["^(?!\\/__).*"],a.request.url)&&(e=new URL(d,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","ca037e5166e7215688e14f5ccbd5d503"],["/react/build/json.worker.js","4a4ca127f837beaf0dddae0c74c81b57"],["/react/build/static/css/1.50ff7122.chunk.css","45259d31111b9a22f91937a03f4946cc"],["/react/build/static/css/10.ce94a75e.chunk.css","83892bc2c940e3b377d6f836dafb36d5"],["/react/build/static/css/11.58c2bda0.chunk.css","7251503b2fb2777418b1d533e31be56d"],["/react/build/static/css/12.620a5b46.chunk.css","119988bb06ed43feb43934a2b308db2a"],["/react/build/static/css/14.263f86cb.chunk.css","706eec9e37604f5bbb76eaf56cd6463e"],["/react/build/static/css/15.31d3f2f2.chunk.css","400805ee0ad77a87b7be7e04cea0f1fd"],["/react/build/static/css/16.7932db0e.chunk.css","5d84e23fbdabf6060e27bfe1887facd4"],["/react/build/static/css/17.5d23f38f.chunk.css","5747f2ac5acc23421f72ef2185482658"],["/react/build/static/css/18.cd5da53a.chunk.css","c2355f612417a0706a734c737c1dcf10"],["/react/build/static/css/19.bedbce9f.chunk.css","bc9815799f65fabf733037474da5f356"],["/react/build/static/css/20.0a9b8524.chunk.css","f756837029121513ccee77d488b8548b"],["/react/build/static/css/21.819592bd.chunk.css","75911af6c3da7b2b9fd9a68704ef1415"],["/react/build/static/css/22.bd7808a3.chunk.css","893a414f5c696558e07173fdb6d73d14"],["/react/build/static/css/23.2ca6b566.chunk.css","3a69a7b29924b9708bf95e56e58cf412"],["/react/build/static/css/24.2ca6b566.chunk.css","3a69a7b29924b9708bf95e56e58cf412"],["/react/build/static/css/25.2ca6b566.chunk.css","3a69a7b29924b9708bf95e56e58cf412"],["/react/build/static/css/26.31bacb05.chunk.css","af3308ab0d8df48ab041d9ebd4137822"],["/react/build/static/css/27.524120d2.chunk.css","3504556cc87ba4889573b8b123c7ac74"],["/react/build/static/css/28.a3654973.chunk.css","bf49dde086ecc9d635e6471f7c21ff1a"],["/react/build/static/css/29.3ad2a9e0.chunk.css","1ce4f73180ebf40e74b7d5279ce696fe"],["/react/build/static/css/3.8fcaeca1.chunk.css","e03a6da0b18e925a1b31673e16d28b89"],["/react/build/static/css/30.3ad2a9e0.chunk.css","1ce4f73180ebf40e74b7d5279ce696fe"],["/react/build/static/css/31.209d3014.chunk.css","bfd7dc1ccc8a7aa9948e35b51f4d40b9"],["/react/build/static/css/32.537827da.chunk.css","f87b7367f846633a25e58c92fd016bd2"],["/react/build/static/css/33.066bcb2f.chunk.css","c8605d8e757c2c5449e045dc5ed67c6c"],["/react/build/static/css/34.a95c64d1.chunk.css","a3491385781d5e641ef35a2eb2950659"],["/react/build/static/css/35.8739cc0a.chunk.css","ba7fb31b290c9cf770c9fdd117182388"],["/react/build/static/css/36.b8dcc10e.chunk.css","ebd809971a35a3ab9fa4eabb35f10c02"],["/react/build/static/css/37.9825b4ed.chunk.css","cc4dfe2c777189b430c195c35c35dd65"],["/react/build/static/css/38.7c2cdd7f.chunk.css","c123d4288592ac4362a1f59b20924a09"],["/react/build/static/css/39.78dc1e5f.chunk.css","e997c040414300dde95a5675b35b9de3"],["/react/build/static/css/4.8c0097ca.chunk.css","189c51bc6ab1d144f75f0ecdc819523e"],["/react/build/static/css/40.b25d46f3.chunk.css","0aa18a92d8bc1786b1d3a70c2162c424"],["/react/build/static/css/41.dba177bc.chunk.css","399a0a542dabd5560b4e3da0019a7891"],["/react/build/static/css/42.c7312c17.chunk.css","01add0ea9f7f9c7d4f7a8f7ef61f0cea"],["/react/build/static/css/43.71802b2f.chunk.css","1bccf62beaff6199694e9e44a337af8e"],["/react/build/static/css/44.c7312c17.chunk.css","01add0ea9f7f9c7d4f7a8f7ef61f0cea"],["/react/build/static/css/45.91d56524.chunk.css","36a233834571fd8685df906cb9f3d2ec"],["/react/build/static/css/46.d54febb8.chunk.css","51ce07874c779bb8f0a9d0c6e1c1d289"],["/react/build/static/css/47.c347466a.chunk.css","871f886d976ff77423a1fe24aa1d6f00"],["/react/build/static/css/48.1be69314.chunk.css","5464893a8bde4ca5566a540442ff939c"],["/react/build/static/css/49.1be69314.chunk.css","5464893a8bde4ca5566a540442ff939c"],["/react/build/static/css/5.5d2538f7.chunk.css","f7bca4f3d6437baa7779df051da7a998"],["/react/build/static/css/50.ceffcc2e.chunk.css","2526432216fa37b32602558f1ea4b51e"],["/react/build/static/css/51.640f37d5.chunk.css","248dd7a153a8a1fac332103b57f55305"],["/react/build/static/css/52.fac0c3b4.chunk.css","b276cf83dbc2b6f60afca083b30b127c"],["/react/build/static/css/53.971b56a9.chunk.css","ae447dc72790c750ef2bb8bdb4a2e8a9"],["/react/build/static/css/54.43a7e510.chunk.css","13f972727b3d1415ae5239dcb5cc54ce"],["/react/build/static/css/55.43a7e510.chunk.css","8233af5c95ed89730451b63896df850f"],["/react/build/static/css/56.3d1201e6.chunk.css","32da57713ccd3f30abc141069f5cea74"],["/react/build/static/css/57.e522dd89.chunk.css","7b3e0567aefcc4fcd35f5d0209d61610"],["/react/build/static/css/59.482e24a6.chunk.css","e46568191a34be14e7f680cdd9e45516"],["/react/build/static/css/60.1be69314.chunk.css","5464893a8bde4ca5566a540442ff939c"],["/react/build/static/css/63.2163ee97.chunk.css","21e3b96c754030c471e4f3539b52e7eb"],["/react/build/static/css/64.8725ffda.chunk.css","a4dd127f859f497fde9a1cf9dbee1396"],["/react/build/static/css/7.f89d762e.chunk.css","458a044119c0a01635e8f7c71378ef6e"],["/react/build/static/css/72.dabd48e6.chunk.css","325c43faf39e43f569c1c137ba5158f7"],["/react/build/static/css/75.2ac07d1f.chunk.css","76e783e78b56714b4170df399223cfbd"],["/react/build/static/css/76.482e24a6.chunk.css","e46568191a34be14e7f680cdd9e45516"],["/react/build/static/css/8.596a8c51.chunk.css","a457b14782baa7c74f01db16975d3cc7"],["/react/build/static/css/9.e8d77148.chunk.css","3ecd6d700db1a442f050993baab7bb7e"],["/react/build/static/css/main.42d13bba.chunk.css","f4c31d0398903e509cac9a6bb4357704"],["/react/build/static/js/0.15abc98e.chunk.js","f3f910d74cf49cedcf1f230b5f55a0ea"],["/react/build/static/js/1.3c8bde58.chunk.js","340135f45abafab175a2fd9c4099727a"],["/react/build/static/js/10.4d181117.chunk.js","9057cd13b971ebd98e3b78426014838f"],["/react/build/static/js/100.30643b74.chunk.js","146552b911955ec68c166141eac2d388"],["/react/build/static/js/101.3a498409.chunk.js","ca6397405c82826e2c0220b98f98673c"],["/react/build/static/js/102.19c18cac.chunk.js","801124e8a7ab89fc6c784fc692b49bb7"],["/react/build/static/js/103.913b956b.chunk.js","1fa27181455637d7a15c8c142e4a440c"],["/react/build/static/js/104.1c0cf399.chunk.js","c9a4c976deb1a07250de511d577f3cf1"],["/react/build/static/js/105.90eb0c9e.chunk.js","9de098407262512ce9afcfd15f6c6268"],["/react/build/static/js/106.0d2171d8.chunk.js","1327a12ad47167b0af47ac0e6684022d"],["/react/build/static/js/107.faf1a078.chunk.js","cca22ed95375dec904d90f80d9bbe07f"],["/react/build/static/js/108.1fbdc913.chunk.js","9ce62c29638b1c6a6825ca780b99c13e"],["/react/build/static/js/109.1f3525f0.chunk.js","ee03143dc4b5158354f3d2f47aa5a0eb"],["/react/build/static/js/11.237cba75.chunk.js","c7534bbed816da285e303df2f19aa9be"],["/react/build/static/js/110.18406c85.chunk.js","84012a70a8bae0a4036e062a66a66d03"],["/react/build/static/js/111.a082039c.chunk.js","56b808e36e2b5637cedf25539d05a3ac"],["/react/build/static/js/112.9082bdfa.chunk.js","7c2a2b3826a064fb41cfe08f7158a717"],["/react/build/static/js/113.4934f3e0.chunk.js","bb361ddd146309fc4594d8b97e640306"],["/react/build/static/js/114.ed06755b.chunk.js","25d8556e54f176dad1906a251d8f744f"],["/react/build/static/js/115.1cd7add8.chunk.js","cdafc55cde8f759eb7b4063f5b7407f2"],["/react/build/static/js/116.1bec3b81.chunk.js","1154d6a586413ba397db7a1ae8b8ce86"],["/react/build/static/js/117.b7cf81bb.chunk.js","7177491447d8134ff5cb13ef86b9f90a"],["/react/build/static/js/118.7f23e6b7.chunk.js","c32f60f654bbf1576fe5a92f1bb95489"],["/react/build/static/js/119.4f6c8cd9.chunk.js","b6375d82dad581738f4af08fc1d5394e"],["/react/build/static/js/12.a05dbe12.chunk.js","0a998e57be1620be53278aff6bf90302"],["/react/build/static/js/120.fddf8c6b.chunk.js","a5b94239a571b28545b514cb273a76ca"],["/react/build/static/js/121.b30beac5.chunk.js","62f13b81f0446dedd8236765d73a9ded"],["/react/build/static/js/122.d4f6a1e7.chunk.js","459a38cc1087de3b221cd442ba7dfc85"],["/react/build/static/js/123.32844768.chunk.js","fde24e05f265e444c88b7c2d2856ce82"],["/react/build/static/js/124.fff2e03f.chunk.js","389a7437b569f5b5985058eeca5668ff"],["/react/build/static/js/125.aa9cf50b.chunk.js","7a77d088df674b5e32be9d13dbb60444"],["/react/build/static/js/126.a12a4619.chunk.js","34512dc8309f6b6e330879ad3b6fd2b0"],["/react/build/static/js/127.d0c36129.chunk.js","f6ac457727258dccd65e1012a780234a"],["/react/build/static/js/128.1eeec8b5.chunk.js","6c4a43adcb6ffa288b4be3c450d5675c"],["/react/build/static/js/129.2757a185.chunk.js","23df292255755317b3868717b820fce3"],["/react/build/static/js/13.9b6e9907.chunk.js","bdf4091cb44bce2da34b62ff7304d7a3"],["/react/build/static/js/130.9744ab1a.chunk.js","9384198f4f74d26d3a2c7a7100048648"],["/react/build/static/js/131.782174ee.chunk.js","a6061da7f9f6532a7530854160ff0b44"],["/react/build/static/js/132.4d8631a7.chunk.js","aa808aeb8f5bb9cae37be9a33e053cc1"],["/react/build/static/js/133.49c8480a.chunk.js","35097bfb4f38429c38f6b1882f989c15"],["/react/build/static/js/133.49c8480a.chunk.js.LICENSE.txt","cf224aa154060b2c3c86fa6ed5af6aa8"],["/react/build/static/js/134.41cfcb42.chunk.js","ce1ab2a46c370a5b45723e42887b967a"],["/react/build/static/js/135.b27dcf4e.chunk.js","b318002f8a87a52e77ce1663024e600b"],["/react/build/static/js/136.e5c7d987.chunk.js","25f8fe673afa552b5b8f548c673893a8"],["/react/build/static/js/137.d12d3a11.chunk.js","f123ab5e889ff31fffef27e7c88a4c21"],["/react/build/static/js/138.b0d3f1b1.chunk.js","03baf8b9d843de043cf455ac261b7ffd"],["/react/build/static/js/14.7c0221d5.chunk.js","7264e1a4773ad7c375aeab10037dc3a7"],["/react/build/static/js/15.3bcb21b1.chunk.js","d76e35e5d43d96330a7e8fcc6c4f61df"],["/react/build/static/js/16.6a4b5c0a.chunk.js","859dbd0c7643217565630af71a2bda2d"],["/react/build/static/js/17.7c2a6c6f.chunk.js","014b638133d6b6799fe10709a94fdcb5"],["/react/build/static/js/18.348f3a6b.chunk.js","dc5e7c81c091961556de4b1d2834078c"],["/react/build/static/js/19.61857ea3.chunk.js","50e50d07676f93c85ef2fc49cb5b5b88"],["/react/build/static/js/2.bc87859a.chunk.js","fe672ad7b8eb7879a799df7e802b2870"],["/react/build/static/js/20.54264df9.chunk.js","90a2fe876f8068ac747ab711857b4a13"],["/react/build/static/js/21.69d02319.chunk.js","24eebfb4b7cc9ecc414943fe2f8bd4bc"],["/react/build/static/js/22.71ab6ed4.chunk.js","a30131f6f616ae0c5378e25146901fad"],["/react/build/static/js/23.e1a59215.chunk.js","20d16206a80cf163286053ece8ae2e00"],["/react/build/static/js/24.07fb44c4.chunk.js","855e8fb56435032a9af229083f2c6c3d"],["/react/build/static/js/25.cc4e4d81.chunk.js","6aff0d4a4ecd95be5dd1be371eb91496"],["/react/build/static/js/26.0096ff28.chunk.js","12f963d7c27f01e5af66705fbfd20b4b"],["/react/build/static/js/27.4cd3ef21.chunk.js","3565af3bd053f019a3faa0db03fc344f"],["/react/build/static/js/28.827b62ec.chunk.js","0722f6ae19ff1c7d76258300d9747bb7"],["/react/build/static/js/29.9d1f7f74.chunk.js","a8614d6cc186a67ba7f5b460af3c409a"],["/react/build/static/js/3.ed73acdc.chunk.js","a3d95df263f19a715a4e50d9ad9862e2"],["/react/build/static/js/30.0d744d87.chunk.js","ffb71cbe2a9691a134ecce2921134c2b"],["/react/build/static/js/31.dedb2ce0.chunk.js","3880476a20372c7276cd7e99002d984c"],["/react/build/static/js/32.ed740d4f.chunk.js","75abd4dec06ab19a1cc39650814eef5a"],["/react/build/static/js/33.76218f03.chunk.js","cc4152566274c5579d67e99327eae7b9"],["/react/build/static/js/34.a64a6bb5.chunk.js","cef5864e7b2999e90a92663a2fc0f742"],["/react/build/static/js/35.b9611841.chunk.js","e495184dbd9a68fb8b29be5c2360e820"],["/react/build/static/js/36.0e824727.chunk.js","4ce97fa6a70bf3e0698c6c4d7defbbaf"],["/react/build/static/js/37.0f885e85.chunk.js","a338ef650f669a991e5e920ccfa4a02c"],["/react/build/static/js/38.f7ae5246.chunk.js","c2a8c326c812214f46508f0125bb5469"],["/react/build/static/js/39.56aa16ba.chunk.js","d6ff9593a0149b0314ef6bf27acc862c"],["/react/build/static/js/4.78288daa.chunk.js","05b2850d82d7770ed7769dc99d0b26de"],["/react/build/static/js/40.b657acfe.chunk.js","e950ea24c5640ad1cfcc81b1fa94b257"],["/react/build/static/js/41.c15e550c.chunk.js","d3b159f572c9a22dbaa354198813f09b"],["/react/build/static/js/42.3b524c62.chunk.js","8da820ff57f8d42f83d7171fd0ad221c"],["/react/build/static/js/43.59b383be.chunk.js","94c34973cf5922d2b18976f869486aaf"],["/react/build/static/js/44.1dd04cb6.chunk.js","9190972d13274f857be7ffcde140f161"],["/react/build/static/js/45.347c4755.chunk.js","02ff5295f7f259db22da6a4610a9e125"],["/react/build/static/js/46.d41174b0.chunk.js","947fca0629c48bd1eb34aa2419493789"],["/react/build/static/js/47.8994ab25.chunk.js","6a64e686027b8ef0908c8a256e4cb868"],["/react/build/static/js/48.1d94fd83.chunk.js","4dc687e851c6b8ef1ea682ee3086c19f"],["/react/build/static/js/49.190b88eb.chunk.js","ca9beee3ec2f8abd1f839a69a15c3ac4"],["/react/build/static/js/5.a0c1abdb.chunk.js","87f79955090bf31663ad466df9f8379f"],["/react/build/static/js/50.bf5fe711.chunk.js","150de4e9867350453b7bde2309812d0a"],["/react/build/static/js/51.60492204.chunk.js","8fb829a159245b6b6dfbcd6da0d10719"],["/react/build/static/js/52.0ef115fd.chunk.js","465d2af9c78385dd3e7da14ac639f9ee"],["/react/build/static/js/53.af22293a.chunk.js","43ceb215ef47d3b7bdddbdeef627f455"],["/react/build/static/js/54.0997a956.chunk.js","ccb6c57999d3d3583fb232da08051006"],["/react/build/static/js/55.7d064b3c.chunk.js","cc04d7787bce4493d5f3e1cfd6fdc019"],["/react/build/static/js/56.382d65af.chunk.js","73d4ec48e4b67d8b90409209e7b5af99"],["/react/build/static/js/57.b2d9902c.chunk.js","37e55960cb4d223cc98079d996dcb1aa"],["/react/build/static/js/58.82ff6a4f.chunk.js","dd35c1329d53ca15bcc0552e3db342ec"],["/react/build/static/js/59.f92a6549.chunk.js","58b02ff01a3c32b075eeba22bc94b126"],["/react/build/static/js/6.a952f14e.chunk.js","280f883b87e81854e37d79891b720ab0"],["/react/build/static/js/6.a952f14e.chunk.js.LICENSE.txt","7ec01595672f75e83fd81b41f132f4c1"],["/react/build/static/js/60.61f15e69.chunk.js","ca5189b5aae2ec8a2828e8d578e30c55"],["/react/build/static/js/61.7374e6b7.chunk.js","cf2b0742c3be732a98508bd5c69b7082"],["/react/build/static/js/62.dd5ec3ac.chunk.js","c71db963f74266c2485155c36829aa05"],["/react/build/static/js/63.18c8a44f.chunk.js","77c894ad02a3d4c72e8a7ab17bee86ca"],["/react/build/static/js/64.ea9932da.chunk.js","5f49a39f6df0a60a65afee3e2869fdb7"],["/react/build/static/js/65.4c53a855.chunk.js","542d6c30c8fab93c29adb51e43c5fdfe"],["/react/build/static/js/66.33853f25.chunk.js","0de2486f0eb82150df05b7aa6bd18d7a"],["/react/build/static/js/67.d670be93.chunk.js","670bae48d487223c9cfea31d25751d95"],["/react/build/static/js/68.9af45c54.chunk.js","52a3cc8eb1aa20bc78a66dfd6b23fcc5"],["/react/build/static/js/69.3eb79ece.chunk.js","5d61f60909d9b7ea1e7089ac12200c0c"],["/react/build/static/js/7.08af198a.chunk.js","ec4246ed319d126672f0c1f4d8bef01c"],["/react/build/static/js/70.6125a305.chunk.js","803e8b31d50bdebc47491bebc2ac9b19"],["/react/build/static/js/71.69af1bb2.chunk.js","9dcbbe83d488721d24d63a504637e832"],["/react/build/static/js/72.d452f618.chunk.js","102bf75284e9e677c24c62418499f2a7"],["/react/build/static/js/73.f8e7119d.chunk.js","eaaafd953e68b624be4640085740ca28"],["/react/build/static/js/74.cb4a7d3a.chunk.js","d0e8ae6642aa6e5a03d059ad08f9ed7d"],["/react/build/static/js/75.3639784e.chunk.js","16bcdcef2647b14f395c1e67e27c682b"],["/react/build/static/js/76.816605ca.chunk.js","908057be16aca78e0ea2a99856bc2231"],["/react/build/static/js/77.e8ff8efd.chunk.js","9714abf60c6ea35ffcca3e5aa38a4f5c"],["/react/build/static/js/78.03ea0f8f.chunk.js","a201899daa8cf46e6259665a00af0e07"],["/react/build/static/js/79.ed5afd3d.chunk.js","9c7726707c2061b918f576a9c5fe5f54"],["/react/build/static/js/8.35f72507.chunk.js","051c74b15ad898cded851822e88cdd22"],["/react/build/static/js/80.38cd3860.chunk.js","a2e7e99214ff6b4dd06a652b7a97a5b4"],["/react/build/static/js/81.8764793d.chunk.js","e5af349844ff866acdb90d3e75b59d3e"],["/react/build/static/js/82.3af24b4a.chunk.js","6afd82651b6aaa85ce47b28303a737d3"],["/react/build/static/js/83.9b6bc10f.chunk.js","aba422e1beef2f2b5d37a1ec4aa91f8e"],["/react/build/static/js/84.98abc7a5.chunk.js","61c4186b51827326d4b2759fb48cefb3"],["/react/build/static/js/85.fd9c57da.chunk.js","54c86e260bbb75f6f2812b8128970a7e"],["/react/build/static/js/86.fecf5597.chunk.js","9ab0d2133e147690c45a21ca9e03013b"],["/react/build/static/js/87.52268767.chunk.js","faea4ea0872a75ff2c712f78ed1dacab"],["/react/build/static/js/88.b98083fd.chunk.js","8cf984a1dd4b4040ebccc5f3db51aec7"],["/react/build/static/js/89.9f2457b1.chunk.js","649340eb6e816cb25a2ca09d6d5c5e33"],["/react/build/static/js/9.c624404e.chunk.js","05f55554135a6256cd65442dd72fbb6f"],["/react/build/static/js/90.b34fd4ae.chunk.js","49a672d96bf2a5de67372b76055ba0e1"],["/react/build/static/js/91.4a6de1e2.chunk.js","c993e5790c3cebe9fb0b30c552ff20aa"],["/react/build/static/js/92.90c61d61.chunk.js","13db18033ef1644126ce7bfa72947858"],["/react/build/static/js/93.f6c34cb2.chunk.js","6a4edb72c8b7c56b6356a5151dfe79ef"],["/react/build/static/js/94.c1ec6b69.chunk.js","83589cc32aa22cfab1ccbcc28bc96809"],["/react/build/static/js/95.75a0883c.chunk.js","7ce59910be645cae6832cf15c93aa9a8"],["/react/build/static/js/96.8fa418db.chunk.js","11fe88749761a0787b3c6fa473bca764"],["/react/build/static/js/97.0cebc24a.chunk.js","4d6fa85263f504d702f410e8ccfa39f0"],["/react/build/static/js/98.7c0297f3.chunk.js","5dc938ff55c9669e03b956734ceea592"],["/react/build/static/js/99.b6d427bb.chunk.js","3f854ee957d142a48f2dbcdcaf09573b"],["/react/build/static/js/main.44689537.chunk.js.LICENSE.txt","20c4c9722b39971e742932d08ec3daf5"],["/react/build/static/js/runtime~main.9855b487.js","27ea1c07e55a93829917db543fc9630e"],["/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/banner_list.690e0e74.png","614e3d1cfa0f8298d9f8aa45eafef7dd"],["/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,t){var d=new URL(c);return t&&d.pathname.match(t)||(d.search+=(d.search?"&":"")+encodeURIComponent(a)+"="+encodeURIComponent(e)),d.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],t=new URL(a,self.location),d=createCacheKey(t,hashParamName,e,/\.\w{8}\./);return[t.toString(),d]}));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(t){return setOfCachedUrls(t).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 t.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),t="index.html";(c=urlsToCacheKeys.has(e))||(e=addDirectoryIndex(e,t),c=urlsToCacheKeys.has(e));var d="/react/build/index.html";!c&&"navigate"===a.request.mode&&isPathWhitelisted(["^(?!\\/__).*"],a.request.url)&&(e=new URL(d,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/main.44689537.chunk.js b/static/js/main.44689537.chunk.js new file mode 100644 index 000000000..5d1b9f263 --- /dev/null +++ b/static/js/main.44689537.chunk.js @@ -0,0 +1,2 @@ +/*! For license information please see main.44689537.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=h,t.encodeNumber=f,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=S,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):z[e]?z[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&&0T(a,n))void 0!==c&&0>T(c,a)?(e[r]=c,e[l]=n,r=l):(e[r]=a,e[i]=n,r=i);else{if(!(void 0!==c&&0>T(c,n)))break e;e[r]=c,e[l]=n,r=l}}}return t}return null}function T(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var E=[],C=[],A=1,P=null,j=3,L=!1,N=!1,H=!1;function V(e){for(var t=M(C);null!==t;){if(null===t.callback)z(C);else{if(!(t.startTime<=e))break;z(C),t.sortIndex=t.expirationTime,S(E,t)}t=M(C)}}function R(e){if(H=!1,V(e),!N)if(null!==M(E))N=!0,r(I);else{var t=M(C);null!==t&&o(R,t.startTime-e)}}function I(e,n){N=!1,H&&(H=!1,i()),L=!0;var r=j;try{for(V(n),P=M(E);null!==P&&(!(P.expirationTime>n)||e&&!a());){var l=P.callback;if(null!==l){P.callback=null,j=P.priorityLevel;var c=l(P.expirationTime<=n);n=t.unstable_now(),"function"==typeof c?P.callback=c:P===M(E)&&z(E),V(n)}else z(E);P=M(E)}if(null!==P)var s=!0;else{var u=M(C);null!==u&&o(R,u.startTime-n),s=!1}return s}finally{P=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 B=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(I))},t.unstable_getCurrentPriorityLevel=function(){return j},t.unstable_getFirstCallbackNode=function(){return M(E)},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=B,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,S(C,e),null===M(E)&&e===M(C)&&(H?i():H=!0,o(R,c-l))):(e.sortIndex=a,S(E,e),N||L||(N=!0,r(I))),e},t.unstable_shouldYield=function(){var e=t.unstable_now();V(e);var n=M(E);return n!==P&&null!==P&&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];return function(e){return function(t){function n(e){f(this,n);var t=p(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.a.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.a.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.a.config({duration:3}),t.state={dialogOpen:!1,defineOpen:!1},t}return d(n,t),h(n,[{key:"render",value:function(){var t=this,n=this.state,r=(n.snackbarOpen,n.snackbarText,n.snackbarHorizontal,n.snackbarVertical,n.dialogOpen),o=n.content,a=n.subContent,l=n.defineOpen;return i.a.createElement(i.a.Fragment,null,i.a.createElement("style",null,"\n .confirmModal .task-popup-content {\n padding: 0px;\n }\n "),i.a.createElement(u,{className:"confirmModal",modalsType:r,modalsTopval:o,modalsBottomval:a||"",modalCancel:this.handleDialogClose,modalSave:this.onDialogOkBtnClick,okText:this.okText}),i.a.createElement(u,{modalsType:l,modalsTopval:o,loadtype:!0,modalsBottomval:"",modalCancel:void 0,modalSave:this.onDialogdefineOkBtnClick}),i.a.createElement(e,Object.assign({},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}(o.Component)}}},"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("SchZ"),n("RXDR"),n("L/Qf")},"2/Rp":function(e,t,n){"use strict";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"),h=n("g0mS"),f=n("CWQg");function p(){return(p=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["replace","to","innerRef"]);c()(this.context.router,"You should not use outside a "),c()(void 0!==t,'You must specify the "to" property');var i=this.context.router.history,a="string"==typeof t?Object(s.createLocation)(t,null,null,i.location):t,l=i.createHref(a);return o.a.createElement("a",u({},r,{onClick:this.handleClick,href:l,ref:n}))},t}(o.a.Component);d.propTypes={onClick:a.a.func,target:a.a.string,replace:a.a.bool,to:a.a.oneOfType([a.a.string,a.a.object]).isRequired,innerRef:a.a.oneOfType([a.a.string,a.a.func])},d.defaultProps={replace:!1},d.contextTypes={router:a.a.shape({history:a.a.shape({push:a.a.func.isRequired,replace:a.a.func.isRequired,createHref:a.a.func.isRequired}).isRequired}).isRequired},t.a=d},"2oDE":function(e,t,n){"use strict";n("SchZ"),n("vRiL")},"3GJH":function(e,t,n){n("lCc8");var r=n("WEpk").Object;e.exports=function(e,t){return r.create(e,t)}},"3S7+":function(e,t,n){"use strict";var r=n("q1tI"),o=n.n(r),i=n("VCL8"),a=n("QbLZ"),l=n.n(a),c=n("jo6Y"),s=n.n(c),u=n("iCc5"),h=n.n(u),f=n("FYw3"),p=n.n(f),d=n("mRg0"),m=n.n(d),v=n("17x9"),y=n.n(v),g=n("uciX"),b={adjustX:1,adjustY:1},w=[0,0],x={left:{points:["cr","cl"],overflow:b,offset:[-4,0],targetOffset:w},right:{points:["cl","cr"],overflow:b,offset:[4,0],targetOffset:w},top:{points:["bc","tc"],overflow:b,offset:[0,-4],targetOffset:w},bottom:{points:["tc","bc"],overflow:b,offset:[0,4],targetOffset:w},topLeft:{points:["bl","tl"],overflow:b,offset:[0,-4],targetOffset:w},leftTop:{points:["tr","tl"],overflow:b,offset:[-4,0],targetOffset:w},topRight:{points:["br","tr"],overflow:b,offset:[0,-4],targetOffset:w},rightTop:{points:["tl","tr"],overflow:b,offset:[4,0],targetOffset:w},bottomRight:{points:["tr","br"],overflow:b,offset:[0,4],targetOffset:w},rightBottom:{points:["bl","br"],overflow:b,offset:[4,0],targetOffset:w},bottomLeft:{points:["tl","bl"],overflow:b,offset:[0,4],targetOffset:w},leftBottom:{points:["br","bl"],overflow:b,offset:[-4,0],targetOffset:w}},_=function(e){function t(){return h()(this,t),p()(this,e.apply(this,arguments))}return m()(t,e),t.prototype.componentDidUpdate=function(){var e=this.props.trigger;e&&e.forcePopupAlign()},t.prototype.render=function(){var e=this.props,t=e.overlay,n=e.prefixCls,r=e.id;return o.a.createElement("div",{className:n+"-inner",id:r,role:"tooltip"},"function"==typeof t?t():t)},t}(o.a.Component);_.propTypes={prefixCls:y.a.string,overlay:y.a.oneOfType([y.a.node,y.a.func]).isRequired,id:y.a.string,trigger:y.a.any};var k=_,O=function(e){function t(){var n,r,i;h()(this,t);for(var a=arguments.length,l=Array(a),c=0;c=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=R(t),a=i.props,l=i.state,c=a.prefixCls,s=a.openClassName,u=a.getPopupContainer,h=a.getTooltipContainer,f=a.children,p=o("tooltip",c),d=l.visible;!("visible"in a)&&t.isNoTitle()&&(d=!1);var m,v,y,g=q(r.isValidElement(f)?f:r.createElement("span",null,f)),b=g.props,w=z()(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(S,B({},t.props,{prefixCls:p,getTooltipContainer:u||h||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 n=l,i=[{key:"getDerivedStateFromProps",value:function(e){return"visible"in e?{visible:e.visible}:null}}],(o=[{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?T(T({},s[t]),{overflow:P(c),targetOffset:A}):T(T({},x[t]),{overflow:P(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(n.prototype,o),i&&N(n,i),l}(r.Component);F.defaultProps={placement:"top",transitionName:"zoom-big-fast",mouseEnterDelay:.1,mouseLeaveDelay:.1,arrowPointAtCenter:!1,autoAdjustOverflow:!0},Object(i.polyfill)(F);t.a=F},"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})},"3x3+":function(e,t,n){"use strict";var r=n("61s2");t.a=r.a},"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")),h=r(n("7W2i")),f=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},"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:h}=n("rUJ1"),{getDefaults:f,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 h=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 h();if(delete t.highlight,!l)return h();for(;cAn error occurred:

"+h(e.message+"",!0)+"
";throw e}}m.options=m.setOptions=function(e){return s(m.defaults,e),p(m.defaults),m},m.getDefaults=f,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},"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),h=n("SsKX"),f=Object.assign||function(e){for(var t=1;t or withRouter() outside a ");var s=t.route,u=(r||s.location).pathname;return Object(h.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")),h=r(n("i8i4")),f=(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),O=(0,o.default)({breakpoints:k,direction:"ltr",mixins:(0,u.default)(k,d.default,y),overrides:{},palette:_,props:{},shadows:w||h.default,typography:(0,l.default)(_,b)},(0,a.default)({transitions:f.default,spacing:d.default,zIndex:p.default},x));return O};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 h(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:{}}})},h=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&&h.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),h+=this.renderer.listitem(v,b,g);x+=this.renderer.list(h,p,d);continue;case"html":x+=this.renderer.html(f.text);continue;case"paragraph":x+=this.renderer.paragraph(this.parseInline(f.tokens));continue;case"text":for(h=f.tokens?this.parseInline(f.tokens):f.text;n+1<_&&"text"===e[n+1].type;)f=e[++n],h+="\n"+(f.tokens?this.parseInline(f.tokens):f.text);x+=t?this.renderer.paragraph(h):h;continue;default:{const e='Token with "'+f.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.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(P(e),"seekTo",(function(t,n){if(!e.player)return null;e.player.seekTo(t,n)})),H(P(e),"handleReady",(function(){e.props.onReady(P(e))})),H(P(e),"wrapperRef",(function(t){e.wrapper=t})),H(P(e),"activePlayerRef",(function(t){e.player=t})),e}return n=d,(h=[{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(z(R),z(a.default));t0&&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,h=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 h?h:c(h))})).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),h=n("V7oC"),f=n.n(h),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"),O=n("2GS6"),S=n("TSYQ"),M=n.n(S),z=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),f()(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(O.a)(t.remove.bind(t,e.key),e.onClose);return g.a.createElement(T,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);P.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},P.defaultProps={prefixCls:"rc-notification",animation:"fade",style:{top:65,left:"50%"}},P.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(P,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=P;t.a=j},"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;n>>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},AP2z:function(e,t,n){var r=n("nmnc"),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,l=r?r.toStringTag:void 0;e.exports=function(e){var t=i.call(e,l),n=e[l];try{e[l]=void 0;var r=!0}catch(e){}var o=a.call(e);return r&&(t?e[l]=n:delete e[l]),o}},AUvm:function(e,t,n){"use strict";var r=n("5T2Y"),o=n("B+OT"),i=n("jmDH"),a=n("Y7ZC"),l=n("kTiW"),c=n("6/1s").KEY,s=n("KUxP"),u=n("29s/"),h=n("RfKB"),f=n("YqAc"),p=n("UWiX"),d=n("zLkG"),m=n("Zxgi"),v=n("R+7+"),y=n("kAMH"),g=n("5K7Z"),b=n("93I4"),w=n("JB68"),x=n("NsO/"),_=n("G8Mo"),k=n("rr1i"),O=n("oVml"),S=n("A5Xg"),M=n("vwuL"),z=n("mqlF"),T=n("2faE"),E=n("w6GO"),C=M.f,A=T.f,P=S.f,j=r.Symbol,L=r.JSON,N=L&&L.stringify,H=p("_hidden"),V=p("toPrimitive"),R={}.propertyIsEnumerable,I=u("symbol-registry"),D=u("symbols"),B=u("op-symbols"),q=Object.prototype,F="function"==typeof j&&!!z.f,U=r.QObject,W=!U||!U.prototype||!U.prototype.findChild,Y=i&&s((function(){return 7!=O(A({},"a",{get:function(){return A(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=C(q,t);r&&delete q[t],A(e,t,n),r&&e!==q&&A(q,t,r)}:A,G=function(e){var t=D[e]=O(j.prototype);return t._k=e,t},K=F&&"symbol"==typeof j.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof j},Z=function(e,t,n){return e===q&&Z(B,t,n),g(e),t=_(t,!0),g(n),o(D,t)?(n.enumerable?(o(e,H)&&e[H][t]&&(e[H][t]=!1),n=O(n,{enumerable:k(0,!1)})):(o(e,H)||A(e,H,k(1,{})),e[H][t]=!0),Y(e,t,n)):A(e,t,n)},X=function(e,t){g(e);for(var n,r=v(t=x(t)),o=0,i=r.length;i>o;)Z(e,n=r[o++],t[n]);return e},Q=function(e){var t=R.call(this,e=_(e,!0));return!(this===q&&o(D,e)&&!o(B,e))&&(!(t||!o(this,e)||!o(D,e)||o(this,H)&&this[H][e])||t)},J=function(e,t){if(e=x(e),t=_(t,!0),e!==q||!o(D,t)||o(B,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=P(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=P(n?B:x(e)),i=[],a=0;r.length>a;)!o(D,t=r[a++])||n&&!o(q,t)||i.push(D[t]);return i};F||(l((j=function(){if(this instanceof j)throw TypeError("Symbol is not a constructor!");var e=f(arguments.length>0?arguments[0]:void 0),t=function(n){this===q&&t.call(B,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=J,T.f=Z,n("ar/p").f=S.f=$,n("NV0k").f=Q,z.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*!F,{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=E(p.store),oe=0;re.length>oe;)m(re[oe++]);a(a.S+a.F*!F,"Symbol",{for:function(e){return o(I,e+="")?I[e]:I[e]=j(e)},keyFor:function(e){if(!K(e))throw TypeError(e+" is not a symbol!");for(var t in I)if(I[t]===e)return t},useSetter:function(){W=!0},useSimple:function(){W=!1}}),a(a.S+a.F*!F,"Object",{create:function(e,t){return void 0===t?O(e):X(O(e),t)},defineProperty:Z,defineProperties:X,getOwnPropertyDescriptor:J,getOwnPropertyNames:$,getOwnPropertySymbols:ee});var ie=s((function(){z.f(1)}));a(a.S+a.F*ie,"Object",{getOwnPropertySymbols:function(e){return z.f(w(e))}}),L&&a(a.S+a.F*(!F||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[V]||n("NegM")(j.prototype,V,j.prototype.valueOf),h(j,"Symbol"),h(Math,"Math",!0),h(r.JSON,"JSON",!0)},ApPD:function(e,t,n){var r=n("JB68"),o=n("U+KD");n("zn7N")("getPrototypeOf",(function(){return function(e){return o(r(e))}}))},AqCL:function(e,t){e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},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)}},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},h={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"}},f=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=h.deflt(e.displayMode,!1),this.output=h.deflt(e.output,"htmlAndMathml"),this.leqno=h.deflt(e.leqno,!1),this.fleqn=h.deflt(e.fleqn,!1),this.throwOnError=h.deflt(e.throwOnError,!0),this.errorColor=h.deflt(e.errorColor,"#cc0000"),this.macros=e.macros||{},this.minRuleThickness=Math.max(0,h.deflt(e.minRuleThickness,0)),this.colorIsTextColor=h.deflt(e.colorIsTextColor,!1),this.strict=h.deflt(e.strict,"warn"),this.trust=h.deflt(e.trust,!1),this.maxSize=Math.max(0,h.deflt(e.maxSize,1/0)),this.maxExpand=Math.max(0,h.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=h.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 O(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 S={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 h.contains(this.classes,e)},t.toNode=function(){for(var e=document.createDocumentFragment(),t=0;t"},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.width=void 0,this.maxFontSize=void 0,this.style=void 0,T.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 h.contains(this.classes,e)},t.toNode=function(){return E.call(this,"span")},t.toMarkup=function(){return C.call(this,"span")},e}(),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.maxFontSize=void 0,this.style=void 0,T.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 h.contains(this.classes,e)},t.toNode=function(){return E.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 h.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 h.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=z(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+=h.hyphenate(r)+":"+this.style[r]+";");n&&(e=!0,t+=' style="'+h.escape(n)+'"');var o=h.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}(),R=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="",">"),Z("math",X,te,":",":"),Z("math",X,te,"≈","\\approx",!0),Z("math",X,te,"≅","\\cong",!0),Z("math",X,te,"≥","\\ge"),Z("math",X,te,"≥","\\geq",!0),Z("math",X,te,"←","\\gets"),Z("math",X,te,">","\\gt"),Z("math",X,te,"∈","\\in",!0),Z("math",X,te,"","\\@not"),Z("math",X,te,"⊂","\\subset",!0),Z("math",X,te,"⊃","\\supset",!0),Z("math",X,te,"⊆","\\subseteq",!0),Z("math",X,te,"⊇","\\supseteq",!0),Z("math",Q,te,"⊈","\\nsubseteq",!0),Z("math",Q,te,"⊉","\\nsupseteq",!0),Z("math",X,te,"⊨","\\models"),Z("math",X,te,"←","\\leftarrow",!0),Z("math",X,te,"≤","\\le"),Z("math",X,te,"≤","\\leq",!0),Z("math",X,te,"<","\\lt"),Z("math",X,te,"→","\\rightarrow",!0),Z("math",X,te,"→","\\to"),Z("math",Q,te,"≱","\\ngeq",!0),Z("math",Q,te,"≰","\\nleq",!0),Z("math",X,"spacing"," ","\\ "),Z("math",X,"spacing"," ","~"),Z("math",X,"spacing"," ","\\space"),Z("math",X,"spacing"," ","\\nobreakspace"),Z("text",X,"spacing"," ","\\ "),Z("text",X,"spacing"," ","~"),Z("text",X,"spacing"," ","\\space"),Z("text",X,"spacing"," ","\\nobreakspace"),Z("math",X,"spacing",null,"\\nobreak"),Z("math",X,"spacing",null,"\\allowbreak"),Z("math",X,"punct",",",","),Z("math",X,"punct",";",";"),Z("math",Q,J,"⊼","\\barwedge",!0),Z("math",Q,J,"⊻","\\veebar",!0),Z("math",X,J,"⊙","\\odot",!0),Z("math",X,J,"⊕","\\oplus",!0),Z("math",X,J,"⊗","\\otimes",!0),Z("math",X,"textord","∂","\\partial",!0),Z("math",X,J,"⊘","\\oslash",!0),Z("math",Q,J,"⊚","\\circledcirc",!0),Z("math",Q,J,"⊡","\\boxdot",!0),Z("math",X,J,"△","\\bigtriangleup"),Z("math",X,J,"▽","\\bigtriangledown"),Z("math",X,J,"†","\\dagger"),Z("math",X,J,"⋄","\\diamond"),Z("math",X,J,"⋆","\\star"),Z("math",X,J,"◃","\\triangleleft"),Z("math",X,J,"▹","\\triangleright"),Z("math",X,"open","{","\\{"),Z("text",X,"textord","{","\\{"),Z("text",X,"textord","{","\\textbraceleft"),Z("math",X,"close","}","\\}"),Z("text",X,"textord","}","\\}"),Z("text",X,"textord","}","\\textbraceright"),Z("math",X,"open","{","\\lbrace"),Z("math",X,"close","}","\\rbrace"),Z("math",X,"open","[","\\lbrack"),Z("text",X,"textord","[","\\lbrack"),Z("math",X,"close","]","\\rbrack"),Z("text",X,"textord","]","\\rbrack"),Z("math",X,"open","(","\\lparen"),Z("math",X,"close",")","\\rparen"),Z("text",X,"textord","<","\\textless"),Z("text",X,"textord",">","\\textgreater"),Z("math",X,"open","⌊","\\lfloor",!0),Z("math",X,"close","⌋","\\rfloor",!0),Z("math",X,"open","⌈","\\lceil",!0),Z("math",X,"close","⌉","\\rceil",!0),Z("math",X,"textord","\\","\\backslash"),Z("math",X,"textord","∣","|"),Z("math",X,"textord","∣","\\vert"),Z("text",X,"textord","|","\\textbar"),Z("math",X,"textord","∥","\\|"),Z("math",X,"textord","∥","\\Vert"),Z("text",X,"textord","∥","\\textbardbl"),Z("text",X,"textord","~","\\textasciitilde"),Z("text",X,"textord","\\","\\textbackslash"),Z("text",X,"textord","^","\\textasciicircum"),Z("math",X,te,"↑","\\uparrow",!0),Z("math",X,te,"⇑","\\Uparrow",!0),Z("math",X,te,"↓","\\downarrow",!0),Z("math",X,te,"⇓","\\Downarrow",!0),Z("math",X,te,"↕","\\updownarrow",!0),Z("math",X,te,"⇕","\\Updownarrow",!0),Z("math",X,ee,"∐","\\coprod"),Z("math",X,ee,"⋁","\\bigvee"),Z("math",X,ee,"⋀","\\bigwedge"),Z("math",X,ee,"⨄","\\biguplus"),Z("math",X,ee,"⋂","\\bigcap"),Z("math",X,ee,"⋃","\\bigcup"),Z("math",X,ee,"∫","\\int"),Z("math",X,ee,"∫","\\intop"),Z("math",X,ee,"∬","\\iint"),Z("math",X,ee,"∭","\\iiint"),Z("math",X,ee,"∏","\\prod"),Z("math",X,ee,"∑","\\sum"),Z("math",X,ee,"⨂","\\bigotimes"),Z("math",X,ee,"⨁","\\bigoplus"),Z("math",X,ee,"⨀","\\bigodot"),Z("math",X,ee,"∮","\\oint"),Z("math",X,ee,"∯","\\oiint"),Z("math",X,ee,"∰","\\oiiint"),Z("math",X,ee,"⨆","\\bigsqcup"),Z("math",X,ee,"∫","\\smallint"),Z("text",X,"inner","…","\\textellipsis"),Z("math",X,"inner","…","\\mathellipsis"),Z("text",X,"inner","…","\\ldots",!0),Z("math",X,"inner","…","\\ldots",!0),Z("math",X,"inner","⋯","\\@cdots",!0),Z("math",X,"inner","⋱","\\ddots",!0),Z("math",X,"textord","⋮","\\varvdots"),Z("math",X,"accent-token","ˊ","\\acute"),Z("math",X,"accent-token","ˋ","\\grave"),Z("math",X,"accent-token","¨","\\ddot"),Z("math",X,"accent-token","~","\\tilde"),Z("math",X,"accent-token","ˉ","\\bar"),Z("math",X,"accent-token","˘","\\breve"),Z("math",X,"accent-token","ˇ","\\check"),Z("math",X,"accent-token","^","\\hat"),Z("math",X,"accent-token","⃗","\\vec"),Z("math",X,"accent-token","˙","\\dot"),Z("math",X,"accent-token","˚","\\mathring"),Z("math",X,$,"ı","\\imath",!0),Z("math",X,$,"ȷ","\\jmath",!0),Z("text",X,"textord","ı","\\i",!0),Z("text",X,"textord","ȷ","\\j",!0),Z("text",X,"textord","ß","\\ss",!0),Z("text",X,"textord","æ","\\ae",!0),Z("text",X,"textord","æ","\\ae",!0),Z("text",X,"textord","œ","\\oe",!0),Z("text",X,"textord","ø","\\o",!0),Z("text",X,"textord","Æ","\\AE",!0),Z("text",X,"textord","Œ","\\OE",!0),Z("text",X,"textord","Ø","\\O",!0),Z("text",X,"accent-token","ˊ","\\'"),Z("text",X,"accent-token","ˋ","\\`"),Z("text",X,"accent-token","ˆ","\\^"),Z("text",X,"accent-token","˜","\\~"),Z("text",X,"accent-token","ˉ","\\="),Z("text",X,"accent-token","˘","\\u"),Z("text",X,"accent-token","˙","\\."),Z("text",X,"accent-token","˚","\\r"),Z("text",X,"accent-token","ˇ","\\v"),Z("text",X,"accent-token","¨",'\\"'),Z("text",X,"accent-token","˝","\\H"),Z("text",X,"accent-token","◯","\\textcircled");var ne={"--":!0,"---":!0,"``":!0,"''":!0};Z("text",X,"textord","–","--"),Z("text",X,"textord","–","\\textendash"),Z("text",X,"textord","—","---"),Z("text",X,"textord","—","\\textemdash"),Z("text",X,"textord","‘","`"),Z("text",X,"textord","‘","\\textquoteleft"),Z("text",X,"textord","’","'"),Z("text",X,"textord","’","\\textquoteright"),Z("text",X,"textord","“","``"),Z("text",X,"textord","“","\\textquotedblleft"),Z("text",X,"textord","”","''"),Z("text",X,"textord","”","\\textquotedblright"),Z("math",X,"textord","°","\\degree",!0),Z("text",X,"textord","°","\\degree"),Z("text",X,"textord","°","\\textdegree",!0),Z("math",X,$,"£","\\pounds"),Z("math",X,$,"£","\\mathsterling",!0),Z("text",X,$,"£","\\pounds"),Z("text",X,$,"£","\\textsterling",!0),Z("math",Q,"textord","✠","\\maltese"),Z("text",Q,"textord","✠","\\maltese"),Z("text",X,"spacing"," ","\\ "),Z("text",X,"spacing"," "," "),Z("text",X,"spacing"," ","~");for(var re=0;re<'0123456789/@."'.length;re++){var oe='0123456789/@."'.charAt(re);Z("math",X,"textord",oe,oe)}for(var ie=0;ie<'0123456789!@*()-=+[]<>|";:?/.,'.length;ie++){var ae='0123456789!@*()-=+[]<>|";:?/.,'.charAt(ie);Z("text",X,"textord",ae,ae)}for(var le="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",ce=0;ce=5?0:e>=3?1:2]){var n=U[t]={cssEmPerMu:B.quad[t]/18};for(var r in B)B.hasOwnProperty(r)&&(n[r]=B[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,Oe={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},Se={ex:!0,em:!0,mu:!0},Me=function(e){return"string"!=typeof e&&(e=e.unit),e in Oe||e in Se||"ex"===e},ze=function(e,t){var n;if(e.unit in Oe)n=Oe[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)},Te=["\\imath","ı","\\jmath","ȷ","\\pounds","\\mathsterling","\\textsterling","£"],Ee=function(e,t,n){return K[n][e]&&K[n][e].replace&&(e=K[n][e].replace),{value:e,metrics:F(e,t,n)}},Ce=function(e,t,n,r,o){var i,a=Ee(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},Ae=function(e,t){if(z(e.classes)!==z(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},Pe=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 A(e,t,n,r);return Pe(o),o},Le=function(e,t,n,r){return new A(e,t,n,r)},Ne=function(e){var t=new M(e);return Pe(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")},Ve={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"}},Re={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},Ie={fontMap:Ve,makeSymbol:Ce,mathsym:function(e,t,n,r){return void 0===r&&(r=[]),"boldsymbol"===n.font&&Ee(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 P(e,t,n,r);return Pe(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 h.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 h.contains(["\\imath","\\jmath"],o)?null:(K[r][o]&&K[r][o].replace&&(o=K[r][o].replace),F(o,Ie.fontMap[n].fontName,r)?Ie.fontMap[n].variant:null)},_t=function(e,t,n){if(1===e.length){var r=Ot(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))},Ot=function(e,t){if(!e)return new gt.MathNode("mrow");if(Je[e.type])return Je[e.type](e,t);throw new a("Got group of unknown type: '"+e.type+"'")};function St(e,t,n,r){var o,i=_t(e,n);o=1===i.length&&i[0]instanceof vt&&h.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 Ie.makeSpan([s],[c])}var Mt=function(e){return new ke({style:e.displayMode?x.DISPLAY:x.TEXT,maxSize:e.maxSize,minRuleThickness:e.minRuleThickness})},zt=function(e,t){if(t.displayMode){var n=["katex-display"];t.leqno&&n.push("leqno"),t.fleqn&&n.push("fleqn"),e=Ie.makeSpan(n,[e])}return e},Tt={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:"⇋"},Et={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=Ie.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 R({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(t)&&l.push(new R({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var c=new H(l,{width:"100%",height:i+"em"});o=Ie.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(Tt[e.substr(1)])]);return t.setAttribute("stretchy","true"),t},Pt=function(e,t){var n=function(){var n=4e5,r=e.label.substr(1);if(h.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 V(i),u=new H([s],{width:"100%",height:a+"em",viewBox:"0 0 "+n+" "+o,preserveAspectRatio:"none"});return{span:Ie.makeSvgSpan([],[u],t),minWidth:0,height:a}}var f,p,d,m=[],v=Et[r],y=v[0],g=v[1],b=v[2],w=b/1e3,x=y.length;if(1===x)f=["hide-tail"],p=[v[3]];else if(2===x)f=["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.");f=["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=Be(e,"supsub");i?(n=(r=De(i.base,"accent")).base,i.base=n,o=function(e){if(e instanceof A)return e;throw new Error("Expected span but got "+String(e)+".")}(ft(i,t)),i.base=r):n=(r=De(e,"accent")).base;var a=ft(n,t.havingCrampedStyle()),l=0;if(r.isShifty&&h.isCharacterBox(n)){var c=h.getBaseElem(n);l=I(ft(c,t.havingCrampedStyle())).skew}var s,u=Math.min(a.height,t.fontMetrics().xHeight);if(r.isStretchy)s=Pt(r,t),s=Ie.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 f,p;"\\vec"===r.label?(f=Ie.staticSvg("vec",t),p=Ie.svgData.vec[1]):((f=I(f=Ie.makeOrd({mode:r.mode,text:r.label},t,"textord"))).italic=0,p=f.width),s=Ie.makeSpan(["accent-body"],[f]);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=Ie.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"kern",size:-u},{type:"elem",elem:s}]},t)}var v=Ie.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?At(e.label):new gt.MathNode("mo",[bt(e.label,e.mode)]),r=new gt.MathNode("mover",[Ot(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=ft(e.base,t),r=Pt(e,t),o="\\utilde"===e.label?.12:0,i=Ie.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 Ie.makeSpan(["mord","accentunder"],[i],t)},mathmlBuilder:function(e,t){var n=At(e.label),r=new gt.MathNode("munder",[Ot(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=Ie.wrapFragment(ft(e.body,o,t),t);i.classes.push("x-arrow-pad"),e.below&&(o=t.havingStyle(r.sub()),(n=Ie.wrapFragment(ft(e.below,o,t),t)).classes.push("x-arrow-pad"));var a,l=Pt(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=Ie.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=Ie.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"),Ie.makeSpan(["mrel","x-arrow"],[a],t)},mathmlBuilder:function(e,t){var n,r=At(e.label);if(e.body){var o=Ht(Ot(e.body,t));if(e.below){var i=Ht(Ot(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(Ot(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"],Xt=[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}],Jt=[{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=h.contains(Zt,e)?Qt:h.contains(Gt,e)?$t:Jt;var l=tn(e,t,a,r);return"small"===l.type?function(e,t,n,r,o,i){var a=Ie.makeSymbol(e,"Main-Regular",o,r),l=Dt(a,t,r,i);return n&&Bt(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*Xt[i.size],s=(Xt[i.size]+l)/a,c=(Xt[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"),h.contains(Gt,e)||h.contains(Zt,e))return qt(e,t,!1,n,r,o);if(h.contains(Kt,e))return Wt(e,Xt[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&&h.contains(sn,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=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?Ie.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){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",[Ot(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:fn,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:fn,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:fn,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&&(O<(T+=g)&&(O=T),T=0),e.addJot&&(O+=m),S.height=k,S.depth=O,b+=k,S.pos=b,b+=O+T,c[n]=S,w(i[n+1])}var E,C,A=b/2+t.fontMetrics().axisHeight,P=e.cols||[],j=[];for(r=0,C=0;r=l)){var R=void 0;(r>0||e.hskipBeforeAndAfter)&&0!==(R=h.deflt(L.pregap,p))&&((E=Ie.makeSpan(["arraycolsep"],[])).style.width=R+"em",j.push(E));var I=[];for(n=0;n0){for(var F=Ie.makeLineSpan("hline",t,u),U=Ie.makeLineSpan("hdashline",t,u),W=[{type:"elem",elem:c,shift:0}];s.length>0;){var Y=s.pop(),G=Y.pos-A;Y.isDashed?W.push({type:"elem",elem:U,shift:G}):W.push({type:"elem",elem:F,shift:G})}c=Ie.makeVList({positionType:"individualShift",children:W},t)}return Ie.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",[Ot(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 h=s;h0?"left ":"",o+=v[v.length-1].length>0?"right ":"";for(var y=1;y0&&h&&(d=1),r[f]={type:"align",align:p,pregap:d,postgap:0}}return o.colSeparationType=h?"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=Fe(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=Fe(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},Pn=function(e,t){var n,r=An(e.size,t.style),o=r.fracNum(),i=r.fracDen();n=t.havingStyle(o);var a=ft(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*h:7*h,d=t.fontMetrics().denom1):(u>0?(f=t.fontMetrics().num2,p=h):(f=t.fontMetrics().num3,p=3*h),d=t.fontMetrics().denom2),s){var w=t.fontMetrics().axisHeight;f-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=Be(t[0],"atom");i&&(i=qe(t[0],"open"));var a=i?Nn(i.text):null,l=Be(t[1],"atom");l&&(l=qe(t[1],"close"));var c,s=l?Nn(l.text):null,u=De(t[2],"size"),h=null;c=!!u.isBlank||(h=u.value).number>0;var f="auto",p=Be(t[3],"ordgroup");if(p){if(p.body.length>0){var d=De(p.body[0],"textord");f=Ln[Number(d.text)]}}else p=De(t[3],"textord"),f=Ln[Number(p.text)];return{type:"genfrac",mode:n.mode,numer:r,denom:o,continued:!1,hasBarLine:c,barSize:h,leftDelim:a,rightDelim:s,size:f}},htmlBuilder:Pn,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:Pn,mathmlBuilder:jn});var Hn=function(e,t){var n,r,o=t.style,i=Be(e,"supsub");i?(n=i.sup?ft(i.sup,t.havingStyle(o.sup()),t):ft(i.sub,t.havingStyle(o.sub()),t),r=De(i.base,"horizBrace")):r=De(e,"horizBrace");var a,l=ft(r.base,t.havingBaseStyle(x.DISPLAY)),c=Pt(r,t);if(r.isOver?(a=Ie.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=Ie.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=Ie.makeSpan(["mord",r.isOver?"mover":"munder"],[a],t);a=r.isOver?Ie.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:s},{type:"kern",size:.2},{type:"elem",elem:n}]},t):Ie.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 Ie.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=At(e.label);return new gt.MathNode(e.isOver?"mover":"munder",[Ot(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 Ie.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=ze(e.totalheight,t)-n,r=Number(r.toFixed(2)));var o=0;e.width.number>0&&(o=ze(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=ze(e.height,t),o=0;if(e.totalheight.number>0&&(o=(o=ze(e.totalheight,t)-r).toFixed(2),n.setAttribute("valign","-"+o+"em")),n.setAttribute("height",r+o+"em"),e.width.number>0){var i=ze(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 Ie.makeGlue(e.dimension,t)},mathmlBuilder:function(e,t){var n=ze(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=Ie.makeSpan([],[ft(e.body,t)]),n=Ie.makeSpan(["inner"],[n],t)):n=Ie.makeSpan(["inner"],[ft(e.body,t)]);var r=Ie.makeSpan(["fix"],[]),o=Ie.makeSpan([e.alignment],[n,r],t),i=Ie.makeSpan(["strut"]);return i.style.height=o.height+o.depth+"em",i.style.verticalAlign=-o.depth+"em",o.children.unshift(i),o=Ie.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:o}]},t),Ie.makeSpan(["mord"],[o],t)},mathmlBuilder:function(e,t){var n=new gt.MathNode("mpadded",[Ot(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 Rn=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=Rn(e,t),r=lt(n,t,!1);return Ie.makeFragment(r)},mathmlBuilder:function(e,t){var n=Rn(e,t);return kt(n,t)}});var In=function(e,t,n,r,o,i,a){var l,c,s;if(e=Ie.makeSpan([],[e]),t){var u=ft(t,r.havingStyle(o.sup()),r);c={elem:u,kern:Math.max(r.fontMetrics().bigOpSpacing1,r.fontMetrics().bigOpSpacing3-u.depth)}}if(n){var h=ft(n,r.havingStyle(o.sub()),r);l={elem:h,kern:Math.max(r.fontMetrics().bigOpSpacing2,r.fontMetrics().bigOpSpacing4-h.height)}}if(c&&l){var f=r.fontMetrics().bigOpSpacing5+l.elem.height+l.elem.depth+l.kern+e.depth+a;s=Ie.makeVList({positionType:"bottom",positionData:f,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=Ie.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=Ie.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 Ie.makeSpan(["mop","op-limits"],[s],r)},Dn=["\\smallint"],Bn=function(e,t){var n,r,o,i=!1,a=Be(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&&!h.contains(Dn,o.name)&&(s=!0),o.symbol){var u=s?"Size2-Regular":"Size1-Regular",f="";if("\\oiint"!==o.name&&"\\oiiint"!==o.name||(f=o.name.substr(1),o.name="oiint"===f?"\\iint":"\\iiint"),l=Ie.makeSymbol(o.name,u,"math",t,["mop","op-symbol",s?"large-op":"small-op"]),f.length>0){var p=l.italic,d=Ie.staticSvg(f+"Size"+(s?"2":"1"),t);l=Ie.makeVList({positionType:"individualShift",children:[{type:"elem",elem:l,shift:0},{type:"elem",elem:d,shift:s?.08:0}]},t),o.name="\\"+f,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=Ie.makeSpan(["mop"],Ie.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+h-n.height-n.depth)/2);var f=c.height-n.height-i-s;n.style.paddingLeft=u+"em";var p=Ie.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:-(n.height+f)},{type:"elem",elem:c},{type:"kern",size:s}]},t);if(e.index){var d=t.havingStyle(x.SCRIPTSCRIPT),m=ft(e.index,d,t),v=.6*(p.height-p.depth),y=Ie.makeVList({positionType:"shift",positionData:-v,children:[{type:"elem",elem:m}]},t),g=Ie.makeSpan(["root"],[y]);return Ie.makeSpan(["mord","sqrt"],[g,p],t)}return Ie.makeSpan(["mord","sqrt"],[p],t)},mathmlBuilder:function(e,t){var n=e.body,r=e.index;return r?new gt.MathNode("mroot",[Ot(n,t),Ot(r,t)]):new gt.MathNode("msqrt",[Ot(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)?Bn:null:"operatorname"===n.type?n.alwaysHandleSupSub&&(t.style.size===x.DISPLAY.size||n.limits)?Wn:null:"accent"===n.type?h.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=ft(a,t),u=t.fontMetrics(),f=0,p=0,d=a&&h.isCharacterBox(a);if(l){var m=t.havingStyle(t.style.sup());r=ft(l,m,t),d||(f=s.height-m.fontMetrics().supDrop*m.sizeMultiplier/t.sizeMultiplier)}if(c){var v=t.havingStyle(t.style.sub());o=ft(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){f=Math.max(f,i,r.depth+.25*u.xHeight),p=Math.max(p,u.sub2);var k=4*u.defaultRuleThickness;if(f-r.depth-(o.height-p)0&&(f+=O,p-=O)}var S=[{type:"elem",elem:o,shift:p,marginRight:b,marginLeft:w},{type:"elem",elem:r,shift:-f,marginRight:b}];y=Ie.makeVList({positionType:"individualShift",children:S},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=Ie.makeVList({positionType:"shift",positionData:p,children:M},t)}else{if(!r)throw new Error("supsub must have either sup or sub.");f=Math.max(f,i,r.depth+.25*u.xHeight),y=Ie.makeVList({positionType:"shift",positionData:-f,children:[{type:"elem",elem:r,marginRight:b}]},t)}var z=ut(s,"right")||"mord";return Ie.makeSpan([z],[s,Ie.makeSpan(["msupsub"],[y])],t)},mathmlBuilder:function(e,t){var n,r=!1,o=Be(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=[Ot(e.base,t)];if(e.sub&&a.push(Ot(e.sub,t)),e.sup&&a.push(Ot(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 Ie.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 Zn={mi:"italic",mn:"normal",mtext:"normal"};et({type:"mathord",htmlBuilder:function(e,t){return Ie.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!==Zn[n.type]&&n.setAttribute("mathvariant",r),n}}),et({type:"textord",htmlBuilder:function(e,t){return Ie.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!==Zn[n.type]&&n.setAttribute("mathvariant",o),n}});var Xn={"\\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=Ie.makeOrd(e,t,"textord");return r.classes.push(n),r}return Ie.makeSpan(["mspace",n],[Ie.mathsym(e.text,e.mode,t)],t)}if(Xn.hasOwnProperty(e.text))return Ie.makeSpan(["mspace",Xn[e.text]],[],t);throw new a('Unknown type of space "'+e.text+'"')},mathmlBuilder:function(e,t){if(!Qn.hasOwnProperty(e.text)){if(Xn.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 Jn=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",[Jn(),new gt.MathNode("mtd",[kt(e.body,t)]),Jn(),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 Ie.makeSpan(["mord","text"],Ie.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=ft(e.body,t),r=Ie.makeLineSpan("underline-line",t),o=t.fontMetrics().defaultRuleThickness,i=Ie.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 Ie.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",[Ot(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 hr(e,t){sr[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 fr={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=fr[n.text])||r>=t)throw new a("Invalid base-"+t+" digit "+n.text);for(var o;null!=(o=fr[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 mr?t=mr[n]:("\\not"===n.substr(0,4)||n in K.math&&h.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};hr("\\dotso",(function(e){return e.future().text in vr?"\\ldots\\,":"\\ldots"})),hr("\\dotsc",(function(e){var t=e.future().text;return t in vr&&","!==t?"\\ldots\\,":"\\ldots"})),hr("\\cdots",(function(e){return e.future().text in vr?"\\@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 yr=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{"+yr+"}{\\scriptstyle A}\\kern-.15em\\TeX}{LaTeX}}"),hr("\\KaTeX","\\textrm{\\html@mathml{K\\kern-.17em\\raisebox{"+yr+"}{\\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 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,h=this.parseGroupOfType("argument to '"+e+"'",c,s,r,u);if(!h){if(s){i.push(null);continue}throw new a("Expected group after '"+e+"'",this.fetch())}(s?i:o).push(h)}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(),h=0,f=u;(c=this.fetch()).text!==o||n&&h>0;){switch(c.text){case"EOF":throw new a("Unexpected end of input in "+e,u.range(f,s));case r:h++;break;case o:h--}s+=(f=c).text,this.consume()}return this.expect(o),this.mode=l,u.range(f,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,h=this.fetch(),f=h.text;if(n?"["===f:"{"===f||"\\begingroup"===f){this.consume();var p=e.endOfGroup[f];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(h,m),body:d,semisimple:"\\begingroup"===f||void 0}}else if(n)u=null;else if(null==(u=this.parseFunction(i,t,o)||this.parseSymbol())&&"\\"===f[0]&&!gr.hasOwnProperty(f)){if(this.settings.throwOnError)throw new a("Undefined control sequence: "+f,h);u=this.formatUnsupportedCmd(f),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 h=s;c={type:"atom",mode:this.mode,family:h,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&&(O(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 f=0;f15?"…"+e.slice(n-15,n):e.slice(0,n),l=t+15":">","<":"<",'"':""","'":"'"},f=/[&><"']/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(f,e=>h[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 O={DISPLAY:y[0],TEXT:y[2],SCRIPT:y[4],SCRIPTSCRIPT:y[6]};const S=[{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 z(e){for(let t=0;t=M[t]&&e<=M[t+1])return!0;return!1}S.forEach(e=>e.blocks.forEach(e=>M.push(...e)));const T={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 E{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(" ")},A=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)}},P=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,A.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 P.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,A.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 P.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=V[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 I{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 B{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(J,$,le,":",":"),Q(J,$,le,"≈","\\approx",!0),Q(J,$,le,"≅","\\cong",!0),Q(J,$,le,"≥","\\ge"),Q(J,$,le,"≥","\\geq",!0),Q(J,$,le,"←","\\gets"),Q(J,$,le,">","\\gt"),Q(J,$,le,"∈","\\in",!0),Q(J,$,le,"","\\@not"),Q(J,$,le,"⊂","\\subset",!0),Q(J,$,le,"⊃","\\supset",!0),Q(J,$,le,"⊆","\\subseteq",!0),Q(J,$,le,"⊇","\\supseteq",!0),Q(J,ee,le,"⊈","\\nsubseteq",!0),Q(J,ee,le,"⊉","\\nsupseteq",!0),Q(J,$,le,"⊨","\\models"),Q(J,$,le,"←","\\leftarrow",!0),Q(J,$,le,"≤","\\le"),Q(J,$,le,"≤","\\leq",!0),Q(J,$,le,"<","\\lt"),Q(J,$,le,"→","\\rightarrow",!0),Q(J,$,le,"→","\\to"),Q(J,ee,le,"≱","\\ngeq",!0),Q(J,ee,le,"≰","\\nleq",!0),Q(J,$,ce," ","\\ "),Q(J,$,ce," ","~"),Q(J,$,ce," ","\\space"),Q(J,$,ce," ","\\nobreakspace"),Q("text",$,ce," ","\\ "),Q("text",$,ce," ","~"),Q("text",$,ce," ","\\space"),Q("text",$,ce," ","\\nobreakspace"),Q(J,$,ce,null,"\\nobreak"),Q(J,$,ce,null,"\\allowbreak"),Q(J,$,"punct",",",","),Q(J,$,"punct",";",";"),Q(J,ee,ne,"⊼","\\barwedge",!0),Q(J,ee,ne,"⊻","\\veebar",!0),Q(J,$,ne,"⊙","\\odot",!0),Q(J,$,ne,"⊕","\\oplus",!0),Q(J,$,ne,"⊗","\\otimes",!0),Q(J,$,se,"∂","\\partial",!0),Q(J,$,ne,"⊘","\\oslash",!0),Q(J,ee,ne,"⊚","\\circledcirc",!0),Q(J,ee,ne,"⊡","\\boxdot",!0),Q(J,$,ne,"△","\\bigtriangleup"),Q(J,$,ne,"▽","\\bigtriangledown"),Q(J,$,ne,"†","\\dagger"),Q(J,$,ne,"⋄","\\diamond"),Q(J,$,ne,"⋆","\\star"),Q(J,$,ne,"◃","\\triangleleft"),Q(J,$,ne,"▹","\\triangleright"),Q(J,$,ae,"{","\\{"),Q("text",$,se,"{","\\{"),Q("text",$,se,"{","\\textbraceleft"),Q(J,$,re,"}","\\}"),Q("text",$,se,"}","\\}"),Q("text",$,se,"}","\\textbraceright"),Q(J,$,ae,"{","\\lbrace"),Q(J,$,re,"}","\\rbrace"),Q(J,$,ae,"[","\\lbrack"),Q("text",$,se,"[","\\lbrack"),Q(J,$,re,"]","\\rbrack"),Q("text",$,se,"]","\\rbrack"),Q(J,$,ae,"(","\\lparen"),Q(J,$,re,")","\\rparen"),Q("text",$,se,"<","\\textless"),Q("text",$,se,">","\\textgreater"),Q(J,$,ae,"⌊","\\lfloor",!0),Q(J,$,re,"⌋","\\rfloor",!0),Q(J,$,ae,"⌈","\\lceil",!0),Q(J,$,re,"⌉","\\rceil",!0),Q(J,$,se,"\\","\\backslash"),Q(J,$,se,"∣","|"),Q(J,$,se,"∣","\\vert"),Q("text",$,se,"|","\\textbar"),Q(J,$,se,"∥","\\|"),Q(J,$,se,"∥","\\Vert"),Q("text",$,se,"∥","\\textbardbl"),Q("text",$,se,"~","\\textasciitilde"),Q("text",$,se,"\\","\\textbackslash"),Q("text",$,se,"^","\\textasciicircum"),Q(J,$,le,"↑","\\uparrow",!0),Q(J,$,le,"⇑","\\Uparrow",!0),Q(J,$,le,"↓","\\downarrow",!0),Q(J,$,le,"⇓","\\Downarrow",!0),Q(J,$,le,"↕","\\updownarrow",!0),Q(J,$,le,"⇕","\\Updownarrow",!0),Q(J,$,ie,"∐","\\coprod"),Q(J,$,ie,"⋁","\\bigvee"),Q(J,$,ie,"⋀","\\bigwedge"),Q(J,$,ie,"⨄","\\biguplus"),Q(J,$,ie,"⋂","\\bigcap"),Q(J,$,ie,"⋃","\\bigcup"),Q(J,$,ie,"∫","\\int"),Q(J,$,ie,"∫","\\intop"),Q(J,$,ie,"∬","\\iint"),Q(J,$,ie,"∭","\\iiint"),Q(J,$,ie,"∏","\\prod"),Q(J,$,ie,"∑","\\sum"),Q(J,$,ie,"⨂","\\bigotimes"),Q(J,$,ie,"⨁","\\bigoplus"),Q(J,$,ie,"⨀","\\bigodot"),Q(J,$,ie,"∮","\\oint"),Q(J,$,ie,"∯","\\oiint"),Q(J,$,ie,"∰","\\oiiint"),Q(J,$,ie,"⨆","\\bigsqcup"),Q(J,$,ie,"∫","\\smallint"),Q("text",$,"inner","…","\\textellipsis"),Q(J,$,"inner","…","\\mathellipsis"),Q("text",$,"inner","…","\\ldots",!0),Q(J,$,"inner","…","\\ldots",!0),Q(J,$,"inner","⋯","\\@cdots",!0),Q(J,$,"inner","⋱","\\ddots",!0),Q(J,$,se,"⋮","\\varvdots"),Q(J,$,te,"ˊ","\\acute"),Q(J,$,te,"ˋ","\\grave"),Q(J,$,te,"¨","\\ddot"),Q(J,$,te,"~","\\tilde"),Q(J,$,te,"ˉ","\\bar"),Q(J,$,te,"˘","\\breve"),Q(J,$,te,"ˇ","\\check"),Q(J,$,te,"^","\\hat"),Q(J,$,te,"⃗","\\vec"),Q(J,$,te,"˙","\\dot"),Q(J,$,te,"˚","\\mathring"),Q(J,$,oe,"ı","\\imath",!0),Q(J,$,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(J,$,se,"°","\\degree",!0),Q("text",$,se,"°","\\degree"),Q("text",$,se,"°","\\textdegree",!0),Q(J,$,oe,"£","\\pounds"),Q(J,$,oe,"£","\\mathsterling",!0),Q("text",$,oe,"£","\\pounds"),Q("text",$,oe,"£","\\textsterling",!0),Q(J,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(J,$,se,t,t)}for(let e=0;e<'0123456789!@*()-=+[]<>|";:?/.,'.length;e++){const t='0123456789!@*()-=+[]<>|";:?/.,'.charAt(e);Q("text",$,se,t,t)}const he="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","£"],Oe=function(e,t,n){return X[n][e]&&X[n][e].replace&&(e=X[n][e].replace),{value:e,metrics:Y(e,t,n)}},Se=function(e,t,n,r,o){const i=Oe(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 R(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 R(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},ze=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},Te=function(e,t,n,r){const o=new L(e,t,n,r);return ze(o),o},Ee=(e,t,n,r)=>new L(e,t,n,r),Ce=function(e){const t=new E(e);return ze(t),t},Ae=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}`},Pe={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:Pe,makeSymbol:Se,mathsym:function(e,t,n,r){return void 0===r&&(r=[]),"boldsymbol"===n.font&&Oe(e,"Main-Bold",t).metrics?Se(e,"Main-Bold",t,n,r.concat(["mathbf"])):"\\"===e||"main"===X[t][e].font?Se(e,"Main-Regular",t,n,r):Se(e,"AMS-Regular",t,n,r.concat(["amsrm"]))},makeSpan:Te,makeSvgSpan:Ee,makeLineSpan:function(e,t,n){const r=Te([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 ze(o),o},makeFragment:Ce,wrapFragment:function(e,t){return e instanceof E?Te([],[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=Te(["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 I([a],{width:o+"em",height:i+"em",style:"width:"+o+"em",viewBox:"0 0 "+1e3*o+" "+1e3*i,preserveAspectRatio:"xMinYMin"}),c=Ee(["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(Je,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]:Fe[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 E||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 E(e)}class ht{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 ft{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:ht,TextNode:ft,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!X[t][e]||!X[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=X[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:(X[r][o]&&X[r][o].replace&&(o=X[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 ht&&"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 ht&&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?O.DISPLAY:O.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:"⇋"},Ot={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 St=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 B({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(t)&&e.push(new B({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));const n=new I(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},zt=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 I([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=Ot[r],i=o[0],a=o[1],l=o[2],c=l/1e3,s=i.length;let u,h;if(1===s){const e=o[3];u=["hide-tail"],h=[e]}else if(2===s)u=["halfarrow-left","halfarrow-right"],h=["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"],h=["xMinYMin","xMidYMin","xMaxYMin"]}for(let r=0;r0&&(r.style.minWidth=o+"em"),r};const Tt=(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=zt(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},Et=(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:Tt,mathmlBuilder:Et}),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:Tt,mathmlBuilder:Et}),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=zt(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 At=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=zt(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=At(bt(e.body,t));if(e.below){const i=At(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=At(bt(e.below,t));r=new pt.MathNode("munder",[n,o])}else r=At(),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:Xe(o)}},htmlBuilder:Pt,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:Pt,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(X.math[e]&&X.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},Vt=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),O.TEXT,r,i);return n&&Ht(l,r,O.TEXT),l},Rt=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)])])}},It={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 h=Lt(a,u,o),f=h.height+h.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=f+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-_,S=.005*(w+1)-d,M=[];if(M.push(Rt(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:O.SCRIPTSCRIPT},{type:"small",style:O.SCRIPT},{type:"small",style:O.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],Gt=[{type:"small",style:O.SCRIPTSCRIPT},{type:"small",style:O.SCRIPT},{type:"small",style:O.TEXT},{type:"stack"}],Kt=[{type:"small",style:O.SCRIPTSCRIPT},{type:"small",style:O.SCRIPT},{type:"small",style:O.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],Zt=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.`)},Xt=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=Xt(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?Vt(e,l.size,n,r,o,i):Dt(e,t,n,r,o,i)};var Jt=function(e,t){const n=t.havingBaseSizing(),r=Xt("\\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=Bt("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=Bt("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=Bt("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 Vt(e,t,!1,n,r,o);if(d.contains(Ft,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=Ie(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=St(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&&(f+=g,s=a)continue;(r>0||e.hskipBeforeAndAfter)&&(i=d.deflt(c.pregap,f),0!==i&&(S=Le.makeSpan(["arraycolsep"],[]),S.style.width=i+"em",k.push(S)));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:(Ie(t[0])?[t[0]]:Ne(t[0],"ordgroup").body).map((function(e){const t=Re(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 fn(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=fn(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=fn(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=(Ie(t[0])?[t[0]]:Ne(t[0],"ordgroup").body).map((function(e){const t=Re(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=fn(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=fn(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=>fn(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:Xe(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)},On=(e,t)=>{const n=e.font,r=t.withFont(n);return bt(e.body,r)},Sn={"\\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 Sn&&(i=Sn[i]),{type:"font",mode:n.mode,font:i.slice(1),body:o}},htmlBuilder:kn,mathmlBuilder:On}),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:On});const Mn=(e,t)=>{let n=t;return"display"===e?n=n.id>=O.SCRIPT.id?n.text():O.DISPLAY:"text"===e&&n.size===O.DISPLAY.size?n=O.TEXT:"script"===e?n=O.SCRIPT:"scriptscript"===e&&(n=O.SCRIPTSCRIPT),n},zn=(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?(h=t.fontMetrics().num2,f=u):(h=t.fontMetrics().num3,f=3*u),p=t.fontMetrics().denom2),c){const e=t.fontMetrics().axisHeight;h-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===O.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:zn,mathmlBuilder:Tn}),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 En=["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=Ve(t[0],"open"));const a=i?Cn(i.text):null;let l=He(t[1],"atom");l&&(l=Ve(t[1],"close"));const c=l?Cn(l.text):null,s=Ne(t[2],"size");let u,h=null;s.isBlank?u=!0:(h=s.value,u=h.number>0);let f="auto",p=He(t[3],"ordgroup");if(p){if(p.body.length>0){const e=Ne(p.body[0],"textord");f=En[Number(e.text)]}}else p=Ne(t[3],"textord"),f=En[Number(p.text)];return{type:"genfrac",mode:n.mode,numer:r,denom:o,continued:!1,hasBarLine:u,barSize:h,leftDelim:a,rightDelim:c,size:f}},htmlBuilder:zn,mathmlBuilder:Tn}),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:zn,mathmlBuilder:Tn});const An=(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(O.DISPLAY)),l=zt(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:An,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:Xe(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 ht||(n=new ht("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:Xe(t[0]),mathml:Xe(t[1])}),htmlBuilder:(e,t)=>{const n=nt(e.html,t,!1);return Le.makeFragment(n)},mathmlBuilder:(e,t)=>gt(e.mathml,t)});const Pn=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 O.DISPLAY.size:return e.display;case O.TEXT.size:return e.text;case O.SCRIPT.size:return e.script;case O.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:Xe(t[0]),text:Xe(t[1]),script:Xe(t[2]),scriptscript:Xe(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===O.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 R?(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 ht("mo",[dt(e.name,e.mode)]),d.contains(Nn,e.name)&&n.setAttribute("largeop","false");else if(e.body)n=new ht("mo",yt(e.body,t));else{n=new ht("mi",[new ft(e.name.slice(1))]);const t=new ht("mo",[dt("⁡","text")]);n=e.parentIsSupSub?new ht("mo",[n,t]):ut([n,t])}return n},Rn={"∏":"\\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=Rn[r]),{type:"op",mode:n.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:r}},htmlBuilder:Hn,mathmlBuilder:Vn}),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:Xe(r)}},htmlBuilder:Hn,mathmlBuilder:Vn});const In={"∫":"\\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:Vn}),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:Vn}),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=In[n]),{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:n}},htmlBuilder:Hn,mathmlBuilder:Vn});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:Xe(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])}}),Ze({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:Xe(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(Xe(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(Xe(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 Bn(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+h-n.height-n.depth)/2);const f=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+f)},{type:"elem",elem:c},{type:"kern",size:s}]},t);if(e.index){const n=t.havingStyle(O.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 Fn={display:O.DISPLAY,text:O.TEXT,script:O.SCRIPT,scriptscript:O.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=Fn[e.style],r=t.havingStyle(n).withFont("");return Bn(e.body,r,t)},mathmlBuilder(e,t){const n=Fn[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}}),Ze({type:"supsub",htmlBuilder(e,t){const n=function(e,t){const n=e.base;return n?"op"===n.type?n.limits&&(t.style.size===O.DISPLAY.size||n.alwaysHandleSupSub)?Hn:null:"operatorname"===n.type?n.alwaysHandleSupSub&&(t.style.size===O.DISPLAY.size||n.limits)?Dn:null:"accent"===n.type?d.isCharacterBox(n.base)?Tt:null:"horizBrace"===n.type&&!e.sub===n.isOver?An: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,h=0;const f=r&&d.isCharacterBox(r);if(o){const e=t.havingStyle(t.style.sup());l=lt(o,e,t),f||(u=a.height-e.fontMetrics().supDrop*e.sizeMultiplier/t.sizeMultiplier)}if(i){const e=t.havingStyle(t.style.sub());c=lt(i,e,t),f||(h=a.depth+e.fontMetrics().subDrop*e.sizeMultiplier/t.sizeMultiplier)}let p;p=t.style===O.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 R||t)&&(g=-a.italic+"em")}if(l&&c){u=Math.max(u,p,l.depth+.25*s.xHeight),h=Math.max(h,s.sub2);const e=4*s.defaultRuleThickness;if(u-l.depth-(c.height-h)0&&(u+=t,h-=t)}const n=[{type:"elem",elem:c,shift:h,marginRight:v,marginLeft:g},{type:"elem",elem:l,shift:-u,marginRight:v}];y=Le.makeVList({positionType:"individualShift",children:n},t)}else if(c){h=Math.max(h,s.sub1,c.height-.8*s.xHeight);const e=[{type:"elem",elem:c,marginLeft:g,marginRight:v}];y=Le.makeVList({positionType:"shift",positionData:h,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===O.DISPLAY||n&&"operatorname"===n.type&&n.alwaysHandleSupSub&&(t.style===O.DISPLAY||n.limits)?"munderover":"msubsup"}else{const n=e.base;l=n&&"op"===n.type&&n.limits&&(t.style===O.DISPLAY||n.alwaysHandleSupSub)||n&&"operatorname"===n.type&&n.alwaysHandleSupSub&&(n.limits||t.style===O.DISPLAY)?"munder":"msub"}else{const n=e.base;l=n&&"op"===n.type&&n.limits&&(t.style===O.DISPLAY||n.alwaysHandleSupSub)||n&&"operatorname"===n.type&&n.alwaysHandleSupSub&&(n.limits||t.style===O.DISPLAY)?"mover":"msup"}return new pt.MathNode(l,a)}}),Ze({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"};Ze({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}}),Ze({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"}};Ze({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};Ze({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"},Zn={"\\textbf":"textbf","\\textmd":"textmd"},Xn={"\\textit":"textit","\\textup":"textup"},Qn=(e,t)=>{const n=e.font;return n?Kn[n]?t.withTextFontFamily(Kn[n]):Zn[n]?t.withTextFontWeight(Zn[n]):t.withTextFontShape(Xn[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:Xe(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=Jn(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 X.math&&d.contains(["bin","rel"],X.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 hr=F["Main-Regular"]["T".charCodeAt(0)][1]-.7*F["Main-Regular"]["A".charCodeAt(0)][1]+"em";ir("\\LaTeX",`\\textrm{\\html@mathml{L\\kern-.36em\\raisebox{${hr}}{\\scriptstyle A}\\kern-.15em\\TeX}{LaTeX}}`),ir("\\KaTeX",`\\textrm{\\html@mathml{K\\kern-.17em\\raisebox{${hr}}{\\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 fr={"\\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)||X.math.hasOwnProperty(e)||X.text.hasOwnProperty(e)||fr.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,h=0,f=c;for(;(u=this.fetch()).text!==o||n&&h>0;){switch(u.text){case"EOF":throw new s("Unexpected end of input in "+e,c.range(f,l));case r:h++;break;case o:h--}f=u,l+=f.text,this.consume()}return this.expect(o),this.mode=a,c.range(f,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 h;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(),h={type:"ordgroup",mode:this.mode,loc:l.range(c,n),body:t,semisimple:"\\begingroup"===u||void 0}}else if(t)h=null;else if(h=this.parseFunction(r,e,n)||this.parseSymbol(),null==h&&"\\"===u[0]&&!fr.hasOwnProperty(u)){if(this.settings.throwOnError)throw new s("Undefined control sequence: "+u,c);h=this.formatUnsupportedCmd(u),this.consume()}return o&&this.switchMode(a),h}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=X[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&&(z(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,zr=0,Tr=1,Er=2,Cr=3,Ar=4,Pr=5,jr=6,Lr=7,Nr=8,Hr=9,Vr=10,Rr={input:"'",tag:"mtext",output:"mbox",tex:null,tType:Vr},Ir=[{input:"alpha",tag:"mi",output:"α",tex:null,tType:zr},{input:"beta",tag:"mi",output:"β",tex:null,tType:zr},{input:"chi",tag:"mi",output:"χ",tex:null,tType:zr},{input:"delta",tag:"mi",output:"δ",tex:null,tType:zr},{input:"Delta",tag:"mo",output:"Δ",tex:null,tType:zr},{input:"epsi",tag:"mi",output:"ε",tex:"epsilon",tType:zr},{input:"varepsilon",tag:"mi",output:"ɛ",tex:null,tType:zr},{input:"eta",tag:"mi",output:"η",tex:null,tType:zr},{input:"gamma",tag:"mi",output:"γ",tex:null,tType:zr},{input:"Gamma",tag:"mo",output:"Γ",tex:null,tType:zr},{input:"iota",tag:"mi",output:"ι",tex:null,tType:zr},{input:"kappa",tag:"mi",output:"κ",tex:null,tType:zr},{input:"lambda",tag:"mi",output:"λ",tex:null,tType:zr},{input:"Lambda",tag:"mo",output:"Λ",tex:null,tType:zr},{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:zr},{input:"nu",tag:"mi",output:"ν",tex:null,tType:zr},{input:"omega",tag:"mi",output:"ω",tex:null,tType:zr},{input:"Omega",tag:"mo",output:"Ω",tex:null,tType:zr},{input:"phi",tag:"mi",output:"φ",tex:null,tType:zr},{input:"varphi",tag:"mi",output:"ϕ",tex:null,tType:zr},{input:"Phi",tag:"mo",output:"Φ",tex:null,tType:zr},{input:"pi",tag:"mi",output:"π",tex:null,tType:zr},{input:"Pi",tag:"mo",output:"Π",tex:null,tType:zr},{input:"psi",tag:"mi",output:"ψ",tex:null,tType:zr},{input:"Psi",tag:"mi",output:"Ψ",tex:null,tType:zr},{input:"rho",tag:"mi",output:"ρ",tex:null,tType:zr},{input:"sigma",tag:"mi",output:"σ",tex:null,tType:zr},{input:"Sigma",tag:"mo",output:"Σ",tex:null,tType:zr},{input:"tau",tag:"mi",output:"τ",tex:null,tType:zr},{input:"theta",tag:"mi",output:"θ",tex:null,tType:zr},{input:"vartheta",tag:"mi",output:"ϑ",tex:null,tType:zr},{input:"Theta",tag:"mo",output:"Θ",tex:null,tType:zr},{input:"upsilon",tag:"mi",output:"υ",tex:null,tType:zr},{input:"xi",tag:"mi",output:"ξ",tex:null,tType:zr},{input:"Xi",tag:"mo",output:"Ξ",tex:null,tType:zr},{input:"zeta",tag:"mi",output:"ζ",tex:null,tType:zr},{input:"*",tag:"mo",output:"⋅",tex:"cdot",tType:zr},{input:"**",tag:"mo",output:"∗",tex:"ast",tType:zr},{input:"***",tag:"mo",output:"⋆",tex:"star",tType:zr},{input:"// ",tag:"mo",output:"/",tex:"/",tType:zr,val:!0,noTexCopy:!0},{input:"\\\\",tag:"mo",output:"\\",tex:"backslash",tType:zr},{input:"setminus",tag:"mo",output:"\\",tex:null,tType:zr},{input:"xx",tag:"mo",output:"×",tex:"times",tType:zr},{input:"|><",tag:"mo",output:"⋉",tex:"ltimes",tType:zr},{input:"><|",tag:"mo",output:"⋊",tex:"rtimes",tType:zr},{input:"|><|",tag:"mo",output:"⋈",tex:"bowtie",tType:zr},{input:"-:",tag:"mo",output:"÷",tex:"div",tType:zr},{input:"divide",tag:"mo",output:"-:",tex:null,tType:Nr},{input:"@",tag:"mo",output:"∘",tex:"circ",tType:zr},{input:"o+",tag:"mo",output:"⊕",tex:"oplus",tType:zr},{input:"ox",tag:"mo",output:"⊗",tex:"otimes",tType:zr},{input:"o.",tag:"mo",output:"⊙",tex:"odot",tType:zr},{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:zr},{input:"^^^",tag:"mo",output:"⋀",tex:"bigwedge",tType:Lr},{input:"vv",tag:"mo",output:"∨",tex:"vee",tType:zr},{input:"vvv",tag:"mo",output:"⋁",tex:"bigvee",tType:Lr},{input:"nn",tag:"mo",output:"∩",tex:"cap",tType:zr},{input:"nnn",tag:"mo",output:"⋂",tex:"bigcap",tType:Lr},{input:"uu",tag:"mo",output:"∪",tex:"cup",tType:zr},{input:"uuu",tag:"mo",output:"⋃",tex:"bigcup",tType:Lr},{input:"overset",tag:"mover",output:"stackrel",tex:null,tType:Er},{input:"underset",tag:"munder",output:"stackrel",tex:null,tType:Er},{input:"!=",tag:"mo",output:"≠",tex:"ne",tType:zr},{input:":=",tag:"mo",output:":=",tex:null,tType:zr},{input:"lt",tag:"mo",output:"<",tex:null,tType:zr},{input:"gt",tag:"mo",output:">",tex:null,tType:zr},{input:"<=",tag:"mo",output:"≤",tex:"le",tType:zr},{input:"lt=",tag:"mo",output:"≤",tex:"leq",tType:zr},{input:"gt=",tag:"mo",output:"≥",tex:"geq",tType:zr},{input:">=",tag:"mo",output:"≥",tex:"ge",tType:zr},{input:"-<",tag:"mo",output:"≺",tex:"prec",tType:zr},{input:"-lt",tag:"mo",output:"≺",tex:null,tType:zr},{input:">-",tag:"mo",output:"≻",tex:"succ",tType:zr},{input:"-<=",tag:"mo",output:"⪯",tex:"preceq",tType:zr},{input:">-=",tag:"mo",output:"⪰",tex:"succeq",tType:zr},{input:"in",tag:"mo",output:"∈",tex:null,tType:zr},{input:"!in",tag:"mo",output:"∉",tex:"notin",tType:zr},{input:"sub",tag:"mo",output:"⊂",tex:"subset",tType:zr},{input:"sup",tag:"mo",output:"⊃",tex:"supset",tType:zr},{input:"sube",tag:"mo",output:"⊆",tex:"subseteq",tType:zr},{input:"supe",tag:"mo",output:"⊇",tex:"supseteq",tType:zr},{input:"-=",tag:"mo",output:"≡",tex:"equiv",tType:zr},{input:"~=",tag:"mo",output:"≅",tex:"stackrel{\\sim}{=}",tType:zr},{input:"cong",tag:"mo",output:"~=",tex:null,tType:Nr},{input:"~~",tag:"mo",output:"≈",tex:"approx",tType:zr},{input:"prop",tag:"mo",output:"∝",tex:"propto",tType:zr},{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:zr},{input:"=>",tag:"mo",output:"⇒",tex:"Rightarrow",tType:zr},{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:zr},{input:"iff",tag:"mo",output:"<=>",tex:null,tType:Nr},{input:"AA",tag:"mo",output:"∀",tex:"forall",tType:zr},{input:"EE",tag:"mo",output:"∃",tex:"exists",tType:zr},{input:"_|_",tag:"mo",output:"⊥",tex:"bot",tType:zr},{input:"TT",tag:"mo",output:"⊤",tex:"top",tType:zr},{input:"|--",tag:"mo",output:"⊢",tex:"vdash",tType:zr},{input:"|==",tag:"mo",output:"⊨",tex:"models",tType:zr},{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:null,tType:Pr,val:!0},{input:"{",tag:"mo",output:"{",tex:"lbrace",tType:Ar},{input:"}",tag:"mo",output:"}",tex:"rbrace",tType:Pr},{input:"|",tag:"mo",output:"|",tex:null,tType:Hr,val:!0},{input:"(:",tag:"mo",output:"〈",tex:"langle",tType:Ar},{input:":)",tag:"mo",output:"〉",tex:"rangle",tType:Pr},{input:"<<",tag:"mo",output:"〈",tex:"langle",tType:Ar},{input:">>",tag:"mo",output:"〉",tex:"rangle",tType:Pr},{input:"{:",tag:"mo",output:"{:",tex:null,tType:Ar,invisible:!0},{input:":}",tag:"mo",output:":}",tex:null,tType:Pr,invisible:!0},{input:"int",tag:"mo",output:"∫",tex:null,tType:zr},{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:zr},{input:"del",tag:"mo",output:"∂",tex:"partial",tType:zr},{input:"grad",tag:"mo",output:"∇",tex:"nabla",tType:zr},{input:"+-",tag:"mo",output:"±",tex:"pm",tType:zr},{input:"O/",tag:"mo",output:"∅",tex:"emptyset",tType:zr},{input:"oo",tag:"mo",output:"∞",tex:"infty",tType:zr},{input:"aleph",tag:"mo",output:"ℵ",tex:null,tType:zr},{input:"...",tag:"mo",output:"...",tex:"ldots",tType:zr},{input:":.",tag:"mo",output:"∴",tex:"therefore",tType:zr},{input:":'",tag:"mo",output:"∵",tex:"because",tType:zr},{input:"/_",tag:"mo",output:"∠",tex:"angle",tType:zr},{input:"/_\\",tag:"mo",output:"△",tex:"triangle",tType:zr},{input:"\\ ",tag:"mo",output:" ",tex:null,tType:zr,val:!0},{input:"frown",tag:"mo",output:"⌢",tex:null,tType:zr},{input:"%",tag:"mo",output:"%",tex:"%",tType:zr,noTexCopy:!0},{input:"quad",tag:"mo",output:"  ",tex:null,tType:zr},{input:"qquad",tag:"mo",output:"    ",tex:null,tType:zr},{input:"cdots",tag:"mo",output:"⋯",tex:null,tType:zr},{input:"vdots",tag:"mo",output:"⋮",tex:null,tType:zr},{input:"ddots",tag:"mo",output:"⋱",tex:null,tType:zr},{input:"diamond",tag:"mo",output:"⋄",tex:null,tType:zr},{input:"square",tag:"mo",output:"□",tex:"boxempty",tType:zr},{input:"|__",tag:"mo",output:"⌊",tex:"lfloor",tType:zr},{input:"__|",tag:"mo",output:"⌋",tex:"rfloor",tType:zr},{input:"|~",tag:"mo",output:"⌈",tex:"lceil",tType:zr},{input:"lceiling",tag:"mo",output:"|~",tex:null,tType:Nr},{input:"~|",tag:"mo",output:"⌉",tex:"rceil",tType:zr},{input:"rceiling",tag:"mo",output:"~|",tex:null,tType:Nr},{input:"CC",tag:"mo",output:"ℂ",tex:"mathbb{C}",tType:zr,noTexCopy:!0},{input:"NN",tag:"mo",output:"ℕ",tex:"mathbb{N}",tType:zr,noTexCopy:!0},{input:"QQ",tag:"mo",output:"ℚ",tex:"mathbb{Q}",tType:zr,noTexCopy:!0},{input:"RR",tag:"mo",output:"ℝ",tex:"mathbb{R}",tType:zr,noTexCopy:!0},{input:"ZZ",tag:"mo",output:"ℤ",tex:"mathbb{Z}",tType:zr,noTexCopy:!0},{input:"f",tag:"mi",output:"f",tex:null,tType:Tr,func:!0,val:!0},{input:"g",tag:"mi",output:"g",tex:null,tType:Tr,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:Tr,func:!0},{input:"cos",tag:"mo",output:"cos",tex:null,tType:Tr,func:!0},{input:"tan",tag:"mo",output:"tan",tex:null,tType:Tr,func:!0},{input:"arcsin",tag:"mo",output:"arcsin",tex:null,tType:Tr,func:!0},{input:"arccos",tag:"mo",output:"arccos",tex:null,tType:Tr,func:!0},{input:"arctan",tag:"mo",output:"arctan",tex:null,tType:Tr,func:!0},{input:"sinh",tag:"mo",output:"sinh",tex:null,tType:Tr,func:!0},{input:"cosh",tag:"mo",output:"cosh",tex:null,tType:Tr,func:!0},{input:"tanh",tag:"mo",output:"tanh",tex:null,tType:Tr,func:!0},{input:"cot",tag:"mo",output:"cot",tex:null,tType:Tr,func:!0},{input:"coth",tag:"mo",output:"coth",tex:null,tType:Tr,func:!0},{input:"sech",tag:"mo",output:"sech",tex:null,tType:Tr,func:!0},{input:"csch",tag:"mo",output:"csch",tex:null,tType:Tr,func:!0},{input:"sec",tag:"mo",output:"sec",tex:null,tType:Tr,func:!0},{input:"csc",tag:"mo",output:"csc",tex:null,tType:Tr,func:!0},{input:"log",tag:"mo",output:"log",tex:null,tType:Tr,func:!0},{input:"ln",tag:"mo",output:"ln",tex:null,tType:Tr,func:!0},{input:"abs",tag:"mo",output:"abs",tex:null,tType:Tr,noTexCopy:!0,rewriteLeftRight:["|","|"]},{input:"norm",tag:"mo",output:"norm",tex:null,tType:Tr,noTexCopy:!0,rewriteLeftRight:["\\|","\\|"]},{input:"floor",tag:"mo",output:"floor",tex:null,tType:Tr,noTexCopy:!0,rewriteLeftRight:["\\lfloor","\\rfloor"]},{input:"ceil",tag:"mo",output:"ceil",tex:null,tType:Tr,noTexCopy:!0,rewriteLeftRight:["\\lceil","\\rceil"]},{input:"Sin",tag:"mo",output:"sin",tex:null,tType:Tr,func:!0},{input:"Cos",tag:"mo",output:"cos",tex:null,tType:Tr,func:!0},{input:"Tan",tag:"mo",output:"tan",tex:null,tType:Tr,func:!0},{input:"Arcsin",tag:"mo",output:"arcsin",tex:null,tType:Tr,func:!0},{input:"Arccos",tag:"mo",output:"arccos",tex:null,tType:Tr,func:!0},{input:"Arctan",tag:"mo",output:"arctan",tex:null,tType:Tr,func:!0},{input:"Sinh",tag:"mo",output:"sinh",tex:null,tType:Tr,func:!0},{input:"Sosh",tag:"mo",output:"cosh",tex:null,tType:Tr,func:!0},{input:"Tanh",tag:"mo",output:"tanh",tex:null,tType:Tr,func:!0},{input:"Cot",tag:"mo",output:"cot",tex:null,tType:Tr,func:!0},{input:"Sec",tag:"mo",output:"sec",tex:null,tType:Tr,func:!0},{input:"Csc",tag:"mo",output:"csc",tex:null,tType:Tr,func:!0},{input:"Log",tag:"mo",output:"log",tex:null,tType:Tr,func:!0},{input:"Ln",tag:"mo",output:"ln",tex:null,tType:Tr,func:!0},{input:"Abs",tag:"mo",output:"abs",tex:null,tType:Tr,noTexCopy:!0,rewriteLeftRight:["|","|"]},{input:"det",tag:"mo",output:"det",tex:null,tType:Tr,func:!0},{input:"exp",tag:"mo",output:"exp",tex:null,tType:Tr,func:!0},{input:"dim",tag:"mo",output:"dim",tex:null,tType:zr},{input:"mod",tag:"mo",output:"mod",tex:"text{mod}",tType:zr,noTexCopy:!0},{input:"gcd",tag:"mo",output:"gcd",tex:null,tType:Tr,func:!0},{input:"lcm",tag:"mo",output:"lcm",tex:"text{lcm}",tType:Tr,func:!0,noTexCopy:!0},{input:"lub",tag:"mo",output:"lub",tex:null,tType:zr},{input:"glb",tag:"mo",output:"glb",tex:null,tType:zr},{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:zr},{input:"darr",tag:"mo",output:"↓",tex:"downarrow",tType:zr},{input:"rarr",tag:"mo",output:"→",tex:"rightarrow",tType:zr},{input:"->",tag:"mo",output:"→",tex:"to",tType:zr},{input:">->",tag:"mo",output:"↣",tex:"rightarrowtail",tType:zr},{input:"->>",tag:"mo",output:"↠",tex:"twoheadrightarrow",tType:zr},{input:">->>",tag:"mo",output:"⤖",tex:"twoheadrightarrowtail",tType:zr},{input:"|->",tag:"mo",output:"↦",tex:"mapsto",tType:zr},{input:"larr",tag:"mo",output:"←",tex:"leftarrow",tType:zr},{input:"harr",tag:"mo",output:"↔",tex:"leftrightarrow",tType:zr},{input:"rArr",tag:"mo",output:"⇒",tex:"Rightarrow",tType:zr},{input:"lArr",tag:"mo",output:"⇐",tex:"Leftarrow",tType:zr},{input:"hArr",tag:"mo",output:"⇔",tex:"Leftrightarrow",tType:zr},{input:"sqrt",tag:"msqrt",output:"sqrt",tex:null,tType:Tr},{input:"root",tag:"mroot",output:"root",tex:null,tType:Er},{input:"frac",tag:"mfrac",output:"/",tex:null,tType:Er},{input:"/",tag:"mfrac",output:"/",tex:null,tType:Cr},{input:"stackrel",tag:"mover",output:"stackrel",tex:null,tType:Er},{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:Tr},{input:"Sqrt",tag:"msqrt",output:"sqrt",tex:null,tType:Tr},{input:"hat",tag:"mover",output:"^",tex:null,tType:Tr,acc:!0},{input:"bar",tag:"mover",output:"¯",tex:"overline",tType:Tr,acc:!0},{input:"vec",tag:"mover",output:"→",tex:null,tType:Tr,acc:!0},{input:"tilde",tag:"mover",output:"~",tex:null,tType:Tr,acc:!0},{input:"dot",tag:"mover",output:".",tex:null,tType:Tr,acc:!0},{input:"ddot",tag:"mover",output:"..",tex:null,tType:Tr,acc:!0},{input:"ul",tag:"munder",output:"̲",tex:"underline",tType:Tr,acc:!0},{input:"ubrace",tag:"munder",output:"⏟",tex:"underbrace",tType:Tr,acc:!0},{input:"obrace",tag:"mover",output:"⏞",tex:"overbrace",tType:Tr,acc:!0},{input:"text",tag:"mtext",output:"text",tex:null,tType:Vr},{input:"mbox",tag:"mtext",output:"mbox",tex:null,tType:Vr},Rr,{input:"color",tag:"mstyle",tType:Er},{input:"bb",tag:"mstyle",atName:"mathvariant",atVal:"bold",output:"bb",tex:"mathbf",tType:Tr,noTexCopy:!0},{input:"mathbf",tag:"mstyle",atName:"mathvariant",atVal:"bold",output:"mathbf",tex:null,tType:Tr},{input:"sf",tag:"mstyle",atName:"mathvariant",atVal:"sans-serif",output:"sf",tex:"mathsf",tType:Tr,noTexCopy:!0},{input:"mathsf",tag:"mstyle",atName:"mathvariant",atVal:"sans-serif",output:"mathsf",tex:null,tType:Tr},{input:"bbb",tag:"mstyle",atName:"mathvariant",atVal:"double-struck",output:"bbb",tex:"mathbb",tType:Tr,noTexCopy:!0},{input:"mathbb",tag:"mstyle",atName:"mathvariant",atVal:"double-struck",output:"mathbb",tex:null,tType:Tr},{input:"cc",tag:"mstyle",atName:"mathvariant",atVal:"script",output:"cc",tex:"mathcal",tType:Tr,noTexCopy:!0},{input:"mathcal",tag:"mstyle",atName:"mathvariant",atVal:"script",output:"mathcal",tex:null,tType:Tr},{input:"tt",tag:"mstyle",atName:"mathvariant",atVal:"monospace",output:"tt",tex:"mathtt",tType:Tr,noTexCopy:!0},{input:"mathtt",tag:"mstyle",atName:"mathvariant",atVal:"monospace",output:"mathtt",tex:null,tType:Tr},{input:"fr",tag:"mstyle",atName:"mathvariant",atVal:"fraktur",output:"fr",tex:"mathfrak",tType:Tr,noTexCopy:!0},{input:"mathfrak",tag:"mstyle",atName:"mathvariant",atVal:"fraktur",output:"mathfrak",tex:null,tType:Tr}],Dr=Ir.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 Br(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=Ir[r].tType,Ir[r];n=zr,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:Tr,func:!0,val:!0}):{input:o,tag:i,output:o,tType:zr,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=Fr(e=Br(e,0));if(!n||n.tType===Pr&&t>0)return[null,e];switch(n.tType===Nr&&(n=Fr(e=n.output+Br(e,n.input.length))),n.tType){case Lr:case zr:e=Br(e,n.input.length);var r=Wr(n);return"\\"===r.charAt(0)||"mo"===n.tag?[r,e]:["{".concat(r,"}"),e];case Ar:t++;var o=Kr(e=Br(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 Vr:var l;n!==Rr&&(e=Br(e,n.input.length)),-1===(l="{"===e.charAt(0)?e.indexOf("}"):"("===e.charAt(0)?e.indexOf(")"):"["===e.charAt(0)?e.indexOf("]"):n===Rr?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=Br(e,l+1)];case Tr:var s=Yr(e=Br(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 Er:var u=Yr(e=Br(e,n.input.length),t);if(null===u[0])return["{".concat(Wr(n),"}"),e];u[0]=Ur(u[0]);var h=Yr(u[1],t);return null===h[0]?["{".concat(Wr(n),"}"),e]:(h[0]=Ur(h[0]),["color"===n.input?"{\\color{".concat(u[0].replace(/[{}]/g,""),"}").concat(h[0],"}"):"root"===n.input?"{\\sqrt[".concat(u[0],"]{").concat(h[0],"}}"):"{".concat(Wr(n),"{").concat(u[0],"}{").concat(h[0],"}}"),h[1]]);case Cr:return e=Br(e,n.input.length),[n.output,e];case jr:return e=Br(e,n.input.length),["{\\quad\\text{".concat(n.input,"}\\quad}"),e];case Hr:t++;var f=Kr(e=Br(e,n.input.length),!1,t);t--;var p="";return"|"===(p=f[0].charAt(f[0].length-1))?["{\\left|".concat(f[0],"}"),f[1]]:["{\\mid}",e];default:return e=Br(e,n.input.length),["{".concat(Wr(n),"}"),e]}}function Gr(e,t){var n,r=Fr(e=Br(e,0)),o=Yr(e,t),i=o[0],a=Fr(e=o[1]);if(a.tType!==Cr||"/"===a.input)return[i,e];if(null===(o=Yr(e=Br(e,a.input.length),t))[0]?o[0]="{}":o[0]=Ur(o[0]),e=o[1],"_"===a.input)if("^"===(n=Fr(e)).input){var l=Yr(e=Br(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=Fr(e)).tType!==Cr&&n.tType!==Pr&&(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=Br(e,0),n))[0],(r=Fr(e=i[1])).tType===Cr&&"/"===r.input?(null===(i=Gr(e=Br(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=Fr(e)):o&&(l+=o)}while((r.tType!==Pr&&(r.tType!==Hr||t)||0===n)&&r&&r.output);if(r.tType===Pr||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 h=l.charAt(6);if("("===h&&")"===u&&"}"!==r.output||"["===h&&"]"===u){var f="\\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&&(f+="\\\\");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),f+=w.join("&")}f+="}",d&&(l=f)}}}e=Br(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 Zr(e){return(e=e.replace(/( |\u00a0| )/g,"").replace(/>/g,">").replace(/</g,"<")).match(/\S/)?Kr(e.replace(/^\s+/g,""),!1,0)[0]:""}function Xr(e){var t=e.elements,n=e.config,r=e.isAsciimath;t.length&&t.forEach((function(e){var t=e.textContent,o=r?Zr(t):t,i=a.renderToString(o,n);e.parentNode.outerHTML='').concat(i,"")}))}function Qr(e){return e.replace(/[-[\]/{}()*+?.\\$^|]/g,"\\$&")}Ir.push.apply(Ir,r(Dr)),Ir.sort((function(e,t){return e.input>t.input?1:-1})),Mr=Ir.map((function(e){return e.input}));var Jr=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(Zr(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 Xr({elements:a,config:o}),Xr({elements:l,config:o,isAsciimath:!0}),Sr(n,o),n.innerHTML}}]}};return e.extension("showdown-katex",Jr()),Jr},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")),h=r(n("7W2i")),f=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去注册').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){s.a.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,a=e.regular,l=e.isGoingValue;if(1!==a){var c=t.replace(/(^\s*)|(\s*$)/g,""),h=o.replace(/(^\s*)|(\s*$)/g,"");s.a.post("/accounts/login.json",{login:c,password:h,autologin:l}).then((function(e){if(void 0!==e)if(-2===e.data.status)if("登录密码出错已达上限,账号已被锁定, 请10分钟后重新登录或找回密码"===e.data.message){var t=i.a.createElement("div",null,i.a.createElement("p",null,"登录密码出错已达上限,账号已被锁定;"),i.a.createElement("p",{className:"mt10"},"请10分钟后重新登录或",i.a.createElement("a",{href:"https://www.trustie.net/account/lost_password",style:{textDecoration:"underline",color:"#4CACFF"}},"找回密码")));n.openNotifications(t)}else r.a.open({message:"提示",description:e.data.message,duration:5});else Object(u.f)("refreshPage"),n.setState({isRender:!1}),n.props.Modifyloginvalue(e.data),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(),console.log(1))},n.getloginurl=function(e){window.location.href=e},n.openweixinlogin=function(){n.setState({weixinlogin:!0})},n.openNotifications=function(e){r.a.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},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),f(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}),null!=this.props.isRender&&this.setState({isRender:this.props.isRender}),this.dragWrapper(),s.a.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,r=(t.qqlogin,t.login),o=t.isGoing,a=t.isGoingValue,c=t.disabled,s=(t.bottonclass,t.Phonenumberisnotco),u=t.dialogBox,f=t.isRender,p=t.weixinlogin;return void 0===f&&(f=!1),i.a.createElement(l.a,{open:!0,id:"DialogID",className:"zindextest",style:{display:0==f?"none":""},disableEscapeKeyDown:!0,disableBackdropClick:!0,onClose:function(){return e.handleDialogClose()}},i.a.createElement(h.a,{modalsType:this.state.MyEduCoderModals,setNotcompleteds:function(){e.setNotcompleteds()}}),i.a.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===f?i.a.createElement("div",{className:u},i.a.createElement("div",{id:"closeIcon",className:"logincloseIcon",onClick:function(){e.handleDialogClose()}},i.a.createElement("i",{className:"iconfont icon-shanchudiao"})),i.a.createElement("div",{id:"log_reg_content"},!0===p?"":i.a.createElement("ul",{className:"log_nav clearfix"},i.a.createElement("li",{onClick:function(){e.enter(0)}},"登录")),i.a.createElement("div",{className:"login-panel",id:"login-panel-1",style:{display:0==r?"block":"none"}},!0===p?"":i.a.createElement("form",{acceptCharset:"UTF-8",action:"/login",id:"main_login_form",method:"post"},i.a.createElement("div",{style:{display:"inline",padding:"0",margin:"0"}},i.a.createElement("input",{name:"utf8",type:"hidden",value:"✓"}),i.a.createElement("input",{name:"authenticity_token",type:"hidden",value:"NVLiIlHZfhVBQtO9djnWncJqqdikNQIIxEmOvzK9vNM="})),i.a.createElement("input",{name:"back_url",type:"hidden",value:this.back_url}),i.a.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===c?this.loginEDU:function(){},value:this.state.loginValue,name:"username",placeholder:"请输入有效的手机号/邮箱号"}),i.a.createElement("div",{style:{height:"25px"}},i.a.createElement("p",{className:"color-orange edu-txt-left none",id:"username_error_notice",style:{display:void 0===s?"none":"block"}},s)),i.a.createElement("div",null,i.a.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===c?this.loginEDU:function(){},placeholder:"密码"}),i.a.createElement("div",{style:{height:"25px"}},i.a.createElement("p",{className:"color-orange edu-txt-left none",id:"password_error_notice"},"请输入密码"))),i.a.createElement("div",{className:!1===c?"bluebutton edu-back-blue":"bluebutton",onClick:!1===c?this.loginEDU:function(){}},"登录"),i.a.createElement("p",{className:"clearfix mt20"},i.a.createElement("span",{className:"fl"},i.a.createElement("input",{type:"checkbox",className:"mr5 magic-checkbox",checked:o,onChange:this.handleInputChange,value:a,name:"isGoing",id:"p_autolog"}),i.a.createElement("label",{htmlFor:"p_autolog",style:{top:"0px"}},"下次自动登录")),i.a.createElement("span",{className:"fr"},i.a.createElement("a",{onClick:function(t){return e.getloginurl("http://39.105.176.215/account/lost_password")},className:"mr3 color-grey-9"},"找回密码"),i.a.createElement("em",{className:"vertical-line"}),i.a.createElement("a",{onClick:function(t){return e.getloginurl("http://39.105.176.215/user_join")},className:"color-grey-9"},"注册"))),this.props.user&&!0===this.props.user.main_site?!0===this.state.isphone?i.a.createElement("p",{className:"clearfix mt20"},i.a.createElement("span",{className:"startlogin"},"———————— 快速登录 ————————"),i.a.createElement("div",{className:"mt10"},i.a.createElement("a",{onClick:function(){return e.openweixinlogin()}},i.a.createElement("img",{src:n("JEW2"),alt:"微信登录"})),i.a.createElement("a",{onClick:function(){return e.openqqlogin()},className:"ml10"},i.a.createElement("img",{src:n("p62H"),alt:"qq登录"})))):i.a.createElement("p",{className:"clearfix mt20"},i.a.createElement("span",{className:"startlogin"},"———————— 快速登录 ————————"),i.a.createElement("div",{className:"mt10"},i.a.createElement("a",{onClick:function(){return e.openphoneqqlogin()},className:"ml10"},i.a.createElement("img",{src:n("p62H"),alt:"qq登录"})))):""),!0===p?i.a.createElement("iframe",{className:"weixinheight390",frameBorder:"0",sandbox:"allow-scripts allow-same-origin allow-top-navigation",scrolling:"no",src:"https://open.weixin.qq.com/connect/qrconnect?appid=wx6b119e2d829c13fa&redirect_uri=https%3a%2f%2fwww.educoder.net%2fotherloginstart&response_type=code&scope=snsapi_login&state=null,"+window.location.host+"#wechat_redirect"}):"",!0===p?i.a.createElement("p",{className:"clearfix "},i.a.createElement("a",{className:"startlogin color-blue",onClick:function(){return e.hideweixinlogin()}},"返回账号登录")):""))):"")}}]),t}(o.Component);t.a=v},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"))},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},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 h(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 f(e){var t={loading:!1,loaded:{},error:null},n=[];try{Object.keys(e).forEach((function(r){var o=h(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 h,f;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})),f=h=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),h.contextTypes={loadable:c.shape({report:c.func.isRequired})},f}function m(e){return d(h,e)}m.Map=function(e){if("function"!=typeof e.render)throw new Error("LoadableMap requires a `render(loaded, props)` function");return d(f,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";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),h=n("jo6Y"),f=n.n(h),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,h=f()(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),h))):(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 O=k;function S(){return(S=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&&!z.has(t)){var i=document.createElement("script");i.setAttribute("src",t),i.setAttribute("data-namespace",t),z.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(F,S({},o,i),a)};return a.displayName="Iconfont",a},q.getTwoToneColor=function(){return O.getTwoToneColors().primaryColor},q.setTwoToneColor=L;var F=t.a=q},D8kY:function(e,t,n){var r=n("Ojgd"),o=Math.max,i=Math.min;e.exports=function(e,t){return(e=r(e))<0?o(e+t,0):i(e,t)}},DFOY:function(e,t,n){"use strict";var r=n("q1tI"),o=n.n(r),i=n("17x9"),a=n.n(i),l=n("uciX"),c=n("2W6z"),s=n.n(c),u=n("4IlW"),h=n("uK0f"),f=n.n(h),p=n("wrOu"),d=n.n(p),m=n("VCL8"),v=n("i8i4"),y=Object.assign||function(e){for(var t=1;t0;(f||!1===e.isLeaf)&&(u+=" "+r+"-menu-item-expand",e.loading||(h=o.a.createElement("span",{className:r+"-menu-item-expand-icon"},a))),"hover"!==i||!f&&!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")],h,p)}},{key:"getActiveOptions",value:function(e){var t=this,n=e||this.props.activeValue,r=this.props.options;return f()(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=f()(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 f()(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,h=e.popupPlacement,f=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:h,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)(f,{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);O.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:">"},O.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)(O);var S=O,M=n("TSYQ"),z=n.n(M),T=n("BGR+"),E=n("5rEg"),C=n("CtXQ"),A=n("H84U"),P=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 Z=function(e){return e.join(" / ")};var X=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&&R(e,t)}(l,e);var t,n,o,i,a=(t=l,function(){var e,n=q(t);if(B()){var r=q(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return I(this,e)});function l(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(t=a.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,h=e.renderEmpty,f=D(t),p=f.props,d=f.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,O=p.allowClear,M=p.showSearch,A=void 0!==M&&M,P=p.suffixIcon,j=p.notFoundContent,L=F(p,["prefixCls","inputPrefixCls","children","placeholder","size","disabled","className","style","allowClear","showSearch","suffixIcon","notFoundContent"]),V=d.value,R=d.inputFocused,I=u("cascader",m),B=u("input",v),q=z()((H(o={},"".concat(B,"-lg"),"large"===w),H(o,"".concat(B,"-sm"),"small"===w),o)),U=O&&!x&&V.length>0||d.inputValue?r.createElement(C.a,{type:"close-circle",theme:"filled",className:"".concat(I,"-picker-clear"),onClick:t.clearSelection}):null,W=z()((H(i={},"".concat(I,"-picker-arrow"),!0),H(i,"".concat(I,"-picker-arrow-expand"),d.popupVisible),i)),Y=z()(_,"".concat(I,"-picker"),(H(a={},"".concat(I,"-picker-with-value"),d.inputValue),H(a,"".concat(I,"-picker-disabled"),x),H(a,"".concat(I,"-picker-").concat(w),!!w),H(a,"".concat(I,"-picker-show-search"),!!A),H(a,"".concat(I,"-picker-focused"),R),a)),K=Object(T.a)(L,["onChange","options","popupPlacement","transitionName","displayRender","onPopupVisibleChange","changeOnSelect","expandTrigger","popupVisible","getPopupContainer","loadData","popupClassName","filterOption","renderFilteredOption","sortFilteredOption","notFoundContent","fieldNames","filedNames"]),Z=p.options,X=G(t.props);Z&&Z.length>0?d.inputValue&&(Z=t.generateFilteredOptions(I,h)):Z=[(c={},H(c,X.value,"ANT_CASCADER_NOT_FOUND"),H(c,X.label,j||h("Cascader")),H(c,"disabled",!0),H(c,"isEmptyNode",!0),c)];d.popupVisible?t.cachedOptions=Z:Z=t.cachedOptions;var Q={},J=1===(Z||[]).length&&Z[0].isEmptyNode;J&&(Q.height="auto"),!1!==A.matchInputWidth&&(d.inputValue||J)&&t.input&&(Q.width=t.input.input.offsetWidth);var $=P&&(r.isValidElement(P)?r.cloneElement(P,{className:z()((l={},H(l,P.props.className,P.props.className),H(l,"".concat(I,"-picker-arrow"),!0),l))}):r.createElement("span",{className:"".concat(I,"-picker-arrow")},P))||r.createElement(C.a,{type:"down",className:W}),ee=y||r.createElement("span",{style:k,className:Y},r.createElement("span",{className:"".concat(I,"-picker-label")},t.getLabel()),r.createElement(E.a,N({},K,{tabIndex:"-1",ref:t.saveInput,prefixCls:B,placeholder:V&&V.length>0?void 0:b,className:"".concat(I,"-input ").concat(q),value:d.inputValue,disabled:x,readOnly:!A,autoComplete:K.autoComplete||"off",onClick:A?t.handleInputClick:void 0,onBlur:A?t.handleInputBlur:void 0,onKeyDown:t.handleKeyDown,onChange:A?t.handleInputChange:void 0})),U,$),te=r.createElement(C.a,{type:"right"}),ne=r.createElement("span",{className:"".concat(I,"-menu-item-loading-icon")},r.createElement(C.a,{type:"redo",spin:!0})),re=p.getPopupContainer||s,oe=Object(T.a)(p,["inputIcon","expandIcon","loadingIcon"]);return r.createElement(S,N({},oe,{prefixCls:I,getPopupContainer:re,options:Z,value:V,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 n=l,i=[{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}}],(o=[{key:"getLabel",value:function(){var e=this.props,t=e.options,n=e.displayRender,r=void 0===n?Z:n,o=G(this.props),i=this.state.value,a=Array.isArray(i[0])?i[0]:i,l=f()(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,h=a.render,f=void 0===h?W:h,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,f(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(A.a,null,(function(t){return r.createElement(P.a,null,(function(n){return e.renderCascader(t,n)}))}))}}])&&V(n.prototype,o),i&&V(n,i),l}(r.Component);X.defaultProps={transitionName:"slide-up",popupPlacement:"bottomLeft",options:[],disabled:!1,allowClear:!0},Object(m.polyfill)(X);t.a=X},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")),h=r(n("q1tI")),f=(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!f(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}(h.Component);w.propTypes={},t.withOptions=function(e,t){return{handler:e,options:v(t)}},t.default=w},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===f.default.index?0:f.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(),f.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)}},"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 h(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,h=void 0,f=a.concat();for(c.forEach((function(e){t.match(e.reg)&&(f=f.concat(e.props),e.fix&&i.push(e.fix))})),l=f.length;l;)this[h=f[--l]]=e[h];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 f=o.default.prototype;(0,i.default)(h.prototype,f,{constructor:h,preventDefault:function(){var e=this.nativeEvent;e.preventDefault?e.preventDefault():e.returnValue=!1,f.preventDefault.call(this)},stopPropagation:function(){var e=this.nativeEvent;e.stopPropagation?e.stopPropagation():e.cancelBubble=!0,f.stopPropagation.call(this)}}),t.default=h,e.exports=t.default},EJiy:function(e,t,n){"use strict";t.__esModule=!0;var r=a(n("F+2o")),o=a(n("+JPL")),i="function"==typeof o.default&&"symbol"==typeof r.default?function(e){return typeof e}:function(e){return e&&"function"==typeof o.default&&e.constructor===o.default&&e!==o.default.prototype?"symbol":typeof e};function a(e){return e&&e.__esModule?e:{default:e}}t.default="function"==typeof o.default&&"symbol"===i(r.default)?function(e){return void 0===e?"undefined":i(e)}:function(e){return e&&"function"==typeof o.default&&e.constructor===o.default&&e!==o.default.prototype?"symbol":void 0===e?"undefined":i(e)}},ERXd: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})}))},FpHa:function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},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")}},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;n0?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 b})),n.d(t,"a",(function(){return w})),n.d(t,"c",(function(){return x}));var r=n("q1tI"),o=n("foW8"),i=n.n(o),a=n("TSYQ"),l=n.n(a),c=n("YMnH"),s=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"}))))},u=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 h(){return(h=Object.assign||function(e){for(var t=1;t=_?d.text.primary:p.text.primary}function z(e,t,n,r){!e.main&&e[t]&&(e.main=e[t]),m(e,"light",n,O),m(e,"dark",r,O),e.contrastText||(e.contrastText=M(e.main))}z(n,500,300,700),z(v,"A400","A200","A700"),z(g,500,300,700);var T={dark:d,light:p};return(0,a.default)((0,o.default)({common:h.default,type:w,primary:n,secondary:v,error:g,grey:s.default,contrastThreshold:_,getContrastText:M,augmentColor:z,tonalOffset:O},T[w]),S,{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")),h=r(n("zOe8")),f=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:h.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:h.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:h.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,f.lighten)(e.main,r):"dark"===t&&(e.dark=(0,f.darken)(e.main,1.5*r)))}t.dark=d},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},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>>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}}},JB68:function(e,t,n){var r=n("Jes0");e.exports=function(e){return Object(r(e))}},JEQr:function(e,t,n){"use strict";(function(t){var r=n("xTJ+"),o=n("yK9s"),i={"Content-Type":"application/x-www-form-urlencoded"};function a(e,t){!r.isUndefined(e)&&r.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var l,c={adapter:(("undefined"!=typeof XMLHttpRequest||void 0!==t)&&(l=n("tQ2B")),l),transformRequest:[function(e,t){return o(t,"Content-Type"),r.isFormData(e)||r.isArrayBuffer(e)||r.isBuffer(e)||r.isStream(e)||r.isFile(e)||r.isBlob(e)?e:r.isArrayBufferView(e)?e.buffer:r.isURLSearchParams(e)?(a(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):r.isObject(e)?(a(t,"application/json;charset=utf-8"),JSON.stringify(e)):e}],transformResponse:[function(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(e){}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(e){return e>=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"))},JEW2:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC4AAAAuCAYAAABXuSs3AAAK40lEQVRoQ9Wae4xU1R3HP+fcxzz2AYsgLKw8RFRAtJYaRZLWVDSiNrXBNcbER0yDjY+Y/kHtH03VpEkf/qPV2mpTo9EmDSuNhiakvgoGLagUE4WisLgLyLIs7mt2Z+Y+T3Puzh3uzt7ZXaxt4iZkMnfuzP38fuf7e5zfQfAV/SmFmM5PCYGazn1T3TOth6X9SBL0URArOhC0w/7tiONNiNWVL+0B5hdQK65C0QH721EPcxr+yxpyxuAxcAQLYmAPsieLmJVBNJmIBhMx0Dve+y1zUaM+quCj+h1UaxnVsppwP6eNOFMDpg2eBGY7srUJ0VPAaG1CzshzbibH1SiulIILELQJaJICpKCg4BjwCYJ3HYc3+wY53FMgbG0i6CmguIowXoXpGjAleBqwXcAotGGfLdlgKjYKweWAEILI1fpVQ+u/+DW6pj+TKAG7/ZBnOx22NB3Ddb+EAZOCx9C3dCDvbUd8dAjDKWLOy3O1BY8JOD8GTULra+OA6xvxqRuw6d8DvJnJ4686j+DpDtTmdkJt9GTerwseQ3eA1DoedTHNLI2zG/m1gLvGebji5QhYu1W/r8BHD6hZifhaRUpKwfPHijw02MdIg42v9d/O5PCp4Elo9mEMlDGtZubZoc4LfDNNElUvVyShYTVY/IBYPtUVio09bdS/hnzav+jjREsWn5UEk8FPAE+DJkNr1mSbgGW1kojfTymNypOqWk+sQmwMgoOjAetPnqRnKvhUcK3pdedGsWTJDE2WwTbg0vihFf1FQVir8aQBVbnUQMZBm/Z9BHtPOawv9FMAvDcOE2rN1+p9HLj2ts7P3wG5959YDTa2kecJqbizXhCmrUAskfizWOPR9RRP18pHSV7oOs6Doy7upWvwdjCWLpPwE8G3Y8xqwyj1Ys+awTWG5GVt0DhJVB4+DjCROSbouKLnVE9P1LqODeWE3Lyvm9dzc3H7jxE8fBVBKnjs7dY9GMMWdiYgn7V5RyqWJbNCraZjaczMLGdGZjmWbMYLBxhyPqQUdI8FZ5zDp/L4+NU4eOAkax2DYrOH27OaIOn1qscj8O0Yi8DsbSIzw+ZWCX9IFpOkJ8dSmcEFLfeyvOXHNNpLJrQ0A85ePhn4FZ8XN5+OhUqqjBwwmWwE+PCjj07wl7kFnG7wk16PwGu9nbPJGl6URS6rXfbYw1nzLNa1bWVOfs1UjRxHRzbzwck7UZSnpfFqloH3D42wvuRSrvV6FVwXmv3bsWa1YVujXIhgV+SUlDQmhckNS3YyJ6crPbjBEFJYmDJfNcINBjBEDkNmo2vdhZf44OTtqZkoLbtUVloNuVxxIuBA/zHcFVfh6dyutV4Ff3YPpk5/ozmyGY+NwC/rFZqVs+5jzfynIqBQ+bx8aAGN1hKuX7wruuaHRV49vICW7Gq+2/ZG1Zgdx6/mVOmtMfgpZBJ7PQj56acj/LGhRFmnx42r8avgjygk+zDngB245ITgWSG4qVbT8fvvL32PObnLIiClFG9/fisN1kK+NfexijEBO49voCVzCatmP1pdlcPDz/Bx/0Pj9V5rRI1BCl7pPMVGw6bUBy4r8R8RhELru6MDeeLSyOMZwyEf+ryO4qJqyU72GsBdKwpYRuOU2i64h+kafhFESMZowRQNlIMe+so7OFX+B3ozVPV8Mi0mngd83DXMNUGGIuDM24vfrgtSBA5ytAtrcJCsmSOvSnyMoqW2YMR5+PblveTMsycFPzz0IuWgl/Nn3ocpcxPuHXL3safvbgad9+rKJkoEgoHDRS7ySxRnzqTcsLii8zgNrjgP69hRcmYDeRXQKcBORPdYw1T5d92irSxqvrEueNew7sUCFjffOqlxQVhi54n1fFHeMQE+0c+7nYMs9Ucptp1Daf8hvCgtavB79mCuBssLyPkGDUpyUCrsetHe1ngNNyz5++mUk8ALQocPTm7i8nm/ja5+MvA0nUN/4rpFu9HZ6Eihg339P2fdObujYjXqdfPa0WUovHHwUXc85ii3s49lZsCoZVDaA94zOkA1uM4ow19g5xaS9QMacPhQUZFKpWBU29SK/q5sfZyL5zw4waPHCtsQwmBB47XRZ0cLr3JkZAtXznshMvRkcQcHh57kirkvVVPlzp7r6S3q703cgAgY6BzhG6bBaOkI5eazcKPMkgYeOmwTihXj0lZKT7F2/uOsmj0e/kD/75nfeC3N9tIpgze+YW/f/XQO/27crinR3+//bIT1qeC1UgkVTyH4Xm2fEQdnLKFlLbexbuGfGSgfiAKwyV7EZ0NbyFvzmJtfO23wd3s2cLz41+j+autc6W8UbO3u5/5UqegeJRmcfsDdKuDRehqPg3bV7Adwg0EODb0UpTbLaMASOZbOvI01rU9MC1x/f2vXOQRq5DR0YnV9wcMnhnkuNThr0yEOFzoub8Qlf5LtVmoxMYTFjUve5uz8FZPC6+K168QddI9ow09nrWgaMBaYaiRk3ZDPgdR0WFuAHIfGMGRztOtJ0Xa9fjt5b8aYybcXPMfi5h/UhX+/9z4ODT1dha6VIpK9Rwa4JZNhZEIB0jfXlnxL0FD0uDnUI4iU7dl0+wxtyNz8GpbMuIVZ2YuxZAMlvwddUZfOuIPdvT/k85FX6/brfsimwVFe9hSjE0r+WL8xlhLjJsv0yWPQ7BT5G7AkFfQMDKrdh+rfyxotZM3ZFLyD44ZHcUIQ8NmAw41uwLBvUkxtsuKyH7e1ul8JyjR4gu+GIc9ELUVaN5dyLQ2ytlmrZo/xPUk1j1e2bvcMFnjLyDKqZVK3rdWb5HjbpjcSwicfKhrKDr9Qig1fRuu1TVq9zXIyDWoHKcWWfpefScGoMinW3UjEcklu3WSWnBmSt3xmlQKeR7FyUvgpdu+1c5e0PigKTsm+gsNdRUW/LymGZUp1t25V8ITXDZNMziPn2uT9Im1ByHPA4qnGC6lSSU4FJpkGIOgqlLnbtzlmuxRLFqXAx5l0s5z0ejyeyOXJhiE5Q8Mr5nsOT0KlFUjMC+vpP87HlX6pquHa+ytzuv1lxQN+wPHApSglpVKR8pTjiaTXkwOh0CITWOSUT04pZjoeP0FxUxyw9SZX1ZycMHDcmCIu71JLmldGPH4jBIPCpGR4lKSHM+2BUAyfHMEVDWxhkjENshreD8iGsDZ02YRg0YSZYcqwKM2Iite7leCxEY93TIOyhvYDysrHyQe40x7BxeD6VbcB8aRWw2cltuORFXky0ierQnJ+yLVhSLuAVfGwKm1gFE8KKllFj9I+UoIO1+c1ISmFJmVVxMlYlMshroY+46FnPXhdnGjCCktkSpKM8MgIG8tWWF7IwiBAD1guEYLFumAKRb4CWhSCXgFdUvJhINglFUdcgadcPGXh5EIcmcOhgKe9PBV0HDOpvUTaYN8LMa0WLF9h22VsCZaG91ysjIHhGxgqQEqBCMVYyEmFChVKGIRmQOAEBJY9Bh2C52ZxTYHrDeBZEv+/GuzHltQ7Sgk8zMYGTBFgBQGmFWKWQkw7j/SKGEYGIf0x8NBEBQ7KyhO4RcKcxPckvmHgKwNvZBTfsPC/sqOUWnhdWePTNn14dWoWRiaP4esjFgfDsDFCE6kcZOghfTkGboYoaRGKDKH0CQOXwM8QmDa+UySY3U/wlR9eJTU02XGhn0UGGWQwglQlpG0gaK58e1iP6FAiR2g0EhoOoVkm/J8fF9YGwNfugLaeAfr61+JIvN525v/9nxD+A2viLnAOie98AAAAAElFTkSuQmCC"},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},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}},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")),h=r(n("7W2i")),f=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 O=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&&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;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,h=n||r||c||s;if(!e.canPlay(this.props.url)&&!h)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:f({},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;t=0;f--){var p=a[f];"."===p?i(a,f):".."===p?(i(a,f),h++):h&&(i(a,f),h--)}if(!s)for(;h--;h)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 h(e){return"/"===e.charAt(0)?e.substr(1):e}function f(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),h({action:"PUSH",location:r,index:t,entries:n})}}))},replace:function(e,t){var r=v(e,t,f(),w.location);u.confirmTransitionTo(r,"REPLACE",n,(function(e){e&&(w.entries[w.index]=r,h({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 h(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,h=new RegExp(t+"|"+n,"g"+s.replace(/g/g,"")),f=new RegExp(t,s.replace(/g/g,"")),p=[];do{for(o=0;a=h.exec(e);)if(f.test(a[0]))o++||(l=(i=h.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&&(h.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 h=0;h=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,f={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=h(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="",h="",f=n||"",p=c||"";return/^www\./i.test(r)&&(r=r.replace(/^www\./i,"http://www.")),e.excludeTrailingPunctuationFromURLs&&l&&(u=l),e.openLinksInNewWindow&&(h=' rel="noopener noreferrer" target="¨E95Eblank"'),f+'"+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 h=i.helper.splitAtIndex(e,l),f=i.helper.replaceRecursiveRegExp(h[1],o,s,u,"im");if(f===h[1])break;e=h[0].concat(f)}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)+'"',h=r-1+o.length,f=""+s+"";return i.subParser("hashBlock")(f,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,h=n.gTitles,f=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(h[r])||(s=h[r]),i.helper.isUndefined(f[r])||(a=f[r].width,l=f[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 h=i.subParser("outdent")(c,t,n),f="";return s&&t.tasklists&&(f=' class="task-list-item" style="list-style-type: none;"',h=h.replace(/^[ \t]*\[(x|X| )?]/m,(function(){var e='-1?(h=i.subParser("githubCodeBlocks")(h,t,n),h=i.subParser("blockGamut")(h,t,n)):(h=(h=i.subParser("lists")(h,t,n)).replace(/\n$/,""),h=(h=i.subParser("hashHTMLBlocks")(h,t,n)).replace(/\n\n+/g,"\n\n"),h=a?i.subParser("paragraphs")(h,t,n):i.subParser("spanGamut")(h,t,n)),h=""+(h=h.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 h=u.search(c),f=o(e,n);-1!==h?(s+="\n\n<"+n+f+">\n"+r(u.slice(0,h),!!i)+"\n",c="ul"===(n="ul"===n?"ol":"ul")?a:l,t(u.slice(h))):s+="\n\n<"+n+f+">\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)&&(h=!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)},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,h){if("string"!=typeof n){if(u){var f=s(n);f&&f!==u&&e(t,f,h)}var p=a(n);l&&(p=p.concat(l(n)));for(var d=0;d children");r=e}})),r}var k=n("i8i4"),O=n.n(k),S=n("EJiy"),M=n.n(S),z=n("/dDc"),T=n("PFWz"),E=n.n(T),C=0!==z.a.endEvents.length,A=["Webkit","Moz","O","ms"],P=["-webkit-","-moz-","-o-","ms-",""];function j(e,t){for(var n=window.getComputedStyle(e,null),r="",o=0;o children");return v.a.createElement(B,{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);W.isAnimate=!0,W.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},W.defaultProps={animation:{},component:"span",componentProps:{},transitionEnter:!0,transitionLeave:!0,transitionAppear:!1,onEnd:U,onEnter:U,onLeave:U,onAppear:U};var Y=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(F(r));e.isValidChildByKey(o,t)?"appear"===n?R.allowAppearCallback(r)&&(r.onAppear(t),r.onEnd(t,!0)):R.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(F(n));if(e.isValidChildByKey(l,t))e.performEnter(t);else{var c=function(){R.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)(W)},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"),h=n("UWiX")("iterator"),f=!([].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(!f&&e in S)return S[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,O=!1,S=e.prototype,M=S[h]||S["@@iterator"]||m&&S[m],z=M||x(m),T=m?k?x("entries"):z:void 0,E="Array"==t&&S.entries||M;if(E&&(w=u(E.call(new e)))!==Object.prototype&&w.next&&(s(w,_,!0),r||"function"==typeof w[h]||a(w,h,p)),k&&M&&"values"!==M.name&&(O=!0,z=function(){return M.call(this)}),r&&!y||!f&&!O&&S[h]||a(S,h,z),l[t]=z,l[_]=p,m)if(g={values:k?z:x("values"),keys:v?z:x("keys"),entries:T},y)for(b in g)b in S||i(S,b,g[b]);else o(o.P+o.F*(f||O),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;t0?r:n)(e)}},On6Z:function(e,t,n){},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},h={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"}},f=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=h.deflt(e.displayMode,!1),this.output=h.deflt(e.output,"htmlAndMathml"),this.leqno=h.deflt(e.leqno,!1),this.fleqn=h.deflt(e.fleqn,!1),this.throwOnError=h.deflt(e.throwOnError,!0),this.errorColor=h.deflt(e.errorColor,"#cc0000"),this.macros=e.macros||{},this.minRuleThickness=Math.max(0,h.deflt(e.minRuleThickness,0)),this.colorIsTextColor=h.deflt(e.colorIsTextColor,!1),this.strict=h.deflt(e.strict,"warn"),this.trust=h.deflt(e.trust,!1),this.maxSize=Math.max(0,h.deflt(e.maxSize,1/0)),this.maxExpand=Math.max(0,h.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=h.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 O(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 S={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 h.contains(this.classes,e)},t.toNode=function(){for(var e=document.createDocumentFragment(),t=0;t"},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.width=void 0,this.maxFontSize=void 0,this.style=void 0,T.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 h.contains(this.classes,e)},t.toNode=function(){return E.call(this,"span")},t.toMarkup=function(){return C.call(this,"span")},e}(),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.maxFontSize=void 0,this.style=void 0,T.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 h.contains(this.classes,e)},t.toNode=function(){return E.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 h.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 h.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=z(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+=h.hyphenate(r)+":"+this.style[r]+";");n&&(e=!0,t+=' style="'+h.escape(n)+'"');var o=h.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}(),R=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="",">"),Z("math",X,te,":",":"),Z("math",X,te,"≈","\\approx",!0),Z("math",X,te,"≅","\\cong",!0),Z("math",X,te,"≥","\\ge"),Z("math",X,te,"≥","\\geq",!0),Z("math",X,te,"←","\\gets"),Z("math",X,te,">","\\gt"),Z("math",X,te,"∈","\\in",!0),Z("math",X,te,"","\\@not"),Z("math",X,te,"⊂","\\subset",!0),Z("math",X,te,"⊃","\\supset",!0),Z("math",X,te,"⊆","\\subseteq",!0),Z("math",X,te,"⊇","\\supseteq",!0),Z("math",Q,te,"⊈","\\nsubseteq",!0),Z("math",Q,te,"⊉","\\nsupseteq",!0),Z("math",X,te,"⊨","\\models"),Z("math",X,te,"←","\\leftarrow",!0),Z("math",X,te,"≤","\\le"),Z("math",X,te,"≤","\\leq",!0),Z("math",X,te,"<","\\lt"),Z("math",X,te,"→","\\rightarrow",!0),Z("math",X,te,"→","\\to"),Z("math",Q,te,"≱","\\ngeq",!0),Z("math",Q,te,"≰","\\nleq",!0),Z("math",X,"spacing"," ","\\ "),Z("math",X,"spacing"," ","~"),Z("math",X,"spacing"," ","\\space"),Z("math",X,"spacing"," ","\\nobreakspace"),Z("text",X,"spacing"," ","\\ "),Z("text",X,"spacing"," ","~"),Z("text",X,"spacing"," ","\\space"),Z("text",X,"spacing"," ","\\nobreakspace"),Z("math",X,"spacing",null,"\\nobreak"),Z("math",X,"spacing",null,"\\allowbreak"),Z("math",X,"punct",",",","),Z("math",X,"punct",";",";"),Z("math",Q,J,"⊼","\\barwedge",!0),Z("math",Q,J,"⊻","\\veebar",!0),Z("math",X,J,"⊙","\\odot",!0),Z("math",X,J,"⊕","\\oplus",!0),Z("math",X,J,"⊗","\\otimes",!0),Z("math",X,"textord","∂","\\partial",!0),Z("math",X,J,"⊘","\\oslash",!0),Z("math",Q,J,"⊚","\\circledcirc",!0),Z("math",Q,J,"⊡","\\boxdot",!0),Z("math",X,J,"△","\\bigtriangleup"),Z("math",X,J,"▽","\\bigtriangledown"),Z("math",X,J,"†","\\dagger"),Z("math",X,J,"⋄","\\diamond"),Z("math",X,J,"⋆","\\star"),Z("math",X,J,"◃","\\triangleleft"),Z("math",X,J,"▹","\\triangleright"),Z("math",X,"open","{","\\{"),Z("text",X,"textord","{","\\{"),Z("text",X,"textord","{","\\textbraceleft"),Z("math",X,"close","}","\\}"),Z("text",X,"textord","}","\\}"),Z("text",X,"textord","}","\\textbraceright"),Z("math",X,"open","{","\\lbrace"),Z("math",X,"close","}","\\rbrace"),Z("math",X,"open","[","\\lbrack"),Z("text",X,"textord","[","\\lbrack"),Z("math",X,"close","]","\\rbrack"),Z("text",X,"textord","]","\\rbrack"),Z("math",X,"open","(","\\lparen"),Z("math",X,"close",")","\\rparen"),Z("text",X,"textord","<","\\textless"),Z("text",X,"textord",">","\\textgreater"),Z("math",X,"open","⌊","\\lfloor",!0),Z("math",X,"close","⌋","\\rfloor",!0),Z("math",X,"open","⌈","\\lceil",!0),Z("math",X,"close","⌉","\\rceil",!0),Z("math",X,"textord","\\","\\backslash"),Z("math",X,"textord","∣","|"),Z("math",X,"textord","∣","\\vert"),Z("text",X,"textord","|","\\textbar"),Z("math",X,"textord","∥","\\|"),Z("math",X,"textord","∥","\\Vert"),Z("text",X,"textord","∥","\\textbardbl"),Z("text",X,"textord","~","\\textasciitilde"),Z("text",X,"textord","\\","\\textbackslash"),Z("text",X,"textord","^","\\textasciicircum"),Z("math",X,te,"↑","\\uparrow",!0),Z("math",X,te,"⇑","\\Uparrow",!0),Z("math",X,te,"↓","\\downarrow",!0),Z("math",X,te,"⇓","\\Downarrow",!0),Z("math",X,te,"↕","\\updownarrow",!0),Z("math",X,te,"⇕","\\Updownarrow",!0),Z("math",X,ee,"∐","\\coprod"),Z("math",X,ee,"⋁","\\bigvee"),Z("math",X,ee,"⋀","\\bigwedge"),Z("math",X,ee,"⨄","\\biguplus"),Z("math",X,ee,"⋂","\\bigcap"),Z("math",X,ee,"⋃","\\bigcup"),Z("math",X,ee,"∫","\\int"),Z("math",X,ee,"∫","\\intop"),Z("math",X,ee,"∬","\\iint"),Z("math",X,ee,"∭","\\iiint"),Z("math",X,ee,"∏","\\prod"),Z("math",X,ee,"∑","\\sum"),Z("math",X,ee,"⨂","\\bigotimes"),Z("math",X,ee,"⨁","\\bigoplus"),Z("math",X,ee,"⨀","\\bigodot"),Z("math",X,ee,"∮","\\oint"),Z("math",X,ee,"∯","\\oiint"),Z("math",X,ee,"∰","\\oiiint"),Z("math",X,ee,"⨆","\\bigsqcup"),Z("math",X,ee,"∫","\\smallint"),Z("text",X,"inner","…","\\textellipsis"),Z("math",X,"inner","…","\\mathellipsis"),Z("text",X,"inner","…","\\ldots",!0),Z("math",X,"inner","…","\\ldots",!0),Z("math",X,"inner","⋯","\\@cdots",!0),Z("math",X,"inner","⋱","\\ddots",!0),Z("math",X,"textord","⋮","\\varvdots"),Z("math",X,"accent-token","ˊ","\\acute"),Z("math",X,"accent-token","ˋ","\\grave"),Z("math",X,"accent-token","¨","\\ddot"),Z("math",X,"accent-token","~","\\tilde"),Z("math",X,"accent-token","ˉ","\\bar"),Z("math",X,"accent-token","˘","\\breve"),Z("math",X,"accent-token","ˇ","\\check"),Z("math",X,"accent-token","^","\\hat"),Z("math",X,"accent-token","⃗","\\vec"),Z("math",X,"accent-token","˙","\\dot"),Z("math",X,"accent-token","˚","\\mathring"),Z("math",X,$,"ı","\\imath",!0),Z("math",X,$,"ȷ","\\jmath",!0),Z("text",X,"textord","ı","\\i",!0),Z("text",X,"textord","ȷ","\\j",!0),Z("text",X,"textord","ß","\\ss",!0),Z("text",X,"textord","æ","\\ae",!0),Z("text",X,"textord","æ","\\ae",!0),Z("text",X,"textord","œ","\\oe",!0),Z("text",X,"textord","ø","\\o",!0),Z("text",X,"textord","Æ","\\AE",!0),Z("text",X,"textord","Œ","\\OE",!0),Z("text",X,"textord","Ø","\\O",!0),Z("text",X,"accent-token","ˊ","\\'"),Z("text",X,"accent-token","ˋ","\\`"),Z("text",X,"accent-token","ˆ","\\^"),Z("text",X,"accent-token","˜","\\~"),Z("text",X,"accent-token","ˉ","\\="),Z("text",X,"accent-token","˘","\\u"),Z("text",X,"accent-token","˙","\\."),Z("text",X,"accent-token","˚","\\r"),Z("text",X,"accent-token","ˇ","\\v"),Z("text",X,"accent-token","¨",'\\"'),Z("text",X,"accent-token","˝","\\H"),Z("text",X,"accent-token","◯","\\textcircled");var ne={"--":!0,"---":!0,"``":!0,"''":!0};Z("text",X,"textord","–","--"),Z("text",X,"textord","–","\\textendash"),Z("text",X,"textord","—","---"),Z("text",X,"textord","—","\\textemdash"),Z("text",X,"textord","‘","`"),Z("text",X,"textord","‘","\\textquoteleft"),Z("text",X,"textord","’","'"),Z("text",X,"textord","’","\\textquoteright"),Z("text",X,"textord","“","``"),Z("text",X,"textord","“","\\textquotedblleft"),Z("text",X,"textord","”","''"),Z("text",X,"textord","”","\\textquotedblright"),Z("math",X,"textord","°","\\degree",!0),Z("text",X,"textord","°","\\degree"),Z("text",X,"textord","°","\\textdegree",!0),Z("math",X,$,"£","\\pounds"),Z("math",X,$,"£","\\mathsterling",!0),Z("text",X,$,"£","\\pounds"),Z("text",X,$,"£","\\textsterling",!0),Z("math",Q,"textord","✠","\\maltese"),Z("text",Q,"textord","✠","\\maltese"),Z("text",X,"spacing"," ","\\ "),Z("text",X,"spacing"," "," "),Z("text",X,"spacing"," ","~");for(var re=0;re<'0123456789/@."'.length;re++){var oe='0123456789/@."'.charAt(re);Z("math",X,"textord",oe,oe)}for(var ie=0;ie<'0123456789!@*()-=+[]<>|";:?/.,'.length;ie++){var ae='0123456789!@*()-=+[]<>|";:?/.,'.charAt(ie);Z("text",X,"textord",ae,ae)}for(var le="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",ce=0;ce=5?0:e>=3?1:2]){var n=U[t]={cssEmPerMu:B.quad[t]/18};for(var r in B)B.hasOwnProperty(r)&&(n[r]=B[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,Oe={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},Se={ex:!0,em:!0,mu:!0},Me=function(e){return"string"!=typeof e&&(e=e.unit),e in Oe||e in Se||"ex"===e},ze=function(e,t){var n;if(e.unit in Oe)n=Oe[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)},Te=["\\imath","ı","\\jmath","ȷ","\\pounds","\\mathsterling","\\textsterling","£"],Ee=function(e,t,n){return K[n][e]&&K[n][e].replace&&(e=K[n][e].replace),{value:e,metrics:F(e,t,n)}},Ce=function(e,t,n,r,o){var i,a=Ee(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},Ae=function(e,t){if(z(e.classes)!==z(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},Pe=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 A(e,t,n,r);return Pe(o),o},Le=function(e,t,n,r){return new A(e,t,n,r)},Ne=function(e){var t=new M(e);return Pe(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")},Ve={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"}},Re={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},Ie={fontMap:Ve,makeSymbol:Ce,mathsym:function(e,t,n,r){return void 0===r&&(r=[]),"boldsymbol"===n.font&&Ee(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 P(e,t,n,r);return Pe(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 h.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 h.contains(["\\imath","\\jmath"],o)?null:(K[r][o]&&K[r][o].replace&&(o=K[r][o].replace),F(o,Ie.fontMap[n].fontName,r)?Ie.fontMap[n].variant:null)},_t=function(e,t,n){if(1===e.length){var r=Ot(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))},Ot=function(e,t){if(!e)return new gt.MathNode("mrow");if(Je[e.type])return Je[e.type](e,t);throw new a("Got group of unknown type: '"+e.type+"'")};function St(e,t,n,r){var o,i=_t(e,n);o=1===i.length&&i[0]instanceof vt&&h.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 Ie.makeSpan([s],[c])}var Mt=function(e){return new ke({style:e.displayMode?x.DISPLAY:x.TEXT,maxSize:e.maxSize,minRuleThickness:e.minRuleThickness})},zt=function(e,t){if(t.displayMode){var n=["katex-display"];t.leqno&&n.push("leqno"),t.fleqn&&n.push("fleqn"),e=Ie.makeSpan(n,[e])}return e},Tt=function(e,t,n){var r,o=Mt(n);if("mathml"===n.output)return St(e,t,o,!0);if("html"===n.output){var i=dt(e,o);r=Ie.makeSpan(["katex"],[i])}else{var a=St(e,t,o,!1),l=dt(e,o);r=Ie.makeSpan(["katex"],[a,l])}return zt(r,n)},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:"⇋"},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]},At=function(e,t,n,r){var o,i=e.height+e.depth+2*n;if(/fbox|color/.test(t)){if(o=Ie.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 R({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(t)&&l.push(new R({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var c=new H(l,{width:"100%",height:i+"em"});o=Ie.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},jt=function(e,t){var n=function(){var n=4e5,r=e.label.substr(1);if(h.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 V(i),u=new H([s],{width:"100%",height:a+"em",viewBox:"0 0 "+n+" "+o,preserveAspectRatio:"none"});return{span:Ie.makeSvgSpan([],[u],t),minWidth:0,height:a}}var f,p,d,m=[],v=Ct[r],y=v[0],g=v[1],b=v[2],w=b/1e3,x=y.length;if(1===x)f=["hide-tail"],p=[v[3]];else if(2===x)f=["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.");f=["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=Be(e,"supsub");i?(n=(r=De(i.base,"accent")).base,i.base=n,o=function(e){if(e instanceof A)return e;throw new Error("Expected span but got "+String(e)+".")}(ft(i,t)),i.base=r):n=(r=De(e,"accent")).base;var a=ft(n,t.havingCrampedStyle()),l=0;if(r.isShifty&&h.isCharacterBox(n)){var c=h.getBaseElem(n);l=I(ft(c,t.havingCrampedStyle())).skew}var s,u=Math.min(a.height,t.fontMetrics().xHeight);if(r.isStretchy)s=jt(r,t),s=Ie.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 f,p;"\\vec"===r.label?(f=Ie.staticSvg("vec",t),p=Ie.svgData.vec[1]):((f=I(f=Ie.makeOrd({mode:r.mode,text:r.label},t,"textord"))).italic=0,p=f.width),s=Ie.makeSpan(["accent-body"],[f]);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=Ie.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"kern",size:-u},{type:"elem",elem:s}]},t)}var v=Ie.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?Pt(e.label):new gt.MathNode("mo",[bt(e.label,e.mode)]),r=new gt.MathNode("mover",[Ot(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=ft(e.base,t),r=jt(e,t),o="\\utilde"===e.label?.12:0,i=Ie.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 Ie.makeSpan(["mord","accentunder"],[i],t)},mathmlBuilder:function(e,t){var n=Pt(e.label),r=new gt.MathNode("munder",[Ot(e.base,t),n]);return r.setAttribute("accentunder","true"),r}});var Vt=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=Ie.wrapFragment(ft(e.body,o,t),t);i.classes.push("x-arrow-pad"),e.below&&(o=t.havingStyle(r.sub()),(n=Ie.wrapFragment(ft(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=Ie.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=Ie.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"),Ie.makeSpan(["mrel","x-arrow"],[a],t)},mathmlBuilder:function(e,t){var n,r=Pt(e.label);if(e.body){var o=Vt(Ot(e.body,t));if(e.below){var i=Vt(Ot(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=Vt(Ot(e.below,t));n=new gt.MathNode("munder",[r,a])}else n=Vt(),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],Jt=[{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=h.contains(Xt,e)?Jt:h.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=Ie.makeSymbol(e,"Main-Regular",o,r),l=Bt(a,t,r,i);return n&&qt(l,r,t),l}(e,l.style,n,r,o,i):"large"===l.type?Ft(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"),h.contains(Kt,e)||h.contains(Xt,e))return Ft(e,t,!1,n,r,o);if(h.contains(Zt,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 hn(e,t){var n=Ue(e);if(n&&h.contains(un,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=hn(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?Ie.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:hn(t[0],e).text,color:n}}}),$e({type:"leftright",names:["\\left"],props:{numArgs:1},handler:function(e,t){var n=hn(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",[Ot(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&&(O<(T+=g)&&(O=T),T=0),e.addJot&&(O+=m),S.height=k,S.depth=O,b+=k,S.pos=b,b+=O+T,c[n]=S,w(i[n+1])}var E,C,A=b/2+t.fontMetrics().axisHeight,P=e.cols||[],j=[];for(r=0,C=0;r=l)){var R=void 0;(r>0||e.hskipBeforeAndAfter)&&0!==(R=h.deflt(L.pregap,p))&&((E=Ie.makeSpan(["arraycolsep"],[])).style.width=R+"em",j.push(E));var I=[];for(n=0;n0){for(var F=Ie.makeLineSpan("hline",t,u),U=Ie.makeLineSpan("hdashline",t,u),W=[{type:"elem",elem:c,shift:0}];s.length>0;){var Y=s.pop(),G=Y.pos-A;Y.isDashed?W.push({type:"elem",elem:U,shift:G}):W.push({type:"elem",elem:F,shift:G})}c=Ie.makeVList({positionType:"individualShift",children:W},t)}return Ie.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",[Ot(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 h=s;h0?"left ":"",o+=v[v.length-1].length>0?"right ":"";for(var y=1;y0&&h&&(d=1),r[f]={type:"align",align:p,pregap:d,postgap:0}}return o.colSeparationType=h?"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=Fe(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=Fe(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 On=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=Pn(e.size,t.style),o=r.fracNum(),i=r.fracDen();n=t.havingStyle(o);var a=ft(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*h:7*h,d=t.fontMetrics().denom1):(u>0?(f=t.fontMetrics().num2,p=h):(f=t.fontMetrics().num3,p=3*h),d=t.fontMetrics().denom2),s){var w=t.fontMetrics().axisHeight;f-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=Be(t[0],"atom");i&&(i=qe(t[0],"open"));var a=i?Hn(i.text):null,l=Be(t[1],"atom");l&&(l=qe(t[1],"close"));var c,s=l?Hn(l.text):null,u=De(t[2],"size"),h=null;c=!!u.isBlank||(h=u.value).number>0;var f="auto",p=Be(t[3],"ordgroup");if(p){if(p.body.length>0){var d=De(p.body[0],"textord");f=Nn[Number(d.text)]}}else p=De(t[3],"textord"),f=Nn[Number(p.text)];return{type:"genfrac",mode:n.mode,numer:r,denom:o,continued:!1,hasBarLine:c,barSize:h,leftDelim:a,rightDelim:s,size:f}},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 Vn=function(e,t){var n,r,o=t.style,i=Be(e,"supsub");i?(n=i.sup?ft(i.sup,t.havingStyle(o.sup()),t):ft(i.sub,t.havingStyle(o.sub()),t),r=De(i.base,"horizBrace")):r=De(e,"horizBrace");var a,l=ft(r.base,t.havingBaseStyle(x.DISPLAY)),c=jt(r,t);if(r.isOver?(a=Ie.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=Ie.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=Ie.makeSpan(["mord",r.isOver?"mover":"munder"],[a],t);a=r.isOver?Ie.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:s},{type:"kern",size:.2},{type:"elem",elem:n}]},t):Ie.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 Ie.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:Vn,mathmlBuilder:function(e,t){var n=Pt(e.label);return new gt.MathNode(e.isOver?"mover":"munder",[Ot(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 Ie.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=ze(e.totalheight,t)-n,r=Number(r.toFixed(2)));var o=0;e.width.number>0&&(o=ze(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=ze(e.height,t),o=0;if(e.totalheight.number>0&&(o=(o=ze(e.totalheight,t)-r).toFixed(2),n.setAttribute("valign","-"+o+"em")),n.setAttribute("height",r+o+"em"),e.width.number>0){var i=ze(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 Ie.makeGlue(e.dimension,t)},mathmlBuilder:function(e,t){var n=ze(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=Ie.makeSpan([],[ft(e.body,t)]),n=Ie.makeSpan(["inner"],[n],t)):n=Ie.makeSpan(["inner"],[ft(e.body,t)]);var r=Ie.makeSpan(["fix"],[]),o=Ie.makeSpan([e.alignment],[n,r],t),i=Ie.makeSpan(["strut"]);return i.style.height=o.height+o.depth+"em",i.style.verticalAlign=-o.depth+"em",o.children.unshift(i),o=Ie.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:o}]},t),Ie.makeSpan(["mord"],[o],t)},mathmlBuilder:function(e,t){var n=new gt.MathNode("mpadded",[Ot(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 Ie.makeFragment(r)},mathmlBuilder:function(e,t){var n=In(e,t);return kt(n,t)}});var Dn=function(e,t,n,r,o,i,a){var l,c,s;if(e=Ie.makeSpan([],[e]),t){var u=ft(t,r.havingStyle(o.sup()),r);c={elem:u,kern:Math.max(r.fontMetrics().bigOpSpacing1,r.fontMetrics().bigOpSpacing3-u.depth)}}if(n){var h=ft(n,r.havingStyle(o.sub()),r);l={elem:h,kern:Math.max(r.fontMetrics().bigOpSpacing2,r.fontMetrics().bigOpSpacing4-h.height)}}if(c&&l){var f=r.fontMetrics().bigOpSpacing5+l.elem.height+l.elem.depth+l.kern+e.depth+a;s=Ie.makeVList({positionType:"bottom",positionData:f,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=Ie.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=Ie.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 Ie.makeSpan(["mop","op-limits"],[s],r)},Bn=["\\smallint"],qn=function(e,t){var n,r,o,i=!1,a=Be(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&&!h.contains(Bn,o.name)&&(s=!0),o.symbol){var u=s?"Size2-Regular":"Size1-Regular",f="";if("\\oiint"!==o.name&&"\\oiiint"!==o.name||(f=o.name.substr(1),o.name="oiint"===f?"\\iint":"\\iiint"),l=Ie.makeSymbol(o.name,u,"math",t,["mop","op-symbol",s?"large-op":"small-op"]),f.length>0){var p=l.italic,d=Ie.staticSvg(f+"Size"+(s?"2":"1"),t);l=Ie.makeVList({positionType:"individualShift",children:[{type:"elem",elem:l,shift:0},{type:"elem",elem:d,shift:s?.08:0}]},t),o.name="\\"+f,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=Ie.makeSpan(["mop"],Ie.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+h-n.height-n.depth)/2);var f=c.height-n.height-i-s;n.style.paddingLeft=u+"em";var p=Ie.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:-(n.height+f)},{type:"elem",elem:c},{type:"kern",size:s}]},t);if(e.index){var d=t.havingStyle(x.SCRIPTSCRIPT),m=ft(e.index,d,t),v=.6*(p.height-p.depth),y=Ie.makeVList({positionType:"shift",positionData:-v,children:[{type:"elem",elem:m}]},t),g=Ie.makeSpan(["root"],[y]);return Ie.makeSpan(["mord","sqrt"],[g,p],t)}return Ie.makeSpan(["mord","sqrt"],[p],t)},mathmlBuilder:function(e,t){var n=e.body,r=e.index;return r?new gt.MathNode("mroot",[Ot(n,t),Ot(r,t)]):new gt.MathNode("msqrt",[Ot(n,t)])}});var Zn={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=Zn[e.style],r=t.havingStyle(n).withFont("");return Gn(e.body,r,t)},mathmlBuilder:function(e,t){var n=Zn[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?h.isCharacterBox(n.base)?Lt:null:"horizBrace"===n.type&&!e.sub===n.isOver?Vn:null:null}(e,t);if(n)return n(e,t);var r,o,i,a=e.base,l=e.sup,c=e.sub,s=ft(a,t),u=t.fontMetrics(),f=0,p=0,d=a&&h.isCharacterBox(a);if(l){var m=t.havingStyle(t.style.sup());r=ft(l,m,t),d||(f=s.height-m.fontMetrics().supDrop*m.sizeMultiplier/t.sizeMultiplier)}if(c){var v=t.havingStyle(t.style.sub());o=ft(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){f=Math.max(f,i,r.depth+.25*u.xHeight),p=Math.max(p,u.sub2);var k=4*u.defaultRuleThickness;if(f-r.depth-(o.height-p)0&&(f+=O,p-=O)}var S=[{type:"elem",elem:o,shift:p,marginRight:b,marginLeft:w},{type:"elem",elem:r,shift:-f,marginRight:b}];y=Ie.makeVList({positionType:"individualShift",children:S},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=Ie.makeVList({positionType:"shift",positionData:p,children:M},t)}else{if(!r)throw new Error("supsub must have either sup or sub.");f=Math.max(f,i,r.depth+.25*u.xHeight),y=Ie.makeVList({positionType:"shift",positionData:-f,children:[{type:"elem",elem:r,marginRight:b}]},t)}var z=ut(s,"right")||"mord";return Ie.makeSpan([z],[s,Ie.makeSpan(["msupsub"],[y])],t)},mathmlBuilder:function(e,t){var n,r=!1,o=Be(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=[Ot(e.base,t)];if(e.sub&&a.push(Ot(e.sub,t)),e.sup&&a.push(Ot(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 Ie.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 Ie.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 Ie.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 Qn={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},Jn={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};et({type:"spacing",htmlBuilder:function(e,t){if(Jn.hasOwnProperty(e.text)){var n=Jn[e.text].className||"";if("text"===e.mode){var r=Ie.makeOrd(e,t,"textord");return r.classes.push(n),r}return Ie.makeSpan(["mspace",n],[Ie.mathsym(e.text,e.mode,t)],t)}if(Qn.hasOwnProperty(e.text))return Ie.makeSpan(["mspace",Qn[e.text]],[],t);throw new a('Unknown type of space "'+e.text+'"')},mathmlBuilder:function(e,t){if(!Jn.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 Ie.makeSpan(["mord","text"],Ie.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=ft(e.body,t),r=Ie.makeLineSpan("underline-line",t),o=t.fontMetrics().defaultRuleThickness,i=Ie.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 Ie.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",[Ot(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={},hr=ur;function fr(e,t){ur[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 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};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=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"};fr("\\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&&h.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};fr("\\dotso",(function(e){return e.future().text in yr?"\\ldots\\,":"\\ldots"})),fr("\\dotsc",(function(e){var t=e.future().text;return t in yr&&","!==t?"\\ldots\\,":"\\ldots"})),fr("\\cdots",(function(e){return e.future().text in yr?"\\@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 gr=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{"+gr+"}{\\scriptstyle A}\\kern-.15em\\TeX}{LaTeX}}"),fr("\\KaTeX","\\textrm{\\html@mathml{K\\kern-.17em\\raisebox{"+gr+"}{\\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 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(hr,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,h=this.parseGroupOfType("argument to '"+e+"'",c,s,r,u);if(!h){if(s){i.push(null);continue}throw new a("Expected group after '"+e+"'",this.fetch())}(s?i:o).push(h)}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(),h=0,f=u;(c=this.fetch()).text!==o||n&&h>0;){switch(c.text){case"EOF":throw new a("Unexpected end of input in "+e,u.range(f,s));case r:h++;break;case o:h--}s+=(f=c).text,this.consume()}return this.expect(o),this.mode=l,u.range(f,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,h=this.fetch(),f=h.text;if(n?"["===f:"{"===f||"\\begingroup"===f){this.consume();var p=e.endOfGroup[f];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(h,m),body:d,semisimple:"\\begingroup"===f||void 0}}else if(n)u=null;else if(null==(u=this.parseFunction(i,t,o)||this.parseSymbol())&&"\\"===f[0]&&!br.hasOwnProperty(f)){if(this.settings.throwOnError)throw new a("Undefined control sequence: "+f,h);u=this.formatUnsupportedCmd(f),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 h=s;c={type:"atom",mode:this.mode,family:h,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&&(O(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 f=0;f=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}},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,h=o.default.object,f=o.default.func,p=o.default.node,d={url:s([i,c,h]),playing:a,loop:a,controls:a,volume:l,muted:a,playbackRate:l,width:s([i,l]),height:s([i,l]),style:h,progressInterval:l,playsinline:a,pip:a,light:s([a,i]),playIcon:p,wrapper:s([i,f,u({render:f.isRequired})]),config:u({soundcloud:u({options:h,preload:a}),youtube:u({playerVars:h,embedOptions:h,preload:a}),facebook:u({appId:i,version:i,playerId:i}),dailymotion:u({params:h,preload:a}),vimeo:u({playerOptions:h,preload:a}),file:u({attributes:h,tracks:c,forceVideo:a,forceAudio:a,forceHLS:a,forceDASH:a,hlsOptions:h,hlsVersion:i,dashVersion:i}),wistia:u({options:h}),mixcloud:u({options:h}),twitch:u({options:h,playerId:i})}),onReady:f,onStart:f,onPlay:f,onPause:f,onBuffer:f,onBufferEnd:f,onEnded:f,onError:f,onDuration:f,onSeek:f,onProgress:f,onEnablePIP:f,onDisablePIP:f};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"]},QbLZ:function(e,t,n){"use strict";t.__esModule=!0;var r,o=n("P2sY"),i=(r=o)&&r.__esModule?r:{default:r};t.default=i.default||function(e){for(var t=1;ts;)c.call(e,a=l[s++])&&t.push(a);return t}},"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('