rapidfireai 0.0.1__py3-none-any.whl → 0.9.9__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.9.dist-info/METADATA +242 -0
  314. rapidfireai-0.9.9.dist-info/RECORD +318 -0
  315. rapidfireai-0.9.9.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.9.dist-info}/WHEEL +0 -0
  319. {rapidfireai-0.0.1.dist-info → rapidfireai-0.9.9.dist-info}/licenses/LICENSE +0 -0
  320. {rapidfireai-0.0.1.dist-info → rapidfireai-0.9.9.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,2 @@
1
+ /*! For license information please see 8690.e305a804.chunk.js.LICENSE.txt */
2
+ "use strict";(self.webpackChunk_mlflow_mlflow=self.webpackChunk_mlflow_mlflow||[]).push([[8690],{86023:function(){},50670:function(){},92956:function(t,e,o){o.d(e,{Z:function(){return c}});var n=o(72925),i=o(6788),r=o(69882),s=o(16892),a=o(88114),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)}}(),u=function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return p(e,t),e.prototype.init=function(){this.rowModel.getType()===s.Y.ROW_MODEL_TYPE_CLIENT_SIDE&&(this.clientSideRowModel=this.rowModel),this.addManagedListener(this.eventService,a.s.EVENT_CELL_VALUE_CHANGED,this.onCellValueChanged.bind(this))},e.prototype.onCellValueChanged=function(t){t.source!==s.Y.SOURCE_PASTE&&this.doChangeDetection(t.node,t.column)},e.prototype.doChangeDetection=function(t,e){if(!this.gridOptionsWrapper.isSuppressChangeDetection()){if(this.clientSideRowModel&&!t.isRowPinned()){var o=this.gridOptionsWrapper.isAggregateOnlyChangedColumns(),n=new r.k(o,this.clientSideRowModel.getRootNode());n.addParentNode(t.parent,[e]),this.clientSideRowModel.doAggregate(n)}this.rowRenderer.refreshCells()}},u([(0,i.ds)("rowModel")],e.prototype,"rowModel",void 0),u([(0,i.ds)("rowRenderer")],e.prototype,"rowRenderer",void 0),u([i.o7],e.prototype,"init",null),e=u([(0,i.dR)("changeDetectionService")],e)}(n.X)},53641:function(t,e,o){o.d(e,{k:function(){return p}});var n=o(6788),i=o(72925),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)}}(),s=function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},a=function(t,e){return function(o,n){e(o,n,t)}},p=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.expressionToFunctionCache={},e}return r(e,t),e.prototype.setBeans=function(t){this.logger=t.create("ExpressionService")},e.prototype.evaluate=function(t,e){if("function"===typeof t)return t(e);if("string"===typeof t){var o=t;return this.evaluateExpression(o,e)}console.error("AG Grid: value should be either a string or a function",t)},e.prototype.evaluateExpression=function(t,e){try{return this.createExpressionFunction(t)(e.value,e.context,e.oldValue,e.newValue,e.value,e.node,e.data,e.colDef,e.rowIndex,e.api,e.columnApi,e.getValue,e.column,e.columnGroup)}catch(o){return console.log("Processing of the expression failed"),console.log("Expression = "+t),console.log("Params =",e),console.log("Exception = "+o),null}},e.prototype.createExpressionFunction=function(t){if(this.expressionToFunctionCache[t])return this.expressionToFunctionCache[t];var e=this.createFunctionBody(t),o=new Function("x, ctx, oldValue, newValue, value, node, data, colDef, rowIndex, api, columnApi, getValue, column, columnGroup",e);return this.expressionToFunctionCache[t]=o,o},e.prototype.createFunctionBody=function(t){return t.indexOf("return")>=0?t:"return "+t+";"},s([a(0,(0,n.Vf)("loggerFactory"))],e.prototype,"setBeans",null),e=s([(0,n.dR)("expressionService")],e)}(i.X)},14239:function(t,e,o){o.d(e,{Y:function(){return a}});var n=o(6788),i=o(72925),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)}}(),s=function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},a=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.cacheVersion=0,e}return r(e,t),e.prototype.init=function(){this.active=this.gridOptionsWrapper.isValueCache(),this.neverExpires=this.gridOptionsWrapper.isValueCacheNeverExpires()},e.prototype.onDataChanged=function(){this.neverExpires||this.expire()},e.prototype.expire=function(){this.cacheVersion++},e.prototype.setValue=function(t,e,o){this.active&&(t.__cacheVersion!==this.cacheVersion&&(t.__cacheVersion=this.cacheVersion,t.__cacheData={}),t.__cacheData[e]=o)},e.prototype.getValue=function(t,e){if(this.active&&t.__cacheVersion===this.cacheVersion)return t.__cacheData[e]},s([n.o7],e.prototype,"init",null),e=s([(0,n.dR)("valueCache")],e)}(i.X)},85938:function(t,e,o){o.d(e,{b:function(){return l}});var n=o(6788),i=o(88114),r=o(72925),s=o(97998),a=o(25644),p=o(19837),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)}}(),c=function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.initialised=!1,e}return u(e,t),e.prototype.init=function(){var t=this;this.cellExpressions=this.gridOptionsWrapper.isEnableCellExpressions(),this.initialised=!0,this.eventService.addEventListener(i.s.EVENT_CELL_VALUE_CHANGED,(function(e){return t.callColumnCellValueChangedHandler(e)}),this.gridOptionsWrapper.useAsyncEvents())},e.prototype.getValue=function(t,e,o,n){if(void 0===o&&(o=!1),void 0===n&&(n=!1),this.initialised||this.init(),e){var i,r=t.getColDef(),a=r.field,p=t.getId(),u=e.data,c=e.groupData&&void 0!==e.groupData[p],l=!n&&e.aggData&&void 0!==e.aggData[p];if(o&&r.filterValueGetter?i=this.executeFilterValueGetter(r.filterValueGetter,u,t,e):this.gridOptionsWrapper.isTreeData()&&l?i=e.aggData[p]:this.gridOptionsWrapper.isTreeData()&&r.valueGetter?i=this.executeValueGetter(r.valueGetter,u,t,e):this.gridOptionsWrapper.isTreeData()&&a&&u?i=(0,s.getValueUsingField)(u,a,t.isFieldContainsDots()):c?i=e.groupData[p]:l?i=e.aggData[p]:r.valueGetter?i=this.executeValueGetter(r.valueGetter,u,t,e):a&&u&&(i=(0,s.getValueUsingField)(u,a,t.isFieldContainsDots())),this.cellExpressions&&"string"===typeof i&&0===i.indexOf("=")){var h=i.substring(1);i=this.executeValueGetter(h,u,t,e)}if(null==i){var d=this.getOpenedGroup(e,t);if(null!=d)return d}return i}},e.prototype.getOpenedGroup=function(t,e){if(this.gridOptionsWrapper.isShowOpenedGroup()&&e.getColDef().showRowGroup)for(var o=e.getColDef().showRowGroup,n=t.parent;null!=n;){if(n.rowGroupColumn&&(!0===o||o===n.rowGroupColumn.getId()))return n.key;n=n.parent}},e.prototype.setValue=function(t,e,o,n){var r=this.columnModel.getPrimaryColumn(e);if(!t||!r)return!1;(0,a.missing)(t.data)&&(t.data={});var s=r.getColDef(),p=s.field,u=s.newValueHandler,c=s.valueSetter;if((0,a.missing)(p)&&(0,a.missing)(u)&&(0,a.missing)(c))return console.warn("AG Grid: you need either field or valueSetter set on colDef for editing to work"),!1;var l,h={node:t,data:t.data,oldValue:this.getValue(r,t),newValue:o,colDef:r.getColDef(),column:r,api:this.gridOptionsWrapper.getApi(),columnApi:this.gridOptionsWrapper.getColumnApi(),context:this.gridOptionsWrapper.getContext()};if(h.newValue=o,void 0===(l=u&&(0,a.exists)(u)?u(h):(0,a.exists)(c)?this.expressionService.evaluate(c,h):this.setValueUsingField(t.data,p,o,r.isFieldContainsDots()))&&(l=!0),!l)return!1;t.resetQuickFilterAggregateText(),this.valueCache.onDataChanged(),h.newValue=this.getValue(r,t);var d={type:i.s.EVENT_CELL_VALUE_CHANGED,event:null,rowIndex:t.rowIndex,rowPinned:t.rowPinned,column:h.column,api:h.api,columnApi:h.columnApi,colDef:h.colDef,context:h.context,data:t.data,node:t,oldValue:h.oldValue,newValue:h.newValue,value:h.newValue,source:n};return this.eventService.dispatchEvent(d),!0},e.prototype.callColumnCellValueChangedHandler=function(t){var e=t.colDef.onCellValueChanged;"function"===typeof e&&e({node:t.node,data:t.data,oldValue:t.oldValue,newValue:t.newValue,colDef:t.colDef,column:t.column,api:t.api,columnApi:t.columnApi,context:t.context})},e.prototype.setValueUsingField=function(t,e,o,n){if(!e)return!1;if(n)for(var i=e.split("."),r=t;i.length>0&&r;){var s=i.shift();0===i.length?r[s]=o:r=r[s]}else t[e]=o;return!0},e.prototype.executeFilterValueGetter=function(t,e,o,n){var i={data:e,node:n,column:o,colDef:o.getColDef(),api:this.gridOptionsWrapper.getApi(),columnApi:this.gridOptionsWrapper.getColumnApi(),context:this.gridOptionsWrapper.getContext(),getValue:this.getValueCallback.bind(this,n)};return this.expressionService.evaluate(t,i)},e.prototype.executeValueGetter=function(t,e,o,n){var i=o.getId(),r=this.valueCache.getValue(n,i);if(void 0!==r)return r;var s={data:e,node:n,column:o,colDef:o.getColDef(),api:this.gridOptionsWrapper.getApi(),columnApi:this.gridOptionsWrapper.getColumnApi(),context:this.gridOptionsWrapper.getContext(),getValue:this.getValueCallback.bind(this,n)},a=this.expressionService.evaluate(t,s);return this.valueCache.setValue(n,i,a),a},e.prototype.getValueCallback=function(t,e){var o=this.columnModel.getPrimaryColumn(e);return o?this.getValue(o,t):null},e.prototype.getKeyForNode=function(t,e){var o=this.getValue(t,e),n=t.getColDef().keyCreator,i=o;n&&(i=n({value:o,colDef:t.getColDef(),column:t,node:e,data:e.data,api:this.gridOptionsWrapper.getApi(),columnApi:this.gridOptionsWrapper.getColumnApi(),context:this.gridOptionsWrapper.getContext()}));return"string"===typeof i||null==i||"[object Object]"===(i=String(i))&&(0,p.doOnce)((function(){console.warn("AG Grid: a column you are grouping or pivoting by has objects as values. If you want to group by complex objects then either a) use a colDef.keyCreator (se AG Grid docs) or b) to toString() on the object to return a key")}),"getKeyForNode - warn about [object,object]"),i},c([(0,n.ds)("expressionService")],e.prototype,"expressionService",void 0),c([(0,n.ds)("columnModel")],e.prototype,"columnModel",void 0),c([(0,n.ds)("valueCache")],e.prototype,"valueCache",void 0),c([n.o7],e.prototype,"init",null),e=c([(0,n.dR)("valueService")],e)}(r.X)},47393:function(t,e,o){o.d(e,{p:function(){return a}});var n=o(24436),i=o(46599),r=["mouseover","mouseout","mouseenter","mouseleave"],s=["touchstart","touchend","touchmove","touchcancel"],a=function(){function t(){this.isOutsideAngular=function(t){return(0,n.includes)(r,t)}}return t.prototype.setTimeout=function(t,e){window.setTimeout(t,e)},t.prototype.setInterval=function(t,e){return new i.oY((function(o){o(window.setInterval(t,e))}))},t.prototype.addEventListener=function(t,e,o,i){var r=(0,n.includes)(s,e);t.addEventListener(e,o,{capture:!!i,passive:r})},t.prototype.dispatchEvent=function(t,e,o){void 0===o&&(o=!1),e()},t.prototype.frameworkComponent=function(t){return null},t.prototype.isFrameworkComponent=function(t){return!1},t}()},72271:function(t,e,o){o.d(e,{J:function(){return s}});var n=o(25573),i=o(79045),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)}}(),s=function(t){function e(e,o,n){var i=t.call(this,e,o)||this;return i.className=n,i.disabled=!1,i}return r(e,t),e.prototype.postConstruct=function(){t.prototype.postConstruct.call(this),this.className&&this.addCssClass(this.className)},e.prototype.onValueChange=function(t){var o=this;return this.addManagedListener(this,e.EVENT_CHANGED,(function(){return t(o.getValue())})),this},e.prototype.getWidth=function(){return this.getGui().clientWidth},e.prototype.setWidth=function(t){return(0,i.setFixedWidth)(this.getGui(),t),this},e.prototype.getPreviousValue=function(){return this.previousValue},e.prototype.getValue=function(){return this.value},e.prototype.setValue=function(t,o){return this.value===t||(this.previousValue=this.value,this.value=t,o||this.dispatchEvent({type:e.EVENT_CHANGED})),this},e.prototype.setDisabled=function(t){t=!!t;var e=this.getGui();return(0,i.setDisabled)(e,t),e.classList.toggle("ag-disabled",t),this.disabled=t,this},e.prototype.isDisabled=function(){return!!this.disabled},e.EVENT_CHANGED="valueChange",e}(n.D)},67331:function(t,e,o){o.d(e,{x:function(){return c}});var n=o(52442),i=o(72271),r=o(79045),s=o(68316),a=o(25644),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)}}(),u=function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},c=function(t){function e(e,o,n,i){void 0===n&&(n="text"),void 0===i&&(i="input");var r=t.call(this,e,'\n <div role="presentation">\n <div ref="eLabel" class="ag-input-field-label"></div>\n <div ref="eWrapper" class="ag-wrapper ag-input-wrapper" role="presentation">\n <'+i+' ref="eInput" class="ag-input-field-input"></'+i+">\n </div>\n </div>",o)||this;return r.inputType=n,r.displayFieldTag=i,r}return p(e,t),e.prototype.postConstruct=function(){t.prototype.postConstruct.call(this),this.setInputType(),this.eLabel.classList.add(this.className+"-label"),this.eWrapper.classList.add(this.className+"-input-wrapper"),this.eInput.classList.add(this.className+"-input"),this.addCssClass("ag-input-field"),this.eInput.id=this.eInput.id||"ag-"+this.getCompId()+"-input";var e=this.config,o=e.width,n=e.value;null!=o&&this.setWidth(o),null!=n&&this.setValue(n),this.addInputListeners()},e.prototype.refreshLabel=function(){(0,a.exists)(this.getLabel())?(0,s.setAriaLabelledBy)(this.eInput,this.getLabelId()):this.eInput.removeAttribute("aria-labelledby"),t.prototype.refreshLabel.call(this)},e.prototype.addInputListeners=function(){var t=this;this.addManagedListener(this.eInput,"input",(function(e){return t.setValue(e.target.value)}))},e.prototype.setInputType=function(){"input"===this.displayFieldTag&&this.eInput.setAttribute("type",this.inputType)},e.prototype.getInputElement=function(){return this.eInput},e.prototype.setInputWidth=function(t){return(0,r.setElementWidth)(this.eWrapper,t),this},e.prototype.setInputName=function(t){return this.getInputElement().setAttribute("name",t),this},e.prototype.getFocusableElement=function(){return this.eInput},e.prototype.setMaxLength=function(t){return this.eInput.maxLength=t,this},e.prototype.setInputPlaceholder=function(t){return(0,r.addOrRemoveAttribute)(this.eInput,"placeholder",t),this},e.prototype.setInputAriaLabel=function(t){return(0,s.setAriaLabel)(this.eInput,t),this},e.prototype.setDisabled=function(e){return(0,r.setDisabled)(this.eInput,e),t.prototype.setDisabled.call(this,e)},u([(0,n.P)("eLabel")],e.prototype,"eLabel",void 0),u([(0,n.P)("eWrapper")],e.prototype,"eWrapper",void 0),u([(0,n.P)("eInput")],e.prototype,"eInput",void 0),e}(i.J)},25573:function(t,e,o){o.d(e,{D:function(){return u}});var n=o(19158),i=o(6788),r=o(79045),s=o(68316),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)}}(),p=function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},u=function(t){function e(e,o){var n=t.call(this,o)||this;return n.labelSeparator="",n.labelAlignment="left",n.label="",n.config=e||{},n}return a(e,t),e.prototype.postConstruct=function(){this.addCssClass("ag-labeled"),this.eLabel.classList.add("ag-label");var t=this.config,e=t.labelSeparator,o=t.label,n=t.labelWidth,i=t.labelAlignment;null!=e&&this.setLabelSeparator(e),null!=o&&this.setLabel(o),null!=n&&this.setLabelWidth(n),this.setLabelAlignment(i||this.labelAlignment),this.refreshLabel()},e.prototype.refreshLabel=function(){(0,r.clearElement)(this.eLabel),"string"===typeof this.label?this.eLabel.innerText=this.label+this.labelSeparator:this.label&&this.eLabel.appendChild(this.label),""===this.label?(this.eLabel.classList.add("ag-hidden"),(0,s.setAriaRole)(this.eLabel,"presentation")):(this.eLabel.classList.remove("ag-hidden"),(0,s.setAriaRole)(this.eLabel,null))},e.prototype.setLabelSeparator=function(t){return this.labelSeparator===t||(this.labelSeparator=t,null!=this.label&&this.refreshLabel()),this},e.prototype.getLabelId=function(){return this.eLabel.id=this.eLabel.id||"ag-"+this.getCompId()+"-label",this.eLabel.id},e.prototype.getLabel=function(){return this.label},e.prototype.setLabel=function(t){return this.label===t||(this.label=t,this.refreshLabel()),this},e.prototype.setLabelAlignment=function(t){var e=this.getGui().classList;return e.toggle("ag-label-align-left","left"===t),e.toggle("ag-label-align-right","right"===t),e.toggle("ag-label-align-top","top"===t),this},e.prototype.setLabelWidth=function(t){return null==this.label||(0,r.setElementWidth)(this.eLabel,t),this},p([i.o7],e.prototype,"postConstruct",null),e}(n.u)},3158:function(t,e,o){o.d(e,{w:function(){return l}});var n=o(25573),i=o(52442),r=o(6788),s=o(72271),a=o(25644),p=o(79045),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)}}(),c=function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},l=function(t){function e(o){var n=t.call(this,o,e.TEMPLATE)||this;return n.radius=0,n.offsetX=0,n.offsetY=0,n}return u(e,t),e.prototype.postConstruct=function(){var e=this;t.prototype.postConstruct.call(this),this.dragListener={eElement:this.eParentCircle,dragStartPixels:0,onDragStart:function(t){e.parentCircleRect=e.eParentCircle.getBoundingClientRect()},onDragging:function(t){return e.calculateAngleDrag(t)},onDragStop:function(){}},this.dragService.addDragSource(this.dragListener),this.eAngleValue.setLabel("").setLabelWidth(5).setInputWidth(45).setMin(0).setMax(360).setValue(""+this.degrees).onValueChange((function(t){null!=t&&""!==t||(t="0"),t=e.eAngleValue.normalizeValue(t);var o=parseFloat(t);o>180&&(o-=360),e.setValue(o)})),this.updateNumberInput(),(0,a.exists)(this.getValue())&&this.eAngleValue.setValue(this.normalizeNegativeValue(this.getValue()).toString()),this.addManagedListener(this,s.J.EVENT_CHANGED,(function(){var t=e.gridOptionsWrapper.getDocument();e.eAngleValue.getInputElement().contains(t.activeElement)||e.updateNumberInput()}))},e.prototype.updateNumberInput=function(){var t=this.normalizeNegativeValue(this.getValue());this.eAngleValue.setValue(t.toString())},e.prototype.positionChildCircle=function(t){var e=this.parentCircleRect||{width:24,height:24},o=this.eChildCircle,n=e.width/2,i=e.height/2;o.style.left=n+8*Math.cos(t)+"px",o.style.top=i+8*Math.sin(t)+"px"},e.prototype.calculatePolar=function(){var t=this.offsetX,e=this.offsetY,o=Math.atan2(e,t);this.degrees=this.toDegrees(o),this.radius=Math.sqrt(t*t+e*e),this.positionChildCircle(o)},e.prototype.calculateCartesian=function(){var t=this.toRadians(this.getValue()),e=this.getRadius();this.setOffsetX(Math.cos(t)*e).setOffsetY(Math.sin(t)*e)},e.prototype.setOffsetX=function(t){return this.offsetX!==t&&(this.offsetX=t,this.calculatePolar()),this},e.prototype.setOffsetY=function(t){return this.offsetY!==t&&(this.offsetY=t,this.calculatePolar()),this},e.prototype.calculateAngleDrag=function(t){var e=this.parentCircleRect,o=e.width/2,n=e.height/2,i=t.clientX-e.left-o,r=t.clientY-e.top-n,s=Math.atan2(r,i);this.setValue(s,!0)},e.prototype.toDegrees=function(t){return t/Math.PI*180},e.prototype.toRadians=function(t){return t/180*Math.PI},e.prototype.normalizeNegativeValue=function(t){return t<0?360+t:t},e.prototype.normalizeAngle180=function(t){return(t%=2*Math.PI)<-Math.PI?t+=2*Math.PI:t>=Math.PI&&(t-=2*Math.PI),t},e.prototype.getRadius=function(){return this.radius},e.prototype.setRadius=function(t){return this.radius===t||(this.radius=t,this.calculateCartesian()),this},e.prototype.onValueChange=function(t){var e=this;return this.addManagedListener(this,s.J.EVENT_CHANGED,(function(){t(e.degrees)})),this},e.prototype.getValue=function(t){return t?this.toRadians(this.degrees):this.degrees},e.prototype.setValue=function(t,e){var o;return o=e?t:this.normalizeAngle180(this.toRadians(t)),t=this.toDegrees(o),this.degrees!==t&&(this.degrees=Math.floor(t),this.calculateCartesian(),this.positionChildCircle(o),this.dispatchEvent({type:s.J.EVENT_CHANGED})),this},e.prototype.setWidth=function(t){return(0,p.setFixedWidth)(this.getGui(),t),this},e.prototype.destroy=function(){this.dragService.removeDragSource(this.dragListener),t.prototype.destroy.call(this)},e.TEMPLATE='<div class="ag-angle-select">\n <div ref="eLabel"></div>\n <div class="ag-wrapper ag-angle-select-wrapper">\n <div ref="eAngleSelectField" class="ag-angle-select-field">\n <div ref="eParentCircle" class="ag-angle-select-parent-circle">\n <div ref="eChildCircle" class="ag-angle-select-child-circle"></div>\n </div>\n </div>\n <ag-input-number-field ref="eAngleValue"></ag-input-number-field>\n </div>\n </div>',c([(0,i.P)("eLabel")],e.prototype,"eLabel",void 0),c([(0,i.P)("eParentCircle")],e.prototype,"eParentCircle",void 0),c([(0,i.P)("eChildCircle")],e.prototype,"eChildCircle",void 0),c([(0,i.P)("eAngleValue")],e.prototype,"eAngleValue",void 0),c([(0,r.ds)("dragService")],e.prototype,"dragService",void 0),e}(n.D)},26064:function(t,e,o){o.d(e,{U:function(){return s}});var n=o(88114),i=o(67331),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)}}(),s=function(t){function e(e,o,n){void 0===o&&(o="ag-checkbox"),void 0===n&&(n="checkbox");var i=t.call(this,e,o,n)||this;return i.labelAlignment="right",i.selected=!1,i.readOnly=!1,i.passive=!1,i}return r(e,t),e.prototype.addInputListeners=function(){this.addManagedListener(this.eInput,"click",this.onCheckboxClick.bind(this)),this.addManagedListener(this.eLabel,"click",this.toggle.bind(this))},e.prototype.getNextValue=function(){return void 0===this.selected||!this.selected},e.prototype.setPassive=function(t){this.passive=t},e.prototype.isReadOnly=function(){return this.readOnly},e.prototype.setReadOnly=function(t){this.eWrapper.classList.toggle("ag-disabled",t),this.eInput.disabled=t,this.readOnly=t},e.prototype.setDisabled=function(e){return this.eWrapper.classList.toggle("ag-disabled",e),t.prototype.setDisabled.call(this,e)},e.prototype.toggle=function(){if(!this.eInput.disabled){var t=this.isSelected(),e=this.getNextValue();this.passive?this.dispatchChange(e,t):this.setValue(e)}},e.prototype.getValue=function(){return this.isSelected()},e.prototype.setValue=function(t,e){return this.refreshSelectedClass(t),this.setSelected(t,e),this},e.prototype.setName=function(t){return this.getInputElement().name=t,this},e.prototype.isSelected=function(){return this.selected},e.prototype.setSelected=function(t,e){this.isSelected()!==t&&(this.previousValue=this.isSelected(),t=this.selected="boolean"===typeof t?t:void 0,this.eInput.checked=t,this.eInput.indeterminate=void 0===t,e||this.dispatchChange(this.selected,this.previousValue))},e.prototype.dispatchChange=function(t,o,i){this.dispatchEvent({type:e.EVENT_CHANGED,selected:t,previousValue:o,event:i});var r=this.getInputElement(),s={type:n.s.EVENT_CHECKBOX_CHANGED,id:r.id,name:r.name,selected:t,previousValue:o};this.eventService.dispatchEvent(s)},e.prototype.onCheckboxClick=function(t){if(!this.passive&&!this.eInput.disabled){var e=this.isSelected(),o=this.selected=t.target.checked;this.refreshSelectedClass(o),this.dispatchChange(o,e,t)}},e.prototype.refreshSelectedClass=function(t){this.eWrapper.classList.toggle("ag-checked",!0===t),this.eWrapper.classList.toggle("ag-indeterminate",null==t)},e}(i.x)},49919:function(t,e,o){o.d(e,{o:function(){return v}});var n=o(19158),i=o(46599),r=o(52442),s=o(6788),a=o(25644),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)}}(),u=function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},c=function(t,e){var o="function"===typeof Symbol&&t[Symbol.iterator];if(!o)return t;var n,i,r=o.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(n=r.next()).done;)s.push(n.value)}catch(a){i={error:a}}finally{try{n&&!n.done&&(o=r.return)&&o.call(r)}finally{if(i)throw i.error}}return s},l=function(t){function e(o){var n=t.call(this,e.TEMPLATE)||this;return n.H=1,n.S=1,n.B=1,n.A=1,n.isSpectrumDragging=!1,n.isSpectrumHueDragging=!1,n.isSpectrumAlphaDragging=!1,n.colorChanged=!1,n.picker=o.picker,n}return p(e,t),e.prototype.postConstruct=function(){var t=this.getGui();this.initRecentColors(),this.addManagedListener(this.spectrumVal,"mousedown",this.onSpectrumDraggerDown.bind(this)),this.addManagedListener(t,"mousemove",this.onSpectrumDraggerMove.bind(this)),this.addManagedListener(this.spectrumHue,"mousedown",this.onSpectrumHueDown.bind(this)),this.addManagedListener(t,"mousemove",this.onSpectrumHueMove.bind(this)),this.addManagedListener(this.spectrumAlpha,"mousedown",this.onSpectrumAlphaDown.bind(this)),this.addManagedListener(t,"mousemove",this.onSpectrumAlphaMove.bind(this)),this.addManagedListener(document,"mouseup",this.onMouseUp.bind(this)),this.addManagedListener(this.recentColors,"click",this.onRecentColorClick.bind(this))},e.prototype.refreshSpectrumRect=function(){return this.spectrumValRect=this.spectrumVal.getBoundingClientRect()},e.prototype.refreshHueRect=function(){return this.spectrumHueRect=this.spectrumHue.getBoundingClientRect()},e.prototype.refreshAlphaRect=function(){return this.spectrumAlphaRect=this.spectrumAlpha.getBoundingClientRect()},e.prototype.onSpectrumDraggerDown=function(t){this.refreshSpectrumRect(),this.isSpectrumDragging=!0,this.moveDragger(t)},e.prototype.onSpectrumDraggerMove=function(t){this.isSpectrumDragging&&this.moveDragger(t)},e.prototype.onSpectrumHueDown=function(t){this.refreshHueRect(),this.isSpectrumHueDragging=!0,this.moveHueSlider(t)},e.prototype.onSpectrumHueMove=function(t){this.isSpectrumHueDragging&&this.moveHueSlider(t)},e.prototype.onSpectrumAlphaDown=function(t){this.refreshAlphaRect(),this.isSpectrumAlphaDragging=!0,this.moveAlphaSlider(t)},e.prototype.onSpectrumAlphaMove=function(t){this.isSpectrumAlphaDragging&&this.moveAlphaSlider(t)},e.prototype.onMouseUp=function(){this.isSpectrumDragging=!1,this.isSpectrumHueDragging=!1,this.isSpectrumAlphaDragging=!1},e.prototype.moveDragger=function(t){var e=this.spectrumValRect;if(e){var o=t.clientX-e.left,n=t.clientY-e.top;o=Math.max(o,0),o=Math.min(o,e.width),n=Math.max(n,0),n=Math.min(n,e.height),this.setSpectrumValue(o/e.width,1-n/e.height)}},e.prototype.moveHueSlider=function(t){var e=this.spectrumHueRect;if(e){var o=this.spectrumHueSlider,n=o.getBoundingClientRect(),i=t.clientX-e.left;i=Math.max(i,0),i=Math.min(i,e.width),this.H=1-i/e.width,o.style.left=i+n.width/2+"px",this.update()}},e.prototype.moveAlphaSlider=function(t){var e=this.spectrumAlphaRect;if(e){var o=this.spectrumAlphaSlider,n=o.getBoundingClientRect(),i=t.clientX-e.left;i=Math.max(i,0),i=Math.min(i,e.width),this.A=i/e.width,o.style.left=i+n.width/2+"px",this.update()}},e.prototype.update=function(){var t=i.Q1.fromHSB(360*this.H,this.S,this.B,this.A),e=i.Q1.fromHSB(360*this.H,1,1),o=t.toRgbaString(),n=this.picker;i.Q1.fromString(n.getValue()).toRgbaString()!==o&&(this.colorChanged=!0),n.setValue(o),this.spectrumColor.style.backgroundColor=e.toRgbaString(),this.spectrumDragger.style.backgroundColor=o},e.prototype.setSpectrumValue=function(t,e){var o=this.spectrumValRect||this.refreshSpectrumRect();if(o){var n=this.spectrumDragger,i=n.getBoundingClientRect();t=Math.max(0,t),t=Math.min(1,t),e=Math.max(0,e),e=Math.min(1,e),this.S=t,this.B=e,n.style.left=t*o.width-i.width/2+"px",n.style.top=(1-e)*o.height-i.height/2+"px",this.update()}},e.prototype.initRecentColors=function(){var t=e.recentColors.map((function(t,e){return'<div class="ag-recent-color" id='+e+' style="background-color: '+t+'; width: 15px; height: 15px;" recent-color="'+t+'"></div>'}));this.recentColors.innerHTML=t.join("")},e.prototype.setValue=function(t){var e=i.Q1.fromString(t),o=c(e.toHSB(),3),n=o[0],r=o[1],s=o[2];this.H=(isNaN(n)?0:n)/360,this.A=e.a;var a=this.spectrumHueRect||this.refreshHueRect(),p=this.spectrumAlphaRect||this.refreshAlphaRect();this.spectrumHueSlider.style.left=(this.H-1)*-a.width+"px",this.spectrumAlphaSlider.style.left=this.A*p.width+"px",this.setSpectrumValue(r,s)},e.prototype.onRecentColorClick=function(t){var o=t.target;if((0,a.exists)(o.id)){var n=parseInt(o.id,10);this.setValue(e.recentColors[n]),this.destroy()}},e.prototype.addRecentColor=function(){var t=i.Q1.fromHSB(360*this.H,this.S,this.B,this.A).toRgbaString(),o=e.recentColors;this.colorChanged&&o[0]!==t&&(o=o.filter((function(e){return e!=t})),(o=[t].concat(o)).length>e.maxRecentColors&&(o=o.slice(0,e.maxRecentColors)),e.recentColors=o)},e.prototype.destroy=function(){this.addRecentColor(),t.prototype.destroy.call(this)},e.maxRecentColors=8,e.recentColors=[],e.TEMPLATE='<div class="ag-color-panel">\n <div ref="spectrumColor" class="ag-spectrum-color">\n <div class="ag-spectrum-sat ag-spectrum-fill">\n <div ref="spectrumVal" class="ag-spectrum-val ag-spectrum-fill">\n <div ref="spectrumDragger" class="ag-spectrum-dragger"></div>\n </div>\n </div>\n </div>\n <div class="ag-spectrum-tools">\n <div ref="spectrumHue" class="ag-spectrum-hue ag-spectrum-tool">\n <div class="ag-spectrum-hue-background"></div>\n <div ref="spectrumHueSlider" class="ag-spectrum-slider"></div>\n </div>\n <div ref="spectrumAlpha" class="ag-spectrum-alpha ag-spectrum-tool">\n <div class="ag-spectrum-alpha-background"></div>\n <div ref="spectrumAlphaSlider" class="ag-spectrum-slider"></div>\n </div>\n <div ref="recentColors" class="ag-recent-colors"></div>\n </div>\n </div>',u([(0,r.P)("spectrumColor")],e.prototype,"spectrumColor",void 0),u([(0,r.P)("spectrumVal")],e.prototype,"spectrumVal",void 0),u([(0,r.P)("spectrumDragger")],e.prototype,"spectrumDragger",void 0),u([(0,r.P)("spectrumHue")],e.prototype,"spectrumHue",void 0),u([(0,r.P)("spectrumHueSlider")],e.prototype,"spectrumHueSlider",void 0),u([(0,r.P)("spectrumAlpha")],e.prototype,"spectrumAlpha",void 0),u([(0,r.P)("spectrumAlphaSlider")],e.prototype,"spectrumAlphaSlider",void 0),u([(0,r.P)("recentColors")],e.prototype,"recentColors",void 0),u([s.o7],e.prototype,"postConstruct",null),e}(n.u),h=o(49129),d=o(42023),f=o(68316),g=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)}}(),v=function(t){function e(e){var o=t.call(this,e,"ag-color-picker","colorPicker")||this;return e&&e.color&&(o.value=e.color),o}return g(e,t),e.prototype.postConstruct=function(){t.prototype.postConstruct.call(this),this.value&&this.setValue(this.value)},e.prototype.showPicker=function(){var t=this,e=this.getGui().getBoundingClientRect(),o=this.createBean(new h.f({closable:!1,modal:!0,hideTitleBar:!0,minWidth:190,width:190,height:250,x:e.right-190,y:e.top-250}));this.isPickerDisplayed=!0,o.addCssClass("ag-color-dialog"),(0,f.setAriaExpanded)(this.eWrapper,!0);var n=this.createBean(new l({picker:this}));return n.addDestroyFunc((function(){o.isAlive()&&t.destroyBean(o)})),o.setParentComponent(this),o.setBodyComponent(n),n.setValue(this.getValue()),o.addDestroyFunc((function(){t.isDestroyingPicker?t.isDestroyingPicker=!1:(t.isDestroyingPicker=!0,n.isAlive()&&t.destroyBean(n)),t.isAlive()&&((0,f.setAriaExpanded)(t.eWrapper,!1),t.getFocusableElement().focus()),t.isPickerDisplayed=!1})),o},e.prototype.setValue=function(e){return this.value===e?this:(this.eDisplayField.style.backgroundColor=e,t.prototype.setValue.call(this,e))},e.prototype.getValue=function(){return this.value},e}(d.H)},49129:function(t,e,o){o.d(e,{f:function(){return l}});var n=o(6788),i=o(86963),r=o(19158),s=o(79045),a=o(72968),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)}}(),u=function(){return u=Object.assign||function(t){for(var e,o=1,n=arguments.length;o<n;o++)for(var i in e=arguments[o])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},u.apply(this,arguments)},c=function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},l=function(t){function e(e){var o=t.call(this,u(u({},e),{popup:!0}))||this;return o.isMaximizable=!1,o.isMaximized=!1,o.maximizeListeners=[],o.resizeListenerDestroy=null,o.lastPosition={x:0,y:0,width:0,height:0},o}return p(e,t),e.prototype.postConstruct=function(){var e=this,o=this.getGui(),n=this.config,i=n.movable,r=n.resizable,s=n.maximizable;this.addCssClass("ag-dialog"),t.prototype.postConstruct.call(this),this.addManagedListener(o,"focusin",(function(t){o.contains(t.relatedTarget)||e.popupService.bringPopupToFront(o)})),i&&this.setMovable(i),s&&this.setMaximizable(s),r&&this.setResizable(r)},e.prototype.renderComponent=function(){var t=this.getGui(),e=this.config,o=e.alwaysOnTop,n=e.modal,i=e.title,r=this.gridOptionsWrapper.getLocaleTextFunc(),s=this.popupService.addPopup({modal:n,eChild:t,closeOnEsc:!0,closedCallback:this.destroy.bind(this),alwaysOnTop:o,ariaLabel:i||r("ariaLabelDialog","Dialog")});s&&(this.close=s.hideFunc)},e.prototype.toggleMaximize=function(){var t=this.positionableFeature.getPosition();if(this.isMaximized){var e=this.lastPosition,o=e.x,n=e.y,i=e.width,r=e.height;this.setWidth(i),this.setHeight(r),this.positionableFeature.offsetElement(o,n)}else this.lastPosition.width=this.getWidth(),this.lastPosition.height=this.getHeight(),this.lastPosition.x=t.x,this.lastPosition.y=t.y,this.positionableFeature.offsetElement(0,0),this.setHeight("100%"),this.setWidth("100%");this.isMaximized=!this.isMaximized,this.refreshMaximizeIcon()},e.prototype.refreshMaximizeIcon=function(){(0,s.setDisplayed)(this.maximizeIcon,!this.isMaximized),(0,s.setDisplayed)(this.minimizeIcon,this.isMaximized)},e.prototype.clearMaximizebleListeners=function(){this.maximizeListeners.length&&(this.maximizeListeners.forEach((function(t){return t()})),this.maximizeListeners.length=0),this.resizeListenerDestroy&&(this.resizeListenerDestroy(),this.resizeListenerDestroy=null)},e.prototype.destroy=function(){this.maximizeButtonComp=this.destroyBean(this.maximizeButtonComp),this.clearMaximizebleListeners(),t.prototype.destroy.call(this)},e.prototype.setResizable=function(t){this.positionableFeature.setResizable(t)},e.prototype.setMovable=function(t){this.positionableFeature.setMovable(t,this.eTitleBar)},e.prototype.setMaximizable=function(t){var e=this;if(!t)return this.clearMaximizebleListeners(),void(this.maximizeButtonComp&&(this.destroyBean(this.maximizeButtonComp),this.maximizeButtonComp=this.maximizeIcon=this.minimizeIcon=void 0));var o=this.eTitleBar;if(o&&t!==this.isMaximizable){var n=this.maximizeButtonComp=this.createBean(new r.u('<div class="ag-dialog-button"></span>')),i=n.getGui();i.appendChild(this.maximizeIcon=(0,a.createIconNoSpan)("maximize",this.gridOptionsWrapper)),this.maximizeIcon.classList.add("ag-panel-title-bar-button-icon"),i.appendChild(this.minimizeIcon=(0,a.createIconNoSpan)("minimize",this.gridOptionsWrapper)),this.minimizeIcon.classList.add("ag-panel-title-bar-button-icon","ag-hidden"),n.addManagedListener(i,"click",this.toggleMaximize.bind(this)),this.addTitleBarButton(n,0),this.maximizeListeners.push(this.addManagedListener(o,"dblclick",this.toggleMaximize.bind(this))),this.resizeListenerDestroy=this.addManagedListener(this,"resize",(function(){e.isMaximized=!1,e.refreshMaximizeIcon()}))}},c([(0,n.ds)("popupService")],e.prototype,"popupService",void 0),e}(i.L)},8755:function(t,e,o){o.d(e,{P:function(){return h}});var n=o(19158),i=o(52442),r=o(6788),s=o(72968),a=o(79045),p=o(40691),u=o(68316),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)}}(),l=function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},h=function(t){function e(o){void 0===o&&(o={});var n=t.call(this,e.getTemplate(o))||this;n.suppressEnabledCheckbox=!0,n.suppressOpenCloseIcons=!1;var i=o.title,r=o.enabled,s=o.items,a=o.suppressEnabledCheckbox,p=o.suppressOpenCloseIcons;return n.title=i,n.cssIdentifier=o.cssIdentifier||"default",n.enabled=null==r||r,n.items=s||[],n.alignItems=o.alignItems||"center",null!=a&&(n.suppressEnabledCheckbox=a),null!=p&&(n.suppressOpenCloseIcons=p),n}return c(e,t),e.getTemplate=function(t){var e=t.cssIdentifier||"default";return'<div class="ag-group ag-'+e+'-group" role="presentation">\n <div class="ag-group-title-bar ag-'+e+'-group-title-bar ag-unselectable" ref="eTitleBar" role="button">\n <span class="ag-group-title-bar-icon ag-'+e+'-group-title-bar-icon" ref="eGroupOpenedIcon" role="presentation"></span>\n <span class="ag-group-title-bar-icon ag-'+e+'-group-title-bar-icon" ref="eGroupClosedIcon" role="presentation"></span>\n <span ref="eTitle" class="ag-group-title ag-'+e+'-group-title"></span>\n </div>\n <div ref="eToolbar" class="ag-group-toolbar ag-'+e+'-group-toolbar">\n <ag-checkbox ref="cbGroupEnabled"></ag-checkbox>\n </div>\n <div ref="eContainer" class="ag-group-container ag-group-container-'+(t.direction||"vertical")+" ag-"+e+'-group-container"></div>\n </div>'},e.prototype.postConstruct=function(){if(this.items.length){var t=this.items;this.items=[],this.addItems(t)}var e=this.gridOptionsWrapper.getLocaleTextFunc();this.cbGroupEnabled.setLabel(e("enabled","Enabled")),this.title&&this.setTitle(this.title),this.enabled&&this.setEnabled(this.enabled),this.setAlignItems(this.alignItems),this.hideEnabledCheckbox(this.suppressEnabledCheckbox),this.hideOpenCloseIcons(this.suppressOpenCloseIcons),this.setupExpandContract(),this.refreshAriaStatus(),this.refreshChildDisplay()},e.prototype.setupExpandContract=function(){var t=this;this.eGroupClosedIcon.appendChild((0,s.createIcon)("columnSelectClosed",this.gridOptionsWrapper,null)),this.eGroupOpenedIcon.appendChild((0,s.createIcon)("columnSelectOpen",this.gridOptionsWrapper,null)),this.addManagedListener(this.eTitleBar,"click",(function(){return t.toggleGroupExpand()})),this.addManagedListener(this.eTitleBar,"keydown",(function(e){switch(e.key){case p.D.ENTER:case p.D.SPACE:e.preventDefault(),t.toggleGroupExpand();break;case p.D.RIGHT:case p.D.LEFT:e.preventDefault(),t.toggleGroupExpand(e.key===p.D.RIGHT)}}))},e.prototype.refreshAriaStatus=function(){this.suppressOpenCloseIcons||(0,u.setAriaExpanded)(this.eTitleBar,this.expanded)},e.prototype.refreshChildDisplay=function(){var t=!this.suppressOpenCloseIcons;(0,a.setDisplayed)(this.eToolbar,this.expanded&&!this.suppressEnabledCheckbox),(0,a.setDisplayed)(this.eGroupOpenedIcon,t&&this.expanded),(0,a.setDisplayed)(this.eGroupClosedIcon,t&&!this.expanded)},e.prototype.isExpanded=function(){return this.expanded},e.prototype.setAlignItems=function(t){this.alignItems!==t&&this.removeCssClass("ag-group-item-alignment-"+this.alignItems),this.alignItems=t;var e="ag-group-item-alignment-"+this.alignItems;return this.addCssClass(e),this},e.prototype.toggleGroupExpand=function(t){return this.suppressOpenCloseIcons?(this.expanded=!0,this.refreshChildDisplay(),(0,a.setDisplayed)(this.eContainer,!0),this):(t=null!=t?t:!this.expanded,this.expanded===t||(this.expanded=t,this.refreshAriaStatus(),this.refreshChildDisplay(),(0,a.setDisplayed)(this.eContainer,t),this.dispatchEvent({type:this.expanded?e.EVENT_EXPANDED:e.EVENT_COLLAPSED})),this)},e.prototype.addItems=function(t){var e=this;t.forEach((function(t){return e.addItem(t)}))},e.prototype.addItem=function(t){var e=this.eContainer,o=t instanceof n.u?t.getGui():t;o.classList.add("ag-group-item","ag-"+this.cssIdentifier+"-group-item"),e.appendChild(o),this.items.push(o)},e.prototype.hideItem=function(t,e){this.items[e].classList.toggle("ag-hidden",t)},e.prototype.setTitle=function(t){return this.eTitle.innerText=t,this},e.prototype.addCssClassToTitleBar=function(t){this.eTitleBar.classList.add(t)},e.prototype.setEnabled=function(t,e){return this.enabled=t,this.refreshDisabledStyles(),this.toggleGroupExpand(t),e||this.cbGroupEnabled.setValue(t),this},e.prototype.isEnabled=function(){return this.enabled},e.prototype.onEnableChange=function(t){var e=this;return this.cbGroupEnabled.onValueChange((function(o){e.setEnabled(o,!0),t(o)})),this},e.prototype.hideEnabledCheckbox=function(t){return this.suppressEnabledCheckbox=t,this.refreshChildDisplay(),this.refreshDisabledStyles(),this},e.prototype.hideOpenCloseIcons=function(t){return this.suppressOpenCloseIcons=t,t&&this.toggleGroupExpand(!0),this},e.prototype.refreshDisabledStyles=function(){this.addOrRemoveCssClass("ag-disabled",!this.enabled),this.suppressEnabledCheckbox&&!this.enabled?(this.eTitleBar.classList.add("ag-disabled-group-title-bar"),this.eTitleBar.removeAttribute("tabindex")):(this.eTitleBar.classList.remove("ag-disabled-group-title-bar"),this.eTitleBar.setAttribute("tabindex","0")),this.eContainer.classList.toggle("ag-disabled-group-container",!this.enabled)},e.EVENT_EXPANDED="expanded",e.EVENT_COLLAPSED="collapsed",l([(0,i.P)("eTitleBar")],e.prototype,"eTitleBar",void 0),l([(0,i.P)("eGroupOpenedIcon")],e.prototype,"eGroupOpenedIcon",void 0),l([(0,i.P)("eGroupClosedIcon")],e.prototype,"eGroupClosedIcon",void 0),l([(0,i.P)("eToolbar")],e.prototype,"eToolbar",void 0),l([(0,i.P)("cbGroupEnabled")],e.prototype,"cbGroupEnabled",void 0),l([(0,i.P)("eTitle")],e.prototype,"eTitle",void 0),l([(0,i.P)("eContainer")],e.prototype,"eContainer",void 0),l([r.o7],e.prototype,"postConstruct",null),e}(n.u)},94658:function(t,e,o){o.d(e,{S:function(){return s}});var n=o(45112),i=o(79045),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)}}(),s=function(t){function e(e){return t.call(this,e,"ag-number-field","number")||this}return r(e,t),e.prototype.postConstruct=function(){var e=this;t.prototype.postConstruct.call(this),this.addManagedListener(this.eInput,"blur",(function(){var t=parseFloat(e.eInput.value),o=isNaN(t)?"":e.normalizeValue(t.toString());e.value!==o&&e.setValue(o)})),this.eInput.step="any"},e.prototype.normalizeValue=function(t){if(""===t)return"";this.precision&&(t=this.adjustPrecision(t));var e=parseFloat(t);return null!=this.min&&e<this.min?t=this.min.toString():null!=this.max&&e>this.max&&(t=this.max.toString()),t},e.prototype.adjustPrecision=function(t){if(this.precision){var e=parseFloat(t).toFixed(this.precision);t=parseFloat(e).toString()}return t},e.prototype.setMin=function(t){return this.min===t||(this.min=t,(0,i.addOrRemoveAttribute)(this.eInput,"min",t)),this},e.prototype.setMax=function(t){return this.max===t||(this.max=t,(0,i.addOrRemoveAttribute)(this.eInput,"max",t)),this},e.prototype.setPrecision=function(t){return this.precision=t,this},e.prototype.setStep=function(t){return this.step===t||(this.step=t,(0,i.addOrRemoveAttribute)(this.eInput,"step",t)),this},e.prototype.setValue=function(e,o){return(e=this.adjustPrecision(e))!=this.normalizeValue(e)?this:t.prototype.setValue.call(this,e,o)},e}(n.s)},74476:function(t,e,o){o.d(e,{y:function(){return r}});var n=o(67331),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)}}(),r=function(t){function e(e){return t.call(this,e,"ag-range-field","range")||this}return i(e,t),e.prototype.postConstruct=function(){t.prototype.postConstruct.call(this);var e=this.config,o=e.min,n=e.max,i=e.step;null!=o&&this.setMinValue(o),null!=n&&this.setMaxValue(n),this.setStep(i||1)},e.prototype.addInputListeners=function(){var t=this;this.addManagedListener(this.eInput,"input",(function(e){var o=e.target.value;t.setValue(o)}))},e.prototype.setMinValue=function(t){return this.min=t,this.eInput.setAttribute("min",t.toString()),this},e.prototype.setMaxValue=function(t){return this.max=t,this.eInput.setAttribute("max",t.toString()),this},e.prototype.setStep=function(t){return this.eInput.setAttribute("step",t.toString()),this},e.prototype.setValue=function(e,o){null!=this.min&&(e=Math.max(parseFloat(e),this.min).toString()),null!=this.max&&(e=Math.min(parseFloat(e),this.max).toString());var n=t.prototype.setValue.call(this,e,o);return this.eInput.value=e,n},e}(n.x)},22255:function(t,e,o){o.d(e,{v:function(){return r}});var n=o(67331),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)}}(),r=function(t){function e(e){return t.call(this,e,"ag-text-area",null,"textarea")||this}return i(e,t),e.prototype.setValue=function(e,o){var n=t.prototype.setValue.call(this,e,o);return this.eInput.value=e,n},e.prototype.setCols=function(t){return this.eInput.cols=t,this},e.prototype.setRows=function(t){return this.eInput.rows=t,this},e}(n.x)},45112:function(t,e,o){o.d(e,{s:function(){return s}});var n=o(67331),i=o(25644),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)}}(),s=function(t){function e(e,o,n){return void 0===o&&(o="ag-text-field"),void 0===n&&(n="text"),t.call(this,e,o,n)||this}return r(e,t),e.prototype.postConstruct=function(){t.prototype.postConstruct.call(this),this.config.allowedCharPattern&&this.preventDisallowedCharacters()},e.prototype.setValue=function(e,o){var n=t.prototype.setValue.call(this,e,o);return this.eInput.value!==e&&(this.eInput.value=(0,i.exists)(e)?e:""),n},e.prototype.preventDisallowedCharacters=function(){var t=new RegExp("["+this.config.allowedCharPattern+"]");this.addManagedListener(this.eInput,"keypress",(function(e){e.key&&!t.test(e.key)&&e.preventDefault()})),this.addManagedListener(this.eInput,"paste",(function(e){var o,n=null===(o=e.clipboardData)||void 0===o?void 0:o.getData("text");n&&n.split("").some((function(e){return!t.test(e)}))&&e.preventDefault()}))},e}(n.x)},21386:function(t,e,o){o.d(e,{y:function(){return f}});var n=o(6788),i=o(34382),r=o(72394),s=o(19158),a=o(40691),p=o(72968),u=o(79045),c=o(78913),l=o(68316),h=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 i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},f=function(t){function e(e){var o=t.call(this)||this;return o.params=e,o.isActive=!1,o.subMenuIsOpen=!1,o.setTemplate('<div class="'+o.getClassName()+'" tabindex="-1" role="treeitem"></div>'),o}return h(e,t),e.prototype.init=function(){var t=this;this.addIcon(),this.addName(),this.addShortcut(),this.addSubMenu(),this.addTooltip();var e=this.getGui();this.params.disabled?(this.addCssClass(this.getClassName("disabled")),(0,l.setAriaDisabled)(e,!0)):(this.addGuiEventListener("click",(function(e){return t.onItemSelected(e)})),this.addGuiEventListener("keydown",(function(e){e.key!==a.D.ENTER&&e.key!==a.D.SPACE||(e.preventDefault(),t.onItemSelected(e))})),this.addGuiEventListener("mousedown",(function(t){t.stopPropagation(),t.preventDefault()})),this.addGuiEventListener("mouseenter",(function(){return t.onMouseEnter()})),this.addGuiEventListener("mouseleave",(function(){return t.onMouseLeave()}))),this.params.cssClasses&&this.params.cssClasses.forEach((function(e){return t.addCssClass(e)}))},e.prototype.isDisabled=function(){return!!this.params.disabled},e.prototype.openSubMenu=function(t){var o=this;if(void 0===t&&(t=!1),this.closeSubMenu(),this.params.subMenu){var n,s=(0,u.loadTemplate)('<div class="ag-menu" role="presentation"></div>');if(this.params.subMenu instanceof Array){var a=(0,l.getAriaLevel)(this.getGui()),p=isNaN(a)?1:a+1,c=this.createBean(new i.i(p));c.setParentComponent(this),c.addMenuItems(this.params.subMenu),s.appendChild(c.getGui()),this.addManagedListener(c,e.EVENT_MENU_ITEM_SELECTED,(function(t){return o.dispatchEvent(t)})),c.addGuiEventListener("mouseenter",(function(){return o.cancelDeactivate()})),n=function(){return o.destroyBean(c)},t&&setTimeout((function(){return c.activateFirstItem()}),0)}else{var h=this.params.subMenu,d=this.createBean(new r.q(h));d.setParentComponent(this);var f=d.getGui(),g="mouseenter",v=function(){return o.cancelDeactivate()};f.addEventListener(g,v),n=function(){return f.removeEventListener(g,v)},s.appendChild(f),h.afterGuiAttached&&setTimeout((function(){return h.afterGuiAttached()}),0)}var y=this.getGui(),m=this.popupService.positionPopupForMenu.bind(this.popupService,{eventSource:y,ePopup:s}),b=this.gridOptionsWrapper.getLocaleTextFunc(),C=this.popupService.addPopup({modal:!0,eChild:s,positionCallback:m,anchorToElement:y,ariaLabel:b("ariaLabelSubMenu","SubMenu")});this.subMenuIsOpen=!0,(0,l.setAriaExpanded)(y,!0),this.hideSubMenu=function(){C&&C.hideFunc(),o.subMenuIsOpen=!1,(0,l.setAriaExpanded)(y,!1),n()}}},e.prototype.closeSubMenu=function(){this.hideSubMenu&&(this.hideSubMenu(),this.hideSubMenu=null,(0,l.setAriaExpanded)(this.getGui(),!1))},e.prototype.isSubMenuOpen=function(){return this.subMenuIsOpen},e.prototype.activate=function(t){var e=this;this.cancelActivate(),this.params.disabled||(this.isActive=!0,this.addCssClass(this.getClassName("active")),this.getGui().focus(),t&&this.params.subMenu&&window.setTimeout((function(){e.isAlive()&&e.isActive&&e.openSubMenu()}),300),this.onItemActivated())},e.prototype.deactivate=function(){this.cancelDeactivate(),this.removeCssClass(this.getClassName("active")),this.isActive=!1,this.subMenuIsOpen&&this.hideSubMenu()},e.prototype.addIcon=function(){if(this.params.checked||this.params.icon||!this.params.isCompact){var t=(0,u.loadTemplate)('<span ref="eIcon" class="'+this.getClassName("part")+" "+this.getClassName("icon")+'" role="presentation"></span>');this.params.checked?t.appendChild((0,p.createIconNoSpan)("check",this.gridOptionsWrapper)):this.params.icon&&((0,u.isNodeOrElement)(this.params.icon)?t.appendChild(this.params.icon):"string"===typeof this.params.icon?t.innerHTML=this.params.icon:console.warn("AG Grid: menu item icon must be DOM node or string")),this.getGui().appendChild(t)}},e.prototype.addName=function(){if(this.params.name||!this.params.isCompact){var t=(0,u.loadTemplate)('<span ref="eName" class="'+this.getClassName("part")+" "+this.getClassName("text")+'">'+(this.params.name||"")+"</span>");this.getGui().appendChild(t)}},e.prototype.addTooltip=function(){this.params.tooltip&&(this.tooltip=this.params.tooltip,this.gridOptionsWrapper.isEnableBrowserTooltips()?this.getGui().setAttribute("title",this.tooltip):this.createManagedBean(new c.H(this)))},e.prototype.getTooltipParams=function(){return{location:"menu",value:this.tooltip}},e.prototype.addShortcut=function(){if(this.params.shortcut||!this.params.isCompact){var t=(0,u.loadTemplate)('<span ref="eShortcut" class="'+this.getClassName("part")+" "+this.getClassName("shortcut")+'">'+(this.params.shortcut||"")+"</span>");this.getGui().appendChild(t)}},e.prototype.addSubMenu=function(){if(this.params.subMenu||!this.params.isCompact){var t=(0,u.loadTemplate)('<span ref="ePopupPointer" class="'+this.getClassName("part")+" "+this.getClassName("popup-pointer")+'"></span>'),e=this.getGui();if(this.params.subMenu){var o=this.gridOptionsWrapper.isEnableRtl()?"smallLeft":"smallRight";(0,l.setAriaExpanded)(e,!1),t.appendChild((0,p.createIconNoSpan)(o,this.gridOptionsWrapper))}e.appendChild(t)}},e.prototype.onItemSelected=function(t){if(this.params.action?this.params.action():this.openSubMenu(t&&"keydown"===t.type),!this.params.subMenu||this.params.action){var o={type:e.EVENT_MENU_ITEM_SELECTED,action:this.params.action,checked:this.params.checked,cssClasses:this.params.cssClasses,disabled:this.params.disabled,icon:this.params.icon,name:this.params.name,shortcut:this.params.shortcut,subMenu:this.params.subMenu,tooltip:this.params.tooltip,event:t};this.dispatchEvent(o)}},e.prototype.onItemActivated=function(){var t={type:e.EVENT_MENU_ITEM_ACTIVATED,menuItem:this};this.dispatchEvent(t)},e.prototype.cancelActivate=function(){this.activateTimeoutId&&(window.clearTimeout(this.activateTimeoutId),this.activateTimeoutId=0)},e.prototype.cancelDeactivate=function(){this.deactivateTimeoutId&&(window.clearTimeout(this.deactivateTimeoutId),this.deactivateTimeoutId=0)},e.prototype.onMouseEnter=function(){var t=this;this.cancelDeactivate(),this.params.isAnotherSubMenuOpen()?this.activateTimeoutId=window.setTimeout((function(){return t.activate(!0)}),e.ACTIVATION_DELAY):this.activate(!0)},e.prototype.onMouseLeave=function(){var t=this;this.cancelActivate(),this.isSubMenuOpen()?this.deactivateTimeoutId=window.setTimeout((function(){return t.deactivate()}),e.ACTIVATION_DELAY):this.deactivate()},e.prototype.getClassName=function(t){var e=this.params.isCompact?"ag-compact-menu-option":"ag-menu-option";return t?e+"-"+t:e},e.EVENT_MENU_ITEM_SELECTED="menuItemSelected",e.EVENT_MENU_ITEM_ACTIVATED="menuItemActivated",e.ACTIVATION_DELAY=80,d([(0,n.ds)("popupService")],e.prototype,"popupService",void 0),d([n.o7],e.prototype,"init",null),e}(s.u)},34382:function(t,e,o){o.d(e,{i:function(){return d}});var n=o(6788),i=o(21386),r=o(63806),s=o(40691),a=o(79045),p=o(24436),u=o(68316),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)}}(),l=function(){return l=Object.assign||function(t){for(var e,o=1,n=arguments.length;o<n;o++)for(var i in e=arguments[o])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},l.apply(this,arguments)},h=function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},d=function(t){function e(e){void 0===e&&(e=1);var o=t.call(this,'<div class="ag-menu-list" role="tree"></div>')||this;return o.level=e,o.menuItems=[],o}return c(e,t),e.prototype.postConstruct=function(){var t=this;this.initialiseTabGuard({onTabKeyDown:function(e){return t.onTabKeyDown(e)},handleKeyDown:function(e){return t.handleKeyDown(e)}})},e.prototype.onTabKeyDown=function(t){var e=this.getParentComponent(),o=e&&e.getGui();o&&o.classList.contains("ag-focus-managed")||t.preventDefault(),t.shiftKey&&this.closeIfIsChild(t)},e.prototype.handleKeyDown=function(t){switch(t.key){case s.D.UP:case s.D.RIGHT:case s.D.DOWN:case s.D.LEFT:t.preventDefault(),this.handleNavKey(t.key);break;case s.D.ESCAPE:var e=this.findTopMenu();e&&this.focusService.focusInto(e.getGui())}},e.prototype.clearActiveItem=function(){this.activeMenuItem&&(this.activeMenuItem.deactivate(),this.activeMenuItem=null)},e.prototype.addMenuItems=function(t){var e=this;null!=t&&t.forEach((function(t){"separator"===t?e.addSeparator():"string"===typeof t?console.warn("AG Grid: unrecognised menu item "+t):e.addItem(t)}))},e.prototype.addItem=function(t){var e=this,o=this.createManagedBean(new i.y(l(l({},t),{isAnotherSubMenuOpen:function(){return e.menuItems.some((function(t){return t.isSubMenuOpen()}))}})));o.setParentComponent(this),(0,u.setAriaLevel)(o.getGui(),this.level),this.menuItems.push(o),this.appendChild(o.getGui()),this.addManagedListener(o,i.y.EVENT_MENU_ITEM_SELECTED,(function(t){e.dispatchEvent(t)})),this.addManagedListener(o,i.y.EVENT_MENU_ITEM_ACTIVATED,(function(t){e.activeMenuItem&&e.activeMenuItem!==t.menuItem&&e.activeMenuItem.deactivate(),e.activeMenuItem=t.menuItem}))},e.prototype.activateFirstItem=function(){var t=this.menuItems.filter((function(t){return!t.isDisabled()}))[0];t&&t.activate()},e.prototype.addSeparator=function(){this.appendChild((0,a.loadTemplate)('\n <div class="ag-menu-separator" aria-hidden="true">\n <div class="ag-menu-separator-part"></div>\n <div class="ag-menu-separator-part"></div>\n <div class="ag-menu-separator-part"></div>\n <div class="ag-menu-separator-part"></div>\n </div>'))},e.prototype.findTopMenu=function(){var t=this.getParentComponent();if(!t&&this instanceof e)return this;for(;;){var o=t&&t.getParentComponent&&t.getParentComponent();if(!o||!(o instanceof e||o instanceof i.y))break;t=o}return t instanceof e?t:void 0},e.prototype.handleNavKey=function(t){switch(t){case s.D.UP:case s.D.DOWN:var e=this.findNextItem(t===s.D.UP);return void(e&&e!==this.activeMenuItem&&e.activate())}t===(this.gridOptionsWrapper.isEnableRtl()?s.D.RIGHT:s.D.LEFT)?this.closeIfIsChild():this.openChild()},e.prototype.closeIfIsChild=function(t){var e=this.getParentComponent();e&&e instanceof i.y&&(t&&t.preventDefault(),e.closeSubMenu(),e.getGui().focus())},e.prototype.openChild=function(){this.activeMenuItem&&this.activeMenuItem.openSubMenu(!0)},e.prototype.findNextItem=function(t){var e=this.menuItems.filter((function(t){return!t.isDisabled()}));if(e.length){if(!this.activeMenuItem)return t?(0,p.last)(e):e[0];var o;t&&e.reverse();for(var n=!1,i=0;i<e.length;i++){var r=e[i];if(n){o=r;break}r===this.activeMenuItem&&(n=!0)}return o||this.activeMenuItem}},e.prototype.destroy=function(){this.clearActiveItem(),t.prototype.destroy.call(this)},h([(0,n.ds)("focusService")],e.prototype,"focusService",void 0),h([n.o7],e.prototype,"postConstruct",null),e}(r.a)},72394:function(t,e,o){o.d(e,{q:function(){return p}});var n=o(6788),i=o(40691),r=o(63806),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)}}(),a=function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},p=function(t){function e(e){var o=t.call(this)||this;return o.wrappedComponent=e,o.setTemplateFromElement(e.getGui()),o}return s(e,t),e.prototype.postConstruct=function(){var t=this;this.initialiseTabGuard({onTabKeyDown:function(e){return t.onTabKeyDown(e)},handleKeyDown:function(e){return t.handleKeyDown(e)}})},e.prototype.handleKeyDown=function(t){t.key===i.D.ESCAPE&&this.closePanel()},e.prototype.onTabKeyDown=function(t){t.defaultPrevented||(this.closePanel(),t.preventDefault())},e.prototype.closePanel=function(){var t=this.parentComponent;t.closeSubMenu(),setTimeout((function(){return t.getGui().focus()}),0)},a([n.o7],e.prototype,"postConstruct",null),e}(r.a)},86963:function(t,e,o){o.d(e,{L:function(){return l}});var n=o(52442),i=o(6788),r=o(19158),s=o(79045),a=o(72968),p=o(62101),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)}}(),c=function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},l=function(t){function e(o){var n=t.call(this,e.getTemplate(o))||this;return n.closable=!0,n.config=o,n}return u(e,t),e.getTemplate=function(t){var e=t&&t.cssIdentifier||"default";return'<div class="ag-panel ag-'+e+'-panel" tabindex="-1">\n <div ref="eTitleBar" class="ag-panel-title-bar ag-'+e+'-panel-title-bar ag-unselectable">\n <span ref="eTitle" class="ag-panel-title-bar-title ag-'+e+'-panel-title-bar-title"></span>\n <div ref="eTitleBarButtons" class="ag-panel-title-bar-buttons ag-'+e+'-panel-title-bar-buttons"></div>\n </div>\n <div ref="eContentWrapper" class="ag-panel-content-wrapper ag-'+e+'-panel-content-wrapper"></div>\n </div>'},e.prototype.postConstruct=function(){var t=this,e=this.config,o=e.component,n=e.closable,i=e.hideTitleBar,r=e.title,s=e.minWidth,a=void 0===s?250:s,u=e.width,c=e.minHeight,l=void 0===c?250:c,h=e.height,d=e.centered,f=e.popup,g=e.x,v=e.y;this.positionableFeature=new p.q(this.getGui(),{minWidth:a,width:u,minHeight:l,height:h,centered:d,x:g,y:v,popup:f,calculateTopBuffer:function(){return t.positionableFeature.getHeight()-t.getBodyHeight()}}),this.createManagedBean(this.positionableFeature);var y=this.getGui();o&&this.setBodyComponent(o),i?this.eTitleBar.classList.add("ag-hidden"):(r&&this.setTitle(r),this.setClosable(null!=n?n:this.closable)),this.addManagedListener(this.eTitleBar,"mousedown",(function(e){var o=t.gridOptionsWrapper.getDocument();if(y.contains(e.relatedTarget)||y.contains(o.activeElement)||t.eTitleBarButtons.contains(e.target))e.preventDefault();else{var n=t.eContentWrapper.querySelector("button, [href], input, select, textarea, [tabindex]");n&&n.focus()}})),f&&this.positionableFeature.isPositioned()||(this.renderComponent&&this.renderComponent(),this.positionableFeature.initialisePosition(),this.eContentWrapper.style.height="0")},e.prototype.renderComponent=function(){var t=this,e=this.getGui();e.focus(),this.close=function(){e.parentElement.removeChild(e),t.destroy()}},e.prototype.getHeight=function(){return this.positionableFeature.getHeight()},e.prototype.setHeight=function(t){this.positionableFeature.setHeight(t)},e.prototype.getWidth=function(){return this.positionableFeature.getWidth()},e.prototype.setWidth=function(t){this.positionableFeature.setWidth(t)},e.prototype.setClosable=function(t){if(t!==this.closable&&(this.closable=t),t){var o=this.closeButtonComp=new r.u(e.CLOSE_BTN_TEMPLATE);this.getContext().createBean(o);var n=o.getGui(),i=(0,a.createIconNoSpan)("close",this.gridOptionsWrapper);i.classList.add("ag-panel-title-bar-button-icon"),n.appendChild(i),this.addTitleBarButton(o),o.addManagedListener(n,"click",this.onBtClose.bind(this))}else if(this.closeButtonComp){(n=this.closeButtonComp.getGui()).parentElement.removeChild(n),this.closeButtonComp=this.destroyBean(this.closeButtonComp)}},e.prototype.setBodyComponent=function(t){t.setParentComponent(this),this.eContentWrapper.appendChild(t.getGui())},e.prototype.addTitleBarButton=function(t,e){var o=this.eTitleBarButtons,n=o.children,i=n.length;null==e&&(e=i),e=Math.max(0,Math.min(e,i)),t.addCssClass("ag-panel-title-bar-button");var r=t.getGui();0===e?o.insertAdjacentElement("afterbegin",r):e===i?o.insertAdjacentElement("beforeend",r):n[e-1].insertAdjacentElement("afterend",r),t.setParentComponent(this)},e.prototype.getBodyHeight=function(){return(0,s.getInnerHeight)(this.eContentWrapper)},e.prototype.getBodyWidth=function(){return(0,s.getInnerWidth)(this.eContentWrapper)},e.prototype.setTitle=function(t){this.eTitle.innerText=t},e.prototype.onBtClose=function(){this.close()},e.prototype.destroy=function(){this.closeButtonComp&&(this.closeButtonComp=this.destroyBean(this.closeButtonComp));var e=this.getGui();e&&e.offsetParent&&this.close(),t.prototype.destroy.call(this)},e.CLOSE_BTN_TEMPLATE='<div class="ag-button"></div>',c([(0,n.P)("eContentWrapper")],e.prototype,"eContentWrapper",void 0),c([(0,n.P)("eTitleBar")],e.prototype,"eTitleBar",void 0),c([(0,n.P)("eTitleBarButtons")],e.prototype,"eTitleBarButtons",void 0),c([(0,n.P)("eTitle")],e.prototype,"eTitle",void 0),c([i.o7],e.prototype,"postConstruct",null),e}(r.u)},42023:function(t,e,o){o.d(e,{H:function(){return h}});var n=o(72271),i=o(52442),r=o(68316),s=o(72968),a=o(25644),p=o(79045),u=o(40691),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)}}(),l=function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},h=function(t){function e(e,o,n,i){var r=t.call(this,e,'<div class="ag-picker-field" role="presentation">\n <div ref="eLabel"></div>\n <div ref="eWrapper"\n class="ag-wrapper ag-picker-field-wrapper"\n tabIndex="-1"\n aria-expanded="false"\n '+(i?'role="'+i+'"':"")+'\n >\n <div ref="eDisplayField" class="ag-picker-field-display"></div>\n <div ref="eIcon" class="ag-picker-field-icon" aria-hidden="true"></div>\n </div>\n </div>',o)||this;return r.pickerIcon=n,r.isPickerDisplayed=!1,r.isDestroyingPicker=!1,r.skipClick=!1,r}return c(e,t),e.prototype.postConstruct=function(){var e=this;t.prototype.postConstruct.call(this);var o=this.getCompId()+"-display";this.eDisplayField.setAttribute("id",o),(0,r.setAriaDescribedBy)(this.eWrapper,o);var n=function(){e.skipClick?e.skipClick=!1:e.isDisabled()||(e.pickerComponent=e.showPicker())},i=this.getGui();if(this.addManagedListener(i,"mousedown",(function(t){!e.skipClick&&e.pickerComponent&&e.pickerComponent.isAlive()&&(0,p.isVisible)(e.pickerComponent.getGui())&&i.contains(t.target)&&(e.skipClick=!0)})),this.addManagedListener(i,"keydown",(function(t){switch(t.key){case u.D.UP:case u.D.DOWN:case u.D.ENTER:case u.D.SPACE:n();case u.D.ESCAPE:e.isPickerDisplayed&&t.preventDefault()}})),this.addManagedListener(this.eWrapper,"click",n),this.addManagedListener(this.eLabel,"click",n),this.pickerIcon){var a=(0,s.createIconNoSpan)(this.pickerIcon,this.gridOptionsWrapper);a&&this.eIcon.appendChild(a)}},e.prototype.refreshLabel=function(){(0,a.exists)(this.getLabel())?(0,r.setAriaLabelledBy)(this.eWrapper,this.getLabelId()):this.eWrapper.removeAttribute("aria-labelledby"),t.prototype.refreshLabel.call(this)},e.prototype.setAriaLabel=function(t){return(0,r.setAriaLabel)(this.eWrapper,t),this},e.prototype.setInputWidth=function(t){return(0,p.setElementWidth)(this.eWrapper,t),this},e.prototype.getFocusableElement=function(){return this.eWrapper},l([(0,i.P)("eLabel")],e.prototype,"eLabel",void 0),l([(0,i.P)("eWrapper")],e.prototype,"eWrapper",void 0),l([(0,i.P)("eDisplayField")],e.prototype,"eDisplayField",void 0),l([(0,i.P)("eIcon")],e.prototype,"eIcon",void 0),e}(n.J)},34154:function(t,e,o){o.d(e,{O:function(){return s}});var n=o(26064),i=o(20635),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)}}(),s=function(t){function e(e){return t.call(this,e,"ag-radio-button","radio")||this}return r(e,t),e.prototype.isSelected=function(){return this.eInput.checked},e.prototype.toggle=function(){this.eInput.disabled||this.isSelected()||this.setValue(!0)},e.prototype.addInputListeners=function(){t.prototype.addInputListeners.call(this),this.addManagedListener(this.eventService,i.s.EVENT_CHECKBOX_CHANGED,this.onChange.bind(this))},e.prototype.onChange=function(t){t.selected&&t.name&&this.eInput.name&&this.eInput.name===t.name&&t.id&&this.eInput.id!==t.id&&this.setValue(!1,!0)},e}(n.U)},39449:function(t,e,o){o.d(e,{J:function(){return v}});var n=o(72271),i=o(42023),r=o(19158),s=o(6788),a=o(7884),p=o(40691),u=o(68316),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)}}(),l=function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},h=function(t){function e(e){void 0===e&&(e="default");var o=t.call(this,'<div class="ag-list ag-'+e+'-list" role="listbox"></div>')||this;return o.cssIdentifier=e,o.options=[],o.itemEls=[],o}return c(e,t),e.prototype.init=function(){this.addManagedListener(this.getGui(),"keydown",this.handleKeyDown.bind(this))},e.prototype.handleKeyDown=function(t){var e=t.key;switch(e){case p.D.ENTER:if(this.highlightedEl){var o=this.itemEls.indexOf(this.highlightedEl);this.setValueByIndex(o)}else this.setValue(this.getValue());break;case p.D.DOWN:case p.D.UP:var n=e===p.D.DOWN,i=void 0;if(t.preventDefault(),this.highlightedEl){var r=this.itemEls.indexOf(this.highlightedEl)+(n?1:-1);r=Math.min(Math.max(r,0),this.itemEls.length-1),i=this.itemEls[r]}else i=this.itemEls[n?0:this.itemEls.length-1];this.highlightItem(i)}},e.prototype.addOptions=function(t){var e=this;return t.forEach((function(t){return e.addOption(t)})),this},e.prototype.addOption=function(t){var e=t.value,o=t.text,n=(0,a.escapeString)(o||e);return this.options.push({value:e,text:n}),this.renderOption(e,n),this.updateIndices(),this},e.prototype.updateIndices=function(){var t=this.getGui().querySelectorAll(".ag-list-item");t.forEach((function(e,o){(0,u.setAriaPosInSet)(e,o+1),(0,u.setAriaSetSize)(e,t.length)}))},e.prototype.renderOption=function(t,e){var o=this,n=document.createElement("div");(0,u.setAriaRole)(n,"option"),n.classList.add("ag-list-item","ag-"+this.cssIdentifier+"-list-item"),n.innerHTML="<span>"+e+"</span>",n.tabIndex=-1,this.itemEls.push(n),this.addManagedListener(n,"mouseover",(function(){return o.highlightItem(n)})),this.addManagedListener(n,"mouseleave",(function(){return o.clearHighlighted()})),this.addManagedListener(n,"click",(function(){return o.setValue(t)})),this.getGui().appendChild(n)},e.prototype.setValue=function(t,e){if(this.value===t)return this.fireItemSelected(),this;if(null==t)return this.reset(),this;var o=this.options.findIndex((function(e){return e.value===t}));if(-1!==o){var n=this.options[o];this.value=n.value,this.displayValue=null!=n.text?n.text:n.value,this.highlightItem(this.itemEls[o]),e||this.fireChangeEvent()}return this},e.prototype.setValueByIndex=function(t){return this.setValue(this.options[t].value)},e.prototype.getValue=function(){return this.value},e.prototype.getDisplayValue=function(){return this.displayValue},e.prototype.refreshHighlighted=function(){var t=this;this.clearHighlighted();var e=this.options.findIndex((function(e){return e.value===t.value}));-1!==e&&this.highlightItem(this.itemEls[e])},e.prototype.reset=function(){this.value=null,this.displayValue=null,this.clearHighlighted(),this.fireChangeEvent()},e.prototype.highlightItem=function(t){t.offsetParent&&(this.clearHighlighted(),this.highlightedEl=t,this.highlightedEl.classList.add(e.ACTIVE_CLASS),(0,u.setAriaSelected)(this.highlightedEl,!0),this.highlightedEl.focus())},e.prototype.clearHighlighted=function(){this.highlightedEl&&this.highlightedEl.offsetParent&&(this.highlightedEl.classList.remove(e.ACTIVE_CLASS),(0,u.setAriaSelected)(this.highlightedEl,!1),this.highlightedEl=null)},e.prototype.fireChangeEvent=function(){this.dispatchEvent({type:n.J.EVENT_CHANGED}),this.fireItemSelected()},e.prototype.fireItemSelected=function(){this.dispatchEvent({type:e.EVENT_ITEM_SELECTED})},e.EVENT_ITEM_SELECTED="selectedItem",e.ACTIVE_CLASS="ag-active-item",l([s.o7],e.prototype,"init",null),e}(r.u),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)}}(),g=function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},v=function(t){function e(e){return t.call(this,e,"ag-select","smallDown","listbox")||this}return f(e,t),e.prototype.init=function(){var t=this;this.listComponent=this.createBean(new h("select")),this.listComponent.setParentComponent(this),this.eWrapper.tabIndex=0,this.listComponent.addManagedListener(this.listComponent,h.EVENT_ITEM_SELECTED,(function(){t.hideList&&t.hideList()})),this.listComponent.addManagedListener(this.listComponent,n.J.EVENT_CHANGED,(function(){t.setValue(t.listComponent.getValue(),!1,!0),t.hideList&&t.hideList()}))},e.prototype.showPicker=function(){var t=this,e=this.listComponent.getGui(),o=this.gridOptionsWrapper.getDocument(),n=this.addManagedListener(o.body,"wheel",(function(o){!e.contains(o.target)&&t.hideList&&t.hideList()})),i=this.addManagedListener(e,"focusout",(function(o){!e.contains(o.relatedTarget)&&t.hideList&&t.hideList()})),r=this.gridOptionsWrapper.getLocaleTextFunc(),s=this.popupService.addPopup({modal:!0,eChild:e,closeOnEsc:!0,closedCallback:function(){t.hideList=null,t.isPickerDisplayed=!1,i(),n(),t.isAlive()&&((0,u.setAriaExpanded)(t.eWrapper,!1),t.getFocusableElement().focus())},ariaLabel:r("ariaLabelSelectField","Select Field")});return s&&(this.hideList=s.hideFunc),this.isPickerDisplayed=!0,(0,d.setElementWidth)(e,(0,d.getAbsoluteWidth)(this.eWrapper)),(0,u.setAriaExpanded)(this.eWrapper,!0),e.style.maxHeight=(0,d.getInnerHeight)(this.popupService.getPopupParent())+"px",e.style.position="absolute",this.popupService.positionPopupUnderComponent({type:"ag-list",eventSource:this.eWrapper,ePopup:e,keepWithinBounds:!0}),this.listComponent.refreshHighlighted(),this.listComponent},e.prototype.addOptions=function(t){var e=this;return t.forEach((function(t){return e.addOption(t)})),this},e.prototype.addOption=function(t){return this.listComponent.addOption(t),this},e.prototype.setValue=function(e,o,n){return this.value===e?this:(n||this.listComponent.setValue(e,!0),this.listComponent.getValue()===this.getValue()?this:(this.eDisplayField.innerHTML=this.listComponent.getDisplayValue(),t.prototype.setValue.call(this,e,o)))},e.prototype.destroy=function(){this.hideList&&this.hideList(),this.destroyBean(this.listComponent),t.prototype.destroy.call(this)},g([(0,s.ds)("popupService")],e.prototype,"popupService",void 0),g([s.o7],e.prototype,"init",null),e}(i.H)},29104:function(t,e,o){o.d(e,{Y:function(){return u}});var n=o(52442),i=o(25573),r=o(72271),s=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)}}(),p=function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},u=function(t){function e(o){var n=t.call(this,o,e.TEMPLATE)||this;return n.labelAlignment="top",n}return a(e,t),e.prototype.init=function(){this.eSlider.addCssClass("ag-slider-field")},e.prototype.onValueChange=function(t){var e=this,o=r.J.EVENT_CHANGED;return this.addManagedListener(this.eText,o,(function(){var o=parseFloat(e.eText.getValue());e.eSlider.setValue(o.toString(),!0),t(o||0)})),this.addManagedListener(this.eSlider,o,(function(){var o=e.eSlider.getValue();e.eText.setValue(o,!0),t(parseFloat(o))})),this},e.prototype.setSliderWidth=function(t){return this.eSlider.setWidth(t),this},e.prototype.setTextFieldWidth=function(t){return this.eText.setWidth(t),this},e.prototype.setMinValue=function(t){return this.eSlider.setMinValue(t),this.eText.setMin(t),this},e.prototype.setMaxValue=function(t){return this.eSlider.setMaxValue(t),this.eText.setMax(t),this},e.prototype.getValue=function(){return this.eText.getValue()},e.prototype.setValue=function(t){return this.getValue()===t||(this.eText.setValue(t,!0),this.eSlider.setValue(t,!0),this.dispatchEvent({type:r.J.EVENT_CHANGED})),this},e.prototype.setStep=function(t){return this.eSlider.setStep(t),this.eText.setStep(t),this},e.TEMPLATE='<div class="ag-slider">\n <label ref="eLabel"></label>\n <div class="ag-wrapper ag-slider-wrapper">\n <ag-input-range ref="eSlider"></ag-input-range>\n <ag-input-number-field ref="eText"></ag-input-number-field>\n </div>\n </div>',p([(0,n.P)("eLabel")],e.prototype,"eLabel",void 0),p([(0,n.P)("eSlider")],e.prototype,"eSlider",void 0),p([(0,n.P)("eText")],e.prototype,"eText",void 0),p([s.o7],e.prototype,"init",null),e}(i.D)},67001:function(t,e,o){o.d(e,{b:function(){return r}});var n=o(26064),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)}}(),r=function(t){function e(e){return t.call(this,e,"ag-toggle-button")||this}return i(e,t),e.prototype.setValue=function(e,o){return t.prototype.setValue.call(this,e,o),this.addOrRemoveCssClass("ag-selected",this.getValue()),this},e}(n.U)},19158:function(t,e,o){o.d(e,{h:function(){return h},u:function(){return d}});var n=o(6788),i=o(72925),r=o(46599),s=o(79045),a=o(19837),p=o(78913),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)}}(),c=function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},l=new r.RI,h=function(){function t(t){this.cssClassStates={},this.getGui=t}return t.prototype.addCssClass=function(t){var e=this,o=(t||"").split(" ");o.length>1?o.forEach((function(t){return e.addCssClass(t)})):!0!==this.cssClassStates[t]&&t.length&&(this.getGui().classList.add(t),this.cssClassStates[t]=!0)},t.prototype.removeCssClass=function(t){var e=this,o=(t||"").split(" ");o.length>1?o.forEach((function(t){return e.removeCssClass(t)})):!1!==this.cssClassStates[t]&&t.length&&(this.getGui().classList.remove(t),this.cssClassStates[t]=!1)},t.prototype.containsCssClass=function(t){return this.getGui().classList.contains(t)},t.prototype.addOrRemoveCssClass=function(t,e){var o=this,n=(t||"").split(" ");n.length>1?n.forEach((function(t){return o.addOrRemoveCssClass(t,e)})):this.cssClassStates[t]!==e&&t.length&&(this.getGui().classList.toggle(t,e),this.cssClassStates[t]=e)},t}(),d=function(t){function e(e){var o=t.call(this)||this;return o.displayed=!0,o.visible=!0,o.compId=l.next(),o.cssClassManager=new h((function(){return o.eGui})),e&&o.setTemplate(e),o}return u(e,t),e.prototype.preConstructOnComponent=function(){this.usingBrowserTooltips=this.gridOptionsWrapper.isEnableBrowserTooltips()},e.prototype.getCompId=function(){return this.compId},e.prototype.getTooltipParams=function(){return{value:this.tooltipText,location:"UNKNOWN"}},e.prototype.setTooltip=function(t){var e=this;this.tooltipText!=t&&(this.tooltipText&&(e.usingBrowserTooltips?e.getGui().removeAttribute("title"):e.tooltipFeature=e.destroyBean(e.tooltipFeature)),null!=t&&(this.tooltipText=t,this.tooltipText&&(e.usingBrowserTooltips?e.getGui().setAttribute("title",e.tooltipText):e.tooltipFeature=e.createBean(new p.H(e)))))},e.prototype.createChildComponentsFromTags=function(t,e){var o=this;(0,s.copyNodeList)(t.childNodes).forEach((function(n){if(n instanceof HTMLElement){var i=o.createComponentFromElement(n,(function(t){t.getGui()&&o.copyAttributesFromNode(n,t.getGui())}),e);if(i){if(i.addItems&&n.children.length){o.createChildComponentsFromTags(n,e);var r=Array.prototype.slice.call(n.children);i.addItems(r)}o.swapComponentForNode(i,t,n)}else n.childNodes&&o.createChildComponentsFromTags(n,e)}}))},e.prototype.createComponentFromElement=function(t,o,n){var i=t.nodeName,r=n?n[t.getAttribute("ref")]:void 0,s=this.agStackComponentsRegistry.getComponentClass(i);if(s){e.elementGettingCreated=t;var a=new s(r);return a.setParentComponent(this),this.createBean(a,null,o),a}return null},e.prototype.copyAttributesFromNode=function(t,e){(0,s.iterateNamedNodeMap)(t.attributes,(function(t,o){return e.setAttribute(t,o)}))},e.prototype.swapComponentForNode=function(t,e,o){var n=t.getGui();e.replaceChild(n,o),e.insertBefore(document.createComment(o.nodeName),n),this.addDestroyFunc(this.destroyBean.bind(this,t)),this.swapInComponentForQuerySelectors(t,o)},e.prototype.swapInComponentForQuerySelectors=function(t,e){var o=this;this.iterateOverQuerySelectors((function(n){o[n.attributeName]===e&&(o[n.attributeName]=t)}))},e.prototype.iterateOverQuerySelectors=function(t){for(var e=Object.getPrototypeOf(this);null!=e;){var o=e.__agComponentMetaData,n=(0,a.getFunctionName)(e.constructor);o&&o[n]&&o[n].querySelectors&&o[n].querySelectors.forEach((function(e){return t(e)})),e=Object.getPrototypeOf(e)}},e.prototype.setTemplate=function(t,e){var o=(0,s.loadTemplate)(t);this.setTemplateFromElement(o,e)},e.prototype.setTemplateFromElement=function(t,e){this.eGui=t,this.eGui.__agComponent=this,this.wireQuerySelectors(),this.getContext()&&this.createChildComponentsFromTags(this.getGui(),e)},e.prototype.createChildComponentsPreConstruct=function(){this.getGui()&&this.createChildComponentsFromTags(this.getGui())},e.prototype.wireQuerySelectors=function(){var t=this;if(this.eGui){var e=this;this.iterateOverQuerySelectors((function(o){var n=function(t){return e[o.attributeName]=t};if(o.refSelector&&t.eGui.getAttribute("ref")===o.refSelector)n(t.eGui);else{var i=t.eGui.querySelector(o.querySelector);i&&n(i.__agComponent||i)}}))}},e.prototype.getGui=function(){return this.eGui},e.prototype.getFocusableElement=function(){return this.eGui},e.prototype.setParentComponent=function(t){this.parentComponent=t},e.prototype.getParentComponent=function(){return this.parentComponent},e.prototype.setGui=function(t){this.eGui=t},e.prototype.queryForHtmlElement=function(t){return this.eGui.querySelector(t)},e.prototype.queryForHtmlInputElement=function(t){return this.eGui.querySelector(t)},e.prototype.appendChild=function(t,e){if(e||(e=this.eGui),null!=t)if((0,s.isNodeOrElement)(t))e.appendChild(t);else{var o=t;e.appendChild(o.getGui()),this.addDestroyFunc(this.destroyBean.bind(this,o))}},e.prototype.isDisplayed=function(){return this.displayed},e.prototype.setVisible=function(t){t!==this.visible&&(this.visible=t,(0,s.setVisible)(this.eGui,t))},e.prototype.setDisplayed=function(t){if(t!==this.displayed){this.displayed=t,(0,s.setDisplayed)(this.eGui,t);var o={type:e.EVENT_DISPLAYED_CHANGED,visible:this.displayed};this.dispatchEvent(o)}},e.prototype.destroy=function(){this.tooltipFeature&&(this.tooltipFeature=this.destroyBean(this.tooltipFeature)),t.prototype.destroy.call(this)},e.prototype.addGuiEventListener=function(t,e){var o=this;this.eGui.addEventListener(t,e),this.addDestroyFunc((function(){return o.eGui.removeEventListener(t,e)}))},e.prototype.addCssClass=function(t){this.cssClassManager.addCssClass(t)},e.prototype.removeCssClass=function(t){this.cssClassManager.removeCssClass(t)},e.prototype.containsCssClass=function(t){return this.cssClassManager.containsCssClass(t)},e.prototype.addOrRemoveCssClass=function(t,e){this.cssClassManager.addOrRemoveCssClass(t,e)},e.prototype.getAttribute=function(t){var e=this.eGui;return e?e.getAttribute(t):null},e.prototype.getRefElement=function(t){return this.queryForHtmlElement('[ref="'+t+'"]')},e.EVENT_DISPLAYED_CHANGED="displayedChanged",c([(0,n.ds)("agStackComponentsRegistry")],e.prototype,"agStackComponentsRegistry",void 0),c([n.fK],e.prototype,"preConstructOnComponent",null),c([n.fK],e.prototype,"createChildComponentsPreConstruct",null),e}(i.X)},52442:function(t,e,o){o.d(e,{P:function(){return r},y:function(){return i}});var n=o(19837);function i(t){return s.bind(this,t,void 0)}function r(t){return s.bind(this,"[ref="+t+"]",t)}function s(t,e,o,i,r){null!==t?"number"!==typeof r?function(t,e,o){var i=function(t,e){t.__agComponentMetaData||(t.__agComponentMetaData={});t.__agComponentMetaData[e]||(t.__agComponentMetaData[e]={});return t.__agComponentMetaData[e]}(t,(0,n.getFunctionName)(t.constructor));i[e]||(i[e]=[]);i[e].push(o)}(o,"querySelectors",{attributeName:i,querySelector:t,refSelector:e}):console.error("AG Grid: QuerySelector should be on an attribute"):console.error("AG Grid: QuerySelector selector should not be null")}},78913:function(t,e,o){o.d(e,{H:function(){return l}});var n,i=o(6788),r=o(72925),s=o(25644),a=o(59565),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)}}(),u=function(){return u=Object.assign||function(t){for(var e,o=1,n=arguments.length;o<n;o++)for(var i in e=arguments[o])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},u.apply(this,arguments)},c=function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s};!function(t){t[t.NOTHING=0]="NOTHING",t[t.WAITING_TO_SHOW=1]="WAITING_TO_SHOW",t[t.SHOWING=2]="SHOWING"}(n||(n={}));var l=function(t){function e(e){var o=t.call(this)||this;return o.DEFAULT_SHOW_TOOLTIP_DELAY=2e3,o.DEFAULT_HIDE_TOOLTIP_DELAY=1e4,o.SHOW_QUICK_TOOLTIP_DIFF=1e3,o.FADE_OUT_TOOLTIP_TIMEOUT=1e3,o.state=n.NOTHING,o.tooltipInstanceCount=0,o.tooltipMouseTrack=!1,o.parentComp=e,o}return p(e,t),e.prototype.postConstruct=function(){this.tooltipShowDelay=this.gridOptionsWrapper.getTooltipDelay("show")||this.DEFAULT_SHOW_TOOLTIP_DELAY,this.tooltipHideDelay=this.gridOptionsWrapper.getTooltipDelay("hide")||this.DEFAULT_HIDE_TOOLTIP_DELAY,this.tooltipMouseTrack=this.gridOptionsWrapper.isTooltipMouseTrack();var t=this.parentComp.getGui();this.addManagedListener(t,"mouseenter",this.onMouseEnter.bind(this)),this.addManagedListener(t,"mouseleave",this.onMouseLeave.bind(this)),this.addManagedListener(t,"mousemove",this.onMouseMove.bind(this)),this.addManagedListener(t,"mousedown",this.onMouseDown.bind(this)),this.addManagedListener(t,"keydown",this.onKeyDown.bind(this))},e.prototype.destroy=function(){this.setToDoNothing(),t.prototype.destroy.call(this)},e.prototype.onMouseEnter=function(t){if(!(0,a.isIOSUserAgent)()&&this.state==n.NOTHING){var e=this.isLastTooltipHiddenRecently()?200:this.tooltipShowDelay;this.showTooltipTimeoutId=window.setTimeout(this.showTooltip.bind(this),e),this.lastMouseEvent=t,this.state=n.WAITING_TO_SHOW}},e.prototype.onMouseLeave=function(){this.setToDoNothing()},e.prototype.onKeyDown=function(){this.setToDoNothing()},e.prototype.setToDoNothing=function(){this.state===n.SHOWING&&this.hideTooltip(),this.clearTimeouts(),this.state=n.NOTHING},e.prototype.onMouseMove=function(t){this.lastMouseEvent=t,this.tooltipMouseTrack&&this.state===n.SHOWING&&this.tooltipComp&&this.positionTooltipUnderLastMouseEvent()},e.prototype.onMouseDown=function(){this.setToDoNothing()},e.prototype.hideTooltip=function(){this.tooltipComp&&(this.destroyTooltipComp(),e.lastTooltipHideTime=(new Date).getTime()),this.state=n.NOTHING},e.prototype.destroyTooltipComp=function(){var t=this;this.tooltipComp.getGui().classList.add("ag-tooltip-hiding");var e=this.tooltipPopupDestroyFunc,o=this.tooltipComp;window.setTimeout((function(){e(),t.getContext().destroyBean(o)}),this.FADE_OUT_TOOLTIP_TIMEOUT),this.tooltipPopupDestroyFunc=void 0,this.tooltipComp=void 0},e.prototype.isLastTooltipHiddenRecently=function(){return(new Date).getTime()-e.lastTooltipHideTime<this.SHOW_QUICK_TOOLTIP_DIFF},e.prototype.showTooltip=function(){var t=u({},this.parentComp.getTooltipParams());if((0,s.exists)(t.value)){this.state=n.SHOWING,this.tooltipInstanceCount++;var e=this.newTooltipComponentCallback.bind(this,this.tooltipInstanceCount);this.userComponentFactory.getTooltipCompDetails(t).newAgStackInstance().then(e)}else this.setToDoNothing()},e.prototype.newTooltipComponentCallback=function(t,e){if(this.state!==n.SHOWING||this.tooltipInstanceCount!==t)this.getContext().destroyBean(e);else{var o=e.getGui();this.tooltipComp=e,o.classList.contains("ag-tooltip")||o.classList.add("ag-tooltip-custom");var i=this.gridOptionsWrapper.getLocaleTextFunc(),r=this.popupService.addPopup({eChild:o,ariaLabel:i("ariaLabelTooltip","Tooltip")});r&&(this.tooltipPopupDestroyFunc=r.hideFunc),this.positionTooltipUnderLastMouseEvent(),this.hideTooltipTimeoutId=window.setTimeout(this.hideTooltip.bind(this),this.tooltipHideDelay)}},e.prototype.positionTooltipUnderLastMouseEvent=function(){this.popupService.positionPopupUnderMouseEvent({type:"tooltip",mouseEvent:this.lastMouseEvent,ePopup:this.tooltipComp.getGui(),nudgeY:18})},e.prototype.clearTimeouts=function(){this.showTooltipTimeoutId&&(window.clearTimeout(this.showTooltipTimeoutId),this.showTooltipTimeoutId=void 0),this.hideTooltipTimeoutId&&(window.clearTimeout(this.hideTooltipTimeoutId),this.hideTooltipTimeoutId=void 0)},c([(0,i.ds)("popupService")],e.prototype,"popupService",void 0),c([(0,i.ds)("userComponentFactory")],e.prototype,"userComponentFactory",void 0),c([(0,i.ds)("columnApi")],e.prototype,"columnApi",void 0),c([(0,i.ds)("gridApi")],e.prototype,"gridApi",void 0),c([i.o7],e.prototype,"postConstruct",null),e}(r.X)},12817:function(t,e,o){o.d(e,{G:function(){return c}});var n=o(6788),i=o(40691),r=o(18117),s=o(72925),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)}}(),p=function(){return p=Object.assign||function(t){for(var e,o=1,n=arguments.length;o<n;o++)for(var i in e=arguments[o])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},p.apply(this,arguments)},u=function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},c=function(t){function e(e,o){void 0===o&&(o={});var n=t.call(this)||this;return n.eFocusableElement=e,n.callbacks=o,n.callbacks=p({shouldStopEventPropagation:function(){return!1},onTabKeyDown:function(t){if(!t.defaultPrevented){var e=n.focusService.findNextFocusableElement(n.eFocusableElement,!1,t.shiftKey);e&&(e.focus(),t.preventDefault())}}},o),n}return a(e,t),e.prototype.postConstruct=function(){this.eFocusableElement.classList.add(e.FOCUS_MANAGED_CLASS),this.addKeyDownListeners(this.eFocusableElement),this.callbacks.onFocusIn&&this.addManagedListener(this.eFocusableElement,"focusin",this.callbacks.onFocusIn),this.callbacks.onFocusOut&&this.addManagedListener(this.eFocusableElement,"focusout",this.callbacks.onFocusOut)},e.prototype.addKeyDownListeners=function(t){var e=this;this.addManagedListener(t,"keydown",(function(t){t.defaultPrevented||(0,r.isStopPropagationForAgGrid)(t)||(e.callbacks.shouldStopEventPropagation(t)?(0,r.stopPropagationForAgGrid)(t):t.key===i.D.TAB?e.callbacks.onTabKeyDown(t):e.callbacks.handleKeyDown&&e.callbacks.handleKeyDown(t))}))},e.FOCUS_MANAGED_CLASS="ag-focus-managed",u([(0,n.ds)("focusService")],e.prototype,"focusService",void 0),u([n.o7],e.prototype,"postConstruct",null),e}(s.X)},96964:function(t,e,o){o.d(e,{y:function(){return r}});var n=o(19158),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)}}(),r=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.isPopup=function(){return!0},e.prototype.setParentComponent=function(e){e.addCssClass("ag-has-popup"),t.prototype.setParentComponent.call(this,e)},e.prototype.destroy=function(){var e=this.parentComponent;e&&e.isAlive()&&e.getGui().classList.remove("ag-has-popup"),t.prototype.destroy.call(this)},e}(n.u)},59936:function(t,e,o){o.d(e,{O:function(){return y}});var n,i=o(6788),r=o(88114),s=o(72925),a=o(79045),p=o(24436),u=o(18117),c=o(40691),l=o(3968),h=o(46599),d=o(68316),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)}}(),g=function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s};!function(t){t[t.vertical=0]="vertical",t[t.horizontal=1]="horizontal"}(n||(n={}));var v=0,y=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.popupList=[],e}return f(e,t),e.prototype.postConstruct=function(){var t=this;this.ctrlsService.whenReady((function(e){t.gridCtrl=e.gridCtrl,t.addManagedListener(t.gridCtrl,r.s.EVENT_KEYBOARD_FOCUS,(function(){t.popupList.forEach((function(t){return t.element.classList.add(l.c.AG_KEYBOARD_FOCUS)}))})),t.addManagedListener(t.gridCtrl,r.s.EVENT_MOUSE_FOCUS,(function(){t.popupList.forEach((function(t){return t.element.classList.remove(l.c.AG_KEYBOARD_FOCUS)}))}))}))},e.prototype.getPopupParent=function(){var t=this.gridOptionsWrapper.getPopupParent();return t||this.gridCtrl.getGui()},e.prototype.positionPopupForMenu=function(t){var e=t.eventSource.getBoundingClientRect(),o=this.getParentRect(),i=this.keepXYWithinBounds(t.ePopup,e.top-o.top,n.vertical),r=t.ePopup.clientWidth>0?t.ePopup.clientWidth:200;t.ePopup.style.minWidth=r+"px";var s,a=o.right-o.left-r;function p(){return e.right-o.left-2}function u(){return e.left-o.left-r}this.gridOptionsWrapper.isEnableRtl()?((s=u())<0&&(s=p()),s>a&&(s=0)):((s=p())>a&&(s=u()),s<0&&(s=0)),t.ePopup.style.left=s+"px",t.ePopup.style.top=i+"px"},e.prototype.positionPopupUnderMouseEvent=function(t){var e=t.ePopup,o=t.nudgeX,n=t.nudgeY,i=this.calculatePointerAlign(t.mouseEvent),r=i.x,s=i.y;this.positionPopup({ePopup:e,x:r,y:s,nudgeX:o,nudgeY:n,keepWithinBounds:!0}),this.callPostProcessPopup(t.type,t.ePopup,null,t.mouseEvent,t.column,t.rowNode)},e.prototype.calculatePointerAlign=function(t){var e=this.getParentRect();return{x:t.clientX-e.left,y:t.clientY-e.top}},e.prototype.positionPopupUnderComponent=function(t){var e=t.eventSource.getBoundingClientRect(),o=t.alignSide||"left",n=this.getParentRect(),i=e.left-n.left;"right"===o&&(i-=t.ePopup.offsetWidth-e.width),this.positionPopup({ePopup:t.ePopup,nudgeX:t.nudgeX,nudgeY:t.nudgeY,x:i,y:e.top-n.top+e.height,keepWithinBounds:t.keepWithinBounds}),this.callPostProcessPopup(t.type,t.ePopup,t.eventSource,null,t.column,t.rowNode)},e.prototype.positionPopupOverComponent=function(t){var e=t.eventSource.getBoundingClientRect(),o=this.getParentRect();this.positionPopup({ePopup:t.ePopup,nudgeX:t.nudgeX,nudgeY:t.nudgeY,x:e.left-o.left,y:e.top-o.top,keepWithinBounds:t.keepWithinBounds}),this.callPostProcessPopup(t.type,t.ePopup,t.eventSource,null,t.column,t.rowNode)},e.prototype.callPostProcessPopup=function(t,e,o,n,i,r){var s=this.gridOptionsWrapper.getPostProcessPopupFunc();s&&s({column:i,rowNode:r,ePopup:e,type:t,eventSource:o,mouseEvent:n})},e.prototype.positionPopup=function(t){var e=t.ePopup,o=t.keepWithinBounds,i=t.nudgeX,r=t.nudgeY,s=t.x,a=t.y;i&&(s+=i),r&&(a+=r),o&&(s=this.keepXYWithinBounds(e,s,n.horizontal),a=this.keepXYWithinBounds(e,a,n.vertical)),e.style.left=s+"px",e.style.top=a+"px"},e.prototype.getActivePopups=function(){return this.popupList.map((function(t){return t.element}))},e.prototype.getPopupList=function(){return this.popupList},e.prototype.getParentRect=function(){var t=this.gridOptionsWrapper.getDocument(),e=this.getPopupParent();e===t.body&&(e=t.documentElement);var o=getComputedStyle(e),n=e.getBoundingClientRect();return{top:n.top+parseFloat(o.borderTopWidth)||0,left:n.left+parseFloat(o.borderLeftWidth)||0,right:n.right+parseFloat(o.borderRightWidth)||0,bottom:n.bottom+parseFloat(o.borderBottomWidth)||0}},e.prototype.keepXYWithinBounds=function(t,e,o){var i=o===n.vertical,r=i?"clientHeight":"clientWidth",s=i?"top":"left",p=i?"offsetHeight":"offsetWidth",u=i?"scrollTop":"scrollLeft",c=this.gridOptionsWrapper.getDocument(),l=c.documentElement,h=this.getPopupParent(),d=h.getBoundingClientRect(),f=c.documentElement.getBoundingClientRect(),g=h===c.body,v=t[p],y=i?a.getAbsoluteHeight:a.getAbsoluteWidth,m=g?y(l)+l[u]:h[r];g&&(m-=Math.abs(f[s]-d[s]));var b=m-v;return Math.min(Math.max(e,0),Math.abs(b))},e.prototype.keepPopupPositionedRelativeTo=function(t){var e=this,o=this.getPopupParent(),i=o.getBoundingClientRect(),r=t.element.getBoundingClientRect(),s=i.top-r.top,a=i.left-r.left,p=s,u=a,c=t.ePopup.style.top,l=parseInt(c.substring(0,c.length-1),10),d=t.ePopup.style.left,f=parseInt(d.substring(0,d.length-1),10);return new h.oY((function(i){e.getFrameworkOverrides().setInterval((function(){var i=o.getBoundingClientRect(),r=t.element.getBoundingClientRect();if(0==r.top&&0==r.left&&0==r.height&&0==r.width)t.hidePopup();else{var c=i.top-r.top;if(c!=p){var h=e.keepXYWithinBounds(t.ePopup,l+s-c,n.vertical);t.ePopup.style.top=h+"px"}p=c;var d=i.left-r.left;if(d!=u){var g=e.keepXYWithinBounds(t.ePopup,f+a-d,n.horizontal);t.ePopup.style.left=g+"px"}u=d}}),200).then((function(t){i((function(){null!=t&&window.clearInterval(t)}))}))}))},e.prototype.addPopup=function(t){var e=this,o=t.modal,n=t.eChild,i=t.closeOnEsc,s=t.closedCallback,a=t.click,p=t.alwaysOnTop,u=t.afterGuiAttached,f=t.positionCallback,g=t.anchorToElement,y=t.ariaLabel,m=this.gridOptionsWrapper.getDocument(),b=new h.oY((function(t){return t((function(){}))}));if(!m)return console.warn("ag-grid: could not find the document, document is empty"),{hideFunc:function(){},stopAnchoringPromise:b};var C=this.popupList.findIndex((function(t){return t.element===n}));if(-1!==C){var E=this.popupList[C];return{hideFunc:E.hideFunc,stopAnchoringPromise:E.stopAnchoringPromise}}var T=this.getPopupParent();null==n.style.top&&(n.style.top="0px"),null==n.style.left&&(n.style.left="0px");var O=document.createElement("div"),w=this.environment.getTheme().theme;w&&O.classList.add(w),O.classList.add("ag-popup"),n.classList.add(this.gridOptionsWrapper.isEnableRtl()?"ag-rtl":"ag-ltr","ag-popup-child"),n.hasAttribute("role")||(0,d.setAriaRole)(n,"dialog"),(0,d.setAriaLabel)(n,y),this.focusService.isKeyboardMode()&&n.classList.add(l.c.AG_KEYBOARD_FOCUS),O.appendChild(n),T.appendChild(O),p?this.setAlwaysOnTop(O,!0):this.bringPopupToFront(O);var _=!1,P=function(t){O.contains(m.activeElement)&&(t.key===c.D.ESCAPE&&I({keyboardEvent:t}))},D=function(t){return I({mouseEvent:t})},S=function(t){return I({touchEvent:t})},I=function(t){void 0===t&&(t={});var o=t.mouseEvent,i=t.touchEvent,p=t.keyboardEvent;e.isEventFromCurrentPopup({mouseEvent:o,touchEvent:i},n)||e.isEventSameChainAsOriginalEvent({originalMouseEvent:a,mouseEvent:o,touchEvent:i})||_||(_=!0,T.removeChild(O),m.removeEventListener("keydown",P),m.removeEventListener("mousedown",D),m.removeEventListener("touchstart",S),m.removeEventListener("contextmenu",D),e.eventService.removeEventListener(r.s.EVENT_DRAG_STARTED,D),s&&s(o||i||p),e.popupList=e.popupList.filter((function(t){return t.element!==n})),b&&b.then((function(t){return t&&t()})))};return u&&u({hidePopup:I}),window.setTimeout((function(){i&&m.addEventListener("keydown",P),o&&(m.addEventListener("mousedown",D),e.eventService.addEventListener(r.s.EVENT_DRAG_STARTED,D),m.addEventListener("touchstart",S),m.addEventListener("contextmenu",D))}),0),f&&f(),g&&(b=this.keepPopupPositionedRelativeTo({element:g,ePopup:n,hidePopup:I})),this.popupList.push({element:n,wrapper:O,hideFunc:I,stopAnchoringPromise:b,instanceId:v++,isAnchored:!!g}),{hideFunc:I,stopAnchoringPromise:b}},e.prototype.hasAnchoredPopup=function(){return this.popupList.some((function(t){return t.isAnchored}))},e.prototype.isEventFromCurrentPopup=function(t,e){var o=t.mouseEvent,n=t.touchEvent,i=o||n;if(!i)return!1;var r=this.popupList.findIndex((function(t){return t.element===e}));if(-1===r)return!1;for(var s=r;s<this.popupList.length;s++){var a=this.popupList[s];if((0,u.isElementInEventPath)(a.element,i))return!0}return this.isElementWithinCustomPopup(i.target)},e.prototype.isElementWithinCustomPopup=function(t){for(var e=this.gridOptionsWrapper.getDocument();t&&t!==e.body;){if(t.classList.contains("ag-custom-component-popup")||null===t.parentElement)return!0;t=t.parentElement}return!1},e.prototype.isEventSameChainAsOriginalEvent=function(t){var e=t.originalMouseEvent,o=t.mouseEvent,n=t.touchEvent,i=null;if(o?i=o:n&&(i=n.touches[0]),i&&e){var r=o?o.screenX:0,s=o?o.screenY:0,a=Math.abs(e.screenX-r)<5,p=Math.abs(e.screenY-s)<5;if(a&&p)return!0}return!1},e.prototype.getWrapper=function(t){for(;!t.classList.contains("ag-popup")&&t.parentElement;)t=t.parentElement;return t.classList.contains("ag-popup")?t:null},e.prototype.setAlwaysOnTop=function(t,e){var o=this.getWrapper(t);o&&(o.classList.toggle("ag-always-on-top",!!e),e&&this.bringPopupToFront(o))},e.prototype.bringPopupToFront=function(t){var e=this.getPopupParent(),o=Array.prototype.slice.call(e.querySelectorAll(".ag-popup")),n=o.length,i=Array.prototype.slice.call(e.querySelectorAll(".ag-popup.ag-always-on-top")),r=i.length,s=this.getWrapper(t);if(s&&!(n<=1)&&e.contains(t)){var a=o.indexOf(s),u=s.querySelectorAll("div"),c=[];if(u.forEach((function(t){0!==t.scrollTop&&c.push([t,t.scrollTop])})),r)s.classList.contains("ag-always-on-top")?a!==n-1&&(0,p.last)(i).insertAdjacentElement("afterend",s):a!==n-r-1&&i[0].insertAdjacentElement("beforebegin",s);else a!==n-1&&(0,p.last)(o).insertAdjacentElement("afterend",s);for(;c.length;){var l=c.pop();l[0].scrollTop=l[1]}var h={type:"popupToFront",api:this.gridOptionsWrapper.getApi(),columnApi:this.gridOptionsWrapper.getColumnApi(),eWrapper:s};this.eventService.dispatchEvent(h)}},g([(0,i.ds)("environment")],e.prototype,"environment",void 0),g([(0,i.ds)("focusService")],e.prototype,"focusService",void 0),g([(0,i.ds)("ctrlsService")],e.prototype,"ctrlsService",void 0),g([i.o7],e.prototype,"postConstruct",null),e=g([(0,i.dR)("popupService")],e)}(s.X)},63806:function(t,e,o){o.d(e,{a:function(){return c}});var n=o(19158),i=o(79045),r=o(85127),s=o(68316),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)}}(),p=function(t,e){var o="function"===typeof Symbol&&t[Symbol.iterator];if(!o)return t;var n,i,r=o.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(n=r.next()).done;)s.push(n.value)}catch(a){i={error:a}}finally{try{n&&!n.done&&(o=r.return)&&o.call(r)}finally{if(i)throw i.error}}return s},u=function(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(p(arguments[e]));return t},c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return a(e,t),e.prototype.initialiseTabGuard=function(t){this.eTopGuard=this.createTabGuard("top"),this.eBottomGuard=this.createTabGuard("bottom"),this.eFocusableElement=this.getFocusableElement();var e=[this.eTopGuard,this.eBottomGuard],o={setTabIndex:function(t){e.forEach((function(e){return null!=t?e.setAttribute("tabIndex",t):e.removeAttribute("tabIndex")}))}};this.addTabGuards(this.eTopGuard,this.eBottomGuard),this.tabGuardCtrl=this.createManagedBean(new r.U({comp:o,eTopGuard:this.eTopGuard,eBottomGuard:this.eBottomGuard,eFocusableElement:this.eFocusableElement,onFocusIn:t.onFocusIn,onFocusOut:t.onFocusOut,focusInnerElement:t.focusInnerElement,handleKeyDown:t.handleKeyDown,onTabKeyDown:t.onTabKeyDown,shouldStopEventPropagation:t.shouldStopEventPropagation}))},e.prototype.createTabGuard=function(t){var e=document.createElement("div");return e.classList.add("ag-tab-guard","ag-tab-guard-"+t),(0,s.setAriaRole)(e,"presentation"),e},e.prototype.addTabGuards=function(t,e){this.eFocusableElement.insertAdjacentElement("afterbegin",t),this.eFocusableElement.insertAdjacentElement("beforeend",e)},e.prototype.removeAllChildrenExceptTabGuards=function(){var t=[this.eTopGuard,this.eBottomGuard];(0,i.clearElement)(this.getFocusableElement()),this.addTabGuards.apply(this,u(t))},e.prototype.forceFocusOutOfContainer=function(t){void 0===t&&(t=!1),this.tabGuardCtrl.forceFocusOutOfContainer(t)},e.prototype.appendChild=function(e,o){(0,i.isNodeOrElement)(e)||(e=e.getGui());var n=this.eBottomGuard;n?n.insertAdjacentElement("beforebegin",e):t.prototype.appendChild.call(this,e,o)},e}(n.u)},85127:function(t,e,o){o.d(e,{U:function(){return p}});var n=o(72925),i=o(6788),r=o(12817),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)}}(),a=function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},p=function(t){function e(e){var o=t.call(this)||this;o.skipTabGuardFocus=!1;var n=e.comp,i=e.eTopGuard,r=e.eBottomGuard,s=e.focusInnerElement,a=e.onFocusIn,p=e.onFocusOut,u=e.shouldStopEventPropagation,c=e.onTabKeyDown,l=e.handleKeyDown,h=e.eFocusableElement;return o.comp=n,o.eTopGuard=i,o.eBottomGuard=r,o.providedFocusInnerElement=s,o.eFocusableElement=h,o.providedFocusIn=a,o.providedFocusOut=p,o.providedShouldStopEventPropagation=u,o.providedOnTabKeyDown=c,o.providedHandleKeyDown=l,o}return s(e,t),e.prototype.postConstruct=function(){var t=this;this.createManagedBean(new r.G(this.eFocusableElement,{shouldStopEventPropagation:function(){return t.shouldStopEventPropagation()},onTabKeyDown:function(e){return t.onTabKeyDown(e)},handleKeyDown:function(e){return t.handleKeyDown(e)},onFocusIn:function(e){return t.onFocusIn(e)},onFocusOut:function(e){return t.onFocusOut(e)}})),this.activateTabGuards(),[this.eTopGuard,this.eBottomGuard].forEach((function(e){return t.addManagedListener(e,"focus",t.onFocus.bind(t))}))},e.prototype.handleKeyDown=function(t){this.providedHandleKeyDown&&this.providedHandleKeyDown(t)},e.prototype.tabGuardsAreActive=function(){return!!this.eTopGuard&&this.eTopGuard.hasAttribute("tabIndex")},e.prototype.shouldStopEventPropagation=function(){return!!this.providedShouldStopEventPropagation&&this.providedShouldStopEventPropagation()},e.prototype.activateTabGuards=function(){this.comp.setTabIndex(this.getGridTabIndex())},e.prototype.deactivateTabGuards=function(){this.comp.setTabIndex()},e.prototype.onFocus=function(t){if(this.skipTabGuardFocus)this.skipTabGuardFocus=!1;else{var e=t.target===this.eBottomGuard;this.providedFocusInnerElement?this.providedFocusInnerElement(e):this.focusInnerElement(e)}},e.prototype.onFocusIn=function(t){this.providedFocusIn&&this.providedFocusIn(t)||this.deactivateTabGuards()},e.prototype.onFocusOut=function(t){this.providedFocusOut&&this.providedFocusOut(t)||this.eFocusableElement.contains(t.relatedTarget)||this.activateTabGuards()},e.prototype.onTabKeyDown=function(t){var e=this;if(this.providedOnTabKeyDown)this.providedOnTabKeyDown(t);else if(!t.defaultPrevented){var o=this.tabGuardsAreActive();o&&this.deactivateTabGuards();var n=this.getNextFocusableElement(t.shiftKey);o&&setTimeout((function(){return e.activateTabGuards()}),0),n&&(n.focus(),t.preventDefault())}},e.prototype.getGridTabIndex=function(){return this.gridOptionsWrapper.getGridTabIndex()},e.prototype.focusInnerElement=function(t){void 0===t&&(t=!1);var e=this.focusService.findFocusableElements(this.eFocusableElement);this.tabGuardsAreActive()&&(e.splice(0,1),e.splice(e.length-1,1)),e.length&&e[t?e.length-1:0].focus()},e.prototype.getNextFocusableElement=function(t){return this.focusService.findNextFocusableElement(this.eFocusableElement,!1,t)},e.prototype.forceFocusOutOfContainer=function(t){void 0===t&&(t=!1);var e=t?this.eTopGuard:this.eBottomGuard;this.activateTabGuards(),this.skipTabGuardFocus=!0,e.focus()},a([(0,i.ds)("focusService")],e.prototype,"focusService",void 0),a([i.o7],e.prototype,"postConstruct",null),e}(n.X)},68246:function(t,e,o){o.d(e,{C:function(){return s}});var n=o(72925),i=o(78913),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)}}(),s=function(t){function e(e,o){var n=t.call(this)||this;return n.ctrl=e,n.beans=o,n}return r(e,t),e.prototype.setComp=function(t){this.comp=t,this.setupTooltip()},e.prototype.setupTooltip=function(){this.browserTooltips=this.beans.gridOptionsWrapper.isEnableBrowserTooltips(),this.updateTooltipText(),this.browserTooltips?this.comp.setTitle(null!=this.tooltip?this.tooltip:void 0):this.createTooltipFeatureIfNeeded()},e.prototype.updateTooltipText=function(){this.tooltip=this.ctrl.getTooltipValue()},e.prototype.createTooltipFeatureIfNeeded=function(){var t=this;if(null==this.genericTooltipFeature){var e={getTooltipParams:function(){return t.getTooltipParams()},getGui:function(){return t.ctrl.getGui()}};this.genericTooltipFeature=this.createManagedBean(new i.H(e),this.beans.context)}},e.prototype.refreshToolTip=function(){this.updateTooltipText(),this.browserTooltips&&this.comp.setTitle(null!=this.tooltip?this.tooltip:void 0)},e.prototype.getTooltipParams=function(){var t=this.ctrl,e=t.getColumn?t.getColumn():void 0,o=t.getColDef?t.getColDef():void 0,n=t.getRowNode?t.getRowNode():void 0;return{location:t.getLocation(),colDef:o,column:e,rowIndex:t.getRowIndex?t.getRowIndex():void 0,node:n,data:n?n.data:void 0,value:this.getTooltipText(),valueFormatted:t.getValueFormatted?t.getValueFormatted():void 0}},e.prototype.getTooltipText=function(){return this.tooltip},e.prototype.destroy=function(){t.prototype.destroy.call(this)},e}(n.X)},70326:function(t,e,o){o.d(e,{M:function(){return r}});var n=o(40432),i=o(18774),r=function(){function t(t,e){var o=this;void 0===e&&(e=!1),this.destroyFuncs=[],this.touching=!1,this.eventService=new n.U,this.eElement=t,this.preventMouseClick=e;var i=this.onTouchStart.bind(this),r=this.onTouchMove.bind(this),s=this.onTouchEnd.bind(this);this.eElement.addEventListener("touchstart",i,{passive:!0}),this.eElement.addEventListener("touchmove",r,{passive:!0}),this.eElement.addEventListener("touchend",s,{passive:!1}),this.destroyFuncs.push((function(){o.eElement.removeEventListener("touchstart",i,{passive:!0}),o.eElement.removeEventListener("touchmove",r,{passive:!0}),o.eElement.removeEventListener("touchend",s,{passive:!1})}))}return t.prototype.getActiveTouch=function(t){for(var e=0;e<t.length;e++){if(t[e].identifier===this.touchStart.identifier)return t[e]}return null},t.prototype.addEventListener=function(t,e){this.eventService.addEventListener(t,e)},t.prototype.removeEventListener=function(t,e){this.eventService.removeEventListener(t,e)},t.prototype.onTouchStart=function(e){var o=this;if(!this.touching){this.touchStart=e.touches[0],this.touching=!0,this.moved=!1;var n=this.touchStart;window.setTimeout((function(){var i=o.touchStart===n;if(o.touching&&i&&!o.moved){o.moved=!0;var r={type:t.EVENT_LONG_TAP,touchStart:o.touchStart,touchEvent:e};o.eventService.dispatchEvent(r)}}),500)}},t.prototype.onTouchMove=function(t){if(this.touching){var e=this.getActiveTouch(t.touches);if(e)!(0,i.areEventsNear)(e,this.touchStart,4)&&(this.moved=!0)}},t.prototype.onTouchEnd=function(e){if(this.touching){if(!this.moved){var o={type:t.EVENT_TAP,touchStart:this.touchStart};this.eventService.dispatchEvent(o),this.checkForDoubleTap()}this.preventMouseClick&&e.preventDefault(),this.touching=!1}},t.prototype.checkForDoubleTap=function(){var e=(new Date).getTime();if(this.lastTapTime&&this.lastTapTime>0)if(e-this.lastTapTime>t.DOUBLE_TAP_MILLIS){var o={type:t.EVENT_DOUBLE_TAP,touchStart:this.touchStart};this.eventService.dispatchEvent(o),this.lastTapTime=null}else this.lastTapTime=e;else this.lastTapTime=e},t.prototype.destroy=function(){this.destroyFuncs.forEach((function(t){return t()}))},t.EVENT_TAP="tap",t.EVENT_DOUBLE_TAP="doubleTap",t.EVENT_LONG_TAP="longTap",t.DOUBLE_TAP_MILLIS=500,t}()},81858:function(t,e,o){o.d(e,{w:function(){return l}});var n=o(6788),i=o(52442),r=o(68316),s=o(40691),a=o(19837),p=o(63806),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)}}(),c=function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},l=function(t){function e(o,n,i){void 0===o&&(o="default"),void 0===n&&(n="listbox");var r=t.call(this,e.getTemplate(o))||this;return r.cssIdentifier=o,r.ariaRole=n,r.listName=i,r.renderedRows=new Map,r.rowHeight=20,r.isDestroyed=!1,r}return u(e,t),e.prototype.postConstruct=function(){var t=this;this.addScrollListener(),this.rowHeight=this.getItemHeight(),this.addResizeObserver(),this.initialiseTabGuard({onFocusIn:function(e){return t.onFocusIn(e)},onFocusOut:function(e){return t.onFocusOut(e)},focusInnerElement:function(e){return t.focusInnerElement(e)},onTabKeyDown:function(e){return t.onTabKeyDown(e)},handleKeyDown:function(e){return t.handleKeyDown(e)}}),this.setAriaProperties()},e.prototype.setAriaProperties=function(){var t=this.gridOptionsWrapper.getLocaleTextFunc()("ariaDefaultListName",this.listName||"List"),e=this.eContainer;(0,r.setAriaRole)(e,this.ariaRole),(0,r.setAriaLabel)(e,t)},e.prototype.addResizeObserver=function(){var t=this.drawVirtualRows.bind(this),e=this.resizeObserverService.observeResize(this.getGui(),t);this.addDestroyFunc(e)},e.prototype.focusInnerElement=function(t){this.focusRow(t?this.model.getRowCount()-1:0)},e.prototype.onFocusIn=function(t){var e=t.target;return e.classList.contains("ag-virtual-list-item")&&(this.lastFocusedRowIndex=(0,r.getAriaPosInSet)(e)-1),!1},e.prototype.onFocusOut=function(t){return this.getFocusableElement().contains(t.relatedTarget)||(this.lastFocusedRowIndex=null),!1},e.prototype.handleKeyDown=function(t){switch(t.key){case s.D.UP:case s.D.DOWN:this.navigate(t.key===s.D.UP)&&t.preventDefault()}},e.prototype.onTabKeyDown=function(t){this.navigate(t.shiftKey)?t.preventDefault():this.focusService.focusInto(this.getGui(),!t.shiftKey)},e.prototype.navigate=function(t){if(null==this.lastFocusedRowIndex)return!1;var e=this.lastFocusedRowIndex+(t?-1:1);return!(e<0||e>=this.model.getRowCount())&&(this.focusRow(e),!0)},e.prototype.getLastFocusedRow=function(){return this.lastFocusedRowIndex},e.prototype.focusRow=function(t){var e=this;this.ensureIndexVisible(t),window.setTimeout((function(){var o=e.renderedRows.get(t);o&&o.eDiv.focus()}),10)},e.prototype.getComponentAt=function(t){var e=this.renderedRows.get(t);return e&&e.rowComponent},e.getTemplate=function(t){return'\n <div class="ag-virtual-list-viewport ag-'+t+'-virtual-list-viewport" role="presentation">\n <div class="ag-virtual-list-container ag-'+t+'-virtual-list-container" ref="eContainer"></div>\n </div>'},e.prototype.getItemHeight=function(){return this.gridOptionsWrapper.getListItemHeight()},e.prototype.ensureIndexVisible=function(t){var e=this.model.getRowCount();if("number"!==typeof t||t<0||t>=e)console.warn("AG Grid: invalid row index for ensureIndexVisible: "+t);else{var o=t*this.rowHeight,n=o+this.rowHeight,i=this.getGui(),r=i.scrollTop,s=i.offsetHeight,a=r+s<n;if(r>o)i.scrollTop=o;else if(a){var p=n-s;i.scrollTop=p}}},e.prototype.setComponentCreator=function(t){this.componentCreator=t},e.prototype.getRowHeight=function(){return this.rowHeight},e.prototype.getScrollTop=function(){return this.getGui().scrollTop},e.prototype.setRowHeight=function(t){this.rowHeight=t,this.refresh()},e.prototype.refresh=function(){var t=this;if(null!=this.model&&!this.isDestroyed){var e=this.model.getRowCount();this.eContainer.style.height=e*this.rowHeight+"px",(0,a.waitUntil)((function(){return t.eContainer.clientHeight>=e*t.rowHeight}),(function(){t.isDestroyed||(t.clearVirtualRows(),t.drawVirtualRows())}))}},e.prototype.clearVirtualRows=function(){var t=this;this.renderedRows.forEach((function(e,o){return t.removeRow(o)}))},e.prototype.drawVirtualRows=function(){var t=this.getGui(),e=t.scrollTop,o=e+t.offsetHeight,n=Math.floor(e/this.rowHeight),i=Math.floor(o/this.rowHeight);this.ensureRowsRendered(n,i)},e.prototype.ensureRowsRendered=function(t,e){var o=this;this.renderedRows.forEach((function(n,i){(i<t||i>e)&&i!==o.lastFocusedRowIndex&&o.removeRow(i)}));for(var n=t;n<=e;n++)this.renderedRows.has(n)||n<this.model.getRowCount()&&this.insertRow(n)},e.prototype.insertRow=function(t){var e=this,o=this.model.getRow(t),n=document.createElement("div");if(n.classList.add("ag-virtual-list-item","ag-"+this.cssIdentifier+"-virtual-list-item"),(0,r.setAriaRole)(n,"tree"===this.ariaRole?"treeitem":"option"),(0,r.setAriaSetSize)(n,this.model.getRowCount()),(0,r.setAriaPosInSet)(n,t+1),n.setAttribute("tabindex","-1"),"function"===typeof this.model.isRowSelected){var i=this.model.isRowSelected(t);(0,r.setAriaSelected)(n,!!i),(0,r.setAriaChecked)(n,i)}n.style.height=this.rowHeight+"px",n.style.top=this.rowHeight*t+"px";var s=this.componentCreator(o,n);s.addGuiEventListener("focusin",(function(){return e.lastFocusedRowIndex=t})),n.appendChild(s.getGui()),this.renderedRows.has(t-1)?this.renderedRows.get(t-1).eDiv.insertAdjacentElement("afterend",n):this.renderedRows.has(t+1)?this.renderedRows.get(t+1).eDiv.insertAdjacentElement("beforebegin",n):this.eContainer.appendChild(n),this.renderedRows.set(t,{rowComponent:s,eDiv:n})},e.prototype.removeRow=function(t){var e=this.renderedRows.get(t);this.eContainer.removeChild(e.eDiv),this.destroyBean(e.rowComponent),this.renderedRows.delete(t)},e.prototype.addScrollListener=function(){var t=this;this.addGuiEventListener("scroll",(function(){return t.drawVirtualRows()}))},e.prototype.setModel=function(t){this.model=t},e.prototype.destroy=function(){this.isDestroyed||(this.clearVirtualRows(),this.isDestroyed=!0,t.prototype.destroy.call(this))},c([(0,n.ds)("resizeObserverService")],e.prototype,"resizeObserverService",void 0),c([(0,n.ds)("focusService")],e.prototype,"focusService",void 0),c([(0,i.P)("eContainer")],e.prototype,"eContainer",void 0),c([n.o7],e.prototype,"postConstruct",null),e}(p.a)}}]);
@@ -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
+ */
@@ -0,0 +1 @@
1
+ (self.webpackChunk_mlflow_mlflow=self.webpackChunk_mlflow_mlflow||[]).push([[8712],{23106:function(){},13567:function(e,n,t){"use strict";t(27793);var r=t(50590),i=t(45532),s=t(80979),a=t(4859),o=t(23091),u=t(56340),l=t(77660),c=t(93411),h=t(19322),d=t(25503),f=t(4070),m=t(67986),g=function(e){var n=[],t=1e3,r=function(){},i=function(){},s=function e(n){n&&e.data(n),r(),i(),e.render()};return s.render=function(){var i=!0;r=s.invalidate=function(){i=!1},function r(){if(!i)return!0;n.splice(0,t).map(e),requestAnimationFrame(r)}()},s.data=function(e){return r(),n=e.slice(0),s},s.add=function(e){n=n.concat(e)},s.rate=function(e){return arguments.length?(t=e,s):t},s.remaining=function(){return n.length},s.clear=function(e){return arguments.length?(i=e,s):(i(),s)},s.invalidate=r,s},v=function(e){return e.width-e.margin.right-e.margin.left},p=function(e,n){return null===n?[]:"undefined"===typeof n.invert?function(e,n){if(0===e.length)return[];var t=n.domain(),r=n.range(),i=[];return r.forEach((function(n,r){n>=e[0]&&n<=e[1]&&i.push(t[r])})),i}(e,n):e.map((function(e){return n.invert(e)}))},y=function(e,n,t){return function(i){var s=e.brushes,a=e.brushNodes;if("undefined"===typeof i)return Object.keys(n.dimensions).reduce((function(e,t){var r=s[t];if(void 0!==r&&null!==(0,o.ZR)(a[t])){var i=(0,o.ZR)(a[t]),u=n.dimensions[t].yscale,l=p(i,u);e[t]={extent:r.extent(),selection:{raw:i,scaled:l}}}return e}),{});var u={};return t.g().selectAll(".brush").each((function(e){u[e]=(0,r.A)(this)})),Object.keys(n.dimensions).forEach((function(e){if(void 0!==i[e]){var t=s[e];if(void 0!==t){var r=n.dimensions[e],a=i[e].map(r.yscale);u[e].call(t).call(t.move,a.reverse())}}})),t.renderBrushed(),t}},b=function(e,n,t){return function(){var r=e.brushNodes,i=Object.keys(n.dimensions).filter((function(e){return r[e]&&null!==(0,o.ZR)(r[e])})),s=i.map((function(e){var t=(0,o.ZR)(r[e]);return"function"===typeof n.dimensions[e].yscale.invert?[n.dimensions[e].yscale.invert(t[1]),n.dimensions[e].yscale.invert(t[0])]:t}));if(0===i.length)return n.data;var a={date:function(e,t,r){return"function"===typeof n.dimensions[t].yscale.bandwidth?s[r][0]<=n.dimensions[t].yscale(e[t])&&n.dimensions[t].yscale(e[t])<=s[r][1]:s[r][0]<=e[t]&&e[t]<=s[r][1]},number:function(e,t,r){return"function"===typeof n.dimensions[t].yscale.bandwidth?s[r][0]<=n.dimensions[t].yscale(e[t])&&n.dimensions[t].yscale(e[t])<=s[r][1]:s[r][0]<=e[t]&&e[t]<=s[r][1]},string:function(e,t,r){return s[r][0]<=n.dimensions[t].yscale(e[t])&&n.dimensions[t].yscale(e[t])<=s[r][1]}};return n.data.filter((function(e){switch(t.predicate){case"AND":return i.every((function(t,r){return a[n.dimensions[t].type](e,t,r)}));case"OR":return i.some((function(t,r){return a[n.dimensions[t].type](e,t,r)}));default:throw new Error("Unknown brush predicate "+n.brushPredicate)}}))}},x=function(e,n,t,r){return function(i){e.brushed=i,t.call("brush",n,e.brushed,r),n.renderBrushed()}},w=function(e,n,t,s,a){return function(){t.g()||t.createAxes();var u=t.g().append("svg:g").attr("class","brush").each((function(u){(0,r.A)(this).call(function(e,n,t,r,s){return function(a,u){if(!n.dimensions.hasOwnProperty(a))return function(){};var l="string"===n.dimensions[a].type?n.dimensions[a].yscale.range()[n.dimensions[a].yscale.range().length-1]:n.dimensions[a].yscale.range()[0],c=(0,o.g2)(u).extent([[-15,0],[15,l]]),h=function(e){var t=Array.prototype.slice.call(e),r=t[0],i=(0,o.ZR)(t[2][0])||[],s=null;n.dimensions.hasOwnProperty(r)&&(s=n.dimensions[r].yscale);var a=p(i,s);return{axis:t[0],node:t[2][0],selection:{raw:i,scaled:a}}};return c.on("start",(function(){null!==i.f0.sourceEvent&&(r.call("brushstart",t,n.brushed,h(arguments)),"function"===typeof i.f0.sourceEvent.stopPropagation&&i.f0.sourceEvent.stopPropagation())})).on("brush",(function(){x(n,t,r,h(arguments))(b(e,n,s)())})).on("end",(function(){x(n,t,r)(b(e,n,s)()),r.call("brushend",t,n.brushed,h(arguments))})),e.brushes[a]=c,e.brushNodes[a]=u.node(),c}}(e,n,t,s,a)(u,(0,r.A)(this)))}));return u.selectAll("rect").style("visibility",null).attr("x",-15).attr("width",30),u.selectAll("rect.background").style("fill","transparent"),u.selectAll("rect.extent").style("fill","rgba(255,255,255,0.25)").style("stroke","rgba(0,0,0,0.6)"),u.selectAll(".resize rect").style("fill","rgba(0,0,0,0.1)"),t.brushExtents=y(e,n,t),t.brushReset=function(e,n,t){return function(i){var s=e.brushes;void 0===i?(n.brushed=!1,void 0!==t.g()&&null!==t.g()&&(t.g().selectAll(".brush").each((function(e){void 0!==s[e]&&(0,r.A)(this).call(s[e].move,null)})),t.renderBrushed())):(n.brushed=!1,void 0!==t.g()&&null!==t.g()&&(t.g().selectAll(".brush").each((function(e){e===i&&((0,r.A)(this).call(s[e].move,null),"function"===typeof s[e].type&&s[e].event((0,r.A)(this)))})),t.renderBrushed()))}}(e,n,t),t}},A=function(e,n){return function(){void 0!==n.g()&&null!==n.g()&&n.g().selectAll(".brush").remove(),e.brushes={},delete n.brushExtents,delete n.brushReset}},O=function(e,n,t,i,s){var a=s.selectAll(".brush").data(e,(function(e){return e.id}));a.enter().insert("g",".brush").attr("class","brush").attr("dimension",i).attr("id",(function(e){return"brush-"+Object.keys(n.dimensions).indexOf(i)+"-"+e.id})).each((function(e){e.brush((0,r.A)(this))})),a.each((function(n){(0,r.A)(this).attr("class","brush").selectAll(".overlay").style("pointer-events",(function(){var t=n.brush;return n.id===e.length-1&&void 0!==t?"all":"none"}))})),a.exit().remove()},M=function(e,n,t,r,i){var s=e.brushes,a=Object.keys(n.dimensions).filter((function(e,n){for(var t=s[e],r=0;r<t.length;r++){var i=document.getElementById("brush-"+n+"-"+r);if(i&&null!==(0,o.ZR)(i))return!0}return!1})),u=a.map((function(e){return s[e].filter((function(e){return!t.hideAxis().includes(e)})).map((function(t,r){return(0,o.ZR)(document.getElementById("brush-"+Object.keys(n.dimensions).indexOf(e)+"-"+r))})).map((function(t,r){return null===t||void 0===t?null:"function"===typeof n.dimensions[e].yscale.invert?[n.dimensions[e].yscale.invert(t[1]),n.dimensions[e].yscale.invert(t[0])]:t}))}));if(0===a.length)return n.data;var l={date:function(e,t,r){var i=u[r];if("function"===typeof n.dimensions[t].yscale.bandwidth){var s=!0,a=!1,o=void 0;try{for(var l,c=i[Symbol.iterator]();!(s=(l=c.next()).done);s=!0){var h=l.value;if(null!==h&&void 0!==h&&(h[0]<=n.dimensions[t].yscale(e[t])&&n.dimensions[t].yscale(e[t])<=h[1]))return!0}}catch(y){a=!0,o=y}finally{try{!s&&c.return&&c.return()}finally{if(a)throw o}}return!1}var d=!0,f=!1,m=void 0;try{for(var g,v=i[Symbol.iterator]();!(d=(g=v.next()).done);d=!0){var p=g.value;if(null!==p&&void 0!==p&&(p[0]<=e[t]&&e[t]<=p[1]))return!0}}catch(y){f=!0,m=y}finally{try{!d&&v.return&&v.return()}finally{if(f)throw m}}return!1},number:function(e,t,r){var i=u[r];if("function"===typeof n.dimensions[t].yscale.bandwidth){var s=!0,a=!1,o=void 0;try{for(var l,c=i[Symbol.iterator]();!(s=(l=c.next()).done);s=!0){var h=l.value;if(null!==h&&void 0!==h&&(h[0]<=n.dimensions[t].yscale(e[t])&&n.dimensions[t].yscale(e[t])<=h[1]))return!0}}catch(y){a=!0,o=y}finally{try{!s&&c.return&&c.return()}finally{if(a)throw o}}return!1}var d=!0,f=!1,m=void 0;try{for(var g,v=i[Symbol.iterator]();!(d=(g=v.next()).done);d=!0){var p=g.value;if(null!==p&&void 0!==p&&(p[0]<=e[t]&&e[t]<=p[1]))return!0}}catch(y){f=!0,m=y}finally{try{!d&&v.return&&v.return()}finally{if(f)throw m}}return!1},string:function(e,t,r){var i=u[r],s=!0,a=!1,o=void 0;try{for(var l,c=i[Symbol.iterator]();!(s=(l=c.next()).done);s=!0){var h=l.value;if(null!==h&&void 0!==h&&(h[0]<=n.dimensions[t].yscale(e[t])&&n.dimensions[t].yscale(e[t])<=h[1]))return!0}}catch(d){a=!0,o=d}finally{try{!s&&c.return&&c.return()}finally{if(a)throw o}}return!1}};return n.data.filter((function(e){switch(i.predicate){case"AND":return a.every((function(t,r){return l[n.dimensions[t].type](e,t,r)}));case"OR":return a.some((function(t,r){return l[n.dimensions[t].type](e,t,r)}));default:throw new Error("Unknown brush predicate "+n.brushPredicate)}}))},_=function(e,n,t){return function(r){e.brushed=r,t.call("brush",n,e.brushed),n.renderBrushed()}},R=function e(n,t,r,s,a){return function(u,l){var c=n.brushes,h=n.brushNodes,d="string"===t.dimensions[u].type?t.dimensions[u].yscale.range()[t.dimensions[u].yscale.range().length-1]:t.dimensions[u].yscale.range()[0],f=(0,o.g2)().extent([[-15,0],[15,d]]),m=c[u]?c[u].length:0,g="brush-"+Object.keys(t.dimensions).indexOf(u)+"-"+m;return c[u]?c[u].push({id:m,brush:f,node:g}):c[u]=[{id:m,brush:f,node:g}],h[u]?h[u].push({id:m,node:g}):h[u]=[{id:m,node:g}],f.on("start",(function(){null!==i.f0.sourceEvent&&(s.call("brushstart",r,t.brushed),"function"===typeof i.f0.sourceEvent.stopPropagation&&i.f0.sourceEvent.stopPropagation())})).on("brush",(function(e){_(t,r,s)(M(n,t,r,0,a))})).on("end",(function(){var h=c[u][c[u].length-1].id,d=document.getElementById("brush-"+Object.keys(t.dimensions).indexOf(u)+"-"+h),f=(0,o.ZR)(d);void 0!==f&&null!==f&&f[0]!==f[1]?(e(n,t,r,s,a)(u,l),O(c[u],t,0,u,l),_(t,r,s)(M(n,t,r,0,a))):i.f0.sourceEvent&&"[object MouseEvent]"===i.f0.sourceEvent.toString()&&null===i.f0.selection&&r.brushReset(u),s.call("brushend",r,t.brushed)})),f}},S=function(e,n,t,i,s){return function(a){var u=e.brushes,l=t.hideAxis();return"undefined"===typeof a?Object.keys(n.dimensions).filter((function(e){return!l.includes(e)})).reduce((function(e,t,r){var i=u[t];return e[t]=void 0===i||null===i?[]:i.reduce((function(e,i,s){var a=(0,o.ZR)(document.getElementById("brush-"+r+"-"+s));if(a){var u=n.dimensions[t].yscale,l=p(a,u);e.push({extent:i.brush.extent(),selection:{raw:a,scaled:l}})}return e}),[]),e}),{}):(Object.keys(n.dimensions).forEach((function(o,l){if(void 0!==a[o]&&null!==a[o]){var c=n.dimensions[o],h=a[o].map((function(e){return e.map(c.yscale)})).map((function(a,u){var c=R(e,n,t,i,s)(o,(0,r.A)("#brush-group-"+l));return c.extent([[-15,a[1]],[15,a[0]]]),{id:u,brush:c,ext:a}}));u[o]=h,O(h,n,0,o,(0,r.A)("#brush-group-"+l)),h.forEach((function(e,n){(0,r.A)("#brush-"+l+"-"+n).call(e.brush).call(e.brush.move,e.ext.reverse())}))}})),t.renderBrushed(),t)}},E=function(e,n,t,i,s){return function(){t.g()||t.createAxes();var a=t.hideAxis();return t.g().append("svg:g").attr("id",(function(e,n){return"brush-group-"+n})).attr("class","brush-group").attr("dimension",(function(e){return e})).each((function(o){a.includes(o)||function(e,n,t,r,i){return function(s,a){var o=e.brushes;R(e,n,t,r,i)(s,a),O(o[s],n,0,s,a)}}(e,n,t,i,s)(o,(0,r.A)(this))})),t.brushExtents=S(e,n,t,i,s),t.brushReset=function(e,n,t){return function(i){var s=e.brushes;if(void 0===i)void 0!==t.g()&&null!==t.g()&&(Object.keys(n.dimensions).forEach((function(e,n){var r=s[e];r&&r.forEach((function(e,r){var i=document.getElementById("brush-"+n+"-"+r);i&&null!==(0,o.ZR)(i)&&t.g().select("#brush-"+n+"-"+r).call(e.brush.move,null)}))})),t.renderBrushed());else if(void 0!==t.g()&&null!==t.g()){var a=s[i],u=Object.keys(n.dimensions).indexOf(i);a&&a.forEach((function(e,n){var i=document.getElementById("brush-"+u+"-"+n);null!==(0,o.ZR)(i)&&(t.g().select("#brush-"+u+"-"+n).call(e.brush.move,null),"function"===typeof e.event&&e.event((0,r.A)("#brush-"+u+"-"+n)))})),t.renderBrushed()}}}(e,n,t),t}},D=function(e,n){return function(){void 0!==n.g()&&null!==n.g()&&n.g().selectAll(".brush-group").remove(),e.brushes={},delete n.brushExtents,delete n.brushReset}},j=function(e,n){return function(){n.selection.select("svg").select("g#strums").remove(),n.selection.select("svg").select("rect#strum-events").remove(),n.on("axesreorder.strums",void 0),delete n.brushReset,e.strumRect=void 0}},P=function(e,n){return function(t,r){var i=e.strums[r],s=function(e,n){return function(t){var r=[e.p1[0]-e.minX,e.p1[1]-e.minX],i=[e.p2[0]-e.minX,e.p2[1]-e.minX],s=1-n/r[0],a=r[1]*(1-s),o=1-n/i[0],u=i[1]*(1-o),l=t[0],c=t[1],h=s*l+a,d=o*l+u;return c>Math.min(h,d)&&c<Math.max(h,d)}}(i,e.strums.width(r)),a=i.dims.left,o=i.dims.right,u=n.dimensions[a].yscale,l=n.dimensions[o].yscale;return s([u(t[a])-i.minX,l(t[o])-i.minX])}},T=function(e,n,t){var r=Object.getOwnPropertyNames(n.strums).filter((function(e){return!isNaN(e)})),i=t.data;if(0===r.length)return i;var s=P(n,t);return i.filter((function(n){switch(e.predicate){case"AND":return r.every((function(e){return s(n,e)}));case"OR":return r.some((function(e){return s(n,e)}));default:throw new Error("Unknown brush predicate "+t.brushPredicate)}}))},N=function(e,n){var t=e.strums[e.strums.active],r=n.selection.select("svg").select("g#strums");delete e.strums[e.strums.active],r.selectAll("line#strum-"+t.dims.i).remove(),r.selectAll("circle#strum-"+t.dims.i).remove()},C=function(e,n,t,r,i){return function(){var s=n.strums[n.strums.active];s&&s.p1[0]===s.p2[0]&&s.p1[1]===s.p2[1]&&N(n,r);var a=T(e,n,t);n.strums.active=void 0,t.brushed=a,r.renderBrushed(),i.call("brushend",r,t.brushed)}},I=function e(n,t,s,a,o,l,c){var h=a.selection.select("svg").select("g#strums"),d=l.dims.i,f=[l.p1,l.p2],m=h.selectAll("line#strum-"+d).data([l]),g=h.selectAll("circle#strum-"+d).data(f),v=(0,u.A)();m.enter().append("line").attr("id","strum-"+d).attr("class","strum"),m.attr("x1",(function(e){return e.p1[0]})).attr("y1",(function(e){return e.p1[1]})).attr("x2",(function(e){return e.p2[0]})).attr("y2",(function(e){return e.p2[1]})).attr("stroke","black").attr("stroke-width",2),v.on("drag",(function(r,u){var c=i.f0;l["p"+(u+=1)][0]=Math.min(Math.max(l.minX+1,c.x),l.maxX),l["p"+u][1]=Math.min(Math.max(l.minY,c.y),l.maxY),e(n,t,s,a,o,l,u-1)})).on("end",C(n,t,s,a,o)),g.enter().append("circle").attr("id","strum-"+d).attr("class","strum"),g.attr("cx",(function(e){return e[0]})).attr("cy",(function(e){return e[1]})).attr("r",5).style("opacity",(function(e,n){return void 0!==c&&n===c?.8:0})).on("mouseover",(function(){(0,r.A)(this).style("opacity",.8)})).on("mouseout",(function(){(0,r.A)(this).style("opacity",0)})).call(v)},X=function(e,n,t,r,s){return function(){var a=i.f0,o=n.strums[n.strums.active];o.p2[0]=Math.min(Math.max(o.minX+1,a.x-t.margin.left),o.maxX),o.p2[1]=Math.min(Math.max(o.minY,a.y-t.margin.top),o.maxY),I(e,n,t,r,s,o,1)}},B=function(e){return e.height-e.margin.top-e.margin.bottom},q=function(e,n,t,r){var i={i:-1,left:void 0,right:void 0};return Object.keys(e.dimensions).some((function(s,a){return!(t(s)<r[0])||(i.i=a,i.left=s,i.right=Object.keys(e.dimensions)[n.getOrderedDimensionKeys().indexOf(s)+1],!1)})),void 0===i.left?(i.i=0,i.left=n.getOrderedDimensionKeys()[0],i.right=n.getOrderedDimensionKeys()[1]):void 0===i.right&&(i.i=Object.keys(e.dimensions).length-1,i.right=i.left,i.left=n.getOrderedDimensionKeys()[Object.keys(e.dimensions).length-2]),i},z=function(e){return function(n,t){var r=Object.keys(e);return r.some((function(i,s){return i===n&&(s+s<r.length&&e[s+1]===t)}))}},V=function(e,n,t,r,i,a){return function(){void 0!==r.g()&&null!==r.g()||r.createAxes();var o=(0,u.A)();n.strums.active=void 0,n.strums.width=function(e){return void 0===n.strums[e]?void 0:n.strums[e].maxX-n.strums[e].minX},r.on("axesreorder.strums",(function(){var s=Object.getOwnPropertyNames(n.strums).filter((function(e){return!isNaN(e)}));s.length>0&&(s.forEach((function(e){var i=n.strums[e].dims;n.strums.active=e,z(t.dimensions)(i.left,i.right)||N(n,r)})),C(e,n,t,r,i)())})),r.selection.select("svg").append("g").attr("id","strums").attr("transform","translate("+t.margin.left+","+t.margin.top+")"),r.brushReset=function(e,n,t,r,i){return function(){Object.getOwnPropertyNames(n.strums).filter((function(e){return!isNaN(e)})).forEach((function(e){n.strums.active=e,N(n,r)})),C(e,n,t,r,i)()}}(e,n,t,r,i),o.on("start",function(e,n,t,r){return function(){var i=(0,s.A)(e.strumRect.node());i[0]=i[0]-n.margin.left,i[1]=i[1]-n.margin.top;var a=q(n,t,r,i),o={p1:i,dims:a,minX:r(a.left),maxX:r(a.right),minY:0,maxY:B(n)};o.p1[0]=Math.min(Math.max(o.minX,i[0]),o.maxX),o.p2=o.p1.slice(),e.strums[a.i]=o,e.strums.active=a.i}}(n,t,r,a)).on("drag",X(e,n,t,r,i)).on("end",C(e,n,t,r,i)),n.strumRect=r.selection.select("svg").insert("rect","g#strums").attr("id","strum-events").attr("x",t.margin.left).attr("y",t.margin.top).attr("width",v(t)).attr("height",B(t)+2).style("opacity",0).call(o)}},F=function(e,n){return function(){n.selection.select("svg").select("g#arcs").remove(),n.selection.select("svg").select("rect#arc-events").remove(),n.on("axesreorder.arcs",void 0),delete n.brushReset,e.strumRect=void 0}},Z=function(e,n){return Math.sqrt(e*e+n*n)},L=function(e){return e>Math.PI?1.5*Math.PI-e:.5*Math.PI-e},K=function(e,n){return function(t,r){var i=e.arcs[r],s=function(e){return function(n){var t=L(e.startAngle),r=L(e.endAngle);if(t>r){var i=t;t=r,r=i}return n>=t&&n<=r}}(i),a=i.dims.left,o=i.dims.right,u=n.dimensions[a].yscale,l=n.dimensions[o].yscale,c=e.arcs.width(r),h=u(t[a])-l(t[o]),d=Z(c,h);return s(Math.asin(h/d))}},Y=function(e,n,t){var r=Object.getOwnPropertyNames(n.arcs).filter((function(e){return!isNaN(e)})),i=t.data;if(0===r.length)return i;var s=K(n,t);return i.filter((function(n){switch(e.predicate){case"AND":return r.every((function(e){return s(n,e)}));case"OR":return r.some((function(e){return s(n,e)}));default:throw new Error("Unknown brush predicate "+t.brushPredicate)}}))},W=function(e,n){var t=e.arcs[e.arcs.active],r=n.selection.select("svg").select("g#arcs");delete e.arcs[e.arcs.active],e.arcs.active=void 0,r.selectAll("line#arc-"+t.dims.i).remove(),r.selectAll("circle#arc-"+t.dims.i).remove(),r.selectAll("path#arc-"+t.dims.i).remove()},U=function(e,n,t,r,i){return function(){var s=n.arcs[n.arcs.active];if(s&&s.p1[0]===s.p2[0]&&s.p1[1]===s.p2[1]&&W(n,r),s){var a=n.arcs.startAngle(n.arcs.active);s.startAngle=a,s.endAngle=a,s.arc.outerRadius(n.arcs.length(n.arcs.active)).startAngle(a).endAngle(a)}n.arcs.active=void 0,t.brushed=Y(e,n,t),r.renderBrushed(),i.call("brushend",r,t.brushed)}},H=function e(n,t,s,a,o,l,c){var h=a.selection.select("svg").select("g#arcs"),d=l.dims.i,f=[l.p2,l.p3],m=h.selectAll("line#arc-"+d).data([{p1:l.p1,p2:l.p2},{p1:l.p1,p2:l.p3}]),g=h.selectAll("circle#arc-"+d).data(f),v=(0,u.A)(),p=h.selectAll("path#arc-"+d).data([l]);p.enter().append("path").attr("id","arc-"+d).attr("class","arc").style("fill","orange").style("opacity",.5),p.attr("d",l.arc).attr("transform","translate("+l.p1[0]+","+l.p1[1]+")"),m.enter().append("line").attr("id","arc-"+d).attr("class","arc"),m.attr("x1",(function(e){return e.p1[0]})).attr("y1",(function(e){return e.p1[1]})).attr("x2",(function(e){return e.p2[0]})).attr("y2",(function(e){return e.p2[1]})).attr("stroke","black").attr("stroke-width",2),v.on("drag",(function(r,u){var c=i.f0;l["p"+(u+=2)][0]=Math.min(Math.max(l.minX+1,c.x),l.maxX),l["p"+u][1]=Math.min(Math.max(l.minY,c.y),l.maxY);var h=3===u?t.arcs.startAngle(d):t.arcs.endAngle(d);(l.startAngle<Math.PI&&l.endAngle<Math.PI&&h<Math.PI||l.startAngle>=Math.PI&&l.endAngle>=Math.PI&&h>=Math.PI)&&(2===u?(l.endAngle=h,l.arc.endAngle(h)):3===u&&(l.startAngle=h,l.arc.startAngle(h))),e(n,t,s,a,o,l,u-2)})).on("end",U(n,t,s,a,o)),g.enter().append("circle").attr("id","arc-"+d).attr("class","arc"),g.attr("cx",(function(e){return e[0]})).attr("cy",(function(e){return e[1]})).attr("r",5).style("opacity",(function(e,n){return void 0!==c&&n===c?.8:0})).on("mouseover",(function(){(0,r.A)(this).style("opacity",.8)})).on("mouseout",(function(){(0,r.A)(this).style("opacity",0)})).call(v)},G=function(e,n,t,r,s){return function(){var a=i.f0,o=n.arcs[n.arcs.active];o.p2[0]=Math.min(Math.max(o.minX+1,a.x-t.margin.left),o.maxX),o.p2[1]=Math.min(Math.max(o.minY,a.y-t.margin.top),o.maxY),o.p3=o.p2.slice(),H(e,n,t,r,s,o,1)}},J=function(e,n){var t=e[0]-n[0],r=e[1]-n[1],i=Z(t,r);return Math.asin(r/i)},Q=function(e,n,t,r,i,a){return function(){r.g()||r.createAxes();var o=(0,u.A)();n.arcs.active=void 0,n.arcs.width=function(e){var t=n.arcs[e];return void 0===t?void 0:t.maxX-t.minX},n.arcs.endAngle=function(e){return function(n){var t=e.arcs[n];if(void 0!==t){var r=-J(t.p1,t.p2)+Math.PI/2;return t.p1[0]>t.p2[0]&&(r=2*Math.PI-r),r}}}(n),n.arcs.startAngle=function(e){return function(n){var t=e.arcs[n];if(void 0!==t){var r=-J(t.p1,t.p3)+Math.PI/2;return t.p1[0]>t.p3[0]&&(r=2*Math.PI-r),r}}}(n),n.arcs.length=function(e){return function(n){var t=e.arcs[n];if(void 0!==t){var r=t.p1[0]-t.p2[0],i=t.p1[1]-t.p2[1];return Z(r,i)}}}(n),r.on("axesreorder.arcs",(function(){var s=Object.getOwnPropertyNames(arcs).filter((function(e){return!isNaN(e)}));s.length>0&&(s.forEach((function(e){var t=arcs[e].dims;n.arcs.active=e,z(t)(t.left,t.right)||W(n,r)})),U(e,n,t,r,i)())})),r.selection.select("svg").append("g").attr("id","arcs").attr("transform","translate("+t.margin.left+","+t.margin.top+")"),r.brushReset=function(e,n,t,r,i){return function(){Object.getOwnPropertyNames(n.arcs).filter((function(e){return!isNaN(e)})).forEach((function(e){n.arcs.active=e,W(n,r)})),U(e,n,t,r,i)()}}(e,n,t,r,i),o.on("start",function(e,n,t,r){return function(){var i=(0,s.A)(e.strumRect.node());i[0]=i[0]-n.margin.left,i[1]=i[1]-n.margin.top;var a=q(n,t,r,i),o={p1:i,dims:a,minX:r(a.left),maxX:r(a.right),minY:0,maxY:B(n),startAngle:void 0,endAngle:void 0,arc:(0,l.A)().innerRadius(0)};o.p1[0]=Math.min(Math.max(o.minX,i[0]),o.maxX),o.p2=o.p1.slice(),o.p3=o.p1.slice(),e.arcs[a.i]=o,e.arcs.active=a.i}}(n,t,r,a)).on("drag",G(e,n,t,r,i)).on("end",U(e,n,t,r,i)),n.strumRect=r.selection.select("svg").insert("rect","g#arcs").attr("id","arc-events").attr("x",t.margin.left).attr("y",t.margin.top).attr("width",v(t)).attr("height",B(t)+2).style("opacity",0).call(o)}},$=function(e,n,t,r){return{x:((e.x*n.y-e.y*n.x)*(t.x-r.x)-(e.x-n.x)*(t.x*r.y-t.y*r.x))/((e.x-n.x)*(t.y-r.y)-(e.y-n.y)*(t.x-r.x)),y:((e.x*n.y-e.y*n.x)*(t.y-r.y)-(e.y-n.y)*(t.x*r.y-t.y*r.x))/((e.x-n.x)*(t.y-r.y)-(e.y-n.y)*(t.x-r.x))}},ee=function(e,n,t){return function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(null===r)return e.mode;if(-1===t.brushModes().indexOf(r))throw new Error("pc.brushmode: Unsupported brush mode: "+r);return r!==e.mode&&("None"!==e.mode&&t.brushReset(),e.modes[e.mode].uninstall(t),e.mode=r,e.modes[e.mode].install(),"None"===r?delete t.brushPredicate:t.brushPredicate=function(e,n,t){return function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(null===r)return e.predicate;if("AND"!==(r=String(r).toUpperCase())&&"OR"!==r)throw new Error("Invalid predicate "+r);return e.predicate=r,n.brushed=e.currentMode().selected(),t.renderBrushed(),t}}(e,n,t)),t}},ne=function(e){return function(n){return e.dimensions[n].title?e.dimensions[n].title:n}},te=function(e,n,t){return function(r){n.flip(r),n.brushReset(r),n.selection.select("svg").selectAll("g.axis").filter((function(e){return e===r})).transition().duration(e.animationTime).call(t.scale(e.dimensions[r].yscale)),n.render()}},re=function(e,n){if(e.rotateLabels){var t=i.f0.deltaY;t=(t=t<0?-5:t)>0?5:t,e.dimensionTitleRotation+=t,n.svg.selectAll("text.label").attr("transform","translate(0,-5) rotate("+e.dimensionTitleRotation+")"),i.f0.preventDefault()}},ie=function(e){var n=e.height-e.margin.top-e.margin.bottom;return"bottom"==e.nullValueSeparator?[n+1-e.nullValueSeparatorPadding.bottom-e.nullValueSeparatorPadding.top,1]:"top"==e.nullValueSeparator?[n+1,1+e.nullValueSeparatorPadding.bottom+e.nullValueSeparatorPadding.top]:[n+1,1]},se=function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")},ae=function(){function e(e,n){for(var t=0;t<n.length;t++){var r=n[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(n,t,r){return t&&e(n.prototype,t),r&&e(n,r),n}}(),oe=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},ue=function(e){return null!==e&&void 0!==e},le=function(e,n){var t=void 0;switch(n.orient){case"left":default:t=(0,f.V4)(n.yscale);break;case"right":t=(0,f.eH)(n.yscale);break;case"top":t=(0,f.tl)(n.yscale);break;case"bottom":t=(0,f.l7)(n.yscale)}return t.ticks(n.ticks).tickValues(n.tickValues).tickSizeInner(n.innerTickSize).tickSizeOuter(n.outerTickSize).tickPadding(n.tickPadding).tickFormat(n.tickFormat),t},ce=function(e,n){if(e.brushed&&e.brushed.length!==e.data.length)return!0;var t=n.currentMode().brushState();for(var r in t)if(t.hasOwnProperty(r))return!0;return!1},he=1e-6,de=function(){function e(n){se(this,e),this.setElements(n)}return ae(e,[{key:"e",value:function(e,n){return e<1||e>this.elements.length||n<1||n>this.elements[0].length?null:this.elements[e-1][n-1]}},{key:"row",value:function(e){return e>this.elements.length?null:new fe(this.elements[e-1])}},{key:"col",value:function(e){if(0===this.elements.length)return null;if(e>this.elements[0].length)return null;for(var n=[],t=this.elements.length,r=0;r<t;r++)n.push(this.elements[r][e-1]);return new fe(n)}},{key:"dimensions",value:function(){var e=0===this.elements.length?0:this.elements[0].length;return{rows:this.elements.length,cols:e}}},{key:"rows",value:function(){return this.elements.length}},{key:"cols",value:function(){return 0===this.elements.length?0:this.elements[0].length}},{key:"eql",value:function(n){var t=n.elements||n;if(t[0]&&"undefined"!==typeof t[0][0]||(t=new e(t).elements),0===this.elements.length||0===t.length)return this.elements.length===t.length;if(this.elements.length!==t.length)return!1;if(this.elements[0].length!==t[0].length)return!1;for(var r,i=this.elements.length,s=this.elements[0].length;i--;)for(r=s;r--;)if(Math.abs(this.elements[i][r]-t[i][r])>he)return!1;return!0}},{key:"dup",value:function(){return new e(this.elements)}},{key:"map",value:function(n,t){if(0===this.elements.length)return new e([]);for(var r,i=[],s=this.elements.length,a=this.elements[0].length;s--;)for(r=a,i[s]=[];r--;)i[s][r]=n.call(t,this.elements[s][r],s+1,r+1);return new e(i)}},{key:"isSameSizeAs",value:function(n){var t=n.elements||n;return"undefined"===typeof t[0][0]&&(t=new e(t).elements),0===this.elements.length?0===t.length:this.elements.length===t.length&&this.elements[0].length===t[0].length}},{key:"add",value:function(n){if(0===this.elements.length)return this.map((function(e){return e}));var t=n.elements||n;return"undefined"===typeof t[0][0]&&(t=new e(t).elements),this.isSameSizeAs(t)?this.map((function(e,n,r){return e+t[n-1][r-1]})):null}},{key:"subtract",value:function(n){if(0===this.elements.length)return this.map((function(e){return e}));var t=n.elements||n;return"undefined"===typeof t[0][0]&&(t=new e(t).elements),this.isSameSizeAs(t)?this.map((function(e,n,r){return e-t[n-1][r-1]})):null}},{key:"canMultiplyFromLeft",value:function(n){if(0===this.elements.length)return!1;var t=n.elements||n;return"undefined"===typeof t[0][0]&&(t=new e(t).elements),this.elements[0].length===t.length}},{key:"multiply",value:function(n){if(0===this.elements.length)return null;if(!n.elements)return this.map((function(e){return e*n}));var t=!!n.modulus;if("undefined"===typeof(c=n.elements||n)[0][0]&&(c=new e(c).elements),!this.canMultiplyFromLeft(c))return null;for(var r,i,s,a=this.elements.length,o=c[0].length,u=this.elements[0].length,l=[];a--;)for(r=o,l[a]=[];r--;){for(i=u,s=0;i--;)s+=this.elements[a][i]*c[i][r];l[a][r]=s}var c=new e(l);return t?c.col(1):c}},{key:"minor",value:function(n,t,r,i){if(0===this.elements.length)return null;for(var s,a,o,u=[],l=r,c=this.elements.length,h=this.elements[0].length;l--;)for(u[s=r-l-1]=[],a=i;a--;)o=i-a-1,u[s][o]=this.elements[(n+s-1)%c][(t+o-1)%h];return new e(u)}},{key:"transpose",value:function(){if(0===this.elements.length)return new e([]);for(var n,t=this.elements.length,r=[],i=this.elements[0].length;i--;)for(n=t,r[i]=[];n--;)r[i][n]=this.elements[n][i];return new e(r)}},{key:"isSquare",value:function(){var e=0===this.elements.length?0:this.elements[0].length;return this.elements.length===e}},{key:"max",value:function(){if(0===this.elements.length)return null;for(var e,n=0,t=this.elements.length,r=this.elements[0].length;t--;)for(e=r;e--;)Math.abs(this.elements[t][e])>Math.abs(n)&&(n=this.elements[t][e]);return n}},{key:"indexOf",value:function(e){if(0===this.elements.length)return null;var n,t,r=this.elements.length,i=this.elements[0].length;for(n=0;n<r;n++)for(t=0;t<i;t++)if(this.elements[n][t]===e)return{i:n+1,j:t+1};return null}},{key:"diagonal",value:function(){if(!this.isSquare)return null;for(var e=[],n=this.elements.length,t=0;t<n;t++)e.push(this.elements[t][t]);return new fe(e)}},{key:"toRightTriangular",value:function(){if(0===this.elements.length)return new e([]);var n,t,r,i,s=this.dup(),a=this.elements.length,o=this.elements[0].length;for(t=0;t<a;t++){if(0===s.elements[t][t])for(r=t+1;r<a;r++)if(0!==s.elements[r][t]){for(n=[],i=0;i<o;i++)n.push(s.elements[t][i]+s.elements[r][i]);s.elements[t]=n;break}if(0!==s.elements[t][t])for(r=t+1;r<a;r++){var u=s.elements[r][t]/s.elements[t][t];for(n=[],i=0;i<o;i++)n.push(i<=t?0:s.elements[r][i]-s.elements[t][i]*u);s.elements[r]=n}}return s}},{key:"determinant",value:function(){if(0===this.elements.length)return 1;if(!this.isSquare())return null;for(var e=this.toRightTriangular(),n=e.elements[0][0],t=e.elements.length,r=1;r<t;r++)n*=e.elements[r][r];return n}},{key:"isSingular",value:function(){return this.isSquare()&&0===this.determinant()}},{key:"trace",value:function(){if(0===this.elements.length)return 0;if(!this.isSquare())return null;for(var e=this.elements[0][0],n=this.elements.length,t=1;t<n;t++)e+=this.elements[t][t];return e}},{key:"rank",value:function(){if(0===this.elements.length)return 0;for(var e,n=this.toRightTriangular(),t=0,r=this.elements.length,i=this.elements[0].length;r--;)for(e=i;e--;)if(Math.abs(n.elements[r][e])>he){t++;break}return t}},{key:"augment",value:function(n){if(0===this.elements.length)return this.dup();var t=n.elements||n;"undefined"===typeof t[0][0]&&(t=new e(t).elements);var r,i=this.dup(),s=i.elements[0].length,a=i.elements.length,o=t[0].length;if(a!==t.length)return null;for(;a--;)for(r=o;r--;)i.elements[a][s+r]=t[a][r];return i}},{key:"inverse",value:function(){if(0===this.elements.length)return null;if(!this.isSquare()||this.isSingular())return null;for(var n,t,r,i,s,a=this.elements.length,o=a,u=this.augment(e.I(a)).toRightTriangular(),l=u.elements[0].length,c=[];o--;){for(r=[],c[o]=[],i=u.elements[o][o],t=0;t<l;t++)s=u.elements[o][t]/i,r.push(s),t>=a&&c[o].push(s);for(u.elements[o]=r,n=o;n--;){for(r=[],t=0;t<l;t++)r.push(u.elements[n][t]-u.elements[o][t]*u.elements[n][o]);u.elements[n]=r}}return new e(c)}},{key:"round",value:function(){return this.map((function(e){return Math.round(e)}))}},{key:"snapTo",value:function(e){return this.map((function(n){return Math.abs(n-e)<=he?e:n}))}},{key:"inspect",value:function(){var e=[],n=this.elements.length;if(0===n)return"[]";for(var t=0;t<n;t++)e.push(new fe(this.elements[t]).inspect());return e.join("\n")}},{key:"setElements",value:function(e){var n,t,r=e.elements||e;if(r[0]&&"undefined"!==typeof r[0][0]){for(n=r.length,this.elements=[];n--;)for(t=r[n].length,this.elements[n]=[];t--;)this.elements[n][t]=r[n][t];return this}var i=r.length;for(this.elements=[],n=0;n<i;n++)this.elements.push([r[n]]);return this}},{key:"flatten",value:function(){var e=[];if(0==this.elements.length)return[];for(var n=0;n<this.elements[0].length;n++)for(var t=0;t<this.elements.length;t++)e.push(this.elements[t][n]);return e}},{key:"ensure4x4",value:function(){if(4==this.elements.length&&4==this.elements[0].length)return this;if(this.elements.length>4||this.elements[0].length>4)return null;for(var e=0;e<this.elements.length;e++)for(var n=this.elements[e].length;n<4;n++)e==n?this.elements[e].push(1):this.elements[e].push(0);for(e=this.elements.length;e<4;e++)0==e?this.elements.push([1,0,0,0]):1==e?this.elements.push([0,1,0,0]):2==e?this.elements.push([0,0,1,0]):3==e&&this.elements.push([0,0,0,1]);return this}},{key:"make3x3",value:function(){return 4!=this.elements.length||4!=this.elements[0].length?null:new e([[this.elements[0][0],this.elements[0][1],this.elements[0][2]],[this.elements[1][0],this.elements[1][1],this.elements[1][2]],[this.elements[2][0],this.elements[2][1],this.elements[2][2]]])}}]),e}();de.I=function(e){for(var n,t=[],r=e;r--;)for(n=e,t[r]=[];n--;)t[r][n]=r===n?1:0;return new de(t)},de.Diagonal=function(e){for(var n=e.length,t=de.I(n);n--;)t.elements[n][n]=e[n];return t},de.Rotation=function(e,n){if(!n)return new de([[Math.cos(e),-Math.sin(e)],[Math.sin(e),Math.cos(e)]]);var t=n.dup();if(3!==t.elements.length)return null;var r=t.modulus(),i=t.elements[0]/r,s=t.elements[1]/r,a=t.elements[2]/r,o=Math.sin(e),u=Math.cos(e),l=1-u;return new de([[l*i*i+u,l*i*s-o*a,l*i*a+o*s],[l*i*s+o*a,l*s*s+u,l*s*a-o*i],[l*i*a-o*s,l*s*a+o*i,l*a*a+u]])},de.RotationX=function(e){var n=Math.cos(e),t=Math.sin(e);return new de([[1,0,0],[0,n,-t],[0,t,n]])},de.RotationY=function(e){var n=Math.cos(e),t=Math.sin(e);return new de([[n,0,t],[0,1,0],[-t,0,n]])},de.RotationZ=function(e){var n=Math.cos(e),t=Math.sin(e);return new de([[n,-t,0],[t,n,0],[0,0,1]])},de.Random=function(e,n){return de.Zero(e,n).map((function(){return Math.random()}))},de.Translation=function(e){var n;if(2==e.elements.length)return(n=de.I(3)).elements[2][0]=e.elements[0],n.elements[2][1]=e.elements[1],n;if(3==e.elements.length)return(n=de.I(4)).elements[0][3]=e.elements[0],n.elements[1][3]=e.elements[1],n.elements[2][3]=e.elements[2],n;throw"Invalid length for Translation"},de.Zero=function(e,n){for(var t,r=[],i=e;i--;)for(t=n,r[i]=[];t--;)r[i][t]=0;return new de(r)},de.prototype.toUpperTriangular=de.prototype.toRightTriangular,de.prototype.det=de.prototype.determinant,de.prototype.tr=de.prototype.trace,de.prototype.rk=de.prototype.rank,de.prototype.inv=de.prototype.inverse,de.prototype.x=de.prototype.multiply;var fe=function(){function e(n){se(this,e),this.setElements(n)}return ae(e,[{key:"e",value:function(e){return e<1||e>this.elements.length?null:this.elements[e-1]}},{key:"dimensions",value:function(){return this.elements.length}},{key:"modulus",value:function(){return Math.sqrt(this.dot(this))}},{key:"eql",value:function(e){var n=this.elements.length,t=e.elements||e;if(n!==t.length)return!1;for(;n--;)if(Math.abs(this.elements[n]-t[n])>he)return!1;return!0}},{key:"dup",value:function(){return new e(this.elements)}},{key:"map",value:function(n,t){var r=[];return this.each((function(e,i){r.push(n.call(t,e,i))})),new e(r)}},{key:"forEach",value:function(e,n){for(var t=this.elements.length,r=0;r<t;r++)e.call(n,this.elements[r],r+1)}},{key:"toUnitVector",value:function(){var e=this.modulus();return 0===e?this.dup():this.map((function(n){return n/e}))}},{key:"angleFrom",value:function(e){var n=e.elements||e;if(this.elements.length!==n.length)return null;var t=0,r=0,i=0;if(this.each((function(e,s){t+=e*n[s-1],r+=e*e,i+=n[s-1]*n[s-1]})),r=Math.sqrt(r),i=Math.sqrt(i),r*i===0)return null;var s=t/(r*i);return s<-1&&(s=-1),s>1&&(s=1),Math.acos(s)}},{key:"isParallelTo",value:function(e){var n=this.angleFrom(e);return null===n?null:n<=he}},{key:"isAntiparallelTo",value:function(e){var n=this.angleFrom(e);return null===n?null:Math.abs(n-Math.PI)<=he}},{key:"isPerpendicularTo",value:function(e){var n=this.dot(e);return null===n?null:Math.abs(n)<=he}},{key:"add",value:function(e){var n=e.elements||e;return this.elements.length!==n.length?null:this.map((function(e,t){return e+n[t-1]}))}},{key:"subtract",value:function(e){var n=e.elements||e;return this.elements.length!==n.length?null:this.map((function(e,t){return e-n[t-1]}))}},{key:"multiply",value:function(e){return this.map((function(n){return n*e}))}},{key:"dot",value:function(e){var n=e.elements||e,t=0,r=this.elements.length;if(r!==n.length)return null;for(;r--;)t+=this.elements[r]*n[r];return t}},{key:"cross",value:function(n){var t=n.elements||n;if(3!==this.elements.length||3!==t.length)return null;var r=this.elements;return new e([r[1]*t[2]-r[2]*t[1],r[2]*t[0]-r[0]*t[2],r[0]*t[1]-r[1]*t[0]])}},{key:"max",value:function(){for(var e=0,n=this.elements.length;n--;)Math.abs(this.elements[n])>Math.abs(e)&&(e=this.elements[n]);return e}},{key:"indexOf",value:function(e){for(var n=null,t=this.elements.length,r=0;r<t;r++)null===n&&this.elements[r]===e&&(n=r+1);return n}},{key:"toDiagonalMatrix",value:function(){return de.Diagonal(this.elements)}},{key:"round",value:function(){return this.map((function(e){return Math.round(e)}))}},{key:"snapTo",value:function(e){return this.map((function(n){return Math.abs(n-e)<=he?e:n}))}},{key:"distanceFrom",value:function(e){if(e.anchor||e.start&&e.end)return e.distanceFrom(this);var n=e.elements||e;if(n.length!==this.elements.length)return null;var t,r=0;return this.each((function(e,i){t=e-n[i-1],r+=t*t})),Math.sqrt(r)}},{key:"liesOn",value:function(e){return e.contains(this)}},{key:"liesIn",value:function(e){return e.contains(this)}},{key:"rotate",value:function(n,t){var r,i,s,a,o=null;switch(n.determinant&&(o=n.elements),this.elements.length){case 2:return 2!==(r=t.elements||t).length?null:(o||(o=de.Rotation(n).elements),i=this.elements[0]-r[0],s=this.elements[1]-r[1],new e([r[0]+o[0][0]*i+o[0][1]*s,r[1]+o[1][0]*i+o[1][1]*s]));case 3:if(!t.direction)return null;var u=t.pointClosestTo(this).elements;return o||(o=de.Rotation(n,t.direction).elements),i=this.elements[0]-u[0],s=this.elements[1]-u[1],a=this.elements[2]-u[2],new e([u[0]+o[0][0]*i+o[0][1]*s+o[0][2]*a,u[1]+o[1][0]*i+o[1][1]*s+o[1][2]*a,u[2]+o[2][0]*i+o[2][1]*s+o[2][2]*a]);default:return null}}},{key:"reflectionIn",value:function(n){if(n.anchor){var t=this.elements.slice(),r=n.pointClosestTo(t).elements;return new e([r[0]+(r[0]-t[0]),r[1]+(r[1]-t[1]),r[2]+(r[2]-(t[2]||0))])}var i=n.elements||n;return this.elements.length!==i.length?null:this.map((function(e,n){return i[n-1]+(i[n-1]-e)}))}},{key:"to3D",value:function(){var e=this.dup();switch(e.elements.length){case 3:break;case 2:e.elements.push(0);break;default:return null}return e}},{key:"inspect",value:function(){return"["+this.elements.join(", ")+"]"}},{key:"setElements",value:function(e){return this.elements=(e.elements||e).slice(),this}},{key:"flatten",value:function(){return this.elements}}]),e}();fe.Random=function(e){for(var n=[];e--;)n.push(Math.random());return new fe(n)},fe.Zero=function(e){for(var n=[];e--;)n.push(0);return new fe(n)},fe.prototype.x=fe.prototype.multiply,fe.prototype.each=fe.prototype.forEach,fe.i=new fe([1,0,0]),fe.j=new fe([0,1,0]),fe.k=new fe([0,0,1]);var me=function(e,n,t,r){var i=function(e,n,t){for(var r=[],i=Object.keys(e.dimensions),s=i.length,a=0;a<s;++a){var o=n(i[a]),u=e.dimensions[i[a]].yscale(t[i[a]]);if(r.push(new fe([o,u])),a<s-1){var l=o+.5*(n(i[a+1])-o),c=u+.5*(e.dimensions[i[a+1]].yscale(t[i[a+1]])-u);if(null!==e.bundleDimension){var h=.5*(e.clusterCentroids.get(e.dimensions[e.bundleDimension].yscale(t[e.bundleDimension])).get(i[a])+e.clusterCentroids.get(e.dimensions[e.bundleDimension].yscale(t[e.bundleDimension])).get(i[a+1]));c=h+(1-e.bundlingStrength)*(c-h)}r.push(new fe([l,c]))}}return r}(e,n,t),s=function(e,n){var t=n.length,r=e,i=[];i.push(n[0]),i.push(new fe([n[0].e(1)+2*r*(n[1].e(1)-n[0].e(1)),n[0].e(2)]));for(var s=1;s<t-1;++s){var a=n[s],o=n[s-1],u=n[s+1],l=o.subtract(u);i.push(a.add(l.x(r))),i.push(a),i.push(a.subtract(l.x(r)))}return i.push(new fe([n[t-1].e(1)+2*r*(n[t-2].e(1)-n[t-1].e(1)),n[t-1].e(2)])),i.push(n[t-1]),i}(e.smoothness,i);r.moveTo(s[0].e(1),s[0].e(2));for(var a=1;a<s.length;a+=3){if(e.showControlPoints)for(var o=0;o<3;o++)r.fillRect(s[a+o].e(1),s[a+o].e(2),2,2);r.bezierCurveTo(s[a].e(1),s[a].e(2),s[a+1].e(1),s[a+1].e(2),s[a+2].e(1),s[a+2].e(2))}},ge=function(e){return"bottom"===e.nullValueSeparator?B(e)+1:"top"===e.nullValueSeparator?1:(console.log("A value is NULL, but nullValueSeparator is not set; set it to 'bottom' or 'top'."),B(e)+1)},ve=function(e,n,t,r){r.beginPath(),null!==e.bundleDimension&&e.bundlingStrength>0||e.smoothness>0?me(e,n,t,r):function(e,n,t,r){Object.keys(e.dimensions).map((function(r){return[n(r),void 0===t[r]?ge(e):e.dimensions[r].yscale(t[r])]})).sort((function(e,n){return e[0]-n[0]})).forEach((function(e,n){0===n?r.moveTo(e[0],e[1]):r.lineTo(e[0],e[1])}))}(e,n,t,r),r.stroke()},pe=function(e){return"function"===typeof e?e:function(){return e}},ye=function(e,n,t){return function(r,i){return n.marked.strokeStyle=pe(e.color)(r,i),ve(e,t,r,n.marked)}},be=function(e,n,t){return function(r,i){return null!==e.brushedColor?n.brushed.strokeStyle=pe(e.brushedColor)(r,i):n.brushed.strokeStyle=pe(e.color)(r,i),ve(e,t,r,n.brushed)}},ke=function(e){return{}.toString.call(e).match(/\s([a-zA-Z]+)/)[1].toLowerCase()},xe=function(e){for(var n=[],t=0;t<e.length-1;t++)n.push([e[t],e[t+1]]);return n},we=function(e,n,t,r,i,s){return function(){var o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return null===o?e.highlighted:(e.highlighted=o,n.clear("highlight"),(0,a.A)([t.foreground,t.brushed]).classed("faded",!0),o.forEach(function(e,n,t){return function(r,i){return n.highlight.strokeStyle=pe(e.color)(r,i),ve(e,t,r,n.highlight)}}(e,i,s)),r.call("highlight",this,o),this)}},Ae=function(e,n,t){return function(r,i){return n.foreground.strokeStyle=pe(e.color)(r,i),ve(e,t,r,n.foreground)}},Oe=function(e){return parseFloat(e)==e&&null!==e?"number":ke(e)},Me=function(e){return Object.keys(e[0]).reduce((function(n,t){return n[isNaN(Number(t))?t:parseInt(t)]=Oe(e[0][t]),n}),{})},_e={data:[],highlighted:[],marked:[],dimensions:{},dimensionTitleRotation:0,brushes:[],brushed:!1,brushedColor:null,alphaOnBrushed:0,lineWidth:1.4,highlightedLineWidth:3,mode:"default",markedLineWidth:3,markedShadowColor:"#ffffff",markedShadowBlur:10,rate:20,width:600,height:300,margin:{top:24,right:20,bottom:12,left:20},nullValueSeparator:"undefined",nullValueSeparatorPadding:{top:8,right:0,bottom:8,left:0},color:"#069",composite:"source-over",alpha:.7,bundlingStrength:.5,bundleDimension:null,smoothness:0,showControlPoints:!1,hideAxis:[],flipAxes:[],animationTime:1100,rotateLabels:!1},Re=function(e,n,t,r,i,s,a,o,u){return m.A.apply(undefined,Object.keys(e)).on("composite",(function(e){n.foreground.globalCompositeOperation=e.value,n.brushed.globalCompositeOperation=e.value})).on("alpha",(function(e){n.foreground.globalAlpha=e.value,n.brushed.globalAlpha=e.value})).on("brushedColor",(function(e){n.brushed.strokeStyle=e.value})).on("width",(function(e){return t.resize()})).on("height",(function(e){return t.resize()})).on("margin",(function(e){return t.resize()})).on("rate",(function(e){a.rate(e.value),o.rate(e.value),u.rate(e.value)})).on("dimensions",(function(n){e.dimensions=t.applyDimensionDefaults(Object.keys(n.value)),r.domain(t.getOrderedDimensionKeys()),t.sortDimensions(),s.interactive&&t.render().updateAxes()})).on("bundleDimension",(function(n){Object.keys(e.dimensions).length||t.detectDimensions(),t.autoscale(),"number"===typeof n.value?n.value<Object.keys(e.dimensions).length?e.bundleDimension=e.dimensions[n.value]:n.value<e.hideAxis.length&&(e.bundleDimension=e.hideAxis[n.value]):e.bundleDimension=n.value,e.clusterCentroids=function(e,n){var t=new Map,r=new Map;return e.data.forEach((function(t){var i=e.dimensions[n].yscale(t[n]);r.has(i)||r.set(i,0);var s=r.get(i);r.set(i,s+1)})),e.data.forEach((function(i){Object.keys(e.dimensions).map((function(s){var a=e.dimensions[n].yscale(i[n]);if(!t.has(a)){var o=new Map;t.set(a,o)}t.get(a).has(s)||t.get(a).set(s,0);var u=t.get(a).get(s);u+=e.dimensions[s].yscale(i[s])/r.get(a),t.get(a).set(s,u)}))})),t}(e,e.bundleDimension),s.interactive&&t.render()})).on("hideAxis",(function(n){var r;t.brushReset(),t.dimensions(t.applyDimensionDefaults()),t.dimensions((r=e.dimensions,n.value.forEach((function(e){delete r[e]})),r)),t.render()})).on("flipAxes",(function(n){n.value&&n.value.length&&(n.value.forEach((function(n){te(e,t,i)(n)})),t.updateAxes(0))}))},Se=function(e,n,t){return e[t]=function(e,n,t){return function(){var r=t.apply(n,arguments);return r===n?e:r}}(e,n,n[t]),e},Ee=function(e,n,t,r,i,s,a,o,u,l){!function(e,n,t,r){Object.keys(n).forEach((function(i){e[i]=function(s){if(!arguments.length)return n[i];"dimensions"===i&&"[object Array]"===Object.prototype.toString.call(s)&&(console.warn("pc.dimensions([]) is deprecated, use pc.dimensions({})"),s=e.applyDimensionDefaults(s));var a=n[i];return n[i]=s,r.call(i,e,{value:s,previous:a}),t.call(i,e,{value:s,previous:a}),e}}))}(t,e,u,Re(e,n,t,r,l,i,s,a,o)),Se(t,u,"on"),Se(t,l,"ticks")};n.A=function(e){var n=function(e){var n=Object.assign({},_e,e);e&&e.dimensionTitles&&(console.warn("dimensionTitles passed in userConfig is deprecated. Add title to dimension object."),(0,d.jO)(e.dimensionTitles).forEach((function(e){n.dimensions[e.key]?n.dimensions[e.key].title=n.dimensions[e.key].title?n.dimensions[e.key].title:e.value:n.dimensions[e.key]={title:e.value}})));var t=["render","resize","highlight","mark","brush","brushend","brushstart","axesreorder"].concat((0,d.HP)(n)),r=m.A.apply(void 0,t),i=(0,c.hq)(),s=(0,f.V4)().ticks(5);return{config:n,events:r,eventTypes:t,flags:{brushable:!1,reorderable:!1,axes:!1,interactive:!1,debug:!1},xscale:i,dragging:{},axis:s,ctx:{},canvas:{},brush:{modes:{None:{install:function(e){},uninstall:function(e){},selected:function(){return[]},brushState:function(){return{}}}},mode:"None",predicate:"AND",currentMode:function(){return this.modes[this.mode]}}}}(e),t=n.config,s=n.events,l=n.flags,p=n.xscale,x=n.dragging,O=n.axis,_=n.ctx,R=n.canvas,P=n.brush,N=function(e,n,t){return function i(s){return s=i.selection=(0,r.A)(s),e.width=s.node().clientWidth,e.height=s.node().clientHeight,["dots","foreground","brushed","marked","highlight"].forEach((function(e){n[e]=s.append("canvas").attr("class",e).node(),t[e]=n[e].getContext("2d")})),i.svg=s.append("svg").attr("width",e.width).attr("height",e.height).style("font","14px sans-serif").style("position","absolute").append("svg:g").attr("transform","translate("+e.margin.left+","+e.margin.top+")"),i}}(t,R,_),C=function(e){return 0===p.range().length&&p.range([0,v(t)],1),null==x[e]?p(e):x[e]},I=g(be(t,_,C)).rate(50).clear((function(){return N.clear("brushed")})),X=g(ye(t,_,C)).rate(50).clear((function(){return N.clear("marked")})),q=g(Ae(t,_,C)).rate(50).clear((function(){N.clear("foreground"),N.clear("highlight")}));return Ee(t,_,N,p,l,I,X,q,s,O),N.state=t,N.flags=l,N.autoscale=function(e,n,t,r){return function(){var i={date:function(n){var t=(0,h.Xx)(e.data,(function(e){return e[n]?e[n].getTime():null}));return t[0]===t[1]?(0,c.hq)().domain(t).range(ie(e)):(e.flipAxes.includes(n)&&(t=t.map((function(e){return tempDate.unshift(e)}))),(0,c.w7)().domain(t).range(ie(e)))},number:function(n){var t=(0,h.Xx)(e.data,(function(e){return+e[n]}));return t[0]===t[1]?(0,c.hq)().domain(t).range(ie(e)):(e.flipAxes.includes(n)&&(t=t.map((function(e){return tempDate.unshift(e)}))),(0,c.m4)().domain(t).range(ie(e)))},string:function(n){var t={},r=[];if(e.data.map((function(r){if(void 0===r[n]&&"undefined"!==e.nullValueSeparator)return null;void 0===t[r[n]]?t[r[n]]=1:t[r[n]]=t[r[n]]+1})),e.flipAxes.includes(n))r=Object.getOwnPropertyNames(t).sort();else for(var i=Object.getOwnPropertyNames(t).sort(),s=0;s<Object.getOwnPropertyNames(t).length;s++)r.push(i.pop());var a=[];1===r.length&&(r=[" ",r[0]," "]);for(var o=ie(e)[0]/(r.length-1),u=0;u<r.length;u++)0!==a.length?a.push(a[u-1]+o):a.push(0);return(0,c.UM)().domain(r).range(a)}};Object.keys(e.dimensions).forEach((function(n){void 0!==e.dimensions[n].yscale&&null!==e.dimensions[n].yscale||(e.dimensions[n].yscale=i[e.dimensions[n].type](n))})),t.range([0,v(e)]).padding(.2);var s=window.devicePixelRatio||1;return n.selection.selectAll("canvas").style("margin-top",e.margin.top+"px").style("margin-left",e.margin.left+"px").style("width",v(e)+2+"px").style("height",B(e)+2+"px").attr("width",(v(e)+2)*s).attr("height",(B(e)+2)*s),r.foreground.strokeStyle=e.color,r.foreground.lineWidth=e.lineWidth,r.foreground.globalCompositeOperation=e.composite,r.foreground.globalAlpha=e.alpha,r.foreground.scale(s,s),r.brushed.strokeStyle=e.brushedColor,r.brushed.lineWidth=e.lineWidth,r.brushed.globalCompositeOperation=e.composite,r.brushed.globalAlpha=e.alpha,r.brushed.scale(s,s),r.highlight.lineWidth=e.highlightedLineWidth,r.highlight.scale(s,s),r.marked.lineWidth=e.markedLineWidth,r.marked.shadowColor=e.markedShadowColor,r.marked.shadowBlur=e.markedShadowBlur,r.marked.scale(s,s),this}}(t,N,p,_),N.scale=function(e,n){return function(t,r){return e.dimensions[t].yscale.domain(r),n.render.default(),n.updateAxes(),this}}(t,N),N.flip=function(e){return function(n){return e.dimensions[n].yscale.domain(e.dimensions[n].yscale.domain().reverse()),this}}(t),N.commonScale=function(e,n){return function(t,r){var i=r||"number";"undefined"===typeof t&&(t=!0),Object.keys(e.dimensions).length||n.detectDimensions(),n.autoscale();var s=Object.keys(e.dimensions).filter((function(n){return e.dimensions[n].type==i}));if(t){var a=(0,h.Xx)(s.map((function(n){return e.dimensions[n].yscale.domain()})).reduce((function(e,n){return e.concat(n)})));s.forEach((function(n){e.dimensions[n].yscale.domain(a)}))}else s.forEach((function(n){e.dimensions[n].yscale.domain((0,h.Xx)(e.data,(function(e){return+e[k]})))}));return null!==e.bundleDimension&&n.bundleDimension(e.bundleDimension),this}}(t,N),N.detectDimensions=function(e){return function(){return e.dimensions(e.applyDimensionDefaults()),this}}(N),N.detectDimensionTypes=Me,N.applyDimensionDefaults=function(e,n){return function(t){var r=n.detectDimensionTypes(e.data);return(t=t||Object.keys(r)).reduce((function(n,t,i){var s=e.dimensions[t]?e.dimensions[t]:{};return n[t]=oe({},s,{orient:ue(s.orient)?s.orient:"left",ticks:ue(s.ticks)?s.ticks:5,innerTickSize:ue(s.innerTickSize)?s.innerTickSize:6,outerTickSize:ue(s.outerTickSize)?s.outerTickSize:0,tickPadding:ue(s.tickPadding)?s.tickPadding:3,type:ue(s.type)?s.type:r[t],index:ue(s.index)?s.index:i}),n}),{})}}(t,N),N.getOrderedDimensionKeys=function(e){return function(){return Object.keys(e.dimensions).sort((function(n,t){return(0,h.V_)(e.dimensions[n].index,e.dimensions[t].index)}))}}(t),N.render=function(e,n,t){return function(){return Object.keys(e.dimensions).length||n.detectDimensions(),n.autoscale(),n.render[e.mode](),t.call("render",this),this}}(t,N,s),N.renderBrushed=function(e,n,t){return function(){return Object.keys(e.dimensions).length||n.detectDimensions(),n.renderBrushed[e.mode](),t.call("render",this),this}}(t,N,s),N.renderMarked=function(e,n,t){return function(){return Object.keys(e.dimensions).length||n.detectDimensions(),n.renderMarked[e.mode](),t.call("render",this),this}}(t,N,s),N.render.default=function(e,n,t,r){return function(){n.clear("foreground"),n.clear("highlight"),n.renderBrushed.default(),n.renderMarked.default(),e.data.forEach(Ae(e,t,r))}}(t,N,_,C),N.render.queue=function(e,n,t){return function(){n.renderBrushed.queue(),n.renderMarked.queue(),t(e.data)}}(t,N,q),N.renderBrushed.default=function(e,n,t,r,i){return function(){r.clear("brushed"),ce(e,i)&&!1!==e.brushed&&e.brushed.forEach(be(e,n,t))}}(t,_,C,N,P),N.renderBrushed.queue=function(e,n,t){return function(){ce(e,n)?t(e.brushed):t([])}}(t,P,I),N.renderMarked.default=function(e,n,t,r){return function(){n.clear("marked"),e.marked.length&&e.marked.forEach(ye(e,t,r))}}(t,N,_,C),N.renderMarked.queue=function(e,n){return function(){e.marked?n(e.marked):n([])}}(t,X),N.compute_real_centroids=function(e,n){return function(t){return Object.keys(e.dimensions).map((function(r){return[n(r),e.dimensions[r].yscale(t[r])]}))}}(t,C),N.shadows=function(e,n){return function(){return e.shadows=!0,n.alphaOnBrushed(.1),n.render(),this}}(l,N),N.axisDots=function(e,n,t){return function(r){var i=r||.1,s=n.ctx.dots,a=2*Math.PI;s.globalAlpha=(0,h.jk)([1/Math.pow(e.data.length,.5),1]),e.data.forEach((function(n){(0,d.jO)(e.dimensions).forEach((function(r,o){s.beginPath(),s.arc(t(r),e.dimensions[r.key].yscale(n[r]),i,0,a),s.stroke(),s.fill()}))}))}}(t,N,C),N.clear=function(e,n,t,r){return function(i){return t[i].clearRect(0,0,v(e)+2,B(e)+2),"brushed"===i&&ce(e,r)&&(t.brushed.fillStyle=n.selection.style("background-color"),t.brushed.globalAlpha=1-e.alphaOnBrushed,t.brushed.fillRect(0,0,v(e)+2,B(e)+2),t.brushed.globalAlpha=e.alpha),this}}(t,N,_,P),N.createAxes=function(e,n,t,i,s){return function(){return void 0!==n.g()&&n.removeAxes(),n._g=n.svg.selectAll(".dimension").data(n.getOrderedDimensionKeys(),(function(e){return e})).enter().append("svg:g").attr("class","dimension").attr("transform",(function(e){return"translate("+t(e)+")"})),n._g.append("svg:g").attr("class","axis").attr("transform","translate(0,0)").each((function(t){var i=(0,r.A)(this).call(n.applyAxisConfig(s,e.dimensions[t]));i.selectAll("path").style("fill","none").style("stroke","#222").style("shape-rendering","crispEdges"),i.selectAll("line").style("fill","none").style("stroke","#222").style("shape-rendering","crispEdges")})).append("svg:text").attr("text-anchor","middle").attr("y",0).attr("transform","translate(0,-5) rotate("+e.dimensionTitleRotation+")").attr("x",0).attr("class","label").text(ne(e)).on("dblclick",te(e,n,s)).on("wheel",re(e,n)),"top"===e.nullValueSeparator?n.svg.append("line").attr("x1",0).attr("y1",1+e.nullValueSeparatorPadding.top).attr("x2",v(e)).attr("y2",1+e.nullValueSeparatorPadding.top).attr("stroke-width",1).attr("stroke","#777").attr("fill","none").attr("shape-rendering","crispEdges"):"bottom"===e.nullValueSeparator&&n.svg.append("line").attr("x1",0).attr("y1",B(e)+1-e.nullValueSeparatorPadding.bottom).attr("x2",v(e)).attr("y2",B(e)+1-e.nullValueSeparatorPadding.bottom).attr("stroke-width",1).attr("stroke","#777").attr("fill","none").attr("shape-rendering","crispEdges"),i.axes=!0,this}}(t,N,p,l,O),N.removeAxes=function(e){return function(){return e._g.remove(),delete e._g,this}}(N),N.updateAxes=function(e,n,t,i,s){return function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;null===a&&(a=e.animationTime);var o=n.svg.selectAll(".dimension").data(n.getOrderedDimensionKeys());if(o.enter().append("svg:g").attr("class","dimension").attr("transform",(function(e){return"translate("+t(e)+")"})).style("opacity",0).append("svg:g").attr("class","axis").attr("transform","translate(0,0)").each((function(t){var s=(0,r.A)(this).call(n.applyAxisConfig(i,e.dimensions[t]));s.selectAll("path").style("fill","none").style("stroke","#222").style("shape-rendering","crispEdges"),s.selectAll("line").style("fill","none").style("stroke","#222").style("shape-rendering","crispEdges")})).append("svg:text").attr("text-anchor","middle").attr("class","label").attr("x",0).attr("y",0).attr("transform","translate(0,-5) rotate("+e.dimensionTitleRotation+")").text(ne(e)).on("dblclick",te(e,n,i)).on("wheel",re(e,n)),o.attr("opacity",0),o.select(".axis").transition().duration(a).each((function(t){(0,r.A)(this).call(n.applyAxisConfig(i,e.dimensions[t]))})),o.select(".label").transition().duration(a).text(ne(e)).attr("transform","translate(0,-5) rotate("+e.dimensionTitleRotation+")"),o.exit().remove(),n.svg.selectAll(".dimension").transition().duration(a).attr("transform",(function(e){return"translate("+t(e)+")"})).style("opacity",1),n.svg.selectAll(".axis").transition().duration(a).each((function(t){(0,r.A)(this).call(n.applyAxisConfig(i,e.dimensions[t]))})),s.brushable&&n.brushable(),s.reorderable&&n.reorderable(),"None"!==n.brushMode()){var u=n.brushMode();n.brushMode("None"),n.brushMode(u)}}}(t,N,C,O,l),N.applyAxisConfig=le,N.brushable=function(e,n,t){return function(){return n.g()||n.createAxes(),n.g().append("svg:g").attr("class","brush").each((function(t){void 0!==e.dimensions[t]&&(e.dimensions[t].brush=(0,o.g2)((0,r.A)(this)).extent([[-15,0],[15,e.dimensions[t].yscale.range()[0]]]),(0,r.A)(this).call(e.dimensions[t].brush.on("start",(function(){null===i.f0.sourceEvent||i.f0.sourceEvent.ctrlKey||n.brushReset()})).on("brush",(function(){i.f0.sourceEvent.ctrlKey||n.brush()})).on("end",(function(){if(i.f0.sourceEvent.ctrlKey){var s=(0,r.A)(this).select(".selection").nodes()[0].outerHTML;s=s.replace('class="selection"','class="selection dummy selection-'+e.brushes.length+'"');var a=(0,r.A)(this).nodes()[0].__data__,u={id:e.brushes.length,extent:(0,o.ZR)(this),html:s,data:a};e.brushes.push(u),(0,r.A)((0,r.A)(this).nodes()[0].parentNode).select(".axis").nodes()[0].outerHTML+=s,n.brush(),e.dimensions[t].brush.move((0,r.A)(this,null)),(0,r.A)(this).select(".selection").attr("style","display:none"),n.brushable()}else n.brush()}))),(0,r.A)(this).on("dblclick",(function(){n.brushReset(t)})))})),t.brushable=!0,this}}(t,N,l),N.brushReset=function(e,n){return function(t){for(var i=[],s=0;s<e.brushes.length;s++)e.brushes[s].data!==t&&i.push(e.brushes[s]);if(e.brushes=i,e.brushed=!1,void 0!==n.g())for(var a=n.g().selectAll(".brush").nodes(),o=0;o<a.length;o++)a[o].__data__===t&&((0,r.A)((0,r.A)(a[o]).nodes()[0].parentNode).selectAll(".dummy").remove(),e.dimensions[t].brush.move((0,r.A)(a[o],null)));return this}}(t,N),N.selected=function(e,n){return function(){var t=[],r=[],i={};if(0===e.brushes.length){for(var s=n.g().selectAll(".brush").nodes(),a=0;a<s.length;a++)if(null!==(0,o.ZR)(s[a])){t.push(s[a].__data__);var u=[],l=(0,o.ZR)(s[a]);if("number"===typeof e.dimensions[s[a].__data__].yscale.domain()[0]){for(var c=0;c<l.length;c++)t.includes(s[a].__data__)&&e.flipAxes.includes(s[a].__data__)?u.push(e.dimensions[s[a].__data__].yscale.invert(l[c])):1!==e.dimensions[s[a].__data__].yscale()&&u.unshift(e.dimensions[s[a].__data__].yscale.invert(l[c]));r.push(u);for(var h=0;h<r.length;h++)0===r[h].length&&(r[h]=[1,1])}else{i[s[a].__data__]=(0,o.ZR)(s[a]);for(var d=e.dimensions[s[a].__data__].yscale.range(),f=(e.dimensions[s[a].__data__].yscale.domain(),0);f<d.length;f++)d[f]>=l[0]&&d[f]<=l[1]&&t.includes(s[a].__data__)&&e.flipAxes.includes(s[a].__data__)?u.push(d[f]):d[f]>=l[0]&&d[f]<=l[1]&&u.unshift(d[f]);r.push(u);for(var m=0;m<r.length;m++)0===r[m].length&&(r[m]=[1,1])}}var g={date:function(n,t,r){var s=n[t],a=e.dimensions[t].yscale.domain().indexOf(s),o=e.dimensions[t].yscale.range()[a];return o>=i[t][0]&&o<=i[t][1]},number:function(e,n,t){return r[t][0]<=e[n]&&e[n]<=r[t][1]},string:function(n,t,r){var s=n[t],a=e.dimensions[t].yscale.domain().indexOf(s),o=e.dimensions[t].yscale.range()[a];return o>=i[t][0]&&o<=i[t][1]}};return e.data.filter((function(n){return t.every((function(t,r){return g[e.dimensions[t].type](n,t,r)}))}))}for(var v=[],p=function(n){var t=e.brushes[n],s=[],a=t.extent,o=[t.data];if("number"===typeof e.dimensions[t.data].yscale.domain()[0]){for(var u=0;u<a.length;u++)o.includes(t.data)&&e.flipAxes.includes(t.data)?s.push(e.dimensions[t.data].yscale.invert(a[u])):1!==e.dimensions[t.data].yscale()&&s.unshift(e.dimensions[t.data].yscale.invert(a[u]));r.push(s);for(var l=0;l<r.length;l++)0===r[l].length&&(r[l]=[1,1])}else{i[t.data]=t.extent;for(var c=e.dimensions[t.data].yscale.range(),h=(e.dimensions[t.data].yscale.domain(),0);h<c.length;h++)c[h]>=a[0]&&c[h]<=a[1]&&o.includes(t.data)&&e.flipAxes.includes(t.data)?s.push(c[h]):c[h]>=a[0]&&c[h]<=a[1]&&s.unshift(c[h]);r.push(s);for(var d=0;d<r.length;d++)0===r[d].length&&(r[d]=[1,1])}for(var f={date:function(n,t,r){var s=n[t],a=e.dimensions[t].yscale.domain().indexOf(s),o=e.dimensions[t].yscale.range()[a];return o>=i[t][0]&&o<=i[t][1]},number:function(e,t,i){return r[n][0]<=e[t]&&e[t]<=r[n][1]},string:function(n,t,r){var s=n[t],a=e.dimensions[t].yscale.domain().indexOf(s),o=e.dimensions[t].yscale.range()[a];return o>=i[t][0]&&o<=i[t][1]}},m=e.data.filter((function(n){return o.every((function(t,r){return f[e.dimensions[t].type](n,t,r)}))})),g=0;g<m.length;g++)v.push(m[g]);o=[],i={}},y=0;y<e.brushes.length;y++)p(y);return v}}(t,N),N.reorderable=function(e,n,t,s,a,o){return function(){void 0===n.g()&&n.createAxes();var l=n.g();return l.style("cursor","move").call((0,u.A)().on("start",(function(e){a[e]=this.__origin__=t(e)})).on("drag",(function(r){a[r]=Math.min(v(e),Math.max(0,this.__origin__+=i.f0.dx)),n.sortDimensions(),t.domain(n.getOrderedDimensionKeys()),n.render(),l.attr("transform",(function(e){return"translate("+s(e)+")"}))})).on("end",(function(e){delete this.__origin__,delete a[e],(0,r.A)(this).transition().attr("transform","translate("+t(e)+")"),n.render(),n.renderMarked()}))),o.reorderable=!0,this}}(t,N,p,C,x,l),N.reorder=function(e,n,t){return function(r){var i=n.getOrderedDimensionKeys()[0];if(n.sortDimensionsByRowData(r),i!==n.getOrderedDimensionKeys()[0]){t.domain(n.getOrderedDimensionKeys());var s=e.highlighted.slice(0);n.unhighlight();var a=e.marked.slice(0);n.unmark(),n.g().transition().duration(1500).attr("transform",(function(e){return"translate("+t(e)+")"})),n.render(),0!==s.length&&n.highlight(s),0!==a.length&&n.mark(a)}}}(t,N,p),N.sortDimensionsByRowData=function(e){return function(n){var t=Object.assign({},e.dimensions),r=Object.keys(e.dimensions).sort((function(t,r){var i=e.dimensions[t].yscale(n[t])-e.dimensions[r].yscale(n[r]);return 0===i?t.localeCompare(r):i}));e.dimensions={},r.forEach((function(n,r){e.dimensions[n]=t[n],e.dimensions[n].index=r}))}}(t),N.sortDimensions=function(e,n){return function(){var t=Object.assign({},e.dimensions),r=Object.keys(e.dimensions).sort((function(e,t){return n(e)-n(t)===0?1:n(e)-n(t)}));e.dimensions={},r.forEach((function(n,r){e.dimensions[n]=t[n],e.dimensions[n].index=r}))}}(t,C),N.adjacent_pairs=xe,N.interactive=function(e){return function(){return e.interactive=!0,this}}(l),N.xscale=p,N.ctx=_,N.canvas=R,N.g=function(){return N._g},N.resize=function(e,n,t,r){return function(){return n.selection.select("svg").attr("width",e.width).attr("height",e.height),n.svg.attr("transform","translate("+e.margin.left+","+e.margin.top+")"),t.brushable&&n.brushReset(),n.autoscale(),n.g()&&n.createAxes(),t.brushable&&n.brushable(),t.reorderable&&n.reorderable(),r.call("resize",this,{width:e.width,height:e.height,margin:e.margin}),this}}(t,N,l,s),N.highlight=we(t,N,R,s,_,C),N.unhighlight=function(e,n,t){return function(){return e.highlighted=[],n.clear("highlight"),(0,a.A)([t.foreground,t.brushed]).classed("faded",!1),this}}(t,N,R),N.mark=function(e,n,t,r,i,s){return function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return null===n?e.marked:(e.marked=e.marked.concat(n),(0,a.A)([t.foreground,t.brushed]).classed("dimmed",!0),n.forEach(ye(e,i,s)),r.call("mark",this,n),this)}}(t,0,R,s,_,C),N.unmark=function(e,n,t){return function(){return e.marked=[],n.clear("marked"),(0,a.A)([t.foreground,t.brushed]).classed("dimmed",!1),this}}(t,N,R),N.intersection=$,N.mergeParcoords=function(e){return function(n){var t=window.devicePixelRatio||1,i=document.createElement("canvas"),s=e.canvas.foreground,a=Number(s.style.marginLeft.replace("px","")),o=Number(s.style.marginTop.replace("px",""))+15,u=(s.clientWidth+a)*t,l=(s.clientHeight+o)*t;i.width=u+50,i.height=l+30,i.style.width=i.width/t+"px",i.style.height=i.height/t+"px";var c=i.getContext("2d");for(var h in c.fillStyle="#ffffff",c.fillRect(0,0,i.width,i.height),e.canvas)c.drawImage(e.canvas[h],a*t,o*t,u-a*t,l-o*t);window.URL||window.webkitURL||window;var d=new XMLSerializer,f=e.selection.select("svg").node().cloneNode(!0);f.setAttribute("transform","translate(0,15)"),f.setAttribute("height",f.getAttribute("height")+15),(0,r.A)(f).selectAll("text").attr("fill","black");var m=d.serializeToString(f),g="data:image/svg+xml;base64,"+window.btoa(m),v=new Image;v.onload=function(){c.drawImage(v,0,0,v.width*t,v.height*t),"function"===typeof n&&n(i)},v.src=g}}(N),N.brushModes=function(){return Object.getOwnPropertyNames(P.modes)},N.brushMode=ee(P,t,N),function(e,n,t,r){var i={brushes:{},brushNodes:{}};e.modes["1D-axes"]={install:w(i,n,t,r,e),uninstall:A(i,t),selected:b(i,n,e),brushState:y(i,n,t)}}(P,t,N,s),function(e,n,t,r,i){var s={strums:{},strumRect:{}};e.modes["2D-strums"]={install:V(e,s,n,t,r,i),uninstall:j(s,t),selected:T(e,s,n),brushState:function(){return s.strums}}}(P,t,N,s,p),function(e,n,t,r,i){var s={arcs:{},strumRect:{}};e.modes.angular={install:Q(e,s,n,t,r,i),uninstall:F(s,t),selected:Y(e,s,n),brushState:function(){return s.arcs}}}(P,t,N,s,p),function(e,n,t,r){var i={brushes:{},brushNodes:{}};e.modes["1D-axes-multi"]={install:E(i,n,t,r,e),uninstall:D(i,t),selected:M(i,n,e),brushState:S(i,n,t)}}(P,t,N,s),N.version="2.2.10",N.toString=function(e){return function(){return"Parallel Coordinates: "+Object.keys(e.dimensions).length+" dimensions ("+Object.keys(e.data[0]).length+" total) , "+e.data.length+" rows"}}(t),N.toType=ke,N.toTypeCoerceNumbers=Oe,N}},27793:function(e,n,t){var r,i;i=window,function(){if(!i.requestAnimationFrame){if(i.webkitRequestAnimationFrame)return i.requestAnimationFrame=i.webkitRequestAnimationFrame,void(i.cancelAnimationFrame=i.webkitCancelAnimationFrame||i.webkitCancelRequestAnimationFrame);var e=0;i.requestAnimationFrame=function(n){var t=(new Date).getTime(),r=Math.max(0,16-(t-e)),s=i.setTimeout((function(){n(t+r)}),r);return e=t+r,s},i.cancelAnimationFrame=function(e){clearTimeout(e)}}}(),void 0===(r=function(){return i.requestAnimationFrame}.call(n,t,n,e))||(e.exports=r)}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_mlflow_mlflow=self.webpackChunk_mlflow_mlflow||[]).push([[8763],{63325:function(e,n,t){t.d(n,{A:function(){return p},n:function(){return d}});var o=t(58168),r=t(23029),l=t(92901),a=t(15361),i=t(88293),c=t(31014),s=t(84401).A,u=t(27853),p=function(e){(0,a.A)(t,e);var n=(0,i.A)(t);function t(){return(0,r.A)(this,t),n.apply(this,arguments)}return(0,l.A)(t,[{key:"getLocale",value:function(){var e=this.props,n=e.componentName,t=e.defaultLocale||s[null!==n&&void 0!==n?n:"global"],r=this.context,l=n&&r?r[n]:{};return(0,o.A)((0,o.A)({},t instanceof Function?t():t),l||{})}},{key:"getLocaleCode",value:function(){var e=this.context,n=e&&e.locale;return e&&e.exist&&!n?s.locale:n}},{key:"render",value:function(){return this.props.children(this.getLocale(),this.getLocaleCode(),this.context)}}]),t}(c.Component);function d(e,n){var t=c.useContext(u.A);return[c.useMemo((function(){var r=n||s[e||"global"],l=e&&t?t[e]:{};return(0,o.A)((0,o.A)({},"function"===typeof r?r():r),l||{})}),[e,n,t])]}p.defaultProps={componentName:"global"},p.contextType=u.A},27853:function(e,n,t){var o=(0,t(31014).createContext)(void 0);n.A=o},95714:function(e,n,t){t.d(n,{A:function(){return m},M:function(){return d}});var o=t(58168),r=t(23029),l=t(92901),a=t(15361),i=t(88293),c=t(31014),s=t(23338),u=t(37805),p=t(27853),d="internalMark",m=function(e){(0,a.A)(t,e);var n=(0,i.A)(t);function t(e){var o;return(0,r.A)(this,t),o=n.call(this,e),(0,u.L)(e.locale&&e.locale.Modal),(0,s.A)(e._ANT_MARK__===d,"LocaleProvider","`LocaleProvider` is deprecated. Please use `locale` with `ConfigProvider` instead: http://u.ant.design/locale"),o}return(0,l.A)(t,[{key:"componentDidMount",value:function(){(0,u.L)(this.props.locale&&this.props.locale.Modal)}},{key:"componentDidUpdate",value:function(e){var n=this.props.locale;e.locale!==n&&(0,u.L)(n&&n.Modal)}},{key:"componentWillUnmount",value:function(){(0,u.L)()}},{key:"render",value:function(){var e=this.props,n=e.locale,t=e.children;return c.createElement(p.A.Provider,{value:(0,o.A)((0,o.A)({},n),{exist:!0})},t)}}]),t}(c.Component);m.defaultProps={locale:{}}},84401:function(e,n,t){var o=t(51955),r=t(47434),l=t(82995),a=t(88143),i="${label} is not a valid ${type}",c={locale:"en",Pagination:o.A,DatePicker:r.A,TimePicker:l.A,Calendar:a.A,global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectNone:"Clear all data",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No Data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand"},PageHeader:{back:"Back"},Form:{optional:"(optional)",defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:i,method:i,array:i,object:i,number:i,date:i,boolean:i,integer:i,float:i,regexp:i,email:i,url:i,hex:i},string:{len:"${label} must be ${len} characters",min:"${label} must be at least ${min} characters",max:"${label} must be up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} must be minimum ${min}",max:"${label} must be maximum ${max}",range:"${label} must be between ${min}-${max}"},array:{len:"Must be ${len} ${label}",min:"At least ${min} ${label}",max:"At most ${max} ${label}",range:"The amount of ${label} must be between ${min}-${max}"},pattern:{mismatch:"${label} does not match the pattern ${pattern}"}}},Image:{preview:"Preview"}};n.A=c},14668:function(e,n,t){var o=t(84401);n.A=o.A},4701:function(e,n,t){t.d(n,{A:function(){return O}});var o=t(58168),r=t(23029),l=t(92901),a=t(15361),i=t(88293),c=t(31014),s=t(72807),u=t(45959),p=t.n(u),d=t(84783),m=t(4359),f=(0,c.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),v=t(54220);var C=function(e){var n,t,r=e.popupClassName,l=e.icon,a=e.title,i=c.useContext(f),u=i.prefixCls,m=i.inlineCollapsed,C=i.antdMenuTheme,A=(0,s.Wj)();if(l){var h=(0,v.zO)(a)&&"span"===a.type;t=c.createElement(c.Fragment,null,(0,v.Ob)(l,{className:p()((0,v.zO)(l)?null===(n=l.props)||void 0===n?void 0:n.className:"","".concat(u,"-item-icon"))}),h?a:c.createElement("span",{className:"".concat(u,"-title-content")},a))}else t=m&&!A.length&&a&&"string"===typeof a?c.createElement("div",{className:"".concat(u,"-inline-collapsed-noicon")},a.charAt(0)):c.createElement("span",{className:"".concat(u,"-title-content")},a);return c.createElement(f.Provider,{value:(0,o.A)((0,o.A)({},i),{firstLevel:!1})},c.createElement(s.g8,(0,o.A)({},(0,d.A)(e,["icon"]),{title:t,popupClassName:p()(u,"".concat(u,"-").concat(C),r)})))},A=t(64467),h=t(20052),g=t(69493),y=t(18376),x=function(e,n){var t={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&n.indexOf(o)<0&&(t[o]=e[o]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)n.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(t[o[r]]=e[o[r]])}return t},b=function(e){(0,a.A)(t,e);var n=(0,i.A)(t);function t(){var e;return(0,r.A)(this,t),(e=n.apply(this,arguments)).renderItem=function(n){var t,r,l=n.siderCollapsed,a=e.context,i=a.prefixCls,u=a.firstLevel,d=a.inlineCollapsed,m=a.direction,f=e.props,C=f.className,y=f.children,b=e.props,P=b.title,$=b.icon,k=b.danger,N=x(b,["title","icon","danger"]),w=P;"undefined"===typeof P?w=u?y:"":!1===P&&(w="");var E={title:w};l||d||(E.title=null,E.visible=!1);var O=(0,h.A)(y).length;return c.createElement(g.A,(0,o.A)({},E,{placement:"rtl"===m?"left":"right",overlayClassName:"".concat(i,"-inline-collapsed-tooltip")}),c.createElement(s.q7,(0,o.A)({},N,{className:p()((t={},(0,A.A)(t,"".concat(i,"-item-danger"),k),(0,A.A)(t,"".concat(i,"-item-only-child"),1===($?O+1:O)),t),C),title:"string"===typeof P?P:void 0}),(0,v.Ob)($,{className:p()((0,v.zO)($)?null===(r=$.props)||void 0===r?void 0:r.className:"","".concat(i,"-item-icon"))}),e.renderItemChildren(d)))},e}return(0,l.A)(t,[{key:"renderItemChildren",value:function(e){var n=this.context,t=n.prefixCls,o=n.firstLevel,r=this.props,l=r.icon,a=r.children,i=c.createElement("span",{className:"".concat(t,"-title-content")},a);return(!l||(0,v.zO)(a)&&"span"===a.type)&&a&&e&&o&&"string"===typeof a?c.createElement("div",{className:"".concat(t,"-inline-collapsed-noicon")},a.charAt(0)):i}},{key:"render",value:function(){return c.createElement(y.P.Consumer,null,this.renderItem)}}]),t}(c.Component);b.contextType=f;var P=t(92536),$=t(23338),k=t(80725),N=function(e,n){var t={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&n.indexOf(o)<0&&(t[o]=e[o]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)n.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(t[o[r]]=e[o[r]])}return t},w=function(e){(0,a.A)(t,e);var n=(0,i.A)(t);function t(e){var l;return(0,r.A)(this,t),(l=n.call(this,e)).renderMenu=function(e){var n=e.getPopupContainer,t=e.getPrefixCls,r=e.direction,a=t(),i=l.props,u=i.prefixCls,C=i.className,A=i.theme,h=i.expandIcon,g=N(i,["prefixCls","className","theme","expandIcon"]),y=(0,d.A)(g,["siderCollapsed","collapsedWidth"]),x=l.getInlineCollapsed(),b={horizontal:{motionName:"".concat(a,"-slide-up")},inline:k.A,other:{motionName:"".concat(a,"-zoom-big")}},P=t("menu",u),$=p()("".concat(P,"-").concat(A),C);return c.createElement(f.Provider,{value:{prefixCls:P,inlineCollapsed:x||!1,antdMenuTheme:A,direction:r,firstLevel:!0}},c.createElement(s.Ay,(0,o.A)({getPopupContainer:n,overflowedIndicator:c.createElement(m.A,null),overflowedIndicatorPopupClassName:"".concat(P,"-").concat(A)},y,{inlineCollapsed:x,className:$,prefixCls:P,direction:r,defaultMotions:b,expandIcon:(0,v.Ob)(h,{className:"".concat(P,"-submenu-expand-icon")})})))},(0,$.A)(!("inlineCollapsed"in e&&"inline"!==e.mode),"Menu","`inlineCollapsed` should only be used when `mode` is inline."),(0,$.A)(!(void 0!==e.siderCollapsed&&"inlineCollapsed"in e),"Menu","`inlineCollapsed` not control Menu under Sider. Should set `collapsed` on Sider instead."),l}return(0,l.A)(t,[{key:"getInlineCollapsed",value:function(){var e=this.props,n=e.inlineCollapsed,t=e.siderCollapsed;return void 0!==t?t:n}},{key:"render",value:function(){return c.createElement(P.TG,null,this.renderMenu)}}]),t}(c.Component);w.defaultProps={theme:"light"};var E=function(e){(0,a.A)(t,e);var n=(0,i.A)(t);function t(){return(0,r.A)(this,t),n.apply(this,arguments)}return(0,l.A)(t,[{key:"render",value:function(){var e=this;return c.createElement(y.P.Consumer,null,(function(n){return c.createElement(w,(0,o.A)({},e.props,n))}))}}]),t}(c.Component);E.Divider=s.cG,E.Item=b,E.SubMenu=C,E.ItemGroup=s.te;var O=E},21621:function(e,n,t){t.d(n,{_m:function(){return L},Ay:function(){return S},q0:function(){return E}});var o=t(58168),r=t(64467),l=t(31014),a=t(45959),i=t.n(a),c=t(55785),s=t(4419),u=t(6554),p=t(78588),d=t(55228),m=t(58806),f=t(5544),v=t(76453),C=t(92536);var A,h,g,y,x=t(8602),b=3,P=1,$="",k="move-up",N=!1,w=!1;function E(){return P++}function O(e,n){var t=e.prefixCls,o=(0,x.cr)(),r=o.getPrefixCls,l=o.getRootPrefixCls,a=r("message",t||$),i=l(e.rootPrefixCls,a);if(A)n({prefixCls:a,rootPrefixCls:i,instance:A});else{var s={prefixCls:a,transitionName:N?k:"".concat(i,"-").concat(k),style:{top:h},getContainer:g,maxCount:y};c.A.newInstance(s,(function(e){A?n({prefixCls:a,rootPrefixCls:i,instance:A}):(A=e,n({prefixCls:a,rootPrefixCls:i,instance:e}))}))}}var I={info:m.A,success:d.A,error:p.A,warning:u.A,loading:s.A};function M(e,n){var t,o=void 0!==e.duration?e.duration:b,a=I[e.type],c=i()("".concat(n,"-custom-content"),(t={},(0,r.A)(t,"".concat(n,"-").concat(e.type),e.type),(0,r.A)(t,"".concat(n,"-rtl"),!0===w),t));return{key:e.key,duration:o,style:e.style||{},className:e.className,content:l.createElement("div",{className:c},e.icon||a&&l.createElement(a,null),l.createElement("span",null,e.content)),onClose:e.onClose,onClick:e.onClick}}var T={open:function(e){var n=e.key||P++,t=new Promise((function(t){var r=function(){return"function"===typeof e.onClose&&e.onClose(),t(!0)};O(e,(function(t){var l=t.prefixCls;t.instance.notice(M((0,o.A)((0,o.A)({},e),{key:n,onClose:r}),l))}))})),r=function(){A&&A.removeNotice(n)};return r.then=function(e,n){return t.then(e,n)},r.promise=t,r},config:function(e){void 0!==e.top&&(h=e.top,A=null),void 0!==e.duration&&(b=e.duration),void 0!==e.prefixCls&&($=e.prefixCls),void 0!==e.getContainer&&(g=e.getContainer),void 0!==e.transitionName&&(k=e.transitionName,A=null,N=!0),void 0!==e.maxCount&&(y=e.maxCount,A=null),void 0!==e.rtl&&(w=e.rtl)},destroy:function(e){if(A)if(e){(0,A.removeNotice)(e)}else{var n=A.destroy;n(),A=null}}};function L(e,n){e[n]=function(t,r,l){return function(e){return"[object Object]"===Object.prototype.toString.call(e)&&!!e.content}(t)?e.open((0,o.A)((0,o.A)({},t),{type:n})):("function"===typeof r&&(l=r,r=void 0),e.open({content:t,duration:r,type:n,onClose:l}))}}["success","info","warning","error","loading"].forEach((function(e){return L(T,e)})),T.warn=T.warning,T.useMessage=function(e,n){return function(){var t,r=null,a={add:function(e,n){null===r||void 0===r||r.component.add(e,n)}},i=(0,v.A)(a),c=(0,f.A)(i,2),s=c[0],u=c[1];var p=l.useRef({});return p.current.open=function(l){var a=l.prefixCls,i=t("message",a),c=t(),u=l.key||E(),p=new Promise((function(t){var a=function(){return"function"===typeof l.onClose&&l.onClose(),t(!0)};e((0,o.A)((0,o.A)({},l),{prefixCls:i,rootPrefixCls:c}),(function(e){var t=e.prefixCls,i=e.instance;r=i,s(n((0,o.A)((0,o.A)({},l),{key:u,onClose:a}),t))}))})),d=function(){r&&r.removeNotice(u)};return d.then=function(e,n){return p.then(e,n)},d.promise=p,d},["success","info","warning","error","loading"].forEach((function(e){return L(p.current,e)})),[p.current,l.createElement(C.TG,{key:"holder"},(function(e){return t=e.getPrefixCls,u}))]}}(O,M);var S=T}}]);