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([[4862],{51499:function(e,t,o){var a=o(90260),i=o(5153)({editType:"none",description:"Sets the default hover label font used by all traces on the graph."});i.family.dflt=a.HOVERFONT,i.size.dflt=a.HOVERFONTSIZE,e.exports={clickmode:{valType:"flaglist",flags:["event","select"],dflt:"event",editType:"plot",extras:["none"],description:["Determines the mode of single click interactions.","*event* is the default value and emits the `plotly_click`","event. In addition this mode emits the `plotly_selected` event","in drag modes *lasso* and *select*, but with no event data attached","(kept for compatibility reasons).","The *select* flag enables selecting single","data points via click. This mode also supports persistent selections,","meaning that pressing Shift while clicking, adds to / subtracts from an","existing selection. *select* with `hovermode`: *x* can be confusing, consider","explicitly setting `hovermode`: *closest* when using this feature.","Selection events are sent accordingly as long as *event* flag is set as well.","When the *event* flag is missing, `plotly_click` and `plotly_selected`","events are not fired."].join(" ")},dragmode:{valType:"enumerated",values:["zoom","pan","select","lasso","drawclosedpath","drawopenpath","drawline","drawrect","drawcircle","orbit","turntable",!1],dflt:"zoom",editType:"modebar",description:["Determines the mode of drag interactions.","*select* and *lasso* apply only to scatter traces with","markers or text. *orbit* and *turntable* apply only to","3D scenes."].join(" ")},hovermode:{valType:"enumerated",values:["x","y","closest",!1,"x unified","y unified"],dflt:"closest",editType:"modebar",description:["Determines the mode of hover interactions.","If *closest*, a single hoverlabel will appear","for the *closest* point within the `hoverdistance`.","If *x* (or *y*), multiple hoverlabels will appear for multiple points","at the *closest* x- (or y-) coordinate within the `hoverdistance`,","with the caveat that no more than one hoverlabel will appear per trace.","If *x unified* (or *y unified*), a single hoverlabel will appear","multiple points at the closest x- (or y-) coordinate within the `hoverdistance`","with the caveat that no more than one hoverlabel will appear per trace.","In this mode, spikelines are enabled by default perpendicular to the specified axis.","If false, hover interactions are disabled."].join(" ")},hoverdistance:{valType:"integer",min:-1,dflt:20,editType:"none",description:["Sets the default distance (in pixels) to look for data","to add hover labels (-1 means no cutoff, 0 means no looking for data).","This is only a real distance for hovering on point-like objects,","like scatter points. For area-like objects (bars, scatter fills, etc)","hovering is on inside the area and off outside, but these objects","will not supersede hover on point-like objects in case of conflict."].join(" ")},spikedistance:{valType:"integer",min:-1,dflt:-1,editType:"none",description:["Sets the default distance (in pixels) to look for data to draw","spikelines to (-1 means no cutoff, 0 means no looking for data).","As with hoverdistance, distance does not apply to area-like objects.","In addition, some objects can be hovered on but will not generate","spikelines, such as scatter fills."].join(" ")},hoverlabel:{bgcolor:{valType:"color",editType:"none",description:["Sets the background color of all hover labels on graph"].join(" ")},bordercolor:{valType:"color",editType:"none",description:["Sets the border color of all hover labels on graph."].join(" ")},font:i,align:{valType:"enumerated",values:["left","right","auto"],dflt:"auto",editType:"none",description:["Sets the horizontal alignment of the text content within hover label box.","Has an effect only if the hover label text spans more two or more lines"].join(" ")},namelength:{valType:"integer",min:-1,dflt:15,editType:"none",description:["Sets the default length (in number of characters) of the trace name in","the hover labels for all traces. -1 shows the whole name","regardless of length. 0-3 shows the first 0-3 characters, and","an integer >3 will show the whole name if it is less than that","many characters, but if it is longer, will truncate to","`namelength - 3` characters and add an ellipsis."].join(" ")},editType:"none"},selectdirection:{valType:"enumerated",values:["h","v","d","any"],dflt:"any",description:["When `dragmode` is set to *select*, this limits the selection of the drag to","horizontal, vertical or diagonal. *h* only allows horizontal selection,","*v* only vertical, *d* only diagonal and *any* sets no limit."].join(" "),editType:"none"}}},49580:function(e,t,o){var a=o(47401),i=o(51499),r=o(30337),n=o(94158);e.exports=function(e,t){function o(o,r){return a.coerce(e,t,i,o,r)}r(e,t)&&(o("hoverdistance"),o("spikedistance")),"select"===o("dragmode")&&o("selectdirection");var l=t._has("mapbox"),s=t._has("geo"),d=t._basePlotModules.length;"zoom"===t.dragmode&&((l||s)&&1===d||l&&s&&2===d)&&(t.dragmode="pan"),n(e,t,o)}},51134:function(e,t,o){var a=o(47401),i=o(94158),r=o(51499);e.exports=function(e,t){i(e,t,(function(o,i){return a.coerce(e,t,r,o,i)}))}},85883:function(e,t,o){var a=o(47401),i=o(44790).counter,r=o(16688).u,n=o(56890).idRegex,l=o(92704),s={rows:{valType:"integer",min:1,editType:"plot",description:["The number of rows in the grid. If you provide a 2D `subplots`","array or a `yaxes` array, its length is used as the default.","But it's also possible to have a different length, if you","want to leave a row at the end for non-cartesian subplots."].join(" ")},roworder:{valType:"enumerated",values:["top to bottom","bottom to top"],dflt:"top to bottom",editType:"plot",description:["Is the first row the top or the bottom? Note that columns","are always enumerated from left to right."].join(" ")},columns:{valType:"integer",min:1,editType:"plot",description:["The number of columns in the grid. If you provide a 2D `subplots`","array, the length of its longest row is used as the default.","If you give an `xaxes` array, its length is used as the default.","But it's also possible to have a different length, if you","want to leave a row at the end for non-cartesian subplots."].join(" ")},subplots:{valType:"info_array",freeLength:!0,dimensions:2,items:{valType:"enumerated",values:[i("xy").toString(),""],editType:"plot"},editType:"plot",description:["Used for freeform grids, where some axes may be shared across subplots","but others are not. Each entry should be a cartesian subplot id, like","*xy* or *x3y2*, or ** to leave that cell empty. You may reuse x axes","within the same column, and y axes within the same row.","Non-cartesian subplots and traces that support `domain` can place themselves","in this grid separately using the `gridcell` attribute."].join(" ")},xaxes:{valType:"info_array",freeLength:!0,items:{valType:"enumerated",values:[n.x.toString(),""],editType:"plot"},editType:"plot",description:["Used with `yaxes` when the x and y axes are shared across columns and rows.","Each entry should be an x axis id like *x*, *x2*, etc., or ** to","not put an x axis in that column. Entries other than ** must be unique.","Ignored if `subplots` is present. If missing but `yaxes` is present,","will generate consecutive IDs."].join(" ")},yaxes:{valType:"info_array",freeLength:!0,items:{valType:"enumerated",values:[n.y.toString(),""],editType:"plot"},editType:"plot",description:["Used with `yaxes` when the x and y axes are shared across columns and rows.","Each entry should be an y axis id like *y*, *y2*, etc., or ** to","not put a y axis in that row. Entries other than ** must be unique.","Ignored if `subplots` is present. If missing but `xaxes` is present,","will generate consecutive IDs."].join(" ")},pattern:{valType:"enumerated",values:["independent","coupled"],dflt:"coupled",editType:"plot",description:["If no `subplots`, `xaxes`, or `yaxes` are given but we do have `rows` and `columns`,","we can generate defaults using consecutive axis IDs, in two ways:","*coupled* gives one x axis per column and one y axis per row.","*independent* uses a new xy pair for each cell, left-to-right across each row","then iterating rows according to `roworder`."].join(" ")},xgap:{valType:"number",min:0,max:1,editType:"plot",description:["Horizontal space between grid cells, expressed as a fraction","of the total width available to one cell. Defaults to 0.1","for coupled-axes grids and 0.2 for independent grids."].join(" ")},ygap:{valType:"number",min:0,max:1,editType:"plot",description:["Vertical space between grid cells, expressed as a fraction","of the total height available to one cell. Defaults to 0.1","for coupled-axes grids and 0.3 for independent grids."].join(" ")},domain:r({name:"grid",editType:"plot",noGridCell:!0},{description:["The first and last cells end exactly at the domain","edges, with no grout around the edges."].join(" ")}),xside:{valType:"enumerated",values:["bottom","bottom plot","top plot","top"],dflt:"bottom plot",editType:"plot",description:["Sets where the x axis labels and titles go. *bottom* means","the very bottom of the grid. *bottom plot* is the lowest plot","that each x axis is used in. *top* and *top plot* are similar."].join(" ")},yside:{valType:"enumerated",values:["left","left plot","right plot","right"],dflt:"left plot",editType:"plot",description:["Sets where the y axis labels and titles go. *left* means","the very left edge of the grid. *left plot* is the leftmost plot","that each y axis is used in. *right* and *right plot* are similar."].join(" ")},editType:"plot"};function d(e,t,o){var a=t[o+"axes"],i=Object.keys((e._splomAxes||{})[o]||{});return Array.isArray(a)?a:i.length?i:void 0}function c(e,t,o,a,i,r){var n=t(e+"gap",o),l=t("domain."+e);t(e+"side",a);for(var s=new Array(i),d=l[0],c=(l[1]-d)/(i-n),h=c*(1-n),u=0;u<i;u++){var p=d+c*u;s[r?i-1-u:u]=[p,p+h]}return s}function h(e,t,o,a,i){var r,n=new Array(o);function l(e,o){-1!==t.indexOf(o)&&void 0===a[o]?(n[e]=o,a[o]=e):n[e]=""}if(Array.isArray(e))for(r=0;r<o;r++)l(r,e[r]);else for(l(0,i),r=1;r<o;r++)l(r,i+(r+1));return n}e.exports={moduleType:"component",name:"grid",schema:{layout:{grid:s}},layoutAttributes:s,sizeDefaults:function(e,t){var o=e.grid||{},i=d(t,o,"x"),r=d(t,o,"y");if(e.grid||i||r){var n,h,u=Array.isArray(o.subplots)&&Array.isArray(o.subplots[0]),p=Array.isArray(i),f=Array.isArray(r),g=p&&i!==o.xaxes&&f&&r!==o.yaxes;u?(n=o.subplots.length,h=o.subplots[0].length):(f&&(n=r.length),p&&(h=i.length));var m=l.newContainer(t,"grid"),v=k("rows",n),y=k("columns",h);if(v*y>1){if(!u&&!p&&!f)"independent"===k("pattern")&&(u=!0);m._hasSubplotGrid=u;var b,x,w="top to bottom"===k("roworder"),_=u?.2:.1,T=u?.3:.1;g&&t._splomGridDflt&&(b=t._splomGridDflt.xside,x=t._splomGridDflt.yside),m._domains={x:c("x",k,_,b,y),y:c("y",k,T,x,v,w)}}else delete t.grid}function k(e,t){return a.coerce(o,m,s,e,t)}},contentDefaults:function(e,t){var o=t.grid;if(o&&o._domains){var a,i,r,n,l,s,c,u=e.grid||{},p=t._subplots,f=o._hasSubplotGrid,g=o.rows,m=o.columns,v="independent"===o.pattern,y=o._axisMap={};if(f){var b=u.subplots||[];s=o.subplots=new Array(g);var x=1;for(a=0;a<g;a++){var w=s[a]=new Array(m),_=b[a]||[];for(i=0;i<m;i++)if(v?(l=1===x?"xy":"x"+x+"y"+x,x++):l=_[i],w[i]="",-1!==p.cartesian.indexOf(l)){if(c=l.indexOf("y"),r=l.slice(0,c),n=l.slice(c),void 0!==y[r]&&y[r]!==i||void 0!==y[n]&&y[n]!==a)continue;w[i]=l,y[r]=i,y[n]=a}}}else{var T=d(t,u,"x"),k=d(t,u,"y");o.xaxes=h(T,p.xaxis,m,y,"x"),o.yaxes=h(k,p.yaxis,g,y,"y")}var A=o._anchors={},z="top to bottom"===o.roworder;for(var S in y){var M,C,I,L=S.charAt(0),D=o[L+"side"];if(D.length<8)A[S]="free";else if("x"===L){if("t"===D.charAt(0)===z?(M=0,C=1,I=g):(M=g-1,C=-1,I=-1),f){var B=y[S];for(a=M;a!==I;a+=C)if((l=s[a][B])&&(c=l.indexOf("y"),l.slice(0,c)===S)){A[S]=l.slice(c);break}}else for(a=M;a!==I;a+=C)if(n=o.yaxes[a],-1!==p.cartesian.indexOf(S+n)){A[S]=n;break}}else if("l"===D.charAt(0)?(M=0,C=1,I=m):(M=m-1,C=-1,I=-1),f){var H=y[S];for(a=M;a!==I;a+=C)if((l=s[H][a])&&(c=l.indexOf("y"),l.slice(c)===S)){A[S]=l.slice(0,c);break}}else for(a=M;a!==I;a+=C)if(r=o.xaxes[a],-1!==p.cartesian.indexOf(r+S)){A[S]=r;break}}}}}},4860:function(e,t,o){var a=o(56890),i=o(92704).templatedArray,r=o(24729);e.exports=i("image",{visible:{valType:"boolean",dflt:!0,editType:"arraydraw",description:["Determines whether or not this image is visible."].join(" ")},source:{valType:"string",editType:"arraydraw",description:["Specifies the URL of the image to be used.","The URL must be accessible from the domain where the","plot code is run, and can be either relative or absolute."].join(" ")},layer:{valType:"enumerated",values:["below","above"],dflt:"above",editType:"arraydraw",description:["Specifies whether images are drawn below or above traces.","When `xref` and `yref` are both set to `paper`,","image is drawn below the entire plot area."].join(" ")},sizex:{valType:"number",dflt:0,editType:"arraydraw",description:["Sets the image container size horizontally.","The image will be sized based on the `position` value.","When `xref` is set to `paper`, units are sized relative","to the plot width.","When `xref` ends with ` domain`, units are sized relative","to the axis width."].join(" ")},sizey:{valType:"number",dflt:0,editType:"arraydraw",description:["Sets the image container size vertically.","The image will be sized based on the `position` value.","When `yref` is set to `paper`, units are sized relative","to the plot height.","When `yref` ends with ` domain`, units are sized relative","to the axis height."].join(" ")},sizing:{valType:"enumerated",values:["fill","contain","stretch"],dflt:"contain",editType:"arraydraw",description:["Specifies which dimension of the image to constrain."].join(" ")},opacity:{valType:"number",min:0,max:1,dflt:1,editType:"arraydraw",description:"Sets the opacity of the image."},x:{valType:"any",dflt:0,editType:"arraydraw",description:["Sets the image's x position.","When `xref` is set to `paper`, units are sized relative","to the plot height.","See `xref` for more info"].join(" ")},y:{valType:"any",dflt:0,editType:"arraydraw",description:["Sets the image's y position.","When `yref` is set to `paper`, units are sized relative","to the plot height.","See `yref` for more info"].join(" ")},xanchor:{valType:"enumerated",values:["left","center","right"],dflt:"left",editType:"arraydraw",description:"Sets the anchor for the x position"},yanchor:{valType:"enumerated",values:["top","middle","bottom"],dflt:"top",editType:"arraydraw",description:"Sets the anchor for the y position."},xref:{valType:"enumerated",values:["paper",a.idRegex.x.toString()],dflt:"paper",editType:"arraydraw",description:["Sets the images's x coordinate axis.",r.axisRefDescription("x","left","right")].join(" ")},yref:{valType:"enumerated",values:["paper",a.idRegex.y.toString()],dflt:"paper",editType:"arraydraw",description:["Sets the images's y coordinate axis.",r.axisRefDescription("y","bottom","top")].join(" ")},editType:"arraydraw"})},92979:function(e,t,o){var a=o(83491),i=o(1379);e.exports=function(e,t,o,r){t=t||{};var n="log"===o&&"linear"===t.type,l="linear"===o&&"log"===t.type;if(n||l)for(var s,d,c=e._fullLayout.images,h=t._id.charAt(0),u=0;u<c.length;u++)if(d="images["+u+"].",(s=c[u])[h+"ref"]===t._id){var p=s[h],f=s["size"+h],g=null,m=null;if(n){g=i(p,t.range);var v=f/Math.pow(10,g)/2;m=2*Math.log(v+Math.sqrt(1+v*v))/Math.LN10}else m=(g=Math.pow(10,p))*(Math.pow(10,f/2)-Math.pow(10,-f/2));a(g)?a(m)||(m=null):(g=null,m=null),r(d+h,g),r(d+"size"+h,m)}}},71179:function(e,t,o){var a=o(47401),i=o(37762),r=o(26800),n=o(4860);function l(e,t,o){function r(o,i){return a.coerce(e,t,n,o,i)}var l=r("source");if(!r("visible",!!l))return t;r("layer"),r("xanchor"),r("yanchor"),r("sizex"),r("sizey"),r("sizing"),r("opacity");for(var s={_fullLayout:o},d=["x","y"],c=0;c<2;c++){var h=d[c],u=i.coerceRef(e,t,s,h,"paper",void 0);if("paper"!==u)i.getFromId(s,u)._imgIndices.push(t._index);i.coercePosition(t,s,r,u,h,0)}return t}e.exports=function(e,t){r(e,t,{name:"images",handleItemDefaults:l})}},63459:function(e,t,o){var a=o(62258),i=o(41707),r=o(37762),n=o(77063),l=o(6412);e.exports=function(e){var t,o,s=e._fullLayout,d=[],c={},h=[];for(o=0;o<s.images.length;o++){var u=s.images[o];if(u.visible)if("below"===u.layer&&"paper"!==u.xref&&"paper"!==u.yref){t=n.ref2id(u.xref)+n.ref2id(u.yref);var p=s._plots[t];if(!p){h.push(u);continue}p.mainplot&&(t=p.mainplot.id),c[t]||(c[t]=[]),c[t].push(u)}else"above"===u.layer?d.push(u):h.push(u)}var f={left:{sizing:"xMin",offset:0},center:{sizing:"xMid",offset:-.5},right:{sizing:"xMax",offset:-1}},g={top:{sizing:"YMin",offset:0},middle:{sizing:"YMid",offset:-.5},bottom:{sizing:"YMax",offset:-1}};function m(t){var o=a.select(this);if(this._imgSrc!==t.source)if(o.attr("xmlns",l.svg),t.source&&"data:"===t.source.slice(0,5))o.attr("xlink:href",t.source),this._imgSrc=t.source;else{var i=new Promise(function(e){var a=new Image;function i(){o.remove(),e()}this.img=a,a.setAttribute("crossOrigin","anonymous"),a.onerror=i,a.onload=function(){var t=document.createElement("canvas");t.width=this.width,t.height=this.height,t.getContext("2d").drawImage(this,0,0);var a=t.toDataURL("image/png");o.attr("xlink:href",a),e()},o.on("error",i),a.src=t.source,this._imgSrc=t.source}.bind(this));e._promises.push(i)}}function v(t){var o,n,l=a.select(this),d=r.getFromId(e,t.xref),c=r.getFromId(e,t.yref),h="domain"===r.getRefType(t.xref),u="domain"===r.getRefType(t.yref),p=s._size;o=void 0!==d?"string"===typeof t.xref&&h?d._length*t.sizex:Math.abs(d.l2p(t.sizex)-d.l2p(0)):t.sizex*p.w,n=void 0!==c?"string"===typeof t.yref&&u?c._length*t.sizey:Math.abs(c.l2p(t.sizey)-c.l2p(0)):t.sizey*p.h;var m,v,y=o*f[t.xanchor].offset,b=n*g[t.yanchor].offset,x=f[t.xanchor].sizing+g[t.yanchor].sizing;switch(m=void 0!==d?"string"===typeof t.xref&&h?d._length*t.x+d._offset:d.r2p(t.x)+d._offset:t.x*p.w+p.l,m+=y,v=void 0!==c?"string"===typeof t.yref&&u?c._length*(1-t.y)+c._offset:c.r2p(t.y)+c._offset:p.h-t.y*p.h+p.t,v+=b,t.sizing){case"fill":x+=" slice";break;case"stretch":x="none"}l.attr({x:m,y:v,width:o,height:n,preserveAspectRatio:x,opacity:t.opacity});var w=(d&&"domain"!==r.getRefType(t.xref)?d._id:"")+(c&&"domain"!==r.getRefType(t.yref)?c._id:"");i.setClipUrl(l,w?"clip"+s._uid+w:null,e)}var y=s._imageLowerLayer.selectAll("image").data(h),b=s._imageUpperLayer.selectAll("image").data(d);y.enter().append("image"),b.enter().append("image"),y.exit().remove(),b.exit().remove(),y.each((function(e){m.bind(this)(e),v.bind(this)(e)})),b.each((function(e){m.bind(this)(e),v.bind(this)(e)}));var x=Object.keys(s._plots);for(o=0;o<x.length;o++){t=x[o];var w=s._plots[t];if(w.imagelayer){var _=w.imagelayer.selectAll("image").data(c[t]||[]);_.enter().append("image"),_.exit().remove(),_.each((function(e){m.bind(this)(e),v.bind(this)(e)}))}}}},13041:function(e,t,o){e.exports={moduleType:"component",name:"images",layoutAttributes:o(4860),supplyLayoutDefaults:o(71179),includeBasePlot:o(11698)("images"),draw:o(63459),convertCoords:o(92979)}},29941:function(e,t,o){var a=o(5153),i=o(62405);e.exports={bgcolor:{valType:"color",editType:"legend",description:["Sets the legend background color.","Defaults to `layout.paper_bgcolor`."].join(" ")},bordercolor:{valType:"color",dflt:i.defaultLine,editType:"legend",description:"Sets the color of the border enclosing the legend."},borderwidth:{valType:"number",min:0,dflt:0,editType:"legend",description:"Sets the width (in px) of the border enclosing the legend."},font:a({editType:"legend",description:"Sets the font used to text the legend items."}),orientation:{valType:"enumerated",values:["v","h"],dflt:"v",editType:"legend",description:"Sets the orientation of the legend."},traceorder:{valType:"flaglist",flags:["reversed","grouped"],extras:["normal"],editType:"legend",description:["Determines the order at which the legend items are displayed.","If *normal*, the items are displayed top-to-bottom in the same","order as the input data.","If *reversed*, the items are displayed in the opposite order","as *normal*.","If *grouped*, the items are displayed in groups","(when a trace `legendgroup` is provided).","if *grouped+reversed*, the items are displayed in the opposite order","as *grouped*."].join(" ")},tracegroupgap:{valType:"number",min:0,dflt:10,editType:"legend",description:["Sets the amount of vertical space (in px) between legend groups."].join(" ")},itemsizing:{valType:"enumerated",values:["trace","constant"],dflt:"trace",editType:"legend",description:["Determines if the legend items symbols scale with their corresponding *trace* attributes","or remain *constant* independent of the symbol size on the graph."].join(" ")},itemwidth:{valType:"number",min:30,dflt:30,editType:"legend",description:"Sets the width (in px) of the legend item symbols (the part other than the title.text)."},itemclick:{valType:"enumerated",values:["toggle","toggleothers",!1],dflt:"toggle",editType:"legend",description:["Determines the behavior on legend item click.","*toggle* toggles the visibility of the item clicked on the graph.","*toggleothers* makes the clicked item the sole visible item on the graph.","*false* disables legend item click interactions."].join(" ")},itemdoubleclick:{valType:"enumerated",values:["toggle","toggleothers",!1],dflt:"toggleothers",editType:"legend",description:["Determines the behavior on legend item double-click.","*toggle* toggles the visibility of the item clicked on the graph.","*toggleothers* makes the clicked item the sole visible item on the graph.","*false* disables legend item double-click interactions."].join(" ")},groupclick:{valType:"enumerated",values:["toggleitem","togglegroup"],dflt:"togglegroup",editType:"legend",description:["Determines the behavior on legend group item click.","*toggleitem* toggles the visibility of the individual item clicked on the graph.","*togglegroup* toggles the visibility of all items in the same legendgroup as the item clicked on the graph."].join(" ")},x:{valType:"number",min:-2,max:3,editType:"legend",description:["Sets the x position (in normalized coordinates) of the legend.","Defaults to *1.02* for vertical legends and","defaults to *0* for horizontal legends."].join(" ")},xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"left",editType:"legend",description:["Sets the legend's horizontal position anchor.","This anchor binds the `x` position to the *left*, *center*","or *right* of the legend.","Value *auto* anchors legends to the right for `x` values greater than or equal to 2/3,","anchors legends to the left for `x` values less than or equal to 1/3 and","anchors legends with respect to their center otherwise."].join(" ")},y:{valType:"number",min:-2,max:3,editType:"legend",description:["Sets the y position (in normalized coordinates) of the legend.","Defaults to *1* for vertical legends,","defaults to *-0.1* for horizontal legends on graphs w/o range sliders and","defaults to *1.1* for horizontal legends on graph with one or multiple range sliders."].join(" ")},yanchor:{valType:"enumerated",values:["auto","top","middle","bottom"],editType:"legend",description:["Sets the legend's vertical position anchor","This anchor binds the `y` position to the *top*, *middle*","or *bottom* of the legend.","Value *auto* anchors legends at their bottom for `y` values less than or equal to 1/3,","anchors legends to at their top for `y` values greater than or equal to 2/3 and","anchors legends with respect to their middle otherwise."].join(" ")},uirevision:{valType:"any",editType:"none",description:["Controls persistence of legend-driven changes in trace and pie label","visibility. Defaults to `layout.uirevision`."].join(" ")},valign:{valType:"enumerated",values:["top","middle","bottom"],dflt:"middle",editType:"legend",description:["Sets the vertical alignment of the symbols with respect to their associated text."].join(" ")},title:{text:{valType:"string",dflt:"",editType:"legend",description:["Sets the title of the legend."].join(" ")},font:a({editType:"legend",description:["Sets this legend's title font.","Defaults to `legend.font` with its size increased about 20%."].join(" ")}),side:{valType:"enumerated",values:["top","left","top left"],editType:"legend",description:["Determines the location of legend's title","with respect to the legend items.","Defaulted to *top* with `orientation` is *h*.","Defaulted to *left* with `orientation` is *v*.","The *top left* options could be used to expand","legend area in both x and y sides."].join(" ")},editType:"legend"},editType:"legend"}},9663:function(e){e.exports={scrollBarWidth:6,scrollBarMinHeight:20,scrollBarColor:"#808BA4",scrollBarMargin:4,scrollBarEnterAttrs:{rx:20,ry:3,width:0,height:0},titlePad:2,itemGap:5}},52738:function(e,t,o){var a=o(62282),i=o(47401),r=o(92704),n=o(29941),l=o(19744),s=o(91535);e.exports=function(e,t,o){for(var d=e.legend||{},c=0,h=!1,u="normal",p=0;p<o.length;p++){var f=o[p];f.visible&&((f.showlegend||f._dfltShowLegend&&!(f._module&&f._module.attributes&&f._module.attributes.showlegend&&!1===f._module.attributes.showlegend.dflt))&&(c++,f.showlegend&&(h=!0,(a.traceIs(f,"pie-like")||!0===f._input.showlegend)&&c++)),(a.traceIs(f,"bar")&&"stack"===t.barmode||-1!==["tonextx","tonexty"].indexOf(f.fill))&&(u=s.isGrouped({traceorder:u})?"grouped+reversed":"reversed"),void 0!==f.legendgroup&&""!==f.legendgroup&&(u=s.isReversed({traceorder:u})?"reversed+grouped":"grouped"))}var g=i.coerce(e,t,l,"showlegend",h&&c>1);if(!1!==g||d.uirevision){var m=r.newContainer(t,"legend");if(T("uirevision",t.uirevision),!1!==g){T("bgcolor",t.paper_bgcolor),T("bordercolor"),T("borderwidth");var v,y,b,x=i.coerceFont(T,"font",t.font),w="h"===T("orientation");if(w?(v=0,a.getComponentMethod("rangeslider","isVisible")(e.xaxis)?(y=1.1,b="bottom"):(y=-.1,b="top")):(v=1.02,y=1,b="auto"),T("traceorder",u),s.isGrouped(t.legend)&&T("tracegroupgap"),T("itemsizing"),T("itemwidth"),T("itemclick"),T("itemdoubleclick"),T("groupclick"),T("x",v),T("xanchor"),T("y",y),T("yanchor",b),T("valign"),i.noneOrAll(d,m,["x","y"]),T("title.text")){T("title.side",w?"left":"top");var _=i.extendFlat({},x,{size:i.bigFont(x.size)});i.coerceFont(T,"title.font",_)}}}function T(e,t){return i.coerce(d,m,n,e,t)}}},97990:function(e,t,o){var a=o(62258),i=o(47401),r=o(35722),n=o(62282),l=o(19428),s=o(52783),d=o(41707),c=o(31454),h=o(43995),u=o(95749),p=o(9663),f=o(60482),g=f.LINE_SPACING,m=f.FROM_TL,v=f.FROM_BR,y=o(34179),b=o(27799),x=o(91535),w=1;function _(e,t,o,a,i){var r=o.data()[0][0].trace,s={event:i,node:o.node(),curveNumber:r.index,expandedIndex:r._expandedIndex,data:e.data,layout:e.layout,frames:e._transitionData._frames,config:e._context,fullData:e._fullData,fullLayout:e._fullLayout};if(r._group&&(s.group=r._group),n.traceIs(r,"pie-like")&&(s.label=o.datum()[0].label),!1!==l.triggerHandler(e,"plotly_legendclick",s))if(1===a)t._clickTimeout=setTimeout((function(){e._fullLayout&&u(o,e,a)}),e._context.doubleClickDelay);else if(2===a){t._clickTimeout&&clearTimeout(t._clickTimeout),e._legendMouseDownTime=0,!1!==l.triggerHandler(e,"plotly_legenddoubleclick",s)&&u(o,e,a)}}function T(e,t,o){var a,r,l=e.data()[0][0],s=l.trace,c=n.traceIs(s,"pie-like"),u=!o._inHover&&t._context.edits.legendText&&!c,f=o._maxNameLength;l.groupTitle?(a=l.groupTitle.text,r=l.groupTitle.font):(r=o.font,o.entries?a=l.text:(a=c?l.label:s.name,s._meta&&(a=i.templateString(a,s._meta))));var g=i.ensureSingle(e,"text","legendtext");g.attr("text-anchor","start").call(d.font,r).text(u?k(a,f):a);var m=o.itemwidth+2*p.itemGap;h.positionText(g,m,0),u?g.call(h.makeEditable,{gd:t,text:a}).call(z,e,t,o).on("edit",(function(a){this.text(k(a,f)).call(z,e,t,o);var r=l.trace._fullInput||{},d={};if(n.hasTransform(r,"groupby")){var c=n.getTransformIndices(r,"groupby"),h=c[c.length-1],u=i.keyedContainer(r,"transforms["+h+"].styles","target","value.name");u.set(l.trace._group,a),d=u.constructUpdate()}else d.name=a;return n.call("_guiRestyle",t,d,s.index)})):z(g,e,t,o)}function k(e,t){var o=Math.max(4,t);if(e&&e.trim().length>=o/2)return e;for(var a=o-(e=e||"").length;a>0;a--)e+=" ";return e}function A(e,t){var o,r=t._context.doubleClickDelay,n=1,l=i.ensureSingle(e,"rect","legendtoggle",(function(e){t._context.staticPlot||e.style("cursor","pointer").attr("pointer-events","all"),e.call(c.fill,"rgba(0,0,0,0)")}));t._context.staticPlot||(l.on("mousedown",(function(){(o=(new Date).getTime())-t._legendMouseDownTime<r?n+=1:(n=1,t._legendMouseDownTime=o)})),l.on("mouseup",(function(){if(!t._dragged&&!t._editing){var o=t._fullLayout.legend;(new Date).getTime()-t._legendMouseDownTime>r&&(n=Math.max(n-1,1)),_(t,o,e,n,a.event)}})))}function z(e,t,o,a,i){a._inHover&&e.attr("data-notex",!0),h.convertToTspans(e,o,(function(){!function(e,t,o,a){var i=e.data()[0][0];if(!o._inHover&&i&&!i.trace.showlegend)return void e.remove();var r=e.select("g[class*=math-group]"),n=r.node();o||(o=t._fullLayout.legend);var l,s=o.borderwidth;l=a===w?o.title.font:i.groupTitle?i.groupTitle.font:o.font;var c,u,f=l.size*g;if(n){var m=d.bBox(n);c=m.height,u=m.width,a===w?d.setTranslate(r,s,s+.75*c):d.setTranslate(r,0,.25*c)}else{var v=e.select(a===w?".legendtitletext":".legendtext"),y=h.lineCount(v),b=v.node();if(c=f*y,u=b?d.bBox(b).width:0,a===w)"left"===o.title.side&&(u+=2*p.itemGap),h.positionText(v,s+p.titlePad,s+f);else{var x=2*p.itemGap+o.itemwidth;i.groupTitle&&(x=p.itemGap,u-=o.itemwidth),h.positionText(v,x,-f*((y-1)/2-.3))}}a===w?(o._titleWidth=u,o._titleHeight=c):(i.lineHeight=f,i.height=Math.max(c,16)+3,i.width=u)}(t,o,a,i)}))}function S(e){return i.isRightAnchor(e)?"right":i.isCenterAnchor(e)?"center":"left"}function M(e){return i.isBottomAnchor(e)?"bottom":i.isMiddleAnchor(e)?"middle":"top"}e.exports=function(e,t){return t||(t=e._fullLayout.legend||{}),function(e,t){var o,l,h=e._fullLayout,u="legend"+h._uid,f=t._inHover;f?(o=t.layer,u+="-hover"):o=h._infolayer;if(!o)return;e._legendMouseDownTime||(e._legendMouseDownTime=0);if(f){if(!t.entries)return;l=y(t.entries,t)}else{if(!e.calcdata)return;l=h.showlegend&&y(e.calcdata,t)}var g=h.hiddenlabels||[];if(!f&&(!h.showlegend||!l.length))return o.selectAll(".legend").remove(),h._topdefs.select("#"+u).remove(),r.autoMargin(e,"legend");var k=i.ensureSingle(o,"g","legend",(function(e){f||e.attr("pointer-events","all")})),C=i.ensureSingleById(h._topdefs,"clipPath",u,(function(e){e.append("rect")})),I=i.ensureSingle(k,"rect","bg",(function(e){e.attr("shape-rendering","crispEdges")}));I.call(c.stroke,t.bordercolor).call(c.fill,t.bgcolor).style("stroke-width",t.borderwidth+"px");var L=i.ensureSingle(k,"g","scrollbox"),D=t.title;if(t._titleWidth=0,t._titleHeight=0,D.text){var B=i.ensureSingle(L,"text","legendtitletext");B.attr("text-anchor","start").call(d.font,D.font).text(D.text),z(B,L,e,t,w)}else L.selectAll(".legendtitletext").remove();var H=i.ensureSingle(k,"rect","scrollbar",(function(e){e.attr(p.scrollBarEnterAttrs).call(c.fill,p.scrollBarColor)})),R=L.selectAll("g.groups").data(l);R.enter().append("g").attr("class","groups"),R.exit().remove();var j=R.selectAll("g.traces").data(i.identity);j.enter().append("g").attr("class","traces"),j.exit().remove(),j.style("opacity",(function(e){var t=e[0].trace;return n.traceIs(t,"pie-like")?-1!==g.indexOf(e[0].label)?.5:1:"legendonly"===t.visible?.5:1})).each((function(){a.select(this).call(T,e,t)})).call(b,e,t).each((function(){f||a.select(this).call(A,e)})),i.syncOrAsync([r.previousPromises,function(){return function(e,t,o,i){var r=e._fullLayout;i||(i=r.legend);var n=r._size,l=x.isVertical(i),s=x.isGrouped(i),c=i.borderwidth,h=2*c,u=p.itemGap,f=i.itemwidth+2*u,g=2*(c+u),m=M(i),v=i.y<0||0===i.y&&"top"===m,y=i.y>1||1===i.y&&"bottom"===m,b=i.tracegroupgap;i._maxHeight=Math.max(v||y?r.height/2:n.h,30);var w=0;i._width=0,i._height=0;var _=function(e){var t=0,o=0,a=e.title.side;a&&(-1!==a.indexOf("left")&&(t=e._titleWidth),-1!==a.indexOf("top")&&(o=e._titleHeight));return[t,o]}(i);if(l)o.each((function(e){var t=e[0].height;d.setTranslate(this,c+_[0],c+_[1]+i._height+t/2+u),i._height+=t,i._width=Math.max(i._width,e[0].width)})),w=f+i._width,i._width+=u+f+h,i._height+=g,s&&(t.each((function(e,t){d.setTranslate(this,0,t*i.tracegroupgap)})),i._height+=(i._lgroupsLength-1)*i.tracegroupgap);else{var T=S(i),k=i.x<0||0===i.x&&"right"===T,A=i.x>1||1===i.x&&"left"===T,z=y||v,C=r.width/2;i._maxWidth=Math.max(k?z&&"left"===T?n.l+n.w:C:A?z&&"right"===T?n.r+n.w:C:n.w,2*f);var I=0,L=0;o.each((function(e){var t=e[0].width+f;I=Math.max(I,t),L+=t})),w=null;var D=0;if(s){var B=0,H=0,R=0;t.each((function(){var e=0,t=0;a.select(this).selectAll("g.traces").each((function(o){var a=o[0].height;d.setTranslate(this,_[0],_[1]+c+u+a/2+t),t+=a,e=Math.max(e,f+o[0].width)})),B=Math.max(B,t);var o=e+u;o+c+H>i._maxWidth&&(D=Math.max(D,H),H=0,R+=B+b,B=t),d.setTranslate(this,H,R),H+=o})),i._width=Math.max(D,H)+c,i._height=R+B+g}else{var j=o.size(),E=L+h+(j-1)*u<i._maxWidth,O=0,G=0,V=0,Z=0;o.each((function(e){var t=e[0].height,o=f+e[0].width,a=(E?o:I)+u;a+c+G-u>=i._maxWidth&&(D=Math.max(D,Z),G=0,V+=O,i._height+=O,O=0),d.setTranslate(this,_[0]+c+G,_[1]+c+V+t/2+u),Z=G+o+u,G+=a,O=Math.max(O,t)})),E?(i._width=G+h,i._height=O+g):(i._width=Math.max(D,Z)+h,i._height+=O+g)}}i._width=Math.ceil(Math.max(i._width+_[0],i._titleWidth+2*(c+p.titlePad))),i._height=Math.ceil(Math.max(i._height+_[1],i._titleHeight+2*(c+p.itemGap))),i._effHeight=Math.min(i._height,i._maxHeight);var P=e._context.edits,N=P.legendText||P.legendPosition;o.each((function(e){var t=a.select(this).select(".legendtoggle"),o=e[0].height,i=N?f:w||f+e[0].width;l||(i+=u/2),d.setRect(t,0,-o/2,i,o)}))}(e,R,j,t)},function(){if(f||!function(e){var t=e._fullLayout,o=t.legend,a=S(o),i=M(o);return r.autoMargin(e,"legend",{x:o.x,y:o.y,l:o._width*m[a],r:o._width*v[a],b:o._effHeight*v[i],t:o._effHeight*m[i]})}(e)){var l,c,g,y,b=h._size,x=t.borderwidth,w=b.l+b.w*t.x-m[S(t)]*t._width,T=b.t+b.h*(1-t.y)-m[M(t)]*t._effHeight;if(!f&&h.margin.autoexpand){var A=w,z=T;w=i.constrain(w,0,h.width-t._width),T=i.constrain(T,0,h.height-t._effHeight),w!==A&&i.log("Constrain legend.x to make legend fit inside graph"),T!==z&&i.log("Constrain legend.y to make legend fit inside graph")}if(f||d.setTranslate(k,w,T),H.on(".drag",null),k.on("wheel",null),f||t._height<=t._maxHeight||e._context.staticPlot){var D=t._effHeight;f&&(D=t._height),I.attr({width:t._width-x,height:D-x,x:x/2,y:x/2}),d.setTranslate(L,0,0),C.select("rect").attr({width:t._width-2*x,height:D-2*x,x:x,y:x}),d.setClipUrl(L,u,e),d.setRect(H,0,0,0,0),delete t._scrollY}else{var B,R,j,E=Math.max(p.scrollBarMinHeight,t._effHeight*t._effHeight/t._height),O=t._effHeight-E-2*p.scrollBarMargin,G=t._height-t._effHeight,V=O/G,Z=Math.min(t._scrollY||0,G);I.attr({width:t._width-2*x+p.scrollBarWidth+p.scrollBarMargin,height:t._effHeight-x,x:x/2,y:x/2}),C.select("rect").attr({width:t._width-2*x+p.scrollBarWidth+p.scrollBarMargin,height:t._effHeight-2*x,x:x,y:x+Z}),d.setClipUrl(L,u,e),Y(Z,E,V),k.on("wheel",(function(){Y(Z=i.constrain(t._scrollY+a.event.deltaY/O*G,0,G),E,V),0!==Z&&Z!==G&&a.event.preventDefault()}));var P=function(e,t,o){var a=(o-t)/V+e;return i.constrain(a,0,G)},N=function(e,t,o){var a=(t-o)/V+e;return i.constrain(a,0,G)},F=a.behavior.drag().on("dragstart",(function(){var e=a.event.sourceEvent;B="touchstart"===e.type?e.changedTouches[0].clientY:e.clientY,j=Z})).on("drag",(function(){var e=a.event.sourceEvent;2===e.buttons||e.ctrlKey||(R="touchmove"===e.type?e.changedTouches[0].clientY:e.clientY,Y(Z=P(j,B,R),E,V))}));H.call(F);var W=a.behavior.drag().on("dragstart",(function(){var e=a.event.sourceEvent;"touchstart"===e.type&&(B=e.changedTouches[0].clientY,j=Z)})).on("drag",(function(){var e=a.event.sourceEvent;"touchmove"===e.type&&(R=e.changedTouches[0].clientY,Y(Z=N(j,B,R),E,V))}));L.call(W)}if(e._context.edits.legendPosition)k.classed("cursor-move",!0),s.init({element:k.node(),gd:e,prepFn:function(){var e=d.getTranslate(k);g=e.x,y=e.y},moveFn:function(e,o){var a=g+e,i=y+o;d.setTranslate(k,a,i),l=s.align(a,0,b.l,b.l+b.w,t.xanchor),c=s.align(i,0,b.t+b.h,b.t,t.yanchor)},doneFn:function(){void 0!==l&&void 0!==c&&n.call("_guiRelayout",e,{"legend.x":l,"legend.y":c})},clickFn:function(t,a){var i=o.selectAll("g.traces").filter((function(){var e=this.getBoundingClientRect();return a.clientX>=e.left&&a.clientX<=e.right&&a.clientY>=e.top&&a.clientY<=e.bottom}));i.size()>0&&_(e,k,i,t,a)}})}function Y(o,a,i){t._scrollY=e._fullLayout.legend._scrollY=o,d.setTranslate(L,0,-o),d.setRect(H,t._width,p.scrollBarMargin+o*i,p.scrollBarWidth,a),C.select("rect").attr("y",x+o)}}],e)}(e,t)}},34179:function(e,t,o){var a=o(62282),i=o(91535);e.exports=function(e,t){var o,r,n=t._inHover,l=i.isGrouped(t),s=i.isReversed(t),d={},c=[],h=!1,u={},p=0,f=0;function g(e,o){if(""!==e&&i.isGrouped(t))-1===c.indexOf(e)?(c.push(e),h=!0,d[e]=[o]):d[e].push(o);else{var a="~~i"+p;c.push(a),d[a]=[o],p++}}for(o=0;o<e.length;o++){var m=e[o],v=m[0],y=v.trace,b=y.legendgroup;if(n||y.visible&&y.showlegend)if(a.traceIs(y,"pie-like"))for(u[b]||(u[b]={}),r=0;r<m.length;r++){var x=m[r].label;u[b][x]||(g(b,{label:x,color:m[r].color,i:m[r].i,trace:y,pts:m[r].pts}),u[b][x]=!0,f=Math.max(f,(x||"").length))}else g(b,v),f=Math.max(f,(y.name||"").length)}if(!c.length)return[];var w=!h||!l,_=[];for(o=0;o<c.length;o++){var T=d[c[o]];w?_.push(T[0]):_.push(T)}for(w&&(_=[_]),o=0;o<_.length;o++){var k=1/0;for(r=0;r<_[o].length;r++){var A=_[o][r].trace.legendrank;k>A&&(k=A)}_[o][0]._groupMinRank=k,_[o][0]._preGroupSort=o}var z=function(e,t){return e.trace.legendrank-t.trace.legendrank||e._preSort-t._preSort};for(_.forEach((function(e,t){e[0]._preGroupSort=t})),_.sort((function(e,t){return e[0]._groupMinRank-t[0]._groupMinRank||e[0]._preGroupSort-t[0]._preGroupSort})),o=0;o<_.length;o++){_[o].forEach((function(e,t){e._preSort=t})),_[o].sort(z);var S=_[o][0].trace,M=null;for(r=0;r<_[o].length;r++){var C=_[o][r].trace.legendgrouptitle;if(C&&C.text){M=C,n&&(C.font=t._groupTitleFont);break}}if(s&&_[o].reverse(),M){var I=!1;for(r=0;r<_[o].length;r++)if(a.traceIs(_[o][r].trace,"pie-like")){I=!0;break}_[o].unshift({i:-1,groupTitle:M,noClick:I,trace:{showlegend:S.showlegend,legendgroup:S.legendgroup,visible:"toggleitem"===t.groupclick||S.visible}})}for(r=0;r<_[o].length;r++)_[o][r]=[_[o][r]]}return t._lgroupsLength=_.length,t._maxNameLength=f,_}},95749:function(e,t,o){var a=o(47401),i=o(62282),r=!0;e.exports=function(e,t,o){var n=t._fullLayout;if(!t._dragged&&!t._editing){var l,s=n.legend.itemclick,d=n.legend.itemdoubleclick,c=n.legend.groupclick;if(1===o&&"toggle"===s&&"toggleothers"===d&&r&&t.data&&t._context.showTips?(a.notifier(a._(t,"Double-click on legend to isolate one trace"),"long"),r=!1):r=!1,1===o?l=s:2===o&&(l=d),l){var h="togglegroup"===c,u=n.hiddenlabels?n.hiddenlabels.slice():[],p=e.data()[0][0];if(!p.groupTitle||!p.noClick){var f,g,m,v,y,b=t._fullData,x=p.trace,w=x.legendgroup,_={},T=[],k=[],A=[];if(i.traceIs(x,"pie-like")){var z=p.label,S=u.indexOf(z);"toggle"===l?-1===S?u.push(z):u.splice(S,1):"toggleothers"===l&&(u=[],t.calcdata[0].forEach((function(e){z!==e.label&&u.push(e.label)})),t._fullLayout.hiddenlabels&&t._fullLayout.hiddenlabels.length===u.length&&-1===S&&(u=[])),i.call("_guiRelayout",t,"hiddenlabels",u)}else{var M,C=w&&w.length,I=[];if(C)for(f=0;f<b.length;f++)(M=b[f]).visible&&M.legendgroup===w&&I.push(f);if("toggle"===l){var L;switch(x.visible){case!0:L="legendonly";break;case!1:L=!1;break;case"legendonly":L=!0}if(C)if(h)for(f=0;f<b.length;f++)!1!==b[f].visible&&b[f].legendgroup===w&&V(b[f],L);else V(x,L);else V(x,L)}else if("toggleothers"===l){var D,B,H,R,j=!0;for(f=0;f<b.length;f++)if(D=b[f]===x,H=!0!==b[f].showlegend,!D&&!H&&!(B=C&&b[f].legendgroup===w)&&!0===b[f].visible&&!i.traceIs(b[f],"notLegendIsolatable")){j=!1;break}for(f=0;f<b.length;f++)if(!1!==b[f].visible&&!i.traceIs(b[f],"notLegendIsolatable"))switch(x.visible){case"legendonly":V(b[f],!0);break;case!0:R=!!j||"legendonly",D=b[f]===x,H=!0!==b[f].showlegend&&!b[f].legendgroup,B=D||C&&b[f].legendgroup===w,V(b[f],!(!B&&!H)||R)}}for(f=0;f<k.length;f++)if(m=k[f]){var E=m.constructUpdate(),O=Object.keys(E);for(g=0;g<O.length;g++)v=O[g],(_[v]=_[v]||[])[A[f]]=E[v]}for(y=Object.keys(_),f=0;f<y.length;f++)for(v=y[f],g=0;g<T.length;g++)_[v].hasOwnProperty(g)||(_[v][g]=void 0);i.call("_guiRestyle",t,_,T)}}}}function G(e,t,o){var a=T.indexOf(e),i=_[t];return i||(i=_[t]=[]),-1===T.indexOf(e)&&(T.push(e),a=T.length-1),i[a]=o,a}function V(e,t){if(!p.groupTitle||h){var o=e._fullInput;if(i.hasTransform(o,"groupby")){var r=k[o.index];if(!r){var n=i.getTransformIndices(o,"groupby"),l=n[n.length-1];r=a.keyedContainer(o,"transforms["+l+"].styles","target","value.visible"),k[o.index]=r}var s=r.get(e._group);void 0===s&&(s=!0),!1!==s&&r.set(e._group,t),A[o.index]=G(o.index,"visible",!1!==o.visible)}else{var d=!1!==o.visible&&t;G(o.index,"visible",d)}}}}},91535:function(e,t){t.isGrouped=function(e){return-1!==(e.traceorder||"").indexOf("grouped")},t.isVertical=function(e){return"h"!==e.orientation},t.isReversed=function(e){return-1!==(e.traceorder||"").indexOf("reversed")}},22382:function(e,t,o){e.exports={moduleType:"component",name:"legend",layoutAttributes:o(29941),supplyLayoutDefaults:o(52738),draw:o(97990),style:o(27799)}},27799:function(e,t,o){var a=o(62258),i=o(62282),r=o(47401),n=r.strTranslate,l=o(41707),s=o(31454),d=o(8757).extractOpts,c=o(77638),h=o(59371),u=o(80084).castOption,p=o(9663);function f(e,t){return(t?"radial":"horizontal")+(e?"":"reversed")}function g(e){var t=e[0].trace,o=t.contours,a=c.hasLines(t),i=c.hasMarkers(t),r=t.visible&&t.fill&&"none"!==t.fill,n=!1,l=!1;if(o){var s=o.coloring;"lines"===s?n=!0:a="none"===s||"heatmap"===s||o.showlines,"constraint"===o.type?r="="!==o._operation:"fill"!==s&&"heatmap"!==s||(l=!0)}return{showMarker:i,showLine:a,showFill:r,showGradientLine:n,showGradientFill:l,anyLine:a||n,anyFill:r||l}}function m(e,t,o){return e&&r.isArrayOrTypedArray(e)?t:e>o?o:e}e.exports=function(e,t,o){var v=t._fullLayout;o||(o=v.legend);var y="constant"===o.itemsizing,b=o.itemwidth,x=(b+2*p.itemGap)/2,w=n(x,0),_=function(e,t,o,a){var i;if(e+1)i=e;else{if(!(t&&t.width>0))return 0;i=t.width}return y?a:Math.min(i,o)};function T(e,r,n){var c=e[0].trace,h=c.marker||{},u=h.line||{},p=n?c.visible&&c.type===n:i.traceIs(c,"bar"),f=a.select(r).select("g.legendpoints").selectAll("path.legend"+n).data(p?[e]:[]);f.enter().append("path").classed("legend"+n,!0).attr("d","M6,6H-6V-6H6Z").attr("transform",w),f.exit().remove(),f.each((function(e){var i=a.select(this),r=e[0],n=_(r.mlw,h.line,5,2);i.style("stroke-width",n+"px");var p=r.mcc;if(!o._inHover&&"mc"in r){var f=d(h),g=f.mid;void 0===g&&(g=(f.max+f.min)/2),p=l.tryColorscale(h,"")(g)}var v=p||r.mc||h.color,y=h.pattern,b=y&&l.getPatternAttr(y.shape,0,"");if(b){var x=l.getPatternAttr(y.bgcolor,0,null),w=l.getPatternAttr(y.fgcolor,0,null),T=y.fgopacity,k=m(y.size,8,10),A=m(y.solidity,.5,1),z="legend-"+c.uid;i.call(l.pattern,"legend",t,z,b,k,A,p,y.fillmode,x,w,T)}else i.call(s.fill,v);n&&s.stroke(i,r.mlc||u.color)}))}function k(e,t,o){var n=e[0],l=n.trace,s=o?l.visible&&l.type===o:i.traceIs(l,o),d=a.select(t).select("g.legendpoints").selectAll("path.legend"+o).data(s?[e]:[]);if(d.enter().append("path").classed("legend"+o,!0).attr("d","M6,6H-6V-6H6Z").attr("transform",w),d.exit().remove(),d.size()){var c=(l.marker||{}).line,p=_(u(c.width,n.pts),c,5,2),f=r.minExtend(l,{marker:{line:{width:p}}});f.marker.line.color=c.color;var g=r.minExtend(n,{trace:f});h(d,g,f)}}e.each((function(e){var t=a.select(this),i=r.ensureSingle(t,"g","layers");i.style("opacity",e[0].trace.opacity);var l=o.valign,s=e[0].lineHeight,d=e[0].height;if("middle"!==l&&s&&d){var c={top:1,bottom:-1}[l]*(.5*(s-d+3));i.attr("transform",n(0,c))}else i.attr("transform",null);i.selectAll("g.legendfill").data([e]).enter().append("g").classed("legendfill",!0),i.selectAll("g.legendlines").data([e]).enter().append("g").classed("legendlines",!0);var h=i.selectAll("g.legendsymbols").data([e]);h.enter().append("g").classed("legendsymbols",!0),h.selectAll("g.legendpoints").data([e]).enter().append("g").classed("legendpoints",!0)})).each((function(e){var o,i=e[0].trace,n=[];if(i.visible)switch(i.type){case"histogram2d":case"heatmap":n=[["M-15,-2V4H15V-2Z"]],o=!0;break;case"choropleth":case"choroplethmapbox":n=[["M-6,-6V6H6V-6Z"]],o=!0;break;case"densitymapbox":n=[["M-6,0 a6,6 0 1,0 12,0 a 6,6 0 1,0 -12,0"]],o="radial";break;case"cone":n=[["M-6,2 A2,2 0 0,0 -6,6 V6L6,4Z"],["M-6,-6 A2,2 0 0,0 -6,-2 L6,-4Z"],["M-6,-2 A2,2 0 0,0 -6,2 L6,0Z"]],o=!1;break;case"streamtube":n=[["M-6,2 A2,2 0 0,0 -6,6 H6 A2,2 0 0,1 6,2 Z"],["M-6,-6 A2,2 0 0,0 -6,-2 H6 A2,2 0 0,1 6,-6 Z"],["M-6,-2 A2,2 0 0,0 -6,2 H6 A2,2 0 0,1 6,-2 Z"]],o=!1;break;case"surface":n=[["M-6,-6 A2,3 0 0,0 -6,0 H6 A2,3 0 0,1 6,-6 Z"],["M-6,1 A2,3 0 0,1 -6,6 H6 A2,3 0 0,0 6,0 Z"]],o=!0;break;case"mesh3d":n=[["M-6,6H0L-6,-6Z"],["M6,6H0L6,-6Z"],["M-6,-6H6L0,6Z"]],o=!1;break;case"volume":n=[["M-6,6H0L-6,-6Z"],["M6,6H0L6,-6Z"],["M-6,-6H6L0,6Z"]],o=!0;break;case"isosurface":n=[["M-6,6H0L-6,-6Z"],["M6,6H0L6,-6Z"],["M-6,-6 A12,24 0 0,0 6,-6 L0,6Z"]],o=!1}var c=a.select(this).select("g.legendpoints").selectAll("path.legend3dandfriends").data(n);c.enter().append("path").classed("legend3dandfriends",!0).attr("transform",w).style("stroke-miterlimit",1),c.exit().remove(),c.each((function(e,n){var c,h=a.select(this),u=d(i),p=u.colorscale,g=u.reversescale;if(p){if(!o){var m=p.length;c=0===n?p[g?m-1:0][1]:1===n?p[g?0:m-1][1]:p[Math.floor((m-1)/2)][1]}}else{var v=i.vertexcolor||i.facecolor||i.color;c=r.isArrayOrTypedArray(v)?v[n]||v[0]:v}h.attr("d",e[0]),c?h.call(s.fill,c):h.call((function(e){if(e.size()){var a="legendfill-"+i.uid;l.gradient(e,t,a,f(g,"radial"===o),p,"fill")}}))}))})).each((function(e){var t=e[0].trace,o="waterfall"===t.type;if(e[0]._distinct&&o){var i=e[0].trace[e[0].dir].marker;return e[0].mc=i.color,e[0].mlw=i.line.width,e[0].mlc=i.line.color,T(e,this,"waterfall")}var r=[];t.visible&&o&&(r=e[0].hasTotals?[["increasing","M-6,-6V6H0Z"],["totals","M6,6H0L-6,-6H-0Z"],["decreasing","M6,6V-6H0Z"]]:[["increasing","M-6,-6V6H6Z"],["decreasing","M6,6V-6H-6Z"]]);var n=a.select(this).select("g.legendpoints").selectAll("path.legendwaterfall").data(r);n.enter().append("path").classed("legendwaterfall",!0).attr("transform",w).style("stroke-miterlimit",1),n.exit().remove(),n.each((function(e){var o=a.select(this),i=t[e[0]].marker,r=_(void 0,i.line,5,2);o.attr("d",e[1]).style("stroke-width",r+"px").call(s.fill,i.color),r&&o.call(s.stroke,i.line.color)}))})).each((function(e){T(e,this,"funnel")})).each((function(e){T(e,this)})).each((function(e){var o=e[0].trace,n=a.select(this).select("g.legendpoints").selectAll("path.legendbox").data(o.visible&&i.traceIs(o,"box-violin")?[e]:[]);n.enter().append("path").classed("legendbox",!0).attr("d","M6,6H-6V-6H6Z").attr("transform",w),n.exit().remove(),n.each((function(){var e=a.select(this);if("all"!==o.boxpoints&&"all"!==o.points||0!==s.opacity(o.fillcolor)||0!==s.opacity((o.line||{}).color)){var i=_(void 0,o.line,5,2);e.style("stroke-width",i+"px").call(s.fill,o.fillcolor),i&&s.stroke(e,o.line.color)}else{var d=r.minExtend(o,{marker:{size:y?12:r.constrain(o.marker.size,2,16),sizeref:1,sizemin:1,sizemode:"diameter"}});n.call(l.pointStyle,d,t)}}))})).each((function(e){k(e,this,"funnelarea")})).each((function(e){k(e,this,"pie")})).each((function(e){var o,i,n=g(e),s=n.showFill,h=n.showLine,u=n.showGradientLine,p=n.showGradientFill,m=n.anyFill,v=n.anyLine,y=e[0],x=y.trace,w=d(x),T=w.colorscale,k=w.reversescale,A=c.hasMarkers(x)||!m?"M5,0":v?"M5,-2":"M5,-3",z=a.select(this),S=z.select(".legendfill").selectAll("path").data(s||p?[e]:[]);if(S.enter().append("path").classed("js-fill",!0),S.exit().remove(),S.attr("d",A+"h"+b+"v6h-"+b+"z").call(s?l.fillGroupStyle:function(e){if(e.size()){var o="legendfill-"+x.uid;l.gradient(e,t,o,f(k),T,"fill")}}),h||u){var M=_(void 0,x.line,10,5);i=r.minExtend(x,{line:{width:M}}),o=[r.minExtend(y,{trace:i})]}var C=z.select(".legendlines").selectAll("path").data(h||u?[o]:[]);C.enter().append("path").classed("js-line",!0),C.exit().remove(),C.attr("d",A+(u?"l"+b+",0.0001":"h"+b)).call(h?l.lineGroupStyle:function(e){if(e.size()){var o="legendline-"+x.uid;l.lineGroupStyle(e),l.gradient(e,t,o,f(k),T,"stroke")}})})).each((function(e){var o,i,n=g(e),s=n.anyFill,d=n.anyLine,h=n.showLine,u=n.showMarker,p=e[0],f=p.trace,m=!u&&!d&&!s&&c.hasText(f);function v(e,t,o,a){var i=r.nestedProperty(f,e).get(),n=r.isArrayOrTypedArray(i)&&t?t(i):i;if(y&&n&&void 0!==a&&(n=a),o){if(n<o[0])return o[0];if(n>o[1])return o[1]}return n}function b(e){return p._distinct&&p.index&&e[p.index]?e[p.index]:e[0]}if(u||m||h){var x={},_={};if(u){x.mc=v("marker.color",b),x.mx=v("marker.symbol",b),x.mo=v("marker.opacity",r.mean,[.2,1]),x.mlc=v("marker.line.color",b),x.mlw=v("marker.line.width",r.mean,[0,5],2),_.marker={sizeref:1,sizemin:1,sizemode:"diameter"};var T=v("marker.size",r.mean,[2,16],12);x.ms=T,_.marker.size=T}h&&(_.line={width:v("line.width",b,[0,10],5)}),m&&(x.tx="Aa",x.tp=v("textposition",b),x.ts=10,x.tc=v("textfont.color",b),x.tf=v("textfont.family",b)),o=[r.minExtend(p,x)],(i=r.minExtend(f,_)).selectedpoints=null,i.texttemplate=null}var k=a.select(this).select("g.legendpoints"),A=k.selectAll("path.scatterpts").data(u?o:[]);A.enter().insert("path",":first-child").classed("scatterpts",!0).attr("transform",w),A.exit().remove(),A.call(l.pointStyle,i,t),u&&(o[0].mrc=3);var z=k.selectAll("g.pointtext").data(m?o:[]);z.enter().append("g").classed("pointtext",!0).append("text").attr("transform",w),z.exit().remove(),z.selectAll("text").call(l.textPointStyle,i,t)})).each((function(e){var t=e[0].trace,o=a.select(this).select("g.legendpoints").selectAll("path.legendcandle").data(t.visible&&"candlestick"===t.type?[e,e]:[]);o.enter().append("path").classed("legendcandle",!0).attr("d",(function(e,t){return t?"M-15,0H-8M-8,6V-6H8Z":"M15,0H8M8,-6V6H-8Z"})).attr("transform",w).style("stroke-miterlimit",1),o.exit().remove(),o.each((function(e,o){var i=a.select(this),r=t[o?"increasing":"decreasing"],n=_(void 0,r.line,5,2);i.style("stroke-width",n+"px").call(s.fill,r.fillcolor),n&&s.stroke(i,r.line.color)}))})).each((function(e){var t=e[0].trace,o=a.select(this).select("g.legendpoints").selectAll("path.legendohlc").data(t.visible&&"ohlc"===t.type?[e,e]:[]);o.enter().append("path").classed("legendohlc",!0).attr("d",(function(e,t){return t?"M-15,0H0M-8,-6V0":"M15,0H0M8,6V0"})).attr("transform",w).style("stroke-miterlimit",1),o.exit().remove(),o.each((function(e,o){var i=a.select(this),r=t[o?"increasing":"decreasing"],n=_(void 0,r.line,5,2);i.style("fill","none").call(l.dashLine,r.line.dash,n),n&&s.stroke(i,r.line.color)}))}))}},84948:function(e,t,o){var a=o(48544);e.exports={editType:"modebar",orientation:{valType:"enumerated",values:["v","h"],dflt:"h",editType:"modebar",description:"Sets the orientation of the modebar."},bgcolor:{valType:"color",editType:"modebar",description:"Sets the background color of the modebar."},color:{valType:"color",editType:"modebar",description:"Sets the color of the icons in the modebar."},activecolor:{valType:"color",editType:"modebar",description:"Sets the color of the active or hovered on icons in the modebar."},uirevision:{valType:"any",editType:"none",description:["Controls persistence of user-driven changes related to the modebar,","including `hovermode`, `dragmode`, and `showspikes` at both the","root level and inside subplots. Defaults to `layout.uirevision`."].join(" ")},add:{valType:"string",arrayOk:!0,dflt:"",editType:"modebar",description:["Determines which predefined modebar buttons to add.","Please note that these buttons will only be shown if they are","compatible with all trace types used in a graph.","Similar to `config.modeBarButtonsToAdd` option.","This may include *"+a.backButtons.join("*, *")+"*."].join(" ")},remove:{valType:"string",arrayOk:!0,dflt:"",editType:"modebar",description:["Determines which predefined modebar buttons to remove.","Similar to `config.modeBarButtonsToRemove` option.","This may include *"+a.foreButtons.join("*, *")+"*."].join(" ")}}},72952:function(e,t,o){var a=o(62282),i=o(35722),r=o(77063),n=o(68516),l=o(80535).eraseActiveShape,s=o(47401),d=s._,c=e.exports={};function h(e,t){var o,i,n=t.currentTarget,l=n.getAttribute("data-attr"),s=n.getAttribute("data-val")||!0,d=e._fullLayout,c={},h=r.list(e,null,!0),u=d._cartesianSpikesEnabled;if("zoom"===l){var p,f="in"===s?.5:2,g=(1+f)/2,m=(1-f)/2;for(i=0;i<h.length;i++)if(!(o=h[i]).fixedrange)if(p=o._name,"auto"===s)c[p+".autorange"]=!0;else if("reset"===s){if(void 0===o._rangeInitial)c[p+".autorange"]=!0;else{var v=o._rangeInitial.slice();c[p+".range[0]"]=v[0],c[p+".range[1]"]=v[1]}void 0!==o._showSpikeInitial&&(c[p+".showspikes"]=o._showSpikeInitial,"on"!==u||o._showSpikeInitial||(u="off"))}else{var y=[o.r2l(o.range[0]),o.r2l(o.range[1])],b=[g*y[0]+m*y[1],g*y[1]+m*y[0]];c[p+".range[0]"]=o.l2r(b[0]),c[p+".range[1]"]=o.l2r(b[1])}}else"hovermode"!==l||"x"!==s&&"y"!==s||(s=d._isHoriz?"y":"x",n.setAttribute("data-val",s)),c[l]=s;d._cartesianSpikesEnabled=u,a.call("_guiRelayout",e,c)}function u(e,t){for(var o=t.currentTarget,i=o.getAttribute("data-attr"),r=o.getAttribute("data-val")||!0,n=e._fullLayout._subplots.gl3d||[],l={},s=i.split("."),d=0;d<n.length;d++)l[n[d]+"."+s[1]]=r;var c="pan"===r?r:"zoom";l.dragmode=c,a.call("_guiRelayout",e,l)}function p(e,t){for(var o=t.currentTarget.getAttribute("data-attr"),i="resetLastSave"===o,r="resetDefault"===o,n=e._fullLayout,l=n._subplots.gl3d||[],s={},d=0;d<l.length;d++){var c,h=l[d],u=h+".camera",p=h+".aspectratio",f=h+".aspectmode",g=n[h]._scene;i?(s[u+".up"]=g.viewInitial.up,s[u+".eye"]=g.viewInitial.eye,s[u+".center"]=g.viewInitial.center,c=!0):r&&(s[u+".up"]=null,s[u+".eye"]=null,s[u+".center"]=null,c=!0),c&&(s[p+".x"]=g.viewInitial.aspectratio.x,s[p+".y"]=g.viewInitial.aspectratio.y,s[p+".z"]=g.viewInitial.aspectratio.z,s[f]=g.viewInitial.aspectmode)}a.call("_guiRelayout",e,s)}function f(e,t){var o=t.currentTarget,a=o._previousVal,i=e._fullLayout,r=i._subplots.gl3d||[],n=["xaxis","yaxis","zaxis"],l={},s={};if(a)s=a,o._previousVal=null;else{for(var d=0;d<r.length;d++){var c=r[d],h=i[c],u=c+".hovermode";l[u]=h.hovermode,s[u]=!1;for(var p=0;p<3;p++){var f=n[p],g=c+"."+f+".showspikes";s[g]=!1,l[g]=h[f].showspikes}}o._previousVal=l}return s}function g(e,t){for(var o=t.currentTarget,i=o.getAttribute("data-attr"),r=o.getAttribute("data-val")||!0,n=e._fullLayout,l=n._subplots.geo||[],s=0;s<l.length;s++){var d=l[s],c=n[d];if("zoom"===i){var h=c.projection.scale,u="in"===r?2*h:.5*h;a.call("_guiRelayout",e,d+".projection.scale",u)}}"reset"===i&&b(e,"geo")}function m(e){var t=e._fullLayout;return!t.hovermode&&(t._has("cartesian")?t._isHoriz?"y":"x":"closest")}function v(e){var t=m(e);a.call("_guiRelayout",e,"hovermode",t)}function y(e,t){for(var o=t.currentTarget.getAttribute("data-val"),i=e._fullLayout,r=i._subplots.mapbox||[],n={},l=0;l<r.length;l++){var s=r[l],d=i[s].zoom,c="in"===o?1.05*d:d/1.05;n[s+".zoom"]=c}a.call("_guiRelayout",e,n)}function b(e,t){for(var o=e._fullLayout,i=o._subplots[t]||[],r={},n=0;n<i.length;n++)for(var l=i[n],s=o[l]._subplot.viewInitial,d=Object.keys(s),c=0;c<d.length;c++){var h=d[c];r[l+"."+h]=s[h]}a.call("_guiRelayout",e,r)}c.toImage={name:"toImage",title:function(e){var t=(e._context.toImageButtonOptions||{}).format||"png";return d(e,"png"===t?"Download plot as a png":"Download plot")},icon:n.camera,click:function(e){var t=e._context.toImageButtonOptions,o={format:t.format||"png"};s.notifier(d(e,"Taking snapshot - this may take a few seconds"),"long"),"svg"!==o.format&&s.isIE()&&(s.notifier(d(e,"IE only supports svg. Changing format to svg."),"long"),o.format="svg"),["filename","width","height","scale"].forEach((function(e){e in t&&(o[e]=t[e])})),a.call("downloadImage",e,o).then((function(t){s.notifier(d(e,"Snapshot succeeded")+" - "+t,"long")})).catch((function(){s.notifier(d(e,"Sorry, there was a problem downloading your snapshot!"),"long")}))}},c.sendDataToCloud={name:"sendDataToCloud",title:function(e){return d(e,"Edit in Chart Studio")},icon:n.disk,click:function(e){i.sendDataToCloud(e)}},c.editInChartStudio={name:"editInChartStudio",title:function(e){return d(e,"Edit in Chart Studio")},icon:n.pencil,click:function(e){i.sendDataToCloud(e)}},c.zoom2d={name:"zoom2d",_cat:"zoom",title:function(e){return d(e,"Zoom")},attr:"dragmode",val:"zoom",icon:n.zoombox,click:h},c.pan2d={name:"pan2d",_cat:"pan",title:function(e){return d(e,"Pan")},attr:"dragmode",val:"pan",icon:n.pan,click:h},c.select2d={name:"select2d",_cat:"select",title:function(e){return d(e,"Box Select")},attr:"dragmode",val:"select",icon:n.selectbox,click:h},c.lasso2d={name:"lasso2d",_cat:"lasso",title:function(e){return d(e,"Lasso Select")},attr:"dragmode",val:"lasso",icon:n.lasso,click:h},c.drawclosedpath={name:"drawclosedpath",title:function(e){return d(e,"Draw closed freeform")},attr:"dragmode",val:"drawclosedpath",icon:n.drawclosedpath,click:h},c.drawopenpath={name:"drawopenpath",title:function(e){return d(e,"Draw open freeform")},attr:"dragmode",val:"drawopenpath",icon:n.drawopenpath,click:h},c.drawline={name:"drawline",title:function(e){return d(e,"Draw line")},attr:"dragmode",val:"drawline",icon:n.drawline,click:h},c.drawrect={name:"drawrect",title:function(e){return d(e,"Draw rectangle")},attr:"dragmode",val:"drawrect",icon:n.drawrect,click:h},c.drawcircle={name:"drawcircle",title:function(e){return d(e,"Draw circle")},attr:"dragmode",val:"drawcircle",icon:n.drawcircle,click:h},c.eraseshape={name:"eraseshape",title:function(e){return d(e,"Erase active shape")},icon:n.eraseshape,click:l},c.zoomIn2d={name:"zoomIn2d",_cat:"zoomin",title:function(e){return d(e,"Zoom in")},attr:"zoom",val:"in",icon:n.zoom_plus,click:h},c.zoomOut2d={name:"zoomOut2d",_cat:"zoomout",title:function(e){return d(e,"Zoom out")},attr:"zoom",val:"out",icon:n.zoom_minus,click:h},c.autoScale2d={name:"autoScale2d",_cat:"autoscale",title:function(e){return d(e,"Autoscale")},attr:"zoom",val:"auto",icon:n.autoscale,click:h},c.resetScale2d={name:"resetScale2d",_cat:"resetscale",title:function(e){return d(e,"Reset axes")},attr:"zoom",val:"reset",icon:n.home,click:h},c.hoverClosestCartesian={name:"hoverClosestCartesian",_cat:"hoverclosest",title:function(e){return d(e,"Show closest data on hover")},attr:"hovermode",val:"closest",icon:n.tooltip_basic,gravity:"ne",click:h},c.hoverCompareCartesian={name:"hoverCompareCartesian",_cat:"hoverCompare",title:function(e){return d(e,"Compare data on hover")},attr:"hovermode",val:function(e){return e._fullLayout._isHoriz?"y":"x"},icon:n.tooltip_compare,gravity:"ne",click:h},c.zoom3d={name:"zoom3d",_cat:"zoom",title:function(e){return d(e,"Zoom")},attr:"scene.dragmode",val:"zoom",icon:n.zoombox,click:u},c.pan3d={name:"pan3d",_cat:"pan",title:function(e){return d(e,"Pan")},attr:"scene.dragmode",val:"pan",icon:n.pan,click:u},c.orbitRotation={name:"orbitRotation",title:function(e){return d(e,"Orbital rotation")},attr:"scene.dragmode",val:"orbit",icon:n["3d_rotate"],click:u},c.tableRotation={name:"tableRotation",title:function(e){return d(e,"Turntable rotation")},attr:"scene.dragmode",val:"turntable",icon:n["z-axis"],click:u},c.resetCameraDefault3d={name:"resetCameraDefault3d",_cat:"resetCameraDefault",title:function(e){return d(e,"Reset camera to default")},attr:"resetDefault",icon:n.home,click:p},c.resetCameraLastSave3d={name:"resetCameraLastSave3d",_cat:"resetCameraLastSave",title:function(e){return d(e,"Reset camera to last save")},attr:"resetLastSave",icon:n.movie,click:p},c.hoverClosest3d={name:"hoverClosest3d",_cat:"hoverclosest",title:function(e){return d(e,"Toggle show closest data on hover")},attr:"hovermode",val:null,toggle:!0,icon:n.tooltip_basic,gravity:"ne",click:function(e,t){var o=f(e,t);a.call("_guiRelayout",e,o)}},c.zoomInGeo={name:"zoomInGeo",_cat:"zoomin",title:function(e){return d(e,"Zoom in")},attr:"zoom",val:"in",icon:n.zoom_plus,click:g},c.zoomOutGeo={name:"zoomOutGeo",_cat:"zoomout",title:function(e){return d(e,"Zoom out")},attr:"zoom",val:"out",icon:n.zoom_minus,click:g},c.resetGeo={name:"resetGeo",_cat:"reset",title:function(e){return d(e,"Reset")},attr:"reset",val:null,icon:n.autoscale,click:g},c.hoverClosestGeo={name:"hoverClosestGeo",_cat:"hoverclosest",title:function(e){return d(e,"Toggle show closest data on hover")},attr:"hovermode",val:null,toggle:!0,icon:n.tooltip_basic,gravity:"ne",click:v},c.hoverClosestGl2d={name:"hoverClosestGl2d",_cat:"hoverclosest",title:function(e){return d(e,"Toggle show closest data on hover")},attr:"hovermode",val:null,toggle:!0,icon:n.tooltip_basic,gravity:"ne",click:v},c.hoverClosestPie={name:"hoverClosestPie",_cat:"hoverclosest",title:function(e){return d(e,"Toggle show closest data on hover")},attr:"hovermode",val:"closest",icon:n.tooltip_basic,gravity:"ne",click:v},c.resetViewSankey={name:"resetSankeyGroup",title:function(e){return d(e,"Reset view")},icon:n.home,click:function(e){for(var t={"node.groups":[],"node.x":[],"node.y":[]},o=0;o<e._fullData.length;o++){var i=e._fullData[o]._viewInitial;t["node.groups"].push(i.node.groups.slice()),t["node.x"].push(i.node.x.slice()),t["node.y"].push(i.node.y.slice())}a.call("restyle",e,t)}},c.toggleHover={name:"toggleHover",title:function(e){return d(e,"Toggle show closest data on hover")},attr:"hovermode",val:null,toggle:!0,icon:n.tooltip_basic,gravity:"ne",click:function(e,t){var o=f(e,t);o.hovermode=m(e),a.call("_guiRelayout",e,o)}},c.resetViews={name:"resetViews",title:function(e){return d(e,"Reset views")},icon:n.home,click:function(e,t){var o=t.currentTarget;o.setAttribute("data-attr","zoom"),o.setAttribute("data-val","reset"),h(e,t),o.setAttribute("data-attr","resetLastSave"),p(e,t),b(e,"geo"),b(e,"mapbox")}},c.toggleSpikelines={name:"toggleSpikelines",title:function(e){return d(e,"Toggle Spike Lines")},icon:n.spikeline,attr:"_cartesianSpikesEnabled",val:"on",click:function(e){var t=e._fullLayout,o=t._cartesianSpikesEnabled;t._cartesianSpikesEnabled="on"===o?"off":"on",a.call("_guiRelayout",e,function(e){for(var t="on"===e._fullLayout._cartesianSpikesEnabled,o=r.list(e,null,!0),a={},i=0;i<o.length;i++){var n=o[i];a[n._name+".showspikes"]=!!t||n._showSpikeInitial}return a}(e))}},c.resetViewMapbox={name:"resetViewMapbox",_cat:"resetView",title:function(e){return d(e,"Reset view")},attr:"reset",icon:n.home,click:function(e){b(e,"mapbox")}},c.zoomInMapbox={name:"zoomInMapbox",_cat:"zoomin",title:function(e){return d(e,"Zoom in")},attr:"zoom",val:"in",icon:n.zoom_plus,click:y},c.zoomOutMapbox={name:"zoomOutMapbox",_cat:"zoomout",title:function(e){return d(e,"Zoom out")},attr:"zoom",val:"out",icon:n.zoom_minus,click:y}},48544:function(e,t,o){var a=o(72952),i=Object.keys(a),r=["drawline","drawopenpath","drawclosedpath","drawcircle","drawrect","eraseshape"],n=["v1hovermode","hoverclosest","hovercompare","togglehover","togglespikelines"].concat(r),l=[];i.forEach((function(e){!function(e){if(-1===n.indexOf(e._cat||e.name)){var t=e.name,o=(e._cat||e.name).toLowerCase();-1===l.indexOf(t)&&l.push(t),-1===l.indexOf(o)&&l.push(o)}}(a[e])})),l.sort(),e.exports={DRAW_MODES:r,backButtons:n,foreButtons:l}},17379:function(e,t,o){var a=o(47401),i=o(31454),r=o(92704),n=o(84948);e.exports=function(e,t){var o=e.modebar||{},l=r.newContainer(t,"modebar");function s(e,t){return a.coerce(o,l,n,e,t)}s("orientation"),s("bgcolor",i.addOpacity(t.paper_bgcolor,.5));var d=i.contrast(i.rgb(t.modebar.bgcolor));s("color",i.addOpacity(d,.3)),s("activecolor",i.addOpacity(d,.7)),s("uirevision",t.uirevision),s("add"),s("remove")}},18905:function(e,t,o){e.exports={moduleType:"component",name:"modebar",layoutAttributes:o(84948),supplyLayoutDefaults:o(17379),manage:o(16450)}},16450:function(e,t,o){var a=o(77063),i=o(77638),r=o(62282),n=o(14904).isUnifiedHover,l=o(83777),s=o(72952),d=o(48544).DRAW_MODES;e.exports=function(e){var t=e._fullLayout,o=e._context,c=t._modeBar;if(o.displayModeBar||o.watermark){if(!Array.isArray(o.modeBarButtonsToRemove))throw new Error(["*modeBarButtonsToRemove* configuration options","must be an array."].join(" "));if(!Array.isArray(o.modeBarButtonsToAdd))throw new Error(["*modeBarButtonsToAdd* configuration options","must be an array."].join(" "));var h,u=o.modeBarButtons;h=Array.isArray(u)&&u.length?function(e){for(var t=0;t<e.length;t++)for(var o=e[t],a=0;a<o.length;a++){var i=o[a];if("string"===typeof i){if(void 0===s[i])throw new Error(["*modeBarButtons* configuration options","invalid button name"].join(" "));e[t][a]=s[i]}}return e}(u):!o.displayModeBar&&o.watermark?[]:function(e){var t=e._fullLayout,o=e._fullData,l=e._context;function c(e,t){if("string"===typeof t){if(t.toLowerCase()===e.toLowerCase())return!0}else{var o=t.name,a=t._cat||t.name;if(o===e||a===e.toLowerCase())return!0}return!1}var h=t.modebar.add;"string"===typeof h&&(h=[h]);var u=t.modebar.remove;"string"===typeof u&&(u=[u]);var p=l.modeBarButtonsToAdd.concat(h.filter((function(e){for(var t=0;t<l.modeBarButtonsToRemove.length;t++)if(c(e,l.modeBarButtonsToRemove[t]))return!1;return!0}))),f=l.modeBarButtonsToRemove.concat(u.filter((function(e){for(var t=0;t<l.modeBarButtonsToAdd.length;t++)if(c(e,l.modeBarButtonsToAdd[t]))return!1;return!0}))),g=t._has("cartesian"),m=t._has("gl3d"),v=t._has("geo"),y=t._has("pie"),b=t._has("funnelarea"),x=t._has("gl2d"),w=t._has("ternary"),_=t._has("mapbox"),T=t._has("polar"),k=t._has("sankey"),A=function(e){for(var t=a.list({_fullLayout:e},null,!0),o=0;o<t.length;o++)if(!t[o].fixedrange)return!1;return!0}(t),z=n(t.hovermode),S=[];function M(e){if(e.length){for(var t=[],o=0;o<e.length;o++){for(var a=e[o],i=s[a],r=i.name.toLowerCase(),n=(i._cat||i.name).toLowerCase(),l=!1,d=0;d<f.length;d++){var c=f[d].toLowerCase();if(c===r||c===n){l=!0;break}}l||t.push(s[a])}S.push(t)}}var C=["toImage"];l.showEditInChartStudio?C.push("editInChartStudio"):l.showSendToCloud&&C.push("sendDataToCloud");M(C);var I=[],L=[],D=[],B=[];(g||x||y||b||w)+v+m+_+T>1?(L=["toggleHover"],D=["resetViews"]):v?(I=["zoomInGeo","zoomOutGeo"],L=["hoverClosestGeo"],D=["resetGeo"]):m?(L=["hoverClosest3d"],D=["resetCameraDefault3d","resetCameraLastSave3d"]):_?(I=["zoomInMapbox","zoomOutMapbox"],L=["toggleHover"],D=["resetViewMapbox"]):x?L=["hoverClosestGl2d"]:y?L=["hoverClosestPie"]:k?(L=["hoverClosestCartesian","hoverCompareCartesian"],D=["resetViewSankey"]):L=["toggleHover"];g&&(L=["toggleSpikelines","hoverClosestCartesian","hoverCompareCartesian"]);(function(e){for(var t=0;t<e.length;t++)if(!r.traceIs(e[t],"noHover"))return!1;return!0}(o)||z)&&(L=[]);!g&&!x||A||(I=["zoomIn2d","zoomOut2d","autoScale2d"],"resetViews"!==D[0]&&(D=["resetScale2d"]));m?B=["zoom3d","pan3d","orbitRotation","tableRotation"]:(g||x)&&!A||w?B=["zoom2d","pan2d"]:_||v?B=["pan2d"]:T&&(B=["zoom2d"]);(function(e){for(var t=!1,o=0;o<e.length&&!t;o++){var a=e[o];a._module&&a._module.selectPoints&&(r.traceIs(a,"scatter-like")?(i.hasMarkers(a)||i.hasText(a))&&(t=!0):r.traceIs(a,"box-violin")&&"all"!==a.boxpoints&&"all"!==a.points||(t=!0))}return t})(o)&&B.push("select2d","lasso2d");var H=[],R=function(e){-1===H.indexOf(e)&&-1!==L.indexOf(e)&&H.push(e)};if(Array.isArray(p)){for(var j=[],E=0;E<p.length;E++){var O=p[E];"string"===typeof O?(O=O.toLowerCase(),-1!==d.indexOf(O)?(t._has("mapbox")||t._has("cartesian"))&&B.push(O):"togglespikelines"===O?R("toggleSpikelines"):"togglehover"===O?R("toggleHover"):"hovercompare"===O?R("hoverCompareCartesian"):"hoverclosest"===O?(R("hoverClosestCartesian"),R("hoverClosestGeo"),R("hoverClosest3d"),R("hoverClosestGl2d"),R("hoverClosestPie")):"v1hovermode"===O&&(R("toggleHover"),R("hoverClosestCartesian"),R("hoverCompareCartesian"),R("hoverClosestGeo"),R("hoverClosest3d"),R("hoverClosestGl2d"),R("hoverClosestPie"))):j.push(O)}p=j}return M(B),M(I.concat(D)),M(H),function(e,t){if(t.length)if(Array.isArray(t[0]))for(var o=0;o<t.length;o++)e.push(t[o]);else e.push(t);return e}(S,p)}(e),c?c.update(e,h):t._modeBar=l(e,h)}else c&&(c.destroy(),delete t._modeBar)}},83777:function(e,t,o){var a=o(62258),i=o(83491),r=o(47401),n=o(68516),l=new DOMParser;function s(e){this.container=e.container,this.element=document.createElement("div"),this.update(e.graphInfo,e.buttons),this.container.appendChild(this.element)}var d=s.prototype;d.update=function(e,t){this.graphInfo=e;var o=this.graphInfo._context,a=this.graphInfo._fullLayout,i="modebar-"+a._uid;this.element.setAttribute("id",i),this._uid=i,this.element.className="modebar","hover"===o.displayModeBar&&(this.element.className+=" modebar--hover ease-bg"),"v"===a.modebar.orientation&&(this.element.className+=" vertical",t=t.reverse());var n=a.modebar,l="hover"===o.displayModeBar?".js-plotly-plot .plotly:hover ":"";r.deleteRelatedStyleRule(i),r.addRelatedStyleRule(i,l+"#"+i+" .modebar-group","background-color: "+n.bgcolor),r.addRelatedStyleRule(i,"#"+i+" .modebar-btn .icon path","fill: "+n.color),r.addRelatedStyleRule(i,"#"+i+" .modebar-btn:hover .icon path","fill: "+n.activecolor),r.addRelatedStyleRule(i,"#"+i+" .modebar-btn.active .icon path","fill: "+n.activecolor);var s=!this.hasButtons(t),d=this.hasLogo!==o.displaylogo,c=this.locale!==o.locale;if(this.locale=o.locale,(s||d||c)&&(this.removeAllButtons(),this.updateButtons(t),o.watermark||o.displaylogo)){var h=this.getLogo();o.watermark&&(h.className=h.className+" watermark"),"v"===a.modebar.orientation?this.element.insertBefore(h,this.element.childNodes[0]):this.element.appendChild(h),this.hasLogo=!0}this.updateActiveButton()},d.updateButtons=function(e){var t=this;this.buttons=e,this.buttonElements=[],this.buttonsNames=[],this.buttons.forEach((function(e){var o=t.createGroup();e.forEach((function(e){var a=e.name;if(!a)throw new Error("must provide button 'name' in button config");if(-1!==t.buttonsNames.indexOf(a))throw new Error("button name '"+a+"' is taken");t.buttonsNames.push(a);var i=t.createButton(e);t.buttonElements.push(i),o.appendChild(i)})),t.element.appendChild(o)}))},d.createGroup=function(){var e=document.createElement("div");return e.className="modebar-group",e},d.createButton=function(e){var t=this,o=document.createElement("a");o.setAttribute("rel","tooltip"),o.className="modebar-btn";var i=e.title;void 0===i?i=e.name:"function"===typeof i&&(i=i(this.graphInfo)),(i||0===i)&&o.setAttribute("data-title",i),void 0!==e.attr&&o.setAttribute("data-attr",e.attr);var r=e.val;if(void 0!==r&&("function"===typeof r&&(r=r(this.graphInfo)),o.setAttribute("data-val",r)),"function"!==typeof e.click)throw new Error("must provide button 'click' function in button config");o.addEventListener("click",(function(o){e.click(t.graphInfo,o),t.updateActiveButton(o.currentTarget)})),o.setAttribute("data-toggle",e.toggle||!1),e.toggle&&a.select(o).classed("active",!0);var l=e.icon;return"function"===typeof l?o.appendChild(l()):o.appendChild(this.createIcon(l||n.question)),o.setAttribute("data-gravity",e.gravity||"n"),o},d.createIcon=function(e){var t,o=i(e.height)?Number(e.height):e.ascent-e.descent,a="http://www.w3.org/2000/svg";if(e.path){(t=document.createElementNS(a,"svg")).setAttribute("viewBox",[0,0,e.width,o].join(" ")),t.setAttribute("class","icon");var r=document.createElementNS(a,"path");r.setAttribute("d",e.path),e.transform?r.setAttribute("transform",e.transform):void 0!==e.ascent&&r.setAttribute("transform","matrix(1 0 0 -1 0 "+e.ascent+")"),t.appendChild(r)}e.svg&&(t=l.parseFromString(e.svg,"application/xml").childNodes[0]);return t.setAttribute("height","1em"),t.setAttribute("width","1em"),t},d.updateActiveButton=function(e){var t=this.graphInfo._fullLayout,o=void 0!==e?e.getAttribute("data-attr"):null;this.buttonElements.forEach((function(e){var i=e.getAttribute("data-val")||!0,n=e.getAttribute("data-attr"),l="true"===e.getAttribute("data-toggle"),s=a.select(e);if(l)n===o&&s.classed("active",!s.classed("active"));else{var d=null===n?n:r.nestedProperty(t,n).get();s.classed("active",d===i)}}))},d.hasButtons=function(e){var t=this.buttons;if(!t)return!1;if(e.length!==t.length)return!1;for(var o=0;o<e.length;++o){if(e[o].length!==t[o].length)return!1;for(var a=0;a<e[o].length;a++)if(e[o][a].name!==t[o][a].name)return!1}return!0},d.getLogo=function(){var e=this.createGroup(),t=document.createElement("a");return t.href="https://plotly.com/",t.target="_blank",t.setAttribute("data-title",r._(this.graphInfo,"Produced with Plotly")),t.className="modebar-btn plotlyjsicon modebar-btn--logo",t.appendChild(this.createIcon(n.newplotlylogo)),e.appendChild(t),e},d.removeAllButtons=function(){for(;this.element.firstChild;)this.element.removeChild(this.element.firstChild);this.hasLogo=!1},d.destroy=function(){r.removeElement(this.container.querySelector(".modebar")),r.deleteRelatedStyleRule(this._uid)},e.exports=function(e,t){var o=e._fullLayout,i=new s({graphInfo:e,container:o._modebardiv.node(),buttons:t});return o._privateplot&&a.select(i.element).append("span").classed("badge-private float--left",!0).text("PRIVATE"),i}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_mlflow_mlflow=self.webpackChunk_mlflow_mlflow||[]).push([[491],{46218:function(e){e.exports={mode:{valType:"enumerated",dflt:"afterall",values:["immediate","next","afterall"],description:["Describes how a new animate call interacts with currently-running","animations. If `immediate`, current animations are interrupted and","the new animation is started. If `next`, the current frame is allowed","to complete, after which the new animation is started. If `afterall`","all existing frames are animated to completion before the new animation","is started."].join(" ")},direction:{valType:"enumerated",values:["forward","reverse"],dflt:"forward",description:["The direction in which to play the frames triggered by the animation call"].join(" ")},fromcurrent:{valType:"boolean",dflt:!1,description:["Play frames starting at the current frame instead of the beginning."].join(" ")},frame:{duration:{valType:"number",min:0,dflt:500,description:["The duration in milliseconds of each frame. If greater than the frame","duration, it will be limited to the frame duration."].join(" ")},redraw:{valType:"boolean",dflt:!0,description:["Redraw the plot at completion of the transition. This is desirable","for transitions that include properties that cannot be transitioned,","but may significantly slow down updates that do not require a full","redraw of the plot"].join(" ")}},transition:{duration:{valType:"number",min:0,dflt:500,editType:"none",description:["The duration of the transition, in milliseconds. If equal to zero,","updates are synchronous."].join(" ")},easing:{valType:"enumerated",dflt:"cubic-in-out",values:["linear","quad","cubic","sin","exp","circle","elastic","back","bounce","linear-in","quad-in","cubic-in","sin-in","exp-in","circle-in","elastic-in","back-in","bounce-in","linear-out","quad-out","cubic-out","sin-out","exp-out","circle-out","elastic-out","back-out","bounce-out","linear-in-out","quad-in-out","cubic-in-out","sin-in-out","exp-in-out","circle-in-out","elastic-in-out","back-in-out","bounce-in-out"],editType:"none",description:"The easing function used for the transition"},ordering:{valType:"enumerated",values:["layout first","traces first"],dflt:"layout first",editType:"none",description:["Determines whether the figure's layout or traces smoothly transitions","during updates that make both traces and layout change."].join(" ")}}}},26800:function(e,t,a){var n=a(47401),i=a(92704);e.exports=function(e,t,a){var r,o,s=a.name,l=a.inclusionAttr||"visible",d=t[s],c=n.isArrayOrTypedArray(e[s])?e[s]:[],p=t[s]=[],u=i.arrayTemplater(t,s,l);for(r=0;r<c.length;r++){var h=c[r];n.isPlainObject(h)?o=u.newItem(h):(o=u.newItem({}))[l]=!1,o._index=r,!1!==o[l]&&a.handleItemDefaults(h,o,t,a),p.push(o)}var f=u.defaultItems();for(r=0;r<f.length;r++)(o=f[r])._index=p.length,a.handleItemDefaults({},o,t,a,{}),p.push(o);if(n.isArrayOrTypedArray(d)){var m=Math.min(d.length,p.length);for(r=0;r<m;r++)n.relinkPrivateKeys(p[r],d[r])}return p}},42837:function(e,t,a){var n=a(5153),i=a(97280);e.exports={type:{valType:"enumerated",values:[],dflt:"scatter",editType:"calc+clearAxisTypes",_noTemplating:!0},visible:{valType:"enumerated",values:[!0,!1,"legendonly"],dflt:!0,editType:"calc",description:["Determines whether or not this trace is visible.","If *legendonly*, the trace is not drawn,","but can appear as a legend item","(provided that the legend itself is visible)."].join(" ")},showlegend:{valType:"boolean",dflt:!0,editType:"style",description:["Determines whether or not an item corresponding to this","trace is shown in the legend."].join(" ")},legendgroup:{valType:"string",dflt:"",editType:"style",description:["Sets the legend group for this trace.","Traces part of the same legend group hide/show at the same time","when toggling legend items."].join(" ")},legendgrouptitle:{text:{valType:"string",dflt:"",editType:"style",description:["Sets the title of the legend group."].join(" ")},font:n({editType:"style",description:["Sets this legend group's title font."].join(" ")}),editType:"style"},legendrank:{valType:"number",dflt:1e3,editType:"style",description:["Sets the legend rank for this trace.","Items and groups with smaller ranks are presented on top/left side while","with `*reversed* `legend.traceorder` they are on bottom/right side.","The default legendrank is 1000,","so that you can use ranks less than 1000 to place certain items before all unranked items,","and ranks greater than 1000 to go after all unranked items."].join(" ")},opacity:{valType:"number",min:0,max:1,dflt:1,editType:"style",description:"Sets the opacity of the trace."},name:{valType:"string",editType:"style",description:["Sets the trace name.","The trace name appear as the legend item and on hover."].join(" ")},uid:{valType:"string",editType:"plot",anim:!0,description:["Assign an id to this trace,","Use this to provide object constancy between traces during animations","and transitions."].join(" ")},ids:{valType:"data_array",editType:"calc",anim:!0,description:["Assigns id labels to each datum.","These ids for object constancy of data points during animation.","Should be an array of strings, not numbers or any other type."].join(" ")},customdata:{valType:"data_array",editType:"calc",description:["Assigns extra data each datum.","This may be useful when listening to hover, click and selection events.","Note that, *scatter* traces also appends customdata items in the markers","DOM elements"].join(" ")},meta:{valType:"any",arrayOk:!0,editType:"plot",description:["Assigns extra meta information associated with this trace","that can be used in various text attributes.","Attributes such as trace `name`, graph, axis and colorbar `title.text`, annotation `text`","`rangeselector`, `updatemenues` and `sliders` `label` text","all support `meta`.","To access the trace `meta` values in an attribute in the same trace, simply use","`%{meta[i]}` where `i` is the index or key of the `meta`","item in question.","To access trace `meta` in layout attributes, use","`%{data[n[.meta[i]}` where `i` is the index or key of the `meta`","and `n` is the trace index."].join(" ")},selectedpoints:{valType:"any",editType:"calc",description:["Array containing integer indices of selected points.","Has an effect only for traces that support selections.","Note that an empty array means an empty selection where the `unselected`","are turned on for all points, whereas, any other non-array values means no","selection all where the `selected` and `unselected` styles have no effect."].join(" ")},hoverinfo:{valType:"flaglist",flags:["x","y","z","text","name"],extras:["all","none","skip"],arrayOk:!0,dflt:"all",editType:"none",description:["Determines which trace information appear on hover.","If `none` or `skip` are set, no information is displayed upon hovering.","But, if `none` is set, click and hover events are still fired."].join(" ")},hoverlabel:i.hoverlabel,stream:{token:{valType:"string",noBlank:!0,strict:!0,editType:"calc",description:["The stream id number links a data trace on a plot with a stream.","See https://chart-studio.plotly.com/settings for more details."].join(" ")},maxpoints:{valType:"number",min:0,max:1e4,dflt:500,editType:"calc",description:["Sets the maximum number of points to keep on the plots from an","incoming stream.","If `maxpoints` is set to *50*, only the newest 50 points will","be displayed on the plot."].join(" ")},editType:"calc"},transforms:{_isLinkedToArray:"transform",editType:"calc",description:["WARNING: All transforms are deprecated and may be removed from the API in next major version.","An array of operations that manipulate the trace data,","for example filtering or sorting the data arrays."].join(" ")},uirevision:{valType:"any",editType:"none",description:["Controls persistence of some user-driven changes to the trace:","`constraintrange` in `parcoords` traces, as well as some","`editable: true` modifications such as `name` and `colorbar.title`.","Defaults to `layout.uirevision`.","Note that other user-driven trace attribute changes are controlled","by `layout` attributes:","`trace.visible` is controlled by `layout.legend.uirevision`,","`selectedpoints` is controlled by `layout.selectionrevision`,","and `colorbar.(x|y)` (accessible with `config: {editable: true}`)","is controlled by `layout.editrevision`.","Trace changes are tracked by `uid`, which only falls back on trace","index if no `uid` is provided. So if your app can add/remove traces","before the end of the `data` array, such that the same trace has a","different index, you can still preserve user-driven changes if you","give each trace a `uid` that stays with it as it moves."].join(" ")}}},48128:function(e,t,a){var n=a(83491),i=a(47401),r=i.dateTime2ms,o=i.incrementMonth,s=a(9405).ONEAVGMONTH;e.exports=function(e,t,a,i){if("date"!==t.type)return{vals:i};var l=e[a+"periodalignment"];if(!l)return{vals:i};var d,c=e[a+"period"];if(n(c)){if((c=+c)<=0)return{vals:i}}else if("string"===typeof c&&"M"===c.charAt(0)){var p=+c.substring(1);if(!(p>0&&Math.round(p)===p))return{vals:i};d=p}for(var u=t.calendar,h="start"===l,f="end"===l,m=e[a+"period0"],v=r(m,u)||0,y=[],g=[],x=[],b=i.length,T=0;T<b;T++){var _,w,k,M=i[T];if(d){for(_=Math.round((M-v)/(d*s)),k=o(v,d*_,u);k>M;)k=o(k,-d,u);for(;k<=M;)k=o(k,d,u);w=o(k,-d,u)}else{for(k=v+(_=Math.round((M-v)/c))*c;k>M;)k-=c;for(;k<=M;)k+=c;w=k-c}y[T]=h?w:f?k:(w+k)/2,g[T]=w,x[T]=k}return{vals:y,starts:g,ends:x}}},80070:function(e){e.exports={xaxis:{valType:"subplotid",dflt:"x",editType:"calc+clearAxisTypes",description:["Sets a reference between this trace's x coordinates and","a 2D cartesian x axis.","If *x* (the default value), the x coordinates refer to","`layout.xaxis`.","If *x2*, the x coordinates refer to `layout.xaxis2`, and so on."].join(" ")},yaxis:{valType:"subplotid",dflt:"y",editType:"calc+clearAxisTypes",description:["Sets a reference between this trace's y coordinates and","a 2D cartesian y axis.","If *y* (the default value), the y coordinates refer to","`layout.yaxis`.","If *y2*, the y coordinates refer to `layout.yaxis2`, and so on."].join(" ")}}},9319:function(e,t,a){var n=a(62258),i=a(83491),r=a(47401),o=a(9405).FP_SAFE,s=a(62282),l=a(41707),d=a(77063),c=d.getFromId,p=d.isLinked;function u(e,t){var a,n,i=[],o=e._fullLayout,s=f(o,t,0),l=f(o,t,1),d=v(e,t),c=d.min,p=d.max;if(0===c.length||0===p.length)return r.simpleMap(t.range,t.r2l);var u=c[0].val,m=p[0].val;for(a=1;a<c.length&&u===m;a++)u=Math.min(u,c[a].val);for(a=1;a<p.length&&u===m;a++)m=Math.max(m,p[a].val);var y=!1;if(t.range){var g=r.simpleMap(t.range,t.r2l);y=g[1]<g[0]}"reversed"===t.autorange&&(y=!0,t.autorange=!0);var x,b,T,_,w,k,M=t.rangemode,j="tozero"===M,A="nonnegative"===M,I=t._length,D=I/10,S=0;for(a=0;a<c.length;a++)for(x=c[a],n=0;n<p.length;n++)(k=(b=p[n]).val-x.val-h(t,x.val,b.val))>0&&((w=I-s(x)-l(b))>D?k/w>S&&(T=x,_=b,S=k/w):k/I>S&&(T={val:x.val,nopad:1},_={val:b.val,nopad:1},S=k/I));if(u===m){var O=u-1,N=u+1;if(j)if(0===u)i=[0,1];else{var q=(u>0?p:c).reduce((function(e,t){return Math.max(e,l(t))}),0),z=u/(1-Math.min(.5,q/I));i=u>0?[0,z]:[z,0]}else i=A?[Math.max(0,O),Math.max(1,N)]:[O,N]}else j?(T.val>=0&&(T={val:0,nopad:1}),_.val<=0&&(_={val:0,nopad:1})):A&&(T.val-S*s(T)<0&&(T={val:0,nopad:1}),_.val<=0&&(_={val:1,nopad:1})),S=(_.val-T.val-h(t,x.val,b.val))/(I-s(T)-l(_)),i=[T.val-S*s(T),_.val+S*l(_)];return y&&i.reverse(),r.simpleMap(i,t.l2r||Number)}function h(e,t,a){var n=0;if(e.rangebreaks)for(var i=e.locateBreaks(t,a),r=0;r<i.length;r++){var o=i[r];n+=o.max-o.min}return n}function f(e,t,a){var i=.05*t._length,o=t._anchorAxis||{};if(-1!==(t.ticklabelposition||"").indexOf("inside")||-1!==(o.ticklabelposition||"").indexOf("inside")){var s="reversed"===t.autorange;if(!s){var d=r.simpleMap(t.range,t.r2l);s=d[1]<d[0]}s&&(a=!a)}var c=0;return p(e,t._id)||(c=function(e,t,a){var i=0,o="x"===t._id.charAt(0);for(var s in e._plots){var d=e._plots[s];if(t._id===d.xaxis._id||t._id===d.yaxis._id){var c=(o?d.yaxis:d.xaxis)||{};if(-1!==(c.ticklabelposition||"").indexOf("inside")&&(!a&&("left"===c.side||"bottom"===c.side)||a&&("top"===c.side||"right"===c.side))){if(c._vals){var p=r.deg2rad(c._tickAngles[c._id+"tick"]||0),u=Math.abs(Math.cos(p)),h=Math.abs(Math.sin(p));if(!c._vals[0].bb){var f=c._id+"tick";c._selections[f].each((function(e){var t=n.select(this);t.select(".text-math-group").empty()&&(e.bb=l.bBox(t.node()))}))}for(var v=0;v<c._vals.length;v++){var y=c._vals[v].bb;if(y){var g=2*m+y.width,x=2*m+y.height;i=Math.max(i,o?Math.max(g*u,x*h):Math.max(x*u,g*h))}}}"inside"===c.ticks&&"inside"===c.ticklabelposition&&(i+=c.ticklen||0)}}}return i}(e,t,a)),i=Math.max(c,i),"domain"===t.constrain&&t._inputDomain&&(i*=(t._inputDomain[1]-t._inputDomain[0])/(t.domain[1]-t.domain[0])),function(e){return e.nopad?0:e.pad+(e.extrapad?i:c)}}e.exports={getAutoRange:u,makePadFn:f,doAutoRange:function(e,t,a){if(t.setScale(),t.autorange){t.range=a?a.slice():u(e,t),t._r=t.range.slice(),t._rl=r.simpleMap(t._r,t.r2l);var n=t._input,i={};i[t._attr+".range"]=t.range,i[t._attr+".autorange"]=t.autorange,s.call("_storeDirectGUIEdit",e.layout,e._fullLayout._preGUI,i),n.range=t.range.slice(),n.autorange=t.autorange}var o=t._anchorAxis;if(o&&o.rangeslider){var l=o.rangeslider[t._name];l&&"auto"===l.rangemode&&(l.range=u(e,t)),o._input.rangeslider[t._name]=r.extendFlat({},l)}},findExtremes:function(e,t,a){a||(a={});e._m||e.setScale();var n,r,s,l,d,c,p,u,h,f=[],m=[],v=t.length,x=a.padded||!1,T=a.tozero&&("linear"===e.type||"-"===e.type),_="log"===e.type,w=!1,k=a.vpadLinearized||!1;function M(e){if(Array.isArray(e))return w=!0,function(t){return Math.max(Number(e[t]||0),0)};var t=Math.max(Number(e||0),0);return function(){return t}}var j=M((e._m>0?a.ppadplus:a.ppadminus)||a.ppad||0),A=M((e._m>0?a.ppadminus:a.ppadplus)||a.ppad||0),I=M(a.vpadplus||a.vpad),D=M(a.vpadminus||a.vpad);if(!w){if(u=1/0,h=-1/0,_)for(n=0;n<v;n++)(r=t[n])<u&&r>0&&(u=r),r>h&&r<o&&(h=r);else for(n=0;n<v;n++)(r=t[n])<u&&r>-o&&(u=r),r>h&&r<o&&(h=r);t=[u,h],v=2}var S={tozero:T,extrapad:x};function O(a){s=t[a],i(s)&&(c=j(a),p=A(a),k?(l=e.c2l(s)-D(a),d=e.c2l(s)+I(a)):(u=s-D(a),h=s+I(a),_&&u<h/10&&(u=h/10),l=e.c2l(u),d=e.c2l(h)),T&&(l=Math.min(0,l),d=Math.max(0,d)),b(l)&&y(f,l,p,S),b(d)&&g(m,d,c,S))}var N=Math.min(6,v);for(n=0;n<N;n++)O(n);for(n=v-1;n>=N;n--)O(n);return{min:f,max:m,opts:a}},concatExtremes:v};var m=3;function v(e,t,a){var n,i,r,o=t._id,s=e._fullData,l=e._fullLayout,d=[],p=[];function u(e,t){for(n=0;n<t.length;n++){var a=e[t[n]],s=(a._extremes||{})[o];if(!0===a.visible&&s){for(i=0;i<s.min.length;i++)r=s.min[i],y(d,r.val,r.pad,{extrapad:r.extrapad});for(i=0;i<s.max.length;i++)r=s.max[i],g(p,r.val,r.pad,{extrapad:r.extrapad})}}}if(u(s,t._traceIndices),u(l.annotations||[],t._annIndices||[]),u(l.shapes||[],t._shapeIndices||[]),t._matchGroup&&!a)for(var h in t._matchGroup)if(h!==t._id){var f=c(e,h),m=v(e,f,!0),x=t._length/f._length;for(i=0;i<m.min.length;i++)r=m.min[i],y(d,r.val,r.pad*x,{extrapad:r.extrapad});for(i=0;i<m.max.length;i++)r=m.max[i],g(p,r.val,r.pad*x,{extrapad:r.extrapad})}return{min:d,max:p}}function y(e,t,a,n){x(e,t,a,n,T)}function g(e,t,a,n){x(e,t,a,n,_)}function x(e,t,a,n,i){for(var r=n.tozero,o=n.extrapad,s=!0,l=0;l<e.length&&s;l++){var d=e[l];if(i(d.val,t)&&d.pad>=a&&(d.extrapad||!o)){s=!1;break}i(t,d.val)&&d.pad<=a&&(o||!d.extrapad)&&(e.splice(l,1),l--)}if(s){var c=r&&0===t;e.push({val:t,pad:c?0:a,extrapad:!c&&o})}}function b(e){return i(e)&&Math.abs(e)<o}function T(e,t){return e<=t}function _(e,t){return e>=t}}}]);
@@ -0,0 +1,2 @@
1
+ /*! For license information please see 492.9262f038.chunk.js.LICENSE.txt */
2
+ "use strict";(self.webpackChunk_mlflow_mlflow=self.webpackChunk_mlflow_mlflow||[]).push([[492],{83255:function(t,e,o){o.d(e,{q:function(){return g}});var n=o(46599),r=o(6788),i=o(88114),a=o(94189),s=o(42614),l=o(72925),u=o(68625),p=o(25644),c=o(97998),d=o(79045),f=function(){var t=function(e,o){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},t(e,o)};return function(e,o){function n(){this.constructor=e}t(e,o),e.prototype=null===o?Object.create(o):(n.prototype=o.prototype,new n)}}(),h=function(){return h=Object.assign||function(t){for(var e,o=1,n=arguments.length;o<n;o++)for(var r in e=arguments[o])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},h.apply(this,arguments)},y=function(t,e,o,n){var r,i=arguments.length,a=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(t,e,o,n);else for(var s=t.length-1;s>=0;s--)(r=t[s])&&(a=(i<3?r(a):i>3?r(e,o,a):r(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},g=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.allColumnFilters=new Map,e.activeAggregateFilters=[],e.activeColumnFilters=[],e.quickFilter=null,e.quickFilterParts=null,e.processingFilterChange=!1,e}var o;return f(e,t),o=e,e.prototype.init=function(){var t=this;this.addManagedListener(this.eventService,i.s.EVENT_GRID_COLUMNS_CHANGED,(function(){return t.onColumnsChanged()})),this.addManagedListener(this.eventService,i.s.EVENT_COLUMN_VALUE_CHANGED,(function(){return t.refreshFiltersForAggregations()})),this.addManagedListener(this.eventService,i.s.EVENT_COLUMN_PIVOT_CHANGED,(function(){return t.refreshFiltersForAggregations()})),this.addManagedListener(this.eventService,i.s.EVENT_COLUMN_PIVOT_MODE_CHANGED,(function(){return t.refreshFiltersForAggregations()})),this.quickFilter=this.parseQuickFilter(this.gridOptionsWrapper.getQuickFilterText()),this.setQuickFilterParts(),this.allowShowChangeAfterFilter=this.gridOptionsWrapper.isAllowShowChangeAfterFilter()},e.prototype.setQuickFilterParts=function(){this.quickFilterParts=this.quickFilter?this.quickFilter.split(" "):null},e.prototype.setFilterModel=function(t){var e=this,o=[],r=this.getFilterModel();if(t){var i=(0,u.convertToSet)(Object.keys(t));this.allColumnFilters.forEach((function(n,r){var a=t[r];o.push(e.setModelOnFilterWrapper(n.filterPromise,a)),i.delete(r)})),i.forEach((function(n){var r=e.columnModel.getPrimaryColumn(n)||e.columnModel.getGridColumn(n);if(r)if(r.isFilterAllowed()){var i=e.getOrCreateFilterWrapper(r,"NO_UI");i?o.push(e.setModelOnFilterWrapper(i.filterPromise,t[n])):console.warn("AG-Grid: setFilterModel() - unable to fully apply model, unable to create filter for colId: "+n)}else console.warn("AG Grid: setFilterModel() - unable to fully apply model, filtering disabled for colId: "+n);else console.warn("AG Grid: setFilterModel() - no column found for colId: "+n)}))}else this.allColumnFilters.forEach((function(t){o.push(e.setModelOnFilterWrapper(t.filterPromise,null))}));n.oY.all(o).then((function(){var t=e.getFilterModel(),o=[];e.allColumnFilters.forEach((function(e,i){var a=r?r[i]:null,s=t?t[i]:null;n._.jsonEquals(a,s)||o.push(e.column)})),o.length>0&&e.onFilterChanged({columns:o})}))},e.prototype.setModelOnFilterWrapper=function(t,e){return new n.oY((function(o){t.then((function(t){"function"!==typeof t.setModel&&(console.warn("AG Grid: filter missing setModel method, which is needed for setFilterModel"),o()),(t.setModel(e)||n.oY.resolve()).then((function(){return o()}))}))}))},e.prototype.getFilterModel=function(){var t={};return this.allColumnFilters.forEach((function(e,o){var n=e.filterPromise.resolveNow(null,(function(t){return t}));if(null==n)return null;if("function"===typeof n.getModel){var r=n.getModel();(0,p.exists)(r)&&(t[o]=r)}else console.warn("AG Grid: filter API missing getModel method, which is needed for getFilterModel")})),t},e.prototype.isColumnFilterPresent=function(){return this.activeColumnFilters.length>0},e.prototype.isAggregateFilterPresent=function(){return!!this.activeAggregateFilters.length},e.prototype.doAggregateFiltersPass=function(t,e){return this.doColumnFiltersPass(t,e,!0)},e.prototype.updateActiveFilters=function(){var t=this;this.activeColumnFilters.length=0,this.activeAggregateFilters.length=0;var e=function(t){return!!t&&(t.isFilterActive?t.isFilterActive():(console.warn("AG Grid: Filter is missing isFilterActive() method"),!1))},o=!!this.gridOptionsWrapper.getGroupAggFiltering();this.allColumnFilters.forEach((function(n){if(n.filterPromise.resolveNow(!1,e)){var r=n.filterPromise.resolveNow(null,(function(t){return t}));!function(e){if(!e.isPrimary())return!0;var n=!t.columnModel.isPivotActive();return!(!e.isValueActive()||!n)&&(!!t.columnModel.isPivotMode()||o)}(n.column)?t.activeColumnFilters.push(r):t.activeAggregateFilters.push(r)}}))},e.prototype.updateFilterFlagInColumns=function(t,e){this.allColumnFilters.forEach((function(o){var n=o.filterPromise.resolveNow(!1,(function(t){return t.isFilterActive()}));o.column.setFilterActive(n,t,e)}))},e.prototype.isAnyFilterPresent=function(){return this.isQuickFilterPresent()||this.isColumnFilterPresent()||this.isAggregateFilterPresent()||this.gridOptionsWrapper.isExternalFilterPresent()},e.prototype.doColumnFiltersPass=function(t,e,o){for(var n=t.data,r=t.aggData,i=o?this.activeAggregateFilters:this.activeColumnFilters,a=o?r:n,s=0;s<i.length;s++){var l=i[s];if(null!=l&&l!==e){if("function"!==typeof l.doesFilterPass)throw new Error("Filter is missing method doesFilterPass");if(!l.doesFilterPass({node:t,data:a}))return!1}}return!0},e.prototype.parseQuickFilter=function(t){return(0,p.exists)(t)?this.gridOptionsWrapper.isRowModelDefault()?t.toUpperCase():(console.warn("AG Grid - Quick filtering only works with the Client-Side Row Model"),null):null},e.prototype.setQuickFilter=function(t){if(null==t||"string"===typeof t){var e=this.parseQuickFilter(t);this.quickFilter!==e&&(this.quickFilter=e,this.setQuickFilterParts(),this.onFilterChanged())}else console.warn("AG Grid - setQuickFilter() only supports string inputs, received: "+typeof t)},e.prototype.refreshFiltersForAggregations=function(){this.gridOptionsWrapper.getGroupAggFiltering()&&this.onFilterChanged()},e.prototype.callOnFilterChangedOutsideRenderCycle=function(t){var e=this;void 0===t&&(t={});var o=function(){return e.onFilterChanged(t)};this.rowRenderer.isRefreshInProgress()?setTimeout(o,0):o()},e.prototype.onFilterChanged=function(t){void 0===t&&(t={});var e=t.filterInstance,o=t.additionalEventAttributes,n=t.columns;this.updateActiveFilters(),this.updateFilterFlagInColumns("filterChanged",o),this.allColumnFilters.forEach((function(t){t.filterPromise&&t.filterPromise.then((function(t){t&&t!==e&&t.onAnyFilterChanged&&t.onAnyFilterChanged()}))}));var r={type:i.s.EVENT_FILTER_CHANGED,api:this.gridApi,columnApi:this.columnApi,columns:n||[]};o&&(0,c.mergeDeep)(r,o),this.processingFilterChange=!0,this.eventService.dispatchEvent(r),this.processingFilterChange=!1},e.prototype.isSuppressFlashingCellsBecauseFiltering=function(){return!this.allowShowChangeAfterFilter&&this.processingFilterChange},e.prototype.isQuickFilterPresent=function(){return null!==this.quickFilter},e.prototype.doesRowPassOtherFilters=function(t,e){return this.doesRowPassFilter({rowNode:e,filterInstanceToSkip:t})},e.prototype.doesRowPassQuickFilterNoCache=function(t,e){var o=this;return this.columnModel.getAllColumnsForQuickFilter().some((function(n){var r=o.getQuickFilterTextForColumn(n,t);return(0,p.exists)(r)&&r.indexOf(e)>=0}))},e.prototype.doesRowPassQuickFilterCache=function(t,e){return t.quickFilterAggregateText||this.aggregateRowForQuickFilter(t),t.quickFilterAggregateText.indexOf(e)>=0},e.prototype.doesRowPassQuickFilter=function(t){var e=this,o=this.gridOptionsWrapper.isCacheQuickFilter();return this.quickFilterParts.every((function(n){return o?e.doesRowPassQuickFilterCache(t,n):e.doesRowPassQuickFilterNoCache(t,n)}))},e.prototype.doesRowPassAggregateFilters=function(t){return!(this.isAggregateFilterPresent()&&!this.doAggregateFiltersPass(t.rowNode,t.filterInstanceToSkip))},e.prototype.doesRowPassFilter=function(t){return!(this.isQuickFilterPresent()&&!this.doesRowPassQuickFilter(t.rowNode))&&(!(this.gridOptionsWrapper.isExternalFilterPresent()&&!this.gridOptionsWrapper.doesExternalFilterPass(t.rowNode))&&!(this.isColumnFilterPresent()&&!this.doColumnFiltersPass(t.rowNode,t.filterInstanceToSkip)))},e.prototype.getQuickFilterTextForColumn=function(t,e){var o=this.valueService.getValue(t,e,!0),n=t.getColDef();if(n.getQuickFilterText){var r={value:o,node:e,data:e.data,column:t,colDef:n,api:this.gridOptionsWrapper.getApi(),columnApi:this.gridOptionsWrapper.getColumnApi(),context:this.gridOptionsWrapper.getContext()};o=n.getQuickFilterText(r)}return(0,p.exists)(o)?o.toString().toUpperCase():null},e.prototype.aggregateRowForQuickFilter=function(t){var e=this,n=[];this.columnModel.getAllColumnsForQuickFilter().forEach((function(o){var r=e.getQuickFilterTextForColumn(o,t);(0,p.exists)(r)&&n.push(r)})),t.quickFilterAggregateText=n.join(o.QUICK_FILTER_SEPARATOR)},e.prototype.onNewRowsLoaded=function(t){this.allColumnFilters.forEach((function(t){t.filterPromise.then((function(t){t.onNewRowsLoaded&&t.onNewRowsLoaded()}))})),this.updateFilterFlagInColumns(t),this.updateActiveFilters()},e.prototype.createValueGetter=function(t){var e=this;return function(o){var n=o.node;return e.valueService.getValue(t,n,!0)}},e.prototype.getFilterComponent=function(t,e,o){var n;if(void 0===o&&(o=!0),o)return(null===(n=this.getOrCreateFilterWrapper(t,e))||void 0===n?void 0:n.filterPromise)||null;var r=this.cachedFilter(t);return r?r.filterPromise:null},e.prototype.isFilterActive=function(t){var e=this.cachedFilter(t);return!!e&&e.filterPromise.resolveNow(!1,(function(t){return t.isFilterActive()}))},e.prototype.getOrCreateFilterWrapper=function(t,e){if(!t.isFilterAllowed())return null;var o=this.cachedFilter(t);return o?"NO_UI"!==e&&this.putIntoGui(o,e):(o=this.createFilterWrapper(t,e),this.allColumnFilters.set(t.getColId(),o)),o},e.prototype.cachedFilter=function(t){return this.allColumnFilters.get(t.getColId())},e.prototype.createFilterInstance=function(t){var e,o=this,n=s.s.isRegistered(a.z.SetFilterModule)?"agSetColumnFilter":"agTextColumnFilter",r=t.getColDef(),l=h(h({},this.createFilterParams(t,r)),{filterModifiedCallback:function(){var n={type:i.s.EVENT_FILTER_MODIFIED,api:o.gridApi,columnApi:o.columnApi,column:t,filterInstance:e};o.eventService.dispatchEvent(n)},filterChangedCallback:function(n){var r={filterInstance:e,additionalEventAttributes:n,columns:[t]};o.callOnFilterChangedOutsideRenderCycle(r)},doesRowPassOtherFilter:function(t){return o.doesRowPassOtherFilters(e,t)}}),u=this.userComponentFactory.getFilterDetails(r,l,n);if(!u)return null;var p=u.newAgStackInstance();return p&&p.then((function(t){return e=t})),p},e.prototype.createFilterParams=function(t,e){return{api:this.gridOptionsWrapper.getApi(),columnApi:this.gridOptionsWrapper.getColumnApi(),column:t,colDef:(0,c.cloneObject)(e),rowModel:this.rowModel,filterChangedCallback:function(){},filterModifiedCallback:function(){},valueGetter:this.createValueGetter(t),context:this.gridOptionsWrapper.getContext(),doesRowPassOtherFilter:function(){return!0}}},e.prototype.createFilterWrapper=function(t,e){var o={column:t,filterPromise:null,compiledElement:null,guiPromise:n.oY.resolve(null)};return o.filterPromise=this.createFilterInstance(t),o.filterPromise&&this.putIntoGui(o,e),o},e.prototype.putIntoGui=function(t,e){var o=this,r=document.createElement("div");r.className="ag-filter",t.guiPromise=new n.oY((function(n){t.filterPromise.then((function(a){var s=a.getGui();(0,p.exists)(s)||console.warn("AG Grid: getGui method from filter returned "+s+", it should be a DOM element or an HTML template string."),"string"===typeof s&&(s=(0,d.loadTemplate)(s)),r.appendChild(s),n(r),o.eventService.dispatchEvent({type:i.s.EVENT_FILTER_OPENED,column:t.column,source:e,eGui:r,api:o.gridApi,columnApi:o.columnApi})}))}))},e.prototype.onColumnsChanged=function(){var t=this,e=[];this.allColumnFilters.forEach((function(o,n){(o.column.isPrimary()?t.columnModel.getPrimaryColumn(n):t.columnModel.getGridColumn(n))||(e.push(o.column),t.disposeFilterWrapper(o,"filterDestroyed"))})),e.length>0&&this.onFilterChanged({columns:e})},e.prototype.destroyFilter=function(t,e){void 0===e&&(e="api");var o=this.allColumnFilters.get(t.getColId());o&&(this.disposeFilterWrapper(o,e),this.onFilterChanged({columns:[t]}))},e.prototype.disposeFilterWrapper=function(t,e){var o=this;t.filterPromise.then((function(r){(r.setModel(null)||n.oY.resolve()).then((function(){o.getContext().destroyBean(r),t.column.setFilterActive(!1,e),o.allColumnFilters.delete(t.column.getColId())}))}))},e.prototype.destroy=function(){var e=this;t.prototype.destroy.call(this),this.allColumnFilters.forEach((function(t){return e.disposeFilterWrapper(t,"filterDestroyed")}))},e.QUICK_FILTER_SEPARATOR="\n",y([(0,r.ds)("valueService")],e.prototype,"valueService",void 0),y([(0,r.ds)("columnModel")],e.prototype,"columnModel",void 0),y([(0,r.ds)("rowModel")],e.prototype,"rowModel",void 0),y([(0,r.ds)("columnApi")],e.prototype,"columnApi",void 0),y([(0,r.ds)("gridApi")],e.prototype,"gridApi",void 0),y([(0,r.ds)("userComponentFactory")],e.prototype,"userComponentFactory",void 0),y([(0,r.ds)("rowRenderer")],e.prototype,"rowRenderer",void 0),y([r.o7],e.prototype,"init",null),y([r.y],e.prototype,"destroy",null),e=o=y([(0,r.dR)("filterManager")],e)}(l.X)},27508:function(t,e,o){o.d(e,{a:function(){return n}});var n=function(){function t(){}return t.getFloatingFilterType=function(t){return this.filterToFloatingFilterMapping[t]},t.filterToFloatingFilterMapping={set:"agSetColumnFloatingFilter",agSetColumnFilter:"agSetColumnFloatingFilter",multi:"agMultiColumnFloatingFilter",agMultiColumnFilter:"agMultiColumnFloatingFilter",number:"agNumberColumnFloatingFilter",agNumberColumnFilter:"agNumberColumnFloatingFilter",date:"agDateColumnFloatingFilter",agDateColumnFilter:"agDateColumnFloatingFilter",text:"agTextColumnFloatingFilter",agTextColumnFilter:"agTextColumnFloatingFilter"},t}()},19063:function(t,e,o){o.d(e,{H:function(){return l}});var n=o(19158),r=o(52442),i=o(6788),a=function(){var t=function(e,o){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},t(e,o)};return function(e,o){function n(){this.constructor=e}t(e,o),e.prototype=null===o?Object.create(o):(n.prototype=o.prototype,new n)}}(),s=function(t,e,o,n){var r,i=arguments.length,a=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(t,e,o,n);else for(var s=t.length-1;s>=0;s--)(r=t[s])&&(a=(i<3?r(a):i>3?r(e,o,a):r(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},l=function(t){function e(){return t.call(this,'\n <div class="ag-floating-filter-input" role="presentation">\n <ag-input-text-field ref="eFloatingFilterText"></ag-input-text-field>\n </div>')||this}return a(e,t),e.prototype.destroy=function(){t.prototype.destroy.call(this)},e.prototype.init=function(t){this.params=t;var e=this.columnModel.getDisplayNameForColumn(t.column,"header",!0),o=this.gridOptionsWrapper.getLocaleTextFunc();this.eFloatingFilterText.setDisabled(!0).setInputAriaLabel(e+" "+o("ariaFilterInput","Filter Input"))},e.prototype.onParentModelChanged=function(t){var e=this;t?this.params.parentFilterInstance((function(o){if(o.getModelAsString){var n=o.getModelAsString(t);e.eFloatingFilterText.setValue(n)}})):this.eFloatingFilterText.setValue("")},s([(0,r.P)("eFloatingFilterText")],e.prototype,"eFloatingFilterText",void 0),s([(0,i.ds)("columnModel")],e.prototype,"columnModel",void 0),e}(n.u)},8227:function(t,e,o){o.d(e,{l:function(){return s}});var n=o(19158),r=o(1526),i=o(40930),a=function(){var t=function(e,o){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},t(e,o)};return function(e,o){function n(){this.constructor=e}t(e,o),e.prototype=null===o?Object.create(o):(n.prototype=o.prototype,new n)}}(),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return a(e,t),e.prototype.getDefaultDebounceMs=function(){return 0},e.prototype.destroy=function(){t.prototype.destroy.call(this)},e.prototype.getTextFromModel=function(t){if(!t)return null;if(null!=t.operator){var e=t,o=e||{},n=o.condition1,r=o.condition2,i=this.optionsFactory.getCustomOption(n.type),a=this.optionsFactory.getCustomOption(r.type);return[this.conditionToString(n,i),e.operator,this.conditionToString(r,a)].join(" ")}var s=t,l=this.optionsFactory.getCustomOption(s.type),u=l||{},p=u.displayKey,c=u.displayName,d=u.numberOfInputs;return p&&c&&0===d?(this.gridOptionsWrapper.getLocaleTextFunc()(p,c),c):this.conditionToString(s,l)},e.prototype.isEventFromFloatingFilter=function(t){return t&&t.afterFloatingFilter},e.prototype.getLastType=function(){return this.lastType},e.prototype.isReadOnly=function(){return this.readOnly},e.prototype.setLastTypeFromModel=function(t){if(t){var e;if(t.operator)e=t.condition1;else e=t;this.lastType=e.type}else this.lastType=this.optionsFactory.getDefaultOption()},e.prototype.canWeEditAfterModelFromParentFilter=function(t){if(!t)return this.isTypeEditable(this.lastType);if(t.operator)return!1;var e=t;return this.isTypeEditable(e.type)},e.prototype.init=function(t){this.optionsFactory=new i.l,this.optionsFactory.init(t.filterParams,this.getDefaultFilterOptions()),this.lastType=this.optionsFactory.getDefaultOption(),this.readOnly=!!t.filterParams.readOnly;var e=this.isTypeEditable(this.lastType);this.setEditable(e)},e.prototype.doesFilterHaveSingleInput=function(t){var e=(this.optionsFactory.getCustomOption(t)||{}).numberOfInputs;return null==e||1==e},e.prototype.isTypeEditable=function(t){var e=[r.P.IN_RANGE,r.P.EMPTY,r.P.BLANK,r.P.NOT_BLANK];return!!t&&!this.isReadOnly()&&this.doesFilterHaveSingleInput(t)&&e.indexOf(t)<0},e}(n.u)},68723:function(t,e,o){o.d(e,{O:function(){return f}});var n=o(52442),r=o(19837),i=o(19124),a=o(6788),s=o(8227),l=o(1526),u=o(40691),p=o(15461),c=function(){var t=function(e,o){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},t(e,o)};return function(e,o){function n(){this.constructor=e}t(e,o),e.prototype=null===o?Object.create(o):(n.prototype=o.prototype,new n)}}(),d=function(t,e,o,n){var r,i=arguments.length,a=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(t,e,o,n);else for(var s=t.length-1;s>=0;s--)(r=t[s])&&(a=(i<3?r(a):i>3?r(e,o,a):r(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},f=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return c(e,t),e.prototype.postConstruct=function(){this.resetTemplate()},e.prototype.resetTemplate=function(t){this.setTemplate('\n <div class="ag-floating-filter-input" role="presentation">\n <ag-input-text-field ref="eFloatingFilterInput"></ag-input-text-field>\n </div>\n ',t)},e.prototype.getDefaultDebounceMs=function(){return 500},e.prototype.onParentModelChanged=function(t,e){this.isEventFromFloatingFilter(e)||(this.setLastTypeFromModel(t),this.eFloatingFilterInput.setValue(this.getTextFromModel(t)),this.setEditable(this.canWeEditAfterModelFromParentFilter(t)))},e.prototype.init=function(e){t.prototype.init.call(this,e),this.params=e,this.applyActive=i.Q.isUseApplyButton(this.params.filterParams);var o=this.params.filterParams.allowedCharPattern;if(null!=o&&this.resetTemplate({eFloatingFilterInput:{allowedCharPattern:o}}),!this.isReadOnly()){var n=i.Q.getDebounceMs(this.params.filterParams,this.getDefaultDebounceMs()),a=(0,r.debounce)(this.syncUpWithParentFilter.bind(this),n),s=this.eFloatingFilterInput.getGui();this.addManagedListener(s,"input",a),this.addManagedListener(s,"keypress",a),this.addManagedListener(s,"keydown",a)}var l=e.column.getDefinition();(this.isReadOnly()||l.filterParams&&l.filterParams.filterOptions&&1===l.filterParams.filterOptions.length&&"inRange"===l.filterParams.filterOptions[0])&&this.eFloatingFilterInput.setDisabled(!0);var u=this.columnModel.getDisplayNameForColumn(e.column,"header",!0),p=this.gridOptionsWrapper.getLocaleTextFunc();this.eFloatingFilterInput.setInputAriaLabel(u+" "+p("ariaFilterInput","Filter Input"))},e.prototype.syncUpWithParentFilter=function(t){var e=this,o=t.key===u.D.ENTER;if(!this.applyActive||o){var n=this.eFloatingFilterInput.getValue();this.params.filterParams.trimInput&&(n=p.U.trimInput(n),this.eFloatingFilterInput.setValue(n,!0)),this.params.parentFilterInstance((function(t){t&&t.onFloatingFilterChanged(e.getLastType()||null,n||null)}))}},e.prototype.conditionToString=function(t,e){var o=(e||{}).numberOfInputs;return t.type==l.P.IN_RANGE||2===o?t.filter+"-"+t.filterTo:null!=t.filter?""+t.filter:""+t.type},e.prototype.setEditable=function(t){this.eFloatingFilterInput.setDisabled(!t)},d([(0,a.ds)("columnModel")],e.prototype,"columnModel",void 0),d([(0,n.P)("eFloatingFilterInput")],e.prototype,"eFloatingFilterInput",void 0),d([a.o7],e.prototype,"postConstruct",null),e}(s.l)},51551:function(t,e,o){o.d(e,{h:function(){return r}});var n=o(79045),r=function(){function t(t,e,o,n){var r=this;this.alive=!0,this.context=t,this.eParent=n,e.getDateCompDetails(o).newAgStackInstance().then((function(e){r.alive?(r.dateComp=e,e&&(n.appendChild(e.getGui()),e.afterGuiAttached&&e.afterGuiAttached(),r.tempValue&&e.setDate(r.tempValue),null!=r.disabled&&r.setDateCompDisabled(r.disabled))):t.destroyBean(e)}))}return t.prototype.destroy=function(){this.alive=!1,this.dateComp=this.context.destroyBean(this.dateComp)},t.prototype.getDate=function(){return this.dateComp?this.dateComp.getDate():this.tempValue},t.prototype.setDate=function(t){this.dateComp?this.dateComp.setDate(t):this.tempValue=t},t.prototype.setDisabled=function(t){this.dateComp?this.setDateCompDisabled(t):this.disabled=t},t.prototype.setDisplayed=function(t){(0,n.setDisplayed)(this.eParent,t)},t.prototype.setInputPlaceholder=function(t){this.dateComp&&this.dateComp.setInputPlaceholder&&this.dateComp.setInputPlaceholder(t)},t.prototype.setInputAriaLabel=function(t){this.dateComp&&this.dateComp.setInputAriaLabel&&this.dateComp.setInputAriaLabel(t)},t.prototype.afterGuiAttached=function(t){this.dateComp&&"function"===typeof this.dateComp.afterGuiAttached&&this.dateComp.afterGuiAttached(t)},t.prototype.setDateCompDisabled=function(t){null!=this.dateComp&&null!=this.dateComp.setDisabled&&this.dateComp.setDisabled(t)},t}()},40259:function(t,e,o){o.d(e,{Z:function(){return f}});var n=o(52442),r=o(6788),i=o(51551),a=o(1526),s=o(55760),l=o(68365),u=function(){var t=function(e,o){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},t(e,o)};return function(e,o){function n(){this.constructor=e}t(e,o),e.prototype=null===o?Object.create(o):(n.prototype=o.prototype,new n)}}(),p=function(){return p=Object.assign||function(t){for(var e,o=1,n=arguments.length;o<n;o++)for(var r in e=arguments[o])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},p.apply(this,arguments)},c=function(t,e,o,n){var r,i=arguments.length,a=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(t,e,o,n);else for(var s=t.length-1;s>=0;s--)(r=t[s])&&(a=(i<3?r(a):i>3?r(e,o,a):r(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},d=1/0,f=function(t){function e(){var e=t.call(this,"dateFilter")||this;return e.minValidYear=1e3,e.maxValidYear=d,e}return u(e,t),e.prototype.afterGuiAttached=function(e){t.prototype.afterGuiAttached.call(this,e),this.dateCondition1FromComp.afterGuiAttached(e)},e.prototype.mapValuesFromModel=function(t){var e=t||{},o=e.dateFrom,n=e.dateTo,r=e.type;return[o&&(0,l.parseDateTimeFromString)(o)||null,n&&(0,l.parseDateTimeFromString)(n)||null].slice(0,this.getNumberOfInputs(r))},e.prototype.comparator=function(){return this.dateFilterParams.comparator?this.dateFilterParams.comparator:this.defaultComparator.bind(this)},e.prototype.defaultComparator=function(t,e){return null==e||e<t?-1:e>t?1:0},e.prototype.setParams=function(e){t.prototype.setParams.call(this,e),this.dateFilterParams=e;var o=function(t,o){if(null!=e[t]){if(!isNaN(e[t]))return null==e[t]?o:Number(e[t]);console.warn("AG Grid: DateFilter "+t+" is not a number")}return o};this.minValidYear=o("minValidYear",1e3),this.maxValidYear=o("maxValidYear",d),this.minValidYear>this.maxValidYear&&console.warn("AG Grid: DateFilter minValidYear should be <= maxValidYear"),this.createDateComponents()},e.prototype.createDateComponents=function(){var t=this,e=function(e){return new i.h(t.getContext(),t.userComponentFactory,{onDateChanged:function(){return t.onUiChanged()},filterParams:t.dateFilterParams},e)};this.dateCondition1FromComp=e(this.eCondition1PanelFrom),this.dateCondition1ToComp=e(this.eCondition1PanelTo),this.dateCondition2FromComp=e(this.eCondition2PanelFrom),this.dateCondition2ToComp=e(this.eCondition2PanelTo),this.addDestroyFunc((function(){t.forEachInput((function(t){return t.destroy()}))}))},e.prototype.setElementValue=function(t,e,o){t.setDate(e)},e.prototype.setElementDisplayed=function(t,e){t.setDisplayed(e)},e.prototype.setElementDisabled=function(t,e){t.setDisabled(e)},e.prototype.getDefaultFilterOptions=function(){return e.DEFAULT_FILTER_OPTIONS},e.prototype.createValueTemplate=function(t){var e=t===a.r.One?"1":"2";return'\n <div class="ag-filter-body" ref="eCondition'+e+'Body">\n <div class="ag-filter-from ag-filter-date-from" ref="eCondition'+e+'PanelFrom"></div>\n <div class="ag-filter-to ag-filter-date-to" ref="eCondition'+e+'PanelTo"></div>\n </div>'},e.prototype.isConditionUiComplete=function(e){var o=this;if(!t.prototype.isConditionUiComplete.call(this,e))return!1;var n=!0;return this.forEachInput((function(t,r,i,a){var s;i!==e||!n||r>=a||(n=n&&(null!=(s=t.getDate())&&s.getUTCFullYear()>=o.minValidYear&&s.getUTCFullYear()<=o.maxValidYear))})),n},e.prototype.areSimpleModelsEqual=function(t,e){return t.dateFrom===e.dateFrom&&t.dateTo===e.dateTo&&t.type===e.type},e.prototype.getFilterType=function(){return"date"},e.prototype.createCondition=function(t){var e=this.getConditionTypes()[t],o={},n=this.getValues(t);return n.length>0&&(o.dateFrom=(0,l.serialiseDate)(n[0])),n.length>1&&(o.dateTo=(0,l.serialiseDate)(n[1])),p({dateFrom:null,dateTo:null,filterType:this.getFilterType(),type:e},o)},e.prototype.resetPlaceholder=function(){var t=this.gridOptionsWrapper.getLocaleTextFunc(),e=this.translate("dateFormatOoo"),o=t("ariaFilterValue","Filter Value");this.forEachInput((function(t){t.setInputPlaceholder(e),t.setInputAriaLabel(o)}))},e.prototype.getInputs=function(){return[[this.dateCondition1FromComp,this.dateCondition1ToComp],[this.dateCondition2FromComp,this.dateCondition2ToComp]]},e.prototype.getValues=function(t){var e=[];return this.forEachInput((function(o,n,r,i){t===r&&n<i&&e.push(o.getDate())})),e},e.DEFAULT_FILTER_OPTIONS=[s.T.EQUALS,s.T.GREATER_THAN,s.T.LESS_THAN,s.T.NOT_EQUAL,s.T.IN_RANGE,s.T.BLANK,s.T.NOT_BLANK],c([(0,n.P)("eCondition1PanelFrom")],e.prototype,"eCondition1PanelFrom",void 0),c([(0,n.P)("eCondition1PanelTo")],e.prototype,"eCondition1PanelTo",void 0),c([(0,n.P)("eCondition2PanelFrom")],e.prototype,"eCondition2PanelFrom",void 0),c([(0,n.P)("eCondition2PanelTo")],e.prototype,"eCondition2PanelTo",void 0),c([(0,r.ds)("userComponentFactory")],e.prototype,"userComponentFactory",void 0),e}(s.T)},89965:function(t,e,o){o.d(e,{d:function(){return y}});var n=o(40259),r=o(6788),i=o(51551),a=o(52442),s=o(1526),l=o(8227),u=o(19124),p=o(79045),c=o(68365),d=o(19837),f=function(){var t=function(e,o){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},t(e,o)};return function(e,o){function n(){this.constructor=e}t(e,o),e.prototype=null===o?Object.create(o):(n.prototype=o.prototype,new n)}}(),h=function(t,e,o,n){var r,i=arguments.length,a=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(t,e,o,n);else for(var s=t.length-1;s>=0;s--)(r=t[s])&&(a=(i<3?r(a):i>3?r(e,o,a):r(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},y=function(t){function e(){return t.call(this,'\n <div class="ag-floating-filter-input" role="presentation">\n <ag-input-text-field ref="eReadOnlyText"></ag-input-text-field>\n <div ref="eDateWrapper" style="display: flex;"></div>\n </div>')||this}return f(e,t),e.prototype.getDefaultFilterOptions=function(){return n.Z.DEFAULT_FILTER_OPTIONS},e.prototype.conditionToString=function(t,e){var o=t.type,n=(e||{}).numberOfInputs,r=o==s.P.IN_RANGE||2===n,i=(0,c.parseDateTimeFromString)(t.dateFrom),a=(0,c.parseDateTimeFromString)(t.dateTo);return r?(0,c.serialiseDate)(i,!1)+"-"+(0,c.serialiseDate)(a,!1):null!=i?""+(0,c.serialiseDate)(i,!1):""+o},e.prototype.init=function(e){t.prototype.init.call(this,e),this.params=e,this.createDateComponent();var o=this.gridOptionsWrapper.getLocaleTextFunc();this.eReadOnlyText.setDisabled(!0).setInputAriaLabel(o("ariaDateFilterInput","Date Filter Input"))},e.prototype.setEditable=function(t){(0,p.setDisplayed)(this.eDateWrapper,t),(0,p.setDisplayed)(this.eReadOnlyText.getGui(),!t)},e.prototype.onParentModelChanged=function(e,o){if(!this.isEventFromFloatingFilter(o)){t.prototype.setLastTypeFromModel.call(this,e);var n=!this.isReadOnly()&&this.canWeEditAfterModelFromParentFilter(e);if(this.setEditable(n),n){if(e){var r=e;this.dateComp.setDate((0,c.parseDateTimeFromString)(r.dateFrom))}else this.dateComp.setDate(null);this.eReadOnlyText.setValue("")}else this.eReadOnlyText.setValue(this.getTextFromModel(e)),this.dateComp.setDate(null)}},e.prototype.onDateChanged=function(){var t=this,e=this.dateComp.getDate(),o=(0,c.serialiseDate)(e);this.params.parentFilterInstance((function(e){if(e){var n=(0,c.parseDateTimeFromString)(o);e.onFloatingFilterChanged(t.getLastType()||null,n)}}))},e.prototype.createDateComponent=function(){var t=this,e=u.Q.getDebounceMs(this.params.filterParams,this.getDefaultDebounceMs()),o={onDateChanged:(0,d.debounce)(this.onDateChanged.bind(this),e),filterParams:this.params.column.getColDef().filterParams};this.dateComp=new i.h(this.getContext(),this.userComponentFactory,o,this.eDateWrapper),this.addDestroyFunc((function(){return t.dateComp.destroy()}))},h([(0,r.ds)("userComponentFactory")],e.prototype,"userComponentFactory",void 0),h([(0,a.P)("eReadOnlyText")],e.prototype,"eReadOnlyText",void 0),h([(0,a.P)("eDateWrapper")],e.prototype,"eDateWrapper",void 0),e}(l.l)},97253:function(t,e,o){o.d(e,{n:function(){return u}});var n=o(19158),r=o(52442),i=o(68365),a=o(59565),s=function(){var t=function(e,o){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},t(e,o)};return function(e,o){function n(){this.constructor=e}t(e,o),e.prototype=null===o?Object.create(o):(n.prototype=o.prototype,new n)}}(),l=function(t,e,o,n){var r,i=arguments.length,a=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(t,e,o,n);else for(var s=t.length-1;s>=0;s--)(r=t[s])&&(a=(i<3?r(a):i>3?r(e,o,a):r(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},u=function(t){function e(){return t.call(this,'\n <div class="ag-filter-filter">\n <ag-input-text-field class="ag-date-filter" ref="eDateInput"></ag-input-text-field>\n </div>')||this}return s(e,t),e.prototype.destroy=function(){t.prototype.destroy.call(this)},e.prototype.init=function(t){var e=this,o=this.gridOptionsWrapper.getDocument(),n=this.eDateInput.getInputElement();this.shouldUseBrowserDatePicker(t)&&(n.type="date"),this.addManagedListener(n,"mousedown",(function(){e.eDateInput.isDisabled()||n.focus()})),this.addManagedListener(n,"input",(function(n){n.target===o.activeElement&&(e.eDateInput.isDisabled()||t.onDateChanged())}));var r=t.filterParams||{},i=r.minValidYear,a=r.maxValidYear;i&&(n.min=i+"-01-01"),a&&(n.max=a+"-12-31")},e.prototype.getDate=function(){return(0,i.parseDateTimeFromString)(this.eDateInput.getValue())},e.prototype.setDate=function(t){this.eDateInput.setValue((0,i.serialiseDate)(t,!1))},e.prototype.setInputPlaceholder=function(t){this.eDateInput.setInputPlaceholder(t)},e.prototype.setDisabled=function(t){this.eDateInput.setDisabled(t)},e.prototype.afterGuiAttached=function(t){t&&t.suppressFocus||this.eDateInput.getInputElement().focus()},e.prototype.shouldUseBrowserDatePicker=function(t){return t.filterParams&&null!=t.filterParams.browserDatePicker?t.filterParams.browserDatePicker:(0,a.isBrowserChrome)()||(0,a.isBrowserFirefox)()},l([(0,r.P)("eDateInput")],e.prototype,"eDateInput",void 0),e}(n.u)},42273:function(t,e,o){o.d(e,{y:function(){return p}});var n=o(52442),r=o(1526),i=o(55760),a=o(25644),s=o(59565),l=function(){var t=function(e,o){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},t(e,o)};return function(e,o){function n(){this.constructor=e}t(e,o),e.prototype=null===o?Object.create(o):(n.prototype=o.prototype,new n)}}(),u=function(t,e,o,n){var r,i=arguments.length,a=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(t,e,o,n);else for(var s=t.length-1;s>=0;s--)(r=t[s])&&(a=(i<3?r(a):i>3?r(e,o,a):r(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},p=function(t){function e(){return t.call(this,"numberFilter")||this}return l(e,t),e.prototype.mapValuesFromModel=function(t){var e=t||{},o=e.filter,n=e.filterTo,r=e.type;return[null==o?null:o,null==n?null:n].slice(0,this.getNumberOfInputs(r))},e.prototype.getDefaultDebounceMs=function(){return 500},e.prototype.comparator=function(){return function(t,e){return t===e?0:t<e?1:-1}},e.prototype.setParams=function(e){this.numberFilterParams=e;var o=this.getAllowedCharPattern();if(o){var n={allowedCharPattern:o};this.resetTemplate({"eValue-index0-1":n,"eValue-index1-1":n,"eValue-index0-2":n,"eValue-index1-2":n})}t.prototype.setParams.call(this,e)},e.prototype.getDefaultFilterOptions=function(){return e.DEFAULT_FILTER_OPTIONS},e.prototype.createValueTemplate=function(t){var e=t===r.r.One?"1":"2",o=this.getAllowedCharPattern()?"ag-input-text-field":"ag-input-number-field";return'\n <div class="ag-filter-body" ref="eCondition'+e+'Body" role="presentation">\n <'+o+' class="ag-filter-from ag-filter-filter" ref="eValue-index0-'+e+'"></'+o+">\n <"+o+' class="ag-filter-to ag-filter-filter" ref="eValue-index1-'+e+'"></'+o+">\n </div>"},e.prototype.getValues=function(t){var e=this,o=[];return this.forEachInput((function(n,r,i,a){t===i&&r<a&&o.push(e.stringToFloat(n.getValue()))})),o},e.prototype.areSimpleModelsEqual=function(t,e){return t.filter===e.filter&&t.filterTo===e.filterTo&&t.type===e.type},e.prototype.getFilterType=function(){return"number"},e.prototype.stringToFloat=function(t){if("number"===typeof t)return t;var e=(0,a.makeNull)(t);return null!=e&&""===e.trim()&&(e=null),this.numberFilterParams.numberParser?this.numberFilterParams.numberParser(e):null==e||"-"===e.trim()?null:parseFloat(e)},e.prototype.createCondition=function(t){var e=this.getConditionTypes()[t],o={filterType:this.getFilterType(),type:e},n=this.getValues(t);return n.length>0&&(o.filter=n[0]),n.length>1&&(o.filterTo=n[1]),o},e.prototype.getInputs=function(){return[[this.eValueFrom1,this.eValueTo1],[this.eValueFrom2,this.eValueTo2]]},e.prototype.getAllowedCharPattern=function(){var t=(this.numberFilterParams||{}).allowedCharPattern;return t||((0,s.isBrowserChrome)()||(0,s.isBrowserEdge)()?null:"\\d\\-\\.")},e.DEFAULT_FILTER_OPTIONS=[i.T.EQUALS,i.T.NOT_EQUAL,i.T.LESS_THAN,i.T.LESS_THAN_OR_EQUAL,i.T.GREATER_THAN,i.T.GREATER_THAN_OR_EQUAL,i.T.IN_RANGE,i.T.BLANK,i.T.NOT_BLANK],u([(0,n.P)("eValue-index0-1")],e.prototype,"eValueFrom1",void 0),u([(0,n.P)("eValue-index1-1")],e.prototype,"eValueTo1",void 0),u([(0,n.P)("eValue-index0-2")],e.prototype,"eValueFrom2",void 0),u([(0,n.P)("eValue-index1-2")],e.prototype,"eValueTo2",void 0),e}(i.T)},475:function(t,e,o){o.d(e,{K:function(){return a}});var n=o(42273),r=o(68723),i=function(){var t=function(e,o){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},t(e,o)};return function(e,o){function n(){this.constructor=e}t(e,o),e.prototype=null===o?Object.create(o):(n.prototype=o.prototype,new n)}}(),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.getDefaultFilterOptions=function(){return n.y.DEFAULT_FILTER_OPTIONS},e}(r.O)},40930:function(t,e,o){o.d(e,{l:function(){return r}});var n=function(){return n=Object.assign||function(t){for(var e,o=1,n=arguments.length;o<n;o++)for(var r in e=arguments[o])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},n.apply(this,arguments)},r=function(){function t(){this.customFilterOptions={}}return t.prototype.init=function(t,e){this.filterOptions=t.filterOptions||e,this.mapCustomOptions(),this.selectDefaultItem(t),this.checkForDeprecatedParams()},t.prototype.checkForDeprecatedParams=function(){this.filterOptions.some((function(t){return"string"!=typeof t&&null!=t.test}))&&console.warn("AG Grid: [IFilterOptionDef] since v26.2.0, test() has been replaced with predicate()."),this.filterOptions.some((function(t){return"string"!=typeof t&&null!=t.hideFilterInput}))&&console.warn("AG Grid: [IFilterOptionDef] since v26.2.0, useOfHideFilterInput has been replaced with numberOfInputs.")},t.prototype.getFilterOptions=function(){return this.filterOptions},t.prototype.mapCustomOptions=function(){var t=this;this.filterOptions&&this.filterOptions.forEach((function(e){if("string"!==typeof e){if([["displayKey"],["displayName"],["predicate","test"]].every((function(t){return!!t.some((function(t){return null!=e[t]}))||(console.warn("AG Grid: ignoring FilterOptionDef as it doesn't contain one of '"+t+"'"),!1)}))){var o=e.test,r=n({},e);null!=o&&null==e.predicate&&(r.predicate=function(t,e){return o(t[0],e)},delete r.test),r.hideFilterInput&&null==r.numberOfInputs&&(r.numberOfInputs=0,delete r.hideFilterInput),t.customFilterOptions[e.displayKey]=r}else t.filterOptions=t.filterOptions.filter((function(t){return t===e}))||[]}}))},t.prototype.selectDefaultItem=function(t){if(t.defaultOption)this.defaultOption=t.defaultOption;else if(this.filterOptions.length>=1){var e=this.filterOptions[0];"string"===typeof e?this.defaultOption=e:e.displayKey?this.defaultOption=e.displayKey:console.warn("AG Grid: invalid FilterOptionDef supplied as it doesn't contain a 'displayKey'")}else console.warn("AG Grid: no filter options for filter")},t.prototype.getDefaultOption=function(){return this.defaultOption},t.prototype.getCustomOption=function(t){return this.customFilterOptions[t]},t}()},19124:function(t,e,o){o.d(e,{Q:function(){return d}});var n=o(6788),r=o(79045),i=o(19837),a={applyFilter:"Apply",clearFilter:"Clear",resetFilter:"Reset",cancelFilter:"Cancel",textFilter:"Text Filter",numberFilter:"Number Filter",dateFilter:"Date Filter",setFilter:"Set Filter",filterOoo:"Filter...",empty:"Choose One",equals:"Equals",notEqual:"Not equal",lessThan:"Less than",greaterThan:"Greater than",inRange:"In range",inRangeStart:"From",inRangeEnd:"To",lessThanOrEqual:"Less than or equals",greaterThanOrEqual:"Greater than or equals",contains:"Contains",notContains:"Not contains",startsWith:"Starts with",endsWith:"Ends with",blank:"Blank",notBlank:"Not blank",andCondition:"AND",orCondition:"OR",dateFormatOoo:"yyyy-mm-dd"},s=o(12817),l=o(68625),u=o(19158),p=function(){var t=function(e,o){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},t(e,o)};return function(e,o){function n(){this.constructor=e}t(e,o),e.prototype=null===o?Object.create(o):(n.prototype=o.prototype,new n)}}(),c=function(t,e,o,n){var r,i=arguments.length,a=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(t,e,o,n);else for(var s=t.length-1;s>=0;s--)(r=t[s])&&(a=(i<3?r(a):i>3?r(e,o,a):r(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},d=function(t){function e(e){var o=t.call(this)||this;return o.filterNameKey=e,o.applyActive=!1,o.hidePopup=null,o.appliedModel=null,o}return p(e,t),e.prototype.postConstruct=function(){this.resetTemplate(),this.createManagedBean(new s.G(this.getFocusableElement(),{handleKeyDown:this.handleKeyDown.bind(this)}))},e.prototype.handleKeyDown=function(t){},e.prototype.getFilterTitle=function(){return this.translate(this.filterNameKey)},e.prototype.isFilterActive=function(){return!!this.appliedModel},e.prototype.resetTemplate=function(t){var e='\n <div class="ag-filter-wrapper">\n <div class="ag-filter-body-wrapper ag-'+this.getCssIdentifier()+'-body-wrapper">\n '+this.createBodyTemplate()+"\n </div>\n </div>";this.setTemplate(e,t)},e.prototype.isReadOnly=function(){return!!this.providedFilterParams.readOnly},e.prototype.init=function(t){var e=this;this.setParams(t),this.resetUiToDefaults(!0).then((function(){e.updateUiVisibility(),e.setupOnBtApplyDebounce()}))},e.prototype.setParams=function(t){this.providedFilterParams=t,this.applyActive=e.isUseApplyButton(t),this.createButtonPanel()},e.prototype.createButtonPanel=function(){var t=this,e=this.providedFilterParams.buttons;if(!(!e||e.length<1||this.isReadOnly())){var o=document.createElement("div");o.classList.add("ag-filter-apply-panel");(0,l.convertToSet)(e).forEach((function(e){return function(e){var n,i;switch(e){case"apply":n=t.translate("applyFilter"),i=function(e){return t.onBtApply(!1,!1,e)};break;case"clear":n=t.translate("clearFilter"),i=function(){return t.onBtClear()};break;case"reset":n=t.translate("resetFilter"),i=function(){return t.onBtReset()};break;case"cancel":n=t.translate("cancelFilter"),i=function(e){t.onBtCancel(e)};break;default:return void console.warn("AG Grid: Unknown button type specified")}var a=(0,r.loadTemplate)('<button\n type="button"\n ref="'+e+'FilterButton"\n class="ag-standard-button ag-filter-apply-panel-button"\n >'+n+"\n </button>");o.appendChild(a),t.addManagedListener(a,"click",i)}(e)})),this.getGui().appendChild(o)}},e.prototype.getDefaultDebounceMs=function(){return 0},e.prototype.setupOnBtApplyDebounce=function(){var t=e.getDebounceMs(this.providedFilterParams,this.getDefaultDebounceMs());this.onBtApplyDebounce=(0,i.debounce)(this.onBtApply.bind(this),t)},e.prototype.getModel=function(){return this.appliedModel?this.appliedModel:null},e.prototype.setModel=function(t){var e=this;return(null!=t?this.setModelIntoUi(t):this.resetUiToDefaults()).then((function(){e.updateUiVisibility(),e.applyModel()}))},e.prototype.onBtCancel=function(t){var e=this,o=this.getModel(),n=function(){e.onUiChanged(!1,"prevent"),e.providedFilterParams.closeOnApply&&e.close(t)};null!=o?this.setModelIntoUi(o).then(n):this.resetUiToDefaults().then(n)},e.prototype.onBtClear=function(){var t=this;this.resetUiToDefaults().then((function(){return t.onUiChanged()}))},e.prototype.onBtReset=function(){this.onBtClear(),this.onBtApply()},e.prototype.applyModel=function(){var t=this.getModelFromUi();if(!this.isModelValid(t))return!1;var e=this.appliedModel;return this.appliedModel=t,!this.areModelsEqual(e,t)},e.prototype.isModelValid=function(t){return!0},e.prototype.onBtApply=function(t,e,o){void 0===t&&(t=!1),void 0===e&&(e=!1),this.applyModel()&&this.providedFilterParams.filterChangedCallback({afterFloatingFilter:t,afterDataChange:e}),this.providedFilterParams.closeOnApply&&this.applyActive&&!t&&!e&&this.close(o)},e.prototype.onNewRowsLoaded=function(){},e.prototype.close=function(t){if(this.hidePopup){var e,o=t,n=o&&o.key;"Enter"!==n&&"Space"!==n||(e={keyboardEvent:o}),this.hidePopup(e),this.hidePopup=null}},e.prototype.onUiChanged=function(t,e){if(void 0===t&&(t=!1),this.updateUiVisibility(),this.providedFilterParams.filterModifiedCallback(),this.applyActive&&!this.isReadOnly){var o=this.isModelValid(this.getModelFromUi());(0,r.setDisabled)(this.getRefElement("applyFilterButton"),!o)}t&&!e||"immediately"===e?this.onBtApply(t):(this.applyActive||e)&&"debounce"!==e||this.onBtApplyDebounce()},e.prototype.afterGuiAttached=function(t){null!=t&&(this.hidePopup=t.hidePopup)},e.getDebounceMs=function(t,o){return e.isUseApplyButton(t)?(null!=t.debounceMs&&console.warn("AG Grid: debounceMs is ignored when apply button is present"),0):null!=t.debounceMs?t.debounceMs:o},e.isUseApplyButton=function(t){return!!t.buttons&&t.buttons.indexOf("apply")>=0},e.prototype.destroy=function(){this.hidePopup=null,t.prototype.destroy.call(this)},e.prototype.translate=function(t){return this.gridOptionsWrapper.getLocaleTextFunc()(t,a[t])},e.prototype.getCellValue=function(t){var e=this.providedFilterParams,o=e.api,n=e.colDef,r=e.column,i=e.columnApi,a=e.context;return this.providedFilterParams.valueGetter({api:o,colDef:n,column:r,columnApi:i,context:a,data:t.data,getValue:function(e){return t.data[e]},node:t})},c([(0,n.ds)("rowModel")],e.prototype,"rowModel",void 0),c([(0,n.ds)("valueService")],e.prototype,"valueService",void 0),c([n.o7],e.prototype,"postConstruct",null),e}(u.u)},55760:function(t,e,o){o.d(e,{T:function(){return i}});var n=o(1526),r=function(){var t=function(e,o){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},t(e,o)};return function(e,o){function n(){this.constructor=e}t(e,o),e.prototype=null===o?Object.create(o):(n.prototype=o.prototype,new n)}}(),i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.setParams=function(e){t.prototype.setParams.call(this,e),this.scalarFilterParams=e},e.prototype.evaluateNullValue=function(t){switch(t){case e.EQUALS:case e.NOT_EQUAL:if(this.scalarFilterParams.includeBlanksInEquals)return!0;break;case e.GREATER_THAN:case e.GREATER_THAN_OR_EQUAL:if(this.scalarFilterParams.includeBlanksInGreaterThan)return!0;break;case e.LESS_THAN:case e.LESS_THAN_OR_EQUAL:if(this.scalarFilterParams.includeBlanksInLessThan)return!0;break;case e.IN_RANGE:if(this.scalarFilterParams.includeBlanksInRange)return!0;break;case e.BLANK:return!0;case e.NOT_BLANK:return!1}return!1},e.prototype.evaluateNonNullValue=function(t,o,n){var r=this.comparator(),i=null!=t[0]?r(t[0],o):0;switch(n.type){case e.EQUALS:return 0===i;case e.NOT_EQUAL:return 0!==i;case e.GREATER_THAN:return i>0;case e.GREATER_THAN_OR_EQUAL:return i>=0;case e.LESS_THAN:return i<0;case e.LESS_THAN_OR_EQUAL:return i<=0;case e.IN_RANGE:var a=r(t[1],o);return this.scalarFilterParams.inRangeInclusive?i>=0&&a<=0:i>0&&a<0;case e.BLANK:return this.isBlank(o);case e.NOT_BLANK:return!this.isBlank(o);default:return console.warn('AG Grid: Unexpected type of filter "'+n.type+'", it looks like the filter was configured with incorrect Filter Options'),!0}},e}(n.P)},1526:function(t,e,o){o.d(e,{P:function(){return y},r:function(){return n}});var n,r=o(52442),i=o(40930),a=o(19124),s=o(46599),l=o(39449),u=o(24436),p=o(79045),c=o(19158),d=o(67331),f=function(){var t=function(e,o){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},t(e,o)};return function(e,o){function n(){this.constructor=e}t(e,o),e.prototype=null===o?Object.create(o):(n.prototype=o.prototype,new n)}}(),h=function(t,e,o,n){var r,i=arguments.length,a=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(t,e,o,n);else for(var s=t.length-1;s>=0;s--)(r=t[s])&&(a=(i<3?r(a):i>3?r(e,o,a):r(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a};!function(t){t[t.One=0]="One",t[t.Two=1]="Two"}(n||(n={}));var y=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return f(e,t),e.prototype.getNumberOfInputs=function(t){var o=this.optionsFactory.getCustomOption(t);if(o){var n=o.numberOfInputs;return null!=n?n:1}var r=[e.EMPTY,e.NOT_BLANK,e.BLANK];return t&&r.indexOf(t)>=0?0:t===e.IN_RANGE?2:1},e.prototype.onFloatingFilterChanged=function(t,e){this.setTypeFromFloatingFilter(t),this.setValueFromFloatingFilter(e),this.onUiChanged(!0)},e.prototype.setTypeFromFloatingFilter=function(t){this.eType1.setValue(t),this.eType2.setValue(this.optionsFactory.getDefaultOption()),(this.isDefaultOperator("AND")?this.eJoinOperatorAnd:this.eJoinOperatorOr).setValue(!0)},e.prototype.getModelFromUi=function(){return this.isConditionUiComplete(n.One)?this.isAllowTwoConditions()&&this.isConditionUiComplete(n.Two)?{filterType:this.getFilterType(),operator:this.getJoinOperator(),condition1:this.createCondition(n.One),condition2:this.createCondition(n.Two)}:this.createCondition(n.One):null},e.prototype.getConditionTypes=function(){return[this.eType1.getValue(),this.eType2.getValue()]},e.prototype.getJoinOperator=function(){return!0===this.eJoinOperatorOr.getValue()?"OR":"AND"},e.prototype.areModelsEqual=function(t,e){if(!t&&!e)return!0;if(!t&&e||t&&!e)return!1;var o,n=!t.operator,r=!e.operator;if(!n&&r||n&&!r)return!1;if(n){var i=t,a=e;o=this.areSimpleModelsEqual(i,a)}else{var s=t,l=e;o=s.operator===l.operator&&this.areSimpleModelsEqual(s.condition1,l.condition1)&&this.areSimpleModelsEqual(s.condition2,l.condition2)}return o},e.prototype.setModelIntoUi=function(t){if(t.operator){var e=t,o="OR"===e.operator;this.eJoinOperatorAnd.setValue(!o),this.eJoinOperatorOr.setValue(o),this.eType1.setValue(e.condition1.type),this.eType2.setValue(e.condition2.type),this.setConditionIntoUi(e.condition1,n.One),this.setConditionIntoUi(e.condition2,n.Two)}else{var r=t;this.eJoinOperatorAnd.setValue(this.isDefaultOperator("AND")),this.eJoinOperatorOr.setValue(this.isDefaultOperator("OR")),this.eType1.setValue(r.type),this.eType2.setValue(this.optionsFactory.getDefaultOption()),this.setConditionIntoUi(r,n.One),this.setConditionIntoUi(null,n.Two)}return s.oY.resolve()},e.prototype.doesFilterPass=function(t){var e=this,o=this.getModel();if(null==o)return!0;var n=o.operator,r=[];if(n){var i=o;r.push(i.condition1,i.condition2)}else r.push(o);return r[n&&"OR"===n?"some":"every"]((function(o){return e.individualConditionPasses(t,o)}))},e.prototype.setParams=function(e){t.prototype.setParams.call(this,e),this.optionsFactory=new i.l,this.optionsFactory.init(e,this.getDefaultFilterOptions()),this.allowTwoConditions=!e.suppressAndOrCondition,this.alwaysShowBothConditions=!!e.alwaysShowBothConditions,this.defaultJoinOperator=this.getDefaultJoinOperator(e.defaultJoinOperator),this.putOptionsIntoDropdown(),this.addChangedListeners()},e.prototype.getDefaultJoinOperator=function(t){return(0,u.includes)(["AND","OR"],t)?t:"AND"},e.prototype.putOptionsIntoDropdown=function(){var t=this,e=this.optionsFactory.getFilterOptions(),o=[this.eType1,this.eType2];e.forEach((function(e){var n="string"===typeof e?t.createBoilerplateListOption(e):t.createCustomListOption(e);o.forEach((function(t){return t.addOption(n)}))})),o.forEach((function(t){return t.setDisabled(e.length<=1)}))},e.prototype.createBoilerplateListOption=function(t){return{value:t,text:this.translate(t)}},e.prototype.createCustomListOption=function(t){var e=t.displayKey,o=this.optionsFactory.getCustomOption(t.displayKey);return{value:e,text:o?this.gridOptionsWrapper.getLocaleTextFunc()(o.displayKey,o.displayName):this.translate(e)}},e.prototype.isAllowTwoConditions=function(){return this.allowTwoConditions},e.prototype.createBodyTemplate=function(){return'\n <ag-select class="ag-filter-select" ref="eOptions1"></ag-select>\n '+this.createValueTemplate(n.One)+'\n <div class="ag-filter-condition" ref="eJoinOperatorPanel">\n <ag-radio-button ref="eJoinOperatorAnd" class="ag-filter-condition-operator ag-filter-condition-operator-and"></ag-radio-button>\n <ag-radio-button ref="eJoinOperatorOr" class="ag-filter-condition-operator ag-filter-condition-operator-or"></ag-radio-button>\n </div>\n <ag-select class="ag-filter-select" ref="eOptions2"></ag-select>\n '+this.createValueTemplate(n.Two)},e.prototype.getCssIdentifier=function(){return"simple-filter"},e.prototype.updateUiVisibility=function(){var t=this,e=[[this.eType1],[this.eType2,this.eJoinOperatorPanel,this.eJoinOperatorAnd,this.eJoinOperatorOr]],o=[this.eCondition1Body,this.eCondition2Body];e.forEach((function(e,o){var n=t.isConditionVisible(o),r=t.isConditionDisabled(o);e.forEach((function(t){t instanceof d.x||t instanceof l.J?(t.setDisabled(r),t.setDisplayed(n)):((0,p.setDisabled)(t,r),(0,p.setDisplayed)(t,n))}))})),o.forEach((function(e,o){(0,p.setDisplayed)(e,t.isConditionBodyVisible(o))})),this.forEachInput((function(e,o,n,r){t.setElementDisplayed(e,o<r),t.setElementDisabled(e,t.isConditionDisabled(n))})),this.resetPlaceholder()},e.prototype.afterGuiAttached=function(e){if(t.prototype.afterGuiAttached.call(this,e),this.resetPlaceholder(),!e||!e.suppressFocus&&!this.isReadOnly()){var o=this.getInputs()[0][0];if(!o)return;o instanceof d.x&&o.getInputElement().focus()}},e.prototype.resetPlaceholder=function(){var t=this,e=this.gridOptionsWrapper.getLocaleTextFunc();this.forEachInput((function(o,n,r,i){if(o instanceof d.x){var a=0===n&&i>1?"inRangeStart":0===n?"filterOoo":"inRangeEnd",s=0===n&&i>1?e("ariaFilterFromValue","Filter from value"):0===n?e("ariaFilterValue","Filter Value"):e("ariaFilterToValue","Filter to Value");o.setInputPlaceholder(t.translate(a)),o.setInputAriaLabel(s)}}))},e.prototype.setElementValue=function(t,e,o){t instanceof d.x&&t.setValue(null!=e?String(e):null,o)},e.prototype.setElementDisplayed=function(t,e){t instanceof c.u&&(0,p.setDisplayed)(t.getGui(),e)},e.prototype.setElementDisabled=function(t,e){t instanceof c.u&&(0,p.setDisabled)(t.getGui(),e)},e.prototype.attachElementOnChange=function(t,e){t instanceof d.x&&t.onValueChange(e)},e.prototype.forEachInput=function(t){var e=this,o=this.getInputs();this.getConditionTypes().forEach((function(n,r){for(var i=e.getNumberOfInputs(n),a=0;a<o[r].length;a++){var s=o[r][a];null!=s&&t(s,a,r,i)}}))},e.prototype.isConditionVisible=function(t){return 0===t||!!this.allowTwoConditions&&(this.isReadOnly()?this.isConditionUiComplete(t):!!this.alwaysShowBothConditions||this.isConditionUiComplete(t-1))},e.prototype.isConditionDisabled=function(t){return!!this.isReadOnly()||(!this.isConditionVisible(t)||0!==t&&!this.isConditionUiComplete(t-1))},e.prototype.isConditionBodyVisible=function(t){if(!this.isConditionVisible(t))return!1;var e=this.getConditionTypes()[t];return this.getNumberOfInputs(e)>0},e.prototype.isConditionUiComplete=function(t){return this.getConditionTypes()[t]!==e.EMPTY&&!this.getValues(t).some((function(t){return null==t}))},e.prototype.resetUiToDefaults=function(t){var e=this,o=this.gridOptionsWrapper.getLocaleTextFunc()("ariaFilteringOperator","Filtering operator"),n="ag-simple-filter-and-or-"+this.getCompId(),r=this.optionsFactory.getDefaultOption();return this.eType1.setValue(r,t).setAriaLabel(o).setDisabled(this.isReadOnly()),this.eType2.setValue(this.optionsFactory.getDefaultOption(),t).setAriaLabel(o).setDisabled(this.isReadOnly()),this.eJoinOperatorAnd.setValue(this.isDefaultOperator("AND"),t).setName(n).setLabel(this.translate("andCondition")).setDisabled(this.isReadOnly()),this.eJoinOperatorOr.setValue(this.isDefaultOperator("OR"),t).setName(n).setLabel(this.translate("orCondition")).setDisabled(this.isReadOnly()),this.forEachInput((function(o){e.setElementValue(o,null,t),e.setElementDisabled(o,e.isReadOnly())})),this.resetPlaceholder(),s.oY.resolve()},e.prototype.setConditionIntoUi=function(t,e){var o=this,n=this.mapValuesFromModel(t);this.forEachInput((function(t,r,i,a){i===e&&o.setElementValue(t,null!=n[r]?n[r]:null)}))},e.prototype.setValueFromFloatingFilter=function(t){var e=this;this.forEachInput((function(o,n,r,i){e.setElementValue(o,0===n&&0===r?t:null)}))},e.prototype.isDefaultOperator=function(t){return t===this.defaultJoinOperator},e.prototype.addChangedListeners=function(){var t=this;if(!this.isReadOnly()){var e=function(){return t.onUiChanged()};this.eType1.onValueChange(e),this.eType2.onValueChange(e),this.eJoinOperatorOr.onValueChange(e),this.eJoinOperatorAnd.onValueChange(e),this.forEachInput((function(o){t.attachElementOnChange(o,e)}))}},e.prototype.individualConditionPasses=function(t,e){var o=this.getCellValue(t.node),n=this.mapValuesFromModel(e),r=this.optionsFactory.getCustomOption(e.type),i=this.evaluateCustomFilter(r,n,o);return null!=i?i:null==o?this.evaluateNullValue(e.type):this.evaluateNonNullValue(n,o,e,t)},e.prototype.evaluateCustomFilter=function(t,e,o){if(null!=t){var n=t.predicate;return null==n||e.some((function(t){return null==t}))?void 0:n(e,o)}},e.prototype.isBlank=function(t){return null==t||"string"===typeof t&&0===t.trim().length},e.EMPTY="empty",e.BLANK="blank",e.NOT_BLANK="notBlank",e.EQUALS="equals",e.NOT_EQUAL="notEqual",e.LESS_THAN="lessThan",e.LESS_THAN_OR_EQUAL="lessThanOrEqual",e.GREATER_THAN="greaterThan",e.GREATER_THAN_OR_EQUAL="greaterThanOrEqual",e.IN_RANGE="inRange",e.CONTAINS="contains",e.NOT_CONTAINS="notContains",e.STARTS_WITH="startsWith",e.ENDS_WITH="endsWith",h([(0,r.P)("eOptions1")],e.prototype,"eType1",void 0),h([(0,r.P)("eOptions2")],e.prototype,"eType2",void 0),h([(0,r.P)("eJoinOperatorPanel")],e.prototype,"eJoinOperatorPanel",void 0),h([(0,r.P)("eJoinOperatorAnd")],e.prototype,"eJoinOperatorAnd",void 0),h([(0,r.P)("eJoinOperatorOr")],e.prototype,"eJoinOperatorOr",void 0),h([(0,r.P)("eCondition1Body")],e.prototype,"eCondition1Body",void 0),h([(0,r.P)("eCondition2Body")],e.prototype,"eCondition2Body",void 0),e}(a.Q)},15461:function(t,e,o){o.d(e,{U:function(){return p}});var n=o(52442),r=o(1526),i=o(25644),a=o(46599),s=function(){var t=function(e,o){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},t(e,o)};return function(e,o){function n(){this.constructor=e}t(e,o),e.prototype=null===o?Object.create(o):(n.prototype=o.prototype,new n)}}(),l=function(){return l=Object.assign||function(t){for(var e,o=1,n=arguments.length;o<n;o++)for(var r in e=arguments[o])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},l.apply(this,arguments)},u=function(t,e,o,n){var r,i=arguments.length,a=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(t,e,o,n);else for(var s=t.length-1;s>=0;s--)(r=t[s])&&(a=(i<3?r(a):i>3?r(e,o,a):r(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},p=function(t){function e(){return t.call(this,"textFilter")||this}return s(e,t),e.trimInput=function(t){var e=t&&t.trim();return""===e?t:e},e.prototype.getDefaultDebounceMs=function(){return 500},e.prototype.setParams=function(o){t.prototype.setParams.call(this,o),this.textFilterParams=o,this.matcher=this.getTextMatcher(),this.formatter=this.textFilterParams.textFormatter||(this.textFilterParams.caseSensitive?e.DEFAULT_FORMATTER:e.DEFAULT_LOWERCASE_FORMATTER)},e.prototype.getTextMatcher=function(){var t=this.textFilterParams.textCustomComparator;return t?(a._.doOnce((function(){return console.warn("AG Grid - textCustomComparator is deprecated, use textMatcher instead.")}),"textCustomComparator.deprecated"),function(e){var o=e.filterOption,n=e.value,r=e.filterText;return t(o,n,r)}):this.textFilterParams.textMatcher||e.DEFAULT_MATCHER},e.prototype.createCondition=function(t){var e=this.getConditionTypes()[t],o={filterType:this.getFilterType(),type:e},n=this.getValues(t);return n.length>0&&(o.filter=n[0]),n.length>1&&(o.filterTo=n[1]),o},e.prototype.getFilterType=function(){return"text"},e.prototype.areSimpleModelsEqual=function(t,e){return t.filter===e.filter&&t.filterTo===e.filterTo&&t.type===e.type},e.prototype.getInputs=function(){return[[this.eValueFrom1,this.eValueTo1],[this.eValueFrom2,this.eValueTo2]]},e.prototype.getValues=function(t){var o=this,n=[];return this.forEachInput((function(r,a,s,l){if(t===s&&a<l){var u=(0,i.makeNull)(r.getValue()),p=(o.textFilterParams.trimInput?e.trimInput(u):u)||null;n.push(p),r.setValue(p,!0)}})),n},e.prototype.getDefaultFilterOptions=function(){return e.DEFAULT_FILTER_OPTIONS},e.prototype.createValueTemplate=function(t){var e=t===r.r.One?"1":"2";return'\n <div class="ag-filter-body" ref="eCondition'+e+'Body" role="presentation">\n <ag-input-text-field class=".ag-filter-from ag-filter-filter" ref="eValue-index0-'+e+'"></ag-input-text-field>\n <ag-input-text-field class="ag-filter-to ag-filter-filter" ref="eValue-index1-'+e+'"></ag-input-text-field>\n </div>'},e.prototype.mapValuesFromModel=function(t){var e=t||{},o=e.filter,n=e.filterTo,r=e.type;return[o||null,n||null].slice(0,this.getNumberOfInputs(r))},e.prototype.evaluateNullValue=function(t){var e=[r.P.NOT_EQUAL,r.P.NOT_CONTAINS,r.P.BLANK];return!!t&&e.indexOf(t)>=0},e.prototype.evaluateNonNullValue=function(t,e,o,n){var i=this,a=t.map((function(t){return i.formatter(t)}))||[],s=this.formatter(e),u=this.textFilterParams,p=u.api,c=u.colDef,d=u.column,f=u.columnApi,h=u.context,y=u.textFormatter;if(o.type===r.P.BLANK)return this.isBlank(e);if(o.type===r.P.NOT_BLANK)return!this.isBlank(e);var g={api:p,colDef:c,column:d,columnApi:f,context:h,node:n.node,data:n.data,filterOption:o.type,value:s,textFormatter:y};return a.some((function(t){return i.matcher(l(l({},g),{filterText:t}))}))},e.DEFAULT_FILTER_OPTIONS=[r.P.CONTAINS,r.P.NOT_CONTAINS,r.P.EQUALS,r.P.NOT_EQUAL,r.P.STARTS_WITH,r.P.ENDS_WITH,r.P.BLANK,r.P.NOT_BLANK],e.DEFAULT_FORMATTER=function(t){return t},e.DEFAULT_LOWERCASE_FORMATTER=function(t){return null==t?null:t.toString().toLowerCase()},e.DEFAULT_MATCHER=function(t){var o=t.filterOption,n=t.value,r=t.filterText;if(null==r)return!1;switch(o){case e.CONTAINS:return n.indexOf(r)>=0;case e.NOT_CONTAINS:return n.indexOf(r)<0;case e.EQUALS:return n===r;case e.NOT_EQUAL:return n!=r;case e.STARTS_WITH:return 0===n.indexOf(r);case e.ENDS_WITH:var i=n.lastIndexOf(r);return i>=0&&i===n.length-r.length;default:return!1}},u([(0,n.P)("eValue-index0-1")],e.prototype,"eValueFrom1",void 0),u([(0,n.P)("eValue-index1-1")],e.prototype,"eValueTo1",void 0),u([(0,n.P)("eValue-index0-2")],e.prototype,"eValueFrom2",void 0),u([(0,n.P)("eValue-index1-2")],e.prototype,"eValueTo2",void 0),e}(r.P)},7823:function(t,e,o){o.d(e,{U:function(){return a}});var n=o(15461),r=o(68723),i=function(){var t=function(e,o){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},t(e,o)};return function(e,o){function n(){this.constructor=e}t(e,o),e.prototype=null===o?Object.create(o):(n.prototype=o.prototype,new n)}}(),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.getDefaultFilterOptions=function(){return n.U.DEFAULT_FILTER_OPTIONS},e}(r.O)},3968:function(t,e,o){o.d(e,{c:function(){return m}});var n=o(6788),r=o(72925),i=o(88114),a=o(12817),s=o(59565),l=o(25644),u=o(16892),p=o(38338),c=o(44916),d=o(24436),f=function(){var t=function(e,o){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},t(e,o)};return function(e,o){function n(){this.constructor=e}t(e,o),e.prototype=null===o?Object.create(o):(n.prototype=o.prototype,new n)}}(),h=function(t,e,o,n){var r,i=arguments.length,a=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(t,e,o,n);else for(var s=t.length-1;s>=0;s--)(r=t[s])&&(a=(i<3?r(a):i>3?r(e,o,a):r(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},y=function(t,e){var o="function"===typeof Symbol&&t[Symbol.iterator];if(!o)return t;var n,r,i=o.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(s){r={error:s}}finally{try{n&&!n.done&&(o=i.return)&&o.call(i)}finally{if(r)throw r.error}}return a},g=function(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(y(arguments[e]));return t},m=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}var o;return f(e,t),o=e,e.addKeyboardModeEvents=function(t,e){var n=o.instancesMonitored.get(t);n&&n.length>0?-1===n.indexOf(e)&&n.push(e):(o.instancesMonitored.set(t,[e]),t.addEventListener("keydown",o.toggleKeyboardMode),t.addEventListener("mousedown",o.toggleKeyboardMode))},e.removeKeyboardModeEvents=function(t,e){var n=o.instancesMonitored.get(t),r=[];n&&n.length&&(r=g(n).filter((function(t){return t!==e})),o.instancesMonitored.set(t,r)),0===r.length&&(t.removeEventListener("keydown",o.toggleKeyboardMode),t.removeEventListener("mousedown",o.toggleKeyboardMode))},e.toggleKeyboardMode=function(t){var e=o.keyboardModeActive,n="keydown"===t.type;if((!n||!(t.ctrlKey||t.metaKey||t.altKey))&&!(e&&n||!e&&!n)){o.keyboardModeActive=n;var r=t.target.ownerDocument;if(r){var a=o.instancesMonitored.get(r);a&&a.forEach((function(t){t.dispatchEvent({type:n?i.s.EVENT_KEYBOARD_FOCUS:i.s.EVENT_MOUSE_FOCUS})}))}}},e.prototype.init=function(){var t=this,e=this.clearFocusedCell.bind(this);this.addManagedListener(this.eventService,i.s.EVENT_COLUMN_PIVOT_MODE_CHANGED,e),this.addManagedListener(this.eventService,i.s.EVENT_NEW_COLUMNS_LOADED,this.onColumnEverythingChanged.bind(this)),this.addManagedListener(this.eventService,i.s.EVENT_COLUMN_GROUP_OPENED,e),this.addManagedListener(this.eventService,i.s.EVENT_COLUMN_ROW_GROUP_CHANGED,e),this.ctrlsService.whenReady((function(e){t.gridCtrl=e.gridCtrl;var n=t.gridOptionsWrapper.getDocument();o.addKeyboardModeEvents(n,t.gridCtrl),t.addDestroyFunc((function(){return t.unregisterGridCompController(t.gridCtrl)}))}))},e.prototype.unregisterGridCompController=function(t){var e=this.gridOptionsWrapper.getDocument();o.removeKeyboardModeEvents(e,t)},e.prototype.onColumnEverythingChanged=function(){if(this.focusedCellPosition){var t=this.focusedCellPosition.column,e=this.columnModel.getGridColumn(t.getId());t!==e&&this.clearFocusedCell()}},e.prototype.isKeyboardMode=function(){return o.keyboardModeActive},e.prototype.getFocusCellToUseAfterRefresh=function(){var t=this.gridOptionsWrapper.getDocument();return this.gridOptionsWrapper.isSuppressFocusAfterRefresh()||!this.focusedCellPosition||this.isDomDataMissingInHierarchy(t.activeElement,p.C.DOM_DATA_KEY_ROW_CTRL)?null:this.focusedCellPosition},e.prototype.getFocusHeaderToUseAfterRefresh=function(){var t=this.gridOptionsWrapper.getDocument();return this.gridOptionsWrapper.isSuppressFocusAfterRefresh()||!this.focusedHeaderPosition||this.isDomDataMissingInHierarchy(t.activeElement,c.$.DOM_DATA_KEY_HEADER_CTRL)?null:this.focusedHeaderPosition},e.prototype.isDomDataMissingInHierarchy=function(t,e){for(var o=t;o;){if(this.gridOptionsWrapper.getDomData(o,e))return!1;o=o.parentNode}return!0},e.prototype.clearFocusedCell=function(){this.focusedCellPosition=null,this.onCellFocused(!1)},e.prototype.getFocusedCell=function(){return this.focusedCellPosition},e.prototype.setFocusedCell=function(t,e,o,n){void 0===n&&(n=!1);var r=this.columnModel.getGridColumn(e);r?(this.focusedCellPosition=r?{rowIndex:t,rowPinned:(0,l.makeNull)(o),column:r}:null,this.onCellFocused(n)):this.focusedCellPosition=null},e.prototype.isCellFocused=function(t){return null!=this.focusedCellPosition&&(this.focusedCellPosition.column===t.column&&this.isRowFocused(t.rowIndex,t.rowPinned))},e.prototype.isRowNodeFocused=function(t){return this.isRowFocused(t.rowIndex,t.rowPinned)},e.prototype.isHeaderWrapperFocused=function(t){if(null==this.focusedHeaderPosition)return!1;var e=t.getColumnGroupChild(),o=t.getRowIndex(),n=t.getPinned(),r=this.focusedHeaderPosition,i=r.column,a=r.headerRowIndex;return e===i&&o===a&&n==i.getPinned()},e.prototype.clearFocusedHeader=function(){this.focusedHeaderPosition=null},e.prototype.getFocusedHeader=function(){return this.focusedHeaderPosition},e.prototype.setFocusedHeader=function(t,e){this.focusedHeaderPosition={headerRowIndex:t,column:e}},e.prototype.focusHeaderPosition=function(t){var e=t.direction,o=t.fromTab,n=t.allowUserOverride,r=t.event,i=t.headerPosition;if(n){var a,s=this.gridOptionsWrapper,l=this.getFocusedHeader(),u=this.headerNavigationService.getHeaderRowCount();if(o){if(a=s.getTabToNextHeaderFunc())i=a({backwards:"Before"===e,previousHeaderPosition:l,nextHeaderPosition:i,headerRowCount:u})}else if((a=s.getNavigateToNextHeaderFunc())&&r)i=a({key:r.key,previousHeaderPosition:l,nextHeaderPosition:i,headerRowCount:u,event:r})}return!!i&&(-1===i.headerRowIndex?this.focusGridView(i.column):(this.headerNavigationService.scrollToColumn(i.column,e),this.ctrlsService.getHeaderRowContainerCtrl(i.column.getPinned()).focusHeader(i.headerRowIndex,i.column,r)))},e.prototype.focusFirstHeader=function(){var t=this.columnModel.getAllDisplayedColumns()[0];return!!t&&(t.getParent()&&(t=this.columnModel.getColumnGroupAtLevel(t,0)),this.focusHeaderPosition({headerPosition:{headerRowIndex:0,column:t}}))},e.prototype.focusLastHeader=function(t){var e=this.headerNavigationService.getHeaderRowCount()-1,o=(0,d.last)(this.columnModel.getAllDisplayedColumns());return this.focusHeaderPosition({headerPosition:{headerRowIndex:e,column:o},event:t})},e.prototype.isAnyCellFocused=function(){return!!this.focusedCellPosition},e.prototype.isRowFocused=function(t,e){return null!=this.focusedCellPosition&&(this.focusedCellPosition.rowIndex===t&&this.focusedCellPosition.rowPinned===(0,l.makeNull)(e))},e.prototype.findFocusableElements=function(t,e,o){void 0===o&&(o=!1);var n=u.Y.FOCUSABLE_SELECTOR,r=u.Y.FOCUSABLE_EXCLUDE;e&&(r+=", "+e),o&&(r+=', [tabindex="-1"]');var i=Array.prototype.slice.apply(t.querySelectorAll(n)),a=Array.prototype.slice.apply(t.querySelectorAll(r));if(!a.length)return i;var s;return s=a,i.filter((function(t){return-1===s.indexOf(t)}))},e.prototype.focusInto=function(t,e,o){void 0===e&&(e=!1),void 0===o&&(o=!1);var n=this.findFocusableElements(t,null,o),r=e?(0,d.last)(n):n[0];return!!r&&(r.focus(),!0)},e.prototype.findNextFocusableElement=function(t,e,o){void 0===t&&(t=this.eGridDiv);var n=this.findFocusableElements(t,e?':not([tabindex="-1"])':null),r=this.gridOptionsWrapper.getDocument().activeElement,i=(e?n.findIndex((function(t){return t.contains(r)})):n.indexOf(r))+(o?-1:1);return i<0||i>=n.length?null:n[i]},e.prototype.isFocusUnderManagedComponent=function(t){var e=this.gridOptionsWrapper.getDocument(),o=t.querySelectorAll("."+a.G.FOCUS_MANAGED_CLASS);if(!o.length)return!1;for(var n=0;n<o.length;n++)if(o[n].contains(e.activeElement))return!0;return!1},e.prototype.findTabbableParent=function(t,e){void 0===e&&(e=5);for(var o=0;t&&null===(0,s.getTabIndex)(t)&&++o<=e;)t=t.parentElement;return null===(0,s.getTabIndex)(t)?null:t},e.prototype.onCellFocused=function(t){var e={type:i.s.EVENT_CELL_FOCUSED,forceBrowserFocus:t,rowIndex:null,column:null,floating:null,api:this.gridApi,columnApi:this.columnApi,rowPinned:null,isFullWidthCell:!1};if(this.focusedCellPosition){var o=e.rowIndex=this.focusedCellPosition.rowIndex,n=e.rowPinned=this.focusedCellPosition.rowPinned;e.column=this.focusedCellPosition.column;var r=this.rowRenderer.getRowByPosition({rowIndex:o,rowPinned:n});r&&(e.isFullWidthCell=r.isFullWidth())}this.eventService.dispatchEvent(e)},e.prototype.focusGridView=function(t,e){if(this.gridOptionsWrapper.isSuppressCellFocus())return e?this.focusLastHeader():this.focusNextGridCoreContainer(!1);var o=e?this.rowPositionUtils.getLastRow():this.rowPositionUtils.getFirstRow();if(!o)return!1;var n=o.rowIndex,r=o.rowPinned,i=this.getFocusedHeader();if(!t&&i&&(t=i.column),null==n||!t)return!1;if(this.navigationService.ensureCellVisible({rowIndex:n,column:t,rowPinned:r}),this.setFocusedCell(n,t,(0,l.makeNull)(r),!0),this.rangeService){var a={rowIndex:n,rowPinned:r,column:t};this.rangeService.setRangeToCell(a)}return!0},e.prototype.focusNextGridCoreContainer=function(t){return!!this.gridCtrl.focusNextInnerContainer(t)||(t||this.gridCtrl.isDetailGrid()||this.gridCtrl.forceFocusOutOfContainer(),!1)},e.AG_KEYBOARD_FOCUS="ag-keyboard-focus",e.keyboardModeActive=!1,e.instancesMonitored=new Map,h([(0,n.ds)("eGridDiv")],e.prototype,"eGridDiv",void 0),h([(0,n.ds)("columnModel")],e.prototype,"columnModel",void 0),h([(0,n.ds)("headerNavigationService")],e.prototype,"headerNavigationService",void 0),h([(0,n.ds)("columnApi")],e.prototype,"columnApi",void 0),h([(0,n.ds)("gridApi")],e.prototype,"gridApi",void 0),h([(0,n.ds)("rowRenderer")],e.prototype,"rowRenderer",void 0),h([(0,n.ds)("rowPositionUtils")],e.prototype,"rowPositionUtils",void 0),h([(0,n.Xx)("rangeService")],e.prototype,"rangeService",void 0),h([(0,n.ds)("navigationService")],e.prototype,"navigationService",void 0),h([(0,n.ds)("ctrlsService")],e.prototype,"ctrlsService",void 0),h([n.o7],e.prototype,"init",null),e=o=h([(0,n.dR)("focusService")],e)}(r.X)},89346:function(t,e,o){o.d(e,{Z:function(){return r}});var n=o(25644);function r(t,e,o,r,i){void 0===i&&(i=!1),console.warn("AG Grid: Since ag-grid 11.0.0 defaultGroupComparator is not necessary. You can remove this from your colDef");var a=(0,n.exists)(o)&&o.group,s=(0,n.exists)(r)&&r.group,l=!a&&!s;return a&&s?(0,n.defaultComparator)(o.key,r.key,i):l?(0,n.defaultComparator)(t,e,i):a?1:-1}}}]);
@@ -0,0 +1,6 @@
1
+ /**
2
+ * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
3
+ * @version v27.3.0
4
+ * @link https://www.ag-grid.com/
5
+ * @license MIT
6
+ */