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([[6846],{19322:function(n,t,r){function e(n,t){return n<t?-1:n>t?1:n>=t?0:NaN}function i(n){var t;return 1===n.length&&(t=n,n=function(n,r){return e(t(n),r)}),{left:function(t,r,e,i){for(null==e&&(e=0),null==i&&(i=t.length);e<i;){var o=e+i>>>1;n(t[o],r)<0?e=o+1:i=o}return e},right:function(t,r,e,i){for(null==e&&(e=0),null==i&&(i=t.length);e<i;){var o=e+i>>>1;n(t[o],r)>0?i=o:e=o+1}return e}}}r.d(t,{V_:function(){return e},h1:function(){return f},yl:function(){return i},Xx:function(){return a},T9:function(){return p},i2:function(){return x},Am:function(){return m},jk:function(){return w},y1:function(){return M},cz:function(){return A},lq:function(){return y},sG:function(){return g},Zc:function(){return v}});var o=i(e),u=o.right,f=(o.left,u);function a(n,t){var r,e,i,o=n.length,u=-1;if(null==t){for(;++u<o;)if(null!=(r=n[u])&&r>=r)for(e=i=r;++u<o;)null!=(r=n[u])&&(e>r&&(e=r),i<r&&(i=r))}else for(;++u<o;)if(null!=(r=t(n[u],u,n))&&r>=r)for(e=i=r;++u<o;)null!=(r=t(n[u],u,n))&&(e>r&&(e=r),i<r&&(i=r));return[e,i]}var c=Array.prototype,l=(c.slice,c.map,Math.sqrt(50)),s=Math.sqrt(10),h=Math.sqrt(2);function v(n,t,r){var e,i,o,u,f=-1;if(r=+r,(n=+n)===(t=+t)&&r>0)return[n];if((e=t<n)&&(i=n,n=t,t=i),0===(u=y(n,t,r))||!isFinite(u))return[];if(u>0)for(n=Math.ceil(n/u),t=Math.floor(t/u),o=new Array(i=Math.ceil(t-n+1));++f<i;)o[f]=(n+f)*u;else for(n=Math.floor(n*u),t=Math.ceil(t*u),o=new Array(i=Math.ceil(n-t+1));++f<i;)o[f]=(n-f)/u;return e&&o.reverse(),o}function y(n,t,r){var e=(t-n)/Math.max(0,r),i=Math.floor(Math.log(e)/Math.LN10),o=e/Math.pow(10,i);return i>=0?(o>=l?10:o>=s?5:o>=h?2:1)*Math.pow(10,i):-Math.pow(10,-i)/(o>=l?10:o>=s?5:o>=h?2:1)}function g(n,t,r){var e=Math.abs(t-n)/Math.max(0,r),i=Math.pow(10,Math.floor(Math.log(e)/Math.LN10)),o=e/i;return o>=l?i*=10:o>=s?i*=5:o>=h&&(i*=2),t<n?-i:i}function p(n,t){var r,e,i=n.length,o=-1;if(null==t){for(;++o<i;)if(null!=(r=n[o])&&r>=r)for(e=r;++o<i;)null!=(r=n[o])&&r>e&&(e=r)}else for(;++o<i;)if(null!=(r=t(n[o],o,n))&&r>=r)for(e=r;++o<i;)null!=(r=t(n[o],o,n))&&r>e&&(e=r);return e}function d(n){return null===n?NaN:+n}function x(n,t){var r,e=n.length,i=e,o=-1,u=0;if(null==t)for(;++o<e;)isNaN(r=d(n[o]))?--i:u+=r;else for(;++o<e;)isNaN(r=d(t(n[o],o,n)))?--i:u+=r;if(i)return u/i}function m(n){for(var t,r,e,i=n.length,o=-1,u=0;++o<i;)u+=n[o].length;for(r=new Array(u);--i>=0;)for(t=(e=n[i]).length;--t>=0;)r[--u]=e[t];return r}function w(n,t){var r,e,i=n.length,o=-1;if(null==t){for(;++o<i;)if(null!=(r=n[o])&&r>=r)for(e=r;++o<i;)null!=(r=n[o])&&e>r&&(e=r)}else for(;++o<i;)if(null!=(r=t(n[o],o,n))&&r>=r)for(e=r;++o<i;)null!=(r=t(n[o],o,n))&&e>r&&(e=r);return e}function M(n,t,r){n=+n,t=+t,r=(i=arguments.length)<2?(t=n,n=0,1):i<3?1:+r;for(var e=-1,i=0|Math.max(0,Math.ceil((t-n)/r)),o=new Array(i);++e<i;)o[e]=n+e*r;return o}function A(n,t){var r,e=n.length,i=-1,o=0;if(null==t)for(;++i<e;)(r=+n[i])&&(o+=r);else for(;++i<e;)(r=+t(n[i],i,n))&&(o+=r);return o}},25503:function(n,t,r){r.d(t,{jO:function(){return p},HP:function(){return g},Tj:function(){return u},$I:function(){return f}});var e="$";function i(){}function o(n,t){var r=new i;if(n instanceof i)n.each((function(n,t){r.set(t,n)}));else if(Array.isArray(n)){var e,o=-1,u=n.length;if(null==t)for(;++o<u;)r.set(o,n[o]);else for(;++o<u;)r.set(t(e=n[o],o,n),e)}else if(n)for(var f in n)r.set(f,n[f]);return r}i.prototype=o.prototype={constructor:i,has:function(n){return e+n in this},get:function(n){return this[e+n]},set:function(n,t){return this[e+n]=t,this},remove:function(n){var t=e+n;return t in this&&delete this[t]},clear:function(){for(var n in this)n[0]===e&&delete this[n]},keys:function(){var n=[];for(var t in this)t[0]===e&&n.push(t.slice(1));return n},values:function(){var n=[];for(var t in this)t[0]===e&&n.push(this[t]);return n},entries:function(){var n=[];for(var t in this)t[0]===e&&n.push({key:t.slice(1),value:this[t]});return n},size:function(){var n=0;for(var t in this)t[0]===e&&++n;return n},empty:function(){for(var n in this)if(n[0]===e)return!1;return!0},each:function(n){for(var t in this)t[0]===e&&n(this[t],t.slice(1),this)}};var u=o;function f(){var n,t,r,e=[],i=[];function o(r,i,f,a){if(i>=e.length)return null!=n&&r.sort(n),null!=t?t(r):r;for(var c,l,s,h=-1,v=r.length,y=e[i++],g=u(),p=f();++h<v;)(s=g.get(c=y(l=r[h])+""))?s.push(l):g.set(c,[l]);return g.each((function(n,t){a(p,t,o(n,i,f,a))})),p}function f(n,r){if(++r>e.length)return n;var o,u=i[r-1];return null!=t&&r>=e.length?o=n.entries():(o=[],n.each((function(n,t){o.push({key:t,values:f(n,r)})}))),null!=u?o.sort((function(n,t){return u(n.key,t.key)})):o}return r={object:function(n){return o(n,0,a,c)},map:function(n){return o(n,0,l,s)},entries:function(n){return f(o(n,0,l,s),0)},key:function(n){return e.push(n),r},sortKeys:function(n){return i[e.length-1]=n,r},sortValues:function(t){return n=t,r},rollup:function(n){return t=n,r}}}function a(){return{}}function c(n,t,r){n[t]=r}function l(){return u()}function s(n,t,r){n.set(t,r)}function h(){}var v=u.prototype;function y(n,t){var r=new h;if(n instanceof h)n.each((function(n){r.add(n)}));else if(n){var e=-1,i=n.length;if(null==t)for(;++e<i;)r.add(n[e]);else for(;++e<i;)r.add(t(n[e],e,n))}return r}h.prototype=y.prototype={constructor:h,has:v.has,add:function(n){return this[e+(n+="")]=n,this},remove:v.remove,clear:v.clear,values:v.keys,size:v.size,empty:v.empty,each:v.each};function g(n){var t=[];for(var r in n)t.push(r);return t}function p(n){var t=[];for(var r in n)t.push({key:r,value:n[r]});return t}},67986:function(n,t){var r={value:function(){}};function e(){for(var n,t=0,r=arguments.length,e={};t<r;++t){if(!(n=arguments[t]+"")||n in e||/[\s.]/.test(n))throw new Error("illegal type: "+n);e[n]=[]}return new i(e)}function i(n){this._=n}function o(n,t){for(var r,e=0,i=n.length;e<i;++e)if((r=n[e]).name===t)return r.value}function u(n,t,e){for(var i=0,o=n.length;i<o;++i)if(n[i].name===t){n[i]=r,n=n.slice(0,i).concat(n.slice(i+1));break}return null!=e&&n.push({name:t,value:e}),n}i.prototype=e.prototype={constructor:i,on:function(n,t){var r,e,i=this._,f=(e=i,(n+"").trim().split(/^|\s+/).map((function(n){var t="",r=n.indexOf(".");if(r>=0&&(t=n.slice(r+1),n=n.slice(0,r)),n&&!e.hasOwnProperty(n))throw new Error("unknown type: "+n);return{type:n,name:t}}))),a=-1,c=f.length;if(!(arguments.length<2)){if(null!=t&&"function"!==typeof t)throw new Error("invalid callback: "+t);for(;++a<c;)if(r=(n=f[a]).type)i[r]=u(i[r],n.name,t);else if(null==t)for(r in i)i[r]=u(i[r],n.name,null);return this}for(;++a<c;)if((r=(n=f[a]).type)&&(r=o(i[r],n.name)))return r},copy:function(){var n={},t=this._;for(var r in t)n[r]=t[r].slice();return new i(n)},call:function(n,t){if((r=arguments.length-2)>0)for(var r,e,i=new Array(r),o=0;o<r;++o)i[o]=arguments[o+2];if(!this._.hasOwnProperty(n))throw new Error("unknown type: "+n);for(o=0,r=(e=this._[n]).length;o<r;++o)e[o].value.apply(t,i)},apply:function(n,t,r){if(!this._.hasOwnProperty(n))throw new Error("unknown type: "+n);for(var e=this._[n],i=0,o=e.length;i<o;++i)e[i].value.apply(t,r)}},t.A=e},27755:function(n,t,r){function e(n,t){var r;function e(){var e,i,o=r.length,u=0,f=0;for(e=0;e<o;++e)u+=(i=r[e]).x,f+=i.y;for(u=u/o-n,f=f/o-t,e=0;e<o;++e)(i=r[e]).x-=u,i.y-=f}return null==n&&(n=0),null==t&&(t=0),e.initialize=function(n){r=n},e.x=function(t){return arguments.length?(n=+t,e):n},e.y=function(n){return arguments.length?(t=+n,e):t},e}function i(n){return function(){return n}}function o(){return 1e-6*(Math.random()-.5)}r.r(t),r.d(t,{forceCenter:function(){return e},forceCollide:function(){return c},forceLink:function(){return v},forceManyBody:function(){return G},forceRadial:function(){return L},forceSimulation:function(){return F},forceX:function(){return I},forceY:function(){return X}});var u=r(25322);function f(n){return n.x+n.vx}function a(n){return n.y+n.vy}function c(n){var t,r,e=1,c=1;function l(){for(var n,i,l,h,v,y,g,p=t.length,d=0;d<c;++d)for(i=(0,u.A)(t,f,a).visitAfter(s),n=0;n<p;++n)l=t[n],y=r[l.index],g=y*y,h=l.x+l.vx,v=l.y+l.vy,i.visit(x);function x(n,t,r,i,u){var f=n.data,a=n.r,c=y+a;if(!f)return t>h+c||i<h-c||r>v+c||u<v-c;if(f.index>l.index){var s=h-f.x-f.vx,p=v-f.y-f.vy,d=s*s+p*p;d<c*c&&(0===s&&(d+=(s=o())*s),0===p&&(d+=(p=o())*p),d=(c-(d=Math.sqrt(d)))/d*e,l.vx+=(s*=d)*(c=(a*=a)/(g+a)),l.vy+=(p*=d)*c,f.vx-=s*(c=1-c),f.vy-=p*c)}}}function s(n){if(n.data)return n.r=r[n.data.index];for(var t=n.r=0;t<4;++t)n[t]&&n[t].r>n.r&&(n.r=n[t].r)}function h(){if(t){var e,i,o=t.length;for(r=new Array(o),e=0;e<o;++e)i=t[e],r[i.index]=+n(i,e,t)}}return"function"!==typeof n&&(n=i(null==n?1:+n)),l.initialize=function(n){t=n,h()},l.iterations=function(n){return arguments.length?(c=+n,l):c},l.strength=function(n){return arguments.length?(e=+n,l):e},l.radius=function(t){return arguments.length?(n="function"===typeof t?t:i(+t),h(),l):n},l}var l=r(25503);function s(n){return n.index}function h(n,t){var r=n.get(t);if(!r)throw new Error("missing: "+t);return r}function v(n){var t,r,e,u,f,a=s,c=function(n){return 1/Math.min(u[n.source.index],u[n.target.index])},v=i(30),y=1;function g(e){for(var i=0,u=n.length;i<y;++i)for(var a,c,l,s,h,v,g,p=0;p<u;++p)c=(a=n[p]).source,s=(l=a.target).x+l.vx-c.x-c.vx||o(),h=l.y+l.vy-c.y-c.vy||o(),s*=v=((v=Math.sqrt(s*s+h*h))-r[p])/v*e*t[p],h*=v,l.vx-=s*(g=f[p]),l.vy-=h*g,c.vx+=s*(g=1-g),c.vy+=h*g}function p(){if(e){var i,o,c=e.length,s=n.length,v=(0,l.Tj)(e,a);for(i=0,u=new Array(c);i<s;++i)(o=n[i]).index=i,"object"!==typeof o.source&&(o.source=h(v,o.source)),"object"!==typeof o.target&&(o.target=h(v,o.target)),u[o.source.index]=(u[o.source.index]||0)+1,u[o.target.index]=(u[o.target.index]||0)+1;for(i=0,f=new Array(s);i<s;++i)o=n[i],f[i]=u[o.source.index]/(u[o.source.index]+u[o.target.index]);t=new Array(s),d(),r=new Array(s),x()}}function d(){if(e)for(var r=0,i=n.length;r<i;++r)t[r]=+c(n[r],r,n)}function x(){if(e)for(var t=0,i=n.length;t<i;++t)r[t]=+v(n[t],t,n)}return null==n&&(n=[]),g.initialize=function(n){e=n,p()},g.links=function(t){return arguments.length?(n=t,p(),g):n},g.id=function(n){return arguments.length?(a=n,g):a},g.iterations=function(n){return arguments.length?(y=+n,g):y},g.strength=function(n){return arguments.length?(c="function"===typeof n?n:i(+n),d(),g):c},g.distance=function(n){return arguments.length?(v="function"===typeof n?n:i(+n),x(),g):v},g}var y,g,p=r(67986),d=0,x=0,m=0,w=1e3,M=0,A=0,b=0,k="object"===typeof performance&&performance.now?performance:Date,_="object"===typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(n){setTimeout(n,17)};function N(){return A||(_(z),A=k.now()+b)}function z(){A=0}function j(){this._call=this._time=this._next=null}function q(n,t,r){var e=new j;return e.restart(n,t,r),e}function E(){A=(M=k.now())+b,d=x=0;try{!function(){N(),++d;for(var n,t=y;t;)(n=A-t._time)>=0&&t._call.call(null,n),t=t._next;--d}()}finally{d=0,function(){var n,t,r=y,e=1/0;for(;r;)r._call?(e>r._time&&(e=r._time),n=r,r=r._next):(t=r._next,r._next=null,r=n?n._next=t:y=t);g=n,S(e)}(),A=0}}function P(){var n=k.now(),t=n-M;t>w&&(b-=t,M=n)}function S(n){d||(x&&(x=clearTimeout(x)),n-A>24?(n<1/0&&(x=setTimeout(E,n-k.now()-b)),m&&(m=clearInterval(m))):(m||(M=k.now(),m=setInterval(P,w)),d=1,_(E)))}function T(n){return n.x}function C(n){return n.y}j.prototype=q.prototype={constructor:j,restart:function(n,t,r){if("function"!==typeof n)throw new TypeError("callback is not a function");r=(null==r?N():+r)+(null==t?0:+t),this._next||g===this||(g?g._next=this:y=this,g=this),this._call=n,this._time=r,S()},stop:function(){this._call&&(this._call=null,this._time=1/0,S())}};var O=10,$=Math.PI*(3-Math.sqrt(5));function F(n){var t,r=1,e=.001,i=1-Math.pow(e,1/300),o=0,u=.6,f=(0,l.Tj)(),a=q(s),c=(0,p.A)("tick","end");function s(){h(),c.call("tick",t),r<e&&(a.stop(),c.call("end",t))}function h(e){var a,c,l=n.length;void 0===e&&(e=1);for(var s=0;s<e;++s)for(r+=(o-r)*i,f.each((function(n){n(r)})),a=0;a<l;++a)null==(c=n[a]).fx?c.x+=c.vx*=u:(c.x=c.fx,c.vx=0),null==c.fy?c.y+=c.vy*=u:(c.y=c.fy,c.vy=0);return t}function v(){for(var t,r=0,e=n.length;r<e;++r){if((t=n[r]).index=r,null!=t.fx&&(t.x=t.fx),null!=t.fy&&(t.y=t.fy),isNaN(t.x)||isNaN(t.y)){var i=O*Math.sqrt(r),o=r*$;t.x=i*Math.cos(o),t.y=i*Math.sin(o)}(isNaN(t.vx)||isNaN(t.vy))&&(t.vx=t.vy=0)}}function y(t){return t.initialize&&t.initialize(n),t}return null==n&&(n=[]),v(),t={tick:h,restart:function(){return a.restart(s),t},stop:function(){return a.stop(),t},nodes:function(r){return arguments.length?(n=r,v(),f.each(y),t):n},alpha:function(n){return arguments.length?(r=+n,t):r},alphaMin:function(n){return arguments.length?(e=+n,t):e},alphaDecay:function(n){return arguments.length?(i=+n,t):+i},alphaTarget:function(n){return arguments.length?(o=+n,t):o},velocityDecay:function(n){return arguments.length?(u=1-n,t):1-u},force:function(n,r){return arguments.length>1?(null==r?f.remove(n):f.set(n,y(r)),t):f.get(n)},find:function(t,r,e){var i,o,u,f,a,c=0,l=n.length;for(null==e?e=1/0:e*=e,c=0;c<l;++c)(u=(i=t-(f=n[c]).x)*i+(o=r-f.y)*o)<e&&(a=f,e=u);return a},on:function(n,r){return arguments.length>1?(c.on(n,r),t):c.on(n)}}}function G(){var n,t,r,e,f=i(-30),a=1,c=1/0,l=.81;function s(e){var i,o=n.length,f=(0,u.A)(n,T,C).visitAfter(v);for(r=e,i=0;i<o;++i)t=n[i],f.visit(y)}function h(){if(n){var t,r,i=n.length;for(e=new Array(i),t=0;t<i;++t)r=n[t],e[r.index]=+f(r,t,n)}}function v(n){var t,r,i,o,u,f=0,a=0;if(n.length){for(i=o=u=0;u<4;++u)(t=n[u])&&(r=Math.abs(t.value))&&(f+=t.value,a+=r,i+=r*t.x,o+=r*t.y);n.x=i/a,n.y=o/a}else{(t=n).x=t.data.x,t.y=t.data.y;do{f+=e[t.data.index]}while(t=t.next)}n.value=f}function y(n,i,u,f){if(!n.value)return!0;var s=n.x-t.x,h=n.y-t.y,v=f-i,y=s*s+h*h;if(v*v/l<y)return y<c&&(0===s&&(y+=(s=o())*s),0===h&&(y+=(h=o())*h),y<a&&(y=Math.sqrt(a*y)),t.vx+=s*n.value*r/y,t.vy+=h*n.value*r/y),!0;if(!(n.length||y>=c)){(n.data!==t||n.next)&&(0===s&&(y+=(s=o())*s),0===h&&(y+=(h=o())*h),y<a&&(y=Math.sqrt(a*y)));do{n.data!==t&&(v=e[n.data.index]*r/y,t.vx+=s*v,t.vy+=h*v)}while(n=n.next)}}return s.initialize=function(t){n=t,h()},s.strength=function(n){return arguments.length?(f="function"===typeof n?n:i(+n),h(),s):f},s.distanceMin=function(n){return arguments.length?(a=n*n,s):Math.sqrt(a)},s.distanceMax=function(n){return arguments.length?(c=n*n,s):Math.sqrt(c)},s.theta=function(n){return arguments.length?(l=n*n,s):Math.sqrt(l)},s}function L(n,t,r){var e,o,u,f=i(.1);function a(n){for(var i=0,f=e.length;i<f;++i){var a=e[i],c=a.x-t||1e-6,l=a.y-r||1e-6,s=Math.sqrt(c*c+l*l),h=(u[i]-s)*o[i]*n/s;a.vx+=c*h,a.vy+=l*h}}function c(){if(e){var t,r=e.length;for(o=new Array(r),u=new Array(r),t=0;t<r;++t)u[t]=+n(e[t],t,e),o[t]=isNaN(u[t])?0:+f(e[t],t,e)}}return"function"!==typeof n&&(n=i(+n)),null==t&&(t=0),null==r&&(r=0),a.initialize=function(n){e=n,c()},a.strength=function(n){return arguments.length?(f="function"===typeof n?n:i(+n),c(),a):f},a.radius=function(t){return arguments.length?(n="function"===typeof t?t:i(+t),c(),a):n},a.x=function(n){return arguments.length?(t=+n,a):t},a.y=function(n){return arguments.length?(r=+n,a):r},a}function I(n){var t,r,e,o=i(.1);function u(n){for(var i,o=0,u=t.length;o<u;++o)(i=t[o]).vx+=(e[o]-i.x)*r[o]*n}function f(){if(t){var i,u=t.length;for(r=new Array(u),e=new Array(u),i=0;i<u;++i)r[i]=isNaN(e[i]=+n(t[i],i,t))?0:+o(t[i],i,t)}}return"function"!==typeof n&&(n=i(null==n?0:+n)),u.initialize=function(n){t=n,f()},u.strength=function(n){return arguments.length?(o="function"===typeof n?n:i(+n),f(),u):o},u.x=function(t){return arguments.length?(n="function"===typeof t?t:i(+t),f(),u):n},u}function X(n){var t,r,e,o=i(.1);function u(n){for(var i,o=0,u=t.length;o<u;++o)(i=t[o]).vy+=(e[o]-i.y)*r[o]*n}function f(){if(t){var i,u=t.length;for(r=new Array(u),e=new Array(u),i=0;i<u;++i)r[i]=isNaN(e[i]=+n(t[i],i,t))?0:+o(t[i],i,t)}}return"function"!==typeof n&&(n=i(null==n?0:+n)),u.initialize=function(n){t=n,f()},u.strength=function(n){return arguments.length?(o="function"===typeof n?n:i(+n),f(),u):o},u.y=function(t){return arguments.length?(n="function"===typeof t?t:i(+t),f(),u):n},u}},12724:function(n,t,r){r.d(t,{GP:function(){return i},s:function(){return o}});var e,i,o,u,f=r(59781);u={decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"},e=(0,f.A)(u),i=e.format,o=e.formatPrefix},17364:function(n,t,r){r.d(t,{A:function(){return i}});var e=r(36581);function i(n){return(n=(0,e.f)(Math.abs(n)))?n[1]:NaN}},36581:function(n,t,r){function e(n){return Math.abs(n=Math.round(n))>=1e21?n.toLocaleString("en").replace(/,/g,""):n.toString(10)}function i(n,t){if((r=(n=t?n.toExponential(t-1):n.toExponential()).indexOf("e"))<0)return null;var r,e=n.slice(0,r);return[e.length>1?e[0]+e.slice(2):e,+n.slice(r+1)]}r.d(t,{A:function(){return e},f:function(){return i}})},29634:function(n,t,r){r.d(t,{A:function(){return i}});var e=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function i(n){if(!(t=e.exec(n)))throw new Error("invalid format: "+n);var t;return new o({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}function o(n){this.fill=void 0===n.fill?" ":n.fill+"",this.align=void 0===n.align?">":n.align+"",this.sign=void 0===n.sign?"-":n.sign+"",this.symbol=void 0===n.symbol?"":n.symbol+"",this.zero=!!n.zero,this.width=void 0===n.width?void 0:+n.width,this.comma=!!n.comma,this.precision=void 0===n.precision?void 0:+n.precision,this.trim=!!n.trim,this.type=void 0===n.type?"":n.type+""}i.prototype=o.prototype,o.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type}},63539:function(n,t,r){r.d(t,{GP:function(){return e.GP},OE:function(){return i.A}});var e=r(12724),i=r(59781)},59781:function(n,t,r){r.d(t,{A:function(){return h}});var e=r(17364);var i=r(29634);var o,u=r(36581);function f(n,t){var r=(0,u.f)(n,t);if(!r)return n+"";var e=r[0],i=r[1];return i<0?"0."+new Array(-i).join("0")+e:e.length>i+1?e.slice(0,i+1)+"."+e.slice(i+1):e+new Array(i-e.length+2).join("0")}var a={"%":function(n,t){return(100*n).toFixed(t)},b:function(n){return Math.round(n).toString(2)},c:function(n){return n+""},d:u.A,e:function(n,t){return n.toExponential(t)},f:function(n,t){return n.toFixed(t)},g:function(n,t){return n.toPrecision(t)},o:function(n){return Math.round(n).toString(8)},p:function(n,t){return f(100*n,t)},r:f,s:function(n,t){var r=(0,u.f)(n,t);if(!r)return n+"";var e=r[0],i=r[1],f=i-(o=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,a=e.length;return f===a?e:f>a?e+new Array(f-a+1).join("0"):f>0?e.slice(0,f)+"."+e.slice(f):"0."+new Array(1-f).join("0")+(0,u.f)(n,Math.max(0,t+f-1))[0]},X:function(n){return Math.round(n).toString(16).toUpperCase()},x:function(n){return Math.round(n).toString(16)}};function c(n){return n}var l=Array.prototype.map,s=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];function h(n){var t,r,u=void 0===n.grouping||void 0===n.thousands?c:(t=l.call(n.grouping,Number),r=n.thousands+"",function(n,e){for(var i=n.length,o=[],u=0,f=t[0],a=0;i>0&&f>0&&(a+f+1>e&&(f=Math.max(1,e-a)),o.push(n.substring(i-=f,i+f)),!((a+=f+1)>e));)f=t[u=(u+1)%t.length];return o.reverse().join(r)}),f=void 0===n.currency?"":n.currency[0]+"",h=void 0===n.currency?"":n.currency[1]+"",v=void 0===n.decimal?".":n.decimal+"",y=void 0===n.numerals?c:function(n){return function(t){return t.replace(/[0-9]/g,(function(t){return n[+t]}))}}(l.call(n.numerals,String)),g=void 0===n.percent?"%":n.percent+"",p=void 0===n.minus?"-":n.minus+"",d=void 0===n.nan?"NaN":n.nan+"";function x(n){var t=(n=(0,i.A)(n)).fill,r=n.align,e=n.sign,c=n.symbol,l=n.zero,x=n.width,m=n.comma,w=n.precision,M=n.trim,A=n.type;"n"===A?(m=!0,A="g"):a[A]||(void 0===w&&(w=12),M=!0,A="g"),(l||"0"===t&&"="===r)&&(l=!0,t="0",r="=");var b="$"===c?f:"#"===c&&/[boxX]/.test(A)?"0"+A.toLowerCase():"",k="$"===c?h:/[%p]/.test(A)?g:"",_=a[A],N=/[defgprs%]/.test(A);function z(n){var i,f,a,c=b,h=k;if("c"===A)h=_(n)+h,n="";else{var g=(n=+n)<0||1/n<0;if(n=isNaN(n)?d:_(Math.abs(n),w),M&&(n=function(n){n:for(var t,r=n.length,e=1,i=-1;e<r;++e)switch(n[e]){case".":i=t=e;break;case"0":0===i&&(i=e),t=e;break;default:if(!+n[e])break n;i>0&&(i=0)}return i>0?n.slice(0,i)+n.slice(t+1):n}(n)),g&&0===+n&&"+"!==e&&(g=!1),c=(g?"("===e?e:p:"-"===e||"("===e?"":e)+c,h=("s"===A?s[8+o/3]:"")+h+(g&&"("===e?")":""),N)for(i=-1,f=n.length;++i<f;)if(48>(a=n.charCodeAt(i))||a>57){h=(46===a?v+n.slice(i+1):n.slice(i))+h,n=n.slice(0,i);break}}m&&!l&&(n=u(n,1/0));var z=c.length+n.length+h.length,j=z<x?new Array(x-z+1).join(t):"";switch(m&&l&&(n=u(j+n,j.length?x-h.length:1/0),j=""),r){case"<":n=c+n+h+j;break;case"=":n=c+j+n+h;break;case"^":n=j.slice(0,z=j.length>>1)+c+n+h+j.slice(z);break;default:n=j+c+n+h}return y(n)}return w=void 0===w?6:/[gprs]/.test(A)?Math.max(1,Math.min(21,w)):Math.max(0,Math.min(20,w)),z.toString=function(){return n+""},z}return{format:x,formatPrefix:function(n,t){var r=x(((n=(0,i.A)(n)).type="f",n)),o=3*Math.max(-8,Math.min(8,Math.floor((0,e.A)(t)/3))),u=Math.pow(10,-o),f=s[8+o/3];return function(n){return r(u*n)+f}}}}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_mlflow_mlflow=self.webpackChunk_mlflow_mlflow||[]).push([[6861],{46699:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=r(95403),i=6378137;function o(e){var t=0;if(e&&e.length>0){t+=Math.abs(a(e[0]));for(var r=1;r<e.length;r++)t-=Math.abs(a(e[r]))}return t}function a(e){var t,r,n,o,a,s,l=0,c=e.length;if(c>2){for(s=0;s<c;s++)s===c-2?(n=c-2,o=c-1,a=0):s===c-1?(n=c-1,o=0,a=1):(n=s,o=s+1,a=s+2),t=e[n],r=e[o],l+=(u(e[a][0])-u(t[0]))*Math.sin(u(r[1]));l=l*i*i/2}return l}function u(e){return e*Math.PI/180}t.default=function(e){return n.geomReduce(e,(function(e,t){return e+function(e){var t,r=0;switch(e.type){case"Polygon":return o(e.coordinates);case"MultiPolygon":for(t=0;t<e.coordinates.length;t++)r+=o(e.coordinates[t]);return r;case"Point":case"MultiPoint":case"LineString":case"MultiLineString":return 0}return 0}(t)}),0)}},15921:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=r(95403);function i(e){var t=[1/0,1/0,-1/0,-1/0];return n.coordEach(e,(function(e){t[0]>e[0]&&(t[0]=e[0]),t[1]>e[1]&&(t[1]=e[1]),t[2]<e[0]&&(t[2]=e[0]),t[3]<e[1]&&(t[3]=e[1])})),t}i.default=i,t.default=i},87598:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=r(62303),i=r(24565);t.default=function(e,t){void 0===t&&(t={});var r=0,o=0,a=0;return n.coordEach(e,(function(e){r+=e[0],o+=e[1],a++}),!0),i.point([r/a,o/a],t.properties)}},24565:function(e,t){function r(e,t,r){void 0===r&&(r={});var n={type:"Feature"};return(0===r.id||r.id)&&(n.id=r.id),r.bbox&&(n.bbox=r.bbox),n.properties=t||{},n.geometry=e,n}function n(e,t,n){if(void 0===n&&(n={}),!e)throw new Error("coordinates is required");if(!Array.isArray(e))throw new Error("coordinates must be an Array");if(e.length<2)throw new Error("coordinates must be at least 2 numbers long");if(!g(e[0])||!g(e[1]))throw new Error("coordinates must contain numbers");return r({type:"Point",coordinates:e},t,n)}function i(e,t,n){void 0===n&&(n={});for(var i=0,o=e;i<o.length;i++){var a=o[i];if(a.length<4)throw new Error("Each LinearRing of a Polygon must have 4 or more Positions.");for(var u=0;u<a[a.length-1].length;u++)if(a[a.length-1][u]!==a[0][u])throw new Error("First and last Position are not equivalent.")}return r({type:"Polygon",coordinates:e},t,n)}function o(e,t,n){if(void 0===n&&(n={}),e.length<2)throw new Error("coordinates must be an array of two or more positions");return r({type:"LineString",coordinates:e},t,n)}function a(e,t){void 0===t&&(t={});var r={type:"FeatureCollection"};return t.id&&(r.id=t.id),t.bbox&&(r.bbox=t.bbox),r.features=e,r}function u(e,t,n){return void 0===n&&(n={}),r({type:"MultiLineString",coordinates:e},t,n)}function s(e,t,n){return void 0===n&&(n={}),r({type:"MultiPoint",coordinates:e},t,n)}function l(e,t,n){return void 0===n&&(n={}),r({type:"MultiPolygon",coordinates:e},t,n)}function c(e,r){void 0===r&&(r="kilometers");var n=t.factors[r];if(!n)throw new Error(r+" units is invalid");return e*n}function f(e,r){void 0===r&&(r="kilometers");var n=t.factors[r];if(!n)throw new Error(r+" units is invalid");return e/n}function h(e){return 180*(e%(2*Math.PI))/Math.PI}function g(e){return!isNaN(e)&&null!==e&&!Array.isArray(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.earthRadius=6371008.8,t.factors={centimeters:100*t.earthRadius,centimetres:100*t.earthRadius,degrees:t.earthRadius/111325,feet:3.28084*t.earthRadius,inches:39.37*t.earthRadius,kilometers:t.earthRadius/1e3,kilometres:t.earthRadius/1e3,meters:t.earthRadius,metres:t.earthRadius,miles:t.earthRadius/1609.344,millimeters:1e3*t.earthRadius,millimetres:1e3*t.earthRadius,nauticalmiles:t.earthRadius/1852,radians:1,yards:t.earthRadius/1.0936},t.unitsFactors={centimeters:100,centimetres:100,degrees:1/111325,feet:3.28084,inches:39.37,kilometers:.001,kilometres:.001,meters:1,metres:1,miles:1/1609.344,millimeters:1e3,millimetres:1e3,nauticalmiles:1/1852,radians:1/t.earthRadius,yards:1/1.0936},t.areaFactors={acres:247105e-9,centimeters:1e4,centimetres:1e4,feet:10.763910417,hectares:1e-4,inches:1550.003100006,kilometers:1e-6,kilometres:1e-6,meters:1,metres:1,miles:386e-9,millimeters:1e6,millimetres:1e6,yards:1.195990046},t.feature=r,t.geometry=function(e,t,r){switch(void 0===r&&(r={}),e){case"Point":return n(t).geometry;case"LineString":return o(t).geometry;case"Polygon":return i(t).geometry;case"MultiPoint":return s(t).geometry;case"MultiLineString":return u(t).geometry;case"MultiPolygon":return l(t).geometry;default:throw new Error(e+" is invalid")}},t.point=n,t.points=function(e,t,r){return void 0===r&&(r={}),a(e.map((function(e){return n(e,t)})),r)},t.polygon=i,t.polygons=function(e,t,r){return void 0===r&&(r={}),a(e.map((function(e){return i(e,t)})),r)},t.lineString=o,t.lineStrings=function(e,t,r){return void 0===r&&(r={}),a(e.map((function(e){return o(e,t)})),r)},t.featureCollection=a,t.multiLineString=u,t.multiPoint=s,t.multiPolygon=l,t.geometryCollection=function(e,t,n){return void 0===n&&(n={}),r({type:"GeometryCollection",geometries:e},t,n)},t.round=function(e,t){if(void 0===t&&(t=0),t&&!(t>=0))throw new Error("precision must be a positive number");var r=Math.pow(10,t||0);return Math.round(e*r)/r},t.radiansToLength=c,t.lengthToRadians=f,t.lengthToDegrees=function(e,t){return h(f(e,t))},t.bearingToAzimuth=function(e){var t=e%360;return t<0&&(t+=360),t},t.radiansToDegrees=h,t.degreesToRadians=function(e){return e%360*Math.PI/180},t.convertLength=function(e,t,r){if(void 0===t&&(t="kilometers"),void 0===r&&(r="kilometers"),!(e>=0))throw new Error("length must be a positive number");return c(f(e,t),r)},t.convertArea=function(e,r,n){if(void 0===r&&(r="meters"),void 0===n&&(n="kilometers"),!(e>=0))throw new Error("area must be a positive number");var i=t.areaFactors[r];if(!i)throw new Error("invalid original units");var o=t.areaFactors[n];if(!o)throw new Error("invalid final units");return e/i*o},t.isNumber=g,t.isObject=function(e){return!!e&&e.constructor===Object},t.validateBBox=function(e){if(!e)throw new Error("bbox is required");if(!Array.isArray(e))throw new Error("bbox must be an Array");if(4!==e.length&&6!==e.length)throw new Error("bbox must be an Array of 4 or 6 numbers");e.forEach((function(e){if(!g(e))throw new Error("bbox must only contain numbers")}))},t.validateId=function(e){if(!e)throw new Error("id is required");if(-1===["string","number"].indexOf(typeof e))throw new Error("id must be a number or a string")}},62303:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=r(24565);function i(e,t,r){if(null!==e)for(var n,o,a,u,s,l,c,f,h=0,g=0,d=e.type,m="FeatureCollection"===d,p="Feature"===d,v=m?e.features.length:1,y=0;y<v;y++){s=(f=!!(c=m?e.features[y].geometry:p?e.geometry:e)&&"GeometryCollection"===c.type)?c.geometries.length:1;for(var w=0;w<s;w++){var b=0,M=0;if(null!==(u=f?c.geometries[w]:c)){l=u.coordinates;var P=u.type;switch(h=!r||"Polygon"!==P&&"MultiPolygon"!==P?0:1,P){case null:break;case"Point":if(!1===t(l,g,y,b,M))return!1;g++,b++;break;case"LineString":case"MultiPoint":for(n=0;n<l.length;n++){if(!1===t(l[n],g,y,b,M))return!1;g++,"MultiPoint"===P&&b++}"LineString"===P&&b++;break;case"Polygon":case"MultiLineString":for(n=0;n<l.length;n++){for(o=0;o<l[n].length-h;o++){if(!1===t(l[n][o],g,y,b,M))return!1;g++}"MultiLineString"===P&&b++,"Polygon"===P&&M++}"Polygon"===P&&b++;break;case"MultiPolygon":for(n=0;n<l.length;n++){for(M=0,o=0;o<l[n].length;o++){for(a=0;a<l[n][o].length-h;a++){if(!1===t(l[n][o][a],g,y,b,M))return!1;g++}M++}b++}break;case"GeometryCollection":for(n=0;n<u.geometries.length;n++)if(!1===i(u.geometries[n],t,r))return!1;break;default:throw new Error("Unknown Geometry Type")}}}}}function o(e,t){var r;switch(e.type){case"FeatureCollection":for(r=0;r<e.features.length&&!1!==t(e.features[r].properties,r);r++);break;case"Feature":t(e.properties,0)}}function a(e,t){if("Feature"===e.type)t(e,0);else if("FeatureCollection"===e.type)for(var r=0;r<e.features.length&&!1!==t(e.features[r],r);r++);}function u(e,t){var r,n,i,o,a,u,s,l,c,f,h=0,g="FeatureCollection"===e.type,d="Feature"===e.type,m=g?e.features.length:1;for(r=0;r<m;r++){for(u=g?e.features[r].geometry:d?e.geometry:e,l=g?e.features[r].properties:d?e.properties:{},c=g?e.features[r].bbox:d?e.bbox:void 0,f=g?e.features[r].id:d?e.id:void 0,a=(s=!!u&&"GeometryCollection"===u.type)?u.geometries.length:1,i=0;i<a;i++)if(null!==(o=s?u.geometries[i]:u))switch(o.type){case"Point":case"LineString":case"MultiPoint":case"Polygon":case"MultiLineString":case"MultiPolygon":if(!1===t(o,h,l,c,f))return!1;break;case"GeometryCollection":for(n=0;n<o.geometries.length;n++)if(!1===t(o.geometries[n],h,l,c,f))return!1;break;default:throw new Error("Unknown Geometry Type")}else if(!1===t(null,h,l,c,f))return!1;h++}}function s(e,t){u(e,(function(e,r,i,o,a){var u,s=null===e?null:e.type;switch(s){case null:case"Point":case"LineString":case"Polygon":return!1!==t(n.feature(e,i,{bbox:o,id:a}),r,0)&&void 0}switch(s){case"MultiPoint":u="Point";break;case"MultiLineString":u="LineString";break;case"MultiPolygon":u="Polygon"}for(var l=0;l<e.coordinates.length;l++){var c={type:u,coordinates:e.coordinates[l]};if(!1===t(n.feature(c,i),r,l))return!1}}))}function l(e,t){s(e,(function(e,r,o){var a=0;if(e.geometry){var u=e.geometry.type;if("Point"!==u&&"MultiPoint"!==u){var s,l=0,c=0,f=0;return!1!==i(e,(function(i,u,h,g,d){if(void 0===s||r>l||g>c||d>f)return s=i,l=r,c=g,f=d,void(a=0);var m=n.lineString([s,i],e.properties);if(!1===t(m,r,o,d,a))return!1;a++,s=i}))&&void 0}}}))}function c(e,t){if(!e)throw new Error("geojson is required");s(e,(function(e,r,i){if(null!==e.geometry){var o=e.geometry.type,a=e.geometry.coordinates;switch(o){case"LineString":if(!1===t(e,r,i,0,0))return!1;break;case"Polygon":for(var u=0;u<a.length;u++)if(!1===t(n.lineString(a[u],e.properties),r,i,u))return!1}}}))}t.coordEach=i,t.coordReduce=function(e,t,r,n){var o=r;return i(e,(function(e,n,i,a,u){o=0===n&&void 0===r?e:t(o,e,n,i,a,u)}),n),o},t.propEach=o,t.propReduce=function(e,t,r){var n=r;return o(e,(function(e,i){n=0===i&&void 0===r?e:t(n,e,i)})),n},t.featureEach=a,t.featureReduce=function(e,t,r){var n=r;return a(e,(function(e,i){n=0===i&&void 0===r?e:t(n,e,i)})),n},t.coordAll=function(e){var t=[];return i(e,(function(e){t.push(e)})),t},t.geomEach=u,t.geomReduce=function(e,t,r){var n=r;return u(e,(function(e,i,o,a,u){n=0===i&&void 0===r?e:t(n,e,i,o,a,u)})),n},t.flattenEach=s,t.flattenReduce=function(e,t,r){var n=r;return s(e,(function(e,i,o){n=0===i&&0===o&&void 0===r?e:t(n,e,i,o)})),n},t.segmentEach=l,t.segmentReduce=function(e,t,r){var n=r,i=!1;return l(e,(function(e,o,a,u,s){n=!1===i&&void 0===r?e:t(n,e,o,a,u,s),i=!0})),n},t.lineEach=c,t.lineReduce=function(e,t,r){var n=r;return c(e,(function(e,i,o,a){n=0===i&&void 0===r?e:t(n,e,i,o,a)})),n},t.findSegment=function(e,t){if(t=t||{},!n.isObject(t))throw new Error("options is invalid");var r,i=t.featureIndex||0,o=t.multiFeatureIndex||0,a=t.geometryIndex||0,u=t.segmentIndex||0,s=t.properties;switch(e.type){case"FeatureCollection":i<0&&(i=e.features.length+i),s=s||e.features[i].properties,r=e.features[i].geometry;break;case"Feature":s=s||e.properties,r=e.geometry;break;case"Point":case"MultiPoint":return null;case"LineString":case"Polygon":case"MultiLineString":case"MultiPolygon":r=e;break;default:throw new Error("geojson is invalid")}if(null===r)return null;var l=r.coordinates;switch(r.type){case"Point":case"MultiPoint":return null;case"LineString":return u<0&&(u=l.length+u-1),n.lineString([l[u],l[u+1]],s,t);case"Polygon":return a<0&&(a=l.length+a),u<0&&(u=l[a].length+u-1),n.lineString([l[a][u],l[a][u+1]],s,t);case"MultiLineString":return o<0&&(o=l.length+o),u<0&&(u=l[o].length+u-1),n.lineString([l[o][u],l[o][u+1]],s,t);case"MultiPolygon":return o<0&&(o=l.length+o),a<0&&(a=l[o].length+a),u<0&&(u=l[o][a].length-u-1),n.lineString([l[o][a][u],l[o][a][u+1]],s,t)}throw new Error("geojson is invalid")},t.findPoint=function(e,t){if(t=t||{},!n.isObject(t))throw new Error("options is invalid");var r,i=t.featureIndex||0,o=t.multiFeatureIndex||0,a=t.geometryIndex||0,u=t.coordIndex||0,s=t.properties;switch(e.type){case"FeatureCollection":i<0&&(i=e.features.length+i),s=s||e.features[i].properties,r=e.features[i].geometry;break;case"Feature":s=s||e.properties,r=e.geometry;break;case"Point":case"MultiPoint":return null;case"LineString":case"Polygon":case"MultiLineString":case"MultiPolygon":r=e;break;default:throw new Error("geojson is invalid")}if(null===r)return null;var l=r.coordinates;switch(r.type){case"Point":return n.point(l,s,t);case"MultiPoint":return o<0&&(o=l.length+o),n.point(l[o],s,t);case"LineString":return u<0&&(u=l.length+u),n.point(l[u],s,t);case"Polygon":return a<0&&(a=l.length+a),u<0&&(u=l[a].length+u),n.point(l[a][u],s,t);case"MultiLineString":return o<0&&(o=l.length+o),u<0&&(u=l[o].length+u),n.point(l[o][u],s,t);case"MultiPolygon":return o<0&&(o=l.length+o),a<0&&(a=l[o].length+a),u<0&&(u=l[o][a].length-u),n.point(l[o][a][u],s,t)}throw new Error("geojson is invalid")}},11993:function(e,t){function r(e,t,r){void 0===r&&(r={});var n={type:"Feature"};return(0===r.id||r.id)&&(n.id=r.id),r.bbox&&(n.bbox=r.bbox),n.properties=t||{},n.geometry=e,n}function n(e,t,n){if(void 0===n&&(n={}),!e)throw new Error("coordinates is required");if(!Array.isArray(e))throw new Error("coordinates must be an Array");if(e.length<2)throw new Error("coordinates must be at least 2 numbers long");if(!g(e[0])||!g(e[1]))throw new Error("coordinates must contain numbers");return r({type:"Point",coordinates:e},t,n)}function i(e,t,n){void 0===n&&(n={});for(var i=0,o=e;i<o.length;i++){var a=o[i];if(a.length<4)throw new Error("Each LinearRing of a Polygon must have 4 or more Positions.");for(var u=0;u<a[a.length-1].length;u++)if(a[a.length-1][u]!==a[0][u])throw new Error("First and last Position are not equivalent.")}return r({type:"Polygon",coordinates:e},t,n)}function o(e,t,n){if(void 0===n&&(n={}),e.length<2)throw new Error("coordinates must be an array of two or more positions");return r({type:"LineString",coordinates:e},t,n)}function a(e,t){void 0===t&&(t={});var r={type:"FeatureCollection"};return t.id&&(r.id=t.id),t.bbox&&(r.bbox=t.bbox),r.features=e,r}function u(e,t,n){return void 0===n&&(n={}),r({type:"MultiLineString",coordinates:e},t,n)}function s(e,t,n){return void 0===n&&(n={}),r({type:"MultiPoint",coordinates:e},t,n)}function l(e,t,n){return void 0===n&&(n={}),r({type:"MultiPolygon",coordinates:e},t,n)}function c(e,r){void 0===r&&(r="kilometers");var n=t.factors[r];if(!n)throw new Error(r+" units is invalid");return e*n}function f(e,r){void 0===r&&(r="kilometers");var n=t.factors[r];if(!n)throw new Error(r+" units is invalid");return e/n}function h(e){return 180*(e%(2*Math.PI))/Math.PI}function g(e){return!isNaN(e)&&null!==e&&!Array.isArray(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.earthRadius=6371008.8,t.factors={centimeters:100*t.earthRadius,centimetres:100*t.earthRadius,degrees:t.earthRadius/111325,feet:3.28084*t.earthRadius,inches:39.37*t.earthRadius,kilometers:t.earthRadius/1e3,kilometres:t.earthRadius/1e3,meters:t.earthRadius,metres:t.earthRadius,miles:t.earthRadius/1609.344,millimeters:1e3*t.earthRadius,millimetres:1e3*t.earthRadius,nauticalmiles:t.earthRadius/1852,radians:1,yards:1.0936*t.earthRadius},t.unitsFactors={centimeters:100,centimetres:100,degrees:1/111325,feet:3.28084,inches:39.37,kilometers:.001,kilometres:.001,meters:1,metres:1,miles:1/1609.344,millimeters:1e3,millimetres:1e3,nauticalmiles:1/1852,radians:1/t.earthRadius,yards:1.0936133},t.areaFactors={acres:247105e-9,centimeters:1e4,centimetres:1e4,feet:10.763910417,hectares:1e-4,inches:1550.003100006,kilometers:1e-6,kilometres:1e-6,meters:1,metres:1,miles:386e-9,millimeters:1e6,millimetres:1e6,yards:1.195990046},t.feature=r,t.geometry=function(e,t,r){switch(void 0===r&&(r={}),e){case"Point":return n(t).geometry;case"LineString":return o(t).geometry;case"Polygon":return i(t).geometry;case"MultiPoint":return s(t).geometry;case"MultiLineString":return u(t).geometry;case"MultiPolygon":return l(t).geometry;default:throw new Error(e+" is invalid")}},t.point=n,t.points=function(e,t,r){return void 0===r&&(r={}),a(e.map((function(e){return n(e,t)})),r)},t.polygon=i,t.polygons=function(e,t,r){return void 0===r&&(r={}),a(e.map((function(e){return i(e,t)})),r)},t.lineString=o,t.lineStrings=function(e,t,r){return void 0===r&&(r={}),a(e.map((function(e){return o(e,t)})),r)},t.featureCollection=a,t.multiLineString=u,t.multiPoint=s,t.multiPolygon=l,t.geometryCollection=function(e,t,n){return void 0===n&&(n={}),r({type:"GeometryCollection",geometries:e},t,n)},t.round=function(e,t){if(void 0===t&&(t=0),t&&!(t>=0))throw new Error("precision must be a positive number");var r=Math.pow(10,t||0);return Math.round(e*r)/r},t.radiansToLength=c,t.lengthToRadians=f,t.lengthToDegrees=function(e,t){return h(f(e,t))},t.bearingToAzimuth=function(e){var t=e%360;return t<0&&(t+=360),t},t.radiansToDegrees=h,t.degreesToRadians=function(e){return e%360*Math.PI/180},t.convertLength=function(e,t,r){if(void 0===t&&(t="kilometers"),void 0===r&&(r="kilometers"),!(e>=0))throw new Error("length must be a positive number");return c(f(e,t),r)},t.convertArea=function(e,r,n){if(void 0===r&&(r="meters"),void 0===n&&(n="kilometers"),!(e>=0))throw new Error("area must be a positive number");var i=t.areaFactors[r];if(!i)throw new Error("invalid original units");var o=t.areaFactors[n];if(!o)throw new Error("invalid final units");return e/i*o},t.isNumber=g,t.isObject=function(e){return!!e&&e.constructor===Object},t.validateBBox=function(e){if(!e)throw new Error("bbox is required");if(!Array.isArray(e))throw new Error("bbox must be an Array");if(4!==e.length&&6!==e.length)throw new Error("bbox must be an Array of 4 or 6 numbers");e.forEach((function(e){if(!g(e))throw new Error("bbox must only contain numbers")}))},t.validateId=function(e){if(!e)throw new Error("id is required");if(-1===["string","number"].indexOf(typeof e))throw new Error("id must be a number or a string")}},95403:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=r(11993);function i(e,t,r){if(null!==e)for(var n,o,a,u,s,l,c,f,h=0,g=0,d=e.type,m="FeatureCollection"===d,p="Feature"===d,v=m?e.features.length:1,y=0;y<v;y++){s=(f=!!(c=m?e.features[y].geometry:p?e.geometry:e)&&"GeometryCollection"===c.type)?c.geometries.length:1;for(var w=0;w<s;w++){var b=0,M=0;if(null!==(u=f?c.geometries[w]:c)){l=u.coordinates;var P=u.type;switch(h=!r||"Polygon"!==P&&"MultiPolygon"!==P?0:1,P){case null:break;case"Point":if(!1===t(l,g,y,b,M))return!1;g++,b++;break;case"LineString":case"MultiPoint":for(n=0;n<l.length;n++){if(!1===t(l[n],g,y,b,M))return!1;g++,"MultiPoint"===P&&b++}"LineString"===P&&b++;break;case"Polygon":case"MultiLineString":for(n=0;n<l.length;n++){for(o=0;o<l[n].length-h;o++){if(!1===t(l[n][o],g,y,b,M))return!1;g++}"MultiLineString"===P&&b++,"Polygon"===P&&M++}"Polygon"===P&&b++;break;case"MultiPolygon":for(n=0;n<l.length;n++){for(M=0,o=0;o<l[n].length;o++){for(a=0;a<l[n][o].length-h;a++){if(!1===t(l[n][o][a],g,y,b,M))return!1;g++}M++}b++}break;case"GeometryCollection":for(n=0;n<u.geometries.length;n++)if(!1===i(u.geometries[n],t,r))return!1;break;default:throw new Error("Unknown Geometry Type")}}}}}function o(e,t){var r;switch(e.type){case"FeatureCollection":for(r=0;r<e.features.length&&!1!==t(e.features[r].properties,r);r++);break;case"Feature":t(e.properties,0)}}function a(e,t){if("Feature"===e.type)t(e,0);else if("FeatureCollection"===e.type)for(var r=0;r<e.features.length&&!1!==t(e.features[r],r);r++);}function u(e,t){var r,n,i,o,a,u,s,l,c,f,h=0,g="FeatureCollection"===e.type,d="Feature"===e.type,m=g?e.features.length:1;for(r=0;r<m;r++){for(u=g?e.features[r].geometry:d?e.geometry:e,l=g?e.features[r].properties:d?e.properties:{},c=g?e.features[r].bbox:d?e.bbox:void 0,f=g?e.features[r].id:d?e.id:void 0,a=(s=!!u&&"GeometryCollection"===u.type)?u.geometries.length:1,i=0;i<a;i++)if(null!==(o=s?u.geometries[i]:u))switch(o.type){case"Point":case"LineString":case"MultiPoint":case"Polygon":case"MultiLineString":case"MultiPolygon":if(!1===t(o,h,l,c,f))return!1;break;case"GeometryCollection":for(n=0;n<o.geometries.length;n++)if(!1===t(o.geometries[n],h,l,c,f))return!1;break;default:throw new Error("Unknown Geometry Type")}else if(!1===t(null,h,l,c,f))return!1;h++}}function s(e,t){u(e,(function(e,r,i,o,a){var u,s=null===e?null:e.type;switch(s){case null:case"Point":case"LineString":case"Polygon":return!1!==t(n.feature(e,i,{bbox:o,id:a}),r,0)&&void 0}switch(s){case"MultiPoint":u="Point";break;case"MultiLineString":u="LineString";break;case"MultiPolygon":u="Polygon"}for(var l=0;l<e.coordinates.length;l++){var c={type:u,coordinates:e.coordinates[l]};if(!1===t(n.feature(c,i),r,l))return!1}}))}function l(e,t){s(e,(function(e,r,o){var a=0;if(e.geometry){var u=e.geometry.type;if("Point"!==u&&"MultiPoint"!==u){var s,l=0,c=0,f=0;return!1!==i(e,(function(i,u,h,g,d){if(void 0===s||r>l||g>c||d>f)return s=i,l=r,c=g,f=d,void(a=0);var m=n.lineString([s,i],e.properties);if(!1===t(m,r,o,d,a))return!1;a++,s=i}))&&void 0}}}))}function c(e,t){if(!e)throw new Error("geojson is required");s(e,(function(e,r,i){if(null!==e.geometry){var o=e.geometry.type,a=e.geometry.coordinates;switch(o){case"LineString":if(!1===t(e,r,i,0,0))return!1;break;case"Polygon":for(var u=0;u<a.length;u++)if(!1===t(n.lineString(a[u],e.properties),r,i,u))return!1}}}))}t.coordAll=function(e){var t=[];return i(e,(function(e){t.push(e)})),t},t.coordEach=i,t.coordReduce=function(e,t,r,n){var o=r;return i(e,(function(e,n,i,a,u){o=0===n&&void 0===r?e:t(o,e,n,i,a,u)}),n),o},t.featureEach=a,t.featureReduce=function(e,t,r){var n=r;return a(e,(function(e,i){n=0===i&&void 0===r?e:t(n,e,i)})),n},t.findPoint=function(e,t){if(t=t||{},!n.isObject(t))throw new Error("options is invalid");var r,i=t.featureIndex||0,o=t.multiFeatureIndex||0,a=t.geometryIndex||0,u=t.coordIndex||0,s=t.properties;switch(e.type){case"FeatureCollection":i<0&&(i=e.features.length+i),s=s||e.features[i].properties,r=e.features[i].geometry;break;case"Feature":s=s||e.properties,r=e.geometry;break;case"Point":case"MultiPoint":return null;case"LineString":case"Polygon":case"MultiLineString":case"MultiPolygon":r=e;break;default:throw new Error("geojson is invalid")}if(null===r)return null;var l=r.coordinates;switch(r.type){case"Point":return n.point(l,s,t);case"MultiPoint":return o<0&&(o=l.length+o),n.point(l[o],s,t);case"LineString":return u<0&&(u=l.length+u),n.point(l[u],s,t);case"Polygon":return a<0&&(a=l.length+a),u<0&&(u=l[a].length+u),n.point(l[a][u],s,t);case"MultiLineString":return o<0&&(o=l.length+o),u<0&&(u=l[o].length+u),n.point(l[o][u],s,t);case"MultiPolygon":return o<0&&(o=l.length+o),a<0&&(a=l[o].length+a),u<0&&(u=l[o][a].length-u),n.point(l[o][a][u],s,t)}throw new Error("geojson is invalid")},t.findSegment=function(e,t){if(t=t||{},!n.isObject(t))throw new Error("options is invalid");var r,i=t.featureIndex||0,o=t.multiFeatureIndex||0,a=t.geometryIndex||0,u=t.segmentIndex||0,s=t.properties;switch(e.type){case"FeatureCollection":i<0&&(i=e.features.length+i),s=s||e.features[i].properties,r=e.features[i].geometry;break;case"Feature":s=s||e.properties,r=e.geometry;break;case"Point":case"MultiPoint":return null;case"LineString":case"Polygon":case"MultiLineString":case"MultiPolygon":r=e;break;default:throw new Error("geojson is invalid")}if(null===r)return null;var l=r.coordinates;switch(r.type){case"Point":case"MultiPoint":return null;case"LineString":return u<0&&(u=l.length+u-1),n.lineString([l[u],l[u+1]],s,t);case"Polygon":return a<0&&(a=l.length+a),u<0&&(u=l[a].length+u-1),n.lineString([l[a][u],l[a][u+1]],s,t);case"MultiLineString":return o<0&&(o=l.length+o),u<0&&(u=l[o].length+u-1),n.lineString([l[o][u],l[o][u+1]],s,t);case"MultiPolygon":return o<0&&(o=l.length+o),a<0&&(a=l[o].length+a),u<0&&(u=l[o][a].length-u-1),n.lineString([l[o][a][u],l[o][a][u+1]],s,t)}throw new Error("geojson is invalid")},t.flattenEach=s,t.flattenReduce=function(e,t,r){var n=r;return s(e,(function(e,i,o){n=0===i&&0===o&&void 0===r?e:t(n,e,i,o)})),n},t.geomEach=u,t.geomReduce=function(e,t,r){var n=r;return u(e,(function(e,i,o,a,u){n=0===i&&void 0===r?e:t(n,e,i,o,a,u)})),n},t.lineEach=c,t.lineReduce=function(e,t,r){var n=r;return c(e,(function(e,i,o,a){n=0===i&&void 0===r?e:t(n,e,i,o,a)})),n},t.propEach=o,t.propReduce=function(e,t,r){var n=r;return o(e,(function(e,i){n=0===i&&void 0===r?e:t(n,e,i)})),n},t.segmentEach=l,t.segmentReduce=function(e,t,r){var n=r,i=!1;return l(e,(function(e,o,a,u,s){n=!1===i&&void 0===r?e:t(n,e,o,a,u,s),i=!0})),n}},46615:function(e,t,r){function n(e){return e}function i(e,t){return"string"===typeof t&&(t=e.objects[t]),"GeometryCollection"===t.type?{type:"FeatureCollection",features:t.geometries.map((function(t){return o(e,t)}))}:o(e,t)}function o(e,t){var r=t.id,i=t.bbox,o=null==t.properties?{}:t.properties,a=function(e,t){var r=function(e){if(null==e)return n;var t,r,i=e.scale[0],o=e.scale[1],a=e.translate[0],u=e.translate[1];return function(e,n){n||(t=r=0);var s=2,l=e.length,c=new Array(l);for(c[0]=(t+=e[0])*i+a,c[1]=(r+=e[1])*o+u;s<l;)c[s]=e[s],++s;return c}}(e.transform),i=e.arcs;function o(e,t){t.length&&t.pop();for(var n=i[e<0?~e:e],o=0,a=n.length;o<a;++o)t.push(r(n[o],o));e<0&&function(e,t){for(var r,n=e.length,i=n-t;i<--n;)r=e[i],e[i++]=e[n],e[n]=r}(t,a)}function a(e){return r(e)}function u(e){for(var t=[],r=0,n=e.length;r<n;++r)o(e[r],t);return t.length<2&&t.push(t[0]),t}function s(e){for(var t=u(e);t.length<4;)t.push(t[0]);return t}function l(e){return e.map(s)}function c(e){var t,r=e.type;switch(r){case"GeometryCollection":return{type:r,geometries:e.geometries.map(c)};case"Point":t=a(e.coordinates);break;case"MultiPoint":t=e.coordinates.map(a);break;case"LineString":t=u(e.arcs);break;case"MultiLineString":t=e.arcs.map(u);break;case"Polygon":t=l(e.arcs);break;case"MultiPolygon":t=e.arcs.map(l);break;default:return null}return{type:r,coordinates:t}}return c(t)}(e,t);return null==r&&null==i?{type:"Feature",properties:o,geometry:a}:null==i?{type:"Feature",id:r,properties:o,geometry:a}:{type:"Feature",id:r,bbox:i,properties:o,geometry:a}}r.d(t,{N4:function(){return i}})},85433:function(e,t,r){e.exports=function(e){if(e<0)return[];if(0===e)return[[0]];for(var t=0|Math.round(o(e+1)),r=[],a=0;a<t;++a){for(var u=n.unrank(e,a),s=[0],l=0,c=0;c<u.length;++c)l+=1<<u[c],s.push(l);i(u)<1&&(s[0]=l,s[e]=0),r.push(s)}return r};var n=r(26714),i=r(15139),o=r(35956)},63382:function(e,t,r){e.exports=function(e){var t=(e=e||{}).center||[0,0,0],r=e.up||[0,1,0],n=e.right||f(r),i=e.radius||1,o=e.theta||0,c=e.phi||0;if(t=[].slice.call(t,0,3),r=[].slice.call(r,0,3),u(r,r),n=[].slice.call(n,0,3),u(n,n),"eye"in e){var g=e.eye,d=[g[0]-t[0],g[1]-t[1],g[2]-t[2]];a(n,d,r),l(n[0],n[1],n[2])<1e-6?n=f(r):u(n,n),i=l(d[0],d[1],d[2]);var m=s(r,d)/i,p=s(n,d)/i;c=Math.acos(m),o=Math.acos(p)}return i=Math.log(i),new h(e.zoomMin,e.zoomMax,t,r,n,i,o,c)};var n=r(87646),i=r(51213),o=r(89066),a=r(8156),u=r(16543),s=r(16283);function l(e,t,r){return Math.sqrt(Math.pow(e,2)+Math.pow(t,2)+Math.pow(r,2))}function c(e){return Math.min(1,Math.max(-1,e))}function f(e){var t=Math.abs(e[0]),r=Math.abs(e[1]),n=Math.abs(e[2]),i=[0,0,0];t>Math.max(r,n)?i[2]=1:r>Math.max(t,n)?i[0]=1:i[1]=1;for(var o=0,a=0,s=0;s<3;++s)o+=e[s]*e[s],a+=i[s]*e[s];for(s=0;s<3;++s)i[s]-=a/o*e[s];return u(i,i),i}function h(e,t,r,i,o,a,u,s){this.center=n(r),this.up=n(i),this.right=n(o),this.radius=n([a]),this.angle=n([u,s]),this.angle.bounds=[[-1/0,-Math.PI/2],[1/0,Math.PI/2]],this.setDistanceLimits(e,t),this.computedCenter=this.center.curve(0),this.computedUp=this.up.curve(0),this.computedRight=this.right.curve(0),this.computedRadius=this.radius.curve(0),this.computedAngle=this.angle.curve(0),this.computedToward=[0,0,0],this.computedEye=[0,0,0],this.computedMatrix=new Array(16);for(var l=0;l<16;++l)this.computedMatrix[l]=.5;this.recalcMatrix(0)}var g=h.prototype;g.setDistanceLimits=function(e,t){e=e>0?Math.log(e):-1/0,t=t>0?Math.log(t):1/0,t=Math.max(t,e),this.radius.bounds[0][0]=e,this.radius.bounds[1][0]=t},g.getDistanceLimits=function(e){var t=this.radius.bounds[0];return e?(e[0]=Math.exp(t[0][0]),e[1]=Math.exp(t[1][0]),e):[Math.exp(t[0][0]),Math.exp(t[1][0])]},g.recalcMatrix=function(e){this.center.curve(e),this.up.curve(e),this.right.curve(e),this.radius.curve(e),this.angle.curve(e);for(var t=this.computedUp,r=this.computedRight,n=0,i=0,o=0;o<3;++o)i+=t[o]*r[o],n+=t[o]*t[o];var s=Math.sqrt(n),c=0;for(o=0;o<3;++o)r[o]-=t[o]*i/n,c+=r[o]*r[o],t[o]/=s;var f=Math.sqrt(c);for(o=0;o<3;++o)r[o]/=f;var h=this.computedToward;a(h,t,r),u(h,h);var g=Math.exp(this.computedRadius[0]),d=this.computedAngle[0],m=this.computedAngle[1],p=Math.cos(d),v=Math.sin(d),y=Math.cos(m),w=Math.sin(m),b=this.computedCenter,M=p*y,P=v*y,x=w,E=-p*w,I=-v*w,k=y,S=this.computedEye,R=this.computedMatrix;for(o=0;o<3;++o){var L=M*r[o]+P*h[o]+x*t[o];R[4*o+1]=E*r[o]+I*h[o]+k*t[o],R[4*o+2]=L,R[4*o+3]=0}var F=R[1],A=R[5],T=R[9],C=R[2],U=R[6],j=R[10],B=A*j-T*U,N=T*C-F*j,O=F*U-A*C,_=l(B,N,O);B/=_,N/=_,O/=_,R[0]=B,R[4]=N,R[8]=O;for(o=0;o<3;++o)S[o]=b[o]+R[2+4*o]*g;for(o=0;o<3;++o){c=0;for(var G=0;G<3;++G)c+=R[o+4*G]*S[G];R[12+o]=-c}R[15]=1},g.getMatrix=function(e,t){this.recalcMatrix(e);var r=this.computedMatrix;if(t){for(var n=0;n<16;++n)t[n]=r[n];return t}return r};var d=[0,0,0];g.rotate=function(e,t,r,n){if(this.angle.move(e,t,r),n){this.recalcMatrix(e);var i=this.computedMatrix;d[0]=i[2],d[1]=i[6],d[2]=i[10];for(var a=this.computedUp,u=this.computedRight,s=this.computedToward,l=0;l<3;++l)i[4*l]=a[l],i[4*l+1]=u[l],i[4*l+2]=s[l];o(i,i,n,d);for(l=0;l<3;++l)a[l]=i[4*l],u[l]=i[4*l+1];this.up.set(e,a[0],a[1],a[2]),this.right.set(e,u[0],u[1],u[2])}},g.pan=function(e,t,r,n){t=t||0,r=r||0,n=n||0,this.recalcMatrix(e);var i=this.computedMatrix,o=(Math.exp(this.computedRadius[0]),i[1]),a=i[5],u=i[9],s=l(o,a,u);o/=s,a/=s,u/=s;var c=i[0],f=i[4],h=i[8],g=c*o+f*a+h*u,d=l(c-=o*g,f-=a*g,h-=u*g),m=(c/=d)*t+o*r,p=(f/=d)*t+a*r,v=(h/=d)*t+u*r;this.center.move(e,m,p,v);var y=Math.exp(this.computedRadius[0]);y=Math.max(1e-4,y+n),this.radius.set(e,Math.log(y))},g.translate=function(e,t,r,n){this.center.move(e,t||0,r||0,n||0)},g.setMatrix=function(e,t,r,n){var o=1;"number"===typeof r&&(o=0|r),(o<0||o>3)&&(o=1);var a=(o+2)%3;t||(this.recalcMatrix(e),t=this.computedMatrix);var u=t[o],s=t[o+4],f=t[o+8];if(n){var h=Math.abs(u),g=Math.abs(s),d=Math.abs(f),m=Math.max(h,g,d);h===m?(u=u<0?-1:1,s=f=0):d===m?(f=f<0?-1:1,u=s=0):(s=s<0?-1:1,u=f=0)}else{var p=l(u,s,f);u/=p,s/=p,f/=p}var v,y,w=t[a],b=t[a+4],M=t[a+8],P=w*u+b*s+M*f,x=l(w-=u*P,b-=s*P,M-=f*P),E=s*(M/=x)-f*(b/=x),I=f*(w/=x)-u*M,k=u*b-s*w,S=l(E,I,k);if(E/=S,I/=S,k/=S,this.center.jump(e,z,V,H),this.radius.idle(e),this.up.jump(e,u,s,f),this.right.jump(e,w,b,M),2===o){var R=t[1],L=t[5],F=t[9],A=R*w+L*b+F*M,T=R*E+L*I+F*k;v=B<0?-Math.PI/2:Math.PI/2,y=Math.atan2(T,A)}else{var C=t[2],U=t[6],j=t[10],B=C*u+U*s+j*f,N=C*w+U*b+j*M,O=C*E+U*I+j*k;v=Math.asin(c(B)),y=Math.atan2(O,N)}this.angle.jump(e,y,v),this.recalcMatrix(e);var _=t[2],G=t[6],D=t[10],q=this.computedMatrix;i(q,t);var Y=q[15],z=q[12]/Y,V=q[13]/Y,H=q[14]/Y,J=Math.exp(this.computedRadius[0]);this.center.jump(e,z-_*J,V-G*J,H-D*J)},g.lastT=function(){return Math.max(this.center.lastT(),this.up.lastT(),this.right.lastT(),this.radius.lastT(),this.angle.lastT())},g.idle=function(e){this.center.idle(e),this.up.idle(e),this.right.idle(e),this.radius.idle(e),this.angle.idle(e)},g.flush=function(e){this.center.flush(e),this.up.flush(e),this.right.flush(e),this.radius.flush(e),this.angle.flush(e)},g.setDistance=function(e,t){t>0&&this.radius.set(e,Math.log(t))},g.lookAt=function(e,t,r,n){this.recalcMatrix(e),t=t||this.computedEye,r=r||this.computedCenter;var i=(n=n||this.computedUp)[0],o=n[1],a=n[2],u=l(i,o,a);if(!(u<1e-6)){i/=u,o/=u,a/=u;var s=t[0]-r[0],f=t[1]-r[1],h=t[2]-r[2],g=l(s,f,h);if(!(g<1e-6)){s/=g,f/=g,h/=g;var d=this.computedRight,m=d[0],p=d[1],v=d[2],y=i*m+o*p+a*v,w=l(m-=y*i,p-=y*o,v-=y*a);if(!(w<.01&&(w=l(m=o*h-a*f,p=a*s-i*h,v=i*f-o*s))<1e-6)){m/=w,p/=w,v/=w,this.up.set(e,i,o,a),this.right.set(e,m,p,v),this.center.set(e,r[0],r[1],r[2]),this.radius.set(e,Math.log(g));var b=o*v-a*p,M=a*m-i*v,P=i*p-o*m,x=l(b,M,P),E=i*s+o*f+a*h,I=m*s+p*f+v*h,k=(b/=x)*s+(M/=x)*f+(P/=x)*h,S=Math.asin(c(E)),R=Math.atan2(k,I),L=this.angle._state,F=L[L.length-1],A=L[L.length-2];F%=2*Math.PI;var T=Math.abs(F+2*Math.PI-R),C=Math.abs(F-R),U=Math.abs(F-2*Math.PI-R);T<C&&(F+=2*Math.PI),U<C&&(F-=2*Math.PI),this.angle.jump(this.angle.lastT(),F,A),this.angle.set(e,R,S)}}}}},80717:function(e){e.exports=function(e,r,n){var i=e*r,o=t*e,a=o-(o-e),u=e-a,s=t*r,l=s-(s-r),c=r-l,f=u*c-(i-a*l-u*l-a*c);if(n)return n[0]=f,n[1]=i,n;return[f,i]};var t=+(Math.pow(2,27)+1)},42685:function(e){e.exports=function(e,t,r){var n=e+t,i=n-e,o=t-i,a=e-(n-i);if(r)return r[0]=a+o,r[1]=n,r;return[a+o,n]}},77470:function(e,t,r){var n=r(21780);e.exports=function(e){if("function"!==typeof e)return!1;if(!hasOwnProperty.call(e,"length"))return!1;try{if("number"!==typeof e.length)return!1;if("function"!==typeof e.call)return!1;if("function"!==typeof e.apply)return!1}catch(t){return!1}return!n(e)}},4491:function(e,t,r){var n=r(12041),i=r(94223),o=r(69876),a=r(43435),u=function(e,t){return e.replace("%v",a(t))};e.exports=function(e,t,r){if(!i(r))throw new TypeError(u(t,e));if(!n(e)){if("default"in r)return r.default;if(r.isOptional)return null}var a=o(r.errorMessage);throw n(a)||(a=t),new TypeError(u(a,e))}},61550:function(e){e.exports=function(e){try{return e.toString()}catch(t){try{return String(e)}catch(r){return null}}}},43435:function(e,t,r){var n=r(61550),i=/[\n\r\u2028\u2029]/g;e.exports=function(e){var t=n(e);return null===t?"<Non-coercible to string value>":(t.length>100&&(t=t.slice(0,99)+"\u2026"),t=t.replace(i,(function(e){switch(e){case"\n":return"\\n";case"\r":return"\\r";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw new Error("Unexpected character")}})))}},94223:function(e,t,r){var n=r(12041),i={object:!0,function:!0,undefined:!0};e.exports=function(e){return!!n(e)&&hasOwnProperty.call(i,typeof e)}},45621:function(e,t,r){var n=r(4491),i=r(40555);e.exports=function(e){return i(e)?e:n(e,"%v is not a plain function",arguments[1])}},40555:function(e,t,r){var n=r(77470),i=/^\s*class[\s{/}]/,o=Function.prototype.toString;e.exports=function(e){return!!n(e)&&!i.test(o.call(e))}},21780:function(e,t,r){var n=r(94223);e.exports=function(e){if(!n(e))return!1;try{return!!e.constructor&&e.constructor.prototype===e}catch(t){return!1}}},69876:function(e,t,r){var n=r(12041),i=r(94223),o=Object.prototype.toString;e.exports=function(e){if(!n(e))return null;if(i(e)){var t=e.toString;if("function"!==typeof t)return null;if(t===o)return null}try{return""+e}catch(r){return null}}},28603:function(e,t,r){var n=r(4491),i=r(12041);e.exports=function(e){return i(e)?e:n(e,"Cannot use %v",arguments[1])}},12041:function(e){e.exports=function(e){return undefined!==e&&null!==e}},32237:function(e,t,r){var n=r(43863),i=r(4957),o=r(47397).Buffer;r.g.__TYPEDARRAY_POOL||(r.g.__TYPEDARRAY_POOL={UINT8:i([32,0]),UINT16:i([32,0]),UINT32:i([32,0]),BIGUINT64:i([32,0]),INT8:i([32,0]),INT16:i([32,0]),INT32:i([32,0]),BIGINT64:i([32,0]),FLOAT:i([32,0]),DOUBLE:i([32,0]),DATA:i([32,0]),UINT8C:i([32,0]),BUFFER:i([32,0])});var a="undefined"!==typeof Uint8ClampedArray,u="undefined"!==typeof BigUint64Array,s="undefined"!==typeof BigInt64Array,l=r.g.__TYPEDARRAY_POOL;l.UINT8C||(l.UINT8C=i([32,0])),l.BIGUINT64||(l.BIGUINT64=i([32,0])),l.BIGINT64||(l.BIGINT64=i([32,0])),l.BUFFER||(l.BUFFER=i([32,0]));var c=l.DATA,f=l.BUFFER;function h(e){if(e){var t=e.length||e.byteLength,r=n.log2(t);c[r].push(e)}}function g(e){e=n.nextPow2(e);var t=n.log2(e),r=c[t];return r.length>0?r.pop():new ArrayBuffer(e)}function d(e){return new Uint8Array(g(e),0,e)}function m(e){return new Uint16Array(g(2*e),0,e)}function p(e){return new Uint32Array(g(4*e),0,e)}function v(e){return new Int8Array(g(e),0,e)}function y(e){return new Int16Array(g(2*e),0,e)}function w(e){return new Int32Array(g(4*e),0,e)}function b(e){return new Float32Array(g(4*e),0,e)}function M(e){return new Float64Array(g(8*e),0,e)}function P(e){return a?new Uint8ClampedArray(g(e),0,e):d(e)}function x(e){return u?new BigUint64Array(g(8*e),0,e):null}function E(e){return s?new BigInt64Array(g(8*e),0,e):null}function I(e){return new DataView(g(e),0,e)}function k(e){e=n.nextPow2(e);var t=n.log2(e),r=f[t];return r.length>0?r.pop():new o(e)}t.free=function(e){if(o.isBuffer(e))f[n.log2(e.length)].push(e);else{if("[object ArrayBuffer]"!==Object.prototype.toString.call(e)&&(e=e.buffer),!e)return;var t=e.length||e.byteLength,r=0|n.log2(t);c[r].push(e)}},t.freeUint8=t.freeUint16=t.freeUint32=t.freeBigUint64=t.freeInt8=t.freeInt16=t.freeInt32=t.freeBigInt64=t.freeFloat32=t.freeFloat=t.freeFloat64=t.freeDouble=t.freeUint8Clamped=t.freeDataView=function(e){h(e.buffer)},t.freeArrayBuffer=h,t.freeBuffer=function(e){f[n.log2(e.length)].push(e)},t.malloc=function(e,t){if(void 0===t||"arraybuffer"===t)return g(e);switch(t){case"uint8":return d(e);case"uint16":return m(e);case"uint32":return p(e);case"int8":return v(e);case"int16":return y(e);case"int32":return w(e);case"float":case"float32":return b(e);case"double":case"float64":return M(e);case"uint8_clamped":return P(e);case"bigint64":return E(e);case"biguint64":return x(e);case"buffer":return k(e);case"data":case"dataview":return I(e);default:return null}return null},t.mallocArrayBuffer=g,t.mallocUint8=d,t.mallocUint16=m,t.mallocUint32=p,t.mallocInt8=v,t.mallocInt16=y,t.mallocInt32=w,t.mallocFloat32=t.mallocFloat=b,t.mallocFloat64=t.mallocDouble=M,t.mallocUint8Clamped=P,t.mallocBigUint64=x,t.mallocBigInt64=E,t.mallocDataView=I,t.mallocBuffer=k,t.clearCache=function(){for(var e=0;e<32;++e)l.UINT8[e].length=0,l.UINT16[e].length=0,l.UINT32[e].length=0,l.INT8[e].length=0,l.INT16[e].length=0,l.INT32[e].length=0,l.FLOAT[e].length=0,l.DOUBLE[e].length=0,l.BIGUINT64[e].length=0,l.BIGINT64[e].length=0,l.UINT8C[e].length=0,c[e].length=0,f[e].length=0}}}]);
@@ -0,0 +1,2 @@
1
+ /*! For license information please see 6899.0eaf36a8.chunk.js.LICENSE.txt */
2
+ (self.webpackChunk_mlflow_mlflow=self.webpackChunk_mlflow_mlflow||[]).push([[6899],{98918:function(e,t,n){var r,i=n(13137),o=n(25496),a=n(58908),s=n(63476),u=n(31869),f=n(28369),l=!1,c=o();function h(e,t,n){var i=r.segments(e),o=r.segments(t),a=n(r.combine(i,o));return r.polygon(a)}r={buildLog:function(e){return!0===e?l=i():!1===e&&(l=!1),!1!==l&&l.list},epsilon:function(e){return c.epsilon(e)},segments:function(e){var t=a(!0,c,l);return e.regions.forEach(t.addRegion),{segments:t.calculate(e.inverted),inverted:e.inverted}},combine:function(e,t){return{combined:a(!1,c,l).calculate(e.segments,e.inverted,t.segments,t.inverted),inverted1:e.inverted,inverted2:t.inverted}},selectUnion:function(e){return{segments:u.union(e.combined,l),inverted:e.inverted1||e.inverted2}},selectIntersect:function(e){return{segments:u.intersect(e.combined,l),inverted:e.inverted1&&e.inverted2}},selectDifference:function(e){return{segments:u.difference(e.combined,l),inverted:e.inverted1&&!e.inverted2}},selectDifferenceRev:function(e){return{segments:u.differenceRev(e.combined,l),inverted:!e.inverted1&&e.inverted2}},selectXor:function(e){return{segments:u.xor(e.combined,l),inverted:e.inverted1!==e.inverted2}},polygon:function(e){return{regions:s(e.segments,c,l),inverted:e.inverted}},polygonFromGeoJSON:function(e){return f.toPolygon(r,e)},polygonToGeoJSON:function(e){return f.fromPolygon(r,c,e)},union:function(e,t){return h(e,t,r.selectUnion)},intersect:function(e,t){return h(e,t,r.selectIntersect)},difference:function(e,t){return h(e,t,r.selectDifference)},differenceRev:function(e,t){return h(e,t,r.selectDifferenceRev)},xor:function(e,t){return h(e,t,r.selectXor)}},"object"===typeof window&&(window.PolyBool=r),e.exports=r},13137:function(e){e.exports=function(){var e,t=0,n=!1;function r(t,n){return e.list.push({type:t,data:n?JSON.parse(JSON.stringify(n)):void 0}),e}return e={list:[],segmentId:function(){return t++},checkIntersection:function(e,t){return r("check",{seg1:e,seg2:t})},segmentChop:function(e,t){return r("div_seg",{seg:e,pt:t}),r("chop",{seg:e,pt:t})},statusRemove:function(e){return r("pop_seg",{seg:e})},segmentUpdate:function(e){return r("seg_update",{seg:e})},segmentNew:function(e,t){return r("new_seg",{seg:e,primary:t})},segmentRemove:function(e){return r("rem_seg",{seg:e})},tempStatus:function(e,t,n){return r("temp_status",{seg:e,above:t,below:n})},rewind:function(e){return r("rewind",{seg:e})},status:function(e,t,n){return r("status",{seg:e,above:t,below:n})},vert:function(t){return t===n?e:(n=t,r("vert",{x:t}))},log:function(e){return"string"!==typeof e&&(e=JSON.stringify(e,!1," ")),r("log",{txt:e})},reset:function(){return r("reset")},selected:function(e){return r("selected",{segs:e})},chainStart:function(e){return r("chain_start",{seg:e})},chainRemoveHead:function(e,t){return r("chain_rem_head",{index:e,pt:t})},chainRemoveTail:function(e,t){return r("chain_rem_tail",{index:e,pt:t})},chainNew:function(e,t){return r("chain_new",{pt1:e,pt2:t})},chainMatch:function(e){return r("chain_match",{index:e})},chainClose:function(e){return r("chain_close",{index:e})},chainAddHead:function(e,t){return r("chain_add_head",{index:e,pt:t})},chainAddTail:function(e,t){return r("chain_add_tail",{index:e,pt:t})},chainConnect:function(e,t){return r("chain_con",{index1:e,index2:t})},chainReverse:function(e){return r("chain_rev",{index:e})},chainJoin:function(e,t){return r("chain_join",{index1:e,index2:t})},done:function(){return r("done")}}}},25496:function(e){e.exports=function(e){"number"!==typeof e&&(e=1e-10);var t={epsilon:function(t){return"number"===typeof t&&(e=t),e},pointAboveOrOnLine:function(t,n,r){var i=n[0],o=n[1],a=r[0],s=r[1],u=t[0];return(a-i)*(t[1]-o)-(s-o)*(u-i)>=-e},pointBetween:function(t,n,r){var i=t[1]-n[1],o=r[0]-n[0],a=t[0]-n[0],s=r[1]-n[1],u=a*o+i*s;return!(u<e)&&!(u-(o*o+s*s)>-e)},pointsSameX:function(t,n){return Math.abs(t[0]-n[0])<e},pointsSameY:function(t,n){return Math.abs(t[1]-n[1])<e},pointsSame:function(e,n){return t.pointsSameX(e,n)&&t.pointsSameY(e,n)},pointsCompare:function(e,n){return t.pointsSameX(e,n)?t.pointsSameY(e,n)?0:e[1]<n[1]?-1:1:e[0]<n[0]?-1:1},pointsCollinear:function(t,n,r){var i=t[0]-n[0],o=t[1]-n[1],a=n[0]-r[0],s=n[1]-r[1];return Math.abs(i*s-a*o)<e},linesIntersect:function(t,n,r,i){var o=n[0]-t[0],a=n[1]-t[1],s=i[0]-r[0],u=i[1]-r[1],f=o*u-a*s;if(Math.abs(f)<e)return!1;var l=t[0]-r[0],c=t[1]-r[1],h=(s*c-u*l)/f,g=(o*c-a*l)/f,p={alongA:0,alongB:0,pt:[t[0]+h*o,t[1]+h*a]};return p.alongA=h<=-e?-2:h<e?-1:h-1<=-e?0:h-1<e?1:2,p.alongB=g<=-e?-2:g<e?-1:g-1<=-e?0:g-1<e?1:2,p},pointInsideRegion:function(t,n){for(var r=t[0],i=t[1],o=n[n.length-1][0],a=n[n.length-1][1],s=!1,u=0;u<n.length;u++){var f=n[u][0],l=n[u][1];l-i>e!=a-i>e&&(o-f)*(i-l)/(a-l)+f-r>e&&(s=!s),o=f,a=l}return s}};return t}},28369:function(e){var t={toPolygon:function(e,t){function n(t){if(t.length<=0)return e.segments({inverted:!1,regions:[]});function n(t){var n=t.slice(0,t.length-1);return e.segments({inverted:!1,regions:[n]})}for(var r=n(t[0]),i=1;i<t.length;i++)r=e.selectDifference(e.combine(r,n(t[i])));return r}if("Polygon"===t.type)return e.polygon(n(t.coordinates));if("MultiPolygon"===t.type){for(var r=e.segments({inverted:!1,regions:[]}),i=0;i<t.coordinates.length;i++)r=e.selectUnion(e.combine(r,n(t.coordinates[i])));return e.polygon(r)}throw new Error("PolyBool: Cannot convert GeoJSON object to PolyBool polygon")},fromPolygon:function(e,t,n){function r(e,n){return t.pointInsideRegion([.5*(e[0][0]+e[1][0]),.5*(e[0][1]+e[1][1])],n)}function i(e){return{region:e,children:[]}}n=e.polygon(e.segments(n));var o=i(null);function a(e,t){for(var n=0;n<e.children.length;n++){if(r(t,(s=e.children[n]).region))return void a(s,t)}var o=i(t);for(n=0;n<e.children.length;n++){var s;r((s=e.children[n]).region,t)&&(o.children.push(s),e.children.splice(n,1),n--)}e.children.push(o)}for(var s=0;s<n.regions.length;s++){var u=n.regions[s];u.length<3||a(o,u)}function f(e,t){for(var n=0,r=e[e.length-1][0],i=e[e.length-1][1],o=[],a=0;a<e.length;a++){var s=e[a][0],u=e[a][1];o.push([s,u]),n+=u*r-s*i,r=s,i=u}return n<0!==t&&o.reverse(),o.push([o[0][0],o[0][1]]),o}var l=[];function c(e){var t=[f(e.region,!1)];l.push(t);for(var n=0;n<e.children.length;n++)t.push(h(e.children[n]))}function h(e){for(var t=0;t<e.children.length;t++)c(e.children[t]);return f(e.region,!0)}for(s=0;s<o.children.length;s++)c(o.children[s]);return l.length<=0?{type:"Polygon",coordinates:[]}:1==l.length?{type:"Polygon",coordinates:l[0]}:{type:"MultiPolygon",coordinates:l}}};e.exports=t},58908:function(e,t,n){var r=n(20918);e.exports=function(e,t,n){function i(e,t,r){return{id:n?n.segmentId():-1,start:e,end:t,myFill:{above:r.myFill.above,below:r.myFill.below},otherFill:null}}var o=r.create();function a(e,n){o.insertBefore(e,(function(r){return function(e,n,r,i,o,a){var s=t.pointsCompare(n,o);return 0!==s?s:t.pointsSame(r,a)?0:e!==i?e?1:-1:t.pointAboveOrOnLine(r,i?o:a,i?a:o)?1:-1}(e.isStart,e.pt,n,r.isStart,r.pt,r.other.pt)<0}))}function s(e,t){var n=function(e,t){var n=r.node({isStart:!0,pt:e.start,seg:e,primary:t,other:null,status:null});return a(n,e.end),n}(e,t);return function(e,t,n){var i=r.node({isStart:!1,pt:t.end,seg:t,primary:n,other:e,status:null});e.other=i,a(i,e.pt)}(n,e,t),n}function u(e,t){var r=i(t,e.seg.end,e.seg);return function(e,t){n&&n.segmentChop(e.seg,t),e.other.remove(),e.seg.end=t,e.other.pt=t,a(e.other,e.pt)}(e,t),s(r,e.primary)}function f(i,a){var s=r.create();function f(e){return s.findTransition((function(n){return function(e,n){var r=e.seg.start,i=e.seg.end,o=n.seg.start,a=n.seg.end;return t.pointsCollinear(r,o,a)?t.pointsCollinear(i,o,a)||t.pointAboveOrOnLine(i,o,a)?1:-1:t.pointAboveOrOnLine(r,o,a)?1:-1}(e,n.ev)>0}))}function l(e,r){var i=e.seg,o=r.seg,a=i.start,s=i.end,f=o.start,l=o.end;n&&n.checkIntersection(i,o);var c=t.linesIntersect(a,s,f,l);if(!1===c){if(!t.pointsCollinear(a,s,f))return!1;if(t.pointsSame(a,l)||t.pointsSame(s,f))return!1;var h=t.pointsSame(a,f),g=t.pointsSame(s,l);if(h&&g)return r;var p=!h&&t.pointBetween(a,f,l),d=!g&&t.pointBetween(s,f,l);if(h)return d?u(r,s):u(e,l),r;p&&(g||(d?u(r,s):u(e,l)),u(r,a))}else 0===c.alongA&&(-1===c.alongB?u(e,f):0===c.alongB?u(e,c.pt):1===c.alongB&&u(e,l)),0===c.alongB&&(-1===c.alongA?u(r,a):0===c.alongA?u(r,c.pt):1===c.alongA&&u(r,s));return!1}for(var c=[];!o.isEmpty();){var h=o.getHead();if(n&&n.vert(h.pt[0]),h.isStart){n&&n.segmentNew(h.seg,h.primary);var g=f(h),p=g.before?g.before.ev:null,d=g.after?g.after.ev:null;function v(){if(p){var e=l(h,p);if(e)return e}return!!d&&l(h,d)}n&&n.tempStatus(h.seg,!!p&&p.seg,!!d&&d.seg);var m,x=v();if(x){var y;if(e)(y=null===h.seg.myFill.below||h.seg.myFill.above!==h.seg.myFill.below)&&(x.seg.myFill.above=!x.seg.myFill.above);else x.seg.otherFill=h.seg.myFill;n&&n.segmentUpdate(x.seg),h.other.remove(),h.remove()}if(o.getHead()!==h){n&&n.rewind(h.seg);continue}if(e)y=null===h.seg.myFill.below||h.seg.myFill.above!==h.seg.myFill.below,h.seg.myFill.below=d?d.seg.myFill.above:i,h.seg.myFill.above=y?!h.seg.myFill.below:h.seg.myFill.below;else if(null===h.seg.otherFill)m=d?h.primary===d.primary?d.seg.otherFill.above:d.seg.myFill.above:h.primary?a:i,h.seg.otherFill={above:m,below:m};n&&n.status(h.seg,!!p&&p.seg,!!d&&d.seg),h.other.status=g.insert(r.node({ev:h}))}else{var b=h.status;if(null===b)throw new Error("PolyBool: Zero-length segment detected; your epsilon is probably too small or too large");if(s.exists(b.prev)&&s.exists(b.next)&&l(b.prev.ev,b.next.ev),n&&n.statusRemove(b.ev.seg),b.remove(),!h.primary){var w=h.seg.myFill;h.seg.myFill=h.seg.otherFill,h.seg.otherFill=w}c.push(h.seg)}o.getHead().remove()}return n&&n.done(),c}return e?{addRegion:function(e){for(var r,i,o,a=e[e.length-1],u=0;u<e.length;u++){r=a,a=e[u];var f=t.pointsCompare(r,a);0!==f&&s((i=f<0?r:a,o=f<0?a:r,{id:n?n.segmentId():-1,start:i,end:o,myFill:{above:null,below:null},otherFill:null}),!0)}},calculate:function(e){return f(e,!1)}}:{calculate:function(e,t,n,r){return e.forEach((function(e){s(i(e.start,e.end,e),!0)})),n.forEach((function(e){s(i(e.start,e.end,e),!1)})),f(t,r)}}}},20918:function(e){e.exports={create:function(){var e={root:{root:!0,next:null},exists:function(t){return null!==t&&t!==e.root},isEmpty:function(){return null===e.root.next},getHead:function(){return e.root.next},insertBefore:function(t,n){for(var r=e.root,i=e.root.next;null!==i;){if(n(i))return t.prev=i.prev,t.next=i,i.prev.next=t,void(i.prev=t);r=i,i=i.next}r.next=t,t.prev=r,t.next=null},findTransition:function(t){for(var n=e.root,r=e.root.next;null!==r&&!t(r);)n=r,r=r.next;return{before:n===e.root?null:n,after:r,insert:function(e){return e.prev=n,e.next=r,n.next=e,null!==r&&(r.prev=e),e}}}};return e},node:function(e){return e.prev=null,e.next=null,e.remove=function(){e.prev.next=e.next,e.next&&(e.next.prev=e.prev),e.prev=null,e.next=null},e}}},63476:function(e){e.exports=function(e,t,n){var r=[],i=[];return e.forEach((function(e){var o=e.start,a=e.end;if(t.pointsSame(o,a))console.warn("PolyBool: Warning: Zero-length segment detected; your epsilon is probably too small or too large");else{n&&n.chainStart(e);for(var s={index:0,matches_head:!1,matches_pt1:!1},u={index:0,matches_head:!1,matches_pt1:!1},f=s,l=0;l<r.length;l++){var c=(v=r[l])[0],h=(v[1],v[v.length-1]);v[v.length-2];if(t.pointsSame(c,o)){if(S(l,!0,!0))break}else if(t.pointsSame(c,a)){if(S(l,!0,!1))break}else if(t.pointsSame(h,o)){if(S(l,!1,!0))break}else if(t.pointsSame(h,a)&&S(l,!1,!1))break}if(f===s)return r.push([o,a]),void(n&&n.chainNew(o,a));if(f===u){n&&n.chainMatch(s.index);var g=s.index,p=s.matches_pt1?a:o,d=s.matches_head,v=r[g],m=d?v[0]:v[v.length-1],x=d?v[1]:v[v.length-2],y=d?v[v.length-1]:v[0],b=d?v[v.length-2]:v[1];return t.pointsCollinear(x,m,p)&&(d?(n&&n.chainRemoveHead(s.index,p),v.shift()):(n&&n.chainRemoveTail(s.index,p),v.pop()),m=x),t.pointsSame(y,p)?(r.splice(g,1),t.pointsCollinear(b,y,m)&&(d?(n&&n.chainRemoveTail(s.index,m),v.pop()):(n&&n.chainRemoveHead(s.index,m),v.shift())),n&&n.chainClose(s.index),void i.push(v)):void(d?(n&&n.chainAddHead(s.index,p),v.unshift(p)):(n&&n.chainAddTail(s.index,p),v.push(p)))}var w=s.index,_=u.index;n&&n.chainConnect(w,_);var F=r[w].length<r[_].length;s.matches_head?u.matches_head?F?(U(w),A(w,_)):(U(_),A(_,w)):A(_,w):u.matches_head?A(w,_):F?(U(w),A(_,w)):(U(_),A(w,_))}function S(e,t,n){return f.index=e,f.matches_head=t,f.matches_pt1=n,f===s?(f=u,!1):(f=null,!0)}function U(e){n&&n.chainReverse(e),r[e].reverse()}function A(e,i){var o=r[e],a=r[i],s=o[o.length-1],u=o[o.length-2],f=a[0],l=a[1];t.pointsCollinear(u,s,f)&&(n&&n.chainRemoveTail(e,s),o.pop(),s=u),t.pointsCollinear(s,f,l)&&(n&&n.chainRemoveHead(i,f),a.shift()),n&&n.chainJoin(e,i),r[e]=o.concat(a),r.splice(i,1)}})),i}},31869:function(e){function t(e,t,n){var r=[];return e.forEach((function(e){var i=(e.myFill.above?8:0)+(e.myFill.below?4:0)+(e.otherFill&&e.otherFill.above?2:0)+(e.otherFill&&e.otherFill.below?1:0);0!==t[i]&&r.push({id:n?n.segmentId():-1,start:e.start,end:e.end,myFill:{above:1===t[i],below:2===t[i]},otherFill:null})})),n&&n.selected(r),r}var n={union:function(e,n){return t(e,[0,2,1,0,2,2,0,0,1,0,1,0,0,0,0,0],n)},intersect:function(e,n){return t(e,[0,0,0,0,0,2,0,2,0,0,1,1,0,2,1,0],n)},difference:function(e,n){return t(e,[0,0,0,0,2,0,2,0,1,1,0,0,0,1,2,0],n)},differenceRev:function(e,n){return t(e,[0,2,1,0,0,0,1,1,0,2,0,2,0,0,0,0],n)},xor:function(e,n){return t(e,[0,2,1,0,2,0,0,1,1,0,0,2,0,1,2,0],n)}};e.exports=n},15677:function(e){"use strict";var t=new Float64Array(4),n=new Float64Array(4),r=new Float64Array(4);e.exports=function(e,i,o,a,s){t.length<a.length&&(t=new Float64Array(a.length),n=new Float64Array(a.length),r=new Float64Array(a.length));for(var u=0;u<a.length;++u)t[u]=e[u]-a[u],n[u]=i[u]-e[u],r[u]=o[u]-e[u];var f=0,l=0,c=0,h=0,g=0,p=0;for(u=0;u<a.length;++u){var d=n[u],v=r[u],m=t[u];f+=d*d,l+=d*v,c+=v*v,h+=m*d,g+=m*v,p+=m*m}var x,y,b,w,_,F=Math.abs(f*c-l*l),S=l*g-c*h,U=l*h-f*g;if(S+U<=F)if(S<0)U<0&&h<0?(U=0,-h>=f?(S=1,x=f+2*h+p):x=h*(S=-h/f)+p):(S=0,g>=0?(U=0,x=p):-g>=c?(U=1,x=c+2*g+p):x=g*(U=-g/c)+p);else if(U<0)U=0,h>=0?(S=0,x=p):-h>=f?(S=1,x=f+2*h+p):x=h*(S=-h/f)+p;else{var A=1/F;x=(S*=A)*(f*S+l*(U*=A)+2*h)+U*(l*S+c*U+2*g)+p}else S<0?(b=c+g)>(y=l+h)?(w=b-y)>=(_=f-2*l+c)?(S=1,U=0,x=f+2*h+p):x=(S=w/_)*(f*S+l*(U=1-S)+2*h)+U*(l*S+c*U+2*g)+p:(S=0,b<=0?(U=1,x=c+2*g+p):g>=0?(U=0,x=p):x=g*(U=-g/c)+p):U<0?(b=f+h)>(y=l+g)?(w=b-y)>=(_=f-2*l+c)?(U=1,S=0,x=c+2*g+p):x=(S=1-(U=w/_))*(f*S+l*U+2*h)+U*(l*S+c*U+2*g)+p:(U=0,b<=0?(S=1,x=f+2*h+p):h>=0?(S=0,x=p):x=h*(S=-h/f)+p):(w=c+g-l-h)<=0?(S=0,U=1,x=c+2*g+p):w>=(_=f-2*l+c)?(S=1,U=0,x=f+2*h+p):x=(S=w/_)*(f*S+l*(U=1-S)+2*h)+U*(l*S+c*U+2*g)+p;var C=1-S-U;for(u=0;u<a.length;++u)s[u]=C*e[u]+S*i[u]+U*o[u];return x<0?0:x}},96122:function(e,t,n){"use strict";var r=n(23092).Transform,i=n(73145);function o(){r.call(this,{readableObjectMode:!0})}function a(e,t,n){Error.call(this),Error.captureStackTrace(this,this.constructor),this.name=this.constructor.name,this.message=e,t&&(this.code=t),n&&(this.statusCode=n)}o.prototype=Object.create(r.prototype),o.prototype.constructor=o,i(o.prototype),t.rU=function(e,t,n){for(var r=t,i=0;i<n.length;)if(e[r++]!==n[i++])return!1;return!0},t.VG=function(e,t){var n=[],r=0;if(t&&"hex"===t)for(;r<e.length;)n.push(parseInt(e.slice(r,r+2),16)),r+=2;else for(;r<e.length;r++)n.push(255&e.charCodeAt(r));return n},t.$l=function(e,t){return e[t]|e[t+1]<<8},t.bc=function(e,t){return e[t+1]|e[t]<<8},t.tF=function(e,t){return e[t]|e[t+1]<<8|e[t+2]<<16|16777216*e[t+3]},t.bb=function(e,t){return e[t+3]|e[t+2]<<8|e[t+1]<<16|16777216*e[t]},a.prototype=Object.create(Error.prototype),a.prototype.constructor=a},7899:function(e){"use strict";function t(e,t){var n=new Error(e);return n.code=t,n}function n(e){try{return decodeURIComponent(escape(e))}catch(t){return e}}function r(e,n,r){this.input=e.subarray(n,r),this.start=n;var i=String.fromCharCode.apply(null,this.input.subarray(0,4));if("II*\0"!==i&&"MM\0*"!==i)throw t("invalid TIFF signature","EBADDATA");this.big_endian="M"===i[0]}r.prototype.each=function(e){this.aborted=!1;var t=this.read_uint32(4);for(this.ifds_to_read=[{id:0,offset:t}];this.ifds_to_read.length>0&&!this.aborted;){var n=this.ifds_to_read.shift();n.offset&&this.scan_ifd(n.id,n.offset,e)}},r.prototype.read_uint16=function(e){var n=this.input;if(e+2>n.length)throw t("unexpected EOF","EBADDATA");return this.big_endian?256*n[e]+n[e+1]:n[e]+256*n[e+1]},r.prototype.read_uint32=function(e){var n=this.input;if(e+4>n.length)throw t("unexpected EOF","EBADDATA");return this.big_endian?16777216*n[e]+65536*n[e+1]+256*n[e+2]+n[e+3]:n[e]+256*n[e+1]+65536*n[e+2]+16777216*n[e+3]},r.prototype.is_subifd_link=function(e,t){return 0===e&&34665===t||0===e&&34853===t||34665===e&&40965===t},r.prototype.exif_format_length=function(e){switch(e){case 1:case 2:case 6:case 7:return 1;case 3:case 8:return 2;case 4:case 9:case 11:return 4;case 5:case 10:case 12:return 8;default:return 0}},r.prototype.exif_format_read=function(e,t){var n;switch(e){case 1:case 2:return n=this.input[t];case 6:return(n=this.input[t])|33554430*(128&n);case 3:return n=this.read_uint16(t);case 8:return(n=this.read_uint16(t))|131070*(32768&n);case 4:return n=this.read_uint32(t);case 9:return 0|(n=this.read_uint32(t));default:return null}},r.prototype.scan_ifd=function(e,r,i){var o=this.read_uint16(r);r+=2;for(var a=0;a<o;a++){var s=this.read_uint16(r),u=this.read_uint16(r+2),f=this.read_uint32(r+4),l=this.exif_format_length(u),c=f*l,h=c<=4?r+8:this.read_uint32(r+8),g=!1;if(h+c>this.input.length)throw t("unexpected EOF","EBADDATA");for(var p=[],d=h,v=0;v<f;v++,d+=l){var m=this.exif_format_read(u,d);if(null===m){p=null;break}p.push(m)}if(Array.isArray(p)&&2===u&&(p=n(String.fromCharCode.apply(null,p)))&&"\0"===p[p.length-1]&&(p=p.slice(0,-1)),this.is_subifd_link(e,s)&&Array.isArray(p)&&Number.isInteger(p[0])&&p[0]>0&&(this.ifds_to_read.push({id:s,offset:p[0]}),g=!0),!1===i({is_big_endian:this.big_endian,ifd:e,tag:s,format:u,count:f,entry_offset:r+this.start,data_length:c,data_offset:h+this.start,value:p,is_subifd_link:g}))return void(this.aborted=!0);r+=12}0===e&&this.ifds_to_read.push({id:1,offset:this.read_uint32(r)})},e.exports.ExifParser=r,e.exports.get_orientation=function(e){var t=0;try{return new r(e,0,e.length).each((function(e){if(0===e.ifd&&274===e.tag&&Array.isArray(e.value))return t=e.value[0],!1})),t}catch(n){return-1}}},26912:function(e,t,n){"use strict";var r=n(96122).bc,i=n(96122).bb;function o(e,t){if(e.length<4+t)return null;var n=i(e,t);return e.length<n+t||n<8?null:{boxtype:String.fromCharCode.apply(null,e.slice(t+4,t+8)),data:e.slice(t+8,t+n),end:t+n}}function a(e,t){for(var n=0;;){var r=o(e,n);if(!r)break;switch(r.boxtype){case"ispe":t.sizes.push({width:i(r.data,4),height:i(r.data,8)});break;case"irot":t.transforms.push({type:"irot",value:3&r.data[0]});break;case"imir":t.transforms.push({type:"imir",value:1&r.data[0]})}n=r.end}}function s(e,t,n){for(var r=0,i=0;i<n;i++)r=256*r+(e[t+i]||0);return r}function u(e,t){for(var n=e[4]>>4&15,i=15&e[4],o=e[5]>>4&15,a=r(e,6),u=8,f=0;f<a;f++){var l=r(e,u),c=r(e,u+=2),h=s(e,u+=2,o),g=r(e,u+=o);if(u+=2,0===c&&1===g){var p=s(e,u,n),d=s(e,u+n,i);t.item_loc[l]={length:d,offset:p+h}}u+=g*(n+i)}}function f(e,t){for(var n=r(e,4),i=6,a=0;a<n;a++){var s=o(e,i);if(!s)break;if("infe"===s.boxtype){for(var u=r(s.data,4),f="",l=8;l<s.data.length&&s.data[l];l++)f+=String.fromCharCode(s.data[l]);t.item_inf[f]=u}i=s.end}}function l(e,t){for(var n=0;;){var r=o(e,n);if(!r)break;"ipco"===r.boxtype&&a(r.data,t),n=r.end}}e.exports.unbox=o,e.exports.readSizeFromMeta=function(e){var t={sizes:[],transforms:[],item_inf:{},item_loc:{}};if(function(e,t){for(var n=4;;){var r=o(e,n);if(!r)break;"iprp"===r.boxtype&&l(r.data,t),"iloc"===r.boxtype&&u(r.data,t),"iinf"===r.boxtype&&f(r.data,t),n=r.end}}(e,t),t.sizes.length){var n=function(e){var t=e.reduce((function(e,t){return e.width>t.width||e.width===t.width&&e.height>t.height?e:t})),n=e.reduce((function(e,t){return e.height>t.height||e.height===t.height&&e.width>t.width?e:t}));return t.width>n.height||t.width===n.height&&t.height>n.width?t:n}(t.sizes),r=1;t.transforms.forEach((function(e){var t={1:6,2:5,3:8,4:7,5:4,6:3,7:2,8:1},n={1:4,2:3,3:2,4:1,5:6,6:5,7:8,8:7};if("imir"===e.type&&(r=0===e.value?n[r]:t[r=t[r=n[r]]]),"irot"===e.type)for(var i=0;i<e.value;i++)r=t[r]}));var i=null;return t.item_inf.Exif&&(i=t.item_loc[t.item_inf.Exif]),{width:n.width,height:n.height,orientation:t.transforms.length?r:null,variants:t.sizes,exif_location:i}}},e.exports.getMimeType=function(e){var t=String.fromCharCode.apply(null,e.slice(0,4)),n={};n[t]=!0;for(var r=8;r<e.length;r+=4)n[String.fromCharCode.apply(null,e.slice(r,r+4))]=!0;if(n.mif1||n.msf1||n.miaf)return"avif"===t||"avis"===t||"avio"===t?{type:"avif",mime:"image/avif"}:"heic"===t||"heix"===t?{type:"heic",mime:"image/heic"}:"hevc"===t||"hevx"===t?{type:"heic",mime:"image/heic-sequence"}:n.avif||n.avis?{type:"avif",mime:"image/avif"}:n.heic||n.heix||n.hevc||n.hevx||n.heis?n.msf1?{type:"heif",mime:"image/heif-sequence"}:{type:"heif",mime:"image/heif"}:{type:"avif",mime:"image/avif"}}},27807:function(e,t,n){"use strict";var r=n(96122).VG,i=n(96122).rU,o=n(96122).bb,a=n(26912),s=n(7899),u=r("ftyp");e.exports=function(e){if(i(e,4,u)){var t=a.unbox(e,0);if(t){var n=a.getMimeType(t.data);if(n){for(var r,f=t.end;;){var l=a.unbox(e,f);if(!l)break;if(f=l.end,"mdat"===l.boxtype)return;if("meta"===l.boxtype){r=l.data;break}}if(r){var c=a.readSizeFromMeta(r);if(c){var h={width:c.width,height:c.height,type:n.type,mime:n.mime,wUnits:"px",hUnits:"px"};if(c.variants.length>1&&(h.variants=c.variants),c.orientation&&(h.orientation=c.orientation),c.exif_location&&c.exif_location.offset+c.exif_location.length<=e.length){var g=o(e,c.exif_location.offset),p=e.slice(c.exif_location.offset+g+4,c.exif_location.offset+c.exif_location.length),d=s.get_orientation(p);d>0&&(h.orientation=d)}return h}}}}}}},55636:function(e,t,n){"use strict";var r=n(96122).VG,i=n(96122).rU,o=n(96122).$l,a=r("BM");e.exports=function(e){if(!(e.length<26)&&i(e,0,a))return{width:o(e,18),height:o(e,22),type:"bmp",mime:"image/bmp",wUnits:"px",hUnits:"px"}}},70717:function(e,t,n){"use strict";var r=n(96122).VG,i=n(96122).rU,o=n(96122).$l,a=r("GIF87a"),s=r("GIF89a");e.exports=function(e){if(!(e.length<10)&&(i(e,0,a)||i(e,0,s)))return{width:o(e,6),height:o(e,8),type:"gif",mime:"image/gif",wUnits:"px",hUnits:"px"}}},59650:function(e,t,n){"use strict";var r=n(96122).$l;e.exports=function(e){var t=r(e,0),n=r(e,2),i=r(e,4);if(0===t&&1===n&&i){for(var o=[],a={width:0,height:0},s=0;s<i;s++){var u=e[6+16*s]||256,f=e[6+16*s+1]||256,l={width:u,height:f};o.push(l),(u>a.width||f>a.height)&&(a=l)}return{width:a.width,height:a.height,variants:o,type:"ico",mime:"image/x-icon",wUnits:"px",hUnits:"px"}}}},77061:function(e,t,n){"use strict";var r=n(96122).bc,i=n(96122).VG,o=n(96122).rU,a=n(7899),s=i("Exif\0\0");e.exports=function(e){if(!(e.length<2)&&255===e[0]&&216===e[1])for(var t=2;;){if(e.length-t<2)return;if(255!==e[t++])return;for(var n,i,u=e[t++];255===u;)u=e[t++];if(208<=u&&u<=217||1===u)n=0;else{if(!(192<=u&&u<=254))return;if(e.length-t<2)return;n=r(e,t)-2,t+=2}if(217===u||218===u)return;if(225===u&&n>=10&&o(e,t,s)&&(i=a.get_orientation(e.slice(t+6,t+n))),n>=5&&192<=u&&u<=207&&196!==u&&200!==u&&204!==u){if(e.length-t<n)return;var f={width:r(e,t+3),height:r(e,t+1),type:"jpg",mime:"image/jpeg",wUnits:"px",hUnits:"px"};return i>0&&(f.orientation=i),f}t+=n}}},50768:function(e,t,n){"use strict";var r=n(96122).VG,i=n(96122).rU,o=n(96122).bb,a=r("\x89PNG\r\n\x1a\n"),s=r("IHDR");e.exports=function(e){if(!(e.length<24)&&i(e,0,a)&&i(e,12,s))return{width:o(e,16),height:o(e,20),type:"png",mime:"image/png",wUnits:"px",hUnits:"px"}}},55344:function(e,t,n){"use strict";var r=n(96122).VG,i=n(96122).rU,o=n(96122).bb,a=r("8BPS\0\x01");e.exports=function(e){if(!(e.length<22)&&i(e,0,a))return{width:o(e,18),height:o(e,14),type:"psd",mime:"image/vnd.adobe.photoshop",wUnits:"px",hUnits:"px"}}},1589:function(e){"use strict";function t(e){return"number"===typeof e&&isFinite(e)&&e>0}var n=/<[-_.:a-zA-Z0-9][^>]*>/,r=/^<([-_.:a-zA-Z0-9]+:)?svg\s/,i=/[^-]\bwidth="([^%]+?)"|[^-]\bwidth='([^%]+?)'/,o=/\bheight="([^%]+?)"|\bheight='([^%]+?)'/,a=/\bview[bB]ox="(.+?)"|\bview[bB]ox='(.+?)'/,s=/in$|mm$|cm$|pt$|pc$|px$|em$|ex$/;function u(e){return s.test(e)?e.match(s)[0]:"px"}e.exports=function(e){if(function(e){var t,n=0,r=e.length;for(239===e[0]&&187===e[1]&&191===e[2]&&(n=3);n<r&&(32===(t=e[n])||9===t||13===t||10===t);)n++;return n!==r&&60===e[n]}(e)){for(var s="",f=0;f<e.length;f++)s+=String.fromCharCode(e[f]);var l=(s.match(n)||[""])[0];if(r.test(l)){var c=function(e){var t=e.match(i),n=e.match(o),r=e.match(a);return{width:t&&(t[1]||t[2]),height:n&&(n[1]||n[2]),viewbox:r&&(r[1]||r[2])}}(l),h=parseFloat(c.width),g=parseFloat(c.height);if(c.width&&c.height){if(!t(h)||!t(g))return;return{width:h,height:g,type:"svg",mime:"image/svg+xml",wUnits:u(c.width),hUnits:u(c.height)}}var p=(c.viewbox||"").split(" "),d={width:p[2],height:p[3]},v=parseFloat(d.width),m=parseFloat(d.height);if(t(v)&&t(m)&&u(d.width)===u(d.height)){var x=v/m;if(c.width){if(!t(h))return;return{width:h,height:h/x,type:"svg",mime:"image/svg+xml",wUnits:u(c.width),hUnits:u(c.width)}}if(c.height){if(!t(g))return;return{width:g*x,height:g,type:"svg",mime:"image/svg+xml",wUnits:u(c.height),hUnits:u(c.height)}}return{width:v,height:m,type:"svg",mime:"image/svg+xml",wUnits:u(d.width),hUnits:u(d.height)}}}}}},76832:function(e,t,n){"use strict";var r=n(96122).VG,i=n(96122).rU,o=n(96122).$l,a=n(96122).bc,s=n(96122).tF,u=n(96122).bb,f=r("II*\0"),l=r("MM\0*");function c(e,t,n){return n?a(e,t):o(e,t)}function h(e,t,n){return n?u(e,t):s(e,t)}function g(e,t,n){var r=c(e,t+2,n);return 1!==h(e,t+4,n)||3!==r&&4!==r?null:3===r?c(e,t+8,n):h(e,t+8,n)}e.exports=function(e){if(!(e.length<8)&&(i(e,0,f)||i(e,0,l))){var t=77===e[0],n=h(e,4,t)-8;if(!(n<0)){var r=n+8;if(!(e.length-r<2)){var o=12*c(e,r+0,t);if(!(o<=0)&&(r+=2,!(e.length-r<o))){var a,s,u,p;for(a=0;a<o;a+=12)256===(p=c(e,r+a,t))?s=g(e,r+a,t):257===p&&(u=g(e,r+a,t));return s&&u?{width:s,height:u,type:"tiff",mime:"image/tiff",wUnits:"px",hUnits:"px"}:void 0}}}}}},95265:function(e,t,n){"use strict";var r=n(96122).VG,i=n(96122).rU,o=n(96122).$l,a=n(96122).tF,s=n(7899),u=r("RIFF"),f=r("WEBP");function l(e,t){if(157===e[t+3]&&1===e[t+4]&&42===e[t+5])return{width:16383&o(e,t+6),height:16383&o(e,t+8),type:"webp",mime:"image/webp",wUnits:"px",hUnits:"px"}}function c(e,t){if(47===e[t]){var n=a(e,t+1);return{width:1+(16383&n),height:1+(n>>14&16383),type:"webp",mime:"image/webp",wUnits:"px",hUnits:"px"}}}function h(e,t){return{width:1+(e[t+6]<<16|e[t+5]<<8|e[t+4]),height:1+(e[t+9]<<t|e[t+8]<<8|e[t+7]),type:"webp",mime:"image/webp",wUnits:"px",hUnits:"px"}}e.exports=function(e){if(!(e.length<16)&&(i(e,0,u)||i(e,8,f))){var t=12,n=null,r=0,o=a(e,4)+8;if(!(o>e.length)){for(;t+8<o;)if(0!==e[t]){var g=String.fromCharCode.apply(null,e.slice(t,t+4)),p=a(e,t+4);"VP8 "===g&&p>=10?n=n||l(e,t+8):"VP8L"===g&&p>=9?n=n||c(e,t+8):"VP8X"===g&&p>=10?n=n||h(e,t+8):"EXIF"===g&&(r=s.get_orientation(e.slice(t+8,t+8+p)),t=1/0),t+=8+p}else t++;if(n)return r>0&&(n.orientation=r),n}}}},32985:function(e,t,n){"use strict";e.exports={avif:n(27807),bmp:n(55636),gif:n(70717),ico:n(59650),jpeg:n(77061),png:n(50768),psd:n(55344),svg:n(1589),tiff:n(76832),webp:n(95265)}},13976:function(e,t,n){"use strict";var r=n(32985);e.exports=function(e){return function(e){for(var t=Object.keys(r),n=0;n<t.length;n++){var i=r[t[n]](e);if(i)return i}return null}(e)},e.exports.parsers=r},73453:function(e,t,n){e.exports=n(88584)}}]);
@@ -0,0 +1,5 @@
1
+ /*
2
+ * @copyright 2016 Sean Connelly (@voidqk), http://syntheti.cc
3
+ * @license MIT
4
+ * @preserve Project Home: https://github.com/voidqk/polybooljs
5
+ */
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_mlflow_mlflow=self.webpackChunk_mlflow_mlflow||[]).push([[6933],{19744:function(e,t,o){var a=o(5153),i=o(46218),r=o(62405),n=o(62453),s=o(32915),l=o(87241).extendFlat,p=a({editType:"calc",description:["Sets the global font.","Note that fonts used in traces and other","layout components inherit from the global font."].join(" ")});p.family.dflt='"Open Sans", verdana, arial, sans-serif',p.size.dflt=12,p.color.dflt=r.defaultLine,e.exports={font:p,title:{text:{valType:"string",editType:"layoutstyle",description:["Sets the plot's title.","Note that before the existence of `title.text`, the title's","contents used to be defined as the `title` attribute itself.","This behavior has been deprecated."].join(" ")},font:a({editType:"layoutstyle",description:["Sets the title font.","Note that the title's font used to be customized","by the now deprecated `titlefont` attribute."].join(" ")}),xref:{valType:"enumerated",dflt:"container",values:["container","paper"],editType:"layoutstyle",description:["Sets the container `x` refers to.","*container* spans the entire `width` of the plot.","*paper* refers to the width of the plotting area only."].join(" ")},yref:{valType:"enumerated",dflt:"container",values:["container","paper"],editType:"layoutstyle",description:["Sets the container `y` refers to.","*container* spans the entire `height` of the plot.","*paper* refers to the height of the plotting area only."].join(" ")},x:{valType:"number",min:0,max:1,dflt:.5,editType:"layoutstyle",description:["Sets the x position with respect to `xref` in normalized","coordinates from *0* (left) to *1* (right)."].join(" ")},y:{valType:"number",min:0,max:1,dflt:"auto",editType:"layoutstyle",description:["Sets the y position with respect to `yref` in normalized","coordinates from *0* (bottom) to *1* (top).","*auto* places the baseline of the title onto the","vertical center of the top margin."].join(" ")},xanchor:{valType:"enumerated",dflt:"auto",values:["auto","left","center","right"],editType:"layoutstyle",description:["Sets the title's horizontal alignment with respect to its x position.","*left* means that the title starts at x,","*right* means that the title ends at x","and *center* means that the title's center is at x.","*auto* divides `xref` by three and calculates the `xanchor`","value automatically based on the value of `x`."].join(" ")},yanchor:{valType:"enumerated",dflt:"auto",values:["auto","top","middle","bottom"],editType:"layoutstyle",description:["Sets the title's vertical alignment with respect to its y position.","*top* means that the title's cap line is at y,","*bottom* means that the title's baseline is at y","and *middle* means that the title's midline is at y.","*auto* divides `yref` by three and calculates the `yanchor`","value automatically based on the value of `y`."].join(" ")},pad:l(s({editType:"layoutstyle"}),{description:["Sets the padding of the title.","Each padding value only applies when the corresponding","`xanchor`/`yanchor` value is set accordingly. E.g. for left","padding to take effect, `xanchor` must be set to *left*.","The same rule applies if `xanchor`/`yanchor` is determined automatically.","Padding is muted if the respective anchor value is *middle*/*center*."].join(" ")}),editType:"layoutstyle"},uniformtext:{mode:{valType:"enumerated",values:[!1,"hide","show"],dflt:!1,editType:"plot",description:["Determines how the font size for various text","elements are uniformed between each trace type.","If the computed text sizes were smaller than","the minimum size defined by `uniformtext.minsize`","using *hide* option hides the text; and","using *show* option shows the text without further downscaling.","Please note that if the size defined by `minsize` is greater than","the font size defined by trace, then the `minsize` is used."].join(" ")},minsize:{valType:"number",min:0,dflt:0,editType:"plot",description:["Sets the minimum text size between traces of the same type."].join(" ")},editType:"plot"},autosize:{valType:"boolean",dflt:!1,editType:"none",description:["Determines whether or not a layout width or height","that has been left undefined by the user","is initialized on each relayout.","Note that, regardless of this attribute,","an undefined layout width or height","is always initialized on the first call to plot."].join(" ")},width:{valType:"number",min:10,dflt:700,editType:"plot",description:["Sets the plot's width (in px)."].join(" ")},height:{valType:"number",min:10,dflt:450,editType:"plot",description:["Sets the plot's height (in px)."].join(" ")},margin:{l:{valType:"number",min:0,dflt:80,editType:"plot",description:"Sets the left margin (in px)."},r:{valType:"number",min:0,dflt:80,editType:"plot",description:"Sets the right margin (in px)."},t:{valType:"number",min:0,dflt:100,editType:"plot",description:"Sets the top margin (in px)."},b:{valType:"number",min:0,dflt:80,editType:"plot",description:"Sets the bottom margin (in px)."},pad:{valType:"number",min:0,dflt:0,editType:"plot",description:["Sets the amount of padding (in px)","between the plotting area and the axis lines"].join(" ")},autoexpand:{valType:"boolean",dflt:!0,editType:"plot",description:["Turns on/off margin expansion computations.","Legends, colorbars, updatemenus, sliders, axis rangeselector and rangeslider","are allowed to push the margins by defaults."].join(" ")},editType:"plot"},computed:{valType:"any",editType:"none",description:["Placeholder for exporting automargin-impacting values namely","`margin.t`, `margin.b`, `margin.l` and `margin.r` in *full-json* mode."].join(" ")},paper_bgcolor:{valType:"color",dflt:r.background,editType:"plot",description:"Sets the background color of the paper where the graph is drawn."},plot_bgcolor:{valType:"color",dflt:r.background,editType:"layoutstyle",description:["Sets the background color of the plotting area in-between x and y axes."].join(" ")},autotypenumbers:{valType:"enumerated",values:["convert types","strict"],dflt:"convert types",editType:"calc",description:["Using *strict* a numeric string in trace data is not converted to a number.","Using *convert types* a numeric string in trace data may be","treated as a number during automatic axis `type` detection.","This is the default value; however it could be overridden for individual axes."].join(" ")},separators:{valType:"string",editType:"plot",description:["Sets the decimal and thousand separators.","For example, *. * puts a '.' before decimals and a space","between thousands. In English locales, dflt is *.,* but","other locales may alter this default."].join(" ")},hidesources:{valType:"boolean",dflt:!1,editType:"plot",description:["Determines whether or not a text link citing the data source is","placed at the bottom-right cored of the figure.","Has only an effect only on graphs that have been generated via","forked graphs from the Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise)."].join(" ")},showlegend:{valType:"boolean",editType:"legend",description:["Determines whether or not a legend is drawn.","Default is `true` if there is a trace to show and any of these:","a) Two or more traces would by default be shown in the legend.","b) One pie trace is shown in the legend.","c) One trace is explicitly given with `showlegend: true`."].join(" ")},colorway:{valType:"colorlist",dflt:r.defaults,editType:"calc",description:"Sets the default trace colors."},datarevision:{valType:"any",editType:"calc",description:["If provided, a changed value tells `Plotly.react` that","one or more data arrays has changed. This way you can modify","arrays in-place rather than making a complete new copy for an","incremental change.","If NOT provided, `Plotly.react` assumes that data arrays are","being treated as immutable, thus any data array with a","different identity from its predecessor contains new data."].join(" ")},uirevision:{valType:"any",editType:"none",description:["Used to allow user interactions with the plot to persist after","`Plotly.react` calls that are unaware of these interactions.","If `uirevision` is omitted, or if it is given and it changed from","the previous `Plotly.react` call, the exact new figure is used.","If `uirevision` is truthy and did NOT change, any attribute","that has been affected by user interactions and did not receive a","different value in the new figure will keep the interaction value.","`layout.uirevision` attribute serves as the default for","`uirevision` attributes in various sub-containers. For finer","control you can set these sub-attributes directly. For example,","if your app separately controls the data on the x and y axes you","might set `xaxis.uirevision=*time*` and `yaxis.uirevision=*cost*`.","Then if only the y data is changed, you can update","`yaxis.uirevision=*quantity*` and the y axis range will reset but","the x axis range will retain any user-driven zoom."].join(" ")},editrevision:{valType:"any",editType:"none",description:["Controls persistence of user-driven changes in `editable: true`","configuration, other than trace names and axis titles.","Defaults to `layout.uirevision`."].join(" ")},selectionrevision:{valType:"any",editType:"none",description:["Controls persistence of user-driven changes in selected points","from all traces."].join(" ")},template:{valType:"any",editType:"calc",description:["Default attributes to be applied to the plot. Templates can be","created from existing plots using `Plotly.makeTemplate`, or","created manually. They should be objects with format:","`{layout: layoutTemplate, data: {[type]: [traceTemplate, ...]}, ...}`","`layoutTemplate` and `traceTemplate` are objects matching the","attribute structure of `layout` and a data trace. ","Trace templates are applied cyclically to traces of each type.","Container arrays (eg `annotations`) have special handling:","An object ending in `defaults` (eg `annotationdefaults`) is applied","to each array item. But if an item has a `templateitemname` key","we look in the template array for an item with matching `name` and","apply that instead. If no matching `name` is found we mark the item","invisible. Any named template item not referenced is appended to","the end of the array, so you can use this for a watermark annotation","or a logo image, for example. To omit one of these items on the plot,","make an item with matching `templateitemname` and `visible: false`."].join(" ")},newshape:n.newshape,activeshape:n.activeshape,meta:{valType:"any",arrayOk:!0,editType:"plot",description:["Assigns extra meta information that can be used in various `text` attributes.","Attributes such as the graph, axis and colorbar `title.text`, annotation `text`","`trace.name` in legend items, `rangeselector`, `updatemenus` and `sliders` `label` text","all support `meta`. One can access `meta` fields using template strings:","`%{meta[i]}` where `i` is the index of the `meta`","item in question.","`meta` can also be an object for example `{key: value}` which can be accessed","%{meta[key]}."].join(" ")},transition:l({},i.transition,{description:["Sets transition options used during Plotly.react updates."].join(" "),editType:"none"}),_deprecated:{title:{valType:"string",editType:"layoutstyle",description:["Value of `title` is no longer a simple *string* but a set of sub-attributes.","To set the contents of the title, please use `title.text` now."].join(" ")},titlefont:a({editType:"layoutstyle",description:["Former `titlefont` is now the sub-attribute `font` of `title`.","To customize title font properties, please use `title.font` now."].join(" ")})}}},82949:function(e,t,o){var a=o(73314),i="1.10.1",r='\xa9 <a target="_blank" href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors',n=['\xa9 <a target="_blank" href="https://carto.com/">Carto</a>',r].join(" "),s=['Map tiles by <a target="_blank" href="https://stamen.com">Stamen Design</a>','under <a target="_blank" href="https://creativecommons.org/licenses/by/3.0">CC BY 3.0</a>',"|",'Data by <a target="_blank" href="https://openstreetmap.org">OpenStreetMap</a> contributors','under <a target="_blank" href="https://www.openstreetmap.org/copyright">ODbL</a>'].join(" "),l={"open-street-map":{id:"osm",version:8,sources:{"plotly-osm-tiles":{type:"raster",attribution:r,tiles:["https://a.tile.openstreetmap.org/{z}/{x}/{y}.png","https://b.tile.openstreetmap.org/{z}/{x}/{y}.png"],tileSize:256}},layers:[{id:"plotly-osm-tiles",type:"raster",source:"plotly-osm-tiles",minzoom:0,maxzoom:22}]},"white-bg":{id:"white-bg",version:8,sources:{},layers:[{id:"white-bg",type:"background",paint:{"background-color":"#FFFFFF"},minzoom:0,maxzoom:22}]},"carto-positron":{id:"carto-positron",version:8,sources:{"plotly-carto-positron":{type:"raster",attribution:n,tiles:["https://cartodb-basemaps-c.global.ssl.fastly.net/light_all/{z}/{x}/{y}.png"],tileSize:256}},layers:[{id:"plotly-carto-positron",type:"raster",source:"plotly-carto-positron",minzoom:0,maxzoom:22}]},"carto-darkmatter":{id:"carto-darkmatter",version:8,sources:{"plotly-carto-darkmatter":{type:"raster",attribution:n,tiles:["https://cartodb-basemaps-c.global.ssl.fastly.net/dark_all/{z}/{x}/{y}.png"],tileSize:256}},layers:[{id:"plotly-carto-darkmatter",type:"raster",source:"plotly-carto-darkmatter",minzoom:0,maxzoom:22}]},"stamen-terrain":{id:"stamen-terrain",version:8,sources:{"plotly-stamen-terrain":{type:"raster",attribution:s,tiles:["https://stamen-tiles.a.ssl.fastly.net/terrain/{z}/{x}/{y}.png"],tileSize:256}},layers:[{id:"plotly-stamen-terrain",type:"raster",source:"plotly-stamen-terrain",minzoom:0,maxzoom:22}]},"stamen-toner":{id:"stamen-toner",version:8,sources:{"plotly-stamen-toner":{type:"raster",attribution:s,tiles:["https://stamen-tiles.a.ssl.fastly.net/toner/{z}/{x}/{y}.png"],tileSize:256}},layers:[{id:"plotly-stamen-toner",type:"raster",source:"plotly-stamen-toner",minzoom:0,maxzoom:22}]},"stamen-watercolor":{id:"stamen-watercolor",version:8,sources:{"plotly-stamen-watercolor":{type:"raster",attribution:['Map tiles by <a target="_blank" href="https://stamen.com">Stamen Design</a>','under <a target="_blank" href="https://creativecommons.org/licenses/by/3.0">CC BY 3.0</a>',"|",'Data by <a target="_blank" href="https://openstreetmap.org">OpenStreetMap</a> contributors','under <a target="_blank" href="https://creativecommons.org/licenses/by-sa/3.0">CC BY SA</a>'].join(" "),tiles:["https://stamen-tiles.a.ssl.fastly.net/watercolor/{z}/{x}/{y}.png"],tileSize:256}},layers:[{id:"plotly-stamen-watercolor",type:"raster",source:"plotly-stamen-watercolor",minzoom:0,maxzoom:22}]}},p=a(l);e.exports={requiredVersion:i,styleUrlPrefix:"mapbox://styles/mapbox/",styleUrlSuffix:"v9",styleValuesMapbox:["basic","streets","outdoors","light","dark","satellite","satellite-streets"],styleValueDflt:"basic",stylesNonMapbox:l,styleValuesNonMapbox:p,traceLayerPrefix:"plotly-trace-layer-",layoutLayerPrefix:"plotly-layout-layer-",wrongVersionErrorMsg:["Your custom plotly.js bundle is not using the correct mapbox-gl version","Please install mapbox-gl@"+i+"."].join("\n"),noAccessTokenErrorMsg:["Missing Mapbox access token.","Mapbox trace type require a Mapbox access token to be registered.","For example:"," Plotly.newPlot(gd, data, layout, { mapboxAccessToken: 'my-access-token' });","More info here: https://www.mapbox.com/help/define-access-token/"].join("\n"),missingStyleErrorMsg:["No valid mapbox style found, please set `mapbox.style` to one of:",p.join(", "),"or register a Mapbox access token to use a Mapbox-served style."].join("\n"),multipleTokensErrorMsg:["Set multiple mapbox access token across different mapbox subplot,","using first token found as mapbox-gl does not allow multipleaccess tokens on the same page."].join("\n"),mapOnErrorMsg:"Mapbox error.",mapboxLogo:{path0:"m 10.5,1.24 c -5.11,0 -9.25,4.15 -9.25,9.25 0,5.1 4.15,9.25 9.25,9.25 5.1,0 9.25,-4.15 9.25,-9.25 0,-5.11 -4.14,-9.25 -9.25,-9.25 z m 4.39,11.53 c -1.93,1.93 -4.78,2.31 -6.7,2.31 -0.7,0 -1.41,-0.05 -2.1,-0.16 0,0 -1.02,-5.64 2.14,-8.81 0.83,-0.83 1.95,-1.28 3.13,-1.28 1.27,0 2.49,0.51 3.39,1.42 1.84,1.84 1.89,4.75 0.14,6.52 z",path1:"M 10.5,-0.01 C 4.7,-0.01 0,4.7 0,10.49 c 0,5.79 4.7,10.5 10.5,10.5 5.8,0 10.5,-4.7 10.5,-10.5 C 20.99,4.7 16.3,-0.01 10.5,-0.01 Z m 0,19.75 c -5.11,0 -9.25,-4.15 -9.25,-9.25 0,-5.1 4.14,-9.26 9.25,-9.26 5.11,0 9.25,4.15 9.25,9.25 0,5.13 -4.14,9.26 -9.25,9.26 z",path2:"M 14.74,6.25 C 12.9,4.41 9.98,4.35 8.23,6.1 5.07,9.27 6.09,14.91 6.09,14.91 c 0,0 5.64,1.02 8.81,-2.14 C 16.64,11 16.59,8.09 14.74,6.25 Z m -2.27,4.09 -0.91,1.87 -0.9,-1.87 -1.86,-0.91 1.86,-0.9 0.9,-1.87 0.91,1.87 1.86,0.9 z",polygon:"11.56,12.21 10.66,10.34 8.8,9.43 10.66,8.53 11.56,6.66 12.47,8.53 14.33,9.43 12.47,10.34"},styleRules:{map:"overflow:hidden;position:relative;","missing-css":"display:none;",canary:"background-color:salmon;","ctrl-bottom-left":"position: absolute; pointer-events: none; z-index: 2; bottom: 0; left: 0;","ctrl-bottom-right":"position: absolute; pointer-events: none; z-index: 2; right: 0; bottom: 0;",ctrl:"clear: both; pointer-events: auto; transform: translate(0, 0);","ctrl-attrib.mapboxgl-compact .mapboxgl-ctrl-attrib-inner":"display: none;","ctrl-attrib.mapboxgl-compact:hover .mapboxgl-ctrl-attrib-inner":"display: block; margin-top:2px","ctrl-attrib.mapboxgl-compact:hover":"padding: 2px 24px 2px 4px; visibility: visible; margin-top: 6px;","ctrl-attrib.mapboxgl-compact::after":'content: ""; cursor: pointer; position: absolute; background-image: url(\'data:image/svg+xml;charset=utf-8,%3Csvg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"%3E %3Cpath fill="%23333333" fill-rule="evenodd" d="M4,10a6,6 0 1,0 12,0a6,6 0 1,0 -12,0 M9,7a1,1 0 1,0 2,0a1,1 0 1,0 -2,0 M9,10a1,1 0 1,1 2,0l0,3a1,1 0 1,1 -2,0"/%3E %3C/svg%3E\'); background-color: rgba(255, 255, 255, 0.5); width: 24px; height: 24px; box-sizing: border-box; border-radius: 12px;',"ctrl-attrib.mapboxgl-compact":"min-height: 20px; padding: 0; margin: 10px; position: relative; background-color: #fff; border-radius: 3px 12px 12px 3px;","ctrl-bottom-right > .mapboxgl-ctrl-attrib.mapboxgl-compact::after":"bottom: 0; right: 0","ctrl-bottom-left > .mapboxgl-ctrl-attrib.mapboxgl-compact::after":"bottom: 0; left: 0","ctrl-bottom-left .mapboxgl-ctrl":"margin: 0 0 10px 10px; float: left;","ctrl-bottom-right .mapboxgl-ctrl":"margin: 0 10px 10px 0; float: right;","ctrl-attrib":"color: rgba(0, 0, 0, 0.75); text-decoration: none; font-size: 12px","ctrl-attrib a":"color: rgba(0, 0, 0, 0.75); text-decoration: none; font-size: 12px","ctrl-attrib a:hover":"color: inherit; text-decoration: underline;","ctrl-attrib .mapbox-improve-map":"font-weight: bold; margin-left: 2px;","attrib-empty":"display: none;","ctrl-logo":'display:block; width: 21px; height: 21px; background-image: url(\'data:image/svg+xml;charset=utf-8,%3C?xml version="1.0" encoding="utf-8"?%3E %3Csvg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 21 21" style="enable-background:new 0 0 21 21;" xml:space="preserve"%3E%3Cg transform="translate(0,0.01)"%3E%3Cpath d="m 10.5,1.24 c -5.11,0 -9.25,4.15 -9.25,9.25 0,5.1 4.15,9.25 9.25,9.25 5.1,0 9.25,-4.15 9.25,-9.25 0,-5.11 -4.14,-9.25 -9.25,-9.25 z m 4.39,11.53 c -1.93,1.93 -4.78,2.31 -6.7,2.31 -0.7,0 -1.41,-0.05 -2.1,-0.16 0,0 -1.02,-5.64 2.14,-8.81 0.83,-0.83 1.95,-1.28 3.13,-1.28 1.27,0 2.49,0.51 3.39,1.42 1.84,1.84 1.89,4.75 0.14,6.52 z" style="opacity:0.9;fill:%23ffffff;enable-background:new" class="st0"/%3E%3Cpath d="M 10.5,-0.01 C 4.7,-0.01 0,4.7 0,10.49 c 0,5.79 4.7,10.5 10.5,10.5 5.8,0 10.5,-4.7 10.5,-10.5 C 20.99,4.7 16.3,-0.01 10.5,-0.01 Z m 0,19.75 c -5.11,0 -9.25,-4.15 -9.25,-9.25 0,-5.1 4.14,-9.26 9.25,-9.26 5.11,0 9.25,4.15 9.25,9.25 0,5.13 -4.14,9.26 -9.25,9.26 z" style="opacity:0.35;enable-background:new" class="st1"/%3E%3Cpath d="M 14.74,6.25 C 12.9,4.41 9.98,4.35 8.23,6.1 5.07,9.27 6.09,14.91 6.09,14.91 c 0,0 5.64,1.02 8.81,-2.14 C 16.64,11 16.59,8.09 14.74,6.25 Z m -2.27,4.09 -0.91,1.87 -0.9,-1.87 -1.86,-0.91 1.86,-0.9 0.9,-1.87 0.91,1.87 1.86,0.9 z" style="opacity:0.35;enable-background:new" class="st1"/%3E%3Cpolygon points="11.56,12.21 10.66,10.34 8.8,9.43 10.66,8.53 11.56,6.66 12.47,8.53 14.33,9.43 12.47,10.34 " style="opacity:0.9;fill:%23ffffff;enable-background:new" class="st0"/%3E%3C/g%3E%3C/svg%3E\')'}}},28594:function(e,t,o){var a=o(47401);e.exports=function(e,t){var o=e.split(" "),i=o[0],r=o[1],n=a.isArrayOrTypedArray(t)?a.mean(t):t,s=.5+n/100,l=1.5+n/100,p=["",""],c=[0,0];switch(i){case"top":p[0]="top",c[1]=-l;break;case"bottom":p[0]="bottom",c[1]=l}switch(r){case"left":p[1]="right",c[0]=-s;break;case"right":p[1]="left",c[0]=s}return{anchor:p[0]&&p[1]?p.join("-"):p[0]?p[0]:p[1]?p[1]:"center",offset:c}}},25456:function(e,t,o){var a=o(68953),i=o(47401),r=i.strTranslate,n=i.strScale,s=o(13373).fX,l=o(6412),p=o(62258),c=o(41707),d=o(43995),u=o(4409),h="mapbox",y=t.constants=o(82949);function m(e){return"string"===typeof e&&(-1!==y.styleValuesMapbox.indexOf(e)||0===e.indexOf("mapbox://"))}t.name=h,t.attr="subplot",t.idRoot=h,t.idRegex=t.attrRegex=i.counterRegex(h),t.attributes={subplot:{valType:"subplotid",dflt:"mapbox",editType:"calc",description:["Sets a reference between this trace's data coordinates and","a mapbox subplot.","If *mapbox* (the default value), the data refer to `layout.mapbox`.","If *mapbox2*, the data refer to `layout.mapbox2`, and so on."].join(" ")}},t.layoutAttributes=o(94890),t.supplyLayoutDefaults=o(84541),t.plot=function(e){var t=e._fullLayout,o=e.calcdata,r=t._subplots[h];if(a.version!==y.requiredVersion)throw new Error(y.wrongVersionErrorMsg);var n=function(e,t){var o=e._fullLayout,a=e._context;if(""===a.mapboxAccessToken)return"";for(var r=[],n=[],s=!1,l=!1,p=0;p<t.length;p++){var c=o[t[p]],d=c.accesstoken;m(c.style)&&(d?i.pushUnique(r,d):(m(c._input.style)&&(i.error("Uses Mapbox map style, but did not set an access token."),s=!0),l=!0)),d&&i.pushUnique(n,d)}if(l){var u=s?y.noAccessTokenErrorMsg:y.missingStyleErrorMsg;throw i.error(u),new Error(u)}return r.length?(r.length>1&&i.warn(y.multipleTokensErrorMsg),r[0]):(n.length&&i.log(["Listed mapbox access token(s)",n.join(","),"but did not use a Mapbox map style, ignoring token(s)."].join(" ")),"")}(e,r);a.accessToken=n;for(var l=0;l<r.length;l++){var p=r[l],c=s(o,h,p),d=t[p],f=d._subplot;f||(f=new u(e,p),t[p]._subplot=f),f.viewInitial||(f.viewInitial={center:i.extendFlat({},d.center),zoom:d.zoom,bearing:d.bearing,pitch:d.pitch}),f.plot(c,t,e._promises)}},t.clean=function(e,t,o,a){for(var i=a._subplots[h]||[],r=0;r<i.length;r++){var n=i[r];!t[n]&&a[n]._subplot&&a[n]._subplot.destroy()}},t.toSVG=function(e){for(var t=e._fullLayout,o=t._subplots[h],a=t._size,i=0;i<o.length;i++){var s=t[o[i]],u=s.domain,m=s._subplot.toImage("png");t._glimages.append("svg:image").attr({xmlns:l.svg,"xlink:href":m,x:a.l+a.w*u.x[0],y:a.t+a.h*(1-u.y[1]),width:a.w*(u.x[1]-u.x[0]),height:a.h*(u.y[1]-u.y[0]),preserveAspectRatio:"none"});var f=p.select(s._subplot.div);if(!(null===f.select(".mapboxgl-ctrl-logo").node().offsetParent)){var b=t._glimages.append("g");b.attr("transform",r(a.l+a.w*u.x[0]+10,a.t+a.h*(1-u.y[0])-31)),b.append("path").attr("d",y.mapboxLogo.path0).style({opacity:.9,fill:"#ffffff","enable-background":"new"}),b.append("path").attr("d",y.mapboxLogo.path1).style("opacity",.35).style("enable-background","new"),b.append("path").attr("d",y.mapboxLogo.path2).style("opacity",.35).style("enable-background","new"),b.append("polygon").attr("points",y.mapboxLogo.polygon).style({opacity:.9,fill:"#ffffff","enable-background":"new"})}var g=f.select(".mapboxgl-ctrl-attrib").text().replace("Improve this map",""),x=t._glimages.append("g"),v=x.append("text");v.text(g).classed("static-attribution",!0).attr({"font-size":12,"font-family":"Arial",color:"rgba(0, 0, 0, 0.75)","text-anchor":"end","data-unformatted":g});var w=c.bBox(v.node()),T=a.w*(u.x[1]-u.x[0]);if(w.width>T/2){var k=g.split("|").join("<br>");v.text(k).attr("data-unformatted",k).call(d.convertToTspans,e),w=c.bBox(v.node())}v.attr("transform",r(-3,8-w.height)),x.insert("rect",".static-attribution").attr({x:-w.width-6,y:-w.height-3,width:w.width+6,height:w.height+3,fill:"rgba(255, 255, 255, 0.75)"});var S=1;w.width+6>T&&(S=T/(w.width+6));var z=[a.l+a.w*u.x[1],a.t+a.h*(1-u.y[0])];x.attr("transform",r(z[0],z[1])+n(S))}},t.updateFx=function(e){for(var t=e._fullLayout,o=t._subplots[h],a=0;a<o.length;a++){t[o[a]]._subplot.updateFx(t)}}},75612:function(e,t,o){var a=o(47401),i=o(43995).sanitizeHTML,r=o(28594),n=o(82949);function s(e,t){this.subplot=e,this.uid=e.uid+"-"+t,this.index=t,this.idSource="source-"+this.uid,this.idLayer=n.layoutLayerPrefix+this.uid,this.sourceType=null,this.source=null,this.layerType=null,this.below=null,this.visible=!1}var l=s.prototype;function p(e){if(!e.visible)return!1;var t=e.source;if(Array.isArray(t)&&t.length>0){for(var o=0;o<t.length;o++)if("string"!==typeof t[o]||0===t[o].length)return!1;return!0}return a.isPlainObject(t)||"string"===typeof t&&t.length>0}function c(e){var t={},o={};switch(e.type){case"circle":a.extendFlat(o,{"circle-radius":e.circle.radius,"circle-color":e.color,"circle-opacity":e.opacity});break;case"line":a.extendFlat(o,{"line-width":e.line.width,"line-color":e.color,"line-opacity":e.opacity,"line-dasharray":e.line.dash});break;case"fill":a.extendFlat(o,{"fill-color":e.color,"fill-outline-color":e.fill.outlinecolor,"fill-opacity":e.opacity});break;case"symbol":var i=e.symbol,n=r(i.textposition,i.iconsize);a.extendFlat(t,{"icon-image":i.icon+"-15","icon-size":i.iconsize/10,"text-field":i.text,"text-size":i.textfont.size,"text-anchor":n.anchor,"text-offset":n.offset,"symbol-placement":i.placement}),a.extendFlat(o,{"icon-color":e.color,"text-color":i.textfont.color,"text-opacity":e.opacity});break;case"raster":a.extendFlat(o,{"raster-fade-duration":0,"raster-opacity":e.opacity})}return{layout:t,paint:o}}l.update=function(e){this.visible?this.needsNewImage(e)?this.updateImage(e):this.needsNewSource(e)?(this.removeLayer(),this.updateSource(e),this.updateLayer(e)):this.needsNewLayer(e)?this.updateLayer(e):this.updateStyle(e):(this.updateSource(e),this.updateLayer(e)),this.visible=p(e)},l.needsNewImage=function(e){return this.subplot.map.getSource(this.idSource)&&"image"===this.sourceType&&"image"===e.sourcetype&&(this.source!==e.source||JSON.stringify(this.coordinates)!==JSON.stringify(e.coordinates))},l.needsNewSource=function(e){return this.sourceType!==e.sourcetype||JSON.stringify(this.source)!==JSON.stringify(e.source)||this.layerType!==e.type},l.needsNewLayer=function(e){return this.layerType!==e.type||this.below!==this.subplot.belowLookup["layout-"+this.index]},l.lookupBelow=function(){return this.subplot.belowLookup["layout-"+this.index]},l.updateImage=function(e){this.subplot.map.getSource(this.idSource).updateImage({url:e.source,coordinates:e.coordinates});var t=this.findFollowingMapboxLayerId(this.lookupBelow());null!==t&&this.subplot.map.moveLayer(this.idLayer,t)},l.updateSource=function(e){var t=this.subplot.map;if(t.getSource(this.idSource)&&t.removeSource(this.idSource),this.sourceType=e.sourcetype,this.source=e.source,p(e)){var o=function(e){var t,o=e.sourcetype,a=e.source,r={type:o};"geojson"===o?t="data":"vector"===o?t="string"===typeof a?"url":"tiles":"raster"===o?(t="tiles",r.tileSize=256):"image"===o&&(t="url",r.coordinates=e.coordinates);r[t]=a,e.sourceattribution&&(r.attribution=i(e.sourceattribution));return r}(e);t.addSource(this.idSource,o)}},l.findFollowingMapboxLayerId=function(e){if("traces"===e)for(var t=this.subplot.getMapLayers(),o=0;o<t.length;o++){var a=t[o].id;if("string"===typeof a&&0===a.indexOf(n.traceLayerPrefix)){e=a;break}}return e},l.updateLayer=function(e){var t=this.subplot,o=c(e),a=this.lookupBelow(),i=this.findFollowingMapboxLayerId(a);this.removeLayer(),p(e)&&t.addLayer({id:this.idLayer,source:this.idSource,"source-layer":e.sourcelayer||"",type:e.type,minzoom:e.minzoom,maxzoom:e.maxzoom,layout:o.layout,paint:o.paint},i),this.layerType=e.type,this.below=a},l.updateStyle=function(e){if(p(e)){var t=c(e);this.subplot.setOptions(this.idLayer,"setLayoutProperty",t.layout),this.subplot.setOptions(this.idLayer,"setPaintProperty",t.paint)}},l.removeLayer=function(){var e=this.subplot.map;e.getLayer(this.idLayer)&&e.removeLayer(this.idLayer)},l.dispose=function(){var e=this.subplot.map;e.getLayer(this.idLayer)&&e.removeLayer(this.idLayer),e.getSource(this.idSource)&&e.removeSource(this.idSource)},e.exports=function(e,t,o){var a=new s(e,t);return a.update(o),a}},94890:function(e,t,o){var a=o(47401),i=o(31454).defaultLine,r=o(16688).u,n=o(5153),s=o(47216).textposition,l=o(17342).overrideAll,p=o(92704).templatedArray,c=o(82949),d=n({description:["Sets the icon text font (color=mapbox.layer.paint.text-color, size=mapbox.layer.layout.text-size).","Has an effect only when `type` is set to *symbol*."].join(" ")});d.family.dflt="Open Sans Regular, Arial Unicode MS Regular",(e.exports=l({_arrayAttrRegexps:[a.counterRegex("mapbox",".layers",!0)],domain:r({name:"mapbox"}),accesstoken:{valType:"string",noBlank:!0,strict:!0,description:["Sets the mapbox access token to be used for this mapbox map.","Alternatively, the mapbox access token can be set in the","configuration options under `mapboxAccessToken`.","Note that accessToken are only required when `style`","(e.g with values :",c.styleValuesMapbox.join(", "),")","and/or a layout layer references the Mapbox server."].join(" ")},style:{valType:"any",values:c.styleValuesMapbox.concat(c.styleValuesNonMapbox),dflt:c.styleValueDflt,description:["Defines the map layers that are rendered by default below the trace layers defined in `data`,","which are themselves by default rendered below the layers defined in `layout.mapbox.layers`.","","These layers can be defined either explicitly as a Mapbox Style object which can contain multiple","layer definitions that load data from any public or private Tile Map Service (TMS or XYZ) or Web Map Service (WMS)","or implicitly by using one of the built-in style objects which use WMSes which do not require any","access tokens, or by using a default Mapbox style or custom Mapbox style URL, both of","which require a Mapbox access token","","Note that Mapbox access token can be set in the `accesstoken` attribute","or in the `mapboxAccessToken` config option.","","Mapbox Style objects are of the form described in the Mapbox GL JS documentation available at","https://docs.mapbox.com/mapbox-gl-js/style-spec","","The built-in plotly.js styles objects are:",c.styleValuesNonMapbox.join(", "),"","The built-in Mapbox styles are:",c.styleValuesMapbox.join(", "),"","Mapbox style URLs are of the form: mapbox://mapbox.mapbox-<name>-<version>"].join(" ")},center:{lon:{valType:"number",dflt:0,description:"Sets the longitude of the center of the map (in degrees East)."},lat:{valType:"number",dflt:0,description:"Sets the latitude of the center of the map (in degrees North)."}},zoom:{valType:"number",dflt:1,description:"Sets the zoom level of the map (mapbox.zoom)."},bearing:{valType:"number",dflt:0,description:"Sets the bearing angle of the map in degrees counter-clockwise from North (mapbox.bearing)."},pitch:{valType:"number",dflt:0,description:["Sets the pitch angle of the map","(in degrees, where *0* means perpendicular to the surface of the map) (mapbox.pitch)."].join(" ")},layers:p("layer",{visible:{valType:"boolean",dflt:!0,description:["Determines whether this layer is displayed"].join(" ")},sourcetype:{valType:"enumerated",values:["geojson","vector","raster","image"],dflt:"geojson",description:["Sets the source type for this layer,","that is the type of the layer data."].join(" ")},source:{valType:"any",description:["Sets the source data for this layer (mapbox.layer.source).","When `sourcetype` is set to *geojson*, `source` can be a URL to a GeoJSON","or a GeoJSON object.","When `sourcetype` is set to *vector* or *raster*, `source` can be a URL or","an array of tile URLs.","When `sourcetype` is set to *image*, `source` can be a URL to an image."].join(" ")},sourcelayer:{valType:"string",dflt:"",description:["Specifies the layer to use from a vector tile source (mapbox.layer.source-layer).","Required for *vector* source type that supports multiple layers."].join(" ")},sourceattribution:{valType:"string",description:["Sets the attribution for this source."].join(" ")},type:{valType:"enumerated",values:["circle","line","fill","symbol","raster"],dflt:"circle",description:["Sets the layer type,","that is the how the layer data set in `source` will be rendered","With `sourcetype` set to *geojson*, the following values are allowed:","*circle*, *line*, *fill* and *symbol*.","but note that *line* and *fill* are not compatible with Point","GeoJSON geometries.","With `sourcetype` set to *vector*, the following values are allowed:"," *circle*, *line*, *fill* and *symbol*.","With `sourcetype` set to *raster* or `*image*`, only the *raster* value is allowed."].join(" ")},coordinates:{valType:"any",description:["Sets the coordinates array contains [longitude, latitude] pairs","for the image corners listed in clockwise order:","top left, top right, bottom right, bottom left.","Only has an effect for *image* `sourcetype`."].join(" ")},below:{valType:"string",description:["Determines if the layer will be inserted","before the layer with the specified ID.","If omitted or set to '',","the layer will be inserted above every existing layer."].join(" ")},color:{valType:"color",dflt:i,description:["Sets the primary layer color.","If `type` is *circle*, color corresponds to the circle color (mapbox.layer.paint.circle-color)","If `type` is *line*, color corresponds to the line color (mapbox.layer.paint.line-color)","If `type` is *fill*, color corresponds to the fill color (mapbox.layer.paint.fill-color)","If `type` is *symbol*, color corresponds to the icon color (mapbox.layer.paint.icon-color)"].join(" ")},opacity:{valType:"number",min:0,max:1,dflt:1,description:["Sets the opacity of the layer.","If `type` is *circle*, opacity corresponds to the circle opacity (mapbox.layer.paint.circle-opacity)","If `type` is *line*, opacity corresponds to the line opacity (mapbox.layer.paint.line-opacity)","If `type` is *fill*, opacity corresponds to the fill opacity (mapbox.layer.paint.fill-opacity)","If `type` is *symbol*, opacity corresponds to the icon/text opacity (mapbox.layer.paint.text-opacity)"].join(" ")},minzoom:{valType:"number",min:0,max:24,dflt:0,description:["Sets the minimum zoom level (mapbox.layer.minzoom).","At zoom levels less than the minzoom, the layer will be hidden."].join(" ")},maxzoom:{valType:"number",min:0,max:24,dflt:24,description:["Sets the maximum zoom level (mapbox.layer.maxzoom).","At zoom levels equal to or greater than the maxzoom, the layer will be hidden."].join(" ")},circle:{radius:{valType:"number",dflt:15,description:["Sets the circle radius (mapbox.layer.paint.circle-radius).","Has an effect only when `type` is set to *circle*."].join(" ")}},line:{width:{valType:"number",dflt:2,description:["Sets the line width (mapbox.layer.paint.line-width).","Has an effect only when `type` is set to *line*."].join(" ")},dash:{valType:"data_array",description:["Sets the length of dashes and gaps (mapbox.layer.paint.line-dasharray).","Has an effect only when `type` is set to *line*."].join(" ")}},fill:{outlinecolor:{valType:"color",dflt:i,description:["Sets the fill outline color (mapbox.layer.paint.fill-outline-color).","Has an effect only when `type` is set to *fill*."].join(" ")}},symbol:{icon:{valType:"string",dflt:"marker",description:["Sets the symbol icon image (mapbox.layer.layout.icon-image).","Full list: https://www.mapbox.com/maki-icons/"].join(" ")},iconsize:{valType:"number",dflt:10,description:["Sets the symbol icon size (mapbox.layer.layout.icon-size).","Has an effect only when `type` is set to *symbol*."].join(" ")},text:{valType:"string",dflt:"",description:["Sets the symbol text (mapbox.layer.layout.text-field)."].join(" ")},placement:{valType:"enumerated",values:["point","line","line-center"],dflt:"point",description:["Sets the symbol and/or text placement (mapbox.layer.layout.symbol-placement).","If `placement` is *point*, the label is placed where the geometry is located","If `placement` is *line*, the label is placed along the line of the geometry","If `placement` is *line-center*, the label is placed on the center of the geometry"].join(" ")},textfont:d,textposition:a.extendFlat({},s,{arrayOk:!1})}})},"plot","from-root")).uirevision={valType:"any",editType:"none",description:["Controls persistence of user-driven changes in the view:","`center`, `zoom`, `bearing`, `pitch`. Defaults to `layout.uirevision`."].join(" ")}},84541:function(e,t,o){var a=o(47401),i=o(20112),r=o(26800),n=o(94890);function s(e,t,o,a){o("accesstoken",a.accessToken),o("style"),o("center.lon"),o("center.lat"),o("zoom"),o("bearing"),o("pitch"),r(e,t,{name:"layers",handleItemDefaults:l}),t._input=e}function l(e,t){function o(o,i){return a.coerce(e,t,n.layers,o,i)}if(o("visible")){var i,r=o("sourcetype"),s="raster"===r||"image"===r;o("source"),o("sourceattribution"),"vector"===r&&o("sourcelayer"),"image"===r&&o("coordinates"),s&&(i="raster");var l=o("type",i);s&&"raster"!==l&&(l=t.type="raster",a.log("Source types *raster* and *image* must drawn *raster* layer type.")),o("below"),o("color"),o("opacity"),o("minzoom"),o("maxzoom"),"circle"===l&&o("circle.radius"),"line"===l&&(o("line.width"),o("line.dash")),"fill"===l&&o("fill.outlinecolor"),"symbol"===l&&(o("symbol.icon"),o("symbol.iconsize"),o("symbol.text"),a.coerceFont(o,"symbol.textfont"),o("symbol.textposition"),o("symbol.placement"))}}e.exports=function(e,t,o){i(e,t,o,{type:"mapbox",attributes:n,handleDefaults:s,partition:"y",accessToken:t._mapboxAccessToken})}},4409:function(e,t,o){var a=o(68953),i=o(47401),r=o(40458),n=o(62282),s=o(37762),l=o(52783),p=o(21661),c=o(42910),d=c.rectMode,u=c.drawMode,h=c.selectMode,y=o(88987).prepSelect,m=o(88987).clearSelect,f=o(88987).clearSelectionsCache,b=o(88987).selectOnClick,g=o(82949),x=o(75612);function v(e,t){this.id=t,this.gd=e;var o=e._fullLayout,a=e._context;this.container=o._glcontainer.node(),this.isStatic=a.staticPlot,this.uid=o._uid+"-"+this.id,this.div=null,this.xaxis=null,this.yaxis=null,this.createFramework(o),this.map=null,this.accessToken=null,this.styleObj=null,this.traceHash={},this.layerList=[],this.belowLookup={},this.dragging=!1,this.wheeling=!1}var w=v.prototype;w.plot=function(e,t,o){var a,i=this,r=t[i.id];i.map&&r.accesstoken!==i.accessToken&&(i.map.remove(),i.map=null,i.styleObj=null,i.traceHash={},i.layerList=[]),a=i.map?new Promise((function(o,a){i.updateMap(e,t,o,a)})):new Promise((function(o,a){i.createMap(e,t,o,a)})),o.push(a)},w.createMap=function(e,t,o,i){var n=this,s=t[n.id],l=n.styleObj=k(s.style);n.accessToken=s.accesstoken;var p=n.map=new a.Map({container:n.div,style:l.style,center:z(s.center),zoom:s.zoom,bearing:s.bearing,pitch:s.pitch,interactive:!n.isStatic,preserveDrawingBuffer:n.isStatic,doubleClickZoom:!1,boxZoom:!1,attributionControl:!1}).addControl(new a.AttributionControl({compact:!0}));p._canvas.style.left="0px",p._canvas.style.top="0px",n.rejectOnError(i),n.isStatic||n.initFx(e,t);var c=[];c.push(new Promise((function(e){p.once("load",e)}))),c=c.concat(r.fetchTraceGeoData(e)),Promise.all(c).then((function(){n.fillBelowLookup(e,t),n.updateData(e),n.updateLayout(t),n.resolveOnRender(o)})).catch(i)},w.updateMap=function(e,t,o,a){var i=this,n=i.map,s=t[this.id];i.rejectOnError(a);var l=[],p=k(s.style);JSON.stringify(i.styleObj)!==JSON.stringify(p)&&(i.styleObj=p,n.setStyle(p.style),i.traceHash={},l.push(new Promise((function(e){n.once("styledata",e)})))),l=l.concat(r.fetchTraceGeoData(e)),Promise.all(l).then((function(){i.fillBelowLookup(e,t),i.updateData(e),i.updateLayout(t),i.resolveOnRender(o)})).catch(a)},w.fillBelowLookup=function(e,t){var o,a,i=t[this.id].layers,r=this.belowLookup={},n=!1;for(o=0;o<e.length;o++){var s=e[o][0].trace,l=s._module;"string"===typeof s.below?a=s.below:l.getBelow&&(a=l.getBelow(s,this)),""===a&&(n=!0),r["trace-"+s.uid]=a||""}for(o=0;o<i.length;o++){var p=i[o];a="string"===typeof p.below?p.below:n?"traces":"",r["layout-"+o]=a}var c,d,u={};for(c in r)u[a=r[c]]?u[a].push(c):u[a]=[c];for(a in u){var h=u[a];if(h.length>1)for(o=0;o<h.length;o++)0===(c=h[o]).indexOf("trace-")?(d=c.split("trace-")[1],this.traceHash[d]&&(this.traceHash[d].below=null)):0===c.indexOf("layout-")&&(d=c.split("layout-")[1],this.layerList[d]&&(this.layerList[d].below=null))}};var T={choroplethmapbox:0,densitymapbox:1,scattermapbox:2};function k(e){var t={};return i.isPlainObject(e)?(t.id=e.id,t.style=e):"string"===typeof e?(t.id=e,-1!==g.styleValuesMapbox.indexOf(e)?t.style=S(e):g.stylesNonMapbox[e]?t.style=g.stylesNonMapbox[e]:t.style=e):(t.id=g.styleValueDflt,t.style=S(g.styleValueDflt)),t.transition={duration:0,delay:0},t}function S(e){return g.styleUrlPrefix+e+"-"+g.styleUrlSuffix}function z(e){return[e.lon,e.lat]}w.updateData=function(e){var t,o,a,i,r=this.traceHash,n=e.slice().sort((function(e,t){return T[e[0].trace.type]-T[t[0].trace.type]}));for(a=0;a<n.length;a++){var s=n[a],l=!1;(t=r[(o=s[0].trace).uid])&&(t.type===o.type?(t.update(s),l=!0):t.dispose()),!l&&o._module&&(r[o.uid]=o._module.plot(this,s))}var p=Object.keys(r);e:for(a=0;a<p.length;a++){var c=p[a];for(i=0;i<e.length;i++)if(c===(o=e[i][0].trace).uid)continue e;(t=r[c]).dispose(),delete r[c]}},w.updateLayout=function(e){var t=this.map,o=e[this.id];this.dragging||this.wheeling||(t.setCenter(z(o.center)),t.setZoom(o.zoom),t.setBearing(o.bearing),t.setPitch(o.pitch)),this.updateLayers(e),this.updateFramework(e),this.updateFx(e),this.map.resize(),this.gd._context._scrollZoom.mapbox?t.scrollZoom.enable():t.scrollZoom.disable()},w.resolveOnRender=function(e){var t=this.map;t.on("render",(function o(){t.loaded()&&(t.off("render",o),setTimeout(e,10))}))},w.rejectOnError=function(e){var t=this.map;function o(){e(new Error(g.mapOnErrorMsg))}t.once("error",o),t.once("style.error",o),t.once("source.error",o),t.once("tile.error",o),t.once("layer.error",o)},w.createFramework=function(e){var t=this,o=t.div=document.createElement("div");o.id=t.uid,o.style.position="absolute",t.container.appendChild(o),t.xaxis={_id:"x",c2p:function(e){return t.project(e).x}},t.yaxis={_id:"y",c2p:function(e){return t.project(e).y}},t.updateFramework(e),t.mockAxis={type:"linear",showexponent:"all",exponentformat:"B"},s.setConvert(t.mockAxis,e)},w.initFx=function(e,t){var o=this,a=o.gd,i=o.map;function r(){p.loneUnhover(t._hoverlayer)}function s(){var e=o.getView();a.emit("plotly_relayouting",o.getViewEditsWithDerived(e))}i.on("moveend",(function(e){if(o.map){var t=a._fullLayout;if(e.originalEvent||o.wheeling){var i=t[o.id];n.call("_storeDirectGUIEdit",a.layout,t._preGUI,o.getViewEdits(i));var r=o.getView();i._input.center=i.center=r.center,i._input.zoom=i.zoom=r.zoom,i._input.bearing=i.bearing=r.bearing,i._input.pitch=i.pitch=r.pitch,a.emit("plotly_relayout",o.getViewEditsWithDerived(r))}e.originalEvent&&"mouseup"===e.originalEvent.type?o.dragging=!1:o.wheeling&&(o.wheeling=!1),t._rehover&&t._rehover()}})),i.on("wheel",(function(){o.wheeling=!0})),i.on("mousemove",(function(e){var t=o.div.getBoundingClientRect(),r=[e.originalEvent.offsetX,e.originalEvent.offsetY];e.target.getBoundingClientRect=function(){return t},o.xaxis.p2c=function(){return i.unproject(r).lng},o.yaxis.p2c=function(){return i.unproject(r).lat},a._fullLayout._rehover=function(){a._fullLayout._hoversubplot===o.id&&a._fullLayout[o.id]&&p.hover(a,e,o.id)},p.hover(a,e,o.id),a._fullLayout._hoversubplot=o.id})),i.on("dragstart",(function(){o.dragging=!0,r()})),i.on("zoomstart",r),i.on("mouseout",(function(){a._fullLayout._hoversubplot=null})),i.on("drag",s),i.on("zoom",s),i.on("dblclick",(function(){var e=a._fullLayout[o.id];n.call("_storeDirectGUIEdit",a.layout,a._fullLayout._preGUI,o.getViewEdits(e));var t=o.viewInitial;i.setCenter(z(t.center)),i.setZoom(t.zoom),i.setBearing(t.bearing),i.setPitch(t.pitch);var r=o.getView();e._input.center=e.center=r.center,e._input.zoom=e.zoom=r.zoom,e._input.bearing=e.bearing=r.bearing,e._input.pitch=e.pitch=r.pitch,a.emit("plotly_doubleclick",null),a.emit("plotly_relayout",o.getViewEditsWithDerived(r))})),o.clearSelect=function(){f(o.dragOptions),m(o.dragOptions.gd)},o.onClickInPanFn=function(e){return function(t){var i=a._fullLayout.clickmode;i.indexOf("select")>-1&&b(t.originalEvent,a,[o.xaxis],[o.yaxis],o.id,e),i.indexOf("event")>-1&&p.click(a,t.originalEvent)}}},w.updateFx=function(e){var t=this,o=t.map,a=t.gd;if(!t.isStatic){var r,n=e.dragmode;r=d(n)?function(e,o){(e.range={})[t.id]=[p([o.xmin,o.ymin]),p([o.xmax,o.ymax])]}:function(e,o,a){(e.lassoPoints={})[t.id]=a.filtered.map(p)};var s=t.dragOptions;t.dragOptions=i.extendDeep(s||{},{dragmode:e.dragmode,element:t.div,gd:a,plotinfo:{id:t.id,domain:e[t.id].domain,xaxis:t.xaxis,yaxis:t.yaxis,fillRangeItems:r},xaxes:[t.xaxis],yaxes:[t.yaxis],subplot:t.id}),o.off("click",t.onClickInPanHandler),h(n)||u(n)?(o.dragPan.disable(),o.on("zoomstart",t.clearSelect),t.dragOptions.prepFn=function(e,o,a){y(e,o,a,t.dragOptions,n)},l.init(t.dragOptions)):(o.dragPan.enable(),o.off("zoomstart",t.clearSelect),t.div.onmousedown=null,t.onClickInPanHandler=t.onClickInPanFn(t.dragOptions),o.on("click",t.onClickInPanHandler))}function p(e){var o=t.map.unproject(e);return[o.lng,o.lat]}},w.updateFramework=function(e){var t=e[this.id].domain,o=e._size,a=this.div.style;a.width=o.w*(t.x[1]-t.x[0])+"px",a.height=o.h*(t.y[1]-t.y[0])+"px",a.left=o.l+t.x[0]*o.w+"px",a.top=o.t+(1-t.y[1])*o.h+"px",this.xaxis._offset=o.l+t.x[0]*o.w,this.xaxis._length=o.w*(t.x[1]-t.x[0]),this.yaxis._offset=o.t+(1-t.y[1])*o.h,this.yaxis._length=o.h*(t.y[1]-t.y[0])},w.updateLayers=function(e){var t,o=e[this.id].layers,a=this.layerList;if(o.length!==a.length){for(t=0;t<a.length;t++)a[t].dispose();for(a=this.layerList=[],t=0;t<o.length;t++)a.push(x(this,t,o[t]))}else for(t=0;t<o.length;t++)a[t].update(o[t])},w.destroy=function(){this.map&&(this.map.remove(),this.map=null,this.container.removeChild(this.div))},w.toImage=function(){return this.map.stop(),this.map.getCanvas().toDataURL()},w.setOptions=function(e,t,o){for(var a in o)this.map[t](e,a,o[a])},w.getMapLayers=function(){return this.map.getStyle().layers},w.addLayer=function(e,t){var o=this.map;if("string"===typeof t){if(""===t)return void o.addLayer(e,t);for(var a=this.getMapLayers(),r=0;r<a.length;r++)if(t===a[r].id)return void o.addLayer(e,t);i.warn(["Trying to add layer with *below* value",t,"referencing a layer that does not exist","or that does not yet exist."].join(" "))}o.addLayer(e)},w.project=function(e){return this.map.project(new a.LngLat(e[0],e[1]))},w.getView=function(){var e=this.map,t=e.getCenter(),o={lon:t.lng,lat:t.lat},a=e.getCanvas(),i=a.width,r=a.height;return{center:o,zoom:e.getZoom(),bearing:e.getBearing(),pitch:e.getPitch(),_derived:{coordinates:[e.unproject([0,0]).toArray(),e.unproject([i,0]).toArray(),e.unproject([i,r]).toArray(),e.unproject([0,r]).toArray()]}}},w.getViewEdits=function(e){for(var t=this.id,o=["center","zoom","bearing","pitch"],a={},i=0;i<o.length;i++){var r=o[i];a[t+"."+r]=e[r]}return a},w.getViewEditsWithDerived=function(e){var t=this.id,o=this.getViewEdits(e);return o[t+"._derived"]=e._derived,o},e.exports=v},32915:function(e){e.exports=function(e){var t=e.editType;return{t:{valType:"number",dflt:0,editType:t,description:"The amount of padding (in px) along the top of the component."},r:{valType:"number",dflt:0,editType:t,description:"The amount of padding (in px) on the right side of the component."},b:{valType:"number",dflt:0,editType:t,description:"The amount of padding (in px) along the bottom of the component."},l:{valType:"number",dflt:0,editType:t,description:"The amount of padding (in px) on the left side of the component."},editType:t}}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_mlflow_mlflow=self.webpackChunk_mlflow_mlflow||[]).push([[699],{99278:function(e,n,t){var r=t(12323),o=t.n(r),a=t(98680),c={getNow:function(){return o()()},getFixedDate:function(e){return o()(e,"YYYY-MM-DD")},getEndDate:function(e){return e.clone().endOf("month")},getWeekDay:function(e){var n=e.clone().locale("en_US");return n.weekday()+n.localeData().firstDayOfWeek()},getYear:function(e){return e.year()},getMonth:function(e){return e.month()},getDate:function(e){return e.date()},getHour:function(e){return e.hour()},getMinute:function(e){return e.minute()},getSecond:function(e){return e.second()},addYear:function(e,n){return e.clone().add(n,"year")},addMonth:function(e,n){return e.clone().add(n,"month")},addDate:function(e,n){return e.clone().add(n,"day")},setYear:function(e,n){return e.clone().year(n)},setMonth:function(e,n){return e.clone().month(n)},setDate:function(e,n){return e.clone().date(n)},setHour:function(e,n){return e.clone().hour(n)},setMinute:function(e,n){return e.clone().minute(n)},setSecond:function(e,n){return e.clone().second(n)},isAfter:function(e,n){return e.isAfter(n)},isValidate:function(e){return e.isValid()},locale:{getWeekFirstDay:function(e){return o()().locale(e).localeData().firstDayOfWeek()},getWeekFirstDate:function(e,n){return n.clone().locale(e).weekday(0)},getWeek:function(e,n){return n.clone().locale(e).week()},getShortWeekDays:function(e){return o()().locale(e).localeData().weekdaysMin()},getShortMonths:function(e){return o()().locale(e).localeData().monthsShort()},format:function(e,n,t){return n.clone().locale(e).format(t)},parse:function(e,n,t){for(var r=[],c=0;c<t.length;c+=1){var u=t[c],l=n;if(u.includes("wo")||u.includes("Wo")){var i=(u=u.replace(/wo/g,"w").replace(/Wo/g,"W")).match(/[-YyMmDdHhSsWwGg]+/g),f=l.match(/[-\d]+/g);i&&f?(u=i.join(""),l=f.join("")):r.push(u.replace(/o/g,""))}var s=o()(l,u,e,!0);if(s.isValid())return s}for(var d=0;d<r.length;d+=1){var v=o()(n,r[d],e,!1);if(v.isValid())return(0,a.g9)(!1,"Not match any format strictly and fallback to fuzzy match. Please help to fire a issue about this."),v}return null}}};n.A=c},22546:function(e,n,t){t.d(n,{cv:function(){return Ze},Ay:function(){return $e}});var r=t(23029),o=t(92901),a=t(15361),c=t(88293),u=t(58168),l=t(64467),i=t(89379),f=t(5544),s=t(31014),d=t(45959),v=t.n(d),m=t(98680),g=t(75203),p=t(82284),h=t(27054),C=s.createContext({}),A={visibility:"hidden"};var y=function(e){var n=e.prefixCls,t=e.prevIcon,r=void 0===t?"\u2039":t,o=e.nextIcon,a=void 0===o?"\u203a":o,c=e.superPrevIcon,u=void 0===c?"\xab":c,l=e.superNextIcon,i=void 0===l?"\xbb":l,f=e.onSuperPrev,d=e.onSuperNext,v=e.onPrev,m=e.onNext,g=e.children,p=s.useContext(C),h=p.hideNextBtn,y=p.hidePrevBtn;return s.createElement("div",{className:n},f&&s.createElement("button",{type:"button",onClick:f,tabIndex:-1,className:"".concat(n,"-super-prev-btn"),style:y?A:{}},u),v&&s.createElement("button",{type:"button",onClick:v,tabIndex:-1,className:"".concat(n,"-prev-btn"),style:y?A:{}},r),s.createElement("div",{className:"".concat(n,"-view")},g),m&&s.createElement("button",{type:"button",onClick:m,tabIndex:-1,className:"".concat(n,"-next-btn"),style:h?A:{}},a),d&&s.createElement("button",{type:"button",onClick:d,tabIndex:-1,className:"".concat(n,"-super-next-btn"),style:h?A:{}},i))};var w=function(e){var n=e.prefixCls,t=e.generateConfig,r=e.viewDate,o=e.onPrevDecades,a=e.onNextDecades;if(s.useContext(C).hideHeader)return null;var c="".concat(n,"-header"),l=t.getYear(r),i=Math.floor(l/K)*K,f=i+K-1;return s.createElement(y,(0,u.A)({},e,{prefixCls:c,onSuperPrev:o,onSuperNext:a}),i,"-",f)};function b(e,n,t,r,o){var a=e.setHour(n,t);return a=e.setMinute(a,r),a=e.setSecond(a,o)}function D(e,n,t){if(!t)return n;var r=n;return r=e.setHour(r,e.getHour(t)),r=e.setMinute(r,e.getMinute(t)),r=e.setSecond(r,e.getSecond(t))}function k(e,n){var t=e.getYear(n),r=e.getMonth(n)+1,o=e.getEndDate(e.getFixedDate("".concat(t,"-").concat(r,"-01"))),a=e.getDate(o),c=r<10?"0".concat(r):"".concat(r);return"".concat(t,"-").concat(c,"-").concat(a)}function E(e){for(var n=e.prefixCls,t=e.disabledDate,r=e.onSelect,o=e.picker,a=e.rowNum,c=e.colNum,u=e.prefixColumn,f=e.rowClassName,d=e.baseDate,m=e.getCellClassName,g=e.getCellText,p=e.getCellNode,h=e.getCellDate,A=e.generateConfig,y=e.titleCell,w=e.headerCells,b=s.useContext(C),D=b.onDateMouseEnter,E=b.onDateMouseLeave,N=b.mode,x="".concat(n,"-cell"),M=[],Y=0;Y<a;Y+=1){for(var S=[],R=void 0,P=function(e){var n,a=h(d,Y*c+e),f=ee({cellDate:a,mode:N,disabledDate:t,generateConfig:A});0===e&&(R=a,u&&S.push(u(R)));var C=y&&y(a);S.push(s.createElement("td",{key:e,title:C,className:v()(x,(0,i.A)((n={},(0,l.A)(n,"".concat(x,"-disabled"),f),(0,l.A)(n,"".concat(x,"-start"),1===g(a)||"year"===o&&Number(C)%10===0),(0,l.A)(n,"".concat(x,"-end"),C===k(A,a)||"year"===o&&Number(C)%10===9),n),m(a))),onClick:function(){f||r(a)},onMouseEnter:function(){!f&&D&&D(a)},onMouseLeave:function(){!f&&E&&E(a)}},p?p(a):s.createElement("div",{className:"".concat(x,"-inner")},g(a))))},V=0;V<c;V+=1)P(V);M.push(s.createElement("tr",{key:Y,className:f&&f(R)},S))}return s.createElement("div",{className:"".concat(n,"-body")},s.createElement("table",{className:"".concat(n,"-content")},w&&s.createElement("thead",null,s.createElement("tr",null,w)),s.createElement("tbody",null,M)))}var N=function(e){var n=W-1,t=e.prefixCls,r=e.viewDate,o=e.generateConfig,a="".concat(t,"-cell"),c=o.getYear(r),i=Math.floor(c/W)*W,f=Math.floor(c/K)*K,d=f+K-1,v=o.setYear(r,f-Math.ceil((12*W-K)/2));return s.createElement(E,(0,u.A)({},e,{rowNum:4,colNum:3,baseDate:v,getCellText:function(e){var t=o.getYear(e);return"".concat(t,"-").concat(t+n)},getCellClassName:function(e){var t,r=o.getYear(e),c=r+n;return t={},(0,l.A)(t,"".concat(a,"-in-view"),f<=r&&c<=d),(0,l.A)(t,"".concat(a,"-selected"),r===i),t},getCellDate:function(e,n){return o.addYear(e,n*W)}}))},x=t(60436),M=t(70117),Y=t(15149),S=new Map;function R(e,n,t){if(S.get(e)&&cancelAnimationFrame(S.get(e)),t<=0)S.set(e,requestAnimationFrame((function(){e.scrollTop=n})));else{var r=(n-e.scrollTop)/t*10;S.set(e,requestAnimationFrame((function(){e.scrollTop+=r,e.scrollTop!==n&&R(e,n,t-10)})))}}function P(e,n){var t=n.onLeftRight,r=n.onCtrlLeftRight,o=n.onUpDown,a=n.onPageUpDown,c=n.onEnter,u=e.which,l=e.ctrlKey,i=e.metaKey;switch(u){case h.A.LEFT:if(l||i){if(r)return r(-1),!0}else if(t)return t(-1),!0;break;case h.A.RIGHT:if(l||i){if(r)return r(1),!0}else if(t)return t(1),!0;break;case h.A.UP:if(o)return o(-1),!0;break;case h.A.DOWN:if(o)return o(1),!0;break;case h.A.PAGE_UP:if(a)return a(-1),!0;break;case h.A.PAGE_DOWN:if(a)return a(1),!0;break;case h.A.ENTER:if(c)return c(),!0}return!1}function V(e,n,t,r){var o=e;if(!o)switch(n){case"time":o=r?"hh:mm:ss a":"HH:mm:ss";break;case"week":o="gggg-wo";break;case"month":o="YYYY-MM";break;case"quarter":o="YYYY-[Q]Q";break;case"year":o="YYYY";break;default:o=t?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD"}return o}function L(e,n,t){var r="time"===e?8:10,o="function"===typeof n?n(t.getNow()).length:n.length;return Math.max(r,o)+2}var T=null,O=new Set;var H={year:function(e){return"month"===e||"date"===e?"year":e},month:function(e){return"date"===e?"month":e},quarter:function(e){return"month"===e||"date"===e?"quarter":e},week:function(e){return"date"===e?"week":e},time:null,date:null};function F(e,n){return e.some((function(e){return e&&e.contains(n)}))}var W=10,K=10*W;var I=function(e){var n=e.prefixCls,t=e.onViewDateChange,r=e.generateConfig,o=e.viewDate,a=e.operationRef,c=e.onSelect,l=e.onPanelChange,i="".concat(n,"-decade-panel");a.current={onKeyDown:function(e){return P(e,{onLeftRight:function(e){c(r.addYear(o,e*W),"key")},onCtrlLeftRight:function(e){c(r.addYear(o,e*K),"key")},onUpDown:function(e){c(r.addYear(o,e*W*3),"key")},onEnter:function(){l("year",o)}})}};var f=function(e){var n=r.addYear(o,e*K);t(n),l(null,n)};return s.createElement("div",{className:i},s.createElement(w,(0,u.A)({},e,{prefixCls:n,onPrevDecades:function(){f(-1)},onNextDecades:function(){f(1)}})),s.createElement(N,(0,u.A)({},e,{prefixCls:n,onSelect:function(e){c(e,"mouse"),l("year",e)}})))};function U(e,n){return!e&&!n||!(!e||!n)&&void 0}function B(e,n,t){var r=U(n,t);return"boolean"===typeof r?r:e.getYear(n)===e.getYear(t)}function j(e,n){return Math.floor(e.getMonth(n)/3)+1}function z(e,n,t){var r=U(n,t);return"boolean"===typeof r?r:B(e,n,t)&&j(e,n)===j(e,t)}function q(e,n,t){var r=U(n,t);return"boolean"===typeof r?r:B(e,n,t)&&e.getMonth(n)===e.getMonth(t)}function _(e,n,t){var r=U(n,t);return"boolean"===typeof r?r:e.getYear(n)===e.getYear(t)&&e.getMonth(n)===e.getMonth(t)&&e.getDate(n)===e.getDate(t)}function G(e,n,t,r){var o=U(t,r);return"boolean"===typeof o?o:e.locale.getWeek(n,t)===e.locale.getWeek(n,r)}function Q(e,n,t){return _(e,n,t)&&function(e,n,t){var r=U(n,t);return"boolean"===typeof r?r:e.getHour(n)===e.getHour(t)&&e.getMinute(n)===e.getMinute(t)&&e.getSecond(n)===e.getSecond(t)}(e,n,t)}function X(e,n,t,r){return!!(n&&t&&r)&&(!_(e,n,r)&&!_(e,t,r)&&e.isAfter(r,n)&&e.isAfter(t,r))}function J(e,n,t){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;switch(n){case"year":return t.addYear(e,10*r);case"quarter":case"month":return t.addYear(e,r);default:return t.addMonth(e,r)}}function Z(e,n){var t=n.generateConfig,r=n.locale,o=n.format;return"function"===typeof o?o(e):t.locale.format(r.locale,e,o)}function $(e,n){var t=n.generateConfig,r=n.locale,o=n.formatList;return e&&"function"!==typeof o[0]?t.locale.parse(r.locale,e,o):null}function ee(e){var n=e.cellDate,t=e.mode,r=e.disabledDate,o=e.generateConfig;if(!r)return!1;var a=function(e,t,a){for(var c=t;c<=a;){var u=void 0;switch(e){case"date":if(u=o.setDate(n,c),!r(u))return!1;break;case"month":if(!ee({cellDate:u=o.setMonth(n,c),mode:"month",generateConfig:o,disabledDate:r}))return!1;break;case"year":if(!ee({cellDate:u=o.setYear(n,c),mode:"year",generateConfig:o,disabledDate:r}))return!1}c+=1}return!0};switch(t){case"date":case"week":return r(n);case"month":return a("date",1,o.getDate(o.getEndDate(n)));case"quarter":var c=3*Math.floor(o.getMonth(n)/3);return a("month",c,c+2);case"year":return a("month",0,11);case"decade":var u=o.getYear(n),l=Math.floor(u/W)*W;return a("year",l,l+W-1)}}var ne=function(e){if(s.useContext(C).hideHeader)return null;var n=e.prefixCls,t=e.generateConfig,r=e.locale,o=e.value,a=e.format,c="".concat(n,"-header");return s.createElement(y,{prefixCls:c},o?Z(o,{locale:r,format:a,generateConfig:t}):"\xa0")},te=t(17542);var re=function(e){var n=e.prefixCls,t=e.units,r=e.onSelect,o=e.value,a=e.active,c=e.hideDisabledOptions,u="".concat(n,"-cell"),i=s.useContext(C).open,f=(0,s.useRef)(null),d=(0,s.useRef)(new Map),m=(0,s.useRef)();return(0,s.useLayoutEffect)((function(){var e=d.current.get(o);e&&!1!==i&&R(f.current,e.offsetTop,120)}),[o]),(0,s.useLayoutEffect)((function(){if(i){var e=d.current.get(o);e&&(m.current=function(e,n){var t;return function r(){(0,Y.A)(e)?n():t=(0,M.A)((function(){r()}))}(),function(){M.A.cancel(t)}}(e,(function(){R(f.current,e.offsetTop,0)})))}return function(){var e;null===(e=m.current)||void 0===e||e.call(m)}}),[i]),s.createElement("ul",{className:v()("".concat(n,"-column"),(0,l.A)({},"".concat(n,"-column-active"),a)),ref:f,style:{position:"relative"}},t.map((function(e){var n;return c&&e.disabled?null:s.createElement("li",{key:e.value,ref:function(n){d.current.set(e.value,n)},className:v()(u,(n={},(0,l.A)(n,"".concat(u,"-disabled"),e.disabled),(0,l.A)(n,"".concat(u,"-selected"),o===e.value),n)),onClick:function(){e.disabled||r(e.value)}},s.createElement("div",{className:"".concat(u,"-inner")},e.label))})))};function oe(e,n){for(var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"0",r=String(e);r.length<n;)r="".concat(t).concat(e);return r}function ae(e){return null===e||void 0===e?[]:Array.isArray(e)?e:[e]}function ce(e){var n={};return Object.keys(e).forEach((function(t){"data-"!==t.substr(0,5)&&"aria-"!==t.substr(0,5)&&"role"!==t&&"name"!==t||"data-__"===t.substr(0,7)||(n[t]=e[t])})),n}function ue(e,n){return e?e[n]:null}function le(e,n,t){var r=[ue(e,0),ue(e,1)];return r[t]="function"===typeof n?n(r[t]):n,r[0]||r[1]?r:null}function ie(e,n){if(e.length!==n.length)return!0;for(var t=0;t<e.length;t+=1)if(e[t].disabled!==n[t].disabled)return!0;return!1}function fe(e,n,t,r){for(var o=[],a=e;a<=n;a+=t)o.push({label:oe(a,2),value:a,disabled:(r||[]).includes(a)});return o}var se=function(e){var n,t=e.generateConfig,r=e.prefixCls,o=e.operationRef,a=e.activeColumnIndex,c=e.value,u=e.showHour,l=e.showMinute,d=e.showSecond,v=e.use12Hours,m=e.hourStep,g=void 0===m?1:m,p=e.minuteStep,h=void 0===p?1:p,C=e.secondStep,A=void 0===C?1:C,y=e.disabledHours,w=e.disabledMinutes,D=e.disabledSeconds,k=e.hideDisabledOptions,E=e.onSelect,N=[],x="".concat(r,"-content"),M="".concat(r,"-time-panel"),Y=c?t.getHour(c):-1,S=Y,R=c?t.getMinute(c):-1,P=c?t.getSecond(c):-1,V=function(e,n,r,o){var a=c||t.getNow(),u=Math.max(0,n),l=Math.max(0,r),i=Math.max(0,o);return a=b(t,a,v&&e?u+12:u,l,i)},L=fe(0,23,g,y&&y()),T=(0,te.A)((function(){return L}),L,ie);v&&(n=S>=12,S%=12);var O=s.useMemo((function(){if(!v)return[!1,!1];var e=[!0,!0];return T.forEach((function(n){var t=n.disabled,r=n.value;t||(r>=12?e[1]=!1:e[0]=!1)})),e}),[v,T]),H=(0,f.A)(O,2),F=H[0],W=H[1],K=s.useMemo((function(){return v?T.filter(n?function(e){return e.value>=12}:function(e){return e.value<12}).map((function(e){var n=e.value%12,t=0===n?"12":oe(n,2);return(0,i.A)((0,i.A)({},e),{},{label:t,value:n})})):T}),[v,n,T]),I=fe(0,59,h,w&&w(Y)),U=fe(0,59,A,D&&D(Y,R));function B(e,n,t,r,o){!1!==e&&N.push({node:s.cloneElement(n,{prefixCls:M,value:t,active:a===N.length,onSelect:o,units:r,hideDisabledOptions:k}),onSelect:o,value:t,units:r})}o.current={onUpDown:function(e){var n=N[a];if(n)for(var t=n.units.findIndex((function(e){return e.value===n.value})),r=n.units.length,o=1;o<r;o+=1){var c=n.units[(t+e*o+r)%r];if(!0!==c.disabled){n.onSelect(c.value);break}}}},B(u,s.createElement(re,{key:"hour"}),S,K,(function(e){E(V(n,e,R,P),"mouse")})),B(l,s.createElement(re,{key:"minute"}),R,I,(function(e){E(V(n,S,e,P),"mouse")})),B(d,s.createElement(re,{key:"second"}),P,U,(function(e){E(V(n,S,R,e),"mouse")}));var j=-1;return"boolean"===typeof n&&(j=n?1:0),B(!0===v,s.createElement(re,{key:"12hours"}),j,[{label:"AM",value:0,disabled:F},{label:"PM",value:1,disabled:W}],(function(e){E(V(!!e,S,R,P),"mouse")})),s.createElement("div",{className:x},N.map((function(e){return e.node})))};var de=function(e){var n=e.generateConfig,t=e.format,r=void 0===t?"HH:mm:ss":t,o=e.prefixCls,a=e.active,c=e.operationRef,i=e.showHour,d=e.showMinute,m=e.showSecond,g=e.use12Hours,p=void 0!==g&&g,h=e.onSelect,C=e.value,A="".concat(o,"-time-panel"),y=s.useRef(),w=s.useState(-1),b=(0,f.A)(w,2),D=b[0],k=b[1],E=[i,d,m,p].filter((function(e){return!1!==e})).length;return c.current={onKeyDown:function(e){return P(e,{onLeftRight:function(e){k((D+e+E)%E)},onUpDown:function(e){-1===D?k(0):y.current&&y.current.onUpDown(e)},onEnter:function(){h(C||n.getNow(),"key"),k(-1)}})},onBlur:function(){k(-1)}},s.createElement("div",{className:v()(A,(0,l.A)({},"".concat(A,"-active"),a))},s.createElement(ne,(0,u.A)({},e,{format:r,prefixCls:o})),s.createElement(se,(0,u.A)({},e,{prefixCls:o,activeColumnIndex:D,operationRef:y})))},ve=s.createContext({});function me(e){var n=e.cellPrefixCls,t=e.generateConfig,r=e.rangedValue,o=e.hoverRangedValue,a=e.isInView,c=e.isSameCell,u=e.offsetCell,i=e.today,f=e.value;return function(e){var s,d=u(e,-1),v=u(e,1),m=ue(r,0),g=ue(r,1),p=ue(o,0),h=ue(o,1),C=X(t,p,h,e);function A(e){return c(m,e)}function y(e){return c(g,e)}var w=c(p,e),b=c(h,e),D=(C||b)&&(!a(d)||y(d)),k=(C||w)&&(!a(v)||A(v));return s={},(0,l.A)(s,"".concat(n,"-in-view"),a(e)),(0,l.A)(s,"".concat(n,"-in-range"),X(t,m,g,e)),(0,l.A)(s,"".concat(n,"-range-start"),A(e)),(0,l.A)(s,"".concat(n,"-range-end"),y(e)),(0,l.A)(s,"".concat(n,"-range-start-single"),A(e)&&!g),(0,l.A)(s,"".concat(n,"-range-end-single"),y(e)&&!m),(0,l.A)(s,"".concat(n,"-range-start-near-hover"),A(e)&&(c(d,p)||X(t,p,h,d))),(0,l.A)(s,"".concat(n,"-range-end-near-hover"),y(e)&&(c(v,h)||X(t,p,h,v))),(0,l.A)(s,"".concat(n,"-range-hover"),C),(0,l.A)(s,"".concat(n,"-range-hover-start"),w),(0,l.A)(s,"".concat(n,"-range-hover-end"),b),(0,l.A)(s,"".concat(n,"-range-hover-edge-start"),D),(0,l.A)(s,"".concat(n,"-range-hover-edge-end"),k),(0,l.A)(s,"".concat(n,"-range-hover-edge-start-near-range"),D&&c(d,g)),(0,l.A)(s,"".concat(n,"-range-hover-edge-end-near-range"),k&&c(v,m)),(0,l.A)(s,"".concat(n,"-today"),c(i,e)),(0,l.A)(s,"".concat(n,"-selected"),c(f,e)),s}}var ge=function(e){var n=e.prefixCls,t=e.generateConfig,r=e.prefixColumn,o=e.locale,a=e.rowCount,c=e.viewDate,l=e.value,i=e.dateRender,f=s.useContext(ve),d=f.rangedValue,v=f.hoverRangedValue,m=function(e,n,t){var r=n.locale.getWeekFirstDay(e),o=n.setDate(t,1),a=n.getWeekDay(o),c=n.addDate(o,r-a);return n.getMonth(c)===n.getMonth(t)&&n.getDate(c)>1&&(c=n.addDate(c,-7)),c}(o.locale,t,c),g="".concat(n,"-cell"),p=t.locale.getWeekFirstDay(o.locale),h=t.getNow(),C=[],A=o.shortWeekDays||(t.locale.getShortWeekDays?t.locale.getShortWeekDays(o.locale):[]);r&&C.push(s.createElement("th",{key:"empty","aria-label":"empty cell"}));for(var y=0;y<7;y+=1)C.push(s.createElement("th",{key:y},A[(y+p)%7]));var w=me({cellPrefixCls:g,today:h,value:l,generateConfig:t,rangedValue:r?null:d,hoverRangedValue:r?null:v,isSameCell:function(e,n){return _(t,e,n)},isInView:function(e){return q(t,e,c)},offsetCell:function(e,n){return t.addDate(e,n)}}),b=i?function(e){return i(e,h)}:void 0;return s.createElement(E,(0,u.A)({},e,{rowNum:a,colNum:7,baseDate:m,getCellNode:b,getCellText:t.getDate,getCellClassName:w,getCellDate:t.addDate,titleCell:function(e){return Z(e,{locale:o,format:"YYYY-MM-DD",generateConfig:t})},headerCells:C}))};var pe=function(e){var n=e.prefixCls,t=e.generateConfig,r=e.locale,o=e.viewDate,a=e.onNextMonth,c=e.onPrevMonth,l=e.onNextYear,i=e.onPrevYear,f=e.onYearClick,d=e.onMonthClick;if(s.useContext(C).hideHeader)return null;var v="".concat(n,"-header"),m=r.shortMonths||(t.locale.getShortMonths?t.locale.getShortMonths(r.locale):[]),g=t.getMonth(o),p=s.createElement("button",{type:"button",key:"year",onClick:f,tabIndex:-1,className:"".concat(n,"-year-btn")},Z(o,{locale:r,format:r.yearFormat,generateConfig:t})),h=s.createElement("button",{type:"button",key:"month",onClick:d,tabIndex:-1,className:"".concat(n,"-month-btn")},r.monthFormat?Z(o,{locale:r,format:r.monthFormat,generateConfig:t}):m[g]),A=r.monthBeforeYear?[h,p]:[p,h];return s.createElement(y,(0,u.A)({},e,{prefixCls:v,onSuperPrev:i,onPrev:c,onNext:a,onSuperNext:l}),A)};var he=function(e){var n=e.prefixCls,t=e.panelName,r=void 0===t?"date":t,o=e.keyboardConfig,a=e.active,c=e.operationRef,f=e.generateConfig,d=e.value,m=e.viewDate,g=e.onViewDateChange,p=e.onPanelChange,h=e.onSelect,C="".concat(n,"-").concat(r,"-panel");c.current={onKeyDown:function(e){return P(e,(0,i.A)({onLeftRight:function(e){h(f.addDate(d||m,e),"key")},onCtrlLeftRight:function(e){h(f.addYear(d||m,e),"key")},onUpDown:function(e){h(f.addDate(d||m,7*e),"key")},onPageUpDown:function(e){h(f.addMonth(d||m,e),"key")}},o))}};var A=function(e){var n=f.addYear(m,e);g(n),p(null,n)},y=function(e){var n=f.addMonth(m,e);g(n),p(null,n)};return s.createElement("div",{className:v()(C,(0,l.A)({},"".concat(C,"-active"),a))},s.createElement(pe,(0,u.A)({},e,{prefixCls:n,value:d,viewDate:m,onPrevYear:function(){A(-1)},onNextYear:function(){A(1)},onPrevMonth:function(){y(-1)},onNextMonth:function(){y(1)},onMonthClick:function(){p("month",m)},onYearClick:function(){p("year",m)}})),s.createElement(ge,(0,u.A)({},e,{onSelect:function(e){return h(e,"mouse")},prefixCls:n,value:d,viewDate:m,rowCount:6})))},Ce=function(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];return n}("date","time");var Ae=function(e){var n=e.prefixCls,t=e.operationRef,r=e.generateConfig,o=e.value,a=e.defaultValue,c=e.disabledTime,d=e.showTime,m=e.onSelect,g="".concat(n,"-datetime-panel"),C=s.useState(null),A=(0,f.A)(C,2),y=A[0],w=A[1],b=s.useRef({}),k=s.useRef({}),E="object"===(0,p.A)(d)?(0,i.A)({},d):{},N=function(e){k.current.onBlur&&k.current.onBlur(e),w(null)};t.current={onKeyDown:function(e){if(e.which===h.A.TAB){var n=function(e){var n=Ce.indexOf(y)+e;return Ce[n]||null}(e.shiftKey?-1:1);return w(n),n&&e.preventDefault(),!0}if(y){var t="date"===y?b:k;return t.current&&t.current.onKeyDown&&t.current.onKeyDown(e),!0}return!![h.A.LEFT,h.A.RIGHT,h.A.UP,h.A.DOWN].includes(e.which)&&(w("date"),!0)},onBlur:N,onClose:N};var x=function(e,n){var t=e;"date"===n&&!o&&E.defaultValue?(t=r.setHour(t,r.getHour(E.defaultValue)),t=r.setMinute(t,r.getMinute(E.defaultValue)),t=r.setSecond(t,r.getSecond(E.defaultValue))):"time"===n&&!o&&a&&(t=r.setYear(t,r.getYear(a)),t=r.setMonth(t,r.getMonth(a)),t=r.setDate(t,r.getDate(a))),m&&m(t,"mouse")},M=c?c(o||null):{};return s.createElement("div",{className:v()(g,(0,l.A)({},"".concat(g,"-active"),y))},s.createElement(he,(0,u.A)({},e,{operationRef:b,active:"date"===y,onSelect:function(e){x(D(r,e,d&&"object"===(0,p.A)(d)?d.defaultValue:null),"date")}})),s.createElement(de,(0,u.A)({},e,{format:void 0},E,M,{defaultValue:void 0,operationRef:k,active:"time"===y,onSelect:function(e){x(e,"time")}})))};var ye=function(e){var n=e.prefixCls,t=e.generateConfig,r=e.locale,o=e.value,a="".concat(n,"-cell"),c="".concat(n,"-week-panel-row");return s.createElement(he,(0,u.A)({},e,{panelName:"week",prefixColumn:function(e){return s.createElement("td",{key:"week",className:v()(a,"".concat(a,"-week"))},t.locale.getWeek(r.locale,e))},rowClassName:function(e){return v()(c,(0,l.A)({},"".concat(c,"-selected"),G(t,r.locale,o,e)))},keyboardConfig:{onLeftRight:null}}))};var we=function(e){var n=e.prefixCls,t=e.generateConfig,r=e.locale,o=e.viewDate,a=e.onNextYear,c=e.onPrevYear,l=e.onYearClick;if(s.useContext(C).hideHeader)return null;var i="".concat(n,"-header");return s.createElement(y,(0,u.A)({},e,{prefixCls:i,onSuperPrev:c,onSuperNext:a}),s.createElement("button",{type:"button",onClick:l,className:"".concat(n,"-year-btn")},Z(o,{locale:r,format:r.yearFormat,generateConfig:t})))};var be=function(e){var n=e.prefixCls,t=e.locale,r=e.value,o=e.viewDate,a=e.generateConfig,c=e.monthCellRender,l=s.useContext(ve),i=l.rangedValue,f=l.hoverRangedValue,d=me({cellPrefixCls:"".concat(n,"-cell"),value:r,generateConfig:a,rangedValue:i,hoverRangedValue:f,isSameCell:function(e,n){return q(a,e,n)},isInView:function(){return!0},offsetCell:function(e,n){return a.addMonth(e,n)}}),v=t.shortMonths||(a.locale.getShortMonths?a.locale.getShortMonths(t.locale):[]),m=a.setMonth(o,0),g=c?function(e){return c(e,t)}:void 0;return s.createElement(E,(0,u.A)({},e,{rowNum:4,colNum:3,baseDate:m,getCellNode:g,getCellText:function(e){return t.monthFormat?Z(e,{locale:t,format:t.monthFormat,generateConfig:a}):v[a.getMonth(e)]},getCellClassName:d,getCellDate:a.addMonth,titleCell:function(e){return Z(e,{locale:t,format:"YYYY-MM",generateConfig:a})}}))};var De=function(e){var n=e.prefixCls,t=e.operationRef,r=e.onViewDateChange,o=e.generateConfig,a=e.value,c=e.viewDate,l=e.onPanelChange,i=e.onSelect,f="".concat(n,"-month-panel");t.current={onKeyDown:function(e){return P(e,{onLeftRight:function(e){i(o.addMonth(a||c,e),"key")},onCtrlLeftRight:function(e){i(o.addYear(a||c,e),"key")},onUpDown:function(e){i(o.addMonth(a||c,3*e),"key")},onEnter:function(){l("date",a||c)}})}};var d=function(e){var n=o.addYear(c,e);r(n),l(null,n)};return s.createElement("div",{className:f},s.createElement(we,(0,u.A)({},e,{prefixCls:n,onPrevYear:function(){d(-1)},onNextYear:function(){d(1)},onYearClick:function(){l("year",c)}})),s.createElement(be,(0,u.A)({},e,{prefixCls:n,onSelect:function(e){i(e,"mouse"),l("date",e)}})))};var ke=function(e){var n=e.prefixCls,t=e.generateConfig,r=e.locale,o=e.viewDate,a=e.onNextYear,c=e.onPrevYear,l=e.onYearClick;if(s.useContext(C).hideHeader)return null;var i="".concat(n,"-header");return s.createElement(y,(0,u.A)({},e,{prefixCls:i,onSuperPrev:c,onSuperNext:a}),s.createElement("button",{type:"button",onClick:l,className:"".concat(n,"-year-btn")},Z(o,{locale:r,format:r.yearFormat,generateConfig:t})))};var Ee=function(e){var n=e.prefixCls,t=e.locale,r=e.value,o=e.viewDate,a=e.generateConfig,c=s.useContext(ve),l=c.rangedValue,i=c.hoverRangedValue,f=me({cellPrefixCls:"".concat(n,"-cell"),value:r,generateConfig:a,rangedValue:l,hoverRangedValue:i,isSameCell:function(e,n){return z(a,e,n)},isInView:function(){return!0},offsetCell:function(e,n){return a.addMonth(e,3*n)}}),d=a.setDate(a.setMonth(o,0),1);return s.createElement(E,(0,u.A)({},e,{rowNum:1,colNum:4,baseDate:d,getCellText:function(e){return Z(e,{locale:t,format:t.quarterFormat||"[Q]Q",generateConfig:a})},getCellClassName:f,getCellDate:function(e,n){return a.addMonth(e,3*n)},titleCell:function(e){return Z(e,{locale:t,format:"YYYY-[Q]Q",generateConfig:a})}}))};var Ne=function(e){var n=e.prefixCls,t=e.operationRef,r=e.onViewDateChange,o=e.generateConfig,a=e.value,c=e.viewDate,l=e.onPanelChange,i=e.onSelect,f="".concat(n,"-quarter-panel");t.current={onKeyDown:function(e){return P(e,{onLeftRight:function(e){i(o.addMonth(a||c,3*e),"key")},onCtrlLeftRight:function(e){i(o.addYear(a||c,e),"key")},onUpDown:function(e){i(o.addYear(a||c,e),"key")}})}};var d=function(e){var n=o.addYear(c,e);r(n),l(null,n)};return s.createElement("div",{className:f},s.createElement(ke,(0,u.A)({},e,{prefixCls:n,onPrevYear:function(){d(-1)},onNextYear:function(){d(1)},onYearClick:function(){l("year",c)}})),s.createElement(Ee,(0,u.A)({},e,{prefixCls:n,onSelect:function(e){i(e,"mouse")}})))};var xe=function(e){var n=e.prefixCls,t=e.generateConfig,r=e.viewDate,o=e.onPrevDecade,a=e.onNextDecade,c=e.onDecadeClick;if(s.useContext(C).hideHeader)return null;var l="".concat(n,"-header"),i=t.getYear(r),f=Math.floor(i/Ye)*Ye,d=f+Ye-1;return s.createElement(y,(0,u.A)({},e,{prefixCls:l,onSuperPrev:o,onSuperNext:a}),s.createElement("button",{type:"button",onClick:c,className:"".concat(n,"-decade-btn")},f,"-",d))};var Me=function(e){var n=e.prefixCls,t=e.value,r=e.viewDate,o=e.locale,a=e.generateConfig,c=s.useContext(ve),l=c.rangedValue,i=c.hoverRangedValue,f="".concat(n,"-cell"),d=a.getYear(r),v=Math.floor(d/Ye)*Ye,m=v+Ye-1,g=a.setYear(r,v-Math.ceil((12-Ye)/2)),p=me({cellPrefixCls:f,value:t,generateConfig:a,rangedValue:l,hoverRangedValue:i,isSameCell:function(e,n){return B(a,e,n)},isInView:function(e){var n=a.getYear(e);return v<=n&&n<=m},offsetCell:function(e,n){return a.addYear(e,n)}});return s.createElement(E,(0,u.A)({},e,{rowNum:4,colNum:3,baseDate:g,getCellText:a.getYear,getCellClassName:p,getCellDate:a.addYear,titleCell:function(e){return Z(e,{locale:o,format:"YYYY",generateConfig:a})}}))},Ye=10;var Se=function(e){var n=e.prefixCls,t=e.operationRef,r=e.onViewDateChange,o=e.generateConfig,a=e.value,c=e.viewDate,l=e.sourceMode,i=e.onSelect,f=e.onPanelChange,d="".concat(n,"-year-panel");t.current={onKeyDown:function(e){return P(e,{onLeftRight:function(e){i(o.addYear(a||c,e),"key")},onCtrlLeftRight:function(e){i(o.addYear(a||c,e*Ye),"key")},onUpDown:function(e){i(o.addYear(a||c,3*e),"key")},onEnter:function(){f("date"===l?"date":"month",a||c)}})}};var v=function(e){var n=o.addYear(c,10*e);r(n),f(null,n)};return s.createElement("div",{className:d},s.createElement(xe,(0,u.A)({},e,{prefixCls:n,onPrevDecade:function(){v(-1)},onNextDecade:function(){v(1)},onDecadeClick:function(){f("decade",c)}})),s.createElement(Me,(0,u.A)({},e,{prefixCls:n,onSelect:function(e){f("date"===l?"date":"month",e),i(e,"mouse")}})))};function Re(e,n,t){return t?s.createElement("div",{className:"".concat(e,"-footer-extra")},t(n)):null}function Pe(e){var n,t,r=e.prefixCls,o=e.rangeList,a=void 0===o?[]:o,c=e.components,u=void 0===c?{}:c,l=e.needConfirmButton,i=e.onNow,f=e.onOk,d=e.okDisabled,v=e.showNow,m=e.locale;if(a.length){var g=u.rangeItem||"span";n=s.createElement(s.Fragment,null,a.map((function(e){var n=e.label,t=e.onClick,o=e.onMouseEnter,a=e.onMouseLeave;return s.createElement("li",{key:n,className:"".concat(r,"-preset")},s.createElement(g,{onClick:t,onMouseEnter:o,onMouseLeave:a},n))})))}if(l){var p=u.button||"button";i&&!n&&!1!==v&&(n=s.createElement("li",{className:"".concat(r,"-now")},s.createElement("a",{className:"".concat(r,"-now-btn"),onClick:i},m.now))),t=l&&s.createElement("li",{className:"".concat(r,"-ok")},s.createElement(p,{disabled:d,onClick:f},m.ok))}return n||t?s.createElement("ul",{className:"".concat(r,"-ranges")},n,t):null}var Ve=function(e){var n,t=e.prefixCls,r=void 0===t?"rc-picker":t,o=e.className,a=e.style,c=e.locale,d=e.generateConfig,A=e.value,y=e.defaultValue,w=e.pickerValue,k=e.defaultPickerValue,E=e.disabledDate,N=e.mode,x=e.picker,M=void 0===x?"date":x,Y=e.tabIndex,S=void 0===Y?0:Y,R=e.showNow,P=e.showTime,V=e.showToday,L=e.renderExtraFooter,T=e.hideHeader,O=e.onSelect,F=e.onChange,W=e.onPanelChange,K=e.onMouseDown,U=e.onPickerValueChange,B=e.onOk,j=e.components,z=e.direction,q=e.hourStep,_=void 0===q?1:q,G=e.minuteStep,X=void 0===G?1:G,J=e.secondStep,Z=void 0===J?1:J,$="date"===M&&!!P||"time"===M,ee=24%_===0,ne=60%X===0,te=60%Z===0,re=s.useContext(C),oe=re.operationRef,ae=re.panelRef,ce=re.onSelect,ue=re.hideRanges,le=re.defaultOpenValue,ie=s.useContext(ve),fe=ie.inRange,se=ie.panelPosition,me=ie.rangedValue,ge=ie.hoverRangedValue,pe=s.useRef({}),Ce=s.useRef(!0),we=(0,g.A)(null,{value:A,defaultValue:y,postState:function(e){return!e&&le&&"time"===M?le:e}}),be=(0,f.A)(we,2),ke=be[0],Ee=be[1],xe=(0,g.A)(null,{value:w,defaultValue:k||ke,postState:function(e){var n=d.getNow();return e?!ke&&P?"object"===(0,p.A)(P)?D(d,e,P.defaultValue||n):D(d,e,y||n):e:n}}),Me=(0,f.A)(xe,2),Ye=Me[0],Ve=Me[1],Le=function(e){Ve(e),U&&U(e)},Te=function(e){var n=H[M];return n?n(e):e},Oe=(0,g.A)((function(){return"time"===M?"time":Te("date")}),{value:N}),He=(0,f.A)(Oe,2),Fe=He[0],We=He[1];s.useEffect((function(){We(M)}),[M]);var Ke,Ie=s.useState((function(){return Fe})),Ue=(0,f.A)(Ie,2),Be=Ue[0],je=Ue[1],ze=function(e,n){(Fe===M||arguments.length>2&&void 0!==arguments[2]&&arguments[2])&&(Ee(e),O&&O(e),ce&&ce(e,n),!F||Q(d,e,ke)||(null===E||void 0===E?void 0:E(e))||F(e))},qe=function(e){return pe.current&&pe.current.onKeyDown?([h.A.LEFT,h.A.RIGHT,h.A.UP,h.A.DOWN,h.A.PAGE_UP,h.A.PAGE_DOWN,h.A.ENTER].includes(e.which)&&e.preventDefault(),pe.current.onKeyDown(e)):((0,m.Ay)(!1,"Panel not correct handle keyDown event. Please help to fire issue about this."),!1)};oe&&"right"!==se&&(oe.current={onKeyDown:qe,onClose:function(){pe.current&&pe.current.onClose&&pe.current.onClose()}}),s.useEffect((function(){A&&!Ce.current&&Ve(A)}),[A]),s.useEffect((function(){Ce.current=!1}),[]);var _e,Ge,Qe,Xe=(0,i.A)((0,i.A)({},e),{},{operationRef:pe,prefixCls:r,viewDate:Ye,value:ke,onViewDateChange:Le,sourceMode:Be,onPanelChange:function(e,n){var t=Te(e||Fe);je(Fe),We(t),W&&(Fe!==t||Q(d,Ye,Ye))&&W(n,t)},disabledDate:E});switch(delete Xe.onChange,delete Xe.onSelect,Fe){case"decade":Ke=s.createElement(I,(0,u.A)({},Xe,{onSelect:function(e,n){Le(e),ze(e,n)}}));break;case"year":Ke=s.createElement(Se,(0,u.A)({},Xe,{onSelect:function(e,n){Le(e),ze(e,n)}}));break;case"month":Ke=s.createElement(De,(0,u.A)({},Xe,{onSelect:function(e,n){Le(e),ze(e,n)}}));break;case"quarter":Ke=s.createElement(Ne,(0,u.A)({},Xe,{onSelect:function(e,n){Le(e),ze(e,n)}}));break;case"week":Ke=s.createElement(ye,(0,u.A)({},Xe,{onSelect:function(e,n){Le(e),ze(e,n)}}));break;case"time":delete Xe.showTime,Ke=s.createElement(de,(0,u.A)({},Xe,"object"===(0,p.A)(P)?P:null,{onSelect:function(e,n){Le(e),ze(e,n)}}));break;default:Ke=P?s.createElement(Ae,(0,u.A)({},Xe,{onSelect:function(e,n){Le(e),ze(e,n)}})):s.createElement(he,(0,u.A)({},Xe,{onSelect:function(e,n){Le(e),ze(e,n)}}))}if(ue||(_e=Re(r,Fe,L),Ge=Pe({prefixCls:r,components:j,needConfirmButton:$,okDisabled:!ke||E&&E(ke),locale:c,showNow:R,onNow:$&&function(){var e=d.getNow(),n=function(e,n,t,r,o,a){var c=Math.floor(e/r)*r;if(c<e)return[c,60-o,60-a];var u=Math.floor(n/o)*o;return u<n?[c,u,60-a]:[c,u,Math.floor(t/a)*a]}(d.getHour(e),d.getMinute(e),d.getSecond(e),ee?_:1,ne?X:1,te?Z:1),t=b(d,e,n[0],n[1],n[2]);ze(t,"submit")},onOk:function(){ke&&(ze(ke,"submit",!0),B&&B(ke))}})),V&&"date"===Fe&&"date"===M&&!P){var Je=d.getNow(),Ze="".concat(r,"-today-btn"),$e=E&&E(Je);Qe=s.createElement("a",{className:v()(Ze,$e&&"".concat(Ze,"-disabled")),"aria-disabled":$e,onClick:function(){$e||ze(Je,"mouse",!0)}},c.today)}return s.createElement(C.Provider,{value:(0,i.A)((0,i.A)({},re),{},{mode:Fe,hideHeader:"hideHeader"in e?T:re.hideHeader,hidePrevBtn:fe&&"right"===se,hideNextBtn:fe&&"left"===se})},s.createElement("div",{tabIndex:S,className:v()("".concat(r,"-panel"),o,(n={},(0,l.A)(n,"".concat(r,"-panel-has-range"),me&&me[0]&&me[1]),(0,l.A)(n,"".concat(r,"-panel-has-range-hover"),ge&&ge[0]&&ge[1]),(0,l.A)(n,"".concat(r,"-panel-rtl"),"rtl"===z),n)),style:a,onKeyDown:qe,onBlur:function(e){pe.current&&pe.current.onBlur&&pe.current.onBlur(e)},onMouseDown:K,ref:ae},Ke,_e||Ge||Qe?s.createElement("div",{className:"".concat(r,"-footer")},_e,Ge,Qe):null))},Le=t(40849),Te={bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}}};var Oe=function(e){var n,t=e.prefixCls,r=e.popupElement,o=e.popupStyle,a=e.visible,c=e.dropdownClassName,u=e.dropdownAlign,i=e.transitionName,f=e.getPopupContainer,d=e.children,m=e.range,g=e.popupPlacement,p=e.direction,h="".concat(t,"-dropdown");return s.createElement(Le.A,{showAction:[],hideAction:[],popupPlacement:void 0!==g?g:"rtl"===p?"bottomRight":"bottomLeft",builtinPlacements:Te,prefixCls:h,popupTransitionName:i,popup:r,popupAlign:u,popupVisible:a,popupClassName:v()(c,(n={},(0,l.A)(n,"".concat(h,"-range"),m),(0,l.A)(n,"".concat(h,"-rtl"),"rtl"===p),n)),popupStyle:o,getPopupContainer:f},d)};function He(e){var n=e.open,t=e.value,r=e.isClickOutside,o=e.triggerOpen,a=e.forwardKeyDown,c=e.onKeyDown,u=e.blurToCancel,l=e.onSubmit,i=e.onCancel,d=e.onFocus,v=e.onBlur,m=(0,s.useState)(!1),g=(0,f.A)(m,2),p=g[0],C=g[1],A=(0,s.useState)(!1),y=(0,f.A)(A,2),w=y[0],b=y[1],D=(0,s.useRef)(!1),k=(0,s.useRef)(!1),E=(0,s.useRef)(!1),N={onMouseDown:function(){C(!0),o(!0)},onKeyDown:function(e){if(c(e,(function(){E.current=!0})),!E.current){switch(e.which){case h.A.ENTER:return n?!1!==l()&&C(!0):o(!0),void e.preventDefault();case h.A.TAB:return void(p&&n&&!e.shiftKey?(C(!1),e.preventDefault()):!p&&n&&!a(e)&&e.shiftKey&&(C(!0),e.preventDefault()));case h.A.ESC:return C(!0),void i()}n||[h.A.SHIFT].includes(e.which)?p||a(e):o(!0)}},onFocus:function(e){C(!0),b(!0),d&&d(e)},onBlur:function(e){!D.current&&r(document.activeElement)?(u?setTimeout((function(){for(var e=document.activeElement;e&&e.shadowRoot;)e=e.shadowRoot.activeElement;r(e)&&i()}),0):n&&(o(!1),k.current&&l()),b(!1),v&&v(e)):D.current=!1}};return(0,s.useEffect)((function(){k.current=!1}),[n]),(0,s.useEffect)((function(){k.current=!0}),[t]),(0,s.useEffect)((function(){return e=function(e){var t=function(e){var n,t=e.target;return e.composed&&t.shadowRoot&&(null===(n=e.composedPath)||void 0===n?void 0:n.call(e)[0])||t}(e);if(n){var a=r(t);a?w&&!a||o(!1):(D.current=!0,requestAnimationFrame((function(){D.current=!1})))}},!T&&"undefined"!==typeof window&&window.addEventListener&&(T=function(e){(0,x.A)(O).forEach((function(n){n(e)}))},window.addEventListener("mousedown",T)),O.add(e),function(){O.delete(e),0===O.size&&(window.removeEventListener("mousedown",T),T=null)};var e})),[N,{focused:w,typing:p}]}function Fe(e){var n=e.valueTexts,t=e.onTextChange,r=s.useState(""),o=(0,f.A)(r,2),a=o[0],c=o[1],u=s.useRef([]);function l(){c(u.current[0])}return u.current=n,s.useEffect((function(){n.every((function(e){return e!==a}))&&l()}),[n.join("||")]),[a,function(e){c(e),t(e)},l]}var We=t(74875),Ke=t.n(We);function Ie(e,n){var t=n.formatList,r=n.generateConfig,o=n.locale;return(0,te.A)((function(){if(!e)return[[""],""];for(var n="",a=[],c=0;c<t.length;c+=1){var u=t[c],l=Z(e,{generateConfig:r,locale:o,format:u});a.push(l),0===c&&(n=l)}return[a,n]}),[e,t],(function(e,n){return e[0]!==n[0]||!Ke()(e[1],n[1])}))}function Ue(e,n){var t=n.formatList,r=n.generateConfig,o=n.locale,a=(0,s.useState)(null),c=(0,f.A)(a,2),u=c[0],l=c[1],i=(0,s.useRef)(null);function d(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];cancelAnimationFrame(i.current),n?l(e):i.current=requestAnimationFrame((function(){l(e)}))}var v=Ie(u,{formatList:t,generateConfig:r,locale:o}),m=(0,f.A)(v,2)[1];function g(){d(null,arguments.length>0&&void 0!==arguments[0]&&arguments[0])}return(0,s.useEffect)((function(){g(!0)}),[e]),(0,s.useEffect)((function(){return function(){return cancelAnimationFrame(i.current)}}),[]),[m,function(e){d(e)},g]}function Be(e){var n,t=e.prefixCls,r=void 0===t?"rc-picker":t,o=e.id,a=e.tabIndex,c=e.style,d=e.className,p=e.dropdownClassName,h=e.dropdownAlign,A=e.popupStyle,y=e.transitionName,w=e.generateConfig,b=e.locale,D=e.inputReadOnly,k=e.allowClear,E=e.autoFocus,N=e.showTime,x=e.picker,M=void 0===x?"date":x,Y=e.format,S=e.use12Hours,R=e.value,P=e.defaultValue,T=e.open,O=e.defaultOpen,H=e.defaultOpenValue,W=e.suffixIcon,K=e.clearIcon,I=e.disabled,U=e.disabledDate,B=e.placeholder,j=e.getPopupContainer,z=e.pickerRef,q=e.panelRender,_=e.onChange,G=e.onOpenChange,X=e.onFocus,J=e.onBlur,ee=e.onMouseDown,ne=e.onMouseUp,te=e.onMouseEnter,re=e.onMouseLeave,oe=e.onContextMenu,ue=e.onClick,le=e.onKeyDown,ie=e.onSelect,fe=e.direction,se=e.autoComplete,de=void 0===se?"off":se,ve=s.useRef(null),me="date"===M&&!!N||"time"===M,ge=ae(V(Y,M,N,S)),pe=s.useRef(null),he=s.useRef(null),Ce=(0,g.A)(null,{value:R,defaultValue:P}),Ae=(0,f.A)(Ce,2),ye=Ae[0],we=Ae[1],be=s.useState(ye),De=(0,f.A)(be,2),ke=De[0],Ee=De[1],Ne=s.useRef(null),xe=(0,g.A)(!1,{value:T,defaultValue:O,postState:function(e){return!I&&e},onChange:function(e){G&&G(e),!e&&Ne.current&&Ne.current.onClose&&Ne.current.onClose()}}),Me=(0,f.A)(xe,2),Ye=Me[0],Se=Me[1],Re=Ie(ke,{formatList:ge,generateConfig:w,locale:b}),Pe=(0,f.A)(Re,2),Le=Pe[0],Te=Pe[1],We=Fe({valueTexts:Le,onTextChange:function(e){var n=$(e,{locale:b,formatList:ge,generateConfig:w});!n||U&&U(n)||Ee(n)}}),Ke=(0,f.A)(We,3),Be=Ke[0],je=Ke[1],ze=Ke[2],qe=function(e){Ee(e),we(e),_&&!Q(w,ye,e)&&_(e,e?Z(e,{generateConfig:w,locale:b,format:ge[0]}):"")},_e=function(e){I&&e||Se(e)},Ge=He({blurToCancel:me,open:Ye,value:Be,triggerOpen:_e,forwardKeyDown:function(e){return Ye&&Ne.current&&Ne.current.onKeyDown?Ne.current.onKeyDown(e):((0,m.Ay)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},isClickOutside:function(e){return!F([pe.current,he.current],e)},onSubmit:function(){return(!U||!U(ke))&&(qe(ke),_e(!1),ze(),!0)},onCancel:function(){_e(!1),Ee(ye),ze()},onKeyDown:function(e,n){null===le||void 0===le||le(e,n)},onFocus:X,onBlur:J}),Qe=(0,f.A)(Ge,2),Xe=Qe[0],Je=Qe[1],Ze=Je.focused,$e=Je.typing;s.useEffect((function(){Ye||(Ee(ye),Le.length&&""!==Le[0]?Te!==Be&&ze():je(""))}),[Ye,Le]),s.useEffect((function(){Ye||ze()}),[M]),s.useEffect((function(){Ee(ye)}),[ye]),z&&(z.current={focus:function(){ve.current&&ve.current.focus()},blur:function(){ve.current&&ve.current.blur()}});var en=Ue(Be,{formatList:ge,generateConfig:w,locale:b}),nn=(0,f.A)(en,3),tn=nn[0],rn=nn[1],on=nn[2],an=(0,i.A)((0,i.A)({},e),{},{className:void 0,style:void 0,pickerValue:void 0,onPickerValueChange:void 0,onChange:null}),cn=s.createElement(Ve,(0,u.A)({},an,{generateConfig:w,className:v()((0,l.A)({},"".concat(r,"-panel-focused"),!$e)),value:ke,locale:b,tabIndex:-1,onSelect:function(e){null===ie||void 0===ie||ie(e),Ee(e)},direction:fe,onPanelChange:function(n,t){var r=e.onPanelChange;on(!0),null===r||void 0===r||r(n,t)}}));q&&(cn=q(cn));var un,ln,fn=s.createElement("div",{className:"".concat(r,"-panel-container"),onMouseDown:function(e){e.preventDefault()}},cn);W&&(un=s.createElement("span",{className:"".concat(r,"-suffix")},W)),k&&ye&&!I&&(ln=s.createElement("span",{onMouseDown:function(e){e.preventDefault(),e.stopPropagation()},onMouseUp:function(e){e.preventDefault(),e.stopPropagation(),qe(null),_e(!1)},className:"".concat(r,"-clear"),role:"button"},K||s.createElement("span",{className:"".concat(r,"-clear-btn")})));var sn="rtl"===fe?"bottomRight":"bottomLeft";return s.createElement(C.Provider,{value:{operationRef:Ne,hideHeader:"time"===M,panelRef:pe,onSelect:function(e,n){("submit"===n||"key"!==n&&!me)&&(qe(e),_e(!1))},open:Ye,defaultOpenValue:H,onDateMouseEnter:rn,onDateMouseLeave:on}},s.createElement(Oe,{visible:Ye,popupElement:fn,popupStyle:A,prefixCls:r,dropdownClassName:p,dropdownAlign:h,getPopupContainer:j,transitionName:y,popupPlacement:sn,direction:fe},s.createElement("div",{className:v()(r,d,(n={},(0,l.A)(n,"".concat(r,"-disabled"),I),(0,l.A)(n,"".concat(r,"-focused"),Ze),(0,l.A)(n,"".concat(r,"-rtl"),"rtl"===fe),n)),style:c,onMouseDown:ee,onMouseUp:function(){ne&&ne.apply(void 0,arguments),ve.current&&(ve.current.focus(),_e(!0))},onMouseEnter:te,onMouseLeave:re,onContextMenu:oe,onClick:ue},s.createElement("div",{className:v()("".concat(r,"-input"),(0,l.A)({},"".concat(r,"-input-placeholder"),!!tn)),ref:he},s.createElement("input",(0,u.A)({id:o,tabIndex:a,disabled:I,readOnly:D||"function"===typeof ge[0]||!$e,value:tn||Be,onChange:function(e){je(e.target.value)},autoFocus:E,placeholder:B,ref:ve,title:Be},Xe,{size:L(M,ge[0],w)},ce(e),{autoComplete:de})),un,ln))))}var je=function(e){(0,a.A)(t,e);var n=(0,c.A)(t);function t(){var e;return(0,r.A)(this,t),(e=n.apply(this,arguments)).pickerRef=s.createRef(),e.focus=function(){e.pickerRef.current&&e.pickerRef.current.focus()},e.blur=function(){e.pickerRef.current&&e.pickerRef.current.blur()},e}return(0,o.A)(t,[{key:"render",value:function(){return s.createElement(Be,(0,u.A)({},this.props,{pickerRef:this.pickerRef}))}}]),t}(s.Component),ze=je;function qe(e,n,t,r){var o=J(e,t,r,1);function a(t){return t(e,n)?"same":t(o,n)?"closing":"far"}switch(t){case"year":return a((function(e,n){return function(e,n,t){var r=U(n,t);return"boolean"===typeof r?r:Math.floor(e.getYear(n)/10)===Math.floor(e.getYear(t)/10)}(r,e,n)}));case"quarter":case"month":return a((function(e,n){return B(r,e,n)}));default:return a((function(e,n){return q(r,e,n)}))}}function _e(e){var n=e.values,t=e.picker,r=e.defaultDates,o=e.generateConfig,a=s.useState((function(){return[ue(r,0),ue(r,1)]})),c=(0,f.A)(a,2),u=c[0],l=c[1],i=s.useState(null),d=(0,f.A)(i,2),v=d[0],m=d[1],g=ue(n,0),p=ue(n,1);return[function(e){return u[e]?u[e]:ue(v,e)||function(e,n,t,r){var o=ue(e,0),a=ue(e,1);if(0===n)return o;if(o&&a)switch(qe(o,a,t,r)){case"same":case"closing":return o;default:return J(a,t,r,-1)}return o}(n,e,t,o)||g||p||o.getNow()},function(e,t){if(e){var r=le(v,e,t);l(le(u,null,t)||[null,null]);var o=(t+1)%2;ue(n,o)||(r=le(r,e,o)),m(r)}else(g||p)&&m(null)}]}function Ge(e,n){return e&&e[0]&&e[1]&&n.isAfter(e[0],e[1])?[e[1],e[0]]:e}function Qe(e,n,t,r){return!!e||(!(!r||!r[n])||!!t[(n+1)%2])}function Xe(e){var n,t,r,o=e.prefixCls,a=void 0===o?"rc-picker":o,c=e.id,d=e.style,h=e.className,A=e.popupStyle,y=e.dropdownClassName,w=e.transitionName,b=e.dropdownAlign,D=e.getPopupContainer,k=e.generateConfig,E=e.locale,N=e.placeholder,x=e.autoFocus,M=e.disabled,Y=e.format,S=e.picker,R=void 0===S?"date":S,P=e.showTime,T=e.use12Hours,O=e.separator,H=void 0===O?"~":O,W=e.value,K=e.defaultValue,I=e.defaultPickerValue,U=e.open,B=e.defaultOpen,q=e.disabledDate,X=e.disabledTime,ee=e.dateRender,ne=e.panelRender,te=e.ranges,re=e.allowEmpty,oe=e.allowClear,ie=e.suffixIcon,fe=e.clearIcon,se=e.pickerRef,de=e.inputReadOnly,me=e.mode,ge=e.renderExtraFooter,pe=e.onChange,he=e.onOpenChange,Ce=e.onPanelChange,Ae=e.onCalendarChange,ye=e.onFocus,we=e.onBlur,be=e.onMouseEnter,De=e.onMouseLeave,ke=e.onOk,Ee=e.onKeyDown,Ne=e.components,xe=e.order,Me=e.direction,Ye=e.activePickerIndex,Se=e.autoComplete,Le=void 0===Se?"off":Se,Te="date"===R&&!!P||"time"===R,We=(0,s.useRef)({}),Ke=(0,s.useRef)(null),Be=(0,s.useRef)(null),je=(0,s.useRef)(null),ze=(0,s.useRef)(null),qe=(0,s.useRef)(null),Xe=(0,s.useRef)(null),Je=(0,s.useRef)(null),Ze=ae(V(Y,R,P,T)),$e=(0,g.A)(0,{value:Ye}),en=(0,f.A)($e,2),nn=en[0],tn=en[1],rn=(0,s.useRef)(null),on=s.useMemo((function(){return Array.isArray(M)?M:[M||!1,M||!1]}),[M]),an=(0,g.A)(null,{value:W,defaultValue:K,postState:function(e){return"time"!==R||xe?Ge(e,k):e}}),cn=(0,f.A)(an,2),un=cn[0],ln=cn[1],fn=_e({values:un,picker:R,defaultDates:I,generateConfig:k}),sn=(0,f.A)(fn,2),dn=sn[0],vn=sn[1],mn=(0,g.A)(un,{postState:function(e){var n=e;if(on[0]&&on[1])return n;for(var t=0;t<2;t+=1)!on[t]||ue(n,t)||ue(re,t)||(n=le(n,k.getNow(),t));return n}}),gn=(0,f.A)(mn,2),pn=gn[0],hn=gn[1],Cn=(0,g.A)([R,R],{value:me}),An=(0,f.A)(Cn,2),yn=An[0],wn=An[1];(0,s.useEffect)((function(){wn([R,R])}),[R]);var bn=function(e,n){wn(e),Ce&&Ce(n,e)},Dn=function(e,n,t){var r=e.picker,o=e.locale,a=e.selectedValue,c=e.disabledDate,u=e.disabled,l=e.generateConfig,i=ue(a,0),f=ue(a,1);function d(e){return l.locale.getWeekFirstDate(o.locale,e)}function v(e){return 100*l.getYear(e)+l.getMonth(e)}function m(e){return 10*l.getYear(e)+j(l,e)}return[s.useCallback((function(e){if(c&&c(e))return!0;if(u[1]&&f)return!_(l,e,f)&&l.isAfter(e,f);if(n&&f)switch(r){case"quarter":return m(e)>m(f);case"month":return v(e)>v(f);case"week":return d(e)>d(f);default:return!_(l,e,f)&&l.isAfter(e,f)}return!1}),[c,u[1],f,n]),s.useCallback((function(e){if(c&&c(e))return!0;if(u[0]&&i)return!_(l,e,f)&&l.isAfter(i,e);if(t&&i)switch(r){case"quarter":return m(e)<m(i);case"month":return v(e)<v(i);case"week":return d(e)<d(i);default:return!_(l,e,i)&&l.isAfter(i,e)}return!1}),[c,u[0],i,t])]}({picker:R,selectedValue:pn,locale:E,disabled:on,disabledDate:q,generateConfig:k},We.current[1],We.current[0]),kn=(0,f.A)(Dn,2),En=kn[0],Nn=kn[1],xn=(0,g.A)(!1,{value:U,defaultValue:B,postState:function(e){return!on[nn]&&e},onChange:function(e){he&&he(e),!e&&rn.current&&rn.current.onClose&&rn.current.onClose()}}),Mn=(0,f.A)(xn,2),Yn=Mn[0],Sn=Mn[1],Rn=Yn&&0===nn,Pn=Yn&&1===nn,Vn=(0,s.useState)(0),Ln=(0,f.A)(Vn,2),Tn=Ln[0],On=Ln[1];(0,s.useEffect)((function(){!Yn&&Ke.current&&On(Ke.current.offsetWidth)}),[Yn]);var Hn=s.useRef();function Fn(e,n){if(e)clearTimeout(Hn.current),We.current[n]=!0,tn(n),Sn(e),Yn||vn(null,n);else if(nn===n){Sn(e);var t=We.current;Hn.current=setTimeout((function(){t===We.current&&(We.current={})}))}}function Wn(e){Fn(!0,e),setTimeout((function(){var n=[Xe,Je][e];n.current&&n.current.focus()}),0)}function Kn(e,n){var t=e,r=ue(t,0),o=ue(t,1);r&&o&&k.isAfter(r,o)&&("week"===R&&!G(k,E.locale,r,o)||"quarter"===R&&!z(k,r,o)||"week"!==R&&"quarter"!==R&&"time"!==R&&!_(k,r,o)?(0===n?(t=[r,null],o=null):(r=null,t=[null,o]),We.current=(0,l.A)({},n,!0)):"time"===R&&!1===xe||(t=Ge(t,k))),hn(t);var a=t&&t[0]?Z(t[0],{generateConfig:k,locale:E,format:Ze[0]}):"",c=t&&t[1]?Z(t[1],{generateConfig:k,locale:E,format:Ze[0]}):"";Ae&&Ae(t,[a,c],{range:0===n?"start":"end"});var u=Qe(r,0,on,re),i=Qe(o,1,on,re);(null===t||u&&i)&&(ln(t),!pe||Q(k,ue(un,0),r)&&Q(k,ue(un,1),o)||pe(t,[a,c]));var f=null;0!==n||on[1]?1!==n||on[0]||(f=0):f=1,null===f||f===nn||We.current[f]&&ue(t,f)||!ue(t,n)?Fn(!1,n):Wn(f)}var In=function(e){return Yn&&rn.current&&rn.current.onKeyDown?rn.current.onKeyDown(e):((0,m.Ay)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},Un={formatList:Ze,generateConfig:k,locale:E},Bn=Ie(ue(pn,0),Un),jn=(0,f.A)(Bn,2),zn=jn[0],qn=jn[1],_n=Ie(ue(pn,1),Un),Gn=(0,f.A)(_n,2),Qn=Gn[0],Xn=Gn[1],Jn=function(e,n){var t=$(e,{locale:E,formatList:Ze,generateConfig:k});t&&!(0===n?En:Nn)(t)&&(hn(le(pn,t,n)),vn(t,n))},Zn=Fe({valueTexts:zn,onTextChange:function(e){return Jn(e,0)}}),$n=(0,f.A)(Zn,3),et=$n[0],nt=$n[1],tt=$n[2],rt=Fe({valueTexts:Qn,onTextChange:function(e){return Jn(e,1)}}),ot=(0,f.A)(rt,3),at=ot[0],ct=ot[1],ut=ot[2],lt=(0,s.useState)(null),it=(0,f.A)(lt,2),ft=it[0],st=it[1],dt=(0,s.useState)(null),vt=(0,f.A)(dt,2),mt=vt[0],gt=vt[1],pt=Ue(et,{formatList:Ze,generateConfig:k,locale:E}),ht=(0,f.A)(pt,3),Ct=ht[0],At=ht[1],yt=ht[2],wt=Ue(at,{formatList:Ze,generateConfig:k,locale:E}),bt=(0,f.A)(wt,3),Dt=bt[0],kt=bt[1],Et=bt[2],Nt=function(e,n){return{blurToCancel:Te,forwardKeyDown:In,onBlur:we,isClickOutside:function(e){return!F([Be.current,je.current,ze.current,Ke.current],e)},onFocus:function(n){tn(e),ye&&ye(n)},triggerOpen:function(n){Fn(n,e)},onSubmit:function(){Kn(pn,e),n()},onCancel:function(){Fn(!1,e),hn(un),n()}}},xt=He((0,i.A)((0,i.A)({},Nt(0,tt)),{},{open:Rn,value:et,onKeyDown:function(e,n){null===Ee||void 0===Ee||Ee(e,n)}})),Mt=(0,f.A)(xt,2),Yt=Mt[0],St=Mt[1],Rt=St.focused,Pt=St.typing,Vt=He((0,i.A)((0,i.A)({},Nt(1,ut)),{},{open:Pn,value:at,onKeyDown:function(e,n){null===Ee||void 0===Ee||Ee(e,n)}})),Lt=(0,f.A)(Vt,2),Tt=Lt[0],Ot=Lt[1],Ht=Ot.focused,Ft=Ot.typing,Wt=un&&un[0]?Z(un[0],{locale:E,format:"YYYYMMDDHHmmss",generateConfig:k}):"",Kt=un&&un[1]?Z(un[1],{locale:E,format:"YYYYMMDDHHmmss",generateConfig:k}):"";(0,s.useEffect)((function(){Yn||(hn(un),zn.length&&""!==zn[0]?qn!==et&&tt():nt(""),Qn.length&&""!==Qn[0]?Xn!==at&&ut():ct(""))}),[Yn,zn,Qn]),(0,s.useEffect)((function(){hn(un)}),[Wt,Kt]),se&&(se.current={focus:function(){Xe.current&&Xe.current.focus()},blur:function(){Xe.current&&Xe.current.blur(),Je.current&&Je.current.blur()}});var It=Object.keys(te||{}).map((function(e){var n=te[e],t="function"===typeof n?n():n;return{label:e,onClick:function(){Kn(t,null),Fn(!1,nn)},onMouseEnter:function(){st(t)},onMouseLeave:function(){st(null)}}}));function Ut(){var n=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=null;Yn&&mt&&mt[0]&&mt[1]&&k.isAfter(mt[1],mt[0])&&(r=mt);var o=P;if(P&&"object"===(0,p.A)(P)&&P.defaultValue){var c=P.defaultValue;o=(0,i.A)((0,i.A)({},P),{},{defaultValue:ue(c,nn)||void 0})}var f=null;return ee&&(f=function(e,n){return ee(e,n,{range:nn?"end":"start"})}),s.createElement(ve.Provider,{value:{inRange:!0,panelPosition:n,rangedValue:ft||pn,hoverRangedValue:r}},s.createElement(Ve,(0,u.A)({},e,t,{dateRender:f,showTime:o,mode:yn[nn],generateConfig:k,style:void 0,direction:Me,disabledDate:0===nn?En:Nn,disabledTime:function(e){return!!X&&X(e,0===nn?"start":"end")},className:v()((0,l.A)({},"".concat(a,"-panel-focused"),0===nn?!Pt:!Ft)),value:ue(pn,nn),locale:E,tabIndex:-1,onPanelChange:function(e,t){0===nn&&yt(!0),1===nn&&Et(!0),bn(le(yn,t,nn),le(pn,e,nn));var r=e;"right"===n&&yn[nn]===t&&(r=J(r,t,k,-1)),vn(r,nn)},onOk:null,onSelect:void 0,onChange:void 0,defaultValue:ue(pn,0===nn?1:0),defaultPickerValue:void 0})))}var Bt=0,jt=0;nn&&je.current&&qe.current&&Be.current&&(Bt=je.current.offsetWidth+qe.current.offsetWidth,Be.current.offsetWidth&&Bt>Be.current.offsetWidth&&(jt=Bt));var zt="rtl"===Me?{right:Bt}:{left:Bt};var qt,_t,Gt=s.createElement("div",{className:v()("".concat(a,"-range-wrapper"),"".concat(a,"-").concat(R,"-range-wrapper")),style:{minWidth:Tn}},s.createElement("div",{className:"".concat(a,"-range-arrow"),style:zt}),function(){var e,n=Re(a,yn[nn],ge),t=Pe({prefixCls:a,components:Ne,needConfirmButton:Te,okDisabled:!ue(pn,nn)||q&&q(pn[nn]),locale:E,rangeList:It,onOk:function(){ue(pn,nn)&&(Kn(pn,nn),ke&&ke(pn))}});if("time"===R||P)e=Ut();else{var r=dn(nn),o=J(r,R,k),c=yn[nn]===R,u=Ut(!!c&&"left",{pickerValue:r,onPickerValueChange:function(e){vn(e,nn)}}),l=Ut("right",{pickerValue:o,onPickerValueChange:function(e){vn(J(e,R,k,-1),nn)}});e="rtl"===Me?s.createElement(s.Fragment,null,l,c&&u):s.createElement(s.Fragment,null,u,c&&l)}var i=s.createElement(s.Fragment,null,s.createElement("div",{className:"".concat(a,"-panels")},e),(n||t)&&s.createElement("div",{className:"".concat(a,"-footer")},n,t));return ne&&(i=ne(i)),s.createElement("div",{className:"".concat(a,"-panel-container"),style:{marginLeft:jt},ref:Be,onMouseDown:function(e){e.preventDefault()}},i)}());ie&&(qt=s.createElement("span",{className:"".concat(a,"-suffix")},ie)),oe&&(ue(un,0)&&!on[0]||ue(un,1)&&!on[1])&&(_t=s.createElement("span",{onMouseDown:function(e){e.preventDefault(),e.stopPropagation()},onMouseUp:function(e){e.preventDefault(),e.stopPropagation();var n=un;on[0]||(n=le(n,null,0)),on[1]||(n=le(n,null,1)),Kn(n,null),Fn(!1,nn)},className:"".concat(a,"-clear")},fe||s.createElement("span",{className:"".concat(a,"-clear-btn")})));var Qt={size:L(R,Ze[0],k)},Xt=0,Jt=0;je.current&&ze.current&&qe.current&&(0===nn?Jt=je.current.offsetWidth:(Xt=Bt,Jt=ze.current.offsetWidth));var Zt="rtl"===Me?{right:Xt}:{left:Xt};return s.createElement(C.Provider,{value:{operationRef:rn,hideHeader:"time"===R,onDateMouseEnter:function(e){gt(le(pn,e,nn)),0===nn?At(e):kt(e)},onDateMouseLeave:function(){gt(le(pn,null,nn)),0===nn?yt():Et()},hideRanges:!0,onSelect:function(e,n){var t=le(pn,e,nn);"submit"===n||"key"!==n&&!Te?(Kn(t,nn),0===nn?yt():Et()):hn(t)},open:Yn}},s.createElement(Oe,{visible:Yn,popupElement:Gt,popupStyle:A,prefixCls:a,dropdownClassName:y,dropdownAlign:b,getPopupContainer:D,transitionName:w,range:!0,direction:Me},s.createElement("div",(0,u.A)({ref:Ke,className:v()(a,"".concat(a,"-range"),h,(n={},(0,l.A)(n,"".concat(a,"-disabled"),on[0]&&on[1]),(0,l.A)(n,"".concat(a,"-focused"),0===nn?Rt:Ht),(0,l.A)(n,"".concat(a,"-rtl"),"rtl"===Me),n)),style:d,onClick:function(e){Yn||Xe.current.contains(e.target)||Je.current.contains(e.target)||(on[0]?on[1]||Wn(1):Wn(0))},onMouseEnter:be,onMouseLeave:De,onMouseDown:function(e){!Yn||!Rt&&!Ht||Xe.current.contains(e.target)||Je.current.contains(e.target)||e.preventDefault()}},ce(e)),s.createElement("div",{className:v()("".concat(a,"-input"),(t={},(0,l.A)(t,"".concat(a,"-input-active"),0===nn),(0,l.A)(t,"".concat(a,"-input-placeholder"),!!Ct),t)),ref:je},s.createElement("input",(0,u.A)({id:c,disabled:on[0],readOnly:de||"function"===typeof Ze[0]||!Pt,value:Ct||et,onChange:function(e){nt(e.target.value)},autoFocus:x,placeholder:ue(N,0)||"",ref:Xe},Yt,Qt,{autoComplete:Le}))),s.createElement("div",{className:"".concat(a,"-range-separator"),ref:qe},H),s.createElement("div",{className:v()("".concat(a,"-input"),(r={},(0,l.A)(r,"".concat(a,"-input-active"),1===nn),(0,l.A)(r,"".concat(a,"-input-placeholder"),!!Dt),r)),ref:ze},s.createElement("input",(0,u.A)({disabled:on[1],readOnly:de||"function"===typeof Ze[0]||!Ft,value:Dt||at,onChange:function(e){ct(e.target.value)},placeholder:ue(N,1)||"",ref:Je},Tt,Qt,{autoComplete:Le}))),s.createElement("div",{className:"".concat(a,"-active-bar"),style:(0,i.A)((0,i.A)({},Zt),{},{width:Jt,position:"absolute"})}),qt,_t)))}var Je=function(e){(0,a.A)(t,e);var n=(0,c.A)(t);function t(){var e;return(0,r.A)(this,t),(e=n.apply(this,arguments)).pickerRef=s.createRef(),e.focus=function(){e.pickerRef.current&&e.pickerRef.current.focus()},e.blur=function(){e.pickerRef.current&&e.pickerRef.current.blur()},e}return(0,o.A)(t,[{key:"render",value:function(){return s.createElement(Xe,(0,u.A)({},this.props,{pickerRef:this.pickerRef}))}}]),t}(s.Component),Ze=Je,$e=ze},65789:function(e,n){n.A={locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"Ok",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"}},15749:function(e,n,t){var r=t(89379),o=t(23029),a=t(92901),c=t(15361),u=t(88293),l=t(31014),i=t(83434),f=t(20052),s=t(98680),d=t(1649),v=t(74573),m=function(e){(0,c.A)(t,e);var n=(0,u.A)(t);function t(){var e;return(0,o.A)(this,t),(e=n.apply(this,arguments)).resizeObserver=null,e.childNode=null,e.currentElement=null,e.state={width:0,height:0,offsetHeight:0,offsetWidth:0},e.onResize=function(n){var t=e.props.onResize,o=n[0].target,a=o.getBoundingClientRect(),c=a.width,u=a.height,l=o.offsetWidth,i=o.offsetHeight,f=Math.floor(c),s=Math.floor(u);if(e.state.width!==f||e.state.height!==s||e.state.offsetWidth!==l||e.state.offsetHeight!==i){var d={width:f,height:s,offsetWidth:l,offsetHeight:i};e.setState(d),t&&Promise.resolve().then((function(){t((0,r.A)((0,r.A)({},d),{},{offsetWidth:l,offsetHeight:i}),o)}))}},e.setChildNode=function(n){e.childNode=n},e}return(0,a.A)(t,[{key:"componentDidMount",value:function(){this.onComponentUpdated()}},{key:"componentDidUpdate",value:function(){this.onComponentUpdated()}},{key:"componentWillUnmount",value:function(){this.destroyObserver()}},{key:"onComponentUpdated",value:function(){if(this.props.disabled)this.destroyObserver();else{var e=(0,i.A)(this.childNode||this);e!==this.currentElement&&(this.destroyObserver(),this.currentElement=e),!this.resizeObserver&&e&&(this.resizeObserver=new v.A(this.onResize),this.resizeObserver.observe(e))}}},{key:"destroyObserver",value:function(){this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null)}},{key:"render",value:function(){var e=this.props.children,n=(0,f.A)(e);if(n.length>1)(0,s.Ay)(!1,"Find more than one child node with `children` in ResizeObserver. Will only observe first one.");else if(0===n.length)return(0,s.Ay)(!1,"`children` of ResizeObserver is empty. Nothing is in observe."),null;var t=n[0];if(l.isValidElement(t)&&(0,d.f3)(t)){var r=t.ref;n[0]=l.cloneElement(t,{ref:(0,d.K4)(r,this.setChildNode)})}return 1===n.length?n[0]:n.map((function(e,n){return!l.isValidElement(e)||"key"in e&&null!==e.key?e:l.cloneElement(e,{key:"".concat("rc-observer-key","-").concat(n)})}))}}]),t}(l.Component);m.displayName="ResizeObserver",n.A=m}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_mlflow_mlflow=self.webpackChunk_mlflow_mlflow||[]).push([[7076],{72178:function(e,n,t){var o=t(31014),r=t(82589),i=t(68254),a=t(10811),l=t(16612),s=t(50111);var d={name:"11jf4ye",styles:"display:flex;gap:8px"};const c={container:{display:"flex",padding:"20px",gap:"20px",height:"100%",minHeight:"100%"},leftPanel:e=>({display:"flex",flexDirection:"column",gap:16,padding:12,backgroundColor:e.colors.backgroundSecondary,borderRadius:e.general.borderRadiusBase,flexShrink:0,alignItems:"stretch",minWidth:120}),actionsHeader:e=>({fontSize:"14px",fontWeight:600,color:e.colors.textSecondary,marginBottom:8,textTransform:"uppercase",letterSpacing:"0.5px",textAlign:"center"}),contentWrapper:{display:"flex",flexDirection:"column",gap:2,flex:1,minHeight:0,overflow:"hidden"},header:{display:"flex",flexDirection:"column",gap:4,marginBottom:4,paddingBottom:4,flexShrink:0},headerTitle:{fontSize:"20px",fontWeight:600,margin:0},headerSeparator:e=>({height:"1px",backgroundColor:e.colors.border,width:"100%",margin:"4px 0"}),headerDetails:{display:"flex",flexDirection:"column",gap:4},detailRow:{display:"flex",alignItems:"center",gap:8},detailLabel:e=>({fontSize:"14px",color:e.colors.textSecondary,fontWeight:500,minWidth:"100px",flexShrink:0}),detailValue:e=>({fontSize:"12px",fontFamily:"'Monaco', 'Menlo', 'Ubuntu Mono', monospace",lineHeight:1.4,color:e.colors.textPrimary}),sectionSeparator:e=>({height:"1px",backgroundColor:e.colors.border,width:"100%",margin:"4px 0"}),configSection:{display:"flex",flexDirection:"column",gap:12,flex:1,minHeight:0},configHeader:{fontSize:"16px",fontWeight:600,margin:0,color:"#666"},title:{fontSize:"16px",fontWeight:600},textAreaWrapper:{flex:1,minHeight:0,display:"flex",flexDirection:"column"},textArea:{name:"1s2itzc",styles:"height:100%!important;min-height:0!important;font-family:'Monaco','Menlo','Ubuntu Mono',monospace;font-size:12px;line-height:1.4;resize:none"},iconButton:{name:"94415v",styles:"&.ant-btn{border:1px solid rgba(0, 0, 0, 0.1);background:rgba(255, 255, 255, 0.1);box-shadow:none;width:100%!important;min-width:0!important;justify-content:flex-start;text-align:left;.ant-btn-icon{margin-right:8px;}&:hover,&:focus{background:rgba(255, 255, 255, 0.2);}&:disabled{width:100%!important;min-width:0!important;opacity:0.6;}}"}};n.A=e=>{let{runUuid:n,runName:t,onClose:u,onHideRun:p,showControllerNotification:m,refreshRuns:f}=e;(0,a.wA)();const[h,g]=(0,o.useState)(!1),[v,y]=(0,o.useState)("{}"),[x,b]=(0,o.useState)(""),[w,C]=(0,o.useState)(!1),[k,S]=(0,o.useState)(""),[R,_]=(0,o.useState)(0);(0,o.useEffect)((()=>{(async()=>{try{const e=Number(t);if(!e)return void console.error("Run not found");const n=await l.F.getRunUi({run_id:e});if(n&&"object"===typeof n&&"config"in n){const e=n.config;y(JSON.stringify(e,null,2)),b(JSON.stringify(e,null,2)),"status"in n&&"string"===typeof n.status&&S(n.status),"num_chunks_visited"in n&&"number"===typeof n.num_chunks_visited&&_(n.num_chunks_visited)}else console.error("Response does not contain a config object")}catch(e){console.error("Error fetching run configuration:",e)}})()}),[t]);return(0,s.FD)("div",{css:c.container,children:[(0,s.FD)("div",{css:c.leftPanel,children:[(0,s.Y)("div",{css:c.actionsHeader,children:"Actions"}),(0,s.Y)(r.m_M,{title:"Resume run",placement:"left",children:(0,s.Y)(i.B,{componentId:"resume-run-button",size:"middle",icon:(0,s.Y)(r.udU,{color:"success"}),css:c.iconButton,onClick:async()=>{try{const e=Number(t),n=await l.F.resumeRun({run_id:e});if(n&&"object"===typeof n&&"error"in n?n.error:null)return void(null===m||void 0===m||m("resume","error"));null===m||void 0===m||m("resume","success"),null===f||void 0===f||f()}catch(e){null===m||void 0===m||m("resume","error")}},disabled:"completed"===(null===k||void 0===k?void 0:k.toLowerCase()),children:"Resume"})}),(0,s.Y)(r.m_M,{title:"Stop run",placement:"left",children:(0,s.Y)(i.B,{componentId:"stop-run-button",size:"middle",icon:(0,s.Y)(r.wFz,{color:"danger"}),css:c.iconButton,onClick:async()=>{try{const e=Number(t),n=await l.F.stopRun({run_id:e});if(n&&"object"===typeof n&&"error"in n?n.error:null)return void(null===m||void 0===m||m("stop","error"));null===m||void 0===m||m("stop","success"),null===f||void 0===f||f()}catch(e){null===m||void 0===m||m("stop","error")}},disabled:"completed"===(null===k||void 0===k?void 0:k.toLowerCase()),children:"Stop"})}),(0,s.Y)(r.m_M,{title:"Clone run",placement:"left",children:(0,s.Y)(i.B,{componentId:"clone-run-button",size:"middle",icon:(0,s.Y)(r.TdU,{color:"ai"}),onClick:()=>{g(!0),C(!1)},disabled:"completed"===(null===k||void 0===k?void 0:k.toLowerCase()),children:"Clone"})}),(0,s.Y)(r.m_M,{title:"Delete run",placement:"left",children:(0,s.Y)(i.B,{componentId:"delete-run-button",size:"middle",icon:(0,s.Y)(r.ucK,{color:"danger"}),onClick:async()=>{try{const e=Number(t),o=await l.F.deleteRun({run_id:e});if(o&&"object"===typeof o&&"error"in o?o.error:null)return void(null===m||void 0===m||m("delete","error"));p&&"function"===typeof p&&p(n),null===m||void 0===m||m("delete","success"),null===f||void 0===f||f(),null===u||void 0===u||u()}catch(e){null===m||void 0===m||m("delete","error")}},disabled:"completed"===(null===k||void 0===k?void 0:k.toLowerCase()),children:"Delete"})})]}),(0,s.FD)("div",{css:c.contentWrapper,children:[(0,s.FD)("div",{css:c.header,children:[(0,s.Y)(i.T.Title,{level:4,css:c.headerTitle,children:"Run Details"}),(0,s.Y)("div",{css:c.headerSeparator}),(0,s.FD)("div",{css:c.headerDetails,children:[(0,s.FD)("div",{css:c.detailRow,children:[(0,s.Y)("span",{css:c.detailLabel,children:"Run Name:"}),(0,s.Y)("span",{css:c.detailValue,children:t})]}),(0,s.FD)("div",{css:c.detailRow,children:[(0,s.Y)("span",{css:c.detailLabel,children:"Run Status:"}),(0,s.Y)("span",{css:c.detailValue,children:k})]}),(0,s.FD)("div",{css:c.detailRow,children:[(0,s.Y)("span",{css:c.detailLabel,children:"Chunk Number:"}),(0,s.Y)("span",{css:c.detailValue,children:R})]})]})]}),(0,s.Y)("div",{css:c.sectionSeparator}),(0,s.FD)("div",{css:c.configSection,children:[(0,s.Y)(i.T.Title,{level:5,css:c.configHeader,children:"Run Configuration"}),(0,s.Y)(r.m_M,{title:h?"You can now edit the config":"Click 'Clone' to edit this config",placement:"top",children:(0,s.Y)("div",{css:c.textAreaWrapper,children:(0,s.Y)(i.f.TextArea,{value:v,onChange:e=>y(e.target.value),readOnly:!h,css:c.textArea,autoSize:!1})})})]}),h&&(0,s.FD)(s.FK,{children:[(0,s.Y)(r.Sc0,{isChecked:w,onChange:()=>C(!w),children:"Warm start?"}),(0,s.FD)("div",{css:d,children:[(0,s.Y)(i.B,{componentId:"save-run-button",size:"middle",type:"primary",onClick:async()=>{try{const o=Number(t);let r;try{r=JSON.parse(v)}catch(e){return console.error("Error parsing config JSON:",e),void(null===m||void 0===m||m("clone_modify","error","Invalid JSON configuration"))}const i=await l.F.cloneModifyRun({run_id:o,config:r,warm_start:w});let a=null;if("string"===typeof i)try{const e=JSON.parse(i);!1===e.result&&e.err_msg&&(a=e.err_msg)}catch(n){a=i}else if(i&&"object"===typeof i){const e=i;!1===e.result&&e.err_msg?a=e.err_msg:e.error&&(a=e.error)}if(a)return null===m||void 0===m||m("clone_modify","error",a),void console.error("Clone/Modify error:",a);null===m||void 0===m||m("clone_modify","success"),null===f||void 0===f||f(),g(!1)}catch(o){null===m||void 0===m||m("clone_modify","error"),console.error("Clone/Modify error:",o)}},children:"Submit"}),(0,s.Y)(i.B,{componentId:"cancel-run-button",size:"middle",onClick:()=>{g(!1),y(x),C(!1)},children:"Cancel"})]})]})]})]})}},72456:function(e,n,t){t.d(n,{o:function(){return M}});var o=t(89555),r=t(68254),i=t(82589),a=t(31014),l=t(10811),s=t(30152),d=t(19485),c=t(25866),u=t(73150),p=t(75627),m=t(21879),f=t(58898),h=t(57127),g=t(88464),v=t(91144),y=t(62862),x=t(9133),b=t(62758),w=t(22853),C=t(63617),k=t(55999),S=t(70403),R=t(90765),_=t(50111);const Y=(e,n,t,o,r,i)=>{var a,l;return{uuid:e.runUuid,displayName:(null===(a=e.runInfo)||void 0===a?void 0:a.runName)||e.runUuid,runInfo:e.runInfo,metrics:n[e.runUuid]||{},params:t[e.runUuid]||{},tags:o[e.runUuid]||{},images:r[e.runUuid]||{},color:i,pinned:e.pinned,pinnable:e.pinnable,metricsHistory:{},belongsToGroup:null===(l=e.runDateAndNestInfo)||void 0===l?void 0:l.belongsToGroup,hidden:e.hidden}},D=e=>{let{isLoading:n,comparedRuns:t,metricKeyList:D,paramKeyList:M,experimentTags:L,compareRunCharts:B,compareRunSections:I,groupBy:E,autoRefreshEnabled:U,showControllerNotification:N,refreshRuns:P}=e;const T=(0,m.e)(),A=(0,S.LE)(),F=(0,b.g_)(),{paramsByRunUuid:H,latestMetricsByRunUuid:z,tagsByRunUuid:W,imagesByRunUuid:O}=(0,l.d4)((e=>({paramsByRunUuid:e.entities.paramsByRunUuid,latestMetricsByRunUuid:e.entities.latestMetricsByRunUuid,tagsByRunUuid:e.entities.tagsByRunUuid,imagesByRunUuid:e.entities.imagesByRunUuid}))),{theme:j}=(0,r.u)(),[$,J]=(0,a.useState)(!1),[K,V]=(0,a.useState)(null),[G,q]=(0,a.useState)(""),{formatMessage:X}=(0,g.A)(),Q=(0,a.useMemo)((()=>(0,y.Zp)(E)),[E]),[Z,ee]=(0,a.useState)(void 0),ne=(0,a.useCallback)((e=>{V(e)}),[]);(0,a.useEffect)((()=>{$||n||J(!0)}),[$,n]);const te=(0,a.useMemo)((()=>{const e=L[c.S0],n=L[c.Q4];return(null===e||void 0===e?void 0:e.value)||(null===n||void 0===n?void 0:n.value)||D[0]||""}),[L,D]),oe=(0,a.useMemo)((()=>{if(!E)return t.filter((e=>e.runInfo)).filter((e=>(0,v.M1)()||!e.hidden)).map((e=>Y(e,z,H,W,O,A(e.runUuid))));return[...t.filter((e=>(0,v.M1)()||!e.hidden)).filter((e=>e.groupParentInfo&&!(0,y.mC)(e.groupParentInfo))).map((e=>{var n;return((e,n)=>{var t,o,r;const i=null!==(t=e.groupParentInfo)&&void 0!==t&&t.aggregatedMetricData?(0,x.keyBy)((0,x.values)(null===(o=e.groupParentInfo)||void 0===o?void 0:o.aggregatedMetricData).map((e=>{let{key:n,value:t,maxStep:o}=e;return{key:n,value:t,step:o,timestamp:0}})),"key"):{};return{uuid:e.rowUuid,displayName:(0,y.QD)(e.groupParentInfo),groupParentInfo:e.groupParentInfo,metrics:i,params:(null===(r=e.groupParentInfo)||void 0===r?void 0:r.aggregatedParamData)||{},tags:{},images:{},color:n,pinned:e.pinned,pinnable:e.pinnable,metricsHistory:{},hidden:e.hidden}})(e,A(null===(n=e.groupParentInfo)||void 0===n?void 0:n.groupId))})),...t.filter((e=>(0,v.M1)()||!e.hidden)).filter((e=>{var n;return!e.groupParentInfo&&!(null!==(n=e.runDateAndNestInfo)&&void 0!==n&&n.belongsToGroup)})).map((e=>Y(e,z,H,W,O,A(e.runUuid))))]}),[E,t,z,H,W,O,A]),re=oe.filter((e=>!e.hidden&&e.tags[c.Cr]));(0,k.L)({runUuids:re.map((e=>e.uuid)),runUuidsIsActive:re.map((e=>{var n;return"RUNNING"===(null===(n=e.runInfo)||void 0===n?void 0:n.status)})),enabled:(0,v.HW)(),autoRefreshEnabled:U}),(0,a.useEffect)((()=>{if((!I||!B)&&oe.length>0){const{resultChartSet:e,resultSectionSet:n}=s.i$.getBaseChartAndSectionConfigs({primaryMetricKey:te,runsData:oe,useParallelCoordinatesChart:!0});F((t=>({...t,compareRunCharts:e,compareRunSections:n})))}}),[B,I,te,oe,F]),(0,a.useEffect)((()=>{F((e=>{if(!e.compareRunCharts||!e.compareRunSections)return e;const{resultChartSet:n,resultSectionSet:t,isResultUpdated:o}=s.i$.updateChartAndSectionConfigs({compareRunCharts:e.compareRunCharts,compareRunSections:e.compareRunSections,runsData:oe,isAccordionReordered:e.isAccordionReordered});return o?{...e,compareRunCharts:n,compareRunSections:t}:e}))}),[oe,F]);const ie=(0,a.useCallback)((e=>{T((n=>({...n,runsPinned:n.runsPinned.includes(e)?n.runsPinned.filter((n=>n!==e)):[...n.runsPinned,e]})))}),[T]),ae=(0,w.v)(t),le=(0,a.useCallback)((e=>{(0,v.M1)()?ae(f.oy.CUSTOM,e):T((n=>({...n,runsHidden:[...n.runsHidden,e]})))}),[T,ae]),se=(0,b.Ez)(),de=(0,b.KP)(),ce=(0,b.iO)(),ue=(0,b.cA)(),pe=(0,a.useMemo)((()=>({runs:oe,onTogglePin:ie,onHideRun:le})),[oe,le,ie]);return $?(0,_.FD)("div",{css:(0,o.AH)({flex:1,borderTop:`1px solid ${j.colors.border}`,borderLeft:`1px solid ${j.colors.border}`,marginLeft:-1,position:"relative",backgroundColor:j.colors.backgroundSecondary,paddingLeft:j.spacing.md,paddingRight:j.spacing.md,paddingBottom:j.spacing.md,zIndex:1,overflowY:"auto",minWidth:320},""),"data-testid":"experiment-view-compare-runs-chart-area",children:[(0,_.Y)("div",{css:(0,o.AH)({paddingTop:j.spacing.sm,paddingBottom:j.spacing.sm},""),children:(0,_.Y)(r.f,{role:"searchbox",prefix:(0,_.Y)(i.WIv,{}),value:G,allowClear:!0,onChange:e=>q(e.target.value),placeholder:X({id:"Xs1oJm",defaultMessage:"Search metric charts"})})}),(0,_.Y)(p.W,{contextData:pe,component:u.X,showControllerNotification:N,refreshRuns:P,children:(0,_.Y)(R.G,{children:(0,_.Y)(h.J,{compareRunSections:I,compareRunCharts:B,reorderCharts:ce,insertCharts:ue,chartData:oe,startEditChart:ne,removeChart:de,addNewChartCard:e=>n=>{V(s.i$.getEmptyChartCardByType(n,!1,void 0,e))},search:G,groupBy:Q,setFullScreenChart:ee,autoRefreshEnabled:U})})}),K&&(0,_.Y)(d.z,{chartRunData:oe,metricKeyList:D,paramKeyList:M,config:K,onSubmit:e=>{se(e),V(null)},onCancel:()=>V(null),groupBy:Q}),(0,_.Y)(C._,{fullScreenChart:Z,onCancel:()=>ee(void 0),chartData:oe,groupBy:Q,tooltipContextValue:pe,tooltipComponent:u.X,autoRefreshEnabled:U,showControllerNotification:N})]}):(0,_.Y)("div",{css:(0,o.AH)({flex:1,borderTop:`1px solid ${j.colors.border}`,borderLeft:`1px solid ${j.colors.border}`,marginLeft:-1,position:"relative",backgroundColor:j.colors.backgroundSecondary,paddingLeft:j.spacing.md,paddingRight:j.spacing.md,paddingBottom:j.spacing.md,zIndex:1,overflowY:"auto"},""),children:(0,_.Y)(i.PLz,{})})},M=e=>{const n=(0,m.e)(),t=(0,a.useCallback)((e=>{n((n=>({...n,...e(n)})))}),[n]);return(0,_.Y)(b.oB,{updateChartsUIState:t,children:(0,_.Y)(D,{...e})})}},57392:function(e,n,t){t.d(n,{f:function(){return d}});var o,r=t(4877),i=t.n(r),a=t(60669),l=t(50361),s=t(39697);class d{static createEvaluationTextPayload(e,n){switch(n){case l.W8.LLM_V1_COMPLETIONS:return{prompt:e};case l.W8.LLM_V1_CHAT:return{messages:[{content:e,role:"user"}]};case l.W8.LLM_V1_EMBEDDINGS:throw new Error(`Unsupported served LLM model task "${n}"!`);default:throw new Error(`Unknown served LLM model task "${n}"!`)}}}o=d,d.queryMLflowDeploymentEndpointRoute=async(e,n)=>{i()(e.mlflowDeployment,"Trying to call a MLflow deployment route without a deployment_url");const{inputText:t}=n,r={...o.createEvaluationTextPayload(t,e.task),...n.parameters};return a.x.gatewayProxyPost({gateway_path:e.mlflowDeployment.endpoint_url.substring(1),json_data:r})},d.queryModelGatewayRoute=async(e,n)=>{if("mlflow_deployment_endpoint"===e.type){i()(e.mlflowDeployment,"Trying to call a serving endpoint route without an endpoint");const t=await o.queryMLflowDeploymentEndpointRoute(e,n);return(0,s.Wc)(t,e.task)}throw new Error("Unknown route type")}},39697:function(e,n,t){t.d(n,{Wc:function(){return a},YZ:function(){return i}});var o=t(52350),r=t(50361);class i extends o.s{getGatewayErrorMessage(){var e,n,t,o;return(null===(e=this.textJson)||void 0===e||null===(n=e.error)||void 0===n?void 0:n.message)||(null===(t=this.textJson)||void 0===t?void 0:t.message)||(null===(o=this.textJson)||void 0===o?void 0:o.toString())||this.text}}const a=(e,n)=>{if(n===r.W8.LLM_V1_COMPLETIONS){var t,o;const n=e,r=null===(t=n.choices)||void 0===t||null===(o=t[0])||void 0===o?void 0:o.text,{usage:i}=n;if(r&&i)return{text:r,metadata:{total_tokens:i.total_tokens,output_tokens:i.completion_tokens,input_tokens:i.prompt_tokens}}}if(n===r.W8.LLM_V1_CHAT){var i,a,l;const n=e,t=null===(i=n.choices)||void 0===i||null===(a=i[0])||void 0===a||null===(l=a.message)||void 0===l?void 0:l.content,{usage:o}=n;if(t&&o)return{text:t,metadata:{total_tokens:o.total_tokens,output_tokens:o.completion_tokens,input_tokens:o.prompt_tokens}}}throw new Error(`Unrecognizable AI gateway response metadata "${e.usage}"!`)}},13644:function(e,n,t){t.d(n,{W:function(){return i},r:function(){return r}});var o=t(53962);const r=async()=>{try{await(0,o.I2)({url:"/ajax-api/2.0/mlflow/experiments/search",data:{max_results:1}});return!0}catch(e){return console.error("Error checking MLflow server:",e),!1}},i=async()=>{try{if(!(await fetch("/dispatcher/health-check",{method:"GET"})).ok)throw new Error("Dispatcher health check failed");return!0}catch(e){return console.error("Error checking Dispatcher:",e),!1}}},93664:function(e,n,t){var o=t(31014),r=t(89555),i=t(68254),a=t(50111);var l={name:"187r2bh",styles:"flex:1;overflow-y:auto;padding:20px"};n.A=e=>{let{isOpen:n,onClose:t,children:s,width:d=400,showBackdrop:c=!0,closeOnBackdropClick:u=!0,closeOnEscape:p=!0,className:m,style:f,animationDuration:h=300,disableBodyScroll:g=!0,customHeader:v,showHeader:y=!0}=e;const{theme:x}=(0,i.u)(),b=(0,o.useRef)(null),w=(0,o.useRef)(null);(0,o.useEffect)((()=>{if(!p)return;const e=e=>{"Escape"===e.key&&n&&t()};return n&&document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}}),[n,t,p]),(0,o.useEffect)((()=>{if(g)return document.body.style.overflow=n?"hidden":"",()=>{document.body.style.overflow=""}}),[n,g]);const C="number"===typeof d?`${d}px`:d;return(0,a.FD)(a.FK,{children:[c&&(0,a.Y)("div",{ref:w,css:(0,r.AH)("position:fixed;top:0;left:0;right:0;bottom:0;background-color:rgba(0, 0, 0, 0.5);z-index:1000;opacity:",n?1:0,";visibility:",n?"visible":"hidden",";transition:all ",h,"ms ease-in-out;"),onClick:e=>{u&&e.target===w.current&&t()}}),(0,a.FD)("div",{ref:b,css:(0,r.AH)("position:fixed;top:0;right:",n?0:`-${C}`,";width:",C,";height:100vh;background-color:",x.colors.backgroundPrimary,";box-shadow:-2px 0 8px rgba(0, 0, 0, 0.15);z-index:1001;transition:right ",h,"ms ease-in-out;display:flex;flex-direction:column;overflow:hidden;"),className:m,style:f,onClick:e=>{e.stopPropagation()},children:[(y||v)&&(0,a.Y)("div",{css:(0,r.AH)("display:flex;justify-content:space-between;align-items:center;padding:16px 20px;border-bottom:1px solid ",x.colors.border,";background-color:",x.colors.backgroundSecondary,";min-height:60px;"),children:v||(0,a.FD)(a.FK,{children:[(0,a.Y)("div",{css:(0,r.AH)("font-size:18px;font-weight:600;color:",x.colors.textPrimary,";"),children:"RapidFire"}),(0,a.Y)("button",{onClick:t,css:(0,r.AH)("background:none;border:none;cursor:pointer;padding:8px;border-radius:4px;display:flex;align-items:center;justify-content:center;color:",x.colors.textSecondary,";transition:all 0.2s ease;&:hover{background-color:",x.colors.backgroundSecondary,";color:",x.colors.textPrimary,";}&:focus{outline:2px solid ",x.colors.primary,";outline-offset:2px;}"),"aria-label":"Close drawer",children:(0,a.Y)(i.C,{})})]})}),(0,a.Y)("div",{css:l,children:s})]})]})}},55101:function(e,n,t){t.d(n,{R:function(){return l}});t(31014);var o=t(68254),r=t(56412),i=t(50111);var a={name:"490tlg",styles:"display:flex;gap:4px"};const l=e=>{let{copyText:n}=e;return(0,i.FD)("div",{css:a,children:[(0,i.Y)(o.f,{readOnly:!0,value:n,"data-test-id":"copy-box"}),(0,i.Y)(r.i,{copyText:n})]})}}}]);