@clickview/lite 0.33.4 → 0.34.0-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (403) hide show
  1. package/dist/bundles.json +1 -1
  2. package/dist/css/{4380-lite-161e1f072a.chunk.css → 1980-lite-3c1d9a0bd8.chunk.css} +11 -9
  3. package/dist/css/{2318-lite-1d266f666c.chunk.css → 2318-lite-12e260481d.chunk.css} +1 -1
  4. package/dist/css/{3446-lite-de70566195.chunk.css → 3446-lite-1b1ec87a28.chunk.css} +2 -2
  5. package/dist/css/{3091-lite-1acf740394.chunk.css → 3987-lite-26ebfc882b.chunk.css} +4 -4
  6. package/dist/css/{9744-lite-1acf740394.chunk.css → 6076-lite-26ebfc882b.chunk.css} +4 -4
  7. package/dist/css/6433-lite-f8f5523a6f.chunk.css +1 -0
  8. package/dist/css/7164-lite-4424261809.chunk.css +16 -0
  9. package/dist/css/{420-lite-7722827119.chunk.css → 7703-lite-7b8ce5ad7c.chunk.css} +4 -0
  10. package/dist/css/{9151-lite-c4a0ad3e8f.chunk.css → 9151-lite-01a42bf0ee.chunk.css} +1 -1
  11. package/dist/css/{8556-lite-161e1f072a.chunk.css → 9522-lite-3c1d9a0bd8.chunk.css} +11 -9
  12. package/dist/css/{637-lite-91dd88a8e6.chunk.css → 9869-lite-baa5f27c85.chunk.css} +4 -4
  13. package/dist/languages/en.json +1 -1
  14. package/dist/scripts/1316-d38802f300-lite.chunk.js +1 -0
  15. package/dist/scripts/{1354-33c5905ae6-lite.chunk.js → 1354-699ae85dcd-lite.chunk.js} +1 -1
  16. package/dist/scripts/1366-e5b46ac15b-lite.chunk.js +2 -0
  17. package/dist/scripts/1517-33781ad8b0-lite.chunk.js +1 -0
  18. package/dist/scripts/{1526-9645db89aa-lite.chunk.js → 1526-d2dc785640-lite.chunk.js} +1 -1
  19. package/dist/scripts/1672-4ff30fe0d9-lite.chunk.js +2 -0
  20. package/dist/scripts/{1725-e2ec42a1fb-lite.chunk.js → 1725-082ef05b56-lite.chunk.js} +1 -1
  21. package/dist/scripts/{1750-96f71f7748-lite.chunk.js → 1750-ac0959f614-lite.chunk.js} +1 -1
  22. package/dist/scripts/{1830-833c57cf63-lite.chunk.js → 1830-81e56b06f9-lite.chunk.js} +1 -1
  23. package/dist/scripts/{1863-89b9772cda-lite.chunk.js → 1863-3770b31fd2-lite.chunk.js} +1 -1
  24. package/dist/scripts/{1891-4e1fc9cefe-lite.chunk.js → 1891-af9f943f4d-lite.chunk.js} +1 -1
  25. package/dist/scripts/1980-57b7ad70d4-lite.chunk.js +1 -0
  26. package/dist/scripts/209-03f1ffaa32-lite.chunk.js +1 -0
  27. package/dist/scripts/2118-4e769f5020-lite.chunk.js +2 -0
  28. package/dist/scripts/2208-3ef7b44cd5-lite.chunk.js +1 -0
  29. package/dist/scripts/2235-a8ac4b7110-lite.chunk.js +1 -0
  30. package/dist/scripts/2608-a613c9f4ec-lite.chunk.js +1 -0
  31. package/dist/scripts/{2678-b53d60e821-lite.chunk.js → 2678-fee97a31e2-lite.chunk.js} +1 -1
  32. package/dist/scripts/2743-bf20f487a2-lite.chunk.js +1 -0
  33. package/dist/scripts/275-3f5dcc4c57-lite.chunk.js +1 -0
  34. package/dist/scripts/287-3eba510d3a-lite.chunk.js +1 -0
  35. package/dist/scripts/3042-72050bd1b4-lite.chunk.js +1 -0
  36. package/dist/scripts/3216-acc193b366-lite.chunk.js +1 -0
  37. package/dist/scripts/3446-3ea1cdc255-lite.chunk.js +1 -0
  38. package/dist/scripts/{3602-c5f7a74c8b-lite.chunk.js → 3602-85a8cf7466-lite.chunk.js} +1 -1
  39. package/dist/scripts/{3645-2683fa5003-lite.chunk.js → 3645-e68fabc894-lite.chunk.js} +1 -1
  40. package/dist/scripts/3654-3b91720535-lite.chunk.js +1 -0
  41. package/dist/scripts/3667-9c94c5f35d-lite.chunk.js +2 -0
  42. package/dist/scripts/3728-5d9da27ef4-lite.chunk.js +1 -0
  43. package/dist/scripts/3789-c93bdc1db3-lite.chunk.js +2 -0
  44. package/dist/scripts/3836-19765a2696-lite.chunk.js +1 -0
  45. package/dist/scripts/{3849-fee503c55c-lite.chunk.js → 3849-2be883c0b0-lite.chunk.js} +1 -1
  46. package/dist/scripts/3865-e85d687540-lite.chunk.js +1 -0
  47. package/dist/scripts/3966-ea5ccf719b-lite.chunk.js +1 -0
  48. package/dist/scripts/3987-8a8da439f0-lite.chunk.js +1 -0
  49. package/dist/scripts/{4032-24c9c52076-lite.chunk.js → 4032-9acbc08a28-lite.chunk.js} +1 -1
  50. package/dist/scripts/4145-880a35009e-lite.chunk.js +1 -0
  51. package/dist/scripts/{4343-c463efc266-lite.chunk.js → 4343-357f26db79-lite.chunk.js} +1 -1
  52. package/dist/scripts/4373-cf0cc66781-lite.chunk.js +1 -0
  53. package/dist/scripts/4393-1c97cb39e3-lite.chunk.js +1 -0
  54. package/dist/scripts/4441-110900a9aa-lite.chunk.js +2 -0
  55. package/dist/scripts/4612-5bbb0a67fe-lite.chunk.js +1 -0
  56. package/dist/scripts/4617-4b290b7533-lite.chunk.js +1 -0
  57. package/dist/scripts/4632-ac71090d0d-lite.chunk.js +1 -0
  58. package/dist/scripts/4657-fcd6ff63dd-lite.chunk.js +2 -0
  59. package/dist/scripts/{4676-adc55dfa15-lite.chunk.js → 4676-3931770101-lite.chunk.js} +2 -2
  60. package/dist/scripts/{4690-7f098e333b-lite.chunk.js → 4690-3bfc632794-lite.chunk.js} +1 -1
  61. package/dist/scripts/{4753-79b2c82aaf-lite.chunk.js → 4753-c2ff023429-lite.chunk.js} +1 -1
  62. package/dist/scripts/4942-8b3935e911-lite.chunk.js +2 -0
  63. package/dist/scripts/{5009-93cd88833d-lite.chunk.js → 5009-82cfb5a6d6-lite.chunk.js} +1 -1
  64. package/dist/scripts/5041-c671395800-lite.chunk.js +1 -0
  65. package/dist/scripts/5143-5fcc666d2e-lite.chunk.js +1 -0
  66. package/dist/scripts/519-30f9dc5f0c-lite.chunk.js +1 -0
  67. package/dist/scripts/5268-6c93736375-lite.chunk.js +2 -0
  68. package/dist/scripts/{5271-1df4d9d742-lite.chunk.js → 5271-439dc8abc5-lite.chunk.js} +1 -1
  69. package/dist/scripts/{5595-c6cb52f09d-lite.chunk.js → 5595-9ccd0ef053-lite.chunk.js} +1 -1
  70. package/dist/scripts/5606-404debcda3-lite.chunk.js +1 -0
  71. package/dist/scripts/{5622-7b29606856-lite.chunk.js → 5622-9fd84985bd-lite.chunk.js} +1 -1
  72. package/dist/scripts/5877-d728cd98a7-lite.chunk.js +1 -0
  73. package/dist/scripts/5986-c2ac84fc87-lite.chunk.js +1 -0
  74. package/dist/scripts/6076-d0ab857b36-lite.chunk.js +1 -0
  75. package/dist/scripts/{6117-f4f7197ab2-lite.chunk.js → 6117-e071957d15-lite.chunk.js} +1 -1
  76. package/dist/scripts/615-5d93f99210-lite.chunk.js +1 -0
  77. package/dist/scripts/{6158-eef3f7dc44-lite.chunk.js → 6158-bbbace7640-lite.chunk.js} +1 -1
  78. package/dist/scripts/{6290-40d12a27d7-lite.chunk.js → 6290-4f53628aac-lite.chunk.js} +1 -1
  79. package/dist/scripts/6330-dd799d318b-lite.chunk.js +1 -0
  80. package/dist/scripts/{6368-f3803b36c2-lite.chunk.js → 6368-3f3a251189-lite.chunk.js} +1 -1
  81. package/dist/scripts/6433-1c5d1c7ee1-lite.chunk.js +2 -0
  82. package/dist/scripts/{6572-7935a3e09e-lite.chunk.js → 6572-94123a1aaf-lite.chunk.js} +1 -1
  83. package/dist/scripts/6609-df975fb60f-lite.chunk.js +1 -0
  84. package/dist/scripts/{6689-683fac656a-lite.chunk.js → 6689-ec21bfcd2f-lite.chunk.js} +1 -1
  85. package/dist/scripts/{6801-d3cf047fb8-lite.chunk.js → 6801-fb5064f563-lite.chunk.js} +1 -1
  86. package/dist/scripts/{6896-75b32c41e8-lite.chunk.js → 6896-57a08030e2-lite.chunk.js} +2 -2
  87. package/dist/scripts/6957-bc94654046-lite.chunk.js +1 -0
  88. package/dist/scripts/6998-6ee7566d59-lite.chunk.js +1 -0
  89. package/dist/scripts/{7017-35c73244a6-lite.chunk.js → 7017-ad460892cd-lite.chunk.js} +2 -2
  90. package/dist/scripts/{7030-7a8f86bff3-lite.chunk.js → 7030-3d96a322d1-lite.chunk.js} +1 -1
  91. package/dist/scripts/7052-6a2c889fad-lite.chunk.js +2 -0
  92. package/dist/scripts/{7112-2f2e97d06b-lite.chunk.js → 7112-4ac30d206c-lite.chunk.js} +1 -1
  93. package/dist/scripts/7164-9dec6a0e20-lite.chunk.js +1 -0
  94. package/dist/scripts/7178-77d1cc145a-lite.chunk.js +1 -0
  95. package/dist/scripts/{7205-09a3d98105-lite.chunk.js → 7205-3c765f792f-lite.chunk.js} +1 -1
  96. package/dist/scripts/7221-93267ee8ca-lite.chunk.js +2 -0
  97. package/dist/scripts/{7288-8fca167593-lite.chunk.js → 7288-394b622cce-lite.chunk.js} +1 -1
  98. package/dist/scripts/7293-f8e0f7e712-lite.chunk.js +1 -0
  99. package/dist/scripts/7332-d5d2c50311-lite.chunk.js +1 -0
  100. package/dist/scripts/{7422-164d07dc57-lite.chunk.js → 7422-91954804ee-lite.chunk.js} +2 -2
  101. package/dist/scripts/{7506-67be832385-lite.chunk.js → 7506-a623cf821d-lite.chunk.js} +1 -1
  102. package/dist/scripts/754-c4f64fa21c-lite.chunk.js +1 -0
  103. package/dist/scripts/{7540-dc84bc4164-lite.chunk.js → 7540-6ad70b637c-lite.chunk.js} +1 -1
  104. package/dist/scripts/{7555-dd3000fe61-lite.chunk.js → 7555-6b4c3bfecb-lite.chunk.js} +1 -1
  105. package/dist/scripts/7564-47241b622f-lite.chunk.js +1 -0
  106. package/dist/scripts/7703-de6cbcd44a-lite.chunk.js +1 -0
  107. package/dist/scripts/{7708-6940f8aca3-lite.chunk.js → 7708-4131b22e42-lite.chunk.js} +1 -1
  108. package/dist/scripts/7818-c81c2d60b9-lite.chunk.js +1 -0
  109. package/dist/scripts/8046-83bcffb587-lite.chunk.js +1 -0
  110. package/dist/scripts/823-8c9802b94a-lite.chunk.js +1 -0
  111. package/dist/scripts/{8236-b1ba6a195c-lite.chunk.js → 8236-0f875aa540-lite.chunk.js} +1 -1
  112. package/dist/scripts/8323-077cca4d3c-lite.chunk.js +2 -0
  113. package/dist/scripts/{8367-b58cdd0725-lite.chunk.js → 8367-511fc0a70f-lite.chunk.js} +1 -1
  114. package/dist/scripts/{8466-07a5b1bdeb-lite.chunk.js → 8466-c1097777b2-lite.chunk.js} +1 -1
  115. package/dist/scripts/8564-34d58492f5-lite.chunk.js +1 -0
  116. package/dist/scripts/{8681-7d0092afe1-lite.chunk.js → 8681-8bea9c38e4-lite.chunk.js} +1 -1
  117. package/dist/scripts/{8873-d5bcff1f82-lite.chunk.js → 8873-99f49dc0d3-lite.chunk.js} +1 -1
  118. package/dist/scripts/{8935-0d9c59e8b3-lite.chunk.js → 8935-80c206852a-lite.chunk.js} +1 -1
  119. package/dist/scripts/8944-7a5e723a61-lite.chunk.js +1 -0
  120. package/dist/scripts/{9016-17e09819a6-lite.chunk.js → 9016-3db57b934d-lite.chunk.js} +1 -1
  121. package/dist/scripts/9118-8fdb0f7c56-lite.chunk.js +1 -0
  122. package/dist/scripts/9226-0afd5cae01-lite.chunk.js +1 -0
  123. package/dist/scripts/9242-0fbe6b67eb-lite.chunk.js +1 -0
  124. package/dist/scripts/9273-73add4829e-lite.chunk.js +1 -0
  125. package/dist/scripts/{9428-f581bbe764-lite.chunk.js → 9428-9af52fa200-lite.chunk.js} +1 -1
  126. package/dist/scripts/{9478-1978074e73-lite.chunk.js → 9478-6f19948322-lite.chunk.js} +2 -2
  127. package/dist/scripts/9484-2a3aa518fd-lite.chunk.js +2 -0
  128. package/dist/scripts/9522-f6a3bf5aa5-lite.chunk.js +1 -0
  129. package/dist/scripts/{9714-1d934660c4-lite.chunk.js → 9714-f8d16adc4e-lite.chunk.js} +1 -1
  130. package/dist/scripts/9798-908e0cf61a-lite.chunk.js +1 -0
  131. package/dist/scripts/9869-b6523c4972-lite.chunk.js +2 -0
  132. package/dist/scripts/{9894-b782130bb3-lite.chunk.js → 9894-1e493082b6-lite.chunk.js} +1 -1
  133. package/dist/scripts/{9931-bc6b18ba05-lite.chunk.js → 9931-15653656f5-lite.chunk.js} +1 -1
  134. package/dist/scripts/9931-15653656f5-lite.chunk.js.LICENSE.txt +1 -0
  135. package/dist/scripts/bundle-3e683090e2.min.js +2 -0
  136. package/jest.config.js +11 -11
  137. package/package.json +61 -61
  138. package/typings/libs/CVEvents.d.ts +12 -12
  139. package/typings/libs/CVLanguages.d.ts +24 -24
  140. package/typings/libs/cloneDeep.d.ts +4 -4
  141. package/typings/libs/cookiesjs.d.ts +25 -25
  142. package/typings/libs/draft-convert.d.ts +3 -3
  143. package/typings/libs/google-api.d.ts +93 -93
  144. package/typings/libs/intersection-observer.d.ts +82 -82
  145. package/typings/libs/microsoft-teams.d.ts +2 -2
  146. package/typings/libs/react-table-config.d.ts +138 -138
  147. package/typings/libs/trackjs.d.ts +2 -2
  148. package/typings/libs/videojs-contrib-quality-levels.d.ts +28 -28
  149. package/typings/utils/imports.d.ts +13 -13
  150. package/dist/scripts/1316-b38150f6e9-lite.chunk.js +0 -1
  151. package/dist/scripts/1366-86d2d6169c-lite.chunk.js +0 -2
  152. package/dist/scripts/1517-ac0287af9c-lite.chunk.js +0 -1
  153. package/dist/scripts/1672-3d34ddb1af-lite.chunk.js +0 -2
  154. package/dist/scripts/1818-69888ad56d-lite.chunk.js +0 -1
  155. package/dist/scripts/209-2d74e00709-lite.chunk.js +0 -1
  156. package/dist/scripts/2118-a281da36fd-lite.chunk.js +0 -2
  157. package/dist/scripts/2208-86652ae9e7-lite.chunk.js +0 -1
  158. package/dist/scripts/2235-6a520c3864-lite.chunk.js +0 -1
  159. package/dist/scripts/2564-ec9dcdc626-lite.chunk.js +0 -1
  160. package/dist/scripts/2608-bccac5c3b7-lite.chunk.js +0 -1
  161. package/dist/scripts/275-a52bc95dae-lite.chunk.js +0 -1
  162. package/dist/scripts/287-023c6d13b7-lite.chunk.js +0 -1
  163. package/dist/scripts/3091-9c582fd07c-lite.chunk.js +0 -1
  164. package/dist/scripts/3216-03ee78aa99-lite.chunk.js +0 -1
  165. package/dist/scripts/3378-38ffdcffee-lite.chunk.js +0 -1
  166. package/dist/scripts/3446-65529fdeac-lite.chunk.js +0 -1
  167. package/dist/scripts/3514-909af9cb44-lite.chunk.js +0 -1
  168. package/dist/scripts/3654-8d09c0e9d3-lite.chunk.js +0 -1
  169. package/dist/scripts/3667-7648deb2cb-lite.chunk.js +0 -2
  170. package/dist/scripts/3728-e97050e0c0-lite.chunk.js +0 -1
  171. package/dist/scripts/3789-80c07aba3d-lite.chunk.js +0 -2
  172. package/dist/scripts/3836-9f7cda412f-lite.chunk.js +0 -1
  173. package/dist/scripts/3966-e4ad0f453d-lite.chunk.js +0 -1
  174. package/dist/scripts/4145-f829e64de7-lite.chunk.js +0 -1
  175. package/dist/scripts/420-79e5bd7cf0-lite.chunk.js +0 -1
  176. package/dist/scripts/4373-eb074d6218-lite.chunk.js +0 -1
  177. package/dist/scripts/4380-17b9432c8a-lite.chunk.js +0 -1
  178. package/dist/scripts/4393-6219a4557e-lite.chunk.js +0 -1
  179. package/dist/scripts/4441-1d0c9eae9c-lite.chunk.js +0 -2
  180. package/dist/scripts/4612-0dc639cb3d-lite.chunk.js +0 -1
  181. package/dist/scripts/4617-98ff25d23d-lite.chunk.js +0 -1
  182. package/dist/scripts/4632-83f6987cd0-lite.chunk.js +0 -1
  183. package/dist/scripts/4657-3b0462b31a-lite.chunk.js +0 -2
  184. package/dist/scripts/4942-9db184d708-lite.chunk.js +0 -2
  185. package/dist/scripts/5041-01dd46392d-lite.chunk.js +0 -1
  186. package/dist/scripts/5143-3089605968-lite.chunk.js +0 -1
  187. package/dist/scripts/519-bb930f9c4b-lite.chunk.js +0 -1
  188. package/dist/scripts/5268-be0eb0d561-lite.chunk.js +0 -2
  189. package/dist/scripts/5606-d48ee92b02-lite.chunk.js +0 -1
  190. package/dist/scripts/5776-6f7dc4fafd-lite.chunk.js +0 -1
  191. package/dist/scripts/5877-2d606d0ce2-lite.chunk.js +0 -1
  192. package/dist/scripts/5986-ca99840de4-lite.chunk.js +0 -1
  193. package/dist/scripts/615-cabc7e1d22-lite.chunk.js +0 -1
  194. package/dist/scripts/6330-1a2cb669fa-lite.chunk.js +0 -1
  195. package/dist/scripts/637-264acfd7e8-lite.chunk.js +0 -2
  196. package/dist/scripts/6957-f69a655009-lite.chunk.js +0 -1
  197. package/dist/scripts/7052-6f2b57ccae-lite.chunk.js +0 -2
  198. package/dist/scripts/7178-768d338857-lite.chunk.js +0 -1
  199. package/dist/scripts/7221-a09f624297-lite.chunk.js +0 -2
  200. package/dist/scripts/7293-0fa4387eda-lite.chunk.js +0 -1
  201. package/dist/scripts/7332-435573d5d7-lite.chunk.js +0 -1
  202. package/dist/scripts/754-ab93865a0a-lite.chunk.js +0 -1
  203. package/dist/scripts/7564-cd98a82dea-lite.chunk.js +0 -1
  204. package/dist/scripts/7818-0ea0fb6a00-lite.chunk.js +0 -1
  205. package/dist/scripts/8046-304249b9e5-lite.chunk.js +0 -1
  206. package/dist/scripts/823-cb0629ec55-lite.chunk.js +0 -1
  207. package/dist/scripts/8323-e22b13446b-lite.chunk.js +0 -2
  208. package/dist/scripts/8556-5ee493d87f-lite.chunk.js +0 -1
  209. package/dist/scripts/8564-5f8e4689d0-lite.chunk.js +0 -1
  210. package/dist/scripts/8944-458e677ed3-lite.chunk.js +0 -1
  211. package/dist/scripts/9118-47902b0e20-lite.chunk.js +0 -1
  212. package/dist/scripts/9226-594281feff-lite.chunk.js +0 -1
  213. package/dist/scripts/9242-299be495ad-lite.chunk.js +0 -1
  214. package/dist/scripts/9273-50b5ba5e78-lite.chunk.js +0 -1
  215. package/dist/scripts/9338-7a528773b5-lite.chunk.js +0 -1
  216. package/dist/scripts/9484-1544749279-lite.chunk.js +0 -2
  217. package/dist/scripts/9744-585b42dc19-lite.chunk.js +0 -1
  218. package/dist/scripts/9798-cf0181fd79-lite.chunk.js +0 -1
  219. package/dist/scripts/bundle-cf5e5a8090.min.js +0 -2
  220. /package/dist/css/{5776-lite-ab01f5dc3b.chunk.css → 2743-lite-ab01f5dc3b.chunk.css} +0 -0
  221. /package/dist/css/{3514-lite-a288188c68.chunk.css → 3865-lite-a288188c68.chunk.css} +0 -0
  222. /package/dist/css/{1818-lite-08c053955f.chunk.css → 6609-lite-08c053955f.chunk.css} +0 -0
  223. /package/dist/scripts/{1106-7b506a61e7-lite.chunk.js → 1106-ed3d349c9b-lite.chunk.js} +0 -0
  224. /package/dist/scripts/{1285-f732f9569b-lite.chunk.js → 1285-2d3299c556-lite.chunk.js} +0 -0
  225. /package/dist/scripts/{1291-8eb0ac1f29-lite.chunk.js → 1291-4d8cd6a795-lite.chunk.js} +0 -0
  226. /package/dist/scripts/{1354-33c5905ae6-lite.chunk.js.LICENSE.txt → 1354-699ae85dcd-lite.chunk.js.LICENSE.txt} +0 -0
  227. /package/dist/scripts/{1366-86d2d6169c-lite.chunk.js.LICENSE.txt → 1366-e5b46ac15b-lite.chunk.js.LICENSE.txt} +0 -0
  228. /package/dist/scripts/{1475-fcb616c7b8-lite.chunk.js → 1475-d68c3145ce-lite.chunk.js} +0 -0
  229. /package/dist/scripts/{1518-7967c2115a-lite.chunk.js → 1518-eaabe78385-lite.chunk.js} +0 -0
  230. /package/dist/scripts/{1628-0e620e37c4-lite.chunk.js → 1628-389ea3acdb-lite.chunk.js} +0 -0
  231. /package/dist/scripts/{1672-3d34ddb1af-lite.chunk.js.LICENSE.txt → 1672-4ff30fe0d9-lite.chunk.js.LICENSE.txt} +0 -0
  232. /package/dist/scripts/{1726-ecd2a445bd-lite.chunk.js → 1726-ef1b2d68d0-lite.chunk.js} +0 -0
  233. /package/dist/scripts/{1781-d0fee9044d-lite.chunk.js → 1781-a04e438477-lite.chunk.js} +0 -0
  234. /package/dist/scripts/{1820-588830f999-lite.chunk.js → 1820-273a02b871-lite.chunk.js} +0 -0
  235. /package/dist/scripts/{1837-61e05c29a8-lite.chunk.js → 1837-18430c9f8d-lite.chunk.js} +0 -0
  236. /package/dist/scripts/{1913-fe05e9ae04-lite.chunk.js → 1913-196e6dbf6e-lite.chunk.js} +0 -0
  237. /package/dist/scripts/{1924-8c219e2149-lite.chunk.js → 1924-0fee4f841d-lite.chunk.js} +0 -0
  238. /package/dist/scripts/{1943-659bf677ff-lite.chunk.js → 1943-4d4923f098-lite.chunk.js} +0 -0
  239. /package/dist/scripts/{1958-31860bbfea-lite.chunk.js → 1958-4137ef8be6-lite.chunk.js} +0 -0
  240. /package/dist/scripts/{2095-3ffa3b4eb5-lite.chunk.js → 2095-eaf40acb79-lite.chunk.js} +0 -0
  241. /package/dist/scripts/{2118-a281da36fd-lite.chunk.js.LICENSE.txt → 2118-4e769f5020-lite.chunk.js.LICENSE.txt} +0 -0
  242. /package/dist/scripts/{2175-3ba2cb9a03-lite.chunk.js → 2175-2c35335520-lite.chunk.js} +0 -0
  243. /package/dist/scripts/{2199-d9ca47840a-lite.chunk.js → 2199-dd6a7387b4-lite.chunk.js} +0 -0
  244. /package/dist/scripts/{2229-6ab6090fb5-lite.chunk.js → 2229-0f33fab6f5-lite.chunk.js} +0 -0
  245. /package/dist/scripts/{2269-7a1c771947-lite.chunk.js → 2269-48415bbc64-lite.chunk.js} +0 -0
  246. /package/dist/scripts/{227-57b908ce0e-lite.chunk.js → 227-d59419c173-lite.chunk.js} +0 -0
  247. /package/dist/scripts/{2279-e86f59d46b-lite.chunk.js → 2279-dd750d4c32-lite.chunk.js} +0 -0
  248. /package/dist/scripts/{2318-8e6a642d06-lite.chunk.js → 2318-106cc66f74-lite.chunk.js} +0 -0
  249. /package/dist/scripts/{2452-f96e548d17-lite.chunk.js → 2452-446607a894-lite.chunk.js} +0 -0
  250. /package/dist/scripts/{2469-cdd2ba267e-lite.chunk.js → 2469-8970fbd70d-lite.chunk.js} +0 -0
  251. /package/dist/scripts/{2561-60104685db-lite.chunk.js → 2561-ba35cc85d6-lite.chunk.js} +0 -0
  252. /package/dist/scripts/{2566-c38b03672e-lite.chunk.js → 2566-6b4f850e8a-lite.chunk.js} +0 -0
  253. /package/dist/scripts/{2665-9ddd5ce079-lite.chunk.js → 2665-8c39b6792c-lite.chunk.js} +0 -0
  254. /package/dist/scripts/{2678-b53d60e821-lite.chunk.js.LICENSE.txt → 2678-fee97a31e2-lite.chunk.js.LICENSE.txt} +0 -0
  255. /package/dist/scripts/{276-11cc4ff717-lite.chunk.js → 276-4d83c09431-lite.chunk.js} +0 -0
  256. /package/dist/scripts/{2958-6bdeb684a6-lite.chunk.js → 2958-f06c9a7126-lite.chunk.js} +0 -0
  257. /package/dist/scripts/{2966-4e5b3e14e1-lite.chunk.js → 2966-31eb6f5195-lite.chunk.js} +0 -0
  258. /package/dist/scripts/{3012-e9472f7b1b-lite.chunk.js → 3012-cc96ee5265-lite.chunk.js} +0 -0
  259. /package/dist/scripts/{3020-f2ded2aebe-lite.chunk.js → 3020-1f43870f76-lite.chunk.js} +0 -0
  260. /package/dist/scripts/{3108-d4198b8381-lite.chunk.js → 3108-ae911e3d71-lite.chunk.js} +0 -0
  261. /package/dist/scripts/{3154-e2b4102e06-lite.chunk.js → 3154-f88bbfdad6-lite.chunk.js} +0 -0
  262. /package/dist/scripts/{3171-ca6a42c306-lite.chunk.js → 3171-663aa64cae-lite.chunk.js} +0 -0
  263. /package/dist/scripts/{3200-22b854d2bd-lite.chunk.js → 3200-12312af47d-lite.chunk.js} +0 -0
  264. /package/dist/scripts/{3237-35a98ed3a1-lite.chunk.js → 3237-4d6fd8d721-lite.chunk.js} +0 -0
  265. /package/dist/scripts/{3285-dd1d715265-lite.chunk.js → 3285-61a4ad0d69-lite.chunk.js} +0 -0
  266. /package/dist/scripts/{3371-d3fdc435c3-lite.chunk.js → 3371-bb9a674c07-lite.chunk.js} +0 -0
  267. /package/dist/scripts/{3468-ca8c4d21a3-lite.chunk.js → 3468-4d7076a979-lite.chunk.js} +0 -0
  268. /package/dist/scripts/{3533-96f9230c25-lite.chunk.js → 3533-882dcc1188-lite.chunk.js} +0 -0
  269. /package/dist/scripts/{355-5da55f761c-lite.chunk.js → 355-3eb0659bd4-lite.chunk.js} +0 -0
  270. /package/dist/scripts/{3602-c5f7a74c8b-lite.chunk.js.LICENSE.txt → 3602-85a8cf7466-lite.chunk.js.LICENSE.txt} +0 -0
  271. /package/dist/scripts/{3645-2683fa5003-lite.chunk.js.LICENSE.txt → 3645-e68fabc894-lite.chunk.js.LICENSE.txt} +0 -0
  272. /package/dist/scripts/{3667-7648deb2cb-lite.chunk.js.LICENSE.txt → 3667-9c94c5f35d-lite.chunk.js.LICENSE.txt} +0 -0
  273. /package/dist/scripts/{3727-6c63240ea2-lite.chunk.js → 3727-ed2637034f-lite.chunk.js} +0 -0
  274. /package/dist/scripts/{3729-fb0ebdda2b-lite.chunk.js → 3729-e71f0dc214-lite.chunk.js} +0 -0
  275. /package/dist/scripts/{3754-978fa5935c-lite.chunk.js → 3754-09e32bdce9-lite.chunk.js} +0 -0
  276. /package/dist/scripts/{3755-3aa08e75c5-lite.chunk.js → 3755-6ed23bfa7a-lite.chunk.js} +0 -0
  277. /package/dist/scripts/{3789-80c07aba3d-lite.chunk.js.LICENSE.txt → 3789-c93bdc1db3-lite.chunk.js.LICENSE.txt} +0 -0
  278. /package/dist/scripts/{389-7ff8189cc3-lite.chunk.js → 389-e7037a0807-lite.chunk.js} +0 -0
  279. /package/dist/scripts/{3962-e5b5657359-lite.chunk.js → 3962-3dcedae047-lite.chunk.js} +0 -0
  280. /package/dist/scripts/{4067-7dea084485-lite.chunk.js → 4067-dba280680e-lite.chunk.js} +0 -0
  281. /package/dist/scripts/{414-712655c265-lite.chunk.js → 414-50eeedf502-lite.chunk.js} +0 -0
  282. /package/dist/scripts/{4182-6a6ad037b3-lite.chunk.js → 4182-e9700be806-lite.chunk.js} +0 -0
  283. /package/dist/scripts/{4326-87a92d2b1e-lite.chunk.js → 4326-ae498b2f69-lite.chunk.js} +0 -0
  284. /package/dist/scripts/{4417-63dce95be2-lite.chunk.js → 4417-1ef8363302-lite.chunk.js} +0 -0
  285. /package/dist/scripts/{4423-795c5de532-lite.chunk.js → 4423-925d216a4a-lite.chunk.js} +0 -0
  286. /package/dist/scripts/{4436-fc7c6e1737-lite.chunk.js → 4436-b92639529d-lite.chunk.js} +0 -0
  287. /package/dist/scripts/{4441-1d0c9eae9c-lite.chunk.js.LICENSE.txt → 4441-110900a9aa-lite.chunk.js.LICENSE.txt} +0 -0
  288. /package/dist/scripts/{4537-71467ff1a4-lite.chunk.js → 4537-442debaca7-lite.chunk.js} +0 -0
  289. /package/dist/scripts/{4541-517258115e-lite.chunk.js → 4541-c08f765eab-lite.chunk.js} +0 -0
  290. /package/dist/scripts/{4657-3b0462b31a-lite.chunk.js.LICENSE.txt → 4657-fcd6ff63dd-lite.chunk.js.LICENSE.txt} +0 -0
  291. /package/dist/scripts/{4676-adc55dfa15-lite.chunk.js.LICENSE.txt → 4676-3931770101-lite.chunk.js.LICENSE.txt} +0 -0
  292. /package/dist/scripts/{4705-3aa7b071ec-lite.chunk.js → 4705-4f3442b228-lite.chunk.js} +0 -0
  293. /package/dist/scripts/{4770-cd71bd05c5-lite.chunk.js → 4770-4333593211-lite.chunk.js} +0 -0
  294. /package/dist/scripts/{482-7c9d6c3584-lite.chunk.js → 482-8139ae4723-lite.chunk.js} +0 -0
  295. /package/dist/scripts/{4893-bbe7c87782-lite.chunk.js → 4893-92b530b072-lite.chunk.js} +0 -0
  296. /package/dist/scripts/{4895-14b8a26949-lite.chunk.js → 4895-3ee62dc779-lite.chunk.js} +0 -0
  297. /package/dist/scripts/{4942-9db184d708-lite.chunk.js.LICENSE.txt → 4942-8b3935e911-lite.chunk.js.LICENSE.txt} +0 -0
  298. /package/dist/scripts/{5009-93cd88833d-lite.chunk.js.LICENSE.txt → 5009-82cfb5a6d6-lite.chunk.js.LICENSE.txt} +0 -0
  299. /package/dist/scripts/{5018-d2c1af9240-lite.chunk.js → 5018-c6dd4cd7f2-lite.chunk.js} +0 -0
  300. /package/dist/scripts/{510-e35583dee7-lite.chunk.js → 510-5efffa403b-lite.chunk.js} +0 -0
  301. /package/dist/scripts/{5134-6d70bcc26e-lite.chunk.js → 5134-5a2efd579d-lite.chunk.js} +0 -0
  302. /package/dist/scripts/{5151-06852b21e0-lite.chunk.js → 5151-ee57671548-lite.chunk.js} +0 -0
  303. /package/dist/scripts/{5171-9397f19578-lite.chunk.js → 5171-53fc8f18ba-lite.chunk.js} +0 -0
  304. /package/dist/scripts/{5229-13ee2bf768-lite.chunk.js → 5229-19d83a56ff-lite.chunk.js} +0 -0
  305. /package/dist/scripts/{5268-be0eb0d561-lite.chunk.js.LICENSE.txt → 5268-6c93736375-lite.chunk.js.LICENSE.txt} +0 -0
  306. /package/dist/scripts/{528-2ab7c7a75c-lite.chunk.js → 528-9a6deb93d3-lite.chunk.js} +0 -0
  307. /package/dist/scripts/{5291-ca756f9f8a-lite.chunk.js → 5291-ce0561c6ba-lite.chunk.js} +0 -0
  308. /package/dist/scripts/{5313-53738e308f-lite.chunk.js → 5313-5f0d1a3b15-lite.chunk.js} +0 -0
  309. /package/dist/scripts/{5385-a2451e3eec-lite.chunk.js → 5385-f53e603625-lite.chunk.js} +0 -0
  310. /package/dist/scripts/{5406-161aca5797-lite.chunk.js → 5406-c4ff467b8d-lite.chunk.js} +0 -0
  311. /package/dist/scripts/{5509-9e9e7bc4a9-lite.chunk.js → 5509-19bf214a28-lite.chunk.js} +0 -0
  312. /package/dist/scripts/{5512-a653aa2fd8-lite.chunk.js → 5512-8141838d56-lite.chunk.js} +0 -0
  313. /package/dist/scripts/{5555-e108aa8893-lite.chunk.js → 5555-8d88a7961c-lite.chunk.js} +0 -0
  314. /package/dist/scripts/{5611-52b5b25aee-lite.chunk.js → 5611-9f7c9d2e21-lite.chunk.js} +0 -0
  315. /package/dist/scripts/{5622-7b29606856-lite.chunk.js.LICENSE.txt → 5622-9fd84985bd-lite.chunk.js.LICENSE.txt} +0 -0
  316. /package/dist/scripts/{5659-7f669b538e-lite.chunk.js → 5659-59c90b98fd-lite.chunk.js} +0 -0
  317. /package/dist/scripts/{5765-bffdda2690-lite.chunk.js → 5765-5d8261f251-lite.chunk.js} +0 -0
  318. /package/dist/scripts/{5823-2e5bd3a90c-lite.chunk.js → 5823-ef0046a1a8-lite.chunk.js} +0 -0
  319. /package/dist/scripts/{5914-7d6e71c500-lite.chunk.js → 5914-4eb166f0c9-lite.chunk.js} +0 -0
  320. /package/dist/scripts/{5974-66df879b08-lite.chunk.js → 5974-8af9af8fae-lite.chunk.js} +0 -0
  321. /package/dist/scripts/{6057-607500eca5-lite.chunk.js → 6057-08d3eee069-lite.chunk.js} +0 -0
  322. /package/dist/scripts/{6154-b2f0db4086-lite.chunk.js → 6154-7ddc6a32ca-lite.chunk.js} +0 -0
  323. /package/dist/scripts/{6159-dd02247da8-lite.chunk.js → 6159-1475ec9c41-lite.chunk.js} +0 -0
  324. /package/dist/scripts/{6274-723129c5c6-lite.chunk.js → 6274-f3769a7518-lite.chunk.js} +0 -0
  325. /package/dist/scripts/{6285-0899c78c8c-lite.chunk.js → 6285-873cf09c3c-lite.chunk.js} +0 -0
  326. /package/dist/scripts/{6370-0212dd65f8-lite.chunk.js → 6370-2954db4d1c-lite.chunk.js} +0 -0
  327. /package/dist/scripts/{6407-44cd69b87c-lite.chunk.js → 6407-10afafed70-lite.chunk.js} +0 -0
  328. /package/dist/scripts/{637-264acfd7e8-lite.chunk.js.LICENSE.txt → 6433-1c5d1c7ee1-lite.chunk.js.LICENSE.txt} +0 -0
  329. /package/dist/scripts/{6450-6e367c2ef3-lite.chunk.js → 6450-87b22756f6-lite.chunk.js} +0 -0
  330. /package/dist/scripts/{6465-3b025df7ce-lite.chunk.js → 6465-7a63bc80b6-lite.chunk.js} +0 -0
  331. /package/dist/scripts/{6480-e5afc3e0f1-lite.chunk.js → 6480-83ef346f22-lite.chunk.js} +0 -0
  332. /package/dist/scripts/{6493-8957a82163-lite.chunk.js → 6493-b14b6be4f8-lite.chunk.js} +0 -0
  333. /package/dist/scripts/{6604-968eb39831-lite.chunk.js → 6604-19f0427fcc-lite.chunk.js} +0 -0
  334. /package/dist/scripts/{6702-d8752ffa1d-lite.chunk.js → 6702-7f040268d0-lite.chunk.js} +0 -0
  335. /package/dist/scripts/{6788-e7ccd0d5a6-lite.chunk.js → 6788-c8082ba442-lite.chunk.js} +0 -0
  336. /package/dist/scripts/{6817-13f25cce44-lite.chunk.js → 6817-110040da46-lite.chunk.js} +0 -0
  337. /package/dist/scripts/{6821-dd1c07bb4f-lite.chunk.js → 6821-64e989e2a3-lite.chunk.js} +0 -0
  338. /package/dist/scripts/{6822-22379e0863-lite.chunk.js → 6822-35fc1ff6f9-lite.chunk.js} +0 -0
  339. /package/dist/scripts/{6863-8cd402d9eb-lite.chunk.js → 6863-553198afff-lite.chunk.js} +0 -0
  340. /package/dist/scripts/{6866-6824b66ebf-lite.chunk.js → 6866-cb9b8d69cc-lite.chunk.js} +0 -0
  341. /package/dist/scripts/{6873-0a519bdd63-lite.chunk.js → 6873-b03c28b9d2-lite.chunk.js} +0 -0
  342. /package/dist/scripts/{689-f8a0b3579b-lite.chunk.js → 689-1c6a46496d-lite.chunk.js} +0 -0
  343. /package/dist/scripts/{6896-75b32c41e8-lite.chunk.js.LICENSE.txt → 6896-57a08030e2-lite.chunk.js.LICENSE.txt} +0 -0
  344. /package/dist/scripts/{6913-f2a9eea63b-lite.chunk.js → 6913-ff7af757fe-lite.chunk.js} +0 -0
  345. /package/dist/scripts/{6930-ee13531375-lite.chunk.js → 6930-9f739d475b-lite.chunk.js} +0 -0
  346. /package/dist/scripts/{7017-35c73244a6-lite.chunk.js.LICENSE.txt → 7017-ad460892cd-lite.chunk.js.LICENSE.txt} +0 -0
  347. /package/dist/scripts/{7030-7a8f86bff3-lite.chunk.js.LICENSE.txt → 7030-3d96a322d1-lite.chunk.js.LICENSE.txt} +0 -0
  348. /package/dist/scripts/{7045-9f5b1a325d-lite.chunk.js → 7045-2cb6237287-lite.chunk.js} +0 -0
  349. /package/dist/scripts/{7052-6f2b57ccae-lite.chunk.js.LICENSE.txt → 7052-6a2c889fad-lite.chunk.js.LICENSE.txt} +0 -0
  350. /package/dist/scripts/{7056-9a2e82c180-lite.chunk.js → 7056-6d3a7715c8-lite.chunk.js} +0 -0
  351. /package/dist/scripts/{7108-77bb6e5ecf-lite.chunk.js → 7108-4200867623-lite.chunk.js} +0 -0
  352. /package/dist/scripts/{7112-2f2e97d06b-lite.chunk.js.LICENSE.txt → 7112-4ac30d206c-lite.chunk.js.LICENSE.txt} +0 -0
  353. /package/dist/scripts/{7115-5db1073a16-lite.chunk.js → 7115-c73692fe3a-lite.chunk.js} +0 -0
  354. /package/dist/scripts/{7128-e0bcf26d2b-lite.chunk.js → 7128-87b101d7b7-lite.chunk.js} +0 -0
  355. /package/dist/scripts/{714-eaa48dfe1c-lite.chunk.js → 714-676e0b469a-lite.chunk.js} +0 -0
  356. /package/dist/scripts/{7172-d26b777727-lite.chunk.js → 7172-7dadcbf10c-lite.chunk.js} +0 -0
  357. /package/dist/scripts/{7221-a09f624297-lite.chunk.js.LICENSE.txt → 7221-93267ee8ca-lite.chunk.js.LICENSE.txt} +0 -0
  358. /package/dist/scripts/{7286-b3d20d94b0-lite.chunk.js → 7286-d0a18c7fc3-lite.chunk.js} +0 -0
  359. /package/dist/scripts/{7338-a11845d2a6-lite.chunk.js → 7338-e0306c666f-lite.chunk.js} +0 -0
  360. /package/dist/scripts/{7385-7c2bd72866-lite.chunk.js → 7385-f7e1626f26-lite.chunk.js} +0 -0
  361. /package/dist/scripts/{7409-04a3ff62e6-lite.chunk.js → 7409-899153bb90-lite.chunk.js} +0 -0
  362. /package/dist/scripts/{7422-164d07dc57-lite.chunk.js.LICENSE.txt → 7422-91954804ee-lite.chunk.js.LICENSE.txt} +0 -0
  363. /package/dist/scripts/{7432-85087e632c-lite.chunk.js → 7432-337ec5be0e-lite.chunk.js} +0 -0
  364. /package/dist/scripts/{7484-ea19d74c69-lite.chunk.js → 7484-ae53159046-lite.chunk.js} +0 -0
  365. /package/dist/scripts/{7706-1f9e23a067-lite.chunk.js → 7706-b577679244-lite.chunk.js} +0 -0
  366. /package/dist/scripts/{7767-606d7f700d-lite.chunk.js → 7767-5532313978-lite.chunk.js} +0 -0
  367. /package/dist/scripts/{7855-eaae706a6d-lite.chunk.js → 7855-4598a122c5-lite.chunk.js} +0 -0
  368. /package/dist/scripts/{7888-db27bfa50b-lite.chunk.js → 7888-82662e960a-lite.chunk.js} +0 -0
  369. /package/dist/scripts/{7925-f5bfc42b6b-lite.chunk.js → 7925-c8cd8aace8-lite.chunk.js} +0 -0
  370. /package/dist/scripts/{8025-2ea56fd143-lite.chunk.js → 8025-1982900b56-lite.chunk.js} +0 -0
  371. /package/dist/scripts/{8056-cedbf283d0-lite.chunk.js → 8056-795d736c97-lite.chunk.js} +0 -0
  372. /package/dist/scripts/{811-e36c29027f-lite.chunk.js → 811-f5a65fdd67-lite.chunk.js} +0 -0
  373. /package/dist/scripts/{817-297e0f95e8-lite.chunk.js → 817-d3fd0193a5-lite.chunk.js} +0 -0
  374. /package/dist/scripts/{8252-413339e753-lite.chunk.js → 8252-4e4c95417c-lite.chunk.js} +0 -0
  375. /package/dist/scripts/{8323-e22b13446b-lite.chunk.js.LICENSE.txt → 8323-077cca4d3c-lite.chunk.js.LICENSE.txt} +0 -0
  376. /package/dist/scripts/{8383-008c38045a-lite.chunk.js → 8383-8532439503-lite.chunk.js} +0 -0
  377. /package/dist/scripts/{8419-79cd038e70-lite.chunk.js → 8419-85c64f5ba5-lite.chunk.js} +0 -0
  378. /package/dist/scripts/{8621-29990b5bbe-lite.chunk.js → 8621-8cabf96744-lite.chunk.js} +0 -0
  379. /package/dist/scripts/{8681-7d0092afe1-lite.chunk.js.LICENSE.txt → 8681-8bea9c38e4-lite.chunk.js.LICENSE.txt} +0 -0
  380. /package/dist/scripts/{872-2d75e2e33f-lite.chunk.js → 872-dde4e48d7d-lite.chunk.js} +0 -0
  381. /package/dist/scripts/{8763-c745ed1ebb-lite.chunk.js → 8763-8fc868e00e-lite.chunk.js} +0 -0
  382. /package/dist/scripts/{8820-6ce2522615-lite.chunk.js → 8820-a5c21e7c23-lite.chunk.js} +0 -0
  383. /package/dist/scripts/{8830-a30a1fab45-lite.chunk.js → 8830-16c2fd1319-lite.chunk.js} +0 -0
  384. /package/dist/scripts/{8905-65f92f2dec-lite.chunk.js → 8905-039126dc2f-lite.chunk.js} +0 -0
  385. /package/dist/scripts/{8935-0d9c59e8b3-lite.chunk.js.LICENSE.txt → 8935-80c206852a-lite.chunk.js.LICENSE.txt} +0 -0
  386. /package/dist/scripts/{8955-93725cfefc-lite.chunk.js → 8955-62d7a85840-lite.chunk.js} +0 -0
  387. /package/dist/scripts/{9005-124f6fd09b-lite.chunk.js → 9005-fa68ac465b-lite.chunk.js} +0 -0
  388. /package/dist/scripts/{9038-af17e380bd-lite.chunk.js → 9038-6a301580ce-lite.chunk.js} +0 -0
  389. /package/dist/scripts/{9060-a48603af79-lite.chunk.js → 9060-aea36d49b0-lite.chunk.js} +0 -0
  390. /package/dist/scripts/{9151-049f79d533-lite.chunk.js → 9151-7da7f5dff4-lite.chunk.js} +0 -0
  391. /package/dist/scripts/{9264-ce6ee405f0-lite.chunk.js → 9264-5901a0f52d-lite.chunk.js} +0 -0
  392. /package/dist/scripts/{9325-8200a8eca7-lite.chunk.js → 9325-e487dde158-lite.chunk.js} +0 -0
  393. /package/dist/scripts/{9428-f581bbe764-lite.chunk.js.LICENSE.txt → 9428-9af52fa200-lite.chunk.js.LICENSE.txt} +0 -0
  394. /package/dist/scripts/{9455-fb7fbd114e-lite.chunk.js → 9455-283f477332-lite.chunk.js} +0 -0
  395. /package/dist/scripts/{9478-1978074e73-lite.chunk.js.LICENSE.txt → 9478-6f19948322-lite.chunk.js.LICENSE.txt} +0 -0
  396. /package/dist/scripts/{9484-1544749279-lite.chunk.js.LICENSE.txt → 9484-2a3aa518fd-lite.chunk.js.LICENSE.txt} +0 -0
  397. /package/dist/scripts/{9674-cd38b69de3-lite.chunk.js → 9674-25ccc9ee52-lite.chunk.js} +0 -0
  398. /package/dist/scripts/{9843-137761f2e1-lite.chunk.js → 9843-deb50808e7-lite.chunk.js} +0 -0
  399. /package/dist/scripts/{9894-b782130bb3-lite.chunk.js.LICENSE.txt → 9869-b6523c4972-lite.chunk.js.LICENSE.txt} +0 -0
  400. /package/dist/scripts/{9880-c7ad9079c0-lite.chunk.js → 9880-6705cdddfd-lite.chunk.js} +0 -0
  401. /package/dist/scripts/{9931-bc6b18ba05-lite.chunk.js.LICENSE.txt → 9894-1e493082b6-lite.chunk.js.LICENSE.txt} +0 -0
  402. /package/dist/scripts/{9899-f0463a5a59-lite.chunk.js → 9899-ac45bca2d6-lite.chunk.js} +0 -0
  403. /package/dist/scripts/{bundle-cf5e5a8090.min.js.LICENSE.txt → bundle-3e683090e2.min.js.LICENSE.txt} +0 -0
