@saasquatch/mint-components 1.6.8-8 → 1.6.8

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 (493) hide show
  1. package/LICENSE +21 -21
  2. package/dist/cjs/{GenericTableView-380b83e2.js → GenericTableView-9271483b.js} +2 -7
  3. package/dist/cjs/{ShadowViewAddon-9fddb3c8.js → ShadowViewAddon-952b4df5.js} +426 -529
  4. package/dist/cjs/{global-48c25606.js → global-0b8cbb00.js} +654 -654
  5. package/dist/cjs/{index.module-f6afc139.js → index.module-c6626247.js} +17 -50
  6. package/dist/cjs/loader.cjs.js +3 -3
  7. package/dist/cjs/mint-components.cjs.js +3 -3
  8. package/dist/cjs/{re-render-552514cb.js → re-render-fce04f85.js} +2 -2
  9. package/dist/cjs/{sqm-asset-card-view-79099616.js → sqm-asset-card-view-59c39ed2.js} +2 -2
  10. package/dist/cjs/sqm-asset-card.cjs.entry.js +2 -2
  11. package/dist/cjs/{sqm-big-stat_37.cjs.entry.js → sqm-big-stat_35.cjs.entry.js} +324 -564
  12. package/dist/cjs/sqm-empty_5.cjs.entry.js +54 -54
  13. package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +3 -3
  14. package/dist/cjs/sqm-header-logo.cjs.entry.js +1 -1
  15. package/dist/cjs/{sqm-hero-view-ddd1ef43.js → sqm-hero-view-55ae68f9.js} +18 -18
  16. package/dist/cjs/sqm-hero.cjs.entry.js +1 -1
  17. package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +16 -16
  18. package/dist/cjs/{sqm-navigation-sidebar-item-view-c39b695c.js → sqm-navigation-sidebar-item-view-8b4f304f.js} +4 -4
  19. package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +3 -3
  20. package/dist/cjs/{sqm-navigation-sidebar-view-b830e8d8.js → sqm-navigation-sidebar-view-4704aa73.js} +143 -143
  21. package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +3 -3
  22. package/dist/cjs/sqm-password-field.cjs.entry.js +12 -12
  23. package/dist/cjs/sqm-popup-container.cjs.entry.js +6 -6
  24. package/dist/cjs/{sqm-portal-container-view-6accb54a.js → sqm-portal-container-view-5beae29c.js} +7 -7
  25. package/dist/cjs/{sqm-portal-email-verification-view-2e646897.js → sqm-portal-email-verification-view-26c166dc.js} +9 -9
  26. package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +8 -8
  27. package/dist/cjs/sqm-portal-footer-view-c249df2d.js +82 -0
  28. package/dist/cjs/sqm-portal-footer.cjs.entry.js +68 -0
  29. package/dist/cjs/{sqm-portal-forgot-password-view-f73bb724.js → sqm-portal-forgot-password-view-235733ea.js} +9 -9
  30. package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +5 -5
  31. package/dist/cjs/sqm-portal-logout.cjs.entry.js +2 -2
  32. package/dist/cjs/{sqm-portal-profile-view-52bc73ad.js → sqm-portal-profile-view-14d2f91d.js} +3 -3
  33. package/dist/cjs/sqm-portal-profile.cjs.entry.js +39 -39
  34. package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +5 -5
  35. package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +33 -33
  36. package/dist/cjs/{sqm-portal-reset-password-view-e182df83.js → sqm-portal-reset-password-view-803a56be.js} +8 -8
  37. package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +8 -8
  38. package/dist/cjs/{sqm-portal-verify-email-view-fd739843.js → sqm-portal-verify-email-view-6741f5bd.js} +9 -9
  39. package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +7 -7
  40. package/dist/cjs/sqm-referral-table_11.cjs.entry.js +14 -14
  41. package/dist/cjs/sqm-rewards-table-customer-note-cell.cjs.entry.js +1 -1
  42. package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +2 -2
  43. package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +113 -113
  44. package/dist/cjs/sqm-stencilbook.cjs.entry.js +5561 -5824
  45. package/dist/cjs/sqm-tab.cjs.entry.js +2 -2
  46. package/dist/cjs/sqm-tabs.cjs.entry.js +7 -7
  47. package/dist/cjs/{sqm-text-span-view-3c734dbb.js → sqm-text-span-view-c34577fa.js} +8 -8
  48. package/dist/cjs/sqm-text-span.cjs.entry.js +1 -1
  49. package/dist/cjs/{useChildElements-a8f7f5ca.js → useChildElements-eaa9e49d.js} +1 -1
  50. package/dist/cjs/{useReferralTable-f53a9a1b.js → useReferralTable-f3e792eb.js} +189 -189
  51. package/dist/cjs/{useRegistrationFormState-99160dad.js → useRegistrationFormState-a1861717.js} +1 -1
  52. package/dist/collection/collection-manifest.json +0 -5
  53. package/dist/collection/components/sqm-asset-card/sqm-asset-card-view.js +2 -2
  54. package/dist/collection/components/sqm-big-stat/useBigStat.js +238 -238
  55. package/dist/collection/components/sqm-brand/sqm-brand.js +21 -21
  56. package/dist/collection/components/sqm-card-feed/sqm-card-feed-view.js +6 -6
  57. package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field-view.js +15 -15
  58. package/dist/collection/components/sqm-divided-layout/sqm-divided-layout-view.js +16 -16
  59. package/dist/collection/components/sqm-dropdown-field/sqm-dropdown-field-view.js +11 -11
  60. package/dist/collection/components/sqm-edit-profile/sqm-edit-profile-view.js +4 -4
  61. package/dist/collection/components/sqm-edit-profile/useEditProfile.js +32 -32
  62. package/dist/collection/components/sqm-empty/sqm-empty-view.js +1 -1
  63. package/dist/collection/components/sqm-header-logo/sqm-header-logo.js +1 -1
  64. package/dist/collection/components/sqm-hero/sqm-hero-view.js +18 -18
  65. package/dist/collection/components/sqm-hero-image/sqm-hero-image-view.js +13 -12
  66. package/dist/collection/components/sqm-image/sqm-image-view.js +6 -6
  67. package/dist/collection/components/sqm-input-field/sqm-input-field-view.js +7 -7
  68. package/dist/collection/components/sqm-leaderboard/sqm-leaderboard-view.js +6 -6
  69. package/dist/collection/components/sqm-leaderboard/sqm-leaderboard.js +2 -2
  70. package/dist/collection/components/sqm-leaderboard/useLeaderboard.js +40 -40
  71. package/dist/collection/components/sqm-leaderboard-rank/sqm-leaderboard-rank.js +2 -2
  72. package/dist/collection/components/sqm-leaderboard-rank/useLeaderboardRank.js +12 -12
  73. package/dist/collection/components/sqm-name-fields/sqm-name-fields-view.js +11 -11
  74. package/dist/collection/components/sqm-navigation-sidebar/sqm-navigation-sidebar-view.js +143 -143
  75. package/dist/collection/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item-view.js +2 -2
  76. package/dist/collection/components/sqm-password-field/sqm-password-field-view.js +10 -10
  77. package/dist/collection/components/sqm-popup-container/sqm-popup-container-view.js +2 -2
  78. package/dist/collection/components/sqm-portal-container/sqm-portal-container-view.js +5 -5
  79. package/dist/collection/components/sqm-portal-container/sqm-portal-container.js +1 -1
  80. package/dist/collection/components/sqm-portal-email-verification/sqm-portal-email-verification-view.js +7 -7
  81. package/dist/collection/components/sqm-portal-footer/PortalFooter.stories.js +0 -1
  82. package/dist/collection/components/sqm-portal-footer/sqm-portal-footer-view.js +13 -15
  83. package/dist/collection/components/sqm-portal-footer/sqm-portal-footer.js +0 -25
  84. package/dist/collection/components/sqm-portal-forgot-password/sqm-portal-forgot-password-view.js +8 -8
  85. package/dist/collection/components/sqm-portal-frame/sqm-portal-frame-view.js +3 -3
  86. package/dist/collection/components/sqm-portal-login/sqm-portal-login-view.js +9 -9
  87. package/dist/collection/components/sqm-portal-profile/sqm-portal-profile-view.js +1 -1
  88. package/dist/collection/components/sqm-portal-profile/usePortalProfile.js +32 -32
  89. package/dist/collection/components/sqm-portal-register/sqm-portal-register-view.js +15 -15
  90. package/dist/collection/components/sqm-portal-registration-form/sqm-portal-registration-form-view.js +15 -15
  91. package/dist/collection/components/sqm-portal-registration-form/usePortalRegistrationForm.js +12 -12
  92. package/dist/collection/components/sqm-portal-reset-password/sqm-portal-reset-password-view.js +7 -7
  93. package/dist/collection/components/sqm-portal-verify-email/sqm-portal-verify-email-view.js +8 -8
  94. package/dist/collection/components/sqm-program-explainer/sqm-program-explainer-view.js +12 -12
  95. package/dist/collection/components/sqm-program-explainer-step/sqm-program-explainer-step-view.js +13 -13
  96. package/dist/collection/components/sqm-referral-card/ReferralCard.stories.js +0 -12
  97. package/dist/collection/components/sqm-referral-card/sqm-referral-card-view.js +13 -21
  98. package/dist/collection/components/sqm-referral-card/sqm-referral-card.js +1 -3
  99. package/dist/collection/components/sqm-referral-iframe/useReferralIframe.js +8 -8
  100. package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-rewards-cell.js +7 -7
  101. package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-date-column.js +2 -2
  102. package/dist/collection/components/sqm-referral-table/sqm-referral-table.js +2 -2
  103. package/dist/collection/components/sqm-referral-table/useReferralTable.js +183 -183
  104. package/dist/collection/components/sqm-reward-exchange-list/UseRewardExchangeList.stories.js +8 -8
  105. package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list-view.js +8 -8
  106. package/dist/collection/components/sqm-reward-exchange-list/useRewardExchangeList.js +51 -51
  107. package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-reward-cell.js +3 -3
  108. package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-date-column.js +1 -1
  109. package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-reward-column.js +1 -1
  110. package/dist/collection/components/sqm-rewards-table/sqm-rewards-table.js +2 -2
  111. package/dist/collection/components/sqm-rewards-table/useRewardsTable.js +103 -103
  112. package/dist/collection/components/sqm-router/Router.stories.js +71 -71
  113. package/dist/collection/components/sqm-router/sqm-router.css +7 -7
  114. package/dist/collection/components/sqm-scroll/Scroll.stories.js +50 -50
  115. package/dist/collection/components/sqm-scroll/sqm-scroll.js +13 -13
  116. package/dist/collection/components/sqm-share-button/sqm-share-button-view.js +22 -22
  117. package/dist/collection/components/sqm-share-button/sqm-share-button.js +5 -5
  118. package/dist/collection/components/sqm-share-button/useShareButton.js +17 -17
  119. package/dist/collection/components/sqm-share-code/ShareCode.stories.js +1 -29
  120. package/dist/collection/components/sqm-share-code/sqm-share-code.js +9 -117
  121. package/dist/collection/components/sqm-share-code/useShareCode.js +15 -15
  122. package/dist/collection/components/sqm-share-link/ShareLink.stories.js +7 -34
  123. package/dist/collection/components/sqm-share-link/UseShareLink.stories.js +4 -4
  124. package/dist/collection/components/sqm-share-link/sqm-share-link-view.js +18 -0
  125. package/dist/collection/components/sqm-share-link/sqm-share-link.js +9 -117
  126. package/dist/collection/components/sqm-share-link/useShareLink.js +15 -15
  127. package/dist/collection/components/sqm-stat-container/sqm-stat-container-view.js +3 -3
  128. package/dist/collection/components/sqm-stencilbook/Resizer.js +24 -24
  129. package/dist/collection/components/sqm-stencilbook/Themes.js +25 -25
  130. package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +0 -8
  131. package/dist/collection/components/sqm-tabs/Tabs.stories.js +475 -475
  132. package/dist/collection/components/sqm-tabs/sqm-tabs-view.js +4 -4
  133. package/dist/collection/components/sqm-task-card/DetailsView.js +1 -1
  134. package/dist/collection/components/sqm-task-card/sqm-task-card-view.js +14 -15
  135. package/dist/collection/components/sqm-task-card/useTaskCard.js +6 -6
  136. package/dist/collection/components/sqm-text/sqm-text.js +46 -46
  137. package/dist/collection/components/sqm-text-span/sqm-text-span-view.js +8 -8
  138. package/dist/collection/components/sqm-timeline/sqm-timeline-entry-view.js +13 -13
  139. package/dist/collection/components/sqm-timeline/sqm-timeline.js +8 -8
  140. package/dist/collection/components/sqm-titled-section/sqm-portal-section-view.js +2 -2
  141. package/dist/collection/components/sqm-user-name/useUserName.js +9 -9
  142. package/dist/collection/global/styles.js +653 -653
  143. package/dist/collection/global/styles.ts +729 -729
  144. package/dist/collection/stories/NewPortal.stories.js +5 -5
  145. package/dist/collection/stories/PortalTemplates.stories.js +1 -1
  146. package/dist/collection/stories/Widget.stories.js +0 -21
  147. package/dist/collection/tables/GenericTableView.js +2 -7
  148. package/dist/esm/{GenericTableView-266126f9.js → GenericTableView-ce26115f.js} +2 -7
  149. package/dist/esm/{ShadowViewAddon-83f9025e.js → ShadowViewAddon-40692fc1.js} +426 -527
  150. package/dist/esm/{global-170c4499.js → global-27ee1626.js} +654 -654
  151. package/dist/esm/{index.module-0ba0774e.js → index.module-3c720e8f.js} +9 -41
  152. package/dist/esm/loader.js +3 -3
  153. package/dist/esm/mint-components.js +3 -3
  154. package/dist/esm/{re-render-22de5b23.js → re-render-695ddbbd.js} +2 -2
  155. package/dist/esm/{sqm-asset-card-view-b2ac5a23.js → sqm-asset-card-view-b0f8ef8e.js} +2 -2
  156. package/dist/esm/sqm-asset-card.entry.js +2 -2
  157. package/dist/esm/{sqm-big-stat_37.entry.js → sqm-big-stat_35.entry.js} +325 -563
  158. package/dist/esm/sqm-empty_5.entry.js +54 -54
  159. package/dist/esm/sqm-graphql-client-provider.entry.js +3 -3
  160. package/dist/esm/sqm-header-logo.entry.js +1 -1
  161. package/dist/esm/{sqm-hero-view-875c927d.js → sqm-hero-view-fa98c30f.js} +18 -18
  162. package/dist/esm/sqm-hero.entry.js +1 -1
  163. package/dist/esm/sqm-leaderboard-rank.entry.js +16 -16
  164. package/dist/esm/{sqm-navigation-sidebar-item-view-5a4ac267.js → sqm-navigation-sidebar-item-view-6f909ba7.js} +4 -4
  165. package/dist/esm/sqm-navigation-sidebar-item.entry.js +3 -3
  166. package/dist/esm/{sqm-navigation-sidebar-view-feb719ce.js → sqm-navigation-sidebar-view-06a9d083.js} +143 -143
  167. package/dist/esm/sqm-navigation-sidebar.entry.js +3 -3
  168. package/dist/esm/sqm-password-field.entry.js +12 -12
  169. package/dist/esm/sqm-popup-container.entry.js +6 -6
  170. package/dist/esm/{sqm-portal-container-view-83b417f0.js → sqm-portal-container-view-2307476f.js} +7 -7
  171. package/dist/esm/{sqm-portal-email-verification-view-889fcc01.js → sqm-portal-email-verification-view-edb82534.js} +9 -9
  172. package/dist/esm/sqm-portal-email-verification.entry.js +8 -8
  173. package/dist/esm/sqm-portal-footer-view-ab195d54.js +79 -0
  174. package/dist/esm/sqm-portal-footer.entry.js +64 -0
  175. package/dist/esm/{sqm-portal-forgot-password-view-9970dee2.js → sqm-portal-forgot-password-view-5bcdabac.js} +9 -9
  176. package/dist/esm/sqm-portal-forgot-password.entry.js +5 -5
  177. package/dist/esm/sqm-portal-logout.entry.js +2 -2
  178. package/dist/esm/{sqm-portal-profile-view-ac955752.js → sqm-portal-profile-view-5e35bbe0.js} +3 -3
  179. package/dist/esm/sqm-portal-profile.entry.js +39 -39
  180. package/dist/esm/sqm-portal-protected-route.entry.js +5 -5
  181. package/dist/esm/sqm-portal-registration-form.entry.js +33 -33
  182. package/dist/esm/{sqm-portal-reset-password-view-1f0f3bf8.js → sqm-portal-reset-password-view-aebadea5.js} +8 -8
  183. package/dist/esm/sqm-portal-reset-password.entry.js +8 -8
  184. package/dist/esm/{sqm-portal-verify-email-view-8d453021.js → sqm-portal-verify-email-view-4ba9cbb9.js} +9 -9
  185. package/dist/esm/sqm-portal-verify-email.entry.js +7 -7
  186. package/dist/esm/sqm-referral-table_11.entry.js +14 -14
  187. package/dist/esm/sqm-rewards-table-customer-note-cell.entry.js +1 -1
  188. package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +2 -2
  189. package/dist/esm/sqm-rewards-table_9.entry.js +113 -113
  190. package/dist/esm/sqm-stencilbook.entry.js +5553 -5816
  191. package/dist/esm/sqm-tab.entry.js +2 -2
  192. package/dist/esm/sqm-tabs.entry.js +7 -7
  193. package/dist/esm/{sqm-text-span-view-2f7d6d14.js → sqm-text-span-view-f1cacc75.js} +8 -8
  194. package/dist/esm/sqm-text-span.entry.js +1 -1
  195. package/dist/esm/{useChildElements-fd458906.js → useChildElements-79be4145.js} +1 -1
  196. package/dist/esm/{useReferralTable-a3d6051e.js → useReferralTable-5c18f7c5.js} +189 -189
  197. package/dist/esm/{useRegistrationFormState-29e30121.js → useRegistrationFormState-6ce2e16f.js} +1 -1
  198. package/dist/esm-es5/GenericTableView-ce26115f.js +1 -0
  199. package/dist/esm-es5/ShadowViewAddon-40692fc1.js +1 -0
  200. package/dist/esm-es5/{global-170c4499.js → global-27ee1626.js} +1 -1
  201. package/dist/esm-es5/index.module-3c720e8f.js +1 -0
  202. package/dist/esm-es5/loader.js +1 -1
  203. package/dist/esm-es5/mint-components.js +1 -1
  204. package/dist/esm-es5/{re-render-22de5b23.js → re-render-695ddbbd.js} +1 -1
  205. package/dist/esm-es5/sqm-asset-card-view-b0f8ef8e.js +1 -0
  206. package/dist/esm-es5/sqm-asset-card.entry.js +1 -1
  207. package/dist/esm-es5/sqm-big-stat_35.entry.js +1 -0
  208. package/dist/esm-es5/sqm-empty_5.entry.js +1 -1
  209. package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
  210. package/dist/esm-es5/sqm-header-logo.entry.js +1 -1
  211. package/dist/esm-es5/{sqm-hero-view-875c927d.js → sqm-hero-view-fa98c30f.js} +1 -1
  212. package/dist/esm-es5/sqm-hero.entry.js +1 -1
  213. package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
  214. package/dist/esm-es5/sqm-navigation-sidebar-item-view-6f909ba7.js +1 -0
  215. package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
  216. package/dist/esm-es5/{sqm-navigation-sidebar-view-feb719ce.js → sqm-navigation-sidebar-view-06a9d083.js} +1 -1
  217. package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
  218. package/dist/esm-es5/sqm-password-field.entry.js +1 -1
  219. package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
  220. package/dist/esm-es5/sqm-portal-container-view-2307476f.js +1 -0
  221. package/dist/esm-es5/{sqm-portal-email-verification-view-889fcc01.js → sqm-portal-email-verification-view-edb82534.js} +1 -1
  222. package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
  223. package/dist/esm-es5/sqm-portal-footer-view-ab195d54.js +1 -0
  224. package/dist/esm-es5/sqm-portal-footer.entry.js +1 -0
  225. package/dist/esm-es5/sqm-portal-forgot-password-view-5bcdabac.js +1 -0
  226. package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -1
  227. package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
  228. package/dist/esm-es5/sqm-portal-profile-view-5e35bbe0.js +1 -0
  229. package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
  230. package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -1
  231. package/dist/esm-es5/sqm-portal-registration-form.entry.js +1 -1
  232. package/dist/esm-es5/{sqm-portal-reset-password-view-1f0f3bf8.js → sqm-portal-reset-password-view-aebadea5.js} +1 -1
  233. package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
  234. package/dist/esm-es5/sqm-portal-verify-email-view-4ba9cbb9.js +1 -0
  235. package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
  236. package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
  237. package/dist/esm-es5/sqm-rewards-table-customer-note-cell.entry.js +1 -1
  238. package/dist/esm-es5/sqm-rewards-table-customer-note-column.entry.js +1 -1
  239. package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
  240. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  241. package/dist/esm-es5/sqm-tab.entry.js +1 -1
  242. package/dist/esm-es5/sqm-tabs.entry.js +1 -1
  243. package/dist/esm-es5/{sqm-text-span-view-2f7d6d14.js → sqm-text-span-view-f1cacc75.js} +1 -1
  244. package/dist/esm-es5/sqm-text-span.entry.js +1 -1
  245. package/dist/esm-es5/{useChildElements-fd458906.js → useChildElements-79be4145.js} +1 -1
  246. package/dist/esm-es5/{useReferralTable-a3d6051e.js → useReferralTable-5c18f7c5.js} +1 -1
  247. package/dist/esm-es5/{useRegistrationFormState-29e30121.js → useRegistrationFormState-6ce2e16f.js} +1 -1
  248. package/dist/mint-components/global/styles.ts +729 -729
  249. package/dist/mint-components/mint-components.esm.js +1 -1
  250. package/dist/mint-components/mint-components.js +1 -1
  251. package/dist/mint-components/p-02356211.system.entry.js +1 -0
  252. package/dist/mint-components/{p-e633ae08.entry.js → p-03bf73ac.entry.js} +1 -1
  253. package/dist/mint-components/{p-9076f688.js → p-0b095d21.js} +1 -1
  254. package/dist/mint-components/p-0d32da24.js +1 -0
  255. package/dist/mint-components/{p-19244318.system.entry.js → p-1450de85.system.entry.js} +1 -1
  256. package/dist/mint-components/{p-96b05458.system.entry.js → p-14c9767e.system.entry.js} +1 -1
  257. package/dist/mint-components/{p-6e9cfc74.entry.js → p-17c14be1.entry.js} +1 -1
  258. package/dist/mint-components/{p-bd037777.entry.js → p-1866c07f.entry.js} +1 -1
  259. package/dist/mint-components/{p-730db569.system.entry.js → p-1c2c05ea.system.entry.js} +1 -1
  260. package/dist/mint-components/p-1cb208fd.system.js +1 -0
  261. package/dist/mint-components/{p-0597b64f.js → p-1d1fac2c.js} +1 -1
  262. package/dist/mint-components/p-1e346217.system.entry.js +1 -0
  263. package/dist/mint-components/{p-c4b6454d.system.entry.js → p-1ea19d11.system.entry.js} +1 -1
  264. package/dist/mint-components/{p-64242338.system.js → p-1f8706fb.system.js} +1 -1
  265. package/dist/mint-components/{p-18e7d7c6.system.entry.js → p-22e95dff.system.entry.js} +1 -1
  266. package/dist/mint-components/{p-94607792.entry.js → p-25482fe1.entry.js} +1 -1
  267. package/dist/mint-components/{p-7d7baf55.entry.js → p-273bba0e.entry.js} +2 -2
  268. package/dist/mint-components/{p-3cbdb360.system.entry.js → p-2850c602.system.entry.js} +1 -1
  269. package/dist/mint-components/{p-0b6ee047.entry.js → p-29452204.entry.js} +2 -2
  270. package/dist/mint-components/{p-a90b4c3f.js → p-2f8e0a8a.js} +1 -1
  271. package/dist/mint-components/p-3cd32c6e.system.js +1 -0
  272. package/dist/mint-components/{p-3552b5c5.entry.js → p-3e8ba80d.entry.js} +1 -1
  273. package/dist/mint-components/{p-f27766d6.entry.js → p-4294a89c.entry.js} +1 -1
  274. package/dist/mint-components/{p-bb6f60a6.system.js → p-45374f45.system.js} +1 -1
  275. package/dist/mint-components/{p-8322ad92.entry.js → p-45e212a9.entry.js} +1 -1
  276. package/dist/mint-components/{p-135c3cef.entry.js → p-45ee4fcd.entry.js} +1 -1
  277. package/dist/mint-components/{p-7d31f692.js → p-47ce2382.js} +2 -2
  278. package/dist/mint-components/{p-bf021a55.entry.js → p-482fb4ac.entry.js} +1 -1
  279. package/dist/mint-components/p-4c86095b.js +1 -0
  280. package/dist/mint-components/p-4d322f3b.system.js +1 -0
  281. package/dist/mint-components/p-51dd43c0.system.js +1 -0
  282. package/dist/mint-components/p-53fd1378.entry.js +1 -0
  283. package/dist/mint-components/{p-70263662.system.js → p-589ec33b.system.js} +1 -1
  284. package/dist/mint-components/{p-f8dd6bac.js → p-5d9244de.js} +1 -1
  285. package/dist/mint-components/p-5fb4fe4a.js +1 -0
  286. package/dist/mint-components/{p-0d395b4f.system.entry.js → p-668fb3d2.system.entry.js} +1 -1
  287. package/dist/mint-components/p-66a393ef.js +1 -0
  288. package/dist/mint-components/{p-16dda971.system.entry.js → p-68620baa.system.entry.js} +1 -1
  289. package/dist/mint-components/p-6b8b7dc0.system.js +1 -0
  290. package/dist/mint-components/{p-221878e3.entry.js → p-6db612cd.entry.js} +1 -1
  291. package/dist/mint-components/p-6dd27a5e.js +1 -0
  292. package/dist/mint-components/{p-919ea20a.system.entry.js → p-6eb41f14.system.entry.js} +1 -1
  293. package/dist/mint-components/p-6f9f5609.js +1 -0
  294. package/dist/mint-components/{p-b27a0503.system.entry.js → p-707e7a2e.system.entry.js} +1 -1
  295. package/dist/mint-components/{p-8f58a603.system.js → p-70ccc481.system.js} +1 -1
  296. package/dist/mint-components/{p-9cdf8d74.entry.js → p-723f3d4f.entry.js} +2 -2
  297. package/dist/mint-components/p-727e4538.system.entry.js +1 -0
  298. package/dist/mint-components/{p-0c7a3116.system.entry.js → p-72b166c9.system.entry.js} +1 -1
  299. package/dist/mint-components/{p-1d9cb344.entry.js → p-75bcbf34.entry.js} +1 -1
  300. package/dist/mint-components/{p-0a410d79.entry.js → p-78651bde.entry.js} +1 -1
  301. package/dist/mint-components/p-7a539b20.entry.js +1 -0
  302. package/dist/mint-components/{p-96e98d06.system.js → p-7ceff8de.system.js} +1 -1
  303. package/dist/mint-components/{p-d9643307.system.entry.js → p-7d964c43.system.entry.js} +1 -1
  304. package/dist/mint-components/p-80e9d337.entry.js +9 -0
  305. package/dist/mint-components/{p-97fa9d3e.system.entry.js → p-87221acc.system.entry.js} +1 -1
  306. package/dist/mint-components/p-8874f2c4.js +268 -0
  307. package/dist/mint-components/p-88bef048.system.js +1 -0
  308. package/dist/mint-components/p-895858d0.entry.js +1 -0
  309. package/dist/mint-components/{p-a7451d8c.entry.js → p-8b422807.entry.js} +1 -1
  310. package/dist/mint-components/p-8ffaf231.system.entry.js +1 -0
  311. package/dist/mint-components/p-91dee224.system.js +1 -0
  312. package/dist/mint-components/p-93832713.js +1 -0
  313. package/dist/mint-components/p-9732cfef.system.js +1 -0
  314. package/dist/mint-components/p-98e0ea41.system.entry.js +1 -0
  315. package/dist/mint-components/p-99b74c6a.entry.js +159 -0
  316. package/dist/mint-components/p-99c241ef.js +1 -0
  317. package/dist/mint-components/{p-8e0d9535.entry.js → p-9e16b967.entry.js} +1 -1
  318. package/dist/mint-components/p-9e20ddfc.entry.js +1 -0
  319. package/dist/mint-components/{p-0c5aadd5.system.entry.js → p-9fa34993.system.entry.js} +1 -1
  320. package/dist/mint-components/p-a421f44e.system.js +1 -0
  321. package/dist/mint-components/p-a46c0d32.js +1 -0
  322. package/dist/mint-components/{p-88ce114f.system.entry.js → p-aaa67e65.system.entry.js} +1 -1
  323. package/dist/mint-components/p-afe80d73.system.js +1 -0
  324. package/dist/mint-components/{p-a59be693.js → p-b23d673e.js} +1 -1
  325. package/dist/mint-components/{p-76c339cd.system.js → p-b3169627.system.js} +1 -1
  326. package/dist/mint-components/p-b5a64626.js +1 -0
  327. package/dist/mint-components/{p-d6c78b10.entry.js → p-ba307441.entry.js} +2 -2
  328. package/dist/mint-components/p-bef0a1f4.system.js +1 -0
  329. package/dist/mint-components/{p-62306484.entry.js → p-c3d4bd17.entry.js} +1 -1
  330. package/dist/mint-components/{p-9cbc79f6.system.entry.js → p-c4fc0601.system.entry.js} +1 -1
  331. package/dist/mint-components/p-c7090fd1.system.js +1 -0
  332. package/dist/mint-components/{p-657acf81.system.js → p-c9a2502c.system.js} +1 -1
  333. package/dist/mint-components/p-cd898a3a.js +1 -0
  334. package/dist/mint-components/p-d027de63.entry.js +1 -0
  335. package/dist/mint-components/{p-9d9da716.js → p-d1a74f7e.js} +1 -1
  336. package/dist/mint-components/{p-97988090.system.entry.js → p-d1d42507.system.entry.js} +1 -1
  337. package/dist/mint-components/p-d3ceb986.js +1 -0
  338. package/dist/mint-components/{p-085290c7.system.entry.js → p-d54de97b.system.entry.js} +1 -1
  339. package/dist/mint-components/{p-bd63ef52.system.js → p-dd23d448.system.js} +1 -1
  340. package/dist/mint-components/p-dd7ddc3a.system.entry.js +1 -0
  341. package/dist/mint-components/{p-da70e75d.entry.js → p-ddf15193.entry.js} +1 -1
  342. package/dist/mint-components/p-e018edb8.system.js +1 -0
  343. package/dist/mint-components/p-e6f5ccc0.entry.js +1 -0
  344. package/dist/mint-components/{p-6c0409fe.system.entry.js → p-e7548e13.system.entry.js} +1 -1
  345. package/dist/mint-components/p-ec8608b9.system.entry.js +1 -0
  346. package/dist/mint-components/p-f2e8bf4c.system.entry.js +1 -0
  347. package/dist/mint-components/p-f37b3375.system.entry.js +1 -0
  348. package/dist/types/components/sqm-portal-footer/PortalFooter.stories.d.ts +0 -1
  349. package/dist/types/components/sqm-portal-footer/sqm-portal-footer-view.d.ts +0 -1
  350. package/dist/types/components/sqm-portal-footer/sqm-portal-footer.d.ts +0 -4
  351. package/dist/types/components/sqm-referral-card/ReferralCard.stories.d.ts +0 -2
  352. package/dist/types/components/sqm-referral-card/sqm-referral-card-view.d.ts +0 -2
  353. package/dist/types/components/sqm-referral-card/sqm-referral-card.d.ts +1 -1
  354. package/dist/types/components/sqm-share-code/ShareCode.stories.d.ts +0 -4
  355. package/dist/types/components/sqm-share-code/sqm-share-code.d.ts +2 -26
  356. package/dist/types/components/sqm-share-code/useShareCode.d.ts +2 -2
  357. package/dist/types/components/sqm-share-link/ShareLink.stories.d.ts +0 -4
  358. package/dist/types/components/sqm-share-link/sqm-share-link-view.d.ts +8 -0
  359. package/dist/types/components/sqm-share-link/sqm-share-link.d.ts +2 -26
  360. package/dist/types/components/sqm-share-link/useShareLink.d.ts +2 -2
  361. package/dist/types/components.d.ts +77 -477
  362. package/dist/types/global/android.d.ts +7 -7
  363. package/dist/types/saasquatch.d.ts +132 -132
  364. package/dist/types/stories/PortalTemplates.stories.d.ts +0 -1
  365. package/dist/types/stories/Widget.stories.d.ts +0 -24
  366. package/dist/types/stories/features.d.ts +4 -4
  367. package/dist/types/stories/templates.d.ts +4 -4
  368. package/docs/docs.docx +0 -0
  369. package/docs/raisins.json +1 -1
  370. package/grapesjs/grapesjs.js +1 -1
  371. package/package.json +102 -104
  372. package/readme.md +13 -13
  373. package/dist/cjs/email-registration-view-a483578e.js +0 -52
  374. package/dist/cjs/sqm-link-button-view-8b446852.js +0 -27
  375. package/dist/cjs/sqm-link-button.cjs.entry.js +0 -23
  376. package/dist/cjs/sqm-passwordless-registration.cjs.entry.js +0 -81
  377. package/dist/cjs/sqm-referred-registration.cjs.entry.js +0 -81
  378. package/dist/cjs/sqm-user-identifier-view-90b36758.js +0 -35
  379. package/dist/cjs/sqm-user-identifier.cjs.entry.js +0 -54
  380. package/dist/cjs/usePasswordlessRegistration-b10e325f.js +0 -47
  381. package/dist/collection/components/sqm-coupon-code/CouponCode.stories.js +0 -35
  382. package/dist/collection/components/sqm-coupon-code/sqm-coupon-code.js +0 -260
  383. package/dist/collection/components/sqm-coupon-code/useCouponCode.js +0 -49
  384. package/dist/collection/components/sqm-link-button/LinkButton.stories.js +0 -20
  385. package/dist/collection/components/sqm-link-button/sqm-link-button-view.js +0 -22
  386. package/dist/collection/components/sqm-link-button/sqm-link-button.js +0 -68
  387. package/dist/collection/components/sqm-passwordless-registration/sqm-passwordless-registration.js +0 -215
  388. package/dist/collection/components/sqm-passwordless-registration/usePasswordlessRegistration.js +0 -42
  389. package/dist/collection/components/sqm-referred-registration/sqm-referred-registration.js +0 -215
  390. package/dist/collection/components/sqm-user-identifier/UserIdentifier.stories.js +0 -17
  391. package/dist/collection/components/sqm-user-identifier/sqm-user-identifier-view.js +0 -30
  392. package/dist/collection/components/sqm-user-identifier/sqm-user-identifier.js +0 -144
  393. package/dist/collection/components/sqm-user-identifier/useUserIdentifer.js +0 -9
  394. package/dist/collection/components/views/EmailRegistration.stories.js +0 -45
  395. package/dist/collection/components/views/copy-text-view.js +0 -42
  396. package/dist/collection/components/views/email-registration-view.js +0 -47
  397. package/dist/esm/email-registration-view-0ed79e24.js +0 -50
  398. package/dist/esm/sqm-link-button-view-8d9ad936.js +0 -25
  399. package/dist/esm/sqm-link-button.entry.js +0 -19
  400. package/dist/esm/sqm-passwordless-registration.entry.js +0 -77
  401. package/dist/esm/sqm-referred-registration.entry.js +0 -77
  402. package/dist/esm/sqm-user-identifier-view-dbf71a5e.js +0 -33
  403. package/dist/esm/sqm-user-identifier.entry.js +0 -50
  404. package/dist/esm/usePasswordlessRegistration-ad9a05d5.js +0 -45
  405. package/dist/esm-es5/GenericTableView-266126f9.js +0 -1
  406. package/dist/esm-es5/ShadowViewAddon-83f9025e.js +0 -1
  407. package/dist/esm-es5/email-registration-view-0ed79e24.js +0 -1
  408. package/dist/esm-es5/index.module-0ba0774e.js +0 -1
  409. package/dist/esm-es5/sqm-asset-card-view-b2ac5a23.js +0 -1
  410. package/dist/esm-es5/sqm-big-stat_37.entry.js +0 -1
  411. package/dist/esm-es5/sqm-link-button-view-8d9ad936.js +0 -1
  412. package/dist/esm-es5/sqm-link-button.entry.js +0 -1
  413. package/dist/esm-es5/sqm-navigation-sidebar-item-view-5a4ac267.js +0 -1
  414. package/dist/esm-es5/sqm-passwordless-registration.entry.js +0 -1
  415. package/dist/esm-es5/sqm-portal-container-view-83b417f0.js +0 -1
  416. package/dist/esm-es5/sqm-portal-forgot-password-view-9970dee2.js +0 -1
  417. package/dist/esm-es5/sqm-portal-profile-view-ac955752.js +0 -1
  418. package/dist/esm-es5/sqm-portal-verify-email-view-8d453021.js +0 -1
  419. package/dist/esm-es5/sqm-referred-registration.entry.js +0 -1
  420. package/dist/esm-es5/sqm-user-identifier-view-dbf71a5e.js +0 -1
  421. package/dist/esm-es5/sqm-user-identifier.entry.js +0 -1
  422. package/dist/esm-es5/usePasswordlessRegistration-ad9a05d5.js +0 -1
  423. package/dist/mint-components/p-03ad8655.js +0 -1
  424. package/dist/mint-components/p-045af9fb.system.entry.js +0 -1
  425. package/dist/mint-components/p-0eddbe09.entry.js +0 -1
  426. package/dist/mint-components/p-1b9c1909.entry.js +0 -1
  427. package/dist/mint-components/p-1bf9875f.entry.js +0 -1
  428. package/dist/mint-components/p-26117a7d.system.js +0 -1
  429. package/dist/mint-components/p-2a7686a6.system.entry.js +0 -1
  430. package/dist/mint-components/p-2b9ae018.system.js +0 -1
  431. package/dist/mint-components/p-30ec7d38.entry.js +0 -1
  432. package/dist/mint-components/p-35d6d322.system.js +0 -1
  433. package/dist/mint-components/p-36c08962.js +0 -1
  434. package/dist/mint-components/p-390b1f99.entry.js +0 -1
  435. package/dist/mint-components/p-3d339fa9.js +0 -1
  436. package/dist/mint-components/p-4120758d.system.entry.js +0 -1
  437. package/dist/mint-components/p-4336876b.js +0 -1
  438. package/dist/mint-components/p-494829ff.js +0 -1
  439. package/dist/mint-components/p-4994b24c.system.js +0 -1
  440. package/dist/mint-components/p-4df96786.system.entry.js +0 -1
  441. package/dist/mint-components/p-517a5669.system.js +0 -1
  442. package/dist/mint-components/p-56306cfd.system.js +0 -1
  443. package/dist/mint-components/p-56b08732.entry.js +0 -9
  444. package/dist/mint-components/p-58362d80.system.entry.js +0 -1
  445. package/dist/mint-components/p-59ca1d2c.system.js +0 -1
  446. package/dist/mint-components/p-6332cdb6.entry.js +0 -1
  447. package/dist/mint-components/p-662faaaa.entry.js +0 -171
  448. package/dist/mint-components/p-66a0332f.system.entry.js +0 -1
  449. package/dist/mint-components/p-689d022a.js +0 -1
  450. package/dist/mint-components/p-6ddc2a08.js +0 -1
  451. package/dist/mint-components/p-70d33b67.system.js +0 -1
  452. package/dist/mint-components/p-71fe4061.js +0 -1
  453. package/dist/mint-components/p-73bca9e7.js +0 -1
  454. package/dist/mint-components/p-7ef716a7.js +0 -1
  455. package/dist/mint-components/p-83927707.js +0 -1
  456. package/dist/mint-components/p-8478a86e.system.entry.js +0 -1
  457. package/dist/mint-components/p-9165844e.system.js +0 -1
  458. package/dist/mint-components/p-957b77b8.system.js +0 -1
  459. package/dist/mint-components/p-97763c36.system.js +0 -1
  460. package/dist/mint-components/p-9a13cb78.system.entry.js +0 -1
  461. package/dist/mint-components/p-a2f7a2f3.system.js +0 -1
  462. package/dist/mint-components/p-b6b28b95.js +0 -1
  463. package/dist/mint-components/p-bfd347b4.js +0 -1
  464. package/dist/mint-components/p-bfdbe27c.js +0 -1
  465. package/dist/mint-components/p-bfecc81e.system.js +0 -1
  466. package/dist/mint-components/p-c1e7a6c3.entry.js +0 -1
  467. package/dist/mint-components/p-c2c3d7fd.entry.js +0 -1
  468. package/dist/mint-components/p-c3765ad9.system.entry.js +0 -1
  469. package/dist/mint-components/p-c3777cf3.system.entry.js +0 -1
  470. package/dist/mint-components/p-c5dc66d5.js +0 -268
  471. package/dist/mint-components/p-d16b1f37.entry.js +0 -1
  472. package/dist/mint-components/p-de055c6b.system.js +0 -1
  473. package/dist/mint-components/p-eb25d055.system.js +0 -1
  474. package/dist/mint-components/p-f85504fd.system.entry.js +0 -1
  475. package/dist/mint-components/p-f8bbbea1.js +0 -1
  476. package/dist/mint-components/p-f8d9e861.system.js +0 -1
  477. package/dist/mint-components/p-fe99e8e3.system.entry.js +0 -1
  478. package/dist/types/components/sqm-coupon-code/CouponCode.stories.d.ts +0 -12
  479. package/dist/types/components/sqm-coupon-code/sqm-coupon-code.d.ts +0 -60
  480. package/dist/types/components/sqm-coupon-code/useCouponCode.d.ts +0 -8
  481. package/dist/types/components/sqm-link-button/LinkButton.stories.d.ts +0 -9
  482. package/dist/types/components/sqm-link-button/sqm-link-button-view.d.ts +0 -5
  483. package/dist/types/components/sqm-link-button/sqm-link-button.d.ts +0 -17
  484. package/dist/types/components/sqm-passwordless-registration/sqm-passwordless-registration.d.ts +0 -37
  485. package/dist/types/components/sqm-passwordless-registration/usePasswordlessRegistration.d.ts +0 -9
  486. package/dist/types/components/sqm-referred-registration/sqm-referred-registration.d.ts +0 -37
  487. package/dist/types/components/sqm-user-identifier/UserIdentifier.stories.d.ts +0 -8
  488. package/dist/types/components/sqm-user-identifier/sqm-user-identifier-view.d.ts +0 -6
  489. package/dist/types/components/sqm-user-identifier/sqm-user-identifier.d.ts +0 -30
  490. package/dist/types/components/sqm-user-identifier/useUserIdentifer.d.ts +0 -3
  491. package/dist/types/components/views/EmailRegistration.stories.d.ts +0 -10
  492. package/dist/types/components/views/copy-text-view.d.ts +0 -11
  493. package/dist/types/components/views/email-registration-view.d.ts +0 -20
