@clickview/lite 0.30.2 → 0.31.0

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 (586) hide show
  1. package/dist/bundles.json +3 -3
  2. package/dist/css/{2856-lite-21cbe59080.chunk.css → 1064-lite-e6ec84fd3f.chunk.css} +10 -8
  3. package/dist/css/{9556-lite-1217c582af.chunk.css → 1285-lite-f0b44829ca.chunk.css} +1 -0
  4. package/dist/css/{6427-lite-df0bdfb283.chunk.css → 1291-lite-1c4780743f.chunk.css} +3 -2
  5. package/dist/css/1366-lite-0239ab3e7e.chunk.css +27 -0
  6. package/dist/css/{6152-lite-1708f1512d.chunk.css → 1526-lite-d9c7560726.chunk.css} +2 -1
  7. package/dist/css/162-lite-32e60d7e18.chunk.css +37 -0
  8. package/dist/css/1726-lite-137426e119.chunk.css +1 -0
  9. package/dist/css/{8531-lite-45c116a848.chunk.css → 1781-lite-d3216fb72f.chunk.css} +15 -14
  10. package/dist/css/{1820-lite-ef968a403a.chunk.css → 1820-lite-2e8b8f3d56.chunk.css} +1 -0
  11. package/dist/css/{7510-lite-5a94c338d4.chunk.css → 1863-lite-41eac57107.chunk.css} +2 -1
  12. package/dist/css/1977-lite-22ea72f8e3.chunk.css +11 -0
  13. package/dist/css/{4812-lite-9cf3338f3e.chunk.css → 2066-lite-4e16a83a36.chunk.css} +36 -34
  14. package/dist/css/{5347-lite-f8824ba1b2.chunk.css → 2095-lite-32dcae3b59.chunk.css} +3 -1
  15. package/dist/css/{3879-lite-8b6845e895.chunk.css → 2118-lite-74522bc90f.chunk.css} +0 -1
  16. package/dist/css/{7069-lite-84d84f9643.chunk.css → 2208-lite-2d92008860.chunk.css} +2 -1
  17. package/dist/css/{3129-lite-8dcbcce0ae.chunk.css → 2235-lite-da165be245.chunk.css} +2 -1
  18. package/dist/css/{2675-lite-4edf022f84.chunk.css → 2477-lite-416e958638.chunk.css} +10 -8
  19. package/dist/css/{6884-lite-b671289d33.chunk.css → 2701-lite-62beed2a51.chunk.css} +17 -14
  20. package/dist/css/{5356-lite-fe6a7995dc.chunk.css → 2729-lite-15aa778737.chunk.css} +10 -8
  21. package/dist/css/{157-lite-4062b848d8.chunk.css → 275-lite-71b01cc990.chunk.css} +10 -8
  22. package/dist/css/{6325-lite-c92aa18439.chunk.css → 3012-lite-35885ce429.chunk.css} +3 -2
  23. package/dist/css/3108-lite-78e825f26e.chunk.css +10 -0
  24. package/dist/css/3125-lite-29265dec67.chunk.css +30 -0
  25. package/dist/css/{3505-lite-f13e4562ae.chunk.css → 3154-lite-11158838c0.chunk.css} +4 -3
  26. package/dist/css/355-lite-271a4bb3d4.chunk.css +33 -0
  27. package/dist/css/{3645-lite-85a5f1ffe8.chunk.css → 3645-lite-304423256b.chunk.css} +2 -1
  28. package/dist/css/{3245-lite-1708f1512d.chunk.css → 3654-lite-da165be245.chunk.css} +3 -2
  29. package/dist/css/{3094-lite-9473436b64.chunk.css → 3755-lite-21f15b7906.chunk.css} +7 -6
  30. package/dist/css/{8944-lite-74cb244872.chunk.css → 389-lite-f591cce0a7.chunk.css} +1 -0
  31. package/dist/css/{8882-lite-b671289d33.chunk.css → 4026-lite-62beed2a51.chunk.css} +17 -14
  32. package/dist/css/4052-lite-6bf4f7a77b.chunk.css +33 -0
  33. package/dist/css/{65-lite-f6ef9091fb.chunk.css → 4145-lite-a27eec9ae8.chunk.css} +9 -7
  34. package/dist/css/{996-lite-bd985bffcc.chunk.css → 4229-lite-6aa69cd401.chunk.css} +22 -20
  35. package/dist/css/{9642-lite-e8f5b31ec7.chunk.css → 4380-lite-cdf9814e9a.chunk.css} +11 -8
  36. package/dist/css/{375-lite-8dcbcce0ae.chunk.css → 4393-lite-da165be245.chunk.css} +2 -1
  37. package/dist/css/4436-lite-ebe682079f.chunk.css +5 -0
  38. package/dist/css/4484-lite-204fa1d3ba.chunk.css +13 -0
  39. package/dist/css/{4090-lite-c73b1d27de.chunk.css → 4537-lite-beac80e560.chunk.css} +5 -4
  40. package/dist/css/4690-lite-a4fdd7e61e.chunk.css +4 -0
  41. package/dist/css/{4840-lite-fe6a7995dc.chunk.css → 4874-lite-15aa778737.chunk.css} +10 -8
  42. package/dist/css/4901-lite-d395807101.chunk.css +12 -0
  43. package/dist/css/{8779-lite-2daf9e9a3c.chunk.css → 4942-lite-bd40e9c904.chunk.css} +1 -0
  44. package/dist/css/5268-lite-bd40e9c904.chunk.css +4 -0
  45. package/dist/css/{5330-lite-80b37de1cd.chunk.css → 5590-lite-e6ec84fd3f.chunk.css} +12 -13
  46. package/dist/css/{5595-lite-3443a53fd0.chunk.css → 5595-lite-2e6f96854b.chunk.css} +2 -0
  47. package/dist/css/{9814-lite-9acceb877a.chunk.css → 6117-lite-fe222571f3.chunk.css} +3 -2
  48. package/dist/css/{7808-lite-a1ae83bd63.chunk.css → 6154-lite-b8ba830cd3.chunk.css} +9 -8
  49. package/dist/css/{8072-lite-98599b0065.chunk.css → 6254-lite-d969bbf4ac.chunk.css} +9 -7
  50. package/dist/css/6330-lite-bd40e9c904.chunk.css +4 -0
  51. package/dist/css/{8300-lite-cca9a2f323.chunk.css → 6689-lite-385dfbe1d8.chunk.css} +2 -1
  52. package/dist/css/{9029-lite-426f004e96.chunk.css → 6822-lite-927bfd9703.chunk.css} +16 -14
  53. package/dist/css/6866-lite-137426e119.chunk.css +1 -0
  54. package/dist/css/6913-lite-137426e119.chunk.css +1 -0
  55. package/dist/css/{5833-lite-953b2df0e3.chunk.css → 6930-lite-e4bd458c08.chunk.css} +1 -0
  56. package/dist/css/{5533-lite-c62cfcd0ef.chunk.css → 6932-lite-944c5933dc.chunk.css} +9 -7
  57. package/dist/css/7056-lite-32ce104e72.chunk.css +2 -0
  58. package/dist/css/{2835-lite-8b6845e895.chunk.css → 7112-lite-01b143fa0b.chunk.css} +2 -1
  59. package/dist/css/{5869-lite-4591628509.chunk.css → 7203-lite-65aaa80b60.chunk.css} +15 -11
  60. package/dist/css/{2755-lite-ca3921d92f.chunk.css → 7286-lite-da823e464b.chunk.css} +9 -7
  61. package/dist/css/{6186-lite-7dc5e5f000.chunk.css → 7341-lite-abb86816df.chunk.css} +1 -0
  62. package/dist/css/7515-lite-01b143fa0b.chunk.css +3 -0
  63. package/dist/css/7555-lite-da165be245.chunk.css +4 -0
  64. package/dist/css/{9902-lite-0bafaff9d8.chunk.css → 7952-lite-0a9d045149.chunk.css} +9 -7
  65. package/dist/css/{1410-lite-26ab29aa8c.chunk.css → 8035-lite-e6ec84fd3f.chunk.css} +11 -9
  66. package/dist/css/{5940-lite-a4cdb20903.chunk.css → 8367-lite-a3507f7491.chunk.css} +3 -2
  67. package/dist/css/{4210-lite-aafbbb1c85.chunk.css → 8500-lite-6cb624c329.chunk.css} +11 -9
  68. package/dist/css/{5645-lite-e8f5b31ec7.chunk.css → 8556-lite-cdf9814e9a.chunk.css} +11 -8
  69. package/dist/css/{8830-lite-fb1cdc777e.chunk.css → 8830-lite-6ec13eef7c.chunk.css} +1 -0
  70. package/dist/css/8960-lite-9068589bd0.chunk.css +32 -0
  71. package/dist/css/{1805-lite-55dbd057b8.chunk.css → 9118-lite-843a13bfcc.chunk.css} +2 -1
  72. package/dist/css/9484-lite-bd40e9c904.chunk.css +4 -0
  73. package/dist/css/{1419-lite-d52c7e4c5a.chunk.css → 9714-lite-194caaa213.chunk.css} +7 -6
  74. package/dist/css/{lite-app-de899ee69e.css → lite-app-1d0c2fd2b0.css} +16 -105
  75. package/dist/languages/en.json +1 -1
  76. package/dist/scripts/1064-f67592534f-lite.chunk.js +1 -0
  77. package/dist/scripts/{5606-217c73cdd7-lite.chunk.js → 1090-6357a8481e-lite.chunk.js} +1 -1
  78. package/dist/scripts/{1106-0f86da7d7a-lite.chunk.js → 1106-bff7c39251-lite.chunk.js} +1 -1
  79. package/dist/scripts/{1200-549e8b8abc-lite.chunk.js → 1200-9a411abf42-lite.chunk.js} +2 -2
  80. package/dist/scripts/1285-7afa47b773-lite.chunk.js +1 -0
  81. package/dist/scripts/1291-afca7b0cd0-lite.chunk.js +1 -0
  82. package/dist/scripts/1341-1d121961bb-lite.chunk.js +1 -0
  83. package/dist/scripts/{1354-3346c46c0a-lite.chunk.js → 1354-635a2024da-lite.chunk.js} +2 -2
  84. package/dist/scripts/1366-d52572015e-lite.chunk.js +2 -0
  85. package/dist/scripts/147-f32522149a-lite.chunk.js +1 -0
  86. package/dist/scripts/1475-820fef70f4-lite.chunk.js +1 -0
  87. package/dist/scripts/1517-5b862f657e-lite.chunk.js +1 -0
  88. package/dist/scripts/{1518-015dad7e32-lite.chunk.js → 1518-277693df55-lite.chunk.js} +1 -1
  89. package/dist/scripts/1526-4beff8cab8-lite.chunk.js +1 -0
  90. package/dist/scripts/1536-85717afe85-lite.chunk.js +1 -0
  91. package/dist/scripts/156-dde8ca94d7-lite.chunk.js +1 -0
  92. package/dist/scripts/{1592-7573d29b17-lite.chunk.js → 1592-dcc4772f16-lite.chunk.js} +2 -2
  93. package/dist/scripts/162-16df777e96-lite.chunk.js +2 -0
  94. package/dist/scripts/{1628-14ff83c3ab-lite.chunk.js → 1628-b13c0d7b41-lite.chunk.js} +1 -1
  95. package/dist/scripts/1655-e5d6dfb27a-lite.chunk.js +1 -0
  96. package/dist/scripts/1726-ba13ed4678-lite.chunk.js +1 -0
  97. package/dist/scripts/1766-164756da7c-lite.chunk.js +1 -0
  98. package/dist/scripts/1781-c10bf95537-lite.chunk.js +1 -0
  99. package/dist/scripts/1794-2ce2b767a9-lite.chunk.js +1 -0
  100. package/dist/scripts/1818-d24058bd8f-lite.chunk.js +1 -0
  101. package/dist/scripts/1820-521c94621b-lite.chunk.js +1 -0
  102. package/dist/scripts/{1837-d61969e2e5-lite.chunk.js → 1837-0673045eda-lite.chunk.js} +1 -1
  103. package/dist/scripts/1863-4b2cc1922c-lite.chunk.js +1 -0
  104. package/dist/scripts/{3200-34b13082a8-lite.chunk.js → 1891-f871c22b2f-lite.chunk.js} +1 -1
  105. package/dist/scripts/1913-255f9695d4-lite.chunk.js +1 -0
  106. package/dist/scripts/{1924-cba94abb2d-lite.chunk.js → 1924-2a21fe2738-lite.chunk.js} +1 -1
  107. package/dist/scripts/1934-a972017a0c-lite.chunk.js +2 -0
  108. package/dist/scripts/1934-a972017a0c-lite.chunk.js.LICENSE.txt +9 -0
  109. package/dist/scripts/{1943-9885fdda1a-lite.chunk.js → 1943-119060ac7f-lite.chunk.js} +1 -1
  110. package/dist/scripts/1958-14838db334-lite.chunk.js +1 -0
  111. package/dist/scripts/1977-7cc7e5343b-lite.chunk.js +2 -0
  112. package/dist/scripts/1977-7cc7e5343b-lite.chunk.js.LICENSE.txt +11 -0
  113. package/dist/scripts/2066-db515814ad-lite.chunk.js +2 -0
  114. package/dist/scripts/2095-fffbd264d1-lite.chunk.js +1 -0
  115. package/dist/scripts/2118-8b6fa7abde-lite.chunk.js +2 -0
  116. package/dist/scripts/{2175-0f84f00e1b-lite.chunk.js → 2175-0ee6619ca7-lite.chunk.js} +1 -1
  117. package/dist/scripts/{2199-d847f87dff-lite.chunk.js → 2199-e53e42509e-lite.chunk.js} +1 -1
  118. package/dist/scripts/2208-42904c2f44-lite.chunk.js +1 -0
  119. package/dist/scripts/{2229-3e6a038b93-lite.chunk.js → 2229-bc14b074ed-lite.chunk.js} +1 -1
  120. package/dist/scripts/2235-290199467a-lite.chunk.js +1 -0
  121. package/dist/scripts/2269-aafae0c3da-lite.chunk.js +1 -0
  122. package/dist/scripts/{227-b2189f910f-lite.chunk.js → 227-7c680a98a4-lite.chunk.js} +1 -1
  123. package/dist/scripts/2279-91adb10745-lite.chunk.js +1 -0
  124. package/dist/scripts/{2318-0ff14c0bd3-lite.chunk.js → 2318-fb3aa4398a-lite.chunk.js} +1 -1
  125. package/dist/scripts/{2469-a665c8bcd7-lite.chunk.js → 2469-90dd90645b-lite.chunk.js} +1 -1
  126. package/dist/scripts/2477-f408e61006-lite.chunk.js +1 -0
  127. package/dist/scripts/{2561-6e9be00863-lite.chunk.js → 2561-1e0b389a7a-lite.chunk.js} +1 -1
  128. package/dist/scripts/{2566-4d4210b567-lite.chunk.js → 2566-2f7100a498-lite.chunk.js} +1 -1
  129. package/dist/scripts/2592-24cd43fffe-lite.chunk.js +1 -0
  130. package/dist/scripts/2608-bf3f792d3d-lite.chunk.js +1 -0
  131. package/dist/scripts/{2665-1b4bfb587b-lite.chunk.js → 2665-cb6dff1d0e-lite.chunk.js} +1 -1
  132. package/dist/scripts/2701-093bcc66ac-lite.chunk.js +1 -0
  133. package/dist/scripts/2729-d0b201806b-lite.chunk.js +1 -0
  134. package/dist/scripts/275-f95c8de900-lite.chunk.js +1 -0
  135. package/dist/scripts/2956-4b8e0a4c58-lite.chunk.js +1 -0
  136. package/dist/scripts/{2966-6cea808843-lite.chunk.js → 2966-a88d11d626-lite.chunk.js} +1 -1
  137. package/dist/scripts/3003-0ff3ea9398-lite.chunk.js +1 -0
  138. package/dist/scripts/3012-5ffcff3af0-lite.chunk.js +1 -0
  139. package/dist/scripts/3020-9f0d773484-lite.chunk.js +1 -0
  140. package/dist/scripts/3093-d4d47a261b-lite.chunk.js +1 -0
  141. package/dist/scripts/3108-7f0dde546a-lite.chunk.js +1 -0
  142. package/dist/scripts/3125-919003fe6b-lite.chunk.js +1 -0
  143. package/dist/scripts/3154-14324fdea1-lite.chunk.js +1 -0
  144. package/dist/scripts/{3171-8b56e5dc82-lite.chunk.js → 3171-88406511bb-lite.chunk.js} +1 -1
  145. package/dist/scripts/3216-ecf04b612f-lite.chunk.js +1 -0
  146. package/dist/scripts/3285-72f1592710-lite.chunk.js +1 -0
  147. package/dist/scripts/3301-1370b99f05-lite.chunk.js +1 -0
  148. package/dist/scripts/{3468-1402df4f32-lite.chunk.js → 3468-5c42c3f485-lite.chunk.js} +1 -1
  149. package/dist/scripts/3514-8a8dd2b680-lite.chunk.js +1 -0
  150. package/dist/scripts/3533-ad26b0a09c-lite.chunk.js +1 -0
  151. package/dist/scripts/355-f578d9beb2-lite.chunk.js +1 -0
  152. package/dist/scripts/{3602-86e3ad2e1c-lite.chunk.js → 3602-9e631593b1-lite.chunk.js} +2 -2
  153. package/dist/scripts/3645-dd57bf267e-lite.chunk.js +2 -0
  154. package/dist/scripts/3654-5c8fc842aa-lite.chunk.js +1 -0
  155. package/dist/scripts/3667-9a2a4c64b5-lite.chunk.js +2 -0
  156. package/dist/scripts/{3728-200482d1b0-lite.chunk.js → 3728-12a39b4a42-lite.chunk.js} +1 -1
  157. package/dist/scripts/3729-74f7cebe6d-lite.chunk.js +1 -0
  158. package/dist/scripts/3754-6d17b49de7-lite.chunk.js +1 -0
  159. package/dist/scripts/3755-8e694cf47f-lite.chunk.js +1 -0
  160. package/dist/scripts/3787-f1b980ca08-lite.chunk.js +1 -0
  161. package/dist/scripts/383-439553ff8f-lite.chunk.js +1 -0
  162. package/dist/scripts/3836-0924c271f0-lite.chunk.js +1 -0
  163. package/dist/scripts/3848-64b1dab37f-lite.chunk.js +1 -0
  164. package/dist/scripts/3849-815facaf40-lite.chunk.js +1 -0
  165. package/dist/scripts/389-5ff8e9b829-lite.chunk.js +1 -0
  166. package/dist/scripts/3962-54498beb2f-lite.chunk.js +1 -0
  167. package/dist/scripts/3966-61770122fe-lite.chunk.js +1 -0
  168. package/dist/scripts/4026-de6dccdbbb-lite.chunk.js +1 -0
  169. package/dist/scripts/4052-a88bdbbcf1-lite.chunk.js +1 -0
  170. package/dist/scripts/4067-48c21d9303-lite.chunk.js +1 -0
  171. package/dist/scripts/414-baf33cb9d0-lite.chunk.js +1 -0
  172. package/dist/scripts/4145-52b65d2e94-lite.chunk.js +1 -0
  173. package/dist/scripts/{4182-2c2c5571a6-lite.chunk.js → 4182-f84b364819-lite.chunk.js} +1 -1
  174. package/dist/scripts/4229-c1df7ea14b-lite.chunk.js +1 -0
  175. package/dist/scripts/4290-e921ae9e76-lite.chunk.js +1 -0
  176. package/dist/scripts/4326-ec9ca09585-lite.chunk.js +1 -0
  177. package/dist/scripts/{4343-c52a4e0042-lite.chunk.js → 4343-ab569983cb-lite.chunk.js} +1 -1
  178. package/dist/scripts/4380-165a473ef0-lite.chunk.js +1 -0
  179. package/dist/scripts/4393-6d40d84805-lite.chunk.js +1 -0
  180. package/dist/scripts/4417-baddebbdf6-lite.chunk.js +1 -0
  181. package/dist/scripts/{4423-0321858398-lite.chunk.js → 4423-15fcd2a632-lite.chunk.js} +1 -1
  182. package/dist/scripts/4436-575256cade-lite.chunk.js +1 -0
  183. package/dist/scripts/4484-bd2cf7b458-lite.chunk.js +1 -0
  184. package/dist/scripts/4537-01038c7e8a-lite.chunk.js +1 -0
  185. package/dist/scripts/{4541-a119433212-lite.chunk.js → 4541-169300086f-lite.chunk.js} +1 -1
  186. package/dist/scripts/4617-67b3036cbe-lite.chunk.js +1 -0
  187. package/dist/scripts/4632-98c863e6c1-lite.chunk.js +1 -0
  188. package/dist/scripts/{4676-020a60c057-lite.chunk.js → 4676-bb8b7e034f-lite.chunk.js} +2 -2
  189. package/dist/scripts/4690-7add6db107-lite.chunk.js +1 -0
  190. package/dist/scripts/{1830-1f2cd59b2a-lite.chunk.js → 4763-42f4ee27a6-lite.chunk.js} +1 -1
  191. package/dist/scripts/{4770-3c09f8eaa4-lite.chunk.js → 4770-02ee901240-lite.chunk.js} +1 -1
  192. package/dist/scripts/{482-97936e39ed-lite.chunk.js → 482-91567ba9a5-lite.chunk.js} +1 -1
  193. package/dist/scripts/4893-c8fbae6c8d-lite.chunk.js +1 -0
  194. package/dist/scripts/{4895-9f5bae5afe-lite.chunk.js → 4895-c190fe08db-lite.chunk.js} +1 -1
  195. package/dist/scripts/4901-dbbd888771-lite.chunk.js +2 -0
  196. package/dist/scripts/4942-41d01acc50-lite.chunk.js +2 -0
  197. package/dist/scripts/{5018-a0552ac60e-lite.chunk.js → 5018-5e67147716-lite.chunk.js} +1 -1
  198. package/dist/scripts/5041-858ca41ef8-lite.chunk.js +1 -0
  199. package/dist/scripts/{510-88d82082a6-lite.chunk.js → 510-6b29b1c65e-lite.chunk.js} +1 -1
  200. package/dist/scripts/5173-b9dacfa8f7-lite.chunk.js +1 -0
  201. package/dist/scripts/5229-1fb29b4635-lite.chunk.js +1 -0
  202. package/dist/scripts/5268-c0ad8047b8-lite.chunk.js +2 -0
  203. package/dist/scripts/528-fa34d4e176-lite.chunk.js +1 -0
  204. package/dist/scripts/5291-7cbea59e7a-lite.chunk.js +1 -0
  205. package/dist/scripts/5385-902a17aca1-lite.chunk.js +1 -0
  206. package/dist/scripts/5395-cc691d41a1-lite.chunk.js +1 -0
  207. package/dist/scripts/5590-0fab2043f5-lite.chunk.js +1 -0
  208. package/dist/scripts/5595-ec7a1d94d6-lite.chunk.js +1 -0
  209. package/dist/scripts/{5622-f59cb146d5-lite.chunk.js → 5622-df1c9f72f5-lite.chunk.js} +2 -2
  210. package/dist/scripts/{9016-5d3b7ebca7-lite.chunk.js → 5756-7e5a76b657-lite.chunk.js} +1 -1
  211. package/dist/scripts/5776-b749e84450-lite.chunk.js +1 -0
  212. package/dist/scripts/{5823-931575f97a-lite.chunk.js → 5823-d64e3ad325-lite.chunk.js} +1 -1
  213. package/dist/scripts/5914-8fbc9ac553-lite.chunk.js +1 -0
  214. package/dist/scripts/5974-5de4c745e3-lite.chunk.js +1 -0
  215. package/dist/scripts/{5134-2cde05b9e1-lite.chunk.js → 5983-45f1df7cdf-lite.chunk.js} +1 -1
  216. package/dist/scripts/5986-d373b39115-lite.chunk.js +1 -0
  217. package/dist/scripts/{6057-ee0fc12212-lite.chunk.js → 6057-7472925513-lite.chunk.js} +1 -1
  218. package/dist/scripts/6117-84c093b8be-lite.chunk.js +1 -0
  219. package/dist/scripts/615-e5cc2b7cdd-lite.chunk.js +1 -0
  220. package/dist/scripts/6154-531092aec6-lite.chunk.js +1 -0
  221. package/dist/scripts/6158-e5522a2a15-lite.chunk.js +1 -0
  222. package/dist/scripts/{6159-6c381cdb40-lite.chunk.js → 6159-87c08c857e-lite.chunk.js} +1 -1
  223. package/dist/scripts/6254-67c2d529b5-lite.chunk.js +1 -0
  224. package/dist/scripts/6263-cbad229bfe-lite.chunk.js +1 -0
  225. package/dist/scripts/6274-e6a04ae100-lite.chunk.js +1 -0
  226. package/dist/scripts/6285-3c6ecdb063-lite.chunk.js +1 -0
  227. package/dist/scripts/{6302-0403b6cfba-lite.chunk.js → 6302-6506ee47b5-lite.chunk.js} +1 -1
  228. package/dist/scripts/6330-f66286f1bd-lite.chunk.js +1 -0
  229. package/dist/scripts/{6368-07b7907e8c-lite.chunk.js → 6368-d27d7ddad7-lite.chunk.js} +1 -1
  230. package/dist/scripts/6370-9d45b8efc0-lite.chunk.js +1 -0
  231. package/dist/scripts/{6450-7fd1a35808-lite.chunk.js → 6450-3d380d7fb6-lite.chunk.js} +1 -1
  232. package/dist/scripts/{6465-f2556508fa-lite.chunk.js → 6465-61c304878d-lite.chunk.js} +1 -1
  233. package/dist/scripts/{6480-3664de76df-lite.chunk.js → 6480-0f993f9e8d-lite.chunk.js} +1 -1
  234. package/dist/scripts/6493-e8829f4043-lite.chunk.js +1 -0
  235. package/dist/scripts/6572-925e1f6cd9-lite.chunk.js +1 -0
  236. package/dist/scripts/{6604-9fdc49ea46-lite.chunk.js → 6604-afa7ada95d-lite.chunk.js} +1 -1
  237. package/dist/scripts/6689-f8f1fe1624-lite.chunk.js +1 -0
  238. package/dist/scripts/{6801-e186fa1fde-lite.chunk.js → 6801-afab3dd733-lite.chunk.js} +1 -1
  239. package/dist/scripts/6817-53272d5d88-lite.chunk.js +1 -0
  240. package/dist/scripts/{6821-fb59d25618-lite.chunk.js → 6821-f7d1d7ef07-lite.chunk.js} +1 -1
  241. package/dist/scripts/6822-3c052e82fe-lite.chunk.js +1 -0
  242. package/dist/scripts/{6823-272c18d11d-lite.chunk.js → 6823-0083a3231c-lite.chunk.js} +2 -2
  243. package/dist/scripts/6866-a560486b95-lite.chunk.js +1 -0
  244. package/dist/scripts/{6873-d9d9bbf8de-lite.chunk.js → 6873-032b4915f9-lite.chunk.js} +1 -1
  245. package/dist/scripts/689-872cae611f-lite.chunk.js +1 -0
  246. package/dist/scripts/{6896-bcd89e6cf3-lite.chunk.js → 6896-467ac6697c-lite.chunk.js} +2 -2
  247. package/dist/scripts/691-720de5af0d-lite.chunk.js +2 -0
  248. package/dist/scripts/691-720de5af0d-lite.chunk.js.LICENSE.txt +13 -0
  249. package/dist/scripts/6913-8d05107c68-lite.chunk.js +1 -0
  250. package/dist/scripts/6930-24a4e7c71a-lite.chunk.js +1 -0
  251. package/dist/scripts/6932-c7817af4d6-lite.chunk.js +1 -0
  252. package/dist/scripts/{7017-b9352b104b-lite.chunk.js → 7017-14feec9dd1-lite.chunk.js} +2 -2
  253. package/dist/scripts/{7030-d27b42e6b3-lite.chunk.js → 7030-67a3d8acb6-lite.chunk.js} +2 -2
  254. package/dist/scripts/7045-70afbf80c3-lite.chunk.js +1 -0
  255. package/dist/scripts/7052-baf4150fb1-lite.chunk.js +2 -0
  256. package/dist/scripts/7056-db7a72ae7a-lite.chunk.js +1 -0
  257. package/dist/scripts/7072-c3785ca37e-lite.chunk.js +2 -0
  258. package/dist/scripts/7108-2acfc76a8d-lite.chunk.js +1 -0
  259. package/dist/scripts/7112-88336f937e-lite.chunk.js +2 -0
  260. package/dist/scripts/7115-1dc32e54d7-lite.chunk.js +1 -0
  261. package/dist/scripts/7117-f7821bddb5-lite.chunk.js +1 -0
  262. package/dist/scripts/{7128-394a5b25cc-lite.chunk.js → 7128-e83c5ba823-lite.chunk.js} +1 -1
  263. package/dist/scripts/714-2bf8567e2a-lite.chunk.js +1 -0
  264. package/dist/scripts/{7172-8a34e997ea-lite.chunk.js → 7172-6c0b0b571e-lite.chunk.js} +1 -1
  265. package/dist/scripts/7203-89126e42d2-lite.chunk.js +1 -0
  266. package/dist/scripts/7205-84a68e0ae6-lite.chunk.js +1 -0
  267. package/dist/scripts/7221-aed0b2fd5c-lite.chunk.js +2 -0
  268. package/dist/scripts/7286-2500bc1b4d-lite.chunk.js +1 -0
  269. package/dist/scripts/7293-d2339dc134-lite.chunk.js +1 -0
  270. package/dist/scripts/7318-bee88ab659-lite.chunk.js +2 -0
  271. package/dist/scripts/{6186-816b26cc1d-lite.chunk.js → 7341-e37e1b4702-lite.chunk.js} +1 -1
  272. package/dist/scripts/{7385-3d4bc59e02-lite.chunk.js → 7385-42b24a5db4-lite.chunk.js} +1 -1
  273. package/dist/scripts/7409-c0d306ab4f-lite.chunk.js +1 -0
  274. package/dist/scripts/{7506-c14efc267c-lite.chunk.js → 7506-461f96e632-lite.chunk.js} +1 -1
  275. package/dist/scripts/{3879-1f6a71b0e1-lite.chunk.js → 7515-08ba1635e4-lite.chunk.js} +2 -2
  276. package/dist/scripts/754-4799619844-lite.chunk.js +1 -0
  277. package/dist/scripts/7555-0c28dae806-lite.chunk.js +1 -0
  278. package/dist/scripts/{7706-c173a4adce-lite.chunk.js → 7706-85973863b8-lite.chunk.js} +1 -1
  279. package/dist/scripts/7708-a3f51335bb-lite.chunk.js +1 -0
  280. package/dist/scripts/7724-66f50b3e25-lite.chunk.js +1 -0
  281. package/dist/scripts/7767-dec6177ee8-lite.chunk.js +1 -0
  282. package/dist/scripts/{7855-fa28a68dc2-lite.chunk.js → 7855-cb798dcf71-lite.chunk.js} +1 -1
  283. package/dist/scripts/{7888-9495520bce-lite.chunk.js → 7888-e89b67d09f-lite.chunk.js} +1 -1
  284. package/dist/scripts/{7939-9be850a448-lite.chunk.js → 7939-2241334bbc-lite.chunk.js} +1 -1
  285. package/dist/scripts/7950-5ea68fae3f-lite.chunk.js +2 -0
  286. package/dist/scripts/7950-5ea68fae3f-lite.chunk.js.LICENSE.txt +1 -0
  287. package/dist/scripts/{9902-ca0f065d90-lite.chunk.js → 7952-f487a842d1-lite.chunk.js} +1 -1
  288. package/dist/scripts/{8025-a09100f5f8-lite.chunk.js → 8025-aa024b643c-lite.chunk.js} +1 -1
  289. package/dist/scripts/8035-ae1f82dc2b-lite.chunk.js +1 -0
  290. package/dist/scripts/{8038-d984b789be-lite.chunk.js → 8038-d08d354f1d-lite.chunk.js} +1 -1
  291. package/dist/scripts/{8046-3042885a1c-lite.chunk.js → 8046-2f286c23d8-lite.chunk.js} +1 -1
  292. package/dist/scripts/{8056-1a59f5f88e-lite.chunk.js → 8056-02148dac14-lite.chunk.js} +1 -1
  293. package/dist/scripts/{811-4c21882e66-lite.chunk.js → 811-c0682d38fc-lite.chunk.js} +1 -1
  294. package/dist/scripts/8176-3e3e552896-lite.chunk.js +1 -0
  295. package/dist/scripts/{823-96721061ac-lite.chunk.js → 823-95520826e7-lite.chunk.js} +1 -1
  296. package/dist/scripts/8252-0b0bc1f57d-lite.chunk.js +1 -0
  297. package/dist/scripts/{1891-fc22c8c80e-lite.chunk.js → 8292-ab603bf688-lite.chunk.js} +1 -1
  298. package/dist/scripts/8323-ebde7e14b0-lite.chunk.js +2 -0
  299. package/dist/scripts/8323-ebde7e14b0-lite.chunk.js.LICENSE.txt +1 -0
  300. package/dist/scripts/8367-9dfee373b1-lite.chunk.js +1 -0
  301. package/dist/scripts/{8383-83c172464d-lite.chunk.js → 8383-e5491b0fea-lite.chunk.js} +1 -1
  302. package/dist/scripts/8419-f49f8ac6fb-lite.chunk.js +1 -0
  303. package/dist/scripts/8466-d5ef6547c1-lite.chunk.js +1 -0
  304. package/dist/scripts/8500-2c7416d260-lite.chunk.js +1 -0
  305. package/dist/scripts/8516-eba25d7732-lite.chunk.js +1 -0
  306. package/dist/scripts/{5645-b39f0da70a-lite.chunk.js → 8556-4258698c18-lite.chunk.js} +1 -1
  307. package/dist/scripts/8564-7754f107a5-lite.chunk.js +1 -0
  308. package/dist/scripts/{8621-c514447ffb-lite.chunk.js → 8621-f56becd41d-lite.chunk.js} +1 -1
  309. package/dist/scripts/8627-a75e8c3c72-lite.chunk.js +1 -0
  310. package/dist/scripts/{8681-f9a8c79ee5-lite.chunk.js → 8681-57707d9f89-lite.chunk.js} +2 -2
  311. package/dist/scripts/8681-57707d9f89-lite.chunk.js.LICENSE.txt +1 -0
  312. package/dist/scripts/{872-44713ba930-lite.chunk.js → 872-ec1fa5330c-lite.chunk.js} +1 -1
  313. package/dist/scripts/8729-1a7f483f5d-lite.chunk.js +1 -0
  314. package/dist/scripts/8759-bf94a35e60-lite.chunk.js +1 -0
  315. package/dist/scripts/8763-8565558446-lite.chunk.js +1 -0
  316. package/dist/scripts/8820-24cd0624e5-lite.chunk.js +1 -0
  317. package/dist/scripts/8830-f87703865e-lite.chunk.js +1 -0
  318. package/dist/scripts/{5877-375dae76a2-lite.chunk.js → 8884-dbdbc50014-lite.chunk.js} +1 -1
  319. package/dist/scripts/8905-c4379b0814-lite.chunk.js +1 -0
  320. package/dist/scripts/8955-25ba847cda-lite.chunk.js +1 -0
  321. package/dist/scripts/{9005-7095f76099-lite.chunk.js → 9005-8da22ad68a-lite.chunk.js} +1 -1
  322. package/dist/scripts/{5512-fdcbe4ecee-lite.chunk.js → 9016-4f396c0fe7-lite.chunk.js} +1 -1
  323. package/dist/scripts/{9038-c51fe905f2-lite.chunk.js → 9038-ff47dcecd1-lite.chunk.js} +1 -1
  324. package/dist/scripts/{9060-b13c55ce5c-lite.chunk.js → 9060-39ba0d65a3-lite.chunk.js} +1 -1
  325. package/dist/scripts/9118-de9f5956d0-lite.chunk.js +1 -0
  326. package/dist/scripts/{9133-b186d465f7-lite.chunk.js → 9133-886ce0448d-lite.chunk.js} +1 -1
  327. package/dist/scripts/9151-e185c78133-lite.chunk.js +1 -0
  328. package/dist/scripts/9242-d2e9f4c647-lite.chunk.js +1 -0
  329. package/dist/scripts/{9264-a3576fe1b7-lite.chunk.js → 9264-d4a3940963-lite.chunk.js} +1 -1
  330. package/dist/scripts/{9273-a6fbfe7f10-lite.chunk.js → 9273-19f7050562-lite.chunk.js} +1 -1
  331. package/dist/scripts/{9428-b732575791-lite.chunk.js → 9428-c2ec53b44d-lite.chunk.js} +2 -2
  332. package/dist/scripts/9428-c2ec53b44d-lite.chunk.js.LICENSE.txt +1 -0
  333. package/dist/scripts/9455-0ff9a13476-lite.chunk.js +1 -0
  334. package/dist/scripts/{9478-37c6b7c1a2-lite.chunk.js → 9478-76af6fb48c-lite.chunk.js} +2 -2
  335. package/dist/scripts/9478-76af6fb48c-lite.chunk.js.LICENSE.txt +1 -0
  336. package/dist/scripts/9484-d9aef28b8a-lite.chunk.js +2 -0
  337. package/dist/scripts/9484-d9aef28b8a-lite.chunk.js.LICENSE.txt +1 -0
  338. package/dist/scripts/949-c7c36f2fb1-lite.chunk.js +1 -0
  339. package/dist/scripts/9522-fdc269fa55-lite.chunk.js +2 -0
  340. package/dist/scripts/9522-fdc269fa55-lite.chunk.js.LICENSE.txt +1 -0
  341. package/dist/scripts/9674-80c7295bd8-lite.chunk.js +1 -0
  342. package/dist/scripts/9714-43eeb20c56-lite.chunk.js +1 -0
  343. package/dist/scripts/9798-24409ec696-lite.chunk.js +1 -0
  344. package/dist/scripts/9880-0ea17e51ac-lite.chunk.js +1 -0
  345. package/dist/scripts/{9899-4ff4814e57-lite.chunk.js → 9899-8e434818e4-lite.chunk.js} +1 -1
  346. package/dist/scripts/{9931-8290a97315-lite.chunk.js → 9931-e8eda5c94f-lite.chunk.js} +2 -2
  347. package/dist/scripts/9931-e8eda5c94f-lite.chunk.js.LICENSE.txt +1 -0
  348. package/dist/scripts/9961-d95b268b23-lite.chunk.js +1 -0
  349. package/dist/scripts/bundle-307c4a7106.min.js +2 -0
  350. package/dist/scripts/{bundle-42da83f804.min.js.LICENSE.txt → bundle-307c4a7106.min.js.LICENSE.txt} +0 -36
  351. package/dist/scripts/polyfills-cf6a3b6e3b.min.js +2 -0
  352. package/dist/scripts/polyfills-cf6a3b6e3b.min.js.LICENSE.txt +1 -0
  353. package/jest.config.js +11 -11
  354. package/package.json +61 -62
  355. package/typings/libs/CVEvents.d.ts +12 -12
  356. package/typings/libs/CVLanguages.d.ts +24 -24
  357. package/typings/libs/backbone.validation.d.ts +99 -99
  358. package/typings/libs/cloneDeep.d.ts +4 -4
  359. package/typings/libs/cookiesjs.d.ts +25 -25
  360. package/typings/libs/draft-convert.d.ts +3 -3
  361. package/typings/libs/google-api.d.ts +93 -93
  362. package/typings/libs/intersection-observer.d.ts +82 -82
  363. package/typings/libs/microsoft-teams.d.ts +2 -2
  364. package/typings/libs/react-table-config.d.ts +138 -138
  365. package/typings/libs/trackjs.d.ts +2 -2
  366. package/typings/libs/videojs-contrib-quality-levels.d.ts +28 -28
  367. package/typings/utils/imports.d.ts +13 -13
  368. package/.eslintrc.json +0 -3
  369. package/dist/css/1725-lite-784f55ea22.chunk.css +0 -3
  370. package/dist/css/1726-lite-a6069ef511.chunk.css +0 -1
  371. package/dist/css/4690-lite-5a84a37ecb.chunk.css +0 -2
  372. package/dist/css/5048-lite-e3b19547a6.chunk.css +0 -4
  373. package/dist/css/5769-lite-26ab29aa8c.chunk.css +0 -27
  374. package/dist/css/6866-lite-a6069ef511.chunk.css +0 -1
  375. package/dist/css/6913-lite-a6069ef511.chunk.css +0 -1
  376. package/dist/css/7056-lite-2130360eaa.chunk.css +0 -2
  377. package/dist/css/924-lite-1708f1512d.chunk.css +0 -3
  378. package/dist/css/9897-lite-80875dbcaf.chunk.css +0 -1
  379. package/dist/scripts/1291-ed90014a0d-lite.chunk.js +0 -1
  380. package/dist/scripts/1324-b353cefaa0-lite.chunk.js +0 -1
  381. package/dist/scripts/1341-522b48ab88-lite.chunk.js +0 -1
  382. package/dist/scripts/1410-2c7a02d51b-lite.chunk.js +0 -1
  383. package/dist/scripts/1419-813a43acd2-lite.chunk.js +0 -1
  384. package/dist/scripts/1475-e8e933f8ec-lite.chunk.js +0 -1
  385. package/dist/scripts/157-0f37b0d04d-lite.chunk.js +0 -1
  386. package/dist/scripts/1672-6bed3f0c16-lite.chunk.js +0 -2
  387. package/dist/scripts/1725-f91870bf3e-lite.chunk.js +0 -1
  388. package/dist/scripts/1726-e2300b7de6-lite.chunk.js +0 -1
  389. package/dist/scripts/1766-de9cabbd90-lite.chunk.js +0 -1
  390. package/dist/scripts/1805-fb2c59deb6-lite.chunk.js +0 -1
  391. package/dist/scripts/1818-7bce6fbbc5-lite.chunk.js +0 -1
  392. package/dist/scripts/1820-020925054d-lite.chunk.js +0 -1
  393. package/dist/scripts/1913-1f5336f128-lite.chunk.js +0 -1
  394. package/dist/scripts/1958-cf002b0d1c-lite.chunk.js +0 -1
  395. package/dist/scripts/2272-9f8e109564-lite.chunk.js +0 -1
  396. package/dist/scripts/2279-f604704516-lite.chunk.js +0 -1
  397. package/dist/scripts/2608-3fd5d617da-lite.chunk.js +0 -1
  398. package/dist/scripts/2675-a7ad35ae0d-lite.chunk.js +0 -1
  399. package/dist/scripts/2755-5b8e88a5ea-lite.chunk.js +0 -1
  400. package/dist/scripts/2835-a21c8103a7-lite.chunk.js +0 -2
  401. package/dist/scripts/2856-6174c28732-lite.chunk.js +0 -1
  402. package/dist/scripts/3020-90d53525c7-lite.chunk.js +0 -1
  403. package/dist/scripts/3094-3697913391-lite.chunk.js +0 -1
  404. package/dist/scripts/3108-742edbe1cb-lite.chunk.js +0 -1
  405. package/dist/scripts/3129-f71b5ac677-lite.chunk.js +0 -1
  406. package/dist/scripts/3216-f4a39ad76e-lite.chunk.js +0 -1
  407. package/dist/scripts/3245-d069659e8b-lite.chunk.js +0 -1
  408. package/dist/scripts/3285-b6ef740841-lite.chunk.js +0 -1
  409. package/dist/scripts/3378-98b9150947-lite.chunk.js +0 -1
  410. package/dist/scripts/3505-35cda2aacc-lite.chunk.js +0 -1
  411. package/dist/scripts/3514-11b3a7031c-lite.chunk.js +0 -1
  412. package/dist/scripts/3533-141e2a9d8c-lite.chunk.js +0 -1
  413. package/dist/scripts/3645-0023a3c2ef-lite.chunk.js +0 -2
  414. package/dist/scripts/3667-b8cfdfbb44-lite.chunk.js +0 -2
  415. package/dist/scripts/3729-146a85a465-lite.chunk.js +0 -1
  416. package/dist/scripts/375-37936e0321-lite.chunk.js +0 -1
  417. package/dist/scripts/3754-dd8d9ebd14-lite.chunk.js +0 -1
  418. package/dist/scripts/3787-f53a50bb54-lite.chunk.js +0 -1
  419. package/dist/scripts/389-5b4ef87c08-lite.chunk.js +0 -1
  420. package/dist/scripts/3962-698cdf0810-lite.chunk.js +0 -1
  421. package/dist/scripts/4067-e5a60745aa-lite.chunk.js +0 -1
  422. package/dist/scripts/4090-654e4ae340-lite.chunk.js +0 -1
  423. package/dist/scripts/414-451bbb3e9d-lite.chunk.js +0 -1
  424. package/dist/scripts/4210-5102f81ead-lite.chunk.js +0 -1
  425. package/dist/scripts/4326-ecdc420ecb-lite.chunk.js +0 -1
  426. package/dist/scripts/4617-9aabc8fdde-lite.chunk.js +0 -1
  427. package/dist/scripts/4632-816d5010d4-lite.chunk.js +0 -1
  428. package/dist/scripts/4690-3572f41eab-lite.chunk.js +0 -1
  429. package/dist/scripts/4812-60103d16b0-lite.chunk.js +0 -2
  430. package/dist/scripts/4893-378ff6874a-lite.chunk.js +0 -1
  431. package/dist/scripts/5048-7431f34b22-lite.chunk.js +0 -1
  432. package/dist/scripts/5143-9942f1a64c-lite.chunk.js +0 -1
  433. package/dist/scripts/5173-1de1a1084c-lite.chunk.js +0 -1
  434. package/dist/scripts/528-c7f9d5fd8b-lite.chunk.js +0 -1
  435. package/dist/scripts/5291-d8de9e0a12-lite.chunk.js +0 -1
  436. package/dist/scripts/5330-af833082db-lite.chunk.js +0 -1
  437. package/dist/scripts/5347-734b9ab0fe-lite.chunk.js +0 -1
  438. package/dist/scripts/5356-8fe7dbc384-lite.chunk.js +0 -1
  439. package/dist/scripts/5533-6f7c8aeca4-lite.chunk.js +0 -1
  440. package/dist/scripts/5595-1d79fddb5c-lite.chunk.js +0 -1
  441. package/dist/scripts/5769-5d1b10e2e2-lite.chunk.js +0 -1
  442. package/dist/scripts/5776-f888ee7ad1-lite.chunk.js +0 -1
  443. package/dist/scripts/5833-4b2af7ae93-lite.chunk.js +0 -1
  444. package/dist/scripts/5869-a7bf7331bb-lite.chunk.js +0 -1
  445. package/dist/scripts/5914-bb8088b0e8-lite.chunk.js +0 -1
  446. package/dist/scripts/5940-a73965088a-lite.chunk.js +0 -1
  447. package/dist/scripts/5974-6756b06bff-lite.chunk.js +0 -1
  448. package/dist/scripts/5986-2b20ba1dbb-lite.chunk.js +0 -1
  449. package/dist/scripts/6001-6be03df74d-lite.chunk.js +0 -1
  450. package/dist/scripts/6113-16a83d9b44-lite.chunk.js +0 -1
  451. package/dist/scripts/615-adb7956bd2-lite.chunk.js +0 -1
  452. package/dist/scripts/6152-972f7302b9-lite.chunk.js +0 -1
  453. package/dist/scripts/6158-b653e86374-lite.chunk.js +0 -1
  454. package/dist/scripts/6274-80146584e7-lite.chunk.js +0 -1
  455. package/dist/scripts/6285-a26519084a-lite.chunk.js +0 -1
  456. package/dist/scripts/6290-6f61dee7ac-lite.chunk.js +0 -1
  457. package/dist/scripts/6325-178d2f471e-lite.chunk.js +0 -1
  458. package/dist/scripts/6370-96faff5748-lite.chunk.js +0 -1
  459. package/dist/scripts/6381-8a4d61a6f1-lite.chunk.js +0 -1
  460. package/dist/scripts/6427-4b4726de0e-lite.chunk.js +0 -1
  461. package/dist/scripts/6493-241d2f1bce-lite.chunk.js +0 -1
  462. package/dist/scripts/65-551e1329a5-lite.chunk.js +0 -1
  463. package/dist/scripts/6770-35fb1f60dc-lite.chunk.js +0 -1
  464. package/dist/scripts/6817-969a92a7df-lite.chunk.js +0 -1
  465. package/dist/scripts/6866-de4752df6e-lite.chunk.js +0 -1
  466. package/dist/scripts/6884-dbfd65e1c9-lite.chunk.js +0 -1
  467. package/dist/scripts/6913-1d7c241651-lite.chunk.js +0 -1
  468. package/dist/scripts/7045-0b0dc611ab-lite.chunk.js +0 -1
  469. package/dist/scripts/7056-fd8d859ef1-lite.chunk.js +0 -1
  470. package/dist/scripts/7069-7958f074c7-lite.chunk.js +0 -1
  471. package/dist/scripts/7108-411445c569-lite.chunk.js +0 -1
  472. package/dist/scripts/711-ad6a94c63e-lite.chunk.js +0 -1
  473. package/dist/scripts/7115-df1e77b86a-lite.chunk.js +0 -1
  474. package/dist/scripts/714-eea8a3447f-lite.chunk.js +0 -1
  475. package/dist/scripts/7178-85acf5024c-lite.chunk.js +0 -1
  476. package/dist/scripts/7205-b2bb570975-lite.chunk.js +0 -1
  477. package/dist/scripts/7221-1081606a10-lite.chunk.js +0 -2
  478. package/dist/scripts/7293-ecc66c0bc5-lite.chunk.js +0 -1
  479. package/dist/scripts/7318-67ea8ef011-lite.chunk.js +0 -2
  480. package/dist/scripts/7409-b4d79d674f-lite.chunk.js +0 -1
  481. package/dist/scripts/7432-a38d4189e4-lite.chunk.js +0 -1
  482. package/dist/scripts/7510-0cfac2b1d7-lite.chunk.js +0 -1
  483. package/dist/scripts/7532-38c921f0c8-lite.chunk.js +0 -1
  484. package/dist/scripts/7708-18f97e6312-lite.chunk.js +0 -1
  485. package/dist/scripts/7767-d2c100f095-lite.chunk.js +0 -1
  486. package/dist/scripts/7808-666eed4323-lite.chunk.js +0 -1
  487. package/dist/scripts/8072-5a950137bc-lite.chunk.js +0 -1
  488. package/dist/scripts/8252-dd337034c3-lite.chunk.js +0 -1
  489. package/dist/scripts/8300-e6f255e4cb-lite.chunk.js +0 -1
  490. package/dist/scripts/8323-caedca162b-lite.chunk.js +0 -2
  491. package/dist/scripts/8419-ad3d004cb9-lite.chunk.js +0 -1
  492. package/dist/scripts/8466-5ed6352c4b-lite.chunk.js +0 -1
  493. package/dist/scripts/8531-f899f4714c-lite.chunk.js +0 -1
  494. package/dist/scripts/8564-f46b198c55-lite.chunk.js +0 -1
  495. package/dist/scripts/8729-7a2c044441-lite.chunk.js +0 -1
  496. package/dist/scripts/8763-9e7a972786-lite.chunk.js +0 -1
  497. package/dist/scripts/8779-40b67fde89-lite.chunk.js +0 -1
  498. package/dist/scripts/8816-b7575df853-lite.chunk.js +0 -1
  499. package/dist/scripts/8820-bf4bbda3f3-lite.chunk.js +0 -1
  500. package/dist/scripts/8830-9d69a3012c-lite.chunk.js +0 -1
  501. package/dist/scripts/8882-5f951653ff-lite.chunk.js +0 -1
  502. package/dist/scripts/8905-c4ef2e6fd9-lite.chunk.js +0 -1
  503. package/dist/scripts/8944-aba9581f23-lite.chunk.js +0 -1
  504. package/dist/scripts/8955-9fa8a98fdb-lite.chunk.js +0 -1
  505. package/dist/scripts/9029-e4d7a95c18-lite.chunk.js +0 -1
  506. package/dist/scripts/9151-6caecead76-lite.chunk.js +0 -1
  507. package/dist/scripts/9226-6cc9ae98fc-lite.chunk.js +0 -1
  508. package/dist/scripts/924-865b1d0fcf-lite.chunk.js +0 -1
  509. package/dist/scripts/9242-389e8e59c6-lite.chunk.js +0 -1
  510. package/dist/scripts/9455-5c0f5b350c-lite.chunk.js +0 -1
  511. package/dist/scripts/949-68ebef3de9-lite.chunk.js +0 -1
  512. package/dist/scripts/9522-1f5efe271e-lite.chunk.js +0 -2
  513. package/dist/scripts/9556-d6901ce835-lite.chunk.js +0 -1
  514. package/dist/scripts/9642-01f2b02ef4-lite.chunk.js +0 -1
  515. package/dist/scripts/9798-d54774ef4e-lite.chunk.js +0 -1
  516. package/dist/scripts/9814-b29f502ae6-lite.chunk.js +0 -1
  517. package/dist/scripts/9880-afbf1e0fc3-lite.chunk.js +0 -1
  518. package/dist/scripts/9897-e26852fc10-lite.chunk.js +0 -1
  519. package/dist/scripts/996-cc98267e1e-lite.chunk.js +0 -1
  520. package/dist/scripts/9961-acaa4c44fc-lite.chunk.js +0 -1
  521. package/dist/scripts/bundle-42da83f804.min.js +0 -2
  522. package/dist/scripts/polyfills-1177fd46db.min.js +0 -2
  523. package/dist/css/{5606-lite-0018feda9c.chunk.css → 1090-lite-0018feda9c.chunk.css} +0 -0
  524. package/dist/css/{389-lite-74cb244872.chunk.css → 147-lite-74cb244872.chunk.css} +0 -0
  525. package/dist/css/{1475-lite-d023364617.chunk.css → 1475-lite-1b41a0628c.chunk.css} +3 -3
  526. package/dist/css/{5143-lite-f1ca87e9ff.chunk.css → 156-lite-f1ca87e9ff.chunk.css} +0 -0
  527. package/dist/css/{1592-lite-c8bfbfe932.chunk.css → 1592-lite-7471086af4.chunk.css} +1 -1
  528. package/dist/css/{6381-lite-e7bdc675ac.chunk.css → 1655-lite-e7bdc675ac.chunk.css} +0 -0
  529. package/dist/css/{1766-lite-7241403fdd.chunk.css → 1766-lite-2cb4fd8dc1.chunk.css} +1 -1
  530. package/dist/css/{7178-lite-88303bbaf5.chunk.css → 1794-lite-88303bbaf5.chunk.css} +0 -0
  531. package/dist/css/{3200-lite-740e4cbd6f.chunk.css → 1891-lite-740e4cbd6f.chunk.css} +0 -0
  532. package/dist/css/{2318-lite-9b82e5b86c.chunk.css → 2318-lite-ca6d519c2e.chunk.css} +5 -5
  533. package/dist/css/{3667-lite-940fe57626.chunk.css → 3667-lite-37b25ceace.chunk.css} +1 -1
  534. package/dist/css/{7532-lite-19aa303fc2.chunk.css → 3849-lite-2eb46f0334.chunk.css} +6 -6
  535. package/dist/css/{6290-lite-15b96a54c9.chunk.css → 4290-lite-7bd376fdab.chunk.css} +1 -1
  536. package/dist/css/{4617-lite-b7212ef825.chunk.css → 4617-lite-5e8387006a.chunk.css} +5 -5
  537. package/dist/css/{528-lite-bf66aa0a37.chunk.css → 528-lite-4406ff9632.chunk.css} +1 -1
  538. package/dist/css/{5134-lite-8c9306617b.chunk.css → 5983-lite-8c9306617b.chunk.css} +0 -0
  539. package/dist/css/{615-lite-9d91934e82.chunk.css → 615-lite-02fc268229.chunk.css} +1 -1
  540. package/dist/css/{6285-lite-0365972b55.chunk.css → 6285-lite-86f715dee7.chunk.css} +1 -1
  541. package/dist/css/{9931-lite-027d4b6d58.chunk.css → 7030-lite-1678ae0292.chunk.css} +1 -1
  542. package/dist/css/{7108-lite-73d39503cb.chunk.css → 7108-lite-f52ee2c4e3.chunk.css} +2 -2
  543. package/dist/css/{714-lite-7afe3a3aa6.chunk.css → 714-lite-9c08f9622c.chunk.css} +1 -1
  544. package/dist/css/{7205-lite-06b4d10cf0.chunk.css → 7205-lite-d25306256f.chunk.css} +1 -1
  545. package/dist/css/{7409-lite-d610f16523.chunk.css → 7409-lite-3342fc3859.chunk.css} +1 -1
  546. package/dist/css/{7708-lite-6918135dfc.chunk.css → 7708-lite-fde0180a9a.chunk.css} +1 -1
  547. package/dist/css/{1672-lite-5e8082b0fb.chunk.css → 7950-lite-89fe5c9fc1.chunk.css} +1 -1
  548. package/dist/css/{1891-lite-a0648ee1fa.chunk.css → 8292-lite-a0648ee1fa.chunk.css} +0 -0
  549. package/dist/css/{1324-lite-6554428c5a.chunk.css → 8516-lite-6554428c5a.chunk.css} +0 -0
  550. package/dist/css/{8621-lite-38b7185436.chunk.css → 8621-lite-bbdcb78b4c.chunk.css} +1 -1
  551. package/dist/css/{1291-lite-a68f192c18.chunk.css → 8627-lite-a68f192c18.chunk.css} +0 -0
  552. package/dist/css/{8820-lite-e2b842f2b1.chunk.css → 8820-lite-76d15a1090.chunk.css} +1 -1
  553. package/dist/css/{8905-lite-46a5eda1f5.chunk.css → 8905-lite-d13d688920.chunk.css} +1 -1
  554. package/dist/css/{9133-lite-0338d50248.chunk.css → 9133-lite-26e2a668b0.chunk.css} +1 -1
  555. package/dist/css/{9151-lite-887e993b9b.chunk.css → 9151-lite-34a72dd76a.chunk.css} +5 -5
  556. package/dist/css/{9455-lite-e9fdacda31.chunk.css → 9455-lite-3cd1655cd7.chunk.css} +1 -1
  557. package/dist/css/{7030-lite-027d4b6d58.chunk.css → 9931-lite-1678ae0292.chunk.css} +1 -1
  558. package/dist/css/{9961-lite-61adefc4fe.chunk.css → 9961-lite-ce6b57f21d.chunk.css} +1 -1
  559. /package/dist/scripts/{1200-549e8b8abc-lite.chunk.js.LICENSE.txt → 1200-9a411abf42-lite.chunk.js.LICENSE.txt} +0 -0
  560. /package/dist/scripts/{1354-3346c46c0a-lite.chunk.js.LICENSE.txt → 1354-635a2024da-lite.chunk.js.LICENSE.txt} +0 -0
  561. /package/dist/scripts/{1592-7573d29b17-lite.chunk.js.LICENSE.txt → 1366-d52572015e-lite.chunk.js.LICENSE.txt} +0 -0
  562. /package/dist/scripts/{1672-6bed3f0c16-lite.chunk.js.LICENSE.txt → 1592-dcc4772f16-lite.chunk.js.LICENSE.txt} +0 -0
  563. /package/dist/scripts/{2835-a21c8103a7-lite.chunk.js.LICENSE.txt → 162-16df777e96-lite.chunk.js.LICENSE.txt} +0 -0
  564. /package/dist/scripts/{3602-86e3ad2e1c-lite.chunk.js.LICENSE.txt → 2066-db515814ad-lite.chunk.js.LICENSE.txt} +0 -0
  565. /package/dist/scripts/{3645-0023a3c2ef-lite.chunk.js.LICENSE.txt → 2118-8b6fa7abde-lite.chunk.js.LICENSE.txt} +0 -0
  566. /package/dist/scripts/{2452-c3bbdacb87-lite.chunk.js → 2452-bbbcc9cfc4-lite.chunk.js} +0 -0
  567. /package/dist/scripts/{3007-9507eed4ed-lite.chunk.js → 3007-4a6a008485-lite.chunk.js} +0 -0
  568. /package/dist/scripts/{3667-b8cfdfbb44-lite.chunk.js.LICENSE.txt → 3602-9e631593b1-lite.chunk.js.LICENSE.txt} +0 -0
  569. /package/dist/scripts/{3879-1f6a71b0e1-lite.chunk.js.LICENSE.txt → 3645-dd57bf267e-lite.chunk.js.LICENSE.txt} +0 -0
  570. /package/dist/scripts/{4676-020a60c057-lite.chunk.js.LICENSE.txt → 3667-9a2a4c64b5-lite.chunk.js.LICENSE.txt} +0 -0
  571. /package/dist/scripts/{4812-60103d16b0-lite.chunk.js.LICENSE.txt → 4676-bb8b7e034f-lite.chunk.js.LICENSE.txt} +0 -0
  572. /package/dist/scripts/{5622-f59cb146d5-lite.chunk.js.LICENSE.txt → 4901-dbbd888771-lite.chunk.js.LICENSE.txt} +0 -0
  573. /package/dist/scripts/{6896-bcd89e6cf3-lite.chunk.js.LICENSE.txt → 4942-41d01acc50-lite.chunk.js.LICENSE.txt} +0 -0
  574. /package/dist/scripts/{7017-b9352b104b-lite.chunk.js.LICENSE.txt → 5268-c0ad8047b8-lite.chunk.js.LICENSE.txt} +0 -0
  575. /package/dist/scripts/{7030-d27b42e6b3-lite.chunk.js.LICENSE.txt → 5622-df1c9f72f5-lite.chunk.js.LICENSE.txt} +0 -0
  576. /package/dist/scripts/{6823-272c18d11d-lite.chunk.js.LICENSE.txt → 6823-0083a3231c-lite.chunk.js.LICENSE.txt} +0 -0
  577. /package/dist/scripts/{7221-1081606a10-lite.chunk.js.LICENSE.txt → 6896-467ac6697c-lite.chunk.js.LICENSE.txt} +0 -0
  578. /package/dist/scripts/{8323-caedca162b-lite.chunk.js.LICENSE.txt → 7017-14feec9dd1-lite.chunk.js.LICENSE.txt} +0 -0
  579. /package/dist/scripts/{8681-f9a8c79ee5-lite.chunk.js.LICENSE.txt → 7030-67a3d8acb6-lite.chunk.js.LICENSE.txt} +0 -0
  580. /package/dist/scripts/{9428-b732575791-lite.chunk.js.LICENSE.txt → 7052-baf4150fb1-lite.chunk.js.LICENSE.txt} +0 -0
  581. /package/dist/scripts/{9478-37c6b7c1a2-lite.chunk.js.LICENSE.txt → 7072-c3785ca37e-lite.chunk.js.LICENSE.txt} +0 -0
  582. /package/dist/scripts/{9522-1f5efe271e-lite.chunk.js.LICENSE.txt → 7112-88336f937e-lite.chunk.js.LICENSE.txt} +0 -0
  583. /package/dist/scripts/{9931-8290a97315-lite.chunk.js.LICENSE.txt → 7221-aed0b2fd5c-lite.chunk.js.LICENSE.txt} +0 -0
  584. /package/dist/scripts/{7318-67ea8ef011-lite.chunk.js.LICENSE.txt → 7318-bee88ab659-lite.chunk.js.LICENSE.txt} +0 -0
  585. /package/dist/scripts/{polyfills-1177fd46db.min.js.LICENSE.txt → 7515-08ba1635e4-lite.chunk.js.LICENSE.txt} +0 -0
  586. /package/dist/scripts/{7925-d30e261c55-lite.chunk.js → 7925-271289a49d-lite.chunk.js} +0 -0
