@saasquatch/mint-components 1.5.6-4 → 1.6.0-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 (369) hide show
  1. package/dist/cjs/{ShadowViewAddon-1bbdf477.js → ShadowViewAddon-67ab6be4.js} +16 -16
  2. package/dist/cjs/{global-22fb2ec7.js → global-aaa3f929.js} +2 -2
  3. package/dist/cjs/{index.module-fb61a163.js → index.module-b9e4136f.js} +21 -21
  4. package/dist/cjs/loader.cjs.js +2 -2
  5. package/dist/cjs/mint-components.cjs.js +2 -2
  6. package/dist/cjs/{re-render-7248fc06.js → re-render-90da06a2.js} +4 -4
  7. package/dist/cjs/sqm-asset-card.cjs.entry.js +2 -2
  8. package/dist/cjs/sqm-big-stat_35.cjs.entry.js +151 -216
  9. package/dist/cjs/sqm-empty_5.cjs.entry.js +2 -2
  10. package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +5 -5
  11. package/dist/cjs/sqm-hero.cjs.entry.js +7 -15
  12. package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +6 -6
  13. package/dist/cjs/{sqm-navigation-sidebar-item-view-52ab014f.js → sqm-navigation-sidebar-item-view-919190ec.js} +2 -2
  14. package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +4 -4
  15. package/dist/cjs/sqm-password-field.cjs.entry.js +4 -7
  16. package/dist/cjs/sqm-popup-container.cjs.entry.js +4 -4
  17. package/dist/cjs/{sqm-portal-email-verification-view-fc30fd1a.js → sqm-portal-email-verification-view-83e44767.js} +1 -1
  18. package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +13 -12
  19. package/dist/cjs/{sqm-portal-footer-view-78528c31.js → sqm-portal-footer-view-b2dc31a2.js} +1 -1
  20. package/dist/cjs/sqm-portal-footer.cjs.entry.js +3 -3
  21. package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +11 -10
  22. package/dist/cjs/sqm-portal-logout.cjs.entry.js +5 -5
  23. package/dist/cjs/{sqm-portal-profile-view-64e85659.js → sqm-portal-profile-view-3b7650df.js} +1 -1
  24. package/dist/cjs/sqm-portal-profile.cjs.entry.js +15 -25
  25. package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +7 -7
  26. package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +20 -21
  27. package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +11 -10
  28. package/dist/cjs/sqm-referral-table_11.cjs.entry.js +14 -27
  29. package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +2 -2
  30. package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +14 -18
  31. package/dist/cjs/sqm-stencilbook.cjs.entry.js +162 -91
  32. package/dist/cjs/sqm-tabs.cjs.entry.js +3 -3
  33. package/dist/cjs/{useChildElements-24538fc5.js → useChildElements-315320bd.js} +2 -2
  34. package/dist/cjs/{useReferralTable-1e71d2dc.js → useReferralTable-32fed069.js} +8 -8
  35. package/dist/collection/components/sqm-asset-card/sqm-asset-card.js +2 -2
  36. package/dist/collection/components/sqm-big-stat/sqm-big-stat.js +8 -14
  37. package/dist/collection/components/sqm-brand/sqm-brand.js +2 -2
  38. package/dist/collection/components/sqm-card-feed/sqm-card-feed.js +0 -2
  39. package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field.js +10 -11
  40. package/dist/collection/components/sqm-divided-layout/sqm-divided-layout.js +4 -4
  41. package/dist/collection/components/sqm-dropdown-field/sqm-dropdown-field.js +5 -5
  42. package/dist/collection/components/sqm-edit-profile/sqm-edit-profile.js +9 -9
  43. package/dist/collection/components/sqm-empty/sqm-empty.js +0 -1
  44. package/dist/collection/components/sqm-form-message/sqm-form-message.js +3 -3
  45. package/dist/collection/components/sqm-hero/sqm-hero.js +15 -23
  46. package/dist/collection/components/sqm-hero-image/sqm-hero-image.js +3 -8
  47. package/dist/collection/components/sqm-hook-story-container/sqm-hook-story-container.js +0 -3
  48. package/dist/collection/components/sqm-image/sqm-image.js +0 -1
  49. package/dist/collection/components/sqm-leaderboard/Leaderboard.stories.js +74 -2
  50. package/dist/collection/components/sqm-leaderboard/sqm-leaderboard.js +8 -12
  51. package/dist/collection/components/sqm-leaderboard-rank/sqm-leaderboard-rank.js +4 -8
  52. package/dist/collection/components/sqm-name-fields/sqm-name-fields.js +4 -4
  53. package/dist/collection/components/sqm-navigation-menu/sqm-navigation-menu.js +3 -3
  54. package/dist/collection/components/sqm-navigation-sidebar/sqm-navigation-sidebar.js +1 -1
  55. package/dist/collection/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item.js +1 -1
  56. package/dist/collection/components/sqm-password-field/sqm-password-field.js +6 -9
  57. package/dist/collection/components/sqm-popup-container/sqm-popup-container.js +11 -11
  58. package/dist/collection/components/sqm-portal-change-password/sqm-portal-change-password.js +22 -34
  59. package/dist/collection/components/sqm-portal-change-password/usePortalChangePassword.js +2 -2
  60. package/dist/collection/components/sqm-portal-container/sqm-portal-container.js +4 -6
  61. package/dist/collection/components/sqm-portal-email-verification/sqm-portal-email-verification.js +8 -8
  62. package/dist/collection/components/sqm-portal-email-verification/usePortalEmailVerification.js +3 -2
  63. package/dist/collection/components/sqm-portal-forgot-password/sqm-portal-forgot-password.js +8 -8
  64. package/dist/collection/components/sqm-portal-forgot-password/usePortalForgotPassword.js +3 -2
  65. package/dist/collection/components/sqm-portal-login/sqm-portal-login.js +26 -42
  66. package/dist/collection/components/sqm-portal-login/usePortalLogin.js +3 -2
  67. package/dist/collection/components/sqm-portal-logout/sqm-portal-logout.js +2 -2
  68. package/dist/collection/components/sqm-portal-profile/sqm-portal-profile.js +21 -31
  69. package/dist/collection/components/sqm-portal-protected-route/sqm-portal-protected-route.js +2 -2
  70. package/dist/collection/components/sqm-portal-register/sqm-portal-register.js +28 -36
  71. package/dist/collection/components/sqm-portal-register/usePortalRegister.js +2 -2
  72. package/dist/collection/components/sqm-portal-reset-password/sqm-portal-reset-password.js +21 -23
  73. package/dist/collection/components/sqm-portal-reset-password/usePortalResetPassword.js +4 -3
  74. package/dist/collection/components/sqm-portal-verify-email/sqm-portal-verify-email.js +4 -4
  75. package/dist/collection/components/sqm-portal-verify-email/usePortalVerifyEmail.js +3 -2
  76. package/dist/collection/components/sqm-program-explainer/sqm-program-explainer.js +0 -3
  77. package/dist/collection/components/sqm-program-explainer-step/sqm-program-explainer-step.js +0 -3
  78. package/dist/collection/components/sqm-referral-card/sqm-referral-card.js +0 -3
  79. package/dist/collection/components/sqm-referral-iframe/sqm-referral-iframe.js +9 -11
  80. package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-column.js +0 -2
  81. package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-date-column.js +0 -2
  82. package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-rewards-column.js +0 -2
  83. package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-status-column.js +0 -2
  84. package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-user-column.js +6 -12
  85. package/dist/collection/components/sqm-referral-table/sqm-referral-table.js +14 -25
  86. package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list.js +13 -23
  87. package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-date-column.js +0 -2
  88. package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-note-column.js +0 -2
  89. package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-reward-column.js +2 -4
  90. package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-source-column.js +8 -14
  91. package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-status-column.js +0 -2
  92. package/dist/collection/components/sqm-rewards-table/sqm-rewards-table.js +0 -2
  93. package/dist/collection/components/sqm-route/sqm-route.js +1 -1
  94. package/dist/collection/components/sqm-scroll/sqm-scroll.js +0 -2
  95. package/dist/collection/components/sqm-share-button/sqm-share-button.js +15 -27
  96. package/dist/collection/components/sqm-share-code/sqm-share-code.js +7 -7
  97. package/dist/collection/components/sqm-share-link/sqm-share-link.js +7 -7
  98. package/dist/collection/components/sqm-stat-container/sqm-stat-container.js +2 -5
  99. package/dist/collection/components/sqm-tab/sqm-tab.js +0 -4
  100. package/dist/collection/components/sqm-tabs/Tabs.stories.js +1 -2
  101. package/dist/collection/components/sqm-tabs/sqm-tabs.js +0 -5
  102. package/dist/collection/components/sqm-task-card/sqm-task-card.js +8 -96
  103. package/dist/collection/components/sqm-text-span/sqm-text-span.js +1 -1
  104. package/dist/collection/components/sqm-timeline/sqm-timeline-entry.js +0 -3
  105. package/dist/collection/components/sqm-timeline/sqm-timeline.js +2 -5
  106. package/dist/collection/components/sqm-titled-section/sqm-titled-section.js +4 -6
  107. package/dist/collection/components/sqm-user-name/sqm-user-name.js +5 -7
  108. package/dist/esm/{ShadowViewAddon-e2996624.js → ShadowViewAddon-2b1e68bd.js} +18 -18
  109. package/dist/esm/{global-5c84f57f.js → global-3b481fc7.js} +3 -3
  110. package/dist/esm/{index.module-f5e17a4e.js → index.module-23da8fa0.js} +4 -4
  111. package/dist/esm/loader.js +4 -4
  112. package/dist/esm/{luxon-f44215d9.js → luxon-578505e2.js} +1 -1
  113. package/dist/esm/mint-components.js +4 -4
  114. package/dist/esm/{re-render-69774e13.js → re-render-3368de52.js} +5 -5
  115. package/dist/esm/sqm-asset-card.entry.js +4 -4
  116. package/dist/esm/sqm-big-stat_35.entry.js +154 -219
  117. package/dist/esm/sqm-empty_5.entry.js +3 -3
  118. package/dist/esm/sqm-form-message.entry.js +1 -1
  119. package/dist/esm/sqm-graphql-client-provider.entry.js +7 -7
  120. package/dist/esm/{sqm-hero-view-71d1202f.js → sqm-hero-view-b54265df.js} +2 -2
  121. package/dist/esm/sqm-hero.entry.js +10 -18
  122. package/dist/esm/sqm-leaderboard-rank.entry.js +8 -8
  123. package/dist/esm/{sqm-navigation-sidebar-item-view-51714c31.js → sqm-navigation-sidebar-item-view-fbbc41b5.js} +2 -2
  124. package/dist/esm/sqm-navigation-sidebar-item.entry.js +6 -6
  125. package/dist/esm/sqm-navigation-sidebar.entry.js +1 -1
  126. package/dist/esm/sqm-password-field.entry.js +6 -9
  127. package/dist/esm/sqm-popup-container.entry.js +6 -6
  128. package/dist/esm/{sqm-portal-email-verification-view-ac38b167.js → sqm-portal-email-verification-view-825ee492.js} +1 -1
  129. package/dist/esm/sqm-portal-email-verification.entry.js +15 -14
  130. package/dist/esm/{sqm-portal-footer-view-a6d09022.js → sqm-portal-footer-view-fd0225f4.js} +1 -1
  131. package/dist/esm/sqm-portal-footer.entry.js +5 -5
  132. package/dist/esm/sqm-portal-forgot-password.entry.js +13 -12
  133. package/dist/esm/sqm-portal-logout.entry.js +7 -7
  134. package/dist/esm/{sqm-portal-profile-view-419d1eb9.js → sqm-portal-profile-view-61c2c482.js} +1 -1
  135. package/dist/esm/sqm-portal-profile.entry.js +17 -27
  136. package/dist/esm/sqm-portal-protected-route.entry.js +9 -9
  137. package/dist/esm/sqm-portal-reset-password.entry.js +22 -23
  138. package/dist/esm/sqm-portal-verify-email.entry.js +13 -12
  139. package/dist/esm/sqm-referral-table_11.entry.js +17 -30
  140. package/dist/esm/sqm-rewards-table-customer-note-cell.entry.js +1 -1
  141. package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +4 -4
  142. package/dist/esm/sqm-rewards-table_9.entry.js +17 -21
  143. package/dist/esm/sqm-stencilbook.entry.js +166 -95
  144. package/dist/esm/sqm-tabs.entry.js +5 -5
  145. package/dist/esm/sqm-text-span.entry.js +1 -1
  146. package/dist/esm/{stencil-hooks.module-acc8a613.js → stencil-hooks.module-e39af977.js} +1 -1
  147. package/dist/esm/{use-callback-7e0bfd3b.js → use-callback-697e2ff0.js} +1 -1
  148. package/dist/esm/{useChildElements-a8347aea.js → useChildElements-ad0746fa.js} +3 -3
  149. package/dist/esm/{useReferralTable-5cac5b13.js → useReferralTable-8fe4bd12.js} +9 -9
  150. package/dist/esm-es5/ShadowViewAddon-2b1e68bd.js +1 -0
  151. package/dist/esm-es5/{global-5c84f57f.js → global-3b481fc7.js} +2 -2
  152. package/dist/esm-es5/{index.module-f5e17a4e.js → index.module-23da8fa0.js} +1 -1
  153. package/dist/esm-es5/loader.js +1 -1
  154. package/dist/esm-es5/{luxon-f44215d9.js → luxon-578505e2.js} +1 -1
  155. package/dist/esm-es5/mint-components.js +1 -1
  156. package/dist/esm-es5/{re-render-69774e13.js → re-render-3368de52.js} +1 -1
  157. package/dist/esm-es5/sqm-asset-card.entry.js +1 -1
  158. package/dist/esm-es5/sqm-big-stat_35.entry.js +1 -1
  159. package/dist/esm-es5/sqm-empty_5.entry.js +1 -1
  160. package/dist/esm-es5/sqm-form-message.entry.js +1 -1
  161. package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
  162. package/dist/esm-es5/{sqm-hero-view-71d1202f.js → sqm-hero-view-b54265df.js} +1 -1
  163. package/dist/esm-es5/sqm-hero.entry.js +1 -1
  164. package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
  165. package/dist/esm-es5/sqm-navigation-sidebar-item-view-fbbc41b5.js +1 -0
  166. package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
  167. package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
  168. package/dist/esm-es5/sqm-password-field.entry.js +1 -1
  169. package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
  170. package/dist/esm-es5/{sqm-portal-email-verification-view-ac38b167.js → sqm-portal-email-verification-view-825ee492.js} +1 -1
  171. package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
  172. package/dist/esm-es5/{sqm-portal-footer-view-a6d09022.js → sqm-portal-footer-view-fd0225f4.js} +1 -1
  173. package/dist/esm-es5/sqm-portal-footer.entry.js +1 -1
  174. package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -1
  175. package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
  176. package/dist/esm-es5/{sqm-portal-profile-view-419d1eb9.js → sqm-portal-profile-view-61c2c482.js} +1 -1
  177. package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
  178. package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -1
  179. package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
  180. package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
  181. package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
  182. package/dist/esm-es5/sqm-rewards-table-customer-note-cell.entry.js +1 -1
  183. package/dist/esm-es5/sqm-rewards-table-customer-note-column.entry.js +1 -1
  184. package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
  185. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  186. package/dist/esm-es5/sqm-tabs.entry.js +1 -1
  187. package/dist/esm-es5/sqm-text-span.entry.js +1 -1
  188. package/dist/esm-es5/{stencil-hooks.module-acc8a613.js → stencil-hooks.module-e39af977.js} +1 -1
  189. package/dist/esm-es5/use-callback-697e2ff0.js +1 -0
  190. package/dist/esm-es5/{useChildElements-a8347aea.js → useChildElements-ad0746fa.js} +1 -1
  191. package/dist/esm-es5/useReferralTable-8fe4bd12.js +1 -0
  192. package/dist/mint-components/mint-components.esm.js +1 -1
  193. package/dist/mint-components/mint-components.js +1 -1
  194. package/dist/mint-components/p-0568ccb2.system.entry.js +1 -0
  195. package/dist/mint-components/{p-f92e3e87.system.js → p-0732a954.system.js} +1 -1
  196. package/dist/mint-components/p-076a5ca5.entry.js +1 -0
  197. package/dist/mint-components/{p-f6d3a2d4.system.js → p-092c73b2.system.js} +1 -1
  198. package/dist/mint-components/p-09d29174.entry.js +1 -0
  199. package/dist/mint-components/{p-48f9babc.system.entry.js → p-0accfb5c.system.entry.js} +1 -1
  200. package/dist/mint-components/p-0b115074.system.entry.js +1 -0
  201. package/dist/mint-components/{p-bd7b8620.system.entry.js → p-1706b667.system.entry.js} +1 -1
  202. package/dist/mint-components/{p-3970de96.js → p-1f1ea7b5.js} +1 -1
  203. package/dist/mint-components/p-2617d103.system.entry.js +1 -0
  204. package/dist/mint-components/{p-78640db1.system.entry.js → p-2620c909.system.entry.js} +1 -1
  205. package/dist/mint-components/{p-63136070.system.entry.js → p-2b7af7c4.system.entry.js} +1 -1
  206. package/dist/mint-components/{p-4b0e876f.js → p-2d37c91f.js} +2 -2
  207. package/dist/mint-components/{p-27455c4c.js → p-30b3592f.js} +1 -1
  208. package/dist/mint-components/p-37232f63.system.js +1 -0
  209. package/dist/mint-components/{p-0494f792.js → p-37f18cb2.js} +1 -1
  210. package/dist/mint-components/{p-e1d01511.system.js → p-3d6b2357.system.js} +1 -1
  211. package/dist/mint-components/p-3dd20384.entry.js +1 -0
  212. package/dist/mint-components/{p-82ecbcd1.js → p-40104334.js} +1 -1
  213. package/dist/mint-components/p-408f983a.system.js +1 -0
  214. package/dist/mint-components/{p-6738565c.entry.js → p-41633759.entry.js} +1 -1
  215. package/dist/mint-components/p-4502a264.entry.js +1 -0
  216. package/dist/mint-components/{p-bbf96ff3.system.js → p-4519c6d9.system.js} +1 -1
  217. package/dist/mint-components/{p-e707831a.entry.js → p-46aabfb7.entry.js} +1 -1
  218. package/dist/mint-components/{p-ee26e870.entry.js → p-48476882.entry.js} +2 -2
  219. package/dist/mint-components/{p-cf9cfac0.entry.js → p-48a1e759.entry.js} +1 -1
  220. package/dist/mint-components/{p-e0d5d38e.system.entry.js → p-5eec9992.system.entry.js} +1 -1
  221. package/dist/mint-components/{p-60de562c.entry.js → p-6237c202.entry.js} +1 -1
  222. package/dist/mint-components/{p-12a9ade0.entry.js → p-692db6d6.entry.js} +2 -2
  223. package/dist/mint-components/{p-37ea62c3.entry.js → p-69ebe7e3.entry.js} +2 -2
  224. package/dist/mint-components/{p-4ebe044d.entry.js → p-69f10938.entry.js} +1 -1
  225. package/dist/mint-components/p-69fbe6a4.entry.js +1 -0
  226. package/dist/mint-components/{p-5cdcff11.system.entry.js → p-6ae460a6.system.entry.js} +1 -1
  227. package/dist/mint-components/{p-6549ad6a.system.js → p-6b5830c0.system.js} +1 -1
  228. package/dist/mint-components/{p-596902cd.system.entry.js → p-6badb7b8.system.entry.js} +1 -1
  229. package/dist/mint-components/{p-3facf714.js → p-6cb7ca36.js} +1 -1
  230. package/dist/mint-components/{p-38d6112f.entry.js → p-6e33fcfe.entry.js} +1 -1
  231. package/dist/mint-components/{p-eb314fed.js → p-72ebbd38.js} +1 -1
  232. package/dist/mint-components/{p-13086b8d.js → p-75b9bdf1.js} +1 -1
  233. package/dist/mint-components/{p-4ac2d13b.system.entry.js → p-7607d5b8.system.entry.js} +1 -1
  234. package/dist/mint-components/{p-232672a2.entry.js → p-7669b806.entry.js} +2 -2
  235. package/dist/mint-components/{p-c0d24b76.system.entry.js → p-79db0843.system.entry.js} +1 -1
  236. package/dist/mint-components/{p-3c96bae3.entry.js → p-7cec4e63.entry.js} +1 -1
  237. package/dist/mint-components/{p-95398ce2.js → p-85087b21.js} +1 -1
  238. package/dist/mint-components/{p-dcdbf128.system.js → p-8a0aa2c2.system.js} +1 -1
  239. package/dist/mint-components/{p-6ee04453.entry.js → p-8f09f202.entry.js} +1 -1
  240. package/dist/mint-components/p-90efeeb4.entry.js +1 -0
  241. package/dist/mint-components/{p-7794c289.js → p-916a8f50.js} +1 -1
  242. package/dist/mint-components/{p-e01d8fdc.system.js → p-98164439.system.js} +1 -1
  243. package/dist/mint-components/{p-4f8830b7.entry.js → p-9a03d2d8.entry.js} +1 -1
  244. package/dist/mint-components/p-a2c865c1.system.entry.js +1 -0
  245. package/dist/mint-components/{p-94096609.system.js → p-a7fe3715.system.js} +1 -1
  246. package/dist/mint-components/{p-fd4d90b9.system.js → p-a96702e2.system.js} +1 -1
  247. package/dist/mint-components/p-ab2f103f.system.entry.js +1 -0
  248. package/dist/mint-components/p-b0edbe25.system.entry.js +1 -0
  249. package/dist/mint-components/{p-e2f8b782.system.entry.js → p-b1918aeb.system.entry.js} +1 -1
  250. package/dist/mint-components/p-b46d6eb0.entry.js +1 -0
  251. package/dist/mint-components/{p-5ab46a89.entry.js → p-bc72afd4.entry.js} +1 -1
  252. package/dist/mint-components/{p-819298a8.system.js → p-bef21e92.system.js} +1 -1
  253. package/dist/mint-components/p-bfcd61f9.entry.js +1 -0
  254. package/dist/mint-components/p-c34200f5.entry.js +159 -0
  255. package/dist/mint-components/{p-c0a8476e.system.entry.js → p-c4b55529.system.entry.js} +1 -1
  256. package/dist/mint-components/p-c564c4bf.entry.js +1 -0
  257. package/dist/mint-components/{p-7548e059.system.entry.js → p-c6c911a5.system.entry.js} +1 -1
  258. package/dist/mint-components/{p-d3cc0d60.system.js → p-c750d5c5.system.js} +1 -1
  259. package/dist/mint-components/{p-a6d4cffd.system.entry.js → p-c8c83a9e.system.entry.js} +1 -1
  260. package/dist/mint-components/{p-ba99d04e.system.entry.js → p-c922af25.system.entry.js} +1 -1
  261. package/dist/mint-components/p-c9afecee.system.entry.js +1 -0
  262. package/dist/mint-components/{p-f7fba9e4.system.entry.js → p-c9f239c4.system.entry.js} +1 -1
  263. package/dist/mint-components/{p-19042a54.system.entry.js → p-cdf31925.system.entry.js} +1 -1
  264. package/dist/mint-components/{p-f298a1bc.system.entry.js → p-ce86e36f.system.entry.js} +1 -1
  265. package/dist/mint-components/{p-c7d34b6a.system.entry.js → p-db3637b4.system.entry.js} +1 -1
  266. package/dist/mint-components/{p-48ec6605.system.js → p-dc7b06ef.system.js} +1 -1
  267. package/dist/mint-components/{p-e4e5168b.entry.js → p-e9a11c35.entry.js} +1 -1
  268. package/dist/mint-components/p-ea63fd6f.entry.js +1 -0
  269. package/dist/mint-components/p-ee461c80.js +1 -0
  270. package/dist/mint-components/{p-28d44352.js → p-f4008f63.js} +1 -1
  271. package/dist/mint-components/{p-047a840f.system.entry.js → p-f86ba72a.system.entry.js} +1 -1
  272. package/dist/mint-components/{p-97650e34.js → p-f97cf424.js} +1 -1
  273. package/dist/mint-components/{p-0ee797b8.system.js → p-fb7288a2.system.js} +1 -1
  274. package/dist/mint-components/p-fc789a00.js +1 -0
  275. package/dist/types/components/sqm-asset-card/sqm-asset-card.d.ts +2 -2
  276. package/dist/types/components/sqm-big-stat/sqm-big-stat.d.ts +5 -13
  277. package/dist/types/components/sqm-brand/sqm-brand.d.ts +2 -2
  278. package/dist/types/components/sqm-card-feed/sqm-card-feed.d.ts +0 -2
  279. package/dist/types/components/sqm-checkbox-field/sqm-checkbox-field.d.ts +5 -6
  280. package/dist/types/components/sqm-divided-layout/sqm-divided-layout.d.ts +2 -2
  281. package/dist/types/components/sqm-dropdown-field/sqm-dropdown-field.d.ts +3 -3
  282. package/dist/types/components/sqm-edit-profile/sqm-edit-profile.d.ts +7 -10
  283. package/dist/types/components/sqm-empty/sqm-empty.d.ts +0 -1
  284. package/dist/types/components/sqm-form-message/sqm-form-message.d.ts +2 -8
  285. package/dist/types/components/sqm-hero/sqm-hero.d.ts +8 -20
  286. package/dist/types/components/sqm-hero-image/sqm-hero-image.d.ts +1 -6
  287. package/dist/types/components/sqm-hook-story-container/sqm-hook-story-container.d.ts +0 -3
  288. package/dist/types/components/sqm-image/sqm-image.d.ts +0 -1
  289. package/dist/types/components/sqm-leaderboard/sqm-leaderboard.d.ts +7 -9
  290. package/dist/types/components/sqm-leaderboard-rank/sqm-leaderboard-rank.d.ts +4 -8
  291. package/dist/types/components/sqm-name-fields/sqm-name-fields.d.ts +2 -2
  292. package/dist/types/components/sqm-navigation-menu/sqm-navigation-menu.d.ts +2 -4
  293. package/dist/types/components/sqm-navigation-sidebar/sqm-navigation-sidebar.d.ts +1 -1
  294. package/dist/types/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item.d.ts +1 -1
  295. package/dist/types/components/sqm-password-field/sqm-password-field.d.ts +2 -5
  296. package/dist/types/components/sqm-popup-container/sqm-popup-container.d.ts +6 -21
  297. package/dist/types/components/sqm-portal-change-password/sqm-portal-change-password.d.ts +8 -20
  298. package/dist/types/components/sqm-portal-container/sqm-portal-container.d.ts +3 -7
  299. package/dist/types/components/sqm-portal-email-verification/sqm-portal-email-verification.d.ts +4 -4
  300. package/dist/types/components/sqm-portal-forgot-password/sqm-portal-forgot-password.d.ts +4 -4
  301. package/dist/types/components/sqm-portal-login/sqm-portal-login.d.ts +9 -25
  302. package/dist/types/components/sqm-portal-logout/sqm-portal-logout.d.ts +1 -1
  303. package/dist/types/components/sqm-portal-profile/sqm-portal-profile.d.ts +8 -18
  304. package/dist/types/components/sqm-portal-protected-route/sqm-portal-protected-route.d.ts +1 -1
  305. package/dist/types/components/sqm-portal-register/sqm-portal-register.d.ts +12 -20
  306. package/dist/types/components/sqm-portal-reset-password/sqm-portal-reset-password.d.ts +10 -12
  307. package/dist/types/components/sqm-portal-verify-email/sqm-portal-verify-email.d.ts +2 -2
  308. package/dist/types/components/sqm-program-explainer/sqm-program-explainer.d.ts +0 -3
  309. package/dist/types/components/sqm-program-explainer-step/sqm-program-explainer-step.d.ts +0 -3
  310. package/dist/types/components/sqm-referral-card/sqm-referral-card.d.ts +0 -3
  311. package/dist/types/components/sqm-referral-iframe/sqm-referral-iframe.d.ts +4 -7
  312. package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-column.d.ts +0 -2
  313. package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-date-column.d.ts +0 -2
  314. package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-rewards-column.d.ts +0 -2
  315. package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-status-column.d.ts +0 -2
  316. package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-user-column.d.ts +2 -8
  317. package/dist/types/components/sqm-referral-table/sqm-referral-table.d.ts +6 -17
  318. package/dist/types/components/sqm-reward-exchange-list/sqm-reward-exchange-list.d.ts +9 -19
  319. package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-date-column.d.ts +0 -2
  320. package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-note-column.d.ts +0 -2
  321. package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-reward-column.d.ts +1 -3
  322. package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-source-column.d.ts +3 -9
  323. package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-status-column.d.ts +0 -2
  324. package/dist/types/components/sqm-rewards-table/sqm-rewards-table.d.ts +0 -2
  325. package/dist/types/components/sqm-route/sqm-route.d.ts +1 -1
  326. package/dist/types/components/sqm-scroll/sqm-scroll.d.ts +0 -2
  327. package/dist/types/components/sqm-share-button/sqm-share-button.d.ts +9 -26
  328. package/dist/types/components/sqm-share-code/sqm-share-code.d.ts +2 -3
  329. package/dist/types/components/sqm-share-link/sqm-share-link.d.ts +2 -3
  330. package/dist/types/components/sqm-stat-container/sqm-stat-container.d.ts +1 -4
  331. package/dist/types/components/sqm-tab/sqm-tab.d.ts +0 -4
  332. package/dist/types/components/sqm-tabs/sqm-tabs.d.ts +0 -5
  333. package/dist/types/components/sqm-task-card/sqm-task-card.d.ts +8 -35
  334. package/dist/types/components/sqm-text-span/sqm-text-span.d.ts +1 -1
  335. package/dist/types/components/sqm-timeline/sqm-timeline-entry.d.ts +0 -3
  336. package/dist/types/components/sqm-timeline/sqm-timeline.d.ts +2 -5
  337. package/dist/types/components/sqm-titled-section/sqm-titled-section.d.ts +2 -4
  338. package/dist/types/components/sqm-user-name/sqm-user-name.d.ts +2 -4
  339. package/dist/types/components.d.ts +318 -478
  340. package/grapesjs/grapesjs.js +1 -1
  341. package/package.json +5 -12
  342. package/dist/esm-es5/ShadowViewAddon-e2996624.js +0 -1
  343. package/dist/esm-es5/sqm-navigation-sidebar-item-view-51714c31.js +0 -1
  344. package/dist/esm-es5/use-callback-7e0bfd3b.js +0 -1
  345. package/dist/esm-es5/useReferralTable-5cac5b13.js +0 -1
  346. package/dist/mint-components/p-25ac7c14.system.entry.js +0 -1
  347. package/dist/mint-components/p-4a1f24ef.entry.js +0 -1
  348. package/dist/mint-components/p-4a2782fd.system.entry.js +0 -1
  349. package/dist/mint-components/p-4fe59c93.system.entry.js +0 -1
  350. package/dist/mint-components/p-60b01103.js +0 -1
  351. package/dist/mint-components/p-6e1ed926.system.entry.js +0 -1
  352. package/dist/mint-components/p-71969ce5.system.entry.js +0 -1
  353. package/dist/mint-components/p-71ecbb3b.system.js +0 -1
  354. package/dist/mint-components/p-83e4168e.system.entry.js +0 -1
  355. package/dist/mint-components/p-91acec3d.entry.js +0 -159
  356. package/dist/mint-components/p-95bbe8a7.entry.js +0 -1
  357. package/dist/mint-components/p-982ad256.js +0 -1
  358. package/dist/mint-components/p-9eb6d960.entry.js +0 -1
  359. package/dist/mint-components/p-a57057c4.system.entry.js +0 -1
  360. package/dist/mint-components/p-ac6c93ee.entry.js +0 -1
  361. package/dist/mint-components/p-cc6d91bd.entry.js +0 -1
  362. package/dist/mint-components/p-cccba50e.entry.js +0 -1
  363. package/dist/mint-components/p-d7bc7e50.entry.js +0 -1
  364. package/dist/mint-components/p-d815567f.system.js +0 -1
  365. package/dist/mint-components/p-ef3f3523.entry.js +0 -1
  366. package/dist/mint-components/p-fd2852a7.entry.js +0 -1
  367. package/dist/mint-components/p-ff932bfa.entry.js +0 -1
  368. package/docs/docs.docx +0 -0
  369. package/docs/raisins.json +0 -1
