@saasquatch/mint-components 1.5.0-49 → 1.5.0-52

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 (421) hide show
  1. package/dist/cjs/{AutoColor-a489ed67.js → AutoColor-db901e98.js} +101 -105
  2. package/dist/cjs/{GenericTableView-f9bd3b19.js → GenericTableView-34662639.js} +5 -6
  3. package/dist/cjs/{JSS-24a85193.js → JSS-c65a40f1.js} +39 -39
  4. package/dist/cjs/{global-32bf222f.js → global-08276663.js} +589 -589
  5. package/dist/cjs/{index-d8fa5d8e.js → index-b0129cd6.js} +104 -181
  6. package/dist/cjs/{index.module-0f10a4c4.js → index.module-54724339.js} +6392 -6392
  7. package/dist/cjs/loader.cjs.js +7 -7
  8. package/dist/cjs/{luxon-751f2e1c.js → luxon-59ca7d19.js} +2 -2
  9. package/dist/cjs/mint-components.cjs.js +9 -9
  10. package/dist/cjs/{sqm-asset-card-view-0764beab.js → sqm-asset-card-view-d9ac6a95.js} +2 -2
  11. package/dist/cjs/sqm-asset-card.cjs.entry.js +9 -9
  12. package/dist/cjs/{sqm-big-stat-view-37e341c1.js → sqm-big-stat-view-e5dc0877.js} +2 -2
  13. package/dist/cjs/sqm-big-stat.cjs.entry.js +9 -9
  14. package/dist/cjs/{sqm-brand_26.cjs.entry.js → sqm-brand_27.cjs.entry.js} +328 -251
  15. package/dist/cjs/sqm-form-message.cjs.entry.js +3 -3
  16. package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +10 -10
  17. package/dist/cjs/{sqm-hero-view-6706134d.js → sqm-hero-view-a13795c0.js} +4 -4
  18. package/dist/cjs/sqm-hero.cjs.entry.js +7 -7
  19. package/dist/cjs/{sqm-leaderboard-rank-view-5e2bcad9.js → sqm-leaderboard-rank-view-35015d30.js} +1 -1
  20. package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +14 -15
  21. package/dist/cjs/sqm-leaderboard.cjs.entry.js +9 -9
  22. package/dist/cjs/{sqm-name-fields-view-c684114f.js → sqm-name-fields-view-c95e4768.js} +10 -12
  23. package/dist/cjs/sqm-name-fields.cjs.entry.js +9 -9
  24. package/dist/cjs/{sqm-navigation-sidebar-item-view-7f69e118.js → sqm-navigation-sidebar-item-view-da648fbc.js} +4 -4
  25. package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +11 -11
  26. package/dist/cjs/{sqm-navigation-sidebar-view-b53fad32.js → sqm-navigation-sidebar-view-36632c96.js} +2 -2
  27. package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +5 -5
  28. package/dist/cjs/sqm-password-field.cjs.entry.js +26 -27
  29. package/dist/cjs/sqm-popup-container.cjs.entry.js +9 -9
  30. package/dist/cjs/{sqm-portal-container-view-a78ab7ca.js → sqm-portal-container-view-185b4bd0.js} +2 -2
  31. package/dist/cjs/{sqm-portal-email-verification-view-2a783b13.js → sqm-portal-email-verification-view-991a6739.js} +4 -4
  32. package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +13 -13
  33. package/dist/cjs/{sqm-portal-footer-view-ff16e344.js → sqm-portal-footer-view-266e5a7d.js} +3 -3
  34. package/dist/cjs/sqm-portal-footer.cjs.entry.js +9 -9
  35. package/dist/cjs/{sqm-portal-forgot-password-view-036e5d76.js → sqm-portal-forgot-password-view-10c0b54f.js} +3 -3
  36. package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +13 -13
  37. package/dist/cjs/sqm-portal-logout.cjs.entry.js +8 -8
  38. package/dist/cjs/{sqm-portal-profile-view-0c31ff46.js → sqm-portal-profile-view-fda5946f.js} +10 -13
  39. package/dist/cjs/sqm-portal-profile.cjs.entry.js +16 -16
  40. package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +11 -11
  41. package/dist/cjs/{sqm-portal-reset-password-view-c2ca03ef.js → sqm-portal-reset-password-view-1fdc957e.js} +3 -3
  42. package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +15 -15
  43. package/dist/cjs/{sqm-portal-section-view-073d9dda.js → sqm-portal-section-view-3b6c990e.js} +2 -2
  44. package/dist/cjs/{sqm-portal-verify-email-view-1fa62a17.js → sqm-portal-verify-email-view-4c78e231.js} +3 -3
  45. package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +14 -14
  46. package/dist/cjs/sqm-referral-table_11.cjs.entry.js +31 -31
  47. package/dist/cjs/sqm-refresh-button.cjs.entry.js +7 -7
  48. package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +26 -27
  49. package/dist/cjs/sqm-route.cjs.entry.js +2 -2
  50. package/dist/cjs/{sqm-stat-container-view-fd6e8f8d.js → sqm-stat-container-view-5b2db929.js} +2 -18
  51. package/dist/cjs/sqm-stat-container.cjs.entry.js +6 -6
  52. package/dist/cjs/sqm-stencilbook.cjs.entry.js +642 -599
  53. package/dist/cjs/sqm-table-cell_3.cjs.entry.js +5 -5
  54. package/dist/cjs/{sqm-text-span-view-dd99633a.js → sqm-text-span-view-f101dedf.js} +2 -2
  55. package/dist/cjs/sqm-text-span.cjs.entry.js +5 -5
  56. package/dist/cjs/sqm-titled-section.cjs.entry.js +6 -6
  57. package/dist/{esm/stencil-hooks.module-1bcbec4f.js → cjs/stencil-hooks.module-87a1f4f7.js} +58 -40
  58. package/dist/cjs/{use-callback-867e51f6.js → use-callback-e754042f.js} +1 -1
  59. package/dist/cjs/{useChildElements-6f8aa7de.js → useChildElements-4bc9b219.js} +3 -3
  60. package/dist/cjs/{useDemoBigStat-1fa1ca6a.js → useDemoBigStat-42fa7a69.js} +5 -5
  61. package/dist/cjs/{useLeaderboard-b712d583.js → useLeaderboard-6110cd94.js} +5 -5
  62. package/dist/collection/collection-manifest.json +4 -3
  63. package/dist/collection/components/sqm-edit-profile/useEditProfile.js +3 -4
  64. package/dist/collection/components/sqm-image/Image.stories.js +25 -0
  65. package/dist/collection/components/sqm-image/sqm-image-view.js +32 -0
  66. package/dist/collection/components/sqm-image/sqm-image.js +137 -0
  67. package/dist/collection/components/sqm-leaderboard/sqm-leaderboard.js +1 -1
  68. package/dist/collection/components/sqm-leaderboard-rank/useLeaderboardRank.js +3 -4
  69. package/dist/collection/components/sqm-media/HeroImage.stories.js +37 -0
  70. package/dist/collection/components/sqm-media/{sqm-media-view.js → sqm-hero-image-view.js} +26 -18
  71. package/dist/collection/components/sqm-media/{sqm-media.js → sqm-hero-image.js} +77 -38
  72. package/dist/collection/components/sqm-name-fields/sqm-name-fields-view.js +8 -10
  73. package/dist/collection/components/sqm-password-field/sqm-password-field-view.js +4 -5
  74. package/dist/collection/components/sqm-portal-profile/sqm-portal-profile-view.js +5 -8
  75. package/dist/collection/components/sqm-portal-register/sqm-portal-register-view.js +10 -12
  76. package/dist/collection/components/sqm-referral-card/ReferralCard.stories.js +1 -1
  77. package/dist/collection/components/sqm-referral-card/sqm-timeline-entry.js +47 -16
  78. package/dist/collection/components/sqm-referral-card/sqm-timeline.js +21 -16
  79. package/dist/collection/components/sqm-referral-table/UseReferralTable.stories.js +0 -2
  80. package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-date-column.js +2 -2
  81. package/dist/collection/components/sqm-refresh-button/sqm-refresh-button.js +1 -3
  82. package/dist/collection/components/sqm-reward-exchange-list/UseRewardExchangeList.stories.js +0 -3
  83. package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list-view.js +1 -2
  84. package/dist/collection/components/sqm-rewards-table/UseRewardsTable.stories.js +0 -2
  85. package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-source-cell.js +0 -1
  86. package/dist/collection/components/sqm-rewards-table/sqm-rewards-table-view.js +3 -4
  87. package/dist/collection/components/sqm-share-button/useShareButton.js +1 -2
  88. package/dist/collection/components/sqm-stat-container/sqm-stat-container-view.js +0 -16
  89. package/dist/collection/components/sqm-stencilbook/AutoColor.js +1 -1
  90. package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +4 -2
  91. package/dist/collection/components/sqm-task-card/TaskCard.stories.js +2 -2
  92. package/dist/collection/tables/GenericTableView.js +3 -4
  93. package/dist/esm/{AutoColor-9281c94b.js → AutoColor-5d891803.js} +101 -105
  94. package/dist/esm/{GenericTableView-e4257466.js → GenericTableView-5de898c3.js} +5 -6
  95. package/dist/esm/{JSS-df9ea8a0.js → JSS-96eeab98.js} +39 -39
  96. package/dist/esm/{global-cc738e38.js → global-6bd9287e.js} +589 -589
  97. package/dist/esm/{index-2c5a6587.js → index-17b4da69.js} +104 -181
  98. package/dist/esm/{index.module-983975d9.js → index.module-ec3dcc82.js} +6374 -6374
  99. package/dist/esm/loader.js +7 -7
  100. package/dist/esm/{luxon-afa282c2.js → luxon-5fa22651.js} +2 -2
  101. package/dist/esm/mint-components.js +9 -9
  102. package/dist/esm/{sqm-asset-card-view-809b35ce.js → sqm-asset-card-view-f9ca5345.js} +2 -2
  103. package/dist/esm/sqm-asset-card.entry.js +9 -9
  104. package/dist/esm/{sqm-big-stat-view-3adf4ef2.js → sqm-big-stat-view-309f7c1f.js} +2 -2
  105. package/dist/esm/sqm-big-stat.entry.js +9 -9
  106. package/dist/esm/{sqm-brand_26.entry.js → sqm-brand_27.entry.js} +327 -251
  107. package/dist/esm/sqm-form-message.entry.js +3 -3
  108. package/dist/esm/sqm-graphql-client-provider.entry.js +10 -10
  109. package/dist/esm/{sqm-hero-view-b30e42f0.js → sqm-hero-view-190bc812.js} +4 -4
  110. package/dist/esm/sqm-hero.entry.js +7 -7
  111. package/dist/esm/{sqm-leaderboard-rank-view-91a35c42.js → sqm-leaderboard-rank-view-da91f5f3.js} +1 -1
  112. package/dist/esm/sqm-leaderboard-rank.entry.js +14 -15
  113. package/dist/esm/sqm-leaderboard.entry.js +9 -9
  114. package/dist/esm/{sqm-name-fields-view-77895fa8.js → sqm-name-fields-view-69b1583f.js} +10 -12
  115. package/dist/esm/sqm-name-fields.entry.js +9 -9
  116. package/dist/esm/{sqm-navigation-sidebar-item-view-3c21b3ee.js → sqm-navigation-sidebar-item-view-a6f7f96c.js} +4 -4
  117. package/dist/esm/sqm-navigation-sidebar-item.entry.js +11 -11
  118. package/dist/esm/{sqm-navigation-sidebar-view-1c50483e.js → sqm-navigation-sidebar-view-816558e3.js} +2 -2
  119. package/dist/esm/sqm-navigation-sidebar.entry.js +5 -5
  120. package/dist/esm/sqm-password-field.entry.js +26 -27
  121. package/dist/esm/sqm-popup-container.entry.js +9 -9
  122. package/dist/esm/{sqm-portal-container-view-72c8b457.js → sqm-portal-container-view-cf79ed90.js} +2 -2
  123. package/dist/esm/{sqm-portal-email-verification-view-7685db9c.js → sqm-portal-email-verification-view-96c1f91b.js} +4 -4
  124. package/dist/esm/sqm-portal-email-verification.entry.js +13 -13
  125. package/dist/esm/{sqm-portal-footer-view-b344a6ad.js → sqm-portal-footer-view-3a7dfbfc.js} +3 -3
  126. package/dist/esm/sqm-portal-footer.entry.js +9 -9
  127. package/dist/esm/{sqm-portal-forgot-password-view-f7f24742.js → sqm-portal-forgot-password-view-fa088f83.js} +3 -3
  128. package/dist/esm/sqm-portal-forgot-password.entry.js +13 -13
  129. package/dist/esm/sqm-portal-logout.entry.js +8 -8
  130. package/dist/esm/{sqm-portal-profile-view-3da23184.js → sqm-portal-profile-view-36488558.js} +10 -13
  131. package/dist/esm/sqm-portal-profile.entry.js +16 -16
  132. package/dist/esm/sqm-portal-protected-route.entry.js +11 -11
  133. package/dist/esm/{sqm-portal-reset-password-view-f3017d72.js → sqm-portal-reset-password-view-73e14282.js} +3 -3
  134. package/dist/esm/sqm-portal-reset-password.entry.js +15 -15
  135. package/dist/esm/{sqm-portal-section-view-5a3d3829.js → sqm-portal-section-view-d3098f7f.js} +2 -2
  136. package/dist/esm/{sqm-portal-verify-email-view-329fdc3b.js → sqm-portal-verify-email-view-cbf1cfdc.js} +3 -3
  137. package/dist/esm/sqm-portal-verify-email.entry.js +14 -14
  138. package/dist/esm/sqm-referral-table_11.entry.js +31 -31
  139. package/dist/esm/sqm-refresh-button.entry.js +7 -7
  140. package/dist/esm/sqm-rewards-table_9.entry.js +26 -27
  141. package/dist/esm/sqm-route.entry.js +2 -2
  142. package/dist/esm/{sqm-stat-container-view-02b82222.js → sqm-stat-container-view-8a565c5a.js} +2 -18
  143. package/dist/esm/sqm-stat-container.entry.js +6 -6
  144. package/dist/esm/sqm-stencilbook.entry.js +642 -599
  145. package/dist/esm/sqm-table-cell_3.entry.js +5 -5
  146. package/dist/esm/{sqm-text-span-view-be532a94.js → sqm-text-span-view-7e61c95c.js} +2 -2
  147. package/dist/esm/sqm-text-span.entry.js +5 -5
  148. package/dist/esm/sqm-titled-section.entry.js +6 -6
  149. package/dist/{cjs/stencil-hooks.module-23a5a83a.js → esm/stencil-hooks.module-2f159754.js} +40 -58
  150. package/dist/esm/{use-callback-cfeaefe1.js → use-callback-d8ef4b5d.js} +1 -1
  151. package/dist/esm/{useChildElements-9936fb9a.js → useChildElements-c11d6189.js} +3 -3
  152. package/dist/esm/{useDemoBigStat-5450ce4c.js → useDemoBigStat-e2295035.js} +5 -5
  153. package/dist/esm/{useLeaderboard-c0017437.js → useLeaderboard-5d875f53.js} +5 -5
  154. package/dist/esm-es5/AutoColor-5d891803.js +1 -0
  155. package/dist/esm-es5/{GenericTableView-e4257466.js → GenericTableView-5de898c3.js} +1 -1
  156. package/dist/esm-es5/JSS-96eeab98.js +8 -0
  157. package/dist/esm-es5/global-6bd9287e.js +285 -0
  158. package/dist/esm-es5/index-17b4da69.js +1 -0
  159. package/dist/esm-es5/index.module-ec3dcc82.js +1 -0
  160. package/dist/esm-es5/loader.js +1 -1
  161. package/dist/esm-es5/{luxon-afa282c2.js → luxon-5fa22651.js} +1 -1
  162. package/dist/esm-es5/mint-components.js +1 -1
  163. package/dist/esm-es5/{sqm-asset-card-view-809b35ce.js → sqm-asset-card-view-f9ca5345.js} +1 -1
  164. package/dist/esm-es5/sqm-asset-card.entry.js +1 -1
  165. package/dist/esm-es5/{sqm-big-stat-view-3adf4ef2.js → sqm-big-stat-view-309f7c1f.js} +1 -1
  166. package/dist/esm-es5/sqm-big-stat.entry.js +1 -1
  167. package/dist/esm-es5/sqm-brand_27.entry.js +1 -0
  168. package/dist/esm-es5/sqm-form-message.entry.js +1 -1
  169. package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
  170. package/dist/esm-es5/{sqm-hero-view-b30e42f0.js → sqm-hero-view-190bc812.js} +1 -1
  171. package/dist/esm-es5/sqm-hero.entry.js +1 -1
  172. package/dist/esm-es5/sqm-leaderboard-rank-view-da91f5f3.js +1 -0
  173. package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
  174. package/dist/esm-es5/sqm-leaderboard.entry.js +1 -1
  175. package/dist/esm-es5/{sqm-name-fields-view-77895fa8.js → sqm-name-fields-view-69b1583f.js} +1 -1
  176. package/dist/esm-es5/sqm-name-fields.entry.js +1 -1
  177. package/dist/esm-es5/{sqm-navigation-sidebar-item-view-3c21b3ee.js → sqm-navigation-sidebar-item-view-a6f7f96c.js} +1 -1
  178. package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
  179. package/dist/esm-es5/{sqm-navigation-sidebar-view-1c50483e.js → sqm-navigation-sidebar-view-816558e3.js} +1 -1
  180. package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
  181. package/dist/esm-es5/sqm-password-field.entry.js +1 -1
  182. package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
  183. package/dist/esm-es5/{sqm-portal-container-view-72c8b457.js → sqm-portal-container-view-cf79ed90.js} +1 -1
  184. package/dist/esm-es5/{sqm-portal-email-verification-view-7685db9c.js → sqm-portal-email-verification-view-96c1f91b.js} +1 -1
  185. package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
  186. package/dist/esm-es5/{sqm-portal-footer-view-b344a6ad.js → sqm-portal-footer-view-3a7dfbfc.js} +1 -1
  187. package/dist/esm-es5/sqm-portal-footer.entry.js +1 -1
  188. package/dist/esm-es5/{sqm-portal-forgot-password-view-f7f24742.js → sqm-portal-forgot-password-view-fa088f83.js} +1 -1
  189. package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -1
  190. package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
  191. package/dist/esm-es5/{sqm-portal-profile-view-3da23184.js → sqm-portal-profile-view-36488558.js} +1 -1
  192. package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
  193. package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -1
  194. package/dist/esm-es5/{sqm-portal-reset-password-view-f3017d72.js → sqm-portal-reset-password-view-73e14282.js} +1 -1
  195. package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
  196. package/dist/esm-es5/{sqm-portal-section-view-5a3d3829.js → sqm-portal-section-view-d3098f7f.js} +1 -1
  197. package/dist/esm-es5/{sqm-portal-verify-email-view-329fdc3b.js → sqm-portal-verify-email-view-cbf1cfdc.js} +1 -1
  198. package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
  199. package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
  200. package/dist/esm-es5/sqm-refresh-button.entry.js +1 -1
  201. package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
  202. package/dist/esm-es5/sqm-route.entry.js +1 -1
  203. package/dist/esm-es5/{sqm-stat-container-view-02b82222.js → sqm-stat-container-view-8a565c5a.js} +1 -1
  204. package/dist/esm-es5/sqm-stat-container.entry.js +1 -1
  205. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  206. package/dist/esm-es5/sqm-table-cell_3.entry.js +1 -1
  207. package/dist/esm-es5/{sqm-text-span-view-be532a94.js → sqm-text-span-view-7e61c95c.js} +1 -1
  208. package/dist/esm-es5/sqm-text-span.entry.js +1 -1
  209. package/dist/esm-es5/sqm-titled-section.entry.js +1 -1
  210. package/dist/esm-es5/stencil-hooks.module-2f159754.js +53 -0
  211. package/dist/esm-es5/use-callback-d8ef4b5d.js +1 -0
  212. package/dist/esm-es5/useChildElements-c11d6189.js +1 -0
  213. package/dist/esm-es5/useDemoBigStat-e2295035.js +1 -0
  214. package/dist/esm-es5/useLeaderboard-5d875f53.js +1 -0
  215. package/dist/loader/index.d.ts +1 -0
  216. package/dist/mint-components/mint-components.esm.js +1 -1
  217. package/dist/mint-components/mint-components.js +1 -1
  218. package/dist/mint-components/{p-09357f10.system.entry.js → p-01748c80.system.entry.js} +1 -1
  219. package/dist/mint-components/p-023dcaee.js +1 -0
  220. package/dist/mint-components/{p-64d2bfb1.system.entry.js → p-067cf6da.system.entry.js} +1 -1
  221. package/dist/mint-components/p-0c19f830.entry.js +1 -0
  222. package/dist/mint-components/{p-0e97beb3.js → p-0e7e10b6.js} +1 -1
  223. package/dist/mint-components/p-1288be55.entry.js +1 -0
  224. package/dist/mint-components/{p-c4cedfef.system.entry.js → p-136e2028.system.entry.js} +1 -1
  225. package/dist/mint-components/{p-b138c9e4.system.js → p-16effd39.system.js} +1 -1
  226. package/dist/mint-components/{p-740a45df.js → p-179988b5.js} +1 -1
  227. package/dist/mint-components/{p-38045cb3.system.js → p-1959da16.system.js} +1 -1
  228. package/dist/mint-components/{p-408f48ec.system.entry.js → p-197d1027.system.entry.js} +1 -1
  229. package/dist/mint-components/{p-6e2e549a.js → p-1d1e9197.js} +1 -1
  230. package/dist/mint-components/p-204fd08c.js +1 -0
  231. package/dist/mint-components/p-220181cd.system.entry.js +1 -0
  232. package/dist/mint-components/p-232db563.system.entry.js +1 -0
  233. package/dist/mint-components/{p-ef4e8230.system.entry.js → p-2454f30a.system.entry.js} +1 -1
  234. package/dist/mint-components/p-24724b6b.entry.js +13 -0
  235. package/dist/mint-components/p-27e04aaf.entry.js +1 -0
  236. package/dist/mint-components/{p-96103ab1.system.js → p-2c49c7a8.system.js} +1 -1
  237. package/dist/mint-components/p-348461ec.system.entry.js +1 -0
  238. package/dist/mint-components/{p-747dc08d.js → p-373fa002.js} +1 -1
  239. package/dist/mint-components/p-3b184c32.js +1 -0
  240. package/dist/mint-components/{p-1ef9bc8f.system.js → p-3bbb90a9.system.js} +1 -1
  241. package/dist/mint-components/{p-4c5581b9.js → p-3dc2850c.js} +1 -1
  242. package/dist/mint-components/{p-e52d6c0f.js → p-3e556042.js} +1 -1
  243. package/dist/mint-components/{p-65d669e7.system.entry.js → p-4275c957.system.entry.js} +1 -1
  244. package/dist/mint-components/{p-c5d104d8.system.js → p-4279da4b.system.js} +1 -1
  245. package/dist/mint-components/{p-fc103049.system.js → p-443c133e.system.js} +1 -1
  246. package/dist/mint-components/p-48abcb89.entry.js +86 -0
  247. package/dist/mint-components/p-49c9ff69.entry.js +1 -0
  248. package/dist/mint-components/{p-eba0f8b5.js → p-4a1b7d35.js} +1 -1
  249. package/dist/mint-components/p-4c21835b.entry.js +1 -0
  250. package/dist/mint-components/p-4e0b9201.system.js +1 -0
  251. package/dist/mint-components/{p-159a0455.system.entry.js → p-4e8e99bc.system.entry.js} +1 -1
  252. package/dist/mint-components/{p-79b96b7c.js → p-509e6dc9.js} +4 -4
  253. package/dist/mint-components/p-5289072a.js +1 -0
  254. package/dist/mint-components/p-54986541.entry.js +1 -0
  255. package/dist/mint-components/{p-754c90b6.js → p-54e855a1.js} +1 -1
  256. package/dist/mint-components/{p-6d1fd7ef.js → p-591de129.js} +1 -1
  257. package/dist/mint-components/{p-2cf031e5.js → p-5c75acad.js} +1 -1
  258. package/dist/mint-components/{p-feb4ccf1.system.js → p-5df1d9ae.system.js} +1 -1
  259. package/dist/mint-components/{p-b094bf1f.system.entry.js → p-5e2b006a.system.entry.js} +1 -1
  260. package/dist/mint-components/{p-39ba54b0.js → p-61a542ec.js} +1 -1
  261. package/dist/mint-components/p-62625e22.entry.js +1 -0
  262. package/dist/mint-components/p-62e49806.system.entry.js +1 -0
  263. package/dist/mint-components/p-639d3dd3.entry.js +1 -0
  264. package/dist/mint-components/p-63a6475a.system.entry.js +1 -0
  265. package/dist/mint-components/{p-73246c5e.js → p-64c3217a.js} +1 -1
  266. package/dist/mint-components/{p-feea807c.system.js → p-6b43e4cc.system.js} +1 -1
  267. package/dist/mint-components/{p-a6940c14.system.entry.js → p-6e70be1c.system.entry.js} +1 -1
  268. package/dist/mint-components/p-6f88ea09.system.js +1 -0
  269. package/dist/mint-components/p-72a978c8.entry.js +1 -0
  270. package/dist/mint-components/{p-637a01d0.system.js → p-72c87c04.system.js} +1 -1
  271. package/dist/mint-components/{p-071fdcfa.js → p-73d5306f.js} +1 -1
  272. package/dist/mint-components/p-76325d9c.system.entry.js +1 -0
  273. package/dist/mint-components/{p-80eb9f8a.js → p-7a1ebc00.js} +15 -15
  274. package/dist/mint-components/{p-720d9f1a.system.entry.js → p-81681ebd.system.entry.js} +1 -1
  275. package/dist/mint-components/p-871536c7.entry.js +1 -0
  276. package/dist/mint-components/{p-9fa1fb4e.system.js → p-8bcaafaf.system.js} +1 -1
  277. package/dist/mint-components/{p-a6a9d6b7.system.entry.js → p-91ab2b0d.system.entry.js} +1 -1
  278. package/dist/mint-components/{p-efb82cfc.system.js → p-91d119ad.system.js} +1 -1
  279. package/dist/mint-components/p-9580888c.system.js +53 -0
  280. package/dist/mint-components/p-96c971fa.entry.js +1 -0
  281. package/dist/mint-components/p-97f843f9.system.entry.js +1 -0
  282. package/dist/mint-components/p-98393bf0.entry.js +1 -0
  283. package/dist/mint-components/{p-e46a4dc4.js → p-9b48d01e.js} +1 -1
  284. package/dist/mint-components/p-9f215c7f.entry.js +161 -0
  285. package/dist/mint-components/p-9f65904f.entry.js +1 -0
  286. package/dist/mint-components/{p-5cc0dc12.system.js → p-a09e3176.system.js} +1 -1
  287. package/dist/mint-components/p-a674c833.system.entry.js +1 -0
  288. package/dist/mint-components/p-ac5f63b1.entry.js +33 -0
  289. package/dist/mint-components/p-ac65007d.js +1 -0
  290. package/dist/mint-components/p-af5673c4.entry.js +1 -0
  291. package/dist/mint-components/p-b0c32d15.system.js +1 -0
  292. package/dist/mint-components/p-b0d6a380.system.js +1 -0
  293. package/dist/mint-components/p-b0e8c584.system.entry.js +1 -0
  294. package/dist/mint-components/p-b3201e4c.entry.js +1 -0
  295. package/dist/mint-components/p-b3735eaf.entry.js +9 -0
  296. package/dist/mint-components/p-b3af1c6f.js +1 -0
  297. package/dist/mint-components/p-b69365f5.entry.js +1 -0
  298. package/dist/mint-components/p-b77bb179.system.js +285 -0
  299. package/dist/mint-components/p-b7da9a8a.js +42 -0
  300. package/dist/mint-components/{p-e29935f9.system.js → p-b8434fc0.system.js} +1 -1
  301. package/dist/mint-components/p-b9974b87.entry.js +1 -0
  302. package/dist/mint-components/{p-86372145.system.entry.js → p-ba41fde8.system.entry.js} +1 -1
  303. package/dist/mint-components/{p-80493415.system.entry.js → p-bd0475a2.system.entry.js} +1 -1
  304. package/dist/mint-components/{p-0ef64931.system.js → p-bf055b6c.system.js} +1 -1
  305. package/dist/mint-components/{p-1b2b1ba2.js → p-c157f510.js} +3 -3
  306. package/dist/mint-components/{p-16db729c.system.entry.js → p-c1a47137.system.entry.js} +1 -1
  307. package/dist/mint-components/{p-1ca5b819.js → p-c2e84199.js} +1 -1
  308. package/dist/mint-components/p-cb93f2c8.entry.js +1 -0
  309. package/dist/mint-components/p-cd4037d1.entry.js +1 -0
  310. package/dist/mint-components/{p-d8e97fb7.system.js → p-ce0ec1c4.system.js} +1 -1
  311. package/dist/mint-components/p-d10efde1.system.js +1 -0
  312. package/dist/mint-components/p-d1520098.js +1 -0
  313. package/dist/mint-components/p-d312db42.entry.js +1 -0
  314. package/dist/mint-components/{p-d27c4eb5.js → p-d33eb961.js} +1 -1
  315. package/dist/mint-components/{p-5c4dec0c.system.entry.js → p-d6ef4765.system.entry.js} +1 -1
  316. package/dist/mint-components/p-dc17de12.entry.js +119 -0
  317. package/dist/mint-components/p-dcff1a85.entry.js +1 -0
  318. package/dist/mint-components/{p-6d6791b6.system.js → p-df466813.system.js} +1 -1
  319. package/dist/mint-components/{p-b81b4ebf.system.js → p-e00e11b1.system.js} +1 -1
  320. package/dist/mint-components/{p-35a8858e.system.js → p-e0be39d0.system.js} +1 -1
  321. package/dist/mint-components/{p-83e18382.system.entry.js → p-e1166d9b.system.entry.js} +1 -1
  322. package/dist/mint-components/{p-6353bf11.entry.js → p-e7b20665.entry.js} +1 -1
  323. package/dist/mint-components/{p-bb2bc191.system.js → p-ea110693.system.js} +1 -1
  324. package/dist/mint-components/p-ea197664.js +1 -0
  325. package/dist/mint-components/p-eb23e1b9.system.entry.js +1 -0
  326. package/dist/mint-components/{p-8c5bf8ee.system.js → p-eba2e455.system.js} +1 -1
  327. package/dist/mint-components/p-ef99c411.system.entry.js +1 -0
  328. package/dist/mint-components/p-f143117c.entry.js +1 -0
  329. package/dist/mint-components/p-f241ee8a.system.entry.js +1 -0
  330. package/dist/mint-components/p-f372c8d8.entry.js +1 -0
  331. package/dist/mint-components/p-f5cba1f7.system.entry.js +1 -0
  332. package/dist/mint-components/{p-82a02b17.system.js → p-f8d95abc.system.js} +1 -1
  333. package/dist/mint-components/{p-af859f26.js → p-f9008f86.js} +153 -153
  334. package/dist/mint-components/{p-4479f753.system.entry.js → p-fb8a587b.system.entry.js} +1 -1
  335. package/dist/mint-components/p-fe4d9531.system.js +1 -0
  336. package/dist/mint-components/p-ff17b3a4.system.js +1 -0
  337. package/dist/types/components/sqm-image/Image.stories.d.ts +11 -0
  338. package/dist/types/components/sqm-image/sqm-image-view.d.ts +8 -0
  339. package/dist/types/components/sqm-image/sqm-image.d.ts +31 -0
  340. package/dist/types/components/sqm-media/HeroImage.stories.d.ts +15 -0
  341. package/dist/types/components/sqm-media/{sqm-media-view.d.ts → sqm-hero-image-view.d.ts} +6 -3
  342. package/dist/types/components/sqm-media/{sqm-media.d.ts → sqm-hero-image.d.ts} +16 -9
  343. package/dist/types/components/sqm-referral-card/sqm-timeline-entry.d.ts +4 -0
  344. package/dist/types/components.d.ts +215 -138
  345. package/dist/types/stencil-public-runtime.d.ts +182 -190
  346. package/grapesjs/grapesjs.js +1 -1
  347. package/package.json +1 -1
  348. package/dist/collection/components/sqm-media/Media.stories.js +0 -28
  349. package/dist/esm-es5/AutoColor-9281c94b.js +0 -1
  350. package/dist/esm-es5/JSS-df9ea8a0.js +0 -8
  351. package/dist/esm-es5/global-cc738e38.js +0 -285
  352. package/dist/esm-es5/index-2c5a6587.js +0 -1
  353. package/dist/esm-es5/index.module-983975d9.js +0 -1
  354. package/dist/esm-es5/sqm-brand_26.entry.js +0 -1
  355. package/dist/esm-es5/sqm-leaderboard-rank-view-91a35c42.js +0 -1
  356. package/dist/esm-es5/stencil-hooks.module-1bcbec4f.js +0 -53
  357. package/dist/esm-es5/use-callback-cfeaefe1.js +0 -1
  358. package/dist/esm-es5/useChildElements-9936fb9a.js +0 -1
  359. package/dist/esm-es5/useDemoBigStat-5450ce4c.js +0 -1
  360. package/dist/esm-es5/useLeaderboard-c0017437.js +0 -1
  361. package/dist/mint-components/p-00894968.system.js +0 -1
  362. package/dist/mint-components/p-0449904d.system.entry.js +0 -1
  363. package/dist/mint-components/p-050bd4c1.entry.js +0 -1
  364. package/dist/mint-components/p-073c0485.system.js +0 -1
  365. package/dist/mint-components/p-09ae771c.system.entry.js +0 -1
  366. package/dist/mint-components/p-12557b30.js +0 -1
  367. package/dist/mint-components/p-15932a6d.entry.js +0 -1
  368. package/dist/mint-components/p-18e9e739.system.entry.js +0 -1
  369. package/dist/mint-components/p-1c0fac18.system.js +0 -1
  370. package/dist/mint-components/p-2012b3eb.entry.js +0 -1
  371. package/dist/mint-components/p-21bf87e9.system.js +0 -1
  372. package/dist/mint-components/p-2673d322.entry.js +0 -1
  373. package/dist/mint-components/p-32ec3994.entry.js +0 -161
  374. package/dist/mint-components/p-33bd2ff9.entry.js +0 -1
  375. package/dist/mint-components/p-3beda015.js +0 -1
  376. package/dist/mint-components/p-40849586.entry.js +0 -1
  377. package/dist/mint-components/p-40b91bd2.entry.js +0 -1
  378. package/dist/mint-components/p-40d9f8f3.entry.js +0 -1
  379. package/dist/mint-components/p-425ea70b.entry.js +0 -1
  380. package/dist/mint-components/p-46adc2cf.system.entry.js +0 -1
  381. package/dist/mint-components/p-4ac07db9.system.js +0 -1
  382. package/dist/mint-components/p-673d1d37.system.entry.js +0 -1
  383. package/dist/mint-components/p-6f2ab381.system.entry.js +0 -1
  384. package/dist/mint-components/p-71775f38.entry.js +0 -1
  385. package/dist/mint-components/p-746fa1fa.entry.js +0 -1
  386. package/dist/mint-components/p-77bf2413.entry.js +0 -1
  387. package/dist/mint-components/p-79339d1d.entry.js +0 -33
  388. package/dist/mint-components/p-7a24a7a4.system.entry.js +0 -1
  389. package/dist/mint-components/p-860513de.system.js +0 -53
  390. package/dist/mint-components/p-8873b8b0.system.entry.js +0 -1
  391. package/dist/mint-components/p-8b5f9502.system.entry.js +0 -1
  392. package/dist/mint-components/p-8f900354.system.entry.js +0 -1
  393. package/dist/mint-components/p-95b5aa14.system.js +0 -1
  394. package/dist/mint-components/p-a2c12d31.system.entry.js +0 -1
  395. package/dist/mint-components/p-a716fa21.entry.js +0 -1
  396. package/dist/mint-components/p-aa926a92.entry.js +0 -86
  397. package/dist/mint-components/p-adabc223.js +0 -1
  398. package/dist/mint-components/p-ae9a75d7.entry.js +0 -1
  399. package/dist/mint-components/p-aeaf1171.js +0 -1
  400. package/dist/mint-components/p-af8a82a5.entry.js +0 -1
  401. package/dist/mint-components/p-b094b800.js +0 -1
  402. package/dist/mint-components/p-c1509151.system.entry.js +0 -1
  403. package/dist/mint-components/p-c154b16e.system.entry.js +0 -1
  404. package/dist/mint-components/p-c164d3fe.js +0 -1
  405. package/dist/mint-components/p-c358211f.js +0 -1
  406. package/dist/mint-components/p-c824c2e5.system.js +0 -285
  407. package/dist/mint-components/p-ce5a08d0.entry.js +0 -119
  408. package/dist/mint-components/p-cfe598c1.js +0 -1
  409. package/dist/mint-components/p-cfe65695.entry.js +0 -1
  410. package/dist/mint-components/p-d2a2c424.js +0 -56
  411. package/dist/mint-components/p-d4c1b8e9.entry.js +0 -1
  412. package/dist/mint-components/p-d9bf4d77.entry.js +0 -1
  413. package/dist/mint-components/p-e341556f.entry.js +0 -13
  414. package/dist/mint-components/p-e551074e.system.js +0 -1
  415. package/dist/mint-components/p-e9a8a8f3.entry.js +0 -9
  416. package/dist/mint-components/p-eb3ce654.entry.js +0 -1
  417. package/dist/mint-components/p-eb4f3c85.entry.js +0 -1
  418. package/dist/mint-components/p-f0c38e7a.entry.js +0 -1
  419. package/dist/mint-components/p-f17cd500.entry.js +0 -1
  420. package/dist/mint-components/p-f39b5f6b.entry.js +0 -1
  421. package/dist/types/components/sqm-media/Media.stories.d.ts +0 -12
@@ -1,36 +1,36 @@
1
- import { h, r as registerInstance, c as Host } from './index-2c5a6587.js';
2
- import { a as commonjsGlobal, i as useMemo, k as useState, u as useEffect, c as createCommonjsModule, m as h$1 } from './stencil-hooks.module-1bcbec4f.js';
3
- import { S as ShareButtonView, a as ShareLinkView, P as PortalFrameView, E as EditProfileView, u as useShareLink, b as useShareButton, c as PortalChangePasswordView, d as PortalLoginView, e as PortalRegisterView, T as TaskCardView, f as ProgressBarView, R as ReferralIframeView, g as RewardExchangeView, C as CardFeedView, h as autoColorScaleCss } from './AutoColor-9281c94b.js';
4
- import { B as BigStatView } from './sqm-big-stat-view-3adf4ef2.js';
5
- import { L as LeaderboardView, u as useLeaderboard, S as ShadowViewAddon } from './useLeaderboard-c0017437.js';
6
- import { c as dn, l as ln, e as ae$1, d as dist, _ as _e, f as A$1 } from './index.module-983975d9.js';
7
- import { L as LeaderboardRankView } from './sqm-leaderboard-rank-view-91a35c42.js';
8
- import { a as useBigStat, u as useDemoBigStat } from './useDemoBigStat-5450ce4c.js';
9
- import { c as createStyleSheet } from './JSS-df9ea8a0.js';
10
- import { N as NavigationSidebarView } from './sqm-navigation-sidebar-view-1c50483e.js';
11
- import { N as NavigationSidebarItemView } from './sqm-navigation-sidebar-item-view-3c21b3ee.js';
12
- import { P as PortalSectionView } from './sqm-portal-section-view-5a3d3829.js';
13
- import { P as PortalContainerView } from './sqm-portal-container-view-72c8b457.js';
14
- import { S as StatContainerView } from './sqm-stat-container-view-02b82222.js';
15
- import { P as PortalProfileView } from './sqm-portal-profile-view-3da23184.js';
16
- import { P as PortalForgotPasswordView } from './sqm-portal-forgot-password-view-f7f24742.js';
17
- import { P as PortalEmailVerificationView } from './sqm-portal-email-verification-view-7685db9c.js';
18
- import { P as PortalResetPasswordView } from './sqm-portal-reset-password-view-f3017d72.js';
19
- import { P as PortalVerifyEmailView } from './sqm-portal-verify-email-view-329fdc3b.js';
20
- import { A as AssetCardView } from './sqm-asset-card-view-809b35ce.js';
21
- import { G as GenericTableView } from './GenericTableView-e4257466.js';
22
- import { l as luxon } from './luxon-afa282c2.js';
23
- import { a as PoweredByImg$1, P as PortalFooterView } from './sqm-portal-footer-view-b344a6ad.js';
24
- import { H as HeroView } from './sqm-hero-view-b30e42f0.js';
25
- import { N as NameFieldsView } from './sqm-name-fields-view-77895fa8.js';
26
- import './mixins-10353a39.js';
27
- import './sqm-text-span-view-be532a94.js';
28
- import './global-cc738e38.js';
29
- import './insertcss-bcaf3818.js';
30
- import './utils-1d345130.js';
1
+ import { h, r as registerInstance, c as Host } from './index-17b4da69.js';
2
+ import { a as commonjsGlobal, i as useMemo, k as useState, u as useEffect, c as createCommonjsModule, m as h$1 } from './stencil-hooks.module-2f159754.js';
3
+ import './global-6bd9287e.js';
4
+ import './use-callback-d8ef4b5d.js';
5
+ import { p as pn, h as hn, Y, d as dist, K as Ke, A as A$1 } from './index.module-ec3dcc82.js';
31
6
  import './extends-c31f1eff.js';
32
- import './use-callback-cfeaefe1.js';
7
+ import './insertcss-bcaf3818.js';
33
8
  import './cjs-bdfb4486.js';
9
+ import './mixins-10353a39.js';
10
+ import { c as createStyleSheet } from './JSS-96eeab98.js';
11
+ import { G as GenericTableView } from './GenericTableView-5de898c3.js';
12
+ import { l as luxon } from './luxon-5fa22651.js';
13
+ import './utils-1d345130.js';
14
+ import './sqm-text-span-view-7e61c95c.js';
15
+ import { A as AssetCardView } from './sqm-asset-card-view-f9ca5345.js';
16
+ import { B as BigStatView } from './sqm-big-stat-view-309f7c1f.js';
17
+ import { a as useBigStat, u as useDemoBigStat } from './useDemoBigStat-e2295035.js';
18
+ import { H as HeroView } from './sqm-hero-view-190bc812.js';
19
+ import { L as LeaderboardView, u as useLeaderboard, S as ShadowViewAddon } from './useLeaderboard-5d875f53.js';
20
+ import { L as LeaderboardRankView } from './sqm-leaderboard-rank-view-da91f5f3.js';
21
+ import { N as NameFieldsView } from './sqm-name-fields-view-69b1583f.js';
22
+ import { N as NavigationSidebarView } from './sqm-navigation-sidebar-view-816558e3.js';
23
+ import { N as NavigationSidebarItemView } from './sqm-navigation-sidebar-item-view-a6f7f96c.js';
24
+ import { P as PortalEmailVerificationView } from './sqm-portal-email-verification-view-96c1f91b.js';
25
+ import { a as PoweredByImg$1, P as PortalFooterView } from './sqm-portal-footer-view-3a7dfbfc.js';
26
+ import { P as PortalForgotPasswordView } from './sqm-portal-forgot-password-view-fa088f83.js';
27
+ import { P as PortalContainerView } from './sqm-portal-container-view-cf79ed90.js';
28
+ import { P as PortalProfileView } from './sqm-portal-profile-view-36488558.js';
29
+ import { P as PortalResetPasswordView } from './sqm-portal-reset-password-view-73e14282.js';
30
+ import { P as PortalVerifyEmailView } from './sqm-portal-verify-email-view-cbf1cfdc.js';
31
+ import { S as StatContainerView } from './sqm-stat-container-view-8a565c5a.js';
32
+ import { S as ShareButtonView, a as ShareLinkView, P as PortalFrameView, E as EditProfileView, u as useShareLink, b as useShareButton, c as PortalChangePasswordView, d as PortalLoginView, e as PortalRegisterView, T as TaskCardView, f as ProgressBarView, R as ReferralIframeView, g as RewardExchangeView, C as CardFeedView, h as autoColorScaleCss } from './AutoColor-5d891803.js';
33
+ import { P as PortalSectionView } from './sqm-portal-section-view-d3098f7f.js';
34
34
 
35
35
  /**
36
36
  * lodash (Custom Build) <https://lodash.com/>
@@ -739,7 +739,7 @@ var StyleSheet = /*#__PURE__*/function () {
739
739
  return StyleSheet;
740
740
  }();
741
741
 
742
- var e="-ms-";var r="-moz-";var a$1="-webkit-";var c$1="comm";var n="rule";var t="decl";var i$1="@import";var p$1="@keyframes";var k=Math.abs;var d$1=String.fromCharCode;function m(e,r){return (((r<<2^z(e,0))<<2^z(e,1))<<2^z(e,2))<<2^z(e,3)}function g(e){return e.trim()}function x(e,r){return (e=r.exec(e))?e[0]:e}function y(e,r,a){return e.replace(r,a)}function j(e,r){return e.indexOf(r)}function z(e,r){return e.charCodeAt(r)|0}function C(e,r,a){return e.slice(r,a)}function A(e){return e.length}function M(e){return e.length}function O(e,r){return r.push(e),e}function S(e,r){return e.map(r).join("")}var q=1;var B=1;var D=0;var E=0;var F=0;var G="";function H(e,r,a,c,n,t,s){return {value:e,root:r,parent:a,type:c,props:n,children:t,line:q,column:B,length:s,return:""}}function I(e,r,a){return H(e,r.root,r.parent,a,r.props,r.children,0)}function J(){return F}function K(){F=E>0?z(G,--E):0;if(B--,F===10)B=1,q--;return F}function L(){F=E<D?z(G,E++):0;if(B++,F===10)B=1,q++;return F}function N(){return z(G,E)}function P(){return E}function Q(e,r){return C(G,e,r)}function R(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function T(e){return q=B=1,D=A(G=e),E=0,[]}function U(e){return G="",e}function V(e){return g(Q(E-1,_(e===91?e+2:e===40?e+1:e)))}function X(e){while(F=N())if(F<33)L();else break;return R(e)>2||R(F)>3?"":" "}function Z(e,r){while(--r&&L())if(F<48||F>102||F>57&&F<65||F>70&&F<97)break;return Q(e,P()+(r<6&&N()==32&&L()==32))}function _(e){while(L())switch(F){case e:return E;case 34:case 39:return _(e===34||e===39?e:F);case 40:if(e===41)_(e);break;case 92:L();break}return E}function ee(e,r){while(L())if(e+F===47+10)break;else if(e+F===42+42&&N()===47)break;return "/*"+Q(r,E-1)+"*"+d$1(e===47?e:L())}function re(e){while(!R(N()))L();return Q(e,E)}function ae(e){return U(ce("",null,null,null,[""],e=T(e),0,[0],e))}function ce(e,r,a,c,n,t,s,u,i){var f=0;var o=0;var l=s;var v=0;var h=0;var p=0;var b=1;var w=1;var $=1;var k=0;var m="";var g=n;var x=t;var j=c;var z=m;while(w)switch(p=k,k=L()){case 34:case 39:case 91:case 40:z+=V(k);break;case 9:case 10:case 13:case 32:z+=X(p);break;case 92:z+=Z(P()-1,7);continue;case 47:switch(N()){case 42:case 47:O(te(ee(L(),P()),r,a),i);break;default:z+="/";}break;case 123*b:u[f++]=A(z)*$;case 125*b:case 59:case 0:switch(k){case 0:case 125:w=0;case 59+o:if(h>0&&A(z)-l)O(h>32?se(z+";",c,a,l-1):se(y(z," ","")+";",c,a,l-2),i);break;case 59:z+=";";default:O(j=ne(z,r,a,f,o,n,u,m,g=[],x=[],l),t);if(k===123)if(o===0)ce(z,r,j,j,g,t,l,u,x);else switch(v){case 100:case 109:case 115:ce(e,j,j,c&&O(ne(e,j,j,0,0,n,u,m,n,g=[],l),x),n,x,l,u,c?g:x);break;default:ce(z,j,j,j,[""],x,l,u,x);}}f=o=h=0,b=$=1,m=z="",l=s;break;case 58:l=1+A(z),h=p;default:if(b<1)if(k==123)--b;else if(k==125&&b++==0&&K()==125)continue;switch(z+=d$1(k),k*b){case 38:$=o>0?1:(z+="\f",-1);break;case 44:u[f++]=(A(z)-1)*$,$=1;break;case 64:if(N()===45)z+=V(L());v=N(),o=A(m=z+=re(P())),k++;break;case 45:if(p===45&&A(z)==2)b=0;}}return t}function ne(e,r,a,c,t,s,u,i,f,o,l){var v=t-1;var h=t===0?s:[""];var p=M(h);for(var b=0,w=0,$=0;b<c;++b)for(var d=0,m=C(e,v+1,v=k(w=u[b])),x=e;d<p;++d)if(x=g(w>0?h[d]+" "+m:y(m,/&\f/g,h[d])))f[$++]=x;return H(e,r,a,t===0?n:i,f,o,l)}function te(e,r,a){return H(e,r,a,c$1,d$1(J()),C(e,2,-2),0)}function se(e,r,a,c){return H(e,r,a,t,C(e,0,c),C(e,c+1,-1),c)}function ue(c,n){switch(m(c,n)){case 5103:return a$1+"print-"+c+c;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return a$1+c+c;case 5349:case 4246:case 4810:case 6968:case 2756:return a$1+c+r+c+e+c+c;case 6828:case 4268:return a$1+c+e+c+c;case 6165:return a$1+c+e+"flex-"+c+c;case 5187:return a$1+c+y(c,/(\w+).+(:[^]+)/,a$1+"box-$1$2"+e+"flex-$1$2")+c;case 5443:return a$1+c+e+"flex-item-"+y(c,/flex-|-self/,"")+c;case 4675:return a$1+c+e+"flex-line-pack"+y(c,/align-content|flex-|-self/,"")+c;case 5548:return a$1+c+e+y(c,"shrink","negative")+c;case 5292:return a$1+c+e+y(c,"basis","preferred-size")+c;case 6060:return a$1+"box-"+y(c,"-grow","")+a$1+c+e+y(c,"grow","positive")+c;case 4554:return a$1+y(c,/([^-])(transform)/g,"$1"+a$1+"$2")+c;case 6187:return y(y(y(c,/(zoom-|grab)/,a$1+"$1"),/(image-set)/,a$1+"$1"),c,"")+c;case 5495:case 3959:return y(c,/(image-set\([^]*)/,a$1+"$1"+"$`$1");case 4968:return y(y(c,/(.+:)(flex-)?(.*)/,a$1+"box-pack:$3"+e+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+a$1+c+c;case 4095:case 3583:case 4068:case 2532:return y(c,/(.+)-inline(.+)/,a$1+"$1$2")+c;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(A(c)-1-n>6)switch(z(c,n+1)){case 109:if(z(c,n+4)!==45)break;case 102:return y(c,/(.+:)(.+)-([^]+)/,"$1"+a$1+"$2-$3"+"$1"+r+(z(c,n+3)==108?"$3":"$2-$3"))+c;case 115:return ~j(c,"stretch")?ue(y(c,"stretch","fill-available"),n)+c:c}break;case 4949:if(z(c,n+1)!==115)break;case 6444:switch(z(c,A(c)-3-(~j(c,"!important")&&10))){case 107:return y(c,":",":"+a$1)+c;case 101:return y(c,/(.+:)([^;!]+)(;|!.+)?/,"$1"+a$1+(z(c,14)===45?"inline-":"")+"box$3"+"$1"+a$1+"$2$3"+"$1"+e+"$2box$3")+c}break;case 5936:switch(z(c,n+11)){case 114:return a$1+c+e+y(c,/[svh]\w+-[tblr]{2}/,"tb")+c;case 108:return a$1+c+e+y(c,/[svh]\w+-[tblr]{2}/,"tb-rl")+c;case 45:return a$1+c+e+y(c,/[svh]\w+-[tblr]{2}/,"lr")+c}return a$1+c+e+c+c}return c}function ie(e,r){var a="";var c=M(e);for(var n=0;n<c;n++)a+=r(e[n],n,e,r)||"";return a}function fe(e,r,a,s){switch(e.type){case i$1:case t:return e.return=e.return||e.value;case c$1:return "";case n:e.value=e.props.join(",");}return A(a=ie(e.children,s))?e.return=e.value+"{"+a+"}":""}function oe(e){var r=M(e);return function(a,c,n,t){var s="";for(var u=0;u<r;u++)s+=e[u](a,c,n,t)||"";return s}}function le(e){return function(r){if(!r.root)if(r=r.return)e(r);}}function ve(c,s,u,i){if(!c.return)switch(c.type){case t:c.return=ue(c.value,c.length);break;case p$1:return ie([I(y(c.value,"@","@"+a$1),c,"")],i);case n:if(c.length)return S(c.props,(function(n){switch(x(n,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return ie([I(y(n,/:(read-\w+)/,":"+r+"$1"),c,"")],i);case"::placeholder":return ie([I(y(n,/:(plac\w+)/,":"+a$1+"input-$1"),c,""),I(y(n,/:(plac\w+)/,":"+r+"$1"),c,""),I(y(n,/:(plac\w+)/,e+"input-$1"),c,"")],i)}return ""}))}}
742
+ var e="-ms-";var r="-moz-";var a="-webkit-";var c="comm";var n="rule";var t="decl";var i="@import";var p="@keyframes";var k=Math.abs;var d=String.fromCharCode;function m(e,r){return (((r<<2^z(e,0))<<2^z(e,1))<<2^z(e,2))<<2^z(e,3)}function g(e){return e.trim()}function x(e,r){return (e=r.exec(e))?e[0]:e}function y(e,r,a){return e.replace(r,a)}function j(e,r){return e.indexOf(r)}function z(e,r){return e.charCodeAt(r)|0}function C(e,r,a){return e.slice(r,a)}function A(e){return e.length}function M(e){return e.length}function O(e,r){return r.push(e),e}function S(e,r){return e.map(r).join("")}var q=1;var B=1;var D=0;var E=0;var F=0;var G="";function H(e,r,a,c,n,t,s){return {value:e,root:r,parent:a,type:c,props:n,children:t,line:q,column:B,length:s,return:""}}function I(e,r,a){return H(e,r.root,r.parent,a,r.props,r.children,0)}function J(){return F}function K(){F=E>0?z(G,--E):0;if(B--,F===10)B=1,q--;return F}function L(){F=E<D?z(G,E++):0;if(B++,F===10)B=1,q++;return F}function N(){return z(G,E)}function P(){return E}function Q(e,r){return C(G,e,r)}function R(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function T(e){return q=B=1,D=A(G=e),E=0,[]}function U(e){return G="",e}function V(e){return g(Q(E-1,_(e===91?e+2:e===40?e+1:e)))}function X(e){while(F=N())if(F<33)L();else break;return R(e)>2||R(F)>3?"":" "}function Z(e,r){while(--r&&L())if(F<48||F>102||F>57&&F<65||F>70&&F<97)break;return Q(e,P()+(r<6&&N()==32&&L()==32))}function _(e){while(L())switch(F){case e:return E;case 34:case 39:return _(e===34||e===39?e:F);case 40:if(e===41)_(e);break;case 92:L();break}return E}function ee(e,r){while(L())if(e+F===47+10)break;else if(e+F===42+42&&N()===47)break;return "/*"+Q(r,E-1)+"*"+d(e===47?e:L())}function re(e){while(!R(N()))L();return Q(e,E)}function ae(e){return U(ce("",null,null,null,[""],e=T(e),0,[0],e))}function ce(e,r,a,c,n,t,s,u,i){var f=0;var o=0;var l=s;var v=0;var h=0;var p=0;var b=1;var w=1;var $=1;var k=0;var m="";var g=n;var x=t;var j=c;var z=m;while(w)switch(p=k,k=L()){case 34:case 39:case 91:case 40:z+=V(k);break;case 9:case 10:case 13:case 32:z+=X(p);break;case 92:z+=Z(P()-1,7);continue;case 47:switch(N()){case 42:case 47:O(te(ee(L(),P()),r,a),i);break;default:z+="/";}break;case 123*b:u[f++]=A(z)*$;case 125*b:case 59:case 0:switch(k){case 0:case 125:w=0;case 59+o:if(h>0&&A(z)-l)O(h>32?se(z+";",c,a,l-1):se(y(z," ","")+";",c,a,l-2),i);break;case 59:z+=";";default:O(j=ne(z,r,a,f,o,n,u,m,g=[],x=[],l),t);if(k===123)if(o===0)ce(z,r,j,j,g,t,l,u,x);else switch(v){case 100:case 109:case 115:ce(e,j,j,c&&O(ne(e,j,j,0,0,n,u,m,n,g=[],l),x),n,x,l,u,c?g:x);break;default:ce(z,j,j,j,[""],x,l,u,x);}}f=o=h=0,b=$=1,m=z="",l=s;break;case 58:l=1+A(z),h=p;default:if(b<1)if(k==123)--b;else if(k==125&&b++==0&&K()==125)continue;switch(z+=d(k),k*b){case 38:$=o>0?1:(z+="\f",-1);break;case 44:u[f++]=(A(z)-1)*$,$=1;break;case 64:if(N()===45)z+=V(L());v=N(),o=A(m=z+=re(P())),k++;break;case 45:if(p===45&&A(z)==2)b=0;}}return t}function ne(e,r,a,c,t,s,u,i,f,o,l){var v=t-1;var h=t===0?s:[""];var p=M(h);for(var b=0,w=0,$=0;b<c;++b)for(var d=0,m=C(e,v+1,v=k(w=u[b])),x=e;d<p;++d)if(x=g(w>0?h[d]+" "+m:y(m,/&\f/g,h[d])))f[$++]=x;return H(e,r,a,t===0?n:i,f,o,l)}function te(e,r,a){return H(e,r,a,c,d(J()),C(e,2,-2),0)}function se(e,r,a,c){return H(e,r,a,t,C(e,0,c),C(e,c+1,-1),c)}function ue(c,n){switch(m(c,n)){case 5103:return a+"print-"+c+c;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return a+c+c;case 5349:case 4246:case 4810:case 6968:case 2756:return a+c+r+c+e+c+c;case 6828:case 4268:return a+c+e+c+c;case 6165:return a+c+e+"flex-"+c+c;case 5187:return a+c+y(c,/(\w+).+(:[^]+)/,a+"box-$1$2"+e+"flex-$1$2")+c;case 5443:return a+c+e+"flex-item-"+y(c,/flex-|-self/,"")+c;case 4675:return a+c+e+"flex-line-pack"+y(c,/align-content|flex-|-self/,"")+c;case 5548:return a+c+e+y(c,"shrink","negative")+c;case 5292:return a+c+e+y(c,"basis","preferred-size")+c;case 6060:return a+"box-"+y(c,"-grow","")+a+c+e+y(c,"grow","positive")+c;case 4554:return a+y(c,/([^-])(transform)/g,"$1"+a+"$2")+c;case 6187:return y(y(y(c,/(zoom-|grab)/,a+"$1"),/(image-set)/,a+"$1"),c,"")+c;case 5495:case 3959:return y(c,/(image-set\([^]*)/,a+"$1"+"$`$1");case 4968:return y(y(c,/(.+:)(flex-)?(.*)/,a+"box-pack:$3"+e+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+a+c+c;case 4095:case 3583:case 4068:case 2532:return y(c,/(.+)-inline(.+)/,a+"$1$2")+c;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(A(c)-1-n>6)switch(z(c,n+1)){case 109:if(z(c,n+4)!==45)break;case 102:return y(c,/(.+:)(.+)-([^]+)/,"$1"+a+"$2-$3"+"$1"+r+(z(c,n+3)==108?"$3":"$2-$3"))+c;case 115:return ~j(c,"stretch")?ue(y(c,"stretch","fill-available"),n)+c:c}break;case 4949:if(z(c,n+1)!==115)break;case 6444:switch(z(c,A(c)-3-(~j(c,"!important")&&10))){case 107:return y(c,":",":"+a)+c;case 101:return y(c,/(.+:)([^;!]+)(;|!.+)?/,"$1"+a+(z(c,14)===45?"inline-":"")+"box$3"+"$1"+a+"$2$3"+"$1"+e+"$2box$3")+c}break;case 5936:switch(z(c,n+11)){case 114:return a+c+e+y(c,/[svh]\w+-[tblr]{2}/,"tb")+c;case 108:return a+c+e+y(c,/[svh]\w+-[tblr]{2}/,"tb-rl")+c;case 45:return a+c+e+y(c,/[svh]\w+-[tblr]{2}/,"lr")+c}return a+c+e+c+c}return c}function ie(e,r){var a="";var c=M(e);for(var n=0;n<c;n++)a+=r(e[n],n,e,r)||"";return a}function fe(e,r,a,s){switch(e.type){case i:case t:return e.return=e.return||e.value;case c:return "";case n:e.value=e.props.join(",");}return A(a=ie(e.children,s))?e.return=e.value+"{"+a+"}":""}function oe(e){var r=M(e);return function(a,c,n,t){var s="";for(var u=0;u<r;u++)s+=e[u](a,c,n,t)||"";return s}}function le(e){return function(r){if(!r.root)if(r=r.return)e(r);}}function ve(c,s,u,i){if(!c.return)switch(c.type){case t:c.return=ue(c.value,c.length);break;case p:return ie([I(y(c.value,"@","@"+a),c,"")],i);case n:if(c.length)return S(c.props,(function(n){switch(x(n,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return ie([I(y(n,/:(read-\w+)/,":"+r+"$1"),c,"")],i);case"::placeholder":return ie([I(y(n,/:(plac\w+)/,":"+a+"input-$1"),c,""),I(y(n,/:(plac\w+)/,":"+r+"$1"),c,""),I(y(n,/:(plac\w+)/,e+"input-$1"),c,"")],i)}return ""}))}}
743
743
 
744
744
  function memoize(fn) {
745
745
  var cache = Object.create(null);
@@ -785,7 +785,7 @@ var toRules = function toRules(parsed, points) {
785
785
  // fallthrough
786
786
 
787
787
  default:
788
- parsed[index] += d$1(character);
788
+ parsed[index] += d(character);
789
789
  }
790
790
  } while (character = L());
791
791
 
@@ -907,7 +907,7 @@ var createCache = function createCache(options) {
907
907
 
908
908
  {
909
909
  var currentSheet;
910
- var finalizingPlugins = [fe, le(function (rule) {
910
+ var finalizingPlugins = [fe, le(function (rule) {
911
911
  currentSheet.insert(rule);
912
912
  })];
913
913
  var serializer = oe(omnipresentPlugins.concat(stylisPlugins, finalizingPlugins));
@@ -1298,7 +1298,7 @@ var insertStyles = function insertStyles(cache, serialized, isStringTag) {
1298
1298
  var current = serialized;
1299
1299
 
1300
1300
  do {
1301
- cache.insert(serialized === current ? "." + className : '', current, cache.sheet, true);
1301
+ var maybeStyles = cache.insert(serialized === current ? "." + className : '', current, cache.sheet, true);
1302
1302
 
1303
1303
  current = current.next;
1304
1304
  } while (current !== undefined);
@@ -1446,7 +1446,7 @@ var _createEmotion = createEmotion({
1446
1446
  }),
1447
1447
  css = _createEmotion.css;
1448
1448
 
1449
- function i(){return (i=Object.assign||function(n){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(n[r]=o[r]);}return n}).apply(this,arguments)}function s(n,t){return t||(t=n.slice(0)),n.raw=t,n}var a,l,u,c=css(a||(a=s(['\n width: 100vw;\n height: 100vh;\n\n .story-book-outer-div {\n .story-div {\n font-family: "Arial", sans-serif;\n font-size: 12px;\n }\n padding-bottom: 500px;\n }\n\n .story-div {\n position: fixed;\n box-sizing: border-box;\n top: 0;\n width: 250px;\n height: 100vh;\n z-index: 999;\n overflow-y: scroll;\n background: white;\n margin-bottom: 32px;\n }\n\n .header {\n padding: 24px 0 16px 16px;\n margin-bottom: 24px;\n color: white;\n background: #333;\n cursor: pointer;\n\n h2 {\n letter-spacing: 3px;\n font-weight: 400;\n }\n }\n\n .parentStoryList {\n list-style: none;\n padding-left: 16px;\n\n summary {\n margin-bottom: 4px;\n }\n }\n .parentStory {\n cursor: pointer;\n }\n .parentStory.selected {\n font-weight: bold;\n }\n\n .subStory {\n font-size: 12px;\n cursor: pointer;\n line-height: 1.5em;\n margin-top: 4px;\n\n a {\n display: block;\n padding: 4px 4px 4px 16px;\n }\n }\n .subStory:hover {\n background-color: #eee;\n }\n .subStory.selected {\n background-color: lightgreen;\n }\n\n .component {\n padding: 24px 16px;\n }\n\n h4.group-header {\n margin: 8px 0;\n text-transform: uppercase;\n font-weight: 600;\n font-size: 14px;\n color: #575757;\n }\n\n .group-wrapper {\n margin-bottom: 24px;\n }\n\n .dynamic-display-wrapper {\n position: fixed;\n display: flex;\n flex-direction: column;\n bottom: 0;\n left: 100%;\n padding: 16px;\n z-index: 1000;\n background: white;\n transform: translateX(-100%);\n box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);\n\n & > :not(:first-child) {\n margin-top: 12px;\n }\n\n p {\n font-size: 12px;\n margin: 0;\n padding: 0;\n }\n\n .button-wrapper {\n display: flex;\n\n & > :not(:first-child) {\n margin-left: 12px;\n }\n }\n\n & button {\n border: 1px solid #eaeaea;\n background: white;\n border-radius: 4px;\n color: #777;\n padding: 4px 12px;\n justify-content: center;\n align-items: center;\n text-align: center;\n\n &.active {\n background: #555;\n border-color: #555;\n color: white;\n }\n }\n }\n'])));function p(n,t){var o,r=t.story.title.split("/"),e=r[1]?r[0]:"_";return i({},n,((o={})[e]=[].concat(n[e]||[],[{story:i({},t.story,{title:r[1]||r[0]}),subs:t.subs}]).sort(function(n,t){return n.story.title.localeCompare(t.story.title)}),o))}function d(n){return {story:n.default,subs:function(n,t){if(null==n)return {};var o,r,e={},i=Object.keys(n);for(r=0;r<i.length;r++)t.indexOf(o=i[r])>=0||(e[o]=n[o]);return e}(n,["default"])}}function f(a,f){var b=f.h,y=void 0===b?h:b,g=f.title,m=void 0===g?"Stencilbook":g,x=f.homepage,h$1=void 0===x?y("h3",null,"Select a story!"):x,v=f.addons,k=void 0===v?[]:v,w=useMemo(function(){return a.map(d).reduce(p,{_:[]})},a),S=useState(void 0),C=S[0],z=S[1],O=null==C?void 0:C.key,j=useState("desktop"),T=j[0],_=j[1],B=useState(!0),D=B[0],L=B[1],N=useState(!1),q=N[0],A=N[1],M=function(){return y("div",{class:"dynamic-display-wrapper"},y("div",{class:"button-wrapper"},y("button",{class:"desktop"===T?"active":"",onClick:function(){return _("desktop")}},"Desktop"),y("button",{class:"tablet"===T?"active":"",onClick:function(){return _("tablet")}},"Tablet"),y("button",{class:"mobile"===T?"active":"",onClick:function(){return _("mobile")}},"Mobile")),y("p",null,"Note: Currently doesn't test breakpoints, use the native tester for now"),y("hr",null),y("button",{class:q?"active":"",onClick:function(){return A(function(n){return !n})}},"Toggle Dark Background"),y("hr",null),y("button",{class:D?"active":"",onClick:function(){return L(function(n){return !n})}},"Toggle Sidebar"))},P="mobile"===T?"375px":"tablet"===T?"768px":"1124px",V=css(l||(l=s(["\n max-width: ",";\n margin-left: ",";\n "])),P,D?"250px":"0px"),X=css(u||(u=s(["\n display: none;\n "])));document.body.style.backgroundColor=q?"#232323":"#fafafa";var E=function(n){var t=n.selected,o=k.reduce(function(n,o){return function(){return y(o,{story:i({},t)},y(n,null))}},null==t?void 0:t.story);return y(o,null)},F=function(){return y("div",{class:"story-book-outer-div"},y("div",{class:"story-div "+(D?"":X)},y("div",{class:"header",onClick:function(){z(void 0);}},y("h2",null,m)),y("ul",{class:"parentStoryList"},Object.keys(w).sort().map(function(n){return y("div",{class:"group-wrapper"},"_"!==n&&y("h4",{class:"group-header"},n),w[n].map(function(t){return y("li",{class:"parentStory"},y("details",{style:{marginBottom:"10px"}},y("summary",{style:{outline:"none"}},t.story.title),t.subs&&Object.keys(t.subs).map(function(o){var e=n+"/"+o,i=t.subs[o],s=i.storyName||lodash_startcase(o);return y("div",{class:"subStory "+(O===e?"selected":"")},y("a",{onClick:function(){return function(n,t,o,r){z({key:t,story:n,parent:o,label:r});}(i,e,t.story,s)}},s))})))}))}))),y(M,null),y("div",{class:"component "+V},!O&&h$1,O&&y("div",null,y("h3",null,C.label),y(E,{selected:C}))))};return {class:c,children:y(F,null),View:F,selected:C}}
1449
+ function i$1(){return (i$1=Object.assign||function(n){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(n[r]=o[r]);}return n}).apply(this,arguments)}function s(n,t){return t||(t=n.slice(0)),n.raw=t,n}var a$1,l,u,c$1=css(a$1||(a$1=s(['\n width: 100vw;\n height: 100vh;\n\n .story-book-outer-div {\n .story-div {\n font-family: "Arial", sans-serif;\n font-size: 12px;\n }\n padding-bottom: 500px;\n }\n\n .story-div {\n position: fixed;\n box-sizing: border-box;\n top: 0;\n width: 250px;\n height: 100vh;\n z-index: 999;\n overflow-y: scroll;\n background: white;\n margin-bottom: 32px;\n }\n\n .header {\n padding: 24px 0 16px 16px;\n margin-bottom: 24px;\n color: white;\n background: #333;\n cursor: pointer;\n\n h2 {\n letter-spacing: 3px;\n font-weight: 400;\n }\n }\n\n .parentStoryList {\n list-style: none;\n padding-left: 16px;\n\n summary {\n margin-bottom: 4px;\n }\n }\n .parentStory {\n cursor: pointer;\n }\n .parentStory.selected {\n font-weight: bold;\n }\n\n .subStory {\n font-size: 12px;\n cursor: pointer;\n line-height: 1.5em;\n margin-top: 4px;\n\n a {\n display: block;\n padding: 4px 4px 4px 16px;\n }\n }\n .subStory:hover {\n background-color: #eee;\n }\n .subStory.selected {\n background-color: lightgreen;\n }\n\n .component {\n padding: 24px 16px;\n }\n\n h4.group-header {\n margin: 8px 0;\n text-transform: uppercase;\n font-weight: 600;\n font-size: 14px;\n color: #575757;\n }\n\n .group-wrapper {\n margin-bottom: 24px;\n }\n\n .dynamic-display-wrapper {\n position: fixed;\n display: flex;\n flex-direction: column;\n bottom: 0;\n left: 100%;\n padding: 16px;\n z-index: 1000;\n background: white;\n transform: translateX(-100%);\n box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);\n\n & > :not(:first-child) {\n margin-top: 12px;\n }\n\n p {\n font-size: 12px;\n margin: 0;\n padding: 0;\n }\n\n .button-wrapper {\n display: flex;\n\n & > :not(:first-child) {\n margin-left: 12px;\n }\n }\n\n & button {\n border: 1px solid #eaeaea;\n background: white;\n border-radius: 4px;\n color: #777;\n padding: 4px 12px;\n justify-content: center;\n align-items: center;\n text-align: center;\n\n &.active {\n background: #555;\n border-color: #555;\n color: white;\n }\n }\n }\n'])));function p$1(n,t){var o,r=t.story.title.split("/"),e=r[1]?r[0]:"_";return i$1({},n,((o={})[e]=[].concat(n[e]||[],[{story:i$1({},t.story,{title:r[1]||r[0]}),subs:t.subs}]).sort(function(n,t){return n.story.title.localeCompare(t.story.title)}),o))}function d$1(n){return {story:n.default,subs:function(n,t){if(null==n)return {};var o,r,e={},i=Object.keys(n);for(r=0;r<i.length;r++)t.indexOf(o=i[r])>=0||(e[o]=n[o]);return e}(n,["default"])}}function f(a,f){var b=f.h,y=void 0===b?h:b,g=f.title,m=void 0===g?"Stencilbook":g,x=f.homepage,h$1=void 0===x?y("h3",null,"Select a story!"):x,v=f.addons,k=void 0===v?[]:v,w=useMemo(function(){return a.map(d$1).reduce(p$1,{_:[]})},a),S=useState(void 0),C=S[0],z=S[1],O=null==C?void 0:C.key,j=useState("desktop"),T=j[0],_=j[1],B=useState(!0),D=B[0],L=B[1],N=useState(!1),q=N[0],A=N[1],M=function(){return y("div",{class:"dynamic-display-wrapper"},y("div",{class:"button-wrapper"},y("button",{class:"desktop"===T?"active":"",onClick:function(){return _("desktop")}},"Desktop"),y("button",{class:"tablet"===T?"active":"",onClick:function(){return _("tablet")}},"Tablet"),y("button",{class:"mobile"===T?"active":"",onClick:function(){return _("mobile")}},"Mobile")),y("p",null,"Note: Currently doesn't test breakpoints, use the native tester for now"),y("hr",null),y("button",{class:q?"active":"",onClick:function(){return A(function(n){return !n})}},"Toggle Dark Background"),y("hr",null),y("button",{class:D?"active":"",onClick:function(){return L(function(n){return !n})}},"Toggle Sidebar"))},P="mobile"===T?"375px":"tablet"===T?"768px":"1124px",V=css(l||(l=s(["\n max-width: ",";\n margin-left: ",";\n "])),P,D?"250px":"0px"),X=css(u||(u=s(["\n display: none;\n "])));document.body.style.backgroundColor=q?"#232323":"#fafafa";var E=function(n){var t=n.selected,o=k.reduce(function(n,o){return function(){return y(o,{story:i$1({},t)},y(n,null))}},null==t?void 0:t.story);return y(o,null)},F=function(){return y("div",{class:"story-book-outer-div"},y("div",{class:"story-div "+(D?"":X)},y("div",{class:"header",onClick:function(){z(void 0);}},y("h2",null,m)),y("ul",{class:"parentStoryList"},Object.keys(w).sort().map(function(n){return y("div",{class:"group-wrapper"},"_"!==n&&y("h4",{class:"group-header"},n),w[n].map(function(t){return y("li",{class:"parentStory"},y("details",{style:{marginBottom:"10px"}},y("summary",{style:{outline:"none"}},t.story.title),t.subs&&Object.keys(t.subs).map(function(o){var e=n+"/"+o,i=t.subs[o],s=i.storyName||lodash_startcase(o);return y("div",{class:"subStory "+(O===e?"selected":"")},y("a",{onClick:function(){return function(n,t,o,r){z({key:t,story:n,parent:o,label:r});}(i,e,t.story,s)}},s))})))}))}))),y(M,null),y("div",{class:"component "+V},!O&&h$1,O&&y("div",null,y("h3",null,C.label),y(E,{selected:C}))))};return {class:c$1,children:y(F,null),View:F,selected:C}}
1450
1450
 
1451
1451
  const ShareButton_stories = {
1452
1452
  title: "Components/Share Button",
@@ -1560,7 +1560,7 @@ const ShareButton = /*#__PURE__*/Object.freeze({
1560
1560
  const ShareLink_stories = {
1561
1561
  title: "Components/Share Link",
1562
1562
  };
1563
- const Default$b = () => {
1563
+ const Default = () => {
1564
1564
  const props = {
1565
1565
  shareString: "https://noah.example.com",
1566
1566
  open: false,
@@ -1576,7 +1576,7 @@ const Tooltip = () => {
1576
1576
  };
1577
1577
  return h(ShareLinkView, Object.assign({}, props));
1578
1578
  };
1579
- const Disabled$1 = () => {
1579
+ const Disabled = () => {
1580
1580
  const props = {
1581
1581
  shareString: "https://noah.example.com",
1582
1582
  disabled: true,
@@ -1592,16 +1592,16 @@ const FullStack = () => {
1592
1592
  const ShareLink = /*#__PURE__*/Object.freeze({
1593
1593
  __proto__: null,
1594
1594
  'default': ShareLink_stories,
1595
- Default: Default$b,
1595
+ Default: Default,
1596
1596
  Tooltip: Tooltip,
1597
- Disabled: Disabled$1,
1597
+ Disabled: Disabled,
1598
1598
  FullStack: FullStack
1599
1599
  });
1600
1600
 
1601
1601
  const BigStat_stories = {
1602
1602
  title: "Components/Big Stat",
1603
1603
  };
1604
- const Default$a = () => {
1604
+ const Default$1 = () => {
1605
1605
  const props = { value: 990000, statvalue: "9.900,00", loading: false };
1606
1606
  return h(BigStatView, Object.assign({}, props), "Big stat");
1607
1607
  };
@@ -1672,7 +1672,7 @@ const InvalidStatValue = () => {
1672
1672
  const BigStat = /*#__PURE__*/Object.freeze({
1673
1673
  __proto__: null,
1674
1674
  'default': BigStat_stories,
1675
- Default: Default$a,
1675
+ Default: Default$1,
1676
1676
  LeftAlign: LeftAlign,
1677
1677
  RightAlign: RightAlign,
1678
1678
  FlexReverse: FlexReverse,
@@ -1715,7 +1715,7 @@ const Empty = () => {
1715
1715
  };
1716
1716
  return h(LeaderboardView, Object.assign({}, props));
1717
1717
  };
1718
- const Loading$3 = () => {
1718
+ const Loading = () => {
1719
1719
  const props = {
1720
1720
  states: {
1721
1721
  loading: true,
@@ -1987,7 +1987,7 @@ const Leaderboard = /*#__PURE__*/Object.freeze({
1987
1987
  __proto__: null,
1988
1988
  'default': Leaderboard_stories,
1989
1989
  Empty: Empty,
1990
- Loading: Loading$3,
1990
+ Loading: Loading,
1991
1991
  One: One,
1992
1992
  Five: Five,
1993
1993
  FiveWithRank: FiveWithRank,
@@ -2082,36 +2082,36 @@ const routes = `
2082
2082
  `;
2083
2083
  const TemplateNavigation = createHookStory(() => {
2084
2084
  return (h("div", null,
2085
- h("button", { onClick: () => dn.push("/") }, "/"),
2086
- h("button", { onClick: () => dn.push("/foo") }, "/foo"),
2087
- h("button", { onClick: () => dn.push("/bar") }, "/bar"),
2088
- h("button", { onClick: () => dn.push("/baz/bang") }, "/baz/bang"),
2089
- h("button", { onClick: () => dn.push("/refer") }, "/refer"),
2090
- h("button", { onClick: () => dn.push("/refer/1") }, "/refer/1"),
2091
- h("button", { onClick: () => dn.push("/refer/2") }, "/refer/2"),
2092
- h("button", { onClick: () => dn.back() }, "Back"),
2093
- h("button", { onClick: () => dn.forward() }, "Forward"),
2085
+ h("button", { onClick: () => pn.push("/") }, "/"),
2086
+ h("button", { onClick: () => pn.push("/foo") }, "/foo"),
2087
+ h("button", { onClick: () => pn.push("/bar") }, "/bar"),
2088
+ h("button", { onClick: () => pn.push("/baz/bang") }, "/baz/bang"),
2089
+ h("button", { onClick: () => pn.push("/refer") }, "/refer"),
2090
+ h("button", { onClick: () => pn.push("/refer/1") }, "/refer/1"),
2091
+ h("button", { onClick: () => pn.push("/refer/2") }, "/refer/2"),
2092
+ h("button", { onClick: () => pn.back() }, "Back"),
2093
+ h("button", { onClick: () => pn.forward() }, "Forward"),
2094
2094
  h("hr", null),
2095
2095
  h("sqm-router", { innerHTML: templates })));
2096
2096
  });
2097
2097
  const RouteNavigation = createHookStory(() => {
2098
2098
  return (h("div", null,
2099
- h("button", { onClick: () => dn.push("/") }, "/"),
2100
- h("button", { onClick: () => dn.push("/foo") }, "/foo"),
2101
- h("button", { onClick: () => dn.push("/bar") }, "/bar"),
2102
- h("button", { onClick: () => dn.push("/baz/bang") }, "/baz/bang"),
2103
- h("button", { onClick: () => dn.push("/refer") }, "/refer"),
2104
- h("button", { onClick: () => dn.push("/refer/1") }, "/refer/1"),
2105
- h("button", { onClick: () => dn.push("/refer/2") }, "/refer/2"),
2106
- h("button", { onClick: () => dn.back() }, "Back"),
2107
- h("button", { onClick: () => dn.forward() }, "Forward"),
2099
+ h("button", { onClick: () => pn.push("/") }, "/"),
2100
+ h("button", { onClick: () => pn.push("/foo") }, "/foo"),
2101
+ h("button", { onClick: () => pn.push("/bar") }, "/bar"),
2102
+ h("button", { onClick: () => pn.push("/baz/bang") }, "/baz/bang"),
2103
+ h("button", { onClick: () => pn.push("/refer") }, "/refer"),
2104
+ h("button", { onClick: () => pn.push("/refer/1") }, "/refer/1"),
2105
+ h("button", { onClick: () => pn.push("/refer/2") }, "/refer/2"),
2106
+ h("button", { onClick: () => pn.back() }, "Back"),
2107
+ h("button", { onClick: () => pn.forward() }, "Forward"),
2108
2108
  h("hr", null),
2109
2109
  h("sqm-router", { innerHTML: routes })));
2110
2110
  });
2111
2111
  const Styling = createHookStory(() => {
2112
2112
  return (h("div", null,
2113
- h("button", { onClick: () => dn.push("/") }, "/"),
2114
- h("button", { onClick: () => dn.push("/foo") }, "/foo"),
2113
+ h("button", { onClick: () => pn.push("/") }, "/"),
2114
+ h("button", { onClick: () => pn.push("/foo") }, "/foo"),
2115
2115
  h("hr", null),
2116
2116
  h("div", { style: { display: "flex", justifyContent: "space-around" } },
2117
2117
  h("sqm-router", { innerHTML: `<template path="/">
@@ -2120,12 +2120,12 @@ const Styling = createHookStory(() => {
2120
2120
  <div>Column 2 </div>
2121
2121
  </template>` }))));
2122
2122
  });
2123
- function useTemplate$1(templateString) {
2123
+ function useTemplate(templateString) {
2124
2124
  const [editedTemplate, setEditedTemplate] = useState(templateString);
2125
2125
  const [previewTemplate, setPreviewTemplate] = useState(templateString);
2126
2126
  function setPath(e) {
2127
2127
  //@ts-ignore
2128
- dn.push(e.target.value);
2128
+ pn.push(e.target.value);
2129
2129
  }
2130
2130
  return {
2131
2131
  states: { previewTemplate, editedTemplate },
@@ -2139,7 +2139,7 @@ const defaultRouter = `
2139
2139
  </template>
2140
2140
  </sqm-router>
2141
2141
  `;
2142
- function TemplateView$1(props) {
2142
+ function TemplateView(props) {
2143
2143
  const { states, callbacks } = props;
2144
2144
  return [
2145
2145
  h("textarea", { style: { width: "100%", height: "300px" }, onChange: (e) => callbacks.setEditedTemplate(e.target.value) }, states.editedTemplate),
@@ -2151,8 +2151,8 @@ function TemplateView$1(props) {
2151
2151
  ];
2152
2152
  }
2153
2153
  const RouterPlayground = createHookStory(() => {
2154
- const { states, callbacks } = useTemplate$1(defaultRouter);
2155
- return h(TemplateView$1, { states: states, callbacks: callbacks });
2154
+ const { states, callbacks } = useTemplate(defaultRouter);
2155
+ return h(TemplateView, { states: states, callbacks: callbacks });
2156
2156
  });
2157
2157
 
2158
2158
  const Router = /*#__PURE__*/Object.freeze({
@@ -2181,7 +2181,7 @@ const LeaderboardRank = /*#__PURE__*/Object.freeze({
2181
2181
  First: First
2182
2182
  });
2183
2183
 
2184
- function setupGraphQL$9() {
2184
+ function setupGraphQL() {
2185
2185
  const id = "worried-camera@uexwltgh.mailosaur.net";
2186
2186
  const accountId = id;
2187
2187
  const programId = "a-referral-program";
@@ -2214,7 +2214,7 @@ function setupLoggedOut() {
2214
2214
  const PortalFrame_stories = {
2215
2215
  title: "Components/Portal Frame",
2216
2216
  };
2217
- const defaultProps$9 = {
2217
+ const defaultProps = {
2218
2218
  data: {
2219
2219
  footer: h("span", null, "example@example.com"),
2220
2220
  header: (h("div", { slot: "header", style: { display: "flex", flexDirection: "column" } },
@@ -2231,7 +2231,7 @@ const defaultProps$9 = {
2231
2231
  };
2232
2232
  const FrameWithMenu = () => {
2233
2233
  const props = {
2234
- ...defaultProps$9,
2234
+ ...defaultProps,
2235
2235
  };
2236
2236
  return (h(PortalFrameView, Object.assign({}, props),
2237
2237
  h("sqm-navigation-menu", { "menu-label": "Menu" },
@@ -2242,13 +2242,13 @@ const FrameWithMenu = () => {
2242
2242
  };
2243
2243
  const FrameWithoutMenu = () => {
2244
2244
  const props = {
2245
- ...defaultProps$9,
2245
+ ...defaultProps,
2246
2246
  };
2247
2247
  return h(PortalFrameView, Object.assign({}, props));
2248
2248
  };
2249
2249
  const FullStackFrame = () => {
2250
2250
  var _a;
2251
- setupGraphQL$9();
2251
+ setupGraphQL();
2252
2252
  return (h("div", null,
2253
2253
  h("sqm-portal-frame", null,
2254
2254
  h("div", { slot: "header", style: { display: "flex", flexDirection: "column" } },
@@ -2268,8 +2268,8 @@ const FullStackFrame = () => {
2268
2268
  "Current path:",
2269
2269
  " ",
2270
2270
  h("code", null,
2271
- h("strong", null, (_a = ln()) === null || _a === void 0 ? void 0 : _a.pathname))),
2272
- h("button", { onClick: dn.back }, "Go Back")));
2271
+ h("strong", null, (_a = hn()) === null || _a === void 0 ? void 0 : _a.pathname))),
2272
+ h("button", { onClick: pn.back }, "Go Back")));
2273
2273
  };
2274
2274
  const FullStackFrameLoggedOut = () => {
2275
2275
  var _a;
@@ -2293,8 +2293,8 @@ const FullStackFrameLoggedOut = () => {
2293
2293
  "Current path:",
2294
2294
  " ",
2295
2295
  h("code", null,
2296
- h("strong", null, (_a = ln()) === null || _a === void 0 ? void 0 : _a.pathname))),
2297
- h("button", { onClick: dn.back }, "Go Back")));
2296
+ h("strong", null, (_a = hn()) === null || _a === void 0 ? void 0 : _a.pathname))),
2297
+ h("button", { onClick: pn.back }, "Go Back")));
2298
2298
  };
2299
2299
 
2300
2300
  const PortalFrame = /*#__PURE__*/Object.freeze({
@@ -2309,7 +2309,7 @@ const PortalFrame = /*#__PURE__*/Object.freeze({
2309
2309
  const EditProfileForm_stories = {
2310
2310
  title: "Components/Edit Profile Form",
2311
2311
  };
2312
- const defaultProps$8 = {
2312
+ const defaultProps$1 = {
2313
2313
  states: {
2314
2314
  loading: false,
2315
2315
  submitDisabled: false,
@@ -2352,13 +2352,13 @@ const defaultProps$8 = {
2352
2352
  },
2353
2353
  };
2354
2354
  const EditProfileFormDisabled = () => {
2355
- const props = defaultProps$8;
2355
+ const props = defaultProps$1;
2356
2356
  return h(EditProfileView, Object.assign({}, props));
2357
2357
  };
2358
2358
  const EditProfileFormEnabled = () => {
2359
2359
  const props = {
2360
- ...defaultProps$8,
2361
- states: { ...defaultProps$8.states, showEdit: true },
2360
+ ...defaultProps$1,
2361
+ states: { ...defaultProps$1.states, showEdit: true },
2362
2362
  };
2363
2363
  return h(EditProfileView, Object.assign({}, props));
2364
2364
  };
@@ -2366,7 +2366,7 @@ const FullStackFrameWithMenu = () => {
2366
2366
  return (h("sqm-edit-profile", { editprofileheader: "Edit Profile", editprofiletext: "Update your profile.", firstnametext: "Bill", lastnametext: "Bob", canceltext: "Cancel", updatetext: "Update", currentregiontext: "Current Region", showregion: true }));
2367
2367
  };
2368
2368
 
2369
- const EditProfile$2 = /*#__PURE__*/Object.freeze({
2369
+ const EditProfile = /*#__PURE__*/Object.freeze({
2370
2370
  __proto__: null,
2371
2371
  'default': EditProfileForm_stories,
2372
2372
  EditProfileFormDisabled: EditProfileFormDisabled,
@@ -2377,7 +2377,7 @@ const EditProfile$2 = /*#__PURE__*/Object.freeze({
2377
2377
  const UseShareLink_stories = {
2378
2378
  title: "Hooks / useShareLink",
2379
2379
  };
2380
- function setupGraphQL$8() {
2380
+ function setupGraphQL$1() {
2381
2381
  const id = "testestest";
2382
2382
  const accountId = id;
2383
2383
  const programId = "sam-partner-test-2";
@@ -2388,19 +2388,19 @@ function setupGraphQL$8() {
2388
2388
  programId,
2389
2389
  };
2390
2390
  useEffect(() => {
2391
- ae$1({
2391
+ Y({
2392
2392
  accountId,
2393
2393
  id,
2394
2394
  jwt: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InRlc3Rlc3Rlc3QiLCJpZCI6InRlc3Rlc3Rlc3QifX0.qYnU5hNeIj9C_G3NogfG7btgCPGZC7JRXY0MG6a63zs",
2395
2395
  });
2396
2396
  return () => {
2397
2397
  window.widgetIdent = undefined;
2398
- ae$1(undefined);
2398
+ Y(undefined);
2399
2399
  };
2400
2400
  }, []);
2401
2401
  }
2402
- const BareBonesView$1 = createHookStory(() => {
2403
- setupGraphQL$8();
2402
+ const BareBonesView = createHookStory(() => {
2403
+ setupGraphQL$1();
2404
2404
  const res = useShareLink({
2405
2405
  programId: "sam-partner-test-2",
2406
2406
  tooltiplifespan: 0,
@@ -2411,8 +2411,8 @@ const BareBonesView$1 = createHookStory(() => {
2411
2411
  " ",
2412
2412
  h("code", { style: { borderStyle: "solid", borderWidth: "1px", padding: "2px" } }, res.shareString)));
2413
2413
  });
2414
- const RegularView$2 = createHookStory(() => {
2415
- setupGraphQL$8();
2414
+ const RegularView = createHookStory(() => {
2415
+ setupGraphQL$1();
2416
2416
  return (h(ShareLinkView, Object.assign({}, useShareLink({
2417
2417
  programId: "sam-partner-test-2",
2418
2418
  tooltiptext: "Copied to clipboard",
@@ -2420,7 +2420,7 @@ const RegularView$2 = createHookStory(() => {
2420
2420
  }))));
2421
2421
  });
2422
2422
  const FastTooltip = createHookStory(() => {
2423
- setupGraphQL$8();
2423
+ setupGraphQL$1();
2424
2424
  return (h(ShareLinkView, Object.assign({}, useShareLink({
2425
2425
  programId: "sam-partner-test-2",
2426
2426
  tooltiptext: "⠀⠀⠀⠀⠀⠀⠀⠀⠀HELLO THERE!!!\n⠀⠀⠀⡯⡯⡾⠝⠘⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢊⠘⡮⣣⠪⠢⡑⡌\n⠀⠀⠀⠟⠝⠈⠀⠀⠀⠡⠀⠠⢈⠠⢐⢠⢂⢔⣐⢄⡂⢔⠀⡁⢉⠸⢨⢑⠕⡌\n⠀⠀⡀⠁⠀⠀⠀⡀⢂⠡⠈⡔⣕⢮⣳⢯⣿⣻⣟⣯⣯⢷⣫⣆⡂⠀⠀⢐⠑⡌\n⢀⠠⠐⠈⠀⢀⢂⠢⡂⠕⡁⣝⢮⣳⢽⡽⣾⣻⣿⣯⡯⣟⣞⢾⢜⢆⠀⡀⠀⠪\n⣬⠂⠀⠀⢀⢂⢪⠨⢂⠥⣺⡪⣗⢗⣽⢽⡯⣿⣽⣷⢿⡽⡾⡽⣝⢎⠀⠀⠀⢡\n⣿⠀⠀⠀⢂⠢⢂⢥⢱⡹⣪⢞⡵⣻⡪⡯⡯⣟⡾⣿⣻⡽⣯⡻⣪⠧⠑⠀⠁⢐\n⣿⠀⠀⠀⠢⢑⠠⠑⠕⡝⡎⡗⡝⡎⣞⢽⡹⣕⢯⢻⠹⡹⢚⠝⡷⡽⡨⠀⠀⢔\n⣿⡯⠀⢈⠈⢄⠂⠂⠐⠀⠌⠠⢑⠱⡱⡱⡑⢔⠁⠀⡀⠐⠐⠐⡡⡹⣪⠀⠀⢘\n⣿⣽⠀⡀⡊⠀⠐⠨⠈⡁⠂⢈⠠⡱⡽⣷⡑⠁⠠⠑⠀⢉⢇⣤⢘⣪⢽⠀⢌⢎\n⣿⢾⠀⢌⠌⠀⡁⠢⠂⠐⡀⠀⢀⢳⢽⣽⡺⣨⢄⣑⢉⢃⢭⡲⣕⡭⣹⠠⢐⢗\n⣿⡗⠀⠢⠡⡱⡸⣔⢵⢱⢸⠈⠀⡪⣳⣳⢹⢜⡵⣱⢱⡱⣳⡹⣵⣻⢔⢅⢬⡷\n⣷⡇⡂⠡⡑⢕⢕⠕⡑⠡⢂⢊⢐⢕⡝⡮⡧⡳⣝⢴⡐⣁⠃⡫⡒⣕⢏⡮⣷⡟\n⣷⣻⣅⠑⢌⠢⠁⢐⠠⠑⡐⠐⠌⡪⠮⡫⠪⡪⡪⣺⢸⠰⠡⠠⠐⢱⠨⡪⡪⡰\n⣯⢷⣟⣇⡂⡂⡌⡀⠀⠁⡂⠅⠂⠀⡑⡄⢇⠇⢝⡨⡠⡁⢐⠠⢀⢪⡐⡜⡪⡊\n⣿⢽⡾⢹⡄⠕⡅⢇⠂⠑⣴⡬⣬⣬⣆⢮⣦⣷⣵⣷⡗⢃⢮⠱⡸⢰⢱⢸⢨⢌\n⣯⢯⣟⠸⣳⡅⠜⠔⡌⡐⠈⠻⠟⣿⢿⣿⣿⠿⡻⣃⠢⣱⡳⡱⡩⢢⠣⡃⠢⠁\n⡯⣟⣞⡇⡿⣽⡪⡘⡰⠨⢐⢀⠢⢢⢄⢤⣰⠼⡾⢕⢕⡵⣝⠎⢌⢪⠪⡘⡌⠀\n⡯⣳⠯⠚⢊⠡⡂⢂⠨⠊⠔⡑⠬⡸⣘⢬⢪⣪⡺⡼⣕⢯⢞⢕⢝⠎⢻⢼⣀⠀\n⠁⡂⠔⡁⡢⠣⢀⠢⠀⠅⠱⡐⡱⡘⡔⡕⡕⣲⡹⣎⡮⡏⡑⢜⢼⡱⢩⣗⣯⣟\n⢀⢂⢑⠀⡂⡃⠅⠊⢄⢑⠠⠑⢕⢕⢝⢮⢺⢕⢟⢮⢊⢢⢱⢄⠃⣇⣞⢞⣞⢾\n⢀⠢⡑⡀⢂⢊⠠⠁⡂⡐⠀⠅⡈⠪⠪⠪⠣⠫⠑⡁⢔⠕⣜⣜⢦⡰⡎⡯⡾⡽",
@@ -2431,15 +2431,15 @@ const FastTooltip = createHookStory(() => {
2431
2431
  const UseShareLink = /*#__PURE__*/Object.freeze({
2432
2432
  __proto__: null,
2433
2433
  'default': UseShareLink_stories,
2434
- BareBonesView: BareBonesView$1,
2435
- RegularView: RegularView$2,
2434
+ BareBonesView: BareBonesView,
2435
+ RegularView: RegularView,
2436
2436
  FastTooltip: FastTooltip
2437
2437
  });
2438
2438
 
2439
2439
  const UseShareButton_stories = {
2440
2440
  title: "Hooks / useShareButton",
2441
2441
  };
2442
- function setupGraphQL$7() {
2442
+ function setupGraphQL$2() {
2443
2443
  const id = "testestest";
2444
2444
  const accountId = id;
2445
2445
  const programId = "sam-partner-test-2";
@@ -2450,19 +2450,19 @@ function setupGraphQL$7() {
2450
2450
  programId,
2451
2451
  };
2452
2452
  useEffect(() => {
2453
- ae$1({
2453
+ Y({
2454
2454
  accountId,
2455
2455
  id,
2456
2456
  jwt: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InRlc3Rlc3Rlc3QiLCJpZCI6InRlc3Rlc3Rlc3QifX0.qYnU5hNeIj9C_G3NogfG7btgCPGZC7JRXY0MG6a63zs",
2457
2457
  });
2458
2458
  return () => {
2459
2459
  window.widgetIdent = undefined;
2460
- ae$1(undefined);
2460
+ Y(undefined);
2461
2461
  };
2462
2462
  }, []);
2463
2463
  }
2464
- const BareBonesView = createHookStory(() => {
2465
- setupGraphQL$7();
2464
+ const BareBonesView$1 = createHookStory(() => {
2465
+ setupGraphQL$2();
2466
2466
  const programId = "sam-partner-test-2";
2467
2467
  const res = [
2468
2468
  useShareButton({ programId, medium: "facebook" }),
@@ -2478,7 +2478,7 @@ const BareBonesView = createHookStory(() => {
2478
2478
  ")"))))));
2479
2479
  });
2480
2480
  const RegularView$1 = createHookStory(() => {
2481
- setupGraphQL$7();
2481
+ setupGraphQL$2();
2482
2482
  const programId = "sam-partner-test-2";
2483
2483
  const mediums = [
2484
2484
  "facebook",
@@ -2494,14 +2494,14 @@ const RegularView$1 = createHookStory(() => {
2494
2494
  const UseShareButton = /*#__PURE__*/Object.freeze({
2495
2495
  __proto__: null,
2496
2496
  'default': UseShareButton_stories,
2497
- BareBonesView: BareBonesView,
2497
+ BareBonesView: BareBonesView$1,
2498
2498
  RegularView: RegularView$1
2499
2499
  });
2500
2500
 
2501
2501
  const UseBigStat_stories = {
2502
2502
  title: "Hooks / useBigStat",
2503
2503
  };
2504
- function setupGraphQL$6() {
2504
+ function setupGraphQL$3() {
2505
2505
  const id = "nynellie";
2506
2506
  const accountId = id;
2507
2507
  const programId = "ny-post-referrals";
@@ -2512,20 +2512,20 @@ function setupGraphQL$6() {
2512
2512
  programId,
2513
2513
  };
2514
2514
  useEffect(() => {
2515
- ae$1({
2515
+ Y({
2516
2516
  accountId,
2517
2517
  id,
2518
2518
  jwt: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6Im55bmVsbGllIiwiaWQiOiJueW5lbGxpZSJ9fQ.3KV974VPLgk4tD8LQfJTi4IPkKCmnaB8w48HzVJYDuI",
2519
2519
  });
2520
2520
  return () => {
2521
2521
  window.widgetIdent = undefined;
2522
- ae$1(undefined);
2522
+ Y(undefined);
2523
2523
  };
2524
2524
  }, []);
2525
2525
  }
2526
- const View$1 = (statType, format) => {
2526
+ const View = (statType, format) => {
2527
2527
  console.log(`View("${statType}") - CALLED`);
2528
- setupGraphQL$6();
2528
+ setupGraphQL$3();
2529
2529
  const { props, label } = useBigStat({
2530
2530
  statType,
2531
2531
  render: () => { },
@@ -2559,44 +2559,44 @@ const DemoView = () => {
2559
2559
  h(BigStatView, Object.assign({}, props), label))));
2560
2560
  };
2561
2561
  const Demo = createHookStory(DemoView);
2562
- const ReferralsCount = createHookStory(() => View$1("/referralsCount", "/(referralsCount)/:status?"));
2562
+ const ReferralsCount = createHookStory(() => View("/referralsCount", "/(referralsCount)/:status?"));
2563
2563
  const referralsConvertedCount = createHookStory(() => {
2564
- return View$1("/referralsCount/converted", "/(referralsCount)/:status?");
2564
+ return View("/referralsCount/converted", "/(referralsCount)/:status?");
2565
2565
  });
2566
2566
  const referralsStartedCount = createHookStory(() => {
2567
- return View$1("/referralsCount/started", "/(referralsCount)/:status?");
2567
+ return View("/referralsCount/started", "/(referralsCount)/:status?");
2568
2568
  });
2569
- const ReferralsMonth = createHookStory(() => View$1("/referralsMonth", "/(referralsMonth)"));
2570
- const ReferralsWeek = createHookStory(() => View$1("/referralsWeek", "/(referralsWeek)"));
2571
- const RewardsCount = createHookStory(() => View$1("/rewardsCount", "/(rewardsCount)/:global?"));
2572
- const GlobalRewardsCount = createHookStory(() => View$1("/rewardsCount/global", "/(rewardsCount)/:global"));
2573
- const GlobalRewardsCountFiltered = createHookStory(() => View$1("/rewardsCountFiltered/global", "/(rewardsCountFiltered)/:statType([INTEGRATION|PCT_DISCOUNT|CREDIT]*)?/:unit((?!global)(?!PENDING)(?!CANCELLED)(?!EXPIRED)(?!REDEEMED)(?!AVAILABLE)[a-zA-Z0-9%]+)?/:status([PENDING|CANCELLED|EXPIRED|REDEEMED|AVAILABLE]*)?/:global?"));
2574
- const GlobalRewardsCountPctDiscount = createHookStory(() => View$1("/rewardsCountFiltered/PCT_DISCOUNT/global", "/(rewardsCountFiltered)/:statType([INTEGRATION|PCT_DISCOUNT|CREDIT]*)?/:unit((?!global)(?!PENDING)(?!CANCELLED)(?!EXPIRED)(?!REDEEMED)(?!AVAILABLE)[a-zA-Z0-9%]+)?/:status([PENDING|CANCELLED|EXPIRED|REDEEMED|AVAILABLE]*)?/:global?"));
2575
- const GlobalRewardsCountPctDiscountPending = createHookStory(() => View$1("/rewardsCountFiltered/PCT_DISCOUNT/PENDING/global", "/(rewardsCountFiltered)/:statType([INTEGRATION|PCT_DISCOUNT|CREDIT]*)?/:unit((?!global)(?!PENDING)(?!CANCELLED)(?!EXPIRED)(?!REDEEMED)(?!AVAILABLE)[a-zA-Z0-9%]+)?/:status([PENDING|CANCELLED|EXPIRED|REDEEMED|AVAILABLE]*)?/:global?"));
2576
- const RewardsCountByUnit = createHookStory(() => View$1("/rewardsCountFiltered/CREDIT/COFFEE", "/(rewardsCountFiltered)/:statType([INTEGRATION|PCT_DISCOUNT|CREDIT]*)?/:unit((?!global)(?!PENDING)(?!CANCELLED)(?!EXPIRED)(?!REDEEMED)(?!AVAILABLE)[a-zA-Z0-9%]+)?/:status([PENDING|CANCELLED|EXPIRED|REDEEMED|AVAILABLE]*)?/:global?"));
2577
- const GlobalRewardsCountByUnit = createHookStory(() => View$1("/rewardsCountFiltered/CREDIT/COFFEE/global", "/(rewardsCountFiltered)/:statType([INTEGRATION|PCT_DISCOUNT|CREDIT]*)?/:unit((?!global)(?!PENDING)(?!CANCELLED)(?!EXPIRED)(?!REDEEMED)(?!AVAILABLE)[a-zA-Z0-9%]+)?/:status([PENDING|CANCELLED|EXPIRED|REDEEMED|AVAILABLE]*)?/:global?"));
2578
- const GlobalPendingRewardsCount = createHookStory(() => View$1("/rewardsCountFiltered/CREDIT/COFFEE/PENDING/global", "/(rewardsCountFiltered)/:statType([INTEGRATION|PCT_DISCOUNT|CREDIT]*)?/:unit((?!global)(?!PENDING)(?!CANCELLED)(?!EXPIRED)(?!REDEEMED)(?!AVAILABLE)[a-zA-Z0-9%]+)?/:status([PENDING|CANCELLED|EXPIRED|REDEEMED|AVAILABLE]*)?/:global?"));
2579
- const RewardsAvailableCount = createHookStory(() => View$1("/rewardsCountFiltered/AVAILABLE", "/(rewardsCountFiltered)/:statType([INTEGRATION|PCT_DISCOUNT|CREDIT]*)?/:unit((?!global)(?!PENDING)(?!CANCELLED)(?!EXPIRED)(?!REDEEMED)(?!AVAILABLE)[a-zA-Z0-9%]+)?/:status([PENDING|CANCELLED|EXPIRED|REDEEMED|AVAILABLE]*)?/:global?"));
2580
- const GlobalRewardsCountByIntegration = createHookStory(() => View$1("/integrationRewardsCountFiltered/AVAILABLE/global", "/(integrationRewardsCountFiltered)/:format([PENDING|CANCELLED|EXPIRED|REDEEMED|AVAILABLE]*)?/:global?"));
2581
- const GlobalRewardsCountByPendingIntegration = createHookStory(() => View$1("/integrationRewardsCountFiltered/PENDING/global", "/(integrationRewardsCountFiltered)/:format([PENDING|CANCELLED|EXPIRED|REDEEMED|AVAILABLE]*)?/:global?"));
2582
- const RewardsMonth = createHookStory(() => View$1("/rewardsMonth", "/(rewardsMonth)/:global?"));
2583
- const RewardsWeek = createHookStory(() => View$1("/rewardsWeek", "/(rewardsWeek)/:global?"));
2584
- const RewardsAssigned = createHookStory(() => View$1("/rewardsAssigned/CREDIT/COFFEE", "/(rewardsAssigned)/:statType/:unit/:global?"));
2585
- const RewardsAssignedCashUSD = createHookStory(() => View$1("/rewardsAssigned/CREDIT/CASH%2FUSD", "/(rewardsAssigned)/:statType/:unit/:global?"));
2586
- const RewardsRedeemed = createHookStory(() => View$1("/rewardsRedeemed/CREDIT/COFFEE", "/(rewardsRedeemed)/:statType/:unit/:global?"));
2587
- const RewardsAvailable = createHookStory(() => View$1("/rewardsAvailable/CREDIT/COFFEE", "/(rewardsAvailable)/:statType/:unit/:global?"));
2588
- const RewardsAvailableWithSlash = createHookStory(() => View$1("/rewardsAvailable/CREDIT/CASH%2FUSD", "/(rewardsAvailable)/:statType/:unit/:global?"));
2589
- const RewardBalance = createHookStory(() => View$1("/rewardBalance/CREDIT/COFFEE/prettyValue", "/(rewardBalance)/:statType/:unit/:format([prettyValue|value]*)?/:global?"));
2569
+ const ReferralsMonth = createHookStory(() => View("/referralsMonth", "/(referralsMonth)"));
2570
+ const ReferralsWeek = createHookStory(() => View("/referralsWeek", "/(referralsWeek)"));
2571
+ const RewardsCount = createHookStory(() => View("/rewardsCount", "/(rewardsCount)/:global?"));
2572
+ const GlobalRewardsCount = createHookStory(() => View("/rewardsCount/global", "/(rewardsCount)/:global"));
2573
+ const GlobalRewardsCountFiltered = createHookStory(() => View("/rewardsCountFiltered/global", "/(rewardsCountFiltered)/:statType([INTEGRATION|PCT_DISCOUNT|CREDIT]*)?/:unit((?!global)(?!PENDING)(?!CANCELLED)(?!EXPIRED)(?!REDEEMED)(?!AVAILABLE)[a-zA-Z0-9%]+)?/:status([PENDING|CANCELLED|EXPIRED|REDEEMED|AVAILABLE]*)?/:global?"));
2574
+ const GlobalRewardsCountPctDiscount = createHookStory(() => View("/rewardsCountFiltered/PCT_DISCOUNT/global", "/(rewardsCountFiltered)/:statType([INTEGRATION|PCT_DISCOUNT|CREDIT]*)?/:unit((?!global)(?!PENDING)(?!CANCELLED)(?!EXPIRED)(?!REDEEMED)(?!AVAILABLE)[a-zA-Z0-9%]+)?/:status([PENDING|CANCELLED|EXPIRED|REDEEMED|AVAILABLE]*)?/:global?"));
2575
+ const GlobalRewardsCountPctDiscountPending = createHookStory(() => View("/rewardsCountFiltered/PCT_DISCOUNT/PENDING/global", "/(rewardsCountFiltered)/:statType([INTEGRATION|PCT_DISCOUNT|CREDIT]*)?/:unit((?!global)(?!PENDING)(?!CANCELLED)(?!EXPIRED)(?!REDEEMED)(?!AVAILABLE)[a-zA-Z0-9%]+)?/:status([PENDING|CANCELLED|EXPIRED|REDEEMED|AVAILABLE]*)?/:global?"));
2576
+ const RewardsCountByUnit = createHookStory(() => View("/rewardsCountFiltered/CREDIT/COFFEE", "/(rewardsCountFiltered)/:statType([INTEGRATION|PCT_DISCOUNT|CREDIT]*)?/:unit((?!global)(?!PENDING)(?!CANCELLED)(?!EXPIRED)(?!REDEEMED)(?!AVAILABLE)[a-zA-Z0-9%]+)?/:status([PENDING|CANCELLED|EXPIRED|REDEEMED|AVAILABLE]*)?/:global?"));
2577
+ const GlobalRewardsCountByUnit = createHookStory(() => View("/rewardsCountFiltered/CREDIT/COFFEE/global", "/(rewardsCountFiltered)/:statType([INTEGRATION|PCT_DISCOUNT|CREDIT]*)?/:unit((?!global)(?!PENDING)(?!CANCELLED)(?!EXPIRED)(?!REDEEMED)(?!AVAILABLE)[a-zA-Z0-9%]+)?/:status([PENDING|CANCELLED|EXPIRED|REDEEMED|AVAILABLE]*)?/:global?"));
2578
+ const GlobalPendingRewardsCount = createHookStory(() => View("/rewardsCountFiltered/CREDIT/COFFEE/PENDING/global", "/(rewardsCountFiltered)/:statType([INTEGRATION|PCT_DISCOUNT|CREDIT]*)?/:unit((?!global)(?!PENDING)(?!CANCELLED)(?!EXPIRED)(?!REDEEMED)(?!AVAILABLE)[a-zA-Z0-9%]+)?/:status([PENDING|CANCELLED|EXPIRED|REDEEMED|AVAILABLE]*)?/:global?"));
2579
+ const RewardsAvailableCount = createHookStory(() => View("/rewardsCountFiltered/AVAILABLE", "/(rewardsCountFiltered)/:statType([INTEGRATION|PCT_DISCOUNT|CREDIT]*)?/:unit((?!global)(?!PENDING)(?!CANCELLED)(?!EXPIRED)(?!REDEEMED)(?!AVAILABLE)[a-zA-Z0-9%]+)?/:status([PENDING|CANCELLED|EXPIRED|REDEEMED|AVAILABLE]*)?/:global?"));
2580
+ const GlobalRewardsCountByIntegration = createHookStory(() => View("/integrationRewardsCountFiltered/AVAILABLE/global", "/(integrationRewardsCountFiltered)/:format([PENDING|CANCELLED|EXPIRED|REDEEMED|AVAILABLE]*)?/:global?"));
2581
+ const GlobalRewardsCountByPendingIntegration = createHookStory(() => View("/integrationRewardsCountFiltered/PENDING/global", "/(integrationRewardsCountFiltered)/:format([PENDING|CANCELLED|EXPIRED|REDEEMED|AVAILABLE]*)?/:global?"));
2582
+ const RewardsMonth = createHookStory(() => View("/rewardsMonth", "/(rewardsMonth)/:global?"));
2583
+ const RewardsWeek = createHookStory(() => View("/rewardsWeek", "/(rewardsWeek)/:global?"));
2584
+ const RewardsAssigned = createHookStory(() => View("/rewardsAssigned/CREDIT/COFFEE", "/(rewardsAssigned)/:statType/:unit/:global?"));
2585
+ const RewardsAssignedCashUSD = createHookStory(() => View("/rewardsAssigned/CREDIT/CASH%2FUSD", "/(rewardsAssigned)/:statType/:unit/:global?"));
2586
+ const RewardsRedeemed = createHookStory(() => View("/rewardsRedeemed/CREDIT/COFFEE", "/(rewardsRedeemed)/:statType/:unit/:global?"));
2587
+ const RewardsAvailable = createHookStory(() => View("/rewardsAvailable/CREDIT/COFFEE", "/(rewardsAvailable)/:statType/:unit/:global?"));
2588
+ const RewardsAvailableWithSlash = createHookStory(() => View("/rewardsAvailable/CREDIT/CASH%2FUSD", "/(rewardsAvailable)/:statType/:unit/:global?"));
2589
+ const RewardBalance = createHookStory(() => View("/rewardBalance/CREDIT/COFFEE/prettyValue", "/(rewardBalance)/:statType/:unit/:format([prettyValue|value]*)?/:global?"));
2590
2590
  const RewardBalanceCashUSD = createHookStory(() => {
2591
2591
  const unit = encodeURIComponent("CASH/USD");
2592
- return View$1(`/rewardBalance/CREDIT/${unit}/prettyValue`, "/(rewardBalance)/:statType/:unit/:format([prettyValue|value]*)?/:global?");
2592
+ return View(`/rewardBalance/CREDIT/${unit}/prettyValue`, "/(rewardBalance)/:statType/:unit/:format([prettyValue|value]*)?/:global?");
2593
2593
  });
2594
2594
  const ProgramGoals = createHookStory(() => {
2595
2595
  const dummy = encodeURIComponent("Paid-Member-Goal/referrals");
2596
- return View$1(`/programGoals/count/${dummy}`, "/(programGoals)/:metricType/:goalId");
2596
+ return View(`/programGoals/count/${dummy}`, "/(programGoals)/:metricType/:goalId");
2597
2597
  });
2598
2598
  const CustomField = createHookStory(() => {
2599
- return View$1(`/customFields/thingCount`, "/(customFields)/:customField");
2599
+ return View(`/customFields/thingCount`, "/(customFields)/:customField");
2600
2600
  });
2601
2601
 
2602
2602
  const UseBigStat = /*#__PURE__*/Object.freeze({
@@ -2632,7 +2632,7 @@ const UseBigStat = /*#__PURE__*/Object.freeze({
2632
2632
  CustomField: CustomField
2633
2633
  });
2634
2634
 
2635
- function setupGraphQL$5() {
2635
+ function setupGraphQL$4() {
2636
2636
  const id = "worried-camera@uexwltgh.mailosaur.net";
2637
2637
  const accountId = id;
2638
2638
  const programId = "a-referral-program";
@@ -2643,22 +2643,22 @@ function setupGraphQL$5() {
2643
2643
  programId,
2644
2644
  };
2645
2645
  useEffect(() => {
2646
- ae$1({
2646
+ Y({
2647
2647
  accountId,
2648
2648
  id,
2649
2649
  jwt: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6IndvcnJpZWQtY2FtZXJhQHVleHdsdGdoLm1haWxvc2F1ci5uZXQiLCJpZCI6IndvcnJpZWQtY2FtZXJhQHVleHdsdGdoLm1haWxvc2F1ci5uZXQiLCJmaXJzdE5hbWUiOiJ0ZXN0IiwibGFzdE5hbWUiOiJ0ZXN0In19.ziDWbdCwsTo1ijxl8d2__Ga-6iFOVShaJUPp2ZBMeO0",
2650
2650
  });
2651
2651
  return () => {
2652
2652
  window.widgetIdent = undefined;
2653
- ae$1(undefined);
2653
+ Y(undefined);
2654
2654
  };
2655
2655
  }, []);
2656
2656
  }
2657
2657
  const UseEditProfile_stories = {
2658
2658
  title: "Hooks / useEditProfile",
2659
2659
  };
2660
- const RegularView = createHookStory(() => {
2661
- setupGraphQL$5();
2660
+ const RegularView$2 = createHookStory(() => {
2661
+ setupGraphQL$4();
2662
2662
  return (h("sqm-edit-profile", Object.assign({}, {
2663
2663
  editprofileheader: "HEADER",
2664
2664
  editprofiletext: "TEXT",
@@ -2673,13 +2673,13 @@ const RegularView = createHookStory(() => {
2673
2673
  const UseEditProfile = /*#__PURE__*/Object.freeze({
2674
2674
  __proto__: null,
2675
2675
  'default': UseEditProfile_stories,
2676
- RegularView: RegularView
2676
+ RegularView: RegularView$2
2677
2677
  });
2678
2678
 
2679
2679
  const UseLeaderboard_stories = {
2680
2680
  title: "Hooks / useLeaderboard",
2681
2681
  };
2682
- function setupGraphQL$4() {
2682
+ function setupGraphQL$5() {
2683
2683
  const id = "testestest";
2684
2684
  const accountId = id;
2685
2685
  const programId = "sam-partner-test-2";
@@ -2690,18 +2690,18 @@ function setupGraphQL$4() {
2690
2690
  programId,
2691
2691
  };
2692
2692
  useEffect(() => {
2693
- ae$1({
2693
+ Y({
2694
2694
  accountId,
2695
2695
  id,
2696
2696
  jwt: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InRlc3Rlc3Rlc3QiLCJpZCI6InRlc3Rlc3Rlc3QifX0.qYnU5hNeIj9C_G3NogfG7btgCPGZC7JRXY0MG6a63zs",
2697
2697
  });
2698
2698
  return () => {
2699
2699
  window.widgetIdent = undefined;
2700
- ae$1(undefined);
2700
+ Y(undefined);
2701
2701
  };
2702
2702
  }, []);
2703
2703
  }
2704
- const View = (overrideProps) => {
2704
+ const View$1 = (overrideProps) => {
2705
2705
  const props = {
2706
2706
  leaderboardType: "topConvertedReferrers",
2707
2707
  showRank: true,
@@ -2715,7 +2715,7 @@ const View = (overrideProps) => {
2715
2715
  };
2716
2716
  const { leaderboardType, rankType } = props;
2717
2717
  console.log(`View("${leaderboardType}") - CALLED`);
2718
- setupGraphQL$4();
2718
+ setupGraphQL$5();
2719
2719
  const { states, data, elements } = useLeaderboard(props);
2720
2720
  return (h("div", { style: { marginBottom: "20px" } },
2721
2721
  h("sqm-divided-layout", { direction: "row" },
@@ -2729,20 +2729,20 @@ const View = (overrideProps) => {
2729
2729
  h("hr", null)));
2730
2730
  };
2731
2731
  const TopConvertedReferrers = createHookStory(() => {
2732
- return [View(), View({ rankType: "rank" }), View({ rankType: "denseRank" })];
2732
+ return [View$1(), View$1({ rankType: "rank" }), View$1({ rankType: "denseRank" })];
2733
2733
  });
2734
2734
  const TopStartedReferrers = createHookStory(() => {
2735
2735
  return [
2736
- View({
2736
+ View$1({
2737
2737
  leaderboardType: "topStartedReferrers",
2738
2738
  statsheading: "New Referrals",
2739
2739
  }),
2740
- View({
2740
+ View$1({
2741
2741
  leaderboardType: "topStartedReferrers",
2742
2742
  rankType: "rank",
2743
2743
  statsheading: "New Referrals",
2744
2744
  }),
2745
- View({
2745
+ View$1({
2746
2746
  leaderboardType: "topStartedReferrers",
2747
2747
  rankType: "denseRank",
2748
2748
  statsheading: "New Referrals",
@@ -2806,7 +2806,7 @@ const EXCHANGE = dist.gql `
2806
2806
  const UseRewardExchangeList_stories = {
2807
2807
  title: "Hooks / useRewardExchange",
2808
2808
  };
2809
- function setupGraphQL$3() {
2809
+ function setupGraphQL$6() {
2810
2810
  const id = "testestest";
2811
2811
  const accountId = id;
2812
2812
  const programId = "sam-partner-test-2";
@@ -2817,23 +2817,23 @@ function setupGraphQL$3() {
2817
2817
  programId,
2818
2818
  };
2819
2819
  useEffect(() => {
2820
- ae$1({
2820
+ Y({
2821
2821
  accountId,
2822
2822
  id,
2823
2823
  jwt: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InRlc3Rlc3Rlc3QiLCJpZCI6InRlc3Rlc3Rlc3QifX0.qYnU5hNeIj9C_G3NogfG7btgCPGZC7JRXY0MG6a63zs",
2824
2824
  });
2825
2825
  return () => {
2826
2826
  window.widgetIdent = undefined;
2827
- ae$1(undefined);
2827
+ Y(undefined);
2828
2828
  };
2829
2829
  }, []);
2830
2830
  return { id, accountId };
2831
2831
  }
2832
2832
  function useExchangeButton() {
2833
- const { id, accountId } = setupGraphQL$3();
2833
+ const { id, accountId } = setupGraphQL$6();
2834
2834
  const [points, setPoints] = useState(10);
2835
2835
  const [rate, setRate] = useState(100);
2836
- const [exchange, { data, errors }] = _e(EXCHANGE);
2836
+ const [exchange, { data, errors }] = Ke(EXCHANGE);
2837
2837
  return {
2838
2838
  states: {
2839
2839
  points,
@@ -2874,7 +2874,7 @@ const DefaultView = (props) => {
2874
2874
  h("pre", { style: { maxWidth: "500px", whiteSpace: "pre-wrap" } }, JSON.stringify(data.errors))))));
2875
2875
  };
2876
2876
  const RewardList = createHookStory(() => {
2877
- setupGraphQL$3();
2877
+ setupGraphQL$6();
2878
2878
  return (h("sqm-reward-exchange-list", { "list-type": "something" }));
2879
2879
  });
2880
2880
  const FixedGlobalReward = createHookStory(() => {
@@ -2888,9 +2888,6 @@ const FixedGlobalReward = createHookStory(() => {
2888
2888
  unit: "POINT",
2889
2889
  },
2890
2890
  globalRewardKey: "gc1",
2891
- // rewardInput: {
2892
- // valueInCents: states.points * 100,
2893
- // },
2894
2891
  },
2895
2892
  } }));
2896
2893
  });
@@ -2942,52 +2939,50 @@ const UseRewardExchangeList = /*#__PURE__*/Object.freeze({
2942
2939
  const UseRewardsTable_stories = {
2943
2940
  title: "Hooks / useRewardsTable",
2944
2941
  };
2945
- function setupGraphQL$2() {
2942
+ function setupGraphQL$7() {
2946
2943
  const id = "testestest";
2947
2944
  const accountId = id;
2948
2945
  //@ts-ignore
2949
2946
  window.widgetIdent = {
2950
2947
  tenantAlias: "test_a8b41jotf8a1v",
2951
2948
  appDomain: "https://staging.referralsaasquatch.com",
2952
- // programId,
2953
2949
  };
2954
2950
  useEffect(() => {
2955
- ae$1({
2951
+ Y({
2956
2952
  accountId,
2957
2953
  id,
2958
2954
  jwt: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InRlc3Rlc3Rlc3QiLCJpZCI6InRlc3Rlc3Rlc3QifX0.qYnU5hNeIj9C_G3NogfG7btgCPGZC7JRXY0MG6a63zs",
2959
2955
  });
2960
2956
  return () => {
2961
2957
  window.widgetIdent = undefined;
2962
- ae$1(undefined);
2958
+ Y(undefined);
2963
2959
  };
2964
2960
  }, []);
2965
2961
  return { id, accountId };
2966
2962
  }
2967
- function setupGraphQLKlip$1({ token, id }) {
2963
+ function setupGraphQLKlip({ token, id }) {
2968
2964
  const accountId = id;
2969
2965
  // const programId = "klip-referral-program";
2970
2966
  //@ts-ignore
2971
2967
  window.widgetIdent = {
2972
2968
  tenantAlias: "test_a74miwdpofztj",
2973
2969
  appDomain: "https://staging.referralsaasquatch.com",
2974
- // programId,
2975
2970
  };
2976
2971
  useEffect(() => {
2977
- ae$1({
2972
+ Y({
2978
2973
  accountId,
2979
2974
  id,
2980
2975
  jwt: token,
2981
2976
  });
2982
2977
  return () => {
2983
2978
  window.widgetIdent = undefined;
2984
- ae$1(undefined);
2979
+ Y(undefined);
2985
2980
  };
2986
2981
  }, []);
2987
2982
  return { id, accountId };
2988
2983
  }
2989
2984
  const RewardsTableWithProgram = createHookStory(() => {
2990
- setupGraphQL$2();
2985
+ setupGraphQL$7();
2991
2986
  A$1("sam-partner-test-2");
2992
2987
  return (h("sqm-rewards-table", null,
2993
2988
  h("sqm-rewards-table-reward-column", null),
@@ -2996,7 +2991,7 @@ const RewardsTableWithProgram = createHookStory(() => {
2996
2991
  h("sqm-rewards-table-date-column", null)));
2997
2992
  });
2998
2993
  const RewardsTableNoProgram = createHookStory(() => {
2999
- setupGraphQL$2();
2994
+ setupGraphQL$7();
3000
2995
  A$1(undefined);
3001
2996
  return (h("sqm-rewards-table", null,
3002
2997
  h("sqm-rewards-table-reward-column", null),
@@ -3005,7 +3000,7 @@ const RewardsTableNoProgram = createHookStory(() => {
3005
3000
  h("sqm-rewards-table-date-column", null)));
3006
3001
  });
3007
3002
  const RewardsTableEn = createHookStory(() => {
3008
- setupGraphQLKlip$1({
3003
+ setupGraphQLKlip({
3009
3004
  token: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InNhbWVuZ2xpc2giLCJpZCI6InNhbWVuZ2xpc2gifX0._6OTVF3gcipu_ibgthUNr5UHwC-2E_lhCENI5HpYvcw",
3010
3005
  id: "samenglish",
3011
3006
  });
@@ -3017,7 +3012,7 @@ const RewardsTableEn = createHookStory(() => {
3017
3012
  h("sqm-rewards-table-date-column", null)));
3018
3013
  });
3019
3014
  const RewardsTableTr = createHookStory(() => {
3020
- setupGraphQLKlip$1({
3015
+ setupGraphQLKlip({
3021
3016
  token: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InNhbXR1cmtleSIsImlkIjoic2FtdHVya2V5In19.usSMe0RWg8W5FtwcvJayvAlxTw6vMxjTyWXaP8jI8_U",
3022
3017
  id: "samturkey",
3023
3018
  });
@@ -3029,7 +3024,7 @@ const RewardsTableTr = createHookStory(() => {
3029
3024
  h("sqm-rewards-table-date-column", { "column-title": "Tarih" })));
3030
3025
  });
3031
3026
  const RewardsTableFr = createHookStory(() => {
3032
- setupGraphQLKlip$1({
3027
+ setupGraphQLKlip({
3033
3028
  token: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InNhbWZyZW5jaCIsImlkIjoic2FtZnJlbmNoIn19.cwhasHpfU5MLV4vGbCQcazb6p19iSw5pD2zyrVHgePg",
3034
3029
  id: "samfrench",
3035
3030
  });
@@ -3055,7 +3050,7 @@ const JWT = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6In
3055
3050
  const UseTaskCard_stories = {
3056
3051
  title: "Hooks / useTaskCard",
3057
3052
  };
3058
- function setupGraphQL$1() {
3053
+ function setupGraphQL$8() {
3059
3054
  const id = "sam+klip@saasquat.ch";
3060
3055
  const accountId = id;
3061
3056
  const programId = "klip-referral-program";
@@ -3066,24 +3061,24 @@ function setupGraphQL$1() {
3066
3061
  programId,
3067
3062
  };
3068
3063
  useEffect(() => {
3069
- ae$1({
3064
+ Y({
3070
3065
  accountId,
3071
3066
  id,
3072
3067
  jwt: JWT,
3073
3068
  });
3074
3069
  return () => {
3075
3070
  window.widgetIdent = undefined;
3076
- ae$1(undefined);
3071
+ Y(undefined);
3077
3072
  };
3078
3073
  }, []);
3079
3074
  return { id, accountId };
3080
3075
  }
3081
- const TaskCard$2 = createHookStory(() => {
3082
- setupGraphQL$1();
3076
+ const TaskCard = createHookStory(() => {
3077
+ setupGraphQL$8();
3083
3078
  return (h("sqm-task-card", { "card-title": "Comment on 5 articles", "button-text": "Start reading", goal: 5, steps: true, "show-progress-bar": true, "event-key": "testEvent", "open-new-tab": true }));
3084
3079
  });
3085
3080
  const TaskCardFeed = createHookStory(() => {
3086
- setupGraphQL$1();
3081
+ setupGraphQL$8();
3087
3082
  return (h("sqm-card-feed", null,
3088
3083
  h("sqm-task-card", { "reward-amount": "75", "card-title": "Refer a Friend", description: "Invite a friend to Klip and get 75 points when they signup for a free trial or contact our us about an enterprise license.", "button-text": "Start referring", "button-link": "https://klip-staging.vercel.app/app/klip-rewards", goal: 1, repeatable: true, "completed-text": "", demoData: "", "ended-message": "", "event-key": "", "expiry-message": "", "progress-bar-unit": "", "reward-duration": "2022-01-04T08:00:00.000Z/2022-01-20T08:00:00.000Z", "reward-unit": "", "starts-on-message": "", "stat-type": "", "display-duration": "2022-01-04T08:00:00.000Z/2022-01-05T08:00:00.000Z" }),
3089
3084
  h("sqb-program-section", { "program-id": "klip-loyalty" },
@@ -3106,7 +3101,7 @@ const TaskCardFeed = createHookStory(() => {
3106
3101
  const UseTaskCard = /*#__PURE__*/Object.freeze({
3107
3102
  __proto__: null,
3108
3103
  'default': UseTaskCard_stories,
3109
- TaskCard: TaskCard$2,
3104
+ TaskCard: TaskCard,
3110
3105
  TaskCardFeed: TaskCardFeed
3111
3106
  });
3112
3107
 
@@ -3121,7 +3116,7 @@ const style = {
3121
3116
  };
3122
3117
  const sheet = createStyleSheet(style);
3123
3118
  const styleString = sheet.toString();
3124
- const barProps$1 = {
3119
+ const barProps = {
3125
3120
  data: {
3126
3121
  programs: [
3127
3122
  {
@@ -3135,7 +3130,7 @@ const barProps$1 = {
3135
3130
  ],
3136
3131
  },
3137
3132
  };
3138
- const item1Props$1 = {
3133
+ const item1Props = {
3139
3134
  states: {
3140
3135
  active: false,
3141
3136
  },
@@ -3145,7 +3140,7 @@ const item1Props$1 = {
3145
3140
  path: "/",
3146
3141
  },
3147
3142
  };
3148
- const item2Props$1 = {
3143
+ const item2Props = {
3149
3144
  states: {
3150
3145
  active: true,
3151
3146
  },
@@ -3155,12 +3150,12 @@ const item2Props$1 = {
3155
3150
  path: "/",
3156
3151
  },
3157
3152
  };
3158
- const Sidebar$1 = () => {
3159
- return (h(NavigationSidebarView, Object.assign({}, barProps$1),
3160
- h(NavigationSidebarItemView, Object.assign({}, item1Props$1)),
3161
- h(NavigationSidebarItemView, Object.assign({}, item2Props$1))));
3153
+ const Sidebar = () => {
3154
+ return (h(NavigationSidebarView, Object.assign({}, barProps),
3155
+ h(NavigationSidebarItemView, Object.assign({}, item1Props)),
3156
+ h(NavigationSidebarItemView, Object.assign({}, item2Props))));
3162
3157
  };
3163
- const Dashboard$1 = () => {
3158
+ const Dashboard = () => {
3164
3159
  const sharelinkProps = {
3165
3160
  shareString: "https://ssqt.co/johnsmithrox",
3166
3161
  open: false,
@@ -3216,7 +3211,7 @@ const Dashboard$1 = () => {
3216
3211
  };
3217
3212
  return (h("sqm-divided-layout", { direction: "row" },
3218
3213
  h("style", { type: "text/css" }, styleString),
3219
- h(Sidebar$1, null),
3214
+ h(Sidebar, null),
3220
3215
  h("sqm-divided-layout", { direction: "column" },
3221
3216
  h(PortalContainerView, Object.assign({}, { direction: "column", padding: "xxx-large", gap: "xxx-large" }),
3222
3217
  h(PortalSectionView, Object.assign({}, {
@@ -3274,7 +3269,7 @@ const Dashboard$1 = () => {
3274
3269
  const EditProfile$1 = () => {
3275
3270
  return (h("sqm-divided-layout", { direction: "row" },
3276
3271
  h("style", { type: "text/css" }, styleString),
3277
- h(Sidebar$1, null),
3272
+ h(Sidebar, null),
3278
3273
  h("sqm-divided-layout", { direction: "column" },
3279
3274
  h(PortalProfileView, Object.assign({}, {
3280
3275
  states: {
@@ -3338,7 +3333,7 @@ const EditProfile$1 = () => {
3338
3333
  const Commissions = () => {
3339
3334
  return (h("sqm-divided-layout", { direction: "row" },
3340
3335
  h("style", { type: "text/css" }, styleString),
3341
- h(Sidebar$1, null),
3336
+ h(Sidebar, null),
3342
3337
  h("sqm-divided-layout", { direction: "column" },
3343
3338
  h(PortalContainerView, Object.assign({}, { direction: "column", padding: "xxx-large", gap: "xxx-large" }),
3344
3339
  h(PortalSectionView, Object.assign({}, {
@@ -3360,10 +3355,10 @@ const Commissions = () => {
3360
3355
  h(BigStatView, Object.assign({}, { statvalue: "$ 180", value: 18000, loading: false }), "Pending"),
3361
3356
  h(BigStatView, Object.assign({}, { statvalue: "$ 20", value: 2000, loading: false }), "Redeemed"))))));
3362
3357
  };
3363
- const Activity$1 = () => {
3358
+ const Activity = () => {
3364
3359
  return (h("sqm-divided-layout", { direction: "row" },
3365
3360
  h("style", { type: "text/css" }, styleString),
3366
- h(Sidebar$1, null),
3361
+ h(Sidebar, null),
3367
3362
  h("sqm-divided-layout", { direction: "column" },
3368
3363
  h(PortalContainerView, Object.assign({}, { direction: "column", padding: "xxx-large", gap: "xxx-large" }),
3369
3364
  h(PortalSectionView, Object.assign({}, {
@@ -3405,10 +3400,10 @@ const Activity$1 = () => {
3405
3400
  const NewPortal = /*#__PURE__*/Object.freeze({
3406
3401
  __proto__: null,
3407
3402
  'default': NewPortal_stories,
3408
- Dashboard: Dashboard$1,
3403
+ Dashboard: Dashboard,
3409
3404
  EditProfile: EditProfile$1,
3410
3405
  Commissions: Commissions,
3411
- Activity: Activity$1
3406
+ Activity: Activity
3412
3407
  });
3413
3408
 
3414
3409
  const SidebarItem_stories = {
@@ -3500,7 +3495,7 @@ const NavigationSidebar = /*#__PURE__*/Object.freeze({
3500
3495
  const PortalLogin_stories = {
3501
3496
  title: "Components/Portal Login",
3502
3497
  };
3503
- const defaultProps$7 = {
3498
+ const defaultProps$2 = {
3504
3499
  states: {
3505
3500
  error: "",
3506
3501
  loading: false,
@@ -3512,7 +3507,7 @@ const defaultProps$7 = {
3512
3507
  },
3513
3508
  content: { pageLabel: "Sign in to your account" }
3514
3509
  };
3515
- const errorProps$8 = {
3510
+ const errorProps = {
3516
3511
  states: {
3517
3512
  error: "Something went wrong. Please try again.",
3518
3513
  loading: false,
@@ -3524,7 +3519,7 @@ const errorProps$8 = {
3524
3519
  },
3525
3520
  content: { pageLabel: "Sign in to your account" }
3526
3521
  };
3527
- const loadingProps$6 = {
3522
+ const loadingProps = {
3528
3523
  states: {
3529
3524
  error: "",
3530
3525
  loading: true,
@@ -3536,14 +3531,14 @@ const loadingProps$6 = {
3536
3531
  },
3537
3532
  content: { pageLabel: "Sign in to your account" }
3538
3533
  };
3539
- const Default$9 = () => h(PortalLoginView, Object.assign({}, defaultProps$7));
3540
- const LoginWithError = () => h(PortalLoginView, Object.assign({}, errorProps$8));
3541
- const LoginLoading = () => h(PortalLoginView, Object.assign({}, loadingProps$6));
3534
+ const Default$2 = () => h(PortalLoginView, Object.assign({}, defaultProps$2));
3535
+ const LoginWithError = () => h(PortalLoginView, Object.assign({}, errorProps));
3536
+ const LoginLoading = () => h(PortalLoginView, Object.assign({}, loadingProps));
3542
3537
 
3543
3538
  const PortalLogin = /*#__PURE__*/Object.freeze({
3544
3539
  __proto__: null,
3545
3540
  'default': PortalLogin_stories,
3546
- Default: Default$9,
3541
+ Default: Default$2,
3547
3542
  LoginWithError: LoginWithError,
3548
3543
  LoginLoading: LoginLoading
3549
3544
  });
@@ -3551,7 +3546,7 @@ const PortalLogin = /*#__PURE__*/Object.freeze({
3551
3546
  const PortalRegister_stories = {
3552
3547
  title: "Components/Portal Register",
3553
3548
  };
3554
- const defaultProps$6 = {
3549
+ const defaultProps$3 = {
3555
3550
  states: {
3556
3551
  error: "",
3557
3552
  loading: false,
@@ -3568,7 +3563,7 @@ const defaultProps$6 = {
3568
3563
  },
3569
3564
  content: { pageLabel: "Register", confirmPasswordLabel: "Confirm Password" },
3570
3565
  };
3571
- const errorProps$7 = {
3566
+ const errorProps$1 = {
3572
3567
  states: {
3573
3568
  error: "Something went wrong. Please try again.",
3574
3569
  loading: false,
@@ -3588,7 +3583,7 @@ const errorProps$7 = {
3588
3583
  confirmPasswordLabel: "Confirm Password",
3589
3584
  },
3590
3585
  };
3591
- const loadingProps$5 = {
3586
+ const loadingProps$1 = {
3592
3587
  states: {
3593
3588
  error: "",
3594
3589
  loading: true,
@@ -3628,9 +3623,9 @@ const slottedProps = {
3628
3623
  h("sl-input", { exportparts: "label: input-label", label: "Slotted Input 2", required: true }))),
3629
3624
  },
3630
3625
  };
3631
- const Default$8 = () => h(PortalRegisterView, Object.assign({}, defaultProps$6));
3632
- const RegisterWithError = () => h(PortalRegisterView, Object.assign({}, errorProps$7));
3633
- const RegisterLoading = () => h(PortalRegisterView, Object.assign({}, loadingProps$5));
3626
+ const Default$3 = () => h(PortalRegisterView, Object.assign({}, defaultProps$3));
3627
+ const RegisterWithError = () => h(PortalRegisterView, Object.assign({}, errorProps$1));
3628
+ const RegisterLoading = () => h(PortalRegisterView, Object.assign({}, loadingProps$1));
3634
3629
  const FieldsHidden = () => {
3635
3630
  return (h("sqm-portal-register", { demoData: {
3636
3631
  states: {
@@ -3643,8 +3638,8 @@ const FieldsHidden = () => {
3643
3638
  } }));
3644
3639
  };
3645
3640
  const SlottedInputs = () => h(PortalRegisterView, Object.assign({}, slottedProps));
3646
- const TermsAndConditions = () => (h(PortalRegisterView, Object.assign({}, defaultProps$6, { content: {
3647
- ...defaultProps$6.content,
3641
+ const TermsAndConditions = () => (h(PortalRegisterView, Object.assign({}, defaultProps$3, { content: {
3642
+ ...defaultProps$3.content,
3648
3643
  terms: (h("p", null,
3649
3644
  "By signing up you agree to the",
3650
3645
  " ",
@@ -3654,7 +3649,7 @@ const TermsAndConditions = () => (h(PortalRegisterView, Object.assign({}, defaul
3654
3649
  const PortalRegister = /*#__PURE__*/Object.freeze({
3655
3650
  __proto__: null,
3656
3651
  'default': PortalRegister_stories,
3657
- Default: Default$8,
3652
+ Default: Default$3,
3658
3653
  RegisterWithError: RegisterWithError,
3659
3654
  RegisterLoading: RegisterLoading,
3660
3655
  FieldsHidden: FieldsHidden,
@@ -3662,15 +3657,15 @@ const PortalRegister = /*#__PURE__*/Object.freeze({
3662
3657
  TermsAndConditions: TermsAndConditions
3663
3658
  });
3664
3659
 
3665
- const scenario$a = "@author:derek\r\n@owner:ian\r\nFeature: Forgot Password\r\n\r\n @motivating\r\n Scenario: Users can request to reset their password\r\n Given a user enters their email address\r\n And that email address is linked to a previously created account\r\n When they click \"Reset Password\"\r\n Then the button enters a loading state\r\n When the password reset email is sent\r\n Then a confirmation banner is shown stating a password reset email was sent\r\n\r\n @motivating\r\n Scenario: Users are notified if sending their password reset email fails\r\n Given a user enters their email address\r\n And that email address is linked to a previously created account\r\n When they click \"Reset Password\"\r\n Then the button enters a loading state\r\n When the password reset email fails to send\r\n Then the user does not receive a password reset email\r\n And an error banner is shown stating that they should try again\r\n\r\n @motivating\r\n @landmine\r\n Scenario: If the input email is not associated to an account a success banner is shown but an email is not be sent\r\n Given the user entered an email address that is not associated to an accoun\r\n When they click \"Reset Password\"\r\n Then the button enters a loading state\r\n But no email is sent\r\n And a success banner is shown stating a password reset email was sent if the given email was associated to an account\r\n\r\n @motivating\r\n Scenario: Users can resend password reset email\r\n Given a user had previously requested to reset their password\r\n When they enter their email address\r\n And that email address is linked to a previously created account\r\n And they click \"Reset Password\"\r\n Then the user receives a second password reset email\r\n And a success banner is shown stating that their email was sent\r\n\r\n @motivating\r\n Scenario Outline: The email link can be configured to redirect users to a specific base path but defaults to \"/resetPassword\"\r\n Given a user viewing the password reset component\r\n And the component <mayHave> \"redirect-path\" with <value>\r\n When they request a password reset email\r\n And they click the link in the email\r\n Then they are redirected to <redirectPath>\r\n Examples:\r\n | mayHave | value | redirectPath |\r\n | doesn't have | N/A | /resetPassword |\r\n | has | /resetMyPassword | /resetMyPassword |\r\n\r\n @minutae\r\n Scenario Outline: Navigation back to the login page can be customized but defaults to \"/login\"\r\n Given a user viewing the password reset component\r\n And the component <mayHave> \"login-path\" with <value>\r\n Then they see a \"Sign In\" text button\r\n When they click \"Sign In\"\r\n Then they are redirected to <redirectPath>\r\n Examples:\r\n | mayHave | value | redirectPath |\r\n | doesn't have | N/A | /login |\r\n | has | /signin | /signin |";
3660
+ const scenario = "@author:derek\r\n@owner:ian\r\nFeature: Forgot Password\r\n\r\n @motivating\r\n Scenario: Users can request to reset their password\r\n Given a user enters their email address\r\n And that email address is linked to a previously created account\r\n When they click \"Reset Password\"\r\n Then the button enters a loading state\r\n When the password reset email is sent\r\n Then a confirmation banner is shown stating a password reset email was sent\r\n\r\n @motivating\r\n Scenario: Users are notified if sending their password reset email fails\r\n Given a user enters their email address\r\n And that email address is linked to a previously created account\r\n When they click \"Reset Password\"\r\n Then the button enters a loading state\r\n When the password reset email fails to send\r\n Then the user does not receive a password reset email\r\n And an error banner is shown stating that they should try again\r\n\r\n @motivating\r\n @landmine\r\n Scenario: If the input email is not associated to an account a success banner is shown but an email is not be sent\r\n Given the user entered an email address that is not associated to an accoun\r\n When they click \"Reset Password\"\r\n Then the button enters a loading state\r\n But no email is sent\r\n And a success banner is shown stating a password reset email was sent if the given email was associated to an account\r\n\r\n @motivating\r\n Scenario: Users can resend password reset email\r\n Given a user had previously requested to reset their password\r\n When they enter their email address\r\n And that email address is linked to a previously created account\r\n And they click \"Reset Password\"\r\n Then the user receives a second password reset email\r\n And a success banner is shown stating that their email was sent\r\n\r\n @motivating\r\n Scenario Outline: The email link can be configured to redirect users to a specific base path but defaults to \"/resetPassword\"\r\n Given a user viewing the password reset component\r\n And the component <mayHave> \"redirect-path\" with <value>\r\n When they request a password reset email\r\n And they click the link in the email\r\n Then they are redirected to <redirectPath>\r\n Examples:\r\n | mayHave | value | redirectPath |\r\n | doesn't have | N/A | /resetPassword |\r\n | has | /resetMyPassword | /resetMyPassword |\r\n\r\n @minutae\r\n Scenario Outline: Navigation back to the login page can be customized but defaults to \"/login\"\r\n Given a user viewing the password reset component\r\n And the component <mayHave> \"login-path\" with <value>\r\n Then they see a \"Sign In\" text button\r\n When they click \"Sign In\"\r\n Then they are redirected to <redirectPath>\r\n Examples:\r\n | mayHave | value | redirectPath |\r\n | doesn't have | N/A | /login |\r\n | has | /signin | /signin |";
3666
3661
 
3667
3662
  const PortalForgotPassword_stories = {
3668
3663
  title: "Components/Portal Forgot Password",
3669
3664
  parameters: {
3670
- scenario: scenario$a,
3665
+ scenario,
3671
3666
  },
3672
3667
  };
3673
- const defaultProps$5 = {
3668
+ const defaultProps$4 = {
3674
3669
  states: {
3675
3670
  error: "",
3676
3671
  loading: false,
@@ -3685,7 +3680,7 @@ const defaultProps$5 = {
3685
3680
  messageSlot: "Enter your email below to receive a password reset link.",
3686
3681
  },
3687
3682
  };
3688
- const errorProps$6 = {
3683
+ const errorProps$2 = {
3689
3684
  states: {
3690
3685
  error: "Something went wrong. Please try again.",
3691
3686
  loading: false,
@@ -3700,7 +3695,7 @@ const errorProps$6 = {
3700
3695
  messageSlot: "Enter your email below to receive a password reset link.",
3701
3696
  },
3702
3697
  };
3703
- const loadingProps$4 = {
3698
+ const loadingProps$2 = {
3704
3699
  states: {
3705
3700
  error: "",
3706
3701
  loading: true,
@@ -3715,7 +3710,7 @@ const loadingProps$4 = {
3715
3710
  messageSlot: "Enter your email below to receive a password reset link.",
3716
3711
  },
3717
3712
  };
3718
- const successProps$4 = {
3713
+ const successProps = {
3719
3714
  states: {
3720
3715
  error: "",
3721
3716
  loading: false,
@@ -3730,29 +3725,29 @@ const successProps$4 = {
3730
3725
  messageSlot: "Enter your email below to receive a password reset link.",
3731
3726
  },
3732
3727
  };
3733
- const Default$7 = () => h(PortalForgotPasswordView, Object.assign({}, defaultProps$5));
3734
- const ForgotPasswordWithError = () => (h(PortalForgotPasswordView, Object.assign({}, errorProps$6)));
3735
- const ForgotPasswordLoading = () => (h(PortalForgotPasswordView, Object.assign({}, loadingProps$4)));
3736
- const ForgotPasswordSuccess = () => (h(PortalForgotPasswordView, Object.assign({}, successProps$4)));
3728
+ const Default$4 = () => h(PortalForgotPasswordView, Object.assign({}, defaultProps$4));
3729
+ const ForgotPasswordWithError = () => (h(PortalForgotPasswordView, Object.assign({}, errorProps$2)));
3730
+ const ForgotPasswordLoading = () => (h(PortalForgotPasswordView, Object.assign({}, loadingProps$2)));
3731
+ const ForgotPasswordSuccess = () => (h(PortalForgotPasswordView, Object.assign({}, successProps)));
3737
3732
 
3738
3733
  const PortalForgotPassword = /*#__PURE__*/Object.freeze({
3739
3734
  __proto__: null,
3740
3735
  'default': PortalForgotPassword_stories,
3741
- Default: Default$7,
3736
+ Default: Default$4,
3742
3737
  ForgotPasswordWithError: ForgotPasswordWithError,
3743
3738
  ForgotPasswordLoading: ForgotPasswordLoading,
3744
3739
  ForgotPasswordSuccess: ForgotPasswordSuccess
3745
3740
  });
3746
3741
 
3747
- const scenario$9 = "@author:derek\r\n@owner:ian\r\nFeature: Email Verification\r\n\r\n @minutae\r\n Scenario: User's redirected from registration can re-send their verification email\r\n Given a user has registered\r\n And they have been sent a verification email\r\n When they are redirected to the email verification page\r\n Then a message is displayed\r\n And it reflects that a email has been sent to their email\r\n But they can still re-send the email\r\n When they click to \"Resend-Email\"\r\n Then they receive a verification email\r\n\r\n @motivating\r\n Scenario: Users are notified if sending the email verification message fails\r\n Given a user viewing the email verification component\r\n And they have an email stored in session data from registration\r\n When they click to \"Resend-Email\"\r\n Then the button enters a loading state\r\n When an error occurs trying to send the verification email\r\n Then the user does not receive a verification email\r\n And an error banner is shown stating that they should try again\r\n\r\n @motivating\r\n Scenario: Users are notified if sending the email verification message succeeds\r\n Given a user viewing the email verification component\r\n And they have an email stored in session data from registration\r\n When they click to \"Resend-Email\"\r\n Then the button enters a loading state\r\n When the email verification message sends\r\n Then the user receives a verification email\r\n And a success banner is shown stating that their email was resent\r\n\r\n @motivating\r\n Scenario Outline: The email link can be configured to redirect users to a specific base path but defaults to \"/verifyEmail\"\r\n Given a user viewing the email verification component\r\n And they have an email stored in session data from registration\r\n And the component <mayHave> \"redirect-path\" with <value>\r\n When they resend their verification email\r\n And they click the link in the email\r\n Then they are redirected to <redirectPath>\r\n Examples:\r\n | mayHave | value | redirectPath |\r\n | doesn't have | N/A | /verifyEmail |\r\n | has | /verifyMyEmail | /verifyMyEmail |";
3742
+ const scenario$1 = "@author:derek\r\n@owner:ian\r\nFeature: Email Verification\r\n\r\n @minutae\r\n Scenario: User's redirected from registration can re-send their verification email\r\n Given a user has registered\r\n And they have been sent a verification email\r\n When they are redirected to the email verification page\r\n Then a message is displayed\r\n And it reflects that a email has been sent to their email\r\n But they can still re-send the email\r\n When they click to \"Resend-Email\"\r\n Then they receive a verification email\r\n\r\n @motivating\r\n Scenario: Users are notified if sending the email verification message fails\r\n Given a user viewing the email verification component\r\n And they have an email stored in session data from registration\r\n When they click to \"Resend-Email\"\r\n Then the button enters a loading state\r\n When an error occurs trying to send the verification email\r\n Then the user does not receive a verification email\r\n And an error banner is shown stating that they should try again\r\n\r\n @motivating\r\n Scenario: Users are notified if sending the email verification message succeeds\r\n Given a user viewing the email verification component\r\n And they have an email stored in session data from registration\r\n When they click to \"Resend-Email\"\r\n Then the button enters a loading state\r\n When the email verification message sends\r\n Then the user receives a verification email\r\n And a success banner is shown stating that their email was resent\r\n\r\n @motivating\r\n Scenario Outline: The email link can be configured to redirect users to a specific base path but defaults to \"/verifyEmail\"\r\n Given a user viewing the email verification component\r\n And they have an email stored in session data from registration\r\n And the component <mayHave> \"redirect-path\" with <value>\r\n When they resend their verification email\r\n And they click the link in the email\r\n Then they are redirected to <redirectPath>\r\n Examples:\r\n | mayHave | value | redirectPath |\r\n | doesn't have | N/A | /verifyEmail |\r\n | has | /verifyMyEmail | /verifyMyEmail |";
3748
3743
 
3749
3744
  const PortalEmailVerification_stories = {
3750
3745
  title: "Components/Portal Email Verification",
3751
3746
  parameters: {
3752
- scenario: scenario$9,
3747
+ scenario: scenario$1,
3753
3748
  },
3754
3749
  };
3755
- const defaultProps$4 = {
3750
+ const defaultProps$5 = {
3756
3751
  states: {
3757
3752
  error: "",
3758
3753
  loading: false,
@@ -3768,7 +3763,7 @@ const defaultProps$4 = {
3768
3763
  resendEmailButtonText: "Re-send Email",
3769
3764
  },
3770
3765
  };
3771
- const errorProps$5 = {
3766
+ const errorProps$3 = {
3772
3767
  states: {
3773
3768
  error: "Something went wrong. Please try again.",
3774
3769
  loading: false,
@@ -3800,7 +3795,7 @@ const loadingProps$3 = {
3800
3795
  resendEmailButtonText: "Re-send Email",
3801
3796
  },
3802
3797
  };
3803
- const successProps$3 = {
3798
+ const successProps$1 = {
3804
3799
  states: {
3805
3800
  error: "",
3806
3801
  loading: false,
@@ -3816,29 +3811,29 @@ const successProps$3 = {
3816
3811
  resendEmailButtonText: "Re-send Email",
3817
3812
  },
3818
3813
  };
3819
- const Default$6 = () => h(PortalEmailVerificationView, Object.assign({}, defaultProps$4));
3820
- const EmailVerificationWithError$1 = () => (h(PortalEmailVerificationView, Object.assign({}, errorProps$5)));
3814
+ const Default$5 = () => h(PortalEmailVerificationView, Object.assign({}, defaultProps$5));
3815
+ const EmailVerificationWithError = () => (h(PortalEmailVerificationView, Object.assign({}, errorProps$3)));
3821
3816
  const EmailVerificationLoading = () => (h(PortalEmailVerificationView, Object.assign({}, loadingProps$3)));
3822
- const EmailVerificationSuccess$1 = () => (h(PortalEmailVerificationView, Object.assign({}, successProps$3)));
3817
+ const EmailVerificationSuccess = () => (h(PortalEmailVerificationView, Object.assign({}, successProps$1)));
3823
3818
 
3824
3819
  const PortalEmailVerification = /*#__PURE__*/Object.freeze({
3825
3820
  __proto__: null,
3826
3821
  'default': PortalEmailVerification_stories,
3827
- Default: Default$6,
3828
- EmailVerificationWithError: EmailVerificationWithError$1,
3822
+ Default: Default$5,
3823
+ EmailVerificationWithError: EmailVerificationWithError,
3829
3824
  EmailVerificationLoading: EmailVerificationLoading,
3830
- EmailVerificationSuccess: EmailVerificationSuccess$1
3825
+ EmailVerificationSuccess: EmailVerificationSuccess
3831
3826
  });
3832
3827
 
3833
- const scenario$8 = "@author:derek\r\n@owner:ian\r\nFeature: Reset Password\r\n\r\n Background: A user in on the password reset page\r\n Given a user who has been redirected to the password reset page\r\n\r\n @motivating\r\n Scenario: Users can reset their password\r\n Given a user has a valid oob code as a url query parameter\r\n When they enter their password twice\r\n And they click \"Update\"\r\n Then their password is updated\r\n And a banner with a success message is displayed\r\n And they can log in with their new password\r\n\r\n @motivating\r\n Scenario Outline: Users cannot reset their password with an invalid or missing oob code\r\n Given a user has a <oobCode> as a url query parameter\r\n And the component <mayHave> \"failed-page\" with <value>\r\n Then they see an error message saying that their password reset code is invalid/expired\r\n When they click \"Continue\"\r\n Then they are redirected to <redirectPath>\r\n Examples:\r\n | oobCode | mayHave | value | redirectPath |\r\n | invalid oob code | doesn't have | N/A | / |\r\n | non existant oob code | doesn't have | N/A | / |\r\n | invalid oob code | has | /login | /login |\r\n | non existant oob code | has | /login | /login |\r\n\r\n @motivating\r\n Scenario: Users must enter the same password twice to successfully reset their password\r\n Given a user has been redirected to the password reset page\r\n And they have a valid oob code as a url query parameter\r\n When they enter two different passwords into the password reset form\r\n And they click \"Update\"\r\n Then their password is not be reset\r\n And an error banner stating the input passwords must match appears\r\n And their password is not be reset\r\n When they enter the same password twice\r\n And they click \"Update\"\r\n Then a banner appears with a success message\r\n And they can log in with their new password\r\n\r\n @motivating\r\n Scenario: Users are redirected to \"/\" by default\r\n Given the component does not have prop \"nextPage\"\r\n And the users url does not contain a \"nextPage\" query parameter\r\n And a user has entered their password twice\r\n When they click \"Update\"\r\n Then their password is updated\r\n And they are redirected to \"/\"\r\n\r\n @motivating\r\n Scenario: Custom redirection can be configured\r\n Given the component has prop \"nextPage\" with value \"/activity\"\r\n And the users url does not contain a \"nextPage\" query parameter\r\n And a user has entered their password twice\r\n When they click \"Update\"\r\n Then their password is updated\r\n And they are redirected to \"/activity\"";
3828
+ const scenario$2 = "@author:derek\r\n@owner:ian\r\nFeature: Reset Password\r\n\r\n Background: A user in on the password reset page\r\n Given a user who has been redirected to the password reset page\r\n\r\n @motivating\r\n Scenario: Users can reset their password\r\n Given a user has a valid oob code as a url query parameter\r\n When they enter their password twice\r\n And they click \"Update\"\r\n Then their password is updated\r\n And a banner with a success message is displayed\r\n And they can log in with their new password\r\n\r\n @motivating\r\n Scenario Outline: Users cannot reset their password with an invalid or missing oob code\r\n Given a user has a <oobCode> as a url query parameter\r\n And the component <mayHave> \"failed-page\" with <value>\r\n Then they see an error message saying that their password reset code is invalid/expired\r\n When they click \"Continue\"\r\n Then they are redirected to <redirectPath>\r\n Examples:\r\n | oobCode | mayHave | value | redirectPath |\r\n | invalid oob code | doesn't have | N/A | / |\r\n | non existant oob code | doesn't have | N/A | / |\r\n | invalid oob code | has | /login | /login |\r\n | non existant oob code | has | /login | /login |\r\n\r\n @motivating\r\n Scenario: Users must enter the same password twice to successfully reset their password\r\n Given a user has been redirected to the password reset page\r\n And they have a valid oob code as a url query parameter\r\n When they enter two different passwords into the password reset form\r\n And they click \"Update\"\r\n Then their password is not be reset\r\n And an error banner stating the input passwords must match appears\r\n And their password is not be reset\r\n When they enter the same password twice\r\n And they click \"Update\"\r\n Then a banner appears with a success message\r\n And they can log in with their new password\r\n\r\n @motivating\r\n Scenario: Users are redirected to \"/\" by default\r\n Given the component does not have prop \"nextPage\"\r\n And the users url does not contain a \"nextPage\" query parameter\r\n And a user has entered their password twice\r\n When they click \"Update\"\r\n Then their password is updated\r\n And they are redirected to \"/\"\r\n\r\n @motivating\r\n Scenario: Custom redirection can be configured\r\n Given the component has prop \"nextPage\" with value \"/activity\"\r\n And the users url does not contain a \"nextPage\" query parameter\r\n And a user has entered their password twice\r\n When they click \"Update\"\r\n Then their password is updated\r\n And they are redirected to \"/activity\"";
3834
3829
 
3835
3830
  const PortalResetPassword_stories = {
3836
3831
  title: "Components/Portal Reset Password",
3837
3832
  parameters: {
3838
- scenario: scenario$8,
3833
+ scenario: scenario$2,
3839
3834
  },
3840
3835
  };
3841
- const defaultProps$3 = {
3836
+ const defaultProps$6 = {
3842
3837
  states: {
3843
3838
  error: "",
3844
3839
  loading: false,
@@ -3907,7 +3902,7 @@ const errorProps$4 = {
3907
3902
  failed: () => console.log("failed"),
3908
3903
  },
3909
3904
  };
3910
- const loadingProps$2 = {
3905
+ const loadingProps$4 = {
3911
3906
  states: {
3912
3907
  error: "",
3913
3908
  loading: true,
@@ -3976,17 +3971,17 @@ const validatingCodeProps = {
3976
3971
  failed: () => console.log("failed"),
3977
3972
  },
3978
3973
  };
3979
- const Default$5 = () => h(PortalResetPasswordView, Object.assign({}, defaultProps$3));
3974
+ const Default$6 = () => h(PortalResetPasswordView, Object.assign({}, defaultProps$6));
3980
3975
  const DefaultWithoutConfirmField = () => (h(PortalResetPasswordView, Object.assign({}, defaultPropsNoConfirm)));
3981
3976
  const ResetPasswordWithError = () => (h(PortalResetPasswordView, Object.assign({}, errorProps$4)));
3982
- const ResetPasswordLoading = () => (h(PortalResetPasswordView, Object.assign({}, loadingProps$2)));
3977
+ const ResetPasswordLoading = () => (h(PortalResetPasswordView, Object.assign({}, loadingProps$4)));
3983
3978
  const ResetPasswordSuccess = () => (h(PortalResetPasswordView, Object.assign({}, successProps$2)));
3984
3979
  const CodeValidating = () => (h(PortalResetPasswordView, Object.assign({}, validatingCodeProps)));
3985
3980
 
3986
3981
  const PortalResetPassword = /*#__PURE__*/Object.freeze({
3987
3982
  __proto__: null,
3988
3983
  'default': PortalResetPassword_stories,
3989
- Default: Default$5,
3984
+ Default: Default$6,
3990
3985
  DefaultWithoutConfirmField: DefaultWithoutConfirmField,
3991
3986
  ResetPasswordWithError: ResetPasswordWithError,
3992
3987
  ResetPasswordLoading: ResetPasswordLoading,
@@ -3994,15 +3989,15 @@ const PortalResetPassword = /*#__PURE__*/Object.freeze({
3994
3989
  CodeValidating: CodeValidating
3995
3990
  });
3996
3991
 
3997
- const scenario$7 = "@author:derek\r\n@owner:ian\r\nFeature: Verify Email\r\n\r\n Background: A user is on the email verification page\r\n Given a user who has been redirected to the email verification page\r\n\r\n @motivating\r\n Scenario: Verifying your email takes you to the portal login page\r\n Given a user has a valid oob code as a url query parameter\r\n When they click \"Verify Email\"\r\n Then the button enters a loading state\r\n When their email is validated\r\n Then a button that says \"Continue\" appears\r\n When they click \"Continue\"\r\n Then they are redirected to login\r\n\r\n @motivating\r\n Scenario: Users are automatically redirected if they dont click \"Continue\"\r\n Given a user has a valid oob code as a url query parameter\r\n When they click \"Verify Email\"\r\n Then the button enters a loading state\r\n When their email is validated\r\n Then a button that says \"Continue\" appears\r\n When they wait 5 seconds\r\n Then they are redirected to login\r\n\r\n @motivating\r\n Scenario: Users are notified if verifying their email has failed\r\n Given a user has a valid oob code as a url query parameter\r\n When they click \"Verify Email\"\r\n Then the button enters a loading state\r\n When their email fails to be validated\r\n Then an banner is shown stating that an error occured\r\n\r\n @motivating\r\n Scenario Outline: Users cannot verify their email with an invalid or missing oob code\r\n Given a user has a <oobCode> as a url query parameter\r\n And the component <mayHave> \"failed-page\" with <value>\r\n Then they see an error message saying that their verification code is invalid/expired\r\n When they click \"Continue\"\r\n Then they are redirected to <redirectPath>\r\n Examples:\r\n | oobCode | mayHave | value | redirectPath |\r\n | invalid oob code | doesn't have | N/A | / |\r\n | non existant oob code | doesn't have | N/A | / |\r\n | invalid oob code | has | /login | /login |\r\n | non existant oob code | has | /login | /login |\r\n\r\n @motivating\r\n Scenario: Users are redirected to \"/\" by default\r\n Given the component does not have prop \"nextPage\"\r\n And the users url does not contain a \"nextPage\" query parameter\r\n And a user has verified their email\r\n When they click \"Continue\"\r\n Then they are redirected to \"/\"\r\n\r\n @motivating\r\n Scenario: Custom redirection can be configured\r\n Given the component has prop \"nextPage\" with value \"/activity\"\r\n And the users url does not contain a \"nextPage\" query parameter\r\n And a user has verified their email\r\n When they click \"Continue\"\r\n Then they are redirected to \"/activity\"\r\n\r\n @motivating\r\n Scenario Outline: Users are redirected to the value of the nextPage url parameter if it exists\r\n Given the component <mayHave> prop \"nextPage\" with <nextPageValue>\r\n And the users url contains a \"nextPage\" query paramater with <nextPageParamValue>\r\n And the user has verified their email\r\n When they click \"Continue\"\r\n Then they are redirected to <nextPageParamValue>\r\n Examples:\r\n | mayHave | nextPageValue | nextPageParamValue |\r\n | has | /dashboard | /activity |\r\n | does not have | N/A | /activity |";
3992
+ const scenario$3 = "@author:derek\r\n@owner:ian\r\nFeature: Verify Email\r\n\r\n Background: A user is on the email verification page\r\n Given a user who has been redirected to the email verification page\r\n\r\n @motivating\r\n Scenario: Verifying your email takes you to the portal login page\r\n Given a user has a valid oob code as a url query parameter\r\n When they click \"Verify Email\"\r\n Then the button enters a loading state\r\n When their email is validated\r\n Then a button that says \"Continue\" appears\r\n When they click \"Continue\"\r\n Then they are redirected to login\r\n\r\n @motivating\r\n Scenario: Users are automatically redirected if they dont click \"Continue\"\r\n Given a user has a valid oob code as a url query parameter\r\n When they click \"Verify Email\"\r\n Then the button enters a loading state\r\n When their email is validated\r\n Then a button that says \"Continue\" appears\r\n When they wait 5 seconds\r\n Then they are redirected to login\r\n\r\n @motivating\r\n Scenario: Users are notified if verifying their email has failed\r\n Given a user has a valid oob code as a url query parameter\r\n When they click \"Verify Email\"\r\n Then the button enters a loading state\r\n When their email fails to be validated\r\n Then an banner is shown stating that an error occured\r\n\r\n @motivating\r\n Scenario Outline: Users cannot verify their email with an invalid or missing oob code\r\n Given a user has a <oobCode> as a url query parameter\r\n And the component <mayHave> \"failed-page\" with <value>\r\n Then they see an error message saying that their verification code is invalid/expired\r\n When they click \"Continue\"\r\n Then they are redirected to <redirectPath>\r\n Examples:\r\n | oobCode | mayHave | value | redirectPath |\r\n | invalid oob code | doesn't have | N/A | / |\r\n | non existant oob code | doesn't have | N/A | / |\r\n | invalid oob code | has | /login | /login |\r\n | non existant oob code | has | /login | /login |\r\n\r\n @motivating\r\n Scenario: Users are redirected to \"/\" by default\r\n Given the component does not have prop \"nextPage\"\r\n And the users url does not contain a \"nextPage\" query parameter\r\n And a user has verified their email\r\n When they click \"Continue\"\r\n Then they are redirected to \"/\"\r\n\r\n @motivating\r\n Scenario: Custom redirection can be configured\r\n Given the component has prop \"nextPage\" with value \"/activity\"\r\n And the users url does not contain a \"nextPage\" query parameter\r\n And a user has verified their email\r\n When they click \"Continue\"\r\n Then they are redirected to \"/activity\"\r\n\r\n @motivating\r\n Scenario Outline: Users are redirected to the value of the nextPage url parameter if it exists\r\n Given the component <mayHave> prop \"nextPage\" with <nextPageValue>\r\n And the users url contains a \"nextPage\" query paramater with <nextPageParamValue>\r\n And the user has verified their email\r\n When they click \"Continue\"\r\n Then they are redirected to <nextPageParamValue>\r\n Examples:\r\n | mayHave | nextPageValue | nextPageParamValue |\r\n | has | /dashboard | /activity |\r\n | does not have | N/A | /activity |";
3998
3993
 
3999
3994
  const PortalVerifyEmail_stories = {
4000
3995
  title: "Components/Portal Verify Email",
4001
3996
  parameters: {
4002
- scenario: scenario$7,
3997
+ scenario: scenario$3,
4003
3998
  },
4004
3999
  };
4005
- const errorProps$3 = {
4000
+ const errorProps$5 = {
4006
4001
  states: {
4007
4002
  error: "Something went wrong. Please try again.",
4008
4003
  loading: false,
@@ -4030,20 +4025,20 @@ const verifiedProps = {
4030
4025
  failed: () => console.log("failed"),
4031
4026
  },
4032
4027
  };
4033
- const EmailVerificationWithError = () => (h(PortalVerifyEmailView, Object.assign({}, errorProps$3)));
4034
- const EmailVerificationSuccess = () => (h(PortalVerifyEmailView, Object.assign({}, verifiedProps)));
4028
+ const EmailVerificationWithError$1 = () => (h(PortalVerifyEmailView, Object.assign({}, errorProps$5)));
4029
+ const EmailVerificationSuccess$1 = () => (h(PortalVerifyEmailView, Object.assign({}, verifiedProps)));
4035
4030
 
4036
4031
  const PortalVerifyEmail = /*#__PURE__*/Object.freeze({
4037
4032
  __proto__: null,
4038
4033
  'default': PortalVerifyEmail_stories,
4039
- EmailVerificationWithError: EmailVerificationWithError,
4040
- EmailVerificationSuccess: EmailVerificationSuccess
4034
+ EmailVerificationWithError: EmailVerificationWithError$1,
4035
+ EmailVerificationSuccess: EmailVerificationSuccess$1
4041
4036
  });
4042
4037
 
4043
4038
  const AssetCard_stories = {
4044
4039
  title: "Components/Asset Card",
4045
4040
  };
4046
- const Default$4 = () => {
4041
+ const Default$7 = () => {
4047
4042
  const props = {
4048
4043
  text: { titleText: "Marketing Banner" },
4049
4044
  imgUrl: "../../assets/saasquatch-logo.png",
@@ -4071,7 +4066,7 @@ const CardWithNoImg = () => {
4071
4066
  const AssetCard = /*#__PURE__*/Object.freeze({
4072
4067
  __proto__: null,
4073
4068
  'default': AssetCard_stories,
4074
- Default: Default$4,
4069
+ Default: Default$7,
4075
4070
  CardWithLongText: CardWithLongText,
4076
4071
  CardWithNoImg: CardWithNoImg
4077
4072
  });
@@ -4079,7 +4074,7 @@ const AssetCard = /*#__PURE__*/Object.freeze({
4079
4074
  const DividedLayout_stories = {
4080
4075
  title: "Components/Divided Layout",
4081
4076
  };
4082
- const barProps = {
4077
+ const barProps$1 = {
4083
4078
  data: {
4084
4079
  programs: [
4085
4080
  {
@@ -4093,7 +4088,7 @@ const barProps = {
4093
4088
  ],
4094
4089
  },
4095
4090
  };
4096
- const item1Props = {
4091
+ const item1Props$1 = {
4097
4092
  states: {
4098
4093
  active: false,
4099
4094
  },
@@ -4103,7 +4098,7 @@ const item1Props = {
4103
4098
  path: "/",
4104
4099
  },
4105
4100
  };
4106
- const item2Props = {
4101
+ const item2Props$1 = {
4107
4102
  states: {
4108
4103
  active: true,
4109
4104
  },
@@ -4113,14 +4108,14 @@ const item2Props = {
4113
4108
  path: "/",
4114
4109
  },
4115
4110
  };
4116
- const Sidebar = () => {
4117
- return (h(NavigationSidebarView, Object.assign({}, barProps),
4118
- h(NavigationSidebarItemView, Object.assign({}, item1Props)),
4119
- h(NavigationSidebarItemView, Object.assign({}, item2Props))));
4111
+ const Sidebar$1 = () => {
4112
+ return (h(NavigationSidebarView, Object.assign({}, barProps$1),
4113
+ h(NavigationSidebarItemView, Object.assign({}, item1Props$1)),
4114
+ h(NavigationSidebarItemView, Object.assign({}, item2Props$1))));
4120
4115
  };
4121
4116
  const Row = () => {
4122
4117
  return (h("sqm-divided-layout", { direction: "row" },
4123
- h(Sidebar, null),
4118
+ h(Sidebar$1, null),
4124
4119
  h("div", { style: { padding: "48px" } },
4125
4120
  h(PortalSectionView, Object.assign({}, {
4126
4121
  labelMargin: "xx-small",
@@ -4133,7 +4128,7 @@ const Row = () => {
4133
4128
  };
4134
4129
  const Column = () => {
4135
4130
  return (h("sqm-divided-layout", { direction: "column" },
4136
- h(Sidebar, null),
4131
+ h(Sidebar$1, null),
4137
4132
  h("div", { style: { padding: "48px" } },
4138
4133
  h(PortalSectionView, Object.assign({}, {
4139
4134
  labelMargin: "xx-small",
@@ -4146,7 +4141,7 @@ const Column = () => {
4146
4141
  };
4147
4142
  const ColumnCustomDivider = () => {
4148
4143
  return (h("sqm-divided-layout", { direction: "column", dividerStyle: "1px solid red" },
4149
- h(Sidebar, null),
4144
+ h(Sidebar$1, null),
4150
4145
  h("div", { style: { padding: "48px" } },
4151
4146
  h(PortalSectionView, Object.assign({}, {
4152
4147
  labelMargin: "xx-small",
@@ -4166,15 +4161,15 @@ const DividedLayout = /*#__PURE__*/Object.freeze({
4166
4161
  ColumnCustomDivider: ColumnCustomDivider
4167
4162
  });
4168
4163
 
4169
- const scenario$6 = "Feature: Change Password\r\n\r\n @motivating\r\n Scenario: Users can change their password\r\n Given a user has registered for the portal\r\n And they have a password\r\n When they navigate to the edit profile page\r\n And click \"Change your password...\"\r\n Then a popup will appear\r\n When they enter their new password\r\n And confirm it\r\n And click \"Change Password\"\r\n Then they will see a success banner stating that the change was successful\r\n When they logout\r\n And try to login\r\n Then they will not be able to login with their old password\r\n But they will be able to login with their new password\r\n\r\n @motivating\r\n Scenario: Users must confirm their password change\r\n Given a user has registered for the portal\r\n When they navigate to the edit profile page\r\n And click \"Change your password...\"\r\n Then a popup will appear\r\n When they enter their new password\r\n But they enter a different password to confirm\r\n And click \"Change Password\"\r\n Then they will see an error banner stating that the passwords didnt match\r\n When they logout\r\n And try to login\r\n Then they will be able to login with their existing password\r\n\r\n @motivating\r\n Scenario: Users must enter a new password and confirm it to change their password\r\n Given a user has registered for the portal\r\n When they navigate to the edit profile page\r\n And click \"Change your password...\"\r\n Then a popup will appear\r\n When they click \"Change password\"\r\n Then a validation error will appear for the new password field\r\n And their password will not be changed\r\n When they enter a new password\r\n And they click \"Change password\"\r\n Then a validation error will appear for the confirm new password field\r\n And their password will not be changed\r\n\r\n @motivating\r\n Scenario: An error banner will be displayed if the password change fails\r\n Given a user has registered for the portal\r\n When they navigate to the edit profile page\r\n And click \"Change your password...\"\r\n When they enter their new password\r\n And confirm it\r\n And click \"Change Password\"\r\n But the change fails\r\n Then they will see an error banner stating that the change failed\r\n When they logout\r\n And try to login\r\n Then they will be able to login with their existing password";
4164
+ const scenario$4 = "Feature: Change Password\r\n\r\n @motivating\r\n Scenario: Users can change their password\r\n Given a user has registered for the portal\r\n And they have a password\r\n When they navigate to the edit profile page\r\n And click \"Change your password...\"\r\n Then a popup will appear\r\n When they enter their new password\r\n And confirm it\r\n And click \"Change Password\"\r\n Then they will see a success banner stating that the change was successful\r\n When they logout\r\n And try to login\r\n Then they will not be able to login with their old password\r\n But they will be able to login with their new password\r\n\r\n @motivating\r\n Scenario: Users must confirm their password change\r\n Given a user has registered for the portal\r\n When they navigate to the edit profile page\r\n And click \"Change your password...\"\r\n Then a popup will appear\r\n When they enter their new password\r\n But they enter a different password to confirm\r\n And click \"Change Password\"\r\n Then they will see an error banner stating that the passwords didnt match\r\n When they logout\r\n And try to login\r\n Then they will be able to login with their existing password\r\n\r\n @motivating\r\n Scenario: Users must enter a new password and confirm it to change their password\r\n Given a user has registered for the portal\r\n When they navigate to the edit profile page\r\n And click \"Change your password...\"\r\n Then a popup will appear\r\n When they click \"Change password\"\r\n Then a validation error will appear for the new password field\r\n And their password will not be changed\r\n When they enter a new password\r\n And they click \"Change password\"\r\n Then a validation error will appear for the confirm new password field\r\n And their password will not be changed\r\n\r\n @motivating\r\n Scenario: An error banner will be displayed if the password change fails\r\n Given a user has registered for the portal\r\n When they navigate to the edit profile page\r\n And click \"Change your password...\"\r\n When they enter their new password\r\n And confirm it\r\n And click \"Change Password\"\r\n But the change fails\r\n Then they will see an error banner stating that the change failed\r\n When they logout\r\n And try to login\r\n Then they will be able to login with their existing password";
4170
4165
 
4171
4166
  const ChangePassword_stories = {
4172
4167
  title: "Components/Change Password",
4173
4168
  parameters: {
4174
- scenario: scenario$6,
4169
+ scenario: scenario$4,
4175
4170
  },
4176
4171
  };
4177
- const defaultProps$2 = {
4172
+ const defaultProps$7 = {
4178
4173
  states: {
4179
4174
  open: false,
4180
4175
  loading: false,
@@ -4218,7 +4213,7 @@ const openProps = {
4218
4213
  submit: (e) => console.log("Submit", e),
4219
4214
  },
4220
4215
  };
4221
- const errorProps$2 = {
4216
+ const errorProps$6 = {
4222
4217
  states: {
4223
4218
  open: true,
4224
4219
  loading: false,
@@ -4262,7 +4257,7 @@ const passwordErrorProps = {
4262
4257
  submit: (e) => console.log("Submit", e),
4263
4258
  },
4264
4259
  };
4265
- const loadingProps$1 = {
4260
+ const loadingProps$5 = {
4266
4261
  states: {
4267
4262
  open: true,
4268
4263
  loading: true,
@@ -4284,7 +4279,7 @@ const loadingProps$1 = {
4284
4279
  submit: (e) => console.log("Submit", e),
4285
4280
  },
4286
4281
  };
4287
- const successProps$1 = {
4282
+ const successProps$3 = {
4288
4283
  states: {
4289
4284
  open: true,
4290
4285
  loading: false,
@@ -4306,28 +4301,28 @@ const successProps$1 = {
4306
4301
  submit: (e) => console.log("Submit", e),
4307
4302
  },
4308
4303
  };
4309
- const Default$3 = () => h(PortalChangePasswordView, Object.assign({}, defaultProps$2));
4304
+ const Default$8 = () => h(PortalChangePasswordView, Object.assign({}, defaultProps$7));
4310
4305
  const Open = () => h(PortalChangePasswordView, Object.assign({}, openProps));
4311
- const Error$3 = () => h(PortalChangePasswordView, Object.assign({}, errorProps$2));
4306
+ const Error$1 = () => h(PortalChangePasswordView, Object.assign({}, errorProps$6));
4312
4307
  const PaswordError = () => (h(PortalChangePasswordView, Object.assign({}, passwordErrorProps)));
4313
- const Loading$2 = () => h(PortalChangePasswordView, Object.assign({}, loadingProps$1));
4314
- const Success$1 = () => h(PortalChangePasswordView, Object.assign({}, successProps$1));
4308
+ const Loading$1 = () => h(PortalChangePasswordView, Object.assign({}, loadingProps$5));
4309
+ const Success = () => h(PortalChangePasswordView, Object.assign({}, successProps$3));
4315
4310
 
4316
4311
  const ChangePassword = /*#__PURE__*/Object.freeze({
4317
4312
  __proto__: null,
4318
4313
  'default': ChangePassword_stories,
4319
- Default: Default$3,
4314
+ Default: Default$8,
4320
4315
  Open: Open,
4321
- Error: Error$3,
4316
+ Error: Error$1,
4322
4317
  PaswordError: PaswordError,
4323
- Loading: Loading$2,
4324
- Success: Success$1
4318
+ Loading: Loading$1,
4319
+ Success: Success
4325
4320
  });
4326
4321
 
4327
4322
  const PortalProfile_stories = {
4328
4323
  title: "Components/Portal Profile",
4329
4324
  };
4330
- const defaultProps$1 = {
4325
+ const defaultProps$8 = {
4331
4326
  states: {
4332
4327
  success: false,
4333
4328
  loading: false,
@@ -4399,7 +4394,7 @@ const noCountry = {
4399
4394
  onChange: (e) => console.log(e),
4400
4395
  },
4401
4396
  };
4402
- const loadingProps = {
4397
+ const loadingProps$6 = {
4403
4398
  states: {
4404
4399
  success: false,
4405
4400
  loading: true,
@@ -4471,7 +4466,7 @@ const disabledProps = {
4471
4466
  onChange: (e) => console.log(e),
4472
4467
  },
4473
4468
  };
4474
- const errorProps$1 = {
4469
+ const errorProps$7 = {
4475
4470
  states: {
4476
4471
  success: false,
4477
4472
  loading: false,
@@ -4507,7 +4502,7 @@ const errorProps$1 = {
4507
4502
  onChange: (e) => console.log(e),
4508
4503
  },
4509
4504
  };
4510
- const successProps = {
4505
+ const successProps$4 = {
4511
4506
  states: {
4512
4507
  success: true,
4513
4508
  loading: false,
@@ -4543,28 +4538,28 @@ const successProps = {
4543
4538
  onChange: (e) => console.log(e),
4544
4539
  },
4545
4540
  };
4546
- const Default$2 = () => h(PortalProfileView, Object.assign({}, defaultProps$1));
4541
+ const Default$9 = () => h(PortalProfileView, Object.assign({}, defaultProps$8));
4547
4542
  const DefaultNoCountry = () => h(PortalProfileView, Object.assign({}, noCountry));
4548
- const Loading$1 = () => h(PortalProfileView, Object.assign({}, loadingProps));
4549
- const Disabled = () => h(PortalProfileView, Object.assign({}, disabledProps));
4550
- const Error$2 = () => h(PortalProfileView, Object.assign({}, errorProps$1));
4551
- const Success = () => h(PortalProfileView, Object.assign({}, successProps));
4543
+ const Loading$2 = () => h(PortalProfileView, Object.assign({}, loadingProps$6));
4544
+ const Disabled$1 = () => h(PortalProfileView, Object.assign({}, disabledProps));
4545
+ const Error$2 = () => h(PortalProfileView, Object.assign({}, errorProps$7));
4546
+ const Success$1 = () => h(PortalProfileView, Object.assign({}, successProps$4));
4552
4547
 
4553
4548
  const PortalProfile = /*#__PURE__*/Object.freeze({
4554
4549
  __proto__: null,
4555
4550
  'default': PortalProfile_stories,
4556
- Default: Default$2,
4551
+ Default: Default$9,
4557
4552
  DefaultNoCountry: DefaultNoCountry,
4558
- Loading: Loading$1,
4559
- Disabled: Disabled,
4553
+ Loading: Loading$2,
4554
+ Disabled: Disabled$1,
4560
4555
  Error: Error$2,
4561
- Success: Success
4556
+ Success: Success$1
4562
4557
  });
4563
4558
 
4564
4559
  const ReferralTableRewardsCell_stories = {
4565
4560
  title: "Components/Referral Table Rewards Cell",
4566
4561
  };
4567
- const baseReward$2 = {
4562
+ const baseReward = {
4568
4563
  id: "123",
4569
4564
  type: "CREDIT",
4570
4565
  value: 19,
@@ -4598,7 +4593,7 @@ const baseReward$2 = {
4598
4593
  ],
4599
4594
  },
4600
4595
  };
4601
- const nullExpiresIn$1 = {
4596
+ const nullExpiresIn = {
4602
4597
  dateExpires: null,
4603
4598
  };
4604
4599
  const nullScheduledFor = {
@@ -4621,62 +4616,62 @@ const integrationReward = {
4621
4616
  type: "INTEGRATION",
4622
4617
  };
4623
4618
  // Reward Status Cases
4624
- const pendingReward$1 = {
4619
+ const pendingReward = {
4625
4620
  statuses: ["AVAILABLE", "PENDING"],
4626
4621
  };
4627
- const cancelledReward$1 = {
4622
+ const cancelledReward = {
4628
4623
  statuses: ["PENDING", "CANCELLED"],
4629
4624
  dateCancelled: 1626850800000,
4630
4625
  };
4631
- const expiredReward$1 = {
4626
+ const expiredReward = {
4632
4627
  statuses: ["EXPIRED", "AVAILABLE"],
4633
4628
  dateExpires: 1626850800000,
4634
4629
  };
4635
4630
  const redeemedReward = {
4636
4631
  statuses: ["AVAILABLE", "EXPIRED", "REDEEMED"],
4637
4632
  };
4638
- const availableReward$1 = {
4633
+ const availableReward = {
4639
4634
  statuses: ["AVAILABLE"],
4640
4635
  };
4641
4636
  const zeroRewards = [];
4642
- const oneReward = [{ ...baseReward$2, ...availableReward$1 }];
4637
+ const oneReward = [{ ...baseReward, ...availableReward }];
4643
4638
  const twoRewards = [
4644
- { ...baseReward$2, ...discountReward, ...pendingReward$1 },
4645
- { ...baseReward$2, ...creditReward },
4639
+ { ...baseReward, ...discountReward, ...pendingReward },
4640
+ { ...baseReward, ...creditReward },
4646
4641
  ];
4647
4642
  const threeRewards = [
4648
- { ...baseReward$2, ...fuelTankReward, ...nullExpiresIn$1 },
4649
- { ...baseReward$2, ...fuelTankReward, ...expiredReward$1 },
4650
- { ...baseReward$2, ...pendingReward$1, ...nullFuelTank },
4643
+ { ...baseReward, ...fuelTankReward, ...nullExpiresIn },
4644
+ { ...baseReward, ...fuelTankReward, ...expiredReward },
4645
+ { ...baseReward, ...pendingReward, ...nullFuelTank },
4651
4646
  ];
4652
4647
  const fiveRewards = [
4653
- { ...baseReward$2, ...fuelTankReward },
4654
- { ...baseReward$2, ...integrationReward },
4655
- { ...baseReward$2, ...pendingReward$1 },
4656
- { ...baseReward$2, ...cancelledReward$1, ...nullExpiresIn$1, ...nullFuelTank },
4657
- { ...baseReward$2, ...expiredReward$1, ...nullFuelTank },
4648
+ { ...baseReward, ...fuelTankReward },
4649
+ { ...baseReward, ...integrationReward },
4650
+ { ...baseReward, ...pendingReward },
4651
+ { ...baseReward, ...cancelledReward, ...nullExpiresIn, ...nullFuelTank },
4652
+ { ...baseReward, ...expiredReward, ...nullFuelTank },
4658
4653
  ];
4659
4654
  const eightRewards = [
4660
- { ...baseReward$2, ...redeemedReward, ...nullFuelTank },
4661
- { ...baseReward$2, ...availableReward$1, ...nullExpiresIn$1 },
4662
- { ...baseReward$2, ...pendingReward$1 },
4663
- { ...baseReward$2, ...cancelledReward$1 },
4664
- { ...baseReward$2, ...expiredReward$1 },
4665
- { ...baseReward$2, ...pendingReward$1, ...nullExpiresIn$1, ...nullScheduledFor },
4666
- { ...baseReward$2, ...cancelledReward$1 },
4667
- { ...baseReward$2, ...expiredReward$1 },
4655
+ { ...baseReward, ...redeemedReward, ...nullFuelTank },
4656
+ { ...baseReward, ...availableReward, ...nullExpiresIn },
4657
+ { ...baseReward, ...pendingReward },
4658
+ { ...baseReward, ...cancelledReward },
4659
+ { ...baseReward, ...expiredReward },
4660
+ { ...baseReward, ...pendingReward, ...nullExpiresIn, ...nullScheduledFor },
4661
+ { ...baseReward, ...cancelledReward },
4662
+ { ...baseReward, ...expiredReward },
4668
4663
  ];
4669
4664
  const tenRewards = [
4670
- { ...baseReward$2, ...integrationReward },
4671
- { ...baseReward$2, ...redeemedReward },
4672
- { ...baseReward$2, ...availableReward$1 },
4673
- { ...baseReward$2, ...cancelledReward$1, ...nullExpiresIn$1 },
4674
- { ...baseReward$2, ...expiredReward$1 },
4675
- { ...baseReward$2, ...pendingReward$1 },
4676
- { ...baseReward$2, ...discountReward },
4677
- { ...baseReward$2, ...fuelTankReward },
4678
- { ...baseReward$2, ...cancelledReward$1, ...nullExpiresIn$1 },
4679
- { ...baseReward$2, ...creditReward },
4665
+ { ...baseReward, ...integrationReward },
4666
+ { ...baseReward, ...redeemedReward },
4667
+ { ...baseReward, ...availableReward },
4668
+ { ...baseReward, ...cancelledReward, ...nullExpiresIn },
4669
+ { ...baseReward, ...expiredReward },
4670
+ { ...baseReward, ...pendingReward },
4671
+ { ...baseReward, ...discountReward },
4672
+ { ...baseReward, ...fuelTankReward },
4673
+ { ...baseReward, ...cancelledReward, ...nullExpiresIn },
4674
+ { ...baseReward, ...creditReward },
4680
4675
  ];
4681
4676
  function getSeconds() {
4682
4677
  return luxon.DateTime.now().toMillis() + 10000;
@@ -4697,62 +4692,62 @@ function getYears() {
4697
4692
  return luxon.DateTime.now().toMillis() + 200000000000;
4698
4693
  }
4699
4694
  const PendingNoUnpend = () => {
4700
- return (h("sqm-referral-table-rewards-cell", { rewards: [{ ...baseReward$2, ...pendingReward$1, ...nullScheduledFor }], statusText: "{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }", statusLongText: "{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }", fuelTankText: "Your code is", rewardReceivedText: "Reward received on", expiringText: "Expiring in", pendingForText: "{status} for {date}" }));
4695
+ return (h("sqm-referral-table-rewards-cell", { rewards: [{ ...baseReward, ...pendingReward, ...nullScheduledFor }], statusText: "{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }", statusLongText: "{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }", fuelTankText: "Your code is", rewardReceivedText: "Reward received on", expiringText: "Expiring in", pendingForText: "{status} for {date}" }));
4701
4696
  };
4702
4697
  const PendingNoUnpendNoDetails = () => {
4703
- return (h("sqm-referral-table-rewards-cell", { hideDetails: true, rewards: [{ ...baseReward$2, ...pendingReward$1, ...nullScheduledFor }], statusText: "{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }", statusLongText: "{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }", fuelTankText: "Your code is", rewardReceivedText: "Reward received on", expiringText: "Expiring in", pendingForText: "{status} for {date}" }));
4698
+ return (h("sqm-referral-table-rewards-cell", { hideDetails: true, rewards: [{ ...baseReward, ...pendingReward, ...nullScheduledFor }], statusText: "{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }", statusLongText: "{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }", fuelTankText: "Your code is", rewardReceivedText: "Reward received on", expiringText: "Expiring in", pendingForText: "{status} for {date}" }));
4704
4699
  };
4705
4700
  const PendingWithUnpend = () => {
4706
4701
  return [
4707
4702
  h("sqm-referral-table-rewards-cell", { rewards: [
4708
- { ...baseReward$2, ...pendingReward$1, dateScheduledFor: getSeconds() },
4703
+ { ...baseReward, ...pendingReward, dateScheduledFor: getSeconds() },
4709
4704
  ], statusText: "{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }", statusLongText: "{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }", fuelTankText: "Your code is", rewardReceivedText: "Reward received on", expiringText: "Expiring in", pendingForText: "{status} for {date}" }),
4710
4705
  h("sqm-referral-table-rewards-cell", { rewards: [
4711
- { ...baseReward$2, ...pendingReward$1, dateScheduledFor: getMinutes() },
4706
+ { ...baseReward, ...pendingReward, dateScheduledFor: getMinutes() },
4712
4707
  ], statusText: "{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }", statusLongText: "{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }", fuelTankText: "Your code is", rewardReceivedText: "Reward received on", expiringText: "Expiring in", pendingForText: "{status} for {date}" }),
4713
4708
  h("sqm-referral-table-rewards-cell", { rewards: [
4714
- { ...baseReward$2, ...pendingReward$1, dateScheduledFor: getHours() },
4709
+ { ...baseReward, ...pendingReward, dateScheduledFor: getHours() },
4715
4710
  ], statusText: "{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }", statusLongText: "{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }", fuelTankText: "Your code is", rewardReceivedText: "Reward received on", expiringText: "Expiring in", pendingForText: "{status} for {date}" }),
4716
4711
  h("sqm-referral-table-rewards-cell", { rewards: [
4717
- { ...baseReward$2, ...pendingReward$1, dateScheduledFor: getDays() },
4712
+ { ...baseReward, ...pendingReward, dateScheduledFor: getDays() },
4718
4713
  ], statusText: "{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }", statusLongText: "{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }", fuelTankText: "Your code is", rewardReceivedText: "Reward received on", expiringText: "Expiring in", pendingForText: "{status} for {date}" }),
4719
4714
  h("sqm-referral-table-rewards-cell", { rewards: [
4720
- { ...baseReward$2, ...pendingReward$1, dateScheduledFor: getMonths() },
4715
+ { ...baseReward, ...pendingReward, dateScheduledFor: getMonths() },
4721
4716
  ], statusText: "{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }", statusLongText: "{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }", fuelTankText: "Your code is", rewardReceivedText: "Reward received on", expiringText: "Expiring in", pendingForText: "{status} for {date}" }),
4722
4717
  h("sqm-referral-table-rewards-cell", { rewards: [
4723
- { ...baseReward$2, ...pendingReward$1, dateScheduledFor: getYears() },
4718
+ { ...baseReward, ...pendingReward, dateScheduledFor: getYears() },
4724
4719
  ], statusText: "{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }", statusLongText: "{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }", fuelTankText: "Your code is", rewardReceivedText: "Reward received on", expiringText: "Expiring in", pendingForText: "{status} for {date}" }),
4725
4720
  ];
4726
4721
  };
4727
4722
  const AvailableNoExpiry = () => {
4728
- return (h("sqm-referral-table-rewards-cell", { rewards: [{ ...baseReward$2, ...availableReward$1, ...nullExpiresIn$1 }], statusText: "{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }", statusLongText: "{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }", fuelTankText: "Your code is", rewardReceivedText: "Reward received on", expiringText: "Expiring in", pendingForText: "{status} for {date}" }));
4723
+ return (h("sqm-referral-table-rewards-cell", { rewards: [{ ...baseReward, ...availableReward, ...nullExpiresIn }], statusText: "{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }", statusLongText: "{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }", fuelTankText: "Your code is", rewardReceivedText: "Reward received on", expiringText: "Expiring in", pendingForText: "{status} for {date}" }));
4729
4724
  };
4730
4725
  const AvailableWithExpiry = () => {
4731
4726
  return [
4732
4727
  h("sqm-referral-table-rewards-cell", { rewards: [
4733
- { ...baseReward$2, ...availableReward$1, dateExpires: getSeconds() },
4728
+ { ...baseReward, ...availableReward, dateExpires: getSeconds() },
4734
4729
  ], statusText: "{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }", statusLongText: "{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }", fuelTankText: "Your code is", rewardReceivedText: "Reward received on", expiringText: "Expiring in", pendingForText: "{status} for {date}" }),
4735
4730
  h("sqm-referral-table-rewards-cell", { rewards: [
4736
- { ...baseReward$2, ...availableReward$1, dateExpires: getMinutes() },
4731
+ { ...baseReward, ...availableReward, dateExpires: getMinutes() },
4737
4732
  ], statusText: "{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }", statusLongText: "{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }", fuelTankText: "Your code is", rewardReceivedText: "Reward received on", expiringText: "Expiring in", pendingForText: "{status} for {date}" }),
4738
- h("sqm-referral-table-rewards-cell", { rewards: [{ ...baseReward$2, ...availableReward$1, dateExpires: getHours() }], statusText: "{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }", statusLongText: "{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }", fuelTankText: "Your code is", rewardReceivedText: "Reward received on", expiringText: "Expiring in", pendingForText: "{status} for {date}" }),
4739
- h("sqm-referral-table-rewards-cell", { rewards: [{ ...baseReward$2, ...availableReward$1, dateExpires: getDays() }], statusText: "{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }", statusLongText: "{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }", fuelTankText: "Your code is", rewardReceivedText: "Reward received on", expiringText: "Expiring in", pendingForText: "{status} for {date}" }),
4733
+ h("sqm-referral-table-rewards-cell", { rewards: [{ ...baseReward, ...availableReward, dateExpires: getHours() }], statusText: "{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }", statusLongText: "{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }", fuelTankText: "Your code is", rewardReceivedText: "Reward received on", expiringText: "Expiring in", pendingForText: "{status} for {date}" }),
4734
+ h("sqm-referral-table-rewards-cell", { rewards: [{ ...baseReward, ...availableReward, dateExpires: getDays() }], statusText: "{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }", statusLongText: "{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }", fuelTankText: "Your code is", rewardReceivedText: "Reward received on", expiringText: "Expiring in", pendingForText: "{status} for {date}" }),
4740
4735
  h("sqm-referral-table-rewards-cell", { rewards: [
4741
- { ...baseReward$2, ...availableReward$1, dateExpires: getMonths() },
4736
+ { ...baseReward, ...availableReward, dateExpires: getMonths() },
4742
4737
  ], statusText: "{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }", statusLongText: "{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }", fuelTankText: "Your code is", rewardReceivedText: "Reward received on", expiringText: "Expiring in", pendingForText: "{status} for {date}" }),
4743
- h("sqm-referral-table-rewards-cell", { rewards: [{ ...baseReward$2, ...availableReward$1, dateExpires: getYears() }], statusText: "{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }", statusLongText: "{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }", fuelTankText: "Your code is", rewardReceivedText: "Reward received on", expiringText: "Expiring in", pendingForText: "{status} for {date}" }),
4738
+ h("sqm-referral-table-rewards-cell", { rewards: [{ ...baseReward, ...availableReward, dateExpires: getYears() }], statusText: "{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }", statusLongText: "{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }", fuelTankText: "Your code is", rewardReceivedText: "Reward received on", expiringText: "Expiring in", pendingForText: "{status} for {date}" }),
4744
4739
  ];
4745
4740
  };
4746
4741
  const Redeemed = () => {
4747
- return (h("sqm-referral-table-rewards-cell", { rewards: [{ ...baseReward$2, ...redeemedReward }], statusText: "{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }", statusLongText: "{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }", fuelTankText: "Your code is", rewardReceivedText: "Reward received on", expiringText: "Expiring in", pendingForText: "{status} for {date}" }));
4742
+ return (h("sqm-referral-table-rewards-cell", { rewards: [{ ...baseReward, ...redeemedReward }], statusText: "{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }", statusLongText: "{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }", fuelTankText: "Your code is", rewardReceivedText: "Reward received on", expiringText: "Expiring in", pendingForText: "{status} for {date}" }));
4748
4743
  };
4749
4744
  const Cancelled = () => {
4750
- return (h("sqm-referral-table-rewards-cell", { rewards: [{ ...baseReward$2, ...cancelledReward$1 }], statusText: "{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }", statusLongText: "{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }", fuelTankText: "Your code is", rewardReceivedText: "Reward received on", expiringText: "Expiring in", pendingForText: "{status} for {date}" }));
4745
+ return (h("sqm-referral-table-rewards-cell", { rewards: [{ ...baseReward, ...cancelledReward }], statusText: "{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }", statusLongText: "{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }", fuelTankText: "Your code is", rewardReceivedText: "Reward received on", expiringText: "Expiring in", pendingForText: "{status} for {date}" }));
4751
4746
  };
4752
4747
  const Expired = () => {
4753
- return (h("sqm-referral-table-rewards-cell", { rewards: [{ ...baseReward$2, ...expiredReward$1 }], statusText: "{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }", statusLongText: "{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }", fuelTankText: "Your code is", rewardReceivedText: "Reward received on", expiringText: "Expiring in", pendingForText: "{status} for {date}" }));
4748
+ return (h("sqm-referral-table-rewards-cell", { rewards: [{ ...baseReward, ...expiredReward }], statusText: "{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }", statusLongText: "{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }", fuelTankText: "Your code is", rewardReceivedText: "Reward received on", expiringText: "Expiring in", pendingForText: "{status} for {date}" }));
4754
4749
  };
4755
- const EmptyCell$3 = () => {
4750
+ const EmptyCell = () => {
4756
4751
  return (h("sqm-referral-table-rewards-cell", { rewards: zeroRewards, statusText: "{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }", statusLongText: "{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }", fuelTankText: "Your code is", rewardReceivedText: "Reward received on", expiringText: "Expiring in", pendingForText: "{status} for {date}" }));
4757
4752
  };
4758
4753
  const oneRewardCell = () => {
@@ -4785,7 +4780,7 @@ const ReferralTableRewardsCell = /*#__PURE__*/Object.freeze({
4785
4780
  Redeemed: Redeemed,
4786
4781
  Cancelled: Cancelled,
4787
4782
  Expired: Expired,
4788
- EmptyCell: EmptyCell$3,
4783
+ EmptyCell: EmptyCell,
4789
4784
  oneRewardCell: oneRewardCell,
4790
4785
  twoRewardsCell: twoRewardsCell,
4791
4786
  threeRewardsCell: threeRewardsCell,
@@ -4860,21 +4855,21 @@ const baseReward$1 = {
4860
4855
  },
4861
4856
  };
4862
4857
  // Reward Status Cases
4863
- const pendingReward = {
4858
+ const pendingReward$1 = {
4864
4859
  statuses: ["AVAILABLE", "PENDING"],
4865
4860
  };
4866
- const cancelledReward = {
4861
+ const cancelledReward$1 = {
4867
4862
  statuses: ["PENDING", "CANCELLED"],
4868
4863
  dateCancelled: 1626850800000,
4869
4864
  };
4870
- const expiredReward = {
4865
+ const expiredReward$1 = {
4871
4866
  statuses: ["EXPIRED", "AVAILABLE"],
4872
4867
  dateExpires: 1626850800000,
4873
4868
  };
4874
- const availableReward = {
4869
+ const availableReward$1 = {
4875
4870
  statuses: ["AVAILABLE"],
4876
4871
  };
4877
- const nullExpiresIn = {
4872
+ const nullExpiresIn$1 = {
4878
4873
  dateExpires: null,
4879
4874
  };
4880
4875
  const simpleUserTableProps = {
@@ -5275,9 +5270,9 @@ const FullRewardsTable = () => {
5275
5270
  [
5276
5271
  h("sqm-referral-table-user-cell", { name: "Joe Smith" }),
5277
5272
  h("sqm-referral-table-rewards-cell", { rewards: [
5278
- { ...baseReward$1, ...availableReward },
5279
- { ...baseReward$1, ...pendingReward },
5280
- { ...baseReward$1, ...cancelledReward },
5273
+ { ...baseReward$1, ...availableReward$1 },
5274
+ { ...baseReward$1, ...pendingReward$1 },
5275
+ { ...baseReward$1, ...cancelledReward$1 },
5281
5276
  ], statusText: "{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }", statusLongText: "{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }", fuelTankText: "Your code is", rewardReceivedText: "Reward received on", expiringText: "Expiring in", pendingForText: "{status} for {date}" }),
5282
5277
  h("sqm-referral-table-status-cell", { statusText: "Complete", converted: true }),
5283
5278
  h("sqm-referral-table-date-cell", { date: 1626764400000 }),
@@ -5285,7 +5280,7 @@ const FullRewardsTable = () => {
5285
5280
  ],
5286
5281
  [
5287
5282
  h("sqm-referral-table-user-cell", { name: "Sarah Williams" }),
5288
- h("sqm-referral-table-rewards-cell", { rewards: [{ ...baseReward$1, ...expiredReward }], statusText: "{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }", statusLongText: "{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }", fuelTankText: "Your code is", rewardReceivedText: "Reward received on", expiringText: "Expiring in", pendingForText: "{status} for {date}" }),
5283
+ h("sqm-referral-table-rewards-cell", { rewards: [{ ...baseReward$1, ...expiredReward$1 }], statusText: "{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }", statusLongText: "{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }", fuelTankText: "Your code is", rewardReceivedText: "Reward received on", expiringText: "Expiring in", pendingForText: "{status} for {date}" }),
5289
5284
  h("sqm-referral-table-status-cell", { statusText: "Incomplete", converted: false }),
5290
5285
  h("sqm-referral-table-date-cell", { date: 1626764400000 }),
5291
5286
  h("sqm-referral-table-date-cell", { date: null }),
@@ -5293,8 +5288,8 @@ const FullRewardsTable = () => {
5293
5288
  [
5294
5289
  h("sqm-referral-table-user-cell", { name: "Marvin Smith" }),
5295
5290
  h("sqm-referral-table-rewards-cell", { rewards: [
5296
- { ...baseReward$1, ...nullExpiresIn },
5297
- { ...baseReward$1, ...pendingReward },
5291
+ { ...baseReward$1, ...nullExpiresIn$1 },
5292
+ { ...baseReward$1, ...pendingReward$1 },
5298
5293
  ], statusText: "{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }", statusLongText: "{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }", fuelTankText: "Your code is", rewardReceivedText: "Reward received on", expiringText: "Expiring in", pendingForText: "{status} for {date}" }),
5299
5294
  h("sqm-referral-table-status-cell", { statusText: "Complete", converted: true }),
5300
5295
  h("sqm-referral-table-date-cell", { date: 1626764400000 }),
@@ -5305,7 +5300,7 @@ const FullRewardsTable = () => {
5305
5300
  } }));
5306
5301
  };
5307
5302
 
5308
- const ReferralTable$1 = /*#__PURE__*/Object.freeze({
5303
+ const ReferralTable = /*#__PURE__*/Object.freeze({
5309
5304
  __proto__: null,
5310
5305
  'default': ReferralTable_stories,
5311
5306
  SimpleUserTable: SimpleUserTable,
@@ -5328,13 +5323,13 @@ const TableCell = () => {
5328
5323
  const TableUserCell = () => {
5329
5324
  return (h("sqm-referral-table-user-cell", { name: "Table User Cell Text" }));
5330
5325
  };
5331
- const EmptyCell$2 = () => (h("sqm-sqm-referral-table-cell", null, "-"));
5326
+ const EmptyCell$1 = () => (h("sqm-sqm-referral-table-cell", null, "-"));
5332
5327
  const StatusCell = () => {
5333
5328
  return (h("div", null,
5334
5329
  h("sqm-referral-table-status-cell", { statusText: "Complete", converted: true }),
5335
5330
  h("sqm-referral-table-status-cell", { statusText: "In Progress", converted: false })));
5336
5331
  };
5337
- const DateCell$1 = () => {
5332
+ const DateCell = () => {
5338
5333
  return (h("sqm-referral-table-date-cell", { date: 800000000000 }));
5339
5334
  };
5340
5335
  /*
@@ -5343,7 +5338,7 @@ const DateCell$1 = () => {
5343
5338
  - Empty and Loading states for tables
5344
5339
  - Build rewards for every type of reward
5345
5340
  */
5346
- const rewardsData$1 = {
5341
+ const rewardsData = {
5347
5342
  id: "123",
5348
5343
  type: "CREDIT",
5349
5344
  value: 19,
@@ -5377,7 +5372,7 @@ const rewardsData$1 = {
5377
5372
  ],
5378
5373
  },
5379
5374
  };
5380
- const rewards = [rewardsData$1];
5375
+ const rewards = [rewardsData];
5381
5376
  const RewardsCell = () => {
5382
5377
  return (h("sqm-referral-table-rewards-cell", { rewards: rewards, statusText: "{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }", statusLongText: "{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }", fuelTankText: "Your code is", rewardReceivedText: "Reward received on", expiringText: "Expiring in", pendingForText: "{status} for {date}" }));
5383
5378
  };
@@ -5387,9 +5382,9 @@ const ReferralTableCell = /*#__PURE__*/Object.freeze({
5387
5382
  'default': ReferralTableCell_stories,
5388
5383
  TableCell: TableCell,
5389
5384
  TableUserCell: TableUserCell,
5390
- EmptyCell: EmptyCell$2,
5385
+ EmptyCell: EmptyCell$1,
5391
5386
  StatusCell: StatusCell,
5392
- DateCell: DateCell$1,
5387
+ DateCell: DateCell,
5393
5388
  RewardsCell: RewardsCell
5394
5389
  });
5395
5390
 
@@ -5528,9 +5523,9 @@ function cartesian(...args) {
5528
5523
  return r;
5529
5524
  }
5530
5525
 
5531
- const scenarioTaskCard = "@author:derek\r\n@owner:\r\nFeature: Task Card\r\n\r\n\tScenario: A header, body title, description and a CTA button are always displayed\r\n\t\tGiven the Task Card is configured with the following props\r\n\t\t\t| prop | value |\r\n\t\t\t| rewardAmount | \"40\" |\r\n\t\t\t| rewardUnit | \"Points\" |\r\n\t\t\t| cardTitle | Complete a survey |\r\n\t\t\t| description | Fill out our survey form and receive points! |\r\n\t\t\t| buttonText | Take Survey |\r\n\t\t\t| buttonLink | https://example.com/ |\r\n\t\tWhen a user views the Task Card\r\n\t\tThen they see \"40 Points\" as the heading\r\n\t\tAnd the \"40\" is bolded\r\n\t\tAnd they see \"Complete a survey\" bolded in the body\r\n\t\tAnd a details icon in the top right hand corner\r\n\t\tAnd a button with text \"Take Survey\" in the bottom right hand corner\r\n\t\tWhen they click the button\r\n\t\tThen they are redirected to \"example.com\" in a new window\r\n\t\tWhen they click the details icon\r\n\t\tThen \"Fill out our survey form and receive points!\" is shown as the card description\r\n\r\n\tScenario: A loading state is displayed while the Task Card is loading\r\n\t\tGiven a Task Card component\r\n\t\tWhen a user views the Task Card\r\n\t\tThen a loading state is displayed\r\n\t\tWhen the Task Card has loaded\r\n\t\tThen the loading state disapears\r\n\r\n\tScenario Outline: The Progress Bar can be shown or hidden but is hidden by default\r\n\t\tGiven a Task Card component\r\n\t\tAnd it <mayHave> \"showProgressBar\" <value>\r\n\t\tWhen a user views the Task Card\r\n\t\tThen the progress bar <mayBe> displayed\r\n\t\tExamples:\r\n\t\t\t| mayHave | value | mayBe |\r\n\t\t\t| has | true | is |\r\n\t\t\t| has | false | isn't |\r\n\t\t\t| doesn't have | | isn't |\r\n\r\n\tScenario Outline: Tasks can be repeatable or one-time only but are one-time only be default\r\n\t\tGiven a Task Card component\r\n\t\tAnd it <mayHave> \"repeatable\" <value>\r\n\t\tAnd a user who has already completed the task\r\n\t\tWhen they views the Task Card\r\n\t\tThen they see a green checkmark icon beside the card heading\r\n\t\tAnd the card <mayBe> green\r\n\t\tAnd the card's border <mayBe> green\r\n\t\tAnd the CTA button <mayBe> disabled\r\n\t\tAnd the CTA button <mayBe> grey\r\n\t\tExamples:\r\n\t\t\t| mayHave | value | mayBe |\r\n\t\t\t| has | true | isn't |\r\n\t\t\t| has | false | is |\r\n\t\t\t| doesn't have | | is |\r\n\r\n\tScenario: Task Expiries can be configured and disable the CTA after the expiry\r\n\t\tGiven a Task Card component\r\n\t\tAnd it is configured for <expiry>\r\n\t\tWhen a user views the Card on <day>\r\n\t\tThen they the expiry on <cardLocation>\r\n\t\tAnd the text <mayBe> orange\r\n\t\tAnd the card <mayBe> disabled\r\n\t\tAnd the card <mayBe> grey\r\n\t\tAnd the user <mayBe> unable to complete the loyalty task\r\n\t\tExamples:\r\n\t\t\t| expiry | day | cardLocation | mayBe |\r\n\t\t\t| Dec 31 2021 11:59:59 | Dec 1st 2021 12:00:00 | bottom left | isn't |\r\n\t\t\t| Dec 31 2021 11:59:59 | Dec 31 2021 11:00:00 | top right | isn't |\r\n\t\t\t| Dec 31 2021 11:59:59 | Jan 15th 2022 10:00:00 | top right | is |\r\n\r\n\tScenario Outline: Task expiry can be hidden or shown but is hidden by default\r\n\t\tGiven a Task Card\r\n\t\tAnd it is configured with an expiry\r\n\t\tAnd it <mayHave> \"showExpiry\" <value>\r\n\t\tWhen a user views the Task card\r\n\t\tThen the expiry <mayBe> shown in the bottom left hand corner\r\n\t\tExamples:\r\n\t\t\t| mayHave | value | mayBe |\r\n\t\t\t| has | true | is |\r\n\t\t\t| has | false | isn't |\r\n\t\t\t| doesn't have | | isn't |\r\n\r\n\t#DS: Currently this text is non configurable and isnt set up for proper pluralization\r\n\tScenario Outline: A task completion count is displayed for repeatable tasks\r\n\t\tGiven a Task Card is configured for a repeatable task\r\n\t\tAnd has \"goalCompletionNumber\" <goalCompletionNumberValue>\r\n\t\tAnd a user with <userGoalProgress>\r\n\t\tWhen the user views the task card\r\n\t\tThen they see a repeat icon\r\n\t\tAnd the <text> in the bottom left hand corner\r\n\t\tAnd the <text> is green\r\n\t\tExamples:\r\n\t\t\t| goalCompletionNumber | userGoalProgress | text |\r\n\t\t\t| 1 | 0 | Completed 0 times |\r\n\t\t\t| 1 | 1 | Completed 1 times |\r\n\t\t\t| 1 | 2 | Completed 2 times |\r\n\t\t\t| 10 | 5 | Completed 0 times |\r\n\t\t\t| 10 | 12 | Completed 1 times |\r\n\t\t\t| 10 | 29 | Completed 2 times |\r\n\r\n\tScenario Outline: The source of a user's progress can be a custom field or a program goal\r\n\t\tGiven a Task Card is configured to have <progressSourcePath> progress source\r\n\t\tAnd a user\r\n\t\tWhen they view the Task card\r\n\t\tThen the value at <progressSourcePath> is used to benchmark their progress against the Goal Completion Count\r\n\t\tExamples:\r\n\t\t\t| value |\r\n\t\t\t| /customFields/activityCount |\r\n\t\t\t| /customFields/purchaseTotal |\r\n\t\t\t| /programGoals/count%2FComment-on-Article |\r\n\t\t\t| /programGoals/count/Referral-Started%2Freferrals |\r\n\r\n\tScenario Outline: The users completion of a goal is calculated by the Goal Completion Number\r\n\t\tGiven a Task Card is configured to have <goalValue>\r\n\t\tAnd a user who has <progressValue>\r\n\t\tWhen they view the Task Card\r\n\t\tThen they are shown to have <progressValue> towards <goalValue>\r\n\t\tWhen their progress grows larger than <goalValue>\r\n\t\tThen the task is marked as completed\r\n\t\tExamples:\r\n\t\t\t| goalValue | progressValue |\r\n\t\t\t| 1 | 0 |\r\n\t\t\t| 10 | 9 |\r\n\t\t\t| 5 | 2 |\r\n\r\n\tScenario: The Goal Completion Number defaults to 1\r\n\t\tGiven a Task Card without a configured \"goalCompletionNumber\"\r\n\t\tAnd a user who has <progressValue>\r\n\t\tWhen they view the Task Card\r\n\t\tThen it <mayBe> marked as completed\r\n\t\tExamples:\r\n\t\t\t| progressValue | mayBe |\r\n\t\t\t| 0 | isn't |\r\n\t\t\t| 1 | is |\r\n\t\t\t| 2 | is |";
5526
+ const scenarioTaskCard = "@author:derek\r\n@owner:kutay\r\nFeature: Task Card\r\n\r\n\t@motivating\r\n\tScenario: A header, body title and a CTA button are always displayed\r\n\t\tGiven the Task Card is configured with the following props\r\n\t\t\t| prop | value |\r\n\t\t\t| rewardAmount | \"40\" |\r\n\t\t\t| rewardUnit | \"Points\" |\r\n\t\t\t| cardTitle | Complete a survey |\r\n\t\t\t| buttonText | Take Survey |\r\n\t\tWhen a user views the Task Card\r\n\t\tThen they see \"40 Points\" as the heading\r\n\t\tAnd the \"40\" is bolded\r\n\t\tAnd they see \"Complete a survey\" bolded in the body\r\n\t\tAnd a details icon in the top right hand corner\r\n\t\tAnd a button with text \"Take Survey\" in the bottom right hand corner\r\n\t\tWhen they click the button\r\n\t\tThen they are redirected to \"example.com\" in a new window\r\n\r\n\t@motivating\r\n\tScenario Outline: A Task Card description can be included but is not required\r\n\t\tGiven a Task Card\r\n\t\tAnd it has <descriptionPropValue>\r\n\t\tWhen a user views the Task card\r\n\t\tThen they <maySee> a chevron icon in the top right\r\n\t\tWhen they attempt to click the chevron\r\n\t\tThen they <maySee> the card description\r\n\t\tExamples:\r\n\t\t\t| descriptionPropValue | maySee |\r\n\t\t\t| This is my task card description | see |\r\n\t\t\t| | don't see |\r\n\r\n\t@motivating\r\n\tScenario Outline: CTA links can open in a new tab or the same tab\r\n\t\tGiven a Task Card\r\n\t\tAnd it has <openNewTabPropValue>\r\n\t\tWhen a user views the Task card\r\n\t\tAnd they click on the CTA\r\n\t\tThen they are redirected to the CTA link in <tab>\r\n\t\tExamples:\r\n\t\t\t| openNewTabPropValue | tab |\r\n\t\t\t| true | a new tab |\r\n\t\t\t| false | the same tab |\r\n\t\t\t| N/A | the same tab |\r\n\r\n\t@minutae\r\n\tScenario: A loading state is displayed while the Task Card is loading\r\n\t\tGiven a Task Card component\r\n\t\tWhen a user views the Task Card\r\n\t\tThen a loading state is displayed\r\n\t\tWhen the Task Card has loaded\r\n\t\tThen the loading state disapears\r\n\r\n\t@motivating\r\n\tScenario Outline: The Progress Bar can be shown or hidden but is hidden by default\r\n\t\tGiven a Task Card\r\n\t\tAnd it has <showProgressBarPropValue>\r\n\t\tWhen a user views the Task Card\r\n\t\tThen the progress bar <mayBe> displayed\r\n\t\tExamples:\r\n\t\t\t| showProgressBarPropValue | mayBe |\r\n\t\t\t| true | is |\r\n\t\t\t| false | isn't |\r\n\t\t\t| N/A | isn't |\r\n\r\n\t@motivating\r\n\tScenario: Clicking the CTA Button can trigger an event to be sent and refresh the widget\r\n\t\tGiven a Task card\r\n\t\tAnd it is configured to send an \"test\" event\r\n\t\tWhen a user views the Task card\r\n\t\tAnd clicks on the CTA\r\n\t\tThen a \"test\" event is sent to SSQT on the users behalf\r\n\t\tAnd the contents of the widget the card is dislayed within are refreshed\r\n\r\n\t@motivating\r\n\tScenario Outline: Tasks can be repeatable or one-time only but are one-time only by default\r\n\t\tGiven a Task Card\r\n\t\tAnd it has <repeatablePropValue>\r\n\t\tAnd a user who has already completed the task\r\n\t\tWhen they view the Task Card\r\n\t\tThen they see a brand colour checkmark icon beside the card heading\r\n\t\tAnd the card <mayBe> brand colour\r\n\t\tAnd the CTA button <mayBe> disabled\r\n\t\tAnd the CTA button <mayBe> grey\r\n\t\tExamples:\r\n\t\t\t| repeatablePropValue | mayBe |\r\n\t\t\t| true | isn't |\r\n\t\t\t| false | is |\r\n\t\t\t| N/A | is |\r\n\r\n\t@motivating\r\n\tScenario Outline: Display duration hides or shows a task\r\n\t\tGiven a Task Card\r\n\t\tAnd it has a \"display-duration\" interval\r\n\t\tWhen a user views the Card on <day>\r\n\t\tThen card <mayBeHidden>\r\n\t\tExamples:\r\n\t\t\t| day | mayBeHidden |\r\n\t\t\t| a day before the interval | is hidden |\r\n\t\t\t| a day during the interval | is not hidden |\r\n\t\t\t| a day after the interval | is hidden |\r\n\r\n\t@motivating\r\n\tScenario: Task Expiries can be configured and disable the CTA after the expiry\r\n\t\tGiven a Task Card\r\n\t\tAnd it has an \"reward-duration\" interval\r\n\t\tAnd it is configured to show expiry\r\n\t\tWhen a user views the card on <day>\r\n\t\tThen the card <mayBeDisabled>\r\n\t\tAnd it <mayHaveAlert>\r\n\t\tAnd it <mayHaveExpiryText> on the bottom left hand side of the card\r\n\t\tExamples:\r\n\t\t\t| day | mayBeDisabled | mayHaveAlert | mayHaveExpiryText |\r\n\t\t\t| a day before the expiry interval | is disabled | has alert stating the month, date, year and time the task starts | doesn't have expiry text |\r\n\t\t\t| a day during the expiry interval | isn't disabled | doesn't have an alert | has the month, date, year and time the task expires |\r\n\t\t\t| a day after the expiry interval | is disabled | has alert stating the month, date, year and time the task expired | doesn't have expiry text |\r\n\r\n\t@minutae\r\n\tScenario Outline: Task expiry can be hidden or shown but is hidden by default\r\n\t\tGiven a Task Card\r\n\t\tAnd it is configured with an expiry duration interval\r\n\t\tAnd it has <showExpiryPropValue>\r\n\t\tWhen a user views the Task card during the interval\r\n\t\tThen the expiry <mayBe> shown in the bottom left hand corner\r\n\t\tAnd it is in form \"Month-Date-Year-Time\"\r\n\t\tExamples:\r\n\t\t\t| showExpiryPropValue | mayBe |\r\n\t\t\t| true | is |\r\n\t\t\t| false | isn't |\r\n\t\t\t| N/A | isn't |\r\n\r\n\t@motivating\r\n\tScenario Outline: Task Card dates support localization\r\n\t\tGiven a Task Card\r\n\t\tAnd it's configured with a expiry duration interval\r\n\t\tWhen a user with <locale> views the task card <atTime>\r\n\t\tThen they <seeDate> translated for <locale>\r\n\t\tExamples:\r\n\t\t\t| atTime | locale | seeDate |\r\n\t\t\t| before the interval | en | Task Start Date |\r\n\t\t\t| during the interval | en | Task End Date |\r\n\t\t\t| after the interval | en | Task Ended Date |\r\n\t\t\t| before the interval | fr | Task Start Date |\r\n\t\t\t| during the interval | fr | Task End Date |\r\n\t\t\t| after the interval | fr | Task Ended Date |\r\n\r\n\t@motivating\r\n\tScenario Outline: A task completion count is displayed for repeatable tasks\r\n\t\tGiven a Task Card\r\n\t\tAnd it is configured for a repeatable task\r\n\t\tAnd has it has <goalValue>\r\n\t\tAnd a user with <userGoalProgress>\r\n\t\tWhen the user views the task card\r\n\t\tThen they see a repeat icon\r\n\t\tAnd the <text> in the bottom left hand corner\r\n\t\tAnd the <text> is brand colour\r\n\t\tExamples:\r\n\t\t\t| goalValue | userGoalProgress | text |\r\n\t\t\t| 2 | 0 | Completed 0 times |\r\n\t\t\t| 2 | 1 | Completed 0 times |\r\n\t\t\t| 2 | 2 | Completed 1 times |\r\n\t\t\t| 2 | 4 | Completed 2 times |\r\n\r\n\t@motivating\r\n\tScenario Outline: The source of a user's progress can be a custom field or a program goal\r\n\t\tGiven a Task Card\r\n\t\tAnd it is configured <progressSourcePath>\r\n\t\tWhen a user views the Task card\r\n\t\tThen the value at <progressSourcePath> is used to benchmark their progress against the \"Goal Completion Count\"\r\n\t\tExamples:\r\n\t\t\t| progressSourcePath |\r\n\t\t\t| /customFields/activityCount |\r\n\t\t\t| /customFields/purchaseTotal |\r\n\t\t\t| /programGoals/count%2FComment-on-Article |\r\n\t\t\t| /programGoals/count/Referral-Started%2Freferrals |\r\n\r\n\t@motivating\r\n\tScenario Outline: The users completion of a goal is calculated by the Goal Completion Number\r\n\t\tGiven a Task Card\r\n\t\tAnd it is configured for <goalValue>\r\n\t\tAnd a user who has <progressValue>\r\n\t\tWhen they view the Task Card\r\n\t\tThen they are shown to have <progressValue> towards <goalValue>\r\n\t\tWhen their progress grows larger than <goalValue>\r\n\t\tThen the task is marked as completed\r\n\t\tExamples:\r\n\t\t\t| goalValue | progressValue |\r\n\t\t\t| 1 | 0 |\r\n\t\t\t| 10 | 9 |\r\n\t\t\t| 5 | 2 |\r\n\r\n\t@motivating\r\n\tScenario: The Goal Completion Number defaults to 1\r\n\t\tGiven a Task Card without a configured \"goal\" value\r\n\t\tAnd a user who has <progressValue>\r\n\t\tWhen they view the Task Card\r\n\t\tThen it <mayBe> marked as completed\r\n\t\tExamples:\r\n\t\t\t| progressValue | mayBe |\r\n\t\t\t| 0 | isn't |\r\n\t\t\t| 1 | is |\r\n\t\t\t| 2 | is |";
5532
5527
 
5533
- const scenarioProgressBar = "@author:\r\n@owner:\r\nFeature: Task Card Progress Bar\r\n\r\n\tScenario Outline: Progress Bar\r\n\r\n\t\tGiven a Task Card component\r\n\t\tAnd progress is <progress>\r\n\t\tAnd goal is <goal>\r\n\t\tThen I have <progressBar>\r\n\t\tAnd <progressBar> shows <progress> with <unit> above\r\n\t\tAnd gift icon has <color>\r\n\t\tAnd gift icon shows <goal> with <unit> below\r\n\r\n\t\tExamples:\r\n\t\t\t| progress | goal | progressBar | unit | color |\r\n\t\t\t| -100 | 500 | ●――――――――――――――――――🎁 | $ | no |\r\n\t\t\t| 0 | 500 | ●――――――――――――――――――🎁 | $ | no |\r\n\t\t\t| 250 | 500 | ―――――――――●―――――――――🎁 | $ | no |\r\n\t\t\t| 500 | 500 | ―――――――――――――――――――🎁 | $ | yes |\r\n\t\t\t| 1000 | 500 | ―――――――――――――――――――🎁 | $ | yes |\r\n\r\n\tScenario Outline: Progress Bar Steps\r\n\r\n\t\tGiven a Task Card component\r\n\t\tAnd progress is <progress>\r\n\t\tAnd goal is <goal>\r\n\t\tAnd steps is enabled\r\n\t\tThen I have <progressBar>\r\n\t\tAnd <progressBar> has incrementing steps from 1 to <goal>\r\n\t\tAnd gift icon has <color>\r\n\t\tAnd gift icon shows <goal> below\r\n\r\n\t\tExamples:\r\n\t\t\t| progress | goal | progressBar | color |\r\n\t\t\t| -1 | 5 | ―――○―――○―――○―――○―――🎁 | no |\r\n\t\t\t| 0 | 5 | ―――○―――○―――○―――○―――🎁 | no |\r\n\t\t\t| 1 | 5 | ―――●―――○―――○―――○―――🎁 | no |\r\n\t\t\t| 5 | 5 | ―――○―――○―――○―――●―――🎁 | yes |\r\n\t\t\t| 7 | 5 | ―――○―――○―――○―――●―――🎁 | yes |\r\n\r\n\r\n\tScenario Outline: Progress Bar Repeatable\r\n\r\n\t\tGiven a Task Card component\r\n\t\tAnd progress is <progress>\r\n\t\tAnd goal is <goal>\r\n\t\tAnd it is repeatable\r\n\t\tThen I have <progressBar>\r\n\t\tAnd <progressBar> shows <progress> with <unit> above\r\n\t\tAnd <icon1> is <color1> with <text1> displayed below\r\n\t\tAnd <icon2> is <color2> with <text2> displayed below\r\n\t\tAnd <icon3> is <color3> with <text3> displayed below\r\n\r\n\t\tExamples:\r\n\t\t\t| progress | goal | progressBar | unit | icon1 | color1 | text1 | icon2 | color2 | text 2 | icon3 | color3 | text 1 | text 3 |\r\n\t\t\t| 250 | 500 | ――――●――――🎁―――――――🎁 | $ | NA | NA | NA | gift | greyscale | 500 | gift | greyscale | NA | 1000 |\r\n\t\t\t| 500 | 500 | ―――――――――🎁―――――――🎁 | $ | NA | NA | NA | gift | colorful | 500 | gift | greyscale | NA | 1000 |\r\n\t\t\t| 750 | 500 | ―――――――――🎁―――●―――🎁 | $ | NA | NA | NA | gift | colorful | 500 | gift | greyscale | NA | 1000 |\r\n\t\t\t| 1000 | 500 | 🎁―――――――🎁―――――――🎁 | $ | gift | colorful | 500 | gift | colorful | 1000 | gift | greyscale | 500 | 1500 |\r\n\t\t\t| 1250 | 500 | 🎁―――――――🎁―――●―――🎁 | $ | gift | colorful | 500 | gift | colorful | 1000 | gift | greyscale | 500 | 1500 |\r\n\r\n\tScenario Outline: Progress Bar Steps Repeatable\r\n\r\n\t\tGiven a Task Card component\r\n\t\tAnd progress is <progress>\r\n\t\tAnd goal is <goal>\r\n\t\tAnd steps is enabled\r\n\t\tAnd it is repeatable\r\n\t\tThen I have <progressBar>\r\n\r\n\t\tExamples:\r\n\t\t\t| progress | goal | progressBar |";
5528
+ const scenarioProgressBar = "@author:\r\n@owner:\r\nFeature: Task Card Progress Bar\r\n\r\n\tScenario Outline: Progress Bar\r\n\r\n\t\tGiven a Task Card component\r\n\t\tAnd progress is <progress>\r\n\t\tAnd goal is <goal>\r\n\t\tThen I have <progressBar>\r\n\t\tAnd <progressBar> shows <progress> with <unit> above\r\n\t\tAnd gift icon has <color>\r\n\t\tAnd gift icon shows <goal> with <unit> below\r\n\r\n\t\tExamples:\r\n\t\t\t| progress | goal | progressBar | unit | color |\r\n\t\t\t| 0 | 500 | ●――――――――――――――――――🎁 | $ | no |\r\n\t\t\t| 100 | 500 | ―――――――――●―――――――――🎁 | $ | no |\r\n\t\t\t| 500 | 500 | ―――――――――――――――――――🎁 | $ | yes |\r\n\t\t\t| 650 | 500 | ―――――――――――――――――――🎁 | $ | yes |\r\n\t\t\t| 1200 | 500 | ―――――――――――――――――――🎁 | $ | yes |\r\n\r\n\tScenario Outline: Progress Bar Steps\r\n\r\n\t\tGiven a Task Card component\r\n\t\tAnd progress is <progress>\r\n\t\tAnd goal is <goal>\r\n\t\tAnd steps is enabled\r\n\t\tThen I have <progressBar>\r\n\t\tAnd <progressBar> has incrementing steps up to <goal>\r\n\t\tAnd gift icon has <color>\r\n\t\tAnd gift icon shows <goal> below\r\n\r\n\t\tExamples:\r\n\t\t\t| progress | goal | progressBar | color |\r\n\t\t\t| 0 | 5 | ―――○―――○―――○―――○―――🎁 | no |\r\n\t\t\t| 1 | 5 | ―――●―――○―――○―――○―――🎁 | no |\r\n\t\t\t| 5 | 5 | ―――○―――○―――○―――●―――🎁 | yes |\r\n\t\t\t| 7 | 5 | ―――○―――○―――○―――●―――🎁 | yes |\r\n\t\t\t| 12 | 5 | ―――○―――○―――○―――●―――🎁 | yes |\r\n\r\n\r\n\tScenario Outline: Progress Bar Repeatable\r\n\r\n\t\tGiven a Task Card component\r\n\t\tAnd progress is <progress>\r\n\t\tAnd goal is <goal>\r\n\t\tAnd it is repeatable\r\n\t\tThen I have <progressBar>\r\n\t\tAnd <progressBar> shows <progress> with <unit> above\r\n\t\tAnd first <icon1> is <color1> with <text1> displayed below\r\n\t\tAnd second <icon2> is <color2> with <text2> displayed below\r\n\t\tAnd third <icon3> is <color3> with <text3> displayed below\r\n\r\n\t\tExamples:\r\n\t\t\t| progress | goal | progressBar | unit | icon1 | color1 | text1 | icon2 | color2 | text 2 | icon3 | color3 | text 3 |\r\n\t\t\t| 250 | 500 | ――――●――――🎁―――――――🎁 | $ | NA | NA | NA | gift | greyscale | 500 | gift | greyscale | 1000 |\r\n\t\t\t| 500 | 500 | ―――――――――🎁―――――――🎁 | $ | NA | NA | NA | gift | colorful | 500 | gift | greyscale | 1000 |\r\n\t\t\t| 750 | 500 | ―――――――――🎁―――●―――🎁 | $ | NA | NA | NA | gift | colorful | 500 | gift | greyscale | 1000 |\r\n\t\t\t| 1000 | 500 | 🎁―――――――🎁―――――――🎁 | $ | gift | colorful | 500 | gift | colorful | 1000 | gift | greyscale | 1500 |\r\n\t\t\t| 1250 | 500 | 🎁―――――――🎁―――●―――🎁 | $ | gift | colorful | 500 | gift | colorful | 1000 | gift | greyscale | 1500 |\r\n\r\n\tScenario Outline: Progress Bar Steps Repeatable\r\n\r\n\t\tGiven a Task Card component\r\n\t\tAnd progress is <progress>\r\n\t\tAnd goal is <goal>\r\n\t\tAnd steps is enabled\r\n\t\tAnd it is repeatable\r\n\t\tThen I have <progressBar>\r\n\t\tAnd <progressBar> has incrementing steps up to <goal>\r\n\t\tAnd first <icon1> is <color1>\r\n\t\tAnd second <icon2> is <color2>\r\n\t\tAnd third <icon3> is <color3>\r\n\r\n\t\tExamples:\r\n\t\t\t| progress | goal | progressBar | icon1 | color1 | icon2 | color2 | icon3 | color3 |\r\n\t\t\t| 0 | 5 | ―――○―○―○―○―🎁―○―○―○―○―🎁 | NA | NA | gift | greyscale | gift | greyscale |\r\n\t\t\t| 1 | 5 | ―――●―○―○―○―🎁―○―○―○―○―🎁 | NA | NA | gift | greyscale | gift | greyscale |\r\n\t\t\t| 5 | 5 | ―――●―●―●―●―🎁―○―○―○―○―🎁 | NA | NA | gift | colorful | gift | greyscale |\r\n\t\t\t| 7 | 5 | ―――●―●―●―●―🎁―●―●―○―○―🎁 | NA | NA | gift | colorful | gift | greyscale |\r\n\t\t\t| 12 | 5 | 🎁―●―●―●―●―🎁―●―●―○―○―🎁 | gift | colorful | gift | colorful | gift | greyscale |";
5534
5529
 
5535
5530
  const ResizerStylesheet = `
5536
5531
 
@@ -5608,7 +5603,7 @@ const oneAction = {
5608
5603
  loadingEvent: false,
5609
5604
  },
5610
5605
  };
5611
- const coupleActions$1 = {
5606
+ const coupleActions = {
5612
5607
  callbacks: {
5613
5608
  sendEvent: () => void 0,
5614
5609
  onClick: () => void 0,
@@ -5640,7 +5635,7 @@ const coupleActions$1 = {
5640
5635
  loadingEvent: false,
5641
5636
  },
5642
5637
  };
5643
- const manyActions$1 = {
5638
+ const manyActions = {
5644
5639
  callbacks: {
5645
5640
  sendEvent: () => void 0,
5646
5641
  onClick: () => void 0,
@@ -5669,7 +5664,7 @@ const manyActions$1 = {
5669
5664
  },
5670
5665
  states: { progress: 100, loading: false, loadingEvent: false },
5671
5666
  };
5672
- const TaskCard = () => {
5667
+ const TaskCard$1 = () => {
5673
5668
  const expire = {
5674
5669
  showExpiry: true,
5675
5670
  rewardDuration: "2021-11-30T08:00:00.000Z/2021-12-01T08:00:00.000Z",
@@ -5680,30 +5675,30 @@ const TaskCard = () => {
5680
5675
  h("h4", null, "Not Repeatable"),
5681
5676
  h(TaskCardView, Object.assign({}, oneAction, { content: { ...oneAction.content, description: "" }, states: { ...oneAction.states, progress: 0 } })),
5682
5677
  h("h5", null),
5683
- h(TaskCardView, Object.assign({}, coupleActions$1, { content: { ...coupleActions$1.content, description: "" }, states: { ...coupleActions$1.states, progress: 0 } })),
5678
+ h(TaskCardView, Object.assign({}, coupleActions, { content: { ...coupleActions.content, description: "" }, states: { ...coupleActions.states, progress: 0 } })),
5684
5679
  h("h5", null),
5685
- h(TaskCardView, Object.assign({}, manyActions$1, { content: { ...manyActions$1.content, description: "" }, states: { ...manyActions$1.states, progress: 230 } }))),
5680
+ h(TaskCardView, Object.assign({}, manyActions, { content: { ...manyActions.content, description: "" }, states: { ...manyActions.states, progress: 230 } }))),
5686
5681
  h(Resizer, null,
5687
5682
  h("h4", null, "Repeatable"),
5688
5683
  h(TaskCardView, Object.assign({}, oneAction, { content: { ...oneAction.content, repeatable: true }, states: { ...oneAction.states, progress: 2 } })),
5689
5684
  h("h5", null),
5690
- h(TaskCardView, Object.assign({}, coupleActions$1, { content: { ...coupleActions$1.content, repeatable: true }, states: { ...coupleActions$1.states, progress: 7 } })),
5685
+ h(TaskCardView, Object.assign({}, coupleActions, { content: { ...coupleActions.content, repeatable: true }, states: { ...coupleActions.states, progress: 7 } })),
5691
5686
  h("h5", null),
5692
- h(TaskCardView, Object.assign({}, manyActions$1, { content: { ...manyActions$1.content, repeatable: true }, states: { ...manyActions$1.states, progress: 650 } }))),
5687
+ h(TaskCardView, Object.assign({}, manyActions, { content: { ...manyActions.content, repeatable: true }, states: { ...manyActions.states, progress: 650 } }))),
5693
5688
  h(Resizer, null,
5694
5689
  h("h4", null, "Complete"),
5695
5690
  h(TaskCardView, Object.assign({}, oneAction, { states: { ...oneAction.states, progress: 1 } })),
5696
5691
  h("h5", null),
5697
- h(TaskCardView, Object.assign({}, coupleActions$1, { states: { ...coupleActions$1.states, progress: 5 } })),
5692
+ h(TaskCardView, Object.assign({}, coupleActions, { states: { ...coupleActions.states, progress: 5 } })),
5698
5693
  h("h5", null),
5699
- h(TaskCardView, Object.assign({}, manyActions$1, { states: { ...manyActions$1.states, progress: 500 } }))),
5694
+ h(TaskCardView, Object.assign({}, manyActions, { states: { ...manyActions.states, progress: 500 } }))),
5700
5695
  h(Resizer, null,
5701
5696
  h("h4", null, "Unavailable"),
5702
5697
  h(TaskCardView, Object.assign({}, oneAction, { states: { ...oneAction.states, progress: 0 } }, expireRepeat)),
5703
5698
  h("h5", null),
5704
- h(TaskCardView, Object.assign({}, coupleActions$1, { states: { ...coupleActions$1.states, progress: 3 } }, expireRepeat)),
5699
+ h(TaskCardView, Object.assign({}, coupleActions, { states: { ...coupleActions.states, progress: 3 } }, expireRepeat)),
5705
5700
  h("h5", null),
5706
- h(TaskCardView, Object.assign({}, manyActions$1, { states: { ...manyActions$1.states, progress: 250 } }, expireRepeat)))));
5701
+ h(TaskCardView, Object.assign({}, manyActions, { states: { ...manyActions.states, progress: 250 } }, expireRepeat)))));
5707
5702
  };
5708
5703
  const TaskCardNotRepeatable = () => {
5709
5704
  return (h("div", { style: storyFrame },
@@ -5715,15 +5710,15 @@ const TaskCardNotRepeatable = () => {
5715
5710
  h("h5", null)),
5716
5711
  h("div", { style: resizable },
5717
5712
  h("h4", null, "A Couple Actions"),
5718
- h(TaskCardView, Object.assign({}, coupleActions$1, { states: { ...coupleActions$1.states, progress: 1 } })),
5713
+ h(TaskCardView, Object.assign({}, coupleActions, { states: { ...coupleActions.states, progress: 1 } })),
5719
5714
  h("h5", null),
5720
- h(TaskCardView, Object.assign({}, coupleActions$1, { states: { ...coupleActions$1.states, progress: 5 } })),
5715
+ h(TaskCardView, Object.assign({}, coupleActions, { states: { ...coupleActions.states, progress: 5 } })),
5721
5716
  h("h5", null)),
5722
5717
  h("div", { style: resizable },
5723
5718
  h("h4", null, "Many Actions"),
5724
- h(TaskCardView, Object.assign({}, manyActions$1, { states: { ...manyActions$1.states, progress: 230 } })),
5719
+ h(TaskCardView, Object.assign({}, manyActions, { states: { ...manyActions.states, progress: 230 } })),
5725
5720
  h("h5", null),
5726
- h(TaskCardView, Object.assign({}, manyActions$1, { states: { ...manyActions$1.states, progress: 500 } })),
5721
+ h(TaskCardView, Object.assign({}, manyActions, { states: { ...manyActions.states, progress: 500 } })),
5727
5722
  h("h5", null))));
5728
5723
  };
5729
5724
  const TaskCardRepeatable = () => {
@@ -5736,23 +5731,23 @@ const TaskCardRepeatable = () => {
5736
5731
  h("h5", null)),
5737
5732
  h("div", { style: resizable },
5738
5733
  h("h4", null, "A Couple Actions"),
5739
- h(TaskCardView, Object.assign({}, coupleActions$1, { content: { ...coupleActions$1.content, repeatable: true }, states: { ...coupleActions$1.states, progress: 0 } })),
5734
+ h(TaskCardView, Object.assign({}, coupleActions, { content: { ...coupleActions.content, repeatable: true }, states: { ...coupleActions.states, progress: 0 } })),
5740
5735
  h("h5", null),
5741
- h(TaskCardView, Object.assign({}, coupleActions$1, { content: { ...coupleActions$1.content, repeatable: true }, states: { ...coupleActions$1.states, progress: 5 } })),
5736
+ h(TaskCardView, Object.assign({}, coupleActions, { content: { ...coupleActions.content, repeatable: true }, states: { ...coupleActions.states, progress: 5 } })),
5742
5737
  h("h5", null),
5743
- h(TaskCardView, Object.assign({}, coupleActions$1, { content: { ...coupleActions$1.content, repeatable: true }, states: { ...coupleActions$1.states, progress: 7 } })),
5738
+ h(TaskCardView, Object.assign({}, coupleActions, { content: { ...coupleActions.content, repeatable: true }, states: { ...coupleActions.states, progress: 7 } })),
5744
5739
  h("h5", null),
5745
- h(TaskCardView, Object.assign({}, coupleActions$1, { content: { ...coupleActions$1.content, repeatable: true }, states: { ...coupleActions$1.states, progress: 10 } })),
5740
+ h(TaskCardView, Object.assign({}, coupleActions, { content: { ...coupleActions.content, repeatable: true }, states: { ...coupleActions.states, progress: 10 } })),
5746
5741
  h("h5", null)),
5747
5742
  h("div", { style: resizable },
5748
5743
  h("h4", null, "Many Actions"),
5749
- h(TaskCardView, Object.assign({}, manyActions$1, { content: { ...manyActions$1.content, repeatable: true }, states: { ...manyActions$1.states, progress: 0 } })),
5744
+ h(TaskCardView, Object.assign({}, manyActions, { content: { ...manyActions.content, repeatable: true }, states: { ...manyActions.states, progress: 0 } })),
5750
5745
  h("h5", null),
5751
- h(TaskCardView, Object.assign({}, manyActions$1, { content: { ...manyActions$1.content, repeatable: true }, states: { ...manyActions$1.states, progress: 500 } })),
5746
+ h(TaskCardView, Object.assign({}, manyActions, { content: { ...manyActions.content, repeatable: true }, states: { ...manyActions.states, progress: 500 } })),
5752
5747
  h("h5", null),
5753
- h(TaskCardView, Object.assign({}, manyActions$1, { content: { ...manyActions$1.content, repeatable: true }, states: { ...manyActions$1.states, progress: 650 } })),
5748
+ h(TaskCardView, Object.assign({}, manyActions, { content: { ...manyActions.content, repeatable: true }, states: { ...manyActions.states, progress: 650 } })),
5754
5749
  h("h5", null),
5755
- h(TaskCardView, Object.assign({}, manyActions$1, { content: { ...manyActions$1.content, repeatable: true }, states: { ...manyActions$1.states, progress: 1000 } })),
5750
+ h(TaskCardView, Object.assign({}, manyActions, { content: { ...manyActions.content, repeatable: true }, states: { ...manyActions.states, progress: 1000 } })),
5756
5751
  h("h5", null))));
5757
5752
  };
5758
5753
  const TaskCardRepeatableFinite = () => {
@@ -5767,27 +5762,27 @@ const TaskCardRepeatableFinite = () => {
5767
5762
  h("h5", null)),
5768
5763
  h("div", { style: resizable },
5769
5764
  h("h4", null, "A Couple Actions"),
5770
- h(TaskCardView, Object.assign({}, coupleActions$1, { content: { ...coupleActions$1.content, repeatable: true, finite: 2 }, states: { ...coupleActions$1.states, progress: 2 } })),
5765
+ h(TaskCardView, Object.assign({}, coupleActions, { content: { ...coupleActions.content, repeatable: true, finite: 2 }, states: { ...coupleActions.states, progress: 2 } })),
5771
5766
  h("h5", null),
5772
- h(TaskCardView, Object.assign({}, coupleActions$1, { content: { ...coupleActions$1.content, repeatable: true, finite: 2 }, states: { ...coupleActions$1.states, progress: 5 } })),
5767
+ h(TaskCardView, Object.assign({}, coupleActions, { content: { ...coupleActions.content, repeatable: true, finite: 2 }, states: { ...coupleActions.states, progress: 5 } })),
5773
5768
  h("h5", null),
5774
- h(TaskCardView, Object.assign({}, coupleActions$1, { content: { ...coupleActions$1.content, repeatable: true, finite: 2 }, states: { ...coupleActions$1.states, progress: 10 } })),
5769
+ h(TaskCardView, Object.assign({}, coupleActions, { content: { ...coupleActions.content, repeatable: true, finite: 2 }, states: { ...coupleActions.states, progress: 10 } })),
5775
5770
  h("h5", null),
5776
- h(TaskCardView, Object.assign({}, coupleActions$1, { content: { ...coupleActions$1.content, repeatable: true, finite: 3 }, states: { ...coupleActions$1.states, progress: 12 } })),
5771
+ h(TaskCardView, Object.assign({}, coupleActions, { content: { ...coupleActions.content, repeatable: true, finite: 3 }, states: { ...coupleActions.states, progress: 12 } })),
5777
5772
  h("h5", null),
5778
- h(TaskCardView, Object.assign({}, coupleActions$1, { content: { ...coupleActions$1.content, repeatable: true, finite: 3 }, states: { ...coupleActions$1.states, progress: 15 } })),
5773
+ h(TaskCardView, Object.assign({}, coupleActions, { content: { ...coupleActions.content, repeatable: true, finite: 3 }, states: { ...coupleActions.states, progress: 15 } })),
5779
5774
  h("h5", null)),
5780
5775
  h("div", { style: resizable },
5781
5776
  h("h4", null, "Many Actions"),
5782
- h(TaskCardView, Object.assign({}, manyActions$1, { content: { ...manyActions$1.content, repeatable: true, finite: 2 }, states: { ...manyActions$1.states, progress: 200 } })),
5777
+ h(TaskCardView, Object.assign({}, manyActions, { content: { ...manyActions.content, repeatable: true, finite: 2 }, states: { ...manyActions.states, progress: 200 } })),
5783
5778
  h("h5", null),
5784
- h(TaskCardView, Object.assign({}, manyActions$1, { content: { ...manyActions$1.content, repeatable: true, finite: 3 }, states: { ...manyActions$1.states, progress: 500 } })),
5779
+ h(TaskCardView, Object.assign({}, manyActions, { content: { ...manyActions.content, repeatable: true, finite: 3 }, states: { ...manyActions.states, progress: 500 } })),
5785
5780
  h("h5", null),
5786
- h(TaskCardView, Object.assign({}, manyActions$1, { content: { ...manyActions$1.content, repeatable: true, finite: 2 }, states: { ...manyActions$1.states, progress: 1000 } })),
5781
+ h(TaskCardView, Object.assign({}, manyActions, { content: { ...manyActions.content, repeatable: true, finite: 2 }, states: { ...manyActions.states, progress: 1000 } })),
5787
5782
  h("h5", null),
5788
- h(TaskCardView, Object.assign({}, manyActions$1, { content: { ...manyActions$1.content, repeatable: true, finite: 3 }, states: { ...manyActions$1.states, progress: 1200 } })),
5783
+ h(TaskCardView, Object.assign({}, manyActions, { content: { ...manyActions.content, repeatable: true, finite: 3 }, states: { ...manyActions.states, progress: 1200 } })),
5789
5784
  h("h5", null),
5790
- h(TaskCardView, Object.assign({}, manyActions$1, { content: { ...manyActions$1.content, repeatable: true, finite: 3 }, states: { ...manyActions$1.states, progress: 1500 } })),
5785
+ h(TaskCardView, Object.assign({}, manyActions, { content: { ...manyActions.content, repeatable: true, finite: 3 }, states: { ...manyActions.states, progress: 1500 } })),
5791
5786
  h("h5", null))));
5792
5787
  };
5793
5788
  const TaskCardEndDate = () => {
@@ -5809,19 +5804,19 @@ const TaskCardEndDate = () => {
5809
5804
  h("h5", null)),
5810
5805
  h("div", { style: resizable },
5811
5806
  h("h4", null, "A Couple Actions"),
5812
- h(TaskCardView, Object.assign({}, oneAction, { content: { ...coupleActions$1.content, ...expire } })),
5807
+ h(TaskCardView, Object.assign({}, oneAction, { content: { ...coupleActions.content, ...expire } })),
5813
5808
  h("h5", null),
5814
- h(TaskCardView, Object.assign({}, oneAction, { content: { ...coupleActions$1.content, ...expireRepeat } })),
5809
+ h(TaskCardView, Object.assign({}, oneAction, { content: { ...coupleActions.content, ...expireRepeat } })),
5815
5810
  h("h5", null),
5816
- h(TaskCardView, Object.assign({}, oneAction, { content: { ...coupleActions$1.content, ...expireRepeat }, states: { ...coupleActions$1.states, progress: 5 } })),
5811
+ h(TaskCardView, Object.assign({}, oneAction, { content: { ...coupleActions.content, ...expireRepeat }, states: { ...coupleActions.states, progress: 5 } })),
5817
5812
  h("h5", null)),
5818
5813
  h("div", { style: resizable },
5819
5814
  h("h4", null, "Many Actions"),
5820
- h(TaskCardView, Object.assign({}, oneAction, { content: { ...manyActions$1.content, ...expire } })),
5815
+ h(TaskCardView, Object.assign({}, oneAction, { content: { ...manyActions.content, ...expire } })),
5821
5816
  h("h5", null),
5822
- h(TaskCardView, Object.assign({}, oneAction, { content: { ...manyActions$1.content, ...expireRepeat } })),
5817
+ h(TaskCardView, Object.assign({}, oneAction, { content: { ...manyActions.content, ...expireRepeat } })),
5823
5818
  h("h5", null),
5824
- h(TaskCardView, Object.assign({}, oneAction, { content: { ...manyActions$1.content, ...expireRepeat }, states: { ...manyActions$1.states, progress: 1000 } })),
5819
+ h(TaskCardView, Object.assign({}, oneAction, { content: { ...manyActions.content, ...expireRepeat }, states: { ...manyActions.states, progress: 1000 } })),
5825
5820
  h("h5", null))));
5826
5821
  };
5827
5822
  const TaskCardLoading = () => {
@@ -5839,18 +5834,18 @@ const TaskCardLoading = () => {
5839
5834
  h("h5", null)),
5840
5835
  h("div", { style: resizable },
5841
5836
  h("h4", null, "A Couple Actions"),
5842
- h(TaskCardView, Object.assign({}, coupleActions$1, loading)),
5837
+ h(TaskCardView, Object.assign({}, coupleActions, loading)),
5843
5838
  " ",
5844
5839
  h("h5", null),
5845
- h(TaskCardView, Object.assign({}, coupleActions$1, loading)),
5840
+ h(TaskCardView, Object.assign({}, coupleActions, loading)),
5846
5841
  " ",
5847
5842
  h("h5", null)),
5848
5843
  h("div", { style: resizable },
5849
5844
  h("h4", null, "Many Actions"),
5850
- h(TaskCardView, Object.assign({}, manyActions$1, loading)),
5845
+ h(TaskCardView, Object.assign({}, manyActions, loading)),
5851
5846
  " ",
5852
5847
  h("h5", null),
5853
- h(TaskCardView, Object.assign({}, manyActions$1, loading)),
5848
+ h(TaskCardView, Object.assign({}, manyActions, loading)),
5854
5849
  " ",
5855
5850
  h("h5", null))));
5856
5851
  };
@@ -5875,23 +5870,23 @@ const TaskCardNotStarted = () => {
5875
5870
  h("h5", null)),
5876
5871
  h("div", { style: resizable },
5877
5872
  h("h4", null, "A Couple Actions"),
5878
- h(TaskCardView, Object.assign({}, coupleActions$1, { states: { ...coupleActions$1.states, progress: 1 }, content: { ...coupleActions$1.content, ...expire } })),
5873
+ h(TaskCardView, Object.assign({}, coupleActions, { states: { ...coupleActions.states, progress: 1 }, content: { ...coupleActions.content, ...expire } })),
5879
5874
  h("h5", null),
5880
- h(TaskCardView, Object.assign({}, coupleActions$1, { states: { ...coupleActions$1.states, progress: 1 }, content: { ...coupleActions$1.content, ...expire } })),
5875
+ h(TaskCardView, Object.assign({}, coupleActions, { states: { ...coupleActions.states, progress: 1 }, content: { ...coupleActions.content, ...expire } })),
5881
5876
  h("h5", null),
5882
- h(TaskCardView, Object.assign({}, coupleActions$1, { states: { ...coupleActions$1.states, progress: 1 }, content: { ...coupleActions$1.content, ...expireRepeat } })),
5877
+ h(TaskCardView, Object.assign({}, coupleActions, { states: { ...coupleActions.states, progress: 1 }, content: { ...coupleActions.content, ...expireRepeat } })),
5883
5878
  h("h5", null),
5884
- h(TaskCardView, Object.assign({}, coupleActions$1, { states: { ...coupleActions$1.states, progress: 1 }, content: { ...coupleActions$1.content, ...expireRepeat } })),
5879
+ h(TaskCardView, Object.assign({}, coupleActions, { states: { ...coupleActions.states, progress: 1 }, content: { ...coupleActions.content, ...expireRepeat } })),
5885
5880
  h("h5", null)),
5886
5881
  h("div", { style: resizable },
5887
5882
  h("h4", null, "Many Actions"),
5888
- h(TaskCardView, Object.assign({}, manyActions$1, { states: { ...manyActions$1.states, progress: 100 }, content: { ...manyActions$1.content, ...expire } })),
5883
+ h(TaskCardView, Object.assign({}, manyActions, { states: { ...manyActions.states, progress: 100 }, content: { ...manyActions.content, ...expire } })),
5889
5884
  h("h5", null),
5890
- h(TaskCardView, Object.assign({}, manyActions$1, { states: { ...manyActions$1.states, progress: 500 }, content: { ...manyActions$1.content, ...expire } })),
5885
+ h(TaskCardView, Object.assign({}, manyActions, { states: { ...manyActions.states, progress: 500 }, content: { ...manyActions.content, ...expire } })),
5891
5886
  h("h5", null),
5892
- h(TaskCardView, Object.assign({}, manyActions$1, { states: { ...manyActions$1.states, progress: 100 }, content: { ...manyActions$1.content, ...expireRepeat } })),
5887
+ h(TaskCardView, Object.assign({}, manyActions, { states: { ...manyActions.states, progress: 100 }, content: { ...manyActions.content, ...expireRepeat } })),
5893
5888
  h("h5", null),
5894
- h(TaskCardView, Object.assign({}, manyActions$1, { states: { ...manyActions$1.states, progress: 500 }, content: { ...manyActions$1.content, ...expireRepeat } })),
5889
+ h(TaskCardView, Object.assign({}, manyActions, { states: { ...manyActions.states, progress: 500 }, content: { ...manyActions.content, ...expireRepeat } })),
5895
5890
  h("h5", null))));
5896
5891
  };
5897
5892
  const TaskCardEnded = () => {
@@ -5915,23 +5910,23 @@ const TaskCardEnded = () => {
5915
5910
  h("h5", null)),
5916
5911
  h("div", { style: resizable },
5917
5912
  h("h4", null, "A Couple Actions"),
5918
- h(TaskCardView, Object.assign({}, coupleActions$1, { states: { ...coupleActions$1.states, progress: 1 }, content: { ...coupleActions$1.content, ...expire } })),
5913
+ h(TaskCardView, Object.assign({}, coupleActions, { states: { ...coupleActions.states, progress: 1 }, content: { ...coupleActions.content, ...expire } })),
5919
5914
  h("h5", null),
5920
- h(TaskCardView, Object.assign({}, coupleActions$1, { states: { ...coupleActions$1.states, progress: 1 }, content: { ...coupleActions$1.content, ...expire } })),
5915
+ h(TaskCardView, Object.assign({}, coupleActions, { states: { ...coupleActions.states, progress: 1 }, content: { ...coupleActions.content, ...expire } })),
5921
5916
  h("h5", null),
5922
- h(TaskCardView, Object.assign({}, coupleActions$1, { states: { ...coupleActions$1.states, progress: 1 }, content: { ...coupleActions$1.content, ...expireRepeat } })),
5917
+ h(TaskCardView, Object.assign({}, coupleActions, { states: { ...coupleActions.states, progress: 1 }, content: { ...coupleActions.content, ...expireRepeat } })),
5923
5918
  h("h5", null),
5924
- h(TaskCardView, Object.assign({}, coupleActions$1, { states: { ...coupleActions$1.states, progress: 1 }, content: { ...coupleActions$1.content, ...expireRepeat } })),
5919
+ h(TaskCardView, Object.assign({}, coupleActions, { states: { ...coupleActions.states, progress: 1 }, content: { ...coupleActions.content, ...expireRepeat } })),
5925
5920
  h("h5", null)),
5926
5921
  h("div", { style: resizable },
5927
5922
  h("h4", null, "Many Actions"),
5928
- h(TaskCardView, Object.assign({}, manyActions$1, { states: { ...manyActions$1.states, progress: 100 }, content: { ...manyActions$1.content, ...expire } })),
5923
+ h(TaskCardView, Object.assign({}, manyActions, { states: { ...manyActions.states, progress: 100 }, content: { ...manyActions.content, ...expire } })),
5929
5924
  h("h5", null),
5930
- h(TaskCardView, Object.assign({}, manyActions$1, { states: { ...manyActions$1.states, progress: 500 }, content: { ...manyActions$1.content, ...expire } })),
5925
+ h(TaskCardView, Object.assign({}, manyActions, { states: { ...manyActions.states, progress: 500 }, content: { ...manyActions.content, ...expire } })),
5931
5926
  h("h5", null),
5932
- h(TaskCardView, Object.assign({}, manyActions$1, { states: { ...manyActions$1.states, progress: 100 }, content: { ...manyActions$1.content, ...expireRepeat } })),
5927
+ h(TaskCardView, Object.assign({}, manyActions, { states: { ...manyActions.states, progress: 100 }, content: { ...manyActions.content, ...expireRepeat } })),
5933
5928
  h("h5", null),
5934
- h(TaskCardView, Object.assign({}, manyActions$1, { states: { ...manyActions$1.states, progress: 500 }, content: { ...manyActions$1.content, ...expireRepeat } })),
5929
+ h(TaskCardView, Object.assign({}, manyActions, { states: { ...manyActions.states, progress: 500 }, content: { ...manyActions.content, ...expireRepeat } })),
5935
5930
  h("h5", null))));
5936
5931
  };
5937
5932
  const ProgressBar = () => {
@@ -5951,7 +5946,7 @@ const ProgressBarSteps = () => {
5951
5946
  progressBarUnit: "$",
5952
5947
  };
5953
5948
  return (h("div", null,
5954
- h(MatrixStory, { matrix: { progress: [0, 1, 5, 7] }, props: props, Component: ProgressBarView })));
5949
+ h(MatrixStory, { matrix: { progress: [0, 1, 5, 7, 12] }, props: props, Component: ProgressBarView })));
5955
5950
  };
5956
5951
  const ProgressBarRepeatable = () => {
5957
5952
  const props = {
@@ -5961,7 +5956,7 @@ const ProgressBarRepeatable = () => {
5961
5956
  repeatable: true,
5962
5957
  };
5963
5958
  return (h("div", null,
5964
- h(MatrixStory, { matrix: { progress: [0, 100, 500, 650, 1200] }, props: props, Component: ProgressBarView })));
5959
+ h(MatrixStory, { matrix: { progress: [0, 250, 500, 750, 1000, 1250] }, props: props, Component: ProgressBarView })));
5965
5960
  };
5966
5961
  const ProgressBarStepsRepeatable = () => {
5967
5962
  const props = {
@@ -5987,10 +5982,10 @@ const ProgressBarStepsRepeatableFinite = () => {
5987
5982
  h(MatrixStory, { matrix: { progress: [0, 1, 5, 7, 10, 12] }, props: props, Component: ProgressBarView })));
5988
5983
  };
5989
5984
 
5990
- const TaskCard$1 = /*#__PURE__*/Object.freeze({
5985
+ const TaskCard$2 = /*#__PURE__*/Object.freeze({
5991
5986
  __proto__: null,
5992
5987
  'default': TaskCard_stories,
5993
- TaskCard: TaskCard,
5988
+ TaskCard: TaskCard$1,
5994
5989
  TaskCardNotRepeatable: TaskCardNotRepeatable,
5995
5990
  TaskCardRepeatable: TaskCardRepeatable,
5996
5991
  TaskCardRepeatableFinite: TaskCardRepeatableFinite,
@@ -6054,7 +6049,7 @@ var marked = createCommonjsModule(function (module, exports) {
6054
6049
  */
6055
6050
 
6056
6051
  (function (global, factory) {
6057
- module.exports = factory() ;
6052
+ module.exports = factory() ;
6058
6053
  }(commonjsGlobal, (function () {
6059
6054
  function _defineProperties(target, props) {
6060
6055
  for (var i = 0; i < props.length; i++) {
@@ -9017,7 +9012,7 @@ const ReferralIframeReadme = "# sqm-referral-iframe\r\n\r\n\r\n\r\n<!-- Auto Gen
9017
9012
 
9018
9013
  const ForgotPasswordReadme = "# sqm-portal-forgot-password\r\n\r\n\r\n\r\n<!-- Auto Generated Below -->\r\n\r\n\r\n## Properties\r\n\r\n| Property | Attribute | Description | Type | Default |\r\n| -------------- | --------------- | -------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------- |\r\n| `demoData` | -- | | `{ states?: { error: string; loading: boolean; success: boolean; loginPath: string; }; content?: { secondaryButton: any; messageSlot: any; emailLabel?: string; submitLabel?: string; }; }` | `undefined` |\r\n| `emailLabel` | `email-label` | | `string` | `\"Email\"` |\r\n| `loginPath` | `login-path` | | `string` | `\"/login\"` |\r\n| `redirectPath` | `redirect-path` | The page that users are redirected to from the password reset email. | `string` | `\"/resetPassword\"` |\r\n| `submitLabel` | `submit-label` | | `string` | `\"Request Password Reset\"` |\r\n\r\n\r\n## Dependencies\r\n\r\n### Depends on\r\n\r\n- [sqm-form-message](../sqm-form-message)\r\n\r\n### Graph\r\n```mermaid\r\ngraph TD;\r\n sqm-portal-forgot-password --> sqm-form-message\r\n style sqm-portal-forgot-password fill:#f9f,stroke:#333,stroke-width:4px\r\n```\r\n\r\n----------------------------------------------\r\n\r\n*Built with [StencilJS](https://stenciljs.com/)*\r\n";
9019
9014
 
9020
- const RegisterReadme = "# sqm-portal-register\r\n\r\n\r\n\r\n<!-- Auto Generated Below -->\r\n\r\n\r\n## Properties\r\n\r\n| Property | Attribute | Description | Type | Default |\r\n| -------------------------- | ---------------------------- | ------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------- |\r\n| `confirmPassword` | `confirm-password` | | `boolean` | `false` |\r\n| `confirmPasswordLabel` | `confirm-password-label` | | `string` | `\"Confirm Password\"` |\r\n| `demoData` | -- | | `{ states?: { error: string; loading: boolean; confirmPassword: boolean; hideInputs: boolean; validationState?: FormState; enablePasswordValidation?: boolean; loginPath: string; }; refs?: { formRef: any; }; content?: { formData?: VNode; terms?: VNode; passwordField?: VNode; secondaryButton?: VNode; emailLabel?: string; passwordLabel?: string; submitLabel?: string; pageLabel?: string; confirmPasswordLabel: string; }; }` | `undefined` |\r\n| `emailLabel` | `email-label` | | `string` | `\"Email\"` |\r\n| `enablePasswordValidation` | `enable-password-validation` | | `boolean` | `true` |\r\n| `hideInputs` | `hide-inputs` | | `boolean` | `false` |\r\n| `loginLabel` | `login-label` | | `string` | `\"Sign in\"` |\r\n| `loginPath` | `login-path` | | `string` | `\"/login\"` |\r\n| `nextPage` | `next-page` | | `string` | `\"/\"` |\r\n| `pageLabel` | `page-label` | | `string` | `\"Register\"` |\r\n| `passwordLabel` | `password-label` | | `string` | `\"Password\"` |\r\n| `redirectPath` | `redirect-path` | The page that users are redirected to from the verification email. | `string` | `\"/verifyEmail\"` |\r\n| `submitLabel` | `submit-label` | | `string` | `\"Register\"` |\r\n\r\n\r\n## Dependencies\r\n\r\n### Used by\r\n\r\n - [sqm-stencilbook](../sqm-stencilbook)\r\n\r\n### Depends on\r\n\r\n- [sqm-form-message](../sqm-form-message)\r\n- [sqm-password-field](../sqm-password-field)\r\n\r\n### Graph\r\n```mermaid\r\ngraph TD;\r\n sqm-portal-register --> sqm-form-message\r\n sqm-portal-register --> sqm-password-field\r\n sqm-stencilbook --> sqm-portal-register\r\n style sqm-portal-register fill:#f9f,stroke:#333,stroke-width:4px\r\n```\r\n\r\n----------------------------------------------\r\n\r\n*Built with [StencilJS](https://stenciljs.com/)*\r\n";
9015
+ const RegisterReadme = "# sqm-portal-register\r\n\r\n\r\n\r\n<!-- Auto Generated Below -->\n\n\n## Properties\n\n| Property | Attribute | Description | Type | Default |\n| -------------------------- | ---------------------------- | ------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------- |\n| `confirmPassword` | `confirm-password` | | `boolean` | `false` |\n| `confirmPasswordLabel` | `confirm-password-label` | | `string` | `\"Confirm Password\"` |\n| `demoData` | -- | | `{ states?: { error: string; loading: boolean; confirmPassword: boolean; hideInputs: boolean; validationState?: FormState; enablePasswordValidation?: boolean; loginPath: string; }; refs?: { formRef: any; }; content?: { formData?: VNode; terms?: VNode; passwordField?: VNode; secondaryButton?: VNode; emailLabel?: string; passwordLabel?: string; submitLabel?: string; pageLabel?: string; confirmPasswordLabel: string; }; }` | `undefined` |\n| `emailLabel` | `email-label` | | `string` | `\"Email\"` |\n| `enablePasswordValidation` | `enable-password-validation` | | `boolean` | `true` |\n| `hideInputs` | `hide-inputs` | | `boolean` | `false` |\n| `loginLabel` | `login-label` | | `string` | `\"Sign in\"` |\n| `loginPath` | `login-path` | | `string` | `\"/login\"` |\n| `nextPage` | `next-page` | | `string` | `\"/\"` |\n| `pageLabel` | `page-label` | | `string` | `\"Register\"` |\n| `passwordLabel` | `password-label` | | `string` | `\"Password\"` |\n| `redirectPath` | `redirect-path` | The page that users are redirected to from the verification email. | `string` | `\"/verifyEmail\"` |\n| `submitLabel` | `submit-label` | | `string` | `\"Register\"` |\n\n\n## Dependencies\n\n### Used by\n\n - [sqm-stencilbook](../sqm-stencilbook)\n\n### Depends on\n\n- [sqm-form-message](../sqm-form-message)\n- [sqm-password-field](../sqm-password-field)\n\n### Graph\n```mermaid\ngraph TD;\n sqm-portal-register --> sqm-form-message\n sqm-portal-register --> sqm-password-field\n sqm-stencilbook --> sqm-portal-register\n style sqm-portal-register fill:#f9f,stroke:#333,stroke-width:4px\n```\n\n----------------------------------------------\n\n*Built with [StencilJS](https://stenciljs.com/)*\n";
9021
9016
 
9022
9017
  const EditProfileReadme = "# sqm-portal-profile\r\n\r\n\r\n\r\n<!-- Auto Generated Below -->\r\n\r\n\r\n## Properties\r\n\r\n| Property | Attribute | Description | Type | Default |\r\n| ------------------------ | --------------------------- | ----------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ |\r\n| `countrytext` | `countrytext` | | `string` | `\"Country\"` |\r\n| `demoData` | -- | | `{ states?: { success: boolean; loading: boolean; submitDisabled: boolean; showCountry: boolean; formState: { country: string; firstName: string; lastName: string; errors: any; error: string; }; user: { id: string; accountId: string; firstName: string; lastName: string; email: string; countryCode: string; }; text: { firstnametext: string; lastnametext: string; emailtext: string; countrytext: string; editProfileHeader: string; editProfileSubHeader: string; submitChangeButtonText: string; }; }; }` | `undefined` |\r\n| `editProfileHeader` | `edit-profile-header` | | `string` | `\"Edit your profile\"` |\r\n| `editProfileSubHeader` | `edit-profile-sub-header` | | `string` | `\"Personal Information\"` |\r\n| `emailtext` | `emailtext` | | `string` | `\"Email\"` |\r\n| `firstnametext` | `firstnametext` | | `string` | `\"First Name\"` |\r\n| `lastnametext` | `lastnametext` | | `string` | `\"Last Name\"` |\r\n| `showCountry` | `show-country` | | `boolean` | `true` |\r\n| `submitChangeButtonText` | `submit-change-button-text` | | `string` | `\"Submit Changes\"` |\r\n\r\n\r\n## Dependencies\r\n\r\n### Depends on\r\n\r\n- [sqm-form-message](../sqm-form-message)\r\n\r\n### Graph\r\n```mermaid\r\ngraph TD;\r\n sqm-portal-profile --> sqm-form-message\r\n style sqm-portal-profile fill:#f9f,stroke:#333,stroke-width:4px\r\n```\r\n\r\n----------------------------------------------\r\n\r\n*Built with [StencilJS](https://stenciljs.com/)*\r\n";
9023
9018
 
@@ -9037,7 +9032,7 @@ const PortalTemplates_stories = {
9037
9032
  // padding="large"
9038
9033
  // show-powered-by="false"
9039
9034
  // powered-by-link="https://www.saasquatch.com/"
9040
- function useTemplate(templateString) {
9035
+ function useTemplate$1(templateString) {
9041
9036
  const [editedTemplate, setEditedTemplate] = useState(templateString);
9042
9037
  const [previewTemplate, setPreviewTemplate] = useState(templateString);
9043
9038
  return {
@@ -9045,7 +9040,7 @@ function useTemplate(templateString) {
9045
9040
  callbacks: { setEditedTemplate, setPreviewTemplate },
9046
9041
  };
9047
9042
  }
9048
- function TemplateView(props) {
9043
+ function TemplateView$1(props) {
9049
9044
  const { states, callbacks, readme } = props;
9050
9045
  return [
9051
9046
  h("textarea", { style: { width: "100%", height: "300px" }, onChange: (e) => callbacks.setEditedTemplate(e.target.value) }, states.editedTemplate),
@@ -9072,70 +9067,70 @@ function DefaultTemplateView(props) {
9072
9067
  gridTemplateColumns: "repeat(9, 80px)",
9073
9068
  gridGap: "10px",
9074
9069
  } },
9075
- h("button", { onClick: () => dn.push("/") }, "Dashboard"),
9076
- props.leadSubmit && (h("button", { onClick: () => dn.push("/refer") }, "Submit a Referral")),
9077
- h("button", { onClick: () => dn.push("/activity") }, "Activity"),
9078
- h("button", { onClick: () => dn.push("/editProfile") }, "Edit Profile"),
9079
- h("button", { onClick: () => dn.push("/login") }, "Login"),
9080
- h("button", { onClick: () => dn.push("/register") }, "Register"),
9081
- h("button", { onClick: () => dn.push("/emailVerification") }, "Email Verification"),
9082
- h("button", { onClick: () => dn.push("/verifyEmail") }, "Verify Email"),
9083
- h("button", { onClick: () => dn.push("/forgotPassword") }, "Forgot Password"),
9084
- h("button", { onClick: () => dn.push("/resetPassword") }, "Reset Password")),
9070
+ h("button", { onClick: () => pn.push("/") }, "Dashboard"),
9071
+ props.leadSubmit && (h("button", { onClick: () => pn.push("/refer") }, "Submit a Referral")),
9072
+ h("button", { onClick: () => pn.push("/activity") }, "Activity"),
9073
+ h("button", { onClick: () => pn.push("/editProfile") }, "Edit Profile"),
9074
+ h("button", { onClick: () => pn.push("/login") }, "Login"),
9075
+ h("button", { onClick: () => pn.push("/register") }, "Register"),
9076
+ h("button", { onClick: () => pn.push("/emailVerification") }, "Email Verification"),
9077
+ h("button", { onClick: () => pn.push("/verifyEmail") }, "Verify Email"),
9078
+ h("button", { onClick: () => pn.push("/forgotPassword") }, "Forgot Password"),
9079
+ h("button", { onClick: () => pn.push("/resetPassword") }, "Reset Password")),
9085
9080
  h("br", null),
9086
9081
  h("div", { innerHTML: states.previewTemplate })));
9087
9082
  }
9088
9083
  const DefaultPortal = createHookStory(() => {
9089
- const { states, callbacks } = useTemplate(portalTemplate);
9084
+ const { states, callbacks } = useTemplate$1(portalTemplate);
9090
9085
  return (h(DefaultTemplateView, { states: states, callbacks: callbacks, template: portalTemplateWithDashboard }));
9091
9086
  });
9092
9087
  const MultiProgramPortal = createHookStory(() => {
9093
- const { states, callbacks } = useTemplate(multiProgramTemplate);
9088
+ const { states, callbacks } = useTemplate$1(multiProgramTemplate);
9094
9089
  return (h(DefaultTemplateView, { states: states, callbacks: callbacks, template: multiProgramTemplateWithDashboard }));
9095
9090
  });
9096
9091
  const LeadSubmitPortal = createHookStory(() => {
9097
- const { states, callbacks } = useTemplate(portalLeadSubmitTemplate);
9092
+ const { states, callbacks } = useTemplate$1(portalLeadSubmitTemplate);
9098
9093
  return (h(DefaultTemplateView, { states: states, callbacks: callbacks, template: portalLeadSubmitTemplateWithDashboard, leadSubmit: true }));
9099
9094
  });
9100
9095
  const Login = createHookStory(() => {
9101
- const { states, callbacks } = useTemplate(loginTemplate);
9102
- return (h(TemplateView, { states: states, callbacks: callbacks, readme: LoginReadme }));
9096
+ const { states, callbacks } = useTemplate$1(loginTemplate);
9097
+ return (h(TemplateView$1, { states: states, callbacks: callbacks, readme: LoginReadme }));
9103
9098
  });
9104
9099
  const ForgotPassword = createHookStory(() => {
9105
- const { states, callbacks } = useTemplate(forgotPasswordTemplate);
9106
- return (h(TemplateView, { states: states, callbacks: callbacks, readme: ForgotPasswordReadme }));
9100
+ const { states, callbacks } = useTemplate$1(forgotPasswordTemplate);
9101
+ return (h(TemplateView$1, { states: states, callbacks: callbacks, readme: ForgotPasswordReadme }));
9107
9102
  });
9108
9103
  const Register = createHookStory(() => {
9109
- const { states, callbacks } = useTemplate(registerTemplate);
9110
- return (h(TemplateView, { states: states, callbacks: callbacks, readme: RegisterReadme }));
9104
+ const { states, callbacks } = useTemplate$1(registerTemplate);
9105
+ return (h(TemplateView$1, { states: states, callbacks: callbacks, readme: RegisterReadme }));
9111
9106
  });
9112
- const Dashboard = createHookStory(() => {
9113
- const { states, callbacks } = useTemplate(dashboardTemplate);
9114
- return h(TemplateView, { states: states, callbacks: callbacks });
9107
+ const Dashboard$1 = createHookStory(() => {
9108
+ const { states, callbacks } = useTemplate$1(dashboardTemplate);
9109
+ return h(TemplateView$1, { states: states, callbacks: callbacks });
9115
9110
  });
9116
9111
  const LeadSubmitIframe = createHookStory(() => {
9117
- const { states, callbacks } = useTemplate(leadSubmitTemplate);
9118
- return (h(TemplateView, { states: states, callbacks: callbacks, readme: ReferralIframeReadme }));
9112
+ const { states, callbacks } = useTemplate$1(leadSubmitTemplate);
9113
+ return (h(TemplateView$1, { states: states, callbacks: callbacks, readme: ReferralIframeReadme }));
9119
9114
  });
9120
- const Activity = createHookStory(() => {
9121
- const { states, callbacks } = useTemplate(activityTemplate);
9122
- return h(TemplateView, { states: states, callbacks: callbacks });
9115
+ const Activity$1 = createHookStory(() => {
9116
+ const { states, callbacks } = useTemplate$1(activityTemplate);
9117
+ return h(TemplateView$1, { states: states, callbacks: callbacks });
9123
9118
  });
9124
- const EditProfile = createHookStory(() => {
9125
- const { states, callbacks } = useTemplate(editProfileTemplate);
9126
- return (h(TemplateView, { states: states, callbacks: callbacks, readme: EditProfileReadme }));
9119
+ const EditProfile$2 = createHookStory(() => {
9120
+ const { states, callbacks } = useTemplate$1(editProfileTemplate);
9121
+ return (h(TemplateView$1, { states: states, callbacks: callbacks, readme: EditProfileReadme }));
9127
9122
  });
9128
9123
  const ResetPassword = createHookStory(() => {
9129
- const { states, callbacks } = useTemplate(resetPasswordTemplate);
9130
- return (h(TemplateView, { states: states, callbacks: callbacks, readme: ResetPasswordReadme }));
9124
+ const { states, callbacks } = useTemplate$1(resetPasswordTemplate);
9125
+ return (h(TemplateView$1, { states: states, callbacks: callbacks, readme: ResetPasswordReadme }));
9131
9126
  });
9132
9127
  const EmailVerification = createHookStory(() => {
9133
- const { states, callbacks } = useTemplate(emailVerificationTemplate);
9134
- return (h(TemplateView, { states: states, callbacks: callbacks, readme: EmailVerificationReadme }));
9128
+ const { states, callbacks } = useTemplate$1(emailVerificationTemplate);
9129
+ return (h(TemplateView$1, { states: states, callbacks: callbacks, readme: EmailVerificationReadme }));
9135
9130
  });
9136
9131
  const EmailVerified = createHookStory(() => {
9137
- const { states, callbacks } = useTemplate(emailVerifiedTemplate);
9138
- return (h(TemplateView, { states: states, callbacks: callbacks, readme: EmailVerifiedReadme }));
9132
+ const { states, callbacks } = useTemplate$1(emailVerifiedTemplate);
9133
+ return (h(TemplateView$1, { states: states, callbacks: callbacks, readme: EmailVerifiedReadme }));
9139
9134
  });
9140
9135
  const Widget = createHookStory(() => {
9141
9136
  return (h("sqb-widget", { "widget-type": "p/Vacay-referral/w/referrerWidget", demoData: {
@@ -9145,12 +9140,12 @@ const Widget = createHookStory(() => {
9145
9140
  } }));
9146
9141
  });
9147
9142
  const ResetPasswordEmail = createHookStory(() => {
9148
- const { states, callbacks } = useTemplate(resetPasswordEmailTemplate);
9149
- return h(TemplateView, { states: states, callbacks: callbacks });
9143
+ const { states, callbacks } = useTemplate$1(resetPasswordEmailTemplate);
9144
+ return h(TemplateView$1, { states: states, callbacks: callbacks });
9150
9145
  });
9151
9146
  const VerifyEmail = createHookStory(() => {
9152
- const { states, callbacks } = useTemplate(verifyEmailTemplate);
9153
- return h(TemplateView, { states: states, callbacks: callbacks });
9147
+ const { states, callbacks } = useTemplate$1(verifyEmailTemplate);
9148
+ return h(TemplateView$1, { states: states, callbacks: callbacks });
9154
9149
  });
9155
9150
 
9156
9151
  const PortalTemplates = /*#__PURE__*/Object.freeze({
@@ -9162,10 +9157,10 @@ const PortalTemplates = /*#__PURE__*/Object.freeze({
9162
9157
  Login: Login,
9163
9158
  ForgotPassword: ForgotPassword,
9164
9159
  Register: Register,
9165
- Dashboard: Dashboard,
9160
+ Dashboard: Dashboard$1,
9166
9161
  LeadSubmitIframe: LeadSubmitIframe,
9167
- Activity: Activity,
9168
- EditProfile: EditProfile,
9162
+ Activity: Activity$1,
9163
+ EditProfile: EditProfile$2,
9169
9164
  ResetPassword: ResetPassword,
9170
9165
  EmailVerification: EmailVerification,
9171
9166
  EmailVerified: EmailVerified,
@@ -9223,7 +9218,7 @@ const ProgramMenu = /*#__PURE__*/Object.freeze({
9223
9218
  const PoweredByImg_stories = {
9224
9219
  title: "Powered By",
9225
9220
  };
9226
- const Default$1 = () => {
9221
+ const Default$a = () => {
9227
9222
  return h(PoweredByImg$1, null);
9228
9223
  };
9229
9224
  const CustomColor = () => {
@@ -9236,20 +9231,20 @@ const CustomWidthAndHeight = () => {
9236
9231
  const PoweredByImg = /*#__PURE__*/Object.freeze({
9237
9232
  __proto__: null,
9238
9233
  'default': PoweredByImg_stories,
9239
- Default: Default$1,
9234
+ Default: Default$a,
9240
9235
  CustomColor: CustomColor,
9241
9236
  CustomWidthAndHeight: CustomWidthAndHeight
9242
9237
  });
9243
9238
 
9244
- const scenario$4 = "Feature: Portal Footer\r\n\r\n Background: A user is viewing the portal\r\n Given a hosted portal\r\n And a user is viewing the portal\r\n And the portal has a footer\r\n\r\n Scenario Outline: FAQ and T&C links/text are configurable and open in a new page when clicked\r\n Given the footer has prop \"terms-link\" with value \"https://example.com/terms\"\r\n And prop \"terms-text\" with value \"Terms and Conditions\"\r\n And prop \"faq-link\" with value \"https://example.com/FAQ\"\r\n And prop \"faq-text\" with value \"Visit FAQ\"\r\n When a user clicks on the \"Visit FAQ\" link\r\n Then they will be redirected to \"https://example.com/FAQ\" in a new page\r\n When they go back to the portal\r\n And click on the \"Terms and Conditions\" link\r\n Then they will be redirected to \"https://example.com/terms\" in a new page\r\n\r\n Scenario Outline: FAQ/T&C Links are not shown if a link is not provided\r\n Given the footer does not have <linkProp>\r\n But it <mayHave> <textProp> with <value>\r\n Then the <link> will not be shown in the footer\r\n Examples:\r\n | linkProp | mayHave | textProp | value | link |\r\n | terms-link | has | termsText | Terms and Conditions | T&C Link |\r\n | faq-link | has | faqText | Visit FAQ | FAQ Link |\r\n | terms-link | doesn't have | | | T&C Link |\r\n | faq-link | doesn't have | | | FAQ Link |\r\n\r\n Scenario Outline: The support email and text is configurable but has a default\r\n Given the footer <mayHave> <emailPropWithValue>\r\n And the footer <mayAlsoHave> <textPropWithValue>\r\n Then the footer's support email text is <renderedEmailText>\r\n And the email address will be a mailto link with <mailtoEmail>\r\n When the user clicks on the email address mailto Link\r\n Then the users preferred email client will open with a draft email to <mailtoEmail>\r\n Examples:\r\n | mayHave | emailPropWithValue | mayAlsoHave | textPropWithValue | mailtoEmail | renderedEmailText |\r\n | has | support@saasquatch.com | has | For support please contact {email} | support@saasquatch.com | For support please contact support@saasquatch.com |\r\n | doesn't have | N/A | doesn't have | N/A | support@example.com | For program support, contact support@example.com |\r\n\r\n Scenario Outline: Powered by SaaSquatch is shown by default\r\n Given the footer <mayHaveProp> \"show-powered-by\" with <value>\r\n Then the powered by SaaSquatch image <mayBeShown>\r\n Examples:\r\n | mayHaveProp | value | mayBeShown |\r\n | has prop | true | is shown |\r\n | has prop | false | isn't shown |\r\n | has prop | test | is shown |\r\n | has prop | | is shown |\r\n | doesn't have prop | | is shown |\r\n\r\n Scenario: Powered By Saasquatch links out to \"https://saasquatch.com\"\r\n Given the footer has the powered by SaaSquatch image\r\n When a user clicks on it\r\n Then they will be redirected to \"https://saasquatch.com\" in a new page";
9239
+ const scenario$6 = "Feature: Portal Footer\r\n\r\n Background: A user is viewing the portal\r\n Given a hosted portal\r\n And a user is viewing the portal\r\n And the portal has a footer\r\n\r\n Scenario Outline: FAQ and T&C links/text are configurable and open in a new page when clicked\r\n Given the footer has prop \"terms-link\" with value \"https://example.com/terms\"\r\n And prop \"terms-text\" with value \"Terms and Conditions\"\r\n And prop \"faq-link\" with value \"https://example.com/FAQ\"\r\n And prop \"faq-text\" with value \"Visit FAQ\"\r\n When a user clicks on the \"Visit FAQ\" link\r\n Then they will be redirected to \"https://example.com/FAQ\" in a new page\r\n When they go back to the portal\r\n And click on the \"Terms and Conditions\" link\r\n Then they will be redirected to \"https://example.com/terms\" in a new page\r\n\r\n Scenario Outline: FAQ/T&C Links are not shown if a link is not provided\r\n Given the footer does not have <linkProp>\r\n But it <mayHave> <textProp> with <value>\r\n Then the <link> will not be shown in the footer\r\n Examples:\r\n | linkProp | mayHave | textProp | value | link |\r\n | terms-link | has | termsText | Terms and Conditions | T&C Link |\r\n | faq-link | has | faqText | Visit FAQ | FAQ Link |\r\n | terms-link | doesn't have | | | T&C Link |\r\n | faq-link | doesn't have | | | FAQ Link |\r\n\r\n Scenario Outline: The support email and text is configurable but has a default\r\n Given the footer <mayHave> <emailPropWithValue>\r\n And the footer <mayAlsoHave> <textPropWithValue>\r\n Then the footer's support email text is <renderedEmailText>\r\n And the email address will be a mailto link with <mailtoEmail>\r\n When the user clicks on the email address mailto Link\r\n Then the users preferred email client will open with a draft email to <mailtoEmail>\r\n Examples:\r\n | mayHave | emailPropWithValue | mayAlsoHave | textPropWithValue | mailtoEmail | renderedEmailText |\r\n | has | support@saasquatch.com | has | For support please contact {email} | support@saasquatch.com | For support please contact support@saasquatch.com |\r\n | doesn't have | N/A | doesn't have | N/A | support@example.com | For program support, contact support@example.com |\r\n\r\n Scenario Outline: Powered by SaaSquatch is shown by default\r\n Given the footer <mayHaveProp> \"show-powered-by\" with <value>\r\n Then the powered by SaaSquatch image <mayBeShown>\r\n Examples:\r\n | mayHaveProp | value | mayBeShown |\r\n | has prop | true | is shown |\r\n | has prop | false | isn't shown |\r\n | has prop | test | is shown |\r\n | has prop | | is shown |\r\n | doesn't have prop | | is shown |\r\n\r\n Scenario: Powered By Saasquatch links out to \"https://saasquatch.com\"\r\n Given the footer has the powered by SaaSquatch image\r\n When a user clicks on it\r\n Then they will be redirected to \"https://saasquatch.com\" in a new page";
9245
9240
 
9246
9241
  const PortalFooter_stories = {
9247
9242
  title: "Portal Footer",
9248
9243
  parameters: {
9249
- scenario: scenario$4,
9244
+ scenario: scenario$6,
9250
9245
  },
9251
9246
  };
9252
- const defaultProps = {
9247
+ const defaultProps$9 = {
9253
9248
  supportEmail: "support@example.com",
9254
9249
  supportText: "For program support, contact {email}",
9255
9250
  showPoweredBy: true,
@@ -9259,11 +9254,11 @@ const defaultProps = {
9259
9254
  paddingBottom: "large",
9260
9255
  paddingLeft: "large",
9261
9256
  };
9262
- const DefaultFooter = () => h(PortalFooterView, Object.assign({}, defaultProps));
9263
- const FooterWithTerms = () => (h(PortalFooterView, Object.assign({}, defaultProps, { termsLink: "https://example.com", termsText: "Terms and Conditions" })));
9264
- const FooterWithFAQ = () => (h(PortalFooterView, Object.assign({}, defaultProps, { faqLink: "https://example.com", faqText: "FAQ" })));
9265
- const FooterWithTermsAndFAQ = () => (h(PortalFooterView, Object.assign({}, defaultProps, { termsLink: "https://example.com", termsText: "Terms and Conditions", faqLink: "https://example.com", faqText: "FAQ" })));
9266
- const FooterNoPoweredBy = () => (h(PortalFooterView, Object.assign({}, defaultProps, { termsLink: "https://example.com", termsText: "Terms and Conditions", faqLink: "https://example.com", faqText: "FAQ", showPoweredBy: false })));
9257
+ const DefaultFooter = () => h(PortalFooterView, Object.assign({}, defaultProps$9));
9258
+ const FooterWithTerms = () => (h(PortalFooterView, Object.assign({}, defaultProps$9, { termsLink: "https://example.com", termsText: "Terms and Conditions" })));
9259
+ const FooterWithFAQ = () => (h(PortalFooterView, Object.assign({}, defaultProps$9, { faqLink: "https://example.com", faqText: "FAQ" })));
9260
+ const FooterWithTermsAndFAQ = () => (h(PortalFooterView, Object.assign({}, defaultProps$9, { termsLink: "https://example.com", termsText: "Terms and Conditions", faqLink: "https://example.com", faqText: "FAQ" })));
9261
+ const FooterNoPoweredBy = () => (h(PortalFooterView, Object.assign({}, defaultProps$9, { termsLink: "https://example.com", termsText: "Terms and Conditions", faqLink: "https://example.com", faqText: "FAQ", showPoweredBy: false })));
9267
9262
 
9268
9263
  const PortalFooter = /*#__PURE__*/Object.freeze({
9269
9264
  __proto__: null,
@@ -9275,12 +9270,12 @@ const PortalFooter = /*#__PURE__*/Object.freeze({
9275
9270
  FooterNoPoweredBy: FooterNoPoweredBy
9276
9271
  });
9277
9272
 
9278
- const scenario$3 = "Feature: Hero Unit\r\n\r\n Background: A portal with a hero unit exists\r\n Given a hosted portal\r\n And the portal has hero unit on the login page\r\n And a user is viewing the login page\r\n\r\n Scenario: The hero unit defaults to a single column layout\r\n Given a hero unit does not have a \"columns\" prop\r\n But the following html is wrapped by the hero unit\r\n \"\"\"\r\n <sqm-portal-login></sqm-portal-login>\r\n <div slot=\"secondary-column\">\r\n <h1 style=\"text-align:center\">Get Referring!</h1>\r\n <p style=\"text-align:center\">\r\n Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do\r\n eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim\r\n ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut\r\n aliquip ex ea commodo consequat. Duis aute irure dolor in\r\n reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla\r\n pariatur.\r\n </p>\r\n </div>\r\n \"\"\"\r\n Then only a single column will be displayed\r\n And within it will be the login component\r\n\r\n Scenario Outline: The hero unit supports single or dual column layouts\r\n Given a hero unit with prop \"columns\" having <columnValue>\r\n And it wraps <html>\r\n Then the hero unit displays <columnValue> columns\r\n Examples:\r\n | columnValue | html |\r\n | 1 | <h1>Column 1!</h1> |\r\n | 2 | <h1>Column 1!</h1><div slot=\"secondary-column\"><h1 style=\"text-align:center\">Column 2!</h1></div> |\r\n\r\n Scenario: HTML to be displayed in the second column comes from the \"secondary-column\" slot\r\n Given a hero unit with \"columns\" \"2\"\r\n And the following html\r\n \"\"\"\r\n <h1>Column 1!</h1>\r\n <div>\r\n <h1 style=\"text-align:center\">Column 2!</h1>\r\n </div>\r\n \"\"\"\r\n When the hero unit is rendered\r\n Then only one column is displayed with content\r\n And column 1 will contain the \"Column 1!\" text\r\n And column 1 will contain the \"Column 2!\" text\r\n When the div for column two is updated to have 'slot=\"secondary-column\"'\r\n Then the two columns are displayed with content\r\n And column 1 will contain the \"Column 1!\" text\r\n And column 2 will contain the \"Column 2!\" text\r\n\r\n Scenario Outline: A background for the hero unit can be set as an image or colour\r\n Given a hero unit with <backgroundPropValue>\r\n Then the background will be <background>\r\n Examples:\r\n | background | background |\r\n | https://images.unsplash.com/photo-1599676821464-3555954838d | image of misty mountains |\r\n | LightSlateGrey | light slate grey |\r\n | #00FF00 | green |\r\n | rgb(128,0,128) | purple |\r\n\r\n Scenario Outline: Wrap Direction can be configured for mobile experiences\r\n Given a hero unit with the following HTML\r\n \"\"\"\r\n <h1>Column 1!</h1>\r\n <div slot=\"secondary-column\">\r\n <h1 style=\"text-align:center\">Column 2!</h1>\r\n </div>\r\n \"\"\"\r\n And prop \"wrap-direction\" has <value>\r\n When the window width is less than 600px\r\n Then the two columns will stack\r\n And <column> will be on top\r\n Examples:\r\n | value | column |\r\n | wrap | 1 |\r\n | wrap-reverse | 2 |\r\n | | 1 |";
9273
+ const scenario$7 = "Feature: Hero Unit\r\n\r\n Background: A portal with a hero unit exists\r\n Given a hosted portal\r\n And the portal has hero unit on the login page\r\n And a user is viewing the login page\r\n\r\n Scenario: The hero unit defaults to a single column layout\r\n Given a hero unit does not have a \"columns\" prop\r\n But the following html is wrapped by the hero unit\r\n \"\"\"\r\n <sqm-portal-login></sqm-portal-login>\r\n <div slot=\"secondary-column\">\r\n <h1 style=\"text-align:center\">Get Referring!</h1>\r\n <p style=\"text-align:center\">\r\n Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do\r\n eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim\r\n ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut\r\n aliquip ex ea commodo consequat. Duis aute irure dolor in\r\n reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla\r\n pariatur.\r\n </p>\r\n </div>\r\n \"\"\"\r\n Then only a single column will be displayed\r\n And within it will be the login component\r\n\r\n Scenario Outline: The hero unit supports single or dual column layouts\r\n Given a hero unit with prop \"columns\" having <columnValue>\r\n And it wraps <html>\r\n Then the hero unit displays <columnValue> columns\r\n Examples:\r\n | columnValue | html |\r\n | 1 | <h1>Column 1!</h1> |\r\n | 2 | <h1>Column 1!</h1><div slot=\"secondary-column\"><h1 style=\"text-align:center\">Column 2!</h1></div> |\r\n\r\n Scenario: HTML to be displayed in the second column comes from the \"secondary-column\" slot\r\n Given a hero unit with \"columns\" \"2\"\r\n And the following html\r\n \"\"\"\r\n <h1>Column 1!</h1>\r\n <div>\r\n <h1 style=\"text-align:center\">Column 2!</h1>\r\n </div>\r\n \"\"\"\r\n When the hero unit is rendered\r\n Then only one column is displayed with content\r\n And column 1 will contain the \"Column 1!\" text\r\n And column 1 will contain the \"Column 2!\" text\r\n When the div for column two is updated to have 'slot=\"secondary-column\"'\r\n Then the two columns are displayed with content\r\n And column 1 will contain the \"Column 1!\" text\r\n And column 2 will contain the \"Column 2!\" text\r\n\r\n Scenario Outline: A background for the hero unit can be set as an image or colour\r\n Given a hero unit with <backgroundPropValue>\r\n Then the background will be <background>\r\n Examples:\r\n | background | background |\r\n | https://images.unsplash.com/photo-1599676821464-3555954838d | image of misty mountains |\r\n | LightSlateGrey | light slate grey |\r\n | #00FF00 | green |\r\n | rgb(128,0,128) | purple |\r\n\r\n Scenario Outline: Wrap Direction can be configured for mobile experiences\r\n Given a hero unit with the following HTML\r\n \"\"\"\r\n <h1>Column 1!</h1>\r\n <div slot=\"secondary-column\">\r\n <h1 style=\"text-align:center\">Column 2!</h1>\r\n </div>\r\n \"\"\"\r\n And prop \"wrap-direction\" has <value>\r\n When the window width is less than 600px\r\n Then the two columns will stack\r\n And <column> will be on top\r\n Examples:\r\n | value | column |\r\n | wrap | 1 |\r\n | wrap-reverse | 2 |\r\n | | 1 |";
9279
9274
 
9280
9275
  const Hero_stories = {
9281
9276
  title: "Hero Layout",
9282
9277
  parameters: {
9283
- scenario: scenario$3,
9278
+ scenario: scenario$7,
9284
9279
  },
9285
9280
  };
9286
9281
  const LoginOneColumn = () => {
@@ -9457,15 +9452,15 @@ const Hero = /*#__PURE__*/Object.freeze({
9457
9452
  TwoColumnLoginWithImgElement: TwoColumnLoginWithImgElement
9458
9453
  });
9459
9454
 
9460
- const scenario$2 = "@owner:sam\r\n@author:sam\r\n\r\nFeature: Referral Iframe\r\n\r\n Used to provide an external form for submitting referral leads using the current user's referral code\r\n\r\n Background: A user is logged in\r\n Given there is a logged in user\r\n\r\n @motivating\r\n Scenario: Referral code is passed to the iframe as a query parameter\r\n Given the \"iframe-src\" is \"https://example.com\"\r\n And the user has navigated to \"/refer\"\r\n And the user's referral code is \"BOBBYREFER\"\r\n When the iframe content is loaded\r\n Then the iframe url will be \"https://example.com?rsCode=BOBBYREFER\"\r\n\r\n @ui\r\n Scenario Outline: The height and width of the iFrame can be controlled via props\r\n Given the \"iframe-src\" is \"https://example.com\"\r\n And the iframe content is 1000x1000\r\n And the \"iframe-height\" is set to <heightValue>\r\n And the \"iframe-width\" is set to <widthValue>\r\n Then the content of the iframe will be displayed with scrollbars\r\n And the dimension of the iFrame displayed will be 500x500\r\n When the \"iframe-height\" is set to <heightValue>\r\n And the \"iframe-width\" is set to <widthValue>\r\n Then the full content of the iframe will be displayed on the page\r\n And the dimension of the iFrame displayed will be 1000x1000\r\n Examples:\r\n | heightValue | widthValue |\r\n | 500px | 500px |\r\n | 50% | 50% |\r\n\r\n @minutae\r\n Scenario Outline: The iFrame will fail fast if a iFrame source isn't provided\r\n Given \"iframe-src\" <mayBeAnAttribute>\r\n And it <mayHaveValue>\r\n When a user views the referral iFrame component\r\n Then an alert with an error message is displayed in place of the iFrame\r\n And it has a details section\r\n When \"More details\" is clicked\r\n Then the following information will be displayed\r\n | component being used |\r\n | missing attribute(s) |\r\n\r\n Examples:\r\n | mayBeAnAttribute | mayHaveValue |\r\n | is not an attribute | N/A |\r\n | is an attribute | \"\" |\r\n | is an attribute | |";
9455
+ const scenario$8 = "@owner:sam\r\n@author:sam\r\n\r\nFeature: Referral Iframe\r\n\r\n Used to provide an external form for submitting referral leads using the current user's referral code\r\n\r\n Background: A user is logged in\r\n Given there is a logged in user\r\n\r\n @motivating\r\n Scenario: Referral code is passed to the iframe as a query parameter\r\n Given the \"iframe-src\" is \"https://example.com\"\r\n And the user has navigated to \"/refer\"\r\n And the user's referral code is \"BOBBYREFER\"\r\n When the iframe content is loaded\r\n Then the iframe url will be \"https://example.com?rsCode=BOBBYREFER\"\r\n\r\n @ui\r\n Scenario Outline: The height and width of the iFrame can be controlled via props\r\n Given the \"iframe-src\" is \"https://example.com\"\r\n And the iframe content is 1000x1000\r\n And the \"iframe-height\" is set to <heightValue>\r\n And the \"iframe-width\" is set to <widthValue>\r\n Then the content of the iframe will be displayed with scrollbars\r\n And the dimension of the iFrame displayed will be 500x500\r\n When the \"iframe-height\" is set to <heightValue>\r\n And the \"iframe-width\" is set to <widthValue>\r\n Then the full content of the iframe will be displayed on the page\r\n And the dimension of the iFrame displayed will be 1000x1000\r\n Examples:\r\n | heightValue | widthValue |\r\n | 500px | 500px |\r\n | 50% | 50% |\r\n\r\n @minutae\r\n Scenario Outline: The iFrame will fail fast if a iFrame source isn't provided\r\n Given \"iframe-src\" <mayBeAnAttribute>\r\n And it <mayHaveValue>\r\n When a user views the referral iFrame component\r\n Then an alert with an error message is displayed in place of the iFrame\r\n And it has a details section\r\n When \"More details\" is clicked\r\n Then the following information will be displayed\r\n | component being used |\r\n | missing attribute(s) |\r\n\r\n Examples:\r\n | mayBeAnAttribute | mayHaveValue |\r\n | is not an attribute | N/A |\r\n | is an attribute | \"\" |\r\n | is an attribute | |";
9461
9456
 
9462
9457
  const ReferralIframe_stories = {
9463
9458
  title: "Referral Iframe",
9464
9459
  parameters: {
9465
- scenario: scenario$2,
9460
+ scenario: scenario$8,
9466
9461
  },
9467
9462
  };
9468
- const props$2 = {
9463
+ const props = {
9469
9464
  data: {
9470
9465
  shareCode: "BOBBYREFER",
9471
9466
  },
@@ -9479,7 +9474,7 @@ const props$2 = {
9479
9474
  };
9480
9475
  const ReferralIframe = () => {
9481
9476
  return (h("div", { style: { width: "1000px", height: "1000px" } },
9482
- h(ReferralIframeView, Object.assign({}, props$2))));
9477
+ h(ReferralIframeView, Object.assign({}, props))));
9483
9478
  };
9484
9479
  const ReferralIframeError = () => {
9485
9480
  return (h("div", { style: { width: "1000px", height: "1000px" } },
@@ -9493,12 +9488,12 @@ const ReferralIframe$1 = /*#__PURE__*/Object.freeze({
9493
9488
  ReferralIframeError: ReferralIframeError
9494
9489
  });
9495
9490
 
9496
- const scenario$1 = "@owner:sam\r\n@author:sam\r\n\r\nFeature: Name Fields\r\n\r\n Fields to be used to fill the first and last name of a user during registration\r\n\r\n Background:\r\n Given the current page is \"/register\"\r\n\r\n @motivating\r\n Scenario: Both first name and last name are required\r\n Given the email field has valid input\r\n And the password field has valid input\r\n And first name field is empty\r\n And last name field is empty\r\n When register is clicked\r\n Then the name fields will be highlighted in red\r\n And the error messages will say \"Cannot be empty\"\r\n\r\n @motivating\r\n Scenario: First and last name are upserted with the SaaSquatch user\r\n Given all fields have been filled with data\r\n | firstName | lastName | email | password |\r\n | Bob | Testerson | bob@example.com | SecurePassword1 |\r\n When register is clicked\r\n Then the email verification page will be loaded\r\n And the user will be upserted\r\n And the SaaSquatch user will contain data\r\n | firstName | lastName | email |\r\n | Bob | Testerson | bob@example.com |\r\n\r\n";
9491
+ const scenario$9 = "@owner:sam\r\n@author:sam\r\n\r\nFeature: Name Fields\r\n\r\n Fields to be used to fill the first and last name of a user during registration\r\n\r\n Background:\r\n Given the current page is \"/register\"\r\n\r\n @motivating\r\n Scenario: Both first name and last name are required\r\n Given the email field has valid input\r\n And the password field has valid input\r\n And first name field is empty\r\n And last name field is empty\r\n When register is clicked\r\n Then the name fields will be highlighted in red\r\n And the error messages will say \"Cannot be empty\"\r\n\r\n @motivating\r\n Scenario: First and last name are upserted with the SaaSquatch user\r\n Given all fields have been filled with data\r\n | firstName | lastName | email | password |\r\n | Bob | Testerson | bob@example.com | SecurePassword1 |\r\n When register is clicked\r\n Then the email verification page will be loaded\r\n And the user will be upserted\r\n And the SaaSquatch user will contain data\r\n | firstName | lastName | email |\r\n | Bob | Testerson | bob@example.com |\r\n\r\n";
9497
9492
 
9498
9493
  const NameFields_stories = {
9499
9494
  title: "Name Fields",
9500
9495
  parameters: {
9501
- scenario: scenario$1,
9496
+ scenario: scenario$9,
9502
9497
  },
9503
9498
  };
9504
9499
  const props$1 = {
@@ -9510,7 +9505,7 @@ const props$1 = {
9510
9505
  },
9511
9506
  },
9512
9507
  };
9513
- const errorProps = {
9508
+ const errorProps$8 = {
9514
9509
  states: {
9515
9510
  validationErrors: {
9516
9511
  firstName: "Cannot be empty",
@@ -9526,7 +9521,7 @@ const NameFields = () => {
9526
9521
  return h(NameFieldsView, Object.assign({}, props$1));
9527
9522
  };
9528
9523
  const NameFieldsWithErrors = () => {
9529
- return h(NameFieldsView, Object.assign({}, errorProps));
9524
+ return h(NameFieldsView, Object.assign({}, errorProps$8));
9530
9525
  };
9531
9526
 
9532
9527
  const NameFields$1 = /*#__PURE__*/Object.freeze({
@@ -9588,7 +9583,7 @@ const baseResponse = (data, stage = "chooseReward", selectedItem = null, selecte
9588
9583
  },
9589
9584
  refs: null,
9590
9585
  });
9591
- const baseReward = {
9586
+ const baseReward$2 = {
9592
9587
  key: "",
9593
9588
  name: "",
9594
9589
  description: "Description of reward. Lorem ipsum dolor sit amet, consectetur adipiscing. Id nec semper sapien dignissim rhoncus nunc.",
@@ -9640,52 +9635,52 @@ const variableValue = (min, max, unit) => ({
9640
9635
  });
9641
9636
  const data = [
9642
9637
  {
9643
- ...baseReward,
9638
+ ...baseReward$2,
9644
9639
  ...name("Free swag with a promo code"),
9645
9640
  ...imageUrl("https://i.imgur.com/n7vC4BR.png"),
9646
9641
  ...fixedValue("40 SaaSquatch Points"),
9647
9642
  },
9648
9643
  {
9649
- ...baseReward,
9644
+ ...baseReward$2,
9650
9645
  ...selected,
9651
9646
  ...name("Visa® Prepaid Card USD"),
9652
9647
  ...imageUrl("https://i.imgur.com/veHErQX.png"),
9653
9648
  ...variableValue(20, 80, "Points"),
9654
9649
  },
9655
9650
  {
9656
- ...baseReward,
9651
+ ...baseReward$2,
9657
9652
  ...name("A very exclusive gift box"),
9658
9653
  ...imageUrl("https://i.imgur.com/93BvEgH.png"),
9659
9654
  ...fixedValue("30 SaaSquatch Points"),
9660
9655
  },
9661
9656
  {
9662
- ...baseReward,
9657
+ ...baseReward$2,
9663
9658
  ...name("$50 Store credit"),
9664
9659
  ...imageUrl("https://i.imgur.com/WkCMVSE.png"),
9665
9660
  ...fixedValue("100 SaaSquatch Points"),
9666
9661
  },
9667
9662
  {
9668
- ...baseReward,
9663
+ ...baseReward$2,
9669
9664
  ...name("Variable amount of store credit"),
9670
9665
  ...imageUrl("https://i.imgur.com/Jn2fE0s.png"),
9671
9666
  ...variableValue(20, 100, "Points"),
9672
9667
  },
9673
9668
  {
9674
- ...baseReward,
9669
+ ...baseReward$2,
9675
9670
  ...notEnoughPoints,
9676
9671
  ...name("A very rare cactus"),
9677
9672
  ...imageUrl("https://i.imgur.com/hhlF2Ey.png"),
9678
9673
  ...fixedValue("2000 SaaSquatch Points"),
9679
9674
  },
9680
9675
  {
9681
- ...baseReward,
9676
+ ...baseReward$2,
9682
9677
  ...usTax,
9683
9678
  ...name("$1000 Store credit with a really super long name in the front page"),
9684
9679
  ...imageUrl("https://i.imgur.com/y9HSls1.png"),
9685
9680
  ...fixedValue("2000 SaaSquatch Long Points"),
9686
9681
  },
9687
9682
  {
9688
- ...baseReward,
9683
+ ...baseReward$2,
9689
9684
  ...notEnoughPoints,
9690
9685
  ...name("A holiday gift box"),
9691
9686
  ...imageUrl("https://i.imgur.com/dWEdB3p.png"),
@@ -9697,7 +9692,7 @@ const rewardExchange = {
9697
9692
  };
9698
9693
  const rewardExchangeSelected = {
9699
9694
  ...baseResponse(data, "chooseReward", {
9700
- ...baseReward,
9695
+ ...baseReward$2,
9701
9696
  ...selected,
9702
9697
  ...name("Visa® Prepaid Card USD"),
9703
9698
  ...imageUrl("https://i.imgur.com/veHErQX.png"),
@@ -9714,7 +9709,7 @@ const baseStep = (dst, dstUnit, src, srcUnit, available = true) => ({
9714
9709
  });
9715
9710
  const chooseAmountVariable = {
9716
9711
  ...baseResponse(data, "chooseAmount", {
9717
- ...baseReward,
9712
+ ...baseReward$2,
9718
9713
  ...name("Visa® Prepaid Card USD"),
9719
9714
  ...imageUrl("https://i.imgur.com/veHErQX.png"),
9720
9715
  ...variableValue(20, 80, "Points"),
@@ -9729,7 +9724,7 @@ const chooseAmountVariable = {
9729
9724
  };
9730
9725
  const chooseAmountFixed = {
9731
9726
  ...baseResponse(data, "chooseAmount", {
9732
- ...baseReward,
9727
+ ...baseReward$2,
9733
9728
  ...name("Free swag with a promo code"),
9734
9729
  ...imageUrl("https://i.imgur.com/n7vC4BR.png"),
9735
9730
  ...fixedValue("40 SaaSquatch Points"),
@@ -9737,7 +9732,7 @@ const chooseAmountFixed = {
9737
9732
  };
9738
9733
  const confirmFixed = {
9739
9734
  ...baseResponse(data, "confirmation", {
9740
- ...baseReward,
9735
+ ...baseReward$2,
9741
9736
  ...name("Free swag with a promo code"),
9742
9737
  ...imageUrl("https://i.imgur.com/n7vC4BR.png"),
9743
9738
  ...fixedValue("40 SaaSquatch Points"),
@@ -9745,15 +9740,15 @@ const confirmFixed = {
9745
9740
  };
9746
9741
  const confirmVariable = {
9747
9742
  ...baseResponse(data, "confirmation", {
9748
- ...baseReward,
9743
+ ...baseReward$2,
9749
9744
  ...name("Visa® Prepaid Card USD"),
9750
9745
  ...imageUrl("https://i.imgur.com/veHErQX.png"),
9751
9746
  ...variableValue(20, 80, "Points"),
9752
9747
  }, baseStep(20, "$", 40, "Points")),
9753
9748
  };
9754
- const error$1 = {
9749
+ const error = {
9755
9750
  ...baseResponse(data, "confirmation", {
9756
- ...baseReward,
9751
+ ...baseReward$2,
9757
9752
  ...name("Visa® Prepaid Card USD"),
9758
9753
  ...imageUrl("https://i.imgur.com/veHErQX.png"),
9759
9754
  ...variableValue(20, 80, "Points"),
@@ -9761,7 +9756,7 @@ const error$1 = {
9761
9756
  };
9762
9757
  const success = {
9763
9758
  ...baseResponse(data, "success", {
9764
- ...baseReward,
9759
+ ...baseReward$2,
9765
9760
  ...name("Free swag with a promo code"),
9766
9761
  ...imageUrl("https://i.imgur.com/n7vC4BR.png"),
9767
9762
  ...fixedValue("40 SaaSquatch Points"),
@@ -9769,7 +9764,7 @@ const success = {
9769
9764
  };
9770
9765
  const successVariable = {
9771
9766
  ...baseResponse(data, "success", {
9772
- ...baseReward,
9767
+ ...baseReward$2,
9773
9768
  ...name("Visa® Prepaid Card USD"),
9774
9769
  ...imageUrl("https://i.imgur.com/93BvEgH.png"),
9775
9770
  ...variableValue(20, 80, "Points"),
@@ -9792,10 +9787,10 @@ const ChooseAmount = StoryBase(chooseAmountFixed);
9792
9787
  const ChooseAmountVariable = StoryBase(chooseAmountVariable);
9793
9788
  const Confirm = StoryBase(confirmFixed);
9794
9789
  const ConfirmVariable = StoryBase(confirmVariable);
9795
- const Error$1 = StoryBase(error$1);
9790
+ const Error$3 = StoryBase(error);
9796
9791
  const SuccessPromo = StoryBase(success);
9797
9792
  const SuccessVariable = StoryBase(successVariable);
9798
- const Loading = StoryBase(loading);
9793
+ const Loading$3 = StoryBase(loading);
9799
9794
 
9800
9795
  const RewardExchangeList = /*#__PURE__*/Object.freeze({
9801
9796
  __proto__: null,
@@ -9806,10 +9801,10 @@ const RewardExchangeList = /*#__PURE__*/Object.freeze({
9806
9801
  ChooseAmountVariable: ChooseAmountVariable,
9807
9802
  Confirm: Confirm,
9808
9803
  ConfirmVariable: ConfirmVariable,
9809
- Error: Error$1,
9804
+ Error: Error$3,
9810
9805
  SuccessPromo: SuccessPromo,
9811
9806
  SuccessVariable: SuccessVariable,
9812
- Loading: Loading
9807
+ Loading: Loading$3
9813
9808
  });
9814
9809
 
9815
9810
  const ProgramExplainer_stories = {
@@ -9973,7 +9968,7 @@ const BrandStories = /*#__PURE__*/Object.freeze({
9973
9968
  const CardFeed_stories = {
9974
9969
  title: "Components/Card Feed",
9975
9970
  };
9976
- const props = {
9971
+ const props$2 = {
9977
9972
  width: 347,
9978
9973
  gap: 24,
9979
9974
  };
@@ -10001,7 +9996,7 @@ const taskCardProps = {
10001
9996
  },
10002
9997
  states: { progress: 0, loading: false, loadingEvent: false },
10003
9998
  };
10004
- const coupleActions = {
9999
+ const coupleActions$1 = {
10005
10000
  content: {
10006
10001
  rewardAmount: "40",
10007
10002
  rewardUnit: "SaaSquatch Points",
@@ -10025,7 +10020,7 @@ const coupleActions = {
10025
10020
  },
10026
10021
  states: { progress: 1, loading: false, loadingEvent: false },
10027
10022
  };
10028
- const manyActions = {
10023
+ const manyActions$1 = {
10029
10024
  content: {
10030
10025
  rewardAmount: "150",
10031
10026
  rewardUnit: "SaaSquatch Points",
@@ -10055,21 +10050,21 @@ const manyActions = {
10055
10050
  },
10056
10051
  };
10057
10052
  const TaskCardGrid = () => {
10058
- return (h(CardFeedView, Object.assign({}, props),
10053
+ return (h(CardFeedView, Object.assign({}, props$2),
10059
10054
  h(TaskCardView, Object.assign({}, taskCardProps)),
10060
10055
  h("div", null,
10061
- h(TaskCardView, Object.assign({}, coupleActions))),
10056
+ h(TaskCardView, Object.assign({}, coupleActions$1))),
10062
10057
  h("div", null,
10063
10058
  h("div", null,
10064
10059
  h(TaskCardView, Object.assign({}, taskCardProps)))),
10065
- h(TaskCardView, Object.assign({}, coupleActions)),
10066
- h(TaskCardView, Object.assign({}, coupleActions)),
10060
+ h(TaskCardView, Object.assign({}, coupleActions$1)),
10061
+ h(TaskCardView, Object.assign({}, coupleActions$1)),
10067
10062
  h("div", null,
10068
- h(TaskCardView, Object.assign({}, coupleActions))),
10063
+ h(TaskCardView, Object.assign({}, coupleActions$1))),
10069
10064
  h("div", null,
10070
10065
  h("div", null,
10071
10066
  h(TaskCardView, Object.assign({}, taskCardProps)))),
10072
- h(TaskCardView, Object.assign({}, manyActions))));
10067
+ h(TaskCardView, Object.assign({}, manyActions$1))));
10073
10068
  };
10074
10069
 
10075
10070
  const CardFeed = /*#__PURE__*/Object.freeze({
@@ -10078,12 +10073,12 @@ const CardFeed = /*#__PURE__*/Object.freeze({
10078
10073
  TaskCardGrid: TaskCardGrid
10079
10074
  });
10080
10075
 
10081
- const scenario = "Feature: Portal Container\r\n\r\n\r\n Scenario: Horizontal content overflows, but does not stretch\r\n\r\n Bad elements should not affect other elements in the page\r\n\r\n Given there are two element in the container\r\n And the first is small\r\n And the second would stretch the container wider than it's parent\r\n Then the second one is clipped\r\n And the first one doesn't stretch\r\n\r\n @landmine\r\n Scenario: `max-width` is required for displaying as a row\r\n Given I have `direction` to \"row\"\r\n And I have not set a `max-width`\r\n Then it will display as a column\r\n";
10076
+ const scenario$a = "Feature: Portal Container\r\n\r\n\r\n Scenario: Horizontal content overflows, but does not stretch\r\n\r\n Bad elements should not affect other elements in the page\r\n\r\n Given there are two element in the container\r\n And the first is small\r\n And the second would stretch the container wider than it's parent\r\n Then the second one is clipped\r\n And the first one doesn't stretch\r\n\r\n @landmine\r\n Scenario: `max-width` is required for displaying as a row\r\n Given I have `direction` to \"row\"\r\n And I have not set a `max-width`\r\n Then it will display as a column\r\n";
10082
10077
 
10083
10078
  const PortalContainer_stories = {
10084
10079
  title: "Components/Portal Container",
10085
10080
  parameters: {
10086
- scenario,
10081
+ scenario: scenario$a,
10087
10082
  },
10088
10083
  };
10089
10084
  const TooWideColumn = () => (h("div", { style: { width: "200px", border: "1px dashed grey" } },
@@ -10118,7 +10113,7 @@ const PortalContainer = /*#__PURE__*/Object.freeze({
10118
10113
  const RewardsTableCell_stories = {
10119
10114
  title: "Components/Rewards Table Cell",
10120
10115
  };
10121
- const rewardsData = {
10116
+ const rewardsData$1 = {
10122
10117
  id: "61c100117a82a376d8804166",
10123
10118
  type: "CREDIT",
10124
10119
  value: 19,
@@ -10149,7 +10144,7 @@ const rewardsData = {
10149
10144
  },
10150
10145
  };
10151
10146
  const RewardsCellCreditFull = () => {
10152
- return (h("sqm-rewards-table-reward-cell", { reward: { ...rewardsData }, availableText: "19 Points remaining" }));
10147
+ return (h("sqm-rewards-table-reward-cell", { reward: { ...rewardsData$1 }, availableText: "19 Points remaining" }));
10153
10148
  };
10154
10149
  const partial = {
10155
10150
  prettyAvailableValue: "10 Points",
@@ -10158,7 +10153,7 @@ const partial = {
10158
10153
  dateRedeemed: 1640038417468,
10159
10154
  };
10160
10155
  const RewardsCellCreditPartial = () => {
10161
- return (h("sqm-rewards-table-reward-cell", { reward: { ...rewardsData, ...partial }, availableText: "10 Points remaining" }));
10156
+ return (h("sqm-rewards-table-reward-cell", { reward: { ...rewardsData$1, ...partial }, availableText: "10 Points remaining" }));
10162
10157
  };
10163
10158
  const empty = {
10164
10159
  prettyAvailableValue: "0 Points",
@@ -10167,7 +10162,7 @@ const empty = {
10167
10162
  dateRedeemed: 1640038417468,
10168
10163
  };
10169
10164
  const RewardsCellCreditEmpty = () => {
10170
- return (h("sqm-rewards-table-reward-cell", { reward: { ...rewardsData, ...empty }, availableText: "0 Points remaining" }));
10165
+ return (h("sqm-rewards-table-reward-cell", { reward: { ...rewardsData$1, ...empty }, availableText: "0 Points remaining" }));
10171
10166
  };
10172
10167
  const singleRedeemed = {
10173
10168
  prettyValue: "1 Points",
@@ -10179,13 +10174,13 @@ const singleRedeemed = {
10179
10174
  dateRedeemed: 1640038417468,
10180
10175
  };
10181
10176
  const RewardsCellSingleRedeemed = () => {
10182
- return (h("sqm-rewards-table-reward-cell", { reward: { ...rewardsData, ...singleRedeemed } }));
10177
+ return (h("sqm-rewards-table-reward-cell", { reward: { ...rewardsData$1, ...singleRedeemed } }));
10183
10178
  };
10184
10179
  const RewardsCellNonCredit = () => {
10185
- return (h("sqm-rewards-table-reward-cell", { reward: { ...rewardsData, type: "FUELTANK", prettyValue: "SaaSquatch Giftcard" } }));
10180
+ return (h("sqm-rewards-table-reward-cell", { reward: { ...rewardsData$1, type: "FUELTANK", prettyValue: "SaaSquatch Giftcard" } }));
10186
10181
  };
10187
10182
  const SourceCellText = () => {
10188
- return (h("sqm-rewards-table-source-cell", { reward: rewardsData, rewardSourceText: "Manual" }));
10183
+ return (h("sqm-rewards-table-source-cell", { reward: rewardsData$1, rewardSourceText: "Manual" }));
10189
10184
  };
10190
10185
  const exchange = {
10191
10186
  exchangedRewardRedemptionTransaction: {
@@ -10199,7 +10194,7 @@ const exchange = {
10199
10194
  },
10200
10195
  };
10201
10196
  const SourceCellExchange = () => {
10202
- return (h("sqm-rewards-table-source-cell", { reward: { ...rewardsData, ...exchange }, rewardExchangeText: "Reward Exchange" }));
10197
+ return (h("sqm-rewards-table-source-cell", { reward: { ...rewardsData$1, ...exchange }, rewardExchangeText: "Reward Exchange" }));
10203
10198
  };
10204
10199
  const johnDoe = {
10205
10200
  firstName: "John",
@@ -10244,57 +10239,57 @@ const referred = (user = null) => {
10244
10239
  };
10245
10240
  };
10246
10241
  const SourceCellReferral = () => {
10247
- return (h("sqm-rewards-table-source-cell", { reward: { ...rewardsData, ...referral(johnDoe) }, referralText: "Referral to" }));
10242
+ return (h("sqm-rewards-table-source-cell", { reward: { ...rewardsData$1, ...referral(johnDoe) }, referralText: "Referral to" }));
10248
10243
  };
10249
10244
  const SourceCellReferred = () => {
10250
- return (h("sqm-rewards-table-source-cell", { reward: { ...rewardsData, ...referred(johnDoe) }, referralText: "Referred by" }));
10245
+ return (h("sqm-rewards-table-source-cell", { reward: { ...rewardsData$1, ...referred(johnDoe) }, referralText: "Referred by" }));
10251
10246
  };
10252
10247
  const SourceCellAnonymousUser = () => {
10253
- return (h("sqm-rewards-table-source-cell", { reward: { ...rewardsData, ...referral(anon) }, referralText: "Referral to", anonymousUserText: "Anonymous User" }));
10248
+ return (h("sqm-rewards-table-source-cell", { reward: { ...rewardsData$1, ...referral(anon) }, referralText: "Referral to", anonymousUserText: "Anonymous User" }));
10254
10249
  };
10255
10250
  const SourceCellDeletedUser = () => {
10256
- return (h("sqm-rewards-table-source-cell", { reward: { ...rewardsData, ...referral(null) }, referralText: "Referral to", deletedUserText: "Deleted User" }));
10251
+ return (h("sqm-rewards-table-source-cell", { reward: { ...rewardsData$1, ...referral(null) }, referralText: "Referral to", deletedUserText: "Deleted User" }));
10257
10252
  };
10258
10253
  const StatusCellAvailable = () => {
10259
- return (h("sqm-rewards-table-status-cell", { statusText: "Available", reward: rewardsData }));
10254
+ return (h("sqm-rewards-table-status-cell", { statusText: "Available", reward: rewardsData$1 }));
10260
10255
  };
10261
10256
  const expire = {
10262
10257
  dateExpires: 1640038417468,
10263
10258
  };
10264
10259
  const StatusCellAvailableExpiry = () => {
10265
- return (h("sqm-rewards-table-status-cell", { statusText: "Available", reward: { ...rewardsData, ...expire }, expiryText: "Expires" }));
10260
+ return (h("sqm-rewards-table-status-cell", { statusText: "Available", reward: { ...rewardsData$1, ...expire }, expiryText: "Expires" }));
10266
10261
  };
10267
10262
  const redeemed = {
10268
10263
  statuses: ["REDEEMED"],
10269
10264
  dateRedeemed: 1640038417468,
10270
10265
  };
10271
10266
  const StatusCellRedeemed = () => {
10272
- return (h("sqm-rewards-table-status-cell", { statusText: "Redeemed", reward: { ...rewardsData, ...redeemed } }));
10267
+ return (h("sqm-rewards-table-status-cell", { statusText: "Redeemed", reward: { ...rewardsData$1, ...redeemed } }));
10273
10268
  };
10274
10269
  const cancelled = {
10275
10270
  statuses: ["CANCELLED"],
10276
10271
  dateCancelled: 1640038417468,
10277
10272
  };
10278
10273
  const StatusCellCancelled = () => {
10279
- return (h("sqm-rewards-table-status-cell", { statusText: "Cancelled", reward: { ...rewardsData, ...cancelled } }));
10274
+ return (h("sqm-rewards-table-status-cell", { statusText: "Cancelled", reward: { ...rewardsData$1, ...cancelled } }));
10280
10275
  };
10281
10276
  const expired = {
10282
10277
  statuses: ["EXPIRED"],
10283
10278
  dateExpires: 1640038417468,
10284
10279
  };
10285
10280
  const StatusCellExpired = () => {
10286
- return (h("sqm-rewards-table-status-cell", { statusText: "Expired", reward: { ...rewardsData, ...expired } }));
10281
+ return (h("sqm-rewards-table-status-cell", { statusText: "Expired", reward: { ...rewardsData$1, ...expired } }));
10287
10282
  };
10288
10283
  const pending = {
10289
10284
  statuses: ["PENDING"],
10290
10285
  };
10291
10286
  const StatusCellPending = () => {
10292
- return (h("sqm-rewards-table-status-cell", { statusText: "Pending", reward: { ...rewardsData, ...pending } }));
10287
+ return (h("sqm-rewards-table-status-cell", { statusText: "Pending", reward: { ...rewardsData$1, ...pending } }));
10293
10288
  };
10294
- const DateCell = () => {
10289
+ const DateCell$1 = () => {
10295
10290
  return (h("sqm-rewards-table-date-cell", { date: 1640038417468 }));
10296
10291
  };
10297
- const EmptyCell$1 = () => {
10292
+ const EmptyCell$2 = () => {
10298
10293
  return h("sqm-rewards-table-date-cell", null);
10299
10294
  };
10300
10295
 
@@ -10318,8 +10313,8 @@ const RewardsTableCell = /*#__PURE__*/Object.freeze({
10318
10313
  StatusCellCancelled: StatusCellCancelled,
10319
10314
  StatusCellExpired: StatusCellExpired,
10320
10315
  StatusCellPending: StatusCellPending,
10321
- DateCell: DateCell,
10322
- EmptyCell: EmptyCell$1
10316
+ DateCell: DateCell$1,
10317
+ EmptyCell: EmptyCell$2
10323
10318
  });
10324
10319
 
10325
10320
  const RewardsTable_stories = {
@@ -10328,7 +10323,7 @@ const RewardsTable_stories = {
10328
10323
  const Tab = () => {
10329
10324
  return h("sqm-rewards-table-date-cell", null);
10330
10325
  };
10331
- const EmptyCell = () => {
10326
+ const EmptyCell$3 = () => {
10332
10327
  return h("sqm-rewards-table-date-cell", null);
10333
10328
  };
10334
10329
 
@@ -10336,58 +10331,56 @@ const RewardsTable = /*#__PURE__*/Object.freeze({
10336
10331
  __proto__: null,
10337
10332
  'default': RewardsTable_stories,
10338
10333
  Tab: Tab,
10339
- EmptyCell: EmptyCell
10334
+ EmptyCell: EmptyCell$3
10340
10335
  });
10341
10336
 
10342
10337
  const UseReferralTable_stories = {
10343
10338
  title: "Hooks / useReferralTable",
10344
10339
  };
10345
- function setupGraphQL() {
10340
+ function setupGraphQL$9() {
10346
10341
  const id = "testestest";
10347
10342
  const accountId = id;
10348
10343
  //@ts-ignore
10349
10344
  window.widgetIdent = {
10350
10345
  tenantAlias: "test_a8b41jotf8a1v",
10351
10346
  appDomain: "https://staging.referralsaasquatch.com",
10352
- // programId,
10353
10347
  };
10354
10348
  useEffect(() => {
10355
- ae$1({
10349
+ Y({
10356
10350
  accountId,
10357
10351
  id,
10358
10352
  jwt: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InRlc3Rlc3Rlc3QiLCJpZCI6InRlc3Rlc3Rlc3QifX0.qYnU5hNeIj9C_G3NogfG7btgCPGZC7JRXY0MG6a63zs",
10359
10353
  });
10360
10354
  return () => {
10361
10355
  window.widgetIdent = undefined;
10362
- ae$1(undefined);
10356
+ Y(undefined);
10363
10357
  };
10364
10358
  }, []);
10365
10359
  return { id, accountId };
10366
10360
  }
10367
- function setupGraphQLKlip({ token, id }) {
10361
+ function setupGraphQLKlip$1({ token, id }) {
10368
10362
  const accountId = id;
10369
10363
  // const programId = "klip-referral-program";
10370
10364
  //@ts-ignore
10371
10365
  window.widgetIdent = {
10372
10366
  tenantAlias: "test_a74miwdpofztj",
10373
10367
  appDomain: "https://staging.referralsaasquatch.com",
10374
- // programId,
10375
10368
  };
10376
10369
  useEffect(() => {
10377
- ae$1({
10370
+ Y({
10378
10371
  accountId,
10379
10372
  id,
10380
10373
  jwt: token,
10381
10374
  });
10382
10375
  return () => {
10383
10376
  window.widgetIdent = undefined;
10384
- ae$1(undefined);
10377
+ Y(undefined);
10385
10378
  };
10386
10379
  }, []);
10387
10380
  return { id, accountId };
10388
10381
  }
10389
- const ReferralTable = createHookStory(() => {
10390
- setupGraphQL();
10382
+ const ReferralTable$1 = createHookStory(() => {
10383
+ setupGraphQL$9();
10391
10384
  A$1("sam-partner-test-2");
10392
10385
  return (h("sqm-referral-table", null,
10393
10386
  h("sqm-referral-table-user-column", null),
@@ -10396,7 +10389,7 @@ const ReferralTable = createHookStory(() => {
10396
10389
  h("sqm-referral-table-rewards-column", null)));
10397
10390
  });
10398
10391
  const ReferralTableEn = createHookStory(() => {
10399
- setupGraphQLKlip({
10392
+ setupGraphQLKlip$1({
10400
10393
  token: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InNhbWVuZ2xpc2giLCJpZCI6InNhbWVuZ2xpc2gifX0._6OTVF3gcipu_ibgthUNr5UHwC-2E_lhCENI5HpYvcw",
10401
10394
  id: "samenglish",
10402
10395
  });
@@ -10408,7 +10401,7 @@ const ReferralTableEn = createHookStory(() => {
10408
10401
  h("sqm-referral-table-date-column", { "column-title": "Date Referred", "date-shown": "dateReferralStarted" })));
10409
10402
  });
10410
10403
  const ReferralTableTr = createHookStory(() => {
10411
- setupGraphQLKlip({
10404
+ setupGraphQLKlip$1({
10412
10405
  token: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InNhbXR1cmtleSIsImlkIjoic2FtdHVya2V5In19.usSMe0RWg8W5FtwcvJayvAlxTw6vMxjTyWXaP8jI8_U",
10413
10406
  id: "samturkey",
10414
10407
  });
@@ -10420,7 +10413,7 @@ const ReferralTableTr = createHookStory(() => {
10420
10413
  h("sqm-referral-table-date-column", { "column-title": "Tarih", "date-shown": "dateReferralStarted" })));
10421
10414
  });
10422
10415
  const ReferralTableFr = createHookStory(() => {
10423
- setupGraphQLKlip({
10416
+ setupGraphQLKlip$1({
10424
10417
  token: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InNhbWZyZW5jaCIsImlkIjoic2FtZnJlbmNoIn19.cwhasHpfU5MLV4vGbCQcazb6p19iSw5pD2zyrVHgePg",
10425
10418
  id: "samfrench",
10426
10419
  });
@@ -10435,51 +10428,63 @@ const ReferralTableFr = createHookStory(() => {
10435
10428
  const UseReferralTable = /*#__PURE__*/Object.freeze({
10436
10429
  __proto__: null,
10437
10430
  'default': UseReferralTable_stories,
10438
- ReferralTable: ReferralTable,
10431
+ ReferralTable: ReferralTable$1,
10439
10432
  ReferralTableEn: ReferralTableEn,
10440
10433
  ReferralTableTr: ReferralTableTr,
10441
10434
  ReferralTableFr: ReferralTableFr
10442
10435
  });
10443
10436
 
10444
- const Media_stories = {
10445
- title: "Components/Media",
10437
+ const HeroImage_stories = {
10438
+ title: "Components/Hero Image",
10439
+ };
10440
+ const OverlayHeader = () => {
10441
+ return (h("sqm-hero-image", { "image-url": "https://i.imgur.com/bTwu1Um.png", header: "Klip Rewards", layout: "overlay" }));
10442
+ };
10443
+ const OverlayDescription = () => {
10444
+ return (h("sqm-hero-image", { "image-url": "https://i.imgur.com/bTwu1Um.png", header: "Klip Rewards", description: "Refer friends or complete tasks while using Klip to earn rewards", layout: "overlay" }));
10446
10445
  };
10447
- const ImageOnly = () => {
10448
- return (h("sqm-media", { "image-url": "https://i.imgur.com/bTwu1Um.png", layout: "overlay" }));
10446
+ const OverlayButton = () => {
10447
+ return (h("sqm-hero-image", { "image-url": "https://i.imgur.com/bTwu1Um.png", header: "Klip Rewards", description: "Refer friends or complete tasks while using Klip to earn rewards", "button-text": "Start earning", layout: "overlay" }));
10449
10448
  };
10450
- const ImageWithHeader = () => {
10451
- return (h("sqm-media", { "image-url": "https://i.imgur.com/bTwu1Um.png", header: "Klip Rewards", layout: "overlay" }));
10449
+ const OverlayLong = () => {
10450
+ return (h("sqm-hero-image", { "image-url": "https://i.imgur.com/bTwu1Um.png", header: "Klip Rewards", description: "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum", "button-text": "Start earning", layout: "overlay" }));
10452
10451
  };
10453
- const ImageWithDescription = () => {
10454
- return (h("sqm-media", { "image-url": "https://i.imgur.com/bTwu1Um.png", header: "Klip Rewards", description: "Refer friends or complete tasks while using Klip to earn rewards", layout: "overlay" }));
10452
+ const OverlayLeft = () => {
10453
+ return (h("sqm-hero-image", { "image-url": "https://i.imgur.com/bTwu1Um.png", header: "Klip Rewards", description: "Refer friends or complete tasks while using Klip to earn rewards", "button-text": "Start earning", layout: "overlay", "image-pos": "left" }));
10455
10454
  };
10456
- const ImageWithButton = () => {
10457
- return (h("sqm-media", { "image-url": "https://i.imgur.com/bTwu1Um.png", header: "Klip Rewards", description: "Refer friends or complete tasks while using Klip to earn rewards", "button-text": "Start earning", layout: "overlay" }));
10455
+ const OverlayCenter = () => {
10456
+ return (h("sqm-hero-image", { "image-url": "https://i.imgur.com/bTwu1Um.png", header: "Klip Rewards", description: "Refer friends or complete tasks while using Klip to earn rewards", "button-text": "Start earning", layout: "overlay", "image-pos": "center" }));
10458
10457
  };
10459
- const ImageCustomOverlay = () => {
10460
- return (h("sqm-media", { "image-url": "https://i.imgur.com/bTwu1Um.png", header: "Klip Rewards", description: "Refer friends or complete tasks while using Klip to earn rewards", "button-text": "Start earning", "text-color": "#fffc4b", "overlay-color": "#ff7f7f", "overlay-opacity": "0.9", layout: "overlay" }));
10458
+ const OverlayRight = () => {
10459
+ return (h("sqm-hero-image", { "image-url": "https://i.imgur.com/bTwu1Um.png", header: "Klip Rewards", description: "Refer friends or complete tasks while using Klip to earn rewards", "button-text": "Start earning", layout: "overlay", "image-pos": "right" }));
10461
10460
  };
10462
- const ImageTwoColumnLayout = () => {
10463
- return (h("sqm-media", { "image-url": "https://i.imgur.com/yr6ER3R.png", header: "Klip Rewards", description: "Refer friends or complete tasks while using Klip to earn rewards", "button-text": "Start earning", layout: "columns" }));
10461
+ const OverlayCustom = () => {
10462
+ return (h("sqm-hero-image", { "image-url": "https://i.imgur.com/bTwu1Um.png", header: "Klip Rewards", description: "Refer friends or complete tasks while using Klip to earn rewards", "button-text": "Start earning", "text-color": "#fffc4b", "overlay-color": "#ff7f7f", "overlay-opacity": "0.9", layout: "overlay" }));
10464
10463
  };
10465
- const ImageTwoColumnLayoutReverse = () => {
10466
- return (h("sqm-media", { "image-url": "https://i.imgur.com/yr6ER3R.png", header: "Klip Rewards", description: "Refer friends or complete tasks while using Klip to earn rewards", "button-text": "Start earning", layout: "columns", imagePos: "right", imageMobilePos: "bottom" }));
10464
+ const Columns = () => {
10465
+ return (h("sqm-hero-image", { "image-url": "https://i.imgur.com/yr6ER3R.png", header: "Klip Rewards", description: "Refer friends or complete tasks while using Klip to earn rewards", "button-text": "Start earning", layout: "columns" }));
10467
10466
  };
10468
- const ImageTwoColumnCustom = () => {
10469
- return (h("sqm-media", { "image-url": "https://i.imgur.com/yr6ER3R.png", header: "Klip Rewards", description: "Refer friends or complete tasks while using Klip to earn rewards", "button-text": "Start earning", layout: "columns", "text-color": "#fffc4b", "background-color": "#ff7f7f" }));
10467
+ const ColumnsReverse = () => {
10468
+ return (h("sqm-hero-image", { "image-url": "https://i.imgur.com/yr6ER3R.png", header: "Klip Rewards", description: "Refer friends or complete tasks while using Klip to earn rewards", "button-text": "Start earning", layout: "columns", imagePos: "right", imageMobilePos: "bottom" }));
10469
+ };
10470
+ const ColumnsCustom = () => {
10471
+ return (h("sqm-hero-image", { "image-url": "https://i.imgur.com/yr6ER3R.png", header: "Klip Rewards", description: "Refer friends or complete tasks while using Klip to earn rewards", "button-text": "Start earning", layout: "columns", "text-color": "#fffc4b", "background-color": "#ff7f7f" }));
10470
10472
  };
10471
10473
 
10472
- const Media = /*#__PURE__*/Object.freeze({
10474
+ const HeroImage = /*#__PURE__*/Object.freeze({
10473
10475
  __proto__: null,
10474
- 'default': Media_stories,
10475
- ImageOnly: ImageOnly,
10476
- ImageWithHeader: ImageWithHeader,
10477
- ImageWithDescription: ImageWithDescription,
10478
- ImageWithButton: ImageWithButton,
10479
- ImageCustomOverlay: ImageCustomOverlay,
10480
- ImageTwoColumnLayout: ImageTwoColumnLayout,
10481
- ImageTwoColumnLayoutReverse: ImageTwoColumnLayoutReverse,
10482
- ImageTwoColumnCustom: ImageTwoColumnCustom
10476
+ 'default': HeroImage_stories,
10477
+ OverlayHeader: OverlayHeader,
10478
+ OverlayDescription: OverlayDescription,
10479
+ OverlayButton: OverlayButton,
10480
+ OverlayLong: OverlayLong,
10481
+ OverlayLeft: OverlayLeft,
10482
+ OverlayCenter: OverlayCenter,
10483
+ OverlayRight: OverlayRight,
10484
+ OverlayCustom: OverlayCustom,
10485
+ Columns: Columns,
10486
+ ColumnsReverse: ColumnsReverse,
10487
+ ColumnsCustom: ColumnsCustom
10483
10488
  });
10484
10489
 
10485
10490
  const ReferralCard_stories = {
@@ -10488,7 +10493,7 @@ const ReferralCard_stories = {
10488
10493
  const media = (slot) => {
10489
10494
  return (h("sqm-portal-container", { gap: "large", slot: slot },
10490
10495
  "Get rewarded when your friend uses Klip",
10491
- h("sqm-media", { "image-url": "https://i.imgur.com/L3aRMde.png", "min-height": "0" })));
10496
+ h("sqm-image", { "image-url": "https://i.imgur.com/IqB7GeS.png" })));
10492
10497
  };
10493
10498
  const sharebutton = (slot) => {
10494
10499
  return (h("sqm-portal-container", { gap: "large", slot: slot },
@@ -10638,6 +10643,43 @@ const ReferralCard = /*#__PURE__*/Object.freeze({
10638
10643
  TimelineWith4Rewards: TimelineWith4Rewards
10639
10644
  });
10640
10645
 
10646
+ const Image_stories = {
10647
+ title: "Components/Image",
10648
+ };
10649
+ const Image = () => {
10650
+ return h("sqm-image", { "image-url": "https://i.imgur.com/Amf0HWx.png" });
10651
+ };
10652
+ const ImageAlignLeft = () => {
10653
+ return h("sqm-image", { "image-url": "https://i.imgur.com/Amf0HWx.png", align: "left" });
10654
+ };
10655
+ const ImageAlignCenter = () => {
10656
+ return (h("sqm-image", { "image-url": "https://i.imgur.com/Amf0HWx.png", align: "center" }));
10657
+ };
10658
+ const ImageAlignRight = () => {
10659
+ return (h("sqm-image", { "image-url": "https://i.imgur.com/Amf0HWx.png", align: "right" }));
10660
+ };
10661
+ const ImageMarginLeft = () => {
10662
+ return h("sqm-image", { "image-url": "https://i.imgur.com/Amf0HWx.png", left: "100px" });
10663
+ };
10664
+ const ImageMarginRight = () => {
10665
+ return (h("sqm-image", { "image-url": "https://i.imgur.com/Amf0HWx.png", right: "100px" }));
10666
+ };
10667
+ const ImageBackground = () => {
10668
+ return (h("sqm-image", { "image-url": "https://i.imgur.com/Amf0HWx.png", "background-color": "firebrick" }));
10669
+ };
10670
+
10671
+ const Image$1 = /*#__PURE__*/Object.freeze({
10672
+ __proto__: null,
10673
+ 'default': Image_stories,
10674
+ Image: Image,
10675
+ ImageAlignLeft: ImageAlignLeft,
10676
+ ImageAlignCenter: ImageAlignCenter,
10677
+ ImageAlignRight: ImageAlignRight,
10678
+ ImageMarginLeft: ImageMarginLeft,
10679
+ ImageMarginRight: ImageMarginRight,
10680
+ ImageBackground: ImageBackground
10681
+ });
10682
+
10641
10683
  /**
10642
10684
  *
10643
10685
  * Themes
@@ -10650,7 +10692,7 @@ const ReferralCard = /*#__PURE__*/Object.freeze({
10650
10692
  *
10651
10693
  */
10652
10694
  //
10653
- const Default = `
10695
+ const Default$b = `
10654
10696
  // No CSS
10655
10697
  `;
10656
10698
  const Orangey = `
@@ -10684,7 +10726,7 @@ const Klip = `
10684
10726
 
10685
10727
  const Themes = /*#__PURE__*/Object.freeze({
10686
10728
  __proto__: null,
10687
- Default: Default,
10729
+ Default: Default$b,
10688
10730
  Orangey: Orangey,
10689
10731
  Netflix: Netflix,
10690
10732
  SaaSquatchCorporate: SaaSquatchCorporate,
@@ -12162,7 +12204,7 @@ const seenDeprecations = {};
12162
12204
  /**
12163
12205
  * @param {string} message
12164
12206
  */
12165
- const error = (message) => {
12207
+ const error$1 = (message) => {
12166
12208
  console.error(message);
12167
12209
  };
12168
12210
 
@@ -12662,7 +12704,7 @@ const HLJS = function(hljs) {
12662
12704
 
12663
12705
  const language = getLanguage(languageName);
12664
12706
  if (!language) {
12665
- error(LANGUAGE_NOT_FOUND.replace("{}", languageName));
12707
+ error$1(LANGUAGE_NOT_FOUND.replace("{}", languageName));
12666
12708
  throw new Error('Unknown language: "' + languageName + '"');
12667
12709
  }
12668
12710
 
@@ -12998,10 +13040,10 @@ const HLJS = function(hljs) {
12998
13040
  let lang = null;
12999
13041
  try {
13000
13042
  lang = languageDefinition(hljs);
13001
- } catch (error$1) {
13002
- error("Language definition for '{}' could not be registered.".replace("{}", languageName));
13043
+ } catch (error$1$1) {
13044
+ error$1("Language definition for '{}' could not be registered.".replace("{}", languageName));
13003
13045
  // hard or soft error
13004
- if (!SAFE_MODE) { throw error$1; } else { error(error$1); }
13046
+ if (!SAFE_MODE) { throw error$1$1; } else { error$1(error$1$1); }
13005
13047
  // languages that have serious errors are replaced with essentially a
13006
13048
  // "plaintext" stand-in so that the code blocks will still get normal
13007
13049
  // css classes applied to them - and one bad language won't break the
@@ -13291,7 +13333,7 @@ const stories = [
13291
13333
  UseLeaderboard,
13292
13334
  Router,
13293
13335
  PortalFrame,
13294
- EditProfile$2,
13336
+ EditProfile,
13295
13337
  FormMessage,
13296
13338
  NewPortal,
13297
13339
  SidebarItem,
@@ -13306,12 +13348,12 @@ const stories = [
13306
13348
  DividedLayout,
13307
13349
  ChangePassword,
13308
13350
  PortalProfile,
13309
- ReferralTable$1,
13351
+ ReferralTable,
13310
13352
  ReferralTableCell,
13311
13353
  ReferralTableRewardsCell,
13312
13354
  UserName,
13313
13355
  PasswordField,
13314
- TaskCard$1,
13356
+ TaskCard$2,
13315
13357
  PortalTemplates,
13316
13358
  ProgramMenu,
13317
13359
  PoweredByImg,
@@ -13331,10 +13373,11 @@ const stories = [
13331
13373
  RewardsTableCell,
13332
13374
  RewardsTable,
13333
13375
  UseReferralTable,
13334
- Media,
13376
+ HeroImage,
13335
13377
  ReferralCard,
13378
+ Image$1,
13336
13379
  ];
13337
- let StencilStorybook = class {
13380
+ const StencilStorybook = class {
13338
13381
  constructor(hostRef) {
13339
13382
  registerInstance(this, hostRef);
13340
13383
  this.ignored = true;