@clickview/lite 0.30.1-rc.0 → 0.30.2

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 (587) hide show
  1. package/.eslintrc.json +3 -0
  2. package/dist/bundles.json +3 -3
  3. package/dist/css/{1064-lite-e6ec84fd3f.chunk.css → 1410-lite-26ab29aa8c.chunk.css} +9 -11
  4. package/dist/css/{9714-lite-194caaa213.chunk.css → 1419-lite-d52c7e4c5a.chunk.css} +6 -7
  5. package/dist/css/{275-lite-71b01cc990.chunk.css → 157-lite-4062b848d8.chunk.css} +8 -10
  6. package/dist/css/1725-lite-784f55ea22.chunk.css +3 -0
  7. package/dist/css/1726-lite-a6069ef511.chunk.css +1 -0
  8. package/dist/css/{9118-lite-843a13bfcc.chunk.css → 1805-lite-55dbd057b8.chunk.css} +1 -2
  9. package/dist/css/{1820-lite-2e8b8f3d56.chunk.css → 1820-lite-ef968a403a.chunk.css} +0 -1
  10. package/dist/css/{2477-lite-416e958638.chunk.css → 2675-lite-4edf022f84.chunk.css} +8 -10
  11. package/dist/css/{7286-lite-da823e464b.chunk.css → 2755-lite-ca3921d92f.chunk.css} +7 -9
  12. package/dist/css/{2118-lite-74522bc90f.chunk.css → 2835-lite-8b6845e895.chunk.css} +1 -0
  13. package/dist/css/{8035-lite-e6ec84fd3f.chunk.css → 2856-lite-21cbe59080.chunk.css} +8 -10
  14. package/dist/css/{3755-lite-21f15b7906.chunk.css → 3094-lite-9473436b64.chunk.css} +6 -7
  15. package/dist/css/{1526-lite-d9c7560726.chunk.css → 3129-lite-8dcbcce0ae.chunk.css} +2 -3
  16. package/dist/css/{3654-lite-da165be245.chunk.css → 3245-lite-1708f1512d.chunk.css} +2 -3
  17. package/dist/css/{3154-lite-11158838c0.chunk.css → 3505-lite-f13e4562ae.chunk.css} +3 -4
  18. package/dist/css/{3645-lite-304423256b.chunk.css → 3645-lite-85a5f1ffe8.chunk.css} +1 -2
  19. package/dist/css/{4393-lite-da165be245.chunk.css → 375-lite-8dcbcce0ae.chunk.css} +1 -2
  20. package/dist/css/{7515-lite-01b143fa0b.chunk.css → 3879-lite-8b6845e895.chunk.css} +1 -2
  21. package/dist/css/{4537-lite-beac80e560.chunk.css → 4090-lite-c73b1d27de.chunk.css} +4 -5
  22. package/dist/css/{8500-lite-6cb624c329.chunk.css → 4210-lite-aafbbb1c85.chunk.css} +9 -11
  23. package/dist/css/4690-lite-5a84a37ecb.chunk.css +2 -0
  24. package/dist/css/{2066-lite-4e16a83a36.chunk.css → 4812-lite-9cf3338f3e.chunk.css} +34 -36
  25. package/dist/css/{2729-lite-15aa778737.chunk.css → 4840-lite-fe6a7995dc.chunk.css} +8 -10
  26. package/dist/css/5048-lite-e3b19547a6.chunk.css +4 -0
  27. package/dist/css/{5590-lite-e6ec84fd3f.chunk.css → 5330-lite-80b37de1cd.chunk.css} +13 -12
  28. package/dist/css/{2095-lite-32dcae3b59.chunk.css → 5347-lite-f8824ba1b2.chunk.css} +1 -3
  29. package/dist/css/{4874-lite-15aa778737.chunk.css → 5356-lite-fe6a7995dc.chunk.css} +8 -10
  30. package/dist/css/{6932-lite-944c5933dc.chunk.css → 5533-lite-c62cfcd0ef.chunk.css} +7 -9
  31. package/dist/css/{5595-lite-2e6f96854b.chunk.css → 5595-lite-3443a53fd0.chunk.css} +0 -2
  32. package/dist/css/{1781-lite-d3216fb72f.chunk.css → 5645-lite-e8f5b31ec7.chunk.css} +16 -15
  33. package/dist/css/5769-lite-26ab29aa8c.chunk.css +27 -0
  34. package/dist/css/{6930-lite-e4bd458c08.chunk.css → 5833-lite-953b2df0e3.chunk.css} +0 -1
  35. package/dist/css/5869-lite-4591628509.chunk.css +28 -0
  36. package/dist/css/{8367-lite-a3507f7491.chunk.css → 5940-lite-a4cdb20903.chunk.css} +2 -3
  37. package/dist/css/{2235-lite-da165be245.chunk.css → 6152-lite-1708f1512d.chunk.css} +2 -3
  38. package/dist/css/{7341-lite-abb86816df.chunk.css → 6186-lite-7dc5e5f000.chunk.css} +0 -1
  39. package/dist/css/{3012-lite-35885ce429.chunk.css → 6325-lite-c92aa18439.chunk.css} +2 -3
  40. package/dist/css/{1291-lite-1c4780743f.chunk.css → 6427-lite-df0bdfb283.chunk.css} +2 -3
  41. package/dist/css/{4145-lite-a27eec9ae8.chunk.css → 65-lite-f6ef9091fb.chunk.css} +7 -9
  42. package/dist/css/6866-lite-a6069ef511.chunk.css +1 -0
  43. package/dist/css/{2701-lite-62beed2a51.chunk.css → 6884-lite-b671289d33.chunk.css} +14 -17
  44. package/dist/css/6913-lite-a6069ef511.chunk.css +1 -0
  45. package/dist/css/7056-lite-2130360eaa.chunk.css +2 -0
  46. package/dist/css/{2208-lite-2d92008860.chunk.css → 7069-lite-84d84f9643.chunk.css} +1 -2
  47. package/dist/css/{1863-lite-41eac57107.chunk.css → 7510-lite-5a94c338d4.chunk.css} +1 -2
  48. package/dist/css/{6154-lite-b8ba830cd3.chunk.css → 7808-lite-a1ae83bd63.chunk.css} +8 -9
  49. package/dist/css/{6254-lite-d969bbf4ac.chunk.css → 8072-lite-98599b0065.chunk.css} +7 -9
  50. package/dist/css/{6689-lite-385dfbe1d8.chunk.css → 8300-lite-cca9a2f323.chunk.css} +1 -2
  51. package/dist/css/{6822-lite-927bfd9703.chunk.css → 8531-lite-45c116a848.chunk.css} +13 -15
  52. package/dist/css/{6330-lite-bd40e9c904.chunk.css → 8779-lite-2daf9e9a3c.chunk.css} +0 -1
  53. package/dist/css/{8830-lite-6ec13eef7c.chunk.css → 8830-lite-fb1cdc777e.chunk.css} +0 -1
  54. package/dist/css/{4026-lite-62beed2a51.chunk.css → 8882-lite-b671289d33.chunk.css} +14 -17
  55. package/dist/css/{389-lite-f591cce0a7.chunk.css → 8944-lite-74cb244872.chunk.css} +0 -1
  56. package/dist/css/{8556-lite-cdf9814e9a.chunk.css → 9029-lite-426f004e96.chunk.css} +11 -16
  57. package/dist/css/924-lite-1708f1512d.chunk.css +3 -0
  58. package/dist/css/{1285-lite-f0b44829ca.chunk.css → 9556-lite-1217c582af.chunk.css} +0 -1
  59. package/dist/css/{4380-lite-cdf9814e9a.chunk.css → 9642-lite-e8f5b31ec7.chunk.css} +8 -11
  60. package/dist/css/{6117-lite-fe222571f3.chunk.css → 9814-lite-9acceb877a.chunk.css} +2 -3
  61. package/dist/css/9897-lite-80875dbcaf.chunk.css +1 -0
  62. package/dist/css/{7952-lite-0a9d045149.chunk.css → 9902-lite-0bafaff9d8.chunk.css} +7 -9
  63. package/dist/css/{4229-lite-6aa69cd401.chunk.css → 996-lite-bd985bffcc.chunk.css} +20 -22
  64. package/dist/css/{lite-app-1d0c2fd2b0.css → lite-app-de899ee69e.css} +105 -16
  65. package/dist/languages/en.json +1 -1
  66. package/dist/scripts/{1106-bff7c39251-lite.chunk.js → 1106-0f86da7d7a-lite.chunk.js} +1 -1
  67. package/dist/scripts/{1200-9a411abf42-lite.chunk.js → 1200-549e8b8abc-lite.chunk.js} +2 -2
  68. package/dist/scripts/1291-ed90014a0d-lite.chunk.js +1 -0
  69. package/dist/scripts/1324-b353cefaa0-lite.chunk.js +1 -0
  70. package/dist/scripts/1341-522b48ab88-lite.chunk.js +1 -0
  71. package/dist/scripts/{1354-635a2024da-lite.chunk.js → 1354-3346c46c0a-lite.chunk.js} +2 -2
  72. package/dist/scripts/1410-2c7a02d51b-lite.chunk.js +1 -0
  73. package/dist/scripts/1419-813a43acd2-lite.chunk.js +1 -0
  74. package/dist/scripts/1475-e8e933f8ec-lite.chunk.js +1 -0
  75. package/dist/scripts/{1518-277693df55-lite.chunk.js → 1518-015dad7e32-lite.chunk.js} +1 -1
  76. package/dist/scripts/157-0f37b0d04d-lite.chunk.js +1 -0
  77. package/dist/scripts/{1592-dcc4772f16-lite.chunk.js → 1592-7573d29b17-lite.chunk.js} +2 -2
  78. package/dist/scripts/{1628-b13c0d7b41-lite.chunk.js → 1628-14ff83c3ab-lite.chunk.js} +1 -1
  79. package/dist/scripts/1672-6bed3f0c16-lite.chunk.js +2 -0
  80. package/dist/scripts/1725-f91870bf3e-lite.chunk.js +1 -0
  81. package/dist/scripts/1726-e2300b7de6-lite.chunk.js +1 -0
  82. package/dist/scripts/1766-de9cabbd90-lite.chunk.js +1 -0
  83. package/dist/scripts/1805-fb2c59deb6-lite.chunk.js +1 -0
  84. package/dist/scripts/1818-7bce6fbbc5-lite.chunk.js +1 -0
  85. package/dist/scripts/1820-020925054d-lite.chunk.js +1 -0
  86. package/dist/scripts/{4763-42f4ee27a6-lite.chunk.js → 1830-1f2cd59b2a-lite.chunk.js} +1 -1
  87. package/dist/scripts/{1837-0673045eda-lite.chunk.js → 1837-d61969e2e5-lite.chunk.js} +1 -1
  88. package/dist/scripts/{8292-ab603bf688-lite.chunk.js → 1891-fc22c8c80e-lite.chunk.js} +1 -1
  89. package/dist/scripts/1913-1f5336f128-lite.chunk.js +1 -0
  90. package/dist/scripts/{1924-2a21fe2738-lite.chunk.js → 1924-cba94abb2d-lite.chunk.js} +1 -1
  91. package/dist/scripts/{1943-119060ac7f-lite.chunk.js → 1943-9885fdda1a-lite.chunk.js} +1 -1
  92. package/dist/scripts/1958-cf002b0d1c-lite.chunk.js +1 -0
  93. package/dist/scripts/{2175-0ee6619ca7-lite.chunk.js → 2175-0f84f00e1b-lite.chunk.js} +1 -1
  94. package/dist/scripts/{2199-e53e42509e-lite.chunk.js → 2199-d847f87dff-lite.chunk.js} +1 -1
  95. package/dist/scripts/{2229-bc14b074ed-lite.chunk.js → 2229-3e6a038b93-lite.chunk.js} +1 -1
  96. package/dist/scripts/{227-7c680a98a4-lite.chunk.js → 227-b2189f910f-lite.chunk.js} +1 -1
  97. package/dist/scripts/2272-9f8e109564-lite.chunk.js +1 -0
  98. package/dist/scripts/2279-f604704516-lite.chunk.js +1 -0
  99. package/dist/scripts/{2318-fb3aa4398a-lite.chunk.js → 2318-0ff14c0bd3-lite.chunk.js} +1 -1
  100. package/dist/scripts/{2469-90dd90645b-lite.chunk.js → 2469-a665c8bcd7-lite.chunk.js} +1 -1
  101. package/dist/scripts/{2561-1e0b389a7a-lite.chunk.js → 2561-6e9be00863-lite.chunk.js} +1 -1
  102. package/dist/scripts/{2566-2f7100a498-lite.chunk.js → 2566-4d4210b567-lite.chunk.js} +1 -1
  103. package/dist/scripts/2608-3fd5d617da-lite.chunk.js +1 -0
  104. package/dist/scripts/{2665-cb6dff1d0e-lite.chunk.js → 2665-1b4bfb587b-lite.chunk.js} +1 -1
  105. package/dist/scripts/2675-a7ad35ae0d-lite.chunk.js +1 -0
  106. package/dist/scripts/2755-5b8e88a5ea-lite.chunk.js +1 -0
  107. package/dist/scripts/2835-a21c8103a7-lite.chunk.js +2 -0
  108. package/dist/scripts/2856-6174c28732-lite.chunk.js +1 -0
  109. package/dist/scripts/{2966-a88d11d626-lite.chunk.js → 2966-6cea808843-lite.chunk.js} +1 -1
  110. package/dist/scripts/3020-90d53525c7-lite.chunk.js +1 -0
  111. package/dist/scripts/3094-3697913391-lite.chunk.js +1 -0
  112. package/dist/scripts/3108-742edbe1cb-lite.chunk.js +1 -0
  113. package/dist/scripts/3129-f71b5ac677-lite.chunk.js +1 -0
  114. package/dist/scripts/{3171-88406511bb-lite.chunk.js → 3171-8b56e5dc82-lite.chunk.js} +1 -1
  115. package/dist/scripts/{1891-f871c22b2f-lite.chunk.js → 3200-34b13082a8-lite.chunk.js} +1 -1
  116. package/dist/scripts/3216-f4a39ad76e-lite.chunk.js +1 -0
  117. package/dist/scripts/3245-d069659e8b-lite.chunk.js +1 -0
  118. package/dist/scripts/3285-b6ef740841-lite.chunk.js +1 -0
  119. package/dist/scripts/3378-98b9150947-lite.chunk.js +1 -0
  120. package/dist/scripts/{3468-5c42c3f485-lite.chunk.js → 3468-1402df4f32-lite.chunk.js} +1 -1
  121. package/dist/scripts/3505-35cda2aacc-lite.chunk.js +1 -0
  122. package/dist/scripts/3514-11b3a7031c-lite.chunk.js +1 -0
  123. package/dist/scripts/3533-141e2a9d8c-lite.chunk.js +1 -0
  124. package/dist/scripts/{3602-9e631593b1-lite.chunk.js → 3602-86e3ad2e1c-lite.chunk.js} +2 -2
  125. package/dist/scripts/3645-0023a3c2ef-lite.chunk.js +2 -0
  126. package/dist/scripts/3667-b8cfdfbb44-lite.chunk.js +2 -0
  127. package/dist/scripts/{3728-12a39b4a42-lite.chunk.js → 3728-200482d1b0-lite.chunk.js} +1 -1
  128. package/dist/scripts/3729-146a85a465-lite.chunk.js +1 -0
  129. package/dist/scripts/375-37936e0321-lite.chunk.js +1 -0
  130. package/dist/scripts/3754-dd8d9ebd14-lite.chunk.js +1 -0
  131. package/dist/scripts/3787-f53a50bb54-lite.chunk.js +1 -0
  132. package/dist/scripts/{7515-08ba1635e4-lite.chunk.js → 3879-1f6a71b0e1-lite.chunk.js} +2 -2
  133. package/dist/scripts/389-5b4ef87c08-lite.chunk.js +1 -0
  134. package/dist/scripts/3962-698cdf0810-lite.chunk.js +1 -0
  135. package/dist/scripts/4067-e5a60745aa-lite.chunk.js +1 -0
  136. package/dist/scripts/4090-654e4ae340-lite.chunk.js +1 -0
  137. package/dist/scripts/414-451bbb3e9d-lite.chunk.js +1 -0
  138. package/dist/scripts/{4182-f84b364819-lite.chunk.js → 4182-2c2c5571a6-lite.chunk.js} +1 -1
  139. package/dist/scripts/4210-5102f81ead-lite.chunk.js +1 -0
  140. package/dist/scripts/4326-ecdc420ecb-lite.chunk.js +1 -0
  141. package/dist/scripts/{4343-ab569983cb-lite.chunk.js → 4343-c52a4e0042-lite.chunk.js} +1 -1
  142. package/dist/scripts/{4423-15fcd2a632-lite.chunk.js → 4423-0321858398-lite.chunk.js} +1 -1
  143. package/dist/scripts/{4541-169300086f-lite.chunk.js → 4541-a119433212-lite.chunk.js} +1 -1
  144. package/dist/scripts/4617-9aabc8fdde-lite.chunk.js +1 -0
  145. package/dist/scripts/4632-816d5010d4-lite.chunk.js +1 -0
  146. package/dist/scripts/{4676-bb8b7e034f-lite.chunk.js → 4676-020a60c057-lite.chunk.js} +2 -2
  147. package/dist/scripts/4690-3572f41eab-lite.chunk.js +1 -0
  148. package/dist/scripts/{4770-02ee901240-lite.chunk.js → 4770-3c09f8eaa4-lite.chunk.js} +1 -1
  149. package/dist/scripts/4812-60103d16b0-lite.chunk.js +2 -0
  150. package/dist/scripts/{482-91567ba9a5-lite.chunk.js → 482-97936e39ed-lite.chunk.js} +1 -1
  151. package/dist/scripts/4893-378ff6874a-lite.chunk.js +1 -0
  152. package/dist/scripts/{4895-c190fe08db-lite.chunk.js → 4895-9f5bae5afe-lite.chunk.js} +1 -1
  153. package/dist/scripts/{5018-5e67147716-lite.chunk.js → 5018-a0552ac60e-lite.chunk.js} +1 -1
  154. package/dist/scripts/5048-7431f34b22-lite.chunk.js +1 -0
  155. package/dist/scripts/{510-6b29b1c65e-lite.chunk.js → 510-88d82082a6-lite.chunk.js} +1 -1
  156. package/dist/scripts/{5983-45f1df7cdf-lite.chunk.js → 5134-2cde05b9e1-lite.chunk.js} +1 -1
  157. package/dist/scripts/5143-9942f1a64c-lite.chunk.js +1 -0
  158. package/dist/scripts/5173-1de1a1084c-lite.chunk.js +1 -0
  159. package/dist/scripts/528-c7f9d5fd8b-lite.chunk.js +1 -0
  160. package/dist/scripts/5291-d8de9e0a12-lite.chunk.js +1 -0
  161. package/dist/scripts/5330-af833082db-lite.chunk.js +1 -0
  162. package/dist/scripts/5347-734b9ab0fe-lite.chunk.js +1 -0
  163. package/dist/scripts/5356-8fe7dbc384-lite.chunk.js +1 -0
  164. package/dist/scripts/{9016-4f396c0fe7-lite.chunk.js → 5512-fdcbe4ecee-lite.chunk.js} +1 -1
  165. package/dist/scripts/5533-6f7c8aeca4-lite.chunk.js +1 -0
  166. package/dist/scripts/5595-1d79fddb5c-lite.chunk.js +1 -0
  167. package/dist/scripts/{1090-6357a8481e-lite.chunk.js → 5606-217c73cdd7-lite.chunk.js} +1 -1
  168. package/dist/scripts/{5622-df1c9f72f5-lite.chunk.js → 5622-f59cb146d5-lite.chunk.js} +2 -2
  169. package/dist/scripts/{8556-4258698c18-lite.chunk.js → 5645-b39f0da70a-lite.chunk.js} +1 -1
  170. package/dist/scripts/5769-5d1b10e2e2-lite.chunk.js +1 -0
  171. package/dist/scripts/5776-f888ee7ad1-lite.chunk.js +1 -0
  172. package/dist/scripts/{5823-d64e3ad325-lite.chunk.js → 5823-931575f97a-lite.chunk.js} +1 -1
  173. package/dist/scripts/5833-4b2af7ae93-lite.chunk.js +1 -0
  174. package/dist/scripts/5869-a7bf7331bb-lite.chunk.js +1 -0
  175. package/dist/scripts/{8884-dbdbc50014-lite.chunk.js → 5877-375dae76a2-lite.chunk.js} +1 -1
  176. package/dist/scripts/5914-bb8088b0e8-lite.chunk.js +1 -0
  177. package/dist/scripts/5940-a73965088a-lite.chunk.js +1 -0
  178. package/dist/scripts/5974-6756b06bff-lite.chunk.js +1 -0
  179. package/dist/scripts/5986-2b20ba1dbb-lite.chunk.js +1 -0
  180. package/dist/scripts/6001-6be03df74d-lite.chunk.js +1 -0
  181. package/dist/scripts/{6057-7472925513-lite.chunk.js → 6057-ee0fc12212-lite.chunk.js} +1 -1
  182. package/dist/scripts/6113-16a83d9b44-lite.chunk.js +1 -0
  183. package/dist/scripts/615-adb7956bd2-lite.chunk.js +1 -0
  184. package/dist/scripts/6152-972f7302b9-lite.chunk.js +1 -0
  185. package/dist/scripts/6158-b653e86374-lite.chunk.js +1 -0
  186. package/dist/scripts/{6159-87c08c857e-lite.chunk.js → 6159-6c381cdb40-lite.chunk.js} +1 -1
  187. package/dist/scripts/{7341-e37e1b4702-lite.chunk.js → 6186-816b26cc1d-lite.chunk.js} +1 -1
  188. package/dist/scripts/6274-80146584e7-lite.chunk.js +1 -0
  189. package/dist/scripts/6285-a26519084a-lite.chunk.js +1 -0
  190. package/dist/scripts/6290-6f61dee7ac-lite.chunk.js +1 -0
  191. package/dist/scripts/{6302-6506ee47b5-lite.chunk.js → 6302-0403b6cfba-lite.chunk.js} +1 -1
  192. package/dist/scripts/6325-178d2f471e-lite.chunk.js +1 -0
  193. package/dist/scripts/{6368-d27d7ddad7-lite.chunk.js → 6368-07b7907e8c-lite.chunk.js} +1 -1
  194. package/dist/scripts/6370-96faff5748-lite.chunk.js +1 -0
  195. package/dist/scripts/6381-8a4d61a6f1-lite.chunk.js +1 -0
  196. package/dist/scripts/6427-4b4726de0e-lite.chunk.js +1 -0
  197. package/dist/scripts/{6450-3d380d7fb6-lite.chunk.js → 6450-7fd1a35808-lite.chunk.js} +1 -1
  198. package/dist/scripts/{6465-61c304878d-lite.chunk.js → 6465-f2556508fa-lite.chunk.js} +1 -1
  199. package/dist/scripts/{6480-0f993f9e8d-lite.chunk.js → 6480-3664de76df-lite.chunk.js} +1 -1
  200. package/dist/scripts/6493-241d2f1bce-lite.chunk.js +1 -0
  201. package/dist/scripts/65-551e1329a5-lite.chunk.js +1 -0
  202. package/dist/scripts/{6604-afa7ada95d-lite.chunk.js → 6604-9fdc49ea46-lite.chunk.js} +1 -1
  203. package/dist/scripts/6770-35fb1f60dc-lite.chunk.js +1 -0
  204. package/dist/scripts/{6801-afab3dd733-lite.chunk.js → 6801-e186fa1fde-lite.chunk.js} +1 -1
  205. package/dist/scripts/6817-969a92a7df-lite.chunk.js +1 -0
  206. package/dist/scripts/{6821-f7d1d7ef07-lite.chunk.js → 6821-fb59d25618-lite.chunk.js} +1 -1
  207. package/dist/scripts/{6823-0083a3231c-lite.chunk.js → 6823-272c18d11d-lite.chunk.js} +2 -2
  208. package/dist/scripts/6866-de4752df6e-lite.chunk.js +1 -0
  209. package/dist/scripts/{6873-032b4915f9-lite.chunk.js → 6873-d9d9bbf8de-lite.chunk.js} +1 -1
  210. package/dist/scripts/6884-dbfd65e1c9-lite.chunk.js +1 -0
  211. package/dist/scripts/{6896-467ac6697c-lite.chunk.js → 6896-bcd89e6cf3-lite.chunk.js} +2 -2
  212. package/dist/scripts/6913-1d7c241651-lite.chunk.js +1 -0
  213. package/dist/scripts/{7017-14feec9dd1-lite.chunk.js → 7017-b9352b104b-lite.chunk.js} +2 -2
  214. package/dist/scripts/{7030-67a3d8acb6-lite.chunk.js → 7030-d27b42e6b3-lite.chunk.js} +2 -2
  215. package/dist/scripts/7045-0b0dc611ab-lite.chunk.js +1 -0
  216. package/dist/scripts/7056-fd8d859ef1-lite.chunk.js +1 -0
  217. package/dist/scripts/7069-7958f074c7-lite.chunk.js +1 -0
  218. package/dist/scripts/7108-411445c569-lite.chunk.js +1 -0
  219. package/dist/scripts/711-ad6a94c63e-lite.chunk.js +1 -0
  220. package/dist/scripts/7115-df1e77b86a-lite.chunk.js +1 -0
  221. package/dist/scripts/{7128-e83c5ba823-lite.chunk.js → 7128-394a5b25cc-lite.chunk.js} +1 -1
  222. package/dist/scripts/714-eea8a3447f-lite.chunk.js +1 -0
  223. package/dist/scripts/{7172-6c0b0b571e-lite.chunk.js → 7172-8a34e997ea-lite.chunk.js} +1 -1
  224. package/dist/scripts/7178-85acf5024c-lite.chunk.js +1 -0
  225. package/dist/scripts/7205-b2bb570975-lite.chunk.js +1 -0
  226. package/dist/scripts/7221-1081606a10-lite.chunk.js +2 -0
  227. package/dist/scripts/7293-ecc66c0bc5-lite.chunk.js +1 -0
  228. package/dist/scripts/7318-67ea8ef011-lite.chunk.js +2 -0
  229. package/dist/scripts/{7385-42b24a5db4-lite.chunk.js → 7385-3d4bc59e02-lite.chunk.js} +1 -1
  230. package/dist/scripts/7409-b4d79d674f-lite.chunk.js +1 -0
  231. package/dist/scripts/7432-a38d4189e4-lite.chunk.js +1 -0
  232. package/dist/scripts/{7506-461f96e632-lite.chunk.js → 7506-c14efc267c-lite.chunk.js} +1 -1
  233. package/dist/scripts/7510-0cfac2b1d7-lite.chunk.js +1 -0
  234. package/dist/scripts/7532-38c921f0c8-lite.chunk.js +1 -0
  235. package/dist/scripts/{7706-85973863b8-lite.chunk.js → 7706-c173a4adce-lite.chunk.js} +1 -1
  236. package/dist/scripts/7708-18f97e6312-lite.chunk.js +1 -0
  237. package/dist/scripts/7767-d2c100f095-lite.chunk.js +1 -0
  238. package/dist/scripts/7808-666eed4323-lite.chunk.js +1 -0
  239. package/dist/scripts/{7855-cb798dcf71-lite.chunk.js → 7855-fa28a68dc2-lite.chunk.js} +1 -1
  240. package/dist/scripts/{7888-e89b67d09f-lite.chunk.js → 7888-9495520bce-lite.chunk.js} +1 -1
  241. package/dist/scripts/{7939-2241334bbc-lite.chunk.js → 7939-9be850a448-lite.chunk.js} +1 -1
  242. package/dist/scripts/{8025-aa024b643c-lite.chunk.js → 8025-a09100f5f8-lite.chunk.js} +1 -1
  243. package/dist/scripts/{8038-d08d354f1d-lite.chunk.js → 8038-d984b789be-lite.chunk.js} +1 -1
  244. package/dist/scripts/{8046-2f286c23d8-lite.chunk.js → 8046-3042885a1c-lite.chunk.js} +1 -1
  245. package/dist/scripts/{8056-02148dac14-lite.chunk.js → 8056-1a59f5f88e-lite.chunk.js} +1 -1
  246. package/dist/scripts/8072-5a950137bc-lite.chunk.js +1 -0
  247. package/dist/scripts/{811-c0682d38fc-lite.chunk.js → 811-4c21882e66-lite.chunk.js} +1 -1
  248. package/dist/scripts/{823-95520826e7-lite.chunk.js → 823-96721061ac-lite.chunk.js} +1 -1
  249. package/dist/scripts/8252-dd337034c3-lite.chunk.js +1 -0
  250. package/dist/scripts/8300-e6f255e4cb-lite.chunk.js +1 -0
  251. package/dist/scripts/8323-caedca162b-lite.chunk.js +2 -0
  252. package/dist/scripts/{8383-e5491b0fea-lite.chunk.js → 8383-83c172464d-lite.chunk.js} +1 -1
  253. package/dist/scripts/8419-ad3d004cb9-lite.chunk.js +1 -0
  254. package/dist/scripts/8466-5ed6352c4b-lite.chunk.js +1 -0
  255. package/dist/scripts/8531-f899f4714c-lite.chunk.js +1 -0
  256. package/dist/scripts/8564-f46b198c55-lite.chunk.js +1 -0
  257. package/dist/scripts/{8621-f56becd41d-lite.chunk.js → 8621-c514447ffb-lite.chunk.js} +1 -1
  258. package/dist/scripts/{8681-57707d9f89-lite.chunk.js → 8681-f9a8c79ee5-lite.chunk.js} +2 -2
  259. package/dist/scripts/{872-ec1fa5330c-lite.chunk.js → 872-44713ba930-lite.chunk.js} +1 -1
  260. package/dist/scripts/8729-7a2c044441-lite.chunk.js +1 -0
  261. package/dist/scripts/8763-9e7a972786-lite.chunk.js +1 -0
  262. package/dist/scripts/8779-40b67fde89-lite.chunk.js +1 -0
  263. package/dist/scripts/8816-b7575df853-lite.chunk.js +1 -0
  264. package/dist/scripts/8820-bf4bbda3f3-lite.chunk.js +1 -0
  265. package/dist/scripts/8830-9d69a3012c-lite.chunk.js +1 -0
  266. package/dist/scripts/8882-5f951653ff-lite.chunk.js +1 -0
  267. package/dist/scripts/8905-c4ef2e6fd9-lite.chunk.js +1 -0
  268. package/dist/scripts/8944-aba9581f23-lite.chunk.js +1 -0
  269. package/dist/scripts/8955-9fa8a98fdb-lite.chunk.js +1 -0
  270. package/dist/scripts/{9005-8da22ad68a-lite.chunk.js → 9005-7095f76099-lite.chunk.js} +1 -1
  271. package/dist/scripts/{5756-7e5a76b657-lite.chunk.js → 9016-5d3b7ebca7-lite.chunk.js} +1 -1
  272. package/dist/scripts/9029-e4d7a95c18-lite.chunk.js +1 -0
  273. package/dist/scripts/{9038-ff47dcecd1-lite.chunk.js → 9038-c51fe905f2-lite.chunk.js} +1 -1
  274. package/dist/scripts/{9060-39ba0d65a3-lite.chunk.js → 9060-b13c55ce5c-lite.chunk.js} +1 -1
  275. package/dist/scripts/{9133-886ce0448d-lite.chunk.js → 9133-b186d465f7-lite.chunk.js} +1 -1
  276. package/dist/scripts/9151-6caecead76-lite.chunk.js +1 -0
  277. package/dist/scripts/9226-6cc9ae98fc-lite.chunk.js +1 -0
  278. package/dist/scripts/924-865b1d0fcf-lite.chunk.js +1 -0
  279. package/dist/scripts/9242-389e8e59c6-lite.chunk.js +1 -0
  280. package/dist/scripts/{9264-d4a3940963-lite.chunk.js → 9264-a3576fe1b7-lite.chunk.js} +1 -1
  281. package/dist/scripts/{9273-19f7050562-lite.chunk.js → 9273-a6fbfe7f10-lite.chunk.js} +1 -1
  282. package/dist/scripts/{9428-c2ec53b44d-lite.chunk.js → 9428-b732575791-lite.chunk.js} +2 -2
  283. package/dist/scripts/9455-5c0f5b350c-lite.chunk.js +1 -0
  284. package/dist/scripts/{9478-76af6fb48c-lite.chunk.js → 9478-37c6b7c1a2-lite.chunk.js} +2 -2
  285. package/dist/scripts/949-68ebef3de9-lite.chunk.js +1 -0
  286. package/dist/scripts/9522-1f5efe271e-lite.chunk.js +2 -0
  287. package/dist/scripts/9556-d6901ce835-lite.chunk.js +1 -0
  288. package/dist/scripts/9642-01f2b02ef4-lite.chunk.js +1 -0
  289. package/dist/scripts/9798-d54774ef4e-lite.chunk.js +1 -0
  290. package/dist/scripts/9814-b29f502ae6-lite.chunk.js +1 -0
  291. package/dist/scripts/9880-afbf1e0fc3-lite.chunk.js +1 -0
  292. package/dist/scripts/9897-e26852fc10-lite.chunk.js +1 -0
  293. package/dist/scripts/{9899-8e434818e4-lite.chunk.js → 9899-4ff4814e57-lite.chunk.js} +1 -1
  294. package/dist/scripts/{7952-f487a842d1-lite.chunk.js → 9902-ca0f065d90-lite.chunk.js} +1 -1
  295. package/dist/scripts/{9931-e8eda5c94f-lite.chunk.js → 9931-8290a97315-lite.chunk.js} +2 -2
  296. package/dist/scripts/996-cc98267e1e-lite.chunk.js +1 -0
  297. package/dist/scripts/9961-acaa4c44fc-lite.chunk.js +1 -0
  298. package/dist/scripts/bundle-42da83f804.min.js +2 -0
  299. package/dist/scripts/{bundle-3db688627e.min.js.LICENSE.txt → bundle-42da83f804.min.js.LICENSE.txt} +36 -0
  300. package/dist/scripts/polyfills-1177fd46db.min.js +2 -0
  301. package/jest.config.js +11 -11
  302. package/package.json +62 -61
  303. package/typings/libs/CVEvents.d.ts +12 -12
  304. package/typings/libs/CVLanguages.d.ts +24 -24
  305. package/typings/libs/backbone.validation.d.ts +99 -99
  306. package/typings/libs/cloneDeep.d.ts +4 -4
  307. package/typings/libs/cookiesjs.d.ts +25 -25
  308. package/typings/libs/draft-convert.d.ts +3 -3
  309. package/typings/libs/google-api.d.ts +93 -93
  310. package/typings/libs/intersection-observer.d.ts +82 -82
  311. package/typings/libs/microsoft-teams.d.ts +2 -2
  312. package/typings/libs/react-table-config.d.ts +138 -138
  313. package/typings/libs/trackjs.d.ts +2 -2
  314. package/typings/libs/videojs-contrib-quality-levels.d.ts +28 -28
  315. package/typings/utils/imports.d.ts +13 -13
  316. package/dist/css/1366-lite-0239ab3e7e.chunk.css +0 -27
  317. package/dist/css/162-lite-32e60d7e18.chunk.css +0 -37
  318. package/dist/css/1726-lite-137426e119.chunk.css +0 -1
  319. package/dist/css/1977-lite-22ea72f8e3.chunk.css +0 -11
  320. package/dist/css/3108-lite-78e825f26e.chunk.css +0 -10
  321. package/dist/css/3125-lite-29265dec67.chunk.css +0 -30
  322. package/dist/css/355-lite-271a4bb3d4.chunk.css +0 -33
  323. package/dist/css/4052-lite-6bf4f7a77b.chunk.css +0 -33
  324. package/dist/css/4436-lite-ebe682079f.chunk.css +0 -5
  325. package/dist/css/4484-lite-204fa1d3ba.chunk.css +0 -13
  326. package/dist/css/4690-lite-a4fdd7e61e.chunk.css +0 -4
  327. package/dist/css/4901-lite-d395807101.chunk.css +0 -12
  328. package/dist/css/4942-lite-bd40e9c904.chunk.css +0 -4
  329. package/dist/css/5268-lite-bd40e9c904.chunk.css +0 -4
  330. package/dist/css/6866-lite-137426e119.chunk.css +0 -1
  331. package/dist/css/6913-lite-137426e119.chunk.css +0 -1
  332. package/dist/css/7056-lite-32ce104e72.chunk.css +0 -2
  333. package/dist/css/7112-lite-01b143fa0b.chunk.css +0 -3
  334. package/dist/css/7203-lite-65aaa80b60.chunk.css +0 -32
  335. package/dist/css/7555-lite-da165be245.chunk.css +0 -4
  336. package/dist/css/8960-lite-9068589bd0.chunk.css +0 -32
  337. package/dist/css/9484-lite-bd40e9c904.chunk.css +0 -4
  338. package/dist/scripts/1064-f67592534f-lite.chunk.js +0 -1
  339. package/dist/scripts/1285-7afa47b773-lite.chunk.js +0 -1
  340. package/dist/scripts/1291-afca7b0cd0-lite.chunk.js +0 -1
  341. package/dist/scripts/1341-1d121961bb-lite.chunk.js +0 -1
  342. package/dist/scripts/1366-d52572015e-lite.chunk.js +0 -2
  343. package/dist/scripts/147-f32522149a-lite.chunk.js +0 -1
  344. package/dist/scripts/1475-820fef70f4-lite.chunk.js +0 -1
  345. package/dist/scripts/1517-5b862f657e-lite.chunk.js +0 -1
  346. package/dist/scripts/1526-4beff8cab8-lite.chunk.js +0 -1
  347. package/dist/scripts/1536-85717afe85-lite.chunk.js +0 -1
  348. package/dist/scripts/156-dde8ca94d7-lite.chunk.js +0 -1
  349. package/dist/scripts/162-af7641fb65-lite.chunk.js +0 -2
  350. package/dist/scripts/1655-e5d6dfb27a-lite.chunk.js +0 -1
  351. package/dist/scripts/1726-ba13ed4678-lite.chunk.js +0 -1
  352. package/dist/scripts/1766-164756da7c-lite.chunk.js +0 -1
  353. package/dist/scripts/1781-c10bf95537-lite.chunk.js +0 -1
  354. package/dist/scripts/1794-2ce2b767a9-lite.chunk.js +0 -1
  355. package/dist/scripts/1818-d24058bd8f-lite.chunk.js +0 -1
  356. package/dist/scripts/1820-521c94621b-lite.chunk.js +0 -1
  357. package/dist/scripts/1863-4b2cc1922c-lite.chunk.js +0 -1
  358. package/dist/scripts/1913-255f9695d4-lite.chunk.js +0 -1
  359. package/dist/scripts/1934-a972017a0c-lite.chunk.js +0 -2
  360. package/dist/scripts/1934-a972017a0c-lite.chunk.js.LICENSE.txt +0 -9
  361. package/dist/scripts/1958-14838db334-lite.chunk.js +0 -1
  362. package/dist/scripts/1977-7cc7e5343b-lite.chunk.js +0 -2
  363. package/dist/scripts/1977-7cc7e5343b-lite.chunk.js.LICENSE.txt +0 -11
  364. package/dist/scripts/2066-db515814ad-lite.chunk.js +0 -2
  365. package/dist/scripts/2095-fffbd264d1-lite.chunk.js +0 -1
  366. package/dist/scripts/2118-8b6fa7abde-lite.chunk.js +0 -2
  367. package/dist/scripts/2208-42904c2f44-lite.chunk.js +0 -1
  368. package/dist/scripts/2235-290199467a-lite.chunk.js +0 -1
  369. package/dist/scripts/2269-aafae0c3da-lite.chunk.js +0 -1
  370. package/dist/scripts/2279-91adb10745-lite.chunk.js +0 -1
  371. package/dist/scripts/2477-f408e61006-lite.chunk.js +0 -1
  372. package/dist/scripts/2592-24cd43fffe-lite.chunk.js +0 -1
  373. package/dist/scripts/2608-bf3f792d3d-lite.chunk.js +0 -1
  374. package/dist/scripts/2701-093bcc66ac-lite.chunk.js +0 -1
  375. package/dist/scripts/2729-d0b201806b-lite.chunk.js +0 -1
  376. package/dist/scripts/275-f95c8de900-lite.chunk.js +0 -1
  377. package/dist/scripts/2956-4b8e0a4c58-lite.chunk.js +0 -1
  378. package/dist/scripts/3003-0ff3ea9398-lite.chunk.js +0 -1
  379. package/dist/scripts/3012-5ffcff3af0-lite.chunk.js +0 -1
  380. package/dist/scripts/3020-9f0d773484-lite.chunk.js +0 -1
  381. package/dist/scripts/3093-d4d47a261b-lite.chunk.js +0 -1
  382. package/dist/scripts/3108-7f0dde546a-lite.chunk.js +0 -1
  383. package/dist/scripts/3125-919003fe6b-lite.chunk.js +0 -1
  384. package/dist/scripts/3154-14324fdea1-lite.chunk.js +0 -1
  385. package/dist/scripts/3216-ecf04b612f-lite.chunk.js +0 -1
  386. package/dist/scripts/3285-72f1592710-lite.chunk.js +0 -1
  387. package/dist/scripts/3301-1370b99f05-lite.chunk.js +0 -1
  388. package/dist/scripts/3514-8a8dd2b680-lite.chunk.js +0 -1
  389. package/dist/scripts/3533-ad26b0a09c-lite.chunk.js +0 -1
  390. package/dist/scripts/355-f578d9beb2-lite.chunk.js +0 -1
  391. package/dist/scripts/3645-871c3cbeed-lite.chunk.js +0 -2
  392. package/dist/scripts/3654-5c8fc842aa-lite.chunk.js +0 -1
  393. package/dist/scripts/3667-9a2a4c64b5-lite.chunk.js +0 -2
  394. package/dist/scripts/3729-74f7cebe6d-lite.chunk.js +0 -1
  395. package/dist/scripts/3754-6d17b49de7-lite.chunk.js +0 -1
  396. package/dist/scripts/3755-8e694cf47f-lite.chunk.js +0 -1
  397. package/dist/scripts/3787-f1b980ca08-lite.chunk.js +0 -1
  398. package/dist/scripts/383-439553ff8f-lite.chunk.js +0 -1
  399. package/dist/scripts/3836-0924c271f0-lite.chunk.js +0 -1
  400. package/dist/scripts/3848-64b1dab37f-lite.chunk.js +0 -1
  401. package/dist/scripts/3849-815facaf40-lite.chunk.js +0 -1
  402. package/dist/scripts/389-5ff8e9b829-lite.chunk.js +0 -1
  403. package/dist/scripts/3962-54498beb2f-lite.chunk.js +0 -1
  404. package/dist/scripts/3966-61770122fe-lite.chunk.js +0 -1
  405. package/dist/scripts/4026-de6dccdbbb-lite.chunk.js +0 -1
  406. package/dist/scripts/4052-a88bdbbcf1-lite.chunk.js +0 -1
  407. package/dist/scripts/4067-48c21d9303-lite.chunk.js +0 -1
  408. package/dist/scripts/414-baf33cb9d0-lite.chunk.js +0 -1
  409. package/dist/scripts/4145-52b65d2e94-lite.chunk.js +0 -1
  410. package/dist/scripts/4229-c1df7ea14b-lite.chunk.js +0 -1
  411. package/dist/scripts/4290-e921ae9e76-lite.chunk.js +0 -1
  412. package/dist/scripts/4326-ec9ca09585-lite.chunk.js +0 -1
  413. package/dist/scripts/4380-165a473ef0-lite.chunk.js +0 -1
  414. package/dist/scripts/4393-6d40d84805-lite.chunk.js +0 -1
  415. package/dist/scripts/4417-baddebbdf6-lite.chunk.js +0 -1
  416. package/dist/scripts/4436-575256cade-lite.chunk.js +0 -1
  417. package/dist/scripts/4484-bd2cf7b458-lite.chunk.js +0 -1
  418. package/dist/scripts/4537-01038c7e8a-lite.chunk.js +0 -1
  419. package/dist/scripts/4617-67b3036cbe-lite.chunk.js +0 -1
  420. package/dist/scripts/4632-98c863e6c1-lite.chunk.js +0 -1
  421. package/dist/scripts/4690-7add6db107-lite.chunk.js +0 -1
  422. package/dist/scripts/4893-c8fbae6c8d-lite.chunk.js +0 -1
  423. package/dist/scripts/4901-dbbd888771-lite.chunk.js +0 -2
  424. package/dist/scripts/4942-41d01acc50-lite.chunk.js +0 -2
  425. package/dist/scripts/5041-858ca41ef8-lite.chunk.js +0 -1
  426. package/dist/scripts/5173-b9dacfa8f7-lite.chunk.js +0 -1
  427. package/dist/scripts/5229-1fb29b4635-lite.chunk.js +0 -1
  428. package/dist/scripts/5268-c0ad8047b8-lite.chunk.js +0 -2
  429. package/dist/scripts/528-fa34d4e176-lite.chunk.js +0 -1
  430. package/dist/scripts/5291-7cbea59e7a-lite.chunk.js +0 -1
  431. package/dist/scripts/5385-902a17aca1-lite.chunk.js +0 -1
  432. package/dist/scripts/5395-cc691d41a1-lite.chunk.js +0 -1
  433. package/dist/scripts/5590-0fab2043f5-lite.chunk.js +0 -1
  434. package/dist/scripts/5595-ec7a1d94d6-lite.chunk.js +0 -1
  435. package/dist/scripts/5776-b749e84450-lite.chunk.js +0 -1
  436. package/dist/scripts/5914-8fbc9ac553-lite.chunk.js +0 -1
  437. package/dist/scripts/5974-5de4c745e3-lite.chunk.js +0 -1
  438. package/dist/scripts/5986-d373b39115-lite.chunk.js +0 -1
  439. package/dist/scripts/6117-84c093b8be-lite.chunk.js +0 -1
  440. package/dist/scripts/615-e5cc2b7cdd-lite.chunk.js +0 -1
  441. package/dist/scripts/6154-531092aec6-lite.chunk.js +0 -1
  442. package/dist/scripts/6158-e5522a2a15-lite.chunk.js +0 -1
  443. package/dist/scripts/6254-67c2d529b5-lite.chunk.js +0 -1
  444. package/dist/scripts/6263-cbad229bfe-lite.chunk.js +0 -1
  445. package/dist/scripts/6274-e6a04ae100-lite.chunk.js +0 -1
  446. package/dist/scripts/6285-3c6ecdb063-lite.chunk.js +0 -1
  447. package/dist/scripts/6330-f66286f1bd-lite.chunk.js +0 -1
  448. package/dist/scripts/6370-9d45b8efc0-lite.chunk.js +0 -1
  449. package/dist/scripts/6493-e8829f4043-lite.chunk.js +0 -1
  450. package/dist/scripts/6572-925e1f6cd9-lite.chunk.js +0 -1
  451. package/dist/scripts/6689-f8f1fe1624-lite.chunk.js +0 -1
  452. package/dist/scripts/6817-53272d5d88-lite.chunk.js +0 -1
  453. package/dist/scripts/6822-3c052e82fe-lite.chunk.js +0 -1
  454. package/dist/scripts/6866-a560486b95-lite.chunk.js +0 -1
  455. package/dist/scripts/689-872cae611f-lite.chunk.js +0 -1
  456. package/dist/scripts/691-720de5af0d-lite.chunk.js +0 -2
  457. package/dist/scripts/691-720de5af0d-lite.chunk.js.LICENSE.txt +0 -13
  458. package/dist/scripts/6913-8d05107c68-lite.chunk.js +0 -1
  459. package/dist/scripts/6930-24a4e7c71a-lite.chunk.js +0 -1
  460. package/dist/scripts/6932-c7817af4d6-lite.chunk.js +0 -1
  461. package/dist/scripts/7045-70afbf80c3-lite.chunk.js +0 -1
  462. package/dist/scripts/7052-baf4150fb1-lite.chunk.js +0 -2
  463. package/dist/scripts/7056-db7a72ae7a-lite.chunk.js +0 -1
  464. package/dist/scripts/7072-c3785ca37e-lite.chunk.js +0 -2
  465. package/dist/scripts/7108-2acfc76a8d-lite.chunk.js +0 -1
  466. package/dist/scripts/7112-88336f937e-lite.chunk.js +0 -2
  467. package/dist/scripts/7115-1dc32e54d7-lite.chunk.js +0 -1
  468. package/dist/scripts/7117-f7821bddb5-lite.chunk.js +0 -1
  469. package/dist/scripts/714-2bf8567e2a-lite.chunk.js +0 -1
  470. package/dist/scripts/7203-89126e42d2-lite.chunk.js +0 -1
  471. package/dist/scripts/7205-84a68e0ae6-lite.chunk.js +0 -1
  472. package/dist/scripts/7221-aed0b2fd5c-lite.chunk.js +0 -2
  473. package/dist/scripts/7286-2500bc1b4d-lite.chunk.js +0 -1
  474. package/dist/scripts/7293-d2339dc134-lite.chunk.js +0 -1
  475. package/dist/scripts/7318-bee88ab659-lite.chunk.js +0 -2
  476. package/dist/scripts/7409-c0d306ab4f-lite.chunk.js +0 -1
  477. package/dist/scripts/754-4799619844-lite.chunk.js +0 -1
  478. package/dist/scripts/7555-0c28dae806-lite.chunk.js +0 -1
  479. package/dist/scripts/7708-a3f51335bb-lite.chunk.js +0 -1
  480. package/dist/scripts/7724-66f50b3e25-lite.chunk.js +0 -1
  481. package/dist/scripts/7767-dec6177ee8-lite.chunk.js +0 -1
  482. package/dist/scripts/7950-5ea68fae3f-lite.chunk.js +0 -2
  483. package/dist/scripts/7950-5ea68fae3f-lite.chunk.js.LICENSE.txt +0 -1
  484. package/dist/scripts/8035-ae1f82dc2b-lite.chunk.js +0 -1
  485. package/dist/scripts/8176-3e3e552896-lite.chunk.js +0 -1
  486. package/dist/scripts/8252-0b0bc1f57d-lite.chunk.js +0 -1
  487. package/dist/scripts/8323-ebde7e14b0-lite.chunk.js +0 -2
  488. package/dist/scripts/8323-ebde7e14b0-lite.chunk.js.LICENSE.txt +0 -1
  489. package/dist/scripts/8367-9dfee373b1-lite.chunk.js +0 -1
  490. package/dist/scripts/8419-f49f8ac6fb-lite.chunk.js +0 -1
  491. package/dist/scripts/8466-d5ef6547c1-lite.chunk.js +0 -1
  492. package/dist/scripts/8500-2c7416d260-lite.chunk.js +0 -1
  493. package/dist/scripts/8516-eba25d7732-lite.chunk.js +0 -1
  494. package/dist/scripts/8564-7754f107a5-lite.chunk.js +0 -1
  495. package/dist/scripts/8627-a75e8c3c72-lite.chunk.js +0 -1
  496. package/dist/scripts/8681-57707d9f89-lite.chunk.js.LICENSE.txt +0 -1
  497. package/dist/scripts/8729-1a7f483f5d-lite.chunk.js +0 -1
  498. package/dist/scripts/8759-bf94a35e60-lite.chunk.js +0 -1
  499. package/dist/scripts/8763-8565558446-lite.chunk.js +0 -1
  500. package/dist/scripts/8820-24cd0624e5-lite.chunk.js +0 -1
  501. package/dist/scripts/8830-f87703865e-lite.chunk.js +0 -1
  502. package/dist/scripts/8905-c4379b0814-lite.chunk.js +0 -1
  503. package/dist/scripts/8955-25ba847cda-lite.chunk.js +0 -1
  504. package/dist/scripts/9118-de9f5956d0-lite.chunk.js +0 -1
  505. package/dist/scripts/9151-e185c78133-lite.chunk.js +0 -1
  506. package/dist/scripts/9242-d2e9f4c647-lite.chunk.js +0 -1
  507. package/dist/scripts/9428-c2ec53b44d-lite.chunk.js.LICENSE.txt +0 -1
  508. package/dist/scripts/9455-0ff9a13476-lite.chunk.js +0 -1
  509. package/dist/scripts/9478-76af6fb48c-lite.chunk.js.LICENSE.txt +0 -1
  510. package/dist/scripts/9484-d9aef28b8a-lite.chunk.js +0 -2
  511. package/dist/scripts/9484-d9aef28b8a-lite.chunk.js.LICENSE.txt +0 -1
  512. package/dist/scripts/949-c7c36f2fb1-lite.chunk.js +0 -1
  513. package/dist/scripts/9522-fdc269fa55-lite.chunk.js +0 -2
  514. package/dist/scripts/9522-fdc269fa55-lite.chunk.js.LICENSE.txt +0 -1
  515. package/dist/scripts/9674-80c7295bd8-lite.chunk.js +0 -1
  516. package/dist/scripts/9714-43eeb20c56-lite.chunk.js +0 -1
  517. package/dist/scripts/9798-24409ec696-lite.chunk.js +0 -1
  518. package/dist/scripts/9880-0ea17e51ac-lite.chunk.js +0 -1
  519. package/dist/scripts/9931-e8eda5c94f-lite.chunk.js.LICENSE.txt +0 -1
  520. package/dist/scripts/9961-d95b268b23-lite.chunk.js +0 -1
  521. package/dist/scripts/bundle-3db688627e.min.js +0 -2
  522. package/dist/scripts/polyfills-cf6a3b6e3b.min.js +0 -2
  523. package/dist/scripts/polyfills-cf6a3b6e3b.min.js.LICENSE.txt +0 -1
  524. package/dist/css/{8627-lite-a68f192c18.chunk.css → 1291-lite-a68f192c18.chunk.css} +0 -0
  525. package/dist/css/{8516-lite-6554428c5a.chunk.css → 1324-lite-6554428c5a.chunk.css} +0 -0
  526. package/dist/css/{1475-lite-1b41a0628c.chunk.css → 1475-lite-d023364617.chunk.css} +3 -3
  527. package/dist/css/{1592-lite-7471086af4.chunk.css → 1592-lite-c8bfbfe932.chunk.css} +1 -1
  528. package/dist/css/{7950-lite-89fe5c9fc1.chunk.css → 1672-lite-5e8082b0fb.chunk.css} +1 -1
  529. package/dist/css/{1766-lite-2cb4fd8dc1.chunk.css → 1766-lite-7241403fdd.chunk.css} +1 -1
  530. package/dist/css/{8292-lite-a0648ee1fa.chunk.css → 1891-lite-a0648ee1fa.chunk.css} +0 -0
  531. package/dist/css/{2318-lite-ca6d519c2e.chunk.css → 2318-lite-9b82e5b86c.chunk.css} +5 -5
  532. package/dist/css/{1891-lite-740e4cbd6f.chunk.css → 3200-lite-740e4cbd6f.chunk.css} +0 -0
  533. package/dist/css/{3667-lite-37b25ceace.chunk.css → 3667-lite-940fe57626.chunk.css} +1 -1
  534. package/dist/css/{147-lite-74cb244872.chunk.css → 389-lite-74cb244872.chunk.css} +0 -0
  535. package/dist/css/{4617-lite-5e8387006a.chunk.css → 4617-lite-b7212ef825.chunk.css} +5 -5
  536. package/dist/css/{5983-lite-8c9306617b.chunk.css → 5134-lite-8c9306617b.chunk.css} +0 -0
  537. package/dist/css/{156-lite-f1ca87e9ff.chunk.css → 5143-lite-f1ca87e9ff.chunk.css} +0 -0
  538. package/dist/css/{528-lite-4406ff9632.chunk.css → 528-lite-bf66aa0a37.chunk.css} +1 -1
  539. package/dist/css/{1090-lite-0018feda9c.chunk.css → 5606-lite-0018feda9c.chunk.css} +0 -0
  540. package/dist/css/{615-lite-02fc268229.chunk.css → 615-lite-9d91934e82.chunk.css} +1 -1
  541. package/dist/css/{6285-lite-86f715dee7.chunk.css → 6285-lite-0365972b55.chunk.css} +1 -1
  542. package/dist/css/{4290-lite-7bd376fdab.chunk.css → 6290-lite-15b96a54c9.chunk.css} +1 -1
  543. package/dist/css/{1655-lite-e7bdc675ac.chunk.css → 6381-lite-e7bdc675ac.chunk.css} +0 -0
  544. package/dist/css/{9931-lite-1678ae0292.chunk.css → 7030-lite-027d4b6d58.chunk.css} +1 -1
  545. package/dist/css/{7108-lite-f52ee2c4e3.chunk.css → 7108-lite-73d39503cb.chunk.css} +2 -2
  546. package/dist/css/{714-lite-9c08f9622c.chunk.css → 714-lite-7afe3a3aa6.chunk.css} +1 -1
  547. package/dist/css/{1794-lite-88303bbaf5.chunk.css → 7178-lite-88303bbaf5.chunk.css} +0 -0
  548. package/dist/css/{7205-lite-d25306256f.chunk.css → 7205-lite-06b4d10cf0.chunk.css} +1 -1
  549. package/dist/css/{7409-lite-3342fc3859.chunk.css → 7409-lite-d610f16523.chunk.css} +1 -1
  550. package/dist/css/{3849-lite-2eb46f0334.chunk.css → 7532-lite-19aa303fc2.chunk.css} +6 -6
  551. package/dist/css/{7708-lite-fde0180a9a.chunk.css → 7708-lite-6918135dfc.chunk.css} +1 -1
  552. package/dist/css/{8621-lite-bbdcb78b4c.chunk.css → 8621-lite-38b7185436.chunk.css} +1 -1
  553. package/dist/css/{8820-lite-76d15a1090.chunk.css → 8820-lite-e2b842f2b1.chunk.css} +1 -1
  554. package/dist/css/{8905-lite-d13d688920.chunk.css → 8905-lite-46a5eda1f5.chunk.css} +1 -1
  555. package/dist/css/{9133-lite-26e2a668b0.chunk.css → 9133-lite-0338d50248.chunk.css} +1 -1
  556. package/dist/css/{9151-lite-34a72dd76a.chunk.css → 9151-lite-887e993b9b.chunk.css} +5 -5
  557. package/dist/css/{9455-lite-3cd1655cd7.chunk.css → 9455-lite-e9fdacda31.chunk.css} +1 -1
  558. package/dist/css/{7030-lite-1678ae0292.chunk.css → 9931-lite-027d4b6d58.chunk.css} +1 -1
  559. package/dist/css/{9961-lite-ce6b57f21d.chunk.css → 9961-lite-61adefc4fe.chunk.css} +1 -1
  560. /package/dist/scripts/{1200-9a411abf42-lite.chunk.js.LICENSE.txt → 1200-549e8b8abc-lite.chunk.js.LICENSE.txt} +0 -0
  561. /package/dist/scripts/{1354-635a2024da-lite.chunk.js.LICENSE.txt → 1354-3346c46c0a-lite.chunk.js.LICENSE.txt} +0 -0
  562. /package/dist/scripts/{1366-d52572015e-lite.chunk.js.LICENSE.txt → 1592-7573d29b17-lite.chunk.js.LICENSE.txt} +0 -0
  563. /package/dist/scripts/{1592-dcc4772f16-lite.chunk.js.LICENSE.txt → 1672-6bed3f0c16-lite.chunk.js.LICENSE.txt} +0 -0
  564. /package/dist/scripts/{2452-bbbcc9cfc4-lite.chunk.js → 2452-c3bbdacb87-lite.chunk.js} +0 -0
  565. /package/dist/scripts/{162-af7641fb65-lite.chunk.js.LICENSE.txt → 2835-a21c8103a7-lite.chunk.js.LICENSE.txt} +0 -0
  566. /package/dist/scripts/{3007-4a6a008485-lite.chunk.js → 3007-9507eed4ed-lite.chunk.js} +0 -0
  567. /package/dist/scripts/{2066-db515814ad-lite.chunk.js.LICENSE.txt → 3602-86e3ad2e1c-lite.chunk.js.LICENSE.txt} +0 -0
  568. /package/dist/scripts/{2118-8b6fa7abde-lite.chunk.js.LICENSE.txt → 3645-0023a3c2ef-lite.chunk.js.LICENSE.txt} +0 -0
  569. /package/dist/scripts/{3602-9e631593b1-lite.chunk.js.LICENSE.txt → 3667-b8cfdfbb44-lite.chunk.js.LICENSE.txt} +0 -0
  570. /package/dist/scripts/{3645-871c3cbeed-lite.chunk.js.LICENSE.txt → 3879-1f6a71b0e1-lite.chunk.js.LICENSE.txt} +0 -0
  571. /package/dist/scripts/{3667-9a2a4c64b5-lite.chunk.js.LICENSE.txt → 4676-020a60c057-lite.chunk.js.LICENSE.txt} +0 -0
  572. /package/dist/scripts/{4676-bb8b7e034f-lite.chunk.js.LICENSE.txt → 4812-60103d16b0-lite.chunk.js.LICENSE.txt} +0 -0
  573. /package/dist/scripts/{4901-dbbd888771-lite.chunk.js.LICENSE.txt → 5622-f59cb146d5-lite.chunk.js.LICENSE.txt} +0 -0
  574. /package/dist/scripts/{6823-0083a3231c-lite.chunk.js.LICENSE.txt → 6823-272c18d11d-lite.chunk.js.LICENSE.txt} +0 -0
  575. /package/dist/scripts/{4942-41d01acc50-lite.chunk.js.LICENSE.txt → 6896-bcd89e6cf3-lite.chunk.js.LICENSE.txt} +0 -0
  576. /package/dist/scripts/{5268-c0ad8047b8-lite.chunk.js.LICENSE.txt → 7017-b9352b104b-lite.chunk.js.LICENSE.txt} +0 -0
  577. /package/dist/scripts/{5622-df1c9f72f5-lite.chunk.js.LICENSE.txt → 7030-d27b42e6b3-lite.chunk.js.LICENSE.txt} +0 -0
  578. /package/dist/scripts/{6896-467ac6697c-lite.chunk.js.LICENSE.txt → 7221-1081606a10-lite.chunk.js.LICENSE.txt} +0 -0
  579. /package/dist/scripts/{7318-bee88ab659-lite.chunk.js.LICENSE.txt → 7318-67ea8ef011-lite.chunk.js.LICENSE.txt} +0 -0
  580. /package/dist/scripts/{7925-271289a49d-lite.chunk.js → 7925-d30e261c55-lite.chunk.js} +0 -0
  581. /package/dist/scripts/{7017-14feec9dd1-lite.chunk.js.LICENSE.txt → 8323-caedca162b-lite.chunk.js.LICENSE.txt} +0 -0
  582. /package/dist/scripts/{7030-67a3d8acb6-lite.chunk.js.LICENSE.txt → 8681-f9a8c79ee5-lite.chunk.js.LICENSE.txt} +0 -0
  583. /package/dist/scripts/{7052-baf4150fb1-lite.chunk.js.LICENSE.txt → 9428-b732575791-lite.chunk.js.LICENSE.txt} +0 -0
  584. /package/dist/scripts/{7072-c3785ca37e-lite.chunk.js.LICENSE.txt → 9478-37c6b7c1a2-lite.chunk.js.LICENSE.txt} +0 -0
  585. /package/dist/scripts/{7112-88336f937e-lite.chunk.js.LICENSE.txt → 9522-1f5efe271e-lite.chunk.js.LICENSE.txt} +0 -0
  586. /package/dist/scripts/{7221-aed0b2fd5c-lite.chunk.js.LICENSE.txt → 9931-8290a97315-lite.chunk.js.LICENSE.txt} +0 -0
  587. /package/dist/scripts/{7515-08ba1635e4-lite.chunk.js.LICENSE.txt → polyfills-1177fd46db.min.js.LICENSE.txt} +0 -0
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk_clickview_lite=self.webpackChunk_clickview_lite||[]).push([[754],{20455:(e,t,n)=>{n.d(t,{LB:()=>qe,y9:()=>dt,g4:()=>re,Lg:()=>se,we:()=>ve,pE:()=>I,ey:()=>N,VK:()=>B,_8:()=>E,hI:()=>X,Cj:()=>$e,O1:()=>Ve,Zj:()=>et,VT:()=>b,Dy:()=>m});var r=n(1024),o=n.n(r),i=n(30314),a=n(17592);const l={display:"none"};function s(e){let{id:t,value:n}=e;return o().createElement("div",{id:t,style:l},n)}const c={position:"fixed",width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0 0 0 0)",clipPath:"inset(100%)",whiteSpace:"nowrap"};function u(e){let{id:t,announcement:n}=e;return o().createElement("div",{id:t,style:c,role:"status","aria-live":"assertive","aria-atomic":!0},n)}const d=(0,r.createContext)(null),f={draggable:"\n To pick up a draggable item, press the space bar.\n While dragging, use the arrow keys to move the item.\n Press space again to drop the item in its new position, or press escape to cancel.\n "},v={onDragStart(e){let{active:t}=e;return"Picked up draggable item "+t.id+"."},onDragOver(e){let{active:t,over:n}=e;return n?"Draggable item "+t.id+" was moved over droppable area "+n.id+".":"Draggable item "+t.id+" is no longer over a droppable area."},onDragEnd(e){let{active:t,over:n}=e;return n?"Draggable item "+t.id+" was dropped over droppable area "+n.id:"Draggable item "+t.id+" was dropped."},onDragCancel(e){let{active:t}=e;return"Dragging was cancelled. Draggable item "+t.id+" was dropped."}};function g(e){let{announcements:t=v,container:n,hiddenTextDescribedById:l,screenReaderInstructions:c=f}=e;const{announce:g,announcement:h}=function(){const[e,t]=(0,r.useState)("");return{announce:(0,r.useCallback)((e=>{null!=e&&t(e)}),[]),announcement:e}}(),p=(0,a.Ld)("DndLiveRegion"),[b,m]=(0,r.useState)(!1);if((0,r.useEffect)((()=>{m(!0)}),[]),function(e){const t=(0,r.useContext)(d);(0,r.useEffect)((()=>{if(!t)throw new Error("useDndMonitor must be used within a children of <DndContext>");return t(e)}),[e,t])}((0,r.useMemo)((()=>({onDragStart(e){let{active:n}=e;g(t.onDragStart({active:n}))},onDragMove(e){let{active:n,over:r}=e;t.onDragMove&&g(t.onDragMove({active:n,over:r}))},onDragOver(e){let{active:n,over:r}=e;g(t.onDragOver({active:n,over:r}))},onDragEnd(e){let{active:n,over:r}=e;g(t.onDragEnd({active:n,over:r}))},onDragCancel(e){let{active:n,over:r}=e;g(t.onDragCancel({active:n,over:r}))}})),[g,t])),!b)return null;const y=o().createElement(o().Fragment,null,o().createElement(s,{id:l,value:c.draggable}),o().createElement(u,{id:p,announcement:h}));return n?(0,i.createPortal)(y,n):y}var h;function p(){}function b(e,t){return(0,r.useMemo)((()=>({sensor:e,options:null!=t?t:{}})),[e,t])}function m(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,r.useMemo)((()=>[...t].filter((e=>null!=e))),[...t])}!function(e){e.DragStart="dragStart",e.DragMove="dragMove",e.DragEnd="dragEnd",e.DragCancel="dragCancel",e.DragOver="dragOver",e.RegisterDroppable="registerDroppable",e.SetDroppableDisabled="setDroppableDisabled",e.UnregisterDroppable="unregisterDroppable"}(h||(h={}));const y=Object.freeze({x:0,y:0});function w(e,t){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function x(e,t){const n=(0,a.DC)(e);return n?(n.x-t.left)/t.width*100+"% "+(n.y-t.top)/t.height*100+"%":"0 0"}function C(e,t){let{data:{value:n}}=e,{data:{value:r}}=t;return n-r}function R(e,t){let{data:{value:n}}=e,{data:{value:r}}=t;return r-n}function D(e){let{left:t,top:n,height:r,width:o}=e;return[{x:t,y:n},{x:t+o,y:n},{x:t,y:n+r},{x:t+o,y:n+r}]}function E(e,t){if(!e||0===e.length)return null;const[n]=e;return t?n[t]:n}function S(e,t,n){return void 0===t&&(t=e.left),void 0===n&&(n=e.top),{x:t+.5*e.width,y:n+.5*e.height}}const I=e=>{let{collisionRect:t,droppableRects:n,droppableContainers:r}=e;const o=S(t,t.left,t.top),i=[];for(const e of r){const{id:t}=e,r=n.get(t);if(r){const n=w(S(r),o);i.push({id:t,data:{droppableContainer:e,value:n}})}}return i.sort(C)},N=e=>{let{collisionRect:t,droppableRects:n,droppableContainers:r}=e;const o=D(t),i=[];for(const e of r){const{id:t}=e,r=n.get(t);if(r){const n=D(r),a=o.reduce(((e,t,r)=>e+w(n[r],t)),0),l=Number((a/4).toFixed(4));i.push({id:t,data:{droppableContainer:e,value:l}})}}return i.sort(C)};function M(e,t){const n=Math.max(t.top,e.top),r=Math.max(t.left,e.left),o=Math.min(t.left+t.width,e.left+e.width),i=Math.min(t.top+t.height,e.top+e.height),a=o-r,l=i-n;if(r<o&&n<i){const n=t.width*t.height,r=e.width*e.height,o=a*l;return Number((o/(n+r-o)).toFixed(4))}return 0}const k=e=>{let{collisionRect:t,droppableRects:n,droppableContainers:r}=e;const o=[];for(const e of r){const{id:r}=e,i=n.get(r);if(i){const n=M(i,t);n>0&&o.push({id:r,data:{droppableContainer:e,value:n}})}}return o.sort(R)};function O(e,t){return e&&t?{x:e.left-t.left,y:e.top-t.top}:y}function L(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return r.reduce(((t,n)=>({...t,top:t.top+e*n.y,bottom:t.bottom+e*n.y,left:t.left+e*n.x,right:t.right+e*n.x})),{...t})}}const T=L(1);function A(e){if(e.startsWith("matrix3d(")){const t=e.slice(9,-1).split(/, /);return{x:+t[12],y:+t[13],scaleX:+t[0],scaleY:+t[5]}}if(e.startsWith("matrix(")){const t=e.slice(7,-1).split(/, /);return{x:+t[4],y:+t[5],scaleX:+t[0],scaleY:+t[3]}}return null}const j={ignoreTransform:!1};function B(e,t){void 0===t&&(t=j);let n=e.getBoundingClientRect();if(t.ignoreTransform){const{getComputedStyle:t}=(0,a.Jj)(e),{transform:r,transformOrigin:o}=t(e);r&&(n=function(e,t,n){const r=A(t);if(!r)return e;const{scaleX:o,scaleY:i,x:a,y:l}=r,s=e.left-a-(1-o)*parseFloat(n),c=e.top-l-(1-i)*parseFloat(n.slice(n.indexOf(" ")+1)),u=o?e.width/o:e.width,d=i?e.height/i:e.height;return{width:u,height:d,top:c,right:s+u,bottom:c+d,left:s}}(n,r,o))}const{top:r,left:o,width:i,height:l,bottom:s,right:c}=n;return{top:r,left:o,width:i,height:l,bottom:s,right:c}}function z(e){return B(e,{ignoreTransform:!0})}function X(e,t){const n=[];return e?function r(o){if(null!=t&&n.length>=t)return n;if(!o)return n;if((0,a.qk)(o)&&null!=o.scrollingElement&&!n.includes(o.scrollingElement))return n.push(o.scrollingElement),n;if(!(0,a.Re)(o)||(0,a.vZ)(o))return n;if(n.includes(o))return n;const{getComputedStyle:i}=(0,a.Jj)(o),l=i(o);return o!==e&&function(e,t){void 0===t&&(t=(0,a.Jj)(e).getComputedStyle(e));const n=/(auto|scroll|overlay)/;return["overflow","overflowX","overflowY"].some((e=>{const r=t[e];return"string"==typeof r&&n.test(r)}))}(o,l)&&n.push(o),function(e,t){return void 0===t&&(t=(0,a.Jj)(e).getComputedStyle(e)),"fixed"===t.position}(o,l)?n:r(o.parentNode)}(e):n}function F(e){const[t]=X(e,1);return null!=t?t:null}function P(e){return a.Nq&&e?(0,a.FJ)(e)?e:(0,a.UG)(e)?(0,a.qk)(e)||e===(0,a.r3)(e).scrollingElement?window:(0,a.Re)(e)?e:null:null:null}function Y(e){return(0,a.FJ)(e)?e.scrollX:e.scrollLeft}function J(e){return(0,a.FJ)(e)?e.scrollY:e.scrollTop}function U(e){return{x:Y(e),y:J(e)}}var H;function K(e){return!(!a.Nq||!e)&&e===document.scrollingElement}function q(e){const t={x:0,y:0},n=K(e)?{height:window.innerHeight,width:window.innerWidth}:{height:e.clientHeight,width:e.clientWidth},r={x:e.scrollWidth-n.width,y:e.scrollHeight-n.height};return{isTop:e.scrollTop<=t.y,isLeft:e.scrollLeft<=t.x,isBottom:e.scrollTop>=r.y,isRight:e.scrollLeft>=r.x,maxScroll:r,minScroll:t}}!function(e){e[e.Forward=1]="Forward",e[e.Backward=-1]="Backward"}(H||(H={}));const W={x:.2,y:.2};function _(e,t,n,r,o){let{top:i,left:a,right:l,bottom:s}=n;void 0===r&&(r=10),void 0===o&&(o=W);const{isTop:c,isBottom:u,isLeft:d,isRight:f}=q(e),v={x:0,y:0},g={x:0,y:0},h=t.height*o.y,p=t.width*o.x;return!c&&i<=t.top+h?(v.y=H.Backward,g.y=r*Math.abs((t.top+h-i)/h)):!u&&s>=t.bottom-h&&(v.y=H.Forward,g.y=r*Math.abs((t.bottom-h-s)/h)),!f&&l>=t.right-p?(v.x=H.Forward,g.x=r*Math.abs((t.right-p-l)/p)):!d&&a<=t.left+p&&(v.x=H.Backward,g.x=r*Math.abs((t.left+p-a)/p)),{direction:v,speed:g}}function G(e){if(e===document.scrollingElement){const{innerWidth:e,innerHeight:t}=window;return{top:0,left:0,right:e,bottom:t,width:e,height:t}}const{top:t,left:n,right:r,bottom:o}=e.getBoundingClientRect();return{top:t,left:n,right:r,bottom:o,width:e.clientWidth,height:e.clientHeight}}function V(e){return e.reduce(((e,t)=>(0,a.IH)(e,U(t))),y)}function $(e,t){if(void 0===t&&(t=B),!e)return;const{top:n,left:r,bottom:o,right:i}=t(e);F(e)&&(o<=0||i<=0||n>=window.innerHeight||r>=window.innerWidth)&&e.scrollIntoView({block:"center",inline:"center"})}const Z=[["x",["left","right"],function(e){return e.reduce(((e,t)=>e+Y(t)),0)}],["y",["top","bottom"],function(e){return e.reduce(((e,t)=>e+J(t)),0)}]];class Q{constructor(e,t){this.rect=void 0,this.width=void 0,this.height=void 0,this.top=void 0,this.bottom=void 0,this.right=void 0,this.left=void 0;const n=X(t),r=V(n);this.rect={...e},this.width=e.width,this.height=e.height;for(const[e,t,o]of Z)for(const i of t)Object.defineProperty(this,i,{get:()=>{const t=o(n),a=r[e]-t;return this.rect[i]+a},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}}class ee{constructor(e){this.target=void 0,this.listeners=[],this.removeAll=()=>{this.listeners.forEach((e=>{var t;return null==(t=this.target)?void 0:t.removeEventListener(...e)}))},this.target=e}add(e,t,n){var r;null==(r=this.target)||r.addEventListener(e,t,n),this.listeners.push([e,t,n])}}function te(e,t){const n=Math.abs(e.x),r=Math.abs(e.y);return"number"==typeof t?Math.sqrt(n**2+r**2)>t:"x"in t&&"y"in t?n>t.x&&r>t.y:"x"in t?n>t.x:"y"in t&&r>t.y}var ne,re;function oe(e){e.preventDefault()}function ie(e){e.stopPropagation()}!function(e){e.Click="click",e.DragStart="dragstart",e.Keydown="keydown",e.ContextMenu="contextmenu",e.Resize="resize",e.SelectionChange="selectionchange",e.VisibilityChange="visibilitychange"}(ne||(ne={})),function(e){e.Space="Space",e.Down="ArrowDown",e.Right="ArrowRight",e.Left="ArrowLeft",e.Up="ArrowUp",e.Esc="Escape",e.Enter="Enter"}(re||(re={}));const ae={start:[re.Space,re.Enter],cancel:[re.Esc],end:[re.Space,re.Enter]},le=(e,t)=>{let{currentCoordinates:n}=t;switch(e.code){case re.Right:return{...n,x:n.x+25};case re.Left:return{...n,x:n.x-25};case re.Down:return{...n,y:n.y+25};case re.Up:return{...n,y:n.y-25}}};class se{constructor(e){this.props=void 0,this.autoScrollEnabled=!1,this.referenceCoordinates=void 0,this.listeners=void 0,this.windowListeners=void 0,this.props=e;const{event:{target:t}}=e;this.props=e,this.listeners=new ee((0,a.r3)(t)),this.windowListeners=new ee((0,a.Jj)(t)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(ne.Resize,this.handleCancel),this.windowListeners.add(ne.VisibilityChange,this.handleCancel),setTimeout((()=>this.listeners.add(ne.Keydown,this.handleKeyDown)))}handleStart(){const{activeNode:e,onStart:t}=this.props,n=e.node.current;n&&$(n),t(y)}handleKeyDown(e){if((0,a.vd)(e)){const{active:t,context:n,options:r}=this.props,{keyboardCodes:o=ae,coordinateGetter:i=le,scrollBehavior:l="smooth"}=r,{code:s}=e;if(o.end.includes(s))return void this.handleEnd(e);if(o.cancel.includes(s))return void this.handleCancel(e);const{collisionRect:c}=n.current,u=c?{x:c.left,y:c.top}:y;this.referenceCoordinates||(this.referenceCoordinates=u);const d=i(e,{active:t,context:n.current,currentCoordinates:u});if(d){const t=(0,a.$X)(d,u),r={x:0,y:0},{scrollableAncestors:o}=n.current;for(const n of o){const o=e.code,{isTop:i,isRight:a,isLeft:s,isBottom:c,maxScroll:u,minScroll:f}=q(n),v=G(n),g={x:Math.min(o===re.Right?v.right-v.width/2:v.right,Math.max(o===re.Right?v.left:v.left+v.width/2,d.x)),y:Math.min(o===re.Down?v.bottom-v.height/2:v.bottom,Math.max(o===re.Down?v.top:v.top+v.height/2,d.y))},h=o===re.Right&&!a||o===re.Left&&!s,p=o===re.Down&&!c||o===re.Up&&!i;if(h&&g.x!==d.x){const e=n.scrollLeft+t.x,i=o===re.Right&&e<=u.x||o===re.Left&&e>=f.x;if(i&&!t.y)return void n.scrollTo({left:e,behavior:l});r.x=i?n.scrollLeft-e:o===re.Right?n.scrollLeft-u.x:n.scrollLeft-f.x,r.x&&n.scrollBy({left:-r.x,behavior:l});break}if(p&&g.y!==d.y){const e=n.scrollTop+t.y,i=o===re.Down&&e<=u.y||o===re.Up&&e>=f.y;if(i&&!t.x)return void n.scrollTo({top:e,behavior:l});r.y=i?n.scrollTop-e:o===re.Down?n.scrollTop-u.y:n.scrollTop-f.y,r.y&&n.scrollBy({top:-r.y,behavior:l});break}}this.handleMove(e,(0,a.IH)((0,a.$X)(d,this.referenceCoordinates),r))}}}handleMove(e,t){const{onMove:n}=this.props;e.preventDefault(),n(t)}handleEnd(e){const{onEnd:t}=this.props;e.preventDefault(),this.detach(),t()}handleCancel(e){const{onCancel:t}=this.props;e.preventDefault(),this.detach(),t()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll()}}function ce(e){return Boolean(e&&"distance"in e)}function ue(e){return Boolean(e&&"delay"in e)}se.activators=[{eventName:"onKeyDown",handler:(e,t,n)=>{let{keyboardCodes:r=ae,onActivation:o}=t,{active:i}=n;const{code:a}=e.nativeEvent;if(r.start.includes(a)){const t=i.activatorNode.current;return!(t&&e.target!==t||(e.preventDefault(),null==o||o({event:e.nativeEvent}),0))}return!1}}];class de{constructor(e,t,n){var r;void 0===n&&(n=function(e){const{EventTarget:t}=(0,a.Jj)(e);return e instanceof t?e:(0,a.r3)(e)}(e.event.target)),this.props=void 0,this.events=void 0,this.autoScrollEnabled=!0,this.document=void 0,this.activated=!1,this.initialCoordinates=void 0,this.timeoutId=null,this.listeners=void 0,this.documentListeners=void 0,this.windowListeners=void 0,this.props=e,this.events=t;const{event:o}=e,{target:i}=o;this.props=e,this.events=t,this.document=(0,a.r3)(i),this.documentListeners=new ee(this.document),this.listeners=new ee(n),this.windowListeners=new ee((0,a.Jj)(i)),this.initialCoordinates=null!=(r=(0,a.DC)(o))?r:y,this.handleStart=this.handleStart.bind(this),this.handleMove=this.handleMove.bind(this),this.handleEnd=this.handleEnd.bind(this),this.handleCancel=this.handleCancel.bind(this),this.handleKeydown=this.handleKeydown.bind(this),this.removeTextSelection=this.removeTextSelection.bind(this),this.attach()}attach(){const{events:e,props:{options:{activationConstraint:t}}}=this;if(this.listeners.add(e.move.name,this.handleMove,{passive:!1}),this.listeners.add(e.end.name,this.handleEnd),this.windowListeners.add(ne.Resize,this.handleCancel),this.windowListeners.add(ne.DragStart,oe),this.windowListeners.add(ne.VisibilityChange,this.handleCancel),this.windowListeners.add(ne.ContextMenu,oe),this.documentListeners.add(ne.Keydown,this.handleKeydown),t){if(ce(t))return;if(ue(t))return void(this.timeoutId=setTimeout(this.handleStart,t.delay))}this.handleStart()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll(),setTimeout(this.documentListeners.removeAll,50),null!==this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=null)}handleStart(){const{initialCoordinates:e}=this,{onStart:t}=this.props;e&&(this.activated=!0,this.documentListeners.add(ne.Click,ie,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(ne.SelectionChange,this.removeTextSelection),t(e))}handleMove(e){var t;const{activated:n,initialCoordinates:r,props:o}=this,{onMove:i,options:{activationConstraint:l}}=o;if(!r)return;const s=null!=(t=(0,a.DC)(e))?t:y,c=(0,a.$X)(r,s);if(!n&&l){if(ue(l))return te(c,l.tolerance)?this.handleCancel():void 0;if(ce(l))return null!=l.tolerance&&te(c,l.tolerance)?this.handleCancel():te(c,l.distance)?this.handleStart():void 0}e.cancelable&&e.preventDefault(),i(s)}handleEnd(){const{onEnd:e}=this.props;this.detach(),e()}handleCancel(){const{onCancel:e}=this.props;this.detach(),e()}handleKeydown(e){e.code===re.Esc&&this.handleCancel()}removeTextSelection(){var e;null==(e=this.document.getSelection())||e.removeAllRanges()}}const fe={move:{name:"pointermove"},end:{name:"pointerup"}};class ve extends de{constructor(e){const{event:t}=e,n=(0,a.r3)(t.target);super(e,fe,n)}}ve.activators=[{eventName:"onPointerDown",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;return!(!n.isPrimary||0!==n.button||(null==r||r({event:n}),0))}}];const ge={move:{name:"mousemove"},end:{name:"mouseup"}};var he;!function(e){e[e.RightClick=2]="RightClick"}(he||(he={})),class extends de{constructor(e){super(e,ge,(0,a.r3)(e.event.target))}}.activators=[{eventName:"onMouseDown",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;return n.button!==he.RightClick&&(null==r||r({event:n}),!0)}}];const pe={move:{name:"touchmove"},end:{name:"touchend"}};var be,me;(class extends de{constructor(e){super(e,pe)}static setup(){return window.addEventListener(pe.move.name,e,{capture:!1,passive:!1}),function(){window.removeEventListener(pe.move.name,e)};function e(){}}}).activators=[{eventName:"onTouchStart",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;const{touches:o}=n;return!(o.length>1||(null==r||r({event:n}),0))}}],function(e){e[e.Pointer=0]="Pointer",e[e.DraggableRect=1]="DraggableRect"}(be||(be={})),function(e){e[e.TreeOrder=0]="TreeOrder",e[e.ReversedTreeOrder=1]="ReversedTreeOrder"}(me||(me={}));const ye={x:{[H.Backward]:!1,[H.Forward]:!1},y:{[H.Backward]:!1,[H.Forward]:!1}};var we,xe;!function(e){e[e.Always=0]="Always",e[e.BeforeDragging=1]="BeforeDragging",e[e.WhileDragging=2]="WhileDragging"}(we||(we={})),function(e){e.Optimized="optimized"}(xe||(xe={}));const Ce=new Map;function Re(e,t){return(0,a.Gj)((n=>e?n||("function"==typeof t?t(e):e):null),[t,e])}function De(e){let{callback:t,disabled:n}=e;const o=(0,a.zX)(t),i=(0,r.useMemo)((()=>{if(n||"undefined"==typeof window||void 0===window.ResizeObserver)return;const{ResizeObserver:e}=window;return new e(o)}),[n]);return(0,r.useEffect)((()=>()=>null==i?void 0:i.disconnect()),[i]),i}function Ee(e){return new Q(B(e),e)}function Se(e,t,n){void 0===t&&(t=Ee);const[o,i]=(0,r.useReducer)((function(r){if(!e)return null;var o;if(!1===e.isConnected)return null!=(o=null!=r?r:n)?o:null;const i=t(e);return JSON.stringify(r)===JSON.stringify(i)?r:i}),null),l=function(e){let{callback:t,disabled:n}=e;const o=(0,a.zX)(t),i=(0,r.useMemo)((()=>{if(n||"undefined"==typeof window||void 0===window.MutationObserver)return;const{MutationObserver:e}=window;return new e(o)}),[o,n]);return(0,r.useEffect)((()=>()=>null==i?void 0:i.disconnect()),[i]),i}({callback(t){if(e)for(const n of t){const{type:t,target:r}=n;if("childList"===t&&r instanceof HTMLElement&&r.contains(e)){i();break}}}}),s=De({callback:i});return(0,a.LI)((()=>{i(),e?(null==s||s.observe(e),null==l||l.observe(document.body,{childList:!0,subtree:!0})):(null==s||s.disconnect(),null==l||l.disconnect())}),[e]),o}const Ie=[];function Ne(e,t){void 0===t&&(t=[]);const n=(0,r.useRef)(null);return(0,r.useEffect)((()=>{n.current=null}),t),(0,r.useEffect)((()=>{const t=e!==y;t&&!n.current&&(n.current=e),!t&&n.current&&(n.current=null)}),[e]),n.current?(0,a.$X)(e,n.current):y}function Me(e){return(0,r.useMemo)((()=>e?function(e){const t=e.innerWidth,n=e.innerHeight;return{top:0,left:0,right:t,bottom:n,width:t,height:n}}(e):null),[e])}const ke=[];function Oe(e){if(!e)return null;if(e.children.length>1)return e;const t=e.children[0];return(0,a.Re)(t)?t:e}const Le=[{sensor:ve,options:{}},{sensor:se,options:{}}],Te={current:{}},Ae={draggable:{measure:z},droppable:{measure:z,strategy:we.WhileDragging,frequency:xe.Optimized},dragOverlay:{measure:B}};class je extends Map{get(e){var t;return null!=e&&null!=(t=super.get(e))?t:void 0}toArray(){return Array.from(this.values())}getEnabled(){return this.toArray().filter((e=>{let{disabled:t}=e;return!t}))}getNodeFor(e){var t,n;return null!=(t=null==(n=this.get(e))?void 0:n.node.current)?t:void 0}}const Be={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new je,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:p},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:Ae,measureDroppableContainers:p,windowRect:null,measuringScheduled:!1},ze={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:p,draggableNodes:new Map,over:null,measureDroppableContainers:p},Xe=(0,r.createContext)(ze),Fe=(0,r.createContext)(Be);function Pe(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new je}}}function Ye(e,t){switch(t.type){case h.DragStart:return{...e,draggable:{...e.draggable,initialCoordinates:t.initialCoordinates,active:t.active}};case h.DragMove:return e.draggable.active?{...e,draggable:{...e.draggable,translate:{x:t.coordinates.x-e.draggable.initialCoordinates.x,y:t.coordinates.y-e.draggable.initialCoordinates.y}}}:e;case h.DragEnd:case h.DragCancel:return{...e,draggable:{...e.draggable,active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}}};case h.RegisterDroppable:{const{element:n}=t,{id:r}=n,o=new je(e.droppable.containers);return o.set(r,n),{...e,droppable:{...e.droppable,containers:o}}}case h.SetDroppableDisabled:{const{id:n,key:r,disabled:o}=t,i=e.droppable.containers.get(n);if(!i||r!==i.key)return e;const a=new je(e.droppable.containers);return a.set(n,{...i,disabled:o}),{...e,droppable:{...e.droppable,containers:a}}}case h.UnregisterDroppable:{const{id:n,key:r}=t,o=e.droppable.containers.get(n);if(!o||r!==o.key)return e;const i=new je(e.droppable.containers);return i.delete(n),{...e,droppable:{...e.droppable,containers:i}}}default:return e}}function Je(e){let{disabled:t}=e;const{active:n,activatorEvent:o,draggableNodes:i}=(0,r.useContext)(Xe),l=(0,a.D9)(o),s=(0,a.D9)(null==n?void 0:n.id);return(0,r.useEffect)((()=>{if(!t&&!o&&l&&null!=s){if(!(0,a.vd)(l))return;if(document.activeElement===l.target)return;const e=i.get(s);if(!e)return;const{activatorNode:t,node:n}=e;if(!t.current&&!n.current)return;requestAnimationFrame((()=>{for(const e of[t.current,n.current]){if(!e)continue;const t=(0,a.so)(e);if(t){t.focus();break}}}))}}),[o,t,i,s,l]),null}function Ue(e,t){let{transform:n,...r}=t;return null!=e&&e.length?e.reduce(((e,t)=>t({transform:e,...r})),n):n}const He=(0,r.createContext)({...y,scaleX:1,scaleY:1});var Ke;!function(e){e[e.Uninitialized=0]="Uninitialized",e[e.Initializing=1]="Initializing",e[e.Initialized=2]="Initialized"}(Ke||(Ke={}));const qe=(0,r.memo)((function(e){var t,n,l,s;let{id:c,accessibility:u,autoScroll:f=!0,children:v,sensors:p=Le,collisionDetection:b=k,measuring:m,modifiers:w,...x}=e;const C=(0,r.useReducer)(Ye,void 0,Pe),[R,D]=C,[S,I]=function(){const[e]=(0,r.useState)((()=>new Set)),t=(0,r.useCallback)((t=>(e.add(t),()=>e.delete(t))),[e]);return[(0,r.useCallback)((t=>{let{type:n,event:r}=t;e.forEach((e=>{var t;return null==(t=e[n])?void 0:t.call(e,r)}))}),[e]),t]}(),[N,M]=(0,r.useState)(Ke.Uninitialized),L=N===Ke.Initialized,{draggable:{active:A,nodes:j,translate:z},droppable:{containers:Y}}=R,J=A?j.get(A):null,q=(0,r.useRef)({initial:null,translated:null}),W=(0,r.useMemo)((()=>{var e;return null!=A?{id:A,data:null!=(e=null==J?void 0:J.data)?e:Te,rect:q}:null}),[A,J]),G=(0,r.useRef)(null),[$,Z]=(0,r.useState)(null),[ee,te]=(0,r.useState)(null),ne=(0,a.Ey)(x,Object.values(x)),re=(0,a.Ld)("DndDescribedBy",c),oe=(0,r.useMemo)((()=>Y.getEnabled()),[Y]),ie=(ae=m,(0,r.useMemo)((()=>({draggable:{...Ae.draggable,...null==ae?void 0:ae.draggable},droppable:{...Ae.droppable,...null==ae?void 0:ae.droppable},dragOverlay:{...Ae.dragOverlay,...null==ae?void 0:ae.dragOverlay}})),[null==ae?void 0:ae.draggable,null==ae?void 0:ae.droppable,null==ae?void 0:ae.dragOverlay]));var ae;const{droppableRects:le,measureDroppableContainers:se,measuringScheduled:ce}=function(e,t){let{dragging:n,dependencies:o,config:i}=t;const[l,s]=(0,r.useState)(null),c=null!=l,{frequency:u,measure:d,strategy:f}=i,v=(0,r.useRef)(e),g=function(){switch(f){case we.Always:return!1;case we.BeforeDragging:return n;default:return!n}}(),h=(0,a.Ey)(g),p=(0,r.useCallback)((function(e){void 0===e&&(e=[]),h.current||s((t=>t?t.concat(e):e))}),[h]),b=(0,r.useRef)(null),m=(0,a.Gj)((t=>{if(g&&!n)return Ce;const r=l;if(!t||t===Ce||v.current!==e||null!=r){const t=new Map;for(let n of e){if(!n)continue;if(r&&r.length>0&&!r.includes(n.id)&&n.rect.current){t.set(n.id,n.rect.current);continue}const e=n.node.current,o=e?new Q(d(e),e):null;n.rect.current=o,o&&t.set(n.id,o)}return t}return t}),[e,l,n,g,d]);return(0,r.useEffect)((()=>{v.current=e}),[e]),(0,r.useEffect)((()=>{g||requestAnimationFrame((()=>p()))}),[n,g]),(0,r.useEffect)((()=>{c&&s(null)}),[c]),(0,r.useEffect)((()=>{g||"number"!=typeof u||null!==b.current||(b.current=setTimeout((()=>{p(),b.current=null}),u))}),[u,g,p,...o]),{droppableRects:m,measureDroppableContainers:p,measuringScheduled:c}}(oe,{dragging:L,dependencies:[z.x,z.y],config:ie.droppable}),ue=function(e,t){const n=null!==t?e.get(t):void 0,r=n?n.node.current:null;return(0,a.Gj)((e=>{var n;return null===t?null:null!=(n=null!=r?r:e)?n:null}),[r,t])}(j,A),de=(0,r.useMemo)((()=>ee?(0,a.DC)(ee):null),[ee]),fe=function(){const e=!1===(null==$?void 0:$.autoScrollEnabled),t="object"==typeof f?!1===f.enabled:!1===f,n=L&&!e&&!t;return"object"==typeof f?{...f,enabled:n}:{enabled:n}}(),ve=function(e,t){return Re(e,t)}(ue,ie.draggable.measure);!function(e){let{activeNode:t,measure:n,initialRect:o,config:i=!0}=e;const l=(0,r.useRef)(!1),{x:s,y:c}="boolean"==typeof i?{x:i,y:i}:i;(0,a.LI)((()=>{if(!s&&!c||!t)return void(l.current=!1);if(l.current||!o)return;const e=null==t?void 0:t.node.current;if(!e||!1===e.isConnected)return;const r=O(n(e),o);if(s||(r.x=0),c||(r.y=0),l.current=!0,Math.abs(r.x)>0||Math.abs(r.y)>0){const t=F(e);t&&t.scrollBy({top:r.y,left:r.x})}}),[t,s,c,o,n])}({activeNode:A?j.get(A):null,config:fe.layoutShiftCompensation,initialRect:ve,measure:ie.draggable.measure});const ge=Se(ue,ie.draggable.measure,ve),he=Se(ue?ue.parentElement:null),pe=(0,r.useRef)({activatorEvent:null,active:null,activeNode:ue,collisionRect:null,collisions:null,droppableRects:le,draggableNodes:j,draggingNode:null,draggingNodeRect:null,droppableContainers:Y,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),xe=Y.getNodeFor(null==(t=pe.current.over)?void 0:t.id),Ee=function(e){let{measure:t}=e;const[n,o]=(0,r.useState)(null),i=De({callback:(0,r.useCallback)((e=>{for(const{target:n}of e)if((0,a.Re)(n)){o((e=>{const r=t(n);return e?{...e,width:r.width,height:r.height}:r}));break}}),[t])}),l=(0,r.useCallback)((e=>{const n=Oe(e);null==i||i.disconnect(),n&&(null==i||i.observe(n)),o(n?t(n):null)}),[t,i]),[s,c]=(0,a.wm)(l);return(0,r.useMemo)((()=>({nodeRef:s,rect:n,setRef:c})),[n,s,c])}({measure:ie.dragOverlay.measure}),je=null!=(n=Ee.nodeRef.current)?n:ue,Be=L?null!=(l=Ee.rect)?l:ge:null,ze=Boolean(Ee.nodeRef.current&&Ee.rect),qe=O(We=ze?null:ge,Re(We));var We;const _e=Me(je?(0,a.Jj)(je):null),Ge=function(e){const t=(0,r.useRef)(e),n=(0,a.Gj)((n=>e?n&&n!==Ie&&e&&t.current&&e.parentNode===t.current.parentNode?n:X(e):Ie),[e]);return(0,r.useEffect)((()=>{t.current=e}),[e]),n}(L?null!=xe?xe:ue:null),Ve=function(e,t){void 0===t&&(t=B);const[n]=e,o=Me(n?(0,a.Jj)(n):null),[i,l]=(0,r.useReducer)((function(){return e.length?e.map((e=>K(e)?o:new Q(t(e),e))):ke}),ke),s=De({callback:l});return e.length>0&&i===ke&&l(),(0,a.LI)((()=>{e.length?e.forEach((e=>null==s?void 0:s.observe(e))):(null==s||s.disconnect(),l())}),[e]),i}(Ge),$e=Ue(w,{transform:{x:z.x-qe.x,y:z.y-qe.y,scaleX:1,scaleY:1},activatorEvent:ee,active:W,activeNodeRect:ge,containerNodeRect:he,draggingNodeRect:Be,over:pe.current.over,overlayNodeRect:Ee.rect,scrollableAncestors:Ge,scrollableAncestorRects:Ve,windowRect:_e}),Ze=de?(0,a.IH)(de,z):null,Qe=function(e){const[t,n]=(0,r.useState)(null),o=(0,r.useRef)(e),i=(0,r.useCallback)((e=>{const t=P(e.target);t&&n((e=>e?(e.set(t,U(t)),new Map(e)):null))}),[]);return(0,r.useEffect)((()=>{const t=o.current;if(e!==t){r(t);const a=e.map((e=>{const t=P(e);return t?(t.addEventListener("scroll",i,{passive:!0}),[t,U(t)]):null})).filter((e=>null!=e));n(a.length?new Map(a):null),o.current=e}return()=>{r(e),r(t)};function r(e){e.forEach((e=>{const t=P(e);null==t||t.removeEventListener("scroll",i)}))}}),[i,e]),(0,r.useMemo)((()=>e.length?t?Array.from(t.values()).reduce(((e,t)=>(0,a.IH)(e,t)),y):V(e):y),[e,t])}(Ge),et=Ne(Qe),tt=Ne(Qe,[ge]),nt=(0,a.IH)($e,et),rt=Be?T(Be,$e):null,ot=W&&rt?b({active:W,collisionRect:rt,droppableRects:le,droppableContainers:oe,pointerCoordinates:Ze}):null,it=E(ot,"id"),[at,lt]=(0,r.useState)(null),st=function(e,t,n){return{...e,scaleX:t&&n?t.width/n.width:1,scaleY:t&&n?t.height/n.height:1}}(ze?$e:(0,a.IH)($e,tt),null!=(s=null==at?void 0:at.rect)?s:null,ge),ct=(0,r.useCallback)(((e,t)=>{let{sensor:n,options:r}=t;if(null==G.current)return;const o=j.get(G.current);if(!o)return;const a=e.nativeEvent,l=new n({active:G.current,activeNode:o,event:a,options:r,context:pe,onStart(e){const t=G.current;if(null==t)return;const n=j.get(t);if(!n)return;const{onDragStart:r}=ne.current,o={active:{id:t,data:n.data,rect:q}};(0,i.unstable_batchedUpdates)((()=>{null==r||r(o),M(Ke.Initializing),D({type:h.DragStart,initialCoordinates:e,active:t}),S({type:"onDragStart",event:o})}))},onMove(e){D({type:h.DragMove,coordinates:e})},onEnd:s(h.DragEnd),onCancel:s(h.DragCancel)});function s(e){return async function(){const{active:t,collisions:n,over:r,scrollAdjustedTranslate:o}=pe.current;let l=null;if(t&&o){const{cancelDrop:i}=ne.current;l={activatorEvent:a,active:t,collisions:n,delta:o,over:r},e===h.DragEnd&&"function"==typeof i&&await Promise.resolve(i(l))&&(e=h.DragCancel)}G.current=null,(0,i.unstable_batchedUpdates)((()=>{D({type:e}),M(Ke.Uninitialized),lt(null),Z(null),te(null);const t=e===h.DragEnd?"onDragEnd":"onDragCancel";if(l){const e=ne.current[t];null==e||e(l),S({type:t,event:l})}}))}}(0,i.unstable_batchedUpdates)((()=>{Z(l),te(e.nativeEvent)}))}),[j]),ut=(0,r.useCallback)(((e,t)=>(n,r)=>{const o=n.nativeEvent,i=j.get(r);if(null!==G.current||!i||o.dndKit||o.defaultPrevented)return;const a={active:i};!0===e(n,t.options,a)&&(o.dndKit={capturedBy:t.sensor},G.current=r,ct(n,t))}),[j,ct]),dt=function(e,t){return(0,r.useMemo)((()=>e.reduce(((e,n)=>{const{sensor:r}=n;return[...e,...r.activators.map((e=>({eventName:e.eventName,handler:t(e.handler,n)})))]}),[])),[e,t])}(p,ut);!function(e){(0,r.useEffect)((()=>{if(!a.Nq)return;const t=e.map((e=>{let{sensor:t}=e;return null==t.setup?void 0:t.setup()}));return()=>{for(const e of t)null==e||e()}}),e.map((e=>{let{sensor:t}=e;return t})))}(p),(0,a.LI)((()=>{ge&&N===Ke.Initializing&&M(Ke.Initialized)}),[ge,N]),(0,r.useEffect)((()=>{const{onDragMove:e}=ne.current,{active:t,activatorEvent:n,collisions:r,over:o}=pe.current;if(!t||!n)return;const a={active:t,activatorEvent:n,collisions:r,delta:{x:nt.x,y:nt.y},over:o};(0,i.unstable_batchedUpdates)((()=>{null==e||e(a),S({type:"onDragMove",event:a})}))}),[nt.x,nt.y]),(0,r.useEffect)((()=>{const{active:e,activatorEvent:t,collisions:n,droppableContainers:r,scrollAdjustedTranslate:o}=pe.current;if(!e||null==G.current||!t||!o)return;const{onDragOver:a}=ne.current,l=r.get(it),s=l&&l.rect.current?{id:l.id,rect:l.rect.current,data:l.data,disabled:l.disabled}:null,c={active:e,activatorEvent:t,collisions:n,delta:{x:o.x,y:o.y},over:s};(0,i.unstable_batchedUpdates)((()=>{lt(s),null==a||a(c),S({type:"onDragOver",event:c})}))}),[it]),(0,a.LI)((()=>{pe.current={activatorEvent:ee,active:W,activeNode:ue,collisionRect:rt,collisions:ot,droppableRects:le,draggableNodes:j,draggingNode:je,draggingNodeRect:Be,droppableContainers:Y,over:at,scrollableAncestors:Ge,scrollAdjustedTranslate:nt},q.current={initial:Be,translated:rt}}),[W,ue,ot,rt,j,je,Be,le,Y,at,Ge,nt]),function(e){let{acceleration:t,activator:n=be.Pointer,canScroll:o,draggingRect:i,enabled:l,interval:s=5,order:c=me.TreeOrder,pointerCoordinates:u,scrollableAncestors:d,scrollableAncestorRects:f,delta:v,threshold:g}=e;const h=function(e){let{delta:t,disabled:n}=e;const r=(0,a.D9)(t);return(0,a.Gj)((e=>{if(n||!r||!e)return ye;const o=Math.sign(t.x-r.x),i=Math.sign(t.y-r.y);return{x:{[H.Backward]:e.x[H.Backward]||-1===o,[H.Forward]:e.x[H.Forward]||1===o},y:{[H.Backward]:e.y[H.Backward]||-1===i,[H.Forward]:e.y[H.Forward]||1===i}}}),[n,t,r])}({delta:v,disabled:!l}),[p,b]=(0,a.Yz)(),m=(0,r.useRef)({x:0,y:0}),y=(0,r.useRef)({x:0,y:0}),w=(0,r.useMemo)((()=>{switch(n){case be.Pointer:return u?{top:u.y,bottom:u.y,left:u.x,right:u.x}:null;case be.DraggableRect:return i}}),[n,i,u]),x=(0,r.useRef)(null),C=(0,r.useCallback)((()=>{const e=x.current;if(!e)return;const t=m.current.x*y.current.x,n=m.current.y*y.current.y;e.scrollBy(t,n)}),[]),R=(0,r.useMemo)((()=>c===me.TreeOrder?[...d].reverse():d),[c,d]);(0,r.useEffect)((()=>{if(l&&d.length&&w){for(const e of R){if(!1===(null==o?void 0:o(e)))continue;const n=d.indexOf(e),r=f[n];if(!r)continue;const{direction:i,speed:a}=_(e,r,w,t,g);for(const e of["x","y"])h[e][i[e]]||(a[e]=0,i[e]=0);if(a.x>0||a.y>0)return b(),x.current=e,p(C,s),m.current=a,void(y.current=i)}m.current={x:0,y:0},y.current={x:0,y:0},b()}else b()}),[t,C,o,b,l,s,JSON.stringify(w),JSON.stringify(h),p,d,R,f,JSON.stringify(g)])}({...fe,delta:z,draggingRect:rt,pointerCoordinates:Ze,scrollableAncestors:Ge,scrollableAncestorRects:Ve});const ft=(0,r.useMemo)((()=>({active:W,activeNode:ue,activeNodeRect:ge,activatorEvent:ee,collisions:ot,containerNodeRect:he,dragOverlay:Ee,draggableNodes:j,droppableContainers:Y,droppableRects:le,over:at,measureDroppableContainers:se,scrollableAncestors:Ge,scrollableAncestorRects:Ve,measuringConfiguration:ie,measuringScheduled:ce,windowRect:_e})),[W,ue,ge,ee,ot,he,Ee,j,Y,le,at,se,Ge,Ve,ie,ce,_e]),vt=(0,r.useMemo)((()=>({activatorEvent:ee,activators:dt,active:W,activeNodeRect:ge,ariaDescribedById:{draggable:re},dispatch:D,draggableNodes:j,over:at,measureDroppableContainers:se})),[ee,dt,W,ge,D,re,j,at,se]);return o().createElement(d.Provider,{value:I},o().createElement(Xe.Provider,{value:vt},o().createElement(Fe.Provider,{value:ft},o().createElement(He.Provider,{value:st},v)),o().createElement(Je,{disabled:!1===(null==u?void 0:u.restoreFocus)})),o().createElement(g,{...u,hiddenTextDescribedById:re}))})),We=(0,r.createContext)(null),_e="button",Ge="Droppable";function Ve(e){let{id:t,data:n,disabled:o=!1,attributes:i}=e;const l=(0,a.Ld)(Ge),{activators:s,activatorEvent:c,active:u,activeNodeRect:d,ariaDescribedById:f,draggableNodes:v,over:g}=(0,r.useContext)(Xe),{role:h=_e,roleDescription:p="draggable",tabIndex:b=0}=null!=i?i:{},m=(null==u?void 0:u.id)===t,y=(0,r.useContext)(m?He:We),[w,x]=(0,a.wm)(),[C,R]=(0,a.wm)(),D=function(e,t){return(0,r.useMemo)((()=>e.reduce(((e,n)=>{let{eventName:r,handler:o}=n;return e[r]=e=>{o(e,t)},e}),{})),[e,t])}(s,t),E=(0,a.Ey)(n);return(0,a.LI)((()=>(v.set(t,{id:t,key:l,node:w,activatorNode:C,data:E}),()=>{const e=v.get(t);e&&e.key===l&&v.delete(t)})),[v,t]),{active:u,activatorEvent:c,activeNodeRect:d,attributes:(0,r.useMemo)((()=>({role:h,tabIndex:b,"aria-disabled":o,"aria-pressed":!(!m||h!==_e)||void 0,"aria-roledescription":p,"aria-describedby":f.draggable})),[o,h,b,m,p,f.draggable]),isDragging:m,listeners:o?void 0:D,node:w,over:g,setNodeRef:x,setActivatorNodeRef:R,transform:y}}function $e(){return(0,r.useContext)(Fe)}const Ze="Droppable",Qe={timeout:25};function et(e){let{data:t,disabled:n=!1,id:o,resizeObserverConfig:i}=e;const l=(0,a.Ld)(Ze),{active:s,dispatch:c,over:u,measureDroppableContainers:d}=(0,r.useContext)(Xe),f=(0,r.useRef)({disabled:n}),v=(0,r.useRef)(!1),g=(0,r.useRef)(null),p=(0,r.useRef)(null),{disabled:b,updateMeasurementsFor:m,timeout:y}={...Qe,...i},w=(0,a.Ey)(null!=m?m:o),x=De({callback:(0,r.useCallback)((()=>{v.current?(null!=p.current&&clearTimeout(p.current),p.current=setTimeout((()=>{d(Array.isArray(w.current)?w.current:[w.current]),p.current=null}),y)):v.current=!0}),[y]),disabled:b||!s}),C=(0,r.useCallback)(((e,t)=>{x&&(t&&(x.unobserve(t),v.current=!1),e&&x.observe(e))}),[x]),[R,D]=(0,a.wm)(C),E=(0,a.Ey)(t);return(0,r.useEffect)((()=>{x&&R.current&&(x.disconnect(),v.current=!1,x.observe(R.current))}),[R,x]),(0,a.LI)((()=>(c({type:h.RegisterDroppable,element:{id:o,key:l,disabled:n,node:R,rect:g,data:E}}),()=>c({type:h.UnregisterDroppable,key:l,id:o}))),[o]),(0,r.useEffect)((()=>{n!==f.current.disabled&&(c({type:h.SetDroppableDisabled,id:o,key:l,disabled:n}),f.current.disabled=n)}),[o,l,n,c]),{active:s,rect:g,isOver:(null==u?void 0:u.id)===o,node:R,over:u,setNodeRef:D}}function tt(e){let{animation:t,children:n}=e;const[i,l]=(0,r.useState)(null),[s,c]=(0,r.useState)(null),u=(0,a.D9)(n);return n||i||!u||l(u),(0,a.LI)((()=>{if(!s)return;const e=null==i?void 0:i.key,n=null==i?void 0:i.props.id;null!=e&&null!=n?Promise.resolve(t(n,s)).then((()=>{l(null)})):l(null)}),[t,i,s]),o().createElement(o().Fragment,null,n,i?(0,r.cloneElement)(i,{ref:c}):null)}const nt={x:0,y:0,scaleX:1,scaleY:1};function rt(e){let{children:t}=e;return o().createElement(Xe.Provider,{value:ze},o().createElement(He.Provider,{value:nt},t))}const ot={position:"fixed",touchAction:"none"},it=e=>(0,a.vd)(e)?"transform 250ms ease":void 0,at=(0,r.forwardRef)(((e,t)=>{let{as:n,activatorEvent:r,adjustScale:i,children:l,className:s,rect:c,style:u,transform:d,transition:f=it}=e;if(!c)return null;const v=i?d:{...d,scaleX:1,scaleY:1},g={...ot,width:c.width,height:c.height,top:c.top,left:c.left,transform:a.ux.Transform.toString(v),transformOrigin:i&&r?x(r,c):void 0,transition:"function"==typeof f?f(r):f,...u};return o().createElement(n,{className:s,style:g,ref:t},l)})),lt=e=>t=>{let{active:n,dragOverlay:r}=t;const o={},{styles:i,className:a}=e;if(null!=i&&i.active)for(const[e,t]of Object.entries(i.active))void 0!==t&&(o[e]=n.node.style.getPropertyValue(e),n.node.style.setProperty(e,t));if(null!=i&&i.dragOverlay)for(const[e,t]of Object.entries(i.dragOverlay))void 0!==t&&r.node.style.setProperty(e,t);return null!=a&&a.active&&n.node.classList.add(a.active),null!=a&&a.dragOverlay&&r.node.classList.add(a.dragOverlay),function(){for(const[e,t]of Object.entries(o))n.node.style.setProperty(e,t);null!=a&&a.active&&n.node.classList.remove(a.active)}},st={duration:250,easing:"ease",keyframes:e=>{let{transform:{initial:t,final:n}}=e;return[{transform:a.ux.Transform.toString(t)},{transform:a.ux.Transform.toString(n)}]},sideEffects:lt({styles:{active:{opacity:"0"}}})};let ct=0;function ut(e){return(0,r.useMemo)((()=>{if(null!=e)return ct++,ct}),[e])}const dt=o().memo((e=>{let{adjustScale:t=!1,children:n,dropAnimation:i,style:l,transition:s,modifiers:c,wrapperElement:u="div",className:d,zIndex:f=999}=e;const{activatorEvent:v,active:g,activeNodeRect:h,containerNodeRect:p,draggableNodes:b,droppableContainers:m,dragOverlay:y,over:w,measuringConfiguration:x,scrollableAncestors:C,scrollableAncestorRects:R,windowRect:D}=$e(),E=(0,r.useContext)(He),S=ut(null==g?void 0:g.id),I=Ue(c,{activatorEvent:v,active:g,activeNodeRect:h,containerNodeRect:p,draggingNodeRect:y.rect,over:w,overlayNodeRect:y.rect,scrollableAncestors:C,scrollableAncestorRects:R,transform:E,windowRect:D}),N=Re(h),M=function(e){let{config:t,draggableNodes:n,droppableContainers:r,measuringConfiguration:o}=e;return(0,a.zX)(((e,i)=>{if(null===t)return;const l=n.get(e);if(!l)return;const s=l.node.current;if(!s)return;const c=Oe(i);if(!c)return;const{transform:u}=(0,a.Jj)(i).getComputedStyle(i),d=A(u);if(!d)return;const f="function"==typeof t?t:function(e){const{duration:t,easing:n,sideEffects:r,keyframes:o}={...st,...e};return e=>{let{active:i,dragOverlay:a,transform:l,...s}=e;if(!t)return;const c=a.rect.left-i.rect.left,u=a.rect.top-i.rect.top,d={scaleX:1!==l.scaleX?i.rect.width*l.scaleX/a.rect.width:1,scaleY:1!==l.scaleY?i.rect.height*l.scaleY/a.rect.height:1},f={x:l.x-c,y:l.y-u,...d},v=o({...s,active:i,dragOverlay:a,transform:{initial:l,final:f}}),[g]=v,h=v[v.length-1];if(JSON.stringify(g)===JSON.stringify(h))return;const p=null==r?void 0:r({active:i,dragOverlay:a,...s}),b=a.node.animate(v,{duration:t,easing:n,fill:"forwards"});return new Promise((e=>{b.onfinish=()=>{null==p||p(),e()}}))}}(t);return $(s,o.draggable.measure),f({active:{id:e,data:l.data,node:s,rect:o.draggable.measure(s)},draggableNodes:n,dragOverlay:{node:i,rect:o.dragOverlay.measure(c)},droppableContainers:r,measuringConfiguration:o,transform:d})}))}({config:i,draggableNodes:b,droppableContainers:m,measuringConfiguration:x}),k=N?y.setRef:void 0;return o().createElement(rt,null,o().createElement(tt,{animation:M},g&&S?o().createElement(at,{key:S,id:g.id,ref:k,as:u,activatorEvent:v,adjustScale:t,className:d,transition:s,rect:N,style:{zIndex:f,...l},transform:I},n):null))}))},95339:(e,t,n)=>{n.d(t,{DL:()=>r}),n(17592);const r=({transform:e})=>({...e,x:0})},67445:(e,t,n)=>{n.d(t,{Fo:()=>h,U2:()=>u,is:()=>E,nB:()=>C,qw:()=>f});var r=n(1024),o=n.n(r),i=n(20455),a=n(17592);function l(e,t,n){const r=e.slice();return r.splice(n<0?r.length+n:n,0,r.splice(t,1)[0]),r}function s(e,t){return e.reduce(((e,n,r)=>{const o=t.get(n);return o&&(e[r]=o),e}),Array(e.length))}function c(e){return null!==e&&e>=0}const u=e=>{let{rects:t,activeIndex:n,overIndex:r,index:o}=e;const i=l(t,r,n),a=t[o],s=i[o];return s&&a?{x:s.left-a.left,y:s.top-a.top,scaleX:s.width/a.width,scaleY:s.height/a.height}:null},d={scaleX:1,scaleY:1},f=e=>{var t;let{activeIndex:n,activeNodeRect:r,index:o,rects:i,overIndex:a}=e;const l=null!=(t=i[n])?t:r;if(!l)return null;if(o===n){const e=i[a];return e?{x:0,y:n<a?e.top+e.height-(l.top+l.height):e.top-l.top,...d}:null}const s=function(e,t,n){const r=e[t],o=e[t-1],i=e[t+1];return r?n<t?o?r.top-(o.top+o.height):i?i.top-(r.top+r.height):0:i?i.top-(r.top+r.height):o?r.top-(o.top+o.height):0:0}(i,o,n);return o>n&&o<=a?{x:0,y:-l.height-s,...d}:o<n&&o>=a?{x:0,y:l.height+s,...d}:{x:0,y:0,...d}},v="Sortable",g=o().createContext({activeIndex:-1,containerId:v,disableTransforms:!1,items:[],overIndex:-1,useDragOverlay:!1,sortedRects:[],strategy:u,disabled:{draggable:!1,droppable:!1}});function h(e){let{children:t,id:n,items:l,strategy:c=u,disabled:d=!1}=e;const{active:f,dragOverlay:h,droppableRects:p,over:b,measureDroppableContainers:m,measuringScheduled:y}=(0,i.Cj)(),w=(0,a.Ld)(v,n),x=Boolean(null!==h.rect),C=(0,r.useMemo)((()=>l.map((e=>"object"==typeof e&&"id"in e?e.id:e))),[l]),R=null!=f,D=f?C.indexOf(f.id):-1,E=b?C.indexOf(b.id):-1,S=(0,r.useRef)(C),I=!function(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}(C,S.current),N=-1!==E&&-1===D||I,M=function(e){return"boolean"==typeof e?{draggable:e,droppable:e}:e}(d);(0,a.LI)((()=>{I&&R&&!y&&m(C)}),[I,C,R,m,y]),(0,r.useEffect)((()=>{S.current=C}),[C]);const k=(0,r.useMemo)((()=>({activeIndex:D,containerId:w,disabled:M,disableTransforms:N,items:C,overIndex:E,useDragOverlay:x,sortedRects:s(C,p),strategy:c})),[D,w,M.draggable,M.droppable,N,C,E,p,x,c]);return o().createElement(g.Provider,{value:k},t)}const p=e=>{let{id:t,items:n,activeIndex:r,overIndex:o}=e;return l(n,r,o).indexOf(t)},b=e=>{let{containerId:t,isSorting:n,wasDragging:r,index:o,items:i,newIndex:a,previousItems:l,previousContainerId:s,transition:c}=e;return!(!c||!r||l!==i&&o===a||!n&&(a===o||t!==s))},m={duration:200,easing:"ease"},y="transform",w=a.ux.Transition.toString({property:y,duration:0,easing:"linear"}),x={roleDescription:"sortable"};function C(e){let{animateLayoutChanges:t=b,attributes:n,disabled:o,data:l,getNewIndex:s=p,id:u,strategy:d,resizeObserverConfig:f,transition:v=m}=e;const{items:h,containerId:C,activeIndex:R,disabled:D,disableTransforms:E,sortedRects:S,overIndex:I,useDragOverlay:N,strategy:M}=(0,r.useContext)(g),k=function(e,t){var n,r;return"boolean"==typeof e?{draggable:e,droppable:!1}:{draggable:null!=(n=null==e?void 0:e.draggable)?n:t.draggable,droppable:null!=(r=null==e?void 0:e.droppable)?r:t.droppable}}(o,D),O=h.indexOf(u),L=(0,r.useMemo)((()=>({sortable:{containerId:C,index:O,items:h},...l})),[C,l,O,h]),T=(0,r.useMemo)((()=>h.slice(h.indexOf(u))),[h,u]),{rect:A,node:j,isOver:B,setNodeRef:z}=(0,i.Zj)({id:u,data:L,disabled:k.droppable,resizeObserverConfig:{updateMeasurementsFor:T,...f}}),{active:X,activatorEvent:F,activeNodeRect:P,attributes:Y,setNodeRef:J,listeners:U,isDragging:H,over:K,setActivatorNodeRef:q,transform:W}=(0,i.O1)({id:u,data:L,attributes:{...x,...n},disabled:k.draggable}),_=(0,a.HB)(z,J),G=Boolean(X),V=G&&!E&&c(R)&&c(I),$=!N&&H,Z=$&&V?W:null,Q=V?null!=Z?Z:(null!=d?d:M)({rects:S,activeNodeRect:P,activeIndex:R,overIndex:I,index:O}):null,ee=c(R)&&c(I)?s({id:u,items:h,activeIndex:R,overIndex:I}):O,te=null==X?void 0:X.id,ne=(0,r.useRef)({activeId:te,items:h,newIndex:ee,containerId:C}),re=h!==ne.current.items,oe=t({active:X,containerId:C,isDragging:H,isSorting:G,id:u,index:O,items:h,newIndex:ne.current.newIndex,previousItems:ne.current.items,previousContainerId:ne.current.containerId,transition:v,wasDragging:null!=ne.current.activeId}),ie=function(e){let{disabled:t,index:n,node:o,rect:l}=e;const[s,c]=(0,r.useState)(null),u=(0,r.useRef)(n);return(0,a.LI)((()=>{if(!t&&n!==u.current&&o.current){const e=l.current;if(e){const t=(0,i.VK)(o.current,{ignoreTransform:!0}),n={x:e.left-t.left,y:e.top-t.top,scaleX:e.width/t.width,scaleY:e.height/t.height};(n.x||n.y)&&c(n)}}n!==u.current&&(u.current=n)}),[t,n,o,l]),(0,r.useEffect)((()=>{s&&requestAnimationFrame((()=>{c(null)}))}),[s]),s}({disabled:!oe,index:O,node:j,rect:A});return(0,r.useEffect)((()=>{G&&ne.current.newIndex!==ee&&(ne.current.newIndex=ee),C!==ne.current.containerId&&(ne.current.containerId=C),h!==ne.current.items&&(ne.current.items=h)}),[G,ee,C,h]),(0,r.useEffect)((()=>{if(te===ne.current.activeId)return;if(te&&!ne.current.activeId)return void(ne.current.activeId=te);const e=setTimeout((()=>{ne.current.activeId=te}),50);return()=>clearTimeout(e)}),[te]),{active:X,activeIndex:R,attributes:Y,data:L,rect:A,index:O,newIndex:ee,items:h,isOver:B,isSorting:G,isDragging:H,listeners:U,node:j,overIndex:I,over:K,setNodeRef:_,setActivatorNodeRef:q,setDroppableNodeRef:z,setDraggableNodeRef:J,transform:null!=ie?ie:Q,transition:ie||re&&ne.current.newIndex===O?w:$&&!(0,a.vd)(F)||!v?void 0:G||oe?a.ux.Transition.toString({...v,property:y}):void 0}}function R(e){if(!e)return!1;const t=e.data.current;return!!(t&&"sortable"in t&&"object"==typeof t.sortable&&"containerId"in t.sortable&&"items"in t.sortable&&"index"in t.sortable)}const D=[i.g4.Down,i.g4.Right,i.g4.Up,i.g4.Left],E=(e,t)=>{let{context:{active:n,collisionRect:r,droppableRects:o,droppableContainers:l,over:s,scrollableAncestors:c}}=t;if(D.includes(e.code)){if(e.preventDefault(),!n||!r)return;const t=[];l.getEnabled().forEach((n=>{if(!n||null!=n&&n.disabled)return;const a=o.get(n.id);if(a)switch(e.code){case i.g4.Down:r.top<a.top&&t.push(n);break;case i.g4.Up:r.top>a.top&&t.push(n);break;case i.g4.Left:r.left>a.left&&t.push(n);break;case i.g4.Right:r.left<a.left&&t.push(n)}}));const f=(0,i.ey)({active:n,collisionRect:r,droppableRects:o,droppableContainers:t,pointerCoordinates:null});let v=(0,i._8)(f,"id");if(v===(null==s?void 0:s.id)&&f.length>1&&(v=f[1].id),null!=v){const e=l.get(n.id),t=l.get(v),s=t?o.get(t.id):null,f=null==t?void 0:t.node.current;if(f&&s&&e&&t){const n=(0,i.hI)(f).some(((e,t)=>c[t]!==e)),o=S(e,t),l=(d=t,!(!R(u=e)||!R(d))&&!!S(u,d)&&u.data.current.sortable.index<d.data.current.sortable.index),v=n||!o?{x:0,y:0}:{x:l?r.width-s.width:0,y:l?r.height-s.height:0},g={x:s.left,y:s.top};return v.x&&v.y?g:(0,a.$X)(g,v)}}}var u,d};function S(e,t){return!(!R(e)||!R(t))&&e.data.current.sortable.containerId===t.data.current.sortable.containerId}},17592:(e,t,n)=>{n.d(t,{$X:()=>D,D9:()=>y,DC:()=>S,Ey:()=>p,FJ:()=>a,Gj:()=>b,HB:()=>o,IH:()=>R,Jj:()=>s,LI:()=>v,Ld:()=>x,Nq:()=>i,Re:()=>u,UG:()=>l,Yz:()=>h,qk:()=>c,r3:()=>f,so:()=>M,ux:()=>I,vZ:()=>d,vd:()=>E,wm:()=>m,zX:()=>g});var r=n(1024);function o(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,r.useMemo)((()=>e=>{t.forEach((t=>t(e)))}),t)}const i="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement;function a(e){const t=Object.prototype.toString.call(e);return"[object Window]"===t||"[object global]"===t}function l(e){return"nodeType"in e}function s(e){var t,n;return e?a(e)?e:l(e)&&null!=(t=null==(n=e.ownerDocument)?void 0:n.defaultView)?t:window:window}function c(e){const{Document:t}=s(e);return e instanceof t}function u(e){return!a(e)&&e instanceof s(e).HTMLElement}function d(e){return e instanceof s(e).SVGElement}function f(e){return e?a(e)?e.document:l(e)?c(e)?e:u(e)?e.ownerDocument:document:document:document}const v=i?r.useLayoutEffect:r.useEffect;function g(e){const t=(0,r.useRef)(e);return v((()=>{t.current=e})),(0,r.useCallback)((function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return null==t.current?void 0:t.current(...n)}),[])}function h(){const e=(0,r.useRef)(null);return[(0,r.useCallback)(((t,n)=>{e.current=setInterval(t,n)}),[]),(0,r.useCallback)((()=>{null!==e.current&&(clearInterval(e.current),e.current=null)}),[])]}function p(e,t){void 0===t&&(t=[e]);const n=(0,r.useRef)(e);return v((()=>{n.current!==e&&(n.current=e)}),t),n}function b(e,t){const n=(0,r.useRef)();return(0,r.useMemo)((()=>{const t=e(n.current);return n.current=t,t}),[...t])}function m(e){const t=g(e),n=(0,r.useRef)(null),o=(0,r.useCallback)((e=>{e!==n.current&&(null==t||t(e,n.current)),n.current=e}),[]);return[n,o]}function y(e){const t=(0,r.useRef)();return(0,r.useEffect)((()=>{t.current=e}),[e]),t.current}let w={};function x(e,t){return(0,r.useMemo)((()=>{if(t)return t;const n=null==w[e]?0:w[e]+1;return w[e]=n,e+"-"+n}),[e,t])}function C(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return r.reduce(((t,n)=>{const r=Object.entries(n);for(const[n,o]of r){const r=t[n];null!=r&&(t[n]=r+e*o)}return t}),{...t})}}const R=C(1),D=C(-1);function E(e){if(!e)return!1;const{KeyboardEvent:t}=s(e.target);return t&&e instanceof t}function S(e){if(function(e){if(!e)return!1;const{TouchEvent:t}=s(e.target);return t&&e instanceof t}(e)){if(e.touches&&e.touches.length){const{clientX:t,clientY:n}=e.touches[0];return{x:t,y:n}}if(e.changedTouches&&e.changedTouches.length){const{clientX:t,clientY:n}=e.changedTouches[0];return{x:t,y:n}}}return function(e){return"clientX"in e&&"clientY"in e}(e)?{x:e.clientX,y:e.clientY}:null}const I=Object.freeze({Translate:{toString(e){if(!e)return;const{x:t,y:n}=e;return"translate3d("+(t?Math.round(t):0)+"px, "+(n?Math.round(n):0)+"px, 0)"}},Scale:{toString(e){if(!e)return;const{scaleX:t,scaleY:n}=e;return"scaleX("+t+") scaleY("+n+")"}},Transform:{toString(e){if(e)return[I.Translate.toString(e),I.Scale.toString(e)].join(" ")}},Transition:{toString(e){let{property:t,duration:n,easing:r}=e;return t+" "+n+"ms "+r}}}),N="a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";function M(e){return e.matches(N)?e:e.querySelector(N)}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk_clickview_lite=self.webpackChunk_clickview_lite||[]).push([[7555],{89966:(e,t,r)=>{r.d(t,{Y:()=>E});var n=r(1024),a=r.n(n),s=r(99910),c=r(83345),l=r(40424),u=r(56050),i=r(81886),o=r(8612),m=r(76881);const f={disabledInfoContainer:"UiZlY",badge:"yX3PJ",pending:"y277c"};var p="userManager.bulkUserActionsCountByStatus";function d(){return a().createElement(o.G,null,a().createElement(c.x,{namespace:p,phrase:"active"}))}function y(){return a().createElement("div",{className:"badge badge-danger ".concat(f.badge)},a().createElement(c.x,{namespace:p,phrase:"deactivated"}))}function b(){return a().createElement("div",{className:"badge badge-secondary ".concat(f.badge," ").concat(f.pending)},a().createElement(c.x,{namespace:p,phrase:"pending"}))}function v(e){switch(e.status){case l.w.Active:return a().createElement(d,null);case l.w.Disabled:return a().createElement(y,null);case l.w.Inactive:return a().createElement(b,null)}i.Q.ErrorHelper.throw(new u.H("Object status not mapped"))}function g(e){var t;return a().createElement(a().Fragment,null,a().createElement(v,{status:e.status}),a().createElement("div",null,a().createElement(c.x,{namespace:p,phrase:e.userType===m.Y.Staff?"staffCount":"studentCount",options:{smartCount:null!==(t=e.countsByStatus[e.status])&&void 0!==t?t:0}})))}var h="userManager.bulkUserActionsCountByStatus";function E(e){var t=function(e){var t=e.userType,r=e.changeTo,n=e.countsByStatus,s=[{left:a().createElement(c.x,{namespace:h,phrase:"statuses"}),right:a().createElement(c.x,{namespace:h,phrase:"outcome"})}];if(n[l.w.Active]){var u=r[l.w.Active];s.push({left:a().createElement(g,{userType:t,status:l.w.Active,countsByStatus:n}),right:a().createElement(u,null)})}if(n[l.w.Disabled]){var i=r[l.w.Disabled];s.push({left:a().createElement(g,{userType:t,status:l.w.Disabled,countsByStatus:n}),right:a().createElement(i,null)})}if(n[l.w.Inactive]){var o=r[l.w.Inactive];s.push({left:a().createElement(g,{userType:t,status:l.w.Inactive,countsByStatus:n}),right:a().createElement(o,null)})}return s}(e);return a().createElement("div",{className:"p-2 rounded ".concat(e.disabled?f.disabledInfoContainer:"border")},t.map((function(e,t){return a().createElement(s.Row,{className:"mb-2",key:t},a().createElement(s.Col,{xs:4},e.left),a().createElement(s.Col,{xs:8},e.right))})))}E.Outcomes={Active:d,Deactivated:y,Deleted:function(){return a().createElement("div",{className:"badge badge-dark ".concat(f.badge)},a().createElement(c.x,{namespace:p,phrase:"deleted"}))},NoChange:function(){return a().createElement("div",{className:"text-muted"},a().createElement(c.x,{namespace:p,phrase:"noChange"}))},EmailSent:function(){return a().createElement("div",{className:"text-muted"},a().createElement(c.x,{namespace:p,phrase:"emailSent"}))},NoEmailSentDisabled:function(){return a().createElement("div",{className:"text-muted"},a().createElement(c.x,{namespace:p,phrase:"noEmailSentDisabled"}))},NoEmailSent:function(){return a().createElement("div",{className:"text-muted"},a().createElement(c.x,{namespace:p,phrase:"noEmailSent"}))}}},8612:(e,t,r)=>{r.d(t,{G:()=>s});var n=r(1024),a=r.n(n);function s(e){return a().createElement("span",{className:"".concat(e.className," rounded-pill px-2 text-nowrap bg-white border border-dark")},e.children)}},96300:(e,t,r)=>{r.r(t),r.d(t,{BulkUserActionsResetEmailConfirmationView:()=>O});var n=r(1024),a=r.n(n),s=r(58566),c=r(81886),l=r(20354),u=r(2948),i=r(89966),o=r(68036),m=r(83345),f=r(36033),p=r(38143),d=r(40424),y=r(3044);function b(e){return b="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},b(e)}function v(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==b(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!==b(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===b(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function g(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 h="userManager.bulkUserActionsResetEmailConfirmation";function E(e){var t,r,n;o.b.useSetWizardConfirmationCallback(e.onClickConfirm);var s,c,l=(s=(0,u.D)(p.g.BULK_USER_ACTIONS),c=2,function(e){if(Array.isArray(e))return e}(s)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,a,s,c,l=[],u=!0,i=!1;try{if(s=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=s.call(r)).done)&&(l.push(n.value),l.length!==t);u=!0);}catch(e){i=!0,a=e}finally{try{if(!u&&null!=r.return&&(c=r.return(),Object(c)!==c))return}finally{if(i)throw a}}return l}}(s,c)||function(e,t){if(e){if("string"==typeof e)return g(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)?g(e,t):void 0}}(s,c)||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];a().useEffect((function(){l("subAction","resetEmail")}),[]);var b=(null!==(r=e.countsByStatus.Active)&&void 0!==r?r:0)+(null!==(n=e.countsByStatus.Inactive)&&void 0!==n?n:0);return a().createElement(a().Fragment,null,a().createElement(f.s,null,a().createElement("p",{className:"mb-1"},a().createElement(m.x,{namespace:h,phrase:"info",options:{smartCount:b}})),a().createElement("ul",{className:"mb-2"},a().createElement("li",null,a().createElement(m.x,{namespace:h,phrase:"username"})),a().createElement("li",null,a().createElement(m.x,{namespace:h,phrase:"reset"}))),a().createElement("p",null,a().createElement(m.x,{namespace:h,phrase:"ssoWarning"})),a().createElement(i.Y,{userType:e.userType,countsByStatus:e.countsByStatus,changeTo:(t={},v(t,d.w.Active,i.Y.Outcomes.EmailSent),v(t,d.w.Disabled,i.Y.Outcomes.NoEmailSentDisabled),v(t,d.w.Inactive,i.Y.Outcomes.EmailSent),t),disabled:!0})),a().createElement(y.Q,{users:e.users,statuses:[d.w.Inactive,d.w.Active],imageCdnUrl:e.imageCdnUrl,hasMore:e.hasMoreUsers,isFetching:e.isFetchingUsers,fetchNext:e.fetchNextUserPage,userType:e.userType,userCount:b}))}var S=r(58703),w=r(84566),C=r(70197),A=r(39151),x=r(31949),T=r(29613),N=r(39872),U=r(88323),k=r(18087);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}function O(e){var t,r,n,i=(0,U.h)(e.userType),m=i.users,f=i.count,d=i.isFetching,y=i.hasMore,b=i.fetchNext,v=(0,s.useDispatch)(),g=(r=(0,u.D)(p.g.BULK_USER_ACTIONS),n=1,function(e){if(Array.isArray(e))return e}(r)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,a,s,c,l=[],u=!0,i=!1;try{if(s=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=s.call(r)).done)&&(l.push(n.value),l.length!==t);u=!0);}catch(e){i=!0,a=e}finally{try{if(!u&&null!=r.return&&(c=r.return(),Object(c)!==c))return}finally{if(i)throw a}}return l}}(r,n)||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}}(r,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.")}())[0],h=l.a.useBasicFetch(A.L.config()),O=l.a.useBasicFetch(x.N.currentUser()),j=(0,k.Y)(e.userType),B=(0,w.S)({userType:e.userType,field:C.q.UserProfilesStatus,getSearchAggregation:N.N.getSearchAggregation}),D=o.b.useCreateJobErrorAlert();function M(t){c.Q.AppLinkHelper.trigger(Object.assign(Object.assign({},j.bulkActionsStatus.polling),{params:{userType:e.userType,jobId:t.id}}))}var F=!!B;return a().createElement(S.d,{appLinks:j,userType:e.userType,users:m,currentStep:"confirmation",userCount:f,loaded:F},F&&a().createElement(E,{users:m,imageCdnUrl:null===(t=h.data)||void 0===t?void 0:t.imageCdnUrl,hasMoreUsers:y,isFetchingUsers:d,fetchNextUserPage:b,userType:e.userType,onClickConfirm:function(){if(g){var t=o.b.getCreateJobRequestData(g,O.data.customerId,e.userType);l.a.fetch(v,T.q.createJob(t,M,D))}},userCount:f,countsByStatus:B}))}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk_clickview_lite=self.webpackChunk_clickview_lite||[]).push([[7708],{12458:(e,t,r)=>{r.d(t,{I:()=>c});var n=r(1048),a=r(49985),o=r(65858),i=r(58739),s=["userIdMap","params","action","subAction","allUsersSelected","allUsersCount","scrollContainer"],c={getAnalyticsActionName:function(e){if(!(null==e?void 0:e.action))return null;switch(e.action){case"activation":return(null==e?void 0:e.subAction)?"deactivate"===e.subAction?"Deactivate":"Reactivate":"Deactivate / reactivate";case"addToClassroom":return"Add to classroom";case"changeYearGroup":return"Change year group";case"delete":return"Delete user";case"resetEmail":return"Send password reset email";case"activationEmail":return"Send account activation email";case"resetPassword":return"Reset password";case"yearGroupRollover":return"Annual year group rollover";default:return null}},onClickNext:function(e,t){if(e){var r={userCount:e.userIdMap.size,step:t},i=c.getAnalyticsActionName(e);i&&(r.action=i);var l=n.t.omit(e,s);Object.keys(l).length&&(r.actionData=l),a.k.logUserAction(r,{location:o.LocationContext.BulkUserActionsWizard,workflowPhase:o.WorkflowPhase.Next,actionType:o.UserAction.BulkAction,entity:o.EntityType.User})}},logYearGroupRolloverEntry:function(e){a.k.logUserAction({action:c.getAnalyticsActionName({action:"yearGroupRollover"})},{entity:o.EntityType.User,actionType:o.UserAction.BulkAction,workflowPhase:o.WorkflowPhase.Start,location:e})},getJobStatus:function(e){switch(e){case i.K.Completed:return"Success";case i.K.CompletedWithError:return"Completed with some errors";case i.K.Failed:return"Failed";default:return null}}}},88319:(e,t,r)=>{r.d(t,{q:()=>L});var n=r(1024),a=r.n(n),o=r(58566),i=r(20354),s=r(49985),c=r(65858),l=r(12458),u=r(11607),d=r(83345);function m(e){var t=e.childComponent;return a().createElement("ul",{className:"m-0 list-unstyled striped-list"},e.objects.map((function(r){return a().createElement(t,{key:r.id,object:r,objectType:e.objectType})})))}var p=r(4594),f=r(76881),g="userManager.wizardCompletedWithError";function v(e){var t;return(null===(t=e.erroredObjects)||void 0===t?void 0:t.length)?a().createElement(d.D.Provider,{value:g},a().createElement("div",{className:"pb-3"},a().createElement("div",{className:"d-flex justify-content-between"},a().createElement("div",null,a().createElement("h2",{className:"h4 mb-3"},a().createElement(d.x,{phrase:"Create"===e.actionVerb?"headingCreate":"headingAction"})),a().createElement("p",null,a().createElement(d.x,{phrase:e.objectType===p.E.User?"Create"===e.actionVerb?e.userType===f.Y.Learner?"totalCreatedStudents":"totalCreatedStaff":e.userType===f.Y.Learner?"totalActionedStudents":"totalActionedStaff":e.objectType===p.E.Video?"totalActionedVideos":"totalActionedItems",options:{totalUpdated:e.totalObjects-e.totalErroredResults,totalObjects:e.totalObjects}})))),a().createElement("div",{className:"d-flex align-items-cetner justify-content-between mb-2"},a().createElement("p",{className:"font-weight-500 mb-0"},a().createElement(d.x,{phrase:"Create"===e.actionVerb?"unsuccessfulCreations":"unsuccessfulActions",options:{smartCount:e.totalErroredResults}})),!!e.actionButton&&a().createElement(u.L,{className:"info-link",onClick:function(){return e.actionButton.onClick(e.erroredObjects)}},e.actionButton.text)),a().createElement(m,{objects:e.erroredObjects,objectType:e.objectType,childComponent:function(t){return e.getErrorListItem(t.object)}}))):a().createElement(a().Fragment,null)}var b=r(99910),h=r(12778);const y={imageWidth:"Gjry1"};var E="userManager.wizardFailed";function C(e){var t=h.o.getSupportRequestUrl();return a().createElement("div",{className:"d-flex flex-column align-items-center"},a().createElement("div",{className:"".concat(y.imageWidth," text-center py-4")},a().createElement("img",{className:"img-fluid",src:e.failedImageUrl})),a().createElement("h2",{className:"h3"},a().createElement(d.x,{namespace:E,phrase:"heading"})),a().createElement("p",{className:"mb-0"},a().createElement(d.x,{namespace:E,phrase:"Create"===e.actionVerb?"failedCreate":"failedAction"})),!!t&&a().createElement("p",null,a().createElement(d.x,{namespace:E,phrase:"contactSupport",options:{href:t,linkClass:"info-link"}})),e.onClickTryAgain&&a().createElement(b.Button,{variant:"outline-dark",className:t?"":"mt-3",onClick:e.onClickTryAgain},a().createElement(d.x,{namespace:E,phrase:"tryAgain"})))}var A=r(36848);const j={imageWidth:"picjj"};var k="userManager.wizardSucceeded";function S(e){return a().createElement("div",{className:"d-flex flex-column align-items-center"},a().createElement("div",{className:"".concat(j.imageWidth," text-center pt-4 pb-2")},a().createElement("img",{className:"img-fluid",src:e.successImageUrl})),a().createElement("h2",{className:"h3"},a().createElement(d.x,{namespace:k,phrase:"success"})),a().createElement("p",{className:"text-center",dangerouslySetInnerHTML:{__html:e.message}}),e.finishAppLink&&a().createElement(A.F,{className:"btn btn-dark",appLink:e.finishAppLink,onClick:e.onFinish},a().createElement(d.x,{namespace:k,phrase:"finish"})))}var w,U=r(58739),T=r(38389);!function(e){e[e.All=0]="All",e[e.NoAction=1]="NoAction",e[e.Succeed=2]="Succeed",e[e.Failed=3]="Failed"}(w||(w={}));var I=r(63936),N=r(55452),x=r(89476);function F(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}function L(e){var t,r,n=(0,o.useDispatch)(),u=function(e,t){var r,n=(0,o.useDispatch)(),a=function(r){return t(e,w.Failed,r)},s=(0,I.K)(a,(function(e){return i.a.getFetch(n)(a(e))})),c=s.items,l=s.isFetching,u=null!==(r=null==c?void 0:c.map((function(e){return!e.objectData&&e.metadata&&"firstname"in e.metadata?{name:e.metadata.firstname,surname:e.metadata.surname,userType:N.l.getUserType(e.metadata),username:e.metadata.username,errorCode:e.status}:Object.assign(Object.assign({},e.objectData),{errorCode:e.status})})))&&void 0!==r?r:[];return{isFetching:l,objects:u,count:u.length}}(e.job.id,e.getResultsRequest),d=(0,x.f)(),m=(t=a().useState(!1),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,i,s=[],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)&&(s.push(n.value),s.length!==t);c=!0);}catch(e){l=!0,a=e}finally{try{if(!c&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(l)throw a}}return s}}(t,r)||function(e,t){if(e){if("string"==typeof e)return F(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)?F(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.")}()),p=m[0],f=m[1];return a().useEffect((function(){e.job.type===T.m.RolloverYearGroup&&n({type:i.a.Actions.INVALIDATE,keys:["year:group:rollover:status"],request:null})}),[e.job.type]),a().useEffect((function(){var t;if(!e.preventLoggingAnalytics&&!p){f(!0);var r=Object.assign(Object.assign({},null!==(t=e.analyticsData)&&void 0!==t?t:{}),{id:e.job.id,userCount:e.summary.totalProcessed,totalSucceeded:e.summary.totalSucceeded,totalErrored:e.summary.totalErrored,totalNoAction:e.summary.totalNoAction}),n=l.I.getJobStatus(e.job.status);n&&(r.status=n);var a={workflowPhase:c.WorkflowPhase.Complete};e.analyticsOptions&&(a=s.k.mergeOptions(e.analyticsOptions,a)),s.k.logUserAction(r,a)}}),[e.preventLoggingAnalytics,p]),a().useEffect((function(){e.navLockId&&d.unlock(e.navLockId)}),[]),e.job.status===U.K.Completed?a().createElement(S,{message:e.actionSucceededMessage,successImageUrl:e.successImageUrl,actionVerb:e.actionVerb,finishAppLink:e.finishAppLink,onFinish:e.onFinish}):e.job.status===U.K.CompletedWithError?a().createElement(v,{erroredObjects:u.objects,totalObjects:e.objectCount,totalErroredResults:u.count,userType:null==e?void 0:e.userType,currentUser:e.currentUser,imageCdnUrl:e.imageCdnUrl,actionVerb:e.actionVerb,objectType:e.objectType,getErrorListItem:e.getErrorListItem,actionButton:e.errorActionButton}):a().createElement(C,{onClickTryAgain:e.onClickTryAgain,failedImageUrl:e.failedImageUrl,actionVerb:e.actionVerb})}},58739:(e,t,r)=>{var n;r.d(t,{K:()=>n}),function(e){e[e.Submitted=0]="Submitted",e[e.Queued=1]="Queued",e[e.Pending=2]="Pending",e[e.InProgress=3]="InProgress",e[e.Completed=4]="Completed",e[e.CompletedWithError=5]="CompletedWithError",e[e.Failed=6]="Failed"}(n||(n={}))},94644:(e,t,r)=>{r.d(t,{r:()=>u});var n=r(50242),a=r(81886),o=r(67058),i=r(14553),s=r(49267),c=r(49075),l={notFound:o.d,forbidden:{rating:i.q,yearLevel:i.q,region:s.a,privacy:i.q},badRequest:c._};function u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(e){var o;o="number"==typeof e?e:e.status;var i=Object.assign(Object.assign({},l),t);o&&a.Q.ErrorHelper.isStatusCodeError(o)&&(o!==n.o.NotFound?o!==n.o.Forbidden?r.badRequest||a.Q.ErrorHelper.throw(new i.badRequest):r.forbidden||a.Q.ErrorHelper.throw(new i.forbidden.privacy):r.notFound||a.Q.ErrorHelper.throw(new i.notFound))}}},91286:(e,t,r)=>{r.d(t,{v:()=>i});var n=r(1024),a=r(94644);function o(e){return e.map((function(e){return e.statusCode})).join(":")}function i(e,t,r){var i=Array.isArray(e)?e:[e];(0,n.useEffect)((function(){i.forEach((function(e){(0,a.r)(e.statusCode,t,r)}))}),[o(i),t,r])}},63936:(e,t,r)=>{r.d(t,{K:()=>l});var n=r(1024),a=r(50242),o=r(79014),i=r(8843),s=r(45719);function c(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}function l(e,t,r,l,u,d){var m,p,f=(m=(0,n.useState)(0),p=2,function(e){if(Array.isArray(e))return e}(m)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,a,o,i,s=[],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)&&(s.push(n.value),s.length!==t);c=!0);}catch(e){l=!0,a=e}finally{try{if(!c&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(l)throw a}}return s}}(m,p)||function(e,t){if(e){if("string"==typeof e)return c(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)?c(e,t):void 0}}(m,p)||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.")}()),g=f[0],v=f[1],b=t,h=(0,s.P)((function(t){if(!e)return null;var r=e(t);return r?r.key:null}),l,u);return(0,i.M)({fetchNextPage:function(){if(t&&e&&h)return v((function(e){return e+1})),b(h.nextCursor)},hasMore:!!(null==h?void 0:h.nextCursor),isFetching:null==h?void 0:h.isFetching,scrollContainer:d}),(0,n.useEffect)((function(){h&&h.shouldInitialFetch&&t&&(b(),v((function(e){return e+1})))}),[null==h?void 0:h.shouldInitialFetch,t]),(0,n.useEffect)((function(){var e,t;if((null==h?void 0:h.statusCode)&&o.q.isFunction(r)){var n=+(null===(t=null===(e=h.statusCode)||void 0===e?void 0:e.toString())||void 0===t?void 0:t.substr(0,1));n!==a.k.ClientError&&n!==a.k.ServerError||r(g,h.statusCode)}}),[null==h?void 0:h.statusCode]),{items:null==h?void 0:h.items,hasMore:!!(null==h?void 0:h.nextCursor),nextCursor:null==h?void 0:h.nextCursor,isFetching:null==h?void 0:h.isFetching,totalItems:null==h?void 0:h.totalItems}}},8843:(e,t,r)=>{r.d(t,{M:()=>i});var n=r(1024),a=r(79014),o=400;function i(e){var t=function(){if(!e.isFetching){if(e.scrollContainer){var t=e.scrollContainer;if(t.getBoundingClientRect().height+t.scrollTop<t.scrollHeight-o)return}else if(window.innerHeight+document.documentElement.scrollTop<document.documentElement.scrollHeight-o)return;e.fetchNextPage()}};(0,n.useEffect)((function(){var r=a.q.throttle(t,200),n=e.scrollContainer||window;return e.hasMore&&n.addEventListener("scroll",r),function(){return n.removeEventListener("scroll",r)}}),[e.hasMore,e.fetchNextPage,e.scrollContainer])}},18957:(e,t,r)=>{r.r(t),r.d(t,{BulkUserUploadStatusCompleteView:()=>k});var n=r(1024),a=r.n(n),o=r(58566),i=r(23481),s=r(81886),c=r(20354),l=r(65858),u=r(56532),d=r(45541),m=r(68036),p=r(19717),f=r(88319),g=r(4594),v=r(76881),b=r(39151),h=r(31949),y=r(91286),E=r(99742),C=r(29613),A=r(18087),j=i.T.encloseNamespace("userManager.bulkUserUploadStatusCompleted");function k(e){var t=(0,d.V)().users,r=(0,A.Y)(e.userType),n=c.a.useBasicFetch(h.N.currentUser()),i=c.a.useBasicFetch(b.L.config()),k=c.a.useBasicFetch(C.q.getJob(e.jobId)),S=c.a.useBasicFetch(C.q.getJobSummary(e.jobId));(0,y.v)(k);var w=(0,o.useDispatch)(),U=m.b.useCreateJobErrorAlert();function T(t){s.Q.AppLinkHelper.trigger(Object.assign(Object.assign({},r.userUploadStatus.polling),{params:{userType:e.userType,jobId:t.id}}))}var I=!!(k.data&&i.data&&n.data&&S.data);return a().createElement(u.$,{appLinks:r,userType:e.userType,currentStep:"status"},!!I&&a().createElement(f.q,{job:k.data,summary:S.data,objectCount:t.length,objectType:g.E.User,userType:e.userType,finishAppLink:r.userManager,imageCdnUrl:i.data.imageCdnUrl,successImageUrl:E.W.SUCCESS,failedImageUrl:E.W.WIZARD_ERROR,currentUser:n.data,onClickTryAgain:function(){var r=p.b.getJobData(t,n.data.customerId,e.userType);c.a.fetch(w,C.q.createJob(r,T,U))},getResultsRequest:C.q.getJobResults,actionSucceededMessage:e.userType===v.Y.Learner?j("createStudentsSuccess",{smartCount:t.length}):j("createStaffSuccess",{smartCount:t.length}),navLockId:u.A,actionVerb:"Create",analyticsOptions:{location:l.LocationContext.BulkUserUploadWizard,entity:l.EntityType.User,actionType:l.UserAction.Create,descriptor:l.OperationDescriptor.Bulk},preventLoggingAnalytics:!t,getErrorListItem:function(e){return m.b.getErrorListItem(e,i.data.imageCdnUrl,n.data)}}))}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk_clickview_lite=self.webpackChunk_clickview_lite||[]).push([[7724],{1787:(t,e,n)=>{n.d(e,{su:()=>ut,AC:()=>M,in:()=>r});var o,r,i=(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),s=function(t){function e(e,n){var o=this,r=this.constructor.prototype;return(o=t.call(this,e)||this).statusCode=n,o.__proto__=r,o}return i(e,t),e}(Error),c=function(t){function e(e){void 0===e&&(e="A timeout occurred.");var n=this,o=this.constructor.prototype;return(n=t.call(this,e)||this).__proto__=o,n}return i(e,t),e}(Error),a=function(t){function e(e){void 0===e&&(e="An abort occurred.");var n=this,o=this.constructor.prototype;return(n=t.call(this,e)||this).__proto__=o,n}return i(e,t),e}(Error),l=Object.assign||function(t){for(var e,n=1,o=arguments.length;n<o;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},u=function(t,e,n){this.statusCode=t,this.statusText=e,this.content=n},h=function(){function t(){}return t.prototype.get=function(t,e){return this.send(l({},e,{method:"GET",url:t}))},t.prototype.post=function(t,e){return this.send(l({},e,{method:"POST",url:t}))},t.prototype.delete=function(t,e){return this.send(l({},e,{method:"DELETE",url:t}))},t.prototype.getCookieString=function(t){return""},t}();!function(t){t[t.Trace=0]="Trace",t[t.Debug=1]="Debug",t[t.Information=2]="Information",t[t.Warning=3]="Warning",t[t.Error=4]="Error",t[t.Critical=5]="Critical",t[t.None=6]="None"}(r||(r={}));var p=function(){function t(){}return t.prototype.log=function(t,e){},t.instance=new t,t}(),f=Object.assign||function(t){for(var e,n=1,o=arguments.length;n<o;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},g="5.0.2",d=function(){function t(){}return t.isRequired=function(t,e){if(null==t)throw new Error("The '"+e+"' argument is required.")},t.isNotEmpty=function(t,e){if(!t||t.match(/^\s*$/))throw new Error("The '"+e+"' argument should not be empty.")},t.isIn=function(t,e,n){if(!(t in e))throw new Error("Unknown "+n+" value: "+t+".")},t}(),b=function(){function t(){}return Object.defineProperty(t,"isBrowser",{get:function(){return"object"==typeof window},enumerable:!0,configurable:!0}),Object.defineProperty(t,"isWebWorker",{get:function(){return"object"==typeof self&&"importScripts"in self},enumerable:!0,configurable:!0}),Object.defineProperty(t,"isNode",{get:function(){return!this.isBrowser&&!this.isWebWorker},enumerable:!0,configurable:!0}),t}();function y(t,e){var n="";return v(t)?(n="Binary data of length "+t.byteLength,e&&(n+=". Content: '"+function(t){var e=new Uint8Array(t),n="";return e.forEach((function(t){n+="0x"+(t<16?"0":"")+t.toString(16)+" "})),n.substr(0,n.length-1)}(t)+"'")):"string"==typeof t&&(n="String data of length "+t.length,e&&(n+=". Content: '"+t+"'")),n}function v(t){return t&&"undefined"!=typeof ArrayBuffer&&(t instanceof ArrayBuffer||t.constructor&&"ArrayBuffer"===t.constructor.name)}function w(t,e,n,o,i,s,c,a,l){return u=this,h=void 0,g=function(){var u,h,p,g,d,b,w,m;return function(t,e){var n,o,r,i,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function c(i){return function(c){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,o&&(r=2&i[0]?o.return:i[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,i[1])).done)return r;switch(o=0,r&&(i=[2&i[0],r.value]),i[0]){case 0:case 1:r=i;break;case 4:return s.label++,{value:i[1],done:!1};case 5:s.label++,o=i[1],i=[0];continue;case 7:i=s.ops.pop(),s.trys.pop();continue;default:if(!((r=(r=s.trys).length>0&&r[r.length-1])||6!==i[0]&&2!==i[0])){s=0;continue}if(3===i[0]&&(!r||i[1]>r[0]&&i[1]<r[3])){s.label=i[1];break}if(6===i[0]&&s.label<r[1]){s.label=r[1],r=i;break}if(r&&s.label<r[2]){s.label=r[2],s.ops.push(i);break}r[2]&&s.ops.pop(),s.trys.pop();continue}i=e.call(t,s)}catch(t){i=[6,t],o=0}finally{n=r=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,c])}}}(this,(function(C){switch(C.label){case 0:return h={},i?[4,i()]:[3,2];case 1:(p=C.sent())&&((u={}).Authorization="Bearer "+p,h=u),C.label=2;case 2:return g=S(),d=g[0],b=g[1],h[d]=b,t.log(r.Trace,"("+e+" transport) sending data. "+y(s,c)+"."),w=v(s)?"arraybuffer":"text",[4,n.post(o,{content:s,headers:f({},h,l),responseType:w,withCredentials:a})];case 3:return m=C.sent(),t.log(r.Trace,"("+e+" transport) request complete. Response status: "+m.statusCode+"."),[2]}}))},new((p=void 0)||(p=Promise))((function(t,e){function n(t){try{r(g.next(t))}catch(t){e(t)}}function o(t){try{r(g.throw(t))}catch(t){e(t)}}function r(e){e.done?t(e.value):new p((function(t){t(e.value)})).then(n,o)}r((g=g.apply(u,h||[])).next())}));var u,h,p,g}var m=function(){function t(t,e){this.subject=t,this.observer=e}return t.prototype.dispose=function(){var t=this.subject.observers.indexOf(this.observer);t>-1&&this.subject.observers.splice(t,1),0===this.subject.observers.length&&this.subject.cancelCallback&&this.subject.cancelCallback().catch((function(t){}))},t}(),C=function(){function t(t){this.minimumLogLevel=t,this.outputConsole=console}return t.prototype.log=function(t,e){if(t>=this.minimumLogLevel)switch(t){case r.Critical:case r.Error:this.outputConsole.error("["+(new Date).toISOString()+"] "+r[t]+": "+e);break;case r.Warning:this.outputConsole.warn("["+(new Date).toISOString()+"] "+r[t]+": "+e);break;case r.Information:this.outputConsole.info("["+(new Date).toISOString()+"] "+r[t]+": "+e);break;default:this.outputConsole.log("["+(new Date).toISOString()+"] "+r[t]+": "+e)}},t}();function S(){var t,e,n,o,r,i,s="X-SignalR-User-Agent";return b.isNode&&(s="User-Agent"),[s,(t=g,e=k(),n=b.isNode?"NodeJS":"Browser",o=E(),r="Microsoft SignalR/",i=t.split("."),r+=i[0]+"."+i[1],r+=" ("+t+"; ",r+=e&&""!==e?e+"; ":"Unknown OS; ",r+=""+n,r+=o?"; "+o:"; Unknown Runtime Version",r+=")")]}function k(){if(!b.isNode)return"";switch(process.platform){case"win32":return"Windows NT";case"darwin":return"macOS";case"linux":return"Linux";default:return process.platform}}function E(){if(b.isNode)return process.versions.node}var T,P=function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),I=Object.assign||function(t){for(var e,n=1,o=arguments.length;n<o;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},D=function(t){function e(e){var n=t.call(this)||this;if(n.logger=e,"undefined"==typeof fetch){var o=require;n.jar=new(o("tough-cookie").CookieJar),n.fetchType=o("node-fetch"),n.fetchType=o("fetch-cookie")(n.fetchType,n.jar),n.abortControllerType=o("abort-controller")}else n.fetchType=fetch.bind(self),n.abortControllerType=AbortController;return n}return P(e,t),e.prototype.send=function(t){return e=this,n=void 0,i=function(){var e,n,o,i,l,h,p,f,g=this;return function(t,e){var n,o,r,i,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function c(i){return function(c){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,o&&(r=2&i[0]?o.return:i[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,i[1])).done)return r;switch(o=0,r&&(i=[2&i[0],r.value]),i[0]){case 0:case 1:r=i;break;case 4:return s.label++,{value:i[1],done:!1};case 5:s.label++,o=i[1],i=[0];continue;case 7:i=s.ops.pop(),s.trys.pop();continue;default:if(!((r=(r=s.trys).length>0&&r[r.length-1])||6!==i[0]&&2!==i[0])){s=0;continue}if(3===i[0]&&(!r||i[1]>r[0]&&i[1]<r[3])){s.label=i[1];break}if(6===i[0]&&s.label<r[1]){s.label=r[1],r=i;break}if(r&&s.label<r[2]){s.label=r[2],s.ops.push(i);break}r[2]&&s.ops.pop(),s.trys.pop();continue}i=e.call(t,s)}catch(t){i=[6,t],o=0}finally{n=r=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,c])}}}(this,(function(d){switch(d.label){case 0:if(t.abortSignal&&t.abortSignal.aborted)throw new a;if(!t.method)throw new Error("No method defined.");if(!t.url)throw new Error("No url defined.");e=new this.abortControllerType,t.abortSignal&&(t.abortSignal.onabort=function(){e.abort(),n=new a}),o=null,t.timeout&&(i=t.timeout,o=setTimeout((function(){e.abort(),g.logger.log(r.Warning,"Timeout from HTTP request."),n=new c}),i)),d.label=1;case 1:return d.trys.push([1,3,4,5]),[4,this.fetchType(t.url,{body:t.content,cache:"no-cache",credentials:!0===t.withCredentials?"include":"same-origin",headers:I({"Content-Type":"text/plain;charset=UTF-8","X-Requested-With":"XMLHttpRequest"},t.headers),method:t.method,mode:"cors",redirect:"manual",signal:e.signal})];case 2:return l=d.sent(),[3,5];case 3:if(h=d.sent(),n)throw n;throw this.logger.log(r.Warning,"Error from HTTP request. "+h+"."),h;case 4:return o&&clearTimeout(o),t.abortSignal&&(t.abortSignal.onabort=null),[7];case 5:if(!l.ok)throw new s(l.statusText,l.status);return p=function(t,e){var n;switch(e){case"arraybuffer":n=t.arrayBuffer();break;case"text":default:n=t.text();break;case"blob":case"document":case"json":throw new Error(e+" is not supported.")}return n}(l,t.responseType),[4,p];case 6:return f=d.sent(),[2,new u(l.status,l.statusText,f)]}}))},new((o=void 0)||(o=Promise))((function(t,r){function s(t){try{a(i.next(t))}catch(t){r(t)}}function c(t){try{a(i.throw(t))}catch(t){r(t)}}function a(e){e.done?t(e.value):new o((function(t){t(e.value)})).then(s,c)}a((i=i.apply(e,n||[])).next())}));var e,n,o,i},e.prototype.getCookieString=function(t){var e="";return b.isNode&&this.jar&&this.jar.getCookies(t,(function(t,n){return e=n.join("; ")})),e},e}(h),R=function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),x=function(t){function e(e){var n=t.call(this)||this;return n.logger=e,n}return R(e,t),e.prototype.send=function(t){var e=this;return t.abortSignal&&t.abortSignal.aborted?Promise.reject(new a):t.method?t.url?new Promise((function(n,o){var i=new XMLHttpRequest;i.open(t.method,t.url,!0),i.withCredentials=void 0===t.withCredentials||t.withCredentials,i.setRequestHeader("X-Requested-With","XMLHttpRequest"),i.setRequestHeader("Content-Type","text/plain;charset=UTF-8");var l=t.headers;l&&Object.keys(l).forEach((function(t){i.setRequestHeader(t,l[t])})),t.responseType&&(i.responseType=t.responseType),t.abortSignal&&(t.abortSignal.onabort=function(){i.abort(),o(new a)}),t.timeout&&(i.timeout=t.timeout),i.onload=function(){t.abortSignal&&(t.abortSignal.onabort=null),i.status>=200&&i.status<300?n(new u(i.status,i.statusText,i.response||i.responseText)):o(new s(i.statusText,i.status))},i.onerror=function(){e.logger.log(r.Warning,"Error from HTTP request. "+i.status+": "+i.statusText+"."),o(new s(i.statusText,i.status))},i.ontimeout=function(){e.logger.log(r.Warning,"Timeout from HTTP request."),o(new c)},i.send(t.content||"")})):Promise.reject(new Error("No url defined.")):Promise.reject(new Error("No method defined."))},e}(h),O=function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),j=function(t){function e(e){var n=t.call(this)||this;if("undefined"!=typeof fetch||b.isNode)n.httpClient=new D(e);else{if("undefined"==typeof XMLHttpRequest)throw new Error("No usable HttpClient found.");n.httpClient=new x(e)}return n}return O(e,t),e.prototype.send=function(t){return t.abortSignal&&t.abortSignal.aborted?Promise.reject(new a):t.method?t.url?this.httpClient.send(t):Promise.reject(new Error("No url defined.")):Promise.reject(new Error("No method defined."))},e.prototype.getCookieString=function(t){return this.httpClient.getCookieString(t)},e}(h),H=function(){function t(){}return t.write=function(e){return""+e+t.RecordSeparator},t.parse=function(e){if(e[e.length-1]!==t.RecordSeparator)throw new Error("Message is incomplete.");var n=e.split(t.RecordSeparator);return n.pop(),n},t.RecordSeparatorCode=30,t.RecordSeparator=String.fromCharCode(t.RecordSeparatorCode),t}(),N=function(){function t(){}return t.prototype.writeHandshakeRequest=function(t){return H.write(JSON.stringify(t))},t.prototype.parseHandshakeResponse=function(t){var e,n;if(v(t)||"undefined"!=typeof Buffer&&t instanceof Buffer){var o=new Uint8Array(t);if(-1===(i=o.indexOf(H.RecordSeparatorCode)))throw new Error("Message is incomplete.");var r=i+1;e=String.fromCharCode.apply(null,o.slice(0,r)),n=o.byteLength>r?o.slice(r).buffer:null}else{var i,s=t;if(-1===(i=s.indexOf(H.RecordSeparator)))throw new Error("Message is incomplete.");r=i+1,e=s.substring(0,r),n=s.length>r?s.substring(r):null}var c=H.parse(e),a=JSON.parse(c[0]);if(a.type)throw new Error("Expected a handshake response from the server.");return[n,a]},t}();!function(t){t[t.Invocation=1]="Invocation",t[t.StreamItem=2]="StreamItem",t[t.Completion=3]="Completion",t[t.StreamInvocation=4]="StreamInvocation",t[t.CancelInvocation=5]="CancelInvocation",t[t.Ping=6]="Ping",t[t.Close=7]="Close"}(T||(T={}));var M,W=function(){function t(){this.observers=[]}return t.prototype.next=function(t){for(var e=0,n=this.observers;e<n.length;e++)n[e].next(t)},t.prototype.error=function(t){for(var e=0,n=this.observers;e<n.length;e++){var o=n[e];o.error&&o.error(t)}},t.prototype.complete=function(){for(var t=0,e=this.observers;t<e.length;t++){var n=e[t];n.complete&&n.complete()}},t.prototype.subscribe=function(t){return this.observers.push(t),new m(this,t)},t}(),A=function(t,e,n,o){return new(n||(n=Promise))((function(r,i){function s(t){try{a(o.next(t))}catch(t){i(t)}}function c(t){try{a(o.throw(t))}catch(t){i(t)}}function a(t){t.done?r(t.value):new n((function(e){e(t.value)})).then(s,c)}a((o=o.apply(t,e||[])).next())}))},_=function(t,e){var n,o,r,i,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function c(i){return function(c){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,o&&(r=2&i[0]?o.return:i[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,i[1])).done)return r;switch(o=0,r&&(i=[2&i[0],r.value]),i[0]){case 0:case 1:r=i;break;case 4:return s.label++,{value:i[1],done:!1};case 5:s.label++,o=i[1],i=[0];continue;case 7:i=s.ops.pop(),s.trys.pop();continue;default:if(!((r=(r=s.trys).length>0&&r[r.length-1])||6!==i[0]&&2!==i[0])){s=0;continue}if(3===i[0]&&(!r||i[1]>r[0]&&i[1]<r[3])){s.label=i[1];break}if(6===i[0]&&s.label<r[1]){s.label=r[1],r=i;break}if(r&&s.label<r[2]){s.label=r[2],s.ops.push(i);break}r[2]&&s.ops.pop(),s.trys.pop();continue}i=e.call(t,s)}catch(t){i=[6,t],o=0}finally{n=r=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,c])}}};!function(t){t.Disconnected="Disconnected",t.Connecting="Connecting",t.Connected="Connected",t.Disconnecting="Disconnecting",t.Reconnecting="Reconnecting"}(M||(M={}));var L,q,F=function(){function t(t,e,n,o){var r=this;d.isRequired(t,"connection"),d.isRequired(e,"logger"),d.isRequired(n,"protocol"),this.serverTimeoutInMilliseconds=3e4,this.keepAliveIntervalInMilliseconds=15e3,this.logger=e,this.protocol=n,this.connection=t,this.reconnectPolicy=o,this.handshakeProtocol=new N,this.connection.onreceive=function(t){return r.processIncomingData(t)},this.connection.onclose=function(t){return r.connectionClosed(t)},this.callbacks={},this.methods={},this.closedCallbacks=[],this.reconnectingCallbacks=[],this.reconnectedCallbacks=[],this.invocationId=0,this.receivedHandshakeResponse=!1,this.connectionState=M.Disconnected,this.connectionStarted=!1,this.cachedPingMessage=this.protocol.writeMessage({type:T.Ping})}return t.create=function(e,n,o,r){return new t(e,n,o,r)},Object.defineProperty(t.prototype,"state",{get:function(){return this.connectionState},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"connectionId",{get:function(){return this.connection&&this.connection.connectionId||null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"baseUrl",{get:function(){return this.connection.baseUrl||""},set:function(t){if(this.connectionState!==M.Disconnected&&this.connectionState!==M.Reconnecting)throw new Error("The HubConnection must be in the Disconnected or Reconnecting state to change the url.");if(!t)throw new Error("The HubConnection url must be a valid url.");this.connection.baseUrl=t},enumerable:!0,configurable:!0}),t.prototype.start=function(){return this.startPromise=this.startWithStateTransitions(),this.startPromise},t.prototype.startWithStateTransitions=function(){return A(this,void 0,void 0,(function(){var t;return _(this,(function(e){switch(e.label){case 0:if(this.connectionState!==M.Disconnected)return[2,Promise.reject(new Error("Cannot start a HubConnection that is not in the 'Disconnected' state."))];this.connectionState=M.Connecting,this.logger.log(r.Debug,"Starting HubConnection."),e.label=1;case 1:return e.trys.push([1,3,,4]),[4,this.startInternal()];case 2:return e.sent(),this.connectionState=M.Connected,this.connectionStarted=!0,this.logger.log(r.Debug,"HubConnection connected successfully."),[3,4];case 3:return t=e.sent(),this.connectionState=M.Disconnected,this.logger.log(r.Debug,"HubConnection failed to start successfully because of error '"+t+"'."),[2,Promise.reject(t)];case 4:return[2]}}))}))},t.prototype.startInternal=function(){return A(this,void 0,void 0,(function(){var t,e,n,o=this;return _(this,(function(i){switch(i.label){case 0:return this.stopDuringStartError=void 0,this.receivedHandshakeResponse=!1,t=new Promise((function(t,e){o.handshakeResolver=t,o.handshakeRejecter=e})),[4,this.connection.start(this.protocol.transferFormat)];case 1:i.sent(),i.label=2;case 2:return i.trys.push([2,5,,7]),e={protocol:this.protocol.name,version:this.protocol.version},this.logger.log(r.Debug,"Sending handshake request."),[4,this.sendMessage(this.handshakeProtocol.writeHandshakeRequest(e))];case 3:return i.sent(),this.logger.log(r.Information,"Using HubProtocol '"+this.protocol.name+"'."),this.cleanupTimeout(),this.resetTimeoutPeriod(),this.resetKeepAliveInterval(),[4,t];case 4:if(i.sent(),this.stopDuringStartError)throw this.stopDuringStartError;return[3,7];case 5:return n=i.sent(),this.logger.log(r.Debug,"Hub handshake failed with error '"+n+"' during start(). Stopping HubConnection."),this.cleanupTimeout(),this.cleanupPingTimer(),[4,this.connection.stop(n)];case 6:throw i.sent(),n;case 7:return[2]}}))}))},t.prototype.stop=function(){return A(this,void 0,void 0,(function(){var t;return _(this,(function(e){switch(e.label){case 0:return t=this.startPromise,this.stopPromise=this.stopInternal(),[4,this.stopPromise];case 1:e.sent(),e.label=2;case 2:return e.trys.push([2,4,,5]),[4,t];case 3:case 4:return e.sent(),[3,5];case 5:return[2]}}))}))},t.prototype.stopInternal=function(t){return this.connectionState===M.Disconnected?(this.logger.log(r.Debug,"Call to HubConnection.stop("+t+") ignored because it is already in the disconnected state."),Promise.resolve()):this.connectionState===M.Disconnecting?(this.logger.log(r.Debug,"Call to HttpConnection.stop("+t+") ignored because the connection is already in the disconnecting state."),this.stopPromise):(this.connectionState=M.Disconnecting,this.logger.log(r.Debug,"Stopping HubConnection."),this.reconnectDelayHandle?(this.logger.log(r.Debug,"Connection stopped during reconnect delay. Done reconnecting."),clearTimeout(this.reconnectDelayHandle),this.reconnectDelayHandle=void 0,this.completeClose(),Promise.resolve()):(this.cleanupTimeout(),this.cleanupPingTimer(),this.stopDuringStartError=t||new Error("The connection was stopped before the hub handshake could complete."),this.connection.stop(t)))},t.prototype.stream=function(t){for(var e=this,n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];var r,i=this.replaceStreamingParams(n),s=i[0],c=i[1],a=this.createStreamInvocation(t,n,c),l=new W;return l.cancelCallback=function(){var t=e.createCancelInvocation(a.invocationId);return delete e.callbacks[a.invocationId],r.then((function(){return e.sendWithProtocol(t)}))},this.callbacks[a.invocationId]=function(t,e){e?l.error(e):t&&(t.type===T.Completion?t.error?l.error(new Error(t.error)):l.complete():l.next(t.item))},r=this.sendWithProtocol(a).catch((function(t){l.error(t),delete e.callbacks[a.invocationId]})),this.launchStreams(s,r),l},t.prototype.sendMessage=function(t){return this.resetKeepAliveInterval(),this.connection.send(t)},t.prototype.sendWithProtocol=function(t){return this.sendMessage(this.protocol.writeMessage(t))},t.prototype.send=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];var o=this.replaceStreamingParams(e),r=o[0],i=o[1],s=this.sendWithProtocol(this.createInvocation(t,e,!0,i));return this.launchStreams(r,s),s},t.prototype.invoke=function(t){for(var e=this,n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];var r=this.replaceStreamingParams(n),i=r[0],s=r[1],c=this.createInvocation(t,n,!1,s);return new Promise((function(t,n){e.callbacks[c.invocationId]=function(e,o){o?n(o):e&&(e.type===T.Completion?e.error?n(new Error(e.error)):t(e.result):n(new Error("Unexpected message type: "+e.type)))};var o=e.sendWithProtocol(c).catch((function(t){n(t),delete e.callbacks[c.invocationId]}));e.launchStreams(i,o)}))},t.prototype.on=function(t,e){t&&e&&(t=t.toLowerCase(),this.methods[t]||(this.methods[t]=[]),-1===this.methods[t].indexOf(e)&&this.methods[t].push(e))},t.prototype.off=function(t,e){if(t){t=t.toLowerCase();var n=this.methods[t];if(n)if(e){var o=n.indexOf(e);-1!==o&&(n.splice(o,1),0===n.length&&delete this.methods[t])}else delete this.methods[t]}},t.prototype.onclose=function(t){t&&this.closedCallbacks.push(t)},t.prototype.onreconnecting=function(t){t&&this.reconnectingCallbacks.push(t)},t.prototype.onreconnected=function(t){t&&this.reconnectedCallbacks.push(t)},t.prototype.processIncomingData=function(t){if(this.cleanupTimeout(),this.receivedHandshakeResponse||(t=this.processHandshakeResponse(t),this.receivedHandshakeResponse=!0),t)for(var e=0,n=this.protocol.parseMessages(t,this.logger);e<n.length;e++){var o=n[e];switch(o.type){case T.Invocation:this.invokeClientMethod(o);break;case T.StreamItem:case T.Completion:var i=this.callbacks[o.invocationId];i&&(o.type===T.Completion&&delete this.callbacks[o.invocationId],i(o));break;case T.Ping:break;case T.Close:this.logger.log(r.Information,"Close message received from server.");var s=o.error?new Error("Server returned an error on close: "+o.error):void 0;!0===o.allowReconnect?this.connection.stop(s):this.stopPromise=this.stopInternal(s);break;default:this.logger.log(r.Warning,"Invalid message type: "+o.type+".")}}this.resetTimeoutPeriod()},t.prototype.processHandshakeResponse=function(t){var e,n,o;try{o=(e=this.handshakeProtocol.parseHandshakeResponse(t))[0],n=e[1]}catch(t){var i="Error parsing handshake response: "+t;this.logger.log(r.Error,i);var s=new Error(i);throw this.handshakeRejecter(s),s}if(n.error)throw i="Server returned handshake error: "+n.error,this.logger.log(r.Error,i),s=new Error(i),this.handshakeRejecter(s),s;return this.logger.log(r.Debug,"Server handshake complete."),this.handshakeResolver(),o},t.prototype.resetKeepAliveInterval=function(){var t=this;this.connection.features.inherentKeepAlive||(this.cleanupPingTimer(),this.pingServerHandle=setTimeout((function(){return A(t,void 0,void 0,(function(){return _(this,(function(t){switch(t.label){case 0:if(this.connectionState!==M.Connected)return[3,4];t.label=1;case 1:return t.trys.push([1,3,,4]),[4,this.sendMessage(this.cachedPingMessage)];case 2:return t.sent(),[3,4];case 3:return t.sent(),this.cleanupPingTimer(),[3,4];case 4:return[2]}}))}))}),this.keepAliveIntervalInMilliseconds))},t.prototype.resetTimeoutPeriod=function(){var t=this;this.connection.features&&this.connection.features.inherentKeepAlive||(this.timeoutHandle=setTimeout((function(){return t.serverTimeout()}),this.serverTimeoutInMilliseconds))},t.prototype.serverTimeout=function(){this.connection.stop(new Error("Server timeout elapsed without receiving a message from the server."))},t.prototype.invokeClientMethod=function(t){var e=this,n=this.methods[t.target.toLowerCase()];if(n){try{n.forEach((function(n){return n.apply(e,t.arguments)}))}catch(e){this.logger.log(r.Error,"A callback for the method "+t.target.toLowerCase()+" threw error '"+e+"'.")}if(t.invocationId){var o="Server requested a response, which is not supported in this version of the client.";this.logger.log(r.Error,o),this.stopPromise=this.stopInternal(new Error(o))}}else this.logger.log(r.Warning,"No client method with the name '"+t.target+"' found.")},t.prototype.connectionClosed=function(t){this.logger.log(r.Debug,"HubConnection.connectionClosed("+t+") called while in state "+this.connectionState+"."),this.stopDuringStartError=this.stopDuringStartError||t||new Error("The underlying connection was closed before the hub handshake could complete."),this.handshakeResolver&&this.handshakeResolver(),this.cancelCallbacksWithError(t||new Error("Invocation canceled due to the underlying connection being closed.")),this.cleanupTimeout(),this.cleanupPingTimer(),this.connectionState===M.Disconnecting?this.completeClose(t):this.connectionState===M.Connected&&this.reconnectPolicy?this.reconnect(t):this.connectionState===M.Connected&&this.completeClose(t)},t.prototype.completeClose=function(t){var e=this;if(this.connectionStarted){this.connectionState=M.Disconnected,this.connectionStarted=!1;try{this.closedCallbacks.forEach((function(n){return n.apply(e,[t])}))}catch(e){this.logger.log(r.Error,"An onclose callback called with error '"+t+"' threw error '"+e+"'.")}}},t.prototype.reconnect=function(t){return A(this,void 0,void 0,(function(){var e,n,o,i,s,c=this;return _(this,(function(a){switch(a.label){case 0:if(e=Date.now(),n=0,o=void 0!==t?t:new Error("Attempting to reconnect due to a unknown error."),null===(i=this.getNextRetryDelay(n++,0,o)))return this.logger.log(r.Debug,"Connection not reconnecting because the IRetryPolicy returned null on the first reconnect attempt."),this.completeClose(t),[2];if(this.connectionState=M.Reconnecting,t?this.logger.log(r.Information,"Connection reconnecting because of error '"+t+"'."):this.logger.log(r.Information,"Connection reconnecting."),this.onreconnecting){try{this.reconnectingCallbacks.forEach((function(e){return e.apply(c,[t])}))}catch(e){this.logger.log(r.Error,"An onreconnecting callback called with error '"+t+"' threw error '"+e+"'.")}if(this.connectionState!==M.Reconnecting)return this.logger.log(r.Debug,"Connection left the reconnecting state in onreconnecting callback. Done reconnecting."),[2]}a.label=1;case 1:return null===i?[3,7]:(this.logger.log(r.Information,"Reconnect attempt number "+n+" will start in "+i+" ms."),[4,new Promise((function(t){c.reconnectDelayHandle=setTimeout(t,i)}))]);case 2:if(a.sent(),this.reconnectDelayHandle=void 0,this.connectionState!==M.Reconnecting)return this.logger.log(r.Debug,"Connection left the reconnecting state during reconnect delay. Done reconnecting."),[2];a.label=3;case 3:return a.trys.push([3,5,,6]),[4,this.startInternal()];case 4:if(a.sent(),this.connectionState=M.Connected,this.logger.log(r.Information,"HubConnection reconnected successfully."),this.onreconnected)try{this.reconnectedCallbacks.forEach((function(t){return t.apply(c,[c.connection.connectionId])}))}catch(t){this.logger.log(r.Error,"An onreconnected callback called with connectionId '"+this.connection.connectionId+"; threw error '"+t+"'.")}return[2];case 5:return s=a.sent(),this.logger.log(r.Information,"Reconnect attempt failed because of error '"+s+"'."),this.connectionState!==M.Reconnecting?(this.logger.log(r.Debug,"Connection left the reconnecting state during reconnect attempt. Done reconnecting."),[2]):(o=s instanceof Error?s:new Error(s.toString()),i=this.getNextRetryDelay(n++,Date.now()-e,o),[3,6]);case 6:return[3,1];case 7:return this.logger.log(r.Information,"Reconnect retries have been exhausted after "+(Date.now()-e)+" ms and "+n+" failed attempts. Connection disconnecting."),this.completeClose(),[2]}}))}))},t.prototype.getNextRetryDelay=function(t,e,n){try{return this.reconnectPolicy.nextRetryDelayInMilliseconds({elapsedMilliseconds:e,previousRetryCount:t,retryReason:n})}catch(n){return this.logger.log(r.Error,"IRetryPolicy.nextRetryDelayInMilliseconds("+t+", "+e+") threw error '"+n+"'."),null}},t.prototype.cancelCallbacksWithError=function(t){var e=this.callbacks;this.callbacks={},Object.keys(e).forEach((function(n){(0,e[n])(null,t)}))},t.prototype.cleanupPingTimer=function(){this.pingServerHandle&&clearTimeout(this.pingServerHandle)},t.prototype.cleanupTimeout=function(){this.timeoutHandle&&clearTimeout(this.timeoutHandle)},t.prototype.createInvocation=function(t,e,n,o){if(n)return 0!==o.length?{arguments:e,streamIds:o,target:t,type:T.Invocation}:{arguments:e,target:t,type:T.Invocation};var r=this.invocationId;return this.invocationId++,0!==o.length?{arguments:e,invocationId:r.toString(),streamIds:o,target:t,type:T.Invocation}:{arguments:e,invocationId:r.toString(),target:t,type:T.Invocation}},t.prototype.launchStreams=function(t,e){var n=this;if(0!==t.length){e||(e=Promise.resolve());var o=function(o){t[o].subscribe({complete:function(){e=e.then((function(){return n.sendWithProtocol(n.createCompletionMessage(o))}))},error:function(t){var r;r=t instanceof Error?t.message:t&&t.toString?t.toString():"Unknown error",e=e.then((function(){return n.sendWithProtocol(n.createCompletionMessage(o,r))}))},next:function(t){e=e.then((function(){return n.sendWithProtocol(n.createStreamItemMessage(o,t))}))}})};for(var r in t)o(r)}},t.prototype.replaceStreamingParams=function(t){for(var e=[],n=[],o=0;o<t.length;o++){var r=t[o];if(this.isObservable(r)){var i=this.invocationId;this.invocationId++,e[i]=r,n.push(i.toString()),t.splice(o,1)}}return[e,n]},t.prototype.isObservable=function(t){return t&&t.subscribe&&"function"==typeof t.subscribe},t.prototype.createStreamInvocation=function(t,e,n){var o=this.invocationId;return this.invocationId++,0!==n.length?{arguments:e,invocationId:o.toString(),streamIds:n,target:t,type:T.StreamInvocation}:{arguments:e,invocationId:o.toString(),target:t,type:T.StreamInvocation}},t.prototype.createCancelInvocation=function(t){return{invocationId:t,type:T.CancelInvocation}},t.prototype.createStreamItemMessage=function(t,e){return{invocationId:t,item:e,type:T.StreamItem}},t.prototype.createCompletionMessage=function(t,e,n){return e?{error:e,invocationId:t,type:T.Completion}:{invocationId:t,result:n,type:T.Completion}},t}(),U=[0,2e3,1e4,3e4,null],B=function(){function t(t){this.retryDelays=void 0!==t?t.concat([null]):U}return t.prototype.nextRetryDelayInMilliseconds=function(t){return this.retryDelays[t.previousRetryCount]},t}();!function(t){t[t.None=0]="None",t[t.WebSockets=1]="WebSockets",t[t.ServerSentEvents=2]="ServerSentEvents",t[t.LongPolling=4]="LongPolling"}(L||(L={})),function(t){t[t.Text=1]="Text",t[t.Binary=2]="Binary"}(q||(q={}));var X=function(){function t(){this.isAborted=!1,this.onabort=null}return t.prototype.abort=function(){this.isAborted||(this.isAborted=!0,this.onabort&&this.onabort())},Object.defineProperty(t.prototype,"signal",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"aborted",{get:function(){return this.isAborted},enumerable:!0,configurable:!0}),t}(),G=Object.assign||function(t){for(var e,n=1,o=arguments.length;n<o;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},J=function(t,e,n,o){return new(n||(n=Promise))((function(r,i){function s(t){try{a(o.next(t))}catch(t){i(t)}}function c(t){try{a(o.throw(t))}catch(t){i(t)}}function a(t){t.done?r(t.value):new n((function(e){e(t.value)})).then(s,c)}a((o=o.apply(t,e||[])).next())}))},V=function(t,e){var n,o,r,i,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function c(i){return function(c){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,o&&(r=2&i[0]?o.return:i[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,i[1])).done)return r;switch(o=0,r&&(i=[2&i[0],r.value]),i[0]){case 0:case 1:r=i;break;case 4:return s.label++,{value:i[1],done:!1};case 5:s.label++,o=i[1],i=[0];continue;case 7:i=s.ops.pop(),s.trys.pop();continue;default:if(!((r=(r=s.trys).length>0&&r[r.length-1])||6!==i[0]&&2!==i[0])){s=0;continue}if(3===i[0]&&(!r||i[1]>r[0]&&i[1]<r[3])){s.label=i[1];break}if(6===i[0]&&s.label<r[1]){s.label=r[1],r=i;break}if(r&&s.label<r[2]){s.label=r[2],s.ops.push(i);break}r[2]&&s.ops.pop(),s.trys.pop();continue}i=e.call(t,s)}catch(t){i=[6,t],o=0}finally{n=r=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,c])}}},Q=function(){function t(t,e,n,o,r,i){this.httpClient=t,this.accessTokenFactory=e,this.logger=n,this.pollAbort=new X,this.logMessageContent=o,this.withCredentials=r,this.headers=i,this.running=!1,this.onreceive=null,this.onclose=null}return Object.defineProperty(t.prototype,"pollAborted",{get:function(){return this.pollAbort.aborted},enumerable:!0,configurable:!0}),t.prototype.connect=function(t,e){return J(this,void 0,void 0,(function(){var n,o,i,c,a,l,u,h,p;return V(this,(function(f){switch(f.label){case 0:if(d.isRequired(t,"url"),d.isRequired(e,"transferFormat"),d.isIn(e,q,"transferFormat"),this.url=t,this.logger.log(r.Trace,"(LongPolling transport) Connecting."),e===q.Binary&&"undefined"!=typeof XMLHttpRequest&&"string"!=typeof(new XMLHttpRequest).responseType)throw new Error("Binary protocols over XmlHttpRequest not implementing advanced features are not supported.");return o=S(),i=o[0],c=o[1],a=G(((n={})[i]=c,n),this.headers),l={abortSignal:this.pollAbort.signal,headers:a,timeout:1e5,withCredentials:this.withCredentials},e===q.Binary&&(l.responseType="arraybuffer"),[4,this.getAccessToken()];case 1:return u=f.sent(),this.updateHeaderToken(l,u),h=t+"&_="+Date.now(),this.logger.log(r.Trace,"(LongPolling transport) polling: "+h+"."),[4,this.httpClient.get(h,l)];case 2:return 200!==(p=f.sent()).statusCode?(this.logger.log(r.Error,"(LongPolling transport) Unexpected response code: "+p.statusCode+"."),this.closeError=new s(p.statusText||"",p.statusCode),this.running=!1):this.running=!0,this.receiving=this.poll(this.url,l),[2]}}))}))},t.prototype.getAccessToken=function(){return J(this,void 0,void 0,(function(){return V(this,(function(t){switch(t.label){case 0:return this.accessTokenFactory?[4,this.accessTokenFactory()]:[3,2];case 1:return[2,t.sent()];case 2:return[2,null]}}))}))},t.prototype.updateHeaderToken=function(t,e){t.headers||(t.headers={}),e?t.headers.Authorization="Bearer "+e:t.headers.Authorization&&delete t.headers.Authorization},t.prototype.poll=function(t,e){return J(this,void 0,void 0,(function(){var n,o,i,a;return V(this,(function(l){switch(l.label){case 0:l.trys.push([0,,8,9]),l.label=1;case 1:return this.running?[4,this.getAccessToken()]:[3,7];case 2:n=l.sent(),this.updateHeaderToken(e,n),l.label=3;case 3:return l.trys.push([3,5,,6]),o=t+"&_="+Date.now(),this.logger.log(r.Trace,"(LongPolling transport) polling: "+o+"."),[4,this.httpClient.get(o,e)];case 4:return 204===(i=l.sent()).statusCode?(this.logger.log(r.Information,"(LongPolling transport) Poll terminated by server."),this.running=!1):200!==i.statusCode?(this.logger.log(r.Error,"(LongPolling transport) Unexpected response code: "+i.statusCode+"."),this.closeError=new s(i.statusText||"",i.statusCode),this.running=!1):i.content?(this.logger.log(r.Trace,"(LongPolling transport) data received. "+y(i.content,this.logMessageContent)+"."),this.onreceive&&this.onreceive(i.content)):this.logger.log(r.Trace,"(LongPolling transport) Poll timed out, reissuing."),[3,6];case 5:return a=l.sent(),this.running?a instanceof c?this.logger.log(r.Trace,"(LongPolling transport) Poll timed out, reissuing."):(this.closeError=a,this.running=!1):this.logger.log(r.Trace,"(LongPolling transport) Poll errored after shutdown: "+a.message),[3,6];case 6:return[3,1];case 7:return[3,9];case 8:return this.logger.log(r.Trace,"(LongPolling transport) Polling complete."),this.pollAborted||this.raiseOnClose(),[7];case 9:return[2]}}))}))},t.prototype.send=function(t){return J(this,void 0,void 0,(function(){return V(this,(function(e){return this.running?[2,w(this.logger,"LongPolling",this.httpClient,this.url,this.accessTokenFactory,t,this.logMessageContent,this.withCredentials,this.headers)]:[2,Promise.reject(new Error("Cannot send until the transport is connected"))]}))}))},t.prototype.stop=function(){return J(this,void 0,void 0,(function(){var t,e,n,o,i,s;return V(this,(function(c){switch(c.label){case 0:this.logger.log(r.Trace,"(LongPolling transport) Stopping polling."),this.running=!1,this.pollAbort.abort(),c.label=1;case 1:return c.trys.push([1,,5,6]),[4,this.receiving];case 2:return c.sent(),this.logger.log(r.Trace,"(LongPolling transport) sending DELETE request to "+this.url+"."),t={},e=S(),n=e[0],o=e[1],t[n]=o,i={headers:G({},t,this.headers),withCredentials:this.withCredentials},[4,this.getAccessToken()];case 3:return s=c.sent(),this.updateHeaderToken(i,s),[4,this.httpClient.delete(this.url,i)];case 4:return c.sent(),this.logger.log(r.Trace,"(LongPolling transport) DELETE request sent."),[3,6];case 5:return this.logger.log(r.Trace,"(LongPolling transport) Stop finished."),this.raiseOnClose(),[7];case 6:return[2]}}))}))},t.prototype.raiseOnClose=function(){if(this.onclose){var t="(LongPolling transport) Firing onclose event.";this.closeError&&(t+=" Error: "+this.closeError),this.logger.log(r.Trace,t),this.onclose(this.closeError)}},t}(),z=Object.assign||function(t){for(var e,n=1,o=arguments.length;n<o;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},K=function(t,e,n,o){return new(n||(n=Promise))((function(r,i){function s(t){try{a(o.next(t))}catch(t){i(t)}}function c(t){try{a(o.throw(t))}catch(t){i(t)}}function a(t){t.done?r(t.value):new n((function(e){e(t.value)})).then(s,c)}a((o=o.apply(t,e||[])).next())}))},$=function(t,e){var n,o,r,i,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function c(i){return function(c){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,o&&(r=2&i[0]?o.return:i[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,i[1])).done)return r;switch(o=0,r&&(i=[2&i[0],r.value]),i[0]){case 0:case 1:r=i;break;case 4:return s.label++,{value:i[1],done:!1};case 5:s.label++,o=i[1],i=[0];continue;case 7:i=s.ops.pop(),s.trys.pop();continue;default:if(!((r=(r=s.trys).length>0&&r[r.length-1])||6!==i[0]&&2!==i[0])){s=0;continue}if(3===i[0]&&(!r||i[1]>r[0]&&i[1]<r[3])){s.label=i[1];break}if(6===i[0]&&s.label<r[1]){s.label=r[1],r=i;break}if(r&&s.label<r[2]){s.label=r[2],s.ops.push(i);break}r[2]&&s.ops.pop(),s.trys.pop();continue}i=e.call(t,s)}catch(t){i=[6,t],o=0}finally{n=r=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,c])}}},Y=function(){function t(t,e,n,o,r,i,s){this.httpClient=t,this.accessTokenFactory=e,this.logger=n,this.logMessageContent=o,this.withCredentials=i,this.eventSourceConstructor=r,this.headers=s,this.onreceive=null,this.onclose=null}return t.prototype.connect=function(t,e){return K(this,void 0,void 0,(function(){var n,o=this;return $(this,(function(i){switch(i.label){case 0:return d.isRequired(t,"url"),d.isRequired(e,"transferFormat"),d.isIn(e,q,"transferFormat"),this.logger.log(r.Trace,"(SSE transport) Connecting."),this.url=t,this.accessTokenFactory?[4,this.accessTokenFactory()]:[3,2];case 1:(n=i.sent())&&(t+=(t.indexOf("?")<0?"?":"&")+"access_token="+encodeURIComponent(n)),i.label=2;case 2:return[2,new Promise((function(n,i){var s=!1;if(e===q.Text){var c;if(b.isBrowser||b.isWebWorker)c=new o.eventSourceConstructor(t,{withCredentials:o.withCredentials});else{var a=o.httpClient.getCookieString(t),l={};l.Cookie=a;var u=S(),h=u[0],p=u[1];l[h]=p,c=new o.eventSourceConstructor(t,{withCredentials:o.withCredentials,headers:z({},l,o.headers)})}try{c.onmessage=function(t){if(o.onreceive)try{o.logger.log(r.Trace,"(SSE transport) data received. "+y(t.data,o.logMessageContent)+"."),o.onreceive(t.data)}catch(t){return void o.close(t)}},c.onerror=function(t){var e=new Error(t.data||"Error occurred");s?o.close(e):i(e)},c.onopen=function(){o.logger.log(r.Information,"SSE connected to "+o.url),o.eventSource=c,s=!0,n()}}catch(t){return void i(t)}}else i(new Error("The Server-Sent Events transport only supports the 'Text' transfer format"))}))]}}))}))},t.prototype.send=function(t){return K(this,void 0,void 0,(function(){return $(this,(function(e){return this.eventSource?[2,w(this.logger,"SSE",this.httpClient,this.url,this.accessTokenFactory,t,this.logMessageContent,this.withCredentials,this.headers)]:[2,Promise.reject(new Error("Cannot send until the transport is connected"))]}))}))},t.prototype.stop=function(){return this.close(),Promise.resolve()},t.prototype.close=function(t){this.eventSource&&(this.eventSource.close(),this.eventSource=void 0,this.onclose&&this.onclose(t))},t}(),Z=Object.assign||function(t){for(var e,n=1,o=arguments.length;n<o;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},tt=function(){function t(t,e,n,o,r,i){this.logger=n,this.accessTokenFactory=e,this.logMessageContent=o,this.webSocketConstructor=r,this.httpClient=t,this.onreceive=null,this.onclose=null,this.headers=i}return t.prototype.connect=function(t,e){return n=this,o=void 0,s=function(){var n,o=this;return function(t,e){var n,o,r,i,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function c(i){return function(c){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,o&&(r=2&i[0]?o.return:i[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,i[1])).done)return r;switch(o=0,r&&(i=[2&i[0],r.value]),i[0]){case 0:case 1:r=i;break;case 4:return s.label++,{value:i[1],done:!1};case 5:s.label++,o=i[1],i=[0];continue;case 7:i=s.ops.pop(),s.trys.pop();continue;default:if(!((r=(r=s.trys).length>0&&r[r.length-1])||6!==i[0]&&2!==i[0])){s=0;continue}if(3===i[0]&&(!r||i[1]>r[0]&&i[1]<r[3])){s.label=i[1];break}if(6===i[0]&&s.label<r[1]){s.label=r[1],r=i;break}if(r&&s.label<r[2]){s.label=r[2],s.ops.push(i);break}r[2]&&s.ops.pop(),s.trys.pop();continue}i=e.call(t,s)}catch(t){i=[6,t],o=0}finally{n=r=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,c])}}}(this,(function(i){switch(i.label){case 0:return d.isRequired(t,"url"),d.isRequired(e,"transferFormat"),d.isIn(e,q,"transferFormat"),this.logger.log(r.Trace,"(WebSockets transport) Connecting."),this.accessTokenFactory?[4,this.accessTokenFactory()]:[3,2];case 1:(n=i.sent())&&(t+=(t.indexOf("?")<0?"?":"&")+"access_token="+encodeURIComponent(n)),i.label=2;case 2:return[2,new Promise((function(n,i){var s;t=t.replace(/^http/,"ws");var c=o.httpClient.getCookieString(t),a=!1;if(b.isNode){var l={},u=S(),h=u[0],p=u[1];l[h]=p,c&&(l.Cookie=""+c),s=new o.webSocketConstructor(t,void 0,{headers:Z({},l,o.headers)})}s||(s=new o.webSocketConstructor(t)),e===q.Binary&&(s.binaryType="arraybuffer"),s.onopen=function(e){o.logger.log(r.Information,"WebSocket connected to "+t+"."),o.webSocket=s,a=!0,n()},s.onerror=function(t){var e;e="undefined"!=typeof ErrorEvent&&t instanceof ErrorEvent?t.error:new Error("There was an error with the transport."),i(e)},s.onmessage=function(t){if(o.logger.log(r.Trace,"(WebSockets transport) data received. "+y(t.data,o.logMessageContent)+"."),o.onreceive)try{o.onreceive(t.data)}catch(t){return void o.close(t)}},s.onclose=function(t){var e;a?o.close(t):(e="undefined"!=typeof ErrorEvent&&t instanceof ErrorEvent?t.error:new Error("There was an error with the transport."),i(e))}}))]}}))},new((i=void 0)||(i=Promise))((function(t,e){function r(t){try{a(s.next(t))}catch(t){e(t)}}function c(t){try{a(s.throw(t))}catch(t){e(t)}}function a(e){e.done?t(e.value):new i((function(t){t(e.value)})).then(r,c)}a((s=s.apply(n,o||[])).next())}));var n,o,i,s},t.prototype.send=function(t){return this.webSocket&&this.webSocket.readyState===this.webSocketConstructor.OPEN?(this.logger.log(r.Trace,"(WebSockets transport) sending data. "+y(t,this.logMessageContent)+"."),this.webSocket.send(t),Promise.resolve()):Promise.reject("WebSocket is not in the OPEN state")},t.prototype.stop=function(){return this.webSocket&&this.close(void 0),Promise.resolve()},t.prototype.close=function(t){this.webSocket&&(this.webSocket.onclose=function(){},this.webSocket.onmessage=function(){},this.webSocket.onerror=function(){},this.webSocket.close(),this.webSocket=void 0),this.logger.log(r.Trace,"(WebSockets transport) socket closed."),this.onclose&&(!this.isCloseEvent(t)||!1!==t.wasClean&&1e3===t.code?t instanceof Error?this.onclose(t):this.onclose():this.onclose(new Error("WebSocket closed with status code: "+t.code+" ("+t.reason+").")))},t.prototype.isCloseEvent=function(t){return t&&"boolean"==typeof t.wasClean&&"number"==typeof t.code},t}(),et=Object.assign||function(t){for(var e,n=1,o=arguments.length;n<o;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},nt=function(t,e,n,o){return new(n||(n=Promise))((function(r,i){function s(t){try{a(o.next(t))}catch(t){i(t)}}function c(t){try{a(o.throw(t))}catch(t){i(t)}}function a(t){t.done?r(t.value):new n((function(e){e(t.value)})).then(s,c)}a((o=o.apply(t,e||[])).next())}))},ot=function(t,e){var n,o,r,i,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function c(i){return function(c){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,o&&(r=2&i[0]?o.return:i[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,i[1])).done)return r;switch(o=0,r&&(i=[2&i[0],r.value]),i[0]){case 0:case 1:r=i;break;case 4:return s.label++,{value:i[1],done:!1};case 5:s.label++,o=i[1],i=[0];continue;case 7:i=s.ops.pop(),s.trys.pop();continue;default:if(!((r=(r=s.trys).length>0&&r[r.length-1])||6!==i[0]&&2!==i[0])){s=0;continue}if(3===i[0]&&(!r||i[1]>r[0]&&i[1]<r[3])){s.label=i[1];break}if(6===i[0]&&s.label<r[1]){s.label=r[1],r=i;break}if(r&&s.label<r[2]){s.label=r[2],s.ops.push(i);break}r[2]&&s.ops.pop(),s.trys.pop();continue}i=e.call(t,s)}catch(t){i=[6,t],o=0}finally{n=r=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,c])}}},rt=function(){function t(t,e){var n;if(void 0===e&&(e={}),this.features={},this.negotiateVersion=1,d.isRequired(t,"url"),this.logger=void 0===(n=e.logger)?new C(r.Information):null===n?p.instance:n.log?n:new C(n),this.baseUrl=this.resolveUrl(t),(e=e||{}).logMessageContent=void 0!==e.logMessageContent&&e.logMessageContent,"boolean"!=typeof e.withCredentials&&void 0!==e.withCredentials)throw new Error("withCredentials option was not a 'boolean' or 'undefined' value");e.withCredentials=void 0===e.withCredentials||e.withCredentials;var o=null,i=null;if(b.isNode){var s=require;o=s("ws"),i=s("eventsource")}b.isNode||"undefined"==typeof WebSocket||e.WebSocket?b.isNode&&!e.WebSocket&&o&&(e.WebSocket=o):e.WebSocket=WebSocket,b.isNode||"undefined"==typeof EventSource||e.EventSource?b.isNode&&!e.EventSource&&void 0!==i&&(e.EventSource=i):e.EventSource=EventSource,this.httpClient=e.httpClient||new j(this.logger),this.connectionState="Disconnected",this.connectionStarted=!1,this.options=e,this.onreceive=null,this.onclose=null}return t.prototype.start=function(t){return nt(this,void 0,void 0,(function(){var e;return ot(this,(function(n){switch(n.label){case 0:return t=t||q.Binary,d.isIn(t,q,"transferFormat"),this.logger.log(r.Debug,"Starting connection with transfer format '"+q[t]+"'."),"Disconnected"!==this.connectionState?[2,Promise.reject(new Error("Cannot start an HttpConnection that is not in the 'Disconnected' state."))]:(this.connectionState="Connecting",this.startInternalPromise=this.startInternal(t),[4,this.startInternalPromise]);case 1:return n.sent(),"Disconnecting"!==this.connectionState?[3,3]:(e="Failed to start the HttpConnection before stop() was called.",this.logger.log(r.Error,e),[4,this.stopPromise]);case 2:return n.sent(),[2,Promise.reject(new Error(e))];case 3:if("Connected"!==this.connectionState)return e="HttpConnection.startInternal completed gracefully but didn't enter the connection into the connected state!",this.logger.log(r.Error,e),[2,Promise.reject(new Error(e))];n.label=4;case 4:return this.connectionStarted=!0,[2]}}))}))},t.prototype.send=function(t){return"Connected"!==this.connectionState?Promise.reject(new Error("Cannot send data if the connection is not in the 'Connected' State.")):(this.sendQueue||(this.sendQueue=new it(this.transport)),this.sendQueue.send(t))},t.prototype.stop=function(t){return nt(this,void 0,void 0,(function(){var e=this;return ot(this,(function(n){switch(n.label){case 0:return"Disconnected"===this.connectionState?(this.logger.log(r.Debug,"Call to HttpConnection.stop("+t+") ignored because the connection is already in the disconnected state."),[2,Promise.resolve()]):"Disconnecting"===this.connectionState?(this.logger.log(r.Debug,"Call to HttpConnection.stop("+t+") ignored because the connection is already in the disconnecting state."),[2,this.stopPromise]):(this.connectionState="Disconnecting",this.stopPromise=new Promise((function(t){e.stopPromiseResolver=t})),[4,this.stopInternal(t)]);case 1:return n.sent(),[4,this.stopPromise];case 2:return n.sent(),[2]}}))}))},t.prototype.stopInternal=function(t){return nt(this,void 0,void 0,(function(){var e;return ot(this,(function(n){switch(n.label){case 0:this.stopError=t,n.label=1;case 1:return n.trys.push([1,3,,4]),[4,this.startInternalPromise];case 2:case 3:return n.sent(),[3,4];case 4:if(!this.transport)return[3,9];n.label=5;case 5:return n.trys.push([5,7,,8]),[4,this.transport.stop()];case 6:return n.sent(),[3,8];case 7:return e=n.sent(),this.logger.log(r.Error,"HttpConnection.transport.stop() threw error '"+e+"'."),this.stopConnection(),[3,8];case 8:return this.transport=void 0,[3,10];case 9:this.logger.log(r.Debug,"HttpConnection.transport is undefined in HttpConnection.stop() because start() failed."),this.stopConnection(),n.label=10;case 10:return[2]}}))}))},t.prototype.startInternal=function(t){return nt(this,void 0,void 0,(function(){var e,n,o,i,s,c;return ot(this,(function(a){switch(a.label){case 0:e=this.baseUrl,this.accessTokenFactory=this.options.accessTokenFactory,a.label=1;case 1:return a.trys.push([1,12,,13]),this.options.skipNegotiation?this.options.transport!==L.WebSockets?[3,3]:(this.transport=this.constructTransport(L.WebSockets),[4,this.startTransport(e,t)]):[3,5];case 2:return a.sent(),[3,4];case 3:throw new Error("Negotiation can only be skipped when using the WebSocket transport directly.");case 4:return[3,11];case 5:n=null,o=0,i=function(){var t;return ot(this,(function(r){switch(r.label){case 0:return[4,s.getNegotiationResponse(e)];case 1:if(n=r.sent(),"Disconnecting"===s.connectionState||"Disconnected"===s.connectionState)throw new Error("The connection was stopped during negotiation.");if(n.error)throw new Error(n.error);if(n.ProtocolVersion)throw new Error("Detected a connection attempt to an ASP.NET SignalR Server. This client only supports connecting to an ASP.NET Core SignalR Server. See https://aka.ms/signalr-core-differences for details.");return n.url&&(e=n.url),n.accessToken&&(t=n.accessToken,s.accessTokenFactory=function(){return t}),o++,[2]}}))},s=this,a.label=6;case 6:return[5,i()];case 7:a.sent(),a.label=8;case 8:if(n.url&&o<100)return[3,6];a.label=9;case 9:if(100===o&&n.url)throw new Error("Negotiate redirection limit exceeded.");return[4,this.createTransport(e,this.options.transport,n,t)];case 10:a.sent(),a.label=11;case 11:return this.transport instanceof Q&&(this.features.inherentKeepAlive=!0),"Connecting"===this.connectionState&&(this.logger.log(r.Debug,"The HttpConnection connected successfully."),this.connectionState="Connected"),[3,13];case 12:return c=a.sent(),this.logger.log(r.Error,"Failed to start the connection: "+c),this.connectionState="Disconnected",this.transport=void 0,[2,Promise.reject(c)];case 13:return[2]}}))}))},t.prototype.getNegotiationResponse=function(t){return nt(this,void 0,void 0,(function(){var e,n,o,i,s,c,a,l,u;return ot(this,(function(h){switch(h.label){case 0:return e={},this.accessTokenFactory?[4,this.accessTokenFactory()]:[3,2];case 1:(n=h.sent())&&(e.Authorization="Bearer "+n),h.label=2;case 2:o=S(),i=o[0],s=o[1],e[i]=s,c=this.resolveNegotiateUrl(t),this.logger.log(r.Debug,"Sending negotiation request: "+c+"."),h.label=3;case 3:return h.trys.push([3,5,,6]),[4,this.httpClient.post(c,{content:"",headers:et({},e,this.options.headers),withCredentials:this.options.withCredentials})];case 4:return 200!==(a=h.sent()).statusCode?[2,Promise.reject(new Error("Unexpected status code returned from negotiate '"+a.statusCode+"'"))]:((!(l=JSON.parse(a.content)).negotiateVersion||l.negotiateVersion<1)&&(l.connectionToken=l.connectionId),[2,l]);case 5:return u=h.sent(),this.logger.log(r.Error,"Failed to complete negotiation with the server: "+u),[2,Promise.reject(u)];case 6:return[2]}}))}))},t.prototype.createConnectUrl=function(t,e){return e?t+(-1===t.indexOf("?")?"?":"&")+"id="+e:t},t.prototype.createTransport=function(t,e,n,o){return nt(this,void 0,void 0,(function(){var i,s,c,a,l,u,h,p,f,g,d;return ot(this,(function(b){switch(b.label){case 0:return i=this.createConnectUrl(t,n.connectionToken),this.isITransport(e)?(this.logger.log(r.Debug,"Connection was provided an instance of ITransport, using that directly."),this.transport=e,[4,this.startTransport(i,o)]):[3,2];case 1:return b.sent(),this.connectionId=n.connectionId,[2];case 2:s=[],c=n.availableTransports||[],a=n,l=0,u=c,b.label=3;case 3:return l<u.length?(h=u[l],(p=this.resolveTransportOrError(h,e,o))instanceof Error?(s.push(h.transport+" failed: "+p),[3,12]):[3,4]):[3,13];case 4:if(!this.isITransport(p))return[3,12];if(this.transport=p,a)return[3,9];b.label=5;case 5:return b.trys.push([5,7,,8]),[4,this.getNegotiationResponse(t)];case 6:return a=b.sent(),[3,8];case 7:return f=b.sent(),[2,Promise.reject(f)];case 8:i=this.createConnectUrl(t,a.connectionToken),b.label=9;case 9:return b.trys.push([9,11,,12]),[4,this.startTransport(i,o)];case 10:return b.sent(),this.connectionId=a.connectionId,[2];case 11:return g=b.sent(),this.logger.log(r.Error,"Failed to start the transport '"+h.transport+"': "+g),a=void 0,s.push(h.transport+" failed: "+g),"Connecting"!==this.connectionState?(d="Failed to select transport before stop() was called.",this.logger.log(r.Debug,d),[2,Promise.reject(new Error(d))]):[3,12];case 12:return l++,[3,3];case 13:return s.length>0?[2,Promise.reject(new Error("Unable to connect to the server with any of the available transports. "+s.join(" ")))]:[2,Promise.reject(new Error("None of the transports supported by the client are supported by the server."))]}}))}))},t.prototype.constructTransport=function(t){switch(t){case L.WebSockets:if(!this.options.WebSocket)throw new Error("'WebSocket' is not supported in your environment.");return new tt(this.httpClient,this.accessTokenFactory,this.logger,this.options.logMessageContent||!1,this.options.WebSocket,this.options.headers||{});case L.ServerSentEvents:if(!this.options.EventSource)throw new Error("'EventSource' is not supported in your environment.");return new Y(this.httpClient,this.accessTokenFactory,this.logger,this.options.logMessageContent||!1,this.options.EventSource,this.options.withCredentials,this.options.headers||{});case L.LongPolling:return new Q(this.httpClient,this.accessTokenFactory,this.logger,this.options.logMessageContent||!1,this.options.withCredentials,this.options.headers||{});default:throw new Error("Unknown transport: "+t+".")}},t.prototype.startTransport=function(t,e){var n=this;return this.transport.onreceive=this.onreceive,this.transport.onclose=function(t){return n.stopConnection(t)},this.transport.connect(t,e)},t.prototype.resolveTransportOrError=function(t,e,n){var o=L[t.transport];if(null==o)return this.logger.log(r.Debug,"Skipping transport '"+t.transport+"' because it is not supported by this client."),new Error("Skipping transport '"+t.transport+"' because it is not supported by this client.");if(!function(t,e){return!t||0!=(e&t)}(e,o))return this.logger.log(r.Debug,"Skipping transport '"+L[o]+"' because it was disabled by the client."),new Error("'"+L[o]+"' is disabled by the client.");if(!(t.transferFormats.map((function(t){return q[t]})).indexOf(n)>=0))return this.logger.log(r.Debug,"Skipping transport '"+L[o]+"' because it does not support the requested transfer format '"+q[n]+"'."),new Error("'"+L[o]+"' does not support "+q[n]+".");if(o===L.WebSockets&&!this.options.WebSocket||o===L.ServerSentEvents&&!this.options.EventSource)return this.logger.log(r.Debug,"Skipping transport '"+L[o]+"' because it is not supported in your environment.'"),new Error("'"+L[o]+"' is not supported in your environment.");this.logger.log(r.Debug,"Selecting transport '"+L[o]+"'.");try{return this.constructTransport(o)}catch(t){return t}},t.prototype.isITransport=function(t){return t&&"object"==typeof t&&"connect"in t},t.prototype.stopConnection=function(t){var e=this;if(this.logger.log(r.Debug,"HttpConnection.stopConnection("+t+") called while in state "+this.connectionState+"."),this.transport=void 0,t=this.stopError||t,this.stopError=void 0,"Disconnected"!==this.connectionState){if("Connecting"===this.connectionState)throw this.logger.log(r.Warning,"Call to HttpConnection.stopConnection("+t+") was ignored because the connection is still in the connecting state."),new Error("HttpConnection.stopConnection("+t+") was called while the connection is still in the connecting state.");if("Disconnecting"===this.connectionState&&this.stopPromiseResolver(),t?this.logger.log(r.Error,"Connection disconnected with error '"+t+"'."):this.logger.log(r.Information,"Connection disconnected."),this.sendQueue&&(this.sendQueue.stop().catch((function(t){e.logger.log(r.Error,"TransportSendQueue.stop() threw error '"+t+"'.")})),this.sendQueue=void 0),this.connectionId=void 0,this.connectionState="Disconnected",this.connectionStarted){this.connectionStarted=!1;try{this.onclose&&this.onclose(t)}catch(e){this.logger.log(r.Error,"HttpConnection.onclose("+t+") threw error '"+e+"'.")}}}else this.logger.log(r.Debug,"Call to HttpConnection.stopConnection("+t+") was ignored because the connection is already in the disconnected state.")},t.prototype.resolveUrl=function(t){if(0===t.lastIndexOf("https://",0)||0===t.lastIndexOf("http://",0))return t;if(!b.isBrowser||!window.document)throw new Error("Cannot resolve '"+t+"'.");var e=window.document.createElement("a");return e.href=t,this.logger.log(r.Information,"Normalizing '"+t+"' to '"+e.href+"'."),e.href},t.prototype.resolveNegotiateUrl=function(t){var e=t.indexOf("?"),n=t.substring(0,-1===e?t.length:e);return"/"!==n[n.length-1]&&(n+="/"),n+="negotiate",-1===(n+=-1===e?"":t.substring(e)).indexOf("negotiateVersion")&&(n+=-1===e?"?":"&",n+="negotiateVersion="+this.negotiateVersion),n},t}(),it=function(){function t(t){this.transport=t,this.buffer=[],this.executing=!0,this.sendBufferedData=new st,this.transportResult=new st,this.sendLoopPromise=this.sendLoop()}return t.prototype.send=function(t){return this.bufferData(t),this.transportResult||(this.transportResult=new st),this.transportResult.promise},t.prototype.stop=function(){return this.executing=!1,this.sendBufferedData.resolve(),this.sendLoopPromise},t.prototype.bufferData=function(t){if(this.buffer.length&&typeof this.buffer[0]!=typeof t)throw new Error("Expected data to be of type "+typeof this.buffer+" but was of type "+typeof t);this.buffer.push(t),this.sendBufferedData.resolve()},t.prototype.sendLoop=function(){return nt(this,void 0,void 0,(function(){var e,n,o;return ot(this,(function(r){switch(r.label){case 0:return[4,this.sendBufferedData.promise];case 1:if(r.sent(),!this.executing)return this.transportResult&&this.transportResult.reject("Connection stopped."),[3,6];this.sendBufferedData=new st,e=this.transportResult,this.transportResult=void 0,n="string"==typeof this.buffer[0]?this.buffer.join(""):t.concatBuffers(this.buffer),this.buffer.length=0,r.label=2;case 2:return r.trys.push([2,4,,5]),[4,this.transport.send(n)];case 3:return r.sent(),e.resolve(),[3,5];case 4:return o=r.sent(),e.reject(o),[3,5];case 5:return[3,0];case 6:return[2]}}))}))},t.concatBuffers=function(t){for(var e=t.map((function(t){return t.byteLength})).reduce((function(t,e){return t+e})),n=new Uint8Array(e),o=0,r=0,i=t;r<i.length;r++){var s=i[r];n.set(new Uint8Array(s),o),o+=s.byteLength}return n.buffer},t}(),st=function(){function t(){var t=this;this.promise=new Promise((function(e,n){var o;return o=[e,n],t.resolver=o[0],t.rejecter=o[1],o}))}return t.prototype.resolve=function(){this.resolver()},t.prototype.reject=function(t){this.rejecter(t)},t}(),ct=function(){function t(){this.name="json",this.version=1,this.transferFormat=q.Text}return t.prototype.parseMessages=function(t,e){if("string"!=typeof t)throw new Error("Invalid input for JSON hub protocol. Expected a string.");if(!t)return[];null===e&&(e=p.instance);for(var n=[],o=0,i=H.parse(t);o<i.length;o++){var s=i[o],c=JSON.parse(s);if("number"!=typeof c.type)throw new Error("Invalid payload.");switch(c.type){case T.Invocation:this.isInvocationMessage(c);break;case T.StreamItem:this.isStreamItemMessage(c);break;case T.Completion:this.isCompletionMessage(c);break;case T.Ping:case T.Close:break;default:e.log(r.Information,"Unknown message type '"+c.type+"' ignored.");continue}n.push(c)}return n},t.prototype.writeMessage=function(t){return H.write(JSON.stringify(t))},t.prototype.isInvocationMessage=function(t){this.assertNotEmptyString(t.target,"Invalid payload for Invocation message."),void 0!==t.invocationId&&this.assertNotEmptyString(t.invocationId,"Invalid payload for Invocation message.")},t.prototype.isStreamItemMessage=function(t){if(this.assertNotEmptyString(t.invocationId,"Invalid payload for StreamItem message."),void 0===t.item)throw new Error("Invalid payload for StreamItem message.")},t.prototype.isCompletionMessage=function(t){if(t.result&&t.error)throw new Error("Invalid payload for Completion message.");!t.result&&t.error&&this.assertNotEmptyString(t.error,"Invalid payload for Completion message."),this.assertNotEmptyString(t.invocationId,"Invalid payload for Completion message.")},t.prototype.assertNotEmptyString=function(t,e){if("string"!=typeof t||""===t)throw new Error(e)},t}(),at=Object.assign||function(t){for(var e,n=1,o=arguments.length;n<o;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},lt={trace:r.Trace,debug:r.Debug,info:r.Information,information:r.Information,warn:r.Warning,warning:r.Warning,error:r.Error,critical:r.Critical,none:r.None},ut=function(){function t(){}return t.prototype.configureLogging=function(t){if(d.isRequired(t,"logging"),void 0!==t.log)this.logger=t;else if("string"==typeof t){var e=function(t){var e=lt[t.toLowerCase()];if(void 0!==e)return e;throw new Error("Unknown log level: "+t)}(t);this.logger=new C(e)}else this.logger=new C(t);return this},t.prototype.withUrl=function(t,e){return d.isRequired(t,"url"),d.isNotEmpty(t,"url"),this.url=t,this.httpConnectionOptions=at({},this.httpConnectionOptions,"object"==typeof e?e:{transport:e}),this},t.prototype.withHubProtocol=function(t){return d.isRequired(t,"protocol"),this.protocol=t,this},t.prototype.withAutomaticReconnect=function(t){if(this.reconnectPolicy)throw new Error("A reconnectPolicy has already been set.");return t?Array.isArray(t)?this.reconnectPolicy=new B(t):this.reconnectPolicy=t:this.reconnectPolicy=new B,this},t.prototype.build=function(){var t=this.httpConnectionOptions||{};if(void 0===t.logger&&(t.logger=this.logger),!this.url)throw new Error("The 'HubConnectionBuilder.withUrl' method must be called before building the connection.");var e=new rt(this.url,t);return F.create(e,this.logger||p.instance,this.protocol||new ct,this.reconnectPolicy)},t}()}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk_clickview_lite=self.webpackChunk_clickview_lite||[]).push([[7767],{9836:(e,a,t)=>{t.d(a,{a:()=>r});var r=function(e){return e?e.primaryUrl.includes("staging")?{videoId:"38956576",shareId:"aGp9WD"}:{videoId:"49331262",shareId:"0DYKrb"}:null}},57767:(e,a,t)=>{t.r(a),t.d(a,{LiteUpgradeVideoView:()=>C});var r=t(1024),s=t.n(r),i=t(23481),c=t(97395),l=t(20354),d=t(30439),n=t(9111),o=t(83345),p=t(60051),u=t(39151),h=t(47812),m=t(31949),g=t(1575),w=t(9836),k=t(57245),f="shared.liteUpgradeVideo",v=i.T.encloseNamespace(f);function C(e){var a=l.a.useBasicFetch(m.N.currentUser()),t=l.a.useBasicFetch(u.L.config()),r=(0,w.a)(t.data),i=l.a.useBasicFetch(r&&g.R.sharedVideo(r.videoId,r.shareId)),C=l.a.useBasicFetch(d.o.getShareObject(r.shareId)),_=l.a.useBasicFetch(h.k.createViewKey(r.shareId,p.f.Share)),I=i.data&&a.hasCompleted&&t.hasCompleted&&C.hasCompleted&&_.hasCompleted,b=!!t.data&&c._.safeUrlConcat(t.data.marketingSiteUrl,"/upgrade?utm_source=ClickView+Online&utm_medium=website&utm_campaign=New+Product");return s().createElement(n.G,{title:v("title"),closePopup:e.closePopup,size:"lg",showLoadingSpinner:!I},s().createElement("p",{className:"mb-4 mt-1"},s().createElement(o.x,{namespace:f,phrase:"message"})," ",s().createElement("a",{href:b,className:"text-info",target:"_blank"},s().createElement(o.x,{namespace:f,phrase:"learnMore"}))),I&&s().createElement(k._,{config:t.data,video:i.data,currentUser:a.data,shareLink:C.data,viewKey:_.data,autoplay:!0,allowPip:!1,allowCreateClip:!1}))}}}]);
@@ -1,2 +0,0 @@
1
- /*! For license information please see 7950-5ea68fae3f-lite.chunk.js.LICENSE.txt */
2
- "use strict";(self.webpackChunk_clickview_lite=self.webpackChunk_clickview_lite||[]).push([[7950],{49935:(e,t,n)=>{n.d(t,{Oo:()=>m,b2:()=>d});var r=n(1024),a=n(36848),i=n(86764),o=n(3747),c=n(5859),l=n(58130),s=n(83914),u=function(e){var t=e.breadcrumb,n=t.name,i=t.appLink,o=t.active,c=e.withBackIcon;return r.createElement("li",{className:"breadcrumb-item".concat(o?" active":"")},o?r.createElement("strong",null,n):r.createElement(a.F,{appLink:i},c&&r.createElement(s.x,{svgName:l.vn.ChevronLeft,size:s.S.Small}),r.createElement("span",{className:c?"ml-2":""},n)))},m=function(e){var t=e.breadcrumbs,n=(0,o.a)(i.r.XS),a=null==t?void 0:t.length;return!a||n&&a<2?r.createElement(r.Fragment,null):n?r.createElement("nav",{"aria-label":"breadcrumb"},r.createElement("ol",{className:"breadcrumb m-0 p-0"},r.createElement(u,{breadcrumb:t[a-2],withBackIcon:!0}))):r.createElement("nav",{"aria-label":"breadcrumb"},r.createElement("ol",{className:"breadcrumb m-0 p-0"},t.map((function(e,t){return r.createElement(u,{key:t,breadcrumb:e})}))))},d=r.memo((function(e){var t=e.numItems,n=void 0===t?3:t;return(0,o.a)(i.r.XS)?r.createElement("div",{className:"partial-loading-background",style:{height:"1.3125rem",width:"6rem"}}):r.createElement("nav",{"aria-label":"breadcrumb"},r.createElement("ol",{className:"breadcrumb m-0 p-0"},c.u.getPartialLoadingItems({numItems:n}).map((function(e,t){var n=e.width;return r.createElement("li",{key:t,className:"breadcrumb-item"},r.createElement("span",{className:"d-inline-block partial-loading-background",style:{width:n},dangerouslySetInnerHTML:{__html:"&nbsp"}}))}))))}))},38502:(e,t,n)=>{n.d(t,{r:()=>u});var r=n(1024),a=n.n(r),i=n(49985),o=n(36848),c=n(76246),l=n(11607),s=n(87432);function u(e){var t;return a().createElement("nav",{className:null!==(t=e.className)&&void 0!==t?t:""},a().createElement("ul",{className:"list-unstyled d-inline-block m-0 ".concat(s.Z.pillTabSelector)},e.tabs.map((function(e){return a().createElement("li",{className:"p-0 ".concat(e.active?"btn btn-dark":"btn btn-outline-dark"),key:e.name},e.appLink?a().createElement(o.F,{appLink:e.appLink,analyticsData:e.analyticsData,analyticsOptions:e.analyticsOptions,className:"cursor-pointer d-flex justify-content-center text-decoration-none text-reset px-2 ".concat(s.Z.pillItem)},e.name,"number"==typeof e.count&&a().createElement("div",{className:"pl-2"},a().createElement(c.C,{type:c.g.Count,data:e.count}))):a().createElement(l.L,{className:"".concat(s.Z.pillItem," d-flex justify-content-center p-2"),onClick:function(){return function(e){!e.active&&e.onSelect&&(e.onSelect(),e.analyticsData&&e.analyticsOptions&&i.k.logUserAction(e.analyticsData,e.analyticsOptions))}(e)}},e.name,"number"==typeof e.count&&a().createElement("div",{className:"pl-2"},a().createElement(c.C,{type:c.g.Count,data:e.count}))))}))))}},99705:(e,t,n)=>{var r,a;n.d(t,{b:()=>a}),function(e){e.AddToPlaylist="115005679748",e.EditSsoAccounts="8202508040345",e.LibraryEditor="360001974533",e.VideoAccess="360000153947",e.AddFromOnline="360011718234",e.UploadToLibraryEditor="360012069334",e.PBTErrorCodes="360012421153",e.ManuelReview="360020004534",e.LibraryReview="360000163788"}(r||(r={})),function(e){e.Integrations="4407268725529",e.Classrooms="4405362551833",e.MakeInteractive="4405370510873",e.EditSsoAccounts="8202605666073",e.UploadToLibraryEditor="10672936659865",e.AddFromLite="10671345281561",e.ManageSsoYearGroups="12522160412313",e.ContentReview="18525199576601",e.ContentPermissions="14692125209497",e.AccessSettings="22110291468057"}(a||(a={}))},5859:(e,t,n)=>{function r(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}n.d(t,{u:()=>i});var a={numItems:5,minWidth:50,maxWidth:100},i={getPartialLoadingItems:function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=Object.assign(Object.assign({},a),t);return(e=Array(n.numItems),function(e){if(Array.isArray(e))return r(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 r(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)?r(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()*n.maxWidth),n.minWidth),"px")}}))}}},23224:(e,t,n)=>{n.d(t,{j:()=>f});var r=n(1024),a=n.n(r),i=n(55460),o=n(23481),c=n(65858),l=n(38502),s=n(14070),u=n(97291),m="settings.restrictedVideosTabs",d=o.T.encloseNamespace(m),p={restrictedVideos:{application:u.O.SETTINGS,action:s.e.Settings.VIDEO_RESTRICTIONS},contentReview:{application:u.O.SETTINGS,action:s.e.Settings.CONTENT_REVIEW},contentReviewSettings:{application:u.O.SETTINGS,action:s.e.Settings.CONTENT_REVIEW_SETTINGS}};function f(e){return a().createElement("div",{className:"mb-3"},a().createElement(l.r,{tabs:[{name:d("restrictedVideos"),appLink:p.restrictedVideos,active:"restricted-videos"===e.active,analyticsData:{name:d("restrictedVideos"),url:i.AppLinkHelper.getHref(p.restrictedVideos)},analyticsOptions:{actionType:c.UserAction.Click,entity:c.EntityType.Url,location:c.LocationContext.MagicTabs}},{name:d("contentReview"),appLink:p.contentReview,active:"content-review"===e.active,analyticsData:{name:o.T.getPhrase(m,"contentReview"),url:i.AppLinkHelper.getHref(p.contentReview)},analyticsOptions:{actionType:c.UserAction.Click,entity:c.EntityType.Url,location:c.LocationContext.MagicTabs}},{name:d("contentReviewSettings"),appLink:p.contentReviewSettings,active:"content-review-settings"===e.active,analyticsData:{name:o.T.getPhrase(m,"contentReviewSettings"),url:i.AppLinkHelper.getHref(p.contentReviewSettings)},analyticsOptions:{actionType:c.UserAction.Click,entity:c.EntityType.Url,location:c.LocationContext.MagicTabs}}]}))}},81803:(e,t,n)=>{n.d(t,{d:()=>v});var r=n(1024),a=n.n(r),i=n(81886),o=n(23481),c=n(49935),l=n(22902),s=n(14070),u=n(97291),m=n(96368);function d(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 p="settings.settingsLayout",f=function(e){var t=(0,l.T)().hasPermissions,n=(0,m.e)();if(e)return t(e);var r=i.Q.AppLinkHelper.getCurrentAppLink();return r.application!==u.O.SETTINGS||n.some((function(e){return e.modules.some((function(e){return"appLink"in e&&e.appLink.action===r.action}))}))};function v(e){var t=f(e.requiredPermissions);if(a().useEffect((function(){t||i.Q.AppLinkHelper.trigger({application:u.O.SETTINGS,action:s.e.Settings.HOME},{replace:!0})}),[t]),!t)return a().createElement(a().Fragment,null);var n,r=e.breadcrumbs.map((function(t,n){return{name:t,appLink:{application:u.O.SETTINGS,action:s.e.Settings.HOME},active:n===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(c.Oo,{breadcrumbs:[{name:o.T.getPhrase(p,"settingsBreadcrumb"),appLink:{application:u.O.SETTINGS,action:s.e.Settings.HOME}}].concat((n=r,function(e){if(Array.isArray(e))return d(e)}(n)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(n)||function(e,t){if(e){if("string"==typeof e)return d(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)?d(e,t):void 0}}(n)||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)}},17749:(e,t,n)=>{n.d(t,{g:()=>a});var r=n(99940),a={getLibraryReviewPeriod:function(){return{url:"{gateway}/v1/library-reviews",key:"coming:soon:settings",normalize:!1}},setLibraryReviewPeriod:function(e){return{url:"{gateway}/v1/library-reviews",key:"update:coming:soon:settings",invalidationKeys:"coming:soon:settings",type:r.k.POST,data:{reviewPeriod:e},normalize:!1}},deleteLibraryReviewPeriod:function(){return{url:"{gateway}/v1/library-reviews",key:"delete:coming:soon:settings",invalidationKeys:"coming:soon:settings",type:r.k.DELETE,normalize:!1}}}},51672:(e,t,n)=>{n.r(t),n.d(t,{ContentReviewSettingsView:()=>H});var r=n(1024),a=n.n(r),i=n(50242),o=n(23481),c=n(81886),l=n(20354),s=n(16714),u=n(69883),m=n(14070),d=n(97291),p=n(23224),f=n(81803),v=n(17749),h=n(2102),y=n(83345),g="settings.contentReviewSettings",b=o.T.encloseNamespace(g),E=[{phrase:"14days",value:14},{phrase:"21days",value:21},{phrase:"30days",value:30}];function w(e){return a().createElement("div",{className:"mb-3 d-flex"},a().createElement("div",null,a().createElement("p",{className:(t="font-weight-bold mb-1",e.isSettingEnabled?t:"".concat(t," text-muted"))},a().createElement(y.x,{namespace:g,phrase:"reviewHeading"})),a().createElement("p",{className:"mb-1 text-muted"},a().createElement(y.x,{namespace:g,phrase:"reviewDescription",options:{days:e.selected}}))),a().createElement("div",{className:"flex-shrink-0 ml-2"},a().createElement("select",{id:"review-days",name:"review-days",autoComplete:"off",className:"form-control",value:e.selected||"",disabled:!e.isSettingEnabled||e.disabled,onChange:function(t){e.onChange(parseInt(t.target.value))}},E.map((function(e,t){return a().createElement("option",{value:e.value,key:t},b(e.phrase))})))));var t}var S=n(98461),L=n(83523),N=n(99705),k=n(12778),T="settings.contentReviewSettings";function x(e){var t=k.o.getLiteArticle(N.b.ContentReview);return a().createElement("div",{className:"row mb-3"},a().createElement("div",{className:"col-10"},a().createElement("p",{className:"font-weight-bold mb-1"},a().createElement(y.x,{namespace:T,phrase:"subHeading"})),a().createElement("p",{className:"mb-1 text-muted"},a().createElement(y.x,{namespace:T,phrase:"description"})),a().createElement("p",{className:"mb-0"},a().createElement(S.d,{href:t,className:"info-link"},a().createElement(y.x,{namespace:T,phrase:"learnMore"})))),a().createElement("div",{className:"col"},a().createElement(L.Z,{on:e.isEnabled,onClick:e.toggleSwitch,disabled:e.disabled,showStateWhenDisabled:!0})))}function O(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,i,o,c=[],l=!0,s=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(c.push(r.value),c.length!==t);l=!0);}catch(e){s=!0,a=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(s)throw a}}return c}}(e,t)||function(e,t){if(e){if("string"==typeof e)return A(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)?A(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.")}()}function A(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 I="settings.contentReviewSettings";function C(e){var t=O(a().useState(e.isEnabled),2),n=t[0],r=t[1],i=O(a().useState(e.reviewDays),2),o=i[0],c=i[1],l=e.reviewDays!==o||e.isEnabled!==n;return a().createElement("div",{className:"row"},a().createElement("div",{className:"col col-md-8 col-lg-6"},a().createElement(x,{disabled:e.isLoading,isEnabled:n,toggleSwitch:function(){n||o||c(14),r((function(e){return!e}))}}),a().createElement(w,{disabled:e.isLoading,selected:o,isSettingEnabled:n,onChange:function(e){return c(e)}}),a().createElement(h.m,{onClick:function(){l&&e.handleOnSave(n,o)},showSpinner:e.isLoading,className:"btn btn-dark",disabled:e.isLoading||!l},a().createElement(y.x,{namespace:I,phrase:"saveButton"}))))}const j={oneLine:"BlwYh",twoLine:"xfqid"};function R(){return a().createElement("div",{className:"row no-gutters"},a().createElement("div",{className:"col col-md-7 col-lg-5"},a().createElement("div",{className:"row mb-3"},a().createElement("div",{className:"col-10"},a().createElement("div",{className:"partial-loading-background w-50 mb-1 ".concat(j.oneLine)}),a().createElement("div",{className:"partial-loading-background w-100 mb-1 ".concat(j.twoLine)}),a().createElement("div",{className:"partial-loading-background w-100 ".concat(j.oneLine)})),a().createElement("div",{className:"col"},a().createElement("div",{className:"partial-loading-background w-100 ".concat(j.oneLine)}))),a().createElement("div",{className:"row mb-2"},a().createElement("div",{className:"col-9"},a().createElement("div",{className:"partial-loading-background w-50 mb-1 ".concat(j.oneLine)}),a().createElement("div",{className:"partial-loading-background w-100 mb-1 ".concat(j.twoLine)})),a().createElement("div",{className:"col"},a().createElement("div",{className:"partial-loading-background w-100 ".concat(j.twoLine)}))),a().createElement("div",{className:"partial-loading-background w-25 ".concat(j.twoLine)})))}function P(e){return P="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},P(e)}function _(){_=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,a=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function s(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var i=t&&t.prototype instanceof y?t:y,o=Object.create(i.prototype),c=new I(r||[]);return a(o,"_invoke",{value:T(e,n,c)}),o}function m(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var d="suspendedStart",p="suspendedYield",f="executing",v="completed",h={};function y(){}function g(){}function b(){}var E={};s(E,o,(function(){return this}));var w=Object.getPrototypeOf,S=w&&w(w(C([])));S&&S!==n&&r.call(S,o)&&(E=S);var L=b.prototype=y.prototype=Object.create(E);function N(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function k(e,t){function n(a,i,o,c){var l=m(e[a],e,i);if("throw"!==l.type){var s=l.arg,u=s.value;return u&&"object"==P(u)&&r.call(u,"__await")?t.resolve(u.__await).then((function(e){n("next",e,o,c)}),(function(e){n("throw",e,o,c)})):t.resolve(u).then((function(e){s.value=e,o(s)}),(function(e){return n("throw",e,o,c)}))}c(l.arg)}var i;a(this,"_invoke",{value:function(e,r){function a(){return new t((function(t,a){n(e,r,t,a)}))}return i=i?i.then(a,a):a()}})}function T(t,n,r){var a=d;return function(i,o){if(a===f)throw new Error("Generator is already running");if(a===v){if("throw"===i)throw o;return{value:e,done:!0}}for(r.method=i,r.arg=o;;){var c=r.delegate;if(c){var l=x(c,r);if(l){if(l===h)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(a===d)throw a=v,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);a=f;var s=m(t,n,r);if("normal"===s.type){if(a=r.done?v:p,s.arg===h)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(a=v,r.method="throw",r.arg=s.arg)}}}function x(t,n){var r=n.method,a=t.iterator[r];if(a===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,x(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),h;var i=m(a,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,h;var o=i.arg;return o?o.done?(n[t.resultName]=o.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,h):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,h)}function O(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function I(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function C(t){if(t||""===t){var n=t[o];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var a=-1,i=function n(){for(;++a<t.length;)if(r.call(t,a))return n.value=t[a],n.done=!1,n;return n.value=e,n.done=!0,n};return i.next=i}}throw new TypeError(P(t)+" is not iterable")}return g.prototype=b,a(L,"constructor",{value:b,configurable:!0}),a(b,"constructor",{value:g,configurable:!0}),g.displayName=s(b,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===g||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,s(e,l,"GeneratorFunction")),e.prototype=Object.create(L),e},t.awrap=function(e){return{__await:e}},N(k.prototype),s(k.prototype,c,(function(){return this})),t.AsyncIterator=k,t.async=function(e,n,r,a,i){void 0===i&&(i=Promise);var o=new k(u(e,n,r,a),i);return t.isGeneratorFunction(n)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},N(L),s(L,l,"Generator"),s(L,o,(function(){return this})),s(L,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=C,I.prototype={constructor:I,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(A),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function a(r,a){return c.type="throw",c.arg=t,n.next=r,a&&(n.method="next",n.arg=e),!!a}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],c=o.completion;if("root"===o.tryLoc)return a("end");if(o.tryLoc<=this.prev){var l=r.call(o,"catchLoc"),s=r.call(o,"finallyLoc");if(l&&s){if(this.prev<o.catchLoc)return a(o.catchLoc,!0);if(this.prev<o.finallyLoc)return a(o.finallyLoc)}else if(l){if(this.prev<o.catchLoc)return a(o.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return a(o.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var a=this.tryEntries[n];if(a.tryLoc<=this.prev&&r.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var i=a;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var o=i?i.completion:{};return o.type=e,o.arg=t,i?(this.method="next",this.next=i.finallyLoc,h):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),h},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),A(n),h}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;A(n)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:C(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),h}},t}function M(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=function(e,t,n,r){return new(n||(n=Promise))((function(a,i){function o(e){try{l(r.next(e))}catch(e){i(e)}}function c(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,c)}l((r=r.apply(e,t||[])).next())}))},F=o.T.encloseNamespace("settings.contentReviewSettings");function H(){var e,t,n,r=l.a.useGetFetchAsync(),o=(0,u.Z)(),h=(t=a().useState(!1),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,i,o,c=[],l=!0,s=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(c.push(r.value),c.length!==t);l=!0);}catch(e){s=!0,a=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(s)throw a}}return c}}(t,n)||function(e,t){if(e){if("string"==typeof e)return M(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)?M(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.")}()),y=h[0],g=h[1],b=l.a.useBasicFetch(v.g.getLibraryReviewPeriod()),E=!(b.hasError||b.statusCode===i.o.NotFound);return a().createElement(f.d,{heading:F("heading"),breadcrumbs:[F("heading")],requiredPermissions:s.C.ManageVideoAccess},a().createElement(p.j,{active:"content-review-settings"}),b.hasCompleted?a().createElement(C,{isLoading:y,isEnabled:E,reviewDays:null===(e=b.data)||void 0===e?void 0:e.reviewPeriod,handleOnSave:function(e,t){return G(this,void 0,void 0,_().mark((function n(){return _().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(e){n.next=3;break}return c.Q.AppLinkHelper.trigger({application:d.O.SETTINGS,action:m.e.Settings.TURN_OFF_CONTENT_REVIEW}),n.abrupt("return");case 3:return g(!0),n.prev=4,n.next=7,r(v.g.setLibraryReviewPeriod(t));case 7:o.success(F("success")),n.next=13;break;case 10:n.prev=10,n.t0=n.catch(4),o.error(F("error"));case 13:g(!1);case 14:case"end":return n.stop()}}),n,null,[[4,10]])})))}}):a().createElement(R,null))}},41063:(e,t,n)=>{n.d(t,{b:()=>o});var r=n(16714),a=n(22902),i=n(37802);function o(){var e=(0,a.T)().hasPermissions;return(0,i.r)(null).manageVideoAccess&&e(r.C.ManageVideoAccess)}},87432:(e,t,n)=>{n.d(t,{Z:()=>r});const r={pillTabSelector:"Hdi6o",pillItem:"hUJx1"}}}]);
@@ -1 +0,0 @@
1
- /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk_clickview_lite=self.webpackChunk_clickview_lite||[]).push([[8035],{89043:(e,t,n)=>{n.d(t,{p:()=>C,v:()=>S});var r=n(1024),a=n(30314),o={renderInPortalIfExists:function(e,t){return t?(0,a.createPortal)(e,t):e}},i=n(83657),l=n(23481),c=n(36848),s=n(83914),u=n(58130),d="shared.backButton";function m(e){var t=Object.assign({textShadow:!0},e),n=t.backToName,a=t.appLink,o=t.color,i=t.extraClasses,m=t.textShadow,v=n?l.T.getPhrase(d,"backTo",{backToName:n}):l.T.getPhrase(d,"back"),f="black"===o?"":"text-white",g=m?"text-shadow":"";return r.createElement(c.F,{appLink:a,className:"d-inline-flex align-items-center h5 mb-0 ".concat(i," ").concat(f," ").concat(g)},r.createElement(s.x,{svgName:u.vn.ChevronLeft,size:s.S.Medium}),r.createElement("span",{className:"ml-1"},v))}m.defaultProps={color:"black",extraClasses:""};var v=n(10587),f=n(94232),g=n(54610),h=n(79967),p=n(67453);const b={bannerContent:"sSCTB",actionsContainer:"Z5WI2",container:"M51HJ",logoContainer:"vkeJk",headingLarge:"_8pnV",heading:"JXVBH"};var y="".concat(v.y[g.__.Banners].width,":").concat(v.y[g.__.Banners].height);function E(e){return e.length<160?"h1":b.headingLarge}var C=r.memo((function(e){var t,n=e.heading,a=e.banner,l=e.imageCdnUrl,c=e.actions,s=e.sortComponent,u=e.blockColourClass,d=r.useContext(f.n),v=(0,h.k)().xxl?1920:1200,C=e.imageOptions||{width:v,ratio:y,resizeType:g.Nq.Cover},S=!!a&&!!l&&p.j.createBannerUrl(a,{fallbackBaseUrl:l,fallbackCategoryName:n,type:g.__.Banners},C),x={className:"banner banner-header",style:S?{backgroundImage:"url('".concat(S,"')")}:{}};!a&&u&&(delete x.style,x.className+=" ".concat(u));var w=e.detailsComponent;return o.renderInPortalIfExists(r.createElement("header",Object.assign({},x),r.createElement("div",{className:"container ".concat(b.container," position-relative inner-banner")},e.backButtonAppLink&&r.createElement("div",{className:"pt-3"},r.createElement(m,{appLink:e.backButtonAppLink,backToName:e.backButtonText,extraClasses:e.backButtonClasses,color:"white"})),r.createElement("div",{className:b.bannerContent},r.createElement("h1",{className:"text-white text-shadow ".concat(b.heading," ").concat(E(n))},n,w&&r.createElement(w,null)),!!c&&r.createElement("div",{className:b.actionsContainer},r.createElement(i.e,{actions:c,sortComponent:s,actionsDropdownClassName:e.actionsDropdownClassName}))),!!(null===(t=e.logo)||void 0===t?void 0:t.url)&&r.createElement("div",{className:b.logoContainer},r.createElement("img",{src:p.j.createUrl(e.logo.url,{size:g.h2.Small}),className:"rounded-circle"})))),null==d?void 0:d.container)}),(function(e,t){var n,r;return e.actions===t.actions&&e.heading===t.heading&&(null===(n=e.logo)||void 0===n?void 0:n.url)===(null===(r=t.logo)||void 0===r?void 0:r.url)}));function S(){var e=r.useContext(f.n);return o.renderInPortalIfExists(r.createElement("div",{className:"partial-banner partial-loading-background ".concat(b.banner)}),null==e?void 0:e.container)}},71020:(e,t,n)=>{n.d(t,{_:()=>u});var r=n(1024),a=n(99910),o=n(64038),i=n(83914),l=n(58130);const c={container:"VwD1b",spinner:"eJ85e"};function s(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}function u(e){var t,n,u=(t=o.useInView(),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,o,i,l=[],c=!0,s=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(e){s=!0,a=e}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw a}}return l}}(t,n)||function(e,t){if(e){if("string"==typeof e)return s(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)?s(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.")}()),d=u[0],m=u[1];return r.useEffect((function(){var t;e.fetchOnScroll&&m&&!e.isFetching&&(null===(t=e.fetchNext)||void 0===t||t.call(e,e.nextCursor))}),[m,e.isFetching]),r.createElement("div",{className:"p-3 text-center ".concat(c.container),ref:d},e.isFetching?r.createElement(a.Spinner,{as:"span",animation:"border",role:"status",className:c.spinner}):r.createElement(i.x,{svgName:l.vn.ChevronDown,className:"svg-container cursor-pointer",size:i.S.Large,onClick:function(){var t;return null===(t=e.fetchNext)||void 0===t?void 0:t.call(e,e.nextCursor)}}))}u.defaultProps={fetchOnScroll:!1}},74696:(e,t,n)=>{n.d(t,{S:()=>s});var r=n(1024),a=n.n(r),o=n(99910),i=n(9977),l=n(79967);const c={partialName:"SicQQ",partialDescription:"dPGMq",partialThumbnail:"vZrnb",partialDragHandle:"iq73R"};function s(e){return a().createElement(a().Fragment,null,Array(e.numVideos).fill(null).map((function(t,n){return a().createElement(u,Object.assign({key:n},e))})))}function u(e){var t=(0,l.k)(),n="sm"===i.O.getSize(t,"md"),r=e.withReordering&&!t.xs;return a().createElement(o.Row,{noGutters:!0,className:"".concat(n?"":"py-2")},a().createElement(o.Col,Object.assign({},i.O.getThumbnailColumns(),{className:"flex-column align-items-flex-start ".concat(n?"pb-2 pr-2":"mb-1 px-2")}),a().createElement(o.Row,null,!!r&&a().createElement("div",{className:"d-flex align-items-center justify-content-center col-2"},a().createElement("div",{className:"partial-loading-background ".concat(c.partialDragHandle)})),a().createElement(o.Col,{xs:i.O.getThumbnailColSize(r)},a().createElement("div",{className:"partial-loading-background ".concat(n?"rounded":"rounded-lg"," ").concat(c.partialThumbnail)})))),a().createElement(o.Col,Object.assign({},i.O.getDetailsColumns(),{className:n?"pb-2":"px-2"}),a().createElement("div",{className:"partial-loading-background mb-1 ".concat(c.partialName)}),a().createElement("div",{className:"partial-loading-background ".concat(c.partialDescription)})))}s.defaultProps={numVideos:15}},94644:(e,t,n)=>{n.d(t,{r:()=>u});var r=n(50242),a=n(81886),o=n(67058),i=n(14553),l=n(49267),c=n(49075),s={notFound:o.d,forbidden:{rating:i.q,yearLevel:i.q,region:l.a,privacy:i.q},badRequest:c._};function u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(e){var o;o="number"==typeof e?e:e.status;var i=Object.assign(Object.assign({},s),t);o&&a.Q.ErrorHelper.isStatusCodeError(o)&&(o!==r.o.NotFound?o!==r.o.Forbidden?n.badRequest||a.Q.ErrorHelper.throw(new i.badRequest):n.forbidden||a.Q.ErrorHelper.throw(new i.forbidden.privacy):n.notFound||a.Q.ErrorHelper.throw(new i.notFound))}}},63936:(e,t,n)=>{n.d(t,{K:()=>s});var r=n(1024),a=n(50242),o=n(79014),i=n(8843),l=n(45719);function c(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}function s(e,t,n,s,u,d){var m,v,f=(m=(0,r.useState)(0),v=2,function(e){if(Array.isArray(e))return e}(m)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,l=[],c=!0,s=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(e){s=!0,a=e}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw a}}return l}}(m,v)||function(e,t){if(e){if("string"==typeof e)return c(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)?c(e,t):void 0}}(m,v)||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.")}()),g=f[0],h=f[1],p=t,b=(0,l.P)((function(t){if(!e)return null;var n=e(t);return n?n.key:null}),s,u);return(0,i.M)({fetchNextPage:function(){if(t&&e&&b)return h((function(e){return e+1})),p(b.nextCursor)},hasMore:!!(null==b?void 0:b.nextCursor),isFetching:null==b?void 0:b.isFetching,scrollContainer:d}),(0,r.useEffect)((function(){b&&b.shouldInitialFetch&&t&&(p(),h((function(e){return e+1})))}),[null==b?void 0:b.shouldInitialFetch,t]),(0,r.useEffect)((function(){var e,t;if((null==b?void 0:b.statusCode)&&o.q.isFunction(n)){var r=+(null===(t=null===(e=b.statusCode)||void 0===e?void 0:e.toString())||void 0===t?void 0:t.substr(0,1));r!==a.k.ClientError&&r!==a.k.ServerError||n(g,b.statusCode)}}),[null==b?void 0:b.statusCode]),{items:null==b?void 0:b.items,hasMore:!!(null==b?void 0:b.nextCursor),nextCursor:null==b?void 0:b.nextCursor,isFetching:null==b?void 0:b.isFetching,totalItems:null==b?void 0:b.totalItems}}},8843:(e,t,n)=>{n.d(t,{M:()=>i});var r=n(1024),a=n(79014),o=400;function i(e){var t=function(){if(!e.isFetching){if(e.scrollContainer){var t=e.scrollContainer;if(t.getBoundingClientRect().height+t.scrollTop<t.scrollHeight-o)return}else if(window.innerHeight+document.documentElement.scrollTop<document.documentElement.scrollHeight-o)return;e.fetchNextPage()}};(0,r.useEffect)((function(){var n=a.q.throttle(t,200),r=e.scrollContainer||window;return e.hasMore&&r.addEventListener("scroll",n),function(){return r.removeEventListener("scroll",n)}}),[e.hasMore,e.fetchNextPage,e.scrollContainer])}},87821:(e,t,n)=>{n.d(t,{p:()=>a});var r=n(33192),a={userVideoHistory:function(e,t,n,a){var o="video:history",i="{gateway}/v1/users/me/watch-history";return e&&(o+=":".concat(e),i+="?cursor=".concat(e)),{key:o,url:i,formatData:function(e){return{data:e.data.map((function(e){var t=r.utc(e.lastTimeWatched).local().format(),n=r(t).format("YYYY-MM-DD");return Object.assign(Object.assign({},e),{lastTimeWatched:t,lastDateWatched:n})})),pagination:e.pagination}},success:t,error:n,always:a}},videoHistory:function(e,t,n,r,a){var o=e.sort().map((function(e){return"videoId=".concat(e)}));return{key:"video:history:videos:".concat(o.join("&")),url:"{gateway}/v1/videos/history?".concat(o.join("&")),normalizeOptions:{namespace:t},formatData:function(e){return(null==e?void 0:e.length)?e.map((function(e){return{id:e.videoId,lastProgressPoint:e.lastProgressPoint}})):e},success:n,error:r,always:a}}}},44110:(e,t,n)=>{n.d(t,{i:()=>l});var r=n(20354),a=n(25925),o=n(89454),i=n(86698),l=function(e){var t=(0,i.y)(a.R.Subject,null,e,!!e).presentation;return r.a.useBasicFetch(!!t&&o.O.presentationAudiences(t.id))}},97816:(e,t,n)=>{n.d(t,{V:()=>f});var r=n(1024),a=n.n(r),o=n(20354),i=n(21750),l=n(63419),c=n(31949),s=n(1575),u=n(87821);function d(e){return function(e){if(Array.isArray(e))return m(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 m(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)?m(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.")}()}function m(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 v={ratings:!1,favourites:!1,watchHistory:!1,hasCurriculumLinks:!1};function f(e){var t,n,r,m=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},f=Object.assign(Object.assign({},v),m),g=f.ratings,h=f.favourites,p=f.watchHistory,b=f.hasCurriculumLinks,y=o.a.useBasicFetch(c.N.currentUser()),E=e&&(Array.isArray(e)?e.filter(Boolean).map((function(e){return e.id})):e.data.filter(Boolean).map((function(e){return e.id}))),C=y.data;t=a().useMemo((function(){if(!(null==C?void 0:C.isAuthenticated))return[];var e=[];return g&&(e=[].concat(d(e),[!!(null==E?void 0:E.length)&&s.R.videoRatings(E,m.flightNamespace)])),h&&(e=[].concat(d(e),[!!(null==E?void 0:E.length)&&C&&l.P.isFavourited(C.id,E,m.flightNamespace)])),p&&(e=[].concat(d(e),[!!(null==E?void 0:E.length)&&C&&u.p.videoHistory(E,m.flightNamespace)])),b&&(e=[].concat(d(e),[!!(null==E?void 0:E.length)&&i.x.hasCurriculumLinks(E,null,m.flightNamespace)])),e.filter(Boolean)}),[null==E?void 0:E.length]),n=!!e,r=o.a.useGetFetch(),a().useEffect((function(){n&&t.length&&t.forEach((function(e){r(e)}))}),[t.length])}},40928:(e,t,n)=>{n.r(t),n.d(t,{FavouritesView:()=>G});var r=n(1024),a=n.n(r),o=n(58566),i=n(23481),l=n(20354),c=n(28400),s=n(65858),u=n(89043),d=n(71020),m=n(83345),v=n(74696),f=n(4632),g=n(51365),h=n(16714),p=n(94644),b=n(39151),y=n(1666),E=n(63419),C=n(31949),S=n(69883),x=n(97037),w=n(63936),k=n(22902),N=n(79612),F=n(67753),A=n(11025),I=n(99742),O=n(14070),T=n(97291),P=n(44110),L=n(97816),j=n(23232),B=n(83914),D=n(58130),M="shared.favouritesEmptyState",H=i.T.encloseNamespace(M);function V(){return a().createElement(m.D.Provider,{value:M},a().createElement(j.u,null,a().createElement(j.u.Image,{src:I.W.EmptyStates.FAVOURITED_VIDEOS,altText:H("info")}),a().createElement(j.u.Heading,{className:"h3 d-flex align-items-center justify-content-center"},a().createElement(m.x,{phrase:"emptyStateHeading1"}),a().createElement("div",{className:"box-shadow rounded-circle p-1 bg-white mx-1"},a().createElement(B.x,{svgName:D.vn.HeartOutline,size:B.S.Small})),a().createElement(m.x,{phrase:"emptyStateHeading2"})),a().createElement(j.u.Info,null,a().createElement(m.x,{phrase:"info"})),a().createElement(j.u.Cta,{text:i.T.getPhrase(M,"cta"),appLink:{application:T.O.DASHBOARD,action:O.e.Dashboard.HOME}})))}function _(){return a().createElement(m.D.Provider,{value:M},a().createElement(j.u,null,a().createElement(j.u.Image,{src:I.W.EmptyStates.FAVOURITED_VIDEOS_PUBLIC,altText:H("publicInfo")}),a().createElement(j.u.Heading,null,a().createElement(m.x,{phrase:"publicHeading"})),a().createElement(j.u.Info,null,a().createElement(m.x,{phrase:"publicInfo"})),a().createElement(j.u.Cta,{text:i.T.getPhrase(M,"publicCta"),appLink:{application:T.O.SIGN_UP,action:O.e.SignUp.SIGN_UP},analyticsData:{},analyticsOptions:{actionType:s.UserAction.Click,location:s.LocationContext.MyFavouritesLanding,entity:s.EntityType.AppLink,workflowPhase:s.WorkflowPhase.Start,descriptor:s.SignUpDescriptors.SignUp}})))}var U=n(26323),R=n(65986),q="shared.favourites",z="shared.favourites",W=function(e){return{application:T.O.SERIES,action:O.e.Series.SERIES,args:[e.id,c.m.slugify(e.name)]}};function G(){var e,t,n,a,c=(0,o.useDispatch)(),O=(0,S.Z)(),T=(0,x.c)(s.LocationContext.VideoThumbnail),j=T.setFavourite,B=T.canFavourite,D=function(){var e=(0,R._)(R.i.VideoItem),t=(0,x.c)(s.LocationContext.VideoThumbnail).setFavourite;return function(n){return A.M.getCanBeConsumed(n).canConsume?e(n):[{label:i.T.getPhrase(q,"removeFromFavourites"),button:!1,className:"btn btn-link text-danger",onClick:function(){return t(n,!1)}}]}}();(0,N.M)({title:i.T.getPhrase(z,"pageTitle")});var M=(0,k.T)().hasLocalPermissions,H=l.a.useBasicFetch(C.N.currentUser()),G=l.a.useBasicFetch((null===(e=H.data)||void 0===e?void 0:e.isAuthenticated)&&y.h.yearGroups(H.data.customerId)),Q=l.a.useBasicFetch(b.L.config()),Y=function(e){return E.P.getFavourites(H.data.id,e)},J=function(e){return l.a.getFetch(c)(Y(e))},$=!M(h.E.ViewMyFavouritesLanding)&&H.hasCompleted,Z=(0,w.K)(!!$&&Y,J,(function(e,t){if(1===e)return(0,p.r)(t);O.error(i.T.getPhrase(z,"error"))})),K=Z.items,X=Z.hasMore,ee=Z.isFetching;(0,L.V)(null!==(t=null==K?void 0:K.filter(A.M.isVideo))&&void 0!==t?t:[],{hasCurriculumLinks:!0});var te=(0,P.i)(),ne=(0,U.B)(null===(n=H.data)||void 0===n?void 0:n.id),re=ne.count;return ne.isLoading?r.createElement(r.Fragment,null):M(h.E.ViewMyFavouritesLanding)?r.createElement(_,null):r.createElement(g.M.Provider,{value:D},r.createElement("div",{className:"p-3"},r.createElement(u.p,{heading:i.T.getPhrase(z,"header"),banner:{url:I.W.FAVOURITES_PLAYLIST.FAV_PLAYLIST_BANNER},imageCdnUrl:null===(a=Q.data)||void 0===a?void 0:a.imageCdnUrl,detailsComponent:function(){return r.createElement("div",{className:"mb-n1 font-size-normal font-weight-normal mt-1"},r.createElement(m.x,{namespace:z,phrase:"videos",options:{smartCount:re}}))}}),K?K.length?r.createElement(r.Fragment,null,r.createElement(f.E4,{videos:K,yearGroups:G.data,getVideoAppLink:F.W.getAppLink,getSeriesAppLink:W,setFavourite:j,canFavourite:B,presentationAudiences:te.data}),(X||ee)&&r.createElement(d._,{isFetching:ee,fetchNext:J})):r.createElement(V,null):r.createElement(v.S,null)))}},26323:(e,t,n)=>{n.d(t,{B:()=>l});var r=n(20354),a=n(63419);function o(e){return function(e){if(Array.isArray(e))return i(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 i(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)?i(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.")}()}function i(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}function l(e){var t,n,i,l,c,s,u,d,m,v=r.a.useBasicFetch(e&&a.P.getFavouritesVideosCount(e)),f=r.a.useBasicFetch(e&&a.P.getFavouritesClipsCount(e)),g=r.a.useBasicFetch(e&&a.P.getFavouritesInteractivesCount(e));return{count:(null===(t=v.data)||void 0===t?void 0:t.count)+(null===(n=g.data)||void 0===n?void 0:n.count)+(null===(i=f.data)||void 0===i?void 0:i.count),favourites:[].concat(o((null===(l=v.data)||void 0===l?void 0:l.data)||[]),o((null===(c=f.data)||void 0===c?void 0:c.data)||[]),o((null===(s=g.data)||void 0===s?void 0:s.data)||[])),isLoading:!(null===(u=v.data)||void 0===u?void 0:u.data)||!(null===(d=f.data)||void 0===d?void 0:d.data)||!(null===(m=g.data)||void 0===m?void 0:m.data)}}}}]);
@@ -1 +0,0 @@
1
- (self.webpackChunk_clickview_lite=self.webpackChunk_clickview_lite||[]).push([[8176],{46922:(e,n,t)=>{"use strict";var a=function(e){if(e&&e.__esModule)return e;var n={};if(null!=e)for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(n[t]=e[t]);return n.default=e,n}(t(21994)),o=a.tokenize,r=a.options.Options;function i(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function s(e){return e.replace(/"/g,"&quot;")}function c(e){if(!e)return"";var n=[];for(var t in e){var a=e[t]+"";n.push(t+'="'+s(a)+'"')}return n.join(" ")}function l(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};n=new r(n);for(var t=o(e),a=[],l=0;l<t.length;l++){var u=t[l];if("nl"===u.type&&n.nl2br)a.push("<br>\n");else if(u.isLink&&n.check(u)){var h=n.resolve(u),p=h.formatted,g=h.formattedHref,f=h.tagName,b=h.className,m=h.target,d=h.attributes,x="<"+f+' href="'+s(g)+'"';b&&(x+=' class="'+s(b)+'"'),m&&(x+=' target="'+s(m)+'"'),d&&(x+=" "+c(d)),x+=">"+i(p)+"</"+f+">",a.push(x)}else a.push(i(u.toString()))}return a.join("")}if(!String.prototype.linkify)try{Object.defineProperty(String.prototype,"linkify",{set:function(){},get:function(){return function(e){return l(this,e)}}})}catch(e){String.prototype.linkify||(String.prototype.linkify=function(e){return l(this,e)})}n.default=l},21994:(e,n,t)=>{"use strict";n.__esModule=!0,n.tokenize=n.test=n.scanner=n.parser=n.options=n.inherits=n.find=void 0;var a=t(22460),o=s(t(17359)),r=s(t(67304)),i=s(t(32752));function s(e){if(e&&e.__esModule)return e;var n={};if(null!=e)for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(n[t]=e[t]);return n.default=e,n}Array.isArray||(Array.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)});var c=function(e){return i.run(r.run(e))};n.find=function(e){for(var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,t=c(e),a=[],o=0;o<t.length;o++){var r=t[o];!r.isLink||n&&r.type!==n||a.push(r.toObject())}return a},n.inherits=a.inherits,n.options=o,n.parser=i,n.scanner=r,n.test=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,t=c(e);return 1===t.length&&t[0].isLink&&(!n||t[0].type===n)},n.tokenize=c},32752:(e,n,t)=>{"use strict";n.__esModule=!0,n.start=n.run=n.TOKENS=n.State=void 0;var a=t(97801),o=t(8270),r=function(e){if(e&&e.__esModule)return e;var n={};if(null!=e)for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(n[t]=e[t]);return n.default=e,n}(o),i=t(69578),s=function(e){return new a.TokenState(e)},c=s(),l=s(),u=s(),h=s(),p=s(),g=s(),f=s(),b=s(o.URL),m=s(),d=s(o.URL),x=s(o.URL),y=s(),v=s(),k=s(),O=s(),E=s(),A=s(o.URL),w=s(o.URL),L=s(o.URL),N=s(o.URL),T=s(),S=s(),C=s(),R=s(),j=s(),P=s(),M=s(o.EMAIL),D=s(),z=s(o.EMAIL),U=s(o.MAILTOEMAIL),q=s(),B=s(),I=s(),H=s(),_=s(o.NL);c.on(i.NL,_).on(i.PROTOCOL,l).on(i.MAILTO,u).on(i.SLASH,h),l.on(i.SLASH,h),h.on(i.SLASH,p),c.on(i.TLD,g).on(i.DOMAIN,g).on(i.LOCALHOST,b).on(i.NUM,g),p.on(i.TLD,x).on(i.DOMAIN,x).on(i.NUM,x).on(i.LOCALHOST,x),g.on(i.DOT,f),j.on(i.DOT,P),f.on(i.TLD,b).on(i.DOMAIN,g).on(i.NUM,g).on(i.LOCALHOST,g),P.on(i.TLD,M).on(i.DOMAIN,j).on(i.NUM,j).on(i.LOCALHOST,j),b.on(i.DOT,f),M.on(i.DOT,P),b.on(i.COLON,m).on(i.SLASH,x),m.on(i.NUM,d),d.on(i.SLASH,x),M.on(i.COLON,D),D.on(i.NUM,z);var K=[i.DOMAIN,i.AT,i.LOCALHOST,i.NUM,i.PLUS,i.POUND,i.PROTOCOL,i.SLASH,i.TLD,i.UNDERSCORE,i.SYM,i.AMPERSAND],G=[i.COLON,i.DOT,i.QUERY,i.PUNCTUATION,i.CLOSEBRACE,i.CLOSEBRACKET,i.CLOSEANGLEBRACKET,i.CLOSEPAREN,i.OPENBRACE,i.OPENBRACKET,i.OPENANGLEBRACKET,i.OPENPAREN];x.on(i.OPENBRACE,v).on(i.OPENBRACKET,k).on(i.OPENANGLEBRACKET,O).on(i.OPENPAREN,E),y.on(i.OPENBRACE,v).on(i.OPENBRACKET,k).on(i.OPENANGLEBRACKET,O).on(i.OPENPAREN,E),v.on(i.CLOSEBRACE,x),k.on(i.CLOSEBRACKET,x),O.on(i.CLOSEANGLEBRACKET,x),E.on(i.CLOSEPAREN,x),A.on(i.CLOSEBRACE,x),w.on(i.CLOSEBRACKET,x),L.on(i.CLOSEANGLEBRACKET,x),N.on(i.CLOSEPAREN,x),T.on(i.CLOSEBRACE,x),S.on(i.CLOSEBRACKET,x),C.on(i.CLOSEANGLEBRACKET,x),R.on(i.CLOSEPAREN,x),v.on(K,A),k.on(K,w),O.on(K,L),E.on(K,N),v.on(G,T),k.on(G,S),O.on(G,C),E.on(G,R),A.on(K,A),w.on(K,w),L.on(K,L),N.on(K,N),A.on(G,A),w.on(G,w),L.on(G,L),N.on(G,N),T.on(K,A),S.on(K,w),C.on(K,L),R.on(K,N),T.on(G,T),S.on(G,S),C.on(G,C),R.on(G,R),x.on(K,x),y.on(K,x),x.on(G,y),y.on(G,y),u.on(i.TLD,U).on(i.DOMAIN,U).on(i.NUM,U).on(i.LOCALHOST,U),U.on(K,U).on(G,q),q.on(K,U).on(G,q);var Y=[i.DOMAIN,i.NUM,i.PLUS,i.POUND,i.QUERY,i.UNDERSCORE,i.SYM,i.AMPERSAND,i.TLD];g.on(Y,B).on(i.AT,I),b.on(Y,B).on(i.AT,I),f.on(Y,B),B.on(Y,B).on(i.AT,I).on(i.DOT,H),H.on(Y,B),I.on(i.TLD,j).on(i.DOMAIN,j).on(i.LOCALHOST,M),n.State=a.TokenState,n.TOKENS=r,n.run=function(e){for(var n=e.length,t=0,a=[],r=[];t<n;){for(var i=c,s=null,l=null,u=0,h=null,p=-1;t<n&&!(s=i.next(e[t]));)r.push(e[t++]);for(;t<n&&(l=s||i.next(e[t]));)s=null,(i=l).accepts()?(p=0,h=i):p>=0&&p++,t++,u++;if(p<0)for(var g=t-u;g<t;g++)r.push(e[g]);else{r.length>0&&(a.push(new o.TEXT(r)),r=[]),t-=p,u-=p;var f=h.emit();a.push(new f(e.slice(t-u,t)))}}return r.length>0&&a.push(new o.TEXT(r)),a},n.start=c},67304:(e,n,t)=>{"use strict";n.__esModule=!0,n.start=n.run=n.TOKENS=n.State=void 0;var a=t(97801),o=t(69578),r=function(e){if(e&&e.__esModule)return e;var n={};if(null!=e)for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(n[t]=e[t]);return n.default=e,n}(o),i="aaa|aarp|abarth|abb|abbott|abbvie|abc|able|abogado|abudhabi|ac|academy|accenture|accountant|accountants|aco|active|actor|ad|adac|ads|adult|ae|aeg|aero|aetna|af|afamilycompany|afl|africa|ag|agakhan|agency|ai|aig|aigo|airbus|airforce|airtel|akdn|al|alfaromeo|alibaba|alipay|allfinanz|allstate|ally|alsace|alstom|am|americanexpress|americanfamily|amex|amfam|amica|amsterdam|analytics|android|anquan|anz|ao|aol|apartments|app|apple|aq|aquarelle|ar|arab|aramco|archi|army|arpa|art|arte|as|asda|asia|associates|at|athleta|attorney|au|auction|audi|audible|audio|auspost|author|auto|autos|avianca|aw|aws|ax|axa|az|azure|ba|baby|baidu|banamex|bananarepublic|band|bank|bar|barcelona|barclaycard|barclays|barefoot|bargains|baseball|basketball|bauhaus|bayern|bb|bbc|bbt|bbva|bcg|bcn|bd|be|beats|beauty|beer|bentley|berlin|best|bestbuy|bet|bf|bg|bh|bharti|bi|bible|bid|bike|bing|bingo|bio|biz|bj|black|blackfriday|blanco|blockbuster|blog|bloomberg|blue|bm|bms|bmw|bn|bnl|bnpparibas|bo|boats|boehringer|bofa|bom|bond|boo|book|booking|boots|bosch|bostik|boston|bot|boutique|box|br|bradesco|bridgestone|broadway|broker|brother|brussels|bs|bt|budapest|bugatti|build|builders|business|buy|buzz|bv|bw|by|bz|bzh|ca|cab|cafe|cal|call|calvinklein|cam|camera|camp|cancerresearch|canon|capetown|capital|capitalone|car|caravan|cards|care|career|careers|cars|cartier|casa|case|caseih|cash|casino|cat|catering|catholic|cba|cbn|cbre|cbs|cc|cd|ceb|center|ceo|cern|cf|cfa|cfd|cg|ch|chanel|channel|chase|chat|cheap|chintai|chloe|christmas|chrome|chrysler|church|ci|cipriani|circle|cisco|citadel|citi|citic|city|cityeats|ck|cl|claims|cleaning|click|clinic|clinique|clothing|cloud|club|clubmed|cm|cn|co|coach|codes|coffee|college|cologne|com|comcast|commbank|community|company|compare|computer|comsec|condos|construction|consulting|contact|contractors|cooking|cookingchannel|cool|coop|corsica|country|coupon|coupons|courses|cr|credit|creditcard|creditunion|cricket|crown|crs|cruise|cruises|csc|cu|cuisinella|cv|cw|cx|cy|cymru|cyou|cz|dabur|dad|dance|data|date|dating|datsun|day|dclk|dds|de|deal|dealer|deals|degree|delivery|dell|deloitte|delta|democrat|dental|dentist|desi|design|dev|dhl|diamonds|diet|digital|direct|directory|discount|discover|dish|diy|dj|dk|dm|dnp|do|docs|doctor|dodge|dog|doha|domains|dot|download|drive|dtv|dubai|duck|dunlop|duns|dupont|durban|dvag|dvr|dz|earth|eat|ec|eco|edeka|edu|education|ee|eg|email|emerck|energy|engineer|engineering|enterprises|epost|epson|equipment|er|ericsson|erni|es|esq|estate|esurance|et|etisalat|eu|eurovision|eus|events|everbank|exchange|expert|exposed|express|extraspace|fage|fail|fairwinds|faith|family|fan|fans|farm|farmers|fashion|fast|fedex|feedback|ferrari|ferrero|fi|fiat|fidelity|fido|film|final|finance|financial|fire|firestone|firmdale|fish|fishing|fit|fitness|fj|fk|flickr|flights|flir|florist|flowers|fly|fm|fo|foo|food|foodnetwork|football|ford|forex|forsale|forum|foundation|fox|fr|free|fresenius|frl|frogans|frontdoor|frontier|ftr|fujitsu|fujixerox|fun|fund|furniture|futbol|fyi|ga|gal|gallery|gallo|gallup|game|games|gap|garden|gb|gbiz|gd|gdn|ge|gea|gent|genting|george|gf|gg|ggee|gh|gi|gift|gifts|gives|giving|gl|glade|glass|gle|global|globo|gm|gmail|gmbh|gmo|gmx|gn|godaddy|gold|goldpoint|golf|goo|goodhands|goodyear|goog|google|gop|got|gov|gp|gq|gr|grainger|graphics|gratis|green|gripe|grocery|group|gs|gt|gu|guardian|gucci|guge|guide|guitars|guru|gw|gy|hair|hamburg|hangout|haus|hbo|hdfc|hdfcbank|health|healthcare|help|helsinki|here|hermes|hgtv|hiphop|hisamitsu|hitachi|hiv|hk|hkt|hm|hn|hockey|holdings|holiday|homedepot|homegoods|homes|homesense|honda|honeywell|horse|hospital|host|hosting|hot|hoteles|hotels|hotmail|house|how|hr|hsbc|ht|htc|hu|hughes|hyatt|hyundai|ibm|icbc|ice|icu|id|ie|ieee|ifm|ikano|il|im|imamat|imdb|immo|immobilien|in|industries|infiniti|info|ing|ink|institute|insurance|insure|int|intel|international|intuit|investments|io|ipiranga|iq|ir|irish|is|iselect|ismaili|ist|istanbul|it|itau|itv|iveco|iwc|jaguar|java|jcb|jcp|je|jeep|jetzt|jewelry|jio|jlc|jll|jm|jmp|jnj|jo|jobs|joburg|jot|joy|jp|jpmorgan|jprs|juegos|juniper|kaufen|kddi|ke|kerryhotels|kerrylogistics|kerryproperties|kfh|kg|kh|ki|kia|kim|kinder|kindle|kitchen|kiwi|km|kn|koeln|komatsu|kosher|kp|kpmg|kpn|kr|krd|kred|kuokgroup|kw|ky|kyoto|kz|la|lacaixa|ladbrokes|lamborghini|lamer|lancaster|lancia|lancome|land|landrover|lanxess|lasalle|lat|latino|latrobe|law|lawyer|lb|lc|lds|lease|leclerc|lefrak|legal|lego|lexus|lgbt|li|liaison|lidl|life|lifeinsurance|lifestyle|lighting|like|lilly|limited|limo|lincoln|linde|link|lipsy|live|living|lixil|lk|loan|loans|locker|locus|loft|lol|london|lotte|lotto|love|lpl|lplfinancial|lr|ls|lt|ltd|ltda|lu|lundbeck|lupin|luxe|luxury|lv|ly|ma|macys|madrid|maif|maison|makeup|man|management|mango|map|market|marketing|markets|marriott|marshalls|maserati|mattel|mba|mc|mckinsey|md|me|med|media|meet|melbourne|meme|memorial|men|menu|meo|merckmsd|metlife|mg|mh|miami|microsoft|mil|mini|mint|mit|mitsubishi|mk|ml|mlb|mls|mm|mma|mn|mo|mobi|mobile|mobily|moda|moe|moi|mom|monash|money|monster|mopar|mormon|mortgage|moscow|moto|motorcycles|mov|movie|movistar|mp|mq|mr|ms|msd|mt|mtn|mtr|mu|museum|mutual|mv|mw|mx|my|mz|na|nab|nadex|nagoya|name|nationwide|natura|navy|nba|nc|ne|nec|net|netbank|netflix|network|neustar|new|newholland|news|next|nextdirect|nexus|nf|nfl|ng|ngo|nhk|ni|nico|nike|nikon|ninja|nissan|nissay|nl|no|nokia|northwesternmutual|norton|now|nowruz|nowtv|np|nr|nra|nrw|ntt|nu|nyc|nz|obi|observer|off|office|okinawa|olayan|olayangroup|oldnavy|ollo|om|omega|one|ong|onl|online|onyourside|ooo|open|oracle|orange|org|organic|origins|osaka|otsuka|ott|ovh|pa|page|panasonic|panerai|paris|pars|partners|parts|party|passagens|pay|pccw|pe|pet|pf|pfizer|pg|ph|pharmacy|phd|philips|phone|photo|photography|photos|physio|piaget|pics|pictet|pictures|pid|pin|ping|pink|pioneer|pizza|pk|pl|place|play|playstation|plumbing|plus|pm|pn|pnc|pohl|poker|politie|porn|post|pr|pramerica|praxi|press|prime|pro|prod|productions|prof|progressive|promo|properties|property|protection|pru|prudential|ps|pt|pub|pw|pwc|py|qa|qpon|quebec|quest|qvc|racing|radio|raid|re|read|realestate|realtor|realty|recipes|red|redstone|redumbrella|rehab|reise|reisen|reit|reliance|ren|rent|rentals|repair|report|republican|rest|restaurant|review|reviews|rexroth|rich|richardli|ricoh|rightathome|ril|rio|rip|rmit|ro|rocher|rocks|rodeo|rogers|room|rs|rsvp|ru|rugby|ruhr|run|rw|rwe|ryukyu|sa|saarland|safe|safety|sakura|sale|salon|samsclub|samsung|sandvik|sandvikcoromant|sanofi|sap|sapo|sarl|sas|save|saxo|sb|sbi|sbs|sc|sca|scb|schaeffler|schmidt|scholarships|school|schule|schwarz|science|scjohnson|scor|scot|sd|se|search|seat|secure|security|seek|select|sener|services|ses|seven|sew|sex|sexy|sfr|sg|sh|shangrila|sharp|shaw|shell|shia|shiksha|shoes|shop|shopping|shouji|show|showtime|shriram|si|silk|sina|singles|site|sj|sk|ski|skin|sky|skype|sl|sling|sm|smart|smile|sn|sncf|so|soccer|social|softbank|software|sohu|solar|solutions|song|sony|soy|space|spiegel|spot|spreadbetting|sr|srl|srt|st|stada|staples|star|starhub|statebank|statefarm|statoil|stc|stcgroup|stockholm|storage|store|stream|studio|study|style|su|sucks|supplies|supply|support|surf|surgery|suzuki|sv|swatch|swiftcover|swiss|sx|sy|sydney|symantec|systems|sz|tab|taipei|talk|taobao|target|tatamotors|tatar|tattoo|tax|taxi|tc|tci|td|tdk|team|tech|technology|tel|telecity|telefonica|temasek|tennis|teva|tf|tg|th|thd|theater|theatre|tiaa|tickets|tienda|tiffany|tips|tires|tirol|tj|tjmaxx|tjx|tk|tkmaxx|tl|tm|tmall|tn|to|today|tokyo|tools|top|toray|toshiba|total|tours|town|toyota|toys|tr|trade|trading|training|travel|travelchannel|travelers|travelersinsurance|trust|trv|tt|tube|tui|tunes|tushu|tv|tvs|tw|tz|ua|ubank|ubs|uconnect|ug|uk|unicom|university|uno|uol|ups|us|uy|uz|va|vacations|vana|vanguard|vc|ve|vegas|ventures|verisign|versicherung|vet|vg|vi|viajes|video|vig|viking|villas|vin|vip|virgin|visa|vision|vista|vistaprint|viva|vivo|vlaanderen|vn|vodka|volkswagen|volvo|vote|voting|voto|voyage|vu|vuelos|wales|walmart|walter|wang|wanggou|warman|watch|watches|weather|weatherchannel|webcam|weber|website|wed|wedding|weibo|weir|wf|whoswho|wien|wiki|williamhill|win|windows|wine|winners|wme|wolterskluwer|woodside|work|works|world|wow|ws|wtc|wtf|xbox|xerox|xfinity|xihuan|xin|xn--11b4c3d|xn--1ck2e1b|xn--1qqw23a|xn--2scrj9c|xn--30rr7y|xn--3bst00m|xn--3ds443g|xn--3e0b707e|xn--3hcrj9c|xn--3oq18vl8pn36a|xn--3pxu8k|xn--42c2d9a|xn--45br5cyl|xn--45brj9c|xn--45q11c|xn--4gbrim|xn--54b7fta0cc|xn--55qw42g|xn--55qx5d|xn--5su34j936bgsg|xn--5tzm5g|xn--6frz82g|xn--6qq986b3xl|xn--80adxhks|xn--80ao21a|xn--80aqecdr1a|xn--80asehdb|xn--80aswg|xn--8y0a063a|xn--90a3ac|xn--90ae|xn--90ais|xn--9dbq2a|xn--9et52u|xn--9krt00a|xn--b4w605ferd|xn--bck1b9a5dre4c|xn--c1avg|xn--c2br7g|xn--cck2b3b|xn--cg4bki|xn--clchc0ea0b2g2a9gcd|xn--czr694b|xn--czrs0t|xn--czru2d|xn--d1acj3b|xn--d1alf|xn--e1a4c|xn--eckvdtc9d|xn--efvy88h|xn--estv75g|xn--fct429k|xn--fhbei|xn--fiq228c5hs|xn--fiq64b|xn--fiqs8s|xn--fiqz9s|xn--fjq720a|xn--flw351e|xn--fpcrj9c3d|xn--fzc2c9e2c|xn--fzys8d69uvgm|xn--g2xx48c|xn--gckr3f0f|xn--gecrj9c|xn--gk3at1e|xn--h2breg3eve|xn--h2brj9c|xn--h2brj9c8c|xn--hxt814e|xn--i1b6b1a6a2e|xn--imr513n|xn--io0a7i|xn--j1aef|xn--j1amh|xn--j6w193g|xn--jlq61u9w7b|xn--jvr189m|xn--kcrx77d1x4a|xn--kprw13d|xn--kpry57d|xn--kpu716f|xn--kput3i|xn--l1acc|xn--lgbbat1ad8j|xn--mgb9awbf|xn--mgba3a3ejt|xn--mgba3a4f16a|xn--mgba7c0bbn0a|xn--mgbaakc7dvf|xn--mgbaam7a8h|xn--mgbab2bd|xn--mgbai9azgqp6j|xn--mgbayh7gpa|xn--mgbb9fbpob|xn--mgbbh1a|xn--mgbbh1a71e|xn--mgbc0a9azcg|xn--mgbca7dzdo|xn--mgberp4a5d4ar|xn--mgbgu82a|xn--mgbi4ecexp|xn--mgbpl2fh|xn--mgbt3dhd|xn--mgbtx2b|xn--mgbx4cd0ab|xn--mix891f|xn--mk1bu44c|xn--mxtq1m|xn--ngbc5azd|xn--ngbe9e0a|xn--ngbrx|xn--node|xn--nqv7f|xn--nqv7fs00ema|xn--nyqy26a|xn--o3cw4h|xn--ogbpf8fl|xn--p1acf|xn--p1ai|xn--pbt977c|xn--pgbs0dh|xn--pssy2u|xn--q9jyb4c|xn--qcka1pmc|xn--qxam|xn--rhqv96g|xn--rovu88b|xn--rvc1e0am3e|xn--s9brj9c|xn--ses554g|xn--t60b56a|xn--tckwe|xn--tiq49xqyj|xn--unup4y|xn--vermgensberater-ctb|xn--vermgensberatung-pwb|xn--vhquv|xn--vuq861b|xn--w4r85el8fhu5dnra|xn--w4rs40l|xn--wgbh1c|xn--wgbl6a|xn--xhq521b|xn--xkc2al3hye2a|xn--xkc2dl3a5ee0h|xn--y9a3aq|xn--yfro4i67o|xn--ygbi2ammx|xn--zfr164b|xperia|xxx|xyz|yachts|yahoo|yamaxun|yandex|ye|yodobashi|yoga|yokohama|you|youtube|yt|yun|za|zappos|zara|zero|zip|zippo|zm|zone|zuerich|zw".split("|"),s="0123456789".split(""),c="0123456789abcdefghijklmnopqrstuvwxyz".split(""),l=[" ","\f","\r","\t","\v"," "," ","᠎"],u=[],h=function(e){return new a.CharacterState(e)},p=h(),g=h(o.NUM),f=h(o.DOMAIN),b=h(),m=h(o.WS);p.on("@",h(o.AT)).on(".",h(o.DOT)).on("+",h(o.PLUS)).on("#",h(o.POUND)).on("?",h(o.QUERY)).on("/",h(o.SLASH)).on("_",h(o.UNDERSCORE)).on(":",h(o.COLON)).on("{",h(o.OPENBRACE)).on("[",h(o.OPENBRACKET)).on("<",h(o.OPENANGLEBRACKET)).on("(",h(o.OPENPAREN)).on("}",h(o.CLOSEBRACE)).on("]",h(o.CLOSEBRACKET)).on(">",h(o.CLOSEANGLEBRACKET)).on(")",h(o.CLOSEPAREN)).on("&",h(o.AMPERSAND)).on([",",";","!",'"',"'"],h(o.PUNCTUATION)),p.on("\n",h(o.NL)).on(l,m),m.on(l,m);for(var d=0;d<i.length;d++){var x=(0,a.stateify)(i[d],p,o.TLD,o.DOMAIN);u.push.apply(u,x)}var y=(0,a.stateify)("file",p,o.DOMAIN,o.DOMAIN),v=(0,a.stateify)("ftp",p,o.DOMAIN,o.DOMAIN),k=(0,a.stateify)("http",p,o.DOMAIN,o.DOMAIN),O=(0,a.stateify)("mailto",p,o.DOMAIN,o.DOMAIN);u.push.apply(u,y),u.push.apply(u,v),u.push.apply(u,k),u.push.apply(u,O);var E=y.pop(),A=v.pop(),w=k.pop(),L=O.pop(),N=h(o.DOMAIN),T=h(o.PROTOCOL),S=h(o.MAILTO);A.on("s",N).on(":",T),w.on("s",N).on(":",T),u.push(N),E.on(":",T),N.on(":",T),L.on(":",S);var C=(0,a.stateify)("localhost",p,o.LOCALHOST,o.DOMAIN);u.push.apply(u,C),p.on(s,g),g.on("-",b).on(s,g).on(c,f),f.on("-",b).on(c,f);for(var R=0;R<u.length;R++)u[R].on("-",b).on(c,f);b.on("-",b).on(s,f).on(c,f),p.defaultTransition=h(o.SYM);var j=p;n.State=a.CharacterState,n.TOKENS=r,n.run=function(e){for(var n=e.replace(/[A-Z]/g,(function(e){return e.toLowerCase()})),t=e.length,a=[],o=0;o<t;){for(var r=p,i=null,s=0,c=null,l=-1;o<t&&(i=r.next(n[o]));)(r=i).accepts()?(l=0,c=r):l>=0&&l++,s++,o++;if(!(l<0)){o-=l,s-=l;var u=c.emit();a.push(new u(e.substr(o-s,s)))}}return a},n.start=j},97801:(e,n,t)=>{"use strict";n.__esModule=!0,n.stateify=n.TokenState=n.CharacterState=void 0;var a=t(22460),o=function(e){this.j=[],this.T=e||null};o.prototype={defaultTransition:!1,on:function(e,n){if(e instanceof Array){for(var t=0;t<e.length;t++)this.j.push([e[t],n]);return this}return this.j.push([e,n]),this},next:function(e){for(var n=0;n<this.j.length;n++){var t=this.j[n],a=t[0],o=t[1];if(this.test(e,a))return o}return this.defaultTransition},accepts:function(){return!!this.T},test:function(e,n){return e===n},emit:function(){return this.T}};var r=(0,a.inherits)(o,(function(e){this.j=[],this.T=e||null}),{test:function(e,n){return e===n||n instanceof RegExp&&n.test(e)}}),i=(0,a.inherits)(o,(function(e){this.j=[],this.T=e||null}),{jump:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,t=this.next(new e(""));return t===this.defaultTransition?(t=new this.constructor(n),this.on(e,t)):n&&(t.T=n),t},test:function(e,n){return e instanceof n}});n.CharacterState=r,n.TokenState=i,n.stateify=function(e,n,t,a){for(var o=0,i=e.length,s=n,c=[],l=void 0;o<i&&(l=s.next(e[o]));)s=l,o++;if(o>=i)return[];for(;o<i-1;)l=new r(a),c.push(l),s.on(e[o],l),s=l,o++;return l=new r(t),c.push(l),s.on(e[i-1],l),c}},65826:(e,n)=>{"use strict";n.__esModule=!0,n.createTokenClass=function(){return function(e){e&&(this.v=e)}}},8270:(e,n,t)=>{"use strict";n.__esModule=!0,n.URL=n.TEXT=n.NL=n.EMAIL=n.MAILTOEMAIL=n.Base=void 0;var a=t(65826),o=t(22460),r=t(69578),i=(0,a.createTokenClass)();i.prototype={type:"token",isLink:!1,toString:function(){for(var e=[],n=0;n<this.v.length;n++)e.push(this.v[n].toString());return e.join("")},toHref:function(){return this.toString()},toObject:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"http";return{type:this.type,value:this.toString(),href:this.toHref(e)}}};var s=(0,o.inherits)(i,(0,a.createTokenClass)(),{type:"email",isLink:!0}),c=(0,o.inherits)(i,(0,a.createTokenClass)(),{type:"email",isLink:!0,toHref:function(){return"mailto:"+this.toString()}}),l=(0,o.inherits)(i,(0,a.createTokenClass)(),{type:"text"}),u=(0,o.inherits)(i,(0,a.createTokenClass)(),{type:"nl"}),h=(0,o.inherits)(i,(0,a.createTokenClass)(),{type:"url",isLink:!0,toHref:function(){for(var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"http",t=!1,a=!1,o=this.v,i=[],s=0;o[s]instanceof r.PROTOCOL;)t=!0,i.push(o[s].toString().toLowerCase()),s++;for(;o[s]instanceof r.SLASH;)a=!0,i.push(o[s].toString()),s++;for(;(e=o[s])instanceof r.DOMAIN||e instanceof r.TLD;)i.push(o[s].toString().toLowerCase()),s++;for(;s<o.length;s++)i.push(o[s].toString());return i=i.join(""),t||a||(i=n+"://"+i),i},hasProtocol:function(){return this.v[0]instanceof r.PROTOCOL}});n.Base=i,n.MAILTOEMAIL=s,n.EMAIL=c,n.NL=u,n.TEXT=l,n.URL=h},69578:(e,n,t)=>{"use strict";n.__esModule=!0,n.AMPERSAND=n.CLOSEPAREN=n.CLOSEANGLEBRACKET=n.CLOSEBRACKET=n.CLOSEBRACE=n.OPENPAREN=n.OPENANGLEBRACKET=n.OPENBRACKET=n.OPENBRACE=n.WS=n.TLD=n.SYM=n.UNDERSCORE=n.SLASH=n.MAILTO=n.PROTOCOL=n.QUERY=n.POUND=n.PLUS=n.NUM=n.NL=n.LOCALHOST=n.PUNCTUATION=n.DOT=n.COLON=n.AT=n.DOMAIN=n.Base=void 0;var a=t(65826),o=t(22460),r=(0,a.createTokenClass)();function i(e){var n=e?{v:e}:{};return(0,o.inherits)(r,(0,a.createTokenClass)(),n)}r.prototype={toString:function(){return this.v+""}};var s=i(),c=i("@"),l=i(":"),u=i("."),h=i(),p=i(),g=i("\n"),f=i(),b=i("+"),m=i("#"),d=i(),x=i("mailto:"),y=i("?"),v=i("/"),k=i("_"),O=i(),E=i(),A=i(),w=i("{"),L=i("["),N=i("<"),T=i("("),S=i("}"),C=i("]"),R=i(">"),j=i(")"),P=i("&");n.Base=r,n.DOMAIN=s,n.AT=c,n.COLON=l,n.DOT=u,n.PUNCTUATION=h,n.LOCALHOST=p,n.NL=g,n.NUM=f,n.PLUS=b,n.POUND=m,n.QUERY=y,n.PROTOCOL=d,n.MAILTO=x,n.SLASH=v,n.UNDERSCORE=k,n.SYM=O,n.TLD=E,n.WS=A,n.OPENBRACE=w,n.OPENBRACKET=L,n.OPENANGLEBRACKET=N,n.OPENPAREN=T,n.CLOSEBRACE=S,n.CLOSEBRACKET=C,n.CLOSEANGLEBRACKET=R,n.CLOSEPAREN=j,n.AMPERSAND=P},22460:(e,n)=>{"use strict";n.__esModule=!0,n.inherits=function(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=Object.create(e.prototype);for(var o in t)a[o]=t[o];return a.constructor=n,n.prototype=a,n}},17359:(e,n)=>{"use strict";n.__esModule=!0;var t="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},a={defaultProtocol:"http",events:null,format:r,formatHref:r,nl2br:!1,tagName:"a",target:function(e,n){return"url"===n?"_blank":null},validate:!0,ignoreTags:[],attributes:null,className:"linkified"};function o(e){e=e||{},this.defaultProtocol=e.hasOwnProperty("defaultProtocol")?e.defaultProtocol:a.defaultProtocol,this.events=e.hasOwnProperty("events")?e.events:a.events,this.format=e.hasOwnProperty("format")?e.format:a.format,this.formatHref=e.hasOwnProperty("formatHref")?e.formatHref:a.formatHref,this.nl2br=e.hasOwnProperty("nl2br")?e.nl2br:a.nl2br,this.tagName=e.hasOwnProperty("tagName")?e.tagName:a.tagName,this.target=e.hasOwnProperty("target")?e.target:a.target,this.validate=e.hasOwnProperty("validate")?e.validate:a.validate,this.ignoreTags=[],this.attributes=e.attributes||e.linkAttributes||a.attributes,this.className=e.hasOwnProperty("className")?e.className:e.linkClass||a.className;for(var n=e.hasOwnProperty("ignoreTags")?e.ignoreTags:a.ignoreTags,t=0;t<n.length;t++)this.ignoreTags.push(n[t].toUpperCase())}function r(e){return e}n.defaults=a,n.Options=o,n.contains=function(e,n){for(var t=0;t<e.length;t++)if(e[t]===n)return!0;return!1},o.prototype={resolve:function(e){var n=e.toHref(this.defaultProtocol);return{formatted:this.get("format",e.toString(),e),formattedHref:this.get("formatHref",n,e),tagName:this.get("tagName",n,e),className:this.get("className",n,e),target:this.get("target",n,e),events:this.getObject("events",n,e),attributes:this.getObject("attributes",n,e)}},check:function(e){return this.get("validate",e.toString(),e)},get:function(e,n,o){var r=void 0,i=this[e];if(!i)return i;switch(void 0===i?"undefined":t(i)){case"function":return i(n,o.type);case"object":return"function"==typeof(r=i.hasOwnProperty(o.type)?i[o.type]:a[e])?r(n,o.type):r}return i},getObject:function(e,n,t){var a=this[e];return"function"==typeof a?a(n,t.type):a}}},58176:(e,n,t)=>{e.exports=t(46922).default}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk_clickview_lite=self.webpackChunk_clickview_lite||[]).push([[8252],{70197:(e,r,t)=>{var a;t.d(r,{q:()=>a}),function(e){e.YearGroupValues="yearGroupValues",e.UserProfilesStatus="userProfiles.status"}(a||(a={}))},39872:(e,r,t)=>{t.d(r,{N:()=>m});var a,s=t(99940),n=t(97395),o=t(1048),u=t(39739),c=t(70197);!function(e){e.TermsGroupBy="terms-group-by",e.NestedTermsGroupBy="nested-terms-group-by"}(a||(a={}));var i,l=t(54610),d=t(40424);function y(e){return y="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},y(e)}function p(e,r,t){return(r=function(e){var r=function(e,r){if("object"!==y(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var a=t.call(e,"string");if("object"!==y(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===y(r)?r:String(r)}(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function f(e){return function(e){if(Array.isArray(e))return g(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,r){if(e){if("string"==typeof e)return g(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)?g(e,r):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.")}()}function g(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}!function(e){e.Content="content",e.OnlineContent="online_content",e.User="user",e.Customer="customer",e.Tag="tag",e.Organisation="organisation",e.Channel="channel"}(i||(i={}));var m={getUsers:function(e,r){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=arguments.length>3?arguments[3]:void 0,s=arguments.length>4?arguments[4]:void 0,o=arguments.length>5?arguments[5]:void 0,c={query:u.P.buildGetUsersQuery(r,t)};a&&(c.cursor=a);var i="school:users:".concat(e,":").concat(r);return i+=Object.keys(c).map((function(e){return c[e]})).join(":"),{url:n._.urlBuilder("{gateway}/v1/customers/".concat(e,"/users"),c),key:i,success:s,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,o=["school:users","search:users","search:aggregation"];return(null===(n=e.userIds)||void 0===n?void 0:n.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:r,error:t,always:a}},createUsers:function(e){var r=e.users,t=e.customerId,a=e.userType,n=e.userId,o=e.success,c=e.error,i=e.always,l=u.P.buildSearchDataAndKey({customerId:t,userId:n,userType:a}).key;return{url:"{gateway}/v1/users",key:"create:users",data:r,type:s.k.POST,invalidationKeys:["school:users","user:count"],success:o,error:c,always:i,updateState:{keys:[l],updateData:function(e,t){var a=e[l];if(!a)return e;var s=Object.assign(Object.assign(Object.assign({},r.users[0]),t),{username:t.username||r.users[0].username,name:r.users[0].firstName,metadata:{isEmailVerified:!1},id:t.userId,type:"user",status:r.users[0].email?d.w.Inactive:d.w.Active,userProfile:{status:r.users[0].email?d.w.Inactive:d.w.Active,role:r.users[0].masterRole,type:"userprofile"}});return Object.assign(Object.assign({},e),p({},l,{pagination:a.pagination,results:[s].concat(f(a.results))}))}}}},updateUser:function(e,r,t,a,n){var o=["school:users:".concat(e.userId)];return r.toString()===e.userId.toString()&&o.push("currentuser"),{url:"{gateway}/v1/users",key:"edit:user",type:s.k.PUT,data:e,invalidationKeys:["search:aggregation"],success:t,error:a,always:n}},searchUsers:function(e,r,t){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},n=arguments.length>4?arguments[4]:void 0,o=arguments.length>5?arguments[5]:void 0,c=arguments.length>6?arguments[6]:void 0,i=u.P.buildSearchDataAndKey({customerId:e,userId:r,userType:t,queryParams:a,cursor:n}),l=i.data,d=i.key;return{url:"{gateway}/v3/search",data:l,type:s.k.POST,key:d,success:o,error:c}},getSearchUserIds:function(e,r,t){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},n=arguments.length>4?arguments[4]:void 0,c=arguments.length>5?arguments[5]:void 0,i=u.P.buildSearchData({customerId:e,userId:r,userType:t,queryParams:a}),l="search:user:ids";return{url:"{gateway}/v3/search/ids",key:l+=o.t.flattenObjectToString(i),data:i,type:s.k.POST,normalize:!1,success:n,error:c}},getSearchAggregation:function(e){var r=e.userId,t=e.customerId,n=e.userType,o=e.queryParams,l=void 0===o?{}:o,d=e.userIds,y=e.field,p=y===c.q.UserProfilesStatus,f={field:y,nestedPath:"userProfiles",termsFilters:{"userProfiles.customerId":[t]}},g=u.P.buildSearchFiltersObject(t,n,l),m="search:aggregation:".concat(r,":").concat(t,":").concat(y,":");m+=Object.keys(g).sort().map((function(e){return g[e]})).join(":"),m+=":"+d.join(":");var v={indices:["user"],searchType:i.User,isLearner:!1,type:p?a.NestedTermsGroupBy:a.TermsGroupBy,userId:r.toString(),customerId:t.toString(),data:p?f:{field:y},idFilters:d,filters:g};return{url:"{gateway}/v1/search/aggregation",type:s.k.POST,key:m,data:v,normalize:!1,formatData:function(e){var r=e.termCount;return y!==c.q.UserProfilesStatus?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:s.k.PUT,data:e,success:t,error:a,always:n,invalidationKeys:["school:users:".concat(e.customerId,":").concat(r)].concat(f(e.users.map((function(e){return"school:users:".concat(e.userId)}))),["search:aggregation"])}},bulkValidate:function(e,r,t,a,n){return{url:"{gateway}/v1/users/validate",type:s.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:s.k.PUT,invalidationKeys:["currentuser","school:users:".concat(r)],data:{fileId:e,fileIdType:l.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:s.k.DELETE,updateState:{keys:["school:users:".concat(r),"currentuser"],updateData:function(e){var t,a=e["school:users:".concat(r)],s=e.currentuser;return a.avatar=null,s.avatar=null,p(t={},"school:users:".concat(r),a),p(t,"currentuser",s),t}},success:t,error:a}},changeEmail:function(e,r,t,a){return{url:"{gateway}/v1/users/me/email",key:"change:email",type:s.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:s.k.PUT,data:{currentPassword:e.currentPassword,newPassword:e.newPassword},success:r,error:t,always:a}},changeUserPassword:function(e,r,t,a,n,o,u){return{url:"{gateway}/v1/users/admin/change-password",key:"change:password:".concat(r,":").concat(e),type:s.k.PUT,data:{userId:e,newPassword:t,changeOnNextLogin:a},success:n,error:o,always:u}},resendActivationEmail:function(e,r,t){return{url:"{gateway}/v1/users/admin/activation",key:"send:activation:email",type:s.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:s.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:s.k.POST,data:{userId:e,customerId:r},success:t,error:a}},exportList:function(e,r,t,a){return{url:n._.urlBuilder("{gateway}/v1/customers/".concat(e,"/users/report"),{userType:r}),key:"export:users:".concat(r),type:s.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,t){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},n=u.P.buildSearchData({customerId:e,userId:r,userType:t,queryParams:a}),c="search:user:count";return c+=o.t.flattenObjectToString(n),{url:"{gateway}/v3/search/count",data:n,type:s.k.POST,key:c,normalize:!1}},authenticationMethods:function(e){return{url:n._.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:s.k.POST,invalidationKeys:"sso:year:group:mappings:".concat(e),data:r}},joinRequests:function(){return{url:"{gateway}/v1/customers/join-requests?status=pending",key:"join:requests",normalize:!1}},resolveJoinRequest:function(e,r){return{url:"{gateway}/v1/customers/join-requests/".concat(e),key:"resolve:join:request",type:s.k.PUT,data:{status:r},normalize:!1,invalidationKeys:["join:requests"]}}}},88252:(e,r,t)=>{t.r(r),t.d(r,{ExportUserListView:()=>v});var a=t(1024),s=t.n(a),n=t(23481),o=t(20354),u=t(49985),c=t(65858),i=t(76881),l=n.T.encloseNamespace("userManager.downloadUserList"),d=function(e){return e===i.Y.Learner?"".concat(l("studentFileName"),".csv"):"".concat(l("staffFileName"),".csv")};function y(e){var r=s().useRef(null);return s().useEffect((function(){if(r.current&&e.file){r.current.href=encodeURI(e.file),r.current.click();var t=c.LocationContext[e.userType===i.Y.Learner?"StudentManager":"StaffManager"];u.k.logUserAction({userType:e.userType},{workflowPhase:c.WorkflowPhase.Complete,actionType:c.UserAction.Export,entity:c.EntityType.User,location:t}),e.onDone()}}),[e.file,r.current]),e.file?s().createElement("a",{ref:r,download:d(e.userType)}):s().createElement(s().Fragment,null)}var p=t(31949),f=t(69883),g=t(39872),m="userManager.exportUserList";function v(e){var r=o.a.useBasicFetch(p.N.currentUser()),t=o.a.useBasicFetch(!!r.data&&g.N.exportList(r.data.customerId,e.userType)),a=(0,f.Z)();return s().useEffect((function(){if(t.hasCompleted)return t.hasError?(a.error(n.T.getPhrase(m,"error")),void e.onDone()):void 0}),[t]),!t.hasCompleted||t.hasError?s().createElement(s().Fragment,null):s().createElement(y,Object.assign({file:t.data},e))}}}]);