@clickview/lite 0.15.4 → 0.16.0-rc.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (510) hide show
  1. package/.eslintrc.json +2 -2
  2. package/dist/bundles.json +3 -3
  3. package/dist/css/1261-lite-149e3f989f.chunk.css +25 -0
  4. package/dist/css/{1285-lite-8cde425840.chunk.css → 1285-lite-f0b44829ca.chunk.css} +1 -1
  5. package/dist/css/{1592-lite-9f03f7a1a6.chunk.css → 1592-lite-c8bfbfe932.chunk.css} +1 -1
  6. package/dist/css/1749-lite-b5c85ba0ec.chunk.css +26 -0
  7. package/dist/css/2115-lite-4e2150a7c6.chunk.css +18 -0
  8. package/dist/css/2132-lite-2ec84f49e8.chunk.css +25 -0
  9. package/dist/css/{3012-lite-8533e9f177.chunk.css → 3012-lite-d50289a086.chunk.css} +1 -1
  10. package/dist/css/{1003-lite-aa0fc0d71a.chunk.css → 3240-lite-63cba19382.chunk.css} +13 -8
  11. package/dist/css/{3202-lite-9ef968d631.chunk.css → 3254-lite-b1cfcfdd2f.chunk.css} +12 -6
  12. package/dist/css/{5290-lite-11013d22b2.chunk.css → 3789-lite-61992b3cc7.chunk.css} +13 -8
  13. package/dist/css/380-lite-8423289aa5.chunk.css +25 -0
  14. package/dist/css/{4309-lite-93e73e8097.chunk.css → 4309-lite-0d3209c03b.chunk.css} +1 -1
  15. package/dist/css/{716-lite-b9cdfd6089.chunk.css → 4380-lite-4ca6185743.chunk.css} +2 -2
  16. package/dist/css/{5134-lite-c850e231df.chunk.css → 5134-lite-4e6a4ba079.chunk.css} +1 -1
  17. package/dist/css/57-lite-8fe9cfc4fd.chunk.css +25 -0
  18. package/dist/css/6134-lite-9014acf935.chunk.css +18 -0
  19. package/dist/css/6153-lite-e300e19a71.chunk.css +27 -0
  20. package/dist/css/{6302-lite-3baeb14426.chunk.css → 6302-lite-97d8749876.chunk.css} +1 -1
  21. package/dist/css/6480-lite-1bf2a8d423.chunk.css +5 -0
  22. package/dist/css/6680-lite-e4832fd807.chunk.css +53 -0
  23. package/dist/css/6686-lite-db903cbf4c.chunk.css +23 -0
  24. package/dist/css/6786-lite-d58b95be7d.chunk.css +27 -0
  25. package/dist/css/6883-lite-2c07aa2163.chunk.css +6 -0
  26. package/dist/css/{6930-lite-980fde16bb.chunk.css → 6930-lite-e4bd458c08.chunk.css} +1 -1
  27. package/dist/css/7199-lite-4781348c43.chunk.css +27 -0
  28. package/dist/css/{4762-lite-83599ac878.chunk.css → 724-lite-f1493ddb06.chunk.css} +14 -8
  29. package/dist/css/{8278-lite-aa0fc0d71a.chunk.css → 7279-lite-63cba19382.chunk.css} +13 -8
  30. package/dist/css/7416-lite-0cd0892dab.chunk.css +3 -0
  31. package/dist/css/749-lite-58cb1d0181.chunk.css +27 -0
  32. package/dist/css/{5197-lite-32e6a05f5a.chunk.css → 7739-lite-2be4986644.chunk.css} +2 -2
  33. package/dist/css/78-lite-7acf8cf89e.chunk.css +7 -0
  34. package/dist/css/8000-lite-4781348c43.chunk.css +27 -0
  35. package/dist/css/8009-lite-48f081daa1.chunk.css +28 -0
  36. package/dist/css/{3269-lite-15a9c42390.chunk.css → 8114-lite-41264ed3d2.chunk.css} +1 -1
  37. package/dist/css/8200-lite-46bb2504a1.chunk.css +25 -0
  38. package/dist/css/{2560-lite-6776ca4e3f.chunk.css → 8424-lite-263037580a.chunk.css} +30 -14
  39. package/dist/css/{9133-lite-3eb4e1909c.chunk.css → 9133-lite-62872dd099.chunk.css} +1 -1
  40. package/dist/css/{2873-lite-11013d22b2.chunk.css → 9194-lite-61992b3cc7.chunk.css} +13 -8
  41. package/dist/css/9468-lite-46bb2504a1.chunk.css +25 -0
  42. package/dist/css/9655-lite-e565075b6d.chunk.css +24 -0
  43. package/dist/css/{2574-lite-92f9cca2b1.chunk.css → 9749-lite-21b32321f4.chunk.css} +2 -2
  44. package/dist/css/{lite-app-cf5196fb84.css → lite-app-bf3edf6b59.css} +13 -11
  45. package/dist/languages/en.json +1 -1
  46. package/dist/scripts/1007-40c34e15b0-lite.chunk.js +1 -0
  47. package/dist/scripts/{1106-60a0f57fea-lite.chunk.js → 1106-277c9eb019-lite.chunk.js} +1 -1
  48. package/dist/scripts/1200-1752bc87fb-lite.chunk.js +2 -0
  49. package/dist/scripts/1235-996620bd8a-lite.chunk.js +1 -0
  50. package/dist/scripts/1261-a1eb08ff96-lite.chunk.js +1 -0
  51. package/dist/scripts/1285-7a93b69113-lite.chunk.js +1 -0
  52. package/dist/scripts/1291-d4871c743a-lite.chunk.js +1 -0
  53. package/dist/scripts/1518-5c482e7d97-lite.chunk.js +1 -0
  54. package/dist/scripts/1592-ccd23c32a3-lite.chunk.js +2 -0
  55. package/dist/scripts/1628-cc1cdbedda-lite.chunk.js +1 -0
  56. package/dist/scripts/1659-cbfd9a8f38-lite.chunk.js +1 -0
  57. package/dist/scripts/1684-7059d6d630-lite.chunk.js +1 -0
  58. package/dist/scripts/1725-efe85aed19-lite.chunk.js +1 -0
  59. package/dist/scripts/1726-9e67d5dad6-lite.chunk.js +1 -0
  60. package/dist/scripts/1749-5e8719338e-lite.chunk.js +1 -0
  61. package/dist/scripts/1792-fe61497e92-lite.chunk.js +1 -0
  62. package/dist/scripts/1837-b51c3e35d5-lite.chunk.js +1 -0
  63. package/dist/scripts/1891-fdddecd3f3-lite.chunk.js +1 -0
  64. package/dist/scripts/1924-62052616d4-lite.chunk.js +1 -0
  65. package/dist/scripts/1958-0198e2c350-lite.chunk.js +1 -0
  66. package/dist/scripts/2044-c0b0c37d4d-lite.chunk.js +1 -0
  67. package/dist/scripts/{209-16a13c2271-lite.chunk.js → 209-1301f41ed5-lite.chunk.js} +1 -1
  68. package/dist/scripts/2097-13e9de4525-lite.chunk.js +2 -0
  69. package/dist/scripts/2115-b2055a3720-lite.chunk.js +1 -0
  70. package/dist/scripts/2132-f931c128b0-lite.chunk.js +1 -0
  71. package/dist/scripts/2175-7443a6bbd2-lite.chunk.js +1 -0
  72. package/dist/scripts/2215-4a0a376049-lite.chunk.js +1 -0
  73. package/dist/scripts/2229-558d6b535f-lite.chunk.js +1 -0
  74. package/dist/scripts/227-6e2c48d228-lite.chunk.js +1 -0
  75. package/dist/scripts/2279-00f6f2ee12-lite.chunk.js +1 -0
  76. package/dist/scripts/2281-e04490741a-lite.chunk.js +2 -0
  77. package/dist/scripts/2303-9527da496d-lite.chunk.js +1 -0
  78. package/dist/scripts/2561-08ee3b287c-lite.chunk.js +1 -0
  79. package/dist/scripts/2566-b8482d05ad-lite.chunk.js +1 -0
  80. package/dist/scripts/2665-53f972cbe0-lite.chunk.js +1 -0
  81. package/dist/scripts/27-bf5b5da7b0-lite.chunk.js +1 -0
  82. package/dist/scripts/2791-aaf6fc6c3f-lite.chunk.js +1 -0
  83. package/dist/scripts/291-3cdf00b119-lite.chunk.js +1 -0
  84. package/dist/scripts/2935-81ba55fa2b-lite.chunk.js +1 -0
  85. package/dist/scripts/2966-afdc9d73fb-lite.chunk.js +1 -0
  86. package/dist/scripts/3012-782a31a259-lite.chunk.js +1 -0
  87. package/dist/scripts/3020-48fe422c57-lite.chunk.js +1 -0
  88. package/dist/scripts/3108-6bc34f0fe9-lite.chunk.js +1 -0
  89. package/dist/scripts/3152-8cd8705639-lite.chunk.js +1 -0
  90. package/dist/scripts/3171-c56c71431a-lite.chunk.js +1 -0
  91. package/dist/scripts/{3174-d4dafe5c16-lite.chunk.js → 3174-d8dc94c643-lite.chunk.js} +1 -1
  92. package/dist/scripts/3216-227b8b9a54-lite.chunk.js +1 -0
  93. package/dist/scripts/3231-40197f2aaa-lite.chunk.js +1 -0
  94. package/dist/scripts/3237-38ee965093-lite.chunk.js +1 -0
  95. package/dist/scripts/3240-7f6fc30700-lite.chunk.js +1 -0
  96. package/dist/scripts/3254-9aedc73523-lite.chunk.js +1 -0
  97. package/dist/scripts/3285-00ec66e19b-lite.chunk.js +1 -0
  98. package/dist/scripts/{3286-fa29c1aca3-lite.chunk.js → 3286-883b950e29-lite.chunk.js} +1 -1
  99. package/dist/scripts/3468-afd0a7660c-lite.chunk.js +1 -0
  100. package/dist/scripts/3729-9f1b5c059f-lite.chunk.js +1 -0
  101. package/dist/scripts/3754-be1475a735-lite.chunk.js +1 -0
  102. package/dist/scripts/3787-4317682fc0-lite.chunk.js +1 -0
  103. package/dist/scripts/3789-93cc639872-lite.chunk.js +1 -0
  104. package/dist/scripts/380-c7b5443b77-lite.chunk.js +1 -0
  105. package/dist/scripts/3948-f7255303a0-lite.chunk.js +1 -0
  106. package/dist/scripts/4182-015f11905d-lite.chunk.js +1 -0
  107. package/dist/scripts/4262-333422e343-lite.chunk.js +1 -0
  108. package/dist/scripts/4309-22eacfc527-lite.chunk.js +1 -0
  109. package/dist/scripts/4343-0c2608cf4a-lite.chunk.js +1 -0
  110. package/dist/scripts/4380-4e73d869f4-lite.chunk.js +1 -0
  111. package/dist/scripts/4420-207779ae98-lite.chunk.js +1 -0
  112. package/dist/scripts/4423-4badf061c7-lite.chunk.js +1 -0
  113. package/dist/scripts/4541-ca3cb5ca84-lite.chunk.js +1 -0
  114. package/dist/scripts/4617-9d09c49874-lite.chunk.js +1 -0
  115. package/dist/scripts/4722-dffbe59069-lite.chunk.js +1 -0
  116. package/dist/scripts/4770-568994c6a6-lite.chunk.js +1 -0
  117. package/dist/scripts/482-dd3e4495d9-lite.chunk.js +1 -0
  118. package/dist/scripts/4893-f30cd7ddcc-lite.chunk.js +1 -0
  119. package/dist/scripts/4895-3b67c08e33-lite.chunk.js +1 -0
  120. package/dist/scripts/5018-67695be6d6-lite.chunk.js +1 -0
  121. package/dist/scripts/5166-2f143e3493-lite.chunk.js +2 -0
  122. package/dist/scripts/{5173-b9cbffd435-lite.chunk.js → 5173-3f1b431216-lite.chunk.js} +1 -1
  123. package/dist/scripts/528-7845e4c922-lite.chunk.js +1 -0
  124. package/dist/scripts/5585-5d8a4ca9fc-lite.chunk.js +1 -0
  125. package/dist/scripts/5606-f823519569-lite.chunk.js +1 -0
  126. package/dist/scripts/5607-44cb7e00a0-lite.chunk.js +1 -0
  127. package/dist/scripts/57-374f744a8a-lite.chunk.js +1 -0
  128. package/dist/scripts/5875-32c6f150e0-lite.chunk.js +2 -0
  129. package/dist/scripts/5877-a6684333e7-lite.chunk.js +1 -0
  130. package/dist/scripts/5914-cf8eadac4d-lite.chunk.js +1 -0
  131. package/dist/scripts/5923-987f2c93aa-lite.chunk.js +1 -0
  132. package/dist/scripts/5956-af12da8fa0-lite.chunk.js +1 -0
  133. package/dist/scripts/5974-a82ebc9ec9-lite.chunk.js +1 -0
  134. package/dist/scripts/598-e640813980-lite.chunk.js +1 -0
  135. package/dist/scripts/5986-794584619c-lite.chunk.js +1 -0
  136. package/dist/scripts/{6014-72cc953060-lite.chunk.js → 6014-60904fec14-lite.chunk.js} +1 -1
  137. package/dist/scripts/6080-100066a582-lite.chunk.js +1 -0
  138. package/dist/scripts/6117-fc3ad446d9-lite.chunk.js +1 -0
  139. package/dist/scripts/6134-9577f554c1-lite.chunk.js +1 -0
  140. package/dist/scripts/614-6c4e1214fe-lite.chunk.js +1 -0
  141. package/dist/scripts/6153-a6b5ff90ac-lite.chunk.js +1 -0
  142. package/dist/scripts/6235-ebc3aa5f1c-lite.chunk.js +1 -0
  143. package/dist/scripts/6258-d6e0ffe779-lite.chunk.js +1 -0
  144. package/dist/scripts/6263-9bab78f67d-lite.chunk.js +1 -0
  145. package/dist/scripts/6274-cb4b511ee7-lite.chunk.js +1 -0
  146. package/dist/scripts/6290-47dfcd7e4c-lite.chunk.js +1 -0
  147. package/dist/scripts/6302-f47a1262be-lite.chunk.js +1 -0
  148. package/dist/scripts/6368-583aa3a89d-lite.chunk.js +1 -0
  149. package/dist/scripts/6370-d6afc1876b-lite.chunk.js +1 -0
  150. package/dist/scripts/6378-b9a1784019-lite.chunk.js +1 -0
  151. package/dist/scripts/6381-16b5dcf5d6-lite.chunk.js +1 -0
  152. package/dist/scripts/6450-c1916882b3-lite.chunk.js +1 -0
  153. package/dist/scripts/6465-ced8580921-lite.chunk.js +1 -0
  154. package/dist/scripts/6480-f8f772fd30-lite.chunk.js +1 -0
  155. package/dist/scripts/6493-c0cb73766e-lite.chunk.js +1 -0
  156. package/dist/scripts/6507-b657f7863a-lite.chunk.js +1 -0
  157. package/dist/scripts/6542-ec89cb7c39-lite.chunk.js +2 -0
  158. package/dist/scripts/{6604-51f58c98be-lite.chunk.js → 6604-2ff61304ce-lite.chunk.js} +1 -1
  159. package/dist/scripts/6680-d7d5fb7389-lite.chunk.js +1 -0
  160. package/dist/scripts/6686-850fdeaa88-lite.chunk.js +1 -0
  161. package/dist/scripts/6727-dc91e53918-lite.chunk.js +1 -0
  162. package/dist/scripts/6736-ac71f42fe7-lite.chunk.js +2 -0
  163. package/dist/scripts/6776-d65221876f-lite.chunk.js +1 -0
  164. package/dist/scripts/6786-2f9b97d8f4-lite.chunk.js +1 -0
  165. package/dist/scripts/6801-9e20065d3a-lite.chunk.js +1 -0
  166. package/dist/scripts/{6866-015c932637-lite.chunk.js → 6866-0ba7543875-lite.chunk.js} +1 -1
  167. package/dist/scripts/6873-ea0453514a-lite.chunk.js +1 -0
  168. package/dist/scripts/6883-1077f658c3-lite.chunk.js +1 -0
  169. package/dist/scripts/6913-8c3281b311-lite.chunk.js +1 -0
  170. package/dist/scripts/7045-2ff6b61236-lite.chunk.js +1 -0
  171. package/dist/scripts/7056-108f16b738-lite.chunk.js +1 -0
  172. package/dist/scripts/7112-58d35a2e8f-lite.chunk.js +2 -0
  173. package/dist/scripts/7115-34ee1a7f1b-lite.chunk.js +1 -0
  174. package/dist/scripts/7128-ea83e304a4-lite.chunk.js +1 -0
  175. package/dist/scripts/7172-017ad7330a-lite.chunk.js +1 -0
  176. package/dist/scripts/7178-39887eaa85-lite.chunk.js +1 -0
  177. package/dist/scripts/724-cee478c44d-lite.chunk.js +1 -0
  178. package/dist/scripts/7279-191d0874fe-lite.chunk.js +1 -0
  179. package/dist/scripts/7307-81f89e0595-lite.chunk.js +1 -0
  180. package/dist/scripts/{7318-72714b7211-lite.chunk.js → 7318-6cc811f662-lite.chunk.js} +2 -2
  181. package/dist/scripts/{7332-3d9c2f21c3-lite.chunk.js → 7332-f542edf322-lite.chunk.js} +1 -1
  182. package/dist/scripts/7385-3ff72674e5-lite.chunk.js +1 -0
  183. package/dist/scripts/7397-1a2f0a8b1a-lite.chunk.js +1 -0
  184. package/dist/scripts/7407-0168b2e238-lite.chunk.js +1 -0
  185. package/dist/scripts/7416-f33a86fe74-lite.chunk.js +2 -0
  186. package/dist/scripts/749-17fe8ec3e1-lite.chunk.js +1 -0
  187. package/dist/scripts/7506-1637b67aea-lite.chunk.js +1 -0
  188. package/dist/scripts/7515-4f37d573b4-lite.chunk.js +2 -0
  189. package/dist/scripts/7524-c73a4bdedf-lite.chunk.js +1 -0
  190. package/dist/scripts/7532-012132825e-lite.chunk.js +1 -0
  191. package/dist/scripts/{754-3af4c8d400-lite.chunk.js → 754-555d370678-lite.chunk.js} +1 -1
  192. package/dist/scripts/7552-7934b01e63-lite.chunk.js +1 -0
  193. package/dist/scripts/7556-59f21abbe8-lite.chunk.js +1 -0
  194. package/dist/scripts/7739-1a6953af69-lite.chunk.js +1 -0
  195. package/dist/scripts/7767-55b704ca34-lite.chunk.js +1 -0
  196. package/dist/scripts/78-380e57e6a5-lite.chunk.js +1 -0
  197. package/dist/scripts/7804-c36ec082ed-lite.chunk.js +1 -0
  198. package/dist/scripts/7831-20e0052175-lite.chunk.js +1 -0
  199. package/dist/scripts/7855-b5df5613a6-lite.chunk.js +1 -0
  200. package/dist/scripts/7888-eec05aef3e-lite.chunk.js +1 -0
  201. package/dist/scripts/{7919-ae7f21be8d-lite.chunk.js → 7919-3ec0f37103-lite.chunk.js} +2 -2
  202. package/dist/scripts/7989-5756a29b8c-lite.chunk.js +2 -0
  203. package/dist/scripts/8000-72a196c14c-lite.chunk.js +1 -0
  204. package/dist/scripts/8009-7a15e85961-lite.chunk.js +1 -0
  205. package/dist/scripts/8025-588cf2d344-lite.chunk.js +1 -0
  206. package/dist/scripts/8038-c697cf1f59-lite.chunk.js +1 -0
  207. package/dist/scripts/8046-d2ff018690-lite.chunk.js +1 -0
  208. package/dist/scripts/8056-16c77138bb-lite.chunk.js +1 -0
  209. package/dist/scripts/811-a91a94fd46-lite.chunk.js +1 -0
  210. package/dist/scripts/8114-7054c146ac-lite.chunk.js +1 -0
  211. package/dist/scripts/8187-b53463d2dd-lite.chunk.js +1 -0
  212. package/dist/scripts/{4955-c046ea755d-lite.chunk.js → 8200-e2ca05c358-lite.chunk.js} +1 -1
  213. package/dist/scripts/823-4ce6c6b235-lite.chunk.js +1 -0
  214. package/dist/scripts/8252-f58b73e4c3-lite.chunk.js +1 -0
  215. package/dist/scripts/8322-86e2c08ed6-lite.chunk.js +1 -0
  216. package/dist/scripts/8323-ba2c3375bb-lite.chunk.js +2 -0
  217. package/dist/scripts/8323-ba2c3375bb-lite.chunk.js.LICENSE.txt +1 -0
  218. package/dist/scripts/8339-783d504f1e-lite.chunk.js +1 -0
  219. package/dist/scripts/8377-7df50d0cae-lite.chunk.js +1 -0
  220. package/dist/scripts/8424-ae4aa748e7-lite.chunk.js +1 -0
  221. package/dist/scripts/8466-97469111b1-lite.chunk.js +1 -0
  222. package/dist/scripts/8627-4c5b304987-lite.chunk.js +1 -0
  223. package/dist/scripts/872-f3e867f928-lite.chunk.js +1 -0
  224. package/dist/scripts/8729-9222c968aa-lite.chunk.js +1 -0
  225. package/dist/scripts/8801-7bf5ae6655-lite.chunk.js +1 -0
  226. package/dist/scripts/8814-be9838dcac-lite.chunk.js +1 -0
  227. package/dist/scripts/8868-5f79a4612e-lite.chunk.js +1 -0
  228. package/dist/scripts/8955-4e9d16032b-lite.chunk.js +1 -0
  229. package/dist/scripts/9005-a269a44711-lite.chunk.js +1 -0
  230. package/dist/scripts/9016-f35b4e6522-lite.chunk.js +1 -0
  231. package/dist/scripts/9035-8dfc32b4a2-lite.chunk.js +1 -0
  232. package/dist/scripts/9038-2abcbf5553-lite.chunk.js +1 -0
  233. package/dist/scripts/9060-b1cc635585-lite.chunk.js +1 -0
  234. package/dist/scripts/9133-146c73b62d-lite.chunk.js +1 -0
  235. package/dist/scripts/9154-1499a9c27b-lite.chunk.js +1 -0
  236. package/dist/scripts/9194-754d408be9-lite.chunk.js +1 -0
  237. package/dist/scripts/9242-1cdfaa46d8-lite.chunk.js +1 -0
  238. package/dist/scripts/9264-c1d7bc6953-lite.chunk.js +1 -0
  239. package/dist/scripts/9273-727f8d93f1-lite.chunk.js +1 -0
  240. package/dist/scripts/9304-8e1507b512-lite.chunk.js +1 -0
  241. package/dist/scripts/9455-210c08b40a-lite.chunk.js +1 -0
  242. package/dist/scripts/9478-8ecc004bb4-lite.chunk.js +2 -0
  243. package/dist/scripts/9478-8ecc004bb4-lite.chunk.js.LICENSE.txt +1 -0
  244. package/dist/scripts/9552-85c8dd040b-lite.chunk.js +1 -0
  245. package/dist/scripts/9568-ff0a3581d2-lite.chunk.js +1 -0
  246. package/dist/scripts/9655-90ea3a292b-lite.chunk.js +1 -0
  247. package/dist/scripts/9674-72fd59245e-lite.chunk.js +1 -0
  248. package/dist/scripts/9686-2de5bea6a9-lite.chunk.js +1 -0
  249. package/dist/scripts/9749-cb4d3b4baa-lite.chunk.js +1 -0
  250. package/dist/scripts/9798-f01a812dbb-lite.chunk.js +1 -0
  251. package/dist/scripts/bundle-de7691104b.min.js +2 -0
  252. package/dist/scripts/{polyfills-35ba3904b7.min.js → polyfills-6009776bd8.min.js} +2 -2
  253. package/dist/scripts/polyfills-6009776bd8.min.js.LICENSE.txt +1 -0
  254. package/jest.config.js +11 -11
  255. package/package.json +63 -58
  256. package/typings/libs/CVEvents.d.ts +12 -12
  257. package/typings/libs/CVLanguages.d.ts +24 -24
  258. package/typings/libs/backbone.validation.d.ts +99 -99
  259. package/typings/libs/cookiesjs.d.ts +25 -25
  260. package/typings/libs/draft-convert.d.ts +3 -3
  261. package/typings/libs/google-api.d.ts +93 -93
  262. package/typings/libs/intersection-observer.d.ts +82 -82
  263. package/typings/libs/microsoft-teams.d.ts +2 -2
  264. package/typings/libs/react-table-config.d.ts +138 -138
  265. package/typings/libs/trackjs.d.ts +2 -2
  266. package/typings/libs/videojs-contrib-quality-levels.d.ts +28 -28
  267. package/typings/utils/imports.d.ts +13 -13
  268. package/dist/css/1409-lite-a752f41405.chunk.css +0 -19
  269. package/dist/css/1679-lite-8e540144bc.chunk.css +0 -12
  270. package/dist/css/1705-lite-f69eb7f2f6.chunk.css +0 -21
  271. package/dist/css/2190-lite-37d46d80a1.chunk.css +0 -4
  272. package/dist/css/2495-lite-14b2370519.chunk.css +0 -19
  273. package/dist/css/2592-lite-01726a8be8.chunk.css +0 -12
  274. package/dist/css/4108-lite-c9bfd660fa.chunk.css +0 -19
  275. package/dist/css/4305-lite-de61bb5f76.chunk.css +0 -21
  276. package/dist/css/4955-lite-14b2370519.chunk.css +0 -19
  277. package/dist/css/5125-lite-de61bb5f76.chunk.css +0 -21
  278. package/dist/css/5320-lite-f3ec6b2075.chunk.css +0 -21
  279. package/dist/css/6160-lite-28e9947d89.chunk.css +0 -19
  280. package/dist/css/7057-lite-1ca9d44e35.chunk.css +0 -18
  281. package/dist/css/7413-lite-5f4308ee90.chunk.css +0 -17
  282. package/dist/css/7880-lite-a154f39b06.chunk.css +0 -21
  283. package/dist/css/7901-lite-6b9f2ff5e9.chunk.css +0 -9
  284. package/dist/css/8083-lite-29449d31ee.chunk.css +0 -22
  285. package/dist/css/8891-lite-6c05b86ab4.chunk.css +0 -19
  286. package/dist/css/913-lite-988dca9e76.chunk.css +0 -5
  287. package/dist/css/9147-lite-26e0530c29.chunk.css +0 -20
  288. package/dist/css/9899-lite-62a8edf50c.chunk.css +0 -38
  289. package/dist/scripts/1003-ef8ce5b335-lite.chunk.js +0 -1
  290. package/dist/scripts/1007-2ca916e6d6-lite.chunk.js +0 -1
  291. package/dist/scripts/1200-1bb0dd468e-lite.chunk.js +0 -2
  292. package/dist/scripts/1235-aa0df7dc82-lite.chunk.js +0 -1
  293. package/dist/scripts/1285-8f7e21c6c8-lite.chunk.js +0 -1
  294. package/dist/scripts/1291-de2ace7ed4-lite.chunk.js +0 -1
  295. package/dist/scripts/1409-85dcc17a97-lite.chunk.js +0 -1
  296. package/dist/scripts/1518-2cef7e66cf-lite.chunk.js +0 -1
  297. package/dist/scripts/1592-dc635b7440-lite.chunk.js +0 -1
  298. package/dist/scripts/1628-0f657eceb6-lite.chunk.js +0 -1
  299. package/dist/scripts/1659-59d1428248-lite.chunk.js +0 -1
  300. package/dist/scripts/1679-fbcb0a6720-lite.chunk.js +0 -1
  301. package/dist/scripts/1684-102d107e3a-lite.chunk.js +0 -1
  302. package/dist/scripts/1705-ae576f3641-lite.chunk.js +0 -1
  303. package/dist/scripts/1725-8827df5901-lite.chunk.js +0 -1
  304. package/dist/scripts/1726-e046e42ee9-lite.chunk.js +0 -1
  305. package/dist/scripts/1792-ab897d369e-lite.chunk.js +0 -1
  306. package/dist/scripts/1837-c4d960d524-lite.chunk.js +0 -1
  307. package/dist/scripts/1891-b00fa42970-lite.chunk.js +0 -1
  308. package/dist/scripts/1924-33f191fed1-lite.chunk.js +0 -1
  309. package/dist/scripts/1958-5c8acb7f6e-lite.chunk.js +0 -1
  310. package/dist/scripts/2012-2f6b307507-lite.chunk.js +0 -1
  311. package/dist/scripts/2044-f9df2d987b-lite.chunk.js +0 -1
  312. package/dist/scripts/2097-1c5f2a1fcb-lite.chunk.js +0 -2
  313. package/dist/scripts/2175-5ff59ae9f4-lite.chunk.js +0 -1
  314. package/dist/scripts/2190-471331d8f2-lite.chunk.js +0 -1
  315. package/dist/scripts/2215-af79023240-lite.chunk.js +0 -1
  316. package/dist/scripts/2229-74179fc95b-lite.chunk.js +0 -1
  317. package/dist/scripts/227-5c7c67782c-lite.chunk.js +0 -1
  318. package/dist/scripts/2279-e542de566e-lite.chunk.js +0 -1
  319. package/dist/scripts/2281-47c5814799-lite.chunk.js +0 -2
  320. package/dist/scripts/2303-028cc0466f-lite.chunk.js +0 -1
  321. package/dist/scripts/2541-6ebd3ae13e-lite.chunk.js +0 -1
  322. package/dist/scripts/2560-5b40f79937-lite.chunk.js +0 -1
  323. package/dist/scripts/2561-105bb3f1d9-lite.chunk.js +0 -1
  324. package/dist/scripts/2566-7b1ca32ce9-lite.chunk.js +0 -1
  325. package/dist/scripts/2574-0a7bbfea42-lite.chunk.js +0 -1
  326. package/dist/scripts/2592-ab6818c64b-lite.chunk.js +0 -1
  327. package/dist/scripts/2665-fb6adbd10f-lite.chunk.js +0 -1
  328. package/dist/scripts/27-e2dabf4466-lite.chunk.js +0 -1
  329. package/dist/scripts/2791-881b28a030-lite.chunk.js +0 -1
  330. package/dist/scripts/2812-ea1ead0f4e-lite.chunk.js +0 -1
  331. package/dist/scripts/2873-297718ffe4-lite.chunk.js +0 -1
  332. package/dist/scripts/291-80f5120bdc-lite.chunk.js +0 -1
  333. package/dist/scripts/2935-231926522c-lite.chunk.js +0 -1
  334. package/dist/scripts/2966-6c37f34938-lite.chunk.js +0 -1
  335. package/dist/scripts/3012-5a2e992d80-lite.chunk.js +0 -1
  336. package/dist/scripts/3020-6297afe9aa-lite.chunk.js +0 -1
  337. package/dist/scripts/3108-7b6349607f-lite.chunk.js +0 -1
  338. package/dist/scripts/3152-5393aebd54-lite.chunk.js +0 -1
  339. package/dist/scripts/3171-1f3496bc29-lite.chunk.js +0 -1
  340. package/dist/scripts/3202-c6237ac449-lite.chunk.js +0 -1
  341. package/dist/scripts/3216-190f074311-lite.chunk.js +0 -1
  342. package/dist/scripts/3231-17184c8ba4-lite.chunk.js +0 -1
  343. package/dist/scripts/3237-76b4eacd1c-lite.chunk.js +0 -1
  344. package/dist/scripts/3269-3eed954253-lite.chunk.js +0 -1
  345. package/dist/scripts/3285-4b1f16d207-lite.chunk.js +0 -1
  346. package/dist/scripts/3468-3693024f26-lite.chunk.js +0 -1
  347. package/dist/scripts/3729-0518176814-lite.chunk.js +0 -1
  348. package/dist/scripts/3754-ff751ace76-lite.chunk.js +0 -1
  349. package/dist/scripts/3787-82c933d7ed-lite.chunk.js +0 -1
  350. package/dist/scripts/4108-715ded4ca1-lite.chunk.js +0 -1
  351. package/dist/scripts/4182-aa468b67ef-lite.chunk.js +0 -1
  352. package/dist/scripts/4262-45eb7313bd-lite.chunk.js +0 -1
  353. package/dist/scripts/4309-a218eca414-lite.chunk.js +0 -1
  354. package/dist/scripts/4343-940ff0028f-lite.chunk.js +0 -1
  355. package/dist/scripts/4420-f8a0ef3062-lite.chunk.js +0 -1
  356. package/dist/scripts/4423-690a215874-lite.chunk.js +0 -1
  357. package/dist/scripts/4541-94a3392387-lite.chunk.js +0 -1
  358. package/dist/scripts/4617-9ac1af6dfd-lite.chunk.js +0 -1
  359. package/dist/scripts/4722-8066074f20-lite.chunk.js +0 -1
  360. package/dist/scripts/4762-bed7f565f9-lite.chunk.js +0 -1
  361. package/dist/scripts/4770-492a1709da-lite.chunk.js +0 -1
  362. package/dist/scripts/482-543bf1bb58-lite.chunk.js +0 -1
  363. package/dist/scripts/4893-97876b0f67-lite.chunk.js +0 -1
  364. package/dist/scripts/4895-30f7b6aa2f-lite.chunk.js +0 -1
  365. package/dist/scripts/5018-4fa8bb7f15-lite.chunk.js +0 -1
  366. package/dist/scripts/5125-010d1df259-lite.chunk.js +0 -1
  367. package/dist/scripts/5197-b928550a4d-lite.chunk.js +0 -1
  368. package/dist/scripts/528-aaa36d186e-lite.chunk.js +0 -1
  369. package/dist/scripts/5290-93df8dcdf9-lite.chunk.js +0 -1
  370. package/dist/scripts/5320-c35fd419d3-lite.chunk.js +0 -1
  371. package/dist/scripts/5585-fb913e8144-lite.chunk.js +0 -1
  372. package/dist/scripts/5606-c733696024-lite.chunk.js +0 -1
  373. package/dist/scripts/5607-a7fd8d7aa4-lite.chunk.js +0 -1
  374. package/dist/scripts/5763-6b4b39b05b-lite.chunk.js +0 -1
  375. package/dist/scripts/5875-4cdf932880-lite.chunk.js +0 -2
  376. package/dist/scripts/5877-8ef5391aa9-lite.chunk.js +0 -1
  377. package/dist/scripts/5914-14a1cece1b-lite.chunk.js +0 -1
  378. package/dist/scripts/5923-690e9cc63a-lite.chunk.js +0 -1
  379. package/dist/scripts/5956-149ed44852-lite.chunk.js +0 -1
  380. package/dist/scripts/5974-41328f6830-lite.chunk.js +0 -1
  381. package/dist/scripts/598-51cde666df-lite.chunk.js +0 -1
  382. package/dist/scripts/5986-a3bc1e5e8b-lite.chunk.js +0 -1
  383. package/dist/scripts/6080-922f1bf84f-lite.chunk.js +0 -1
  384. package/dist/scripts/6117-912eec03d4-lite.chunk.js +0 -1
  385. package/dist/scripts/6156-043194f53d-lite.chunk.js +0 -1
  386. package/dist/scripts/6160-ed553565f8-lite.chunk.js +0 -1
  387. package/dist/scripts/6258-07d454920f-lite.chunk.js +0 -1
  388. package/dist/scripts/6263-2af1d7e30d-lite.chunk.js +0 -1
  389. package/dist/scripts/6274-e72a9defe0-lite.chunk.js +0 -1
  390. package/dist/scripts/6290-43f1441287-lite.chunk.js +0 -1
  391. package/dist/scripts/6302-12f37e86e3-lite.chunk.js +0 -1
  392. package/dist/scripts/6368-08b51680f0-lite.chunk.js +0 -1
  393. package/dist/scripts/6370-95dd54b1c3-lite.chunk.js +0 -1
  394. package/dist/scripts/6378-e747dc3713-lite.chunk.js +0 -1
  395. package/dist/scripts/6381-a056fb8a08-lite.chunk.js +0 -1
  396. package/dist/scripts/6450-e266aa89ea-lite.chunk.js +0 -1
  397. package/dist/scripts/6465-0c60c1cd6c-lite.chunk.js +0 -1
  398. package/dist/scripts/6493-74f6946ca6-lite.chunk.js +0 -1
  399. package/dist/scripts/6507-8ed19f9a8b-lite.chunk.js +0 -1
  400. package/dist/scripts/6736-4ded0efe20-lite.chunk.js +0 -2
  401. package/dist/scripts/6776-c7cb0db69a-lite.chunk.js +0 -1
  402. package/dist/scripts/6801-f8466b395e-lite.chunk.js +0 -1
  403. package/dist/scripts/6873-323ca69b42-lite.chunk.js +0 -1
  404. package/dist/scripts/6913-809ca67308-lite.chunk.js +0 -1
  405. package/dist/scripts/6936-09baf4a92f-lite.chunk.js +0 -1
  406. package/dist/scripts/7045-fd844d2c7b-lite.chunk.js +0 -1
  407. package/dist/scripts/7056-5225cf8ce1-lite.chunk.js +0 -1
  408. package/dist/scripts/7057-7283f25eef-lite.chunk.js +0 -1
  409. package/dist/scripts/7112-a67c8a4111-lite.chunk.js +0 -2
  410. package/dist/scripts/7115-77f4f95941-lite.chunk.js +0 -1
  411. package/dist/scripts/7128-193ffbf36e-lite.chunk.js +0 -1
  412. package/dist/scripts/716-f911abe0b5-lite.chunk.js +0 -1
  413. package/dist/scripts/7172-b46b99bc9f-lite.chunk.js +0 -1
  414. package/dist/scripts/7178-79a2e83a9f-lite.chunk.js +0 -1
  415. package/dist/scripts/719-6bbb20b387-lite.chunk.js +0 -1
  416. package/dist/scripts/7210-37e5f73035-lite.chunk.js +0 -1
  417. package/dist/scripts/7385-d8a9d8d8e1-lite.chunk.js +0 -1
  418. package/dist/scripts/7397-638e09f9f9-lite.chunk.js +0 -1
  419. package/dist/scripts/7407-0dc924f426-lite.chunk.js +0 -1
  420. package/dist/scripts/7413-ee228e9e6b-lite.chunk.js +0 -1
  421. package/dist/scripts/7515-b4383c11dd-lite.chunk.js +0 -2
  422. package/dist/scripts/7524-b21311b748-lite.chunk.js +0 -1
  423. package/dist/scripts/7552-40be3820db-lite.chunk.js +0 -1
  424. package/dist/scripts/7760-7d4cf6e27f-lite.chunk.js +0 -1
  425. package/dist/scripts/7767-6009061b47-lite.chunk.js +0 -1
  426. package/dist/scripts/7831-a1a1e893b8-lite.chunk.js +0 -1
  427. package/dist/scripts/7855-68913eaf38-lite.chunk.js +0 -1
  428. package/dist/scripts/7880-e464ee1c20-lite.chunk.js +0 -1
  429. package/dist/scripts/7888-52843639d6-lite.chunk.js +0 -1
  430. package/dist/scripts/7901-558fd93326-lite.chunk.js +0 -1
  431. package/dist/scripts/7989-eb45eeb999-lite.chunk.js +0 -2
  432. package/dist/scripts/8025-1552bc6cd4-lite.chunk.js +0 -1
  433. package/dist/scripts/8038-593e87cc91-lite.chunk.js +0 -1
  434. package/dist/scripts/8046-98d5f00223-lite.chunk.js +0 -1
  435. package/dist/scripts/8056-3bf98f4bae-lite.chunk.js +0 -1
  436. package/dist/scripts/8083-2b7dbb7078-lite.chunk.js +0 -1
  437. package/dist/scripts/811-20a788c3d1-lite.chunk.js +0 -1
  438. package/dist/scripts/823-42151f959d-lite.chunk.js +0 -1
  439. package/dist/scripts/8252-2ab1871639-lite.chunk.js +0 -1
  440. package/dist/scripts/8278-1aa39f0700-lite.chunk.js +0 -1
  441. package/dist/scripts/8322-8d15451400-lite.chunk.js +0 -1
  442. package/dist/scripts/8323-2743057743-lite.chunk.js +0 -2
  443. package/dist/scripts/8339-123423a4a1-lite.chunk.js +0 -1
  444. package/dist/scripts/8466-d4ae83ca9d-lite.chunk.js +0 -1
  445. package/dist/scripts/8627-8d25db4dae-lite.chunk.js +0 -1
  446. package/dist/scripts/872-2d85fdb886-lite.chunk.js +0 -1
  447. package/dist/scripts/8729-0bae4e666f-lite.chunk.js +0 -1
  448. package/dist/scripts/8745-c846303500-lite.chunk.js +0 -1
  449. package/dist/scripts/8779-725ad94876-lite.chunk.js +0 -1
  450. package/dist/scripts/8801-f6628e7896-lite.chunk.js +0 -1
  451. package/dist/scripts/8814-b278968138-lite.chunk.js +0 -1
  452. package/dist/scripts/8868-793082d45a-lite.chunk.js +0 -1
  453. package/dist/scripts/8891-7e65f394fb-lite.chunk.js +0 -1
  454. package/dist/scripts/8955-dee700a0b0-lite.chunk.js +0 -1
  455. package/dist/scripts/9001-74a8cdfe51-lite.chunk.js +0 -1
  456. package/dist/scripts/9005-b110294f6f-lite.chunk.js +0 -1
  457. package/dist/scripts/9016-0710323eaa-lite.chunk.js +0 -1
  458. package/dist/scripts/9035-658323ab5c-lite.chunk.js +0 -1
  459. package/dist/scripts/9038-49ee873485-lite.chunk.js +0 -1
  460. package/dist/scripts/9060-e6fd135bd3-lite.chunk.js +0 -1
  461. package/dist/scripts/913-fb35c1c423-lite.chunk.js +0 -1
  462. package/dist/scripts/9133-fee6bf88ed-lite.chunk.js +0 -1
  463. package/dist/scripts/9147-fca99f99f5-lite.chunk.js +0 -1
  464. package/dist/scripts/9154-c668a61332-lite.chunk.js +0 -1
  465. package/dist/scripts/9242-ec6c35ef1f-lite.chunk.js +0 -1
  466. package/dist/scripts/9264-9eb2f54153-lite.chunk.js +0 -1
  467. package/dist/scripts/9273-1078d04834-lite.chunk.js +0 -1
  468. package/dist/scripts/929-714a7dc6af-lite.chunk.js +0 -1
  469. package/dist/scripts/9312-d703a27ee2-lite.chunk.js +0 -2
  470. package/dist/scripts/9455-a719e8891b-lite.chunk.js +0 -1
  471. package/dist/scripts/9478-65c3a1110d-lite.chunk.js +0 -2
  472. package/dist/scripts/9552-b3068122ac-lite.chunk.js +0 -1
  473. package/dist/scripts/9568-cb760a70e5-lite.chunk.js +0 -1
  474. package/dist/scripts/9674-4047bee378-lite.chunk.js +0 -1
  475. package/dist/scripts/9686-1ed4393a38-lite.chunk.js +0 -1
  476. package/dist/scripts/9798-9f5c6b14b3-lite.chunk.js +0 -1
  477. package/dist/scripts/9899-d412a06379-lite.chunk.js +0 -1
  478. package/dist/scripts/bundle-47fb5f00c6.min.js +0 -2
  479. /package/dist/css/{8779-lite-0c9634ca3d.chunk.css → 6727-lite-0c9634ca3d.chunk.css} +0 -0
  480. /package/dist/css/{6936-lite-fe48bf7468.chunk.css → 7307-lite-fe48bf7468.chunk.css} +0 -0
  481. /package/dist/css/{6156-lite-979f9602d5.chunk.css → 7506-lite-979f9602d5.chunk.css} +0 -0
  482. /package/dist/css/{2812-lite-bc0b033c29.chunk.css → 7532-lite-bc0b033c29.chunk.css} +0 -0
  483. /package/dist/scripts/{1200-1bb0dd468e-lite.chunk.js.LICENSE.txt → 1200-1752bc87fb-lite.chunk.js.LICENSE.txt} +0 -0
  484. /package/dist/scripts/{2097-1c5f2a1fcb-lite.chunk.js.LICENSE.txt → 1592-ccd23c32a3-lite.chunk.js.LICENSE.txt} +0 -0
  485. /package/dist/scripts/{5875-4cdf932880-lite.chunk.js.LICENSE.txt → 2097-13e9de4525-lite.chunk.js.LICENSE.txt} +0 -0
  486. /package/dist/scripts/{2281-47c5814799-lite.chunk.js.LICENSE.txt → 2281-e04490741a-lite.chunk.js.LICENSE.txt} +0 -0
  487. /package/dist/scripts/{2452-ed97feb8f4-lite.chunk.js → 2452-ddcf0aa499-lite.chunk.js} +0 -0
  488. /package/dist/scripts/{3007-5207ac6a44-lite.chunk.js → 3007-61432f7725-lite.chunk.js} +0 -0
  489. /package/dist/scripts/{510-ffab557189-lite.chunk.js → 510-a37e6f9b68-lite.chunk.js} +0 -0
  490. /package/dist/scripts/{5134-22a153f003-lite.chunk.js → 5134-557dac36db-lite.chunk.js} +0 -0
  491. /package/dist/scripts/{6736-4ded0efe20-lite.chunk.js.LICENSE.txt → 5166-2f143e3493-lite.chunk.js.LICENSE.txt} +0 -0
  492. /package/dist/scripts/{7112-a67c8a4111-lite.chunk.js.LICENSE.txt → 5875-32c6f150e0-lite.chunk.js.LICENSE.txt} +0 -0
  493. /package/dist/scripts/{6379-19bea52589-lite.chunk.js → 6379-36c43525a5-lite.chunk.js} +0 -0
  494. /package/dist/scripts/{7515-b4383c11dd-lite.chunk.js.LICENSE.txt → 6542-ec89cb7c39-lite.chunk.js.LICENSE.txt} +0 -0
  495. /package/dist/scripts/{6725-47d9b15d14-lite.chunk.js → 6725-692a6bf6d9-lite.chunk.js} +0 -0
  496. /package/dist/scripts/{8323-2743057743-lite.chunk.js.LICENSE.txt → 6736-ac71f42fe7-lite.chunk.js.LICENSE.txt} +0 -0
  497. /package/dist/scripts/{6817-4b8f80e756-lite.chunk.js → 6817-6f2d28e1c8-lite.chunk.js} +0 -0
  498. /package/dist/scripts/{6821-a985554f7d-lite.chunk.js → 6821-6859424d65-lite.chunk.js} +0 -0
  499. /package/dist/scripts/{6930-3dae67c813-lite.chunk.js → 6930-892e4e9465-lite.chunk.js} +0 -0
  500. /package/dist/scripts/{9312-d703a27ee2-lite.chunk.js.LICENSE.txt → 7112-58d35a2e8f-lite.chunk.js.LICENSE.txt} +0 -0
  501. /package/dist/scripts/{7318-72714b7211-lite.chunk.js.LICENSE.txt → 7318-6cc811f662-lite.chunk.js.LICENSE.txt} +0 -0
  502. /package/dist/scripts/{9478-65c3a1110d-lite.chunk.js.LICENSE.txt → 7416-f33a86fe74-lite.chunk.js.LICENSE.txt} +0 -0
  503. /package/dist/scripts/{polyfills-35ba3904b7.min.js.LICENSE.txt → 7515-4f37d573b4-lite.chunk.js.LICENSE.txt} +0 -0
  504. /package/dist/scripts/{7919-ae7f21be8d-lite.chunk.js.LICENSE.txt → 7919-3ec0f37103-lite.chunk.js.LICENSE.txt} +0 -0
  505. /package/dist/scripts/{7925-1236157fe7-lite.chunk.js → 7925-a0e0e07c8a-lite.chunk.js} +0 -0
  506. /package/dist/scripts/{7989-eb45eeb999-lite.chunk.js.LICENSE.txt → 7989-5756a29b8c-lite.chunk.js.LICENSE.txt} +0 -0
  507. /package/dist/scripts/{8383-e5dee1da77-lite.chunk.js → 8383-dda3afb747-lite.chunk.js} +0 -0
  508. /package/dist/scripts/{8621-baf66fcdf3-lite.chunk.js → 8621-1bbcb94da7-lite.chunk.js} +0 -0
  509. /package/dist/scripts/{9880-253c77a29c-lite.chunk.js → 9880-925e037850-lite.chunk.js} +0 -0
  510. /package/dist/scripts/{bundle-47fb5f00c6.min.js.LICENSE.txt → bundle-de7691104b.min.js.LICENSE.txt} +0 -0
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_clickview_lite=self.webpackChunk_clickview_lite||[]).push([[4893],{26055:(e,r,t)=>{t.d(r,{A:()=>n});var a=t(1024),n=t.n(a)().createContext(null)},70197:(e,r,t)=>{var a;t.d(r,{q:()=>a}),function(e){e.YearGroupValues="yearGroupValues",e.Status="status"}(a||(a={}))},39872:(e,r,t)=>{t.d(r,{N:()=>v});var a,n,s=t(97395),o=t(99940),u=t(54610),c=t(39739);!function(e){e.Content="content",e.OnlineContent="online_content",e.User="user",e.Customer="customer",e.Tag="tag",e.Organisation="organisation",e.Channel="channel"}(a||(a={})),function(e){e.TermsGroupBy="terms-group-by"}(n||(n={}));var i=t(70197);function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}function d(e,r,t){return(r=function(e){var r=function(e,r){if("object"!==l(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var a=t.call(e,r);if("object"!==l(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"===l(r)?r:String(r)}(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function y(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,a=new Array(r);t<r;t++)a[t]=e[t];return a}var v={getUsers:function(e,r){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=arguments.length>3?arguments[3]:void 0,n=arguments.length>4?arguments[4]:void 0,o=arguments.length>5?arguments[5]:void 0,u={query:c.P.buildGetUsersQuery(r,t)};a&&(u.cursor=a);var i="school:users:".concat(e,":").concat(r);return i+=Object.keys(u).map((function(e){return u[e]})).join(":"),{url:s._.urlBuilder("{gateway}/v1/customers/".concat(e,"/users"),u),key:i,success:n,error:o}},getUser:function(e){return{url:"{gateway}/v1/users/".concat(e,"?query=avatar"),key:"school:users:".concat(e)}},bulkRemoveUsers:function(e,r,t,a){var n,s=["school:users","search:users","search:aggregation"];return(null===(n=e.userIds)||void 0===n?void 0:n.length)&&e.userIds.forEach((function(e){return s.push("school:users:".concat(e))})),{url:"{gateway}/v1/users/delete",key:"remove:school:users",invalidationKeys:s,type:o.k.POST,data:e,success:r,error:t,always:a}},createUsers:function(e,r,t,a,n){return{url:"{gateway}/v1/users",key:"create:users",data:e,type:o.k.POST,invalidationKeys:["school:users","user:count"],success:t,error:a,always:n,normalize:!1}},updateUser:function(e,r,t,a,n){var s=["school:users:".concat(e.userId)];return r.toString()===e.userId.toString()&&s.push("currentuser"),{url:"{gateway}/v1/users",key:"edit:user",type:o.k.PUT,data:e,invalidationKeys:["search:aggregation"],success:t,error:a,always:n}},searchUsers:function(e,r){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=arguments.length>3?arguments[3]:void 0,n=arguments.length>4?arguments[4]:void 0,o=arguments.length>5?arguments[5]:void 0,u=c.P.buildSearchParams(e,r,t);a&&(u.cursor=a);var i="search:users:".concat(a);return i+=Object.keys(u).sort().map((function(e){return u[e]})).join(":"),{url:s._.urlBuilder("{gateway}/v1/search/users",u),key:i,success:n,error:o}},getSearchUserIds:function(e,r){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=arguments.length>3?arguments[3]:void 0,n=arguments.length>4?arguments[4]:void 0,o=c.P.buildSearchParams(e,r,t),u="search:user:ids";return u+=Object.keys(o).sort().map((function(e){return o[e]})).join(":"),{url:s._.urlBuilder("{gateway}/v1/search/user/ids",o),key:u,normalize:!1,success:a,error:n}},getSearchAggregation:function(e){var r=e.userId,t=e.customerId,s=e.userType,u=e.queryParams,l=void 0===u?{}:u,d=e.userIds,y=e.field,v=c.P.buildSearchFiltersObject(t,s,l),p="search:aggregation:".concat(r,":").concat(t,":").concat(y,":");p+=Object.keys(v).sort().map((function(e){return v[e]})).join(":"),p+=":"+d.join(":");var g={indices:["user"],searchType:a.User,isLearner:!1,type:n.TermsGroupBy,userId:r.toString(),customerId:t.toString(),data:{field:y},idFilters:d,filters:v};return{url:"{gateway}/v1/search/aggregation",type:o.k.POST,key:p,data:g,normalize:!1,formatData:function(e){var r=e.termCount;return y!==i.q.Status?r:Object.keys(r).reduce((function(e,t){return e[t.charAt(0).toUpperCase()+t.slice(1)]=r[t],e}),{})}}},bulkToggleActivation:function(e,r,t,a,n){return{url:"{gateway}/v1/users/status",key:"update:users:status",type:o.k.PUT,data:e,success:t,error:a,always:n,invalidationKeys:["school:users:".concat(e.customerId,":").concat(r)].concat((s=e.users.map((function(e){return"school:users:".concat(e.userId)})),function(e){if(Array.isArray(e))return y(e)}(s)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(s)||function(e,r){if(e){if("string"==typeof e)return y(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?y(e,r):void 0}}(s)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),["search:aggregation"])};var s},bulkValidate:function(e,r,t,a,n){return{url:"{gateway}/v1/users/validate",type:o.k.POST,key:"validate:users",data:e,success:t,error:a,always:n,normalize:!1,formatData:function(e){return e.failedResults.map((function(e){return{errorCodes:e.errorCodes,users:[e.user]}}))}}},yearGroups:function(e){return{url:"{gateway}/v1/customers/".concat(e,"/year-groups?query={orderby:value}"),key:"yeargroups:".concat(e)}},updateAvatar:function(e,r,t,a){return{url:"{gateway}/v1/users/me/avatar",key:"update:avatar",type:o.k.PUT,invalidationKeys:["currentuser","school:users:".concat(r)],data:{fileId:e,fileIdType:u.z9.ImageAPIv2},success:t,error:a}},deleteAvatar:function(e,r,t,a){return{url:"{gateway}/v1/users/me/avatar/".concat(e),key:"delete:avatar",type:o.k.DELETE,updateState:{keys:["school:users:".concat(r),"currentuser"],updateData:function(e){var t,a=e["school:users:".concat(r)],n=e.currentuser;return a.avatar=null,n.avatar=null,d(t={},"school:users:".concat(r),a),d(t,"currentuser",n),t}},success:t,error:a}},changeEmail:function(e,r,t,a){return{url:"{gateway}/v1/users/me/email",key:"change:email",type:o.k.PUT,data:{email:e},success:r,error:t,always:a}},changePassword:function(e,r,t,a){return{url:"{gateway}/v1/users/me/password",key:"change:password",type:o.k.PUT,data:{currentPassword:e.currentPassword,newPassword:e.newPassword},success:r,error:t,always:a}},changeUserPassword:function(e,r,t,a,n,s,u){return{url:"{gateway}/v1/users/admin/change-password",key:"change:password:".concat(r,":").concat(e),type:o.k.PUT,data:{userId:e,newPassword:t,changeOnNextLogin:a},success:n,error:s,always:u}},resendActivationEmail:function(e,r,t){return{url:"{gateway}/v1/users/admin/activation",key:"send:activation:email",type:o.k.POST,data:{userId:e},success:r,error:t}},sendPasswordResetEmail:function(e,r,t,a){return{url:"{gateway}/v1/users/admin/account-reminder",key:"send:password:reset:email",type:o.k.POST,data:{userIds:[e],customerId:r},success:t,error:a}},resendVerificationEmail:function(e,r,t,a){return{url:"{gateway}/v1/users/admin/email-verification",key:"send:verification:email",type:o.k.POST,data:{userId:e,customerId:r},success:t,error:a}},exportList:function(e,r,t,a){return{url:s._.urlBuilder("{gateway}/v1/customers/".concat(e,"/users/report"),{userType:r}),key:"export:users:".concat(r),type:o.k.GET,formatData:function(e){return"data:text/csv;charset=utf-8,".concat(e)},success:t,error:a,invalidationKeys:["export:users:".concat(r)],normalize:!1}},userCount:function(e,r){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=c.P.buildSearchParams(e,r,t),n="search:user:count";return n+=Object.keys(a).sort().map((function(e){return a[e]})).join(":"),{url:s._.urlBuilder("{gateway}/v1/search/user/count",a),key:n,normalize:!1}},authenticationMethods:function(e){return{url:s._.urlBuilder("{gateway}/v1/users/authentication-methods",{id:e}),key:"login:methods:".concat(e.sort().join(":")),normalizeOptions:{idAttribute:"userId"}}},getIdentityProviders:function(e){return{url:"{gateway}/v1/customers/".concat(e,"/identity-providers"),key:"identity:providers:".concat(e),normalize:!1}},getSsoMappings:function(e){return{url:"{gateway}/v1/customers/".concat(e,"/sso-year-group-mappings"),key:"sso:year:group:mappings:".concat(e),normalize:!1}},updateSsoMappings:function(e,r){return{url:"{gateway}/v1/customers/".concat(e,"/sso-year-group-mappings"),key:"sso:year:group:mappings:".concat(e,":update"),type:o.k.POST,invalidationKeys:"sso:year:group:mappings:".concat(e),data:r}}}},44893:(e,r,t)=>{t.r(r),t.d(r,{ToggleUserStatusView:()=>I});var a=t(1024),n=t.n(a),s=t(58566),o=t(23481),u=t(20354),c=t(31949),i=t(9111),l=t(40424),d=t(69883),y=t(39872),v=t(13876),p=t(83345);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}var m="userManager.toggleUserStatus",f=o.T.encloseNamespace(m);function h(e){var r,t,a=(r=n().useState(!1),t=2,function(e){if(Array.isArray(e))return e}(r)||function(e,r){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var a,n,s,o,u=[],c=!0,i=!1;try{if(s=(t=t.call(e)).next,0===r){if(Object(t)!==t)return;c=!1}else for(;!(c=(a=s.call(t)).done)&&(u.push(a.value),u.length!==r);c=!0);}catch(e){i=!0,n=e}finally{try{if(!c&&null!=t.return&&(o=t.return(),Object(o)!==o))return}finally{if(i)throw n}}return u}}(r,t)||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}}(r,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.")}()),s=a[0],o=a[1],u=e.user,c=e.newStatus===l.w.Active?["activateMessage1","activateMessage2","activateMessage3"]:["deactivateMessage1","deactivateMessage2","deactivateMessage3","deactivateMessage4"];return n().createElement(n().Fragment,null,n().createElement("p",{className:"p-0"},n().createElement(p.x,{namespace:m,phrase:e.newStatus===l.w.Active?"activateCheck":"deactivateCheck",options:{name:"".concat(u.name).concat(u.surname?" ".concat(u.surname):""," (").concat(u.username,")")}})),n().createElement("ul",null,c.map((function(e){return n().createElement("li",{key:e},n().createElement(p.x,{namespace:m,phrase:e}))}))),n().createElement(v.u,null,n().createElement(v.u.Cancel,{onClick:e.onClickCancel}),n().createElement(v.u.Submit,{variant:e.newStatus===l.w.Disabled?"danger":"dark",onClick:function(){o(!0),e.onClickConfirm()},text:f(e.newStatus===l.w.Disabled?"deactivate":"activate"),showSpinner:s})))}var w=t(39739),k=t(26055),b=t(43820),S=t(49985),P=t(65858),T=o.T.encloseNamespace("userManager.toggleUserStatusView"),A=function(e){return e?e.status!==l.w.Active?T("reactivateTitle"):T("deactivateTitle"):""};function I(e){var r,t=u.a.useBasicFetch(y.N.getUser(e.id)),a=u.a.useBasicFetch(c.N.currentUser()),o=(0,s.useDispatch)(),v=(0,d.Z)(),p=(null===(r=t.data)||void 0===r?void 0:r.status)===l.w.Active?l.w.Disabled:l.w.Active,g=!!a.data&&!!t.data;return n().createElement(k.A.Provider,{value:b.a.Primary},n().createElement(i.G,{title:A(t.data),closePopup:e.closePopup,showLoadingSpinner:!g},g&&n().createElement(h,{user:t.data,onClickConfirm:function(){var r=w.P.formatToggleStatusRequest(t.data,a.data.customerId,p);u.a.fetch(o,y.N.bulkToggleActivation(r,e.userType,(function(){S.k.logUserAction({customerId:a.data.customerId,userId:t.data.id},{actionType:P.UserAction.Activate,entity:P.EntityType.User,descriptor:p===l.w.Active?P.ToggleDescriptor.On:P.ToggleDescriptor.Off,workflowPhase:P.WorkflowPhase.Complete,location:P.LocationContext.Popup}),v.success(T(p===l.w.Active?"reactivateSuccess":"deactivateSuccess")),e.closePopup()}),(function(){v.error(T(p===l.w.Active?"reactivateError":"deactivateError")),e.closePopup()})))},onClickCancel:e.closePopup,newStatus:p})))}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_clickview_lite=self.webpackChunk_clickview_lite||[]).push([[4895],{34895:(e,t,r)=>{r.r(t),r.d(t,{RemoveStudentsFromClassroomView:()=>b});var n=r(1024),o=r.n(n),a=r(58566),l=r(23481),s=r(20354),c=r(9111),u=r(13876),i=r(83345),m=r(69883),d=r(88630),p=r(49985),f=r(31949);function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var v="classrooms.removeStudentsFromClassroom",y=l.T.encloseNamespace(v);function b(e){var t,r,n,l=(r=o().useState(!1),n=2,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,o,a,l,s=[],c=!0,u=!1;try{if(a=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=a.call(r)).done)&&(s.push(n.value),s.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=r.return&&(l=r.return(),Object(l)!==l))return}finally{if(u)throw o}}return s}}(r,n)||function(e,t){if(e){if("string"==typeof e)return h(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?h(e,t):void 0}}(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.")}()),b=l[0],g=l[1],S=s.a.useBasicFetch(f.N.currentUser()),w=s.a.useBasicFetch(S.data&&d.F.getClassroom(e.classroomId,S.data.id)),C=(0,a.useDispatch)(),k=(0,m.Z)(),I={smartCount:e.studentIds.length,classroomName:null===(t=w.data)||void 0===t?void 0:t.name,escapeText:!0};return o().createElement(c.G,{title:y("title"),closePopup:e.closePopup,showLoadingSpinner:!w.data},w.data&&o().createElement(o().Fragment,null,o().createElement("p",null,o().createElement(i.x,{namespace:v,phrase:"confirm",options:I})),o().createElement(u.u,null,o().createElement(u.u.Cancel,{onClick:e.closePopup}),o().createElement(u.u.Submit,{onClick:function(){g(!0),s.a.fetch(C,d.F.removeStudents(e.studentIds,e.classroomId,(function(){g(!1),p.k.logUserAction({id:e.classroomId,studentCount:e.studentIds.length},e.analyticsOptions),k.success(y("success",I)),e.closePopup()}),(function(){k.error(y("error")),e.closePopup()})))},variant:"danger",text:y("remove"),showSpinner:b}))))}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_clickview_lite=self.webpackChunk_clickview_lite||[]).push([[5018],{71106:(i,e,a)=>{a.r(e),a.d(e,{PreEditClipTimepointsPopupView:()=>r});var t=a(1024),l=a.n(t),d=a(20354),p=a(81886),n=a(43012),o=a(97291),c=a(14070);function r(i){var e,a,t,r,s=d.a.useBasicFetch(!!i.id&&n.e.clipWithAllInteractives(i.id)),v=!!(null===(t=null===(a=null===(e=s.data)||void 0===e?void 0:e.interactives)||void 0===a?void 0:a.data)||void 0===t?void 0:t.length);l().useEffect((function(){var e;if(null===(e=s.data)||void 0===e?void 0:e.id){if(!v)return p.Q.AppLinkHelper.trigger({application:o.O.CLIPS,action:c.e.Clips.EDIT_CLIP_TIMEPOINTS,args:[i.id],params:{startTime:s.data.startTime,endTime:s.data.endTime}}),void i.closePopup();p.Q.AppLinkHelper.trigger({application:o.O.CLIPS,action:c.e.Clips.COPY_CLIP,args:[i.id]},{replace:!0}),i.closePopup()}}),[null===(r=s.data)||void 0===r?void 0:r.id,v])}}}]);
@@ -0,0 +1,2 @@
1
+ /*! For license information please see 5166-2f143e3493-lite.chunk.js.LICENSE.txt */
2
+ "use strict";(self.webpackChunk_clickview_lite=self.webpackChunk_clickview_lite||[]).push([[5166],{65166:(t,e,r)=>{r.d(e,{h:()=>Ze,e:()=>Je});var n=r(1024),o=r.n(n),i=r(65858),a=r(23481),c=r(58130),l=r(2786),u=r(83914),s=r(99742),f=function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=window.location.pathname,n=r;return t&&(n+=window.location.search),e?encodeURIComponent(n):n};function p(t,e){var r=t===e?"bg-info":"bg-light";return"".concat("rounded-circle mx-2 HuHpb"," ").concat(r)}function h(t){return o().createElement("div",{className:"w-100 d-flex align-items-center justify-content-center"},t.crumbs.map((function(e){return o().createElement("div",{className:p(t.currentStep,e),key:e})})))}var d="https://www.clickview.com.au",m="https://www.clickview.co.uk",y="https://www.clickview.co.nz",v="https://www.clickvieweducation.com",g="https://www.clickviewsupport.com/hc/en-au",b="https://www.clickviewsupport.com/hc/en-au#gb",w="https://www.clickviewsupport.com/hc/en-au#nz",x="https://www.clickviewsupport.com/hc/en-au#us",E={getMarketingUrlForGeoLocation:function(t){return{au:d,uk:m,us:v,gb:m,gg:m,im:m,je:m,ie:m,nz:y}[null==t?void 0:t.countryCode]||v},getMarketingSalesContactForGeoLocation:function(t){var e=this.getMarketingUrlForGeoLocation(t);return t&&"nz"===t.countryCode?e+"/contact-us/":e+"/contact-us/trial/"},getTermsAndConditionsLink:function(t){return this.getMarketingUrlForGeoLocation(t)+"/terms-and-conditions/"},getSupportUrlForGeoLocation:function(t){return{au:g,uk:b,us:x,gb:b,gg:b,im:b,je:b,ie:b,nz:w}[null==t?void 0:t.countryCode]||x},getLoginLink:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e="/login";return t.length?"".concat(e,"?redirectUrl=").concat(t):"/login"}};function S(t){return o().createElement("a",{onClick:t.onClick,className:"cursor-pointer d-inline-flex align-items-center"},o().createElement(u.x,{svgName:c.vn.ChevronLeft,size:u.S.Medium}),t.children)}var L=r(83345),k=r(49985),N=r(55460);function j(t){var e=t.href,r=t.className,o=t.newTab,i=t.children,a={onClick:function(r){var n;r.preventDefault(),null===(n=t.onClick)||void 0===n||n.call(t,r),t.analyticsData&&t.analyticsOptions&&k.k.logUserAction(Object.assign({href:e},t.analyticsData),t.analyticsOptions),N.LocationUtils.PageLoad(e,o)},href:e,className:r};return n.createElement("a",Object.assign({},a),i)}var O="signUp.general.termsAndConditions";function I(t){return o().createElement("span",{className:"text-center text-md mt-2 text-normal"},o().createElement(L.x,{phrase:"text",namespace:O})," ",o().createElement(j,{href:t.link,onClick:t.onClick,className:"info-link",newTab:!0},o().createElement(L.x,{phrase:"link",namespace:O})))}var A="signUp.general.existingAccountSignIn";function C(t){return o().createElement(o().Fragment,null,o().createElement(L.x,{phrase:"text",namespace:A}),o().createElement(j,{href:t.link,onClick:t.onClick,className:"info-link pl-1"},o().createElement(L.x,{phrase:"link",namespace:A})))}const P="xOflD",T="QrYAM";function _(t){var e=t.geoLocation,r=t.currentStep,n=t.previousStep,a=t.hasPreviousStep,p=t.showBreadCrumbs,d=t.showBackButton,m=t.closeApp,y=t.children,v=E.getTermsAndConditionsLink(e),g=["enter-email","find-school"];function b(){return["enter-email","find-school","cant-find-school"].includes(r)}function w(){n(),t.logUserAction({},{actionType:i.UserAction.Click,descriptor:i.SignUpDescriptors.Back,workflowPhase:i.WorkflowPhase.Back})}var x=["enter-email","find-school","cant-find-school"].includes(t.currentStep),L=x?"".concat(T," ").concat("OAoWt"):T;return o().createElement("div",{className:L},o().createElement("div",{className:"row mx-0 p-3 ".concat(P)},o().createElement("div",{className:"col d-lg-none"},a()&&b()&&d&&o().createElement(S,{onClick:w})),o().createElement("div",{className:"col col-lg-6 px-0"},o().createElement("div",{className:"c4lu1"},o().createElement("div",{className:"d-none d-lg-block"},x?o().createElement(l.Yo,null):o().createElement(l.$S,null)),o().createElement("div",{className:"d-block d-lg-none"},o().createElement(l.$S,null)))),o().createElement("div",{className:"col col-lg-6 d-flex flex-row justify-content-between px-0"},o().createElement("div",{className:"px-3"},o().createElement("div",{className:"d-none d-lg-block"},a()&&b()&&d&&o().createElement(S,{onClick:w}))),o().createElement("a",{onClick:m,className:"cursor-pointer d-inline-flex align-items-center"},o().createElement(u.x,{svgName:c.vn.Close,size:u.S.Medium})))),o().createElement("div",{className:"row mx-0 flex-grow-1 ".concat(P)},x&&o().createElement("div",{className:"col-6 px-0 d-none d-lg-block"},o().createElement("div",{className:"h-100 d-flex align-items-center justify-content-center"},o().createElement("img",{src:s.W.SignUp.POPUP_DASHBOARD,className:"w-100 p-4 pb-5"}))),o().createElement("div",{className:"px-4 pt-0 pb-4 ".concat(x?"col-12 col-lg-6":"col-12")},o().createElement("div",{className:"d-flex flex-column h-100"},g.includes(t.currentStep)&&p&&o().createElement("div",{className:"d-flex mb-2"},o().createElement(h,{crumbs:g,currentStep:r})),o().createElement("div",{className:"position-relative flex-grow-1"},y),o().createElement("div",{className:"position-relative text-center"},"select-type"===r&&o().createElement(C,{link:E.getLoginLink(f()),onClick:function(){t.logUserAction({},{actionType:i.UserAction.Click,descriptor:i.SignUpDescriptors.SignIn})}}),"enter-email"===r&&o().createElement(I,{link:v,onClick:function(){t.logUserAction({},{actionType:i.UserAction.Click,descriptor:i.SignUpDescriptors.TermsAndConditions})}}))))))}_.defaultProps={showBreadCrumbs:!0,showBackButton:!0};var U=r(2903);function F(t){var e=t.geoLocation,r=t.currentStep,n=t.previousStep,a=t.hasPreviousStep,c=t.showBreadCrumbs,u=t.showBackButton,s=t.children,f=E.getTermsAndConditionsLink(e);return o().createElement("div",{className:"d-flex flex-column justify-content-between px-4 py-0 ".concat("Ct4Ij")},o().createElement("div",{className:"d-flex mt-3 mb-2"},c&&o().createElement(h,{crumbs:["select-type","enter-email","find-school"],currentStep:r})),o().createElement("div",{className:"position-relative mx-auto w-100",style:{maxWidth:"select-type"===r?"42rem":["enter-email","find-school","cant-find-school"].includes(r)?"23.125rem":"30rem"}},o().createElement("div",{className:"d-flex flex-row justify-content-center align-items-center mt-2 mb-3"},a()&&u&&["enter-email","find-school","cant-find-school"].includes(r)&&o().createElement(S,{onClick:function(){n(),t.logUserAction({step:r},{actionType:i.UserAction.Click,descriptor:i.SignUpDescriptors.Back,workflowPhase:i.WorkflowPhase.Back})}}),o().createElement("div",{className:"d-flex justify-content-center align-items-center px-2 ".concat("RcL6k")},o().createElement(l.$S,null))),s),o().createElement("div",{className:"position-relative mb-4 text-center"},"select-type"===r&&o().createElement(C,{link:E.getLoginLink(),onClick:function(){t.logUserAction({},{actionType:i.UserAction.Click,descriptor:i.SignUpDescriptors.SignIn})}}),["enter-email","find-school"].includes(r)&&o().createElement(I,{link:f,onClick:function(){t.logUserAction({},{actionType:i.UserAction.Click,descriptor:i.SignUpDescriptors.TermsAndConditions})}})))}var G;function D(t){return D="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},D(t)}function M(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==D(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==D(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===D(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}F.defaultProps={showBreadCrumbs:!0,showBackButton:!0};var R={"active-trial":_,"cant-find-school":_,"enter-email":_,"existing-customer":_,"expired-trial":_,"find-school":_,"select-type":_,"trial-not-available":_,"verify-account":_},B={"active-trial":F,"cant-find-school":F,"enter-email":F,"existing-customer":F,"expired-trial":F,"find-school":F,"select-type":F,"trial-not-available":F,"verify-account":F},$=(M(G={},U.c.FullPage,B),M(G,U.c.Popup,R),G),K=r(99940);function Y(t){return Y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Y(t)}function W(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function z(t,e){if(e&&("object"===Y(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function H(t){var e="function"==typeof Map?new Map:void 0;return H=function(t){if(null===t||(r=t,-1===Function.toString.call(r).indexOf("[native code]")))return t;var r;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,n)}function n(){return q(t,arguments,X(this).constructor)}return n.prototype=Object.create(t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),V(n,t)},H(t)}function q(t,e,r){return q=J()?Reflect.construct.bind():function(t,e,r){var n=[null];n.push.apply(n,e);var o=new(Function.bind.apply(t,n));return r&&V(o,r.prototype),o},q.apply(null,arguments)}function J(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}function V(t,e){return V=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},V(t,e)}function X(t){return X=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},X(t)}var Z=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&V(t,e)}(i,t);var e,r,n,o=(e=i,r=J(),function(){var t,n=X(e);if(r){var o=X(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return z(this,t)});function i(t){var e,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"Error";return W(this,i),(e=o.call(this,r)).body=t,e}return n=i,Object.defineProperty(n,"prototype",{writable:!1}),n}(H(Error));function Q(t){return Q="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Q(t)}function tt(){tt=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function u(t,e,r,o){var i=e&&e.prototype instanceof p?e:p,a=Object.create(i.prototype),c=new k(o||[]);return n(a,"_invoke",{value:x(t,r,c)}),a}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=u;var f={};function p(){}function h(){}function d(){}var m={};l(m,i,(function(){return this}));var y=Object.getPrototypeOf,v=y&&y(y(N([])));v&&v!==e&&r.call(v,i)&&(m=v);var g=d.prototype=p.prototype=Object.create(m);function b(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function o(n,i,a,c){var l=s(t[n],t,i);if("throw"!==l.type){var u=l.arg,f=u.value;return f&&"object"==Q(f)&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){o("next",t,a,c)}),(function(t){o("throw",t,a,c)})):e.resolve(f).then((function(t){u.value=t,a(u)}),(function(t){return o("throw",t,a,c)}))}c(l.arg)}var i;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return i=i?i.then(n,n):n()}})}function x(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=E(a,r);if(c){if(c===f)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var l=s(t,e,r);if("normal"===l.type){if(n=r.done?"completed":"suspendedYield",l.arg===f)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(n="completed",r.method="throw",r.arg=l.arg)}}}function E(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,E(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;var o=s(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,f;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function S(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function L(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function k(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(S,this),this.reset(!0)}function N(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:j}}function j(){return{value:void 0,done:!0}}return h.prototype=d,n(g,"constructor",{value:d,configurable:!0}),n(d,"constructor",{value:h,configurable:!0}),h.displayName=l(d,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,l(t,c,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},b(w.prototype),l(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new w(u(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},b(g),l(g,c,"Generator"),l(g,i,(function(){return this})),l(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=N,k.prototype={constructor:k,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(L),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),l=r.call(i,"finallyLoc");if(c&&l){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),L(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;L(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:N(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}function et(t){var e={method:K.k.GET,headers:{"Content-type":"application/json"}};t.method&&(e=Object.assign(Object.assign({},e),{method:t.method})),t.init&&(e=Object.assign(Object.assign({},e),t.init));var r,n,o,i=t.url;return e.method===K.k.GET&&t.data?(r=i,n=t.data,o=r,Object.keys(n).forEach((function(t,e){n[t]&&(o+=0===e?"?":"&",o+="".concat(t,"=").concat(encodeURIComponent(n[t])))})),i=o):t.data&&(e=Object.assign(Object.assign({},e),{body:JSON.stringify(t.data)})),{init:e,url:i}}var rt={asyncFetch:function(t){return e=this,r=void 0,n=void 0,o=tt().mark((function e(){var r,n,o;return tt().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=et(t),e.next=3,fetch(r.url,r.init);case 3:if((n=e.sent).ok){e.next=9;break}return e.next=7,n.json();case 7:throw o=e.sent,new Z(o);case 9:if(204!==n.status){e.next=11;break}return e.abrupt("return");case 11:return e.next=13,n.json();case 13:return e.abrupt("return",e.sent);case 14:case"end":return e.stop()}}),e)})),new(n||(n=Promise))((function(t,i){function a(t){try{l(o.next(t))}catch(t){i(t)}}function c(t){try{l(o.throw(t))}catch(t){i(t)}}function l(e){var r;e.done?t(e.value):(r=e.value,r instanceof n?r:new n((function(t){t(r)}))).then(a,c)}l((o=o.apply(e,r||[])).next())}));var e,r,n,o},fetch:function(t){function e(e){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}((function(t){var e=et(t);return fetch(e.url,e.init).then((function(t){if(204!==t.status)return t.json()})).then((function(e){return t.success&&t.success(e),e})).catch((function(e){return t.error&&t.error(),e})).finally((function(){t.always&&t.always()}))}))};function nt(t){return nt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},nt(t)}function ot(){ot=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function u(t,e,r,o){var i=e&&e.prototype instanceof p?e:p,a=Object.create(i.prototype),c=new k(o||[]);return n(a,"_invoke",{value:x(t,r,c)}),a}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=u;var f={};function p(){}function h(){}function d(){}var m={};l(m,i,(function(){return this}));var y=Object.getPrototypeOf,v=y&&y(y(N([])));v&&v!==e&&r.call(v,i)&&(m=v);var g=d.prototype=p.prototype=Object.create(m);function b(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function o(n,i,a,c){var l=s(t[n],t,i);if("throw"!==l.type){var u=l.arg,f=u.value;return f&&"object"==nt(f)&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){o("next",t,a,c)}),(function(t){o("throw",t,a,c)})):e.resolve(f).then((function(t){u.value=t,a(u)}),(function(t){return o("throw",t,a,c)}))}c(l.arg)}var i;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return i=i?i.then(n,n):n()}})}function x(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=E(a,r);if(c){if(c===f)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var l=s(t,e,r);if("normal"===l.type){if(n=r.done?"completed":"suspendedYield",l.arg===f)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(n="completed",r.method="throw",r.arg=l.arg)}}}function E(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,E(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;var o=s(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,f;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function S(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function L(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function k(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(S,this),this.reset(!0)}function N(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:j}}function j(){return{value:void 0,done:!0}}return h.prototype=d,n(g,"constructor",{value:d,configurable:!0}),n(d,"constructor",{value:h,configurable:!0}),h.displayName=l(d,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,l(t,c,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},b(w.prototype),l(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new w(u(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},b(g),l(g,c,"Generator"),l(g,i,(function(){return this})),l(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=N,k.prototype={constructor:k,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(L),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),l=r.call(i,"finallyLoc");if(c&&l){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),L(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;L(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:N(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}var it=function(t,e,r,n){return new(r||(r=Promise))((function(o,i){function a(t){try{l(n.next(t))}catch(t){i(t)}}function c(t){try{l(n.throw(t))}catch(t){i(t)}}function l(t){var e;t.done?o(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(a,c)}l((n=n.apply(t,e||[])).next())}))},at={checkTrialStatus:function(t,e,r,n){var o={email:t.email};rt.fetch({url:"/api/user/trials/status",data:o,success:e,error:r,always:n})},checkProspectTrialStatus:function(t,e,r,n){var o="/api/user/trials/prospect/".concat(t.prospectId,"/status");rt.fetch({url:o,success:e,error:r,always:n})},createTrial:function(t){return it(this,void 0,void 0,ot().mark((function e(){var r;return ot().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r={prospectId:t.prospectId,firstName:"Trial",surname:"User",email:t.email,userType:t.userType,accessPolicy:t.accessPolicy,appLink:null==t?void 0:t.appLink},e.abrupt("return",rt.asyncFetch({url:"/api/user/trials",method:K.k.POST,data:r}));case 2:case"end":return e.stop()}}),e)})))},resendTrialEmail:function(t,e){return it(this,void 0,void 0,ot().mark((function r(){var n;return ot().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n={email:e.email,appLink:null==e?void 0:e.appLink},r.abrupt("return",rt.asyncFetch({url:"/api/user/trials/users/".concat(t,"/send-activation-email"),method:K.k.POST,data:n}));case 2:case"end":return r.stop()}}),r)})))}},ct=r(1048);function lt(t){return lt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},lt(t)}function ut(){ut=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function u(t,e,r,o){var i=e&&e.prototype instanceof p?e:p,a=Object.create(i.prototype),c=new k(o||[]);return n(a,"_invoke",{value:x(t,r,c)}),a}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=u;var f={};function p(){}function h(){}function d(){}var m={};l(m,i,(function(){return this}));var y=Object.getPrototypeOf,v=y&&y(y(N([])));v&&v!==e&&r.call(v,i)&&(m=v);var g=d.prototype=p.prototype=Object.create(m);function b(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function o(n,i,a,c){var l=s(t[n],t,i);if("throw"!==l.type){var u=l.arg,f=u.value;return f&&"object"==lt(f)&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){o("next",t,a,c)}),(function(t){o("throw",t,a,c)})):e.resolve(f).then((function(t){u.value=t,a(u)}),(function(t){return o("throw",t,a,c)}))}c(l.arg)}var i;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return i=i?i.then(n,n):n()}})}function x(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=E(a,r);if(c){if(c===f)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var l=s(t,e,r);if("normal"===l.type){if(n=r.done?"completed":"suspendedYield",l.arg===f)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(n="completed",r.method="throw",r.arg=l.arg)}}}function E(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,E(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;var o=s(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,f;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function S(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function L(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function k(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(S,this),this.reset(!0)}function N(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:j}}function j(){return{value:void 0,done:!0}}return h.prototype=d,n(g,"constructor",{value:d,configurable:!0}),n(d,"constructor",{value:h,configurable:!0}),h.displayName=l(d,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,l(t,c,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},b(w.prototype),l(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new w(u(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},b(g),l(g,c,"Generator"),l(g,i,(function(){return this})),l(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=N,k.prototype={constructor:k,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(L),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),l=r.call(i,"finallyLoc");if(c&&l){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),L(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;L(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:N(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}function st(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var ft=["us","au","nz","gb","gg","im","je","ie"];function pt(){var t,e,r=(t=o().useState(null),e=2,function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],l=!0,u=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);l=!0);}catch(t){u=!0,o=t}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return st(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?st(t,e):void 0}}(t,e)||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.")}()),n=r[0],i=r[1];function a(t){var e;ft.includes(null===(e=null==t?void 0:t.countryCode)||void 0===e?void 0:e.toLowerCase())?i(t):i({countryCode:"us"})}return o().useEffect((function(){!function(){var t,e,r,o;t=this,e=void 0,r=void 0,o=ut().mark((function t(){return ut().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!n){t.next=2;break}return t.abrupt("return");case 2:return t.prev=2,t.next=5,rt.fetch({url:"/api/geolocation"});case 5:a(t.sent),t.next=12;break;case 9:t.prev=9,t.t0=t.catch(2),a(null);case 12:case"end":return t.stop()}}),t,null,[[2,9]])})),new(r||(r=Promise))((function(n,i){function a(t){try{l(o.next(t))}catch(t){i(t)}}function c(t){try{l(o.throw(t))}catch(t){i(t)}}function l(t){var e;t.done?n(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(a,c)}l((o=o.apply(t,e||[])).next())}))}()}),[]),n}function ht(t){return ht="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ht(t)}function dt(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==ht(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==ht(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===ht(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function mt(t){return function(t){if(Array.isArray(t))return gt(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||vt(t)||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 yt(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],l=!0,u=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);l=!0);}catch(t){u=!0,o=t}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return c}}(t,e)||vt(t,e)||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 vt(t,e){if(t){if("string"==typeof t)return gt(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?gt(t,e):void 0}}function gt(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var bt={userId:void 0,email:"",type:void 0,schoolLocality:void 0,schoolName:void 0,schoolPostCode:void 0,longitude:void 0,latitude:void 0,prospectId:void 0,city:void 0,schoolType:void 0,country:void 0,province:void 0,appLink:void 0};var wt,xt,Et=r(2102);function St(t){return St="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},St(t)}function Lt(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==St(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==St(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===St(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}!function(t){t.InvalidEmail="invalid-email",t.Unavailable="unavailable",t.Expired="expired",t.Active="active",t.NotRequired="not-required",t.Available="available"}(wt||(wt={}));var kt=(Lt(xt={},wt.InvalidEmail,"enter-email"),Lt(xt,wt.Active,"active-trial"),Lt(xt,wt.Available,"find-school"),Lt(xt,wt.Expired,"expired-trial"),Lt(xt,wt.NotRequired,"existing-customer"),Lt(xt,wt.Unavailable,"trial-not-available"),xt);function Nt(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],l=!0,u=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);l=!0);}catch(t){u=!0,o=t}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return jt(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?jt(t,e):void 0}}(t,e)||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 jt(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var Ot=new RegExp(/^[^\s@]+@[^\s@]+\.[^\s@]+$/),It="signUp.enterEmailStepItem",At=a.T.encloseNamespace(It),Ct="signUp.expiredTrialStepItem";function Pt(t){if((null==t?void 0:t.previousStepIds)&&"find-school"===t.previousStepIds[t.previousStepIds.length-1]){var e=t.schoolName||"Your school";return o().createElement("h3",{className:"text-center font-weight-500"},o().createElement(L.x,{namespace:Ct,phrase:"schoolMessageTitle",options:{schoolName:e}}))}return o().createElement("h3",{className:"text-center font-weight-500"},o().createElement(L.x,{namespace:Ct,phrase:"userMessageTitle"}))}function Tt(t){return Tt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Tt(t)}function _t(){_t=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function u(t,e,r,o){var i=e&&e.prototype instanceof p?e:p,a=Object.create(i.prototype),c=new k(o||[]);return n(a,"_invoke",{value:x(t,r,c)}),a}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=u;var f={};function p(){}function h(){}function d(){}var m={};l(m,i,(function(){return this}));var y=Object.getPrototypeOf,v=y&&y(y(N([])));v&&v!==e&&r.call(v,i)&&(m=v);var g=d.prototype=p.prototype=Object.create(m);function b(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function o(n,i,a,c){var l=s(t[n],t,i);if("throw"!==l.type){var u=l.arg,f=u.value;return f&&"object"==Tt(f)&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){o("next",t,a,c)}),(function(t){o("throw",t,a,c)})):e.resolve(f).then((function(t){u.value=t,a(u)}),(function(t){return o("throw",t,a,c)}))}c(l.arg)}var i;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return i=i?i.then(n,n):n()}})}function x(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=E(a,r);if(c){if(c===f)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var l=s(t,e,r);if("normal"===l.type){if(n=r.done?"completed":"suspendedYield",l.arg===f)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(n="completed",r.method="throw",r.arg=l.arg)}}}function E(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,E(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;var o=s(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,f;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function S(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function L(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function k(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(S,this),this.reset(!0)}function N(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:j}}function j(){return{value:void 0,done:!0}}return h.prototype=d,n(g,"constructor",{value:d,configurable:!0}),n(d,"constructor",{value:h,configurable:!0}),h.displayName=l(d,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,l(t,c,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},b(w.prototype),l(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new w(u(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},b(g),l(g,c,"Generator"),l(g,i,(function(){return this})),l(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=N,k.prototype={constructor:k,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(L),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),l=r.call(i,"finallyLoc");if(c&&l){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),L(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;L(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:N(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}var Ut={search:function(t,e,r,n){var o={Longitude:t.longitude,Latitude:t.latitude};rt.fetch({url:"/api/prospects/search",data:o,success:e,error:r,always:n})},create:function(t){return e=this,r=void 0,n=void 0,o=_t().mark((function e(){return _t().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",rt.asyncFetch({url:"/api/prospects",method:K.k.POST,data:t}));case 1:case"end":return e.stop()}}),e)})),new(n||(n=Promise))((function(t,i){function a(t){try{l(o.next(t))}catch(t){i(t)}}function c(t){try{l(o.throw(t))}catch(t){i(t)}}function l(e){var r;e.done?t(e.value):(r=e.value,r instanceof n?r:new n((function(t){t(r)}))).then(a,c)}l((o=o.apply(e,r||[])).next())}));var e,r,n,o}};const Ft="LIq3Y",Gt="aFSaR",Dt="hM9s4",Mt="Sp6A5";function Rt(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],l=!0,u=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);l=!0);}catch(t){u=!0,o=t}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Bt(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Bt(t,e):void 0}}(t,e)||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 Bt(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var $t="signUp.searchSchoolStepGroup",Kt=a.T.encloseNamespace($t);function Yt(t){var e=t.filteredSchoolsList,r=t.getSchoolName,n=t.onSchoolSuggestionClick;return o().createElement(o().Fragment,null,e.map((function(t){return o().createElement("div",{className:Mt,key:t.id,onClick:function(){return n(t)}},r(t))})))}function Wt(t){return o().createElement("div",{className:"info-link ".concat("xSdn2"),onClick:t.handleNoSuggestion},o().createElement(L.x,{namespace:$t,phrase:"cantFindSchool"}))}function zt(t){var e=Rt(o().useState(!0),2),r=e[0],n=e[1],a=Rt(o().useState(t.schoolName&&t.schoolPostCode?t.schoolName+", "+t.schoolPostCode:t.schoolName?t.schoolName:""),2),c=a[0],l=a[1],u=Rt(o().useState(!!t.prospectId),2),s=u[0],f=u[1],p=Rt(o().useState(),2),h=p[0],d=p[1],m=Rt(o().useState(),2),y=m[0],v=m[1];function g(t){return t.name}function b(){return r&&!s}function w(){return!r&&!s&&!(null==y?void 0:y.length)}return o().useEffect((function(){if(c.length||s)if(s)v(void 0);else{var t=null==h?void 0:h.filter((function(t){return g(t).toLocaleLowerCase().includes(c.toLocaleLowerCase())}));v(t)}else v(h)}),[c,h,s]),o().useEffect((function(){s||(n(!0),Ut.search({latitude:t.latitude,longitude:t.longitude},(function(t){return d(t)}),null,(function(){return n(!1)})))}),[s]),o().useEffect((function(){t.prospectId?f(!0):f(!1)}),[t.prospectId]),o().useEffect((function(){(null==y?void 0:y.length)||"cant-find-school"===t.currentStepId?"verify-account"===t.currentStepId||t.setNextStepId("verify-account"):t.setNextStepId("cant-find-school")}),[y]),o().createElement("div",{className:"mb-2 position-relative"},o().createElement("input",{value:c,onChange:function(e){(t.schoolName||t.setProspectId)&&t.clearStepItemData(),e.target.value!==c&&l(e.target.value)},className:"form-control ".concat((null==y?void 0:y.length)||b()||w()?Gt:Ft),type:"text",autoComplete:"off",placeholder:Kt("schoolInputPlaceholder"),disabled:t.disabled}),o().createElement("div",{className:"position-absolute w-100"},(null==y?void 0:y.length)?o().createElement("div",{className:Dt},o().createElement(Yt,{filteredSchoolsList:y,onSchoolSuggestionClick:function(e){l(g(e)),t.setProspectId(e.id),t.setSchoolName(e.name),t.setSchoolType(e.prospectType),e.postCode.length&&t.setSchoolPostCode(e.postCode),e.countryCode.length&&t.setCountry(e.countryCode)},getSchoolName:g})):b()&&o().createElement("div",{className:Dt},o().createElement("div",{className:"o1CUJ"},o().createElement(L.x,{namespace:$t,phrase:"schoolLoadingText"}))),w()&&o().createElement("div",{className:Dt},o().createElement(Wt,{handleNoSuggestion:function(){t.nextStep(),t.logUserAction({},{actionType:i.UserAction.Click,descriptor:i.SignUpDescriptors.CantFindSchool,workflowPhase:i.WorkflowPhase.Next})}}))))}var Ht=function t(e,r){if(e===r)return!0;if(e&&r&&"object"==typeof e&&"object"==typeof r){if(e.constructor!==r.constructor)return!1;var n,o,i;if(Array.isArray(e)){if((n=e.length)!=r.length)return!1;for(o=n;0!=o--;)if(!t(e[o],r[o]))return!1;return!0}if(e.constructor===RegExp)return e.source===r.source&&e.flags===r.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===r.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===r.toString();if((n=(i=Object.keys(e)).length)!==Object.keys(r).length)return!1;for(o=n;0!=o--;)if(!Object.prototype.hasOwnProperty.call(r,i[o]))return!1;for(o=n;0!=o--;){var a=i[o];if(!t(e[a],r[a]))return!1}return!0}return e!=e&&r!=r};const qt="__googleMapsScriptId";var Jt;!function(t){t[t.INITIALIZED=0]="INITIALIZED",t[t.LOADING=1]="LOADING",t[t.SUCCESS=2]="SUCCESS",t[t.FAILURE=3]="FAILURE"}(Jt||(Jt={}));class Vt{constructor({apiKey:t,authReferrerPolicy:e,channel:r,client:n,id:o=qt,language:i,libraries:a=[],mapIds:c,nonce:l,region:u,retries:s=3,url:f="https://maps.googleapis.com/maps/api/js",version:p}){if(this.CALLBACK="__googleMapsCallback",this.callbacks=[],this.done=!1,this.loading=!1,this.errors=[],this.apiKey=t,this.authReferrerPolicy=e,this.channel=r,this.client=n,this.id=o||qt,this.language=i,this.libraries=a,this.mapIds=c,this.nonce=l,this.region=u,this.retries=s,this.url=f,this.version=p,Vt.instance){if(!Ht(this.options,Vt.instance.options))throw new Error(`Loader must not be called again with different options. ${JSON.stringify(this.options)} !== ${JSON.stringify(Vt.instance.options)}`);return Vt.instance}Vt.instance=this}get options(){return{version:this.version,apiKey:this.apiKey,channel:this.channel,client:this.client,id:this.id,libraries:this.libraries,language:this.language,region:this.region,mapIds:this.mapIds,nonce:this.nonce,url:this.url,authReferrerPolicy:this.authReferrerPolicy}}get status(){return this.errors.length?Jt.FAILURE:this.done?Jt.SUCCESS:this.loading?Jt.LOADING:Jt.INITIALIZED}get failed(){return this.done&&!this.loading&&this.errors.length>=this.retries+1}createUrl(){let t=this.url;return t+=`?callback=${this.CALLBACK}`,this.apiKey&&(t+=`&key=${this.apiKey}`),this.channel&&(t+=`&channel=${this.channel}`),this.client&&(t+=`&client=${this.client}`),this.libraries.length>0&&(t+=`&libraries=${this.libraries.join(",")}`),this.language&&(t+=`&language=${this.language}`),this.region&&(t+=`&region=${this.region}`),this.version&&(t+=`&v=${this.version}`),this.mapIds&&(t+=`&map_ids=${this.mapIds.join(",")}`),this.authReferrerPolicy&&(t+=`&auth_referrer_policy=${this.authReferrerPolicy}`),t}deleteScript(){const t=document.getElementById(this.id);t&&t.remove()}load(){return this.loadPromise()}loadPromise(){return new Promise(((t,e)=>{this.loadCallback((r=>{r?e(r.error):t(window.google)}))}))}loadCallback(t){this.callbacks.push(t),this.execute()}setScript(){if(document.getElementById(this.id))return void this.callback();const t=this.createUrl(),e=document.createElement("script");e.id=this.id,e.type="text/javascript",e.src=t,e.onerror=this.loadErrorCallback.bind(this),e.defer=!0,e.async=!0,this.nonce&&(e.nonce=this.nonce),document.head.appendChild(e)}reset(){this.deleteScript(),this.done=!1,this.loading=!1,this.errors=[],this.onerrorEvent=null}resetIfRetryingFailed(){this.failed&&this.reset()}loadErrorCallback(t){if(this.errors.push(t),this.errors.length<=this.retries){const t=this.errors.length*Math.pow(2,this.errors.length);console.log(`Failed to load Google Maps script, retrying in ${t} ms.`),setTimeout((()=>{this.deleteScript(),this.setScript()}),t)}else this.onerrorEvent=t,this.callback()}setCallback(){window.__googleMapsCallback=this.callback.bind(this)}callback(){this.done=!0,this.loading=!1,this.callbacks.forEach((t=>{t(this.onerrorEvent)})),this.callbacks=[]}execute(){if(this.resetIfRetryingFailed(),this.done)this.callback();else{if(window.google&&window.google.maps&&window.google.maps.version)return console.warn("Google Maps already loaded outside @googlemaps/js-api-loader.This may result in undesirable behavior as options and script parameters may not match."),void this.callback();this.loading||(this.loading=!0,this.setCallback(),this.setScript())}}}function Xt(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],l=!0,u=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);l=!0);}catch(t){u=!0,o=t}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Zt(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Zt(t,e):void 0}}(t,e)||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 Zt(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function Qt(t){return new Vt({apiKey:t.apiKey,version:"weekly",libraries:t.libraries,retries:3})}function te(t){var e={apiKey:t.apiKey,libraries:t.libraries||["places"]},r=Xt(o().useState(!1),2),n=r[0],i=r[1],a=Xt(o().useState(Qt(e)),2),c=a[0],l=a[1];function u(t,r){c?c.loadCallback((function(e){if(e)return i(!1),void(r&&r(e));i(!0),t&&t()})):l(Qt(e))}return o().useEffect((function(){u()}),[]),{loader:c,scriptLoaded:n,onGoogleApiReady:u}}function ee(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return re(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?re(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){c=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(c)throw i}}}}function re(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var ne=function(t){var e,r,n,o,i,a=t.formatted_address,c=ee(t.address_components);try{for(c.s();!(i=c.n()).done;){var l,u=i.value,s=ee(u.types);try{for(s.s();!(l=s.n()).done;){var f=l.value;"locality"===f&&(e=u.short_name),"administrative_area_level_1"===f&&(r=u.short_name),"postal_code"===f&&(o=u.short_name),"country"===f&&(n=u.short_name)}}catch(t){s.e(t)}finally{s.f()}}}catch(t){c.e(t)}finally{c.f()}return{locality:a,country:n,postalCode:o,city:e,province:r}};function oe(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],l=!0,u=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);l=!0);}catch(t){u=!0,o=t}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return ie(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ie(t,e):void 0}}(t,e)||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 ie(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var ae=r(28329);function ce(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],l=!0,u=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);l=!0);}catch(t){u=!0,o=t}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return le(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?le(t,e):void 0}}(t,e)||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 le(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var ue=r(10874);function se(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],l=!0,u=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);l=!0);}catch(t){u=!0,o=t}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return fe(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?fe(t,e):void 0}}(t,e)||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 fe(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var pe="signUp.searchSchoolStepGroup",he=a.T.encloseNamespace(pe);function de(t){var e=t.predictions,r=t.getPlaceInfo;return o().createElement(o().Fragment,null,e.map((function(t){return o().createElement("div",{className:Mt,key:t.place_id,onClick:function(){return r(t)}},t.description)})))}function me(t){var e,r,n,a=o().useRef(),l=se(o().useState(!1),2),s=l[0],f=l[1],p=se(o().useState(null!==(e=t.locality)&&void 0!==e?e:""),2),h=p[0],d=p[1],m=function(t){var e=t.search,r=t.makePredicition,n=t.geoLocation,i=te({apiKey:t.apiKey}).scriptLoaded,a=ce(o().useState(),2),c=a[0],l=a[1];o().useEffect((function(){i&&l(new google.maps.places.AutocompleteService)}),[i]);var u=(0,ae.N)(e,300),s=ce(o().useState(),2),f=s[0],p=s[1];function h(t,e){e===google.maps.places.PlacesServiceStatus.OK&&t?p(t):p(void 0)}return o().useEffect((function(){c&&(0!==(null==u?void 0:u.length)&&r?c.getPlacePredictions({input:u,componentRestrictions:{country:n.countryCode},region:n.countryCode,types:["locality","sublocality","postal_code"]},h):p(void 0))}),[u,r,c]),{localityPredicitions:f,getPlaceInfo:function(t,e,r){new google.maps.places.PlacesService(e.current).getDetails({placeId:t.place_id,fields:["geometry","address_components","formatted_address"],region:n.countryCode},(function(t,e){if(e===google.maps.places.PlacesServiceStatus.OK){var n=t.geometry.location.lng(),o=t.geometry.location.lat(),i=ne(t),a=i.locality,c=i.country,l=i.postalCode,u=i.city,s=i.province;r({longitude:n,latitude:o,locality:a,country:c,city:u,postalCode:l,province:s})}}))}}}({search:h,makePredicition:s,geoLocation:t.geoLocation,apiKey:t.googleMapsApiKey}),y=m.localityPredicitions,v=m.getPlaceInfo,g=function(t){var e=oe(o().useState(!1),2),r=e[0],n=e[1],i=oe(o().useState({}),2),a=i[0],c=i[1],l=te(t).onGoogleApiReady;function u(t){var e=t.coords,r=e.latitude,o=e.longitude,i=new google.maps.LatLng(r,o);(new google.maps.Geocoder).geocode({location:i},(function(t,e){if(e===google.maps.GeocoderStatus.OK){var i=t.find((function(t){return t.types.includes("locality")||t.types.includes("administrative_area_level_2")})),a=ne(i);c(Object.assign(Object.assign({},a),{longitude:o,latitude:r})),n(!1)}}))}function s(){n(!0)}return{placeDetails:a,positionError:r,onClickGetCurrentLocation:function(){l((function(){window.navigator.geolocation.getCurrentPosition(u,s)}))}}}({apiKey:t.googleMapsApiKey}),b=g.placeDetails,w=g.positionError,x=g.onClickGetCurrentLocation;function E(e){var r,n=e.longitude,o=e.latitude,i=e.locality,a=e.country,c=e.city,l=e.postalCode,u=e.province;n&&o&&t.setCoordinates(n,o),a&&t.setCountry(a),c&&t.setCity(c),l&&t.setPostalCode(l),u&&t.setProvince(u),i&&(d(r=i),t.setLocality(r))}o().useEffect((function(){E(b)}),[b]),o().useEffect((function(){f(!0)}),[w]);var S,k=(null==y?void 0:y.length)&&!(null===(r=t.locality)||void 0===r?void 0:r.length),N=window.navigator.geolocation&&!(null===(n=t.locality)||void 0===n?void 0:n.length),j=t.labelClassName||"d-block text-center mb-3 font-weight-normal ".concat("k0IW3");return o().createElement("div",{className:"form-group position-relative"},o().createElement("label",{className:j,htmlFor:"locality-input"},o().createElement(L.x,{namespace:pe,phrase:"localityInputLabel"})),o().createElement("input",{type:"text",value:h,onChange:function(e){s||f(!0),(t.longitude||t.latitude||t.locality)&&t.clearStepGroupData(),d(e.target.value)},id:"locality-input",className:(S="form-control",k?"".concat(S," ").concat(Gt):"".concat(S," ").concat(Ft)),ref:a,autoComplete:"off",placeholder:he(function(){var e,r,n="LocalityInputPlaceholder";return["gb","gg","im","je","ie"].includes(null===(e=t.geoLocation)||void 0===e?void 0:e.countryCode)?"uk".concat(n):["nz","au"].includes(null===(r=t.geoLocation)||void 0===r?void 0:r.countryCode)?"au".concat(n):"us".concat(n)}()),disabled:t.disabled}),o().createElement("div",{className:"position-absolute w-100"},!!k&&o().createElement("div",{className:function(){var t=Dt;return k&&N?"".concat(t," ").concat("OcrX8"):"".concat(t)}()},o().createElement(de,{predictions:y,getPlaceInfo:function(t){s&&f(!1),v(t,a,E)}})),N&&o().createElement("div",{className:k?Dt:"d-flex"},o().createElement(ue.h,{onClick:function(e){e.preventDefault(),f(!1),x(),t.logUserAction({},{actionType:i.UserAction.Click,descriptor:i.SignUpDescriptors.UseMyLocation})},svgName:c.vn.LocationCrosshair,className:"btn btn-link info-link bg-white",svgSize:u.S.Small},o().createElement(L.x,{namespace:pe,phrase:"locationButtonText"})))))}function ye(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],l=!0,u=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);l=!0);}catch(t){u=!0,o=t}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return ve(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ve(t,e):void 0}}(t,e)||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 ve(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var ge="signUp.searchSchoolStepGroup";function be(t){return be="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},be(t)}function we(){we=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function u(t,e,r,o){var i=e&&e.prototype instanceof p?e:p,a=Object.create(i.prototype),c=new k(o||[]);return n(a,"_invoke",{value:x(t,r,c)}),a}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=u;var f={};function p(){}function h(){}function d(){}var m={};l(m,i,(function(){return this}));var y=Object.getPrototypeOf,v=y&&y(y(N([])));v&&v!==e&&r.call(v,i)&&(m=v);var g=d.prototype=p.prototype=Object.create(m);function b(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function o(n,i,a,c){var l=s(t[n],t,i);if("throw"!==l.type){var u=l.arg,f=u.value;return f&&"object"==be(f)&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){o("next",t,a,c)}),(function(t){o("throw",t,a,c)})):e.resolve(f).then((function(t){u.value=t,a(u)}),(function(t){return o("throw",t,a,c)}))}c(l.arg)}var i;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return i=i?i.then(n,n):n()}})}function x(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=E(a,r);if(c){if(c===f)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var l=s(t,e,r);if("normal"===l.type){if(n=r.done?"completed":"suspendedYield",l.arg===f)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(n="completed",r.method="throw",r.arg=l.arg)}}}function E(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,E(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;var o=s(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,f;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function S(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function L(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function k(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(S,this),this.reset(!0)}function N(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:j}}function j(){return{value:void 0,done:!0}}return h.prototype=d,n(g,"constructor",{value:d,configurable:!0}),n(d,"constructor",{value:h,configurable:!0}),h.displayName=l(d,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,l(t,c,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},b(w.prototype),l(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new w(u(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},b(g),l(g,c,"Generator"),l(g,i,(function(){return this})),l(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=N,k.prototype={constructor:k,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(L),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),l=r.call(i,"finallyLoc");if(c&&l){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),L(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;L(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:N(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}function xe(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],l=!0,u=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);l=!0);}catch(t){u=!0,o=t}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Ee(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ee(t,e):void 0}}(t,e)||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 Ee(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var Se,Le="signUp.verifyAccountStepItem";function ke(t){var e=xe(o().useState(0),2),r=e[0],n=e[1],a=xe(o().useState(!1),2),c=a[0],l=a[1];return o().createElement(o().Fragment,null,o().createElement("div",{className:"d-flex justify-content-center flex-column mx-auto px-2"},o().createElement("div",{className:"d-flex justify-content-center my-5 px-0 px-lg-3"},o().createElement("img",{src:s.W.SignUp.VERIFY_ACCOUNT,className:"w-100 h-auto"})),t.data.email&&o().createElement(o().Fragment,null,o().createElement("h4",{className:"text-center font-weight-bold mb-2"},o().createElement(L.x,{namespace:Le,phrase:"heading"})),o().createElement("div",{className:"text-center text-sm"},o().createElement("p",{className:"mb-1"},o().createElement(L.x,{namespace:Le,phrase:"message",options:{email:t.data.email}})),r<1?o().createElement("p",{className:"mb-1"},o().createElement(L.x,{namespace:Le,phrase:"helpText"})," ",o().createElement("a",{onClick:function(e){return o=this,a=void 0,c=void 0,u=we().mark((function o(){return we().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return null==e||e.preventDefault(),o.prev=1,o.next=4,at.resendTrialEmail(t.data.userId,{email:t.data.email,appLink:t.data.appLink});case 4:n(r+1),o.next=10;break;case 7:o.prev=7,o.t0=o.catch(1),l(!0);case 10:t.logUserAction({},{actionType:i.UserAction.Click,descriptor:i.SignUpDescriptors.ResendEmail});case 11:case"end":return o.stop()}}),o,null,[[1,7]])})),new(c||(c=Promise))((function(t,e){function r(t){try{i(u.next(t))}catch(t){e(t)}}function n(t){try{i(u.throw(t))}catch(t){e(t)}}function i(e){var o;e.done?t(e.value):(o=e.value,o instanceof c?o:new c((function(t){t(o)}))).then(r,n)}i((u=u.apply(o,a||[])).next())}));var o,a,c,u},className:"info-link"},o().createElement(L.x,{namespace:Le,phrase:"helpLink"}))):o().createElement(L.x,{namespace:Le,phrase:"resent"}),c&&o().createElement("p",{className:"text-danger"},o().createElement(L.x,{namespace:Le,phrase:"resendErrorText"})," ",o().createElement("a",{href:E.getSupportUrlForGeoLocation(t.geoLocation),className:"info-link"},o().createElement(L.x,{namespace:Le,phrase:"resendErrorLink"})))))))}!function(t){t.Staff="staff",t.Learner="learner"}(Se||(Se={}));function Ne(t){return o().createElement("div",{className:"d-flex flex-column justify-content-between h-100 cursor-pointer overflow-hidden p-3 ".concat("lanH2"," ").concat(t.selected?"selected":""),onClick:function(){return t.onClick(t.type)}},o().createElement("img",{src:t.imageSrc,className:"rounded-top mx-auto pb-2",width:"100%",height:"auto",style:{maxWidth:"225px"}}),o().createElement("div",{className:"d-flex justify-content-center align-items-center text-dark py-2 font-weight-bold"},o().createElement("h3",{className:"".concat("P1owQ"," mb-0"),dangerouslySetInnerHTML:{__html:t.buttonText}})))}var je,Oe="signUp.selectUserTypeStepItem",Ie=a.T.encloseNamespace(Oe);!function(t){t.Published="Published",t.Draft="Draft"}(je||(je={}));var Ae=["Primary","Secondary","K12","Special","TAFE","University"],Ce=["Primary","Secondary","Primary & Secondary","Special","Sixth Form College","FE College","University","Other"],Pe=["Elementary","Middle School","High School","College","Other"],Te={au:Ae,nz:Ae,uk:Ce,gb:Ce,gg:Ce,im:Ce,je:Ce,ie:Ce,us:Pe};function _e(t){return _e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_e(t)}function Ue(){Ue=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function u(t,e,r,o){var i=e&&e.prototype instanceof p?e:p,a=Object.create(i.prototype),c=new k(o||[]);return n(a,"_invoke",{value:x(t,r,c)}),a}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=u;var f={};function p(){}function h(){}function d(){}var m={};l(m,i,(function(){return this}));var y=Object.getPrototypeOf,v=y&&y(y(N([])));v&&v!==e&&r.call(v,i)&&(m=v);var g=d.prototype=p.prototype=Object.create(m);function b(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function o(n,i,a,c){var l=s(t[n],t,i);if("throw"!==l.type){var u=l.arg,f=u.value;return f&&"object"==_e(f)&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){o("next",t,a,c)}),(function(t){o("throw",t,a,c)})):e.resolve(f).then((function(t){u.value=t,a(u)}),(function(t){return o("throw",t,a,c)}))}c(l.arg)}var i;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return i=i?i.then(n,n):n()}})}function x(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=E(a,r);if(c){if(c===f)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var l=s(t,e,r);if("normal"===l.type){if(n=r.done?"completed":"suspendedYield",l.arg===f)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(n="completed",r.method="throw",r.arg=l.arg)}}}function E(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,E(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;var o=s(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,f;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function S(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function L(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function k(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(S,this),this.reset(!0)}function N(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:j}}function j(){return{value:void 0,done:!0}}return h.prototype=d,n(g,"constructor",{value:d,configurable:!0}),n(d,"constructor",{value:h,configurable:!0}),h.displayName=l(d,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,l(t,c,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},b(w.prototype),l(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new w(u(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},b(g),l(g,c,"Generator"),l(g,i,(function(){return this})),l(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=N,k.prototype={constructor:k,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(L),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),l=r.call(i,"finallyLoc");if(c&&l){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),L(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;L(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:N(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}function Fe(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var Ge="signUp.cantFindSchoolStepItem",De=a.T.encloseNamespace(Ge),Me="signUp.existingCustomerStepItem";function Re(t){if((null==t?void 0:t.previousStepIds)&&"find-school"===t.previousStepIds[t.previousStepIds.length-1]){var e=t.schoolName||"Your school";return o().createElement(o().Fragment,null,o().createElement("h4",{className:"text-center font-weight-500 mb-1"},o().createElement(L.x,{phrase:"schoolMessageTitle",namespace:Me,options:{school:e}})),o().createElement("p",{className:"text-center text-sm"},o().createElement(L.x,{phrase:"schoolMessageParagraph",namespace:Me})))}return o().createElement(o().Fragment,null,o().createElement("h4",{className:"text-center font-weight-500 mb-1"},o().createElement(L.x,{phrase:"userMessageTitle",namespace:Me})),o().createElement("div",{className:"text-center my-2"},o().createElement("a",{href:E.getLoginLink(f()),className:"btn btn-dark"},"Sign in")))}var Be,$e="signUp.trialNotAvailableStepItem";function Ke(t){if((null==t?void 0:t.previousStepIds)&&"find-school"===t.previousStepIds[t.previousStepIds.length-1]){var e=t.schoolName||"Your school";return o().createElement(o().Fragment,null,o().createElement("h3",{className:"text-center font-weight-500"},o().createElement(L.x,{namespace:$e,phrase:"schoolMessage",options:{schoolName:e}})))}return o().createElement("h3",{className:"text-center font-weight-500"},o().createElement(L.x,{namespace:$e,phrase:"userMessage"}))}!function(t){t.FourteenDays="trial_14_v1",t.Freemium="freemium_v1"}(Be||(Be={}));function Ye(t){return Ye="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ye(t)}function We(){We=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function u(t,e,r,o){var i=e&&e.prototype instanceof p?e:p,a=Object.create(i.prototype),c=new k(o||[]);return n(a,"_invoke",{value:x(t,r,c)}),a}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=u;var f={};function p(){}function h(){}function d(){}var m={};l(m,i,(function(){return this}));var y=Object.getPrototypeOf,v=y&&y(y(N([])));v&&v!==e&&r.call(v,i)&&(m=v);var g=d.prototype=p.prototype=Object.create(m);function b(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function o(n,i,a,c){var l=s(t[n],t,i);if("throw"!==l.type){var u=l.arg,f=u.value;return f&&"object"==Ye(f)&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){o("next",t,a,c)}),(function(t){o("throw",t,a,c)})):e.resolve(f).then((function(t){u.value=t,a(u)}),(function(t){return o("throw",t,a,c)}))}c(l.arg)}var i;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return i=i?i.then(n,n):n()}})}function x(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=E(a,r);if(c){if(c===f)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var l=s(t,e,r);if("normal"===l.type){if(n=r.done?"completed":"suspendedYield",l.arg===f)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(n="completed",r.method="throw",r.arg=l.arg)}}}function E(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,E(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;var o=s(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,f;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function S(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function L(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function k(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(S,this),this.reset(!0)}function N(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:j}}function j(){return{value:void 0,done:!0}}return h.prototype=d,n(g,"constructor",{value:d,configurable:!0}),n(d,"constructor",{value:h,configurable:!0}),h.displayName=l(d,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,l(t,c,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},b(w.prototype),l(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new w(u(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},b(g),l(g,c,"Generator"),l(g,i,(function(){return this})),l(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=N,k.prototype={constructor:k,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(L),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),l=r.call(i,"finallyLoc");if(c&&l){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),L(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;L(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:N(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}function ze(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],l=!0,u=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);l=!0);}catch(t){u=!0,o=t}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return He(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?He(t,e):void 0}}(t,e)||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 He(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var qe=a.T.encloseNamespace("signUp.multiStepForm"),Je=["active-trial","existing-customer","expired-trial","trial-not-available","verify-account"];function Ve(t){switch(t){case"select-type":return"enter-email";case"enter-email":return"find-school";case"find-school":case"active-trial":case"cant-find-school":return"verify-account";default:return t}}var Xe={"select-type":function(t){function e(e){!function(e){t.setData("type",e)}(e),t.nextStep(),t.logUserAction({type:e},{actionType:i.UserAction.Click,workflowPhase:i.WorkflowPhase.Next,descriptor:e===Se.Staff?i.SignUpDescriptors.Educator:i.SignUpDescriptors.Student})}return o().createElement(o().Fragment,null,o().createElement("div",{className:"d-flex justify-content-center flex-column mx-auto"},o().createElement("h4",{className:"text-center font-weight-500 mb-3"},o().createElement(L.x,{namespace:Oe,phrase:"heading"})),o().createElement("p",{className:"text-sm text-center"},o().createElement(L.x,{namespace:Oe,phrase:"subHeading"}))),o().createElement("div",{className:"row mx-auto"},o().createElement("div",{className:"col-lg-6 flex-grow-1 mb-3 mb-lg-0"},o().createElement(Ne,{type:Se.Staff,buttonText:Ie("educatorButtonText"),imageSrc:s.W.SignUp.EDUCATOR,onClick:e,selected:t.data.type===Se.Staff})),o().createElement("div",{className:"col-lg-6 flex-grow-1"},o().createElement(Ne,{type:Se.Learner,buttonText:Ie("studentButtonText"),imageSrc:s.W.SignUp.STUDENT,onClick:e,selected:t.data.type===Se.Learner}))))},"enter-email":function(t){var e,r,n,a,c,l=Nt(o().useState(!1),2),u=l[0],s=l[1],p=Nt(o().useState(!1),2),h=p[0],d=p[1],m=Nt(o().useState(!1),2),y=m[0],v=m[1],g=(a=t.geoLocation,c=E.getMarketingUrlForGeoLocation(a),"nz"===(null==a?void 0:a.countryCode)?c+"/contact-us/":c+"/contact-us/technical/");function b(e){t.setError("email",e)}function w(){var e;return(null===(e=t.data.email)||void 0===e?void 0:e.length)?Ot.test(t.data.email)?(s(!0),b(""),void at.checkTrialStatus({email:t.data.email},x,S,(function(){s(!1)}))):(d(!1),void b(At("invalidEmailErrorText"))):(d(!1),void b(At("enterEmailErrorText")))}function x(e){if(d(!0),e.status===wt.InvalidEmail)return d(!1),void b(At("invalidEmailErrorText"));e.status===wt.Active?t.setNextStepId(kt[wt.NotRequired]):t.setNextStepId(kt[e.status]),v(!0)}function S(){d(!1),v(!1),b(At("trialStatusErrorText"))}return o().useEffect((function(){y&&v(!1),h&&d(!1)}),[t.data.email]),o().useEffect((function(){y&&(t.nextStep(),t.logUserAction({},{actionType:i.UserAction.Click,workflowPhase:i.WorkflowPhase.Next,descriptor:i.SignUpDescriptors.EnterEmail}))}),[y]),o().createElement("div",{className:"d-flex justify-content-between flex-column mx-auto h-100"},o().createElement("div",null,o().createElement("h4",{className:"text-center font-weight-500 mb-3"},o().createElement(L.x,{namespace:It,phrase:"heading"})),o().createElement("form",{className:"d-flex justify-content-center flex-column",onSubmit:function(t){t.preventDefault(),w()}},o().createElement("label",{className:"text-left mb-1",htmlFor:"email-input"},o().createElement(L.x,{namespace:It,phrase:"emailInputLabel"})),o().createElement("input",{value:t.data.email,onChange:function(e){return r=e.target.value,void t.setData("email",r);var r},name:"email-input",id:"email-input",type:"email",className:"form-control form-control-lg rounded ".concat((null===(e=null==t?void 0:t.errors)||void 0===e?void 0:e.email)&&"is-invalid"),placeholder:At("emailInputPlaceholder"),autoComplete:"false",autoCorrect:"false"}),(null===(r=null==t?void 0:t.errors)||void 0===r?void 0:r.email)&&o().createElement(o().Fragment,null,o().createElement("small",{className:"text-danger mt-2"},null===(n=null==t?void 0:t.errors)||void 0===n?void 0:n.email),o().createElement("small",{className:"text-dark mt-1"},o().createElement(L.x,{phrase:"emailInputHelpText",namespace:It}),o().createElement(j,{href:g,onClick:function(){t.logUserAction({},{actionType:i.UserAction.Click,descriptor:i.SignUpDescriptors.ContactUs})},className:"info-link pl-1",newTab:!0},o().createElement(L.x,{phrase:"emailInputHelpLinkText",namespace:It})))),o().createElement(Et.m,{showSpinner:u,className:"btn btn-dark mt-2",disabled:u,onClick:w},o().createElement(L.x,{namespace:It,phrase:"nextButtonText"}))),o().createElement("div",{className:"text-md mt-2"},o().createElement(C,{link:E.getLoginLink(f()),onClick:function(){t.logUserAction({},{actionType:i.UserAction.Click,descriptor:i.SignUpDescriptors.SignIn})}}))))},"find-school":function(t){var e=ye(o().useState(t.canSubmitForm()),2),r=e[0],n=e[1],i=ye(o().useState(!1),2),a=i[0],c=i[1];function l(e){t.setData("schoolLocality",e)}function u(e,r){t.setData("longitude",e),t.setData("latitude",r)}function s(e){e!==t.data.prospectId&&t.setData("prospectId",e)}function f(e){e!==t.data.schoolName&&t.setData("schoolName",e)}function p(e){e!==t.data.city&&t.setData("city",e)}function h(e){e!==t.data.province&&t.setData("province",e)}function d(e){e!==t.data.country&&t.setData("country",e)}function m(e){e!==t.data.schoolPostCode&&t.setData("schoolPostCode",e)}function y(){s(void 0),f(""),m(void 0),t.setSubmissionError(void 0)}return o().useEffect((function(){var e=t.canSubmitForm();r!==e&&n(e)}),[t.canSubmitForm]),o().useEffect((function(){r&&(c(!0),at.checkProspectTrialStatus({prospectId:t.data.prospectId},(function(e){e.status!==wt.Available?t.setNextStepId(kt[e.status]):t.setNextStepId("verify-account")}),(function(){console.log("error")}),(function(){c(!1)})))}),[r]),o().createElement(o().Fragment,null,o().createElement("div",{className:"d-flex justify-content-center flex-column mx-auto mb-2"},o().createElement("h4",{className:"text-center font-weight-500 mb-2"},o().createElement(L.x,{namespace:ge,phrase:"groupHeading"})),o().createElement("p",{className:"text-center"},o().createElement(L.x,{namespace:ge,phrase:"groupSubHeading"}))),o().createElement("div",{className:"d-flex justify-content-center flex-column mx-auto"},o().createElement("form",{className:"d-flex justify-content-center flex-column"},o().createElement(me,{locality:t.data.schoolLocality,longitude:t.data.longitude,latitude:t.data.latitude,setLocality:l,setCoordinates:u,setCountry:d,setPostalCode:m,setCity:p,setProvince:h,clearStepGroupData:function(){l(void 0),u(void 0,void 0),p(void 0),h(void 0),d(void 0),y(),t.setSubmissionError(void 0)},disabled:t.disabled,geoLocation:t.geoLocation,labelClassName:"d-none",logUserAction:t.logUserAction,googleMapsApiKey:t.googleMapsApiKey}),!!(t.data.schoolLocality&&t.data.longitude&&t.data.latitude)&&o().createElement(zt,{prospectId:t.data.prospectId,locality:t.data.schoolLocality,longitude:t.data.longitude,latitude:t.data.latitude,schoolName:t.data.schoolName,schoolPostCode:t.data.schoolPostCode,setProspectId:s,setSchoolName:f,setSchoolType:function(e){e!==t.data.schoolType&&t.setData("schoolType",e)},setSchoolPostCode:m,setCountry:d,clearStepItemData:y,setNextStepId:t.setNextStepId,nextStep:t.nextStep,currentStepId:t.currentStepId,disabled:t.disabled,logUserAction:t.logUserAction}),(null==t?void 0:t.submissionError)&&o().createElement("p",{className:"text-danger mb-2"},t.submissionError),t.canSubmitForm()&&o().createElement(Et.m,{className:"btn btn-dark font-weight-bold",onClick:t.requestTrial,showSpinner:t.disabled||a,disabled:t.disabled||a},o().createElement(L.x,{namespace:ge,phrase:"submitButtonText"})))))},"verify-account":ke,"active-trial":ke,"existing-customer":function(t){return o().createElement("div",{className:"d-flex justify-content-center flex-column mx-auto px-2"},o().createElement("div",{className:"d-flex justify-content-center mt-5 mb-3 px-0 px-lg-3"},o().createElement("img",{src:s.W.SignUp.EXISTING_CUSTOMER,className:"w-100 h-auto"})),o().createElement("h4",{className:"text-center font-weight-500 mb-2"},o().createElement(L.x,{namespace:Me,phrase:"heading"})),o().createElement(Re,{previousStepIds:t.previousStepIds,schoolName:t.data.schoolName}),o().createElement("p",{className:"text-center"},o().createElement(L.x,{phrase:"helpText",namespace:Me})," ",o().createElement(j,{href:E.getSupportUrlForGeoLocation(t.geoLocation),className:"info-link",newTab:!0},o().createElement(L.x,{phrase:"helpLink",namespace:Me}))))},"expired-trial":function(t){var e=E.getMarketingSalesContactForGeoLocation(t.geoLocation);return o().createElement("div",{className:"d-flex justify-content-center flex-column mx-auto px-2"},o().createElement("div",{className:"d-flex justify-content-center my-5 px-0 px-lg-5"},o().createElement("img",{src:s.W.SignUp.EXPIRED_TRIAL,className:"w-100 h-auto"})),o().createElement(Pt,{previousStepIds:t.previousStepIds,schoolName:t.data.schoolName}),o().createElement("p",{className:"text-center text-sm"},o().createElement(L.x,{namespace:Ct,phrase:"context"})," ",o().createElement(j,{href:e,className:"info-link",newTab:!0},o().createElement(L.x,{namespace:Ct,phrase:"contextLink"}))))},"trial-not-available":function(t){var e=E.getMarketingSalesContactForGeoLocation(t.geoLocation);return o().createElement("div",{className:"d-flex justify-content-center flex-column mx-auto px-2"},o().createElement("div",{className:"d-flex justify-content-center mt-5 mb-3 px-0 px-lg-3"},o().createElement("img",{src:s.W.SignUp.NOT_AVAILABLE,className:"w-100 h-auto"})),o().createElement("h3",{className:"text-center font-weight-500 mb-1"},o().createElement(L.x,{namespace:$e,phrase:"heading"})),o().createElement(Ke,{previousStepIds:t.previousStepIds,schoolName:t.data.schoolName}),o().createElement("p",{className:"text-center text-sm"},o().createElement(L.x,{namespace:$e,phrase:"helpText",options:{link:e}})))},"cant-find-school":function(t){var e,r,n,i=(r=o().useState(!1),n=2,function(t){if(Array.isArray(t))return t}(r)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],l=!0,u=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);l=!0);}catch(t){u=!0,o=t}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return c}}(r,n)||function(t,e){if(t){if("string"==typeof t)return Fe(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Fe(t,e):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.")}()),a=i[0],c=i[1],l=(e=t.geoLocation,Te[null==e?void 0:e.countryCode]||Pe);function u(e,r){t.setData("longitude",e),t.setData("latitude",r)}function s(e){t.setData("schoolLocality",e)}function f(e){t.setData("schoolPostCode",e)}function p(e){t.setData("country",e)}function h(e){t.setData("city",e)}function d(e){t.setData("province",e)}return o().useEffect((function(){return function(){t.setData("schoolType",void 0)}}),[]),o().useEffect((function(){t.data.prospectId&&t.requestTrial()}),[t.data.prospectId]),o().createElement(o().Fragment,null,o().createElement("div",{className:"d-flex flex-column justify-content-center mx-auto mb-2"},o().createElement("h4",{className:"text-center font-weight-500 mb-2"},o().createElement(L.x,{namespace:Ge,phrase:"heading"})),o().createElement("p",{className:"text-center"},o().createElement(L.x,{namespace:Ge,phrase:"subHeading"}))),o().createElement("div",{className:"d-flex justify-content-center flex-column mx-auto"},o().createElement("div",{className:"form-group"},o().createElement("label",{className:"d-block",htmlFor:"school-name-input"},o().createElement(L.x,{namespace:Ge,phrase:"schoolNameInputLabel"})),o().createElement("input",{type:"text",value:t.data.schoolName||"",onChange:function(e){t.setData("schoolName",e.target.value)},id:"school-name-input",className:"form-control",autoComplete:"off",placeholder:De("schoolNameInputPlaceholder")})),o().createElement("div",{className:"form-group"},o().createElement("label",{className:"d-block",htmlFor:"school-type-select"},o().createElement(L.x,{namespace:Ge,phrase:"schoolTypeInputLabel"})),o().createElement("select",{id:"school-type-select",className:"form-control ".concat(t.data.schoolType?"":"text-muted"),autoComplete:"off",value:t.data.schoolType||"none",onChange:function(e){var r=e.target.value;t.setData("schoolType",r)}},o().createElement("option",{value:"none",className:"text-muted",disabled:!0},De("schoolTypeInputDefault")),l.map((function(t){return o().createElement("option",{value:t,key:t,className:"text-dark"},t)})))),o().createElement(me,{locality:t.data.schoolLocality,longitude:t.data.longitude,latitude:t.data.latitude,setLocality:s,setCoordinates:u,setCountry:p,setPostalCode:f,setCity:h,setProvince:d,clearStepGroupData:function(){s(void 0),u(void 0,void 0),f(void 0),h(void 0),d(void 0),p(void 0),t.setData("schoolName",""),t.setSubmissionError("")},disabled:!1,labelClassName:"d-block",geoLocation:t.geoLocation,logUserAction:t.logUserAction,googleMapsApiKey:t.googleMapsApiKey}),o().createElement("div",{className:"text-danger"},t.submissionError||""),t.canCreateSchool()&&o().createElement(Et.m,{className:"btn btn-dark font-weight-bold",onClick:function(){return e=this,r=void 0,n=void 0,o=Ue().mark((function e(){var r;return Ue().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return c(!0),e.prev=1,e.next=4,Ut.create({name:t.data.schoolName,status:je.Draft,countryCode:t.data.country,prospectType:t.data.schoolType,city:t.data.city,postCode:t.data.schoolPostCode,province:t.data.province});case 4:r=e.sent,t.setData("prospectId",r.id),e.next=11;break;case 8:e.prev=8,e.t0=e.catch(1),t.setSubmissionError(De("submissionErrorText"));case 11:return e.prev=11,c(!1),e.finish(11);case 14:case"end":return e.stop()}}),e,null,[[1,8,11,14]])})),new(n||(n=Promise))((function(t,i){function a(t){try{l(o.next(t))}catch(t){i(t)}}function c(t){try{l(o.throw(t))}catch(t){i(t)}}function l(e){var r;e.done?t(e.value):(r=e.value,r instanceof n?r:new n((function(t){t(r)}))).then(a,c)}l((o=o.apply(e,r||[])).next())}));var e,r,n,o},showSpinner:t.disabled||a,disabled:t.disabled||a},o().createElement(L.x,{namespace:Ge,phrase:"submitButtonText"}))))}};function Ze(t){var e,r=(e=t.type,$[e]),a=function(t,e){var r=Object.assign({},e);return Object.keys(r).forEach((function(t){void 0===r[t]&&delete r[t]})),Object.keys(r).length?Object.assign(Object.assign({},t),r):t}(bt,t.defaultValues),c=function(t){var e=t.initialFormState,r=t.initialStepId,o=t.completedStepIds,a=t.getNextStepId,c=t.location,l=yt((0,n.useState)(r),2),u=l[0],s=l[1],f=yt((0,n.useState)(a(r)),2),p=f[0],h=f[1],d=yt((0,n.useState)([]),2),m=d[0],y=d[1],v=yt((0,n.useState)(e||bt),2),g=v[0],b=v[1],w=yt((0,n.useState)({}),2),x=w[0],E=w[1],S=yt((0,n.useState)(!1),2),L=S[0],N=S[1],j=yt((0,n.useState)(),2),O=j[0],I=j[1];return(0,n.useEffect)((function(){var t=a(u);t!==u&&h(t)}),[u]),{currentStepId:u,data:g,errors:x,submitted:L,submissionError:O,setSubmissionError:I,previousStep:function(){if(m&&m.length){var t=mt(m);s(t.pop()),y(t)}},hasPreviousStep:function(){return!!m.length},nextStep:function(){u!==p&&(o.includes(p)?N(!0):N(!1),s((function(t){return y([].concat(mt(m),[t])),p})))},setData:function(t,e){b((function(r){return Object.assign(Object.assign({},r),dt({},t,e))}))},setError:function(t,e){if(e.length)E((function(r){return Object.assign(Object.assign({},r),dt({},t,e))}));else{var r=Object.assign({},x);delete r[t],E(r)}},canSubmitForm:function(){var t=g.email,e=g.type,r=g.prospectId,n=o.includes(p);return!!(t&&e&&r&&n)},canCreateSchool:function(){var t=g.schoolName,e=g.schoolType,r=g.country,n=o.includes(p);return!!(t&&e&&r&&n)},setNextStepId:h,nextStepId:p,previousStepIds:m,geoLocation:pt(),logUserAction:function(t,e){var r=Object.assign(Object.assign({currentStepId:u,nextStepId:p},ct.t.omit(g,["email","longitude","latitude"])),t),n=Object.entries(r).filter((function(t){return void 0!==yt(t,2)[1]})).reduce((function(t,e){var r=yt(e,2),n=r[0],o=r[1];return Object.assign(Object.assign({},t),dt({},n,o))}),{});k.k.logUserAction(n,Object.assign({entity:i.EntityType.SignUp,location:c},e))}}}({initialFormState:a,initialStepId:"select-type",completedStepIds:Je,getNextStepId:Ve,location:t.location}),l=ze(o().useState(!1),2),u=l[0],s=l[1],f=ze(o().useState(!1),2);function p(){return e=this,r=void 0,n=void 0,o=We().mark((function e(){var r;return We().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,u||s(!0),c.canSubmitForm()||c.setSubmissionError(qe("cannotSubmitFormError")),"verify-account"===c.nextStepId||"active-trial"===c.nextStepId){e.next=7;break}return c.nextStep(),c.logUserAction({},{actionType:i.UserAction.Create,descriptor:i.SignUpDescriptors.DeadEnd,workflowPhase:i.WorkflowPhase.Discard}),e.abrupt("return");case 7:return e.next=9,at.createTrial({email:c.data.email,prospectId:c.data.prospectId,userType:c.data.type,appLink:t.pageAppLinkString,accessPolicy:(n=c.data.country,"us"===(null==n?void 0:n.toLowerCase())?Be.Freemium:Be.FourteenDays)});case 9:if((r=e.sent).id&&r.dateCreated){e.next=12;break}throw new Error;case 12:c.setData("userId",r.id),c.setData("appLink",t.pageAppLinkString),c.nextStep(),c.logUserAction({},{actionType:i.UserAction.Create,descriptor:i.SignUpDescriptors.TrialCreated,workflowPhase:i.WorkflowPhase.Complete}),e.next=21;break;case 18:e.prev=18,e.t0=e.catch(0),c.setSubmissionError(qe("requestTrialError"));case 21:return e.prev=21,s(!1),e.finish(21);case 24:case"end":return e.stop()}var n}),e,null,[[0,18,21,24]])})),new(n||(n=Promise))((function(t,i){function a(t){try{l(o.next(t))}catch(t){i(t)}}function c(t){try{l(o.throw(t))}catch(t){i(t)}}function l(e){var r;e.done?t(e.value):(r=e.value,r instanceof n?r:new n((function(t){t(r)}))).then(a,c)}l((o=o.apply(e,r||[])).next())}));var e,r,n,o}return f[0],f[1],o().useEffect((function(){t.onStepUpdate&&t.onStepUpdate(c.currentStepId)}),[c.currentStepId]),o().createElement(o().Fragment,null,function(){var e=Xe[c.currentStepId],n=Object.assign(Object.assign({},c),{requestTrial:p,disabled:u,googleMapsApiKey:t.googleMapsApiKey});if(!t.withLayout)return o().createElement(e,Object.assign({},n));if(!Object.keys(r).includes(c.currentStepId))return o().createElement(e,Object.assign({},n));var i=r[c.currentStepId];return o().createElement(i,{geoLocation:c.geoLocation,currentStep:c.currentStepId,hasPreviousStep:c.hasPreviousStep,previousStep:c.previousStep,showBreadCrumbs:t.showBreadCrumbs,logUserAction:c.logUserAction,closeApp:t.close},o().createElement(e,Object.assign({},n)))}(),!1)}Ze.defaultProps={type:U.c.FullPage,withLayout:!0}},2903:(t,e,r)=>{var n;r.d(e,{c:()=>n}),function(t){t.Popup="popup-form",t.FullPage="full-page-form"}(n||(n={}))}}]);