@saasquatch/mint-components 1.6.8-13 → 1.6.8-15

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 (241) hide show
  1. package/dist/cjs/{ShadowViewAddon-e9b5b949.js → ShadowViewAddon-fe65e8c7.js} +20 -27
  2. package/dist/cjs/{global-f85048bf.js → global-5b8a6adf.js} +1 -1
  3. package/dist/cjs/{index.module-2ca13866.js → index.module-dba49050.js} +5 -5
  4. package/dist/cjs/loader.cjs.js +3 -3
  5. package/dist/cjs/mint-components.cjs.js +3 -3
  6. package/dist/cjs/{re-render-c00242fe.js → re-render-3b3d609d.js} +1 -1
  7. package/dist/cjs/sqm-asset-card.cjs.entry.js +1 -1
  8. package/dist/cjs/sqm-big-stat_37.cjs.entry.js +102 -61
  9. package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +3 -3
  10. package/dist/cjs/sqm-instant-access-registration.cjs.entry.js +2 -2
  11. package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +4 -4
  12. package/dist/cjs/{sqm-user-identifier-view-53f37293.js → sqm-logout-current-user-view-9c3f9464.js} +2 -2
  13. package/dist/cjs/{sqm-user-identifier.cjs.entry.js → sqm-logout-current-user.cjs.entry.js} +9 -9
  14. package/dist/cjs/{sqm-navigation-sidebar-item-view-828f3fe3.js → sqm-navigation-sidebar-item-view-2a340425.js} +1 -1
  15. package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +2 -2
  16. package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +2 -2
  17. package/dist/cjs/sqm-password-field.cjs.entry.js +2 -2
  18. package/dist/cjs/sqm-popup-container.cjs.entry.js +1 -1
  19. package/dist/cjs/{sqm-portal-email-verification-view-1ae8805f.js → sqm-portal-email-verification-view-9cabaffe.js} +1 -1
  20. package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +4 -4
  21. package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +2 -2
  22. package/dist/cjs/sqm-portal-logout.cjs.entry.js +1 -1
  23. package/dist/cjs/{sqm-portal-profile-view-4baa40c2.js → sqm-portal-profile-view-9ec4a51c.js} +1 -1
  24. package/dist/cjs/sqm-portal-profile.cjs.entry.js +4 -4
  25. package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +2 -2
  26. package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +2 -2
  27. package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +3 -3
  28. package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +2 -2
  29. package/dist/cjs/sqm-referral-table_11.cjs.entry.js +5 -5
  30. package/dist/cjs/sqm-referred-registration.cjs.entry.js +2 -2
  31. package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +2 -2
  32. package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +8 -8
  33. package/dist/cjs/sqm-stencilbook.cjs.entry.js +55 -41
  34. package/dist/cjs/sqm-tab.cjs.entry.js +2 -2
  35. package/dist/cjs/sqm-tabs.cjs.entry.js +3 -3
  36. package/dist/cjs/{useChildElements-65547fd2.js → useChildElements-9e028700.js} +1 -1
  37. package/dist/cjs/{useInstantAccessRegistration-e6387667.js → useInstantAccessRegistration-2d149bea.js} +1 -1
  38. package/dist/cjs/{useReferralTable-1ad18c8b.js → useReferralTable-53104b33.js} +6 -6
  39. package/dist/cjs/{useRegistrationFormState-59c2c7d2.js → useRegistrationFormState-81f74f14.js} +1 -1
  40. package/dist/collection/collection-manifest.json +1 -1
  41. package/dist/collection/components/sqm-coupon-code/CouponCode.stories.js +15 -5
  42. package/dist/collection/components/sqm-coupon-code/sqm-coupon-code.js +105 -7
  43. package/dist/collection/components/sqm-coupon-code/useCouponCode.js +36 -30
  44. package/dist/collection/components/sqm-instant-access-registration/useInstantAccessRegistration.js +2 -2
  45. package/dist/collection/components/{sqm-user-identifier/UserIdentifier.stories.js → sqm-logout-current-user/LogoutCurrentUser.stories.js} +4 -4
  46. package/dist/collection/components/{sqm-user-identifier/sqm-user-identifier-view.js → sqm-logout-current-user/sqm-logout-current-user-view.js} +1 -1
  47. package/dist/collection/components/{sqm-user-identifier/sqm-user-identifier.js → sqm-logout-current-user/sqm-logout-current-user.js} +11 -11
  48. package/dist/collection/components/{sqm-user-identifier/useUserIdentifer.js → sqm-logout-current-user/useLogoutCurrentUser.js} +1 -1
  49. package/dist/collection/components/sqm-share-code/sqm-share-code.js +1 -1
  50. package/dist/collection/components/sqm-share-link/sqm-share-link.js +1 -1
  51. package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +2 -2
  52. package/dist/collection/components/views/copy-text-view.js +10 -17
  53. package/dist/collection/stories/Widget.stories.js +12 -12
  54. package/dist/esm/{ShadowViewAddon-2dad6900.js → ShadowViewAddon-dbb7e12b.js} +20 -27
  55. package/dist/esm/{global-bb4b3160.js → global-f82b3eaa.js} +1 -1
  56. package/dist/esm/{index.module-4b531657.js → index.module-3b85bfd6.js} +2 -2
  57. package/dist/esm/loader.js +3 -3
  58. package/dist/esm/mint-components.js +3 -3
  59. package/dist/esm/{re-render-8e289fe5.js → re-render-3f69b74a.js} +1 -1
  60. package/dist/esm/sqm-asset-card.entry.js +1 -1
  61. package/dist/esm/sqm-big-stat_37.entry.js +104 -63
  62. package/dist/esm/sqm-graphql-client-provider.entry.js +3 -3
  63. package/dist/esm/sqm-instant-access-registration.entry.js +2 -2
  64. package/dist/esm/sqm-leaderboard-rank.entry.js +4 -4
  65. package/dist/esm/{sqm-user-identifier-view-ca48b8e4.js → sqm-logout-current-user-view-5dd42341.js} +2 -2
  66. package/dist/esm/{sqm-user-identifier.entry.js → sqm-logout-current-user.entry.js} +9 -9
  67. package/dist/esm/{sqm-navigation-sidebar-item-view-344fad1c.js → sqm-navigation-sidebar-item-view-2154f6b7.js} +1 -1
  68. package/dist/esm/sqm-navigation-sidebar-item.entry.js +2 -2
  69. package/dist/esm/sqm-navigation-sidebar.entry.js +2 -2
  70. package/dist/esm/sqm-password-field.entry.js +2 -2
  71. package/dist/esm/sqm-popup-container.entry.js +1 -1
  72. package/dist/esm/{sqm-portal-email-verification-view-71ace81d.js → sqm-portal-email-verification-view-f237a7f0.js} +1 -1
  73. package/dist/esm/sqm-portal-email-verification.entry.js +4 -4
  74. package/dist/esm/sqm-portal-forgot-password.entry.js +2 -2
  75. package/dist/esm/sqm-portal-logout.entry.js +1 -1
  76. package/dist/esm/{sqm-portal-profile-view-53979418.js → sqm-portal-profile-view-bd86d8c4.js} +1 -1
  77. package/dist/esm/sqm-portal-profile.entry.js +4 -4
  78. package/dist/esm/sqm-portal-protected-route.entry.js +2 -2
  79. package/dist/esm/sqm-portal-registration-form.entry.js +2 -2
  80. package/dist/esm/sqm-portal-reset-password.entry.js +3 -3
  81. package/dist/esm/sqm-portal-verify-email.entry.js +2 -2
  82. package/dist/esm/sqm-referral-table_11.entry.js +5 -5
  83. package/dist/esm/sqm-referred-registration.entry.js +2 -2
  84. package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +2 -2
  85. package/dist/esm/sqm-rewards-table_9.entry.js +8 -8
  86. package/dist/esm/sqm-stencilbook.entry.js +55 -41
  87. package/dist/esm/sqm-tab.entry.js +2 -2
  88. package/dist/esm/sqm-tabs.entry.js +3 -3
  89. package/dist/esm/{useChildElements-397ce8b1.js → useChildElements-ed0cabc6.js} +1 -1
  90. package/dist/esm/{useInstantAccessRegistration-dbefa6e5.js → useInstantAccessRegistration-2b0653e6.js} +1 -1
  91. package/dist/esm/{useReferralTable-1f5c29ea.js → useReferralTable-e80b1d3f.js} +6 -6
  92. package/dist/esm/{useRegistrationFormState-8e6fe126.js → useRegistrationFormState-e59e841f.js} +1 -1
  93. package/dist/esm-es5/ShadowViewAddon-dbb7e12b.js +1 -0
  94. package/dist/esm-es5/{global-bb4b3160.js → global-f82b3eaa.js} +1 -1
  95. package/dist/esm-es5/{index.module-4b531657.js → index.module-3b85bfd6.js} +1 -1
  96. package/dist/esm-es5/loader.js +1 -1
  97. package/dist/esm-es5/mint-components.js +1 -1
  98. package/dist/esm-es5/{re-render-8e289fe5.js → re-render-3f69b74a.js} +1 -1
  99. package/dist/esm-es5/sqm-asset-card.entry.js +1 -1
  100. package/dist/esm-es5/sqm-big-stat_37.entry.js +1 -1
  101. package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
  102. package/dist/esm-es5/sqm-instant-access-registration.entry.js +1 -1
  103. package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
  104. package/dist/esm-es5/{sqm-user-identifier-view-ca48b8e4.js → sqm-logout-current-user-view-5dd42341.js} +1 -1
  105. package/dist/esm-es5/sqm-logout-current-user.entry.js +1 -0
  106. package/dist/esm-es5/{sqm-navigation-sidebar-item-view-344fad1c.js → sqm-navigation-sidebar-item-view-2154f6b7.js} +1 -1
  107. package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
  108. package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
  109. package/dist/esm-es5/sqm-password-field.entry.js +1 -1
  110. package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
  111. package/dist/esm-es5/{sqm-portal-email-verification-view-71ace81d.js → sqm-portal-email-verification-view-f237a7f0.js} +1 -1
  112. package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
  113. package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -1
  114. package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
  115. package/dist/esm-es5/{sqm-portal-profile-view-53979418.js → sqm-portal-profile-view-bd86d8c4.js} +1 -1
  116. package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
  117. package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -1
  118. package/dist/esm-es5/sqm-portal-registration-form.entry.js +1 -1
  119. package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
  120. package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
  121. package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
  122. package/dist/esm-es5/sqm-referred-registration.entry.js +1 -1
  123. package/dist/esm-es5/sqm-rewards-table-customer-note-column.entry.js +1 -1
  124. package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
  125. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  126. package/dist/esm-es5/sqm-tab.entry.js +1 -1
  127. package/dist/esm-es5/sqm-tabs.entry.js +1 -1
  128. package/dist/esm-es5/{useChildElements-397ce8b1.js → useChildElements-ed0cabc6.js} +1 -1
  129. package/dist/esm-es5/{useInstantAccessRegistration-dbefa6e5.js → useInstantAccessRegistration-2b0653e6.js} +1 -1
  130. package/dist/esm-es5/{useReferralTable-1f5c29ea.js → useReferralTable-e80b1d3f.js} +1 -1
  131. package/dist/esm-es5/{useRegistrationFormState-8e6fe126.js → useRegistrationFormState-e59e841f.js} +1 -1
  132. package/dist/mint-components/mint-components.esm.js +1 -1
  133. package/dist/mint-components/mint-components.js +1 -1
  134. package/dist/mint-components/{p-95cdb415.system.entry.js → p-0206f817.system.entry.js} +1 -1
  135. package/dist/mint-components/p-04c3ddf2.entry.js +1 -0
  136. package/dist/mint-components/{p-6f327e02.entry.js → p-0b607625.entry.js} +1 -1
  137. package/dist/mint-components/{p-29b2edab.entry.js → p-0d45bea6.entry.js} +1 -1
  138. package/dist/mint-components/{p-0359974b.entry.js → p-19e12136.entry.js} +2 -2
  139. package/dist/mint-components/{p-590841e6.entry.js → p-1b864638.entry.js} +1 -1
  140. package/dist/mint-components/{p-7bb806fd.js → p-1ccd2ae7.js} +1 -1
  141. package/dist/mint-components/p-1e359094.system.js +1 -0
  142. package/dist/mint-components/{p-f00886bd.system.entry.js → p-1efa148e.system.entry.js} +1 -1
  143. package/dist/mint-components/{p-486f4257.system.js → p-229f6dd8.system.js} +1 -1
  144. package/dist/mint-components/p-29b3807c.system.entry.js +1 -0
  145. package/dist/mint-components/{p-b509ae3c.js → p-2d004700.js} +1 -1
  146. package/dist/mint-components/{p-75485abc.entry.js → p-30ff6f08.entry.js} +1 -1
  147. package/dist/mint-components/{p-fd544705.system.entry.js → p-32b70446.system.entry.js} +1 -1
  148. package/dist/mint-components/{p-978a1f09.system.js → p-338402f3.system.js} +1 -1
  149. package/dist/mint-components/{p-34b044cf.system.js → p-35108622.system.js} +1 -1
  150. package/dist/mint-components/{p-adef1bdf.system.entry.js → p-36bbc0ec.system.entry.js} +1 -1
  151. package/dist/mint-components/{p-537a5e24.entry.js → p-3aa2e966.entry.js} +1 -1
  152. package/dist/mint-components/p-3e46f226.system.entry.js +1 -0
  153. package/dist/mint-components/{p-3fafff3d.system.js → p-486f7db8.system.js} +1 -1
  154. package/dist/mint-components/{p-779c68e8.system.entry.js → p-491572f7.system.entry.js} +1 -1
  155. package/dist/mint-components/{p-f794f564.system.js → p-4e9a310a.system.js} +1 -1
  156. package/dist/mint-components/{p-06bb02e9.entry.js → p-537f3093.entry.js} +1 -1
  157. package/dist/mint-components/{p-bf8109aa.system.js → p-58b72bb1.system.js} +1 -1
  158. package/dist/mint-components/{p-9f1b1830.js → p-5e6449bf.js} +1 -1
  159. package/dist/mint-components/{p-537c4ca7.entry.js → p-5ef07ab3.entry.js} +1 -1
  160. package/dist/mint-components/p-5f80a76c.system.entry.js +1 -0
  161. package/dist/mint-components/{p-16b2a1ca.entry.js → p-656667a6.entry.js} +1 -1
  162. package/dist/mint-components/{p-d3096c12.entry.js → p-68f0fac9.entry.js} +1 -1
  163. package/dist/mint-components/{p-4b88d6a5.js → p-69c8265a.js} +1 -1
  164. package/dist/mint-components/{p-8cd5c520.entry.js → p-6a6c3994.entry.js} +1 -1
  165. package/dist/mint-components/{p-8e958ade.entry.js → p-70b24b1e.entry.js} +1 -1
  166. package/dist/mint-components/{p-7ed96913.entry.js → p-72befd7d.entry.js} +1 -1
  167. package/dist/mint-components/{p-5698b30e.js → p-72f635dd.js} +1 -1
  168. package/dist/mint-components/{p-a3a639cc.system.entry.js → p-787f122a.system.entry.js} +1 -1
  169. package/dist/mint-components/{p-51291020.system.js → p-7bfd977a.system.js} +1 -1
  170. package/dist/mint-components/{p-dcf45468.system.entry.js → p-800ae5a0.system.entry.js} +1 -1
  171. package/dist/mint-components/{p-383e1a82.system.js → p-8ab4b347.system.js} +1 -1
  172. package/dist/mint-components/{p-57b16281.entry.js → p-8dc97762.entry.js} +1 -1
  173. package/dist/mint-components/{p-7af57f0d.js → p-952076b5.js} +1 -1
  174. package/dist/mint-components/{p-be51f920.system.entry.js → p-98f7be38.system.entry.js} +1 -1
  175. package/dist/mint-components/{p-93d23908.system.entry.js → p-9a05d733.system.entry.js} +1 -1
  176. package/dist/mint-components/{p-a8f38714.entry.js → p-9a6def41.entry.js} +29 -19
  177. package/dist/mint-components/{p-e7f749b8.entry.js → p-9c2e5dac.entry.js} +1 -1
  178. package/dist/mint-components/{p-fa9c79fe.js → p-9ed546ca.js} +1 -1
  179. package/dist/mint-components/{p-c4340963.system.entry.js → p-b01ec794.system.entry.js} +1 -1
  180. package/dist/mint-components/{p-7be51ca9.js → p-b0c20ed2.js} +2 -2
  181. package/dist/mint-components/p-b6289d34.system.entry.js +1 -0
  182. package/dist/mint-components/{p-29abb4f9.system.entry.js → p-b73ca825.system.entry.js} +1 -1
  183. package/dist/mint-components/p-b940a11a.system.js +1 -0
  184. package/dist/mint-components/{p-24722129.system.entry.js → p-bd3bbced.system.entry.js} +1 -1
  185. package/dist/mint-components/{p-357c4022.js → p-be4457be.js} +1 -1
  186. package/dist/mint-components/{p-52acbebf.system.js → p-c1c89b68.system.js} +1 -1
  187. package/dist/mint-components/{p-ae5637e2.js → p-c294fbaf.js} +2 -2
  188. package/dist/mint-components/{p-e8bb9b24.system.js → p-c2adbe14.system.js} +1 -1
  189. package/dist/mint-components/{p-5a6373e8.system.js → p-c31b4722.system.js} +1 -1
  190. package/dist/mint-components/p-c8347f72.js +1 -0
  191. package/dist/mint-components/{p-d25d87d5.system.entry.js → p-c88ebfe9.system.entry.js} +1 -1
  192. package/dist/mint-components/{p-cdb7d4fe.entry.js → p-c9951196.entry.js} +1 -1
  193. package/dist/mint-components/{p-07064412.system.entry.js → p-cd7a7bb0.system.entry.js} +1 -1
  194. package/dist/mint-components/p-d055b3a7.system.entry.js +1 -0
  195. package/dist/mint-components/{p-94bf6e15.entry.js → p-d0a7ccc3.entry.js} +1 -1
  196. package/dist/mint-components/{p-65f417f7.entry.js → p-d0b2a2cb.entry.js} +1 -1
  197. package/dist/mint-components/{p-0bfda9af.system.entry.js → p-d3626cea.system.entry.js} +1 -1
  198. package/dist/mint-components/{p-f247da77.js → p-d8c8759b.js} +1 -1
  199. package/dist/mint-components/p-e07f5715.entry.js +9 -0
  200. package/dist/mint-components/{p-bff98c0d.entry.js → p-e4899a00.entry.js} +1 -1
  201. package/dist/mint-components/{p-18db0d27.system.entry.js → p-e5c1a8d9.system.entry.js} +1 -1
  202. package/dist/mint-components/{p-a22eb665.entry.js → p-eb8a4911.entry.js} +2 -2
  203. package/dist/mint-components/{p-24f29c97.system.entry.js → p-ee1db375.system.entry.js} +1 -1
  204. package/dist/mint-components/{p-cf335085.system.entry.js → p-efd25880.system.entry.js} +1 -1
  205. package/dist/mint-components/{p-d66fd18e.system.entry.js → p-f2ae5d6d.system.entry.js} +1 -1
  206. package/dist/mint-components/{p-8baedd92.entry.js → p-f33e4560.entry.js} +1 -1
  207. package/dist/mint-components/{p-09b40c24.entry.js → p-f8da123f.entry.js} +1 -1
  208. package/dist/mint-components/{p-967f6b50.system.entry.js → p-ff877a12.system.entry.js} +1 -1
  209. package/dist/types/components/sqm-coupon-code/CouponCode.stories.d.ts +7 -2
  210. package/dist/types/components/sqm-coupon-code/sqm-coupon-code.d.ts +19 -1
  211. package/dist/types/components/sqm-coupon-code/useCouponCode.d.ts +1 -0
  212. package/dist/types/components/sqm-logout-current-user/sqm-logout-current-user-view.d.ts +6 -0
  213. package/dist/types/components/{sqm-user-identifier/sqm-user-identifier.d.ts → sqm-logout-current-user/sqm-logout-current-user.d.ts} +3 -3
  214. package/dist/types/components/sqm-logout-current-user/useLogoutCurrentUser.d.ts +3 -0
  215. package/dist/types/components/sqm-rewards-table/cells/sqm-rewards-table-status-cell.d.ts +1 -1
  216. package/dist/types/components/views/copy-text-view.d.ts +2 -1
  217. package/dist/types/components.d.ts +75 -45
  218. package/dist/types/global/android.d.ts +7 -0
  219. package/dist/types/global/demo.d.ts +1 -0
  220. package/dist/types/stories/Widget.stories.d.ts +4 -4
  221. package/dist/types/stories/features.d.ts +4 -0
  222. package/dist/types/stories/templates.d.ts +4 -0
  223. package/docs/docs.docx +0 -0
  224. package/docs/raisins.json +1 -1
  225. package/grapesjs/grapesjs.js +1 -1
  226. package/package.json +3 -3
  227. package/dist/esm-es5/ShadowViewAddon-2dad6900.js +0 -1
  228. package/dist/esm-es5/sqm-user-identifier.entry.js +0 -1
  229. package/dist/mint-components/p-04751f3a.system.js +0 -1
  230. package/dist/mint-components/p-215c517c.entry.js +0 -1
  231. package/dist/mint-components/p-25632b7a.system.entry.js +0 -1
  232. package/dist/mint-components/p-2d3ab333.entry.js +0 -9
  233. package/dist/mint-components/p-339e7ce2.system.entry.js +0 -1
  234. package/dist/mint-components/p-56a5a523.system.entry.js +0 -1
  235. package/dist/mint-components/p-ac297f95.js +0 -1
  236. package/dist/mint-components/p-af27369e.system.js +0 -1
  237. package/dist/mint-components/p-c14d5640.system.entry.js +0 -1
  238. package/dist/mint-components/p-ddcfcb65.system.entry.js +0 -1
  239. package/dist/types/components/sqm-user-identifier/sqm-user-identifier-view.d.ts +0 -6
  240. package/dist/types/components/sqm-user-identifier/useUserIdentifer.d.ts +0 -3
  241. /package/dist/types/components/{sqm-user-identifier/UserIdentifier.stories.d.ts → sqm-logout-current-user/LogoutCurrentUser.stories.d.ts} +0 -0
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
2
2
  import { i as useState, u as useEffect, m as h } from './stencil-hooks.module-b48b45ec.js';
