@clickview/lite 0.32.5-dev.1 → 0.32.5

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 (675) hide show
  1. package/dist/bundles.json +3 -3
  2. package/dist/css/{1064-lite-b3840e522e.chunk.css → 1064-lite-e6ec84fd3f.chunk.css} +2 -2
  3. package/dist/css/{4612-lite-3886475291.chunk.css → 1291-lite-1c4780743f.chunk.css} +2 -2
  4. package/dist/css/{1366-lite-7a13bffe4a.chunk.css → 1366-lite-0239ab3e7e.chunk.css} +3 -3
  5. package/dist/css/{1475-lite-8717f8b322.chunk.css → 1475-lite-1b41a0628c.chunk.css} +3 -3
  6. package/dist/css/162-lite-32e60d7e18.chunk.css +37 -0
  7. package/dist/css/1655-lite-e7bdc675ac.chunk.css +2 -0
  8. package/dist/css/{1781-lite-028e7f49eb.chunk.css → 1781-lite-d3216fb72f.chunk.css} +2 -2
  9. package/dist/css/1794-lite-88303bbaf5.chunk.css +3 -0
  10. package/dist/css/{2066-lite-c31f88668c.chunk.css → 2066-lite-4e16a83a36.chunk.css} +4 -4
  11. package/dist/css/2118-lite-74522bc90f.chunk.css +1 -0
  12. package/dist/css/{2318-lite-1d266f666c.chunk.css → 2318-lite-ca6d519c2e.chunk.css} +1 -1
  13. package/dist/css/{4373-lite-975f9b4d75.chunk.css → 2477-lite-416e958638.chunk.css} +2 -2
  14. package/dist/css/{4874-lite-ebe3cdda84.chunk.css → 2729-lite-15aa778737.chunk.css} +2 -2
  15. package/dist/css/{275-lite-f1860ca39a.chunk.css → 275-lite-71b01cc990.chunk.css} +2 -2
  16. package/dist/css/{3091-lite-ea247cd3c7.chunk.css → 3091-lite-e0fb499d6e.chunk.css} +2 -2
  17. package/dist/css/{3154-lite-e39ddb97b4.chunk.css → 3154-lite-11158838c0.chunk.css} +1 -1
  18. package/dist/css/{420-lite-898652e17b.chunk.css → 3322-lite-2cb4fd8dc1.chunk.css} +1 -0
  19. package/dist/css/3468-lite-74522bc90f.chunk.css +1 -0
  20. package/dist/css/3533-lite-74522bc90f.chunk.css +1 -0
  21. package/dist/css/{355-lite-eb1d4d3152.chunk.css → 355-lite-271a4bb3d4.chunk.css} +2 -2
  22. package/dist/css/{3645-lite-f1f1b748f7.chunk.css → 3645-lite-304423256b.chunk.css} +1 -1
  23. package/dist/css/3667-lite-37b25ceace.chunk.css +3 -0
  24. package/dist/css/{3755-lite-19658f72e9.chunk.css → 3755-lite-21f15b7906.chunk.css} +2 -2
  25. package/dist/css/{3849-lite-fa93aa92bf.chunk.css → 3849-lite-2eb46f0334.chunk.css} +1 -1
  26. package/dist/css/{4052-lite-e96ead7ea1.chunk.css → 4052-lite-6bf4f7a77b.chunk.css} +2 -2
  27. package/dist/css/{4145-lite-419c7a3152.chunk.css → 4145-lite-a27eec9ae8.chunk.css} +2 -2
  28. package/dist/css/{3446-lite-ded5e413ce.chunk.css → 4229-lite-6aa69cd401.chunk.css} +2 -2
  29. package/dist/css/{6290-lite-cbc4dea7ce.chunk.css → 4290-lite-7bd376fdab.chunk.css} +1 -1
  30. package/dist/css/{8556-lite-1e4722df6b.chunk.css → 4380-lite-cdf9814e9a.chunk.css} +2 -2
  31. package/dist/css/{1725-lite-6efa9a8c08.chunk.css → 4484-lite-204fa1d3ba.chunk.css} +1 -1
  32. package/dist/css/{4537-lite-3469c21deb.chunk.css → 4537-lite-beac80e560.chunk.css} +1 -1
  33. package/dist/css/4541-lite-74522bc90f.chunk.css +1 -0
  34. package/dist/css/{4617-lite-ed371d2824.chunk.css → 4617-lite-5e8387006a.chunk.css} +2 -2
  35. package/dist/css/482-lite-74522bc90f.chunk.css +1 -0
  36. package/dist/css/{2729-lite-ebe3cdda84.chunk.css → 4874-lite-15aa778737.chunk.css} +2 -2
  37. package/dist/css/{4942-lite-5189588330.chunk.css → 4942-lite-bd40e9c904.chunk.css} +1 -1
  38. package/dist/css/510-lite-6661240a96.chunk.css +3 -0
  39. package/dist/css/{5171-lite-bb5871d776.chunk.css → 5171-lite-231fb4351a.chunk.css} +2 -2
  40. package/dist/css/{6330-lite-5189588330.chunk.css → 5268-lite-bd40e9c904.chunk.css} +1 -1
  41. package/dist/css/{5590-lite-b3840e522e.chunk.css → 5590-lite-e6ec84fd3f.chunk.css} +2 -2
  42. package/dist/css/{6117-lite-9f291e9fd0.chunk.css → 6117-lite-fe222571f3.chunk.css} +1 -1
  43. package/dist/css/{6154-lite-a0abd6b2f9.chunk.css → 6154-lite-b8ba830cd3.chunk.css} +3 -3
  44. package/dist/css/{817-lite-665d49932b.chunk.css → 6254-lite-d969bbf4ac.chunk.css} +2 -2
  45. package/dist/css/6285-lite-86f715dee7.chunk.css +2 -0
  46. package/dist/css/{5268-lite-5189588330.chunk.css → 6330-lite-bd40e9c904.chunk.css} +1 -1
  47. package/dist/css/6465-lite-74522bc90f.chunk.css +1 -0
  48. package/dist/css/6689-lite-385dfbe1d8.chunk.css +4 -0
  49. package/dist/css/6817-lite-6661240a96.chunk.css +3 -0
  50. package/dist/css/{6822-lite-c2527edca1.chunk.css → 6822-lite-927bfd9703.chunk.css} +2 -2
  51. package/dist/css/{6407-lite-2a91046512.chunk.css → 6932-lite-944c5933dc.chunk.css} +2 -2
  52. package/dist/css/7112-lite-01b143fa0b.chunk.css +3 -0
  53. package/dist/css/7128-lite-74522bc90f.chunk.css +1 -0
  54. package/dist/css/7172-lite-74522bc90f.chunk.css +1 -0
  55. package/dist/css/{7286-lite-5a6b3f32ab.chunk.css → 7286-lite-da823e464b.chunk.css} +2 -2
  56. package/dist/css/{7409-lite-3b312b926d.chunk.css → 7409-lite-3342fc3859.chunk.css} +2 -2
  57. package/dist/css/{7484-lite-1a3ccb3597.chunk.css → 7484-lite-ee2799eab2.chunk.css} +2 -2
  58. package/dist/css/7515-lite-01b143fa0b.chunk.css +3 -0
  59. package/dist/css/{6702-lite-285d18c247.chunk.css → 7952-lite-0a9d045149.chunk.css} +2 -2
  60. package/dist/css/8025-lite-74522bc90f.chunk.css +1 -0
  61. package/dist/css/{5659-lite-b3840e522e.chunk.css → 8035-lite-e6ec84fd3f.chunk.css} +2 -2
  62. package/dist/css/8292-lite-a0648ee1fa.chunk.css +2 -0
  63. package/dist/css/8383-lite-74522bc90f.chunk.css +1 -0
  64. package/dist/css/{6957-lite-8d71b12aa5.chunk.css → 8500-lite-6cb624c329.chunk.css} +2 -2
  65. package/dist/css/{4380-lite-1e4722df6b.chunk.css → 8556-lite-cdf9814e9a.chunk.css} +2 -2
  66. package/dist/css/{8621-lite-76dde2eb8d.chunk.css → 8621-lite-bbdcb78b4c.chunk.css} +1 -1
  67. package/dist/css/{8820-lite-57008e3940.chunk.css → 8820-lite-76d15a1090.chunk.css} +2 -2
  68. package/dist/css/{8960-lite-79f8856b6c.chunk.css → 8960-lite-9068589bd0.chunk.css} +2 -2
  69. package/dist/css/9060-lite-74522bc90f.chunk.css +1 -0
  70. package/dist/css/{9151-lite-c4a0ad3e8f.chunk.css → 9151-lite-34a72dd76a.chunk.css} +1 -1
  71. package/dist/css/{3789-lite-25d999ba37.chunk.css → 9194-lite-d395807101.chunk.css} +1 -2
  72. package/dist/css/9455-lite-3cd1655cd7.chunk.css +5 -0
  73. package/dist/css/{9484-lite-5189588330.chunk.css → 9484-lite-bd40e9c904.chunk.css} +1 -1
  74. package/dist/css/{9714-lite-72b0f59716.chunk.css → 9714-lite-194caaa213.chunk.css} +3 -3
  75. package/dist/css/{9744-lite-ea247cd3c7.chunk.css → 9744-lite-e0fb499d6e.chunk.css} +2 -2
  76. package/dist/css/lite-app-1d0c2fd2b0.css +53 -0
  77. package/dist/languages/en.json +1 -1
  78. package/dist/scripts/1064-458b68fb91-lite.chunk.js +1 -0
  79. package/dist/scripts/1090-9aace3f5ec-lite.chunk.js +1 -0
  80. package/dist/scripts/1106-847d0bf2b8-lite.chunk.js +1 -0
  81. package/dist/scripts/1200-f30709bde3-lite.chunk.js +2 -0
  82. package/dist/scripts/1285-19705b2fc5-lite.chunk.js +1 -0
  83. package/dist/scripts/1291-1d298ab17d-lite.chunk.js +1 -0
  84. package/dist/scripts/1354-adb83a2eaa-lite.chunk.js +2 -0
  85. package/dist/scripts/1366-c65306205c-lite.chunk.js +2 -0
  86. package/dist/scripts/147-28a27fe38b-lite.chunk.js +1 -0
  87. package/dist/scripts/1475-255496ec92-lite.chunk.js +1 -0
  88. package/dist/scripts/1517-4c765cf6b6-lite.chunk.js +1 -0
  89. package/dist/scripts/1518-b3ed8fd9e5-lite.chunk.js +1 -0
  90. package/dist/scripts/1526-be5361acbf-lite.chunk.js +1 -0
  91. package/dist/scripts/1536-a8c6826e33-lite.chunk.js +1 -0
  92. package/dist/scripts/156-13c7d1ca82-lite.chunk.js +1 -0
  93. package/dist/scripts/1592-e5a0fbaee2-lite.chunk.js +2 -0
  94. package/dist/scripts/162-64b366f2d0-lite.chunk.js +2 -0
  95. package/dist/scripts/1628-3d2ab4a7f9-lite.chunk.js +1 -0
  96. package/dist/scripts/1655-4bb18c6f9b-lite.chunk.js +1 -0
  97. package/dist/scripts/1726-ce7ab78bcc-lite.chunk.js +1 -0
  98. package/dist/scripts/1781-d407160975-lite.chunk.js +1 -0
  99. package/dist/scripts/1794-196bab58b7-lite.chunk.js +1 -0
  100. package/dist/scripts/1818-1566ab6170-lite.chunk.js +1 -0
  101. package/dist/scripts/1820-961e34dc3f-lite.chunk.js +1 -0
  102. package/dist/scripts/1837-8224775ee2-lite.chunk.js +1 -0
  103. package/dist/scripts/1863-0ff9f34469-lite.chunk.js +1 -0
  104. package/dist/scripts/1891-00d06bdb48-lite.chunk.js +1 -0
  105. package/dist/scripts/1913-121ddb03c7-lite.chunk.js +1 -0
  106. package/dist/scripts/1924-c10778006b-lite.chunk.js +1 -0
  107. package/dist/scripts/1943-4e126c7c8e-lite.chunk.js +1 -0
  108. package/dist/scripts/1958-7bbe5ed54b-lite.chunk.js +1 -0
  109. package/dist/scripts/{7422-8f60c3028d-lite.chunk.js → 1977-7e46c81a05-lite.chunk.js} +2 -2
  110. package/dist/scripts/2066-2448ffab36-lite.chunk.js +2 -0
  111. package/dist/scripts/2095-0a482240d2-lite.chunk.js +1 -0
  112. package/dist/scripts/2118-26ae54c3db-lite.chunk.js +2 -0
  113. package/dist/scripts/2175-e6101da2c7-lite.chunk.js +1 -0
  114. package/dist/scripts/2199-68ba7411fa-lite.chunk.js +1 -0
  115. package/dist/scripts/2208-8cca4d3922-lite.chunk.js +1 -0
  116. package/dist/scripts/2229-57d6491c9d-lite.chunk.js +1 -0
  117. package/dist/scripts/2235-5b283a630a-lite.chunk.js +1 -0
  118. package/dist/scripts/2269-63269b0a20-lite.chunk.js +1 -0
  119. package/dist/scripts/227-2b68bcb5e6-lite.chunk.js +1 -0
  120. package/dist/scripts/2279-c077a223e7-lite.chunk.js +1 -0
  121. package/dist/scripts/2318-f20f53577b-lite.chunk.js +1 -0
  122. package/dist/scripts/2469-26134f4110-lite.chunk.js +1 -0
  123. package/dist/scripts/2477-0c1cc0274e-lite.chunk.js +1 -0
  124. package/dist/scripts/2561-f6bbda0461-lite.chunk.js +1 -0
  125. package/dist/scripts/2566-db0f3fdc44-lite.chunk.js +1 -0
  126. package/dist/scripts/2608-91817d2e90-lite.chunk.js +1 -0
  127. package/dist/scripts/2665-58e5d43a70-lite.chunk.js +1 -0
  128. package/dist/scripts/2729-bf3c1615b9-lite.chunk.js +1 -0
  129. package/dist/scripts/275-48e39524cd-lite.chunk.js +1 -0
  130. package/dist/scripts/276-bb5c3227d5-lite.chunk.js +1 -0
  131. package/dist/scripts/287-06fe2a9794-lite.chunk.js +1 -0
  132. package/dist/scripts/2877-4171fae97e-lite.chunk.js +1 -0
  133. package/dist/scripts/{2966-0a626741f2-lite.chunk.js → 2966-5425811e8d-lite.chunk.js} +1 -1
  134. package/dist/scripts/3012-a8407cc0d7-lite.chunk.js +1 -0
  135. package/dist/scripts/3020-b550dc32a1-lite.chunk.js +1 -0
  136. package/dist/scripts/3091-23bbaf2400-lite.chunk.js +1 -0
  137. package/dist/scripts/3108-4774ebe606-lite.chunk.js +1 -0
  138. package/dist/scripts/3154-63fff5be79-lite.chunk.js +1 -0
  139. package/dist/scripts/3171-02af531a34-lite.chunk.js +1 -0
  140. package/dist/scripts/3216-cd6222fff4-lite.chunk.js +1 -0
  141. package/dist/scripts/3285-dcec4d8e24-lite.chunk.js +1 -0
  142. package/dist/scripts/3322-90da5fc550-lite.chunk.js +1 -0
  143. package/dist/scripts/3468-40c308ce30-lite.chunk.js +1 -0
  144. package/dist/scripts/3514-31c2f97242-lite.chunk.js +1 -0
  145. package/dist/scripts/3533-98674ad469-lite.chunk.js +1 -0
  146. package/dist/scripts/355-16b3032c4f-lite.chunk.js +1 -0
  147. package/dist/scripts/3602-7fb236937c-lite.chunk.js +2 -0
  148. package/dist/scripts/3645-ccb3557f33-lite.chunk.js +2 -0
  149. package/dist/scripts/3654-68fc05281b-lite.chunk.js +1 -0
  150. package/dist/scripts/3667-6261d6a482-lite.chunk.js +2 -0
  151. package/dist/scripts/3727-61ad5aebc3-lite.chunk.js +1 -0
  152. package/dist/scripts/3728-61154e9591-lite.chunk.js +1 -0
  153. package/dist/scripts/3729-ec68fee3f9-lite.chunk.js +1 -0
  154. package/dist/scripts/3754-43235d0887-lite.chunk.js +1 -0
  155. package/dist/scripts/3755-6e4ec3d174-lite.chunk.js +1 -0
  156. package/dist/scripts/383-867d273f61-lite.chunk.js +1 -0
  157. package/dist/scripts/{3848-0c6b5bba24-lite.chunk.js → 3848-ec29f6e574-lite.chunk.js} +1 -1
  158. package/dist/scripts/3849-cc38632481-lite.chunk.js +1 -0
  159. package/dist/scripts/389-e0a9ec5a2b-lite.chunk.js +1 -0
  160. package/dist/scripts/3962-6b13cdecc3-lite.chunk.js +1 -0
  161. package/dist/scripts/4052-f6e4be8ec3-lite.chunk.js +1 -0
  162. package/dist/scripts/4067-7bd2a9bb48-lite.chunk.js +1 -0
  163. package/dist/scripts/414-395860a6ec-lite.chunk.js +1 -0
  164. package/dist/scripts/4145-ab4ad95b9a-lite.chunk.js +1 -0
  165. package/dist/scripts/4182-71b9d0c2ae-lite.chunk.js +1 -0
  166. package/dist/scripts/4229-e0eec4f9cc-lite.chunk.js +1 -0
  167. package/dist/scripts/4290-9275108346-lite.chunk.js +1 -0
  168. package/dist/scripts/4326-0df396c7a9-lite.chunk.js +1 -0
  169. package/dist/scripts/4343-97dc4dfb23-lite.chunk.js +1 -0
  170. package/dist/scripts/4380-880fb4cd78-lite.chunk.js +1 -0
  171. package/dist/scripts/4393-7273cab163-lite.chunk.js +1 -0
  172. package/dist/scripts/4417-f74c436556-lite.chunk.js +1 -0
  173. package/dist/scripts/4423-972b49a9ea-lite.chunk.js +1 -0
  174. package/dist/scripts/4436-6939f395bc-lite.chunk.js +1 -0
  175. package/dist/scripts/4484-6bb5f46ab3-lite.chunk.js +1 -0
  176. package/dist/scripts/4537-9b504a7131-lite.chunk.js +1 -0
  177. package/dist/scripts/4541-7226b9836d-lite.chunk.js +1 -0
  178. package/dist/scripts/4617-9f75859a94-lite.chunk.js +1 -0
  179. package/dist/scripts/4632-8a515a2adf-lite.chunk.js +1 -0
  180. package/dist/scripts/4657-5482d930f8-lite.chunk.js +2 -0
  181. package/dist/scripts/4676-d33096ed1d-lite.chunk.js +2 -0
  182. package/dist/scripts/4690-8d1c868379-lite.chunk.js +1 -0
  183. package/dist/scripts/4763-aa3b604925-lite.chunk.js +1 -0
  184. package/dist/scripts/4770-19393b2e34-lite.chunk.js +1 -0
  185. package/dist/scripts/482-1534ca1124-lite.chunk.js +1 -0
  186. package/dist/scripts/4893-4dfccfedc9-lite.chunk.js +1 -0
  187. package/dist/scripts/4895-9d22529005-lite.chunk.js +1 -0
  188. package/dist/scripts/4942-d89ef696ed-lite.chunk.js +2 -0
  189. package/dist/scripts/5018-23fbddadb3-lite.chunk.js +1 -0
  190. package/dist/scripts/510-0aacaf4a3f-lite.chunk.js +1 -0
  191. package/dist/scripts/5171-f894a1dff0-lite.chunk.js +1 -0
  192. package/dist/scripts/{5173-e1c8a64adb-lite.chunk.js → 5173-8046faf648-lite.chunk.js} +1 -1
  193. package/dist/scripts/5229-54d273997c-lite.chunk.js +1 -0
  194. package/dist/scripts/5268-b63ac1972e-lite.chunk.js +2 -0
  195. package/dist/scripts/5271-a5ffc1b79a-lite.chunk.js +1 -0
  196. package/dist/scripts/528-c80dafea15-lite.chunk.js +1 -0
  197. package/dist/scripts/5291-6ef2fcf319-lite.chunk.js +1 -0
  198. package/dist/scripts/5385-50b65ee5b3-lite.chunk.js +1 -0
  199. package/dist/scripts/5395-aa5bc09b79-lite.chunk.js +1 -0
  200. package/dist/scripts/{5509-9e9e7bc4a9-lite.chunk.js → 5509-35f1b780d4-lite.chunk.js} +1 -1
  201. package/dist/scripts/5590-f1cdd7bd5c-lite.chunk.js +1 -0
  202. package/dist/scripts/5595-fed09c0f0d-lite.chunk.js +1 -0
  203. package/dist/scripts/5622-080218eb5e-lite.chunk.js +2 -0
  204. package/dist/scripts/5756-2c449fd1a4-lite.chunk.js +1 -0
  205. package/dist/scripts/5776-3015e0c3b2-lite.chunk.js +1 -0
  206. package/dist/scripts/5823-273dc77097-lite.chunk.js +1 -0
  207. package/dist/scripts/5914-89452132ae-lite.chunk.js +1 -0
  208. package/dist/scripts/5974-56af1e8e57-lite.chunk.js +1 -0
  209. package/dist/scripts/5983-8f4aa6c37a-lite.chunk.js +1 -0
  210. package/dist/scripts/{5986-d9b797867b-lite.chunk.js → 5986-38e236e499-lite.chunk.js} +1 -1
  211. package/dist/scripts/6057-f6e5423975-lite.chunk.js +1 -0
  212. package/dist/scripts/6117-a149fd0dce-lite.chunk.js +1 -0
  213. package/dist/scripts/615-109caae84a-lite.chunk.js +1 -0
  214. package/dist/scripts/6154-1d0dfaf472-lite.chunk.js +1 -0
  215. package/dist/scripts/6158-2cc856d000-lite.chunk.js +1 -0
  216. package/dist/scripts/6159-00d5adab24-lite.chunk.js +1 -0
  217. package/dist/scripts/6254-3237a629c8-lite.chunk.js +1 -0
  218. package/dist/scripts/6263-8e38e9b596-lite.chunk.js +1 -0
  219. package/dist/scripts/6274-ef6ea9aefc-lite.chunk.js +1 -0
  220. package/dist/scripts/6285-202fcb0ab4-lite.chunk.js +1 -0
  221. package/dist/scripts/6302-858c958370-lite.chunk.js +1 -0
  222. package/dist/scripts/6330-188babc35b-lite.chunk.js +1 -0
  223. package/dist/scripts/6368-0dc1c905d9-lite.chunk.js +1 -0
  224. package/dist/scripts/6370-73eb5d7165-lite.chunk.js +1 -0
  225. package/dist/scripts/6450-3c16cc5c71-lite.chunk.js +1 -0
  226. package/dist/scripts/6465-79f2f15c97-lite.chunk.js +1 -0
  227. package/dist/scripts/6480-08e2d6d634-lite.chunk.js +1 -0
  228. package/dist/scripts/6493-f6cec5b493-lite.chunk.js +1 -0
  229. package/dist/scripts/6572-a829585f06-lite.chunk.js +1 -0
  230. package/dist/scripts/6604-772ed75a7a-lite.chunk.js +1 -0
  231. package/dist/scripts/6662-51e2e6eaaf-lite.chunk.js +1 -0
  232. package/dist/scripts/6689-0daba3d135-lite.chunk.js +1 -0
  233. package/dist/scripts/6817-ed5e4e7d06-lite.chunk.js +1 -0
  234. package/dist/scripts/6821-7359de4d2e-lite.chunk.js +1 -0
  235. package/dist/scripts/6822-5831c9fd42-lite.chunk.js +1 -0
  236. package/dist/scripts/6823-22b0850abc-lite.chunk.js +2 -0
  237. package/dist/scripts/6866-3253265092-lite.chunk.js +1 -0
  238. package/dist/scripts/6873-4a90a15240-lite.chunk.js +1 -0
  239. package/dist/scripts/689-f0a1edee9b-lite.chunk.js +1 -0
  240. package/dist/scripts/{6896-75b32c41e8-lite.chunk.js → 6896-79fa541f46-lite.chunk.js} +2 -2
  241. package/dist/scripts/{691-670cb6f7e6-lite.chunk.js → 691-1a7a29fb40-lite.chunk.js} +2 -2
  242. package/dist/scripts/6913-507c07b46c-lite.chunk.js +1 -0
  243. package/dist/scripts/6930-06c0bffc64-lite.chunk.js +1 -0
  244. package/dist/scripts/6932-59789e4aea-lite.chunk.js +1 -0
  245. package/dist/scripts/{7017-35c73244a6-lite.chunk.js → 7017-76adb0abdc-lite.chunk.js} +2 -2
  246. package/dist/scripts/7030-e6f622a775-lite.chunk.js +2 -0
  247. package/dist/scripts/7045-6373f085f2-lite.chunk.js +1 -0
  248. package/dist/scripts/7052-b5ffd3e5ae-lite.chunk.js +2 -0
  249. package/dist/scripts/7056-1278a992e8-lite.chunk.js +1 -0
  250. package/dist/scripts/7108-7e3854252d-lite.chunk.js +1 -0
  251. package/dist/scripts/7112-72e5351e87-lite.chunk.js +2 -0
  252. package/dist/scripts/7115-5651a1dba8-lite.chunk.js +1 -0
  253. package/dist/scripts/{7117-1da2d8e101-lite.chunk.js → 7117-2dc06cc559-lite.chunk.js} +1 -1
  254. package/dist/scripts/7128-523988aea8-lite.chunk.js +1 -0
  255. package/dist/scripts/714-0f92a1c65b-lite.chunk.js +1 -0
  256. package/dist/scripts/7147-8b38cb4a77-lite.chunk.js +1 -0
  257. package/dist/scripts/7172-3478ca9fbf-lite.chunk.js +1 -0
  258. package/dist/scripts/7205-6c84b9860e-lite.chunk.js +1 -0
  259. package/dist/scripts/7221-7c2e4bd2cf-lite.chunk.js +2 -0
  260. package/dist/scripts/7286-33d40f57b8-lite.chunk.js +1 -0
  261. package/dist/scripts/7293-50af1887dd-lite.chunk.js +1 -0
  262. package/dist/scripts/7318-c329ca7c0d-lite.chunk.js +2 -0
  263. package/dist/scripts/7318-c329ca7c0d-lite.chunk.js.LICENSE.txt +5 -0
  264. package/dist/scripts/7341-a0366179fe-lite.chunk.js +1 -0
  265. package/dist/scripts/7385-9ae5fdf533-lite.chunk.js +1 -0
  266. package/dist/scripts/7409-145e2b0498-lite.chunk.js +1 -0
  267. package/dist/scripts/7484-9089dfc5b4-lite.chunk.js +1 -0
  268. package/dist/scripts/7506-6e5abb1ce8-lite.chunk.js +1 -0
  269. package/dist/scripts/7515-1fa9993684-lite.chunk.js +2 -0
  270. package/dist/scripts/754-af06e1c835-lite.chunk.js +1 -0
  271. package/dist/scripts/7555-6536e27567-lite.chunk.js +1 -0
  272. package/dist/scripts/{7706-1f9e23a067-lite.chunk.js → 7706-d9f05df3bd-lite.chunk.js} +1 -1
  273. package/dist/scripts/7708-d15c0df895-lite.chunk.js +1 -0
  274. package/dist/scripts/7758-d8cd43af1a-lite.chunk.js +1 -0
  275. package/dist/scripts/7767-697e83f840-lite.chunk.js +1 -0
  276. package/dist/scripts/7855-e5071abd53-lite.chunk.js +1 -0
  277. package/dist/scripts/7888-fcf2d068bb-lite.chunk.js +1 -0
  278. package/dist/scripts/7925-400ce5c362-lite.chunk.js +1 -0
  279. package/dist/scripts/7939-50f67c7062-lite.chunk.js +1 -0
  280. package/dist/scripts/7950-057729fd3f-lite.chunk.js +2 -0
  281. package/dist/scripts/7952-da7e2efbb9-lite.chunk.js +1 -0
  282. package/dist/scripts/8025-84ccfae3cb-lite.chunk.js +1 -0
  283. package/dist/scripts/8035-0116ccf4e5-lite.chunk.js +1 -0
  284. package/dist/scripts/8038-f1425fa036-lite.chunk.js +1 -0
  285. package/dist/scripts/8046-fa36daa5ce-lite.chunk.js +1 -0
  286. package/dist/scripts/8056-ccc1962ad7-lite.chunk.js +1 -0
  287. package/dist/scripts/811-3c7448dc35-lite.chunk.js +1 -0
  288. package/dist/scripts/{3237-35a98ed3a1-lite.chunk.js → 8176-4f92cf69ff-lite.chunk.js} +1 -1
  289. package/dist/scripts/823-2ddc27ac2a-lite.chunk.js +1 -0
  290. package/dist/scripts/8252-a6d0f554a5-lite.chunk.js +1 -0
  291. package/dist/scripts/8292-e22a69738a-lite.chunk.js +1 -0
  292. package/dist/scripts/8323-249c45a20e-lite.chunk.js +2 -0
  293. package/dist/scripts/8367-18538fb7ed-lite.chunk.js +1 -0
  294. package/dist/scripts/8383-4b59de6bfc-lite.chunk.js +1 -0
  295. package/dist/scripts/8419-a12e4d833e-lite.chunk.js +1 -0
  296. package/dist/scripts/8466-db914a7d25-lite.chunk.js +1 -0
  297. package/dist/scripts/8500-f229b957ef-lite.chunk.js +1 -0
  298. package/dist/scripts/8516-401b97bede-lite.chunk.js +1 -0
  299. package/dist/scripts/8556-2faa08c0bb-lite.chunk.js +1 -0
  300. package/dist/scripts/8564-f361b00c03-lite.chunk.js +1 -0
  301. package/dist/scripts/8621-bb707f1aa2-lite.chunk.js +1 -0
  302. package/dist/scripts/8627-7c7b3701fa-lite.chunk.js +1 -0
  303. package/dist/scripts/8681-5190c78b95-lite.chunk.js +2 -0
  304. package/dist/scripts/872-556704f056-lite.chunk.js +1 -0
  305. package/dist/scripts/8729-5928d624f8-lite.chunk.js +1 -0
  306. package/dist/scripts/8763-0aae908218-lite.chunk.js +1 -0
  307. package/dist/scripts/8820-2ad02c32cb-lite.chunk.js +1 -0
  308. package/dist/scripts/8830-94ce167cd3-lite.chunk.js +1 -0
  309. package/dist/scripts/8884-b6a7826c51-lite.chunk.js +1 -0
  310. package/dist/scripts/8905-76145a06df-lite.chunk.js +1 -0
  311. package/dist/scripts/8955-0889ae334e-lite.chunk.js +1 -0
  312. package/dist/scripts/9005-dfff5d4381-lite.chunk.js +1 -0
  313. package/dist/scripts/9016-53b4e0b866-lite.chunk.js +1 -0
  314. package/dist/scripts/9038-d495e86d21-lite.chunk.js +1 -0
  315. package/dist/scripts/9060-75b7bf8e06-lite.chunk.js +1 -0
  316. package/dist/scripts/9118-936a46d5aa-lite.chunk.js +1 -0
  317. package/dist/scripts/9133-2ac9e11023-lite.chunk.js +1 -0
  318. package/dist/scripts/9138-0f9bb9b0e3-lite.chunk.js +1 -0
  319. package/dist/scripts/9151-d8f10661a1-lite.chunk.js +1 -0
  320. package/dist/scripts/9194-c255b66c7c-lite.chunk.js +2 -0
  321. package/dist/scripts/9242-d7a14a34f0-lite.chunk.js +1 -0
  322. package/dist/scripts/9264-756116983e-lite.chunk.js +1 -0
  323. package/dist/scripts/9273-8381c89f91-lite.chunk.js +1 -0
  324. package/dist/scripts/9325-76be09c5d9-lite.chunk.js +1 -0
  325. package/dist/scripts/9428-5917cd7b0a-lite.chunk.js +2 -0
  326. package/dist/scripts/9455-7c1622838e-lite.chunk.js +1 -0
  327. package/dist/scripts/9478-e817a33a69-lite.chunk.js +2 -0
  328. package/dist/scripts/9484-6e93df7581-lite.chunk.js +2 -0
  329. package/dist/scripts/9674-72dc791884-lite.chunk.js +1 -0
  330. package/dist/scripts/9714-f2571e0227-lite.chunk.js +1 -0
  331. package/dist/scripts/9744-57f41382a5-lite.chunk.js +1 -0
  332. package/dist/scripts/9798-6d39196b90-lite.chunk.js +1 -0
  333. package/dist/scripts/9880-d95662abc4-lite.chunk.js +1 -0
  334. package/dist/scripts/9899-5322cee4bf-lite.chunk.js +1 -0
  335. package/dist/scripts/9931-bf2f253ffe-lite.chunk.js +2 -0
  336. package/dist/scripts/9961-7cea13c70e-lite.chunk.js +1 -0
  337. package/dist/scripts/bundle-c8fe5a03f1.min.js +2 -0
  338. package/dist/scripts/bundle-c8fe5a03f1.min.js.LICENSE.txt +38 -0
  339. package/dist/scripts/{polyfills-02090a38a6.min.js → polyfills-5c0684cd85.min.js} +2 -2
  340. package/package.json +61 -61
  341. package/typings/libs/backbone.validation.d.ts +100 -0
  342. package/dist/css/162-lite-2da1ee274f.chunk.css +0 -37
  343. package/dist/css/1750-lite-1464ddc6ff.chunk.css +0 -3
  344. package/dist/css/1891-lite-ff35c99cb7.chunk.css +0 -2
  345. package/dist/css/2118-lite-5d3ec54337.chunk.css +0 -1
  346. package/dist/css/3468-lite-5d3ec54337.chunk.css +0 -1
  347. package/dist/css/3533-lite-5d3ec54337.chunk.css +0 -1
  348. package/dist/css/3667-lite-c160f399ef.chunk.css +0 -3
  349. package/dist/css/4032-lite-d9c7560726.chunk.css +0 -4
  350. package/dist/css/4541-lite-5d3ec54337.chunk.css +0 -1
  351. package/dist/css/4705-lite-54b30399d3.chunk.css +0 -3
  352. package/dist/css/4753-lite-d25306256f.chunk.css +0 -2
  353. package/dist/css/482-lite-5d3ec54337.chunk.css +0 -1
  354. package/dist/css/510-lite-b97d0f723f.chunk.css +0 -3
  355. package/dist/css/519-lite-e5eb6a5c45.chunk.css +0 -3
  356. package/dist/css/6285-lite-d714304d0d.chunk.css +0 -2
  357. package/dist/css/6465-lite-5d3ec54337.chunk.css +0 -1
  358. package/dist/css/6689-lite-ed8e07dd89.chunk.css +0 -4
  359. package/dist/css/6817-lite-b97d0f723f.chunk.css +0 -3
  360. package/dist/css/7112-lite-a4bcbd8002.chunk.css +0 -3
  361. package/dist/css/7128-lite-5d3ec54337.chunk.css +0 -1
  362. package/dist/css/7172-lite-5d3ec54337.chunk.css +0 -1
  363. package/dist/css/7178-lite-b4e4346f43.chunk.css +0 -3
  364. package/dist/css/7818-lite-02acf4690b.chunk.css +0 -2
  365. package/dist/css/8025-lite-5d3ec54337.chunk.css +0 -1
  366. package/dist/css/8383-lite-5d3ec54337.chunk.css +0 -1
  367. package/dist/css/8935-lite-dda85abf44.chunk.css +0 -4
  368. package/dist/css/9060-lite-5d3ec54337.chunk.css +0 -1
  369. package/dist/css/9455-lite-a1c3df8800.chunk.css +0 -5
  370. package/dist/css/lite-app-3a1c9a1d2b.css +0 -52
  371. package/dist/scripts/1064-c89603c84c-lite.chunk.js +0 -1
  372. package/dist/scripts/1106-654e5682c2-lite.chunk.js +0 -1
  373. package/dist/scripts/1285-6f221ec83e-lite.chunk.js +0 -1
  374. package/dist/scripts/1291-94108fc09a-lite.chunk.js +0 -1
  375. package/dist/scripts/1354-33c5905ae6-lite.chunk.js +0 -2
  376. package/dist/scripts/1366-666ef709a1-lite.chunk.js +0 -2
  377. package/dist/scripts/1475-c84cf7b8c7-lite.chunk.js +0 -1
  378. package/dist/scripts/1517-ba6874eca4-lite.chunk.js +0 -1
  379. package/dist/scripts/1518-c4881607ce-lite.chunk.js +0 -1
  380. package/dist/scripts/1526-4b6226c3a3-lite.chunk.js +0 -1
  381. package/dist/scripts/1592-aa2bc45d63-lite.chunk.js +0 -2
  382. package/dist/scripts/162-51e28f0e8d-lite.chunk.js +0 -2
  383. package/dist/scripts/1628-ab186495a7-lite.chunk.js +0 -1
  384. package/dist/scripts/1672-2a6d69b169-lite.chunk.js +0 -2
  385. package/dist/scripts/1725-30a5110c8d-lite.chunk.js +0 -1
  386. package/dist/scripts/1726-3bd6a64ab2-lite.chunk.js +0 -1
  387. package/dist/scripts/1750-4b785132ad-lite.chunk.js +0 -1
  388. package/dist/scripts/1781-40d8e94385-lite.chunk.js +0 -1
  389. package/dist/scripts/1818-6e03769806-lite.chunk.js +0 -1
  390. package/dist/scripts/1820-8268536e88-lite.chunk.js +0 -1
  391. package/dist/scripts/1830-565ee5aa0c-lite.chunk.js +0 -1
  392. package/dist/scripts/1837-e6891957ae-lite.chunk.js +0 -1
  393. package/dist/scripts/1863-47eef75488-lite.chunk.js +0 -1
  394. package/dist/scripts/1891-20227a97bd-lite.chunk.js +0 -1
  395. package/dist/scripts/1913-6c98c0a34f-lite.chunk.js +0 -1
  396. package/dist/scripts/1924-8c219e2149-lite.chunk.js +0 -1
  397. package/dist/scripts/1943-cf609bd18b-lite.chunk.js +0 -1
  398. package/dist/scripts/1958-6de295ac2f-lite.chunk.js +0 -1
  399. package/dist/scripts/2066-f1ee632b62-lite.chunk.js +0 -2
  400. package/dist/scripts/209-bea4fb3c22-lite.chunk.js +0 -1
  401. package/dist/scripts/2095-498558805d-lite.chunk.js +0 -1
  402. package/dist/scripts/2118-a281da36fd-lite.chunk.js +0 -2
  403. package/dist/scripts/2175-1a9cac2654-lite.chunk.js +0 -1
  404. package/dist/scripts/2199-d8e643d50d-lite.chunk.js +0 -1
  405. package/dist/scripts/2208-6320d5c5ec-lite.chunk.js +0 -1
  406. package/dist/scripts/2229-c122a30392-lite.chunk.js +0 -1
  407. package/dist/scripts/2235-b9198e9674-lite.chunk.js +0 -1
  408. package/dist/scripts/2269-7a1c771947-lite.chunk.js +0 -1
  409. package/dist/scripts/227-e81fa36f91-lite.chunk.js +0 -1
  410. package/dist/scripts/2279-40f438c92d-lite.chunk.js +0 -1
  411. package/dist/scripts/2318-204c094444-lite.chunk.js +0 -1
  412. package/dist/scripts/2469-8591c7a350-lite.chunk.js +0 -1
  413. package/dist/scripts/2561-a7ccb8c0fa-lite.chunk.js +0 -1
  414. package/dist/scripts/2564-6030f21acd-lite.chunk.js +0 -1
  415. package/dist/scripts/2566-c38b03672e-lite.chunk.js +0 -1
  416. package/dist/scripts/2608-e2b5d4de7a-lite.chunk.js +0 -1
  417. package/dist/scripts/2665-af12e85b3f-lite.chunk.js +0 -1
  418. package/dist/scripts/2678-b53d60e821-lite.chunk.js +0 -2
  419. package/dist/scripts/2729-feeb22f8a9-lite.chunk.js +0 -1
  420. package/dist/scripts/275-0cd72590c8-lite.chunk.js +0 -1
  421. package/dist/scripts/276-11cc4ff717-lite.chunk.js +0 -1
  422. package/dist/scripts/287-223a01d363-lite.chunk.js +0 -1
  423. package/dist/scripts/2877-d3c00abb14-lite.chunk.js +0 -1
  424. package/dist/scripts/2958-3f6dfb6fa9-lite.chunk.js +0 -1
  425. package/dist/scripts/3012-b64578f4b5-lite.chunk.js +0 -1
  426. package/dist/scripts/3020-b0fd4b4978-lite.chunk.js +0 -1
  427. package/dist/scripts/3091-b372a6e5a8-lite.chunk.js +0 -1
  428. package/dist/scripts/3108-9f90ad6dba-lite.chunk.js +0 -1
  429. package/dist/scripts/3154-25535da78b-lite.chunk.js +0 -1
  430. package/dist/scripts/3171-ca6a42c306-lite.chunk.js +0 -1
  431. package/dist/scripts/3200-3bbafd3e8a-lite.chunk.js +0 -1
  432. package/dist/scripts/3216-47d94fcff8-lite.chunk.js +0 -1
  433. package/dist/scripts/3285-85360362bb-lite.chunk.js +0 -1
  434. package/dist/scripts/3371-61857af54b-lite.chunk.js +0 -1
  435. package/dist/scripts/3378-205ec27cf3-lite.chunk.js +0 -1
  436. package/dist/scripts/3446-cb79c1bff9-lite.chunk.js +0 -1
  437. package/dist/scripts/3468-ce102222d3-lite.chunk.js +0 -1
  438. package/dist/scripts/3514-4c7a73efac-lite.chunk.js +0 -1
  439. package/dist/scripts/3533-165a400f8a-lite.chunk.js +0 -1
  440. package/dist/scripts/355-43835ac290-lite.chunk.js +0 -1
  441. package/dist/scripts/3602-c5f7a74c8b-lite.chunk.js +0 -2
  442. package/dist/scripts/3645-86f0ed022f-lite.chunk.js +0 -2
  443. package/dist/scripts/3654-5344eb1cc5-lite.chunk.js +0 -1
  444. package/dist/scripts/3667-c5b8a096c2-lite.chunk.js +0 -2
  445. package/dist/scripts/3727-6c63240ea2-lite.chunk.js +0 -1
  446. package/dist/scripts/3728-952e59af2f-lite.chunk.js +0 -1
  447. package/dist/scripts/3729-fb0ebdda2b-lite.chunk.js +0 -1
  448. package/dist/scripts/3754-ad907b38cc-lite.chunk.js +0 -1
  449. package/dist/scripts/3755-51bd37a5c6-lite.chunk.js +0 -1
  450. package/dist/scripts/3789-4cb6d829f6-lite.chunk.js +0 -2
  451. package/dist/scripts/3849-b0db69d3db-lite.chunk.js +0 -1
  452. package/dist/scripts/389-fc8f4fcbf4-lite.chunk.js +0 -1
  453. package/dist/scripts/3962-e5b5657359-lite.chunk.js +0 -1
  454. package/dist/scripts/4032-279a38c349-lite.chunk.js +0 -1
  455. package/dist/scripts/4052-4548ee2a0c-lite.chunk.js +0 -1
  456. package/dist/scripts/4067-7dea084485-lite.chunk.js +0 -1
  457. package/dist/scripts/414-712655c265-lite.chunk.js +0 -1
  458. package/dist/scripts/4145-bc7f5915d7-lite.chunk.js +0 -1
  459. package/dist/scripts/4182-6a6ad037b3-lite.chunk.js +0 -1
  460. package/dist/scripts/420-1d548d3b84-lite.chunk.js +0 -1
  461. package/dist/scripts/4326-af6113a1df-lite.chunk.js +0 -1
  462. package/dist/scripts/4343-84cca94426-lite.chunk.js +0 -1
  463. package/dist/scripts/4373-039b523832-lite.chunk.js +0 -1
  464. package/dist/scripts/4380-719146155f-lite.chunk.js +0 -1
  465. package/dist/scripts/4393-df6aadca06-lite.chunk.js +0 -1
  466. package/dist/scripts/4417-63dce95be2-lite.chunk.js +0 -1
  467. package/dist/scripts/4423-3424b647e8-lite.chunk.js +0 -1
  468. package/dist/scripts/4436-843f23ed17-lite.chunk.js +0 -1
  469. package/dist/scripts/4537-9c5fd00b48-lite.chunk.js +0 -1
  470. package/dist/scripts/4541-33b739b0d8-lite.chunk.js +0 -1
  471. package/dist/scripts/4612-2c0e7977a2-lite.chunk.js +0 -1
  472. package/dist/scripts/4617-591aee68e0-lite.chunk.js +0 -1
  473. package/dist/scripts/4632-83f6987cd0-lite.chunk.js +0 -1
  474. package/dist/scripts/4657-da41ee610c-lite.chunk.js +0 -2
  475. package/dist/scripts/4676-adc55dfa15-lite.chunk.js +0 -2
  476. package/dist/scripts/4690-180c8c170a-lite.chunk.js +0 -1
  477. package/dist/scripts/4705-96be64b79d-lite.chunk.js +0 -1
  478. package/dist/scripts/4753-31e147c1a9-lite.chunk.js +0 -1
  479. package/dist/scripts/4770-78dca0fe91-lite.chunk.js +0 -1
  480. package/dist/scripts/482-7c9d6c3584-lite.chunk.js +0 -1
  481. package/dist/scripts/4893-c04f7f4d32-lite.chunk.js +0 -1
  482. package/dist/scripts/4895-ab469a3b66-lite.chunk.js +0 -1
  483. package/dist/scripts/4942-9db184d708-lite.chunk.js +0 -2
  484. package/dist/scripts/5009-9e45034def-lite.chunk.js +0 -2
  485. package/dist/scripts/5018-d2c1af9240-lite.chunk.js +0 -1
  486. package/dist/scripts/5040-3d6023b7e1-lite.chunk.js +0 -1
  487. package/dist/scripts/510-ef57ce883d-lite.chunk.js +0 -1
  488. package/dist/scripts/5134-6d70bcc26e-lite.chunk.js +0 -1
  489. package/dist/scripts/5143-d11346cce2-lite.chunk.js +0 -1
  490. package/dist/scripts/5171-926c0772a6-lite.chunk.js +0 -1
  491. package/dist/scripts/519-5dff99c40b-lite.chunk.js +0 -1
  492. package/dist/scripts/5229-13ee2bf768-lite.chunk.js +0 -1
  493. package/dist/scripts/5268-029905c5f0-lite.chunk.js +0 -2
  494. package/dist/scripts/5271-1df4d9d742-lite.chunk.js +0 -1
  495. package/dist/scripts/528-bc970ef53c-lite.chunk.js +0 -1
  496. package/dist/scripts/5291-ca756f9f8a-lite.chunk.js +0 -1
  497. package/dist/scripts/5385-a2451e3eec-lite.chunk.js +0 -1
  498. package/dist/scripts/5512-82edf40ee3-lite.chunk.js +0 -1
  499. package/dist/scripts/5590-f5dbe096c3-lite.chunk.js +0 -1
  500. package/dist/scripts/5595-99e11127bb-lite.chunk.js +0 -1
  501. package/dist/scripts/5606-486a41d299-lite.chunk.js +0 -1
  502. package/dist/scripts/5622-7b29606856-lite.chunk.js +0 -2
  503. package/dist/scripts/5659-92c6bf622e-lite.chunk.js +0 -1
  504. package/dist/scripts/5776-27f15a637f-lite.chunk.js +0 -1
  505. package/dist/scripts/5823-480e485fdb-lite.chunk.js +0 -1
  506. package/dist/scripts/5877-e318dacbf1-lite.chunk.js +0 -1
  507. package/dist/scripts/5914-3162035c4e-lite.chunk.js +0 -1
  508. package/dist/scripts/5974-107738ce13-lite.chunk.js +0 -1
  509. package/dist/scripts/6057-dd865f2846-lite.chunk.js +0 -1
  510. package/dist/scripts/6117-fae9185071-lite.chunk.js +0 -1
  511. package/dist/scripts/615-50555390cc-lite.chunk.js +0 -1
  512. package/dist/scripts/6154-107ea02e45-lite.chunk.js +0 -1
  513. package/dist/scripts/6158-4bdb28b41e-lite.chunk.js +0 -1
  514. package/dist/scripts/6159-2111108b27-lite.chunk.js +0 -1
  515. package/dist/scripts/6274-723129c5c6-lite.chunk.js +0 -1
  516. package/dist/scripts/6285-4808d8e6db-lite.chunk.js +0 -1
  517. package/dist/scripts/6290-8204f439c2-lite.chunk.js +0 -1
  518. package/dist/scripts/6302-6690979e80-lite.chunk.js +0 -1
  519. package/dist/scripts/6330-1a2cb669fa-lite.chunk.js +0 -1
  520. package/dist/scripts/6368-8532bb9df5-lite.chunk.js +0 -1
  521. package/dist/scripts/6370-a15bddb981-lite.chunk.js +0 -1
  522. package/dist/scripts/6407-651ccf60e3-lite.chunk.js +0 -1
  523. package/dist/scripts/6450-6e367c2ef3-lite.chunk.js +0 -1
  524. package/dist/scripts/6465-3b025df7ce-lite.chunk.js +0 -1
  525. package/dist/scripts/6480-126763c9bc-lite.chunk.js +0 -1
  526. package/dist/scripts/6493-8957a82163-lite.chunk.js +0 -1
  527. package/dist/scripts/6532-04ba86364b-lite.chunk.js +0 -1
  528. package/dist/scripts/6572-8800413390-lite.chunk.js +0 -1
  529. package/dist/scripts/6604-968eb39831-lite.chunk.js +0 -1
  530. package/dist/scripts/6662-0cdefe8716-lite.chunk.js +0 -1
  531. package/dist/scripts/6689-bf6b056ced-lite.chunk.js +0 -1
  532. package/dist/scripts/6702-bbebb7030e-lite.chunk.js +0 -1
  533. package/dist/scripts/6788-e7ccd0d5a6-lite.chunk.js +0 -1
  534. package/dist/scripts/6817-bed9ca6833-lite.chunk.js +0 -1
  535. package/dist/scripts/6821-dd1c07bb4f-lite.chunk.js +0 -1
  536. package/dist/scripts/6822-15e9977d1f-lite.chunk.js +0 -1
  537. package/dist/scripts/6866-6824b66ebf-lite.chunk.js +0 -1
  538. package/dist/scripts/6873-24746fa2b4-lite.chunk.js +0 -1
  539. package/dist/scripts/689-076f4dd986-lite.chunk.js +0 -1
  540. package/dist/scripts/6913-f2a9eea63b-lite.chunk.js +0 -1
  541. package/dist/scripts/6930-4c28b4f509-lite.chunk.js +0 -1
  542. package/dist/scripts/6957-058e2001c4-lite.chunk.js +0 -1
  543. package/dist/scripts/7030-041896252c-lite.chunk.js +0 -2
  544. package/dist/scripts/7045-8f704951d9-lite.chunk.js +0 -1
  545. package/dist/scripts/7052-0a94f7b10e-lite.chunk.js +0 -2
  546. package/dist/scripts/7056-b5cd72d1b8-lite.chunk.js +0 -1
  547. package/dist/scripts/7108-0f6adbabf0-lite.chunk.js +0 -1
  548. package/dist/scripts/7112-ec1031994e-lite.chunk.js +0 -2
  549. package/dist/scripts/7115-ca20dcea0a-lite.chunk.js +0 -1
  550. package/dist/scripts/7128-1ee42ef21c-lite.chunk.js +0 -1
  551. package/dist/scripts/714-7d4a73ae45-lite.chunk.js +0 -1
  552. package/dist/scripts/7172-f8288f9f70-lite.chunk.js +0 -1
  553. package/dist/scripts/7178-7389623a5a-lite.chunk.js +0 -1
  554. package/dist/scripts/7205-4c232d2ac0-lite.chunk.js +0 -1
  555. package/dist/scripts/7221-dab37ddabe-lite.chunk.js +0 -2
  556. package/dist/scripts/7286-cb1923e134-lite.chunk.js +0 -1
  557. package/dist/scripts/7288-e945b5adc9-lite.chunk.js +0 -1
  558. package/dist/scripts/7293-e20274d243-lite.chunk.js +0 -1
  559. package/dist/scripts/7332-7bfaeba358-lite.chunk.js +0 -1
  560. package/dist/scripts/7338-a11845d2a6-lite.chunk.js +0 -1
  561. package/dist/scripts/7385-c433287c92-lite.chunk.js +0 -1
  562. package/dist/scripts/7409-8a76274449-lite.chunk.js +0 -1
  563. package/dist/scripts/7432-d4e8bef2f4-lite.chunk.js +0 -1
  564. package/dist/scripts/7484-6bc5cab7dd-lite.chunk.js +0 -1
  565. package/dist/scripts/7506-84f4593d4e-lite.chunk.js +0 -1
  566. package/dist/scripts/754-b54addb690-lite.chunk.js +0 -1
  567. package/dist/scripts/7540-fabe7ac275-lite.chunk.js +0 -1
  568. package/dist/scripts/7555-4d6b6eda04-lite.chunk.js +0 -1
  569. package/dist/scripts/7708-f170b2ca80-lite.chunk.js +0 -1
  570. package/dist/scripts/7767-3a6db3d0ec-lite.chunk.js +0 -1
  571. package/dist/scripts/7818-4910db8536-lite.chunk.js +0 -1
  572. package/dist/scripts/7855-23c0238091-lite.chunk.js +0 -1
  573. package/dist/scripts/7888-e721ba550f-lite.chunk.js +0 -1
  574. package/dist/scripts/7925-f5bfc42b6b-lite.chunk.js +0 -1
  575. package/dist/scripts/8025-ebb2a6e951-lite.chunk.js +0 -1
  576. package/dist/scripts/8046-bf50ba7dc9-lite.chunk.js +0 -1
  577. package/dist/scripts/8056-0044639a66-lite.chunk.js +0 -1
  578. package/dist/scripts/811-9575586e7f-lite.chunk.js +0 -1
  579. package/dist/scripts/817-19c50fb9e7-lite.chunk.js +0 -1
  580. package/dist/scripts/823-cb0629ec55-lite.chunk.js +0 -1
  581. package/dist/scripts/8236-06e2326d22-lite.chunk.js +0 -1
  582. package/dist/scripts/8252-82ab60c504-lite.chunk.js +0 -1
  583. package/dist/scripts/8323-aeb803ba70-lite.chunk.js +0 -2
  584. package/dist/scripts/8367-c2e291cfc2-lite.chunk.js +0 -1
  585. package/dist/scripts/8383-84a5223bb5-lite.chunk.js +0 -1
  586. package/dist/scripts/8419-8ddf8d53f5-lite.chunk.js +0 -1
  587. package/dist/scripts/8466-ee3317e095-lite.chunk.js +0 -1
  588. package/dist/scripts/8556-f6d1f3fe46-lite.chunk.js +0 -1
  589. package/dist/scripts/8564-97a9548afd-lite.chunk.js +0 -1
  590. package/dist/scripts/8621-4f47ca7ad9-lite.chunk.js +0 -1
  591. package/dist/scripts/8681-da6e12f2d5-lite.chunk.js +0 -2
  592. package/dist/scripts/872-f2695b16b4-lite.chunk.js +0 -1
  593. package/dist/scripts/8763-30018c2eba-lite.chunk.js +0 -1
  594. package/dist/scripts/8820-192385d246-lite.chunk.js +0 -1
  595. package/dist/scripts/8830-a30a1fab45-lite.chunk.js +0 -1
  596. package/dist/scripts/8873-f8598046db-lite.chunk.js +0 -1
  597. package/dist/scripts/8905-63f31e0b26-lite.chunk.js +0 -1
  598. package/dist/scripts/8935-0d85df691f-lite.chunk.js +0 -2
  599. package/dist/scripts/8944-fa935f6ed4-lite.chunk.js +0 -1
  600. package/dist/scripts/8955-9823de95f3-lite.chunk.js +0 -1
  601. package/dist/scripts/9005-7329883227-lite.chunk.js +0 -1
  602. package/dist/scripts/9016-17e09819a6-lite.chunk.js +0 -1
  603. package/dist/scripts/9038-d071dd25ce-lite.chunk.js +0 -1
  604. package/dist/scripts/9060-5cee4638c6-lite.chunk.js +0 -1
  605. package/dist/scripts/9118-948d6029d3-lite.chunk.js +0 -1
  606. package/dist/scripts/9133-1c2f07cd11-lite.chunk.js +0 -1
  607. package/dist/scripts/9151-049f79d533-lite.chunk.js +0 -1
  608. package/dist/scripts/9226-941d653db1-lite.chunk.js +0 -1
  609. package/dist/scripts/9242-4b15b572db-lite.chunk.js +0 -1
  610. package/dist/scripts/9264-c265dc4e08-lite.chunk.js +0 -1
  611. package/dist/scripts/9273-535bb6b083-lite.chunk.js +0 -1
  612. package/dist/scripts/9325-8200a8eca7-lite.chunk.js +0 -1
  613. package/dist/scripts/9428-f581bbe764-lite.chunk.js +0 -2
  614. package/dist/scripts/9455-cde3c093dc-lite.chunk.js +0 -1
  615. package/dist/scripts/9478-fecaea6d54-lite.chunk.js +0 -2
  616. package/dist/scripts/9484-312aa1531d-lite.chunk.js +0 -2
  617. package/dist/scripts/9674-cd38b69de3-lite.chunk.js +0 -1
  618. package/dist/scripts/9714-d0bcd64c24-lite.chunk.js +0 -1
  619. package/dist/scripts/9744-49217aba0f-lite.chunk.js +0 -1
  620. package/dist/scripts/9798-cf0181fd79-lite.chunk.js +0 -1
  621. package/dist/scripts/9843-9f510ac1c1-lite.chunk.js +0 -1
  622. package/dist/scripts/9880-c7ad9079c0-lite.chunk.js +0 -1
  623. package/dist/scripts/9894-75159b2fc0-lite.chunk.js +0 -2
  624. package/dist/scripts/9899-e695d8ad4c-lite.chunk.js +0 -1
  625. package/dist/scripts/9931-08cf05b177-lite.chunk.js +0 -2
  626. package/dist/scripts/9961-62c9f288a2-lite.chunk.js +0 -1
  627. package/dist/scripts/bundle-3796712273.min.js +0 -2
  628. package/dist/scripts/bundle-3796712273.min.js.LICENSE.txt +0 -129
  629. package/dist/scripts/bundle-88ea810319.min.js +0 -2
  630. package/dist/scripts/bundle-88ea810319.min.js.LICENSE.txt +0 -129
  631. package/dist/scripts/polyfills-02090a38a6.min.js.LICENSE.txt +0 -1
  632. /package/dist/css/{5606-lite-0018feda9c.chunk.css → 1090-lite-0018feda9c.chunk.css} +0 -0
  633. /package/dist/css/{8944-lite-74cb244872.chunk.css → 147-lite-74cb244872.chunk.css} +0 -0
  634. /package/dist/css/{5143-lite-f1ca87e9ff.chunk.css → 156-lite-f1ca87e9ff.chunk.css} +0 -0
  635. /package/dist/css/{3200-lite-740e4cbd6f.chunk.css → 1891-lite-740e4cbd6f.chunk.css} +0 -0
  636. /package/dist/css/{7422-lite-22ea72f8e3.chunk.css → 1977-lite-22ea72f8e3.chunk.css} +0 -0
  637. /package/dist/css/{5134-lite-8c9306617b.chunk.css → 5983-lite-8c9306617b.chunk.css} +0 -0
  638. /package/dist/css/{7332-lite-abb86816df.chunk.css → 7341-lite-abb86816df.chunk.css} +0 -0
  639. /package/dist/css/{1672-lite-89fe5c9fc1.chunk.css → 7950-lite-89fe5c9fc1.chunk.css} +0 -0
  640. /package/dist/css/{209-lite-6554428c5a.chunk.css → 8516-lite-6554428c5a.chunk.css} +0 -0
  641. /package/dist/css/{1291-lite-a68f192c18.chunk.css → 8627-lite-a68f192c18.chunk.css} +0 -0
  642. /package/dist/scripts/{1366-666ef709a1-lite.chunk.js.LICENSE.txt → 1200-f30709bde3-lite.chunk.js.LICENSE.txt} +0 -0
  643. /package/dist/scripts/{1354-33c5905ae6-lite.chunk.js.LICENSE.txt → 1354-adb83a2eaa-lite.chunk.js.LICENSE.txt} +0 -0
  644. /package/dist/scripts/{1592-aa2bc45d63-lite.chunk.js.LICENSE.txt → 1366-c65306205c-lite.chunk.js.LICENSE.txt} +0 -0
  645. /package/dist/scripts/{162-51e28f0e8d-lite.chunk.js.LICENSE.txt → 1592-e5a0fbaee2-lite.chunk.js.LICENSE.txt} +0 -0
  646. /package/dist/scripts/{1672-2a6d69b169-lite.chunk.js.LICENSE.txt → 162-64b366f2d0-lite.chunk.js.LICENSE.txt} +0 -0
  647. /package/dist/scripts/{7422-8f60c3028d-lite.chunk.js.LICENSE.txt → 1977-7e46c81a05-lite.chunk.js.LICENSE.txt} +0 -0
  648. /package/dist/scripts/{2066-f1ee632b62-lite.chunk.js.LICENSE.txt → 2066-2448ffab36-lite.chunk.js.LICENSE.txt} +0 -0
  649. /package/dist/scripts/{2118-a281da36fd-lite.chunk.js.LICENSE.txt → 2118-26ae54c3db-lite.chunk.js.LICENSE.txt} +0 -0
  650. /package/dist/scripts/{3602-c5f7a74c8b-lite.chunk.js.LICENSE.txt → 3602-7fb236937c-lite.chunk.js.LICENSE.txt} +0 -0
  651. /package/dist/scripts/{3645-86f0ed022f-lite.chunk.js.LICENSE.txt → 3645-ccb3557f33-lite.chunk.js.LICENSE.txt} +0 -0
  652. /package/dist/scripts/{3667-c5b8a096c2-lite.chunk.js.LICENSE.txt → 3667-6261d6a482-lite.chunk.js.LICENSE.txt} +0 -0
  653. /package/dist/scripts/{3789-4cb6d829f6-lite.chunk.js.LICENSE.txt → 4657-5482d930f8-lite.chunk.js.LICENSE.txt} +0 -0
  654. /package/dist/scripts/{4657-da41ee610c-lite.chunk.js.LICENSE.txt → 4676-d33096ed1d-lite.chunk.js.LICENSE.txt} +0 -0
  655. /package/dist/scripts/{4676-adc55dfa15-lite.chunk.js.LICENSE.txt → 4942-d89ef696ed-lite.chunk.js.LICENSE.txt} +0 -0
  656. /package/dist/scripts/{4942-9db184d708-lite.chunk.js.LICENSE.txt → 5268-b63ac1972e-lite.chunk.js.LICENSE.txt} +0 -0
  657. /package/dist/scripts/{5009-9e45034def-lite.chunk.js.LICENSE.txt → 5622-080218eb5e-lite.chunk.js.LICENSE.txt} +0 -0
  658. /package/dist/scripts/{2678-b53d60e821-lite.chunk.js.LICENSE.txt → 6823-22b0850abc-lite.chunk.js.LICENSE.txt} +0 -0
  659. /package/dist/scripts/{5268-029905c5f0-lite.chunk.js.LICENSE.txt → 6896-79fa541f46-lite.chunk.js.LICENSE.txt} +0 -0
  660. /package/dist/scripts/{691-670cb6f7e6-lite.chunk.js.LICENSE.txt → 691-1a7a29fb40-lite.chunk.js.LICENSE.txt} +0 -0
  661. /package/dist/scripts/{5622-7b29606856-lite.chunk.js.LICENSE.txt → 7017-76adb0abdc-lite.chunk.js.LICENSE.txt} +0 -0
  662. /package/dist/scripts/{6896-75b32c41e8-lite.chunk.js.LICENSE.txt → 7030-e6f622a775-lite.chunk.js.LICENSE.txt} +0 -0
  663. /package/dist/scripts/{7017-35c73244a6-lite.chunk.js.LICENSE.txt → 7052-b5ffd3e5ae-lite.chunk.js.LICENSE.txt} +0 -0
  664. /package/dist/scripts/{7030-041896252c-lite.chunk.js.LICENSE.txt → 7112-72e5351e87-lite.chunk.js.LICENSE.txt} +0 -0
  665. /package/dist/scripts/{7052-0a94f7b10e-lite.chunk.js.LICENSE.txt → 7221-7c2e4bd2cf-lite.chunk.js.LICENSE.txt} +0 -0
  666. /package/dist/scripts/{7112-ec1031994e-lite.chunk.js.LICENSE.txt → 7515-1fa9993684-lite.chunk.js.LICENSE.txt} +0 -0
  667. /package/dist/scripts/{7221-dab37ddabe-lite.chunk.js.LICENSE.txt → 7950-057729fd3f-lite.chunk.js.LICENSE.txt} +0 -0
  668. /package/dist/scripts/{8323-aeb803ba70-lite.chunk.js.LICENSE.txt → 8323-249c45a20e-lite.chunk.js.LICENSE.txt} +0 -0
  669. /package/dist/scripts/{8681-da6e12f2d5-lite.chunk.js.LICENSE.txt → 8681-5190c78b95-lite.chunk.js.LICENSE.txt} +0 -0
  670. /package/dist/scripts/{8935-0d85df691f-lite.chunk.js.LICENSE.txt → 9194-c255b66c7c-lite.chunk.js.LICENSE.txt} +0 -0
  671. /package/dist/scripts/{9428-f581bbe764-lite.chunk.js.LICENSE.txt → 9428-5917cd7b0a-lite.chunk.js.LICENSE.txt} +0 -0
  672. /package/dist/scripts/{9478-fecaea6d54-lite.chunk.js.LICENSE.txt → 9478-e817a33a69-lite.chunk.js.LICENSE.txt} +0 -0
  673. /package/dist/scripts/{9484-312aa1531d-lite.chunk.js.LICENSE.txt → 9484-6e93df7581-lite.chunk.js.LICENSE.txt} +0 -0
  674. /package/dist/scripts/{9894-75159b2fc0-lite.chunk.js.LICENSE.txt → 9931-bf2f253ffe-lite.chunk.js.LICENSE.txt} +0 -0
  675. /package/dist/scripts/{9931-08cf05b177-lite.chunk.js.LICENSE.txt → polyfills-5c0684cd85.min.js.LICENSE.txt} +0 -0