@@ -0,0 +1,159 @@
1
+ import{r as t,h as e,c as s}from"./p-64c3217a.js";import{m as a,u as n,i as r,o as i,j as o,b as l,f as d}from"./p-ed801cb7.js";import{i as c}from"./p-b23d673e.js";import{u}from"./p-f66b4b3a.js";import{i as h,R as m,d as p,N as v,a as g,P as f,O as b,x as y,o as x,f as w,j as k,M as C,k as S,p as E,l as I,U as M}from"./p-93832713.js";import{j as R}from"./p-e7e129ac.js";import{c as _}from"./p-c1086930.js";import"./p-02be1a88.js";import{c as N}from"./p-cef45012.js";import{a as P}from"./p-d1a74f7e.js";import{u as q}from"./p-1d1fac2c.js";import"./p-25254dd1.js";import{g as A,a as V,s as T}from"./p-9ec99ced.js";import"./p-5d9244de.js";import{A as F}from"./p-121cdc60.js";import{R as L,u as D}from"./p-cd898a3a.js";import{c as j,K as z,B as $,H as B,G as H,C as O,D as U,E as W,I as Z,M as G,L as K,N as X,e as Y,P as J,f as Q,g as tt,R as et,O as st,i as at,Q as nt,b as rt,S as it,a as ot,u as lt,d as dt,T as ct}from"./p-8874f2c4.js";import"./p-5fb4fe4a.js";const ut=class{constructor(e){t(this,e),this.flexReverse=!1,this.ignored=!0,a(this)}disconnectedCallback(){}render(){var t;const{props:s,label:a}=h()?j(this):z(this),n=!!(null===(t=m().innerHTML)||void 0===t?void 0:t.trim()),r=e("slot",{name:"label"},n?e("slot",null):a);return e($,Object.assign({},s,{labelSlot:r}))}},ht=class{constructor(e){t(this,e),a(this)}disconnectedCallback(){}render(){var t,a;const r=null!==(t=function(t){if(t)try{return B(t)}catch{}}(this.brandColor))&&void 0!==t?t:"",i=(null!==(a=this.brandFont)&&void 0!==a?a:"Nunito Sans").trim()||void 0;n((()=>{if(!i)return;const t=document.createElement("link");return t.setAttribute("href",function(...t){return`https://fonts.googleapis.com/css2?${t.map((t=>`family=${encodeURIComponent(t)}`)).join("&")}`}(i)),t.setAttribute("rel","stylesheet"),document.head.appendChild(t),()=>document.head.removeChild(t)}),[i]);const o=null!=i?i:"";return e(s,null,e("style",null,`\n\n :host{\n display: contents;\n }\n /* \n Selects any element placed inside a slot\n - resets css variable inheritence for fonts\n \n */\n ::slotted(*) {\n --sl-font-sans: "${o}", arial;\n --sl-input-font-family: "${o}", arial;\n --sl-tooltip-font-family: "${o}", arial;\n font-family: "${o}", arial;\n\t\t\t\n ${r}\n\n --sl-focus-ring-color-primary: var(--sl-color-primary-100);\n --sl-input-border-color-focus: var(--sl-color-primary-500);\n --sl-color-primary-hue: var(--sl-color-primary-500);\n }`),e("slot",null))}},mt=class{constructor(e){t(this,e),this.ignored=!0,this.width=347,this.gap=24,a(this)}disconnectedCallback(){}render(){return e(H,Object.assign({},A(this)),e("slot",null))}},pt=N({IconStyle:{display:"block",position:"absolute",top:"23px"},DivStyle:{marginLeft:"28px"},Details:{marginLeft:"28px"},Heading:{display:"inline-block"},Children:{display:"none"}}),vt=pt.toString();function gt({missingProps:t,heading:s="There was a problem loading this section",subheading:a="There was a technical problem that prevented this section from loading. Please contact us with the link to this page.",description:n="Error occured while loading <{tagName}>. Values for the following attributes are missing:"},i){if(!t)return!1;const o=m(),[l,d]=r(!1);return e("sl-alert",{type:"danger",open:!0},e("style",{type:"text/css"},vt),e("div",{slot:"icon",class:pt.classes.IconStyle},e("sl-icon",{name:"exclamation-octagon"})),e("div",{class:pt.classes.DivStyle},e("h2",{class:pt.classes.Heading},c.formatMessage({id:"error-heading",defaultMessage:s})),e("p",null,c.formatMessage({id:"error-subheading",defaultMessage:a}))),e("details",{class:pt.classes.Details},e("summary",{onClick:()=>d(!l)},l?"Less":"More"," details"),e("p",null,c.formatMessage({id:"error-description",defaultMessage:n},{tagName:o.tagName.toLowerCase()})),e("ul",null,t.map((t=>e("li",null,e("strong",null,t.attribute)))))),e("div",{class:pt.classes.Children},i))}const ft=class{constructor(e){t(this,e),this.ignored=!0,this.checkboxLabel="By signing up you agree to the {labelLink}",this.checkboxLabelLink="https://example.com",this.checkboxLabelLinkText="Terms and Conditions",this.errorMessage="Must be checked",this.checkboxOptional=!1,a(this)}disconnectedCallback(){}render(){const t=V([{attribute:"checkbox-name",value:this.checkboxName}]);if(!h()&&t)return e(gt,{missingProps:t,heading:"An error occured while loading this form",subheading:"A technical problem prevented this checkbox field from loading. Please contact us with the link to this page.",description:"Values for the following attributes are missing:"});const s={...A(this)},{states:a,callbacks:o}=h()?_({states:{registrationFormState:{},checked:!1},callbacks:{setChecked:()=>{}}},this.demoData||{},{arrayMerge:(t,e)=>e}):function(t){var e;const s=i(L),[a,o]=r(!1);return n((()=>{var e,a;(null===(e=null==s?void 0:s.initialData)||void 0===e?void 0:e[t.checkboxName])&&o(!!(null===(a=null==s?void 0:s.initialData)||void 0===a?void 0:a[t.checkboxName]))}),[null===(e=null==s?void 0:s.initialData)||void 0===e?void 0:e[t.checkboxName]]),{states:{registrationFormState:s,checked:a},callbacks:{setChecked:o}}}(this);return e(O,{states:a,content:s,callbacks:o})}};function bt(t,s){const a=()=>"row"===t.direction?{"border-right":t.dividerStyle||"1px solid #EAEAEA"}:{"border-bottom":t.dividerStyle||"1px solid #EAEAEA"},n={LayoutContainer:{display:"contents","& > :not(:last-child)":{...a()},"& > ::slotted(*:not(:last-child))":{...a()}}},r=`\n display: flex;\n flex: 1;\n box-sizing: border-box;\n flex-direction: ${t.direction};\n background-color: var(--sqm-content-background);\n overflow-x: clip;\n ${"column"===t.direction?"width: 100%; max-width: var(--sqm-portal-main-width);":""}\n `,i=`\n :host{\n ${r}\n }\n sqm-divided-layout {\n ${r}\n }\n `,o=N(n),l=o.toString();return e("div",{class:o.classes.LayoutContainer},e("style",{type:"text/css"},i,l),s)}const yt=class{constructor(e){t(this,e),this.dividerStyle="1px solid #EAEAEA",a(this)}disconnectedCallback(){}render(){return e(bt,Object.assign({},A(this)),e("slot",null))}},xt=class{constructor(e){t(this,e),this.ignored=!0,this.dropdownLabel="Select an option",this.errorMessage="Select an option",this.dropdownOptional=!1,a(this)}disconnectedCallback(){}render(){const t=V([{attribute:"dropdown-name",value:this.dropdownName}]);if(!h()&&t)return e(gt,{missingProps:t,heading:"An error occured while loading this form",subheading:"A technical problem prevented this drop down field from loading. Please contact us with the link to this page.",description:"Values for the following attributes are missing:"},e("slot",null));const s={...A(this),selectOptions:e("slot",null)},{states:a}=h()?_({states:{registrationFormState:{}}},this.demoData||{},{arrayMerge:(t,e)=>e}):{states:{registrationFormState:i(L)}};return e(U,{states:a,content:s})}},wt=p.gql`
2
+ query {
3
+ viewer {
4
+ ... on User {
5
+ id
6
+ accountId
7
+ firstName
8
+ lastName
9
+ email
10
+ countryCode
11
+ }
12
+ }
13
+ }
14
+ `,kt=p.gql`
15
+ mutation (
16
+ $id: String!
17
+ $accountId: String!
18
+ $firstName: String!
19
+ $lastName: String!
20
+ ) {
21
+ upsertUser(
22
+ userInput: {
23
+ id: $id
24
+ accountId: $accountId
25
+ firstName: $firstName
26
+ lastName: $lastName
27
+ }
28
+ ) {
29
+ firstName
30
+ lastName
31
+ }
32
+ }
33
+ `,Ct={currentRegion:"",firstName:"",lastName:"",errors:{},error:""},St=class{constructor(e){t(this,e),this.ignored=!0,a(this)}disconnectedCallback(){}render(){const t=h()?function(t){return _({states:{loading:!1,submitDisabled:!1,formState:{currentRegion:"Canada",firstName:"Bill",lastName:"Bob",errors:{},error:"An error string"},user:{firstName:"Bill",lastName:"Bob",email:"billbob@example.com"},showEdit:!1,text:{editprofileheader:t.editprofileheader?t.editprofileheader:"Edit Profile",editprofiletext:t.editprofiletext?t.editprofiletext:"Update your profile.",firstnametext:t.firstnametext?t.firstnametext:"First Name",lastnametext:t.lastnametext?t.lastnametext:"Last Name",canceltext:t.canceltext?t.canceltext:"Cancel",updatetext:t.updatetext?t.updatetext:"Update",currentregiontext:t.currentregiontext?t.currentregiontext:"Region",showregion:!0}},callbacks:{onSubmit:t=>{console.log(t)},resetForm:()=>{console.log("reset")},onChange:()=>{console.log("change")},setShowEdit:t=>{console.log(t)}}},t.demoData||{},{arrayMerge:(t,e)=>e})}(A(this)):function(t){const e=v(),[s,a]=r(!1),[i,o]=r(""),[l,d]=r(void 0),[u,h]=r(Ct),m=g(wt,{},!(null==e?void 0:e.jwt)),[p,b]=f(kt);return n((()=>{!(null==b?void 0:b.loading)&&s&&((null==b?void 0:b.errors)?h((t=>{var e,s,a;return{...t,error:null===(a=null===(s=null===(e=null==b?void 0:b.errors)||void 0===e?void 0:e.response)||void 0===s?void 0:s.errors)||void 0===a?void 0:a[0].message}})):(d((t=>{var e;return{...t,...null===(e=null==b?void 0:b.data)||void 0===e?void 0:e.upsertUser}})),a(!1)))}),[null==b?void 0:b.loading]),n((()=>{d((t=>{var e;return{...t,...null===(e=null==m?void 0:m.data)||void 0===e?void 0:e.viewer}}))}),[null==m?void 0:m.data]),n((()=>{var t;(null===(t=null==b?void 0:b.errors)||void 0===t?void 0:t.message)&&h((t=>({...t,error:"Network request failed."})))}),[null==b?void 0:b.errors]),{states:{loading:(null==m?void 0:m.loading)||b.loading,submitDisabled:!1,formState:u,user:l,showEdit:s,text:{editprofileheader:t.editprofileheader,editprofiletext:t.editprofiletext,firstnametext:t.firstnametext,lastnametext:t.lastnametext,canceltext:t.canceltext,updatetext:t.updatetext,currentregiontext:t.currentregiontext,showregion:t.showregion}},callbacks:{onSubmit:()=>{if(u.firstName&&u.lastName)return p({id:null==e?void 0:e.id,accountId:null==e?void 0:e.accountId,firstName:u.firstName,lastName:u.lastName}),void h((t=>({...t,errors:{}})));const t={};u.firstName||(t.firstName={message:"Field can't be empty"}),u.lastName||(t.lastName={message:"Field can't be empty"}),t!=={}&&h((t=>({...t,error:"Please correct the errors below to update your profile."}))),h((e=>({...e,errors:t})))},resetForm:()=>{var t,e,s,a,n,r;const i=(null===(e=null===(t=null==m?void 0:m.data)||void 0===t?void 0:t.viewer)||void 0===e?void 0:e.countryCode)?c.formatDisplayName(m.data.viewer.countryCode,{type:"region"}):"";d({...null===(s=m.data)||void 0===s?void 0:s.viewer,...null===(a=b.data)||void 0===a?void 0:a.upsertUser}),h({...Ct,...null===(n=m.data)||void 0===n?void 0:n.viewer,...null===(r=b.data)||void 0===r?void 0:r.upsertUser,currentRegion:i})},onChange:t=>{const{name:e,value:s}=t.target;h((t=>({...t,[e]:s})))},setShowEdit:a}}}(A(this));return e(W,Object.assign({},t))}};function Et(t,s){const a=Boolean((t.header||t.description||t.buttonText)&&"overlay"===t.layout),n=N({Container:{position:"relative","&:before":{content:a?'""':"",width:"100%",height:"100%",position:"absolute",background:t.overlayColor||"var(--sl-color-primary-900)",opacity:t.overlayOpacity}},Image:{display:"block",width:"100%",height:"100%",objectFit:"cover"},Background:{backgroundImage:`url(${t.imageUrl})`,backgroundSize:"cover",backgroundPosition:t.imagePos||"center",display:"flex",justifyContent:"center",alignItems:"center"},Overlay:{zIndex:"1",padding:"calc(var(--sl-spacing-"+t.paddingText+") + var(--sl-spacing-"+t.paddingImage+"))",textAlign:"center",color:t.textColor||"var(--sl-color-neutral-0)",lineHeight:"var(--sl-line-height-dense)","@media (max-width: 599px)":{padding:"var(--sl-spacing-"+t.paddingText+")"}},Column:{display:"flex",background:t.backgroundColor||"",flexDirection:"right"===t.imagePos?"row-reverse":"row",lineHeight:"var(--sl-line-height-dense)",color:t.textColor||"var(--sl-color-neutral-900)","& .image-area":{width:t.imagePercentage?t.imagePercentage+"%":"50%",padding:"var(--sl-spacing-"+t.paddingImage+")",boxSizing:"border-box",display:"flex",justifyContent:"center",alignItems:"center","@media (max-width: 599px)":{width:"100%"}},"& .text-area":{width:t.imagePercentage?100-t.imagePercentage+"%":"50%",padding:"var(--sl-spacing-"+t.paddingText+")",alignSelf:"center",boxSizing:"border-box","@media (max-width: 599px)":{width:"100%",textAlign:"center",padding:"calc(0.5*var(--sl-spacing-"+t.paddingText+"))"}},"@media (max-width: 599px)":{flexDirection:"bottom"===t.imageMobilePos?"column-reverse":"column"}},Header:{fontSize:"var(--sl-font-size-xxx-large)",fontWeight:"var(--sl-font-weight-bold)","@media (max-width: 599px)":{fontSize:"var(--sl-font-size-xx-large)"}},Description:{fontSize:"var(--sl-font-size-x-large)",margin:"var(--sl-spacing-small) 0","@media (max-width: 599px)":{fontSize:"var(--sl-font-size-large)"}},Button:{marginTop:"var(--sl-spacing-medium)","&::part(base)":{padding:"0 var(--sl-spacing-x-large)"},"@media (max-width: 599px)":{width:"100%"}}}),r=n.toString();return e("div",{class:n.classes.Container},e("style",{type:"text/css"},"\n :host{\n display: block;\n }",r),"overlay"===t.layout&&e("div",{class:n.classes.Background},e("div",{class:n.classes.Overlay},t.header&&e("div",{class:n.classes.Header},t.header),t.description&&e("div",{class:n.classes.Description},t.description),t.buttonText&&e("sl-button",{class:n.classes.Button,type:"primary",onClick:()=>t.buttonNewTab?window.open(t.buttonLink):window.open(t.buttonLink,"_parent")},t.buttonText),s&&s)),"columns"===t.layout&&e("div",null,e("div",{class:n.classes.Column},e("div",{class:"image-area"},e("img",{class:n.classes.Image,src:t.imageUrl})),e("div",{class:"text-area"},t.header&&e("div",{class:n.classes.Header},t.header),t.description&&e("div",{class:n.classes.Description},t.description),t.buttonText&&e("sl-button",{class:n.classes.Button,type:"primary",onClick:()=>t.buttonNewTab?window.open(t.buttonLink):window.open(t.buttonLink,"_parent")},t.buttonText)))))}St.style=".ErrorStyles::part(base){background:var(--sl-color-danger-10);border-color:var(--sl-color-danger-500);outline:var(--sl-color-danger-500)}.ErrorStyles:host{--something-random:red;--focus-ring:0 0 0 var(--sl-focus-ring-width) red !important}.ErrorStyles::part(input){color:var(--sl-color-danger-500)}.ErrorStyles::part(input):-webkit-autofill,.ErrorStyles::part(input):-webkit-autofill:hover,.ErrorStyles::part(input):-webkit-autofill:focus,.ErrorStyles::part(input):-webkit-autofill:active{-webkit-box-shadow:0 0 0 var(--sl-input-height-large) var(--sl-input-background-color-hover) inset !important;box-shadow:0 0 0 var(--sl-input-height-large) var(--sl-input-background-color-hover) inset !important;-webkit-text-fill-color:var(--sl-color-danger-500)}.ErrorStyles::part(help-text){color:var(--sl-color-danger-500)}:host{display:block}:host([hidden]){display:none}.FormWrapper>:not(:first-child){margin-top:54px}.FormSection{width:100%}.FormSection>:not(:first-child){margin-top:16px}.ButtonWrapper{display:-ms-flexbox;display:flex;margin-top:24px;-ms-flex-pack:end;justify-content:flex-end}.ButtonWrapper>:not(:first-child){margin-left:var(--sl-font-size-x-small)}.CardWrapper{-webkit-box-sizing:border-box;box-sizing:border-box;background:var(--sl-color-white);padding:40px 30px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between}@media screen and (max-width: 499px){.CardWrapper{-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}}@media screen and (max-width: 880px){.CardWrapper.ShowEdit{-ms-flex-direction:row;flex-direction:row;-ms-flex-align:end;align-items:flex-end}}";const It=class{constructor(e){t(this,e),this.overlayOpacity="0.75",this.layout="overlay",this.imagePercentage=50,this.imagePos="center",this.imageMobilePos="top",this.buttonNewTab=!1,this.paddingText="xxxx-large",this.paddingImage="none",a(this)}disconnectedCallback(){}render(){return e(Et,Object.assign({},A(this)),e("slot",null))}},Mt=class{constructor(e){t(this,e),this.ignored=!0,a(this)}disconnectedCallback(){}render(){return e(this.hookStory,null)}},Rt=class{constructor(e){t(this,e),this.ignored=!0,this.fieldType="text",this.errorMessage="Cannot be empty",this.fieldOptional=!1,a(this)}disconnectedCallback(){}render(){const t={...A(this)},s=V([{attribute:"field-name",value:this.fieldName}]);if(!h()&&s)return e(gt,{missingProps:s,heading:"An error occured while loading this form",subheading:"A technical problem prevented this input field from loading. Please contact us with the link to this page.",description:"Values for the following attributes are missing:"});const{states:a}=h()?_({states:{registrationFormState:{}}},this.demoData||{},{arrayMerge:(t,e)=>e}):{states:{registrationFormState:i(L)}};return e(Z,{states:a,content:t})}},_t=p.gql`
34
+ query (
35
+ $type: String!
36
+ $filter: UserLeaderboardFilterInput
37
+ $locale: RSLocale
38
+ $limit: Int!
39
+ ) {
40
+ userLeaderboard(type: $type, filter: $filter) {
41
+ dateModified
42
+ rows(limit: $limit) {
43
+ textValue(locale: $locale)
44
+ firstName
45
+ lastInitial
46
+ rank {
47
+ rank
48
+ denseRank
49
+ rowNumber
50
+ }
51
+ }
52
+ }
53
+ }
54
+ `,Nt=p.gql`
55
+ query (
56
+ $type: String!
57
+ $filter: UserLeaderboardFilterInput
58
+ $locale: RSLocale
59
+ ) {
60
+ viewer {
61
+ ... on User {
62
+ firstName
63
+ lastInitial
64
+ leaderboardRank(type: $type, filter: $filter) {
65
+ textValue(locale: $locale)
66
+ rank
67
+ denseRank
68
+ rowNumber
69
+ }
70
+ }
71
+ }
72
+ }
73
+ `,Pt=class{constructor(e){t(this,e),this.hideViewer=!1,this.anonymousUser="Anonymous User",this.maxRows=10,this.ignored=!0,a(this),G(this)}disconnectedCallback(){}render(){const t={empty:e(qt,null),loadingstate:e(At,null),usersheading:this.usersheading,statsheading:this.statsheading,rankheading:this.rankheading,rankType:this.rankType,leaderboardType:this.leaderboardType,maxRows:this.maxRows,programId:this.programId,anonymousUser:this.anonymousUser,interval:this.interval,hideViewer:this.hideViewer,showRank:this.showRank},s={...t,demoData:this.demoData},a=h()?function(t){var s,a;const n=(null===(a=null===(s=t.demoData)||void 0===s?void 0:s.data)||void 0===a?void 0:a.leaderboard)||[{firstName:"Viktor",lastInitial:"V",textValue:"82",rank:1,rowNumber:1},{firstName:"MF",lastInitial:"D",textValue:"73",rank:2,rowNumber:2},{firstName:"Freddie",lastInitial:"G",textValue:"64",rank:3,rowNumber:3},{firstName:"Benny",lastInitial:"B",textValue:"55",rank:4,rowNumber:4},{textValue:"46",rank:5,rowNumber:5}];return _({states:{loading:!1,hasLeaders:!0,styles:{usersheading:t.usersheading?t.usersheading:"Top referrers",statsheading:t.statsheading?t.statsheading:"New customers",rankheading:t.rankheading?t.rankheading:"Rank",anonymousUser:t.anonymousUser?t.anonymousUser:"Anonymous User",showRank:t.showRank,hideViewer:t.hideViewer}},data:{rankType:"rowNumber",leaderboard:n},elements:{empty:e(qt,null),loadingstate:e(At,null)}},t.demoData||{},{arrayMerge:(t,e)=>e})}(s):function(t){var e,s,a,n,r,i,o,l,d,c;const u=b(),h=null!==(e=t.programId)&&void 0!==e?e:u,m=v(),p=y(),f=h?{type:t.leaderboardType,filter:{programId_eq:h}}:{type:t.leaderboardType,filter:{}};t.interval&&(f.filter.interval=t.interval),p&&(f.locale=p),t.maxRows>0&&(f.limit=t.maxRows);const{data:x,loading:w}=g(_t,f,!(null==m?void 0:m.jwt)),{data:k}=g(Nt,f,!(null==m?void 0:m.jwt)),C=null==(I=null===(s=null==x?void 0:x.userLeaderboard)||void 0===s?void 0:s.rows)?void 0:I.flatMap((e=>{var s,a;return{textValue:e.textValue,firstName:e.firstName,lastInitial:e.lastInitial,rank:null===(s=e.rank)||void 0===s?void 0:s[t.rankType],rowNumber:null===(a=e.rank)||void 0===a?void 0:a.rowNumber}})),S=null==C?void 0:C.sort((function(t,e){return t.rank-e.rank})),E={textValue:null===(n=null===(a=null==k?void 0:k.viewer)||void 0===a?void 0:a.leaderboardRank)||void 0===n?void 0:n.textValue,firstName:null===(r=null==k?void 0:k.viewer)||void 0===r?void 0:r.firstName,lastInitial:null===(i=null==k?void 0:k.viewer)||void 0===i?void 0:i.lastInitial,rank:null===(l=null===(o=null==k?void 0:k.viewer)||void 0===o?void 0:o.leaderboardRank)||void 0===l?void 0:l[t.rankType],rowNumber:null===(c=null===(d=null==k?void 0:k.viewer)||void 0===d?void 0:d.leaderboardRank)||void 0===c?void 0:c.rowNumber};var I;return{states:{loading:w,hasLeaders:(null==S?void 0:S.length)>0,styles:t},data:{leaderboard:S,rankType:t.rankType,viewerRank:E},elements:{empty:t.empty,loadingstate:t.loadingstate}}}(t);return e(K,Object.assign({},a))}};function qt(){return e("slot",{name:"empty"},e("sqm-empty",{"empty-state-image":"https://res.cloudinary.com/saasquatch/image/upload/v1644360953/squatch-assets/empty_leaderboard2.png","empty-state-header":"View your rank in the leaderboard","empty-state-text":"Be the first to refer a friend and reach the top of the leaderboard"}))}function At(){return e("slot",{name:"loading"},e("table",null,[...Array(10)].map((()=>e("tr",null,e("td",null,e("sl-skeleton",null)))))))}const Vt=class{constructor(e){t(this,e),this.ignored=!0,this.firstNameLabel="First Name",this.lastNameLabel="Last Name",a(this)}disconnectedCallback(){}render(){const{states:t}=h()?_({states:{validationErrors:[],content:{firstNameLabel:this.firstNameLabel,lastNameLabel:this.lastNameLabel}}},this.demoData||{},{arrayMerge:(t,e)=>e}):function(t){return{states:{registrationFormState:i(L),content:{lastNameLabel:t.lastNameLabel,firstNameLabel:t.firstNameLabel}}}}(this);return e(X,{states:t})}};function Tt(t){const{states:s}=t,{styles:a}=s;return s.includeDropdown?e("sl-dropdown",{style:"margin-bottom: var(--sl-spacing-large)"},e("sl-button",{slot:"trigger",caret:!0,onClick:t.callbacks.rerender,exportparts:"base: dropdownbutton-base"},a.menuLabel),e("sl-menu",{ref:e=>{void 0===t.ref.current&&(t.ref.current=e,t.callbacks.rerender())}},e("slot",null))):""}const Ft=class{constructor(e){t(this,e),this.ignored=!0,a(this)}disconnectedCallback(){}render(){const t=h()?function(t){return _({states:{includeDropdown:!0,styles:{...t,menuLabel:"Menu"}},callbacks:{rerender:()=>{}},ref:{current:void 0}},t.demoData||{},{arrayMerge:(t,e)=>e})}(A(this)):function(t){const e=o(),[,s]=x(),a=v();return n((()=>{var t;null===(t=e.current)||void 0===t||t.addEventListener("sl-select",(t=>function(t){w.push(t.detail.item.value)}(t)))}),[e.current]),{states:{includeDropdown:void 0!==((null==a?void 0:a.id)||(null==a?void 0:a.accountId)||(null==a?void 0:a.jwt)),styles:{menuLabel:t.menuLabel}},callbacks:{rerender:s},ref:e}}(A(this));return e(s,{slot:"sqm-navigation-menu"},e(Tt,Object.assign({},t)))}};Ft.style=":host{display:block}:host([hidden]){display:none}.HeaderWrapper{width:100%;max-width:100%;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;padding:var(--sl-spacing-small) var(--sl-spacing-large);-ms-flex-align:center;align-items:center;background-color:var(--sqm-header-background)}@media screen and (max-width: 499px){.HeaderWrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse;-ms-flex-pack:end;justify-content:flex-end;padding:0 var(--sl-spacing-x-small)}}";const Lt=class{constructor(e){t(this,e),this.ignored=!0,this.modalChangePasswordHeader="Change Password",this.cancelText="Cancel",this.changePasswordButtonText="Change Password",this.passwordFieldLabel="New Password",this.confirmPasswordFieldLabel="Confirm New Password",this.successMessage="Your password has been updated.",this.portalChangePasswordHeader="Password",this.portalChangePasswordButtonText="Change your password...",a(this)}disconnectedCallback(){}render(){const{states:t,callbacks:s}=h()?function(t){const[e,s]=r(!1);return _({states:{open:e,error:"",content:{modalChangePasswordHeader:t.modalChangePasswordHeader,cancelText:t.cancelText,changePasswordButtonText:t.changePasswordButtonText,passwordFieldLabel:t.passwordFieldLabel,confirmPasswordFieldLabel:t.confirmPasswordFieldLabel,successMessage:t.successMessage,portalChangePasswordHeader:t.portalChangePasswordHeader,portalChangePasswordButtonText:t.portalChangePasswordButtonText}},callbacks:{setOpen:t=>s(t),submit:t=>console.log("Submit",t)}},t.demoData||{},{arrayMerge:(t,e)=>e})}(this):function(t){var e,s,a,n,i,o,l;const[d,{loading:c,errors:u}]=k(),[h,m]=r(!1),[p,g]=r(""),[f,b]=r(!1),y=v();return{states:{open:h,loading:c,success:f,error:p||(null===(n=null===(a=null===(s=null===(e=null==u?void 0:u.response)||void 0===e?void 0:e.errors)||void 0===s?void 0:s[0])||void 0===a?void 0:a.extensions)||void 0===n?void 0:n.message)||(null===(l=null===(o=null===(i=null==u?void 0:u.response)||void 0===i?void 0:i.errors)||void 0===o?void 0:o[0])||void 0===l?void 0:l.message),content:{modalChangePasswordHeader:t.modalChangePasswordHeader,cancelText:t.cancelText,changePasswordButtonText:t.changePasswordButtonText,passwordFieldLabel:t.passwordFieldLabel,confirmPasswordFieldLabel:t.confirmPasswordFieldLabel,successMessage:t.successMessage,portalChangePasswordHeader:t.portalChangePasswordHeader,portalChangePasswordButtonText:t.portalChangePasswordButtonText}},data:{},callbacks:{setOpen:m,submit:async t=>{var e,s;b(!1);const a=null===(e=t.detail)||void 0===e?void 0:e.formData;if(null==a||a.forEach(((t,e)=>{R.set(a,e,t)})),!(null==y?void 0:y.jwt))return void g("Please log in again to change your password.");if(a.password!==a.confirmPassword)return void g("Passwords do not match.");g("");const n={password:a.password},r=await d(n);r instanceof Error||!(null===(s=r.changeManagedIdentityPassword)||void 0===s?void 0:s.success)||b(!0)}}}}(this);return e(Y,{states:t,callbacks:s})}},Dt=class{constructor(e){t(this,e),this.ignored=!0,this.notFullScreen=!1,a(this)}disconnectedCallback(){}render(){const t=e("slot",{name:"footer"}),s=e("slot",{name:"header"}),a=h()?function(t,s,a){return _({notFullScreen:!0,data:{footer:t||e("span",null,"example@example.com"),header:s||e("div",{style:{display:"flex",flexDirection:"column"}},e("span",{style:{fontSize:"var(--sl-font-size-large)",fontWeight:"bold"}},"Portal Header"),e("span",{style:{fontSize:"var(--sl-font-size-small)"}},"A description for the portal"))},callbacks:{rerender:()=>{}}},a.demoData||{},{arrayMerge:(t,e)=>e})}(t,s,this):function(t,e){const[,s]=x();return{data:{footer:t,header:e},callbacks:{rerender:s}}}(t,s);return e(J,Object.assign({},a),e("slot",null))}},jt=class{constructor(e){t(this,e),this.ignored=!0,this.nextPage="/",this.emailLabel="Email",this.passwordLabel="Password",this.submitLabel="Sign In",this.forgotPasswordPath="/forgotPassword",this.forgotPasswordLabel="Forgot Password?",this.registerLabel="Register",this.registerPath="/register",this.pageLabel="Sign in to your account",a(this)}disconnectedCallback(){}render(){const{states:t,callbacks:s}=h()?_({states:{error:"",loading:!1,forgotPasswordPath:"/forgotPassword",registerPath:"/register"},callbacks:{submit:async()=>{console.log("submit")}}},this.demoData||{},{arrayMerge:(t,e)=>e}):function(t){var e,s,a,n,i,o,l;const[d,{loading:c,errors:u}]=C(),[h,m]=r(""),p=new URLSearchParams(w.location.search),v=p.get("nextPage");return{states:{loading:c,error:(null===(n=null===(a=null===(s=null===(e=null==u?void 0:u.response)||void 0===e?void 0:e.errors)||void 0===s?void 0:s[0])||void 0===a?void 0:a.extensions)||void 0===n?void 0:n.message)||(null===(l=null===(o=null===(i=null==u?void 0:u.response)||void 0===i?void 0:i.errors)||void 0===o?void 0:o[0])||void 0===l?void 0:l.message)||h,registerPath:t.registerPath,forgotPasswordPath:t.forgotPasswordPath},callbacks:{submit:async e=>{var s,a;m("");let n=e.detail.formData;null==n||n.forEach(((t,e)=>{R.set(n,e,t)}));const r={email:n.email,password:n.password},i=await d(r);if(i instanceof Error)((null==i?void 0:i.message)||(null===(s=null==i?void 0:i.response)||void 0===s?void 0:s.error))&&m("Network request failed.");else if(null===(a=i.authenticateManagedIdentityWithEmailAndPassword)||void 0===a?void 0:a.token){p.delete("nextPage");const e=T(v||t.nextPage);w.push(e.href)}}}}}(this),a={forgotPasswordButton:e("slot",{name:"forgotPassword"},e("a",{onClick:()=>w.push(t.forgotPasswordPath)},this.forgotPasswordLabel)),secondaryButton:e("slot",{name:"secondaryButton"},e("sl-button",{type:"text",disabled:t.loading,onClick:()=>w.push(t.registerPath)},this.registerLabel)),emailLabel:this.emailLabel,passwordLabel:this.passwordLabel,submitLabel:this.submitLabel,pageLabel:this.pageLabel};return e(Q,{states:t,callbacks:s,content:a})}},zt=class{constructor(e){t(this,e),this.ignored=!0,this.nextPage="/",this.redirectPath="/verifyEmail",this.emailLabel="Email",this.passwordLabel="Password",this.submitLabel="Register",this.loginLabel="Sign in",this.confirmPasswordLabel="Confirm Password",this.confirmPassword=!1,this.disablePasswordValidation=!1,this.hideInputs=!1,this.pageLabel="Register",this.loginPath="/login",a(this)}disconnectedCallback(){}render(){const{states:t,callbacks:s,refs:a}=h()?_({states:{error:"",loading:!1,confirmPassword:(r=this).confirmPassword,hideInputs:r.hideInputs||!1,customPasswordField:!1,loginPath:r.loginPath,disablePasswordValidation:r.disablePasswordValidation},callbacks:{submit:async()=>{console.log("submit")},inputFunction:()=>{}},refs:{formRef:{}}},r.demoData||{},{arrayMerge:(t,e)=>e}):function(t){var e,s,a,r,i,l,d,c,h;const m=o(null),{registrationFormState:p,setRegistrationFormState:v}=D({}),[g,{loading:f,errors:b}]=S();n((()=>{if(!m.current)return;const t=m.current;return t.addEventListener("sl-input",y),()=>{t.removeEventListener("sl-input",y)}}),[m.current]);const y=u((t=>{var e,s;if("tel"!==(null===(s=null===(e=t.target)||void 0===e?void 0:e.type)||void 0===s?void 0:s.toLowerCase()))return;const a=new F("US");t.target.value=a.input(t.target.value)}),[]);let x="";return x=(null===(e=null==b?void 0:b.response)||void 0===e?void 0:e.error)||(null==b?void 0:b.message)&&!(null===(s=null==b?void 0:b.response)||void 0===s?void 0:s.errors.length)?"Network request failed":(null===(l=null===(i=null===(r=null===(a=null==b?void 0:b.response)||void 0===a?void 0:a.errors)||void 0===r?void 0:r[0])||void 0===i?void 0:i.extensions)||void 0===l?void 0:l.message)||(null===(h=null===(c=null===(d=null==b?void 0:b.response)||void 0===d?void 0:d.errors)||void 0===c?void 0:c[0])||void 0===h?void 0:h.message)||(null==p?void 0:p.error),{states:{loading:f,error:x,registrationFormState:p,confirmPassword:t.confirmPassword,hideInputs:t.hideInputs,loginPath:t.loginPath,disablePasswordValidation:t.disablePasswordValidation},callbacks:{submit:async e=>{var s;let a=e.target.getFormControls(),n={},r={};if(null==a||a.forEach((t=>{if(!t.name)return;const e=t.name,s=t.value;if(R.set(n,e,s),t.required&&!s&&R.set(r,e,"Cannot be empty"),"function"==typeof t.validationError){const a=(0,t.validationError)({control:t,key:e,value:s});a&&R.set(r,e,a)}})),(t.confirmPassword||n.confirmPassword)&&n.password!==n.confirmPassword&&(r={...r,confirmPassword:"Passwords do not match."}),Object.keys(r).length)return void v({loading:!1,error:"",validationErrors:r});v({loading:!0,error:"",validationErrors:{}});const{email:i,password:o}=n;delete n.email,delete n.password,delete n.confirmPassword,n={...n};const l={email:i,password:o,formData:n,redirectPath:t.redirectPath};try{const e=await g(l);if(e instanceof Error)throw e;v({loading:!1,error:"",validationErrors:{}}),(null===(s=e.registerManagedIdentityWithEmailAndPassword)||void 0===s?void 0:s.token)&&w.push(t.nextPage)}catch(t){v({loading:!1,error:"Network request failed.",validationErrors:{}})}},inputFunction:y},refs:{formRef:m}}}(this);var r;const i={formData:e("slot",{name:"formData"}),secondaryButton:e("slot",{name:"secondaryButton"},e("sl-button",{type:"text",disabled:t.loading,onClick:()=>w.push(t.loginPath)},this.loginLabel)),terms:e("slot",{name:"terms"}),emailLabel:this.emailLabel,passwordLabel:this.passwordLabel,submitLabel:this.submitLabel,pageLabel:this.pageLabel,confirmPasswordLabel:this.confirmPasswordLabel};return e(tt,{states:t,callbacks:s,content:i,refs:a})}};function $t(t,s){const a=N({Container:{color:t.textColor||"var(--sl-color-neutral-900)",background:t.backgroundColor||""},Header:{fontSize:"var(--sl-font-size-x-large)",fontWeight:"var(--sl-font-weight-bold)",lineHeight:"var(--sl-line-height-dense)",marginBottom:"var(--sl-spacing-large)",textAlign:"center"},Grid:{display:"flex",flexDirection:"row",gap:"var(--sl-spacing-large)","@media (max-width: 499px)":{flexDirection:"column"}}}),n=a.toString();return e("div",{class:a.classes.Container},e("style",{type:"text/css"},n,"\n ::slotted(*){\n display: flex;\n width: 100%;\n }\n @media (max-width: 499px) {\n ::slotted(*){\n display: block;\n }\n }"),e("div",{class:a.classes.Header},e("div",{class:a.classes.Header},t.header)),e("div",{class:a.classes.Grid},s))}const Bt=class{constructor(e){t(this,e),this.ignored=!0,a(this)}disconnectedCallback(){}render(){return e($t,Object.assign({},A(this)),e("slot",null))}};function Ht(t){const s=N({Container:{display:"flex",flexDirection:"column",width:"100%",padding:"var(--sl-spacing-x-large)",lineHeight:"var(--sl-line-height-dense)",color:t.textColor||"var(--sl-color-neutral-900)",background:t.backgroundColor||"var(--sl-color-primary-50)","@media (max-width: 499px)":{flexDirection:"row",width:"auto",paddingBottom:"var(--sl-spacing-large)"}},Text:{"@media (max-width: 499px)":{marginLeft:"var(--sl-spacing-large)"}},Header:{fontSize:"var(--sl-font-size-large)",fontWeight:"var(--sl-font-weight-bold)",marginTop:"var(--sl-spacing-x-large)","@media (max-width: 499px)":{margin:"0"}},Description:{fontSize:"var(--sl-font-size-medium)",marginTop:"var(--sl-spacing-small)","@media (max-width: 499px)":{marginTop:"var(--sl-spacing-x-small)"}},Media:{width:"64px",height:"64px",borderRadius:"100%",objectFit:"cover",userSelect:"none",background:"#FFF",color:"var(--sl-color-primary-300)",fontSize:"26px",textAlign:"center",lineHeight:"72px"}}),a=s.toString();return e("div",{class:s.classes.Container},e("style",{type:"text/css"},a),e("div",null,t.imageUrl?e("img",{class:s.classes.Media,src:t.imageUrl}):e("div",{class:s.classes.Media},e("sl-icon",{name:t.icon}))),e("div",{class:s.classes.Text},e("div",{class:s.classes.Header},t.header),e("div",{class:s.classes.Description},t.description)))}const Ot=class{constructor(e){t(this,e),a(this)}disconnectedCallback(){}render(){return e(Ht,Object.assign({},A(this)))}},Ut=l("sq:useProgramMenu"),Wt=class{constructor(e){t(this,e),this.ignored=!0,a(this)}disconnectedCallback(){}render(){const{data:t,ref:a}=function(t){const e=b(),s=m();Ut({programId:e,props:t});const a=o(),[,r]=x();return n((()=>{var t;null===(t=a.current)||void 0===t||t.addEventListener("sl-select",(t=>{s.dispatchEvent(new CustomEvent("sq:update-program-id",{detail:t.detail.item.value,bubbles:!0,composed:!0}))}))}),[a.current]),{data:{programId:e},callbacks:{rerender:r},ref:a}}(A(this));return e(s,{style:{display:"contents"}},e("sl-select",{style:{paddingBottom:"var(--sl-spacing-large)"},value:t.programId,ref:t=>a.current=t},e("slot",null)))}},Zt=N({Container:{display:"flex",color:"var(--sl-color-neutral-900)",background:"var(--sl-color-neutral-0)","& .left":{boxSizing:"border-box",width:"50%",padding:"var(--sl-spacing-large)",paddingRight:"var(--sl-spacing-medium)","@media (max-width: 499px)":{width:"100%",padding:"0",marginBottom:"var(--sl-spacing-xx-large)"}},"& .right":{boxSizing:"border-box",width:"50%",padding:"var(--sl-spacing-large)",paddingLeft:"var(--sl-spacing-medium)","@media (max-width: 499px)":{width:"100%",padding:"0"}},border:"1px solid var(--sl-color-neutral-300)",borderRadius:"var(--sl-border-radius-large)","@media (max-width: 499px)":{flexDirection:"column",border:"none"}}}),Gt=Zt.toString();function Kt(t){return e("div",null,e("style",{type:"text/css"},Gt,"\n :host{\n display: block; \n }\n "),e("div",{class:Zt.classes.Container},e("div",{class:"left",style:{alignSelf:t.verticalAlignment}},t.slots.left),e("div",{class:"right",style:{alignSelf:t.verticalAlignment}},t.slots.right)))}const Xt=class{constructor(e){t(this,e),this.ignored=!0,this.verticalAlignment="start",a(this)}disconnectedCallback(){}render(){const t={left:e("slot",{name:"left"}),right:e("slot",{name:"right"})};return e(Kt,Object.assign({},A(this),{slots:t}),e("slot",null))}},Yt=p.gql`
74
+ query getUser($programId: ID) {
75
+ viewer {
76
+ ... on User {
77
+ referralCode(programId: $programId)
78
+ }
79
+ }
80
+ }
81
+ `,Jt=class{constructor(e){t(this,e),this.ignored=!0,this.iframeHeight="100%",this.iframeWidth="100%",a(this)}disconnectedCallback(){}render(){const t=V([{attribute:"iframe-src",value:this.iframeSrc}]);if(t)return e(gt,{missingProps:t,heading:"An error occured while loading this page",subheading:"A technical problem prevented this iframe from loading. Please contact us with the link to this page.",description:"Values for the following attributes are missing:"});const{states:a,data:n}=h()?(r=A(this),_({states:{content:{iframeSrc:"https://example.com",...r}},data:{shareCode:"SHARECODE123"}},r.demoData||{},{arrayMerge:(t,e)=>e})):function(t){var e;const s=b(),a=v(),{data:n}=g(Yt,{programId:s},!(null==a?void 0:a.jwt)||!s);return{states:{content:t},data:{shareCode:null===(e=null==n?void 0:n.viewer)||void 0===e?void 0:e.referralCode}}}(A(this));var r;return e(s,{style:{display:"contents"}},e(et,{data:n,states:a}))}};var Qt={};!function t(e,s,a,n){var r=!!(e.Worker&&e.Blob&&e.Promise&&e.OffscreenCanvas&&e.OffscreenCanvasRenderingContext2D&&e.HTMLCanvasElement&&e.HTMLCanvasElement.prototype.transferControlToOffscreen&&e.URL&&e.URL.createObjectURL);function i(){}function o(t){var a=s.exports.Promise,n=void 0!==a?a:e.Promise;return"function"==typeof n?new n(t):(t(i,i),null)}var l,d,c,u,h,m,p,v,g=(c=Math.floor(1e3/60),u={},h=0,"function"==typeof requestAnimationFrame&&"function"==typeof cancelAnimationFrame?(l=function(t){var e=Math.random();return u[e]=requestAnimationFrame((function s(a){h===a||h+c-1<a?(h=a,delete u[e],t()):u[e]=requestAnimationFrame(s)})),e},d=function(t){u[t]&&cancelAnimationFrame(u[t])}):(l=function(t){return setTimeout(t,c)},d=function(t){return clearTimeout(t)}),{frame:l,cancel:d}),f=(v={},function(){if(m)return m;if(!a&&r){var e=["var CONFETTI, SIZE = {}, module = {};","("+t.toString()+")(this, module, true, SIZE);","onmessage = function(msg) {"," if (msg.data.options) {"," CONFETTI(msg.data.options).then(function () {"," if (msg.data.callback) {"," postMessage({ callback: msg.data.callback });"," }"," });"," } else if (msg.data.reset) {"," CONFETTI.reset();"," } else if (msg.data.resize) {"," SIZE.width = msg.data.resize.width;"," SIZE.height = msg.data.resize.height;"," } else if (msg.data.canvas) {"," SIZE.width = msg.data.canvas.width;"," SIZE.height = msg.data.canvas.height;"," CONFETTI = module.exports.create(msg.data.canvas);"," }","}"].join("\n");try{m=new Worker(URL.createObjectURL(new Blob([e])))}catch(t){return void 0!==typeof console&&"function"==typeof console.warn&&console.warn("🎊 Could not load worker",t),null}!function(t){function e(e,s){t.postMessage({options:e||{},callback:s})}t.init=function(e){var s=e.transferControlToOffscreen();t.postMessage({canvas:s},[s])},t.fire=function(s,a,n){if(p)return e(s,null),p;var r=Math.random().toString(36).slice(2);return p=o((function(a){function i(e){e.data.callback===r&&(delete v[r],t.removeEventListener("message",i),p=null,n(),a())}t.addEventListener("message",i),e(s,r),v[r]=i.bind(null,{data:{callback:r}})}))},t.reset=function(){for(var e in t.postMessage({reset:!0}),v)v[e](),delete v[e]}}(m)}return m}),b={particleCount:50,angle:90,spread:45,startVelocity:45,decay:.9,gravity:1,drift:0,ticks:200,x:.5,y:.5,shapes:["square","circle"],zIndex:100,colors:["#26ccff","#a25afd","#ff5e7e","#88ff5a","#fcff42","#ffa62d","#ff36ff"],disableForReducedMotion:!1,scalar:1};function y(t,e,s){return function(t,e){return e?e(t):t}(t&&null!=t[e]?t[e]:b[e],s)}function x(t){return t<0?0:Math.floor(t)}function w(t){return parseInt(t,16)}function k(t){return t.map(C)}function C(t){var e=String(t).replace(/[^0-9a-f]/gi,"");return e.length<6&&(e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]),{r:w(e.substring(0,2)),g:w(e.substring(2,4)),b:w(e.substring(4,6))}}function S(t){t.width=document.documentElement.clientWidth,t.height=document.documentElement.clientHeight}function E(t){var e=t.getBoundingClientRect();t.width=e.width,t.height=e.height}function I(t,s){var i,l=!t,d=!!y(s||{},"resize"),c=y(s,"disableForReducedMotion",Boolean),u=r&&y(s||{},"useWorker")?f():null,h=l?S:E,m=!(!t||!u||!t.__confetti_initialized),p="function"==typeof matchMedia&&matchMedia("(prefers-reduced-motion)").matches;function v(e,s,r){for(var l,d,c,u,m=y(e,"particleCount",x),p=y(e,"angle",Number),v=y(e,"spread",Number),f=y(e,"startVelocity",Number),b=y(e,"decay",Number),w=y(e,"gravity",Number),C=y(e,"drift",Number),S=y(e,"colors",k),E=y(e,"ticks",Number),I=y(e,"shapes"),M=y(e,"scalar"),R=function(t){var e=y(t,"origin",Object);return e.x=y(e,"x",Number),e.y=y(e,"y",Number),e}(e),_=m,N=[],P=t.width*R.x,q=t.height*R.y;_--;)N.push((void 0,void 0,d=(l={x:P,y:q,angle:p,spread:v,startVelocity:f,color:S[_%S.length],shape:I[(0,u=I.length,Math.floor(Math.random()*(u-0))+0)],ticks:E,decay:b,gravity:w,drift:C,scalar:M}).angle*(Math.PI/180),c=l.spread*(Math.PI/180),{x:l.x,y:l.y,wobble:10*Math.random(),velocity:.5*l.startVelocity+Math.random()*l.startVelocity,angle2D:-d+(.5*c-Math.random()*c),tiltAngle:Math.random()*Math.PI,color:l.color,shape:l.shape,tick:0,totalTicks:l.ticks,decay:l.decay,drift:l.drift,random:Math.random()+5,tiltSin:0,tiltCos:0,wobbleX:0,wobbleY:0,gravity:3*l.gravity,ovalScalar:.6,scalar:l.scalar}));return i?i.addFettis(N):(i=function(t,e,s,r,i){var l,d,c=e.slice(),u=t.getContext("2d"),h=o((function(e){function o(){l=d=null,u.clearRect(0,0,r.width,r.height),i(),e()}l=g.frame((function e(){!a||r.width===n.width&&r.height===n.height||(r.width=t.width=n.width,r.height=t.height=n.height),r.width||r.height||(s(t),r.width=t.width,r.height=t.height),u.clearRect(0,0,r.width,r.height),(c=c.filter((function(t){return function(t,e){e.x+=Math.cos(e.angle2D)*e.velocity+e.drift,e.y+=Math.sin(e.angle2D)*e.velocity+e.gravity,e.wobble+=.1,e.velocity*=e.decay,e.tiltAngle+=.1,e.tiltSin=Math.sin(e.tiltAngle),e.tiltCos=Math.cos(e.tiltAngle),e.random=Math.random()+5,e.wobbleX=e.x+10*e.scalar*Math.cos(e.wobble),e.wobbleY=e.y+10*e.scalar*Math.sin(e.wobble);var s=e.tick++/e.totalTicks,a=e.x+e.random*e.tiltCos,n=e.y+e.random*e.tiltSin,r=e.wobbleX+e.random*e.tiltCos,i=e.wobbleY+e.random*e.tiltSin;return t.fillStyle="rgba("+e.color.r+", "+e.color.g+", "+e.color.b+", "+(1-s)+")",t.beginPath(),"circle"===e.shape?t.ellipse?t.ellipse(e.x,e.y,Math.abs(r-a)*e.ovalScalar,Math.abs(i-n)*e.ovalScalar,Math.PI/10*e.wobble,0,2*Math.PI):function(t,e,s,a,n,r,i,o){t.save(),t.translate(e,s),t.rotate(r),t.scale(a,n),t.arc(0,0,1,0,o,void 0),t.restore()}(t,e.x,e.y,Math.abs(r-a)*e.ovalScalar,Math.abs(i-n)*e.ovalScalar,Math.PI/10*e.wobble,0,2*Math.PI):(t.moveTo(Math.floor(e.x),Math.floor(e.y)),t.lineTo(Math.floor(e.wobbleX),Math.floor(n)),t.lineTo(Math.floor(r),Math.floor(i)),t.lineTo(Math.floor(a),Math.floor(e.wobbleY))),t.closePath(),t.fill(),e.tick<e.totalTicks}(u,t)}))).length?l=g.frame(e):o()})),d=o}));return{addFettis:function(t){return c=c.concat(t),h},canvas:t,promise:h,reset:function(){l&&g.cancel(l),d&&d()}}}(t,N,h,s,r)).promise}function b(s){var a=c||y(s,"disableForReducedMotion",Boolean),n=y(s,"zIndex",Number);if(a&&p)return o((function(t){t()}));l&&i?t=i.canvas:l&&!t&&(t=function(t){var e=document.createElement("canvas");return e.style.position="fixed",e.style.top="0px",e.style.left="0px",e.style.pointerEvents="none",e.style.zIndex=t,e}(n),document.body.appendChild(t)),d&&!m&&h(t);var r={width:t.width,height:t.height};function g(){if(u){var e={getBoundingClientRect:function(){if(!l)return t.getBoundingClientRect()}};return h(e),void u.postMessage({resize:{width:e.width,height:e.height}})}r.width=r.height=null}function f(){i=null,d&&e.removeEventListener("resize",g),l&&t&&(document.body.removeChild(t),t=null,m=!1)}return u&&!m&&u.init(t),m=!0,u&&(t.__confetti_initialized=!0),d&&e.addEventListener("resize",g,!1),u?u.fire(s,r,f):v(s,r,f)}return b.reset=function(){u&&u.reset(),i&&i.reset()},b}s.exports=I(null,{useWorker:!0,resize:!0}),s.exports.create=I}(function(){return"undefined"!=typeof window?window:"undefined"!=typeof self?self:this||{}}(),Qt,!1);const te=Qt.exports,ee=p.gql`
82
+ query getExchangeList {
83
+ viewer {
84
+ ... on User {
85
+ visibleRewardExchangeItems(limit: 20, offset: 0) {
86
+ data {
87
+ key
88
+ name
89
+ description
90
+ imageUrl
91
+ available
92
+ unavailableReasonCode
93
+ ruleType
94
+ sourceUnit
95
+ sourceValue
96
+ prettySourceValue
97
+ sourceMinValue
98
+ prettySourceMinValue
99
+ sourceMaxValue
100
+ prettySourceMaxValue
101
+ destinationMinValue
102
+ prettyDestinationMinValue
103
+ destinationMaxValue
104
+ prettyDestinationMaxValue
105
+ globalRewardKey
106
+ destinationUnit
107
+ steps {
108
+ sourceValue
109
+ prettySourceValue
110
+ destinationValue
111
+ prettyDestinationValue
112
+ available
113
+ globalRewardKey
114
+ unavailableReasonCode
115
+ rewardInput
116
+ }
117
+ }
118
+ totalCount
119
+ }
120
+ }
121
+ }
122
+ }
123
+ `,se=p.gql`
124
+ mutation exchange($exchangeRewardInput: ExchangeRewardInput!) {
125
+ exchangeReward(exchangeRewardInput: $exchangeRewardInput) {
126
+ reward {
127
+ id
128
+ fuelTankCode
129
+ }
130
+ }
131
+ }
132
+ `,ae=class{constructor(e){t(this,e),this.ignored=!0,this.notAvailableError="{unavailableReasonCode, select, US_TAX {US Tax limit} INSUFFICIENT_REDEEMABLE_CREDIT {{sourceValue} required} AVAILABILITY_PREDICATE {Not available} other {{unavailableReasonCode}} }",this.chooseRewardTitle="Rewards",this.chooseAmountTitle="Select",this.confirmationTitle="Confirm",this.rewardTitle="Choose a reward",this.cancelText="Cancel",this.backText="Back",this.continueText="Continue",this.continueToConfirmationText="Continue to confirmation",this.redeemText="Redeem",this.redeemTitle="Confirm and redeem",this.redemptionSuccessText="Redeemed {sourceValue} for {destinationValue}",this.sourceAmountMessage="{ruleType, select, FIXED_GLOBAL_REWARD {{sourceValue}} other {{sourceMinValue} to {sourceMaxValue}}}",this.tooltipText="Copied",this.doneText="Done",this.selectText="Select amount to receive",this.queryError="Unable to load reward exchange list. Please try again",this.redemptionError="An error occured trying to redeem this reward. Please try again",this.notEnoughError="Not enough {sourceUnit} to redeem for this reward",this.rewardRedeemedText="Reward redeemed",this.promoCode="Promo Code",this.skeletonCardNum=8,this.rewardNameTitle="Reward",this.rewardAmountTitle="Reward Amount",this.costTitle="Cost to Redeem",a(this)}disconnectedCallback(){}render(){const t={...A(this),empty:e(ne,null)},{states:a,data:i,callbacks:l,refs:c}=h()?function(t){return _({states:{content:{text:t},redeemStage:"chooseReward",amount:0,selectedStep:void 0,selectedItem:void 0,open:!1,exchangeError:!1,queryError:!1,loading:!1,noExchangeOptions:!1,empty:ne()},data:{shareCode:"SHARECODE123",exchangeList:st.data.exchangeList},callbacks:{exchangeReward:()=>{},setExchangeState:()=>{},setStage:()=>{},resetState:()=>{},copyFuelTankCode:()=>{}},refs:{canvasRef:{}}},t.demoData||{},{arrayMerge:(t,e)=>e})}(t):function(t){var e,s,a,i,l;const[c,u]=d(((t,e)=>({...t,...e})),{selectedItem:void 0,selectedStep:void 0,redeemStage:"chooseReward",amount:0,exchangeError:!1}),[h,m]=r(!1),{selectedItem:p,selectedStep:b,redeemStage:y,amount:x,exchangeError:w}=c,k=v(),[C,{data:S,loading:I,errors:M}]=f(se),{data:R,loading:_,refetch:N,errors:P}=g(ee,{},!(null==k?void 0:k.jwt));n((()=>{var t,e;(null===(e=null===(t=null==S?void 0:S.exchangeReward)||void 0===t?void 0:t.reward)||void 0===e?void 0:e.id)&&u({redeemStage:"success",exchangeError:!1}),M&&u({exchangeError:!0})}),[S,M]);const q=o();n((()=>{if(!q.current)return;const t=q.current;t.confetti=t.confetti||te.create(t,{resize:!0}),t.confetti()}),[q.current]);const{refresh:A}=E();return{states:{content:{text:t},selectedItem:p,redeemStage:y,amount:x,selectedStep:b,exchangeError:w,queryError:!!P,loading:_||I,open:h,noExchangeOptions:0===(null===(e=null==R?void 0:R.viewer)||void 0===e?void 0:e.visibleRewardExchangeItems.totalCount)},data:{exchangeList:null===(a=null===(s=null==R?void 0:R.viewer)||void 0===s?void 0:s.visibleRewardExchangeItems)||void 0===a?void 0:a.data,fuelTankCode:null===(l=null===(i=null==S?void 0:S.exchangeReward)||void 0===i?void 0:i.reward)||void 0===l?void 0:l.fuelTankCode},callbacks:{exchangeReward:async function(){if(!p)return;let t={accountId:null==k?void 0:k.accountId,userId:k.id};switch(p.ruleType){case"FIXED_GLOBAL_REWARD":t={...t,redeemCreditInput:{amount:p.sourceValue,unit:p.sourceUnit},globalRewardKey:p.globalRewardKey};break;case"STEPPED_FIXED_GLOBAL_REWARD":t={...t,redeemCreditInput:{amount:b.sourceValue,unit:p.sourceUnit},globalRewardKey:b.globalRewardKey};break;case"VARIABLE_GLOBAL_REWARD":t={...t,redeemCreditInput:{amount:x,unit:p.sourceUnit},globalRewardKey:p.globalRewardKey,rewardInput:b.rewardInput};break;case"VARIABLE_CREDIT_REWARD":t={...t,redeemCreditInput:{amount:x,unit:p.sourceUnit},rewardInput:{type:"CREDIT",unit:p.destinationUnit,assignedCredit:b.destinationValue}};break;default:t={...t,...b.rewardInput}}await C({exchangeRewardInput:t}),A()},setExchangeState:u,setStage:function(t){u({redeemStage:t})},resetState:t=>{t&&N(),u({amount:0,selectedStep:void 0,selectedItem:void 0,exchangeError:!1,redeemStage:"chooseReward"})},copyFuelTankCode:function(){var t,e;navigator.clipboard.writeText(null===(e=null===(t=null==S?void 0:S.exchangeReward)||void 0===t?void 0:t.reward)||void 0===e?void 0:e.fuelTankCode),m(!0),setTimeout((()=>m(!1)),1e3)}},refs:{canvasRef:q}}}(t);return e(s,{style:{display:"contents"}},e(at,{states:a,data:i,callbacks:l,refs:c}))}static get assetsDirs(){return["assets"]}};function ne(){return e("slot",{name:"empty"},e("sqm-empty",{emptyStateImage:"https://res.cloudinary.com/saasquatch/image/upload/v1644360953/squatch-assets/empty_exchange2.png",emptyStateHeader:"Redeem rewards",emptyStateText:"Use your points to redeem rewards once they become available"}))}const re=l("sq:useRouter");function ie(t,e){if(t)return nt(t).exec(e)}const oe=class{constructor(e){t(this,e),this.ignored=!0,a(this)}disconnectedCallback(){}render(){const{callbacks:t}=function(){const t=I(),e=m(),[s,a]=r(void 0),[i,o]=r(void 0),l=t.pathname;return n((()=>{const t=e.querySelectorAll("sqm-route");Array.from(t).forEach((t=>{const e=document.createElement("template");e.setAttribute("path",t.path),e.innerHTML=t.innerHTML,t.parentNode.appendChild(e),t.parentNode.removeChild(t)}))}),[]),n((()=>{var t,e;if(!i||!s)return void re("DOM not ready for navigation rendering on:",l);const a=s.querySelectorAll("template"),n=Array.from(a).find((t=>{var e,s,a;if(null===(a=ie(null===(s=null===(e=t.attributes)||void 0===e?void 0:e.path)||void 0===s?void 0:s.nodeValue,l))||void 0===a?void 0:a.length)return t})),r=null===(e=null===(t=null==n?void 0:n.attributes)||void 0===t?void 0:t.path)||void 0===e?void 0:e.nodeValue;if(re({containerDatasetPage:i.dataset.page,templatePath:r,page:l}),!n)return re("No matching page found for ",l,", so render nothing"),i.innerHTML="",void(i.dataset.page=l);re("Page updated to ",l,n),ie(r,i.dataset.page)?re("don't rerender"):n&&(i.innerHTML=n.innerHTML,i.dataset.page=l)}),[s,i,l]),{callbacks:{setSlot:a,setContainer:o}}}();return e(s,null,e("div",{ref:t.setSlot,style:{display:"none"}},e("slot",null)),e("div",{style:{display:"contents"},ref:t.setContainer}))}};oe.style="sqm-router{display:contents}";const le=class{constructor(e){t(this,e),this.ignored=!0,this.buttonType="default",this.scrollAnimation="smooth",a(this)}disconnectedCallback(){}render(){var t;const{callbacks:s}=function(t){const{scrollTagName:e,scrollId:s}=t;return{callbacks:{scroll:async function(){const a=null===document||void 0===document?void 0:document.querySelector(e||`#${s}`);a.dispatchEvent(new CustomEvent("sq:reveal",{detail:e||`#${s}`,bubbles:!0,composed:!0})),await new Promise((t=>setTimeout(t,500))),a.scrollIntoView({behavior:t.scrollAnimation})}}}}(this),a=null!==(t=this.buttonType)&&void 0!==t?t:"primary",n=N({Button:{"& .outline":{"&::part(base)":{color:"var(--sl-color-"+a+"-500)",borderColor:"var(--sl-color-"+a+"-500)",backgroundColor:"transparent","&:hover":{color:"var(--sl-color-primary-text)",backgroundColor:"var(--sl-color-"+a+"-500)"}}},"& .neutral":{"&::part(base)":{color:"var(--sl-color-primary-text)",background:"var(--sl-color-neutral-500)","&:hover":{opacity:"0.8"}}},"& .mobile":{"@media (max-width: 499px)":{width:"100%"}}}}),r=n.toString();let i="";return this.outline&&"default"!=this.buttonType&&(i+="outline "),"neutral"===this.buttonType&&(i+="neutral "),this.mobile&&(i+="mobile "),e("div",{class:n.classes.Button},e("style",{type:"text/css"},`\n\t\t:host{\n\t\t\tdisplay: contents;\n\t\t}\n\t\t${this.mobile&&"\n\t\t@media only screen and (max-width: 499px) {\n\t\t\t:host {\n\t\t\t\tdisplay: block;\n\t\t\t\twidth: 100%;\n\t\t\t}\n\t\t}\n\t "}\n\t`,r),e("sl-button",{type:this.buttonType,onClick:s.scroll,size:this.size,pill:this.pill,circle:this.circle,class:i},(this.iconSlot||this.iconName)&&e("sl-icon",{slot:this.iconSlot||"prefix",name:this.iconName}),this.buttonText,e("slot",null)))}},de=class{constructor(e){t(this,e),this.type="default",this.iconslot="prefix",this.hideicon=!1,this.hidetext=!1,a(this)}disconnectedCallback(){}render(){const t=A(this),s=h()?function(t){return _({...t,loading:!1,hide:!1,onClick:()=>{}},t.demoData||{},{arrayMerge:(t,e)=>e})}(t):rt(t);return e(it,Object.assign({},s),e("slot",null))}};de.style=":host{display:block}:host([hidden]){display:none}sl-button{display:block}";const ce=p.gql`
133
+ query ($programId: ID) {
134
+ user: viewer {
135
+ ... on User {
136
+ referralCode(programId: $programId)
137
+ }
138
+ }
139
+ }
140
+ `,ue=p.gql`
141
+ mutation loadEvent($eventMeta: UserAnalyticsEvent!) {
142
+ createUserAnalyticsEvent(eventMeta: $eventMeta)
143
+ }
144
+ `,he=class{constructor(e){t(this,e),this.tooltiptext="Copied to Clipboard",this.tooltiplifespan=1e3,a(this)}disconnectedCallback(){}render(){const t=A(this),s=h()?function(t){const[e,s]=r(!1),a="SHARECODE001";return _({shareString:a,tooltiptext:t.tooltiptext,open:e,onClick:()=>{navigator.clipboard.writeText(a),s(!0),setTimeout((()=>s(!1)),t.tooltiplifespan)}},t.demoData||{},{arrayMerge:(t,e)=>e})}(t):function(t){var e,s;const{programId:a=b()}=t,n=v(),i=M(),{data:o}=g(ce,{programId:a},!(null==n?void 0:n.jwt)),[l]=f(ue),d=null!==(s=null===(e=null==o?void 0:o.user)||void 0===e?void 0:e.referralCode)&&void 0!==s?s:"...",[c,u]=r(!1);return{...t,onClick:function(){navigator.clipboard.writeText(d),u(!0),setTimeout((()=>u(!1)),t.tooltiplifespan),l({eventMeta:{programId:a,id:null==n?void 0:n.id,accountId:null==n?void 0:n.accountId,type:"USER_REFERRAL_PROGRAM_ENGAGEMENT_EVENT",meta:{engagementMedium:i,shareMedium:"DIRECT"}}})},open:c,shareString:d}}(t);return e(ot,Object.assign({},s))}},me=class{constructor(e){t(this,e),this.tooltiptext="Copied to Clipboard",this.tooltiplifespan=1e3,a(this)}disconnectedCallback(){}render(){const t=A(this),s=h()?function(t){const[e,s]=r(!1),a="https://www.example.com/sharelink/abc";return _({shareString:a,tooltiptext:t.tooltiptext,open:e,onClick:()=>{navigator.clipboard.writeText(a),s(!0),setTimeout((()=>s(!1)),t.tooltiplifespan)}},t.demoData||{},{arrayMerge:(t,e)=>e})}(t):lt(t);return e(ot,Object.assign({},s))}},pe=class{constructor(e){t(this,e),this.ignored=!0,this.space="xxx-large",this.display="grid",a(this)}disconnectedCallback(){}render(){return e(dt,Object.assign({},A(this)),e("slot",null))}},ve=class{constructor(e){t(this,e),this.colspan=1,this.padding="15px 10px"}render(){return e(s,{style:{display:"contents"}},e("td",{colSpan:this.colspan,style:{padding:this.padding}},e("slot",null)))}},ge=class{constructor(e){t(this,e),this.border="1px solid #EAEAEA"}render(){return e(s,{style:{display:"contents"}},e("tr",{style:{border:this.border}},e("slot",null)))}},fe=p.gql`
145
+ mutation taskCardEvent($userEventInput: UserEventInput!) {
146
+ logUserEvent(userEventInput: $userEventInput) {
147
+ userId
148
+ }
149
+ }
150
+ `,be=class{constructor(e){t(this,e),this.ignored=!0,this.rewardAmount="0",this.rewardUnit="Points",this.cardTitle="Title Text",this.description="",this.repeatable=!1,this.finite=0,this.showProgressBar=!1,this.goal=1,this.steps=!1,this.progressBarUnit="",this.expiryMessage="Ends {endDate}",this.startsOnMessage="Starts {startDate}",this.endedMessage="Ended {endDate}",this.completedText="Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}",this.buttonText="Complete Action",this.openNewTab=!1,a(this)}disconnectedCallback(){}render(){const{props:t}=h()?j(this):z({...A(this),programId:this.programId}),{value:s,loading:a}=t,{states:r,callbacks:i}=h()?function(t){return _({states:{loadingEvent:!1,locale:"en"},callbacks:{sendEvent:t=>console.log(t),onClick:()=>console.log("clicked")}},t.demoData||{},{arrayMerge:(t,e)=>e})}(this):function(t){const e=v(),s=y(),[a,{data:r,loading:i}]=f(fe),{refresh:o}=E();function l(){t.openNewTab?window.open(t.buttonLink):window.open(t.buttonLink,"_parent")}function d(t){a({userEventInput:{userId:null==e?void 0:e.id,accountId:null==e?void 0:e.accountId,events:[{key:t,fields:{}}]}})}return n((()=>{r&&(o(),l())}),[r]),{states:{loadingEvent:i,locale:s},callbacks:{sendEvent:d,onClick:function(){t.eventKey?d(t.eventKey):l()}}}}(this);return e(ct,{callbacks:i,states:{loading:a,loadingEvent:r.loadingEvent,progress:s,locale:r.locale},content:{...A(this)}})}},ye=class{constructor(e){t(this,e),this.ignored=!0,this.icon="gift",a(this)}disconnectedCallback(){}render(){return q().forEach((t=>{try{t.setIcon(this.icon)}catch{}})),e("div",null,e("style",{type:"text/css"},"\n\t\t:host{\n\t\t\tdisplay: block; \n\t\t}\n\n\t\t::slotted(*:not(:only-child):not(:last-child)) {\n\t\t\tmargin-bottom: var(--sl-spacing-xx-large);\n\t\t}\n\t"),e("slot",null))}},xe=()=>e("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("path",{d:"M22.5 7.5H18.6761H13.5V24H20.75C21.3023 24 21.75 23.5523 21.75 23V22.5V13.5H22.5H23C23.5523 13.5 24 13.0523 24 12.5V12V9V8.5C24 7.94772 23.5523 7.5 23 7.5H22.5Z",fill:"#F2C94C"}),e("path",{d:"M2.25 22.5V23C2.25 23.5523 2.69772 24 3.25 24H10.5V7.5H6.96363H1.5H1C0.447715 7.5 0 7.94772 0 8.5V9V12V12.5C0 13.0523 0.447715 13.5 1 13.5H1.5H2.25V22.5Z",fill:"#F2C94C"}),e("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M2.25 13.5V15H21.75V13.5H2.25Z",fill:"#BE9720"}),e("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M21 4.06424C21 5.39348 19.0041 7.4062 18 7.5H13.5V24H10.5027V7.5H6.88188C4.8187 7.05273 3 5.46806 3 3.78109C3 2.1371 3.71404 0.835051 5.01276 0.273062C6.25382 -0.26398 7.68678 0.0304991 8.81964 0.817C10.2101 1.78237 10.9902 3.59446 11.6978 5.2384C11.7599 5.38268 11.8215 5.52566 11.8828 5.66667C11.9426 5.53298 12.0028 5.3969 12.0638 5.25912C12.7649 3.67422 13.5654 1.86488 14.9106 0.893444C16.0997 0.0347157 17.6114 -0.289736 18.9181 0.298417C20.2693 0.906596 21 2.3018 21 4.06424ZM15.9185 2.25C16.6392 1.72957 17.502 1.63518 18.2396 2.25C18.8819 2.78542 18.9162 3.03745 18.9987 3.64389L19.0133 3.75C19.0133 4.64776 18.2396 6 17.4659 6C16.9177 6 16.4871 5.99537 16.0836 5.99103C15.3479 5.98312 14.702 5.97618 13.5974 6C13.808 5.59179 13.9761 5.20003 14.1365 4.82641C14.5654 3.82715 14.9386 2.95763 15.9185 2.25ZM7.40792 2.25C7.05911 2.00783 6.25921 2.11591 5.92748 2.25945C5.65341 2.37805 5.24403 2.73987 5.24403 3.78109C5.24403 4.79286 6.88188 5.66667 6.88188 5.66667C6.88188 5.66667 8.18161 6 10.5027 6C9.71258 4.04177 8.59336 3.073 7.40792 2.25Z",fill:"#EB5757"})),we=()=>e("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("circle",{cx:"12",cy:"12",r:"9",fill:"currentColor",stroke:"currentColor","stroke-width":"2"})),ke=N({TimelineReward:{color:"var(--sl-color-neutral-900)",lineHeight:"var(--sl-line-height-dense)","& .container":{display:"flex"},"& .line":{display:"none",color:"transparent",userSelect:"none",background:"var(--sl-color-primary-300)",width:"4px",borderRadius:"4px",margin:"-2px",position:"relative",left:"12px",top:"34px"},"& .step":{display:"flex"},"& .icon":{position:"relative",top:"4px",zIndex:"1",color:"var(--sl-color-primary-300)",marginRight:"var(--sl-spacing-large)"},"& .reward":{marginRight:"var(--sl-spacing-x-small)",fontSize:"var(--sl-font-size-x-large)",fontWeight:"var(--sl-font-weight-semibold)"},"& .unit":{textTransform:"uppercase",fontSize:"var(--sl-font-size-small)"},"& .description":{fontSize:"var(--sl-font-size-medium)"}}}),Ce=ke.toString();function Se(t){var s;const a=null!==(s=t.icon)&&void 0!==s?s:t.iconState;return e("div",{class:ke.classes.TimelineReward},e("style",{type:"text/css"},Ce,"\n\t:host{\n\t\tdisplay: block; \n\t}\n\n\t:host(:not(:last-of-type)) .line {\n\t\tdisplay: block; \n\t}\n\t"),e("div",{class:"container"},e("div",{class:"line"},"/"),e("div",{class:"step"},"gift"===a&&e("div",{class:"icon"},e(xe,null)),"circle"===a&&e("div",{class:"icon"},e(we,null)),e("div",null,e("div",null,e("span",{class:"reward"},t.reward),e("span",{class:"unit"},t.unit)),e("div",{class:"description"},t.desc)))))}const Ee=class{constructor(e){t(this,e),this.ignored=!0,this.iconState="gift",a(this)}async setIcon(t){this.iconState=t}disconnectedCallback(){}render(){return P([this.reward]),e(Se,Object.assign({},A(this)))}};function Ie(t){return e(s,null,t.loading?t.loadingText:t.username)}const Me=p.gql`
151
+ query getUserName {
152
+ viewer {
153
+ ... on User {
154
+ firstName
155
+ lastName
156
+ }
157
+ }
158
+ }
159
+ `,Re=class{constructor(e){t(this,e),this.ignored=!0,this.fallback="Anonymous User",this.loadingText="...",a(this)}disconnectedCallback(){}render(){const t=h()?function(t){return _({loading:!1,loadingText:"...",username:"John Smith"},t.demoData||{},{arrayMerge:(t,e)=>e})}(this):function(t){var e,s,a,n,r,i,o,l;const d=v(),c=g(Me,{},!(null==d?void 0:d.jwt)),u=(null===(s=null===(e=c.data)||void 0===e?void 0:e.viewer)||void 0===s?void 0:s.firstName)||(null===(n=null===(a=c.data)||void 0===a?void 0:a.viewer)||void 0===n?void 0:n.lastName)?`${null===(i=null===(r=c.data)||void 0===r?void 0:r.viewer)||void 0===i?void 0:i.firstName} ${null===(l=null===(o=c.data)||void 0===o?void 0:o.viewer)||void 0===l?void 0:l.lastName}`:t.fallback;return{loadingText:t.loadingText,loading:c.loading,username:u}}(this);return e(Ie,Object.assign({},t))}};export{ut as sqm_big_stat,ht as sqm_brand,mt as sqm_card_feed,ft as sqm_checkbox_field,yt as sqm_divided_layout,xt as sqm_dropdown_field,St as sqm_edit_profile,It as sqm_hero_image,Mt as sqm_hook_story_container,Rt as sqm_input_field,Pt as sqm_leaderboard,Vt as sqm_name_fields,Ft as sqm_navigation_menu,Lt as sqm_portal_change_password,Dt as sqm_portal_frame,jt as sqm_portal_login,zt as sqm_portal_register,Bt as sqm_program_explainer,Ot as sqm_program_explainer_step,Wt as sqm_program_menu,Xt as sqm_referral_card,Jt as sqm_referral_iframe,ae as sqm_reward_exchange_list,oe as sqm_router,le as sqm_scroll,de as sqm_share_button,he as sqm_share_code,me as sqm_share_link,pe as sqm_stat_container,ve as sqm_table_cell,ge as sqm_table_row,be as sqm_task_card,ye as sqm_timeline,Ee as sqm_timeline_entry,Re as sqm_user_name}
@@ -0,0 +1 @@
1
+ import{h as s}from"./p-64c3217a.js";import{A as t,a as e,b as a}from"./p-02be1a88.js";import{c as r}from"./p-cef45012.js";import{T as o}from"./p-5d9244de.js";const n=r({Wrapper:t,Column:{...e},ButtonsContainer:a,SecondaryButton:{cursor:"pointer",width:"25%"}}),i=n.toString();function p(t){const{states:e,callbacks:a,content:r}=t;return s("div",{class:n.classes.Wrapper},s("style",{type:"text/css"},"\n:host {\n display: block;\n}\n:host([hidden]): {\n display: none;\n}\n",i),s(o,{type:"h3"},r.messageSlot),s("sl-form",{class:n.classes.Column,"onSl-submit":a.submit},t.states.error&&s("sqm-form-message",{type:"error",exportparts:"erroralert-icon"},s("div",{part:"erroralert-text"},t.states.error)),t.states.success&&s("sqm-form-message",{type:"success",exportparts:"successalert-icon"},s("div",{part:"successalert-text"},"If an account with that email exists, a password reset email will be sent.")),s("sl-input",{exportparts:"label: input-label",type:"email",name:"/email",label:r.emailLabel||"Email",disabled:e.loading,required:!0}),s("div",{class:n.classes.ButtonsContainer},s("sl-button",{submit:!0,loading:e.loading,exportparts:"base: primarybutton-base",type:"primary"},r.submitLabel||"Reset Password"),s("div",{class:n.classes.SecondaryButton},r.secondaryButton))))}export{p as P}
@@ -1 +1 @@
1
- import{r as s}from"./p-64c3217a.js";import{m as t}from"./p-ed801cb7.js";import"./p-f66b4b3a.js";import{e as o,g as a,i as r}from"./p-bfd347b4.js";const i=class{constructor(o){s(this,o),this.ignored=!0,this.nextPage="/",t(this)}disconnectedCallback(){}render(){r()||function({nextPage:s}){o(void 0),a.push({pathname:s,search:""})}(this)}};export{i as sqm_portal_logout}
1
+ import{r as s}from"./p-64c3217a.js";import{m as t}from"./p-ed801cb7.js";import"./p-f66b4b3a.js";import{b as o,f as a,i as r}from"./p-93832713.js";const i=class{constructor(o){s(this,o),this.ignored=!0,this.nextPage="/",t(this)}disconnectedCallback(){}render(){r()||function({nextPage:s}){o(void 0),a.push({pathname:s,search:""})}(this)}};export{i as sqm_portal_logout}
@@ -0,0 +1 @@
1
+ import{h as t,r as n,c as e}from"./p-64c3217a.js";import{m as s}from"./p-ed801cb7.js";import{c as o}from"./p-cef45012.js";import{g as l}from"./p-9ec99ced.js";import{P as r,a}from"./p-5fb4fe4a.js";function i(n){const{emptyStateHeader:e,emptyStateImage:s,emptyStateText:o}=n;return t("sqm-portal-container",{padding:"large",gap:"medium"},t("sqm-image",{"image-url":s}),t("sqm-titled-section",{"label-margin":"xxx-small","text-align":"center"},t("sqm-text",{slot:"label"},t("h4",null,e)),t("sqm-text",{slot:"content"},o)))}const c=class{constructor(t){n(this,t)}render(){return t(e,{slot:"empty"},t(i,{emptyStateImage:this.emptyStateImage,emptyStateHeader:this.emptyStateHeader,emptyStateText:this.emptyStateText}))}};function m(n){const e=o({Container:{display:"flex",width:"100%",justifyContent:n.alignment||"center",background:n.backgroundColor||""},Image:{minHeight:n.minHeight||"100%",width:"100%",maxWidth:"max-content",objectFit:"cover"}}),s=e.toString();return t("div",null,t("style",{type:"text/css"},s,"\n :host{\n display: block; \n }\n "),t("div",{class:e.classes.Container},t("img",{src:n.imageUrl,class:e.classes.Image})))}const h=class{constructor(t){n(this,t),this.alignment="center"}render(){return t(m,Object.assign({},l(this)))}},g=class{constructor(t){n(this,t),this.ignored=!0,this.direction="column",this.gap="xxx-large",this.display="grid",this.maxWidth="100%",s(this)}disconnectedCallback(){}render(){return t(r,Object.assign({},l(this)),t("slot",null))}},d=class{constructor(t){n(this,t),this.ignored=!0,s(this)}disconnectedCallback(){}componentWillLoad(){}render(){return t("div",null,t("style",null,"\n sqm-text {\n display: block;\n }\n\n sqm-text h1 {\n font-size: var(--sl-font-size-xxx-large);\n font-weight: var(--sl-font-weight-semibold);\n color: var(--sl-color-neutral-800);\n margin: 0;\n }\n\n sqm-text h2 {\n font-size: var(--sl-font-size-xx-large);\n font-weight: var(--sl-font-weight-semibold);\n color: var(--sl-color-neutral-800);\n margin: 0;\n }\n\n sqm-text h3 {\n font-size: var(--sl-font-size-x-large);\n font-weight: var(--sl-font-weight-semibold);\n color: var(--sl-color-neutral-800);\n margin: 0;\n }\n\n sqm-text h4 {\n font-size: var(--sl-font-size-large);\n font-weight: var(--sl-font-weight-semibold);\n color: var(--sl-color-neutral-800);\n margin: 0;\n }\n\n sqm-text p {\n font-size: var(--sl-font-size-medium);\n font-weight: var(--sl-font-weight-normal);\n color: var(--sl-color-neutral-800);\n margin: 0;\n }\n\n sqm-text sub {\n font-size: var(--sl-font-size-small);\n font-weight: var(--sl-font-weight-normal);\n color: var(--sl-color-neutral-400);\n margin: 0;\n }\n"),t("slot",null))}},f=class{constructor(t){n(this,t),this.textAlign="left",this.labelMargin="small",this.padding="none",s(this)}disconnectedCallback(){}render(){const n=t("slot",{name:"label"},this.label),e=t("slot",{name:"content"});return t(a,Object.assign({},{...l(this),label:n,content:e}))}};export{c as sqm_empty,h as sqm_image,g as sqm_portal_container,d as sqm_text,f as sqm_titled_section}
@@ -1 +1 @@
1
- var __makeTemplateObject=this&&this.__makeTemplateObject||function(e,r){if(Object.defineProperty){Object.defineProperty(e,"raw",{value:r})}else{e.raw=r}return e};System.register(["./p-ff17b3a4.system.js","./p-b79c0e38.system.js","./p-70263662.system.js","./p-1f54fd38.system.js","./p-35d6d322.system.js","./p-4bd679a7.system.js","./p-6b5e355c.system.js"],(function(e){"use strict";var r,n,t,a,i,o,s,l,d,u,f;return{setters:[function(e){r=e.r;n=e.h},function(e){t=e.m},function(e){a=e.i},function(){},function(e){i=e.d;o=e.O;s=e.W;l=e.f;d=e.i},function(e){u=e.c},function(e){f=e.L}],execute:function(){var c=i.gql(__makeTemplateObject(["\n query ($type: String!, $filter: UserLeaderboardFilterInput) {\n viewer {\n ... on User {\n leaderboardRank(type: $type, filter: $filter) {\n rowNumber\n rank\n denseRank\n }\n }\n }\n }\n"],["\n query ($type: String!, $filter: UserLeaderboardFilterInput) {\n viewer {\n ... on User {\n leaderboardRank(type: $type, filter: $filter) {\n rowNumber\n rank\n denseRank\n }\n }\n }\n }\n"]));function v(e){var r,n,t,i;var d=o();var u=(r=e.programId)!==null&&r!==void 0?r:d;var f=s();var v=u?{type:e.leaderboardType,filter:{programId_eq:u}}:{type:e.leaderboardType,filter:{}};if(e.interval){v.filter["interval"]=e.interval}var p=l(c,v,!(f===null||f===void 0?void 0:f.jwt)).data;var y=((n=p===null||p===void 0?void 0:p.viewer)===null||n===void 0?void 0:n.leaderboardRank)?a.formatMessage({id:"rankText",defaultMessage:e.rankText},{rank:(i=(t=p===null||p===void 0?void 0:p.viewer)===null||t===void 0?void 0:t.leaderboardRank)===null||i===void 0?void 0:i[e.rankType]}):e.unrankedText||"unranked";return{data:{rank:y}}}var p="p,.P{font-size:var(--sl-font-size-small);color:var(--sl-color-gray-800);margin-top:0px}p.Subtitle,.P.Subtitle{color:var(--sl-color-gray-500);margin:0px}";var y=e("sqm_leaderboard_rank",function(){function e(e){r(this,e);this.rankText="You are currently in {rank, selectordinal, one {#st} two {#nd} few {#rd} other {#th} } place!";t(this)}e.prototype.disconnectedCallback=function(){};e.prototype.render=function(){var e=d()?k(this):v(this);return n(f,Object.assign({},e))};return e}());function k(e){var r=a.formatMessage({id:"rankText",defaultMessage:e.rankText},{rank:1})||"1st";return u({data:{rank:r}},e.demoData||{},{arrayMerge:function(e,r){return r}})}y.style=p}}}));
1
+ var __makeTemplateObject=this&&this.__makeTemplateObject||function(e,r){if(Object.defineProperty){Object.defineProperty(e,"raw",{value:r})}else{e.raw=r}return e};System.register(["./p-ff17b3a4.system.js","./p-b79c0e38.system.js","./p-589ec33b.system.js","./p-1f54fd38.system.js","./p-9732cfef.system.js","./p-4bd679a7.system.js","./p-6b5e355c.system.js"],(function(e){"use strict";var r,n,t,a,i,o,s,l,d,u,f;return{setters:[function(e){r=e.r;n=e.h},function(e){t=e.m},function(e){a=e.i},function(){},function(e){i=e.d;o=e.O;s=e.N;l=e.a;d=e.i},function(e){u=e.c},function(e){f=e.L}],execute:function(){var c=i.gql(__makeTemplateObject(["\n query ($type: String!, $filter: UserLeaderboardFilterInput) {\n viewer {\n ... on User {\n leaderboardRank(type: $type, filter: $filter) {\n rowNumber\n rank\n denseRank\n }\n }\n }\n }\n"],["\n query ($type: String!, $filter: UserLeaderboardFilterInput) {\n viewer {\n ... on User {\n leaderboardRank(type: $type, filter: $filter) {\n rowNumber\n rank\n denseRank\n }\n }\n }\n }\n"]));function v(e){var r,n,t,i;var d=o();var u=(r=e.programId)!==null&&r!==void 0?r:d;var f=s();var v=u?{type:e.leaderboardType,filter:{programId_eq:u}}:{type:e.leaderboardType,filter:{}};if(e.interval){v.filter["interval"]=e.interval}var p=l(c,v,!(f===null||f===void 0?void 0:f.jwt)).data;var y=((n=p===null||p===void 0?void 0:p.viewer)===null||n===void 0?void 0:n.leaderboardRank)?a.formatMessage({id:"rankText",defaultMessage:e.rankText},{rank:(i=(t=p===null||p===void 0?void 0:p.viewer)===null||t===void 0?void 0:t.leaderboardRank)===null||i===void 0?void 0:i[e.rankType]}):e.unrankedText||"unranked";return{data:{rank:y}}}var p="p,.P{font-size:var(--sl-font-size-small);color:var(--sl-color-gray-800);margin-top:0px}p.Subtitle,.P.Subtitle{color:var(--sl-color-gray-500);margin:0px}";var y=e("sqm_leaderboard_rank",function(){function e(e){r(this,e);this.rankText="You are currently in {rank, selectordinal, one {#st} two {#nd} few {#rd} other {#th} } place!";t(this)}e.prototype.disconnectedCallback=function(){};e.prototype.render=function(){var e=d()?k(this):v(this);return n(f,Object.assign({},e))};return e}());function k(e){var r=a.formatMessage({id:"rankText",defaultMessage:e.rankText},{rank:1})||"1st";return u({data:{rank:r}},e.demoData||{},{arrayMerge:function(e,r){return r}})}y.style=p}}}));
@@ -0,0 +1 @@
1
+ var __assign=this&&this.__assign||function(){__assign=Object.assign||function(s){for(var t,a=1,e=arguments.length;a<e;a++){t=arguments[a];for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n))s[n]=t[n]}return s};return __assign.apply(this,arguments)};System.register(["./p-ff17b3a4.system.js","./p-9732cfef.system.js","./p-f6934a55.system.js","./p-1a673057.system.js"],(function(s){"use strict";var t,a,e,n;return{setters:[function(s){t=s.h},function(s){a=s.f},function(s){e=s.g},function(s){n=s.c}],execute:function(){s("N",r);function r(s){var r=s.states,o=s.data;var i={ItemContainer:__assign(__assign({display:"flex","background-color":""+(r.active?"var(--sl-color-gray-200)":"var(--sl-color-white)"),"border-radius":"8px",padding:"8px","text-decoration":"none",color:"#454444","align-items":"center"},e({direction:"row",size:"var(--sl-font-size-small)"})),{"&:hover":{cursor:"pointer",background:r.active?"var(--sl-color-gray-300)":"var(--sl-color-gray-50)"}}),Label:{margin:"0"},Icon:{"flex-shrink":"0"}};var c=n(i);var l=c.toString();return t("a",{href:o.path,onClick:function(s){s.preventDefault();a.push(o.path)},class:c.classes.ItemContainer},t("style",{type:"text/css"},l),t("sl-icon",{class:c.classes.Icon,name:o.icon}),t("p",{class:c.classes.Label},o.label))}}}}));
@@ -0,0 +1 @@
1
+ import{h as a,d as t}from"./p-64c3217a.js";import{c as r}from"./p-cef45012.js";const e=r({CardContainer:{"box-sizing":"border-box",width:"100%","max-width":"260px",border:"1px solid #EAEAEA",padding:"0px 16px 16px 16px","border-radius":"8px"},TextContainer:{display:"flex","justify-content":"space-between","align-items":"center"},Title:{"font-weight":600,color:"var(--sl-color-gray-800)","max-width":"85%","overflow-wrap":"break-word"},CardImg:{width:"100%",height:"228px","border-radius":"4px"},Icon:{"&:hover":{cursor:"pointer"}}}),s=e.toString(),i=r=>{const{text:{titleText:i},imgUrl:o}=r;return a("div",{class:e.classes.CardContainer},a("style",{type:"text/css"},s),a("div",{class:e.classes.TextContainer},a("p",{class:e.classes.Title},i),a("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"#000000",class:`bi bi-download ${e.classes.Icon}`,viewBox:"0 0 16 16"},a("path",{d:"M.5 9.9a.5.5 0 0 1 .5.5v2.5a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-2.5a.5.5 0 0 1 1 0v2.5a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2v-2.5a.5.5 0 0 1 .5-.5z"}),a("path",{d:"M7.646 11.854a.5.5 0 0 0 .708 0l3-3a.5.5 0 0 0-.708-.708L8.5 10.293V1.5a.5.5 0 0 0-1 0v8.793L5.354 8.146a.5.5 0 1 0-.708.708l3 3z"}))),a("img",{src:t(o),class:e.classes.CardImg}))};export{i as A}
@@ -1 +1 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,n,i){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function a(e){try{u(i.next(e))}catch(e){o(e)}}function s(e){try{u(i["throw"](e))}catch(e){o(e)}}function u(e){e.done?n(e.value):r(e.value).then(a,s)}u((i=i.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},i,r,o,a;return a={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function s(e){return function(t){return u([e,t])}}function u(a){if(i)throw new TypeError("Generator is already executing.");while(n)try{if(i=1,r&&(o=a[0]&2?r["return"]:a[0]?r["throw"]||((o=r["return"])&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;if(r=0,o)a=[a[0]&2,o.value];switch(a[0]){case 0:case 1:o=a;break;case 4:n.label++;return{value:a[1],done:false};case 5:n.label++;r=a[1];a=[0];continue;case 7:a=n.ops.pop();n.trys.pop();continue;default:if(!(o=n.trys,o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){n=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){n.label=a[1];break}if(a[0]===6&&n.label<o[1]){n.label=o[1];o=a;break}if(o&&n.label<o[2]){n.label=o[2];n.ops.push(a);break}if(o[2])n.ops.pop();n.trys.pop();continue}a=t.call(e,n)}catch(e){a=[6,e];r=0}finally{i=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};System.register(["./p-ff17b3a4.system.js","./p-b79c0e38.system.js","./p-1f54fd38.system.js","./p-35d6d322.system.js","./p-4bd679a7.system.js","./p-f6934a55.system.js","./p-1a673057.system.js","./p-6333265f.system.js","./p-bb6f60a6.system.js","./p-56306cfd.system.js"],(function(e){"use strict";var t,n,i,r,o,a,s,u,l,c,f;return{setters:[function(e){t=e.r;n=e.h},function(e){i=e.u;r=e.m},function(){},function(e){o=e.W;a=e.X;s=e.g;u=e.i},function(e){l=e.c},function(){},function(){},function(e){c=e.s},function(){},function(e){f=e.P}],execute:function(){function d(e){var t=this;var n=e.nextPage,r=e.failedPage;var u,l,f,d,v,h,p,g;var y=o();var m=a(),b=m[0],w=m[1],_=w.loading,x=w.data,P=w.errors;var j=new URLSearchParams(s.location.search);var k=j.get("oobCode");var S=j.get("nextPage");var C=x===undefined&&P===undefined&&!!k;var E=!!(((u=y===null||y===void 0?void 0:y.managedIdentity)===null||u===void 0?void 0:u.emailVerified)||(x===null||x===void 0?void 0:x.verifyManagedIdentityEmail.success));var I=function(){return s.push({pathname:r,search:j.toString()&&"?"+j.toString()})};var M=function(){j.delete("nextPage");var e=c(S||n);s.push(e.href)};var N=function(){return __awaiter(t,void 0,void 0,(function(){var e,t;return __generator(this,(function(n){switch(n.label){case 0:if(!k)return[3,2];return[4,b({oobCode:k})];case 1:t=n.sent();if((t instanceof Error||!t.verifyManagedIdentityEmail.success)&&!((e=y===null||y===void 0?void 0:y.managedIdentity)===null||e===void 0?void 0:e.emailVerified)){return[2]}setTimeout((function(){M()}),3e3);n.label=2;case 2:return[2]}}))}))};i((function(){if(E){setTimeout((function(){M()}),3e3)}!x&&N()}),[E]);return{states:{loading:_||C,error:((v=(d=(f=(l=P===null||P===void 0?void 0:P.response)===null||l===void 0?void 0:l.errors)===null||f===void 0?void 0:f[0])===null||d===void 0?void 0:d.extensions)===null||v===void 0?void 0:v.message)||((g=(p=(h=P===null||P===void 0?void 0:P.response)===null||h===void 0?void 0:h.errors)===null||p===void 0?void 0:p[0])===null||g===void 0?void 0:g.message)||(P===null||P===void 0?void 0:P.message)&&"Network request failed.",verified:E},data:{oobCode:k},callbacks:{failed:I,gotoNextPage:M}}}var v=e("sqm_portal_verify_email",function(){function e(e){t(this,e);this.ignored=true;this.nextPage="/";this.failedPage="/";r(this)}e.prototype.disconnectedCallback=function(){};e.prototype.render=function(){var e=u()?h(this):d(this),t=e.states,i=e.data,r=e.callbacks;return n(f,{states:t,data:i,callbacks:r})};return e}());function h(e){return l({states:{error:"",loading:false,verified:true},data:{oobCode:"code"},callbacks:{failed:function(){console.log("failed")},gotoNextPage:function(){}}},e.demoData||{},{arrayMerge:function(e,t){return t}})}}}}));
1
+ var __awaiter=this&&this.__awaiter||function(e,t,n,i){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function a(e){try{u(i.next(e))}catch(e){o(e)}}function s(e){try{u(i["throw"](e))}catch(e){o(e)}}function u(e){e.done?n(e.value):r(e.value).then(a,s)}u((i=i.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},i,r,o,a;return a={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function s(e){return function(t){return u([e,t])}}function u(a){if(i)throw new TypeError("Generator is already executing.");while(n)try{if(i=1,r&&(o=a[0]&2?r["return"]:a[0]?r["throw"]||((o=r["return"])&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;if(r=0,o)a=[a[0]&2,o.value];switch(a[0]){case 0:case 1:o=a;break;case 4:n.label++;return{value:a[1],done:false};case 5:n.label++;r=a[1];a=[0];continue;case 7:a=n.ops.pop();n.trys.pop();continue;default:if(!(o=n.trys,o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){n=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){n.label=a[1];break}if(a[0]===6&&n.label<o[1]){n.label=o[1];o=a;break}if(o&&n.label<o[2]){n.label=o[2];n.ops.push(a);break}if(o[2])n.ops.pop();n.trys.pop();continue}a=t.call(e,n)}catch(e){a=[6,e];r=0}finally{i=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};System.register(["./p-ff17b3a4.system.js","./p-b79c0e38.system.js","./p-1f54fd38.system.js","./p-9732cfef.system.js","./p-4bd679a7.system.js","./p-f6934a55.system.js","./p-1a673057.system.js","./p-6333265f.system.js","./p-45374f45.system.js","./p-91dee224.system.js"],(function(e){"use strict";var t,n,i,r,o,a,s,u,l,c,f;return{setters:[function(e){t=e.r;n=e.h},function(e){i=e.u;r=e.m},function(){},function(e){o=e.N;a=e.X;s=e.f;u=e.i},function(e){l=e.c},function(){},function(){},function(e){c=e.s},function(){},function(e){f=e.P}],execute:function(){function d(e){var t=this;var n=e.nextPage,r=e.failedPage;var u,l,f,d,v,h,p,y;var g=o();var m=a(),b=m[0],w=m[1],_=w.loading,x=w.data,P=w.errors;var j=new URLSearchParams(s.location.search);var k=j.get("oobCode");var S=j.get("nextPage");var C=x===undefined&&P===undefined&&!!k;var E=!!(((u=g===null||g===void 0?void 0:g.managedIdentity)===null||u===void 0?void 0:u.emailVerified)||(x===null||x===void 0?void 0:x.verifyManagedIdentityEmail.success));var I=function(){return s.push({pathname:r,search:j.toString()&&"?"+j.toString()})};var N=function(){j.delete("nextPage");var e=c(S||n);s.push(e.href)};var M=function(){return __awaiter(t,void 0,void 0,(function(){var e,t;return __generator(this,(function(n){switch(n.label){case 0:if(!k)return[3,2];return[4,b({oobCode:k})];case 1:t=n.sent();if((t instanceof Error||!t.verifyManagedIdentityEmail.success)&&!((e=g===null||g===void 0?void 0:g.managedIdentity)===null||e===void 0?void 0:e.emailVerified)){return[2]}setTimeout((function(){N()}),3e3);n.label=2;case 2:return[2]}}))}))};i((function(){if(E){setTimeout((function(){N()}),3e3)}!x&&M()}),[E]);return{states:{loading:_||C,error:((v=(d=(f=(l=P===null||P===void 0?void 0:P.response)===null||l===void 0?void 0:l.errors)===null||f===void 0?void 0:f[0])===null||d===void 0?void 0:d.extensions)===null||v===void 0?void 0:v.message)||((y=(p=(h=P===null||P===void 0?void 0:P.response)===null||h===void 0?void 0:h.errors)===null||p===void 0?void 0:p[0])===null||y===void 0?void 0:y.message)||(P===null||P===void 0?void 0:P.message)&&"Network request failed.",verified:E},data:{oobCode:k},callbacks:{failed:I,gotoNextPage:N}}}var v=e("sqm_portal_verify_email",function(){function e(e){t(this,e);this.ignored=true;this.nextPage="/";this.failedPage="/";r(this)}e.prototype.disconnectedCallback=function(){};e.prototype.render=function(){var e=u()?h(this):d(this),t=e.states,i=e.data,r=e.callbacks;return n(f,{states:t,data:i,callbacks:r})};return e}());function h(e){return l({states:{error:"",loading:false,verified:true},data:{oobCode:"code"},callbacks:{failed:function(){console.log("failed")},gotoNextPage:function(){}}},e.demoData||{},{arrayMerge:function(e,t){return t}})}}}}));
@@ -0,0 +1 @@
1
+ System.register(["./p-ff17b3a4.system.js","./p-589ec33b.system.js","./p-1a673057.system.js"],(function(C){"use strict";var t,e,a;return{setters:[function(C){t=C.h},function(C){e=C.i},function(C){a=C.c}],execute:function(){C({P:n,a:r});function r(C){var e=C.color,a=e===void 0?"#A6A6A6":e,r=C.width,i=r===void 0?190:r,n=C.height,s=n===void 0?29:n;return t("svg",{width:i,height:s,viewBox:"0 0 132 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t("g",{"clip-path":"url(#clip0)"},t("path",{xmlns:"http://www.w3.org/2000/svg","fill-rule":"evenodd","clip-rule":"evenodd",d:"M66.4512 1.01758V1.01562C66.2601 1.01562 66.1669 1.05312 65.6827 1.43312L63.2868 3.31163C62.9112 3.60612 62.8383 4.15812 63.1241 4.54513C63.4099 4.93213 63.9457 5.00712 64.3213 4.71263L64.7959 4.34063C65.0696 4.12713 65.4601 4.18212 65.6682 4.46362C65.8763 4.74513 65.8237 5.14862 65.5494 5.36363L62.8011 7.51862C62.4255 7.81312 62.3526 8.36512 62.6384 8.75212C62.9242 9.13912 63.4601 9.21412 63.8357 8.91962L64.737 8.21263C65.0107 7.99813 65.4017 8.05263 65.6103 8.33512C65.8183 8.61662 65.7657 9.01812 65.4934 9.23362L62.4328 11.6331C62.0572 11.9276 61.9843 12.4796 62.2701 12.8666C62.5559 13.2536 63.0917 13.3286 63.4673 13.0341L64.6814 12.0821C64.9557 11.8676 65.3462 11.9221 65.5548 12.2046C65.6397 12.3196 65.6812 12.4546 65.6822 12.5886L65.6827 15.9306C62.7514 15.5406 60.479 12.9541 60.479 9.82913C60.479 8.07863 61.207 6.40462 62.4767 5.23712L62.5274 5.19062L62.4675 5.12012C62.4651 5.11723 62.4626 5.11435 62.4601 5.11147C62.4448 5.09344 62.4295 5.07553 62.4149 5.05613C62.2628 4.85413 62.1595 4.62363 62.1069 4.37162L62.0828 4.25712L61.9959 4.33212C60.4095 5.69863 59.5 7.70263 59.5 9.82913C59.5 13.7785 62.6179 16.9919 66.4508 16.9921V16.9936C70.2839 16.9936 73.4025 13.7806 73.4025 9.83058C73.4025 7.70358 72.4925 5.70008 70.9062 4.33358L70.9072 4.33208L70.8203 4.25708L70.7961 4.37158C70.7435 4.62358 70.6397 4.85408 70.4876 5.05658C70.4739 5.07518 70.459 5.09266 70.444 5.11031C70.4416 5.11306 70.4393 5.11581 70.4369 5.11858L70.3752 5.19108L70.4258 5.23758C71.6955 6.40508 72.424 8.07908 72.424 9.83008C72.424 11.4741 71.8027 13.0196 70.6745 14.1816C69.7297 15.1551 68.5238 15.7606 67.2198 15.9321V12.5926H67.2174L67.2198 12.5896C67.2208 12.4556 67.2623 12.3206 67.3473 12.2056C67.5558 11.9236 67.9469 11.8686 68.2206 12.0831L69.4347 13.0351C69.8103 13.3296 70.3462 13.2546 70.632 12.8676C70.9178 12.4806 70.8449 11.9286 70.4693 11.6341L67.4086 9.23458C67.1363 9.01958 67.0837 8.61808 67.2918 8.33658C67.5003 8.05408 67.8914 7.99958 68.1651 8.21408L69.0664 8.92108C69.442 9.21558 69.9778 9.14058 70.2636 8.75358C70.5494 8.36658 70.4765 7.81458 70.1009 7.52008L67.3526 5.36508C67.0789 5.15058 67.0258 4.74758 67.2338 4.46508C67.4419 4.18258 67.832 4.12858 68.1062 4.34208L68.5807 4.71408C68.9563 5.00858 69.4922 4.93358 69.778 4.54658C70.0638 4.15958 69.9909 3.60758 69.6153 3.31308L67.2194 1.43508C66.735 1.05587 66.6421 1.01764 66.4512 1.01758Z",fill:a})),t("path",{d:"M1.67078 13V5.95H4.46078C5.22078 5.95 5.80078 6.13333 6.20078 6.5C6.60745 6.86667 6.81078 7.39 6.81078 8.07C6.81078 8.74333 6.60745 9.26667 6.20078 9.64C5.80078 10.0067 5.22078 10.19 4.46078 10.19H2.49078V13H1.67078ZM2.49078 9.5H4.36078C5.45411 9.5 6.00078 9.02333 6.00078 8.07C6.00078 7.11 5.45411 6.63 4.36078 6.63H2.49078V9.5ZM9.6843 13.09C9.21096 13.09 8.80096 12.9867 8.4543 12.78C8.10763 12.5733 7.83763 12.2833 7.6443 11.91C7.45763 11.53 7.3643 11.0833 7.3643 10.57C7.3643 10.0567 7.45763 9.61333 7.6443 9.24C7.83763 8.86 8.10763 8.56667 8.4543 8.36C8.80096 8.15333 9.21096 8.05 9.6843 8.05C10.151 8.05 10.5576 8.15333 10.9043 8.36C11.2576 8.56667 11.5276 8.86 11.7143 9.24C11.9076 9.61333 12.0043 10.0567 12.0043 10.57C12.0043 11.0833 11.9076 11.53 11.7143 11.91C11.5276 12.2833 11.2576 12.5733 10.9043 12.78C10.5576 12.9867 10.151 13.09 9.6843 13.09ZM9.6843 12.44C10.1376 12.44 10.501 12.28 10.7743 11.96C11.0476 11.6333 11.1843 11.17 11.1843 10.57C11.1843 9.96333 11.0476 9.5 10.7743 9.18C10.501 8.86 10.1376 8.7 9.6843 8.7C9.2243 8.7 8.85763 8.86 8.5843 9.18C8.31763 9.5 8.1843 9.96333 8.1843 10.57C8.1843 11.17 8.31763 11.6333 8.5843 11.96C8.85763 12.28 9.2243 12.44 9.6843 12.44ZM14.4426 13L12.6326 8.14H13.4826L14.8526 12.05L16.2726 8.14H16.9626L18.3626 12.06L19.7526 8.14H20.5626L18.7426 13H17.9726L16.6026 9.23L15.2226 13H14.4426ZM23.6824 13.09C22.9158 13.09 22.3091 12.8667 21.8624 12.42C21.4158 11.9667 21.1924 11.3533 21.1924 10.58C21.1924 10.08 21.2924 9.64 21.4924 9.26C21.6924 8.87333 21.9658 8.57667 22.3124 8.37C22.6658 8.15667 23.0724 8.05 23.5324 8.05C24.1924 8.05 24.7091 8.26333 25.0824 8.69C25.4558 9.11 25.6424 9.69 25.6424 10.43V10.74H21.9824C22.0091 11.2933 22.1691 11.7167 22.4624 12.01C22.7558 12.2967 23.1624 12.44 23.6824 12.44C23.9758 12.44 24.2558 12.3967 24.5224 12.31C24.7891 12.2167 25.0424 12.0667 25.2824 11.86L25.5624 12.43C25.3424 12.6367 25.0624 12.8 24.7224 12.92C24.3824 13.0333 24.0358 13.09 23.6824 13.09ZM23.5524 8.65C23.0924 8.65 22.7291 8.79333 22.4624 9.08C22.1958 9.36667 22.0391 9.74333 21.9924 10.21H24.9424C24.9224 9.71667 24.7924 9.33333 24.5524 9.06C24.3191 8.78667 23.9858 8.65 23.5524 8.65ZM26.8147 13V8.14H27.6047V9.01C27.8647 8.42333 28.398 8.1 29.2047 8.04L29.4947 8.01L29.5547 8.71L29.0447 8.77C28.5847 8.81 28.2347 8.95667 27.9947 9.21C27.7547 9.45667 27.6347 9.79667 27.6347 10.23V13H26.8147ZM32.5301 13.09C31.7634 13.09 31.1567 12.8667 30.7101 12.42C30.2634 11.9667 30.0401 11.3533 30.0401 10.58C30.0401 10.08 30.1401 9.64 30.3401 9.26C30.5401 8.87333 30.8134 8.57667 31.1601 8.37C31.5134 8.15667 31.9201 8.05 32.3801 8.05C33.0401 8.05 33.5567 8.26333 33.9301 8.69C34.3034 9.11 34.4901 9.69 34.4901 10.43V10.74H30.8301C30.8567 11.2933 31.0167 11.7167 31.3101 12.01C31.6034 12.2967 32.0101 12.44 32.5301 12.44C32.8234 12.44 33.1034 12.3967 33.3701 12.31C33.6367 12.2167 33.8901 12.0667 34.1301 11.86L34.4101 12.43C34.1901 12.6367 33.9101 12.8 33.5701 12.92C33.2301 13.0333 32.8834 13.09 32.5301 13.09ZM32.4001 8.65C31.9401 8.65 31.5767 8.79333 31.3101 9.08C31.0434 9.36667 30.8867 9.74333 30.8401 10.21H33.7901C33.7701 9.71667 33.6401 9.33333 33.4001 9.06C33.1667 8.78667 32.8334 8.65 32.4001 8.65ZM37.5123 13.09C37.079 13.09 36.699 12.9867 36.3723 12.78C36.0523 12.5733 35.8023 12.2833 35.6223 11.91C35.449 11.53 35.3623 11.0833 35.3623 10.57C35.3623 10.05 35.449 9.60333 35.6223 9.23C35.8023 8.85 36.0523 8.56 36.3723 8.36C36.699 8.15333 37.079 8.05 37.5123 8.05C37.8923 8.05 38.2257 8.13333 38.5123 8.3C38.8057 8.46667 39.0223 8.69667 39.1623 8.99V5.95H39.9723V13H39.1823V12.11C39.0423 12.4167 38.8257 12.6567 38.5323 12.83C38.239 13.0033 37.899 13.09 37.5123 13.09ZM37.6823 12.44C38.1357 12.44 38.499 12.28 38.7723 11.96C39.0457 11.6333 39.1823 11.17 39.1823 10.57C39.1823 9.96333 39.0457 9.5 38.7723 9.18C38.499 8.86 38.1357 8.7 37.6823 8.7C37.2223 8.7 36.8557 8.86 36.5823 9.18C36.3157 9.5 36.1823 9.96333 36.1823 10.57C36.1823 11.17 36.3157 11.6333 36.5823 11.96C36.8557 12.28 37.2223 12.44 37.6823 12.44ZM46.5208 13.09C46.1341 13.09 45.7941 13.0033 45.5008 12.83C45.2141 12.6567 44.9974 12.42 44.8508 12.12V13H44.0608V5.95H44.8708V8.98C45.0108 8.69333 45.2274 8.46667 45.5208 8.3C45.8141 8.13333 46.1474 8.05 46.5208 8.05C46.9541 8.05 47.3308 8.15333 47.6508 8.36C47.9774 8.56 48.2274 8.85 48.4008 9.23C48.5808 9.60333 48.6708 10.05 48.6708 10.57C48.6708 11.0833 48.5808 11.53 48.4008 11.91C48.2274 12.2833 47.9774 12.5733 47.6508 12.78C47.3308 12.9867 46.9541 13.09 46.5208 13.09ZM46.3508 12.44C46.8041 12.44 47.1674 12.28 47.4408 11.96C47.7141 11.6333 47.8508 11.17 47.8508 10.57C47.8508 9.96333 47.7141 9.5 47.4408 9.18C47.1674 8.86 46.8041 8.7 46.3508 8.7C45.8974 8.7 45.5341 8.86 45.2608 9.18C44.9874 9.5 44.8508 9.96333 44.8508 10.57C44.8508 11.17 44.9874 11.6333 45.2608 11.96C45.5341 12.28 45.8974 12.44 46.3508 12.44ZM50.3825 14.8L51.2125 12.92L49.1625 8.14H50.0425L51.6525 12.08L53.2725 8.14H54.1225L51.2325 14.8H50.3825Z",fill:a}),t("path",{d:"M80.9459 13.09C80.3926 13.09 79.8926 13.02 79.4459 12.88C78.9992 12.7333 78.6126 12.5233 78.2859 12.25L78.5759 11.59C78.9159 11.85 79.2726 12.0433 79.6459 12.17C80.0192 12.2967 80.4526 12.36 80.9459 12.36C81.5459 12.36 81.9892 12.25 82.2759 12.03C82.5692 11.8033 82.7159 11.5067 82.7159 11.14C82.7159 10.8467 82.6092 10.6133 82.3959 10.44C82.1892 10.2667 81.8392 10.13 81.3459 10.03L80.3059 9.82C79.6792 9.68667 79.2092 9.47 78.8959 9.17C78.5892 8.86333 78.4359 8.45667 78.4359 7.95C78.4359 7.53 78.5426 7.16333 78.7559 6.85C78.9759 6.53667 79.2792 6.29333 79.6659 6.12C80.0526 5.94667 80.4992 5.86 81.0059 5.86C81.4792 5.86 81.9192 5.93667 82.3259 6.09C82.7326 6.23667 83.0759 6.45 83.3559 6.73L83.0659 7.37C82.7659 7.09667 82.4492 6.9 82.1159 6.78C81.7826 6.65333 81.4092 6.59 80.9959 6.59C80.4692 6.59 80.0492 6.71333 79.7359 6.96C79.4226 7.2 79.2659 7.52 79.2659 7.92C79.2659 8.24 79.3626 8.49333 79.5559 8.68C79.7559 8.86667 80.0792 9.00333 80.5259 9.09L81.5659 9.31C82.2392 9.45 82.7359 9.66333 83.0559 9.95C83.3826 10.23 83.5459 10.6133 83.5459 11.1C83.5459 11.4933 83.4392 11.84 83.2259 12.14C83.0192 12.44 82.7192 12.6733 82.3259 12.84C81.9392 13.0067 81.4792 13.09 80.9459 13.09ZM86.2382 13.09C85.9049 13.09 85.6049 13.0267 85.3382 12.9C85.0782 12.7667 84.8716 12.5867 84.7182 12.36C84.5649 12.1333 84.4882 11.88 84.4882 11.6C84.4882 11.2467 84.5782 10.9667 84.7582 10.76C84.9449 10.5533 85.2482 10.4067 85.6682 10.32C86.0949 10.2267 86.6749 10.18 87.4082 10.18H87.7282V9.87C87.7282 9.45667 87.6416 9.16 87.4682 8.98C87.3016 8.79333 87.0316 8.7 86.6582 8.7C86.3649 8.7 86.0816 8.74333 85.8082 8.83C85.5349 8.91 85.2549 9.04333 84.9682 9.23L84.6882 8.64C84.9416 8.46 85.2482 8.31667 85.6082 8.21C85.9749 8.10333 86.3249 8.05 86.6582 8.05C87.2849 8.05 87.7482 8.20333 88.0482 8.51C88.3549 8.81667 88.5082 9.29333 88.5082 9.94V13H87.7482V12.16C87.6216 12.4467 87.4249 12.6733 87.1582 12.84C86.8982 13.0067 86.5916 13.09 86.2382 13.09ZM86.3682 12.48C86.7682 12.48 87.0949 12.3433 87.3482 12.07C87.6016 11.79 87.7282 11.4367 87.7282 11.01V10.71H87.4182C86.8782 10.71 86.4516 10.7367 86.1382 10.79C85.8316 10.8367 85.6149 10.9233 85.4882 11.05C85.3682 11.17 85.3082 11.3367 85.3082 11.55C85.3082 11.8233 85.4016 12.0467 85.5882 12.22C85.7816 12.3933 86.0416 12.48 86.3682 12.48ZM91.541 13.09C91.2076 13.09 90.9076 13.0267 90.641 12.9C90.381 12.7667 90.1743 12.5867 90.021 12.36C89.8676 12.1333 89.791 11.88 89.791 11.6C89.791 11.2467 89.881 10.9667 90.061 10.76C90.2476 10.5533 90.551 10.4067 90.971 10.32C91.3976 10.2267 91.9776 10.18 92.711 10.18H93.031V9.87C93.031 9.45667 92.9443 9.16 92.771 8.98C92.6043 8.79333 92.3343 8.7 91.961 8.7C91.6676 8.7 91.3843 8.74333 91.111 8.83C90.8376 8.91 90.5576 9.04333 90.271 9.23L89.991 8.64C90.2443 8.46 90.551 8.31667 90.911 8.21C91.2776 8.10333 91.6276 8.05 91.961 8.05C92.5876 8.05 93.051 8.20333 93.351 8.51C93.6576 8.81667 93.811 9.29333 93.811 9.94V13H93.051V12.16C92.9243 12.4467 92.7276 12.6733 92.461 12.84C92.201 13.0067 91.8943 13.09 91.541 13.09ZM91.671 12.48C92.071 12.48 92.3976 12.3433 92.651 12.07C92.9043 11.79 93.031 11.4367 93.031 11.01V10.71H92.721C92.181 10.71 91.7543 10.7367 91.441 10.79C91.1343 10.8367 90.9176 10.9233 90.791 11.05C90.671 11.17 90.611 11.3367 90.611 11.55C90.611 11.8233 90.7043 12.0467 90.891 12.22C91.0843 12.3933 91.3443 12.48 91.671 12.48ZM97.7037 13.09C97.1504 13.09 96.6504 13.02 96.2037 12.88C95.757 12.7333 95.3704 12.5233 95.0437 12.25L95.3337 11.59C95.6737 11.85 96.0304 12.0433 96.4037 12.17C96.777 12.2967 97.2104 12.36 97.7037 12.36C98.3037 12.36 98.747 12.25 99.0337 12.03C99.327 11.8033 99.4737 11.5067 99.4737 11.14C99.4737 10.8467 99.367 10.6133 99.1537 10.44C98.947 10.2667 98.597 10.13 98.1037 10.03L97.0637 9.82C96.437 9.68667 95.967 9.47 95.6537 9.17C95.347 8.86333 95.1937 8.45667 95.1937 7.95C95.1937 7.53 95.3004 7.16333 95.5137 6.85C95.7337 6.53667 96.037 6.29333 96.4237 6.12C96.8104 5.94667 97.257 5.86 97.7637 5.86C98.237 5.86 98.677 5.93667 99.0837 6.09C99.4904 6.23667 99.8337 6.45 100.114 6.73L99.8237 7.37C99.5237 7.09667 99.207 6.9 98.8737 6.78C98.5404 6.65333 98.167 6.59 97.7537 6.59C97.227 6.59 96.807 6.71333 96.4937 6.96C96.1804 7.2 96.0237 7.52 96.0237 7.92C96.0237 8.24 96.1204 8.49333 96.3137 8.68C96.5137 8.86667 96.837 9.00333 97.2837 9.09L98.3237 9.31C98.997 9.45 99.4937 9.66333 99.8137 9.95C100.14 10.23 100.304 10.6133 100.304 11.1C100.304 11.4933 100.197 11.84 99.9837 12.14C99.777 12.44 99.477 12.6733 99.0837 12.84C98.697 13.0067 98.237 13.09 97.7037 13.09ZM104.966 14.8V12.15C104.826 12.4367 104.609 12.6667 104.316 12.84C104.029 13.0067 103.696 13.09 103.316 13.09C102.883 13.09 102.503 12.9867 102.176 12.78C101.856 12.5733 101.606 12.2833 101.426 11.91C101.253 11.53 101.166 11.0833 101.166 10.57C101.166 10.05 101.253 9.60333 101.426 9.23C101.606 8.85 101.856 8.56 102.176 8.36C102.503 8.15333 102.883 8.05 103.316 8.05C103.703 8.05 104.043 8.13667 104.336 8.31C104.629 8.48333 104.846 8.72 104.986 9.02V8.14H105.776V14.8H104.966ZM103.486 12.44C103.939 12.44 104.303 12.28 104.576 11.96C104.849 11.6333 104.986 11.17 104.986 10.57C104.986 9.96333 104.849 9.5 104.576 9.18C104.303 8.86 103.939 8.7 103.486 8.7C103.026 8.7 102.659 8.86 102.386 9.18C102.119 9.5 101.986 9.96333 101.986 10.57C101.986 11.17 102.119 11.6333 102.386 11.96C102.659 12.28 103.026 12.44 103.486 12.44ZM109.016 13.09C107.849 13.09 107.266 12.4467 107.266 11.16V8.14H108.076V11.15C108.076 11.5833 108.163 11.9033 108.336 12.11C108.516 12.3167 108.796 12.42 109.176 12.42C109.589 12.42 109.926 12.2833 110.186 12.01C110.446 11.73 110.576 11.36 110.576 10.9V8.14H111.386V13H110.596V12.18C110.443 12.4733 110.226 12.7 109.946 12.86C109.673 13.0133 109.363 13.09 109.016 13.09ZM114.432 13.09C114.098 13.09 113.798 13.0267 113.532 12.9C113.272 12.7667 113.065 12.5867 112.912 12.36C112.758 12.1333 112.682 11.88 112.682 11.6C112.682 11.2467 112.772 10.9667 112.952 10.76C113.138 10.5533 113.442 10.4067 113.862 10.32C114.288 10.2267 114.868 10.18 115.602 10.18H115.922V9.87C115.922 9.45667 115.835 9.16 115.662 8.98C115.495 8.79333 115.225 8.7 114.852 8.7C114.558 8.7 114.275 8.74333 114.002 8.83C113.728 8.91 113.448 9.04333 113.162 9.23L112.882 8.64C113.135 8.46 113.442 8.31667 113.802 8.21C114.168 8.10333 114.518 8.05 114.852 8.05C115.478 8.05 115.942 8.20333 116.242 8.51C116.548 8.81667 116.702 9.29333 116.702 9.94V13H115.942V12.16C115.815 12.4467 115.618 12.6733 115.352 12.84C115.092 13.0067 114.785 13.09 114.432 13.09ZM114.562 12.48C114.962 12.48 115.288 12.3433 115.542 12.07C115.795 11.79 115.922 11.4367 115.922 11.01V10.71H115.612C115.072 10.71 114.645 10.7367 114.332 10.79C114.025 10.8367 113.808 10.9233 113.682 11.05C113.562 11.17 113.502 11.3367 113.502 11.55C113.502 11.8233 113.595 12.0467 113.782 12.22C113.975 12.3933 114.235 12.48 114.562 12.48ZM120.154 13.09C119.581 13.09 119.151 12.94 118.864 12.64C118.578 12.3333 118.434 11.8933 118.434 11.32V8.77H117.484V8.14H118.434V6.65H119.244V8.14H120.784V8.77H119.244V11.24C119.244 11.62 119.324 11.91 119.484 12.11C119.644 12.3033 119.904 12.4 120.264 12.4C120.371 12.4 120.478 12.3867 120.584 12.36C120.691 12.3333 120.788 12.3067 120.874 12.28L121.014 12.9C120.928 12.9467 120.801 12.99 120.634 13.03C120.468 13.07 120.308 13.09 120.154 13.09ZM123.712 13.09C123.225 13.09 122.805 12.9867 122.452 12.78C122.098 12.5667 121.825 12.27 121.632 11.89C121.445 11.5033 121.352 11.0533 121.352 10.54C121.352 9.76667 121.562 9.16 121.982 8.72C122.402 8.27333 122.978 8.05 123.712 8.05C124.012 8.05 124.308 8.10333 124.602 8.21C124.895 8.31667 125.138 8.46667 125.332 8.66L125.052 9.25C124.858 9.06333 124.645 8.92667 124.412 8.84C124.185 8.75333 123.968 8.71 123.762 8.71C123.255 8.71 122.865 8.87 122.592 9.19C122.318 9.50333 122.182 9.95667 122.182 10.55C122.182 11.13 122.318 11.59 122.592 11.93C122.865 12.2633 123.255 12.43 123.762 12.43C123.968 12.43 124.185 12.3867 124.412 12.3C124.645 12.2133 124.858 12.0733 125.052 11.88L125.332 12.47C125.138 12.6633 124.892 12.8167 124.592 12.93C124.298 13.0367 124.005 13.09 123.712 13.09ZM126.281 13V5.95H127.091V8.94C127.251 8.64667 127.474 8.42667 127.761 8.28C128.054 8.12667 128.381 8.05 128.741 8.05C129.894 8.05 130.471 8.69 130.471 9.97V13H129.661V10.02C129.661 9.56667 129.571 9.23667 129.391 9.03C129.217 8.81667 128.937 8.71 128.551 8.71C128.104 8.71 127.747 8.85 127.481 9.13C127.221 9.40333 127.091 9.77 127.091 10.23V13H126.281Z",fill:a}),t("defs",null,t("clipPath",{id:"clip0"},t("rect",{width:"14",height:"16",fill:"white",transform:"translate(59.5 1)"}))))}var i="\n :host{\n margin: 0 auto;\n width: 100%;\n }\n a{\n cursor:pointer;\n color: inherit;\n text-decoration: none;\n }\n";function n(C){var n={RowContainer:{display:"flex","& > :not(:last-child)":{"margin-right":"var(--sl-spacing-large)"}},Container:{display:"flex","flex-direction":"column","align-items":"center","font-size":"var(--sl-font-size-small)",color:"var(--sl-color-gray-600)","padding-top":"var(--sl-spacing-"+C.paddingTop+")","padding-right":"var(--sl-spacing-"+C.paddingRight+")","padding-bottom":"var(--sl-spacing-"+C.paddingBottom+")","padding-left":"var(--sl-spacing-"+C.paddingLeft+")","& a:hover":{color:"var(--sl-color-gray-900)"}},SupportText:{textAlign:"center"},PoweredByLink:{color:"var(--sl-color-gray-400)","font-size":"var(--sl-font-size-xx-small)","&:hover":{color:"var(--sl-color-gray-900)"}}};var s=a(n);var l=s.toString();return t("div",{class:s.classes.Container},t("style",{type:"text/css"},i,l),t("div",{class:s.classes.RowContainer},C.faqLink&&t("a",{target:"_blank",href:C.faqLink},C.faqText),C.termsLink&&t("a",{target:"_blank",href:C.termsLink},C.termsText)),t("p",{class:s.classes.SupportText},e.formatMessage({id:"supportFooter",defaultMessage:C.supportText},{email:t("a",{target:"_blank",href:"mailto:"+C.supportEmail},C.supportEmail)})),!C.hidePoweredBy&&t("a",{class:s.classes.PoweredByLink,target:"_blank",href:C.poweredByLink},t(r,null)))}}}}));