@@ -0,0 +1,2 @@
1
+ /*! For license information please see 9522-fdc269fa55-lite.chunk.js.LICENSE.txt */
2
+ "use strict";(self.webpackChunk_clickview_lite=self.webpackChunk_clickview_lite||[]).push([[9522],{42328:(t,e,r)=>{r.d(e,{w:()=>i});var n=r(1024),o=r.n(n);function a(){return o().createElement("svg",{viewBox:"0 0 24 24"},o().createElement("path",{d:"M11.959 10.641l4.402-4.296a.964.964 0 0 1 1.358 0 .951.951 0 0 1 0 1.35l-4.403 4.297 4.403 4.378a.951.951 0 0 1 0 1.35.964.964 0 0 1-1.358 0l-4.402-4.378-4.32 4.378a.964.964 0 0 1-1.358 0 .951.951 0 0 1 0-1.35l4.32-4.378-4.32-4.362a.951.951 0 0 1 0-1.35.964.964 0 0 1 1.358 0l4.32 4.361z"}))}var i=o().forwardRef((function(t,e){var r=t.onClickClear,n=t.showClearButton,i=function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(t);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(r[n[o]]=t[n[o]])}return r}(t,["onClickClear","showClearButton"]);return o().createElement("div",{className:"position-relative"},o().createElement("input",Object.assign({},i,{ref:e,className:"".concat(t.className," ").concat("aYpO7")})),(!!t.value||n)&&o().createElement("span",{className:"".concat("ygMgF"," position-absolute cursor-pointer text-muted"),role:"button",onClick:r},o().createElement("div",{className:"d-inline-block svg-container md"},o().createElement(a,null))))}))},40688:(t,e,r)=>{r.d(e,{h:()=>en});var n=r(1024),o=r.n(n),a=r(57900),i=r(49985),c=r(74254),l=r(42328),u=["Teacher","Librarian","Curriculum Coordinator","Digital Technology Coordinator","IT","Head of Department","Head of Subject","Deputy Principal","Principal"],s=["Teacher","Librarian","Head of department","Subject lead","Curriculum coordinator","School leadership","District leadership","Academic coach","Instructional technology specialist","Consortium leadership","IT"],f={au:u,nz:u,uk:["Teacher","Librarian","IT/LRC","e-Learning/ICT Coordinator","Head of Key Stage","Head of Department","Subject Lead","Assistant Head Teacher","Deputy Head Teacher","Head Teacher"],us:s};function p(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,a,i,c=[],l=!0,u=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=a.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&&(i=r.return(),Object(i)!==i))return}finally{if(u)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return h(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)?h(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 h(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 d="OTHER";function m(t){var e=t.error,r=t.onChange,n=t.countryCode,a=p(o().useState(""),2),i=a[0],c=a[1],l=p(o().useState(""),2),u=l[0],h=l[1],m=function(t){return f[t]||s}(n),y=i===d;return o().createElement(o().Fragment,null,o().createElement("div",{className:"mb-2"},o().createElement("select",{id:t.id,name:t.id,className:"form-control form-control-lg ".concat(i.length?"text-dark":"text-secondary"," ").concat(!!e&&"is-invalid"),value:i,placeholder:"Role",onChange:function(t){c(t.target.value),h(""),r(t.target.value===d?"":t.target.value)}},o().createElement("option",{value:"",disabled:!0,className:"text-muted"},"What do you do?"),m.map((function(t,e){return o().createElement("option",{value:t,className:"text-dark",key:e},t)})),o().createElement("option",{value:d,className:"text-dark"},"Other")),!!e&&!y&&o().createElement("div",{className:"invalid-feedback"},e)),y&&o().createElement("div",{className:"mb-3"},o().createElement("input",{className:"form-control form-control-lg ".concat(!!e&&"is-invalid"),type:"text",value:u,placeholder:"What do you do?",autoFocus:!0,onChange:function(t){h(t.target.value),r(t.target.value)}}),!!e&&o().createElement("div",{className:"invalid-feedback"},e)))}var y,v=r(83765);!function(t){t.AU="au",t.NZ="nz",t.UK="uk",t.US="us"}(y||(y={}));var g,b,w,S=["uk","gb","gg","im","je","ie"],E={au:y.AU,nz:y.NZ,us:y.US,uk:y.UK,gb:y.UK,gg:y.UK,im:y.UK,je:y.UK,ie:y.UK},x={au:v.M.CvApSoutheast1,uk:v.M.CvEuWest1,us:v.M.CvNaWest1,nz:v.M.CvApSoutheast2},L={getInstanceRegion:function(t){var e=L.getCountryCode(t);return x[e]},getCountryCode:function(t){return E[null==t?void 0:t.toLowerCase()]||y.US},isCountryCodeUK:function(t){return S.includes(t.toLowerCase())},isCountryCodeAU:function(t){return(null==t?void 0:t.toLowerCase())===y.AU},isCountryCodeUS:function(t){return(null==t?void 0:t.toLowerCase())===y.US},isCountryCodeNZ:function(t){return(null==t?void 0:t.toLowerCase())===y.NZ},isSupportedCountryCode:function(t){return Object.keys(E).includes(null==t?void 0:t.toLowerCase())},getLocalizedLocalityPlaceholderPhrase:function(t){if(t)return L.isCountryCodeUK(t)?"E.g. CR0 3RL or 36 Factory Lane":L.isCountryCodeAU(t)||L.isCountryCodeNZ(t)?"E.g. 2212 or Revesby":L.isCountryCodeUS(t)?"E.g. 95826 or Sacramento":void 0},getLocalizedLocalityPlaceholderText:function(t){if(t){var e=L.getLocalizedLocalityPlaceholderPhrase(t);if(e)return e}}},j=r(2102);function k(t){return k="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},k(t)}function O(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 C(t){var e,r,n,a,i,c,u,s,f,p=(s=o().useState({fullname:"",jobTitle:"",phone:""}),f=2,function(t){if(Array.isArray(t))return t}(s)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,a,i,c=[],l=!0,u=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=a.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&&(i=r.return(),Object(i)!==i))return}finally{if(u)throw o}}return c}}(s,f)||function(t,e){if(t){if("string"==typeof t)return O(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)?O(t,e):void 0}}(s,f)||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.")}()),h=p[0],d=p[1];function y(t,e){d((function(r){return Object.assign(Object.assign({},r),function(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==k(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==k(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===k(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}({},t,e))}))}return o().createElement("div",{className:"text-center"},o().createElement("h1",{className:"text-center h4"},"A little more about you"),o().createElement("p",null,"Please enter your details."),o().createElement("form",{onSubmit:function(e){e.preventDefault(),t.handleSubmitForm(h)}},o().createElement("div",{className:"form-group text-left"},o().createElement("label",{className:"d-block font-weight-bold mb-1",htmlFor:"fullname-input"},"Full name"),o().createElement(l.w,{value:h.fullname,onChange:function(e){e.preventDefault(),y("fullname",e.target.value),t.removeErrorForKey("fullname"),t.removeErrorForKey("submission")},name:"fullname-input",id:"fullname-input",type:"text",className:"form-control form-control-lg ".concat((null===(e=t.errors.fullname)||void 0===e?void 0:e.length)?"is-invalid":""),placeholder:"Enter your name",onClickClear:function(){y("fullname",""),t.removeErrorForKey("fullname"),t.removeErrorForKey("submission")},autoFocus:!0}),t.errors.fullname&&o().createElement("div",{className:"invalid-feedback d-block"},t.errors.fullname)),o().createElement("div",{className:"form-group text-left"},o().createElement("label",{className:"d-block font-weight-bold mb-1",htmlFor:"phone-input"},"Contact number"),o().createElement(l.w,{value:h.phone,onChange:function(e){e.preventDefault(),y("phone",e.target.value.trim()),t.removeErrorForKey("phone"),t.removeErrorForKey("submission")},name:"phone-input",id:"phone-input",type:"tel",className:"form-control form-control-lg ".concat((null===(r=t.errors.phone)||void 0===r?void 0:r.length)?"is-invalid":""),placeholder:"Enter your phone number",onClickClear:function(){y("phone",""),t.removeErrorForKey("phone"),t.removeErrorForKey("submission")}}),t.errors.phone&&o().createElement("div",{className:"invalid-feedback d-block"},t.errors.phone)),o().createElement("div",{className:"form-group text-left"},o().createElement("label",{className:"d-block font-weight-bold mb-1",htmlFor:"jobTitle-select"},"Job title"),o().createElement(m,{id:"jobTitle-select",countryCode:L.getCountryCode(t.country),onChange:function(e){y("jobTitle",e),t.removeErrorForKey("jobTitle"),t.removeErrorForKey("submission")},error:null===(n=t.errors)||void 0===n?void 0:n.jobTitle})),!!(null===(a=t.errors)||void 0===a?void 0:a.submission)&&o().createElement("div",{className:"form-group invalid-feedback d-block"},t.errors.submission),o().createElement("div",{className:"form-group mb-1"},o().createElement(j.m,{className:"btn btn-dark btn-lg w-100",onClick:function(){return t.handleSubmitForm(h)},showSpinner:t.loading,disabled:t.loading||(i=h.fullname,c=h.jobTitle,u=h.phone,!(i.length&&c.length&&u.length&&!Object.keys(t.errors).length))},"Submit"))))}!function(t){t.Unavailable="unavailable",t.Expired="expired",t.Active="active",t.NotRequired="not-required",t.Available="available",t.Unsupported="unsupported",t.UserAutoJoinAllowed="user-auto-join-allowed",t.UserJoinApprovalRequired="user-join-approval-required"}(g||(g={})),function(t){t.InvalidEmail="invalid-email"}(b||(b={})),function(t){t.Staff="staff",t.Learner="learner"}(w||(w={}));var A,N=r(63093),P=r(33003),U=r.n(P),I=r(84789);function T(t){return T="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},T(t)}function _(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,a,i,c=[],l=!0,u=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=a.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&&(i=r.return(),Object(i)!==i))return}finally{if(u)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return F(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)?F(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 F(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 G(){G=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var a=e&&e.prototype instanceof v?e:v,i=Object.create(a.prototype),c=new N(n||[]);return o(i,"_invoke",{value:k(t,r,c)}),i}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var p="suspendedStart",h="suspendedYield",d="executing",m="completed",y={};function v(){}function g(){}function b(){}var w={};u(w,i,(function(){return this}));var S=Object.getPrototypeOf,E=S&&S(S(P([])));E&&E!==r&&n.call(E,i)&&(w=E);var x=b.prototype=v.prototype=Object.create(w);function L(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,a,i,c){var l=f(t[o],t,a);if("throw"!==l.type){var u=l.arg,s=u.value;return s&&"object"==T(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,i,c)}),(function(t){r("throw",t,i,c)})):e.resolve(s).then((function(t){u.value=t,i(u)}),(function(t){return r("throw",t,i,c)}))}c(l.arg)}var a;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return a=a?a.then(o,o):o()}})}function k(e,r,n){var o=p;return function(a,i){if(o===d)throw new Error("Generator is already running");if(o===m){if("throw"===a)throw i;return{value:t,done:!0}}for(n.method=a,n.arg=i;;){var c=n.delegate;if(c){var l=O(c,n);if(l){if(l===y)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===p)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var u=f(e,r,n);if("normal"===u.type){if(o=n.done?m:h,u.arg===y)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(o=m,n.method="throw",n.arg=u.arg)}}}function O(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var a=f(o,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,y;var i=a.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function C(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 A(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function N(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(C,this),this.reset(!0)}function P(e){if(e||""===e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(T(e)+" is not iterable")}return g.prototype=b,o(x,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:g,configurable:!0}),g.displayName=u(b,l,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===g||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,u(t,l,"GeneratorFunction")),t.prototype=Object.create(x),t},e.awrap=function(t){return{__await:t}},L(j.prototype),u(j.prototype,c,(function(){return this})),e.AsyncIterator=j,e.async=function(t,r,n,o,a){void 0===a&&(a=Promise);var i=new j(s(t,r,n,o),a);return e.isGeneratorFunction(r)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},L(x),u(x,l,"Generator"),u(x,i,(function(){return this})),u(x,"toString",(function(){return"[object Generator]"})),e.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}},e.values=P,N.prototype={constructor:N,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(A),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return c.type="throw",c.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],c=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var l=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(l&&u){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=t,i.arg=e,a?(this.method="next",this.next=a.finallyLoc,y):this.complete(i)},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),y},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),A(r),y}},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;A(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:P(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function D(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==T(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==T(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===T(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var R={k12:"Primary & Secondary"},M=(D(A={},I.X.Auth,"auth.web"),D(A,I.X.Lite,"lite.web"),A),K={getClient:function(t){var e,r,n,o,a,i;return n=this,o=void 0,a=void 0,i=G().mark((function n(){var o,a,i,c,l,u;return G().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return o=t.brazeConfig,a=t.geoLocation,i=t.version,c=o[L.getInstanceRegion(null==a?void 0:a.countryCode)],l=M[t.productName],u=(0,N.getInstance)({baseUrl:c.url,apiKey:c.apiKey,productVersion:i,productName:l,enableLogging:!1,automaticallyShowInAppMessages:!1}),(null===(e=t.geoLocation)||void 0===e?void 0:e.countryCode)&&u.setUserCountry(null===(r=t.geoLocation)||void 0===r?void 0:r.countryCode),n.abrupt("return",u);case 6:case"end":return n.stop()}}),n)})),new(a||(a=Promise))((function(t,e){function r(t){try{l(i.next(t))}catch(t){e(t)}}function c(t){try{l(i.throw(t))}catch(t){e(t)}}function l(e){var n;e.done?t(e.value):(n=e.value,n instanceof a?n:new a((function(t){t(n)}))).then(r,c)}l((i=i.apply(n,o||[])).next())}))},hashedEmail:function(t){var e=t.trim().toLowerCase();return U().hash(e)},removeEmptyKeys:function(t){if(Array.isArray(t))return t;var e=Object.assign({},t);return Object.entries(e).filter((function(t){var e=_(t,2)[1];return null!==e&&!("string"==typeof e&&!e.length)})).reduce((function(t,e){var r=_(e,2),n=r[0],o=r[1];return Object.assign(Object.assign({},t),D({},n,o===Object(o)?K.removeEmptyKeys(o):o))}),{})},getEventTopic:function(){return"Free Trial Request"},getCustomEventType:function(){return N.ProductFormEvent.ProductTrailRequested},getSchoolType:function(t){if(t){var e=t.toLowerCase();if(!["unknown","other"].includes(e))return R[e]||t}}};function z(t){return z="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},z(t)}function q(){q=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var a=e&&e.prototype instanceof v?e:v,i=Object.create(a.prototype),c=new N(n||[]);return o(i,"_invoke",{value:k(t,r,c)}),i}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var p="suspendedStart",h="suspendedYield",d="executing",m="completed",y={};function v(){}function g(){}function b(){}var w={};u(w,i,(function(){return this}));var S=Object.getPrototypeOf,E=S&&S(S(P([])));E&&E!==r&&n.call(E,i)&&(w=E);var x=b.prototype=v.prototype=Object.create(w);function L(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,a,i,c){var l=f(t[o],t,a);if("throw"!==l.type){var u=l.arg,s=u.value;return s&&"object"==z(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,i,c)}),(function(t){r("throw",t,i,c)})):e.resolve(s).then((function(t){u.value=t,i(u)}),(function(t){return r("throw",t,i,c)}))}c(l.arg)}var a;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return a=a?a.then(o,o):o()}})}function k(e,r,n){var o=p;return function(a,i){if(o===d)throw new Error("Generator is already running");if(o===m){if("throw"===a)throw i;return{value:t,done:!0}}for(n.method=a,n.arg=i;;){var c=n.delegate;if(c){var l=O(c,n);if(l){if(l===y)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===p)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var u=f(e,r,n);if("normal"===u.type){if(o=n.done?m:h,u.arg===y)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(o=m,n.method="throw",n.arg=u.arg)}}}function O(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var a=f(o,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,y;var i=a.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function C(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 A(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function N(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(C,this),this.reset(!0)}function P(e){if(e||""===e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(z(e)+" is not iterable")}return g.prototype=b,o(x,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:g,configurable:!0}),g.displayName=u(b,l,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===g||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,u(t,l,"GeneratorFunction")),t.prototype=Object.create(x),t},e.awrap=function(t){return{__await:t}},L(j.prototype),u(j.prototype,c,(function(){return this})),e.AsyncIterator=j,e.async=function(t,r,n,o,a){void 0===a&&(a=Promise);var i=new j(s(t,r,n,o),a);return e.isGeneratorFunction(r)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},L(x),u(x,l,"Generator"),u(x,i,(function(){return this})),u(x,"toString",(function(){return"[object Generator]"})),e.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}},e.values=P,N.prototype={constructor:N,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(A),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return c.type="throw",c.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],c=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var l=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(l&&u){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=t,i.arg=e,a?(this.method="next",this.next=a.finallyLoc,y):this.complete(i)},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),y},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),A(r),y}},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;A(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:P(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function B(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,a,i,c=[],l=!0,u=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=a.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&&(i=r.return(),Object(i)!==i))return}finally{if(u)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Y(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)?Y(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 Y(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 $=255,W=/\$+[\w\s]?/,V=/^\+?\d{4,255}$/;function H(t){if(!t)return{firstName:"",surname:""};var e=t.split(" ").filter((function(t){return t.length}));return{firstName:e.shift(),surname:e.join(" ")}}var J=r(65858),Z=r(45157),X=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,a;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=(a=Object.keys(e)).length)!==Object.keys(r).length)return!1;for(o=n;0!=o--;)if(!Object.prototype.hasOwnProperty.call(r,a[o]))return!1;for(o=n;0!=o--;){var i=a[o];if(!t(e[i],r[i]))return!1}return!0}return e!=e&&r!=r};const Q="__googleMapsScriptId";var tt;!function(t){t[t.INITIALIZED=0]="INITIALIZED",t[t.LOADING=1]="LOADING",t[t.SUCCESS=2]="SUCCESS",t[t.FAILURE=3]="FAILURE"}(tt||(tt={}));class et{constructor({apiKey:t,authReferrerPolicy:e,channel:r,client:n,id:o=Q,language:a,libraries:i=[],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||Q,this.language=a,this.libraries=i,this.mapIds=c,this.nonce=l,this.region=u,this.retries=s,this.url=f,this.version=p,et.instance){if(!X(this.options,et.instance.options))throw new Error(`Loader must not be called again with different options. ${JSON.stringify(this.options)} !== ${JSON.stringify(et.instance.options)}`);return et.instance}et.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?tt.FAILURE:this.done?tt.SUCCESS:this.loading?tt.LOADING:tt.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 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,a,i,c=[],l=!0,u=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=a.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&&(i=r.return(),Object(i)!==i))return}finally{if(u)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return nt(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)?nt(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 nt(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 ot(t){return new et({apiKey:t.apiKey,version:"weekly",libraries:t.libraries,retries:3})}function at(t){var e={apiKey:t.apiKey,libraries:t.libraries||["places"]},r=rt(o().useState(!1),2),n=r[0],a=r[1],i=rt(o().useState(ot(e)),2),c=i[0],l=i[1];function u(t,r){c?c.loadCallback((function(e){if(e)return a(!1),void(r&&r(e));a(!0),t&&t()})):l(ot(e))}return o().useEffect((function(){u()}),[]),{loader:c,scriptLoaded:n,onGoogleApiReady:u}}function it(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 ct(t){var e,r,n=at({apiKey:t.googleApiKey}).scriptLoaded,a=(e=o().useState(),r=2,function(t){if(Array.isArray(t))return t}(e)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,a,i,c=[],l=!0,u=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=a.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&&(i=r.return(),Object(i)!==i))return}finally{if(u)throw o}}return c}}(e,r)||function(t,e){if(t){if("string"==typeof t)return it(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)?it(t,e):void 0}}(e,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),i=a[0],c=a[1];return o().useEffect((function(){n&&c(new google.maps.places.AutocompleteService)}),[n]),i}function lt(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 ut="us",st="country:placeholder:text";function ft(t){var e,r,n=t.apiKey,i=t.geoLocation,c=t.makeRequest,l=void 0===c||c,u=t.template,s=void 0===u?"E.g. [placeholder]":u,f=t.templateKey,p=void 0===f?"[placeholder]":f,h=ct({googleApiKey:n}),d=o().useState((function(){return function(t){var e=L.getLocalizedLocalityPlaceholderText(null==t?void 0:t.countryCode);return e||(a.SG.cacheGet("".concat(st,":").concat(null==t?void 0:t.countryCode))||void 0)}(i)})),m=(r=2,function(t){if(Array.isArray(t))return t}(e=d)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,a,i,c=[],l=!0,u=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=a.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&&(i=r.return(),Object(i)!==i))return}finally{if(u)throw o}}return c}}(e,r)||function(t,e){if(t){if("string"==typeof t)return lt(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)?lt(t,e):void 0}}(e,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),y=m[0],v=m[1];function g(t,e){a.SG.cacheSet("".concat(st,":").concat(e),t,86400),v(t)}return o().useEffect((function(){if(!y&&h&&l){var t=(null==i?void 0:i.countryCode)||ut,e={input:String.fromCharCode(96+Z.Y.getRandomInt(26)),types:["(cities)"],region:t,componentRestrictions:{country:t}};h.getPlacePredictions(e,(function(e,r){return function(t,e,r){if(e===google.maps.places.PlacesServiceStatus.OK&&t){var n=t[Z.Y.getRandomInt(t.length)].description;g(s.replace(p,n),r)}else g(L.getLocalizedLocalityPlaceholderText(ut),r)}(e,r,t)}))}}),[y,h,i,l]),y}function pt(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 ht(t){var e,r,n=(e=o().useState(0),r=2,function(t){if(Array.isArray(t))return t}(e)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,a,i,c=[],l=!0,u=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=a.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&&(i=r.return(),Object(i)!==i))return}finally{if(u)throw o}}return c}}(e,r)||function(t,e){if(t){if("string"==typeof t)return pt(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)?pt(t,e):void 0}}(e,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),a=n[0],i=n[1],c=o().useRef();function l(){var t;c.current&&(null===(t=c.current.children[a-1])||void 0===t||t.scrollIntoView({block:"center"}))}return{selectedIndex:a,onKeyDown:function(e){if("ArrowDown"===e.code){e.stopPropagation(),e.preventDefault();var r=a+1;return r>t.itemCount&&(r=1),i(r),void l()}if("ArrowUp"===e.code){e.stopPropagation(),e.preventDefault();var n=a-1;return n<=0&&(n=t.itemCount),i(n),void l()}if("Enter"===e.code&&a>0)return e.stopPropagation(),e.preventDefault(),void t.onSelected(a-1);i(0)},containerRef:c}}function dt(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 mt(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)?mt(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 a,i=!0,c=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return i=t.done,t},e:function(t){c=!0,a=t},f:function(){try{i||null==r.return||r.return()}finally{if(c)throw a}}}}function mt(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 yt=function(t){var e,r,n,o,a,i=t.formatted_address,c=dt(t.address_components);try{for(c.s();!(a=c.n()).done;){var l,u=a.value,s=dt(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:i,country:n,postalCode:o,city:e,province:r}};function vt(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 gt={1:"geocoderPermissionDenied",2:"geocoderUnavailable",3:"geocoderTimeout"},bt=r(28329);function wt(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 St=r(11607);function Et(){return o().createElement("svg",{viewBox:"0 0 24 24"},o().createElement("path",{d:"m12.00559,20.40189c4.60881,0 8.37242,-3.78424 8.37242,-8.40189c0,-4.61764 -3.76361,-8.40187 -8.37242,-8.40187c-4.62002,0 -8.38365,3.78422 -8.38365,8.40187c0,4.61765 3.76364,8.40189 8.38365,8.40189zm0,-1.65557c-3.75235,0 -6.67085,-2.96208 -6.67085,-6.74632c0,-3.7842 2.91851,-6.74625 6.67085,-6.74625c3.74105,0 6.67084,2.96206 6.67084,6.74625c0,3.78424 -2.92978,6.74632 -6.67084,6.74632zm-10.14151,-6.02552l6.01731,0c0.40566,0 0.72118,-0.31536 0.72118,-0.7208c0,-0.40544 -0.31552,-0.7208 -0.72118,-0.7208l-6.01731,0c-0.40566,0 -0.72117,0.31536 -0.72117,0.7208c0,0.40544 0.31551,0.7208 0.72118,0.7208l-0.00001,0zm14.25442,0l6.0174,0c0.40565,0 0.72118,-0.31536 0.72118,-0.7208c0,-0.40544 -0.31553,-0.7208 -0.72118,-0.7208l-6.0174,0c-0.40565,0 -0.72118,0.31536 -0.72118,0.7208c0,0.40544 0.31553,0.7208 0.72118,0.7208zm-4.12417,-4.1221c0.40566,0 0.72118,-0.31534 0.72118,-0.70952l0,-6.02547c0,-0.40544 -0.31552,-0.7208 -0.72118,-0.7208c-0.3944,0 -0.7099,0.31536 -0.7099,0.7208l0,6.02547c0,0.39418 0.31551,0.70952 0.7099,0.70952zm0,14.25838c0.40566,0 0.72118,-0.3154 0.72118,-0.72077l0,-6.02541c0,-0.39425 -0.31552,-0.70965 -0.72118,-0.70965c-0.3944,0 -0.7099,0.3154 -0.7099,0.70965l0,6.02541c0,0.40538 0.31551,0.72077 0.7099,0.72077z"}))}const xt={baseText:"KL3Q_",inputFocused:"I6wQy",input:"ChY5L",suggestionContainer:"Y78ea",noBottomBorder:"IeYUw",localitySuggestion:"P3aHR",suggestionItem:"magL7",suggestionLoading:"W7rH_",noSuggestion:"XXSnS",selected:"snnHR"};function Lt(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,a,i,c=[],l=!0,u=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=a.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&&(i=r.return(),Object(i)!==i))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}function kt(t){var e=t.predictions,r=t.getPlaceInfo,n=t.selectedIndex;return o().createElement(o().Fragment,null,e.map((function(t,e){return o().createElement(St.L,{className:"".concat(xt.suggestionItem," ").concat(n-1===e?xt.selected:""),key:t.place_id,onClick:function(){return r(t)}},t.description)})))}function Ot(t){var e,r,n,a,i,c,u=o().useRef(),s=Lt(o().useState((null===(e=t.data)||void 0===e?void 0:e.schoolLocality)||""),2),f=s[0],p=s[1],h=Lt(o().useState(!1),2),d=h[0],m=h[1],y=ft({apiKey:t.googleMapsApiKey,geoLocation:t.geoLocation}),v=function(t){var e,r,n=t.search,a=t.makePredicition,i=t.geoLocation,c=ct({googleApiKey:t.apiKey}),l=(0,bt.N)(n,300),u=(e=o().useState(),r=2,function(t){if(Array.isArray(t))return t}(e)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,a,i,c=[],l=!0,u=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=a.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&&(i=r.return(),Object(i)!==i))return}finally{if(u)throw o}}return c}}(e,r)||function(t,e){if(t){if("string"==typeof t)return wt(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)?wt(t,e):void 0}}(e,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),s=u[0],f=u[1];function p(t,e){e===google.maps.places.PlacesServiceStatus.OK&&t?f(t):f(void 0)}return o().useEffect((function(){if(c)if(0!==(null==l?void 0:l.length)&&a){var t=(null==i?void 0:i.countryCode)||"us";c.getPlacePredictions({input:l,componentRestrictions:(null==i?void 0:i.isFallback)?void 0:{country:t},region:t,types:["locality","sublocality","postal_code"]},p)}else f(void 0)}),[l,a,c]),{localityPredicitions:s,getPlaceInfo:function(t,e,r){new google.maps.places.PlacesService(e.current).getDetails({placeId:t.place_id,fields:["geometry","address_components","formatted_address"],region:i.countryCode},(function(t,e){if(e===google.maps.places.PlacesServiceStatus.OK){var n=t.geometry.location.lng(),o=t.geometry.location.lat(),a=yt(t),i=a.locality,c=a.country,l=a.postalCode,u=a.city,s=a.province;r({longitude:n,latitude:o,locality:i,country:c,city:u,postalCode:l,province:s})}}))}}}({search:f,makePredicition:d,geoLocation:t.geoLocation,apiKey:t.googleMapsApiKey}),g=v.localityPredicitions,b=v.getPlaceInfo,w=function(t){var e,r,n=(e=o().useState({}),r=2,function(t){if(Array.isArray(t))return t}(e)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,a,i,c=[],l=!0,u=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=a.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&&(i=r.return(),Object(i)!==i))return}finally{if(u)throw o}}return c}}(e,r)||function(t,e){if(t){if("string"==typeof t)return vt(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)?vt(t,e):void 0}}(e,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),a=n[0],i=n[1],c=at(t).onGoogleApiReady;function l(t){var e=t.coords,r=e.latitude,n=e.longitude,o=new google.maps.LatLng(r,n);(new google.maps.Geocoder).geocode({location:o},(function(t,e){if(e===google.maps.GeocoderStatus.OK){var o=t.find((function(t){return t.types.includes("locality")||t.types.includes("administrative_area_level_2")})),a=yt(o);i(Object.assign(Object.assign({},a),{longitude:n,latitude:r}))}}))}function u(e){var r=gt[e.code];r||(r="geocoderUnknown"),t.onPositionError("We are unable to access your location. Please try again later.")}return{placeDetails:a,onClickGetCurrentLocation:function(){c((function(){window.navigator.geolocation.getCurrentPosition(l,u)}))}}}({apiKey:t.googleMapsApiKey,onPositionError:function(t){m(!0),N(t)}}),S=w.placeDetails,E=w.onClickGetCurrentLocation,x=window.navigator.geolocation?1:0,L=ht({onSelected:function(t){if(g)if(t!==g.length){var e=g[t];e&&I(e)}else T()},itemCount:null!==(r=(null==g?void 0:g.length)+x)&&void 0!==r?r:0}),j=L.selectedIndex,k=L.onKeyDown,O=L.containerRef,C=Lt(o().useState(),2),A=C[0],N=C[1];function P(e){var r,n,o;A&&N(void 0),d||m(!0),((null===(r=t.data)||void 0===r?void 0:r.longitude)||(null===(n=t.data)||void 0===n?void 0:n.latitude)||(null===(o=t.data)||void 0===o?void 0:o.schoolLocality))&&t.clearStepGroupData(),p(e)}function U(e){var r=e.longitude,n=e.latitude,o=e.locality,a=e.country,i=e.city,c=e.province;r&&t.setDataProperty("longitude",r),n&&t.setDataProperty("latitude",n),a&&t.setDataProperty("country",a),i&&t.setDataProperty("city",i),c&&t.setDataProperty("province",c),o&&function(e){t.setDataProperty("schoolLocality",e),p(e)}(o)}function I(t){d&&m(!1),b(t,u,U)}function T(e){null==e||e.preventDefault(),m(!1),E(),t.logUserAction({},{actionType:J.UserAction.Click,descriptor:J.SignUpDescriptors.UseMyLocation})}o().useEffect((function(){U(S)}),[S]);var _,F=(null==g?void 0:g.length)&&!(null===(a=null===(n=t.data)||void 0===n?void 0:n.schoolLocality)||void 0===a?void 0:a.length),G=window.navigator.geolocation&&!(null===(c=null===(i=t.data)||void 0===i?void 0:i.schoolLocality)||void 0===c?void 0:c.length),D=t.labelClassName||"d-block text-center mb-3 font-weight-normal ".concat(xt.baseText);return o().createElement("div",{className:"form-group position-relative"},o().createElement("label",{className:D,htmlFor:"locality-input"},"Postcode or suburb:"),o().createElement(l.w,{type:"text",value:f,onChange:function(t){return P(t.currentTarget.value)},id:"locality-input",className:(_="form-control form-control-lg",F?"".concat(_," ").concat(xt.inputFocused):"".concat(_," ").concat(xt.input)),ref:u,autoComplete:"off",placeholder:y||"Loading...",disabled:t.disabled||!y,autoFocus:null==t?void 0:t.autoFocus,onClickClear:function(){P(""),u.current.focus()},onKeyDown:k}),o().createElement("div",{className:"position-absolute w-100"},!!F&&o().createElement("div",{className:"".concat(xt.suggestionContainer," ").concat(xt.localitySuggestion),ref:O},o().createElement(kt,{predictions:g,getPlaceInfo:I,selectedIndex:j}),window.navigator.geolocation&&o().createElement(St.L,{className:"".concat(xt.suggestionItem," px-1 ").concat(j-1===g.length?xt.selected:""),onClick:T},o().createElement("div",{className:"btn btn-link info-link btn-with-icon bg-transparent py-0 pr-1"},o().createElement(Et,null),"Use my current location"))),G&&!F&&o().createElement("div",{className:"d-flex"},o().createElement("button",{onClick:T,className:"btn btn-link info-link bg-white btn-with-icon"},o().createElement(Et,null),"Use my current location")),!!A&&o().createElement("div",{className:"text-danger p-2"},A)))}var Ct=r(99940);function At(t){return At="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},At(t)}function Nt(t){var e="function"==typeof Map?new Map:void 0;return Nt=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 Pt(t,arguments,Tt(this).constructor)}return n.prototype=Object.create(t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),It(n,t)},Nt(t)}function Pt(t,e,r){return Pt=Ut()?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&&It(o,r.prototype),o},Pt.apply(null,arguments)}function Ut(){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 It(t,e){return It=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},It(t,e)}function Tt(t){return Tt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Tt(t)}var _t=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&&It(t,e)}(a,t);var e,r,n,o=(r=a,n=Ut(),function(){var t,e=Tt(r);if(n){var o=Tt(this).constructor;t=Reflect.construct(e,arguments,o)}else t=e.apply(this,arguments);return function(t,e){if(e&&("object"===At(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)}(this,t)});function a(t){var e,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"Error";return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),(e=o.call(this,r)).body=t,e}return e=a,Object.defineProperty(e,"prototype",{writable:!1}),e}(Nt(Error));function Ft(t){return Ft="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},Ft(t)}function Gt(){Gt=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var a=e&&e.prototype instanceof v?e:v,i=Object.create(a.prototype),c=new N(n||[]);return o(i,"_invoke",{value:k(t,r,c)}),i}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var p="suspendedStart",h="suspendedYield",d="executing",m="completed",y={};function v(){}function g(){}function b(){}var w={};u(w,i,(function(){return this}));var S=Object.getPrototypeOf,E=S&&S(S(P([])));E&&E!==r&&n.call(E,i)&&(w=E);var x=b.prototype=v.prototype=Object.create(w);function L(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,a,i,c){var l=f(t[o],t,a);if("throw"!==l.type){var u=l.arg,s=u.value;return s&&"object"==Ft(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,i,c)}),(function(t){r("throw",t,i,c)})):e.resolve(s).then((function(t){u.value=t,i(u)}),(function(t){return r("throw",t,i,c)}))}c(l.arg)}var a;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return a=a?a.then(o,o):o()}})}function k(e,r,n){var o=p;return function(a,i){if(o===d)throw new Error("Generator is already running");if(o===m){if("throw"===a)throw i;return{value:t,done:!0}}for(n.method=a,n.arg=i;;){var c=n.delegate;if(c){var l=O(c,n);if(l){if(l===y)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===p)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var u=f(e,r,n);if("normal"===u.type){if(o=n.done?m:h,u.arg===y)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(o=m,n.method="throw",n.arg=u.arg)}}}function O(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var a=f(o,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,y;var i=a.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function C(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 A(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function N(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(C,this),this.reset(!0)}function P(e){if(e||""===e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(Ft(e)+" is not iterable")}return g.prototype=b,o(x,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:g,configurable:!0}),g.displayName=u(b,l,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===g||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,u(t,l,"GeneratorFunction")),t.prototype=Object.create(x),t},e.awrap=function(t){return{__await:t}},L(j.prototype),u(j.prototype,c,(function(){return this})),e.AsyncIterator=j,e.async=function(t,r,n,o,a){void 0===a&&(a=Promise);var i=new j(s(t,r,n,o),a);return e.isGeneratorFunction(r)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},L(x),u(x,l,"Generator"),u(x,i,(function(){return this})),u(x,"toString",(function(){return"[object Generator]"})),e.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}},e.values=P,N.prototype={constructor:N,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(A),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return c.type="throw",c.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],c=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var l=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(l&&u){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=t,i.arg=e,a?(this.method="next",this.next=a.finallyLoc,y):this.complete(i)},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),y},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),A(r),y}},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;A(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:P(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}var Dt=function(t,e,r,n){return new(r||(r=Promise))((function(o,a){function i(t){try{l(n.next(t))}catch(t){a(t)}}function c(t){try{l(n.throw(t))}catch(t){a(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(i,c)}l((n=n.apply(t,e||[])).next())}))};function Rt(t){var e={method:Ct.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,a=t.url;return e.method===Ct.k.GET&&t.data?(r=a,n=t.data,o=r,Object.keys(n).forEach((function(t,e){n[t]&&(o+=0===e?"?":"&",o+="".concat(t,"=").concat(encodeURIComponent(n[t])))})),a=o):t.data&&(e=Object.assign(Object.assign({},e),{body:JSON.stringify(t.data)})),{init:e,url:a}}var Mt={asyncFetch:function(t){return Dt(this,void 0,void 0,Gt().mark((function e(){var r,n,o;return Gt().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=Rt(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 _t(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)})))},asyncFetchPlain:function(t){return Dt(this,void 0,void 0,Gt().mark((function e(){var r,n;return Gt().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=Rt(t),e.next=3,fetch(r.url,r.init);case 3:if((n=e.sent).ok){e.next=6;break}return e.abrupt("return");case 6:return e.next=8,n.text();case 8:return e.abrupt("return",e.sent);case 9:case"end":return e.stop()}}),e)})))},fetch:function(t){function e(e){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}((function(t){var e=Rt(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 Kt(t){return Kt="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},Kt(t)}function zt(){zt=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var a=e&&e.prototype instanceof v?e:v,i=Object.create(a.prototype),c=new N(n||[]);return o(i,"_invoke",{value:k(t,r,c)}),i}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var p="suspendedStart",h="suspendedYield",d="executing",m="completed",y={};function v(){}function g(){}function b(){}var w={};u(w,i,(function(){return this}));var S=Object.getPrototypeOf,E=S&&S(S(P([])));E&&E!==r&&n.call(E,i)&&(w=E);var x=b.prototype=v.prototype=Object.create(w);function L(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,a,i,c){var l=f(t[o],t,a);if("throw"!==l.type){var u=l.arg,s=u.value;return s&&"object"==Kt(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,i,c)}),(function(t){r("throw",t,i,c)})):e.resolve(s).then((function(t){u.value=t,i(u)}),(function(t){return r("throw",t,i,c)}))}c(l.arg)}var a;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return a=a?a.then(o,o):o()}})}function k(e,r,n){var o=p;return function(a,i){if(o===d)throw new Error("Generator is already running");if(o===m){if("throw"===a)throw i;return{value:t,done:!0}}for(n.method=a,n.arg=i;;){var c=n.delegate;if(c){var l=O(c,n);if(l){if(l===y)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===p)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var u=f(e,r,n);if("normal"===u.type){if(o=n.done?m:h,u.arg===y)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(o=m,n.method="throw",n.arg=u.arg)}}}function O(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var a=f(o,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,y;var i=a.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function C(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 A(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function N(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(C,this),this.reset(!0)}function P(e){if(e||""===e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(Kt(e)+" is not iterable")}return g.prototype=b,o(x,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:g,configurable:!0}),g.displayName=u(b,l,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===g||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,u(t,l,"GeneratorFunction")),t.prototype=Object.create(x),t},e.awrap=function(t){return{__await:t}},L(j.prototype),u(j.prototype,c,(function(){return this})),e.AsyncIterator=j,e.async=function(t,r,n,o,a){void 0===a&&(a=Promise);var i=new j(s(t,r,n,o),a);return e.isGeneratorFunction(r)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},L(x),u(x,l,"Generator"),u(x,i,(function(){return this})),u(x,"toString",(function(){return"[object Generator]"})),e.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}},e.values=P,N.prototype={constructor:N,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(A),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return c.type="throw",c.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],c=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var l=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(l&&u){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=t,i.arg=e,a?(this.method="next",this.next=a.finallyLoc,y):this.complete(i)},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),y},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),A(r),y}},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;A(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:P(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}var qt,Bt={search:function(t,e,r,n,o){var a={longitude:e.longitude,latitude:e.latitude};e.query&&(a.query=e.query),Mt.fetch({url:t.searchProspect,data:a,success:r,error:n,always:o})},create:function(t,e){return r=this,n=void 0,o=void 0,a=zt().mark((function r(){return zt().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",Mt.asyncFetch({url:t.createProspect,method:Ct.k.POST,data:e}));case 1:case"end":return r.stop()}}),r)})),new(o||(o=Promise))((function(t,e){function i(t){try{l(a.next(t))}catch(t){e(t)}}function c(t){try{l(a.throw(t))}catch(t){e(t)}}function l(e){var r;e.done?t(e.value):(r=e.value,r instanceof o?r:new o((function(t){t(r)}))).then(i,c)}l((a=a.apply(r,n||[])).next())}));var r,n,o,a},getLookups:function(t,e){return Mt.asyncFetch({url:t.prospectLookups(e)})}},Yt=r(97395),$t=function(t,e){if(t.productName!==I.X.Lite)return Promise.reject();var r={email:e.email};return Mt.asyncFetch({url:t.userStatus,data:r})},Wt=function(t,e,r,n,o){var a=t.prospectStatus(e.prospectId);a=Yt._.urlBuilder(a,{email:e.email}),Mt.fetch({url:a,success:r,error:n,always:o})},Vt=function(t,e){var r={prospectId:e.prospectId,firstName:"Trial",surname:"User",email:e.email,userType:e.userType,accessPolicy:e.accessPolicy,appLink:null==e?void 0:e.appLink};return Mt.asyncFetch({url:t.createTrial,method:Ct.k.POST,data:r})},Ht=function(t,e,r){if(t.productName!==I.X.Lite)return Promise.reject();var n={email:r.email,appLink:null==r?void 0:r.appLink};return Mt.asyncFetch({url:t.resendTrialEmail(e),method:Ct.k.POST,data:n})},Jt=function(t,e){var r=t.productName===I.X.Auth?t.joinRequest:t.joinRequest(e.customerId),n=t.productName===I.X.Auth?e:{email:e.email};return Mt.asyncFetch({url:r,method:Ct.k.POST,data:n})},Zt=function(t,e){return t.productName!==I.X.Lite?Promise.reject():Mt.asyncFetch({url:t.autoJoin,method:Ct.k.POST,data:e})};!function(t){t.FourteenDays="trial_14_v1",t.Freemium="freemium_v1"}(qt||(qt={}));var Xt,Qt=function(t){return L.isCountryCodeUS(t)||L.isCountryCodeUK(t)?qt.Freemium:qt.FourteenDays},te=["Primary","Secondary","K12","Special","TAFE","University"],ee=["Elementary","Middle School","High School","College","Other"],re={au:te,nz:te,uk:["Primary","Secondary","Primary & Secondary","Special","Sixth Form College","FE College","University","Other"],us:ee};function ne(t){return ne="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},ne(t)}function oe(){oe=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var a=e&&e.prototype instanceof v?e:v,i=Object.create(a.prototype),c=new N(n||[]);return o(i,"_invoke",{value:k(t,r,c)}),i}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var p="suspendedStart",h="suspendedYield",d="executing",m="completed",y={};function v(){}function g(){}function b(){}var w={};u(w,i,(function(){return this}));var S=Object.getPrototypeOf,E=S&&S(S(P([])));E&&E!==r&&n.call(E,i)&&(w=E);var x=b.prototype=v.prototype=Object.create(w);function L(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,a,i,c){var l=f(t[o],t,a);if("throw"!==l.type){var u=l.arg,s=u.value;return s&&"object"==ne(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,i,c)}),(function(t){r("throw",t,i,c)})):e.resolve(s).then((function(t){u.value=t,i(u)}),(function(t){return r("throw",t,i,c)}))}c(l.arg)}var a;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return a=a?a.then(o,o):o()}})}function k(e,r,n){var o=p;return function(a,i){if(o===d)throw new Error("Generator is already running");if(o===m){if("throw"===a)throw i;return{value:t,done:!0}}for(n.method=a,n.arg=i;;){var c=n.delegate;if(c){var l=O(c,n);if(l){if(l===y)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===p)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var u=f(e,r,n);if("normal"===u.type){if(o=n.done?m:h,u.arg===y)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(o=m,n.method="throw",n.arg=u.arg)}}}function O(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var a=f(o,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,y;var i=a.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function C(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 A(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function N(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(C,this),this.reset(!0)}function P(e){if(e||""===e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(ne(e)+" is not iterable")}return g.prototype=b,o(x,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:g,configurable:!0}),g.displayName=u(b,l,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===g||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,u(t,l,"GeneratorFunction")),t.prototype=Object.create(x),t},e.awrap=function(t){return{__await:t}},L(j.prototype),u(j.prototype,c,(function(){return this})),e.AsyncIterator=j,e.async=function(t,r,n,o,a){void 0===a&&(a=Promise);var i=new j(s(t,r,n,o),a);return e.isGeneratorFunction(r)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},L(x),u(x,l,"Generator"),u(x,i,(function(){return this})),u(x,"toString",(function(){return"[object Generator]"})),e.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}},e.values=P,N.prototype={constructor:N,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(A),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return c.type="throw",c.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],c=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var l=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(l&&u){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=t,i.arg=e,a?(this.method="next",this.next=a.finallyLoc,y):this.complete(i)},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),y},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),A(r),y}},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;A(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:P(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function ae(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,a,i,c=[],l=!0,u=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=a.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&&(i=r.return(),Object(i)!==i))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}!function(t){t.Published="Published",t.Draft="Draft"}(Xt||(Xt={}));function ce(t,e){return e?"".concat(t," ").concat(e):t}var le=function(t){return o().createElement("h1",{className:ce("text-center mb-2 h4",t.className)},t.children)},ue=function(t){return o().createElement("div",{className:ce("text-center text-sm px-2 px-lg-4",t.className)},t.children)},se=function(t){return o().createElement("p",{className:ce("",t.className)},t.children)};function fe(t){return fe="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},fe(t)}function pe(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==fe(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==fe(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===fe(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function he(t){var e,r=(pe(e={},g.Available,t.imageUrls.statusImages.available),pe(e,g.Active,t.imageUrls.statusImages.active),pe(e,g.Expired,t.imageUrls.statusImages.expired),pe(e,g.NotRequired,t.imageUrls.statusImages.notRequired),pe(e,g.Unavailable,t.imageUrls.statusImages.unavailable),pe(e,g.Unsupported,t.imageUrls.statusImages.unsupported),pe(e,g.UserAutoJoinAllowed,t.imageUrls.statusImages.notRequired),pe(e,g.UserJoinApprovalRequired,t.imageUrls.statusImages.notRequired),e);return o().createElement("div",{className:"d-flex justify-content-center my-4 px-2 px-lg-4"},o().createElement("img",{src:r[t.trialStatus],className:"w-100 h-auto"}))}var de={Marketing:{au:"https://www.clickview.com.au",uk:"https://www.clickview.co.uk",nz:"https://www.clickview.co.nz",us:"https://www.clickvieweducation.com"},Support:{au:"https://www.clickviewsupport.com/hc/en-au",uk:"https://www.clickviewsupport.com/hc/en-au#gb",nz:"https://www.clickviewsupport.com/hc/en-au#nz",us:"https://www.clickviewsupport.com/hc/en-au#us"}},me={getMarketingUrlForGeoLocation:function(t){var e=L.getCountryCode(null==t?void 0:t.countryCode);return de.Marketing[e]||de.Marketing.us},getMarketingSalesContactForGeoLocation:function(t){var e=L.getCountryCode(null==t?void 0:t.countryCode),r=this.getMarketingUrlForGeoLocation(t);return t&&e===y.NZ?r+"/contact-us/":r+"/contact-us/trial/"},getFreeResourcesForGeoLocation:function(t){var e=L.getCountryCode(null==t?void 0:t.countryCode);return e===y.NZ&&(e=y.AU),this.getMarketingUrlForGeoLocation({countryCode:e})+"/free-student-resources//"},getTermsAndConditionsLink:function(){return this.getMarketingUrlForGeoLocation(y.US)+"/terms-and-conditions/"},getPrivacyPolicyLink:function(){return this.getMarketingUrlForGeoLocation(y.US)+"/privacy-policy/"},getSupportUrlForGeoLocation:function(t){var e=L.getCountryCode(null==t?void 0:t.countryCode);return de.Support[e]||de.Support.us},getLoginLink:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.email,r=t.customerId,n={redirectUrl:window.location.pathname+window.location.search};return e&&(n.email=e),r&&(n.customerId=r),Yt._.urlBuilder("/login",n)}};function ye(t){var e=(null==t?void 0:t.previousStepIds)&&"find-school"===t.previousStepIds[t.previousStepIds.length-1],r=(null==t?void 0:t.schoolName)||"Your school";return o().createElement(ue,{className:"mb-3"},e?o().createElement(o().Fragment,null,o().createElement(le,null,r,o().createElement("br",null),"already has ClickView 🎉"),o().createElement(se,{className:"mt-3"},"If your school has SSO ",o().createElement("a",{href:me.getLoginLink({email:t.email,customerId:t.customerId}),className:"info-link"},"click here to sign in.")),o().createElement(se,null,"Otherwise please contact your school admin for access.")):o().createElement(o().Fragment,null,o().createElement(le,null,"Good News!"),o().createElement(se,null,"An account already exists for:",o().createElement("br",null)," ",o().createElement("strong",null,t.email)),o().createElement(se,null,o().createElement("a",{href:me.getLoginLink({email:t.email}),className:"btn btn-dark btn-lg w-100"},"Sign into ClickView"))),o().createElement(se,null,"Need Help? ",o().createElement("a",{href:me.getSupportUrlForGeoLocation(t.geoLocation),className:"info-link",target:"_blank"},"Contact our Help Centre.")))}function ve(t){return ve="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},ve(t)}function ge(){ge=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var a=e&&e.prototype instanceof v?e:v,i=Object.create(a.prototype),c=new N(n||[]);return o(i,"_invoke",{value:k(t,r,c)}),i}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var p="suspendedStart",h="suspendedYield",d="executing",m="completed",y={};function v(){}function g(){}function b(){}var w={};u(w,i,(function(){return this}));var S=Object.getPrototypeOf,E=S&&S(S(P([])));E&&E!==r&&n.call(E,i)&&(w=E);var x=b.prototype=v.prototype=Object.create(w);function L(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,a,i,c){var l=f(t[o],t,a);if("throw"!==l.type){var u=l.arg,s=u.value;return s&&"object"==ve(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,i,c)}),(function(t){r("throw",t,i,c)})):e.resolve(s).then((function(t){u.value=t,i(u)}),(function(t){return r("throw",t,i,c)}))}c(l.arg)}var a;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return a=a?a.then(o,o):o()}})}function k(e,r,n){var o=p;return function(a,i){if(o===d)throw new Error("Generator is already running");if(o===m){if("throw"===a)throw i;return{value:t,done:!0}}for(n.method=a,n.arg=i;;){var c=n.delegate;if(c){var l=O(c,n);if(l){if(l===y)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===p)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var u=f(e,r,n);if("normal"===u.type){if(o=n.done?m:h,u.arg===y)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(o=m,n.method="throw",n.arg=u.arg)}}}function O(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var a=f(o,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,y;var i=a.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function C(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 A(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function N(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(C,this),this.reset(!0)}function P(e){if(e||""===e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(ve(e)+" is not iterable")}return g.prototype=b,o(x,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:g,configurable:!0}),g.displayName=u(b,l,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===g||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,u(t,l,"GeneratorFunction")),t.prototype=Object.create(x),t},e.awrap=function(t){return{__await:t}},L(j.prototype),u(j.prototype,c,(function(){return this})),e.AsyncIterator=j,e.async=function(t,r,n,o,a){void 0===a&&(a=Promise);var i=new j(s(t,r,n,o),a);return e.isGeneratorFunction(r)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},L(x),u(x,l,"Generator"),u(x,i,(function(){return this})),u(x,"toString",(function(){return"[object Generator]"})),e.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}},e.values=P,N.prototype={constructor:N,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(A),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return c.type="throw",c.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],c=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var l=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(l&&u){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=t,i.arg=e,a?(this.method="next",this.next=a.finallyLoc,y):this.complete(i)},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),y},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),A(r),y}},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;A(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:P(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function be(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,a,i,c=[],l=!0,u=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=a.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&&(i=r.return(),Object(i)!==i))return}finally{if(u)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return we(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)?we(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 we(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;function Ee(t){return Ee="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},Ee(t)}function xe(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Ee(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==Ee(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===Ee(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Le=(xe(Se={},g.Available,(function(t){var e=be(o().useState(0),2),r=e[0],n=e[1],a=be(o().useState(!1),2),i=a[0],c=a[1];if(null==t?void 0:t.email)return o().createElement(ue,null,o().createElement(le,null,"Success!"),o().createElement(se,null,"An email has been sent to ",o().createElement("strong",null,t.email),". Please check your email for further instructions to complete the sign up process."),!!t.userId&&o().createElement(o().Fragment,null,r<1?o().createElement(se,null,"Didn't receive an email?  ",o().createElement("button",{onClick:function(e){return o=this,a=void 0,i=void 0,l=ge().mark((function o(){return ge().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return null==e||e.preventDefault(),o.prev=1,o.next=4,Ht(t.ajaxUrls,t.userId,{email:t.email,appLink:t.pageAppLinkString});case 4:n(r+1),o.next=10;break;case 7:o.prev=7,o.t0=o.catch(1),c(!0);case 10:t.logUserAction({},{actionType:J.UserAction.Click,descriptor:J.SignUpDescriptors.ResendEmail});case 11:case"end":return o.stop()}}),o,null,[[1,7]])})),new(i||(i=Promise))((function(t,e){function r(t){try{c(l.next(t))}catch(t){e(t)}}function n(t){try{c(l.throw(t))}catch(t){e(t)}}function c(e){var o;e.done?t(e.value):(o=e.value,o instanceof i?o:new i((function(t){t(o)}))).then(r,n)}c((l=l.apply(o,a||[])).next())}));var o,a,i,l},className:"btn info-link p-0"},"Resend verification email")):"✅ Email has been resent!",i&&o().createElement(se,{className:"mb-0 text-danger"},"❌ There was a problem resending the email. Please try again later or contact our  ",o().createElement("a",{href:me.getSupportUrlForGeoLocation(t.geoLocation),className:"info-link"},"support"))))})),xe(Se,g.Active,ye),xe(Se,g.Expired,(function(t){var e=me.getMarketingSalesContactForGeoLocation(t.geoLocation),r=(null==t?void 0:t.previousStepIds)&&"find-school"===t.previousStepIds[t.previousStepIds.length-1],n=(null==t?void 0:t.schoolName)||"Your school";return o().createElement(ue,null,o().createElement(le,null,r?"".concat(n," trial has expired"):"Your trial has expired"),o().createElement(se,null,"Please contact our ",o().createElement("a",{href:e,className:"info-link",target:"_blank"},"ClickView Sales Team")))})),xe(Se,g.NotRequired,ye),xe(Se,g.Unavailable,(function(t){var e=me.getMarketingSalesContactForGeoLocation(t.geoLocation);return o().createElement(ue,null,o().createElement(le,null,"Your school no longer",o().createElement("br",null)," has access to ClickView"),o().createElement(se,null,"Please contact our ",o().createElement("a",{href:e,className:"info-link"},"ClickView Sales Team")," for more information."))})),xe(Se,g.Unsupported,(function(){return o().createElement(ue,null,o().createElement(le,{className:"px-2 px-lg-4"},"ClickView isn't currently ",o().createElement("br",null)," available for your school"),o().createElement(se,null,"We're working hard to get ClickView ready for more people."))})),xe(Se,g.UserAutoJoinAllowed,ye),xe(Se,g.UserJoinApprovalRequired,ye),Se);function je(t){var e=Le[t.trialStatus];return o().createElement(e,Object.assign({},t))}var ke="young-student",Oe={"trial-status":function(t){return o().useEffect((function(){var e={actionType:J.UserAction.Create,descriptor:J.SignUpDescriptors.DeadEnd,workflowPhase:J.WorkflowPhase.Discard};t.trialCreated&&(e.descriptor=J.SignUpDescriptors.TrialCreated,e.workflowPhase=J.WorkflowPhase.Complete),t.logUserAction({},e)}),[]),o().createElement(o().Fragment,null,o().createElement(he,{trialStatus:t.trialStatus,imageUrls:t.imageUrls}),o().createElement(je,Object.assign({},t)))},"added-to-braze":function(t){return o().useEffect((function(){t.logUserAction({},{actionType:J.UserAction.Create,descriptor:J.SignUpDescriptors.TrialRequested,workflowPhase:J.WorkflowPhase.Complete})}),[]),o().createElement(o().Fragment,null,o().createElement(he,{trialStatus:g.Available,imageUrls:t.imageUrls}),o().createElement(ue,{className:"mb-3"},o().createElement(le,null,"Submitted!"),o().createElement(se,null,"Thank you for your interest in trialing ClickView. We will be in touch with you as soon as possible.")))},"young-student":function(t){var e=me.getFreeResourcesForGeoLocation(t.geoLocation);return o().useEffect((function(){a.SG.set(ke,!0)}),[]),o().createElement(o().Fragment,null,o().createElement(he,{trialStatus:g.Active,imageUrls:t.imageUrls}),o().createElement(ue,{className:"mb-3"},o().createElement(le,null,"Discover our free content"),o().createElement(se,null,"Click the button below to explore our videos"),o().createElement("a",{href:e,className:"btn btn-lg btn-dark w-100",target:"_blank"},"Start watching now")))},"requested-access":function(t){return o().createElement(o().Fragment,null,o().createElement(he,{trialStatus:g.Available,imageUrls:t.imageUrls}),o().createElement(ue,{className:"mb-3"},o().createElement(le,null,"You've requested access!"),o().createElement(se,null,"We've sent a request to your ClickView admin. Once your account is ready, you'll receive an email notification with instructions on how to get started with ClickView.")))}};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,a,i,c=[],l=!0,u=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=a.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&&(i=r.return(),Object(i)!==i))return}finally{if(u)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Ae(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)?Ae(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 Ae(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 Ne(t,e,r){return"".concat(t.padStart(4,"0"),"-").concat(e.padStart(2,"0"),"-").concat(r.padStart(2,"0"))}function Pe(t){return o().createElement(o().Fragment,null,"Have a ClickView account already?",o().createElement("a",{href:t.link,className:"info-link ml-1",target:"_blank",onClick:t.onClick},"Sign in"))}const Ue="gVdYS",Ie="Mlp3x";function Te(t){var e=t.idp,r=t.onClick;return n.createElement("button",{className:"btn btn-lg btn-outline-dark w-100 mb-3 ".concat(Ue),onClick:function(){return r(e)}},e.logoUrl&&n.createElement("img",{src:e.logoUrl,className:Ie}),"Continue with ",e.name)}var _e=[{name:"ClassLink",logoUrl:"https://img.clickviewapp.com/v2/logos/ZA2ew5",url:"/login?idp=classlink"},{name:"Clever",logoUrl:"https://img.clickviewapp.com/v2/logos/LqlKgd",url:"/login?idp=clever"},{name:"Google",logoUrl:"https://img.clickviewapp.com/v2/logos/l5x0jL",url:"/login?idp=google"},{name:"Microsoft",logoUrl:"https://img.clickviewapp.com/v2/logos/xAxGPP",url:"/login?idp=microsoft"}];var Fe;function Ge(t){return Ge="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},Ge(t)}function De(){De=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var a=e&&e.prototype instanceof v?e:v,i=Object.create(a.prototype),c=new N(n||[]);return o(i,"_invoke",{value:k(t,r,c)}),i}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var p="suspendedStart",h="suspendedYield",d="executing",m="completed",y={};function v(){}function g(){}function b(){}var w={};u(w,i,(function(){return this}));var S=Object.getPrototypeOf,E=S&&S(S(P([])));E&&E!==r&&n.call(E,i)&&(w=E);var x=b.prototype=v.prototype=Object.create(w);function L(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,a,i,c){var l=f(t[o],t,a);if("throw"!==l.type){var u=l.arg,s=u.value;return s&&"object"==Ge(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,i,c)}),(function(t){r("throw",t,i,c)})):e.resolve(s).then((function(t){u.value=t,i(u)}),(function(t){return r("throw",t,i,c)}))}c(l.arg)}var a;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return a=a?a.then(o,o):o()}})}function k(e,r,n){var o=p;return function(a,i){if(o===d)throw new Error("Generator is already running");if(o===m){if("throw"===a)throw i;return{value:t,done:!0}}for(n.method=a,n.arg=i;;){var c=n.delegate;if(c){var l=O(c,n);if(l){if(l===y)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===p)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var u=f(e,r,n);if("normal"===u.type){if(o=n.done?m:h,u.arg===y)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(o=m,n.method="throw",n.arg=u.arg)}}}function O(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var a=f(o,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,y;var i=a.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function C(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 A(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function N(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(C,this),this.reset(!0)}function P(e){if(e||""===e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(Ge(e)+" is not iterable")}return g.prototype=b,o(x,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:g,configurable:!0}),g.displayName=u(b,l,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===g||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,u(t,l,"GeneratorFunction")),t.prototype=Object.create(x),t},e.awrap=function(t){return{__await:t}},L(j.prototype),u(j.prototype,c,(function(){return this})),e.AsyncIterator=j,e.async=function(t,r,n,o,a){void 0===a&&(a=Promise);var i=new j(s(t,r,n,o),a);return e.isGeneratorFunction(r)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},L(x),u(x,l,"Generator"),u(x,i,(function(){return this})),u(x,"toString",(function(){return"[object Generator]"})),e.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}},e.values=P,N.prototype={constructor:N,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(A),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return c.type="throw",c.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],c=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var l=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(l&&u){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=t,i.arg=e,a?(this.method="next",this.next=a.finallyLoc,y):this.complete(i)},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),y},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),A(r),y}},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;A(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:P(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function Re(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,a,i,c=[],l=!0,u=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=a.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&&(i=r.return(),Object(i)!==i))return}finally{if(u)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Me(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)?Me(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 Me(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 Ke(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Ge(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==Ge(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===Ge(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var ze=new RegExp(/^[^\s@]+@[^\s@]+\.[^\s@]+$/),qe=(Ke(Fe={},y.AU,"valerie.frizzle@school.edu.au"),Ke(Fe,y.UK,"valerie.frizzle@school.gov.uk"),Ke(Fe,y.US,"valerie.frizzle@school.gov"),Ke(Fe,y.NZ,"valerie.frizzle@school.nz"),Fe);function Be(t){return qe[L.getCountryCode(t.countryCode)]||qe.us}var Ye=[g.Expired,g.NotRequired,g.Unavailable,g.Unsupported,g.Active];function $e(t){var e;switch(null===(e=null==t?void 0:t.body)||void 0===e?void 0:e.type){case"user-type-not-supported":return"Students may not request to join schools.";case"join-request-already-pending":return"Your request is awaiting administrator approval.";case"join-request-already-denied":return"Your request has been denied by an administrator.";default:return"Something went wrong."}}var We=r(12238);function Ve(t){return Ve="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},Ve(t)}function He(){He=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var a=e&&e.prototype instanceof v?e:v,i=Object.create(a.prototype),c=new N(n||[]);return o(i,"_invoke",{value:k(t,r,c)}),i}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var p="suspendedStart",h="suspendedYield",d="executing",m="completed",y={};function v(){}function g(){}function b(){}var w={};u(w,i,(function(){return this}));var S=Object.getPrototypeOf,E=S&&S(S(P([])));E&&E!==r&&n.call(E,i)&&(w=E);var x=b.prototype=v.prototype=Object.create(w);function L(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,a,i,c){var l=f(t[o],t,a);if("throw"!==l.type){var u=l.arg,s=u.value;return s&&"object"==Ve(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,i,c)}),(function(t){r("throw",t,i,c)})):e.resolve(s).then((function(t){u.value=t,i(u)}),(function(t){return r("throw",t,i,c)}))}c(l.arg)}var a;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return a=a?a.then(o,o):o()}})}function k(e,r,n){var o=p;return function(a,i){if(o===d)throw new Error("Generator is already running");if(o===m){if("throw"===a)throw i;return{value:t,done:!0}}for(n.method=a,n.arg=i;;){var c=n.delegate;if(c){var l=O(c,n);if(l){if(l===y)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===p)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var u=f(e,r,n);if("normal"===u.type){if(o=n.done?m:h,u.arg===y)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(o=m,n.method="throw",n.arg=u.arg)}}}function O(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var a=f(o,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,y;var i=a.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function C(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 A(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function N(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(C,this),this.reset(!0)}function P(e){if(e||""===e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(Ve(e)+" is not iterable")}return g.prototype=b,o(x,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:g,configurable:!0}),g.displayName=u(b,l,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===g||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,u(t,l,"GeneratorFunction")),t.prototype=Object.create(x),t},e.awrap=function(t){return{__await:t}},L(j.prototype),u(j.prototype,c,(function(){return this})),e.AsyncIterator=j,e.async=function(t,r,n,o,a){void 0===a&&(a=Promise);var i=new j(s(t,r,n,o),a);return e.isGeneratorFunction(r)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},L(x),u(x,l,"Generator"),u(x,i,(function(){return this})),u(x,"toString",(function(){return"[object Generator]"})),e.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}},e.values=P,N.prototype={constructor:N,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(A),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return c.type="throw",c.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],c=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var l=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(l&&u){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=t,i.arg=e,a?(this.method="next",this.next=a.finallyLoc,y):this.complete(i)},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),y},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),A(r),y}},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;A(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:P(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function Je(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 Ze(t){return Ze="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},Ze(t)}function Xe(){Xe=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var a=e&&e.prototype instanceof v?e:v,i=Object.create(a.prototype),c=new N(n||[]);return o(i,"_invoke",{value:k(t,r,c)}),i}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var p="suspendedStart",h="suspendedYield",d="executing",m="completed",y={};function v(){}function g(){}function b(){}var w={};u(w,i,(function(){return this}));var S=Object.getPrototypeOf,E=S&&S(S(P([])));E&&E!==r&&n.call(E,i)&&(w=E);var x=b.prototype=v.prototype=Object.create(w);function L(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,a,i,c){var l=f(t[o],t,a);if("throw"!==l.type){var u=l.arg,s=u.value;return s&&"object"==Ze(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,i,c)}),(function(t){r("throw",t,i,c)})):e.resolve(s).then((function(t){u.value=t,i(u)}),(function(t){return r("throw",t,i,c)}))}c(l.arg)}var a;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return a=a?a.then(o,o):o()}})}function k(e,r,n){var o=p;return function(a,i){if(o===d)throw new Error("Generator is already running");if(o===m){if("throw"===a)throw i;return{value:t,done:!0}}for(n.method=a,n.arg=i;;){var c=n.delegate;if(c){var l=O(c,n);if(l){if(l===y)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===p)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var u=f(e,r,n);if("normal"===u.type){if(o=n.done?m:h,u.arg===y)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(o=m,n.method="throw",n.arg=u.arg)}}}function O(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var a=f(o,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,y;var i=a.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function C(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 A(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function N(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(C,this),this.reset(!0)}function P(e){if(e||""===e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(Ze(e)+" is not iterable")}return g.prototype=b,o(x,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:g,configurable:!0}),g.displayName=u(b,l,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===g||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,u(t,l,"GeneratorFunction")),t.prototype=Object.create(x),t},e.awrap=function(t){return{__await:t}},L(j.prototype),u(j.prototype,c,(function(){return this})),e.AsyncIterator=j,e.async=function(t,r,n,o,a){void 0===a&&(a=Promise);var i=new j(s(t,r,n,o),a);return e.isGeneratorFunction(r)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},L(x),u(x,l,"Generator"),u(x,i,(function(){return this})),u(x,"toString",(function(){return"[object Generator]"})),e.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}},e.values=P,N.prototype={constructor:N,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(A),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return c.type="throw",c.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],c=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var l=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(l&&u){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=t,i.arg=e,a?(this.method="next",this.next=a.finallyLoc,y):this.complete(i)},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),y},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),A(r),y}},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;A(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:P(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}var Qe=function(t,e,r,n){return new(r||(r=Promise))((function(o,a){function i(t){try{l(n.next(t))}catch(t){a(t)}}function c(t){try{l(n.throw(t))}catch(t){a(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(i,c)}l((n=n.apply(t,e||[])).next())}))},tr=r(99910);function er(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,a,i,c=[],l=!0,u=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=a.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&&(i=r.return(),Object(i)!==i))return}finally{if(u)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return rr(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)?rr(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 rr(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 nr(t){var e=t.filteredSchoolsList,r=t.getSchoolName,n=t.onSchoolSuggestionClick,a=t.selectedIndex;return o().createElement(o().Fragment,null,e.map((function(t,e){return o().createElement(St.L,{className:"".concat(xt.suggestionItem," ").concat(a-1===e?xt.selected:""),key:t.id,onClick:function(){return n(t)}},r(t)," ",o().createElement("br",null),o().createElement("small",{className:"text-muted"},function(t){var e=[];return t.city&&e.push(t.city.toLowerCase().split(" ").map((function(t){return t.charAt(0).toUpperCase()+t.slice(1)})).join(" ")),t.province&&e.push(t.province),t.postCode&&e.push(t.postCode),e.join(" ")}(t)))})))}function or(t){return o().createElement("div",{className:"info-link ".concat(xt.suggestionItem," ").concat(xt.noSuggestion," ").concat(t.selected?xt.selected:""),onClick:t.handleNoSuggestion},"Can't find your school?")}function ar(t){var e,r,n=o().useRef(),a=er(o().useState(!0),2),i=a[0],c=a[1],u=er(o().useState(t.data.schoolName&&t.data.schoolPostCode?t.data.schoolName+", "+t.data.schoolPostCode:t.data.schoolName?t.data.schoolName:""),2),s=u[0],f=u[1],p=er(o().useState(),2),h=p[0],d=p[1],m=(0,bt.N)(s,250),y=ht({onSelected:function(t){if(h||t)if(t!==h.length){var e=h[t];e&&k(e)}else C()},itemCount:null!==(e=(null==h?void 0:h.length)+1)&&void 0!==e?e:0}),v=y.selectedIndex,g=y.onKeyDown,b=y.containerRef,w=!!(null===(r=t.data)||void 0===r?void 0:r.prospectId),S=i&&!w,E=!i&&!w&&!(null==h?void 0:h.length),x=(null==h?void 0:h.length)&&!w;function L(e){(t.data.schoolName||t.data.prospectId)&&t.clearStepItemData(),e!==s&&f(e)}function j(e){c(!0);var r={latitude:t.data.latitude,longitude:t.data.longitude};e&&e.length&&(r.query=e),Bt.search(t.ajaxUrls,r,(function(t){return d(t)}),null,(function(){return c(!1)}))}function k(e){f(O(e)),t.setDataProperty("prospectId",e.id),t.setDataProperty("schoolName",e.name),t.setDataProperty("schoolPostCode",e.postCode),t.setDataProperty("schoolType",e.prospectType),t.setDataProperty("province",e.province),t.setDataProperty("city",e.city),t.setDataProperty("country",e.countryCode)}function O(t){return t.name}function C(){t.nextStep({step:"cant-find-school",prospectId:t.data.prospectId,schoolName:s,schoolLocality:t.data.schoolLocality,longitude:t.data.longitude,latitude:t.data.latitude,country:t.data.country,city:t.data.city,province:t.data.province}),t.logUserAction({},{actionType:J.UserAction.Click,descriptor:J.SignUpDescriptors.CantFindSchool,workflowPhase:J.WorkflowPhase.Next})}o().useEffect((function(){w||(m.length?!w&&m.length>1&&m===s&&j(m):j())}),[m,w]);var A=x||S||E;return o().createElement("div",{className:"form-group position-relative"},o().createElement(l.w,{value:s,onChange:function(t){return L(t.currentTarget.value)},ref:n,className:"form-control form-control-lg ".concat(A?xt.inputFocused:xt.input),type:"text",autoComplete:"off",placeholder:"Select your school below",disabled:t.disabled,autoFocus:!0,onClickClear:function(){L(""),n.current.focus()},onKeyDown:g}),o().createElement("div",{className:"position-absolute w-100"},o().createElement("div",{className:"".concat(xt.suggestionContainer," ").concat(A?"":"d-none"),ref:b},x?o().createElement(nr,{filteredSchoolsList:h,onSchoolSuggestionClick:k,getSchoolName:O,selectedIndex:v}):S&&o().createElement("div",{className:"".concat(xt.suggestionLoading," py-4 d-flex justify-content-center")},o().createElement(tr.Spinner,{animation:"border"})),!S&&(null==h?void 0:h.length)<5&&o().createElement(or,{selected:v===h.length+1,handleNoSuggestion:C}))))}function ir(t){return ir="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},ir(t)}function cr(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,a,i,c=[],l=!0,u=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=a.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&&(i=r.return(),Object(i)!==i))return}finally{if(u)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return lr(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)?lr(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 lr(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}const ur="R8ZPi",sr="SNEmW";function fr(t){return o().createElement(St.L,{className:"\n d-flex\n flex-column\n justify-content-between\n h-100\n p-3\n border\n rounded\n rounded-lg\n mx-auto\n ".concat(ur," ").concat(t.selected?sr:""),onClick:function(){return t.onClick(t.type)}},o().createElement("img",{src:t.imageSrc,className:"rounded-top mx-auto pb-2"}),o().createElement("div",{className:"py-2"},o().createElement("span",{className:"h4"},t.buttonText)))}var pr={"select-type":function(t){function e(e){t.logUserAction({userType:e},{actionType:J.UserAction.Click,workflowPhase:J.WorkflowPhase.Next,descriptor:e===w.Staff?J.SignUpDescriptors.Educator:J.SignUpDescriptors.Student}),e!==w.Staff?t.nextStep({step:"enter-age",userType:e}):t.nextStep({step:"enter-email",userType:e})}return o().createElement("div",{className:"text-center"},o().createElement("h1",{className:"h4"},"Access educational videos at your fingertips"),o().createElement("p",null,"Let's get you set up so you can access ClickView."),o().createElement("div",{className:"row"},o().createElement("div",{className:"col-lg-6 mb-3"},o().createElement(fr,{type:w.Staff,buttonText:"I'm an educator",imageSrc:t.imageUrls.educator,onClick:e,selected:t.userType===w.Staff})),o().createElement("div",{className:"col-lg-6 mb-3"},o().createElement(fr,{type:w.Learner,buttonText:"I'm a student",imageSrc:t.imageUrls.student,onClick:e,selected:t.userType===w.Learner}))))},"enter-email":function(t){var e,r,n=Re(o().useState(!1),2),a=n[0],i=n[1],c=Re(o().useState((null==t?void 0:t.email)||""),2),u=c[0],s=c[1],f=Re(o().useState(),2),p=f[0],h=f[1],d=(e=t.geoLocation,r=me.getMarketingUrlForGeoLocation(e),"nz"===(null==e?void 0:e.countryCode)?r+"/contact-us/":r+"/contact-us/technical/");function m(e){null==e||e.preventDefault(),function(){var e,r,n,o;e=this,r=void 0,n=void 0,o=De().mark((function e(){var r;return De().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(u.length?ze.test(u)||(h("Please use your school email address."),0):(h("Please enter your school email address."),0)){e.next=2;break}return e.abrupt("return");case 2:return i(!0),h(""),e.prev=4,e.next=7,$t(t.ajaxUrls,{email:u});case 7:r=e.sent,e.next=14;break;case 10:return e.prev=10,e.t0=e.catch(4),h("Something went wrong! Please try again later."),e.abrupt("return");case 14:if(i(!1),r.status!==b.InvalidEmail){e.next=18;break}return h("Please use your school email address."),e.abrupt("return");case 18:if(t.logUserAction({},{actionType:J.UserAction.Click,workflowPhase:J.WorkflowPhase.Next,descriptor:J.SignUpDescriptors.EnterEmail}),!Ye.includes(r.status)){e.next=22;break}return t.complete({completionStep:"trial-status",email:u,trialStatus:r.status,trialCreated:!1}),e.abrupt("return");case 22:t.nextStep({step:"find-school",email:u});case 23:case"end":return e.stop()}}),e,null,[[4,10]])})),new(n||(n=Promise))((function(t,a){function i(t){try{l(o.next(t))}catch(t){a(t)}}function c(t){try{l(o.throw(t))}catch(t){a(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(i,c)}l((o=o.apply(e,r||[])).next())}))}()}function y(t){var e=window.location.pathname+window.location.search;window.location.href=t.url+"&redirectUrl="+encodeURIComponent(e)}var v="true"===docCookies.getItem("features.social-signup")&&t.userType===w.Staff;return o().createElement(o().Fragment,null,o().createElement("div",{className:"text-center"},o().createElement("h1",{className:"h4"},"Let's set up your account"),o().createElement("p",null,"Enter your school email address")),o().createElement("form",{onSubmit:m,noValidate:!0},o().createElement("div",{className:"form-group mb-3"},o().createElement(l.w,{value:u,onChange:function(t){t.preventDefault(),s(t.target.value),h("")},name:"email-input",id:"email-input",type:"email",className:"form-control form-control-lg ".concat(p?"is-invalid":""),placeholder:Be(t.geoLocation),autoComplete:"false",autoCorrect:"false",autoFocus:!0,onClickClear:function(){return s("")}}),p&&o().createElement(o().Fragment,null,o().createElement("div",{className:"invalid-feedback d-block"},p),o().createElement("small",null,"Having an issue with your email?",o().createElement("a",{href:d,className:"info-link pl-1",target:"_blank",onClick:function(){t.logUserAction({},{actionType:J.UserAction.Click,descriptor:J.SignUpDescriptors.ContactUs})}},"Contact our team")))),o().createElement(j.m,{showSpinner:a,className:"btn btn-dark btn-lg mb-3 w-100",disabled:a,onClick:m},"Continue")),v&&o().createElement("div",{className:"mt-n3"},o().createElement("div",{className:"my-3 border-bottom position-relative ".concat("bGwO5")}),_e.map((function(t,e){return o().createElement(Te,{onClick:y,idp:t,key:e})}))),o().createElement("div",{className:"text-center"},o().createElement(Pe,{link:me.getLoginLink(),onClick:function(){t.logUserAction({},{actionType:J.UserAction.Click,descriptor:J.SignUpDescriptors.SignIn})}})))},"find-school":function(t){var e,r,n=t.email,a=t.userType,i=cr(o().useState({schoolLocality:t.schoolLocality,country:t.country,longitude:t.longitude,latitude:t.latitude,city:t.city,province:t.province}),2),c=i[0],l=i[1],u=cr(o().useState(),2),s=u[0],f=u[1],p=cr(o().useState(),2),h=p[0],d=p[1],m=cr(o().useState(!1),2),y=m[0],v=m[1],b=cr(o().useState(!1),2),S=b[0],E=b[1],x=cr(o().useState(!1),2),L=x[0],k=x[1],O=function(t){var e=t.loading,r=t.canSubmitForm,n=t.setSubmissionError,o=t.prospectStatus,a=t.userType,i=t.logStepEvent,c=t.logUserAction,l=t.nextStep,u=t.data,s=t.productName,f=t.ajaxUrls,p=t.complete,h=t.setLoadingState,d=t.email,m=t.pageAppLinkString,y=t.setProperty;function v(){return Qe(this,void 0,void 0,Xe().mark((function t(){return Xe().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,Zt(f,{prospectId:u.prospectId,email:d});case 3:c({},{actionType:J.UserAction.Click,descriptor:J.SignUpDescriptors.AutoJoin}),p(Object.assign({completionStep:"trial-status",trialCreated:!0,trialStatus:g.Available},u)),t.next=12;break;case 7:return t.prev=7,t.t0=t.catch(0),n("Something went wrong! Please try again later."),h(!1),t.abrupt("return");case 12:case"end":return t.stop()}}),t,null,[[0,7]])})))}function b(){var t;return Qe(this,void 0,void 0,Xe().mark((function e(){var r,n;return Xe().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=void 0,!(null==u?void 0:u.prospectId)||o!==g.NotRequired){e.next=6;break}return e.next=4,Bt.getLookups(f,u.prospectId);case 4:n=e.sent,r=null===(t=n.find((function(t){return t.type===We.C.MasterId})))||void 0===t?void 0:t.externalId;case 6:p(Object.assign({completionStep:"trial-status",trialStatus:o,trialCreated:!1,customerId:r},u)),i();case 8:case"end":return e.stop()}}),e)})))}function S(){var t;return Qe(this,void 0,void 0,Xe().mark((function e(){var r;return Xe().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return h(!0),e.prev=1,e.next=4,Vt(f,{userType:a,email:d,prospectId:null==u?void 0:u.prospectId,appLink:m,accessPolicy:Qt(u.country)});case 4:r=e.sent,e.next=12;break;case 7:return e.prev=7,e.t0=e.catch(1),n("Something went wrong! Please try again later."),h(!1),e.abrupt("return");case 12:o===g.UserAutoJoinAllowed&&c({},{actionType:J.UserAction.Click,descriptor:J.SignUpDescriptors.AutoJoin}),y("userId",r.id),p(Object.assign({completionStep:"trial-status",userId:r.id,trialCreated:!0,trialStatus:g.Available,customerId:null===(t=r.data)||void 0===t?void 0:t.customerId},u)),i();case 16:case"end":return e.stop()}}),e,null,[[1,7]])})))}return function(){return Qe(this,void 0,void 0,Xe().mark((function t(){return Xe().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!e){t.next=2;break}return t.abrupt("return");case 2:if(r()){t.next=5;break}return n("Something went wrong! Please try again later."),t.abrupt("return");case 5:if(a!==w.Staff){t.next=14;break}if(o!==g.Unsupported){t.next=8;break}return t.abrupt("return",(l(Object.assign({step:"add-to-braze",trialStatus:o},u)),void i()));case 8:if(o!==g.UserJoinApprovalRequired){t.next=10;break}return t.abrupt("return",(l(Object.assign({step:"request-access"},u)),void i()));case 10:if(o!==g.UserAutoJoinAllowed||s!==I.X.Lite){t.next=14;break}return t.next=13,v();case 13:case 17:case 20:return t.abrupt("return",t.sent);case 14:if(o===g.Active||o===g.Available||o===g.UserAutoJoinAllowed&&s===I.X.Auth){t.next=18;break}return t.next=17,b();case 18:return t.next=20,S();case 21:case"end":return t.stop()}}),t)})))}}(Object.assign(Object.assign({},t),{prospectStatus:s,loading:y,data:c,canSubmitForm:C,setSubmissionError:d,logStepEvent:function(){var e={actionType:J.UserAction.Click,descriptor:J.SignUpDescriptors.FindSchool,workflowPhase:J.WorkflowPhase.Next};t.logUserAction(c||{},e)},setLoadingState:function(t){E(t),k(t),v(t)},setProperty:A}));function C(){if(!c||!n||!a)return!1;var t=c.prospectId;return!!(n&&a&&t)}function A(e,r){"prospectId"===e&&r&&(v(!0),Wt(t.ajaxUrls,{prospectId:r.toString(),email:t.email},(function(t){f(t.status)}),(function(){console.log("error")}),(function(){v(!1)}))),l((function(t){return Object.assign(Object.assign({},t),function(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==ir(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==ir(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===ir(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}({},e,r))}))}function N(){A("prospectId",void 0),A("schoolName",""),A("schoolPostCode",void 0),d(void 0)}return o().createElement(o().Fragment,null,o().createElement("div",{className:"text-center"},o().createElement("h1",{className:"h4"},"Next, let's find your school"),o().createElement("p",null,"au"===(null==(r=null===(e=t.geoLocation)||void 0===e?void 0:e.countryCode)?void 0:r.toLowerCase())?"Enter your school postcode or suburb":"Enter your school postcode or city")),o().createElement(Ot,{data:c,setDataProperty:A,clearStepGroupData:function(){A("schoolLocality",void 0),l((function(t){return Object.assign(Object.assign({},t),{longitude:undefined,latitude:undefined})})),A("city",void 0),A("province",void 0),A("country",void 0),N(),d(void 0)},disabled:S,geoLocation:t.geoLocation,labelClassName:"d-none",logUserAction:t.logUserAction,googleMapsApiKey:t.googleMapsApiKey,autoFocus:!0}),!!(c&&c.schoolLocality&&c.longitude&&c.latitude)&&o().createElement(ar,{data:c,setDataProperty:A,clearStepItemData:N,nextStep:t.nextStep,currentStepId:t.currentStepId,disabled:L,logUserAction:t.logUserAction,ajaxUrls:t.ajaxUrls}),h&&o().createElement("p",{className:"text-danger mb-2"},h),C()&&o().createElement(j.m,{className:"btn btn-dark btn-lg w-100",onClick:O,showSpinner:S||L||y,disabled:S||L||y},"Get started"))},"cant-find-school":function(t){var e,r,n,a=ae(o().useState({prospectId:t.prospectId,schoolName:t.schoolName,schoolType:t.schoolType,schoolLocality:t.schoolLocality,country:t.country,province:t.province,city:t.city,longitude:t.longitude,latitude:t.latitude}),2),i=a[0],c=a[1],l=ae(o().useState(),2),u=l[0],s=l[1],f=ae(o().useState(!1),2),p=f[0],h=f[1],d=(r=i.country||(null===(e=t.geoLocation)||void 0===e?void 0:e.countryCode),n=L.getCountryCode(r),re[n]||ee);function m(){var t=i.schoolName,e=i.schoolType,r=i.country;return!!(t&&e&&r)}function y(t,e){c((function(r){return Object.assign(Object.assign({},r),function(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==ne(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==ne(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===ne(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}({},t,e))}))}return o().createElement(o().Fragment,null,o().createElement("div",{className:"text-center"},o().createElement("h1",{className:"h4"},"Tell us more about yourself"),o().createElement("p",null,"Please enter your school details.")),o().createElement("div",{className:"form-group"},o().createElement("label",{className:"d-block",htmlFor:"school-name-input"},"Name of school"),o().createElement("input",{type:"text",value:(null==i?void 0:i.schoolName)||"",onChange:function(t){y("schoolName",t.target.value)},id:"school-name-input",className:"form-control form-control-lg",autoComplete:"off",placeholder:"Enter name of school",autoFocus:!0})),o().createElement("div",{className:"form-group"},o().createElement("label",{className:"d-block",htmlFor:"school-type-select"},"Type of school"),o().createElement("select",{id:"school-type-select",className:"form-control form-control-lg ".concat(i.schoolType?"":"text-muted"),autoComplete:"off",value:i.schoolType||"none",onChange:function(t){y("schoolType",t.target.value)}},o().createElement("option",{value:"none",className:"text-muted",disabled:!0},"Select type of school"),d.map((function(t){return o().createElement("option",{value:t,key:t,className:"text-dark"},t)})))),o().createElement(Ot,{data:i,setDataProperty:y,clearStepGroupData:function(){y("schoolLocality",void 0),c((function(t){return Object.assign(Object.assign({},t),{longitude:undefined,latitude:undefined})})),y("city",void 0),y("province",void 0),y("country",void 0),s("")},disabled:!1,labelClassName:"d-block",geoLocation:t.geoLocation,logUserAction:t.logUserAction,googleMapsApiKey:t.googleMapsApiKey,autoFocus:!1}),u&&o().createElement("div",{className:"text-danger mb-3"},u),m()&&o().createElement(j.m,{className:"btn btn-dark btn-lg w-100",onClick:function(e){var r,n,o,a,c;return n=this,o=void 0,a=void 0,c=oe().mark((function n(){var o,a,c;return oe().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(e.preventDefault(),m()){n.next=3;break}return n.abrupt("return");case 3:return t.logUserAction(i,{actionType:J.UserAction.Click,workflowPhase:J.WorkflowPhase.Next,descriptor:J.SignUpDescriptors.CantFindSchool}),h(!0),n.prev=5,n.next=8,Bt.create(t.ajaxUrls,{name:i.schoolName,status:Xt.Draft,countryCode:i.country,prospectType:i.schoolType,city:i.city,postCode:i.schoolPostCode,province:i.province});case 8:if((o=n.sent).id){n.next=13;break}return h(!1),s("Error. Something went wrong."),n.abrupt("return");case 13:n.next=20;break;case 15:return n.prev=15,n.t0=n.catch(5),h(!1),s("Error. Something went wrong."),n.abrupt("return");case 20:return n.prev=20,n.next=23,Vt(t.ajaxUrls,{userType:t.userType,email:t.email,prospectId:o.id,appLink:t.pageAppLinkString,accessPolicy:Qt(i.country)});case 23:a=n.sent,t.complete({completionStep:"trial-status",email:t.email,userId:a.id,prospectId:o.id,schoolName:i.schoolName,schoolLocality:i.schoolLocality,country:i.country,schoolType:i.schoolType,city:i.city,schoolPostCode:i.schoolPostCode,latitude:i.latitude,longitude:i.longitude,province:i.province,trialStatus:g.Available,trialCreated:!0,customerId:null===(r=a.data)||void 0===r?void 0:r.customerId}),n.next=37;break;case 27:if(n.prev=27,n.t1=n.catch(20),n.t1.body){n.next=33;break}return h(!1),s("Error. Something went wrong."),n.abrupt("return");case 33:if(400!==(c=n.t1).body.status||"trial-not-available"!==c.body.type){n.next=37;break}return t.nextStep(Object.assign(Object.assign({step:"add-to-braze"},i),{prospectId:o.id,trialStatus:g.Unavailable})),n.abrupt("return");case 37:case"end":return n.stop()}}),n,null,[[5,15],[20,27]])})),new(a||(a=Promise))((function(t,e){function r(t){try{l(c.next(t))}catch(t){e(t)}}function i(t){try{l(c.throw(t))}catch(t){e(t)}}function l(e){var n;e.done?t(e.value):(n=e.value,n instanceof a?n:new a((function(t){t(n)}))).then(r,i)}l((c=c.apply(n,o||[])).next())}))},showSpinner:p,disabled:p},"Get started"))},completed:function(t){var e=Oe[t.completionStep];return o().createElement("div",{className:"d-flex justify-content-center flex-column mx-auto px-2"},o().createElement(e,Object.assign({},t)))},"add-to-braze":function(t){var e,r=B(o().useState(!1),2),n=r[0],a=r[1],i=B(o().useState({}),2),l=i[0],u=i[1];function s(e){var r=H(e.fullname),n=r.firstName,o=r.surname,a={prospect_id:null==t?void 0:t.prospectId,email:null==t?void 0:t.email,organisation_sub_type:K.getSchoolType(null==t?void 0:t.schoolType),account_name:null==t?void 0:t.schoolName,account_post_code:null==t?void 0:t.schoolPostCode,account_country:null==t?void 0:t.country,province:null==t?void 0:t.province,first_name:n,last_name:o,job_title:e.jobTitle,sync_to_crm:!0,event_topic:K.getEventTopic()};return K.removeEmptyKeys(a)}function f(){t.complete({completionStep:"added-to-braze",trialCreated:!1,trialStatus:null})}return o().useEffect((function(){t.userType===w.Learner&&t.complete({completionStep:"trial-status",trialCreated:!1,trialStatus:g.Unsupported})}),[]),o().createElement(C,{errors:l,loading:n,geoLocation:t.geoLocation,country:t.country||(null===(e=t.geoLocation)||void 0===e?void 0:e.countryCode),logUserAction:t.logUserAction,handleSubmitForm:function(e){var r,o;(function(t){var e=t.fullname,r=t.jobTitle,n=t.phone,o=H(e),a=o.firstName,i=o.surname,c={};return a&&i||(c.fullname="Please enter your full name."),(W.test(a)||W.test(i))&&(c.fullname="Please enter your full name."),e.length>$&&(c.fullname="Full name cannot exceed max length of ".concat($," characters.")),(null==r?void 0:r.length)||(c.jobTitle="Please enter your job title."),W.test(r)&&(c.jobTitle="Please enter a valid job title."),r.length>$&&(c.jobTitle="Job Title cannot exceed max length of ".concat($," characters.")),(null==n?void 0:n.length)||(c.phone="Please enter your phone number."),!W.test(n)&&V.test(n)||(c.phone="Please enter a valid phone number."),u(c),!Object.keys(c).length})(e)&&((null===(r=e.jobTitle)||void 0===r?void 0:r.toLowerCase().includes("student"))||(null===(o=e.jobTitle)||void 0===o?void 0:o.toLowerCase().includes("parent"))?f():function(e){var r,o,i,p;r=this,o=void 0,i=void 0,p=q().mark((function r(){var o,i,p,h,d,m;return q().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(!n){r.next=2;break}return r.abrupt("return");case 2:if(t.userType!==w.Learner){r.next=5;break}return u(Object.assign(Object.assign({},l),{submission:"Something went wrong! Please try again later."})),r.abrupt("return");case 5:return t.logUserAction({},{actionType:c.Vw.Click,workflowPhase:c.eu.Next,descriptor:c.Yu.AddToBraze}),a(!0),o=s(e),r.next=10,K.getClient({brazeConfig:t.brazeConfig,geoLocation:t.geoLocation,productName:t.productName,version:t.version});case 10:i=r.sent,p=H(e.fullname),h=p.firstName,d=p.surname,m={prospect_id:null==t?void 0:t.prospectId,organisation_sub_type:K.getSchoolType(null==t?void 0:t.schoolType),account_name:null==t?void 0:t.schoolName,account_address:{country_code:null==t?void 0:t.country,province:null==t?void 0:t.province},job_title:e.jobTitle,sync_to_crm:!0},m=K.removeEmptyKeys(m);try{i.setUser(K.hashedEmail(null==t?void 0:t.email)),i.setUserFirstName(h),i.setUserLastName(d),i.setUserPhone(e.phone),i.setUserEmail(null==t?void 0:t.email),i.openSession(),i.bulkSetCustomUserAttributes(m),i.logEvent({type:K.getCustomEventType(),data:o}),i.sendData((function(t){u(t?{}:Object.assign(Object.assign({},l),{submission:"Something went wrong! Please try again later."})),a(!1)}))}catch(t){u(Object.assign(Object.assign({},l),{submission:"Something went wrong! Please try again later."}))}Object.keys(l).length||f();case 16:case"end":return r.stop()}}),r)})),new(i||(i=Promise))((function(t,e){function n(t){try{c(p.next(t))}catch(t){e(t)}}function a(t){try{c(p.throw(t))}catch(t){e(t)}}function c(e){var r;e.done?t(e.value):(r=e.value,r instanceof i?r:new i((function(t){t(r)}))).then(n,a)}c((p=p.apply(r,o||[])).next())}))}(e))},removeErrorForKey:function(t){if(Object.keys(l).length&&l[t]){var e=Object.assign({},l);delete e[t],u(e)}}})},"enter-age":function(t){var e=Ce(o().useState(""),2),r=e[0],n=e[1],a=Ce(o().useState(""),2),i=a[0],c=a[1],l=Ce(o().useState(""),2),u=l[0],s=l[1],f=Ce(o().useState(null),2),p=f[0],h=f[1];var d=(new Date).getFullYear(),m="mx-2 d-inline-block text-left",y="form-control form-control-lg ".concat(p?"is-invalid":""),v="order-0",g="order-3",b=L.isCountryCodeUS(t.geoLocation.countryCode);return b&&(v="order-3",g="order-0"),o().createElement("form",{className:"text-center",onSubmit:function(e){if(e.preventDefault(),r&&i&&u?function(t,e,r){var n=new Date(Ne(t,e,r));return!isNaN(+n)}(u,i,r)?+u>d?(h("Please enter a date in the past"),0):!(+u<d-120&&(h("Please enter a realistic date of birth"),1)):(h("Please enter a valid date"),0):(h("Please enter your date of birth"),0)){var n=new Date(Ne(u,i,r)),o=d-13,a=new Date;a.setFullYear(o),n>a?t.complete({completionStep:"young-student",trialCreated:!1,trialStatus:null}):t.nextStep({step:"enter-email",userType:t.userType})}},noValidate:!0},o().createElement("h1",{className:"h4"},"Tell us a little about yourself"),o().createElement("p",null,"Please enter your date of birth"),o().createElement("div",{className:"my-4"},o().createElement("div",{className:"d-flex justify-content-center"},o().createElement("div",{className:"".concat(m," ").concat(v)},o().createElement("label",{className:"mb-0",htmlFor:"day"},"Day"),o().createElement("input",{id:"day",type:"number",className:"".concat(y," ").concat("e0Dbj"),min:"1",max:"31",placeholder:"DD",value:r,onChange:function(t){n(t.target.value),h(null)},autoFocus:!b,tabIndex:b?2:1})),o().createElement("span",{className:"h1 font-weight-normal mt-3 mb-0 order-1 ".concat(p?"text-danger":"")},"/"),o().createElement("div",{className:"".concat(m," ").concat(g)},o().createElement("label",{className:"mb-0",htmlFor:"month"},"Month"),o().createElement("input",{id:"month",type:"number",className:"".concat(y," ").concat("zLcQr"),min:"1",max:"12",placeholder:"MM",value:i,onChange:function(t){c(t.target.value),h(null)},autoFocus:b,tabIndex:b?1:2})),o().createElement("span",{className:"h1 font-weight-normal mt-3 mb-0 order-4 ".concat(p?"text-danger":"")},"/"),o().createElement("div",{className:"".concat(m," order-5")},o().createElement("label",{className:"mb-0",htmlFor:"year"},"Year"),o().createElement("input",{id:"year",type:"number",className:"".concat(y," ").concat("XiXPP"),min:d-120,max:d,placeholder:"YYYY",value:u,onChange:function(t){s(t.target.value),h(null)},tabIndex:3}))),!!p&&o().createElement("div",{className:"invalid-feedback d-block"},p)),o().createElement("button",{type:"submit",className:"btn btn-lg btn-dark w-100"},"Continue"))},"request-access":function(t){var e,r,n=(e=o().useState(null),r=2,function(t){if(Array.isArray(t))return t}(e)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,a,i,c=[],l=!0,u=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=a.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&&(i=r.return(),Object(i)!==i))return}finally{if(u)throw o}}return c}}(e,r)||function(t,e){if(t){if("string"==typeof t)return Je(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)?Je(t,e):void 0}}(e,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),a=n[0],i=n[1];return o().createElement(o().Fragment,null,o().createElement(he,{trialStatus:g.UserJoinApprovalRequired,imageUrls:t.imageUrls}),o().createElement(ue,{className:"mb-3"},o().createElement(le,null,t.schoolName,o().createElement("br",null),"already has ClickView 🎉")),o().createElement("button",{className:"btn btn-lg btn-dark w-100 mb-3",onClick:function(){var e,r,n,o,a;return r=this,n=void 0,o=void 0,a=He().mark((function r(){var n,o;return He().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,Bt.getLookups(t.ajaxUrls,t.prospectId);case 3:if(n=r.sent,o=null===(e=n.find((function(t){return t.type===We.C.MasterId})))||void 0===e?void 0:e.externalId){r.next=8;break}return i("Something went wrong."),r.abrupt("return");case 8:return r.next=10,Jt(t.ajaxUrls,{customerId:o,email:t.email});case 10:t.logUserAction({},{actionType:J.UserAction.Click,descriptor:J.SignUpDescriptors.RequestAccess}),t.complete({completionStep:"requested-access",trialCreated:!1,trialStatus:g.UserJoinApprovalRequired}),r.next=17;break;case 14:r.prev=14,r.t0=r.catch(0),i($e(r.t0));case 17:case"end":return r.stop()}}),r,null,[[0,14]])})),new(o||(o=Promise))((function(t,e){function i(t){try{l(a.next(t))}catch(t){e(t)}}function c(t){try{l(a.throw(t))}catch(t){e(t)}}function l(e){var r;e.done?t(e.value):(r=e.value,r instanceof o?r:new o((function(t){t(r)}))).then(i,c)}l((a=a.apply(r,n||[])).next())}))}},"Request access"),a&&o().createElement("p",{className:"text-danger text-center mb-2"},a),o().createElement(se,{className:"text-center"},"Need Help? ",o().createElement("a",{href:me.getSupportUrlForGeoLocation(t.geoLocation),className:"info-link",target:"_blank"},"Contact our Help Centre.")))}};function hr(t){var e=t.state,r=t.geoLocation,n=t.layoutMapping,a=t.hasPreviousStep,i=t.googleMapsApiKey,c=t.pageAppLinkString,l=t.back,u=t.nextStep,s=t.complete,f=t.logUserAction,p=t.imageUrls,h=t.ajaxUrls,d=t.brazeConfig,m=t.version,y=t.productName,v=pr[e.currentStepId],g=Object.assign(Object.assign({},e),{geoLocation:r,googleMapsApiKey:i,pageAppLinkString:c,back:l,nextStep:u,complete:s,logUserAction:f,imageUrls:p,ajaxUrls:h,brazeConfig:d,version:m,productName:y}),b=null==n?void 0:n[e.currentStepId];return b?o().createElement(b,{geoLocation:t.geoLocation,currentStep:e.currentStepId,previousStep:l,closeApp:t.close,logUserAction:f,hasPreviousStep:a,imageUrls:t.imageUrls},o().createElement(v,Object.assign({},g))):o().createElement(v,Object.assign({},g))}var dr=r(1048);const mr={buttonContainer:"izZtA",dataContainer:"OgBv5"};function yr(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 vr(t){var e={};return Object.keys(t).forEach((function(r){var n=t[r];dr.t.isObject(n)&&null!==n&&!Array.isArray(n)?Object.assign(e,vr(n)):e[r]=n})),e}function gr(t){var e=t.label,r=t.item,n=r;return Array.isArray(r)&&(n=n.join(" -> ")),"boolean"==typeof n&&(n=n?"true":"false"),o().createElement("div",{className:"pb-1"},e,": ",o().createElement("b",{className:"text-white"},n))}function br(t){var e,r,n=t.developmentEnv,a=t.objects,i=(e=o().useState(!0),r=2,function(t){if(Array.isArray(t))return t}(e)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,a,i,c=[],l=!0,u=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=a.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&&(i=r.return(),Object(i)!==i))return}finally{if(u)throw o}}return c}}(e,r)||function(t,e){if(t){if("string"==typeof t)return yr(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)?yr(t,e):void 0}}(e,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),c=i[0],l=i[1],u=o().useMemo((function(){return vr(a)}),[a]);return n&&o().createElement(o().Fragment,null,o().createElement("div",{className:"position-fixed p-4 ".concat(mr.buttonContainer)},o().createElement("button",{onClick:function(){l(!c)},className:"btn btn-dark px-2 py-1"},c?"Hide":"Show"," debugger")),c&&o().createElement("div",{className:"fixed-bottom mb-4 ml-4 bg-dark rounded ".concat(mr.dataContainer)},o().createElement("code",{className:"d-block p-4"},o().createElement("div",{className:"font-weight-bold pb-2"},"{ Debug: Form Data }"),Object.keys(u).map((function(t){return o().createElement(gr,{key:t,label:t,item:u[t]})})))))}var wr=r(83529);const Sr={crumb:"Btmx2"};function Er(t,e){var r="rounded-circle mx-2 d-inline-block "+Sr.crumb,n=t===e?"bg-info":"bg-light";return"".concat(r," ").concat(n)}function xr(t){return o().createElement("div",{className:"text-center"},t.crumbs.map((function(e){return o().createElement("div",{className:Er(t.currentStep,e),key:e})})))}var Lr=r(98461);function jr(t){var e=me.getTermsAndConditionsLink(),r=me.getPrivacyPolicyLink();return o().createElement("span",{className:"text-center text-md mt-2 text-normal small"},"By signing up you agree to the",o().createElement("br",null),o().createElement(Lr.d,{href:e,onClick:t.onClickTermsAndConditions,className:"info-link",newTab:!0},"Terms and Conditions"),"  and  ",o().createElement(Lr.d,{href:r,onClick:t.onClickPrivacyPolicy,className:"info-link",newTab:!0},"Privacy Policy"))}var kr=r(83914),Or=r(58130);function Cr(t){return o().createElement("button",{onClick:t.onClick,className:"btn p-0 cursor-pointer d-inline-flex align-items-center"},o().createElement(kr.x,{svgName:Or.vn.ChevronLeft,size:kr.S.Medium}),t.children)}var Ar=r(2786);Pr.defaultProps={showBackButton:!0};var Nr=["select-type","enter-email","find-school"];function Pr(t){var e=t.currentStep,r=t.previousStep,n=t.hasPreviousStep,a=t.showBackButton,i=t.children;return o().createElement("div",{className:"d-flex flex-column justify-content-between px-4 py-0 ".concat("jZ_Wp")},o().createElement("div",{className:"mt-3 mb-2"},Nr.includes(e)&&o().createElement(xr,{crumbs:Nr,currentStep:e})),o().createElement("div",{className:"position-relative mx-auto w-100 ".concat("select-type"===e?"Ye154":["enter-email","find-school","cant-find-school","add-to-braze","enter-age"].includes(e)?"m2kAT":"ollkc")},o().createElement("div",{className:"d-flex flex-row justify-content-center align-items-center mt-2 mb-3"},n&&a&&["enter-email","find-school","cant-find-school","add-to-braze","enter-age","request-access"].includes(e)&&o().createElement(Cr,{onClick:function(){r(),t.logUserAction({step:e},{actionType:J.UserAction.Click,descriptor:J.SignUpDescriptors.Back,workflowPhase:J.WorkflowPhase.Back})}}),o().createElement("div",{className:"d-flex justify-content-center align-items-center px-2 ".concat("J97w_")},o().createElement(Ar.$S,null))),i),o().createElement("div",{className:"position-relative mb-4 mt-3 text-center"},"select-type"===e&&o().createElement(Pe,{link:me.getLoginLink(),onClick:function(){t.logUserAction({},{actionType:J.UserAction.Click,descriptor:J.SignUpDescriptors.SignIn})}}),["enter-email","find-school","add-to-braze"].includes(e)&&o().createElement(jr,{onClickTermsAndConditions:function(){t.logUserAction({},{actionType:J.UserAction.Click,descriptor:J.SignUpDescriptors.TermsAndConditions})},onClickPrivacyPolicy:function(){t.logUserAction({},{actionType:J.UserAction.Click,descriptor:J.SignUpDescriptors.PrivacyPolicy})}})))}var Ur=r(28366);Fr.defaultProps={showBackButton:!0};var Ir,Tr=["enter-email","find-school"],_r=["enter-email","find-school","cant-find-school","add-to-braze","enter-age","request-access"];function Fr(t){var e=t.currentStep,r=t.previousStep,n=t.hasPreviousStep,a=t.showBackButton,i=t.closeApp,c=t.children;function l(){return["enter-email","find-school","cant-find-school","add-to-braze","enter-age"].includes(e)}function u(){r(),t.logUserAction({},{actionType:J.UserAction.Click,descriptor:J.SignUpDescriptors.Back,workflowPhase:J.WorkflowPhase.Back})}var s=_r.includes(t.currentStep),f=s?"".concat(Ur.Z.leftHalfLayout," ").concat(Ur.Z.withBg):Ur.Z.leftHalfLayout;return o().createElement("div",{className:f},o().createElement("div",{className:"row mx-0 p-3"},o().createElement("div",{className:"col px-0 d-lg-none ".concat(Ur.Z.popupButton)},n&&l()&&a&&o().createElement(Cr,{onClick:u})),o().createElement("div",{className:"col col-lg-6 px-0"},o().createElement("div",{className:Ur.Z.logo},o().createElement("div",{className:"d-none d-lg-block"},s?o().createElement(Ar.Yo,null):o().createElement(Ar.$S,null)),o().createElement("div",{className:"d-block d-lg-none mt-1"},o().createElement(Ar.$S,null),Tr.includes(t.currentStep)&&o().createElement("div",{className:"mt-3"},o().createElement(xr,{crumbs:Tr,currentStep:e}))))),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 ".concat(Ur.Z.popupButton)},n&&l()&&a&&o().createElement(Cr,{onClick:u}))),Tr.includes(t.currentStep)&&o().createElement("div",{className:"d-none d-lg-block align-self-center"},o().createElement(xr,{crumbs:Tr,currentStep:e})),o().createElement(St.L,{onClick:i,className:Ur.Z.popupButton},o().createElement(kr.x,{svgName:Or.vn.Close,size:kr.S.Medium})))),o().createElement("div",{className:"row mx-0 flex-grow-1"},s&&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:t.imageUrls.popupDashboard,className:"w-100 p-4 pb-5"}))),o().createElement("div",{className:"px-4 pt-0 pb-4 ".concat(s?"col-12 col-lg-6":"col-12")},o().createElement("div",{className:"d-flex flex-column h-100"},o().createElement("div",{className:"flex-grow-1"},c),o().createElement("div",{className:"text-center mt-3"},"select-type"===e&&o().createElement(Pe,{link:me.getLoginLink(),onClick:function(){t.logUserAction({},{actionType:J.UserAction.Click,descriptor:J.SignUpDescriptors.SignIn})}}),["enter-email","add-to-braze"].includes(e)&&o().createElement(jr,{onClickTermsAndConditions:function(){t.logUserAction({},{actionType:J.UserAction.Click,descriptor:J.SignUpDescriptors.TermsAndConditions})},onClickPrivacyPolicy:function(){t.logUserAction({},{actionType:J.UserAction.Click,descriptor:J.SignUpDescriptors.PrivacyPolicy})}}))))))}function Gr(t){return Gr="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},Gr(t)}function Dr(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Gr(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==Gr(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===Gr(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Rr={"cant-find-school":Fr,"enter-email":Fr,"find-school":Fr,"select-type":Fr,completed:Fr,"add-to-braze":Fr,"enter-age":Fr,"request-access":Fr},Mr={"cant-find-school":Pr,"enter-email":Pr,"find-school":Pr,"select-type":Pr,completed:Pr,"add-to-braze":Pr,"enter-age":Pr,"request-access":Pr},Kr=(Dr(Ir={},wr.c.FullPage,Mr),Dr(Ir,wr.c.Popup,Rr),Ir),zr={getLayouts:function(t){return Kr[t]}},qr=r(17331);function Br(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 Yr(t){return Yr="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},Yr(t)}function $r(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,a,i,c=[],l=!0,u=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=a.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&&(i=r.return(),Object(i)!==i))return}finally{if(u)throw o}}return c}}(t,e)||Wr(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 Wr(t,e){if(t){if("string"==typeof t)return Vr(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)?Vr(t,e):void 0}}function Vr(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 Hr(t,e){var r,n,o=Object.assign(Object.assign({},t),{previousStepIds:[].concat((n=t.previousStepIds,function(t){if(Array.isArray(t))return Vr(t)}(n)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(n)||Wr(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),[t.currentStepId]),currentStepId:e.step});if("select-type"===e.step)return Object.assign({},o);if("enter-email"===e.step||"enter-age"===e.step)return Object.assign(Object.assign({},o),{userType:e.userType});if("find-school"===e.step)return Object.assign(Object.assign({},o),{email:e.email});if("cant-find-school"===e.step)return Object.assign(Object.assign({},o),{prospectId:e.prospectId,schoolName:e.schoolName,schoolLocality:e.schoolLocality,country:e.country,longitude:e.longitude,latitude:e.latitude,city:e.city,province:e.province});if("add-to-braze"===e.step||"completed"===e.step||"request-access"===e.step){var a=Object.assign({},e);return delete a.type,delete a.step,r=a,a=Object.entries(r).filter((function(t){return null!==$r(t,2)[1]})).reduce((function(t,e){var r=$r(e,2),n=r[0],o=r[1];return Object.assign(Object.assign({},t),function(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Yr(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==Yr(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===Yr(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}({},n,o))}),{}),Object.assign(Object.assign({},o),a)}}function Jr(t,e){switch(e.type){case"nextStep":return Hr(t,e);case"back":return function(t){var e,r=function(t){if(Array.isArray(t))return Br(t)}(e=t.previousStepIds)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(e)||function(t,e){if(t){if("string"==typeof t)return Br(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)?Br(t,e):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),n=r.pop();return Object.assign(Object.assign({},t),{previousStepIds:r,currentStepId:n})}(t)}}function Zr(t){return Zr="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},Zr(t)}function Xr(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,a,i,c=[],l=!0,u=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=a.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&&(i=r.return(),Object(i)!==i))return}finally{if(u)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Qr(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)?Qr(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 Qr(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 tn=function(t){var e=t.location,r=t.initialValues,n=t.onStepUpdate,a=t.externalLogUserAction,i=K.removeEmptyKeys(r),l=Object.assign({currentStepId:"select-type",previousStepIds:[]},i),u=Xr(o().useReducer(Jr,l),2),s=u[0],f=u[1];return o().useEffect((function(){null==n||n(s)}),[s.currentStepId]),{state:s,back:function(){f({type:"back"})},nextStep:function(t){f(Object.assign({type:"nextStep"},t))},complete:function(t){f(Object.assign({type:"nextStep",step:"completed"},t))},hasPreviousStep:!!s.previousStepIds.length,logUserAction:function(t,r){var n=Object.assign(Object.assign({},s),t),o=qr.i.filterBlacklistedKeys(n),i=Object.assign({currentStepId:s.currentStepId},o),l=Object.entries(i).filter((function(t){return void 0!==Xr(t,2)[1]})).reduce((function(t,e){var r=Xr(e,2),n=r[0],o=r[1];return Object.assign(Object.assign({},t),function(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Zr(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==Zr(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===Zr(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}({},n,o))}),{});a(l,Object.assign({entity:c.py.SignUp,location:e},r))}}};function en(t){var e=zr.getLayouts(t.type),r=t.location,n=t.initialValues,c=t.geoLocation,l=t.googleMapsApiKey,u=t.pageAppLinkString,s=t.onStepUpdate,f=t.imageUrls,p=t.ajaxUrls,h=t.brazeConfig,d=t.version,m=t.productName,y=t.close,v=tn({location:r,initialValues:n,onStepUpdate:s,externalLogUserAction:i.k.logUserAction}),g=v.back,b=v.nextStep,w=v.complete,S=v.hasPreviousStep,E=v.state,x=v.logUserAction,L={state:E,geoLocation:c,layoutMapping:e,hasPreviousStep:S,googleMapsApiKey:l,pageAppLinkString:u,back:g,close:y,nextStep:b,complete:w,logUserAction:x,imageUrls:f,ajaxUrls:p,brazeConfig:h,version:d,productName:m};return o().useEffect((function(){a.SG.get(ke)&&w({completionStep:"young-student",trialCreated:!1,trialStatus:null})}),[]),o().createElement(o().Fragment,null,o().createElement(hr,Object.assign({},L)),o().createElement(br,{developmentEnv:!1,objects:Object.assign(Object.assign(Object.assign({},E),{pageAppLinkString:u}),c)}))}},83529:(t,e,r)=>{var n;r.d(e,{c:()=>n}),function(t){t.Popup="popup-form",t.FullPage="full-page-form"}(n||(n={}))},12238:(t,e,r)=>{var n;r.d(e,{C:()=>n}),function(t){t.MasterId="master_id",t.CrmId="crm_id",t.SalesforceId="salesforce_id"}(n||(n={}))},84789:(t,e,r)=>{var n;r.d(e,{X:()=>n}),function(t){t.Lite="lite",t.Auth="auth"}(n||(n={}))},17331:(t,e,r)=>{r.d(e,{i:()=>o});var n=["email","longitude","latitude","trialCreated"],o={filterBlacklistedKeys:function(t){var e=Object.assign({},t);return n.forEach((function(t){return delete e[t]})),e}}},48456:(t,e,r)=>{r.d(e,{v:()=>o});var n=r(99742),o={popupDashboard:n.W.SignUp.POPUP_DASHBOARD,educator:n.W.SignUp.EDUCATOR,student:n.W.SignUp.STUDENT,statusImages:{available:n.W.SignUp.VERIFY_ACCOUNT,active:n.W.SignUp.EXISTING_CUSTOMER,expired:n.W.SignUp.EXPIRED_TRIAL,notRequired:n.W.SignUp.EXISTING_CUSTOMER,unavailable:n.W.SignUp.NOT_AVAILABLE,unsupported:n.W.SignUp.NOT_AVAILABLE,autoJoin:n.W.SignUp.EXISTING_CUSTOMER,requestAccess:n.W.SignUp.EXISTING_CUSTOMER}}},17762:(t,e,r)=>{r.d(e,{M:()=>i});var n=r(20354),o=r(39151),a={countryCode:"us",isFallback:!0};function i(){var t=n.a.useBasicFetch(o.L.geoLocation());return t.hasCompleted&&!t.data?a:t.data}},63643:(t,e,r)=>{r.d(e,{c:()=>c});var n=r(97395),o=r(20354),a=r(84789),i=r(39151);function c(){var t=o.a.useBasicFetch(i.L.config());if(!t.hasCompleted)return null;var e=t.data.gatewayApiUrl;return{productName:a.X.Lite,userStatus:n._.safeUrlConcat(e,"/v1/users/trial-status"),prospectStatus:function(t){return n._.safeUrlConcat(e,"/v1/prospects/".concat(t,"/trial-status"))},createTrial:"/api/user/trials",resendTrialEmail:function(t){return"/api/user/trials/users/".concat(t,"/send-activation-email")},searchProspect:n._.safeUrlConcat(e,"/v1/search/prospects"),createProspect:"/api/prospects",prospectLookups:function(t){return n._.safeUrlConcat(e,"/v1/prospects/".concat(t,"/lookups"))},autoJoin:"/api/user/trials/auto-join",joinRequest:function(t){return"/api/user/customers/".concat(t,"/join-requests")}}}},28366:(t,e,r)=>{r.d(e,{Z:()=>n});const n={logo:"Kh4Dd",modalBody:"V9nIN",popupButton:"hS60U",leftHalfLayout:"aQ1K8",withBg:"zALxE"}}}]);
@@ -0,0 +1 @@
1
+ /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_clickview_lite=self.webpackChunk_clickview_lite||[]).push([[9674],{17808:(e,t,n)=>{n.d(t,{Q:()=>s});var r=n(1024),o=n.n(r),l=n(20455),a=n(95339),i=n(67445);function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function s(e){var t,n,r=(t=o().useState(null),n=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,l,a,i=[],c=!0,s=!1;try{if(l=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=l.call(n)).done)&&(i.push(r.value),i.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw o}}return i}}(t,n)||function(e,t){if(e){if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(e,t):void 0}}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),s=r[0],u=r[1],d=(0,l.Dy)((0,l.VT)(l.we,{activationConstraint:{distance:10}}),(0,l.VT)(l.Lg,{coordinateGetter:i.is}));return e.disabled?o().createElement(o().Fragment,null,e.children):o().createElement(l.LB,{sensors:d,collisionDetection:l.pE,onDragStart:function(t){var n;u(t.active.id),null===(n=e.onSortStart)||void 0===n||n.call(e,t)},onDragEnd:function(t){u(null),e.onSortEnd(t)},modifiers:e.vertical?[a.DL]:[]},o().createElement(i.Fo,{items:e.ids,strategy:e.vertical?i.qw:i.U2},e.children),o().createElement(l.y9,{dropAnimation:e.dropAnimation},s?e.getDragOverlay(s):null))}s.defaultProps={dropAnimation:{duration:250,easing:"ease"},vertical:!0}},1287:(e,t,n)=>{n.d(t,{W:()=>i});var r=n(1024),o=n.n(r),l=n(67445),a=n(17592);function i(e){var t=(0,l.nB)({id:e.id}),n=t.setNodeRef,r=t.transform,i=t.transition,c=t.isSorting,s=t.listeners,u=t.attributes,d=t.activeIndex,m=t.overIndex,f=t.index,v={transform:a.ux.Transform.toString(r),transition:i,touchAction:"none",position:"relative"};c&&f===d&&(v.visibility="hidden");var g=e.childComponent,b=function(e,t,n){return t!==e?null:n>t?"down":n<t?"up":null}(f,d,m);return o().createElement(g,Object.assign({},e.childProps,{ref:n,style:v,dragListeners:s,dragAttributes:u,dragDirection:b}))}},69674:(e,t,n)=>{n.d(t,{i:()=>R});var r=n(1024),o=n.n(r),l=n(54976),a=n.n(l),i=n(35509),c=n(36848),s=n(17808),u=n(1287),d=n(83914),m=n(16930),f={opacity:"0.8",cursor:"grabbing"},v=n(58130),g=n(79014);function b(e){return function(e){if(Array.isArray(e))return p(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||h(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function h(e,t){if(e){if("string"==typeof e)return p(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?p(e,t):void 0}}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function y(e){var t,n,r,o;return{canScrollLeft:(null===(t=e.current)||void 0===t?void 0:t.scrollLeft)>0,canScrollRight:(null===(n=e.current)||void 0===n?void 0:n.scrollLeft)<(null===(r=e.current)||void 0===r?void 0:r.scrollWidth)-(null===(o=e.current)||void 0===o?void 0:o.clientWidth)}}const S={sortIndicator:"gFhu0",scrollContainer:"sWUp9",scrollbarTrack:"Vn2qM"};function w(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var E=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};function A(e){var t,n;return e.column.canSort?o().createElement("span",{className:"".concat(S.sortIndicator,"\n ").concat(e.column.isSorted?"":"text-muted","\n ").concat(null!==(n=null===(t=e.theme)||void 0===t?void 0:t.sortIndicator)&&void 0!==n?n:"")},o().createElement(d.x,{svgName:e.column.isSortedDesc||!e.column.isSorted?v.vn.ArrowRight:v.vn.ArrowLeft,size:d.S.Small})):o().createElement(o().Fragment,null)}function C(e){var t,n,r,l,a,d,m,v,g={columns:e.columns,data:e.data,disableSortBy:!e.enableSort,manualSortBy:e.manualSort,autoResetHiddenColumns:e.autoResetHiddenColumns,autoResetSortBy:e.autoResetSortBy};e.initialSelectedRowIds&&(g.initialState={selectedRowIds:(m=e.initialSelectedRowIds,v={},m.forEach((function(e){return v[e]=!0})),v)}),e.getRowId&&(g.getRowId=e.getRowId);var h,p=i.useTable.apply(void 0,[g].concat((h=function(e){var t=[i.useSortBy,i.useRowSelect,"flex"===e.layout?i.useFlexLayout:i.useBlockLayout];return e.allowFiltering&&(t=[].concat(b(t),[i.useFilters])),e.allowGlobalFiltering&&(t=[].concat(b(t),[i.useGlobalFilter])),t}(Object.assign({},e)),function(e){if(Array.isArray(e))return w(e)}(h)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(h)||function(e,t){if(e){if("string"==typeof e)return w(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?w(e,t):void 0}}(h)||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.")}()))),y=p.getTableProps,S=p.getTableBodyProps,E=p.headerGroups,C=p.rows,R=p.prepareRow,O=p.toggleAllRowsSelected,j=p.setGlobalFilter,I=p.setHiddenColumns,k=p.state.sortBy;function N(){return C.map((function(t){R(t);var n=function(t){var n,r,o,l,a=null!==(r=null===(n=e.theme)||void 0===n?void 0:n.row)&&void 0!==r?r:"";return t.isSelected&&(null===(o=e.theme)||void 0===o?void 0:o.selectedRow)&&(a+=" ".concat(null===(l=e.theme)||void 0===l?void 0:l.selectedRow)),e.onSelectRow&&(a+=" cursor-pointer"),e.enableSortableRows&&(a+=" cursor-grab"),a}(t),r=!!e.getRowAppLink&&e.getRowAppLink(t);function l(){e.onSelectRow&&(e.allowSelectMultipleRows||O(!1),e.onSelectRow(t),t.toggleRowSelected(!0))}function a(e,a){var i=function(e,t){return"dragAttributes"in e&&"dragListeners"in e?Object.assign(Object.assign(Object.assign({},e.dragAttributes),e.dragListeners),{"aria-roledescription":"Sortable row",ref:t}):{}}(e,a);return r?o().createElement("div",{role:"row",key:t.id},o().createElement(c.F,Object.assign({},e,i,{className:n,appLink:r}),x(t))):o().createElement("div",Object.assign({},e,i,{key:t.id,role:"row",className:n,onClick:l}),x(t))}var i=t.getRowProps();return e.enableSortableRows?o().createElement(u.W,{id:t.original.id,key:t.id,childProps:i,childComponent:o().forwardRef((function(e,t){return a(e,t)}))}):a(i)}))}function x(t){return t.cells.map((function(n){var r=function(t,n){var r,o,l="";return"function"==typeof(null===(r=e.theme)||void 0===r?void 0:r.cell)&&(l=e.theme.cell(t,n)),"string"==typeof(null===(o=e.theme)||void 0===o?void 0:o.cell)&&(l=e.theme.cell),e.onSelectCell&&(l+=" cursor-pointer"),l}(t,n);return o().createElement("div",Object.assign({key:n.column.id},n.getCellProps(),{className:r,onClick:function(){e.onSelectCell&&e.onSelectCell(n)}}),n.render("Cell"))}))}return o().useEffect((function(){e.onSort&&e.onSort(k)}),[k]),o().useEffect((function(){e.globalFilter&&j(e.globalFilter)}),[e.globalFilter]),o().useEffect((function(){e.hiddenColumns&&I(e.hiddenColumns)}),[e.hiddenColumns&&e.hiddenColumns.length]),o().createElement("div",Object.assign({},y(),{className:null!==(n=null===(t=e.theme)||void 0===t?void 0:t.table)&&void 0!==n?n:""}),o().createElement("div",{className:null!==(l=null===(r=e.theme)||void 0===r?void 0:r.header)&&void 0!==l?l:""},E.map((function(t){var n,r;return o().createElement("div",Object.assign({},t.getHeaderGroupProps(),{className:null!==(r=null===(n=e.theme)||void 0===n?void 0:n.headerRow)&&void 0!==r?r:""}),t.headers.map((function(t){var n,r;return o().createElement("div",Object.assign({},t.getHeaderProps(t.getSortByToggleProps()),{className:null!==(r=null===(n=e.theme)||void 0===n?void 0:n.headerCell)&&void 0!==r?r:""}),t.render("Header",{renderSortIndicator:function(){return o().createElement(A,{column:t,theme:e.theme})}}),!t.hideSortIndicator&&o().createElement(A,{column:t,theme:e.theme}))})))}))),o().createElement("div",Object.assign({},S(),{className:null!==(d=null===(a=e.theme)||void 0===a?void 0:a.body)&&void 0!==d?d:""}),e.enableSortableRows?o().createElement(s.Q,{ids:C.map((function(e){return e.original.id})),getDragOverlay:function(t){var n,r,l=C.findIndex((function(e){return e.original.id===t})),a=C[l];return o().createElement("div",Object.assign({},e,{className:(n=e.theme,r="no-gutters ",n&&(r+=n.row),r),style:f}),x(a))},onSortEnd:e.onSortingRowsEnd},N()):N()))}function R(e){var t=e.enableSlider,n=e.scrollIncrement,r=e.scrollable,l=E(e,["enableSlider","scrollIncrement","scrollable"]),i=function(){var e,t,n=o().useRef(),r=(e=o().useState(y(n)),t=2,function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,l,a,i=[],c=!0,s=!1;try{if(l=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=l.call(n)).done)&&(i.push(r.value),i.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw o}}return i}}(e,t)||h(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),l=r[0],a=r[1],i=g.q.throttle((function(){a(y(n))}),200),c=o().useCallback((function(e){var t;n.current&&(null===(t=n.current)||void 0===t||t.removeEventListener("scroll",i)),e&&(a(y(n)),e.addEventListener("scroll",i)),n.current=e}),[]);return o().useEffect((function(){(null==n?void 0:n.current)&&a(y(n))}),[n]),{ref:c,scrollState:l,scroll:function(e){var t;null===(t=n.current)||void 0===t||t.scrollBy({left:e,top:0,behavior:"smooth"})}}}(),c=i.ref,s=i.scrollState,u=i.scroll;if(r)return o().createElement(a(),{renderTrackHorizontal:function(){return o().createElement("div",{className:S.scrollbarTrack})},autoHeightMax:1e4,autoHeight:!0},o().createElement(C,Object.assign({},l)));if(!t)return o().createElement(C,Object.assign({},l));function d(e){u(n*("right"===e?1:-1))}return o().createElement("div",{className:"mx-n3 overflow-hidden-x"},o().createElement("div",{className:"px-3"},o().createElement("div",{className:"position-relative"},o().createElement(m.W,{direction:m.f.Left,onClick:function(){return d("left")},hide:!s.canScrollLeft}),o().createElement("div",{className:S.scrollContainer,ref:c},o().createElement(C,Object.assign({},l))),o().createElement(m.W,{direction:m.f.Right,onClick:function(){return d("right")},hide:!s.canScrollRight}))))}R.defaultProps={scrollIncrement:250,scrollable:!1,layout:"flex"}},16930:(e,t,n)=>{n.d(t,{W:()=>s,f:()=>c});var r=n(1024),o=n(83914),l=n(58130);const a="VSAPU",i="kgeXh";var c;!function(e){e[e.Left=0]="Left",e[e.Right=1]="Right"}(c||(c={}));var s=r.memo((function(e){var t,n,s,u=e.direction===c.Left,d=u?l.vn.ChevronLeft:l.vn.ChevronRight;return e.hide?r.createElement(r.Fragment,null):r.createElement("div",{className:"_ejId",style:"videos"===(null===(n=e.state)||void 0===n?void 0:n.contents)?{paddingBottom:56.25/(null===(s=e.state)||void 0===s?void 0:s.viewableItems)+"%"}:{height:"100%"}},e.useGradientBackdrop&&r.createElement("div",{className:u?"".concat("Pt3nx"," ").concat(e.leftGradientClassName):"".concat("ZuAif"," ").concat(e.rightGradientClassName)}),!e.hideExtendedClickableArea&&r.createElement("div",{role:"button",onClick:e.onClick,className:"".concat("AtsWP"," ").concat(u?a:i)}),r.createElement("div",{role:"button",className:"".concat((t="BVcIS",t+=u?" ".concat(a," ").concat(e.leftButtonClassName):" ".concat(i," ").concat(e.rightButtonClassName))," ").concat("gAsE9"," ").concat(e.className||""),onClick:e.onClick},e.hoverText&&r.createElement("span",{className:"pl-3 pr-2 ".concat("APA36")},e.hoverText),r.createElement(o.x,{svgName:d,size:o.S.Medium,className:"svg-container d-inline-block ".concat("Ev4hr")})))}))}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_clickview_lite=self.webpackChunk_clickview_lite||[]).push([[9714],{38365:(e,t,n)=>{n.d(t,{n:()=>w,W:()=>C});var a=n(1024),r=n(99910),i=n(92802),o=n(79014),l=n(1048),c=n(36848),s=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]])}return n};function u(e){var t=e.label,n=e.checkboxLabelClassName,i=e.checkboxLabelFontWeight,o=e.className,l=s(e,["label","checkboxLabelClassName","checkboxLabelFontWeight","className"]);return a.createElement(r.Form.Group,null,a.createElement("div",{className:"custom-control custom-checkbox ".concat(o)},a.createElement(w,Object.assign({className:"custom-control-input"},l)),a.createElement(r.Form.Label,{className:"custom-control-label cursor-pointer ".concat("normal"===i?"font-weight-normal":""," \n ").concat(n),htmlFor:l.id},t),e.checkboxAppLink&&e.checkboxAppLinkText&&a.createElement(a.Fragment,null,a.createElement("span",null," "),a.createElement(c.F,{appLink:e.checkboxAppLink,className:"info-link"},e.checkboxAppLinkText))))}var m=n(83914),d=n(83345),p=n(73814),f=n(58130);function v(e){var t=(0,i.u6)().values[e.fieldName];return"string"!=typeof t?a.createElement(a.Fragment,null):a.createElement("div",{className:"float-right text-muted font-weight-normal"},t.length,"/",e.limit," characters")}const b={revealPassword:"jCfI0",passwordInput:"RBJnf",passwordContainer:"d78lK",passwordContainerDisabled:"asbVo",infoTooltip:"wzyOG"};function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var y=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]])}return n},g="shared.formField";function w(e){var t,n,r=e.children,c=y(e,["children"]),s=(t=a.useState(e.type),n=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,r,i,o,l=[],c=!0,s=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(a=i.call(n)).done)&&(l.push(a.value),l.length!==t);c=!0);}catch(e){s=!0,r=e}finally{try{if(!c&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(s)throw r}}return l}}(t,n)||function(e,t){if(e){if("string"==typeof e)return h(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?h(e,t):void 0}}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),u=s[0],d=s[1],p=o.q.isFunction(r)?function(e){return r(e)}:a.Children.count(r)?r:null;if("password"!==c.type)return a.createElement(i.gN,Object.assign({},l.t.omit(c,["formSize"])),p);var v="position-relative ".concat(b.passwordContainer);return c.className&&(v+=" ".concat(c.className)),c.disabled&&(v+=" ".concat(b.passwordContainerDisabled)),a.createElement("div",{className:v},a.createElement(i.gN,Object.assign({},l.t.omit(c,["formSize","type","className"]),{type:u,className:"".concat(b.passwordInput," border-0 w-100 h-100 outline-none rounded")}),p),"password"===c.type&&a.createElement(m.x,{svgName:"password"===u?f.vn.VisibleOn:f.vn.VisibleOff,className:"svg-container cursor-pointer ".concat(b.revealPassword),onClick:function(){d("password"===u?"text":"password")}}))}function C(e){var t=e.label,n=e.className,o=e.showCharacterCounter,c=e.showRequiredStar,s=e.infoTooltip,h=e.infoTooltipPlacement,C=e.infoText,O=e.formSize,E=e.showOptionalLabel,S=y(e,["label","className","showCharacterCounter","showRequiredStar","infoTooltip","infoTooltipPlacement","infoText","formSize","showOptionalLabel"]),N=(0,i.u6)(),x=N.errors,j=N.touched,k=function(){};if("checkbox"===S.type){var P=l.t.omit(e,["formSize","infoTooltipPlacement"]);return e.disabled&&(P.onChange=k),a.createElement(u,Object.assign({},P))}var T=Object.assign(Object.assign({},S),{className:p.w.getCustomFormControlClassName(x,j,S.name,O,n)});return e.disabled&&(T.onChange=k),a.createElement(r.Form.Group,null,!!t&&a.createElement(r.Form.Label,{htmlFor:S.id,className:"d-flex align-items-center"},t,c&&a.createElement("span",{className:"text-danger"},"*"),s&&a.createElement(m.x,{className:"svg-container text-muted ".concat(b.infoTooltip),svgName:f.vn.Info,title:s,tooltipPlacement:h,tooltipSpanHack:!0}),E&&a.createElement("span",{className:"text-muted"}," ",a.createElement(d.x,{namespace:g,phrase:"optional"})),!!o&&!!S.maxLength&&a.createElement("div",{className:"ml-auto"},a.createElement(v,{fieldName:S.name,limit:S.maxLength}))),a.createElement(w,Object.assign({},T)),!!C&&a.createElement(r.Form.Text,{className:"text-muted"},C),a.createElement(i.Bc,{name:S.name},(function(e){return a.createElement(r.Form.Control.Feedback,{type:"invalid"},e)})))}w.defaultProps={autoComplete:"off"},C.defaultProps={autoComplete:"off",infoTooltipPlacement:"top"}},82644:(e,t,n)=>{n.d(t,{b:()=>u,n:()=>s});var a=n(1024),r=n(92802),i=n(79014),o=n(1048);function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var c=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]])}return n};function s(e){var t=e.castInitialValues,n=e.castValuesOnSubmit,s=e.initialValues,u=e.onSubmit,m=c(e,["castInitialValues","castValuesOnSubmit","initialValues","onSubmit"]),d=t&&e.validationSchema?e.validationSchema.cast(function(e){if(!e)return{};var t=o.t.deepClone(e);return function e(n){Object.keys(t).forEach((function(a){t.hasOwnProperty(a)&&(o.t.isObject(n[a])?e(n[a]):null===t[a]&&delete t[a])}))}(t),t}(s)):s,p={allowInitialSubmit:e.allowInitialSubmit};return a.createElement(r.J9,Object.assign({enableReinitialize:!0},m,{initialValues:d,onSubmit:function(t,a){var r=a.setSubmitting,i=a.resetForm,o=a.setFieldError,c=n&&e.validationSchema?e.validationSchema.cast(t):t;u(c,(function(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(n.reset&&i(),n.errors)for(var a=0,c=Object.entries(n.errors);a<c.length;a++){var s=(e=c[a],t=2,function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,r,i,o,l=[],c=!0,s=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(a=i.call(n)).done)&&(l.push(a.value),l.length!==t);c=!0);}catch(e){s=!0,r=e}finally{try{if(!c&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(s)throw r}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?l(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),u=s[0],m=s[1];o(u,m)}r(!1)}))},initialStatus:p}),i.q.isFunction(e.children)?function(t){return e.children(t)}:a.Children.count(e.children)?e.children:null)}function u(){return(0,r.u6)()}s.defaultProps={castInitialValues:!0,castValuesOnSubmit:!0}},73814:(e,t,n)=>{n.d(t,{w:()=>r});var a=n(92802),r={getCustomFormControlClassName:function(e,t,n,r,i){var o="form-control";return"sm"===r&&(o+=" form-control-sm"),"lg"===r&&(o+=" form-control-lg"),(0,a.u9)(t,n)&&(0,a.u9)(e,n)&&(o+=" is-invalid"),i&&(o+=" ".concat(i)),o}}},12174:(e,t,n)=>{n.r(t),n.d(t,{EditClipDetailsView:()=>I});var a=n(1024),r=n(58566),i=n(23481),o=n(81886),l=n(20354),c=n(28400),s=n(49985),u=n(74254),m=n(92802),d=n(5173),p=n(38365),f=n(82644),v=n(13876),b=n(58564),h=n(54610),y=n(4594),g=n(68626),w=i.T.encloseNamespace("shared.editClipDetails"),C=d.Ry().shape({name:d.Z_().trim().max(255,(function(){return w("titleTooLong")})).required((function(){return w("titleRequired")})).default(""),description:d.Z_().trim().max(16e3,(function(){return w("descriptionTooLong")})).default(""),startTime:d.Rx().required(),endTime:d.Rx().required()}).noUnknown();function O(e){var t=(0,f.b)();return a.createElement(m.l0,null,a.createElement("div",{className:"row form-group"},a.createElement("div",{className:"col-5"},a.createElement(b.u,{video:Object.assign({_parentVideo:e.video,typeId:y.E.Clip},t.values),type:"cosmetic",imageOptions:{size:h.h2.Small},textPosition:g.z.Independent,preload:!0})),a.createElement("div",{className:"col-7"},a.createElement("h2",{className:"h6"},t.values.name))),a.createElement(p.W,{label:w("nameLabel"),type:"text",name:"name",id:"name",placeholder:w("namePlaceholder"),autoFocus:!0,value:t.values.name}),a.createElement(p.W,{label:w("descriptionLabel"),component:"textarea",name:"description",id:"description",placeholder:w("descriptionPlaceholder"),value:t.values.description}),a.createElement(v.u,null,a.createElement(v.u.Cancel,{onClick:e.onClickCancel}),a.createElement(v.u.Submit,{isNew:e.isNew,text:e.isNew&&w("createClip"),variant:"dark"})))}function E(e){var t;return a.createElement(f.n,{initialValues:e.clip,validationSchema:C,onSubmit:e.saveClip,allowInitialSubmit:e.allowInitialSubmit},a.createElement(O,{video:e.video,isNew:!(null===(t=e.clip)||void 0===t?void 0:t.id)||e.isCopying,onClickCancel:e.onClickCancel}))}var S=n(9111),N=n(43012),x=n(1575),j=n(69883),k=n(14070),P=n(97291),T=i.T.encloseNamespace("shared.editClipDetailsView");function I(e){var t,n,i,m,d,p,f,v,b=(0,r.useDispatch)(),h=(0,j.Z)(),y=l.a.useBasicFetch(!!e.id&&N.e.clip(e.id)),g=(null===(n=null===(t=y.data)||void 0===t?void 0:t._parentVideo)||void 0===n?void 0:n.id)||e.videoId,w=l.a.useBasicFetch(!!g&&x.R.video(g)),C=isNaN(e.startTime)?null===(i=null==y?void 0:y.data)||void 0===i?void 0:i.startTime:e.startTime,O=isNaN(e.endTime)?null===(m=null==y?void 0:y.data)||void 0===m?void 0:m.endTime:e.endTime;if(!e.id&&!e.videoId)return a.createElement(a.Fragment,null);var I=!(!w.data||e.id&&!y.data);return a.createElement(S.G,{title:T(e.id?"editPopupHeading":"createPopupHeading"),closePopup:e.closePopup,showLoadingSpinner:!I},a.createElement(E,{video:w.data,clip:{id:null===(d=null==y?void 0:y.data)||void 0===d?void 0:d.id,name:e.isCopying?"".concat(T("copyPrefix")," ").concat(null===(p=null==y?void 0:y.data)||void 0===p?void 0:p.name):null===(f=null==y?void 0:y.data)||void 0===f?void 0:f.name,description:null===(v=null==y?void 0:y.data)||void 0===v?void 0:v.description,startTime:C,endTime:O},saveClip:function(t){var n=function(n){h.success(T("success",{name:t.name,escapeText:!0})),s.k.logUserAction(Object.assign(Object.assign({},n),{videoId:g}),{actionType:e.id?u.Vw.Edit:u.Vw.Create,entity:u.py.Clip,location:u.LZ.Popup,workflowPhase:u.eu.Complete}),o.Q.AppLinkHelper.trigger({application:P.O.CLIPS,action:k.e.Clips.PLAY_CLIP,args:[n.id,c.m.slugify(n.name)]})},a=function(){h.error(T("error"))},r=function(){e.closePopup()},i=e.id&&!e.isCopying?N.e.updateClip(e.id,t,n,a,r):N.e.createClip(g,t,n,a,r);l.a.fetch(b,i)},onClickCancel:e.closePopup,isCopying:!!e.isCopying,allowInitialSubmit:!0}))}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_clickview_lite=self.webpackChunk_clickview_lite||[]).push([[9798],{19798:(e,t,r)=>{r.r(t),r.d(t,{BulkActionSummaryView:()=>j});var a=r(1024),o=r.n(a),n=r(23481),c=r(20354),s=r(110),u=r(68036),l=r(13876),i=r(83345),m=r(76881),p=r(69883);const y={summary:"e6MNo"};function b(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,a=new Array(t);r<t;r++)a[r]=e[r];return a}var d="userManager.bulkActionSummary";function f(e){var t,r,a=(t=o().useState(!1),r=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var a,o,n,c,s=[],u=!0,l=!1;try{if(n=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;u=!1}else for(;!(u=(a=n.call(r)).done)&&(s.push(a.value),s.length!==t);u=!0);}catch(e){l=!0,o=e}finally{try{if(!u&&null!=r.return&&(c=r.return(),Object(c)!==c))return}finally{if(l)throw o}}return s}}(t,r)||function(e,t){if(e){if("string"==typeof e)return b(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)?b(e,t):void 0}}(t,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),c=a[0],f=a[1],g=(0,p.Z)(),h=u.b.mapDataTypeToUserType(e.job.dataType);return o().createElement(i.D.Provider,{value:d},o().createElement("p",null,o().createElement(i.x,{phrase:h===m.Y.Learner?"detailsStudent":"detailsStaff",options:{name:e.job.submitterName,actionName:u.b.mapJobTypeToName(e.job.type),date:s.O.format(e.job.dateCreated,"Do MMMM YYYY"),smartCount:e.summary.totalProcessed}})),o().createElement("p",{className:"font-weight-bold"},o().createElement(i.x,{phrase:"summary"})),o().createElement("div",{className:"".concat(y.summary," rounded-lg p-3 mb-3")},o().createElement("p",{className:"mb-1"},o().createElement(i.x,{phrase:"totalProcessed",options:{count:e.summary.totalProcessed}})),o().createElement("p",{className:"mb-1"},o().createElement(i.x,{phrase:"totalSucceeded",options:{count:e.summary.totalSucceeded}})),o().createElement("p",{className:"mb-1"},o().createElement(i.x,{phrase:"totalErrored",options:{count:e.summary.totalErrored}})),o().createElement("p",{className:"mb-0"},o().createElement(i.x,{phrase:"totalNoAction",options:{count:e.summary.totalNoAction}}))),o().createElement(l.u,null,o().createElement(l.u.Cancel,{text:n.T.getPhrase(d,"close"),onClick:e.closePopup}),o().createElement(l.u.Submit,{text:n.T.getPhrase(d,"exportLog"),variant:"dark",onClick:function(){f(!0),e.onClickExportLog().then((function(){return g.success(n.T.getPhrase(d,"exportSuccess"))})).catch((function(){return g.error(n.T.getPhrase(d,"exportError"))})).finally((function(){return f(!1)}))},showSpinner:c})))}var g=r(9111),h=r(29613),v="userManager.bulkActionSummaryView";function j(e){var t=c.a.useBasicFetch(h.q.getJob(e.id)),r=c.a.useBasicFetch(h.q.getJobSummary(e.id)),a=c.a.useGetFetchAsync(),s=!!t.data&&!!r.data;return o().createElement(g.G,{title:n.T.getPhrase(v,"title"),closePopup:e.closePopup,showLoadingSpinner:!s},s&&o().createElement(f,{job:t.data,summary:r.data,onClickExportLog:function(){return a(h.q.sendJobReports([e.id]))},closePopup:e.closePopup}))}},29613:(e,t,r)=>{r.d(t,{q:()=>n});var a=r(99940),o=r(97395),n={createJob:function(e,t,r){return{url:"{gateway}/v1/batch/jobs",key:"create:job",type:a.k.POST,data:e,success:t,error:r}},getJobs:function(e){var t={},r=[],a=[];return e.cursor&&(t.cursor=e.cursor),e.sort&&("oldest"===e.sort?t.order="ASC":t.order="DESC"),e.bulkActionType&&(r=Array.isArray(e.bulkActionType)?e.bulkActionType:[e.bulkActionType],t.type=r),e.userType&&(a=Array.isArray(e.userType)?e.userType:[e.userType],t.dataType=a),{url:o._.urlBuilder("{gateway}/v1/batch/jobs",t),key:"batch:jobs:".concat(e.cursor,":").concat(e.sort,":").concat(r.sort().join(":"),":").concat(a.sort().join(":"))}},getJob:function(e){return{url:"{gateway}/v1/batch/jobs/".concat(e),key:"job:".concat(e)}},getJobProgress:function(e,t,r){return{url:"{gateway}/v1/batch/jobs/".concat(e,"/progress"),key:"job:".concat(e,":progress"),invalidationKeys:"job:".concat(e,":progress"),success:t,error:r}},getJobResults:function(e,t,r,a,n){var c={status:t};return r&&(c.cursor=r),{url:o._.urlBuilder("{gateway}/v1/batch/jobs/".concat(e,"/results"),c),key:"job:".concat(e,":results:").concat(t,":").concat(r),success:a,error:n}},getYearGroupRolloverStatus:function(e){return{url:"{gateway}/v1/batch/validations/customers/".concat(e,"/year-group-roll-over"),key:"year:group:rollover:status"}},sendJobReports:function(e){return{url:"{gateway}/v1/batch/results/export",key:"send:job:reports:".concat(e.sort().join(":")),type:a.k.POST,data:{jobIds:e}}},getJobSummary:function(e){return{url:"{gateway}/v1/batch/jobs/".concat(e,"/summary"),key:"job:summary:".concat(e)}}}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_clickview_lite=self.webpackChunk_clickview_lite||[]).push([[9880],{29880:(e,o,t)=>{t.r(o),t.d(o,{DownloadVideoView:()=>w});var n=t(1024),a=t.n(n),c=t(20354),i=t(49985),r=t(65858),l=t(39151),d=t(97395),u={getVideoDownloadUrl:function(e,o){return d._.safeUrlConcat(d._.makeHttps(e),"/download?token=".concat(o))}},s=t(99940),k={createDownloadToken:function(e){return{url:"/api/downloadproxy/api/tokens",key:"download:token:".concat(e),data:{objectId:e},type:s.k.POST,normalize:!1}}};function w(e){var o=a().useRef(null),t=c.a.useBasicFetch(l.L.config()),n=c.a.useBasicFetch(k.createDownloadToken(e.id)),d=!!t.data&&!!n.data;return a().useEffect((function(){if(d&&o.current){var a=u.getVideoDownloadUrl(t.data.downloadProxy,n.data.token);o.current.src=a,i.k.logUserAction({id:e.id},{actionType:r.UserAction.Download,location:r.LocationContext.Popup,entity:r.EntityType.Video,workflowPhase:r.WorkflowPhase.Complete})}}),[d,o.current]),a().createElement("iframe",{ref:o})}}}]);
@@ -1 +1 @@
1
- "use strict";(self.webpackChunk_clickview_lite=self.webpackChunk_clickview_lite||[]).push([[9899],{9907:(e,a,t)=>{t.r(a),t.d(a,{EmbeddedInteractiveView:()=>y});var c=t(1024),n=t.n(c),r=t(17082),d=t(20354),o=t(39151),s=t(20768),i=t(47812),l=t(31949),u=t(60051),m=t(27995),h=t(30439),v=t(79612),f=t(79967),b=t(76753),k=t(95899),p=t(45593),w=t(13746);function y(e){var a=d.a.useBasicFetch(o.L.config()),t=d.a.useBasicFetch(l.N.currentUser()),c=d.a.useBasicFetch(s.b.sharedInteractiveMetadata(e.objectId,e.shareId)),y=d.a.useBasicFetch(h.o.getShareObject(e.shareId)),F=i.k.createViewKey(e.shareId,u.f.Share),C=d.a.useBasicFetch(F),I=n().useMemo((function(){return(0,r.oD)()}),[]);(0,m.b)(c,{private:p.F}),(0,v.M)(b.C.getInteractiveMetadata({content:c.data}));var g=(0,f.k)(),E=g.xl&&!g.xxl;return c.data&&a.hasCompleted&&t.hasCompleted&&y.hasCompleted&&C.hasCompleted?n().createElement(n().Fragment,null,n().createElement(k._,{config:a.data,video:c.data,currentUser:t.data,shareLink:y.data,viewKey:C.data,startTime:e.queryParams.t,onShowSummary:function(e){e?document.body.classList.remove("overflow-hidden"):document.body.classList.add("overflow-hidden")},summaryPortalNode:I,embed:!0,onReady:function(e){e.one("cv-playback-data-loaded",(function(){w.R.remove()}))}}),n().createElement("div",{className:"p-3 ".concat(E?"container-fluid":"container")},n().createElement(r.t0,{node:I}))):n().createElement(n().Fragment,null)}}}]);
1
+ "use strict";(self.webpackChunk_clickview_lite=self.webpackChunk_clickview_lite||[]).push([[9899],{9907:(e,a,t)=>{t.r(a),t.d(a,{EmbeddedInteractiveView:()=>y});var c=t(1024),n=t.n(c),r=t(17082),d=t(20354),o=t(30439),s=t(60051),i=t(39151),l=t(20768),u=t(47812),m=t(31949),h=t(79967),v=t(27995),f=t(79612),b=t(76753),k=t(57245),p=t(45593),w=t(13746);function y(e){var a=d.a.useBasicFetch(i.L.config()),t=d.a.useBasicFetch(m.N.currentUser()),c=d.a.useBasicFetch(l.b.sharedInteractiveMetadata(e.objectId,e.shareId)),y=d.a.useBasicFetch(o.o.getShareObject(e.shareId)),F=u.k.createViewKey(e.shareId,s.f.Share),C=d.a.useBasicFetch(F),I=n().useMemo((function(){return(0,r.oD)()}),[]);(0,v.b)(c,{private:p.F}),(0,f.M)(b.C.getInteractiveMetadata({content:c.data}));var g=(0,h.k)(),E=g.xl&&!g.xxl;return c.data&&a.hasCompleted&&t.hasCompleted&&y.hasCompleted&&C.hasCompleted?n().createElement(n().Fragment,null,n().createElement(k._,{config:a.data,video:c.data,currentUser:t.data,shareLink:y.data,viewKey:C.data,startTime:e.queryParams.t,onShowSummary:function(e){e?document.body.classList.remove("overflow-hidden"):document.body.classList.add("overflow-hidden")},summaryPortalNode:I,embed:!0,onReady:function(e){e.one("cv-playback-data-loaded",(function(){w.R.remove()}))}}),n().createElement("div",{className:"p-3 ".concat(E?"container-fluid":"container")},n().createElement(r.t0,{node:I}))):n().createElement(n().Fragment,null)}}}]);