@@ -1,2 +0,0 @@
1
- /*! For license information please see 4657-da41ee610c-lite.chunk.js.LICENSE.txt */
2
- "use strict";(self.webpackChunk_clickview_lite=self.webpackChunk_clickview_lite||[]).push([[4657],{42328:(t,e,r)=>{r.d(e,{w:()=>a});var n=r(32735);function o(){return n.createElement("svg",{viewBox:"0 0 24 24"},n.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 a=n.forwardRef((function(t,e){var r=t.onClickClear,a=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 n.createElement("div",{className:"position-relative"},n.createElement("input",Object.assign({},i,{ref:e,className:"".concat(t.className," ").concat("aYpO7")})),(!!t.value||a)&&n.createElement("span",{className:"".concat("ygMgF"," position-absolute cursor-pointer text-muted"),role:"button",onClick:r},n.createElement("div",{className:"d-inline-block svg-container md"},n.createElement(o,null))))}))},12594:(t,e,r)=>{r.d(e,{h:()=>en});var n=r(32735),o=r(57900),a=r(49985),i=r(74254),c=r(42328),l=["Teacher","Librarian","Curriculum Coordinator","Digital Technology Coordinator","IT","Head of Department","Head of Subject","Deputy Principal","Principal"],u=["Teacher","Librarian","Head of department","Subject lead","Curriculum coordinator","School leadership","District leadership","Academic coach","Instructional technology specialist","Consortium leadership","IT"],s={au:l,nz:l,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:u};function f(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 p(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)?p(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 p(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 h="OTHER";function d(t){var e=t.error,r=t.onChange,o=t.countryCode,a=f(n.useState(""),2),i=a[0],c=a[1],l=f(n.useState(""),2),p=l[0],d=l[1],y=function(t){return s[t]||u}(o),m=i===h;return n.createElement(n.Fragment,null,n.createElement("div",{className:"mb-2"},n.createElement("select",{id:t.id,name:t.id,className:"form-select form-select-lg ".concat(i.length?"text-dark":"text-secondary"," ").concat(!!e&&"is-invalid"),value:i,placeholder:"Role",onChange:function(t){c(t.target.value),d(""),r(t.target.value===h?"":t.target.value)}},n.createElement("option",{value:"",disabled:!0,className:"text-muted"},"What do you do?"),y.map((function(t,e){return n.createElement("option",{value:t,className:"text-dark",key:e},t)})),n.createElement("option",{value:h,className:"text-dark"},"Other")),!!e&&!m&&n.createElement("div",{className:"invalid-feedback"},e)),m&&n.createElement("div",{className:"mb-3"},n.createElement("input",{className:"form-control form-control-lg ".concat(!!e&&"is-invalid"),type:"text",value:p,placeholder:"What do you do?",autoFocus:!0,onChange:function(t){d(t.target.value),r(t.target.value)}}),!!e&&n.createElement("div",{className:"invalid-feedback"},e)))}var y,m,v,g=r(86664),b=r(2102);function w(t){return w="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},w(t)}function E(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 S(t){var e,r,o,a,i,l,u,s,f,p=(s=n.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 E(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)?E(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],y=p[1];function m(t,e){y((function(r){return Object.assign(Object.assign({},r),function(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==w(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==w(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===w(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 n.createElement("div",{className:"text-center"},n.createElement("h1",{className:"text-center h4"},"A little more about you"),n.createElement("p",null,"Please enter your details."),n.createElement("form",{onSubmit:function(e){e.preventDefault(),t.handleSubmitForm(h)}},n.createElement("div",{className:"form-group text-start"},n.createElement("label",{className:"d-block fw-bold mb-1",htmlFor:"fullname-input"},"Full name"),n.createElement(c.w,{value:h.fullname,onChange:function(e){e.preventDefault(),m("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(){m("fullname",""),t.removeErrorForKey("fullname"),t.removeErrorForKey("submission")},autoFocus:!0}),t.errors.fullname&&n.createElement("div",{className:"invalid-feedback d-block"},t.errors.fullname)),n.createElement("div",{className:"form-group text-start"},n.createElement("label",{className:"d-block fw-bold mb-1",htmlFor:"phone-input"},"Contact number"),n.createElement(c.w,{value:h.phone,onChange:function(e){e.preventDefault(),m("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(){m("phone",""),t.removeErrorForKey("phone"),t.removeErrorForKey("submission")}}),t.errors.phone&&n.createElement("div",{className:"invalid-feedback d-block"},t.errors.phone)),n.createElement("div",{className:"form-group text-start"},n.createElement("label",{className:"d-block fw-bold mb-1",htmlFor:"jobTitle-select"},"Job title"),n.createElement(d,{id:"jobTitle-select",countryCode:g.I.getCountryCode(t.country),onChange:function(e){m("jobTitle",e),t.removeErrorForKey("jobTitle"),t.removeErrorForKey("submission")},error:null===(o=t.errors)||void 0===o?void 0:o.jobTitle})),!!(null===(a=t.errors)||void 0===a?void 0:a.submission)&&n.createElement("div",{className:"form-group invalid-feedback d-block"},t.errors.submission),n.createElement("div",{className:"form-group mb-1"},n.createElement(b.m,{className:"btn btn-dark btn-lg w-100",onClick:function(){return t.handleSubmitForm(h)},showSpinner:t.loading,disabled:t.loading||(i=h.fullname,l=h.jobTitle,u=h.phone,!(i.length&&l.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"}(y||(y={})),function(t){t.InvalidEmail="invalid-email"}(m||(m={})),function(t){t.Staff="staff",t.Learner="learner"}(v||(v={}));var x,L=r(63093),j=r(33003),k=r.n(j),C=r(84789);function O(t){return O="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},O(t)}function N(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 A(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)?A(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 A(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 P(){P=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 I(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",y="completed",m={};function v(){}function g(){}function b(){}var w={};u(w,i,(function(){return this}));var E=Object.getPrototypeOf,S=E&&E(E(T([])));S&&S!==r&&n.call(S,i)&&(w=S);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"==O(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===y){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=C(c,n);if(l){if(l===m)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===p)throw o=y,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?y:h,u.arg===m)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(o=y,n.method="throw",n.arg=u.arg)}}}function C(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,C(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),m;var a=f(o,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,m;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,m):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,m)}function N(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 I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(N,this),this.reset(!0)}function T(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(O(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=T,I.prototype={constructor:I,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,m):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),m},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),m}},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:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),m}},e}function I(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==O(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==O(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===O(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var T={k12:"Primary & Secondary"},_={england:"ENG",scotland:"SCT",wales:"WLS","northern ireland":"NIR"},U=(I(x={},C.X.Auth,"auth.web"),I(x,C.X.Lite,"lite.web"),x),F={getClient:function(t){var e,r,n,o,a,i;return n=this,o=void 0,a=void 0,i=P().mark((function n(){var o,a,i,c,l,u;return P().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return o=t.brazeConfig,a=t.geoLocation,i=t.version,c=o[g.I.getInstanceRegion(null==a?void 0:a.countryCode)],l=U[t.productName],u=(0,L.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 k().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=N(t,2)[1];return null!=e&&!("string"==typeof e&&!e.length)})).reduce((function(t,e){var r=N(e,2),n=r[0],o=r[1];return Object.assign(Object.assign({},t),I({},n,o===Object(o)?F.removeEmptyKeys(o):o))}),{})},getEventTopic:function(){return"Free Trial Request"},getCustomEventType:function(){return L.ProductFormEvent.ProductTrailRequested},getProductFormEventType:function(){return"product_form_submission"},getSchoolType:function(t){if(t){var e=t.toLowerCase();if(!["unknown","other"].includes(e))return T[e]||t}},parseProvince:function(t){return t.length?_[t.toLowerCase()]||t:""}};function G(t){return G="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},G(t)}function D(){D=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 A(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",y="completed",m={};function v(){}function g(){}function b(){}var w={};u(w,i,(function(){return this}));var E=Object.getPrototypeOf,S=E&&E(E(P([])));S&&S!==r&&n.call(S,i)&&(w=S);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"==G(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===y){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=C(c,n);if(l){if(l===m)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===p)throw o=y,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?y:h,u.arg===m)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(o=y,n.method="throw",n.arg=u.arg)}}}function C(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,C(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),m;var a=f(o,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,m;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,m):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,m)}function O(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 N(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function A(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,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(G(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,A.prototype={constructor:A,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(N),!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,m):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),m},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),N(r),m}},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;N(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),m}},e}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)||function(t,e){if(t){if("string"==typeof t)return M(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)?M(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 M(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 K=255,Y=/\$+[\w\s]?/,z=/^\+?\d{4,255}$/;function q(t){if(!t)return{firstName:"",surname:""};var e=t.split(" ").filter((function(t){return t.length}));return{firstName:e.shift(),surname:e.join(" ")}}var V=r(65858),B=r(45157),$=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 H="__googleMapsScriptId";var Z;!function(t){t[t.INITIALIZED=0]="INITIALIZED",t[t.LOADING=1]="LOADING",t[t.SUCCESS=2]="SUCCESS",t[t.FAILURE=3]="FAILURE"}(Z||(Z={}));class J{constructor({apiKey:t,authReferrerPolicy:e,channel:r,client:n,id:o=H,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||H,this.language=a,this.libraries=i,this.mapIds=c,this.nonce=l,this.region=u,this.retries=s,this.url=f,this.version=p,J.instance){if(!$(this.options,J.instance.options))throw new Error(`Loader must not be called again with different options. ${JSON.stringify(this.options)} !== ${JSON.stringify(J.instance.options)}`);return J.instance}J.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?Z.FAILURE:this.done?Z.SUCCESS:this.loading?Z.LOADING:Z.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 W(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 X(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)?X(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 X(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 Q(t){return new J({apiKey:t.apiKey,version:"weekly",libraries:t.libraries,retries:3})}function tt(t){var e={apiKey:t.apiKey,libraries:t.libraries||["places"]},r=W(n.useState(!1),2),o=r[0],a=r[1],i=W(n.useState(Q(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(Q(e))}return n.useEffect((function(){u()}),[]),{loader:c,scriptLoaded:o,onGoogleApiReady:u}}function et(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 rt(t){var e,r,o=tt({apiKey:t.googleApiKey}).scriptLoaded,a=(e=n.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 et(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)?et(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 n.useEffect((function(){o&&c(new google.maps.places.AutocompleteService)}),[o]),i}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}var ot="us",at="country:placeholder:text";function it(t){var e,r,a=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=rt({googleApiKey:a}),d=n.useState((function(){return function(t){var e=g.I.getLocalizedLocalityPlaceholderText(null==t?void 0:t.countryCode);return e||(o.SG.cacheGet("".concat(at,":").concat(null==t?void 0:t.countryCode))||void 0)}(i)})),y=(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 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}}(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.")}()),m=y[0],v=y[1];function b(t,e){o.SG.cacheSet("".concat(at,":").concat(e),t,86400),v(t)}return n.useEffect((function(){if(!m&&h&&l){var t=(null==i?void 0:i.countryCode)||ot,e={input:String.fromCharCode(96+B.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[B.Y.getRandomInt(t.length)].description;b(s.replace(p,n),r)}else b(g.I.getLocalizedLocalityPlaceholderText(ot),r)}(e,r,t)}))}}),[m,h,i,l]),m}function ct(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 lt(t){var e,r,o=(e=n.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 ct(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)?ct(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=o[0],i=o[1],c=n.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 ut(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 st(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?st(t,e):void 0}}(t))||e&&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 st(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var ft=function(t){var e,r,n,o,a,i=t.formatted_address,c=ut(t.address_components);try{for(c.s();!(a=c.n()).done;){var l,u=a.value,s=ut(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 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}var ht={1:"geocoderPermissionDenied",2:"geocoderUnavailable",3:"geocoderTimeout"},dt=r(28329);function yt(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 mt=r(11607);function vt(){return n.createElement("svg",{viewBox:"0 0 24 24"},n.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 gt={baseText:"KL3Q_",inputFocused:"I6wQy",input:"ChY5L",suggestionContainer:"Y78ea",noBottomBorder:"IeYUw",localitySuggestion:"P3aHR",suggestionItem:"magL7",suggestionLoading:"W7rH_",noSuggestion:"XXSnS",selected:"snnHR"};function bt(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 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}}(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 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}function Et(t){var e=t.predictions,r=t.getPlaceInfo,o=t.selectedIndex;return n.createElement(n.Fragment,null,e.map((function(t,e){return n.createElement(mt.L,{className:"".concat(gt.suggestionItem," ").concat(o-1===e?gt.selected:""),key:t.place_id,onClick:function(){return r(t)}},t.description)})))}function St(t){var e,r,o,a,i,l,u=n.useRef(),s=bt(n.useState((null===(e=t.data)||void 0===e?void 0:e.schoolLocality)||""),2),f=s[0],p=s[1],h=bt(n.useState(!1),2),d=h[0],y=h[1],m=it({apiKey:t.googleMapsApiKey,geoLocation:t.geoLocation}),v=function(t){var e,r,o=t.search,a=t.makePredicition,i=t.geoLocation,c=rt({googleApiKey:t.apiKey}),l=(0,dt.N)(o,300),u=(e=n.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 yt(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)?yt(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 n.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=ft(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,o=(e=n.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 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=o[0],i=o[1],c=tt(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=ft(o);i(Object.assign(Object.assign({},a),{longitude:n,latitude:r}))}}))}function u(e){var r=ht[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){y(!0),A(t)}}),E=w.placeDetails,S=w.onClickGetCurrentLocation,x=window.navigator.geolocation?1:0,L=lt({onSelected:function(t){if(g)if(t!==g.length){var e=g[t];e&&T(e)}else _()},itemCount:null!==(r=(null==g?void 0:g.length)+x)&&void 0!==r?r:0}),j=L.selectedIndex,k=L.onKeyDown,C=L.containerRef,O=bt(n.useState(),2),N=O[0],A=O[1];function P(e){var r,n,o;N&&A(void 0),d||y(!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 I(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 T(t){d&&y(!1),b(t,u,I)}function _(e){null==e||e.preventDefault(),y(!1),S(),t.logUserAction({},{actionType:V.Vw.Click,descriptor:V.Yu.UseMyLocation})}n.useEffect((function(){I(E)}),[E]);var U,F=(null==g?void 0:g.length)&&!(null===(a=null===(o=t.data)||void 0===o?void 0:o.schoolLocality)||void 0===a?void 0:a.length),G=window.navigator.geolocation&&!(null===(l=null===(i=t.data)||void 0===i?void 0:i.schoolLocality)||void 0===l?void 0:l.length),D=t.labelClassName||"d-block text-center mb-3 fw-normal ".concat(gt.baseText);return n.createElement("div",{className:"form-group position-relative"},n.createElement("label",{className:D,htmlFor:"locality-input"},"Postcode or suburb:"),n.createElement(c.w,{type:"text",value:f,onChange:function(t){return P(t.currentTarget.value)},id:"locality-input",className:(U="form-control form-control-lg",F?"".concat(U," ").concat(gt.inputFocused):"".concat(U," ").concat(gt.input)),ref:u,autoComplete:"off",placeholder:m||"Loading...",disabled:t.disabled||!m,autoFocus:null==t?void 0:t.autoFocus,onClickClear:function(){P(""),u.current.focus()},onKeyDown:k}),n.createElement("div",{className:"position-absolute w-100"},!!F&&n.createElement("div",{className:"".concat(gt.suggestionContainer," ").concat(gt.localitySuggestion),ref:C},n.createElement(Et,{predictions:g,getPlaceInfo:T,selectedIndex:j}),window.navigator.geolocation&&n.createElement(mt.L,{className:"".concat(gt.suggestionItem," px-1 ").concat(j-1===g.length?gt.selected:""),onClick:_},n.createElement("div",{className:"btn btn-link info-link btn-with-icon bg-transparent py-0 pe-1"},n.createElement(vt,null),"Use my current location"))),G&&!F&&n.createElement("div",{className:"d-flex"},n.createElement("button",{onClick:_,className:"btn btn-link info-link bg-white btn-with-icon"},n.createElement(vt,null),"Use my current location")),!!N&&n.createElement("div",{className:"text-danger p-2"},N)))}var xt=r(99940);function Lt(t){return Lt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Lt(t)}function jt(t){var e="function"==typeof Map?new Map:void 0;return jt=function(t){if(null===t||!function(t){try{return-1!==Function.toString.call(t).indexOf("[native code]")}catch(e){return"function"==typeof t}}(t))return t;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,r)}function r(){return kt(t,arguments,Nt(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),Ot(r,t)},jt(t)}function kt(t,e,r){return kt=Ct()?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&&Ot(o,r.prototype),o},kt.apply(null,arguments)}function Ct(){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 Ot(t,e){return Ot=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},Ot(t,e)}function Nt(t){return Nt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Nt(t)}var At=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&&Ot(t,e)}(a,t);var e,r,n,o=(r=a,n=Ct(),function(){var t,e=Nt(r);if(n){var o=Nt(this).constructor;t=Reflect.construct(e,arguments,o)}else t=e.apply(this,arguments);return function(t,e){if(e&&("object"===Lt(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}(jt(Error));function Pt(t){return Pt="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},Pt(t)}function It(){It=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 A(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",y="completed",m={};function v(){}function g(){}function b(){}var w={};u(w,i,(function(){return this}));var E=Object.getPrototypeOf,S=E&&E(E(P([])));S&&S!==r&&n.call(S,i)&&(w=S);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"==Pt(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===y){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=C(c,n);if(l){if(l===m)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===p)throw o=y,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?y:h,u.arg===m)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(o=y,n.method="throw",n.arg=u.arg)}}}function C(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,C(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),m;var a=f(o,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,m;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,m):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,m)}function O(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 N(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function A(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,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(Pt(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,A.prototype={constructor:A,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(N),!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,m):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),m},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),N(r),m}},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;N(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),m}},e}var Tt=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 _t(t){var e={method:xt.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===xt.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 Ut={asyncFetch:function(t){return Tt(this,void 0,void 0,It().mark((function e(){var r,n,o;return It().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=_t(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 At(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 Tt(this,void 0,void 0,It().mark((function e(){var r,n;return It().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=_t(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=_t(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 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 A(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",y="completed",m={};function v(){}function g(){}function b(){}var w={};u(w,i,(function(){return this}));var E=Object.getPrototypeOf,S=E&&E(E(P([])));S&&S!==r&&n.call(S,i)&&(w=S);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===y){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=C(c,n);if(l){if(l===m)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===p)throw o=y,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?y:h,u.arg===m)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(o=y,n.method="throw",n.arg=u.arg)}}}function C(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,C(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),m;var a=f(o,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,m;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,m):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,m)}function O(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 N(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function A(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,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,A.prototype={constructor:A,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(N),!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,m):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),m},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),N(r),m}},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;N(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),m}},e}var Dt,Rt={search:function(t,e,r,n,o){var a={longitude:e.longitude,latitude:e.latitude};e.query&&(a.query=e.query),Ut.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=Gt().mark((function r(){return Gt().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",Ut.asyncFetch({url:t.createProspect,method:xt.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 Ut.asyncFetch({url:t.prospectLookups(e)})}},Mt=r(97395),Kt=function(t,e){if(t.productName!==C.X.Lite)return Promise.reject();var r={email:e.email};return Ut.asyncFetch({url:t.userStatus,data:r})},Yt=function(t,e,r,n,o){var a=t.prospectStatus(e.prospectId);a=Mt._.urlBuilder(a,{email:e.email}),Ut.fetch({url:a,success:r,error:n,always:o})},zt=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 Ut.asyncFetch({url:t.createTrial,method:xt.k.POST,data:r})},qt=function(t,e,r){if(t.productName!==C.X.Lite)return Promise.reject();var n={email:r.email,appLink:null==r?void 0:r.appLink};return Ut.asyncFetch({url:t.resendTrialEmail(e),method:xt.k.POST,data:n})},Vt=function(t,e){var r=t.productName===C.X.Auth?t.joinRequest:t.joinRequest(e.customerId),n=t.productName===C.X.Auth?e:{email:e.email};return Ut.asyncFetch({url:r,method:xt.k.POST,data:n})},Bt=function(t,e){return t.productName!==C.X.Lite?Promise.reject():Ut.asyncFetch({url:t.autoJoin,method:xt.k.POST,data:e})};!function(t){t.FourteenDays="trial_14_v1",t.Freemium="freemium_v1"}(Dt||(Dt={}));var $t=function(t){return g.I.isCountryCodeUS(t)||g.I.isCountryCodeUK(t)?Dt.Freemium:Dt.FourteenDays};function Ht(t){return Ht="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ht(t)}function 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 A(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",y="completed",m={};function v(){}function g(){}function b(){}var w={};u(w,i,(function(){return this}));var E=Object.getPrototypeOf,S=E&&E(E(P([])));S&&S!==r&&n.call(S,i)&&(w=S);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"==Ht(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===y){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=C(c,n);if(l){if(l===m)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===p)throw o=y,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?y:h,u.arg===m)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(o=y,n.method="throw",n.arg=u.arg)}}}function C(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,C(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),m;var a=f(o,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,m;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,m):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,m)}function O(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 N(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function A(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,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(Ht(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,A.prototype={constructor:A,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(N),!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,m):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),m},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),N(r),m}},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;N(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),m}},e}function Jt(t){var e={prospect_id:null==t?void 0:t.prospectId,email:null==t?void 0:t.email,organisation_sub_type:F.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,sync_to_crm:!0,form_type:null==t?void 0:t.form_type};return F.removeEmptyKeys(e)}var Wt,Xt={submitFormEvent:function(t,e,r,n){return o=this,a=void 0,i=void 0,c=Zt().mark((function o(){var a,i;return Zt().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,F.getClient({brazeConfig:t.brazeConfig,productName:t.productName,geoLocation:t.geoLocation,version:t.version});case 2:a=o.sent,i=Jt(Object.assign(Object.assign({},r),{form_type:e})),a.openSession(),a.setUser(F.hashedEmail(null==r?void 0:r.email)),a.logEvent({type:F.getProductFormEventType(),data:i}),a.sendData(n);case 8:case"end":return o.stop()}}),o)})),new(i||(i=Promise))((function(t,e){function r(t){try{l(c.next(t))}catch(t){e(t)}}function n(t){try{l(c.throw(t))}catch(t){e(t)}}function l(e){var o;e.done?t(e.value):(o=e.value,o instanceof i?o:new i((function(t){t(o)}))).then(r,n)}l((c=c.apply(o,a||[])).next())}));var o,a,i,c}},Qt=["Primary","Secondary","K12","Special","TAFE","University"],te=["Elementary","Middle School","High School","College","Other"],ee={au:Qt,nz:Qt,uk:["Primary","Secondary","Primary & Secondary","Special","Sixth Form College","FE College","University","Other"],us:te};function re(t){return re="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},re(t)}function ne(){ne=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 A(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",y="completed",m={};function v(){}function g(){}function b(){}var w={};u(w,i,(function(){return this}));var E=Object.getPrototypeOf,S=E&&E(E(P([])));S&&S!==r&&n.call(S,i)&&(w=S);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"==re(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===y){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=C(c,n);if(l){if(l===m)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===p)throw o=y,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?y:h,u.arg===m)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(o=y,n.method="throw",n.arg=u.arg)}}}function C(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,C(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),m;var a=f(o,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,m;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,m):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,m)}function O(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 N(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function A(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,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(re(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,A.prototype={constructor:A,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(N),!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,m):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),m},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),N(r),m}},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;N(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),m}},e}function oe(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,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(t){t.Published="Published",t.Draft="Draft"}(Wt||(Wt={}));var ie=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 ce(t,e){return e?"".concat(t," ").concat(e):t}var le=function(t){return n.createElement("h1",{className:ce("text-center mb-2 h4",t.className)},t.children)},ue=function(t){return n.createElement("div",{className:ce("text-center text-sm px-2 px-lg-4",t.className)},t.children)},se=function(t){return n.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={},y.Available,t.imageUrls.statusImages.available),pe(e,y.Active,t.imageUrls.statusImages.active),pe(e,y.Expired,t.imageUrls.statusImages.expired),pe(e,y.NotRequired,t.imageUrls.statusImages.notRequired),pe(e,y.Unavailable,t.imageUrls.statusImages.unavailable),pe(e,y.Unsupported,t.imageUrls.statusImages.unsupported),pe(e,y.UserAutoJoinAllowed,t.imageUrls.statusImages.notRequired),pe(e,y.UserJoinApprovalRequired,t.imageUrls.statusImages.notRequired),e);return n.createElement("div",{className:"d-flex justify-content-center my-4 px-2 px-lg-4"},n.createElement("img",{src:r[t.trialStatus],className:"w-100 h-auto"}))}var de=r(69624);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 n.createElement(ue,{className:"mb-3"},e?n.createElement(n.Fragment,null,n.createElement(le,null,r,n.createElement("br",null),"already has ClickView 🎉"),n.createElement(se,{className:"mt-3"},"If your school has SSO ",n.createElement("a",{href:de.F.getLoginLink({email:t.email,customerId:t.customerId}),className:"info-link"},"click here to sign in.")),n.createElement(se,null,"Otherwise please contact your school admin for access.")):n.createElement(n.Fragment,null,n.createElement(le,null,"Good News!"),n.createElement(se,null,"An account already exists for:",n.createElement("br",null)," ",n.createElement("strong",null,t.email)),n.createElement(se,null,n.createElement("a",{href:de.F.getLoginLink({email:t.email}),className:"btn btn-dark btn-lg w-100"},"Sign into ClickView"))),n.createElement(se,null,"Need Help? ",n.createElement("a",{href:de.F.getSupportUrlForGeoLocation(t.geoLocation),className:"info-link",target:"_blank"},"Contact our Help Centre.")))}function me(t){return me="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},me(t)}function ve(){ve=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 A(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",y="completed",m={};function v(){}function g(){}function b(){}var w={};u(w,i,(function(){return this}));var E=Object.getPrototypeOf,S=E&&E(E(P([])));S&&S!==r&&n.call(S,i)&&(w=S);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"==me(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===y){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=C(c,n);if(l){if(l===m)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===p)throw o=y,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?y:h,u.arg===m)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(o=y,n.method="throw",n.arg=u.arg)}}}function C(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,C(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),m;var a=f(o,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,m;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,m):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,m)}function O(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 N(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function A(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,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(me(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,A.prototype={constructor:A,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(N),!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,m):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),m},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),N(r),m}},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;N(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),m}},e}function ge(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 be(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)?be(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 be(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 we;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 Se(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 xe=(Se(we={},y.Available,(function(t){var e=ge(n.useState(0),2),r=e[0],o=e[1],a=ge(n.useState(!1),2),i=a[0],c=a[1];if(null==t?void 0:t.email)return n.createElement(ue,null,n.createElement(le,null,"Success!"),n.createElement(se,null,"An email has been sent to ",n.createElement("strong",null,t.email),". Please check your email for further instructions to complete the sign up process."),!!t.userId&&n.createElement(n.Fragment,null,r<1?n.createElement(se,null,"Didn't receive an email?  ",n.createElement("button",{onClick:function(e){return n=this,a=void 0,i=void 0,l=ve().mark((function n(){return ve().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return null==e||e.preventDefault(),n.prev=1,n.next=4,qt(t.ajaxUrls,t.userId,{email:t.email,appLink:t.pageAppLinkString});case 4:o(r+1),n.next=10;break;case 7:n.prev=7,n.t0=n.catch(1),c(!0);case 10:t.logUserAction({},{actionType:V.Vw.Click,descriptor:V.Yu.ResendEmail});case 11:case"end":return n.stop()}}),n,null,[[1,7]])})),new(i||(i=Promise))((function(t,e){function r(t){try{c(l.next(t))}catch(t){e(t)}}function o(t){try{c(l.throw(t))}catch(t){e(t)}}function c(e){var n;e.done?t(e.value):(n=e.value,n instanceof i?n:new i((function(t){t(n)}))).then(r,o)}c((l=l.apply(n,a||[])).next())}));var n,a,i,l},className:"btn info-link p-0"},"Resend verification email")):"✅ Email has been resent!",i&&n.createElement(se,{className:"mb-0 text-danger"},"❌ There was a problem resending the email. Please try again later or contact our  ",n.createElement("a",{href:de.F.getSupportUrlForGeoLocation(t.geoLocation),className:"info-link"},"support"))))})),Se(we,y.Active,ye),Se(we,y.Expired,(function(t){var e=de.F.getMarketingSalesContactForGeoLocation(t.geoLocation),r=(null==t?void 0:t.previousStepIds)&&"find-school"===t.previousStepIds[t.previousStepIds.length-1],o=(null==t?void 0:t.schoolName)||"Your school";return n.createElement(ue,null,n.createElement(le,null,r?"".concat(o," trial has expired"):"Your trial has expired"),n.createElement(se,null,"Please contact our ",n.createElement("a",{href:e,className:"info-link",target:"_blank"},"ClickView Sales Team")))})),Se(we,y.NotRequired,ye),Se(we,y.Unavailable,(function(t){var e=de.F.getMarketingSalesContactForGeoLocation(t.geoLocation);return n.createElement(ue,null,n.createElement(le,null,"Your school no longer",n.createElement("br",null)," has access to ClickView"),n.createElement(se,null,"Please contact our ",n.createElement("a",{href:e,className:"info-link"},"ClickView Sales Team")," for more information."))})),Se(we,y.Unsupported,(function(){return n.createElement(ue,null,n.createElement(le,{className:"px-2 px-lg-4"},"ClickView isn't currently ",n.createElement("br",null)," available for your school"),n.createElement(se,null,"We're working hard to get ClickView ready for more people."))})),Se(we,y.UserAutoJoinAllowed,ye),Se(we,y.UserJoinApprovalRequired,ye),we);function Le(t){var e=xe[t.trialStatus];return n.createElement(e,Object.assign({},t))}var je="young-student",ke={"trial-status":function(t){return n.useEffect((function(){var e={actionType:V.Vw.Create,descriptor:V.Yu.DeadEnd,workflowPhase:V.eu.Discard};t.trialCreated&&(e.descriptor=V.Yu.TrialCreated,e.workflowPhase=V.eu.Complete),t.logUserAction({},e)}),[]),n.createElement(n.Fragment,null,n.createElement(he,{trialStatus:t.trialStatus,imageUrls:t.imageUrls}),n.createElement(Le,Object.assign({},t)))},"added-to-braze":function(t){return n.useEffect((function(){t.logUserAction({},{actionType:V.Vw.Create,descriptor:V.Yu.TrialRequested,workflowPhase:V.eu.Complete})}),[]),n.createElement(n.Fragment,null,n.createElement(he,{trialStatus:y.Available,imageUrls:t.imageUrls}),n.createElement(ue,{className:"mb-3"},n.createElement(le,null,"Submitted!"),n.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=de.F.getFreeResourcesForGeoLocation(t.geoLocation);return n.useEffect((function(){o.SG.set(je,!0)}),[]),n.createElement(n.Fragment,null,n.createElement(he,{trialStatus:y.Active,imageUrls:t.imageUrls}),n.createElement(ue,{className:"mb-3"},n.createElement(le,null,"Discover our free content"),n.createElement(se,null,"Click the button below to explore our videos"),n.createElement("a",{href:e,className:"btn btn-lg btn-dark w-100",target:"_blank"},"Start watching now")))},"requested-access":function(t){return n.createElement(n.Fragment,null,n.createElement(he,{trialStatus:y.Available,imageUrls:t.imageUrls}),n.createElement(ue,{className:"mb-3"},n.createElement(le,null,"You've requested access!"),n.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 Oe(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)?Oe(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 Oe(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 Ae(t){return n.createElement(n.Fragment,null,"Have a ClickView account already?",n.createElement("a",{href:t.link,className:"info-link ms-1",target:"_blank",onClick:t.onClick},"Sign in"))}const Pe="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(Pe),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"}],Ue=r(93824);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 A(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",y="completed",m={};function v(){}function g(){}function b(){}var w={};u(w,i,(function(){return this}));var E=Object.getPrototypeOf,S=E&&E(E(P([])));S&&S!==r&&n.call(S,i)&&(w=S);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===y){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=C(c,n);if(l){if(l===m)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===p)throw o=y,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?y:h,u.arg===m)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(o=y,n.method="throw",n.arg=u.arg)}}}function C(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,C(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),m;var a=f(o,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,m;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,m):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,m)}function O(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 N(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function A(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,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,A.prototype={constructor:A,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(N),!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,m):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),m},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),N(r),m}},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;N(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),m}},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 Ye=new RegExp(/^[^\s@]+@[^\s@]+\.[^\s@]+$/),ze=(Ke(Fe={},Ue.C.AU,"valerie.frizzle@school.edu.au"),Ke(Fe,Ue.C.UK,"valerie.frizzle@school.gov.uk"),Ke(Fe,Ue.C.US,"valerie.frizzle@school.gov"),Ke(Fe,Ue.C.NZ,"valerie.frizzle@school.nz"),Fe);function qe(t){return ze[g.I.getCountryCode(t.countryCode)]||ze.us}var Ve=[y.Expired,y.NotRequired,y.Unavailable,y.Unsupported,y.Active];function Be(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 $e=r(12238);function He(t){return He="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},He(t)}function Ze(){Ze=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 A(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",y="completed",m={};function v(){}function g(){}function b(){}var w={};u(w,i,(function(){return this}));var E=Object.getPrototypeOf,S=E&&E(E(P([])));S&&S!==r&&n.call(S,i)&&(w=S);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"==He(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===y){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=C(c,n);if(l){if(l===m)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===p)throw o=y,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?y:h,u.arg===m)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(o=y,n.method="throw",n.arg=u.arg)}}}function C(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,C(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),m;var a=f(o,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,m;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,m):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,m)}function O(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 N(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function A(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,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(He(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,A.prototype={constructor:A,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(N),!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,m):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),m},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),N(r),m}},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;N(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),m}},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 We(t){return We="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},We(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 A(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",y="completed",m={};function v(){}function g(){}function b(){}var w={};u(w,i,(function(){return this}));var E=Object.getPrototypeOf,S=E&&E(E(P([])));S&&S!==r&&n.call(S,i)&&(w=S);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"==We(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===y){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=C(c,n);if(l){if(l===m)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===p)throw o=y,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?y:h,u.arg===m)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(o=y,n.method="throw",n.arg=u.arg)}}}function C(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,C(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),m;var a=f(o,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,m;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,m):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,m)}function O(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 N(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function A(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,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(We(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,A.prototype={constructor:A,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(N),!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,m):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),m},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),N(r),m}},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;N(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),m}},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(80247);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,o=t.onSchoolSuggestionClick,a=t.selectedIndex;return n.createElement(n.Fragment,null,e.map((function(t,e){return n.createElement(mt.L,{className:"".concat(gt.suggestionItem," ").concat(a-1===e?gt.selected:""),key:t.id,onClick:function(){return o(t)}},r(t)," ",n.createElement("br",null),n.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 n.createElement("div",{className:"info-link ".concat(gt.suggestionItem," ").concat(gt.noSuggestion," ").concat(t.selected?gt.selected:""),onClick:t.handleNoSuggestion},"Can't find your school?")}function ar(t){var e,r,o=n.useRef(),a=er(n.useState(!0),2),i=a[0],l=a[1],u=er(n.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(n.useState(),2),h=p[0],d=p[1],y=(0,dt.N)(s,250),m=lt({onSelected:function(t){if(h||t)if(t!==h.length){var e=h[t];e&&k(e)}else O()},itemCount:null!==(e=(null==h?void 0:h.length)+1)&&void 0!==e?e:0}),v=m.selectedIndex,g=m.onKeyDown,b=m.containerRef,w=!!(null===(r=t.data)||void 0===r?void 0:r.prospectId),E=i&&!w,S=!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){l(!0);var r={latitude:t.data.latitude,longitude:t.data.longitude};e&&e.length&&(r.query=e),Rt.search(t.ajaxUrls,r,(function(t){return d(t)}),null,(function(){return l(!1)}))}function k(e){f(C(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 C(t){return t.name}function O(){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:V.Vw.Click,descriptor:V.Yu.CantFindSchool,workflowPhase:V.eu.Next})}n.useEffect((function(){w||(y.length?!w&&y.length>1&&y===s&&j(y):j())}),[y,w]);var N=x||E||S;return n.createElement("div",{className:"form-group position-relative"},n.createElement(c.w,{value:s,onChange:function(t){return L(t.currentTarget.value)},ref:o,className:"form-control form-control-lg ".concat(N?gt.inputFocused:gt.input),type:"text",autoComplete:"off",placeholder:"Select your school below",disabled:t.disabled,autoFocus:!0,onClickClear:function(){L(""),o.current.focus()},onKeyDown:g}),n.createElement("div",{className:"position-absolute w-100"},n.createElement("div",{className:"".concat(gt.suggestionContainer," ").concat(N?"":"d-none"),ref:b},x?n.createElement(nr,{filteredSchoolsList:h,onSchoolSuggestionClick:k,getSchoolName:C,selectedIndex:v}):E&&n.createElement("div",{className:"".concat(gt.suggestionLoading," py-4 d-flex justify-content-center")},n.createElement(tr.Z,{animation:"border"})),!E&&(null==h?void 0:h.length)<5&&n.createElement(or,{selected:v===h.length+1,handleNoSuggestion:O}))))}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 n.createElement(mt.L,{className:"\n d-flex\n flex-column\n justify-content-between\n h-100\n p-3\n border\n rounded\n rounded-3\n mx-auto\n ".concat(ur," ").concat(t.selected?sr:""),onClick:function(){return t.onClick(t.type)}},n.createElement("img",{src:t.imageSrc,className:"rounded-top mx-auto pb-2"}),n.createElement("div",{className:"py-2"},n.createElement("span",{className:"h4"},t.buttonText)))}var pr={"select-type":function(t){function e(e){t.logUserAction({userType:e},{actionType:V.Vw.Click,workflowPhase:V.eu.Next,descriptor:e===v.Staff?V.Yu.Educator:V.Yu.Student}),e!==v.Staff?t.nextStep({step:"enter-age",userType:e}):t.nextStep({step:"enter-email",userType:e})}return n.createElement("div",{className:"text-center"},n.createElement("h1",{className:"h4"},"Access educational videos at your fingertips"),n.createElement("p",null,"Let's get you set up so you can access ClickView."),n.createElement("div",{className:"row"},n.createElement("div",{className:"col-lg-6 mb-3"},n.createElement(fr,{type:v.Staff,buttonText:"I'm an educator",imageSrc:t.imageUrls.educator,onClick:e,selected:t.userType===v.Staff})),n.createElement("div",{className:"col-lg-6 mb-3"},n.createElement(fr,{type:v.Learner,buttonText:"I'm a student",imageSrc:t.imageUrls.student,onClick:e,selected:t.userType===v.Learner}))))},"enter-email":function(t){var e,r,o=Re(n.useState(!1),2),a=o[0],i=o[1],l=Re(n.useState((null==t?void 0:t.email)||""),2),u=l[0],s=l[1],f=Re(n.useState(),2),p=f[0],h=f[1],d=(e=t.geoLocation,r=de.F.getMarketingUrlForGeoLocation(e),"nz"===(null==e?void 0:e.countryCode)?r+"/contact-us/":r+"/contact-us/technical/");function y(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?Ye.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,Kt(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!==m.InvalidEmail){e.next=18;break}return h("Please use your school email address."),e.abrupt("return");case 18:if(t.logUserAction({},{actionType:V.Vw.Click,workflowPhase:V.eu.Next,descriptor:V.Yu.EnterEmail}),!Ve.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 g(t){var e=window.location.pathname+window.location.search;window.location.href=t.url+"&redirectUrl="+encodeURIComponent(e)}var w="true"===docCookies.getItem("features.social-signup")&&t.userType===v.Staff;return n.createElement(n.Fragment,null,n.createElement("div",{className:"text-center"},n.createElement("h1",{className:"h4"},"Let's set up your account"),n.createElement("p",null,"Enter your school email address")),n.createElement("form",{onSubmit:y,noValidate:!0},n.createElement("div",{className:"form-group mb-3"},n.createElement(c.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:qe(t.geoLocation),autoComplete:"false",autoCorrect:"false",autoFocus:!0,onClickClear:function(){return s("")}}),p&&n.createElement(n.Fragment,null,n.createElement("div",{className:"invalid-feedback d-block"},p),n.createElement("small",null,"Having an issue with your email?",n.createElement("a",{href:d,className:"info-link ps-1",target:"_blank",onClick:function(){t.logUserAction({},{actionType:V.Vw.Click,descriptor:V.Yu.ContactUs})}},"Contact our team")))),n.createElement(b.m,{showSpinner:a,className:"btn btn-dark btn-lg mb-3 w-100",disabled:a,onClick:y},"Continue")),w&&n.createElement("div",{className:"mt-n3"},n.createElement("div",{className:"my-3 border-bottom position-relative ".concat("bGwO5")}),_e.map((function(t,e){return n.createElement(Te,{onClick:g,idp:t,key:e})}))),n.createElement("div",{className:"text-center"},n.createElement(Ae,{link:de.F.getLoginLink(),onClick:function(){t.logUserAction({},{actionType:V.Vw.Click,descriptor:V.Yu.SignIn})}})))},"find-school":function(t){var e,r,o=t.email,a=t.userType,i=cr(n.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(n.useState(),2),s=u[0],f=u[1],p=cr(n.useState(),2),h=p[0],d=p[1],m=cr(n.useState(!1),2),g=m[0],w=m[1],E=cr(n.useState(!1),2),S=E[0],x=E[1],L=cr(n.useState(!1),2),j=L[0],k=L[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,g=t.setProperty,b=t.brazeConfig,w=t.geoLocation,E=t.version;function S(){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,Bt(f,{prospectId:u.prospectId,email:d});case 3:c({},{actionType:V.Vw.Click,descriptor:V.Yu.AutoJoin}),p(Object.assign({completionStep:"trial-status",trialCreated:!0,trialStatus:y.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 x(){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!==y.NotRequired){e.next=6;break}return e.next=4,Rt.getLookups(f,u.prospectId);case 4:n=e.sent,r=null===(t=n.find((function(t){return t.type===$e.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 L(){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.next=2,Xt.submitFormEvent({brazeConfig:b,productName:s,geoLocation:w,version:E},"trial-sign-up",Object.assign(Object.assign({},u),{email:d,province:F.parseProvince(u.province)}));case 2:case"end":return t.stop()}}),t)})))}function j(){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,zt(f,{userType:a,email:d,prospectId:null==u?void 0:u.prospectId,appLink:m,accessPolicy:$t(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===y.UserAutoJoinAllowed&&c({},{actionType:V.Vw.Click,descriptor:V.Yu.AutoJoin}),g("userId",r.id),p(Object.assign({completionStep:"trial-status",userId:r.id,trialCreated:!0,trialStatus:y.Available,customerId:null===(t=r.data)||void 0===t?void 0:t.customerId},u)),L(),i();case 17: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!==v.Staff){t.next=14;break}if(o!==y.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!==y.UserJoinApprovalRequired){t.next=10;break}return t.abrupt("return",(l(Object.assign({step:"request-access"},u)),void i()));case 10:if(o!==y.UserAutoJoinAllowed||s!==C.X.Lite){t.next=14;break}return t.next=13,S();case 13:case 17:case 20:return t.abrupt("return",t.sent);case 14:if(o===y.Active||o===y.Available||o===y.UserAutoJoinAllowed&&s===C.X.Auth){t.next=18;break}return t.next=17,x();case 18:return t.next=20,j();case 21:case"end":return t.stop()}}),t)})))}}(Object.assign(Object.assign({},t),{prospectStatus:s,loading:g,data:c,canSubmitForm:N,setSubmissionError:d,logStepEvent:function(){var e={actionType:V.Vw.Click,descriptor:V.Yu.FindSchool,workflowPhase:V.eu.Next};t.logUserAction(c||{},e)},setLoadingState:function(t){x(t),k(t),w(t)},setProperty:A}));function N(){if(!c||!o||!a)return!1;var t=c.prospectId;return!!(o&&a&&t)}function A(e,r){"prospectId"===e&&r&&(w(!0),Yt(t.ajaxUrls,{prospectId:r.toString(),email:t.email},(function(t){f(t.status)}),(function(){console.log("error")}),(function(){w(!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 P(){A("prospectId",void 0),A("schoolName",""),A("schoolPostCode",void 0),d(void 0)}return n.createElement(n.Fragment,null,n.createElement("div",{className:"text-center"},n.createElement("h1",{className:"h4"},"Next, let's find your school"),n.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")),n.createElement(St,{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),P(),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)&&n.createElement(ar,{data:c,setDataProperty:A,clearStepItemData:P,nextStep:t.nextStep,currentStepId:t.currentStepId,disabled:j,logUserAction:t.logUserAction,ajaxUrls:t.ajaxUrls}),h&&n.createElement("p",{className:"text-danger mb-2"},h),N()&&n.createElement(b.m,{className:"btn btn-dark btn-lg w-100",onClick:O,showSpinner:S||j||g,disabled:S||j||g},"Get started"))},"cant-find-school":function(t){var e,r,o,a=oe(n.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=oe(n.useState(),2),u=l[0],s=l[1],f=oe(n.useState(!1),2),p=f[0],h=f[1],d=(r=i.country||(null===(e=t.geoLocation)||void 0===e?void 0:e.countryCode),o=g.I.getCountryCode(r),ee[o]||te);function m(){var t=i.schoolName,e=i.schoolType,r=i.country;return!!(t&&e&&r)}function v(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"!==re(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==re(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===re(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))}))}function w(){return ie(this,void 0,void 0,ne().mark((function e(){var r,n,o,a,c;return ne().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.email,n=t.brazeConfig,o=t.productName,a=t.geoLocation,c=t.version,e.next=3,Xt.submitFormEvent({brazeConfig:n,productName:o,geoLocation:a,version:c},"trial-sign-up",Object.assign(Object.assign({},i),{email:r}));case 3:case"end":return e.stop()}}),e)})))}return n.createElement(n.Fragment,null,n.createElement("div",{className:"text-center"},n.createElement("h1",{className:"h4"},"Tell us more about yourself"),n.createElement("p",null,"Please enter your school details.")),n.createElement("div",{className:"form-group"},n.createElement("label",{className:"d-block",htmlFor:"school-name-input"},"Name of school"),n.createElement("input",{type:"text",value:(null==i?void 0:i.schoolName)||"",onChange:function(t){v("schoolName",t.target.value)},id:"school-name-input",className:"form-control form-control-lg",autoComplete:"off",placeholder:"Enter name of school",autoFocus:!0})),n.createElement("div",{className:"form-group"},n.createElement("label",{className:"d-block",htmlFor:"school-type-select"},"Type of school"),n.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){v("schoolType",t.target.value)}},n.createElement("option",{value:"none",className:"text-muted",disabled:!0},"Select type of school"),d.map((function(t){return n.createElement("option",{value:t,key:t,className:"text-dark"},t)})))),n.createElement(St,{data:i,setDataProperty:v,clearStepGroupData:function(){v("schoolLocality",void 0),c((function(t){return Object.assign(Object.assign({},t),{longitude:undefined,latitude:undefined})})),v("city",void 0),v("province",void 0),v("country",void 0),s("")},disabled:!1,labelClassName:"d-block",geoLocation:t.geoLocation,logUserAction:t.logUserAction,googleMapsApiKey:t.googleMapsApiKey,autoFocus:!1}),u&&n.createElement("div",{className:"text-danger mb-3"},u),m()&&n.createElement(b.m,{className:"btn btn-dark btn-lg w-100",onClick:function(e){var r;return ie(this,void 0,void 0,ne().mark((function n(){var o,a,c;return ne().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:V.Vw.Click,workflowPhase:V.eu.Next,descriptor:V.Yu.CantFindSchool}),h(!0),n.prev=5,n.next=8,Rt.create(t.ajaxUrls,{name:i.schoolName,status:Wt.Draft,countryCode:i.country,prospectType:i.schoolType,city:i.city,postCode:i.schoolPostCode,province:F.parseProvince(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,zt(t.ajaxUrls,{userType:t.userType,email:t.email,prospectId:o.id,appLink:t.pageAppLinkString,accessPolicy:$t(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:y.Available,trialCreated:!0,customerId:null===(r=a.data)||void 0===r?void 0:r.customerId}),w(),n.next=38;break;case 28:if(n.prev=28,n.t1=n.catch(20),n.t1.body){n.next=34;break}return h(!1),s("Error. Something went wrong."),n.abrupt("return");case 34:if(400!==(c=n.t1).body.status||"trial-not-available"!==c.body.type){n.next=38;break}return t.nextStep(Object.assign(Object.assign({step:"add-to-braze"},i),{prospectId:o.id,trialStatus:y.Unavailable})),n.abrupt("return");case 38:case"end":return n.stop()}}),n,null,[[5,15],[20,28]])})))},showSpinner:p,disabled:p},"Get started"))},completed:function(t){var e=ke[t.completionStep];return n.createElement("div",{className:"d-flex justify-content-center flex-column mx-auto px-2"},n.createElement(e,Object.assign({},t)))},"add-to-braze":function(t){var e,r=R(n.useState(!1),2),o=r[0],a=r[1],c=R(n.useState({}),2),l=c[0],u=c[1];function s(e){var r=q(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:F.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:F.getEventTopic()};return F.removeEmptyKeys(a)}function f(){t.complete({completionStep:"added-to-braze",trialCreated:!1,trialStatus:null})}return n.useEffect((function(){t.userType===v.Learner&&t.complete({completionStep:"trial-status",trialCreated:!1,trialStatus:y.Unsupported})}),[]),n.createElement(S,{errors:l,loading:o,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,n;(function(t){var e=t.fullname,r=t.jobTitle,n=t.phone,o=q(e),a=o.firstName,i=o.surname,c={};return a&&i||(c.fullname="Please enter your full name."),(Y.test(a)||Y.test(i))&&(c.fullname="Please enter your full name."),e.length>K&&(c.fullname="Full name cannot exceed max length of ".concat(K," characters.")),(null==r?void 0:r.length)||(c.jobTitle="Please enter your job title."),Y.test(r)&&(c.jobTitle="Please enter a valid job title."),r.length>K&&(c.jobTitle="Job Title cannot exceed max length of ".concat(K," characters.")),(null==n?void 0:n.length)||(c.phone="Please enter your phone number."),!Y.test(n)&&z.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===(n=e.jobTitle)||void 0===n?void 0:n.toLowerCase().includes("parent"))?f():function(e){var r,n,c,p;r=this,n=void 0,c=void 0,p=D().mark((function r(){var n,c,p,h,d,y,m;return D().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(!o){r.next=2;break}return r.abrupt("return");case 2:if(t.userType!==v.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:i.Vw.Click,workflowPhase:i.eu.Next,descriptor:i.Yu.AddToBraze}),a(!0),n=s(e),c=t.geoLocation.isFallback?{countryCode:t.country||t.geoLocation.countryCode}:t.geoLocation,r.next=11,F.getClient({brazeConfig:t.brazeConfig,geoLocation:c,productName:t.productName,version:t.version});case 11:p=r.sent,h=q(e.fullname),d=h.firstName,y=h.surname,m={prospect_id:null==t?void 0:t.prospectId,organisation_sub_type:F.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:F.parseProvince((null==t?void 0:t.province)||"")},job_title:e.jobTitle,sync_to_crm:!0},m=F.removeEmptyKeys(m);try{p.setUser(F.hashedEmail(null==t?void 0:t.email)),p.setUserFirstName(d),p.setUserLastName(y),p.setUserPhone(e.phone),p.setUserEmail(null==t?void 0:t.email),p.openSession(),p.bulkSetCustomUserAttributes(m),p.logEvent({type:F.getCustomEventType(),data:n}),p.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 17:case"end":return r.stop()}}),r)})),new(c||(c=Promise))((function(t,e){function o(t){try{i(p.next(t))}catch(t){e(t)}}function a(t){try{i(p.throw(t))}catch(t){e(t)}}function i(e){var r;e.done?t(e.value):(r=e.value,r instanceof c?r:new c((function(t){t(r)}))).then(o,a)}i((p=p.apply(r,n||[])).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(n.useState(""),2),r=e[0],o=e[1],a=Ce(n.useState(""),2),i=a[0],c=a[1],l=Ce(n.useState(""),2),u=l[0],s=l[1],f=Ce(n.useState(null),2),p=f[0],h=f[1];var d=(new Date).getFullYear(),y="mx-2 d-inline-block text-start",m="form-control form-control-lg ".concat(p?"is-invalid":""),v="order-0",b="order-3",w=g.I.isCountryCodeUS(t.geoLocation.countryCode);return w&&(v="order-3",b="order-0"),n.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},n.createElement("h1",{className:"h4"},"Tell us a little about yourself"),n.createElement("p",null,"Please enter your date of birth"),n.createElement("div",{className:"my-4"},n.createElement("div",{className:"d-flex justify-content-center"},n.createElement("div",{className:"".concat(y," ").concat(v)},n.createElement("label",{className:"mb-0",htmlFor:"day"},"Day"),n.createElement("input",{id:"day",type:"number",className:"".concat(m," ").concat("e0Dbj"),min:"1",max:"31",placeholder:"DD",value:r,onChange:function(t){o(t.target.value),h(null)},autoFocus:!w,tabIndex:w?2:1})),n.createElement("span",{className:"h1 fw-normal mt-3 mb-0 order-1 ".concat(p?"text-danger":"")},"/"),n.createElement("div",{className:"".concat(y," ").concat(b)},n.createElement("label",{className:"mb-0",htmlFor:"month"},"Month"),n.createElement("input",{id:"month",type:"number",className:"".concat(m," ").concat("zLcQr"),min:"1",max:"12",placeholder:"MM",value:i,onChange:function(t){c(t.target.value),h(null)},autoFocus:w,tabIndex:w?1:2})),n.createElement("span",{className:"h1 fw-normal mt-3 mb-0 order-4 ".concat(p?"text-danger":"")},"/"),n.createElement("div",{className:"".concat(y," order-5")},n.createElement("label",{className:"mb-0",htmlFor:"year"},"Year"),n.createElement("input",{id:"year",type:"number",className:"".concat(m," ").concat("XiXPP"),min:d-120,max:d,placeholder:"YYYY",value:u,onChange:function(t){s(t.target.value),h(null)},tabIndex:3}))),!!p&&n.createElement("div",{className:"invalid-feedback d-block"},p)),n.createElement("button",{type:"submit",className:"btn btn-lg btn-dark w-100"},"Continue"))},"request-access":function(t){var e,r,o=(e=n.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=o[0],i=o[1];return n.createElement(n.Fragment,null,n.createElement(he,{trialStatus:y.UserJoinApprovalRequired,imageUrls:t.imageUrls}),n.createElement(ue,{className:"mb-3"},n.createElement(le,null,t.schoolName,n.createElement("br",null),"already has ClickView 🎉")),n.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=Ze().mark((function r(){var n,o;return Ze().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,Rt.getLookups(t.ajaxUrls,t.prospectId);case 3:if(n=r.sent,o=null===(e=n.find((function(t){return t.type===$e.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,Vt(t.ajaxUrls,{customerId:o,email:t.email});case 10:t.logUserAction({},{actionType:V.Vw.Click,descriptor:V.Yu.RequestAccess}),t.complete({completionStep:"requested-access",trialCreated:!1,trialStatus:y.UserJoinApprovalRequired}),r.next=17;break;case 14:r.prev=14,r.t0=r.catch(0),i(Be(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&&n.createElement("p",{className:"text-danger text-center mb-2"},a),n.createElement(se,{className:"text-center"},"Need Help? ",n.createElement("a",{href:de.F.getSupportUrlForGeoLocation(t.geoLocation),className:"info-link",target:"_blank"},"Contact our Help Centre.")))}};function hr(t){var e=t.state,r=t.geoLocation,o=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,y=t.version,m=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:y,productName:m}),b=null==o?void 0:o[e.currentStepId];return b?n.createElement(b,{geoLocation:t.geoLocation,currentStep:e.currentStepId,previousStep:l,closeApp:t.close,logUserAction:f,hasPreviousStep:a,imageUrls:t.imageUrls},n.createElement(v,Object.assign({},g))):n.createElement(v,Object.assign({},g))}var dr=r(1048);const yr={buttonContainer:"izZtA",dataContainer:"OgBv5"};function mr(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,o=r;return Array.isArray(r)&&(o=o.join(" -> ")),"boolean"==typeof o&&(o=o?"true":"false"),n.createElement("div",{className:"pb-1"},e,": ",n.createElement("b",{className:"text-white"},o))}function br(t){var e,r,o=t.developmentEnv,a=t.objects,i=(e=n.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 mr(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)?mr(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=n.useMemo((function(){return vr(a)}),[a]);return o&&n.createElement(n.Fragment,null,n.createElement("div",{className:"position-fixed p-4 ".concat(yr.buttonContainer)},n.createElement("button",{onClick:function(){l(!c)},className:"btn btn-dark px-2 py-1"},c?"Hide":"Show"," debugger")),c&&n.createElement("div",{className:"fixed-bottom mb-4 ms-4 bg-dark rounded ".concat(yr.dataContainer)},n.createElement("code",{className:"d-block p-4"},n.createElement("div",{className:"fw-bold pb-2"},"{ Debug: Form Data }"),Object.keys(u).map((function(t){return n.createElement(gr,{key:t,label:t,item:u[t]})})))))}var wr=r(83529);const Er={crumb:"Btmx2"};function Sr(t,e){var r="rounded-circle mx-2 d-inline-block "+Er.crumb,n=t===e?"bg-info":"bg-light";return"".concat(r," ").concat(n)}function xr(t){return n.createElement("div",{className:"text-center"},t.crumbs.map((function(e){return n.createElement("div",{className:Sr(t.currentStep,e),key:e})})))}var Lr=r(98461);function jr(t){var e=de.F.getTermsAndConditionsLink(),r=de.F.getPrivacyPolicyLink();return n.createElement("span",{className:"text-center text-md mt-2 text-normal small"},"By signing up you agree to the",n.createElement("br",null),n.createElement(Lr.d,{href:e,onClick:t.onClickTermsAndConditions,className:"info-link",newTab:!0},"Terms and Conditions"),"  and  ",n.createElement(Lr.d,{href:r,onClick:t.onClickPrivacyPolicy,className:"info-link",newTab:!0},"Privacy Policy"))}var kr=r(83914),Cr=r(35223);function Or(t){return n.createElement("button",{onClick:t.onClick,className:"btn p-0 cursor-pointer d-inline-flex align-items-center"},n.createElement(kr.x,{svgName:Cr.vn.ChevronLeft,size:kr.S.Medium}),t.children)}var Nr=r(2786);Pr.defaultProps={showBackButton:!0};var Ar=["select-type","enter-email","find-school"];function Pr(t){var e=t.currentStep,r=t.previousStep,o=t.hasPreviousStep,a=t.showBackButton,i=t.children;return n.createElement("div",{className:"d-flex flex-column justify-content-between px-4 py-0 ".concat("jZ_Wp")},n.createElement("div",{className:"mt-3 mb-2"},Ar.includes(e)&&n.createElement(xr,{crumbs:Ar,currentStep:e})),n.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")},n.createElement("div",{className:"d-flex flex-row justify-content-center align-items-center mt-2 mb-3"},o&&a&&["enter-email","find-school","cant-find-school","add-to-braze","enter-age","request-access"].includes(e)&&n.createElement(Or,{onClick:function(){r(),t.logUserAction({step:e},{actionType:V.Vw.Click,descriptor:V.Yu.Back,workflowPhase:V.eu.Back})}}),n.createElement("div",{className:"d-flex justify-content-center align-items-center px-2 ".concat("J97w_")},n.createElement(Nr.$S,null))),i),n.createElement("div",{className:"position-relative mb-4 mt-3 text-center"},"select-type"===e&&n.createElement(Ae,{link:de.F.getLoginLink(),onClick:function(){t.logUserAction({},{actionType:V.Vw.Click,descriptor:V.Yu.SignIn})}}),["enter-email","find-school","add-to-braze"].includes(e)&&n.createElement(jr,{onClickTermsAndConditions:function(){t.logUserAction({},{actionType:V.Vw.Click,descriptor:V.Yu.TermsAndConditions})},onClickPrivacyPolicy:function(){t.logUserAction({},{actionType:V.Vw.Click,descriptor:V.Yu.PrivacyPolicy})}})))}var Ir=r(28366);Fr.defaultProps={showBackButton:!0};var Tr,_r=["enter-email","find-school"],Ur=["enter-email","find-school","cant-find-school","add-to-braze","enter-age","request-access"];function Fr(t){var e=t.currentStep,r=t.previousStep,o=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:V.Vw.Click,descriptor:V.Yu.Back,workflowPhase:V.eu.Back})}var s=Ur.includes(t.currentStep),f=s?"".concat(Ir.Z.leftHalfLayout," ").concat(Ir.Z.withBg):Ir.Z.leftHalfLayout;return n.createElement("div",{className:f},n.createElement("div",{className:"row mx-0 p-3"},n.createElement("div",{className:"col px-0 d-lg-none ".concat(Ir.Z.popupButton)},o&&l()&&a&&n.createElement(Or,{onClick:u})),n.createElement("div",{className:"col col-lg-6 px-0"},n.createElement("div",{className:Ir.Z.logo},n.createElement("div",{className:"d-none d-lg-block"},s?n.createElement(Nr.Yo,null):n.createElement(Nr.$S,null)),n.createElement("div",{className:"d-block d-lg-none mt-1"},n.createElement(Nr.$S,null),_r.includes(t.currentStep)&&n.createElement("div",{className:"mt-3"},n.createElement(xr,{crumbs:_r,currentStep:e}))))),n.createElement("div",{className:"col col-lg-6 d-flex flex-row justify-content-between px-0"},n.createElement("div",{className:"px-3"},n.createElement("div",{className:"d-none d-lg-block ".concat(Ir.Z.popupButton)},o&&l()&&a&&n.createElement(Or,{onClick:u}))),_r.includes(t.currentStep)&&n.createElement("div",{className:"d-none d-lg-block align-self-center"},n.createElement(xr,{crumbs:_r,currentStep:e})),n.createElement(mt.L,{onClick:i,className:Ir.Z.popupButton},n.createElement(kr.x,{svgName:Cr.vn.Close,size:kr.S.Medium})))),n.createElement("div",{className:"row mx-0 flex-grow-1"},s&&n.createElement("div",{className:"col-6 px-0 d-none d-lg-block"},n.createElement("div",{className:"h-100 d-flex align-items-center justify-content-center"},n.createElement("img",{src:t.imageUrls.popupDashboard,className:"w-100 p-4 pb-5"}))),n.createElement("div",{className:"px-4 pt-0 pb-4 ".concat(s?"col-12 col-lg-6":"col-12")},n.createElement("div",{className:"d-flex flex-column h-100"},n.createElement("div",{className:"flex-grow-1"},c),n.createElement("div",{className:"text-center mt-3"},"select-type"===e&&n.createElement(Ae,{link:de.F.getLoginLink(),onClick:function(){t.logUserAction({},{actionType:V.Vw.Click,descriptor:V.Yu.SignIn})}}),["enter-email","add-to-braze"].includes(e)&&n.createElement(jr,{onClickTermsAndConditions:function(){t.logUserAction({},{actionType:V.Vw.Click,descriptor:V.Yu.TermsAndConditions})},onClickPrivacyPolicy:function(){t.logUserAction({},{actionType:V.Vw.Click,descriptor:V.Yu.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(Tr={},wr.c.FullPage,Mr),Dr(Tr,wr.c.Popup,Rr),Tr),Yr={getLayouts:function(t){return Kr[t]}},zr=r(17331);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}function Vr(t){return Vr="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},Vr(t)}function Br(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)||$r(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 $r(t,e){if(t){if("string"==typeof t)return Hr(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)?Hr(t,e):void 0}}function Hr(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 Zr(t,e){var r,n,o=Object.assign(Object.assign({},t),{previousStepIds:[].concat((n=t.previousStepIds,function(t){if(Array.isArray(t))return Hr(t)}(n)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(n)||$r(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!==Br(t,2)[1]})).reduce((function(t,e){var r=Br(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"!==Vr(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==Vr(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===Vr(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 Zr(t,e);case"back":return function(t){var e,r=function(t){if(Array.isArray(t))return qr(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 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}}(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 Wr(t){return Wr="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},Wr(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,o=t.onStepUpdate,a=t.externalLogUserAction,c=F.removeEmptyKeys(r),l=Object.assign({currentStepId:"select-type",previousStepIds:[]},c),u=Xr(n.useReducer(Jr,l),2),s=u[0],f=u[1];return n.useEffect((function(){null==o||o(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=zr.i.filterBlacklistedKeys(n),c=Object.assign({currentStepId:s.currentStepId},o),l=Object.entries(c).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"!==Wr(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==Wr(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===Wr(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:i.py.SignUp,location:e},r))}}};function en(t){var e=Yr.getLayouts(t.type),r=t.location,i=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,y=t.productName,m=t.close,v=tn({location:r,initialValues:i,onStepUpdate:s,externalLogUserAction:a.k.logUserAction}),g=v.back,b=v.nextStep,w=v.complete,E=v.hasPreviousStep,S=v.state,x=v.logUserAction,L={state:S,geoLocation:c,layoutMapping:e,hasPreviousStep:E,googleMapsApiKey:l,pageAppLinkString:u,back:g,close:m,nextStep:b,complete:w,logUserAction:x,imageUrls:f,ajaxUrls:p,brazeConfig:h,version:d,productName:y};return n.useEffect((function(){o.SG.get(je)&&w({completionStep:"young-student",trialCreated:!1,trialStatus:null})}),[]),n.createElement(n.Fragment,null,n.createElement(hr,Object.assign({},L)),n.createElement(br,{developmentEnv:!1,objects:Object.assign(Object.assign(Object.assign({},S),{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}}},69624:(t,e,r)=>{r.d(e,{F:()=>c});var n=r(97395),o=r(86664),a=r(93824),i={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"}},c={getMarketingUrlForGeoLocation:function(t){var e=o.I.getCountryCode(null==t?void 0:t.countryCode);return i.Marketing[e]||i.Marketing.us},getMarketingSalesContactForGeoLocation:function(t){var e=o.I.getCountryCode(null==t?void 0:t.countryCode),r=this.getMarketingUrlForGeoLocation(t);return t&&e===a.C.NZ?r+"/contact-us/":r+"/contact-us/trial/"},getFreeResourcesForGeoLocation:function(t){var e=o.I.getCountryCode(null==t?void 0:t.countryCode);return e===a.C.NZ&&(e=a.C.AU),this.getMarketingUrlForGeoLocation({countryCode:e})+"/free-student-resources//"},getTermsAndConditionsLink:function(){return this.getMarketingUrlForGeoLocation(a.C.US)+"/terms-and-conditions/"},getPrivacyPolicyLink:function(){return this.getMarketingUrlForGeoLocation(a.C.US)+"/privacy-policy/"},getSupportUrlForGeoLocation:function(t){var e=o.I.getCountryCode(null==t?void 0:t.countryCode);return i.Support[e]||i.Support.us},getLoginLink:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.email,r=t.customerId,o={redirectUrl:window.location.pathname+window.location.search};return e&&(o.email=e),r&&(o.customerId=r),n._.urlBuilder("/login",o)}}},86664:(t,e,r)=>{r.d(e,{I:()=>l});var n=r(83765),o=r(93824),a=["uk","gb","gg","im","je","ie"],i={au:o.C.AU,nz:o.C.NZ,us:o.C.US,uk:o.C.UK,gb:o.C.UK,gg:o.C.UK,im:o.C.UK,je:o.C.UK,ie:o.C.UK},c={au:n.M.CvApSoutheast1,uk:n.M.CvEuWest1,us:n.M.CvNaWest1,nz:n.M.CvApSoutheast2},l={getInstanceRegion:function(t){var e=l.getCountryCode(t);return c[e]},getCountryCode:function(t){return i[null==t?void 0:t.toLowerCase()]||o.C.US},isCountryCodeUK:function(t){return a.includes(t.toLowerCase())},isCountryCodeAU:function(t){return(null==t?void 0:t.toLowerCase())===o.C.AU},isCountryCodeUS:function(t){return(null==t?void 0:t.toLowerCase())===o.C.US},isCountryCodeNZ:function(t){return(null==t?void 0:t.toLowerCase())===o.C.NZ},isSupportedCountryCode:function(t){return Object.keys(i).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}}}},93824:(t,e,r)=>{var n;r.d(e,{C:()=>n}),function(t){t.AU="au",t.NZ="nz",t.UK="uk",t.US="us"}(n||(n={}))},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"}}}]);
@@ -1,2 +0,0 @@
1
- /*! For license information please see 4676-adc55dfa15-lite.chunk.js.LICENSE.txt */
2
- "use strict";(self.webpackChunk_clickview_lite=self.webpackChunk_clickview_lite||[]).push([[4676],{14919:(t,e,r)=>{r.d(e,{w:()=>h});var n=r(32735),o=r(64249),i=r(11607),a=r(2786),c=r(7733),u=r(9085),s=r(98084),l=r(87984);const f={playButtonCircle:"zima4"};function h(t){var e,r,h,p,v=t.onClick,y=t.video,d="rating"in y&&(null===(e=y.rating)||void 0===e?void 0:e.code),m="rating"in y&&(null===(r=y.rating)||void 0===r?void 0:r.value),g=(0,l.C)(m),b="series"in y&&(null===(h=y.series)||void 0===h?void 0:h.name),w="episodeNumber"in y&&y.episodeNumber,E="season"in y&&(null===(p=y.season)||void 0===p?void 0:p.number),k=o.I.getImageUrl(y),x="";k||(x=(0,u.x)(y.name,c.b));var _={backgroundImage:k?"url('".concat(k,"')"):"",backgroundColor:x};return n.createElement(i.L,{className:"cv-embed-splash ".concat(x||"cv-embed-splash-black"),style:_,onClick:v},!!k&&n.createElement("div",{className:"cv-splash-mask"}),n.createElement("div",{className:"cv-splash-metadata"},n.createElement("h1",null,n.createElement("div",{className:"cv-splash-series"},function(t,e,r){if(!t)return"";if(!r||!e)return t;var n=s.I.padNumber(r,2),o=s.I.padNumber(e,2);return"".concat(t," S").concat(n," &bull; E").concat(o)}(b,w,E)),y.name),n.createElement("div",{className:"cv-splash-rating ".concat(g)},d)),n.createElement("div",{className:f.playButtonCircle},n.createElement("svg",{viewBox:"0 0 1800 1800"},n.createElement("path",{d:"M597.3333333333334 1418.6666666666665V373.3333333333333L1418.6666666666667 896z"}))),n.createElement("div",{className:"cv-splash-logo"},n.createElement(a.Yo,null)))}},6736:(t,e,r)=>{r.d(e,{b:()=>m});var n=r(39202),o=r(97395),i=r(81886),a=r(23481),c=r(47663);function u(t){return u="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},u(t)}function s(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(void 0,o=function(t,e){if("object"!==u(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(n.key),"symbol"===u(o)?o:String(o)),n)}var o}function l(t,e){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},l(t,e)}function f(t){return f=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},f(t)}var h="embed.protectiveBrowserSettingsError",p=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&&l(t,e)}(c,t);var e,r,n,o,i=(n=c,o=function(){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(){var t,e=f(n);if(o){var r=f(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return function(t,e){if(e&&("object"===u(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 c(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,c),(e=i.call(this,a.T.getPhrase(h,"title"))).url=t,e}return e=c,(r=[{key:"name",get:function(){return"ProtectiveBrowserSettingsError"}},{key:"dialogOptions",get:function(){return{title:a.T.getPhrase(h,"heading"),text:a.T.getPhrase(h,"description",{url:this.url}),buttons:[{text:a.T.getPhrase(h,"okay"),className:"btn btn-dark",success:!0}]}}}])&&s(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),c}(c.S);function v(t){return v="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},v(t)}function y(){y=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function s(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),c=new C(n||[]);return o(a,"_invoke",{value:P(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var h="suspendedStart",p="suspendedYield",d="executing",m="completed",g={};function b(){}function w(){}function E(){}var k={};s(k,a,(function(){return this}));var x=Object.getPrototypeOf,_=x&&x(x(I([])));_&&_!==r&&n.call(_,a)&&(k=_);var L=E.prototype=b.prototype=Object.create(k);function O(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var s=u.arg,l=s.value;return l&&"object"==v(l)&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(l).then((function(t){s.value=t,a(s)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function P(e,r,n){var o=h;return function(i,a){if(o===d)throw new Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=S(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var s=f(e,r,n);if("normal"===s.type){if(o=n.done?m:p,s.arg===g)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=m,n.method="throw",n.arg=s.arg)}}}function S(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,S(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function T(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 N(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function C(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function I(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=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 i.next=i}}throw new TypeError(v(e)+" is not iterable")}return w.prototype=E,o(L,"constructor",{value:E,configurable:!0}),o(E,"constructor",{value:w,configurable:!0}),w.displayName=s(E,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===w||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,E):(t.__proto__=E,s(t,u,"GeneratorFunction")),t.prototype=Object.create(L),t},e.awrap=function(t){return{__await:t}},O(j.prototype),s(j.prototype,c,(function(){return this})),e.AsyncIterator=j,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new j(l(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},O(L),s(L,u,"Generator"),s(L,a,(function(){return this})),s(L,"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=I,C.prototype={constructor:C,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(N),!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 i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),s=n.call(a,"finallyLoc");if(u&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.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 i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,g):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),g},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),N(r),g}},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;N(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:I(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function d(t,e,r,n){var o=window.open(t,"_blank",function(t){var e="sm"===t?500:screen.availWidth,r="sm"===t?500:screen.availWidth,n=parseInt(screen.availWidth/2-e/2+""),o=parseInt(screen.availHeight/2-r/2+"");return["width=".concat(e),"height=".concat(r),"status","resizable","left=".concat(n),"top=".concat(o),"screenX=".concat(n),"screenY=".concat(o),"scrollbars=yes"].join(",")}(n));if(o)return g(o,r),o;i.Q.Ry.throw(new p(e))}var m={renderSignInPopup:function(t){var e=t.primaryUrl,i=t.shareId,a=t.isMicrosoftTeams,c=t.customerId,u=t.onClose,s=t.redirectUrl,l=void 0===s?"/embed-login-success":s,f=t.size,h=void 0===f?"sm":f,p=o._.safeUrlConcat(e,"/login"),v={redirectUrl:l};i&&(v.shareId=i),c&&(v.customerId=c);var y=o._.urlBuilder(p,v);if(!a)return d(y,e,u,h);!function(t){r.e(4777).then(r.t.bind(r,94777,23)).then((function(e){e.initialize(),window.setTimeout((function(){e.authentication.authenticate({url:t,successCallback:function(){n.Ab.Reload()},failureCallback:function(){n.Ab.Reload()},height:1e3,width:1e3})}),0)}))}(y)},canUseCookies:function(){return docCookies.setItem("_cookieTest","1",10,null,null,!0,"none"),!!docCookies.getItem("_cookieTest")||(docCookies.setItem("_cookieTest","1",10),!!docCookies.getItem("_cookieTest"))},closePopup:function(t){return e=this,n=void 0,o=void 0,i=y().mark((function e(){var n,o;return y().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=function(){try{n.initialize((function(){n.authentication.notifySuccess()}))}catch(t){}},e.next=3,r.e(4777).then(r.t.bind(r,94777,23));case 3:n=e.sent,t?(o(),window.close()):window.setTimeout((function(){o(),window.close()}),1e3),window.opener.postMessage({type:"authenticated"},"*");case 6:case"end":return e.stop()}}),e)})),new(o||(o=Promise))((function(t,r){function a(t){try{u(i.next(t))}catch(t){r(t)}}function c(t){try{u(i.throw(t))}catch(t){r(t)}}function u(e){var r;e.done?t(e.value):(r=e.value,r instanceof o?r:new o((function(t){t(r)}))).then(a,c)}u((i=i.apply(e,n||[])).next())}));var e,n,o,i}};function g(t,e){setTimeout((function(){t&&(!1===t.closed?g(t,e):e())}),500)}},87984:(t,e,r)=>{function n(t){return t?function(t){switch(!0){case t<32:return"cv-rating-purple";case t<48:return"cv-rating-green";case t<80:return"cv-rating-blue";case t<96:return"cv-rating-red";case t<128:return"cv-rating-pink";case t>=128:return"cv-rating-yellow";default:return""}}(t):""}r.d(e,{C:()=>n})}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk_clickview_lite=self.webpackChunk_clickview_lite||[]).push([[4690],{83657:(e,t,n)=>{n.d(t,{e:()=>s});var a=n(32735),r=n(79014),i=n(10874),o=n(76177),c=n(42735),l=n(86509);function s(e){var t=a.useMemo((function(){return e.actions.sort((function(e,t){return e.order-t.order}))}),[e.actions]),n=[],s=[];t.forEach((function(e){e.button?n.push(e):s.push(e)}));var m="d-flex";return e.className&&(m+=" ".concat(e.className)),n.length||s.length?a.createElement("div",{className:m},a.createElement(a.Fragment,null,a.createElement("span",{className:"d-flex align-items-center"},n.length?n.map((function(e,t){return a.createElement(a.Fragment,{key:t},function(){if(e.label){var t=r.q.isFunction(e.label)?e.label:function(){return a.createElement(a.Fragment,null,e.label)};return a.createElement(c.K,{appLink:e.appLink,href:e.href,onClick:e.onClick,svgName:e.svgName,className:e.className,tooltip:e.tooltip,showSpinner:e.showSpinner,analyticsData:e.analyticsData,analyticsOptions:e.analyticsOptions,openInNewTab:e.openInNewTab,disabled:e.disabled},t())}var n=a.createElement(i.h,{appLink:e.appLink,href:e.href,onClick:e.onClick,svgName:e.svgName,className:e.className,analyticsData:e.analyticsData,analyticsOptions:e.analyticsOptions,openInNewTab:e.openInNewTab,disabled:e.disabled});return e.tooltip?a.createElement(o.u,{title:e.tooltip,spanHack:!0},n):n}())})):a.createElement(a.Fragment,null),e.sortComponent&&e.sortComponent,s.length?a.createElement(l.m,{actions:s,dropdownToggleClassName:e.actionsDropdownClassName,dropdownToggleSvgSize:e.dropdownToggleSvgSize}):a.createElement(a.Fragment,null)))):a.createElement(a.Fragment,null)}},86509:(e,t,n)=>{n.d(t,{m:()=>v});var a=n(32735),r=n(79014),i=n(81886),o=n(45157),c=n(49985),l=n(36848),s=n(83914),m=n(76177),u=n(35223);const d={dropdownToggle:"UCAnJ"};function p(e){var t="dropdown-item";return e&&(t+=" ".concat(e)),t}function g(e){var t=r.q.isFunction(e.action.label)?e.action.label:function(){return a.createElement(a.Fragment,null,e.action.label)};if(e.action.appLink)return a.createElement(l.F,{appLink:e.action.appLink,onClick:e.action.onClick,className:p(e.action.className),analyticsData:e.action.analyticsData,analyticsOptions:e.action.analyticsOptions,openInNewTab:e.action.openInNewTab,disabled:e.action.disabled},t());function n(t){t.preventDefault(),e.action.analyticsData&&e.action.analyticsOptions&&c.k.logUserAction(e.action.analyticsData,e.action.analyticsOptions),r.q.isFunction(e.action.onClick)&&e.action.onClick(),e.action.href&&i.Q.Ab.PageLoad(e.action.href,e.action.openInNewTab)}return e.action.href?a.createElement("a",{className:p(e.action.className),onClick:n,href:e.action.href},t()):a.createElement("span",{className:"cursor-pointer ".concat(p(e.action.className)),onClick:n,role:"button",tabIndex:0,onKeyDown:function(e){return"Enter"===e.key&&n(e)}},t())}function v(e){if(!e.actions||!e.actions.length)return a.createElement(a.Fragment,null);var t="dropdown";e.className&&(t+=" ".concat(e.className));var n="actions-dropdown-".concat(o.Y.getRandomInt()),r="dropdown-toggle px-0 ".concat(d.dropdownToggle);return e.dropdownToggleClassName&&(r+=" ".concat(e.dropdownToggleClassName)),a.createElement("div",{className:t},a.createElement("button",{className:r,type:"button",id:n,"data-bs-toggle":"dropdown","data-toggle":"dropdown","aria-haspopup":"true","aria-expanded":"false"},a.createElement(s.x,{svgName:u.vn.More,size:e.dropdownToggleSvgSize})),a.createElement("div",{className:"dropdown-menu dropdown-menu-end dropdown-menu-right","aria-labelledby":n},e.actions.map((function(e,t){return e.tooltip?a.createElement(m.u,{key:t,title:e.tooltip,spanHack:!0},a.createElement(g,{action:e})):a.createElement(g,{key:t,action:e})}))))}v.defaultProps={dropdownToggleClassName:"btn btn-light",dropdownToggleSvgSize:s.S.Small}},80181:(e,t,n)=>{n.d(t,{Z:()=>E});var a=n(32735),r=n(98495),i=n(11607),o=n(83914),c=n(83345),l=n(28972),s=n(93264),m=n(35223),u=n(86572);const d={time:"JDp5N",type:"AzIWg",question:"UhEYq",deleteContainer:"wBqoo",delete:"OAQQu",correctness:"W5sR9",selected:"tfrDf",row:"sGk59"};var p="shared.interactiveQuestions";function g(e){var t=e.interaction;switch((0,e.getCorrectness)(t)){case l.w.Correct:return a.createElement("span",{className:"text-success"},a.createElement(o.x,{size:o.S.Medium,svgName:m.vn.Check}));case l.w.Incorrect:return a.createElement("span",{className:"text-danger"},a.createElement(o.x,{size:o.S.Medium,svgName:m.vn.Close}));case l.w.AwaitingMarking:return a.createElement("span",{className:"text-muted italic"},a.createElement("i",null,a.createElement(c.x,{namespace:p,phrase:"pending"})));case l.w.UnAnswered:return a.createElement("button",{className:"btn btn-outline-dark"},a.createElement(c.x,{namespace:p,phrase:"answer"}));case l.w.Answered:return a.createElement("span",{className:"text-muted italic"},a.createElement("i",null,a.createElement(c.x,{namespace:p,phrase:"answered"})));case l.w.NotApplicable:return a.createElement(a.Fragment,null)}}function v(e){var t=e.interaction,n=e.visibleAt,r=e.selectedInteractionId,c=e.goToTimepoint,l=e.scrollTo,p=e.isFirstInteraction,v=t.id.toString()===(null==r?void 0:r.toString()),f=a.useRef();a.useEffect((function(){if(v&&f.current){var e=f.current,t=e.getBoundingClientRect(),n=t.top-e.offsetParent.getBoundingClientRect().top;l(n,t.height)}}),[v]);var E=c?"cursor-pointer":"cursor-default";return a.createElement("div",{ref:f},a.createElement(i.L,{className:"py-2 ".concat(E," ").concat(d.row," ").concat(v?d.selected:""),onClick:v?function(){}:function(){c&&c(t.id)}},a.createElement("span",{className:"".concat(d.time," me-2 ").concat(v?"fw-bold":"")},p?s.T.ToDisplayDuration(n):""),a.createElement(u.y,{interaction:t,showTypeName:!0,typeNameClassName:d.type,questionClassName:d.question}),e.onClickDelete&&a.createElement(i.L,{onClick:function(n){n.stopPropagation(),e.onClickDelete(t.id)},className:"".concat(d.deleteContainer)},a.createElement("span",{className:"text-end ".concat(d.delete)},a.createElement(o.x,{size:o.S.Medium,svgName:m.vn.Delete}))),e.getCorrectness&&a.createElement("span",{className:"text-end ".concat(d.correctness)},a.createElement(g,{interaction:t,getCorrectness:e.getCorrectness}))))}function f(e){var t=e.timepoint,n=e.scrollTo,r=e.onClickDelete,i=e.selectedInteractionId,o=e.getCorrectness;function c(n){e.goToTimepoint(t.id,n)}return t.interactions?a.createElement("div",null,t.interactions.map((function(l,s){return a.createElement(v,{interaction:l,visibleAt:t.visibleAt,goToTimepoint:e.goToTimepoint&&c,onClickDelete:r,scrollTo:n,selectedInteractionId:i,isFirstInteraction:0===s,getCorrectness:o,key:s})}))):a.createElement(a.Fragment,null)}function E(e){var t=e.interactive,n=e.goToTimepoint,i=e.selectedInteractionId,o=e.maxHeight,c=e.onClickDelete,l=e.getCorrectness,s=a.useRef();function m(e,t){if(s.current){var n=s.current.getClientHeight(),a=s.current.getScrollTop(),r=e+a;(r<a||r+t>a+n)&&s.current.scrollTop(r-n/2+t/2)}}var u=n?"border rounded":"";return a.createElement(r.$B,{autoHeight:!0,autoHeightMax:o,className:u,hideTracksWhenNotNeeded:!0,ref:s},a.createElement("div",{className:"px-3 py-1"},t.timepoints.map((function(e,t){return a.createElement(f,{key:t,timepoint:e,goToTimepoint:n,selectedInteractionId:i,scrollTo:m,onClickDelete:c,getCorrectness:l})}))))}},28972:(e,t,n)=>{var a;n.d(t,{w:()=>a}),function(e){e[e.Correct=0]="Correct",e[e.Incorrect=1]="Incorrect",e[e.AwaitingMarking=2]="AwaitingMarking",e[e.Answered=3]="Answered",e[e.UnAnswered=4]="UnAnswered",e[e.NotApplicable=5]="NotApplicable"}(a||(a={}))},41630:(e,t,n)=>{n.d(t,{X:()=>T});var a=n(32735),r=n(44645),i=n(17327),o=n.n(i),c=n(56050),l=n(23481),s=n(81886),m=n(2786),u=n(93264),d=n(98758);const p={worksheet:"Bv47P",interaction:"efkgi",timepointCell:"ffoDR",interactionCell:"rKBEu",checkbox:"ilhe4",multipleChoiceAnswer:"TqhFx",shortAnswerTextArea:"voJCM",image:"go2dV",cvLogo:"Z4GOw",copyright:"petLf"};var g;function v(e){return v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},v(e)}function f(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==v(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var a=n.call(e,"string");if("object"!==v(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===v(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var E=/{([^{}]*)}/g;function b(e){return a.createElement("div",{className:"mb-2"},e.interaction.name)}function w(e){return a.createElement(a.Fragment,null,a.createElement(b,{interaction:e.interaction}),a.createElement("table",null,a.createElement("tbody",null,e.interaction.actionableItems.map((function(e){return a.createElement("tr",{key:e.id},a.createElement("td",null,a.createElement("div",{className:"border ".concat(p.checkbox)})),a.createElement("td",{className:"break-word align-top"},a.createElement("div",{className:p.multipleChoiceAnswer},e.name)))})))))}var y=(f(g={},d.Z9.Annotation,(function(e){return a.createElement("div",{dangerouslySetInnerHTML:{__html:e.interaction.data.annotation}})})),f(g,d.Z9.Image,(function(e){return a.createElement(a.Fragment,null,a.createElement(b,{interaction:e.interaction}),a.createElement("img",{className:p.image,src:e.interaction.data.url}))})),f(g,d.Z9.MissingWord,(function(e){var t=e.interaction.data.sentence.replace(E,(function(t,n){var a=2*e.interaction.actionableItems.find((function(e){return e.order.toString()===n})).name.length;return Array(a+1).join("_")}));return a.createElement("div",null,t)})),f(g,d.Z9.MultipleChoice,w),f(g,d.Z9.TrueOrFalse,w),f(g,d.Z9.ShortAnswer,(function(e){return a.createElement(a.Fragment,null,a.createElement(b,{interaction:e.interaction}),a.createElement("div",{className:"border w-100 ".concat(p.shortAnswerTextArea)}))})),g),N=l.T.encloseNamespace("interactives.printableInteractiveWorksheet");function h(e){var t=y[e.interaction.typeId];return t?a.createElement("tr",{className:p.interaction},a.createElement("td",{className:"align-top ".concat(p.timepointCell)},u.T.ToDisplayDuration(e.visibleAt)),a.createElement("td",{className:"break-word ".concat(p.interactionCell)},a.createElement(t,{interaction:e.interaction}))):a.createElement(a.Fragment,null)}function _(e){return a.createElement(a.Fragment,null,e.interactive.timepoints.map((function(e,t){return e.interactions.map((function(n,r){return a.createElement(h,{key:"".concat(t,":").concat(r),interaction:n,visibleAt:e.visibleAt})}))})))}function k(e){var t=(new Date).getFullYear();return a.createElement("div",{id:e.worksheetElementId,className:p.worksheet},a.createElement("div",{className:"row pb-2"},a.createElement("div",{className:"col-6"},N("name")," ______________________________"),a.createElement("div",{className:"col-6"},N("date")," ______________________________")),a.createElement("h1",null,a.createElement("strong",null,N("questionSheet"),":")," ",e.interactive.name),a.createElement("table",null,a.createElement("tbody",null,a.createElement(_,{interactive:e.interactive}))),a.createElement("div",{className:p.cvLogo},a.createElement(m.$S,null)),e.isClickViewContent&&a.createElement("span",{className:p.copyright},N("copyright",{year:t})))}var C=l.T.encloseNamespace("interactives.utils");function T(e,t,n){var i=document.getElementById("print-region");if(i||s.Q.Ry.throw(new c.H("Could not find print region in layout")),e){var l="printable-interactive-".concat(e.id),m=(0,r.s)(i);m.render(a.createElement("div",{className:"d-none"},a.createElement(k,{worksheetElementId:l,interactive:e,isClickViewContent:t}))),window.setTimeout((function(){o()({printable:l,type:"html",documentTitle:C("worksheetTitle",{interactiveName:e.name}),targetStyles:["*"],style:"@page { size: A4; margin: 1.5cm 0; }",onLoadingEnd:function(){n&&n(),m.unmount()},font_size:"14px"})}),200)}}},74690:(e,t,n)=>{n.r(t),n.d(t,{PreviewQuestionsView:()=>N});var a=n(32735),r=n(23481),i=n(20354),o=n(28400),c=n(65858),l=n(83657),s=n(80181),m=n(9111),u=n(13876),d=n(20768),p=n(35223),g=n(14070),v=n(97291),f=n(90102),E=n(41630);const b={printBtn:"VWlur"};function w(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=r.T.encloseNamespace("interactives.previewQuestions");function N(e){var t,n,r,N,h,_=(N=a.useState(!1),h=2,function(e){if(Array.isArray(e))return e}(N)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,r,i,o,c=[],l=!0,s=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(a=i.call(n)).done)&&(c.push(a.value),c.length!==t);l=!0);}catch(e){s=!0,r=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(s)throw r}}return c}}(N,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}}(N,h)||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.")}()),k=_[0],C=_[1],T=i.a.useBasicFetch(d.b.interactiveMetadata(e.id)),I=i.a.useBasicFetch(T.data?d.b.interactive(T.data.interactiveId):null),S=null;T.data&&(S={id:T.data.id,interactiveId:T.data.interactiveId,name:T.data.name},(null===(t=T.data._parentVideo)||void 0===t?void 0:t.id)&&(S.video={id:T.data._parentVideo.id}),(null===(n=T.data._parentClip)||void 0===n?void 0:n.id)&&(S.clip={id:T.data._parentClip.id}));var A=[{label:y("watchInteractive"),className:"btn btn-outline-dark me-2",svgName:p.vn.Play,button:!0,appLink:{application:v.O.INTERACTIVES,action:g.e.Interactives.VIEW_INTERACTIVE,args:[e.id,o.m.slugify(null===(r=I.data)||void 0===r?void 0:r.name)]},onClick:e.closePopup,analyticsData:S,analyticsOptions:{entity:c.py.Interactive,actionType:c.Vw.Click,location:c.LZ.PreviewInteractiveQuestions,descriptor:c._S.Button}},{label:y("printAsWorksheet"),className:"btn btn-outline-dark ".concat(b.printBtn),svgName:p.vn.Print,button:!0,onClick:function(){var e;C(!0),(0,E.X)(I.data,null===(e=T.data._isClickViewContent)||void 0===e?void 0:e.value,(function(){return C(!1)}))},showSpinner:k,analyticsData:S,analyticsOptions:{entity:c.py.Interactive,actionType:c.Vw.Print,location:c.LZ.PreviewInteractiveQuestions,workflowPhase:c.eu.Start,eventVersion:c.eq.V2}}];return a.createElement(m.G,{title:y("mainTitle"),closePopup:e.closePopup,showLoadingSpinner:!I.data,size:"lg"},I.data?a.createElement(a.Fragment,null,a.createElement(s.Z,{interactive:I.data,maxHeight:f.x}),a.createElement(u.u,null,a.createElement(l.e,{actions:A}))):a.createElement(a.Fragment,null))}},90102:(e,t,n)=>{n.d(t,{x:()=>a});var a=368}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk_clickview_lite=self.webpackChunk_clickview_lite||[]).push([[4705],{7542:(e,t,r)=>{r.r(t),r.d(t,{BulkUserUploadReviewExistingAccountsView:()=>T});var n=r(32735),a=r(20354),i=r(56532),s=r(23481),o=r(2948),l=r(21818),u=r(83345),c=r(38143),d=r(76881),p=r(299);function f(e,t){if(e){if("string"==typeof e)return m(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)?m(e,t):void 0}}function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function g(e){var t,r,a,i=(r=(0,o.D)(c.g.BULK_USER_UPLOAD),a=2,function(e){if(Array.isArray(e))return e}(r)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,a,i,s,o=[],l=!0,u=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(o.push(n.value),o.length!==t);l=!0);}catch(e){u=!0,a=e}finally{try{if(!l&&null!=r.return&&(s=r.return(),Object(s)!==s))return}finally{if(u)throw a}}return o}}(r,a)||f(r,a)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),g=i[0],y=i[1];n.useEffect((function(){y("existingUserToAdd",e.existingUsers)}),[]);var h=e.existingUsers,k=(0,p.X)(h,{idField:"lookupId",preselectedIds:h.map((function(e){return e.lookupId}))}),b=e.userType===d.Y.Learner?"userManager.existingStudent":"userManager.existsingStaff",v=s.T.encloseNamespace(b),x={firstName:v("tooltip",{field:"first name"}),lastName:v("tooltip",{field:"last name"}),username:v("tooltip",{field:"username"})};return(null===(t=e.users)||void 0===t?void 0:t.length)&&e.users?n.createElement(n.Fragment,null,n.createElement("h2",{className:"h4"},n.createElement(u.x,{namespace:b,phrase:"heading"})),n.createElement("main",{className:"pb-3"},n.createElement("p",null,n.createElement(u.x,{namespace:b,phrase:"subheading"})),n.createElement("p",null,n.createElement(u.x,{namespace:b,phrase:"actions"})),n.createElement(l.M,{users:h,invalidUsers:{},userType:e.userType,appLinks:e.appLinks,isChecked:k.isChecked,tooltips:x,checkboxId:"bulk-upload-review-existing-accounts",onToggleCheckbox:function(t){g.existingUserToAdd.find((function(e){return e.lookupId===t}))?y("existingUserToAdd",g.existingUserToAdd.filter((function(e){return e.lookupId!==t}))):y("existingUserToAdd",[].concat(function(e){return function(e){if(Array.isArray(e))return m(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||f(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.")}()}(g.existingUserToAdd),[e.users.find((function(e){return e.lookupId===t}))])),k.onToggleItem(t)},onToggleBulkCheckbox:function(t){k.onToggleBulk(),t.target.checked?y("existingUserToAdd",e.existingUsers):y("existingUserToAdd",[])},bulkCheckboxChecked:k.bulkChecked,bulkIndeterminate:k.hasSomeSelections()}))):n.createElement(n.Fragment,null)}var y=r(26055),h=r(43820),k=r(45541),b=r(31949),v=r(47288),x=r(18087);function T(e){var t=(0,k.V)(),r=t.users,s=t.existingUsersHash,o=a.a.useBasicFetch(b.N.currentUser()),l=a.a.useBasicFetch(o.data&&v.N.yearGroups(o.data.customerId)),u=(0,x.Y)(e.userType);return o.data&&l.data?n.createElement(y.A.Provider,{value:h.a.Primary},n.createElement(i.$,{appLinks:u,userType:e.userType,currentStep:"review-existing-accounts"},n.createElement("div",{className:"px-3"},n.createElement(g,{users:r,closePopup:e.closePopup,appLinks:u,userType:e.userType,currentUser:o.data,yearGroups:l.data,existingUsers:null==r?void 0:r.filter((function(e){return!!s[e.lookupId]}))})))):n.createElement(n.Fragment,null)}}}]);