aiware-js 1.0.0-master.72 → 1.0.0-master.721

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.
Files changed (485) hide show
  1. package/aiware-ui.esm.js +46 -0
  2. package/files/dosis-all-200-normal.woff +0 -0
  3. package/files/dosis-all-300-normal.woff +0 -0
  4. package/files/dosis-all-400-normal.woff +0 -0
  5. package/files/dosis-all-500-normal.woff +0 -0
  6. package/files/dosis-all-600-normal.woff +0 -0
  7. package/files/dosis-all-700-normal.woff +0 -0
  8. package/files/dosis-all-800-normal.woff +0 -0
  9. package/files/dosis-latin-200-normal.woff +0 -0
  10. package/files/dosis-latin-200-normal.woff2 +0 -0
  11. package/files/dosis-latin-300-normal.woff +0 -0
  12. package/files/dosis-latin-300-normal.woff2 +0 -0
  13. package/files/dosis-latin-400-normal.woff +0 -0
  14. package/files/dosis-latin-400-normal.woff2 +0 -0
  15. package/files/dosis-latin-500-normal.woff +0 -0
  16. package/files/dosis-latin-500-normal.woff2 +0 -0
  17. package/files/dosis-latin-600-normal.woff +0 -0
  18. package/files/dosis-latin-600-normal.woff2 +0 -0
  19. package/files/dosis-latin-700-normal.woff +0 -0
  20. package/files/dosis-latin-700-normal.woff2 +0 -0
  21. package/files/dosis-latin-800-normal.woff +0 -0
  22. package/files/dosis-latin-800-normal.woff2 +0 -0
  23. package/files/dosis-latin-ext-200-normal.woff +0 -0
  24. package/files/dosis-latin-ext-200-normal.woff2 +0 -0
  25. package/files/dosis-latin-ext-300-normal.woff +0 -0
  26. package/files/dosis-latin-ext-300-normal.woff2 +0 -0
  27. package/files/dosis-latin-ext-400-normal.woff +0 -0
  28. package/files/dosis-latin-ext-400-normal.woff2 +0 -0
  29. package/files/dosis-latin-ext-500-normal.woff +0 -0
  30. package/files/dosis-latin-ext-500-normal.woff2 +0 -0
  31. package/files/dosis-latin-ext-600-normal.woff +0 -0
  32. package/files/dosis-latin-ext-600-normal.woff2 +0 -0
  33. package/files/dosis-latin-ext-700-normal.woff +0 -0
  34. package/files/dosis-latin-ext-700-normal.woff2 +0 -0
  35. package/files/dosis-latin-ext-800-normal.woff +0 -0
  36. package/files/dosis-latin-ext-800-normal.woff2 +0 -0
  37. package/files/dosis-latin-ext-variable-wghtOnly-normal.woff2 +0 -0
  38. package/files/dosis-latin-variable-wghtOnly-normal.woff2 +0 -0
  39. package/files/dosis-vietnamese-200-normal.woff +0 -0
  40. package/files/dosis-vietnamese-200-normal.woff2 +0 -0
  41. package/files/dosis-vietnamese-300-normal.woff +0 -0
  42. package/files/dosis-vietnamese-300-normal.woff2 +0 -0
  43. package/files/dosis-vietnamese-400-normal.woff +0 -0
  44. package/files/dosis-vietnamese-400-normal.woff2 +0 -0
  45. package/files/dosis-vietnamese-500-normal.woff +0 -0
  46. package/files/dosis-vietnamese-500-normal.woff2 +0 -0
  47. package/files/dosis-vietnamese-600-normal.woff +0 -0
  48. package/files/dosis-vietnamese-600-normal.woff2 +0 -0
  49. package/files/dosis-vietnamese-700-normal.woff +0 -0
  50. package/files/dosis-vietnamese-700-normal.woff2 +0 -0
  51. package/files/dosis-vietnamese-800-normal.woff +0 -0
  52. package/files/dosis-vietnamese-800-normal.woff2 +0 -0
  53. package/files/dosis-vietnamese-variable-wghtOnly-normal.woff2 +0 -0
  54. package/files/nunito-all-200-italic.woff +0 -0
  55. package/files/nunito-all-200-normal.woff +0 -0
  56. package/files/nunito-all-300-italic.woff +0 -0
  57. package/files/nunito-all-300-normal.woff +0 -0
  58. package/files/nunito-all-400-italic.woff +0 -0
  59. package/files/nunito-all-400-normal.woff +0 -0
  60. package/files/nunito-all-500-italic.woff +0 -0
  61. package/files/nunito-all-500-normal.woff +0 -0
  62. package/files/nunito-all-600-italic.woff +0 -0
  63. package/files/nunito-all-600-normal.woff +0 -0
  64. package/files/nunito-all-700-italic.woff +0 -0
  65. package/files/nunito-all-700-normal.woff +0 -0
  66. package/files/nunito-all-800-italic.woff +0 -0
  67. package/files/nunito-all-800-normal.woff +0 -0
  68. package/files/nunito-all-900-italic.woff +0 -0
  69. package/files/nunito-all-900-normal.woff +0 -0
  70. package/files/nunito-cyrillic-200-italic.woff +0 -0
  71. package/files/nunito-cyrillic-200-italic.woff2 +0 -0
  72. package/files/nunito-cyrillic-200-normal.woff +0 -0
  73. package/files/nunito-cyrillic-200-normal.woff2 +0 -0
  74. package/files/nunito-cyrillic-300-italic.woff +0 -0
  75. package/files/nunito-cyrillic-300-italic.woff2 +0 -0
  76. package/files/nunito-cyrillic-300-normal.woff +0 -0
  77. package/files/nunito-cyrillic-300-normal.woff2 +0 -0
  78. package/files/nunito-cyrillic-400-italic.woff +0 -0
  79. package/files/nunito-cyrillic-400-italic.woff2 +0 -0
  80. package/files/nunito-cyrillic-400-normal.woff +0 -0
  81. package/files/nunito-cyrillic-400-normal.woff2 +0 -0
  82. package/files/nunito-cyrillic-500-italic.woff +0 -0
  83. package/files/nunito-cyrillic-500-italic.woff2 +0 -0
  84. package/files/nunito-cyrillic-500-normal.woff +0 -0
  85. package/files/nunito-cyrillic-500-normal.woff2 +0 -0
  86. package/files/nunito-cyrillic-600-italic.woff +0 -0
  87. package/files/nunito-cyrillic-600-italic.woff2 +0 -0
  88. package/files/nunito-cyrillic-600-normal.woff +0 -0
  89. package/files/nunito-cyrillic-600-normal.woff2 +0 -0
  90. package/files/nunito-cyrillic-700-italic.woff +0 -0
  91. package/files/nunito-cyrillic-700-italic.woff2 +0 -0
  92. package/files/nunito-cyrillic-700-normal.woff +0 -0
  93. package/files/nunito-cyrillic-700-normal.woff2 +0 -0
  94. package/files/nunito-cyrillic-800-italic.woff +0 -0
  95. package/files/nunito-cyrillic-800-italic.woff2 +0 -0
  96. package/files/nunito-cyrillic-800-normal.woff +0 -0
  97. package/files/nunito-cyrillic-800-normal.woff2 +0 -0
  98. package/files/nunito-cyrillic-900-italic.woff +0 -0
  99. package/files/nunito-cyrillic-900-italic.woff2 +0 -0
  100. package/files/nunito-cyrillic-900-normal.woff +0 -0
  101. package/files/nunito-cyrillic-900-normal.woff2 +0 -0
  102. package/files/nunito-cyrillic-ext-200-italic.woff +0 -0
  103. package/files/nunito-cyrillic-ext-200-italic.woff2 +0 -0
  104. package/files/nunito-cyrillic-ext-200-normal.woff +0 -0
  105. package/files/nunito-cyrillic-ext-200-normal.woff2 +0 -0
  106. package/files/nunito-cyrillic-ext-300-italic.woff +0 -0
  107. package/files/nunito-cyrillic-ext-300-italic.woff2 +0 -0
  108. package/files/nunito-cyrillic-ext-300-normal.woff +0 -0
  109. package/files/nunito-cyrillic-ext-300-normal.woff2 +0 -0
  110. package/files/nunito-cyrillic-ext-400-italic.woff +0 -0
  111. package/files/nunito-cyrillic-ext-400-italic.woff2 +0 -0
  112. package/files/nunito-cyrillic-ext-400-normal.woff +0 -0
  113. package/files/nunito-cyrillic-ext-400-normal.woff2 +0 -0
  114. package/files/nunito-cyrillic-ext-500-italic.woff +0 -0
  115. package/files/nunito-cyrillic-ext-500-italic.woff2 +0 -0
  116. package/files/nunito-cyrillic-ext-500-normal.woff +0 -0
  117. package/files/nunito-cyrillic-ext-500-normal.woff2 +0 -0
  118. package/files/nunito-cyrillic-ext-600-italic.woff +0 -0
  119. package/files/nunito-cyrillic-ext-600-italic.woff2 +0 -0
  120. package/files/nunito-cyrillic-ext-600-normal.woff +0 -0
  121. package/files/nunito-cyrillic-ext-600-normal.woff2 +0 -0
  122. package/files/nunito-cyrillic-ext-700-italic.woff +0 -0
  123. package/files/nunito-cyrillic-ext-700-italic.woff2 +0 -0
  124. package/files/nunito-cyrillic-ext-700-normal.woff +0 -0
  125. package/files/nunito-cyrillic-ext-700-normal.woff2 +0 -0
  126. package/files/nunito-cyrillic-ext-800-italic.woff +0 -0
  127. package/files/nunito-cyrillic-ext-800-italic.woff2 +0 -0
  128. package/files/nunito-cyrillic-ext-800-normal.woff +0 -0
  129. package/files/nunito-cyrillic-ext-800-normal.woff2 +0 -0
  130. package/files/nunito-cyrillic-ext-900-italic.woff +0 -0
  131. package/files/nunito-cyrillic-ext-900-italic.woff2 +0 -0
  132. package/files/nunito-cyrillic-ext-900-normal.woff +0 -0
  133. package/files/nunito-cyrillic-ext-900-normal.woff2 +0 -0
  134. package/files/nunito-cyrillic-ext-variable-wghtOnly-italic.woff2 +0 -0
  135. package/files/nunito-cyrillic-ext-variable-wghtOnly-normal.woff2 +0 -0
  136. package/files/nunito-cyrillic-variable-wghtOnly-italic.woff2 +0 -0
  137. package/files/nunito-cyrillic-variable-wghtOnly-normal.woff2 +0 -0
  138. package/files/nunito-latin-200-italic.woff +0 -0
  139. package/files/nunito-latin-200-italic.woff2 +0 -0
  140. package/files/nunito-latin-200-normal.woff +0 -0
  141. package/files/nunito-latin-200-normal.woff2 +0 -0
  142. package/files/nunito-latin-300-italic.woff +0 -0
  143. package/files/nunito-latin-300-italic.woff2 +0 -0
  144. package/files/nunito-latin-300-normal.woff +0 -0
  145. package/files/nunito-latin-300-normal.woff2 +0 -0
  146. package/files/nunito-latin-400-italic.woff +0 -0
  147. package/files/nunito-latin-400-italic.woff2 +0 -0
  148. package/files/nunito-latin-400-normal.woff +0 -0
  149. package/files/nunito-latin-400-normal.woff2 +0 -0
  150. package/files/nunito-latin-500-italic.woff +0 -0
  151. package/files/nunito-latin-500-italic.woff2 +0 -0
  152. package/files/nunito-latin-500-normal.woff +0 -0
  153. package/files/nunito-latin-500-normal.woff2 +0 -0
  154. package/files/nunito-latin-600-italic.woff +0 -0
  155. package/files/nunito-latin-600-italic.woff2 +0 -0
  156. package/files/nunito-latin-600-normal.woff +0 -0
  157. package/files/nunito-latin-600-normal.woff2 +0 -0
  158. package/files/nunito-latin-700-italic.woff +0 -0
  159. package/files/nunito-latin-700-italic.woff2 +0 -0
  160. package/files/nunito-latin-700-normal.woff +0 -0
  161. package/files/nunito-latin-700-normal.woff2 +0 -0
  162. package/files/nunito-latin-800-italic.woff +0 -0
  163. package/files/nunito-latin-800-italic.woff2 +0 -0
  164. package/files/nunito-latin-800-normal.woff +0 -0
  165. package/files/nunito-latin-800-normal.woff2 +0 -0
  166. package/files/nunito-latin-900-italic.woff +0 -0
  167. package/files/nunito-latin-900-italic.woff2 +0 -0
  168. package/files/nunito-latin-900-normal.woff +0 -0
  169. package/files/nunito-latin-900-normal.woff2 +0 -0
  170. package/files/nunito-latin-ext-200-italic.woff +0 -0
  171. package/files/nunito-latin-ext-200-italic.woff2 +0 -0
  172. package/files/nunito-latin-ext-200-normal.woff +0 -0
  173. package/files/nunito-latin-ext-200-normal.woff2 +0 -0
  174. package/files/nunito-latin-ext-300-italic.woff +0 -0
  175. package/files/nunito-latin-ext-300-italic.woff2 +0 -0
  176. package/files/nunito-latin-ext-300-normal.woff +0 -0
  177. package/files/nunito-latin-ext-300-normal.woff2 +0 -0
  178. package/files/nunito-latin-ext-400-italic.woff +0 -0
  179. package/files/nunito-latin-ext-400-italic.woff2 +0 -0
  180. package/files/nunito-latin-ext-400-normal.woff +0 -0
  181. package/files/nunito-latin-ext-400-normal.woff2 +0 -0
  182. package/files/nunito-latin-ext-500-italic.woff +0 -0
  183. package/files/nunito-latin-ext-500-italic.woff2 +0 -0
  184. package/files/nunito-latin-ext-500-normal.woff +0 -0
  185. package/files/nunito-latin-ext-500-normal.woff2 +0 -0
  186. package/files/nunito-latin-ext-600-italic.woff +0 -0
  187. package/files/nunito-latin-ext-600-italic.woff2 +0 -0
  188. package/files/nunito-latin-ext-600-normal.woff +0 -0
  189. package/files/nunito-latin-ext-600-normal.woff2 +0 -0
  190. package/files/nunito-latin-ext-700-italic.woff +0 -0
  191. package/files/nunito-latin-ext-700-italic.woff2 +0 -0
  192. package/files/nunito-latin-ext-700-normal.woff +0 -0
  193. package/files/nunito-latin-ext-700-normal.woff2 +0 -0
  194. package/files/nunito-latin-ext-800-italic.woff +0 -0
  195. package/files/nunito-latin-ext-800-italic.woff2 +0 -0
  196. package/files/nunito-latin-ext-800-normal.woff +0 -0
  197. package/files/nunito-latin-ext-800-normal.woff2 +0 -0
  198. package/files/nunito-latin-ext-900-italic.woff +0 -0
  199. package/files/nunito-latin-ext-900-italic.woff2 +0 -0
  200. package/files/nunito-latin-ext-900-normal.woff +0 -0
  201. package/files/nunito-latin-ext-900-normal.woff2 +0 -0
  202. package/files/nunito-latin-ext-variable-wghtOnly-italic.woff2 +0 -0
  203. package/files/nunito-latin-ext-variable-wghtOnly-normal.woff2 +0 -0
  204. package/files/nunito-latin-variable-wghtOnly-italic.woff2 +0 -0
  205. package/files/nunito-latin-variable-wghtOnly-normal.woff2 +0 -0
  206. package/files/nunito-vietnamese-200-italic.woff +0 -0
  207. package/files/nunito-vietnamese-200-italic.woff2 +0 -0
  208. package/files/nunito-vietnamese-200-normal.woff +0 -0
  209. package/files/nunito-vietnamese-200-normal.woff2 +0 -0
  210. package/files/nunito-vietnamese-300-italic.woff +0 -0
  211. package/files/nunito-vietnamese-300-italic.woff2 +0 -0
  212. package/files/nunito-vietnamese-300-normal.woff +0 -0
  213. package/files/nunito-vietnamese-300-normal.woff2 +0 -0
  214. package/files/nunito-vietnamese-400-italic.woff +0 -0
  215. package/files/nunito-vietnamese-400-italic.woff2 +0 -0
  216. package/files/nunito-vietnamese-400-normal.woff +0 -0
  217. package/files/nunito-vietnamese-400-normal.woff2 +0 -0
  218. package/files/nunito-vietnamese-500-italic.woff +0 -0
  219. package/files/nunito-vietnamese-500-italic.woff2 +0 -0
  220. package/files/nunito-vietnamese-500-normal.woff +0 -0
  221. package/files/nunito-vietnamese-500-normal.woff2 +0 -0
  222. package/files/nunito-vietnamese-600-italic.woff +0 -0
  223. package/files/nunito-vietnamese-600-italic.woff2 +0 -0
  224. package/files/nunito-vietnamese-600-normal.woff +0 -0
  225. package/files/nunito-vietnamese-600-normal.woff2 +0 -0
  226. package/files/nunito-vietnamese-700-italic.woff +0 -0
  227. package/files/nunito-vietnamese-700-italic.woff2 +0 -0
  228. package/files/nunito-vietnamese-700-normal.woff +0 -0
  229. package/files/nunito-vietnamese-700-normal.woff2 +0 -0
  230. package/files/nunito-vietnamese-800-italic.woff +0 -0
  231. package/files/nunito-vietnamese-800-italic.woff2 +0 -0
  232. package/files/nunito-vietnamese-800-normal.woff +0 -0
  233. package/files/nunito-vietnamese-800-normal.woff2 +0 -0
  234. package/files/nunito-vietnamese-900-italic.woff +0 -0
  235. package/files/nunito-vietnamese-900-italic.woff2 +0 -0
  236. package/files/nunito-vietnamese-900-normal.woff +0 -0
  237. package/files/nunito-vietnamese-900-normal.woff2 +0 -0
  238. package/files/nunito-vietnamese-variable-wghtOnly-italic.woff2 +0 -0
  239. package/files/nunito-vietnamese-variable-wghtOnly-normal.woff2 +0 -0
  240. package/index.d.ts +1 -0
  241. package/index.esm.css +1404 -70
  242. package/index.esm.css.gz +0 -0
  243. package/index.esm.js +1 -1
  244. package/index.esm.js.gz +0 -0
  245. package/index.esm.min.css +1820 -0
  246. package/index.esm.min.css.gz +0 -0
  247. package/index.html +1 -1
  248. package/js-core.esm.js +589 -63
  249. package/js-core.esm.js.gz +0 -0
  250. package/js-core.esm10.js +1 -1
  251. package/js-core.esm10.js.gz +0 -0
  252. package/js-core.esm11.js +1 -1
  253. package/js-core.esm11.js.gz +0 -0
  254. package/js-core.esm12.js +1 -1
  255. package/js-core.esm12.js.gz +0 -0
  256. package/js-core.esm13.js +1 -1
  257. package/js-core.esm13.js.gz +0 -0
  258. package/js-core.esm14.js +1 -1
  259. package/js-core.esm14.js.gz +0 -0
  260. package/js-core.esm15.js +1 -1
  261. package/js-core.esm15.js.gz +0 -0
  262. package/js-core.esm16.js +1 -22
  263. package/js-core.esm16.js.gz +0 -0
  264. package/js-core.esm17.js +1 -1
  265. package/js-core.esm17.js.gz +0 -0
  266. package/js-core.esm18.js +212 -567
  267. package/js-core.esm18.js.gz +0 -0
  268. package/js-core.esm19.js +20 -1
  269. package/js-core.esm19.js.gz +0 -0
  270. package/js-core.esm2.js +1 -1
  271. package/js-core.esm2.js.gz +0 -0
  272. package/js-core.esm20.js +13 -1
  273. package/js-core.esm20.js.gz +0 -0
  274. package/js-core.esm21.js +1 -1
  275. package/js-core.esm21.js.gz +0 -0
  276. package/js-core.esm22.js +1 -1
  277. package/js-core.esm22.js.gz +0 -0
  278. package/js-core.esm23.js +1 -1
  279. package/js-core.esm23.js.gz +0 -0
  280. package/js-core.esm24.js +1 -1
  281. package/js-core.esm24.js.gz +0 -0
  282. package/js-core.esm25.js +1 -1
  283. package/js-core.esm25.js.gz +0 -0
  284. package/js-core.esm26.js +1 -1
  285. package/js-core.esm26.js.gz +0 -0
  286. package/js-core.esm27.js +1 -230
  287. package/js-core.esm27.js.gz +0 -0
  288. package/js-core.esm28.js +1 -60
  289. package/js-core.esm28.js.gz +0 -0
  290. package/js-core.esm29.js +1 -1
  291. package/js-core.esm29.js.gz +0 -0
  292. package/js-core.esm3.js +1 -1
  293. package/js-core.esm3.js.gz +0 -0
  294. package/js-core.esm30.js +1 -1
  295. package/js-core.esm30.js.gz +0 -0
  296. package/js-core.esm31.js +1 -1
  297. package/js-core.esm31.js.gz +0 -0
  298. package/js-core.esm32.js +1 -1
  299. package/js-core.esm32.js.gz +0 -0
  300. package/js-core.esm33.js +1 -14
  301. package/js-core.esm33.js.gz +0 -0
  302. package/js-core.esm34.js +1 -12
  303. package/js-core.esm34.js.gz +0 -0
  304. package/js-core.esm35.js +1 -54
  305. package/js-core.esm35.js.gz +0 -0
  306. package/js-core.esm36.js +1 -1
  307. package/js-core.esm36.js.gz +0 -0
  308. package/js-core.esm37.js +43 -30
  309. package/js-core.esm37.js.gz +0 -0
  310. package/js-core.esm38.js +1 -226
  311. package/js-core.esm38.js.gz +0 -0
  312. package/js-core.esm39.js +191 -12
  313. package/js-core.esm39.js.gz +0 -0
  314. package/js-core.esm4.js +13 -1
  315. package/js-core.esm4.js.gz +0 -0
  316. package/js-core.esm40.js +1 -1
  317. package/js-core.esm40.js.gz +0 -0
  318. package/js-core.esm41.js +1 -1
  319. package/js-core.esm41.js.gz +0 -0
  320. package/js-core.esm42.js +1 -1
  321. package/js-core.esm42.js.gz +0 -0
  322. package/js-core.esm43.js +37 -1
  323. package/js-core.esm43.js.gz +0 -0
  324. package/js-core.esm44.js +1 -31
  325. package/js-core.esm44.js.gz +0 -0
  326. package/js-core.esm45.js +1 -1
  327. package/js-core.esm45.js.gz +0 -0
  328. package/js-core.esm46.js +1 -1
  329. package/js-core.esm46.js.gz +0 -0
  330. package/js-core.esm47.js +31 -1
  331. package/js-core.esm47.js.gz +0 -0
  332. package/js-core.esm48.js +1 -0
  333. package/js-core.esm48.js.gz +0 -0
  334. package/js-core.esm49.js +1 -0
  335. package/js-core.esm49.js.gz +0 -0
  336. package/js-core.esm5.js +1 -1
  337. package/js-core.esm5.js.gz +0 -0
  338. package/js-core.esm50.js +85 -0
  339. package/js-core.esm50.js.gz +0 -0
  340. package/js-core.esm51.js +64 -0
  341. package/js-core.esm51.js.gz +0 -0
  342. package/js-core.esm52.js +8 -0
  343. package/js-core.esm52.js.gz +0 -0
  344. package/js-core.esm53.js +1 -0
  345. package/js-core.esm53.js.gz +0 -0
  346. package/js-core.esm54.js +56 -0
  347. package/js-core.esm54.js.gz +0 -0
  348. package/js-core.esm55.js +111 -0
  349. package/js-core.esm55.js.gz +0 -0
  350. package/js-core.esm56.js +149 -0
  351. package/js-core.esm56.js.gz +0 -0
  352. package/js-core.esm57.js +75 -0
  353. package/js-core.esm57.js.gz +0 -0
  354. package/js-core.esm58.js +15 -0
  355. package/js-core.esm58.js.gz +0 -0
  356. package/js-core.esm59.js +1 -0
  357. package/js-core.esm59.js.gz +0 -0
  358. package/js-core.esm6.js +1 -20
  359. package/js-core.esm6.js.gz +0 -0
  360. package/js-core.esm60.js +1 -0
  361. package/js-core.esm60.js.gz +0 -0
  362. package/js-core.esm61.js +121 -0
  363. package/js-core.esm61.js.gz +0 -0
  364. package/js-core.esm62.js +32 -0
  365. package/js-core.esm62.js.gz +0 -0
  366. package/js-core.esm63.js +20 -0
  367. package/js-core.esm63.js.gz +0 -0
  368. package/js-core.esm64.js +14 -0
  369. package/js-core.esm64.js.gz +0 -0
  370. package/js-core.esm65.js +1 -0
  371. package/js-core.esm65.js.gz +0 -0
  372. package/js-core.esm66.js +1 -0
  373. package/js-core.esm66.js.gz +0 -0
  374. package/js-core.esm67.js +61 -0
  375. package/js-core.esm67.js.gz +0 -0
  376. package/js-core.esm68.js +56 -0
  377. package/js-core.esm68.js.gz +0 -0
  378. package/js-core.esm69.js +88 -0
  379. package/js-core.esm69.js.gz +0 -0
  380. package/js-core.esm7.js +65 -121
  381. package/js-core.esm7.js.gz +0 -0
  382. package/js-core.esm70.js +1 -0
  383. package/js-core.esm70.js.gz +0 -0
  384. package/js-core.esm71.js +1 -0
  385. package/js-core.esm71.js.gz +0 -0
  386. package/js-core.esm72.js +35 -0
  387. package/js-core.esm72.js.gz +0 -0
  388. package/js-core.esm73.js +1 -0
  389. package/js-core.esm73.js.gz +0 -0
  390. package/js-core.esm74.js +1 -0
  391. package/js-core.esm74.js.gz +0 -0
  392. package/js-core.esm75.js +1 -0
  393. package/js-core.esm75.js.gz +0 -0
  394. package/js-core.esm76.js +1 -0
  395. package/js-core.esm76.js.gz +0 -0
  396. package/js-core.esm77.js +1 -0
  397. package/js-core.esm77.js.gz +0 -0
  398. package/js-core.esm78.js +1 -0
  399. package/js-core.esm78.js.gz +0 -0
  400. package/js-core.esm79.js +1 -0
  401. package/js-core.esm79.js.gz +0 -0
  402. package/js-core.esm8.js +596 -1
  403. package/js-core.esm8.js.gz +0 -0
  404. package/js-core.esm80.js +1 -0
  405. package/js-core.esm80.js.gz +0 -0
  406. package/js-core.esm81.js +1 -0
  407. package/js-core.esm81.js.gz +0 -0
  408. package/js-core.esm82.js +1 -0
  409. package/js-core.esm82.js.gz +0 -0
  410. package/js-core.esm83.js +1 -0
  411. package/js-core.esm83.js.gz +0 -0
  412. package/js-core.esm84.js +1 -0
  413. package/js-core.esm84.js.gz +0 -0
  414. package/js-core.esm85.js +1 -0
  415. package/js-core.esm85.js.gz +0 -0
  416. package/js-core.esm86.js +1 -0
  417. package/js-core.esm86.js.gz +0 -0
  418. package/js-core.esm87.js +1 -0
  419. package/js-core.esm87.js.gz +0 -0
  420. package/js-core.esm88.js +1 -0
  421. package/js-core.esm88.js.gz +0 -0
  422. package/js-core.esm89.js +1 -0
  423. package/js-core.esm89.js.gz +0 -0
  424. package/js-core.esm9.js +1 -1
  425. package/js-core.esm9.js.gz +0 -0
  426. package/js-core.esm90.js +1 -0
  427. package/js-core.esm90.js.gz +0 -0
  428. package/js-core.esm91.js +1 -0
  429. package/js-core.esm91.js.gz +0 -0
  430. package/js-core.umd.css +1410 -76
  431. package/js-core.umd.css.gz +0 -0
  432. package/js-core.umd.js +1628 -239
  433. package/js-core.umd.js.gz +0 -0
  434. package/js-core.umd.min.css +1329 -57
  435. package/js-core.umd.min.css.gz +0 -0
  436. package/lib/ApplicationDialog.d.ts +1 -0
  437. package/lib/components/SupportCenterPixel.d.ts +1 -0
  438. package/lib/js.d.ts +12 -4
  439. package/lib/rate-limiter.d.ts +6 -0
  440. package/lib/registry.d.ts +2 -1
  441. package/lib/snackbar.d.ts +1 -0
  442. package/lib/widgetHandler.d.ts +18 -3
  443. package/locales/en.json +1 -1
  444. package/locales/es.json +1 -1
  445. package/locales/fr.json +1 -1
  446. package/package.json +58 -20
  447. package/files/dosis-latin-200.woff +0 -0
  448. package/files/dosis-latin-200.woff2 +0 -0
  449. package/files/dosis-latin-300.woff +0 -0
  450. package/files/dosis-latin-300.woff2 +0 -0
  451. package/files/dosis-latin-500.woff +0 -0
  452. package/files/dosis-latin-500.woff2 +0 -0
  453. package/files/dosis-latin-600.woff +0 -0
  454. package/files/dosis-latin-600.woff2 +0 -0
  455. package/files/dosis-latin-700.woff +0 -0
  456. package/files/dosis-latin-700.woff2 +0 -0
  457. package/files/dosis-latin-800.woff +0 -0
  458. package/files/dosis-latin-800.woff2 +0 -0
  459. package/files/nunito-latin-200.woff +0 -0
  460. package/files/nunito-latin-200.woff2 +0 -0
  461. package/files/nunito-latin-200italic.woff +0 -0
  462. package/files/nunito-latin-200italic.woff2 +0 -0
  463. package/files/nunito-latin-300.woff +0 -0
  464. package/files/nunito-latin-300.woff2 +0 -0
  465. package/files/nunito-latin-300italic.woff +0 -0
  466. package/files/nunito-latin-300italic.woff2 +0 -0
  467. package/files/nunito-latin-400.woff2 +0 -0
  468. package/files/nunito-latin-400italic.woff +0 -0
  469. package/files/nunito-latin-400italic.woff2 +0 -0
  470. package/files/nunito-latin-600.woff +0 -0
  471. package/files/nunito-latin-600.woff2 +0 -0
  472. package/files/nunito-latin-600italic.woff +0 -0
  473. package/files/nunito-latin-600italic.woff2 +0 -0
  474. package/files/nunito-latin-700.woff +0 -0
  475. package/files/nunito-latin-700.woff2 +0 -0
  476. package/files/nunito-latin-700italic.woff +0 -0
  477. package/files/nunito-latin-700italic.woff2 +0 -0
  478. package/files/nunito-latin-800.woff +0 -0
  479. package/files/nunito-latin-800.woff2 +0 -0
  480. package/files/nunito-latin-800italic.woff +0 -0
  481. package/files/nunito-latin-800italic.woff2 +0 -0
  482. package/files/nunito-latin-900.woff +0 -0
  483. package/files/nunito-latin-900.woff2 +0 -0
  484. package/files/nunito-latin-900italic.woff +0 -0
  485. package/files/nunito-latin-900italic.woff2 +0 -0
