rapidfireai 0.0.1__py3-none-any.whl → 0.9.10__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of rapidfireai might be problematic. Click here for more details.

Files changed (320) hide show
  1. rapidfireai/__init__.py +11 -5
  2. rapidfireai/automl/__init__.py +20 -0
  3. rapidfireai/automl/base.py +48 -0
  4. rapidfireai/automl/datatypes.py +42 -0
  5. rapidfireai/automl/grid_search.py +125 -0
  6. rapidfireai/automl/model_config.py +102 -0
  7. rapidfireai/automl/random_search.py +145 -0
  8. rapidfireai/backend/__init__.py +0 -0
  9. rapidfireai/backend/chunks.py +63 -0
  10. rapidfireai/backend/controller.py +637 -0
  11. rapidfireai/backend/scheduler.py +137 -0
  12. rapidfireai/backend/worker.py +272 -0
  13. rapidfireai/cli.py +380 -0
  14. rapidfireai/db/__init__.py +0 -0
  15. rapidfireai/db/db_interface.py +135 -0
  16. rapidfireai/db/rf_db.py +694 -0
  17. rapidfireai/db/tables.sql +64 -0
  18. rapidfireai/dispatcher/dispatcher.py +391 -0
  19. rapidfireai/dispatcher/gunicorn.conf.py +25 -0
  20. rapidfireai/experiment.py +168 -0
  21. rapidfireai/frontend/build/asset-manifest.json +276 -0
  22. rapidfireai/frontend/build/favicon.ico +0 -0
  23. rapidfireai/frontend/build/index.html +1 -0
  24. rapidfireai/frontend/build/manifest.json +15 -0
  25. rapidfireai/frontend/build/pdf.worker.js +1 -0
  26. rapidfireai/frontend/build/report.html +39 -0
  27. rapidfireai/frontend/build/static/css/1482.3b7bf531.chunk.css +1 -0
  28. rapidfireai/frontend/build/static/css/2730.3f8937ff.chunk.css +1 -0
  29. rapidfireai/frontend/build/static/css/318.0def90a7.css +7 -0
  30. rapidfireai/frontend/build/static/css/4762.9b7b71f7.chunk.css +1 -0
  31. rapidfireai/frontend/build/static/css/4950.487ecc8b.chunk.css +1 -0
  32. rapidfireai/frontend/build/static/css/5170.2574ce9d.chunk.css +1 -0
  33. rapidfireai/frontend/build/static/css/6121.4d541986.chunk.css +1 -0
  34. rapidfireai/frontend/build/static/css/6343.dd6979f2.chunk.css +1 -0
  35. rapidfireai/frontend/build/static/css/6534.433c213f.chunk.css +1 -0
  36. rapidfireai/frontend/build/static/css/6920.ffac4b2a.css +2 -0
  37. rapidfireai/frontend/build/static/css/7246.bf2f0c87.css +9 -0
  38. rapidfireai/frontend/build/static/css/7367.dd6979f2.chunk.css +1 -0
  39. rapidfireai/frontend/build/static/css/8690.05d081e5.chunk.css +1 -0
  40. rapidfireai/frontend/build/static/css/9531.d0910d3c.chunk.css +1 -0
  41. rapidfireai/frontend/build/static/css/9780.363e4943.chunk.css +1 -0
  42. rapidfireai/frontend/build/static/css/main~d91a9049.c0be472c.css +1 -0
  43. rapidfireai/frontend/build/static/js/1000.e5ed264b.chunk.js +1 -0
  44. rapidfireai/frontend/build/static/js/1012.ac98ab59.chunk.js +1 -0
  45. rapidfireai/frontend/build/static/js/1079.6c13ac0d.js +1 -0
  46. rapidfireai/frontend/build/static/js/110.9059f3b8.chunk.js +1 -0
  47. rapidfireai/frontend/build/static/js/1142.872d0010.chunk.js +1 -0
  48. rapidfireai/frontend/build/static/js/1167.9a6da14c.chunk.js +1 -0
  49. rapidfireai/frontend/build/static/js/1248.60890b4f.chunk.js +1 -0
  50. rapidfireai/frontend/build/static/js/1262.83dc7673.chunk.js +1 -0
  51. rapidfireai/frontend/build/static/js/1273.56da3e13.chunk.js +2 -0
  52. rapidfireai/frontend/build/static/js/1273.56da3e13.chunk.js.LICENSE.txt +9 -0
  53. rapidfireai/frontend/build/static/js/1303.7d19305c.chunk.js +1 -0
  54. rapidfireai/frontend/build/static/js/1351.45076ff3.chunk.js +1 -0
  55. rapidfireai/frontend/build/static/js/1355.b896a592.js +1 -0
  56. rapidfireai/frontend/build/static/js/1357.02c46a02.chunk.js +1 -0
  57. rapidfireai/frontend/build/static/js/1470.c51d60c6.chunk.js +1 -0
  58. rapidfireai/frontend/build/static/js/1482.23b74f50.chunk.js +1 -0
  59. rapidfireai/frontend/build/static/js/1500.19799d8d.chunk.js +1 -0
  60. rapidfireai/frontend/build/static/js/1648.d3b9edc7.chunk.js +1 -0
  61. rapidfireai/frontend/build/static/js/1860.7d96e3f9.chunk.js +1 -0
  62. rapidfireai/frontend/build/static/js/1909.5b1d9ff4.chunk.js +1 -0
  63. rapidfireai/frontend/build/static/js/1928.44245110.chunk.js +2 -0
  64. rapidfireai/frontend/build/static/js/1928.44245110.chunk.js.LICENSE.txt +11 -0
  65. rapidfireai/frontend/build/static/js/1933.deba26ca.chunk.js +1 -0
  66. rapidfireai/frontend/build/static/js/21.aac92802.chunk.js +1 -0
  67. rapidfireai/frontend/build/static/js/2103.0ca12071.chunk.js +1 -0
  68. rapidfireai/frontend/build/static/js/2258.b3b8fab4.chunk.js +1 -0
  69. rapidfireai/frontend/build/static/js/2289.9ad51e87.chunk.js +1 -0
  70. rapidfireai/frontend/build/static/js/2323.7dd927d7.js +2 -0
  71. rapidfireai/frontend/build/static/js/2323.7dd927d7.js.LICENSE.txt +1 -0
  72. rapidfireai/frontend/build/static/js/2346.ed99ca72.chunk.js +1 -0
  73. rapidfireai/frontend/build/static/js/2386.0a660834.chunk.js +1 -0
  74. rapidfireai/frontend/build/static/js/2402.465048f9.chunk.js +1 -0
  75. rapidfireai/frontend/build/static/js/243.5a83bbca.chunk.js +1 -0
  76. rapidfireai/frontend/build/static/js/2589.68571e16.js +1 -0
  77. rapidfireai/frontend/build/static/js/2647.65092bab.chunk.js +1 -0
  78. rapidfireai/frontend/build/static/js/2691.65d4a4e7.js +1 -0
  79. rapidfireai/frontend/build/static/js/2730.b38dd6f3.chunk.js +1 -0
  80. rapidfireai/frontend/build/static/js/2746.ef752da4.chunk.js +1 -0
  81. rapidfireai/frontend/build/static/js/2779.580d4491.chunk.js +1 -0
  82. rapidfireai/frontend/build/static/js/2799.fe5993b2.chunk.js +1 -0
  83. rapidfireai/frontend/build/static/js/2844.9708db79.chunk.js +2 -0
  84. rapidfireai/frontend/build/static/js/2844.9708db79.chunk.js.LICENSE.txt +21 -0
  85. rapidfireai/frontend/build/static/js/2901.ee0c606b.chunk.js +1 -0
  86. rapidfireai/frontend/build/static/js/2932.7cc0689b.chunk.js +2 -0
  87. rapidfireai/frontend/build/static/js/2932.7cc0689b.chunk.js.LICENSE.txt +6 -0
  88. rapidfireai/frontend/build/static/js/2956.a393c8cc.chunk.js +1 -0
  89. rapidfireai/frontend/build/static/js/2972.679bed05.chunk.js +1 -0
  90. rapidfireai/frontend/build/static/js/2985.7e51cdfa.chunk.js +2 -0
  91. rapidfireai/frontend/build/static/js/2985.7e51cdfa.chunk.js.LICENSE.txt +51 -0
  92. rapidfireai/frontend/build/static/js/3093.488df653.js +1 -0
  93. rapidfireai/frontend/build/static/js/3145.66ee61b9.js +1 -0
  94. rapidfireai/frontend/build/static/js/3170.a22f966a.chunk.js +2 -0
  95. rapidfireai/frontend/build/static/js/3170.a22f966a.chunk.js.LICENSE.txt +21 -0
  96. rapidfireai/frontend/build/static/js/3307.f6fb258c.chunk.js +1 -0
  97. rapidfireai/frontend/build/static/js/3325.d5b03d65.js +1 -0
  98. rapidfireai/frontend/build/static/js/3334.2d6704df.chunk.js +2 -0
  99. rapidfireai/frontend/build/static/js/3334.2d6704df.chunk.js.LICENSE.txt +6 -0
  100. rapidfireai/frontend/build/static/js/3387.bb8edad3.chunk.js +1 -0
  101. rapidfireai/frontend/build/static/js/3448.438e6579.chunk.js +1 -0
  102. rapidfireai/frontend/build/static/js/3460.735eea87.chunk.js +1 -0
  103. rapidfireai/frontend/build/static/js/3505.7fd3921a.js +2 -0
  104. rapidfireai/frontend/build/static/js/3505.7fd3921a.js.LICENSE.txt +9 -0
  105. rapidfireai/frontend/build/static/js/3510.cd167a00.js +2 -0
  106. rapidfireai/frontend/build/static/js/3510.cd167a00.js.LICENSE.txt +18 -0
  107. rapidfireai/frontend/build/static/js/3563.cc828e19.chunk.js +1 -0
  108. rapidfireai/frontend/build/static/js/359.08960b84.chunk.js +2 -0
  109. rapidfireai/frontend/build/static/js/359.08960b84.chunk.js.LICENSE.txt +4 -0
  110. rapidfireai/frontend/build/static/js/3608.403b4b79.chunk.js +1 -0
  111. rapidfireai/frontend/build/static/js/3652.cb8add7f.js +1 -0
  112. rapidfireai/frontend/build/static/js/3775.5230b157.chunk.js +1 -0
  113. rapidfireai/frontend/build/static/js/3817.53555d18.js +2 -0
  114. rapidfireai/frontend/build/static/js/3817.53555d18.js.LICENSE.txt +18 -0
  115. rapidfireai/frontend/build/static/js/3835.d9946ff9.chunk.js +1 -0
  116. rapidfireai/frontend/build/static/js/3964.874f0297.chunk.js +1 -0
  117. rapidfireai/frontend/build/static/js/3968.275cbc3d.chunk.js +1 -0
  118. rapidfireai/frontend/build/static/js/3999.765cbd82.chunk.js +1 -0
  119. rapidfireai/frontend/build/static/js/4020.4452c046.chunk.js +1 -0
  120. rapidfireai/frontend/build/static/js/4138.2f6f6d9f.js +1 -0
  121. rapidfireai/frontend/build/static/js/4160.f424554c.js +1 -0
  122. rapidfireai/frontend/build/static/js/4180.50cea095.chunk.js +1 -0
  123. rapidfireai/frontend/build/static/js/4221.b0bba3f5.chunk.js +1 -0
  124. rapidfireai/frontend/build/static/js/4250.5bb49278.chunk.js +1 -0
  125. rapidfireai/frontend/build/static/js/4297.15777d8f.chunk.js +1 -0
  126. rapidfireai/frontend/build/static/js/4349.c965f2de.js +2 -0
  127. rapidfireai/frontend/build/static/js/4349.c965f2de.js.LICENSE.txt +1 -0
  128. rapidfireai/frontend/build/static/js/4484.4cbe5e7f.js +2 -0
  129. rapidfireai/frontend/build/static/js/4484.4cbe5e7f.js.LICENSE.txt +10 -0
  130. rapidfireai/frontend/build/static/js/4578.a8124588.js +1 -0
  131. rapidfireai/frontend/build/static/js/4596.89a97480.js +1 -0
  132. rapidfireai/frontend/build/static/js/4748.566f435a.chunk.js +1 -0
  133. rapidfireai/frontend/build/static/js/4762.928e8a90.chunk.js +1 -0
  134. rapidfireai/frontend/build/static/js/4768.7945be63.js +2 -0
  135. rapidfireai/frontend/build/static/js/4768.7945be63.js.LICENSE.txt +1 -0
  136. rapidfireai/frontend/build/static/js/4804.26b50dd4.chunk.js +1 -0
  137. rapidfireai/frontend/build/static/js/4850.62390a45.chunk.js +1 -0
  138. rapidfireai/frontend/build/static/js/4862.a0ccb221.chunk.js +1 -0
  139. rapidfireai/frontend/build/static/js/491.5dc8ed40.chunk.js +1 -0
  140. rapidfireai/frontend/build/static/js/492.9262f038.chunk.js +2 -0
  141. rapidfireai/frontend/build/static/js/492.9262f038.chunk.js.LICENSE.txt +6 -0
  142. rapidfireai/frontend/build/static/js/4943.6d345fd3.chunk.js +1 -0
  143. rapidfireai/frontend/build/static/js/4950.bc182e62.chunk.js +1 -0
  144. rapidfireai/frontend/build/static/js/5042.d4f0c65a.chunk.js +2 -0
  145. rapidfireai/frontend/build/static/js/5042.d4f0c65a.chunk.js.LICENSE.txt +6 -0
  146. rapidfireai/frontend/build/static/js/5170.0065e96f.chunk.js +1 -0
  147. rapidfireai/frontend/build/static/js/5222.35c74a52.js +2 -0
  148. rapidfireai/frontend/build/static/js/5222.35c74a52.js.LICENSE.txt +10 -0
  149. rapidfireai/frontend/build/static/js/5223.3224f019.chunk.js +2 -0
  150. rapidfireai/frontend/build/static/js/5223.3224f019.chunk.js.LICENSE.txt +3 -0
  151. rapidfireai/frontend/build/static/js/5229.7dd42316.chunk.js +1 -0
  152. rapidfireai/frontend/build/static/js/5286.4c1ad26b.js +1 -0
  153. rapidfireai/frontend/build/static/js/5486.21cff711.chunk.js +1 -0
  154. rapidfireai/frontend/build/static/js/5526.7b368956.chunk.js +1 -0
  155. rapidfireai/frontend/build/static/js/5605.1ee4d87b.chunk.js +1 -0
  156. rapidfireai/frontend/build/static/js/5682.40b42d8b.chunk.js +1 -0
  157. rapidfireai/frontend/build/static/js/5794.9433d867.chunk.js +1 -0
  158. rapidfireai/frontend/build/static/js/5826.38a56e8c.chunk.js +2 -0
  159. rapidfireai/frontend/build/static/js/5826.38a56e8c.chunk.js.LICENSE.txt +1 -0
  160. rapidfireai/frontend/build/static/js/5862.50f42a0b.js +1 -0
  161. rapidfireai/frontend/build/static/js/5895.e26742f1.chunk.js +1 -0
  162. rapidfireai/frontend/build/static/js/5919.edd4a5cf.chunk.js +1 -0
  163. rapidfireai/frontend/build/static/js/598.a0e792ae.js +1 -0
  164. rapidfireai/frontend/build/static/js/6058.74162bf9.chunk.js +1 -0
  165. rapidfireai/frontend/build/static/js/618.06051134.chunk.js +2 -0
  166. rapidfireai/frontend/build/static/js/618.06051134.chunk.js.LICENSE.txt +21 -0
  167. rapidfireai/frontend/build/static/js/6335.9fca442d.chunk.js +1 -0
  168. rapidfireai/frontend/build/static/js/6336.e05e1154.chunk.js +1 -0
  169. rapidfireai/frontend/build/static/js/6343.2bcd28ff.chunk.js +1 -0
  170. rapidfireai/frontend/build/static/js/6363.a319b8f2.chunk.js +1 -0
  171. rapidfireai/frontend/build/static/js/6478.344abf25.chunk.js +1 -0
  172. rapidfireai/frontend/build/static/js/6504.1c004564.js +1 -0
  173. rapidfireai/frontend/build/static/js/6534.ec7e149b.chunk.js +1 -0
  174. rapidfireai/frontend/build/static/js/6715.55a5c19c.chunk.js +1 -0
  175. rapidfireai/frontend/build/static/js/6756.e6cb993c.chunk.js +2 -0
  176. rapidfireai/frontend/build/static/js/6756.e6cb993c.chunk.js.LICENSE.txt +10 -0
  177. rapidfireai/frontend/build/static/js/6762.acfde9fd.chunk.js +2 -0
  178. rapidfireai/frontend/build/static/js/6762.acfde9fd.chunk.js.LICENSE.txt +19 -0
  179. rapidfireai/frontend/build/static/js/6846.67103d0e.chunk.js +1 -0
  180. rapidfireai/frontend/build/static/js/6861.34cf0198.chunk.js +1 -0
  181. rapidfireai/frontend/build/static/js/6899.0eaf36a8.chunk.js +2 -0
  182. rapidfireai/frontend/build/static/js/6899.0eaf36a8.chunk.js.LICENSE.txt +5 -0
  183. rapidfireai/frontend/build/static/js/6933.8b564944.chunk.js +1 -0
  184. rapidfireai/frontend/build/static/js/699.d0437920.js +1 -0
  185. rapidfireai/frontend/build/static/js/7076.4182f63a.chunk.js +1 -0
  186. rapidfireai/frontend/build/static/js/7186.42ad86d5.chunk.js +1 -0
  187. rapidfireai/frontend/build/static/js/7248.a46635fd.js +1 -0
  188. rapidfireai/frontend/build/static/js/725.6b15a14a.chunk.js +1 -0
  189. rapidfireai/frontend/build/static/js/7266.3575539d.chunk.js +1 -0
  190. rapidfireai/frontend/build/static/js/7270.0a1e84fc.chunk.js +2 -0
  191. rapidfireai/frontend/build/static/js/7270.0a1e84fc.chunk.js.LICENSE.txt +6 -0
  192. rapidfireai/frontend/build/static/js/7367.7120474f.chunk.js +1 -0
  193. rapidfireai/frontend/build/static/js/7436.8e226055.js +1 -0
  194. rapidfireai/frontend/build/static/js/7504.ef223844.chunk.js +1 -0
  195. rapidfireai/frontend/build/static/js/7603.ee049fe3.chunk.js +1 -0
  196. rapidfireai/frontend/build/static/js/7670.2835b49a.chunk.js +2 -0
  197. rapidfireai/frontend/build/static/js/7670.2835b49a.chunk.js.LICENSE.txt +6 -0
  198. rapidfireai/frontend/build/static/js/7721.7390b3cc.chunk.js +1 -0
  199. rapidfireai/frontend/build/static/js/7731.5796cced.chunk.js +1 -0
  200. rapidfireai/frontend/build/static/js/775.660a5deb.chunk.js +2 -0
  201. rapidfireai/frontend/build/static/js/775.660a5deb.chunk.js.LICENSE.txt +6 -0
  202. rapidfireai/frontend/build/static/js/7832.7976a3e4.chunk.js +1 -0
  203. rapidfireai/frontend/build/static/js/7844.72cc2e81.chunk.js +1 -0
  204. rapidfireai/frontend/build/static/js/7948.48eab032.js +1 -0
  205. rapidfireai/frontend/build/static/js/7972.085079d4.chunk.js +2 -0
  206. rapidfireai/frontend/build/static/js/7972.085079d4.chunk.js.LICENSE.txt +6 -0
  207. rapidfireai/frontend/build/static/js/8017.a9e7dc5a.chunk.js +1 -0
  208. rapidfireai/frontend/build/static/js/8023.75f1f3df.js +2 -0
  209. rapidfireai/frontend/build/static/js/8023.75f1f3df.js.LICENSE.txt +41 -0
  210. rapidfireai/frontend/build/static/js/8123.b69db974.js +1 -0
  211. rapidfireai/frontend/build/static/js/813.065a87e5.chunk.js +1 -0
  212. rapidfireai/frontend/build/static/js/819.2056f122.chunk.js +2 -0
  213. rapidfireai/frontend/build/static/js/819.2056f122.chunk.js.LICENSE.txt +6 -0
  214. rapidfireai/frontend/build/static/js/8262.04bc17d1.chunk.js +1 -0
  215. rapidfireai/frontend/build/static/js/8300.75adcc4f.chunk.js +1 -0
  216. rapidfireai/frontend/build/static/js/8336.b1d3e764.chunk.js +1 -0
  217. rapidfireai/frontend/build/static/js/8365.26cf64ea.chunk.js +1 -0
  218. rapidfireai/frontend/build/static/js/8398.8bca8e0e.chunk.js +2 -0
  219. rapidfireai/frontend/build/static/js/8398.8bca8e0e.chunk.js.LICENSE.txt +6 -0
  220. rapidfireai/frontend/build/static/js/847.33ceed50.chunk.js +2 -0
  221. rapidfireai/frontend/build/static/js/847.33ceed50.chunk.js.LICENSE.txt +6 -0
  222. rapidfireai/frontend/build/static/js/8486.8ec852a7.chunk.js +1 -0
  223. rapidfireai/frontend/build/static/js/8497.19378265.chunk.js +1 -0
  224. rapidfireai/frontend/build/static/js/8541.4c55c9f4.chunk.js +1 -0
  225. rapidfireai/frontend/build/static/js/8690.e305a804.chunk.js +2 -0
  226. rapidfireai/frontend/build/static/js/8690.e305a804.chunk.js.LICENSE.txt +6 -0
  227. rapidfireai/frontend/build/static/js/8712.a9445fe6.chunk.js +1 -0
  228. rapidfireai/frontend/build/static/js/8763.61761e08.js +1 -0
  229. rapidfireai/frontend/build/static/js/8823.baf9bffd.chunk.js +2 -0
  230. rapidfireai/frontend/build/static/js/8823.baf9bffd.chunk.js.LICENSE.txt +6 -0
  231. rapidfireai/frontend/build/static/js/8867.767462b7.chunk.js +1 -0
  232. rapidfireai/frontend/build/static/js/8953.c0f88dea.chunk.js +1 -0
  233. rapidfireai/frontend/build/static/js/8960.357cb1eb.chunk.js +2 -0
  234. rapidfireai/frontend/build/static/js/8960.357cb1eb.chunk.js.LICENSE.txt +6 -0
  235. rapidfireai/frontend/build/static/js/9.f4492795.chunk.js +2 -0
  236. rapidfireai/frontend/build/static/js/9.f4492795.chunk.js.LICENSE.txt +12 -0
  237. rapidfireai/frontend/build/static/js/9079.88a8d2a3.js +1 -0
  238. rapidfireai/frontend/build/static/js/9082.37c40520.chunk.js +10 -0
  239. rapidfireai/frontend/build/static/js/9133.90ae330d.js +2 -0
  240. rapidfireai/frontend/build/static/js/9133.90ae330d.js.LICENSE.txt +8 -0
  241. rapidfireai/frontend/build/static/js/9151.1ac359d5.js +2 -0
  242. rapidfireai/frontend/build/static/js/9151.1ac359d5.js.LICENSE.txt +8 -0
  243. rapidfireai/frontend/build/static/js/9168.027bf2fd.chunk.js +1 -0
  244. rapidfireai/frontend/build/static/js/9194.9c5cc548.chunk.js +10 -0
  245. rapidfireai/frontend/build/static/js/9244.026f4aee.chunk.js +1 -0
  246. rapidfireai/frontend/build/static/js/936.2e02d037.js +2 -0
  247. rapidfireai/frontend/build/static/js/936.2e02d037.js.LICENSE.txt +6 -0
  248. rapidfireai/frontend/build/static/js/9369.7d1a0a1d.chunk.js +1 -0
  249. rapidfireai/frontend/build/static/js/9427.7c8442e7.chunk.js +1 -0
  250. rapidfireai/frontend/build/static/js/944.55948859.chunk.js +1 -0
  251. rapidfireai/frontend/build/static/js/9499.c53a82da.js +2 -0
  252. rapidfireai/frontend/build/static/js/9499.c53a82da.js.LICENSE.txt +62 -0
  253. rapidfireai/frontend/build/static/js/9531.3ce05781.chunk.js +1 -0
  254. rapidfireai/frontend/build/static/js/9547.92fac952.chunk.js +2 -0
  255. rapidfireai/frontend/build/static/js/9547.92fac952.chunk.js.LICENSE.txt +6 -0
  256. rapidfireai/frontend/build/static/js/9620.b6e973a7.chunk.js +1 -0
  257. rapidfireai/frontend/build/static/js/9645.6fddfa65.chunk.js +1 -0
  258. rapidfireai/frontend/build/static/js/9669.d38dda6d.js +1 -0
  259. rapidfireai/frontend/build/static/js/9682.41b6b807.chunk.js +1 -0
  260. rapidfireai/frontend/build/static/js/9720.19d5ae76.chunk.js +2 -0
  261. rapidfireai/frontend/build/static/js/9720.19d5ae76.chunk.js.LICENSE.txt +23 -0
  262. rapidfireai/frontend/build/static/js/9723.d3c7fe9e.js +1 -0
  263. rapidfireai/frontend/build/static/js/9780.02a27630.chunk.js +10 -0
  264. rapidfireai/frontend/build/static/js/9808.d0ca9674.chunk.js +2 -0
  265. rapidfireai/frontend/build/static/js/9808.d0ca9674.chunk.js.LICENSE.txt +6 -0
  266. rapidfireai/frontend/build/static/js/9815.b8db3c5d.js +1 -0
  267. rapidfireai/frontend/build/static/js/9886.2940b53a.chunk.js +1 -0
  268. rapidfireai/frontend/build/static/js/main~1f912138.fa9d03b1.js +1 -0
  269. rapidfireai/frontend/build/static/js/main~43dd7041.2e00860d.js +1 -0
  270. rapidfireai/frontend/build/static/js/main~84781932.68deffff.js +1 -0
  271. rapidfireai/frontend/build/static/media/404-overflow.fad9a31861b0afba6f921ebb8e769688.svg +32 -0
  272. rapidfireai/frontend/build/static/media/RapidFire_Square_Bug.27ceb48296314a4bc0d4.png +0 -0
  273. rapidfireai/frontend/build/static/media/chart-bar.0fd4a63680fba840a7b69fbf07969f79.svg +7 -0
  274. rapidfireai/frontend/build/static/media/chart-contour.0d4b306f2669f3ad25375568935e3ce3.svg +5 -0
  275. rapidfireai/frontend/build/static/media/chart-difference.16174216d6f3b7c24f40e3541fe0ca2c.svg +20 -0
  276. rapidfireai/frontend/build/static/media/chart-image.cc434c4dc50780966344e2385a15f8fe.svg +6 -0
  277. rapidfireai/frontend/build/static/media/chart-line.0adaa2036bb4eb5956db6d0c7e925a3d.svg +4 -0
  278. rapidfireai/frontend/build/static/media/chart-parallel.da7dedf539b2af4b654d377c679173e4.svg +7 -0
  279. rapidfireai/frontend/build/static/media/chart-scatter.69118d0023a6ff3973f7fa913834ac47.svg +9 -0
  280. rapidfireai/frontend/build/static/media/default-error.f246ddf367c6fbd67942e5a13382a7f1.svg +26 -0
  281. rapidfireai/frontend/build/static/media/fontawesome-webfont.1e59d2330b4c6deb84b3.ttf +0 -0
  282. rapidfireai/frontend/build/static/media/fontawesome-webfont.20fd1704ea223900efa9.woff2 +0 -0
  283. rapidfireai/frontend/build/static/media/fontawesome-webfont.8b43027f47b20503057d.eot +0 -0
  284. rapidfireai/frontend/build/static/media/fontawesome-webfont.c1e38fd9e0e74ba58f7a.svg +2671 -0
  285. rapidfireai/frontend/build/static/media/fontawesome-webfont.f691f37e57f04c152e23.woff +0 -0
  286. rapidfireai/frontend/build/static/media/icon-visible-fill.8d34cd35303828fdfc15154f5536e63b.svg +7 -0
  287. rapidfireai/frontend/build/static/media/no-experiments.0e4f4a114ef73e7d81c09474aba64b6c.svg +22 -0
  288. rapidfireai/frontend/build/static/media/parallel-chart-placeholder.234ef0c5b220ef2a5a6fa5bafff173f7.svg +16 -0
  289. rapidfireai/frontend/build/static/media/permission-denied-lock.16036747d57cd663d7df223781a447b2.svg +14 -0
  290. rapidfireai/frontend/build/static/media/promo-modal-content.e3b2c6c568ac192b9bec54b838b54850.svg +30 -0
  291. rapidfireai/frontend/build/static/media/registered-model-grey-ok.8274b58d39504c8d1b8c358aa1c9aa35.svg +23 -0
  292. rapidfireai/frontend/build/static/media/warning.290a3b14118933547965e91ea61c5a61.svg +3 -0
  293. rapidfireai/frontend/proxy_middleware.py +233 -0
  294. rapidfireai/frontend/server.py +25 -0
  295. rapidfireai/ml/__init__.py +0 -0
  296. rapidfireai/ml/callbacks.py +176 -0
  297. rapidfireai/ml/checkpoint_utils.py +540 -0
  298. rapidfireai/ml/trainer.py +309 -0
  299. rapidfireai/start.sh +634 -0
  300. rapidfireai/utils/__init__.py +0 -0
  301. rapidfireai/utils/automl_utils.py +51 -0
  302. rapidfireai/utils/constants.py +141 -0
  303. rapidfireai/utils/datapaths.py +69 -0
  304. rapidfireai/utils/exceptions.py +82 -0
  305. rapidfireai/utils/experiment_utils.py +370 -0
  306. rapidfireai/utils/logging.py +87 -0
  307. rapidfireai/utils/mlflow_manager.py +121 -0
  308. rapidfireai/utils/serialize.py +15 -0
  309. rapidfireai/utils/shm_manager.py +469 -0
  310. rapidfireai/utils/trainer_config.py +23 -0
  311. rapidfireai/utils/worker_manager.py +219 -0
  312. rapidfireai/version.py +6 -0
  313. rapidfireai-0.9.10.dist-info/METADATA +247 -0
  314. rapidfireai-0.9.10.dist-info/RECORD +318 -0
  315. rapidfireai-0.9.10.dist-info/entry_points.txt +2 -0
  316. rapidfireai-0.0.1.dist-info/METADATA +0 -37
  317. rapidfireai-0.0.1.dist-info/RECORD +0 -6
  318. {rapidfireai-0.0.1.dist-info → rapidfireai-0.9.10.dist-info}/WHEEL +0 -0
  319. {rapidfireai-0.0.1.dist-info → rapidfireai-0.9.10.dist-info}/licenses/LICENSE +0 -0
  320. {rapidfireai-0.0.1.dist-info → rapidfireai-0.9.10.dist-info}/top_level.txt +0 -0
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_mlflow_mlflow=self.webpackChunk_mlflow_mlflow||[]).push([[4297],{5738:function(e,t,a){var n=a(47216),i=a(42837),r=a(20184).axisHoverFormat,o=a(4216).r,s=a(97451),l=a(87241).extendFlat;e.exports=l({z:{valType:"data_array",editType:"calc",description:"Sets the z data."},x:l({},n.x,{impliedEdits:{xtype:"array"}}),x0:l({},n.x0,{impliedEdits:{xtype:"scaled"}}),dx:l({},n.dx,{impliedEdits:{xtype:"scaled"}}),y:l({},n.y,{impliedEdits:{ytype:"array"}}),y0:l({},n.y0,{impliedEdits:{ytype:"scaled"}}),dy:l({},n.dy,{impliedEdits:{ytype:"scaled"}}),xperiod:l({},n.xperiod,{impliedEdits:{xtype:"scaled"}}),yperiod:l({},n.yperiod,{impliedEdits:{ytype:"scaled"}}),xperiod0:l({},n.xperiod0,{impliedEdits:{xtype:"scaled"}}),yperiod0:l({},n.yperiod0,{impliedEdits:{ytype:"scaled"}}),xperiodalignment:l({},n.xperiodalignment,{impliedEdits:{xtype:"scaled"}}),yperiodalignment:l({},n.yperiodalignment,{impliedEdits:{ytype:"scaled"}}),text:{valType:"data_array",editType:"calc",description:"Sets the text elements associated with each z value."},hovertext:{valType:"data_array",editType:"calc",description:"Same as `text`."},transpose:{valType:"boolean",dflt:!1,editType:"calc",description:"Transposes the z data."},xtype:{valType:"enumerated",values:["array","scaled"],editType:"calc+clearAxisTypes",description:["If *array*, the heatmap's x coordinates are given by *x*","(the default behavior when `x` is provided).","If *scaled*, the heatmap's x coordinates are given by *x0* and *dx*","(the default behavior when `x` is not provided)."].join(" ")},ytype:{valType:"enumerated",values:["array","scaled"],editType:"calc+clearAxisTypes",description:["If *array*, the heatmap's y coordinates are given by *y*","(the default behavior when `y` is provided)","If *scaled*, the heatmap's y coordinates are given by *y0* and *dy*","(the default behavior when `y` is not provided)"].join(" ")},zsmooth:{valType:"enumerated",values:["fast","best",!1],dflt:!1,editType:"calc",description:["Picks a smoothing algorithm use to smooth `z` data."].join(" ")},hoverongaps:{valType:"boolean",dflt:!0,editType:"none",description:["Determines whether or not gaps","(i.e. {nan} or missing values)","in the `z` data have hover labels associated with them."].join(" ")},connectgaps:{valType:"boolean",editType:"calc",description:["Determines whether or not gaps","(i.e. {nan} or missing values)","in the `z` data are filled in.","It is defaulted to true if `z` is a","one dimensional array and `zsmooth` is not false;","otherwise it is defaulted to false."].join(" ")},xgap:{valType:"number",dflt:0,min:0,editType:"plot",description:"Sets the horizontal gap (in pixels) between bricks."},ygap:{valType:"number",dflt:0,min:0,editType:"plot",description:"Sets the vertical gap (in pixels) between bricks."},xhoverformat:r("x"),yhoverformat:r("y"),zhoverformat:r("z",1),hovertemplate:o(),showlegend:l({},i.showlegend,{dflt:!1})},{transforms:void 0},s("",{cLetter:"z",autoColorDflt:!1}))},63846:function(e,t,a){var n=a(62282),i=a(47401),r=a(37762),o=a(48128),s=a(89834),l=a(92171),c=a(48877),d=a(21605),u=a(82335),h=a(93290),p=a(59756),f=a(9405).BADNUM;function m(e){for(var t=[],a=e.length,n=0;n<a;n++){var i=e[n];i!==f&&t.push(i)}return t}e.exports=function(e,t){var a,g,y,v,x,b,T,_,w,z,k,M=r.getFromId(e,t.xaxis||"x"),A=r.getFromId(e,t.yaxis||"y"),S=n.traceIs(t,"contour"),I=n.traceIs(t,"histogram"),D=n.traceIs(t,"gl2d"),L=S?"best":t.zsmooth;if(M._minDtick=0,A._minDtick=0,I)v=(k=s(e,t)).orig_x,a=k.x,g=k.x0,y=k.dx,_=k.orig_y,x=k.y,b=k.y0,T=k.dy,w=k.z;else{var N=t.z;i.isArray1D(N)?(c(t,M,A,"x","y",["z"]),a=t._x,x=t._y,N=t._z):(v=t.x?M.makeCalcdata(t,"x"):[],_=t.y?A.makeCalcdata(t,"y"):[],a=o(t,M,"x",v).vals,x=o(t,A,"y",_).vals,t._x=a,t._y=x),g=t.x0,y=t.dx,b=t.y0,T=t.dy,w=d(N,t,M,A)}function j(e){L=t._input.zsmooth=t.zsmooth=!1,i.warn('cannot use zsmooth: "fast": '+e)}if((M.rangebreaks||A.rangebreaks)&&(w=function(e,t,a){for(var n=[],i=-1,r=0;r<a.length;r++)if(t[r]!==f){n[++i]=[];for(var o=0;o<a[r].length;o++)e[o]!==f&&n[i].push(a[r][o])}return n}(a,x,w),I||(a=m(a),x=m(x),t._x=a,t._y=x)),I||!S&&!t.connectgaps||(t._emptypoints=h(w),u(w,t._emptypoints)),"fast"===L)if("log"===M.type||"log"===A.type)j("log axis found");else if(!I){if(a.length){var F=(a[a.length-1]-a[0])/(a.length-1),O=Math.abs(F/100);for(z=0;z<a.length-1;z++)if(Math.abs(a[z+1]-a[z]-F)>O){j("x scale is not linear");break}}if(x.length&&"fast"===L){var C=(x[x.length-1]-x[0])/(x.length-1),E=Math.abs(C/100);for(z=0;z<x.length-1;z++)if(Math.abs(x[z+1]-x[z]-C)>E){j("y scale is not linear");break}}}var B=i.maxRowLength(w),P="scaled"===t.xtype?"":a,R=p(t,P,g,y,B,M),V="scaled"===t.ytype?"":x,G=p(t,V,b,T,w.length,A);D||(t._extremes[M._id]=r.findExtremes(M,R),t._extremes[A._id]=r.findExtremes(A,G));var U={x:R,y:G,z:w,text:t._text||t.text,hovertext:t._hovertext||t.hovertext};if(t.xperiodalignment&&v&&(U.orig_x=v),t.yperiodalignment&&_&&(U.orig_y=_),P&&P.length===R.length-1&&(U.xCenter=P),V&&V.length===G.length-1&&(U.yCenter=V),I&&(U.xRanges=k.xRanges,U.yRanges=k.yRanges,U.pts=k.pts),S||l(e,t,{vals:w,cLetter:"z"}),S&&t.contours&&"heatmap"===t.contours.coloring){var H={type:"contour"===t.type?"heatmap":"histogram2d",xcalendar:t.xcalendar,ycalendar:t.ycalendar};U.xfill=p(H,P,g,y,B,M),U.yfill=p(H,V,b,T,w.length,A)}return[U]}},21605:function(e,t,a){var n=a(83491),i=a(47401),r=a(9405).BADNUM;e.exports=function(e,t,a,o){var s,l,c,d,u,h;function p(e){if(n(e))return+e}if(t&&t.transpose){for(s=0,u=0;u<e.length;u++)s=Math.max(s,e[u].length);if(0===s)return!1;c=function(e){return e.length},d=function(e,t,a){return(e[a]||[])[t]}}else s=e.length,c=function(e,t){return e[t].length},d=function(e,t,a){return(e[t]||[])[a]};var f=function(e,t,a){return t===r||a===r?r:d(e,t,a)};function m(e){if(t&&"carpet"!==t.type&&"contourcarpet"!==t.type&&e&&"category"===e.type&&t["_"+e._id.charAt(0)].length){var a=e._id.charAt(0),n={},o=t["_"+a+"CategoryMap"]||t[a];for(u=0;u<o.length;u++)n[o[u]]=u;return function(t){var a=n[e._categories[t]];return a+1?a:r}}return i.identity}var g=m(a),y=m(o);o&&"category"===o.type&&(s=o._categories.length);var v=new Array(s);for(u=0;u<s;u++)for(l=a&&"category"===a.type?a._categories.length:c(e,u),v[u]=new Array(l),h=0;h<l;h++)v[u][h]=p(f(e,y(u),g(h)));return v}},17439:function(e){e.exports={min:"zmin",max:"zmax"}},48877:function(e,t,a){var n=a(47401),i=a(9405).BADNUM,r=a(48128);e.exports=function(e,t,a,o,s,l){var c=e._length,d=t.makeCalcdata(e,o),u=a.makeCalcdata(e,s);d=r(e,t,o,d).vals,u=r(e,a,s,u).vals;var h,p,f,m,g=e.text,y=void 0!==g&&n.isArray1D(g),v=e.hovertext,x=void 0!==v&&n.isArray1D(v),b=n.distinctVals(d),T=b.vals,_=n.distinctVals(u),w=_.vals,z=[],k=w.length,M=T.length;for(h=0;h<l.length;h++)z[h]=n.init2dArray(k,M);y&&(f=n.init2dArray(k,M)),x&&(m=n.init2dArray(k,M));var A=n.init2dArray(k,M);for(h=0;h<c;h++)if(d[h]!==i&&u[h]!==i){var S=n.findBin(d[h]+b.minDiff/2,T),I=n.findBin(u[h]+_.minDiff/2,w);for(p=0;p<l.length;p++){var D=e[l[p]];z[p][I][S]=D[h],A[I][S]=h}y&&(f[I][S]=g[h]),x&&(m[I][S]=v[h])}for(e["_"+o]=T,e["_"+s]=w,p=0;p<l.length;p++)e["_"+l[p]]=z[p];y&&(e._text=f),x&&(e._hovertext=m),t&&"category"===t.type&&(e["_"+o+"CategoryMap"]=T.map((function(e){return t._categories[e]}))),a&&"category"===a.type&&(e["_"+s+"CategoryMap"]=w.map((function(e){return a._categories[e]}))),e._after2before=A}},24349:function(e,t,a){var n=a(47401),i=a(7497),r=a(75781),o=a(2815),s=a(94060),l=a(5738);e.exports=function(e,t,a,c){function d(a,i){return n.coerce(e,t,l,a,i)}i(e,t,d,c)?(r(e,t,c,d),d("xhoverformat"),d("yhoverformat"),d("text"),d("hovertext"),d("hovertemplate"),o(e,t,d,c),d("hoverongaps"),d("connectgaps",n.isArray1D(t.z)&&!1!==t.zsmooth),s(e,t,c,d,{prefix:"",cLetter:"z"})):t.visible=!1}},93290:function(e,t,a){var n=a(47401).maxRowLength;e.exports=function(e){var t,a,i,r,o,s,l,c,d=[],u={},h=[],p=e[0],f=[],m=[0,0,0],g=n(e);for(a=0;a<e.length;a++)for(t=f,f=p,p=e[a+1]||[],i=0;i<g;i++)void 0===f[i]&&((s=(void 0!==f[i-1]?1:0)+(void 0!==f[i+1]?1:0)+(void 0!==t[i]?1:0)+(void 0!==p[i]?1:0))?(0===a&&s++,0===i&&s++,a===e.length-1&&s++,i===f.length-1&&s++,s<4&&(u[[a,i]]=[a,i,s]),d.push([a,i,s])):h.push([a,i]));for(;h.length;){for(l={},c=!1,o=h.length-1;o>=0;o--)(s=((u[[(a=(r=h[o])[0])-1,i=r[1]]]||m)[2]+(u[[a+1,i]]||m)[2]+(u[[a,i-1]]||m)[2]+(u[[a,i+1]]||m)[2])/20)&&(l[r]=[a,i,s],h.splice(o,1),c=!0);if(!c)throw"findEmpties iterated with no new neighbors";for(r in l)u[r]=l[r],d.push(l[r])}return d.sort((function(e,t){return t[2]-e[2]}))}},77301:function(e,t,a){var n=a(21661),i=a(47401),r=a(37762),o=a(47624).extractOpts;e.exports=function(e,t,a,s,l){l||(l={});var c,d,u,h,p=l.isContour,f=e.cd[0],m=f.trace,g=e.xa,y=e.ya,v=f.x,x=f.y,b=f.z,T=f.xCenter,_=f.yCenter,w=f.zmask,z=m.zhoverformat,k=v,M=x;if(!1!==e.index){try{u=Math.round(e.index[1]),h=Math.round(e.index[0])}catch(P){return void i.error("Error hovering on heatmap, pointNumber must be [row,col], found:",e.index)}if(u<0||u>=b[0].length||h<0||h>b.length)return}else{if(n.inbox(t-v[0],t-v[v.length-1],0)>0||n.inbox(a-x[0],a-x[x.length-1],0)>0)return;if(p){var A;for(k=[2*v[0]-v[1]],A=1;A<v.length;A++)k.push((v[A]+v[A-1])/2);for(k.push([2*v[v.length-1]-v[v.length-2]]),M=[2*x[0]-x[1]],A=1;A<x.length;A++)M.push((x[A]+x[A-1])/2);M.push([2*x[x.length-1]-x[x.length-2]])}u=Math.max(0,Math.min(k.length-2,i.findBin(t,k))),h=Math.max(0,Math.min(M.length-2,i.findBin(a,M)))}var S,I,D=g.c2p(v[u]),L=g.c2p(v[u+1]),N=y.c2p(x[h]),j=y.c2p(x[h+1]);p?(S=f.orig_x||v,I=f.orig_y||x,L=D,c=S[u],j=N,d=I[h]):(S=f.orig_x||T||v,I=f.orig_y||_||x,c=T?S[u]:(S[u]+S[u+1])/2,d=_?I[h]:(I[h]+I[h+1])/2,g&&"category"===g.type&&(c=v[u]),y&&"category"===y.type&&(d=x[h]),m.zsmooth&&(D=L=g.c2p(c),N=j=y.c2p(d)));var F=b[h][u];if(w&&!w[h][u]&&(F=void 0),void 0!==F||m.hoverongaps){var O;Array.isArray(f.hovertext)&&Array.isArray(f.hovertext[h])?O=f.hovertext[h][u]:Array.isArray(f.text)&&Array.isArray(f.text[h])&&(O=f.text[h][u]);var C=o(m),E={type:"linear",range:[C.min,C.max],hoverformat:z,_separators:g._separators,_numFormat:g._numFormat},B=r.tickText(E,F,"hover").text;return[i.extendFlat(e,{index:m._after2before?m._after2before[h][u]:[h,u],distance:e.maxHoverDistance,spikeDistance:e.maxSpikeDistance,x0:D,x1:L,y0:N,y1:j,xLabelVal:c,yLabelVal:d,zLabelVal:F,zLabel:B,text:O})]}}},28755:function(e,t,a){e.exports={attributes:a(5738),supplyDefaults:a(24349),calc:a(63846),plot:a(45396),colorbar:a(17439),style:a(24246),hoverPoints:a(77301),moduleType:"trace",name:"heatmap",basePlotModule:a(66807),categories:["cartesian","svg","2dMap","showLegend"],meta:{description:["The data that describes the heatmap value-to-color mapping","is set in `z`.","Data in `z` can either be a {2D array} of values (ragged or not)","or a 1D array of values.","In the case where `z` is a {2D array},","say that `z` has N rows and M columns.","Then, by default, the resulting heatmap will have N partitions along","the y axis and M partitions along the x axis.","In other words, the i-th row/ j-th column cell in `z`","is mapped to the i-th partition of the y axis","(starting from the bottom of the plot) and the j-th partition","of the x-axis (starting from the left of the plot).","This behavior can be flipped by using `transpose`.","Moreover, `x` (`y`) can be provided with M or M+1 (N or N+1) elements.","If M (N), then the coordinates correspond to the center of the","heatmap cells and the cells have equal width.","If M+1 (N+1), then the coordinates correspond to the edges of the","heatmap cells.","In the case where `z` is a 1D {array}, the x and y coordinates must be","provided in `x` and `y` respectively to form data triplets."].join(" ")}}},82335:function(e,t,a){var n=a(47401),i=[[-1,0],[1,0],[0,-1],[0,1]];function r(e){return.5-.25*Math.min(1,.5*e)}function o(e,t,a){var n,r,o,s,l,c,d,u,h,p,f,m,g,y=0;for(s=0;s<t.length;s++){for(r=(n=t[s])[0],o=n[1],f=e[r][o],p=0,h=0,l=0;l<4;l++)(d=e[r+(c=i[l])[0]])&&void 0!==(u=d[o+c[1]])&&(0===p?m=g=u:(m=Math.min(m,u),g=Math.max(g,u)),h++,p+=u);if(0===h)throw"iterateInterp2d order is wrong: no defined neighbors";e[r][o]=p/h,void 0===f?h<4&&(y=1):(e[r][o]=(1+a)*e[r][o]-a*f,g>m&&(y=Math.max(y,Math.abs(e[r][o]-f)/(g-m))))}return y}e.exports=function(e,t){var a,i=1;for(o(e,t),a=0;a<t.length&&!(t[a][2]<4);a++);for(t=t.slice(a),a=0;a<100&&i>.01;a++)i=o(e,t,r(i));return i>.01&&n.log("interp2d didn't converge quickly",i),e}},59756:function(e,t,a){var n=a(62282),i=a(47401).isArrayOrTypedArray;e.exports=function(e,t,a,r,o,s){var l,c,d,u=[],h=n.traceIs(e,"contour"),p=n.traceIs(e,"histogram"),f=n.traceIs(e,"gl2d");if(i(t)&&t.length>1&&!p&&"category"!==s.type){var m=t.length;if(!(m<=o))return h?t.slice(0,o):t.slice(0,o+1);if(h||f)u=t.slice(0,o);else if(1===o)u=[t[0]-.5,t[0]+.5];else{for(u=[1.5*t[0]-.5*t[1]],d=1;d<m;d++)u.push(.5*(t[d-1]+t[d]));u.push(1.5*t[m-1]-.5*t[m-2])}if(m<o){var g=u[u.length-1],y=g-u[u.length-2];for(d=m;d<o;d++)g+=y,u.push(g)}}else{var v=e[s._id.charAt(0)+"calendar"];if(p)l=s.r2c(a,0,v);else if(i(t)&&1===t.length)l=t[0];else if(void 0===a)l=0;else{l=("log"===s.type?s.d2c:s.r2c)(a,0,v)}for(c=r||1,d=h||f?0:-.5;d<o;d++)u.push(l+c*d)}return u}},45396:function(e,t,a){var n=a(62258),i=a(91771),r=a(62282),o=a(47401),s=a(47624).makeColorScaleFuncFromTrace,l=a(6412);function c(e,t){var a=t.length-2,n=o.constrain(o.findBin(e,t),0,a),i=t[n],r=t[n+1],s=o.constrain(n+(e-i)/(r-i)-.5,0,a),l=Math.round(s),c=Math.abs(s-l);return s&&s!==a&&c?{bin0:l,frac:c,bin1:Math.round(l+c/(s-l))}:{bin0:l,bin1:l,frac:0}}function d(e,t){var a=t.length-1,n=o.constrain(o.findBin(e,t),0,a),i=t[n],r=(e-i)/(t[n+1]-i)||0;return r<=0?{bin0:n,bin1:n,frac:0}:r<.5?{bin0:n,bin1:n+1,frac:r}:{bin0:n+1,bin1:n,frac:1-r}}function u(e,t,a){e[t]=a[0],e[t+1]=a[1],e[t+2]=a[2],e[t+3]=Math.round(255*a[3])}e.exports=function(e,t,a,h){var p=t.xaxis,f=t.yaxis;o.makeTraceGroups(h,a,"hm").each((function(t){var a,h,m,g,y,v,x=n.select(this),b=t[0],T=b.trace,_=b.z,w=b.x,z=b.y,k=b.xCenter,M=b.yCenter,A=r.traceIs(T,"contour"),S=A?"best":T.zsmooth,I=_.length,D=o.maxRowLength(_),L=!1,N=!1;for(v=0;void 0===a&&v<w.length-1;)a=p.c2p(w[v]),v++;for(v=w.length-1;void 0===h&&v>0;)h=p.c2p(w[v]),v--;for(h<a&&(m=h,h=a,a=m,L=!0),v=0;void 0===g&&v<z.length-1;)g=f.c2p(z[v]),v++;for(v=z.length-1;void 0===y&&v>0;)y=f.c2p(z[v]),v--;if(y<g&&(m=g,g=y,y=m,N=!0),A&&(k=w,M=z,w=b.xfill,z=b.yfill),"fast"!==S){var j="best"===S?0:.5;a=Math.max(-j*p._length,a),h=Math.min((1+j)*p._length,h),g=Math.max(-j*f._length,g),y=Math.min((1+j)*f._length,y)}var F=Math.round(h-a),O=Math.round(y-g);if(F<=0||O<=0){x.selectAll("image").data([]).exit().remove()}else{var C,E;"fast"===S?(C=D,E=I):(C=F,E=O);var B=document.createElement("canvas");B.width=C,B.height=E;var P,R,V=B.getContext("2d"),G=s(T,{noNumericCheck:!0,returnArray:!0});"fast"===S?(P=L?function(e){return D-1-e}:o.identity,R=N?function(e){return I-1-e}:o.identity):(P=function(e){return o.constrain(Math.round(p.c2p(w[e])-a),0,F)},R=function(e){return o.constrain(Math.round(f.c2p(z[e])-g),0,O)});var U,H,Y,X,Z,K=R(0),q=[K,K],W=L?0:1,$=N?0:1,J=0,Q=0,ee=0,te=0;if(S){var ae,ne=0;try{ae=new Uint8Array(F*O*4)}catch(ke){ae=new Array(F*O*4)}if("best"===S){var ie,re,oe,se=k||w,le=M||z,ce=new Array(se.length),de=new Array(le.length),ue=new Array(F),he=k?d:c,pe=M?d:c;for(v=0;v<se.length;v++)ce[v]=Math.round(p.c2p(se[v])-a);for(v=0;v<le.length;v++)de[v]=Math.round(f.c2p(le[v])-g);for(v=0;v<F;v++)ue[v]=he(v,ce);for(H=0;H<O;H++)for(re=_[(ie=pe(H,de)).bin0],oe=_[ie.bin1],v=0;v<F;v++,ne+=4)u(ae,ne,Z=ze(re,oe,ue[v],ie))}else for(H=0;H<I;H++)for(X=_[H],q=R(H),v=0;v<F;v++)Z=we(X[v],1),u(ae,ne=4*(q*F+P(v)),Z);var fe=V.createImageData(F,O);try{fe.data.set(ae)}catch(ke){var me=fe.data,ge=me.length;for(H=0;H<ge;H++)me[H]=ae[H]}V.putImageData(fe,0,0)}else{var ye=T.xgap,ve=T.ygap,xe=Math.floor(ye/2),be=Math.floor(ve/2);for(H=0;H<I;H++)if(X=_[H],q.reverse(),q[$]=R(H+1),q[0]!==q[1]&&void 0!==q[0]&&void 0!==q[1])for(U=[Y=P(0),Y],v=0;v<D;v++)U.reverse(),U[W]=P(v+1),U[0]!==U[1]&&void 0!==U[0]&&void 0!==U[1]&&(Z=we(X[v],(U[1]-U[0])*(q[1]-q[0])),V.fillStyle="rgba("+Z.join(",")+")",V.fillRect(U[0]+xe,q[0]+be,U[1]-U[0]-ye,q[1]-q[0]-ve))}Q=Math.round(Q/J),ee=Math.round(ee/J),te=Math.round(te/J);var Te=i("rgb("+Q+","+ee+","+te+")");e._hmpixcount=(e._hmpixcount||0)+J,e._hmlumcount=(e._hmlumcount||0)+J*Te.getLuminance();var _e=x.selectAll("image").data(t);_e.enter().append("svg:image").attr({xmlns:l.svg,preserveAspectRatio:"none"}),_e.attr({height:O,width:F,x:a,y:g,"xlink:href":B.toDataURL("image/png")})}function we(e,t){if(void 0!==e){var a=G(e);return a[0]=Math.round(a[0]),a[1]=Math.round(a[1]),a[2]=Math.round(a[2]),J+=t,Q+=a[0]*t,ee+=a[1]*t,te+=a[2]*t,a}return[0,0,0,0]}function ze(e,t,a,n){var i=e[a.bin0];if(void 0===i)return we(void 0,1);var r,o=e[a.bin1],s=t[a.bin0],l=t[a.bin1],c=o-i||0,d=s-i||0;return r=void 0===o?void 0===l?0:void 0===s?2*(l-i):2*(2*l-s-i)/3:void 0===l?void 0===s?0:2*(2*i-o-s)/3:void 0===s?2*(2*l-o-i)/3:l+i-o-s,we(i+a.frac*c+n.frac*(d+a.frac*r))}}))}},24246:function(e,t,a){var n=a(62258);e.exports=function(e){n.select(e).selectAll(".hm image").style("opacity",(function(e){return e.trace.opacity}))}},2815:function(e){e.exports=function(e,t,a){!1===a("zsmooth")&&(a("xgap"),a("ygap")),a("zhoverformat")}},7497:function(e,t,a){var n=a(83491),i=a(47401),r=a(62282);function o(e,t){var a=t(e);return"scaled"===(a?t(e+"type","array"):"scaled")&&(t(e+"0"),t("d"+e)),a}e.exports=function(e,t,a,s,l,c){var d,u,h=a("z");if(l=l||"x",c=c||"y",void 0===h||!h.length)return 0;if(i.isArray1D(e.z)){d=a(l),u=a(c);var p=i.minRowLength(d),f=i.minRowLength(u);if(0===p||0===f)return 0;t._length=Math.min(p,f,h.length)}else{if(d=o(l,a),u=o(c,a),!function(e){for(var t,a=!0,r=!1,o=!1,s=0;s<e.length;s++){if(t=e[s],!i.isArrayOrTypedArray(t)){a=!1;break}t.length>0&&(r=!0);for(var l=0;l<t.length;l++)if(n(t[l])){o=!0;break}}return a&&r&&o}(h))return 0;a("transpose"),t._length=null}return"heatmapgl"===e.type||r.getComponentMethod("calendars","handleTraceDefaults")(e,t,[l,c],s),!0}},81191:function(e,t,a){for(var n=a(5738),i=a(97451),r=a(87241).extendFlat,o=a(17342).overrideAll,s=["z","x","x0","dx","y","y0","dy","text","transpose","xtype","ytype"],l={},c=0;c<s.length;c++){var d=s[c];l[d]=n[d]}l.zsmooth={valType:"enumerated",values:["fast",!1],dflt:"fast",editType:"calc",description:"Picks a smoothing algorithm use to smooth `z` data."},r(l,i("",{cLetter:"z",autoColorDflt:!1})),e.exports=o(l,"calc","nested")},38739:function(e,t,a){var n=a(6695),i=a(37762),r=a(42770);function o(e,t){this.scene=e,this.uid=t,this.type="heatmapgl",this.name="",this.hoverinfo="all",this.xData=[],this.yData=[],this.zData=[],this.textLabels=[],this.idToIndex=[],this.bounds=[0,0,0,0],this.options={zsmooth:"fast",z:[],x:[],y:[],shape:[0,0],colorLevels:[0],colorValues:[0,0,0,1]},this.heatmap=n(e.glplot,this.options),this.heatmap._trace=this}var s=o.prototype;s.handlePick=function(e){var t=this.options,a=t.shape,n=e.pointId,i=n%a[0],r=Math.floor(n/a[0]),o=n;return{trace:this,dataCoord:e.dataCoord,traceCoord:[t.x[i],t.y[r],t.z[o]],textLabel:this.textLabels[n],name:this.name,pointIndex:[r,i],hoverinfo:this.hoverinfo}},s.update=function(e,t){var a=t[0];this.index=e.index,this.name=e.name,this.hoverinfo=e.hoverinfo;var n=a.z;this.options.z=[].concat.apply([],n);var o=n[0].length,s=n.length;this.options.shape=[o,s],this.options.x=a.x,this.options.y=a.y,this.options.zsmooth=e.zsmooth;var l=function(e){for(var t=e.colorscale,a=e.zmin,n=e.zmax,i=t.length,o=new Array(i),s=new Array(4*i),l=0;l<i;l++){var c=t[l],d=r(c[1]);o[l]=a+c[0]*(n-a);for(var u=0;u<4;u++)s[4*l+u]=d[u]}return{colorLevels:o,colorValues:s}}(e);this.options.colorLevels=l.colorLevels,this.options.colorValues=l.colorValues,this.textLabels=[].concat.apply([],e.text),this.heatmap.update(this.options);var c,d,u=this.scene.xaxis,h=this.scene.yaxis;!1===e.zsmooth&&(c={ppad:a.x[1]-a.x[0]},d={ppad:a.y[1]-a.y[0]}),e._extremes[u._id]=i.findExtremes(u,a.x,c),e._extremes[h._id]=i.findExtremes(h,a.y,d)},s.dispose=function(){this.heatmap.dispose()},e.exports=function(e,t,a){var n=new o(e,t.uid);return n.update(t,a),n}},96352:function(e,t,a){var n=a(47401),i=a(7497),r=a(94060),o=a(81191);e.exports=function(e,t,a,s){function l(a,i){return n.coerce(e,t,o,a,i)}i(e,t,l,s)?(l("text"),l("zsmooth"),r(e,t,s,l,{prefix:"",cLetter:"z"})):t.visible=!1}},42156:function(e,t,a){var n=["*heatmapgl* trace is deprecated!","Please consider switching to the *heatmap* or *image* trace types.","Alternatively you could contribute/sponsor rewriting this trace type","based on cartesian features and using regl framework."].join(" ");e.exports={attributes:a(81191),supplyDefaults:a(96352),colorbar:a(17439),calc:a(63846),plot:a(38739),moduleType:"trace",name:"heatmapgl",basePlotModule:a(92198),categories:["gl","gl2d","2dMap"],meta:{description:[n,"WebGL version of the heatmap trace type."].join(" ")}}},7536:function(e,t,a){var n=a(66905),i=a(20184).axisHoverFormat,r=a(4216).r,o=a(30350),s=a(75223),l=a(87241).extendFlat;e.exports={x:{valType:"data_array",editType:"calc+clearAxisTypes",description:["Sets the sample data to be binned on the x axis."].join(" ")},y:{valType:"data_array",editType:"calc+clearAxisTypes",description:["Sets the sample data to be binned on the y axis."].join(" ")},xhoverformat:i("x"),yhoverformat:i("y"),text:l({},n.text,{description:["Sets hover text elements associated with each bar.","If a single string, the same string appears over all bars.","If an array of string, the items are mapped in order to the","this trace's coordinates."].join(" ")}),hovertext:l({},n.hovertext,{description:"Same as `text`."}),orientation:n.orientation,histfunc:{valType:"enumerated",values:["count","sum","avg","min","max"],dflt:"count",editType:"calc",description:["Specifies the binning function used for this histogram trace.","If *count*, the histogram values are computed by counting the","number of values lying inside each bin.","If *sum*, *avg*, *min*, *max*,","the histogram values are computed using","the sum, the average, the minimum or the maximum","of the values lying inside each bin respectively."].join(" ")},histnorm:{valType:"enumerated",values:["","percent","probability","density","probability density"],dflt:"",editType:"calc",description:["Specifies the type of normalization used for this histogram trace.","If **, the span of each bar corresponds to the number of","occurrences (i.e. the number of data points lying inside the bins).","If *percent* / *probability*, the span of each bar corresponds to","the percentage / fraction of occurrences with respect to the total","number of sample points","(here, the sum of all bin HEIGHTS equals 100% / 1).","If *density*, the span of each bar corresponds to the number of","occurrences in a bin divided by the size of the bin interval","(here, the sum of all bin AREAS equals the","total number of sample points).","If *probability density*, the area of each bar corresponds to the","probability that an event will fall into the corresponding bin","(here, the sum of all bin AREAS equals 1)."].join(" ")},cumulative:{enabled:{valType:"boolean",dflt:!1,editType:"calc",description:["If true, display the cumulative distribution by summing the","binned values. Use the `direction` and `centralbin` attributes","to tune the accumulation method.","Note: in this mode, the *density* `histnorm` settings behave","the same as their equivalents without *density*:","** and *density* both rise to the number of data points, and","*probability* and *probability density* both rise to the","number of sample points."].join(" ")},direction:{valType:"enumerated",values:["increasing","decreasing"],dflt:"increasing",editType:"calc",description:["Only applies if cumulative is enabled.","If *increasing* (default) we sum all prior bins, so the result","increases from left to right. If *decreasing* we sum later bins","so the result decreases from left to right."].join(" ")},currentbin:{valType:"enumerated",values:["include","exclude","half"],dflt:"include",editType:"calc",description:["Only applies if cumulative is enabled.","Sets whether the current bin is included, excluded, or has half","of its value included in the current cumulative value.","*include* is the default for compatibility with various other","tools, however it introduces a half-bin bias to the results.","*exclude* makes the opposite half-bin bias, and *half* removes","it."].join(" ")},editType:"calc"},nbinsx:{valType:"integer",min:0,dflt:0,editType:"calc",description:["Specifies the maximum number of desired bins. This value will be used","in an algorithm that will decide the optimal bin size such that the","histogram best visualizes the distribution of the data.","Ignored if `xbins.size` is provided."].join(" ")},xbins:o("x",!0),nbinsy:{valType:"integer",min:0,dflt:0,editType:"calc",description:["Specifies the maximum number of desired bins. This value will be used","in an algorithm that will decide the optimal bin size such that the","histogram best visualizes the distribution of the data.","Ignored if `ybins.size` is provided."].join(" ")},ybins:o("y",!0),autobinx:{valType:"boolean",dflt:null,editType:"calc",description:["Obsolete: since v1.42 each bin attribute is auto-determined","separately and `autobinx` is not needed. However, we accept","`autobinx: true` or `false` and will update `xbins` accordingly","before deleting `autobinx` from the trace."].join(" ")},autobiny:{valType:"boolean",dflt:null,editType:"calc",description:["Obsolete: since v1.42 each bin attribute is auto-determined","separately and `autobiny` is not needed. However, we accept","`autobiny: true` or `false` and will update `ybins` accordingly","before deleting `autobiny` from the trace."].join(" ")},bingroup:{valType:"string",dflt:"",editType:"calc",description:["Set a group of histogram traces which will have compatible bin settings.","Note that traces on the same subplot and with the same *orientation*","under `barmode` *stack*, *relative* and *group* are forced into the same bingroup,","Using `bingroup`, traces under `barmode` *overlay* and on different axes","(of the same axis type) can have compatible bin settings.","Note that histogram and histogram2d* trace can share the same `bingroup`"].join(" ")},hovertemplate:r({},{keys:s.eventDataKeys}),marker:n.marker,offsetgroup:n.offsetgroup,alignmentgroup:n.alignmentgroup,selected:n.selected,unselected:n.unselected,_deprecated:{bardir:n._deprecated.bardir}}},27350:function(e){e.exports=function(e,t){for(var a=e.length,n=0,i=0;i<a;i++)t[i]?(e[i]/=t[i],n+=e[i]):e[i]=null;return n}},30350:function(e){e.exports=function(e,t){return{start:{valType:"any",editType:"calc",description:["Sets the starting value for the",e,"axis bins. Defaults to the minimum data value,","shifted down if necessary to make nice round values","and to remove ambiguous bin edges. For example, if most of the","data is integers we shift the bin edges 0.5 down, so a `size`","of 5 would have a default `start` of -0.5, so it is clear","that 0-4 are in the first bin, 5-9 in the second, but","continuous data gets a start of 0 and bins [0,5), [5,10) etc.","Dates behave similarly, and `start` should be a date string.","For category data, `start` is based on the category serial","numbers, and defaults to -0.5.",t?"If multiple non-overlaying histograms share a subplot, the first explicit `start` is used exactly and all others are shifted down (if necessary) to differ from that one by an integer number of bins.":""].join(" ")},end:{valType:"any",editType:"calc",description:["Sets the end value for the",e,"axis bins. The last bin may not end exactly at this value,","we increment the bin edge by `size` from `start` until we","reach or exceed `end`. Defaults to the maximum data value.","Like `start`, for dates use a date string, and for category","data `end` is based on the category serial numbers."].join(" ")},size:{valType:"any",editType:"calc",description:["Sets the size of each",e,"axis bin.","Default behavior: If `nbins"+e+"` is 0 or omitted,","we choose a nice round bin size such that the number of bins","is about the same as the typical number of samples in each bin.","If `nbins"+e+"` is provided, we choose a nice round","bin size giving no more than that many bins.","For date data, use milliseconds or *M<n>* for months, as in","`axis.dtick`. For category data, the number of categories to","bin together (always defaults to 1).",t?"If multiple non-overlaying histograms share a subplot, the first explicit `size` is used and all others discarded. If no `size` is provided,the sample data from all traces is combined to determine `size` as described above.":""].join(" ")},editType:"calc"}}},86150:function(e,t,a){var n=a(83491);e.exports={count:function(e,t,a){return a[e]++,1},sum:function(e,t,a,i){var r=i[t];return n(r)?(r=Number(r),a[e]+=r,r):0},avg:function(e,t,a,i,r){var o=i[t];return n(o)&&(o=Number(o),a[e]+=o,r[e]++),0},min:function(e,t,a,i){var r=i[t];if(n(r)){if(r=Number(r),!n(a[e]))return a[e]=r,r;if(a[e]>r){var o=r-a[e];return a[e]=r,o}}return 0},max:function(e,t,a,i){var r=i[t];if(n(r)){if(r=Number(r),!n(a[e]))return a[e]=r,r;if(a[e]<r){var o=r-a[e];return a[e]=r,o}}return 0}}},76964:function(e,t,a){var n=a(9405),i=n.ONEAVGYEAR,r=n.ONEAVGMONTH,o=n.ONEDAY,s=n.ONEHOUR,l=n.ONEMIN,c=n.ONESEC,d=a(37762).tickIncrement;function u(e,t,a,n){if(e*t<=0)return 1/0;for(var i=Math.abs(t-e),r="date"===a.type,o=h(i,r),s=0;s<10;s++){var l=h(80*o,r);if(o===l)break;if(!p(l,e,t,r,a,n))break;o=l}return o}function h(e,t){return t&&e>c?e>o?e>1.1*i?i:e>1.1*r?r:o:e>s?s:e>l?l:c:Math.pow(10,Math.floor(Math.log(e)/Math.LN10))}function p(e,t,a,n,r,s){if(n&&e>o){var l=f(t,r,s),c=f(a,r,s),d=e===i?0:1;return l[d]!==c[d]}return Math.floor(a/e)-Math.floor(t/e)>.1}function f(e,t,a){var n=t.c2d(e,i,a).split("-");return""===n[0]&&(n.unshift(),n[0]="-"+n[0]),n}e.exports=function(e,t,a,n,r){var s,l,c=-1.1*t,h=-.1*t,p=e-h,f=a[0],m=a[1],g=Math.min(u(f+h,f+p,n,r),u(m+h,m+p,n,r)),y=Math.min(u(f+c,f+h,n,r),u(m+c,m+h,n,r));if(g>y&&y<Math.abs(m-f)/4e3?(s=g,l=!1):(s=Math.min(g,y),l=!0),"date"===n.type&&s>o){var v=s===i?1:6,x=s===i?"M12":"M1";return function(t,a){var o=n.c2d(t,i,r),s=o.indexOf("-",v);s>0&&(o=o.substr(0,s));var c=n.d2c(o,0,r);if(c<t){var u=d(c,x,!1,r);(c+u)/2<t+e&&(c=u)}return a&&l?d(c,x,!0,r):c}}return function(t,a){var n=s*Math.round(t/s);return n+s/10<t&&n+.9*s<t+e&&(n+=s),a&&l&&(n-=s),n}}},69184:function(e,t,a){var n=a(83491),i=a(47401),r=a(62282),o=a(37762),s=a(54846),l=a(86150),c=a(17817),d=a(27350),u=a(76964);function h(e,t,a,s,l){var c,d,u,p,f,m,g,y=s+"bins",v=e._fullLayout,x=t["_"+s+"bingroup"],b=v._histogramBinOpts[x],T="overlay"===v.barmode,_=function(e){return a.r2c(e,0,p)},w=function(e){return a.c2r(e,0,p)},z="date"===a.type?function(e){return e||0===e?i.cleanDate(e,null,p):null}:function(e){return n(e)?Number(e):null};function k(e,t,a){t[e+"Found"]?(t[e]=z(t[e]),null===t[e]&&(t[e]=a[e])):(m[e]=t[e]=a[e],i.nestedProperty(d[0],y+"."+e).set(a[e]))}if(t["_"+s+"autoBinFinished"])delete t["_"+s+"autoBinFinished"];else{d=b.traces;var M=[],A=!0,S=!1,I=!1;for(c=0;c<d.length;c++)if((u=d[c]).visible){var D=b.dirs[c];f=u["_"+D+"pos0"]=a.makeCalcdata(u,D),M=i.concat(M,f),delete u["_"+s+"autoBinFinished"],!0===t.visible&&(A?A=!1:(delete u._autoBin,u["_"+s+"autoBinFinished"]=1),r.traceIs(u,"2dMap")&&(S=!0),"histogram2dcontour"===u.type&&(I=!0))}p=d[0][s+"calendar"];var L=o.autoBin(M,a,b.nbins,S,p,b.sizeFound&&b.size),N=d[0]._autoBin={};if(m=N[b.dirs[0]]={},I&&(b.size||(L.start=w(o.tickIncrement(_(L.start),L.size,!0,p))),void 0===b.end&&(L.end=w(o.tickIncrement(_(L.end),L.size,!1,p)))),T&&!r.traceIs(t,"2dMap")&&0===L._dataSpan&&"category"!==a.type&&"multicategory"!==a.type){if(l)return[L,f,!0];L=function(e,t,a,n,r){var o,s,l,c=e._fullLayout,d=function(e,t){for(var a=t.xaxis,n=t.yaxis,i=t.orientation,r=[],o=e._fullData,s=0;s<o.length;s++){var l=o[s];"histogram"===l.type&&!0===l.visible&&l.orientation===i&&l.xaxis===a&&l.yaxis===n&&r.push(l)}return r}(e,t),u=!1,p=1/0,f=[t];for(o=0;o<d.length;o++)if((s=d[o])===t)u=!0;else if(u){var m=h(e,s,a,n,!0),g=m[0],y=m[2];s["_"+n+"autoBinFinished"]=1,s["_"+n+"pos0"]=m[1],y?f.push(s):p=Math.min(p,g.size)}else l=c._histogramBinOpts[s["_"+n+"bingroup"]],p=Math.min(p,l.size||s[r].size);var v=new Array(f.length);for(o=0;o<f.length;o++)for(var x=f[o]["_"+n+"pos0"],b=0;b<x.length;b++)if(void 0!==x[b]){v[o]=x[b];break}isFinite(p)||(p=i.distinctVals(v).minDiff);for(o=0;o<f.length;o++){var T=(s=f[o])[n+"calendar"],_={start:a.c2r(v[o]-p/2,0,T),end:a.c2r(v[o]+p/2,0,T),size:p};s._input[r]=s[r]=_,(l=c._histogramBinOpts[s["_"+n+"bingroup"]])&&i.extendFlat(l,_)}return t[r]}(e,t,a,s,y)}(g=u.cumulative||{}).enabled&&"include"!==g.currentbin&&("decreasing"===g.direction?L.start=w(o.tickIncrement(_(L.start),L.size,!0,p)):L.end=w(o.tickIncrement(_(L.end),L.size,!1,p))),b.size=L.size,b.sizeFound||(m.size=L.size,i.nestedProperty(d[0],y+".size").set(L.size)),k("start",b,L),k("end",b,L)}f=t["_"+s+"pos0"],delete t["_"+s+"pos0"];var j=t._input[y]||{},F=i.extendFlat({},b),O=b.start,C=a.r2l(j.start),E=void 0!==C;if((b.startFound||E)&&C!==a.r2l(O)){var B=E?C:i.aggNums(Math.min,null,f),P={type:"category"===a.type||"multicategory"===a.type?"linear":a.type,r2l:a.r2l,dtick:b.size,tick0:O,calendar:p,range:[B,o.tickIncrement(B,b.size,!1,p)].map(a.l2r)},R=o.tickFirst(P);R>a.r2l(B)&&(R=o.tickIncrement(R,b.size,!0,p)),F.start=a.l2r(R),E||i.nestedProperty(t,y+".start").set(F.start)}var V=b.end,G=a.r2l(j.end),U=void 0!==G;if((b.endFound||U)&&G!==a.r2l(V)){var H=U?G:i.aggNums(Math.max,null,f);F.end=a.l2r(H),U||i.nestedProperty(t,y+".start").set(F.end)}var Y="autobin"+s;return!1===t._input[Y]&&(t._input[y]=i.extendFlat({},t[y]||{}),delete t._input[Y],delete t[Y]),[F,f]}e.exports={calc:function(e,t){var a,r,p,f,m=[],g=[],y=o.getFromId(e,"h"===t.orientation?t.yaxis:t.xaxis),v="h"===t.orientation?"y":"x",x={x:"y",y:"x"}[v],b=t[v+"calendar"],T=t.cumulative,_=h(e,t,y,v),w=_[0],z=_[1],k="string"===typeof w.size,M=[],A=k?M:w,S=[],I=[],D=[],L=0,N=t.histnorm,j=t.histfunc,F=-1!==N.indexOf("density");T.enabled&&F&&(N=N.replace(/ ?density$/,""),F=!1);var O,C="max"===j||"min"===j?null:0,E=l.count,B=c[N],P=!1,R=function(e){return y.r2c(e,0,b)};for(i.isArrayOrTypedArray(t[x])&&"count"!==j&&(O=t[x],P="avg"===j,E=l[j]),a=R(w.start),p=R(w.end)+(a-o.tickIncrement(a,w.size,!1,b))/1e6;a<p&&m.length<1e6&&(r=o.tickIncrement(a,w.size,!1,b),m.push((a+r)/2),g.push(C),D.push([]),M.push(a),F&&S.push(1/(r-a)),P&&I.push(0),!(r<=a));)a=r;M.push(a),k||"date"!==y.type||(A={start:R(A.start),end:R(A.end),size:A.size}),e._fullLayout._roundFnOpts||(e._fullLayout._roundFnOpts={});var V=t["_"+v+"bingroup"],G={leftGap:1/0,rightGap:1/0};V&&(e._fullLayout._roundFnOpts[V]||(e._fullLayout._roundFnOpts[V]=G),G=e._fullLayout._roundFnOpts[V]);var U,H=g.length,Y=!0,X=G.leftGap,Z=G.rightGap,K={};for(a=0;a<z.length;a++){var q=z[a];(f=i.findBin(q,A))>=0&&f<H&&(L+=E(f,a,g,O,I),Y&&D[f].length&&q!==z[D[f][0]]&&(Y=!1),D[f].push(a),K[a]=f,X=Math.min(X,q-M[f]),Z=Math.min(Z,M[f+1]-q))}G.leftGap=X,G.rightGap=Z,Y||(U=function(t,a){return function(){var n=e._fullLayout._roundFnOpts[V];return u(n.leftGap,n.rightGap,M,y,b)(t,a)}}),P&&(L=d(g,I)),B&&B(g,L,S),T.enabled&&function(e,t,a){var n,i,r;function o(t){r=e[t],e[t]/=2}function s(t){i=e[t],e[t]=r+i/2,r+=i}if("half"===a)if("increasing"===t)for(o(0),n=1;n<e.length;n++)s(n);else for(o(e.length-1),n=e.length-2;n>=0;n--)s(n);else if("increasing"===t){for(n=1;n<e.length;n++)e[n]+=e[n-1];"exclude"===a&&(e.unshift(0),e.pop())}else{for(n=e.length-2;n>=0;n--)e[n]+=e[n+1];"exclude"===a&&(e.push(0),e.shift())}}(g,T.direction,T.currentbin);var W=Math.min(m.length,g.length),$=[],J=0,Q=W-1;for(a=0;a<W;a++)if(g[a]){J=a;break}for(a=W-1;a>=J;a--)if(g[a]){Q=a;break}for(a=J;a<=Q;a++)if(n(m[a])&&n(g[a])){var ee={p:m[a],s:g[a],b:0};T.enabled||(ee.pts=D[a],Y?ee.ph0=ee.ph1=D[a].length?z[D[a][0]]:m[a]:(t._computePh=!0,ee.ph0=U(M[a]),ee.ph1=U(M[a+1],!0))),$.push(ee)}return 1===$.length&&($[0].width1=o.tickIncrement($[0].p,w.size,!1,b)-$[0].p),s($,t),i.isArrayOrTypedArray(t.selectedpoints)&&i.tagSelected($,t,K),$},calcAllAutoBins:h}},75223:function(e){e.exports={eventDataKeys:["binNumber"]}},69764:function(e,t,a){var n=a(47401),i=a(77063),r=a(62282).traceIs,o=a(18878).handleGroupingDefaults,s=n.nestedProperty,l=a(30807).getAxisGroup,c=[{aStr:{x:"xbins.start",y:"ybins.start"},name:"start"},{aStr:{x:"xbins.end",y:"ybins.end"},name:"end"},{aStr:{x:"xbins.size",y:"ybins.size"},name:"size"},{aStr:{x:"nbinsx",y:"nbinsy"},name:"nbins"}],d=["x","y"];e.exports=function(e,t){var a,u,h,p,f,m,g,y=t._histogramBinOpts={},v=[],x={},b=[];function T(e,t){return n.coerce(a._input,a,a._module.attributes,e,t)}function _(e){return"v"===e.orientation?"x":"y"}function w(e,a,r){var o=e.uid+"__"+r;a||(a=o);var s=function(e,a){return i.getFromTrace({_fullLayout:t},e,a).type}(e,r),l=e[r+"calendar"]||"",c=y[a],d=!0;c&&(s===c.axType&&l===c.calendar?(d=!1,c.traces.push(e),c.dirs.push(r)):(a=o,s!==c.axType&&n.warn(["Attempted to group the bins of trace",e.index,"set on a","type:"+s,"axis","with bins on","type:"+c.axType,"axis."].join(" ")),l!==c.calendar&&n.warn(["Attempted to group the bins of trace",e.index,"set with a",l,"calendar","with bins",c.calendar?"on a "+c.calendar+" calendar":"w/o a set calendar"].join(" ")))),d&&(y[a]={traces:[e],dirs:[r],axType:s,calendar:e[r+"calendar"]||""}),e["_"+r+"bingroup"]=a}for(f=0;f<e.length;f++)a=e[f],r(a,"histogram")&&(v.push(a),delete a._xautoBinFinished,delete a._yautoBinFinished,r(a,"2dMap")||o(a._input,a,t,T));var z=t._alignmentOpts||{};for(f=0;f<v.length;f++){if(a=v[f],h="",!r(a,"2dMap")){if(p=_(a),"group"===t.barmode&&a.alignmentgroup){var k=a[p+"axis"],M=l(t,k)+a.orientation;(z[M]||{})[a.alignmentgroup]&&(h=M)}h||"overlay"===t.barmode||(h=l(t,a.xaxis)+l(t,a.yaxis)+_(a))}h?(x[h]||(x[h]=[]),x[h].push(a)):b.push(a)}for(h in x)if(1!==(u=x[h]).length){var A=!1;for(u.length&&(a=u[0],A=T("bingroup")),h=A||h,f=0;f<u.length;f++){var S=(a=u[f])._input.bingroup;S&&S!==h&&n.warn(["Trace",a.index,"must match","within bingroup",h+".","Ignoring its bingroup:",S,"setting."].join(" ")),a.bingroup=h,w(a,h,_(a))}}else b.push(u[0]);for(f=0;f<b.length;f++){a=b[f];var I=T("bingroup");if(r(a,"2dMap"))for(g=0;g<2;g++){var D=T((p=d[g])+"bingroup",I?I+"__"+p:null);w(a,D,p)}else w(a,I,_(a))}for(h in y){var L=y[h];for(u=L.traces,m=0;m<c.length;m++){var N,j,F=c[m],O=F.name;if("nbins"!==O||!L.sizeFound){for(f=0;f<u.length;f++){if(a=u[f],p=L.dirs[f],N=F.aStr[p],void 0!==s(a._input,N).get()){L[O]=T(N),L[O+"Found"]=!0;break}(j=(a._autoBin||{})[p]||{})[O]&&s(a,N).set(j[O])}if("start"===O||"end"===O)for(;f<u.length;f++)(a=u[f])["_"+p+"bingroup"]&&T(N,(j=(a._autoBin||{})[p]||{})[O]);"nbins"!==O||L.sizeFound||L.nbinsFound||(a=u[0],L[O]=T(N))}}}}},14407:function(e,t,a){var n=a(62282),i=a(47401),r=a(31454),o=a(58048),s=a(7536);e.exports=function(e,t,a,l){function c(a,n){return i.coerce(e,t,s,a,n)}var d=c("x"),u=c("y");c("cumulative.enabled")&&(c("cumulative.direction"),c("cumulative.currentbin")),c("text"),c("hovertext"),c("hovertemplate"),c("xhoverformat"),c("yhoverformat");var h=c("orientation",u&&!d?"h":"v"),p="v"===h?"x":"y",f="v"===h?"y":"x",m=d&&u?Math.min(i.minRowLength(d)&&i.minRowLength(u)):i.minRowLength(t[p]||[]);if(m){t._length=m,n.getComponentMethod("calendars","handleTraceDefaults")(e,t,["x","y"],l),t[f]&&c("histfunc"),c("histnorm"),c("autobin"+p),o(e,t,c,a,l),i.coerceSelectionMarkerOpacity(t,c);var g=(t.marker.line||{}).color,y=n.getComponentMethod("errorbars","supplyDefaults");y(e,t,g||r.defaultLine,{axis:"y"}),y(e,t,g||r.defaultLine,{axis:"x",inherit:"y"})}else t.visible=!1}},22044:function(e){e.exports=function(e,t,a,n,i){if(e.x="xVal"in t?t.xVal:t.x,e.y="yVal"in t?t.yVal:t.y,"zLabelVal"in t&&(e.z=t.zLabelVal),t.xa&&(e.xaxis=t.xa),t.ya&&(e.yaxis=t.ya),!(a.cumulative||{}).enabled){var r,o=Array.isArray(i)?n[0].pts[i[0]][i[1]]:n[i].pts;if(e.pointNumbers=o,e.binNumber=e.pointNumber,delete e.pointNumber,delete e.pointIndex,a._indexToPoints){r=[];for(var s=0;s<o.length;s++)r=r.concat(a._indexToPoints[o[s]])}else r=o;e.pointIndices=r}return e}},23319:function(e,t,a){var n=a(16032).hoverPoints,i=a(37762).hoverLabelText;e.exports=function(e,t,a,r,o){var s=n(e,t,a,r,o);if(s){var l=(e=s[0]).cd[e.index],c=e.cd[0].trace;if(!c.cumulative.enabled){var d="h"===c.orientation?"y":"x";e[d+"Label"]=i(e[d+"a"],[l.ph0,l.ph1],c[d+"hoverformat"])}return s}}},84909:function(e,t,a){e.exports={attributes:a(7536),layoutAttributes:a(21044),supplyDefaults:a(14407),crossTraceDefaults:a(69764),supplyLayoutDefaults:a(13603),calc:a(69184).calc,crossTraceCalc:a(11262).crossTraceCalc,plot:a(74835).plot,layerName:"barlayer",style:a(49651).style,styleOnSelect:a(49651).styleOnSelect,colorbar:a(78666),hoverPoints:a(23319),selectPoints:a(76304),eventData:a(22044),moduleType:"trace",name:"histogram",basePlotModule:a(66807),categories:["bar-like","cartesian","svg","bar","histogram","oriented","errorBarsOK","showLegend"],meta:{description:["The sample data from which statistics are computed is set in `x`","for vertically spanning histograms and","in `y` for horizontally spanning histograms.","Binning options are set `xbins` and `ybins` respectively","if no aggregation data is provided."].join(" ")}}},17817:function(e){e.exports={percent:function(e,t){for(var a=e.length,n=100/t,i=0;i<a;i++)e[i]*=n},probability:function(e,t){for(var a=e.length,n=0;n<a;n++)e[n]/=t},density:function(e,t,a,n){var i=e.length;n=n||1;for(var r=0;r<i;r++)e[r]*=a[r]*n},"probability density":function(e,t,a,n){var i=e.length;n&&(t/=n);for(var r=0;r<i;r++)e[r]*=a[r]/t}}},31534:function(e,t,a){var n=a(7536),i=a(30350),r=a(5738),o=a(42837),s=a(20184).axisHoverFormat,l=a(4216).r,c=a(97451),d=a(87241).extendFlat;e.exports=d({x:n.x,y:n.y,z:{valType:"data_array",editType:"calc",description:"Sets the aggregation data."},marker:{color:{valType:"data_array",editType:"calc",description:"Sets the aggregation data."},editType:"calc"},histnorm:n.histnorm,histfunc:n.histfunc,nbinsx:n.nbinsx,xbins:i("x"),nbinsy:n.nbinsy,ybins:i("y"),autobinx:n.autobinx,autobiny:n.autobiny,bingroup:d({},n.bingroup,{description:["Set the `xbingroup` and `ybingroup` default prefix","For example, setting a `bingroup` of *1* on two histogram2d traces","will make them their x-bins and y-bins match separately."].join(" ")}),xbingroup:d({},n.bingroup,{description:["Set a group of histogram traces which will have compatible x-bin settings.","Using `xbingroup`, histogram2d and histogram2dcontour traces ","(on axes of the same axis type) can have compatible x-bin settings.","Note that the same `xbingroup` value can be used to set (1D) histogram `bingroup`"].join(" ")}),ybingroup:d({},n.bingroup,{description:["Set a group of histogram traces which will have compatible y-bin settings.","Using `ybingroup`, histogram2d and histogram2dcontour traces ","(on axes of the same axis type) can have compatible y-bin settings.","Note that the same `ybingroup` value can be used to set (1D) histogram `bingroup`"].join(" ")}),xgap:r.xgap,ygap:r.ygap,zsmooth:r.zsmooth,xhoverformat:s("x"),yhoverformat:s("y"),zhoverformat:s("z",1),hovertemplate:l({},{keys:"z"}),showlegend:d({},o.showlegend,{dflt:!1})},c("",{cLetter:"z",autoColorDflt:!1}))},89834:function(e,t,a){var n=a(47401),i=a(37762),r=a(86150),o=a(17817),s=a(27350),l=a(76964),c=a(69184).calcAllAutoBins;function d(e,t,a,n){var i,r=new Array(e);if(n)for(i=0;i<e;i++)r[i]=1/(t[i+1]-t[i]);else{var o=1/a;for(i=0;i<e;i++)r[i]=o}return r}function u(e,t){return{start:e(t.start),end:e(t.end),size:t.size}}function h(e,t,a,n,i,r){var o,s=e.length-1,c=new Array(s),d=l(a,n,e,i,r);for(o=0;o<s;o++){var u=(t||[])[o];c[o]=void 0===u?[d(e[o]),d(e[o+1],!0)]:[u,u]}return c}e.exports=function(e,t){var a,l,p,f,m=i.getFromId(e,t.xaxis),g=i.getFromId(e,t.yaxis),y=t.xcalendar,v=t.ycalendar,x=function(e){return m.r2c(e,0,y)},b=function(e){return g.r2c(e,0,v)},T=c(e,t,m,"x"),_=T[0],w=T[1],z=c(e,t,g,"y"),k=z[0],M=z[1],A=t._length;w.length>A&&w.splice(A,w.length-A),M.length>A&&M.splice(A,M.length-A);var S=[],I=[],D=[],L="string"===typeof _.size,N="string"===typeof k.size,j=[],F=[],O=L?j:_,C=N?F:k,E=0,B=[],P=[],R=t.histnorm,V=t.histfunc,G=-1!==R.indexOf("density"),U="max"===V||"min"===V?null:0,H=r.count,Y=o[R],X=!1,Z=[],K=[],q="z"in t?t.z:"marker"in t&&Array.isArray(t.marker.color)?t.marker.color:"";q&&"count"!==V&&(X="avg"===V,H=r[V]);var W=_.size,$=x(_.start),J=x(_.end)+($-i.tickIncrement($,W,!1,y))/1e6;for(a=$;a<J;a=i.tickIncrement(a,W,!1,y))I.push(U),j.push(a),X&&D.push(0);j.push(a);var Q,ee=I.length,te=(a-$)/ee,ae=(Q=$+te/2,m.c2r(Q,0,y)),ne=k.size,ie=b(k.start),re=b(k.end)+(ie-i.tickIncrement(ie,ne,!1,v))/1e6;for(a=ie;a<re;a=i.tickIncrement(a,ne,!1,v)){S.push(I.slice()),F.push(a);var oe=new Array(ee);for(l=0;l<ee;l++)oe[l]=[];P.push(oe),X&&B.push(D.slice())}F.push(a);var se=S.length,le=(a-ie)/se,ce=function(e){return g.c2r(e,0,v)}(ie+le/2);G&&(Z=d(I.length,O,te,L),K=d(S.length,C,le,N)),L||"date"!==m.type||(O=u(x,O)),N||"date"!==g.type||(C=u(b,C));var de=!0,ue=!0,he=new Array(ee),pe=new Array(se),fe=1/0,me=1/0,ge=1/0,ye=1/0;for(a=0;a<A;a++){var ve=w[a],xe=M[a];p=n.findBin(ve,O),f=n.findBin(xe,C),p>=0&&p<ee&&f>=0&&f<se&&(E+=H(p,a,S[f],q,B[f]),P[f][p].push(a),de&&(void 0===he[p]?he[p]=ve:he[p]!==ve&&(de=!1)),ue&&(void 0===pe[f]?pe[f]=xe:pe[f]!==xe&&(ue=!1)),fe=Math.min(fe,ve-j[p]),me=Math.min(me,j[p+1]-ve),ge=Math.min(ge,xe-F[f]),ye=Math.min(ye,F[f+1]-xe))}if(X)for(f=0;f<se;f++)E+=s(S[f],B[f]);if(Y)for(f=0;f<se;f++)Y(S[f],E,Z,K[f]);return{x:w,xRanges:h(j,de&&he,fe,me,m,y),x0:ae,dx:te,y:M,yRanges:h(F,ue&&pe,ge,ye,g,v),y0:ce,dy:le,z:S,pts:P}}},11225:function(e,t,a){var n=a(47401),i=a(35934),r=a(2815),o=a(94060),s=a(31534);e.exports=function(e,t,a,l){function c(a,i){return n.coerce(e,t,s,a,i)}i(e,t,c,l),!1!==t.visible&&(r(e,t,c,l),o(e,t,l,c,{prefix:"",cLetter:"z"}),c("hovertemplate"),c("xhoverformat"),c("yhoverformat"))}},47009:function(e,t,a){var n=a(77301),i=a(37762).hoverLabelText;e.exports=function(e,t,a,r,o){var s=n(e,t,a,r,o);if(s){var l=(e=s[0]).index,c=l[0],d=l[1],u=e.cd[0],h=u.trace,p=u.xRanges[d],f=u.yRanges[c];return e.xLabel=i(e.xa,[p[0],p[1]],h.xhoverformat),e.yLabel=i(e.ya,[f[0],f[1]],h.yhoverformat),s}}},35311:function(e,t,a){e.exports={attributes:a(31534),supplyDefaults:a(11225),crossTraceDefaults:a(69764),calc:a(63846),plot:a(45396),layerName:"heatmaplayer",colorbar:a(17439),style:a(24246),hoverPoints:a(47009),eventData:a(22044),moduleType:"trace",name:"histogram2d",basePlotModule:a(66807),categories:["cartesian","svg","2dMap","histogram","showLegend"],meta:{hrName:"histogram_2d",description:["The sample data from which statistics are computed is set in `x`","and `y` (where `x` and `y` represent marginal distributions,","binning is set in `xbins` and `ybins` in this case)","or `z` (where `z` represent the 2D distribution and binning set,","binning is set by `x` and `y` in this case).","The resulting distribution is visualized as a heatmap."].join(" ")}}},35934:function(e,t,a){var n=a(62282),i=a(47401);e.exports=function(e,t,a,r){var o=a("x"),s=a("y"),l=i.minRowLength(o),c=i.minRowLength(s);l&&c?(t._length=Math.min(l,c),n.getComponentMethod("calendars","handleTraceDefaults")(e,t,["x","y"],r),(a("z")||a("marker.color"))&&a("histfunc"),a("histnorm"),a("autobinx"),a("autobiny")):t.visible=!1}},14570:function(e,t,a){var n=a(31534),i=a(52416),r=a(97451),o=a(20184).axisHoverFormat,s=a(87241).extendFlat;e.exports=s({x:n.x,y:n.y,z:n.z,marker:n.marker,histnorm:n.histnorm,histfunc:n.histfunc,nbinsx:n.nbinsx,xbins:n.xbins,nbinsy:n.nbinsy,ybins:n.ybins,autobinx:n.autobinx,autobiny:n.autobiny,bingroup:n.bingroup,xbingroup:n.xbingroup,ybingroup:n.ybingroup,autocontour:i.autocontour,ncontours:i.ncontours,contours:i.contours,line:{color:i.line.color,width:s({},i.line.width,{dflt:.5,description:"Sets the contour line width in (in px)"}),dash:i.line.dash,smoothing:i.line.smoothing,editType:"plot"},xhoverformat:o("x"),yhoverformat:o("y"),zhoverformat:o("z",1),hovertemplate:n.hovertemplate},r("",{cLetter:"z",editTypeOverride:"calc"}))},9213:function(e,t,a){var n=a(47401),i=a(35934),r=a(20567),o=a(67137),s=a(14570);e.exports=function(e,t,a,l){function c(a,i){return n.coerce(e,t,s,a,i)}i(e,t,c,l),!1!==t.visible&&(r(e,t,c,(function(a){return n.coerce2(e,t,s,a)})),o(e,t,c,l),c("hovertemplate"),c("xhoverformat"),c("yhoverformat"))}},20627:function(e,t,a){e.exports={attributes:a(14570),supplyDefaults:a(9213),crossTraceDefaults:a(69764),calc:a(56240),plot:a(22818).plot,layerName:"contourlayer",style:a(72960),colorbar:a(68201),hoverPoints:a(51303),moduleType:"trace",name:"histogram2dcontour",basePlotModule:a(66807),categories:["cartesian","svg","2dMap","contour","histogram","showLegend"],meta:{hrName:"histogram_2d_contour",description:["The sample data from which statistics are computed is set in `x`","and `y` (where `x` and `y` represent marginal distributions,","binning is set in `xbins` and `ybins` in this case)","or `z` (where `z` represent the 2D distribution and binning set,","binning is set by `x` and `y` in this case).","The resulting distribution is visualized as a contour plot."].join(" ")}}},61481:function(e,t,a){var n=a(4216).r,i=a(4216).a,r=a(97451),o=a(16688).u,s=a(86692),l=a(44244),c=a(98048),d=a(22740),u=a(87241).extendFlat;e.exports={labels:l.labels,parents:l.parents,values:l.values,branchvalues:l.branchvalues,count:l.count,level:l.level,maxdepth:l.maxdepth,tiling:{orientation:{valType:"enumerated",values:["v","h"],dflt:"h",editType:"plot",description:["When set in conjunction with `tiling.flip`, determines on","which side the root nodes are drawn in the chart. If","`tiling.orientation` is *v* and `tiling.flip` is **, the root","nodes appear at the top. If `tiling.orientation` is *v* and","`tiling.flip` is *y*, the root nodes appear at the bottom. If","`tiling.orientation` is *h* and `tiling.flip` is **, the","root nodes appear at the left. If `tiling.orientation` is *h*","and `tiling.flip` is *x*, the root nodes appear at the right."].join(" ")},flip:c.tiling.flip,pad:{valType:"number",min:0,dflt:0,editType:"plot",description:["Sets the inner padding (in px)."].join(" ")},editType:"calc"},marker:u({colors:l.marker.colors,line:l.marker.line,editType:"calc"},r("marker",{colorAttr:"colors",anim:!1})),leaf:l.leaf,pathbar:c.pathbar,text:s.text,textinfo:l.textinfo,texttemplate:i({editType:"plot"},{keys:d.eventDataKeys.concat(["label","value"])}),hovertext:s.hovertext,hoverinfo:l.hoverinfo,hovertemplate:n({},{keys:d.eventDataKeys}),textfont:s.textfont,insidetextfont:s.insidetextfont,outsidetextfont:c.outsidetextfont,textposition:c.textposition,sort:s.sort,root:l.root,domain:o({name:"icicle",trace:!0,editType:"calc"})}},43723:function(e,t,a){var n=a(35722);t.name="icicle",t.plot=function(e,a,i,r){n.plotBasePlot(t.name,e,a,i,r)},t.clean=function(e,a,i,r){n.cleanBasePlot(t.name,e,a,i,r)}},8781:function(e,t,a){var n=a(23348);t._=function(e,t){return n.calc(e,t)},t.t=function(e){return n._runCrossTraceCalc("icicle",e)}},69134:function(e,t,a){var n=a(47401),i=a(61481),r=a(31454),o=a(16688).N,s=a(18878).handleText,l=a(33419).TEXTPAD,c=a(47624),d=c.hasColorscale,u=c.handleDefaults;e.exports=function(e,t,a,c){function h(a,r){return n.coerce(e,t,i,a,r)}var p=h("labels"),f=h("parents");if(p&&p.length&&f&&f.length){var m=h("values");m&&m.length?h("branchvalues"):h("count"),h("level"),h("maxdepth"),h("tiling.orientation"),h("tiling.flip"),h("tiling.pad");var g=h("text");h("texttemplate"),t.texttemplate||h("textinfo",Array.isArray(g)?"text+label":"label"),h("hovertext"),h("hovertemplate");var y=h("pathbar.visible");s(e,t,c,h,"auto",{hasPathbar:y,moduleHasSelected:!1,moduleHasUnselected:!1,moduleHasConstrain:!1,moduleHasCliponaxis:!1,moduleHasTextangle:!1,moduleHasInsideanchor:!1}),h("textposition"),h("marker.line.width")&&h("marker.line.color",c.paper_bgcolor),h("marker.colors");var v=t._hasColorscale=d(e,"marker","colors")||(e.marker||{}).coloraxis;v&&u(e,t,c,h,{prefix:"marker.",cLetter:"c"}),h("leaf.opacity",v?1:.7),t._hovered={marker:{line:{width:2,color:r.contrast(c.paper_bgcolor)}}},y&&(h("pathbar.thickness",t.pathbar.textfont.size+2*l),h("pathbar.side"),h("pathbar.edgeshape")),h("sort"),h("root.color"),o(t,c,h),t._length=null}else t.visible=!1}},80409:function(e,t,a){var n=a(62258),i=a(47401),r=a(41707),o=a(43995),s=a(73044),l=a(70947).styleOne,c=a(22740),d=a(94276),u=a(21379),h=a(48662).formatSliceLabel,p=!1;e.exports=function(e,t,a,f,m){var g=m.width,y=m.height,v=m.viewX,x=m.viewY,b=m.pathSlice,T=m.toMoveInsideSlice,_=m.strTransform,w=m.hasTransition,z=m.handleSlicesExit,k=m.makeUpdateSliceInterpolator,M=m.makeUpdateTextInterpolator,A=m.prevEntry,S=e._fullLayout,I=t[0].trace,D=-1!==I.textposition.indexOf("left"),L=-1!==I.textposition.indexOf("right"),N=-1!==I.textposition.indexOf("bottom"),j=s(a,[g,y],{flipX:I.tiling.flip.indexOf("x")>-1,flipY:I.tiling.flip.indexOf("y")>-1,orientation:I.tiling.orientation,pad:{inner:I.tiling.pad},maxDepth:I._maxDepth}).descendants(),F=1/0,O=-1/0;j.forEach((function(e){var t=e.depth;t>=I._maxDepth?(e.x0=e.x1=(e.x0+e.x1)/2,e.y0=e.y1=(e.y0+e.y1)/2):(F=Math.min(F,t),O=Math.max(O,t))})),f=f.data(j,d.getPtId),I._maxVisibleLayers=isFinite(O)?O-F+1:0,f.enter().append("g").classed("slice",!0),z(f,p,{},[g,y],b),f.order();var C=null;if(w&&A){var E=d.getPtId(A);f.each((function(e){null===C&&d.getPtId(e)===E&&(C={x0:e.x0,x1:e.x1,y0:e.y0,y1:e.y1})}))}var B=function(){return C||{x0:0,x1:g,y0:0,y1:y}},P=f;return w&&(P=P.transition().each("end",(function(){var t=n.select(this);d.setSliceCursor(t,e,{hideOnRoot:!0,hideOnLeaves:!1,isTransitioning:!1})}))),P.each((function(s){s._x0=v(s.x0),s._x1=v(s.x1),s._y0=x(s.y0),s._y1=x(s.y1),s._hoverX=v(s.x1-I.tiling.pad),s._hoverY=x(N?s.y1-I.tiling.pad/2:s.y0+I.tiling.pad/2);var f=n.select(this),m=i.ensureSingle(f,"path","surface",(function(e){e.style("pointer-events","all")}));w?m.transition().attrTween("d",(function(e){var t=k(e,p,B(),[g,y],{orientation:I.tiling.orientation,flipX:I.tiling.flip.indexOf("x")>-1,flipY:I.tiling.flip.indexOf("y")>-1});return function(e){return b(t(e))}})):m.attr("d",b),f.call(u,a,e,t,{styleOne:l,eventDataKeys:c.eventDataKeys,transitionTime:c.CLICK_TRANSITION_TIME,transitionEasing:c.CLICK_TRANSITION_EASING}).call(d.setSliceCursor,e,{isTransitioning:e._transitioning}),m.call(l,s,I,{hovered:!1}),s.x0===s.x1||s.y0===s.y1?s._text="":s._text=h(s,a,I,t,S)||"";var z=i.ensureSingle(f,"g","slicetext"),A=i.ensureSingle(z,"text","",(function(e){e.attr("data-notex",1)})),j=i.ensureUniformFontSize(e,d.determineTextFont(I,s,S.font));A.text(s._text||" ").classed("slicetext",!0).attr("text-anchor",L?"end":D?"start":"middle").call(r.font,j).call(o.convertToTspans,e),s.textBB=r.bBox(A.node()),s.transform=T(s,{fontSize:j.size}),s.transform.fontSize=j.size,w?A.transition().attrTween("transform",(function(e){var t=M(e,p,B(),[g,y]);return function(e){return _(t(e))}})):A.attr("transform",_(s))})),C}},38666:function(e,t,a){e.exports={moduleType:"trace",name:"icicle",basePlotModule:a(43723),categories:[],animatable:!0,attributes:a(61481),layoutAttributes:a(86500),supplyDefaults:a(69134),supplyLayoutDefaults:a(54579),calc:a(8781)._,crossTraceCalc:a(8781).t,plot:a(74211),style:a(70947).style,colorbar:a(78666),meta:{description:["Visualize hierarchal data from leaves (and/or outer branches) towards root","with rectangles. The icicle sectors are determined by the entries in","*labels* or *ids* and in *parents*."].join(" ")}}},86500:function(e){e.exports={iciclecolorway:{valType:"colorlist",editType:"calc",description:["Sets the default icicle slice colors. Defaults to the main","`colorway` used for trace colors. If you specify a new","list here it can still be extended with lighter and darker","colors, see `extendiciclecolors`."].join(" ")},extendiciclecolors:{valType:"boolean",dflt:!0,editType:"calc",description:["If `true`, the icicle slice colors (whether given by `iciclecolorway` or","inherited from `colorway`) will be extended to three times its","original length by first repeating every color 20% lighter then","each color 20% darker. This is intended to reduce the likelihood","of reusing the same color when you have many slices, but you can","set `false` to disable.","Colors provided in the trace, using `marker.colors`, are never","extended."].join(" ")}}},54579:function(e,t,a){var n=a(47401),i=a(86500);e.exports=function(e,t){function a(a,r){return n.coerce(e,t,i,a,r)}a("iciclecolorway",t.colorway),a("extendiciclecolors")}},73044:function(e,t,a){var n=a(43566),i=a(43357);e.exports=function(e,t,a){var r=a.flipX,o=a.flipY,s="h"===a.orientation,l=a.maxDepth,c=t[0],d=t[1];l&&(c=(e.height+1)*t[0]/Math.min(e.height+1,l),d=(e.height+1)*t[1]/Math.min(e.height+1,l));var u=n.partition().padding(a.pad.inner).size(s?[t[1],c]:[t[0],d])(e);return(s||r||o)&&i(u,t,{swapXY:s,flipX:r,flipY:o}),u}},74211:function(e,t,a){var n=a(23343),i=a(80409);e.exports=function(e,t,a,r){return n(e,t,a,r,{type:"icicle",drawDescendants:i})}},70947:function(e,t,a){var n=a(62258),i=a(31454),r=a(47401),o=a(77846).resizeText;function s(e,t,a){var n=t.data.data,o=!t.children,s=n.i,l=r.castOption(a,s,"marker.line.color")||i.defaultLine,c=r.castOption(a,s,"marker.line.width")||0;e.style("stroke-width",c).call(i.fill,n.color).call(i.stroke,l).style("opacity",o?a.leaf.opacity:null)}e.exports={style:function(e){var t=e._fullLayout._iciclelayer.selectAll(".trace");o(e,t,"icicle"),t.each((function(e){var t=n.select(this),a=e[0].trace;t.style("opacity",a.opacity),t.selectAll("path.surface").each((function(e){n.select(this).call(s,e,a)}))}))},styleOne:s}},95225:function(e,t,a){for(var n=a(42837),i=a(4216).r,r=a(87241).extendFlat,o=a(2859).colormodel,s=["rgb","rgba","rgba256","hsl","hsla"],l=[],c=[],d=0;d<s.length;d++){var u=o[s[d]];l.push("For the `"+s[d]+"` colormodel, it is ["+(u.zminDflt||u.min).join(", ")+"]."),c.push("For the `"+s[d]+"` colormodel, it is ["+(u.zmaxDflt||u.max).join(", ")+"].")}e.exports=r({source:{valType:"string",editType:"calc",description:["Specifies the data URI of the image to be visualized.",'The URI consists of "data:image/[<media subtype>][;base64],<data>"'].join(" ")},z:{valType:"data_array",editType:"calc",description:["A 2-dimensional array in which each element is an array of 3 or 4 numbers representing a color."].join(" ")},colormodel:{valType:"enumerated",values:s,editType:"calc",description:["Color model used to map the numerical color components described in `z` into colors.","If `source` is specified, this attribute will be set to `rgba256`","otherwise it defaults to `rgb`."].join(" ")},zsmooth:{valType:"enumerated",values:["fast",!1],dflt:!1,editType:"plot",description:["Picks a smoothing algorithm used to smooth `z` data.","This only applies for image traces that use the `source` attribute."].join(" ")},zmin:{valType:"info_array",items:[{valType:"number",editType:"calc"},{valType:"number",editType:"calc"},{valType:"number",editType:"calc"},{valType:"number",editType:"calc"}],editType:"calc",description:["Array defining the lower bound for each color component.","Note that the default value will depend on the colormodel.",l.join(" ")].join(" ")},zmax:{valType:"info_array",items:[{valType:"number",editType:"calc"},{valType:"number",editType:"calc"},{valType:"number",editType:"calc"},{valType:"number",editType:"calc"}],editType:"calc",description:["Array defining the higher bound for each color component.","Note that the default value will depend on the colormodel.",c.join(" ")].join(" ")},x0:{valType:"any",dflt:0,editType:"calc+clearAxisTypes",description:"Set the image's x position."},y0:{valType:"any",dflt:0,editType:"calc+clearAxisTypes",description:"Set the image's y position."},dx:{valType:"number",dflt:1,editType:"calc",description:"Set the pixel's horizontal size."},dy:{valType:"number",dflt:1,editType:"calc",description:"Set the pixel's vertical size"},text:{valType:"data_array",editType:"plot",description:"Sets the text elements associated with each z value."},hovertext:{valType:"data_array",editType:"plot",description:"Same as `text`."},hoverinfo:r({},n.hoverinfo,{flags:["x","y","z","color","name","text"],dflt:"x+y+z+text+name"}),hovertemplate:i({},{keys:["z","color","colormodel"]}),transforms:void 0})},77629:function(e,t,a){var n=a(47401),i=a(2859),r=a(83491),o=a(37762),s=a(47401).maxRowLength,l=a(80331).p;function c(e,t,a,i){return function(r){return n.constrain((r-e)*t,a,i)}}function d(e,t){return function(a){return n.constrain(a,e,t)}}e.exports=function(e,t){var a,n;if(t._hasZ)a=t.z.length,n=s(t.z);else if(t._hasSource){var u=l(t.source);a=u.height,n=u.width}var h,p=o.getFromId(e,t.xaxis||"x"),f=o.getFromId(e,t.yaxis||"y"),m=p.d2c(t.x0)-t.dx/2,g=f.d2c(t.y0)-t.dy/2,y=[m,m+n*t.dx],v=[g,g+a*t.dy];if(p&&"log"===p.type)for(h=0;h<n;h++)y.push(m+h*t.dx);if(f&&"log"===f.type)for(h=0;h<a;h++)v.push(g+h*t.dy);return t._extremes[p._id]=o.findExtremes(p,y),t._extremes[f._id]=o.findExtremes(f,v),t._scaler=function(e){var t=i.colormodel[e.colormodel],a=t.colormodel||e.colormodel,n=a.length;e._sArray=[];for(var o=0;o<n;o++)t.min[o]!==e.zmin[o]||t.max[o]!==e.zmax[o]?e._sArray.push(c(e.zmin[o],(t.max[o]-t.min[o])/(e.zmax[o]-e.zmin[o]),t.min[o],t.max[o])):e._sArray.push(d(t.min[o],t.max[o]));return function(t){for(var a=t.slice(0,n),i=0;i<n;i++){var o=a[i];if(!r(o))return!1;a[i]=e._sArray[i](o)}return a}}(t),[{x0:m,y0:g,z:t.z,w:n,h:a}]}},2859:function(e){e.exports={colormodel:{rgb:{min:[0,0,0],max:[255,255,255],fmt:function(e){return e.slice(0,3)},suffix:["","",""]},rgba:{min:[0,0,0,0],max:[255,255,255,1],fmt:function(e){return e.slice(0,4)},suffix:["","","",""]},rgba256:{colormodel:"rgba",zminDflt:[0,0,0,0],zmaxDflt:[255,255,255,255],min:[0,0,0,0],max:[255,255,255,1],fmt:function(e){return e.slice(0,4)},suffix:["","","",""]},hsl:{min:[0,0,0],max:[360,100,100],fmt:function(e){var t=e.slice(0,3);return t[1]=t[1]+"%",t[2]=t[2]+"%",t},suffix:["\xb0","%","%"]},hsla:{min:[0,0,0,0],max:[360,100,100,1],fmt:function(e){var t=e.slice(0,4);return t[1]=t[1]+"%",t[2]=t[2]+"%",t},suffix:["\xb0","%","%",""]}},pixelatedStyle:["image-rendering: optimizeSpeed","image-rendering: -moz-crisp-edges","image-rendering: -o-crisp-edges","image-rendering: -webkit-optimize-contrast","image-rendering: optimize-contrast","image-rendering: crisp-edges","image-rendering: pixelated",""].join("; ")}},69502:function(e,t,a){var n=a(47401),i=a(95225),r=a(2859),o=a(4475).IMAGE_URL_PREFIX;e.exports=function(e,t){function a(a,r){return n.coerce(e,t,i,a,r)}a("source"),t.source&&!t.source.match(o)&&delete t.source,t._hasSource=!!t.source;var s,l=a("z");(t._hasZ=!(void 0===l||!l.length||!l[0]||!l[0].length),t._hasZ||t._hasSource)?(a("x0"),a("y0"),a("dx"),a("dy"),t._hasZ?(a("colormodel","rgb"),a("zmin",(s=r.colormodel[t.colormodel]).zminDflt||s.min),a("zmax",s.zmaxDflt||s.max)):t._hasSource&&(t.colormodel="rgba256",s=r.colormodel[t.colormodel],t.zmin=s.zminDflt,t.zmax=s.zmaxDflt),a("zsmooth"),a("text"),a("hovertext"),a("hovertemplate"),t._length=null):t.visible=!1}},83941:function(e){e.exports=function(e,t){return"xVal"in t&&(e.x=t.xVal),"yVal"in t&&(e.y=t.yVal),t.xa&&(e.xaxis=t.xa),t.ya&&(e.yaxis=t.ya),e.color=t.color,e.colormodel=t.trace.colormodel,e.z||(e.z=t.color),e}},80331:function(e,t,a){var n=a(13976),i=a(4475).IMAGE_URL_PREFIX,r=a(47397).Buffer;t.p=function(e){var t=e.replace(i,""),a=new r(t,"base64");return n(a)}},44864:function(e,t,a){var n=a(21661),i=a(47401),r=a(2859);e.exports=function(e,t,a){var o=e.cd[0],s=o.trace,l=e.xa,c=e.ya;if(!(n.inbox(t-o.x0,t-(o.x0+o.w*s.dx),0)>0||n.inbox(a-o.y0,a-(o.y0+o.h*s.dy),0)>0)){var d,u=Math.floor((t-o.x0)/s.dx),h=Math.floor(Math.abs(a-o.y0)/s.dy);if(s._hasZ?d=o.z[h][u]:s._hasSource&&(d=s._canvas.el.getContext("2d").getImageData(u,h,1,1).data),d){var p,f=o.hi||s.hoverinfo;if(f){var m=f.split("+");-1!==m.indexOf("all")&&(m=["color"]),-1!==m.indexOf("color")&&(p=!0)}var g,y=r.colormodel[s.colormodel],v=y.colormodel||s.colormodel,x=v.length,b=s._scaler(d),T=y.suffix,_=[];(s.hovertemplate||p)&&(_.push("["+[b[0]+T[0],b[1]+T[1],b[2]+T[2]].join(", ")),4===x&&_.push(", "+b[3]+T[3]),_.push("]"),_=_.join(""),e.extraText=v.toUpperCase()+": "+_),Array.isArray(s.hovertext)&&Array.isArray(s.hovertext[h])?g=s.hovertext[h][u]:Array.isArray(s.text)&&Array.isArray(s.text[h])&&(g=s.text[h][u]);var w=c.c2p(o.y0+(h+.5)*s.dy),z=o.x0+(u+.5)*s.dx,k=o.y0+(h+.5)*s.dy,M="["+d.slice(0,s.colormodel.length).join(", ")+"]";return[i.extendFlat(e,{index:[h,u],x0:l.c2p(o.x0+u*s.dx),x1:l.c2p(o.x0+(u+1)*s.dx),y0:w,y1:w,color:b,xVal:z,xLabelVal:z,yVal:k,yLabelVal:k,zLabelVal:M,text:g,hovertemplateLabels:{zLabel:M,colorLabel:_,"color[0]Label":b[0]+T[0],"color[1]Label":b[1]+T[1],"color[2]Label":b[2]+T[2],"color[3]Label":b[3]+T[3]}})]}}}},10714:function(e,t,a){e.exports={attributes:a(95225),supplyDefaults:a(69502),calc:a(77629),plot:a(21683),style:a(78483),hoverPoints:a(44864),eventData:a(83941),moduleType:"trace",name:"image",basePlotModule:a(66807),categories:["cartesian","svg","2dMap","noSortingByValue"],animatable:!1,meta:{description:["Display an image, i.e. data on a 2D regular raster.","By default, when an image is displayed in a subplot,","its y axis will be reversed (ie. `autorange: 'reversed'`),","constrained to the domain (ie. `constrain: 'domain'`)","and it will have the same scale as its x axis (ie. `scaleanchor: 'x,`)","in order for pixels to be rendered as squares."].join(" ")}}},21683:function(e,t,a){var n=a(62258),i=a(47401),r=i.strTranslate,o=a(6412),s=a(2859),l=i.isIOS()||i.isSafari()||i.isIE();e.exports=function(e,t,a,c){var d=t.xaxis,u=t.yaxis,h=!(l||e._context._exportedPlot);i.makeTraceGroups(c,a,"im").each((function(t){var a=n.select(this),l=t[0],c=l.trace,p=("fast"===c.zsmooth||!1===c.zsmooth&&h)&&!c._hasZ&&c._hasSource&&"linear"===d.type&&"linear"===u.type;c._realImage=p;var f,m,g,y,v,x,b=l.z,T=l.x0,_=l.y0,w=l.w,z=l.h,k=c.dx,M=c.dy;for(x=0;void 0===f&&x<w;)f=d.c2p(T+x*k),x++;for(x=w;void 0===m&&x>0;)m=d.c2p(T+x*k),x--;for(x=0;void 0===y&&x<z;)y=u.c2p(_+x*M),x++;for(x=z;void 0===v&&x>0;)v=u.c2p(_+x*M),x--;if(m<f&&(g=m,m=f,f=g),v<y&&(g=y,y=v,v=g),!p){f=Math.max(-.5*d._length,f),m=Math.min(1.5*d._length,m),y=Math.max(-.5*u._length,y),v=Math.min(1.5*u._length,v)}var A=Math.round(m-f),S=Math.round(v-y);if(A<=0||S<=0){a.selectAll("image").data([]).exit().remove()}else{var I=a.selectAll("image").data([t]);I.enter().append("svg:image").attr({xmlns:o.svg,preserveAspectRatio:"none"}),I.exit().remove();var D=!1===c.zsmooth?s.pixelatedStyle:"";if(p){var L=i.simpleMap(d.range,d.r2l),N=i.simpleMap(u.range,u.r2l),j=L[1]<L[0],F=N[1]>N[0];if(j||F){var O=f+A/2,C=y+S/2;D+="transform:"+r(O+"px",C+"px")+"scale("+(j?-1:1)+","+(F?-1:1)+")"+r(-O+"px",-C+"px")+";"}}I.attr("style",D);var E=new Promise((function(e){if(c._hasZ)e();else if(c._hasSource)if(c._canvas&&c._canvas.el.width===w&&c._canvas.el.height===z&&c._canvas.source===c.source)e();else{var t=document.createElement("canvas");t.width=w,t.height=z;var a=t.getContext("2d");c._image=c._image||new Image;var n=c._image;n.onload=function(){a.drawImage(n,0,0),c._canvas={el:t,source:c.source},e()},n.setAttribute("src",c.source)}})).then((function(){var e,t;if(c._hasZ)t=B((function(e,t){return b[t][e]})),e=t.toDataURL("image/png");else if(c._hasSource)if(p)e=c.source;else{var a=c._canvas.el.getContext("2d").getImageData(0,0,w,z).data;t=B((function(e,t){var n=4*(t*w+e);return[a[n],a[n+1],a[n+2],a[n+3]]})),e=t.toDataURL("image/png")}I.attr({"xlink:href":e,height:S,width:A,x:f,y:y})}));e._promises.push(E)}function B(e){var t=document.createElement("canvas");t.width=A,t.height=S;var a,n=t.getContext("2d"),r=function(e){return i.constrain(Math.round(d.c2p(T+e*k)-f),0,A)},o=function(e){return i.constrain(Math.round(u.c2p(_+e*M)-y),0,S)},h=s.colormodel[c.colormodel],p=h.colormodel||c.colormodel,m=h.fmt;for(x=0;x<l.w;x++){var g=r(x),v=r(x+1);if(v!==g&&!isNaN(v)&&!isNaN(g))for(var b=0;b<l.h;b++){var w=o(b),z=o(b+1);z===w||isNaN(z)||isNaN(w)||!e(x,b)||(a=c._scaler(e(x,b)),n.fillStyle=a?p+"("+m(a).join(",")+")":"rgba(0,0,0,0)",n.fillRect(g,w,v-g,z-w))}}return t}}))}},78483:function(e,t,a){var n=a(62258);e.exports=function(e){n.select(e).selectAll(".im image").style("opacity",(function(e){return e[0].trace.opacity}))}},42029:function(e,t,a){var n=a(87241).extendFlat,i=a(87241).extendDeep,r=a(17342).overrideAll,o=a(5153),s=a(62405),l=a(16688).u,c=a(33333),d=a(92704).templatedArray,u=a(7677),h=a(20184).descriptionOnlyNumbers,p=o({editType:"plot",colorEditType:"plot"}),f={color:{valType:"color",editType:"plot",description:["Sets the background color of the arc."].join(" ")},line:{color:{valType:"color",dflt:s.defaultLine,editType:"plot",description:["Sets the color of the line enclosing each sector."].join(" ")},width:{valType:"number",min:0,dflt:0,editType:"plot",description:["Sets the width (in px) of the line enclosing each sector."].join(" ")},editType:"calc"},thickness:{valType:"number",min:0,max:1,dflt:1,editType:"plot",description:["Sets the thickness of the bar as a fraction of the total thickness of the gauge."].join(" ")},editType:"calc"},m={valType:"info_array",items:[{valType:"number",editType:"plot"},{valType:"number",editType:"plot"}],editType:"plot",description:["Sets the range of this axis."].join(" ")},g=d("step",i({},f,{range:m}));e.exports={mode:{valType:"flaglist",editType:"calc",flags:["number","delta","gauge"],dflt:"number",description:["Determines how the value is displayed on the graph.","`number` displays the value numerically in text.","`delta` displays the difference to a reference value in text.","Finally, `gauge` displays the value graphically on an axis."].join(" ")},value:{valType:"number",editType:"calc",anim:!0,description:["Sets the number to be displayed."].join(" ")},align:{valType:"enumerated",values:["left","center","right"],editType:"plot",description:["Sets the horizontal alignment of the `text` within the box.","Note that this attribute has no effect if an angular gauge is displayed:","in this case, it is always centered"].join(" ")},domain:l({name:"indicator",trace:!0,editType:"calc"}),title:{text:{valType:"string",editType:"plot",description:["Sets the title of this indicator."].join(" ")},align:{valType:"enumerated",values:["left","center","right"],editType:"plot",description:["Sets the horizontal alignment of the title.","It defaults to `center` except for bullet charts","for which it defaults to right."].join(" ")},font:n({},p,{description:["Set the font used to display the title"].join(" ")}),editType:"plot"},number:{valueformat:{valType:"string",dflt:"",editType:"plot",description:h("value")},font:n({},p,{description:["Set the font used to display main number"].join(" ")}),prefix:{valType:"string",dflt:"",editType:"plot",description:["Sets a prefix appearing before the number."].join(" ")},suffix:{valType:"string",dflt:"",editType:"plot",description:["Sets a suffix appearing next to the number."].join(" ")},editType:"plot"},delta:{reference:{valType:"number",editType:"calc",description:["Sets the reference value to compute the delta.","By default, it is set to the current value."].join(" ")},position:{valType:"enumerated",values:["top","bottom","left","right"],dflt:"bottom",editType:"plot",description:["Sets the position of delta with respect to the number."].join(" ")},relative:{valType:"boolean",editType:"plot",dflt:!1,description:["Show relative change"].join(" ")},valueformat:{valType:"string",editType:"plot",description:h("value")},increasing:{symbol:{valType:"string",dflt:u.INCREASING.SYMBOL,editType:"plot",description:["Sets the symbol to display for increasing value"].join(" ")},color:{valType:"color",dflt:u.INCREASING.COLOR,editType:"plot",description:["Sets the color for increasing value."].join(" ")},editType:"plot"},decreasing:{symbol:{valType:"string",dflt:u.DECREASING.SYMBOL,editType:"plot",description:["Sets the symbol to display for increasing value"].join(" ")},color:{valType:"color",dflt:u.DECREASING.COLOR,editType:"plot",description:["Sets the color for increasing value."].join(" ")},editType:"plot"},font:n({},p,{description:["Set the font used to display the delta"].join(" ")}),editType:"calc"},gauge:{shape:{valType:"enumerated",editType:"plot",dflt:"angular",values:["angular","bullet"],description:["Set the shape of the gauge"].join(" ")},bar:i({},f,{color:{dflt:"green"},description:["Set the appearance of the gauge's value"].join(" ")}),bgcolor:{valType:"color",editType:"plot",description:"Sets the gauge background color."},bordercolor:{valType:"color",dflt:s.defaultLine,editType:"plot",description:"Sets the color of the border enclosing the gauge."},borderwidth:{valType:"number",min:0,dflt:1,editType:"plot",description:"Sets the width (in px) of the border enclosing the gauge."},axis:r({range:m,visible:n({},c.visible,{dflt:!0}),tickmode:c.tickmode,nticks:c.nticks,tick0:c.tick0,dtick:c.dtick,tickvals:c.tickvals,ticktext:c.ticktext,ticks:n({},c.ticks,{dflt:"outside"}),ticklen:c.ticklen,tickwidth:c.tickwidth,tickcolor:c.tickcolor,showticklabels:c.showticklabels,tickfont:o({description:"Sets the color bar's tick label font"}),tickangle:c.tickangle,tickformat:c.tickformat,tickformatstops:c.tickformatstops,tickprefix:c.tickprefix,showtickprefix:c.showtickprefix,ticksuffix:c.ticksuffix,showticksuffix:c.showticksuffix,separatethousands:c.separatethousands,exponentformat:c.exponentformat,minexponent:c.minexponent,showexponent:c.showexponent,editType:"plot"},"plot"),steps:g,threshold:{line:{color:n({},f.line.color,{description:["Sets the color of the threshold line."].join(" ")}),width:n({},f.line.width,{dflt:1,description:["Sets the width (in px) of the threshold line."].join(" ")}),editType:"plot"},thickness:n({},f.thickness,{dflt:.85,description:["Sets the thickness of the threshold line as a fraction of the thickness of the gauge."].join(" ")}),value:{valType:"number",editType:"calc",dflt:!1,description:["Sets a treshold value drawn as a line."].join(" ")},editType:"plot"},description:"The gauge of the Indicator plot.",editType:"plot"}}},75799:function(e,t,a){var n=a(35722);t.name="indicator",t.plot=function(e,a,i,r){n.plotBasePlot(t.name,e,a,i,r)},t.clean=function(e,a,i,r){n.cleanBasePlot(t.name,e,a,i,r)}},38209:function(e){e.exports={calc:function(e,t){var a=[],n=t.value;"number"!==typeof t._lastValue&&(t._lastValue=t.value);var i=t._lastValue,r=i;return t._hasDelta&&"number"===typeof t.delta.reference&&(r=t.delta.reference),a[0]={y:n,lastY:i,delta:n-r,relativeDelta:(n-r)/r},a}}},52327:function(e){e.exports={defaultNumberFontSize:80,bulletNumberDomainSize:.25,bulletPadding:.025,innerRadius:.75,valueThickness:.5,titlePadding:5,horizontalPadding:10}},40762:function(e,t,a){var n=a(47401),i=a(42029),r=a(16688).N,o=a(92704),s=a(26800),l=a(52327),c=a(37801),d=a(49593),u=a(51860);function h(e,t){function a(a,r){return n.coerce(e,t,i.gauge.steps,a,r)}a("color"),a("line.color"),a("line.width"),a("range"),a("thickness")}e.exports={supplyDefaults:function(e,t,a,p){function f(a,r){return n.coerce(e,t,i,a,r)}r(t,p,f),f("mode"),t._hasNumber=-1!==t.mode.indexOf("number"),t._hasDelta=-1!==t.mode.indexOf("delta"),t._hasGauge=-1!==t.mode.indexOf("gauge");var m=f("value");t._range=[0,"number"===typeof m?1.5*m:1];var g,y,v,x,b,T,_=new Array(2);function w(e,t){return n.coerce(v,x,i.gauge,e,t)}function z(e,t){return n.coerce(b,T,i.gauge.axis,e,t)}if(t._hasNumber&&(f("number.valueformat"),f("number.font.color",p.font.color),f("number.font.family",p.font.family),f("number.font.size"),void 0===t.number.font.size&&(t.number.font.size=l.defaultNumberFontSize,_[0]=!0),f("number.prefix"),f("number.suffix"),g=t.number.font.size),t._hasDelta&&(f("delta.font.color",p.font.color),f("delta.font.family",p.font.family),f("delta.font.size"),void 0===t.delta.font.size&&(t.delta.font.size=(t._hasNumber?.5:1)*(g||l.defaultNumberFontSize),_[1]=!0),f("delta.reference",t.value),f("delta.relative"),f("delta.valueformat",t.delta.relative?"2%":""),f("delta.increasing.symbol"),f("delta.increasing.color"),f("delta.decreasing.symbol"),f("delta.decreasing.color"),f("delta.position"),y=t.delta.font.size),t._scaleNumbers=(!t._hasNumber||_[0])&&(!t._hasDelta||_[1])||!1,f("title.font.color",p.font.color),f("title.font.family",p.font.family),f("title.font.size",.25*(g||y||l.defaultNumberFontSize)),f("title.text"),t._hasGauge){(v=e.gauge)||(v={}),x=o.newContainer(t,"gauge"),w("shape"),(t._isBullet="bullet"===t.gauge.shape)||f("title.align","center"),(t._isAngular="angular"===t.gauge.shape)||f("align","center"),w("bgcolor",p.paper_bgcolor),w("borderwidth"),w("bordercolor"),w("bar.color"),w("bar.line.color"),w("bar.line.width"),w("bar.thickness",l.valueThickness*("bullet"===t.gauge.shape?.5:1)),s(v,x,{name:"steps",handleItemDefaults:h}),w("threshold.value"),w("threshold.thickness"),w("threshold.line.width"),w("threshold.line.color"),b={},v&&(b=v.axis||{}),T=o.newContainer(x,"axis"),z("visible"),t._range=z("range",t._range);var k={outerTicks:!0};c(b,T,z,"linear"),u(b,T,z,"linear",k),d(b,T,z,k)}else f("title.align","center"),f("align","center"),t._isAngular=t._isBullet=!1;t._length=null}}},61814:function(e,t,a){e.exports={moduleType:"trace",name:"indicator",basePlotModule:a(75799),categories:["svg","noOpacity","noHover"],animatable:!0,attributes:a(42029),supplyDefaults:a(40762).supplyDefaults,calc:a(38209).calc,plot:a(11447),meta:{description:["An indicator is used to visualize a single `value` along with some","contextual information such as `steps` or a `threshold`, using a","combination of three visual elements: a number, a delta, and/or a gauge.","Deltas are taken with respect to a `reference`.","Gauges can be either angular or bullet (aka linear) gauges."].join(" ")}}},11447:function(e,t,a){var n=a(62258),i=a(87717).GW,r=a(87717).Dj,o=a(47401),s=o.strScale,l=o.strTranslate,c=o.rad2deg,d=a(60482).MID_SHIFT,u=a(41707),h=a(52327),p=a(43995),f=a(37762),m=a(90407),g=a(84269),y=a(33333),v=a(31454),x={left:"start",center:"middle",right:"end"},b={left:0,center:.5,right:1},T=/[yzafpn\xb5mkMGTPEZY]/;function _(e){return e&&e.duration>0}function w(e){e.each((function(e){v.stroke(n.select(this),e.line.color)})).each((function(e){v.fill(n.select(this),e.color)})).style("stroke-width",(function(e){return e.line.width}))}function z(e,t,a){var n=e._fullLayout,i=o.extendFlat({type:"linear",ticks:"outside",range:a,showline:!0},t),r={type:"linear",_id:"x"+t._id},s={letter:"x",font:n.font,noHover:!0,noTickson:!0};function l(e,t){return o.coerce(i,r,y,e,t)}return m(i,r,l,s,n),g(i,r,l,s),r}function k(e,t,a){return[Math.min(t/e.width,a/e.height),e,t+"x"+a]}function M(e,t,a,i){var r=document.createElementNS("http://www.w3.org/2000/svg","text"),o=n.select(r);return o.text(e).attr("x",0).attr("y",0).attr("text-anchor",a).attr("data-unformatted",e).call(p.convertToTspans,i).call(u.font,t),u.bBox(o.node())}function A(e,t,a,n,i,r){var s="_cache"+t;e[s]&&e[s].key===i||(e[s]={key:i,value:a});var l=o.aggNums(r,null,[e[s].value,n],2);return e[s].value=l,l}e.exports=function(e,t,a,m){var g,y=e._fullLayout;_(a)&&m&&(g=m()),o.makeTraceGroups(y._indicatorlayer,t,"trace").each((function(t){var m,S,I,D,L,N=t[0].trace,j=n.select(this),F=N._hasGauge,O=N._isAngular,C=N._isBullet,E=N.domain,B={w:y._size.w*(E.x[1]-E.x[0]),h:y._size.h*(E.y[1]-E.y[0]),l:y._size.l+y._size.w*E.x[0],r:y._size.r+y._size.w*(1-E.x[1]),t:y._size.t+y._size.h*(1-E.y[1]),b:y._size.b+y._size.h*E.y[0]},P=B.l+B.w/2,R=B.t+B.h/2,V=Math.min(B.w/2,B.h),G=h.innerRadius*V,U=N.align||"center";if(S=R,F){if(O&&(m=P,S=R+V/2,I=function(e){return function(e,t){var a=Math.sqrt(e.width/2*(e.width/2)+e.height*e.height),n=t/a;return[n,e,t]}(e,.9*G)}),C){var H=h.bulletPadding,Y=1-h.bulletNumberDomainSize+H;m=B.l+(Y+(1-Y)*b[U])*B.w,I=function(e){return k(e,(h.bulletNumberDomainSize-H)*B.w,B.h)}}}else m=B.l+b[U]*B.w,I=function(e){return k(e,B.w,B.h)};!function(e,t,a,i){var c,d,h,m=a[0].trace,g=i.numbersX,y=i.numbersY,w=m.align||"center",k=x[w],S=i.transitionOpts,I=i.onComplete,D=o.ensureSingle(t,"g","numbers"),L=[];m._hasNumber&&L.push("number");m._hasDelta&&(L.push("delta"),"left"===m.delta.position&&L.reverse());var N=D.selectAll("text").data(L);function j(t,a,n,i){if(!t.match("s")||n>=0===i>=0||a(n).slice(-1).match(T)||a(i).slice(-1).match(T))return a;var r=t.slice().replace("s","f").replace(/\d+/,(function(e){return parseInt(e)-1})),o=z(e,{tickformat:r});return function(e){return Math.abs(e)<1?f.tickText(o,e).text:a(e)}}function F(){var t=z(e,{tickformat:m.number.valueformat},m._range);t.setScale(),f.prepTicks(t);var i=function(e){return f.tickText(t,e).text},o=m.number.suffix,s=m.number.prefix,l=D.select("text.number");function d(){var t="number"===typeof a[0].y?s+i(a[0].y)+o:"-";l.text(t).call(u.font,m.number.font).call(p.convertToTspans,e)}return _(S)?l.transition().duration(S.duration).ease(S.easing).each("end",(function(){d(),I&&I()})).each("interrupt",(function(){d(),I&&I()})).attrTween("text",(function(){var e=n.select(this),t=r(a[0].lastY,a[0].y);m._lastValue=a[0].y;var l=j(m.number.valueformat,i,a[0].lastY,a[0].y);return function(a){e.text(s+l(t(a))+o)}})):d(),c=M(s+i(a[0].y)+o,m.number.font,k,e),l}function O(){var t=z(e,{tickformat:m.delta.valueformat},m._range);t.setScale(),f.prepTicks(t);var i=function(e){return f.tickText(t,e).text},o=function(e){return m.delta.relative?e.relativeDelta:e.delta},s=function(e,t){return 0===e||"number"!==typeof e||isNaN(e)?"-":(e>0?m.delta.increasing.symbol:m.delta.decreasing.symbol)+t(e)},l=function(e){return e.delta>=0?m.delta.increasing.color:m.delta.decreasing.color};void 0===m._deltaLastValue&&(m._deltaLastValue=o(a[0]));var c=D.select("text.delta");function h(){c.text(s(o(a[0]),i)).call(v.fill,l(a[0])).call(p.convertToTspans,e)}return c.call(u.font,m.delta.font).call(v.fill,l({delta:m._deltaLastValue})),_(S)?c.transition().duration(S.duration).ease(S.easing).tween("text",(function(){var e=n.select(this),t=o(a[0]),c=m._deltaLastValue,d=j(m.delta.valueformat,i,c,t),u=r(c,t);return m._deltaLastValue=t,function(t){e.text(s(u(t),d)),e.call(v.fill,l({delta:u(t)}))}})).each("end",(function(){h(),I&&I()})).each("interrupt",(function(){h(),I&&I()})):h(),d=M(s(o(a[0]),i),m.delta.font,k,e),c}N.enter().append("text"),N.attr("text-anchor",(function(){return k})).attr("class",(function(e){return e})).attr("x",null).attr("y",null).attr("dx",null).attr("dy",null),N.exit().remove();var C,E=m.mode+m.align;m._hasDelta&&(C=O(),E+=m.delta.position+m.delta.font.size+m.delta.font.family+m.delta.valueformat,E+=m.delta.increasing.symbol+m.delta.decreasing.symbol,h=d);m._hasNumber&&(F(),E+=m.number.font.size+m.number.font.family+m.number.valueformat+m.number.suffix+m.number.prefix,h=c);if(m._hasDelta&&m._hasNumber){var B,P,R=[(c.left+c.right)/2,(c.top+c.bottom)/2],V=[(d.left+d.right)/2,(d.top+d.bottom)/2],G=.75*m.delta.font.size;"left"===m.delta.position&&(B=A(m,"deltaPos",0,-1*(c.width*b[m.align]+d.width*(1-b[m.align])+G),E,Math.min),P=R[1]-V[1],h={width:c.width+d.width+G,height:Math.max(c.height,d.height),left:d.left+B,right:c.right,top:Math.min(c.top,d.top+P),bottom:Math.max(c.bottom,d.bottom+P)}),"right"===m.delta.position&&(B=A(m,"deltaPos",0,c.width*(1-b[m.align])+d.width*b[m.align]+G,E,Math.max),P=R[1]-V[1],h={width:c.width+d.width+G,height:Math.max(c.height,d.height),left:c.left,right:d.right+B,top:Math.min(c.top,d.top+P),bottom:Math.max(c.bottom,d.bottom+P)}),"bottom"===m.delta.position&&(B=null,P=d.height,h={width:Math.max(c.width,d.width),height:c.height+d.height,left:Math.min(c.left,d.left),right:Math.max(c.right,d.right),top:c.bottom-c.height,bottom:c.bottom+d.height}),"top"===m.delta.position&&(B=null,P=c.top,h={width:Math.max(c.width,d.width),height:c.height+d.height,left:Math.min(c.left,d.left),right:Math.max(c.right,d.right),top:c.bottom-c.height-d.height,bottom:c.bottom}),C.attr({dx:B,dy:P})}(m._hasNumber||m._hasDelta)&&D.attr("transform",(function(){var e=i.numbersScaler(h);E+=e[2];var t,a=A(m,"numbersScale",1,e[0],E,Math.min);m._scaleNumbers||(a=1),t=m._isAngular?y-a*h.bottom:y-a*(h.top+h.bottom)/2,m._numbersTop=a*h.top+t;var n=h[w];"center"===w&&(n=(h.left+h.right)/2);var r=g-a*n;return r=A(m,"numbersTranslate",0,r,E,Math.max),l(r,t)+s(a)}))}(e,j,t,{numbersX:m,numbersY:S,numbersScaler:I,transitionOpts:a,onComplete:g}),F&&(D={range:N.gauge.axis.range,color:N.gauge.bgcolor,line:{color:N.gauge.bordercolor,width:0},thickness:1},L={range:N.gauge.axis.range,color:"rgba(0, 0, 0, 0)",line:{color:N.gauge.bordercolor,width:N.gauge.borderwidth},thickness:1});var X=j.selectAll("g.angular").data(O?t:[]);X.exit().remove();var Z=j.selectAll("g.angularaxis").data(O?t:[]);Z.exit().remove(),O&&function(e,t,a,r){var o,s,u,h,p=a[0].trace,m=r.size,g=r.radius,y=r.innerRadius,v=r.gaugeBg,x=r.gaugeOutline,b=[m.l+m.w/2,m.t+m.h/2+g/2],T=r.gauge,k=r.layer,M=r.transitionOpts,A=r.onComplete,S=Math.PI/2;function I(e){var t=p.gauge.axis.range[0],a=(e-t)/(p.gauge.axis.range[1]-t)*Math.PI-S;return a<-S?-S:a>S?S:a}function D(e){return n.svg.arc().innerRadius((y+g)/2-e/2*(g-y)).outerRadius((y+g)/2+e/2*(g-y)).startAngle(-S)}function L(e){e.attr("d",(function(e){return D(e.thickness).startAngle(I(e.range[0])).endAngle(I(e.range[1]))()}))}T.enter().append("g").classed("angular",!0),T.attr("transform",l(b[0],b[1])),k.enter().append("g").classed("angularaxis",!0).classed("crisp",!0),k.selectAll("g.xangularaxistick,path,text").remove(),o=z(e,p.gauge.axis),o.type="linear",o.range=p.gauge.axis.range,o._id="xangularaxis",o.ticklabeloverflow="allow",o.setScale();var N=function(e){return(o.range[0]-e.x)/(o.range[1]-o.range[0])*Math.PI+Math.PI},j={},F=f.makeLabelFns(o,0).labelStandoff;j.xFn=function(e){var t=N(e);return Math.cos(t)*F},j.yFn=function(e){var t=N(e),a=Math.sin(t)>0?.2:1;return-Math.sin(t)*(F+e.fontSize*a)+Math.abs(Math.cos(t))*(e.fontSize*d)},j.anchorFn=function(e){var t=N(e),a=Math.cos(t);return Math.abs(a)<.1?"middle":a>0?"start":"end"},j.heightFn=function(e,t,a){var n=N(e);return-.5*(1+Math.sin(n))*a};var O=function(e){return l(b[0]+g*Math.cos(e),b[1]-g*Math.sin(e))};u=function(e){return O(N(e))};var C=function(e){var t=N(e);return O(t)+"rotate("+-c(t)+")"};if(s=f.calcTicks(o),h=f.getTickSigns(o)[2],o.visible){h="inside"===o.ticks?-1:1;var E=(o.linewidth||1)/2;f.drawTicks(e,o,{vals:s,layer:k,path:"M"+h*E+",0h"+h*o.ticklen,transFn:C}),f.drawLabels(e,o,{vals:s,layer:k,transFn:u,labelFns:j})}var B=[v].concat(p.gauge.steps),P=T.selectAll("g.bg-arc").data(B);P.enter().append("g").classed("bg-arc",!0).append("path"),P.select("path").call(L).call(w),P.exit().remove();var R=D(p.gauge.bar.thickness),V=T.selectAll("g.value-arc").data([p.gauge.bar]);V.enter().append("g").classed("value-arc",!0).append("path");var G=V.select("path");_(M)?(G.transition().duration(M.duration).ease(M.easing).each("end",(function(){A&&A()})).each("interrupt",(function(){A&&A()})).attrTween("d",(U=R,H=I(a[0].lastY),Y=I(a[0].y),function(){var e=i(H,Y);return function(t){return U.endAngle(e(t))()}})),p._lastValue=a[0].y):G.attr("d","number"===typeof a[0].y?R.endAngle(I(a[0].y)):"M0,0Z");var U,H,Y;G.call(w),V.exit().remove(),B=[];var X=p.gauge.threshold.value;(X||0===X)&&B.push({range:[X,X],color:p.gauge.threshold.color,line:{color:p.gauge.threshold.line.color,width:p.gauge.threshold.line.width},thickness:p.gauge.threshold.thickness});var Z=T.selectAll("g.threshold-arc").data(B);Z.enter().append("g").classed("threshold-arc",!0).append("path"),Z.select("path").call(L).call(w),Z.exit().remove();var K=T.selectAll("g.gauge-outline").data([x]);K.enter().append("g").classed("gauge-outline",!0).append("path"),K.select("path").call(L).call(w),K.exit().remove()}(e,0,t,{radius:V,innerRadius:G,gauge:X,layer:Z,size:B,gaugeBg:D,gaugeOutline:L,transitionOpts:a,onComplete:g});var K=j.selectAll("g.bullet").data(C?t:[]);K.exit().remove();var q=j.selectAll("g.bulletaxis").data(C?t:[]);q.exit().remove(),C&&function(e,t,a,n){var i,r,o,s,c,d=a[0].trace,u=n.gauge,p=n.layer,m=n.gaugeBg,g=n.gaugeOutline,y=n.size,x=d.domain,b=n.transitionOpts,T=n.onComplete;u.enter().append("g").classed("bullet",!0),u.attr("transform",l(y.l,y.t)),p.enter().append("g").classed("bulletaxis",!0).classed("crisp",!0),p.selectAll("g.xbulletaxistick,path,text").remove();var k=y.h,M=d.gauge.bar.thickness*k,A=x.x[0],S=x.x[0]+(x.x[1]-x.x[0])*(d._hasNumber||d._hasDelta?1-h.bulletNumberDomainSize:1);i=z(e,d.gauge.axis),i._id="xbulletaxis",i.domain=[A,S],i.setScale(),r=f.calcTicks(i),o=f.makeTransTickFn(i),s=f.getTickSigns(i)[2],c=y.t+y.h,i.visible&&(f.drawTicks(e,i,{vals:"inside"===i.ticks?f.clipEnds(i,r):r,layer:p,path:f.makeTickPath(i,c,s),transFn:o}),f.drawLabels(e,i,{vals:r,layer:p,transFn:o,labelFns:f.makeLabelFns(i,c)}));function I(e){e.attr("width",(function(e){return Math.max(0,i.c2p(e.range[1])-i.c2p(e.range[0]))})).attr("x",(function(e){return i.c2p(e.range[0])})).attr("y",(function(e){return.5*(1-e.thickness)*k})).attr("height",(function(e){return e.thickness*k}))}var D=[m].concat(d.gauge.steps),L=u.selectAll("g.bg-bullet").data(D);L.enter().append("g").classed("bg-bullet",!0).append("rect"),L.select("rect").call(I).call(w),L.exit().remove();var N=u.selectAll("g.value-bullet").data([d.gauge.bar]);N.enter().append("g").classed("value-bullet",!0).append("rect"),N.select("rect").attr("height",M).attr("y",(k-M)/2).call(w),_(b)?N.select("rect").transition().duration(b.duration).ease(b.easing).each("end",(function(){T&&T()})).each("interrupt",(function(){T&&T()})).attr("width",Math.max(0,i.c2p(Math.min(d.gauge.axis.range[1],a[0].y)))):N.select("rect").attr("width","number"===typeof a[0].y?Math.max(0,i.c2p(Math.min(d.gauge.axis.range[1],a[0].y))):0);N.exit().remove();var j=a.filter((function(){return d.gauge.threshold.value||0===d.gauge.threshold.value})),F=u.selectAll("g.threshold-bullet").data(j);F.enter().append("g").classed("threshold-bullet",!0).append("line"),F.select("line").attr("x1",i.c2p(d.gauge.threshold.value)).attr("x2",i.c2p(d.gauge.threshold.value)).attr("y1",(1-d.gauge.threshold.thickness)/2*k).attr("y2",(1-(1-d.gauge.threshold.thickness)/2)*k).call(v.stroke,d.gauge.threshold.line.color).style("stroke-width",d.gauge.threshold.line.width),F.exit().remove();var O=u.selectAll("g.gauge-outline").data([g]);O.enter().append("g").classed("gauge-outline",!0).append("rect"),O.select("rect").call(I).call(w),O.exit().remove()}(e,0,t,{gauge:K,layer:q,size:B,gaugeBg:D,gaugeOutline:L,transitionOpts:a,onComplete:g});var W=j.selectAll("text.title").data(t);W.exit().remove(),W.enter().append("text").classed("title",!0),W.attr("text-anchor",(function(){return C?x.right:x[N.title.align]})).text(N.title.text).call(u.font,N.title.font).call(p.convertToTspans,e),W.attr("transform",(function(){var e,t=B.l+B.w*b[N.title.align],a=h.titlePadding,n=u.bBox(W.node());if(F){if(O)if(N.gauge.axis.visible)e=u.bBox(Z.node()).top-a-n.bottom;else e=B.t+B.h/2-V/2-n.bottom-a;C&&(e=S-(n.top+n.bottom)/2,t=B.l-h.bulletPadding*B.w)}else e=N._numbersTop-a-n.bottom;return l(t,e)}))}))}}}]);
@@ -0,0 +1,2 @@
1
+ /*! For license information please see 4349.c965f2de.js.LICENSE.txt */
2
+ (self.webpackChunk_mlflow_mlflow=self.webpackChunk_mlflow_mlflow||[]).push([[4349],{37701:function(e,t,n){"use strict";n.d(t,{A:function(){return ie}});var r=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(r){0}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}(),i=Math.abs,o=String.fromCharCode,s=Object.assign;function a(e){return e.trim()}function u(e,t,n){return e.replace(t,n)}function c(e,t){return e.indexOf(t)}function l(e,t){return 0|e.charCodeAt(t)}function d(e,t,n){return e.slice(t,n)}function f(e){return e.length}function h(e){return e.length}function p(e,t){return t.push(e),e}var g=1,m=1,v=0,y=0,I=0,b="";function w(e,t,n,r,i,o,s){return{value:e,root:t,parent:n,type:r,props:i,children:o,line:g,column:m,length:s,return:""}}function x(e,t){return s(w("",null,null,"",null,null,0),e,{length:-e.length},t)}function k(){return I=y>0?l(b,--y):0,m--,10===I&&(m=1,g--),I}function E(){return I=y<v?l(b,y++):0,m++,10===I&&(m=1,g++),I}function C(){return l(b,y)}function S(){return y}function O(e,t){return d(b,e,t)}function A(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function M(e){return g=m=1,v=f(b=e),y=0,[]}function R(e){return b="",e}function T(e){return a(O(y-1,_(91===e?e+2:40===e?e+1:e)))}function D(e){for(;(I=C())&&I<33;)E();return A(e)>2||A(I)>3?"":" "}function N(e,t){for(;--t&&E()&&!(I<48||I>102||I>57&&I<65||I>70&&I<97););return O(e,S()+(t<6&&32==C()&&32==E()))}function _(e){for(;E();)switch(I){case e:return y;case 34:case 39:34!==e&&39!==e&&_(I);break;case 40:41===e&&_(e);break;case 92:E()}return y}function F(e,t){for(;E()&&e+I!==57&&(e+I!==84||47!==C()););return"/*"+O(t,y-1)+"*"+o(47===e?e:E())}function P(e){for(;!A(C());)E();return O(e,y)}var L="-ms-",V="-moz-",K="-webkit-",$="comm",B="rule",j="decl",H="@keyframes";function W(e,t){for(var n="",r=h(e),i=0;i<r;i++)n+=t(e[i],i,e,t)||"";return n}function z(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case j:return e.return=e.return||e.value;case $:return"";case H:return e.return=e.value+"{"+W(e.children,r)+"}";case B:e.value=e.props.join(",")}return f(n=W(e.children,r))?e.return=e.value+"{"+n+"}":""}function U(e){return R(G("",null,null,null,[""],e=M(e),0,[0],e))}function G(e,t,n,r,i,s,a,d,h){for(var g=0,m=0,v=a,y=0,I=0,b=0,w=1,x=1,O=1,A=0,M="",R=i,_=s,L=r,V=M;x;)switch(b=A,A=E()){case 40:if(108!=b&&58==l(V,v-1)){-1!=c(V+=u(T(A),"&","&\f"),"&\f")&&(O=-1);break}case 34:case 39:case 91:V+=T(A);break;case 9:case 10:case 13:case 32:V+=D(b);break;case 92:V+=N(S()-1,7);continue;case 47:switch(C()){case 42:case 47:p(J(F(E(),S()),t,n),h);break;default:V+="/"}break;case 123*w:d[g++]=f(V)*O;case 125*w:case 59:case 0:switch(A){case 0:case 125:x=0;case 59+m:-1==O&&(V=u(V,/\f/g,"")),I>0&&f(V)-v&&p(I>32?Y(V+";",r,n,v-1):Y(u(V," ","")+";",r,n,v-2),h);break;case 59:V+=";";default:if(p(L=q(V,t,n,g,m,i,d,M,R=[],_=[],v),s),123===A)if(0===m)G(V,t,L,L,R,s,v,d,_);else switch(99===y&&110===l(V,3)?100:y){case 100:case 108:case 109:case 115:G(e,L,L,r&&p(q(e,L,L,0,0,i,d,M,i,R=[],v),_),i,_,v,d,r?R:_);break;default:G(V,L,L,L,[""],_,0,d,_)}}g=m=I=0,w=O=1,M=V="",v=a;break;case 58:v=1+f(V),I=b;default:if(w<1)if(123==A)--w;else if(125==A&&0==w++&&125==k())continue;switch(V+=o(A),A*w){case 38:O=m>0?1:(V+="\f",-1);break;case 44:d[g++]=(f(V)-1)*O,O=1;break;case 64:45===C()&&(V+=T(E())),y=C(),m=v=f(M=V+=P(S())),A++;break;case 45:45===b&&2==f(V)&&(w=0)}}return s}function q(e,t,n,r,o,s,c,l,f,p,g){for(var m=o-1,v=0===o?s:[""],y=h(v),I=0,b=0,x=0;I<r;++I)for(var k=0,E=d(e,m+1,m=i(b=c[I])),C=e;k<y;++k)(C=a(b>0?v[k]+" "+E:u(E,/&\f/g,v[k])))&&(f[x++]=C);return w(e,t,n,0===o?B:l,f,p,g)}function J(e,t,n){return w(e,t,n,$,o(I),d(e,2,-2),0)}function Y(e,t,n,r){return w(e,t,n,j,d(e,0,r),d(e,r+1,-1),r)}var X=function(e,t,n){for(var r=0,i=0;r=i,i=C(),38===r&&12===i&&(t[n]=1),!A(i);)E();return O(e,y)},Z=function(e,t){return R(function(e,t){var n=-1,r=44;do{switch(A(r)){case 0:38===r&&12===C()&&(t[n]=1),e[n]+=X(y-1,t,n);break;case 2:e[n]+=T(r);break;case 4:if(44===r){e[++n]=58===C()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=o(r)}}while(r=E());return e}(M(e),t))},Q=new WeakMap,ee=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||Q.get(n))&&!r){Q.set(e,!0);for(var i=[],o=Z(t,i),s=n.props,a=0,u=0;a<o.length;a++)for(var c=0;c<s.length;c++,u++)e.props[u]=i[a]?o[a].replace(/&\f/g,s[c]):s[c]+" "+o[a]}}},te=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function ne(e,t){switch(function(e,t){return 45^l(e,0)?(((t<<2^l(e,0))<<2^l(e,1))<<2^l(e,2))<<2^l(e,3):0}(e,t)){case 5103:return K+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return K+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return K+e+V+e+L+e+e;case 6828:case 4268:return K+e+L+e+e;case 6165:return K+e+L+"flex-"+e+e;case 5187:return K+e+u(e,/(\w+).+(:[^]+)/,K+"box-$1$2"+L+"flex-$1$2")+e;case 5443:return K+e+L+"flex-item-"+u(e,/flex-|-self/,"")+e;case 4675:return K+e+L+"flex-line-pack"+u(e,/align-content|flex-|-self/,"")+e;case 5548:return K+e+L+u(e,"shrink","negative")+e;case 5292:return K+e+L+u(e,"basis","preferred-size")+e;case 6060:return K+"box-"+u(e,"-grow","")+K+e+L+u(e,"grow","positive")+e;case 4554:return K+u(e,/([^-])(transform)/g,"$1"+K+"$2")+e;case 6187:return u(u(u(e,/(zoom-|grab)/,K+"$1"),/(image-set)/,K+"$1"),e,"")+e;case 5495:case 3959:return u(e,/(image-set\([^]*)/,K+"$1$`$1");case 4968:return u(u(e,/(.+:)(flex-)?(.*)/,K+"box-pack:$3"+L+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+K+e+e;case 4095:case 3583:case 4068:case 2532:return u(e,/(.+)-inline(.+)/,K+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(f(e)-1-t>6)switch(l(e,t+1)){case 109:if(45!==l(e,t+4))break;case 102:return u(e,/(.+:)(.+)-([^]+)/,"$1"+K+"$2-$3$1"+V+(108==l(e,t+3)?"$3":"$2-$3"))+e;case 115:return~c(e,"stretch")?ne(u(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==l(e,t+1))break;case 6444:switch(l(e,f(e)-3-(~c(e,"!important")&&10))){case 107:return u(e,":",":"+K)+e;case 101:return u(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+K+(45===l(e,14)?"inline-":"")+"box$3$1"+K+"$2$3$1"+L+"$2box$3")+e}break;case 5936:switch(l(e,t+11)){case 114:return K+e+L+u(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return K+e+L+u(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return K+e+L+u(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return K+e+L+e+e}return e}var re=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case j:e.return=ne(e.value,e.length);break;case H:return W([x(e,{value:u(e.value,"@","@"+K)})],r);case B:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return W([x(e,{props:[u(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return W([x(e,{props:[u(t,/:(plac\w+)/,":"+K+"input-$1")]}),x(e,{props:[u(t,/:(plac\w+)/,":-moz-$1")]}),x(e,{props:[u(t,/:(plac\w+)/,L+"input-$1")]})],r)}return""}))}}],ie=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var i=e.stylisPlugins||re;var o,s,a={},u=[];o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)a[t[n]]=!0;u.push(e)}));var c,l,d=[z,(l=function(e){c.insert(e)},function(e){e.root||(e=e.return)&&l(e)})],f=function(e){var t=h(e);return function(n,r,i,o){for(var s="",a=0;a<t;a++)s+=e[a](n,r,i,o)||"";return s}}([ee,te].concat(i,d));s=function(e,t,n,r){c=n,W(U(e?e+"{"+t.styles+"}":t.styles),f),r&&(p.inserted[t.name]=!0)};var p={key:t,sheet:new r({key:t,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:s};return p.sheet.hydrate(u),p}},22508:function(e,t,n){"use strict";n.d(t,{E:function(){return w},T:function(){return p},a:function(){return v},c:function(){return I},h:function(){return d},i:function(){return l},u:function(){return g},w:function(){return h}});var r=n(31014),i=n(37701),o=n(58168),s=function(e){var t=new WeakMap;return function(n){if(t.has(n))return t.get(n);var r=e(n);return t.set(n,r),r}},a=n(59135),u=n(35226),c=n(76149),l=!0,d={}.hasOwnProperty,f=r.createContext("undefined"!==typeof HTMLElement?(0,i.A)({key:"css"}):null);f.Provider;var h=function(e){return(0,r.forwardRef)((function(t,n){var i=(0,r.useContext)(f);return e(t,i,n)}))};l||(h=function(e){return function(t){var n=(0,r.useContext)(f);return null===n?(n=(0,i.A)({key:"css"}),r.createElement(f.Provider,{value:n},e(t,n))):e(t,n)}});var p=r.createContext({});var g=function(){return r.useContext(p)},m=s((function(e){return s((function(t){return function(e,t){return"function"===typeof t?t(e):(0,o.A)({},e,t)}(e,t)}))})),v=function(e){var t=r.useContext(p);return e.theme!==t&&(t=m(t)(e.theme)),r.createElement(p.Provider,{value:t},e.children)};var y="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",I=function(e,t){var n={};for(var r in t)d.call(t,r)&&(n[r]=t[r]);return n[y]=e,n},b=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return(0,a.SF)(t,n,r),(0,c.s)((function(){return(0,a.sk)(t,n,r)})),null};var w=h((function(e,t,n){var i=e.css;"string"===typeof i&&void 0!==t.registered[i]&&(i=t.registered[i]);var o=e[y],s=[i],c="";"string"===typeof e.className?c=(0,a.Rk)(t.registered,s,e.className):null!=e.className&&(c=e.className+" ");var l=(0,u.J)(s,void 0,r.useContext(p));c+=t.key+"-"+l.name;var f={};for(var h in e)d.call(e,h)&&"css"!==h&&h!==y&&(f[h]=e[h]);return f.ref=n,f.className=c,r.createElement(r.Fragment,null,r.createElement(b,{cache:t,serialized:l,isStringTag:"string"===typeof o}),r.createElement(o,f))}))},89555:function(e,t,n){"use strict";n.d(t,{AH:function(){return l},Z2:function(){return p},i7:function(){return d},mL:function(){return c},n:function(){return u}});var r=n(22508),i=n(31014),o=n(59135),s=n(76149),a=n(35226),u=(n(37701),n(62668),function(e,t){var n=arguments;if(null==t||!r.h.call(t,"css"))return i.createElement.apply(void 0,n);var o=n.length,s=new Array(o);s[0]=r.E,s[1]=(0,r.c)(e,t);for(var a=2;a<o;a++)s[a]=n[a];return i.createElement.apply(null,s)}),c=(0,r.w)((function(e,t){var n=e.styles,u=(0,a.J)([n],void 0,i.useContext(r.T));if(!r.i){for(var c,l=u.name,d=u.styles,f=u.next;void 0!==f;)l+=" "+f.name,d+=f.styles,f=f.next;var h=!0===t.compat,p=t.insert("",{name:l,styles:d},t.sheet,h);return h?null:i.createElement("style",((c={})["data-emotion"]=t.key+"-global "+l,c.dangerouslySetInnerHTML={__html:p},c.nonce=t.sheet.nonce,c))}var g=i.useRef();return(0,s.i)((function(){var e=t.key+"-global",n=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),r=!1,i=document.querySelector('style[data-emotion="'+e+" "+u.name+'"]');return t.sheet.tags.length&&(n.before=t.sheet.tags[0]),null!==i&&(r=!0,i.setAttribute("data-emotion",e),n.hydrate([i])),g.current=[n,r],function(){n.flush()}}),[t]),(0,s.i)((function(){var e=g.current,n=e[0];if(e[1])e[1]=!1;else{if(void 0!==u.next&&(0,o.sk)(t,u.next,!0),n.tags.length){var r=n.tags[n.tags.length-1].nextElementSibling;n.before=r,n.flush()}t.insert("",u,n,!1)}}),[t,u.name]),null}));function l(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,a.J)(t)}var d=function(){var e=l.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}},f=function e(t){for(var n=t.length,r=0,i="";r<n;r++){var o=t[r];if(null!=o){var s=void 0;switch(typeof o){case"boolean":break;case"object":if(Array.isArray(o))s=e(o);else for(var a in s="",o)o[a]&&a&&(s&&(s+=" "),s+=a);break;default:s=o}s&&(i&&(i+=" "),i+=s)}}return i};var h=function(e){var t=e.cache,n=e.serializedArr;return(0,s.s)((function(){for(var e=0;e<n.length;e++)(0,o.sk)(t,n[e],!1)})),null},p=(0,r.w)((function(e,t){var n=[],s=function(){for(var e=arguments.length,r=new Array(e),i=0;i<e;i++)r[i]=arguments[i];var s=(0,a.J)(r,t.registered);return n.push(s),(0,o.SF)(t,s,!1),t.key+"-"+s.name},u={css:s,cx:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return function(e,t,n){var r=[],i=(0,o.Rk)(e,r,n);return r.length<2?n:i+t(r)}(t.registered,s,f(n))},theme:i.useContext(r.T)},c=e.children(u);return!0,i.createElement(i.Fragment,null,i.createElement(h,{cache:t,serializedArr:n}),c)}))},50111:function(e,t,n){"use strict";n.d(t,{FD:function(){return a},FK:function(){return o},Y:function(){return s}});var r=n(46550),i=n(22508),o=(n(31014),n(37701),n(62668),n(35226),n(76149),r.Fragment);function s(e,t,n){return i.h.call(t,"css")?r.jsx(i.E,(0,i.c)(e,t),n):r.jsx(e,t,n)}function a(e,t,n){return i.h.call(t,"css")?r.jsxs(i.E,(0,i.c)(e,t),n):r.jsxs(e,t,n)}},35226:function(e,t,n){"use strict";n.d(t,{J:function(){return p}});var r=n(61155);function i(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var o=/[A-Z]|^ms/g,s=/_EMO_([^_]+?)_([^]*?)_EMO_/g,a=function(e){return 45===e.charCodeAt(1)},u=function(e){return null!=e&&"boolean"!==typeof e},c=i((function(e){return a(e)?e:e.replace(o,"-$&").toLowerCase()})),l=function(e,t){switch(e){case"animation":case"animationName":if("string"===typeof t)return t.replace(s,(function(e,t,n){return f={name:t,styles:n,next:f},t}))}return 1===r.A[e]||a(e)||"number"!==typeof t||0===t?t:t+"px"};function d(e,t,n){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return f={name:n.name,styles:n.styles,next:f},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)f={name:r.name,styles:r.styles,next:f},r=r.next;return n.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=d(e,t,n[i])+";";else for(var o in n){var s=n[o];if("object"!==typeof s)null!=t&&void 0!==t[s]?r+=o+"{"+t[s]+"}":u(s)&&(r+=c(o)+":"+l(o,s)+";");else if(!Array.isArray(s)||"string"!==typeof s[0]||null!=t&&void 0!==t[s[0]]){var a=d(e,t,s);switch(o){case"animation":case"animationName":r+=c(o)+":"+a+";";break;default:r+=o+"{"+a+"}"}}else for(var f=0;f<s.length;f++)u(s[f])&&(r+=c(o)+":"+l(o,s[f])+";")}return r}(e,t,n);case"function":if(void 0!==e){var i=f,o=n(e);return f=i,d(e,t,o)}}if(null==t)return n;var s=t[n];return void 0!==s?s:n}var f,h=/label:\s*([^\s;\n{]+)\s*(;|$)/g;var p=function(e,t,n){if(1===e.length&&"object"===typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,i="";f=void 0;var o=e[0];null==o||void 0===o.raw?(r=!1,i+=d(n,t,o)):i+=o[0];for(var s=1;s<e.length;s++)i+=d(n,t,e[s]),r&&(i+=o[s]);h.lastIndex=0;for(var a,u="";null!==(a=h.exec(i));)u+="-"+a[1];var c=function(e){for(var t,n=0,r=0,i=e.length;i>=4;++r,i-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(i){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(i)+u;return{name:c,styles:i,next:f}}},61155:function(e,t,n){"use strict";n.d(t,{A:function(){return r}});var r={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1}},76149:function(e,t,n){"use strict";var r;n.d(t,{i:function(){return a},s:function(){return s}});var i=n(31014),o=!!(r||(r=n.t(i,2))).useInsertionEffect&&(r||(r=n.t(i,2))).useInsertionEffect,s=o||function(e){return e()},a=o||i.useLayoutEffect},59135:function(e,t,n){"use strict";n.d(t,{Rk:function(){return r},SF:function(){return i},sk:function(){return o}});function r(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):r+=n+" "})),r}var i=function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},o=function(e,t,n){i(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o=t;do{e.insert(t===o?"."+r:"",o,e.sheet,!0),o=o.next}while(void 0!==o)}}},9834:function(e,t,n){"use strict";n.d(t,{Bp:function(){return be},mH:function(){return je}});var r=n(15662),i=n.n(r),o=n(31014);n(42709);function s(e){return"object"==typeof e&&null!=e&&1===e.nodeType}function a(e,t){return(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e}function u(e,t){if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){var n=getComputedStyle(e,null);return a(n.overflowY,t)||a(n.overflowX,t)||function(e){var t=function(e){if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(e){return null}}(e);return!!t&&(t.clientHeight<e.scrollHeight||t.clientWidth<e.scrollWidth)}(e)}return!1}function c(e,t,n,r,i,o,s,a){return o<e&&s>t||o>e&&s<t?0:o<=e&&a<=n||s>=t&&a>=n?o-e-r:s>t&&a<n||o<e&&a>n?s-t+i:0}var l=n(80665);let d=0;function f(){}function h(e,t){if(!e)return;const n=function(e,t){var n=window,r=t.scrollMode,i=t.block,o=t.inline,a=t.boundary,l=t.skipOverflowHiddenElements,d="function"==typeof a?a:function(e){return e!==a};if(!s(e))throw new TypeError("Invalid target");for(var f=document.scrollingElement||document.documentElement,h=[],p=e;s(p)&&d(p);){if((p=p.parentElement)===f){h.push(p);break}null!=p&&p===document.body&&u(p)&&!u(document.documentElement)||null!=p&&u(p,l)&&h.push(p)}for(var g=n.visualViewport?n.visualViewport.width:innerWidth,m=n.visualViewport?n.visualViewport.height:innerHeight,v=window.scrollX||pageXOffset,y=window.scrollY||pageYOffset,I=e.getBoundingClientRect(),b=I.height,w=I.width,x=I.top,k=I.right,E=I.bottom,C=I.left,S="start"===i||"nearest"===i?x:"end"===i?E:x+b/2,O="center"===o?C+w/2:"end"===o?k:C,A=[],M=0;M<h.length;M++){var R=h[M],T=R.getBoundingClientRect(),D=T.height,N=T.width,_=T.top,F=T.right,P=T.bottom,L=T.left;if("if-needed"===r&&x>=0&&C>=0&&E<=m&&k<=g&&x>=_&&E<=P&&C>=L&&k<=F)return A;var V=getComputedStyle(R),K=parseInt(V.borderLeftWidth,10),$=parseInt(V.borderTopWidth,10),B=parseInt(V.borderRightWidth,10),j=parseInt(V.borderBottomWidth,10),H=0,W=0,z="offsetWidth"in R?R.offsetWidth-R.clientWidth-K-B:0,U="offsetHeight"in R?R.offsetHeight-R.clientHeight-$-j:0;if(f===R)H="start"===i?S:"end"===i?S-m:"nearest"===i?c(y,y+m,m,$,j,y+S,y+S+b,b):S-m/2,W="start"===o?O:"center"===o?O-g/2:"end"===o?O-g:c(v,v+g,g,K,B,v+O,v+O+w,w),H=Math.max(0,H+y),W=Math.max(0,W+v);else{H="start"===i?S-_-$:"end"===i?S-P+j+U:"nearest"===i?c(_,P,D,$,j+U,S,S+b,b):S-(_+D/2)+U/2,W="start"===o?O-L-K:"center"===o?O-(L+N/2)+z/2:"end"===o?O-F+B+z:c(L,F,N,K,B+z,O,O+w,w);var G=R.scrollLeft,q=R.scrollTop;S+=q-(H=Math.max(0,Math.min(q+H,R.scrollHeight-D+U))),O+=G-(W=Math.max(0,Math.min(G+W,R.scrollWidth-N+z)))}A.push({el:R,top:H,left:W})}return A}(e,{boundary:t,block:"nearest",scrollMode:"if-needed"});n.forEach((e=>{let{el:t,top:n,left:r}=e;t.scrollTop=n,t.scrollLeft=r}))}function p(e,t,n){return e===t||t instanceof n.Node&&e.contains&&e.contains(t)}function g(e,t){let n;function r(){n&&clearTimeout(n)}function i(){for(var i=arguments.length,o=new Array(i),s=0;s<i;s++)o[s]=arguments[s];r(),n=setTimeout((()=>{n=null,e(...o)}),t)}return i.cancel=r,i}function m(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return t.some((t=>(t&&t(e,...r),e.preventDownshiftDefault||e.hasOwnProperty("nativeEvent")&&e.nativeEvent.preventDownshiftDefault)))}}function v(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return e=>{t.forEach((t=>{"function"===typeof t?t(e):t&&(t.current=e)}))}}function y(){return String(d++)}function I(e){let{isOpen:t,resultCount:n,previousResultCount:r}=e;return t?n?n!==r?n+" result"+(1===n?" is":"s are")+" available, use up and down arrow keys to navigate. Press Enter key to select.":"":"No results are available.":""}function b(e,t){return Object.keys(e).reduce(((n,r)=>(n[r]=w(t,r)?t[r]:e[r],n)),{})}function w(e,t){return void 0!==e[t]}function x(e){const{key:t,keyCode:n}=e;return n>=37&&n<=40&&0!==t.indexOf("Arrow")?"Arrow"+t:t}function k(e,t,n,r,i){if(void 0===i&&(i=!0),0===n)return-1;const o=n-1;("number"!==typeof t||t<0||t>=n)&&(t=e>0?-1:o+1);let s=t+e;s<0?s=i?o:0:s>o&&(s=i?0:o);const a=E(e,s,n,r,i);return-1===a?t>=n?-1:t:a}function E(e,t,n,r,i){const o=r(t);if(!o||!o.hasAttribute("disabled"))return t;if(e>0){for(let s=t+1;s<n;s++)if(!r(s).hasAttribute("disabled"))return s}else for(let s=t-1;s>=0;s--)if(!r(s).hasAttribute("disabled"))return s;return i?e>0?E(1,0,n,r,!1):E(-1,n-1,n,r,!1):-1}function C(e,t,n,r){return void 0===r&&(r=!0),t.some((t=>t&&(p(t,e,n)||r&&p(t,n.document.activeElement,n))))}const S=g((e=>{A(e).textContent=""}),500);function O(e,t){const n=A(t);e&&(n.textContent=e,S(t))}function A(e){void 0===e&&(e=document);let t=e.getElementById("a11y-status-message");return t||(t=e.createElement("div"),t.setAttribute("id","a11y-status-message"),t.setAttribute("role","status"),t.setAttribute("aria-live","polite"),t.setAttribute("aria-relevant","additions text"),Object.assign(t.style,{border:"0",clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:"0",position:"absolute",width:"1px"}),e.body.appendChild(t),t)}const M={highlightedIndex:-1,isOpen:!1,selectedItem:null,inputValue:""};function R(e,t,n){const{props:r,type:i}=e,o={};Object.keys(t).forEach((r=>{!function(e,t,n,r){const{props:i,type:o}=t,s="on"+F(e)+"Change";i[s]&&void 0!==r[e]&&r[e]!==n[e]&&i[s]({type:o,...r})}(r,e,t,n),n[r]!==t[r]&&(o[r]=n[r])})),r.onStateChange&&Object.keys(o).length&&r.onStateChange({type:i,...o})}const T=g(((e,t)=>{O(e(),t)}),200),D="undefined"!==typeof window&&"undefined"!==typeof window.document&&"undefined"!==typeof window.document.createElement?o.useLayoutEffect:o.useEffect;function N(e){let{id:t="downshift-"+y(),labelId:n,menuId:r,getItemId:i,toggleButtonId:s,inputId:a}=e;return(0,o.useRef)({labelId:n||t+"-label",menuId:r||t+"-menu",getItemId:i||(e=>t+"-item-"+e),toggleButtonId:s||t+"-toggle-button",inputId:a||t+"-input"}).current}function _(e,t,n){return void 0!==e?e:0===n.length?-1:n.indexOf(t)}function F(e){return""+e.slice(0,1).toUpperCase()+e.slice(1)}function P(e){const t=(0,o.useRef)(e);return t.current=e,t}function L(e,t,n){const r=(0,o.useRef)(),i=(0,o.useRef)(),s=(0,o.useCallback)(((t,n)=>{i.current=n,t=b(t,n.props);const r=e(t,n);return n.props.stateReducer(t,{...n,changes:r})}),[e]),[a,u]=(0,o.useReducer)(s,t),c=P(n),l=(0,o.useCallback)((e=>u({props:c.current,...e})),[c]),d=i.current;return(0,o.useEffect)((()=>{d&&r.current&&r.current!==a&&R(d,b(r.current,d.props),a),r.current=a}),[a,n,d]),[a,l]}function V(e,t,n){const[r,i]=L(e,t,n);return[b(r,n),i]}const K={itemToString:function(e){return e?String(e):""},stateReducer:function(e,t){return t.changes},getA11ySelectionMessage:function(e){const{selectedItem:t,itemToString:n}=e;return t?n(t)+" has been selected.":""},scrollIntoView:h,circularNavigation:!1,environment:"undefined"===typeof window?{}:window};function $(e,t,n){void 0===n&&(n=M);const r=e["default"+F(t)];return void 0!==r?r:n[t]}function B(e,t,n){void 0===n&&(n=M);const r=e[t];if(void 0!==r)return r;const i=e["initial"+F(t)];return void 0!==i?i:$(e,t,n)}function j(e){const t=B(e,"selectedItem"),n=B(e,"isOpen"),r=B(e,"highlightedIndex"),i=B(e,"inputValue");return{highlightedIndex:r<0&&t&&n?e.items.indexOf(t):r,isOpen:n,selectedItem:t,inputValue:i}}function H(e,t,n,r){const{items:i,initialHighlightedIndex:o,defaultHighlightedIndex:s}=e,{selectedItem:a,highlightedIndex:u}=t;return 0===i.length?-1:void 0!==o&&u===o?o:void 0!==s?s:a?0===n?i.indexOf(a):k(n,i.indexOf(a),i.length,r,!1):0===n?-1:n<0?i.length-1:0}function W(e,t,n,r){const i=(0,o.useRef)({isMouseDown:!1,isTouchMove:!1});return(0,o.useEffect)((()=>{const o=()=>{i.current.isMouseDown=!0},s=o=>{i.current.isMouseDown=!1,e&&!C(o.target,t.map((e=>e.current)),n)&&r()},a=()=>{i.current.isTouchMove=!1},u=()=>{i.current.isTouchMove=!0},c=o=>{!e||i.current.isTouchMove||C(o.target,t.map((e=>e.current)),n,!1)||r()};return n.addEventListener("mousedown",o),n.addEventListener("mouseup",s),n.addEventListener("touchstart",a),n.addEventListener("touchmove",u),n.addEventListener("touchend",c),function(){n.removeEventListener("mousedown",o),n.removeEventListener("mouseup",s),n.removeEventListener("touchstart",a),n.removeEventListener("touchmove",u),n.removeEventListener("touchend",c)}}),[e,n]),i}let z=()=>f;function U(e,t,n){let{isInitialMount:r,highlightedIndex:i,items:s,environment:a,...u}=n;(0,o.useEffect)((()=>{r||T((()=>e({highlightedIndex:i,highlightedItem:s[i],resultCount:s.length,...u})),a.document)}),t)}function G(e){let{highlightedIndex:t,isOpen:n,itemRefs:r,getItemNodeFromIndex:i,menuElement:s,scrollIntoView:a}=e;const u=(0,o.useRef)(!0);return D((()=>{t<0||!n||!Object.keys(r.current).length||(!1===u.current?u.current=!0:a(i(t),s))}),[t]),u}let q=f;function J(e,t,n){const{type:r,props:i}=t;let o;switch(r){case n.ItemMouseMove:o={highlightedIndex:t.index};break;case n.MenuMouseLeave:o={highlightedIndex:-1};break;case n.ToggleButtonClick:case n.FunctionToggleMenu:o={isOpen:!e.isOpen,highlightedIndex:e.isOpen?-1:H(i,e,0)};break;case n.FunctionOpenMenu:o={isOpen:!0,highlightedIndex:H(i,e,0)};break;case n.FunctionCloseMenu:o={isOpen:!1};break;case n.FunctionSetHighlightedIndex:o={highlightedIndex:t.highlightedIndex};break;case n.FunctionSetInputValue:o={inputValue:t.inputValue};break;case n.FunctionReset:o={highlightedIndex:$(i,"highlightedIndex"),isOpen:$(i,"isOpen"),selectedItem:$(i,"selectedItem"),inputValue:$(i,"inputValue")};break;default:throw new Error("Reducer called without proper action type.")}return{...e,...o}}i().array.isRequired,i().func,i().func,i().func,i().bool,i().number,i().number,i().number,i().bool,i().bool,i().bool,i().any,i().any,i().any,i().string,i().string,i().string,i().func,i().string,i().func,i().func,i().func,i().func,i().func,i().shape({addEventListener:i().func,removeEventListener:i().func,document:i().shape({getElementById:i().func,activeElement:i().any,body:i().any})});(0,l.__assign)((0,l.__assign)({},K),{getA11yStatusMessage:function(e){var t=e.isOpen,n=e.resultCount,r=e.previousResultCount;return t?n?n!==r?"".concat(n," result").concat(1===n?" is":"s are"," available, use up and down arrow keys to navigate. Press Enter or Space Bar keys to select."):"":"No results are available.":""}});const Y=0,X=1,Z=2,Q=3,ee=4,te=5,ne=6,re=7,ie=8,oe=9,se=10,ae=11,ue=12,ce=13,le=14,de=15,fe=16,he=17,pe=18,ge=19;var me=Object.freeze({__proto__:null,InputKeyDownArrowDown:Y,InputKeyDownArrowUp:X,InputKeyDownEscape:Z,InputKeyDownHome:Q,InputKeyDownEnd:ee,InputKeyDownEnter:te,InputChange:ne,InputBlur:re,MenuMouseLeave:ie,ItemMouseMove:oe,ItemClick:se,ToggleButtonClick:ae,FunctionToggleMenu:ue,FunctionOpenMenu:ce,FunctionCloseMenu:le,FunctionSetHighlightedIndex:de,FunctionSelectItem:fe,FunctionSetInputValue:he,FunctionReset:pe,ControlledPropUpdatedSelectedItem:ge});i().array.isRequired,i().func,i().func,i().func,i().bool,i().number,i().number,i().number,i().bool,i().bool,i().bool,i().any,i().any,i().any,i().string,i().string,i().string,i().string,i().string,i().string,i().func,i().string,i().string,i().func,i().func,i().func,i().func,i().func,i().func,i().shape({addEventListener:i().func,removeEventListener:i().func,document:i().shape({getElementById:i().func,activeElement:i().any,body:i().any})});let ve=f;const ye={...K,getA11yStatusMessage:I,circularNavigation:!0};function Ie(e,t){const{type:n,props:r,shiftKey:i}=t;let o;switch(n){case se:o={isOpen:$(r,"isOpen"),highlightedIndex:$(r,"highlightedIndex"),selectedItem:r.items[t.index],inputValue:r.itemToString(r.items[t.index])};break;case Y:o=e.isOpen?{highlightedIndex:k(i?5:1,e.highlightedIndex,r.items.length,t.getItemNodeFromIndex,r.circularNavigation)}:{highlightedIndex:H(r,e,1,t.getItemNodeFromIndex),isOpen:r.items.length>=0};break;case X:o=e.isOpen?{highlightedIndex:k(i?-5:-1,e.highlightedIndex,r.items.length,t.getItemNodeFromIndex,r.circularNavigation)}:{highlightedIndex:H(r,e,-1,t.getItemNodeFromIndex),isOpen:r.items.length>=0};break;case te:o={...e.isOpen&&e.highlightedIndex>=0&&{selectedItem:r.items[e.highlightedIndex],isOpen:$(r,"isOpen"),highlightedIndex:$(r,"highlightedIndex"),inputValue:r.itemToString(r.items[e.highlightedIndex])}};break;case Z:o={isOpen:!1,highlightedIndex:-1,...!e.isOpen&&{selectedItem:null,inputValue:""}};break;case Q:o={highlightedIndex:E(1,0,r.items.length,t.getItemNodeFromIndex,!1)};break;case ee:o={highlightedIndex:E(-1,r.items.length-1,r.items.length,t.getItemNodeFromIndex,!1)};break;case re:o={isOpen:!1,highlightedIndex:-1,...e.highlightedIndex>=0&&t.selectItem&&{selectedItem:r.items[e.highlightedIndex],inputValue:r.itemToString(r.items[e.highlightedIndex])}};break;case ne:o={isOpen:!0,highlightedIndex:$(r,"highlightedIndex"),inputValue:t.inputValue};break;case fe:o={selectedItem:t.selectedItem,inputValue:r.itemToString(t.selectedItem)};break;case ge:o={inputValue:t.inputValue};break;default:return J(e,t,me)}return{...e,...o}}function be(e){void 0===e&&(e={}),ve(e,be);const t={...ye,...e},{initialIsOpen:n,defaultIsOpen:r,items:i,scrollIntoView:s,environment:a,getA11yStatusMessage:u,getA11ySelectionMessage:c,itemToString:l}=t,d=function(e){const t=j(e),{selectedItem:n}=t;let{inputValue:r}=t;return""===r&&n&&void 0===e.defaultInputValue&&void 0===e.initialInputValue&&void 0===e.inputValue&&(r=e.itemToString(n)),{...t,inputValue:r}}(t),[f,h]=function(e,t,n){const r=(0,o.useRef)(),[i,s]=L(e,t,n);return(0,o.useEffect)((()=>{w(n,"selectedItem")&&(r.current!==n.selectedItem&&s({type:ge,inputValue:n.itemToString(n.selectedItem)}),r.current=i.selectedItem===r.current?n.selectedItem:i.selectedItem)})),[b(i,n),s]}(Ie,d,t),{isOpen:p,highlightedIndex:g,selectedItem:y,inputValue:I}=f,k=(0,o.useRef)(null),E=(0,o.useRef)({}),C=(0,o.useRef)(null),S=(0,o.useRef)(null),O=(0,o.useRef)(null),A=(0,o.useRef)(!0),M=N(t),R=(0,o.useRef)(),T=P({state:f,props:t}),D=(0,o.useCallback)((e=>E.current[M.getItemId(e)]),[M]);U(u,[p,g,I,i],{isInitialMount:A.current,previousResultCount:R.current,items:i,environment:a,itemToString:l,...f}),U(c,[y],{isInitialMount:A.current,previousResultCount:R.current,items:i,environment:a,itemToString:l,...f});const F=G({menuElement:k.current,highlightedIndex:g,isOpen:p,itemRefs:E,scrollIntoView:s,getItemNodeFromIndex:D});q({isInitialMount:A.current,props:t,state:f}),(0,o.useEffect)((()=>{(n||r||p)&&C.current&&C.current.focus()}),[]),(0,o.useEffect)((()=>{A.current||(R.current=i.length)}));const V=W(p,[O,k,S],a,(()=>{h({type:re,selectItem:!1})})),K=z("getInputProps","getComboboxProps","getMenuProps");(0,o.useEffect)((()=>{A.current=!1}),[]),(0,o.useEffect)((()=>{p||(E.current={})}),[p]);const $=(0,o.useMemo)((()=>({ArrowDown(e){e.preventDefault(),h({type:Y,shiftKey:e.shiftKey,getItemNodeFromIndex:D})},ArrowUp(e){e.preventDefault(),h({type:X,shiftKey:e.shiftKey,getItemNodeFromIndex:D})},Home(e){T.current.state.isOpen&&(e.preventDefault(),h({type:Q,getItemNodeFromIndex:D}))},End(e){T.current.state.isOpen&&(e.preventDefault(),h({type:ee,getItemNodeFromIndex:D}))},Escape(){const e=T.current.state;(e.isOpen||e.inputValue||e.selectedItem||e.highlightedIndex>-1)&&h({type:Z})},Enter(e){const t=T.current.state;!t.isOpen||t.highlightedIndex<0||229===e.which||(e.preventDefault(),h({type:te,getItemNodeFromIndex:D}))}})),[h,T,D]),B=(0,o.useCallback)((e=>({id:M.labelId,htmlFor:M.inputId,...e})),[M]),H=(0,o.useCallback)((function(e,t){let{onMouseLeave:n,refKey:r="ref",ref:i,...o}=void 0===e?{}:e,{suppressRefError:s=!1}=void 0===t?{}:t;return K("getMenuProps",s,r,k),{[r]:v(i,(e=>{k.current=e})),id:M.menuId,role:"listbox","aria-labelledby":M.labelId,onMouseLeave:m(n,(()=>{h({type:ie})})),...o}}),[h,K,M]),J=(0,o.useCallback)((function(e){let{item:t,index:n,refKey:r="ref",ref:i,onMouseMove:o,onClick:s,onPress:a,...u}=void 0===e?{}:e;const{props:c,state:l}=T.current,d=_(n,t,c.items);if(d<0)throw new Error("Pass either item or item index in getItemProps!");const f="onClick",p=s;return{[r]:v(i,(e=>{e&&(E.current[M.getItemId(d)]=e)})),role:"option","aria-selected":""+(d===l.highlightedIndex),id:M.getItemId(d),...!u.disabled&&{onMouseMove:m(o,(()=>{n!==l.highlightedIndex&&(F.current=!1,h({type:oe,index:n}))})),[f]:m(p,(()=>{h({type:se,index:n}),C.current&&C.current.focus()}))},...u}}),[h,T,F,M]),me=(0,o.useCallback)((function(e){let{onClick:t,onPress:n,refKey:r="ref",ref:i,...o}=void 0===e?{}:e;return{[r]:v(i,(e=>{S.current=e})),id:M.toggleButtonId,tabIndex:-1,...!o.disabled&&{onClick:m(t,(()=>{h({type:ae}),!T.current.state.isOpen&&C.current&&C.current.focus()}))},...o}}),[h,T,M]),we=(0,o.useCallback)((function(e,t){let{onKeyDown:n,onChange:r,onInput:i,onBlur:o,onChangeText:s,refKey:a="ref",ref:u,...c}=void 0===e?{}:e,{suppressRefError:l=!1}=void 0===t?{}:t;K("getInputProps",l,a,C);const d=T.current.state,f=e=>{const t=x(e);t&&$[t]&&$[t](e)},p=e=>{h({type:ne,inputValue:e.target.value})},g=()=>{d.isOpen&&!V.current.isMouseDown&&h({type:re,selectItem:!0})},y="onChange";let I={};return c.disabled||(I={[y]:m(r,i,p),onKeyDown:m(n,f),onBlur:m(o,g)}),{[a]:v(u,(e=>{C.current=e})),id:M.inputId,"aria-autocomplete":"list","aria-controls":M.menuId,...d.isOpen&&d.highlightedIndex>-1&&{"aria-activedescendant":M.getItemId(d.highlightedIndex)},"aria-labelledby":M.labelId,autoComplete:"off",value:d.inputValue,...I,...c}}),[h,$,T,V,K,M]),xe=(0,o.useCallback)((function(e,t){let{refKey:n="ref",ref:r,...i}=void 0===e?{}:e,{suppressRefError:o=!1}=void 0===t?{}:t;return K("getComboboxProps",o,n,O),{[n]:v(r,(e=>{O.current=e})),role:"combobox","aria-haspopup":"listbox","aria-owns":M.menuId,"aria-expanded":T.current.state.isOpen,...i}}),[T,K,M]),ke=(0,o.useCallback)((()=>{h({type:ue})}),[h]),Ee=(0,o.useCallback)((()=>{h({type:le})}),[h]),Ce=(0,o.useCallback)((()=>{h({type:ce})}),[h]),Se=(0,o.useCallback)((e=>{h({type:de,highlightedIndex:e})}),[h]),Oe=(0,o.useCallback)((e=>{h({type:fe,selectedItem:e})}),[h]);return{getItemProps:J,getLabelProps:B,getMenuProps:H,getInputProps:we,getComboboxProps:xe,getToggleButtonProps:me,toggleMenu:ke,openMenu:Ce,closeMenu:Ee,setHighlightedIndex:Se,setInputValue:(0,o.useCallback)((e=>{h({type:he,inputValue:e})}),[h]),selectItem:Oe,reset:(0,o.useCallback)((()=>{h({type:pe})}),[h]),highlightedIndex:g,isOpen:p,selectedItem:y,inputValue:I}}be.stateChangeTypes=me;const we={activeIndex:-1,selectedItems:[]};function xe(e,t){return B(e,t,we)}function ke(e,t){return $(e,t,we)}function Ee(e){if(e.shiftKey||e.metaKey||e.ctrlKey||e.altKey)return!1;const t=e.target;return!(t instanceof HTMLInputElement&&""!==t.value)||0===t.selectionStart&&0===t.selectionEnd}i().array,i().array,i().array,i().func,i().func,i().func,i().number,i().number,i().number,i().func,i().func,i().string,i().string,i().shape({addEventListener:i().func,removeEventListener:i().func,document:i().shape({getElementById:i().func,activeElement:i().any,body:i().any})});const Ce={itemToString:K.itemToString,stateReducer:K.stateReducer,environment:K.environment,getA11yRemovalMessage:function(e){const{removedSelectedItem:t,itemToString:n}=e;return n(t)+" has been removed."},keyNavigationNext:"ArrowRight",keyNavigationPrevious:"ArrowLeft"};let Se=f;const Oe=0,Ae=1,Me=2,Re=3,Te=4,De=5,Ne=6,_e=7,Fe=8,Pe=9,Le=10,Ve=11,Ke=12;var $e=Object.freeze({__proto__:null,SelectedItemClick:Oe,SelectedItemKeyDownDelete:Ae,SelectedItemKeyDownBackspace:Me,SelectedItemKeyDownNavigationNext:Re,SelectedItemKeyDownNavigationPrevious:Te,DropdownKeyDownNavigationPrevious:De,DropdownKeyDownBackspace:Ne,DropdownClick:_e,FunctionAddSelectedItem:Fe,FunctionRemoveSelectedItem:Pe,FunctionSetSelectedItems:Le,FunctionSetActiveIndex:Ve,FunctionReset:Ke});function Be(e,t){const{type:n,index:r,props:i,selectedItem:o}=t,{activeIndex:s,selectedItems:a}=e;let u;switch(n){case Oe:u={activeIndex:r};break;case Te:u={activeIndex:s-1<0?0:s-1};break;case Re:u={activeIndex:s+1>=a.length?-1:s+1};break;case Me:case Ae:{let e=s;1===a.length?e=-1:s===a.length-1&&(e=a.length-2),u={selectedItems:[...a.slice(0,s),...a.slice(s+1)],activeIndex:e};break}case De:u={activeIndex:a.length-1};break;case Ne:u={selectedItems:a.slice(0,a.length-1)};break;case Fe:u={selectedItems:[...a,o]};break;case _e:u={activeIndex:-1};break;case Pe:{let e=s;const t=a.indexOf(o);t>=0&&(1===a.length?e=-1:t===a.length-1&&(e=a.length-2),u={selectedItems:[...a.slice(0,t),...a.slice(t+1)],activeIndex:e});break}case Le:{const{selectedItems:e}=t;u={selectedItems:e};break}case Ve:{const{activeIndex:e}=t;u={activeIndex:e};break}case Ke:u={activeIndex:ke(i,"activeIndex"),selectedItems:ke(i,"selectedItems")};break;default:throw new Error("Reducer called without proper action type.")}return{...e,...u}}function je(e){void 0===e&&(e={}),Se(e,je);const t={...Ce,...e},{getA11yRemovalMessage:n,itemToString:r,environment:i,keyNavigationNext:s,keyNavigationPrevious:a}=t,[u,c]=V(Be,function(e){return{activeIndex:xe(e,"activeIndex"),selectedItems:xe(e,"selectedItems")}}(t),t),{activeIndex:l,selectedItems:d}=u,f=(0,o.useRef)(!0),h=(0,o.useRef)(null),p=(0,o.useRef)(d),g=(0,o.useRef)();g.current=[];const y=P({state:u,props:t});(0,o.useEffect)((()=>{if(!f.current){if(d.length<p.current.length){const e=p.current.find((e=>d.indexOf(e)<0));O(n({itemToString:r,resultCount:d.length,removedSelectedItem:e,activeIndex:l,activeSelectedItem:d[l]}),i.document)}p.current=d}}),[d.length]),(0,o.useEffect)((()=>{f.current||(-1===l&&h.current?h.current.focus():g.current[l]&&g.current[l].focus())}),[l]),q({isInitialMount:f.current,props:t,state:u});const I=z("getDropdownProps");(0,o.useEffect)((()=>{f.current=!1}),[]);const b=(0,o.useMemo)((()=>({[a](){c({type:Te})},[s](){c({type:Re})},Delete(){c({type:Ae})},Backspace(){c({type:Me})}})),[c,s,a]),w=(0,o.useMemo)((()=>({[a](e){Ee(e)&&c({type:De})},Backspace(e){Ee(e)&&c({type:Ne})}})),[c,a]);return{getSelectedItemProps:(0,o.useCallback)((function(e){let{refKey:t="ref",ref:n,onClick:r,onKeyDown:i,selectedItem:o,index:s,...a}=void 0===e?{}:e;const{state:u}=y.current;if(_(s,o,u.selectedItems)<0)throw new Error("Pass either selectedItem or index in getSelectedItemProps!");return{[t]:v(n,(e=>{e&&g.current.push(e)})),tabIndex:s===u.activeIndex?0:-1,onClick:m(r,(()=>{c({type:Oe,index:s})})),onKeyDown:m(i,(e=>{const t=x(e);t&&b[t]&&b[t](e)})),...a}}),[c,y,b]),getDropdownProps:(0,o.useCallback)((function(e,t){let{refKey:n="ref",ref:r,onKeyDown:i,onClick:o,preventKeyAction:s=!1,...a}=void 0===e?{}:e,{suppressRefError:u=!1}=void 0===t?{}:t;I("getDropdownProps",u,n,h);return{[n]:v(r,(e=>{e&&(h.current=e)})),...!s&&{onKeyDown:m(i,(e=>{const t=x(e);t&&w[t]&&w[t](e)})),onClick:m(o,(()=>{c({type:_e})}))},...a}}),[c,w,I]),addSelectedItem:(0,o.useCallback)((e=>{c({type:Fe,selectedItem:e})}),[c]),removeSelectedItem:(0,o.useCallback)((e=>{c({type:Pe,selectedItem:e})}),[c]),setSelectedItems:(0,o.useCallback)((e=>{c({type:Le,selectedItems:e})}),[c]),setActiveIndex:(0,o.useCallback)((e=>{c({type:Ve,activeIndex:e})}),[c]),reset:(0,o.useCallback)((()=>{c({type:Ke})}),[c]),selectedItems:d,activeIndex:l}}je.stateChangeTypes=$e},44258:function(e,t,n){var r,i=i||function(e){"use strict";if(!("undefined"===typeof e||"undefined"!==typeof navigator&&/MSIE [1-9]\./.test(navigator.userAgent))){var t=e.document,n=function(){return e.URL||e.webkitURL||e},r=t.createElementNS("http://www.w3.org/1999/xhtml","a"),i="download"in r,o=/constructor/i.test(e.HTMLElement)||e.safari,s=/CriOS\/[\d]+/.test(navigator.userAgent),a=function(t){(e.setImmediate||e.setTimeout)((function(){throw t}),0)},u=function(e){setTimeout((function(){"string"===typeof e?n().revokeObjectURL(e):e.remove()}),4e4)},c=function(e){return/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob([String.fromCharCode(65279),e],{type:e.type}):e},l=function(t,l,d){d||(t=c(t));var f,h=this,p="application/octet-stream"===t.type,g=function(){!function(e,t,n){for(var r=(t=[].concat(t)).length;r--;){var i=e["on"+t[r]];if("function"===typeof i)try{i.call(e,n||e)}catch(o){a(o)}}}(h,"writestart progress write writeend".split(" "))};if(h.readyState=h.INIT,i)return f=n().createObjectURL(t),void setTimeout((function(){r.href=f,r.download=l,function(e){var t=new MouseEvent("click");e.dispatchEvent(t)}(r),g(),u(f),h.readyState=h.DONE}));!function(){if((s||p&&o)&&e.FileReader){var r=new FileReader;return r.onloadend=function(){var t=s?r.result:r.result.replace(/^data:[^;]*;/,"data:attachment/file;");e.open(t,"_blank")||(e.location.href=t),t=void 0,h.readyState=h.DONE,g()},r.readAsDataURL(t),void(h.readyState=h.INIT)}(f||(f=n().createObjectURL(t)),p)?e.location.href=f:e.open(f,"_blank")||(e.location.href=f);h.readyState=h.DONE,g(),u(f)}()},d=l.prototype;return"undefined"!==typeof navigator&&navigator.msSaveOrOpenBlob?function(e,t,n){return t=t||e.name||"download",n||(e=c(e)),navigator.msSaveOrOpenBlob(e,t)}:(d.abort=function(){},d.readyState=d.INIT=0,d.WRITING=1,d.DONE=2,d.error=d.onwritestart=d.onprogress=d.onwrite=d.onabort=d.onerror=d.onwriteend=null,function(e,t,n){return new l(e,t||e.name||"download",n)})}}("undefined"!==typeof self&&self||"undefined"!==typeof window&&window||this.content);e.exports?e.exports.saveAs=i:null!==n.amdD&&null!==n.amdO&&(void 0===(r=function(){return i}.call(t,n,t,e))||(e.exports=r))}}]);
@@ -0,0 +1 @@
1
+ /*! @source http://purl.eligrey.com/github/FileSaver.js/blob/master/FileSaver.js */
@@ -0,0 +1,2 @@
1
+ /*! For license information please see 4484.4cbe5e7f.js.LICENSE.txt */
2
+ (self.webpackChunk_mlflow_mlflow=self.webpackChunk_mlflow_mlflow||[]).push([[4484],{6236:function(t,e){"use strict";e.byteLength=function(t){var e=f(t),r=e[0],n=e[1];return 3*(r+n)/4-n},e.toByteArray=function(t){var e,r,i=f(t),u=i[0],s=i[1],c=new o(function(t,e,r){return 3*(e+r)/4-r}(0,u,s)),a=0,l=s>0?u-4:u;for(r=0;r<l;r+=4)e=n[t.charCodeAt(r)]<<18|n[t.charCodeAt(r+1)]<<12|n[t.charCodeAt(r+2)]<<6|n[t.charCodeAt(r+3)],c[a++]=e>>16&255,c[a++]=e>>8&255,c[a++]=255&e;2===s&&(e=n[t.charCodeAt(r)]<<2|n[t.charCodeAt(r+1)]>>4,c[a++]=255&e);1===s&&(e=n[t.charCodeAt(r)]<<10|n[t.charCodeAt(r+1)]<<4|n[t.charCodeAt(r+2)]>>2,c[a++]=e>>8&255,c[a++]=255&e);return c},e.fromByteArray=function(t){for(var e,n=t.length,o=n%3,i=[],u=16383,f=0,c=n-o;f<c;f+=u)i.push(s(t,f,f+u>c?c:f+u));1===o?(e=t[n-1],i.push(r[e>>2]+r[e<<4&63]+"==")):2===o&&(e=(t[n-2]<<8)+t[n-1],i.push(r[e>>10]+r[e>>4&63]+r[e<<2&63]+"="));return i.join("")};for(var r=[],n=[],o="undefined"!==typeof Uint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",u=0;u<64;++u)r[u]=i[u],n[i.charCodeAt(u)]=u;function f(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");return-1===r&&(r=e),[r,r===e?0:4-r%4]}function s(t,e,n){for(var o,i,u=[],f=e;f<n;f+=3)o=(t[f]<<16&16711680)+(t[f+1]<<8&65280)+(255&t[f+2]),u.push(r[(i=o)>>18&63]+r[i>>12&63]+r[i>>6&63]+r[63&i]);return u.join("")}n["-".charCodeAt(0)]=62,n["_".charCodeAt(0)]=63},63136:function(t,e,r){var n;!function(o){"use strict";var i,u=/^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,f=Math.ceil,s=Math.floor,c=" not a boolean or binary digit",a="rounding mode",l="number type has more than 15 significant digits",h="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ$_",p=1e14,y=14,g=9007199254740991,d=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9,1e10,1e11,1e12,1e13],w=1e7,v=1e9;function m(t){var e=0|t;return t>0||t===e?e:e-1}function b(t){for(var e,r,n=1,o=t.length,i=t[0]+"";n<o;){for(e=t[n++]+"",r=y-e.length;r--;e="0"+e);i+=e}for(o=i.length;48===i.charCodeAt(--o););return i.slice(0,o+1||1)}function E(t,e){var r,n,o=t.c,i=e.c,u=t.s,f=e.s,s=t.e,c=e.e;if(!u||!f)return null;if(r=o&&!o[0],n=i&&!i[0],r||n)return r?n?0:-f:u;if(u!=f)return u;if(r=u<0,n=s==c,!o||!i)return n?0:!o^r?1:-1;if(!n)return s>c^r?1:-1;for(f=(s=o.length)<(c=i.length)?s:c,u=0;u<f;u++)if(o[u]!=i[u])return o[u]>i[u]^r?1:-1;return s==c?0:s>c^r?1:-1}function A(t,e,r){return(t=L(t))>=e&&t<=r}function O(t){return"[object Array]"==Object.prototype.toString.call(t)}function B(t,e,r){for(var n,o,i=[0],u=0,f=t.length;u<f;){for(o=i.length;o--;i[o]*=e);for(i[n=0]+=h.indexOf(t.charAt(u++));n<i.length;n++)i[n]>r-1&&(null==i[n+1]&&(i[n+1]=0),i[n+1]+=i[n]/r|0,i[n]%=r)}return i.reverse()}function x(t,e){return(t.length>1?t.charAt(0)+"."+t.slice(1):t)+(e<0?"e":"e+")+e}function I(t,e){var r,n;if(e<0){for(n="0.";++e;n+="0");t=n+t}else if(++e>(r=t.length)){for(n="0",e-=r;--e;n+="0");t+=n}else e<r&&(t=t.slice(0,e)+"."+t.slice(e));return t}function L(t){return(t=parseFloat(t))<0?f(t):s(t)}i=function t(e){var r,n,o=0,i=D.prototype,_=new D(1),S=20,R=4,U=-7,j=21,T=-1e7,N=1e7,P=!0,k=Y,C=!1,F=1,$=0,M={decimalSeparator:".",groupSeparator:",",groupSize:3,secondaryGroupSize:0,fractionGroupSeparator:"\xa0",fractionGroupSize:0};function D(t,e){var r,i,f,c,a,p,d=this;if(!(d instanceof D))return P&&H(26,"constructor call without new",t),new D(t,e);if(null!=e&&k(e,2,64,o,"base")){if(p=t+"",10==(e|=0))return W(d=new D(t instanceof D?t:p),S+d.e+1,R);if((c="number"==typeof t)&&0*t!=0||!new RegExp("^-?"+(r="["+h.slice(0,e)+"]+")+"(?:\\."+r+")?$",e<37?"i":"").test(p))return n(d,p,c,e);c?(d.s=1/t<0?(p=p.slice(1),-1):1,P&&p.replace(/^0\.0*|\./,"").length>15&&H(o,l,t),c=!1):d.s=45===p.charCodeAt(0)?(p=p.slice(1),-1):1,p=G(p,10,e,d.s)}else{if(t instanceof D)return d.s=t.s,d.e=t.e,d.c=(t=t.c)?t.slice():t,void(o=0);if((c="number"==typeof t)&&0*t==0){if(d.s=1/t<0?(t=-t,-1):1,t===~~t){for(i=0,f=t;f>=10;f/=10,i++);return d.e=i,d.c=[t],void(o=0)}p=t+""}else{if(!u.test(p=t+""))return n(d,p,c);d.s=45===p.charCodeAt(0)?(p=p.slice(1),-1):1}}for((i=p.indexOf("."))>-1&&(p=p.replace(".","")),(f=p.search(/e/i))>0?(i<0&&(i=f),i+=+p.slice(f+1),p=p.substring(0,f)):i<0&&(i=p.length),f=0;48===p.charCodeAt(f);f++);for(a=p.length;48===p.charCodeAt(--a););if(p=p.slice(f,a+1))if(a=p.length,c&&P&&a>15&&(t>g||t!==s(t))&&H(o,l,d.s*t),(i=i-f-1)>N)d.c=d.e=null;else if(i<T)d.c=[d.e=0];else{if(d.e=i,d.c=[],f=(i+1)%y,i<0&&(f+=y),f<a){for(f&&d.c.push(+p.slice(0,f)),a-=y;f<a;)d.c.push(+p.slice(f,f+=y));p=p.slice(f),f=y-p.length}else f-=a;for(;f--;p+="0");d.c.push(+p)}else d.c=[d.e=0];o=0}function G(t,e,n,o){var i,u,f,s,c,a,l,p=t.indexOf("."),y=S,g=R;for(n<37&&(t=t.toLowerCase()),p>=0&&(f=$,$=0,t=t.replace(".",""),c=(l=new D(n)).pow(t.length-p),$=f,l.c=B(I(b(c.c),c.e),10,e),l.e=l.c.length),u=f=(a=B(t,n,e)).length;0==a[--f];a.pop());if(!a[0])return"0";if(p<0?--u:(c.c=a,c.e=u,c.s=o,a=(c=r(c,l,y,g,e)).c,s=c.r,u=c.e),p=a[i=u+y+1],f=e/2,s=s||i<0||null!=a[i+1],s=g<4?(null!=p||s)&&(0==g||g==(c.s<0?3:2)):p>f||p==f&&(4==g||s||6==g&&1&a[i-1]||g==(c.s<0?8:7)),i<1||!a[0])t=s?I("1",-y):"0";else{if(a.length=i,s)for(--e;++a[--i]>e;)a[i]=0,i||(++u,a=[1].concat(a));for(f=a.length;!a[--f];);for(p=0,t="";p<=f;t+=h.charAt(a[p++]));t=I(t,u)}return t}function z(t,e,r,n){var o,i,u,f,s;if(r=null!=r&&k(r,0,8,n,a)?0|r:R,!t.c)return t.toString();if(o=t.c[0],u=t.e,null==e)s=b(t.c),s=19==n||24==n&&u<=U?x(s,u):I(s,u);else if(i=(t=W(new D(t),e,r)).e,f=(s=b(t.c)).length,19==n||24==n&&(e<=i||i<=U)){for(;f<e;s+="0",f++);s=x(s,i)}else if(e-=u,s=I(s,i),i+1>f){if(--e>0)for(s+=".";e--;s+="0");}else if((e+=i-f)>0)for(i+1==f&&(s+=".");e--;s+="0");return t.s<0&&o?"-"+s:s}function q(t,e){var r,n,o=0;for(O(t[0])&&(t=t[0]),r=new D(t[0]);++o<t.length;){if(!(n=new D(t[o])).s){r=n;break}e.call(r,n)&&(r=n)}return r}function Y(t,e,r,n,o){return(t<e||t>r||t!=L(t))&&H(n,(o||"decimal places")+(t<e||t>r?" out of range":" not an integer"),t),!0}function V(t,e,r){for(var n=1,o=e.length;!e[--o];e.pop());for(o=e[0];o>=10;o/=10,n++);return(r=n+r*y-1)>N?t.c=t.e=null:r<T?t.c=[t.e=0]:(t.e=r,t.c=e),t}function H(t,e,r){var n=new Error(["new BigNumber","cmp","config","div","divToInt","eq","gt","gte","lt","lte","minus","mod","plus","precision","random","round","shift","times","toDigits","toExponential","toFixed","toFormat","toFraction","pow","toPrecision","toString","BigNumber"][t]+"() "+e+": "+r);throw n.name="BigNumber Error",o=0,n}function W(t,e,r,n){var o,i,u,c,a,l,h,g=t.c,w=d;if(g){t:{for(o=1,c=g[0];c>=10;c/=10,o++);if((i=e-o)<0)i+=y,u=e,h=(a=g[l=0])/w[o-u-1]%10|0;else if((l=f((i+1)/y))>=g.length){if(!n)break t;for(;g.length<=l;g.push(0));a=h=0,o=1,u=(i%=y)-y+1}else{for(a=c=g[l],o=1;c>=10;c/=10,o++);h=(u=(i%=y)-y+o)<0?0:a/w[o-u-1]%10|0}if(n=n||e<0||null!=g[l+1]||(u<0?a:a%w[o-u-1]),n=r<4?(h||n)&&(0==r||r==(t.s<0?3:2)):h>5||5==h&&(4==r||n||6==r&&(i>0?u>0?a/w[o-u]:0:g[l-1])%10&1||r==(t.s<0?8:7)),e<1||!g[0])return g.length=0,n?(e-=t.e+1,g[0]=w[(y-e%y)%y],t.e=-e||0):g[0]=t.e=0,t;if(0==i?(g.length=l,c=1,l--):(g.length=l+1,c=w[y-i],g[l]=u>0?s(a/w[o-u]%w[u])*c:0),n)for(;;){if(0==l){for(i=1,u=g[0];u>=10;u/=10,i++);for(u=g[0]+=c,c=1;u>=10;u/=10,c++);i!=c&&(t.e++,g[0]==p&&(g[0]=1));break}if(g[l]+=c,g[l]!=p)break;g[l--]=0,c=1}for(i=g.length;0===g[--i];g.pop());}t.e>N?t.c=t.e=null:t.e<T&&(t.c=[t.e=0])}return t}return D.another=t,D.ROUND_UP=0,D.ROUND_DOWN=1,D.ROUND_CEIL=2,D.ROUND_FLOOR=3,D.ROUND_HALF_UP=4,D.ROUND_HALF_DOWN=5,D.ROUND_HALF_EVEN=6,D.ROUND_HALF_CEIL=7,D.ROUND_HALF_FLOOR=8,D.EUCLID=9,D.config=D.set=function(){var t,e,r=0,n={},i=arguments,u=i[0],f=u&&"object"==typeof u?function(){if(u.hasOwnProperty(e))return null!=(t=u[e])}:function(){if(i.length>r)return null!=(t=i[r++])};return f(e="DECIMAL_PLACES")&&k(t,0,v,2,e)&&(S=0|t),n[e]=S,f(e="ROUNDING_MODE")&&k(t,0,8,2,e)&&(R=0|t),n[e]=R,f(e="EXPONENTIAL_AT")&&(O(t)?k(t[0],-v,0,2,e)&&k(t[1],0,v,2,e)&&(U=0|t[0],j=0|t[1]):k(t,-v,v,2,e)&&(U=-(j=0|(t<0?-t:t)))),n[e]=[U,j],f(e="RANGE")&&(O(t)?k(t[0],-v,-1,2,e)&&k(t[1],1,v,2,e)&&(T=0|t[0],N=0|t[1]):k(t,-v,v,2,e)&&(0|t?T=-(N=0|(t<0?-t:t)):P&&H(2,e+" cannot be zero",t))),n[e]=[T,N],f(e="ERRORS")&&(t===!!t||1===t||0===t?(o=0,k=(P=!!t)?Y:A):P&&H(2,e+c,t)),n[e]=P,f(e="CRYPTO")&&(!0===t||!1===t||1===t||0===t?t?!(t="undefined"==typeof crypto)&&crypto&&(crypto.getRandomValues||crypto.randomBytes)?C=!0:P?H(2,"crypto unavailable",t?void 0:crypto):C=!1:C=!1:P&&H(2,e+c,t)),n[e]=C,f(e="MODULO_MODE")&&k(t,0,9,2,e)&&(F=0|t),n[e]=F,f(e="POW_PRECISION")&&k(t,0,v,2,e)&&($=0|t),n[e]=$,f(e="FORMAT")&&("object"==typeof t?M=t:P&&H(2,e+" not an object",t)),n[e]=M,n},D.max=function(){return q(arguments,i.lt)},D.min=function(){return q(arguments,i.gt)},D.random=function(){var t=9007199254740992,e=Math.random()*t&2097151?function(){return s(Math.random()*t)}:function(){return 8388608*(1073741824*Math.random()|0)+(8388608*Math.random()|0)};return function(t){var r,n,o,i,u,c=0,a=[],l=new D(_);if(t=null!=t&&k(t,0,v,14)?0|t:S,i=f(t/y),C)if(crypto.getRandomValues){for(r=crypto.getRandomValues(new Uint32Array(i*=2));c<i;)(u=131072*r[c]+(r[c+1]>>>11))>=9e15?(n=crypto.getRandomValues(new Uint32Array(2)),r[c]=n[0],r[c+1]=n[1]):(a.push(u%1e14),c+=2);c=i/2}else if(crypto.randomBytes){for(r=crypto.randomBytes(i*=7);c<i;)(u=281474976710656*(31&r[c])+1099511627776*r[c+1]+4294967296*r[c+2]+16777216*r[c+3]+(r[c+4]<<16)+(r[c+5]<<8)+r[c+6])>=9e15?crypto.randomBytes(7).copy(r,c):(a.push(u%1e14),c+=7);c=i/7}else C=!1,P&&H(14,"crypto unavailable",crypto);if(!C)for(;c<i;)(u=e())<9e15&&(a[c++]=u%1e14);for(i=a[--c],t%=y,i&&t&&(u=d[y-t],a[c]=s(i/u)*u);0===a[c];a.pop(),c--);if(c<0)a=[o=0];else{for(o=-1;0===a[0];a.splice(0,1),o-=y);for(c=1,u=a[0];u>=10;u/=10,c++);c<y&&(o-=y-c)}return l.e=o,l.c=a,l}}(),r=function(){function t(t,e,r){var n,o,i,u,f=0,s=t.length,c=e%w,a=e/w|0;for(t=t.slice();s--;)f=((o=c*(i=t[s]%w)+(n=a*i+(u=t[s]/w|0)*c)%w*w+f)/r|0)+(n/w|0)+a*u,t[s]=o%r;return f&&(t=[f].concat(t)),t}function e(t,e,r,n){var o,i;if(r!=n)i=r>n?1:-1;else for(o=i=0;o<r;o++)if(t[o]!=e[o]){i=t[o]>e[o]?1:-1;break}return i}function r(t,e,r,n){for(var o=0;r--;)t[r]-=o,o=t[r]<e[r]?1:0,t[r]=o*n+t[r]-e[r];for(;!t[0]&&t.length>1;t.splice(0,1));}return function(n,o,i,u,f){var c,a,l,h,g,d,w,v,b,E,A,O,B,x,I,L,_,S=n.s==o.s?1:-1,R=n.c,U=o.c;if(!R||!R[0]||!U||!U[0])return new D(n.s&&o.s&&(R?!U||R[0]!=U[0]:U)?R&&0==R[0]||!U?0*S:S/0:NaN);for(b=(v=new D(S)).c=[],S=i+(a=n.e-o.e)+1,f||(f=p,a=m(n.e/y)-m(o.e/y),S=S/y|0),l=0;U[l]==(R[l]||0);l++);if(U[l]>(R[l]||0)&&a--,S<0)b.push(1),h=!0;else{for(x=R.length,L=U.length,l=0,S+=2,(g=s(f/(U[0]+1)))>1&&(U=t(U,g,f),R=t(R,g,f),L=U.length,x=R.length),B=L,A=(E=R.slice(0,L)).length;A<L;E[A++]=0);_=U.slice(),_=[0].concat(_),I=U[0],U[1]>=f/2&&I++;do{if(g=0,(c=e(U,E,L,A))<0){if(O=E[0],L!=A&&(O=O*f+(E[1]||0)),(g=s(O/I))>1)for(g>=f&&(g=f-1),w=(d=t(U,g,f)).length,A=E.length;1==e(d,E,w,A);)g--,r(d,L<w?_:U,w,f),w=d.length,c=1;else 0==g&&(c=g=1),w=(d=U.slice()).length;if(w<A&&(d=[0].concat(d)),r(E,d,A,f),A=E.length,-1==c)for(;e(U,E,L,A)<1;)g++,r(E,L<A?_:U,A,f),A=E.length}else 0===c&&(g++,E=[0]);b[l++]=g,E[0]?E[A++]=R[B]||0:(E=[R[B]],A=1)}while((B++<x||null!=E[0])&&S--);h=null!=E[0],b[0]||b.splice(0,1)}if(f==p){for(l=1,S=b[0];S>=10;S/=10,l++);W(v,i+(v.e=l+a*y-1)+1,u,h)}else v.e=a,v.r=+h;return v}}(),n=function(){var t=/^(-?)0([xbo])(?=\w[\w.]*$)/i,e=/^([^.]+)\.$/,r=/^\.([^.]+)$/,n=/^-?(Infinity|NaN)$/,i=/^\s*\+(?=[\w.])|^\s+|\s+$/g;return function(u,f,s,c){var a,l=s?f:f.replace(i,"");if(n.test(l))u.s=isNaN(l)?null:l<0?-1:1;else{if(!s&&(l=l.replace(t,(function(t,e,r){return a="x"==(r=r.toLowerCase())?16:"b"==r?2:8,c&&c!=a?t:e})),c&&(a=c,l=l.replace(e,"$1").replace(r,"0.$1")),f!=l))return new D(l,a);P&&H(o,"not a"+(c?" base "+c:"")+" number",f),u.s=null}u.c=u.e=null,o=0}}(),i.absoluteValue=i.abs=function(){var t=new D(this);return t.s<0&&(t.s=1),t},i.ceil=function(){return W(new D(this),this.e+1,2)},i.comparedTo=i.cmp=function(t,e){return o=1,E(this,new D(t,e))},i.decimalPlaces=i.dp=function(){var t,e,r=this.c;if(!r)return null;if(t=((e=r.length-1)-m(this.e/y))*y,e=r[e])for(;e%10==0;e/=10,t--);return t<0&&(t=0),t},i.dividedBy=i.div=function(t,e){return o=3,r(this,new D(t,e),S,R)},i.dividedToIntegerBy=i.divToInt=function(t,e){return o=4,r(this,new D(t,e),0,1)},i.equals=i.eq=function(t,e){return o=5,0===E(this,new D(t,e))},i.floor=function(){return W(new D(this),this.e+1,3)},i.greaterThan=i.gt=function(t,e){return o=6,E(this,new D(t,e))>0},i.greaterThanOrEqualTo=i.gte=function(t,e){return o=7,1===(e=E(this,new D(t,e)))||0===e},i.isFinite=function(){return!!this.c},i.isInteger=i.isInt=function(){return!!this.c&&m(this.e/y)>this.c.length-2},i.isNaN=function(){return!this.s},i.isNegative=i.isNeg=function(){return this.s<0},i.isZero=function(){return!!this.c&&0==this.c[0]},i.lessThan=i.lt=function(t,e){return o=8,E(this,new D(t,e))<0},i.lessThanOrEqualTo=i.lte=function(t,e){return o=9,-1===(e=E(this,new D(t,e)))||0===e},i.minus=i.sub=function(t,e){var r,n,i,u,f=this,s=f.s;if(o=10,e=(t=new D(t,e)).s,!s||!e)return new D(NaN);if(s!=e)return t.s=-e,f.plus(t);var c=f.e/y,a=t.e/y,l=f.c,h=t.c;if(!c||!a){if(!l||!h)return l?(t.s=-e,t):new D(h?f:NaN);if(!l[0]||!h[0])return h[0]?(t.s=-e,t):new D(l[0]?f:3==R?-0:0)}if(c=m(c),a=m(a),l=l.slice(),s=c-a){for((u=s<0)?(s=-s,i=l):(a=c,i=h),i.reverse(),e=s;e--;i.push(0));i.reverse()}else for(n=(u=(s=l.length)<(e=h.length))?s:e,s=e=0;e<n;e++)if(l[e]!=h[e]){u=l[e]<h[e];break}if(u&&(i=l,l=h,h=i,t.s=-t.s),(e=(n=h.length)-(r=l.length))>0)for(;e--;l[r++]=0);for(e=p-1;n>s;){if(l[--n]<h[n]){for(r=n;r&&!l[--r];l[r]=e);--l[r],l[n]+=p}l[n]-=h[n]}for(;0==l[0];l.splice(0,1),--a);return l[0]?V(t,l,a):(t.s=3==R?-1:1,t.c=[t.e=0],t)},i.modulo=i.mod=function(t,e){var n,i,u=this;return o=11,t=new D(t,e),!u.c||!t.s||t.c&&!t.c[0]?new D(NaN):!t.c||u.c&&!u.c[0]?new D(u):(9==F?(i=t.s,t.s=1,n=r(u,t,0,3),t.s=i,n.s*=i):n=r(u,t,0,F),u.minus(n.times(t)))},i.negated=i.neg=function(){var t=new D(this);return t.s=-t.s||null,t},i.plus=i.add=function(t,e){var r,n=this,i=n.s;if(o=12,e=(t=new D(t,e)).s,!i||!e)return new D(NaN);if(i!=e)return t.s=-e,n.minus(t);var u=n.e/y,f=t.e/y,s=n.c,c=t.c;if(!u||!f){if(!s||!c)return new D(i/0);if(!s[0]||!c[0])return c[0]?t:new D(s[0]?n:0*i)}if(u=m(u),f=m(f),s=s.slice(),i=u-f){for(i>0?(f=u,r=c):(i=-i,r=s),r.reverse();i--;r.push(0));r.reverse()}for((i=s.length)-(e=c.length)<0&&(r=c,c=s,s=r,e=i),i=0;e;)i=(s[--e]=s[e]+c[e]+i)/p|0,s[e]=p===s[e]?0:s[e]%p;return i&&(s=[i].concat(s),++f),V(t,s,f)},i.precision=i.sd=function(t){var e,r,n=this,o=n.c;if(null!=t&&t!==!!t&&1!==t&&0!==t&&(P&&H(13,"argument"+c,t),t!=!!t&&(t=null)),!o)return null;if(e=(r=o.length-1)*y+1,r=o[r]){for(;r%10==0;r/=10,e--);for(r=o[0];r>=10;r/=10,e++);}return t&&n.e+1>e&&(e=n.e+1),e},i.round=function(t,e){var r=new D(this);return(null==t||k(t,0,v,15))&&W(r,~~t+this.e+1,null!=e&&k(e,0,8,15,a)?0|e:R),r},i.shift=function(t){var e=this;return k(t,-9007199254740991,g,16,"argument")?e.times("1e"+L(t)):new D(e.c&&e.c[0]&&(t<-9007199254740991||t>g)?e.s*(t<0?0:1/0):e)},i.squareRoot=i.sqrt=function(){var t,e,n,o,i,u=this,f=u.c,s=u.s,c=u.e,a=S+4,l=new D("0.5");if(1!==s||!f||!f[0])return new D(!s||s<0&&(!f||f[0])?NaN:f?u:1/0);if(0==(s=Math.sqrt(+u))||s==1/0?(((e=b(f)).length+c)%2==0&&(e+="0"),s=Math.sqrt(e),c=m((c+1)/2)-(c<0||c%2),n=new D(e=s==1/0?"1e"+c:(e=s.toExponential()).slice(0,e.indexOf("e")+1)+c)):n=new D(s+""),n.c[0])for((s=(c=n.e)+a)<3&&(s=0);;)if(i=n,n=l.times(i.plus(r(u,i,a,1))),b(i.c).slice(0,s)===(e=b(n.c)).slice(0,s)){if(n.e<c&&--s,"9999"!=(e=e.slice(s-3,s+1))&&(o||"4999"!=e)){+e&&(+e.slice(1)||"5"!=e.charAt(0))||(W(n,n.e+S+2,1),t=!n.times(n).eq(u));break}if(!o&&(W(i,i.e+S+2,0),i.times(i).eq(u))){n=i;break}a+=4,s+=4,o=1}return W(n,n.e+S+1,R,t)},i.times=i.mul=function(t,e){var r,n,i,u,f,s,c,a,l,h,g,d,v,b,E,A=this,O=A.c,B=(o=17,t=new D(t,e)).c;if(!O||!B||!O[0]||!B[0])return!A.s||!t.s||O&&!O[0]&&!B||B&&!B[0]&&!O?t.c=t.e=t.s=null:(t.s*=A.s,O&&B?(t.c=[0],t.e=0):t.c=t.e=null),t;for(n=m(A.e/y)+m(t.e/y),t.s*=A.s,(c=O.length)<(h=B.length)&&(v=O,O=B,B=v,i=c,c=h,h=i),i=c+h,v=[];i--;v.push(0));for(b=p,E=w,i=h;--i>=0;){for(r=0,g=B[i]%E,d=B[i]/E|0,u=i+(f=c);u>i;)r=((a=g*(a=O[--f]%E)+(s=d*a+(l=O[f]/E|0)*g)%E*E+v[u]+r)/b|0)+(s/E|0)+d*l,v[u--]=a%b;v[u]=r}return r?++n:v.splice(0,1),V(t,v,n)},i.toDigits=function(t,e){var r=new D(this);return t=null!=t&&k(t,1,v,18,"precision")?0|t:null,e=null!=e&&k(e,0,8,18,a)?0|e:R,t?W(r,t,e):r},i.toExponential=function(t,e){return z(this,null!=t&&k(t,0,v,19)?1+~~t:null,e,19)},i.toFixed=function(t,e){return z(this,null!=t&&k(t,0,v,20)?~~t+this.e+1:null,e,20)},i.toFormat=function(t,e){var r=z(this,null!=t&&k(t,0,v,21)?~~t+this.e+1:null,e,21);if(this.c){var n,o=r.split("."),i=+M.groupSize,u=+M.secondaryGroupSize,f=M.groupSeparator,s=o[0],c=o[1],a=this.s<0,l=a?s.slice(1):s,h=l.length;if(u&&(n=i,i=u,u=n,h-=n),i>0&&h>0){for(n=h%i||i,s=l.substr(0,n);n<h;n+=i)s+=f+l.substr(n,i);u>0&&(s+=f+l.slice(n)),a&&(s="-"+s)}r=c?s+M.decimalSeparator+((u=+M.fractionGroupSize)?c.replace(new RegExp("\\d{"+u+"}\\B","g"),"$&"+M.fractionGroupSeparator):c):s}return r},i.toFraction=function(t){var e,n,o,i,u,f,s,c,a,l=P,h=this,p=h.c,g=new D(_),w=n=new D(_),v=s=new D(_);if(null!=t&&(P=!1,f=new D(t),P=l,(l=f.isInt())&&!f.lt(_)||(P&&H(22,"max denominator "+(l?"out of range":"not an integer"),t),t=!l&&f.c&&W(f,f.e+1,1).gte(_)?f:null)),!p)return h.toString();for(a=b(p),i=g.e=a.length-h.e-1,g.c[0]=d[(u=i%y)<0?y+u:u],t=!t||f.cmp(g)>0?i>0?g:w:f,u=N,N=1/0,f=new D(a),s.c[0]=0;c=r(f,g,0,1),1!=(o=n.plus(c.times(v))).cmp(t);)n=v,v=o,w=s.plus(c.times(o=w)),s=o,g=f.minus(c.times(o=g)),f=o;return o=r(t.minus(n),v,0,1),s=s.plus(o.times(w)),n=n.plus(o.times(v)),s.s=w.s=h.s,e=r(w,v,i*=2,R).minus(h).abs().cmp(r(s,n,i,R).minus(h).abs())<1?[w.toString(),v.toString()]:[s.toString(),n.toString()],N=u,e},i.toNumber=function(){return+this},i.toPower=i.pow=function(t,e){var r,n,i,u=s(t<0?-t:+t),c=this;if(null!=e&&(o=23,e=new D(e)),!k(t,-9007199254740991,g,23,"exponent")&&(!isFinite(t)||u>g&&(t/=0)||parseFloat(t)!=t&&!(t=NaN))||0==t)return r=Math.pow(+c,t),new D(e?r%e:r);for(e?t>1&&c.gt(_)&&c.isInt()&&e.gt(_)&&e.isInt()?c=c.mod(e):(i=e,e=null):$&&(r=f($/y+2)),n=new D(_);;){if(u%2){if(!(n=n.times(c)).c)break;r?n.c.length>r&&(n.c.length=r):e&&(n=n.mod(e))}if(!(u=s(u/2)))break;c=c.times(c),r?c.c&&c.c.length>r&&(c.c.length=r):e&&(c=c.mod(e))}return e?n:(t<0&&(n=_.div(n)),i?n.mod(i):r?W(n,$,R):n)},i.toPrecision=function(t,e){return z(this,null!=t&&k(t,1,v,24,"precision")?0|t:null,e,24)},i.toString=function(t){var e,r=this,n=r.s,o=r.e;return null===o?n?(e="Infinity",n<0&&(e="-"+e)):e="NaN":(e=b(r.c),e=null!=t&&k(t,2,64,25,"base")?G(I(e,o),0|t,10,n):o<=U||o>=j?x(e,o):I(e,o),n<0&&r.c[0]&&(e="-"+e)),e},i.truncated=i.trunc=function(){return W(new D(this),this.e+1,1)},i.valueOf=i.toJSON=function(){var t,e=this,r=e.e;return null===r?e.toString():(t=b(e.c),t=r<=U||r>=j?x(t,r):I(t,r),e.s<0?"-"+t:t)},i.isBigNumber=!0,null!=e&&D.config(e),D}(),i.default=i.BigNumber=i,void 0===(n=function(){return i}.call(e,r,e,t))||(t.exports=n)}()},47397:function(t,e,r){"use strict";const n=r(6236),o=r(65225),i="function"===typeof Symbol&&"function"===typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;e.Buffer=s,e.SlowBuffer=function(t){+t!=t&&(t=0);return s.alloc(+t)},e.INSPECT_MAX_BYTES=50;const u=2147483647;function f(t){if(t>u)throw new RangeError('The value "'+t+'" is invalid for option "size"');const e=new Uint8Array(t);return Object.setPrototypeOf(e,s.prototype),e}function s(t,e,r){if("number"===typeof t){if("string"===typeof e)throw new TypeError('The "string" argument must be of type string. Received type number');return l(t)}return c(t,e,r)}function c(t,e,r){if("string"===typeof t)return function(t,e){"string"===typeof e&&""!==e||(e="utf8");if(!s.isEncoding(e))throw new TypeError("Unknown encoding: "+e);const r=0|g(t,e);let n=f(r);const o=n.write(t,e);o!==r&&(n=n.slice(0,o));return n}(t,e);if(ArrayBuffer.isView(t))return function(t){if(X(t,Uint8Array)){const e=new Uint8Array(t);return p(e.buffer,e.byteOffset,e.byteLength)}return h(t)}(t);if(null==t)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(X(t,ArrayBuffer)||t&&X(t.buffer,ArrayBuffer))return p(t,e,r);if("undefined"!==typeof SharedArrayBuffer&&(X(t,SharedArrayBuffer)||t&&X(t.buffer,SharedArrayBuffer)))return p(t,e,r);if("number"===typeof t)throw new TypeError('The "value" argument must not be of type number. Received type number');const n=t.valueOf&&t.valueOf();if(null!=n&&n!==t)return s.from(n,e,r);const o=function(t){if(s.isBuffer(t)){const e=0|y(t.length),r=f(e);return 0===r.length||t.copy(r,0,0,e),r}if(void 0!==t.length)return"number"!==typeof t.length||J(t.length)?f(0):h(t);if("Buffer"===t.type&&Array.isArray(t.data))return h(t.data)}(t);if(o)return o;if("undefined"!==typeof Symbol&&null!=Symbol.toPrimitive&&"function"===typeof t[Symbol.toPrimitive])return s.from(t[Symbol.toPrimitive]("string"),e,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}function a(t){if("number"!==typeof t)throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function l(t){return a(t),f(t<0?0:0|y(t))}function h(t){const e=t.length<0?0:0|y(t.length),r=f(e);for(let n=0;n<e;n+=1)r[n]=255&t[n];return r}function p(t,e,r){if(e<0||t.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(r||0))throw new RangeError('"length" is outside of buffer bounds');let n;return n=void 0===e&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,e):new Uint8Array(t,e,r),Object.setPrototypeOf(n,s.prototype),n}function y(t){if(t>=u)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+u.toString(16)+" bytes");return 0|t}function g(t,e){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||X(t,ArrayBuffer))return t.byteLength;if("string"!==typeof t)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);const r=t.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;let o=!1;for(;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return V(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return H(t).length;default:if(o)return n?-1:V(t).length;e=(""+e).toLowerCase(),o=!0}}function d(t,e,r){let n=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return R(this,e,r);case"utf8":case"utf-8":return I(this,e,r);case"ascii":return _(this,e,r);case"latin1":case"binary":return S(this,e,r);case"base64":return x(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return U(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}function w(t,e,r){const n=t[e];t[e]=t[r],t[r]=n}function v(t,e,r,n,o){if(0===t.length)return-1;if("string"===typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),J(r=+r)&&(r=o?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(o)return-1;r=t.length-1}else if(r<0){if(!o)return-1;r=0}if("string"===typeof e&&(e=s.from(e,n)),s.isBuffer(e))return 0===e.length?-1:m(t,e,r,n,o);if("number"===typeof e)return e&=255,"function"===typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):m(t,[e],r,n,o);throw new TypeError("val must be string, number or Buffer")}function m(t,e,r,n,o){let i,u=1,f=t.length,s=e.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||e.length<2)return-1;u=2,f/=2,s/=2,r/=2}function c(t,e){return 1===u?t[e]:t.readUInt16BE(e*u)}if(o){let n=-1;for(i=r;i<f;i++)if(c(t,i)===c(e,-1===n?0:i-n)){if(-1===n&&(n=i),i-n+1===s)return n*u}else-1!==n&&(i-=i-n),n=-1}else for(r+s>f&&(r=f-s),i=r;i>=0;i--){let r=!0;for(let n=0;n<s;n++)if(c(t,i+n)!==c(e,n)){r=!1;break}if(r)return i}return-1}function b(t,e,r,n){r=Number(r)||0;const o=t.length-r;n?(n=Number(n))>o&&(n=o):n=o;const i=e.length;let u;for(n>i/2&&(n=i/2),u=0;u<n;++u){const n=parseInt(e.substr(2*u,2),16);if(J(n))return u;t[r+u]=n}return u}function E(t,e,r,n){return W(V(e,t.length-r),t,r,n)}function A(t,e,r,n){return W(function(t){const e=[];for(let r=0;r<t.length;++r)e.push(255&t.charCodeAt(r));return e}(e),t,r,n)}function O(t,e,r,n){return W(H(e),t,r,n)}function B(t,e,r,n){return W(function(t,e){let r,n,o;const i=[];for(let u=0;u<t.length&&!((e-=2)<0);++u)r=t.charCodeAt(u),n=r>>8,o=r%256,i.push(o),i.push(n);return i}(e,t.length-r),t,r,n)}function x(t,e,r){return 0===e&&r===t.length?n.fromByteArray(t):n.fromByteArray(t.slice(e,r))}function I(t,e,r){r=Math.min(t.length,r);const n=[];let o=e;for(;o<r;){const e=t[o];let i=null,u=e>239?4:e>223?3:e>191?2:1;if(o+u<=r){let r,n,f,s;switch(u){case 1:e<128&&(i=e);break;case 2:r=t[o+1],128===(192&r)&&(s=(31&e)<<6|63&r,s>127&&(i=s));break;case 3:r=t[o+1],n=t[o+2],128===(192&r)&&128===(192&n)&&(s=(15&e)<<12|(63&r)<<6|63&n,s>2047&&(s<55296||s>57343)&&(i=s));break;case 4:r=t[o+1],n=t[o+2],f=t[o+3],128===(192&r)&&128===(192&n)&&128===(192&f)&&(s=(15&e)<<18|(63&r)<<12|(63&n)<<6|63&f,s>65535&&s<1114112&&(i=s))}}null===i?(i=65533,u=1):i>65535&&(i-=65536,n.push(i>>>10&1023|55296),i=56320|1023&i),n.push(i),o+=u}return function(t){const e=t.length;if(e<=L)return String.fromCharCode.apply(String,t);let r="",n=0;for(;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=L));return r}(n)}e.kMaxLength=u,s.TYPED_ARRAY_SUPPORT=function(){try{const t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),42===t.foo()}catch(t){return!1}}(),s.TYPED_ARRAY_SUPPORT||"undefined"===typeof console||"function"!==typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.buffer}}),Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.byteOffset}}),s.poolSize=8192,s.from=function(t,e,r){return c(t,e,r)},Object.setPrototypeOf(s.prototype,Uint8Array.prototype),Object.setPrototypeOf(s,Uint8Array),s.alloc=function(t,e,r){return function(t,e,r){return a(t),t<=0?f(t):void 0!==e?"string"===typeof r?f(t).fill(e,r):f(t).fill(e):f(t)}(t,e,r)},s.allocUnsafe=function(t){return l(t)},s.allocUnsafeSlow=function(t){return l(t)},s.isBuffer=function(t){return null!=t&&!0===t._isBuffer&&t!==s.prototype},s.compare=function(t,e){if(X(t,Uint8Array)&&(t=s.from(t,t.offset,t.byteLength)),X(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(t)||!s.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===e)return 0;let r=t.length,n=e.length;for(let o=0,i=Math.min(r,n);o<i;++o)if(t[o]!==e[o]){r=t[o],n=e[o];break}return r<n?-1:n<r?1:0},s.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},s.concat=function(t,e){if(!Array.isArray(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return s.alloc(0);let r;if(void 0===e)for(e=0,r=0;r<t.length;++r)e+=t[r].length;const n=s.allocUnsafe(e);let o=0;for(r=0;r<t.length;++r){let e=t[r];if(X(e,Uint8Array))o+e.length>n.length?(s.isBuffer(e)||(e=s.from(e)),e.copy(n,o)):Uint8Array.prototype.set.call(n,e,o);else{if(!s.isBuffer(e))throw new TypeError('"list" argument must be an Array of Buffers');e.copy(n,o)}o+=e.length}return n},s.byteLength=g,s.prototype._isBuffer=!0,s.prototype.swap16=function(){const t=this.length;if(t%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let e=0;e<t;e+=2)w(this,e,e+1);return this},s.prototype.swap32=function(){const t=this.length;if(t%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let e=0;e<t;e+=4)w(this,e,e+3),w(this,e+1,e+2);return this},s.prototype.swap64=function(){const t=this.length;if(t%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let e=0;e<t;e+=8)w(this,e,e+7),w(this,e+1,e+6),w(this,e+2,e+5),w(this,e+3,e+4);return this},s.prototype.toString=function(){const t=this.length;return 0===t?"":0===arguments.length?I(this,0,t):d.apply(this,arguments)},s.prototype.toLocaleString=s.prototype.toString,s.prototype.equals=function(t){if(!s.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===s.compare(this,t)},s.prototype.inspect=function(){let t="";const r=e.INSPECT_MAX_BYTES;return t=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(t+=" ... "),"<Buffer "+t+">"},i&&(s.prototype[i]=s.prototype.inspect),s.prototype.compare=function(t,e,r,n,o){if(X(t,Uint8Array)&&(t=s.from(t,t.offset,t.byteLength)),!s.isBuffer(t))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(void 0===e&&(e=0),void 0===r&&(r=t?t.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),e<0||r>t.length||n<0||o>this.length)throw new RangeError("out of range index");if(n>=o&&e>=r)return 0;if(n>=o)return-1;if(e>=r)return 1;if(this===t)return 0;let i=(o>>>=0)-(n>>>=0),u=(r>>>=0)-(e>>>=0);const f=Math.min(i,u),c=this.slice(n,o),a=t.slice(e,r);for(let s=0;s<f;++s)if(c[s]!==a[s]){i=c[s],u=a[s];break}return i<u?-1:u<i?1:0},s.prototype.includes=function(t,e,r){return-1!==this.indexOf(t,e,r)},s.prototype.indexOf=function(t,e,r){return v(this,t,e,r,!0)},s.prototype.lastIndexOf=function(t,e,r){return v(this,t,e,r,!1)},s.prototype.write=function(t,e,r,n){if(void 0===e)n="utf8",r=this.length,e=0;else if(void 0===r&&"string"===typeof e)n=e,r=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e>>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}const o=this.length-e;if((void 0===r||r>o)&&(r=o),t.length>0&&(r<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");let i=!1;for(;;)switch(n){case"hex":return b(this,t,e,r);case"utf8":case"utf-8":return E(this,t,e,r);case"ascii":case"latin1":case"binary":return A(this,t,e,r);case"base64":return O(this,t,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return B(this,t,e,r);default:if(i)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),i=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const L=4096;function _(t,e,r){let n="";r=Math.min(t.length,r);for(let o=e;o<r;++o)n+=String.fromCharCode(127&t[o]);return n}function S(t,e,r){let n="";r=Math.min(t.length,r);for(let o=e;o<r;++o)n+=String.fromCharCode(t[o]);return n}function R(t,e,r){const n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);let o="";for(let i=e;i<r;++i)o+=Z[t[i]];return o}function U(t,e,r){const n=t.slice(e,r);let o="";for(let i=0;i<n.length-1;i+=2)o+=String.fromCharCode(n[i]+256*n[i+1]);return o}function j(t,e,r){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}function T(t,e,r,n,o,i){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>o||e<i)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}function N(t,e,r,n,o){G(e,n,o,t,r,7);let i=Number(e&BigInt(4294967295));t[r++]=i,i>>=8,t[r++]=i,i>>=8,t[r++]=i,i>>=8,t[r++]=i;let u=Number(e>>BigInt(32)&BigInt(4294967295));return t[r++]=u,u>>=8,t[r++]=u,u>>=8,t[r++]=u,u>>=8,t[r++]=u,r}function P(t,e,r,n,o){G(e,n,o,t,r,7);let i=Number(e&BigInt(4294967295));t[r+7]=i,i>>=8,t[r+6]=i,i>>=8,t[r+5]=i,i>>=8,t[r+4]=i;let u=Number(e>>BigInt(32)&BigInt(4294967295));return t[r+3]=u,u>>=8,t[r+2]=u,u>>=8,t[r+1]=u,u>>=8,t[r]=u,r+8}function k(t,e,r,n,o,i){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function C(t,e,r,n,i){return e=+e,r>>>=0,i||k(t,0,r,4),o.write(t,e,r,n,23,4),r+4}function F(t,e,r,n,i){return e=+e,r>>>=0,i||k(t,0,r,8),o.write(t,e,r,n,52,8),r+8}s.prototype.slice=function(t,e){const r=this.length;(t=~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),(e=void 0===e?r:~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),e<t&&(e=t);const n=this.subarray(t,e);return Object.setPrototypeOf(n,s.prototype),n},s.prototype.readUintLE=s.prototype.readUIntLE=function(t,e,r){t>>>=0,e>>>=0,r||j(t,e,this.length);let n=this[t],o=1,i=0;for(;++i<e&&(o*=256);)n+=this[t+i]*o;return n},s.prototype.readUintBE=s.prototype.readUIntBE=function(t,e,r){t>>>=0,e>>>=0,r||j(t,e,this.length);let n=this[t+--e],o=1;for(;e>0&&(o*=256);)n+=this[t+--e]*o;return n},s.prototype.readUint8=s.prototype.readUInt8=function(t,e){return t>>>=0,e||j(t,1,this.length),this[t]},s.prototype.readUint16LE=s.prototype.readUInt16LE=function(t,e){return t>>>=0,e||j(t,2,this.length),this[t]|this[t+1]<<8},s.prototype.readUint16BE=s.prototype.readUInt16BE=function(t,e){return t>>>=0,e||j(t,2,this.length),this[t]<<8|this[t+1]},s.prototype.readUint32LE=s.prototype.readUInt32LE=function(t,e){return t>>>=0,e||j(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},s.prototype.readUint32BE=s.prototype.readUInt32BE=function(t,e){return t>>>=0,e||j(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},s.prototype.readBigUInt64LE=K((function(t){z(t>>>=0,"offset");const e=this[t],r=this[t+7];void 0!==e&&void 0!==r||q(t,this.length-8);const n=e+256*this[++t]+65536*this[++t]+this[++t]*2**24,o=this[++t]+256*this[++t]+65536*this[++t]+r*2**24;return BigInt(n)+(BigInt(o)<<BigInt(32))})),s.prototype.readBigUInt64BE=K((function(t){z(t>>>=0,"offset");const e=this[t],r=this[t+7];void 0!==e&&void 0!==r||q(t,this.length-8);const n=e*2**24+65536*this[++t]+256*this[++t]+this[++t],o=this[++t]*2**24+65536*this[++t]+256*this[++t]+r;return(BigInt(n)<<BigInt(32))+BigInt(o)})),s.prototype.readIntLE=function(t,e,r){t>>>=0,e>>>=0,r||j(t,e,this.length);let n=this[t],o=1,i=0;for(;++i<e&&(o*=256);)n+=this[t+i]*o;return o*=128,n>=o&&(n-=Math.pow(2,8*e)),n},s.prototype.readIntBE=function(t,e,r){t>>>=0,e>>>=0,r||j(t,e,this.length);let n=e,o=1,i=this[t+--n];for(;n>0&&(o*=256);)i+=this[t+--n]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*e)),i},s.prototype.readInt8=function(t,e){return t>>>=0,e||j(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},s.prototype.readInt16LE=function(t,e){t>>>=0,e||j(t,2,this.length);const r=this[t]|this[t+1]<<8;return 32768&r?4294901760|r:r},s.prototype.readInt16BE=function(t,e){t>>>=0,e||j(t,2,this.length);const r=this[t+1]|this[t]<<8;return 32768&r?4294901760|r:r},s.prototype.readInt32LE=function(t,e){return t>>>=0,e||j(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},s.prototype.readInt32BE=function(t,e){return t>>>=0,e||j(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},s.prototype.readBigInt64LE=K((function(t){z(t>>>=0,"offset");const e=this[t],r=this[t+7];void 0!==e&&void 0!==r||q(t,this.length-8);const n=this[t+4]+256*this[t+5]+65536*this[t+6]+(r<<24);return(BigInt(n)<<BigInt(32))+BigInt(e+256*this[++t]+65536*this[++t]+this[++t]*2**24)})),s.prototype.readBigInt64BE=K((function(t){z(t>>>=0,"offset");const e=this[t],r=this[t+7];void 0!==e&&void 0!==r||q(t,this.length-8);const n=(e<<24)+65536*this[++t]+256*this[++t]+this[++t];return(BigInt(n)<<BigInt(32))+BigInt(this[++t]*2**24+65536*this[++t]+256*this[++t]+r)})),s.prototype.readFloatLE=function(t,e){return t>>>=0,e||j(t,4,this.length),o.read(this,t,!0,23,4)},s.prototype.readFloatBE=function(t,e){return t>>>=0,e||j(t,4,this.length),o.read(this,t,!1,23,4)},s.prototype.readDoubleLE=function(t,e){return t>>>=0,e||j(t,8,this.length),o.read(this,t,!0,52,8)},s.prototype.readDoubleBE=function(t,e){return t>>>=0,e||j(t,8,this.length),o.read(this,t,!1,52,8)},s.prototype.writeUintLE=s.prototype.writeUIntLE=function(t,e,r,n){if(t=+t,e>>>=0,r>>>=0,!n){T(this,t,e,r,Math.pow(2,8*r)-1,0)}let o=1,i=0;for(this[e]=255&t;++i<r&&(o*=256);)this[e+i]=t/o&255;return e+r},s.prototype.writeUintBE=s.prototype.writeUIntBE=function(t,e,r,n){if(t=+t,e>>>=0,r>>>=0,!n){T(this,t,e,r,Math.pow(2,8*r)-1,0)}let o=r-1,i=1;for(this[e+o]=255&t;--o>=0&&(i*=256);)this[e+o]=t/i&255;return e+r},s.prototype.writeUint8=s.prototype.writeUInt8=function(t,e,r){return t=+t,e>>>=0,r||T(this,t,e,1,255,0),this[e]=255&t,e+1},s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(t,e,r){return t=+t,e>>>=0,r||T(this,t,e,2,65535,0),this[e]=255&t,this[e+1]=t>>>8,e+2},s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(t,e,r){return t=+t,e>>>=0,r||T(this,t,e,2,65535,0),this[e]=t>>>8,this[e+1]=255&t,e+2},s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(t,e,r){return t=+t,e>>>=0,r||T(this,t,e,4,4294967295,0),this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t,e+4},s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(t,e,r){return t=+t,e>>>=0,r||T(this,t,e,4,4294967295,0),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},s.prototype.writeBigUInt64LE=K((function(t){return N(this,t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,BigInt(0),BigInt("0xffffffffffffffff"))})),s.prototype.writeBigUInt64BE=K((function(t){return P(this,t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,BigInt(0),BigInt("0xffffffffffffffff"))})),s.prototype.writeIntLE=function(t,e,r,n){if(t=+t,e>>>=0,!n){const n=Math.pow(2,8*r-1);T(this,t,e,r,n-1,-n)}let o=0,i=1,u=0;for(this[e]=255&t;++o<r&&(i*=256);)t<0&&0===u&&0!==this[e+o-1]&&(u=1),this[e+o]=(t/i|0)-u&255;return e+r},s.prototype.writeIntBE=function(t,e,r,n){if(t=+t,e>>>=0,!n){const n=Math.pow(2,8*r-1);T(this,t,e,r,n-1,-n)}let o=r-1,i=1,u=0;for(this[e+o]=255&t;--o>=0&&(i*=256);)t<0&&0===u&&0!==this[e+o+1]&&(u=1),this[e+o]=(t/i|0)-u&255;return e+r},s.prototype.writeInt8=function(t,e,r){return t=+t,e>>>=0,r||T(this,t,e,1,127,-128),t<0&&(t=255+t+1),this[e]=255&t,e+1},s.prototype.writeInt16LE=function(t,e,r){return t=+t,e>>>=0,r||T(this,t,e,2,32767,-32768),this[e]=255&t,this[e+1]=t>>>8,e+2},s.prototype.writeInt16BE=function(t,e,r){return t=+t,e>>>=0,r||T(this,t,e,2,32767,-32768),this[e]=t>>>8,this[e+1]=255&t,e+2},s.prototype.writeInt32LE=function(t,e,r){return t=+t,e>>>=0,r||T(this,t,e,4,2147483647,-2147483648),this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24,e+4},s.prototype.writeInt32BE=function(t,e,r){return t=+t,e>>>=0,r||T(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},s.prototype.writeBigInt64LE=K((function(t){return N(this,t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),s.prototype.writeBigInt64BE=K((function(t){return P(this,t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),s.prototype.writeFloatLE=function(t,e,r){return C(this,t,e,!0,r)},s.prototype.writeFloatBE=function(t,e,r){return C(this,t,e,!1,r)},s.prototype.writeDoubleLE=function(t,e,r){return F(this,t,e,!0,r)},s.prototype.writeDoubleBE=function(t,e,r){return F(this,t,e,!1,r)},s.prototype.copy=function(t,e,r,n){if(!s.isBuffer(t))throw new TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-e<n-r&&(n=t.length-e+r);const o=n-r;return this===t&&"function"===typeof Uint8Array.prototype.copyWithin?this.copyWithin(e,r,n):Uint8Array.prototype.set.call(t,this.subarray(r,n),e),o},s.prototype.fill=function(t,e,r,n){if("string"===typeof t){if("string"===typeof e?(n=e,e=0,r=this.length):"string"===typeof r&&(n=r,r=this.length),void 0!==n&&"string"!==typeof n)throw new TypeError("encoding must be a string");if("string"===typeof n&&!s.isEncoding(n))throw new TypeError("Unknown encoding: "+n);if(1===t.length){const e=t.charCodeAt(0);("utf8"===n&&e<128||"latin1"===n)&&(t=e)}}else"number"===typeof t?t&=255:"boolean"===typeof t&&(t=Number(t));if(e<0||this.length<e||this.length<r)throw new RangeError("Out of range index");if(r<=e)return this;let o;if(e>>>=0,r=void 0===r?this.length:r>>>0,t||(t=0),"number"===typeof t)for(o=e;o<r;++o)this[o]=t;else{const i=s.isBuffer(t)?t:s.from(t,n),u=i.length;if(0===u)throw new TypeError('The value "'+t+'" is invalid for argument "value"');for(o=0;o<r-e;++o)this[o+e]=i[o%u]}return this};const $={};function M(t,e,r){$[t]=class extends r{constructor(){super(),Object.defineProperty(this,"message",{value:e.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${t}]`,this.stack,delete this.name}get code(){return t}set code(t){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:t,writable:!0})}toString(){return`${this.name} [${t}]: ${this.message}`}}}function D(t){let e="",r=t.length;const n="-"===t[0]?1:0;for(;r>=n+4;r-=3)e=`_${t.slice(r-3,r)}${e}`;return`${t.slice(0,r)}${e}`}function G(t,e,r,n,o,i){if(t>r||t<e){const n="bigint"===typeof e?"n":"";let o;throw o=i>3?0===e||e===BigInt(0)?`>= 0${n} and < 2${n} ** ${8*(i+1)}${n}`:`>= -(2${n} ** ${8*(i+1)-1}${n}) and < 2 ** ${8*(i+1)-1}${n}`:`>= ${e}${n} and <= ${r}${n}`,new $.ERR_OUT_OF_RANGE("value",o,t)}!function(t,e,r){z(e,"offset"),void 0!==t[e]&&void 0!==t[e+r]||q(e,t.length-(r+1))}(n,o,i)}function z(t,e){if("number"!==typeof t)throw new $.ERR_INVALID_ARG_TYPE(e,"number",t)}function q(t,e,r){if(Math.floor(t)!==t)throw z(t,r),new $.ERR_OUT_OF_RANGE(r||"offset","an integer",t);if(e<0)throw new $.ERR_BUFFER_OUT_OF_BOUNDS;throw new $.ERR_OUT_OF_RANGE(r||"offset",`>= ${r?1:0} and <= ${e}`,t)}M("ERR_BUFFER_OUT_OF_BOUNDS",(function(t){return t?`${t} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"}),RangeError),M("ERR_INVALID_ARG_TYPE",(function(t,e){return`The "${t}" argument must be of type number. Received type ${typeof e}`}),TypeError),M("ERR_OUT_OF_RANGE",(function(t,e,r){let n=`The value of "${t}" is out of range.`,o=r;return Number.isInteger(r)&&Math.abs(r)>2**32?o=D(String(r)):"bigint"===typeof r&&(o=String(r),(r>BigInt(2)**BigInt(32)||r<-(BigInt(2)**BigInt(32)))&&(o=D(o)),o+="n"),n+=` It must be ${e}. Received ${o}`,n}),RangeError);const Y=/[^+/0-9A-Za-z-_]/g;function V(t,e){let r;e=e||1/0;const n=t.length;let o=null;const i=[];for(let u=0;u<n;++u){if(r=t.charCodeAt(u),r>55295&&r<57344){if(!o){if(r>56319){(e-=3)>-1&&i.push(239,191,189);continue}if(u+1===n){(e-=3)>-1&&i.push(239,191,189);continue}o=r;continue}if(r<56320){(e-=3)>-1&&i.push(239,191,189),o=r;continue}r=65536+(o-55296<<10|r-56320)}else o&&(e-=3)>-1&&i.push(239,191,189);if(o=null,r<128){if((e-=1)<0)break;i.push(r)}else if(r<2048){if((e-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return i}function H(t){return n.toByteArray(function(t){if((t=(t=t.split("=")[0]).trim().replace(Y,"")).length<2)return"";for(;t.length%4!==0;)t+="=";return t}(t))}function W(t,e,r,n){let o;for(o=0;o<n&&!(o+r>=e.length||o>=t.length);++o)e[o+r]=t[o];return o}function X(t,e){return t instanceof e||null!=t&&null!=t.constructor&&null!=t.constructor.name&&t.constructor.name===e.name}function J(t){return t!==t}const Z=function(){const t="0123456789abcdef",e=new Array(256);for(let r=0;r<16;++r){const n=16*r;for(let o=0;o<16;++o)e[n+o]=t[r]+t[o]}return e}();function K(t){return"undefined"===typeof BigInt?Q:t}function Q(){throw new Error("BigInt not supported")}},4633:function(t,e,r){var n=r(73738).default;function o(){"use strict";t.exports=o=function(){return r},t.exports.__esModule=!0,t.exports.default=t.exports;var e,r={},i=Object.prototype,u=i.hasOwnProperty,f=Object.defineProperty||function(t,e,r){t[e]=r.value},s="function"==typeof Symbol?Symbol:{},c=s.iterator||"@@iterator",a=s.asyncIterator||"@@asyncIterator",l=s.toStringTag||"@@toStringTag";function h(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{h({},"")}catch(e){h=function(t,e,r){return t[e]=r}}function p(t,e,r,n){var o=e&&e.prototype instanceof b?e:b,i=Object.create(o.prototype),u=new T(n||[]);return f(i,"_invoke",{value:S(t,r,u)}),i}function y(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}r.wrap=p;var g="suspendedStart",d="suspendedYield",w="executing",v="completed",m={};function b(){}function E(){}function A(){}var O={};h(O,c,(function(){return this}));var B=Object.getPrototypeOf,x=B&&B(B(N([])));x&&x!==i&&u.call(x,c)&&(O=x);var I=A.prototype=b.prototype=Object.create(O);function L(t){["next","throw","return"].forEach((function(e){h(t,e,(function(t){return this._invoke(e,t)}))}))}function _(t,e){function r(o,i,f,s){var c=y(t[o],t,i);if("throw"!==c.type){var a=c.arg,l=a.value;return l&&"object"==n(l)&&u.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,f,s)}),(function(t){r("throw",t,f,s)})):e.resolve(l).then((function(t){a.value=t,f(a)}),(function(t){return r("throw",t,f,s)}))}s(c.arg)}var o;f(this,"_invoke",{value:function(t,n){function i(){return new e((function(e,o){r(t,n,e,o)}))}return o=o?o.then(i,i):i()}})}function S(t,r,n){var o=g;return function(i,u){if(o===w)throw new Error("Generator is already running");if(o===v){if("throw"===i)throw u;return{value:e,done:!0}}for(n.method=i,n.arg=u;;){var f=n.delegate;if(f){var s=R(f,n);if(s){if(s===m)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===g)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=w;var c=y(t,r,n);if("normal"===c.type){if(o=n.done?v:d,c.arg===m)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=v,n.method="throw",n.arg=c.arg)}}}function R(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,R(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),m;var i=y(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,m;var u=i.arg;return u?u.done?(r[t.resultName]=u.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,m):u:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,m)}function U(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function T(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(U,this),this.reset(!0)}function N(t){if(t||""===t){var r=t[c];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function r(){for(;++o<t.length;)if(u.call(t,o))return r.value=t[o],r.done=!1,r;return r.value=e,r.done=!0,r};return i.next=i}}throw new TypeError(n(t)+" is not iterable")}return E.prototype=A,f(I,"constructor",{value:A,configurable:!0}),f(A,"constructor",{value:E,configurable:!0}),E.displayName=h(A,l,"GeneratorFunction"),r.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===E||"GeneratorFunction"===(e.displayName||e.name))},r.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,A):(t.__proto__=A,h(t,l,"GeneratorFunction")),t.prototype=Object.create(I),t},r.awrap=function(t){return{__await:t}},L(_.prototype),h(_.prototype,a,(function(){return this})),r.AsyncIterator=_,r.async=function(t,e,n,o,i){void 0===i&&(i=Promise);var u=new _(p(t,e,n,o),i);return r.isGeneratorFunction(e)?u:u.next().then((function(t){return t.done?t.value:u.next()}))},L(I),h(I,l,"Generator"),h(I,c,(function(){return this})),h(I,"toString",(function(){return"[object Generator]"})),r.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},r.values=N,T.prototype={constructor:T,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(j),!t)for(var r in this)"t"===r.charAt(0)&&u.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(n,o){return f.type="throw",f.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],f=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var s=u.call(i,"catchLoc"),c=u.call(i,"finallyLoc");if(s&&c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&u.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=t,i.arg=e,o?(this.method="next",this.next=o.finallyLoc,m):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),m},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),j(r),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;j(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:N(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),m}},r}t.exports=o,t.exports.__esModule=!0,t.exports.default=t.exports},73738:function(t){function e(r){return t.exports=e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports.default=t.exports,e(r)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports},54756:function(t,e,r){var n=r(4633)();t.exports=n;try{regeneratorRuntime=n}catch(o){"object"===typeof globalThis?globalThis.regeneratorRuntime=n:Function("r","regeneratorRuntime = r")(n)}},43145:function(t,e,r){"use strict";function n(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}r.d(e,{A:function(){return n}})},96369:function(t,e,r){"use strict";function n(t){if(Array.isArray(t))return t}r.d(e,{A:function(){return n}})},9417:function(t,e,r){"use strict";function n(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}r.d(e,{A:function(){return n}})},10467:function(t,e,r){"use strict";function n(t,e,r,n,o,i,u){try{var f=t[i](u),s=f.value}catch(c){return void r(c)}f.done?e(s):Promise.resolve(s).then(n,o)}function o(t){return function(){var e=this,r=arguments;return new Promise((function(o,i){var u=t.apply(e,r);function f(t){n(u,o,i,f,s,"next",t)}function s(t){n(u,o,i,f,s,"throw",t)}f(void 0)}))}}r.d(e,{A:function(){return o}})},23029:function(t,e,r){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}r.d(e,{A:function(){return n}})},4473:function(t,e,r){"use strict";function n(t,e){if(!Object.prototype.hasOwnProperty.call(t,e))throw new TypeError("attempted to use private field on non-instance");return t}r.d(e,{A:function(){return n}})},68341:function(t,e,r){"use strict";r.d(e,{A:function(){return o}});var n=0;function o(t){return"__private_"+n+++"_"+t}},92901:function(t,e,r){"use strict";r.d(e,{A:function(){return i}});var n=r(20816);function o(t,e){for(var r=0;r<e.length;r++){var o=e[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,(0,n.A)(o.key),o)}}function i(t,e,r){return e&&o(t.prototype,e),r&&o(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}},88293:function(t,e,r){"use strict";r.d(e,{A:function(){return i}});var n=r(53954);var o=r(56822);function i(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,i=(0,n.A)(t);if(e){var u=(0,n.A)(this).constructor;r=Reflect.construct(i,arguments,u)}else r=i.apply(this,arguments);return(0,o.A)(this,r)}}},64467:function(t,e,r){"use strict";r.d(e,{A:function(){return o}});var n=r(20816);function o(t,e,r){return(e=(0,n.A)(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}},58168:function(t,e,r){"use strict";function n(){return n=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},n.apply(this,arguments)}r.d(e,{A:function(){return n}})},53954:function(t,e,r){"use strict";function n(t){return n=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},n(t)}r.d(e,{A:function(){return n}})},15361:function(t,e,r){"use strict";function n(t,e){return n=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},n(t,e)}function o(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&n(t,e)}r.d(e,{A:function(){return o}})},73893:function(t,e,r){"use strict";function n(t){if("undefined"!==typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}r.d(e,{A:function(){return n}})},76562:function(t,e,r){"use strict";function n(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}r.d(e,{A:function(){return n}})},89379:function(t,e,r){"use strict";r.d(e,{A:function(){return i}});var n=r(64467);function o(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function i(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?o(Object(r),!0).forEach((function(e){(0,n.A)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}},80045:function(t,e,r){"use strict";r.d(e,{A:function(){return o}});var n=r(98587);function o(t,e){if(null==t)return{};var r,o,i=(0,n.A)(t,e);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(t);for(o=0;o<u.length;o++)r=u[o],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}},98587:function(t,e,r){"use strict";function n(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}r.d(e,{A:function(){return n}})},56822:function(t,e,r){"use strict";r.d(e,{A:function(){return i}});var n=r(82284),o=r(9417);function i(t,e){if(e&&("object"===(0,n.A)(e)||"function"===typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return(0,o.A)(t)}},90675:function(t,e,r){"use strict";r.d(e,{A:function(){return o}});var n=r(82284);function o(){o=function(){return e};var t,e={},r=Object.prototype,i=r.hasOwnProperty,u=Object.defineProperty||function(t,e,r){t[e]=r.value},f="function"==typeof Symbol?Symbol:{},s=f.iterator||"@@iterator",c=f.asyncIterator||"@@asyncIterator",a=f.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function h(t,e,r,n){var o=e&&e.prototype instanceof m?e:m,i=Object.create(o.prototype),f=new j(n||[]);return u(i,"_invoke",{value:_(t,r,f)}),i}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=h;var y="suspendedStart",g="suspendedYield",d="executing",w="completed",v={};function m(){}function b(){}function E(){}var A={};l(A,s,(function(){return this}));var O=Object.getPrototypeOf,B=O&&O(O(T([])));B&&B!==r&&i.call(B,s)&&(A=B);var x=E.prototype=m.prototype=Object.create(A);function I(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function L(t,e){function r(o,u,f,s){var c=p(t[o],t,u);if("throw"!==c.type){var a=c.arg,l=a.value;return l&&"object"==(0,n.A)(l)&&i.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,f,s)}),(function(t){r("throw",t,f,s)})):e.resolve(l).then((function(t){a.value=t,f(a)}),(function(t){return r("throw",t,f,s)}))}s(c.arg)}var o;u(this,"_invoke",{value:function(t,n){function i(){return new e((function(e,o){r(t,n,e,o)}))}return o=o?o.then(i,i):i()}})}function _(e,r,n){var o=y;return function(i,u){if(o===d)throw new Error("Generator is already running");if(o===w){if("throw"===i)throw u;return{value:t,done:!0}}for(n.method=i,n.arg=u;;){var f=n.delegate;if(f){var s=S(f,n);if(s){if(s===v)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===y)throw o=w,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var c=p(e,r,n);if("normal"===c.type){if(o=n.done?w:g,c.arg===v)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=w,n.method="throw",n.arg=c.arg)}}}function S(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,S(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var i=p(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,v;var u=i.arg;return u?u.done?(r[e.resultName]=u.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,v):u:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function R(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function U(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(R,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[s];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,u=function r(){for(;++o<e.length;)if(i.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return u.next=u}}throw new TypeError((0,n.A)(e)+" is not iterable")}return b.prototype=E,u(x,"constructor",{value:E,configurable:!0}),u(E,"constructor",{value:b,configurable:!0}),b.displayName=l(E,a,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===b||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,E):(t.__proto__=E,l(t,a,"GeneratorFunction")),t.prototype=Object.create(x),t},e.awrap=function(t){return{__await:t}},I(L.prototype),l(L.prototype,c,(function(){return this})),e.AsyncIterator=L,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var u=new L(h(t,r,n,o),i);return e.isGeneratorFunction(r)?u:u.next().then((function(t){return t.done?t.value:u.next()}))},I(x),l(x,a,"Generator"),l(x,s,(function(){return this})),l(x,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=T,j.prototype={constructor:j,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(U),!e)for(var r in this)"t"===r.charAt(0)&&i.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function n(n,o){return f.type="throw",f.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var o=this.tryEntries.length-1;o>=0;--o){var u=this.tryEntries[o],f=u.completion;if("root"===u.tryLoc)return n("end");if(u.tryLoc<=this.prev){var s=i.call(u,"catchLoc"),c=i.call(u,"finallyLoc");if(s&&c){if(this.prev<u.catchLoc)return n(u.catchLoc,!0);if(this.prev<u.finallyLoc)return n(u.finallyLoc)}else if(s){if(this.prev<u.catchLoc)return n(u.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<u.finallyLoc)return n(u.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&i.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var u=o?o.completion:{};return u.type=t,u.arg=e,o?(this.method="next",this.next=o.finallyLoc,v):this.complete(u)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),U(r),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;U(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),v}},e}},5544:function(t,e,r){"use strict";r.d(e,{A:function(){return u}});var n=r(96369);var o=r(27800),i=r(76562);function u(t,e){return(0,n.A)(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,u,f=[],s=!0,c=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=i.call(r)).done)&&(f.push(n.value),f.length!==e);s=!0);}catch(t){c=!0,o=t}finally{try{if(!s&&null!=r.return&&(u=r.return(),Object(u)!==u))return}finally{if(c)throw o}}return f}}(t,e)||(0,o.A)(t,e)||(0,i.A)()}},87695:function(t,e,r){"use strict";r.d(e,{A:function(){return f}});var n=r(96369),o=r(73893),i=r(27800),u=r(76562);function f(t){return(0,n.A)(t)||(0,o.A)(t)||(0,i.A)(t)||(0,u.A)()}},60436:function(t,e,r){"use strict";r.d(e,{A:function(){return u}});var n=r(43145);var o=r(73893),i=r(27800);function u(t){return function(t){if(Array.isArray(t))return(0,n.A)(t)}(t)||(0,o.A)(t)||(0,i.A)(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},20816:function(t,e,r){"use strict";r.d(e,{A:function(){return o}});var n=r(82284);function o(t){var e=function(t,e){if("object"!==(0,n.A)(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var o=r.call(t,e||"default");if("object"!==(0,n.A)(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===(0,n.A)(e)?e:String(e)}},82284:function(t,e,r){"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}r.d(e,{A:function(){return n}})},27800:function(t,e,r){"use strict";r.d(e,{A:function(){return o}});var n=r(43145);function o(t,e){if(t){if("string"===typeof t)return(0,n.A)(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?(0,n.A)(t,e):void 0}}}}]);
@@ -0,0 +1,10 @@
1
+ /*!
2
+ * The buffer module from node.js, for the browser.
3
+ *
4
+ * @author Feross Aboukhadijeh <https://feross.org>
5
+ * @license MIT
6
+ */
7
+
8
+ /*! bignumber.js v4.1.0 https://github.com/MikeMcl/bignumber.js/LICENCE */
9
+
10
+ /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */