@saasquatch/mint-components 1.13.0-0 → 1.13.0-10

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 (441) hide show
  1. package/dist/cjs/{GenericTableView-7ef786c3.js → GenericTableView-a9f4ba75.js} +1 -1
  2. package/dist/cjs/{ShadowViewAddon-2aa1bd99.js → ShadowViewAddon-44cb1a98.js} +29 -29
  3. package/dist/cjs/{copy-text-view-43e8349f.js → copy-text-view-9b950efe.js} +10 -10
  4. package/dist/cjs/{email-registration-view-4eeee3e4.js → email-registration-view-55b378dc.js} +1 -1
  5. package/dist/cjs/{global-d9abaf4d.js → global-19fc8a7a.js} +3 -3
  6. package/dist/cjs/{index-3cf5ef3d.js → index-a29c60ef.js} +10 -0
  7. package/dist/cjs/{index.module-ccf9bd9c.js → index.module-57703088.js} +23 -58
  8. package/dist/cjs/loader.cjs.js +5 -5
  9. package/dist/cjs/{luxon-14ae1f8a.js → luxon-2926d85f.js} +1 -1
  10. package/dist/cjs/mint-components.cjs.js +5 -5
  11. package/dist/cjs/{mockRewardData-a384d9f5.js → mockRewardData-272e22d6.js} +1 -1
  12. package/dist/cjs/raisins-plop-target.cjs.entry.js +1 -1
  13. package/dist/cjs/{re-render-1e63c82b.js → re-render-35b016ed.js} +5 -5
  14. package/dist/cjs/{sqm-asset-card-view-a3abee0b.js → sqm-asset-card-view-21ddf04f.js} +1 -1
  15. package/dist/cjs/sqm-asset-card.cjs.entry.js +4 -4
  16. package/dist/cjs/sqm-banking-info-form_16.cjs.entry.js +65 -65
  17. package/dist/cjs/{sqm-base-registration-form-view-e4a74dee.js → sqm-base-registration-form-view-d5685747.js} +2 -2
  18. package/dist/cjs/sqm-big-stat_38.cjs.entry.js +93 -71
  19. package/dist/cjs/{sqm-close-button-view-0cdada3a.js → sqm-close-button-view-ea3fa23b.js} +1 -1
  20. package/dist/cjs/sqm-close-button.cjs.entry.js +4 -4
  21. package/dist/cjs/sqm-context-router.cjs.entry.js +4 -4
  22. package/dist/cjs/sqm-empty_4.cjs.entry.js +5 -5
  23. package/dist/cjs/sqm-form-message.cjs.entry.js +2 -2
  24. package/dist/cjs/sqm-google-sign-in.cjs.entry.js +104 -27
  25. package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +7 -7
  26. package/dist/cjs/sqm-header-logo.cjs.entry.js +2 -2
  27. package/dist/cjs/sqm-instant-access-registration.cjs.entry.js +6 -6
  28. package/dist/cjs/{sqm-invoice-table-view-a13d1c7f.js → sqm-invoice-table-view-9dfa2a16.js} +2 -2
  29. package/dist/cjs/{sqm-leaderboard-rank-view-133f8d95.js → sqm-leaderboard-rank-view-d39a55d8.js} +1 -1
  30. package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +8 -8
  31. package/dist/cjs/{sqm-logout-current-user-view-64ca6abe.js → sqm-logout-current-user-view-11d57c12.js} +1 -1
  32. package/dist/cjs/sqm-logout-current-user.cjs.entry.js +6 -6
  33. package/dist/cjs/{sqm-navigation-sidebar-item-view-38519acf.js → sqm-navigation-sidebar-item-view-9bba5f7e.js} +3 -3
  34. package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +5 -5
  35. package/dist/cjs/{sqm-navigation-sidebar-view-37209a17.js → sqm-navigation-sidebar-view-17111896.js} +1 -1
  36. package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +6 -6
  37. package/dist/cjs/sqm-pagination_3.cjs.entry.js +13 -13
  38. package/dist/cjs/sqm-password-field.cjs.entry.js +4 -4
  39. package/dist/cjs/sqm-popup-container.cjs.entry.js +6 -6
  40. package/dist/cjs/{sqm-portal-container-view-9a36f5ed.js → sqm-portal-container-view-4f15143a.js} +1 -1
  41. package/dist/cjs/{sqm-portal-email-verification-view-6e1e80e7.js → sqm-portal-email-verification-view-98d84549.js} +3 -3
  42. package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +11 -11
  43. package/dist/cjs/{sqm-portal-forgot-password-view-97903679.js → sqm-portal-forgot-password-view-78f19ef9.js} +2 -2
  44. package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +8 -8
  45. package/dist/cjs/sqm-portal-google-registration-form.cjs.entry.js +84 -17
  46. package/dist/cjs/sqm-portal-logout.cjs.entry.js +4 -4
  47. package/dist/cjs/{sqm-portal-profile-view-f4489585.js → sqm-portal-profile-view-bae28ea0.js} +3 -3
  48. package/dist/cjs/sqm-portal-profile.cjs.entry.js +10 -10
  49. package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +7 -7
  50. package/dist/cjs/{sqm-portal-registration-form-view-add61eb6.js → sqm-portal-registration-form-view-e947a5b3.js} +2 -2
  51. package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +8 -8
  52. package/dist/cjs/{sqm-portal-reset-password-view-0ed5419e.js → sqm-portal-reset-password-view-fe602822.js} +2 -2
  53. package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +10 -10
  54. package/dist/cjs/{sqm-portal-verify-email-view-cd2c3086.js → sqm-portal-verify-email-view-7b678f34.js} +2 -2
  55. package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +10 -10
  56. package/dist/cjs/sqm-referral-table_11.cjs.entry.js +11 -11
  57. package/dist/cjs/sqm-referred-registration.cjs.entry.js +6 -6
  58. package/dist/cjs/sqm-rewards-table-customer-note-cell.cjs.entry.js +3 -3
  59. package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +4 -4
  60. package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +15 -15
  61. package/dist/cjs/sqm-route.cjs.entry.js +1 -1
  62. package/dist/cjs/sqm-stencilbook.cjs.entry.js +153 -151
  63. package/dist/cjs/sqm-tab.cjs.entry.js +4 -4
  64. package/dist/cjs/sqm-tabs.cjs.entry.js +6 -6
  65. package/dist/cjs/{sqm-text-span-view-a22f50aa.js → sqm-text-span-view-0aa82125.js} +1 -1
  66. package/dist/cjs/sqm-text-span.cjs.entry.js +3 -3
  67. package/dist/cjs/{stencil-hooks.module-ece1ee46.js → stencil-hooks.module-3a336b0f.js} +1 -1
  68. package/dist/cjs/{useChildElements-438cf387.js → useChildElements-854cd1e5.js} +3 -3
  69. package/dist/cjs/{useInstantAccessRegistration-7d91867a.js → useInstantAccessRegistration-daff8290.js} +4 -4
  70. package/dist/cjs/{usePortalRegistrationForm-0d4fbcde.js → usePortalRegistrationForm-a89d736e.js} +9 -7
  71. package/dist/cjs/{useReferralTable-6b4920f9.js → useReferralTable-283d2316.js} +11 -11
  72. package/dist/cjs/useRegistrationFormState-986b5ea1.js +27 -0
  73. package/dist/cjs/{utilities-27e9535b.js → utilities-c135f16f.js} +2 -2
  74. package/dist/collection/components/sqm-base-registration/BaseRegistrationForm.stories.js +14 -3
  75. package/dist/collection/components/sqm-google-sign-in/sqm-google-sign-in.js +68 -30
  76. package/dist/collection/components/sqm-google-sign-in/useGoogleSignIn.js +46 -0
  77. package/dist/collection/components/sqm-portal-google-registration-form/PortalGoogleRegistrationForm.stories.js +43 -63
  78. package/dist/collection/components/sqm-portal-google-registration-form/sqm-portal-google-registration-form.js +30 -2
  79. package/dist/collection/components/sqm-portal-google-registration-form/usePortalGoogleRegistrationForm.js +11 -9
  80. package/dist/collection/components/sqm-portal-login/PortalLogin.stories.js +24 -8
  81. package/dist/collection/components/sqm-portal-login/sqm-portal-login.js +8 -14
  82. package/dist/collection/components/sqm-portal-login/usePortalLogin.js +24 -4
  83. package/dist/collection/components/sqm-portal-registration-form/usePortalRegistrationForm.js +2 -0
  84. package/dist/collection/components/sqm-portal-registration-form/useRegistrationFormState.js +13 -0
  85. package/dist/collection/components/sqm-referral-table/ReferralTableRewardsCell.stories.js +0 -1
  86. package/dist/collection/components/sqm-rewards-table/RewardsTableCell.stories.js +1 -3
  87. package/dist/esm/{GenericTableView-6aa9fac9.js → GenericTableView-7b9087af.js} +1 -1
  88. package/dist/esm/{ShadowViewAddon-af23bc54.js → ShadowViewAddon-eba44767.js} +29 -29
  89. package/dist/esm/{copy-text-view-61eebf5d.js → copy-text-view-b060162f.js} +10 -10
  90. package/dist/esm/{email-registration-view-6870d230.js → email-registration-view-a7818cf2.js} +1 -1
  91. package/dist/esm/{global-3611a2b7.js → global-bedc4329.js} +3 -3
  92. package/dist/esm/{index-60f16d0a.js → index-91e7729f.js} +10 -0
  93. package/dist/esm/{index.module-f3d96fbb.js → index.module-a2989d3c.js} +6 -41
  94. package/dist/esm/loader.js +5 -5
  95. package/dist/esm/{luxon-9b1f9912.js → luxon-8d51c92b.js} +1 -1
  96. package/dist/esm/mint-components.js +5 -5
  97. package/dist/esm/{mockRewardData-8b3afd15.js → mockRewardData-8bd1b356.js} +1 -1
  98. package/dist/esm/raisins-plop-target.entry.js +1 -1
  99. package/dist/esm/{re-render-3b630de2.js → re-render-268bb9c8.js} +5 -5
  100. package/dist/esm/{sqm-asset-card-view-2157b61f.js → sqm-asset-card-view-fe5db3c0.js} +1 -1
  101. package/dist/esm/sqm-asset-card.entry.js +4 -4
  102. package/dist/esm/sqm-banking-info-form_16.entry.js +65 -65
  103. package/dist/esm/{sqm-base-registration-form-view-dd481f19.js → sqm-base-registration-form-view-98c4db70.js} +2 -2
  104. package/dist/esm/sqm-big-stat_38.entry.js +93 -71
  105. package/dist/esm/{sqm-close-button-view-0c0bfff8.js → sqm-close-button-view-f9819751.js} +1 -1
  106. package/dist/esm/sqm-close-button.entry.js +4 -4
  107. package/dist/esm/sqm-context-router.entry.js +4 -4
  108. package/dist/esm/sqm-empty_4.entry.js +5 -5
  109. package/dist/esm/sqm-form-message.entry.js +2 -2
  110. package/dist/esm/sqm-google-sign-in.entry.js +104 -27
  111. package/dist/esm/sqm-graphql-client-provider.entry.js +7 -7
  112. package/dist/esm/sqm-header-logo.entry.js +2 -2
  113. package/dist/esm/sqm-instant-access-registration.entry.js +6 -6
  114. package/dist/esm/{sqm-invoice-table-view-b8240dc6.js → sqm-invoice-table-view-8e2bb54a.js} +2 -2
  115. package/dist/esm/{sqm-leaderboard-rank-view-7cd0de83.js → sqm-leaderboard-rank-view-753c8d4a.js} +1 -1
  116. package/dist/esm/sqm-leaderboard-rank.entry.js +8 -8
  117. package/dist/esm/{sqm-logout-current-user-view-02e9f508.js → sqm-logout-current-user-view-8ef8180f.js} +1 -1
  118. package/dist/esm/sqm-logout-current-user.entry.js +6 -6
  119. package/dist/esm/{sqm-navigation-sidebar-item-view-a4e4edb6.js → sqm-navigation-sidebar-item-view-56da6bca.js} +3 -3
  120. package/dist/esm/sqm-navigation-sidebar-item.entry.js +5 -5
  121. package/dist/esm/{sqm-navigation-sidebar-view-ce55d74d.js → sqm-navigation-sidebar-view-9d802b78.js} +1 -1
  122. package/dist/esm/sqm-navigation-sidebar.entry.js +6 -6
  123. package/dist/esm/sqm-pagination_3.entry.js +13 -13
  124. package/dist/esm/sqm-password-field.entry.js +4 -4
  125. package/dist/esm/sqm-popup-container.entry.js +6 -6
  126. package/dist/esm/{sqm-portal-container-view-c3be4b88.js → sqm-portal-container-view-1683ae32.js} +1 -1
  127. package/dist/esm/{sqm-portal-email-verification-view-d500dd01.js → sqm-portal-email-verification-view-44c8970f.js} +3 -3
  128. package/dist/esm/sqm-portal-email-verification.entry.js +11 -11
  129. package/dist/esm/{sqm-portal-forgot-password-view-4f6c89a7.js → sqm-portal-forgot-password-view-3d3182f1.js} +2 -2
  130. package/dist/esm/sqm-portal-forgot-password.entry.js +8 -8
  131. package/dist/esm/sqm-portal-google-registration-form.entry.js +84 -17
  132. package/dist/esm/sqm-portal-logout.entry.js +4 -4
  133. package/dist/esm/{sqm-portal-profile-view-2997f902.js → sqm-portal-profile-view-39039274.js} +3 -3
  134. package/dist/esm/sqm-portal-profile.entry.js +10 -10
  135. package/dist/esm/sqm-portal-protected-route.entry.js +7 -7
  136. package/dist/esm/{sqm-portal-registration-form-view-20b9c9bc.js → sqm-portal-registration-form-view-90e2bfd5.js} +2 -2
  137. package/dist/esm/sqm-portal-registration-form.entry.js +8 -8
  138. package/dist/esm/{sqm-portal-reset-password-view-e29f1842.js → sqm-portal-reset-password-view-54a8651f.js} +2 -2
  139. package/dist/esm/sqm-portal-reset-password.entry.js +10 -10
  140. package/dist/esm/{sqm-portal-verify-email-view-d5dcf5c5.js → sqm-portal-verify-email-view-b12cb894.js} +2 -2
  141. package/dist/esm/sqm-portal-verify-email.entry.js +10 -10
  142. package/dist/esm/sqm-referral-table_11.entry.js +11 -11
  143. package/dist/esm/sqm-referred-registration.entry.js +6 -6
  144. package/dist/esm/sqm-rewards-table-customer-note-cell.entry.js +3 -3
  145. package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +4 -4
  146. package/dist/esm/sqm-rewards-table_9.entry.js +15 -15
  147. package/dist/esm/sqm-route.entry.js +1 -1
  148. package/dist/esm/sqm-stencilbook.entry.js +153 -151
  149. package/dist/esm/sqm-tab.entry.js +4 -4
  150. package/dist/esm/sqm-tabs.entry.js +6 -6
  151. package/dist/esm/{sqm-text-span-view-d1b54710.js → sqm-text-span-view-ca32495e.js} +1 -1
  152. package/dist/esm/sqm-text-span.entry.js +3 -3
  153. package/dist/esm/{stencil-hooks.module-e20edc0b.js → stencil-hooks.module-4bc38af4.js} +1 -1
  154. package/dist/esm/{useChildElements-d1d3fedd.js → useChildElements-38c11321.js} +3 -3
  155. package/dist/esm/{useInstantAccessRegistration-c5d80a2e.js → useInstantAccessRegistration-7255b0ca.js} +4 -4
  156. package/dist/esm/{usePortalRegistrationForm-e8ec6d4e.js → usePortalRegistrationForm-5715c7a5.js} +9 -7
  157. package/dist/esm/{useReferralTable-fbcfc2a7.js → useReferralTable-d77b11f5.js} +11 -11
  158. package/dist/esm/useRegistrationFormState-01cdd8c7.js +23 -0
  159. package/dist/esm/{utilities-33996ce7.js → utilities-863d06d1.js} +2 -2
  160. package/dist/esm-es5/{GenericTableView-6aa9fac9.js → GenericTableView-7b9087af.js} +1 -1
  161. package/dist/esm-es5/ShadowViewAddon-eba44767.js +1 -0
  162. package/dist/esm-es5/copy-text-view-b060162f.js +1 -0
  163. package/dist/esm-es5/{email-registration-view-6870d230.js → email-registration-view-a7818cf2.js} +1 -1
  164. package/dist/esm-es5/{global-3611a2b7.js → global-bedc4329.js} +2 -2
  165. package/dist/esm-es5/{index-60f16d0a.js → index-91e7729f.js} +1 -1
  166. package/dist/esm-es5/index.module-a2989d3c.js +1 -0
  167. package/dist/esm-es5/loader.js +1 -1
  168. package/dist/esm-es5/{luxon-9b1f9912.js → luxon-8d51c92b.js} +1 -1
  169. package/dist/esm-es5/mint-components.js +1 -1
  170. package/dist/esm-es5/{mockRewardData-8b3afd15.js → mockRewardData-8bd1b356.js} +1 -1
  171. package/dist/esm-es5/raisins-plop-target.entry.js +1 -1
  172. package/dist/esm-es5/{re-render-3b630de2.js → re-render-268bb9c8.js} +1 -1
  173. package/dist/esm-es5/{sqm-asset-card-view-2157b61f.js → sqm-asset-card-view-fe5db3c0.js} +1 -1
  174. package/dist/esm-es5/sqm-asset-card.entry.js +1 -1
  175. package/dist/esm-es5/sqm-banking-info-form_16.entry.js +1 -1
  176. package/dist/esm-es5/{sqm-base-registration-form-view-dd481f19.js → sqm-base-registration-form-view-98c4db70.js} +1 -1
  177. package/dist/esm-es5/sqm-big-stat_38.entry.js +1 -1
  178. package/dist/esm-es5/{sqm-close-button-view-0c0bfff8.js → sqm-close-button-view-f9819751.js} +1 -1
  179. package/dist/esm-es5/sqm-close-button.entry.js +1 -1
  180. package/dist/esm-es5/sqm-context-router.entry.js +1 -1
  181. package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
  182. package/dist/esm-es5/sqm-form-message.entry.js +1 -1
  183. package/dist/esm-es5/sqm-google-sign-in.entry.js +1 -1
  184. package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
  185. package/dist/esm-es5/sqm-header-logo.entry.js +1 -1
  186. package/dist/esm-es5/sqm-instant-access-registration.entry.js +1 -1
  187. package/dist/esm-es5/{sqm-invoice-table-view-b8240dc6.js → sqm-invoice-table-view-8e2bb54a.js} +1 -1
  188. package/dist/esm-es5/sqm-leaderboard-rank-view-753c8d4a.js +1 -0
  189. package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
  190. package/dist/esm-es5/{sqm-logout-current-user-view-02e9f508.js → sqm-logout-current-user-view-8ef8180f.js} +1 -1
  191. package/dist/esm-es5/sqm-logout-current-user.entry.js +1 -1
  192. package/dist/esm-es5/{sqm-navigation-sidebar-item-view-a4e4edb6.js → sqm-navigation-sidebar-item-view-56da6bca.js} +1 -1
  193. package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
  194. package/dist/esm-es5/{sqm-navigation-sidebar-view-ce55d74d.js → sqm-navigation-sidebar-view-9d802b78.js} +1 -1
  195. package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
  196. package/dist/esm-es5/sqm-pagination_3.entry.js +1 -1
  197. package/dist/esm-es5/sqm-password-field.entry.js +1 -1
  198. package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
  199. package/dist/esm-es5/{sqm-portal-container-view-c3be4b88.js → sqm-portal-container-view-1683ae32.js} +1 -1
  200. package/dist/esm-es5/{sqm-portal-email-verification-view-d500dd01.js → sqm-portal-email-verification-view-44c8970f.js} +1 -1
  201. package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
  202. package/dist/esm-es5/{sqm-portal-forgot-password-view-4f6c89a7.js → sqm-portal-forgot-password-view-3d3182f1.js} +1 -1
  203. package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -1
  204. package/dist/esm-es5/sqm-portal-google-registration-form.entry.js +1 -1
  205. package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
  206. package/dist/esm-es5/{sqm-portal-profile-view-2997f902.js → sqm-portal-profile-view-39039274.js} +1 -1
  207. package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
  208. package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -1
  209. package/dist/esm-es5/{sqm-portal-registration-form-view-20b9c9bc.js → sqm-portal-registration-form-view-90e2bfd5.js} +1 -1
  210. package/dist/esm-es5/sqm-portal-registration-form.entry.js +1 -1
  211. package/dist/esm-es5/{sqm-portal-reset-password-view-e29f1842.js → sqm-portal-reset-password-view-54a8651f.js} +1 -1
  212. package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
  213. package/dist/esm-es5/{sqm-portal-verify-email-view-d5dcf5c5.js → sqm-portal-verify-email-view-b12cb894.js} +1 -1
  214. package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
  215. package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
  216. package/dist/esm-es5/sqm-referred-registration.entry.js +1 -1
  217. package/dist/esm-es5/sqm-rewards-table-customer-note-cell.entry.js +1 -1
  218. package/dist/esm-es5/sqm-rewards-table-customer-note-column.entry.js +1 -1
  219. package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
  220. package/dist/esm-es5/sqm-route.entry.js +1 -1
  221. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  222. package/dist/esm-es5/sqm-tab.entry.js +1 -1
  223. package/dist/esm-es5/sqm-tabs.entry.js +1 -1
  224. package/dist/esm-es5/{sqm-text-span-view-d1b54710.js → sqm-text-span-view-ca32495e.js} +1 -1
  225. package/dist/esm-es5/sqm-text-span.entry.js +1 -1
  226. package/dist/esm-es5/{stencil-hooks.module-e20edc0b.js → stencil-hooks.module-4bc38af4.js} +1 -1
  227. package/dist/esm-es5/useChildElements-38c11321.js +1 -0
  228. package/dist/esm-es5/{useInstantAccessRegistration-c5d80a2e.js → useInstantAccessRegistration-7255b0ca.js} +1 -1
  229. package/dist/esm-es5/usePortalRegistrationForm-5715c7a5.js +1 -0
  230. package/dist/esm-es5/{useReferralTable-fbcfc2a7.js → useReferralTable-d77b11f5.js} +1 -1
  231. package/dist/esm-es5/useRegistrationFormState-01cdd8c7.js +1 -0
  232. package/dist/esm-es5/{utilities-33996ce7.js → utilities-863d06d1.js} +1 -1
  233. package/dist/mint-components/mint-components.esm.js +1 -1
  234. package/dist/mint-components/mint-components.js +1 -1
  235. package/dist/mint-components/{p-76769baa.entry.js → p-0323586f.entry.js} +15 -15
  236. package/dist/mint-components/p-045d1d49.entry.js +1 -0
  237. package/dist/mint-components/{p-5b6cf6cd.system.js → p-046f4631.system.js} +1 -1
  238. package/dist/mint-components/{p-863340dc.entry.js → p-0873eaa8.entry.js} +1 -1
  239. package/dist/mint-components/p-09c5e3ee.system.js +1 -0
  240. package/dist/mint-components/{p-dacefee2.entry.js → p-0aa62b64.entry.js} +1 -1
  241. package/dist/mint-components/p-0e53c59e.system.js +1 -0
  242. package/dist/mint-components/p-127e66c2.system.js +1 -0
  243. package/dist/mint-components/{p-1ab3f305.system.js → p-14a65f29.system.js} +1 -1
  244. package/dist/mint-components/{p-aed99250.js → p-16c7bfda.js} +3 -3
  245. package/dist/mint-components/{p-22110634.js → p-1833c4f5.js} +1 -1
  246. package/dist/mint-components/{p-3b923175.system.entry.js → p-19bc3406.system.entry.js} +1 -1
  247. package/dist/mint-components/{p-38b8050c.system.entry.js → p-1b0c58bc.system.entry.js} +1 -1
  248. package/dist/mint-components/{p-0aa76ad0.system.entry.js → p-1b3ab15a.system.entry.js} +1 -1
  249. package/dist/mint-components/p-1c5cffae.js +1 -0
  250. package/dist/mint-components/{p-682450a8.js → p-1ef299d7.js} +2 -2
  251. package/dist/mint-components/{p-1d58a8ff.entry.js → p-2126e1e6.entry.js} +1 -1
  252. package/dist/mint-components/{p-88197cfd.js → p-229f797b.js} +1 -1
  253. package/dist/mint-components/{p-c4c922fc.system.entry.js → p-24c4e0b8.system.entry.js} +1 -1
  254. package/dist/mint-components/{p-e56447fd.js → p-24db5c70.js} +1 -1
  255. package/dist/mint-components/{p-5309ebf3.js → p-266a8b4d.js} +1 -1
  256. package/dist/mint-components/{p-5fb1bcb5.entry.js → p-28042d23.entry.js} +1 -1
  257. package/dist/mint-components/{p-6a95e6b7.js → p-2ab3b8d6.js} +2 -2
  258. package/dist/mint-components/{p-75956e50.entry.js → p-2bbff88f.entry.js} +1 -1
  259. package/dist/mint-components/{p-bd5706ba.entry.js → p-2dc5e60a.entry.js} +1 -1
  260. package/dist/mint-components/{p-c1ede4f5.system.js → p-2dca9e1a.system.js} +1 -1
  261. package/dist/mint-components/p-30108c0e.js +1 -0
  262. package/dist/mint-components/p-31a691af.js +1 -0
  263. package/dist/mint-components/p-35698aaa.system.js +1 -0
  264. package/dist/mint-components/{p-aa5446c1.js → p-35b475bf.js} +1 -1
  265. package/dist/mint-components/p-380bfde1.entry.js +1 -0
  266. package/dist/mint-components/{p-222fa722.system.js → p-38e5c429.system.js} +1 -1
  267. package/dist/mint-components/p-3972037c.system.entry.js +1 -0
  268. package/dist/mint-components/p-39b1a7fe.js +1 -0
  269. package/dist/mint-components/p-3bdd338c.system.js +1 -0
  270. package/dist/mint-components/{p-f8047aab.entry.js → p-3e1b7fb4.entry.js} +1 -1
  271. package/dist/mint-components/{p-6465b781.js → p-3ec660e9.js} +1 -1
  272. package/dist/mint-components/p-3f6e0197.system.entry.js +1 -0
  273. package/dist/mint-components/p-40e99b24.js +1 -0
  274. package/dist/mint-components/{p-93124bdb.entry.js → p-4448febd.entry.js} +1 -1
  275. package/dist/mint-components/{p-aeea67a3.entry.js → p-45436d5a.entry.js} +1 -1
  276. package/dist/mint-components/{p-64af8fa4.system.js → p-46ab5f80.system.js} +1 -1
  277. package/dist/mint-components/{p-58bcece7.system.js → p-48135f99.system.js} +1 -1
  278. package/dist/mint-components/{p-697d6e54.system.js → p-492b70db.system.js} +1 -1
  279. package/dist/mint-components/{p-683cfd07.js → p-492fdaf9.js} +1 -1
  280. package/dist/mint-components/{p-6ac9d2cf.entry.js → p-4ae54b04.entry.js} +1 -1
  281. package/dist/mint-components/{p-c33ccfb7.entry.js → p-4b6dc0e5.entry.js} +1 -1
  282. package/dist/mint-components/{p-9259fd35.system.entry.js → p-4bcb04aa.system.entry.js} +1 -1
  283. package/dist/mint-components/p-4daa3f8a.system.entry.js +1 -0
  284. package/dist/mint-components/p-4e5af50c.js +1 -0
  285. package/dist/mint-components/{p-a631db44.system.js → p-4f45be94.system.js} +1 -1
  286. package/dist/mint-components/{p-d47569d0.js → p-506679e9.js} +1 -1
  287. package/dist/mint-components/p-53aaa0a4.entry.js +1 -0
  288. package/dist/mint-components/p-550ef977.js +13 -0
  289. package/dist/mint-components/p-571c451e.entry.js +1 -0
  290. package/dist/mint-components/{p-12d27b9b.js → p-5bedb58c.js} +1 -1
  291. package/dist/mint-components/{p-e64c49dd.system.js → p-6055eb4c.system.js} +1 -1
  292. package/dist/mint-components/{p-3dc9a448.entry.js → p-618e1342.entry.js} +1 -1
  293. package/dist/mint-components/{p-b33381a7.js → p-626e9e84.js} +1 -1
  294. package/dist/mint-components/{p-ffe78243.js → p-62f6627d.js} +1 -1
  295. package/dist/mint-components/{p-0fd20804.system.entry.js → p-635aaf11.system.entry.js} +1 -1
  296. package/dist/mint-components/{p-b3499953.entry.js → p-65ba9e94.entry.js} +1 -1
  297. package/dist/mint-components/{p-ec379cf4.system.entry.js → p-6a8d9def.system.entry.js} +1 -1
  298. package/dist/mint-components/{p-d477a07b.system.js → p-6d9e52c7.system.js} +1 -1
  299. package/dist/mint-components/{p-71d6b762.js → p-6de85677.js} +1 -1
  300. package/dist/mint-components/{p-f8b41805.system.js → p-7166caa6.system.js} +1 -1
  301. package/dist/mint-components/{p-9d078f60.js → p-726a9924.js} +1 -1
  302. package/dist/mint-components/{p-7d2d59ec.system.entry.js → p-731aa5c6.system.entry.js} +1 -1
  303. package/dist/mint-components/p-749c7c9c.system.js +1 -0
  304. package/dist/mint-components/{p-e864a155.entry.js → p-75f50e5a.entry.js} +1 -1
  305. package/dist/mint-components/{p-c2bc302f.system.entry.js → p-7989a098.system.entry.js} +1 -1
  306. package/dist/mint-components/p-79ea1597.system.entry.js +1 -0
  307. package/dist/mint-components/{p-9716a83b.js → p-7a9290ba.js} +1 -1
  308. package/dist/mint-components/{p-b7edef12.system.entry.js → p-7bcf4467.system.entry.js} +1 -1
  309. package/dist/mint-components/{p-3dbcd42a.system.entry.js → p-7cb919d4.system.entry.js} +1 -1
  310. package/dist/mint-components/{p-7bc9308c.system.entry.js → p-7dabdca6.system.entry.js} +1 -1
  311. package/dist/mint-components/{p-f7175fc2.system.entry.js → p-8056fd5b.system.entry.js} +1 -1
  312. package/dist/mint-components/{p-a2a3d9dc.entry.js → p-80fc549b.entry.js} +1 -1
  313. package/dist/mint-components/{p-0e89ac7f.system.entry.js → p-81665df6.system.entry.js} +1 -1
  314. package/dist/mint-components/{p-0b6200b3.js → p-837a0fdd.js} +1 -1
  315. package/dist/mint-components/{p-3ae32130.system.js → p-8413ade9.system.js} +1 -1
  316. package/dist/mint-components/{p-0725d1a7.system.entry.js → p-857947fa.system.entry.js} +1 -1
  317. package/dist/mint-components/p-868f176e.entry.js +1 -0
  318. package/dist/mint-components/{p-500a2bff.entry.js → p-8975c2be.entry.js} +1 -1
  319. package/dist/mint-components/{p-5c714029.js → p-8d77feee.js} +1 -1
  320. package/dist/mint-components/p-8da47802.system.entry.js +1 -0
  321. package/dist/mint-components/{p-2dff4fb2.js → p-92816d1f.js} +1 -1
  322. package/dist/mint-components/{p-7141d536.system.entry.js → p-92a25556.system.entry.js} +1 -1
  323. package/dist/mint-components/p-95c64cfd.system.js +1 -0
  324. package/dist/mint-components/p-9614ee84.entry.js +1 -0
  325. package/dist/mint-components/{p-8f705bea.system.entry.js → p-96431b4f.system.entry.js} +1 -1
  326. package/dist/mint-components/p-96b48c2b.system.js +1 -0
  327. package/dist/mint-components/{p-9e4e3d5f.system.js → p-97d4d651.system.js} +1 -1
  328. package/dist/mint-components/{p-b043693d.system.entry.js → p-988ea164.system.entry.js} +1 -1
  329. package/dist/mint-components/{p-ff19bf56.system.js → p-99ad7d56.system.js} +1 -1
  330. package/dist/mint-components/{p-9d954277.system.entry.js → p-9a0c3ed9.system.entry.js} +1 -1
  331. package/dist/mint-components/{p-bc305236.system.entry.js → p-9a16a3d8.system.entry.js} +1 -1
  332. package/dist/mint-components/p-9b779add.entry.js +1 -0
  333. package/dist/mint-components/p-9e49479a.entry.js +13 -0
  334. package/dist/mint-components/p-9f231a48.system.entry.js +1 -0
  335. package/dist/mint-components/p-a1f40614.system.entry.js +1 -0
  336. package/dist/mint-components/{p-44c4a54f.system.entry.js → p-a21d1a30.system.entry.js} +1 -1
  337. package/dist/mint-components/{p-70eafbbd.system.entry.js → p-a4a5beb5.system.entry.js} +1 -1
  338. package/dist/mint-components/{p-15b2063c.system.js → p-a8524459.system.js} +1 -1
  339. package/dist/mint-components/{p-9fff2218.js → p-a9f4ddb1.js} +1 -1
  340. package/dist/mint-components/{p-273ad080.system.entry.js → p-aaeaff1a.system.entry.js} +1 -1
  341. package/dist/mint-components/p-ac2b7eb8.system.js +1 -0
  342. package/dist/mint-components/{p-eac81420.entry.js → p-b114e746.entry.js} +1 -1
  343. package/dist/mint-components/p-b207beeb.entry.js +1 -0
  344. package/dist/mint-components/{p-f81cc2cd.entry.js → p-b611eefd.entry.js} +1 -1
  345. package/dist/mint-components/{p-5057380a.system.js → p-b75bb6e3.system.js} +1 -1
  346. package/dist/mint-components/{p-d59c19ba.entry.js → p-b9d17fa1.entry.js} +2 -2
  347. package/dist/mint-components/{p-14dc52dc.system.entry.js → p-bd4810c7.system.entry.js} +1 -1
  348. package/dist/mint-components/{p-8fb2af73.system.js → p-bfc7cfc0.system.js} +1 -1
  349. package/dist/mint-components/{p-e605fe66.entry.js → p-c470caf6.entry.js} +2 -2
  350. package/dist/mint-components/p-c4b21562.system.entry.js +1 -0
  351. package/dist/mint-components/{p-003fb0ae.system.js → p-c6a8c075.system.js} +1 -1
  352. package/dist/mint-components/{p-b11f43ee.js → p-c9f1dde7.js} +1 -1
  353. package/dist/mint-components/p-ca04737a.entry.js +1 -0
  354. package/dist/mint-components/{p-adc14a77.system.entry.js → p-ca740238.system.entry.js} +1 -1
  355. package/dist/mint-components/{p-0954e95d.entry.js → p-cd480e3f.entry.js} +2 -2
  356. package/dist/mint-components/{p-b619a5e0.js → p-cd651f81.js} +1 -1
  357. package/dist/mint-components/p-cf505e92.system.js +1 -0
  358. package/dist/mint-components/p-d671e44e.system.js +1 -0
  359. package/dist/mint-components/{p-9c7a031a.js → p-d87ce3d2.js} +1 -1
  360. package/dist/mint-components/p-de9afac2.system.entry.js +1 -0
  361. package/dist/mint-components/{p-e0c608e4.system.js → p-e07bc6c4.system.js} +1 -1
  362. package/dist/mint-components/{p-823f61da.entry.js → p-e0b344fb.entry.js} +1 -1
  363. package/dist/mint-components/{p-3c00282b.entry.js → p-e544bb9a.entry.js} +1 -1
  364. package/dist/mint-components/p-ea9fd654.entry.js +9 -0
  365. package/dist/mint-components/{p-cd39acd0.system.entry.js → p-ebdcea27.system.entry.js} +1 -1
  366. package/dist/mint-components/p-f0c23e81.system.entry.js +1 -0
  367. package/dist/mint-components/p-f26aedcd.system.js +1 -0
  368. package/dist/mint-components/{p-a67e8ef4.system.js → p-f2fd1910.system.js} +1 -1
  369. package/dist/mint-components/{p-070fa30d.entry.js → p-f32c8cb5.entry.js} +1 -1
  370. package/dist/mint-components/{p-1739dfb8.entry.js → p-f4a1dc19.entry.js} +1 -1
  371. package/dist/mint-components/p-f6a11644.system.entry.js +1 -0
  372. package/dist/mint-components/{p-a8bf33fc.js → p-f708da7b.js} +1 -1
  373. package/dist/mint-components/{p-7e3ada1b.system.js → p-f7c99803.system.js} +1 -1
  374. package/dist/mint-components/p-f940190a.js +1 -0
  375. package/dist/mint-components/{p-ef7b966e.system.js → p-f9de8a59.system.js} +1 -1
  376. package/dist/mint-components/{p-8799b28f.entry.js → p-faba3198.entry.js} +1 -1
  377. package/dist/mint-components/{p-f8450975.system.entry.js → p-fe4a9dfe.system.entry.js} +1 -1
  378. package/dist/types/components/sqm-base-registration/BaseRegistrationForm.stories.d.ts +1 -0
  379. package/dist/types/components/sqm-google-sign-in/sqm-google-sign-in.d.ts +5 -0
  380. package/dist/types/components/sqm-google-sign-in/useGoogleSignIn.d.ts +4 -0
  381. package/dist/types/components/sqm-portal-google-registration-form/PortalGoogleRegistrationForm.stories.d.ts +0 -2
  382. package/dist/types/components/sqm-portal-google-registration-form/sqm-portal-google-registration-form.d.ts +6 -0
  383. package/dist/types/components/sqm-portal-login/sqm-portal-login-view.d.ts +1 -0
  384. package/dist/types/components/sqm-portal-login/usePortalLogin.d.ts +1 -0
  385. package/dist/types/components/sqm-portal-registration-form/useRegistrationFormState.d.ts +2 -0
  386. package/dist/types/components.d.ts +16 -0
  387. package/docs/docs.docx +0 -0
  388. package/docs/raisins.json +1 -1
  389. package/grapesjs/grapesjs.js +1 -1
  390. package/package.json +5 -2
  391. package/dist/cjs/useRegistrationFormState-5911d016.js +0 -14
  392. package/dist/esm/useRegistrationFormState-33f9cb24.js +0 -11
  393. package/dist/esm-es5/ShadowViewAddon-af23bc54.js +0 -1
  394. package/dist/esm-es5/copy-text-view-61eebf5d.js +0 -1
  395. package/dist/esm-es5/index.module-f3d96fbb.js +0 -1
  396. package/dist/esm-es5/sqm-leaderboard-rank-view-7cd0de83.js +0 -1
  397. package/dist/esm-es5/useChildElements-d1d3fedd.js +0 -1
  398. package/dist/esm-es5/usePortalRegistrationForm-e8ec6d4e.js +0 -1
  399. package/dist/esm-es5/useRegistrationFormState-33f9cb24.js +0 -1
  400. package/dist/mint-components/p-0c4c5874.js +0 -1
  401. package/dist/mint-components/p-0fe8fbe1.system.entry.js +0 -1
  402. package/dist/mint-components/p-13fe7290.js +0 -1
  403. package/dist/mint-components/p-192689fc.entry.js +0 -1
  404. package/dist/mint-components/p-27f281f4.system.js +0 -1
  405. package/dist/mint-components/p-38bd81d1.system.js +0 -1
  406. package/dist/mint-components/p-3c04f8d1.system.js +0 -1
  407. package/dist/mint-components/p-3d4978ca.system.entry.js +0 -1
  408. package/dist/mint-components/p-3e8e2f37.system.js +0 -1
  409. package/dist/mint-components/p-3f3cd0b9.system.entry.js +0 -1
  410. package/dist/mint-components/p-455a3f54.system.entry.js +0 -1
  411. package/dist/mint-components/p-4692d45d.system.entry.js +0 -1
  412. package/dist/mint-components/p-478e8baa.system.js +0 -1
  413. package/dist/mint-components/p-53238aee.js +0 -1
  414. package/dist/mint-components/p-5dd51c6f.entry.js +0 -9
  415. package/dist/mint-components/p-5e61bdfd.entry.js +0 -1
  416. package/dist/mint-components/p-6673a331.system.js +0 -1
  417. package/dist/mint-components/p-7027b14d.js +0 -1
  418. package/dist/mint-components/p-705de128.js +0 -13
  419. package/dist/mint-components/p-74d5d3d1.entry.js +0 -1
  420. package/dist/mint-components/p-7ef0cb0a.system.js +0 -1
  421. package/dist/mint-components/p-7facf5cd.system.entry.js +0 -1
  422. package/dist/mint-components/p-8329e1fa.system.js +0 -1
  423. package/dist/mint-components/p-8525931d.system.entry.js +0 -1
  424. package/dist/mint-components/p-8a0a87e7.system.entry.js +0 -1
  425. package/dist/mint-components/p-920b48ad.system.entry.js +0 -1
  426. package/dist/mint-components/p-944918d9.entry.js +0 -1
  427. package/dist/mint-components/p-989fdd2e.system.js +0 -1
  428. package/dist/mint-components/p-a1cb66c0.system.js +0 -1
  429. package/dist/mint-components/p-a9166b6a.entry.js +0 -1
  430. package/dist/mint-components/p-ad00a797.system.entry.js +0 -1
  431. package/dist/mint-components/p-b402df18.js +0 -1
  432. package/dist/mint-components/p-b667d890.system.entry.js +0 -1
  433. package/dist/mint-components/p-b6a4ce83.entry.js +0 -1
  434. package/dist/mint-components/p-b6f41077.entry.js +0 -1
  435. package/dist/mint-components/p-c56b47e5.system.js +0 -1
  436. package/dist/mint-components/p-d23d5113.js +0 -1
  437. package/dist/mint-components/p-d4c0d53f.js +0 -1
  438. package/dist/mint-components/p-d9dd65fd.entry.js +0 -1
  439. package/dist/mint-components/p-e10be944.entry.js +0 -1
  440. package/dist/mint-components/p-ec9c8ced.system.js +0 -1
  441. package/dist/mint-components/p-fde23de1.entry.js +0 -13
