@clickview/lite 0.44.2-rc.3 → 0.44.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (499) hide show
  1. package/dist/bundles.json +3 -3
  2. package/dist/css/{1247-lite-9a3f5f7160.chunk.css → 1247-lite-02e560ffcf.chunk.css} +2 -2
  3. package/dist/css/{140-lite-f39f9798e0.chunk.css → 140-lite-e9a20aeab2.chunk.css} +1 -1
  4. package/dist/css/{1437-lite-6042d08fa2.chunk.css → 1437-lite-c00023e06e.chunk.css} +1 -1
  5. package/dist/css/{1818-lite-9576f5191d.chunk.css → 1818-lite-028006a5ca.chunk.css} +1 -1
  6. package/dist/css/{1820-lite-462cd999ce.chunk.css → 1820-lite-269c94b335.chunk.css} +1 -1
  7. package/dist/css/{5305-lite-2e2b45f740.chunk.css → 2618-lite-627ebd3d8b.chunk.css} +2 -2
  8. package/dist/css/{2882-lite-1eb4501226.chunk.css → 2882-lite-e7d9de42c5.chunk.css} +1 -1
  9. package/dist/css/{2949-lite-09b9500537.chunk.css → 2949-lite-aed3ce5652.chunk.css} +1 -1
  10. package/dist/css/{298-lite-ff74f3b0c2.chunk.css → 298-lite-fb84b77d49.chunk.css} +1 -1
  11. package/dist/css/{2985-lite-e1eb74628f.chunk.css → 2985-lite-178e3d6fa5.chunk.css} +1 -1
  12. package/dist/css/{3095-lite-45e20b1fbe.chunk.css → 3095-lite-a17ba7d401.chunk.css} +1 -1
  13. package/dist/css/{3248-lite-c23a17e252.chunk.css → 3248-lite-cb46011cff.chunk.css} +1 -1
  14. package/dist/css/{349-lite-42731f56c0.chunk.css → 3276-lite-24011dd0df.chunk.css} +1 -1
  15. package/dist/css/{3528-lite-3d8c5a8753.chunk.css → 3528-lite-a8ddfabc25.chunk.css} +1 -1
  16. package/dist/css/{3567-lite-b984352ad1.chunk.css → 3567-lite-90e24e6c8b.chunk.css} +2 -2
  17. package/dist/css/{3626-lite-6d55b9cad7.chunk.css → 3626-lite-961b327ce9.chunk.css} +1 -1
  18. package/dist/css/{2258-lite-47fa3ad49b.chunk.css → 3645-lite-63013c63e9.chunk.css} +1 -1
  19. package/dist/css/{3695-lite-a72e961627.chunk.css → 3695-lite-af751fd0b1.chunk.css} +1 -1
  20. package/dist/css/{3801-lite-e1eb74628f.chunk.css → 3801-lite-178e3d6fa5.chunk.css} +1 -1
  21. package/dist/css/{8169-lite-4ff3b6474c.chunk.css → 3867-lite-b49fe21114.chunk.css} +1 -4
  22. package/dist/css/{4077-lite-b984352ad1.chunk.css → 4077-lite-90e24e6c8b.chunk.css} +2 -2
  23. package/dist/css/{7766-lite-6fde615b21.chunk.css → 4586-lite-57405d5422.chunk.css} +1 -1
  24. package/dist/css/{4608-lite-b9df44abe0.chunk.css → 4608-lite-26cc37d481.chunk.css} +1 -1
  25. package/dist/css/{5236-lite-64d73eb70b.chunk.css → 5236-lite-7c636da5ec.chunk.css} +1 -1
  26. package/dist/css/{2618-lite-2e2b45f740.chunk.css → 5305-lite-627ebd3d8b.chunk.css} +2 -2
  27. package/dist/css/{5595-lite-0170304bff.chunk.css → 5595-lite-9980bec60d.chunk.css} +1 -1
  28. package/dist/css/{6954-lite-8d378a0844.chunk.css → 6954-lite-20677d0252.chunk.css} +1 -1
  29. package/dist/css/{7734-lite-67b9310b87.chunk.css → 702-lite-8ab9b79dd1.chunk.css} +1 -1
  30. package/dist/css/{7240-lite-e81096bb61.chunk.css → 7240-lite-0c3922521e.chunk.css} +1 -1
  31. package/dist/css/{7498-lite-d309346ba5.chunk.css → 7498-lite-e570a649b0.chunk.css} +1 -1
  32. package/dist/css/7506-lite-979f9602d5.chunk.css +1 -0
  33. package/dist/css/{702-lite-67b9310b87.chunk.css → 7734-lite-8ab9b79dd1.chunk.css} +1 -1
  34. package/dist/css/{7776-lite-5771a62510.chunk.css → 7776-lite-7ec93ed2df.chunk.css} +2 -2
  35. package/dist/css/{8034-lite-37ebc1e8d1.chunk.css → 8034-lite-f5a2e3f41b.chunk.css} +1 -1
  36. package/dist/css/{8199-lite-58e6d638a1.chunk.css → 8199-lite-300c48d27b.chunk.css} +1 -1
  37. package/dist/css/{8581-lite-d06e59de94.chunk.css → 8581-lite-12c60b0ed8.chunk.css} +1 -1
  38. package/dist/css/{8713-lite-e81096bb61.chunk.css → 8713-lite-0c3922521e.chunk.css} +1 -1
  39. package/dist/css/{9367-lite-3165ec70f1.chunk.css → 9367-lite-1f62389eb4.chunk.css} +1 -1
  40. package/dist/css/{98-lite-1d8425f919.chunk.css → 98-lite-d3e459028c.chunk.css} +1 -1
  41. package/dist/css/{lite-app-f36b103975.css → lite-app-6142317405.css} +1 -1
  42. package/dist/languages/en.json +1 -1
  43. package/dist/scripts/{1080-9248b94574-lite.chunk.js → 1080-8c9dfbb491-lite.chunk.js} +1 -1
  44. package/dist/scripts/1081-713b2009f0-lite.chunk.js +1 -0
  45. package/dist/scripts/1197-3e8e196036-lite.chunk.js +1 -0
  46. package/dist/scripts/121-7ea66e5966-lite.chunk.js +1 -0
  47. package/dist/scripts/1247-914d177d3b-lite.chunk.js +1 -0
  48. package/dist/scripts/1276-3649cb6030-lite.chunk.js +2 -0
  49. package/dist/scripts/{1285-d07916724c-lite.chunk.js → 1285-11a8e0f8ce-lite.chunk.js} +1 -1
  50. package/dist/scripts/140-ce442e7c1e-lite.chunk.js +1 -0
  51. package/dist/scripts/1437-ca51aed59c-lite.chunk.js +1 -0
  52. package/dist/scripts/1466-1e609d0f2d-lite.chunk.js +2 -0
  53. package/dist/scripts/{1518-57002018d3-lite.chunk.js → 1518-5ababd6202-lite.chunk.js} +1 -1
  54. package/dist/scripts/{1526-58fe2eda49-lite.chunk.js → 1526-af2eac3dcb-lite.chunk.js} +1 -1
  55. package/dist/scripts/1672-3aee4ad2e0-lite.chunk.js +2 -0
  56. package/dist/scripts/170-72e998fdba-lite.chunk.js +2 -0
  57. package/dist/scripts/1725-679bfa45e5-lite.chunk.js +1 -0
  58. package/dist/scripts/1750-4771ddcf1d-lite.chunk.js +1 -0
  59. package/dist/scripts/1818-a6a4b731f7-lite.chunk.js +1 -0
  60. package/dist/scripts/1820-f846f13220-lite.chunk.js +1 -0
  61. package/dist/scripts/{1863-4c0dc81a7c-lite.chunk.js → 1863-32906a4163-lite.chunk.js} +1 -1
  62. package/dist/scripts/1891-ddedb4f12f-lite.chunk.js +1 -0
  63. package/dist/scripts/1895-d2546a0cd3-lite.chunk.js +2 -0
  64. package/dist/scripts/2118-dd0d1852f0-lite.chunk.js +2 -0
  65. package/dist/scripts/{2199-580e48a178-lite.chunk.js → 2199-b836f10122-lite.chunk.js} +1 -1
  66. package/dist/scripts/2235-c26089dac6-lite.chunk.js +1 -0
  67. package/dist/scripts/2261-e9a7e61d6d-lite.chunk.js +1 -0
  68. package/dist/scripts/2383-81084e360a-lite.chunk.js +1 -0
  69. package/dist/scripts/{287-80b9bd6994-lite.chunk.js → 287-384f5c9246-lite.chunk.js} +1 -1
  70. package/dist/scripts/2882-90f8dcd660-lite.chunk.js +1 -0
  71. package/dist/scripts/{2949-a126bef0fb-lite.chunk.js → 2949-695958186b-lite.chunk.js} +1 -1
  72. package/dist/scripts/298-e41aecf564-lite.chunk.js +1 -0
  73. package/dist/scripts/2985-8863367b73-lite.chunk.js +1 -0
  74. package/dist/scripts/3012-94fdb91743-lite.chunk.js +1 -0
  75. package/dist/scripts/3020-f7e674050d-lite.chunk.js +1 -0
  76. package/dist/scripts/3042-cb521d40b4-lite.chunk.js +1 -0
  77. package/dist/scripts/3081-b55baaca7c-lite.chunk.js +2 -0
  78. package/dist/scripts/3095-8ec332ba2b-lite.chunk.js +2 -0
  79. package/dist/scripts/3171-a923ee5f8e-lite.chunk.js +1 -0
  80. package/dist/scripts/3216-157a11893b-lite.chunk.js +1 -0
  81. package/dist/scripts/3248-8b982f50fe-lite.chunk.js +1 -0
  82. package/dist/scripts/3276-69c61e420c-lite.chunk.js +1 -0
  83. package/dist/scripts/3468-94968874b2-lite.chunk.js +1 -0
  84. package/dist/scripts/355-c2888d4603-lite.chunk.js +1 -0
  85. package/dist/scripts/3567-e6c2ad6aea-lite.chunk.js +1 -0
  86. package/dist/scripts/360-a6e2e997f5-lite.chunk.js +2 -0
  87. package/dist/scripts/3602-903eb1cd1e-lite.chunk.js +2 -0
  88. package/dist/scripts/3626-2170936b96-lite.chunk.js +1 -0
  89. package/dist/scripts/3645-c9fbac4441-lite.chunk.js +1 -0
  90. package/dist/scripts/3654-758c9e46e0-lite.chunk.js +1 -0
  91. package/dist/scripts/3667-09226e6369-lite.chunk.js +2 -0
  92. package/dist/scripts/3728-c288e986a7-lite.chunk.js +1 -0
  93. package/dist/scripts/3801-ab8cf46584-lite.chunk.js +1 -0
  94. package/dist/scripts/3836-c1b0423e7a-lite.chunk.js +1 -0
  95. package/dist/scripts/3841-539aa9573e-lite.chunk.js +2 -0
  96. package/dist/scripts/3848-4eb815382b-lite.chunk.js +1 -0
  97. package/dist/scripts/3867-2626e2cf7c-lite.chunk.js +2 -0
  98. package/dist/scripts/389-ef43f1ab6a-lite.chunk.js +1 -0
  99. package/dist/scripts/3966-5c38e725b9-lite.chunk.js +1 -0
  100. package/dist/scripts/{4032-b03e3ab723-lite.chunk.js → 4032-447a2a4182-lite.chunk.js} +1 -1
  101. package/dist/scripts/4077-031a1f7250-lite.chunk.js +1 -0
  102. package/dist/scripts/4182-0d7de6c102-lite.chunk.js +1 -0
  103. package/dist/scripts/4343-aca8b5c502-lite.chunk.js +1 -0
  104. package/dist/scripts/4393-48db651ab8-lite.chunk.js +1 -0
  105. package/dist/scripts/4436-94af094875-lite.chunk.js +1 -0
  106. package/dist/scripts/4541-b750910fb7-lite.chunk.js +1 -0
  107. package/dist/scripts/4554-936b8f399b-lite.chunk.js +1 -0
  108. package/dist/scripts/4586-c7151fd59a-lite.chunk.js +1 -0
  109. package/dist/scripts/4608-7dce720218-lite.chunk.js +1 -0
  110. package/dist/scripts/4612-f6ba941518-lite.chunk.js +1 -0
  111. package/dist/scripts/4632-c98cece511-lite.chunk.js +1 -0
  112. package/dist/scripts/4676-beb0d246a2-lite.chunk.js +2 -0
  113. package/dist/scripts/{4753-c8a19a5c5f-lite.chunk.js → 4753-fa7c39e008-lite.chunk.js} +1 -1
  114. package/dist/scripts/4778-2d3bc4ef53-lite.chunk.js +2 -0
  115. package/dist/scripts/482-5fef71ddd5-lite.chunk.js +1 -0
  116. package/dist/scripts/4858-ba1101a0e4-lite.chunk.js +1 -0
  117. package/dist/scripts/4942-4900decb33-lite.chunk.js +2 -0
  118. package/dist/scripts/4972-92567d6389-lite.chunk.js +1 -0
  119. package/dist/scripts/5009-e742b3b11e-lite.chunk.js +2 -0
  120. package/dist/scripts/{5143-ae26a1f028-lite.chunk.js → 5143-a61ff5768d-lite.chunk.js} +1 -1
  121. package/dist/scripts/5229-e35f154a36-lite.chunk.js +1 -0
  122. package/dist/scripts/{5236-5ac333cb67-lite.chunk.js → 5236-5668fcb6e1-lite.chunk.js} +2 -2
  123. package/dist/scripts/5268-5d30359c44-lite.chunk.js +2 -0
  124. package/dist/scripts/5271-6cc2fa0197-lite.chunk.js +1 -1
  125. package/dist/scripts/537-546b4eb266-lite.chunk.js +2 -0
  126. package/dist/scripts/5385-29f8ab3707-lite.chunk.js +1 -0
  127. package/dist/scripts/5438-dba8f00d2c-lite.chunk.js +1 -0
  128. package/dist/scripts/5512-254e4101b7-lite.chunk.js +2 -0
  129. package/dist/scripts/5591-5ec262eb80-lite.chunk.js +1 -0
  130. package/dist/scripts/5595-61b7b1d2a8-lite.chunk.js +1 -0
  131. package/dist/scripts/5622-679a8d7288-lite.chunk.js +2 -0
  132. package/dist/scripts/5940-af6ed27cfb-lite.chunk.js +1 -0
  133. package/dist/scripts/5956-3eb2129d6c-lite.chunk.js +1 -0
  134. package/dist/scripts/6014-8ffb3f5601-lite.chunk.js +1 -0
  135. package/dist/scripts/6086-6e1cd58ace-lite.chunk.js +2 -0
  136. package/dist/scripts/6102-ae346e08c2-lite.chunk.js +2 -0
  137. package/dist/scripts/615-92aa23faec-lite.chunk.js +1 -0
  138. package/dist/scripts/6222-96aaa999aa-lite.chunk.js +1 -0
  139. package/dist/scripts/6263-9ff85d553f-lite.chunk.js +1 -0
  140. package/dist/scripts/6274-3f0d3d8a71-lite.chunk.js +1 -0
  141. package/dist/scripts/6290-c34fa51eaf-lite.chunk.js +1 -0
  142. package/dist/scripts/{6330-b5e65b8a25-lite.chunk.js → 6330-d1700c8c92-lite.chunk.js} +1 -1
  143. package/dist/scripts/6368-9615f5727d-lite.chunk.js +1 -0
  144. package/dist/scripts/6370-2d899b7961-lite.chunk.js +1 -0
  145. package/dist/scripts/6433-355f54088c-lite.chunk.js +2 -0
  146. package/dist/scripts/6465-0295a9dcab-lite.chunk.js +1 -0
  147. package/dist/scripts/6489-4d22ec2409-lite.chunk.js +2 -0
  148. package/dist/scripts/6532-0a8811d4b1-lite.chunk.js +1 -0
  149. package/dist/scripts/6617-60a05d215d-lite.chunk.js +2 -0
  150. package/dist/scripts/6689-57f59b3af4-lite.chunk.js +1 -0
  151. package/dist/scripts/6741-4ded0ca496-lite.chunk.js +2 -0
  152. package/dist/scripts/6801-48746c5267-lite.chunk.js +1 -0
  153. package/dist/scripts/6823-0c0e463dc4-lite.chunk.js +2 -0
  154. package/dist/scripts/6896-a3d38ae7a4-lite.chunk.js +2 -0
  155. package/dist/scripts/{6930-a5b9521c20-lite.chunk.js → 6930-c7f6b5b210-lite.chunk.js} +1 -1
  156. package/dist/scripts/{6954-6205be53b0-lite.chunk.js → 6954-183ae79c12-lite.chunk.js} +1 -1
  157. package/dist/scripts/7017-1c686d77cb-lite.chunk.js +2 -0
  158. package/dist/scripts/{702-75310735d2-lite.chunk.js → 702-528d530ef3-lite.chunk.js} +1 -1
  159. package/dist/scripts/7030-c786d4e8ec-lite.chunk.js +2 -0
  160. package/dist/scripts/7052-8b6c726a6a-lite.chunk.js +2 -0
  161. package/dist/scripts/7112-5be394a047-lite.chunk.js +2 -0
  162. package/dist/scripts/7117-91ae366d34-lite.chunk.js +1 -0
  163. package/dist/scripts/7128-a5539e9d1e-lite.chunk.js +1 -0
  164. package/dist/scripts/7167-acf0110c55-lite.chunk.js +1 -0
  165. package/dist/scripts/7172-e5c5a8dc78-lite.chunk.js +1 -0
  166. package/dist/scripts/7178-b0d19154b1-lite.chunk.js +1 -0
  167. package/dist/scripts/{7205-05c2b05546-lite.chunk.js → 7205-0a33c1ff11-lite.chunk.js} +1 -1
  168. package/dist/scripts/7221-fc696d1984-lite.chunk.js +2 -0
  169. package/dist/scripts/7288-2882ea6a8a-lite.chunk.js +1 -0
  170. package/dist/scripts/7293-64d787998a-lite.chunk.js +1 -0
  171. package/dist/scripts/7338-5f6e7f9a2d-lite.chunk.js +1 -0
  172. package/dist/scripts/7385-8472652f32-lite.chunk.js +2 -0
  173. package/dist/scripts/7402-88ffc2535a-lite.chunk.js +2 -0
  174. package/dist/scripts/{7422-2208e65ac7-lite.chunk.js → 7422-6474c1c476-lite.chunk.js} +2 -2
  175. package/dist/scripts/7498-99948c0bbd-lite.chunk.js +1 -0
  176. package/dist/scripts/7506-799a5aa8ba-lite.chunk.js +1 -0
  177. package/dist/scripts/7511-2d2fe41dea-lite.chunk.js +1 -0
  178. package/dist/scripts/{7540-d5cbd0a585-lite.chunk.js → 7540-7c5a0fc317-lite.chunk.js} +1 -1
  179. package/dist/scripts/{7555-181e877fce-lite.chunk.js → 7555-5650392ae9-lite.chunk.js} +1 -1
  180. package/dist/scripts/7670-9684a40bb3-lite.chunk.js +2 -0
  181. package/dist/scripts/771-2a50f4b492-lite.chunk.js +2 -0
  182. package/dist/scripts/7715-265074805b-lite.chunk.js +1 -0
  183. package/dist/scripts/7726-10f2482d47-lite.chunk.js +1 -0
  184. package/dist/scripts/{7734-e998524903-lite.chunk.js → 7734-5aaa0adc53-lite.chunk.js} +1 -1
  185. package/dist/scripts/{7776-80ddc33c9d-lite.chunk.js → 7776-cca2e735d7-lite.chunk.js} +1 -1
  186. package/dist/scripts/7855-f068755202-lite.chunk.js +1 -0
  187. package/dist/scripts/8025-9729bd9342-lite.chunk.js +1 -0
  188. package/dist/scripts/8046-39bdfad774-lite.chunk.js +1 -0
  189. package/dist/scripts/8199-04230d108d-lite.chunk.js +2 -0
  190. package/dist/scripts/{8323-b7d1f85ed9-lite.chunk.js → 8323-a1dff86e20-lite.chunk.js} +2 -2
  191. package/dist/scripts/841-204e8dffbc-lite.chunk.js +2 -0
  192. package/dist/scripts/8581-e6c2975133-lite.chunk.js +1 -0
  193. package/dist/scripts/8681-fd629972e5-lite.chunk.js +2 -0
  194. package/dist/scripts/8713-46ee309642-lite.chunk.js +1 -0
  195. package/dist/scripts/8759-e1bd74ab1c-lite.chunk.js +1 -0
  196. package/dist/scripts/8830-e25526bf4e-lite.chunk.js +1 -0
  197. package/dist/scripts/8935-ba43b3d0dd-lite.chunk.js +2 -0
  198. package/dist/scripts/9060-130c9abc2f-lite.chunk.js +1 -0
  199. package/dist/scripts/9173-33a8c5c0ba-lite.chunk.js +2 -0
  200. package/dist/scripts/{920-d860086880-lite.chunk.js → 920-27bb460d9b-lite.chunk.js} +1 -1
  201. package/dist/scripts/9226-f6b171dbe4-lite.chunk.js +1 -0
  202. package/dist/scripts/9230-bea3f74253-lite.chunk.js +2 -0
  203. package/dist/scripts/9242-6064f14b8c-lite.chunk.js +1 -0
  204. package/dist/scripts/9367-458a9db4c6-lite.chunk.js +1 -0
  205. package/dist/scripts/9371-adcc457db4-lite.chunk.js +2 -0
  206. package/dist/scripts/9428-02847e469a-lite.chunk.js +2 -0
  207. package/dist/scripts/9433-2633f88768-lite.chunk.js +1 -0
  208. package/dist/scripts/9455-bbdbd12f6b-lite.chunk.js +1 -0
  209. package/dist/scripts/9478-7cd9d681d8-lite.chunk.js +2 -0
  210. package/dist/scripts/9484-5a77c57259-lite.chunk.js +2 -0
  211. package/dist/scripts/9557-e27e33f362-lite.chunk.js +1 -0
  212. package/dist/scripts/9674-acb57a757f-lite.chunk.js +1 -0
  213. package/dist/scripts/9719-d0ad006c61-lite.chunk.js +2 -0
  214. package/dist/scripts/98-d6d242c58e-lite.chunk.js +1 -0
  215. package/dist/scripts/9843-cad445c061-lite.chunk.js +1 -0
  216. package/dist/scripts/9894-3628ac93b9-lite.chunk.js +2 -0
  217. package/dist/scripts/9918-eb167d3142-lite.chunk.js +2 -0
  218. package/dist/scripts/9931-abf79a99fb-lite.chunk.js +2 -0
  219. package/dist/scripts/bundle-a583c5a840.min.js +2 -0
  220. package/dist/scripts/{polyfills-7bd16772e3.min.js → polyfills-7cab3b27a6.min.js} +2 -2
  221. package/jest.config.js +11 -11
  222. package/package.json +60 -60
  223. package/typings/libs/CVEvents.d.ts +12 -12
  224. package/typings/libs/CVLanguages.d.ts +24 -24
  225. package/typings/libs/cloneDeep.d.ts +4 -4
  226. package/typings/libs/cookiesjs.d.ts +25 -25
  227. package/typings/libs/draft-convert.d.ts +3 -3
  228. package/typings/libs/google-api.d.ts +93 -93
  229. package/typings/libs/intersection-observer.d.ts +82 -82
  230. package/typings/libs/microsoft-teams.d.ts +2 -2
  231. package/typings/libs/react-table-config.d.ts +138 -138
  232. package/typings/libs/trackjs.d.ts +2 -2
  233. package/typings/libs/videojs-contrib-quality-levels.d.ts +28 -28
  234. package/typings/utils/imports.d.ts +13 -13
  235. package/dist/css/7506-lite-7a2414b78c.chunk.css +0 -2
  236. package/dist/scripts/1081-b8b0499d1f-lite.chunk.js +0 -1
  237. package/dist/scripts/1197-7a88489a7b-lite.chunk.js +0 -1
  238. package/dist/scripts/121-df5427ae82-lite.chunk.js +0 -1
  239. package/dist/scripts/1247-90b14f1e67-lite.chunk.js +0 -1
  240. package/dist/scripts/1276-c906943bd2-lite.chunk.js +0 -2
  241. package/dist/scripts/140-7a9c5d721f-lite.chunk.js +0 -1
  242. package/dist/scripts/1437-ddb316549a-lite.chunk.js +0 -1
  243. package/dist/scripts/1466-35e8964709-lite.chunk.js +0 -2
  244. package/dist/scripts/1617-e392fa036d-lite.chunk.js +0 -1
  245. package/dist/scripts/1672-74160832a8-lite.chunk.js +0 -2
  246. package/dist/scripts/170-ffd1a4bc0f-lite.chunk.js +0 -2
  247. package/dist/scripts/1725-afe9c1c52a-lite.chunk.js +0 -1
  248. package/dist/scripts/1750-392a7ce984-lite.chunk.js +0 -1
  249. package/dist/scripts/1818-45a89c6fdf-lite.chunk.js +0 -1
  250. package/dist/scripts/1820-d958c2d7be-lite.chunk.js +0 -1
  251. package/dist/scripts/1857-4cf170856b-lite.chunk.js +0 -1
  252. package/dist/scripts/1891-421733c109-lite.chunk.js +0 -1
  253. package/dist/scripts/1895-0c967ec332-lite.chunk.js +0 -2
  254. package/dist/scripts/1905-2e999ec2fc-lite.chunk.js +0 -1
  255. package/dist/scripts/2118-104fa2c372-lite.chunk.js +0 -2
  256. package/dist/scripts/2235-17d38cbc78-lite.chunk.js +0 -1
  257. package/dist/scripts/2258-7be0bb5be4-lite.chunk.js +0 -1
  258. package/dist/scripts/2882-d0158d2376-lite.chunk.js +0 -1
  259. package/dist/scripts/298-cbf2afa399-lite.chunk.js +0 -1
  260. package/dist/scripts/2985-7ac9cb6d95-lite.chunk.js +0 -1
  261. package/dist/scripts/3012-a0fb81a113-lite.chunk.js +0 -1
  262. package/dist/scripts/3020-b9a55c1ce7-lite.chunk.js +0 -1
  263. package/dist/scripts/3042-df26d70c62-lite.chunk.js +0 -1
  264. package/dist/scripts/3081-108dff6034-lite.chunk.js +0 -2
  265. package/dist/scripts/3095-c647ba3436-lite.chunk.js +0 -2
  266. package/dist/scripts/3171-ce1cdce023-lite.chunk.js +0 -1
  267. package/dist/scripts/3216-31e78c8a37-lite.chunk.js +0 -1
  268. package/dist/scripts/3248-87ba43cb45-lite.chunk.js +0 -1
  269. package/dist/scripts/3468-e3772fffdc-lite.chunk.js +0 -1
  270. package/dist/scripts/3469-1bd50f9539-lite.chunk.js +0 -1
  271. package/dist/scripts/349-b13c1adbbb-lite.chunk.js +0 -1
  272. package/dist/scripts/3502-33d832cd64-lite.chunk.js +0 -1
  273. package/dist/scripts/355-f0d8123091-lite.chunk.js +0 -1
  274. package/dist/scripts/3567-3f972eb1f6-lite.chunk.js +0 -1
  275. package/dist/scripts/3602-e0583cdaf3-lite.chunk.js +0 -2
  276. package/dist/scripts/3626-24f0331605-lite.chunk.js +0 -1
  277. package/dist/scripts/3645-faa5e4963c-lite.chunk.js +0 -2
  278. package/dist/scripts/3654-e4ce211ef5-lite.chunk.js +0 -1
  279. package/dist/scripts/3667-0ad1363288-lite.chunk.js +0 -2
  280. package/dist/scripts/3728-30979bda95-lite.chunk.js +0 -1
  281. package/dist/scripts/3801-d760952451-lite.chunk.js +0 -1
  282. package/dist/scripts/3836-cac33ce0fa-lite.chunk.js +0 -1
  283. package/dist/scripts/3841-ababd193b4-lite.chunk.js +0 -2
  284. package/dist/scripts/3848-3d23e7ebe9-lite.chunk.js +0 -1
  285. package/dist/scripts/389-bd048b09ed-lite.chunk.js +0 -1
  286. package/dist/scripts/3966-ff3550c17f-lite.chunk.js +0 -1
  287. package/dist/scripts/4077-b98cfd2b3d-lite.chunk.js +0 -1
  288. package/dist/scripts/4182-e162c4aa83-lite.chunk.js +0 -1
  289. package/dist/scripts/4343-b099355fb8-lite.chunk.js +0 -1
  290. package/dist/scripts/4393-f5ca3cd7cc-lite.chunk.js +0 -1
  291. package/dist/scripts/4436-02ef766975-lite.chunk.js +0 -1
  292. package/dist/scripts/4541-5eb06804a2-lite.chunk.js +0 -1
  293. package/dist/scripts/4608-e9173aefb6-lite.chunk.js +0 -1
  294. package/dist/scripts/4612-668b3947be-lite.chunk.js +0 -1
  295. package/dist/scripts/4632-adabe764af-lite.chunk.js +0 -1
  296. package/dist/scripts/4676-3b968e527e-lite.chunk.js +0 -2
  297. package/dist/scripts/4778-770cf1c70f-lite.chunk.js +0 -2
  298. package/dist/scripts/482-09e76ed3f8-lite.chunk.js +0 -1
  299. package/dist/scripts/4858-0dcad6d6b0-lite.chunk.js +0 -1
  300. package/dist/scripts/4942-036ec7661c-lite.chunk.js +0 -2
  301. package/dist/scripts/5009-9bdaf66444-lite.chunk.js +0 -2
  302. package/dist/scripts/5229-cb70d3a557-lite.chunk.js +0 -1
  303. package/dist/scripts/5268-fe232a976e-lite.chunk.js +0 -2
  304. package/dist/scripts/5341-b9b08c848d-lite.chunk.js +0 -1
  305. package/dist/scripts/537-083ca4cf35-lite.chunk.js +0 -2
  306. package/dist/scripts/5385-2d19a5cb12-lite.chunk.js +0 -1
  307. package/dist/scripts/5438-c6155edaf7-lite.chunk.js +0 -1
  308. package/dist/scripts/5512-4498e5e270-lite.chunk.js +0 -2
  309. package/dist/scripts/5591-6c42c1db66-lite.chunk.js +0 -1
  310. package/dist/scripts/5595-c640391dca-lite.chunk.js +0 -1
  311. package/dist/scripts/5622-4ec48a03a5-lite.chunk.js +0 -2
  312. package/dist/scripts/5940-b82c66af95-lite.chunk.js +0 -1
  313. package/dist/scripts/5956-7591fc1665-lite.chunk.js +0 -1
  314. package/dist/scripts/6014-8b4d5ed71a-lite.chunk.js +0 -1
  315. package/dist/scripts/6086-119dd59a8c-lite.chunk.js +0 -2
  316. package/dist/scripts/6102-dc4cc7970e-lite.chunk.js +0 -2
  317. package/dist/scripts/615-47359245c1-lite.chunk.js +0 -1
  318. package/dist/scripts/6263-e200079fc1-lite.chunk.js +0 -1
  319. package/dist/scripts/6274-f850d775ba-lite.chunk.js +0 -1
  320. package/dist/scripts/6290-44e0fcacb1-lite.chunk.js +0 -1
  321. package/dist/scripts/6368-91546c0057-lite.chunk.js +0 -1
  322. package/dist/scripts/6433-2d6d2c0425-lite.chunk.js +0 -2
  323. package/dist/scripts/6465-3d023cd926-lite.chunk.js +0 -1
  324. package/dist/scripts/6489-d80d1f54e9-lite.chunk.js +0 -2
  325. package/dist/scripts/6532-ffb5c9cfad-lite.chunk.js +0 -1
  326. package/dist/scripts/6617-871ae46097-lite.chunk.js +0 -2
  327. package/dist/scripts/6689-503136d7fb-lite.chunk.js +0 -1
  328. package/dist/scripts/671-6ca8c3b017-lite.chunk.js +0 -1
  329. package/dist/scripts/6741-f123c02e16-lite.chunk.js +0 -2
  330. package/dist/scripts/6801-492372ca89-lite.chunk.js +0 -1
  331. package/dist/scripts/6823-4d9cec7108-lite.chunk.js +0 -2
  332. package/dist/scripts/6896-07e4c9237f-lite.chunk.js +0 -2
  333. package/dist/scripts/7017-68fd760191-lite.chunk.js +0 -2
  334. package/dist/scripts/7030-7143384a72-lite.chunk.js +0 -2
  335. package/dist/scripts/7052-ae6d1bd6b8-lite.chunk.js +0 -2
  336. package/dist/scripts/7112-8edf8c35c1-lite.chunk.js +0 -2
  337. package/dist/scripts/7117-59efcfef9b-lite.chunk.js +0 -1
  338. package/dist/scripts/7128-bfbf5bdcf9-lite.chunk.js +0 -1
  339. package/dist/scripts/7167-0c3b4dd5d9-lite.chunk.js +0 -1
  340. package/dist/scripts/7172-baf77c79b8-lite.chunk.js +0 -1
  341. package/dist/scripts/7178-b33f986d10-lite.chunk.js +0 -1
  342. package/dist/scripts/7221-f88ee657b5-lite.chunk.js +0 -2
  343. package/dist/scripts/7288-1890d3d440-lite.chunk.js +0 -1
  344. package/dist/scripts/7293-573251b2b3-lite.chunk.js +0 -1
  345. package/dist/scripts/7338-2be4393982-lite.chunk.js +0 -1
  346. package/dist/scripts/7385-3be9fca26f-lite.chunk.js +0 -2
  347. package/dist/scripts/7402-93086b41d0-lite.chunk.js +0 -2
  348. package/dist/scripts/7498-f52aa3fdd8-lite.chunk.js +0 -1
  349. package/dist/scripts/7506-bbcf638c6f-lite.chunk.js +0 -2
  350. package/dist/scripts/7670-e99e859abb-lite.chunk.js +0 -2
  351. package/dist/scripts/771-2c92e12e66-lite.chunk.js +0 -2
  352. package/dist/scripts/7715-929b4e2d3d-lite.chunk.js +0 -1
  353. package/dist/scripts/7726-2c99903817-lite.chunk.js +0 -1
  354. package/dist/scripts/7766-04d01167f3-lite.chunk.js +0 -1
  355. package/dist/scripts/7855-f84a0daeac-lite.chunk.js +0 -1
  356. package/dist/scripts/8025-32f7df46f8-lite.chunk.js +0 -1
  357. package/dist/scripts/8046-676d6a1499-lite.chunk.js +0 -1
  358. package/dist/scripts/8169-b3d5eb4956-lite.chunk.js +0 -2
  359. package/dist/scripts/8199-a8e14ce538-lite.chunk.js +0 -2
  360. package/dist/scripts/841-5a071d4f70-lite.chunk.js +0 -2
  361. package/dist/scripts/8581-b413f4bb93-lite.chunk.js +0 -1
  362. package/dist/scripts/8681-7f86d42bf9-lite.chunk.js +0 -2
  363. package/dist/scripts/8713-34e59e4d28-lite.chunk.js +0 -2
  364. package/dist/scripts/8759-38a1df6fa0-lite.chunk.js +0 -1
  365. package/dist/scripts/8830-887880a644-lite.chunk.js +0 -1
  366. package/dist/scripts/8935-661eae356d-lite.chunk.js +0 -2
  367. package/dist/scripts/9060-871125d2d8-lite.chunk.js +0 -1
  368. package/dist/scripts/9173-c1d7d055ee-lite.chunk.js +0 -2
  369. package/dist/scripts/9226-871971a670-lite.chunk.js +0 -1
  370. package/dist/scripts/9230-1ed255ad14-lite.chunk.js +0 -2
  371. package/dist/scripts/9242-253c1fa28f-lite.chunk.js +0 -1
  372. package/dist/scripts/9367-688c9cefc8-lite.chunk.js +0 -1
  373. package/dist/scripts/9371-e5956ba422-lite.chunk.js +0 -2
  374. package/dist/scripts/9428-839a0856b5-lite.chunk.js +0 -2
  375. package/dist/scripts/9433-d06ec92e01-lite.chunk.js +0 -1
  376. package/dist/scripts/9455-5696000911-lite.chunk.js +0 -1
  377. package/dist/scripts/9478-ddd8c3babb-lite.chunk.js +0 -2
  378. package/dist/scripts/9484-77682fd423-lite.chunk.js +0 -2
  379. package/dist/scripts/9557-498a86c785-lite.chunk.js +0 -1
  380. package/dist/scripts/9674-69063b67e5-lite.chunk.js +0 -1
  381. package/dist/scripts/9719-cc41b3c3b4-lite.chunk.js +0 -2
  382. package/dist/scripts/9758-a214b79f78-lite.chunk.js +0 -1
  383. package/dist/scripts/98-281be91b0d-lite.chunk.js +0 -1
  384. package/dist/scripts/9843-667a3d1766-lite.chunk.js +0 -1
  385. package/dist/scripts/9894-349903429e-lite.chunk.js +0 -2
  386. package/dist/scripts/9918-f80e4820dc-lite.chunk.js +0 -2
  387. package/dist/scripts/9931-d0df42247b-lite.chunk.js +0 -2
  388. package/dist/scripts/9931-d0df42247b-lite.chunk.js.LICENSE.txt +0 -1
  389. package/dist/scripts/bundle-84a26ba7ae.min.js +0 -2
  390. package/dist/scripts/polyfills-7bd16772e3.min.js.LICENSE.txt +0 -1
  391. /package/dist/css/{3645-lite-f1f1b748f7.chunk.css → 360-lite-f1f1b748f7.chunk.css} +0 -0
  392. /package/dist/css/{9758-lite-759fd29ff7.chunk.css → 4554-lite-759fd29ff7.chunk.css} +0 -0
  393. /package/dist/css/{3502-lite-4fa7c55b22.chunk.css → 6370-lite-4fa7c55b22.chunk.css} +0 -0
  394. /package/dist/scripts/{1276-c906943bd2-lite.chunk.js.LICENSE.txt → 1276-3649cb6030-lite.chunk.js.LICENSE.txt} +0 -0
  395. /package/dist/scripts/{1291-8def9e835a-lite.chunk.js → 1291-c91f6259b4-lite.chunk.js} +0 -0
  396. /package/dist/scripts/{1466-35e8964709-lite.chunk.js.LICENSE.txt → 1466-1e609d0f2d-lite.chunk.js.LICENSE.txt} +0 -0
  397. /package/dist/scripts/{1628-bc05035aef-lite.chunk.js → 1628-929aac77bd-lite.chunk.js} +0 -0
  398. /package/dist/scripts/{1672-74160832a8-lite.chunk.js.LICENSE.txt → 1672-3aee4ad2e0-lite.chunk.js.LICENSE.txt} +0 -0
  399. /package/dist/scripts/{170-ffd1a4bc0f-lite.chunk.js.LICENSE.txt → 170-72e998fdba-lite.chunk.js.LICENSE.txt} +0 -0
  400. /package/dist/scripts/{1726-024ce46cd7-lite.chunk.js → 1726-65dd114ac5-lite.chunk.js} +0 -0
  401. /package/dist/scripts/{1798-9632d96ebf-lite.chunk.js → 1798-93ce8a7003-lite.chunk.js} +0 -0
  402. /package/dist/scripts/{1895-0c967ec332-lite.chunk.js.LICENSE.txt → 1895-d2546a0cd3-lite.chunk.js.LICENSE.txt} +0 -0
  403. /package/dist/scripts/{2118-104fa2c372-lite.chunk.js.LICENSE.txt → 2118-dd0d1852f0-lite.chunk.js.LICENSE.txt} +0 -0
  404. /package/dist/scripts/{2137-e96bd8168c-lite.chunk.js → 2137-006f32827a-lite.chunk.js} +0 -0
  405. /package/dist/scripts/{2229-0d299dd9bc-lite.chunk.js → 2229-ea1ec1fab3-lite.chunk.js} +0 -0
  406. /package/dist/scripts/{227-9c9dd02250-lite.chunk.js → 227-8353fbed4f-lite.chunk.js} +0 -0
  407. /package/dist/scripts/{2318-df68864976-lite.chunk.js → 2318-65a3456f40-lite.chunk.js} +0 -0
  408. /package/dist/scripts/{2452-c3f02e89b5-lite.chunk.js → 2452-54c1403617-lite.chunk.js} +0 -0
  409. /package/dist/scripts/{2561-3a98d17f30-lite.chunk.js → 2561-dea7e8d20a-lite.chunk.js} +0 -0
  410. /package/dist/scripts/{2665-e2ae12f9a5-lite.chunk.js → 2665-f93d7e24b1-lite.chunk.js} +0 -0
  411. /package/dist/scripts/{3079-a2da074bd0-lite.chunk.js → 3079-5e15985c8e-lite.chunk.js} +0 -0
  412. /package/dist/scripts/{3081-108dff6034-lite.chunk.js.LICENSE.txt → 3081-b55baaca7c-lite.chunk.js.LICENSE.txt} +0 -0
  413. /package/dist/scripts/{3095-c647ba3436-lite.chunk.js.LICENSE.txt → 3095-8ec332ba2b-lite.chunk.js.LICENSE.txt} +0 -0
  414. /package/dist/scripts/{3297-9c7672bad2-lite.chunk.js → 3297-22cfd8201a-lite.chunk.js} +0 -0
  415. /package/dist/scripts/{3394-d2ac0ab5f9-lite.chunk.js → 3394-6fdbd5d887-lite.chunk.js} +0 -0
  416. /package/dist/scripts/{3528-25d8b829df-lite.chunk.js → 3528-f80f824d13-lite.chunk.js} +0 -0
  417. /package/dist/scripts/{3602-e0583cdaf3-lite.chunk.js.LICENSE.txt → 360-a6e2e997f5-lite.chunk.js.LICENSE.txt} +0 -0
  418. /package/dist/scripts/{3645-faa5e4963c-lite.chunk.js.LICENSE.txt → 3602-903eb1cd1e-lite.chunk.js.LICENSE.txt} +0 -0
  419. /package/dist/scripts/{3667-0ad1363288-lite.chunk.js.LICENSE.txt → 3667-09226e6369-lite.chunk.js.LICENSE.txt} +0 -0
  420. /package/dist/scripts/{3695-b2b273bc77-lite.chunk.js → 3695-6402bb7a97-lite.chunk.js} +0 -0
  421. /package/dist/scripts/{3841-ababd193b4-lite.chunk.js.LICENSE.txt → 3841-539aa9573e-lite.chunk.js.LICENSE.txt} +0 -0
  422. /package/dist/scripts/{4676-3b968e527e-lite.chunk.js.LICENSE.txt → 3867-2626e2cf7c-lite.chunk.js.LICENSE.txt} +0 -0
  423. /package/dist/scripts/{3973-0951538606-lite.chunk.js → 3973-1ef41d2684-lite.chunk.js} +0 -0
  424. /package/dist/scripts/{4778-770cf1c70f-lite.chunk.js.LICENSE.txt → 4676-beb0d246a2-lite.chunk.js.LICENSE.txt} +0 -0
  425. /package/dist/scripts/{4942-036ec7661c-lite.chunk.js.LICENSE.txt → 4778-2d3bc4ef53-lite.chunk.js.LICENSE.txt} +0 -0
  426. /package/dist/scripts/{4893-5407310607-lite.chunk.js → 4893-1b48182ef4-lite.chunk.js} +0 -0
  427. /package/dist/scripts/{5009-9bdaf66444-lite.chunk.js.LICENSE.txt → 4942-4900decb33-lite.chunk.js.LICENSE.txt} +0 -0
  428. /package/dist/scripts/{5236-5ac333cb67-lite.chunk.js.LICENSE.txt → 5009-e742b3b11e-lite.chunk.js.LICENSE.txt} +0 -0
  429. /package/dist/scripts/{5268-fe232a976e-lite.chunk.js.LICENSE.txt → 5236-5668fcb6e1-lite.chunk.js.LICENSE.txt} +0 -0
  430. /package/dist/scripts/{537-083ca4cf35-lite.chunk.js.LICENSE.txt → 5268-5d30359c44-lite.chunk.js.LICENSE.txt} +0 -0
  431. /package/dist/scripts/{5305-2dc78005b4-lite.chunk.js → 5305-4638fd3450-lite.chunk.js} +0 -0
  432. /package/dist/scripts/{5512-4498e5e270-lite.chunk.js.LICENSE.txt → 537-546b4eb266-lite.chunk.js.LICENSE.txt} +0 -0
  433. /package/dist/scripts/{5622-4ec48a03a5-lite.chunk.js.LICENSE.txt → 5512-254e4101b7-lite.chunk.js.LICENSE.txt} +0 -0
  434. /package/dist/scripts/{5606-be4ef0812e-lite.chunk.js → 5606-7094ae7183-lite.chunk.js} +0 -0
  435. /package/dist/scripts/{6086-119dd59a8c-lite.chunk.js.LICENSE.txt → 5622-679a8d7288-lite.chunk.js.LICENSE.txt} +0 -0
  436. /package/dist/scripts/{5914-3a74bfbc81-lite.chunk.js → 5914-597eceb270-lite.chunk.js} +0 -0
  437. /package/dist/scripts/{5974-669721475e-lite.chunk.js → 5974-b86c9629c9-lite.chunk.js} +0 -0
  438. /package/dist/scripts/{6102-dc4cc7970e-lite.chunk.js.LICENSE.txt → 6086-6e1cd58ace-lite.chunk.js.LICENSE.txt} +0 -0
  439. /package/dist/scripts/{6433-2d6d2c0425-lite.chunk.js.LICENSE.txt → 6102-ae346e08c2-lite.chunk.js.LICENSE.txt} +0 -0
  440. /package/dist/scripts/{6158-ec9bb7f6cc-lite.chunk.js → 6158-48a151e5b5-lite.chunk.js} +0 -0
  441. /package/dist/scripts/{6489-d80d1f54e9-lite.chunk.js.LICENSE.txt → 6433-355f54088c-lite.chunk.js.LICENSE.txt} +0 -0
  442. /package/dist/scripts/{6480-6a7f18b224-lite.chunk.js → 6480-b4a37ff320-lite.chunk.js} +0 -0
  443. /package/dist/scripts/{6617-871ae46097-lite.chunk.js.LICENSE.txt → 6489-4d22ec2409-lite.chunk.js.LICENSE.txt} +0 -0
  444. /package/dist/scripts/{6604-cd37d51825-lite.chunk.js → 6604-4476f46bc6-lite.chunk.js} +0 -0
  445. /package/dist/scripts/{6741-f123c02e16-lite.chunk.js.LICENSE.txt → 6617-60a05d215d-lite.chunk.js.LICENSE.txt} +0 -0
  446. /package/dist/scripts/{6896-07e4c9237f-lite.chunk.js.LICENSE.txt → 6741-4ded0ca496-lite.chunk.js.LICENSE.txt} +0 -0
  447. /package/dist/scripts/{6746-564a293b71-lite.chunk.js → 6746-7193d451c6-lite.chunk.js} +0 -0
  448. /package/dist/scripts/{6817-22846bcb3f-lite.chunk.js → 6817-e7455761fe-lite.chunk.js} +0 -0
  449. /package/dist/scripts/{6823-4d9cec7108-lite.chunk.js.LICENSE.txt → 6823-0c0e463dc4-lite.chunk.js.LICENSE.txt} +0 -0
  450. /package/dist/scripts/{6863-ff80d60966-lite.chunk.js → 6863-41d98d9001-lite.chunk.js} +0 -0
  451. /package/dist/scripts/{6873-205f6fffc7-lite.chunk.js → 6873-25ef21a555-lite.chunk.js} +0 -0
  452. /package/dist/scripts/{7017-68fd760191-lite.chunk.js.LICENSE.txt → 6896-a3d38ae7a4-lite.chunk.js.LICENSE.txt} +0 -0
  453. /package/dist/scripts/{7030-7143384a72-lite.chunk.js.LICENSE.txt → 7017-1c686d77cb-lite.chunk.js.LICENSE.txt} +0 -0
  454. /package/dist/scripts/{7052-ae6d1bd6b8-lite.chunk.js.LICENSE.txt → 7030-c786d4e8ec-lite.chunk.js.LICENSE.txt} +0 -0
  455. /package/dist/scripts/{7045-68a587f133-lite.chunk.js → 7045-9aafbfa9c1-lite.chunk.js} +0 -0
  456. /package/dist/scripts/{7112-8edf8c35c1-lite.chunk.js.LICENSE.txt → 7052-8b6c726a6a-lite.chunk.js.LICENSE.txt} +0 -0
  457. /package/dist/scripts/{7221-f88ee657b5-lite.chunk.js.LICENSE.txt → 7112-5be394a047-lite.chunk.js.LICENSE.txt} +0 -0
  458. /package/dist/scripts/{7115-11f35fb0cc-lite.chunk.js → 7115-ae58b946c3-lite.chunk.js} +0 -0
  459. /package/dist/scripts/{714-fa342f12c2-lite.chunk.js → 714-8703be85ac-lite.chunk.js} +0 -0
  460. /package/dist/scripts/{7385-3be9fca26f-lite.chunk.js.LICENSE.txt → 7221-fc696d1984-lite.chunk.js.LICENSE.txt} +0 -0
  461. /package/dist/scripts/{7240-e030f5a919-lite.chunk.js → 7240-e5b2324ba0-lite.chunk.js} +0 -0
  462. /package/dist/scripts/{7402-93086b41d0-lite.chunk.js.LICENSE.txt → 7385-8472652f32-lite.chunk.js.LICENSE.txt} +0 -0
  463. /package/dist/scripts/{7506-bbcf638c6f-lite.chunk.js.LICENSE.txt → 7402-88ffc2535a-lite.chunk.js.LICENSE.txt} +0 -0
  464. /package/dist/scripts/{7422-2208e65ac7-lite.chunk.js.LICENSE.txt → 7422-6474c1c476-lite.chunk.js.LICENSE.txt} +0 -0
  465. /package/dist/scripts/{7670-e99e859abb-lite.chunk.js.LICENSE.txt → 7670-9684a40bb3-lite.chunk.js.LICENSE.txt} +0 -0
  466. /package/dist/scripts/{7708-3df315466d-lite.chunk.js → 7708-5c73a1b08d-lite.chunk.js} +0 -0
  467. /package/dist/scripts/{771-2c92e12e66-lite.chunk.js.LICENSE.txt → 771-2a50f4b492-lite.chunk.js.LICENSE.txt} +0 -0
  468. /package/dist/scripts/{7818-eea54a36c5-lite.chunk.js → 7818-5186bb89d3-lite.chunk.js} +0 -0
  469. /package/dist/scripts/{8034-4d9e38c193-lite.chunk.js → 8034-f19be390c5-lite.chunk.js} +0 -0
  470. /package/dist/scripts/{8169-b3d5eb4956-lite.chunk.js.LICENSE.txt → 8199-04230d108d-lite.chunk.js.LICENSE.txt} +0 -0
  471. /package/dist/scripts/{823-ccc72730ae-lite.chunk.js → 823-674a667315-lite.chunk.js} +0 -0
  472. /package/dist/scripts/{8252-e33607165b-lite.chunk.js → 8252-a446b8d912-lite.chunk.js} +0 -0
  473. /package/dist/scripts/{8199-a8e14ce538-lite.chunk.js.LICENSE.txt → 8323-a1dff86e20-lite.chunk.js.LICENSE.txt} +0 -0
  474. /package/dist/scripts/{8383-5df9f9cf8e-lite.chunk.js → 8383-a42af50992-lite.chunk.js} +0 -0
  475. /package/dist/scripts/{8323-b7d1f85ed9-lite.chunk.js.LICENSE.txt → 841-204e8dffbc-lite.chunk.js.LICENSE.txt} +0 -0
  476. /package/dist/scripts/{8419-2e398347c7-lite.chunk.js → 8419-371ef33b33-lite.chunk.js} +0 -0
  477. /package/dist/scripts/{841-5a071d4f70-lite.chunk.js.LICENSE.txt → 8681-fd629972e5-lite.chunk.js.LICENSE.txt} +0 -0
  478. /package/dist/scripts/{872-267c9bfa92-lite.chunk.js → 872-9040afaac3-lite.chunk.js} +0 -0
  479. /package/dist/scripts/{8681-7f86d42bf9-lite.chunk.js.LICENSE.txt → 8935-ba43b3d0dd-lite.chunk.js.LICENSE.txt} +0 -0
  480. /package/dist/scripts/{8955-8867b61cb7-lite.chunk.js → 8955-e5be10f3da-lite.chunk.js} +0 -0
  481. /package/dist/scripts/{8982-bc5868838b-lite.chunk.js → 8982-f4ad46f2ea-lite.chunk.js} +0 -0
  482. /package/dist/scripts/{9005-48698fd295-lite.chunk.js → 9005-5dff89581f-lite.chunk.js} +0 -0
  483. /package/dist/scripts/{9038-4e18bcff89-lite.chunk.js → 9038-9a586e7721-lite.chunk.js} +0 -0
  484. /package/dist/scripts/{9151-dcdf87c38a-lite.chunk.js → 9151-a1039ec095-lite.chunk.js} +0 -0
  485. /package/dist/scripts/{8713-34e59e4d28-lite.chunk.js.LICENSE.txt → 9173-33a8c5c0ba-lite.chunk.js.LICENSE.txt} +0 -0
  486. /package/dist/scripts/{8935-661eae356d-lite.chunk.js.LICENSE.txt → 9230-bea3f74253-lite.chunk.js.LICENSE.txt} +0 -0
  487. /package/dist/scripts/{9273-6934e07ad6-lite.chunk.js → 9273-8c48c409f1-lite.chunk.js} +0 -0
  488. /package/dist/scripts/{9173-c1d7d055ee-lite.chunk.js.LICENSE.txt → 9371-adcc457db4-lite.chunk.js.LICENSE.txt} +0 -0
  489. /package/dist/scripts/{9230-1ed255ad14-lite.chunk.js.LICENSE.txt → 9428-02847e469a-lite.chunk.js.LICENSE.txt} +0 -0
  490. /package/dist/scripts/{9371-e5956ba422-lite.chunk.js.LICENSE.txt → 9478-7cd9d681d8-lite.chunk.js.LICENSE.txt} +0 -0
  491. /package/dist/scripts/{9428-839a0856b5-lite.chunk.js.LICENSE.txt → 9484-5a77c57259-lite.chunk.js.LICENSE.txt} +0 -0
  492. /package/dist/scripts/{9614-ec3cb03fe8-lite.chunk.js → 9614-bf0f0be467-lite.chunk.js} +0 -0
  493. /package/dist/scripts/{9478-ddd8c3babb-lite.chunk.js.LICENSE.txt → 9719-d0ad006c61-lite.chunk.js.LICENSE.txt} +0 -0
  494. /package/dist/scripts/{9880-1e82cec7c6-lite.chunk.js → 9880-465f4dab26-lite.chunk.js} +0 -0
  495. /package/dist/scripts/{9484-77682fd423-lite.chunk.js.LICENSE.txt → 9894-3628ac93b9-lite.chunk.js.LICENSE.txt} +0 -0
  496. /package/dist/scripts/{9719-cc41b3c3b4-lite.chunk.js.LICENSE.txt → 9918-eb167d3142-lite.chunk.js.LICENSE.txt} +0 -0
  497. /package/dist/scripts/{9894-349903429e-lite.chunk.js.LICENSE.txt → 9931-abf79a99fb-lite.chunk.js.LICENSE.txt} +0 -0
  498. /package/dist/scripts/{bundle-84a26ba7ae.min.js.LICENSE.txt → bundle-a583c5a840.min.js.LICENSE.txt} +0 -0
  499. /package/dist/scripts/{9918-f80e4820dc-lite.chunk.js.LICENSE.txt → polyfills-7cab3b27a6.min.js.LICENSE.txt} +0 -0
