@saasquatch/mint-components 1.6.15 → 1.6.16

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 (261) hide show
  1. package/LICENSE +21 -21
  2. package/dist/cjs/{ShadowViewAddon-147e92b9.js → ShadowViewAddon-7b94f382.js} +518 -521
  3. package/dist/cjs/{email-registration-view-eb20682a.js → email-registration-view-f347daa7.js} +11 -11
  4. package/dist/cjs/{global-ac581c47.js → global-de2bf4f7.js} +659 -659
  5. package/dist/cjs/loader.cjs.js +1 -1
  6. package/dist/cjs/mint-components.cjs.js +1 -1
  7. package/dist/cjs/sqm-big-stat_39.cjs.entry.js +275 -275
  8. package/dist/cjs/sqm-empty_5.cjs.entry.js +51 -51
  9. package/dist/cjs/sqm-instant-access-registration.cjs.entry.js +1 -1
  10. package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +13 -13
  11. package/dist/cjs/{sqm-logout-current-user-view-0d0ec11e.js → sqm-logout-current-user-view-555c7729.js} +5 -5
  12. package/dist/cjs/sqm-logout-current-user.cjs.entry.js +1 -1
  13. package/dist/cjs/{sqm-navigation-sidebar-view-3898b50b.js → sqm-navigation-sidebar-view-dd53f947.js} +141 -141
  14. package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +1 -1
  15. package/dist/cjs/sqm-password-field.cjs.entry.js +9 -9
  16. package/dist/cjs/{sqm-portal-container-view-3ebf55a7.js → sqm-portal-container-view-5fb2ad49.js} +4 -4
  17. package/dist/cjs/{sqm-portal-email-verification-view-cee5348c.js → sqm-portal-email-verification-view-6f0aea50.js} +9 -9
  18. package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +3 -3
  19. package/dist/cjs/{sqm-portal-forgot-password-view-93da1161.js → sqm-portal-forgot-password-view-0142350f.js} +8 -8
  20. package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +2 -2
  21. package/dist/cjs/{sqm-portal-profile-view-28176f3e.js → sqm-portal-profile-view-0abcf3b8.js} +2 -2
  22. package/dist/cjs/sqm-portal-profile.cjs.entry.js +35 -35
  23. package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +27 -27
  24. package/dist/cjs/{sqm-portal-reset-password-view-4a03d26a.js → sqm-portal-reset-password-view-d5bc7afc.js} +8 -8
  25. package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +2 -2
  26. package/dist/cjs/{sqm-portal-verify-email-view-fb3bbf7b.js → sqm-portal-verify-email-view-f6c7287e.js} +8 -8
  27. package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +2 -2
  28. package/dist/cjs/sqm-referral-table_11.cjs.entry.js +3 -3
  29. package/dist/cjs/sqm-referred-registration.cjs.entry.js +1 -1
  30. package/dist/cjs/sqm-rewards-table-customer-note-cell.cjs.entry.js +1 -1
  31. package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +105 -105
  32. package/dist/cjs/sqm-stencilbook.cjs.entry.js +751 -751
  33. package/dist/cjs/sqm-tabs.cjs.entry.js +4 -4
  34. package/dist/cjs/{sqm-text-span-view-8a7b98d0.js → sqm-text-span-view-e1cd9bd3.js} +7 -7
  35. package/dist/cjs/sqm-text-span.cjs.entry.js +1 -1
  36. package/dist/cjs/{useReferralTable-8efa6160.js → useReferralTable-d4bfaa57.js} +183 -183
  37. package/dist/collection/components/sqm-big-stat/useBigStat.js +337 -337
  38. package/dist/collection/components/sqm-brand/sqm-brand.js +21 -21
  39. package/dist/collection/components/sqm-card-feed/sqm-card-feed-view.js +5 -5
  40. package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field-view.js +14 -14
  41. package/dist/collection/components/sqm-coupon-code/sqm-coupon-code-view.js +5 -5
  42. package/dist/collection/components/sqm-coupon-code/useCouponCode.js +28 -28
  43. package/dist/collection/components/sqm-divided-layout/sqm-divided-layout-view.js +15 -15
  44. package/dist/collection/components/sqm-dropdown-field/sqm-dropdown-field-view.js +10 -10
  45. package/dist/collection/components/sqm-edit-profile/useEditProfile.js +32 -32
  46. package/dist/collection/components/sqm-hero/sqm-hero-view.js +14 -14
  47. package/dist/collection/components/sqm-hero-image/sqm-hero-image-view.js +3 -3
  48. package/dist/collection/components/sqm-image/sqm-image-view.js +4 -4
  49. package/dist/collection/components/sqm-input-field/sqm-input-field-view.js +6 -6
  50. package/dist/collection/components/sqm-leaderboard/sqm-leaderboard-view.js +4 -4
  51. package/dist/collection/components/sqm-leaderboard/sqm-leaderboard.js +2 -2
  52. package/dist/collection/components/sqm-leaderboard/useLeaderboard.js +40 -40
  53. package/dist/collection/components/sqm-leaderboard-rank/sqm-leaderboard-rank.js +2 -2
  54. package/dist/collection/components/sqm-leaderboard-rank/useLeaderboardRank.js +12 -12
  55. package/dist/collection/components/sqm-link-button/sqm-link-button-view.js +4 -4
  56. package/dist/collection/components/sqm-logout-current-user/sqm-logout-current-user-view.js +5 -5
  57. package/dist/collection/components/sqm-name-fields/sqm-name-fields-view.js +11 -11
  58. package/dist/collection/components/sqm-navigation-sidebar/sqm-navigation-sidebar-view.js +141 -141
  59. package/dist/collection/components/sqm-password-field/sqm-password-field-view.js +9 -9
  60. package/dist/collection/components/sqm-popup-container/sqm-popup-container.js +1 -1
  61. package/dist/collection/components/sqm-portal-container/sqm-portal-container-view.js +4 -4
  62. package/dist/collection/components/sqm-portal-container/sqm-portal-container.js +1 -1
  63. package/dist/collection/components/sqm-portal-email-verification/sqm-portal-email-verification-view.js +7 -7
  64. package/dist/collection/components/sqm-portal-footer/PoweredByImg.js +6 -9
  65. package/dist/collection/components/sqm-portal-footer/sqm-portal-footer-view.js +10 -10
  66. package/dist/collection/components/sqm-portal-footer/sqm-portal-footer.js +2 -2
  67. package/dist/collection/components/sqm-portal-forgot-password/sqm-portal-forgot-password-view.js +7 -7
  68. package/dist/collection/components/sqm-portal-login/sqm-portal-login-view.js +7 -7
  69. package/dist/collection/components/sqm-portal-profile/usePortalProfile.js +32 -32
  70. package/dist/collection/components/sqm-portal-register/sqm-portal-register-view.js +14 -14
  71. package/dist/collection/components/sqm-portal-registration-form/sqm-portal-registration-form-view.js +14 -14
  72. package/dist/collection/components/sqm-portal-registration-form/usePortalRegistrationForm.js +12 -12
  73. package/dist/collection/components/sqm-portal-reset-password/sqm-portal-reset-password-view.js +7 -7
  74. package/dist/collection/components/sqm-portal-verify-email/sqm-portal-verify-email-view.js +7 -7
  75. package/dist/collection/components/sqm-program-explainer/sqm-program-explainer-view.js +9 -9
  76. package/dist/collection/components/sqm-program-explainer-step/sqm-program-explainer-step-view.js +9 -9
  77. package/dist/collection/components/sqm-referral-card/sqm-referral-card-view.js +4 -4
  78. package/dist/collection/components/sqm-referral-iframe/useReferralIframe.js +8 -8
  79. package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-date-column.js +2 -2
  80. package/dist/collection/components/sqm-referral-table/sqm-referral-table.js +2 -2
  81. package/dist/collection/components/sqm-referral-table/useReferralTable.js +183 -183
  82. package/dist/collection/components/sqm-reward-exchange-list/UseRewardExchangeList.stories.js +8 -8
  83. package/dist/collection/components/sqm-reward-exchange-list/useRewardExchangeList.js +51 -51
  84. package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-date-column.js +1 -1
  85. package/dist/collection/components/sqm-rewards-table/sqm-rewards-table.js +2 -2
  86. package/dist/collection/components/sqm-rewards-table/useRewardsTable.js +103 -103
  87. package/dist/collection/components/sqm-router/Router.stories.js +71 -71
  88. package/dist/collection/components/sqm-router/sqm-router.css +7 -7
  89. package/dist/collection/components/sqm-scroll/Scroll.stories.js +50 -50
  90. package/dist/collection/components/sqm-scroll/sqm-scroll.js +13 -13
  91. package/dist/collection/components/sqm-share-button/sqm-share-button-view.js +22 -22
  92. package/dist/collection/components/sqm-share-button/sqm-share-button.js +4 -4
  93. package/dist/collection/components/sqm-share-button/useShareButton.js +17 -17
  94. package/dist/collection/components/sqm-share-code/useShareCode.js +12 -12
  95. package/dist/collection/components/sqm-share-link/useShareLink.js +12 -12
  96. package/dist/collection/components/sqm-stencilbook/Resizer.js +24 -24
  97. package/dist/collection/components/sqm-stencilbook/Themes.js +25 -25
  98. package/dist/collection/components/sqm-tabs/Tabs.stories.js +475 -475
  99. package/dist/collection/components/sqm-tabs/sqm-tabs-view.js +4 -4
  100. package/dist/collection/components/sqm-task-card/sqm-task-card-view.js +6 -6
  101. package/dist/collection/components/sqm-task-card/useTaskCard.js +6 -6
  102. package/dist/collection/components/sqm-text/sqm-text.js +46 -46
  103. package/dist/collection/components/sqm-text-span/sqm-text-span-view.js +7 -7
  104. package/dist/collection/components/sqm-timeline/sqm-timeline-entry-view.js +8 -8
  105. package/dist/collection/components/sqm-timeline/sqm-timeline.js +8 -8
  106. package/dist/collection/components/sqm-user-name/useUserName.js +9 -9
  107. package/dist/collection/components/views/copy-text-view.js +15 -15
  108. package/dist/collection/components/views/email-registration-view.js +11 -11
  109. package/dist/collection/global/styles.js +659 -659
  110. package/dist/collection/global/styles.ts +735 -735
  111. package/dist/esm/{ShadowViewAddon-9f75d742.js → ShadowViewAddon-13d92e11.js} +518 -521
  112. package/dist/esm/{email-registration-view-ec5e7db0.js → email-registration-view-0a11e959.js} +11 -11
  113. package/dist/esm/{global-fe2b026c.js → global-3cb5aea4.js} +659 -659
  114. package/dist/esm/loader.js +1 -1
  115. package/dist/esm/mint-components.js +1 -1
  116. package/dist/esm/sqm-big-stat_39.entry.js +275 -275
  117. package/dist/esm/sqm-empty_5.entry.js +51 -51
  118. package/dist/esm/sqm-instant-access-registration.entry.js +1 -1
  119. package/dist/esm/sqm-leaderboard-rank.entry.js +13 -13
  120. package/dist/esm/{sqm-logout-current-user-view-13d7832a.js → sqm-logout-current-user-view-2d740794.js} +5 -5
  121. package/dist/esm/sqm-logout-current-user.entry.js +1 -1
  122. package/dist/esm/{sqm-navigation-sidebar-view-0c245f7d.js → sqm-navigation-sidebar-view-414bcb19.js} +141 -141
  123. package/dist/esm/sqm-navigation-sidebar.entry.js +1 -1
  124. package/dist/esm/sqm-password-field.entry.js +9 -9
  125. package/dist/esm/{sqm-portal-container-view-b7b10841.js → sqm-portal-container-view-ab89c6cc.js} +4 -4
  126. package/dist/esm/{sqm-portal-email-verification-view-6b37818c.js → sqm-portal-email-verification-view-87413403.js} +9 -9
  127. package/dist/esm/sqm-portal-email-verification.entry.js +3 -3
  128. package/dist/esm/{sqm-portal-forgot-password-view-ffe81d83.js → sqm-portal-forgot-password-view-41afcace.js} +8 -8
  129. package/dist/esm/sqm-portal-forgot-password.entry.js +2 -2
  130. package/dist/esm/{sqm-portal-profile-view-cc13ab93.js → sqm-portal-profile-view-977710a3.js} +2 -2
  131. package/dist/esm/sqm-portal-profile.entry.js +35 -35
  132. package/dist/esm/sqm-portal-registration-form.entry.js +27 -27
  133. package/dist/esm/{sqm-portal-reset-password-view-e4f288e8.js → sqm-portal-reset-password-view-0df781f6.js} +8 -8
  134. package/dist/esm/sqm-portal-reset-password.entry.js +2 -2
  135. package/dist/esm/{sqm-portal-verify-email-view-f0994025.js → sqm-portal-verify-email-view-1db4fae6.js} +8 -8
  136. package/dist/esm/sqm-portal-verify-email.entry.js +2 -2
  137. package/dist/esm/sqm-referral-table_11.entry.js +3 -3
  138. package/dist/esm/sqm-referred-registration.entry.js +1 -1
  139. package/dist/esm/sqm-rewards-table-customer-note-cell.entry.js +1 -1
  140. package/dist/esm/sqm-rewards-table_9.entry.js +105 -105
  141. package/dist/esm/sqm-stencilbook.entry.js +751 -751
  142. package/dist/esm/sqm-tabs.entry.js +4 -4
  143. package/dist/esm/{sqm-text-span-view-1eaedc4d.js → sqm-text-span-view-8d140661.js} +7 -7
  144. package/dist/esm/sqm-text-span.entry.js +1 -1
  145. package/dist/esm/{useReferralTable-3d59e2de.js → useReferralTable-8852f5fd.js} +183 -183
  146. package/dist/esm-es5/{ShadowViewAddon-9f75d742.js → ShadowViewAddon-13d92e11.js} +1 -1
  147. package/dist/esm-es5/loader.js +1 -1
  148. package/dist/esm-es5/mint-components.js +1 -1
  149. package/dist/esm-es5/sqm-big-stat_39.entry.js +1 -1
  150. package/dist/esm-es5/sqm-empty_5.entry.js +1 -1
  151. package/dist/esm-es5/sqm-instant-access-registration.entry.js +1 -1
  152. package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
  153. package/dist/esm-es5/sqm-logout-current-user.entry.js +1 -1
  154. package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
  155. package/dist/esm-es5/{sqm-portal-email-verification-view-6b37818c.js → sqm-portal-email-verification-view-87413403.js} +1 -1
  156. package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
  157. package/dist/esm-es5/{sqm-portal-forgot-password-view-ffe81d83.js → sqm-portal-forgot-password-view-41afcace.js} +1 -1
  158. package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -1
  159. package/dist/esm-es5/{sqm-portal-profile-view-cc13ab93.js → sqm-portal-profile-view-977710a3.js} +1 -1
  160. package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
  161. package/dist/esm-es5/sqm-portal-registration-form.entry.js +1 -1
  162. package/dist/esm-es5/{sqm-portal-reset-password-view-e4f288e8.js → sqm-portal-reset-password-view-0df781f6.js} +1 -1
  163. package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
  164. package/dist/esm-es5/{sqm-portal-verify-email-view-f0994025.js → sqm-portal-verify-email-view-1db4fae6.js} +1 -1
  165. package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
  166. package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
  167. package/dist/esm-es5/sqm-referred-registration.entry.js +1 -1
  168. package/dist/esm-es5/sqm-rewards-table-customer-note-cell.entry.js +1 -1
  169. package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
  170. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  171. package/dist/esm-es5/sqm-text-span.entry.js +1 -1
  172. package/dist/mint-components/global/styles.ts +735 -735
  173. package/dist/mint-components/mint-components.esm.js +1 -1
  174. package/dist/mint-components/mint-components.js +1 -1
  175. package/dist/mint-components/{p-f2ee898c.system.entry.js → p-01be40a8.system.entry.js} +1 -1
  176. package/dist/mint-components/{p-e4907e10.entry.js → p-07d8ef1e.entry.js} +1 -1
  177. package/dist/mint-components/{p-c3dd8944.system.js → p-086bc650.system.js} +1 -1
  178. package/dist/mint-components/{p-db610d79.system.entry.js → p-0bf5a9b8.system.entry.js} +1 -1
  179. package/dist/mint-components/p-0c58a93f.entry.js +9 -0
  180. package/dist/mint-components/{p-35c7e3e0.system.js → p-1437b793.system.js} +1 -1
  181. package/dist/mint-components/{p-f188d053.entry.js → p-1c9d83b4.entry.js} +1 -1
  182. package/dist/mint-components/{p-ac4ab025.entry.js → p-239f4be8.entry.js} +1 -1
  183. package/dist/mint-components/{p-298d954b.entry.js → p-2d6f3bbc.entry.js} +1 -1
  184. package/dist/mint-components/{p-0680fe0e.system.entry.js → p-34c90e51.system.entry.js} +1 -1
  185. package/dist/mint-components/{p-8487c88f.entry.js → p-36182652.entry.js} +1 -1
  186. package/dist/mint-components/{p-7cc72c56.entry.js → p-3c02b80b.entry.js} +1 -1
  187. package/dist/mint-components/{p-5639e27a.system.js → p-46be1518.system.js} +1 -1
  188. package/dist/mint-components/{p-68369452.system.entry.js → p-4e508387.system.entry.js} +1 -1
  189. package/dist/mint-components/{p-22372d68.system.js → p-56525896.system.js} +1 -1
  190. package/dist/mint-components/p-577a29c8.system.js +1 -0
  191. package/dist/mint-components/{p-7a5e33d5.system.entry.js → p-600b792e.system.entry.js} +1 -1
  192. package/dist/mint-components/{p-86c99bf7.entry.js → p-6a578070.entry.js} +3 -3
  193. package/dist/mint-components/{p-83fb9f0d.entry.js → p-6ab08b86.entry.js} +1 -1
  194. package/dist/mint-components/{p-b5bc1367.system.entry.js → p-6fc0c1a8.system.entry.js} +1 -1
  195. package/dist/mint-components/{p-73c328dc.js → p-6ff1de8a.js} +1 -1
  196. package/dist/mint-components/{p-d35660f7.system.entry.js → p-7195cdd7.system.entry.js} +1 -1
  197. package/dist/mint-components/{p-697d89d4.js → p-75ddf3ca.js} +1 -1
  198. package/dist/mint-components/{p-fdd64756.system.entry.js → p-7808d6f2.system.entry.js} +1 -1
  199. package/dist/mint-components/p-83653fdf.js +347 -0
  200. package/dist/mint-components/p-87a6bfa4.entry.js +1 -0
  201. package/dist/mint-components/{p-310578bc.system.js → p-9df46d84.system.js} +1 -1
  202. package/dist/mint-components/{p-812f7e0b.system.entry.js → p-9f0519b3.system.entry.js} +1 -1
  203. package/dist/mint-components/{p-a8e0119d.entry.js → p-9fc8505c.entry.js} +1 -1
  204. package/dist/mint-components/{p-c4b57672.js → p-a217deee.js} +1 -1
  205. package/dist/mint-components/{p-38282cef.entry.js → p-b16930c5.entry.js} +2 -2
  206. package/dist/mint-components/{p-b5cb4899.system.entry.js → p-b668aa0b.system.entry.js} +1 -1
  207. package/dist/mint-components/{p-dc869574.js → p-b953ae7f.js} +1 -1
  208. package/dist/mint-components/{p-e1ed9b5c.system.entry.js → p-c5fe9915.system.entry.js} +1 -1
  209. package/dist/mint-components/{p-7279510a.system.js → p-cf5b20fc.system.js} +1 -1
  210. package/dist/mint-components/{p-012bd649.entry.js → p-d1416e69.entry.js} +1 -1
  211. package/dist/mint-components/p-d6ab25ba.system.entry.js +1 -0
  212. package/dist/mint-components/{p-bb138fd1.system.entry.js → p-e1c07c5f.system.entry.js} +1 -1
  213. package/dist/mint-components/{p-6b71e3a0.system.entry.js → p-e3fc9e65.system.entry.js} +1 -1
  214. package/dist/mint-components/{p-455bbcbf.system.entry.js → p-e530b3d9.system.entry.js} +1 -1
  215. package/dist/mint-components/{p-c03429a6.entry.js → p-e56b2c9b.entry.js} +1 -1
  216. package/dist/mint-components/{p-36f9421a.system.entry.js → p-e61bedb4.system.entry.js} +1 -1
  217. package/dist/mint-components/{p-cfd86a6a.entry.js → p-e68608e9.entry.js} +1 -1
  218. package/dist/mint-components/{p-95694e10.js → p-efd129de.js} +1 -1
  219. package/dist/mint-components/{p-596435af.entry.js → p-f60232ab.entry.js} +1 -1
  220. package/dist/mint-components/{p-2ad125d0.entry.js → p-f82bb604.entry.js} +1 -1
  221. package/dist/mint-components/{p-ff80fa6b.system.entry.js → p-fb283db7.system.entry.js} +1 -1
  222. package/dist/mint-components/{p-f032b3d7.entry.js → p-fe53af60.entry.js} +1 -1
  223. package/dist/mint-components/{p-249e1dcf.system.entry.js → p-ff3b0ece.system.entry.js} +1 -1
  224. package/dist/types/components/sqm-popup-container/sqm-popup-container.d.ts +1 -1
  225. package/dist/types/components/sqm-portal-footer/sqm-portal-footer.d.ts +1 -1
  226. package/dist/types/components.d.ts +76 -76
  227. package/dist/types/global/android.d.ts +7 -7
  228. package/dist/types/saasquatch.d.ts +132 -132
  229. package/dist/types/stories/features.d.ts +4 -4
  230. package/dist/types/stories/templates.d.ts +4 -4
  231. package/docs/docs.docx +0 -0
  232. package/docs/raisins.json +1 -1
  233. package/grapesjs/grapesjs.js +1 -1
  234. package/package.json +104 -104
  235. package/readme.md +13 -13
  236. package/dist/mint-components/p-71ea98be.js +0 -347
  237. package/dist/mint-components/p-a621c9e5.system.js +0 -1
  238. package/dist/mint-components/p-acf03be7.entry.js +0 -9
  239. package/dist/mint-components/p-b0e94805.system.entry.js +0 -1
  240. package/dist/mint-components/p-ed8a36ce.entry.js +0 -1
  241. /package/dist/esm-es5/{email-registration-view-ec5e7db0.js → email-registration-view-0a11e959.js} +0 -0
  242. /package/dist/esm-es5/{global-fe2b026c.js → global-3cb5aea4.js} +0 -0
  243. /package/dist/esm-es5/{sqm-logout-current-user-view-13d7832a.js → sqm-logout-current-user-view-2d740794.js} +0 -0
  244. /package/dist/esm-es5/{sqm-navigation-sidebar-view-0c245f7d.js → sqm-navigation-sidebar-view-414bcb19.js} +0 -0
  245. /package/dist/esm-es5/{sqm-portal-container-view-b7b10841.js → sqm-portal-container-view-ab89c6cc.js} +0 -0
  246. /package/dist/esm-es5/{sqm-text-span-view-1eaedc4d.js → sqm-text-span-view-8d140661.js} +0 -0
  247. /package/dist/esm-es5/{useReferralTable-3d59e2de.js → useReferralTable-8852f5fd.js} +0 -0
  248. /package/dist/mint-components/{p-b45ec61b.js → p-0076de9e.js} +0 -0
  249. /package/dist/mint-components/{p-9de2287d.js → p-16c3324b.js} +0 -0
  250. /package/dist/mint-components/{p-fd345add.system.js → p-29edd49c.system.js} +0 -0
  251. /package/dist/mint-components/{p-671f612f.js → p-2bf86715.js} +0 -0
  252. /package/dist/mint-components/{p-5a739d01.system.js → p-46f41615.system.js} +0 -0
  253. /package/dist/mint-components/{p-65fffbfb.js → p-4f09f749.js} +0 -0
  254. /package/dist/mint-components/{p-5cda74d1.system.js → p-4f775e84.system.js} +0 -0
  255. /package/dist/mint-components/{p-1e1f2fc5.js → p-5d0c9424.js} +0 -0
  256. /package/dist/mint-components/{p-ea04661e.system.js → p-8ba2c01f.system.js} +0 -0
  257. /package/dist/mint-components/{p-d1a64314.system.js → p-922578e4.system.js} +0 -0
  258. /package/dist/mint-components/{p-89296785.js → p-9907bc8a.js} +0 -0
  259. /package/dist/mint-components/{p-1596a53c.system.js → p-c06048c9.system.js} +0 -0
  260. /package/dist/mint-components/{p-06f55c04.system.js → p-cb900cb6.system.js} +0 -0
  261. /package/dist/mint-components/{p-133f8f27.js → p-e704842c.js} +0 -0