3
3
  import './use-callback-051c06c6.js';
4
- import { f as He, U as Ue, p as pn, i as isDemo } from './index.module-4b531657.js';
4
+ import { f as Le, N as Ne, p as pn, i as isDemo } from './index.module-3b85bfd6.js';
5
5
  import { j as jsonpointer } from './jsonpointer-388a7082.js';
6
6
  import { c as cjs } from './cjs-bdfb4486.js';
7
7
  import './mixins-f60a614c.js';
@@ -14,8 +14,8 @@ function usePortalResetPassword(props) {
14
14
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
15
15
  const [reset, setReset] = useState(false);
16
16
  const [error, setError] = useState("");
17
- const [verifyPasswordResetCode, verifyPasswordResetCodeState] = He();
18
- const [resetPassword, resetPasswordState] = Ue();
17
+ const [verifyPasswordResetCode, verifyPasswordResetCodeState] = Le();
18
+ const [resetPassword, resetPasswordState] = Ne();
19
19
  const urlParams = new URLSearchParams(pn.location.search);
20
20
  const oobCode = urlParams.get("oobCode");
21
21
  urlParams.delete("oobCode");
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
2
2
  import { u as useEffect, m as h } from './stencil-hooks.module-b48b45ec.js';
3
3
  import './use-callback-051c06c6.js';
4
- import { H, Y as Ye, p as pn, i as isDemo } from './index.module-4b531657.js';
4
+ import { L, Y as Ye, p as pn, i as isDemo } from './index.module-3b85bfd6.js';
5
5
  import { c as cjs } from './cjs-bdfb4486.js';
6
6
  import './mixins-f60a614c.js';
7
7
  import './JSS-67b5cff8.js';
@@ -11,7 +11,7 @@ import { P as PortalVerifyEmailView } from './sqm-portal-verify-email-view-8d453
11
11
 
12
12
  function usePortalVerifyEmail({ nextPage, failedPage }) {
13
13
  var _a, _b, _c, _d, _e, _f, _g, _h;
14
- const userIdent = H();
14
+ const userIdent = L();
15
15
  const [request, { loading, data, errors }] = Ye();
16
16
  const urlParams = new URLSearchParams(pn.location.search);
17
17
  const oobCode = urlParams.get("oobCode");
@@ -1,16 +1,16 @@
1
1
  import { r as registerInstance, h as h$1, g as getElement, c as Host } from './index-17b4da69.js';
2
2
  import { m as h, f as useReducer, k as useMemo, u as useEffect } from './stencil-hooks.module-b48b45ec.js';
3
- import { i as intl } from './global-bb4b3160.js';
3
+ import { i as intl } from './global-f82b3eaa.js';
4
4
  import './use-callback-051c06c6.js';
5
- import { i as isDemo } from './index.module-4b531657.js';
5
+ import { i as isDemo } from './index.module-3b85bfd6.js';
6
6
  import { c as cjs } from './cjs-bdfb4486.js';
7
7
  import './mixins-f60a614c.js';
8
8
  import { c as createStyleSheet } from './JSS-67b5cff8.js';
9
9
  import { G as GenericTableView } from './GenericTableView-266126f9.js';
10
- import { a as useRequestRerender, u as useRerenderListener } from './re-render-8e289fe5.js';
11
- import { u as useChildElements } from './useChildElements-397ce8b1.js';
10
+ import { a as useRequestRerender, u as useRerenderListener } from './re-render-3f69b74a.js';
11
+ import { u as useChildElements } from './useChildElements-ed0cabc6.js';
12
12
  import { l as luxon } from './luxon-1e38d7f1.js';
13
- import { a as getPaypalMeta, u as useReferralTable, t as tryMethod } from './useReferralTable-1f5c29ea.js';
13
+ import { a as getPaypalMeta, u as useReferralTable, t as tryMethod } from './useReferralTable-e80b1d3f.js';
14
14
  import { l as luxonLocale } from './utils-334c1e34.js';
15
15
  import { T as TextSpanView } from './sqm-text-span-view-2f7d6d14.js';
16
16
 
@@ -1,13 +1,13 @@
1
1
  import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
2
2
  import { m as h } from './stencil-hooks.module-b48b45ec.js';
3
3
  import './use-callback-051c06c6.js';
4
- import { i as isDemo, e as setUserIdentity } from './index.module-4b531657.js';
4
+ import { i as isDemo, e as setUserIdentity } from './index.module-3b85bfd6.js';
5
5
  import './jsonpointer-388a7082.js';
6
6
  import { c as cjs } from './cjs-bdfb4486.js';
7
7
  import './mixins-f60a614c.js';
8
8
  import './JSS-67b5cff8.js';
9
9
  import { E as EmailRegistrationView } from './email-registration-view-8987d3c0.js';
10
- import { u as useInstantAccessRegistration } from './useInstantAccessRegistration-dbefa6e5.js';
10
+ import { u as useInstantAccessRegistration } from './useInstantAccessRegistration-2b0653e6.js';
11
11
 
12
12
  const ReferredRegistration = class {
13
13
  constructor(hostRef) {
@@ -1,8 +1,8 @@
1
1
  import { r as registerInstance, h as h$1, c as Host } from './index-17b4da69.js';
2
2
  import { m as h } from './stencil-hooks.module-b48b45ec.js';
3
3
  import './use-callback-051c06c6.js';
4
- import './index.module-4b531657.js';
5
- import { a as useRequestRerender } from './re-render-8e289fe5.js';
4
+ import './index.module-3b85bfd6.js';
5
+ import { a as useRequestRerender } from './re-render-3f69b74a.js';
6
6
 
7
7
  const RewardTableCustomerNoteColumn = class {
8
8
  constructor(hostRef) {
@@ -1,16 +1,16 @@
1
1
  import { h, r as registerInstance, c as Host } from './index-17b4da69.js';
2
2
  import { b as browser, f as useReducer, u as useEffect, m as h$1, k as useMemo } from './stencil-hooks.module-b48b45ec.js';
3
- import { i as intl } from './global-bb4b3160.js';
3
+ import { i as intl } from './global-f82b3eaa.js';
4
4
  import './use-callback-051c06c6.js';
5
- import { d as dist, H, N, O, y as yn, i as isDemo } from './index.module-4b531657.js';
5
+ import { d as dist, L, O, W, y as yn, i as isDemo } from './index.module-3b85bfd6.js';
6
6
  import { c as cjs } from './cjs-bdfb4486.js';
7
7
  import './mixins-f60a614c.js';
8
8
  import { c as createStyleSheet } from './JSS-67b5cff8.js';
9
9
  import { G as GenericTableView } from './GenericTableView-266126f9.js';
10
- import { u as useRerenderListener, a as useRequestRerender } from './re-render-8e289fe5.js';
11
- import { u as useChildElements } from './useChildElements-397ce8b1.js';
10
+ import { u as useRerenderListener, a as useRequestRerender } from './re-render-3f69b74a.js';
11
+ import { u as useChildElements } from './useChildElements-ed0cabc6.js';
12
12
  import { l as luxon } from './luxon-1e38d7f1.js';
13
- import { g as generateUserError, m as mockRewardData } from './useReferralTable-1f5c29ea.js';
13
+ import { g as generateUserError, m as mockRewardData } from './useReferralTable-e80b1d3f.js';
14
14
  import { l as luxonLocale } from './utils-334c1e34.js';
15
15
 
16
16
  const debug = browser("sq:useRewardsTable");
@@ -121,9 +121,9 @@ const GET_REWARDS = dist.gql `
121
121
  `;
122
122
  function useRewardsTable(props, emptyElement, loadingElement) {
123
123
  var _a, _b;
124
- const user = H();
125
- const programIdContext = N();
126
- const locale = O();
124
+ const user = L();
125
+ const programIdContext = O();
126
+ const locale = W();
127
127
  // Default to context, overriden by props
128
128
  const programId = (_a = props.programId) !== null && _a !== void 0 ? _a : programIdContext;
129
129
  const rewardFilter = {
@@ -1,13 +1,13 @@
1
1
  import { h, r as registerInstance, c as Host } from './index-17b4da69.js';
2
2
  import { a as commonjsGlobal, k as useMemo, i as useState, u as useEffect, c as createCommonjsModule, m as h$1 } from './stencil-hooks.module-b48b45ec.js';
3
- import './global-bb4b3160.js';
3
+ import './global-f82b3eaa.js';
4
4
  import './use-callback-051c06c6.js';
5
- import { p as pn, v as vn, e as setUserIdentity, d as dist, J as Je, g as setProgramId } from './index.module-4b531657.js';
5
+ import { p as pn, v as vn, e as setUserIdentity, d as dist, J as Je, g as setProgramId } from './index.module-3b85bfd6.js';
6
6
  import './cjs-bdfb4486.js';
7
7
  import './mixins-f60a614c.js';
8
8
  import { c as createStyleSheet } from './JSS-67b5cff8.js';
9
9
  import { G as GenericTableView } from './GenericTableView-266126f9.js';
10
- import './useChildElements-397ce8b1.js';
10
+ import './useChildElements-ed0cabc6.js';
11
11
  import { l as luxon } from './luxon-1e38d7f1.js';
12
12
  import './utils-334c1e34.js';
13
13
  import './sqm-text-span-view-2f7d6d14.js';
@@ -16,16 +16,16 @@ import { H as HeroView } from './sqm-hero-view-875c927d.js';
16
16
  import { E as EmailRegistrationView } from './email-registration-view-8987d3c0.js';
17
17
  import { L as LeaderboardRankView } from './sqm-leaderboard-rank-view-10657658.js';
18
18
  import { L as LinkButtonView } from './sqm-link-button-view-90aeb27f.js';
19
+ import { L as LogoutCurrentUserView } from './sqm-logout-current-user-view-5dd42341.js';
19
20
  import { N as NavigationSidebarView } from './sqm-navigation-sidebar-view-feb719ce.js';
20
- import { N as NavigationSidebarItemView } from './sqm-navigation-sidebar-item-view-344fad1c.js';
21
- import { P as PortalEmailVerificationView } from './sqm-portal-email-verification-view-71ace81d.js';
21
+ import { N as NavigationSidebarItemView } from './sqm-navigation-sidebar-item-view-2154f6b7.js';
22
+ import { P as PortalEmailVerificationView } from './sqm-portal-email-verification-view-f237a7f0.js';
22
23
  import { P as PortalForgotPasswordView } from './sqm-portal-forgot-password-view-9970dee2.js';
23
- import { P as PortalProfileView } from './sqm-portal-profile-view-53979418.js';
24
+ import { P as PortalProfileView } from './sqm-portal-profile-view-bd86d8c4.js';
24
25
  import { P as PortalResetPasswordView } from './sqm-portal-reset-password-view-1f0f3bf8.js';
25
26
  import { P as PortalVerifyEmailView } from './sqm-portal-verify-email-view-8d453021.js';
26
- import { S as ShareButtonView, L as LeaderboardView, C as CopyTextView, B as BigStatView, P as PortalFrameView, E as EditProfileView, u as useShareLink, a as useShareButton, b as useDemoBigStat, c as StatContainerView, d as PortalChangePasswordView, e as PortalLoginView, f as PortalRegisterView, T as TaskCardView, g as ProgressBarView, h as PoweredByImg$1, i as PortalFooterView, R as ReferralIframeView, N as NameFieldsView, j as CheckboxFieldView, D as DropdownFieldView, I as InputFieldView, k as RewardExchangeView, r as rewardExchangeCustomErrorMsg, l as rewardExchangeLongText, m as rewardExchangeSelected, n as chooseAmountFixed, o as chooseAmountFixedNoDescription, p as chooseAmountVariable, q as chooseAmountVariableNoDescription, s as chooseAmountVariableDisabled, t as chooseAmountVariableUnavailable, v as confirmFixed, w as confirmVariable, x as redemptionError, y as queryError, z as success, A as successVariable, F as loading, G as empty$1, H as rewardExchange, J as CardFeedView, K as autoColorScaleCss, M as ShadowViewAddon } from './ShadowViewAddon-2dad6900.js';
27
+ import { S as ShareButtonView, L as LeaderboardView, C as CopyTextView, B as BigStatView, P as PortalFrameView, E as EditProfileView, u as useShareLink, a as useShareButton, b as useDemoBigStat, c as StatContainerView, d as PortalChangePasswordView, e as PortalLoginView, f as PortalRegisterView, T as TaskCardView, g as ProgressBarView, h as PoweredByImg$1, i as PortalFooterView, R as ReferralIframeView, N as NameFieldsView, j as CheckboxFieldView, D as DropdownFieldView, I as InputFieldView, k as RewardExchangeView, r as rewardExchangeCustomErrorMsg, l as rewardExchangeLongText, m as rewardExchangeSelected, n as chooseAmountFixed, o as chooseAmountFixedNoDescription, p as chooseAmountVariable, q as chooseAmountVariableNoDescription, s as chooseAmountVariableDisabled, t as chooseAmountVariableUnavailable, v as confirmFixed, w as confirmVariable, x as redemptionError, y as queryError, z as success, A as successVariable, F as loading, G as empty$1, H as rewardExchange, J as CardFeedView, K as autoColorScaleCss, M as ShadowViewAddon } from './ShadowViewAddon-dbb7e12b.js';
27
28
  import { P as PortalContainerView, a as PortalSectionView } from './sqm-portal-container-view-83b417f0.js';
28
- import { U as UserIdentifierView } from './sqm-user-identifier-view-ca48b8e4.js';
29
29
 
30
30
  /**
31
31
  * lodash (Custom Build) <https://lodash.com/>
@@ -1441,7 +1441,7 @@ var _createEmotion = createEmotion({
1441
1441
  }),
1442
1442
  css = _createEmotion.css;
1443
1443
 
1444
- function i$1(){return (i$1=Object.assign||function(n){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(n[r]=o[r]);}return n}).apply(this,arguments)}function s(n,t){return t||(t=n.slice(0)),n.raw=t,n}var a$1,l,u,c$1=css(a$1||(a$1=s(['\n width: 100vw;\n height: 100vh;\n\n .story-book-outer-div {\n .story-div {\n font-family: "Arial", sans-serif;\n font-size: 12px;\n }\n padding-bottom: 500px;\n }\n\n .story-div {\n position: fixed;\n box-sizing: border-box;\n top: 0;\n width: 250px;\n height: 100vh;\n z-index: 999;\n overflow-y: scroll;\n background: white;\n margin-bottom: 32px;\n }\n\n .header {\n padding: 24px 0 16px 16px;\n margin-bottom: 24px;\n color: white;\n background: #333;\n cursor: pointer;\n\n h2 {\n letter-spacing: 3px;\n font-weight: 400;\n }\n }\n\n .parentStoryList {\n list-style: none;\n padding-left: 16px;\n\n summary {\n margin-bottom: 4px;\n }\n }\n .parentStory {\n cursor: pointer;\n }\n .parentStory.selected {\n font-weight: bold;\n }\n\n .subStory {\n font-size: 12px;\n cursor: pointer;\n line-height: 1.5em;\n margin-top: 4px;\n\n a {\n display: block;\n padding: 4px 4px 4px 16px;\n }\n }\n .subStory:hover {\n background-color: #eee;\n }\n .subStory.selected {\n background-color: lightgreen;\n }\n\n .component {\n padding: 24px 16px;\n }\n\n h4.group-header {\n margin: 8px 0;\n text-transform: uppercase;\n font-weight: 600;\n font-size: 14px;\n color: #575757;\n }\n\n .group-wrapper {\n margin-bottom: 24px;\n }\n\n .dynamic-display-wrapper {\n position: fixed;\n display: flex;\n flex-direction: column;\n bottom: 0;\n left: 100%;\n padding: 16px;\n z-index: 1000;\n background: white;\n transform: translateX(-100%);\n box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);\n\n & > :not(:first-child) {\n margin-top: 12px;\n }\n\n p {\n font-size: 12px;\n margin: 0;\n padding: 0;\n }\n\n .button-wrapper {\n display: flex;\n\n & > :not(:first-child) {\n margin-left: 12px;\n }\n }\n\n & button {\n border: 1px solid #eaeaea;\n background: white;\n border-radius: 4px;\n color: #777;\n padding: 4px 12px;\n justify-content: center;\n align-items: center;\n text-align: center;\n\n &.active {\n background: #555;\n border-color: #555;\n color: white;\n }\n }\n }\n'])));function p$1(n,t){var o,r=t.story.title.split("/"),e=r[1]?r[0]:"_";return i$1({},n,((o={})[e]=[].concat(n[e]||[],[{story:i$1({},t.story,{title:r[1]||r[0]}),subs:t.subs}]).sort(function(n,t){return n.story.title.localeCompare(t.story.title)}),o))}function d$1(n){return {story:n.default,subs:function(n,t){if(null==n)return {};var o,r,e={},i=Object.keys(n);for(r=0;r<i.length;r++)t.indexOf(o=i[r])>=0||(e[o]=n[o]);return e}(n,["default"])}}function f(a,f){var b=f.h,y=void 0===b?h:b,g=f.title,m=void 0===g?"Stencilbook":g,x=f.homepage,h$1=void 0===x?y("h3",null,"Select a story!"):x,v=f.addons,k=void 0===v?[]:v,w=useMemo(function(){return a.map(d$1).reduce(p$1,{_:[]})},a),S=useState(void 0),C=S[0],z=S[1],O=null==C?void 0:C.key,j=useState("desktop"),T=j[0],_=j[1],B=useState(!0),D=B[0],L=B[1],N=useState(!1),q=N[0],A=N[1],M=function(){return y("div",{class:"dynamic-display-wrapper"},y("div",{class:"button-wrapper"},y("button",{class:"desktop"===T?"active":"",onClick:function(){return _("desktop")}},"Desktop"),y("button",{class:"tablet"===T?"active":"",onClick:function(){return _("tablet")}},"Tablet"),y("button",{class:"mobile"===T?"active":"",onClick:function(){return _("mobile")}},"Mobile")),y("p",null,"Note: Currently doesn't test breakpoints, use the native tester for now"),y("hr",null),y("button",{class:q?"active":"",onClick:function(){return A(function(n){return !n})}},"Toggle Dark Background"),y("hr",null),y("button",{class:D?"active":"",onClick:function(){return L(function(n){return !n})}},"Toggle Sidebar"))},P="mobile"===T?"375px":"tablet"===T?"768px":"1124px",V=css(l||(l=s(["\n max-width: ",";\n margin-left: ",";\n "])),P,D?"250px":"0px"),X=css(u||(u=s(["\n display: none;\n "])));document.body.style.backgroundColor=q?"#232323":"#fafafa";var E=function(n){var t=n.selected,o=k.reduce(function(n,o){return function(){return y(o,{story:i$1({},t)},y(n,null))}},null==t?void 0:t.story);return y(o,null)},F=function(){return y("div",{class:"story-book-outer-div"},y("div",{class:"story-div "+(D?"":X)},y("div",{class:"header",onClick:function(){z(void 0);}},y("h2",null,m)),y("ul",{class:"parentStoryList"},Object.keys(w).sort().map(function(n){return y("div",{class:"group-wrapper"},"_"!==n&&y("h4",{class:"group-header"},n),w[n].map(function(t){return y("li",{class:"parentStory"},y("details",{style:{marginBottom:"10px"}},y("summary",{style:{outline:"none"}},t.story.title),t.subs&&Object.keys(t.subs).map(function(o){var e=n+"/"+o,i=t.subs[o],s=i.storyName||lodash_startcase(o);return y("div",{class:"subStory "+(O===e?"selected":"")},y("a",{onClick:function(){return function(n,t,o,r){z({key:t,story:n,parent:o,label:r});}(i,e,t.story,s)}},s))})))}))}))),y(M,null),y("div",{class:"component "+V},!O&&h$1,O&&y("div",null,y("h3",null,C.label),y(E,{selected:C}))))};return {class:c$1,children:y(F,null),View:F,selected:C}}
1444
+ function i$1(){return (i$1=Object.assign||function(n){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(n[r]=o[r]);}return n}).apply(this,arguments)}function a$1(n,t){return t||(t=n.slice(0)),n.raw=t,n}var s,l,c$1,u=css(s||(s=a$1(['\n width: 100vw;\n height: 100vh;\n\n .story-book-outer-div {\n .story-div {\n font-family: "Arial", sans-serif;\n font-size: 12px;\n }\n padding-bottom: 500px;\n }\n\n .story-div {\n position: fixed;\n box-sizing: border-box;\n top: 0;\n width: 250px;\n height: 100vh;\n z-index: 999;\n overflow-y: scroll;\n background: white;\n margin-bottom: 32px;\n }\n\n .header {\n padding: 24px 0 16px 16px;\n margin-bottom: 24px;\n color: white;\n background: #333;\n cursor: pointer;\n\n h2 {\n letter-spacing: 3px;\n font-weight: 400;\n }\n }\n\n .parentStoryList {\n list-style: none;\n padding-left: 16px;\n\n summary {\n margin-bottom: 4px;\n }\n }\n .parentStory {\n cursor: pointer;\n }\n .parentStory.selected {\n font-weight: bold;\n }\n\n .subStory {\n font-size: 12px;\n cursor: pointer;\n line-height: 1.5em;\n margin-top: 4px;\n\n a {\n display: block;\n padding: 4px 4px 4px 16px;\n }\n }\n .subStory:hover {\n background-color: #eee;\n }\n .subStory.selected {\n background-color: lightgreen;\n }\n\n .component {\n padding: 24px 16px;\n }\n\n h4.group-header {\n margin: 8px 0;\n text-transform: uppercase;\n font-weight: 600;\n font-size: 14px;\n color: #575757;\n }\n\n .group-wrapper {\n margin-bottom: 24px;\n }\n\n .dynamic-display-wrapper {\n position: fixed;\n display: flex;\n flex-direction: column;\n bottom: 0;\n left: 100%;\n padding: 16px;\n z-index: 1000;\n background: white;\n transform: translateX(-100%);\n box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);\n\n & > :not(:first-child) {\n margin-top: 12px;\n }\n\n p {\n font-size: 12px;\n margin: 0;\n padding: 0;\n }\n\n .button-wrapper {\n display: flex;\n\n & > :not(:first-child) {\n margin-left: 12px;\n }\n }\n\n & button {\n border: 1px solid #eaeaea;\n background: white;\n border-radius: 4px;\n color: #777;\n padding: 4px 12px;\n justify-content: center;\n align-items: center;\n text-align: center;\n\n &.active {\n background: #555;\n border-color: #555;\n color: white;\n }\n }\n }\n'])));function p$1(n,t){var o,r=t.story.title.split("/"),e=r[1]?r[0]:"_";return i$1({},n,((o={})[e]=[].concat(n[e]||[],[{story:i$1({},t.story,{title:r[1]||r[0]}),subs:t.subs}]).sort(function(n,t){return n.story.title.localeCompare(t.story.title)}),o))}function d$1(n){return {story:n.default,subs:function(n,t){if(null==n)return {};var o,r,e={},i=Object.keys(n);for(r=0;r<i.length;r++)t.indexOf(o=i[r])>=0||(e[o]=n[o]);return e}(n,["default"])}}function f(s,f){var m=f.h,y=void 0===m?h:m,b=f.title,g=void 0===b?"Stencilbook":b,x=f.homepage,h$1=void 0===x?y("h3",null,"Select a story!"):x,v=f.addons,w=void 0===v?[]:v,k=useMemo(function(){return s.map(d$1).reduce(p$1,{_:[]})},s),S=decodeURIComponent(window.location.hash).replace("#",""),C=useState(q(S)),z=C[0],O=C[1],j=null==z?void 0:z.key,I=useState("desktop")[0],R=useState(!0),U=R[0],_=R[1],B=useState(!1),L=B[0],T=B[1];function q(n){var t;if(n){var o=decodeURIComponent(n).split("-"),r=o[1],e=o[2],i=null==(t=k[o[0]])?void 0:t.find(function(n){return n.story.title===r}),a=i.subs[e];return {key:n,story:a,parent:null==i?void 0:i.story,label:null==a?void 0:a.name}}}var A=function(){return y("div",{class:"dynamic-display-wrapper"},y("button",{class:L?"active":"",onClick:function(){return T(function(n){return !n})}},"Toggle Dark Background"),y("button",{class:U?"active":"",onClick:function(){return _(function(n){return !n})}},"Toggle Sidebar"))},D="mobile"===I?"375px":"tablet"===I?"768px":"1124px",N=css(l||(l=a$1(["\n max-width: ",";\n margin-left: ",";\n "])),D,U?"250px":"0px"),P=css(c$1||(c$1=a$1(["\n display: none;\n "])));document.body.style.backgroundColor=L?"#232323":"#fafafa";var V=function(n){var t=n.selected,o=w.reduce(function(n,o){return function(){return y(o,{story:i$1({},t)},y(n,null))}},null==t?void 0:t.story);return y(o,null)},X=function(){return y("div",{class:"story-book-outer-div"},y("div",{class:"story-div "+(U?"":P)},y("div",{class:"header",onClick:function(){O(void 0);}},y("h2",null,g)),y("ul",{class:"parentStoryList"},Object.keys(k).sort().map(function(n){return y("div",{class:"group-wrapper"},"_"!==n&&y("h4",{class:"group-header"},n),k[n].map(function(t){return y("li",{class:"parentStory"},y("details",{style:{marginBottom:"10px"}},y("summary",{style:{outline:"none"}},t.story.title),t.subs&&Object.keys(t.subs).map(function(o){var e=n+"-"+t.story.title+"-"+o,i=t.subs[o].storyName||lodash_startcase(o);return y("div",{class:"subStory "+(j===e?"selected":"")},y("a",{onClick:function(){return function(n){window.location.hash=encodeURIComponent(n),O(q(n));}(e)}},i))})))}))}))),y(A,null),y("div",{class:"component "+N},!j&&h$1,j&&y("div",null,y("h3",null,z.label),y(V,{selected:z}))))};return {class:u,children:y(X,null),View:X,selected:z}}
1445
1445
 
1446
1446
  const scenario = "@author:noah\n@owner:noah\nFeature: Share Button\n\n The share button redirects users to a platform where they can share their referral link\n\n @motivating\n @ui\n Scenario Outline: Share button displays for various platforms\n Given the share button's medium prop is \"<medium>\"\n And the button's child is text saying \"BUTTON_TEXT\"\n When the share button is rendered\n Then the button has text \"BUTTON_TEXT\"\n And the button is <colour>\n And it displays an <icon> beside the text\n And clicking the button redirects to an appropriate link\n Examples:\n | medium | colour | icon |\n | facebook | #1877f2 | facebook logo |\n | twitter | #1da1f2 | twitter logo |\n | email | #666666 | envelope |\n | direct | brand colour | paper plane |\n | linkedin | #0077b5 | linkedIn logo |\n | sms | #34DA50 | chat bubble |\n | fbmessenger | #0084ff | messenger logo |\n | whatsapp | #25d366 | whatsapp logo |\n | linemessenger | #00B300 | linemessenger logo |\n | pinterest | #e60023 | pinterest logo |\n\n @minutia\n @ui\n Scenario Outline: Default icons can be overwritten\n Given a share button for any medium with <iconPropValue>\n When the share button is rendered\n Then it displays a <iconPropValue> instead of the share mediums default icon\n Examples:\n | iconPropValue |\n | basket |\n | bluetooth |\n | bandaid |\n\n @motivating\n @ui\n Scenario Outline: Default share medium colours can be overwritten\n Given a share button for any medium with <backgroundColourPropValue>\n When the share button is rendered\n Then the share button is <backgroundColourPropValue>\n Examples:\n | backgroundColourPropValue |\n | blue |\n | black |\n | green |\n\n @minutia\n @ui\n Scenario Outline: Share medium icons and text can be hidden\n Given a share button with <prop> <value>\n When the share button is rendered\n Then <element> is hidden\n Examples:\n | prop | value | element |\n | hideicon | true | icon |\n | hidetext | true | text |\n\n @minutia\n @ui\n Scenario Outline: Icons can be on either side of the text\n Given a share button with <iconslotPropValue>\n When the share button is rendered\n Then the icon is displayed to the <direction> of the text\n Examples:\n | iconslotPropValue | direction |\n | suffix | right |\n | prefix | left |\n | prefix | left |\n\n @minutia\n Scenario: Unsupported browsers hide native share buttons\n Given the share button's medium prop is \"direct\"\n And your browser does not support the Web Share API\n Then the share button is hidden\n\n @minutia\n Scenario: SMS share buttons are hidden on non Android and iOS devices\n Given the share button's medium is \"sms\"\n And the share button is being viewed on a device which is not an Android or iOS device\n Then the share button is hidden\n\n @motivating\n Scenario: Facebook share buttons uses SquatchAndroid sharing features\n Given the share button's medium is \"facebook\"\n And the share button is being viewed in a web view with the SquatchAndroid API\n And the Facebook app is available\n Then tapping the share button opens the phone's Facebook app\n And a share activity is opened with the share link prefilled\n\n @motivating\n Scenario: SquatchAndroid falls back to the Facebook website if no app is available\n Given the share button's medium is \"facebook\"\n And the share button is being viewed in a web view with the SquatchAndroid API\n And the Facebook app is not available\n Then tapping the share button opens the the Facebook mobile site in the device's browser\n And a share activity is opened with the share link prefilled\n\n @minutia\n Scenario: A supplied program ID is used if available\n Given the program id is supplied to the component in the \"programId\" prop\n Then the program ID in the \"programId\" prop is used to retrieve share links\n\n @minutia\n Scenario: The program ID is automatically fetched from context\n Given the program id is not supplied to the component in the \"programId\" prop\n Then the program ID is retrieved from context";
1447
1447
 
@@ -3888,13 +3888,13 @@ const monoWidget = "<sqm-brand brand-color=\"#4225c4\" brand-font=\"Nunito Sans\
3888
3888
 
3889
3889
  const loyaltyWidget = "<sqm-brand brand-color=\"#4225c4\" brand-font=\"Nunito Sans\">\n <sqm-portal-container\n direction=\"column\"\n padding=\"small\"\n gap=\"xxxx-large\"\n display=\"grid\"\n max-width=\"100%\"\n >\n <sqm-portal-container\n direction=\"column\"\n padding=\"none\"\n gap=\"xxx-large\"\n display=\"grid\"\n max-width=\"100%\"\n >\n <sqm-hero-image\n image-url=\"https://res.cloudinary.com/saasquatch/image/upload/v1644000275/squatch-assets/yr6ER3R.png\"\n header=\"MyCompany Rewards\"\n description=\"Complete tasks to earn rewards\"\n layout=\"overlay\"\n padding-image=\"xxxx-large\"\n padding-text=\"xxx-large\"\n image-pos=\"center\"\n overlay-color=\"#5e5669\"\n overlay-opacity=\"0.9\"\n >\n </sqm-hero-image>\n <sqm-portal-container\n direction=\"column\"\n padding=\"none\"\n gap=\"xxx-large\"\n max-width=\"770px\"\n center\n display=\"grid\"\n >\n <sqm-program-explainer header=\"How it works\">\n <sqm-program-explainer-step\n description=\"Complete tasks like uploading your first video or sharing videos with friends\"\n header=\"Earn points for using our product\"\n icon=\"cash-stack\"\n text-color=\"#000000\"\n >\n </sqm-program-explainer-step>\n <sqm-program-explainer-step\n description=\"Redeem rewards like one free month of Enterprise or two plane tickets to anywhere in North America\"\n header=\"Redeem rewards with your points\"\n icon=\"people\"\n text-color=\"#000000\"\n >\n </sqm-program-explainer-step>\n </sqm-program-explainer>\n <sqm-portal-container\n center\n direction=\"row\"\n display=\"flex\"\n justify-content=\"space-between\"\n gap=\"xxx-large\"\n max-width=\"100%\"\n padding=\"none\"\n >\n <sqm-stat-container space=\"xxx-large\" display=\"flex\">\n <sqm-big-stat\n flex-reverse=\"true\"\n alignment=\"left\"\n stat-type=\"/rewardsRedeemed/CREDIT/POINTS\"\n >\n <p>Points Redeemed</p>\n </sqm-big-stat>\n <sqm-big-stat\n flex-reverse=\"true\"\n alignment=\"left\"\n stat-type=\"/rewardBalance/CREDIT/POINT/value/global\"\n >\n <p>Points Balance</p>\n </sqm-big-stat>\n </sqm-stat-container>\n </sqm-portal-container>\n <sqm-portal-container\n direction=\"column\"\n padding=\"none\"\n gap=\"xx-large\"\n display=\"grid\"\n max-width=\"100%\"\n >\n <sqm-titled-section\n label-margin=\"small\"\n padding=\"none\"\n text-align=\"center\"\n >\n <h3 slot=\"label\">Earn points</h3>\n </sqm-titled-section>\n <sqm-card-feed gap=\"24\" width=\"347\">\n <sqm-task-card\n reward-amount=\"20\"\n goal=\"1\"\n card-title=\"Complete a Survey\"\n description=\"Fill out our NPS survey and get 20 points for giving us honest feedback.\"\n button-text=\"Take survey\"\n reward-unit=\"Points\"\n completed-text=\"Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}\"\n ended-message=\"Ended {endDate}\"\n expiry-message=\"Ends {endDate}\"\n finite=\"0\"\n starts-on-message=\"Starts {startDate}\"\n >\n </sqm-task-card>\n <sqm-task-card\n reward-amount=\"250\"\n goal=\"500\"\n show-progress-bar\n card-title=\"Spend $500\"\n description=\"Earn 250 points when you spend $500 or more.\"\n button-text=\"See plans\"\n completed-text=\"Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}\"\n ended-message=\"Ended {endDate}\"\n expiry-message=\"Ends {endDate}\"\n progress-bar-unit=\"$\"\n finite=\"0\"\n reward-unit=\"Points\"\n starts-on-message=\"Starts {startDate}\"\n >\n </sqm-task-card>\n <sqm-task-card\n goal=\"1\"\n reward-amount=\"50\"\n card-title=\"Follow Us on Twitter\"\n description=\"Earn 50 points when you follow us on Twitter!\"\n button-text=\"Follow\"\n button-link=\"https://twitter.com/\"\n open-new-tab=\"true\"\n event-key=\"socialFollow\"\n completed-text=\"Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}\"\n ended-message=\"Ended {endDate}\"\n expiry-message=\"Ends {endDate}\"\n finite=\"0\"\n reward-unit=\"Points\"\n starts-on-message=\"Starts {startDate}\"\n >\n </sqm-task-card>\n <sqm-task-card\n reward-amount=\"1\"\n reward-unit=\"Free Month\"\n goal=\"1\"\n card-title=\"Upgrade Your Plan\"\n description=\"Receive one free month for being a committed customer when you upgrade your plan.\"\n button-text=\"Upgrade\"\n completed-text=\"Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}\"\n ended-message=\"Ended {endDate}\"\n expiry-message=\"Ends {endDate}\"\n open-new-tab=\"false\"\n finite=\"0\"\n starts-on-message=\"Starts {startDate}\"\n >\n </sqm-task-card>\n </sqm-card-feed>\n <sqm-portal-container\n gap=\"large\"\n direction=\"column\"\n display=\"grid\"\n max-width=\"100%\"\n padding=\"none\"\n >\n <sqm-titled-section\n padding=\"none\"\n text-align=\"center\"\n label-margin=\"xx-small\"\n >\n <h3 slot=\"label\">Reward History</h3>\n </sqm-titled-section>\n <sqm-rewards-table\n per-page=\"4\"\n hidden-columns=\"0\"\n more-label=\"Next\"\n prev-label=\"Prev\"\n sm-breakpoint=\"599\"\n md-breakpoint=\"799\"\n >\n <sqm-rewards-table-reward-column\n available-text=\"{availableAmount} remaining\"\n column-title=\"Reward\"\n copy-text=\"Copied!\"\n redeemed-text=\"{redeemedAmount} redeemed\"\n >\n </sqm-rewards-table-reward-column>\n <sqm-rewards-table-source-column\n anonymous-user=\"Anonymous User\"\n column-title=\"Source\"\n deleted-user=\"Deleted User\"\n referral-text=\"{rewardSource, select, FRIEND_SIGNUP {Referral to} REFERRED {Referred by} other {}}\"\n reward-exchange-text=\"Reward Exchange\"\n reward-source-text=\"{rewardSource, select, MANUAL {Manual} AUTOMATED {{programName}} other {}}\"\n >\n </sqm-rewards-table-source-column>\n <sqm-rewards-table-status-column\n column-title=\"Status\"\n expiry-text=\"Expires on \"\n status-text=\"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }\"\n >\n </sqm-rewards-table-status-column>\n <sqm-rewards-table-date-column\n column-title=\"Date received\"\n date-shown=\"dateGiven\"\n >\n </sqm-rewards-table-date-column>\n <sqm-empty\n slot=\"empty\"\n empty-state-image=\"https://res.cloudinary.com/saasquatch/image/upload/v1644360953/squatch-assets/empty_reward2.png\"\n empty-state-header=\"View your rewards\"\n empty-state-text=\"Refer friends and complete tasks to view the details of your rewards\"\n >\n </sqm-empty>\n </sqm-rewards-table>\n </sqm-portal-container>\n </sqm-portal-container>\n <sqm-portal-footer\n support-email=\"support@example.com\"\n terms-link=\"https://example.com\"\n faq-link=\"https://example.com\"\n terms-text=\"Terms And Conditions\"\n faq-text=\"FAQ\"\n show-powered-by=\"true\"\n padding-bottom=\"none\"\n padding-left=\"none\"\n padding-right=\"none\"\n padding-top=\"none\"\n ></sqm-portal-footer>\n </sqm-portal-container>\n </sqm-portal-container>\n </sqm-portal-container>\n</sqm-brand>\n";
3890
3890
 
3891
- const instantAccessShareWidget = "<sqm-brand>\n <sqm-portal-container\n direction=\"column\"\n padding=\"none\"\n gap=\"xx-large\"\n max-width=\"770px\"\n center\n display=\"grid\"\n >\n <sqm-referral-card vertical-alignment=\"start\">\n <sqm-titled-section\n text-align=\"center\"\n label-margin=\"xxx-small\"\n padding=\"none\"\n slot=\"header\"\n >\n <h3 slot=\"label\">Share &#x24;50 with friends</h3>\n <p slot=\"content\">\n They&#x2019;ll get a &#x24;50 credit towards a new account and\n you&#x2019;ll get up to &#x24;1200\n </p>\n </sqm-titled-section>\n <sqm-portal-container\n gap=\"large\"\n slot=\"left\"\n direction=\"column\"\n display=\"grid\"\n max-width=\"100%\"\n padding=\"none\"\n >\n <p>How to get rewarded!</p>\n <sqm-timeline icon=\"circle\">\n <sqm-timeline-entry\n reward=\"$50\"\n unit=\"visa giftcard\"\n desc=\"Your friend purchases a Business plan\"\n icon=\"circle\"\n >\n </sqm-timeline-entry>\n <sqm-timeline-entry\n reward=\"$200\"\n unit=\"visa giftcard\"\n desc=\"Our sales team qualifies your friend as a good fit for our Enterprise plan\"\n icon=\"circle\"\n >\n </sqm-timeline-entry>\n <sqm-timeline-entry\n reward=\"$1000\"\n unit=\"visa giftcard\"\n desc=\"Your friend purchases an Enterprise plan\"\n icon=\"circle\"\n >\n </sqm-timeline-entry>\n </sqm-timeline>\n </sqm-portal-container>\n <sqm-portal-container\n gap=\"large\"\n slot=\"right\"\n direction=\"column\"\n display=\"grid\"\n max-width=\"100%\"\n padding=\"none\"\n >\n <p>Choose how you want to share:</p>\n <p><sub>Your unique referral link:</sub></p>\n <sqm-share-link\n tooltip-text=\"Copied to Clipboard\"\n tooltip-lifespan=\"1000\"\n >\n </sqm-share-link>\n <sqm-portal-container\n gap=\"x-small\"\n direction=\"column\"\n display=\"grid\"\n max-width=\"100%\"\n padding=\"none\"\n >\n <sqm-share-button\n medium=\"email\"\n icon-slot=\"prefix\"\n size=\"medium\"\n type=\"default\"\n >\n Share via email\n </sqm-share-button>\n <sqm-share-button\n medium=\"linkedin\"\n icon-slot=\"prefix\"\n size=\"medium\"\n type=\"default\"\n >\n Share on LinkedIn\n </sqm-share-button>\n <sqm-share-button\n medium=\"twitter\"\n icon-slot=\"prefix\"\n size=\"medium\"\n type=\"default\"\n >\n Tweet about us\n </sqm-share-button>\n </sqm-portal-container>\n </sqm-portal-container>\n <sqm-portal-container\n slot=\"footer\"\n direction=\"column\"\n gap=\"small\"\n justify-content=\"center\"\n display=\"flex\"\n padding=\"large\"\n >\n <sqm-user-identifier\n switch-user-link=\"https://www.example.com\"\n ></sqm-user-identifier\n ><sqm-portal-footer\n padding-top=\"none\"\n padding-bottom=\"none\"\n padding-left=\"none\"\n padding-right=\"none\"\n ></sqm-portal-footer>\n </sqm-portal-container>\n </sqm-referral-card>\n </sqm-portal-container>\n</sqm-brand>\n";
3891
+ const instantAccessReferrerShareWidget = "<sqm-brand>\n <sqm-portal-container\n direction=\"column\"\n padding=\"none\"\n gap=\"xx-large\"\n max-width=\"770px\"\n center\n display=\"grid\"\n >\n <sqm-referral-card vertical-alignment=\"start\">\n <sqm-titled-section\n text-align=\"center\"\n label-margin=\"xxx-small\"\n padding=\"none\"\n slot=\"header\"\n >\n <h3 slot=\"label\">Share &#x24;50 with friends</h3>\n <p slot=\"content\">\n They&#x2019;ll get a &#x24;50 credit towards a new account and\n you&#x2019;ll get up to &#x24;1200\n </p>\n </sqm-titled-section>\n <sqm-portal-container\n gap=\"large\"\n slot=\"left\"\n direction=\"column\"\n display=\"grid\"\n max-width=\"100%\"\n padding=\"none\"\n >\n <p>How to get rewarded!</p>\n <sqm-timeline icon=\"circle\">\n <sqm-timeline-entry\n reward=\"$50\"\n unit=\"visa giftcard\"\n desc=\"Your friend purchases a Business plan\"\n icon=\"circle\"\n >\n </sqm-timeline-entry>\n <sqm-timeline-entry\n reward=\"$200\"\n unit=\"visa giftcard\"\n desc=\"Our sales team qualifies your friend as a good fit for our Enterprise plan\"\n icon=\"circle\"\n >\n </sqm-timeline-entry>\n <sqm-timeline-entry\n reward=\"$1000\"\n unit=\"visa giftcard\"\n desc=\"Your friend purchases an Enterprise plan\"\n icon=\"circle\"\n >\n </sqm-timeline-entry>\n </sqm-timeline>\n </sqm-portal-container>\n <sqm-portal-container\n gap=\"large\"\n slot=\"right\"\n direction=\"column\"\n display=\"grid\"\n max-width=\"100%\"\n padding=\"none\"\n >\n <p>Choose how you want to share:</p>\n <p><sub>Your unique referral link:</sub></p>\n <sqm-share-link\n tooltip-text=\"Copied to Clipboard\"\n tooltip-lifespan=\"1000\"\n >\n </sqm-share-link>\n <sqm-portal-container\n gap=\"x-small\"\n direction=\"column\"\n display=\"grid\"\n max-width=\"100%\"\n padding=\"none\"\n >\n <sqm-share-button\n medium=\"email\"\n icon-slot=\"prefix\"\n size=\"medium\"\n type=\"default\"\n >\n Share via email\n </sqm-share-button>\n <sqm-share-button\n medium=\"linkedin\"\n icon-slot=\"prefix\"\n size=\"medium\"\n type=\"default\"\n >\n Share on LinkedIn\n </sqm-share-button>\n <sqm-share-button\n medium=\"twitter\"\n icon-slot=\"prefix\"\n size=\"medium\"\n type=\"default\"\n >\n Tweet about us\n </sqm-share-button>\n </sqm-portal-container>\n </sqm-portal-container>\n <sqm-portal-container\n slot=\"footer\"\n direction=\"column\"\n gap=\"small\"\n justify-content=\"center\"\n display=\"flex\"\n padding=\"large\"\n >\n <sqm-logout-current-user\n switch-user-link=\"https://www.example.com\"\n ></sqm-logout-current-user\n ><sqm-portal-footer\n padding-top=\"none\"\n padding-bottom=\"none\"\n padding-left=\"none\"\n padding-right=\"none\"\n ></sqm-portal-footer>\n </sqm-portal-container>\n </sqm-referral-card>\n </sqm-portal-container>\n</sqm-brand>\n";
3892
3892
 
3893
- const instantAccessCouponWidget = "<sqm-brand>\n <sqm-portal-container\n direction=\"column\"\n padding=\"none\"\n gap=\"xx-large\"\n max-width=\"770px\"\n center\n display=\"grid\"\n >\n <sqm-referral-card vertical-alignment=\"start\">\n <sqm-portal-container\n gap=\"large\"\n direction=\"column\"\n display=\"flex\"\n justify-content=\"center\"\n max-width=\"100%\"\n padding=\"none\"\n slot=\"header\"\n >\n <sqm-titled-section\n text-align=\"center\"\n label-margin=\"xxx-small\"\n padding=\"none\"\n >\n <h3 slot=\"label\">You got $50 off thanks to a friend!</h3>\n\n <p slot=\"content\">\n Description about sharing the products wiht friends will make your\n life 100 times better!\n </p>\n </sqm-titled-section>\n\n <sqm-portal-container>\n <p>\n The coupon code has some conditions that are described concisely in\n this paragraph so that you don’t get upset if the code doesn’t work\n </p></sqm-portal-container\n >\n\n <sqm-coupon-code></sqm-coupon-code>\n </sqm-portal-container>\n\n <sqm-portal-footer\n slot=\"footer\"\n padding-top=\"none\"\n padding-bottom=\"none\"\n padding-left=\"none\"\n padding-right=\"none\"\n ></sqm-portal-footer>\n </sqm-referral-card>\n </sqm-portal-container>\n</sqm-brand>\n";
3893
+ const instantAccessFriendCouponWidget = "<sqm-brand>\n <sqm-portal-container\n direction=\"column\"\n padding=\"none\"\n gap=\"xx-large\"\n max-width=\"770px\"\n center\n display=\"grid\"\n >\n <sqm-referral-card vertical-alignment=\"start\">\n <sqm-portal-container\n gap=\"large\"\n direction=\"column\"\n display=\"flex\"\n justify-content=\"center\"\n max-width=\"100%\"\n padding=\"none\"\n slot=\"header\"\n >\n <sqm-titled-section\n text-align=\"center\"\n label-margin=\"xxx-small\"\n padding=\"none\"\n >\n <h3 slot=\"label\">You got $50 off thanks to a friend!</h3>\n\n <p slot=\"content\">\n Description about sharing the products wiht friends will make your\n life 100 times better!\n </p>\n </sqm-titled-section>\n\n <sqm-portal-container>\n <p>\n The coupon code has some conditions that are described concisely in\n this paragraph so that you don’t get upset if the code doesn’t work\n </p></sqm-portal-container\n >\n\n <sqm-coupon-code></sqm-coupon-code>\n </sqm-portal-container>\n\n <sqm-portal-footer\n slot=\"footer\"\n padding-top=\"none\"\n padding-bottom=\"none\"\n padding-left=\"none\"\n padding-right=\"none\"\n ></sqm-portal-footer>\n </sqm-referral-card>\n </sqm-portal-container>\n</sqm-brand>\n";
3894
3894
 
3895
- const instantAccessReferrerRegistationWidget = "<sqm-brand>\n <sqm-instant-access-registration include-name=\"true\">\n <sqm-titled-section\n text-align=\"center\"\n label-margin=\"xxx-small\"\n padding=\"none\"\n slot=\"top-slot\"\n >\n <h3 slot=\"label\">Share &#x24;50 with friends</h3>\n <p slot=\"content\">\n They&#x2019;ll get a &#x24;50 credit towards a new account and\n you&#x2019;ll get up to &#x24;1200\n </p>\n </sqm-titled-section>\n\n <sqm-portal-footer\n hide-support-text=\"true\"\n terms-link=\"https://example.com\"\n terms-text=\"Terms And Conditions\"\n faq-text=\"FAQ\"\n show-powered-by=\"true\"\n padding-bottom=\"none\"\n padding-left=\"none\"\n padding-right=\"none\"\n padding-top=\"none\"\n slot=\"bottom-slot\"\n ></sqm-portal-footer>\n </sqm-instant-access-registration>\n</sqm-brand>\n";
3895
+ const instantAccessReferrerRegistrationWidget = "<sqm-brand>\n <sqm-instant-access-registration include-name=\"true\">\n <sqm-titled-section\n text-align=\"center\"\n label-margin=\"xxx-small\"\n padding=\"none\"\n slot=\"top-slot\"\n >\n <h3 slot=\"label\">Share &#x24;50 with friends</h3>\n <p slot=\"content\">\n They&#x2019;ll get a &#x24;50 credit towards a new account and\n you&#x2019;ll get up to &#x24;1200\n </p>\n </sqm-titled-section>\n\n <sqm-portal-footer\n hide-support-text=\"true\"\n terms-link=\"https://example.com\"\n terms-text=\"Terms And Conditions\"\n faq-text=\"FAQ\"\n show-powered-by=\"true\"\n padding-bottom=\"none\"\n padding-left=\"none\"\n padding-right=\"none\"\n padding-top=\"none\"\n slot=\"bottom-slot\"\n ></sqm-portal-footer>\n </sqm-instant-access-registration>\n</sqm-brand>\n";
3896
3896
 
3897
- const instantAccessReferredRegistationWidget = "<sqm-brand>\n <sqm-referred-registration register-label=\"Get $50 off\">\n <sqm-titled-section\n text-align=\"center\"\n label-margin=\"xxx-small\"\n padding=\"none\"\n slot=\"top-slot\"\n >\n <h3 slot=\"label\">You got $50 off thanks to a friend!</h3>\n <p slot=\"content\">\n Description about sharing the products with friends will make your life\n 100 times better!\n </p>\n </sqm-titled-section>\n\n <div slot=\"bottom-slot\">\n <p style=\"text-align: center; margin-top: 0; margin-bottom: 1.5rem\">\n *Valid on purchases of $75 or more\n </p>\n <sqm-portal-footer\n hide-support-text=\"true\"\n terms-link=\"https://example.com\"\n terms-text=\"Terms And Conditions\"\n faq-text=\"FAQ\"\n show-powered-by=\"true\"\n padding-bottom=\"none\"\n padding-left=\"none\"\n padding-right=\"none\"\n padding-top=\"none\"\n ></sqm-portal-footer>\n </div>\n </sqm-referred-registration>\n</sqm-brand>\n";
3897
+ const instantAccessFriendRegistrationWidget = "<sqm-brand>\n <sqm-referred-registration register-label=\"Get $50 off\">\n <sqm-titled-section\n text-align=\"center\"\n label-margin=\"xxx-small\"\n padding=\"none\"\n slot=\"top-slot\"\n >\n <h3 slot=\"label\">You got $50 off thanks to a friend!</h3>\n <p slot=\"content\">\n Description about sharing the products with friends will make your life\n 100 times better!\n </p>\n </sqm-titled-section>\n\n <div slot=\"bottom-slot\">\n <p style=\"text-align: center; margin-top: 0; margin-bottom: 1.5rem\">\n *Valid on purchases of $75 or more\n </p>\n <sqm-portal-footer\n hide-support-text=\"true\"\n terms-link=\"https://example.com\"\n terms-text=\"Terms And Conditions\"\n faq-text=\"FAQ\"\n show-powered-by=\"true\"\n padding-bottom=\"none\"\n padding-left=\"none\"\n padding-right=\"none\"\n padding-top=\"none\"\n ></sqm-portal-footer>\n </div>\n </sqm-referred-registration>\n</sqm-brand>\n";
3898
3898
 
3899
3899
  const portalTemplate = "<sqm-portal-frame>\n <a slot=\"header\" href=\"/\">\n <sqm-text style=\"height: 60px\">\n <img\n style=\"height: 60px\"\n src=\"https://res.cloudinary.com/saasquatch/image/upload/v1634255445/squatch-assets/Copy_of_saasquatch-logo-tree-large-horizontal.png\"\n />\n </sqm-text>\n </a>\n <sqb-program-section program-id=\"referral-program\">\n <sqm-router>\n <template\n path=\"/:path(\\bregister\\b|\\bemailVerification\\b|\\blogin\\b|\\bverifyEmail\\b|\\bforgotPassword\\b|\\bresetPassword\\b|\\blogout\\b)\"\n >\n <sqm-hero\n background=\"https://images.unsplash.com/photo-1599676821464-3555954838dc?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1939&q=80\"\n >\n <sqm-router>\n <template path=\"/register\">\n <sqm-portal-register>\n <sqm-name-fields slot=\"formData\"></sqm-name-fields>\n </sqm-portal-register>\n </template>\n\n <template path=\"/emailVerification\">\n <sqm-portal-protected-route\n redirect-to=\"/login\"\n ></sqm-portal-protected-route>\n <sqm-portal-email-verification></sqm-portal-email-verification>\n </template>\n\n <template path=\"/login\">\n <sqm-portal-login></sqm-portal-login>\n </template>\n\n <template path=\"/verifyEmail\">\n <sqm-portal-verify-email></sqm-portal-verify-email>\n </template>\n\n <template path=\"/forgotPassword\">\n <sqm-portal-forgot-password\n email-label=\"Business Email\"\n ></sqm-portal-forgot-password>\n </template>\n\n <template path=\"/resetPassword\">\n <sqm-portal-reset-password\n confirm-password=\"true\"\n ></sqm-portal-reset-password>\n </template>\n <template path=\"/logout\">\n <sqm-portal-logout next-page=\"/login\"></sqm-portal-logout>\n </template>\n </sqm-router>\n </sqm-hero>\n </template>\n </sqm-router>\n <sqm-router>\n <template path=\"/:path(\\bactivity\\b|\\beditProfile\\b)?\">\n <sqm-divided-layout\n direction=\"row\"\n style=\"\n border-top: 1px solid #eaeaea;\n border-bottom: 1px solid #eaeaea;\n \"\n >\n <sqm-navigation-sidebar>\n <sqm-navigation-sidebar-item\n path=\"/\"\n icon=\"house\"\n label=\"Dashboard\"\n ></sqm-navigation-sidebar-item>\n <sqm-navigation-sidebar-item\n path=\"/activity\"\n icon=\"bar-chart\"\n label=\"Activity\"\n ></sqm-navigation-sidebar-item>\n <sqm-navigation-sidebar-item\n path=\"/editProfile\"\n icon=\"person\"\n label=\"Edit Profile\"\n ></sqm-navigation-sidebar-item>\n <sqm-navigation-sidebar-item\n path=\"/logout\"\n icon=\"box-arrow-right\"\n label=\"Logout\"\n ></sqm-navigation-sidebar-item>\n </sqm-navigation-sidebar>\n <sqm-divided-layout direction=\"column\">\n <sqm-router>\n <template path=\"/\">\n <sqm-portal-protected-route\n require-email-verification=\"true\"\n redirect-to=\"/login\"\n redirect-to-unverified=\"/emailVerification\"\n ></sqm-portal-protected-route>\n <sqb-widget\n widget-type=\"p/referral-program/w/referrerWidget\"\n track-loads=\"true\"\n ></sqb-widget>\n </template>\n <template path=\"/editProfile\">\n <sqm-portal-protected-route\n require-email-verification=\"true\"\n redirect-to=\"/login\"\n redirect-to-unverified=\"/emailVerification\"\n ></sqm-portal-protected-route>\n <sqm-portal-container direction=\"column\" gap=\"xxx-large\">\n <sqm-portal-profile></sqm-portal-profile> </sqm-portal-container\n ><sqm-portal-container direction=\"column\" gap=\"xxx-large\">\n <sqm-portal-change-password></sqm-portal-change-password>\n </sqm-portal-container>\n </template>\n\n <template path=\"/activity\">\n <sqm-portal-protected-route\n require-email-verification=\"true\"\n redirect-to=\"/login\"\n redirect-to-unverified=\"/emailVerification\"\n ></sqm-portal-protected-route>\n <sqm-portal-container\n direction=\"column\"\n padding=\"xxx-large\"\n gap=\"xxx-large\"\n >\n <sqm-text> <h1>Activity</h1></sqm-text>\n <sqm-stat-container space=\"xxxx-large\"\n ><sqm-big-stat\n flex-reverse=\"true\"\n alignment=\"left\"\n stat-type=\"/referralsCount\"\n ><sqm-text><p>Referrals</p></sqm-text></sqm-big-stat\n >\n <sqm-big-stat\n flex-reverse=\"true\"\n alignment=\"left\"\n stat-type=\"/rewardsCountFiltered/AVAILABLE\"\n ><sqm-text><p>Rewards Earned</p></sqm-text></sqm-big-stat\n >\n <sqm-big-stat\n flex-reverse=\"true\"\n alignment=\"left\"\n stat-type=\"/rewardBalance/CREDIT/CENTS\"\n ><sqm-text><p>Reward Balance</p></sqm-text></sqm-big-stat\n >\n </sqm-stat-container>\n <sqm-referral-table>\n <sqm-referral-table-user-column></sqm-referral-table-user-column>\n <sqm-referral-table-rewards-column></sqm-referral-table-rewards-column>\n <sqm-referral-table-status-column></sqm-referral-table-status-column>\n <sqm-referral-table-date-column\n column-title=\"Referred\"\n date-shown=\"dateReferralStarted\"\n ></sqm-referral-table-date-column> </sqm-referral-table\n ></sqm-portal-container>\n </template>\n </sqm-router>\n </sqm-divided-layout>\n </sqm-divided-layout>\n </template>\n </sqm-router>\n </sqb-program-section>\n <sqm-portal-footer\n slot=\"footer\"\n support-email=\"support@example.com\"\n terms-link=\"https://example.com\"\n faq-link=\"https://example.com\"\n terms-text=\"Terms And Conditions\"\n faq-text=\"FAQ\"\n show-powered-by=\"true\"\n ></sqm-portal-footer>\n</sqm-portal-frame>\n";
3900
3900
 
@@ -7102,20 +7102,20 @@ const Loyalty = createHookStory(() => {
7102
7102
  const { states, callbacks } = useTemplate$2(loyaltyWidget);
7103
7103
  return (h(DefaultTemplateView$1, { states: states, callbacks: callbacks, template: loyaltyWidget }));
7104
7104
  });
7105
- const InstantAccessShareWidget = createHookStory(() => {
7106
- const { states, callbacks } = useTemplate$2(instantAccessShareWidget);
7105
+ const InstantAccessReferrerShareWidget = createHookStory(() => {
7106
+ const { states, callbacks } = useTemplate$2(instantAccessReferrerShareWidget);
7107
7107
  return h(TemplateView$1, { states: states, callbacks: callbacks });
7108
7108
  });
7109
- const InstantAccessCouponWidget = createHookStory(() => {
7110
- const { states, callbacks } = useTemplate$2(instantAccessCouponWidget);
7109
+ const InstantAccessFriendCouponWidget = createHookStory(() => {
7110
+ const { states, callbacks } = useTemplate$2(instantAccessFriendCouponWidget);
7111
7111
  return h(TemplateView$1, { states: states, callbacks: callbacks });
7112
7112
  });
7113
- const InstantAccessReferrerRegistationWidget = createHookStory(() => {
7114
- const { states, callbacks } = useTemplate$2(instantAccessReferrerRegistationWidget);
7113
+ const InstantAccessReferrerRegistrationWidget = createHookStory(() => {
7114
+ const { states, callbacks } = useTemplate$2(instantAccessReferrerRegistrationWidget);
7115
7115
  return h(TemplateView$1, { states: states, callbacks: callbacks });
7116
7116
  });
7117
- const InsantAccessReferredRegistationWidget = createHookStory(() => {
7118
- const { states, callbacks } = useTemplate$2(instantAccessReferredRegistationWidget);
7117
+ const InstantAccessFriendRegistrationWidget = createHookStory(() => {
7118
+ const { states, callbacks } = useTemplate$2(instantAccessFriendRegistrationWidget);
7119
7119
  return h(TemplateView$1, { states: states, callbacks: callbacks });
7120
7120
  });
7121
7121
 
@@ -7125,10 +7125,10 @@ const Widget$1 = /*#__PURE__*/Object.freeze({
7125
7125
  ReferralWidget: ReferralWidget,
7126
7126
  MonoWidget: MonoWidget,
7127
7127
  Loyalty: Loyalty,
7128
- InstantAccessShareWidget: InstantAccessShareWidget,
7129
- InstantAccessCouponWidget: InstantAccessCouponWidget,
7130
- InstantAccessReferrerRegistationWidget: InstantAccessReferrerRegistationWidget,
7131
- InsantAccessReferredRegistationWidget: InsantAccessReferredRegistationWidget
7128
+ InstantAccessReferrerShareWidget: InstantAccessReferrerShareWidget,
7129
+ InstantAccessFriendCouponWidget: InstantAccessFriendCouponWidget,
7130
+ InstantAccessReferrerRegistrationWidget: InstantAccessReferrerRegistrationWidget,
7131
+ InstantAccessFriendRegistrationWidget: InstantAccessFriendRegistrationWidget
7132
7132
  });
7133
7133
 
7134
7134
  const SidebarItem_stories = {
@@ -13167,10 +13167,12 @@ const EmailRegistration = /*#__PURE__*/Object.freeze({
13167
13167
  EmptyEmailError: EmptyEmailError
13168
13168
  });
13169
13169
 
13170
+ const scenario$A = "@author:truman\n@owner:truman\nFeature: Coupon Code\n\n The coupon code component is a box that allows users to see and copy their coupon code for a given program\n\n @motivating\n Scenario: A Users sharelink can be copied to their clipboard\n Given tooltipText is \"hello tooltip\"\n When the component renders\n Then there is a textbox with the user's coupon code\n When the clipboard icon is clicked\n Then the link is copied to clipboard\n And a tooltip appears for ~1 second\n\n @minutia\n Scenario: Tooltip lifespan defaults to 2000\n Given the tooltip's lifespan is set to 2000\n And there is tooltip text\n When the component renders\n And the clipboard icon is clicked\n Then a tooltip appears for ~2 seconds\n\n @minutia\n Scenario: Component shows an error state when there are no coupon codes\n Given a user is viewing the coupon code component\n When there are no coupon code to display\n Then the coupon code input box has a red border\n And there is red help text about the error\n And in place of the coupon code is \"CODE ERROR\"\n When the copy button's position is set to \"below\"\n Then the red help text is below the copy button\n\n @ui\n Scenario: user can edit the error message and code placeholder\n\n @ui\n Scenario: user can edit the alignment of the coupon code text\n\n @ui\n Scenario Outline: The position of the copy button can be changed\n Given a user is editing the coupon code component\n When they change the option \"Button style\" to <option>\n Then they see the copy button in <position>\n Examples:\n | option | position |\n | button inside | inside the input, on the right |\n | button outside | outside the input, on the right |\n | button below | outside the input, below |";
13171
+
13170
13172
  const CouponCode_stories = {
13171
13173
  title: "Components/Coupon Code",
13172
13174
  parameters: {
13173
- // scenario,
13175
+ scenario: scenario$A,
13174
13176
  },
13175
13177
  };
13176
13178
  const defaultProps$e = {
@@ -13178,8 +13180,8 @@ const defaultProps$e = {
13178
13180
  copyString: "THANKSJANE125uv125",
13179
13181
  open: false,
13180
13182
  copyButtonLabel: "Copy Coupon",
13181
- errorText: "Oops! Looks like we weren’t able to retrieve a code for you. Please try again later.",
13182
13183
  inputPlaceholderText: "CODE ERROR",
13184
+ rewardStatus: "AVAILABLE",
13183
13185
  };
13184
13186
  const CouponCode = () => {
13185
13187
  return h("sqm-coupon-code", { tooltiptext: "Copied to Clipboard" });
@@ -13202,11 +13204,20 @@ const CopyButtonInside$2 = () => {
13202
13204
  const CopyButtonBelow$2 = () => {
13203
13205
  return (h(CopyTextView, Object.assign({}, defaultProps$e, { buttonStyle: "button below" })));
13204
13206
  };
13205
- const Error$9 = () => {
13206
- return h(CopyTextView, Object.assign({}, defaultProps$e, { error: true }));
13207
+ const ErrorPending = () => {
13208
+ return (h(CopyTextView, Object.assign({}, defaultProps$e, { rewardStatus: "PENDING", errorText: "Oops! Looks like we weren\u2019t able to retrieve a code for you. Please try again later or contact support." })));
13209
+ };
13210
+ const ErrorCancelled = () => {
13211
+ return (h(CopyTextView, Object.assign({}, defaultProps$e, { rewardStatus: "CANCELLED", errorText: "Oops! Your coupon code is cancelled. Please try again later or contact support." })));
13212
+ };
13213
+ const ErrorRedeemed = () => {
13214
+ return (h(CopyTextView, Object.assign({}, defaultProps$e, { rewardStatus: "REDEEMED", errorText: "Oops! Your coupon code has already been redeemed. Please try again later or contact support." })));
13215
+ };
13216
+ const ErrorExpired = () => {
13217
+ return (h(CopyTextView, Object.assign({}, defaultProps$e, { rewardStatus: "EXPIRED", errorText: "Oops! Your coupon code is expired. Please try again later or contact support." })));
13207
13218
  };
13208
13219
  const ErrorButtonBelow = () => {
13209
- return (h(CopyTextView, Object.assign({}, defaultProps$e, { error: true, buttonStyle: "button below" })));
13220
+ return (h(CopyTextView, Object.assign({}, defaultProps$e, { rewardStatus: "PENDING", buttonStyle: "button below" })));
13210
13221
  };
13211
13222
 
13212
13223
  const CouponCode$1 = /*#__PURE__*/Object.freeze({
@@ -13219,16 +13230,19 @@ const CouponCode$1 = /*#__PURE__*/Object.freeze({
13219
13230
  CopyButton: CopyButton$2,
13220
13231
  CopyButtonInside: CopyButtonInside$2,
13221
13232
  CopyButtonBelow: CopyButtonBelow$2,
13222
- Error: Error$9,
13233
+ ErrorPending: ErrorPending,
13234
+ ErrorCancelled: ErrorCancelled,
13235
+ ErrorRedeemed: ErrorRedeemed,
13236
+ ErrorExpired: ErrorExpired,
13223
13237
  ErrorButtonBelow: ErrorButtonBelow
13224
13238
  });
13225
13239
 
13226
- const scenario$A = "@author:noah\n@owner:noah\n\nFeature: User Identifier\n\n Scenario: A user on an instant access widget\n Given a user viewing an instant access widget\n And the user is identified\n And the user is not logged in\n Then the component identifies the user by email\n\n Scenario: Users can switch who they are identified as through a link\n Given a user viewing an instant access widget\n And the user is identified\n And the user is not logged in\n When the user clicks the link in the component\n Then they are sent back to the registration form to re-identify themselves";
13240
+ const scenario$B = "@author:noah\n@owner:noah\n\nFeature: Logout Current User\n\n Scenario: A user on an instant access widget\n Given a user viewing an instant access widget\n And the user is identified\n And the user is not logged in\n Then the component identifies the user by email\n\n Scenario: Users can switch who they are identified as through a link\n Given a user viewing an instant access widget\n And the user is identified\n And the user is not logged in\n When the user clicks the link in the component\n Then they are sent back to the registration form to re-identify themselves";
13227
13241
 
13228
- const UserIdentifier_stories = {
13229
- title: "Components/User Identifier",
13242
+ const LogoutCurrentUser_stories = {
13243
+ title: "Components/Logout Current User",
13230
13244
  parameters: {
13231
- scenario: scenario$A,
13245
+ scenario: scenario$B,
13232
13246
  },
13233
13247
  };
13234
13248
  const defaultProps$f = {
@@ -13237,21 +13251,21 @@ const defaultProps$f = {
13237
13251
  switchUserText: "not you?",
13238
13252
  };
13239
13253
  const Default$f = () => {
13240
- return h(UserIdentifierView, Object.assign({}, defaultProps$f));
13254
+ return h(LogoutCurrentUserView, Object.assign({}, defaultProps$f));
13241
13255
  };
13242
13256
 
13243
- const UserIdentifier = /*#__PURE__*/Object.freeze({
13257
+ const LogoutCurrentUser = /*#__PURE__*/Object.freeze({
13244
13258
  __proto__: null,
13245
- 'default': UserIdentifier_stories,
13259
+ 'default': LogoutCurrentUser_stories,
13246
13260
  Default: Default$f
13247
13261
  });
13248
13262
 
13249
- const scenario$B = "@author:noah\n@owner:noah\n\nFeature: Link Button\n\n\tScenario: When a user clicks the button a link open\n\t\tWhen a user clicks the button\n\t\tThen a link opens\n\t\tAnd if `openInNewTab` is set to true then the link opens in a new tab";
13263
+ const scenario$C = "@author:noah\n@owner:noah\n\nFeature: Link Button\n\n\tScenario: When a user clicks the button a link open\n\t\tWhen a user clicks the button\n\t\tThen a link opens\n\t\tAnd if `openInNewTab` is set to true then the link opens in a new tab";
13250
13264
 
13251
13265
  const LinkButton_stories = {
13252
13266
  title: "Components/Link Button",
13253
13267
  parameters: {
13254
- scenario: scenario$B,
13268
+ scenario: scenario$C,
13255
13269
  },
13256
13270
  };
13257
13271
  const defaultProps$g = {
@@ -15983,7 +15997,7 @@ const stories = [
15983
15997
  Tabs,
15984
15998
  ShareCode$1,
15985
15999
  CouponCode$1,
15986
- UserIdentifier,
16000
+ LogoutCurrentUser,
15987
16001
  LinkButton,
15988
16002
  EmailRegistration,
15989
16003
  ];
@@ -1,8 +1,8 @@
1
1
  import { h, c as Host, r as registerInstance } from './index-17b4da69.js';
2
2
  import { m as h$1 } from './stencil-hooks.module-b48b45ec.js';
3
3
  import './use-callback-051c06c6.js';
4
- import './index.module-4b531657.js';
5
- import { a as useRequestRerender } from './re-render-8e289fe5.js';
4
+ import './index.module-3b85bfd6.js';
5
+ import { a as useRequestRerender } from './re-render-3f69b74a.js';
6
6
 
7
7
  const TabView = ({}, children) => {
8
8
  return h(Host, null, children);
@@ -1,9 +1,9 @@
1
1
  import { h, c as Host, r as registerInstance } from './index-17b4da69.js';
2
2
  import { l, k as useMemo, u as useEffect, m as h$1 } from './stencil-hooks.module-b48b45ec.js';
3
3
  import './use-callback-051c06c6.js';
4
- import { V } from './index.module-4b531657.js';
5
- import { u as useRerenderListener } from './re-render-8e289fe5.js';
6
- import { u as useChildElements } from './useChildElements-397ce8b1.js';
4
+ import { V } from './index.module-3b85bfd6.js';
5
+ import { u as useRerenderListener } from './re-render-3f69b74a.js';
6
+ import { u as useChildElements } from './useChildElements-ed0cabc6.js';
7
7
  import { g as getProps } from './utils-334c1e34.js';
8
8
 
9
9
  const TabsView = ({ content, placement, }) => {
@@ -1,5 +1,5 @@
1
1
  import { i as useState, k as useMemo } from './stencil-hooks.module-b48b45ec.js';
2
- import { V } from './index.module-4b531657.js';
2
+ import { V } from './index.module-3b85bfd6.js';
3
3
 
4
4
  function useChildElements() {
5
5
  const host = V();
@@ -1,5 +1,5 @@
1
1
  import { i as useState } from './stencil-hooks.module-b48b45ec.js';
2
- import { u as un } from './index.module-4b531657.js';
2
+ import { u as un } from './index.module-3b85bfd6.js';
3
3
  import { j as jsonpointer } from './jsonpointer-388a7082.js';
4
4
 
5
5
  function useInstantAccessRegistration(options) {
@@ -1,8 +1,8 @@
1
1
  import { h } from './index-17b4da69.js';
2
2
  import { b as browser, f as useReducer, u as useEffect } from './stencil-hooks.module-b48b45ec.js';
3
- import { d as dist, H, N, O, b as mn, y as yn } from './index.module-4b531657.js';
4
- import { u as useRerenderListener } from './re-render-8e289fe5.js';
5
- import { u as useChildElements } from './useChildElements-397ce8b1.js';
3
+ import { d as dist, L, O, W, b as mn, y as yn } from './index.module-3b85bfd6.js';
4
+ import { u as useRerenderListener } from './re-render-3f69b74a.js';
5
+ import { u as useChildElements } from './useChildElements-ed0cabc6.js';
6
6
  import { l as luxon } from './luxon-1e38d7f1.js';
7
7
 
8
8
  const mockRewardData = (count = 4) => {
@@ -341,8 +341,8 @@ const GET_REFERRAL_DATA = dist.gql `
341
341
  `;
342
342
  function useReferralTable(props, emptyElement, loadingElement) {
343
343
  var _a, _b, _c;
344
- const user = H();
345
- const programIdContext = N();
344
+ const user = L();
345
+ const programIdContext = O();
346
346
  // Default to context, overriden by props
347
347
  const programId = (_a = props.programId) !== null && _a !== void 0 ? _a : programIdContext;
348
348
  // If no program ID, shows all programs
@@ -364,7 +364,7 @@ function useReferralTable(props, emptyElement, loadingElement) {
364
364
  loading: false,
365
365
  page: 0,
366
366
  });
367
- const locale = O();
367
+ const locale = W();
368
368
  const { data: referrerResponse, loading: referrerLoading, refetch, } = mn(GET_REFERRER_DATA, {
369
369
  programId: programId === "classic" ? null : programId,
370
370
  rewardFilter,
@@ -1,5 +1,5 @@
1
1
  import { y } from './stencil-hooks.module-b48b45ec.js';
2
- import { V } from './index.module-4b531657.js';
2
+ import { V } from './index.module-3b85bfd6.js';
3
3
 
4
4
  const REGISTRATION_FORM_STATE_CONTEXT = "sq:registration-form-state";
5
5
  function useRegistrationFormState(formState) {