@clickview/lite 0.23.0 → 0.23.1

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 (186) hide show
  1. package/.eslintrc.json +2 -2
  2. package/dist/bundles.json +1 -1
  3. package/dist/languages/en.json +1 -1
  4. package/dist/scripts/{1200-a6f398c740-lite.chunk.js → 1200-24f7d81a3e-lite.chunk.js} +1 -1
  5. package/dist/scripts/1297-2446383ab4-lite.chunk.js +1 -0
  6. package/dist/scripts/{1592-6aa8424c29-lite.chunk.js → 1592-6e4483afd7-lite.chunk.js} +1 -1
  7. package/dist/scripts/{2097-66aad0b2ec-lite.chunk.js → 2097-d9696e2dbc-lite.chunk.js} +1 -1
  8. package/dist/scripts/3533-4b14e63562-lite.chunk.js +1 -0
  9. package/dist/scripts/{3645-51609c7c7e-lite.chunk.js → 3645-8d6f3084bc-lite.chunk.js} +1 -1
  10. package/dist/scripts/{3667-00995d20ff-lite.chunk.js → 3667-b4bf177ef8-lite.chunk.js} +1 -1
  11. package/dist/scripts/{4617-f89b729e4f-lite.chunk.js → 4617-24e7ac8cca-lite.chunk.js} +1 -1
  12. package/dist/scripts/{5622-df70c2e4d8-lite.chunk.js → 5622-548a92a2e4-lite.chunk.js} +1 -1
  13. package/dist/scripts/{5985-8833dee463-lite.chunk.js → 5985-c53f90efb8-lite.chunk.js} +1 -1
  14. package/dist/scripts/{6154-81196d6311-lite.chunk.js → 6154-9f94c29999-lite.chunk.js} +1 -1
  15. package/dist/scripts/6285-5bd408b61b-lite.chunk.js +1 -0
  16. package/dist/scripts/{6736-cffe5aabea-lite.chunk.js → 6736-326f546fb8-lite.chunk.js} +1 -1
  17. package/dist/scripts/{6801-fc80a100b8-lite.chunk.js → 6801-ed1b790c00-lite.chunk.js} +1 -1
  18. package/dist/scripts/{7145-b0bbefdb73-lite.chunk.js → 7145-481ec54a03-lite.chunk.js} +1 -1
  19. package/dist/scripts/7318-2fb789e6d5-lite.chunk.js +2 -0
  20. package/dist/scripts/7338-1a927a706e-lite.chunk.js +1 -0
  21. package/dist/scripts/{7950-44f07724fd-lite.chunk.js → 7950-2985ea7f90-lite.chunk.js} +1 -1
  22. package/dist/scripts/{8323-431a465fd5-lite.chunk.js → 8323-1c054e5eea-lite.chunk.js} +1 -1
  23. package/dist/scripts/{8681-0629128300-lite.chunk.js → 8681-0ce42b0460-lite.chunk.js} +1 -1
  24. package/dist/scripts/{9428-37d616a4ba-lite.chunk.js → 9428-63f031caf2-lite.chunk.js} +1 -1
  25. package/dist/scripts/{9478-0278d1f492-lite.chunk.js → 9478-e2acbc3999-lite.chunk.js} +1 -1
  26. package/dist/scripts/bundle-8971fd34fe.min.js +2 -0
  27. package/jest.config.js +11 -11
  28. package/package.json +62 -62
  29. package/typings/libs/CVEvents.d.ts +12 -12
  30. package/typings/libs/CVLanguages.d.ts +24 -24
  31. package/typings/libs/backbone.validation.d.ts +99 -99
  32. package/typings/libs/cloneDeep.d.ts +4 -4
  33. package/typings/libs/cookiesjs.d.ts +25 -25
  34. package/typings/libs/draft-convert.d.ts +3 -3
  35. package/typings/libs/google-api.d.ts +93 -93
  36. package/typings/libs/intersection-observer.d.ts +82 -82
  37. package/typings/libs/microsoft-teams.d.ts +2 -2
  38. package/typings/libs/react-table-config.d.ts +138 -138
  39. package/typings/libs/trackjs.d.ts +2 -2
  40. package/typings/libs/videojs-contrib-quality-levels.d.ts +28 -28
  41. package/typings/utils/imports.d.ts +13 -13
  42. package/dist/scripts/1655-41cb9e238b-lite.chunk.js +0 -1
  43. package/dist/scripts/3533-2b73ee343c-lite.chunk.js +0 -1
  44. package/dist/scripts/6285-5d8cec58d1-lite.chunk.js +0 -1
  45. package/dist/scripts/7318-c6ae302a32-lite.chunk.js +0 -2
  46. package/dist/scripts/7939-25697fe490-lite.chunk.js +0 -1
  47. package/dist/scripts/bundle-59e84720a3.min.js +0 -2
  48. /package/dist/css/{1655-lite-e7bdc675ac.chunk.css → 1297-lite-e7bdc675ac.chunk.css} +0 -0
  49. /package/dist/scripts/{1090-0a7a3a2c5a-lite.chunk.js → 1090-5e1af08009-lite.chunk.js} +0 -0
  50. /package/dist/scripts/{1200-a6f398c740-lite.chunk.js.LICENSE.txt → 1200-24f7d81a3e-lite.chunk.js.LICENSE.txt} +0 -0
  51. /package/dist/scripts/{1301-2785e09044-lite.chunk.js → 1301-a8a0ef7e46-lite.chunk.js} +0 -0
  52. /package/dist/scripts/{1351-f49a90a35a-lite.chunk.js → 1351-ddffd8b140-lite.chunk.js} +0 -0
  53. /package/dist/scripts/{1453-b6d1868ba7-lite.chunk.js → 1453-83808dbae2-lite.chunk.js} +0 -0
  54. /package/dist/scripts/{147-4fd2693b57-lite.chunk.js → 147-7dfb549bc2-lite.chunk.js} +0 -0
  55. /package/dist/scripts/{1518-ba27eec83f-lite.chunk.js → 1518-51be69a504-lite.chunk.js} +0 -0
  56. /package/dist/scripts/{1592-6aa8424c29-lite.chunk.js.LICENSE.txt → 1592-6e4483afd7-lite.chunk.js.LICENSE.txt} +0 -0
  57. /package/dist/scripts/{1697-cb3fb1e095-lite.chunk.js → 1697-1640084ea4-lite.chunk.js} +0 -0
  58. /package/dist/scripts/{178-85c0fba614-lite.chunk.js → 178-a00dee1d69-lite.chunk.js} +0 -0
  59. /package/dist/scripts/{1794-f6b31da313-lite.chunk.js → 1794-e26231e944-lite.chunk.js} +0 -0
  60. /package/dist/scripts/{1891-fd86238480-lite.chunk.js → 1891-8c393c4c2e-lite.chunk.js} +0 -0
  61. /package/dist/scripts/{1924-ac80bc2a14-lite.chunk.js → 1924-e040d7f655-lite.chunk.js} +0 -0
  62. /package/dist/scripts/{2097-66aad0b2ec-lite.chunk.js.LICENSE.txt → 2097-d9696e2dbc-lite.chunk.js.LICENSE.txt} +0 -0
  63. /package/dist/scripts/{2215-a2430deab9-lite.chunk.js → 2215-50744e3c3e-lite.chunk.js} +0 -0
  64. /package/dist/scripts/{2229-4452e6e7f0-lite.chunk.js → 2229-7227ffd514-lite.chunk.js} +0 -0
  65. /package/dist/scripts/{227-4629d0203c-lite.chunk.js → 227-74577cc104-lite.chunk.js} +0 -0
  66. /package/dist/scripts/{2279-d1ae71998d-lite.chunk.js → 2279-9a42c0de7a-lite.chunk.js} +0 -0
  67. /package/dist/scripts/{2303-314413a780-lite.chunk.js → 2303-20f9f80575-lite.chunk.js} +0 -0
  68. /package/dist/scripts/{2452-4a1c9e0123-lite.chunk.js → 2452-f1ccaff72b-lite.chunk.js} +0 -0
  69. /package/dist/scripts/{2506-7e20af9aed-lite.chunk.js → 2506-c7352e084d-lite.chunk.js} +0 -0
  70. /package/dist/scripts/{2608-c3012904f1-lite.chunk.js → 2608-2585e171c0-lite.chunk.js} +0 -0
  71. /package/dist/scripts/{2883-6a10e0042f-lite.chunk.js → 2883-2fdbc7041f-lite.chunk.js} +0 -0
  72. /package/dist/scripts/{2966-0c0bfe06c3-lite.chunk.js → 2966-388683bcd6-lite.chunk.js} +0 -0
  73. /package/dist/scripts/{3007-ff224c6b4a-lite.chunk.js → 3007-67c669974c-lite.chunk.js} +0 -0
  74. /package/dist/scripts/{3020-2ba9f82a47-lite.chunk.js → 3020-32e560bee9-lite.chunk.js} +0 -0
  75. /package/dist/scripts/{3108-4e2349fae5-lite.chunk.js → 3108-eab647eb42-lite.chunk.js} +0 -0
  76. /package/dist/scripts/{3171-6da0210542-lite.chunk.js → 3171-6119cb933c-lite.chunk.js} +0 -0
  77. /package/dist/scripts/{3216-b268d43ec0-lite.chunk.js → 3216-05a8119d7a-lite.chunk.js} +0 -0
  78. /package/dist/scripts/{3285-2b1e62d6c8-lite.chunk.js → 3285-d24a2cada1-lite.chunk.js} +0 -0
  79. /package/dist/scripts/{3468-7a9a0ce9a7-lite.chunk.js → 3468-2322c61a84-lite.chunk.js} +0 -0
  80. /package/dist/scripts/{3594-e3a0861647-lite.chunk.js → 3594-67c9893c3e-lite.chunk.js} +0 -0
  81. /package/dist/scripts/{3645-51609c7c7e-lite.chunk.js.LICENSE.txt → 3645-8d6f3084bc-lite.chunk.js.LICENSE.txt} +0 -0
  82. /package/dist/scripts/{3667-00995d20ff-lite.chunk.js.LICENSE.txt → 3667-b4bf177ef8-lite.chunk.js.LICENSE.txt} +0 -0
  83. /package/dist/scripts/{3754-1b1ac87300-lite.chunk.js → 3754-fe8190d2ad-lite.chunk.js} +0 -0
  84. /package/dist/scripts/{3787-1b0ff92798-lite.chunk.js → 3787-2d2a4e8d68-lite.chunk.js} +0 -0
  85. /package/dist/scripts/{389-f594d7dc39-lite.chunk.js → 389-7d32d43138-lite.chunk.js} +0 -0
  86. /package/dist/scripts/{3952-8aa84954fa-lite.chunk.js → 3952-a4f58ad799-lite.chunk.js} +0 -0
  87. /package/dist/scripts/{4029-e2e526c35b-lite.chunk.js → 4029-55a6143f0d-lite.chunk.js} +0 -0
  88. /package/dist/scripts/{4113-a5d0b16a3a-lite.chunk.js → 4113-209f45f6d7-lite.chunk.js} +0 -0
  89. /package/dist/scripts/{4182-894f7f6fba-lite.chunk.js → 4182-44f52b675e-lite.chunk.js} +0 -0
  90. /package/dist/scripts/{4290-a89e2202aa-lite.chunk.js → 4290-9842ed3aba-lite.chunk.js} +0 -0
  91. /package/dist/scripts/{4343-62c6b29bfc-lite.chunk.js → 4343-9f273ff584-lite.chunk.js} +0 -0
  92. /package/dist/scripts/{4380-7578e72c04-lite.chunk.js → 4380-5fa3db4048-lite.chunk.js} +0 -0
  93. /package/dist/scripts/{4484-aeba3c09c7-lite.chunk.js → 4484-0b3c7acb4a-lite.chunk.js} +0 -0
  94. /package/dist/scripts/{4541-d3265c7adb-lite.chunk.js → 4541-18f406c3e6-lite.chunk.js} +0 -0
  95. /package/dist/scripts/{4632-2090bbeeb2-lite.chunk.js → 4632-6b963f3666-lite.chunk.js} +0 -0
  96. /package/dist/scripts/{4690-9e14a0919a-lite.chunk.js → 4690-336ab1884e-lite.chunk.js} +0 -0
  97. /package/dist/scripts/{482-62b57fd498-lite.chunk.js → 482-55ecda1638-lite.chunk.js} +0 -0
  98. /package/dist/scripts/{4893-3c755c9e9e-lite.chunk.js → 4893-dad65eb405-lite.chunk.js} +0 -0
  99. /package/dist/scripts/{4898-47e570b204-lite.chunk.js → 4898-5c792e192b-lite.chunk.js} +0 -0
  100. /package/dist/scripts/{5165-5ac91feecb-lite.chunk.js → 5165-65592b4f14-lite.chunk.js} +0 -0
  101. /package/dist/scripts/{5347-9babbb5f99-lite.chunk.js → 5347-a861c646cc-lite.chunk.js} +0 -0
  102. /package/dist/scripts/{5622-df70c2e4d8-lite.chunk.js.LICENSE.txt → 5622-548a92a2e4-lite.chunk.js.LICENSE.txt} +0 -0
  103. /package/dist/scripts/{5746-fbb98983d7-lite.chunk.js → 5746-7e35a750f7-lite.chunk.js} +0 -0
  104. /package/dist/scripts/{5914-83f14d2f25-lite.chunk.js → 5914-7c936ecffb-lite.chunk.js} +0 -0
  105. /package/dist/scripts/{5974-067b3050ce-lite.chunk.js → 5974-d7f6ad6ad5-lite.chunk.js} +0 -0
  106. /package/dist/scripts/{5985-8833dee463-lite.chunk.js.LICENSE.txt → 5985-c53f90efb8-lite.chunk.js.LICENSE.txt} +0 -0
  107. /package/dist/scripts/{6154-81196d6311-lite.chunk.js.LICENSE.txt → 6154-9f94c29999-lite.chunk.js.LICENSE.txt} +0 -0
  108. /package/dist/scripts/{6158-fffd1a4252-lite.chunk.js → 6158-278a0f8352-lite.chunk.js} +0 -0
  109. /package/dist/scripts/{6230-9f18aee4c5-lite.chunk.js → 6230-79a1f184a5-lite.chunk.js} +0 -0
  110. /package/dist/scripts/{6274-d2123cdc66-lite.chunk.js → 6274-b4101bacdc-lite.chunk.js} +0 -0
  111. /package/dist/scripts/{6302-01982ba99c-lite.chunk.js → 6302-522a99b56c-lite.chunk.js} +0 -0
  112. /package/dist/scripts/{6325-8f75c4c6e3-lite.chunk.js → 6325-d597f213d1-lite.chunk.js} +0 -0
  113. /package/dist/scripts/{6368-591a215562-lite.chunk.js → 6368-3adc622000-lite.chunk.js} +0 -0
  114. /package/dist/scripts/{6370-35a8d5e932-lite.chunk.js → 6370-d5be30336e-lite.chunk.js} +0 -0
  115. /package/dist/scripts/{6427-5cb642593b-lite.chunk.js → 6427-ed6ac8118f-lite.chunk.js} +0 -0
  116. /package/dist/scripts/{6438-56b252d447-lite.chunk.js → 6438-476fa3fd75-lite.chunk.js} +0 -0
  117. /package/dist/scripts/{6450-11cdf0c405-lite.chunk.js → 6450-78e74f7202-lite.chunk.js} +0 -0
  118. /package/dist/scripts/{6465-2817c163a3-lite.chunk.js → 6465-da6609773f-lite.chunk.js} +0 -0
  119. /package/dist/scripts/{6477-ea205b40df-lite.chunk.js → 6477-f42f00fe20-lite.chunk.js} +0 -0
  120. /package/dist/scripts/{6480-869e4680bb-lite.chunk.js → 6480-d58303f72c-lite.chunk.js} +0 -0
  121. /package/dist/scripts/{6493-331029d2a9-lite.chunk.js → 6493-ae21e8927f-lite.chunk.js} +0 -0
  122. /package/dist/scripts/{6578-56c293a040-lite.chunk.js → 6578-261425cef4-lite.chunk.js} +0 -0
  123. /package/dist/scripts/{6604-6efe5b290b-lite.chunk.js → 6604-9d51729e51-lite.chunk.js} +0 -0
  124. /package/dist/scripts/{6708-1249b8dafe-lite.chunk.js → 6708-7c79fa4ec6-lite.chunk.js} +0 -0
  125. /package/dist/scripts/{6725-4681caad1e-lite.chunk.js → 6725-6a02a8aa52-lite.chunk.js} +0 -0
  126. /package/dist/scripts/{6736-cffe5aabea-lite.chunk.js.LICENSE.txt → 6736-326f546fb8-lite.chunk.js.LICENSE.txt} +0 -0
  127. /package/dist/scripts/{6795-8f86567ccb-lite.chunk.js → 6795-cda692f8f8-lite.chunk.js} +0 -0
  128. /package/dist/scripts/{6821-c2c09e0258-lite.chunk.js → 6821-aa942da9f9-lite.chunk.js} +0 -0
  129. /package/dist/scripts/{6873-4b14b86a51-lite.chunk.js → 6873-336d25fe83-lite.chunk.js} +0 -0
  130. /package/dist/scripts/{6884-444f84b768-lite.chunk.js → 6884-fe4f1b7e09-lite.chunk.js} +0 -0
  131. /package/dist/scripts/{6966-d631469ba5-lite.chunk.js → 6966-832c6f152a-lite.chunk.js} +0 -0
  132. /package/dist/scripts/{7045-882c8445fc-lite.chunk.js → 7045-655270d34b-lite.chunk.js} +0 -0
  133. /package/dist/scripts/{7056-9052eecc41-lite.chunk.js → 7056-e6aea680e3-lite.chunk.js} +0 -0
  134. /package/dist/scripts/{7059-54ac778902-lite.chunk.js → 7059-7f85066400-lite.chunk.js} +0 -0
  135. /package/dist/scripts/{7115-748ec79aa9-lite.chunk.js → 7115-1f9288a3c8-lite.chunk.js} +0 -0
  136. /package/dist/scripts/{7128-fa0cce35e8-lite.chunk.js → 7128-a38ffbd703-lite.chunk.js} +0 -0
  137. /package/dist/scripts/{7172-d149cf3e64-lite.chunk.js → 7172-3f06b241c4-lite.chunk.js} +0 -0
  138. /package/dist/scripts/{7318-c6ae302a32-lite.chunk.js.LICENSE.txt → 7318-2fb789e6d5-lite.chunk.js.LICENSE.txt} +0 -0
  139. /package/dist/scripts/{7351-9a210fea6e-lite.chunk.js → 7351-ae828b1b36-lite.chunk.js} +0 -0
  140. /package/dist/scripts/{7506-09a70fbf9f-lite.chunk.js → 7506-68ed3f4e65-lite.chunk.js} +0 -0
  141. /package/dist/scripts/{7510-ee4b2f14de-lite.chunk.js → 7510-dadbf124b5-lite.chunk.js} +0 -0
  142. /package/dist/scripts/{7708-32179e5778-lite.chunk.js → 7708-1318e6ea17-lite.chunk.js} +0 -0
  143. /package/dist/scripts/{7767-344dd935b6-lite.chunk.js → 7767-9268c4a683-lite.chunk.js} +0 -0
  144. /package/dist/scripts/{7820-d25cee1a2c-lite.chunk.js → 7820-dd2a56c5a4-lite.chunk.js} +0 -0
  145. /package/dist/scripts/{7855-18edc1946f-lite.chunk.js → 7855-74bda8e11e-lite.chunk.js} +0 -0
  146. /package/dist/scripts/{7925-088d8201ec-lite.chunk.js → 7925-1ed74c737d-lite.chunk.js} +0 -0
  147. /package/dist/scripts/{7950-44f07724fd-lite.chunk.js.LICENSE.txt → 7950-2985ea7f90-lite.chunk.js.LICENSE.txt} +0 -0
  148. /package/dist/scripts/{7966-6cff9a795b-lite.chunk.js → 7966-9e7a490d8d-lite.chunk.js} +0 -0
  149. /package/dist/scripts/{8025-3844eae98b-lite.chunk.js → 8025-e3a6715b64-lite.chunk.js} +0 -0
  150. /package/dist/scripts/{8038-6c2a256fca-lite.chunk.js → 8038-2d3f7277ee-lite.chunk.js} +0 -0
  151. /package/dist/scripts/{8046-787309872c-lite.chunk.js → 8046-799f379c70-lite.chunk.js} +0 -0
  152. /package/dist/scripts/{8056-d967c4ec71-lite.chunk.js → 8056-4476ad4eb5-lite.chunk.js} +0 -0
  153. /package/dist/scripts/{8114-12abea85e8-lite.chunk.js → 8114-fab7b94633-lite.chunk.js} +0 -0
  154. /package/dist/scripts/{823-660f299fbb-lite.chunk.js → 823-d5a19386fd-lite.chunk.js} +0 -0
  155. /package/dist/scripts/{8239-7c29640d07-lite.chunk.js → 8239-0039a9c8bb-lite.chunk.js} +0 -0
  156. /package/dist/scripts/{8252-aa97c540e4-lite.chunk.js → 8252-badc58b2a5-lite.chunk.js} +0 -0
  157. /package/dist/scripts/{8292-ff7df28770-lite.chunk.js → 8292-9ce884743c-lite.chunk.js} +0 -0
  158. /package/dist/scripts/{8300-c2509f2d64-lite.chunk.js → 8300-8839d9b4af-lite.chunk.js} +0 -0
  159. /package/dist/scripts/{8323-431a465fd5-lite.chunk.js.LICENSE.txt → 8323-1c054e5eea-lite.chunk.js.LICENSE.txt} +0 -0
  160. /package/dist/scripts/{8466-53edba8c57-lite.chunk.js → 8466-d1db439ac5-lite.chunk.js} +0 -0
  161. /package/dist/scripts/{8564-697a3ce98f-lite.chunk.js → 8564-89dd19fba2-lite.chunk.js} +0 -0
  162. /package/dist/scripts/{8573-21ae901222-lite.chunk.js → 8573-ec011664bb-lite.chunk.js} +0 -0
  163. /package/dist/scripts/{8592-118573d431-lite.chunk.js → 8592-65a1b429da-lite.chunk.js} +0 -0
  164. /package/dist/scripts/{8681-0629128300-lite.chunk.js.LICENSE.txt → 8681-0ce42b0460-lite.chunk.js.LICENSE.txt} +0 -0
  165. /package/dist/scripts/{8779-8ffbf13149-lite.chunk.js → 8779-d5f6379ca4-lite.chunk.js} +0 -0
  166. /package/dist/scripts/{8789-4f687e8d18-lite.chunk.js → 8789-f564c156ee-lite.chunk.js} +0 -0
  167. /package/dist/scripts/{8816-649cd67b39-lite.chunk.js → 8816-f0cf5479be-lite.chunk.js} +0 -0
  168. /package/dist/scripts/{8868-f58dea6bba-lite.chunk.js → 8868-8545161f5d-lite.chunk.js} +0 -0
  169. /package/dist/scripts/{8882-05d83e9352-lite.chunk.js → 8882-bcb1c6ecc2-lite.chunk.js} +0 -0
  170. /package/dist/scripts/{8884-14aa072877-lite.chunk.js → 8884-590d2228a3-lite.chunk.js} +0 -0
  171. /package/dist/scripts/{8955-c9c450fbd9-lite.chunk.js → 8955-60682c0ba8-lite.chunk.js} +0 -0
  172. /package/dist/scripts/{9060-47b8dc83c6-lite.chunk.js → 9060-5a79549f6d-lite.chunk.js} +0 -0
  173. /package/dist/scripts/{9133-2608671a39-lite.chunk.js → 9133-6d32b1d3d1-lite.chunk.js} +0 -0
  174. /package/dist/scripts/{9231-fe4f234b61-lite.chunk.js → 9231-ba1bc0ab98-lite.chunk.js} +0 -0
  175. /package/dist/scripts/{9242-9c802e6f94-lite.chunk.js → 9242-3fc9c39524-lite.chunk.js} +0 -0
  176. /package/dist/scripts/{9428-37d616a4ba-lite.chunk.js.LICENSE.txt → 9428-63f031caf2-lite.chunk.js.LICENSE.txt} +0 -0
  177. /package/dist/scripts/{9455-1be4596b49-lite.chunk.js → 9455-3217810808-lite.chunk.js} +0 -0
  178. /package/dist/scripts/{9478-0278d1f492-lite.chunk.js.LICENSE.txt → 9478-e2acbc3999-lite.chunk.js.LICENSE.txt} +0 -0
  179. /package/dist/scripts/{9526-ecffc0c74c-lite.chunk.js → 9526-f870a2b923-lite.chunk.js} +0 -0
  180. /package/dist/scripts/{9556-7e362c94b6-lite.chunk.js → 9556-720ea9469d-lite.chunk.js} +0 -0
  181. /package/dist/scripts/{9590-9fa7319888-lite.chunk.js → 9590-4e13d7865e-lite.chunk.js} +0 -0
  182. /package/dist/scripts/{9686-9942352281-lite.chunk.js → 9686-e60982e608-lite.chunk.js} +0 -0
  183. /package/dist/scripts/{9897-b71da1b51a-lite.chunk.js → 9897-bc532bc4c5-lite.chunk.js} +0 -0
  184. /package/dist/scripts/{9905-f9a8958b48-lite.chunk.js → 9905-3adaead6f5-lite.chunk.js} +0 -0
  185. /package/dist/scripts/{9961-3b50303fcf-lite.chunk.js → 9961-e8fb49e581-lite.chunk.js} +0 -0
  186. /package/dist/scripts/{bundle-59e84720a3.min.js.LICENSE.txt → bundle-8971fd34fe.min.js.LICENSE.txt} +0 -0
