aiware-js 1.0.0-master.82 → 1.0.0-master.821

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 (478) 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 +1500 -166
  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 -2
  248. package/js-core.esm.js +634 -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 +80 -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 +596 -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 -22
  261. package/js-core.esm15.js.gz +0 -0
  262. package/js-core.esm16.js +1 -1
  263. package/js-core.esm16.js.gz +0 -0
  264. package/js-core.esm17.js +1 -595
  265. package/js-core.esm17.js.gz +0 -0
  266. package/js-core.esm18.js +1 -1
  267. package/js-core.esm18.js.gz +0 -0
  268. package/js-core.esm19.js +1 -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 +1 -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 +240 -1
  277. package/js-core.esm22.js.gz +0 -0
  278. package/js-core.esm23.js +20 -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 -230
  285. package/js-core.esm26.js.gz +0 -0
  286. package/js-core.esm27.js +1 -60
  287. package/js-core.esm27.js.gz +0 -0
  288. package/js-core.esm28.js +1 -1
  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 -14
  299. package/js-core.esm32.js.gz +0 -0
  300. package/js-core.esm33.js +1 -12
  301. package/js-core.esm33.js.gz +0 -0
  302. package/js-core.esm34.js +101 -54
  303. package/js-core.esm34.js.gz +0 -0
  304. package/js-core.esm35.js +214 -1
  305. package/js-core.esm35.js.gz +0 -0
  306. package/js-core.esm36.js +1 -88
  307. package/js-core.esm36.js.gz +0 -0
  308. package/js-core.esm37.js +1 -226
  309. package/js-core.esm37.js.gz +0 -0
  310. package/js-core.esm38.js +6 -4
  311. package/js-core.esm38.js.gz +0 -0
  312. package/js-core.esm39.js +1 -1
  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 +31 -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 +29 -31
  323. package/js-core.esm43.js.gz +0 -0
  324. package/js-core.esm44.js +98 -1
  325. package/js-core.esm44.js.gz +0 -0
  326. package/js-core.esm45.js +64 -1
  327. package/js-core.esm45.js.gz +0 -0
  328. package/js-core.esm46.js +8 -1
  329. package/js-core.esm46.js.gz +0 -0
  330. package/js-core.esm47.js +54 -0
  331. package/js-core.esm47.js.gz +0 -0
  332. package/js-core.esm48.js +111 -0
  333. package/js-core.esm48.js.gz +0 -0
  334. package/js-core.esm49.js +156 -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 +75 -0
  339. package/js-core.esm50.js.gz +0 -0
  340. package/js-core.esm51.js +15 -0
  341. package/js-core.esm51.js.gz +0 -0
  342. package/js-core.esm52.js +1 -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 +123 -0
  347. package/js-core.esm54.js.gz +0 -0
  348. package/js-core.esm55.js +64 -0
  349. package/js-core.esm55.js.gz +0 -0
  350. package/js-core.esm56.js +35 -0
  351. package/js-core.esm56.js.gz +0 -0
  352. package/js-core.esm57.js +1 -0
  353. package/js-core.esm57.js.gz +0 -0
  354. package/js-core.esm58.js +14 -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 +61 -0
  363. package/js-core.esm61.js.gz +0 -0
  364. package/js-core.esm62.js +210 -0
  365. package/js-core.esm62.js.gz +0 -0
  366. package/js-core.esm63.js +51 -0
  367. package/js-core.esm63.js.gz +0 -0
  368. package/js-core.esm64.js +1 -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 +35 -0
  373. package/js-core.esm66.js.gz +0 -0
  374. package/js-core.esm67.js +1 -0
  375. package/js-core.esm67.js.gz +0 -0
  376. package/js-core.esm68.js +1 -0
  377. package/js-core.esm68.js.gz +0 -0
  378. package/js-core.esm69.js +1 -0
  379. package/js-core.esm69.js.gz +0 -0
  380. package/js-core.esm7.js +1 -136
  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 +1 -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 +1 -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.esm9.js +1 -1
  421. package/js-core.esm9.js.gz +0 -0
  422. package/js-core.umd.css +1545 -211
  423. package/js-core.umd.css.gz +0 -0
  424. package/js-core.umd.js +1902 -268
  425. package/js-core.umd.js.gz +0 -0
  426. package/js-core.umd.min.css +1377 -105
  427. package/js-core.umd.min.css.gz +0 -0
  428. package/lib/ApplicationDialog.d.ts +1 -0
  429. package/lib/components/SupportCenterPixel.d.ts +1 -0
  430. package/lib/js.d.ts +12 -4
  431. package/lib/rate-limiter.d.ts +6 -0
  432. package/lib/registry.d.ts +2 -1
  433. package/lib/snackbar.d.ts +1 -0
  434. package/lib/validateConfig.d.ts +1 -1
  435. package/lib/widgetHandler.d.ts +18 -3
  436. package/locales/en.json +1 -1
  437. package/locales/es.json +1 -1
  438. package/locales/fr.json +1 -1
  439. package/package.json +63 -22
  440. package/files/dosis-latin-200.woff +0 -0
  441. package/files/dosis-latin-200.woff2 +0 -0
  442. package/files/dosis-latin-300.woff +0 -0
  443. package/files/dosis-latin-300.woff2 +0 -0
  444. package/files/dosis-latin-500.woff +0 -0
  445. package/files/dosis-latin-500.woff2 +0 -0
  446. package/files/dosis-latin-600.woff +0 -0
  447. package/files/dosis-latin-600.woff2 +0 -0
  448. package/files/dosis-latin-700.woff +0 -0
  449. package/files/dosis-latin-700.woff2 +0 -0
  450. package/files/dosis-latin-800.woff +0 -0
  451. package/files/dosis-latin-800.woff2 +0 -0
  452. package/files/nunito-latin-200.woff +0 -0
  453. package/files/nunito-latin-200.woff2 +0 -0
  454. package/files/nunito-latin-200italic.woff +0 -0
  455. package/files/nunito-latin-200italic.woff2 +0 -0
  456. package/files/nunito-latin-300.woff +0 -0
  457. package/files/nunito-latin-300.woff2 +0 -0
  458. package/files/nunito-latin-300italic.woff +0 -0
  459. package/files/nunito-latin-300italic.woff2 +0 -0
  460. package/files/nunito-latin-400.woff2 +0 -0
  461. package/files/nunito-latin-400italic.woff +0 -0
  462. package/files/nunito-latin-400italic.woff2 +0 -0
  463. package/files/nunito-latin-600.woff +0 -0
  464. package/files/nunito-latin-600.woff2 +0 -0
  465. package/files/nunito-latin-600italic.woff +0 -0
  466. package/files/nunito-latin-600italic.woff2 +0 -0
  467. package/files/nunito-latin-700.woff +0 -0
  468. package/files/nunito-latin-700.woff2 +0 -0
  469. package/files/nunito-latin-700italic.woff +0 -0
  470. package/files/nunito-latin-700italic.woff2 +0 -0
  471. package/files/nunito-latin-800.woff +0 -0
  472. package/files/nunito-latin-800.woff2 +0 -0
  473. package/files/nunito-latin-800italic.woff +0 -0
  474. package/files/nunito-latin-800italic.woff2 +0 -0
  475. package/files/nunito-latin-900.woff +0 -0
  476. package/files/nunito-latin-900.woff2 +0 -0
  477. package/files/nunito-latin-900italic.woff +0 -0
  478. package/files/nunito-latin-900italic.woff2 +0 -0