@@ -1,2 +0,0 @@
1
- /*! For license information please see 9371-e5956ba422-lite.chunk.js.LICENSE.txt */
2
- "use strict";(self.webpackChunk_clickview_lite=self.webpackChunk_clickview_lite||[]).push([[9371],{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-secondary"),role:"button",onClick:r},n.createElement("div",{className:"d-inline-block svg-container md"},n.createElement(o,null))))}))},49036:(t,e,r)=>{r.d(e,{f:()=>o});var n=r(32735);function o(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"))}},83510:(t,e,r)=>{r.d(e,{h:()=>Fr});var n,o,a,i=r(32735),c=r(57900),l=r(49985),u=r(74254),s=r(42328),f=r(68293),p=r(86664),h=r(2102);function d(t){return d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},d(t)}function m(t,e){(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 y(t){var e,r,n,o,a,c,l,u,y,v=(u=i.useState({fullname:"",jobTitle:"",phone:""}),y=2,function(t){if(Array.isArray(t))return t}(u)||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}}(u,y)||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}}(u,y)||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=v[0],b=v[1];function w(t,e){b((function(r){return Object.assign(Object.assign({},r),function(t,e,r){var n;return n=function(t,e){if("object"!=d(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!=d(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(e),(e="symbol"==d(n)?n:String(n))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}({},t,e))}))}return i.createElement("div",{className:"text-center"},i.createElement("h1",{className:"text-center h4"},"A little more about you"),i.createElement("p",null,"Please enter your details."),i.createElement("form",{onSubmit:function(e){e.preventDefault(),t.handleSubmitForm(g)}},i.createElement("div",{className:"form-group text-start"},i.createElement("label",{className:"d-block fw-bold mb-1",htmlFor:"fullname-input"},"Full name"),i.createElement(s.w,{value:g.fullname,onChange:function(e){e.preventDefault(),w("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(){w("fullname",""),t.removeErrorForKey("fullname"),t.removeErrorForKey("submission")},autoFocus:!0}),t.errors.fullname&&i.createElement("div",{className:"invalid-feedback d-block"},t.errors.fullname)),i.createElement("div",{className:"form-group text-start"},i.createElement("label",{className:"d-block fw-bold mb-1",htmlFor:"phone-input"},"Contact number"),i.createElement(s.w,{value:g.phone,onChange:function(e){e.preventDefault(),w("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(){w("phone",""),t.removeErrorForKey("phone"),t.removeErrorForKey("submission")}}),t.errors.phone&&i.createElement("div",{className:"invalid-feedback d-block"},t.errors.phone)),i.createElement("div",{className:"form-group text-start"},i.createElement("label",{className:"d-block fw-bold mb-1",htmlFor:"jobTitle-select"},"Job title"),i.createElement(f.B,{id:"jobTitle-select",countryCode:p.I.getCountryCode(t.country),onChange:function(e){w("jobTitle",e),t.removeErrorForKey("jobTitle"),t.removeErrorForKey("submission")},error:null===(n=t.errors)||void 0===n?void 0:n.jobTitle})),!!(null===(o=t.errors)||void 0===o?void 0:o.submission)&&i.createElement("div",{className:"form-group invalid-feedback d-block"},t.errors.submission),i.createElement("div",{className:"form-group mb-1"},i.createElement(h.m,{className:"btn-lg w-100",variant:"dark",onClick:function(){return t.handleSubmitForm(g)},showSpinner:t.loading,disabled:t.loading||(a=g.fullname,c=g.jobTitle,l=g.phone,!(a.length&&c.length&&l.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"}(n||(n={})),function(t){t.InvalidEmail="invalid-email"}(o||(o={})),function(t){t.Staff="staff",t.Learner="learner"}(a||(a={}));var v=r(76153);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 b(){b=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:C(t,r,c)}),i}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var p="suspendedStart",h="suspendedYield",d="executing",m="completed",y={};function v(){}function w(){}function E(){}var S={};u(S,i,(function(){return this}));var x=Object.getPrototypeOf,L=x&&x(x(T([])));L&&L!==r&&n.call(L,i)&&(S=L);var j=E.prototype=v.prototype=Object.create(S);function k(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function O(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 C(e,r,n){var o=p;return function(a,i){if(o===d)throw new Error("Generator is already running");if(o===m){if("throw"===a)throw i;return{value:t,done:!0}}for(n.method=a,n.arg=i;;){var c=n.delegate;if(c){var l=N(c,n);if(l){if(l===y)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===p)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var u=f(e,r,n);if("normal"===u.type){if(o=n.done?m:h,u.arg===y)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(o=m,n.method="throw",n.arg=u.arg)}}}function N(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,N(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var a=f(o,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,y;var i=a.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function A(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 P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(A,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(g(e)+" is not iterable")}return w.prototype=E,o(j,"constructor",{value:E,configurable:!0}),o(E,"constructor",{value:w,configurable:!0}),w.displayName=u(E,l,"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,u(t,l,"GeneratorFunction")),t.prototype=Object.create(j),t},e.awrap=function(t){return{__await:t}},k(O.prototype),u(O.prototype,c,(function(){return this})),e.AsyncIterator=O,e.async=function(t,r,n,o,a){void 0===a&&(a=Promise);var i=new O(s(t,r,n,o),a);return e.isGeneratorFunction(r)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},k(j),u(j,l,"Generator"),u(j,i,(function(){return this})),u(j,"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(P),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return c.type="throw",c.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],c=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var l=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(l&&u){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=t,i.arg=e,a?(this.method="next",this.next=a.finallyLoc,y):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),P(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;P(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),y}},e}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 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}}(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 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}var S=255,x=/\$+[\w\s]?/,L=/^\+?\d{4,255}$/;function j(t){if(!t)return{firstName:"",surname:""};var e=t.split(" ").filter((function(t){return t.length}));return{firstName:e.shift(),surname:e.join(" ")}}var k=r(65858),O=r(45157),C=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 N="__googleMapsScriptId";var A;!function(t){t[t.INITIALIZED=0]="INITIALIZED",t[t.LOADING=1]="LOADING",t[t.SUCCESS=2]="SUCCESS",t[t.FAILURE=3]="FAILURE"}(A||(A={}));class P{constructor({apiKey:t,authReferrerPolicy:e,channel:r,client:n,id:o=N,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||N,this.language=a,this.libraries=i,this.mapIds=c,this.nonce=l,this.region=u,this.retries=s,this.url=f,this.version=p,P.instance){if(!C(this.options,P.instance.options))throw new Error(`Loader must not be called again with different options. ${JSON.stringify(this.options)} !== ${JSON.stringify(P.instance.options)}`);return P.instance}P.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?A.FAILURE:this.done?A.SUCCESS:this.loading?A.LOADING:A.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 I(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 T(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)?T(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 T(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){return new P({apiKey:t.apiKey,version:"weekly",libraries:t.libraries,retries:3})}function U(t){var e={apiKey:t.apiKey,libraries:t.libraries||["places"]},r=I(i.useState(!1),2),n=r[0],o=r[1],a=I(i.useState(_(e)),2),c=a[0],l=a[1];function u(t,r){c?c.loadCallback((function(e){if(e)return o(!1),void(r&&r(e));o(!0),t&&t()})):l(_(e))}return i.useEffect((function(){u()}),[]),{loader:c,scriptLoaded:n,onGoogleApiReady:u}}function F(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function G(t){var e,r,n=U({apiKey:t.googleApiKey}).scriptLoaded,o=(e=i.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 F(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?F(t,e):void 0}}(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],c=o[1];return i.useEffect((function(){n&&c(new google.maps.places.AutocompleteService)}),[n]),a}function D(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 M="us",R="country:placeholder:text";function Y(t){var e,r,n=t.apiKey,o=t.geoLocation,a=t.makeRequest,l=void 0===a||a,u=t.template,s=void 0===u?"E.g. [placeholder]":u,f=t.templateKey,h=void 0===f?"[placeholder]":f,d=G({googleApiKey:n}),m=i.useState((function(){return function(t){var e=p.I.getLocalizedLocalityPlaceholderText(null==t?void 0:t.countryCode);return e||(c.SG.cacheGet("".concat(R,":").concat(null==t?void 0:t.countryCode))||void 0)}(o)})),y=(r=2,function(t){if(Array.isArray(t))return t}(e=m)||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 D(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)?D(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.")}()),v=y[0],g=y[1];function b(t,e){c.SG.cacheSet("".concat(R,":").concat(e),t,86400),g(t)}return i.useEffect((function(){if(!v&&d&&l){var t=(null==o?void 0:o.countryCode)||M,e={input:String.fromCharCode(96+O.Y.getRandomInt(26)),types:["(cities)"],region:t,componentRestrictions:{country:t}};d.getPlacePredictions(e,(function(e,r){return function(t,e,r){if(e===google.maps.places.PlacesServiceStatus.OK&&t){var n=t[O.Y.getRandomInt(t.length)].description;b(s.replace(h,n),r)}else b(p.I.getLocalizedLocalityPlaceholderText(M),r)}(e,r,t)}))}}),[v,d,o,l]),v}function K(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 z(t){var e,r,n=(e=i.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 K(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)?K(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.")}()),o=n[0],a=n[1],c=i.useRef();function l(){var t;c.current&&(null===(t=c.current.children[o-1])||void 0===t||t.scrollIntoView({block:"center"}))}return{selectedIndex:o,onKeyDown:function(e){if("ArrowDown"===e.code){e.stopPropagation(),e.preventDefault();var r=o+1;return r>t.itemCount&&(r=1),a(r),void l()}if("ArrowUp"===e.code){e.stopPropagation(),e.preventDefault();var n=o-1;return n<=0&&(n=t.itemCount),a(n),void l()}if("Enter"===e.code&&o>0)return e.stopPropagation(),e.preventDefault(),void t.onSelected(o-1);a(0)},containerRef:c}}function V(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 q(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)?q(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 q(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 B=function(t){var e,r,n,o,a,i=t.formatted_address,c=V(t.address_components);try{for(c.s();!(a=c.n()).done;){var l,u=a.value,s=V(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 $(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 J={1:"geocoderPermissionDenied",2:"geocoderUnavailable",3:"geocoderTimeout"},W=r(28329);function Z(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 X=r(11607);function H(){return i.createElement("svg",{viewBox:"0 0 24 24"},i.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 Q={baseText:"KL3Q_",inputFocused:"I6wQy",input:"ChY5L",suggestionContainer:"Y78ea",noBottomBorder:"IeYUw",localitySuggestion:"P3aHR",suggestionItem:"magL7",suggestionLoading:"W7rH_",noSuggestion:"XXSnS",selected:"snnHR"};function tt(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 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}}(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 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=t.predictions,r=t.getPlaceInfo,n=t.selectedIndex;return i.createElement(i.Fragment,null,e.map((function(t,e){return i.createElement(X.L,{className:"".concat(Q.suggestionItem," ").concat(n-1===e?Q.selected:""),key:t.place_id,onClick:function(){return r(t)}},t.description)})))}function nt(t){var e,r,n,o,a,c,l=i.useRef(),u=tt(i.useState((null===(e=t.data)||void 0===e?void 0:e.schoolLocality)||""),2),f=u[0],p=u[1],h=tt(i.useState(!1),2),d=h[0],m=h[1],y=Y({apiKey:t.googleMapsApiKey,geoLocation:t.geoLocation}),v=function(t){var e,r,n=t.search,o=t.makePredicition,a=t.geoLocation,c=G({googleApiKey:t.apiKey}),l=(0,W.N)(n,300),u=(e=i.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 Z(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)?Z(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 i.useEffect((function(){if(c)if(0!==(null==l?void 0:l.length)&&o){var t=(null==a?void 0:a.countryCode)||"us";c.getPlacePredictions({input:l,componentRestrictions:(null==a?void 0:a.isFallback)?void 0:{country:t},region:t,types:["locality","sublocality","postal_code"]},p)}else f(void 0)}),[l,o,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:a.countryCode},(function(t,e){if(e===google.maps.places.PlacesServiceStatus.OK){var n=t.geometry.location.lng(),o=t.geometry.location.lat(),a=B(t),i=a.locality,c=a.country,l=a.postalCode,u=a.city,s=a.province;r({longitude:n,latitude:o,locality:i,country:c,city:u,postalCode:l,province:s})}}))}}}({search:f,makePredicition:d,geoLocation:t.geoLocation,apiKey:t.googleMapsApiKey}),g=v.localityPredicitions,b=v.getPlaceInfo,w=function(t){var e,r,n=(e=i.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 $(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)?$(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.")}()),o=n[0],a=n[1],c=U(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")})),i=B(o);a(Object.assign(Object.assign({},i),{longitude:n,latitude:r}))}}))}function u(e){var r=J[e.code];r||(r="geocoderUnknown"),t.onPositionError("We are unable to access your location. Please try again later.")}return{placeDetails:o,onClickGetCurrentLocation:function(){c((function(){window.navigator.geolocation.getCurrentPosition(l,u)}))}}}({apiKey:t.googleMapsApiKey,onPositionError:function(t){m(!0),P(t)}}),E=w.placeDetails,S=w.onClickGetCurrentLocation,x=window.navigator.geolocation?1:0,L=z({onSelected:function(t){if(g)if(t!==g.length){var e=g[t];e&&_(e)}else F()},itemCount:null!==(r=(null==g?void 0:g.length)+x)&&void 0!==r?r:0}),j=L.selectedIndex,O=L.onKeyDown,C=L.containerRef,N=tt(i.useState(),2),A=N[0],P=N[1];function I(e){var r,n,o;A&&P(void 0),d||m(!0),((null===(r=t.data)||void 0===r?void 0:r.longitude)||(null===(n=t.data)||void 0===n?void 0:n.latitude)||(null===(o=t.data)||void 0===o?void 0:o.schoolLocality))&&t.clearStepGroupData(),p(e)}function T(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){d&&m(!1),b(t,l,T)}function F(e){null==e||e.preventDefault(),m(!1),S(),t.logUserAction({},{actionType:k.Vw.Click,descriptor:k.Yu.UseMyLocation})}i.useEffect((function(){T(E)}),[E]);var D,M=(null==g?void 0:g.length)&&!(null===(o=null===(n=t.data)||void 0===n?void 0:n.schoolLocality)||void 0===o?void 0:o.length),R=window.navigator.geolocation&&!(null===(c=null===(a=t.data)||void 0===a?void 0:a.schoolLocality)||void 0===c?void 0:c.length),K=t.labelClassName||"d-block text-center mb-3 fw-normal ".concat(Q.baseText);return i.createElement("div",{className:"form-group position-relative"},i.createElement("label",{className:K,htmlFor:"locality-input"},"Postcode or suburb:"),i.createElement(s.w,{type:"text",value:f,onChange:function(t){return I(t.currentTarget.value)},id:"locality-input",className:(D="form-control form-control-lg",M?"".concat(D," ").concat(Q.inputFocused):"".concat(D," ").concat(Q.input)),ref:l,autoComplete:"off",placeholder:y||"Loading...",disabled:t.disabled||!y,autoFocus:null==t?void 0:t.autoFocus,onClickClear:function(){I(""),l.current.focus()},onKeyDown:O}),i.createElement("div",{className:"position-absolute w-100"},!!M&&i.createElement("div",{className:"".concat(Q.suggestionContainer," ").concat(Q.localitySuggestion),ref:C},i.createElement(rt,{predictions:g,getPlaceInfo:_,selectedIndex:j}),window.navigator.geolocation&&i.createElement(X.L,{className:"".concat(Q.suggestionItem," px-1 ").concat(j-1===g.length?Q.selected:""),onClick:F},i.createElement("div",{className:"btn btn-link info-link btn-with-icon bg-transparent py-0 pe-1"},i.createElement(H,null),"Use my current location"))),R&&!M&&i.createElement("div",{className:"d-flex"},i.createElement("button",{onClick:F,className:"btn btn-link info-link bg-white btn-with-icon"},i.createElement(H,null),"Use my current location")),!!A&&i.createElement("div",{className:"text-danger p-2"},A)))}var ot=r(99940);function at(t){return at="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},at(t)}function it(t){var e="function"==typeof Map?new Map:void 0;return it=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 function(t,e,r){if(ct())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,e);var o=new(t.bind.apply(t,n));return r&&lt(o,r.prototype),o}(t,arguments,ut(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),lt(r,t)},it(t)}function ct(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(ct=function(){return!!t})()}function lt(t,e){return lt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},lt(t,e)}function ut(t){return ut=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},ut(t)}var st=function(t){function e(t){var r,n,o,a,i=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,e),(n=this,o=e,a=[i],o=ut(o),r=function(t,e){if(e&&("object"===at(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(n,ct()?Reflect.construct(o,a||[],ut(n).constructor):o.apply(n,a))).body=t,r}return 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&&lt(t,e)}(e,t),r=e,Object.defineProperty(r,"prototype",{writable:!1}),r;var r}(it(Error));function ft(t){return ft="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ft(t)}function pt(){pt=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",m="completed",y={};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===m){if("throw"===a)throw i;return{value:t,done:!0}}for(n.method=a,n.arg=i;;){var c=n.delegate;if(c){var l=O(c,n);if(l){if(l===y)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===p)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var u=f(e,r,n);if("normal"===u.type){if(o=n.done?m:h,u.arg===y)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(o=m,n.method="throw",n.arg=u.arg)}}}function O(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var a=f(o,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,y;var i=a.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function C(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function N(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function A(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(C,this),this.reset(!0)}function P(e){if(e||""===e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(ft(e)+" is not iterable")}return g.prototype=b,o(x,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:g,configurable:!0}),g.displayName=u(b,l,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===g||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,u(t,l,"GeneratorFunction")),t.prototype=Object.create(x),t},e.awrap=function(t){return{__await:t}},L(j.prototype),u(j.prototype,c,(function(){return this})),e.AsyncIterator=j,e.async=function(t,r,n,o,a){void 0===a&&(a=Promise);var i=new j(s(t,r,n,o),a);return e.isGeneratorFunction(r)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},L(x),u(x,l,"Generator"),u(x,i,(function(){return this})),u(x,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=P,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,y):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),N(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;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),y}},e}var ht=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 dt(t){var e={method:ot.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===ot.k.GET&&t.data?(r=a,n=t.data,o=r,Object.keys(n).forEach((function(t,e){n[t]&&(o+=0===e?"?":"&",o+="".concat(t,"=").concat(encodeURIComponent(n[t])))})),a=o):t.data&&(e=Object.assign(Object.assign({},e),{body:JSON.stringify(t.data)})),{init:e,url:a}}var mt={asyncFetch:function(t){return ht(this,void 0,void 0,pt().mark((function e(){var r,n,o;return pt().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=dt(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 st(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 ht(this,void 0,void 0,pt().mark((function e(){var r,n;return pt().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=dt(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=dt(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 yt(t){return yt="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},yt(t)}function vt(){vt=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",m="completed",y={};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"==yt(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,i,c)}),(function(t){r("throw",t,i,c)})):e.resolve(s).then((function(t){u.value=t,i(u)}),(function(t){return r("throw",t,i,c)}))}c(l.arg)}var a;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return a=a?a.then(o,o):o()}})}function k(e,r,n){var o=p;return function(a,i){if(o===d)throw new Error("Generator is already running");if(o===m){if("throw"===a)throw i;return{value:t,done:!0}}for(n.method=a,n.arg=i;;){var c=n.delegate;if(c){var l=O(c,n);if(l){if(l===y)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===p)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var u=f(e,r,n);if("normal"===u.type){if(o=n.done?m:h,u.arg===y)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(o=m,n.method="throw",n.arg=u.arg)}}}function O(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var a=f(o,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,y;var i=a.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function C(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function N(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function A(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(C,this),this.reset(!0)}function P(e){if(e||""===e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(yt(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,y):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),N(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;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),y}},e}var gt,bt={search:function(t,e,r,n,o){var a={longitude:e.longitude,latitude:e.latitude};e.query&&(a.query=e.query),mt.fetch({url:t.searchProspect,data:a,success:r,error:n,always:o})},create:function(t,e){return r=this,n=void 0,o=void 0,a=vt().mark((function r(){return vt().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",mt.asyncFetch({url:t.createProspect,method:ot.k.POST,data:e}));case 1:case"end":return r.stop()}}),r)})),new(o||(o=Promise))((function(t,e){function i(t){try{l(a.next(t))}catch(t){e(t)}}function c(t){try{l(a.throw(t))}catch(t){e(t)}}function l(e){var r;e.done?t(e.value):(r=e.value,r instanceof o?r:new o((function(t){t(r)}))).then(i,c)}l((a=a.apply(r,n||[])).next())}));var r,n,o,a},getLookups:function(t,e){return mt.asyncFetch({url:t.prospectLookups(e)})}},wt=r(97395),Et=r(84789),St=function(t,e){if(t.productName!==Et.X.Lite)return Promise.reject();var r={email:e.email};return mt.asyncFetch({url:t.userStatus,data:r})},xt=function(t,e,r,n,o){var a=t.prospectStatus(e.prospectId);a=wt._.urlBuilder(a,{email:e.email}),mt.fetch({url:a,success:r,error:n,always:o})},Lt=function(t,e){var r={prospectId:e.prospectId,firstName:"Trial",surname:"User",email:e.email,userType:e.userType,accessPolicy:e.accessPolicy,appLink:null==e?void 0:e.appLink};return mt.asyncFetch({url:t.createTrial,method:ot.k.POST,data:r})},jt=function(t,e,r){if(t.productName!==Et.X.Lite)return Promise.reject();var n={email:r.email,appLink:null==r?void 0:r.appLink};return mt.asyncFetch({url:t.resendTrialEmail(e),method:ot.k.POST,data:n})},kt=function(t,e){var r=t.productName===Et.X.Auth?t.joinRequest:t.joinRequest(e.customerId),n=t.productName===Et.X.Auth?e:{email:e.email};return mt.asyncFetch({url:r,method:ot.k.POST,data:n})},Ot=function(t,e){return t.productName!==Et.X.Lite?Promise.reject():mt.asyncFetch({url:t.autoJoin,method:ot.k.POST,data:e})};!function(t){t.TwentyOneDays="trial_21_v1",t.Freemium="freemium_v1"}(gt||(gt={}));var Ct=function(t){return p.I.isCountryCodeUS(t)||p.I.isCountryCodeUK(t)?gt.Freemium:gt.TwentyOneDays},Nt=r(72688),At=r(99504);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",m="completed",y={};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===m){if("throw"===a)throw i;return{value:t,done:!0}}for(n.method=a,n.arg=i;;){var c=n.delegate;if(c){var l=O(c,n);if(l){if(l===y)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===p)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var u=f(e,r,n);if("normal"===u.type){if(o=n.done?m:h,u.arg===y)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(o=m,n.method="throw",n.arg=u.arg)}}}function O(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var a=f(o,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,y;var i=a.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function C(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function N(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function A(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(C,this),this.reset(!0)}function P(e){if(e||""===e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(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,y):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),N(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;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),y}},e}function Tt(t){var e=At.F.getUtmParameters(),r=Nt.N.getAttributionData(),n={prospect_id:null==t?void 0:t.prospectId,email:null==t?void 0:t.email,organisation_sub_type:v.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,original_referrer:null==r?void 0:r.originalReferrer,internal_referrer:null==r?void 0:r.internalReferrer,utms:e};return v.F.removeEmptyKeys(n)}var _t,Ut={submitFormEvent:function(t,e,r,n){return o=this,a=void 0,i=void 0,c=It().mark((function o(){var a,i;return It().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,v.F.getClient({brazeConfig:t.brazeConfig,productName:t.productName,geoLocation:t.geoLocation,version:t.version});case 2:a=o.sent,i=Tt(Object.assign(Object.assign({},r),{form_type:e})),a.openSession(),a.setUser(v.F.hashedEmail(null==r?void 0:r.email)),a.logEvent({type:v.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}},Ft=["Primary","Secondary","K12","Special","TAFE","University"],Gt=["Elementary","Middle School","High School","College","Other"],Dt={au:Ft,nz:Ft,uk:["Primary","Secondary","Primary & Secondary","Special","Sixth Form College","FE College","University","Other"],us:Gt};function Mt(t){return Mt="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},Mt(t)}function Rt(){Rt=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",m="completed",y={};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"==Mt(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,i,c)}),(function(t){r("throw",t,i,c)})):e.resolve(s).then((function(t){u.value=t,i(u)}),(function(t){return r("throw",t,i,c)}))}c(l.arg)}var a;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return a=a?a.then(o,o):o()}})}function k(e,r,n){var o=p;return function(a,i){if(o===d)throw new Error("Generator is already running");if(o===m){if("throw"===a)throw i;return{value:t,done:!0}}for(n.method=a,n.arg=i;;){var c=n.delegate;if(c){var l=O(c,n);if(l){if(l===y)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===p)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var u=f(e,r,n);if("normal"===u.type){if(o=n.done?m:h,u.arg===y)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(o=m,n.method="throw",n.arg=u.arg)}}}function O(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var a=f(o,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,y;var i=a.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function C(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function N(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function A(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(C,this),this.reset(!0)}function P(e){if(e||""===e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(Mt(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,y):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),N(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;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),y}},e}function Yt(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,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 Kt(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)?Kt(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 Kt(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"}(_t||(_t={}));var zt=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 Vt(t,e){return e?"".concat(t," ").concat(e):t}var qt=function(t){return i.createElement("h1",{className:Vt("text-center mb-2 h4",t.className)},t.children)},Bt=function(t){return i.createElement("div",{className:Vt("text-center text-sm px-2 px-lg-4",t.className)},t.children)},$t=function(t){return i.createElement("p",{className:Vt("",t.className)},t.children)};function Jt(t){return Jt="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},Jt(t)}function Wt(t,e,r){var n;return n=function(t,e){if("object"!=Jt(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!=Jt(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(e),(e="symbol"==Jt(n)?n:String(n))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Zt(t){var e=Wt(Wt(Wt(Wt(Wt(Wt(Wt(Wt({},n.Available,t.imageUrls.statusImages.available),n.Active,t.imageUrls.statusImages.active),n.Expired,t.imageUrls.statusImages.expired),n.NotRequired,t.imageUrls.statusImages.notRequired),n.Unavailable,t.imageUrls.statusImages.unavailable),n.Unsupported,t.imageUrls.statusImages.unsupported),n.UserAutoJoinAllowed,t.imageUrls.statusImages.notRequired),n.UserJoinApprovalRequired,t.imageUrls.statusImages.notRequired);return i.createElement("div",{className:"d-flex justify-content-center my-4 px-2 px-lg-4"},i.createElement("img",{src:e[t.trialStatus],className:"w-100 h-auto"}))}var Xt=r(69624);function Ht(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 i.createElement(Bt,{className:"mb-3"},e?i.createElement(i.Fragment,null,i.createElement(qt,null,r,i.createElement("br",null),"already has ClickView 🎉"),i.createElement($t,{className:"mt-3"},"If your school has SSO ",i.createElement("a",{href:Xt.F.getLoginLink({email:t.email,customerId:t.customerId}),className:"info-link"},"click here to sign in.")),i.createElement($t,null,"Otherwise please contact your school admin for access.")):i.createElement(i.Fragment,null,i.createElement(qt,null,"Good News!"),i.createElement($t,null,"An account already exists for:",i.createElement("br",null)," ",i.createElement("strong",null,t.email)),i.createElement($t,null,i.createElement("a",{href:Xt.F.getLoginLink({email:t.email}),className:"btn btn-dark btn-lg w-100"},"Sign into ClickView"))),i.createElement($t,null,"Need Help? ",i.createElement("a",{href:Xt.F.getSupportUrlForGeoLocation(t.geoLocation),className:"info-link",target:"_blank"},"Contact our Help Centre.")))}function Qt(t){return Qt="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},Qt(t)}function te(){te=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",m="completed",y={};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"==Qt(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,i,c)}),(function(t){r("throw",t,i,c)})):e.resolve(s).then((function(t){u.value=t,i(u)}),(function(t){return r("throw",t,i,c)}))}c(l.arg)}var a;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return a=a?a.then(o,o):o()}})}function k(e,r,n){var o=p;return function(a,i){if(o===d)throw new Error("Generator is already running");if(o===m){if("throw"===a)throw i;return{value:t,done:!0}}for(n.method=a,n.arg=i;;){var c=n.delegate;if(c){var l=O(c,n);if(l){if(l===y)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===p)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var u=f(e,r,n);if("normal"===u.type){if(o=n.done?m:h,u.arg===y)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(o=m,n.method="throw",n.arg=u.arg)}}}function O(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var a=f(o,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,y;var i=a.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function C(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function N(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function A(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(C,this),this.reset(!0)}function P(e){if(e||""===e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(Qt(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,y):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),N(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;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),y}},e}function ee(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 re(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?re(t,e):void 0}}(t,e)||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 re(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function ne(t){return ne="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ne(t)}function oe(t,e,r){var n;return n=function(t,e){if("object"!=ne(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!=ne(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(e),(e="symbol"==ne(n)?n:String(n))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var ae=oe(oe(oe(oe(oe(oe(oe(oe({},n.Available,(function(t){var e=ee(i.useState(0),2),r=e[0],n=e[1],o=ee(i.useState(!1),2),c=o[0],l=o[1];if(null==t?void 0:t.email)return i.createElement(Bt,null,i.createElement(qt,null,"Check your inbox!"),i.createElement($t,null,"An email has been sent to ",i.createElement("strong",null,t.email),"."),!!t.userId&&i.createElement(i.Fragment,null,r<1?i.createElement("button",{onClick:function(e){return o=this,a=void 0,i=void 0,c=te().mark((function o(){return te().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return null==e||e.preventDefault(),o.prev=1,o.next=4,jt(t.ajaxUrls,t.userId,{email:t.email,appLink:t.pageAppLinkString});case 4:n(r+1),o.next=10;break;case 7:o.prev=7,o.t0=o.catch(1),l(!0);case 10:t.logUserAction({},{actionType:k.Vw.Click,descriptor:k.Yu.ResendEmail});case 11:case"end":return o.stop()}}),o,null,[[1,7]])})),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},className:"btn btn-outline-dark btn-lg mb-3"},"Resend verification email"):i.createElement($t,null,"✅ Email has been resent!"),i.createElement($t,null,"Wrong email? ",i.createElement("button",{onClick:function(e){null==e||e.preventDefault(),t.logUserAction({},{actionType:k.Vw.Click,descriptor:k.Yu.WrongEmail}),t.nextStep({step:"enter-email",userType:a.Staff})},className:"btn info-link p-0"},"Update email address")),c&&i.createElement($t,{className:"mb-0 text-danger"},"❌ There was a problem resending the email. Please try again later or contact our  ",i.createElement("a",{href:Xt.F.getSupportUrlForGeoLocation(t.geoLocation),className:"info-link"},"support"))))})),n.Active,Ht),n.Expired,(function(t){var e=Xt.F.getMarketingSalesContactForGeoLocation(t.geoLocation),r=(null==t?void 0:t.previousStepIds)&&"find-school"===t.previousStepIds[t.previousStepIds.length-1],n=(null==t?void 0:t.schoolName)||"Your school";return i.createElement(Bt,null,i.createElement(qt,null,r?"".concat(n," trial has expired"):"Your trial has expired"),i.createElement($t,null,"Please contact our ",i.createElement("a",{href:e,className:"info-link",target:"_blank"},"ClickView Sales Team")))})),n.NotRequired,Ht),n.Unavailable,(function(t){var e=Xt.F.getMarketingSalesContactForGeoLocation(t.geoLocation);return i.createElement(Bt,null,i.createElement(qt,null,"Your school no longer",i.createElement("br",null)," has access to ClickView"),i.createElement($t,null,"Please contact our ",i.createElement("a",{href:e,className:"info-link"},"ClickView Sales Team")," for more information."))})),n.Unsupported,(function(){return i.createElement(Bt,null,i.createElement(qt,{className:"px-2 px-lg-4"},"ClickView isn't currently ",i.createElement("br",null)," available for your school"),i.createElement($t,null,"We're working hard to get ClickView ready for more people."))})),n.UserAutoJoinAllowed,Ht),n.UserJoinApprovalRequired,Ht);function ie(t){var e=ae[t.trialStatus];return i.createElement(e,Object.assign({},t))}var ce="young-student",le={"trial-status":function(t){return i.useEffect((function(){var e={actionType:k.Vw.Create,descriptor:k.Yu.DeadEnd,workflowPhase:k.eu.Discard};t.trialCreated&&(e.descriptor=k.Yu.TrialCreated,e.workflowPhase=k.eu.Complete),t.logUserAction({},e)}),[]),i.createElement(i.Fragment,null,i.createElement(Zt,{trialStatus:t.trialStatus,imageUrls:t.imageUrls}),i.createElement(ie,Object.assign({},t)))},"added-to-braze":function(t){return i.useEffect((function(){t.logUserAction({},{actionType:k.Vw.Create,descriptor:k.Yu.TrialRequested,workflowPhase:k.eu.Complete})}),[]),i.createElement(i.Fragment,null,i.createElement(Zt,{trialStatus:n.Available,imageUrls:t.imageUrls}),i.createElement(Bt,{className:"mb-3"},i.createElement(qt,null,"Submitted!"),i.createElement($t,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=Xt.F.getFreeResourcesForGeoLocation(t.geoLocation);return i.useEffect((function(){c.SG.set(ce,!0)}),[]),i.createElement(i.Fragment,null,i.createElement(Zt,{trialStatus:n.Active,imageUrls:t.imageUrls}),i.createElement(Bt,{className:"mb-3"},i.createElement(qt,null,"Discover our free content"),i.createElement($t,null,"Click the button below to explore our videos"),i.createElement("a",{href:e,className:"btn btn-lg btn-dark w-100",target:"_blank"},"Start watching now")))},"requested-access":function(t){return i.createElement(i.Fragment,null,i.createElement(Zt,{trialStatus:n.Available,imageUrls:t.imageUrls}),i.createElement(Bt,{className:"mb-3"},i.createElement(qt,null,"You've requested access!"),i.createElement($t,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 ue(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 se(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)?se(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 se(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 fe(t,e,r){return"".concat(t.padStart(4,"0"),"-").concat(e.padStart(2,"0"),"-").concat(r.padStart(2,"0"))}var pe=r(49036);const he="gVdYS",de="Mlp3x";function me(t){var e=t.idp,r=t.onClick,n=t.last;return i.createElement("button",{className:"btn btn-lg btn-outline-dark w-100 ".concat(n?"":"mb-3"," ").concat(he),onClick:function(){return r(e)}},e.logoUrl&&i.createElement("img",{src:e.logoUrl,className:de}),"Continue with ",e.name)}var ye=[{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"}],ve=r(93824);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 be(){be=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",m="completed",y={};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===m){if("throw"===a)throw i;return{value:t,done:!0}}for(n.method=a,n.arg=i;;){var c=n.delegate;if(c){var l=O(c,n);if(l){if(l===y)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===p)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var u=f(e,r,n);if("normal"===u.type){if(o=n.done?m:h,u.arg===y)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(o=m,n.method="throw",n.arg=u.arg)}}}function O(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var a=f(o,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,y;var i=a.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function C(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function N(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function A(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(C,this),this.reset(!0)}function P(e){if(e||""===e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(ge(e)+" is not iterable")}return g.prototype=b,o(x,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:g,configurable:!0}),g.displayName=u(b,l,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===g||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,u(t,l,"GeneratorFunction")),t.prototype=Object.create(x),t},e.awrap=function(t){return{__await:t}},L(j.prototype),u(j.prototype,c,(function(){return this})),e.AsyncIterator=j,e.async=function(t,r,n,o,a){void 0===a&&(a=Promise);var i=new j(s(t,r,n,o),a);return e.isGeneratorFunction(r)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},L(x),u(x,l,"Generator"),u(x,i,(function(){return this})),u(x,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=P,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,y):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),N(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;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),y}},e}function we(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 Ee(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ee(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ee(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function Se(t,e,r){var n;return n=function(t,e){if("object"!=ge(t)||!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)}(e),(e="symbol"==ge(n)?n:String(n))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var xe=new RegExp(/^[^\s@]+@[^\s@]+\.[^\s@]+$/),Le=Se(Se(Se(Se({},ve.C.AU,"valerie.frizzle@school.edu.au"),ve.C.UK,"valerie.frizzle@school.gov.uk"),ve.C.US,"valerie.frizzle@school.gov"),ve.C.NZ,"valerie.frizzle@school.nz");function je(t){return Le[p.I.getCountryCode(t.countryCode)]||Le.us}var ke=[n.Expired,n.NotRequired,n.Unavailable,n.Unsupported,n.Active];function Oe(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 Ce=r(12238);function Ne(t){return Ne="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ne(t)}function Ae(){Ae=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",m="completed",y={};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"==Ne(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,i,c)}),(function(t){r("throw",t,i,c)})):e.resolve(s).then((function(t){u.value=t,i(u)}),(function(t){return r("throw",t,i,c)}))}c(l.arg)}var a;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return a=a?a.then(o,o):o()}})}function k(e,r,n){var o=p;return function(a,i){if(o===d)throw new Error("Generator is already running");if(o===m){if("throw"===a)throw i;return{value:t,done:!0}}for(n.method=a,n.arg=i;;){var c=n.delegate;if(c){var l=O(c,n);if(l){if(l===y)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===p)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var u=f(e,r,n);if("normal"===u.type){if(o=n.done?m:h,u.arg===y)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(o=m,n.method="throw",n.arg=u.arg)}}}function O(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var a=f(o,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,y;var i=a.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function C(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function N(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function A(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(C,this),this.reset(!0)}function P(e){if(e||""===e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(Ne(e)+" is not iterable")}return g.prototype=b,o(x,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:g,configurable:!0}),g.displayName=u(b,l,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===g||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,u(t,l,"GeneratorFunction")),t.prototype=Object.create(x),t},e.awrap=function(t){return{__await:t}},L(j.prototype),u(j.prototype,c,(function(){return this})),e.AsyncIterator=j,e.async=function(t,r,n,o,a){void 0===a&&(a=Promise);var i=new j(s(t,r,n,o),a);return e.isGeneratorFunction(r)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},L(x),u(x,l,"Generator"),u(x,i,(function(){return this})),u(x,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=P,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,y):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),N(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;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),y}},e}function Pe(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 Ie(t){return Ie="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},Ie(t)}function Te(){Te=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",m="completed",y={};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"==Ie(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,i,c)}),(function(t){r("throw",t,i,c)})):e.resolve(s).then((function(t){u.value=t,i(u)}),(function(t){return r("throw",t,i,c)}))}c(l.arg)}var a;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return a=a?a.then(o,o):o()}})}function k(e,r,n){var o=p;return function(a,i){if(o===d)throw new Error("Generator is already running");if(o===m){if("throw"===a)throw i;return{value:t,done:!0}}for(n.method=a,n.arg=i;;){var c=n.delegate;if(c){var l=O(c,n);if(l){if(l===y)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===p)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var u=f(e,r,n);if("normal"===u.type){if(o=n.done?m:h,u.arg===y)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(o=m,n.method="throw",n.arg=u.arg)}}}function O(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var a=f(o,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,y;var i=a.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function C(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function N(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function A(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(C,this),this.reset(!0)}function P(e){if(e||""===e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(Ie(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,y):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),N(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;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),y}},e}var _e=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())}))},Ue=r(80247);function Fe(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 Ge(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)?Ge(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 Ge(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 De(t){var e=t.filteredSchoolsList,r=t.getSchoolName,n=t.onSchoolSuggestionClick,o=t.selectedIndex;return i.createElement(i.Fragment,null,e.map((function(t,e){return i.createElement(X.L,{className:"".concat(Q.suggestionItem," ").concat(o-1===e?Q.selected:""),key:t.id,onClick:function(){return n(t)}},r(t)," ",i.createElement("br",null),i.createElement("small",{className:"text-secondary"},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 Me(t){return i.createElement("div",{className:"info-link ".concat(Q.suggestionItem," ").concat(Q.noSuggestion," ").concat(t.selected?Q.selected:""),onClick:t.handleNoSuggestion},"Can't find your school?")}function Re(t){var e,r,n=i.useRef(),o=Fe(i.useState(!0),2),a=o[0],c=o[1],l=Fe(i.useState(t.data.schoolName&&t.data.schoolPostCode?t.data.schoolName+", "+t.data.schoolPostCode:t.data.schoolName?t.data.schoolName:""),2),u=l[0],f=l[1],p=Fe(i.useState(),2),h=p[0],d=p[1],m=(0,W.N)(u,250),y=z({onSelected:function(t){if(h||t)if(t!==h.length){var e=h[t];e&&O(e)}else N()},itemCount:null!==(e=(null==h?void 0:h.length)+1)&&void 0!==e?e:0}),v=y.selectedIndex,g=y.onKeyDown,b=y.containerRef,w=!!(null===(r=t.data)||void 0===r?void 0:r.prospectId),E=a&&!w,S=!a&&!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!==u&&f(e)}function j(e){c(!0);var r={latitude:t.data.latitude,longitude:t.data.longitude};e&&e.length&&(r.query=e),bt.search(t.ajaxUrls,r,(function(t){return d(t)}),null,(function(){return c(!1)}))}function O(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 N(){t.nextStep({step:"cant-find-school",prospectId:t.data.prospectId,schoolName:u,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:k.Vw.Click,descriptor:k.Yu.CantFindSchool,workflowPhase:k.eu.Next})}i.useEffect((function(){w||(m.length?!w&&m.length>1&&m===u&&j(m):j())}),[m,w]);var A=x||E||S;return i.createElement("div",{className:"form-group position-relative"},i.createElement(s.w,{value:u,onChange:function(t){return L(t.currentTarget.value)},ref:n,className:"form-control form-control-lg ".concat(A?Q.inputFocused:Q.input),type:"text",autoComplete:"off",placeholder:"Select your school below",disabled:t.disabled,autoFocus:!0,onClickClear:function(){L(""),n.current.focus()},onKeyDown:g}),i.createElement("div",{className:"position-absolute w-100"},i.createElement("div",{className:"".concat(Q.suggestionContainer," ").concat(A?"":"d-none"),ref:b},x?i.createElement(De,{filteredSchoolsList:h,onSchoolSuggestionClick:O,getSchoolName:C,selectedIndex:v}):E&&i.createElement("div",{className:"".concat(Q.suggestionLoading," py-4 d-flex justify-content-center")},i.createElement(Ue.Z,{animation:"border"})),!E&&(null==h?void 0:h.length)<5&&i.createElement(Me,{selected:v===h.length+1,handleNoSuggestion:N}))))}function Ye(t){return Ye="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ye(t)}function Ke(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 ze(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)?ze(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 ze(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 Ve="R8ZPi",qe="SNEmW",Be="BSfO7";function $e(t){return i.createElement(i.Fragment,null,i.createElement(X.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 d-sm-block\n d-none\n ".concat(Ve," ").concat(t.selected?qe:""),onClick:function(){return t.onClick(t.type)}},i.createElement("img",{src:t.imageSrc,className:"rounded-top mx-auto pb-2"}),i.createElement("div",{className:"py-2"},i.createElement("span",{className:"h4"},t.buttonText))),i.createElement(X.L,{className:"btn btn-lg btn-outline-dark w-100 d-sm-none d-block mx-auto ".concat(Be),onClick:function(){return t.onClick(t.type)}},t.buttonText))}var Je={"select-type":function(t){function e(e){t.logUserAction({userType:e},{actionType:k.Vw.Click,workflowPhase:k.eu.Next,descriptor:e===a.Staff?k.Yu.Educator:k.Yu.Student}),e!==a.Staff?t.nextStep({step:"enter-age",userType:e}):t.nextStep({step:"enter-email",userType:e})}return i.createElement("div",{className:"text-center"},i.createElement("h1",{className:"h4"},"Access educational videos at your fingertips"),i.createElement("p",{className:"mb-3"},"Let's get you set up so you can access ClickView."),i.createElement("div",{className:"row"},i.createElement("div",{className:"col-lg-6 mb-3"},i.createElement($e,{type:a.Staff,buttonText:"I'm an educator",imageSrc:t.imageUrls.educator,onClick:e,selected:t.userType===a.Staff})),i.createElement("div",{className:"col-lg-6 mb-3"},i.createElement($e,{type:a.Learner,buttonText:"I'm a student",imageSrc:t.imageUrls.student,onClick:e,selected:t.userType===a.Learner}))))},"enter-email":function(t){var e,r,n,c,l=we(i.useState(!1),2),u=l[0],f=l[1],d=we(i.useState((null==t?void 0:t.email)||""),2),m=d[0],y=d[1],v=we(i.useState(),2),g=v[0],b=v[1],w=(n=t.geoLocation,c=Xt.F.getMarketingUrlForGeoLocation(n),"nz"===(null==n?void 0:n.countryCode)?c+"/contact-us/":c+"/contact-us/technical/");function E(e){null==e||e.preventDefault(),function(){var e,r,n,a;e=this,r=void 0,n=void 0,a=be().mark((function e(){var r;return be().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(m.length?xe.test(m)||(b("Please use your school email address."),0):(b("Please enter your school email address."),0)){e.next=2;break}return e.abrupt("return");case 2:return f(!0),b(""),e.prev=4,e.next=7,St(t.ajaxUrls,{email:m});case 7:r=e.sent,e.next=14;break;case 10:return e.prev=10,e.t0=e.catch(4),b("Something went wrong! Please try again later."),e.abrupt("return");case 14:if(f(!1),r.status!==o.InvalidEmail){e.next=18;break}return b("Please use your school email address."),e.abrupt("return");case 18:if(t.logUserAction({},{actionType:k.Vw.Click,workflowPhase:k.eu.Next,descriptor:k.Yu.EnterEmail}),!ke.includes(r.status)){e.next=22;break}return t.complete({completionStep:"trial-status",email:m,trialStatus:r.status,trialCreated:!1}),e.abrupt("return");case 22:t.nextStep({step:"find-school",email:m});case 23:case"end":return e.stop()}}),e,null,[[4,10]])})),new(n||(n=Promise))((function(t,o){function i(t){try{l(a.next(t))}catch(t){o(t)}}function c(t){try{l(a.throw(t))}catch(t){o(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((a=a.apply(e,r||[])).next())}))}()}function S(t){var e=window.location.pathname+window.location.search;window.location.href=t.url+"&redirectUrl="+encodeURIComponent(e)}var x=!1;return t.userType===a.Staff&&(p.I.isCountryCodeUS(null===(e=t.geoLocation)||void 0===e?void 0:e.countryCode)&&(x=!0),(null===(r=window.location.search)||void 0===r?void 0:r.indexOf("emulateUSA"))>-1&&(x=!0)),i.createElement(i.Fragment,null,i.createElement("div",{className:"text-center"},i.createElement("h1",{className:"h4"},"Let's set up your account"),i.createElement("p",null,"Enter your school email address")),i.createElement("form",{onSubmit:E,noValidate:!0},i.createElement("div",{className:"form-group mb-3"},i.createElement(s.w,{value:m,onChange:function(t){t.preventDefault(),y(t.target.value),b("")},name:"email-input",id:"email-input",type:"email",className:"form-control form-control-lg ".concat(g?"is-invalid":""),placeholder:je(t.geoLocation),autoComplete:"false",autoCorrect:"false",autoFocus:!0,onClickClear:function(){return y("")}}),g&&i.createElement(i.Fragment,null,i.createElement("div",{className:"invalid-feedback d-block"},g),i.createElement("small",null,"Having an issue with your email?",i.createElement("a",{href:w,className:"info-link ps-1",target:"_blank",onClick:function(){t.logUserAction({},{actionType:k.Vw.Click,descriptor:k.Yu.ContactUs})}},"Contact our team")))),i.createElement(h.m,{showSpinner:u,variant:"dark",className:"btn-lg mb-3 w-100",disabled:u,onClick:E},"Continue")),x&&i.createElement("div",{className:"mt-n3"},i.createElement("div",{className:"my-3 border-bottom position-relative ".concat("bGwO5")}),ye.map((function(t,e){return i.createElement(me,{onClick:S,idp:t,key:e})}))),i.createElement("div",{className:"text-center"},i.createElement(pe.f,{link:Xt.F.getLoginLink(),onClick:function(){t.logUserAction({},{actionType:k.Vw.Click,descriptor:k.Yu.SignIn})}})))},"find-school":function(t){var e,r,o=t.email,c=t.userType,l=Ke(i.useState({schoolLocality:t.schoolLocality,country:t.country,longitude:t.longitude,latitude:t.latitude,city:t.city,province:t.province,prospectId:t.prospectId,schoolName:t.schoolName,schoolType:t.schoolType,schoolPostCode:t.schoolPostCode}),2),u=l[0],s=l[1],f=Ke(i.useState(t.trialStatus),2),p=f[0],d=f[1],m=Ke(i.useState(),2),y=m[0],g=m[1],b=Ke(i.useState(!1),2),w=b[0],E=b[1],S=Ke(i.useState(!1),2),x=S[0],L=S[1],j=Ke(i.useState(!1),2),O=j[0],C=j[1],N=function(t){var e=t.loading,r=t.canSubmitForm,o=t.setSubmissionError,i=t.prospectStatus,c=t.userType,l=t.logStepEvent,u=t.logUserAction,s=t.nextStep,f=t.data,p=t.productName,h=t.ajaxUrls,d=t.complete,m=t.setLoadingState,y=t.email,g=t.pageAppLinkString,b=t.setProperty,w=t.brazeConfig,E=t.geoLocation,S=t.version;function x(){return _e(this,void 0,void 0,Te().mark((function t(){return Te().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,Ot(h,{prospectId:f.prospectId,email:y});case 3:u({},{actionType:k.Vw.Click,descriptor:k.Yu.AutoJoin}),d(Object.assign({completionStep:"trial-status",trialCreated:!0,trialStatus:n.Available},f)),t.next=12;break;case 7:return t.prev=7,t.t0=t.catch(0),o("Something went wrong! Please try again later."),m(!1),t.abrupt("return");case 12:case"end":return t.stop()}}),t,null,[[0,7]])})))}function L(){var t;return _e(this,void 0,void 0,Te().mark((function e(){var r,o;return Te().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=void 0,!(null==f?void 0:f.prospectId)||i!==n.NotRequired){e.next=6;break}return e.next=4,bt.getLookups(h,f.prospectId);case 4:o=e.sent,r=null===(t=o.find((function(t){return t.type===Ce.C.MasterId})))||void 0===t?void 0:t.externalId;case 6:d(Object.assign({completionStep:"trial-status",trialStatus:i,trialCreated:!1,customerId:r},f)),l();case 8:case"end":return e.stop()}}),e)})))}function j(){return _e(this,void 0,void 0,Te().mark((function t(){return Te().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Ut.submitFormEvent({brazeConfig:w,productName:p,geoLocation:E,version:S},"trial-sign-up",Object.assign(Object.assign({},f),{email:y,province:v.F.parseProvince(f.province)}));case 2:case"end":return t.stop()}}),t)})))}function O(){var t;return _e(this,void 0,void 0,Te().mark((function e(){var r;return Te().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return m(!0),e.prev=1,e.next=4,Lt(h,{userType:c,email:y,prospectId:null==f?void 0:f.prospectId,appLink:g,accessPolicy:Ct(f.country)});case 4:r=e.sent,e.next=12;break;case 7:return e.prev=7,e.t0=e.catch(1),o("Something went wrong! Please try again later."),m(!1),e.abrupt("return");case 12:i===n.UserAutoJoinAllowed&&u({},{actionType:k.Vw.Click,descriptor:k.Yu.AutoJoin}),b("userId",r.id),d(Object.assign({completionStep:"trial-status",userId:r.id,trialCreated:!0,trialStatus:n.Available,customerId:null===(t=r.data)||void 0===t?void 0:t.customerId},f)),j(),l();case 17:case"end":return e.stop()}}),e,null,[[1,7]])})))}return function(){return _e(this,void 0,void 0,Te().mark((function t(){return Te().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 o("Something went wrong! Please try again later."),t.abrupt("return");case 5:if(c!==a.Staff){t.next=14;break}if(i!==n.Unsupported){t.next=8;break}return t.abrupt("return",(s(Object.assign({step:"add-to-braze",trialStatus:i},f)),void l()));case 8:if(i!==n.UserJoinApprovalRequired){t.next=10;break}return t.abrupt("return",(s(Object.assign({step:"request-access"},f)),void l()));case 10:if(i!==n.UserAutoJoinAllowed||p!==Et.X.Lite){t.next=14;break}return t.next=13,x();case 13:case 17:case 20:return t.abrupt("return",t.sent);case 14:if(i===n.Active||i===n.Available||i===n.UserAutoJoinAllowed&&p===Et.X.Auth){t.next=18;break}return t.next=17,L();case 18:return t.next=20,O();case 21:case"end":return t.stop()}}),t)})))}}(Object.assign(Object.assign({},t),{prospectStatus:p,loading:w,data:u,canSubmitForm:A,setSubmissionError:g,logStepEvent:function(){var e={actionType:k.Vw.Click,descriptor:k.Yu.FindSchool,workflowPhase:k.eu.Next};t.logUserAction(u||{},e)},setLoadingState:function(t){L(t),C(t),E(t)},setProperty:P}));function A(){if(!u||!o||!c)return!1;var t=u.prospectId;return!!(o&&c&&t)}function P(e,r){"prospectId"===e&&r&&(E(!0),xt(t.ajaxUrls,{prospectId:r.toString(),email:t.email},(function(t){d(t.status)}),(function(){console.log("error")}),(function(){E(!1)}))),s((function(t){return Object.assign(Object.assign({},t),function(t,e,r){var n;return n=function(t,e){if("object"!=Ye(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!=Ye(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(e),(e="symbol"==Ye(n)?n:String(n))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}({},e,r))}))}function I(){P("prospectId",void 0),P("schoolName",""),P("schoolPostCode",void 0),g(void 0)}return i.createElement(i.Fragment,null,i.createElement("div",{className:"text-center"},i.createElement("h1",{className:"h4"},"Next, let's find your school"),i.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":"us"===(null==r?void 0:r.toLowerCase())?"Enter your school zipcode or city":"Enter your school postcode or city")),i.createElement(nt,{data:u,setDataProperty:P,clearStepGroupData:function(){P("schoolLocality",void 0),s((function(t){return Object.assign(Object.assign({},t),{longitude:undefined,latitude:undefined})})),P("city",void 0),P("province",void 0),P("country",void 0),I(),g(void 0)},disabled:x,geoLocation:t.geoLocation,labelClassName:"d-none",logUserAction:t.logUserAction,googleMapsApiKey:t.googleMapsApiKey,autoFocus:!0}),!!(u&&u.schoolLocality&&u.longitude&&u.latitude)&&i.createElement(Re,{data:u,setDataProperty:P,clearStepItemData:I,nextStep:t.nextStep,currentStepId:t.currentStepId,disabled:O,logUserAction:t.logUserAction,ajaxUrls:t.ajaxUrls}),y&&i.createElement("p",{className:"text-danger mb-2"},y),A()&&i.createElement(h.m,{className:"btn-lg w-100",variant:"dark",onClick:N,showSpinner:x||O||w,disabled:x||O||w},"Get started"))},"cant-find-school":function(t){var e,r,o,a=Yt(i.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),c=a[0],l=a[1],u=Yt(i.useState(),2),s=u[0],f=u[1],d=Yt(i.useState(!1),2),m=d[0],y=d[1],g=(r=c.country||(null===(e=t.geoLocation)||void 0===e?void 0:e.countryCode),o=p.I.getCountryCode(r),Dt[o]||Gt);function b(){var t=c.schoolName,e=c.schoolType,r=c.country;return!!(t&&e&&r)}function w(t,e){l((function(r){return Object.assign(Object.assign({},r),function(t,e,r){var n;return n=function(t,e){if("object"!=Mt(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!=Mt(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(e),(e="symbol"==Mt(n)?n:String(n))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}({},t,e))}))}function E(){return zt(this,void 0,void 0,Rt().mark((function e(){var r,n,o,a,i;return Rt().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.email,n=t.brazeConfig,o=t.productName,a=t.geoLocation,i=t.version,e.next=3,Ut.submitFormEvent({brazeConfig:n,productName:o,geoLocation:a,version:i},"trial-sign-up",Object.assign(Object.assign({},c),{email:r}));case 3:case"end":return e.stop()}}),e)})))}return i.createElement(i.Fragment,null,i.createElement("div",{className:"text-center"},i.createElement("h1",{className:"h4"},"Tell us more about your school"),i.createElement("p",null,"Please enter your school details.")),i.createElement("div",{className:"form-group"},i.createElement("label",{className:"d-block",htmlFor:"school-name-input"},"Name of school"),i.createElement("input",{type:"text",value:(null==c?void 0:c.schoolName)||"",onChange:function(t){w("schoolName",t.target.value)},id:"school-name-input",className:"form-control form-control-lg",autoComplete:"off",placeholder:"Enter name of school",autoFocus:!0})),i.createElement("div",{className:"form-group"},i.createElement("label",{className:"d-block",htmlFor:"school-type-select"},"Type of school"),i.createElement("select",{id:"school-type-select",className:"form-select form-select-lg ".concat(c.schoolType?"":"text-secondary"),autoComplete:"off",value:c.schoolType||"none",onChange:function(t){w("schoolType",t.target.value)}},i.createElement("option",{value:"none",className:"text-secondary",disabled:!0},"Select type of school"),g.map((function(t){return i.createElement("option",{value:t,key:t,className:"text-dark"},t)})))),i.createElement(nt,{data:c,setDataProperty:w,clearStepGroupData:function(){w("schoolLocality",void 0),l((function(t){return Object.assign(Object.assign({},t),{longitude:undefined,latitude:undefined})})),w("city",void 0),w("province",void 0),w("country",void 0),f("")},disabled:!1,labelClassName:"d-block",geoLocation:t.geoLocation,logUserAction:t.logUserAction,googleMapsApiKey:t.googleMapsApiKey,autoFocus:!1}),s&&i.createElement("div",{className:"text-danger mb-3"},s),b()&&i.createElement(h.m,{className:"btn-lg w-100",variant:"dark",onClick:function(e){var r;return zt(this,void 0,void 0,Rt().mark((function o(){var a,i,l;return Rt().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:if(e.preventDefault(),b()){o.next=3;break}return o.abrupt("return");case 3:return t.logUserAction(c,{actionType:k.Vw.Click,workflowPhase:k.eu.Next,descriptor:k.Yu.CantFindSchool}),y(!0),o.prev=5,o.next=8,bt.create(t.ajaxUrls,{name:c.schoolName,status:_t.Draft,countryCode:c.country,prospectType:c.schoolType,city:c.city,postCode:c.schoolPostCode,province:v.F.parseProvince(c.province)});case 8:if((a=o.sent).id){o.next=13;break}return y(!1),f("Error. Something went wrong."),o.abrupt("return");case 13:o.next=20;break;case 15:return o.prev=15,o.t0=o.catch(5),y(!1),f("Error. Something went wrong."),o.abrupt("return");case 20:return o.prev=20,o.next=23,Lt(t.ajaxUrls,{userType:t.userType,email:t.email,prospectId:a.id,appLink:t.pageAppLinkString,accessPolicy:Ct(c.country)});case 23:i=o.sent,t.complete({completionStep:"trial-status",email:t.email,userId:i.id,prospectId:a.id,schoolName:c.schoolName,schoolLocality:c.schoolLocality,country:c.country,schoolType:c.schoolType,city:c.city,schoolPostCode:c.schoolPostCode,latitude:c.latitude,longitude:c.longitude,province:c.province,trialStatus:n.Available,trialCreated:!0,customerId:null===(r=i.data)||void 0===r?void 0:r.customerId}),E(),o.next=38;break;case 28:if(o.prev=28,o.t1=o.catch(20),o.t1.body){o.next=34;break}return y(!1),f("Error. Something went wrong."),o.abrupt("return");case 34:if(400!==(l=o.t1).body.status||"trial-not-available"!==l.body.type){o.next=38;break}return t.nextStep(Object.assign(Object.assign({step:"add-to-braze"},c),{prospectId:a.id,trialStatus:n.Unavailable})),o.abrupt("return");case 38:case"end":return o.stop()}}),o,null,[[5,15],[20,28]])})))},showSpinner:m,disabled:m},"Get started"))},completed:function(t){var e=le[t.completionStep];return i.createElement("div",{className:"d-flex justify-content-center flex-column mx-auto px-2"},i.createElement(e,Object.assign({},t)))},"add-to-braze":function(t){var e,r=w(i.useState(!1),2),o=r[0],c=r[1],l=w(i.useState({}),2),s=l[0],f=l[1];function p(e){var r=j(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:v.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:v.F.getEventTopic()};return v.F.removeEmptyKeys(a)}function h(){t.complete({completionStep:"added-to-braze",trialCreated:!1,trialStatus:null})}return i.useEffect((function(){t.userType===a.Learner&&t.complete({completionStep:"trial-status",trialCreated:!1,trialStatus:n.Unsupported})}),[]),i.createElement(y,{errors:s,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=j(e),a=o.firstName,i=o.surname,c={};return a&&i||(c.fullname="Please enter your full name."),(x.test(a)||x.test(i))&&(c.fullname="Please enter your full name."),e.length>S&&(c.fullname="Full name cannot exceed max length of ".concat(S," characters.")),(null==r?void 0:r.length)||(c.jobTitle="Please enter your job title."),x.test(r)&&(c.jobTitle="Please enter a valid job title."),r.length>S&&(c.jobTitle="Job Title cannot exceed max length of ".concat(S," characters.")),(null==n?void 0:n.length)||(c.phone="Please enter your phone number."),!x.test(n)&&L.test(n)||(c.phone="Please enter a valid phone number."),f(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"))?h():function(e){var r,n,i,l;r=this,n=void 0,i=void 0,l=b().mark((function r(){var n,i,l,d,m,y,g;return b().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!==a.Learner){r.next=5;break}return f(Object.assign(Object.assign({},s),{submission:"Something went wrong! Please try again later."})),r.abrupt("return");case 5:return t.logUserAction({},{actionType:u.Vw.Click,workflowPhase:u.eu.Next,descriptor:u.Yu.AddToBraze}),c(!0),n=p(e),i=t.geoLocation.isFallback?{countryCode:t.country||t.geoLocation.countryCode}:t.geoLocation,r.next=11,v.F.getClient({brazeConfig:t.brazeConfig,geoLocation:i,productName:t.productName,version:t.version});case 11:l=r.sent,d=j(e.fullname),m=d.firstName,y=d.surname,g={prospect_id:null==t?void 0:t.prospectId,organisation_sub_type:v.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:v.F.parseProvince((null==t?void 0:t.province)||"")},job_title:e.jobTitle,sync_to_crm:!0},g=v.F.removeEmptyKeys(g);try{l.setUser(v.F.hashedEmail(null==t?void 0:t.email)),l.setUserFirstName(m),l.setUserLastName(y),l.setUserPhone(e.phone),l.setUserEmail(null==t?void 0:t.email),l.openSession(),l.bulkSetCustomUserAttributes(g),l.logEvent({type:v.F.getCustomEventType(),data:n}),l.sendData((function(t){f(t?{}:Object.assign(Object.assign({},s),{submission:"Something went wrong! Please try again later."})),c(!1)}))}catch(t){f(Object.assign(Object.assign({},s),{submission:"Something went wrong! Please try again later."}))}Object.keys(s).length||h();case 17:case"end":return r.stop()}}),r)})),new(i||(i=Promise))((function(t,e){function o(t){try{c(l.next(t))}catch(t){e(t)}}function a(t){try{c(l.throw(t))}catch(t){e(t)}}function c(e){var r;e.done?t(e.value):(r=e.value,r instanceof i?r:new i((function(t){t(r)}))).then(o,a)}c((l=l.apply(r,n||[])).next())}))}(e))},removeErrorForKey:function(t){if(Object.keys(s).length&&s[t]){var e=Object.assign({},s);delete e[t],f(e)}}})},"enter-age":function(t){var e=ue(i.useState(""),2),r=e[0],n=e[1],o=ue(i.useState(""),2),a=o[0],c=o[1],l=ue(i.useState(""),2),u=l[0],s=l[1],f=ue(i.useState(null),2),h=f[0],d=f[1];var m=(new Date).getFullYear(),y="mx-2 d-inline-block text-start",v="form-control form-control-lg ".concat(h?"is-invalid":""),g="order-0",b="order-3",w=p.I.isCountryCodeUS(t.geoLocation.countryCode);return w&&(g="order-3",b="order-0"),i.createElement("form",{className:"text-center",onSubmit:function(e){if(e.preventDefault(),r&&a&&u?function(t,e,r){var n=new Date(fe(t,e,r));return!isNaN(+n)}(u,a,r)?+u>m?(d("Please enter a date in the past"),0):!(+u<m-120&&(d("Please enter a realistic date of birth"),1)):(d("Please enter a valid date"),0):(d("Please enter your date of birth"),0)){var n=new Date(fe(u,a,r)),o=m-13,i=new Date;i.setFullYear(o),n>i?t.complete({completionStep:"young-student",trialCreated:!1,trialStatus:null}):t.nextStep({step:"enter-email",userType:t.userType})}},noValidate:!0},i.createElement("h1",{className:"h4"},"Tell us a little about yourself"),i.createElement("p",null,"Please enter your date of birth"),i.createElement("div",{className:"my-4"},i.createElement("div",{className:"d-flex justify-content-center"},i.createElement("div",{className:"".concat(y," ").concat(g)},i.createElement("label",{className:"mb-0",htmlFor:"day"},"Day"),i.createElement("input",{id:"day",type:"number",className:"".concat(v," ").concat("e0Dbj"),min:"1",max:"31",placeholder:"DD",value:r,onChange:function(t){n(t.target.value),d(null)},autoFocus:!w,tabIndex:w?2:1})),i.createElement("span",{className:"h1 fw-normal mt-3 mb-0 order-1 ".concat(h?"text-danger":"")},"/"),i.createElement("div",{className:"".concat(y," ").concat(b)},i.createElement("label",{className:"mb-0",htmlFor:"month"},"Month"),i.createElement("input",{id:"month",type:"number",className:"".concat(v," ").concat("zLcQr"),min:"1",max:"12",placeholder:"MM",value:a,onChange:function(t){c(t.target.value),d(null)},autoFocus:w,tabIndex:w?1:2})),i.createElement("span",{className:"h1 fw-normal mt-3 mb-0 order-4 ".concat(h?"text-danger":"")},"/"),i.createElement("div",{className:"".concat(y," order-5")},i.createElement("label",{className:"mb-0",htmlFor:"year"},"Year"),i.createElement("input",{id:"year",type:"number",className:"".concat(v," ").concat("XiXPP"),min:m-120,max:m,placeholder:"YYYY",value:u,onChange:function(t){s(t.target.value),d(null)},tabIndex:3}))),!!h&&i.createElement("div",{className:"invalid-feedback d-block"},h)),i.createElement("button",{type:"submit",className:"btn btn-lg btn-dark w-100"},"Continue"))},"request-access":function(t){var e,r,o=(e=i.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 Pe(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)?Pe(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],c=o[1];return i.createElement(i.Fragment,null,i.createElement(Zt,{trialStatus:n.UserJoinApprovalRequired,imageUrls:t.imageUrls}),i.createElement(Bt,{className:"mb-3"},i.createElement(qt,null,t.schoolName,i.createElement("br",null),"already has ClickView 🎉")),i.createElement("button",{className:"btn btn-lg btn-dark w-100 mb-3",onClick:function(){var e,r,o,a,i;return r=this,o=void 0,a=void 0,i=Ae().mark((function r(){var o,a;return Ae().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,bt.getLookups(t.ajaxUrls,t.prospectId);case 3:if(o=r.sent,a=null===(e=o.find((function(t){return t.type===Ce.C.MasterId})))||void 0===e?void 0:e.externalId){r.next=8;break}return c("Something went wrong."),r.abrupt("return");case 8:return r.next=10,kt(t.ajaxUrls,{customerId:a,email:t.email});case 10:t.logUserAction({},{actionType:k.Vw.Click,descriptor:k.Yu.RequestAccess}),t.complete({completionStep:"requested-access",trialCreated:!1,trialStatus:n.UserJoinApprovalRequired}),r.next=17;break;case 14:r.prev=14,r.t0=r.catch(0),c(Oe(r.t0));case 17:case"end":return r.stop()}}),r,null,[[0,14]])})),new(a||(a=Promise))((function(t,e){function n(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 r;e.done?t(e.value):(r=e.value,r instanceof a?r:new a((function(t){t(r)}))).then(n,c)}l((i=i.apply(r,o||[])).next())}))}},"Request access"),a&&i.createElement("p",{className:"text-danger text-center mb-2"},a),i.createElement($t,{className:"text-center"},"Need Help? ",i.createElement("a",{href:Xt.F.getSupportUrlForGeoLocation(t.geoLocation),className:"info-link",target:"_blank"},"Contact our Help Centre.")))}};function We(t){var e=t.state,r=t.geoLocation,n=t.layoutMapping,o=t.hasPreviousStep,a=t.googleMapsApiKey,c=t.pageAppLinkString,l=t.back,u=t.nextStep,s=t.complete,f=t.logUserAction,p=t.imageUrls,h=t.ajaxUrls,d=t.brazeConfig,m=t.version,y=t.productName,v=Je[e.currentStepId],g=Object.assign(Object.assign({},e),{geoLocation:r,googleMapsApiKey:a,pageAppLinkString:c,back:l,nextStep:u,complete:s,logUserAction:f,imageUrls:p,ajaxUrls:h,brazeConfig:d,version:m,productName:y}),b=null==n?void 0:n[e.currentStepId];return b?i.createElement(b,{geoLocation:t.geoLocation,currentStep:e.currentStepId,previousStep:l,closeApp:t.close,logUserAction:f,hasPreviousStep:o,imageUrls:t.imageUrls},i.createElement(v,Object.assign({},g))):i.createElement(v,Object.assign({},g))}var Ze=r(1048);const Xe={buttonContainer:"izZtA",dataContainer:"OgBv5"};function He(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function Qe(t){var e={};return Object.keys(t).forEach((function(r){var n=t[r];Ze.t.isObject(n)&&null!==n&&!Array.isArray(n)?Object.assign(e,Qe(n)):e[r]=n})),e}function tr(t){var e=t.label,r=t.item,n=r;return Array.isArray(r)&&(n=n.join(" -> ")),"boolean"==typeof n&&(n=n?"true":"false"),i.createElement("div",{className:"pb-1"},e,": ",i.createElement("b",{className:"text-white"},n))}function er(t){var e,r,n=t.developmentEnv,o=t.objects,a=(e=i.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 He(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?He(t,e):void 0}}(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=a[0],l=a[1],u=i.useMemo((function(){return Qe(o)}),[o]);return n&&i.createElement(i.Fragment,null,i.createElement("div",{className:"position-fixed p-4 ".concat(Xe.buttonContainer)},i.createElement("button",{onClick:function(){l(!c)},className:"btn btn-dark px-2 py-1"},c?"Hide":"Show"," debugger")),c&&i.createElement("div",{className:"fixed-bottom mb-4 ms-4 bg-dark rounded ".concat(Xe.dataContainer)},i.createElement("code",{className:"d-block p-4"},i.createElement("div",{className:"fw-bold pb-2"},"{ Debug: Form Data }"),Object.keys(u).map((function(t){return i.createElement(tr,{key:t,label:t,item:u[t]})})))))}var rr=r(83529);const nr={crumb:"Btmx2"};function or(t,e){var r="rounded-circle mx-2 d-inline-block "+nr.crumb,n=t===e?"bg-info":"bg-light";return"".concat(r," ").concat(n)}function ar(t){return i.createElement("div",{className:"text-center"},t.crumbs.map((function(e){return i.createElement("div",{className:or(t.currentStep,e),key:e})})))}var ir=r(98461);function cr(t){var e=Xt.F.getTermsAndConditionsLink(),r=Xt.F.getPrivacyPolicyLink();return i.createElement("span",{className:"text-center text-md mt-2 text-normal small"},"By signing up you agree to the",i.createElement("br",null),i.createElement(ir.d,{href:e,onClick:t.onClickTermsAndConditions,className:"info-link",newTab:!0},"Terms and Conditions"),"  and  ",i.createElement(ir.d,{href:r,onClick:t.onClickPrivacyPolicy,className:"info-link",newTab:!0},"Privacy Policy"))}var lr=r(83914),ur=r(35223);function sr(t){return i.createElement("button",{onClick:t.onClick,className:"btn p-0 cursor-pointer d-inline-flex align-items-center"},i.createElement(lr.x,{svgName:ur.vn.ChevronLeft,size:lr.S.Medium}),t.children)}var fr=r(2786);hr.defaultProps={showBackButton:!0};var pr=["select-type","enter-email","find-school"];function hr(t){var e=t.currentStep,r=t.previousStep,n=t.hasPreviousStep,o=t.showBackButton,a=t.children;return i.createElement("div",{className:"d-flex flex-column justify-content-between px-4 py-0 ".concat("jZ_Wp")},i.createElement("div",{className:"mt-3 mb-2"},pr.includes(e)&&i.createElement(ar,{crumbs:pr,currentStep:e})),i.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")},i.createElement("div",{className:"d-flex flex-row justify-content-center align-items-center mt-2 mb-3"},n&&o&&["enter-email","find-school","cant-find-school","add-to-braze","enter-age","request-access"].includes(e)&&i.createElement(sr,{onClick:function(){r(),t.logUserAction({step:e},{actionType:k.Vw.Click,descriptor:k.Yu.Back,workflowPhase:k.eu.Back})}}),i.createElement("div",{className:"d-flex justify-content-center align-items-center px-2 ".concat("J97w_")},i.createElement(fr.$S,null))),a),i.createElement("div",{className:"position-relative mb-4 mt-3 text-center"},"select-type"===e&&i.createElement(pe.f,{link:Xt.F.getLoginLink(),onClick:function(){t.logUserAction({},{actionType:k.Vw.Click,descriptor:k.Yu.SignIn})}}),["enter-email","find-school","add-to-braze"].includes(e)&&i.createElement(cr,{onClickTermsAndConditions:function(){t.logUserAction({},{actionType:k.Vw.Click,descriptor:k.Yu.TermsAndConditions})},onClickPrivacyPolicy:function(){t.logUserAction({},{actionType:k.Vw.Click,descriptor:k.Yu.PrivacyPolicy})}})))}var dr=r(28366);vr.defaultProps={showBackButton:!0};var mr=["enter-email","find-school"],yr=["enter-email","find-school","cant-find-school","add-to-braze","enter-age","request-access"];function vr(t){var e=t.currentStep,r=t.previousStep,n=t.hasPreviousStep,o=t.showBackButton,a=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:k.Vw.Click,descriptor:k.Yu.Back,workflowPhase:k.eu.Back})}var s=yr.includes(t.currentStep),f=s?"".concat(dr.Z.leftHalfLayout," ").concat(dr.Z.withBg):dr.Z.leftHalfLayout;return i.createElement("div",{className:f},i.createElement("div",{className:"row mx-0 p-3"},i.createElement("div",{className:"col px-0 d-lg-none ".concat(dr.Z.popupButton)},n&&l()&&o&&i.createElement(sr,{onClick:u})),i.createElement("div",{className:"col col-lg-6 px-0"},i.createElement("div",{className:dr.Z.logo},i.createElement("div",{className:"d-none d-lg-block"},s?i.createElement(fr.Yo,null):i.createElement(fr.$S,null)),i.createElement("div",{className:"d-block d-lg-none mt-1"},i.createElement(fr.$S,null),mr.includes(t.currentStep)&&i.createElement("div",{className:"mt-3"},i.createElement(ar,{crumbs:mr,currentStep:e}))))),i.createElement("div",{className:"col col-lg-6 d-flex flex-row justify-content-between px-0"},i.createElement("div",{className:"px-3"},i.createElement("div",{className:"d-none d-lg-block ".concat(dr.Z.popupButton)},n&&l()&&o&&i.createElement(sr,{onClick:u}))),mr.includes(t.currentStep)&&i.createElement("div",{className:"d-none d-lg-block align-self-center"},i.createElement(ar,{crumbs:mr,currentStep:e})),i.createElement(X.L,{onClick:a,className:dr.Z.popupButton},i.createElement(lr.x,{svgName:ur.vn.Close,size:lr.S.Medium})))),i.createElement("div",{className:"row mx-0 flex-grow-1"},s&&i.createElement("div",{className:"col-6 px-0 d-none d-lg-block"},i.createElement("div",{className:"h-100 d-flex align-items-center justify-content-center"},i.createElement("img",{src:t.imageUrls.popupDashboard,className:"w-100 p-4 pb-5 ".concat(dr.Z.leftImage)}))),i.createElement("div",{className:"px-4 pt-0 pb-4 ".concat(s?"col-12 col-lg-6":"col-12")},i.createElement("div",{className:"d-flex flex-column h-100"},i.createElement("div",{className:"flex-grow-1"},c),i.createElement("div",{className:"text-center mt-3"},"select-type"===e&&i.createElement(pe.f,{link:Xt.F.getLoginLink(),onClick:function(){t.logUserAction({},{actionType:k.Vw.Click,descriptor:k.Yu.SignIn})}}),["enter-email","add-to-braze"].includes(e)&&i.createElement(cr,{onClickTermsAndConditions:function(){t.logUserAction({},{actionType:k.Vw.Click,descriptor:k.Yu.TermsAndConditions})},onClickPrivacyPolicy:function(){t.logUserAction({},{actionType:k.Vw.Click,descriptor:k.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 br(t,e,r){var n;return n=function(t,e){if("object"!=gr(t)||!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)}(e),(e="symbol"==gr(n)?n:String(n))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var wr={"cant-find-school":vr,"enter-email":vr,"find-school":vr,"select-type":vr,completed:vr,"add-to-braze":vr,"enter-age":vr,"request-access":vr},Er={"cant-find-school":hr,"enter-email":hr,"find-school":hr,"select-type":hr,completed:hr,"add-to-braze":hr,"enter-age":hr,"request-access":hr},Sr=br(br({},rr.c.FullPage,Er),rr.c.Popup,wr),xr={getLayouts:function(t){return Sr[t]}},Lr=r(17331);function jr(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 kr(t){return kr="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},kr(t)}function Or(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)||Cr(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 Cr(t,e){if(t){if("string"==typeof t)return Nr(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)?Nr(t,e):void 0}}function Nr(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 Ar(t,e){var r,n,o=Object.assign(Object.assign({},t),{previousStepIds:[].concat((n=t.previousStepIds,function(t){if(Array.isArray(t))return Nr(t)}(n)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(n)||Cr(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!==Or(t,2)[1]})).reduce((function(t,e){var r=Or(e,2),n=r[0],o=r[1];return Object.assign(Object.assign({},t),function(t,e,r){var n;return n=function(t,e){if("object"!=kr(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!=kr(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(e),(e="symbol"==kr(n)?n:String(n))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 Pr(t,e){switch(e.type){case"nextStep":return Ar(t,e);case"back":return function(t){var e,r=function(t){if(Array.isArray(t))return jr(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 jr(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)?jr(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 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 Tr(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 _r(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)?_r(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 _r(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 Ur=function(t){var e=t.location,r=t.initialValues,n=t.onStepUpdate,o=t.externalLogUserAction,a=v.F.removeEmptyKeys(r),c=Object.assign({currentStepId:"select-type",previousStepIds:[]},a),l=Tr(i.useReducer(Pr,c),2),s=l[0],f=l[1];return i.useEffect((function(){null==n||n(s)}),[s.currentStepId]),{state:s,back:function(){f({type:"back"})},nextStep:function(t){f(Object.assign({type:"nextStep"},t))},complete:function(t){f(Object.assign({type:"nextStep",step:"completed"},t))},hasPreviousStep:!!s.previousStepIds.length,logUserAction:function(t,r){var n=Object.assign(Object.assign({},s),t),a=Lr.i.filterBlacklistedKeys(n),i=Object.assign({currentStepId:s.currentStepId},a),c=Object.entries(i).filter((function(t){return void 0!==Tr(t,2)[1]})).reduce((function(t,e){var r=Tr(e,2),n=r[0],o=r[1];return Object.assign(Object.assign({},t),function(t,e,r){var n;return n=function(t,e){if("object"!=Ir(t)||!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)}(e),(e="symbol"==Ir(n)?n:String(n))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}({},n,o))}),{});o(c,Object.assign({entity:u.py.SignUp,location:e},r))}}};function Fr(t){var e=xr.getLayouts(t.type),r=t.location,n=t.initialValues,o=t.geoLocation,a=t.googleMapsApiKey,u=t.pageAppLinkString,s=t.onStepUpdate,f=t.imageUrls,p=t.ajaxUrls,h=t.brazeConfig,d=t.version,m=t.productName,y=t.close,v=Ur({location:r,initialValues:n,onStepUpdate:s,externalLogUserAction:l.k.logUserAction}),g=v.back,b=v.nextStep,w=v.complete,E=v.hasPreviousStep,S=v.state,x=v.logUserAction,L={state:S,geoLocation:o,layoutMapping:e,hasPreviousStep:E,googleMapsApiKey:a,pageAppLinkString:u,back:g,close:y,nextStep:b,complete:w,logUserAction:x,imageUrls:f,ajaxUrls:p,brazeConfig:h,version:d,productName:m};return i.useEffect((function(){c.SG.get(ce)&&w({completionStep:"young-student",trialCreated:!1,trialStatus:null})}),[]),i.createElement(i.Fragment,null,i.createElement(We,Object.assign({},L)),i.createElement(er,{developmentEnv:!1,objects:Object.assign(Object.assign(Object.assign({},S),{pageAppLinkString:u}),o)}))}},83529:(t,e,r)=>{var n;r.d(e,{c:()=>n}),function(t){t.Popup="popup-form",t.FullPage="full-page-form"}(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)}}},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:()=>c});var n=r(39202),o=r(20354),a=r(39151),i={countryCode:"us",isFallback:!0};function c(){var t,e,r=o.a.useBasicFetch(a.L.geoLocation()),c=null===(e=null===(t=n.Ab.GetQuery())||void 0===t?void 0:t.countryCode)||void 0===e?void 0:e.toLowerCase();return c?{countryCode:c}:r.hasCompleted&&!r.data?i:r.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",leftImage:"kDU8y",leftHalfLayout:"aQ1K8",withBg:"zALxE"}}}]);
@@ -1,2 +0,0 @@
1
- /*! For license information please see 9428-839a0856b5-lite.chunk.js.LICENSE.txt */
2
- "use strict";(self.webpackChunk_clickview_lite=self.webpackChunk_clickview_lite||[]).push([[9428],{89428:(t,e,r)=>{r.r(e),r.d(e,{ApproveAllVideosView:()=>E});var n=r(32735),o=r(39202),i=r(23481),a=r(20354),c=r(36848),u=r(9111),l=r(13876),s=r(83345),f=r(69883),h=r(14070),p=r(97291),y=r(21491);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 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},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof w?e:w,a=Object.create(i.prototype),c=new N(n||[]);return o(a,"_invoke",{value:S(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=s;var h="suspendedStart",p="suspendedYield",y="executing",m="completed",g={};function w(){}function b(){}function E(){}var L={};l(L,a,(function(){return this}));var x=Object.getPrototypeOf,k=x&&x(x(C([])));k&&k!==r&&n.call(k,a)&&(L=k);var O=E.prototype=w.prototype=Object.create(L);function _(t){["next","throw","return"].forEach((function(e){l(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 l=u.arg,s=l.value;return s&&"object"==v(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(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 S(e,r,n){var o=h;return function(i,a){if(o===y)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=T(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=y;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?m:p,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=m,n.method="throw",n.arg=l.arg)}}}function T(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,T(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 I(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function A(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function N(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(I,this),this.reset(!0)}function C(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 b.prototype=E,o(O,"constructor",{value:E,configurable:!0}),o(E,"constructor",{value:b,configurable:!0}),b.displayName=l(E,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===b||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,E):(t.__proto__=E,l(t,u,"GeneratorFunction")),t.prototype=Object.create(O),t},e.awrap=function(t){return{__await:t}},_(j.prototype),l(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(s(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},_(O),l(O,u,"Generator"),l(O,a,(function(){return this})),l(O,"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=C,N.prototype={constructor:N,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(A),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return c.type="throw",c.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var 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"),l=n.call(a,"finallyLoc");if(u&&l){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(!l)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),A(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;A(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}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 g=function(t,e,r,n){return new(r||(r=Promise))((function(o,i){function a(t){try{u(n.next(t))}catch(t){i(t)}}function c(t){try{u(n.throw(t))}catch(t){i(t)}}function u(t){var e;t.done?o(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(a,c)}u((n=n.apply(t,e||[])).next())}))},w="settings.approveAllVideos",b=i.T.encloseNamespace(w);function E(t){var e,r,i=(e=n.useState(!1),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,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(e,r)||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}}(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.")}()),v=i[0],E=i[1],L=a.a.useGetFetchAsync(),x=(0,f.Z)();return n.createElement(u.G,{title:b("heading"),closePopup:t.closePopup},n.createElement("p",null,n.createElement(s.x,{namespace:w,phrase:"message1"})),n.createElement("p",null,n.createElement(s.x,{namespace:w,phrase:"message2"})," ",n.createElement(c.F,{className:"info-link",appLink:{application:p.O.SETTINGS,action:h.e.Settings.CONTENT_REVIEW_SETTINGS},onClick:t.closePopup},n.createElement(s.x,{namespace:w,phrase:"contentReviewAppLink"})," ")),n.createElement(l.u,null,n.createElement(l.u.Cancel,{onClick:t.closePopup}),n.createElement(l.u.Submit,{variant:"dark",text:b("approveAll"),showSpinner:v,onClick:function(){return g(this,void 0,void 0,d().mark((function t(){return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return E(!0),t.prev=1,t.next=4,L(y.I.approveAll());case 4:x.success(b("success")),o.Ab.Reload(),t.next=12;break;case 8:t.prev=8,t.t0=t.catch(1),x.error(b("error")),E(!1);case 12:case"end":return t.stop()}}),t,null,[[1,8]])})))}})))}},21491:(t,e,r)=>{r.d(e,{I:()=>a});var n=r(99940),o=r(97395),i=r(62803),a={getRestrictions:function(t){return{key:"restrictions:".concat(t),url:o._.urlBuilder("{gateway}/v1/objects/restrictions",{id:t})}},addRestriction:function(t){return{type:n.k.POST,key:"restrictions:".concat(t.objectTypeId,":").concat(t.objectId,":add"),url:"{gateway}/v1/restrictions",data:[t],invalidationKeys:["restrictions"]}},deleteRestrictions:function(t){return{url:o._.urlBuilder("{gateway}/v1/restrictions",{objectId:t}),key:"restrictions:delete",type:n.k.DELETE,invalidationKeys:["restrictions"]}},getRestrictedObjects:function(t,e){var r={type:t,"query.video":i.v.VIDEO_COLLECTION,"query.interactive":i.v.INTERACTIVE_COLLECTION,"query.clip":i.v.CLIP_COLLECTION};return e&&(r.cursor=e),{url:o._.urlBuilder("{gateway}/v1/restrictions/objects",r),key:"restrictions:objects:".concat(t.sort().join(","),":").concat(e)}},approveAll:function(){return{url:"{gateway}/v1/library-reviews/restrictions",key:"restrictions:approve:all",type:n.k.DELETE}}}}}]);