@@ -1 +1 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,n,i){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,a){function o(e){try{u(i.next(e))}catch(e){a(e)}}function s(e){try{u(i["throw"](e))}catch(e){a(e)}}function u(e){e.done?n(e.value):r(e.value).then(o,s)}u((i=i.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,r,a,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(e){return function(t){return u([e,t])}}function u(o){if(i)throw new TypeError("Generator is already executing.");while(n)try{if(i=1,r&&(a=o[0]&2?r["return"]:o[0]?r["throw"]||((a=r["return"])&&a.call(r),0):r.next)&&!(a=a.call(r,o[1])).done)return a;if(r=0,a)o=[o[0]&2,a.value];switch(o[0]){case 0:case 1:a=o;break;case 4:n.label++;return{value:o[1],done:false};case 5:n.label++;r=o[1];o=[0];continue;case 7:o=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(o[0]===6||o[0]===2)){n=0;continue}if(o[0]===3&&(!a||o[1]>a[0]&&o[1]<a[3])){n.label=o[1];break}if(o[0]===6&&n.label<a[1]){n.label=a[1];a=o;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(o);break}if(a[2])n.ops.pop();n.trys.pop();continue}o=t.call(e,n)}catch(e){o=[6,e];r=0}finally{i=a=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};System.register(["./p-ff17b3a4.system.js","./p-3cc28285.system.js","./p-5a739d01.system.js","./p-a3e28532.system.js","./p-4bd679a7.system.js","./p-f6934a55.system.js","./p-1a673057.system.js","./p-5cda74d1.system.js","./p-7279510a.system.js"],(function(e){"use strict";var t,n,i,r,a,o,s,u,c,l,f,v,d,m;return{setters:[function(e){t=e.r;n=e.h},function(e){i=e.j;r=e.k;a=e.f;o=e.m},function(){},function(e){s=e.o;u=e.K;c=e.L;l=e.p;f=e.f;v=e.i},function(e){d=e.c},function(){},function(){},function(){},function(e){m=e.P}],execute:function(){function h(e){var t=this;var n,o,v,d,m,h,g,y,p;var b=s(),w=b[0],_=b[1],M=_.loading,x=_.data,S=_.errors;var k=u(),E=k[0],I=k[1],P=I.data,V=I.loading;var j=c();var L=(n=j===null||j===void 0?void 0:j.managedIdentity)===null||n===void 0?void 0:n.email;var T=new URLSearchParams(l.location.search);var B=T.get("nextPage");var H=i(false),R=H[0],q=H[1];var C=i(""),A=C[0],D=C[1];var G=i(10),K=G[0],N=G[1];var U=r(undefined);var z=r(undefined);var F=function(){return __awaiter(t,void 0,void 0,(function(){var t,n,i,r,a;return __generator(this,(function(o){switch(o.label){case 0:if(!L)return[2];D("");q(false);n=B?{nextPage:B}:null;i=e.redirectPath;r={email:L,urlParams:n,redirectPath:i};return[4,w(r)];case 1:a=o.sent();if(a instanceof Error){if(a.message)D("Network request failed.");return[2]}if((t=a.requestManagedIdentityVerificationEmail)===null||t===void 0?void 0:t.success)q(true);return[2]}}))}))};function J(){return __awaiter(this,void 0,void 0,(function(){var t,n;return __generator(this,(function(i){switch(i.label){case 0:return[4,E()];case 1:n=i.sent();if((t=n===null||n===void 0?void 0:n.managedIdentitySession)===null||t===void 0?void 0:t.emailVerified){clearInterval(U.current);return[2,l.push({pathname:e.redirectPath,search:T.toString()&&"?"+T.toString()})]}W(10);return[2]}}))}))}var O=function(e){if(e===void 0){e=1e4}return setInterval(J,e)};var Q=function(e){return setInterval((function(){return N(e)}),1e3)};function W(e){clearInterval(z.current);clearInterval(U.current);if(document.visibilityState==="hidden")return;if(e)N(e);var t=K||10;z.current=Q(e-1||t-1);U.current=O(e*1e3||t*1e3)}var X=f((function(){return W()}),[K]);a((function(){if(!U.current){J();U.current=O()}return function(){clearInterval(U.current)}}),[]);a((function(){if(K>0){clearInterval(z.current);z.current=Q(K-1)}document.addEventListener("visibilitychange",X);return function(){clearInterval(z.current);document.removeEventListener("visibilitychange",X)}}),[K]);return{states:{loading:M,error:((m=(d=(v=(o=S===null||S===void 0?void 0:S.response)===null||o===void 0?void 0:o.errors)===null||v===void 0?void 0:v[0])===null||d===void 0?void 0:d.extensions)===null||m===void 0?void 0:m.message)||((y=(g=(h=S===null||S===void 0?void 0:S.response)===null||h===void 0?void 0:h.errors)===null||g===void 0?void 0:g[0])===null||y===void 0?void 0:y.message)||A,success:R,loadingVerification:V,isVerified:!!((p=P===null||P===void 0?void 0:P.managedIdentitySession)===null||p===void 0?void 0:p.emailVerified),countdown:K},callbacks:{submit:F},content:{email:L,verifyMessage:e.verifyMessage,emailVerificationHeader:e.emailVerificationHeader,resendEmailButtonText:e.resendEmailButtonText,verificationLoadingMessage:e.verificationLoadingMessage,verificationStatusMessage:e.verificationStatusMessage}}}var g=e("sqm_portal_email_verification",function(){function e(e){t(this,e);this.ignored=true;this.redirectPath="/verifyEmail";this.emailVerificationHeader="Verify your email";this.resendEmailButtonText="Re-send Email";this.verifyMessage="A verification email was sent to {email}. Please verify your email to continue to the portal. Resending an email will invalidate the previous email.";this.verificationStatusMessage="Checking verification status in {countdown}";this.verificationLoadingMessage="Checking verification status";o(this)}e.prototype.disconnectedCallback=function(){};e.prototype.render=function(){var e=v()?y(this):h(this),t=e.states,i=e.callbacks,r=e.content;return n(m,{states:t,callbacks:i,content:r})};return e}());function y(e){var t=this;return d({states:{error:"",loading:false,success:false,countdown:10},callbacks:{submit:function(e){return __awaiter(t,void 0,void 0,(function(){return __generator(this,(function(e){return[2]}))}))}},content:{email:"test@example.com",verifyMessage:"A verification email was sent to {email}. Please verify your email to continue to the portal.",emailVerificationHeader:"Verify your email",resendEmailButtonText:"Re-send Email",verificationLoadingMessage:e.verificationLoadingMessage,verificationStatusMessage:e.verificationStatusMessage}},e.demoData||{},{arrayMerge:function(e,t){return t}})}}}}));
1
+ var __awaiter=this&&this.__awaiter||function(e,t,n,i){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,a){function o(e){try{u(i.next(e))}catch(e){a(e)}}function s(e){try{u(i["throw"](e))}catch(e){a(e)}}function u(e){e.done?n(e.value):r(e.value).then(o,s)}u((i=i.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,r,a,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(e){return function(t){return u([e,t])}}function u(o){if(i)throw new TypeError("Generator is already executing.");while(n)try{if(i=1,r&&(a=o[0]&2?r["return"]:o[0]?r["throw"]||((a=r["return"])&&a.call(r),0):r.next)&&!(a=a.call(r,o[1])).done)return a;if(r=0,a)o=[o[0]&2,a.value];switch(o[0]){case 0:case 1:a=o;break;case 4:n.label++;return{value:o[1],done:false};case 5:n.label++;r=o[1];o=[0];continue;case 7:o=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(o[0]===6||o[0]===2)){n=0;continue}if(o[0]===3&&(!a||o[1]>a[0]&&o[1]<a[3])){n.label=o[1];break}if(o[0]===6&&n.label<a[1]){n.label=a[1];a=o;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(o);break}if(a[2])n.ops.pop();n.trys.pop();continue}o=t.call(e,n)}catch(e){o=[6,e];r=0}finally{i=a=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};System.register(["./p-ff17b3a4.system.js","./p-3cc28285.system.js","./p-46f41615.system.js","./p-a3e28532.system.js","./p-4bd679a7.system.js","./p-f6934a55.system.js","./p-1a673057.system.js","./p-4f775e84.system.js","./p-cf5b20fc.system.js"],(function(e){"use strict";var t,n,i,r,a,o,s,u,c,l,f,v,d,m;return{setters:[function(e){t=e.r;n=e.h},function(e){i=e.j;r=e.k;a=e.f;o=e.m},function(){},function(e){s=e.o;u=e.K;c=e.L;l=e.p;f=e.f;v=e.i},function(e){d=e.c},function(){},function(){},function(){},function(e){m=e.P}],execute:function(){function h(e){var t=this;var n,o,v,d,m,h,g,y,p;var b=s(),w=b[0],_=b[1],M=_.loading,x=_.data,S=_.errors;var k=u(),E=k[0],I=k[1],P=I.data,V=I.loading;var j=c();var L=(n=j===null||j===void 0?void 0:j.managedIdentity)===null||n===void 0?void 0:n.email;var T=new URLSearchParams(l.location.search);var B=T.get("nextPage");var H=i(false),R=H[0],q=H[1];var C=i(""),A=C[0],D=C[1];var G=i(10),K=G[0],N=G[1];var U=r(undefined);var z=r(undefined);var F=function(){return __awaiter(t,void 0,void 0,(function(){var t,n,i,r,a;return __generator(this,(function(o){switch(o.label){case 0:if(!L)return[2];D("");q(false);n=B?{nextPage:B}:null;i=e.redirectPath;r={email:L,urlParams:n,redirectPath:i};return[4,w(r)];case 1:a=o.sent();if(a instanceof Error){if(a.message)D("Network request failed.");return[2]}if((t=a.requestManagedIdentityVerificationEmail)===null||t===void 0?void 0:t.success)q(true);return[2]}}))}))};function J(){return __awaiter(this,void 0,void 0,(function(){var t,n;return __generator(this,(function(i){switch(i.label){case 0:return[4,E()];case 1:n=i.sent();if((t=n===null||n===void 0?void 0:n.managedIdentitySession)===null||t===void 0?void 0:t.emailVerified){clearInterval(U.current);return[2,l.push({pathname:e.redirectPath,search:T.toString()&&"?"+T.toString()})]}W(10);return[2]}}))}))}var O=function(e){if(e===void 0){e=1e4}return setInterval(J,e)};var Q=function(e){return setInterval((function(){return N(e)}),1e3)};function W(e){clearInterval(z.current);clearInterval(U.current);if(document.visibilityState==="hidden")return;if(e)N(e);var t=K||10;z.current=Q(e-1||t-1);U.current=O(e*1e3||t*1e3)}var X=f((function(){return W()}),[K]);a((function(){if(!U.current){J();U.current=O()}return function(){clearInterval(U.current)}}),[]);a((function(){if(K>0){clearInterval(z.current);z.current=Q(K-1)}document.addEventListener("visibilitychange",X);return function(){clearInterval(z.current);document.removeEventListener("visibilitychange",X)}}),[K]);return{states:{loading:M,error:((m=(d=(v=(o=S===null||S===void 0?void 0:S.response)===null||o===void 0?void 0:o.errors)===null||v===void 0?void 0:v[0])===null||d===void 0?void 0:d.extensions)===null||m===void 0?void 0:m.message)||((y=(g=(h=S===null||S===void 0?void 0:S.response)===null||h===void 0?void 0:h.errors)===null||g===void 0?void 0:g[0])===null||y===void 0?void 0:y.message)||A,success:R,loadingVerification:V,isVerified:!!((p=P===null||P===void 0?void 0:P.managedIdentitySession)===null||p===void 0?void 0:p.emailVerified),countdown:K},callbacks:{submit:F},content:{email:L,verifyMessage:e.verifyMessage,emailVerificationHeader:e.emailVerificationHeader,resendEmailButtonText:e.resendEmailButtonText,verificationLoadingMessage:e.verificationLoadingMessage,verificationStatusMessage:e.verificationStatusMessage}}}var g=e("sqm_portal_email_verification",function(){function e(e){t(this,e);this.ignored=true;this.redirectPath="/verifyEmail";this.emailVerificationHeader="Verify your email";this.resendEmailButtonText="Re-send Email";this.verifyMessage="A verification email was sent to {email}. Please verify your email to continue to the portal. Resending an email will invalidate the previous email.";this.verificationStatusMessage="Checking verification status in {countdown}";this.verificationLoadingMessage="Checking verification status";o(this)}e.prototype.disconnectedCallback=function(){};e.prototype.render=function(){var e=v()?y(this):h(this),t=e.states,i=e.callbacks,r=e.content;return n(m,{states:t,callbacks:i,content:r})};return e}());function y(e){var t=this;return d({states:{error:"",loading:false,success:false,countdown:10},callbacks:{submit:function(e){return __awaiter(t,void 0,void 0,(function(){return __generator(this,(function(e){return[2]}))}))}},content:{email:"test@example.com",verifyMessage:"A verification email was sent to {email}. Please verify your email to continue to the portal.",emailVerificationHeader:"Verify your email",resendEmailButtonText:"Re-send Email",verificationLoadingMessage:e.verificationLoadingMessage,verificationStatusMessage:e.verificationStatusMessage}},e.demoData||{},{arrayMerge:function(e,t){return t}})}}}}));
@@ -1 +1 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,n,r){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,a){function s(e){try{l(r.next(e))}catch(e){a(e)}}function o(e){try{l(r["throw"](e))}catch(e){a(e)}}function l(e){e.done?n(e.value):i(e.value).then(s,o)}l((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},r,i,a,s;return s={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function o(e){return function(t){return l([e,t])}}function l(s){if(r)throw new TypeError("Generator is already executing.");while(n)try{if(r=1,i&&(a=s[0]&2?i["return"]:s[0]?i["throw"]||((a=i["return"])&&a.call(i),0):i.next)&&!(a=a.call(i,s[1])).done)return a;if(i=0,a)s=[s[0]&2,a.value];switch(s[0]){case 0:case 1:a=s;break;case 4:n.label++;return{value:s[1],done:false};case 5:n.label++;i=s[1];s=[0];continue;case 7:s=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(s[0]===6||s[0]===2)){n=0;continue}if(s[0]===3&&(!a||s[1]>a[0]&&s[1]<a[3])){n.label=s[1];break}if(s[0]===6&&n.label<a[1]){n.label=a[1];a=s;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(s);break}if(a[2])n.ops.pop();n.trys.pop();continue}s=t.call(e,n)}catch(e){s=[6,e];i=0}finally{r=a=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};System.register(["./p-ff17b3a4.system.js","./p-3cc28285.system.js","./p-a3e28532.system.js","./p-b2295bc5.system.js","./p-4bd679a7.system.js","./p-f6934a55.system.js","./p-1a673057.system.js","./p-5cda74d1.system.js","./p-35c7e3e0.system.js"],(function(e){"use strict";var t,n,r,i,a,s,o,l,u,c;return{setters:[function(e){t=e.r;n=e.h},function(e){r=e.j;i=e.m},function(e){a=e.t;s=e.p;o=e.i},function(e){l=e.j},function(e){u=e.c},function(){},function(){},function(){},function(e){c=e.P}],execute:function(){function f(e){var t=this;var n,i,o,u,c,f,d;var h=r(false),v=h[0],m=h[1];var b=r(""),p=b[0],g=b[1];var y=a(),w=y[0],_=y[1],x=_.loading,P=_.data,k=_.errors;var j=new URLSearchParams(s.location.search);var S=j.get("nextPage");var E=function(n){return __awaiter(t,void 0,void 0,(function(){var t,r,i,a,s,o;return __generator(this,(function(u){switch(u.label){case 0:g("");m(false);r=n.detail.formData;r===null||r===void 0?void 0:r.forEach((function(e,t){l.set(r,t,e)}));i=S?{nextPage:S}:null;a=e.redirectPath;s={email:r.email,urlParams:i,redirectPath:a};return[4,w(s)];case 1:o=u.sent();if(o instanceof Error){if(o.message)g("Network request failed.");return[2]}if((t=o.requestManagedIdentityPasswordResetEmail)===null||t===void 0?void 0:t.success){m(true)}return[2]}}))}))};return{states:{loading:x,error:((u=(o=(i=(n=k===null||k===void 0?void 0:k.response)===null||n===void 0?void 0:n.errors)===null||i===void 0?void 0:i[0])===null||o===void 0?void 0:o.extensions)===null||u===void 0?void 0:u.message)||((d=(f=(c=k===null||k===void 0?void 0:k.response)===null||c===void 0?void 0:c.errors)===null||f===void 0?void 0:f[0])===null||d===void 0?void 0:d.message)||p,success:v,loginPath:e.loginPath,headerText:e.headerText,loginText:e.loginText},callbacks:{submit:E}}}var d=e("sqm_portal_forgot_password",function(){function e(e){t(this,e);this.ignored=true;this.redirectPath="/resetPassword";this.emailLabel="Email";this.submitLabel="Request Password Reset";this.loginPath="/login";this.headerText="Enter your email below to receive a password reset link.";this.loginText="Sign In";i(this)}e.prototype.disconnectedCallback=function(){};e.prototype.render=function(){var e=o()?h(this):f(this),t=e.states,r=e.callbacks;var i={secondaryButton:n("slot",{name:"secondaryButton"},n("sl-button",{type:"text",disabled:t.loading,onClick:function(){return s.push(t.loginPath)}},"Sign In")),messageSlot:n("slot",{name:"messageSlot"},"Enter your email below to receive a password reset link."),emailLabel:this.emailLabel,submitLabel:this.submitLabel};return n(c,{states:t,callbacks:r,content:i})};return e}());function h(e){var t=this;return u({states:{error:"",loading:false,success:false},callbacks:{submit:function(e){return __awaiter(t,void 0,void 0,(function(){return __generator(this,(function(e){return[2]}))}))}}},e.demoData||{},{arrayMerge:function(e,t){return t}})}}}}));
1
+ var __awaiter=this&&this.__awaiter||function(e,t,n,r){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,a){function s(e){try{l(r.next(e))}catch(e){a(e)}}function o(e){try{l(r["throw"](e))}catch(e){a(e)}}function l(e){e.done?n(e.value):i(e.value).then(s,o)}l((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},r,i,a,s;return s={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function o(e){return function(t){return l([e,t])}}function l(s){if(r)throw new TypeError("Generator is already executing.");while(n)try{if(r=1,i&&(a=s[0]&2?i["return"]:s[0]?i["throw"]||((a=i["return"])&&a.call(i),0):i.next)&&!(a=a.call(i,s[1])).done)return a;if(i=0,a)s=[s[0]&2,a.value];switch(s[0]){case 0:case 1:a=s;break;case 4:n.label++;return{value:s[1],done:false};case 5:n.label++;i=s[1];s=[0];continue;case 7:s=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(s[0]===6||s[0]===2)){n=0;continue}if(s[0]===3&&(!a||s[1]>a[0]&&s[1]<a[3])){n.label=s[1];break}if(s[0]===6&&n.label<a[1]){n.label=a[1];a=s;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(s);break}if(a[2])n.ops.pop();n.trys.pop();continue}s=t.call(e,n)}catch(e){s=[6,e];i=0}finally{r=a=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};System.register(["./p-ff17b3a4.system.js","./p-3cc28285.system.js","./p-a3e28532.system.js","./p-b2295bc5.system.js","./p-4bd679a7.system.js","./p-f6934a55.system.js","./p-1a673057.system.js","./p-4f775e84.system.js","./p-1437b793.system.js"],(function(e){"use strict";var t,n,r,i,a,s,o,l,u,c;return{setters:[function(e){t=e.r;n=e.h},function(e){r=e.j;i=e.m},function(e){a=e.t;s=e.p;o=e.i},function(e){l=e.j},function(e){u=e.c},function(){},function(){},function(){},function(e){c=e.P}],execute:function(){function f(e){var t=this;var n,i,o,u,c,f,d;var h=r(false),v=h[0],b=h[1];var m=r(""),p=m[0],g=m[1];var y=a(),w=y[0],_=y[1],x=_.loading,P=_.data,k=_.errors;var j=new URLSearchParams(s.location.search);var S=j.get("nextPage");var E=function(n){return __awaiter(t,void 0,void 0,(function(){var t,r,i,a,s,o;return __generator(this,(function(u){switch(u.label){case 0:g("");b(false);r=n.detail.formData;r===null||r===void 0?void 0:r.forEach((function(e,t){l.set(r,t,e)}));i=S?{nextPage:S}:null;a=e.redirectPath;s={email:r.email,urlParams:i,redirectPath:a};return[4,w(s)];case 1:o=u.sent();if(o instanceof Error){if(o.message)g("Network request failed.");return[2]}if((t=o.requestManagedIdentityPasswordResetEmail)===null||t===void 0?void 0:t.success){b(true)}return[2]}}))}))};return{states:{loading:x,error:((u=(o=(i=(n=k===null||k===void 0?void 0:k.response)===null||n===void 0?void 0:n.errors)===null||i===void 0?void 0:i[0])===null||o===void 0?void 0:o.extensions)===null||u===void 0?void 0:u.message)||((d=(f=(c=k===null||k===void 0?void 0:k.response)===null||c===void 0?void 0:c.errors)===null||f===void 0?void 0:f[0])===null||d===void 0?void 0:d.message)||p,success:v,loginPath:e.loginPath,headerText:e.headerText,loginText:e.loginText},callbacks:{submit:E}}}var d=e("sqm_portal_forgot_password",function(){function e(e){t(this,e);this.ignored=true;this.redirectPath="/resetPassword";this.emailLabel="Email";this.submitLabel="Request Password Reset";this.loginPath="/login";this.headerText="Enter your email below to receive a password reset link.";this.loginText="Sign In";i(this)}e.prototype.disconnectedCallback=function(){};e.prototype.render=function(){var e=o()?h(this):f(this),t=e.states,r=e.callbacks;var i={secondaryButton:n("slot",{name:"secondaryButton"},n("sl-button",{type:"text",disabled:t.loading,onClick:function(){return s.push(t.loginPath)}},"Sign In")),messageSlot:n("slot",{name:"messageSlot"},"Enter your email below to receive a password reset link."),emailLabel:this.emailLabel,submitLabel:this.submitLabel};return n(c,{states:t,callbacks:r,content:i})};return e}());function h(e){var t=this;return u({states:{error:"",loading:false,success:false},callbacks:{submit:function(e){return __awaiter(t,void 0,void 0,(function(){return __generator(this,(function(e){return[2]}))}))}}},e.demoData||{},{arrayMerge:function(e,t){return t}})}}}}));
@@ -1 +1 @@
1
- var __assign=this&&this.__assign||function(){__assign=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var a in t)if(Object.prototype.hasOwnProperty.call(t,a))e[a]=t[a]}return e};return __assign.apply(this,arguments)};var __awaiter=this&&this.__awaiter||function(e,t,r,n){function a(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,i){function s(e){try{o(n.next(e))}catch(e){i(e)}}function l(e){try{o(n["throw"](e))}catch(e){i(e)}}function o(e){e.done?r(e.value):a(e.value).then(s,l)}o((n=n.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,a,i,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(e){return function(t){return o([e,t])}}function o(s){if(n)throw new TypeError("Generator is already executing.");while(r)try{if(n=1,a&&(i=s[0]&2?a["return"]:s[0]?a["throw"]||((i=a["return"])&&i.call(a),0):a.next)&&!(i=i.call(a,s[1])).done)return i;if(a=0,i)s=[s[0]&2,i.value];switch(s[0]){case 0:case 1:i=s;break;case 4:r.label++;return{value:s[1],done:false};case 5:r.label++;a=s[1];s=[0];continue;case 7:s=r.ops.pop();r.trys.pop();continue;default:if(!(i=r.trys,i=i.length>0&&i[i.length-1])&&(s[0]===6||s[0]===2)){r=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]<i[3])){r.label=s[1];break}if(s[0]===6&&r.label<i[1]){r.label=i[1];i=s;break}if(i&&r.label<i[2]){r.label=i[2];r.ops.push(s);break}if(i[2])r.ops.pop();r.trys.pop();continue}s=t.call(e,r)}catch(e){s=[6,e];a=0}finally{n=i=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};var __spreadArrays=this&&this.__spreadArrays||function(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;for(var n=Array(e),a=0,t=0;t<r;t++)for(var i=arguments[t],s=0,l=i.length;s<l;s++,a++)n[a]=i[s];return n};System.register(["./p-ff17b3a4.system.js","./p-3cc28285.system.js","./p-5a739d01.system.js","./p-a3e28532.system.js","./p-4bd679a7.system.js","./p-f6934a55.system.js","./p-1a673057.system.js","./p-9165844e.system.js","./p-c0e7d16e.system.js","./p-c32a8733.system.js","./p-2b6c19e0.system.js","./p-ea04661e.system.js","./p-6333265f.system.js","./p-5cda74d1.system.js"],(function(e){"use strict";var t,r,n,a,i,s,l,o,u,d,c,f,p,v,h,m,g,_,y,b,T,x;return{setters:[function(e){t=e.r;r=e.h;n=e.g;a=e.c},function(e){i=e.m;s=e.i;l=e.u;o=e.f},function(e){u=e.i},function(e){d=e.i},function(e){c=e.c},function(){},function(e){f=e.c},function(e){p=e.G},function(e){v=e.a;h=e.u},function(e){m=e.u},function(e){g=e.l},function(e){_=e.a;y=e.u;b=e.t},function(e){T=e.l},function(e){x=e.T}],execute:function(){var w=function(e){if(e===void 0){e=4}var t=__spreadArrays(Array(e)).map((function(){return L()}));return{totalCount:6,count:e,referredByReferral:{dateConverted:null,dateReferralStarted:1643912659850,referrerUser:{firstName:"John",lastName:"Snow",rewards:[]}},data:t}};var E=[["AVAILABLE"],["PENDING"],["CANCELLED"],["EXPIRED"],["REDEEMED"]];var D=["Rajesh","Pierre","Ji-Ho","Chinua","Charleston","Sally","Gael","Jill","Jane","Khadija"];var C=["Smith","Parker","Kent","Chew","Stark","Banner","Jones","Odinson","Pym","Rogers"];var L=function(){return{id:"5cae6b0fcc540e209db45b53",referredUser:{id:"5cae6b0ce4b0d81c67b78e82",accountId:"SPX1MZBIPTFL3E1H",firstName:D[Math.floor(Math.random()*D.length)],lastName:C[Math.floor(Math.random()*C.length)],email:"example.uexwltgh@mailosaur.io",programGoals:[]},shareLinkUsed:null,referralCodeUsed:"JIMBONEUTRON2",moderationStatus:"PENDING",dateConverted:Math.floor(Math.random()*10)>=5?g.DateTime.now().minus({days:6}).toMillis():null,dateFraudChecksCompleted:null,dateModerated:1558730033306,dateModified:1554934543447,dateReferralEnded:null,dateReferralPaid:null,dateReferralStarted:g.DateTime.now().minus({days:8}).toMillis(),dateUserModified:null,programId:"sam-partner-test-2",program:{id:"sam-partner-test-2",name:"Partner Program 2.0"},rewards:Math.floor(Math.random()*10)>=5?[{id:"5cae6b16cc540e209db45cfa",type:"CREDIT",value:1,unit:"POINT",name:"Partner Reward",dateGiven:1554934550726,dateExpires:null,dateCancelled:null,dateRedeemed:1637004373582,dateScheduledFor:null,fuelTankCode:null,fuelTankType:null,currency:null,prettyValue:"1 Point",statuses:E[Math.floor(Math.random()*E.length)],globalRewardKey:null,programRewardKey:"partnerReward",meta:__assign({},_()),rewardRedemptionTransactions:{data:[{exchangedRewards:{data:[{prettyValue:"CAD10.00 Visa* Prepaid Card CAD",type:"INTEGRATION",fuelTankCode:null,globalRewardKey:"gc1"}]}}]}}]:[],childNodes:{data:[{data:{id:"5cae6b16cc540e209db45cb3",statuses:E[Math.floor(Math.random()*E.length)],type:"PCT_DISCOUNT",value:50},depth:1},{data:{id:"5cae6b16cc540e209db45cfa",statuses:E[Math.floor(Math.random()*E.length)],type:"CREDIT",value:1},depth:1}]}}};var R=e("sqm_referral_table",function(){function e(e){t(this,e);this.perPage=4;this.hideLabels=false;this.prevLabel="Prev";this.moreLabel="Next";this.showReferrer=false;this.hiddenColumns="0";this.smBreakpoint=599;this.mdBreakpoint=799;i(this)}e.prototype.disconnectedCallback=function(){};e.prototype.render=function(){var e=r(N,null);var t=r(P,null);var n=d()?M(this,e,t):y(this,e,t),a=n.states,i=n.data,s=n.callbacks,l=n.elements;v([this.showReferrer,this.perPage]);return r(p,{states:a,data:i,callbacks:s,elements:l})};return e}());function N(){return r("slot",{name:"empty"},r("sqm-empty",{"empty-state-image":"https://res.cloudinary.com/saasquatch/image/upload/v1644000223/squatch-assets/empty_referral2.png","empty-state-header":"View your referral details","empty-state-text":"Refer a friend to view the status of your referrals and rewards earned"}))}function P(){return r("slot",{name:"loading"},r(A,null),r(A,null),r(A,null),r(A,null))}function A(){return r("sqm-table-row",null,r("sqm-table-cell",{colspan:5},r("sl-skeleton",null)))}function M(e,t,r){var n=s((function(e,t){return __assign(__assign({},e),t)}),{columns:[],rows:[],loading:false,page:0}),a=n[0],i=n[1];var u=h();var d=l((function(){var t;return((t=e.demoData)===null||t===void 0?void 0:t.mockData)||w(e.perPage)}),[e.perPage]);var f=m();function p(t){return __awaiter(this,void 0,void 0,(function(){var r,n,a,s,l,o,u,c,f,p,v,h,m,g;var _=this;return __generator(this,(function(y){switch(y.label){case 0:a=d===null||d===void 0?void 0:d.referredByReferral;s=e.showReferrer&&!!((r=d===null||d===void 0?void 0:d.referredByReferral)===null||r===void 0?void 0:r.dateReferralStarted);if(s){n=d.data.slice(0,e.perPage-1)}else{n=d.data.slice(0,e.perPage)}l=t.filter((function(e){var t,r;return e.slot!=="loading"&&e.slot!=="empty"&&((t=e===null||e===void 0?void 0:e.firstElementChild)===null||t===void 0?void 0:t.getAttribute("slot"))!=="loading"&&((r=e===null||e===void 0?void 0:e.firstElementChild)===null||r===void 0?void 0:r.getAttribute("slot"))!=="empty"}));o=l===null||l===void 0?void 0:l.map((function(e,t){return __awaiter(_,void 0,void 0,(function(){var r,n,a;return __generator(this,(function(i){n=(r=e===null||e===void 0?void 0:e.firstElementChild)===null||r===void 0?void 0:r.getAttribute("slot");if(e.tagName==="RAISINS-PLOP-TARGET"&&n!=="loading"&&n!=="empty"){e.setAttribute("slot","column-"+t);e.style.position="absolute";a=e.firstElementChild.childNodes[1];a.innerHTML="+";a.style.lineHeight="20px";return[2,b(e,(function(){return e.renderLabel(t)}))]}return[2,b(e,(function(){return e.renderLabel()}))]}))}))}));if(!s)return[3,2];c=l===null||l===void 0?void 0:l.map((function(e){return __awaiter(_,void 0,void 0,(function(){return __generator(this,(function(t){return[2,b(e,(function t(){return e.renderCell(a,e)}))]}))}))}));return[4,Promise.all(c)];case 1:u=y.sent();y.label=2;case 2:f=n===null||n===void 0?void 0:n.map((function(e){return __awaiter(_,void 0,void 0,(function(){var t,r;var n=this;return __generator(this,(function(a){switch(a.label){case 0:t=l===null||l===void 0?void 0:l.map((function(t){return __awaiter(n,void 0,void 0,(function(){return __generator(this,(function(r){return[2,b(t,(function(){return t.renderCell(e,undefined)}))]}))}))}));return[4,Promise.all(t)];case 1:r=a.sent();return[2,r]}}))}))}));v=f;if(!v)return[3,4];h=[[u]];return[4,Promise.all(f)];case 3:v=__spreadArrays.apply(void 0,h.concat([y.sent()])).filter((function(e){return e}));y.label=4;case 4:p=v;i({rows:p});g=o;if(!g)return[3,6];return[4,Promise.all(o)];case 5:g=y.sent();y.label=6;case 6:m=g;i({columns:m,loading:false,page:0});return[2]}}))}))}o((function(){i({loading:true});(d===null||d===void 0?void 0:d.data)&&p(f)}),[d===null||d===void 0?void 0:d.data,f,u]);var v=c({states:{hasPrev:false,hasNext:false,loading:false,show:"rows"},callbacks:{prevPage:function(){return console.log("Prev")},nextPage:function(){return console.log("Next")}},data:{textOverrides:{showLabels:!e.hideLabels,prevLabel:e.prevLabel,moreLabel:e.moreLabel},hiddenColumns:e.hiddenColumns,referralData:[],mdBreakpoint:799,smBreakpoint:599},elements:{columns:a.columns,rows:a.rows,emptyElement:t,loadingElement:r}},e.demoData||{},{arrayMerge:function(e,t){return t}});return v}var S=e("sqm_referral_table_cell",function(){function e(e){t(this,e);this.ignored=true;i(this)}e.prototype.disconnectedCallback=function(){};e.prototype.render=function(){return r("div",{innerHTML:this.innerTemplate})};return e}());var k=e("sqm_referral_table_column",function(){function e(e){t(this,e);i(this)}e.prototype.disconnectedCallback=function(){};e.prototype.renderCell=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){return[2,r("sqm-referral-table-cell",{"inner-template":n(this).innerHTML})]}))}))};e.prototype.renderLabel=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){return[2,Promise.resolve(this.columnTitle)]}))}))};e.prototype.render=function(){v([this.columnTitle]);return r(a,{style:{display:"none"}},r("slot",null))};return e}());var B=e("sqm_referral_table_date_cell",function(){function e(e){t(this,e);this.ignored=true;this.locale="en";i(this)}e.prototype.disconnectedCallback=function(){};e.prototype.render=function(){var e;var t=!this.date?"-":(e=g.DateTime.fromMillis(this.date))===null||e===void 0?void 0:e.setLocale(T(this.locale)).toLocaleString(g.DateTime.DATE_MED);return t};return e}());var q=e("sqm_referral_table_date_column",function(){function e(e){t(this,e);this.columnTitle="Date converted";this.dateShown="dateConverted";i(this)}e.prototype.disconnectedCallback=function(){};e.prototype.renderCell=function(e,t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(n){return[2,r("sqm-referral-table-date-cell",{date:e[this.dateShown],locale:t})]}))}))};e.prototype.renderLabel=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){return[2,this.columnTitle]}))}))};e.prototype.renderReferrerCell=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,r("sqm-referral-table-date-cell",{date:e[this.dateShown]})]}))}))};e.prototype.render=function(){v([this.dateShown,this.columnTitle]);return r(a,{style:{display:"none"}})};return e}());var I=e("sqm_referral_table_rewards_cell",function(){function e(e){t(this,e);this.locale="en"}e.prototype.render=function(){var e=this;var t;u.locale=this.locale;var n={"@keyframes slideRight":{from:{opacity:0},to:{opacity:1}},DetailsContainer:{width:"100%",display:"flex","align-items":"center","justify-content":"space-between","margin-right":"var(--sl-spacing-small)","flex-wrap":"wrap"},Details:{"padding-bottom":"var(--sl-spacing-small)","max-width":"500px","&::part(header)":{padding:"var(--sl-spacing-x-small)",cursor:""+(this.hideDetails?"default":"pointer")},"&::part(content)":{padding:"var(--sl-spacing-x-small) var(--sl-spacing-medium)"},"&::part(base)":{opacity:"1"},"&::part(summary-icon)":{display:""+(this.hideDetails?"none":"flex")},"&::part(summary-icon[open])":{transform:"rotate(-90deg)",background:"red"}},BadgeContainer:{"& > :not(:last-child)":{"margin-right":"var(--sl-spacing-x-small)"}},BoldText:{"font-weight":"var(--sl-font-weight-semibold)"},StatusBadge:{paddingLeft:"var(--sl-spacing-xxx-small)","&::part(base)":{textAlign:"center",maxWidth:"170px",whiteSpace:"pre-line"}},RedeemBadge:{paddingLeft:"var(--sl-spacing-xxx-small)","&::part(base)":{background:"var(--sl-color-blue-600)"}}};var a=f(n);var i=a.toString();var s=function(e){var t=["REDEEMED","CANCELLED","EXPIRED","PENDING","AVAILABLE"];if(e.length===1)return e[0];return t.find((function(t){return e.includes(t)&&t}))};var l=function(e){switch(e){case"REDEEMED":return"primary";case"EXPIRED":return"danger";case"CANCELLED":return"danger";case"PENDING":return"warning";case"AVAILABLE":return"success"}};var o=function(t){return g.DateTime.fromMillis(t).setLocale(T(e.locale)).toRelative().replace("in","").trim()};return(t=this.rewards)===null||t===void 0?void 0:t.map((function(t){var n=s(t.statuses);var d=l(n);var c=u.formatMessage({id:"statusShortMessage",defaultMessage:e.statusText},{status:n});var f=u.formatMessage({id:"statusLongMessage",defaultMessage:e.statusLongText},{status:n});return r("sl-details",{class:a.classes.Details,disabled:e.hideDetails},r("style",{type:"text/css"},i),r("div",{slot:"summary",class:a.classes.DetailsContainer},r(x,{type:"p"},r("span",{part:"sqm-cell-value",class:a.classes.BoldText},t.prettyValue)),r("div",{class:a.classes.BadgeContainer},n==="PENDING"&&t.dateScheduledFor?r("sl-badge",{class:d==="primary"?a.classes.RedeemBadge:a.classes.StatusBadge,type:d,pill:true},u.formatMessage({id:"pendingForText",defaultMessage:e.pendingForText},{status:c,date:o(t.dateScheduledFor)})):r("sl-badge",{class:d==="primary"?a.classes.RedeemBadge:a.classes.StatusBadge,type:d,pill:true},c),t.dateExpires&&n==="AVAILABLE"&&r("sl-badge",{class:d==="primary"?a.classes.RedeemBadge:a.classes.StatusBadge,type:"info",pill:true},e.expiringText," "+o(t.dateExpires)))),r("div",null,t.dateGiven&&r("div",null,r(x,{type:"p"},e.rewardReceivedText," ",r("span",{class:a.classes.BoldText,part:"sqm-cell-value"},g.DateTime.fromMillis(t.dateGiven).setLocale(T(e.locale)).toLocaleString(g.DateTime.DATE_MED)))),n==="EXPIRED"&&t.dateExpires&&r("div",null,r(x,{type:"p"},f," ",r("span",{class:a.classes.BoldText,part:"sqm-cell-value"},g.DateTime.fromMillis(t.dateExpires).setLocale(T(e.locale)).toLocaleString(g.DateTime.DATE_MED)))),n==="CANCELLED"&&t.dateCancelled&&r("div",null,r(x,{type:"p"},f," ",r("span",{class:a.classes.BoldText,part:"sqm-cell-value"},g.DateTime.fromMillis(t.dateCancelled).setLocale(T(e.locale)).toLocaleString(g.DateTime.DATE_MED)))),n==="PENDING"&&t.dateScheduledFor&&r("div",null,r(x,{type:"p"},f," ",r("span",{class:a.classes.BoldText,part:"sqm-cell-value"},g.DateTime.fromMillis(t.dateScheduledFor).setLocale(T(e.locale)).toLocaleString(g.DateTime.DATE_MED))))," ",n==="AVAILABLE"&&t.dateExpires&&r("div",null,r(x,{type:"p"},f," ",r("span",{class:a.classes.BoldText,part:"sqm-cell-value"},g.DateTime.fromMillis(t.dateExpires).setLocale(T(e.locale)).toLocaleString(g.DateTime.DATE_MED)))),t.fuelTankCode&&r("div",null,e.fuelTankText," ",r("span",{class:a.classes.BoldText,part:"sqm-cell-value"},t.fuelTankCode))))}))};return e}());var U=e("sqm_referral_table_rewards_column",function(){function e(e){t(this,e);this.columnTitle="Rewards";this.statusText="{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }";this.statusLongText="{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} other {Not available} }";this.fuelTankText="Your code is";this.rewardReceivedText="Reward received on";this.expiringText="Expiring in";this.pendingForText="{status} for {date}";this.hideDetails=false;i(this)}e.prototype.disconnectedCallback=function(){};e.prototype.renderCell=function(e,t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(n){return[2,r("sqm-referral-table-rewards-cell",{rewards:e.rewards,statusText:this.statusText,statusLongText:this.statusLongText,fuelTankText:this.fuelTankText,rewardReceivedText:this.rewardReceivedText,expiringText:this.expiringText,pendingForText:this.pendingForText,hideDetails:this.hideDetails,locale:t,exportparts:"sqm-cell-value"})]}))}))};e.prototype.renderLabel=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){return[2,this.columnTitle]}))}))};e.prototype.renderReferrerCell=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,r("sqm-referral-table-rewards-cell",{rewards:e.rewards,exportparts:"sqm-cell-value"})]}))}))};e.prototype.render=function(){v([this.columnTitle,this.statusText,this.statusLongText,this.fuelTankText,this.rewardReceivedText,this.expiringText,this.pendingForText,this.hideDetails]);return r(a,{style:{display:"none"}})};return e}());var j={Badge:{"&::part(base)":{fontSize:"var(--sl-font-size-small)",padding:"4px 8px",whiteSpace:"pre-line"}}};var G=f(j);var F=G.toString();var V=e("sqm_referral_table_status_cell",function(){function e(e){t(this,e)}e.prototype.render=function(){return r("div",null,r("style",{type:"text/css"},F),r("sl-badge",{pill:true,type:this.converted?"success":"warning",class:G.classes.Badge},this.statusText))};return e}());var O=e("sqm_referral_table_status_column",function(){function e(e){t(this,e);this.columnTitle="Status";this.convertedStatusText="Converted";this.inProgressStatusText="In Progress";i(this)}e.prototype.disconnectedCallback=function(){};e.prototype.renderCell=function(e){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(n){t=e.dateConverted?this.convertedStatusText:this.inProgressStatusText;return[2,r("sqm-referral-table-status-cell",{"status-text":t,converted:e.dateConverted?true:false})]}))}))};e.prototype.renderLabel=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){return[2,this.columnTitle]}))}))};e.prototype.renderReferrerCell=function(e){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(n){t=e.dateConverted?this.convertedStatusText:this.inProgressStatusText;return[2,r("sqm-referral-table-status-cell",{"status-text":t,converted:e.dateConverted?true:false})]}))}))};e.prototype.render=function(){v([this.columnTitle,this.convertedStatusText,this.inProgressStatusText]);return r(a,{style:{display:"none"}})};return e}());var X=e("sqm_referral_table_user_cell",function(){function e(e){t(this,e)}e.prototype.render=function(){return this.name};return e}());var H=e("sqm_referral_table_user_column",function(){function e(e){t(this,e);this.columnTitle="Customer";this.anonymousUser="Anonymous User";this.deletedUser="Deleted User";i(this)}e.prototype.disconnectedCallback=function(){};e.prototype.renderCell=function(e){return __awaiter(this,void 0,void 0,(function(){var t,n,a,i,s,l,o,u,d;return __generator(this,(function(c){if(!(e===null||e===void 0?void 0:e.referredUser)&&!(e===null||e===void 0?void 0:e.referrerUser)){d=this.deletedUser}else if(!((t=e===null||e===void 0?void 0:e.referredUser)===null||t===void 0?void 0:t.firstName)&&!((n=e===null||e===void 0?void 0:e.referredUser)===null||n===void 0?void 0:n.lastName)&&!((a=e===null||e===void 0?void 0:e.referrerUser)===null||a===void 0?void 0:a.firstName)&&!((i=e===null||e===void 0?void 0:e.referrerUser)===null||i===void 0?void 0:i.lastName)){d=this.anonymousUser}else if(e===null||e===void 0?void 0:e.referrerUser){d=((s=e===null||e===void 0?void 0:e.referrerUser)===null||s===void 0?void 0:s.firstName)+" "+((l=e===null||e===void 0?void 0:e.referrerUser)===null||l===void 0?void 0:l.lastName)}else{d=((o=e===null||e===void 0?void 0:e.referredUser)===null||o===void 0?void 0:o.firstName)+" "+((u=e===null||e===void 0?void 0:e.referredUser)===null||u===void 0?void 0:u.lastName)}return[2,r("sqm-referral-table-user-cell",{name:d})]}))}))};e.prototype.renderLabel=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){return[2,this.columnTitle]}))}))};e.prototype.renderReferrerCell=function(e){return __awaiter(this,void 0,void 0,(function(){var t,n,a,i,s;return __generator(this,(function(l){if(!e){s=this.deletedUser}else if(!((t=e===null||e===void 0?void 0:e.referrerUser)===null||t===void 0?void 0:t.firstName)&&!((n=e.referrerUser)===null||n===void 0?void 0:n.lastName)){s=this.anonymousUser}else{s=((a=e===null||e===void 0?void 0:e.referrerUser)===null||a===void 0?void 0:a.firstName)+" "+((i=e===null||e===void 0?void 0:e.referrerUser)===null||i===void 0?void 0:i.lastName)}return[2,r("sqm-referral-table-user-cell",{name:s})]}))}))};e.prototype.render=function(){v([this.deletedUser,this.anonymousUser,this.columnTitle]);return r(a,{style:{display:"none"}})};return e}())}}}));
1
+ var __assign=this&&this.__assign||function(){__assign=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var a in t)if(Object.prototype.hasOwnProperty.call(t,a))e[a]=t[a]}return e};return __assign.apply(this,arguments)};var __awaiter=this&&this.__awaiter||function(e,t,r,n){function a(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,i){function s(e){try{o(n.next(e))}catch(e){i(e)}}function l(e){try{o(n["throw"](e))}catch(e){i(e)}}function o(e){e.done?r(e.value):a(e.value).then(s,l)}o((n=n.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,a,i,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(e){return function(t){return o([e,t])}}function o(s){if(n)throw new TypeError("Generator is already executing.");while(r)try{if(n=1,a&&(i=s[0]&2?a["return"]:s[0]?a["throw"]||((i=a["return"])&&i.call(a),0):a.next)&&!(i=i.call(a,s[1])).done)return i;if(a=0,i)s=[s[0]&2,i.value];switch(s[0]){case 0:case 1:i=s;break;case 4:r.label++;return{value:s[1],done:false};case 5:r.label++;a=s[1];s=[0];continue;case 7:s=r.ops.pop();r.trys.pop();continue;default:if(!(i=r.trys,i=i.length>0&&i[i.length-1])&&(s[0]===6||s[0]===2)){r=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]<i[3])){r.label=s[1];break}if(s[0]===6&&r.label<i[1]){r.label=i[1];i=s;break}if(i&&r.label<i[2]){r.label=i[2];r.ops.push(s);break}if(i[2])r.ops.pop();r.trys.pop();continue}s=t.call(e,r)}catch(e){s=[6,e];a=0}finally{n=i=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};var __spreadArrays=this&&this.__spreadArrays||function(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;for(var n=Array(e),a=0,t=0;t<r;t++)for(var i=arguments[t],s=0,l=i.length;s<l;s++,a++)n[a]=i[s];return n};System.register(["./p-ff17b3a4.system.js","./p-3cc28285.system.js","./p-46f41615.system.js","./p-a3e28532.system.js","./p-4bd679a7.system.js","./p-f6934a55.system.js","./p-1a673057.system.js","./p-9165844e.system.js","./p-c0e7d16e.system.js","./p-c32a8733.system.js","./p-2b6c19e0.system.js","./p-8ba2c01f.system.js","./p-6333265f.system.js","./p-4f775e84.system.js"],(function(e){"use strict";var t,r,n,a,i,s,l,o,u,d,c,f,p,v,h,m,g,_,y,b,T,x;return{setters:[function(e){t=e.r;r=e.h;n=e.g;a=e.c},function(e){i=e.m;s=e.i;l=e.u;o=e.f},function(e){u=e.i},function(e){d=e.i},function(e){c=e.c},function(){},function(e){f=e.c},function(e){p=e.G},function(e){v=e.a;h=e.u},function(e){m=e.u},function(e){g=e.l},function(e){_=e.a;y=e.u;b=e.t},function(e){T=e.l},function(e){x=e.T}],execute:function(){var w=function(e){if(e===void 0){e=4}var t=__spreadArrays(Array(e)).map((function(){return L()}));return{totalCount:6,count:e,referredByReferral:{dateConverted:null,dateReferralStarted:1643912659850,referrerUser:{firstName:"John",lastName:"Snow",rewards:[]}},data:t}};var E=[["AVAILABLE"],["PENDING"],["CANCELLED"],["EXPIRED"],["REDEEMED"]];var D=["Rajesh","Pierre","Ji-Ho","Chinua","Charleston","Sally","Gael","Jill","Jane","Khadija"];var C=["Smith","Parker","Kent","Chew","Stark","Banner","Jones","Odinson","Pym","Rogers"];var L=function(){return{id:"5cae6b0fcc540e209db45b53",referredUser:{id:"5cae6b0ce4b0d81c67b78e82",accountId:"SPX1MZBIPTFL3E1H",firstName:D[Math.floor(Math.random()*D.length)],lastName:C[Math.floor(Math.random()*C.length)],email:"example.uexwltgh@mailosaur.io",programGoals:[]},shareLinkUsed:null,referralCodeUsed:"JIMBONEUTRON2",moderationStatus:"PENDING",dateConverted:Math.floor(Math.random()*10)>=5?g.DateTime.now().minus({days:6}).toMillis():null,dateFraudChecksCompleted:null,dateModerated:1558730033306,dateModified:1554934543447,dateReferralEnded:null,dateReferralPaid:null,dateReferralStarted:g.DateTime.now().minus({days:8}).toMillis(),dateUserModified:null,programId:"sam-partner-test-2",program:{id:"sam-partner-test-2",name:"Partner Program 2.0"},rewards:Math.floor(Math.random()*10)>=5?[{id:"5cae6b16cc540e209db45cfa",type:"CREDIT",value:1,unit:"POINT",name:"Partner Reward",dateGiven:1554934550726,dateExpires:null,dateCancelled:null,dateRedeemed:1637004373582,dateScheduledFor:null,fuelTankCode:null,fuelTankType:null,currency:null,prettyValue:"1 Point",statuses:E[Math.floor(Math.random()*E.length)],globalRewardKey:null,programRewardKey:"partnerReward",meta:__assign({},_()),rewardRedemptionTransactions:{data:[{exchangedRewards:{data:[{prettyValue:"CAD10.00 Visa* Prepaid Card CAD",type:"INTEGRATION",fuelTankCode:null,globalRewardKey:"gc1"}]}}]}}]:[],childNodes:{data:[{data:{id:"5cae6b16cc540e209db45cb3",statuses:E[Math.floor(Math.random()*E.length)],type:"PCT_DISCOUNT",value:50},depth:1},{data:{id:"5cae6b16cc540e209db45cfa",statuses:E[Math.floor(Math.random()*E.length)],type:"CREDIT",value:1},depth:1}]}}};var R=e("sqm_referral_table",function(){function e(e){t(this,e);this.perPage=4;this.hideLabels=false;this.prevLabel="Prev";this.moreLabel="Next";this.showReferrer=false;this.hiddenColumns="0";this.smBreakpoint=599;this.mdBreakpoint=799;i(this)}e.prototype.disconnectedCallback=function(){};e.prototype.render=function(){var e=r(N,null);var t=r(P,null);var n=d()?M(this,e,t):y(this,e,t),a=n.states,i=n.data,s=n.callbacks,l=n.elements;v([this.showReferrer,this.perPage]);return r(p,{states:a,data:i,callbacks:s,elements:l})};return e}());function N(){return r("slot",{name:"empty"},r("sqm-empty",{"empty-state-image":"https://res.cloudinary.com/saasquatch/image/upload/v1644000223/squatch-assets/empty_referral2.png","empty-state-header":"View your referral details","empty-state-text":"Refer a friend to view the status of your referrals and rewards earned"}))}function P(){return r("slot",{name:"loading"},r(A,null),r(A,null),r(A,null),r(A,null))}function A(){return r("sqm-table-row",null,r("sqm-table-cell",{colspan:5},r("sl-skeleton",null)))}function M(e,t,r){var n=s((function(e,t){return __assign(__assign({},e),t)}),{columns:[],rows:[],loading:false,page:0}),a=n[0],i=n[1];var u=h();var d=l((function(){var t;return((t=e.demoData)===null||t===void 0?void 0:t.mockData)||w(e.perPage)}),[e.perPage]);var f=m();function p(t){return __awaiter(this,void 0,void 0,(function(){var r,n,a,s,l,o,u,c,f,p,v,h,m,g;var _=this;return __generator(this,(function(y){switch(y.label){case 0:a=d===null||d===void 0?void 0:d.referredByReferral;s=e.showReferrer&&!!((r=d===null||d===void 0?void 0:d.referredByReferral)===null||r===void 0?void 0:r.dateReferralStarted);if(s){n=d.data.slice(0,e.perPage-1)}else{n=d.data.slice(0,e.perPage)}l=t.filter((function(e){var t,r;return e.slot!=="loading"&&e.slot!=="empty"&&((t=e===null||e===void 0?void 0:e.firstElementChild)===null||t===void 0?void 0:t.getAttribute("slot"))!=="loading"&&((r=e===null||e===void 0?void 0:e.firstElementChild)===null||r===void 0?void 0:r.getAttribute("slot"))!=="empty"}));o=l===null||l===void 0?void 0:l.map((function(e,t){return __awaiter(_,void 0,void 0,(function(){var r,n,a;return __generator(this,(function(i){n=(r=e===null||e===void 0?void 0:e.firstElementChild)===null||r===void 0?void 0:r.getAttribute("slot");if(e.tagName==="RAISINS-PLOP-TARGET"&&n!=="loading"&&n!=="empty"){e.setAttribute("slot","column-"+t);e.style.position="absolute";a=e.firstElementChild.childNodes[1];a.innerHTML="+";a.style.lineHeight="20px";return[2,b(e,(function(){return e.renderLabel(t)}))]}return[2,b(e,(function(){return e.renderLabel()}))]}))}))}));if(!s)return[3,2];c=l===null||l===void 0?void 0:l.map((function(e){return __awaiter(_,void 0,void 0,(function(){return __generator(this,(function(t){return[2,b(e,(function t(){return e.renderCell(a,e)}))]}))}))}));return[4,Promise.all(c)];case 1:u=y.sent();y.label=2;case 2:f=n===null||n===void 0?void 0:n.map((function(e){return __awaiter(_,void 0,void 0,(function(){var t,r;var n=this;return __generator(this,(function(a){switch(a.label){case 0:t=l===null||l===void 0?void 0:l.map((function(t){return __awaiter(n,void 0,void 0,(function(){return __generator(this,(function(r){return[2,b(t,(function(){return t.renderCell(e,undefined)}))]}))}))}));return[4,Promise.all(t)];case 1:r=a.sent();return[2,r]}}))}))}));v=f;if(!v)return[3,4];h=[[u]];return[4,Promise.all(f)];case 3:v=__spreadArrays.apply(void 0,h.concat([y.sent()])).filter((function(e){return e}));y.label=4;case 4:p=v;i({rows:p});g=o;if(!g)return[3,6];return[4,Promise.all(o)];case 5:g=y.sent();y.label=6;case 6:m=g;i({columns:m,loading:false,page:0});return[2]}}))}))}o((function(){i({loading:true});(d===null||d===void 0?void 0:d.data)&&p(f)}),[d===null||d===void 0?void 0:d.data,f,u]);var v=c({states:{hasPrev:false,hasNext:false,loading:false,show:"rows"},callbacks:{prevPage:function(){return console.log("Prev")},nextPage:function(){return console.log("Next")}},data:{textOverrides:{showLabels:!e.hideLabels,prevLabel:e.prevLabel,moreLabel:e.moreLabel},hiddenColumns:e.hiddenColumns,referralData:[],mdBreakpoint:799,smBreakpoint:599},elements:{columns:a.columns,rows:a.rows,emptyElement:t,loadingElement:r}},e.demoData||{},{arrayMerge:function(e,t){return t}});return v}var S=e("sqm_referral_table_cell",function(){function e(e){t(this,e);this.ignored=true;i(this)}e.prototype.disconnectedCallback=function(){};e.prototype.render=function(){return r("div",{innerHTML:this.innerTemplate})};return e}());var k=e("sqm_referral_table_column",function(){function e(e){t(this,e);i(this)}e.prototype.disconnectedCallback=function(){};e.prototype.renderCell=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){return[2,r("sqm-referral-table-cell",{"inner-template":n(this).innerHTML})]}))}))};e.prototype.renderLabel=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){return[2,Promise.resolve(this.columnTitle)]}))}))};e.prototype.render=function(){v([this.columnTitle]);return r(a,{style:{display:"none"}},r("slot",null))};return e}());var B=e("sqm_referral_table_date_cell",function(){function e(e){t(this,e);this.ignored=true;this.locale="en";i(this)}e.prototype.disconnectedCallback=function(){};e.prototype.render=function(){var e;var t=!this.date?"-":(e=g.DateTime.fromMillis(this.date))===null||e===void 0?void 0:e.setLocale(T(this.locale)).toLocaleString(g.DateTime.DATE_MED);return t};return e}());var q=e("sqm_referral_table_date_column",function(){function e(e){t(this,e);this.columnTitle="Date converted";this.dateShown="dateConverted";i(this)}e.prototype.disconnectedCallback=function(){};e.prototype.renderCell=function(e,t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(n){return[2,r("sqm-referral-table-date-cell",{date:e[this.dateShown],locale:t})]}))}))};e.prototype.renderLabel=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){return[2,this.columnTitle]}))}))};e.prototype.renderReferrerCell=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,r("sqm-referral-table-date-cell",{date:e[this.dateShown]})]}))}))};e.prototype.render=function(){v([this.dateShown,this.columnTitle]);return r(a,{style:{display:"none"}})};return e}());var I=e("sqm_referral_table_rewards_cell",function(){function e(e){t(this,e);this.locale="en"}e.prototype.render=function(){var e=this;var t;u.locale=this.locale;var n={"@keyframes slideRight":{from:{opacity:0},to:{opacity:1}},DetailsContainer:{width:"100%",display:"flex","align-items":"center","justify-content":"space-between","margin-right":"var(--sl-spacing-small)","flex-wrap":"wrap"},Details:{"padding-bottom":"var(--sl-spacing-small)","max-width":"500px","&::part(header)":{padding:"var(--sl-spacing-x-small)",cursor:""+(this.hideDetails?"default":"pointer")},"&::part(content)":{padding:"var(--sl-spacing-x-small) var(--sl-spacing-medium)"},"&::part(base)":{opacity:"1"},"&::part(summary-icon)":{display:""+(this.hideDetails?"none":"flex")},"&::part(summary-icon[open])":{transform:"rotate(-90deg)",background:"red"}},BadgeContainer:{"& > :not(:last-child)":{"margin-right":"var(--sl-spacing-x-small)"}},BoldText:{"font-weight":"var(--sl-font-weight-semibold)"},StatusBadge:{paddingLeft:"var(--sl-spacing-xxx-small)","&::part(base)":{textAlign:"center",maxWidth:"170px",whiteSpace:"pre-line"}},RedeemBadge:{paddingLeft:"var(--sl-spacing-xxx-small)","&::part(base)":{background:"var(--sl-color-blue-600)"}}};var a=f(n);var i=a.toString();var s=function(e){var t=["REDEEMED","CANCELLED","EXPIRED","PENDING","AVAILABLE"];if(e.length===1)return e[0];return t.find((function(t){return e.includes(t)&&t}))};var l=function(e){switch(e){case"REDEEMED":return"primary";case"EXPIRED":return"danger";case"CANCELLED":return"danger";case"PENDING":return"warning";case"AVAILABLE":return"success"}};var o=function(t){return g.DateTime.fromMillis(t).setLocale(T(e.locale)).toRelative().replace("in","").trim()};return(t=this.rewards)===null||t===void 0?void 0:t.map((function(t){var n=s(t.statuses);var d=l(n);var c=u.formatMessage({id:"statusShortMessage",defaultMessage:e.statusText},{status:n});var f=u.formatMessage({id:"statusLongMessage",defaultMessage:e.statusLongText},{status:n});return r("sl-details",{class:a.classes.Details,disabled:e.hideDetails},r("style",{type:"text/css"},i),r("div",{slot:"summary",class:a.classes.DetailsContainer},r(x,{type:"p"},r("span",{part:"sqm-cell-value",class:a.classes.BoldText},t.prettyValue)),r("div",{class:a.classes.BadgeContainer},n==="PENDING"&&t.dateScheduledFor?r("sl-badge",{class:d==="primary"?a.classes.RedeemBadge:a.classes.StatusBadge,type:d,pill:true},u.formatMessage({id:"pendingForText",defaultMessage:e.pendingForText},{status:c,date:o(t.dateScheduledFor)})):r("sl-badge",{class:d==="primary"?a.classes.RedeemBadge:a.classes.StatusBadge,type:d,pill:true},c),t.dateExpires&&n==="AVAILABLE"&&r("sl-badge",{class:d==="primary"?a.classes.RedeemBadge:a.classes.StatusBadge,type:"info",pill:true},e.expiringText," "+o(t.dateExpires)))),r("div",null,t.dateGiven&&r("div",null,r(x,{type:"p"},e.rewardReceivedText," ",r("span",{class:a.classes.BoldText,part:"sqm-cell-value"},g.DateTime.fromMillis(t.dateGiven).setLocale(T(e.locale)).toLocaleString(g.DateTime.DATE_MED)))),n==="EXPIRED"&&t.dateExpires&&r("div",null,r(x,{type:"p"},f," ",r("span",{class:a.classes.BoldText,part:"sqm-cell-value"},g.DateTime.fromMillis(t.dateExpires).setLocale(T(e.locale)).toLocaleString(g.DateTime.DATE_MED)))),n==="CANCELLED"&&t.dateCancelled&&r("div",null,r(x,{type:"p"},f," ",r("span",{class:a.classes.BoldText,part:"sqm-cell-value"},g.DateTime.fromMillis(t.dateCancelled).setLocale(T(e.locale)).toLocaleString(g.DateTime.DATE_MED)))),n==="PENDING"&&t.dateScheduledFor&&r("div",null,r(x,{type:"p"},f," ",r("span",{class:a.classes.BoldText,part:"sqm-cell-value"},g.DateTime.fromMillis(t.dateScheduledFor).setLocale(T(e.locale)).toLocaleString(g.DateTime.DATE_MED))))," ",n==="AVAILABLE"&&t.dateExpires&&r("div",null,r(x,{type:"p"},f," ",r("span",{class:a.classes.BoldText,part:"sqm-cell-value"},g.DateTime.fromMillis(t.dateExpires).setLocale(T(e.locale)).toLocaleString(g.DateTime.DATE_MED)))),t.fuelTankCode&&r("div",null,e.fuelTankText," ",r("span",{class:a.classes.BoldText,part:"sqm-cell-value"},t.fuelTankCode))))}))};return e}());var U=e("sqm_referral_table_rewards_column",function(){function e(e){t(this,e);this.columnTitle="Rewards";this.statusText="{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }";this.statusLongText="{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} other {Not available} }";this.fuelTankText="Your code is";this.rewardReceivedText="Reward received on";this.expiringText="Expiring in";this.pendingForText="{status} for {date}";this.hideDetails=false;i(this)}e.prototype.disconnectedCallback=function(){};e.prototype.renderCell=function(e,t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(n){return[2,r("sqm-referral-table-rewards-cell",{rewards:e.rewards,statusText:this.statusText,statusLongText:this.statusLongText,fuelTankText:this.fuelTankText,rewardReceivedText:this.rewardReceivedText,expiringText:this.expiringText,pendingForText:this.pendingForText,hideDetails:this.hideDetails,locale:t,exportparts:"sqm-cell-value"})]}))}))};e.prototype.renderLabel=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){return[2,this.columnTitle]}))}))};e.prototype.renderReferrerCell=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,r("sqm-referral-table-rewards-cell",{rewards:e.rewards,exportparts:"sqm-cell-value"})]}))}))};e.prototype.render=function(){v([this.columnTitle,this.statusText,this.statusLongText,this.fuelTankText,this.rewardReceivedText,this.expiringText,this.pendingForText,this.hideDetails]);return r(a,{style:{display:"none"}})};return e}());var j={Badge:{"&::part(base)":{fontSize:"var(--sl-font-size-small)",padding:"4px 8px",whiteSpace:"pre-line"}}};var G=f(j);var F=G.toString();var V=e("sqm_referral_table_status_cell",function(){function e(e){t(this,e)}e.prototype.render=function(){return r("div",null,r("style",{type:"text/css"},F),r("sl-badge",{pill:true,type:this.converted?"success":"warning",class:G.classes.Badge},this.statusText))};return e}());var O=e("sqm_referral_table_status_column",function(){function e(e){t(this,e);this.columnTitle="Status";this.convertedStatusText="Converted";this.inProgressStatusText="In Progress";i(this)}e.prototype.disconnectedCallback=function(){};e.prototype.renderCell=function(e){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(n){t=e.dateConverted?this.convertedStatusText:this.inProgressStatusText;return[2,r("sqm-referral-table-status-cell",{"status-text":t,converted:e.dateConverted?true:false})]}))}))};e.prototype.renderLabel=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){return[2,this.columnTitle]}))}))};e.prototype.renderReferrerCell=function(e){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(n){t=e.dateConverted?this.convertedStatusText:this.inProgressStatusText;return[2,r("sqm-referral-table-status-cell",{"status-text":t,converted:e.dateConverted?true:false})]}))}))};e.prototype.render=function(){v([this.columnTitle,this.convertedStatusText,this.inProgressStatusText]);return r(a,{style:{display:"none"}})};return e}());var X=e("sqm_referral_table_user_cell",function(){function e(e){t(this,e)}e.prototype.render=function(){return this.name};return e}());var H=e("sqm_referral_table_user_column",function(){function e(e){t(this,e);this.columnTitle="Customer";this.anonymousUser="Anonymous User";this.deletedUser="Deleted User";i(this)}e.prototype.disconnectedCallback=function(){};e.prototype.renderCell=function(e){return __awaiter(this,void 0,void 0,(function(){var t,n,a,i,s,l,o,u,d;return __generator(this,(function(c){if(!(e===null||e===void 0?void 0:e.referredUser)&&!(e===null||e===void 0?void 0:e.referrerUser)){d=this.deletedUser}else if(!((t=e===null||e===void 0?void 0:e.referredUser)===null||t===void 0?void 0:t.firstName)&&!((n=e===null||e===void 0?void 0:e.referredUser)===null||n===void 0?void 0:n.lastName)&&!((a=e===null||e===void 0?void 0:e.referrerUser)===null||a===void 0?void 0:a.firstName)&&!((i=e===null||e===void 0?void 0:e.referrerUser)===null||i===void 0?void 0:i.lastName)){d=this.anonymousUser}else if(e===null||e===void 0?void 0:e.referrerUser){d=((s=e===null||e===void 0?void 0:e.referrerUser)===null||s===void 0?void 0:s.firstName)+" "+((l=e===null||e===void 0?void 0:e.referrerUser)===null||l===void 0?void 0:l.lastName)}else{d=((o=e===null||e===void 0?void 0:e.referredUser)===null||o===void 0?void 0:o.firstName)+" "+((u=e===null||e===void 0?void 0:e.referredUser)===null||u===void 0?void 0:u.lastName)}return[2,r("sqm-referral-table-user-cell",{name:d})]}))}))};e.prototype.renderLabel=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){return[2,this.columnTitle]}))}))};e.prototype.renderReferrerCell=function(e){return __awaiter(this,void 0,void 0,(function(){var t,n,a,i,s;return __generator(this,(function(l){if(!e){s=this.deletedUser}else if(!((t=e===null||e===void 0?void 0:e.referrerUser)===null||t===void 0?void 0:t.firstName)&&!((n=e.referrerUser)===null||n===void 0?void 0:n.lastName)){s=this.anonymousUser}else{s=((a=e===null||e===void 0?void 0:e.referrerUser)===null||a===void 0?void 0:a.firstName)+" "+((i=e===null||e===void 0?void 0:e.referrerUser)===null||i===void 0?void 0:i.lastName)}return[2,r("sqm-referral-table-user-cell",{name:s})]}))}))};e.prototype.render=function(){v([this.deletedUser,this.anonymousUser,this.columnTitle]);return r(a,{style:{display:"none"}})};return e}())}}}));
@@ -1,4 +1,4 @@
1
- import{h as e,r as t,c as s}from"./p-64c3217a.js";import{b as a,i as r,f as l,m as i,u as n}from"./p-901f5b80.js";import{i as o}from"./p-65fffbfb.js";import{d,L as c,O as u,W as m,y as p,i as h}from"./p-cdddccfe.js";import{c as v}from"./p-c1086930.js";import"./p-02be1a88.js";import{c as f}from"./p-cef45012.js";import{G as g}from"./p-36c08962.js";import{u as w,a as y}from"./p-f2ec822a.js";import{u as E}from"./p-99ec46fe.js";import{l as b}from"./p-d576140e.js";import{g as x,m as R}from"./p-9de2287d.js";import{l as A}from"./p-9ec99ced.js";const N=a("sq:useRewardsTable"),D=d.gql`
1
+ import{h as e,r as t,c as s}from"./p-64c3217a.js";import{b as a,i as r,f as l,m as i,u as n}from"./p-901f5b80.js";import{i as o}from"./p-4f09f749.js";import{d,L as c,O as u,W as m,y as p,i as h}from"./p-cdddccfe.js";import{c as v}from"./p-c1086930.js";import"./p-02be1a88.js";import{c as f}from"./p-cef45012.js";import{G as g}from"./p-36c08962.js";import{u as w,a as y}from"./p-f2ec822a.js";import{u as E}from"./p-99ec46fe.js";import{l as b}from"./p-d576140e.js";import{g as x,m as R}from"./p-16c3324b.js";import{l as A}from"./p-9ec99ced.js";const N=a("sq:useRewardsTable"),D=d.gql`
2
2
  query getRewards(
3
3
  $limit: Int!
4
4
  $offset: Int!
@@ -1 +1 @@
1
- System.register(["./p-ff17b3a4.system.js","./p-3cc28285.system.js","./p-a3e28532.system.js","./p-1596a53c.system.js"],(function(t){"use strict";var n,e,s,c,r,i,o,u;return{setters:[function(t){n=t.r;e=t.h},function(t){s=t.m;c=t.j;r=t.f},function(t){i=t.v;o=t.O},function(t){u=t.N}],execute:function(){var a=t("sqm_navigation_sidebar",function(){function t(t){n(this,t);this.ignored=true;s(this)}t.prototype.disconnectedCallback=function(){};t.prototype.render=function(){var t=f();return e(u,Object.assign({},t),e("slot",null))};return t}());function f(){var t=i();var n=o();var e=c(false),s=e[0],u=e[1];r((function(){u(false)}),[t.pathname,n]);function a(t){u(t.target.checked)}return{checked:s,onClick:a}}}}}));
1
+ System.register(["./p-ff17b3a4.system.js","./p-3cc28285.system.js","./p-a3e28532.system.js","./p-c06048c9.system.js"],(function(t){"use strict";var n,e,s,c,r,i,o,u;return{setters:[function(t){n=t.r;e=t.h},function(t){s=t.m;c=t.j;r=t.f},function(t){i=t.v;o=t.O},function(t){u=t.N}],execute:function(){var a=t("sqm_navigation_sidebar",function(){function t(t){n(this,t);this.ignored=true;s(this)}t.prototype.disconnectedCallback=function(){};t.prototype.render=function(){var t=f();return e(u,Object.assign({},t),e("slot",null))};return t}());function f(){var t=i();var n=o();var e=c(false),s=e[0],u=e[1];r((function(){u(false)}),[t.pathname,n]);function a(t){u(t.target.checked)}return{checked:s,onClick:a}}}}}));
@@ -1 +1 @@
1
- import{r as t,h as i}from"./p-64c3217a.js";import{m as s}from"./p-901f5b80.js";import{i as e,e as a}from"./p-cdddccfe.js";import"./p-e7e129ac.js";import{c as r}from"./p-c1086930.js";import"./p-02be1a88.js";import"./p-cef45012.js";import{E as o}from"./p-671f612f.js";import"./p-5da880d1.js";import{u as l}from"./p-8788baee.js";const m=class{constructor(i){t(this,i),this.ignored=!0,this.emailLabel="Email",this.firstNameLabel="First Name",this.lastNameLabel="Last Name",this.registerLabel="Start Referring",this.includeName=!1,this.hideBorder=!1,this.requiredFieldErrorMessage="Cannot be empty",this.invalidEmailErrorMessage="Please enter a valid email address",this.networkErrorMessage="There was a problem signing you in. Please wait a moment and try again. If this problem continues, contact Support for help resolving this issue.",this.paddingTop="large",this.paddingRight="large",this.paddingBottom="large",this.paddingLeft="large",this.backgroundColor="#ffffff",this.includeCookies=!1,s(this)}disconnectedCallback(){}render(){const{states:t,callbacks:s}=e()?r({states:{loading:!1,error:""},callbacks:{submit:async()=>{a({id:"referrer@example.com",accountId:"referrer@example.com",jwt:"eyJraWQiOiJlNjI2NzQxNy1jMzZlLTRlM2EtYjM5NS1lYTFmY2YyNmU3YzIiLCJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOiJjbVZtWlhKeVpYSkFaWGhoYlhCc1pTNWpiMjA9OmNtVm1aWEp5WlhKQVpYaGhiWEJzWlM1amIyMD1AdGVzdF9heGJndGF0dzF0Y2NwOnVzZXJzIiwicGFzc3dvcmRsZXNzIjp0cnVlLCJpc3MiOiJodHRwczovL3N0YWdpbmcucmVmZXJyYWxzYWFzcXVhdGNoLmNvbS8iLCJleHAiOjE2ODA4ODU5MTksImlhdCI6MTY4MDc5OTUxOX0.kjmTVVf_BTb-uMNKnadLyNLxMFwpkefsY02O3iAfBVIJJZZfeZMwunPlKsS3Vbp28aYRClBjH5Wj4pYxDn23D0CdZx8KNCqiJ8yF6149O9SPMkRseoJkliqS6LyvMOEDjGDkuLfcC8_hq1AHBXFt5BdCtWOk1gwf_5R9A0w5gXEIvprBzbNDLbuo88bVAlrmFNvfttXXryrpUeruMal7cBKuy02YblBrB4kKoyJiprU5GLEjciBA4A56u8TwQc0kbsPf2YcQaJsY_IvkC7S1u4sPyObpq6iF6Ed8UYHAo6nU5KjZXyVtoUyeIS11mf_6OtDO6LyMNHV2FtEUUDdPCg"})}}},this.demoData||{},{arrayMerge:(t,i)=>i}):l(this),m={emailLabel:this.emailLabel,registerLabel:this.registerLabel,firstNameLabel:this.firstNameLabel,lastNameLabel:this.lastNameLabel,includeName:this.includeName,hideBorder:this.hideBorder,invalidEmailErrorMessage:this.invalidEmailErrorMessage,requiredFieldErrorMessage:this.requiredFieldErrorMessage,paddingTop:this.paddingTop,paddingBottom:this.paddingBottom,paddingLeft:this.paddingLeft,paddingRight:this.paddingRight,backgroundColor:this.backgroundColor,topSlot:i("slot",{name:"top"}),bottomSlot:i("slot",{name:"bottom"})};return i(o,{states:t,callbacks:s,content:m})}};export{m as sqm_instant_access_registration}
1
+ import{r as t,h as i}from"./p-64c3217a.js";import{m as s}from"./p-901f5b80.js";import{i as e,e as a}from"./p-cdddccfe.js";import"./p-e7e129ac.js";import{c as r}from"./p-c1086930.js";import"./p-02be1a88.js";import"./p-cef45012.js";import{E as o}from"./p-2bf86715.js";import"./p-5da880d1.js";import{u as l}from"./p-8788baee.js";const m=class{constructor(i){t(this,i),this.ignored=!0,this.emailLabel="Email",this.firstNameLabel="First Name",this.lastNameLabel="Last Name",this.registerLabel="Start Referring",this.includeName=!1,this.hideBorder=!1,this.requiredFieldErrorMessage="Cannot be empty",this.invalidEmailErrorMessage="Please enter a valid email address",this.networkErrorMessage="There was a problem signing you in. Please wait a moment and try again. If this problem continues, contact Support for help resolving this issue.",this.paddingTop="large",this.paddingRight="large",this.paddingBottom="large",this.paddingLeft="large",this.backgroundColor="#ffffff",this.includeCookies=!1,s(this)}disconnectedCallback(){}render(){const{states:t,callbacks:s}=e()?r({states:{loading:!1,error:""},callbacks:{submit:async()=>{a({id:"referrer@example.com",accountId:"referrer@example.com",jwt:"eyJraWQiOiJlNjI2NzQxNy1jMzZlLTRlM2EtYjM5NS1lYTFmY2YyNmU3YzIiLCJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOiJjbVZtWlhKeVpYSkFaWGhoYlhCc1pTNWpiMjA9OmNtVm1aWEp5WlhKQVpYaGhiWEJzWlM1amIyMD1AdGVzdF9heGJndGF0dzF0Y2NwOnVzZXJzIiwicGFzc3dvcmRsZXNzIjp0cnVlLCJpc3MiOiJodHRwczovL3N0YWdpbmcucmVmZXJyYWxzYWFzcXVhdGNoLmNvbS8iLCJleHAiOjE2ODA4ODU5MTksImlhdCI6MTY4MDc5OTUxOX0.kjmTVVf_BTb-uMNKnadLyNLxMFwpkefsY02O3iAfBVIJJZZfeZMwunPlKsS3Vbp28aYRClBjH5Wj4pYxDn23D0CdZx8KNCqiJ8yF6149O9SPMkRseoJkliqS6LyvMOEDjGDkuLfcC8_hq1AHBXFt5BdCtWOk1gwf_5R9A0w5gXEIvprBzbNDLbuo88bVAlrmFNvfttXXryrpUeruMal7cBKuy02YblBrB4kKoyJiprU5GLEjciBA4A56u8TwQc0kbsPf2YcQaJsY_IvkC7S1u4sPyObpq6iF6Ed8UYHAo6nU5KjZXyVtoUyeIS11mf_6OtDO6LyMNHV2FtEUUDdPCg"})}}},this.demoData||{},{arrayMerge:(t,i)=>i}):l(this),m={emailLabel:this.emailLabel,registerLabel:this.registerLabel,firstNameLabel:this.firstNameLabel,lastNameLabel:this.lastNameLabel,includeName:this.includeName,hideBorder:this.hideBorder,invalidEmailErrorMessage:this.invalidEmailErrorMessage,requiredFieldErrorMessage:this.requiredFieldErrorMessage,paddingTop:this.paddingTop,paddingBottom:this.paddingBottom,paddingLeft:this.paddingLeft,paddingRight:this.paddingRight,backgroundColor:this.backgroundColor,topSlot:i("slot",{name:"top"}),bottomSlot:i("slot",{name:"bottom"})};return i(o,{states:t,callbacks:s,content:m})}};export{m as sqm_instant_access_registration}
@@ -1 +1 @@
1
- import{h as s}from"./p-64c3217a.js";import{A as e,a as r,b as t}from"./p-02be1a88.js";import{c as a}from"./p-cef45012.js";import{T as o}from"./p-1e1f2fc5.js";const p=a({Wrapper:e,Column:r,ButtonsContainer:t,Banner:{"&::part(erroralert-base)":{margin:"15px 0px"}},CodeError:{"&::part(erroralert-base)":{"margin-bottom":"15px"}},CodeSuccess:{"&::part(successalert-base)":{"margin-bottom":"15px"}},ContinueButton:{width:"100%"}}),l=p.toString();function i(e){const{states:r,callbacks:t}=e;return r.reset?s("div",{class:`${p.classes.Wrapper} ${p.classes.Column}`},s("style",{type:"text/css"},l),s(o,{type:"h3"},r.content.resetPasswordHeader),s("sqm-form-message",{class:p.classes.CodeSuccess,exportparts:"success-icon"},s("div",{part:"successalert-text"},"Your password has been reset and you are being redirected. If you are not redirected, please click Continue.")),s("div",null,s("sl-button",{class:p.classes.ContinueButton,onClick:t.gotoNextPage,loading:r.loading,exportparts:"base: primarybutton-base",type:"primary"},r.content.continueButtonText))):r.oobCodeValidating?s("div",null):r.oobCodeValid?s("div",{class:p.classes.Wrapper},s("style",{type:"text/css"},"\n:host {\n display: block;\n}\n:host([hidden]): {\n display: none;\n}\n",l),s(o,{type:"h2"},r.reset?r.content.passwordResetHeader:r.content.resetPasswordHeader),s("sl-form",{class:p.classes.Column,"onSl-submit":t.submit},e.states.error&&s("sqm-form-message",{type:"error",class:p.classes.Banner,exportparts:"erroralert-icon"},s("div",{part:"erroralert-text"},e.states.error)),!r.reset&&s("sqm-password-field",{fieldLabel:r.content.passwordFieldLabel,demoData:r.passwordDemoData}),!r.reset&&r.confirmPassword&&s("sl-input",{exportparts:"label: input-label",type:"password",name:"/confirmPassword",label:r.content.confirmPasswordFieldLabel,disabled:r.loading,required:!0}),s("div",{class:p.classes.ButtonsContainer},s("sl-button",{class:p.classes.ContinueButton,submit:!0,loading:r.loading,exportparts:"base: primarybutton-base",type:"primary"},r.reset?r.content.continueButtonText:r.content.resetPasswordButtonText)))):s("div",{class:`${p.classes.Wrapper} ${p.classes.Column}`},s("style",{type:"text/css"},l),s("sqm-form-message",{class:p.classes.CodeError,type:"error",exportparts:"erroralert-icon"},s("div",{part:"erroralert-text"},"The password reset code is invalid or has expired, please try again.")),s("div",null,s("sl-button",{class:p.classes.ContinueButton,onClick:t.failed,exportparts:"base: primarybutton-base",type:"primary"},r.content.continueButtonText)))}export{i as P}
1
+ import{h as s}from"./p-64c3217a.js";import{A as e,a as r,b as t}from"./p-02be1a88.js";import{c as a}from"./p-cef45012.js";import{T as o}from"./p-5d0c9424.js";const p=a({Wrapper:e,Column:r,ButtonsContainer:t,Banner:{"&::part(erroralert-base)":{margin:"15px 0px"}},CodeError:{"&::part(erroralert-base)":{"margin-bottom":"15px"}},CodeSuccess:{"&::part(successalert-base)":{"margin-bottom":"15px"}},ContinueButton:{width:"100%"}}),l=p.toString();function i(e){const{states:r,callbacks:t}=e;return r.reset?s("div",{class:`${p.classes.Wrapper} ${p.classes.Column}`},s("style",{type:"text/css"},l),s(o,{type:"h3"},r.content.resetPasswordHeader),s("sqm-form-message",{class:p.classes.CodeSuccess,exportparts:"success-icon"},s("div",{part:"successalert-text"},"Your password has been reset and you are being redirected. If you are not redirected, please click Continue.")),s("div",null,s("sl-button",{class:p.classes.ContinueButton,onClick:t.gotoNextPage,loading:r.loading,exportparts:"base: primarybutton-base",type:"primary"},r.content.continueButtonText))):r.oobCodeValidating?s("div",null):r.oobCodeValid?s("div",{class:p.classes.Wrapper},s("style",{type:"text/css"},"\n:host {\n display: block;\n}\n:host([hidden]): {\n display: none;\n}\n",l),s(o,{type:"h2"},r.reset?r.content.passwordResetHeader:r.content.resetPasswordHeader),s("sl-form",{class:p.classes.Column,"onSl-submit":t.submit},e.states.error&&s("sqm-form-message",{type:"error",class:p.classes.Banner,exportparts:"erroralert-icon"},s("div",{part:"erroralert-text"},e.states.error)),!r.reset&&s("sqm-password-field",{fieldLabel:r.content.passwordFieldLabel,demoData:r.passwordDemoData}),!r.reset&&r.confirmPassword&&s("sl-input",{exportparts:"label: input-label",type:"password",name:"/confirmPassword",label:r.content.confirmPasswordFieldLabel,disabled:r.loading,required:!0}),s("div",{class:p.classes.ButtonsContainer},s("sl-button",{class:p.classes.ContinueButton,submit:!0,loading:r.loading,exportparts:"base: primarybutton-base",type:"primary"},r.reset?r.content.continueButtonText:r.content.resetPasswordButtonText)))):s("div",{class:`${p.classes.Wrapper} ${p.classes.Column}`},s("style",{type:"text/css"},l),s("sqm-form-message",{class:p.classes.CodeError,type:"error",exportparts:"erroralert-icon"},s("div",{part:"erroralert-text"},"The password reset code is invalid or has expired, please try again.")),s("div",null,s("sl-button",{class:p.classes.ContinueButton,onClick:t.failed,exportparts:"base: primarybutton-base",type:"primary"},r.content.continueButtonText)))}export{i as P}
@@ -1 +1 @@
1
- import{r as t,h as i}from"./p-64c3217a.js";import{m as r}from"./p-901f5b80.js";import{L as s,e as o,i as e}from"./p-cdddccfe.js";import{c}from"./p-c1086930.js";import"./p-cef45012.js";import{g as n}from"./p-9ec99ced.js";import{L as a}from"./p-89296785.js";const m=class{constructor(i){t(this,i),this.userIdentificationText="{email}",this.switchUserText="not you?",r(this)}disconnectedCallback(){}render(){const t=e()?function(t){return c({onSwitchClick:()=>o(void 0),filledInEmailText:"john@example.com",switchUserText:t.switchUserText},t.demoData||{},{arrayMerge:(t,i)=>i})}(this):function(t){var i;const r=s();return{onSwitchClick:()=>{o(void 0)},filledInEmailText:null===(i=t.userIdentificationText)||void 0===i?void 0:i.replace("{email}",(null==r?void 0:r.id)||"Error fetching email"),...t}}(n(this));return i(a,Object.assign({},t,{userIdentificationText:this.userIdentificationText,switchUserText:this.switchUserText}))}};export{m as sqm_logout_current_user}
1
+ import{r as t,h as i}from"./p-64c3217a.js";import{m as r}from"./p-901f5b80.js";import{L as s,e as o,i as e}from"./p-cdddccfe.js";import{c}from"./p-c1086930.js";import"./p-cef45012.js";import{g as n}from"./p-9ec99ced.js";import{L as a}from"./p-9907bc8a.js";const m=class{constructor(i){t(this,i),this.userIdentificationText="{email}",this.switchUserText="not you?",r(this)}disconnectedCallback(){}render(){const t=e()?function(t){return c({onSwitchClick:()=>o(void 0),filledInEmailText:"john@example.com",switchUserText:t.switchUserText},t.demoData||{},{arrayMerge:(t,i)=>i})}(this):function(t){var i;const r=s();return{onSwitchClick:()=>{o(void 0)},filledInEmailText:null===(i=t.userIdentificationText)||void 0===i?void 0:i.replace("{email}",(null==r?void 0:r.id)||"Error fetching email"),...t}}(n(this));return i(a,Object.assign({},t,{userIdentificationText:this.userIdentificationText,switchUserText:this.switchUserText}))}};export{m as sqm_logout_current_user}
@@ -1 +1 @@
1
- import{r as s,h as t}from"./p-64c3217a.js";import{m as r}from"./p-901f5b80.js";import"./p-cef45012.js";import{T as e}from"./p-1e1f2fc5.js";const o=class{constructor(t){s(this,t),this.ignored=!0,this.locale="en",r(this)}disconnectedCallback(){}render(){return t(e,{type:"p"},this.note)}};export{o as sqm_rewards_table_customer_note_cell}
1
+ import{r as s,h as t}from"./p-64c3217a.js";import{m as r}from"./p-901f5b80.js";import"./p-cef45012.js";import{T as e}from"./p-5d0c9424.js";const o=class{constructor(t){s(this,t),this.ignored=!0,this.locale="en",r(this)}disconnectedCallback(){}render(){return t(e,{type:"p"},this.note)}};export{o as sqm_rewards_table_customer_note_cell}
@@ -1 +1 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,i,r){function n(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,a){function s(e){try{l(r.next(e))}catch(e){a(e)}}function o(e){try{l(r["throw"](e))}catch(e){a(e)}}function l(e){e.done?i(e.value):n(e.value).then(s,o)}l((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var i={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},r,n,a,s;return s={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function o(e){return function(t){return l([e,t])}}function l(s){if(r)throw new TypeError("Generator is already executing.");while(i)try{if(r=1,n&&(a=s[0]&2?n["return"]:s[0]?n["throw"]||((a=n["return"])&&a.call(n),0):n.next)&&!(a=a.call(n,s[1])).done)return a;if(n=0,a)s=[s[0]&2,a.value];switch(s[0]){case 0:case 1:a=s;break;case 4:i.label++;return{value:s[1],done:false};case 5:i.label++;n=s[1];s=[0];continue;case 7:s=i.ops.pop();i.trys.pop();continue;default:if(!(a=i.trys,a=a.length>0&&a[a.length-1])&&(s[0]===6||s[0]===2)){i=0;continue}if(s[0]===3&&(!a||s[1]>a[0]&&s[1]<a[3])){i.label=s[1];break}if(s[0]===6&&i.label<a[1]){i.label=a[1];a=s;break}if(a&&i.label<a[2]){i.label=a[2];i.ops.push(s);break}if(a[2])i.ops.pop();i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e];n=0}finally{r=a=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};System.register(["./p-ff17b3a4.system.js","./p-3cc28285.system.js","./p-a3e28532.system.js","./p-b2295bc5.system.js","./p-4bd679a7.system.js","./p-f6934a55.system.js","./p-1a673057.system.js","./p-06f55c04.system.js","./p-1d78d8ba.system.js","./p-ba820423.system.js"],(function(e){"use strict";var t,i,r,n,a,s,o,l;return{setters:[function(e){t=e.r;i=e.h},function(e){r=e.m},function(e){n=e.i;a=e.e},function(){},function(e){s=e.c},function(){},function(){},function(e){o=e.E},function(){},function(e){l=e.u}],execute:function(){var c=e("sqm_instant_access_registration",function(){function e(e){t(this,e);this.ignored=true;this.emailLabel="Email";this.firstNameLabel="First Name";this.lastNameLabel="Last Name";this.registerLabel="Start Referring";this.includeName=false;this.hideBorder=false;this.requiredFieldErrorMessage="Cannot be empty";this.invalidEmailErrorMessage="Please enter a valid email address";this.networkErrorMessage="There was a problem signing you in. Please wait a moment and try again. If this problem continues, contact Support for help resolving this issue.";this.paddingTop="large";this.paddingRight="large";this.paddingBottom="large";this.paddingLeft="large";this.backgroundColor="#ffffff";this.includeCookies=false;r(this)}e.prototype.disconnectedCallback=function(){};e.prototype.render=function(){var e=n()?u(this):l(this),t=e.states,r=e.callbacks;var a={emailLabel:this.emailLabel,registerLabel:this.registerLabel,firstNameLabel:this.firstNameLabel,lastNameLabel:this.lastNameLabel,includeName:this.includeName,hideBorder:this.hideBorder,invalidEmailErrorMessage:this.invalidEmailErrorMessage,requiredFieldErrorMessage:this.requiredFieldErrorMessage,paddingTop:this.paddingTop,paddingBottom:this.paddingBottom,paddingLeft:this.paddingLeft,paddingRight:this.paddingRight,backgroundColor:this.backgroundColor,topSlot:i("slot",{name:"top"}),bottomSlot:i("slot",{name:"bottom"})};return i(o,{states:t,callbacks:r,content:a})};return e}());function u(e){var t=this;var i=function(e){return __awaiter(t,void 0,void 0,(function(){return __generator(this,(function(e){a({id:"referrer@example.com",accountId:"referrer@example.com",jwt:"eyJraWQiOiJlNjI2NzQxNy1jMzZlLTRlM2EtYjM5NS1lYTFmY2YyNmU3YzIiLCJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOiJjbVZtWlhKeVpYSkFaWGhoYlhCc1pTNWpiMjA9OmNtVm1aWEp5WlhKQVpYaGhiWEJzWlM1amIyMD1AdGVzdF9heGJndGF0dzF0Y2NwOnVzZXJzIiwicGFzc3dvcmRsZXNzIjp0cnVlLCJpc3MiOiJodHRwczovL3N0YWdpbmcucmVmZXJyYWxzYWFzcXVhdGNoLmNvbS8iLCJleHAiOjE2ODA4ODU5MTksImlhdCI6MTY4MDc5OTUxOX0.kjmTVVf_BTb-uMNKnadLyNLxMFwpkefsY02O3iAfBVIJJZZfeZMwunPlKsS3Vbp28aYRClBjH5Wj4pYxDn23D0CdZx8KNCqiJ8yF6149O9SPMkRseoJkliqS6LyvMOEDjGDkuLfcC8_hq1AHBXFt5BdCtWOk1gwf_5R9A0w5gXEIvprBzbNDLbuo88bVAlrmFNvfttXXryrpUeruMal7cBKuy02YblBrB4kKoyJiprU5GLEjciBA4A56u8TwQc0kbsPf2YcQaJsY_IvkC7S1u4sPyObpq6iF6Ed8UYHAo6nU5KjZXyVtoUyeIS11mf_6OtDO6LyMNHV2FtEUUDdPCg"});return[2]}))}))};return s({states:{loading:false,error:""},callbacks:{submit:i}},e.demoData||{},{arrayMerge:function(e,t){return t}})}}}}));
1
+ var __awaiter=this&&this.__awaiter||function(e,t,i,r){function n(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,a){function s(e){try{l(r.next(e))}catch(e){a(e)}}function o(e){try{l(r["throw"](e))}catch(e){a(e)}}function l(e){e.done?i(e.value):n(e.value).then(s,o)}l((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var i={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},r,n,a,s;return s={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function o(e){return function(t){return l([e,t])}}function l(s){if(r)throw new TypeError("Generator is already executing.");while(i)try{if(r=1,n&&(a=s[0]&2?n["return"]:s[0]?n["throw"]||((a=n["return"])&&a.call(n),0):n.next)&&!(a=a.call(n,s[1])).done)return a;if(n=0,a)s=[s[0]&2,a.value];switch(s[0]){case 0:case 1:a=s;break;case 4:i.label++;return{value:s[1],done:false};case 5:i.label++;n=s[1];s=[0];continue;case 7:s=i.ops.pop();i.trys.pop();continue;default:if(!(a=i.trys,a=a.length>0&&a[a.length-1])&&(s[0]===6||s[0]===2)){i=0;continue}if(s[0]===3&&(!a||s[1]>a[0]&&s[1]<a[3])){i.label=s[1];break}if(s[0]===6&&i.label<a[1]){i.label=a[1];a=s;break}if(a&&i.label<a[2]){i.label=a[2];i.ops.push(s);break}if(a[2])i.ops.pop();i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e];n=0}finally{r=a=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};System.register(["./p-ff17b3a4.system.js","./p-3cc28285.system.js","./p-a3e28532.system.js","./p-b2295bc5.system.js","./p-4bd679a7.system.js","./p-f6934a55.system.js","./p-1a673057.system.js","./p-cb900cb6.system.js","./p-1d78d8ba.system.js","./p-ba820423.system.js"],(function(e){"use strict";var t,i,r,n,a,s,o,l;return{setters:[function(e){t=e.r;i=e.h},function(e){r=e.m},function(e){n=e.i;a=e.e},function(){},function(e){s=e.c},function(){},function(){},function(e){o=e.E},function(){},function(e){l=e.u}],execute:function(){var c=e("sqm_instant_access_registration",function(){function e(e){t(this,e);this.ignored=true;this.emailLabel="Email";this.firstNameLabel="First Name";this.lastNameLabel="Last Name";this.registerLabel="Start Referring";this.includeName=false;this.hideBorder=false;this.requiredFieldErrorMessage="Cannot be empty";this.invalidEmailErrorMessage="Please enter a valid email address";this.networkErrorMessage="There was a problem signing you in. Please wait a moment and try again. If this problem continues, contact Support for help resolving this issue.";this.paddingTop="large";this.paddingRight="large";this.paddingBottom="large";this.paddingLeft="large";this.backgroundColor="#ffffff";this.includeCookies=false;r(this)}e.prototype.disconnectedCallback=function(){};e.prototype.render=function(){var e=n()?u(this):l(this),t=e.states,r=e.callbacks;var a={emailLabel:this.emailLabel,registerLabel:this.registerLabel,firstNameLabel:this.firstNameLabel,lastNameLabel:this.lastNameLabel,includeName:this.includeName,hideBorder:this.hideBorder,invalidEmailErrorMessage:this.invalidEmailErrorMessage,requiredFieldErrorMessage:this.requiredFieldErrorMessage,paddingTop:this.paddingTop,paddingBottom:this.paddingBottom,paddingLeft:this.paddingLeft,paddingRight:this.paddingRight,backgroundColor:this.backgroundColor,topSlot:i("slot",{name:"top"}),bottomSlot:i("slot",{name:"bottom"})};return i(o,{states:t,callbacks:r,content:a})};return e}());function u(e){var t=this;var i=function(e){return __awaiter(t,void 0,void 0,(function(){return __generator(this,(function(e){a({id:"referrer@example.com",accountId:"referrer@example.com",jwt:"eyJraWQiOiJlNjI2NzQxNy1jMzZlLTRlM2EtYjM5NS1lYTFmY2YyNmU3YzIiLCJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOiJjbVZtWlhKeVpYSkFaWGhoYlhCc1pTNWpiMjA9OmNtVm1aWEp5WlhKQVpYaGhiWEJzWlM1amIyMD1AdGVzdF9heGJndGF0dzF0Y2NwOnVzZXJzIiwicGFzc3dvcmRsZXNzIjp0cnVlLCJpc3MiOiJodHRwczovL3N0YWdpbmcucmVmZXJyYWxzYWFzcXVhdGNoLmNvbS8iLCJleHAiOjE2ODA4ODU5MTksImlhdCI6MTY4MDc5OTUxOX0.kjmTVVf_BTb-uMNKnadLyNLxMFwpkefsY02O3iAfBVIJJZZfeZMwunPlKsS3Vbp28aYRClBjH5Wj4pYxDn23D0CdZx8KNCqiJ8yF6149O9SPMkRseoJkliqS6LyvMOEDjGDkuLfcC8_hq1AHBXFt5BdCtWOk1gwf_5R9A0w5gXEIvprBzbNDLbuo88bVAlrmFNvfttXXryrpUeruMal7cBKuy02YblBrB4kKoyJiprU5GLEjciBA4A56u8TwQc0kbsPf2YcQaJsY_IvkC7S1u4sPyObpq6iF6Ed8UYHAo6nU5KjZXyVtoUyeIS11mf_6OtDO6LyMNHV2FtEUUDdPCg"});return[2]}))}))};return s({states:{loading:false,error:""},callbacks:{submit:i}},e.demoData||{},{arrayMerge:function(e,t){return t}})}}}}));
@@ -1,4 +1,4 @@
1
- import{r as t,h as e,c as s}from"./p-64c3217a.js";import{m as a,f as r,j as n,o,k as i,b as l,i as d}from"./p-901f5b80.js";import{i as c}from"./p-65fffbfb.js";import{i as u,V as h,d as m,L as p,O as v,I as g,b as f,T as b,W as y,a as x,p as w,k,S as C,l as E,f as S,n as I,v as M}from"./p-cdddccfe.js";import{j as _}from"./p-e7e129ac.js";import{c as R}from"./p-c1086930.js";import"./p-02be1a88.js";import{c as q}from"./p-cef45012.js";import{a as A}from"./p-f2ec822a.js";import{u as N}from"./p-99ec46fe.js";import"./p-d576140e.js";import{g as P,a as T,s as L}from"./p-9ec99ced.js";import"./p-1e1f2fc5.js";import{R as D,u as V}from"./p-5da880d1.js";import{A as F}from"./p-121cdc60.js";import{b as $,U as j,B,O as z,K as O,j as U,M as H,D as W,E as G,H as Z,I as K,V as X,L as Y,N as J,d as Q,i as tt,P as et,e as st,f as at,R as rt,W as nt,k as ot,X as it,a as lt,S as dt,C as ct,u as ut,c as ht,T as mt}from"./p-71ea98be.js";import"./p-133f8f27.js";const pt=class{constructor(e){t(this,e),this.flexReverse=!1,this.ignored=!0,a(this)}disconnectedCallback(){}render(){var t;const{props:s,label:a}=u()?$(this):j(this),r=!!(null===(t=h().innerHTML)||void 0===t?void 0:t.trim()),n=e("slot",{name:"label"},r?e("slot",null):a);return e(B,Object.assign({},s,{labelSlot:n}))}},vt=class{constructor(e){t(this,e),a(this)}disconnectedCallback(){}render(){var t,a;const n=null!==(t=function(t){if(t)try{return z(t)}catch{}}(this.brandColor))&&void 0!==t?t:"",o=(null!==(a=this.brandFont)&&void 0!==a?a:"Nunito Sans").trim()||void 0;r((()=>{if(!o)return;const t=document.createElement("link");return t.setAttribute("href",function(...t){return`https://fonts.googleapis.com/css2?${t.map((t=>`family=${encodeURIComponent(t)}`)).join("&")}`}(o)),t.setAttribute("rel","stylesheet"),document.head.appendChild(t),()=>document.head.removeChild(t)}),[o]);const i=null!=o?o:"";return e(s,null,e("style",null,`\n\n :host{\n display: contents;\n }\n /* \n Selects any element placed inside a slot\n - resets css variable inheritence for fonts\n \n */\n ::slotted(*) {\n --sl-font-sans: "${i}", arial;\n --sl-input-font-family: "${i}", arial;\n --sl-tooltip-font-family: "${i}", arial;\n font-family: "${i}", arial;\n\t\t\t\n ${n}\n\n --sl-focus-ring-color-primary: var(--sl-color-primary-100);\n --sl-input-border-color-focus: var(--sl-color-primary-500);\n --sl-color-primary-hue: var(--sl-color-primary-500);\n }`),e("slot",null))}},gt=class{constructor(e){t(this,e),this.ignored=!0,this.width=347,this.gap=24,a(this)}disconnectedCallback(){}render(){return e(O,Object.assign({},P(this)),e("slot",null))}},ft=q({IconStyle:{display:"block",position:"absolute",top:"23px"},DivStyle:{marginLeft:"28px"},Details:{marginLeft:"28px"},Heading:{display:"inline-block"},Children:{display:"none"}}),bt=ft.toString();function yt({missingProps:t,heading:s="There was a problem loading this section",subheading:a="There was a technical problem that prevented this section from loading. Please contact us with the link to this page.",description:r="Error occured while loading <{tagName}>. Values for the following attributes are missing:"},o){if(!t)return!1;const i=h(),[l,d]=n(!1);return e("sl-alert",{type:"danger",open:!0},e("style",{type:"text/css"},bt),e("div",{slot:"icon",class:ft.classes.IconStyle},e("sl-icon",{name:"exclamation-octagon"})),e("div",{class:ft.classes.DivStyle},e("h2",{class:ft.classes.Heading},c.formatMessage({id:"error-heading",defaultMessage:s})),e("p",null,c.formatMessage({id:"error-subheading",defaultMessage:a}))),e("details",{class:ft.classes.Details},e("summary",{onClick:()=>d(!l)},l?"Less":"More"," details"),e("p",null,c.formatMessage({id:"error-description",defaultMessage:r},{tagName:i.tagName.toLowerCase()})),e("ul",null,t.map((t=>e("li",null,e("strong",null,t.attribute)))))),e("div",{class:ft.classes.Children},o))}const xt=class{constructor(e){t(this,e),this.ignored=!0,this.checkboxLabel="By signing up you agree to the {labelLink}",this.checkboxLabelLink="https://example.com",this.checkboxLabelLinkText="Terms and Conditions",this.errorMessage="Must be checked",this.checkboxOptional=!1,a(this)}disconnectedCallback(){}render(){const t=T([{attribute:"checkbox-name",value:this.checkboxName}]);if(!u()&&t)return e(yt,{missingProps:t,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:"});const s={...P(this)},{states:a,callbacks:i}=u()?R({states:{registrationFormState:{},checked:!1},callbacks:{setChecked:()=>{}}},this.demoData||{},{arrayMerge:(t,e)=>e}):function(t){var e;const s=o(D),[a,i]=n(!1);return r((()=>{var e,a;(null===(e=null==s?void 0:s.initialData)||void 0===e?void 0:e[t.checkboxName])&&i(!!(null===(a=null==s?void 0:s.initialData)||void 0===a?void 0:a[t.checkboxName]))}),[null===(e=null==s?void 0:s.initialData)||void 0===e?void 0:e[t.checkboxName]]),{states:{registrationFormState:s,checked:a},callbacks:{setChecked:i}}}(this);return e(U,{states:a,content:s,callbacks:i})}},wt=m.gql`
1
+ import{r as t,h as e,c as s}from"./p-64c3217a.js";import{m as a,f as r,j as n,o,k as i,b as l,i as d}from"./p-901f5b80.js";import{i as c}from"./p-4f09f749.js";import{i as u,V as h,d as m,L as p,O as v,I as g,b as f,T as b,W as y,a as x,p as w,k,S as C,l as E,f as S,n as I,v as M}from"./p-cdddccfe.js";import{j as _}from"./p-e7e129ac.js";import{c as R}from"./p-c1086930.js";import"./p-02be1a88.js";import{c as q}from"./p-cef45012.js";import{a as A}from"./p-f2ec822a.js";import{u as N}from"./p-99ec46fe.js";import"./p-d576140e.js";import{g as P,a as T,s as L}from"./p-9ec99ced.js";import"./p-5d0c9424.js";import{R as D,u as V}from"./p-5da880d1.js";import{A as F}from"./p-121cdc60.js";import{b as $,U as j,B,O as z,K as O,j as U,M as H,D as W,E as G,H as Z,I as K,V as X,L as Y,N as J,d as Q,i as tt,P as et,e as st,f as at,R as rt,W as nt,k as ot,X as it,a as lt,S as dt,C as ct,u as ut,c as ht,T as mt}from"./p-83653fdf.js";import"./p-e704842c.js";const pt=class{constructor(e){t(this,e),this.flexReverse=!1,this.ignored=!0,a(this)}disconnectedCallback(){}render(){var t;const{props:s,label:a}=u()?$(this):j(this),r=!!(null===(t=h().innerHTML)||void 0===t?void 0:t.trim()),n=e("slot",{name:"label"},r?e("slot",null):a);return e(B,Object.assign({},s,{labelSlot:n}))}},vt=class{constructor(e){t(this,e),a(this)}disconnectedCallback(){}render(){var t,a;const n=null!==(t=function(t){if(t)try{return z(t)}catch{}}(this.brandColor))&&void 0!==t?t:"",o=(null!==(a=this.brandFont)&&void 0!==a?a:"Nunito Sans").trim()||void 0;r((()=>{if(!o)return;const t=document.createElement("link");return t.setAttribute("href",function(...t){return`https://fonts.googleapis.com/css2?${t.map((t=>`family=${encodeURIComponent(t)}`)).join("&")}`}(o)),t.setAttribute("rel","stylesheet"),document.head.appendChild(t),()=>document.head.removeChild(t)}),[o]);const i=null!=o?o:"";return e(s,null,e("style",null,`\n\n :host{\n display: contents;\n }\n /* \n Selects any element placed inside a slot\n - resets css variable inheritence for fonts\n \n */\n ::slotted(*) {\n --sl-font-sans: "${i}", arial;\n --sl-input-font-family: "${i}", arial;\n --sl-tooltip-font-family: "${i}", arial;\n font-family: "${i}", arial;\n\t\t\t\n ${n}\n\n --sl-focus-ring-color-primary: var(--sl-color-primary-100);\n --sl-input-border-color-focus: var(--sl-color-primary-500);\n --sl-color-primary-hue: var(--sl-color-primary-500);\n }`),e("slot",null))}},gt=class{constructor(e){t(this,e),this.ignored=!0,this.width=347,this.gap=24,a(this)}disconnectedCallback(){}render(){return e(O,Object.assign({},P(this)),e("slot",null))}},ft=q({IconStyle:{display:"block",position:"absolute",top:"23px"},DivStyle:{marginLeft:"28px"},Details:{marginLeft:"28px"},Heading:{display:"inline-block"},Children:{display:"none"}}),bt=ft.toString();function yt({missingProps:t,heading:s="There was a problem loading this section",subheading:a="There was a technical problem that prevented this section from loading. Please contact us with the link to this page.",description:r="Error occured while loading <{tagName}>. Values for the following attributes are missing:"},o){if(!t)return!1;const i=h(),[l,d]=n(!1);return e("sl-alert",{type:"danger",open:!0},e("style",{type:"text/css"},bt),e("div",{slot:"icon",class:ft.classes.IconStyle},e("sl-icon",{name:"exclamation-octagon"})),e("div",{class:ft.classes.DivStyle},e("h2",{class:ft.classes.Heading},c.formatMessage({id:"error-heading",defaultMessage:s})),e("p",null,c.formatMessage({id:"error-subheading",defaultMessage:a}))),e("details",{class:ft.classes.Details},e("summary",{onClick:()=>d(!l)},l?"Less":"More"," details"),e("p",null,c.formatMessage({id:"error-description",defaultMessage:r},{tagName:i.tagName.toLowerCase()})),e("ul",null,t.map((t=>e("li",null,e("strong",null,t.attribute)))))),e("div",{class:ft.classes.Children},o))}const xt=class{constructor(e){t(this,e),this.ignored=!0,this.checkboxLabel="By signing up you agree to the {labelLink}",this.checkboxLabelLink="https://example.com",this.checkboxLabelLinkText="Terms and Conditions",this.errorMessage="Must be checked",this.checkboxOptional=!1,a(this)}disconnectedCallback(){}render(){const t=T([{attribute:"checkbox-name",value:this.checkboxName}]);if(!u()&&t)return e(yt,{missingProps:t,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:"});const s={...P(this)},{states:a,callbacks:i}=u()?R({states:{registrationFormState:{},checked:!1},callbacks:{setChecked:()=>{}}},this.demoData||{},{arrayMerge:(t,e)=>e}):function(t){var e;const s=o(D),[a,i]=n(!1);return r((()=>{var e,a;(null===(e=null==s?void 0:s.initialData)||void 0===e?void 0:e[t.checkboxName])&&i(!!(null===(a=null==s?void 0:s.initialData)||void 0===a?void 0:a[t.checkboxName]))}),[null===(e=null==s?void 0:s.initialData)||void 0===e?void 0:e[t.checkboxName]]),{states:{registrationFormState:s,checked:a},callbacks:{setChecked:i}}}(this);return e(U,{states:a,content:s,callbacks:i})}},wt=m.gql`
2
2
  query fuelTankRewardsQuery($programId: ID!) {
3
3
  user: viewer {
4
4
  ... on User {
@@ -1 +1 @@
1
- System.register(["./p-ff17b3a4.system.js","./p-3cc28285.system.js","./p-1a673057.system.js","./p-5cda74d1.system.js"],(function(t){"use strict";var n,e,s,o;return{setters:[function(t){n=t.r;e=t.h},function(t){s=t.m},function(){},function(t){o=t.T}],execute:function(){var i=t("sqm_text_span",function(){function t(t){n(this,t);this.ignored=true;s(this)}t.prototype.disconnectedCallback=function(){};t.prototype.componentWillLoad=function(){};t.prototype.render=function(){return e(o,{type:this.type},this.text)};return t}())}}}));
1
+ System.register(["./p-ff17b3a4.system.js","./p-3cc28285.system.js","./p-1a673057.system.js","./p-4f775e84.system.js"],(function(t){"use strict";var n,e,s,o;return{setters:[function(t){n=t.r;e=t.h},function(t){s=t.m},function(){},function(t){o=t.T}],execute:function(){var i=t("sqm_text_span",function(){function t(t){n(this,t);this.ignored=true;s(this)}t.prototype.disconnectedCallback=function(){};t.prototype.componentWillLoad=function(){};t.prototype.render=function(){return e(o,{type:this.type},this.text)};return t}())}}}));
@@ -5,7 +5,7 @@
5
5
  */
6
6
  export declare class PopupContainer {
7
7
  /**
8
- * Show Powered By SaaSquatch link
8
+ * Show Powered with SaaSquatch by Impact.com link
9
9
  *
10
10
  * @uiName Show powered by
11
11
  */
@@ -33,7 +33,7 @@ export declare class PortalFooter {
33
33
  */
34
34
  faqText?: string;
35
35
  /**
36
- * @uiName Hide powered by SaaSquatch
36
+ * @uiName Hide powered with SaaSquatch by Impact.com
37
37
  */
38
38
  hidePoweredBy: boolean;
39
39
  /**
@@ -709,8 +709,8 @@ export namespace Components {
709
709
  * @uiEnum ["topStartedReferrers", "topConvertedReferrers", "topPointEarners"]
710
710
  * @uiEnumNames ["Top Started Referrers", "Top Converted Referrers", "Top Point Earners"]
711
711
  */
712
- "leaderboardType": | "topStartedReferrers"
713
- | "topConvertedReferrers"
712
+ "leaderboardType": | "topStartedReferrers"
713
+ | "topConvertedReferrers"
714
714
  | "topPointEarners";
715
715
  /**
716
716
  * Control the maximum amount of rows displayed on the leaderboard.
@@ -766,8 +766,8 @@ export namespace Components {
766
766
  * @uiEnum ["topStartedReferrers", "topConvertedReferrers", "topPointEarners"]
767
767
  * @uiEnumNames ["Top Started Referrers", "Top Converted Referrers", "Top Point Earners"]
768
768
  */
769
- "leaderboardType": | "topStartedReferrers"
770
- | "topConvertedReferrers"
769
+ "leaderboardType": | "topStartedReferrers"
770
+ | "topConvertedReferrers"
771
771
  | "topPointEarners";
772
772
  /**
773
773
  * Filters leaderboard to show only data from this program. Defaults to the program context where this leaderboard is. If no program ID is set or provided by context, then a global leaderboard is shown.
@@ -925,7 +925,7 @@ export namespace Components {
925
925
  */
926
926
  "popupPadding"?: "none" | "small" | "medium" | "large";
927
927
  /**
928
- * Show Powered By SaaSquatch link
928
+ * Show Powered with SaaSquatch by Impact.com link
929
929
  * @uiName Show powered by
930
930
  */
931
931
  "poweredBy": boolean;
@@ -1016,11 +1016,11 @@ export namespace Components {
1016
1016
  * @uiEnum ["start", "center", "end", "space-between", "space-around", "space-evenly"]
1017
1017
  * @uiEnumNames ["Start", "Center", "End", "Space Between", "Space Around", "Space Evenly"]
1018
1018
  */
1019
- "justifyContent"?: | "start"
1020
- | "center"
1021
- | "end"
1022
- | "space-between"
1023
- | "space-around"
1019
+ "justifyContent"?: | "start"
1020
+ | "center"
1021
+ | "end"
1022
+ | "space-between"
1023
+ | "space-around"
1024
1024
  | "space-evenly";
1025
1025
  /**
1026
1026
  * @uiName Maximum width
@@ -1084,7 +1084,7 @@ export namespace Components {
1084
1084
  */
1085
1085
  "faqText"?: string;
1086
1086
  /**
1087
- * @uiName Hide powered by SaaSquatch
1087
+ * @uiName Hide powered with SaaSquatch by Impact.com
1088
1088
  */
1089
1089
  "hidePoweredBy": boolean;
1090
1090
  /**
@@ -1689,8 +1689,8 @@ export namespace Components {
1689
1689
  * @undocumented
1690
1690
  * @uiType object
1691
1691
  */
1692
- "demoData"?: DemoData<GenericTableViewProps> & {
1693
- mockData?: { data: Referral[] };
1692
+ "demoData"?: DemoData<GenericTableViewProps> & {
1693
+ mockData?: { data: Referral[] };
1694
1694
  };
1695
1695
  /**
1696
1696
  * Provide the column numbers (0 indexed) that should not be displayed in mobile views. Ex. 0,2,3
@@ -2091,8 +2091,8 @@ export namespace Components {
2091
2091
  * @undocumented
2092
2092
  * @uiType object
2093
2093
  */
2094
- "demoData"?: DemoData<GenericTableViewProps> & {
2095
- mockData?: { data: Referral[] };
2094
+ "demoData"?: DemoData<GenericTableViewProps> & {
2095
+ mockData?: { data: Referral[] };
2096
2096
  };
2097
2097
  /**
2098
2098
  * Provide the column numbers (0 indexed) that should not be displayed in mobile views. Ex. 0,2,3
@@ -2293,12 +2293,12 @@ export namespace Components {
2293
2293
  * @uiEnum ["default", "primary", "success", "neutral", "warning", "danger", "text"]
2294
2294
  * @uiEnumNames ["Default", "Primary", "Success", "Neutral", "Warning", "Danger", "Text"]
2295
2295
  */
2296
- "buttonType": | "default"
2297
- | "primary"
2298
- | "success"
2299
- | "neutral"
2300
- | "warning"
2301
- | "danger"
2296
+ "buttonType": | "default"
2297
+ | "primary"
2298
+ | "success"
2299
+ | "neutral"
2300
+ | "warning"
2301
+ | "danger"
2302
2302
  | "text";
2303
2303
  /**
2304
2304
  * Draws a circle button.
@@ -2408,17 +2408,17 @@ export namespace Components {
2408
2408
  * @uiEnum ["facebook", "twitter", "email", "direct", "linkedin", "sms", "fbmessenger", "whatsapp", "linemessenger", "pinterest" ]
2409
2409
  * @uiEnumNames ["Facebook", "Twitter", "Email", "Web Share Sheet", "Linkedin", "SMS", "Facebook Messenger", "Whatsapp", "Line Messenger", "Pinterest"]
2410
2410
  */
2411
- "medium": | "facebook"
2412
- | "twitter"
2413
- | "email"
2414
- | "direct"
2415
- | "linkedin"
2416
- | "sms"
2417
- | "fbmessenger"
2418
- | "whatsapp"
2419
- | "linemessenger"
2420
- | "pinterest"
2421
- | "reminder"
2411
+ "medium": | "facebook"
2412
+ | "twitter"
2413
+ | "email"
2414
+ | "direct"
2415
+ | "linkedin"
2416
+ | "sms"
2417
+ | "fbmessenger"
2418
+ | "whatsapp"
2419
+ | "linemessenger"
2420
+ | "pinterest"
2421
+ | "reminder"
2422
2422
  | "unknown";
2423
2423
  /**
2424
2424
  * @uiName Display pill
@@ -2459,12 +2459,12 @@ export namespace Components {
2459
2459
  * @uiEnum ["primary" , "success", "info", "warning", "danger", "default", "text" ]
2460
2460
  * @uiEnumNames ["Primary", "Success", "Info", "Warning", "Danger", "Default", "Text"]
2461
2461
  */
2462
- "type"?: | "primary"
2463
- | "success"
2464
- | "info"
2465
- | "warning"
2466
- | "danger"
2467
- | "default"
2462
+ "type"?: | "primary"
2463
+ | "success"
2464
+ | "info"
2465
+ | "warning"
2466
+ | "danger"
2467
+ | "default"
2468
2468
  | "text";
2469
2469
  }
2470
2470
  interface SqmShareCode {
@@ -4167,8 +4167,8 @@ declare namespace LocalJSX {
4167
4167
  * @uiEnum ["topStartedReferrers", "topConvertedReferrers", "topPointEarners"]
4168
4168
  * @uiEnumNames ["Top Started Referrers", "Top Converted Referrers", "Top Point Earners"]
4169
4169
  */
4170
- "leaderboardType"?: | "topStartedReferrers"
4171
- | "topConvertedReferrers"
4170
+ "leaderboardType"?: | "topStartedReferrers"
4171
+ | "topConvertedReferrers"
4172
4172
  | "topPointEarners";
4173
4173
  /**
4174
4174
  * Control the maximum amount of rows displayed on the leaderboard.
@@ -4224,8 +4224,8 @@ declare namespace LocalJSX {
4224
4224
  * @uiEnum ["topStartedReferrers", "topConvertedReferrers", "topPointEarners"]
4225
4225
  * @uiEnumNames ["Top Started Referrers", "Top Converted Referrers", "Top Point Earners"]
4226
4226
  */
4227
- "leaderboardType"?: | "topStartedReferrers"
4228
- | "topConvertedReferrers"
4227
+ "leaderboardType"?: | "topStartedReferrers"
4228
+ | "topConvertedReferrers"
4229
4229
  | "topPointEarners";
4230
4230
  /**
4231
4231
  * Filters leaderboard to show only data from this program. Defaults to the program context where this leaderboard is. If no program ID is set or provided by context, then a global leaderboard is shown.
@@ -4383,7 +4383,7 @@ declare namespace LocalJSX {
4383
4383
  */
4384
4384
  "popupPadding"?: "none" | "small" | "medium" | "large";
4385
4385
  /**
4386
- * Show Powered By SaaSquatch link
4386
+ * Show Powered with SaaSquatch by Impact.com link
4387
4387
  * @uiName Show powered by
4388
4388
  */
4389
4389
  "poweredBy"?: boolean;
@@ -4474,11 +4474,11 @@ declare namespace LocalJSX {
4474
4474
  * @uiEnum ["start", "center", "end", "space-between", "space-around", "space-evenly"]
4475
4475
  * @uiEnumNames ["Start", "Center", "End", "Space Between", "Space Around", "Space Evenly"]
4476
4476
  */
4477
- "justifyContent"?: | "start"
4478
- | "center"
4479
- | "end"
4480
- | "space-between"
4481
- | "space-around"
4477
+ "justifyContent"?: | "start"
4478
+ | "center"
4479
+ | "end"
4480
+ | "space-between"
4481
+ | "space-around"
4482
4482
  | "space-evenly";
4483
4483
  /**
4484
4484
  * @uiName Maximum width
@@ -4542,7 +4542,7 @@ declare namespace LocalJSX {
4542
4542
  */
4543
4543
  "faqText"?: string;
4544
4544
  /**
4545
- * @uiName Hide powered by SaaSquatch
4545
+ * @uiName Hide powered with SaaSquatch by Impact.com
4546
4546
  */
4547
4547
  "hidePoweredBy"?: boolean;
4548
4548
  /**
@@ -5147,8 +5147,8 @@ declare namespace LocalJSX {
5147
5147
  * @undocumented
5148
5148
  * @uiType object
5149
5149
  */
5150
- "demoData"?: DemoData<GenericTableViewProps> & {
5151
- mockData?: { data: Referral[] };
5150
+ "demoData"?: DemoData<GenericTableViewProps> & {
5151
+ mockData?: { data: Referral[] };
5152
5152
  };
5153
5153
  /**
5154
5154
  * Provide the column numbers (0 indexed) that should not be displayed in mobile views. Ex. 0,2,3
@@ -5535,8 +5535,8 @@ declare namespace LocalJSX {
5535
5535
  * @undocumented
5536
5536
  * @uiType object
5537
5537
  */
5538
- "demoData"?: DemoData<GenericTableViewProps> & {
5539
- mockData?: { data: Referral[] };
5538
+ "demoData"?: DemoData<GenericTableViewProps> & {
5539
+ mockData?: { data: Referral[] };
5540
5540
  };
5541
5541
  /**
5542
5542
  * Provide the column numbers (0 indexed) that should not be displayed in mobile views. Ex. 0,2,3
@@ -5727,12 +5727,12 @@ declare namespace LocalJSX {
5727
5727
  * @uiEnum ["default", "primary", "success", "neutral", "warning", "danger", "text"]
5728
5728
  * @uiEnumNames ["Default", "Primary", "Success", "Neutral", "Warning", "Danger", "Text"]
5729
5729
  */
5730
- "buttonType"?: | "default"
5731
- | "primary"
5732
- | "success"
5733
- | "neutral"
5734
- | "warning"
5735
- | "danger"
5730
+ "buttonType"?: | "default"
5731
+ | "primary"
5732
+ | "success"
5733
+ | "neutral"
5734
+ | "warning"
5735
+ | "danger"
5736
5736
  | "text";
5737
5737
  /**
5738
5738
  * Draws a circle button.
@@ -5842,17 +5842,17 @@ declare namespace LocalJSX {
5842
5842
  * @uiEnum ["facebook", "twitter", "email", "direct", "linkedin", "sms", "fbmessenger", "whatsapp", "linemessenger", "pinterest" ]
5843
5843
  * @uiEnumNames ["Facebook", "Twitter", "Email", "Web Share Sheet", "Linkedin", "SMS", "Facebook Messenger", "Whatsapp", "Line Messenger", "Pinterest"]
5844
5844
  */
5845
- "medium"?: | "facebook"
5846
- | "twitter"
5847
- | "email"
5848
- | "direct"
5849
- | "linkedin"
5850
- | "sms"
5851
- | "fbmessenger"
5852
- | "whatsapp"
5853
- | "linemessenger"
5854
- | "pinterest"
5855
- | "reminder"
5845
+ "medium"?: | "facebook"
5846
+ | "twitter"
5847
+ | "email"
5848
+ | "direct"
5849
+ | "linkedin"
5850
+ | "sms"
5851
+ | "fbmessenger"
5852
+ | "whatsapp"
5853
+ | "linemessenger"
5854
+ | "pinterest"
5855
+ | "reminder"
5856
5856
  | "unknown";
5857
5857
  /**
5858
5858
  * @uiName Display pill
@@ -5893,12 +5893,12 @@ declare namespace LocalJSX {
5893
5893
  * @uiEnum ["primary" , "success", "info", "warning", "danger", "default", "text" ]
5894
5894
  * @uiEnumNames ["Primary", "Success", "Info", "Warning", "Danger", "Default", "Text"]
5895
5895
  */
5896
- "type"?: | "primary"
5897
- | "success"
5898
- | "info"
5899
- | "warning"
5900
- | "danger"
5901
- | "default"
5896
+ "type"?: | "primary"
5897
+ | "success"
5898
+ | "info"
5899
+ | "warning"
5900
+ | "danger"
5901
+ | "default"
5902
5902
  | "text";
5903
5903
  }
5904
5904
  interface SqmShareCode {