@@ -1,29 +1,29 @@
1
- import videojs from 'video.js';
2
-
3
- declare module 'video.js' {
4
- export interface VideoJsPlayer {
5
- qualityLevels(): QualityLevelList;
6
- }
7
- }
8
-
9
- declare module 'videojs-contrib-quality-levels' {
10
- export interface QualityLevelList extends videojs.EventTarget {
11
- [id: string]: QualityLevel;
12
- selectedIndex: number;
13
- length: number;
14
- addQualityLevel(representation: Representation): QualityLevel;
15
- removeQualityLevel(qualityLevel: QualityLevel): QualityLevel;
16
- getQualityLevelById(id: string): QualityLevel;
17
- }
18
-
19
- export interface QualityLevel {
20
- id: string;
21
- label: string;
22
- enabled: boolean;
23
- }
24
-
25
- export interface Representation {
26
- id: string;
27
- enabled(enabled: boolean): boolean;
28
- }
1
+ import videojs from 'video.js';
2
+
3
+ declare module 'video.js' {
4
+ export interface VideoJsPlayer {
5
+ qualityLevels(): QualityLevelList;
6
+ }
7
+ }
8
+
9
+ declare module 'videojs-contrib-quality-levels' {
10
+ export interface QualityLevelList extends videojs.EventTarget {
11
+ [id: string]: QualityLevel;
12
+ selectedIndex: number;
13
+ length: number;
14
+ addQualityLevel(representation: Representation): QualityLevel;
15
+ removeQualityLevel(qualityLevel: QualityLevel): QualityLevel;
16
+ getQualityLevelById(id: string): QualityLevel;
17
+ }
18
+
19
+ export interface QualityLevel {
20
+ id: string;
21
+ label: string;
22
+ enabled: boolean;
23
+ }
24
+
25
+ export interface Representation {
26
+ id: string;
27
+ enabled(enabled: boolean): boolean;
28
+ }
29
29
  }
@@ -1,14 +1,14 @@
1
- /**
2
- * Define our templates as a module so that we can use
3
- * import statements just the same as we do for other
4
- * ts/js code.
5
- */
6
- declare module '*.handlebars';
7
- declare module '*.hbs';
8
- declare module '*.scss';
9
- declare module '*.svg';
10
-
11
- declare module '*.json' {
12
- export const value: any;
13
- export default value;
1
+ /**
2
+ * Define our templates as a module so that we can use
3
+ * import statements just the same as we do for other
4
+ * ts/js code.
5
+ */
6
+ declare module '*.handlebars';
7
+ declare module '*.hbs';
8
+ declare module '*.scss';
9
+ declare module '*.svg';
10
+
11
+ declare module '*.json' {
12
+ export const value: any;
13
+ export default value;
14
14
  }
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk_clickview_lite=self.webpackChunk_clickview_lite||[]).push([[1655],{68670:(e,t,r)=>{r.d(t,{p:()=>d});var n=r(1024),a=r.n(n),o=r(92802),s=r(23481),i=r(38365),c=r(83345),l=r(23201),u="shared.changePasswordForm",m=s.T.encloseNamespace(u);function d(e){var t=(0,o.u6)();return a().createElement(o.l0,null,!e.hideCurrentPassword&&a().createElement(i.W,{className:e.inputWidthClass,name:"currentPassword",label:m("currentPassword"),placeholder:m("currentPasswordPlaceholder"),type:"password",autoComplete:"current-password",showRequiredStar:!0}),a().createElement(i.W,{className:e.inputWidthClass,name:"newPassword",label:m("newPassword"),placeholder:m("newPasswordPlaceholder"),type:"password",autoComplete:"new-password",showRequiredStar:!0}),a().createElement(i.W,{className:e.inputWidthClass,name:"confirmPassword",label:m("confirmPassword"),placeholder:m("confirmPasswordPlaceholder"),type:"password",autoComplete:"off",showRequiredStar:!0}),e.showChangeOnNextLogin&&a().createElement(i.W,{id:"changeOnNextLogin",name:"changeOnNextLogin",label:m("changeOnNextLogin"),type:"checkbox",checked:t.values.changeOnNextLogin,checkboxLabelFontWeight:"normal"}),!e.hideButtons&&a().createElement("div",{className:e.buttonContainerClass},!e.hideCancelButton&&!!e.onClickCancel&&a().createElement("button",{type:"button",className:"btn btn-link mr-2 ".concat("lg"===e.buttonSize?"btn-lg":""),onClick:e.onClickCancel},a().createElement(c.x,{namespace:u,phrase:"cancel"})),a().createElement(l.A,{isNew:!1,submitText:e.submitText||m("save"),variant:e.submitVariant,size:e.buttonSize})))}d.defaultProps={submitVariant:"outline-dark",buttonContainerClass:"btn-container d-flex justify-content-end align-items-center",inputWidthClass:"w-100"}},49935:(e,t,r)=>{r.d(t,{Oo:()=>m,b2:()=>d});var n=r(1024),a=r(8493),o=r(5859),s=r(86764),i=r(3747),c=r(83914),l=r(58130),u=function(e){var t=e.breadcrumb,r=t.name,o=t.appLink,s=t.active,i=e.withBackIcon;return n.createElement("li",{className:"breadcrumb-item".concat(s?" active":"")},s?n.createElement("strong",null,r):n.createElement(a.F,{appLink:o},i&&n.createElement(c.x,{svgName:l.vn.ChevronLeft,size:c.S.Small}),n.createElement("span",{className:i?"ml-2":""},r)))},m=function(e){var t=e.breadcrumbs,r=(0,i.a)(s.r.XS),a=null==t?void 0:t.length;return!a||r&&a<2?n.createElement(n.Fragment,null):r?n.createElement("ol",{className:"breadcrumb m-0 p-0"},n.createElement(u,{breadcrumb:t[a-2],withBackIcon:!0})):n.createElement("ol",{className:"breadcrumb m-0 p-0"},t.map((function(e,t){return n.createElement(u,{key:t,breadcrumb:e})})))},d=n.memo((function(e){var t=e.numItems,r=void 0===t?3:t;return(0,i.a)(s.r.XS)?n.createElement("div",{className:"partial-loading-background",style:{height:"1.3125rem",width:"6rem"}}):n.createElement("nav",{"aria-label":"breadcrumb"},n.createElement("ol",{className:"breadcrumb m-0 p-0"},o.u.getPartialLoadingItems({numItems:r}).map((function(e,t){var r=e.width;return n.createElement("li",{key:t,className:"breadcrumb-item"},n.createElement("span",{className:"d-inline-block partial-loading-background",style:{width:r},dangerouslySetInnerHTML:{__html:"&nbsp"}}))}))))}))},23201:(e,t,r)=>{r.d(t,{A:()=>l});var n=r(1024),a=r(92802),o=r(33936),s=r(83345),i=r(2102),c="shared.formButtons";function l(e){var t=(0,a.u6)(),r=(0,o.l)(t);return n.createElement(i.m,{variant:e.variant||"primary",type:"submit",disabled:!r,size:e.size,className:e.className?e.className:"",showSpinner:t.isSubmitting},e.submitText?n.createElement(n.Fragment,null,e.submitText):n.createElement(s.x,{namespace:c,phrase:e.isNew?"create":"save"}))}},38365:(e,t,r)=>{r.d(t,{n:()=>w,W:()=>E});var n=r(1024),a=r(92802),o=r(99910),s=r(1048),i=r(79014),c=r(73814),l=r(8493),u=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(n=Object.getOwnPropertySymbols(e);a<n.length;a++)t.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]])}return r};function m(e){var t=e.label,r=e.checkboxLabelClassName,a=e.checkboxLabelFontWeight,s=e.className,i=u(e,["label","checkboxLabelClassName","checkboxLabelFontWeight","className"]);return n.createElement(o.Form.Group,null,n.createElement("div",{className:"custom-control custom-checkbox ".concat(s)},n.createElement(w,Object.assign({className:"custom-control-input"},i)),n.createElement(o.Form.Label,{className:"custom-control-label cursor-pointer ".concat("normal"===a?"font-weight-normal":""," \n ").concat(r),htmlFor:i.id},t),e.checkboxAppLink&&e.checkboxAppLinkText&&n.createElement(n.Fragment,null,n.createElement("span",null," "),n.createElement(l.F,{appLink:e.checkboxAppLink,className:"info-link"},e.checkboxAppLinkText))))}var d=r(83914),p=r(58130),f=r(83345);function y(e){var t=(0,a.u6)().values[e.fieldName];return"string"!=typeof t?n.createElement(n.Fragment,null):n.createElement("div",{className:"float-right text-muted font-weight-normal"},t.length,"/",e.limit," characters")}const g={revealPassword:"jCfI0",passwordInput:"RBJnf",passwordContainer:"d78lK",passwordContainerDisabled:"asbVo",infoTooltip:"wzyOG"};function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var v=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(n=Object.getOwnPropertySymbols(e);a<n.length;a++)t.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]])}return r},b="shared.formField";function w(e){var t,r,o=e.children,c=v(e,["children"]),l=(t=n.useState(e.type),r=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,a,o,s,i=[],c=!0,l=!1;try{if(o=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=o.call(r)).done)&&(i.push(n.value),i.length!==t);c=!0);}catch(e){l=!0,a=e}finally{try{if(!c&&null!=r.return&&(s=r.return(),Object(s)!==s))return}finally{if(l)throw a}}return i}}(t,r)||function(e,t){if(e){if("string"==typeof e)return h(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?h(e,t):void 0}}(t,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),u=l[0],m=l[1],f=i.q.isFunction(o)?function(e){return o(e)}:n.Children.count(o)?o:null;if("password"!==c.type)return n.createElement(a.gN,Object.assign({},s.t.omit(c,["formSize"])),f);var y="position-relative ".concat(g.passwordContainer);return c.className&&(y+=" ".concat(c.className)),c.disabled&&(y+=" ".concat(g.passwordContainerDisabled)),n.createElement("div",{className:y},n.createElement(a.gN,Object.assign({},s.t.omit(c,["formSize","type","className"]),{type:u,className:"".concat(g.passwordInput," border-0 w-100 h-100 outline-none rounded")}),f),"password"===c.type&&n.createElement(d.x,{svgName:"password"===u?p.vn.VisibleOn:p.vn.VisibleOff,className:"svg-container cursor-pointer ".concat(g.revealPassword),onClick:function(){m("password"===u?"text":"password")}}))}function E(e){var t=e.label,r=e.className,i=e.showCharacterCounter,l=e.showRequiredStar,u=e.infoTooltip,h=e.infoTooltipPlacement,E=e.infoText,S=e.formSize,k=e.showOptionalLabel,P=v(e,["label","className","showCharacterCounter","showRequiredStar","infoTooltip","infoTooltipPlacement","infoText","formSize","showOptionalLabel"]),O=(0,a.u6)(),N=O.errors,C=O.touched,x=function(){};if("checkbox"===P.type){var j=s.t.omit(e,["formSize"]);return e.disabled&&(j.onChange=x),n.createElement(m,Object.assign({},j))}var I=Object.assign(Object.assign({},P),{className:c.w.getCustomFormControlClassName(N,C,P.name,S,r)});return e.disabled&&(I.onChange=x),n.createElement(o.Form.Group,null,!!t&&n.createElement(o.Form.Label,{htmlFor:P.id,className:"d-flex align-items-center"},t,l&&n.createElement("span",{className:"text-danger"},"*"),u&&n.createElement(d.x,{className:"svg-container text-muted ".concat(g.infoTooltip),svgName:p.vn.Info,title:u,tooltipPlacement:h,tooltipSpanHack:!0}),k&&n.createElement("span",{className:"text-muted"}," ",n.createElement(f.x,{namespace:b,phrase:"optional"})),!!i&&!!P.maxLength&&n.createElement("div",{className:"ml-auto"},n.createElement(y,{fieldName:P.name,limit:P.maxLength}))),n.createElement(w,Object.assign({},I)),!!E&&n.createElement(o.Form.Text,{className:"text-muted"},E),n.createElement(a.Bc,{name:P.name},(function(e){return n.createElement(o.Form.Control.Feedback,{type:"invalid"},e)})))}w.defaultProps={autoComplete:"off"},E.defaultProps={autoComplete:"off",infoTooltipPlacement:"top"}},82644:(e,t,r)=>{r.d(t,{b:()=>u,n:()=>l});var n=r(1024),a=r(92802),o=r(79014),s=r(1048);function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var c=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(n=Object.getOwnPropertySymbols(e);a<n.length;a++)t.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]])}return r};function l(e){var t=e.castInitialValues,r=e.castValuesOnSubmit,l=e.initialValues,u=e.onSubmit,m=c(e,["castInitialValues","castValuesOnSubmit","initialValues","onSubmit"]),d=t&&e.validationSchema?e.validationSchema.cast(function(e){if(!e)return{};var t=s.t.deepClone(e);return function e(r){Object.keys(t).forEach((function(n){t.hasOwnProperty(n)&&(s.t.isObject(r[n])?e(r[n]):null===t[n]&&delete t[n])}))}(t),t}(l)):l,p={allowInitialSubmit:e.allowInitialSubmit};return n.createElement(a.J9,Object.assign({enableReinitialize:!0},m,{initialValues:d,onSubmit:function(t,n){var a=n.setSubmitting,o=n.resetForm,s=n.setFieldError,c=r&&e.validationSchema?e.validationSchema.cast(t):t;u(c,(function(){var e,t,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(r.reset&&o(),r.errors)for(var n=0,c=Object.entries(r.errors);n<c.length;n++){var l=(e=c[n],t=2,function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,a,o,s,i=[],c=!0,l=!1;try{if(o=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=o.call(r)).done)&&(i.push(n.value),i.length!==t);c=!0);}catch(e){l=!0,a=e}finally{try{if(!c&&null!=r.return&&(s=r.return(),Object(s)!==s))return}finally{if(l)throw a}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return i(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?i(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),u=l[0],m=l[1];s(u,m)}a(!1)}))},initialStatus:p}),o.q.isFunction(e.children)?function(t){return e.children(t)}:n.Children.count(e.children)?e.children:null)}function u(){return(0,a.u6)()}l.defaultProps={castInitialValues:!0,castValuesOnSubmit:!0}},70197:(e,t,r)=>{var n;r.d(t,{q:()=>n}),function(e){e.YearGroupValues="yearGroupValues",e.Status="status"}(n||(n={}))},73814:(e,t,r)=>{r.d(t,{w:()=>a});var n=r(92802),a={getCustomFormControlClassName:function(e,t,r,a,o){var s="form-control";return"sm"===a&&(s+=" form-control-sm"),"lg"===a&&(s+=" form-control-lg"),(0,n.u9)(t,r)&&(0,n.u9)(e,r)&&(s+=" is-invalid"),o&&(s+=" ".concat(o)),s}}},5859:(e,t,r)=>{function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}r.d(t,{u:()=>o});var a={numItems:5,minWidth:50,maxWidth:100},o={getPartialLoadingItems:function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=Object.assign(Object.assign({},a),t);return(e=Array(r.numItems),function(e){if(Array.isArray(e))return n(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).map((function(){return{width:"".concat(Math.max(Math.floor(Math.random()*r.maxWidth),r.minWidth),"px")}}))}}},81803:(e,t,r)=>{r.d(t,{d:()=>y});var n=r(1024),a=r.n(n),o=r(81886),s=r(23481),i=r(49935),c=r(22902),l=r(97291),u=r(14070),m=r(96368);function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var p="settings.settingsLayout",f=function(e){var t=(0,c.T)().hasPermissions,r=(0,m.e)();if(e)return t(e);var n=o.Q.AppLinkHelper.getCurrentAppLink();return n.application!==l.O.SETTINGS||r.some((function(e){return e.modules.some((function(e){return"appLink"in e&&e.appLink.action===n.action}))}))};function y(e){var t=f(e.requiredPermissions);if(a().useEffect((function(){t||o.Q.AppLinkHelper.trigger({application:l.O.SETTINGS,action:u.e.Settings.HOME},{replace:!0})}),[t]),!t)return a().createElement(a().Fragment,null);var r,n=e.breadcrumbs.map((function(t,r){return{name:t,appLink:{application:l.O.SETTINGS,action:u.e.Settings.HOME},active:r===e.breadcrumbs.length-1}}));return a().createElement("div",{className:"px-3"},a().createElement("h1",{className:"h2"},e.heading),a().createElement("div",{className:"pb-3"},a().createElement(i.Oo,{breadcrumbs:[{name:s.T.getPhrase(p,"settingsBreadcrumb"),appLink:{application:l.O.SETTINGS,action:u.e.Settings.HOME}}].concat((r=n,function(e){if(Array.isArray(e))return d(e)}(r)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(r)||function(e,t){if(e){if("string"==typeof e)return d(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?d(e,t):void 0}}(r)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()))})),e.description&&a().createElement(a().Fragment,null,a().createElement("p",null,e.description),a().createElement("hr",null)),e.children)}},706:(e,t,r)=>{r.d(t,{F:()=>a});var n=r(99940),a={getCustomerSecuritySettings:function(e,t,r){return{url:"{gateway}/v1/customers/".concat(e,"/settings/security"),key:"customers:security:settings",normalize:!1,success:t,error:r}},setCustomerSecuritySettings:function(e,t,r,a){return{url:"{gateway}/v1/customers/".concat(e,"/settings/security"),key:"update:security:settings",invalidationKeys:"customers:security:settings",type:n.k.PUT,normalize:!1,data:t,success:r,error:a}}}},26381:(e,t,r)=>{r.r(t),r.d(t,{AccountSettingsView:()=>W});var n=r(1024),a=r.n(n),o=r(58566),s=r(20354),i=r(23481),c=r(31949),l=r(69883),u=r(3747),m=r(86764),d=r(39739),p=r(49985),f=r(65858),y=r(39872),g=r(92802),h=r(83345),v=r(82644),b=r(38365),w=r(23201),E=r(5173),S="settings.emailSettings",k=(0,E.Ry)().shape({email:(0,E.Z_)().required((function(){return i.T.getPhrase(S,"emailRequired")})).email((function(){return i.T.getPhrase(S,"emailInvalid")})).trim().default("")}),P=r(86794);function O(){return a().createElement(P.b,null,a().createElement("svg",{viewBox:"0 0 24 24"},a().createElement("path",{d:"M10.407 12.368l-1.22-1.22a.49.49 0 0 0-.698.004l-.583.583a.494.494 0 0 0-.004.697l2.135 2.135c.107.108.25.154.388.142a.488.488 0 0 0 .352-.143l4.362-4.362a.494.494 0 0 0-.004-.698l-.582-.582a.495.495 0 0 0-.698-.004l-3.448 3.448zm7.922-.37l1.437 1.406c.208.194.277.437.208.728a.716.716 0 0 1-.541.531l-1.957.5.551 1.936a.671.671 0 0 1-.197.729.671.671 0 0 1-.73.198l-1.935-.552-.5 1.957a.716.716 0 0 1-.53.541 1.28 1.28 0 0 1-.199.021.686.686 0 0 1-.53-.229L12 18.328l-1.405 1.436c-.195.208-.437.278-.729.208a.696.696 0 0 1-.53-.541l-.5-1.957-1.937.552a.671.671 0 0 1-.728-.198.671.671 0 0 1-.198-.729l.551-1.936-1.957-.5a.716.716 0 0 1-.54-.53c-.07-.292 0-.535.207-.73l1.437-1.405-1.437-1.405c-.208-.194-.277-.437-.208-.729a.716.716 0 0 1 .541-.53l1.957-.5-.551-1.936a.671.671 0 0 1 .198-.73.671.671 0 0 1 .728-.197l1.936.552.5-1.957a.675.675 0 0 1 .531-.531.671.671 0 0 1 .729.198L12 5.68l1.405-1.447a.697.697 0 0 1 .73-.198c.284.07.46.246.53.53l.5 1.958L17.1 5.97a.671.671 0 0 1 .729.198.671.671 0 0 1 .197.729l-.551 1.936 1.957.5a.715.715 0 0 1 .541.53c.07.292 0 .535-.208.73l-1.437 1.404z"})))}function N(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var C="settings.emailSettings",x=i.T.encloseNamespace(C);function j(e){var t,r,n=(0,u.a)(m.r.MDDown),o=(t=a().useState(!n),r=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,a,o,s,i=[],c=!0,l=!1;try{if(o=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=o.call(r)).done)&&(i.push(n.value),i.length!==t);c=!0);}catch(e){l=!0,a=e}finally{try{if(!c&&null!=r.return&&(s=r.return(),Object(s)!==s))return}finally{if(l)throw a}}return i}}(t,r)||function(e,t){if(e){if("string"==typeof e)return N(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?N(e,t):void 0}}(t,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),s=o[0],i=o[1],c=e.currentUser.emailVerified;return a().useEffect((function(){n||s||i(!0)}),[n,s]),a().createElement(h.D.Provider,{value:C},a().createElement("h2",{className:"h4 d-flex align-items-center"},a().createElement(h.x,{phrase:"heading"}),c&&a().createElement("span",{className:"font-size-normal font-weight-500 text-primary d-flex align-items-center mb-0 ml-2"},a().createElement(h.x,{phrase:"verified"}),a().createElement(O,null))),c&&a().createElement("p",null,a().createElement(h.x,{phrase:"info",options:{email:e.currentUser.email}})),s?a().createElement(v.n,{initialValues:{email:e.currentUser.email||""},onSubmit:e.onChangeEmail,validationSchema:k},a().createElement(g.l0,null,a().createElement(b.W,{className:"w-75",name:"email",placeholder:x("emailPlaceholder"),autoComplete:"email"}),a().createElement("div",{className:"d-flex justify-content-end w-75 ".concat(n?"ml-n2":"")},n&&a().createElement("button",{type:"button",className:"btn btn-link mr-2",onClick:function(){return i(!1)}},a().createElement(h.x,{phrase:"cancel"})),a().createElement(w.A,{isNew:!1,submitText:x(c?"updateEmail":"verifyEmail"),variant:c?"outline-dark":"dark"})))):a().createElement(a().Fragment,null,a().createElement("div",{className:"d-flex"},a().createElement("button",{className:"btn btn-outline-dark mr-2",onClick:function(){return i(!0)}},a().createElement(h.x,{phrase:"change"})))),a().createElement("p",{className:"mb-0 mt-2"},a().createElement(h.x,{phrase:"note"})))}var I=r(68670),T=i.T.encloseNamespace("settings.passwordSettings"),A=function(e){return(0,E.Ry)().shape({currentPassword:(0,E.Z_)().required((function(){return T("currentPasswordRequired")})).trim().default(""),newPassword:(0,E.Z_)().required((function(){return T("newPasswordRequired")})).min(e,(function(){return T("newPasswordMinLength",{minLen:e})})).trim().default(""),confirmPassword:(0,E.Z_)().required((function(){return T("confirmPasswordRequired")})).oneOf([(0,E.iH)("newPassword"),null],(function(){return T("passwordsDontMatch")})).trim().default("")})};function L(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var U="settings.passwordSettings",F={currentPassword:"",newPassword:"",confirmPassword:""};function z(e){var t,r,n=(0,u.a)(m.r.MDDown),o=(t=a().useState(!n),r=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,a,o,s,i=[],c=!0,l=!1;try{if(o=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=o.call(r)).done)&&(i.push(n.value),i.length!==t);c=!0);}catch(e){l=!0,a=e}finally{try{if(!c&&null!=r.return&&(s=r.return(),Object(s)!==s))return}finally{if(l)throw a}}return i}}(t,r)||function(e,t){if(e){if("string"==typeof e)return L(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?L(e,t):void 0}}(t,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),s=o[0],c=o[1];return a().useEffect((function(){n||s||c(!0)}),[n,s]),a().createElement(h.D.Provider,{value:U},a().createElement("h2",{className:"h4"},a().createElement(h.x,{phrase:"heading"})),s?a().createElement(a().Fragment,null,a().createElement("p",null,a().createElement(h.x,{phrase:"info"})),a().createElement(v.n,{initialValues:F,onSubmit:function(t,r){e.onChangePassword(t,r,(function(){return r({reset:!0})}))},validationSchema:A(e.minPasswordLength)},a().createElement(I.p,{onClickCancel:function(){return c(!1)},hideCancelButton:!n,submitText:i.T.getPhrase(U,"savePassword"),buttonContainerClass:n?"d-flex justify-content-end ml-n2 w-75":"d-flex justify-content-end w-75",inputWidthClass:"w-75"}))):a().createElement("button",{className:"btn btn-outline-dark ",onClick:function(){return c(!0)}},a().createElement(h.x,{phrase:"change"})))}const q={partialLabel:"aKssR",partialInfo:"ZrKZk",partialInput:"Lvn15",partialSubmit:"TActD",partialNote:"pqp7j"};function M(){return a().createElement("div",{className:"w-50"},a().createElement("div",{className:"partial-loading-background mb-2 ".concat(q.partialLabel)}),a().createElement("div",{className:"partial-loading-background ".concat(q.partialInfo)}),a().createElement("div",{className:"form-group"},a().createElement("div",{className:"partial-loading-background ".concat(q.partialInput)})),a().createElement("div",{className:"partial-loading-background ".concat(q.partialSubmit)}),a().createElement("div",{className:"partial-loading-background mt-2 ".concat(q.partialNote)}))}var V=r(81803),B=r(706),R=i.T.encloseNamespace("settings.accountSettings");function W(){var e,t=(0,o.useDispatch)(),r=(0,l.Z)(),n=(0,u.a)(m.r.MDDown),i=s.a.useBasicFetch(c.N.currentUser()),g=s.a.useBasicFetch(i.data&&y.N.getUser(i.data.id)),h=s.a.useBasicFetch(i.data&&B.F.getCustomerSecuritySettings(i.data.customerId)),v=d.P.getMinimumPasswordLength(h.data,null===(e=g.data)||void 0===e?void 0:e.userType,i.data.role);return a().createElement(V.d,{heading:R("heading"),breadcrumbs:[R("breadcrumb")]},a().createElement("div",{className:n?"w-100":"w-50"},i.data?a().createElement(j,{currentUser:i.data,onChangeEmail:function(e,n){s.a.fetch(t,y.N.changeEmail(e.email,(function(){p.k.logUserAction({id:i.data.id,oldEmail:i.data.email,newEmail:e.email},{actionType:f.UserAction.VerifyEmail,entity:f.EntityType.User,location:f.LocationContext.Settings,workflowPhase:f.WorkflowPhase.Start}),r.success(R("changeEmailRequestSuccess",{email:e.email,escapeText:!0}))}),(function(){r.error(R("changeEmailRequestError"))}),n))}}):a().createElement(M,null)),a().createElement("hr",null),a().createElement("div",{className:n?"w-100":"w-50"},h.data&&a().createElement(z,{onChangePassword:function(e,n,a){s.a.fetch(t,y.N.changePassword(e,(function(){p.k.logUserAction({id:i.data.id,oldPassword:e.currentPassword,newPassword:e.newPassword},{actionType:f.UserAction.ChangePassword,entity:f.EntityType.User,location:f.LocationContext.Settings,workflowPhase:f.WorkflowPhase.Complete}),r.success(R("changePasswordSuccess")),a()}),(function(e){var t=e.responseJSON;"user.password-too-short"===t.errorCode?r.error(R("changePasswordRequirementsError")):"user.invalid-password"===t.errorCode?r.error(R("changePasswordInvalid")):"user.same-password"===t.errorCode?r.error("changePasswordSame"):"user.locked-out"===t.errorCode?r.error("changePasswordLockedOut"):r.error(R("changePasswordError"))}),n))},minPasswordLength:v})))}},39872:(e,t,r)=>{r.d(t,{N:()=>p});var n,a,o=r(97395),s=r(99940),i=r(54610),c=r(39739);!function(e){e.Content="content",e.OnlineContent="online_content",e.User="user",e.Customer="customer",e.Tag="tag",e.Organisation="organisation",e.Channel="channel"}(n||(n={})),function(e){e.TermsGroupBy="terms-group-by"}(a||(a={}));var l=r(70197);function u(e){return u="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},u(e)}function m(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==u(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!==u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===u(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var p={getUsers:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=arguments.length>3?arguments[3]:void 0,a=arguments.length>4?arguments[4]:void 0,s=arguments.length>5?arguments[5]:void 0,i={query:c.P.buildGetUsersQuery(t,r)};n&&(i.cursor=n);var l="school:users:".concat(e,":").concat(t);return l+=Object.keys(i).map((function(e){return i[e]})).join(":"),{url:o._.urlBuilder("{gateway}/v1/customers/".concat(e,"/users"),i),key:l,success:a,error:s}},getUser:function(e){return{url:"{gateway}/v1/users/".concat(e,"?query=avatar"),key:"school:users:".concat(e)}},bulkRemoveUsers:function(e,t,r,n){var a,o=["school:users","search:users","search:aggregation"];return(null===(a=e.userIds)||void 0===a?void 0:a.length)&&e.userIds.forEach((function(e){return o.push("school:users:".concat(e))})),{url:"{gateway}/v1/users/delete",key:"remove:school:users",invalidationKeys:o,type:s.k.POST,data:e,success:t,error:r,always:n}},createUsers:function(e,t,r,n,a){return{url:"{gateway}/v1/users",key:"create:users",data:e,type:s.k.POST,invalidationKeys:["school:users","user:count"],success:r,error:n,always:a,normalize:!1}},updateUser:function(e,t,r,n,a){var o=["school:users:".concat(e.userId)];return t.toString()===e.userId.toString()&&o.push("currentuser"),{url:"{gateway}/v1/users",key:"edit:user",type:s.k.PUT,data:e,invalidationKeys:["search:aggregation"],success:r,error:n,always:a}},searchUsers:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=arguments.length>3?arguments[3]:void 0,a=arguments.length>4?arguments[4]:void 0,s=arguments.length>5?arguments[5]:void 0,i=c.P.buildSearchParams(e,t,r);n&&(i.cursor=n);var l="search:users:".concat(n);return l+=Object.keys(i).sort().map((function(e){return i[e]})).join(":"),{url:o._.urlBuilder("{gateway}/v1/search/users",i),key:l,success:a,error:s}},getSearchUserIds:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=arguments.length>3?arguments[3]:void 0,a=arguments.length>4?arguments[4]:void 0,s=c.P.buildSearchParams(e,t,r),i="search:user:ids";return i+=Object.keys(s).sort().map((function(e){return s[e]})).join(":"),{url:o._.urlBuilder("{gateway}/v1/search/user/ids",s),key:i,normalize:!1,success:n,error:a}},getSearchAggregation:function(e){var t=e.userId,r=e.customerId,o=e.userType,i=e.queryParams,u=void 0===i?{}:i,m=e.userIds,d=e.field,p=c.P.buildSearchFiltersObject(r,o,u),f="search:aggregation:".concat(t,":").concat(r,":").concat(d,":");f+=Object.keys(p).sort().map((function(e){return p[e]})).join(":"),f+=":"+m.join(":");var y={indices:["user"],searchType:n.User,isLearner:!1,type:a.TermsGroupBy,userId:t.toString(),customerId:r.toString(),data:{field:d},idFilters:m,filters:p};return{url:"{gateway}/v1/search/aggregation",type:s.k.POST,key:f,data:y,normalize:!1,formatData:function(e){var t=e.termCount;return d!==l.q.Status?t:Object.keys(t).reduce((function(e,r){return e[r.charAt(0).toUpperCase()+r.slice(1)]=t[r],e}),{})}}},bulkToggleActivation:function(e,t,r,n,a){return{url:"{gateway}/v1/users/status",key:"update:users:status",type:s.k.PUT,data:e,success:r,error:n,always:a,invalidationKeys:["school:users:".concat(e.customerId,":").concat(t)].concat((o=e.users.map((function(e){return"school:users:".concat(e.userId)})),function(e){if(Array.isArray(e))return d(e)}(o)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(o)||function(e,t){if(e){if("string"==typeof e)return d(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?d(e,t):void 0}}(o)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),["search:aggregation"])};var o},bulkValidate:function(e,t,r,n,a){return{url:"{gateway}/v1/users/validate",type:s.k.POST,key:"validate:users",data:e,success:r,error:n,always:a,normalize:!1,formatData:function(e){return e.failedResults.map((function(e){return{errorCodes:e.errorCodes,users:[e.user]}}))}}},yearGroups:function(e){return{url:"{gateway}/v1/customers/".concat(e,"/year-groups?query={orderby:value}"),key:"yeargroups:".concat(e)}},updateAvatar:function(e,t,r,n){return{url:"{gateway}/v1/users/me/avatar",key:"update:avatar",type:s.k.PUT,invalidationKeys:["currentuser","school:users:".concat(t)],data:{fileId:e,fileIdType:i.z9.ImageAPIv2},success:r,error:n}},deleteAvatar:function(e,t,r,n){return{url:"{gateway}/v1/users/me/avatar/".concat(e),key:"delete:avatar",type:s.k.DELETE,updateState:{keys:["school:users:".concat(t),"currentuser"],updateData:function(e){var r,n=e["school:users:".concat(t)],a=e.currentuser;return n.avatar=null,a.avatar=null,m(r={},"school:users:".concat(t),n),m(r,"currentuser",a),r}},success:r,error:n}},changeEmail:function(e,t,r,n){return{url:"{gateway}/v1/users/me/email",key:"change:email",type:s.k.PUT,data:{email:e},success:t,error:r,always:n}},changePassword:function(e,t,r,n){return{url:"{gateway}/v1/users/me/password",key:"change:password",type:s.k.PUT,data:{currentPassword:e.currentPassword,newPassword:e.newPassword},success:t,error:r,always:n}},changeUserPassword:function(e,t,r,n,a,o,i){return{url:"{gateway}/v1/users/admin/change-password",key:"change:password:".concat(t,":").concat(e),type:s.k.PUT,data:{userId:e,newPassword:r,changeOnNextLogin:n},success:a,error:o,always:i}},resendActivationEmail:function(e,t,r){return{url:"{gateway}/v1/users/admin/activation",key:"send:activation:email",type:s.k.POST,data:{userId:e},success:t,error:r}},sendPasswordResetEmail:function(e,t,r,n){return{url:"{gateway}/v1/users/admin/account-reminder",key:"send:password:reset:email",type:s.k.POST,data:{userIds:[e],customerId:t},success:r,error:n}},resendVerificationEmail:function(e,t,r,n){return{url:"{gateway}/v1/users/admin/email-verification",key:"send:verification:email",type:s.k.POST,data:{userId:e,customerId:t},success:r,error:n}},exportList:function(e,t,r,n){return{url:o._.urlBuilder("{gateway}/v1/customers/".concat(e,"/users/report"),{userType:t}),key:"export:users:".concat(t),type:s.k.GET,formatData:function(e){return"data:text/csv;charset=utf-8,".concat(e)},success:r,error:n,invalidationKeys:["export:users:".concat(t)],normalize:!1}},userCount:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=c.P.buildSearchParams(e,t,r),a="search:user:count";return a+=Object.keys(n).sort().map((function(e){return n[e]})).join(":"),{url:o._.urlBuilder("{gateway}/v1/search/user/count",n),key:a,normalize:!1}},authenticationMethods:function(e){return{url:o._.urlBuilder("{gateway}/v1/users/authentication-methods",{id:e}),key:"login:methods:".concat(e.sort().join(":")),normalizeOptions:{idAttribute:"userId"}}},getIdentityProviders:function(e){return{url:"{gateway}/v1/customers/".concat(e,"/identity-providers"),key:"identity:providers:".concat(e),normalize:!1}},getSsoMappings:function(e){return{url:"{gateway}/v1/customers/".concat(e,"/sso-year-group-mappings"),key:"sso:year:group:mappings:".concat(e),normalize:!1}},updateSsoMappings:function(e,t){return{url:"{gateway}/v1/customers/".concat(e,"/sso-year-group-mappings"),key:"sso:year:group:mappings:".concat(e,":update"),type:s.k.POST,invalidationKeys:"sso:year:group:mappings:".concat(e),data:t}}}},41063:(e,t,r)=>{r.d(t,{b:()=>s});var n=r(22902),a=r(37802),o=r(16714);function s(){var e=(0,n.T)().hasPermissions;return(0,a.r)(null).manageVideoAccess&&e(o.C.ManageVideoAccess)}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk_clickview_lite=self.webpackChunk_clickview_lite||[]).push([[3533],{70197:(e,r,t)=>{var a;t.d(r,{q:()=>a}),function(e){e.YearGroupValues="yearGroupValues",e.Status="status"}(a||(a={}))},39872:(e,r,t)=>{t.d(r,{N:()=>g});var a,n,s=t(97395),o=t(99940),u=t(54610),c=t(39739);!function(e){e.Content="content",e.OnlineContent="online_content",e.User="user",e.Customer="customer",e.Tag="tag",e.Organisation="organisation",e.Channel="channel"}(a||(a={})),function(e){e.TermsGroupBy="terms-group-by"}(n||(n={}));var i=t(70197);function l(e){return l="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},l(e)}function d(e,r,t){return(r=function(e){var r=function(e,r){if("object"!==l(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var a=t.call(e,"string");if("object"!==l(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===l(r)?r:String(r)}(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function y(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,a=new Array(r);t<r;t++)a[t]=e[t];return a}var g={getUsers:function(e,r){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=arguments.length>3?arguments[3]:void 0,n=arguments.length>4?arguments[4]:void 0,o=arguments.length>5?arguments[5]:void 0,u={query:c.P.buildGetUsersQuery(r,t)};a&&(u.cursor=a);var i="school:users:".concat(e,":").concat(r);return i+=Object.keys(u).map((function(e){return u[e]})).join(":"),{url:s._.urlBuilder("{gateway}/v1/customers/".concat(e,"/users"),u),key:i,success:n,error:o}},getUser:function(e){return{url:"{gateway}/v1/users/".concat(e,"?query=avatar"),key:"school:users:".concat(e)}},bulkRemoveUsers:function(e,r,t,a){var n,s=["school:users","search:users","search:aggregation"];return(null===(n=e.userIds)||void 0===n?void 0:n.length)&&e.userIds.forEach((function(e){return s.push("school:users:".concat(e))})),{url:"{gateway}/v1/users/delete",key:"remove:school:users",invalidationKeys:s,type:o.k.POST,data:e,success:r,error:t,always:a}},createUsers:function(e,r,t,a,n){return{url:"{gateway}/v1/users",key:"create:users",data:e,type:o.k.POST,invalidationKeys:["school:users","user:count"],success:t,error:a,always:n,normalize:!1}},updateUser:function(e,r,t,a,n){var s=["school:users:".concat(e.userId)];return r.toString()===e.userId.toString()&&s.push("currentuser"),{url:"{gateway}/v1/users",key:"edit:user",type:o.k.PUT,data:e,invalidationKeys:["search:aggregation"],success:t,error:a,always:n}},searchUsers:function(e,r){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=arguments.length>3?arguments[3]:void 0,n=arguments.length>4?arguments[4]:void 0,o=arguments.length>5?arguments[5]:void 0,u=c.P.buildSearchParams(e,r,t);a&&(u.cursor=a);var i="search:users:".concat(a);return i+=Object.keys(u).sort().map((function(e){return u[e]})).join(":"),{url:s._.urlBuilder("{gateway}/v1/search/users",u),key:i,success:n,error:o}},getSearchUserIds:function(e,r){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=arguments.length>3?arguments[3]:void 0,n=arguments.length>4?arguments[4]:void 0,o=c.P.buildSearchParams(e,r,t),u="search:user:ids";return u+=Object.keys(o).sort().map((function(e){return o[e]})).join(":"),{url:s._.urlBuilder("{gateway}/v1/search/user/ids",o),key:u,normalize:!1,success:a,error:n}},getSearchAggregation:function(e){var r=e.userId,t=e.customerId,s=e.userType,u=e.queryParams,l=void 0===u?{}:u,d=e.userIds,y=e.field,g=c.P.buildSearchFiltersObject(t,s,l),p="search:aggregation:".concat(r,":").concat(t,":").concat(y,":");p+=Object.keys(g).sort().map((function(e){return g[e]})).join(":"),p+=":"+d.join(":");var v={indices:["user"],searchType:a.User,isLearner:!1,type:n.TermsGroupBy,userId:r.toString(),customerId:t.toString(),data:{field:y},idFilters:d,filters:g};return{url:"{gateway}/v1/search/aggregation",type:o.k.POST,key:p,data:v,normalize:!1,formatData:function(e){var r=e.termCount;return y!==i.q.Status?r:Object.keys(r).reduce((function(e,t){return e[t.charAt(0).toUpperCase()+t.slice(1)]=r[t],e}),{})}}},bulkToggleActivation:function(e,r,t,a,n){return{url:"{gateway}/v1/users/status",key:"update:users:status",type:o.k.PUT,data:e,success:t,error:a,always:n,invalidationKeys:["school:users:".concat(e.customerId,":").concat(r)].concat((s=e.users.map((function(e){return"school:users:".concat(e.userId)})),function(e){if(Array.isArray(e))return y(e)}(s)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(s)||function(e,r){if(e){if("string"==typeof e)return y(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?y(e,r):void 0}}(s)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),["search:aggregation"])};var s},bulkValidate:function(e,r,t,a,n){return{url:"{gateway}/v1/users/validate",type:o.k.POST,key:"validate:users",data:e,success:t,error:a,always:n,normalize:!1,formatData:function(e){return e.failedResults.map((function(e){return{errorCodes:e.errorCodes,users:[e.user]}}))}}},yearGroups:function(e){return{url:"{gateway}/v1/customers/".concat(e,"/year-groups?query={orderby:value}"),key:"yeargroups:".concat(e)}},updateAvatar:function(e,r,t,a){return{url:"{gateway}/v1/users/me/avatar",key:"update:avatar",type:o.k.PUT,invalidationKeys:["currentuser","school:users:".concat(r)],data:{fileId:e,fileIdType:u.z9.ImageAPIv2},success:t,error:a}},deleteAvatar:function(e,r,t,a){return{url:"{gateway}/v1/users/me/avatar/".concat(e),key:"delete:avatar",type:o.k.DELETE,updateState:{keys:["school:users:".concat(r),"currentuser"],updateData:function(e){var t,a=e["school:users:".concat(r)],n=e.currentuser;return a.avatar=null,n.avatar=null,d(t={},"school:users:".concat(r),a),d(t,"currentuser",n),t}},success:t,error:a}},changeEmail:function(e,r,t,a){return{url:"{gateway}/v1/users/me/email",key:"change:email",type:o.k.PUT,data:{email:e},success:r,error:t,always:a}},changePassword:function(e,r,t,a){return{url:"{gateway}/v1/users/me/password",key:"change:password",type:o.k.PUT,data:{currentPassword:e.currentPassword,newPassword:e.newPassword},success:r,error:t,always:a}},changeUserPassword:function(e,r,t,a,n,s,u){return{url:"{gateway}/v1/users/admin/change-password",key:"change:password:".concat(r,":").concat(e),type:o.k.PUT,data:{userId:e,newPassword:t,changeOnNextLogin:a},success:n,error:s,always:u}},resendActivationEmail:function(e,r,t){return{url:"{gateway}/v1/users/admin/activation",key:"send:activation:email",type:o.k.POST,data:{userId:e},success:r,error:t}},sendPasswordResetEmail:function(e,r,t,a){return{url:"{gateway}/v1/users/admin/account-reminder",key:"send:password:reset:email",type:o.k.POST,data:{userIds:[e],customerId:r},success:t,error:a}},resendVerificationEmail:function(e,r,t,a){return{url:"{gateway}/v1/users/admin/email-verification",key:"send:verification:email",type:o.k.POST,data:{userId:e,customerId:r},success:t,error:a}},exportList:function(e,r,t,a){return{url:s._.urlBuilder("{gateway}/v1/customers/".concat(e,"/users/report"),{userType:r}),key:"export:users:".concat(r),type:o.k.GET,formatData:function(e){return"data:text/csv;charset=utf-8,".concat(e)},success:t,error:a,invalidationKeys:["export:users:".concat(r)],normalize:!1}},userCount:function(e,r){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=c.P.buildSearchParams(e,r,t),n="search:user:count";return n+=Object.keys(a).sort().map((function(e){return a[e]})).join(":"),{url:s._.urlBuilder("{gateway}/v1/search/user/count",a),key:n,normalize:!1}},authenticationMethods:function(e){return{url:s._.urlBuilder("{gateway}/v1/users/authentication-methods",{id:e}),key:"login:methods:".concat(e.sort().join(":")),normalizeOptions:{idAttribute:"userId"}}},getIdentityProviders:function(e){return{url:"{gateway}/v1/customers/".concat(e,"/identity-providers"),key:"identity:providers:".concat(e),normalize:!1}},getSsoMappings:function(e){return{url:"{gateway}/v1/customers/".concat(e,"/sso-year-group-mappings"),key:"sso:year:group:mappings:".concat(e),normalize:!1}},updateSsoMappings:function(e,r){return{url:"{gateway}/v1/customers/".concat(e,"/sso-year-group-mappings"),key:"sso:year:group:mappings:".concat(e,":update"),type:o.k.POST,invalidationKeys:"sso:year:group:mappings:".concat(e),data:r}}}},30027:(e,r,t)=>{t.r(r),t.d(r,{ChangePasswordView:()=>S});var a=t(1024),n=t.n(a),s=t(20354),o=t(23481),u=t(9111),c=t(82644),i=t(69883),l=t(68670),d=t(83345),y="userManager.changePasswordSsoWarning";function g(){return n().createElement("div",{className:"alert alert-warning"},n().createElement(d.x,{namespace:y,phrase:"ssoWarning"}))}var p=t(16715),v=t(39872),m=t(31949),f=t(706),h=t(39739),w=t(55452),k=t(76881),P=o.T.encloseNamespace("userManager.changePassword"),b={newPassword:"",confirmPassword:"",changeOnNextLogin:!0};function S(e){var r,t,a=s.a.useBasicFetch(m.N.currentUser()),o=s.a.useBasicFetch(v.N.getUser(e.userId)),d=s.a.useBasicFetch(a.data&&f.F.getCustomerSecuritySettings(a.data.customerId)),y=null===(r=o.data)||void 0===r?void 0:r.userType,S=null===(t=o.data)||void 0===t?void 0:t.role,I=s.a.useGetFetchAsync(),T=(0,i.Z)(),O=h.P.getMinimumPasswordLength(d.data,y,S),U=!!d.data&&!!o.data;return n().createElement(u.G,{title:P("title"),closePopup:e.closePopup,showLoadingSpinner:!U},!!U&&w.l.hasSso(o.data)&&n().createElement(g,null),n().createElement(c.n,{initialValues:b,onSubmit:function(r){var t=v.N.changeUserPassword(e.userId,y,r.newPassword,r.changeOnNextLogin);I(t).then((function(){return T.success(P("success"))})).catch((function(){return T.error(P("error"))})).finally(e.closePopup)},validationSchema:(0,p.U)(O)},U&&n().createElement(l.p,{onClickCancel:e.closePopup,submitVariant:"dark",buttonContainerClass:"border-top d-flex justify-content-end align-items-center pt-3 px-3 mx-n3",showChangeOnNextLogin:y===k.Y.Learner,hideCurrentPassword:!0})))}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk_clickview_lite=self.webpackChunk_clickview_lite||[]).push([[6285],{64767:(e,t,n)=>{n.r(t),n.d(t,{BulkUserActionsResetPasswordActionDetailsView:()=>C});var r=n(1024),a=n.n(r),s=n(20354),i=n(31949),o=n(58703),l=n(92802),u=n(2948),c=n(83345),d=n(38143),m=n(82644),f=n(68670),p=n(16715),h=n(96728);function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var g="userManager.bulkUserActionsResetPasswordActionDetails",w={newPassword:"",confirmPassword:"",changeOnNextLogin:!0};function y(e){var t=(0,l.u6)();return a().useEffect((function(){var n,r;e.onUpdate(null===(n=t.values)||void 0===n?void 0:n.newPassword,null===(r=t.values)||void 0===r?void 0:r.changeOnNextLogin,t.isValid&&t.dirty)}),[t.isValid,t.values]),a().createElement(f.p,{inputWidthClass:"w-50",hideButtons:!0,hideCurrentPassword:!0,showChangeOnNextLogin:!0})}function b(e){var t,n,r=(t=(0,u.D)(d.g.BULK_USER_ACTIONS),n=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,s,i,o=[],l=!0,u=!1;try{if(s=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=s.call(n)).done)&&(o.push(r.value),o.length!==t);l=!0);}catch(e){u=!0,a=e}finally{try{if(!l&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(u)throw a}}return o}}(t,n)||function(e,t){if(e){if("string"==typeof e)return v(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?v(e,t):void 0}}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[1],s=a().useContext(h.e),i=s.disableNext,o=s.setDisableNext;return a().useEffect((function(){o(!0)}),[]),a().useEffect((function(){r("subAction","resetPassword")}),[]),a().createElement(a().Fragment,null,a().createElement("h2",{className:"h4 mb-3"},a().createElement(c.x,{namespace:g,phrase:"heading"})),a().createElement("p",null,a().createElement(c.x,{namespace:g,phrase:"info",options:{smartCount:e.totalUsers}})),a().createElement("div",{className:"px-2 pt-2 border rounded mb-2 pb-0"},a().createElement("ul",{className:"mt-2 pl-3 ml-1"},a().createElement("li",null,a().createElement(c.x,{namespace:g,phrase:"ssoWarning"}))),a().createElement(m.n,{initialValues:w,onSubmit:function(){},validationSchema:(0,p.U)(e.minPasswordLength)},a().createElement(y,{onUpdate:function(e,t,n){n&&i&&o(!1),n||i||o(!0),r("password",e),r("changeOnNextLogin",t)}}))))}var E=n(88323),x=n(18087),A=n(706),S=n(39739),U=n(86613);function C(e){var t=(0,E.h)(e.userType),n=t.users,r=t.count,l=(0,x.Y)(e.userType),u=s.a.useBasicFetch(i.N.currentUser()),c=s.a.useBasicFetch(u.data&&A.F.getCustomerSecuritySettings(u.data.customerId)),d=S.P.getMinimumPasswordLength(c.data,e.userType,U.i.User);return a().createElement(o.d,{appLinks:l,userType:e.userType,users:n,currentStep:"action-details",userCount:r,loaded:!0},a().createElement(b,{minPasswordLength:d,totalUsers:r,appLinks:l}))}}}]);