@@ -1,29 +1,27 @@
1
1
  import { r as registerInstance, h as h$1, c as Host } from './index-17b4da69.js';
2
- import { m as h, e as useEffect, k as useState, y, o as d, f as useRef, b as browser, u as useReducer } from './stencil-hooks.module-acc8a613.js';
3
- import { i as intl } from './global-5c84f57f.js';
4
- import { u as useCallback } from './use-callback-7e0bfd3b.js';
5
- import { j as jn, P, d as dist, i as ie, b as sn, q as qe, M, A as An, r as rn, c as dn, g as $e, E as Ee, D as De, H as He, l as ln, R as Rn } from './index.module-f5e17a4e.js';
2
+ import { m as h, e as useEffect, k as useState, y, o as d, i as useRef, b as browser, u as useReducer } from './stencil-hooks.module-e39af977.js';
3
+ import { i as intl } from './global-3b481fc7.js';
4
+ import { u as useCallback } from './use-callback-697e2ff0.js';
5
+ import { L, S, d as dist, a as ae, p as pn, $ as $e, A, O, b as mn, w as wn, U as Ue, V as Ve, g as He, G as Ge, e as bn, J } from './index.module-23da8fa0.js';
6
6
  import './extends-c31f1eff.js';
7
7
  import { j as jsonpointer } from './jsonpointer-388a7082.js';