Binary file
@@ -0,0 +1 @@
1
+ import{b_ as keys_1,gf as _getSymbols,c_ as _arrayPush,gg as stubArray_1,gh as _baseGetAllKeys,dZ as _Symbol,gi as _getTag,e7 as isObjectLike_1,gj as _nodeUtil,ej as _baseUnary,ed as _Stack,ea as isBuffer$1,dG as isObject_1,gk as _getAllKeys,c$ as isArray_1,e2 as eq_1,eg as _isIterateeCall,gl as _castFunction,d$ as _baseEach}from"./js-core.esm.js";import{h as _copyObject,k as keysIn_1,j as _getPrototype,m as _cloneArrayBuffer,n as _cloneTypedArray,c as _assignValue,o as _cloneBuffer,_ as _copyArray,p as _initCloneObject,a as _baseRest}from"./js-core.esm28.js";function arrayEach$2(e,a){for(var t=-1,o=null==e?0:e.length;++t<o&&!1!==a(e[t],t,e););return e}var _arrayEach=arrayEach$2,copyObject$3=_copyObject,keys$1=keys_1;function baseAssign$1(e,a){return e&&copyObject$3(a,keys$1(a),e)}var _baseAssign=baseAssign$1,copyObject$2=_copyObject,keysIn$3=keysIn_1;function baseAssignIn$1(e,a){return e&&copyObject$2(a,keysIn$3(a),e)}var _baseAssignIn=baseAssignIn$1,copyObject$1=_copyObject,getSymbols$1=_getSymbols;function copySymbols$1(e,a){return copyObject$1(e,getSymbols$1(e),a)}var _copySymbols=copySymbols$1,arrayPush=_arrayPush,getPrototype=_getPrototype,getSymbols=_getSymbols,stubArray=stubArray_1,nativeGetSymbols=Object.getOwnPropertySymbols,getSymbolsIn$2=nativeGetSymbols?function(e){for(var a=[];e;)arrayPush(a,getSymbols(e)),e=getPrototype(e);return a}:stubArray,_getSymbolsIn=getSymbolsIn$2,copyObject=_copyObject,getSymbolsIn$1=getSymbolsIn$2;function copySymbolsIn$1(e,a){return copyObject(e,getSymbolsIn$1(e),a)}var _copySymbolsIn=copySymbolsIn$1,baseGetAllKeys=_baseGetAllKeys,getSymbolsIn=getSymbolsIn$2,keysIn$2=keysIn_1;function getAllKeysIn$1(e){return baseGetAllKeys(e,keysIn$2,getSymbolsIn)}var _getAllKeysIn=getAllKeysIn$1,objectProto$1=Object.prototype,hasOwnProperty$1=objectProto$1.hasOwnProperty;function initCloneArray$1(e){var a=e.length,t=new e.constructor(a);return a&&"string"==typeof e[0]&&hasOwnProperty$1.call(e,"index")&&(t.index=e.index,t.input=e.input),t}var _initCloneArray=initCloneArray$1,cloneArrayBuffer$1=_cloneArrayBuffer;function cloneDataView$1(e,a){a=a?cloneArrayBuffer$1(e.buffer):e.buffer;return new e.constructor(a,e.byteOffset,e.byteLength)}var _cloneDataView=cloneDataView$1,reFlags=/\w*$/;function cloneRegExp$1(e){var a=new e.constructor(e.source,reFlags.exec(e));return a.lastIndex=e.lastIndex,a}var _cloneRegExp=cloneRegExp$1,Symbol=_Symbol,symbolProto=_Symbol?_Symbol.prototype:void 0,symbolValueOf=symbolProto?symbolProto.valueOf:void 0;function cloneSymbol$1(e){return symbolValueOf?Object(symbolValueOf.call(e)):{}}var _cloneSymbol=cloneSymbol$1,cloneArrayBuffer=_cloneArrayBuffer,cloneDataView=_cloneDataView,cloneRegExp=_cloneRegExp,cloneSymbol=cloneSymbol$1,cloneTypedArray=_cloneTypedArray,boolTag$1="[object Boolean]",dateTag$1="[object Date]",mapTag$2="[object Map]",numberTag$1="[object Number]",regexpTag$1="[object RegExp]",setTag$2="[object Set]",stringTag$1="[object String]",symbolTag$1="[object Symbol]",arrayBufferTag$1="[object ArrayBuffer]",dataViewTag$1="[object DataView]",float32Tag$1="[object Float32Array]",float64Tag$1="[object Float64Array]",int8Tag$1="[object Int8Array]",int16Tag$1="[object Int16Array]",int32Tag$1="[object Int32Array]",uint8Tag$1="[object Uint8Array]",uint8ClampedTag$1="[object Uint8ClampedArray]",uint16Tag$1="[object Uint16Array]",uint32Tag$1="[object Uint32Array]";function initCloneByTag$1(e,a,t){var o=e.constructor;switch(a){case arrayBufferTag$1:return cloneArrayBuffer(e);case boolTag$1:case dateTag$1:return new o(+e);case dataViewTag$1:return cloneDataView(e,t);case float32Tag$1:case float64Tag$1:case int8Tag$1:case int16Tag$1:case int32Tag$1:case uint8Tag$1:case uint8ClampedTag$1:case uint16Tag$1:case uint32Tag$1:return cloneTypedArray(e,t);case mapTag$2:return new o;case numberTag$1:case stringTag$1:return new o(e);case regexpTag$1:return cloneRegExp(e);case setTag$2:return new o;case symbolTag$1:return cloneSymbol(e)}}var _initCloneByTag=initCloneByTag$1,getTag$2=_getTag,isObjectLike$1=isObjectLike_1,mapTag$1="[object Map]";function baseIsMap$1(e){return isObjectLike$1(e)&&getTag$2(e)==mapTag$1}var _baseIsMap=baseIsMap$1,baseIsMap=baseIsMap$1,baseUnary$1=_baseUnary,nodeUtil$1=_nodeUtil.exports,nodeIsMap=nodeUtil$1&&nodeUtil$1.isMap,isMap$1=nodeIsMap?baseUnary$1(nodeIsMap):baseIsMap,isMap_1=isMap$1,getTag$1=_getTag,isObjectLike=isObjectLike_1,setTag$1="[object Set]";function baseIsSet$1(e){return isObjectLike(e)&&getTag$1(e)==setTag$1}var _baseIsSet=baseIsSet$1,baseIsSet=baseIsSet$1,baseUnary=_baseUnary,nodeUtil=_nodeUtil.exports,nodeIsSet=nodeUtil&&nodeUtil.isSet,isSet$1=nodeIsSet?baseUnary(nodeIsSet):baseIsSet,isSet_1=isSet$1,Stack=_Stack,arrayEach$1=_arrayEach,assignValue=_assignValue,baseAssign=_baseAssign,baseAssignIn=_baseAssignIn,cloneBuffer=_cloneBuffer.exports,copyArray=_copyArray,copySymbols=_copySymbols,copySymbolsIn=_copySymbolsIn,getAllKeys=_getAllKeys,getAllKeysIn=_getAllKeysIn,getTag=_getTag,initCloneArray=_initCloneArray,initCloneByTag=_initCloneByTag,initCloneObject=_initCloneObject,isArray$1=isArray_1,isBuffer=isBuffer$1.exports,isMap=isMap_1,isObject=isObject_1,isSet=isSet_1,keys=keys_1,keysIn$1=keysIn_1,CLONE_DEEP_FLAG$1=1,CLONE_FLAT_FLAG=2,CLONE_SYMBOLS_FLAG$1=4,argsTag="[object Arguments]",arrayTag="[object Array]",boolTag="[object Boolean]",dateTag="[object Date]",errorTag="[object Error]",funcTag="[object Function]",genTag="[object GeneratorFunction]",mapTag="[object Map]",numberTag="[object Number]",objectTag="[object Object]",regexpTag="[object RegExp]",setTag="[object Set]",stringTag="[object String]",symbolTag="[object Symbol]",weakMapTag="[object WeakMap]",arrayBufferTag="[object ArrayBuffer]",dataViewTag="[object DataView]",float32Tag="[object Float32Array]",float64Tag="[object Float64Array]",int8Tag="[object Int8Array]",int16Tag="[object Int16Array]",int32Tag="[object Int32Array]",uint8Tag="[object Uint8Array]",uint8ClampedTag="[object Uint8ClampedArray]",uint16Tag="[object Uint16Array]",uint32Tag="[object Uint32Array]",cloneableTags={};function baseClone$1(t,o,n,e,a,r){var s,c=o&CLONE_DEEP_FLAG$1,l=o&CLONE_FLAT_FLAG,b=o&CLONE_SYMBOLS_FLAG$1;if(void 0===(s=n?a?n(t,e,a,r):n(t):s)){if(!isObject(t))return t;e=isArray$1(t);if(e){if(s=initCloneArray(t),!c)return copyArray(t,s)}else{var g=getTag(t),y=g==funcTag||g==genTag;if(isBuffer(t))return cloneBuffer(t,c);if(g==objectTag||g==argsTag||y&&!a){if(s=l||y?{}:initCloneObject(t),!c)return l?copySymbolsIn(t,baseAssignIn(s,t)):copySymbols(t,baseAssign(s,t))}else{if(!cloneableTags[g])return a?t:{};s=initCloneByTag(t,g,c)}}y=(r=r||new Stack).get(t);if(y)return y;r.set(t,s),isSet(t)?t.forEach(function(e){s.add(baseClone$1(e,o,n,e,t,r))}):isMap(t)&&t.forEach(function(e,a){s.set(a,baseClone$1(e,o,n,a,t,r))});var i=e?void 0:(b?l?getAllKeysIn:getAllKeys:l?keysIn$1:keys)(t);arrayEach$1(i||t,function(e,a){i&&(e=t[a=e]),assignValue(s,a,baseClone$1(e,o,n,a,t,r))})}return s}cloneableTags[argsTag]=cloneableTags[arrayTag]=cloneableTags[arrayBufferTag]=cloneableTags[dataViewTag]=cloneableTags[boolTag]=cloneableTags[dateTag]=cloneableTags[float32Tag]=cloneableTags[float64Tag]=cloneableTags[int8Tag]=cloneableTags[int16Tag]=cloneableTags[int32Tag]=cloneableTags[mapTag]=cloneableTags[numberTag]=cloneableTags[objectTag]=cloneableTags[regexpTag]=cloneableTags[setTag]=cloneableTags[stringTag]=cloneableTags[symbolTag]=cloneableTags[uint8Tag]=cloneableTags[uint8ClampedTag]=cloneableTags[uint16Tag]=cloneableTags[uint32Tag]=!0,cloneableTags[errorTag]=cloneableTags[funcTag]=cloneableTags[weakMapTag]=!1;var _baseClone=baseClone$1,baseClone=_baseClone,CLONE_DEEP_FLAG=1,CLONE_SYMBOLS_FLAG=4;function cloneDeep(e){return baseClone(e,CLONE_DEEP_FLAG|CLONE_SYMBOLS_FLAG)}var cloneDeep_1=cloneDeep,baseRest=_baseRest,eq=eq_1,isIterateeCall=_isIterateeCall,keysIn=keysIn_1,objectProto=Object.prototype,hasOwnProperty=objectProto.hasOwnProperty,defaults=baseRest(function(e,a){e=Object(e);var t=-1,o=a.length,n=2<o?a[2]:void 0;for(n&&isIterateeCall(a[0],a[1],n)&&(o=1);++t<o;)for(var r=a[t],s=keysIn(r),c=-1,l=s.length;++c<l;){var b=s[c],g=e[b];(void 0===g||eq(g,objectProto[b])&&!hasOwnProperty.call(e,b))&&(e[b]=r[b])}return e}),defaults_1=defaults,arrayEach=_arrayEach,baseEach=_baseEach,castFunction=_castFunction,isArray=isArray_1;function forEach(e,a){return(isArray(e)?arrayEach:baseEach)(e,castFunction(a))}var forEach_1=forEach;export{_baseClone as _,_arrayEach as a,cloneDeep_1 as c,defaults_1 as d,forEach_1 as f};
Binary file
package/js-core.esm6.js CHANGED
@@ -1,20 +1 @@
1
- import{p as createSvgIcon,q as interopRequireDefault,j as jsxRuntime,r as react,m as makeStyles,t as img$1v,v as img$_,w as img$1u,x as img$19,y as img$2,z as img$4,C as img$18,D as img$3,E as img$17,G as useDispatch,H as useSelector,I as betaFeaturesSelector,J as authSelector,K as applicationSelector,L as mountPanel,M as listenLogout,N as appSwitcherSetupListener,A as AIWareIntlProvider,O as AIWareThemeProvider,Q as lib,R as getAppbarPanelModule,S as getEventsModule,U as isEqual,V as IconButton,W as classNames,T as Typography,X as Tooltip,F as FormattedMessage,Y as Badge,Z as Avatar,$ as getSortName,a0 as img$O,a1 as TabId,a2 as Popover,a3 as List,a4 as ListItem,a5 as ListItemText,a6 as Divider,a7 as isIdleSelector,a8 as userSelector$1,a9 as sessionTokenSelector,aa as loginUrlSelector,ab as callLogoutSelector,ac as clickedLogoutSelector,ad as callResetIdleTimerSelector,ae as sessionTimeoutSelector,af as reloadPageSelector,ag as resetIdleTimerCallCounterSelector,ah as postNotificationCommand,ai as aiwareEvent,aj as notificationCommands,ak as logoutRequest,al as refreshTokenRequest,am as Dialog,an as DialogTitle,ao as DialogContent,ap as DialogContentText,aq as DialogActions,ar as Button,as as all,at as fork,au as takeLatest$1,av as hidePanel,aw as takeEvery$1,ax as take,ay as logout,az as put,aA as logoutUser,aB as call,aC as appSwitcherHandleClick,aD as appSwitcherHandleClickAppNatively,aE as select,aF as graphEndpointSelector,aG as get,aH as baseGraphQLApi}from"./js-core.esm.js";import{u as unseenNotificationSelector,m as markAllNotificationsSeenRequest,i as initNotificationAction,g as getNotificationModule,o as onNotificationActionClicked}from"./js-core.esm7.js";import{d as default_1$2}from"./js-core.esm8.js";import{P as PropTypes}from"./js-core.esm13.js";import{L as ListItemIcon}from"./js-core.esm9.js";import"./js-core.esm10.js";import"./js-core.esm5.js";import"./js-core.esm11.js";import"./js-core.esm4.js";import"./js-core.esm12.js";var Message={},_interopRequireDefault$1=interopRequireDefault.exports,default_1$1=(Object.defineProperty(Message,"__esModule",{value:!0}),Message.default=void 0),_createSvgIcon$1=_interopRequireDefault$1(createSvgIcon),_jsxRuntime$1=jsxRuntime.exports,_default$1=(0,_createSvgIcon$1.default)((0,_jsxRuntime$1.jsx)("path",{d:"M20 2H4c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-2 12H6v-2h12v2zm0-3H6V9h12v2zm0-3H6V6h12v2z"}),"Message"),default_1$1=Message.default=_default$1,Description={},_interopRequireDefault=interopRequireDefault.exports,default_1=(Object.defineProperty(Description,"__esModule",{value:!0}),Description.default=void 0),_createSvgIcon=_interopRequireDefault(createSvgIcon),_jsxRuntime=jsxRuntime.exports,_default=(0,_createSvgIcon.default)((0,_jsxRuntime.jsx)("path",{d:"M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm2 16H8v-2h8v2zm0-4H8v-2h8v2zm-3-5V3.5L18.5 9H13z"}),"Description");function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function a(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?c(e):t}function s(n){var o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}();return function(){var e,t=u(n);return a(this,o?(e=u(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments))}}var default_1=Description.default=_default,d="object"===("undefined"==typeof window||"undefined"==typeof window?"undefined":i(window)),f=d?document:{},v=["mousemove","keydown","wheel","DOMMouseScroll","mousewheel","mousedown","touchstart","touchmove","MSPointerDown","MSPointerMove","visibilitychange"];function p(a,o){var r;return function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];r&&clearTimeout(r),r=setTimeout(function(){a.apply(void 0,t),r=null},o)}}function h(t,n){var a=0;return function(){var e=(new Date).getTime();if(!(e-a<n))return a=e,t.apply(void 0,arguments)}}var m=function(){var e=a,t=react.exports.Component;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&l(e,t);var n=s(a);function a(e){var t;if(!(this instanceof a))throw new TypeError("Cannot call a class as a function");if((t=n.call(this,e)).state={idle:!1,oldDate:+new Date,lastActive:+new Date,lastIdle:null,idleTime:0,remaining:null,pageX:null,pageY:null},t.tId=null,t.eventsBound=!1,0<e.debounce&&0<e.throttle)throw new Error("onAction can either be throttled or debounced (not both)");return 0<e.debounce?t._onAction=p(e.onAction,e.debounce):0<e.throttle?t._onAction=h(e.onAction,e.throttle):e.onAction?t._onAction=e.onAction:t._onAction=function(){},0<e.eventsThrottle?t._handleEvent=h(t._handleEvent.bind(c(t)),e.eventsThrottle):t._handleEvent=t._handleEvent.bind(c(t)),e.startOnMount||(t.state.idle=!0),t._toggleIdleState=t._toggleIdleState.bind(c(t)),t.reset=t.reset.bind(c(t)),t.pause=t.pause.bind(c(t)),t.resume=t.resume.bind(c(t)),t.isIdle=t.isIdle.bind(c(t)),t.getRemainingTime=t.getRemainingTime.bind(c(t)),t.getElapsedTime=t.getElapsedTime.bind(c(t)),t.getLastActiveTime=t.getLastActiveTime.bind(c(t)),t.getLastIdleTime=t.getLastIdleTime.bind(c(t)),t.getTotalIdleTime=t.getTotalIdleTime.bind(c(t)),t.getTotalActiveTime=t.getTotalActiveTime.bind(c(t)),t}return o(a.prototype,[{key:"componentDidMount",value:function(){this._bindEvents(),this.props.startOnMount&&this.reset()}},{key:"componentDidUpdate",value:function(e){e.debounce!==this.props.debounce&&(this._onAction=p(this._onAction,this.props.debounce)),e.throttle!==this.props.throttle&&(this._onAction=h(this._onAction,this.props.throttle)),e.eventsThrottle!==this.props.eventsThrottle&&(this._handleEvent=h(this._handleEvent,this.props.eventsThrottle)),e.timeout!==this.props.timeout&&null!==this.tid&&this.reset()}},{key:"componentWillUnmount",value:function(){clearTimeout(this.tId),this._unbindEvents(!0)}},{key:"render",value:function(){return this.props.children||null}},{key:"_bindEvents",value:function(){var e,t,n,a,o,r=this;d&&(e=this.props,t=e.element,n=e.events,a=e.passive,o=e.capture,this.eventsBound||(n.forEach(function(e){t.addEventListener(e,r._handleEvent,{capture:o,passive:a})}),this.eventsBound=!0))}},{key:"_unbindEvents",value:function(){var e,t,n,a,o,r=this;d&&(e=this.props,t=e.element,n=e.events,a=e.passive,o=e.capture,(this.eventsBound||0<arguments.length&&void 0!==arguments[0]&&arguments[0])&&(n.forEach(function(e){t.removeEventListener(e,r._handleEvent,{capture:o,passive:a})}),this.eventsBound=!1))}},{key:"_toggleIdleState",value:function(a){var o=this;this.setState(function(e){return{idle:!e.idle,lastIdle:e.idle?e.lastIdle:+new Date-o.props.timeout,idleTime:e.idle?e.idleTime+ +new Date-e.lastIdle:e.idleTime}},function(){var e=o.props,t=e.onActive,n=e.onIdle,e=e.stopOnIdle;o.state.idle?(e&&(clearTimeout(o.tId),o.tId=null,o._unbindEvents()),n(a)):e||(o._bindEvents(),t(a))})}},{key:"_handleEvent",value:function(e){var t=this.state,n=t.remaining,a=t.pageX,o=t.pageY,t=t.idle,r=this.props,i=r.timeout,r=r.stopOnIdle;if(this._onAction(e),!n){if("mousemove"===e.type){if(e.pageX===a&&e.pageY===o)return;if(void 0===e.pageX&&void 0===e.pageY)return;if(this.getElapsedTime()<200)return}clearTimeout(this.tId),this.tId=null;n=+new Date-this.getLastActiveTime();(t&&!r||!t&&i<n)&&this._toggleIdleState(e),this.setState({lastActive:+new Date,pageX:e.pageX,pageY:e.pageY}),t&&r||(this.tId=setTimeout(this._toggleIdleState,i))}}},{key:"reset",value:function(){clearTimeout(this.tId),this.tId=null,this._bindEvents(),this.setState({idle:!1,oldDate:+new Date,lastActive:+new Date,remaining:null});var e=this.props.timeout;this.tId=setTimeout(this._toggleIdleState,e)}},{key:"pause",value:function(){null===this.state.remaining&&(this._unbindEvents(),clearTimeout(this.tId),this.tId=null,this.setState({remaining:this.getRemainingTime()}))}},{key:"resume",value:function(){var e=this.state,t=e.remaining,e=e.idle;null!==t&&(this._bindEvents(),e||(this.tId=setTimeout(this._toggleIdleState,t),this.setState({remaining:null,lastActive:+new Date})))}},{key:"getRemainingTime",value:function(){var e=this.state,t=e.remaining,e=e.lastActive,n=this.props.timeout;if(null!==t)return t<0?0:t;t=n-(+new Date-e);return t<0?0:t}},{key:"getElapsedTime",value:function(){var e=this.state.oldDate;return+new Date-e}},{key:"getLastIdleTime",value:function(){return this.state.lastIdle}},{key:"getTotalIdleTime",value:function(){var e=this.state,t=e.idle,n=e.lastIdle,e=e.idleTime;return t?+new Date-n+e:e}},{key:"getLastActiveTime",value:function(){return this.state.lastActive}},{key:"getTotalActiveTime",value:function(){return this.getElapsedTime()-this.getTotalIdleTime()}},{key:"isIdle",value:function(){return this.state.idle}}]),a}();function g(){function n(e){var t=!S.current;(S.current=t)?(y&&(clearTimeout(k.current),k.current=null,H()),w.current=+new Date-L.current,D.current(e)):y||(O.current+=+new Date-w.current,B(),F.current(e))}function e(){if(null!==E.current)return E.current<0?0:E.current;var e=L.current-(+new Date-P.current);return e<0?0:e}function a(){return+new Date-R.current}function t(){return S.current?+new Date-w.current+O.current:O.current}function o(){return P.current}function r(){clearTimeout(k.current),k.current=null,B(),S.current=!1,R.current=+new Date,P.current=+new Date,E.current=null,k.current=setTimeout(n,L.current)}var i=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},s=i.timeout,l=void 0===s?12e5:s,s=i.element,c=void 0===s?f:s,s=i.events,u=void 0===s?v:s,s=i.onIdle,g=void 0===s?function(){}:s,s=i.onActive,m=void 0===s?function(){}:s,s=i.onAction,b=void 0===s?function(){}:s,s=i.debounce,x=void 0===s?0:s,s=i.throttle,_=void 0===s?0:s,s=i.eventsThrottle,I=void 0===s?200:s,s=i.startOnMount,$=void 0===s||s,s=i.stopOnIdle,y=void 0!==s&&s,s=i.capture,A=void 0===s||s,s=i.passive,T=void 0===s||s,j=react.exports.useRef(!1),S=react.exports.useRef(!0),R=react.exports.useRef(+new Date),E=react.exports.useRef(null),N=react.exports.useRef(null),C=react.exports.useRef(null),k=react.exports.useRef(null),P=react.exports.useRef(null),w=react.exports.useRef(null),O=react.exports.useRef(0),L=react.exports.useRef(l),D=react.exports.useRef(g),F=react.exports.useRef(m),U=react.exports.useRef(b),M=function(e){if(U.current(e),!E.current){if("mousemove"===e.type){if(e.pageX===N&&e.pageY===C)return;if(void 0===e.pageX&&void 0===e.pageY)return;if(a()<200)return}clearTimeout(k.current),k.current=null;var t=+new Date-o();(S.current&&!y||!S.current&&t>L.current)&&n(e),P.current=+new Date,N.current=e.pageX,C.current=e.pageY,S.current&&y||(k.current=setTimeout(n,L.current))}},B=function(){!d||j.current||(u.forEach(function(e){c.addEventListener(e,M,{capture:A,passive:T})}),j.current=!0)},H=function(){d&&(j.current||0<arguments.length&&void 0!==arguments[0]&&arguments[0])&&(u.forEach(function(e){c.removeEventListener(e,M,{capture:A,passive:T})}),j.current=!1)};return react.exports.useEffect(function(){if(0<x&&0<_)throw new Error("onAction can either be throttled or debounced (not both)");return 0<I&&(M=h(M,I)),B(),$&&r(),function(){clearTimeout(k.current),H(!0)}},[]),react.exports.useEffect(function(){D.current=g},[g]),react.exports.useEffect(function(){F.current=m},[m]),react.exports.useEffect(function(){U.current=0<x?p(b,x):0<_?h(b,_):b},[b]),react.exports.useEffect(function(){L.current=l,null!==k.current&&r()},[l]),{isIdle:function(){return S.current},pause:function(){null===E.current&&(H(),clearTimeout(k.current),k.current=null,E.current=e())},reset:r,resume:function(){null!==E.current&&(B(),S.current||(k.current=setTimeout(n,E.current),E.current=null,P.current=+new Date))},getLastIdleTime:function(){return w.current},getTotalIdleTime:t,getLastActiveTime:o,getTotalActiveTime:function(){return a()-t()},getElapsedTime:a,getRemainingTime:e}}m.propTypes={timeout:PropTypes.number,events:PropTypes.arrayOf(PropTypes.string),onIdle:PropTypes.func,onActive:PropTypes.func,onAction:PropTypes.func,debounce:PropTypes.number,throttle:PropTypes.number,eventsThrottle:PropTypes.number,element:PropTypes.oneOfType([PropTypes.object,PropTypes.element]),startOnMount:PropTypes.bool,stopOnIdle:PropTypes.bool,passive:PropTypes.bool,capture:PropTypes.bool},m.defaultProps={timeout:12e5,element:f,events:v,onIdle:function(){},onActive:function(){},onAction:function(){},debounce:0,throttle:0,eventsThrottle:200,startOnMount:!0,stopOnIdle:!1,capture:!0,passive:!0},g.propTypes={timeout:PropTypes.number,events:PropTypes.arrayOf(PropTypes.string),onIdle:PropTypes.func,onActive:PropTypes.func,onAction:PropTypes.func,debounce:PropTypes.number,throttle:PropTypes.number,eventsThrottle:PropTypes.number,element:PropTypes.oneOfType([PropTypes.object,PropTypes.element]),startOnMount:PropTypes.bool,stopOnIdle:PropTypes.bool,passive:PropTypes.bool,capture:PropTypes.bool},g.defaultProps={timeout:12e5,element:f,events:v,onIdle:function(){},onActive:function(){},onAction:function(){},debounce:0,throttle:0,eventsThrottle:200,startOnMount:!0,stopOnIdle:!1,capture:!0,passive:!0};var tinycolor$1={exports:{}},tinycolor=(!function(e){function u(e,t){if(t=t||{},(e=e||"")instanceof u)return e;if(!(this instanceof u))return new u(e,t);var n=function(e){var t={r:0,g:0,b:0},n=1,a=null,o=null,r=null,i=!1,s=!1;"string"==typeof e&&(e=function(e){e=e.replace(A,"").replace(T,"").toLowerCase();var t,n=!1;if(C[e])e=C[e],n=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};if(t=L.rgb.exec(e))return{r:t[1],g:t[2],b:t[3]};if(t=L.rgba.exec(e))return{r:t[1],g:t[2],b:t[3],a:t[4]};if(t=L.hsl.exec(e))return{h:t[1],s:t[2],l:t[3]};if(t=L.hsla.exec(e))return{h:t[1],s:t[2],l:t[3],a:t[4]};if(t=L.hsv.exec(e))return{h:t[1],s:t[2],v:t[3]};if(t=L.hsva.exec(e))return{h:t[1],s:t[2],v:t[3],a:t[4]};if(t=L.hex8.exec(e))return{r:m(t[1]),g:m(t[2]),b:m(t[3]),a:_(t[4]),format:n?"name":"hex8"};if(t=L.hex6.exec(e))return{r:m(t[1]),g:m(t[2]),b:m(t[3]),format:n?"name":"hex"};if(t=L.hex4.exec(e))return{r:m(t[1]+""+t[1]),g:m(t[2]+""+t[2]),b:m(t[3]+""+t[3]),a:_(t[4]+""+t[4]),format:n?"name":"hex8"};if(t=L.hex3.exec(e))return{r:m(t[1]+""+t[1]),g:m(t[2]+""+t[2]),b:m(t[3]+""+t[3]),format:n?"name":"hex"};return!1}(e));"object"==typeof e&&(I(e.r)&&I(e.g)&&I(e.b)?(t=function(e,t,n){return{r:255*f(e,255),g:255*f(t,255),b:255*f(n,255)}}(e.r,e.g,e.b),i=!0,s="%"===String(e.r).substr(-1)?"prgb":"rgb"):I(e.h)&&I(e.s)&&I(e.v)?(a=x(e.s),o=x(e.v),t=function(e,t,n){e=6*f(e,360),t=f(t,100),n=f(n,100);var a=y.floor(e),e=e-a,o=n*(1-t),r=n*(1-e*t),e=n*(1-(1-e)*t),t=a%6;return{r:255*[n,r,o,o,e,n][t],g:255*[e,n,n,r,o,o][t],b:255*[o,o,e,n,n,r][t]}}(e.h,a,o),i=!0,s="hsv"):I(e.h)&&I(e.s)&&I(e.l)&&(a=x(e.s),r=x(e.l),t=function(e,t,n){var a,o,r;function i(e,t,n){return n<0&&(n+=1),1<n&&--n,n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}e=f(e,360),t=f(t,100),n=f(n,100),0===t?a=o=r=n:(a=i(t=2*n-(n=n<.5?n*(1+t):n+t-n*t),n,e+1/3),o=i(t,n,e),r=i(t,n,e-1/3));return{r:255*a,g:255*o,b:255*r}}(e.h,a,r),i=!0,s="hsl"),e.hasOwnProperty("a")&&(n=e.a));return n=g(n),{ok:i,format:e.format||s,r:R(255,E(t.r,0)),g:R(255,E(t.g,0)),b:R(255,E(t.b,0)),a:n}}(e);this._originalInput=e,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=S(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=S(this._r)),this._g<1&&(this._g=S(this._g)),this._b<1&&(this._b=S(this._b)),this._ok=n.ok,this._tc_id=j++}function a(e,t,n){e=f(e,255),t=f(t,255),n=f(n,255);var a,o=E(e,t,n),r=R(e,t,n),i=(o+r)/2;if(o==r)a=l=0;else{var s=o-r,l=.5<i?s/(2-o-r):s/(o+r);switch(o){case e:a=(t-n)/s+(t<n?6:0);break;case t:a=(n-e)/s+2;break;case n:a=(e-t)/s+4}a/=6}return{h:a,s:l,l:i}}function o(e,t,n){e=f(e,255),t=f(t,255),n=f(n,255);var a,o=E(e,t,n),r=R(e,t,n),i=o,s=o-r,l=0===o?0:s/o;if(o==r)a=0;else{switch(o){case e:a=(t-n)/s+(t<n?6:0);break;case t:a=(n-e)/s+2;break;case n:a=(e-t)/s+4}a/=6}return{h:a,s:l,v:i}}function t(e,t,n,a){e=[b(S(e).toString(16)),b(S(t).toString(16)),b(S(n).toString(16))];return a&&e[0].charAt(0)==e[0].charAt(1)&&e[1].charAt(0)==e[1].charAt(1)&&e[2].charAt(0)==e[2].charAt(1)?e[0].charAt(0)+e[1].charAt(0)+e[2].charAt(0):e.join("")}function r(e,t,n,a){return[b(v(a)),b(S(e).toString(16)),b(S(t).toString(16)),b(S(n).toString(16))].join("")}function n(e,t){t=0===t?0:t||10;e=u(e).toHsl();return e.s-=t/100,e.s=h(e.s),u(e)}function i(e,t){t=0===t?0:t||10;e=u(e).toHsl();return e.s+=t/100,e.s=h(e.s),u(e)}function s(e){return u(e).desaturate(100)}function l(e,t){t=0===t?0:t||10;e=u(e).toHsl();return e.l+=t/100,e.l=h(e.l),u(e)}function c(e,t){t=0===t?0:t||10;e=u(e).toRgb();return e.r=E(0,R(255,e.r-S(-t/100*255))),e.g=E(0,R(255,e.g-S(-t/100*255))),e.b=E(0,R(255,e.b-S(-t/100*255))),u(e)}function p(e,t){t=0===t?0:t||10;e=u(e).toHsl();return e.l-=t/100,e.l=h(e.l),u(e)}function d(e,t){e=u(e).toHsl(),t=(e.h+t)%360;return e.h=t<0?360+t:t,u(e)}function D(e){e=u(e).toHsl();return e.h=(e.h+180)%360,u(e)}function M(e){var t=u(e).toHsl(),n=t.h;return[u(e),u({h:(n+120)%360,s:t.s,l:t.l}),u({h:(n+240)%360,s:t.s,l:t.l})]}function B(e){var t=u(e).toHsl(),n=t.h;return[u(e),u({h:(n+90)%360,s:t.s,l:t.l}),u({h:(n+180)%360,s:t.s,l:t.l}),u({h:(n+270)%360,s:t.s,l:t.l})]}function H(e){var t=u(e).toHsl(),n=t.h;return[u(e),u({h:(n+72)%360,s:t.s,l:t.l}),u({h:(n+216)%360,s:t.s,l:t.l})]}function $(e,t,n){t=t||6,n=n||30;var a=u(e).toHsl(),o=360/n,r=[u(e)];for(a.h=(a.h-(o*t>>1)+720)%360;--t;)a.h=(a.h+o)%360,r.push(u(a));return r}function F(e,t){t=t||6;for(var e=u(e).toHsv(),n=e.h,a=e.s,o=e.v,r=[],i=1/t;t--;)r.push(u({h:n,s:a,v:o})),o=(o+i)%1;return r}function g(e){return e=parseFloat(e),e=isNaN(e)||e<0||1<e?1:e}function f(e,t){"string"==typeof(n=e)&&-1!=n.indexOf(".")&&1===parseFloat(n)&&(e="100%");var n="string"==typeof(n=e)&&-1!=n.indexOf("%");return e=R(t,E(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),y.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function h(e){return R(1,E(0,e))}function m(e){return parseInt(e,16)}function b(e){return 1==e.length?"0"+e:""+e}function x(e){return e=e<=1?100*e+"%":e}function v(e){return y.round(255*parseFloat(e)).toString(16)}function _(e){return m(e)/255}function I(e){return L.CSS_UNIT.exec(e)}var y,A,T,j,S,R,E,N,C,k,P,w,O,L;y=Math,A=/^\s+/,T=/\s+$/,j=0,S=y.round,R=y.min,E=y.max,N=y.random,u.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e=this.toRgb(),t=e.r/255,n=e.g/255,e=e.b/255,t=t<=.03928?t/12.92:y.pow((.055+t)/1.055,2.4),n=n<=.03928?n/12.92:y.pow((.055+n)/1.055,2.4),e=e<=.03928?e/12.92:y.pow((.055+e)/1.055,2.4);return.2126*t+.7152*n+.0722*e},setAlpha:function(e){return this._a=g(e),this._roundA=S(100*this._a)/100,this},toHsv:function(){var e=o(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=o(this._r,this._g,this._b),t=S(360*e.h),n=S(100*e.s),e=S(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+e+"%)":"hsva("+t+", "+n+"%, "+e+"%, "+this._roundA+")"},toHsl:function(){var e=a(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=a(this._r,this._g,this._b),t=S(360*e.h),n=S(100*e.s),e=S(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+e+"%)":"hsla("+t+", "+n+"%, "+e+"%, "+this._roundA+")"},toHex:function(e){return t(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){var t=this._r,n=this._g,a=this._b,o=this._a;return t=[b(S(t).toString(16)),b(S(n).toString(16)),b(S(a).toString(16)),b(v(o))],e&&t[0].charAt(0)==t[0].charAt(1)&&t[1].charAt(0)==t[1].charAt(1)&&t[2].charAt(0)==t[2].charAt(1)&&t[3].charAt(0)==t[3].charAt(1)?t[0].charAt(0)+t[1].charAt(0)+t[2].charAt(0)+t[3].charAt(0):t.join("")},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:S(this._r),g:S(this._g),b:S(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+S(this._r)+", "+S(this._g)+", "+S(this._b)+")":"rgba("+S(this._r)+", "+S(this._g)+", "+S(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:S(100*f(this._r,255))+"%",g:S(100*f(this._g,255))+"%",b:S(100*f(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+S(100*f(this._r,255))+"%, "+S(100*f(this._g,255))+"%, "+S(100*f(this._b,255))+"%)":"rgba("+S(100*f(this._r,255))+"%, "+S(100*f(this._g,255))+"%, "+S(100*f(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&k[t(this._r,this._g,this._b,!0)]||!1},toFilter:function(e){var t="#"+r(this._r,this._g,this._b,this._a),n=t;return"progid:DXImageTransform.Microsoft.gradient("+(this._gradientType?"GradientType = 1, ":"")+"startColorstr="+t+",endColorstr="+(n=e?"#"+r((t=u(e))._r,t._g,t._b,t._a):n)+")"},toString:function(e){var t=!!e,n=(e=e||this._format,!1),a=this._a<1&&0<=this._a;return t||!a||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),(n="hsv"===e?this.toHsvString():n)||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return u(this.toString())},_applyModification:function(e,t){e=e.apply(null,[this].concat([].slice.call(t)));return this._r=e._r,this._g=e._g,this._b=e._b,this.setAlpha(e._a),this},lighten:function(){return this._applyModification(l,arguments)},brighten:function(){return this._applyModification(c,arguments)},darken:function(){return this._applyModification(p,arguments)},desaturate:function(){return this._applyModification(n,arguments)},saturate:function(){return this._applyModification(i,arguments)},greyscale:function(){return this._applyModification(s,arguments)},spin:function(){return this._applyModification(d,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination($,arguments)},complement:function(){return this._applyCombination(D,arguments)},monochromatic:function(){return this._applyCombination(F,arguments)},splitcomplement:function(){return this._applyCombination(H,arguments)},triad:function(){return this._applyCombination(M,arguments)},tetrad:function(){return this._applyCombination(B,arguments)}},u.fromRatio=function(e,t){if("object"==typeof e){var n,a={};for(n in e)e.hasOwnProperty(n)&&(a[n]="a"===n?e[n]:x(e[n]));e=a}return u(e,t)},u.equals=function(e,t){return!(!e||!t)&&u(e).toRgbString()==u(t).toRgbString()},u.random=function(){return u.fromRatio({r:N(),g:N(),b:N()})},u.mix=function(e,t,n){n=0===n?0:n||50;e=u(e).toRgb(),t=u(t).toRgb(),n/=100;return u({r:(t.r-e.r)*n+e.r,g:(t.g-e.g)*n+e.g,b:(t.b-e.b)*n+e.b,a:(t.a-e.a)*n+e.a})},u.readability=function(e,t){e=u(e),t=u(t);return(y.max(e.getLuminance(),t.getLuminance())+.05)/(y.min(e.getLuminance(),t.getLuminance())+.05)},u.isReadable=function(e,t,n){var a=u.readability(e,t),o=!1,e=function(e){var t;t=((e=e||{level:"AA",size:"small"}).level||"AA").toUpperCase(),e=(e.size||"small").toLowerCase(),"AA"!==t&&"AAA"!==t&&(t="AA");"small"!==e&&"large"!==e&&(e="small");return{level:t,size:e}}(n);switch(e.level+e.size){case"AAsmall":case"AAAlarge":o=4.5<=a;break;case"AAlarge":o=3<=a;break;case"AAAsmall":o=7<=a}return o},u.mostReadable=function(e,t,n){for(var a,o=null,r=0,i=(n=n||{}).includeFallbackColors,s=n.level,l=n.size,c=0;c<t.length;c++)r<(a=u.readability(e,t[c]))&&(r=a,o=u(t[c]));return u.isReadable(e,o,{level:s,size:l})||!i?o:(n.includeFallbackColors=!1,u.mostReadable(e,["#fff","#000"],n))},C=u.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},k=u.hexNames=function(e){var t,n={};for(t in e)e.hasOwnProperty(t)&&(n[e[t]]=t);return n}(C),w="[\\s|\\(]+("+(P="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+P+")[,|\\s]+("+P+")\\s*\\)?",O="[\\s|\\(]+("+P+")[,|\\s]+("+P+")[,|\\s]+("+P+")[,|\\s]+("+P+")\\s*\\)?",L={CSS_UNIT:new RegExp(P),rgb:new RegExp("rgb"+w),rgba:new RegExp("rgba"+O),hsl:new RegExp("hsl"+w),hsla:new RegExp("hsla"+O),hsv:new RegExp("hsv"+w),hsva:new RegExp("hsva"+O),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/},e.exports?e.exports=u:window.tinycolor=u}(tinycolor$1),tinycolor$1.exports);function __rest(e,t){var n={};for(o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,o=Object.getOwnPropertySymbols(e);a<o.length;a++)t.indexOf(o[a])<0&&Object.prototype.propertyIsEnumerable.call(e,o[a])&&(n[o[a]]=e[o[a]]);return n}function __awaiter(e,i,s,l){return new(s=s||Promise)(function(n,t){function a(e){try{r(l.next(e))}catch(e){t(e)}}function o(e){try{r(l.throw(e))}catch(e){t(e)}}function r(e){var t;e.done?n(e.value):((t=e.value)instanceof s?t:new s(function(e){e(t)})).then(a,o)}r((l=l.apply(e,i||[])).next())})}!function(){var e={};try{if(process)return process.env=Object.assign({},process.env),Object.assign(process.env,e)}catch(e){}globalThis.process={env:e}}();const useStyles$2=makeStyles()((e,{titleColor:t,logo:n,activeColor:a},o)=>({appBar:{top:0,left:0,right:0,display:"flex",position:"fixed",boxShadow:"none",borderBottom:"0.5px solid "+e.palette.divider,["& ."+o.logo]:{cursor:"pointer","& img":{width:"100%",height:"100%",objectFit:"scale-down",userSelect:"none"}},backgroundColor:e.palette.background.default},menuButton:{display:"flex",justifyContent:"center",alignItems:"center",padding:"0",marginLeft:e.spacing(5)},margin:{marginRight:e.spacing(.4),display:"flex",alignItems:"center"},barIcon:{padding:e.spacing(.8)},iconButton:{padding:0},hamburgerIcon:{padding:e.spacing(1.4),width:32,height:32,"-webkit-mask":`url("${img$1v}") no-repeat 50% 50%`,backgroundColor:t},appLogo:{display:"inline-block",width:150,height:32,backgroundImage:`url("${n}")`,backgroundRepeat:"no-repeat",backgroundPosition:"left center"},title:{fontStyle:"normal !important",fontWeight:600,fontSize:"18px !important",lineHeight:"22px !important",letterSpacing:"0.225px !important",mixBlendMode:"normal",textTransform:"uppercase",color:t+" important",whiteSpace:"nowrap","&:hover":{cursor:"pointer"}},content:{height:"100%",flexGrow:1,display:"flex",flexWrap:"nowrap",flexDirection:"row",alignItems:"center",padding:e.spacing(0,3.2),"& > div":{display:"flex",flexWrap:"nowrap",flexDirection:"row"},["& ."+o.left]:{justifyContent:"flex-start"},["& ."+o.right]:{justifyContent:"flex-end"},["& ."+o.searchBarHolder]:{flexGrow:1},["& ."+o.appLogo]:{userSelect:"none"},["& ."+o.controllers]:{display:"flex",alignItems:"center"}},iconGroup:{display:"flex",justifyContent:"space-between",alignItems:"center"},iconGroupIcon:{paddingLeft:e.spacing(2),paddingRight:e.spacing(2)},rightActionLabel:{fontWeight:400,fontSize:14,lineHeight:"16px",textDecoration:"none",color:"white",cursor:"pointer",display:"block"},noSelect:{userSelect:"none"},active:{opacity:1},smallOrgAvatar:{width:"30px !important",height:"30px !important",fontSize:"16px !important"},passive:{opacity:.8},icon:{width:"40px !important",height:"40px !important",padding:0,backgroundPosition:"center",backgroundRepeat:"no-repeat"},logo:{},left:{},right:{},searchBarHolder:{},controllers:{},appIcon:{height:"32px",width:"32px",borderRadius:"50%",marginLeft:e.spacing(4.4),"&:hover":{cursor:"pointer"}},applicationIcon:{"-webkit-mask":`url("${img$_}") no-repeat 50% 50%`,backgroundColor:t,"&:hover":{backgroundColor:t}},veritoneLogo:{"-webkit-mask":`url("${img$1u}") no-repeat 50% 50%`,backgroundColor:t,"&:hover":{backgroundColor:t}},openPanel:{backgroundImage:`url("${img$19}") !important`},notificationIcon:{"-webkit-mask":`url("${img$2}") no-repeat 50% 50%`,backgroundColor:t,"&:hover":{backgroundColor:t}},dashboardIcon:{"-webkit-mask":`url("${img$4}") no-repeat 50% 50%`,backgroundColor:t,"&:hover":{backgroundColor:t}},openNotificationPanel:{backgroundImage:`url(${img$18}) !important`},orgIcon:{borderRadius:"50%",width:30,height:30,backgroundRepeat:"no-repeat",backgroundPosition:"center"},logoIcon:{"-webkit-mask":`url("${n}") no-repeat 50% 50%`,backgroundColor:t},helpIcon:{"-webkit-mask":`url("${img$3}") no-repeat 50% 50%`,backgroundColor:t,"&:hover":{backgroundColor:t}},openHelp:{backgroundImage:`url(${img$17}) !important`},orgButton:{padding:e.spacing(2)},panelActive:{borderRadius:"50%",backgroundColor:a},notificationBadge:{"& > span":{top:e.spacing(2),right:e.spacing(2)}},appBarSkeleton:{position:"absolute",zIndex:1005,height:55},marginRightSkeleton:{marginRight:e.spacing(4)},leftContainerSkeleton:{display:"flex",alignItems:"center",paddingLeft:e.spacing(5)}})),useStyles$1=makeStyles()((e,t,n)=>({popover:{marginTop:18,["& "+n.helpItemText]:{padding:e.spacing(0),fontSize:15},["& "+n.versionWrapper]:{padding:e.spacing(3.2,0),["& "+n.versionText]:{fontSize:12,color:"#757575"}}},helpItemText:{},versionWrapper:{},versionText:{},help:{},barIcon:{padding:e.spacing(.8)},icon:{width:"40px !important",height:"40px !important",padding:e.spacing(0),backgroundPosition:"center",backgroundRepeat:"no-repeat"},helpIcon:{"-webkit-mask":`url("${img$3}") no-repeat 50% 50%`,backgroundColor:e.palette.background.default,"&:hover":{backgroundColor:e.palette.background.default}},list:{backgroundColor:e.palette.background.default},popoverColor:{backgroundColor:e.palette.background.default}})),Help=({onOpen:t,onClose:e,helpDocLink:n,helpDocCallback:a,supportCallback:o,displaySupportChat:r})=>{var i=useStyles$1()["classes"];const[s,l]=react.exports.useState(null);const c=()=>{l(null),null!=e&&e()};var u=n||a,p=null==(p=window.config)?void 0:p.appVersion;return jsxRuntime.exports.jsxs("div",Object.assign({className:i.help},{children:[jsxRuntime.exports.jsx(Tooltip,Object.assign({title:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-app-bar.KrqRIg",defaultMessage:"Help Center",description:"appbar tooltip: help-center button text"}),"aria-label":"help"},{children:jsxRuntime.exports.jsx(IconButton,Object.assign({className:i.barIcon,onClick:e=>{l(e.currentTarget),null!=t&&t()},"data-veritone-element":"help-button","data-testid":"help-button","aria-label":"help",size:"large"},{children:jsxRuntime.exports.jsx("div",{className:classNames(i.icon,i.helpIcon)})}))})),jsxRuntime.exports.jsx(Popover,Object.assign({open:Boolean(s),anchorEl:s,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},onClose:c,className:i.popover,classes:{paper:i.popoverColor},disableScrollLock:!0},{children:jsxRuntime.exports.jsxs(List,Object.assign({disablePadding:!0,className:i.list},{children:[u&&jsxRuntime.exports.jsxs(ListItem,Object.assign({button:!0,onClick:()=>{c(),null!=a&&a(),n&&window.open(n,"_blank")},"data-veritone-element":"show-help-doc-button","data-testid":"show-help-doc-button"},{children:[jsxRuntime.exports.jsx(ListItemIcon,{children:jsxRuntime.exports.jsx(default_1,{})}),jsxRuntime.exports.jsx(ListItemText,{primary:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-app-bar.MSM3Vh",defaultMessage:"View Help Docs",description:"help tooltip: text for documentation"}),classes:{root:i.helpItemText}})]})),r&&jsxRuntime.exports.jsxs(ListItem,Object.assign({button:!0,onClick:()=>{null!=o&&o(),l(null)},"data-veritone-element":"open-support-chat-button","data-testid":"support-chat-button"},{children:[jsxRuntime.exports.jsx(ListItemIcon,{children:jsxRuntime.exports.jsx(default_1$1,{})}),jsxRuntime.exports.jsx(ListItemText,{primary:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-app-bar.8aLpuV",defaultMessage:"Support Center",description:"help tooltip: text for documentation"}),classes:{root:i.helpItemText}})]})),p&&jsxRuntime.exports.jsxs(react.exports.Fragment,{children:[jsxRuntime.exports.jsx(Divider,{}),jsxRuntime.exports.jsx(ListItem,Object.assign({className:i.versionWrapper},{children:jsxRuntime.exports.jsx(ListItemText,{primary:p,classes:{primary:i.versionText}})}))]})]}))}))]}))},namespace="users",userSelector=e=>null==e?void 0:e.aiWareHeaderBar,rootSelector=e=>e,notificationStatusSelector=e=>null!=e&&e.osNotificationPanel?null==e?void 0:e.osNotificationPanel.status:"",useStyles=makeStyles()(e=>({title:{paddingTop:e.spacing(5.5)},contentText:{fontSize:14},dialogActions:{marginBottom:e.spacing(3),paddingRight:e.spacing(5)},signOutButton:{height:34,marginRight:e.spacing(1)},staySignedInButton:{height:34}})),LOGOUT_CALL_LIMIT=1;let logoutCallCounter=0;const RESET_IDLE_TIMER_CALL_LIMIT=1,MINUTES_BEFORE_SESSION_EXPIRATION=3;let timer;const SessionTimeout=e=>{const t=e["test"],n=useDispatch();e=useStyles().classes;const a=useSelector(isIdleSelector);var o=useSelector(userSelector$1);const r=useSelector(sessionTokenSelector),i=useSelector(loginUrlSelector),s=useSelector(callLogoutSelector),l=useSelector(clickedLogoutSelector),c=null==o?void 0:o.tokenExpiration,u=useSelector(callResetIdleTimerSelector);o=useSelector(sessionTimeoutSelector)||60;const p=useSelector(reloadPageSelector),d=useSelector(resetIdleTimerCallCounterSelector),[f,h]=react.exports.useState(t?5:60),[m,b]=react.exports.useState(new Date),[x,v]=react.exports.useState(),[_,I]=react.exports.useState(),[y,A]=react.exports.useState(!1),[T,j]=react.exports.useState(!1),S=react.exports.useCallback(e=>{n(postNotificationCommand({eventType:aiwareEvent,command:notificationCommands.setIsIdle,value:e,ephemeral:!0,contentType:"json"}))},[n]),R=(react.exports.useEffect(()=>{p&&window.location.replace("/")},[p]),react.exports.useCallback(e=>{n(postNotificationCommand({eventType:aiwareEvent,command:notificationCommands.setCallLogout,value:e,ephemeral:!0,contentType:"json"}))},[n])),E=react.exports.useCallback(e=>{n(postNotificationCommand({eventType:aiwareEvent,command:notificationCommands.setClickedLogout,value:e,ephemeral:!0,contentType:"json"}))},[n]),N=react.exports.useCallback(e=>{n(postNotificationCommand({eventType:aiwareEvent,command:notificationCommands.setCallResetIdleTimer,value:e,ephemeral:!0,contentType:"json"}))},[n]),C=react.exports.useCallback(()=>{logoutCallCounter++,R(!0);var e=l?500:5e3;n(logoutRequest({token:r})),setTimeout(()=>{window.location.href=i+"/#/?redirect="+window.location.href},t?2e3:e)},[R,n,r,i,l]);var k=react.exports.useCallback(()=>{logoutCallCounter++,S(!1),setTimeout(()=>{R(!0),E(!0),n(logoutRequest({token:r}))},500),setTimeout(()=>{window.location.href=i+"/#/?redirect="+window.location.href},500)},[R,n,r,i,E,S]),P=()=>{S(!0),timer=setInterval(()=>{h(e=>e-1)},1e3)},w=()=>{!a&&d<RESET_IDLE_TIMER_CALL_LIMIT&&N(!0)};const O=g(t?{timeout:1e3,onIdle:P,onAction:w,debounce:1e3}:{timeout:6e4*o,onIdle:P,onAction:w,debounce:o/4*6e4})["reset"],L=react.exports.useCallback(()=>{N(!1),O()},[N]),D=react.exports.useCallback(()=>{T&&(n(refreshTokenRequest({token:r})),j(!1)),S(!1),L(),clearInterval(timer),setTimeout(()=>{h(t?5:60)},500)},[S,L,T,n,r]);return react.exports.useEffect(()=>{setTimeout(()=>{b(new Date)},1e3)},[m]),react.exports.useEffect(()=>{if(c){const e=new Date(c);e.setMinutes(e.getMinutes()-MINUTES_BEFORE_SESSION_EXPIRATION),I(new Date(c)),v(e)}},[c]),react.exports.useEffect(()=>{_&&_.getTime()<m.getTime()&&A(!0),x&&x.getTime()<m.getTime()&&j(!0)},[_,x,m]),react.exports.useEffect(()=>{y?C():T&&S(!0)},[_,x,T,y,C,S]),react.exports.useEffect(()=>{s&&logoutCallCounter<LOGOUT_CALL_LIMIT&&C()},[s,C]),react.exports.useEffect(()=>{a&&0===f&&(clearInterval(timer),setTimeout(()=>{h(10)},500),C())},[f,C,a]),react.exports.useEffect(()=>{!a&&u&&d===RESET_IDLE_TIMER_CALL_LIMIT&&L()},[u,a,d,L]),react.exports.useEffect(()=>{a||D()},[a,D]),jsxRuntime.exports.jsx(AIWareThemeProvider,{children:jsxRuntime.exports.jsx(AIWareIntlProvider,{children:jsxRuntime.exports.jsxs(Dialog,Object.assign({open:a&&!l,"aria-labelledby":"session timeout dialog","aria-describedby":"session timeout dialog",disableEscapeKeyDown:!0,maxWidth:"xs","data-test":"session-timeout-dialog"},{children:[jsxRuntime.exports.jsx(DialogTitle,Object.assign({id:"session timeout dialog title",className:e.title},{children:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-app-bar.JEUssf",defaultMessage:"Session Timeout",description:"label session timeout dialog"})})),jsxRuntime.exports.jsx(DialogContent,{children:jsxRuntime.exports.jsx(DialogContentText,Object.assign({id:"session timeout dialog text",className:e.contentText},{children:s?l?null:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-app-bar.l85HEz",defaultMessage:"You have been signed due to inactivity or due to your session being expired.",description:"signed out message"}):T?jsxRuntime.exports.jsx(FormattedMessage,{id:"os-app-bar.bDessH",defaultMessage:"Your session will expire soon. For your security, we'll automatically sign you out in {signOutTimer} seconds. Choose 'Stay Signed In' to continue or 'Sign Out' if you're done.",description:"label for idle warning expiring soon",values:{signOutTimer:f}}):jsxRuntime.exports.jsx(FormattedMessage,{id:"os-app-bar.Ca6Qq0",defaultMessage:"You've been inactive for a while. For your security, we'll automatically sign you out in {signOutTimer} seconds. Choose 'Stay Signed In' to continue or 'Sign Out' if you're done.",description:"label for idle warning inactive for a while",values:{signOutTimer:f}})}))}),s?null:jsxRuntime.exports.jsxs(DialogActions,Object.assign({className:e.dialogActions},{children:[jsxRuntime.exports.jsx(Button,Object.assign({onClick:k,color:"primary",variant:"outlined",className:e.signOutButton,"data-test":"sign-out-button"},{children:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-app-bar.jN92ox",defaultMessage:"Sign Out",description:"label for sign out button"})})),jsxRuntime.exports.jsx(Button,Object.assign({onClick:D,color:"primary",variant:"contained",className:e.staySignedInButton,"data-test":"stay-signed-in-button"},{children:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-app-bar.WvKhS2",defaultMessage:"Stay Signed In",description:"label for stay signed in button"})}))]}))]}))})})},appBarHeight=55,defaultAppBarZIndex=0,VERITONE_PANEL_ID="VERITONE_PANEL_ID",ORGANIZATION_PANEL_ID="ORGANIZATION_PANEL_ID",NOTIFICATION_PANEL_ID="NOTIFICATION_PANEL_ID",APPLICATION_PANEL_ID="APPLICATION_PANEL_ID",HELP_PANEL_ID="HELP_PANEL_ID",NOTIFICATION_BADGE_MAX_COUNT=20;function NewAppBar({isEnableOrgPanel:e,zIndex:t=defaultAppBarZIndex,leftNav:n,onClickAppbarMenu:a,logoSrc:o,backgroundColor:r,title:i,help:s,notification:l=!0,onClickOrgIcon:c,closeButton:u,onCloseSetting:p,onClose:d,onOpenSetting:g,onOpenHelpCenter:f,onOpenNotification:h,openSetting:m,organization:b={},panels:x=[],unseenCount:v,searchBarMountId:_,textColor:I,rightActions:y=[],applications:A=[],onClickAppSwitchIcon:T,displaySupportChat:j=!0,onDashboardClick:S,showDashboardIcon:R=!1}){var E=tinycolor(r).isDark(),I=I||(E?"#fff":"#000"),E=E?"rgba(255,255,255,0.1)":"rgb(243,245,249)";const N=useStyles$2({titleColor:I,logo:o,activeColor:E})["classes"],[C,k]=react.exports.useState([]);E=useSelector(userSelector)||{};const[P,w]=react.exports.useState(!0);E=E.appIcon;return react.exports.useEffect(()=>{var e=x.map(e=>e.panelId);!e.length&&!C.length||isEqual(e,C)||k(e)},[x,C]),jsxRuntime.exports.jsxs(jsxRuntime.exports.Fragment,{children:[jsxRuntime.exports.jsx(SessionTimeout,{}),jsxRuntime.exports.jsx("div",{style:{height:appBarHeight}}),jsxRuntime.exports.jsxs("div",Object.assign({"data-test":"appbar",className:N.appBar,style:{height:appBarHeight,background:r,zIndex:t}},{children:[n&&jsxRuntime.exports.jsx("div",Object.assign({className:N.menuButton},{children:jsxRuntime.exports.jsx(IconButton,Object.assign({"data-test":"app-bar-menu","data-testid":"app-bar-menu",className:N.iconButton,onClick:a,size:"large"},{children:jsxRuntime.exports.jsx("div",{className:classNames(N.icon,N.hamburgerIcon)})}))})),!!E&&""!==E&&jsxRuntime.exports.jsx("div",Object.assign({className:N.margin},{children:jsxRuntime.exports.jsx("img",{className:N.appIcon,src:E,alt:"appIcon"})})),jsxRuntime.exports.jsxs("div",Object.assign({className:N.content,style:{color:I}},{children:[jsxRuntime.exports.jsx("div",Object.assign({className:classNames(N.left,N.noSelect),onClick:function(){window.location.href="/"},"data-test":"appbarTitle","data-testid":"appbarTitle"},{children:o?jsxRuntime.exports.jsx("span",{className:N.appLogo}):jsxRuntime.exports.jsx(Typography,Object.assign({variant:"h1",className:N.title},{children:i}))})),jsxRuntime.exports.jsx("div",{"data-test":"appbarSearch",id:_||"search-bar-id",className:N.searchBarHolder}),jsxRuntime.exports.jsx("div",Object.assign({className:N.right},{children:jsxRuntime.exports.jsxs("div",Object.assign({className:N.controllers},{children:[0<y.length&&jsxRuntime.exports.jsx("div",Object.assign({className:classNames(N.iconGroup,N.noSelect)},{children:y.map(({label:e,onClick:t,isActive:n=!0},a)=>jsxRuntime.exports.jsx("div",Object.assign({className:N.iconGroupIcon},{children:jsxRuntime.exports.jsx("span",{onClick:e=>t?t(e):null,className:classNames(N.rightActionLabel,n?N.active:N.passive),dangerouslySetInnerHTML:{__html:e}})}),"label-"+a))})),R&&jsxRuntime.exports.jsx(Tooltip,Object.assign({title:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-app-bar.dashboard-button",defaultMessage:"aiWARE Dashboard",description:"aiWARE Dashboard label"}),"aria-label":"dashboard"},{children:jsxRuntime.exports.jsx(IconButton,Object.assign({"data-test":"app-bar-dashboard-button",className:N.barIcon,onClick:S,size:"large"},{children:jsxRuntime.exports.jsx("div",{className:classNames(N.icon,N.dashboardIcon)})}))})),s&&jsxRuntime.exports.jsx("div",Object.assign({"data-test":"app-bar-help-container","data-testid":"app-bar-help-container",className:classNames(N.margin,{[N.panelActive]:C.includes(HELP_PANEL_ID)})},{children:jsxRuntime.exports.jsx(Help,{tooltipTitle:"",helpDocLabel:"View Help Docs",supportLabel:"Support Center",helpDocCallback:()=>{null!=f&&f()},supportCallback:p,titleColor:I,displaySupportChat:j})})),l&&jsxRuntime.exports.jsx("div",Object.assign({className:classNames(N.margin,{[N.panelActive]:C.includes(NOTIFICATION_PANEL_ID)})},{children:jsxRuntime.exports.jsx(Tooltip,Object.assign({title:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-app-bar.KFXxNr",defaultMessage:"Notifications",description:"appbar tooltip: notification button text"}),"aria-label":"notifications"},{children:jsxRuntime.exports.jsx(IconButton,Object.assign({className:N.barIcon,onClick:h,"data-test":"app-bar-notification-button",size:"large","data-testid":"app-bar-notification-button"},{children:jsxRuntime.exports.jsx(Badge,Object.assign({badgeContent:v,max:NOTIFICATION_BADGE_MAX_COUNT,color:"primary","data-test":"app-bar-notification-badge",className:N.notificationBadge},{children:jsxRuntime.exports.jsx("div",{className:classNames(N.icon,N.notificationIcon,{[N.openNotificationPanel]:null==m?void 0:m.openNotificationPanel})})}))}))}))})),1<A.length&&jsxRuntime.exports.jsx("div",Object.assign({className:classNames({[N.panelActive]:C.includes(APPLICATION_PANEL_ID)})},{children:jsxRuntime.exports.jsx(Tooltip,Object.assign({title:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-app-bar.3v499g",defaultMessage:"Applications",description:"applications tooltip: text for applications button"}),"aria-label":"applications"},{children:jsxRuntime.exports.jsx(IconButton,Object.assign({"data-test":"app-bar-switch-app-button",className:N.barIcon,onClick:T,size:"large"},{children:jsxRuntime.exports.jsx("div",{className:classNames(N.icon,N.applicationIcon,{[N.openPanel]:null==m?void 0:m.openAppSwitchPanel})})}))}))})),(b.imageUrl||b.name)&&e&&jsxRuntime.exports.jsx("div",Object.assign({className:classNames(N.margin,{[N.panelActive]:C.includes(ORGANIZATION_PANEL_ID)})},{children:jsxRuntime.exports.jsx(Tooltip,Object.assign({title:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-app-bar.7qOwBg",defaultMessage:"Organization",description:"organization tooltip: text for documentation"}),"aria-label":"organization"},{children:jsxRuntime.exports.jsx(IconButton,Object.assign({"data-test":"app-bar-org-button",className:N.barIcon+" "+N.orgButton,onClick:c,size:"large"},{children:b.imageUrl&&P?jsxRuntime.exports.jsx("img",{src:b.imageUrl,className:classNames(N.orgIcon),onError:function(){w(!1)},alt:"org_icon"}):jsxRuntime.exports.jsx(Avatar,Object.assign({className:N.smallOrgAvatar,variant:"circular","data-testid":"app-bar-avatar"},{children:getSortName(b.name||"")}))}))}))})),jsxRuntime.exports.jsx("div",Object.assign({className:classNames({[N.panelActive]:C.includes(VERITONE_PANEL_ID)})},{children:jsxRuntime.exports.jsx(Tooltip,Object.assign({title:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-app-bar.eOxvvM",defaultMessage:"Utilities",description:"utilities tooltip: text for documentation"}),"aria-label":"utilities"},{children:jsxRuntime.exports.jsx(IconButton,Object.assign({"data-test":"app-bar-setting-button","data-testid":"app-bar-setting-button",className:N.barIcon,onClick:g,size:"large"},{children:jsxRuntime.exports.jsx("div",{className:classNames(N.icon,N.veritoneLogo,{[N.openPanel]:null==m?void 0:m.openVeritonePanel})})}))}))})),u&&d&&jsxRuntime.exports.jsx("div",{children:jsxRuntime.exports.jsx("div",Object.assign({style:{marginLeft:"auto"}},{children:jsxRuntime.exports.jsx(IconButton,Object.assign({onClick:d,"data-test":"app-bar-close-button",size:"large","data-testid":"app-bar-close-button"},{children:jsxRuntime.exports.jsx(default_1$2,{htmlColor:I})}))}))})]}))}))]}))]}))]})}const GET_CURRENT_USER=`os-app-bar/${namespace}/get current user`,GET_CURRENT_USER_SUCCESS=`os-app-bar/${namespace}/get current user success`,GET_CURRENT_USER_FAIL=`os-app-bar/${namespace}/get current user fail`,GET_CURRENT_APP_ICON=`os-app-bar/${namespace}/get current app icon`,GET_CURRENT_APP_ICON_SUCCESS=`os-app-bar/${namespace}/get app icon success`,getCurrentUser=()=>({type:GET_CURRENT_USER}),getCurrentUserSuccess=e=>({type:GET_CURRENT_USER_SUCCESS,payload:e}),getCurrentAppIcon=({applicationId:e})=>({type:GET_CURRENT_APP_ICON,payload:{applicationId:e}}),getCurrentAppIconSuccess=e=>({type:GET_CURRENT_APP_ICON_SUCCESS,payload:e}),initialState={currentUser:{},fetched:!1,fetching:!1,error:!1};function userReducer(e,t){if(void 0===e)return initialState;switch(t.type){case GET_CURRENT_USER_FAIL:return Object.assign(Object.assign({},e),{fetching:!1,fetched:!0,error:!0});case GET_CURRENT_USER_SUCCESS:return Object.assign(Object.assign({},e),{currentUser:t.payload,fetching:!1,fetched:!0,error:!1});case GET_CURRENT_APP_ICON_SUCCESS:return Object.assign(Object.assign({},e),{appIcon:t.payload});default:return e}}const nameSpace="aiWareHeaderBar",BOOTING="aiware-header-bar/booting",BOOTED="aiware-header-bar/booted",getApplicationInfo=(t,n,a)=>__awaiter(void 0,void 0,void 0,function*(){var e=`
2
- query {
3
- application(id:"${t}"){
4
- iconUrl
5
- }
6
- }
7
- `;try{return yield baseGraphQLApi({query:e,graphEndpoint:n,token:a})}catch(e){console.error(e)}}),getCurrentUserApi=(e,t)=>__awaiter(void 0,void 0,void 0,function*(){try{return yield baseGraphQLApi({query:`{
8
- myRights{
9
- operations
10
- }
11
- me {
12
- id
13
- organization{
14
- id
15
- imageUrl
16
- name
17
- }
18
- }
19
- }
20
- `,graphEndpoint:e,token:t})}catch(e){return{success:!1}}});function*getCurrentUserSaga(){var e=yield select(graphEndpointSelector),t=yield select(sessionTokenSelector),e=yield call(getCurrentUserApi,e,t);null!=e&&e.errors&&0<(null==e?void 0:e.errors.length)&&(null==(t=e.errors[0].path)||!t.includes("userSettings"))?console.error("getCurrentUser error"):(t=Object.assign(Object.assign({},null==(t=null==e?void 0:e.data)?void 0:t.me),{organizationRole:{organizationId:get(e,"data.me.organization.id","")},organization:Object.assign({},null==(e=null==(t=null==e?void 0:e.data)?void 0:t.me)?void 0:e.organization)}),yield put(getCurrentUserSuccess(t)))}function*getCurrentApplicationInfoSaga(e){var t=yield select(graphEndpointSelector),n=yield select(sessionTokenSelector),e=e.payload["applicationId"],e=yield call(getApplicationInfo,e,t,n);null!=e&&e.errors&&0<(null==e?void 0:e.errors.length)?console.error("getCurrentApplicationInfo error"):yield put(getCurrentAppIconSuccess(null==(n=null==(t=null==e?void 0:e.data)?void 0:t.application)?void 0:n.iconUrl))}function*userSaga(){yield all([takeEvery$1(GET_CURRENT_USER,getCurrentUserSaga)]),yield all([takeEvery$1(GET_CURRENT_APP_ICON,getCurrentApplicationInfoSaga)])}function*bootFunction(){yield take(BOOTED)}function*booting(){yield takeEvery$1(BOOTING,bootFunction)}function*logoutListener(e){const t=e.payload;yield take(logout),t?null!==t&&void 0!==t&&t():yield put(logoutUser())}function*notificationActionClickedSaga(e){const t=e.payload;yield takeEvery$1(onNotificationActionClicked,function*(e){t&&(yield call(t,e.payload))})}function*handleAppSwitchListenerSetup(e){const t=e.payload;yield takeEvery$1(appSwitcherHandleClick,function*(e){e=e.payload;t?t(e):yield put(appSwitcherHandleClickAppNatively(e))})}function*rootSaga(){yield all([fork(userSaga),fork(booting),takeLatest$1(listenLogout,logoutListener),takeLatest$1(appSwitcherSetupListener,handleAppSwitchListenerSetup),takeLatest$1(initNotificationAction,notificationActionClickedSaga)])}function getAppbarModule(){return{id:"os-app-bar",reducerMap:{[nameSpace]:userReducer},sagas:[rootSaga],initialActions:[]}}function App(e){var{onLogout:t,onClickNotificationAction:n,onAppSwitch:a,onClickOrgIcon:o,showNotifications:r,applicationId:i,searchBarMountId:s}=e,e=__rest(e,["onLogout","onClickNotificationAction","onAppSwitch","onShowSettingPanel","onClickOrgIcon","onClickHelpIcon","showNotifications","applicationId","searchBarMountId"]);const l=useDispatch(),[c,u]=react.exports.useState(!1),[p,d]=react.exports.useState(!1),[g,f]=react.exports.useState(!1),[h,m]=react.exports.useState(!1),[b,x]=react.exports.useState(!1);var v=(useSelector(userSelector)||{})["currentUser"];const{panels:_=[]}=useSelector(rootSelector);var I=useSelector(unseenNotificationSelector);const y=useSelector(notificationStatusSelector);var A=useSelector(betaFeaturesSelector),v=(v||{})["organization"];const T=useSelector(authSelector)["user"];var{application:j=[]}=useSelector(applicationSelector)||{};const[S,R]=react.exports.useState(!1);function E(){u(!1),f(!1),m(!1),d(!1),x(!1)}function N(){null!==_&&void 0!==_&&_.forEach(e=>{l(hidePanel(e.panelId))})}return react.exports.useEffect(()=>{var e,t=window.location["search"];"?panel=invite-requests"!==t||S||(R(!0),t={name:"INVITE_REQUESTS_PANEL",config:{name:"Invite Requests"}},e={type:"APP_BAR_PANEL_TEMPLATE",marginTop:55,marginStart:0,size:"medium",zIndex:1001,parentPanelId:null,dimmed:0,dimmedStatus:"dimParent",header:{title:"INVITE REQUESTS"}},l(mountPanel({panelId:"INVITE_REQUESTS_PANEL",microFrontend:t,panelConfig:e})))},[]),react.exports.useEffect(()=>{"success"===y&&l(markAllNotificationsSeenRequest())},[y,l]),react.exports.useEffect(()=>{l(getCurrentUser()),i&&l(getCurrentAppIcon({applicationId:i}))},[l,i]),react.exports.useEffect(()=>{l({type:listenLogout().type,payload:t})},[l,t]),react.exports.useEffect(()=>{n&&l(initNotificationAction(n))},[l,n]),react.exports.useEffect(()=>{l({type:appSwitcherSetupListener().type,payload:a})},[l,a]),react.exports.useEffect(()=>{_&&0!==_.length||E()},[_]),jsxRuntime.exports.jsx(AIWareIntlProvider,{children:jsxRuntime.exports.jsx(AIWareThemeProvider,{children:jsxRuntime.exports.jsx(lib.DynamicModuleLoader,Object.assign({modules:[getAppbarModule(),getAppbarPanelModule(),getNotificationModule(),getEventsModule()]},{children:jsxRuntime.exports.jsx("div",Object.assign({className:"App",id:"aiware-app-bar","data-testid":"aiware-app-bar"},{children:jsxRuntime.exports.jsx(NewAppBar,Object.assign({isEnableOrgPanel:!1,onCloseSetting:function(){},onOpenSetting:function(){var e,t;c?(u(!1),N()):(E(),u(!0),N(),e={name:"APP_BAR_PANEL",config:{name:"Veritone",dataId:"dataId",type:"APP_BAR_PANEL_TEMPLATE"}},t={panelId:VERITONE_PANEL_ID,type:"TAB_TEMPLATE",marginTop:55,withTab:!0,width:80,zIndex:1003,userRoles:null===T||void 0===T?void 0:T.roles,header:{divider:!0,title:""},footer:{logo:!0},size:"xlarge",fullScreen:!1},l(mountPanel({panelId:VERITONE_PANEL_ID,microFrontend:e,panelConfig:t})))},onOpenHelpCenter:function(){var e,t;p?(d(!1),N()):(E(),N(),d(!0),e={name:"HELP_PANEL",config:{name:"Help panel",dataId:"helpDataId",type:"SIMPLE_PANEL"}},t={panelId:HELP_PANEL_ID,type:"APP_BAR_PANEL_TEMPLATE",marginTop:55,size:"large",header:{divider:!0,title:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-app-bar.headerTitle.helpCenter",defaultMessage:"Help Center",description:"The header title for the help center."}),actions:[{iconUrl:img$O,action:{type:"OPEN_HELP_LINK"}}]}},l(mountPanel({panelId:HELP_PANEL_ID,microFrontend:e,panelConfig:t})))},onOpenNotification:function(){var e,t;null!=r&&r(),b?(x(!1),N()):(E(),N(),x(!0),e={name:"NOTIFICATION_PANEL",config:{name:"Notification Panel",dataId:"notificationDataId",type:"APP_BAR_PANEL_TEMPLATE"}},t={type:"APP_BAR_PANEL_TEMPLATE",marginTop:55,width:413,header:{divider:!0,title:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-app-bar.panel.notifications",defaultMessage:"Notifications Center",description:"Title of the notifications center panel"}),actions:[]}},l(mountPanel({panelId:NOTIFICATION_PANEL_ID,microFrontend:e,panelConfig:t})))},onDashboardClick:function(){console.log("HANDLE DASHBOARD CLICK!")},organization:v,onClickOrgIcon:function(){var e,t;null!=o&&o(),h?(m(!1),N()):(E(),N(),m(!0),e={name:"ORGANIZATION_PANEL",config:{name:"Veritone",tabId:TabId.ORGANIZATION_PANEL,dataId:"dataId",type:"APP_BAR_PANEL_TEMPLATE"}},t={panelId:ORGANIZATION_PANEL_ID,type:"APP_BAR_PANEL_TEMPLATE",marginTop:55,width:420,header:{divider:!0,title:"ORGANIZATIONS"}},l(mountPanel({panelId:ORGANIZATION_PANEL_ID,microFrontend:e,panelConfig:t})))},panels:_,searchBarMountId:s,openSetting:{openHelpPanel:!1,openNotificationPanel:!1,openAppSwitchPanel:!1,openOrgSwitchPanel:!1,openVeritonePanel:!1},unseenCount:I,onClickAppSwitchIcon:function(){var e,t;g?(f(!1),N()):(E(),N(),f(!0),e={name:"APP_BAR_PANEL",config:{name:"APP_BAR_PANEL",tabId:TabId.APP_PANEL,dataId:"dataId",type:"APP_BAR_PANEL_TEMPLATE"}},t={panelId:APPLICATION_PANEL_ID,type:"APP_BAR_PANEL_TEMPLATE",marginTop:55,width:420,header:{divider:!0,title:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-app-bar.header.panelTitle",defaultMessage:"Applications",description:"Title of applications panel list"})}},l(mountPanel({panelId:APPLICATION_PANEL_ID,microFrontend:e,panelConfig:t})))},applications:j,showDashboardIcon:A},e))}))}))})})}const headerBarSelector=e=>null==e?void 0:e.aiWareHeaderBar;export{App as AppBar,App as HeaderBar,userReducer as headerBarReducer,headerBarSelector,nameSpace};
1
+ import{_ as _extends,W as createTheme,X as systemStyled,d as capitalize,Y as useThemeProps,r as react,e as _objectWithoutPropertiesLoose,j as jsxRuntime,f as clsx,h as composeClasses,g as generateUtilityClass,b as styled,u as useThemeProps$1}from"./js-core.esm.js";const _excluded=["className","component","disableGutters","fixed","maxWidth","classes"],defaultTheme=createTheme(),defaultCreateStyledComponent=systemStyled("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{e=e.ownerState;return[t.root,t["maxWidth"+capitalize(String(e.maxWidth))],e.fixed&&t.fixed,e.disableGutters&&t.disableGutters]}}),useThemePropsDefault=e=>useThemeProps({props:e,name:"MuiContainer",defaultTheme:defaultTheme}),useUtilityClasses=(e,t)=>{var{classes:e,fixed:s,disableGutters:a,maxWidth:i}=e,i={root:["root",i&&"maxWidth"+capitalize(String(i)),s&&"fixed",a&&"disableGutters"]};return composeClasses(i,e=>generateUtilityClass(t,e),e)};function createContainer(e={}){const{createStyledComponent:t=defaultCreateStyledComponent,useThemeProps:d=useThemePropsDefault,componentName:m="MuiContainer"}=e,u=t(({theme:e,ownerState:t})=>_extends({width:"100%",marginLeft:"auto",boxSizing:"border-box",marginRight:"auto",display:"block"},!t.disableGutters&&{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up("sm")]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}}),({theme:a,ownerState:e})=>e.fixed&&Object.keys(a.breakpoints.values).reduce((e,t)=>{var s=a.breakpoints.values[t];return 0!==s&&(e[a.breakpoints.up(t)]={maxWidth:""+s+a.breakpoints.unit}),e},{}),({theme:e,ownerState:t})=>_extends({},"xs"===t.maxWidth&&{[e.breakpoints.up("xs")]:{maxWidth:Math.max(e.breakpoints.values.xs,444)}},t.maxWidth&&"xs"!==t.maxWidth&&{[e.breakpoints.up(t.maxWidth)]:{maxWidth:""+e.breakpoints.values[t.maxWidth]+e.breakpoints.unit}}));return react.exports.forwardRef(function(e,t){var e=d(e),{className:s,component:a="div",disableGutters:i=!1,fixed:r=!1,maxWidth:o="lg"}=e,n=_objectWithoutPropertiesLoose(e,_excluded),e=_extends({},e,{component:a,disableGutters:i,fixed:r,maxWidth:o}),i=useUtilityClasses(e,m);return jsxRuntime.exports.jsx(u,_extends({as:a,ownerState:e,className:clsx(i.root,s),ref:t},n))})}const Container=createContainer({createStyledComponent:styled("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{e=e.ownerState;return[t.root,t["maxWidth"+capitalize(String(e.maxWidth))],e.fixed&&t.fixed,e.disableGutters&&t.disableGutters]}}),useThemeProps:e=>useThemeProps$1({props:e,name:"MuiContainer"})});var Container$1=Container;export{Container$1 as C};
Binary file
@@ -0,0 +1 @@
1
+ import{m as makeStyles,eI as injectIntl,j as jsxRuntime,cp as AIWareThemeProvider,a3 as DynamicModuleLoader,A as AIWareIntlProvider,aq as Tooltip,F as FormattedMessage,K as IconButton,fb as Hamburger,T as Typography,cs as FullscreenExit,ct as Fullscreen,c9 as Hide,gm as Article,gn as Task,go as View,r as react,be as Tabs,E as classNames,bf as Tab,o as useSelector,dK as selectApiConfigs,dL as panelsSelector,ae as Portal}from"./js-core.esm.js";import{getProcessingCenterJobsModule,JobsPanel}from"./js-core.esm61.js";import{getProcessingCenterTasksModule,TasksPanel}from"./js-core.esm62.js";import{S as Search}from"./js-core.esm10.js";import"./js-core.esm20.js";import"./js-core.esm33.js";import"./js-core.esm30.js";import"./js-core.esm35.js";import"./js-core.esm32.js";import"./js-core.esm37.js";import"./js-core.esm27.js";import"./js-core.esm38.js";import"./js-core.esm39.js";import"./js-core.esm43.js";import"./js-core.esm9.js";import"./js-core.esm44.js";import"./js-core.esm23.js";import"./js-core.esm5.js";import"./js-core.esm40.js";import"./js-core.esm11.js";import"./js-core.esm41.js";import"./js-core.esm42.js";import"./js-core.esm34.js";import"./js-core.esm17.js";import"./js-core.esm15.js";const useStyles$3=makeStyles()(()=>({container:{width:"570px",background:"transparent",cursor:"not-allowed"},searchInputContainer:{width:"100%",borderRadius:"50px",display:"flex",alignItems:"center",padding:"7px",fontWeight:400,backgroundColor:"#F7F7F7CC",border:"0.5px solid #D5DFE9"},searchInput:{border:"0",outline:"none",background:"transparent",width:"100%",fontSize:"15px","&::placeholder":{opacity:"0.4"}},searchIconContainer:{padding:"0px 7px",display:"flex",alignItems:"center",justifyContent:"center"}})),ShimSearch=({intl:e})=>{var s=useStyles$3()["classes"];return jsxRuntime.exports.jsx("div",Object.assign({className:s.container},{children:jsxRuntime.exports.jsxs("div",Object.assign({className:s.searchInputContainer},{children:[jsxRuntime.exports.jsx("div",Object.assign({className:s.searchIconContainer},{children:jsxRuntime.exports.jsx(Search,{fontSize:"small",sx:{color:"#555F7C99"}})})),jsxRuntime.exports.jsx("input",{id:"aiAutocomplete-search-bar","data-test-id":"aiAutocomplete-search-bar-test-id",style:{marginLeft:"15px"},className:s.searchInput,type:"text",placeholder:e.formatMessage({id:"os-processing-center-shim-search",defaultMessage:[{type:0,value:"Search is coming soon"}]}),maxLength:200,disabled:!0})]}))}))},TempSearchBar=injectIntl(ShimSearch),useStyles$2=makeStyles()((e,{height:s})=>({header:{alignItems:"center",borderBottom:"0.5px solid "+e.palette.divider,display:"flex",height:s,padding:e.spacing(2),position:"relative"},title:{minWidth:"126px"},marginRight:{marginRight:e.spacing(2)},navigationToggle:{marginRight:e.spacing(1)},headerActionContainer:{alignItems:"center",display:"flex",flexGrow:1,height:"100%",justifyContent:"flex-end"},verticalDivider:{borderRight:".5px solid "+e.palette.divider,height:"70%",margin:"0 "+e.spacing(1)},searchContainer:{alignItems:"center",border:"1px solid transparent",borderRadius:4,display:"flex",flexGrow:1,height:44,marginLeft:"48px"}})),Header=({intl:e,hidePanel:s,isNavExpanded:t,onLeftNavigationToggle:a,onFullScreenToggle:i,isFullScreen:n,height:r})=>{r=useStyles$2({height:r}).classes;return e.formatMessage({id:"processing-center-browse.search-input-placeholder",defaultMessage:[{type:0,value:"Search by Job ID, Task ID, TDO ID, Application or User"}]}),jsxRuntime.exports.jsxs("header",Object.assign({className:r.header,"data-testid":"pc-header"},{children:[jsxRuntime.exports.jsx(Tooltip,Object.assign({title:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-processing-center-browse.navigation.menu",defaultMessage:"Toggle Navigation Menu",description:"Toggle Navigation Menu"})},{children:jsxRuntime.exports.jsx(IconButton,Object.assign({sx:{mr:1},onClick:a,"aria-expanded":t,"aria-labelledby":"ac-header-toggle-nav","data-test":"ac-header-toggle-nav",size:"large"},{children:jsxRuntime.exports.jsx(Hamburger,{})}))})),jsxRuntime.exports.jsx(Typography,Object.assign({variant:"h1",className:r.title,"data-test":"ac-title"},{children:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-processing-center-browse.header.title",defaultMessage:"Processing Center",description:"Panel header of the processing center"})})),jsxRuntime.exports.jsx("div",Object.assign({className:r.searchContainer},{children:jsxRuntime.exports.jsx(TempSearchBar,{})})),jsxRuntime.exports.jsxs("div",Object.assign({className:r.headerActionContainer},{children:[jsxRuntime.exports.jsx("div",{className:r.verticalDivider}),jsxRuntime.exports.jsx(Tooltip,Object.assign({title:n?jsxRuntime.exports.jsx(FormattedMessage,{id:"os-processing-center-browse.close.full.screen",defaultMessage:"Exit Fullscreen",description:"Exit Fullscreen"}):jsxRuntime.exports.jsx(FormattedMessage,{id:"os-processing-center-browse.open.full.screen",defaultMessage:"Enter Fullscreen",description:"Enter Fullscreen"})},{children:jsxRuntime.exports.jsx(IconButton,Object.assign({onClick:i,"aria-labelledby":"ac-toggle-fullscreen","data-test":"ac-fullscreen-toggle",size:"large"},{children:n?jsxRuntime.exports.jsx(FullscreenExit,{}):jsxRuntime.exports.jsx(Fullscreen,{})}))})),jsxRuntime.exports.jsx(Tooltip,Object.assign({title:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-processing-center-browse.close.panel",defaultMessage:"Close Panel",description:"Close Panel"})},{children:jsxRuntime.exports.jsx(IconButton,Object.assign({onClick:s,"aria-labelledby":"ac-close-panel","data-test-id":"ac-close-panel",size:"large"},{children:jsxRuntime.exports.jsx(Hide,{})}))}))]}))]}))};var ProcessingCenterView,Header$1=injectIntl(Header);function __rest(e,s){var t={};for(i in e)Object.prototype.hasOwnProperty.call(e,i)&&s.indexOf(i)<0&&(t[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,i=Object.getOwnPropertySymbols(e);a<i.length;a++)s.indexOf(i[a])<0&&Object.prototype.propertyIsEnumerable.call(e,i[a])&&(t[i[a]]=e[i[a]]);return t}!function(e){e[e.jobs=0]="jobs",e[e.tasks=1]="tasks",e[e.monitoring=2]="monitoring"}(ProcessingCenterView=ProcessingCenterView||{});const tabWidth=197,useStyles$1=makeStyles()((e,{height:s},t)=>({root:{display:"flex",flexGrow:1,height:s,position:"relative"},tabs:{borderRight:".5px solid "+e.palette.divider,transition:".2s ease",width:e.spacing(14),minWidth:e.spacing(14),padding:e.spacing(1.6)+" "+e.spacing(2.5),boxSizing:"border-box"},tabsContainer:{alignItems:"center"},tabIndicator:{background:"transparent"},tabRoot:{opacity:1,borderRadius:4,fontSize:"14px",marginBottom:e.spacing(1),minHeight:e.spacing(9),minWidth:e.spacing(9),paddingTop:e.spacing(1),paddingBottom:e.spacing(1),width:"100%","&:hover":{background:"#F2F5F9"},"&.Mui-disabled":{cursor:"not-allowed",pointerEvents:"auto"},"&:disabled":{cursor:"not-allowed",pointerEvents:"auto"}},tabsExpanded:{width:tabWidth,minWidth:tabWidth,paddingRight:e.spacing(2),paddingLeft:e.spacing(2),["& "+t.tabRoot]:{width:`calc(${tabWidth}px - ${e.spacing(3)})`,flexDirection:"row",textTransform:"capitalize","& svg":{marginRight:e.spacing(2),marginBottom:"0"}}},tabExpandedWrapper:{flexDirection:"row",display:"flex",justifyContent:"flex-start","& svg":{marginBottom:"0 !important",marginRight:e.spacing(2)}},tabSelected:{background:"#F2F5F9",color:e.palette.primary.main,"& svg":{marginBottom:"0 !important",marginRight:"0",color:e.palette.primary.main}},contentPanel:{flexGrow:1},tabExpandedSelected:{background:"#F2F5F9",color:e.palette.primary.main,"& svg":{marginBottom:"0 !important",marginRight:e.spacing(2),color:e.palette.primary.main}},tabWrapper:{flexDirection:"row",display:"flex",justifyContent:"center","& svg":{marginBottom:"0 !important",marginRight:"0"}},condensedNavIcon:{display:"flex",marginBottom:"0px !important"}})),MainTabPanel=({intl:n,isNavExpanded:r,isFullScreen:s,height:e})=>{var t=[{id:ProcessingCenterView.jobs,label:n.formatMessage({id:"os-processing-center-browse.jobs.view",defaultMessage:[{type:0,value:"Jobs"}]}),testLabel:"pc-jobs-view",icon:jsxRuntime.exports.jsx(Article,{}),content:e=>jsxRuntime.exports.jsx(JobsPanel,{isPanelFullScreen:e})},{id:ProcessingCenterView.tasks,label:n.formatMessage({id:"os-processing-center-browse.tasks.view",defaultMessage:[{type:0,value:"Tasks"}]}),testLabel:"pc-tasks-view",icon:jsxRuntime.exports.jsx(Task,{style:{transform:"translateX(4px)"}}),content:e=>jsxRuntime.exports.jsx(TasksPanel,{isPanelFullScreen:e})},{id:ProcessingCenterView.monitoring,label:n.formatMessage({id:"os-processing-center-browse.monitoring.view",defaultMessage:[{type:0,value:"Monitoring"}]}),testLabel:"pc-monitoring-view",icon:jsxRuntime.exports.jsx(View,{}),content:e=>jsxRuntime.exports.jsx("div",{children:"Monitoring"}),disabled:!0}];const o=useStyles$1({height:e})["classes"],[a,i]=react.exports.useState(ProcessingCenterView.jobs);var[e,,]=react.exports.useState(t);return jsxRuntime.exports.jsx(AIWareThemeProvider,{children:jsxRuntime.exports.jsxs("div",Object.assign({className:o.root},{children:[jsxRuntime.exports.jsx(Tabs,Object.assign({id:"processingCenterViewTabs",orientation:"vertical",value:a,onChange:(e,s)=>{i(s)},className:classNames(o.tabs,{[o.tabsExpanded]:r}),classes:{flexContainer:o.tabsContainer,indicator:o.tabIndicator},"aria-label":"processing center tabs","data-test":"pc-nav-tabs-container"},{children:e.map(e=>{return jsxRuntime.exports.jsx(Tab,Object.assign({wrapped:!0},a11yProps(e.id),{label:(t=!!e.disabled,a=r,i=e.label,jsxRuntime.exports.jsx(Tooltip,Object.assign({title:t?i+" "+n.formatMessage({id:"processing-center.nav-list.coming-soon-label",defaultMessage:[{type:0,value:"Coming soon"}]}):i},{children:jsxRuntime.exports.jsx("span",{children:a?i:""})}))),icon:(t=!!e.disabled,a=r,i=e.label,s=e.icon,a?s:jsxRuntime.exports.jsx(Tooltip,Object.assign({title:t?i+" "+n.formatMessage({id:"processing-center.nav-list.coming-soon-icon",defaultMessage:[{type:0,value:"Coming soon"}]}):i},{children:jsxRuntime.exports.jsx("span",Object.assign({className:a?"":o.condensedNavIcon},{children:s}))}))),classes:{root:o.tabRoot,wrapped:r?o.tabExpandedWrapper:o.tabWrapper,selected:r?o.tabExpandedSelected:o.tabSelected},disabled:e.disabled,"data-test":"pc-nav-tab-"+e.testLabel}),e.id);var s,t,a,i})})),e.map(e=>jsxRuntime.exports.jsx(TabPanel,Object.assign({value:a,index:e.id,className:o.contentPanel},{children:e.content(s)}),e.id))]}))})};function TabPanel(e){var{children:s,value:t,index:a}=e,e=__rest(e,["children","value","index"]);return jsxRuntime.exports.jsx("div",Object.assign({role:"tabpanel",hidden:t!==a,id:"processing-center-tabpanel-"+a,"aria-labelledby":"processing-center-tab-"+a},e,{children:t===a&&s}))}function a11yProps(e){return{id:"admin-center-tab-"+e,"aria-controls":"admin-center-tabpanel-"+e}}var MainTabPanel$1=injectIntl(MainTabPanel);const Container=({fullScreen:e,classes:s,dimmed:t,children:a})=>e?jsxRuntime.exports.jsx(Portal,{children:jsxRuntime.exports.jsxs("div",Object.assign({role:"presentation","data-test":"ac-widget",className:classNames(s.panel,s.fullScreen)},{children:[t&&jsxRuntime.exports.jsx("div",{className:s.overlay}),a]}))}):jsxRuntime.exports.jsx("div",Object.assign({role:"presentation","data-test":"ac-widget",className:classNames(s.root,s.panel)},{children:a})),appBarHeight=55,headerHeight=64,borderBottom=5,useStyles=makeStyles()(e=>({root:{width:"100%",position:"relative"},panel:{backgroundColor:e.palette.background.paper,boxShadow:"0px 0px 12px rgba(0, 0, 0, 0.25)",height:"100%"},fullScreen:{position:"fixed",width:"100%",height:"100vh",top:0,left:0,right:0,bottom:0,zIndex:1004},overlay:{backgroundColor:e.palette.grey[50],opacity:"0.5 !important",height:"100%",position:"absolute",top:0,width:"100%",zIndex:1001}})),MainLayout=({hidePanel:e})=>{const[s,t]=react.exports.useState(!0),[a,i]=react.exports.useState(!1);var n=useStyles()["classes"],r=(useSelector(panelsSelector)||[]).find(e=>"PROCESSING_CENTER_BROWSE"===e.panelId)||{panelConfig:{dimmed:0}},r=0<(null==(r=null===r?void 0:r.panelConfig)?void 0:r.dimmed),o=`calc(100vh - ${a?25:appBarHeight+borderBottom}px - ${headerHeight}px)`;return jsxRuntime.exports.jsxs(Container,Object.assign({dimmed:r,fullScreen:a,classes:n},{children:[jsxRuntime.exports.jsx(Header$1,{height:headerHeight,hidePanel:e,isNavExpanded:s,onLeftNavigationToggle:()=>{t(!s)},isFullScreen:a,onFullScreenToggle:()=>{i(!a)}}),jsxRuntime.exports.jsx(MainTabPanel$1,{height:o,isNavExpanded:s,isFullScreen:a})]}))},Content=e=>{var{apiRoot:s,graphQLEndpoint:t,token:a}=useSelector(selectApiConfigs);return s&&t&&a?jsxRuntime.exports.jsx(MainLayout,Object.assign({},e)):null},ProcessingCenterBrowse=e=>jsxRuntime.exports.jsx(AIWareThemeProvider,{children:jsxRuntime.exports.jsx(DynamicModuleLoader,Object.assign({modules:[getProcessingCenterJobsModule(),getProcessingCenterTasksModule()]},{children:jsxRuntime.exports.jsx(AIWareIntlProvider,{children:jsxRuntime.exports.jsx(Content,Object.assign({},e))})}))});export{ProcessingCenterBrowse};
Binary file