@@ -0,0 +1 @@
1
+ import{cF as createSvgIcon,j as jsxRuntime}from"./js-core.esm.js";var AddCircleOutline=createSvgIcon(jsxRuntime.exports.jsx("path",{d:"M13 7h-2v4H7v2h4v4h2v-4h4v-2h-4V7zm-1-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"}),"AddCircleOutline");export{AddCircleOutline as A};
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(),U.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),U=react.exports.useRef(m),F=react.exports.useRef(b),M=function(e){if(F.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(){U.current=m},[m]),react.exports.useEffect(function(){F.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 U(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(U,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,getUserInfo=({appIcon:e="",currentUser:t})=>({appIcon:e,currentUser:null!=t&&t.organization?t:void 0});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);var{appIcon:E,currentUser:O}=getUserInfo(E);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||"")}))}))}))})),O&&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;for(;;)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{i as createSvgIcon,k as interopRequireDefault,j as jsxRuntime}from"./js-core.esm.js";var VisibilityOffOutlined={},_interopRequireDefault=interopRequireDefault.exports,default_1=(Object.defineProperty(VisibilityOffOutlined,"__esModule",{value:!0}),VisibilityOffOutlined.default=void 0),_createSvgIcon=_interopRequireDefault(createSvgIcon),_jsxRuntime=jsxRuntime.exports,_default=(0,_createSvgIcon.default)((0,_jsxRuntime.jsx)("path",{d:"M12 6c3.79 0 7.17 2.13 8.82 5.5-.59 1.22-1.42 2.27-2.41 3.12l1.41 1.41c1.39-1.23 2.49-2.77 3.18-4.53C21.27 7.11 17 4 12 4c-1.27 0-2.49.2-3.64.57l1.65 1.65C10.66 6.09 11.32 6 12 6zm-1.07 1.14L13 9.21c.57.25 1.03.71 1.28 1.28l2.07 2.07c.08-.34.14-.7.14-1.07C16.5 9.01 14.48 7 12 7c-.37 0-.72.05-1.07.14zM2.01 3.87l2.68 2.68C3.06 7.83 1.77 9.53 1 11.5 2.73 15.89 7 19 12 19c1.52 0 2.98-.29 4.32-.82l3.42 3.42 1.41-1.41L3.42 2.45 2.01 3.87zm7.5 7.5 2.61 2.61c-.04.01-.08.02-.12.02-1.38 0-2.5-1.12-2.5-2.5 0-.05.01-.08.01-.13zm-3.4-3.4 1.75 1.75c-.23.55-.36 1.15-.36 1.78 0 2.48 2.02 4.5 4.5 4.5.63 0 1.23-.13 1.77-.36l.98.98c-.88.24-1.8.38-2.75.38-3.79 0-7.17-2.13-8.82-5.5.7-1.43 1.72-2.61 2.93-3.53z"}),"VisibilityOffOutlined"),default_1=VisibilityOffOutlined.default=_default;export{default_1 as d};
Binary file
@@ -0,0 +1 @@
1
+ import{l as createSlice,cO as combineReducers,cP as createSelector,aE as rootApiSelector,aG as graphEndpointSelector,aF as sessionTokenSelector,m as makeStyles,eX as injectIntl,j as jsxRuntime,cS as AIWareThemeProvider,E as DynamicModuleLoader,A as AIWareIntlProvider,o as useDispatch,p as useSelector,y as betaFeaturesSelector,hx as Packages,hy as Resources,r as react,bI as Tabs,U as classNames,bJ as Tab,a5 as all,aX as Tooltip,fu as panelsSelector,a$ as takeLatest$1,hz as selectUserCanCreatePackage,F as FormattedMessage,Z as IconButton,fr as Hamburger,T as Typography,G as Button,cY as FullscreenExit,cZ as Fullscreen,cC as Hide,aM as Portal,aa as select,ac as put,d5 as mountPanel}from"./js-core.esm.js";import{g as getResourceCenterPackagesModule,P as PackagesTab,a as actions$1$1}from"./js-core.esm61.js";import"./js-core.esm62.js";import{g as getResourceCenterResourcesModule,R as ResourcesTab}from"./js-core.esm63.js";import{getAdminCenterGroupsModule}from"./js-core.esm38.js";import{getAdminCenterPermissionsModule}from"./js-core.esm35.js";import{getAdminCenterApplicationsModule}from"./js-core.esm44.js";import"./js-core.esm8.js";import"./js-core.esm42.js";import"./js-core.esm20.js";import"./js-core.esm19.js";import"./js-core.esm14.js";import"./js-core.esm9.js";import"./js-core.esm37.js";var match,version,store,wmget,wmhas,wmset,set,get,has,STATE,ResourceCenterView,commonjsGlobal="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},check=function(e){return e&&e.Math==Math&&e},global$e=check("object"==typeof globalThis&&globalThis)||check("object"==typeof window&&window)||check("object"==typeof self&&self)||check("object"==typeof commonjsGlobal&&commonjsGlobal)||function(){return this}()||Function("return this")(),objectGetOwnPropertyDescriptor={},fails$e=function(e){try{return!!e()}catch(e){return!0}},fails$d=fails$e,descriptors=!fails$e(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}),fails$c=fails$e,functionBindNative=!fails$e(function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}),NATIVE_BIND$1=functionBindNative,call$7=Function.prototype.call,functionCall=NATIVE_BIND$1?call$7.bind(call$7):function(){return call$7.apply(call$7,arguments)},objectPropertyIsEnumerable={},$propertyIsEnumerable={}.propertyIsEnumerable,getOwnPropertyDescriptor$1=Object.getOwnPropertyDescriptor,NASHORN_BUG=getOwnPropertyDescriptor$1&&!$propertyIsEnumerable.call({1:2},1),createPropertyDescriptor$3=(objectPropertyIsEnumerable.f=NASHORN_BUG?function(e){e=getOwnPropertyDescriptor$1(this,e);return!!e&&e.enumerable}:$propertyIsEnumerable,function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}),NATIVE_BIND=functionBindNative,FunctionPrototype$1=Function.prototype,bind=FunctionPrototype$1.bind,call$6=FunctionPrototype$1.call,uncurryThis$c=NATIVE_BIND&&bind.bind(call$6,call$6),functionUncurryThis=NATIVE_BIND?function(e){return e&&uncurryThis$c(e)}:function(e){return e&&function(){return call$6.apply(e,arguments)}},uncurryThis$b=functionUncurryThis,toString$3=uncurryThis$b({}.toString),stringSlice$1=uncurryThis$b("".slice),classofRaw$1=function(e){return stringSlice$1(toString$3(e),8,-1)},uncurryThis$a=functionUncurryThis,fails$b=fails$e,classof$2=classofRaw$1,$Object$4=Object,split=functionUncurryThis("".split),indexedObject=fails$b(function(){return!$Object$4("z").propertyIsEnumerable(0)})?function(e){return"String"==classof$2(e)?split(e,""):$Object$4(e)}:$Object$4,$TypeError$6=TypeError,requireObjectCoercible$2=function(e){if(null==e)throw $TypeError$6("Can't call method on "+e);return e},IndexedObject$1=indexedObject,requireObjectCoercible$1=requireObjectCoercible$2,toIndexedObject$5=function(e){return IndexedObject$1(requireObjectCoercible$1(e))},isCallable$f=function(e){return"function"==typeof e},isCallable$e=isCallable$f,isObject$5=function(e){return"object"==typeof e?null!==e:isCallable$e(e)},global$d=global$e,isCallable$d=isCallable$f,aFunction=function(e){return isCallable$d(e)?e:void 0},getBuiltIn$4=function(e,t){return arguments.length<2?aFunction(global$d[e]):global$d[e]&&global$d[e][t]},uncurryThis$9=functionUncurryThis,objectIsPrototypeOf=functionUncurryThis({}.isPrototypeOf),getBuiltIn$3=getBuiltIn$4,engineUserAgent=getBuiltIn$4("navigator","userAgent")||"",global$c=global$e,userAgent=engineUserAgent,process=global$c.process,Deno=global$c.Deno,versions=process&&process.versions||Deno&&Deno.version,v8=versions&&versions.v8,engineV8Version=version=!(version=v8?0<(match=v8.split("."))[0]&&match[0]<4?1:+(match[0]+match[1]):version)&&userAgent&&(!(match=userAgent.match(/Edge\/(\d+)/))||74<=match[1])&&(match=userAgent.match(/Chrome\/(\d+)/))?+match[1]:version,V8_VERSION=version,fails$a=fails$e,nativeSymbol=!!Object.getOwnPropertySymbols&&!fails$a(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&V8_VERSION&&V8_VERSION<41}),NATIVE_SYMBOL$1=nativeSymbol,useSymbolAsUid=nativeSymbol&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,getBuiltIn$2=getBuiltIn$4,isCallable$c=isCallable$f,isPrototypeOf=objectIsPrototypeOf,USE_SYMBOL_AS_UID$1=useSymbolAsUid,$Object$3=Object,isSymbol$2=useSymbolAsUid?function(e){return"symbol"==typeof e}:function(e){var t=getBuiltIn$2("Symbol");return isCallable$c(t)&&isPrototypeOf(t.prototype,$Object$3(e))},$String$3=String,tryToString$1=function(e){try{return $String$3(e)}catch(e){return"Object"}},isCallable$b=isCallable$f,tryToString=tryToString$1,$TypeError$5=TypeError,aCallable$1=function(e){if(isCallable$b(e))return e;throw $TypeError$5(tryToString(e)+" is not a function")},aCallable=aCallable$1,getMethod$1=function(e,t){e=e[t];return null==e?void 0:aCallable(e)},call$5=functionCall,isCallable$a=isCallable$f,isObject$4=isObject$5,$TypeError$4=TypeError,ordinaryToPrimitive$1=function(e,t){var r,o;if("string"===t&&isCallable$a(r=e.toString)&&!isObject$4(o=call$5(r,e)))return o;if(isCallable$a(r=e.valueOf)&&!isObject$4(o=call$5(r,e)))return o;if("string"!==t&&isCallable$a(r=e.toString)&&!isObject$4(o=call$5(r,e)))return o;throw $TypeError$4("Can't convert object to primitive value")},shared$4={exports:{}},global$b=global$e,defineProperty$5=Object.defineProperty,defineGlobalProperty$3=function(t,r){try{defineProperty$5(global$b,t,{value:r,configurable:!0,writable:!0})}catch(e){global$b[t]=r}return r},global$a=global$e,defineGlobalProperty$2=defineGlobalProperty$3,SHARED="__core-js_shared__",store$3=global$e[SHARED]||defineGlobalProperty$2(SHARED,{}),sharedStore=store$3,store$2=sharedStore,requireObjectCoercible=((shared$4.exports=function(e,t){return store$2[e]||(store$2[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.24.1",mode:"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.24.1/LICENSE",source:"https://github.com/zloirock/core-js"}),requireObjectCoercible$2),$Object$2=Object,toObject$3=function(e){return $Object$2(requireObjectCoercible(e))},uncurryThis$8=functionUncurryThis,toObject$2=toObject$3,hasOwnProperty=functionUncurryThis({}.hasOwnProperty),hasOwnProperty_1=Object.hasOwn||function(e,t){return hasOwnProperty(toObject$2(e),t)},uncurryThis$7=functionUncurryThis,id=0,postfix=Math.random(),toString$2=uncurryThis$7(1..toString),uid$2=function(e){return"Symbol("+(void 0===e?"":e)+")_"+toString$2(++id+postfix,36)},global$9=global$e,shared$3=shared$4.exports,hasOwn$8=hasOwnProperty_1,uid$1=uid$2,NATIVE_SYMBOL=nativeSymbol,USE_SYMBOL_AS_UID=useSymbolAsUid,WellKnownSymbolsStore=shared$3("wks"),Symbol$1=global$9.Symbol,symbolFor=Symbol$1&&Symbol$1.for,createWellKnownSymbol=USE_SYMBOL_AS_UID?Symbol$1:Symbol$1&&Symbol$1.withoutSetter||uid$1,wellKnownSymbol$8=function(e){var t;return hasOwn$8(WellKnownSymbolsStore,e)&&(NATIVE_SYMBOL||"string"==typeof WellKnownSymbolsStore[e])||(t="Symbol."+e,NATIVE_SYMBOL&&hasOwn$8(Symbol$1,e)?WellKnownSymbolsStore[e]=Symbol$1[e]:WellKnownSymbolsStore[e]=(USE_SYMBOL_AS_UID&&symbolFor?symbolFor:createWellKnownSymbol)(t)),WellKnownSymbolsStore[e]},call$4=functionCall,isObject$3=isObject$5,isSymbol$1=isSymbol$2,getMethod=getMethod$1,ordinaryToPrimitive=ordinaryToPrimitive$1,wellKnownSymbol$7=wellKnownSymbol$8,$TypeError$3=TypeError,TO_PRIMITIVE=wellKnownSymbol$8("toPrimitive"),toPrimitive$1=function(e,t){if(!isObject$3(e)||isSymbol$1(e))return e;var r=getMethod(e,TO_PRIMITIVE);if(r){if(r=call$4(r,e,t=void 0===t?"default":t),!isObject$3(r)||isSymbol$1(r))return r;throw $TypeError$3("Can't convert object to primitive value")}return ordinaryToPrimitive(e,t=void 0===t?"number":t)},toPrimitive=toPrimitive$1,isSymbol=isSymbol$2,toPropertyKey$2=function(e){e=toPrimitive(e,"string");return isSymbol(e)?e:e+""},global$8=global$e,isObject$2=isObject$5,document$1=global$e.document,EXISTS$1=isObject$2(document$1)&&isObject$2(document$1.createElement),documentCreateElement$2=function(e){return EXISTS$1?document$1.createElement(e):{}},DESCRIPTORS$9=descriptors,fails$9=fails$e,createElement=documentCreateElement$2,ie8DomDefine=!descriptors&&!fails$e(function(){return 7!=Object.defineProperty(createElement("div"),"a",{get:function(){return 7}}).a}),DESCRIPTORS$8=descriptors,call$3=functionCall,propertyIsEnumerableModule$1=objectPropertyIsEnumerable,createPropertyDescriptor$2=createPropertyDescriptor$3,toIndexedObject$4=toIndexedObject$5,toPropertyKey$1=toPropertyKey$2,hasOwn$7=hasOwnProperty_1,IE8_DOM_DEFINE$1=ie8DomDefine,$getOwnPropertyDescriptor$1=Object.getOwnPropertyDescriptor,objectDefineProperty=(objectGetOwnPropertyDescriptor.f=DESCRIPTORS$8?$getOwnPropertyDescriptor$1:function(e,t){if(e=toIndexedObject$4(e),t=toPropertyKey$1(t),IE8_DOM_DEFINE$1)try{return $getOwnPropertyDescriptor$1(e,t)}catch(e){}if(hasOwn$7(e,t))return createPropertyDescriptor$2(!call$3(propertyIsEnumerableModule$1.f,e,t),e[t])},{}),DESCRIPTORS$7=descriptors,fails$8=fails$e,v8PrototypeDefineBug=descriptors&&fails$e(function(){return 42!=Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype}),isObject$1=isObject$5,$String$2=String,$TypeError$2=TypeError,anObject$6=function(e){if(isObject$1(e))return e;throw $TypeError$2($String$2(e)+" is not an object")},DESCRIPTORS$6=descriptors,IE8_DOM_DEFINE=ie8DomDefine,V8_PROTOTYPE_DEFINE_BUG$1=v8PrototypeDefineBug,anObject$5=anObject$6,toPropertyKey=toPropertyKey$2,$TypeError$1=TypeError,$defineProperty=Object.defineProperty,$getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor,ENUMERABLE="enumerable",CONFIGURABLE$1="configurable",WRITABLE="writable",DESCRIPTORS$5=(objectDefineProperty.f=DESCRIPTORS$6?V8_PROTOTYPE_DEFINE_BUG$1?function(e,t,r){var o;return anObject$5(e),t=toPropertyKey(t),anObject$5(r),"function"==typeof e&&"prototype"===t&&"value"in r&&WRITABLE in r&&!r[WRITABLE]&&(o=$getOwnPropertyDescriptor(e,t))&&o[WRITABLE]&&(e[t]=r.value,r={configurable:(CONFIGURABLE$1 in r?r:o)[CONFIGURABLE$1],enumerable:(ENUMERABLE in r?r:o)[ENUMERABLE],writable:!1}),$defineProperty(e,t,r)}:$defineProperty:function(e,t,r){if(anObject$5(e),t=toPropertyKey(t),anObject$5(r),IE8_DOM_DEFINE)try{return $defineProperty(e,t,r)}catch(e){}if("get"in r||"set"in r)throw $TypeError$1("Accessors not supported");return"value"in r&&(e[t]=r.value),e},descriptors),definePropertyModule$3=objectDefineProperty,createPropertyDescriptor$1=createPropertyDescriptor$3,createNonEnumerableProperty$4=DESCRIPTORS$5?function(e,t,r){return definePropertyModule$3.f(e,t,createPropertyDescriptor$1(1,r))}:function(e,t,r){return e[t]=r,e},makeBuiltIn$2={exports:{}},DESCRIPTORS$4=descriptors,hasOwn$6=hasOwnProperty_1,FunctionPrototype=Function.prototype,getDescriptor=DESCRIPTORS$4&&Object.getOwnPropertyDescriptor,EXISTS=hasOwn$6(FunctionPrototype,"name"),PROPER=EXISTS&&"something"===function(){}.name,CONFIGURABLE=EXISTS&&(!DESCRIPTORS$4||getDescriptor(FunctionPrototype,"name").configurable),functionName={EXISTS:EXISTS,PROPER:PROPER,CONFIGURABLE:CONFIGURABLE},uncurryThis$6=functionUncurryThis,isCallable$9=isCallable$f,store$1=sharedStore,functionToString=functionUncurryThis(Function.toString),inspectSource$2=(isCallable$9(store$1.inspectSource)||(store$1.inspectSource=function(e){return functionToString(e)}),store$1.inspectSource),global$7=global$e,isCallable$8=isCallable$f,inspectSource$1=inspectSource$2,WeakMap$1=global$e.WeakMap,nativeWeakMap=isCallable$8(WeakMap$1)&&/native code/.test(inspectSource$1(WeakMap$1)),shared$2=shared$4.exports,uid=uid$2,keys=shared$2("keys"),sharedKey$3=function(e){return keys[e]||(keys[e]=uid(e))},hiddenKeys$4={},NATIVE_WEAK_MAP=nativeWeakMap,global$6=global$e,uncurryThis$5=functionUncurryThis,isObject=isObject$5,createNonEnumerableProperty$3=createNonEnumerableProperty$4,hasOwn$5=hasOwnProperty_1,shared$1=sharedStore,sharedKey$2=sharedKey$3,hiddenKeys$3=hiddenKeys$4,OBJECT_ALREADY_INITIALIZED="Object already initialized",TypeError$1=global$6.TypeError,WeakMap=global$6.WeakMap,enforce=function(e){return has(e)?get(e):set(e,{})},getterFor=function(t){return function(e){if(isObject(e)&&(e=get(e)).type===t)return e;throw TypeError$1("Incompatible receiver, "+t+" required")}},internalState=(has=NATIVE_WEAK_MAP||shared$1.state?(store=shared$1.state||(shared$1.state=new WeakMap),wmget=uncurryThis$5(store.get),wmhas=uncurryThis$5(store.has),wmset=uncurryThis$5(store.set),set=function(e,t){if(wmhas(store,e))throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);return t.facade=e,wmset(store,e,t),t},get=function(e){return wmget(store,e)||{}},function(e){return wmhas(store,e)}):(STATE=sharedKey$2("state"),hiddenKeys$3[STATE]=!0,set=function(e,t){if(hasOwn$5(e,STATE))throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);return t.facade=e,createNonEnumerableProperty$3(e,STATE,t),t},get=function(e){return hasOwn$5(e,STATE)?e[STATE]:{}},function(e){return hasOwn$5(e,STATE)}),{set:set,get:get,has:has,enforce:enforce,getterFor:getterFor}),fails$7=fails$e,isCallable$7=isCallable$f,hasOwn$4=hasOwnProperty_1,DESCRIPTORS$3=descriptors,CONFIGURABLE_FUNCTION_NAME$1=functionName.CONFIGURABLE,inspectSource=inspectSource$2,InternalStateModule$1=internalState,enforceInternalState=InternalStateModule$1.enforce,getInternalState$2=InternalStateModule$1.get,defineProperty$4=Object.defineProperty,CONFIGURABLE_LENGTH=DESCRIPTORS$3&&!fails$7(function(){return 8!==defineProperty$4(function(){},"length",{value:8}).length}),TEMPLATE=String(String).split("String"),makeBuiltIn$1=makeBuiltIn$2.exports=function(e,t,r){"Symbol("===String(t).slice(0,7)&&(t="["+String(t).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!hasOwn$4(e,"name")||CONFIGURABLE_FUNCTION_NAME$1&&e.name!==t)&&(DESCRIPTORS$3?defineProperty$4(e,"name",{value:t,configurable:!0}):e.name=t),CONFIGURABLE_LENGTH&&r&&hasOwn$4(r,"arity")&&e.length!==r.arity&&defineProperty$4(e,"length",{value:r.arity});try{r&&hasOwn$4(r,"constructor")&&r.constructor?DESCRIPTORS$3&&defineProperty$4(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}r=enforceInternalState(e);return hasOwn$4(r,"source")||(r.source=TEMPLATE.join("string"==typeof t?t:"")),e},isCallable$6=(Function.prototype.toString=makeBuiltIn$1(function(){return isCallable$7(this)&&getInternalState$2(this).source||inspectSource(this)},"toString"),isCallable$f),definePropertyModule$2=objectDefineProperty,makeBuiltIn=makeBuiltIn$2.exports,defineGlobalProperty$1=defineGlobalProperty$3,defineBuiltIn$3=function(e,t,r,o){var n=(o=o||{}).enumerable,a=void 0!==o.name?o.name:t;if(isCallable$6(r)&&makeBuiltIn(r,a,o),o.global)n?e[t]=r:defineGlobalProperty$1(t,r);else{try{o.unsafe?e[t]&&(n=!0):delete e[t]}catch(e){}n?e[t]=r:definePropertyModule$2.f(e,t,{value:r,enumerable:!1,configurable:!o.nonConfigurable,writable:!o.nonWritable})}return e},objectGetOwnPropertyNames={},ceil=Math.ceil,floor=Math.floor,mathTrunc=Math.trunc||function(e){e=+e;return(0<e?floor:ceil)(e)},trunc=mathTrunc,toIntegerOrInfinity$2=function(e){e=+e;return e!=e||0==e?0:trunc(e)},toIntegerOrInfinity$1=toIntegerOrInfinity$2,max=Math.max,min$1=Math.min,toAbsoluteIndex$1=function(e,t){e=toIntegerOrInfinity$1(e);return e<0?max(e+t,0):min$1(e,t)},toIntegerOrInfinity=toIntegerOrInfinity$2,min=Math.min,toLength$1=function(e){return 0<e?min(toIntegerOrInfinity(e),9007199254740991):0},toLength=toLength$1,lengthOfArrayLike$1=function(e){return toLength(e.length)},toIndexedObject$3=toIndexedObject$5,toAbsoluteIndex=toAbsoluteIndex$1,lengthOfArrayLike=lengthOfArrayLike$1,createMethod=function(s){return function(e,t,r){var o,n=toIndexedObject$3(e),a=lengthOfArrayLike(n),i=toAbsoluteIndex(r,a);if(s&&t!=t){for(;i<a;)if((o=n[i++])!=o)return!0}else for(;i<a;i++)if((s||i in n)&&n[i]===t)return s||i||0;return!s&&-1}},arrayIncludes={includes:createMethod(!0),indexOf:createMethod(!1)},uncurryThis$4=functionUncurryThis,hasOwn$3=hasOwnProperty_1,toIndexedObject$2=toIndexedObject$5,indexOf$1=arrayIncludes.indexOf,hiddenKeys$2=hiddenKeys$4,push=uncurryThis$4([].push),objectKeysInternal=function(e,t){var r,o=toIndexedObject$2(e),n=0,a=[];for(r in o)!hasOwn$3(hiddenKeys$2,r)&&hasOwn$3(o,r)&&push(a,r);for(;t.length>n;)!hasOwn$3(o,r=t[n++])||~indexOf$1(a,r)||push(a,r);return a},enumBugKeys$3=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],internalObjectKeys$1=objectKeysInternal,enumBugKeys$2=enumBugKeys$3,hiddenKeys$1=enumBugKeys$3.concat("length","prototype"),objectGetOwnPropertySymbols=(objectGetOwnPropertyNames.f=Object.getOwnPropertyNames||function(e){return internalObjectKeys$1(e,hiddenKeys$1)},{}),getBuiltIn$1=(objectGetOwnPropertySymbols.f=Object.getOwnPropertySymbols,getBuiltIn$4),uncurryThis$3=functionUncurryThis,getOwnPropertyNamesModule=objectGetOwnPropertyNames,getOwnPropertySymbolsModule$1=objectGetOwnPropertySymbols,anObject$4=anObject$6,concat$1=functionUncurryThis([].concat),ownKeys$1=getBuiltIn$1("Reflect","ownKeys")||function(e){var t=getOwnPropertyNamesModule.f(anObject$4(e)),r=getOwnPropertySymbolsModule$1.f;return r?concat$1(t,r(e)):t},hasOwn$2=hasOwnProperty_1,ownKeys=ownKeys$1,getOwnPropertyDescriptorModule=objectGetOwnPropertyDescriptor,definePropertyModule$1=objectDefineProperty,copyConstructorProperties$1=function(e,t,r){for(var o=ownKeys(t),n=definePropertyModule$1.f,a=getOwnPropertyDescriptorModule.f,i=0;i<o.length;i++){var s=o[i];hasOwn$2(e,s)||r&&hasOwn$2(r,s)||n(e,s,a(t,s))}},fails$6=fails$e,isCallable$5=isCallable$f,replacement=/#|\.prototype\./,isForced$1=function(e,t){e=data[normalize(e)];return e==POLYFILL||e!=NATIVE&&(isCallable$5(t)?fails$6(t):!!t)},normalize=isForced$1.normalize=function(e){return String(e).replace(replacement,".").toLowerCase()},data=isForced$1.data={},NATIVE=isForced$1.NATIVE="N",POLYFILL=isForced$1.POLYFILL="P",isForced_1=isForced$1,global$5=global$e,getOwnPropertyDescriptor=objectGetOwnPropertyDescriptor.f,createNonEnumerableProperty$2=createNonEnumerableProperty$4,defineBuiltIn$2=defineBuiltIn$3,defineGlobalProperty=defineGlobalProperty$3,copyConstructorProperties=copyConstructorProperties$1,isForced=isForced_1,_export=function(e,t){var r,o,n,a=e.target,i=e.global,s=e.stat,l=i?global$5:s?global$5[a]||defineGlobalProperty(a,{}):(global$5[a]||{}).prototype;if(l)for(r in t){if(o=t[r],n=e.dontCallGetSet?(n=getOwnPropertyDescriptor(l,r))&&n.value:l[r],!isForced(i?r:a+(s?".":"#")+r,e.forced)&&void 0!==n){if(typeof o==typeof n)continue;copyConstructorProperties(o,n)}(e.sham||n&&n.sham)&&createNonEnumerableProperty$2(o,"sham",!0),defineBuiltIn$2(l,r,o,e)}},internalObjectKeys=objectKeysInternal,enumBugKeys$1=enumBugKeys$3,objectKeys$2=Object.keys||function(e){return internalObjectKeys(e,enumBugKeys$1)},DESCRIPTORS$2=descriptors,uncurryThis$2=functionUncurryThis,call$2=functionCall,fails$5=fails$e,objectKeys$1=objectKeys$2,getOwnPropertySymbolsModule=objectGetOwnPropertySymbols,propertyIsEnumerableModule=objectPropertyIsEnumerable,toObject$1=toObject$3,IndexedObject=indexedObject,$assign=Object.assign,defineProperty$3=Object.defineProperty,concat=uncurryThis$2([].concat),objectAssign=!$assign||fails$5(function(){var e,t,r,o;return!(!DESCRIPTORS$2||1===$assign({b:1},$assign(defineProperty$3({},"a",{enumerable:!0,get:function(){defineProperty$3(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)||(t={},o="abcdefghijklmnopqrst",(e={})[r=Symbol()]=7,o.split("").forEach(function(e){t[e]=e}),7!=$assign({},e)[r])||objectKeys$1($assign({},t)).join("")!=o})?function(e,t){for(var r=toObject$1(e),o=arguments.length,n=1,a=getOwnPropertySymbolsModule.f,i=propertyIsEnumerableModule.f;n<o;)for(var s,l=IndexedObject(arguments[n++]),c=a?concat(objectKeys$1(l),a(l)):objectKeys$1(l),u=c.length,p=0;p<u;)s=c[p++],DESCRIPTORS$2&&!call$2(i,l,s)||(r[s]=l[s]);return r}:$assign,$$2=_export,assign=objectAssign;_export({target:"Object",stat:!0,arity:2,forced:Object.assign!==assign},{assign:assign});const SLICE_NAME="resourceCenterBrowse",namespace$1=(!function(e){e[e.packages=0]="packages",e[e.resources=1]="resources"}(ResourceCenterView=ResourceCenterView||{}),"uiState"),initialState={status:"idle",activeView:ResourceCenterView.packages},slice=createSlice({name:SLICE_NAME+"/"+namespace$1,initialState:initialState,reducers:{init(e){e.status="pending"},initDone(e){e.status="idle"},initFailed(e){e.status="failure"},setActiveView(e,t){e.activeView=t.payload}}}),actions$1=slice.actions;var uiState=slice.reducer;const namespace=SLICE_NAME,actions={[namespace$1]:actions$1},rootReducer=combineReducers({[namespace$1]:uiState}),selectUIStateStatus=e=>e[namespace].uiState.status,selectActiveView=e=>e[namespace].uiState.activeView,selectApiConfigs=createSelector([rootApiSelector,graphEndpointSelector,sessionTokenSelector],(e,t,r)=>({apiRoot:e,graphQLEndpoint:t,token:r}));function*initResourceCenter(){"pending"===(yield select(selectUIStateStatus))&&(yield put(actions.uiState.initDone()))}function*watchResourceCenterIngestionInit(){yield takeLatest$1(actions.uiState.init.type,initResourceCenter)}function*rootSaga(){yield all([watchResourceCenterIngestionInit()])}function getResourceCenterBrowseModule(){return{id:SLICE_NAME,reducerMap:{[SLICE_NAME]:rootReducer},sagas:[rootSaga],initialActions:[]}}var activeXDocument,IteratorPrototype$2,PrototypeOfArrayIteratorPrototype,arrayIterator,objectDefineProperties={},DESCRIPTORS$1=descriptors,V8_PROTOTYPE_DEFINE_BUG=v8PrototypeDefineBug,definePropertyModule=objectDefineProperty,anObject$3=anObject$6,toIndexedObject$1=toIndexedObject$5,objectKeys=objectKeys$2,getBuiltIn=(objectDefineProperties.f=DESCRIPTORS$1&&!V8_PROTOTYPE_DEFINE_BUG?Object.defineProperties:function(e,t){anObject$3(e);for(var r,o=toIndexedObject$1(t),n=objectKeys(t),a=n.length,i=0;i<a;)definePropertyModule.f(e,r=n[i++],o[r]);return e},getBuiltIn$4),html$1=getBuiltIn$4("document","documentElement"),anObject$2=anObject$6,definePropertiesModule=objectDefineProperties,enumBugKeys=enumBugKeys$3,hiddenKeys=hiddenKeys$4,html=html$1,documentCreateElement$1=documentCreateElement$2,sharedKey$1=sharedKey$3,GT=">",LT="<",PROTOTYPE="prototype",SCRIPT="script",IE_PROTO$1=sharedKey$3("IE_PROTO"),EmptyConstructor=function(){},scriptTag=function(e){return LT+SCRIPT+GT+e+LT+"/"+SCRIPT+GT},NullProtoObjectViaActiveX=function(e){e.write(scriptTag("")),e.close();var t=e.parentWindow.Object;return e=null,t},NullProtoObjectViaIFrame=function(){var e=documentCreateElement$1("iframe"),t="java"+SCRIPT+":";return e.style.display="none",html.appendChild(e),e.src=String(t),(t=e.contentWindow.document).open(),t.write(scriptTag("document.F=Object")),t.close(),t.F},NullProtoObject=function(){try{activeXDocument=new ActiveXObject("htmlfile")}catch(e){}NullProtoObject="undefined"==typeof document||document.domain&&activeXDocument?NullProtoObjectViaActiveX(activeXDocument):NullProtoObjectViaIFrame();for(var e=enumBugKeys.length;e--;)delete NullProtoObject[PROTOTYPE][enumBugKeys[e]];return NullProtoObject()},objectCreate=(hiddenKeys[IE_PROTO$1]=!0,Object.create||function(e,t){var r;return null!==e?(EmptyConstructor[PROTOTYPE]=anObject$2(e),r=new EmptyConstructor,EmptyConstructor[PROTOTYPE]=null,r[IE_PROTO$1]=e):r=NullProtoObject(),void 0===t?r:definePropertiesModule.f(r,t)}),wellKnownSymbol$6=wellKnownSymbol$8,create$2=objectCreate,defineProperty$2=objectDefineProperty.f,UNSCOPABLES=wellKnownSymbol$6("unscopables"),ArrayPrototype=Array.prototype,addToUnscopables$1=(null==ArrayPrototype[UNSCOPABLES]&&defineProperty$2(ArrayPrototype,UNSCOPABLES,{configurable:!0,value:create$2(null)}),function(e){ArrayPrototype[UNSCOPABLES][e]=!0}),iterators={},fails$4=fails$e,correctPrototypeGetter=!fails$e(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),hasOwn$1=hasOwnProperty_1,isCallable$4=isCallable$f,toObject=toObject$3,sharedKey=sharedKey$3,CORRECT_PROTOTYPE_GETTER=correctPrototypeGetter,IE_PROTO=sharedKey$3("IE_PROTO"),$Object$1=Object,ObjectPrototype=$Object$1.prototype,objectGetPrototypeOf=CORRECT_PROTOTYPE_GETTER?$Object$1.getPrototypeOf:function(e){var t,e=toObject(e);return hasOwn$1(e,IE_PROTO)?e[IE_PROTO]:(t=e.constructor,isCallable$4(t)&&e instanceof t?t.prototype:e instanceof $Object$1?ObjectPrototype:null)},fails$3=fails$e,isCallable$3=isCallable$f,getPrototypeOf$1=objectGetPrototypeOf,defineBuiltIn$1=defineBuiltIn$3,wellKnownSymbol$5=wellKnownSymbol$8,ITERATOR$2=wellKnownSymbol$8("iterator"),BUGGY_SAFARI_ITERATORS$1=!1,NEW_ITERATOR_PROTOTYPE=([].keys&&("next"in(arrayIterator=[].keys())?(PrototypeOfArrayIteratorPrototype=getPrototypeOf$1(getPrototypeOf$1(arrayIterator)))!==Object.prototype&&(IteratorPrototype$2=PrototypeOfArrayIteratorPrototype):BUGGY_SAFARI_ITERATORS$1=!0),null==IteratorPrototype$2||fails$3(function(){var e={};return IteratorPrototype$2[ITERATOR$2].call(e)!==e})),iteratorsCore=(isCallable$3((IteratorPrototype$2=NEW_ITERATOR_PROTOTYPE?{}:IteratorPrototype$2)[ITERATOR$2])||defineBuiltIn$1(IteratorPrototype$2,ITERATOR$2,function(){return this}),{IteratorPrototype:IteratorPrototype$2,BUGGY_SAFARI_ITERATORS:BUGGY_SAFARI_ITERATORS$1}),defineProperty$1=objectDefineProperty.f,hasOwn=hasOwnProperty_1,wellKnownSymbol$4=wellKnownSymbol$8,TO_STRING_TAG$3=wellKnownSymbol$8("toStringTag"),setToStringTag$2=function(e,t,r){(e=e&&!r?e.prototype:e)&&!hasOwn(e,TO_STRING_TAG$3)&&defineProperty$1(e,TO_STRING_TAG$3,{configurable:!0,value:t})},IteratorPrototype$1=iteratorsCore.IteratorPrototype,create$1=objectCreate,createPropertyDescriptor=createPropertyDescriptor$3,setToStringTag$1=setToStringTag$2,Iterators$2=iterators,returnThis$1=function(){return this},createIteratorConstructor$1=function(e,t,r,o){t+=" Iterator";return e.prototype=create$1(IteratorPrototype$1,{next:createPropertyDescriptor(+!o,r)}),setToStringTag$1(e,t,!1),Iterators$2[t]=returnThis$1,e},isCallable$2=isCallable$f,$String$1=String,$TypeError=TypeError,aPossiblePrototype$1=function(e){if("object"==typeof e||isCallable$2(e))return e;throw $TypeError("Can't set "+$String$1(e)+" as a prototype")},uncurryThis$1=functionUncurryThis,anObject$1=anObject$6,aPossiblePrototype=aPossiblePrototype$1,objectSetPrototypeOf=Object.setPrototypeOf||("__proto__"in{}?function(){var r,o=!1,e={};try{(r=uncurryThis$1(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(e,[]),o=e instanceof Array}catch(e){}return function(e,t){return anObject$1(e),aPossiblePrototype(t),o?r(e,t):e.__proto__=t,e}}():void 0),$$1=_export,call$1=functionCall,FunctionName=functionName,isCallable$1=isCallable$f,createIteratorConstructor=createIteratorConstructor$1,getPrototypeOf=objectGetPrototypeOf,setPrototypeOf=objectSetPrototypeOf,setToStringTag=setToStringTag$2,createNonEnumerableProperty$1=createNonEnumerableProperty$4,defineBuiltIn=defineBuiltIn$3,wellKnownSymbol$3=wellKnownSymbol$8,Iterators$1=iterators,IteratorsCore=iteratorsCore,PROPER_FUNCTION_NAME=FunctionName.PROPER,CONFIGURABLE_FUNCTION_NAME=FunctionName.CONFIGURABLE,IteratorPrototype=IteratorsCore.IteratorPrototype,BUGGY_SAFARI_ITERATORS=IteratorsCore.BUGGY_SAFARI_ITERATORS,ITERATOR$1=wellKnownSymbol$3("iterator"),KEYS="keys",VALUES="values",ENTRIES="entries",returnThis=function(){return this},defineIterator$1=function(e,t,r,o,n,a,i){createIteratorConstructor(r,t,o);function s(e){if(e===n&&d)return d;if(!BUGGY_SAFARI_ITERATORS&&e in p)return p[e];switch(e){case KEYS:case VALUES:case ENTRIES:return function(){return new r(this,e)}}return function(){return new r(this)}}var l,c,o=t+" Iterator",u=!1,p=e.prototype,$=p[ITERATOR$1]||p["@@iterator"]||n&&p[n],d=!BUGGY_SAFARI_ITERATORS&&$||s(n),b="Array"==t&&p.entries||$;if(b&&(b=getPrototypeOf(b.call(new e)))!==Object.prototype&&b.next&&(getPrototypeOf(b)!==IteratorPrototype&&(setPrototypeOf?setPrototypeOf(b,IteratorPrototype):isCallable$1(b[ITERATOR$1])||defineBuiltIn(b,ITERATOR$1,returnThis)),setToStringTag(b,o,!0)),PROPER_FUNCTION_NAME&&n==VALUES&&$&&$.name!==VALUES&&(CONFIGURABLE_FUNCTION_NAME?createNonEnumerableProperty$1(p,"name",VALUES):(u=!0,d=function(){return call$1($,this)})),n)if(l={values:s(VALUES),keys:a?d:s(KEYS),entries:s(ENTRIES)},i)for(c in l)!BUGGY_SAFARI_ITERATORS&&!u&&c in p||defineBuiltIn(p,c,l[c]);else $$1({target:t,proto:!0,forced:BUGGY_SAFARI_ITERATORS||u},l);return p[ITERATOR$1]!==d&&defineBuiltIn(p,ITERATOR$1,d,{name:n}),Iterators$1[t]=d,l},toIndexedObject=toIndexedObject$5,addToUnscopables=addToUnscopables$1,Iterators=iterators,InternalStateModule=internalState,defineProperty=objectDefineProperty.f,defineIterator=defineIterator$1,DESCRIPTORS=descriptors,ARRAY_ITERATOR="Array Iterator",setInternalState=InternalStateModule.set,getInternalState$1=InternalStateModule.getterFor(ARRAY_ITERATOR),es_array_iterator=defineIterator(Array,"Array",function(e,t){setInternalState(this,{type:ARRAY_ITERATOR,target:toIndexedObject(e),index:0,kind:t})},function(){var e=getInternalState$1(this),t=e.target,r=e.kind,o=e.index++;return!t||o>=t.length?{value:e.target=void 0,done:!0}:"keys"==r?{value:o,done:!1}:"values"==r?{value:t[o],done:!1}:{value:[o,t[o]],done:!1}},"values"),values=Iterators.Arguments=Iterators.Array;if(addToUnscopables("keys"),addToUnscopables("values"),addToUnscopables("entries"),DESCRIPTORS&&"values"!==values.name)try{defineProperty(values,"name",{value:"values"})}catch(e){}var COLLECTION_NAME,domIterables={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},documentCreateElement=documentCreateElement$2,classList=documentCreateElement$2("span").classList,DOMTokenListPrototype$1=classList&&classList.constructor&&classList.constructor.prototype,domTokenListPrototype=DOMTokenListPrototype$1===Object.prototype?void 0:DOMTokenListPrototype$1,global$4=global$e,DOMIterables=domIterables,DOMTokenListPrototype=domTokenListPrototype,ArrayIteratorMethods=es_array_iterator,createNonEnumerableProperty=createNonEnumerableProperty$4,wellKnownSymbol$2=wellKnownSymbol$8,ITERATOR=wellKnownSymbol$2("iterator"),TO_STRING_TAG$2=wellKnownSymbol$2("toStringTag"),ArrayValues=ArrayIteratorMethods.values,handlePrototype=function(t,e){if(t){if(t[ITERATOR]!==ArrayValues)try{createNonEnumerableProperty(t,ITERATOR,ArrayValues)}catch(e){t[ITERATOR]=ArrayValues}if(t[TO_STRING_TAG$2]||createNonEnumerableProperty(t,TO_STRING_TAG$2,e),DOMIterables[e])for(var r in ArrayIteratorMethods)if(t[r]!==ArrayIteratorMethods[r])try{createNonEnumerableProperty(t,r,ArrayIteratorMethods[r])}catch(e){t[r]=ArrayIteratorMethods[r]}}};for(COLLECTION_NAME in DOMIterables)handlePrototype(global$4[COLLECTION_NAME]&&global$4[COLLECTION_NAME].prototype,COLLECTION_NAME);handlePrototype(DOMTokenListPrototype,"DOMTokenList");var wellKnownSymbol$1=wellKnownSymbol$8,TO_STRING_TAG$1=wellKnownSymbol$8("toStringTag"),test={},toStringTagSupport=(test[TO_STRING_TAG$1]="z","[object z]"===String(test)),TO_STRING_TAG_SUPPORT=toStringTagSupport,isCallable=isCallable$f,classofRaw=classofRaw$1,wellKnownSymbol=wellKnownSymbol$8,TO_STRING_TAG=wellKnownSymbol$8("toStringTag"),$Object=Object,CORRECT_ARGUMENTS="Arguments"==classofRaw(function(){return arguments}()),tryGet=function(e,t){try{return e[t]}catch(e){}},classof$1=TO_STRING_TAG_SUPPORT?classofRaw:function(e){var t;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(t=tryGet(e=$Object(e),TO_STRING_TAG))?t:CORRECT_ARGUMENTS?classofRaw(e):"Object"==(t=classofRaw(e))&&isCallable(e.callee)?"Arguments":t},classof=classof$1,$String=String,toString$1=function(e){if("Symbol"===classof(e))throw TypeError("Cannot convert a Symbol value to a string");return $String(e)},anObject=anObject$6,regexpFlags$1=function(){var e=anObject(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t},fails$2=fails$e,global$3=global$e,$RegExp$2=global$e.RegExp,UNSUPPORTED_Y$1=fails$2(function(){var e=$RegExp$2("a","y");return e.lastIndex=2,null!=e.exec("abcd")}),MISSED_STICKY=UNSUPPORTED_Y$1||fails$2(function(){return!$RegExp$2("a","y").sticky}),BROKEN_CARET=UNSUPPORTED_Y$1||fails$2(function(){var e=$RegExp$2("^r","gy");return e.lastIndex=2,null!=e.exec("str")}),regexpStickyHelpers={BROKEN_CARET:BROKEN_CARET,MISSED_STICKY:MISSED_STICKY,UNSUPPORTED_Y:UNSUPPORTED_Y$1},fails$1=fails$e,global$2=global$e,$RegExp$1=global$e.RegExp,regexpUnsupportedDotAll=fails$1(function(){var e=$RegExp$1(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)}),fails=fails$e,global$1=global$e,$RegExp=global$e.RegExp,regexpUnsupportedNcg=fails(function(){var e=$RegExp("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}),call=functionCall,uncurryThis=functionUncurryThis,toString=toString$1,regexpFlags=regexpFlags$1,stickyHelpers=regexpStickyHelpers,shared=shared$4.exports,create=objectCreate,getInternalState=internalState.get,UNSUPPORTED_DOT_ALL=regexpUnsupportedDotAll,UNSUPPORTED_NCG=regexpUnsupportedNcg,nativeReplace=shared("native-string-replace",String.prototype.replace),nativeExec=RegExp.prototype.exec,patchedExec=nativeExec,charAt=uncurryThis("".charAt),indexOf=uncurryThis("".indexOf),replace=uncurryThis("".replace),stringSlice=uncurryThis("".slice),UPDATES_LAST_INDEX_WRONG=function(){var e=/a/,t=/b*/g;return call(nativeExec,e,"a"),call(nativeExec,t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),UNSUPPORTED_Y=stickyHelpers.BROKEN_CARET,NPCG_INCLUDED=void 0!==/()??/.exec("")[1],PATCH=UPDATES_LAST_INDEX_WRONG||NPCG_INCLUDED||UNSUPPORTED_Y||UNSUPPORTED_DOT_ALL||UNSUPPORTED_NCG,regexpExec=patchedExec=PATCH?function(e){var t,r,o,n,a,i,s=this,l=getInternalState(s),e=toString(e),c=l.raw;if(c)return c.lastIndex=s.lastIndex,p=call(patchedExec,c,e),s.lastIndex=c.lastIndex,p;var u=l.groups,c=UNSUPPORTED_Y&&s.sticky,p=call(regexpFlags,s),l=s.source,$=0,d=e;if(c&&(p=replace(p,"y",""),-1===indexOf(p,"g")&&(p+="g"),d=stringSlice(e,s.lastIndex),0<s.lastIndex&&(!s.multiline||s.multiline&&"\n"!==charAt(e,s.lastIndex-1))&&(l="(?: "+l+")",d=" "+d,$++),t=new RegExp("^(?:"+l+")",p)),NPCG_INCLUDED&&(t=new RegExp("^"+l+"$(?!\\s)",p)),UPDATES_LAST_INDEX_WRONG&&(r=s.lastIndex),o=call(nativeExec,c?t:s,d),c?o?(o.input=stringSlice(o.input,$),o[0]=stringSlice(o[0],$),o.index=s.lastIndex,s.lastIndex+=o[0].length):s.lastIndex=0:UPDATES_LAST_INDEX_WRONG&&o&&(s.lastIndex=s.global?o.index+o[0].length:r),NPCG_INCLUDED&&o&&1<o.length&&call(nativeReplace,o[0],t,function(){for(n=1;n<arguments.length-2;n++)void 0===arguments[n]&&(o[n]=void 0)}),o&&u)for(o.groups=a=create(null),n=0;n<u.length;n++)a[(i=u[n])[0]]=o[i[1]];return o}:patchedExec,$=_export,exec=patchedExec;_export({target:"RegExp",proto:!0,forced:/./.exec!==exec},{exec:exec});const useStyles$2=makeStyles()((e,{height:t})=>({header:{alignItems:"center",borderBottom:"0.5px solid "+e.palette.divider,display:"flex",height:t,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"},searchContainer:{alignItems:"center",border:"1px solid transparent",borderRadius:4,display:"flex",flexGrow:1,height:44,marginLeft:"48px"},buttonContainer:{alignItems:"center",border:"1px solid transparent",borderRadius:4,display:"flex",flexGrow:1,width:"200px",marginLeft:"48px"},verticalDivider:{borderRight:".5px solid "+e.palette.divider,height:"70%",margin:"0 "+e.spacing(1)}})),Header=({hidePanel:e,isNavExpanded:t,onLeftNavigationToggle:r,onFullScreenToggle:o,isFullScreen:n,height:a})=>{a=useStyles$2({height:a}).classes;const i=useDispatch();var s=useSelector(betaFeaturesSelector),l=useSelector(selectUserCanCreatePackage),c=window&&window.location.href;return jsxRuntime.exports.jsxs("header",Object.assign({className:a.header,"data-test":"rc-header"},{children:[jsxRuntime.exports.jsx(Tooltip,Object.assign({title:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-resource-center-browse.navigation.menu",defaultMessage:"Toggle Navigation Menu",description:"Toggle Navigation Menu"})},{children:jsxRuntime.exports.jsx(IconButton,Object.assign({sx:{mr:1},onClick:r,"aria-expanded":t,"aria-labelledby":"rc-header-toggle-nav","data-test":"rc-header-toggle-nav",size:"large"},{children:jsxRuntime.exports.jsx(Hamburger,{})}))})),jsxRuntime.exports.jsx(Typography,Object.assign({variant:"h1",className:a.title,"data-test":"rc-title"},{children:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-resource-center-browse.header.title",defaultMessage:"Resource Center",description:"Panel header of the resource center"})})),jsxRuntime.exports.jsxs("div",Object.assign({className:a.headerActionContainer},{children:[jsxRuntime.exports.jsx(Tooltip,Object.assign({title:s?"":jsxRuntime.exports.jsx(FormattedMessage,{id:"os-resource-center-browse.navigation.menu.package-manager-tooltip",defaultMessage:"This feature is coming soon",description:"Coming soon tooltip"})},{children:jsxRuntime.exports.jsx("span",{children:jsxRuntime.exports.jsx(Button,Object.assign({sx:{marginRight:"6px"},"data-testid":"os-resource-center-browse-new-package-button",variant:"contained",color:"primary",disabled:!l||/(https?:\/\/)?(www\.)?aiware\.com/.test(c),onClick:()=>{var e={name:"PACKAGE_MANAGER_PANEL",config:{isFullScreen:n,isEditMode:!1}},t={type:"APP_BAR_PANEL_TEMPLATE",marginTop:n?0:55,marginStart:n?0:80,size:"xlarge",zIndex:n?1011:1e3,parentPanelId:"RESOURCE_CENTER",dimmed:0,dimmedStatus:"dimParent",borderBottom:!0};i(actions$1$1.clearSelectedPackage()),i(mountPanel({panelId:"PACKAGE_MANAGER_PANEL",microFrontend:e,panelConfig:t}))}},{children:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-resource-center-browse.new.package",defaultMessage:"New Package",description:"New package button text"})}))})})),jsxRuntime.exports.jsx("div",{className:a.verticalDivider}),jsxRuntime.exports.jsx(Tooltip,Object.assign({title:n?jsxRuntime.exports.jsx(FormattedMessage,{id:"os-resource-center-browse.close.full.screen",defaultMessage:"Exit Fullscreen",description:"Exit Fullscreen"}):jsxRuntime.exports.jsx(FormattedMessage,{id:"os-resource-center-browse.open.full.screen",defaultMessage:"Enter Fullscreen",description:"Enter Fullscreen"})},{children:jsxRuntime.exports.jsx(IconButton,Object.assign({onClick:o,"aria-labelledby":"rc-toggle-fullscreen","data-test":"rc-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-resource-center-browse.close.panel",defaultMessage:"Close Panel",description:"Close Panel"})},{children:jsxRuntime.exports.jsx(IconButton,Object.assign({onClick:e,"aria-labelledby":"rc-close-panel","data-test-id":"rc-close-panel",size:"large"},{children:jsxRuntime.exports.jsx(Hide,{})}))}))]}))]}))};function __rest(e,t){var r={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r}const tabWidth=197,useStyles$1=makeStyles()((e,{height:t},r)=>({root:{display:"flex",flexGrow:1,height:t,position:"relative",overflow:"hidden"},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","svg,path":{fill:e.palette.action.disabled}},"&:disabled":{cursor:"not-allowed",pointerEvents:"auto"}},tabsExpanded:{width:tabWidth,minWidth:tabWidth,paddingRight:e.spacing(2),paddingLeft:e.spacing(2),["& "+r.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,position:"relative",right:0,width:"100px"},tabExpandedSelected:{background:"#F2F5F9",color:e.palette.primary.main,"& svg":{marginBottom:"0 !important",marginRight:e.spacing(2),color:e.palette.primary.main},"svg,path":{fill: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:i,isNavExpanded:s,isFullScreen:t,height:e})=>{const r=useDispatch();useSelector(betaFeaturesSelector);var o=[{id:ResourceCenterView.packages,label:i.formatMessage({id:"os-resource-center-browse.packages.view",defaultMessage:[{type:0,value:"Packages"}]}),testLabel:"rc-packages-view",icon:jsxRuntime.exports.jsx(Packages,{}),content:e=>jsxRuntime.exports.jsx(PackagesTab,{isPanelFullScreen:e})},{id:ResourceCenterView.resources,label:i.formatMessage({id:"os-resource-center-browse.resources.view",defaultMessage:[{type:0,value:"Resources"}]}),testLabel:"re-resources-view",icon:jsxRuntime.exports.jsx(Resources,{}),content:e=>jsxRuntime.exports.jsx(ResourcesTab,{isPanelFullScreen:e}),disabled:!1}];const l=useStyles$1({height:e})["classes"],n=useSelector(selectActiveView);var[e,,]=react.exports.useState(o);return jsxRuntime.exports.jsx(AIWareThemeProvider,{children:jsxRuntime.exports.jsxs("div",Object.assign({className:l.root},{children:[jsxRuntime.exports.jsx(Tabs,Object.assign({id:"resourceCenterViewTabs",orientation:"vertical",value:n,onChange:(e,t)=>{r(actions$1.setActiveView(t))},className:classNames(l.tabs,{[l.tabsExpanded]:s}),classes:{flexContainer:l.tabsContainer,indicator:l.tabIndicator},"aria-label":"processing center tabs","data-test":"rc-nav-tabs-container"},{children:e.map((e,t)=>{return react.exports.createElement(Tab,Object.assign({wrapped:!0},a11yProps(e.id),{label:(e.disabled,s,a=e.label,jsxRuntime.exports.jsx("span",{children:s?a:""})),icon:(a=!!e.disabled,r=s,o=e.label,n=e.icon,r?n:jsxRuntime.exports.jsx(Tooltip,Object.assign({placement:"left",title:a?o+" "+i.formatMessage({id:"resource-center.nav-list.coming-soon-icon",defaultMessage:[{type:0,value:"Coming soon"}]}):o},{children:jsxRuntime.exports.jsx("span",Object.assign({className:r?"":l.condensedNavIcon},{children:n}))}))),classes:{root:l.tabRoot,wrapped:s?l.tabExpandedWrapper:l.tabWrapper,selected:s?l.tabExpandedSelected:l.tabSelected},disabled:e.disabled,"data-test":"rc-nav-tab-"+e.testLabel,key:"rc-nav-tab-"+t}));var r,o,n,a})})),e.map(e=>jsxRuntime.exports.jsx(TabPanel,Object.assign({value:n,index:e.id,className:l.contentPanel},{children:e.content(t)}),e.id))]}))})};function TabPanel(e){var{children:t,value:r,index:o}=e,e=__rest(e,["children","value","index"]);return jsxRuntime.exports.jsx("div",Object.assign({role:"tabpanel",hidden:r!==o,id:"resource-center-tabpanel-"+o,"aria-labelledby":"resource-center-tab-"+o},e,{children:r===o&&t}))}function a11yProps(e){return{id:"resource-center-tab-"+e,"aria-controls":"resource-center-tabpanel-"+e}}var MainTabPanel$1=injectIntl(MainTabPanel);const Container=({fullScreen:e,classes:t,dimmed:r,children:o})=>e?jsxRuntime.exports.jsx(Portal,{children:jsxRuntime.exports.jsxs("div",Object.assign({role:"presentation","data-test":"rc-widget",className:classNames(t.panel,t.fullScreen)},{children:[r&&jsxRuntime.exports.jsx("div",{className:t.overlay}),o]}))}):jsxRuntime.exports.jsx("div",Object.assign({role:"presentation","data-test":"rc-widget",className:classNames(t.root,t.panel)},{children:o})),appBarHeight=55,headerHeight=64,borderBottom=5,useStyles=makeStyles()(e=>({root:{width:1280,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[t,r]=react.exports.useState(!0),[o,n]=react.exports.useState(!1);var a=useStyles()["classes"],i=(useSelector(panelsSelector)||[]).find(e=>"RESOURCE_CENTER"===e.panelId)||{panelConfig:{dimmed:0}},i=0<(null==(i=null===i?void 0:i.panelConfig)?void 0:i.dimmed),s=`calc(100vh - ${o?25:appBarHeight+borderBottom}px - ${headerHeight}px)`;return jsxRuntime.exports.jsxs(Container,Object.assign({dimmed:i,fullScreen:o,classes:a},{children:[jsxRuntime.exports.jsx(Header,{height:headerHeight,hidePanel:e,isNavExpanded:t,onLeftNavigationToggle:()=>{r(!t)},isFullScreen:o,onFullScreenToggle:()=>{n(!o)}}),jsxRuntime.exports.jsx(MainTabPanel$1,{height:s,isNavExpanded:t,isFullScreen:o})]}))},Content=e=>{var{apiRoot:t,graphQLEndpoint:r,token:o}=useSelector(selectApiConfigs);return t&&r&&o?jsxRuntime.exports.jsx(MainLayout,Object.assign({},e)):null},ResourceCenterBrowse=e=>jsxRuntime.exports.jsx(AIWareThemeProvider,{children:jsxRuntime.exports.jsx(DynamicModuleLoader,Object.assign({modules:[getResourceCenterBrowseModule(),getResourceCenterPackagesModule(),getResourceCenterResourcesModule(),getAdminCenterGroupsModule(),getAdminCenterPermissionsModule(),getAdminCenterApplicationsModule()]},{children:jsxRuntime.exports.jsx(AIWareIntlProvider,{children:jsxRuntime.exports.jsx(Content,Object.assign({},e))})}))});export{ResourceCenterBrowse};
Binary file