8
8
  import { c as cjs } from './cjs-bdfb4486.js';
9
9
  import './mixins-f60a614c.js';
10
10
  import { c as createStyleSheet } from './JSS-f00f9536.js';
11
- import { a as useRequestRerender } from './re-render-69774e13.js';
12
- import { u as useChildElements } from './useChildElements-a8347aea.js';
13
- import './luxon-f44215d9.js';
11
+ import { a as useRequestRerender } from './re-render-3368de52.js';
12
+ import { u as useChildElements } from './useChildElements-ad0746fa.js';
13
+ import './luxon-578505e2.js';
14
14
  import { g as getProps, a as getMissingProps, s as sanitizeUrlPath } from './utils-334c1e34.js';
15
15
  import './sqm-text-span-view-0ba1484d.js';
16
16
  import './sqm-portal-container-view-ca454627.js';
17
- import { c as useDemoBigStat, K as useBigStat, B as BigStatView, H as autoColorScaleCss, G as CardFeedView, C as CheckboxFieldView, D as DropdownFieldView, E as EditProfileView, I as InputFieldView, M as withShadowView, L as LeaderboardView, N as NameFieldsView, e as PortalChangePasswordView, P as PortalFrameView, f as PortalLoginView, g as PortalRegisterView, R as ReferralIframeView, O as demoRewardExchange, i as RewardExchangeView, Q as pathToRegexp, b as useShareButton, S as ShareButtonView, a as ShareLinkView, u as useShareLink, d as StatContainerView, T as TaskCardView } from './ShadowViewAddon-e2996624.js';
17
+ import { c as useDemoBigStat, K as useBigStat, B as BigStatView, H as autoColorScaleCss, G as CardFeedView, C as CheckboxFieldView, D as DropdownFieldView, E as EditProfileView, I as InputFieldView, M as withShadowView, L as LeaderboardView, N as NameFieldsView, e as PortalChangePasswordView, P as PortalFrameView, f as PortalLoginView, g as PortalRegisterView, R as ReferralIframeView, O as demoRewardExchange, i as RewardExchangeView, Q as pathToRegexp, b as useShareButton, S as ShareButtonView, a as ShareLinkView, u as useShareLink, d as StatContainerView, T as TaskCardView } from './ShadowViewAddon-2b1e68bd.js';
18
18
  import './sqm-portal-section-view-6c249c74.js';