@@ -1,5 +1,5 @@
1
- import { h } from './index-60f16d0a.js';
2
- import { i as intl } from './global-3611a2b7.js';
1
+ import { h } from './index-91e7729f.js';
2
+ import { i as intl } from './global-bedc4329.js';
3
3
  import { c as createStyleSheet } from './JSS-67b5cff8.js';
4
4
 
5
5
  const INDIRECT_TAX_PROVINCES = [
@@ -1,4 +1,4 @@
1
- import { h } from './index-60f16d0a.js';
1
+ import { h } from './index-91e7729f.js';
2
2
 
3
3
  function LeaderboardRankView(props) {
4
4
  const { data } = props;
@@ -1,9 +1,9 @@
1
- import { r as registerInstance, h as h$1 } from './index-60f16d0a.js';
2
- import { n as h } from './stencil-hooks.module-e20edc0b.js';
3
- import { i as intl } from './global-3611a2b7.js';
4
- import { d as dist, z, K, E as En, i as isDemo } from './index.module-f3d96fbb.js';
1
+ import { r as registerInstance, h as h$1 } from './index-91e7729f.js';
2
+ import { n as h } from './stencil-hooks.module-4bc38af4.js';
3
+ import { i as intl } from './global-bedc4329.js';
4
+ import { d as dist, H, J, w as wn, i as isDemo } from './index.module-a2989d3c.js';
5
5
  import { c as cjs } from './cjs-bdfb4486.js';
6
- import { L as LeaderboardRankView } from './sqm-leaderboard-rank-view-7cd0de83.js';
6
+ import { L as LeaderboardRankView } from './sqm-leaderboard-rank-view-753c8d4a.js';
7
7
 
8
8
  const GET_RANK = dist.gql `
9
9
  query ($type: String!, $filter: UserLeaderboardFilterInput) {
@@ -20,10 +20,10 @@ const GET_RANK = dist.gql `
20
20
  `;
21
21
  function useLeaderboardRank(props) {
22
22
  var _a, _b, _c, _d;
23
- const programIdContext = z();
23
+ const programIdContext = H();
24
24
  // Default to context, overriden by props
25
25
  const programId = (_a = props.programId) !== null && _a !== void 0 ? _a : programIdContext;
26
- const user = K();
26
+ const user = J();
27
27
  const rankVariables = programId
28
28
  ? {
29
29
  type: props.leaderboardType,
@@ -36,7 +36,7 @@ function useLeaderboardRank(props) {
36
36
  if (props.interval) {
37
37
  rankVariables.filter["interval"] = props.interval;
38
38
  }
39
- const { data: rankData } = En(GET_RANK, rankVariables, !(user === null || user === void 0 ? void 0 : user.jwt));
39
+ const { data: rankData } = wn(GET_RANK, rankVariables, !(user === null || user === void 0 ? void 0 : user.jwt));
40
40
  const fullRankText = ((_b = rankData === null || rankData === void 0 ? void 0 : rankData.viewer) === null || _b === void 0 ? void 0 : _b.leaderboardRank) ? intl.formatMessage({ id: "rankText", defaultMessage: props.rankText }, {
41
41
  rank: (_d = (_c = rankData === null || rankData === void 0 ? void 0 : rankData.viewer) === null || _c === void 0 ? void 0 : _c.leaderboardRank) === null || _d === void 0 ? void 0 : _d[props.rankType],
42
42
  })
@@ -1,4 +1,4 @@
1
- import { h } from './index-60f16d0a.js';
1
+ import { h } from './index-91e7729f.js';
2
2
  import { c as createStyleSheet } from './JSS-67b5cff8.js';
3
3
 
4
4
  const style = {
@@ -1,10 +1,10 @@
1
- import { r as registerInstance, h as h$1 } from './index-60f16d0a.js';
2
- import { n as h } from './stencil-hooks.module-e20edc0b.js';
3
- import { d as dist, K, E as En, b as setUserIdentity, i as isDemo } from './index.module-f3d96fbb.js';
1
+ import { r as registerInstance, h as h$1 } from './index-91e7729f.js';
2
+ import { n as h } from './stencil-hooks.module-4bc38af4.js';
3
+ import { d as dist, J, w as wn, b as setUserIdentity, i as isDemo } from './index.module-a2989d3c.js';
4
4
  import { c as cjs } from './cjs-bdfb4486.js';
5
5
  import { g as getProps } from './utils-334c1e34.js';
6
6
  import './JSS-67b5cff8.js';
7
- import { L as LogoutCurrentUserView } from './sqm-logout-current-user-view-02e9f508.js';
7
+ import { L as LogoutCurrentUserView } from './sqm-logout-current-user-view-8ef8180f.js';
8
8
 
9
9
  const GET_USER_DETAILS = dist.gql `
10
10
  query getUserDetails {
@@ -19,8 +19,8 @@ const GET_USER_DETAILS = dist.gql `
19
19
  `;
20
20
  function useLogoutCurrentUser(props) {
21
21
  var _a, _b;
22
- const user = K();
23
- const { loading, data } = En(GET_USER_DETAILS, {}, !user);
22
+ const user = J();
23
+ const { loading, data } = wn(GET_USER_DETAILS, {}, !user);
24
24
  const onSwitchClick = () => {
25
25
  setUserIdentity(undefined);
26
26
  };
@@ -1,5 +1,5 @@
1
- import { h } from './index-60f16d0a.js';
2
- import { c as xn } from './index.module-f3d96fbb.js';
1
+ import { h } from './index-91e7729f.js';
2
+ import { j as jn } from './index.module-a2989d3c.js';
3
3
  import { c as createStyleSheet } from './JSS-67b5cff8.js';
4
4
  import { g as gap } from './mixins-83f90fa1.js';
5
5
 
@@ -33,7 +33,7 @@ function NavigationSidebarItemView(props) {
33
33
  const styleString = sheet.toString();
34
34
  return (h("a", { part: "sqm-link", href: data.path, onClick: (e) => {
35
35
  e.preventDefault();
36
- xn.push(data.path);
36
+ jn.push(data.path);
37
37
  }, class: sheet.classes.ItemContainer },
38
38
  h("style", { type: "text/css" }, styleString),
39
39
  h("sl-icon", { class: sheet.classes.Icon, name: data.icon }),
@@ -1,14 +1,14 @@
1
- import { r as registerInstance, h as h$1 } from './index-60f16d0a.js';
2
- import { n as h } from './stencil-hooks.module-e20edc0b.js';
3
- import { j as jn, i as isDemo } from './index.module-f3d96fbb.js';
1
+ import { r as registerInstance, h as h$1 } from './index-91e7729f.js';
2
+ import { n as h } from './stencil-hooks.module-4bc38af4.js';
3
+ import { k as kn, i as isDemo } from './index.module-a2989d3c.js';
4
4
  import { c as cjs } from './cjs-bdfb4486.js';
5
5
  import { g as getProps } from './utils-334c1e34.js';
6
6
  import './JSS-67b5cff8.js';
7
7
  import './mixins-83f90fa1.js';
8
- import { N as NavigationSidebarItemView } from './sqm-navigation-sidebar-item-view-a4e4edb6.js';
8
+ import { N as NavigationSidebarItemView } from './sqm-navigation-sidebar-item-view-56da6bca.js';
9
9
 
10
10
  function useNavigationSidebarItem(props) {
11
- const currentPage = jn();
11
+ const currentPage = kn();
12
12
  return {
13
13
  states: {
14
14
  active: currentPage.pathname === props.path,
@@ -1,4 +1,4 @@
1
- import { h } from './index-60f16d0a.js';
1
+ import { h } from './index-91e7729f.js';
2
2
 
3
3
  const vanillaStyle = `
4
4
 
@@ -1,7 +1,7 @@
1
- import { r as registerInstance, h as h$1 } from './index-60f16d0a.js';
2
- import { n as h, k as useState, f as useEffect } from './stencil-hooks.module-e20edc0b.js';
3
- import { j as jn, z } from './index.module-f3d96fbb.js';
4
- import { N as NavigationSidebarView } from './sqm-navigation-sidebar-view-ce55d74d.js';
1
+ import { r as registerInstance, h as h$1 } from './index-91e7729f.js';
2
+ import { n as h, k as useState, f as useEffect } from './stencil-hooks.module-4bc38af4.js';
3
+ import { k as kn, H } from './index.module-a2989d3c.js';
4
+ import { N as NavigationSidebarView } from './sqm-navigation-sidebar-view-9d802b78.js';
5
5
 
6
6
  const NavigationSidebar = class {
7
7
  constructor(hostRef) {
@@ -16,8 +16,8 @@ const NavigationSidebar = class {
16
16
  }
17
17
  };
18
18
  function useNavigationSidebar() {
19
- const location = jn();
20
- const programId = z();
19
+ const location = kn();
20
+ const programId = H();
21
21
  const [checked, setChecked] = useState(false);
22
22
  // Close hamburger menu after navigation
23
23
  useEffect(() => {
@@ -1,11 +1,11 @@
1
- import { h, F as Fragment, r as registerInstance } from './index-60f16d0a.js';
2
- import { n as h$1, k as useState } from './stencil-hooks.module-e20edc0b.js';
3
- import { i as intl } from './global-3611a2b7.js';
4
- import { D as Dn, i as isDemo, d as dist, z, K, E as En, x as xe, n as ne } from './index.module-f3d96fbb.js';
1
+ import { h, F as Fragment, r as registerInstance } from './index-91e7729f.js';
2
+ import { n as h$1, k as useState } from './stencil-hooks.module-4bc38af4.js';
3
+ import { i as intl } from './global-bedc4329.js';
4
+ import { F as Fn, i as isDemo, d as dist, H, J, w as wn, $ as $e, B } from './index.module-a2989d3c.js';
5
5
  import { c as cjs } from './cjs-bdfb4486.js';
6
6
  import { g as getProps } from './utils-334c1e34.js';
7
7
  import { c as createStyleSheet } from './JSS-67b5cff8.js';
8
- import { R as REFERRAL_CODES_PAGINATION_CONTEXT, a as REFERRAL_CODES_NAMESPACE, S as SET_CODE_COPIED, C as CopyTextView, u as useReferralCodes } from './copy-text-view-61eebf5d.js';
8
+ import { R as REFERRAL_CODES_PAGINATION_CONTEXT, a as REFERRAL_CODES_NAMESPACE, S as SET_CODE_COPIED, C as CopyTextView, u as useReferralCodes } from './copy-text-view-b060162f.js';
9
9
  import './mixins-83f90fa1.js';
10
10
 
11
11
  const style = {
@@ -41,7 +41,7 @@ function PaginationView(props) {
41
41
 
42
42
  function usePagination(props) {
43
43
  var _a;
44
- const context = Dn(REFERRAL_CODES_PAGINATION_CONTEXT);
44
+ const context = Fn(REFERRAL_CODES_PAGINATION_CONTEXT);
45
45
  const currentPage = context.states.currentPage + 1;
46
46
  const totalPages = (_a = context.states) === null || _a === void 0 ? void 0 : _a.pageCount;
47
47
  return {
@@ -124,13 +124,13 @@ const WIDGET_ENGAGEMENT_EVENT = dist.gql `
124
124
  `;
125
125
  function useReferralCode(props) {
126
126
  var _a, _b;
127
- const { programId = z() } = props;
128
- const user = K();
129
- const engagementMedium = ne();
130
- const contextData = Dn(REFERRAL_CODES_NAMESPACE);
131
- const { data } = En(MessageLinkQuery, { programId }, !(user === null || user === void 0 ? void 0 : user.jwt) || (contextData === null || contextData === void 0 ? void 0 : contextData.referralCode) !== undefined);
132
- const [sendLoadEvent] = xe(WIDGET_ENGAGEMENT_EVENT);
133
- const [setCopied] = xe(SET_CODE_COPIED);
127
+ const { programId = H() } = props;
128
+ const user = J();
129
+ const engagementMedium = B();
130
+ const contextData = Fn(REFERRAL_CODES_NAMESPACE);
131
+ const { data } = wn(MessageLinkQuery, { programId }, !(user === null || user === void 0 ? void 0 : user.jwt) || (contextData === null || contextData === void 0 ? void 0 : contextData.referralCode) !== undefined);
132
+ const [sendLoadEvent] = $e(WIDGET_ENGAGEMENT_EVENT);
133
+ const [setCopied] = $e(SET_CODE_COPIED);
134
134
  const copyString = (_b = ((contextData === null || contextData === void 0 ? void 0 : contextData.referralCode) || ((_a = data === null || data === void 0 ? void 0 : data.user) === null || _a === void 0 ? void 0 : _a.referralCode))) !== null && _b !== void 0 ? _b :
135
135
  // Shown during loading
136
136
  "...";
@@ -1,11 +1,11 @@
1
- import { h, r as registerInstance } from './index-60f16d0a.js';
2
- import { i as d, k as useState, n as h$1 } from './stencil-hooks.module-e20edc0b.js';
3
- import { i as isDemo } from './index.module-f3d96fbb.js';
1
+ import { h, r as registerInstance } from './index-91e7729f.js';
2
+ import { i as d, k as useState, n as h$1 } from './stencil-hooks.module-4bc38af4.js';
3
+ import { i as isDemo } from './index.module-a2989d3c.js';
4
4
  import { c as cjs } from './cjs-bdfb4486.js';
5
5
  import { g as getProps } from './utils-334c1e34.js';
6
6
  import { c as createStyleSheet } from './JSS-67b5cff8.js';
7
7
  import { E as ErrorStyles } from './mixins-83f90fa1.js';
8
- import { R as REGISTRATION_FORM_STATE_CONTEXT } from './useRegistrationFormState-33f9cb24.js';
8
+ import { R as REGISTRATION_FORM_STATE_CONTEXT } from './useRegistrationFormState-01cdd8c7.js';
9
9
 
10
10
  var constants = {
11
11
  error: {
@@ -1,6 +1,6 @@
1
- import { h, c as Host, r as registerInstance } from './index-60f16d0a.js';
2
- import { n as h$1 } from './stencil-hooks.module-e20edc0b.js';
3
- import { n as ne } from './index.module-f3d96fbb.js';
1
+ import { h, c as Host, r as registerInstance } from './index-91e7729f.js';
2
+ import { n as h$1 } from './stencil-hooks.module-4bc38af4.js';
3
+ import { B } from './index.module-a2989d3c.js';
4
4
  import { g as getProps } from './utils-334c1e34.js';
5
5
 
6
6
  const PopupContainerView = (props) => {
@@ -14,10 +14,10 @@ const PopupContainerView = (props) => {
14
14
  };
15
15
 
16
16
  function usePopupContainer(props) {
17
- const engagementMedium = ne();
17
+ const engagementMedium = B();
18
18
  function closePopup() {
19
19
  var _a;
20
- if (ne() === "POPUP") {
20
+ if (B() === "POPUP") {
21
21
  (_a = window.frameElement["squatchJsApi"]) === null || _a === void 0 ? void 0 : _a.close();
22
22
  }
23
23
  }
@@ -31,7 +31,7 @@ function usePopupContainer(props) {
31
31
  ? "0"
32
32
  : `var(--sl-spacing-${props.embedPadding})`
33
33
  : "0";
34
- const padding = ne() === "POPUP" ? popupPadding : embedPadding;
34
+ const padding = B() === "POPUP" ? popupPadding : embedPadding;
35
35
  return {
36
36
  states: {
37
37
  showCloseButton: props.closeButton && engagementMedium === "POPUP",
@@ -1,4 +1,4 @@
1
- import { h } from './index-60f16d0a.js';
1
+ import { h } from './index-91e7729f.js';
2
2
  import { c as createStyleSheet } from './JSS-67b5cff8.js';
3
3
 
4
4
  function PortalSectionView(props) {
@@ -1,8 +1,8 @@
1
- import { h } from './index-60f16d0a.js';
2
- import { i as intl } from './global-3611a2b7.js';
1
+ import { h } from './index-91e7729f.js';
2
+ import { i as intl } from './global-bedc4329.js';
3
3
  import { c as createStyleSheet } from './JSS-67b5cff8.js';
4
4
  import { A as AuthWrapper, a as AuthColumn } from './mixins-83f90fa1.js';
5
- import { T as TextSpanView } from './sqm-text-span-view-d1b54710.js';
5
+ import { T as TextSpanView } from './sqm-text-span-view-ca32495e.js';
6
6
 
7
7
  const style = {
8
8
  Wrapper: AuthWrapper,
@@ -1,20 +1,20 @@
1
- import { r as registerInstance, h as h$1 } from './index-60f16d0a.js';
2
- import { k as useState, m as useRef, f as useEffect, n as h } from './stencil-hooks.module-e20edc0b.js';
3
- import './global-3611a2b7.js';
4
- import { h as hn, u as un, K, c as xn, e as useCallback, i as isDemo } from './index.module-f3d96fbb.js';
1
+ import { r as registerInstance, h as h$1 } from './index-91e7729f.js';
2
+ import { k as useState, m as useRef, f as useEffect, n as h } from './stencil-hooks.module-4bc38af4.js';
3
+ import './global-bedc4329.js';
4
+ import { l as ln, n as nn, J, j as jn, u as useCallback, i as isDemo } from './index.module-a2989d3c.js';
5
5
  import { c as cjs } from './cjs-bdfb4486.js';
6
6
  import './JSS-67b5cff8.js';
7
7
  import './mixins-83f90fa1.js';
8
- import './sqm-text-span-view-d1b54710.js';
9
- import { P as PortalEmailVerificationView } from './sqm-portal-email-verification-view-d500dd01.js';
8
+ import './sqm-text-span-view-ca32495e.js';
9
+ import { P as PortalEmailVerificationView } from './sqm-portal-email-verification-view-44c8970f.js';
10
10
 
11
11
  function usePortalEmailVerification(props) {
12
12
  var _a, _b, _c, _d, _e, _f, _g, _h, _j;
13
- const [request, { loading, data, errors }] = hn();
14
- const [getVerificationStatus, { data: user, loading: loadingVerification }] = un();
15
- const userIdent = K();
13
+ const [request, { loading, data, errors }] = ln();
14
+ const [getVerificationStatus, { data: user, loading: loadingVerification }] = nn();
15
+ const userIdent = J();
16
16
  const email = (_a = userIdent === null || userIdent === void 0 ? void 0 : userIdent.managedIdentity) === null || _a === void 0 ? void 0 : _a.email;
17
- const urlParams = new URLSearchParams(xn.location.search);
17
+ const urlParams = new URLSearchParams(jn.location.search);
18
18
  const nextPage = urlParams.get("nextPage");
19
19
  const [success, setSuccess] = useState(false);
20
20
  const [error, setError] = useState("");
@@ -44,7 +44,7 @@ function usePortalEmailVerification(props) {
44
44
  const data = (await getVerificationStatus());
45
45
  if ((_a = data === null || data === void 0 ? void 0 : data.managedIdentitySession) === null || _a === void 0 ? void 0 : _a.emailVerified) {
46
46
  clearInterval(timerRef.current);
47
- return xn.push({
47
+ return jn.push({
48
48
  pathname: props.redirectPath,
49
49
  search: urlParams.toString() && "?" + urlParams.toString(),
50
50
  });
@@ -1,7 +1,7 @@
1
- import { h } from './index-60f16d0a.js';
1
+ import { h } from './index-91e7729f.js';
2
2
  import { c as createStyleSheet } from './JSS-67b5cff8.js';
3
3
  import { A as AuthWrapper, a as AuthColumn, b as AuthButtonsContainer } from './mixins-83f90fa1.js';
4
- import { T as TextSpanView } from './sqm-text-span-view-d1b54710.js';
4
+ import { T as TextSpanView } from './sqm-text-span-view-ca32495e.js';
5
5
 
6
6
  const style = {
7
7
  Wrapper: AuthWrapper,
@@ -1,19 +1,19 @@
1
- import { r as registerInstance, h as h$1 } from './index-60f16d0a.js';
2
- import { k as useState, n as h } from './stencil-hooks.module-e20edc0b.js';
3
- import { v as vn, c as xn, i as isDemo } from './index.module-f3d96fbb.js';
1
+ import { r as registerInstance, h as h$1 } from './index-91e7729f.js';
2
+ import { k as useState, n as h } from './stencil-hooks.module-4bc38af4.js';
3
+ import { c as un, j as jn, i as isDemo } from './index.module-a2989d3c.js';
4
4
  import { j as jsonpointer } from './jsonpointer-388a7082.js';
5
5
  import { c as cjs } from './cjs-bdfb4486.js';
6
6
  import './JSS-67b5cff8.js';
7
7
  import './mixins-83f90fa1.js';
8
- import './sqm-text-span-view-d1b54710.js';
9
- import { P as PortalForgotPasswordView } from './sqm-portal-forgot-password-view-4f6c89a7.js';
8
+ import './sqm-text-span-view-ca32495e.js';
9
+ import { P as PortalForgotPasswordView } from './sqm-portal-forgot-password-view-3d3182f1.js';
10
10
 
11
11
  function usePortalForgotPassword(props) {
12
12
  var _a, _b, _c, _d, _e, _f, _g;
13
13
  const [success, setSuccess] = useState(false);
14
14
  const [error, setError] = useState("");
15
- const [request, { loading, data, errors }] = vn();
16
- const urlParams = new URLSearchParams(xn.location.search);
15
+ const [request, { loading, data, errors }] = un();
16
+ const urlParams = new URLSearchParams(jn.location.search);
17
17
  const nextPage = urlParams.get("nextPage");
18
18
  const submit = async (event) => {
19
19
  var _a;
@@ -102,7 +102,7 @@ const PortalForgotPassword = class {
102
102
  ? usePortalForgotPasswordDemo(this)
103
103
  : usePortalForgotPassword(this);
104
104
  const content = {
105
- secondaryButton: (h$1("slot", { name: "secondaryButton" }, h$1("sl-button", { type: "text", disabled: states.loading, onClick: () => xn.push(states.loginPath) }, this.loginText))),
105
+ secondaryButton: (h$1("slot", { name: "secondaryButton" }, h$1("sl-button", { type: "text", disabled: states.loading, onClick: () => jn.push(states.loginPath) }, this.loginText))),
106
106
  messageSlot: h$1("slot", { name: "messageSlot" }, this.headerText),
107
107
  emailLabel: this.emailLabel,
108
108
  submitLabel: this.submitLabel,
@@ -1,20 +1,78 @@
1
- import { r as registerInstance, h as h$1 } from './index-60f16d0a.js';
2
- import { k as useState, n as h } from './stencil-hooks.module-e20edc0b.js';
3
- import { o, i as isDemo, c as xn } from './index.module-f3d96fbb.js';
1
+ import { r as registerInstance, h as h$1 } from './index-91e7729f.js';
2
+ import { k as useState, n as h } from './stencil-hooks.module-4bc38af4.js';
3
+ import { i as isDemo, j as jn } from './index.module-a2989d3c.js';
4
4
  import { j as jsonpointer } from './jsonpointer-388a7082.js';
5
5
  import { c as cjs } from './cjs-bdfb4486.js';
6
6
  import { c as createStyleSheet } from './JSS-67b5cff8.js';
7
7
  import './mixins-83f90fa1.js';
8
- import './sqm-text-span-view-d1b54710.js';
9
- import { u as useRegistrationFormState } from './useRegistrationFormState-33f9cb24.js';
10
- import { B as BaseRegistrationFormView } from './sqm-base-registration-form-view-dd481f19.js';
11
- import { P as PortalRegistrationFormView } from './sqm-portal-registration-form-view-20b9c9bc.js';
8
+ import './sqm-text-span-view-ca32495e.js';
9
+ import { a as useRegistrationForm } from './useRegistrationFormState-01cdd8c7.js';
10
+ import { B as BaseRegistrationFormView } from './sqm-base-registration-form-view-98c4db70.js';
11
+ import { P as PortalRegistrationFormView } from './sqm-portal-registration-form-view-90e2bfd5.js';
12
12
  import './AsYouType-46f67d0d.js';
13
- import { u as usePortalRegistrationForm } from './usePortalRegistrationForm-e8ec6d4e.js';
13
+ import { u as usePortalRegistrationForm } from './usePortalRegistrationForm-5715c7a5.js';
14
+
15
+ class InvalidTokenError extends Error {
16
+ }
17
+ InvalidTokenError.prototype.name = "InvalidTokenError";
18
+ function b64DecodeUnicode(str) {
19
+ return decodeURIComponent(atob(str).replace(/(.)/g, (m, p) => {
20
+ let code = p.charCodeAt(0).toString(16).toUpperCase();
21
+ if (code.length < 2) {
22
+ code = "0" + code;
23
+ }
24
+ return "%" + code;
25
+ }));
26
+ }
27
+ function base64UrlDecode(str) {
28
+ let output = str.replace(/-/g, "+").replace(/_/g, "/");
29
+ switch (output.length % 4) {
30
+ case 0:
31
+ break;
32
+ case 2:
33
+ output += "==";
34
+ break;
35
+ case 3:
36
+ output += "=";
37
+ break;
38
+ default:
39
+ throw new Error("base64 string is not of the correct length");
40
+ }
41
+ try {
42
+ return b64DecodeUnicode(output);
43
+ }
44
+ catch (err) {
45
+ return atob(output);
46
+ }
47
+ }
48
+ function jwtDecode(token, options) {
49
+ if (typeof token !== "string") {
50
+ throw new InvalidTokenError("Invalid token specified: must be a string");
51
+ }
52
+ options || (options = {});
53
+ const pos = options.header === true ? 0 : 1;
54
+ const part = token.split(".")[pos];
55
+ if (typeof part !== "string") {
56
+ throw new InvalidTokenError(`Invalid token specified: missing part #${pos + 1}`);
57
+ }
58
+ let decoded;
59
+ try {
60
+ decoded = base64UrlDecode(part);
61
+ }
62
+ catch (e) {
63
+ throw new InvalidTokenError(`Invalid token specified: invalid base64 for part #${pos + 1} (${e.message})`);
64
+ }
65
+ try {
66
+ return JSON.parse(decoded);
67
+ }
68
+ catch (e) {
69
+ throw new InvalidTokenError(`Invalid token specified: invalid json for part #${pos + 1} (${e.message})`);
70
+ }
71
+ }
14
72
 
15
73
  function usePortalGoogleRegistrationForm(props) {
16
74
  const [emailValidationError, setEmailValidationError] = useState(null);
17
- const { registrationFormState, setRegistrationFormState } = useRegistrationFormState();
75
+ const [registrationFormState, setRegistrationFormState] = useRegistrationForm();
18
76
  const [showRegistrationForm, setShowRegistrationForm] = useState({
19
77
  mode: "base",
20
78
  });
@@ -53,16 +111,18 @@ function usePortalGoogleRegistrationForm(props) {
53
111
  setShowRegistrationForm({ mode: "manual" });
54
112
  };
55
113
  const handleGoogleInit = (event) => {
114
+ var _a;
115
+ if (!((_a = event.detail) === null || _a === void 0 ? void 0 : _a.credential))
116
+ return;
56
117
  try {
57
- const res = o(event.detail);
58
- // TODO: Double check
118
+ const res = jwtDecode(event.detail.credential);
59
119
  setRegistrationFormState({
60
120
  ...registrationFormState,
121
+ _googleOAuthIdToken: event.detail.credential,
61
122
  initialData: {
62
- ...registrationFormState.initialData,
63
- email: res.payload.email,
64
- firstName: res.payload.given_name,
65
- lastName: res.payload.family_name,
123
+ email: res.email,
124
+ firstName: res.given_name,
125
+ lastName: res.family_name,
66
126
  },
67
127
  });
68
128
  setShowRegistrationForm({ mode: "google" });
@@ -207,6 +267,12 @@ const PortalGoogleRegistrationForm = class {
207
267
  * @uiName Missing number or symbol text
208
268
  */
209
269
  this.hasErrorText = "contain at least 1 number or symbol";
270
+ /**
271
+ * Can be "signup_with", "signin_with", "continue_with", or "signin"
272
+ *
273
+ * @uiName Google button text
274
+ */
275
+ this.googleButtonText = "signup_with";
210
276
  h(this);
211
277
  }
212
278
  disconnectedCallback() { }
@@ -226,8 +292,8 @@ const PortalGoogleRegistrationForm = class {
226
292
  const { handleGoogleInit, handleEmailSubmit, showRegistrationForm, emailValidationError, } = isDemo() ? useGoogleDemo(this) : usePortalGoogleRegistrationForm(this);
227
293
  const content = {
228
294
  formData: h$1("slot", { name: "formData" }),
229
- googleButton: (h$1("sqm-google-sign-in", { onInitComplete: handleGoogleInit })),
230
- secondaryButton: (h$1("slot", { name: "secondaryButton" }, h$1("style", null, styleString), h$1("span", null, this.loginCTA, " ", h$1("sl-button", { type: "text", disabled: states.loading, onClick: () => xn.push(states.loginPath), className: sheet.classes.LoginButton }, this.loginLabel), " "))),
295
+ googleButton: (h$1("sqm-google-sign-in", { text: this.googleButtonText, onInitComplete: handleGoogleInit })),
296
+ secondaryButton: (h$1("slot", { name: "secondaryButton" }, h$1("style", null, styleString), h$1("span", null, this.loginCTA, " ", h$1("sl-button", { size: "large", type: "text", disabled: states.loading, onClick: () => jn.push(states.loginPath), className: sheet.classes.LoginButton }, this.loginLabel), " "))),
231
297
  terms: h$1("slot", { name: "terms" }),
232
298
  emailLabel: this.emailLabel,
233
299
  passwordLabel: this.passwordLabel,
@@ -281,6 +347,7 @@ function useRegisterDemo(props) {
281
347
  content: {
282
348
  pageLabel: "Register",
283
349
  formData: null,
350
+ passwordField: null,
284
351
  },
285
352
  refs: {
286
353
  formRef: {},
@@ -1,10 +1,10 @@
1
- import { r as registerInstance } from './index-60f16d0a.js';
2
- import { n as h } from './stencil-hooks.module-e20edc0b.js';
3
- import { b as setUserIdentity, c as xn, i as isDemo } from './index.module-f3d96fbb.js';
1
+ import { r as registerInstance } from './index-91e7729f.js';
2
+ import { n as h } from './stencil-hooks.module-4bc38af4.js';
3
+ import { b as setUserIdentity, j as jn, i as isDemo } from './index.module-a2989d3c.js';
4
4
 
5
5
  function usePortalLogout({ nextPage }) {
6
6
  setUserIdentity(undefined);
7
- xn.push({ pathname: nextPage, search: "" });
7
+ jn.push({ pathname: nextPage, search: "" });
8
8
  }
9
9
 
10
10
  const PortalLogout = class {
@@ -1,7 +1,7 @@
1
- import { h } from './index-60f16d0a.js';
2
- import { i as intl } from './global-3611a2b7.js';
1
+ import { h } from './index-91e7729f.js';
2
+ import { i as intl } from './global-bedc4329.js';
3
3
  import { c as createStyleSheet } from './JSS-67b5cff8.js';
4
- import { T as TextSpanView } from './sqm-text-span-view-d1b54710.js';
4
+ import { T as TextSpanView } from './sqm-text-span-view-ca32495e.js';
5
5
 
6
6
  function PortalProfileView(props) {
7
7
  var _a, _b, _c, _d, _e;
@@ -1,13 +1,13 @@
1
- import { r as registerInstance, h as h$1 } from './index-60f16d0a.js';
2
- import { k as useState, f as useEffect, n as h } from './stencil-hooks.module-e20edc0b.js';
3
- import './global-3611a2b7.js';
4
- import { d as dist, K, E as En, x as xe, i as isDemo } from './index.module-f3d96fbb.js';
1
+ import { r as registerInstance, h as h$1 } from './index-91e7729f.js';
2
+ import { k as useState, f as useEffect, n as h } from './stencil-hooks.module-4bc38af4.js';
3
+ import './global-bedc4329.js';
4
+ import { d as dist, J, w as wn, $ as $e, i as isDemo } from './index.module-a2989d3c.js';
5
5
  import { c as cjs } from './cjs-bdfb4486.js';
6
6
  import { g as getProps } from './utils-334c1e34.js';
7
7
  import './JSS-67b5cff8.js';
8
- import './sqm-text-span-view-d1b54710.js';
9
- import { P as PortalProfileView } from './sqm-portal-profile-view-2997f902.js';
10
- import { i as isEmpty } from './utilities-33996ce7.js';
8
+ import './sqm-text-span-view-ca32495e.js';
9
+ import { P as PortalProfileView } from './sqm-portal-profile-view-39039274.js';
10
+ import { i as isEmpty } from './utilities-863d06d1.js';
11
11
 
12
12
  const GET_USER = dist.gql `
13
13
  query {
@@ -53,12 +53,12 @@ const defaultFormState = {
53
53
  error: "",
54
54
  };
55
55
  function usePortalProfile(props) {
56
- const userIdent = K();
56
+ const userIdent = J();
57
57
  const [success, setSuccess] = useState(false);
58
58
  const [userData, setUserData] = useState(undefined);
59
59
  const [formState, setFormState] = useState(defaultFormState);
60
- const userDataResponse = En(GET_USER, {}, !(userIdent === null || userIdent === void 0 ? void 0 : userIdent.jwt));
61
- const [upsertUser, upsertUserResponse] = xe(UPSERT_USER);
60
+ const userDataResponse = wn(GET_USER, {}, !(userIdent === null || userIdent === void 0 ? void 0 : userIdent.jwt));
61
+ const [upsertUser, upsertUserResponse] = $e(UPSERT_USER);
62
62
  useEffect(() => {
63
63
  if (upsertUserResponse === null || upsertUserResponse === void 0 ? void 0 : upsertUserResponse.loading)
64
64
  return;
@@ -1,24 +1,24 @@
1
- import { r as registerInstance, h as h$1, c as Host } from './index-60f16d0a.js';
2
- import { f as useEffect, n as h } from './stencil-hooks.module-e20edc0b.js';
3
- import { K, j as jn, c as xn, i as isDemo } from './index.module-f3d96fbb.js';
1
+ import { r as registerInstance, h as h$1, c as Host } from './index-91e7729f.js';
2
+ import { f as useEffect, n as h } from './stencil-hooks.module-4bc38af4.js';
3
+ import { J, k as kn, j as jn, i as isDemo } from './index.module-a2989d3c.js';
4
4
 
5
5
  function usePortalProtectedRoute({ requireEmailVerification, redirectTo, redirectToUnverified, }) {
6
6
  var _a;
7
- const userIdent = K();
7
+ const userIdent = J();
8
8
  const authenticated = !!(userIdent === null || userIdent === void 0 ? void 0 : userIdent.jwt);
9
9
  const emailVerified = (_a = userIdent === null || userIdent === void 0 ? void 0 : userIdent.managedIdentity) === null || _a === void 0 ? void 0 : _a.emailVerified;
10
- const { pathname, search } = jn();
10
+ const { pathname, search } = kn();
11
11
  const nextPageParam = new URLSearchParams();
12
12
  nextPageParam.append("nextPage", `${pathname}${search}`);
13
13
  useEffect(() => {
14
14
  if (!authenticated) {
15
- return xn.push({
15
+ return jn.push({
16
16
  pathname: redirectTo,
17
17
  search: "?" + nextPageParam.toString(),
18
18
  });
19
19
  }
20
20
  if (requireEmailVerification && !emailVerified) {
21
- return xn.push({
21
+ return jn.push({
22
22
  pathname: redirectToUnverified || redirectTo,
23
23
  search: "?" + nextPageParam.toString(),
24
24
  });
@@ -1,7 +1,7 @@
1
- import { h } from './index-60f16d0a.js';
1
+ import { h } from './index-91e7729f.js';
2
2
  import { c as createStyleSheet } from './JSS-67b5cff8.js';
3
3
  import { A as AuthWrapper, a as AuthColumn, H as HostBlock, b as AuthButtonsContainer, E as ErrorStyles } from './mixins-83f90fa1.js';
4
- import { T as TextSpanView } from './sqm-text-span-view-d1b54710.js';
4
+ import { T as TextSpanView } from './sqm-text-span-view-ca32495e.js';
5
5
 
6
6
  const style = {
7
7
  Wrapper: { ...AuthWrapper, "max-width": "600px" },