@@ -0,0 +1,2 @@
1
+ /*! For license information please see 4657-fcd6ff63dd-lite.chunk.js.LICENSE.txt */
2
+ "use strict";(self.webpackChunk_clickview_lite=self.webpackChunk_clickview_lite||[]).push([[4657],{42328:(t,e,r)=>{r.d(e,{w:()=>a});var n=r(32735);function o(){return n.createElement("svg",{viewBox:"0 0 24 24"},n.createElement("path",{d:"M11.959 10.641l4.402-4.296a.964.964 0 0 1 1.358 0 .951.951 0 0 1 0 1.35l-4.403 4.297 4.403 4.378a.951.951 0 0 1 0 1.35.964.964 0 0 1-1.358 0l-4.402-4.378-4.32 4.378a.964.964 0 0 1-1.358 0 .951.951 0 0 1 0-1.35l4.32-4.378-4.32-4.362a.951.951 0 0 1 0-1.35.964.964 0 0 1 1.358 0l4.32 4.361z"}))}var a=n.forwardRef((function(t,e){var r=t.onClickClear,a=t.showClearButton,i=function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(t);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(r[n[o]]=t[n[o]])}return r}(t,["onClickClear","showClearButton"]);return n.createElement("div",{className:"position-relative"},n.createElement("input",Object.assign({},i,{ref:e,className:"".concat(t.className," ").concat("aYpO7")})),(!!t.value||a)&&n.createElement("span",{className:"".concat("ygMgF"," position-absolute cursor-pointer text-muted"),role:"button",onClick:r},n.createElement("div",{className:"d-inline-block svg-container md"},n.createElement(o,null))))}))},12594:(t,e,r)=>{r.d(e,{h:()=>nn});var n=r(32735),o=r(57900),a=r(49985),i=r(74254),c=r(42328),l=["Teacher","Librarian","Curriculum Coordinator","Digital Technology Coordinator","IT","Head of Department","Head of Subject","Deputy Principal","Principal"],u=["Teacher","Librarian","Head of department","Subject lead","Curriculum coordinator","School leadership","District leadership","Academic coach","Instructional technology specialist","Consortium leadership","IT"],s={au:l,nz:l,uk:["Teacher","Librarian","IT/LRC","e-Learning/ICT Coordinator","Head of Key Stage","Head of Department","Subject Lead","Assistant Head Teacher","Deputy Head Teacher","Head Teacher"],us:u};function f(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,a,i,c=[],l=!0,u=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=a.call(r)).done)&&(c.push(n.value),c.length!==e);l=!0);}catch(t){u=!0,o=t}finally{try{if(!l&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(u)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return p(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?p(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var h="OTHER";function d(t){var e=t.error,r=t.onChange,o=t.countryCode,a=f(n.useState(""),2),i=a[0],c=a[1],l=f(n.useState(""),2),p=l[0],d=l[1],y=function(t){return s[t]||u}(o),m=i===h;return n.createElement(n.Fragment,null,n.createElement("div",{className:"mb-2"},n.createElement("select",{id:t.id,name:t.id,className:"form-select form-select-lg ".concat(i.length?"text-dark":"text-secondary"," ").concat(!!e&&"is-invalid"),value:i,placeholder:"Role",onChange:function(t){c(t.target.value),d(""),r(t.target.value===h?"":t.target.value)}},n.createElement("option",{value:"",disabled:!0,className:"text-muted"},"What do you do?"),y.map((function(t,e){return n.createElement("option",{value:t,className:"text-dark",key:e},t)})),n.createElement("option",{value:h,className:"text-dark"},"Other")),!!e&&!m&&n.createElement("div",{className:"invalid-feedback"},e)),m&&n.createElement("div",{className:"mb-3"},n.createElement("input",{className:"form-control form-control-lg ".concat(!!e&&"is-invalid"),type:"text",value:p,placeholder:"What do you do?",autoFocus:!0,onChange:function(t){d(t.target.value),r(t.target.value)}}),!!e&&n.createElement("div",{className:"invalid-feedback"},e)))}var y,m,v,g=r(86664),b=r(2102);function w(t){return w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},w(t)}function E(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function S(t){var e,r,o,a,i,l,u,s,f,p=(s=n.useState({fullname:"",jobTitle:"",phone:""}),f=2,function(t){if(Array.isArray(t))return t}(s)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,a,i,c=[],l=!0,u=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=a.call(r)).done)&&(c.push(n.value),c.length!==e);l=!0);}catch(t){u=!0,o=t}finally{try{if(!l&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(u)throw o}}return c}}(s,f)||function(t,e){if(t){if("string"==typeof t)return E(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?E(t,e):void 0}}(s,f)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),h=p[0],y=p[1];function m(t,e){y((function(r){return Object.assign(Object.assign({},r),function(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==w(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==w(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===w(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}({},t,e))}))}return n.createElement("div",{className:"text-center"},n.createElement("h1",{className:"text-center h4"},"A little more about you"),n.createElement("p",null,"Please enter your details."),n.createElement("form",{onSubmit:function(e){e.preventDefault(),t.handleSubmitForm(h)}},n.createElement("div",{className:"form-group text-start"},n.createElement("label",{className:"d-block fw-bold mb-1",htmlFor:"fullname-input"},"Full name"),n.createElement(c.w,{value:h.fullname,onChange:function(e){e.preventDefault(),m("fullname",e.target.value),t.removeErrorForKey("fullname"),t.removeErrorForKey("submission")},name:"fullname-input",id:"fullname-input",type:"text",className:"form-control form-control-lg ".concat((null===(e=t.errors.fullname)||void 0===e?void 0:e.length)?"is-invalid":""),placeholder:"Enter your name",onClickClear:function(){m("fullname",""),t.removeErrorForKey("fullname"),t.removeErrorForKey("submission")},autoFocus:!0}),t.errors.fullname&&n.createElement("div",{className:"invalid-feedback d-block"},t.errors.fullname)),n.createElement("div",{className:"form-group text-start"},n.createElement("label",{className:"d-block fw-bold mb-1",htmlFor:"phone-input"},"Contact number"),n.createElement(c.w,{value:h.phone,onChange:function(e){e.preventDefault(),m("phone",e.target.value.trim()),t.removeErrorForKey("phone"),t.removeErrorForKey("submission")},name:"phone-input",id:"phone-input",type:"tel",className:"form-control form-control-lg ".concat((null===(r=t.errors.phone)||void 0===r?void 0:r.length)?"is-invalid":""),placeholder:"Enter your phone number",onClickClear:function(){m("phone",""),t.removeErrorForKey("phone"),t.removeErrorForKey("submission")}}),t.errors.phone&&n.createElement("div",{className:"invalid-feedback d-block"},t.errors.phone)),n.createElement("div",{className:"form-group text-start"},n.createElement("label",{className:"d-block fw-bold mb-1",htmlFor:"jobTitle-select"},"Job title"),n.createElement(d,{id:"jobTitle-select",countryCode:g.I.getCountryCode(t.country),onChange:function(e){m("jobTitle",e),t.removeErrorForKey("jobTitle"),t.removeErrorForKey("submission")},error:null===(o=t.errors)||void 0===o?void 0:o.jobTitle})),!!(null===(a=t.errors)||void 0===a?void 0:a.submission)&&n.createElement("div",{className:"form-group invalid-feedback d-block"},t.errors.submission),n.createElement("div",{className:"form-group mb-1"},n.createElement(b.m,{className:"btn-lg w-100",variant:"dark",onClick:function(){return t.handleSubmitForm(h)},showSpinner:t.loading,disabled:t.loading||(i=h.fullname,l=h.jobTitle,u=h.phone,!(i.length&&l.length&&u.length&&!Object.keys(t.errors).length))},"Submit"))))}!function(t){t.Unavailable="unavailable",t.Expired="expired",t.Active="active",t.NotRequired="not-required",t.Available="available",t.Unsupported="unsupported",t.UserAutoJoinAllowed="user-auto-join-allowed",t.UserJoinApprovalRequired="user-join-approval-required"}(y||(y={})),function(t){t.InvalidEmail="invalid-email"}(m||(m={})),function(t){t.Staff="staff",t.Learner="learner"}(v||(v={}));var x,L=r(63093),j=r(33003),k=r.n(j),C=r(84789);function O(t){return O="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},O(t)}function N(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,a,i,c=[],l=!0,u=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=a.call(r)).done)&&(c.push(n.value),c.length!==e);l=!0);}catch(t){u=!0,o=t}finally{try{if(!l&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(u)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return A(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?A(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function A(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function P(){P=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var a=e&&e.prototype instanceof v?e:v,i=Object.create(a.prototype),c=new I(n||[]);return o(i,"_invoke",{value:k(t,r,c)}),i}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var p="suspendedStart",h="suspendedYield",d="executing",y="completed",m={};function v(){}function g(){}function b(){}var w={};u(w,i,(function(){return this}));var E=Object.getPrototypeOf,S=E&&E(E(T([])));S&&S!==r&&n.call(S,i)&&(w=S);var x=b.prototype=v.prototype=Object.create(w);function L(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,a,i,c){var l=f(t[o],t,a);if("throw"!==l.type){var u=l.arg,s=u.value;return s&&"object"==O(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,i,c)}),(function(t){r("throw",t,i,c)})):e.resolve(s).then((function(t){u.value=t,i(u)}),(function(t){return r("throw",t,i,c)}))}c(l.arg)}var a;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return a=a?a.then(o,o):o()}})}function k(e,r,n){var o=p;return function(a,i){if(o===d)throw new Error("Generator is already running");if(o===y){if("throw"===a)throw i;return{value:t,done:!0}}for(n.method=a,n.arg=i;;){var c=n.delegate;if(c){var l=C(c,n);if(l){if(l===m)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===p)throw o=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var u=f(e,r,n);if("normal"===u.type){if(o=n.done?y:h,u.arg===m)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(o=y,n.method="throw",n.arg=u.arg)}}}function C(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,C(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),m;var a=f(o,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,m;var i=a.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,m):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,m)}function N(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function A(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(N,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(O(e)+" is not iterable")}return g.prototype=b,o(x,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:g,configurable:!0}),g.displayName=u(b,l,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===g||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,u(t,l,"GeneratorFunction")),t.prototype=Object.create(x),t},e.awrap=function(t){return{__await:t}},L(j.prototype),u(j.prototype,c,(function(){return this})),e.AsyncIterator=j,e.async=function(t,r,n,o,a){void 0===a&&(a=Promise);var i=new j(s(t,r,n,o),a);return e.isGeneratorFunction(r)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},L(x),u(x,l,"Generator"),u(x,i,(function(){return this})),u(x,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=T,I.prototype={constructor:I,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(A),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return c.type="throw",c.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],c=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var l=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(l&&u){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=t,i.arg=e,a?(this.method="next",this.next=a.finallyLoc,m):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),m},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),A(r),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),m}},e}function I(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==O(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==O(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===O(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var T={k12:"Primary & Secondary"},_={england:"ENG",scotland:"SCT",wales:"WLS","northern ireland":"NIR"},U=(I(x={},C.X.Auth,"auth.web"),I(x,C.X.Lite,"lite.web"),x),F={getClient:function(t){var e,r,n,o,a,i;return n=this,o=void 0,a=void 0,i=P().mark((function n(){var o,a,i,c,l,u;return P().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return o=t.brazeConfig,a=t.geoLocation,i=t.version,c=o[g.I.getInstanceRegion(null==a?void 0:a.countryCode)],l=U[t.productName],u=(0,L.getInstance)({baseUrl:c.url,apiKey:c.apiKey,productVersion:i,productName:l,enableLogging:!1,automaticallyShowInAppMessages:!1}),(null===(e=t.geoLocation)||void 0===e?void 0:e.countryCode)&&u.setUserCountry(null===(r=t.geoLocation)||void 0===r?void 0:r.countryCode),n.abrupt("return",u);case 6:case"end":return n.stop()}}),n)})),new(a||(a=Promise))((function(t,e){function r(t){try{l(i.next(t))}catch(t){e(t)}}function c(t){try{l(i.throw(t))}catch(t){e(t)}}function l(e){var n;e.done?t(e.value):(n=e.value,n instanceof a?n:new a((function(t){t(n)}))).then(r,c)}l((i=i.apply(n,o||[])).next())}))},hashedEmail:function(t){var e=t.trim().toLowerCase();return k().hash(e)},removeEmptyKeys:function(t){if(Array.isArray(t))return t;var e=Object.assign({},t);return Object.entries(e).filter((function(t){var e=N(t,2)[1];return null!=e&&!("string"==typeof e&&!e.length)})).reduce((function(t,e){var r=N(e,2),n=r[0],o=r[1];return Object.assign(Object.assign({},t),I({},n,o===Object(o)?F.removeEmptyKeys(o):o))}),{})},getEventTopic:function(){return"Free Trial Request"},getCustomEventType:function(){return L.ProductFormEvent.ProductTrailRequested},getProductFormEventType:function(){return"product_form_submission"},getSchoolType:function(t){if(t){var e=t.toLowerCase();if(!["unknown","other"].includes(e))return T[e]||t}},parseProvince:function(t){return t.length?_[t.toLowerCase()]||t:""}};function G(t){return G="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},G(t)}function D(){D=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var a=e&&e.prototype instanceof v?e:v,i=Object.create(a.prototype),c=new A(n||[]);return o(i,"_invoke",{value:k(t,r,c)}),i}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var p="suspendedStart",h="suspendedYield",d="executing",y="completed",m={};function v(){}function g(){}function b(){}var w={};u(w,i,(function(){return this}));var E=Object.getPrototypeOf,S=E&&E(E(P([])));S&&S!==r&&n.call(S,i)&&(w=S);var x=b.prototype=v.prototype=Object.create(w);function L(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,a,i,c){var l=f(t[o],t,a);if("throw"!==l.type){var u=l.arg,s=u.value;return s&&"object"==G(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,i,c)}),(function(t){r("throw",t,i,c)})):e.resolve(s).then((function(t){u.value=t,i(u)}),(function(t){return r("throw",t,i,c)}))}c(l.arg)}var a;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return a=a?a.then(o,o):o()}})}function k(e,r,n){var o=p;return function(a,i){if(o===d)throw new Error("Generator is already running");if(o===y){if("throw"===a)throw i;return{value:t,done:!0}}for(n.method=a,n.arg=i;;){var c=n.delegate;if(c){var l=C(c,n);if(l){if(l===m)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===p)throw o=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var u=f(e,r,n);if("normal"===u.type){if(o=n.done?y:h,u.arg===m)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(o=y,n.method="throw",n.arg=u.arg)}}}function C(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,C(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),m;var a=f(o,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,m;var i=a.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,m):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,m)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function N(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function A(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function P(e){if(e||""===e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(G(e)+" is not iterable")}return g.prototype=b,o(x,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:g,configurable:!0}),g.displayName=u(b,l,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===g||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,u(t,l,"GeneratorFunction")),t.prototype=Object.create(x),t},e.awrap=function(t){return{__await:t}},L(j.prototype),u(j.prototype,c,(function(){return this})),e.AsyncIterator=j,e.async=function(t,r,n,o,a){void 0===a&&(a=Promise);var i=new j(s(t,r,n,o),a);return e.isGeneratorFunction(r)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},L(x),u(x,l,"Generator"),u(x,i,(function(){return this})),u(x,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=P,A.prototype={constructor:A,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(N),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return c.type="throw",c.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],c=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var l=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(l&&u){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=t,i.arg=e,a?(this.method="next",this.next=a.finallyLoc,m):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),m},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),N(r),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;N(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:P(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),m}},e}function R(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,a,i,c=[],l=!0,u=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=a.call(r)).done)&&(c.push(n.value),c.length!==e);l=!0);}catch(t){u=!0,o=t}finally{try{if(!l&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(u)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return M(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?M(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function M(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var K=255,Y=/\$+[\w\s]?/,z=/^\+?\d{4,255}$/;function q(t){if(!t)return{firstName:"",surname:""};var e=t.split(" ").filter((function(t){return t.length}));return{firstName:e.shift(),surname:e.join(" ")}}var V=r(65858),B=r(45157),$=function t(e,r){if(e===r)return!0;if(e&&r&&"object"==typeof e&&"object"==typeof r){if(e.constructor!==r.constructor)return!1;var n,o,a;if(Array.isArray(e)){if((n=e.length)!=r.length)return!1;for(o=n;0!=o--;)if(!t(e[o],r[o]))return!1;return!0}if(e.constructor===RegExp)return e.source===r.source&&e.flags===r.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===r.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===r.toString();if((n=(a=Object.keys(e)).length)!==Object.keys(r).length)return!1;for(o=n;0!=o--;)if(!Object.prototype.hasOwnProperty.call(r,a[o]))return!1;for(o=n;0!=o--;){var i=a[o];if(!t(e[i],r[i]))return!1}return!0}return e!=e&&r!=r};const H="__googleMapsScriptId";var Z;!function(t){t[t.INITIALIZED=0]="INITIALIZED",t[t.LOADING=1]="LOADING",t[t.SUCCESS=2]="SUCCESS",t[t.FAILURE=3]="FAILURE"}(Z||(Z={}));class J{constructor({apiKey:t,authReferrerPolicy:e,channel:r,client:n,id:o=H,language:a,libraries:i=[],mapIds:c,nonce:l,region:u,retries:s=3,url:f="https://maps.googleapis.com/maps/api/js",version:p}){if(this.CALLBACK="__googleMapsCallback",this.callbacks=[],this.done=!1,this.loading=!1,this.errors=[],this.apiKey=t,this.authReferrerPolicy=e,this.channel=r,this.client=n,this.id=o||H,this.language=a,this.libraries=i,this.mapIds=c,this.nonce=l,this.region=u,this.retries=s,this.url=f,this.version=p,J.instance){if(!$(this.options,J.instance.options))throw new Error(`Loader must not be called again with different options. ${JSON.stringify(this.options)} !== ${JSON.stringify(J.instance.options)}`);return J.instance}J.instance=this}get options(){return{version:this.version,apiKey:this.apiKey,channel:this.channel,client:this.client,id:this.id,libraries:this.libraries,language:this.language,region:this.region,mapIds:this.mapIds,nonce:this.nonce,url:this.url,authReferrerPolicy:this.authReferrerPolicy}}get status(){return this.errors.length?Z.FAILURE:this.done?Z.SUCCESS:this.loading?Z.LOADING:Z.INITIALIZED}get failed(){return this.done&&!this.loading&&this.errors.length>=this.retries+1}createUrl(){let t=this.url;return t+=`?callback=${this.CALLBACK}`,this.apiKey&&(t+=`&key=${this.apiKey}`),this.channel&&(t+=`&channel=${this.channel}`),this.client&&(t+=`&client=${this.client}`),this.libraries.length>0&&(t+=`&libraries=${this.libraries.join(",")}`),this.language&&(t+=`&language=${this.language}`),this.region&&(t+=`&region=${this.region}`),this.version&&(t+=`&v=${this.version}`),this.mapIds&&(t+=`&map_ids=${this.mapIds.join(",")}`),this.authReferrerPolicy&&(t+=`&auth_referrer_policy=${this.authReferrerPolicy}`),t}deleteScript(){const t=document.getElementById(this.id);t&&t.remove()}load(){return this.loadPromise()}loadPromise(){return new Promise(((t,e)=>{this.loadCallback((r=>{r?e(r.error):t(window.google)}))}))}loadCallback(t){this.callbacks.push(t),this.execute()}setScript(){if(document.getElementById(this.id))return void this.callback();const t=this.createUrl(),e=document.createElement("script");e.id=this.id,e.type="text/javascript",e.src=t,e.onerror=this.loadErrorCallback.bind(this),e.defer=!0,e.async=!0,this.nonce&&(e.nonce=this.nonce),document.head.appendChild(e)}reset(){this.deleteScript(),this.done=!1,this.loading=!1,this.errors=[],this.onerrorEvent=null}resetIfRetryingFailed(){this.failed&&this.reset()}loadErrorCallback(t){if(this.errors.push(t),this.errors.length<=this.retries){const t=this.errors.length*Math.pow(2,this.errors.length);console.log(`Failed to load Google Maps script, retrying in ${t} ms.`),setTimeout((()=>{this.deleteScript(),this.setScript()}),t)}else this.onerrorEvent=t,this.callback()}setCallback(){window.__googleMapsCallback=this.callback.bind(this)}callback(){this.done=!0,this.loading=!1,this.callbacks.forEach((t=>{t(this.onerrorEvent)})),this.callbacks=[]}execute(){if(this.resetIfRetryingFailed(),this.done)this.callback();else{if(window.google&&window.google.maps&&window.google.maps.version)return console.warn("Google Maps already loaded outside @googlemaps/js-api-loader.This may result in undesirable behavior as options and script parameters may not match."),void this.callback();this.loading||(this.loading=!0,this.setCallback(),this.setScript())}}}function W(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,a,i,c=[],l=!0,u=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=a.call(r)).done)&&(c.push(n.value),c.length!==e);l=!0);}catch(t){u=!0,o=t}finally{try{if(!l&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(u)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return X(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?X(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function X(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function Q(t){return new J({apiKey:t.apiKey,version:"weekly",libraries:t.libraries,retries:3})}function tt(t){var e={apiKey:t.apiKey,libraries:t.libraries||["places"]},r=W(n.useState(!1),2),o=r[0],a=r[1],i=W(n.useState(Q(e)),2),c=i[0],l=i[1];function u(t,r){c?c.loadCallback((function(e){if(e)return a(!1),void(r&&r(e));a(!0),t&&t()})):l(Q(e))}return n.useEffect((function(){u()}),[]),{loader:c,scriptLoaded:o,onGoogleApiReady:u}}function et(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function rt(t){var e,r,o=tt({apiKey:t.googleApiKey}).scriptLoaded,a=(e=n.useState(),r=2,function(t){if(Array.isArray(t))return t}(e)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,a,i,c=[],l=!0,u=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=a.call(r)).done)&&(c.push(n.value),c.length!==e);l=!0);}catch(t){u=!0,o=t}finally{try{if(!l&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(u)throw o}}return c}}(e,r)||function(t,e){if(t){if("string"==typeof t)return et(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?et(t,e):void 0}}(e,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),i=a[0],c=a[1];return n.useEffect((function(){o&&c(new google.maps.places.AutocompleteService)}),[o]),i}function nt(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var ot="us",at="country:placeholder:text";function it(t){var e,r,a=t.apiKey,i=t.geoLocation,c=t.makeRequest,l=void 0===c||c,u=t.template,s=void 0===u?"E.g. [placeholder]":u,f=t.templateKey,p=void 0===f?"[placeholder]":f,h=rt({googleApiKey:a}),d=n.useState((function(){return function(t){var e=g.I.getLocalizedLocalityPlaceholderText(null==t?void 0:t.countryCode);return e||(o.SG.cacheGet("".concat(at,":").concat(null==t?void 0:t.countryCode))||void 0)}(i)})),y=(r=2,function(t){if(Array.isArray(t))return t}(e=d)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,a,i,c=[],l=!0,u=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=a.call(r)).done)&&(c.push(n.value),c.length!==e);l=!0);}catch(t){u=!0,o=t}finally{try{if(!l&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(u)throw o}}return c}}(e,r)||function(t,e){if(t){if("string"==typeof t)return nt(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?nt(t,e):void 0}}(e,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),m=y[0],v=y[1];function b(t,e){o.SG.cacheSet("".concat(at,":").concat(e),t,86400),v(t)}return n.useEffect((function(){if(!m&&h&&l){var t=(null==i?void 0:i.countryCode)||ot,e={input:String.fromCharCode(96+B.Y.getRandomInt(26)),types:["(cities)"],region:t,componentRestrictions:{country:t}};h.getPlacePredictions(e,(function(e,r){return function(t,e,r){if(e===google.maps.places.PlacesServiceStatus.OK&&t){var n=t[B.Y.getRandomInt(t.length)].description;b(s.replace(p,n),r)}else b(g.I.getLocalizedLocalityPlaceholderText(ot),r)}(e,r,t)}))}}),[m,h,i,l]),m}function ct(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function lt(t){var e,r,o=(e=n.useState(0),r=2,function(t){if(Array.isArray(t))return t}(e)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,a,i,c=[],l=!0,u=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=a.call(r)).done)&&(c.push(n.value),c.length!==e);l=!0);}catch(t){u=!0,o=t}finally{try{if(!l&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(u)throw o}}return c}}(e,r)||function(t,e){if(t){if("string"==typeof t)return ct(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ct(t,e):void 0}}(e,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),a=o[0],i=o[1],c=n.useRef();function l(){var t;c.current&&(null===(t=c.current.children[a-1])||void 0===t||t.scrollIntoView({block:"center"}))}return{selectedIndex:a,onKeyDown:function(e){if("ArrowDown"===e.code){e.stopPropagation(),e.preventDefault();var r=a+1;return r>t.itemCount&&(r=1),i(r),void l()}if("ArrowUp"===e.code){e.stopPropagation(),e.preventDefault();var n=a-1;return n<=0&&(n=t.itemCount),i(n),void l()}if("Enter"===e.code&&a>0)return e.stopPropagation(),e.preventDefault(),void t.onSelected(a-1);i(0)},containerRef:c}}function ut(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return st(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?st(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,c=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return i=t.done,t},e:function(t){c=!0,a=t},f:function(){try{i||null==r.return||r.return()}finally{if(c)throw a}}}}function st(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var ft=function(t){var e,r,n,o,a,i=t.formatted_address,c=ut(t.address_components);try{for(c.s();!(a=c.n()).done;){var l,u=a.value,s=ut(u.types);try{for(s.s();!(l=s.n()).done;){var f=l.value;"locality"===f&&(e=u.short_name),"administrative_area_level_1"===f&&(r=u.short_name),"postal_code"===f&&(o=u.short_name),"country"===f&&(n=u.short_name)}}catch(t){s.e(t)}finally{s.f()}}}catch(t){c.e(t)}finally{c.f()}return{locality:i,country:n,postalCode:o,city:e,province:r}};function pt(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var ht={1:"geocoderPermissionDenied",2:"geocoderUnavailable",3:"geocoderTimeout"},dt=r(28329);function yt(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var mt=r(11607);function vt(){return n.createElement("svg",{viewBox:"0 0 24 24"},n.createElement("path",{d:"m12.00559,20.40189c4.60881,0 8.37242,-3.78424 8.37242,-8.40189c0,-4.61764 -3.76361,-8.40187 -8.37242,-8.40187c-4.62002,0 -8.38365,3.78422 -8.38365,8.40187c0,4.61765 3.76364,8.40189 8.38365,8.40189zm0,-1.65557c-3.75235,0 -6.67085,-2.96208 -6.67085,-6.74632c0,-3.7842 2.91851,-6.74625 6.67085,-6.74625c3.74105,0 6.67084,2.96206 6.67084,6.74625c0,3.78424 -2.92978,6.74632 -6.67084,6.74632zm-10.14151,-6.02552l6.01731,0c0.40566,0 0.72118,-0.31536 0.72118,-0.7208c0,-0.40544 -0.31552,-0.7208 -0.72118,-0.7208l-6.01731,0c-0.40566,0 -0.72117,0.31536 -0.72117,0.7208c0,0.40544 0.31551,0.7208 0.72118,0.7208l-0.00001,0zm14.25442,0l6.0174,0c0.40565,0 0.72118,-0.31536 0.72118,-0.7208c0,-0.40544 -0.31553,-0.7208 -0.72118,-0.7208l-6.0174,0c-0.40565,0 -0.72118,0.31536 -0.72118,0.7208c0,0.40544 0.31553,0.7208 0.72118,0.7208zm-4.12417,-4.1221c0.40566,0 0.72118,-0.31534 0.72118,-0.70952l0,-6.02547c0,-0.40544 -0.31552,-0.7208 -0.72118,-0.7208c-0.3944,0 -0.7099,0.31536 -0.7099,0.7208l0,6.02547c0,0.39418 0.31551,0.70952 0.7099,0.70952zm0,14.25838c0.40566,0 0.72118,-0.3154 0.72118,-0.72077l0,-6.02541c0,-0.39425 -0.31552,-0.70965 -0.72118,-0.70965c-0.3944,0 -0.7099,0.3154 -0.7099,0.70965l0,6.02541c0,0.40538 0.31551,0.72077 0.7099,0.72077z"}))}const gt={baseText:"KL3Q_",inputFocused:"I6wQy",input:"ChY5L",suggestionContainer:"Y78ea",noBottomBorder:"IeYUw",localitySuggestion:"P3aHR",suggestionItem:"magL7",suggestionLoading:"W7rH_",noSuggestion:"XXSnS",selected:"snnHR"};function bt(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,a,i,c=[],l=!0,u=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=a.call(r)).done)&&(c.push(n.value),c.length!==e);l=!0);}catch(t){u=!0,o=t}finally{try{if(!l&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(u)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return wt(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?wt(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function wt(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function Et(t){var e=t.predictions,r=t.getPlaceInfo,o=t.selectedIndex;return n.createElement(n.Fragment,null,e.map((function(t,e){return n.createElement(mt.L,{className:"".concat(gt.suggestionItem," ").concat(o-1===e?gt.selected:""),key:t.place_id,onClick:function(){return r(t)}},t.description)})))}function St(t){var e,r,o,a,i,l,u=n.useRef(),s=bt(n.useState((null===(e=t.data)||void 0===e?void 0:e.schoolLocality)||""),2),f=s[0],p=s[1],h=bt(n.useState(!1),2),d=h[0],y=h[1],m=it({apiKey:t.googleMapsApiKey,geoLocation:t.geoLocation}),v=function(t){var e,r,o=t.search,a=t.makePredicition,i=t.geoLocation,c=rt({googleApiKey:t.apiKey}),l=(0,dt.N)(o,300),u=(e=n.useState(),r=2,function(t){if(Array.isArray(t))return t}(e)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,a,i,c=[],l=!0,u=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=a.call(r)).done)&&(c.push(n.value),c.length!==e);l=!0);}catch(t){u=!0,o=t}finally{try{if(!l&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(u)throw o}}return c}}(e,r)||function(t,e){if(t){if("string"==typeof t)return yt(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?yt(t,e):void 0}}(e,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),s=u[0],f=u[1];function p(t,e){e===google.maps.places.PlacesServiceStatus.OK&&t?f(t):f(void 0)}return n.useEffect((function(){if(c)if(0!==(null==l?void 0:l.length)&&a){var t=(null==i?void 0:i.countryCode)||"us";c.getPlacePredictions({input:l,componentRestrictions:(null==i?void 0:i.isFallback)?void 0:{country:t},region:t,types:["locality","sublocality","postal_code"]},p)}else f(void 0)}),[l,a,c]),{localityPredicitions:s,getPlaceInfo:function(t,e,r){new google.maps.places.PlacesService(e.current).getDetails({placeId:t.place_id,fields:["geometry","address_components","formatted_address"],region:i.countryCode},(function(t,e){if(e===google.maps.places.PlacesServiceStatus.OK){var n=t.geometry.location.lng(),o=t.geometry.location.lat(),a=ft(t),i=a.locality,c=a.country,l=a.postalCode,u=a.city,s=a.province;r({longitude:n,latitude:o,locality:i,country:c,city:u,postalCode:l,province:s})}}))}}}({search:f,makePredicition:d,geoLocation:t.geoLocation,apiKey:t.googleMapsApiKey}),g=v.localityPredicitions,b=v.getPlaceInfo,w=function(t){var e,r,o=(e=n.useState({}),r=2,function(t){if(Array.isArray(t))return t}(e)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,a,i,c=[],l=!0,u=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=a.call(r)).done)&&(c.push(n.value),c.length!==e);l=!0);}catch(t){u=!0,o=t}finally{try{if(!l&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(u)throw o}}return c}}(e,r)||function(t,e){if(t){if("string"==typeof t)return pt(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?pt(t,e):void 0}}(e,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),a=o[0],i=o[1],c=tt(t).onGoogleApiReady;function l(t){var e=t.coords,r=e.latitude,n=e.longitude,o=new google.maps.LatLng(r,n);(new google.maps.Geocoder).geocode({location:o},(function(t,e){if(e===google.maps.GeocoderStatus.OK){var o=t.find((function(t){return t.types.includes("locality")||t.types.includes("administrative_area_level_2")})),a=ft(o);i(Object.assign(Object.assign({},a),{longitude:n,latitude:r}))}}))}function u(e){var r=ht[e.code];r||(r="geocoderUnknown"),t.onPositionError("We are unable to access your location. Please try again later.")}return{placeDetails:a,onClickGetCurrentLocation:function(){c((function(){window.navigator.geolocation.getCurrentPosition(l,u)}))}}}({apiKey:t.googleMapsApiKey,onPositionError:function(t){y(!0),A(t)}}),E=w.placeDetails,S=w.onClickGetCurrentLocation,x=window.navigator.geolocation?1:0,L=lt({onSelected:function(t){if(g)if(t!==g.length){var e=g[t];e&&T(e)}else _()},itemCount:null!==(r=(null==g?void 0:g.length)+x)&&void 0!==r?r:0}),j=L.selectedIndex,k=L.onKeyDown,C=L.containerRef,O=bt(n.useState(),2),N=O[0],A=O[1];function P(e){var r,n,o;N&&A(void 0),d||y(!0),((null===(r=t.data)||void 0===r?void 0:r.longitude)||(null===(n=t.data)||void 0===n?void 0:n.latitude)||(null===(o=t.data)||void 0===o?void 0:o.schoolLocality))&&t.clearStepGroupData(),p(e)}function I(e){var r=e.longitude,n=e.latitude,o=e.locality,a=e.country,i=e.city,c=e.province;r&&t.setDataProperty("longitude",r),n&&t.setDataProperty("latitude",n),a&&t.setDataProperty("country",a),i&&t.setDataProperty("city",i),c&&t.setDataProperty("province",c),o&&function(e){t.setDataProperty("schoolLocality",e),p(e)}(o)}function T(t){d&&y(!1),b(t,u,I)}function _(e){null==e||e.preventDefault(),y(!1),S(),t.logUserAction({},{actionType:V.Vw.Click,descriptor:V.Yu.UseMyLocation})}n.useEffect((function(){I(E)}),[E]);var U,F=(null==g?void 0:g.length)&&!(null===(a=null===(o=t.data)||void 0===o?void 0:o.schoolLocality)||void 0===a?void 0:a.length),G=window.navigator.geolocation&&!(null===(l=null===(i=t.data)||void 0===i?void 0:i.schoolLocality)||void 0===l?void 0:l.length),D=t.labelClassName||"d-block text-center mb-3 fw-normal ".concat(gt.baseText);return n.createElement("div",{className:"form-group position-relative"},n.createElement("label",{className:D,htmlFor:"locality-input"},"Postcode or suburb:"),n.createElement(c.w,{type:"text",value:f,onChange:function(t){return P(t.currentTarget.value)},id:"locality-input",className:(U="form-control form-control-lg",F?"".concat(U," ").concat(gt.inputFocused):"".concat(U," ").concat(gt.input)),ref:u,autoComplete:"off",placeholder:m||"Loading...",disabled:t.disabled||!m,autoFocus:null==t?void 0:t.autoFocus,onClickClear:function(){P(""),u.current.focus()},onKeyDown:k}),n.createElement("div",{className:"position-absolute w-100"},!!F&&n.createElement("div",{className:"".concat(gt.suggestionContainer," ").concat(gt.localitySuggestion),ref:C},n.createElement(Et,{predictions:g,getPlaceInfo:T,selectedIndex:j}),window.navigator.geolocation&&n.createElement(mt.L,{className:"".concat(gt.suggestionItem," px-1 ").concat(j-1===g.length?gt.selected:""),onClick:_},n.createElement("div",{className:"btn btn-link info-link btn-with-icon bg-transparent py-0 pe-1"},n.createElement(vt,null),"Use my current location"))),G&&!F&&n.createElement("div",{className:"d-flex"},n.createElement("button",{onClick:_,className:"btn btn-link info-link bg-white btn-with-icon"},n.createElement(vt,null),"Use my current location")),!!N&&n.createElement("div",{className:"text-danger p-2"},N)))}var xt=r(99940);function Lt(t){return Lt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Lt(t)}function jt(t){var e="function"==typeof Map?new Map:void 0;return jt=function(t){if(null===t||!function(t){try{return-1!==Function.toString.call(t).indexOf("[native code]")}catch(e){return"function"==typeof t}}(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,r)}function r(){return kt(t,arguments,Nt(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),Ot(r,t)},jt(t)}function kt(t,e,r){return kt=Ct()?Reflect.construct.bind():function(t,e,r){var n=[null];n.push.apply(n,e);var o=new(Function.bind.apply(t,n));return r&&Ot(o,r.prototype),o},kt.apply(null,arguments)}function Ct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}function Ot(t,e){return Ot=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},Ot(t,e)}function Nt(t){return Nt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Nt(t)}var At=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Ot(t,e)}(a,t);var e,r,n,o=(r=a,n=Ct(),function(){var t,e=Nt(r);if(n){var o=Nt(this).constructor;t=Reflect.construct(e,arguments,o)}else t=e.apply(this,arguments);return function(t,e){if(e&&("object"===Lt(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(this,t)});function a(t){var e,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"Error";return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),(e=o.call(this,r)).body=t,e}return e=a,Object.defineProperty(e,"prototype",{writable:!1}),e}(jt(Error));function Pt(t){return Pt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Pt(t)}function It(){It=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var a=e&&e.prototype instanceof v?e:v,i=Object.create(a.prototype),c=new A(n||[]);return o(i,"_invoke",{value:k(t,r,c)}),i}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var p="suspendedStart",h="suspendedYield",d="executing",y="completed",m={};function v(){}function g(){}function b(){}var w={};u(w,i,(function(){return this}));var E=Object.getPrototypeOf,S=E&&E(E(P([])));S&&S!==r&&n.call(S,i)&&(w=S);var x=b.prototype=v.prototype=Object.create(w);function L(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,a,i,c){var l=f(t[o],t,a);if("throw"!==l.type){var u=l.arg,s=u.value;return s&&"object"==Pt(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,i,c)}),(function(t){r("throw",t,i,c)})):e.resolve(s).then((function(t){u.value=t,i(u)}),(function(t){return r("throw",t,i,c)}))}c(l.arg)}var a;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return a=a?a.then(o,o):o()}})}function k(e,r,n){var o=p;return function(a,i){if(o===d)throw new Error("Generator is already running");if(o===y){if("throw"===a)throw i;return{value:t,done:!0}}for(n.method=a,n.arg=i;;){var c=n.delegate;if(c){var l=C(c,n);if(l){if(l===m)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===p)throw o=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var u=f(e,r,n);if("normal"===u.type){if(o=n.done?y:h,u.arg===m)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(o=y,n.method="throw",n.arg=u.arg)}}}function C(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,C(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),m;var a=f(o,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,m;var i=a.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,m):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,m)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function N(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function A(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function P(e){if(e||""===e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(Pt(e)+" is not iterable")}return g.prototype=b,o(x,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:g,configurable:!0}),g.displayName=u(b,l,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===g||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,u(t,l,"GeneratorFunction")),t.prototype=Object.create(x),t},e.awrap=function(t){return{__await:t}},L(j.prototype),u(j.prototype,c,(function(){return this})),e.AsyncIterator=j,e.async=function(t,r,n,o,a){void 0===a&&(a=Promise);var i=new j(s(t,r,n,o),a);return e.isGeneratorFunction(r)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},L(x),u(x,l,"Generator"),u(x,i,(function(){return this})),u(x,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=P,A.prototype={constructor:A,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(N),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return c.type="throw",c.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],c=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var l=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(l&&u){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=t,i.arg=e,a?(this.method="next",this.next=a.finallyLoc,m):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),m},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),N(r),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;N(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:P(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),m}},e}var Tt=function(t,e,r,n){return new(r||(r=Promise))((function(o,a){function i(t){try{l(n.next(t))}catch(t){a(t)}}function c(t){try{l(n.throw(t))}catch(t){a(t)}}function l(t){var e;t.done?o(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(i,c)}l((n=n.apply(t,e||[])).next())}))};function _t(t){var e={method:xt.k.GET,headers:{"Content-type":"application/json"}};t.method&&(e=Object.assign(Object.assign({},e),{method:t.method})),t.init&&(e=Object.assign(Object.assign({},e),t.init));var r,n,o,a=t.url;return e.method===xt.k.GET&&t.data?(r=a,n=t.data,o=r,Object.keys(n).forEach((function(t,e){n[t]&&(o+=0===e?"?":"&",o+="".concat(t,"=").concat(encodeURIComponent(n[t])))})),a=o):t.data&&(e=Object.assign(Object.assign({},e),{body:JSON.stringify(t.data)})),{init:e,url:a}}var Ut={asyncFetch:function(t){return Tt(this,void 0,void 0,It().mark((function e(){var r,n,o;return It().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=_t(t),e.next=3,fetch(r.url,r.init);case 3:if((n=e.sent).ok){e.next=9;break}return e.next=7,n.json();case 7:throw o=e.sent,new At(o);case 9:if(204!==n.status){e.next=11;break}return e.abrupt("return");case 11:return e.next=13,n.json();case 13:return e.abrupt("return",e.sent);case 14:case"end":return e.stop()}}),e)})))},asyncFetchPlain:function(t){return Tt(this,void 0,void 0,It().mark((function e(){var r,n;return It().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=_t(t),e.next=3,fetch(r.url,r.init);case 3:if((n=e.sent).ok){e.next=6;break}return e.abrupt("return");case 6:return e.next=8,n.text();case 8:return e.abrupt("return",e.sent);case 9:case"end":return e.stop()}}),e)})))},fetch:function(t){function e(e){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}((function(t){var e=_t(t);return fetch(e.url,e.init).then((function(t){if(204!==t.status)return t.json()})).then((function(e){return t.success&&t.success(e),e})).catch((function(e){return t.error&&t.error(),e})).finally((function(){t.always&&t.always()}))}))};function Ft(t){return Ft="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ft(t)}function Gt(){Gt=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var a=e&&e.prototype instanceof v?e:v,i=Object.create(a.prototype),c=new A(n||[]);return o(i,"_invoke",{value:k(t,r,c)}),i}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var p="suspendedStart",h="suspendedYield",d="executing",y="completed",m={};function v(){}function g(){}function b(){}var w={};u(w,i,(function(){return this}));var E=Object.getPrototypeOf,S=E&&E(E(P([])));S&&S!==r&&n.call(S,i)&&(w=S);var x=b.prototype=v.prototype=Object.create(w);function L(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,a,i,c){var l=f(t[o],t,a);if("throw"!==l.type){var u=l.arg,s=u.value;return s&&"object"==Ft(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,i,c)}),(function(t){r("throw",t,i,c)})):e.resolve(s).then((function(t){u.value=t,i(u)}),(function(t){return r("throw",t,i,c)}))}c(l.arg)}var a;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return a=a?a.then(o,o):o()}})}function k(e,r,n){var o=p;return function(a,i){if(o===d)throw new Error("Generator is already running");if(o===y){if("throw"===a)throw i;return{value:t,done:!0}}for(n.method=a,n.arg=i;;){var c=n.delegate;if(c){var l=C(c,n);if(l){if(l===m)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===p)throw o=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var u=f(e,r,n);if("normal"===u.type){if(o=n.done?y:h,u.arg===m)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(o=y,n.method="throw",n.arg=u.arg)}}}function C(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,C(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),m;var a=f(o,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,m;var i=a.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,m):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,m)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function N(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function A(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function P(e){if(e||""===e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(Ft(e)+" is not iterable")}return g.prototype=b,o(x,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:g,configurable:!0}),g.displayName=u(b,l,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===g||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,u(t,l,"GeneratorFunction")),t.prototype=Object.create(x),t},e.awrap=function(t){return{__await:t}},L(j.prototype),u(j.prototype,c,(function(){return this})),e.AsyncIterator=j,e.async=function(t,r,n,o,a){void 0===a&&(a=Promise);var i=new j(s(t,r,n,o),a);return e.isGeneratorFunction(r)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},L(x),u(x,l,"Generator"),u(x,i,(function(){return this})),u(x,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=P,A.prototype={constructor:A,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(N),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return c.type="throw",c.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],c=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var l=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(l&&u){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=t,i.arg=e,a?(this.method="next",this.next=a.finallyLoc,m):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),m},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),N(r),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;N(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:P(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),m}},e}var Dt,Rt={search:function(t,e,r,n,o){var a={longitude:e.longitude,latitude:e.latitude};e.query&&(a.query=e.query),Ut.fetch({url:t.searchProspect,data:a,success:r,error:n,always:o})},create:function(t,e){return r=this,n=void 0,o=void 0,a=Gt().mark((function r(){return Gt().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",Ut.asyncFetch({url:t.createProspect,method:xt.k.POST,data:e}));case 1:case"end":return r.stop()}}),r)})),new(o||(o=Promise))((function(t,e){function i(t){try{l(a.next(t))}catch(t){e(t)}}function c(t){try{l(a.throw(t))}catch(t){e(t)}}function l(e){var r;e.done?t(e.value):(r=e.value,r instanceof o?r:new o((function(t){t(r)}))).then(i,c)}l((a=a.apply(r,n||[])).next())}));var r,n,o,a},getLookups:function(t,e){return Ut.asyncFetch({url:t.prospectLookups(e)})}},Mt=r(97395),Kt=function(t,e){if(t.productName!==C.X.Lite)return Promise.reject();var r={email:e.email};return Ut.asyncFetch({url:t.userStatus,data:r})},Yt=function(t,e,r,n,o){var a=t.prospectStatus(e.prospectId);a=Mt._.urlBuilder(a,{email:e.email}),Ut.fetch({url:a,success:r,error:n,always:o})},zt=function(t,e){var r={prospectId:e.prospectId,firstName:"Trial",surname:"User",email:e.email,userType:e.userType,accessPolicy:e.accessPolicy,appLink:null==e?void 0:e.appLink};return Ut.asyncFetch({url:t.createTrial,method:xt.k.POST,data:r})},qt=function(t,e,r){if(t.productName!==C.X.Lite)return Promise.reject();var n={email:r.email,appLink:null==r?void 0:r.appLink};return Ut.asyncFetch({url:t.resendTrialEmail(e),method:xt.k.POST,data:n})},Vt=function(t,e){var r=t.productName===C.X.Auth?t.joinRequest:t.joinRequest(e.customerId),n=t.productName===C.X.Auth?e:{email:e.email};return Ut.asyncFetch({url:r,method:xt.k.POST,data:n})},Bt=function(t,e){return t.productName!==C.X.Lite?Promise.reject():Ut.asyncFetch({url:t.autoJoin,method:xt.k.POST,data:e})};!function(t){t.FourteenDays="trial_14_v1",t.Freemium="freemium_v1"}(Dt||(Dt={}));var $t=function(t){return g.I.isCountryCodeUS(t)||g.I.isCountryCodeUK(t)?Dt.Freemium:Dt.FourteenDays},Ht=r(99504);function Zt(t){return Zt="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},Zt(t)}function Jt(){Jt=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var a=e&&e.prototype instanceof v?e:v,i=Object.create(a.prototype),c=new A(n||[]);return o(i,"_invoke",{value:k(t,r,c)}),i}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var p="suspendedStart",h="suspendedYield",d="executing",y="completed",m={};function v(){}function g(){}function b(){}var w={};u(w,i,(function(){return this}));var E=Object.getPrototypeOf,S=E&&E(E(P([])));S&&S!==r&&n.call(S,i)&&(w=S);var x=b.prototype=v.prototype=Object.create(w);function L(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,a,i,c){var l=f(t[o],t,a);if("throw"!==l.type){var u=l.arg,s=u.value;return s&&"object"==Zt(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,i,c)}),(function(t){r("throw",t,i,c)})):e.resolve(s).then((function(t){u.value=t,i(u)}),(function(t){return r("throw",t,i,c)}))}c(l.arg)}var a;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return a=a?a.then(o,o):o()}})}function k(e,r,n){var o=p;return function(a,i){if(o===d)throw new Error("Generator is already running");if(o===y){if("throw"===a)throw i;return{value:t,done:!0}}for(n.method=a,n.arg=i;;){var c=n.delegate;if(c){var l=C(c,n);if(l){if(l===m)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===p)throw o=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var u=f(e,r,n);if("normal"===u.type){if(o=n.done?y:h,u.arg===m)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(o=y,n.method="throw",n.arg=u.arg)}}}function C(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,C(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),m;var a=f(o,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,m;var i=a.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,m):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,m)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function N(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function A(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function P(e){if(e||""===e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(Zt(e)+" is not iterable")}return g.prototype=b,o(x,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:g,configurable:!0}),g.displayName=u(b,l,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===g||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,u(t,l,"GeneratorFunction")),t.prototype=Object.create(x),t},e.awrap=function(t){return{__await:t}},L(j.prototype),u(j.prototype,c,(function(){return this})),e.AsyncIterator=j,e.async=function(t,r,n,o,a){void 0===a&&(a=Promise);var i=new j(s(t,r,n,o),a);return e.isGeneratorFunction(r)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},L(x),u(x,l,"Generator"),u(x,i,(function(){return this})),u(x,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=P,A.prototype={constructor:A,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(N),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return c.type="throw",c.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],c=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var l=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(l&&u){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=t,i.arg=e,a?(this.method="next",this.next=a.finallyLoc,m):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),m},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),N(r),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;N(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:P(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),m}},e}function Wt(t){var e=Ht.F.getUtmParameters(),r={prospect_id:null==t?void 0:t.prospectId,email:null==t?void 0:t.email,organisation_sub_type:F.getSchoolType(null==t?void 0:t.schoolType),account_name:null==t?void 0:t.schoolName,account_post_code:null==t?void 0:t.schoolPostCode,account_country:null==t?void 0:t.country,province:null==t?void 0:t.province,sync_to_crm:!0,form_type:null==t?void 0:t.form_type,utms:e};return F.removeEmptyKeys(r)}var Xt,Qt={submitFormEvent:function(t,e,r,n){return o=this,a=void 0,i=void 0,c=Jt().mark((function o(){var a,i;return Jt().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,F.getClient({brazeConfig:t.brazeConfig,productName:t.productName,geoLocation:t.geoLocation,version:t.version});case 2:a=o.sent,i=Wt(Object.assign(Object.assign({},r),{form_type:e})),a.openSession(),a.setUser(F.hashedEmail(null==r?void 0:r.email)),a.logEvent({type:F.getProductFormEventType(),data:i}),a.sendData(n);case 8:case"end":return o.stop()}}),o)})),new(i||(i=Promise))((function(t,e){function r(t){try{l(c.next(t))}catch(t){e(t)}}function n(t){try{l(c.throw(t))}catch(t){e(t)}}function l(e){var o;e.done?t(e.value):(o=e.value,o instanceof i?o:new i((function(t){t(o)}))).then(r,n)}l((c=c.apply(o,a||[])).next())}));var o,a,i,c}},te=["Primary","Secondary","K12","Special","TAFE","University"],ee=["Elementary","Middle School","High School","College","Other"],re={au:te,nz:te,uk:["Primary","Secondary","Primary & Secondary","Special","Sixth Form College","FE College","University","Other"],us:ee};function ne(t){return ne="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ne(t)}function oe(){oe=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var a=e&&e.prototype instanceof v?e:v,i=Object.create(a.prototype),c=new A(n||[]);return o(i,"_invoke",{value:k(t,r,c)}),i}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var p="suspendedStart",h="suspendedYield",d="executing",y="completed",m={};function v(){}function g(){}function b(){}var w={};u(w,i,(function(){return this}));var E=Object.getPrototypeOf,S=E&&E(E(P([])));S&&S!==r&&n.call(S,i)&&(w=S);var x=b.prototype=v.prototype=Object.create(w);function L(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,a,i,c){var l=f(t[o],t,a);if("throw"!==l.type){var u=l.arg,s=u.value;return s&&"object"==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===y){if("throw"===a)throw i;return{value:t,done:!0}}for(n.method=a,n.arg=i;;){var c=n.delegate;if(c){var l=C(c,n);if(l){if(l===m)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===p)throw o=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var u=f(e,r,n);if("normal"===u.type){if(o=n.done?y:h,u.arg===m)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(o=y,n.method="throw",n.arg=u.arg)}}}function C(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,C(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),m;var a=f(o,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,m;var i=a.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,m):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,m)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function N(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function A(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function P(e){if(e||""===e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(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,m):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),m},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),N(r),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;N(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:P(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),m}},e}function ae(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,a,i,c=[],l=!0,u=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=a.call(r)).done)&&(c.push(n.value),c.length!==e);l=!0);}catch(t){u=!0,o=t}finally{try{if(!l&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(u)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return ie(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ie(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ie(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}!function(t){t.Published="Published",t.Draft="Draft"}(Xt||(Xt={}));var ce=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 le(t,e){return e?"".concat(t," ").concat(e):t}var ue=function(t){return n.createElement("h1",{className:le("text-center mb-2 h4",t.className)},t.children)},se=function(t){return n.createElement("div",{className:le("text-center text-sm px-2 px-lg-4",t.className)},t.children)},fe=function(t){return n.createElement("p",{className:le("",t.className)},t.children)};function pe(t){return pe="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},pe(t)}function he(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==pe(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==pe(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===pe(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function de(t){var e,r=(he(e={},y.Available,t.imageUrls.statusImages.available),he(e,y.Active,t.imageUrls.statusImages.active),he(e,y.Expired,t.imageUrls.statusImages.expired),he(e,y.NotRequired,t.imageUrls.statusImages.notRequired),he(e,y.Unavailable,t.imageUrls.statusImages.unavailable),he(e,y.Unsupported,t.imageUrls.statusImages.unsupported),he(e,y.UserAutoJoinAllowed,t.imageUrls.statusImages.notRequired),he(e,y.UserJoinApprovalRequired,t.imageUrls.statusImages.notRequired),e);return n.createElement("div",{className:"d-flex justify-content-center my-4 px-2 px-lg-4"},n.createElement("img",{src:r[t.trialStatus],className:"w-100 h-auto"}))}var ye=r(69624);function me(t){var e=(null==t?void 0:t.previousStepIds)&&"find-school"===t.previousStepIds[t.previousStepIds.length-1],r=(null==t?void 0:t.schoolName)||"Your school";return n.createElement(se,{className:"mb-3"},e?n.createElement(n.Fragment,null,n.createElement(ue,null,r,n.createElement("br",null),"already has ClickView 🎉"),n.createElement(fe,{className:"mt-3"},"If your school has SSO ",n.createElement("a",{href:ye.F.getLoginLink({email:t.email,customerId:t.customerId}),className:"info-link"},"click here to sign in.")),n.createElement(fe,null,"Otherwise please contact your school admin for access.")):n.createElement(n.Fragment,null,n.createElement(ue,null,"Good News!"),n.createElement(fe,null,"An account already exists for:",n.createElement("br",null)," ",n.createElement("strong",null,t.email)),n.createElement(fe,null,n.createElement("a",{href:ye.F.getLoginLink({email:t.email}),className:"btn btn-dark btn-lg w-100"},"Sign into ClickView"))),n.createElement(fe,null,"Need Help? ",n.createElement("a",{href:ye.F.getSupportUrlForGeoLocation(t.geoLocation),className:"info-link",target:"_blank"},"Contact our Help Centre.")))}function ve(t){return ve="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ve(t)}function ge(){ge=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var a=e&&e.prototype instanceof v?e:v,i=Object.create(a.prototype),c=new A(n||[]);return o(i,"_invoke",{value:k(t,r,c)}),i}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var p="suspendedStart",h="suspendedYield",d="executing",y="completed",m={};function v(){}function g(){}function b(){}var w={};u(w,i,(function(){return this}));var E=Object.getPrototypeOf,S=E&&E(E(P([])));S&&S!==r&&n.call(S,i)&&(w=S);var x=b.prototype=v.prototype=Object.create(w);function L(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,a,i,c){var l=f(t[o],t,a);if("throw"!==l.type){var u=l.arg,s=u.value;return s&&"object"==ve(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,i,c)}),(function(t){r("throw",t,i,c)})):e.resolve(s).then((function(t){u.value=t,i(u)}),(function(t){return r("throw",t,i,c)}))}c(l.arg)}var a;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return a=a?a.then(o,o):o()}})}function k(e,r,n){var o=p;return function(a,i){if(o===d)throw new Error("Generator is already running");if(o===y){if("throw"===a)throw i;return{value:t,done:!0}}for(n.method=a,n.arg=i;;){var c=n.delegate;if(c){var l=C(c,n);if(l){if(l===m)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===p)throw o=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var u=f(e,r,n);if("normal"===u.type){if(o=n.done?y:h,u.arg===m)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(o=y,n.method="throw",n.arg=u.arg)}}}function C(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,C(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),m;var a=f(o,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,m;var i=a.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,m):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,m)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function N(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function A(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function P(e){if(e||""===e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(ve(e)+" is not iterable")}return g.prototype=b,o(x,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:g,configurable:!0}),g.displayName=u(b,l,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===g||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,u(t,l,"GeneratorFunction")),t.prototype=Object.create(x),t},e.awrap=function(t){return{__await:t}},L(j.prototype),u(j.prototype,c,(function(){return this})),e.AsyncIterator=j,e.async=function(t,r,n,o,a){void 0===a&&(a=Promise);var i=new j(s(t,r,n,o),a);return e.isGeneratorFunction(r)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},L(x),u(x,l,"Generator"),u(x,i,(function(){return this})),u(x,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=P,A.prototype={constructor:A,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(N),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return c.type="throw",c.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],c=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var l=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(l&&u){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=t,i.arg=e,a?(this.method="next",this.next=a.finallyLoc,m):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),m},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),N(r),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;N(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:P(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),m}},e}function be(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,a,i,c=[],l=!0,u=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=a.call(r)).done)&&(c.push(n.value),c.length!==e);l=!0);}catch(t){u=!0,o=t}finally{try{if(!l&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(u)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return we(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?we(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function we(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var Ee;function Se(t){return Se="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},Se(t)}function xe(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Se(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==Se(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===Se(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Le=(xe(Ee={},y.Available,(function(t){var e=be(n.useState(0),2),r=e[0],o=e[1],a=be(n.useState(!1),2),i=a[0],c=a[1];if(null==t?void 0:t.email)return n.createElement(se,null,n.createElement(ue,null,"Success!"),n.createElement(fe,null,"An email has been sent to ",n.createElement("strong",null,t.email),". Please check your email for further instructions to complete the sign up process."),!!t.userId&&n.createElement(n.Fragment,null,r<1?n.createElement(fe,null,"Didn't receive an email?  ",n.createElement("button",{onClick:function(e){return n=this,a=void 0,i=void 0,l=ge().mark((function n(){return ge().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return null==e||e.preventDefault(),n.prev=1,n.next=4,qt(t.ajaxUrls,t.userId,{email:t.email,appLink:t.pageAppLinkString});case 4:o(r+1),n.next=10;break;case 7:n.prev=7,n.t0=n.catch(1),c(!0);case 10:t.logUserAction({},{actionType:V.Vw.Click,descriptor:V.Yu.ResendEmail});case 11:case"end":return n.stop()}}),n,null,[[1,7]])})),new(i||(i=Promise))((function(t,e){function r(t){try{c(l.next(t))}catch(t){e(t)}}function o(t){try{c(l.throw(t))}catch(t){e(t)}}function c(e){var n;e.done?t(e.value):(n=e.value,n instanceof i?n:new i((function(t){t(n)}))).then(r,o)}c((l=l.apply(n,a||[])).next())}));var n,a,i,l},className:"btn info-link p-0"},"Resend verification email")):"✅ Email has been resent!",i&&n.createElement(fe,{className:"mb-0 text-danger"},"❌ There was a problem resending the email. Please try again later or contact our  ",n.createElement("a",{href:ye.F.getSupportUrlForGeoLocation(t.geoLocation),className:"info-link"},"support"))))})),xe(Ee,y.Active,me),xe(Ee,y.Expired,(function(t){var e=ye.F.getMarketingSalesContactForGeoLocation(t.geoLocation),r=(null==t?void 0:t.previousStepIds)&&"find-school"===t.previousStepIds[t.previousStepIds.length-1],o=(null==t?void 0:t.schoolName)||"Your school";return n.createElement(se,null,n.createElement(ue,null,r?"".concat(o," trial has expired"):"Your trial has expired"),n.createElement(fe,null,"Please contact our ",n.createElement("a",{href:e,className:"info-link",target:"_blank"},"ClickView Sales Team")))})),xe(Ee,y.NotRequired,me),xe(Ee,y.Unavailable,(function(t){var e=ye.F.getMarketingSalesContactForGeoLocation(t.geoLocation);return n.createElement(se,null,n.createElement(ue,null,"Your school no longer",n.createElement("br",null)," has access to ClickView"),n.createElement(fe,null,"Please contact our ",n.createElement("a",{href:e,className:"info-link"},"ClickView Sales Team")," for more information."))})),xe(Ee,y.Unsupported,(function(){return n.createElement(se,null,n.createElement(ue,{className:"px-2 px-lg-4"},"ClickView isn't currently ",n.createElement("br",null)," available for your school"),n.createElement(fe,null,"We're working hard to get ClickView ready for more people."))})),xe(Ee,y.UserAutoJoinAllowed,me),xe(Ee,y.UserJoinApprovalRequired,me),Ee);function je(t){var e=Le[t.trialStatus];return n.createElement(e,Object.assign({},t))}var ke="young-student",Ce={"trial-status":function(t){return n.useEffect((function(){var e={actionType:V.Vw.Create,descriptor:V.Yu.DeadEnd,workflowPhase:V.eu.Discard};t.trialCreated&&(e.descriptor=V.Yu.TrialCreated,e.workflowPhase=V.eu.Complete),t.logUserAction({},e)}),[]),n.createElement(n.Fragment,null,n.createElement(de,{trialStatus:t.trialStatus,imageUrls:t.imageUrls}),n.createElement(je,Object.assign({},t)))},"added-to-braze":function(t){return n.useEffect((function(){t.logUserAction({},{actionType:V.Vw.Create,descriptor:V.Yu.TrialRequested,workflowPhase:V.eu.Complete})}),[]),n.createElement(n.Fragment,null,n.createElement(de,{trialStatus:y.Available,imageUrls:t.imageUrls}),n.createElement(se,{className:"mb-3"},n.createElement(ue,null,"Submitted!"),n.createElement(fe,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=ye.F.getFreeResourcesForGeoLocation(t.geoLocation);return n.useEffect((function(){o.SG.set(ke,!0)}),[]),n.createElement(n.Fragment,null,n.createElement(de,{trialStatus:y.Active,imageUrls:t.imageUrls}),n.createElement(se,{className:"mb-3"},n.createElement(ue,null,"Discover our free content"),n.createElement(fe,null,"Click the button below to explore our videos"),n.createElement("a",{href:e,className:"btn btn-lg btn-dark w-100",target:"_blank"},"Start watching now")))},"requested-access":function(t){return n.createElement(n.Fragment,null,n.createElement(de,{trialStatus:y.Available,imageUrls:t.imageUrls}),n.createElement(se,{className:"mb-3"},n.createElement(ue,null,"You've requested access!"),n.createElement(fe,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 Oe(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,a,i,c=[],l=!0,u=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=a.call(r)).done)&&(c.push(n.value),c.length!==e);l=!0);}catch(t){u=!0,o=t}finally{try{if(!l&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(u)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Ne(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)?Ne(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 Ne(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 Ae(t,e,r){return"".concat(t.padStart(4,"0"),"-").concat(e.padStart(2,"0"),"-").concat(r.padStart(2,"0"))}function Pe(t){return n.createElement(n.Fragment,null,"Have a ClickView account already?",n.createElement("a",{href:t.link,className:"info-link ms-1",target:"_blank",onClick:t.onClick},"Sign in"))}const Ie="gVdYS",Te="Mlp3x";function _e(t){var e=t.idp,r=t.onClick,o=t.last;return n.createElement("button",{className:"btn btn-lg btn-outline-dark w-100 ".concat(o?"":"mb-3"," ").concat(Ie),onClick:function(){return r(e)}},e.logoUrl&&n.createElement("img",{src:e.logoUrl,className:Te}),"Continue with ",e.name)}var Ue=[{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"}],Fe=r(93824);var Ge;function De(t){return De="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},De(t)}function Re(){Re=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var a=e&&e.prototype instanceof v?e:v,i=Object.create(a.prototype),c=new A(n||[]);return o(i,"_invoke",{value:k(t,r,c)}),i}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var p="suspendedStart",h="suspendedYield",d="executing",y="completed",m={};function v(){}function g(){}function b(){}var w={};u(w,i,(function(){return this}));var E=Object.getPrototypeOf,S=E&&E(E(P([])));S&&S!==r&&n.call(S,i)&&(w=S);var x=b.prototype=v.prototype=Object.create(w);function L(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,a,i,c){var l=f(t[o],t,a);if("throw"!==l.type){var u=l.arg,s=u.value;return s&&"object"==De(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,i,c)}),(function(t){r("throw",t,i,c)})):e.resolve(s).then((function(t){u.value=t,i(u)}),(function(t){return r("throw",t,i,c)}))}c(l.arg)}var a;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return a=a?a.then(o,o):o()}})}function k(e,r,n){var o=p;return function(a,i){if(o===d)throw new Error("Generator is already running");if(o===y){if("throw"===a)throw i;return{value:t,done:!0}}for(n.method=a,n.arg=i;;){var c=n.delegate;if(c){var l=C(c,n);if(l){if(l===m)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===p)throw o=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var u=f(e,r,n);if("normal"===u.type){if(o=n.done?y:h,u.arg===m)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(o=y,n.method="throw",n.arg=u.arg)}}}function C(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,C(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),m;var a=f(o,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,m;var i=a.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,m):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,m)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function N(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function A(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function P(e){if(e||""===e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(De(e)+" is not iterable")}return g.prototype=b,o(x,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:g,configurable:!0}),g.displayName=u(b,l,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===g||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,u(t,l,"GeneratorFunction")),t.prototype=Object.create(x),t},e.awrap=function(t){return{__await:t}},L(j.prototype),u(j.prototype,c,(function(){return this})),e.AsyncIterator=j,e.async=function(t,r,n,o,a){void 0===a&&(a=Promise);var i=new j(s(t,r,n,o),a);return e.isGeneratorFunction(r)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},L(x),u(x,l,"Generator"),u(x,i,(function(){return this})),u(x,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=P,A.prototype={constructor:A,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(N),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return c.type="throw",c.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],c=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var l=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(l&&u){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=t,i.arg=e,a?(this.method="next",this.next=a.finallyLoc,m):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),m},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),N(r),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;N(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:P(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),m}},e}function Me(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 Ke(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)?Ke(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 Ke(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 Ye(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==De(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==De(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===De(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var ze=new RegExp(/^[^\s@]+@[^\s@]+\.[^\s@]+$/),qe=(Ye(Ge={},Fe.C.AU,"valerie.frizzle@school.edu.au"),Ye(Ge,Fe.C.UK,"valerie.frizzle@school.gov.uk"),Ye(Ge,Fe.C.US,"valerie.frizzle@school.gov"),Ye(Ge,Fe.C.NZ,"valerie.frizzle@school.nz"),Ge);function Ve(t){return qe[g.I.getCountryCode(t.countryCode)]||qe.us}var Be=[y.Expired,y.NotRequired,y.Unavailable,y.Unsupported,y.Active];function $e(t){var e;switch(null===(e=null==t?void 0:t.body)||void 0===e?void 0:e.type){case"user-type-not-supported":return"Students may not request to join schools.";case"join-request-already-pending":return"Your request is awaiting administrator approval.";case"join-request-already-denied":return"Your request has been denied by an administrator.";default:return"Something went wrong."}}var He=r(12238);function Ze(t){return Ze="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ze(t)}function Je(){Je=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var a=e&&e.prototype instanceof v?e:v,i=Object.create(a.prototype),c=new A(n||[]);return o(i,"_invoke",{value:k(t,r,c)}),i}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var p="suspendedStart",h="suspendedYield",d="executing",y="completed",m={};function v(){}function g(){}function b(){}var w={};u(w,i,(function(){return this}));var E=Object.getPrototypeOf,S=E&&E(E(P([])));S&&S!==r&&n.call(S,i)&&(w=S);var x=b.prototype=v.prototype=Object.create(w);function L(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,a,i,c){var l=f(t[o],t,a);if("throw"!==l.type){var u=l.arg,s=u.value;return s&&"object"==Ze(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,i,c)}),(function(t){r("throw",t,i,c)})):e.resolve(s).then((function(t){u.value=t,i(u)}),(function(t){return r("throw",t,i,c)}))}c(l.arg)}var a;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return a=a?a.then(o,o):o()}})}function k(e,r,n){var o=p;return function(a,i){if(o===d)throw new Error("Generator is already running");if(o===y){if("throw"===a)throw i;return{value:t,done:!0}}for(n.method=a,n.arg=i;;){var c=n.delegate;if(c){var l=C(c,n);if(l){if(l===m)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===p)throw o=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var u=f(e,r,n);if("normal"===u.type){if(o=n.done?y:h,u.arg===m)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(o=y,n.method="throw",n.arg=u.arg)}}}function C(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,C(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),m;var a=f(o,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,m;var i=a.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,m):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,m)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function N(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function A(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function P(e){if(e||""===e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(Ze(e)+" is not iterable")}return g.prototype=b,o(x,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:g,configurable:!0}),g.displayName=u(b,l,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===g||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,u(t,l,"GeneratorFunction")),t.prototype=Object.create(x),t},e.awrap=function(t){return{__await:t}},L(j.prototype),u(j.prototype,c,(function(){return this})),e.AsyncIterator=j,e.async=function(t,r,n,o,a){void 0===a&&(a=Promise);var i=new j(s(t,r,n,o),a);return e.isGeneratorFunction(r)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},L(x),u(x,l,"Generator"),u(x,i,(function(){return this})),u(x,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=P,A.prototype={constructor:A,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(N),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return c.type="throw",c.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],c=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var l=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(l&&u){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=t,i.arg=e,a?(this.method="next",this.next=a.finallyLoc,m):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),m},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),N(r),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;N(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:P(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),m}},e}function We(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function Xe(t){return Xe="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},Xe(t)}function Qe(){Qe=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var a=e&&e.prototype instanceof v?e:v,i=Object.create(a.prototype),c=new A(n||[]);return o(i,"_invoke",{value:k(t,r,c)}),i}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var p="suspendedStart",h="suspendedYield",d="executing",y="completed",m={};function v(){}function g(){}function b(){}var w={};u(w,i,(function(){return this}));var E=Object.getPrototypeOf,S=E&&E(E(P([])));S&&S!==r&&n.call(S,i)&&(w=S);var x=b.prototype=v.prototype=Object.create(w);function L(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,a,i,c){var l=f(t[o],t,a);if("throw"!==l.type){var u=l.arg,s=u.value;return s&&"object"==Xe(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,i,c)}),(function(t){r("throw",t,i,c)})):e.resolve(s).then((function(t){u.value=t,i(u)}),(function(t){return r("throw",t,i,c)}))}c(l.arg)}var a;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return a=a?a.then(o,o):o()}})}function k(e,r,n){var o=p;return function(a,i){if(o===d)throw new Error("Generator is already running");if(o===y){if("throw"===a)throw i;return{value:t,done:!0}}for(n.method=a,n.arg=i;;){var c=n.delegate;if(c){var l=C(c,n);if(l){if(l===m)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===p)throw o=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var u=f(e,r,n);if("normal"===u.type){if(o=n.done?y:h,u.arg===m)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(o=y,n.method="throw",n.arg=u.arg)}}}function C(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,C(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),m;var a=f(o,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,m;var i=a.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,m):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,m)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function N(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function A(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function P(e){if(e||""===e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(Xe(e)+" is not iterable")}return g.prototype=b,o(x,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:g,configurable:!0}),g.displayName=u(b,l,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===g||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,u(t,l,"GeneratorFunction")),t.prototype=Object.create(x),t},e.awrap=function(t){return{__await:t}},L(j.prototype),u(j.prototype,c,(function(){return this})),e.AsyncIterator=j,e.async=function(t,r,n,o,a){void 0===a&&(a=Promise);var i=new j(s(t,r,n,o),a);return e.isGeneratorFunction(r)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},L(x),u(x,l,"Generator"),u(x,i,(function(){return this})),u(x,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=P,A.prototype={constructor:A,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(N),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return c.type="throw",c.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],c=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var l=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(l&&u){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=t,i.arg=e,a?(this.method="next",this.next=a.finallyLoc,m):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),m},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),N(r),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;N(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:P(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),m}},e}var tr=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())}))},er=r(80247);function rr(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 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}}(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 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 or(t){var e=t.filteredSchoolsList,r=t.getSchoolName,o=t.onSchoolSuggestionClick,a=t.selectedIndex;return n.createElement(n.Fragment,null,e.map((function(t,e){return n.createElement(mt.L,{className:"".concat(gt.suggestionItem," ").concat(a-1===e?gt.selected:""),key:t.id,onClick:function(){return o(t)}},r(t)," ",n.createElement("br",null),n.createElement("small",{className:"text-muted"},function(t){var e=[];return t.city&&e.push(t.city.toLowerCase().split(" ").map((function(t){return t.charAt(0).toUpperCase()+t.slice(1)})).join(" ")),t.province&&e.push(t.province),t.postCode&&e.push(t.postCode),e.join(" ")}(t)))})))}function ar(t){return n.createElement("div",{className:"info-link ".concat(gt.suggestionItem," ").concat(gt.noSuggestion," ").concat(t.selected?gt.selected:""),onClick:t.handleNoSuggestion},"Can't find your school?")}function ir(t){var e,r,o=n.useRef(),a=rr(n.useState(!0),2),i=a[0],l=a[1],u=rr(n.useState(t.data.schoolName&&t.data.schoolPostCode?t.data.schoolName+", "+t.data.schoolPostCode:t.data.schoolName?t.data.schoolName:""),2),s=u[0],f=u[1],p=rr(n.useState(),2),h=p[0],d=p[1],y=(0,dt.N)(s,250),m=lt({onSelected:function(t){if(h||t)if(t!==h.length){var e=h[t];e&&k(e)}else O()},itemCount:null!==(e=(null==h?void 0:h.length)+1)&&void 0!==e?e:0}),v=m.selectedIndex,g=m.onKeyDown,b=m.containerRef,w=!!(null===(r=t.data)||void 0===r?void 0:r.prospectId),E=i&&!w,S=!i&&!w&&!(null==h?void 0:h.length),x=(null==h?void 0:h.length)&&!w;function L(e){(t.data.schoolName||t.data.prospectId)&&t.clearStepItemData(),e!==s&&f(e)}function j(e){l(!0);var r={latitude:t.data.latitude,longitude:t.data.longitude};e&&e.length&&(r.query=e),Rt.search(t.ajaxUrls,r,(function(t){return d(t)}),null,(function(){return l(!1)}))}function k(e){f(C(e)),t.setDataProperty("prospectId",e.id),t.setDataProperty("schoolName",e.name),t.setDataProperty("schoolPostCode",e.postCode),t.setDataProperty("schoolType",e.prospectType),t.setDataProperty("province",e.province),t.setDataProperty("city",e.city),t.setDataProperty("country",e.countryCode)}function C(t){return t.name}function O(){t.nextStep({step:"cant-find-school",prospectId:t.data.prospectId,schoolName:s,schoolLocality:t.data.schoolLocality,longitude:t.data.longitude,latitude:t.data.latitude,country:t.data.country,city:t.data.city,province:t.data.province}),t.logUserAction({},{actionType:V.Vw.Click,descriptor:V.Yu.CantFindSchool,workflowPhase:V.eu.Next})}n.useEffect((function(){w||(y.length?!w&&y.length>1&&y===s&&j(y):j())}),[y,w]);var N=x||E||S;return n.createElement("div",{className:"form-group position-relative"},n.createElement(c.w,{value:s,onChange:function(t){return L(t.currentTarget.value)},ref:o,className:"form-control form-control-lg ".concat(N?gt.inputFocused:gt.input),type:"text",autoComplete:"off",placeholder:"Select your school below",disabled:t.disabled,autoFocus:!0,onClickClear:function(){L(""),o.current.focus()},onKeyDown:g}),n.createElement("div",{className:"position-absolute w-100"},n.createElement("div",{className:"".concat(gt.suggestionContainer," ").concat(N?"":"d-none"),ref:b},x?n.createElement(or,{filteredSchoolsList:h,onSchoolSuggestionClick:k,getSchoolName:C,selectedIndex:v}):E&&n.createElement("div",{className:"".concat(gt.suggestionLoading," py-4 d-flex justify-content-center")},n.createElement(er.Z,{animation:"border"})),!E&&(null==h?void 0:h.length)<5&&n.createElement(ar,{selected:v===h.length+1,handleNoSuggestion:O}))))}function cr(t){return cr="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},cr(t)}function lr(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 ur(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)?ur(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 ur(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 sr="R8ZPi",fr="SNEmW",pr="BSfO7";function hr(t){return n.createElement(n.Fragment,null,n.createElement(mt.L,{className:"\n d-flex\n flex-column\n justify-content-between\n h-100\n p-3\n border\n rounded\n rounded-3\n mx-auto\n d-sm-block\n d-none\n ".concat(sr," ").concat(t.selected?fr:""),onClick:function(){return t.onClick(t.type)}},n.createElement("img",{src:t.imageSrc,className:"rounded-top mx-auto pb-2"}),n.createElement("div",{className:"py-2"},n.createElement("span",{className:"h4"},t.buttonText))),n.createElement(mt.L,{className:"btn btn-lg btn-outline-dark w-100 d-sm-none d-block mx-auto ".concat(pr),onClick:function(){return t.onClick(t.type)}},t.buttonText))}var dr={"select-type":function(t){function e(e){t.logUserAction({userType:e},{actionType:V.Vw.Click,workflowPhase:V.eu.Next,descriptor:e===v.Staff?V.Yu.Educator:V.Yu.Student}),e!==v.Staff?t.nextStep({step:"enter-age",userType:e}):t.nextStep({step:"enter-email",userType:e})}return n.createElement("div",{className:"text-center"},n.createElement("h1",{className:"h4"},"Access educational videos at your fingertips"),n.createElement("p",{className:"mb-3"},"Let's get you set up so you can access ClickView."),n.createElement("div",{className:"row"},n.createElement("div",{className:"col-lg-6 mb-3"},n.createElement(hr,{type:v.Staff,buttonText:"I'm an educator",imageSrc:t.imageUrls.educator,onClick:e,selected:t.userType===v.Staff})),n.createElement("div",{className:"col-lg-6 mb-3"},n.createElement(hr,{type:v.Learner,buttonText:"I'm a student",imageSrc:t.imageUrls.student,onClick:e,selected:t.userType===v.Learner}))))},"enter-email":function(t){var e,r,o,a,i=Me(n.useState(!1),2),l=i[0],u=i[1],s=Me(n.useState((null==t?void 0:t.email)||""),2),f=s[0],p=s[1],h=Me(n.useState(),2),d=h[0],y=h[1],w=(o=t.geoLocation,a=ye.F.getMarketingUrlForGeoLocation(o),"nz"===(null==o?void 0:o.countryCode)?a+"/contact-us/":a+"/contact-us/technical/");function E(e){null==e||e.preventDefault(),function(){var e,r,n,o;e=this,r=void 0,n=void 0,o=Re().mark((function e(){var r;return Re().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(f.length?ze.test(f)||(y("Please use your school email address."),0):(y("Please enter your school email address."),0)){e.next=2;break}return e.abrupt("return");case 2:return u(!0),y(""),e.prev=4,e.next=7,Kt(t.ajaxUrls,{email:f});case 7:r=e.sent,e.next=14;break;case 10:return e.prev=10,e.t0=e.catch(4),y("Something went wrong! Please try again later."),e.abrupt("return");case 14:if(u(!1),r.status!==m.InvalidEmail){e.next=18;break}return y("Please use your school email address."),e.abrupt("return");case 18:if(t.logUserAction({},{actionType:V.Vw.Click,workflowPhase:V.eu.Next,descriptor:V.Yu.EnterEmail}),!Be.includes(r.status)){e.next=22;break}return t.complete({completionStep:"trial-status",email:f,trialStatus:r.status,trialCreated:!1}),e.abrupt("return");case 22:t.nextStep({step:"find-school",email:f});case 23:case"end":return e.stop()}}),e,null,[[4,10]])})),new(n||(n=Promise))((function(t,a){function i(t){try{l(o.next(t))}catch(t){a(t)}}function c(t){try{l(o.throw(t))}catch(t){a(t)}}function l(e){var r;e.done?t(e.value):(r=e.value,r instanceof n?r:new n((function(t){t(r)}))).then(i,c)}l((o=o.apply(e,r||[])).next())}))}()}function S(t){var e=window.location.pathname+window.location.search;window.location.href=t.url+"&redirectUrl="+encodeURIComponent(e)}var x=!1;return t.userType===v.Staff&&(g.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)),n.createElement(n.Fragment,null,n.createElement("div",{className:"text-center"},n.createElement("h1",{className:"h4"},"Let's set up your account"),n.createElement("p",null,"Enter your school email address")),n.createElement("form",{onSubmit:E,noValidate:!0},n.createElement("div",{className:"form-group mb-3"},n.createElement(c.w,{value:f,onChange:function(t){t.preventDefault(),p(t.target.value),y("")},name:"email-input",id:"email-input",type:"email",className:"form-control form-control-lg ".concat(d?"is-invalid":""),placeholder:Ve(t.geoLocation),autoComplete:"false",autoCorrect:"false",autoFocus:!0,onClickClear:function(){return p("")}}),d&&n.createElement(n.Fragment,null,n.createElement("div",{className:"invalid-feedback d-block"},d),n.createElement("small",null,"Having an issue with your email?",n.createElement("a",{href:w,className:"info-link ps-1",target:"_blank",onClick:function(){t.logUserAction({},{actionType:V.Vw.Click,descriptor:V.Yu.ContactUs})}},"Contact our team")))),n.createElement(b.m,{showSpinner:l,variant:"dark",className:"btn-lg mb-3 w-100",disabled:l,onClick:E},"Continue")),x&&n.createElement("div",{className:"mt-n3"},n.createElement("div",{className:"my-3 border-bottom position-relative ".concat("bGwO5")}),Ue.map((function(t,e){return n.createElement(_e,{onClick:S,idp:t,key:e})}))),n.createElement("div",{className:"text-center"},n.createElement(Pe,{link:ye.F.getLoginLink(),onClick:function(){t.logUserAction({},{actionType:V.Vw.Click,descriptor:V.Yu.SignIn})}})))},"find-school":function(t){var e,r,o=t.email,a=t.userType,i=lr(n.useState({schoolLocality:t.schoolLocality,country:t.country,longitude:t.longitude,latitude:t.latitude,city:t.city,province:t.province}),2),c=i[0],l=i[1],u=lr(n.useState(),2),s=u[0],f=u[1],p=lr(n.useState(),2),h=p[0],d=p[1],m=lr(n.useState(!1),2),g=m[0],w=m[1],E=lr(n.useState(!1),2),S=E[0],x=E[1],L=lr(n.useState(!1),2),j=L[0],k=L[1],O=function(t){var e=t.loading,r=t.canSubmitForm,n=t.setSubmissionError,o=t.prospectStatus,a=t.userType,i=t.logStepEvent,c=t.logUserAction,l=t.nextStep,u=t.data,s=t.productName,f=t.ajaxUrls,p=t.complete,h=t.setLoadingState,d=t.email,m=t.pageAppLinkString,g=t.setProperty,b=t.brazeConfig,w=t.geoLocation,E=t.version;function S(){return tr(this,void 0,void 0,Qe().mark((function t(){return Qe().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,Bt(f,{prospectId:u.prospectId,email:d});case 3:c({},{actionType:V.Vw.Click,descriptor:V.Yu.AutoJoin}),p(Object.assign({completionStep:"trial-status",trialCreated:!0,trialStatus:y.Available},u)),t.next=12;break;case 7:return t.prev=7,t.t0=t.catch(0),n("Something went wrong! Please try again later."),h(!1),t.abrupt("return");case 12:case"end":return t.stop()}}),t,null,[[0,7]])})))}function x(){var t;return tr(this,void 0,void 0,Qe().mark((function e(){var r,n;return Qe().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=void 0,!(null==u?void 0:u.prospectId)||o!==y.NotRequired){e.next=6;break}return e.next=4,Rt.getLookups(f,u.prospectId);case 4:n=e.sent,r=null===(t=n.find((function(t){return t.type===He.C.MasterId})))||void 0===t?void 0:t.externalId;case 6:p(Object.assign({completionStep:"trial-status",trialStatus:o,trialCreated:!1,customerId:r},u)),i();case 8:case"end":return e.stop()}}),e)})))}function L(){return tr(this,void 0,void 0,Qe().mark((function t(){return Qe().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Qt.submitFormEvent({brazeConfig:b,productName:s,geoLocation:w,version:E},"trial-sign-up",Object.assign(Object.assign({},u),{email:d,province:F.parseProvince(u.province)}));case 2:case"end":return t.stop()}}),t)})))}function j(){var t;return tr(this,void 0,void 0,Qe().mark((function e(){var r;return Qe().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return h(!0),e.prev=1,e.next=4,zt(f,{userType:a,email:d,prospectId:null==u?void 0:u.prospectId,appLink:m,accessPolicy:$t(u.country)});case 4:r=e.sent,e.next=12;break;case 7:return e.prev=7,e.t0=e.catch(1),n("Something went wrong! Please try again later."),h(!1),e.abrupt("return");case 12:o===y.UserAutoJoinAllowed&&c({},{actionType:V.Vw.Click,descriptor:V.Yu.AutoJoin}),g("userId",r.id),p(Object.assign({completionStep:"trial-status",userId:r.id,trialCreated:!0,trialStatus:y.Available,customerId:null===(t=r.data)||void 0===t?void 0:t.customerId},u)),L(),i();case 17:case"end":return e.stop()}}),e,null,[[1,7]])})))}return function(){return tr(this,void 0,void 0,Qe().mark((function t(){return Qe().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!e){t.next=2;break}return t.abrupt("return");case 2:if(r()){t.next=5;break}return n("Something went wrong! Please try again later."),t.abrupt("return");case 5:if(a!==v.Staff){t.next=14;break}if(o!==y.Unsupported){t.next=8;break}return t.abrupt("return",(l(Object.assign({step:"add-to-braze",trialStatus:o},u)),void i()));case 8:if(o!==y.UserJoinApprovalRequired){t.next=10;break}return t.abrupt("return",(l(Object.assign({step:"request-access"},u)),void i()));case 10:if(o!==y.UserAutoJoinAllowed||s!==C.X.Lite){t.next=14;break}return t.next=13,S();case 13:case 17:case 20:return t.abrupt("return",t.sent);case 14:if(o===y.Active||o===y.Available||o===y.UserAutoJoinAllowed&&s===C.X.Auth){t.next=18;break}return t.next=17,x();case 18:return t.next=20,j();case 21:case"end":return t.stop()}}),t)})))}}(Object.assign(Object.assign({},t),{prospectStatus:s,loading:g,data:c,canSubmitForm:N,setSubmissionError:d,logStepEvent:function(){var e={actionType:V.Vw.Click,descriptor:V.Yu.FindSchool,workflowPhase:V.eu.Next};t.logUserAction(c||{},e)},setLoadingState:function(t){x(t),k(t),w(t)},setProperty:A}));function N(){if(!c||!o||!a)return!1;var t=c.prospectId;return!!(o&&a&&t)}function A(e,r){"prospectId"===e&&r&&(w(!0),Yt(t.ajaxUrls,{prospectId:r.toString(),email:t.email},(function(t){f(t.status)}),(function(){console.log("error")}),(function(){w(!1)}))),l((function(t){return Object.assign(Object.assign({},t),function(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==cr(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==cr(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===cr(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}({},e,r))}))}function P(){A("prospectId",void 0),A("schoolName",""),A("schoolPostCode",void 0),d(void 0)}return n.createElement(n.Fragment,null,n.createElement("div",{className:"text-center"},n.createElement("h1",{className:"h4"},"Next, let's find your school"),n.createElement("p",null,"au"===(null==(r=null===(e=t.geoLocation)||void 0===e?void 0:e.countryCode)?void 0:r.toLowerCase())?"Enter your school postcode or suburb":"Enter your school postcode or city")),n.createElement(St,{data:c,setDataProperty:A,clearStepGroupData:function(){A("schoolLocality",void 0),l((function(t){return Object.assign(Object.assign({},t),{longitude:undefined,latitude:undefined})})),A("city",void 0),A("province",void 0),A("country",void 0),P(),d(void 0)},disabled:S,geoLocation:t.geoLocation,labelClassName:"d-none",logUserAction:t.logUserAction,googleMapsApiKey:t.googleMapsApiKey,autoFocus:!0}),!!(c&&c.schoolLocality&&c.longitude&&c.latitude)&&n.createElement(ir,{data:c,setDataProperty:A,clearStepItemData:P,nextStep:t.nextStep,currentStepId:t.currentStepId,disabled:j,logUserAction:t.logUserAction,ajaxUrls:t.ajaxUrls}),h&&n.createElement("p",{className:"text-danger mb-2"},h),N()&&n.createElement(b.m,{className:"btn-lg w-100",variant:"dark",onClick:O,showSpinner:S||j||g,disabled:S||j||g},"Get started"))},"cant-find-school":function(t){var e,r,o,a=ae(n.useState({prospectId:t.prospectId,schoolName:t.schoolName,schoolType:t.schoolType,schoolLocality:t.schoolLocality,country:t.country,province:t.province,city:t.city,longitude:t.longitude,latitude:t.latitude}),2),i=a[0],c=a[1],l=ae(n.useState(),2),u=l[0],s=l[1],f=ae(n.useState(!1),2),p=f[0],h=f[1],d=(r=i.country||(null===(e=t.geoLocation)||void 0===e?void 0:e.countryCode),o=g.I.getCountryCode(r),re[o]||ee);function m(){var t=i.schoolName,e=i.schoolType,r=i.country;return!!(t&&e&&r)}function v(t,e){c((function(r){return Object.assign(Object.assign({},r),function(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==ne(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==ne(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===ne(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}({},t,e))}))}function w(){return ce(this,void 0,void 0,oe().mark((function e(){var r,n,o,a,c;return oe().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.email,n=t.brazeConfig,o=t.productName,a=t.geoLocation,c=t.version,e.next=3,Qt.submitFormEvent({brazeConfig:n,productName:o,geoLocation:a,version:c},"trial-sign-up",Object.assign(Object.assign({},i),{email:r}));case 3:case"end":return e.stop()}}),e)})))}return n.createElement(n.Fragment,null,n.createElement("div",{className:"text-center"},n.createElement("h1",{className:"h4"},"Tell us more about yourself"),n.createElement("p",null,"Please enter your school details.")),n.createElement("div",{className:"form-group"},n.createElement("label",{className:"d-block",htmlFor:"school-name-input"},"Name of school"),n.createElement("input",{type:"text",value:(null==i?void 0:i.schoolName)||"",onChange:function(t){v("schoolName",t.target.value)},id:"school-name-input",className:"form-control form-control-lg",autoComplete:"off",placeholder:"Enter name of school",autoFocus:!0})),n.createElement("div",{className:"form-group"},n.createElement("label",{className:"d-block",htmlFor:"school-type-select"},"Type of school"),n.createElement("select",{id:"school-type-select",className:"form-control form-control-lg ".concat(i.schoolType?"":"text-muted"),autoComplete:"off",value:i.schoolType||"none",onChange:function(t){v("schoolType",t.target.value)}},n.createElement("option",{value:"none",className:"text-muted",disabled:!0},"Select type of school"),d.map((function(t){return n.createElement("option",{value:t,key:t,className:"text-dark"},t)})))),n.createElement(St,{data:i,setDataProperty:v,clearStepGroupData:function(){v("schoolLocality",void 0),c((function(t){return Object.assign(Object.assign({},t),{longitude:undefined,latitude:undefined})})),v("city",void 0),v("province",void 0),v("country",void 0),s("")},disabled:!1,labelClassName:"d-block",geoLocation:t.geoLocation,logUserAction:t.logUserAction,googleMapsApiKey:t.googleMapsApiKey,autoFocus:!1}),u&&n.createElement("div",{className:"text-danger mb-3"},u),m()&&n.createElement(b.m,{className:"btn-lg w-100",variant:"dark",onClick:function(e){var r;return ce(this,void 0,void 0,oe().mark((function n(){var o,a,c;return oe().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(e.preventDefault(),m()){n.next=3;break}return n.abrupt("return");case 3:return t.logUserAction(i,{actionType:V.Vw.Click,workflowPhase:V.eu.Next,descriptor:V.Yu.CantFindSchool}),h(!0),n.prev=5,n.next=8,Rt.create(t.ajaxUrls,{name:i.schoolName,status:Xt.Draft,countryCode:i.country,prospectType:i.schoolType,city:i.city,postCode:i.schoolPostCode,province:F.parseProvince(i.province)});case 8:if((o=n.sent).id){n.next=13;break}return h(!1),s("Error. Something went wrong."),n.abrupt("return");case 13:n.next=20;break;case 15:return n.prev=15,n.t0=n.catch(5),h(!1),s("Error. Something went wrong."),n.abrupt("return");case 20:return n.prev=20,n.next=23,zt(t.ajaxUrls,{userType:t.userType,email:t.email,prospectId:o.id,appLink:t.pageAppLinkString,accessPolicy:$t(i.country)});case 23:a=n.sent,t.complete({completionStep:"trial-status",email:t.email,userId:a.id,prospectId:o.id,schoolName:i.schoolName,schoolLocality:i.schoolLocality,country:i.country,schoolType:i.schoolType,city:i.city,schoolPostCode:i.schoolPostCode,latitude:i.latitude,longitude:i.longitude,province:i.province,trialStatus:y.Available,trialCreated:!0,customerId:null===(r=a.data)||void 0===r?void 0:r.customerId}),w(),n.next=38;break;case 28:if(n.prev=28,n.t1=n.catch(20),n.t1.body){n.next=34;break}return h(!1),s("Error. Something went wrong."),n.abrupt("return");case 34:if(400!==(c=n.t1).body.status||"trial-not-available"!==c.body.type){n.next=38;break}return t.nextStep(Object.assign(Object.assign({step:"add-to-braze"},i),{prospectId:o.id,trialStatus:y.Unavailable})),n.abrupt("return");case 38:case"end":return n.stop()}}),n,null,[[5,15],[20,28]])})))},showSpinner:p,disabled:p},"Get started"))},completed:function(t){var e=Ce[t.completionStep];return n.createElement("div",{className:"d-flex justify-content-center flex-column mx-auto px-2"},n.createElement(e,Object.assign({},t)))},"add-to-braze":function(t){var e,r=R(n.useState(!1),2),o=r[0],a=r[1],c=R(n.useState({}),2),l=c[0],u=c[1];function s(e){var r=q(e.fullname),n=r.firstName,o=r.surname,a={prospect_id:null==t?void 0:t.prospectId,email:null==t?void 0:t.email,organisation_sub_type:F.getSchoolType(null==t?void 0:t.schoolType),account_name:null==t?void 0:t.schoolName,account_post_code:null==t?void 0:t.schoolPostCode,account_country:null==t?void 0:t.country,province:null==t?void 0:t.province,first_name:n,last_name:o,job_title:e.jobTitle,sync_to_crm:!0,event_topic:F.getEventTopic()};return F.removeEmptyKeys(a)}function f(){t.complete({completionStep:"added-to-braze",trialCreated:!1,trialStatus:null})}return n.useEffect((function(){t.userType===v.Learner&&t.complete({completionStep:"trial-status",trialCreated:!1,trialStatus:y.Unsupported})}),[]),n.createElement(S,{errors:l,loading:o,geoLocation:t.geoLocation,country:t.country||(null===(e=t.geoLocation)||void 0===e?void 0:e.countryCode),logUserAction:t.logUserAction,handleSubmitForm:function(e){var r,n;(function(t){var e=t.fullname,r=t.jobTitle,n=t.phone,o=q(e),a=o.firstName,i=o.surname,c={};return a&&i||(c.fullname="Please enter your full name."),(Y.test(a)||Y.test(i))&&(c.fullname="Please enter your full name."),e.length>K&&(c.fullname="Full name cannot exceed max length of ".concat(K," characters.")),(null==r?void 0:r.length)||(c.jobTitle="Please enter your job title."),Y.test(r)&&(c.jobTitle="Please enter a valid job title."),r.length>K&&(c.jobTitle="Job Title cannot exceed max length of ".concat(K," characters.")),(null==n?void 0:n.length)||(c.phone="Please enter your phone number."),!Y.test(n)&&z.test(n)||(c.phone="Please enter a valid phone number."),u(c),!Object.keys(c).length})(e)&&((null===(r=e.jobTitle)||void 0===r?void 0:r.toLowerCase().includes("student"))||(null===(n=e.jobTitle)||void 0===n?void 0:n.toLowerCase().includes("parent"))?f():function(e){var r,n,c,p;r=this,n=void 0,c=void 0,p=D().mark((function r(){var n,c,p,h,d,y,m;return D().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(!o){r.next=2;break}return r.abrupt("return");case 2:if(t.userType!==v.Learner){r.next=5;break}return u(Object.assign(Object.assign({},l),{submission:"Something went wrong! Please try again later."})),r.abrupt("return");case 5:return t.logUserAction({},{actionType:i.Vw.Click,workflowPhase:i.eu.Next,descriptor:i.Yu.AddToBraze}),a(!0),n=s(e),c=t.geoLocation.isFallback?{countryCode:t.country||t.geoLocation.countryCode}:t.geoLocation,r.next=11,F.getClient({brazeConfig:t.brazeConfig,geoLocation:c,productName:t.productName,version:t.version});case 11:p=r.sent,h=q(e.fullname),d=h.firstName,y=h.surname,m={prospect_id:null==t?void 0:t.prospectId,organisation_sub_type:F.getSchoolType(null==t?void 0:t.schoolType),account_name:null==t?void 0:t.schoolName,account_address:{country_code:null==t?void 0:t.country,province:F.parseProvince((null==t?void 0:t.province)||"")},job_title:e.jobTitle,sync_to_crm:!0},m=F.removeEmptyKeys(m);try{p.setUser(F.hashedEmail(null==t?void 0:t.email)),p.setUserFirstName(d),p.setUserLastName(y),p.setUserPhone(e.phone),p.setUserEmail(null==t?void 0:t.email),p.openSession(),p.bulkSetCustomUserAttributes(m),p.logEvent({type:F.getCustomEventType(),data:n}),p.sendData((function(t){u(t?{}:Object.assign(Object.assign({},l),{submission:"Something went wrong! Please try again later."})),a(!1)}))}catch(t){u(Object.assign(Object.assign({},l),{submission:"Something went wrong! Please try again later."}))}Object.keys(l).length||f();case 17:case"end":return r.stop()}}),r)})),new(c||(c=Promise))((function(t,e){function o(t){try{i(p.next(t))}catch(t){e(t)}}function a(t){try{i(p.throw(t))}catch(t){e(t)}}function i(e){var r;e.done?t(e.value):(r=e.value,r instanceof c?r:new c((function(t){t(r)}))).then(o,a)}i((p=p.apply(r,n||[])).next())}))}(e))},removeErrorForKey:function(t){if(Object.keys(l).length&&l[t]){var e=Object.assign({},l);delete e[t],u(e)}}})},"enter-age":function(t){var e=Oe(n.useState(""),2),r=e[0],o=e[1],a=Oe(n.useState(""),2),i=a[0],c=a[1],l=Oe(n.useState(""),2),u=l[0],s=l[1],f=Oe(n.useState(null),2),p=f[0],h=f[1];var d=(new Date).getFullYear(),y="mx-2 d-inline-block text-start",m="form-control form-control-lg ".concat(p?"is-invalid":""),v="order-0",b="order-3",w=g.I.isCountryCodeUS(t.geoLocation.countryCode);return w&&(v="order-3",b="order-0"),n.createElement("form",{className:"text-center",onSubmit:function(e){if(e.preventDefault(),r&&i&&u?function(t,e,r){var n=new Date(Ae(t,e,r));return!isNaN(+n)}(u,i,r)?+u>d?(h("Please enter a date in the past"),0):!(+u<d-120&&(h("Please enter a realistic date of birth"),1)):(h("Please enter a valid date"),0):(h("Please enter your date of birth"),0)){var n=new Date(Ae(u,i,r)),o=d-13,a=new Date;a.setFullYear(o),n>a?t.complete({completionStep:"young-student",trialCreated:!1,trialStatus:null}):t.nextStep({step:"enter-email",userType:t.userType})}},noValidate:!0},n.createElement("h1",{className:"h4"},"Tell us a little about yourself"),n.createElement("p",null,"Please enter your date of birth"),n.createElement("div",{className:"my-4"},n.createElement("div",{className:"d-flex justify-content-center"},n.createElement("div",{className:"".concat(y," ").concat(v)},n.createElement("label",{className:"mb-0",htmlFor:"day"},"Day"),n.createElement("input",{id:"day",type:"number",className:"".concat(m," ").concat("e0Dbj"),min:"1",max:"31",placeholder:"DD",value:r,onChange:function(t){o(t.target.value),h(null)},autoFocus:!w,tabIndex:w?2:1})),n.createElement("span",{className:"h1 fw-normal mt-3 mb-0 order-1 ".concat(p?"text-danger":"")},"/"),n.createElement("div",{className:"".concat(y," ").concat(b)},n.createElement("label",{className:"mb-0",htmlFor:"month"},"Month"),n.createElement("input",{id:"month",type:"number",className:"".concat(m," ").concat("zLcQr"),min:"1",max:"12",placeholder:"MM",value:i,onChange:function(t){c(t.target.value),h(null)},autoFocus:w,tabIndex:w?1:2})),n.createElement("span",{className:"h1 fw-normal mt-3 mb-0 order-4 ".concat(p?"text-danger":"")},"/"),n.createElement("div",{className:"".concat(y," order-5")},n.createElement("label",{className:"mb-0",htmlFor:"year"},"Year"),n.createElement("input",{id:"year",type:"number",className:"".concat(m," ").concat("XiXPP"),min:d-120,max:d,placeholder:"YYYY",value:u,onChange:function(t){s(t.target.value),h(null)},tabIndex:3}))),!!p&&n.createElement("div",{className:"invalid-feedback d-block"},p)),n.createElement("button",{type:"submit",className:"btn btn-lg btn-dark w-100"},"Continue"))},"request-access":function(t){var e,r,o=(e=n.useState(null),r=2,function(t){if(Array.isArray(t))return t}(e)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,a,i,c=[],l=!0,u=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=a.call(r)).done)&&(c.push(n.value),c.length!==e);l=!0);}catch(t){u=!0,o=t}finally{try{if(!l&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(u)throw o}}return c}}(e,r)||function(t,e){if(t){if("string"==typeof t)return We(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?We(t,e):void 0}}(e,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),a=o[0],i=o[1];return n.createElement(n.Fragment,null,n.createElement(de,{trialStatus:y.UserJoinApprovalRequired,imageUrls:t.imageUrls}),n.createElement(se,{className:"mb-3"},n.createElement(ue,null,t.schoolName,n.createElement("br",null),"already has ClickView 🎉")),n.createElement("button",{className:"btn btn-lg btn-dark w-100 mb-3",onClick:function(){var e,r,n,o,a;return r=this,n=void 0,o=void 0,a=Je().mark((function r(){var n,o;return Je().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,Rt.getLookups(t.ajaxUrls,t.prospectId);case 3:if(n=r.sent,o=null===(e=n.find((function(t){return t.type===He.C.MasterId})))||void 0===e?void 0:e.externalId){r.next=8;break}return i("Something went wrong."),r.abrupt("return");case 8:return r.next=10,Vt(t.ajaxUrls,{customerId:o,email:t.email});case 10:t.logUserAction({},{actionType:V.Vw.Click,descriptor:V.Yu.RequestAccess}),t.complete({completionStep:"requested-access",trialCreated:!1,trialStatus:y.UserJoinApprovalRequired}),r.next=17;break;case 14:r.prev=14,r.t0=r.catch(0),i($e(r.t0));case 17:case"end":return r.stop()}}),r,null,[[0,14]])})),new(o||(o=Promise))((function(t,e){function i(t){try{l(a.next(t))}catch(t){e(t)}}function c(t){try{l(a.throw(t))}catch(t){e(t)}}function l(e){var r;e.done?t(e.value):(r=e.value,r instanceof o?r:new o((function(t){t(r)}))).then(i,c)}l((a=a.apply(r,n||[])).next())}))}},"Request access"),a&&n.createElement("p",{className:"text-danger text-center mb-2"},a),n.createElement(fe,{className:"text-center"},"Need Help? ",n.createElement("a",{href:ye.F.getSupportUrlForGeoLocation(t.geoLocation),className:"info-link",target:"_blank"},"Contact our Help Centre.")))}};function yr(t){var e=t.state,r=t.geoLocation,o=t.layoutMapping,a=t.hasPreviousStep,i=t.googleMapsApiKey,c=t.pageAppLinkString,l=t.back,u=t.nextStep,s=t.complete,f=t.logUserAction,p=t.imageUrls,h=t.ajaxUrls,d=t.brazeConfig,y=t.version,m=t.productName,v=dr[e.currentStepId],g=Object.assign(Object.assign({},e),{geoLocation:r,googleMapsApiKey:i,pageAppLinkString:c,back:l,nextStep:u,complete:s,logUserAction:f,imageUrls:p,ajaxUrls:h,brazeConfig:d,version:y,productName:m}),b=null==o?void 0:o[e.currentStepId];return b?n.createElement(b,{geoLocation:t.geoLocation,currentStep:e.currentStepId,previousStep:l,closeApp:t.close,logUserAction:f,hasPreviousStep:a,imageUrls:t.imageUrls},n.createElement(v,Object.assign({},g))):n.createElement(v,Object.assign({},g))}var mr=r(1048);const vr={buttonContainer:"izZtA",dataContainer:"OgBv5"};function gr(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 br(t){var e={};return Object.keys(t).forEach((function(r){var n=t[r];mr.t.isObject(n)&&null!==n&&!Array.isArray(n)?Object.assign(e,br(n)):e[r]=n})),e}function wr(t){var e=t.label,r=t.item,o=r;return Array.isArray(r)&&(o=o.join(" -> ")),"boolean"==typeof o&&(o=o?"true":"false"),n.createElement("div",{className:"pb-1"},e,": ",n.createElement("b",{className:"text-white"},o))}function Er(t){var e,r,o=t.developmentEnv,a=t.objects,i=(e=n.useState(!0),r=2,function(t){if(Array.isArray(t))return t}(e)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,a,i,c=[],l=!0,u=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=a.call(r)).done)&&(c.push(n.value),c.length!==e);l=!0);}catch(t){u=!0,o=t}finally{try{if(!l&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(u)throw o}}return c}}(e,r)||function(t,e){if(t){if("string"==typeof t)return gr(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)?gr(t,e):void 0}}(e,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),c=i[0],l=i[1],u=n.useMemo((function(){return br(a)}),[a]);return o&&n.createElement(n.Fragment,null,n.createElement("div",{className:"position-fixed p-4 ".concat(vr.buttonContainer)},n.createElement("button",{onClick:function(){l(!c)},className:"btn btn-dark px-2 py-1"},c?"Hide":"Show"," debugger")),c&&n.createElement("div",{className:"fixed-bottom mb-4 ms-4 bg-dark rounded ".concat(vr.dataContainer)},n.createElement("code",{className:"d-block p-4"},n.createElement("div",{className:"fw-bold pb-2"},"{ Debug: Form Data }"),Object.keys(u).map((function(t){return n.createElement(wr,{key:t,label:t,item:u[t]})})))))}var Sr=r(83529);const xr={crumb:"Btmx2"};function Lr(t,e){var r="rounded-circle mx-2 d-inline-block "+xr.crumb,n=t===e?"bg-info":"bg-light";return"".concat(r," ").concat(n)}function jr(t){return n.createElement("div",{className:"text-center"},t.crumbs.map((function(e){return n.createElement("div",{className:Lr(t.currentStep,e),key:e})})))}var kr=r(98461);function Cr(t){var e=ye.F.getTermsAndConditionsLink(),r=ye.F.getPrivacyPolicyLink();return n.createElement("span",{className:"text-center text-md mt-2 text-normal small"},"By signing up you agree to the",n.createElement("br",null),n.createElement(kr.d,{href:e,onClick:t.onClickTermsAndConditions,className:"info-link",newTab:!0},"Terms and Conditions"),"  and  ",n.createElement(kr.d,{href:r,onClick:t.onClickPrivacyPolicy,className:"info-link",newTab:!0},"Privacy Policy"))}var Or=r(83914),Nr=r(35223);function Ar(t){return n.createElement("button",{onClick:t.onClick,className:"btn p-0 cursor-pointer d-inline-flex align-items-center"},n.createElement(Or.x,{svgName:Nr.vn.ChevronLeft,size:Or.S.Medium}),t.children)}var Pr=r(2786);Tr.defaultProps={showBackButton:!0};var Ir=["select-type","enter-email","find-school"];function Tr(t){var e=t.currentStep,r=t.previousStep,o=t.hasPreviousStep,a=t.showBackButton,i=t.children;return n.createElement("div",{className:"d-flex flex-column justify-content-between px-4 py-0 ".concat("jZ_Wp")},n.createElement("div",{className:"mt-3 mb-2"},Ir.includes(e)&&n.createElement(jr,{crumbs:Ir,currentStep:e})),n.createElement("div",{className:"position-relative mx-auto w-100 ".concat("select-type"===e?"Ye154":["enter-email","find-school","cant-find-school","add-to-braze","enter-age"].includes(e)?"m2kAT":"ollkc")},n.createElement("div",{className:"d-flex flex-row justify-content-center align-items-center mt-2 mb-3"},o&&a&&["enter-email","find-school","cant-find-school","add-to-braze","enter-age","request-access"].includes(e)&&n.createElement(Ar,{onClick:function(){r(),t.logUserAction({step:e},{actionType:V.Vw.Click,descriptor:V.Yu.Back,workflowPhase:V.eu.Back})}}),n.createElement("div",{className:"d-flex justify-content-center align-items-center px-2 ".concat("J97w_")},n.createElement(Pr.$S,null))),i),n.createElement("div",{className:"position-relative mb-4 mt-3 text-center"},"select-type"===e&&n.createElement(Pe,{link:ye.F.getLoginLink(),onClick:function(){t.logUserAction({},{actionType:V.Vw.Click,descriptor:V.Yu.SignIn})}}),["enter-email","find-school","add-to-braze"].includes(e)&&n.createElement(Cr,{onClickTermsAndConditions:function(){t.logUserAction({},{actionType:V.Vw.Click,descriptor:V.Yu.TermsAndConditions})},onClickPrivacyPolicy:function(){t.logUserAction({},{actionType:V.Vw.Click,descriptor:V.Yu.PrivacyPolicy})}})))}var _r=r(28366);Dr.defaultProps={showBackButton:!0};var Ur,Fr=["enter-email","find-school"],Gr=["enter-email","find-school","cant-find-school","add-to-braze","enter-age","request-access"];function Dr(t){var e=t.currentStep,r=t.previousStep,o=t.hasPreviousStep,a=t.showBackButton,i=t.closeApp,c=t.children;function l(){return["enter-email","find-school","cant-find-school","add-to-braze","enter-age"].includes(e)}function u(){r(),t.logUserAction({},{actionType:V.Vw.Click,descriptor:V.Yu.Back,workflowPhase:V.eu.Back})}var s=Gr.includes(t.currentStep),f=s?"".concat(_r.Z.leftHalfLayout," ").concat(_r.Z.withBg):_r.Z.leftHalfLayout;return n.createElement("div",{className:f},n.createElement("div",{className:"row mx-0 p-3"},n.createElement("div",{className:"col px-0 d-lg-none ".concat(_r.Z.popupButton)},o&&l()&&a&&n.createElement(Ar,{onClick:u})),n.createElement("div",{className:"col col-lg-6 px-0"},n.createElement("div",{className:_r.Z.logo},n.createElement("div",{className:"d-none d-lg-block"},s?n.createElement(Pr.Yo,null):n.createElement(Pr.$S,null)),n.createElement("div",{className:"d-block d-lg-none mt-1"},n.createElement(Pr.$S,null),Fr.includes(t.currentStep)&&n.createElement("div",{className:"mt-3"},n.createElement(jr,{crumbs:Fr,currentStep:e}))))),n.createElement("div",{className:"col col-lg-6 d-flex flex-row justify-content-between px-0"},n.createElement("div",{className:"px-3"},n.createElement("div",{className:"d-none d-lg-block ".concat(_r.Z.popupButton)},o&&l()&&a&&n.createElement(Ar,{onClick:u}))),Fr.includes(t.currentStep)&&n.createElement("div",{className:"d-none d-lg-block align-self-center"},n.createElement(jr,{crumbs:Fr,currentStep:e})),n.createElement(mt.L,{onClick:i,className:_r.Z.popupButton},n.createElement(Or.x,{svgName:Nr.vn.Close,size:Or.S.Medium})))),n.createElement("div",{className:"row mx-0 flex-grow-1"},s&&n.createElement("div",{className:"col-6 px-0 d-none d-lg-block"},n.createElement("div",{className:"h-100 d-flex align-items-center justify-content-center"},n.createElement("img",{src:t.imageUrls.popupDashboard,className:"w-100 p-4 pb-5"}))),n.createElement("div",{className:"px-4 pt-0 pb-4 ".concat(s?"col-12 col-lg-6":"col-12")},n.createElement("div",{className:"d-flex flex-column h-100"},n.createElement("div",{className:"flex-grow-1"},c),n.createElement("div",{className:"text-center mt-3"},"select-type"===e&&n.createElement(Pe,{link:ye.F.getLoginLink(),onClick:function(){t.logUserAction({},{actionType:V.Vw.Click,descriptor:V.Yu.SignIn})}}),["enter-email","add-to-braze"].includes(e)&&n.createElement(Cr,{onClickTermsAndConditions:function(){t.logUserAction({},{actionType:V.Vw.Click,descriptor:V.Yu.TermsAndConditions})},onClickPrivacyPolicy:function(){t.logUserAction({},{actionType:V.Vw.Click,descriptor:V.Yu.PrivacyPolicy})}}))))))}function Rr(t){return Rr="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},Rr(t)}function Mr(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Rr(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==Rr(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===Rr(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Kr={"cant-find-school":Dr,"enter-email":Dr,"find-school":Dr,"select-type":Dr,completed:Dr,"add-to-braze":Dr,"enter-age":Dr,"request-access":Dr},Yr={"cant-find-school":Tr,"enter-email":Tr,"find-school":Tr,"select-type":Tr,completed:Tr,"add-to-braze":Tr,"enter-age":Tr,"request-access":Tr},zr=(Mr(Ur={},Sr.c.FullPage,Yr),Mr(Ur,Sr.c.Popup,Kr),Ur),qr={getLayouts:function(t){return zr[t]}},Vr=r(17331);function Br(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function $r(t){return $r="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},$r(t)}function Hr(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)||Zr(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 Zr(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}}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 Wr(t,e){var r,n,o=Object.assign(Object.assign({},t),{previousStepIds:[].concat((n=t.previousStepIds,function(t){if(Array.isArray(t))return Jr(t)}(n)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(n)||Zr(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!==Hr(t,2)[1]})).reduce((function(t,e){var r=Hr(e,2),n=r[0],o=r[1];return Object.assign(Object.assign({},t),function(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==$r(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==$r(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===$r(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}({},n,o))}),{}),Object.assign(Object.assign({},o),a)}}function Xr(t,e){switch(e.type){case"nextStep":return Wr(t,e);case"back":return function(t){var e,r=function(t){if(Array.isArray(t))return Br(t)}(e=t.previousStepIds)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(e)||function(t,e){if(t){if("string"==typeof t)return Br(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Br(t,e):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),n=r.pop();return Object.assign(Object.assign({},t),{previousStepIds:r,currentStepId:n})}(t)}}function Qr(t){return Qr="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},Qr(t)}function tn(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 en(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)?en(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 en(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 rn=function(t){var e=t.location,r=t.initialValues,o=t.onStepUpdate,a=t.externalLogUserAction,c=F.removeEmptyKeys(r),l=Object.assign({currentStepId:"select-type",previousStepIds:[]},c),u=tn(n.useReducer(Xr,l),2),s=u[0],f=u[1];return n.useEffect((function(){null==o||o(s)}),[s.currentStepId]),{state:s,back:function(){f({type:"back"})},nextStep:function(t){f(Object.assign({type:"nextStep"},t))},complete:function(t){f(Object.assign({type:"nextStep",step:"completed"},t))},hasPreviousStep:!!s.previousStepIds.length,logUserAction:function(t,r){var n=Object.assign(Object.assign({},s),t),o=Vr.i.filterBlacklistedKeys(n),c=Object.assign({currentStepId:s.currentStepId},o),l=Object.entries(c).filter((function(t){return void 0!==tn(t,2)[1]})).reduce((function(t,e){var r=tn(e,2),n=r[0],o=r[1];return Object.assign(Object.assign({},t),function(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Qr(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==Qr(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===Qr(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}({},n,o))}),{});a(l,Object.assign({entity:i.py.SignUp,location:e},r))}}};function nn(t){var e=qr.getLayouts(t.type),r=t.location,i=t.initialValues,c=t.geoLocation,l=t.googleMapsApiKey,u=t.pageAppLinkString,s=t.onStepUpdate,f=t.imageUrls,p=t.ajaxUrls,h=t.brazeConfig,d=t.version,y=t.productName,m=t.close,v=rn({location:r,initialValues:i,onStepUpdate:s,externalLogUserAction:a.k.logUserAction}),g=v.back,b=v.nextStep,w=v.complete,E=v.hasPreviousStep,S=v.state,x=v.logUserAction,L={state:S,geoLocation:c,layoutMapping:e,hasPreviousStep:E,googleMapsApiKey:l,pageAppLinkString:u,back:g,close:m,nextStep:b,complete:w,logUserAction:x,imageUrls:f,ajaxUrls:p,brazeConfig:h,version:d,productName:y};return n.useEffect((function(){o.SG.get(ke)&&w({completionStep:"young-student",trialCreated:!1,trialStatus:null})}),[]),n.createElement(n.Fragment,null,n.createElement(yr,Object.assign({},L)),n.createElement(Er,{developmentEnv:!1,objects:Object.assign(Object.assign(Object.assign({},S),{pageAppLinkString:u}),c)}))}},83529:(t,e,r)=>{var n;r.d(e,{c:()=>n}),function(t){t.Popup="popup-form",t.FullPage="full-page-form"}(n||(n={}))},12238:(t,e,r)=>{var n;r.d(e,{C:()=>n}),function(t){t.MasterId="master_id",t.CrmId="crm_id",t.SalesforceId="salesforce_id"}(n||(n={}))},84789:(t,e,r)=>{var n;r.d(e,{X:()=>n}),function(t){t.Lite="lite",t.Auth="auth"}(n||(n={}))},17331:(t,e,r)=>{r.d(e,{i:()=>o});var n=["email","longitude","latitude","trialCreated"],o={filterBlacklistedKeys:function(t){var e=Object.assign({},t);return n.forEach((function(t){return delete e[t]})),e}}},69624:(t,e,r)=>{r.d(e,{F:()=>c});var n=r(97395),o=r(86664),a=r(93824),i={Marketing:{au:"https://www.clickview.com.au",uk:"https://www.clickview.co.uk",nz:"https://www.clickview.co.nz",us:"https://www.clickvieweducation.com"},Support:{au:"https://www.clickviewsupport.com/hc/en-au",uk:"https://www.clickviewsupport.com/hc/en-au#gb",nz:"https://www.clickviewsupport.com/hc/en-au#nz",us:"https://www.clickviewsupport.com/hc/en-au#us"}},c={getMarketingUrlForGeoLocation:function(t){var e=o.I.getCountryCode(null==t?void 0:t.countryCode);return i.Marketing[e]||i.Marketing.us},getMarketingSalesContactForGeoLocation:function(t){var e=o.I.getCountryCode(null==t?void 0:t.countryCode),r=this.getMarketingUrlForGeoLocation(t);return t&&e===a.C.NZ?r+"/contact-us/":r+"/contact-us/trial/"},getFreeResourcesForGeoLocation:function(t){var e=o.I.getCountryCode(null==t?void 0:t.countryCode);return e===a.C.NZ&&(e=a.C.AU),this.getMarketingUrlForGeoLocation({countryCode:e})+"/free-student-resources//"},getTermsAndConditionsLink:function(){return this.getMarketingUrlForGeoLocation(a.C.US)+"/terms-and-conditions/"},getPrivacyPolicyLink:function(){return this.getMarketingUrlForGeoLocation(a.C.US)+"/privacy-policy/"},getSupportUrlForGeoLocation:function(t){var e=o.I.getCountryCode(null==t?void 0:t.countryCode);return i.Support[e]||i.Support.us},getLoginLink:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.email,r=t.customerId,o={redirectUrl:window.location.pathname+window.location.search};return e&&(o.email=e),r&&(o.customerId=r),n._.urlBuilder("/login",o)}}},86664:(t,e,r)=>{r.d(e,{I:()=>l});var n=r(83765),o=r(93824),a=["uk","gb","gg","im","je","ie"],i={au:o.C.AU,nz:o.C.NZ,us:o.C.US,uk:o.C.UK,gb:o.C.UK,gg:o.C.UK,im:o.C.UK,je:o.C.UK,ie:o.C.UK},c={au:n.M.CvApSoutheast1,uk:n.M.CvEuWest1,us:n.M.CvNaWest1,nz:n.M.CvApSoutheast2},l={getInstanceRegion:function(t){var e=l.getCountryCode(t);return c[e]},getCountryCode:function(t){return i[null==t?void 0:t.toLowerCase()]||o.C.US},isCountryCodeUK:function(t){return a.includes(t.toLowerCase())},isCountryCodeAU:function(t){return(null==t?void 0:t.toLowerCase())===o.C.AU},isCountryCodeUS:function(t){return(null==t?void 0:t.toLowerCase())===o.C.US},isCountryCodeNZ:function(t){return(null==t?void 0:t.toLowerCase())===o.C.NZ},isSupportedCountryCode:function(t){return Object.keys(i).includes(null==t?void 0:t.toLowerCase())},getLocalizedLocalityPlaceholderPhrase:function(t){if(t)return l.isCountryCodeUK(t)?"E.g. CR0 3RL or 36 Factory Lane":l.isCountryCodeAU(t)||l.isCountryCodeNZ(t)?"E.g. 2212 or Revesby":l.isCountryCodeUS(t)?"E.g. 95826 or Sacramento":void 0},getLocalizedLocalityPlaceholderText:function(t){if(t){var e=l.getLocalizedLocalityPlaceholderPhrase(t);if(e)return e}}}},93824:(t,e,r)=>{var n;r.d(e,{C:()=>n}),function(t){t.AU="au",t.NZ="nz",t.UK="uk",t.US="us"}(n||(n={}))},48456:(t,e,r)=>{r.d(e,{v:()=>o});var n=r(99742),o={popupDashboard:n.W.SignUp.POPUP_DASHBOARD,educator:n.W.SignUp.EDUCATOR,student:n.W.SignUp.STUDENT,statusImages:{available:n.W.SignUp.VERIFY_ACCOUNT,active:n.W.SignUp.EXISTING_CUSTOMER,expired:n.W.SignUp.EXPIRED_TRIAL,notRequired:n.W.SignUp.EXISTING_CUSTOMER,unavailable:n.W.SignUp.NOT_AVAILABLE,unsupported:n.W.SignUp.NOT_AVAILABLE,autoJoin:n.W.SignUp.EXISTING_CUSTOMER,requestAccess:n.W.SignUp.EXISTING_CUSTOMER}}},17762:(t,e,r)=>{r.d(e,{M:()=>i});var n=r(20354),o=r(39151),a={countryCode:"us",isFallback:!0};function i(){var t=n.a.useBasicFetch(o.L.geoLocation());return t.hasCompleted&&!t.data?a:t.data}},63643:(t,e,r)=>{r.d(e,{c:()=>c});var n=r(97395),o=r(20354),a=r(84789),i=r(39151);function c(){var t=o.a.useBasicFetch(i.L.config());if(!t.hasCompleted)return null;var e=t.data.gatewayApiUrl;return{productName:a.X.Lite,userStatus:n._.safeUrlConcat(e,"/v1/users/trial-status"),prospectStatus:function(t){return n._.safeUrlConcat(e,"/v1/prospects/".concat(t,"/trial-status"))},createTrial:"/api/user/trials",resendTrialEmail:function(t){return"/api/user/trials/users/".concat(t,"/send-activation-email")},searchProspect:n._.safeUrlConcat(e,"/v1/search/prospects"),createProspect:"/api/prospects",prospectLookups:function(t){return n._.safeUrlConcat(e,"/v1/prospects/".concat(t,"/lookups"))},autoJoin:"/api/user/trials/auto-join",joinRequest:function(t){return"/api/user/customers/".concat(t,"/join-requests")}}}},28366:(t,e,r)=>{r.d(e,{Z:()=>n});const n={logo:"Kh4Dd",modalBody:"V9nIN",popupButton:"hS60U",leftHalfLayout:"aQ1K8",withBg:"zALxE"}}}]);
@@ -1,2 +1,2 @@
1
- /*! For license information please see 4676-adc55dfa15-lite.chunk.js.LICENSE.txt */
2
- "use strict";(self.webpackChunk_clickview_lite=self.webpackChunk_clickview_lite||[]).push([[4676],{14919:(t,e,r)=>{r.d(e,{w:()=>h});var n=r(32735),o=r(64249),i=r(11607),a=r(2786),c=r(7733),u=r(9085),s=r(98084),l=r(87984);const f={playButtonCircle:"zima4"};function h(t){var e,r,h,p,v=t.onClick,y=t.video,d="rating"in y&&(null===(e=y.rating)||void 0===e?void 0:e.code),m="rating"in y&&(null===(r=y.rating)||void 0===r?void 0:r.value),g=(0,l.C)(m),b="series"in y&&(null===(h=y.series)||void 0===h?void 0:h.name),w="episodeNumber"in y&&y.episodeNumber,E="season"in y&&(null===(p=y.season)||void 0===p?void 0:p.number),k=o.I.getImageUrl(y),x="";k||(x=(0,u.x)(y.name,c.b));var _={backgroundImage:k?"url('".concat(k,"')"):"",backgroundColor:x};return n.createElement(i.L,{className:"cv-embed-splash ".concat(x||"cv-embed-splash-black"),style:_,onClick:v},!!k&&n.createElement("div",{className:"cv-splash-mask"}),n.createElement("div",{className:"cv-splash-metadata"},n.createElement("h1",null,n.createElement("div",{className:"cv-splash-series"},function(t,e,r){if(!t)return"";if(!r||!e)return t;var n=s.I.padNumber(r,2),o=s.I.padNumber(e,2);return"".concat(t," S").concat(n," &bull; E").concat(o)}(b,w,E)),y.name),n.createElement("div",{className:"cv-splash-rating ".concat(g)},d)),n.createElement("div",{className:f.playButtonCircle},n.createElement("svg",{viewBox:"0 0 1800 1800"},n.createElement("path",{d:"M597.3333333333334 1418.6666666666665V373.3333333333333L1418.6666666666667 896z"}))),n.createElement("div",{className:"cv-splash-logo"},n.createElement(a.Yo,null)))}},6736:(t,e,r)=>{r.d(e,{b:()=>m});var n=r(39202),o=r(97395),i=r(81886),a=r(23481),c=r(47663);function u(t){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},u(t)}function s(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(void 0,o=function(t,e){if("object"!==u(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(n.key),"symbol"===u(o)?o:String(o)),n)}var o}function l(t,e){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},l(t,e)}function f(t){return f=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},f(t)}var h="embed.protectiveBrowserSettingsError",p=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&l(t,e)}(c,t);var e,r,n,o,i=(n=c,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=f(n);if(o){var r=f(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return function(t,e){if(e&&("object"===u(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(this,t)});function c(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,c),(e=i.call(this,a.T.getPhrase(h,"title"))).url=t,e}return e=c,(r=[{key:"name",get:function(){return"ProtectiveBrowserSettingsError"}},{key:"dialogOptions",get:function(){return{title:a.T.getPhrase(h,"heading"),text:a.T.getPhrase(h,"description",{url:this.url}),buttons:[{text:a.T.getPhrase(h,"okay"),className:"btn btn-dark",success:!0}]}}}])&&s(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),c}(c.S);function v(t){return v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},v(t)}function y(){y=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function s(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),c=new C(n||[]);return o(a,"_invoke",{value:P(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var h="suspendedStart",p="suspendedYield",d="executing",m="completed",g={};function b(){}function w(){}function E(){}var k={};s(k,a,(function(){return this}));var x=Object.getPrototypeOf,_=x&&x(x(I([])));_&&_!==r&&n.call(_,a)&&(k=_);var L=E.prototype=b.prototype=Object.create(k);function O(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var s=u.arg,l=s.value;return l&&"object"==v(l)&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(l).then((function(t){s.value=t,a(s)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function P(e,r,n){var o=h;return function(i,a){if(o===d)throw new Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=S(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var s=f(e,r,n);if("normal"===s.type){if(o=n.done?m:p,s.arg===g)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=m,n.method="throw",n.arg=s.arg)}}}function S(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,S(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function T(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function N(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function C(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function I(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return i.next=i}}throw new TypeError(v(e)+" is not iterable")}return w.prototype=E,o(L,"constructor",{value:E,configurable:!0}),o(E,"constructor",{value:w,configurable:!0}),w.displayName=s(E,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===w||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,E):(t.__proto__=E,s(t,u,"GeneratorFunction")),t.prototype=Object.create(L),t},e.awrap=function(t){return{__await:t}},O(j.prototype),s(j.prototype,c,(function(){return this})),e.AsyncIterator=j,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new j(l(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},O(L),s(L,u,"Generator"),s(L,a,(function(){return this})),s(L,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=I,C.prototype={constructor:C,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(N),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return c.type="throw",c.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),s=n.call(a,"finallyLoc");if(u&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,g):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),g},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),N(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;N(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:I(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function d(t,e,r,n){var o=window.open(t,"_blank",function(t){var e="sm"===t?500:screen.availWidth,r="sm"===t?500:screen.availWidth,n=parseInt(screen.availWidth/2-e/2+""),o=parseInt(screen.availHeight/2-r/2+"");return["width=".concat(e),"height=".concat(r),"status","resizable","left=".concat(n),"top=".concat(o),"screenX=".concat(n),"screenY=".concat(o),"scrollbars=yes"].join(",")}(n));if(o)return g(o,r),o;i.Q.Ry.throw(new p(e))}var m={renderSignInPopup:function(t){var e=t.primaryUrl,i=t.shareId,a=t.isMicrosoftTeams,c=t.customerId,u=t.onClose,s=t.redirectUrl,l=void 0===s?"/embed-login-success":s,f=t.size,h=void 0===f?"sm":f,p=o._.safeUrlConcat(e,"/login"),v={redirectUrl:l};i&&(v.shareId=i),c&&(v.customerId=c);var y=o._.urlBuilder(p,v);if(!a)return d(y,e,u,h);!function(t){r.e(4777).then(r.t.bind(r,94777,23)).then((function(e){e.initialize(),window.setTimeout((function(){e.authentication.authenticate({url:t,successCallback:function(){n.Ab.Reload()},failureCallback:function(){n.Ab.Reload()},height:1e3,width:1e3})}),0)}))}(y)},canUseCookies:function(){return docCookies.setItem("_cookieTest","1",10,null,null,!0,"none"),!!docCookies.getItem("_cookieTest")||(docCookies.setItem("_cookieTest","1",10),!!docCookies.getItem("_cookieTest"))},closePopup:function(t){return e=this,n=void 0,o=void 0,i=y().mark((function e(){var n,o;return y().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=function(){try{n.initialize((function(){n.authentication.notifySuccess()}))}catch(t){}},e.next=3,r.e(4777).then(r.t.bind(r,94777,23));case 3:n=e.sent,t?(o(),window.close()):window.setTimeout((function(){o(),window.close()}),1e3),window.opener.postMessage({type:"authenticated"},"*");case 6:case"end":return e.stop()}}),e)})),new(o||(o=Promise))((function(t,r){function a(t){try{u(i.next(t))}catch(t){r(t)}}function c(t){try{u(i.throw(t))}catch(t){r(t)}}function u(e){var r;e.done?t(e.value):(r=e.value,r instanceof o?r:new o((function(t){t(r)}))).then(a,c)}u((i=i.apply(e,n||[])).next())}));var e,n,o,i}};function g(t,e){setTimeout((function(){t&&(!1===t.closed?g(t,e):e())}),500)}},87984:(t,e,r)=>{function n(t){return t?function(t){switch(!0){case t<32:return"cv-rating-purple";case t<48:return"cv-rating-green";case t<80:return"cv-rating-blue";case t<96:return"cv-rating-red";case t<128:return"cv-rating-pink";case t>=128:return"cv-rating-yellow";default:return""}}(t):""}r.d(e,{C:()=>n})}}]);
1
+ /*! For license information please see 4676-3931770101-lite.chunk.js.LICENSE.txt */
2
+ "use strict";(self.webpackChunk_clickview_lite=self.webpackChunk_clickview_lite||[]).push([[4676],{14919:(t,e,r)=>{r.d(e,{w:()=>h});var n=r(32735),o=r(64249),i=r(11607),a=r(2786),c=r(7733),u=r(9085),s=r(98084),l=r(87984);const f={playButtonCircle:"zima4"};function h(t){var e,r,h,p,v=t.onClick,y=t.video,d="rating"in y&&(null===(e=y.rating)||void 0===e?void 0:e.code),m="rating"in y&&(null===(r=y.rating)||void 0===r?void 0:r.value),g=(0,l.C)(m),b="series"in y&&(null===(h=y.series)||void 0===h?void 0:h.name),w="episodeNumber"in y&&y.episodeNumber,E="season"in y&&(null===(p=y.season)||void 0===p?void 0:p.number),k=o.I.getImageUrl(y),x="";k||(x=(0,u.x)(y.name,c.b));var _={backgroundImage:k?"url('".concat(k,"')"):"",backgroundColor:x};return n.createElement(i.L,{className:"cv-embed-splash ".concat(x||"cv-embed-splash-black"),style:_,onClick:v},!!k&&n.createElement("div",{className:"cv-splash-mask"}),n.createElement("div",{className:"cv-splash-metadata"},n.createElement("h1",null,n.createElement("div",{className:"cv-splash-series"},function(t,e,r){if(!t)return"";if(!r||!e)return t;var n=s.I.padNumber(r,2),o=s.I.padNumber(e,2);return"".concat(t," S").concat(n," &bull; E").concat(o)}(b,w,E)),y.name),n.createElement("div",{className:"cv-splash-rating ".concat(g)},d)),n.createElement("div",{className:f.playButtonCircle},n.createElement("svg",{viewBox:"0 0 1800 1800"},n.createElement("path",{d:"M597.3333333333334 1418.6666666666665V373.3333333333333L1418.6666666666667 896z"}))),n.createElement("div",{className:"cv-splash-logo"},n.createElement(a.Yo,null)))}},6736:(t,e,r)=>{r.d(e,{b:()=>m});var n=r(39202),o=r(97395),i=r(81886),a=r(23481),c=r(47663);function u(t){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},u(t)}function s(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(void 0,o=function(t,e){if("object"!==u(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(n.key),"symbol"===u(o)?o:String(o)),n)}var o}function l(t,e){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},l(t,e)}function f(t){return f=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},f(t)}var h="embed.protectiveBrowserSettingsError",p=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&l(t,e)}(c,t);var e,r,n,o,i=(n=c,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=f(n);if(o){var r=f(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return function(t,e){if(e&&("object"===u(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(this,t)});function c(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,c),(e=i.call(this,a.T.getPhrase(h,"title"))).url=t,e}return e=c,(r=[{key:"name",get:function(){return"ProtectiveBrowserSettingsError"}},{key:"dialogOptions",get:function(){return{title:a.T.getPhrase(h,"heading"),text:a.T.getPhrase(h,"description",{url:this.url}),buttons:[{text:a.T.getPhrase(h,"okay"),className:"btn btn-dark",success:!0}]}}}])&&s(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),c}(c.S);function v(t){return v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},v(t)}function y(){y=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function s(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),c=new C(n||[]);return o(a,"_invoke",{value: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=l;var h="suspendedStart",p="suspendedYield",d="executing",m="completed",g={};function b(){}function w(){}function E(){}var k={};s(k,a,(function(){return this}));var x=Object.getPrototypeOf,_=x&&x(x(I([])));_&&_!==r&&n.call(_,a)&&(k=_);var L=E.prototype=b.prototype=Object.create(k);function O(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var s=u.arg,l=s.value;return l&&"object"==v(l)&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(l).then((function(t){s.value=t,a(s)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function S(e,r,n){var o=h;return function(i,a){if(o===d)throw new Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=P(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var s=f(e,r,n);if("normal"===s.type){if(o=n.done?m:p,s.arg===g)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=m,n.method="throw",n.arg=s.arg)}}}function P(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,P(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function T(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function N(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function C(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function I(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return i.next=i}}throw new TypeError(v(e)+" is not iterable")}return w.prototype=E,o(L,"constructor",{value:E,configurable:!0}),o(E,"constructor",{value:w,configurable:!0}),w.displayName=s(E,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===w||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,E):(t.__proto__=E,s(t,u,"GeneratorFunction")),t.prototype=Object.create(L),t},e.awrap=function(t){return{__await:t}},O(j.prototype),s(j.prototype,c,(function(){return this})),e.AsyncIterator=j,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new j(l(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},O(L),s(L,u,"Generator"),s(L,a,(function(){return this})),s(L,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=I,C.prototype={constructor:C,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(N),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return c.type="throw",c.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),s=n.call(a,"finallyLoc");if(u&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,g):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),g},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),N(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;N(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:I(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function d(t,e,r,n){var o=window.open(t,"_blank",function(t){var e="sm"===t?550:screen.availWidth,r="sm"===t?750:screen.availWidth,n=parseInt(screen.availWidth/2-e/2+""),o=parseInt(screen.availHeight/2-r/2+"");return["width=".concat(e),"height=".concat(r),"status","resizable","left=".concat(n),"top=".concat(o),"screenX=".concat(n),"screenY=".concat(o),"scrollbars=yes"].join(",")}(n));if(o)return g(o,r),o;i.Q.Ry.throw(new p(e))}var m={renderSignInPopup:function(t){var e=t.primaryUrl,i=t.shareId,a=t.isMicrosoftTeams,c=t.customerId,u=t.onClose,s=t.redirectUrl,l=void 0===s?"/embed-login-success":s,f=t.size,h=void 0===f?"sm":f,p=o._.safeUrlConcat(e,"/login"),v={redirectUrl:l,showSignUp:!0};i&&(v.shareId=i),c&&(v.customerId=c);var y=o._.urlBuilder(p,v);if(!a)return d(y,e,u,h);!function(t){r.e(4777).then(r.t.bind(r,94777,23)).then((function(e){e.initialize(),window.setTimeout((function(){e.authentication.authenticate({url:t,successCallback:function(){n.Ab.Reload()},failureCallback:function(){n.Ab.Reload()},height:1e3,width:1e3})}),0)}))}(y)},canUseCookies:function(){return docCookies.setItem("_cookieTest","1",10,null,null,!0,"none"),!!docCookies.getItem("_cookieTest")||(docCookies.setItem("_cookieTest","1",10),!!docCookies.getItem("_cookieTest"))},closePopup:function(t){return e=this,n=void 0,o=void 0,i=y().mark((function e(){var n,o;return y().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=function(){try{n.initialize((function(){n.authentication.notifySuccess()}))}catch(t){}},e.next=3,r.e(4777).then(r.t.bind(r,94777,23));case 3:n=e.sent,t?(o(),window.close()):window.setTimeout((function(){o(),window.close()}),1e3),window.opener.postMessage({type:"authenticated"},"*");case 6:case"end":return e.stop()}}),e)})),new(o||(o=Promise))((function(t,r){function a(t){try{u(i.next(t))}catch(t){r(t)}}function c(t){try{u(i.throw(t))}catch(t){r(t)}}function u(e){var r;e.done?t(e.value):(r=e.value,r instanceof o?r:new o((function(t){t(r)}))).then(a,c)}u((i=i.apply(e,n||[])).next())}));var e,n,o,i}};function g(t,e){setTimeout((function(){t&&(!1===t.closed?g(t,e):e())}),500)}},87984:(t,e,r)=>{function n(t){return t?function(t){switch(!0){case t<32:return"cv-rating-purple";case t<48:return"cv-rating-green";case t<80:return"cv-rating-blue";case t<96:return"cv-rating-red";case t<128:return"cv-rating-pink";case t>=128:return"cv-rating-yellow";default:return""}}(t):""}r.d(e,{C:()=>n})}}]);