19
19
 
20
20
  const BigStat = class {
21
21
  constructor(hostRef) {
22
22
  registerInstance(this, hostRef);
23
23
  /**
24
- * Controls the order of the stat value & description column
25
- *
26
- * @uiName Flex Reverse
24
+ * @uiName Flex Reverse - controls the order of the stat value & description column
27
25
  */
28
26
  this.flexReverse = false;
29
27
  this.ignored = true;
@@ -32,8 +30,8 @@ const BigStat = class {
32
30
  disconnectedCallback() { }
33
31
  render() {
34
32
  var _a;
35
- const { props, label } = jn() ? useDemoBigStat(this) : useBigStat(this);
36
- const host = P();
33
+ const { props, label } = L() ? useDemoBigStat(this) : useBigStat(this);
34
+ const host = S();
37
35
  const hasLabel = !!((_a = host.innerHTML) === null || _a === void 0 ? void 0 : _a.trim());
38
36
  const labelSlot = h$1("slot", { name: "label" }, hasLabel ? h$1("slot", null) : label);
39
37
  return h$1(BigStatView, Object.assign({}, props, { labelSlot: labelSlot }));
@@ -145,7 +143,7 @@ const styleString = sheet.toString();
145
143
  function RequiredPropsError({ missingProps, heading = "There was a problem loading this section", subheading = "There was a technical problem that prevented this section from loading. Please contact us with the link to this page.", description = "Error occured while loading <{tagName}>. Values for the following attributes are missing:", }, children) {
146
144
  if (!missingProps)
147
145
  return false;
148
- const host = P();
146
+ const host = S();
149
147
  const [detailsOpen, setDetailsOpen] = useState(false);
150
148
  return (h$1("sl-alert", { type: "danger", open: true },
151
149
  h$1("style", { type: "text/css" }, styleString),
@@ -175,7 +173,7 @@ function RequiredPropsError({ missingProps, heading = "There was a problem loadi
175
173
 
176
174
  const FORM_VALIDATION_CONTEXT = "sq:validation-state";
177
175
  function useValidationState(formState) {
178
- const host = P();
176
+ const host = S();
179
177
  const [validationState, setValidationState] = y(host, FORM_VALIDATION_CONTEXT, formState);
180
178
  return { validationState, setValidationState };
181
179
  }
@@ -199,21 +197,20 @@ const CheckboxField = class {
199
197
  registerInstance(this, hostRef);
200
198
  this.ignored = true;
201
199
  /**
202
- * @uiName Checkbox Label
200
+ * @uiName Checkbox label
203
201
  */
204
202
  this.checkboxLabel = "By signing up you agree to the {labelLink}";
205
203
  /**
204
+ * @uiName Checkbox label link
206
205
  * Used with link text if the checkbox label contains {labelLink}
207
- *
208
- * @uiName Checkbox Label Link
209
206
  */
210
207
  this.checkboxLabelLink = "https://example.com";
211
208
  /**
212
- * @uiName Checkbox Label Link Text
209
+ * @uiName Checkbox label link text
213
210
  */
214
211
  this.checkboxLabelLinkText = "Terms and Conditions";
215
212
  /**
216
- * @uiName Unchecked Error Message
213
+ * @uiName Unchecked error message
217
214
  */
218
215
  this.errorMessage = "Must be checked";
219
216
  /**
@@ -230,13 +227,13 @@ const CheckboxField = class {
230
227
  value: this.checkboxName,
231
228
  },
232
229
  ]);
233
- if (!jn() && missingProps) {
230
+ if (!L() && missingProps) {
234
231
  return (h$1(RequiredPropsError, { missingProps: missingProps, heading: "An error occured while loading this form", subheading: "A technical problem prevented this checkbox field from loading. Please contact us with the link to this page.", description: "Values for the following attributes are missing:" }));
235
232
  }
236
233
  const content = {
237
234
  ...getProps(this),
238
235
  };
239
- const { states, callbacks } = jn()
236
+ const { states, callbacks } = L()
240
237
  ? useCheckboxFieldDemo(this)
241
238
  : useCheckboxField();
242
239
  return (h$1(CheckboxFieldView, { states: states, content: content, callbacks: callbacks }));
@@ -309,8 +306,8 @@ const DividedLayout = class {
309
306
  constructor(hostRef) {
310
307
  registerInstance(this, hostRef);
311
308
  /**
312
- * Uses Shorthand CSS border syntax
313
- * @uiName Border Style
309
+ * Uses CSS border style syntax
310
+ * @uiName Border style
314
311
  */
315
312
  this.dividerStyle = "1px solid #EAEAEA";
316
313
  h(this);
@@ -335,11 +332,11 @@ const DropdownField = class {
335
332
  registerInstance(this, hostRef);
336
333
  this.ignored = true;
337
334
  /**
338
- * @uiName Dropdown Label
335
+ * @uiName Dropdown label
339
336
  */
340
337
  this.dropdownLabel = "Select an option";
341
338
  /**
342
- * @uiName Unselected Error Message
339
+ * @uiName Unselected error message
343
340
  */
344
341
  this.errorMessage = "Select an option";
345
342
  /**
@@ -356,14 +353,14 @@ const DropdownField = class {
356
353
  value: this.dropdownName,
357
354
  },
358
355
  ]);
359
- if (!jn() && missingProps) {
356
+ if (!L() && missingProps) {
360
357
  return (h$1(RequiredPropsError, { missingProps: missingProps, heading: "An error occured while loading this form", subheading: "A technical problem prevented this drop down field from loading. Please contact us with the link to this page.", description: "Values for the following attributes are missing:" }, h$1("slot", null)));
361
358
  }
362
359
  const content = {
363
360
  ...getProps(this),
364
361
  selectOptions: h$1("slot", null),
365
362
  };
366
- const { states } = jn()
363
+ const { states } = L()
367
364
  ? useDropdownFieldDemo(this)
368
365
  : useDropdownField();
369
366
  return (h$1(DropdownFieldView, { states: states, content: content }));
@@ -420,13 +417,13 @@ const defaultFormState = {
420
417
  error: "",
421
418
  };
422
419
  function useEditProfile(props) {
423
- const userIdent = ie();
420
+ const userIdent = ae();
424
421
  const [showEdit, setShowEdit] = useState(false);
425
422
  const [error, setError] = useState("");
426
423
  const [userData, setUserData] = useState(undefined);
427
424
  const [formState, setFormState] = useState(defaultFormState);
428
- const userDataResponse = sn(GET_USER, {}, !(userIdent === null || userIdent === void 0 ? void 0 : userIdent.jwt));
429
- const [upsertUser, upsertUserResponse] = qe(UPSERT_USER);
425
+ const userDataResponse = pn(GET_USER, {}, !(userIdent === null || userIdent === void 0 ? void 0 : userIdent.jwt));
426
+ const [upsertUser, upsertUserResponse] = $e(UPSERT_USER);
430
427
  useEffect(() => {
431
428
  if ((upsertUserResponse === null || upsertUserResponse === void 0 ? void 0 : upsertUserResponse.loading) || !showEdit)
432
429
  return;
@@ -540,7 +537,7 @@ const EditProfile = class {
540
537
  }
541
538
  disconnectedCallback() { }
542
539
  render() {
543
- const props = jn()
540
+ const props = L()
544
541
  ? useEditProfileDemo(getProps(this))
545
542
  : useEditProfile(getProps(this));
546
543
  return h$1(EditProfileView, Object.assign({}, props));
@@ -772,9 +769,7 @@ const HeroImage = class {
772
769
  */
773
770
  this.imageMobilePos = "top";
774
771
  /**
775
- * CTA Button Opens Link in New Tab
776
- *
777
- * @uiName Button New Tab
772
+ * @uiName CTA Button Link Open in New Tab
778
773
  */
779
774
  this.buttonNewTab = false;
780
775
  /**
@@ -853,10 +848,10 @@ const InputField = class {
853
848
  value: this.fieldName,
854
849
  },
855
850
  ]);
856
- if (!jn() && missingProps) {
851
+ if (!L() && missingProps) {
857
852
  return (h$1(RequiredPropsError, { missingProps: missingProps, heading: "An error occured while loading this form", subheading: "A technical problem prevented this input field from loading. Please contact us with the link to this page.", description: "Values for the following attributes are missing:" }));
858
853
  }
859
- const { states } = jn() ? useInputFieldDemo(this) : useInputField();
854
+ const { states } = L() ? useInputFieldDemo(this) : useInputField();
860
855
  return h$1(InputFieldView, { states: states, content: content });
861
856
  }
862
857
  };
@@ -912,11 +907,11 @@ const GET_RANK = dist.gql `
912
907
  `;
913
908
  function useLeaderboard(props) {
914
909
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
915
- const programIdContext = M();
910
+ const programIdContext = A();
916
911
  // Default to context, overriden by props
917
912
  const programId = (_a = props.programId) !== null && _a !== void 0 ? _a : programIdContext;
918
- const user = ie();
919
- const locale = An();
913
+ const user = ae();
914
+ const locale = O();
920
915
  const variables = programId
921
916
  ? {
922
917
  type: props.leaderboardType,
@@ -935,8 +930,8 @@ function useLeaderboard(props) {
935
930
  if (props.maxRows > 0) {
936
931
  variables["limit"] = props.maxRows;
937
932
  }
938
- const { data: leaderboardData, loading: loadingLeaderboard } = sn(GET_LEADERBOARD, variables, !(user === null || user === void 0 ? void 0 : user.jwt));
939
- const { data: rankData } = sn(GET_RANK, variables, !(user === null || user === void 0 ? void 0 : user.jwt));
933
+ const { data: leaderboardData, loading: loadingLeaderboard } = pn(GET_LEADERBOARD, variables, !(user === null || user === void 0 ? void 0 : user.jwt));
934
+ const { data: rankData } = pn(GET_RANK, variables, !(user === null || user === void 0 ? void 0 : user.jwt));
940
935
  const leaderboardRows = (_b = leaderboardData === null || leaderboardData === void 0 ? void 0 : leaderboardData.userLeaderboard) === null || _b === void 0 ? void 0 : _b.rows;
941
936
  const flattenedLeaderboard = getFlattenedLeaderboard(leaderboardRows);
942
937
  const sortedLeaderboard = flattenedLeaderboard === null || flattenedLeaderboard === void 0 ? void 0 : flattenedLeaderboard.sort(function (a, b) {
@@ -989,8 +984,9 @@ const Leaderboard = class {
989
984
  */
990
985
  this.hideViewer = false;
991
986
  /**
992
- * Title displayed for users without names
993
- * @uiName Unknown User Text
987
+ * Text displayed for users without names in the leaderboard
988
+ *
989
+ * @uiName Anonymous User Name
994
990
  */
995
991
  this.anonymousUser = "Anonymous User";
996
992
  /**
@@ -1021,7 +1017,7 @@ const Leaderboard = class {
1021
1017
  showRank: this.showRank,
1022
1018
  };
1023
1019
  const demoProps = { ...props, demoData: this.demoData };
1024
- const viewprops = jn()
1020
+ const viewprops = L()
1025
1021
  ? useLeaderboardDemo(demoProps)
1026
1022
  : useLeaderboard(props);
1027
1023
  return h$1(LeaderboardView, Object.assign({}, viewprops));
@@ -1120,18 +1116,18 @@ const NameFields = class {
1120
1116
  registerInstance(this, hostRef);
1121
1117
  this.ignored = true;
1122
1118
  /**
1123
- * @uiName First Name label
1119
+ * @uiName First name field label
1124
1120
  */
1125
1121
  this.firstNameLabel = "First Name";
1126
1122
  /**
1127
- * @uiName Last Name label
1123
+ * @uiName Last name field label
1128
1124
  */
1129
1125
  this.lastNameLabel = "Last Name";
1130
1126
  h(this);
1131
1127
  }
1132
1128
  disconnectedCallback() { }
1133
1129
  render() {
1134
- const { states } = jn() ? useNameFieldsDemo(this) : useNameFields(this);
1130
+ const { states } = L() ? useNameFieldsDemo(this) : useNameFields(this);
1135
1131
  return h$1(NameFieldsView, { states: states });
1136
1132
  }
1137
1133
  };
@@ -1162,12 +1158,12 @@ function NavigationMenuView(props) {
1162
1158
  }
1163
1159
 
1164
1160
  function handleMenu(e) {
1165
- dn.push(e.detail.item.value);
1161
+ wn.push(e.detail.item.value);
1166
1162
  }
1167
1163
  function useNavigationMenu(props) {
1168
1164
  const ref = useRef();
1169
- const [, rerender] = rn();
1170
- const user = ie();
1165
+ const [, rerender] = mn();
1166
+ const user = ae();
1171
1167
  useEffect(() => {
1172
1168
  var _a;
1173
1169
  (_a = ref.current) === null || _a === void 0 ? void 0 : _a.addEventListener("sl-select", (e) => handleMenu(e));
@@ -1196,7 +1192,7 @@ const NavigationMenu = class {
1196
1192
  }
1197
1193
  disconnectedCallback() { }
1198
1194
  render() {
1199
- const props = jn()
1195
+ const props = L()
1200
1196
  ? useNavigationMenuDemo(getProps(this))
1201
1197
  : useNavigationMenu(getProps(this));
1202
1198
  return (h$1(Host, { slot: "sqm-navigation-menu" }, h$1(NavigationMenuView, Object.assign({}, props))));
@@ -1220,12 +1216,12 @@ function useNavigationMenuDemo(props) {
1220
1216
  NavigationMenu.style = sqmNavigationMenuCss;
1221
1217
 
1222
1218
  function usePortalChangePassword(props) {
1223
- var _a, _b, _c, _d;
1224
- const [request, { loading, errors, data }] = $e();
1219
+ var _a, _b, _c, _d, _e, _f, _g, _h;
1220
+ const [request, { loading, errors, data }] = Ue();
1225
1221
  const [open, setOpen] = useState(false);
1226
1222
  const [error, setError] = useState("");
1227
1223
  const [success, setSuccess] = useState(false);
1228
- const user = ie();
1224
+ const user = ae();
1229
1225
  const submit = async (event) => {
1230
1226
  var _a;
1231
1227
  setSuccess(false);
@@ -1258,7 +1254,7 @@ function usePortalChangePassword(props) {
1258
1254
  open,
1259
1255
  loading,
1260
1256
  success,
1261
- error: error || ((_d = (_c = (_b = errors === null || errors === void 0 ? void 0 : errors.response) === null || _b === void 0 ? void 0 : _b.errors) === null || _c === void 0 ? void 0 : _c[0]) === null || _d === void 0 ? void 0 : _d.message),
1257
+ error: error || ((_e = (_d = (_c = (_b = errors === null || errors === void 0 ? void 0 : errors.response) === null || _b === void 0 ? void 0 : _b.errors) === null || _c === void 0 ? void 0 : _c[0]) === null || _d === void 0 ? void 0 : _d.extensions) === null || _e === void 0 ? void 0 : _e.message) || ((_h = (_g = (_f = errors === null || errors === void 0 ? void 0 : errors.response) === null || _f === void 0 ? void 0 : _f.errors) === null || _g === void 0 ? void 0 : _g[0]) === null || _h === void 0 ? void 0 : _h.message),
1262
1258
  content: {
1263
1259
  modalChangePasswordHeader: props.modalChangePasswordHeader,
1264
1260
  cancelText: props.cancelText,
@@ -1283,54 +1279,42 @@ const PortalChangePassword = class {
1283
1279
  registerInstance(this, hostRef);
1284
1280
  this.ignored = true;
1285
1281
  /**
1286
- * @uiName Change Password Modal Header
1282
+ * @uiName Change password modal header
1287
1283
  */
1288
1284
  this.modalChangePasswordHeader = "Change Password";
1289
1285
  /**
1290
- * Modal cancel button text
1291
- *
1292
- * @uiName Cancel Button Text
1286
+ * @uiName Modal cancel password change button text
1293
1287
  */
1294
1288
  this.cancelText = "Cancel";
1295
1289
  /**
1296
- * Modal change password button text
1297
- *
1298
- * @uiName Change Password Button Text
1290
+ * @uiName Modal change password button text
1299
1291
  */
1300
1292
  this.changePasswordButtonText = "Change Password";
1301
1293
  /**
1302
- * Password input field label
1303
- *
1304
- * @uiName Password Label
1294
+ * @uiName Password input field label
1305
1295
  */
1306
1296
  this.passwordFieldLabel = "New Password";
1307
1297
  /**
1308
- * Password confirmation input field label
1309
- *
1310
- * @uiName Confirm Password Label
1298
+ * @uiName Password confirmation input field label
1311
1299
  */
1312
1300
  this.confirmPasswordFieldLabel = "Confirm New Password";
1313
1301
  /**
1314
- * Successful password change message
1315
- *
1316
- * @uiName Successful Message
1302
+ * @uiName Successful password change message
1317
1303
  */
1318
1304
  this.successMessage = "Your password has been updated.";
1319
1305
  /**
1320
- * Portal change password section header
1321
- *
1322
- * @uiName Change Password Header
1306
+ * @uiName Portal change password section header
1323
1307
  */
1324
1308
  this.portalChangePasswordHeader = "Password";
1325
1309
  /**
1326
- * @uiName Change Password Button Text
1310
+ * @uiName Portal change password button text
1327
1311
  */
1328
1312
  this.portalChangePasswordButtonText = "Change your password...";
1329
1313
  h(this);
1330
1314
  }
1331
1315
  disconnectedCallback() { }
1332
1316
  render() {
1333
- const { states, callbacks } = jn()
1317
+ const { states, callbacks } = L()
1334
1318
  ? usePortalChangePasswordDemo(this)
1335
1319
  : usePortalChangePassword(this);
1336
1320
  return h$1(PortalChangePasswordView, { states: states, callbacks: callbacks });
@@ -1360,7 +1344,7 @@ function usePortalChangePasswordDemo(props) {
1360
1344
  }
1361
1345
 
1362
1346
  function usePortalFrame(footerContent, headerContent) {
1363
- const [, rerender] = rn();
1347
+ const [, rerender] = mn();
1364
1348
  return {
1365
1349
  data: {
1366
1350
  footer: footerContent,
@@ -1382,7 +1366,7 @@ const PortalFrame = class {
1382
1366
  render() {
1383
1367
  const footerContent = h$1("slot", { name: "footer" });
1384
1368
  const headerContent = h$1("slot", { name: "header" });
1385
- const props = jn()
1369
+ const props = L()
1386
1370
  ? usePortalFrameDemo(footerContent, headerContent, this)
1387
1371
  : usePortalFrame(footerContent, headerContent);
1388
1372
  return (h$1(PortalFrameView, Object.assign({}, props), h$1("slot", null)));
@@ -1404,8 +1388,8 @@ function usePortalFrameDemo(footerContent, headerContent, props) {
1404
1388
  }
1405
1389
 
1406
1390
  function usePortalLogin(props) {
1407
- var _a, _b, _c, _d;
1408
- const [request, { loading, errors, data }] = Ee();
1391
+ var _a, _b, _c, _d, _e, _f, _g, _h;
1392
+ const [request, { loading, errors, data }] = Ve();
1409
1393
  const [error, setError] = useState("");
1410
1394
  const urlParams = new URLSearchParams(window.location.search);
1411
1395
  const nextPageOverride = urlParams.get("nextPage");
@@ -1423,7 +1407,7 @@ function usePortalLogin(props) {
1423
1407
  if ((_a = data === null || data === void 0 ? void 0 : data.authenticateManagedIdentityWithEmailAndPassword) === null || _a === void 0 ? void 0 : _a.token) {
1424
1408
  urlParams.delete("nextPage");
1425
1409
  const url = sanitizeUrlPath(nextPageOverride || props.nextPage);
1426
- dn.push(url.href);
1410
+ wn.push(url.href);
1427
1411
  }
1428
1412
  }, [(_a = data === null || data === void 0 ? void 0 : data.authenticateManagedIdentityWithEmailAndPassword) === null || _a === void 0 ? void 0 : _a.token]);
1429
1413
  useEffect(() => {
@@ -1432,7 +1416,8 @@ function usePortalLogin(props) {
1432
1416
  setError("Network request failed.");
1433
1417
  }
1434
1418
  }, [errors]);
1435
- const errorMessage = ((_d = (_c = (_b = errors === null || errors === void 0 ? void 0 : errors.response) === null || _b === void 0 ? void 0 : _b.errors) === null || _c === void 0 ? void 0 : _c[0]) === null || _d === void 0 ? void 0 : _d.message) || error;
1419
+ const errorMessage = ((_e = (_d = (_c = (_b = errors === null || errors === void 0 ? void 0 : errors.response) === null || _b === void 0 ? void 0 : _b.errors) === null || _c === void 0 ? void 0 : _c[0]) === null || _d === void 0 ? void 0 : _d.extensions) === null || _e === void 0 ? void 0 : _e.message) || ((_h = (_g = (_f = errors === null || errors === void 0 ? void 0 : errors.response) === null || _f === void 0 ? void 0 : _f.errors) === null || _g === void 0 ? void 0 : _g[0]) === null || _h === void 0 ? void 0 : _h.message) ||
1420
+ error;
1436
1421
  return {
1437
1422
  states: {
1438
1423
  loading,
@@ -1451,67 +1436,51 @@ const PortalLogin = class {
1451
1436
  registerInstance(this, hostRef);
1452
1437
  this.ignored = true;
1453
1438
  /**
1454
- * Page navigated to after sign-in
1455
- *
1456
- * @uiName Next Page Path
1439
+ * @uiName Page navigated to after sign-in
1457
1440
  */
1458
1441
  this.nextPage = "/";
1459
1442
  /**
1460
- * Label for email field
1461
- *
1462
- * @uiName Email Label
1443
+ * @uiName Label for email field
1463
1444
  */
1464
1445
  this.emailLabel = "Email";
1465
1446
  /**
1466
- * Label for password field
1467
- *
1468
- * @uiName Password Label
1447
+ * @uiName Label for password field
1469
1448
  */
1470
1449
  this.passwordLabel = "Password";
1471
1450
  /**
1472
- * Label for submit button
1473
- *
1474
- * @uiName Submit Button Text
1451
+ * @uiName Label for submit button
1475
1452
  */
1476
1453
  this.submitLabel = "Sign In";
1477
1454
  /**
1478
- * Label for forgotten password button
1479
- *
1480
- * @uiName Forgot Password Text
1455
+ * @uiName Label for forgotten password button
1481
1456
  */
1482
1457
  this.forgotPasswordLabel = "Forgot Password?";
1483
1458
  /**
1484
- * Label for register button
1485
- *
1486
- * @uiName Register Button Text
1459
+ * @uiName Label for register navigation button
1487
1460
  */
1488
1461
  this.registerLabel = "Register";
1489
1462
  /**
1490
- * @uiName Heading Label
1463
+ * @uiName Heading label
1491
1464
  */
1492
1465
  this.pageLabel = "Sign in to your account";
1493
1466
  /**
1494
- * Register redirect path
1495
- *
1496
- * @uiName Register Path
1467
+ * @uiName Register button redirection path
1497
1468
  */
1498
1469
  this.registerPath = "/register";
1499
1470
  /**
1500
- * Forgot password redirect path
1501
- *
1502
- * @uiName Forgot Password Path
1471
+ * @uiName Forgot password button redirect path
1503
1472
  */
1504
1473
  this.forgotPasswordPath = "/forgotPassword";
1505
1474
  h(this);
1506
1475
  }
1507
1476
  disconnectedCallback() { }
1508
1477
  render() {
1509
- const { states, callbacks } = jn()
1478
+ const { states, callbacks } = L()
1510
1479
  ? useLoginDemo(this)
1511
1480
  : usePortalLogin(this);
1512
1481
  const content = {
1513
- forgotPasswordButton: (h$1("slot", { name: "forgotPassword" }, h$1("a", { onClick: () => dn.push(states.forgotPasswordPath) }, this.forgotPasswordLabel))),
1514
- secondaryButton: (h$1("slot", { name: "secondaryButton" }, h$1("sl-button", { type: "text", disabled: states.loading, onClick: () => dn.push(states.registerPath) }, this.registerLabel))),
1482
+ forgotPasswordButton: (h$1("slot", { name: "forgotPassword" }, h$1("a", { onClick: () => wn.push(states.forgotPasswordPath) }, this.forgotPasswordLabel))),
1483
+ secondaryButton: (h$1("slot", { name: "secondaryButton" }, h$1("sl-button", { type: "text", disabled: states.loading, onClick: () => wn.push(states.registerPath) }, this.registerLabel))),
1515
1484
  emailLabel: this.emailLabel,
1516
1485
  passwordLabel: this.passwordLabel,
1517
1486
  submitLabel: this.submitLabel,
@@ -5408,10 +5377,10 @@ AsYouType$1.prototype = Object.create(AsYouType.prototype, {});
5408
5377
  AsYouType$1.prototype.constructor = AsYouType$1;
5409
5378
 
5410
5379
  function usePortalRegister(props) {
5411
- var _a, _b, _c, _d, _e, _f;
5380
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
5412
5381
  const formRef = useRef(null);
5413
5382
  const { validationState, setValidationState } = useValidationState({});
5414
- const [request, { loading, errors, data }] = De();
5383
+ const [request, { loading, errors, data }] = He();
5415
5384
  const submit = async (event) => {
5416
5385
  let formControls = event.target.getFormControls();
5417
5386
  let formData = {};
@@ -5476,7 +5445,7 @@ function usePortalRegister(props) {
5476
5445
  useEffect(() => {
5477
5446
  var _a;
5478
5447
  if ((_a = data === null || data === void 0 ? void 0 : data.registerManagedIdentityWithEmailAndPassword) === null || _a === void 0 ? void 0 : _a.token) {
5479
- dn.push(props.nextPage);
5448
+ wn.push(props.nextPage);
5480
5449
  }
5481
5450
  }, [(_a = data === null || data === void 0 ? void 0 : data.registerManagedIdentityWithEmailAndPassword) === null || _a === void 0 ? void 0 : _a.token]);
5482
5451
  useEffect(() => {
@@ -5497,7 +5466,7 @@ function usePortalRegister(props) {
5497
5466
  }
5498
5467
  else {
5499
5468
  errorMessage =
5500
- ((_f = (_e = (_d = errors === null || errors === void 0 ? void 0 : errors.response) === null || _d === void 0 ? void 0 : _d.errors) === null || _e === void 0 ? void 0 : _e[0]) === null || _f === void 0 ? void 0 : _f.message) || (validationState === null || validationState === void 0 ? void 0 : validationState.error);
5469
+ ((_g = (_f = (_e = (_d = errors === null || errors === void 0 ? void 0 : errors.response) === null || _d === void 0 ? void 0 : _d.errors) === null || _e === void 0 ? void 0 : _e[0]) === null || _f === void 0 ? void 0 : _f.extensions) === null || _g === void 0 ? void 0 : _g.message) || ((_k = (_j = (_h = errors === null || errors === void 0 ? void 0 : errors.response) === null || _h === void 0 ? void 0 : _h.errors) === null || _j === void 0 ? void 0 : _j[0]) === null || _k === void 0 ? void 0 : _k.message) || (validationState === null || validationState === void 0 ? void 0 : validationState.error);
5501
5470
  }
5502
5471
  return {
5503
5472
  states: {
@@ -5523,73 +5492,65 @@ const PortalRegister = class {
5523
5492
  registerInstance(this, hostRef);
5524
5493
  this.ignored = true;
5525
5494
  /**
5526
- * Page navigated to after registration
5527
- *
5528
- * @uiName Next Page
5495
+ * @uiName Page navigated to after registration
5529
5496
  */
5530
5497
  this.nextPage = "/";
5531
5498
  /**
5532
5499
  * The page that users are redirected to from the verification email.
5533
5500
  *
5534
- * @uiName Email Redirection Base Path
5501
+ * @uiName Email redirection base path
5535
5502
  */
5536
5503
  this.redirectPath = "/verifyEmail";
5537
5504
  /**
5538
- * @uiName Email Label
5505
+ * @uiName Label for email field
5539
5506
  */
5540
5507
  this.emailLabel = "Email";
5541
5508
  /**
5542
- * @uiName Password Label
5509
+ * @uiName Label for password field
5543
5510
  */
5544
5511
  this.passwordLabel = "Password";
5545
5512
  /**
5546
- * @uiName Submit Button Text
5513
+ * @uiName Label for submit button
5547
5514
  */
5548
5515
  this.submitLabel = "Register";
5549
5516
  /**
5550
- * @uiName Login Button Text
5517
+ * @uiName Label for login navigation button
5551
5518
  */
5552
5519
  this.loginLabel = "Sign in";
5553
5520
  /**
5554
- * @uiName Confirm Password Label
5521
+ * @uiName Label for confirm password field
5555
5522
  */
5556
5523
  this.confirmPasswordLabel = "Confirm Password";
5557
5524
  /**
5558
- * Show or hide the confirm password input
5559
- *
5560
- * @uiName Show Confirm Password Field
5525
+ * @uiName Show confirm password field
5561
5526
  */
5562
5527
  this.confirmPassword = false;
5563
5528
  /**
5564
- * @uiName Enable Password Validation
5529
+ * @uiName Use password field with live validation
5565
5530
  */
5566
5531
  this.enablePasswordValidation = true;
5567
5532
  /**
5568
- * Hide default input fields to use custom fields
5569
- *
5570
- * @uiName Hide Default Inputs
5533
+ * @uiName Hide default input fields to use custom fields
5571
5534
  */
5572
5535
  this.hideInputs = false;
5573
5536
  /**
5574
- * @uiName Heading Label
5537
+ * @uiName Heading label
5575
5538
  */
5576
5539
  this.pageLabel = "Register";
5577
5540
  /**
5578
- * Login button redirection path
5579
- *
5580
- * @uiName Login Path
5541
+ * @uiName Sign in button redirection path
5581
5542
  */
5582
5543
  this.loginPath = "/login";
5583
5544
  h(this);
5584
5545
  }
5585
5546
  disconnectedCallback() { }
5586
5547
  render() {
5587
- const { states, callbacks, refs } = jn()
5548
+ const { states, callbacks, refs } = L()
5588
5549
  ? useRegisterDemo(this)
5589
5550
  : usePortalRegister(this);
5590
5551
  const content = {
5591
5552
  formData: h$1("slot", { name: "formData" }),
5592
- secondaryButton: (h$1("slot", { name: "secondaryButton" }, h$1("sl-button", { type: "text", disabled: states.loading, onClick: () => dn.push(states.loginPath) }, this.loginLabel))),
5553
+ secondaryButton: (h$1("slot", { name: "secondaryButton" }, h$1("sl-button", { type: "text", disabled: states.loading, onClick: () => wn.push(states.loginPath) }, this.loginLabel))),
5593
5554
  terms: h$1("slot", { name: "terms" }),
5594
5555
  emailLabel: this.emailLabel,
5595
5556
  passwordLabel: this.passwordLabel,
@@ -5751,11 +5712,11 @@ const ProgramExplainerStep = class {
5751
5712
  const debug = browser('sq:useProgramMenu');
5752
5713
  const UPDATE_PROGRAM_EVENT = 'sq:update-program-id';
5753
5714
  function useProgramMenu(props) {
5754
- const programId = M();
5755
- const host = P();
5715
+ const programId = A();
5716
+ const host = S();
5756
5717
  debug({ programId, props });
5757
5718
  const ref = useRef();
5758
- const [, rerender] = rn();
5719
+ const [, rerender] = mn();
5759
5720
  useEffect(() => {
5760
5721
  var _a;
5761
5722
  (_a = ref.current) === null || _a === void 0 ? void 0 : _a.addEventListener('sl-select', (e) => {
@@ -5881,9 +5842,9 @@ const GET_USER_DETAILS = dist.gql `
5881
5842
  `;
5882
5843
  function useReferralIframe(props) {
5883
5844
  var _a;
5884
- const programId = M();
5885
- const user = ie();
5886
- const { data } = sn(GET_USER_DETAILS, { programId }, !(user === null || user === void 0 ? void 0 : user.jwt) || !programId);
5845
+ const programId = A();
5846
+ const user = ae();
5847
+ const { data } = pn(GET_USER_DETAILS, { programId }, !(user === null || user === void 0 ? void 0 : user.jwt) || !programId);
5887
5848
  return {
5888
5849
  states: {
5889
5850
  content: props,
@@ -5899,13 +5860,11 @@ const SqmReferralIframe = class {
5899
5860
  registerInstance(this, hostRef);
5900
5861
  this.ignored = true;
5901
5862
  /**
5902
- * Height of the iframe container
5903
- * @uiName Iframe Height
5863
+ * @uiName Height of the iframe container
5904
5864
  */
5905
5865
  this.iframeHeight = "100%";
5906
5866
  /**
5907
- * Width of the iframe container
5908
- * @uiName Iframe Width
5867
+ * @uiName Width of the iframe container
5909
5868
  */
5910
5869
  this.iframeWidth = "100%";
5911
5870
  h(this);
@@ -5921,7 +5880,7 @@ const SqmReferralIframe = class {
5921
5880
  if (missingProps) {
5922
5881
  return (h$1(RequiredPropsError, { missingProps: missingProps, heading: "An error occured while loading this page", subheading: "A technical problem prevented this iframe from loading. Please contact us with the link to this page.", description: "Values for the following attributes are missing:" }));
5923
5882
  }
5924
- const { states, data } = jn()
5883
+ const { states, data } = L()
5925
5884
  ? useReferralIframeDemo(getProps(this))
5926
5885
  : useReferralIframe(getProps(this));
5927
5886
  return (h$1(Host, { style: { display: "contents" } }, h$1(ReferralIframeView, { data: data, states: states })));
@@ -6608,9 +6567,9 @@ function useRewardExchangeList(props) {
6608
6567
  });
6609
6568
  const [open, setOpen] = useState(false);
6610
6569
  const { selectedItem, selectedStep, redeemStage, amount, exchangeError } = exchangeState;
6611
- const user = ie();
6612
- const [exchange, { data: exchangeResponse, loading: exchangeLoading, errors },] = qe(EXCHANGE);
6613
- const { data, loading, refetch, errors: queryError, } = sn(GET_EXCHANGE_LIST, {}, !(user === null || user === void 0 ? void 0 : user.jwt));
6570
+ const user = ae();
6571
+ const [exchange, { data: exchangeResponse, loading: exchangeLoading, errors },] = $e(EXCHANGE);
6572
+ const { data, loading, refetch, errors: queryError, } = pn(GET_EXCHANGE_LIST, {}, !(user === null || user === void 0 ? void 0 : user.jwt));
6614
6573
  useEffect(() => {
6615
6574
  var _a, _b;
6616
6575
  if ((_b = (_a = exchangeResponse === null || exchangeResponse === void 0 ? void 0 : exchangeResponse.exchangeReward) === null || _a === void 0 ? void 0 : _a.reward) === null || _b === void 0 ? void 0 : _b.id) {
@@ -6629,7 +6588,7 @@ function useRewardExchangeList(props) {
6629
6588
  canvas.confetti || confetti.create(canvas, { resize: true });
6630
6589
  canvas.confetti();
6631
6590
  }, [canvasRef.current]);
6632
- const { refresh } = He();
6591
+ const { refresh } = Ge();
6633
6592
  async function exchangeReward() {
6634
6593
  if (!selectedItem)
6635
6594
  return;
@@ -6748,9 +6707,7 @@ const SqmRewardExchangeList = class {
6748
6707
  registerInstance(this, hostRef);
6749
6708
  this.ignored = true;
6750
6709
  /**
6751
- * Error message shown when reward is not available
6752
- *
6753
- * @uiName Not Available Error
6710
+ * @uiName Exchange button text
6754
6711
  */
6755
6712
  this.notAvailableError = "{unavailableReasonCode, select, US_TAX {US Tax limit} INSUFFICIENT_REDEEMABLE_CREDIT {{sourceValue} required} AVAILABILITY_PREDICATE {Not available} other {{unavailableReasonCode}} }";
6756
6713
  /**
@@ -6782,7 +6739,7 @@ const SqmRewardExchangeList = class {
6782
6739
  */
6783
6740
  this.continueText = "Continue";
6784
6741
  /**
6785
- * Displayed on the reward selection page.
6742
+ * Displayed on the reward selection page.
6786
6743
  * @uiName Continue to Confirmation Button Text
6787
6744
  */
6788
6745
  this.continueToConfirmationText = "Continue to confirmation";
@@ -6791,20 +6748,17 @@ const SqmRewardExchangeList = class {
6791
6748
  */
6792
6749
  this.redeemText = "Redeem";
6793
6750
  /**
6794
- * Displayed as the header for the confirmation page.
6795
- *
6751
+ * Displayed as the header for the confirmation page.
6796
6752
  * @uiName Confirmation Title Text
6797
6753
  */
6798
6754
  this.redeemTitle = "Confirm and redeem";
6799
6755
  /**
6800
- * Displayed on the success screen when a user successfully exchanges for a reward.
6801
- *
6756
+ * Displayed on the success screen when a user successfully exchanges for a reward.
6802
6757
  * @uiName Redemption Success Message
6803
6758
  */
6804
6759
  this.redemptionSuccessText = "Redeemed {sourceValue} for {destinationValue}";
6805
6760
  /**
6806
- * Displayed on the reward exchange cards.
6807
- *
6761
+ * Displayed on the reward exchange cards.
6808
6762
  * @uiName Reward Exchange Amount Text
6809
6763
  */
6810
6764
  this.sourceAmountMessage = "{ruleType, select, FIXED_GLOBAL_REWARD {{sourceValue}} other {{sourceMinValue} to {sourceMaxValue}}}";
@@ -6823,19 +6777,17 @@ const SqmRewardExchangeList = class {
6823
6777
  */
6824
6778
  this.selectText = "Select amount to receive";
6825
6779
  /**
6826
- * Shown if an error occurs when loading the reward exchange.
6827
- *
6780
+ * Shown if an error occurs when loading the reward exchange.
6828
6781
  * @uiName Reward List Error Message
6829
6782
  */
6830
6783
  this.queryError = "Unable to load reward exchange list. Please try again";
6831
6784
  /**
6832
- * Shown if an error occurs during the reward exchange.
6833
- *
6785
+ * Shown if an error occurs during the reward exchange.
6834
6786
  * @uiName Redemption Error Message
6835
6787
  */
6836
6788
  this.redemptionError = "An error occured trying to redeem this reward. Please try again";
6837
6789
  /**
6838
- * @uiName Not Enough Error Message
6790
+ * @uiName Not Enough Available Error Message
6839
6791
  */
6840
6792
  this.notEnoughError = "Not enough {sourceUnit} to redeem for this reward";
6841
6793
  /**
@@ -6849,7 +6801,7 @@ const SqmRewardExchangeList = class {
6849
6801
  /**
6850
6802
  * Set the number of placeholder cards to be shown in loading state.
6851
6803
  *
6852
- * @uiName Loading Cards
6804
+ * @undocumented Loading Cards
6853
6805
  */
6854
6806
  this.skeletonCardNum = 8;
6855
6807
  /**
@@ -6878,7 +6830,7 @@ const SqmRewardExchangeList = class {
6878
6830
  ...getProps(this),
6879
6831
  empty: h$1(EmptySlot$1, null),
6880
6832
  };
6881
- const { states, data, callbacks, refs } = jn()
6833
+ const { states, data, callbacks, refs } = L()
6882
6834
  ? useRewardExchangeListDemo(props)
6883
6835
  : useRewardExchangeList(props);
6884
6836
  return (h$1(Host, { style: { display: "contents" } }, h$1(RewardExchangeView, { states: states, data: data, callbacks: callbacks, refs: refs })));
@@ -6930,8 +6882,8 @@ function matchPath(pattern, page) {
6930
6882
  return regexp.exec(page);
6931
6883
  }
6932
6884
  function useRouter() {
6933
- const location = ln();
6934
- const host = P();
6885
+ const location = bn();
6886
+ const host = S();
6935
6887
  const [slot, setSlot] = useState(undefined);
6936
6888
  const [container, setContainer] = useState(undefined);
6937
6889
  const page = location.pathname;
@@ -7134,11 +7086,11 @@ const ShareButton = class {
7134
7086
  */
7135
7087
  this.iconslot = "prefix";
7136
7088
  /**
7137
- * @uiName Hide Icon
7089
+ * @uiName Hide the icon
7138
7090
  */
7139
7091
  this.hideicon = false;
7140
7092
  /**
7141
- * @uiName Hide Text
7093
+ * @uiName Hide the text
7142
7094
  */
7143
7095
  this.hidetext = false;
7144
7096
  h(this);
@@ -7146,7 +7098,7 @@ const ShareButton = class {
7146
7098
  disconnectedCallback() { }
7147
7099
  render() {
7148
7100
  const thisProps = getProps(this);
7149
- const props = jn()
7101
+ const props = L()
7150
7102
  ? useDemoShareButton(thisProps)
7151
7103
  : useShareButton(thisProps);
7152
7104
  return (h$1(ShareButtonView, Object.assign({}, props), h$1("slot", null)));
@@ -7180,11 +7132,11 @@ const WIDGET_ENGAGEMENT_EVENT = dist.gql `
7180
7132
  `;
7181
7133
  function useShareCode(props) {
7182
7134
  var _a, _b;
7183
- const programId = M();
7184
- const user = ie();
7185
- const engagementMedium = Rn();
7186
- const { data } = sn(MessageLinkQuery, { programId }, !(user === null || user === void 0 ? void 0 : user.jwt));
7187
- const [sendLoadEvent] = qe(WIDGET_ENGAGEMENT_EVENT);
7135
+ const programId = A();
7136
+ const user = ae();
7137
+ const engagementMedium = J();
7138
+ const { data } = pn(MessageLinkQuery, { programId }, !(user === null || user === void 0 ? void 0 : user.jwt));
7139
+ const [sendLoadEvent] = $e(WIDGET_ENGAGEMENT_EVENT);
7188
7140
  const shareString = (_b = (_a = data === null || data === void 0 ? void 0 : data.user) === null || _a === void 0 ? void 0 : _a.referralCode) !== null && _b !== void 0 ? _b :
7189
7141
  // Shown during loading
7190
7142
  "...";
@@ -7211,13 +7163,14 @@ function useShareCode(props) {
7211
7163
  return { ...props, onClick, open, shareString };
7212
7164
  }
7213
7165
 
7166
+ const DEFAULT_TOOLTIP_LIFESPAN = 1000;
7214
7167
  const ShareCode = class {
7215
7168
  constructor(hostRef) {
7216
7169
  registerInstance(this, hostRef);
7217
7170
  /**
7218
- * This is shown after someone has successfully copied the code to the clipboard.
7171
+ * This is shown after someone has successfully copied the cpde to the clipboard.
7219
7172
  *
7220
- * @uiName Tooltip Text
7173
+ * @uiName Tooltip text
7221
7174
  */
7222
7175
  this.tooltiptext = "Copied to Clipboard";
7223
7176
  /**
@@ -7225,13 +7178,13 @@ const ShareCode = class {
7225
7178
  *
7226
7179
  * @uiName Tooltip lifespan
7227
7180
  */
7228
- this.tooltiplifespan = 1000;
7181
+ this.tooltiplifespan = DEFAULT_TOOLTIP_LIFESPAN;
7229
7182
  h(this);
7230
7183
  }
7231
7184
  disconnectedCallback() { }
7232
7185
  render() {
7233
7186
  const thisProps = getProps(this);
7234
- const props = jn()
7187
+ const props = L()
7235
7188
  ? useDemoShareCode(thisProps)
7236
7189
  : useShareCode(thisProps);
7237
7190
  return h$1(ShareLinkView, Object.assign({}, props));
@@ -7254,27 +7207,28 @@ function useDemoShareCode(props) {
7254
7207
  }, props.demoData || {}, { arrayMerge: (_, a) => a });
7255
7208
  }
7256
7209
 
7210
+ const DEFAULT_TOOLTIP_LIFESPAN$1 = 1000;
7257
7211
  const ShareLink = class {
7258
7212
  constructor(hostRef) {
7259
7213
  registerInstance(this, hostRef);
7260
7214
  /**
7261
7215
  * This is shown after someone has successfully copied the link to the clipboard.
7262
7216
  *
7263
- * @uiName Tooltip Text
7217
+ * @uiName Tooltip text
7264
7218
  */
7265
7219
  this.tooltiptext = "Copied to Clipboard";
7266
7220
  /**
7267
7221
  * The number of milliseconds that the tooltip will appear for
7268
7222
  *
7269
- * @uiName Tooltip Lifespan
7223
+ * @uiName Tooltip lifespan
7270
7224
  */
7271
- this.tooltiplifespan = 1000;
7225
+ this.tooltiplifespan = DEFAULT_TOOLTIP_LIFESPAN$1;
7272
7226
  h(this);
7273
7227
  }
7274
7228
  disconnectedCallback() { }
7275
7229
  render() {
7276
7230
  const thisProps = getProps(this);
7277
- const props = jn()
7231
+ const props = L()
7278
7232
  ? useDemoShareLink(thisProps)
7279
7233
  : useShareLink(thisProps);
7280
7234
  return h$1(ShareLinkView, Object.assign({}, props));
@@ -7302,7 +7256,7 @@ const StatContainer = class {
7302
7256
  registerInstance(this, hostRef);
7303
7257
  this.ignored = true;
7304
7258
  /**
7305
- * @uiName Space Between Stats
7259
+ * @uiName Space between stats
7306
7260
  * @uiType string
7307
7261
  * @uiEnum ["none", "xxx-small", "xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large", "xxx-large", "xxxx-large"]
7308
7262
  * @uiEnumNames ["None", "XXX-Small", "XX-Small", "X-Small", "Small", "Medium", "Large", "X-Large", "XX-Large", "XXX-Large", "XXXX-Large"]
@@ -7352,10 +7306,10 @@ const SEND_EVENT = dist.gql `
7352
7306
  }
7353
7307
  `;
7354
7308
  function useTaskCard(props) {
7355
- const user = ie();
7356
- const locale = An();
7357
- const [sendUserEvent, { data, loading: loadingEvent }] = qe(SEND_EVENT);
7358
- const { refresh } = He();
7309
+ const user = ae();
7310
+ const locale = O();
7311
+ const [sendUserEvent, { data, loading: loadingEvent }] = $e(SEND_EVENT);
7312
+ const { refresh } = Ge();
7359
7313
  useEffect(() => {
7360
7314
  if (data) {
7361
7315
  refresh();
@@ -7391,105 +7345,87 @@ const TaskCard = class {
7391
7345
  this.ignored = true;
7392
7346
  /**
7393
7347
  * @uiName Reward Amount
7394
- * @uiGroup Reward
7395
7348
  */
7396
7349
  this.rewardAmount = "0";
7397
7350
  /**
7398
7351
  * @uiName Reward Unit
7399
- * @uiGroup Reward
7400
7352
  */
7401
7353
  this.rewardUnit = "Points";
7402
7354
  /**
7403
7355
  * @uiName Title Text
7404
- * @uiGroup Task
7405
7356
  */
7406
7357
  this.cardTitle = "Title Text";
7407
7358
  /**
7408
7359
  * @uiName Description Text
7409
- * @uiGroup Task
7410
7360
  */
7411
7361
  this.description = "";
7412
7362
  /**
7413
7363
  * @uiName Goal Repeatable
7414
- * @uiGroup Goal
7415
7364
  */
7416
7365
  this.repeatable = false;
7417
7366
  /**
7418
7367
  * The number of times a reward can be earned. Use zero for no limit (the default).
7419
7368
  *
7420
7369
  * @uiName Repeat Amount
7421
- * @uiGroup Reward
7422
7370
  */
7423
7371
  this.finite = 0;
7424
7372
  /**
7425
7373
  * @uiName Show Progress Bar
7426
- * @uiGroup Goal
7427
7374
  */
7428
7375
  this.showProgressBar = false;
7429
7376
  /**
7430
7377
  * Sets the goal for users progress to know when a task has been completed. If repeatable is checked, repeatable goals is an increment of this.
7431
7378
  *
7432
7379
  * @uiName Goal Completion Number
7433
- * @uiGroup Goal
7434
7380
  */
7435
7381
  this.goal = 1;
7436
7382
  /**
7437
7383
  * @uiName Progress Bar Steps
7438
- * @uiGroup Goal
7439
7384
  */
7440
7385
  this.steps = false;
7441
7386
  /**
7442
7387
  * @uiName Progress Bar Unit
7443
- * @uiGroup Goal
7444
7388
  */
7445
7389
  this.progressBarUnit = "";
7446
7390
  /**
7447
7391
  * @uiName Expiry Date Message
7448
- * @uiGroup Task
7449
7392
  */
7450
7393
  this.expiryMessage = "Ends {endDate}";
7451
7394
  /**
7452
7395
  * Shown to users before the start of the task duration.
7453
7396
  *
7454
7397
  * @uiName Start Date Message
7455
- * @uiGroup Task
7456
7398
  */
7457
7399
  this.startsOnMessage = "Starts {startDate}";
7458
7400
  /**
7459
7401
  * Shown to users after the end of the task duration.
7460
7402
  *
7461
7403
  * @uiName Ended Date Message
7462
- * @uiGroup Task
7463
7404
  */
7464
7405
  this.endedMessage = "Ended {endDate}";
7465
7406
  /**
7466
7407
  * Displays the amount of times that a user has completed a repeatable task.
7467
7408
  *
7468
7409
  * @uiName Completed Count Text
7469
- * @uiGroup Task
7470
7410
  */
7471
7411
  this.completedText = "Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}";
7472
7412
  /**
7473
7413
  * @uiName CTA Button Text
7474
- * @uiGroup CTA Button
7475
7414
  */
7476
7415
  this.buttonText = "Complete Action";
7477
7416
  /**
7478
- * CTA Button Link Opens in New Tab
7479
- * @uiName Open In New Tab
7480
- * @uiGroup CTA Button
7481
- * @default undefined
7417
+ * @uiName CTA Button Link Open in New Tab
7482
7418
  */
7483
7419
  this.openNewTab = false;
7484
7420
  h(this);
7485
7421
  }
7486
7422
  disconnectedCallback() { }
7487
7423
  render() {
7488
- const { props } = jn()
7424
+ const { props } = L()
7489
7425
  ? useDemoBigStat(this)
7490
7426
  : useBigStat({ ...getProps(this), programId: this.programId });
7491
7427
  const { value, loading } = props;
7492
- const { states, callbacks } = jn()
7428
+ const { states, callbacks } = L()
7493
7429
  ? useTaskCardDemo(this)
7494
7430
  : useTaskCard(this);
7495
7431
  return (h$1(TaskCardView, { callbacks: callbacks, states: {
@@ -7663,8 +7599,8 @@ const GET_USER_NAME = dist.gql `
7663
7599
  `;
7664
7600
  function useUserName(props) {
7665
7601
  var _a, _b, _c, _d, _e, _f, _g, _h;
7666
- const user = ie();
7667
- const res = sn(GET_USER_NAME, {}, !(user === null || user === void 0 ? void 0 : user.jwt));
7602
+ const user = ae();
7603
+ const res = pn(GET_USER_NAME, {}, !(user === null || user === void 0 ? void 0 : user.jwt));
7668
7604
  const loading = res.loading;
7669
7605
  const username = ((_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.firstName) || ((_d = (_c = res.data) === null || _c === void 0 ? void 0 : _c.viewer) === null || _d === void 0 ? void 0 : _d.lastName)
7670
7606
  ? `${(_f = (_e = res.data) === null || _e === void 0 ? void 0 : _e.viewer) === null || _f === void 0 ? void 0 : _f.firstName} ${(_h = (_g = res.data) === null || _g === void 0 ? void 0 : _g.viewer) === null || _h === void 0 ? void 0 : _h.lastName}`
@@ -7681,19 +7617,18 @@ const UserName = class {
7681
7617
  registerInstance(this, hostRef);
7682
7618
  this._ignored = true;
7683
7619
  /**
7684
- * Fallback name for unknown users
7685
- * @uiName Fallback Name
7620
+ * @uiName Fallback name for nameless users
7686
7621
  */
7687
7622
  this.fallback = "Anonymous User";
7688
7623
  /**
7689
- * @uiName Loading Text
7624
+ * @uiName Loading text
7690
7625
  */
7691
7626
  this.loadingText = "...";
7692
7627
  h(this);
7693
7628
  }
7694
7629
  disconnectedCallback() { }
7695
7630
  render() {
7696
- const props = jn() ? useUserNameDemo(this) : useUserName(this);
7631
+ const props = L() ? useUserNameDemo(this) : useUserName(this);
7697
7632
  return h$1(UserNameView, Object.assign({}, props));
7698
7633
  }
7699
7634
  };