@saasquatch/mint-components 1.6.2-37 → 1.6.2-38
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.
- package/LICENSE +21 -21
- package/dist/cjs/{GenericTableView-fa0cb936.js → GenericTableView-9271483b.js} +110 -110
- package/dist/cjs/{JSS-c73206b7.js → JSS-8503a151.js} +1 -1
- package/dist/cjs/{ShadowViewAddon-b2b809b8.js → ShadowViewAddon-8c6e4eb6.js} +3453 -3453
- package/dist/cjs/{global-12e64346.js → global-9ec22360.js} +837 -837
- package/dist/cjs/{index.module-a31dd9f8.js → index.module-d3a28293.js} +2 -2
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/mint-components.cjs.js +2 -2
- package/dist/cjs/{mixins-338ca5f1.js → mixins-fe9d4112.js} +85 -85
- package/dist/cjs/raisins-plop-target.cjs.entry.js +13 -13
- package/dist/cjs/{re-render-9ac6e017.js → re-render-3d59f3a4.js} +37 -37
- package/dist/cjs/{sqm-asset-card-view-7e16757a.js → sqm-asset-card-view-59c39ed2.js} +44 -44
- package/dist/cjs/sqm-asset-card.cjs.entry.js +32 -32
- package/dist/cjs/sqm-big-stat_35.cjs.entry.js +3134 -3134
- package/dist/cjs/sqm-empty_5.cjs.entry.js +192 -192
- package/dist/cjs/sqm-form-message.cjs.entry.js +19 -19
- package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +22 -22
- package/dist/cjs/sqm-header-logo.cjs.entry.js +20 -20
- package/dist/cjs/{sqm-hero-view-f4264d5e.js → sqm-hero-view-ba78dcaf.js} +138 -138
- package/dist/cjs/sqm-hero.cjs.entry.js +47 -47
- package/dist/cjs/{sqm-leaderboard-rank-view-35015d30.js → sqm-leaderboard-rank-view-5a3d4a88.js} +3 -3
- package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +72 -72
- package/dist/cjs/{sqm-navigation-sidebar-item-view-2c3ae6f9.js → sqm-navigation-sidebar-item-view-dc711c36.js} +38 -38
- package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +40 -40
- package/dist/cjs/{sqm-navigation-sidebar-view-3feda5f1.js → sqm-navigation-sidebar-view-2ffde416.js} +29 -29
- package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +13 -13
- package/dist/cjs/sqm-password-field.cjs.entry.js +188 -188
- package/dist/cjs/sqm-popup-container.cjs.entry.js +52 -52
- package/dist/cjs/{sqm-portal-container-view-4a8432e9.js → sqm-portal-container-view-2ddcaa12.js} +28 -28
- package/dist/cjs/{sqm-portal-email-verification-view-8af9f355.js → sqm-portal-email-verification-view-82fda25b.js} +37 -37
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +97 -97
- package/dist/cjs/{sqm-portal-footer-view-f40940ad.js → sqm-portal-footer-view-666f0d29.js} +72 -72
- package/dist/cjs/sqm-portal-footer.cjs.entry.js +57 -57
- package/dist/cjs/{sqm-portal-forgot-password-view-aaa8dd17.js → sqm-portal-forgot-password-view-ccaf2bd4.js} +38 -38
- package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +103 -103
- package/dist/cjs/sqm-portal-logout.cjs.entry.js +22 -22
- package/dist/cjs/{sqm-portal-profile-view-e5998591.js → sqm-portal-profile-view-0c8b7810.js} +65 -65
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +235 -235
- package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +56 -56
- package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +418 -418
- package/dist/cjs/{sqm-portal-reset-password-view-035245e6.js → sqm-portal-reset-password-view-4d23de69.js} +74 -74
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +165 -165
- package/dist/cjs/{sqm-portal-section-view-71a57cd9.js → sqm-portal-section-view-1e5bbcb1.js} +20 -20
- package/dist/cjs/{sqm-portal-verify-email-view-7014ca89.js → sqm-portal-verify-email-view-96adafc0.js} +40 -40
- package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +103 -103
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +750 -750
- package/dist/cjs/sqm-rewards-table-customer-note-cell.cjs.entry.js +14 -14
- package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +24 -24
- package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +959 -959
- package/dist/cjs/sqm-route.cjs.entry.js +9 -9
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +7820 -7820
- package/dist/cjs/sqm-tab.cjs.entry.js +14 -14
- package/dist/cjs/sqm-tabs.cjs.entry.js +86 -86
- package/dist/cjs/{sqm-text-span-view-b0c90c27.js → sqm-text-span-view-b318af73.js} +52 -52
- package/dist/cjs/sqm-text-span.cjs.entry.js +13 -13
- package/dist/cjs/{useChildElements-f6d80780.js → useChildElements-edf43c93.js} +25 -25
- package/dist/cjs/{useReferralTable-e78d5f74.js → useReferralTable-f898754d.js} +346 -346
- package/dist/cjs/{useRegistrationFormState-ee2c40dd.js → useRegistrationFormState-6fd1a229.js} +6 -6
- package/dist/cjs/{utils-8ef4fe4a.js → utils-6847bc06.js} +38 -38
- package/dist/collection/ShadowViewAddon.js +35 -35
- package/dist/collection/components/raisins-plop-target/raisins-plop-target.js +53 -53
- package/dist/collection/components/sqm-asset-card/AssetCard.stories.js +29 -29
- package/dist/collection/components/sqm-asset-card/sqm-asset-card-view.js +46 -46
- package/dist/collection/components/sqm-asset-card/sqm-asset-card.js +107 -107
- package/dist/collection/components/sqm-asset-card/useAssetCard.js +9 -9
- package/dist/collection/components/sqm-big-stat/BigStat.stories.js +88 -88
- package/dist/collection/components/sqm-big-stat/UseBigStat.stories.js +113 -113
- package/dist/collection/components/sqm-big-stat/sqm-big-stat-view.js +36 -36
- package/dist/collection/components/sqm-big-stat/sqm-big-stat.js +180 -180
- package/dist/collection/components/sqm-big-stat/useBigStat.js +614 -614
- package/dist/collection/components/sqm-big-stat/useDemoBigStat.js +34 -34
- package/dist/collection/components/sqm-brand/SqmBrand.stories.js +97 -97
- package/dist/collection/components/sqm-brand/sqm-brand.js +120 -120
- package/dist/collection/components/sqm-card-feed/CardFeed.stories.js +232 -232
- package/dist/collection/components/sqm-card-feed/sqm-card-feed-view.js +27 -27
- package/dist/collection/components/sqm-card-feed/sqm-card-feed.js +82 -82
- package/dist/collection/components/sqm-checkbox-field/CheckboxField.stories.js +98 -98
- package/dist/collection/components/sqm-checkbox-field/UseCheckboxField.stories.js +68 -68
- package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field-view.js +72 -72
- package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field.js +240 -240
- package/dist/collection/components/sqm-checkbox-field/useCheckboxField.js +23 -23
- package/dist/collection/components/sqm-divided-layout/DividedLayout.stories.js +85 -85
- package/dist/collection/components/sqm-divided-layout/sqm-divided-layout-view.js +52 -52
- package/dist/collection/components/sqm-divided-layout/sqm-divided-layout.js +80 -80
- package/dist/collection/components/sqm-dropdown-field/DropdownField.stories.js +45 -45
- package/dist/collection/components/sqm-dropdown-field/UseDropdownField.stories.js +54 -54
- package/dist/collection/components/sqm-dropdown-field/sqm-dropdown-field-view.js +54 -54
- package/dist/collection/components/sqm-dropdown-field/sqm-dropdown-field.js +187 -187
- package/dist/collection/components/sqm-dropdown-field/useDropdownField.js +10 -10
- package/dist/collection/components/sqm-edit-profile/EditProfileForm.stories.js +61 -61
- package/dist/collection/components/sqm-edit-profile/UseEditProfile.stories.js +41 -41
- package/dist/collection/components/sqm-edit-profile/sqm-edit-profile-view.js +55 -55
- package/dist/collection/components/sqm-edit-profile/sqm-edit-profile.js +279 -279
- package/dist/collection/components/sqm-edit-profile/useEditProfile.js +156 -156
- package/dist/collection/components/sqm-empty/EmptyState.stories.js +53 -53
- package/dist/collection/components/sqm-empty/sqm-empty-view.js +10 -10
- package/dist/collection/components/sqm-empty/sqm-empty.js +85 -85
- package/dist/collection/components/sqm-form-message/FormMessage.stories.js +28 -28
- package/dist/collection/components/sqm-form-message/sqm-form-message.js +83 -83
- package/dist/collection/components/sqm-graphql-client-provider/sqm-graphql-client-provider.js +52 -52
- package/dist/collection/components/sqm-graphql-client-provider/useGraphQLProvider.js +14 -14
- package/dist/collection/components/sqm-header-logo/sqm-header-logo.js +102 -102
- package/dist/collection/components/sqm-hero/Hero.stories.js +168 -168
- package/dist/collection/components/sqm-hero/sqm-hero-view.js +129 -129
- package/dist/collection/components/sqm-hero/sqm-hero.js +178 -178
- package/dist/collection/components/sqm-hero-image/HeroImage.stories.js +56 -56
- package/dist/collection/components/sqm-hero-image/sqm-hero-image-view.js +138 -138
- package/dist/collection/components/sqm-hero-image/sqm-hero-image.js +489 -489
- package/dist/collection/components/sqm-hook-story-container/sqm-hook-story-container.js +42 -42
- package/dist/collection/components/sqm-image/Image.stories.js +26 -26
- package/dist/collection/components/sqm-image/sqm-image-view.js +32 -32
- package/dist/collection/components/sqm-image/sqm-image.js +131 -131
- package/dist/collection/components/sqm-input-field/InputField.stories.js +88 -88
- package/dist/collection/components/sqm-input-field/UseInputField.stories.js +77 -77
- package/dist/collection/components/sqm-input-field/sqm-input-field-view.js +41 -41
- package/dist/collection/components/sqm-input-field/sqm-input-field.js +214 -214
- package/dist/collection/components/sqm-input-field/useInputField.js +10 -10
- package/dist/collection/components/sqm-leaderboard/Leaderboard.stories.js +483 -483
- package/dist/collection/components/sqm-leaderboard/UseLeaderboard.stories.js +208 -208
- package/dist/collection/components/sqm-leaderboard/sqm-leaderboard-view.js +101 -101
- package/dist/collection/components/sqm-leaderboard/sqm-leaderboard.js +430 -430
- package/dist/collection/components/sqm-leaderboard/useLeaderboard.js +112 -112
- package/dist/collection/components/sqm-leaderboard-rank/LeaderboardRank.stories.js +30 -30
- package/dist/collection/components/sqm-leaderboard-rank/sqm-leaderboard-rank-view.js +5 -5
- package/dist/collection/components/sqm-leaderboard-rank/sqm-leaderboard-rank.js +231 -231
- package/dist/collection/components/sqm-leaderboard-rank/useLeaderboardRank.js +45 -45
- package/dist/collection/components/sqm-name-fields/NameFields.stories.js +40 -40
- package/dist/collection/components/sqm-name-fields/sqm-name-fields-view.js +50 -50
- package/dist/collection/components/sqm-name-fields/sqm-name-fields.js +120 -120
- package/dist/collection/components/sqm-name-fields/useNameFields.js +14 -14
- package/dist/collection/components/sqm-navigation-menu/sqm-navigation-menu-view.js +14 -14
- package/dist/collection/components/sqm-navigation-menu/sqm-navigation-menu.js +122 -122
- package/dist/collection/components/sqm-navigation-menu/useNavigationMenu.js +27 -27
- package/dist/collection/components/sqm-navigation-sidebar/NavigationSidebar.stories.js +45 -45
- package/dist/collection/components/sqm-navigation-sidebar/sqm-navigation-sidebar-view.js +31 -31
- package/dist/collection/components/sqm-navigation-sidebar/sqm-navigation-sidebar.js +23 -23
- package/dist/collection/components/sqm-navigation-sidebar-item/SidebarItem.stories.js +31 -31
- package/dist/collection/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item-view.js +40 -40
- package/dist/collection/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item.js +133 -133
- package/dist/collection/components/sqm-navigation-sidebar-item/useNavigationSidebarItem.js +14 -14
- package/dist/collection/components/sqm-password-field/PasswordField.stories.js +46 -46
- package/dist/collection/components/sqm-password-field/passwordValidation.js +76 -76
- package/dist/collection/components/sqm-password-field/sqm-password-field-view.js +45 -45
- package/dist/collection/components/sqm-password-field/sqm-password-field.js +138 -138
- package/dist/collection/components/sqm-password-field/usePasswordField.js +25 -25
- package/dist/collection/components/sqm-popup-container/sqm-popup-container-view.js +11 -11
- package/dist/collection/components/sqm-popup-container/sqm-popup-container.js +147 -147
- package/dist/collection/components/sqm-popup-container/usePopupContainer.js +33 -33
- package/dist/collection/components/sqm-portal-change-password/ChangePassword.stories.js +147 -147
- package/dist/collection/components/sqm-portal-change-password/sqm-portal-change-password-view.js +74 -74
- package/dist/collection/components/sqm-portal-change-password/sqm-portal-change-password.js +299 -299
- package/dist/collection/components/sqm-portal-change-password/usePortalChangePassword.js +58 -58
- package/dist/collection/components/sqm-portal-container/PortalContainer.stories.js +119 -119
- package/dist/collection/components/sqm-portal-container/sqm-portal-container-view.js +30 -30
- package/dist/collection/components/sqm-portal-container/sqm-portal-container.js +273 -273
- package/dist/collection/components/sqm-portal-email-verification/PortalEmailVerification.stories.js +77 -77
- package/dist/collection/components/sqm-portal-email-verification/sqm-portal-email-verification-view.js +39 -39
- package/dist/collection/components/sqm-portal-email-verification/sqm-portal-email-verification.js +183 -183
- package/dist/collection/components/sqm-portal-email-verification/usePortalEmailVerification.js +47 -47
- package/dist/collection/components/sqm-portal-footer/PortalFooter.stories.js +24 -24
- package/dist/collection/components/sqm-portal-footer/PoweredByImg.js +11 -11
- package/dist/collection/components/sqm-portal-footer/sqm-portal-footer-view.js +66 -66
- package/dist/collection/components/sqm-portal-footer/sqm-portal-footer.js +341 -341
- package/dist/collection/components/sqm-portal-forgot-password/PortalForgotPassword.stories.js +73 -73
- package/dist/collection/components/sqm-portal-forgot-password/sqm-portal-forgot-password-view.js +40 -40
- package/dist/collection/components/sqm-portal-forgot-password/sqm-portal-forgot-password.js +235 -235
- package/dist/collection/components/sqm-portal-forgot-password/usePortalForgotPassword.js +46 -46
- package/dist/collection/components/sqm-portal-frame/PortalFrame.stories.js +118 -118
- package/dist/collection/components/sqm-portal-frame/sqm-portal-frame-view.js +53 -53
- package/dist/collection/components/sqm-portal-frame/sqm-portal-frame.js +79 -79
- package/dist/collection/components/sqm-portal-frame/usePortalFrame.js +13 -13
- package/dist/collection/components/sqm-portal-login/PortalLogin.stories.js +44 -44
- package/dist/collection/components/sqm-portal-login/sqm-portal-login-view.js +45 -45
- package/dist/collection/components/sqm-portal-login/sqm-portal-login.js +329 -329
- package/dist/collection/components/sqm-portal-login/usePortalLogin.js +44 -44
- package/dist/collection/components/sqm-portal-logout/sqm-portal-logout.js +56 -56
- package/dist/collection/components/sqm-portal-logout/usePortalLogout.js +5 -5
- package/dist/collection/components/sqm-portal-profile/PortalProfile.stories.js +227 -227
- package/dist/collection/components/sqm-portal-profile/sqm-portal-profile-view.js +67 -67
- package/dist/collection/components/sqm-portal-profile/sqm-portal-profile.js +298 -298
- package/dist/collection/components/sqm-portal-profile/usePortalProfile.js +149 -149
- package/dist/collection/components/sqm-portal-protected-route/sqm-portal-protected-route.js +111 -111
- package/dist/collection/components/sqm-portal-protected-route/usePortalProtectedRoute.js +26 -26
- package/dist/collection/components/sqm-portal-register/PortalRegister.stories.js +109 -109
- package/dist/collection/components/sqm-portal-register/sqm-portal-register-view.js +73 -73
- package/dist/collection/components/sqm-portal-register/sqm-portal-register.js +413 -413
- package/dist/collection/components/sqm-portal-register/usePortalRegister.js +131 -131
- package/dist/collection/components/sqm-portal-registration-form/PortalRegistrationForm.stories.js +105 -105
- package/dist/collection/components/sqm-portal-registration-form/sqm-portal-registration-form-view.js +80 -80
- package/dist/collection/components/sqm-portal-registration-form/sqm-portal-registration-form.js +590 -590
- package/dist/collection/components/sqm-portal-registration-form/usePortalRegistrationForm.js +207 -207
- package/dist/collection/components/sqm-portal-registration-form/useRegistrationFormState.js +8 -8
- package/dist/collection/components/sqm-portal-reset-password/PortalResetPassword.stories.js +153 -153
- package/dist/collection/components/sqm-portal-reset-password/sqm-portal-reset-password-view.js +76 -76
- package/dist/collection/components/sqm-portal-reset-password/sqm-portal-reset-password.js +331 -331
- package/dist/collection/components/sqm-portal-reset-password/usePortalResetPassword.js +77 -77
- package/dist/collection/components/sqm-portal-verify-email/PortalVerifyEmail.stories.js +39 -39
- package/dist/collection/components/sqm-portal-verify-email/sqm-portal-verify-email-view.js +42 -42
- package/dist/collection/components/sqm-portal-verify-email/sqm-portal-verify-email.js +135 -135
- package/dist/collection/components/sqm-portal-verify-email/usePortalVerifyEmail.js +60 -60
- package/dist/collection/components/sqm-program-explainer/ProgramExplainer.stories.js +50 -50
- package/dist/collection/components/sqm-program-explainer/sqm-program-explainer-view.js +44 -44
- package/dist/collection/components/sqm-program-explainer/sqm-program-explainer.js +100 -100
- package/dist/collection/components/sqm-program-explainer-step/ProgramExplainerStep.stories.js +14 -14
- package/dist/collection/components/sqm-program-explainer-step/sqm-program-explainer-step-view.js +71 -71
- package/dist/collection/components/sqm-program-explainer-step/sqm-program-explainer-step.js +164 -164
- package/dist/collection/components/sqm-program-menu/ProgramMenu.stories.js +39 -39
- package/dist/collection/components/sqm-program-menu/sqm-program-menu.js +26 -26
- package/dist/collection/components/sqm-program-menu/useProgramMenu.js +33 -33
- package/dist/collection/components/sqm-referral-card/ReferralCard.stories.js +79 -79
- package/dist/collection/components/sqm-referral-card/sqm-referral-card-view.js +56 -56
- package/dist/collection/components/sqm-referral-card/sqm-referral-card.js +69 -69
- package/dist/collection/components/sqm-referral-iframe/ReferralIframe.stories.js +29 -29
- package/dist/collection/components/sqm-referral-iframe/sqm-referral-iframe-view.js +29 -29
- package/dist/collection/components/sqm-referral-iframe/sqm-referral-iframe.js +158 -158
- package/dist/collection/components/sqm-referral-iframe/useReferralIframe.js +25 -25
- package/dist/collection/components/sqm-referral-table/ReferralTable.stories.js +540 -540
- package/dist/collection/components/sqm-referral-table/ReferralTableCell.stories.js +72 -72
- package/dist/collection/components/sqm-referral-table/ReferralTableRewardsCell.stories.js +233 -233
- package/dist/collection/components/sqm-referral-table/UseReferralTable.stories.js +149 -149
- package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-cell.js +36 -36
- package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-date-cell.js +61 -61
- package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-rewards-cell.js +345 -345
- package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-status-cell.js +58 -58
- package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-user-cell.js +27 -27
- package/dist/collection/components/sqm-referral-table/columns/ReferralTableColumn.js +1 -1
- package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-column.js +89 -89
- package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-date-column.js +180 -180
- package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-rewards-column.js +332 -332
- package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-status-column.js +181 -181
- package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-user-column.js +205 -205
- package/dist/collection/components/sqm-referral-table/mockReferralData.js +141 -141
- package/dist/collection/components/sqm-referral-table/sqm-referral-table.js +413 -413
- package/dist/collection/components/sqm-referral-table/useReferralTable.js +351 -351
- package/dist/collection/components/sqm-reward-exchange-list/RewardExchangeList.stories.js +31 -31
- package/dist/collection/components/sqm-reward-exchange-list/RewardExchangeListData.js +395 -395
- package/dist/collection/components/sqm-reward-exchange-list/SVGs.js +27 -27
- package/dist/collection/components/sqm-reward-exchange-list/UseRewardExchangeList.stories.js +143 -143
- package/dist/collection/components/sqm-reward-exchange-list/progressBar.js +64 -64
- package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list-view.js +613 -613
- package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list.js +781 -781
- package/dist/collection/components/sqm-reward-exchange-list/useRewardExchangeList.js +205 -205
- package/dist/collection/components/sqm-rewards-table/RewardsTable.stories.js +122 -122
- package/dist/collection/components/sqm-rewards-table/RewardsTableCell.stories.js +269 -269
- package/dist/collection/components/sqm-rewards-table/UseRewardsTable.stories.js +149 -149
- package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-customer-note-cell.js +57 -57
- package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-date-cell.js +61 -61
- package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-reward-cell.js +253 -253
- package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-source-cell.js +192 -192
- package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-status-cell.js +237 -237
- package/dist/collection/components/sqm-rewards-table/columns/RewardTableColumn.js +1 -1
- package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-date-column.js +138 -138
- package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-note-column.js +99 -99
- package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-reward-column.js +177 -177
- package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-source-column.js +245 -245
- package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-status-column.js +241 -241
- package/dist/collection/components/sqm-rewards-table/mockRewardData.js +103 -103
- package/dist/collection/components/sqm-rewards-table/sqm-rewards-table.js +357 -357
- package/dist/collection/components/sqm-rewards-table/useRewardsTable.js +235 -235
- package/dist/collection/components/sqm-route/sqm-route.js +41 -41
- package/dist/collection/components/sqm-router/Router.stories.js +144 -144
- package/dist/collection/components/sqm-router/sqm-router.css +7 -7
- package/dist/collection/components/sqm-router/sqm-router.js +31 -31
- package/dist/collection/components/sqm-router/useRouter.js +79 -79
- package/dist/collection/components/sqm-scroll/Scroll.stories.js +155 -155
- package/dist/collection/components/sqm-scroll/sqm-scroll.js +381 -381
- package/dist/collection/components/sqm-scroll/useScroll.js +17 -17
- package/dist/collection/components/sqm-share-button/ShareButton.stories.js +102 -102
- package/dist/collection/components/sqm-share-button/UseShareButton.stories.js +59 -59
- package/dist/collection/components/sqm-share-button/sqm-share-button-view.js +77 -77
- package/dist/collection/components/sqm-share-button/sqm-share-button.js +476 -476
- package/dist/collection/components/sqm-share-button/useShareButton.js +89 -89
- package/dist/collection/components/sqm-share-code/ShareCode.stories.js +17 -17
- package/dist/collection/components/sqm-share-code/sqm-share-code.js +152 -152
- package/dist/collection/components/sqm-share-code/useShareCode.js +49 -49
- package/dist/collection/components/sqm-share-link/ShareLink.stories.js +37 -37
- package/dist/collection/components/sqm-share-link/UseShareLink.stories.js +59 -59
- package/dist/collection/components/sqm-share-link/sqm-share-link-view.js +18 -18
- package/dist/collection/components/sqm-share-link/sqm-share-link.js +152 -152
- package/dist/collection/components/sqm-share-link/useShareLink.js +49 -49
- package/dist/collection/components/sqm-stat-container/sqm-stat-container-view.js +48 -48
- package/dist/collection/components/sqm-stat-container/sqm-stat-container.js +107 -107
- package/dist/collection/components/sqm-stencilbook/AutoColor.js +49 -49
- package/dist/collection/components/sqm-stencilbook/CucumberAddon.js +20 -20
- package/dist/collection/components/sqm-stencilbook/HookStoryAddon.js +19 -19
- package/dist/collection/components/sqm-stencilbook/Matrix.js +66 -66
- package/dist/collection/components/sqm-stencilbook/Resizer.js +27 -27
- package/dist/collection/components/sqm-stencilbook/Themes.js +44 -44
- package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +207 -207
- package/dist/collection/components/sqm-tab/sqm-tab-view.js +4 -4
- package/dist/collection/components/sqm-tab/sqm-tab.js +45 -45
- package/dist/collection/components/sqm-table-cell/sqm-table-cell.js +64 -64
- package/dist/collection/components/sqm-table-row/sqm-table-row.js +43 -43
- package/dist/collection/components/sqm-tabs/Tabs.stories.js +491 -491
- package/dist/collection/components/sqm-tabs/sqm-tabs-view.js +31 -31
- package/dist/collection/components/sqm-tabs/sqm-tabs.js +57 -57
- package/dist/collection/components/sqm-tabs/useTabs.js +48 -48
- package/dist/collection/components/sqm-task-card/DetailsView.js +53 -53
- package/dist/collection/components/sqm-task-card/SVGs.js +14 -14
- package/dist/collection/components/sqm-task-card/TaskCard.stories.js +437 -437
- package/dist/collection/components/sqm-task-card/UseTaskCard.stories.js +67 -67
- package/dist/collection/components/sqm-task-card/progress-bar/SVGs.js +15 -15
- package/dist/collection/components/sqm-task-card/progress-bar/progress-bar-view.js +398 -398
- package/dist/collection/components/sqm-task-card/sqm-task-card-view.js +286 -286
- package/dist/collection/components/sqm-task-card/sqm-task-card.js +753 -753
- package/dist/collection/components/sqm-task-card/useTaskCard.js +43 -43
- package/dist/collection/components/sqm-text/sqm-text.js +72 -72
- package/dist/collection/components/sqm-text-span/sqm-text-span-view.js +54 -54
- package/dist/collection/components/sqm-text-span/sqm-text-span.js +73 -73
- package/dist/collection/components/sqm-timeline/SVGs.js +10 -10
- package/dist/collection/components/sqm-timeline/Timeline.stories.js +70 -70
- package/dist/collection/components/sqm-timeline/sqm-timeline-entry-view.js +77 -77
- package/dist/collection/components/sqm-timeline/sqm-timeline-entry.js +144 -144
- package/dist/collection/components/sqm-timeline/sqm-timeline.js +83 -83
- package/dist/collection/components/sqm-titled-section/TitledSection.stories.js +224 -224
- package/dist/collection/components/sqm-titled-section/sqm-portal-section-view.js +22 -22
- package/dist/collection/components/sqm-titled-section/sqm-titled-section.js +170 -170
- package/dist/collection/components/sqm-user-name/UserName.stories.js +14 -14
- package/dist/collection/components/sqm-user-name/sqm-user-name-view.js +4 -4
- package/dist/collection/components/sqm-user-name/sqm-user-name.js +117 -117
- package/dist/collection/components/sqm-user-name/useUserName.js +26 -26
- package/dist/collection/fonts/GoogleFonts.js +12 -12
- package/dist/collection/global/global.js +80 -80
- package/dist/collection/global/mixins.js +100 -100
- package/dist/collection/global/styles.js +727 -727
- package/dist/collection/global/styles.ts +729 -729
- package/dist/collection/index.js +1 -1
- package/dist/collection/insertcss.js +44 -44
- package/dist/collection/stories/NewPortal.stories.js +303 -303
- package/dist/collection/stories/PortalTemplates.stories.js +149 -149
- package/dist/collection/stories/PoweredByImg.stories.js +14 -14
- package/dist/collection/stories/Widget.stories.js +49 -49
- package/dist/collection/styling/JSS.js +9 -9
- package/dist/collection/tables/GenericTableView.js +112 -112
- package/dist/collection/tables/TableSlots.js +30 -30
- package/dist/collection/tables/re-render.js +39 -39
- package/dist/collection/tables/useChildElements.js +27 -27
- package/dist/collection/utilities.js +21 -21
- package/dist/collection/utils/RequiredPropsError.js +56 -56
- package/dist/collection/utils/isDemo.js +10 -10
- package/dist/collection/utils/utils.js +49 -49
- package/dist/esm/{GenericTableView-5dd51546.js → GenericTableView-ce26115f.js} +110 -110
- package/dist/esm/{JSS-506b9295.js → JSS-67b5cff8.js} +1 -1
- package/dist/esm/{ShadowViewAddon-22b92aa8.js → ShadowViewAddon-4b1a1aa6.js} +3453 -3453
- package/dist/esm/{global-2d53ce16.js → global-3e7a1427.js} +837 -837
- package/dist/esm/{index.module-182f968a.js → index.module-877f3231.js} +2 -2
- package/dist/esm/loader.js +2 -2
- package/dist/esm/mint-components.js +2 -2
- package/dist/esm/{mixins-59fd94b7.js → mixins-f60a614c.js} +85 -85
- package/dist/esm/polyfills/core-js.js +0 -0
- package/dist/esm/polyfills/dom.js +0 -0
- package/dist/esm/polyfills/es5-html-element.js +0 -0
- package/dist/esm/polyfills/index.js +0 -0
- package/dist/esm/polyfills/system.js +0 -0
- package/dist/esm/raisins-plop-target.entry.js +13 -13
- package/dist/esm/{re-render-7bdd5406.js → re-render-6f3dcb69.js} +37 -37
- package/dist/esm/{sqm-asset-card-view-de0f3463.js → sqm-asset-card-view-b0f8ef8e.js} +44 -44
- package/dist/esm/sqm-asset-card.entry.js +32 -32
- package/dist/esm/sqm-big-stat_35.entry.js +3134 -3134
- package/dist/esm/sqm-empty_5.entry.js +191 -191
- package/dist/esm/sqm-form-message.entry.js +19 -19
- package/dist/esm/sqm-graphql-client-provider.entry.js +22 -22
- package/dist/esm/sqm-header-logo.entry.js +20 -20
- package/dist/esm/{sqm-hero-view-ed7fa8f3.js → sqm-hero-view-b8ce1900.js} +138 -138
- package/dist/esm/sqm-hero.entry.js +47 -47
- package/dist/esm/{sqm-leaderboard-rank-view-da91f5f3.js → sqm-leaderboard-rank-view-10657658.js} +3 -3
- package/dist/esm/sqm-leaderboard-rank.entry.js +72 -72
- package/dist/esm/{sqm-navigation-sidebar-item-view-cd5b9ad4.js → sqm-navigation-sidebar-item-view-36ee71d9.js} +38 -38
- package/dist/esm/sqm-navigation-sidebar-item.entry.js +40 -40
- package/dist/esm/{sqm-navigation-sidebar-view-e2347888.js → sqm-navigation-sidebar-view-aa1313e7.js} +29 -29
- package/dist/esm/sqm-navigation-sidebar.entry.js +13 -13
- package/dist/esm/sqm-password-field.entry.js +188 -188
- package/dist/esm/sqm-popup-container.entry.js +52 -52
- package/dist/esm/{sqm-portal-container-view-8f1bcc77.js → sqm-portal-container-view-228f2b65.js} +28 -28
- package/dist/esm/{sqm-portal-email-verification-view-c9bf4915.js → sqm-portal-email-verification-view-5cea9df2.js} +37 -37
- package/dist/esm/sqm-portal-email-verification.entry.js +97 -97
- package/dist/esm/{sqm-portal-footer-view-6b62b435.js → sqm-portal-footer-view-636ff6bb.js} +72 -72
- package/dist/esm/sqm-portal-footer.entry.js +57 -57
- package/dist/esm/{sqm-portal-forgot-password-view-38910bc9.js → sqm-portal-forgot-password-view-29c2e39b.js} +38 -38
- package/dist/esm/sqm-portal-forgot-password.entry.js +103 -103
- package/dist/esm/sqm-portal-logout.entry.js +22 -22
- package/dist/esm/{sqm-portal-profile-view-d81c99eb.js → sqm-portal-profile-view-9d0832f5.js} +65 -65
- package/dist/esm/sqm-portal-profile.entry.js +235 -235
- package/dist/esm/sqm-portal-protected-route.entry.js +56 -56
- package/dist/esm/sqm-portal-registration-form.entry.js +418 -418
- package/dist/esm/{sqm-portal-reset-password-view-55411ca5.js → sqm-portal-reset-password-view-06f6ffac.js} +74 -74
- package/dist/esm/sqm-portal-reset-password.entry.js +165 -165
- package/dist/esm/{sqm-portal-section-view-d64cd5de.js → sqm-portal-section-view-a991e019.js} +20 -20
- package/dist/esm/{sqm-portal-verify-email-view-7ba350f9.js → sqm-portal-verify-email-view-833644ac.js} +40 -40
- package/dist/esm/sqm-portal-verify-email.entry.js +103 -103
- package/dist/esm/sqm-referral-table_11.entry.js +750 -750
- package/dist/esm/sqm-rewards-table-customer-note-cell.entry.js +14 -14
- package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +24 -24
- package/dist/esm/sqm-rewards-table_9.entry.js +959 -959
- package/dist/esm/sqm-route.entry.js +9 -9
- package/dist/esm/sqm-stencilbook.entry.js +7820 -7820
- package/dist/esm/sqm-tab.entry.js +14 -14
- package/dist/esm/sqm-tabs.entry.js +86 -86
- package/dist/esm/{sqm-text-span-view-20c0f018.js → sqm-text-span-view-8b194920.js} +52 -52
- package/dist/esm/sqm-text-span.entry.js +13 -13
- package/dist/esm/{useChildElements-6b604066.js → useChildElements-ec1deff1.js} +25 -25
- package/dist/esm/{useReferralTable-d6c715cc.js → useReferralTable-e06d8d37.js} +346 -346
- package/dist/esm/{useRegistrationFormState-fe8c0fd5.js → useRegistrationFormState-1490be1c.js} +6 -6
- package/dist/esm/{utils-d7bbb0e2.js → utils-334c1e34.js} +38 -38
- package/dist/esm-es5/{GenericTableView-5dd51546.js → GenericTableView-ce26115f.js} +1 -1
- package/dist/esm-es5/{JSS-506b9295.js → JSS-67b5cff8.js} +0 -0
- package/dist/esm-es5/ShadowViewAddon-4b1a1aa6.js +1 -0
- package/dist/esm-es5/{global-2d53ce16.js → global-3e7a1427.js} +1 -1
- package/dist/esm-es5/index.module-877f3231.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/{mixins-59fd94b7.js → mixins-f60a614c.js} +0 -0
- package/dist/esm-es5/{re-render-7bdd5406.js → re-render-6f3dcb69.js} +1 -1
- package/dist/esm-es5/{sqm-asset-card-view-de0f3463.js → sqm-asset-card-view-b0f8ef8e.js} +1 -1
- package/dist/esm-es5/sqm-asset-card.entry.js +1 -1
- package/dist/esm-es5/sqm-big-stat_35.entry.js +1 -1
- package/dist/esm-es5/sqm-empty_5.entry.js +1 -1
- package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
- package/dist/esm-es5/{sqm-hero-view-ed7fa8f3.js → sqm-hero-view-b8ce1900.js} +1 -1
- package/dist/esm-es5/sqm-hero.entry.js +1 -1
- package/dist/esm-es5/{sqm-leaderboard-rank-view-da91f5f3.js → sqm-leaderboard-rank-view-10657658.js} +0 -0
- package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
- package/dist/esm-es5/{sqm-navigation-sidebar-item-view-cd5b9ad4.js → sqm-navigation-sidebar-item-view-36ee71d9.js} +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
- package/dist/esm-es5/{sqm-navigation-sidebar-view-e2347888.js → sqm-navigation-sidebar-view-aa1313e7.js} +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
- package/dist/esm-es5/sqm-password-field.entry.js +1 -1
- package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-container-view-8f1bcc77.js → sqm-portal-container-view-228f2b65.js} +1 -1
- package/dist/esm-es5/{sqm-portal-email-verification-view-c9bf4915.js → sqm-portal-email-verification-view-5cea9df2.js} +1 -1
- package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-footer-view-6b62b435.js → sqm-portal-footer-view-636ff6bb.js} +1 -1
- package/dist/esm-es5/sqm-portal-footer.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-forgot-password-view-38910bc9.js → sqm-portal-forgot-password-view-29c2e39b.js} +1 -1
- package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-profile-view-d81c99eb.js → sqm-portal-profile-view-9d0832f5.js} +1 -1
- package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-registration-form.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-reset-password-view-55411ca5.js → sqm-portal-reset-password-view-06f6ffac.js} +1 -1
- package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-section-view-d64cd5de.js → sqm-portal-section-view-a991e019.js} +1 -1
- package/dist/esm-es5/{sqm-portal-verify-email-view-7ba350f9.js → sqm-portal-verify-email-view-833644ac.js} +1 -1
- package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
- package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
- package/dist/esm-es5/sqm-rewards-table-customer-note-cell.entry.js +1 -1
- package/dist/esm-es5/sqm-rewards-table-customer-note-column.entry.js +1 -1
- package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
- package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
- package/dist/esm-es5/sqm-tab.entry.js +1 -1
- package/dist/esm-es5/sqm-tabs.entry.js +1 -1
- package/dist/esm-es5/{sqm-text-span-view-20c0f018.js → sqm-text-span-view-8b194920.js} +1 -1
- package/dist/esm-es5/sqm-text-span.entry.js +1 -1
- package/dist/esm-es5/useChildElements-ec1deff1.js +1 -0
- package/dist/esm-es5/{useReferralTable-d6c715cc.js → useReferralTable-e06d8d37.js} +1 -1
- package/dist/esm-es5/{useRegistrationFormState-fe8c0fd5.js → useRegistrationFormState-1490be1c.js} +1 -1
- package/dist/esm-es5/{utils-d7bbb0e2.js → utils-334c1e34.js} +0 -0
- package/dist/mint-components/global/styles.ts +729 -729
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/mint-components.js +1 -1
- package/dist/mint-components/{p-c1a390de.entry.js → p-00732eb1.entry.js} +1 -1
- package/dist/mint-components/{p-f2473b87.system.js → p-018ab72e.system.js} +1 -1
- package/dist/mint-components/{p-61ff3ceb.js → p-02be1a88.js} +0 -0
- package/dist/mint-components/{p-0f1fc54b.entry.js → p-02cc2ae0.entry.js} +1 -1
- package/dist/mint-components/{p-a0b933b5.js → p-043501b1.js} +1 -1
- package/dist/mint-components/p-09aa9647.system.entry.js +1 -0
- package/dist/mint-components/{p-9e0cbd37.system.entry.js → p-0a27f867.system.entry.js} +1 -1
- package/dist/mint-components/{p-b3af1c6f.js → p-0a898ab1.js} +0 -0
- package/dist/mint-components/{p-8c4008c7.system.entry.js → p-0de3798e.system.entry.js} +1 -1
- package/dist/mint-components/{p-93c87625.entry.js → p-0e6dd3c3.entry.js} +1 -1
- package/dist/mint-components/{p-c304cdde.system.js → p-0e6f1340.system.js} +1 -1
- package/dist/mint-components/{p-232b3162.js → p-0eafd192.js} +1 -1
- package/dist/mint-components/{p-1cc7a8e6.system.js → p-0f20108e.system.js} +1 -1
- package/dist/mint-components/{p-14aacddf.js → p-13cfd4bd.js} +1 -1
- package/dist/mint-components/{p-d1120af1.system.entry.js → p-1777aab5.system.entry.js} +1 -1
- package/dist/mint-components/{p-8128c64d.system.js → p-177f1699.system.js} +1 -1
- package/dist/mint-components/{p-628437e6.entry.js → p-19f572c9.entry.js} +1 -1
- package/dist/mint-components/{p-3bb4fd18.system.js → p-1a673057.system.js} +0 -0
- package/dist/mint-components/{p-bee7390e.entry.js → p-1d4e2d70.entry.js} +1 -1
- package/dist/mint-components/p-1e666517.system.js +1 -0
- package/dist/mint-components/p-239a3202.js +1 -0
- package/dist/mint-components/{p-864be7c2.js → p-24d6c3fd.js} +1 -1
- package/dist/mint-components/{p-e1d417f0.js → p-26e0a9a1.js} +1 -1
- package/dist/mint-components/p-27cd896e.entry.js +1 -0
- package/dist/mint-components/{p-d1242e79.system.js → p-27da3d2f.system.js} +1 -1
- package/dist/mint-components/{p-9fd08e41.js → p-2895613d.js} +1 -1
- package/dist/mint-components/{p-dc4a6915.system.entry.js → p-2a2dcc94.system.entry.js} +1 -1
- package/dist/mint-components/{p-abd000bb.system.entry.js → p-31852747.system.entry.js} +1 -1
- package/dist/mint-components/{p-81e74b07.entry.js → p-3210ae3e.entry.js} +2 -2
- package/dist/mint-components/{p-ea7ba030.system.entry.js → p-3cd4d8bb.system.entry.js} +1 -1
- package/dist/mint-components/{p-c673a18d.system.js → p-3eb37132.system.js} +1 -1
- package/dist/mint-components/{p-3b7d870e.entry.js → p-3f15986b.entry.js} +1 -1
- package/dist/mint-components/p-43df1499.system.entry.js +1 -0
- package/dist/mint-components/{p-330680dd.system.js → p-486f5810.system.js} +1 -1
- package/dist/mint-components/{p-f3a65df7.js → p-4b83d7ea.js} +1 -1
- package/dist/mint-components/{p-b3436fd3.system.entry.js → p-528ce342.system.entry.js} +1 -1
- package/dist/mint-components/{p-b505d3f6.entry.js → p-568fee15.entry.js} +1 -1
- package/dist/mint-components/p-5711de63.system.js +1 -0
- package/dist/mint-components/{p-b3610b44.entry.js → p-58c173ff.entry.js} +1 -1
- package/dist/mint-components/{p-72929b64.entry.js → p-5c89fdcf.entry.js} +1 -1
- package/dist/mint-components/{p-621a2912.system.js → p-5d4d81bf.system.js} +1 -1
- package/dist/mint-components/{p-2d1a9da2.system.js → p-5dcd31b1.system.js} +1 -1
- package/dist/mint-components/{p-80f43007.js → p-5fd41dab.js} +1 -1
- package/dist/mint-components/{p-6b7e68eb.system.js → p-5fdd7c33.system.js} +1 -1
- package/dist/mint-components/{p-a92677a0.system.js → p-6333265f.system.js} +0 -0
- package/dist/mint-components/{p-b255b947.system.entry.js → p-634c11a9.system.entry.js} +1 -1
- package/dist/mint-components/{p-4a08f463.system.entry.js → p-63a82133.system.entry.js} +1 -1
- package/dist/mint-components/{p-09002dfe.entry.js → p-6afbdcf9.entry.js} +1 -1
- package/dist/mint-components/{p-bf055b6c.system.js → p-6b5e355c.system.js} +0 -0
- package/dist/mint-components/{p-774c9bb9.system.js → p-6b8b7dc0.system.js} +1 -1
- package/dist/mint-components/{p-2dc6e74c.js → p-6dd27a5e.js} +1 -1
- package/dist/mint-components/{p-1938d66f.system.entry.js → p-6f7f2785.system.entry.js} +1 -1
- package/dist/mint-components/{p-3a48a5fc.js → p-723060e1.js} +1 -1
- package/dist/mint-components/{p-a9aa3051.system.entry.js → p-731657f5.system.entry.js} +1 -1
- package/dist/mint-components/{p-e2ba5f3e.system.entry.js → p-74496f9b.system.entry.js} +1 -1
- package/dist/mint-components/{p-1d0d3455.entry.js → p-756dc511.entry.js} +1 -1
- package/dist/mint-components/{p-ff39746d.js → p-78dcf8ff.js} +1 -1
- package/dist/mint-components/{p-8b04fbb7.system.entry.js → p-848cd7ea.system.entry.js} +1 -1
- package/dist/mint-components/{p-7ee5acdf.system.js → p-8762216a.system.js} +1 -1
- package/dist/mint-components/{p-f2bc3f74.system.entry.js → p-88636d99.system.entry.js} +1 -1
- package/dist/mint-components/{p-b5a4721d.system.entry.js → p-8cb184bb.system.entry.js} +1 -1
- package/dist/mint-components/p-919b93f1.js +1 -0
- package/dist/mint-components/{p-8be217ba.entry.js → p-93d76d7e.entry.js} +1 -1
- package/dist/mint-components/{p-299e1993.system.js → p-94d0d79c.system.js} +1 -1
- package/dist/mint-components/{p-9c5f124f.js → p-9ec99ced.js} +0 -0
- package/dist/mint-components/{p-730c68cb.js → p-a05d3b2a.js} +1 -1
- package/dist/mint-components/{p-1fbf8d0b.js → p-a4505a80.js} +1 -1
- package/dist/mint-components/{p-5a1ed9bb.js → p-a46c0d32.js} +1 -1
- package/dist/mint-components/{p-b0378abd.system.js → p-a52da2f8.system.js} +1 -1
- package/dist/mint-components/{p-d360ded5.entry.js → p-a5c3ea10.entry.js} +2 -2
- package/dist/mint-components/p-a7021805.entry.js +1 -0
- package/dist/mint-components/{p-a703f10c.entry.js → p-aa585602.entry.js} +1 -1
- package/dist/mint-components/{p-c5f964fe.system.entry.js → p-aff79391.system.entry.js} +1 -1
- package/dist/mint-components/{p-f30000d4.js → p-b21814ac.js} +1 -1
- package/dist/mint-components/{p-70d9ab34.system.js → p-b2e6f2e3.system.js} +1 -1
- package/dist/mint-components/{p-5656b8ae.entry.js → p-b690dfc3.entry.js} +1 -1
- package/dist/mint-components/{p-5ee5e7a8.entry.js → p-bad3afd4.entry.js} +2 -2
- package/dist/mint-components/{p-0bf5d514.system.js → p-bef0a1f4.system.js} +1 -1
- package/dist/mint-components/p-c2046070.system.entry.js +1 -0
- package/dist/mint-components/p-c2c92ece.entry.js +1 -0
- package/dist/mint-components/{p-fb5ed550.system.entry.js → p-c5b1e781.system.entry.js} +1 -1
- package/dist/mint-components/{p-6029249e.js → p-c785501a.js} +1 -1
- package/dist/mint-components/{p-8ab88002.system.entry.js → p-c869970e.system.entry.js} +1 -1
- package/dist/mint-components/{p-6618fd3c.js → p-c8dc66a7.js} +2 -2
- package/dist/mint-components/{p-0878d563.system.entry.js → p-cdec6312.system.entry.js} +1 -1
- package/dist/mint-components/{p-85e934c8.js → p-cef45012.js} +0 -0
- package/dist/mint-components/p-d87cb54b.entry.js +9 -0
- package/dist/mint-components/p-d955e3a4.system.js +1 -0
- package/dist/mint-components/{p-71621a16.js → p-d9a21b16.js} +1 -1
- package/dist/mint-components/{p-6cf891f8.system.entry.js → p-de745531.system.entry.js} +1 -1
- package/dist/mint-components/p-e35a0890.js +1 -0
- package/dist/mint-components/{p-51fc3d02.system.js → p-e58c257b.system.js} +1 -1
- package/dist/mint-components/{p-ef6c93bd.system.entry.js → p-e84ac911.system.entry.js} +1 -1
- package/dist/mint-components/{p-e2c261ce.entry.js → p-eaa9a926.entry.js} +1 -1
- package/dist/mint-components/{p-a6512084.system.entry.js → p-ed7a788f.system.entry.js} +1 -1
- package/dist/mint-components/{p-c1edb4ab.system.js → p-edba9e57.system.js} +1 -1
- package/dist/mint-components/{p-4708ece8.system.js → p-ef18a3bd.system.js} +1 -1
- package/dist/mint-components/{p-938d27a0.system.entry.js → p-ef84ea76.system.entry.js} +1 -1
- package/dist/mint-components/{p-573c4b39.system.js → p-f6934a55.system.js} +0 -0
- package/dist/mint-components/{p-be200652.entry.js → p-f6ffeb8e.entry.js} +1 -1
- package/dist/mint-components/{p-070c40ea.entry.js → p-f77faf82.entry.js} +1 -1
- package/dist/mint-components/{p-3644d6d0.entry.js → p-f8e32f0d.entry.js} +3 -3
- package/dist/mint-components/{p-efcf6de8.system.entry.js → p-f912105b.system.entry.js} +1 -1
- package/dist/mint-components/{p-96c9252c.entry.js → p-fb9c8388.entry.js} +1 -1
- package/dist/mint-components/{p-e2be1c03.entry.js → p-ff68c6ab.entry.js} +1 -1
- package/dist/types/ShadowViewAddon.d.ts +6 -6
- package/dist/types/components/raisins-plop-target/raisins-plop-target.d.ts +9 -9
- package/dist/types/components/sqm-asset-card/AssetCard.stories.d.ts +7 -7
- package/dist/types/components/sqm-asset-card/sqm-asset-card-view.d.ts +8 -8
- package/dist/types/components/sqm-asset-card/sqm-asset-card.d.ts +24 -24
- package/dist/types/components/sqm-asset-card/useAssetCard.d.ts +7 -7
- package/dist/types/components/sqm-big-stat/BigStat.stories.d.ts +16 -16
- package/dist/types/components/sqm-big-stat/UseBigStat.stories.d.ts +196 -196
- package/dist/types/components/sqm-big-stat/sqm-big-stat-view.d.ts +10 -10
- package/dist/types/components/sqm-big-stat/sqm-big-stat.d.ts +55 -55
- package/dist/types/components/sqm-big-stat/useBigStat.d.ts +22 -22
- package/dist/types/components/sqm-big-stat/useDemoBigStat.d.ts +3 -3
- package/dist/types/components/sqm-brand/SqmBrand.stories.d.ts +10 -10
- package/dist/types/components/sqm-brand/sqm-brand.d.ts +26 -26
- package/dist/types/components/sqm-card-feed/CardFeed.stories.d.ts +13 -13
- package/dist/types/components/sqm-card-feed/sqm-card-feed-view.d.ts +6 -6
- package/dist/types/components/sqm-card-feed/sqm-card-feed.d.ts +21 -21
- package/dist/types/components/sqm-checkbox-field/CheckboxField.stories.d.ts +55 -55
- package/dist/types/components/sqm-checkbox-field/UseCheckboxField.stories.d.ts +37 -37
- package/dist/types/components/sqm-checkbox-field/sqm-checkbox-field-view.d.ts +19 -19
- package/dist/types/components/sqm-checkbox-field/sqm-checkbox-field.d.ts +48 -48
- package/dist/types/components/sqm-checkbox-field/useCheckboxField.d.ts +11 -11
- package/dist/types/components/sqm-divided-layout/DividedLayout.stories.d.ts +7 -7
- package/dist/types/components/sqm-divided-layout/sqm-divided-layout-view.d.ts +7 -7
- package/dist/types/components/sqm-divided-layout/sqm-divided-layout.d.ts +24 -24
- package/dist/types/components/sqm-dropdown-field/DropdownField.stories.d.ts +28 -28
- package/dist/types/components/sqm-dropdown-field/UseDropdownField.stories.d.ts +22 -22
- package/dist/types/components/sqm-dropdown-field/sqm-dropdown-field-view.d.ts +15 -15
- package/dist/types/components/sqm-dropdown-field/sqm-dropdown-field.d.ts +39 -39
- package/dist/types/components/sqm-dropdown-field/useDropdownField.d.ts +6 -6
- package/dist/types/components/sqm-edit-profile/EditProfileForm.stories.d.ts +7 -7
- package/dist/types/components/sqm-edit-profile/UseEditProfile.stories.d.ts +10 -10
- package/dist/types/components/sqm-edit-profile/sqm-edit-profile-view.d.ts +37 -37
- package/dist/types/components/sqm-edit-profile/sqm-edit-profile.d.ts +51 -51
- package/dist/types/components/sqm-edit-profile/useEditProfile.d.ts +12 -12
- package/dist/types/components/sqm-empty/EmptyState.stories.d.ts +9 -9
- package/dist/types/components/sqm-empty/sqm-empty-view.d.ts +6 -6
- package/dist/types/components/sqm-empty/sqm-empty.d.ts +19 -19
- package/dist/types/components/sqm-form-message/FormMessage.stories.d.ts +8 -8
- package/dist/types/components/sqm-form-message/sqm-form-message.d.ts +20 -20
- package/dist/types/components/sqm-graphql-client-provider/sqm-graphql-client-provider.d.ts +15 -15
- package/dist/types/components/sqm-graphql-client-provider/useGraphQLProvider.d.ts +3 -3
- package/dist/types/components/sqm-header-logo/sqm-header-logo.d.ts +25 -25
- package/dist/types/components/sqm-hero/Hero.stories.d.ts +16 -16
- package/dist/types/components/sqm-hero/sqm-hero-view.d.ts +15 -15
- package/dist/types/components/sqm-hero/sqm-hero.d.ts +43 -43
- package/dist/types/components/sqm-hero-image/HeroImage.stories.d.ts +23 -23
- package/dist/types/components/sqm-hero-image/sqm-hero-image-view.d.ts +21 -21
- package/dist/types/components/sqm-hero-image/sqm-hero-image.d.ts +102 -102
- package/dist/types/components/sqm-hook-story-container/sqm-hook-story-container.d.ts +11 -11
- package/dist/types/components/sqm-image/Image.stories.d.ts +13 -13
- package/dist/types/components/sqm-image/sqm-image-view.d.ts +9 -9
- package/dist/types/components/sqm-image/sqm-image.d.ts +33 -33
- package/dist/types/components/sqm-input-field/InputField.stories.d.ts +15 -15
- package/dist/types/components/sqm-input-field/UseInputField.stories.d.ts +49 -49
- package/dist/types/components/sqm-input-field/sqm-input-field-view.d.ts +14 -14
- package/dist/types/components/sqm-input-field/sqm-input-field.d.ts +46 -46
- package/dist/types/components/sqm-input-field/useInputField.d.ts +6 -6
- package/dist/types/components/sqm-leaderboard/Leaderboard.stories.d.ts +17 -17
- package/dist/types/components/sqm-leaderboard/UseLeaderboard.stories.d.ts +52 -52
- package/dist/types/components/sqm-leaderboard/sqm-leaderboard-view.d.ts +37 -37
- package/dist/types/components/sqm-leaderboard/sqm-leaderboard.d.ts +80 -80
- package/dist/types/components/sqm-leaderboard/useLeaderboard.d.ts +31 -31
- package/dist/types/components/sqm-leaderboard-rank/LeaderboardRank.stories.d.ts +10 -10
- package/dist/types/components/sqm-leaderboard-rank/sqm-leaderboard-rank-view.d.ts +6 -6
- package/dist/types/components/sqm-leaderboard-rank/sqm-leaderboard-rank.d.ts +53 -53
- package/dist/types/components/sqm-leaderboard-rank/useLeaderboardRank.d.ts +10 -10
- package/dist/types/components/sqm-name-fields/NameFields.stories.d.ts +9 -9
- package/dist/types/components/sqm-name-fields/sqm-name-fields-view.d.ts +11 -11
- package/dist/types/components/sqm-name-fields/sqm-name-fields.d.ts +27 -27
- package/dist/types/components/sqm-name-fields/useNameFields.d.ts +11 -11
- package/dist/types/components/sqm-navigation-menu/sqm-navigation-menu-view.d.ts +15 -15
- package/dist/types/components/sqm-navigation-menu/sqm-navigation-menu.d.ts +26 -26
- package/dist/types/components/sqm-navigation-menu/useNavigationMenu.d.ts +3 -3
- package/dist/types/components/sqm-navigation-sidebar/NavigationSidebar.stories.d.ts +5 -5
- package/dist/types/components/sqm-navigation-sidebar/sqm-navigation-sidebar-view.d.ts +4 -4
- package/dist/types/components/sqm-navigation-sidebar/sqm-navigation-sidebar.d.ts +10 -10
- package/dist/types/components/sqm-navigation-sidebar-item/SidebarItem.stories.d.ts +6 -6
- package/dist/types/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item-view.d.ts +11 -11
- package/dist/types/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item.d.ts +33 -33
- package/dist/types/components/sqm-navigation-sidebar-item/useNavigationSidebarItem.d.ts +3 -3
- package/dist/types/components/sqm-password-field/PasswordField.stories.d.ts +7 -7
- package/dist/types/components/sqm-password-field/passwordValidation.d.ts +1 -1
- package/dist/types/components/sqm-password-field/sqm-password-field-view.d.ts +16 -16
- package/dist/types/components/sqm-password-field/sqm-password-field.d.ts +39 -39
- package/dist/types/components/sqm-password-field/usePasswordField.d.ts +3 -3
- package/dist/types/components/sqm-popup-container/sqm-popup-container-view.d.ts +4 -4
- package/dist/types/components/sqm-popup-container/sqm-popup-container.d.ts +45 -45
- package/dist/types/components/sqm-popup-container/usePopupContainer.d.ts +33 -33
- package/dist/types/components/sqm-portal-change-password/ChangePassword.stories.d.ts +13 -13
- package/dist/types/components/sqm-portal-change-password/sqm-portal-change-password-view.d.ts +23 -23
- package/dist/types/components/sqm-portal-change-password/sqm-portal-change-password.d.ts +61 -61
- package/dist/types/components/sqm-portal-change-password/usePortalChangePassword.d.ts +24 -24
- package/dist/types/components/sqm-portal-container/PortalContainer.stories.d.ts +21 -21
- package/dist/types/components/sqm-portal-container/sqm-portal-container-view.d.ts +14 -14
- package/dist/types/components/sqm-portal-container/sqm-portal-container.d.ts +61 -61
- package/dist/types/components/sqm-portal-email-verification/PortalEmailVerification.stories.d.ts +11 -11
- package/dist/types/components/sqm-portal-email-verification/sqm-portal-email-verification-view.d.ts +17 -17
- package/dist/types/components/sqm-portal-email-verification/sqm-portal-email-verification.d.ts +36 -36
- package/dist/types/components/sqm-portal-email-verification/usePortalEmailVerification.d.ts +17 -17
- package/dist/types/components/sqm-portal-footer/PortalFooter.stories.d.ts +12 -12
- package/dist/types/components/sqm-portal-footer/PoweredByImg.d.ts +7 -7
- package/dist/types/components/sqm-portal-footer/sqm-portal-footer-view.d.ts +16 -16
- package/dist/types/components/sqm-portal-footer/sqm-portal-footer.d.ts +66 -66
- package/dist/types/components/sqm-portal-forgot-password/PortalForgotPassword.stories.d.ts +11 -11
- package/dist/types/components/sqm-portal-forgot-password/sqm-portal-forgot-password-view.d.ts +18 -18
- package/dist/types/components/sqm-portal-forgot-password/sqm-portal-forgot-password.d.ts +45 -45
- package/dist/types/components/sqm-portal-forgot-password/usePortalForgotPassword.d.ts +14 -14
- package/dist/types/components/sqm-portal-frame/PortalFrame.stories.d.ts +8 -8
- package/dist/types/components/sqm-portal-frame/sqm-portal-frame-view.d.ts +11 -11
- package/dist/types/components/sqm-portal-frame/sqm-portal-frame.d.ts +17 -17
- package/dist/types/components/sqm-portal-frame/usePortalFrame.d.ts +3 -3
- package/dist/types/components/sqm-portal-login/PortalLogin.stories.d.ts +7 -7
- package/dist/types/components/sqm-portal-login/sqm-portal-login-view.d.ts +20 -20
- package/dist/types/components/sqm-portal-login/sqm-portal-login.d.ts +60 -60
- package/dist/types/components/sqm-portal-login/usePortalLogin.d.ts +11 -11
- package/dist/types/components/sqm-portal-logout/sqm-portal-logout.d.ts +16 -16
- package/dist/types/components/sqm-portal-logout/usePortalLogout.d.ts +3 -3
- package/dist/types/components/sqm-portal-profile/PortalProfile.stories.d.ts +10 -10
- package/dist/types/components/sqm-portal-profile/sqm-portal-profile-view.d.ts +37 -37
- package/dist/types/components/sqm-portal-profile/sqm-portal-profile.d.ts +48 -48
- package/dist/types/components/sqm-portal-profile/usePortalProfile.d.ts +12 -12
- package/dist/types/components/sqm-portal-protected-route/sqm-portal-protected-route.d.ts +26 -26
- package/dist/types/components/sqm-portal-protected-route/usePortalProtectedRoute.d.ts +7 -7
- package/dist/types/components/sqm-portal-register/PortalRegister.stories.d.ts +10 -10
- package/dist/types/components/sqm-portal-register/sqm-portal-register-view.d.ts +32 -32
- package/dist/types/components/sqm-portal-register/sqm-portal-register.d.ts +76 -76
- package/dist/types/components/sqm-portal-register/usePortalRegister.d.ts +26 -26
- package/dist/types/components/sqm-portal-registration-form/PortalRegistrationForm.stories.d.ts +10 -10
- package/dist/types/components/sqm-portal-registration-form/sqm-portal-registration-form-view.d.ts +32 -32
- package/dist/types/components/sqm-portal-registration-form/sqm-portal-registration-form.d.ts +118 -118
- package/dist/types/components/sqm-portal-registration-form/usePortalRegistrationForm.d.ts +27 -27
- package/dist/types/components/sqm-portal-registration-form/useRegistrationFormState.d.ts +19 -19
- package/dist/types/components/sqm-portal-reset-password/PortalResetPassword.stories.d.ts +13 -13
- package/dist/types/components/sqm-portal-reset-password/sqm-portal-reset-password-view.d.ts +26 -26
- package/dist/types/components/sqm-portal-reset-password/sqm-portal-reset-password.d.ts +63 -63
- package/dist/types/components/sqm-portal-reset-password/usePortalResetPassword.d.ts +3 -3
- package/dist/types/components/sqm-portal-verify-email/PortalVerifyEmail.stories.d.ts +9 -9
- package/dist/types/components/sqm-portal-verify-email/sqm-portal-verify-email-view.d.ts +15 -15
- package/dist/types/components/sqm-portal-verify-email/sqm-portal-verify-email.d.ts +30 -30
- package/dist/types/components/sqm-portal-verify-email/usePortalVerifyEmail.d.ts +17 -17
- package/dist/types/components/sqm-program-explainer/ProgramExplainer.stories.d.ts +12 -12
- package/dist/types/components/sqm-program-explainer/sqm-program-explainer-view.d.ts +7 -7
- package/dist/types/components/sqm-program-explainer/sqm-program-explainer.d.ts +28 -28
- package/dist/types/components/sqm-program-explainer-step/ProgramExplainerStep.stories.d.ts +9 -9
- package/dist/types/components/sqm-program-explainer-step/sqm-program-explainer-step-view.d.ts +9 -9
- package/dist/types/components/sqm-program-explainer-step/sqm-program-explainer-step.d.ts +46 -46
- package/dist/types/components/sqm-program-menu/ProgramMenu.stories.d.ts +28 -28
- package/dist/types/components/sqm-program-menu/sqm-program-menu.d.ts +11 -11
- package/dist/types/components/sqm-program-menu/useProgramMenu.d.ts +13 -13
- package/dist/types/components/sqm-referral-card/ReferralCard.stories.d.ts +14 -14
- package/dist/types/components/sqm-referral-card/sqm-referral-card-view.d.ts +9 -9
- package/dist/types/components/sqm-referral-card/sqm-referral-card.d.ts +19 -19
- package/dist/types/components/sqm-referral-iframe/ReferralIframe.stories.d.ts +9 -9
- package/dist/types/components/sqm-referral-iframe/sqm-referral-iframe-view.d.ts +13 -13
- package/dist/types/components/sqm-referral-iframe/sqm-referral-iframe.d.ts +32 -32
- package/dist/types/components/sqm-referral-iframe/useReferralIframe.d.ts +3 -3
- package/dist/types/components/sqm-referral-table/ReferralTable.stories.d.ts +18 -18
- package/dist/types/components/sqm-referral-table/ReferralTableCell.stories.d.ts +13 -13
- package/dist/types/components/sqm-referral-table/ReferralTableRewardsCell.stories.d.ts +23 -23
- package/dist/types/components/sqm-referral-table/UseReferralTable.stories.d.ts +40 -40
- package/dist/types/components/sqm-referral-table/cells/sqm-referral-table-cell.d.ts +7 -7
- package/dist/types/components/sqm-referral-table/cells/sqm-referral-table-date-cell.d.ts +8 -8
- package/dist/types/components/sqm-referral-table/cells/sqm-referral-table-rewards-cell.d.ts +12 -12
- package/dist/types/components/sqm-referral-table/cells/sqm-referral-table-status-cell.d.ts +5 -5
- package/dist/types/components/sqm-referral-table/cells/sqm-referral-table-user-cell.d.ts +4 -4
- package/dist/types/components/sqm-referral-table/columns/ReferralTableColumn.d.ts +6 -6
- package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-column.d.ts +16 -16
- package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-date-column.d.ts +41 -41
- package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-rewards-column.d.ts +62 -62
- package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-status-column.d.ts +27 -27
- package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-user-column.d.ts +31 -31
- package/dist/types/components/sqm-referral-table/mockReferralData.d.ts +83 -83
- package/dist/types/components/sqm-referral-table/sqm-referral-table.d.ts +56 -56
- package/dist/types/components/sqm-referral-table/useReferralTable.d.ts +8 -8
- package/dist/types/components/sqm-reward-exchange-list/RewardExchangeList.stories.d.ts +25 -25
- package/dist/types/components/sqm-reward-exchange-list/RewardExchangeListData.d.ts +1064 -1064
- package/dist/types/components/sqm-reward-exchange-list/SVGs.d.ts +5 -5
- package/dist/types/components/sqm-reward-exchange-list/UseRewardExchangeList.stories.d.ts +28 -28
- package/dist/types/components/sqm-reward-exchange-list/progressBar.d.ts +4 -4
- package/dist/types/components/sqm-reward-exchange-list/sqm-reward-exchange-list-view.d.ts +62 -62
- package/dist/types/components/sqm-reward-exchange-list/sqm-reward-exchange-list.d.ts +147 -147
- package/dist/types/components/sqm-reward-exchange-list/useRewardExchangeList.d.ts +88 -88
- package/dist/types/components/sqm-rewards-table/RewardsTable.stories.d.ts +14 -14
- package/dist/types/components/sqm-rewards-table/RewardsTableCell.stories.d.ts +39 -39
- package/dist/types/components/sqm-rewards-table/UseRewardsTable.stories.d.ts +40 -40
- package/dist/types/components/sqm-rewards-table/cells/sqm-rewards-table-customer-note-cell.d.ts +8 -8
- package/dist/types/components/sqm-rewards-table/cells/sqm-rewards-table-date-cell.d.ts +8 -8
- package/dist/types/components/sqm-rewards-table/cells/sqm-rewards-table-reward-cell.d.ts +8 -8
- package/dist/types/components/sqm-rewards-table/cells/sqm-rewards-table-source-cell.d.ts +10 -10
- package/dist/types/components/sqm-rewards-table/cells/sqm-rewards-table-status-cell.d.ts +11 -11
- package/dist/types/components/sqm-rewards-table/columns/RewardTableColumn.d.ts +5 -5
- package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-date-column.d.ts +29 -29
- package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-note-column.d.ts +18 -18
- package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-reward-column.d.ts +30 -30
- package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-source-column.d.ts +48 -48
- package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-status-column.d.ts +47 -47
- package/dist/types/components/sqm-rewards-table/mockRewardData.d.ts +45 -45
- package/dist/types/components/sqm-rewards-table/sqm-rewards-table.d.ts +43 -43
- package/dist/types/components/sqm-rewards-table/useRewardsTable.d.ts +6 -6
- package/dist/types/components/sqm-route/sqm-route.d.ts +17 -17
- package/dist/types/components/sqm-router/Router.stories.d.ts +28 -28
- package/dist/types/components/sqm-router/sqm-router.d.ts +10 -10
- package/dist/types/components/sqm-router/useRouter.d.ts +9 -9
- package/dist/types/components/sqm-scroll/Scroll.stories.d.ts +10 -10
- package/dist/types/components/sqm-scroll/sqm-scroll.d.ts +85 -85
- package/dist/types/components/sqm-scroll/useScroll.d.ts +6 -6
- package/dist/types/components/sqm-share-button/ShareButton.stories.d.ts +18 -18
- package/dist/types/components/sqm-share-button/UseShareButton.stories.d.ts +16 -16
- package/dist/types/components/sqm-share-button/sqm-share-button-view.d.ts +19 -19
- package/dist/types/components/sqm-share-button/sqm-share-button.d.ts +121 -121
- package/dist/types/components/sqm-share-button/useShareButton.d.ts +8 -8
- package/dist/types/components/sqm-share-code/ShareCode.stories.d.ts +10 -10
- package/dist/types/components/sqm-share-code/sqm-share-code.d.ts +36 -36
- package/dist/types/components/sqm-share-code/useShareCode.d.ts +8 -8
- package/dist/types/components/sqm-share-link/ShareLink.stories.d.ts +11 -11
- package/dist/types/components/sqm-share-link/UseShareLink.stories.d.ts +22 -22
- package/dist/types/components/sqm-share-link/sqm-share-link-view.d.ts +8 -8
- package/dist/types/components/sqm-share-link/sqm-share-link.d.ts +36 -36
- package/dist/types/components/sqm-share-link/useShareLink.d.ts +8 -8
- package/dist/types/components/sqm-stat-container/sqm-stat-container-view.d.ts +6 -6
- package/dist/types/components/sqm-stat-container/sqm-stat-container.d.ts +27 -27
- package/dist/types/components/sqm-stencilbook/AutoColor.d.ts +8 -8
- package/dist/types/components/sqm-stencilbook/CucumberAddon.d.ts +2 -2
- package/dist/types/components/sqm-stencilbook/HookStoryAddon.d.ts +8 -8
- package/dist/types/components/sqm-stencilbook/Matrix.d.ts +11 -11
- package/dist/types/components/sqm-stencilbook/Resizer.d.ts +3 -3
- package/dist/types/components/sqm-stencilbook/Themes.d.ts +17 -17
- package/dist/types/components/sqm-stencilbook/sqm-stencilbook.d.ts +11 -11
- package/dist/types/components/sqm-tab/sqm-tab-view.d.ts +4 -4
- package/dist/types/components/sqm-tab/sqm-tab.d.ts +14 -14
- package/dist/types/components/sqm-table-cell/sqm-table-cell.d.ts +11 -11
- package/dist/types/components/sqm-table-row/sqm-table-row.d.ts +11 -11
- package/dist/types/components/sqm-tabs/Tabs.stories.d.ts +15 -15
- package/dist/types/components/sqm-tabs/sqm-tabs-view.d.ts +9 -9
- package/dist/types/components/sqm-tabs/sqm-tabs.d.ts +21 -21
- package/dist/types/components/sqm-tabs/useTabs.d.ts +9 -9
- package/dist/types/components/sqm-task-card/DetailsView.d.ts +41 -41
- package/dist/types/components/sqm-task-card/SVGs.d.ts +3 -3
- package/dist/types/components/sqm-task-card/TaskCard.stories.d.ts +21 -21
- package/dist/types/components/sqm-task-card/UseTaskCard.stories.d.ts +16 -16
- package/dist/types/components/sqm-task-card/progress-bar/SVGs.d.ts +2 -2
- package/dist/types/components/sqm-task-card/progress-bar/progress-bar-view.d.ts +13 -13
- package/dist/types/components/sqm-task-card/sqm-task-card-view.d.ts +35 -35
- package/dist/types/components/sqm-task-card/sqm-task-card.d.ts +171 -171
- package/dist/types/components/sqm-task-card/useTaskCard.d.ts +11 -11
- package/dist/types/components/sqm-text/sqm-text.d.ts +13 -13
- package/dist/types/components/sqm-text-span/sqm-text-span-view.d.ts +5 -5
- package/dist/types/components/sqm-text-span/sqm-text-span.d.ts +22 -22
- package/dist/types/components/sqm-timeline/SVGs.d.ts +3 -3
- package/dist/types/components/sqm-timeline/Timeline.stories.d.ts +11 -11
- package/dist/types/components/sqm-timeline/sqm-timeline-entry-view.d.ts +9 -9
- package/dist/types/components/sqm-timeline/sqm-timeline-entry.d.ts +33 -33
- package/dist/types/components/sqm-timeline/sqm-timeline.d.ts +19 -19
- package/dist/types/components/sqm-titled-section/TitledSection.stories.d.ts +12 -12
- package/dist/types/components/sqm-titled-section/sqm-portal-section-view.d.ts +10 -10
- package/dist/types/components/sqm-titled-section/sqm-titled-section.d.ts +43 -43
- package/dist/types/components/sqm-user-name/UserName.stories.d.ts +6 -6
- package/dist/types/components/sqm-user-name/sqm-user-name-view.d.ts +6 -6
- package/dist/types/components/sqm-user-name/sqm-user-name.d.ts +27 -27
- package/dist/types/components/sqm-user-name/useUserName.d.ts +3 -3
- package/dist/types/components.d.ts +64 -64
- package/dist/types/fonts/GoogleFonts.d.ts +9 -9
- package/dist/types/global/android.d.ts +7 -7
- package/dist/types/global/global.d.ts +6 -6
- package/dist/types/global/mixins.d.ts +166 -166
- package/dist/types/global/styles.d.ts +2 -2
- package/dist/types/index.d.ts +1 -1
- package/dist/types/insertcss.d.ts +6 -6
- package/dist/types/saasquatch.d.ts +132 -132
- package/dist/types/stories/NewPortal.stories.d.ts +8 -8
- package/dist/types/stories/PortalTemplates.stories.d.ts +100 -100
- package/dist/types/stories/PoweredByImg.stories.d.ts +7 -7
- package/dist/types/stories/Widget.stories.d.ts +22 -22
- package/dist/types/stories/features.d.ts +4 -4
- package/dist/types/stories/templates.d.ts +4 -4
- package/dist/types/styling/JSS.d.ts +7 -7
- package/dist/types/tables/GenericTableView.d.ts +32 -32
- package/dist/types/tables/TableSlots.d.ts +9 -9
- package/dist/types/tables/re-render.d.ts +13 -13
- package/dist/types/tables/useChildElements.d.ts +1 -1
- package/dist/types/utilities.d.ts +3 -3
- package/dist/types/utils/RequiredPropsError.d.ts +10 -10
- package/dist/types/utils/isDemo.d.ts +4 -4
- package/dist/types/utils/utils.d.ts +14 -14
- package/docs/docs.docx +0 -0
- package/docs/raisins.json +1 -1
- package/grapesjs/grapesjs.js +54 -54
- package/package.json +102 -102
- package/readme.md +13 -13
- package/CHANGELOG.md +0 -593
- package/dist/esm-es5/ShadowViewAddon-22b92aa8.js +0 -1
- package/dist/esm-es5/index.module-182f968a.js +0 -1
- package/dist/esm-es5/useChildElements-6b604066.js +0 -1
- package/dist/mint-components/p-0dd3ff0f.entry.js +0 -1
- package/dist/mint-components/p-27403ed4.entry.js +0 -9
- package/dist/mint-components/p-384454ff.system.entry.js +0 -1
- package/dist/mint-components/p-41a3ffb0.entry.js +0 -1
- package/dist/mint-components/p-82695d80.entry.js +0 -1
- package/dist/mint-components/p-9e135af4.system.entry.js +0 -1
- package/dist/mint-components/p-a3f85f1d.js +0 -1
- package/dist/mint-components/p-bdcd7e88.system.entry.js +0 -1
- package/dist/mint-components/p-d1326cc1.js +0 -1
- package/dist/mint-components/p-d6b65226.system.js +0 -1
- package/dist/mint-components/p-d87215d0.system.js +0 -1
- package/dist/mint-components/p-df164ec0.system.js +0 -1
- package/dist/mint-components/p-e64f982a.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var __makeTemplateObject=this&&this.__makeTemplateObject||function(e,t){if(Object.defineProperty){Object.defineProperty(e,"raw",{value:t})}else{e.raw=t}return e};var __extends=this&&this.__extends||function(){var e=function(t,n){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n))e[n]=t[n]};return e(t,n)};return function(t,n){e(t,n);function a(){this.constructor=t}t.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}();var __assign=this&&this.__assign||function(){__assign=Object.assign||function(e){for(var t,n=1,a=arguments.length;n<a;n++){t=arguments[n];for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r))e[r]=t[r]}return e};return __assign.apply(this,arguments)};var __awaiter=this&&this.__awaiter||function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,s){function i(e){try{l(a.next(e))}catch(e){s(e)}}function o(e){try{l(a["throw"](e))}catch(e){s(e)}}function l(e){e.done?n(e.value):r(e.value).then(i,o)}l((a=a.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},a,r,s,i;return i={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(i[Symbol.iterator]=function(){return this}),i;function o(e){return function(t){return l([e,t])}}function l(i){if(a)throw new TypeError("Generator is already executing.");while(n)try{if(a=1,r&&(s=i[0]&2?r["return"]:i[0]?r["throw"]||((s=r["return"])&&s.call(r),0):r.next)&&!(s=s.call(r,i[1])).done)return s;if(r=0,s)i=[i[0]&2,s.value];switch(i[0]){case 0:case 1:s=i;break;case 4:n.label++;return{value:i[1],done:false};case 5:n.label++;r=i[1];i=[0];continue;case 7:i=n.ops.pop();n.trys.pop();continue;default:if(!(s=n.trys,s=s.length>0&&s[s.length-1])&&(i[0]===6||i[0]===2)){n=0;continue}if(i[0]===3&&(!s||i[1]>s[0]&&i[1]<s[3])){n.label=i[1];break}if(i[0]===6&&n.label<s[1]){n.label=s[1];s=i;break}if(s&&n.label<s[2]){n.label=s[2];n.ops.push(i);break}if(s[2])n.ops.pop();n.trys.pop();continue}i=t.call(e,n)}catch(e){i=[6,e];r=0}finally{a=s=0}if(i[0]&5)throw i[1];return{value:i[0]?i[1]:void 0,done:true}}};var __spreadArrays=this&&this.__spreadArrays||function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;for(var a=Array(e),r=0,t=0;t<n;t++)for(var s=arguments[t],i=0,o=s.length;i<o;i++,r++)a[r]=s[i];return a};System.register(["./p-ff17b3a4.system.js","./p-d4ee07e6.system.js","./p-018ab72e.system.js","./p-99397ef5.system.js","./p-5711de63.system.js","./p-4bd679a7.system.js","./p-f6934a55.system.js","./p-1a673057.system.js","./p-bef0a1f4.system.js","./p-5dcd31b1.system.js","./p-684aadb5.system.js","./p-6333265f.system.js","./p-27da3d2f.system.js","./p-6b8b7dc0.system.js","./p-177f1699.system.js","./p-6b5e355c.system.js","./p-0e6f1340.system.js","./p-1e666517.system.js","./p-5fdd7c33.system.js","./p-94d0d79c.system.js","./p-e58c257b.system.js","./p-ef18a3bd.system.js","./p-3eb37132.system.js","./p-0f20108e.system.js","./p-486f5810.system.js","./p-d955e3a4.system.js","./p-5d4d81bf.system.js"],(function(e){"use strict";var t,n,a,r,s,i,o,l,d,u,c,m,p,h,g,f,b,v,w,x,y,E,q,A,D,k,C,_,T,R,P,I,S,N,L,F,O,B,G,j,V,M,W,U,z,H,X,J,$,K,Y,Z,Q,ee,te,ne,ae,re,se,ie,oe,le,de,ue,ce,me,pe,he,ge,fe,be,ve,we,xe;return{setters:[function(e){t=e.h;n=e.r;a=e.c},function(e){r=e.a;s=e.k;i=e.i;o=e.f;l=e.c;d=e.m},function(){},function(){},function(e){u=e.f;c=e.l;m=e.b;p=e.d;h=e.z;g=e.e},function(){},function(){},function(e){f=e.c},function(e){b=e.G},function(){},function(e){v=e.l},function(){},function(){},function(e){w=e.A},function(e){x=e.H},function(e){y=e.L},function(e){E=e.N},function(e){q=e.N},function(e){A=e.P},function(e){D=e.a;k=e.P},function(e){C=e.P},function(e){_=e.P},function(e){T=e.P},function(e){R=e.P},function(e){P=e.P},function(e){I=e.S;S=e.L;N=e.a;L=e.B;F=e.P;O=e.E;B=e.u;G=e.b;j=e.c;V=e.d;M=e.e;W=e.f;U=e.g;z=e.T;H=e.h;X=e.R;J=e.N;$=e.C;K=e.D;Y=e.I;Z=e.i;Q=e.r;ee=e.j;te=e.k;ne=e.l;ae=e.m;re=e.n;se=e.o;ie=e.p;oe=e.q;le=e.s;de=e.t;ue=e.v;ce=e.w;me=e.x;pe=e.y;he=e.z;ge=e.A;fe=e.F;be=e.G;ve=e.H;we=e.J},function(e){xe=e.P}],execute:function(){var ye=this;var Ee=1/0;var qe="[object Symbol]";var Ae=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;var De=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g;var ke="\\ud800-\\udfff",Ce="\\u0300-\\u036f\\ufe20-\\ufe23",_e="\\u20d0-\\u20f0",Te="\\u2700-\\u27bf",Re="a-z\\xdf-\\xf6\\xf8-\\xff",Pe="\\xac\\xb1\\xd7\\xf7",Ie="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Se="\\u2000-\\u206f",Ne=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Le="A-Z\\xc0-\\xd6\\xd8-\\xde",Fe="\\ufe0e\\ufe0f",Oe=Pe+Ie+Se+Ne;var Be="['’]",Ge="["+ke+"]",je="["+Oe+"]",Ve="["+Ce+_e+"]",Me="\\d+",We="["+Te+"]",Ue="["+Re+"]",ze="[^"+ke+Oe+Me+Te+Re+Le+"]",He="\\ud83c[\\udffb-\\udfff]",Xe="(?:"+Ve+"|"+He+")",Je="[^"+ke+"]",$e="(?:\\ud83c[\\udde6-\\uddff]){2}",Ke="[\\ud800-\\udbff][\\udc00-\\udfff]",Ye="["+Le+"]",Ze="\\u200d";var Qe="(?:"+Ue+"|"+ze+")",et="(?:"+Ye+"|"+ze+")",tt="(?:"+Be+"(?:d|ll|m|re|s|t|ve))?",nt="(?:"+Be+"(?:D|LL|M|RE|S|T|VE))?",at=Xe+"?",rt="["+Fe+"]?",st="(?:"+Ze+"(?:"+[Je,$e,Ke].join("|")+")"+rt+at+")*",it=rt+at+st,ot="(?:"+[We,$e,Ke].join("|")+")"+it,lt="(?:"+[Je+Ve+"?",Ve,$e,Ke,Ge].join("|")+")";var dt=RegExp(Be,"g");var ut=RegExp(Ve,"g");var ct=RegExp(He+"(?="+He+")|"+lt+it,"g");var mt=RegExp([Ye+"?"+Ue+"+"+tt+"(?="+[je,Ye,"$"].join("|")+")",et+"+"+nt+"(?="+[je,Ye+Qe,"$"].join("|")+")",Ye+"?"+Qe+"+"+tt,Ye+"+"+nt,Me,ot].join("|"),"g");var pt=RegExp("["+Ze+ke+Ce+_e+Fe+"]");var ht=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;var gt={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"ss"};var ft=typeof r=="object"&&r&&r.Object===Object&&r;var bt=typeof self=="object"&&self&&self.Object===Object&&self;var vt=ft||bt||Function("return this")();function wt(e,t,n,a){var r=-1,s=e?e.length:0;if(a&&s){n=e[++r]}while(++r<s){n=t(n,e[r],r,e)}return n}function xt(e){return e.split("")}function yt(e){return e.match(Ae)||[]}function Et(e){return function(t){return e==null?undefined:e[t]}}var qt=Et(gt);function At(e){return pt.test(e)}function Dt(e){return ht.test(e)}function kt(e){return At(e)?Ct(e):xt(e)}function Ct(e){return e.match(ct)||[]}function _t(e){return e.match(mt)||[]}var Tt=Object.prototype;var Rt=Tt.toString;var Pt=vt.Symbol;var It=Pt?Pt.prototype:undefined,St=It?It.toString:undefined;function Nt(e,t,n){var a=-1,r=e.length;if(t<0){t=-t>r?0:r+t}n=n>r?r:n;if(n<0){n+=r}r=t>n?0:n-t>>>0;t>>>=0;var s=Array(r);while(++a<r){s[a]=e[a+t]}return s}function Lt(e){if(typeof e=="string"){return e}if(jt(e)){return St?St.call(e):""}var t=e+"";return t=="0"&&1/e==-Ee?"-0":t}function Ft(e,t,n){var a=e.length;n=n===undefined?a:n;return!t&&n>=a?e:Nt(e,t,n)}function Ot(e){return function(t){t=Vt(t);var n=At(t)?kt(t):undefined;var a=n?n[0]:t.charAt(0);var r=n?Ft(n,1).join(""):t.slice(1);return a[e]()+r}}function Bt(e){return function(t){return wt(zt(Mt(t).replace(dt,"")),e,"")}}function Gt(e){return!!e&&typeof e=="object"}function jt(e){return typeof e=="symbol"||Gt(e)&&Rt.call(e)==qe}function Vt(e){return e==null?"":Lt(e)}function Mt(e){e=Vt(e);return e&&e.replace(De,qt).replace(ut,"")}var Wt=Bt((function(e,t,n){return e+(n?" ":"")+Ut(t)}));var Ut=Ot("toUpperCase");function zt(e,t,n){e=Vt(e);t=n?undefined:t;if(t===undefined){return Dt(e)?_t(e):yt(e)}return e.match(t)||[]}var Ht=Wt;function Xt(e){if(e.sheet){return e.sheet}for(var t=0;t<document.styleSheets.length;t++){if(document.styleSheets[t].ownerNode===e){return document.styleSheets[t]}}}function Jt(e){var t=document.createElement("style");t.setAttribute("data-emotion",e.key);if(e.nonce!==undefined){t.setAttribute("nonce",e.nonce)}t.appendChild(document.createTextNode(""));t.setAttribute("data-s","");return t}var $t=function(){function e(e){var t=this;this._insertTag=function(e){var n;if(t.tags.length===0){n=t.prepend?t.container.firstChild:t.before}else{n=t.tags[t.tags.length-1].nextSibling}t.container.insertBefore(e,n);t.tags.push(e)};this.isSpeedy=e.speedy===undefined?"production"==="production":e.speedy;this.tags=[];this.ctr=0;this.nonce=e.nonce;this.key=e.key;this.container=e.container;this.prepend=e.prepend;this.before=null}var t=e.prototype;t.hydrate=function e(t){t.forEach(this._insertTag)};t.insert=function e(t){if(this.ctr%(this.isSpeedy?65e3:1)===0){this._insertTag(Jt(this))}var n=this.tags[this.tags.length-1];if(this.isSpeedy){var a=Xt(n);try{a.insertRule(t,a.cssRules.length)}catch(e){}}else{n.appendChild(document.createTextNode(t))}this.ctr++};t.flush=function e(){this.tags.forEach((function(e){return e.parentNode.removeChild(e)}));this.tags=[];this.ctr=0};return e}();var Kt="-ms-";var Yt="-moz-";var Zt="-webkit-";var Qt="comm";var en="rule";var tn="decl";var nn="@import";var an="@keyframes";var rn=Math.abs;var sn=String.fromCharCode;function on(e,t){return(((t<<2^mn(e,0))<<2^mn(e,1))<<2^mn(e,2))<<2^mn(e,3)}function ln(e){return e.trim()}function dn(e,t){return(e=t.exec(e))?e[0]:e}function un(e,t,n){return e.replace(t,n)}function cn(e,t){return e.indexOf(t)}function mn(e,t){return e.charCodeAt(t)|0}function pn(e,t,n){return e.slice(t,n)}function hn(e){return e.length}function gn(e){return e.length}function fn(e,t){return t.push(e),e}function bn(e,t){return e.map(t).join("")}var vn=1;var wn=1;var xn=0;var yn=0;var En=0;var qn="";function An(e,t,n,a,r,s,i){return{value:e,root:t,parent:n,type:a,props:r,children:s,line:vn,column:wn,length:i,return:""}}function Dn(e,t,n){return An(e,t.root,t.parent,n,t.props,t.children,0)}function kn(){return En}function Cn(){En=yn>0?mn(qn,--yn):0;if(wn--,En===10)wn=1,vn--;return En}function _n(){En=yn<xn?mn(qn,yn++):0;if(wn++,En===10)wn=1,vn++;return En}function Tn(){return mn(qn,yn)}function Rn(){return yn}function Pn(e,t){return pn(qn,e,t)}function In(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Sn(e){return vn=wn=1,xn=hn(qn=e),yn=0,[]}function Nn(e){return qn="",e}function Ln(e){return ln(Pn(yn-1,Bn(e===91?e+2:e===40?e+1:e)))}function Fn(e){while(En=Tn())if(En<33)_n();else break;return In(e)>2||In(En)>3?"":" "}function On(e,t){while(--t&&_n())if(En<48||En>102||En>57&&En<65||En>70&&En<97)break;return Pn(e,Rn()+(t<6&&Tn()==32&&_n()==32))}function Bn(e){while(_n())switch(En){case e:return yn;case 34:case 39:return Bn(e===34||e===39?e:En);case 40:if(e===41)Bn(e);break;case 92:_n();break}return yn}function Gn(e,t){while(_n())if(e+En===47+10)break;else if(e+En===42+42&&Tn()===47)break;return"/*"+Pn(t,yn-1)+"*"+sn(e===47?e:_n())}function jn(e){while(!In(Tn()))_n();return Pn(e,yn)}function Vn(e){return Nn(Mn("",null,null,null,[""],e=Sn(e),0,[0],e))}function Mn(e,t,n,a,r,s,i,o,l){var d=0;var u=0;var c=i;var m=0;var p=0;var h=0;var g=1;var f=1;var b=1;var v=0;var w="";var x=r;var y=s;var E=a;var q=w;while(f)switch(h=v,v=_n()){case 34:case 39:case 91:case 40:q+=Ln(v);break;case 9:case 10:case 13:case 32:q+=Fn(h);break;case 92:q+=On(Rn()-1,7);continue;case 47:switch(Tn()){case 42:case 47:fn(Un(Gn(_n(),Rn()),t,n),l);break;default:q+="/"}break;case 123*g:o[d++]=hn(q)*b;case 125*g:case 59:case 0:switch(v){case 0:case 125:f=0;case 59+u:if(p>0&&hn(q)-c)fn(p>32?zn(q+";",a,n,c-1):zn(un(q," ","")+";",a,n,c-2),l);break;case 59:q+=";";default:fn(E=Wn(q,t,n,d,u,r,o,w,x=[],y=[],c),s);if(v===123)if(u===0)Mn(q,t,E,E,x,s,c,o,y);else switch(m){case 100:case 109:case 115:Mn(e,E,E,a&&fn(Wn(e,E,E,0,0,r,o,w,r,x=[],c),y),r,y,c,o,a?x:y);break;default:Mn(q,E,E,E,[""],y,c,o,y)}}d=u=p=0,g=b=1,w=q="",c=i;break;case 58:c=1+hn(q),p=h;default:if(g<1)if(v==123)--g;else if(v==125&&g++==0&&Cn()==125)continue;switch(q+=sn(v),v*g){case 38:b=u>0?1:(q+="\f",-1);break;case 44:o[d++]=(hn(q)-1)*b,b=1;break;case 64:if(Tn()===45)q+=Ln(_n());m=Tn(),u=hn(w=q+=jn(Rn())),v++;break;case 45:if(h===45&&hn(q)==2)g=0}}return s}function Wn(e,t,n,a,r,s,i,o,l,d,u){var c=r-1;var m=r===0?s:[""];var p=gn(m);for(var h=0,g=0,f=0;h<a;++h)for(var b=0,v=pn(e,c+1,c=rn(g=i[h])),w=e;b<p;++b)if(w=ln(g>0?m[b]+" "+v:un(v,/&\f/g,m[b])))l[f++]=w;return An(e,t,n,r===0?en:o,l,d,u)}function Un(e,t,n){return An(e,t,n,Qt,sn(kn()),pn(e,2,-2),0)}function zn(e,t,n,a){return An(e,t,n,tn,pn(e,0,a),pn(e,a+1,-1),a)}function Hn(e,t){switch(on(e,t)){case 5103:return Zt+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Zt+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Zt+e+Yt+e+Kt+e+e;case 6828:case 4268:return Zt+e+Kt+e+e;case 6165:return Zt+e+Kt+"flex-"+e+e;case 5187:return Zt+e+un(e,/(\w+).+(:[^]+)/,Zt+"box-$1$2"+Kt+"flex-$1$2")+e;case 5443:return Zt+e+Kt+"flex-item-"+un(e,/flex-|-self/,"")+e;case 4675:return Zt+e+Kt+"flex-line-pack"+un(e,/align-content|flex-|-self/,"")+e;case 5548:return Zt+e+Kt+un(e,"shrink","negative")+e;case 5292:return Zt+e+Kt+un(e,"basis","preferred-size")+e;case 6060:return Zt+"box-"+un(e,"-grow","")+Zt+e+Kt+un(e,"grow","positive")+e;case 4554:return Zt+un(e,/([^-])(transform)/g,"$1"+Zt+"$2")+e;case 6187:return un(un(un(e,/(zoom-|grab)/,Zt+"$1"),/(image-set)/,Zt+"$1"),e,"")+e;case 5495:case 3959:return un(e,/(image-set\([^]*)/,Zt+"$1"+"$`$1");case 4968:return un(un(e,/(.+:)(flex-)?(.*)/,Zt+"box-pack:$3"+Kt+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Zt+e+e;case 4095:case 3583:case 4068:case 2532:return un(e,/(.+)-inline(.+)/,Zt+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(hn(e)-1-t>6)switch(mn(e,t+1)){case 109:if(mn(e,t+4)!==45)break;case 102:return un(e,/(.+:)(.+)-([^]+)/,"$1"+Zt+"$2-$3"+"$1"+Yt+(mn(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~cn(e,"stretch")?Hn(un(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(mn(e,t+1)!==115)break;case 6444:switch(mn(e,hn(e)-3-(~cn(e,"!important")&&10))){case 107:return un(e,":",":"+Zt)+e;case 101:return un(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Zt+(mn(e,14)===45?"inline-":"")+"box$3"+"$1"+Zt+"$2$3"+"$1"+Kt+"$2box$3")+e}break;case 5936:switch(mn(e,t+11)){case 114:return Zt+e+Kt+un(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Zt+e+Kt+un(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Zt+e+Kt+un(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Zt+e+Kt+e+e}return e}function Xn(e,t){var n="";var a=gn(e);for(var r=0;r<a;r++)n+=t(e[r],r,e,t)||"";return n}function Jn(e,t,n,a){switch(e.type){case nn:case tn:return e.return=e.return||e.value;case Qt:return"";case en:e.value=e.props.join(",")}return hn(n=Xn(e.children,a))?e.return=e.value+"{"+n+"}":""}function $n(e){var t=gn(e);return function(n,a,r,s){var i="";for(var o=0;o<t;o++)i+=e[o](n,a,r,s)||"";return i}}function Kn(e){return function(t){if(!t.root)if(t=t.return)e(t)}}function Yn(e,t,n,a){if(!e.return)switch(e.type){case tn:e.return=Hn(e.value,e.length);break;case an:return Xn([Dn(un(e.value,"@","@"+Zt),e,"")],a);case en:if(e.length)return bn(e.props,(function(t){switch(dn(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Xn([Dn(un(t,/:(read-\w+)/,":"+Yt+"$1"),e,"")],a);case"::placeholder":return Xn([Dn(un(t,/:(plac\w+)/,":"+Zt+"input-$1"),e,""),Dn(un(t,/:(plac\w+)/,":"+Yt+"$1"),e,""),Dn(un(t,/:(plac\w+)/,Kt+"input-$1"),e,"")],a)}return""}))}}function Zn(e){var t=Object.create(null);return function(n){if(t[n]===undefined)t[n]=e(n);return t[n]}}var Qn=function e(t,n){var a=-1;var r=44;do{switch(In(r)){case 0:if(r===38&&Tn()===12){n[a]=1}t[a]+=jn(yn-1);break;case 2:t[a]+=Ln(r);break;case 4:if(r===44){t[++a]=Tn()===58?"&\f":"";n[a]=t[a].length;break}default:t[a]+=sn(r)}}while(r=_n());return t};var ea=function e(t,n){return Nn(Qn(Sn(t),n))};var ta=new WeakMap;var na=function e(t){if(t.type!=="rule"||!t.parent||!t.length){return}var n=t.value,a=t.parent;var r=t.column===a.column&&t.line===a.line;while(a.type!=="rule"){a=a.parent;if(!a)return}if(t.props.length===1&&n.charCodeAt(0)!==58&&!ta.get(a)){return}if(r){return}ta.set(t,true);var s=[];var i=ea(n,s);var o=a.props;for(var l=0,d=0;l<i.length;l++){for(var u=0;u<o.length;u++,d++){t.props[d]=s[l]?i[l].replace(/&\f/g,o[u]):o[u]+" "+i[l]}}};var aa=function e(t){if(t.type==="decl"){var n=t.value;if(n.charCodeAt(0)===108&&n.charCodeAt(2)===98){t["return"]="";t.value=""}}};var ra=[Yn];var sa=function e(t){var n=t.key;if(n==="css"){var a=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(a,(function(e){var t=e.getAttribute("data-emotion");if(t.indexOf(" ")===-1){return}document.head.appendChild(e);e.setAttribute("data-s","")}))}var r=t.stylisPlugins||ra;var s={};var i;var o=[];{i=t.container||document.head;Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),(function(e){var t=e.getAttribute("data-emotion").split(" ");for(var n=1;n<t.length;n++){s[t[n]]=true}o.push(e)}))}var l;var d=[na,aa];{var u;var c=[Jn,Kn((function(e){u.insert(e)}))];var m=$n(d.concat(r,c));var p=function e(t){return Xn(Vn(t),m)};l=function e(t,n,a,r){u=a;p(t?t+"{"+n.styles+"}":n.styles);if(r){h.inserted[n.name]=true}}}var h={key:n,sheet:new $t({key:n,container:i,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend}),nonce:t.nonce,inserted:s,registered:{},insert:l};h.sheet.hydrate(o);return h};function ia(e){var t=0;var n,a=0,r=e.length;for(;r>=4;++a,r-=4){n=e.charCodeAt(a)&255|(e.charCodeAt(++a)&255)<<8|(e.charCodeAt(++a)&255)<<16|(e.charCodeAt(++a)&255)<<24;n=(n&65535)*1540483477+((n>>>16)*59797<<16);n^=n>>>24;t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16)}switch(r){case 3:t^=(e.charCodeAt(a+2)&255)<<16;case 2:t^=(e.charCodeAt(a+1)&255)<<8;case 1:t^=e.charCodeAt(a)&255;t=(t&65535)*1540483477+((t>>>16)*59797<<16)}t^=t>>>13;t=(t&65535)*1540483477+((t>>>16)*59797<<16);return((t^t>>>15)>>>0).toString(36)}var oa={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var la=/[A-Z]|^ms/g;var da=/_EMO_([^_]+?)_([^]*?)_EMO_/g;var ua=function e(t){return t.charCodeAt(1)===45};var ca=function e(t){return t!=null&&typeof t!=="boolean"};var ma=Zn((function(e){return ua(e)?e:e.replace(la,"-$&").toLowerCase()}));var pa=function e(t,n){switch(t){case"animation":case"animationName":{if(typeof n==="string"){return n.replace(da,(function(e,t,n){ba={name:t,styles:n,next:ba};return t}))}}}if(oa[t]!==1&&!ua(t)&&typeof n==="number"&&n!==0){return n+"px"}return n};function ha(e,t,n){if(n==null){return""}if(n.__emotion_styles!==undefined){return n}switch(typeof n){case"boolean":{return""}case"object":{if(n.anim===1){ba={name:n.name,styles:n.styles,next:ba};return n.name}if(n.styles!==undefined){var a=n.next;if(a!==undefined){while(a!==undefined){ba={name:a.name,styles:a.styles,next:ba};a=a.next}}var r=n.styles+";";return r}return ga(e,t,n)}case"function":{if(e!==undefined){var s=ba;var i=n(e);ba=s;return ha(e,t,i)}break}}if(t==null){return n}var o=t[n];return o!==undefined?o:n}function ga(e,t,n){var a="";if(Array.isArray(n)){for(var r=0;r<n.length;r++){a+=ha(e,t,n[r])+";"}}else{for(var s in n){var i=n[s];if(typeof i!=="object"){if(t!=null&&t[i]!==undefined){a+=s+"{"+t[i]+"}"}else if(ca(i)){a+=ma(s)+":"+pa(s,i)+";"}}else{if(s==="NO_COMPONENT_SELECTOR"&&"production"!=="production"){throw new Error("Component selectors can only be used in conjunction with @emotion/babel-plugin.")}if(Array.isArray(i)&&typeof i[0]==="string"&&(t==null||t[i[0]]===undefined)){for(var o=0;o<i.length;o++){if(ca(i[o])){a+=ma(s)+":"+pa(s,i[o])+";"}}}else{var l=ha(e,t,i);switch(s){case"animation":case"animationName":{a+=ma(s)+":"+l+";";break}default:{a+=s+"{"+l+"}"}}}}}}return a}var fa=/label:\s*([^\s;\n{]+)\s*(;|$)/g;var ba;var va=function e(t,n,a){if(t.length===1&&typeof t[0]==="object"&&t[0]!==null&&t[0].styles!==undefined){return t[0]}var r=true;var s="";ba=undefined;var i=t[0];if(i==null||i.raw===undefined){r=false;s+=ha(a,n,i)}else{s+=i[0]}for(var o=1;o<t.length;o++){s+=ha(a,n,t[o]);if(r){s+=i[o]}}fa.lastIndex=0;var l="";var d;while((d=fa.exec(s))!==null){l+="-"+d[1]}var u=ia(s)+l;return{name:u,styles:s,next:ba}};var wa="object"!=="undefined";function xa(e,t,n){var a="";n.split(" ").forEach((function(n){if(e[n]!==undefined){t.push(e[n]+";")}else{a+=n+" "}}));return a}var ya=function e(t,n,a){var r=t.key+"-"+n.name;if((a===false||wa===false)&&t.registered[r]===undefined){t.registered[r]=n.styles}if(t.inserted[n.name]===undefined){var s=n;do{var i=t.insert(n===s?"."+r:"",s,t.sheet,true);s=s.next}while(s!==undefined)}};function Ea(e,t){if(e.inserted[t.name]===undefined){return e.insert("",t,e.sheet,true)}}function qa(e,t,n){var a=[];var r=xa(e,a,n);if(a.length<2){return n}return r+t(a)}var Aa=function e(t){var n=sa(t);n.sheet.speedy=function(e){this.isSpeedy=e};n.compat=true;var a=function e(){for(var t=arguments.length,a=new Array(t),r=0;r<t;r++){a[r]=arguments[r]}var s=va(a,n.registered,undefined);ya(n,s,false);return n.key+"-"+s.name};var r=function e(){for(var t=arguments.length,a=new Array(t),r=0;r<t;r++){a[r]=arguments[r]}var s=va(a,n.registered);var i="animation-"+s.name;Ea(n,{name:s.name,styles:"@keyframes "+i+"{"+s.styles+"}"});return i};var s=function e(){for(var t=arguments.length,a=new Array(t),r=0;r<t;r++){a[r]=arguments[r]}var s=va(a,n.registered);Ea(n,s)};var i=function e(){for(var t=arguments.length,r=new Array(t),s=0;s<t;s++){r[s]=arguments[s]}return qa(n.registered,a,Da(r))};return{css:a,cx:i,injectGlobal:s,keyframes:r,hydrate:function e(t){t.forEach((function(e){n.inserted[e]=true}))},flush:function e(){n.registered={};n.inserted={};n.sheet.flush()},sheet:n.sheet,cache:n,getRegisteredStyles:xa.bind(null,n.registered),merge:qa.bind(null,n.registered,a)}};var Da=function e(t){var n="";for(var a=0;a<t.length;a++){var r=t[a];if(r==null)continue;var s=void 0;switch(typeof r){case"boolean":break;case"object":{if(Array.isArray(r)){s=e(r)}else{s="";for(var i in r){if(r[i]&&i){s&&(s+=" ");s+=i}}}break}default:{s=r}}if(s){n&&(n+=" ");n+=s}}return n};var ka=Aa({key:"css"}),Ca=ka.css;function _a(){return(_a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function Ta(e,t){return t||(t=e.slice(0)),e.raw=t,e}var Ra,Pa,Ia,Sa=Ca(Ra||(Ra=Ta(['\n width: 100vw;\n height: 100vh;\n\n .story-book-outer-div {\n .story-div {\n font-family: "Arial", sans-serif;\n font-size: 12px;\n }\n padding-bottom: 500px;\n }\n\n .story-div {\n position: fixed;\n box-sizing: border-box;\n top: 0;\n width: 250px;\n height: 100vh;\n z-index: 999;\n overflow-y: scroll;\n background: white;\n margin-bottom: 32px;\n }\n\n .header {\n padding: 24px 0 16px 16px;\n margin-bottom: 24px;\n color: white;\n background: #333;\n cursor: pointer;\n\n h2 {\n letter-spacing: 3px;\n font-weight: 400;\n }\n }\n\n .parentStoryList {\n list-style: none;\n padding-left: 16px;\n\n summary {\n margin-bottom: 4px;\n }\n }\n .parentStory {\n cursor: pointer;\n }\n .parentStory.selected {\n font-weight: bold;\n }\n\n .subStory {\n font-size: 12px;\n cursor: pointer;\n line-height: 1.5em;\n margin-top: 4px;\n\n a {\n display: block;\n padding: 4px 4px 4px 16px;\n }\n }\n .subStory:hover {\n background-color: #eee;\n }\n .subStory.selected {\n background-color: lightgreen;\n }\n\n .component {\n padding: 24px 16px;\n }\n\n h4.group-header {\n margin: 8px 0;\n text-transform: uppercase;\n font-weight: 600;\n font-size: 14px;\n color: #575757;\n }\n\n .group-wrapper {\n margin-bottom: 24px;\n }\n\n .dynamic-display-wrapper {\n position: fixed;\n display: flex;\n flex-direction: column;\n bottom: 0;\n left: 100%;\n padding: 16px;\n z-index: 1000;\n background: white;\n transform: translateX(-100%);\n box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);\n\n & > :not(:first-child) {\n margin-top: 12px;\n }\n\n p {\n font-size: 12px;\n margin: 0;\n padding: 0;\n }\n\n .button-wrapper {\n display: flex;\n\n & > :not(:first-child) {\n margin-left: 12px;\n }\n }\n\n & button {\n border: 1px solid #eaeaea;\n background: white;\n border-radius: 4px;\n color: #777;\n padding: 4px 12px;\n justify-content: center;\n align-items: center;\n text-align: center;\n\n &.active {\n background: #555;\n border-color: #555;\n color: white;\n }\n }\n }\n'])));function Na(e,t){var n,a=t.story.title.split("/"),r=a[1]?a[0]:"_";return _a({},e,((n={})[r]=[].concat(e[r]||[],[{story:_a({},t.story,{title:a[1]||a[0]}),subs:t.subs}]).sort((function(e,t){return e.story.title.localeCompare(t.story.title)})),n))}function La(e){return{story:e.default,subs:function(e,t){if(null==e)return{};var n,a,r={},s=Object.keys(e);for(a=0;a<s.length;a++)t.indexOf(n=s[a])>=0||(r[n]=e[n]);return r}(e,["default"])}}function Fa(e,n){var a=n.h,r=void 0===a?t:a,o=n.title,l=void 0===o?"Stencilbook":o,d=n.homepage,u=void 0===d?r("h3",null,"Select a story!"):d,c=n.addons,m=void 0===c?[]:c,p=s((function(){return e.map(La).reduce(Na,{_:[]})}),e),h=i(void 0),g=h[0],f=h[1],b=null==g?void 0:g.key,v=i("desktop"),w=v[0],x=v[1],y=i(!0),E=y[0],q=y[1],A=i(!1),D=A[0],k=A[1],C=function(){return r("div",{class:"dynamic-display-wrapper"},r("div",{class:"button-wrapper"},r("button",{class:"desktop"===w?"active":"",onClick:function(){return x("desktop")}},"Desktop"),r("button",{class:"tablet"===w?"active":"",onClick:function(){return x("tablet")}},"Tablet"),r("button",{class:"mobile"===w?"active":"",onClick:function(){return x("mobile")}},"Mobile")),r("p",null,"Note: Currently doesn't test breakpoints, use the native tester for now"),r("hr",null),r("button",{class:D?"active":"",onClick:function(){return k((function(e){return!e}))}},"Toggle Dark Background"),r("hr",null),r("button",{class:E?"active":"",onClick:function(){return q((function(e){return!e}))}},"Toggle Sidebar"))},_="mobile"===w?"375px":"tablet"===w?"768px":"1124px",T=Ca(Pa||(Pa=Ta(["\n max-width: ",";\n margin-left: ",";\n "])),_,E?"250px":"0px"),R=Ca(Ia||(Ia=Ta(["\n display: none;\n "])));document.body.style.backgroundColor=D?"#232323":"#fafafa";var P=function(e){var t=e.selected,n=m.reduce((function(e,n){return function(){return r(n,{story:_a({},t)},r(e,null))}}),null==t?void 0:t.story);return r(n,null)},I=function(){return r("div",{class:"story-book-outer-div"},r("div",{class:"story-div "+(E?"":R)},r("div",{class:"header",onClick:function(){f(void 0)}},r("h2",null,l)),r("ul",{class:"parentStoryList"},Object.keys(p).sort().map((function(e){return r("div",{class:"group-wrapper"},"_"!==e&&r("h4",{class:"group-header"},e),p[e].map((function(t){return r("li",{class:"parentStory"},r("details",{style:{marginBottom:"10px"}},r("summary",{style:{outline:"none"}},t.story.title),t.subs&&Object.keys(t.subs).map((function(n){var a=e+"/"+n,s=t.subs[n],i=s.storyName||Ht(n);return r("div",{class:"subStory "+(b===a?"selected":"")},r("a",{onClick:function(){return function(e,t,n,a){f({key:t,story:e,parent:n,label:a})}(s,a,t.story,i)}},i))}))))})))})))),r(C,null),r("div",{class:"component "+T},!b&&u,b&&r("div",null,r("h3",null,g.label),r(P,{selected:g}))))};return{class:Sa,children:r(I,null),View:I,selected:g}}var Oa='@author:noah\n@owner:noah\nFeature: Share Button\n\n The share button redirects users to a platform where they can share their referral link\n\n @motivating\n @ui\n Scenario Outline: Share button displays for various platforms\n Given the share button\'s medium prop is "<medium>"\n And the button\'s child is text saying "BUTTON_TEXT"\n When the share button is rendered\n Then the button has text "BUTTON_TEXT"\n And the button is <colour>\n And it displays an <icon> beside the text\n And clicking the button redirects to an appropriate link\n Examples:\n | medium | colour | icon |\n | facebook | #1877f2 | facebook logo |\n | twitter | #1da1f2 | twitter logo |\n | email | #666666 | envelope |\n | direct | brand colour | paper plane |\n | linkedin | #0077b5 | linkedIn logo |\n | sms | #34DA50 | chat bubble |\n | fbmessenger | #0084ff | messenger logo |\n | whatsapp | #25d366 | whatsapp logo |\n | linemessenger | #00B300 | linemessenger logo |\n | pinterest | #e60023 | pinterest logo |\n\n @minutae\n @ui\n Scenario Outline: Default icons can be overwritten\n Given a share button for any medium with <iconPropValue>\n When the share button is rendered\n Then it displays a <iconPropValue> instead of the share mediums default icon\n Examples:\n | iconPropValue |\n | basket |\n | bluetooth |\n | bandaid |\n\n @motivating\n @ui\n Scenario Outline: Default share medium colours can be overwritten\n Given a share button for any medium with <backgroundColourPropValue>\n When the share button is rendered\n Then the share button is <backgroundColourPropValue>\n Examples:\n | backgroundColourPropValue |\n | blue |\n | black |\n | green |\n\n @minutae\n @ui\n Scenario Outline: Share medium icons and text can be hidden\n Given a share button with <prop> <value>\n When the share button is rendered\n Then <element> is hidden\n Examples:\n | prop | value | element |\n | hideicon | true | icon |\n | hidetext | true | text |\n\n @minutae\n @ui\n Scenario Outline: Icons can be on either side of the text\n Given a share button with <iconslotPropValue>\n When the share button is rendered\n Then the icon is displayed to the <direction> of the text\n Examples:\n | iconslotPropValue | direction |\n | suffix | right |\n | prefix | left |\n | prefix | left |\n\n @minutae\n Scenario: Unsupported browsers hide native share buttons\n Given the share button\'s medium prop is "direct"\n And your browser does not support the Web Share API\n Then the share button is hidden\n\n @minutae\n Scenario: SMS share buttons are hidden on non Android and iOS devices\n Given the share button\'s medium is "sms"\n And the share button is being viewed on a device which is not an Android or iOS device\n Then the share button is hidden\n\n @motivating\n Scenario: Facebook share buttons uses SquatchAndroid sharing features\n Given the share button\'s medium is "facebook"\n And the share button is being viewed in a web view with the SquatchAndroid API\n And the Facebook app is available\n Then tapping the share button opens the phone\'s Facebook app\n And a share activity is opened with the share link prefilled\n\n @motivating\n Scenario: SquatchAndroid falls back to the Facebook website if no app is available\n Given the share button\'s medium is "facebook"\n And the share button is being viewed in a web view with the SquatchAndroid API\n And the Facebook app is not available\n Then tapping the share button opens the the Facebook mobile site in the device\'s browser\n And a share activity is opened with the share link prefilled\n\n @minutae\n Scenario: A supplied program ID is used if available\n Given the program id is supplied to the component in the "programId" prop\n Then the program ID in the "programId" prop is used to retrieve share links\n\n @minutae\n Scenario: The program ID is automatically fetched from context\n Given the program id is not supplied to the component in the "programId" prop\n Then the program ID is retrieved from context';var Ba={title:"Components/Share Button",parameters:{scenario:Oa}};var Ga=function(){var e={medium:"whatsapp",iconslot:"prefix"};return t(I,Object.assign({},e),"Share")};var ja=function(){var e={medium:"whatsapp",iconslot:"suffix"};return t(I,Object.assign({},e),"Share")};var Va=function(){var e={medium:"facebook",icon:"person-badge"};return t(I,Object.assign({},e),"Share")};var Ma=function(){var e={medium:"facebook",type:"text"};return t(I,Object.assign({},e),"Share")};var Wa=function(){var e={medium:"facebook",hideicon:true};return t(I,Object.assign({},e),"Share")};var Ua=function(){var e={medium:"facebook",hidetext:true};return t(I,Object.assign({},e),"Share")};var za=function(){var e={medium:"facebook",type:"text",hideicon:true};return t(I,Object.assign({},e),"Share")};var Ha=function(){var e={medium:"facebook",type:"text",backgroundcolor:"red",textcolor:"yellow",iconslot:"prefix"};return t(I,Object.assign({},e),"Facebook")};var Xa=function(){var e={medium:"facebook",type:"text",borderradius:8,iconslot:"prefix"};return t(I,Object.assign({},e),"Facebook")};var Ja=function(){return t("div",null,t("sqm-share-button",{medium:"facebook"},t("span",null,"Facebook")),t("br",null),t("sqm-share-button",{medium:"email"},t("span",null,"Email")))};var $a=function(){return t("div",null,t("sqm-share-button",{medium:"facebook"},t("span",null,"Facebook")),t("br",null),t("sqm-share-button",{medium:"email"},t("span",null,"Email")),t("br",null),t("sqm-share-button",{medium:"whatsapp"},t("span",null,"WhatsApp")),t("br",null),t("sqm-share-button",{medium:"linkedin"},t("span",null,"Linkedin")),t("br",null),t("sqm-share-button",{medium:"twitter"},t("span",null,"Twitter")),t("br",null),t("sqm-share-button",{medium:"pinterest"},t("span",null,"Pinterest")),t("br",null),t("sqm-share-button",{medium:"fbmessenger"},t("span",null,"Messenger")),t("br",null),t("sqm-share-button",{medium:"sms"},t("span",null,"SMS")),t("br",null),t("sqm-share-button",{medium:"linemessenger"},t("span",null,"Line Messenger")),t("br",null),t("sqm-share-button",{medium:"direct"},t("span",null,"Share")))};var Ka=Object.freeze({__proto__:null,default:Ba,WithIconPrefix:Ga,WithIconSuffix:ja,WithIconOverride:Va,TextStyle:Ma,WithoutIcon:Wa,WithoutText:Ua,TextStyleWithoutIcon:za,WithCustomColors:Ha,WithCustomBorderRadius:Xa,FullStackIcon:Ja,AllMediums:$a});var Ya='@author:derek\n@owner:derek\nFeature: Empty State\n\n The sqm-empty component acts as a universal template for the empty states that are used accross our mint components.\n\n @motivating\n @ui\n Scenario: The empty state displays an image, a header and description text\n Given a empty component with the following props\n | prop | value |\n | empty-state-image | https://res.cloudinary.com/saasquatch/image/upload/v1644360953/squatch-assets/empty_reward2.png |\n | empty-state-header | My Custom Empty State |\n | empty-state-text | Description about why this empty state is being shown! |\n And it is wrapped by a component with an "empty" slot\n When a user views a component using the empty state\n Then it is displayed in the "empty" slot\n And they see an image\n And below they see "My Custom Empty State"\n And below they see "Description about why this empty state is being shown!"\n And the images/text are centered aligned';var Za={title:"Components/Empty State",parameters:{scenario:Ya}};var Qa={usersheading:"TOP REFERRERS",statsheading:"NEW CUSTOMERS"};var er=function(){return t("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"})};var tr={empty:t("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"}),loadingstate:t("slot",{name:"loading"},t("table",null,__spreadArrays(Array(10)).map((function(){return t("tr",null,t("td",null,t("sl-skeleton",null)))}))))};var nr=function(){var e={states:{loading:false,hasLeaders:false,styles:__assign({},Qa)},data:{rankType:"rowNumber",leaderboard:[],showUser:true,rowNumber:10,userRank:{firstName:"Kutay",lastInitial:"C",value:8,rowNumber:11,rank:23}},elements:__assign({},tr)};return t(S,Object.assign({},e))};var ar=Object.freeze({__proto__:null,default:Za,Empty:er,SlottedIntoComponent:nr});var rr='@author:johan\n@owner:johan\nFeature: Share Link\n\n The share link component is a box that allows users to see and copy their share link for a given program\n\n Background: Environment\n Given there is a valid program ID in the environment\n And there is a valid user ID and account ID in the environment\n\n @motivating\n Scenario: A Users sharelink can be copied to their clipboard\n Given tooltipText is "hello tooltip"\n When the component renders\n Then there is a textbox with the user\'s share link\n When the clipboard icon is clicked\n Then the link is copied to clipboard\n And a tooltip appears for ~1 second\n\n @minutae\n Scenario: Tooltip lifespan defaults to 2000\n Given the tooltip\'s lifespan is set to 2000\n And there is tooltip text\n When the component renders\n And the clipboard icon is clicked\n Then a tooltip appears for ~2 seconds\n\n @minutae\n Scenario: Demo\n Given isDemo() returns true\n Then the share link is "https://www.example.com/sharelink/abc"\n And the component won\'t be interactive\n And the tooltip is hidden\n\n @minutae\n Scenario: Program ID can be sourced from prop\n Given the programId prop is set to "program-a"\n And window.widgetIdent.programId is set to "program-b"\n When the component renders\n Then the share link is for "program-a"\n\n @minutae\n Scenario: Program ID can be sourced from window\n Given the programId prop is unset\n And window.widgetIdent.programId is set to "program-b"\n When the component renders\n Then the share link is for "program-b"\n\n @minutae\n Scenario: An analytic event is fired when a user copies their sharelink\n Given a user viewing the share link component\n And the component is rendered for "program-a"\n When they click to copy their link\n Then an "USER_REFERRAL_PROGRAM_ENGAGEMENT_EVENT" analytic event is fired\n And it is for "program-a"\n And it has share medium "DIRECT"\n';var sr={title:"Components/Share Link",parameters:{scenario:rr}};var ir=function(){var e={shareString:"https://noah.example.com",open:false,tooltiptext:"Copied!"};return t(N,Object.assign({},e))};var or=function(){var e={shareString:"https://noah.example.com",tooltiptext:"Some text for the tooltip",open:true};return t(N,Object.assign({},e))};var lr=function(){var e={shareString:"https://noah.example.com",disabled:true,open:true,tooltiptext:"Copied!"};return t(N,Object.assign({},e))};var dr=function(){return t("sqm-share-link",null)};var ur=Object.freeze({__proto__:null,default:sr,Default:ir,Tooltip:or,Disabled:lr,FullStack:dr});var cr='@author:sam\n@owner:sam\nFeature: Big Stat\n\n Big stat is a component for displaying a statistic as a large number with a label\n\n @minutae\n Scenario: Demo hook retrieves label using stat pattern\n Given isDemo() returns true\n And the component renders with props:\n | type |\n | /referralsCount |\n Then the label is: "REFERRALS - COUNT"\n And the value is: "12345"\n\n @minutae\n Scenario: Demo hook falls back to default label on invalid path\n Given isDemo() returns true\n And the component renders with props:\n | type |\n | a bad path |\n Then the label is: "Demo Label"\n And the value is: "12345"\n\n @motivating\n Scenario: Displays error on unrecognized path\n Given isDemo() returns false\n And the component renders with props:\n | type |\n | /(doesNotExistNopeNotHere) |\n Then the label is: "BAD PROP TYPE"\n And the value is: "!!!"\n\n @motivating\n Scenario Outline: Label displays correctly\n Given the type prop is set to <type>\n When the component renders\n Then the label is <label>\n Given isDemo() returns true\n When the component renders\n Then the label is <inferredLabel>\n Examples:\n | path | label | inferredLabel |\n | rewardsAssigned | Rewards Earned | Rewards Assigned |\n | rewardsRedeemed | Rewards Paid | Rewards Redeemed |\n | rewardsAvailable | Rewards Available | Rewards Available |\n | referralsCount | Referrals - Count | Referrals Count |\n | referralsMonth | Referrals - This Month | Referrals Month |\n | referralsWeek | Referrals - This Week | Referrals Week |\n | rewardsCount | Rewards - Count | Rewards Count |\n | rewardsMonth | Rewards - This Month | Rewards Month |\n | rewardsWeek | Rewards - This Week | Rewards Week |\n | rewardBalance | Balance - Credit Earned | Reward Balance |\n | customField | Custom Fields | Custom Fields |\n | programGoals | Program Goals | Program Goals |\n\n @motivating\n Scenario: Display user\'s credit\n Given isDemo() returns false\n And the user has earned 34 COFFEE from the program\n And the component renders with props:\n | type |\n | /rewardBalance/CREDIT/COFFEE/prettyValue |\n Then the label is: "Balance - Credit Earned"\n And the value is: "34 COFFEE"\n\n @minutae\n Scenario: Memoizes most recent query\n Given isDemo() returns false\n And the component\'s type prop is set to a variable named PATH\n And PATH is "/referralsWeek"\n Then the component shows a loading state before showing the result\n When the component reloads given some external reload\n Then the component doesn\'t show a loading state\n When PATH is set to "/rewardsWeek"\n Then the component shows a loading state before showing the result\n When PATH is set to "/referralsWeek"\n Then the component shows a loading state before showing the result\n\n @motivating\n Scenario: Stat has a loading state\n Given isDemo() returns false\n And the component\'s stat type prop is valid\n When the component renders\n Then The stat value displays "..."\n And when the stat query is completed\n And the stat value displays a value\n\n @motivating\n Scenario Outline: Program Goal stat requires metricType and goalId\n Given the statType prop is <statType>\n When the component renders\n Then the label is <label>\n And the stat value is <InvalidStatValue>\n Examples:\n | statType | label | InvalidStatValue |\n | /programGoals | BAD PROP TYPE | true |\n | /programGoals/count | BAD PROP TYPE | true |\n | /programGoals/conversionCount | BAD PROP TYPE | true |\n | /programGoals/My-Goal | BAD PROP TYPE | true |\n | /programGoals/count/My-Goal | Program Goals | false |\n | /programGoals/conversionCount/My-Goal | Program Goals | false |\n\n @motivating\n Scenario Outline: rewardCountFiltered supports many formats\n Given the statType begins with "/rewardCountFiltered"\n When the component renders with <statType>\n Then the stat <mayRender> a value\n Examples:\n | statType | mayRender |\n | /rewardsCountFiltered | renders |\n | /rewardsCountFiltered/COFFEE | doesn\'t render |\n | /rewardsCountFiltered/global | renders |\n | /rewardsCountFiltered/INTEGRATION | renders |\n | /rewardsCountFiltered/INTEGRATION/global | renders |\n | /rewardsCountFiltered/PCT_DISCOUNT | renders |\n | /rewardsCountFiltered/PCT_DISCOUNT/global | renders |\n | /rewardsCountFiltered/CREDIT | renders |\n | /rewardsCountFiltered/CREDIT/COFFEE | renders |\n | /rewardsCountFiltered/CREDIT/global | renders |\n | /rewardsCountFiltered/CREDIT/COFFEE/PENDING | renders |\n | /rewardsCountFiltered/CREDIT/COFFEE/AVAILABLE | renders |\n | /rewardsCountFiltered/CREDIT/CASH%2FUSD | renders |\n | /rewardsCountFiltered/CREDIT/CASH%2FUSD/global | renders |\n | /rewardsCountFiltered/CREDIT/CASH%2FUSD/PENDING | renders |\n | /rewardsCountFiltered/CREDIT/CASH%2FUSD/PENDING/global | renders |\n\n @motivating\n Scenario Outline: Program Goals and Reward units with currencies must be encoded\n Given the statType is <statType>\n When the stat is queried\n Then the stat is filtered by <decodedFilter>\n And a value <mayBe> rendered\n Examples:\n | statType | decodedFilter | may |\n | /rewardBalance/CREDIT/COFFEE | COFFEE | is |\n | /rewardBalance/CREDIT/CENTS | CENTS | is |\n | /rewardBalance/CREDIT/COFFEE%2FUSD | COFFEE/USD | is |\n | /rewardBalance/CREDIT/COFFEE/USD | COFFEE | is |\n | /rewardBalance/CREDIT/CASH | CASH | is |\n | /rewardBalance/CREDIT/CASH/USD | CASH | is |\n | /rewardBalance/CREDIT/CASH%2FUSD | CASH/USD | is |\n | /programGoals/count/My-Goal | My-Goal | is |\n | /programGoals/count/My-Goal/referrals | | isn\'t |\n | /programGoals/count/My-Goal%2Freferrals | My-Goal/referrals | is |\n\n @motivating\n Scenario Outline: User custom fields can be queried\n Given the StatType is <statType>\n When the stat is queried\n Then the value matches that of the users <customField>\n Examples:\n | statType | customField |\n | /customFields/videosShared | videosShared |\n | /customFields/totalPurchaseCount | totalPurchaseCount |\n\n @motivating\n Scenario Outline: Some stats can use a global value instead of filtered by program\n Given the stat <statName>\n Then the global value <mayBe> available\n Examples:\n | statName | mayBe |\n | referralsCount | isn\'t |\n | referralsMonth | isn\'t |\n | referralsWeek | isn\'t |\n | rewardsCount | is |\n | rewardsCountFiltered | is |\n | integrationRewardsCountFiltered | is |\n | rewardsMonth | is |\n | rewardsWeek | is |\n | rewardsAssigned | is |\n | rewardsRedeemed | is |\n | rewardsAvailable | is |\n | rewardBalance | is |\n\n @motivating\n Scenario Outline: referralsCount stat can be filtered by Converted and Started\n Given statType prop is <statType>\n Then the stat returned has a <filter>\n Examples:\n | statType | filter |\n | /referralsCount | { programId_eq: programId } |\n | /referralsCount/converted | { programId_eq: programId, dateConverted_exists: true } |\n | /referralsCount/started | { programId_eq: programId, dateConverted_exists: false } |\n\n @motivating\n Scenario: Program context is used by default to source the programId used for queries\n Given a valid "statType"\n And its not a global stat\n And the stat is loaded in an environment for "program-a"\n And the "program-id" prop is not used\n When the stat is queried\n Then the query is filtered by "{ programId_eq: \'program-a\' }"\n And only results from "program-a" are returned\n\n @motivating\n Scenario Outline: ProgramId can be specified to overwrite the program context default\n Given a valid "statType"\n And its not a global stat\n And the "program-id" prop has <value>\n When the stat is queried\n Then the query has a <filter>\n And only results from <value> are returned\n Examples:\n | value | filter |\n | program-b | { programId_eq: "program-b" } |\n | program-c | { programId_eq: "program-c" } |';var mr={title:"Components/Big Stat",parameters:{scenario:cr}};var pr=function(){var e={value:99e4,statvalue:"9.900,00",loading:false};return t(L,Object.assign({},e),"Big stat")};var hr=function(){var e={value:500,statvalue:"500",alignment:"left",loading:false};return t(L,Object.assign({},e),"Big stat")};var gr=function(){var e={value:500,statvalue:"500",alignment:"right",loading:false};return t(L,Object.assign({},e),"Big stat")};var fr=function(){var e={value:500,statvalue:"500",flexReverse:true,loading:false};return t(L,Object.assign({},e),"Big stat")};var br=function(){var e={value:500,statvalue:"500",flexReverse:true,alignment:"right",loading:false};return t(L,Object.assign({},e),"Big stat")};var vr=function(){var e={value:500,statvalue:"500",flexReverse:true,alignment:"left",loading:false};return t(L,Object.assign({},e),"Big stat")};var wr=function(){var e={value:0,statvalue:"...",loading:false};return t(L,Object.assign({},e),"Big stat")};var xr=function(){var e={value:0,statvalue:"!!!",loading:false};return t(L,Object.assign({},e),"Big stat")};var yr=function(){return t("sqm-stat-container",{space:"xxx-large",display:"flex"},t("sqm-big-stat",{"flex-reverse":"true",alignment:"left","stat-type":"/referralsCount"},t("sqm-text",null,t("p",null,"Rewards Redeemed"))),t("sqm-big-stat",{"flex-reverse":"true",alignment:"left","stat-type":"/rewardsRedeemed/CREDIT/global"},t("sqm-text",null,t("p",null,"Rewards Redeemed"))),t("sqm-big-stat",{"flex-reverse":"true",alignment:"left","stat-type":"/rewardBalance/CREDIT/POINT/value/global"},t("sqm-text",null,t("p",null,"Points Balance"))))};var Er=Object.freeze({__proto__:null,default:mr,Default:pr,LeftAlign:hr,RightAlign:gr,FlexReverse:fr,FlexReverseRight:br,FlexReverseLeft:vr,NoStatValue:wr,InvalidStatValue:xr,MultipleStats:yr});var qr='@owner:noah\n@author:noah\nFeature: Leaderboard\n\n\tThe leaderboard supports three main cases\n\t- Top Started Referrers\n\t- Top Converted Referrers\n\t- Top Point Earners\n\tTo display these different types of leaderboards it uses the backends pre-canned options.\n\tThe backend supports filtering on programId and interval, programId is sourced from program context.\n\n\tBackground: A user exists\n\t\tGiven a user\n\t\tAnd they are viewing the leaderboard\n\n\t@motivating\n\tScenario Outline: Two types of referrals leaderboards can be displayed\n\t\tGiven a leaderboard has prop "leaderboard-type" with <value>\n\t\tAnd there are started referrals on the tenant\n\t\tAnd there are started converted on the tenant\n\t\tWhen the user views the leaderboard\n\t\tThen they see the referral <referralType> leaderboard\n\t\tExamples:\n\t\t\t| value | referralType |\n\t\t\t| topStartedReferrers | started |\n\t\t\t| topConvertedReferrers | converted |\n\n\t@motivating\n\tScenario: The top point earners leaderboard can be displayed\n\t\tGiven a leaderboard has prop "leaderboard-type" with value "topPointEarners"\n\t\tAnd there are users with points\n\t\tWhen the user views the leaderboard\n\t\tThen they see the top point earners leaderboard\n\t\tAnd text values are displayed for point counts\n\n\t@minutia\n\tScenario Outline: Reward pretty value is used on the top point earners leaderboard\n\t\tGiven top point earners leaderboard\n\t\tAnd the "POINT" reward unit has a pretty value for the following locales\n\t\t\t| locale |\n\t\t\t| en |\n\t\t\t| fr |\n\t\t\t| tr |\n\t\tWhen the user views the leaderboard\n\t\tAnd they have <locale>\n\t\tThen they see the translated pretty value in the stat value column\n\n\t@motivating\n\tScenario Outline: Program Context is used by default to filter leaderboard results\n\t\tGiven a <leaderboardType> leaderboard loaded with program context for "my-program"\n\t\tWhen the user views the leaderboard\n\t\tThen they only see <results> from "my-program"\n\t\tExamples:\n\t\t\t| leaderboardType | results |\n\t\t\t| topStartedReferrers | started referrals |\n\t\t\t| topConvertedReferrers | converted referrals |\n\t\t\t| topPointEarners | points earned |\n\n\t@motivating\n\tScenario Outline: Program Id context can be overwritten with a prop\n\t\tGiven a <leaderboardType> leaderboard has prop "program-Id" with value "my-test-program"\n\t\tWhen the user views the leaderboard\n\t\tThen they only see <results> from "my-test-program"\n\t\tExamples:\n\t\t\t| leaderboardType | results |\n\t\t\t| topStartedReferrers | started referrals |\n\t\t\t| topConvertedReferrers | converted referrals |\n\t\t\t| topPointEarners | points earned |\n\n\t@motivating\n\tScenario Outline: Global leaderboards can be displayed by clearing program context\n\t\t#This is important for clients with use cases like StaffTracks global points leaderboard\n\t\t#This can also be done with a program section in a similar manner\n\t\tGiven a <leaderboardType> leaderboard has prop "program-Id" with value ""\n\t\tWhen the user views the leaderboard\n\t\tThen they see global <results>\n\t\tExamples:\n\t\t\t| leaderboardType | results |\n\t\t\t| topStartedReferrers | started referrals |\n\t\t\t| topConvertedReferrers | converted referrals |\n\t\t\t| topPointEarners | points earned |\n\n\t@motivating\n\tScenario: Leaderboard results are shown in descending order\n\t\tGiven there are leaderboard results\n\t\tWhen the user views the leaderboard\n\t\tThen they see up to the 10 top leaderboard results\n\t\tAnd leaderboard is in descending order\n\n\t@motivating\n\tScenario Outline: Leaderboard results can be filtered with a time interval\n\t\tGiven a <leaderboardType> leaderboard\n\t\tAnd it has prop "interval" with value "2021-11-02T07:00:00.000Z/2021-11-07T07:00:00.000Z"\n\t\tWhen the user views the leaderboard\n\t\tThen they only see <results> from within "2021-11-02T07:00:00.000Z/2021-11-07T07:00:00.000Z"\n\t\tExamples:\n\t\t\t| leaderboardType | results |\n\t\t\t| topStartedReferrers | started referrals |\n\t\t\t| topConvertedReferrers | converted referrals |\n\t\t\t| topPointEarners | points earned |\n\n\t@motivating\n\tScenario Outline: Leaderboard rank type can be configured\n\t\tGiven a leaderboard has prop "rank-type" with <value>\n\t\tWhen the user views the leaderboard\n\t\tThen their leaderboard rank is their <rank>\n\t\tExamples:\n\t\t\t| value | rank |\n\t\t\t| rowNumber | row number |\n\t\t\t| denseRank | dense rank |\n\t\t\t| rank | rank |\n\n\t@minutia\n\tScenario Outline: The max number of leaderboard rows displayed can be configured but defaults to 10\n\t\tGiven a leaderboard has prop "max-rows" with <value>\n\t\tAnd the leaderboard has <resultCount>\n\t\tWhen the user views the leaderboard\n\t\tThen they see <number> rows\n\t\tExamples:\n\t\t\t| value | resultCount | number |\n\t\t\t| | 10 | 10 |\n\t\t\t| 5 | 10 | 5 |\n\t\t\t| 3 | 1 | 1 |\n\t\t\t| 25 | 15 | 15 |\n\n\t@minutiae\n\t@ui\n\tScenario: Leaderboards with no results show an empty state\n\t\tGiven a leaderboard has no results\n\t\tWhen the user views the leaderboard\n\t\tThen an empty state is dislayed\n\t\tAnd they see an image of a leaderboard\n\t\tAnd below they see "View your rank in the leaderboard"\n\t\tAnd below they see "Be the first to refer a friend and reach the top of the leaderboard"\n\t\tAnd the text is center aligned\n\n\t@minutiae\n\t@ui\n\tScenario: A custom empty state can be provided\n\t\tGiven a leaderboard has no results\n\t\tWhen the user views the leaderboard\n\t\tThen the contents of the "empty" slot are displayed\n\n\t@minutiae\n\t@ui\n\tScenario: Leaderboard headings can be customized\n\t\tGiven a leaderboard\n\t\tAnd it has the following props\n\t\t\t| prop | value |\n\t\t\t| rankheading | Place |\n\t\t\t| usersheading | Customer |\n\t\t\t| statsheading | Referral Count |\n\t\t\t| show-rank | true |\n\t\tWhen the user views the leaderboard\n\t\tThen they see the following columns with headings\n\t\t\t| column | heading |\n\t\t\t| rank | Place |\n\t\t\t| user | Customer |\n\t\t\t| stat | Referral Count |\n\n\t@motivating\n\t@ui\n\tScenario Outline: Leaderboard rank can be hidden or shown\n\t\tGiven a leaderboard\n\t\tAnd it has prop "show-rank" with <propValue>\n\t\tWhen the user views the leaderboard\n\t\tThen they <maySee> the rank column\n\t\tExamples:\n\t\t\t| propValue | maySee |\n\t\t\t| true | see |\n\t\t\t| false | don\'t see |\n\t\t\t| | don\'t see |\n\n\t@motivating\n\t@ui\n\tScenario: Users in the top 10 of the leaderboard results see their leaderboard row highlighted\n\t\tGiven a user in the top 10 of the leaderboard results\n\t\tWhen they view the leaderboard\n\t\tThen they see the row with their name highlighted with brand colour\n\n\t@motivating\n\t@ui\n\tScenario Outline: Users not in the top 10 leaderboard results can see their progress at the bottom of the leaderboard\n\t\tGiven a user <mayHave> completed actions counted by the leaderboard\n\t\tAnd they are not in the top 10 leaderboard results\n\t\tAnd the leaderboard has prop "show-user" with <value>\n\t\tWhen they view the leaderboard\n\t\tThen they <maySee> "..." under the top 10 leaderboard results\n\t\tAnd under "..." they <maySee> a row highlighted with brand colour\n\t\tAnd they <maySee> their name\n\t\tAnd they <maySee> their leaderboard value\n\t\tAnd they <maySeeRank>\n\t\tExamples:\n\t\t\t| mayHave | value | maySee | maySeeRank |\n\t\t\t| has | true | see | see their rank |\n\t\t\t| hasn\'t | true | see | don\'t see their rank |\n\t\t\t| N/A | false | don\'t see | don\'t see their rank |\n\t\t\t| hasn\'t | | see | don\'t see their rank |\n\n\t@minutiae\n\tScenario: Users without names are displayed as an "Anonymous User"\n\t\tGiven a user\n\t\tAnd they do not have a first name\n\t\tAnd they do not have a last initial\n\t\tWhen they view the leaderboard\n\t\tThen they see the user displayed as "Anonymous User"\n\n\t@minutiae\n\tScenario Outline: If a user only has a first or last name, then only that is displayed\n\t\tGiven a user\n\t\tAnd they only have a <name>\n\t\tWhen they view the leaderboard\n\t\tThen they only see their <name>\n\t\tExamples:\n\t\t\t| name |\n\t\t\t| firstName |\n\t\t\t| lastName |';var Ar={title:"Components/Leaderboard",parameters:{scenario:qr}};var Dr=[{firstName:"",lastInitial:"",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},{firstName:"Mos",lastInitial:"D",textValue:"46",rank:5,rowNumber:5},{firstName:"Joe",lastInitial:"S",textValue:"42",rank:6,rowNumber:6},{firstName:"Zach",lastInitial:"H",textValue:"41",rank:7,rowNumber:7},{firstName:"Sarah",lastInitial:"S",textValue:"39",rank:8,rowNumber:8},{firstName:"James",lastInitial:"",textValue:"33",rank:9,rowNumber:9},{firstName:"",lastInitial:"J",textValue:"29",rank:10,rowNumber:10}];var kr=[{firstName:"",lastInitial:"",textValue:"82 Points",rank:1,rowNumber:1},{firstName:"MF",lastInitial:"D",textValue:"73 Points",rank:2,rowNumber:2},{firstName:"Freddie",lastInitial:"G",textValue:"64 Points",rank:3,rowNumber:3},{firstName:"Benny",lastInitial:"B",textValue:"55 Points",rank:4,rowNumber:4},{firstName:"Mos",lastInitial:"D",textValue:"46 Points",rank:5,rowNumber:5},{firstName:"Joe",lastInitial:"S",textValue:"42 Points",rank:6,rowNumber:6},{firstName:"Zach",lastInitial:"H",textValue:"41 Points",rank:7,rowNumber:7},{firstName:"Sarah",lastInitial:"S",textValue:"39 Points",rank:8,rowNumber:8},{firstName:"James",lastInitial:"",textValue:"33 Points",rank:9,rowNumber:9},{firstName:"",lastInitial:"J",textValue:"29 Points",rank:10,rowNumber:10}];var Cr={usersheading:"User",statsheading:"Referrals",rankheading:"Rank",anonymousUser:"Anonymous User"};var _r={empty:t("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"}),loadingstate:t("slot",{name:"loading"},t("table",null,__spreadArrays(Array(10)).map((function(){return t("tr",null,t("td",null,t("sl-skeleton",null)))}))))};var Tr=function(){var e={states:{loading:false,hasLeaders:false,styles:__assign({},Cr)},data:{rankType:"rowNumber",leaderboard:[],rowNumber:10,viewerRank:{firstName:"Kutay",lastInitial:"C",textValue:"8",rowNumber:11,rank:23}},elements:__assign({},_r)};return t(S,Object.assign({},e))};var Rr=function(){var e={states:{loading:true,hasLeaders:false,styles:__assign({},Cr)},data:{rankType:"rowNumber",rowNumber:10,leaderboard:[]},elements:__assign({},_r)};return t(S,Object.assign({},e))};var Pr=function(){var e={states:{loading:false,hasLeaders:true,styles:__assign({},Cr)},data:{rankType:"rowNumber",rowNumber:1,leaderboard:[{firstName:"Viktor",lastInitial:"V",textValue:"82",rank:1,rowNumber:1}],viewerRank:{firstName:"Viktor",lastInitial:"V",textValue:"82",rank:1,rowNumber:1}},elements:__assign({},_r)};return t(S,Object.assign({},e))};var Ir=function(){var e={states:{loading:false,hasLeaders:true,styles:__assign({},Cr)},data:{rankType:"rowNumber",rowNumber:5,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},{firstName:"Mos",lastInitial:"D",textValue:"46",rank:5,rowNumber:5}],viewerRank:{firstName:"Viktor",lastInitial:"V",textValue:"82",rank:1,rowNumber:1}},elements:__assign({},_r)};return t(S,Object.assign({},e))};var Sr=function(){var e={states:{loading:false,hasLeaders:true,styles:__assign(__assign({},Cr),{rankheading:"Rank",usersheading:"User",statsheading:"Referrals",showRank:false})},data:{rankType:"rowNumber",leaderboard:Dr,rowNumber:10,viewerRank:{firstName:"Viktor",lastInitial:"V",textValue:"82",rank:1,rowNumber:1}},elements:__assign({},_r)};return t(S,Object.assign({},e))};var Nr=function(){var e={states:{loading:false,hasLeaders:true,styles:__assign(__assign({},Cr),{rankheading:"Rank",usersheading:"User",statsheading:"Points",showRank:false})},data:{rankType:"rowNumber",leaderboard:kr,rowNumber:10,viewerRank:{firstName:"Viktor",lastInitial:"V",textValue:"82 Points",rank:1,rowNumber:1}},elements:__assign({},_r)};return t(S,Object.assign({},e))};var Lr=function(){var e={states:{loading:false,hasLeaders:true,styles:__assign(__assign({},Cr),{showRank:true})},data:{rankType:"rowNumber",leaderboard:Dr,rowNumber:10,viewerRank:{firstName:"Viktor",lastInitial:"V",textValue:"82",rank:1,rowNumber:1}},elements:__assign({},_r)};return t(S,Object.assign({},e))};var Fr=function(){var e={states:{loading:false,hasLeaders:true,styles:__assign(__assign({},Cr),{showRank:true})},data:{rankType:"rowNumber",leaderboard:Dr,rowNumber:10,viewerRank:{firstName:"Kutay",lastInitial:"C",textValue:"8",rowNumber:11,rank:23}},elements:__assign({},_r)};return t(S,Object.assign({},e))};var Or=function(){var e={states:{loading:false,hasLeaders:true,styles:__assign(__assign({},Cr),{showRank:true})},data:{rankType:"rowNumber",leaderboard:Dr,rowNumber:10,viewerRank:null},elements:__assign({},_r)};return t(S,Object.assign({},e))};var Br=function(){var e={states:{loading:false,hasLeaders:true,rowNumber:10,styles:__assign(__assign({},Cr),{showRank:true,hideViewer:true})},data:{rankType:"rowNumber",leaderboard:Dr,rowNumber:10,viewerRank:{firstName:"Viktor",lastInitial:"V",textValue:"82",rowNumber:1,rank:1}},elements:__assign({},_r)};return t(S,Object.assign({},e))};var Gr=Object.freeze({__proto__:null,default:Ar,Empty:Tr,Loading:Rr,One:Pr,Five:Ir,ReferralLeaderboard:Sr,PointsLeaderboard:Nr,TenWithRank:Lr,ViewerOutside:Fr,ViewerAnonymous:Or,HideViewer:Br});var jr=function(e,n){var a=e.story;var r;var s=(r=a.story.parameters)===null||r===void 0?void 0:r.hookStory;if(!s){return n}var i=Math.round(Math.random()*1e5);var o="sqm-hook-story-container-"+i;return t(o,null,t("sqm-hook-story-container",{hookStory:s}))};function Vr(e){var n=function(){return t("div",null)};n.parameters={hookStory:e};return n}var Mr={title:"Tests/Router"};var Wr='\n <template path="/foo"><h1>foo</h1>\n \n <p>These elements don\'t produce a specific box by themselves. They are replaced by their pseudo-box and their child boxes. Please note that the CSS Display Level 3 spec defines how the contents value should affect "unusual elements" — elements that aren’t rendered purely by CSS box concepts such as replaced elements. See Appendix B: Effects of display: contents on Unusual Elements for more details.\n\n Due to a bug in browsers this will currently remove the element from the accessibility tree — screen readers will not look at what\'s inside. See the Accessibility concerns section below for more details.</p>\n </template>\n <template path="/bar"><h2>bar</h2>\n \n <p>Turns off the display of an element so that it has no effect on layout (the document is rendered as though the element did not exist). All descendant elements also have their display turned off.\n To have an element take up the space that it would normally take, but without actually rendering anything, use the visibility property instead.</p>\n </template>\n <template path="/baz/bang"><h3>baz/bang</h3>\n <pre>\n ▄▄▄▄▄▄▄░▄▄▄▄▄▄▄░▄▄▄▄▄▄░▄▄▄▄▄\n ░░▀███░░░░▀██░░░░██▀░░░░██░░\n ░░░▀██░░░░░▀██░░▄█░░░░░▄█░░░\n ░░░░███░░░░░▀██▄█░░░░░░█░░░░\n ░░░░░███░░░░░▀██░░░░░░█▀░░░░\n ░░░░░░███░░░░▄███░░░░█▀░░░░░\n ░░░░░░░██▄░░▄▀░███░░█▀░░░░░░\n ░░░░░░░▀██▄█▀░░░███▄▀░░░░░░░\n ░░░░░░░░▀██▀░░░░░███░░░░░░░░\n ░░░░░░░░░▀▀░░░░░░░▀░░░░░░░░░\n </pre>\n </template>\n <template path="/refer/:page"><h3>/refer/:page</h3>\n <pre>\n refer/:page\n </pre>\n </template>\n';var Ur='\n <sqm-route path="/foo"><h1>foo</h1>\n \n <p>These elements don\'t produce a specific box by themselves. They are replaced by their pseudo-box and their child boxes. Please note that the CSS Display Level 3 spec defines how the contents value should affect "unusual elements" — elements that aren’t rendered purely by CSS box concepts such as replaced elements. See Appendix B: Effects of display: contents on Unusual Elements for more details.\n\n Due to a bug in browsers this will currently remove the element from the accessibility tree — screen readers will not look at what\'s inside. See the Accessibility concerns section below for more details.</p>\n </sqm-route>\n <sqm-route path="/bar"><h2>bar</h2>\n <p>Turns off the display of an element so that it has no effect on layout (the document is rendered as though the element did not exist). All descendant elements also have their display turned off.\n To have an element take up the space that it would normally take, but without actually rendering anything, use the visibility property instead.</p>\n </sqm-route>\n <sqm-route path="/baz/bang"><h3>baz/bang</h3>\n <pre>\n ▄▄▄▄▄▄▄░▄▄▄▄▄▄▄░▄▄▄▄▄▄░▄▄▄▄▄\n ░░▀███░░░░▀██░░░░██▀░░░░██░░\n ░░░▀██░░░░░▀██░░▄█░░░░░▄█░░░\n ░░░░███░░░░░▀██▄█░░░░░░█░░░░\n ░░░░░███░░░░░▀██░░░░░░█▀░░░░\n ░░░░░░███░░░░▄███░░░░█▀░░░░░\n ░░░░░░░██▄░░▄▀░███░░█▀░░░░░░\n ░░░░░░░▀██▄█▀░░░███▄▀░░░░░░░\n ░░░░░░░░▀██▀░░░░░███░░░░░░░░\n ░░░░░░░░░▀▀░░░░░░░▀░░░░░░░░░\n </pre>\n </sqm-route>\n <sqm-route path="/refer/:page"><h3>/refer/:page</h3>\n <pre>\n refer/:page\n </pre>\n </sqm-route>\n';var zr=Vr((function(){return t("div",null,t("button",{onClick:function(){return u.push("/")}},"/"),t("button",{onClick:function(){return u.push("/foo")}},"/foo"),t("button",{onClick:function(){return u.push("/bar")}},"/bar"),t("button",{onClick:function(){return u.push("/baz/bang")}},"/baz/bang"),t("button",{onClick:function(){return u.push("/refer")}},"/refer"),t("button",{onClick:function(){return u.push("/refer/1")}},"/refer/1"),t("button",{onClick:function(){return u.push("/refer/2")}},"/refer/2"),t("button",{onClick:function(){return u.back()}},"Back"),t("button",{onClick:function(){return u.forward()}},"Forward"),t("hr",null),t("sqm-router",{innerHTML:Wr}))}));var Hr=Vr((function(){return t("div",null,t("button",{onClick:function(){return u.push("/")}},"/"),t("button",{onClick:function(){return u.push("/foo")}},"/foo"),t("button",{onClick:function(){return u.push("/bar")}},"/bar"),t("button",{onClick:function(){return u.push("/baz/bang")}},"/baz/bang"),t("button",{onClick:function(){return u.push("/refer")}},"/refer"),t("button",{onClick:function(){return u.push("/refer/1")}},"/refer/1"),t("button",{onClick:function(){return u.push("/refer/2")}},"/refer/2"),t("button",{onClick:function(){return u.back()}},"Back"),t("button",{onClick:function(){return u.forward()}},"Forward"),t("hr",null),t("sqm-router",{innerHTML:Ur}))}));var Xr=Vr((function(){return t("div",null,t("button",{onClick:function(){return u.push("/")}},"/"),t("button",{onClick:function(){return u.push("/foo")}},"/foo"),t("hr",null),t("div",{style:{display:"flex",justifyContent:"space-around"}},t("sqm-router",{innerHTML:'<template path="/">\n \n <div>Column 1</div>\n <div>Column 2 </div>\n </template>'})))}));function Jr(e){var t=i(e),n=t[0],a=t[1];var r=i(e),s=r[0],o=r[1];function l(e){u.push(e.target.value)}return{states:{previewTemplate:s,editedTemplate:n},callbacks:{setEditedTemplate:a,setPreviewTemplate:o,setPath:l}}}var $r='\n<sqm-router>\n <template path="/">\n <div>hello world</div>\n </template>\n</sqm-router>\n';function Kr(e){var n=e.states,a=e.callbacks;return[t("textarea",{style:{width:"100%",height:"300px"},onChange:function(e){return a.setEditedTemplate(e.target.value)}},n.editedTemplate),t("button",{onClick:function(){return a.setPreviewTemplate(n.editedTemplate)}},"Update Preview"),t("label",null,"Current path:",t("input",{onInput:a.setPath,value:"/"})),t("div",{innerHTML:n.previewTemplate})]}var Yr=Vr((function(){var e=Jr($r),n=e.states,a=e.callbacks;return t(Kr,{states:n,callbacks:a})}));var Zr=Object.freeze({__proto__:null,default:Mr,TemplateNavigation:zr,RouteNavigation:Hr,Styling:Xr,RouterPlayground:Yr});var Qr='@owner:noah\n@author:noah\nFeature: Leaderboard Rank\n\n The leaderboard rank components displays the current users rank on the leaderboard.\n\n @minutiae\n Scenario: Users without a rank are shown a generic message\n Given a user has no rank\n Then the component displays a generic message\n And the message is the string from the prop "unrankedText"\n\n @motivating\n Scenario: Users with a rank are shown a message containing their rank\n Given a user has a valid rank\n And the prop "rankText" is an ICU message\n Then the ICU message is parsed to include the user\'s rank\n And the parsed message is displayed to the users\n\n @motivating\n Scenario Outline: Ranks from any of the three standard leaderboards can be displayed\n Given a leaderboard rank component with <leaderboardType>\n And a user has a valid rank\n When they view the leaderboard rank component\n Then they see their rank for <leaderboardType>\n Examples:\n | leaderboardType |\n | topStartedReferrers |\n | topConvertedReferrers |\n | topPointEarners |\n\n @motivating\n Scenario Outline: Leaderboard rank can be filtered with a time interval\n Given a leaderboard rank component with <leaderboardType>\n And it has prop "interval" with value "2021-11-02T07:00:00.000Z/2021-11-07T07:00:00.000Z"\n When they view the leaderboard rank component\n Then they see their rank for <results> from within "2021-11-02T07:00:00.000Z/2021-11-07T07:00:00.000Z"\n Examples:\n | leaderboardType | results |\n | topStartedReferrers | started referrals |\n | topConvertedReferrers | converted referrals |\n | topPointEarners | points earned |\n\n @motivating\n Scenario Outline: Program Context is used by default to filter leaderboard rank\n Given a <leaderboardType> leaderboard rank component loaded with program context for "my-program"\n When they view the leaderboard rank component\n Then they see their rank for <leaderboardType> from "my-program"\n Examples:\n | leaderboardType |\n | topStartedReferrers |\n | topConvertedReferrers |\n | topPointEarners |\n\n @motivating\n Scenario Outline: Program Id context can be overwritten with a prop\n Given a <leaderboardType> leaderboard rank component has prop "program-Id" with value "my-test-program"\n When they view the leaderboard rank component\n Then they see their rank for <leaderboardType> from "my-test-program"\n Examples:\n | leaderboardType | results |\n | topStartedReferrers | started referrals |\n | topConvertedReferrers | converted referrals |\n | topPointEarners | points earned |\n\n @motivating\n Scenario Outline: Global leaderboards ranks can be displayed by clearing program context\n #This can also be done with a program section in a similar manner\n Given a <leaderboardType> leaderboard rank component has prop "program-Id" with value ""\n When they view the leaderboard rank component\n Then they see global <results> rank\n Examples:\n | leaderboardType | results |\n | topStartedReferrers | started referrals |\n | topConvertedReferrers | converted referrals |\n | topPointEarners | points earned |\n\n @motivating\n Scenario: Rank calculation is controlled by the "rankType" prop\n Given the current user is User C\n And User C has <points>\n And User A has <points>\n And User B has <points>\n And the value of the "rankType" prop is <rankType>\n Then the rank of the current user is <rank>\n Examples:\n | user | points | rankType | rank |\n | User A | 5 | rowNumber | 3 |\n | User B | 10 | rowNumber | 1 |\n | User C | 10 | rowNumber | 2 |\n\n | user | points | rankType | rank |\n | User A | 10 | rank | 1 |\n | User B | 10 | rank | 1 |\n | User C | 5 | rank | 3 |\n\n | user | points | rankType | rank |\n | User A | 10 | denseRank | 1 |\n | User B | 10 | denseRank | 1 |\n | User C | 5 | denseRank | 2 |';var es={title:"Components/Leaderboard Rank",parameters:{scenario:Qr}};var ts=function(){var e={data:{rank:"1st"}};return t("p",null,"Your rank is ",t(y,Object.assign({},e))," on the leaderboard")};var ns=function(){var e={data:{rank:"2nd"}};return t("p",null,"Your rank is ",t(y,Object.assign({},e))," on the leaderboard")};var as=function(){var e={data:{rank:"unranked"}};return t("p",null,"You are currently ",t(y,Object.assign({},e)),", refer a friend!")};var rs=Object.freeze({__proto__:null,default:es,First:ts,Second:ns,Unranked:as});function ss(){var e="worried-camera@uexwltgh.mailosaur.net";var t=e;var n="a-referral-program";window.SquatchAndroid=true;window.widgetIdent={tenantAlias:"test_as36zjtpfy7oo",appDomain:"https://staging.referralsaasquatch.com",token:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6IndvcnJpZWQtY2FtZXJhQHVleHdsdGdoLm1haWxvc2F1ci5uZXQiLCJpZCI6IndvcnJpZWQtY2FtZXJhQHVleHdsdGdoLm1haWxvc2F1ci5uZXQifX0.-WGV4_bzGCFp-OTIO-h-yp0MlgtkdufT_GgI4T691OY",userId:e,accountId:t,programId:n};return{id:e,accountId:t}}function is(){var e="a-referral-program";window.SquatchAndroid=true;window.widgetIdent={tenantAlias:"test_as36zjtpfy7oo",appDomain:"https://staging.referralsaasquatch.com",programId:e}}var os={title:"Components/Portal Frame"};var ls={data:{footer:t("span",null,"example@example.com"),header:t("div",{slot:"header",style:{display:"flex",flexDirection:"column"}},t("span",{style:{fontSize:"var(--sl-font-size-large)",fontWeight:"bold"}},"Portal Header"),t("span",{style:{fontSize:"var(--sl-font-size-small)"}},"A description for the portal"))},callbacks:{rerender:function(){}},ref:{current:undefined}};var ds=function(){var e=__assign({},ls);return t(F,Object.assign({},e),t("sqm-navigation-menu",{"menu-label":"Menu"},t("sl-menu-item",{exportparts:"base: menuitem-base",value:"/widget"},"Dashboard"),t("sl-menu-item",{exportparts:"base: menuitem-base",value:"/editProfile"},"Edit Profile"),t("sl-menu-divider",null),t("sl-menu-item",{exportparts:"base: menuitem-base",value:"/logout"},"Logout")))};var us=function(){var e=__assign({},ls);return t(F,Object.assign({},e))};var cs=function(){var e;ss();return t("div",null,t("sqm-portal-frame",null,t("div",{slot:"header",style:{display:"flex",flexDirection:"column"}},t("span",{style:{fontSize:"var(--sl-font-size-large)",fontWeight:"bold"}},"Portal Header"),t("span",{style:{fontSize:"var(--sl-font-size-small)"}},"A description for the portal")),t("a",{slot:"footer",class:"FooterEmail",href:"mailto:referrals@servicetitan.com"},"referrals@servicetitan.com"),t("sqm-navigation-menu",{"menu-label":"Menu"},t("sl-menu-item",{exportparts:"base: menuitem-base",value:"/widget"},"Dashboard"),t("sl-menu-item",{exportparts:"base: menuitem-base",value:"/editProfile"},"Edit Profile"),t("sl-menu-divider",null),t("sl-menu-item",{exportparts:"base: menuitem-base",value:"/logout"},"Logout")),t("h1",null,"Something")),t("p",null,"Current path:"," ",t("code",null,t("strong",null,(e=c())===null||e===void 0?void 0:e.pathname))),t("button",{onClick:u.back},"Go Back"))};var ms=function(){var e;is();return t("div",null,t("sqm-portal-frame",null,t("div",{slot:"header",style:{display:"flex",flexDirection:"column"}},t("span",{style:{fontSize:"var(--sl-font-size-large)",fontWeight:"bold"}},"Portal Header"),t("span",{style:{fontSize:"var(--sl-font-size-small)"}},"A description for the portal")),t("span",{slot:"footer"},"sample@example.com"),t("sqm-navigation-menu",{"menu-label":"Menu"},t("sl-menu-item",{exportparts:"base: menuitem-base",value:"/widget"},"Dashboard"),t("sl-menu-item",{exportparts:"base: menuitem-base",value:"/editProfile"},"Edit Profile"),t("sl-menu-divider",null),t("sl-menu-item",{exportparts:"base: menuitem-base",value:"/logout"},"Logout")),t("h1",null,"Something")),t("p",null,"Current path:"," ",t("code",null,t("strong",null,(e=c())===null||e===void 0?void 0:e.pathname))),t("button",{onClick:u.back},"Go Back"))};var ps=Object.freeze({__proto__:null,default:os,FrameWithMenu:ds,FrameWithoutMenu:us,FullStackFrame:cs,FullStackFrameLoggedOut:ms});var hs={title:"Components/Edit Profile Form"};var gs={states:{loading:false,submitDisabled:false,formState:{currentRegion:"Canada",firstName:"Bill",lastName:"Bob",errors:{},error:"An error string"},user:{firstName:"Bill",lastName:"Bob",email:"billbob@example.com"},showEdit:false,text:{editprofileheader:"Edit Profile",editprofiletext:"Update your profile.",firstnametext:"Bill",lastnametext:"Bob",canceltext:"Cancel",updatetext:"Update",currentregiontext:"Canada"}},callbacks:{onSubmit:function(e){console.log(e)},resetForm:function(){console.log("reset")},onChange:function(){console.log("change")},setShowEdit:function(e){console.log(e)}}};var fs=function(){var e=gs;return t(O,Object.assign({},e))};var bs=function(){var e=__assign(__assign({},gs),{states:__assign(__assign({},gs.states),{showEdit:true})});return t(O,Object.assign({},e))};var vs=function(){return t("sqm-edit-profile",{editprofileheader:"Edit Profile",editprofiletext:"Update your profile.",firstnametext:"Bill",lastnametext:"Bob",canceltext:"Cancel",updatetext:"Update",currentregiontext:"Current Region",showregion:true})};var ws=Object.freeze({__proto__:null,default:hs,EditProfileFormDisabled:fs,EditProfileFormEnabled:bs,FullStackFrameWithMenu:vs});var xs={title:"Hooks / useShareLink"};function ys(){var e="testestest";var t=e;var n="sam-partner-test-2";window.widgetIdent={tenantAlias:"test_a8b41jotf8a1v",appDomain:"https://staging.referralsaasquatch.com",programId:n};o((function(){m({accountId:t,id:e,jwt:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InRlc3Rlc3Rlc3QiLCJpZCI6InRlc3Rlc3Rlc3QifX0.qYnU5hNeIj9C_G3NogfG7btgCPGZC7JRXY0MG6a63zs"});return function(){window.widgetIdent=undefined;m(undefined)}}),[])}var Es=Vr((function(){ys();var e=B({programId:"sam-partner-test-2",tooltiplifespan:0,tooltiptext:""});return t("div",null,"Sharelink:"," ",t("code",{style:{borderStyle:"solid",borderWidth:"1px",padding:"2px"}},e.shareString))}));var qs=Vr((function(){ys();return t(N,Object.assign({},B({programId:"sam-partner-test-2",tooltiptext:"Copied to clipboard",tooltiplifespan:1e3})))}));var As=Vr((function(){ys();return t(N,Object.assign({},B({programId:"sam-partner-test-2",tooltiptext:"⠀⠀⠀⠀⠀⠀⠀⠀⠀HELLO THERE!!!\n⠀⠀⠀⡯⡯⡾⠝⠘⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢊⠘⡮⣣⠪⠢⡑⡌\n⠀⠀⠀⠟⠝⠈⠀⠀⠀⠡⠀⠠⢈⠠⢐⢠⢂⢔⣐⢄⡂⢔⠀⡁⢉⠸⢨⢑⠕⡌\n⠀⠀⡀⠁⠀⠀⠀⡀⢂⠡⠈⡔⣕⢮⣳⢯⣿⣻⣟⣯⣯⢷⣫⣆⡂⠀⠀⢐⠑⡌\n⢀⠠⠐⠈⠀⢀⢂⠢⡂⠕⡁⣝⢮⣳⢽⡽⣾⣻⣿⣯⡯⣟⣞⢾⢜⢆⠀⡀⠀⠪\n⣬⠂⠀⠀⢀⢂⢪⠨⢂⠥⣺⡪⣗⢗⣽⢽⡯⣿⣽⣷⢿⡽⡾⡽⣝⢎⠀⠀⠀⢡\n⣿⠀⠀⠀⢂⠢⢂⢥⢱⡹⣪⢞⡵⣻⡪⡯⡯⣟⡾⣿⣻⡽⣯⡻⣪⠧⠑⠀⠁⢐\n⣿⠀⠀⠀⠢⢑⠠⠑⠕⡝⡎⡗⡝⡎⣞⢽⡹⣕⢯⢻⠹⡹⢚⠝⡷⡽⡨⠀⠀⢔\n⣿⡯⠀⢈⠈⢄⠂⠂⠐⠀⠌⠠⢑⠱⡱⡱⡑⢔⠁⠀⡀⠐⠐⠐⡡⡹⣪⠀⠀⢘\n⣿⣽⠀⡀⡊⠀⠐⠨⠈⡁⠂⢈⠠⡱⡽⣷⡑⠁⠠⠑⠀⢉⢇⣤⢘⣪⢽⠀⢌⢎\n⣿⢾⠀⢌⠌⠀⡁⠢⠂⠐⡀⠀⢀⢳⢽⣽⡺⣨⢄⣑⢉⢃⢭⡲⣕⡭⣹⠠⢐⢗\n⣿⡗⠀⠢⠡⡱⡸⣔⢵⢱⢸⠈⠀⡪⣳⣳⢹⢜⡵⣱⢱⡱⣳⡹⣵⣻⢔⢅⢬⡷\n⣷⡇⡂⠡⡑⢕⢕⠕⡑⠡⢂⢊⢐⢕⡝⡮⡧⡳⣝⢴⡐⣁⠃⡫⡒⣕⢏⡮⣷⡟\n⣷⣻⣅⠑⢌⠢⠁⢐⠠⠑⡐⠐⠌⡪⠮⡫⠪⡪⡪⣺⢸⠰⠡⠠⠐⢱⠨⡪⡪⡰\n⣯⢷⣟⣇⡂⡂⡌⡀⠀⠁⡂⠅⠂⠀⡑⡄⢇⠇⢝⡨⡠⡁⢐⠠⢀⢪⡐⡜⡪⡊\n⣿⢽⡾⢹⡄⠕⡅⢇⠂⠑⣴⡬⣬⣬⣆⢮⣦⣷⣵⣷⡗⢃⢮⠱⡸⢰⢱⢸⢨⢌\n⣯⢯⣟⠸⣳⡅⠜⠔⡌⡐⠈⠻⠟⣿⢿⣿⣿⠿⡻⣃⠢⣱⡳⡱⡩⢢⠣⡃⠢⠁\n⡯⣟⣞⡇⡿⣽⡪⡘⡰⠨⢐⢀⠢⢢⢄⢤⣰⠼⡾⢕⢕⡵⣝⠎⢌⢪⠪⡘⡌⠀\n⡯⣳⠯⠚⢊⠡⡂⢂⠨⠊⠔⡑⠬⡸⣘⢬⢪⣪⡺⡼⣕⢯⢞⢕⢝⠎⢻⢼⣀⠀\n⠁⡂⠔⡁⡢⠣⢀⠢⠀⠅⠱⡐⡱⡘⡔⡕⡕⣲⡹⣎⡮⡏⡑⢜⢼⡱⢩⣗⣯⣟\n⢀⢂⢑⠀⡂⡃⠅⠊⢄⢑⠠⠑⢕⢕⢝⢮⢺⢕⢟⢮⢊⢢⢱⢄⠃⣇⣞⢞⣞⢾\n⢀⠢⡑⡀⢂⢊⠠⠁⡂⡐⠀⠅⡈⠪⠪⠪⠣⠫⠑⡁⢔⠕⣜⣜⢦⡰⡎⡯⡾⡽",tooltiplifespan:500})))}));var Ds=Object.freeze({__proto__:null,default:xs,BareBonesView:Es,RegularView:qs,FastTooltip:As});var ks={title:"Hooks / useShareButton"};function Cs(){var e="testestest";var t=e;var n="sam-partner-test-2";window.widgetIdent={tenantAlias:"test_a8b41jotf8a1v",appDomain:"https://staging.referralsaasquatch.com",programId:n};o((function(){m({accountId:t,id:e,jwt:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InRlc3Rlc3Rlc3QiLCJpZCI6InRlc3Rlc3Rlc3QifX0.qYnU5hNeIj9C_G3NogfG7btgCPGZC7JRXY0MG6a63zs"});return function(){window.widgetIdent=undefined;m(undefined)}}),[])}var _s=Vr((function(){Cs();var e="sam-partner-test-2";var n=[G({programId:e,medium:"facebook"}),G({programId:e,medium:"twitter"}),G({programId:e,medium:"email"}),G({programId:e,medium:"direct"}),G({programId:e,medium:"sms"})];return t("div",null,n.map((function(e){return t("div",null,t("button",{onClick:e.onClick},"Share link (",e.medium,")"))})))}));var Ts=Vr((function(){Cs();var e="sam-partner-test-2";var n=["facebook","twitter","email","direct","sms"];return t("div",null,n.map((function(n){return t("div",null,t("sqm-share-button",Object.assign({},{programId:e,medium:n}),"BUTTON_TEXT"))})))}));var Rs=Object.freeze({__proto__:null,default:ks,BareBonesView:_s,RegularView:Ts});var Ps={title:"Hooks / useBigStat"};function Is(){var e="nynellie";var t=e;var n="ny-post-referrals";window.widgetIdent={tenantAlias:"test_a7yoz8854cf6x",appDomain:"https://staging.referralsaasquatch.com",programId:n};o((function(){m({accountId:t,id:e,jwt:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6Im55bmVsbGllIiwiaWQiOiJueW5lbGxpZSJ9fQ.3KV974VPLgk4tD8LQfJTi4IPkKCmnaB8w48HzVJYDuI"});return function(){window.widgetIdent=undefined;m(undefined)}}),[])}var Ss=function(e,n,a){Is();return t("div",null,t("b",null,"Stat format:"),t("pre",null,n),t("br",null),t("b",null,"Stat selected:")," ",t("pre",{style:{color:"green"}},e),t("sqm-big-stat",{"stat-type":e},a))};var Ns=function(){var e=i("/someRandomThing/with/someArguments/1234"),n=e[0],a=e[1];var r=j({statType:n,render:function(){},disconnectedCallback:function(){},ignored:true}),s=r.props,o=r.label;return t("div",null,t("div",null,"Stat type:"," ",t("input",{style:{width:"300px"},type:"text",value:n,onInput:function(e){return a(e.target.value)}})),t("hr",null),t("div",null,t(L,Object.assign({},s),o)))};var Ls=Vr(Ns);var Fs=Vr((function(){return Ss("/referralsCount","/(referralsCount)/:status?")}));var Os=Vr((function(){return Ss("/referralsCount/converted","/(referralsCount)/:status?")}));var Bs=Vr((function(){return Ss("/referralsCount/started","/(referralsCount)/:status?")}));var Gs=Vr((function(){return Ss("/referralsMonth","/(referralsMonth)")}));var js=Vr((function(){return Ss("/referralsWeek","/(referralsWeek)")}));var Vs=Vr((function(){return Ss("/rewardsCount","/(rewardsCount)/:global?")}));var Ms=Vr((function(){return Ss("/rewardsCount/global","/(rewardsCount)/:global")}));var Ws=Vr((function(){return Ss("/rewardsCountFiltered/global","/(rewardsCountFiltered)/:statType([INTEGRATION|PCT_DISCOUNT|CREDIT]*)?/:unit((?!global)(?!PENDING)(?!CANCELLED)(?!EXPIRED)(?!REDEEMED)(?!AVAILABLE)[a-zA-Z0-9%]+)?/:status([PENDING|CANCELLED|EXPIRED|REDEEMED|AVAILABLE]*)?/:global?")}));var Us=Vr((function(){return Ss("/rewardsCountFiltered/PCT_DISCOUNT/global","/(rewardsCountFiltered)/:statType([INTEGRATION|PCT_DISCOUNT|CREDIT]*)?/:unit((?!global)(?!PENDING)(?!CANCELLED)(?!EXPIRED)(?!REDEEMED)(?!AVAILABLE)[a-zA-Z0-9%]+)?/:status([PENDING|CANCELLED|EXPIRED|REDEEMED|AVAILABLE]*)?/:global?")}));var zs=Vr((function(){return Ss("/rewardsCountFiltered/PCT_DISCOUNT/PENDING/global","/(rewardsCountFiltered)/:statType([INTEGRATION|PCT_DISCOUNT|CREDIT]*)?/:unit((?!global)(?!PENDING)(?!CANCELLED)(?!EXPIRED)(?!REDEEMED)(?!AVAILABLE)[a-zA-Z0-9%]+)?/:status([PENDING|CANCELLED|EXPIRED|REDEEMED|AVAILABLE]*)?/:global?")}));var Hs=Vr((function(){return Ss("/rewardsCountFiltered/CREDIT/COFFEE","/(rewardsCountFiltered)/:statType([INTEGRATION|PCT_DISCOUNT|CREDIT]*)?/:unit((?!global)(?!PENDING)(?!CANCELLED)(?!EXPIRED)(?!REDEEMED)(?!AVAILABLE)[a-zA-Z0-9%]+)?/:status([PENDING|CANCELLED|EXPIRED|REDEEMED|AVAILABLE]*)?/:global?")}));var Xs=Vr((function(){return Ss("/rewardsCountFiltered/CREDIT/COFFEE/global","/(rewardsCountFiltered)/:statType([INTEGRATION|PCT_DISCOUNT|CREDIT]*)?/:unit((?!global)(?!PENDING)(?!CANCELLED)(?!EXPIRED)(?!REDEEMED)(?!AVAILABLE)[a-zA-Z0-9%]+)?/:status([PENDING|CANCELLED|EXPIRED|REDEEMED|AVAILABLE]*)?/:global?")}));var Js=Vr((function(){return Ss("/rewardsCountFiltered/CREDIT/COFFEE/PENDING/global","/(rewardsCountFiltered)/:statType([INTEGRATION|PCT_DISCOUNT|CREDIT]*)?/:unit((?!global)(?!PENDING)(?!CANCELLED)(?!EXPIRED)(?!REDEEMED)(?!AVAILABLE)[a-zA-Z0-9%]+)?/:status([PENDING|CANCELLED|EXPIRED|REDEEMED|AVAILABLE]*)?/:global?")}));var $s=Vr((function(){return Ss("/rewardsCountFiltered/AVAILABLE","/(rewardsCountFiltered)/:statType([INTEGRATION|PCT_DISCOUNT|CREDIT]*)?/:unit((?!global)(?!PENDING)(?!CANCELLED)(?!EXPIRED)(?!REDEEMED)(?!AVAILABLE)[a-zA-Z0-9%]+)?/:status([PENDING|CANCELLED|EXPIRED|REDEEMED|AVAILABLE]*)?/:global?")}));var Ks=Vr((function(){return Ss("/integrationRewardsCountFiltered/AVAILABLE/global","/(integrationRewardsCountFiltered)/:format([PENDING|CANCELLED|EXPIRED|REDEEMED|AVAILABLE]*)?/:global?")}));var Ys=Vr((function(){return Ss("/integrationRewardsCountFiltered/PENDING/global","/(integrationRewardsCountFiltered)/:format([PENDING|CANCELLED|EXPIRED|REDEEMED|AVAILABLE]*)?/:global?")}));var Zs=Vr((function(){return Ss("/rewardsMonth","/(rewardsMonth)/:global?")}));var Qs=Vr((function(){return Ss("/rewardsWeek","/(rewardsWeek)/:global?")}));var ei=Vr((function(){return Ss("/rewardsAssigned/CREDIT/COFFEE","/(rewardsAssigned)/:statType/:unit/:global?")}));var ti=Vr((function(){return Ss("/rewardsAssigned/CREDIT/CASH%2FUSD","/(rewardsAssigned)/:statType/:unit/:global?")}));var ni=Vr((function(){return Ss("/rewardsRedeemed/CREDIT/COFFEE","/(rewardsRedeemed)/:statType/:unit/:global?")}));var ai=Vr((function(){return Ss("/rewardsAvailable/CREDIT/COFFEE","/(rewardsAvailable)/:statType/:unit/:global?")}));var ri=Vr((function(){return Ss("/rewardsAvailable/CREDIT/CASH%2FUSD","/(rewardsAvailable)/:statType/:unit/:global?")}));var si=Vr((function(){return Ss("/rewardBalance/CREDIT/COFFEE/prettyValue","/(rewardBalance)/:statType/:unit/:format([prettyValue|value]*)?/:global?")}));var ii=Vr((function(){var e=encodeURIComponent("CASH/USD");return Ss("/rewardBalance/CREDIT/"+e+"/prettyValue","/(rewardBalance)/:statType/:unit/:format([prettyValue|value]*)?/:global?")}));var oi=Vr((function(){var e=encodeURIComponent("Paid-Member-Goal/referrals");return Ss("/programGoals/count/"+e,"/(programGoals)/:metricType/:goalId")}));var li=Vr((function(){return Ss("/customFields/thingCount","/(customFields)/:customField")}));var di=Vr((function(){return Ss("/customFields/thingCount","/(customFields)/:customField",t("sqm-text",null,"Thing Count"))}));var ui=Vr((function(){return Ss("/customFields/thingCount","/(customFields)/:customField"," ")}));var ci=Vr((function(){return Ss("/customFields/thingCount","/(customFields)/:customField","\n ")}));var mi=Vr((function(){return Ss("/customFields/thingCount","/(customFields)/:customField","Thing Count")}));var pi=Object.freeze({__proto__:null,default:Ps,Demo:Ls,ReferralsCount:Fs,referralsConvertedCount:Os,referralsStartedCount:Bs,ReferralsMonth:Gs,ReferralsWeek:js,RewardsCount:Vs,GlobalRewardsCount:Ms,GlobalRewardsCountFiltered:Ws,GlobalRewardsCountPctDiscount:Us,GlobalRewardsCountPctDiscountPending:zs,RewardsCountByUnit:Hs,GlobalRewardsCountByUnit:Xs,GlobalPendingRewardsCount:Js,RewardsAvailableCount:$s,GlobalRewardsCountByIntegration:Ks,GlobalRewardsCountByPendingIntegration:Ys,RewardsMonth:Zs,RewardsWeek:Qs,RewardsAssigned:ei,RewardsAssignedCashUSD:ti,RewardsRedeemed:ni,RewardsAvailable:ai,RewardsAvailableWithSlash:ri,RewardBalance:si,RewardBalanceCashUSD:ii,ProgramGoals:oi,CustomField:li,CustomFieldWithLabel:di,CustomFieldWithEmptyLabel:ui,CustomFieldWithEmptySpaceLabel:ci,CustomFieldWithTextLabel:mi});function hi(){var e="worried-camera@uexwltgh.mailosaur.net";var t=e;var n="a-referral-program";window.widgetIdent={tenantAlias:"test_as36zjtpfy7oo",appDomain:"https://staging.referralsaasquatch.com",programId:n};o((function(){m({accountId:t,id:e,jwt:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6IndvcnJpZWQtY2FtZXJhQHVleHdsdGdoLm1haWxvc2F1ci5uZXQiLCJpZCI6IndvcnJpZWQtY2FtZXJhQHVleHdsdGdoLm1haWxvc2F1ci5uZXQiLCJmaXJzdE5hbWUiOiJ0ZXN0IiwibGFzdE5hbWUiOiJ0ZXN0In19.ziDWbdCwsTo1ijxl8d2__Ga-6iFOVShaJUPp2ZBMeO0"});return function(){window.widgetIdent=undefined;m(undefined)}}),[])}var gi={title:"Hooks / useEditProfile"};var fi=Vr((function(){hi();return t("sqm-edit-profile",Object.assign({},{editprofileheader:"HEADER",editprofiletext:"TEXT",firstnametext:"FIRST NAME",lastnametext:"LAST NAME",canceltext:"CANCEL",updatetext:"UPDATE",currentregiontext:"CURRENT REGION TEXT"}))}));var bi=Object.freeze({__proto__:null,default:gi,RegularView:fi});var vi={title:"Hooks / useLeaderboard"};function wi(){var e="testestest";var t=e;var n="sam-partner-test-2";window.widgetIdent={tenantAlias:"test_a8b41jotf8a1v",appDomain:"https://staging.referralsaasquatch.com",programId:n};o((function(){m({accountId:t,id:e,jwt:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InRlc3Rlc3Rlc3QiLCJpZCI6InRlc3Rlc3Rlc3QifX0.qYnU5hNeIj9C_G3NogfG7btgCPGZC7JRXY0MG6a63zs"});return function(){window.widgetIdent=undefined;m(undefined)}}),[])}function xi(){var e="sam+klip@saasquat.ch";var t=e;var n="klip-referral-program";var a="eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InNhbStrbGlwQHNhYXNxdWF0LmNoIiwiaWQiOiJzYW0ra2xpcEBzYWFzcXVhdC5jaCIsImVtYWlsIjoic2FtK2tsaXBAc2Fhc3F1YXQuY2giLCJsb2NhbGUiOiJlbiJ9fQ.a2nYYrSJ81FHXlCU-Sqp_-wquQizinHBhzwzULDzimg";window.widgetIdent={tenantAlias:"test_a74miwdpofztj",appDomain:"https://staging.referralsaasquatch.com",programId:n};o((function(){m({accountId:t,id:e,jwt:a});return function(){window.widgetIdent=undefined;m(undefined)}}),[]);return{id:e,accountId:t}}var yi=function(e){var n=__assign({"leaderboard-type":"topConvertedReferrers",showRank:true,"rank-type":"rowNumber",usersheading:"Top Referrers",statsheading:"Completed Referrals",interval:""},e);var a=n.leaderboardType,r=n.rankType;return t("div",{style:{marginBottom:"20px"}},t("sqm-divided-layout",{direction:"row"},t("div",{style:{padding:"10px"}},t("b",null,"Leaderboard Type"),t("pre",null,a)),t("div",{style:{padding:"10px"}},t("b",null,"Rank Type"),t("pre",null,r))),t("sqm-leaderboard",Object.assign({},n),t("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"})),t("hr",null))};var Ei=Vr((function(){wi();return[yi({}),yi({rankType:"rank"}),yi({rankType:"denseRank"})]}));var qi=Vr((function(){wi();return[yi({leaderboardType:"topStartedReferrers",statsheading:"New Referrals"}),yi({leaderboardType:"topStartedReferrers",rankType:"rank",statsheading:"New Referrals"}),yi({leaderboardType:"topStartedReferrers",rankType:"denseRank",statsheading:"New Referrals"})]}));var Ai=Vr((function(){wi();return[yi({leaderboardType:"topPointEarners",statsheading:"Points",usersheading:"Top Earners"}),yi({leaderboardType:"topPointEarners",rankType:"rank",statsheading:"Points",usersheading:"Top Earners"}),yi({leaderboardType:"topPointEarners",rankType:"denseRank",statsheading:"Points",usersheading:"Top Earners"})]}));var Di=Vr((function(){wi();return[yi({leaderboardType:"topPointEarners",rankType:"rank",statsheading:"Points",usersheading:"Top Earners",programId:""}),yi({leaderboardType:"topStartedReferrers",rankType:"rank",statsheading:"Referrals",programId:""}),yi({leaderboardType:"topConvertedReferrers",rankType:"rank",statsheading:"Referrals",programId:""})]}));var ki=Vr((function(){wi();return[yi({leaderboardType:"topStartedReferrers",maxRows:5,statsheading:"Referrals"})]}));var Ci=Vr((function(){xi();return[yi({leaderboardType:"topStartedReferrers",statsheading:"New Referrals",interval:"2021-02-11T08:00:00.000Z/2021-02-13T08:00:00.000Z"}),yi({leaderboardType:"topStartedReferrers",rankType:"rank",statsheading:"New Referrals",interval:"2021-02-11T08:00:00.000Z/2021-02-13T08:00:00.000Z"}),yi({leaderboardType:"topStartedReferrers",rankType:"denseRank",statsheading:"New Referrals",interval:"2021-02-11T08:00:00.000Z/2021-02-13T08:00:00.000Z"})]}));var _i=Vr((function(){return t("sqm-leaderboard",{usersheading:"Referrer",statsheading:"Referrals","rank-type":"rank","leaderboard-type":"topStartedReferrers",rankheading:"Rank","show-rank":"true"},t("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"}))}));var Ti=Vr((function(){return t("sqm-leaderboard",{usersheading:"Referrer",statsheading:"Referrals","rank-type":"rank","leaderboard-type":"topStartedReferrers",rankheading:"Rank","show-rank":"true",demoData:{data:{rankType:"rank",leaderboard:[]},states:{loading:false,hasLeaders:false,styles:{usersheading:"Top referrers",statsheading:"New customers",rankheading:"Rank",anonymousUser:"Anonymous User",showRank:true}}}},t("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"}))}));var Ri=Object.freeze({__proto__:null,default:vi,TopConvertedReferrers:Ei,TopStartedReferrers:qi,topPointEarners:Ai,globalLeaderboards:Di,FiveResults:ki,EmptyLeaderboard:Ci,DemoHook:_i,DemoHookEmpty:Ti});var Pi={title:"Components/Form Message"};var Ii=function(){return t("sqm-form-message",{type:"success"},t("div",null,"This is a success message."))};var Si=function(){return t("sqm-form-message",{type:"error"},t("div",null,"This is an error message"))};var Ni=function(){return t("sqm-form-message",{type:"info"},t("div",null,"This is an info message"))};var Li=function(){return t("sqm-form-message",{type:"success",exportparts:"successalert-icon"},t("div",{class:"AlertContent"},t("div",{part:"successalert-text"},"Title"),t("div",{part:"successalert-subtext"},"Body text."),t("sl-button",{type:"default",exportparts:"base: defaultbutton-base",onClick:function(){console.log("click")}},"Primary Action"),t("sl-button",{class:"SecondaryTextButton",type:"text",onClick:function(){console.log("click")}},"Secondary Action")))};var Fi=Object.freeze({__proto__:null,default:Pi,SuccessAlert:Ii,ErrorAlert:Si,InfoAlert:Ni,FullStackSuccess:Li});var Oi=p.gql(__makeTemplateObject(["\n mutation exchange($exchangeRewardInput: ExchangeRewardInput!) {\n exchangeReward(exchangeRewardInput: $exchangeRewardInput) {\n reward {\n id\n }\n }\n }\n"],["\n mutation exchange($exchangeRewardInput: ExchangeRewardInput!) {\n exchangeReward(exchangeRewardInput: $exchangeRewardInput) {\n reward {\n id\n }\n }\n }\n"]));var Bi={title:"Hooks / useRewardExchange"};function Gi(){var e="testestest";var t=e;var n="sam-partner-test-2";window.widgetIdent={tenantAlias:"test_a8b41jotf8a1v",appDomain:"https://staging.referralsaasquatch.com",programId:n};o((function(){m({accountId:t,id:e,jwt:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InRlc3Rlc3Rlc3QiLCJpZCI6InRlc3Rlc3Rlc3QifX0.qYnU5hNeIj9C_G3NogfG7btgCPGZC7JRXY0MG6a63zs"});return function(){window.widgetIdent=undefined;m(undefined)}}),[]);return{id:e,accountId:t}}function ji(){var e=Gi(),t=e.id,n=e.accountId;var a=i(10),r=a[0],s=a[1];var o=i(100),l=o[0],d=o[1];var u=h(Oi),c=u[0],m=u[1],p=m.data,g=m.errors;return{states:{points:r,rate:l},data:{id:t,accountId:n,data:p,errors:g},callbacks:{exchange:c,setPoints:s,setRate:d}}}var Vi=function(e){var n=e.states,a=e.data,r=e.callbacks;return t("div",null,t("div",null,t("label",null,"Rate:"),t("input",{value:n.rate,onInput:function(e){return r.setRate(e.target.value)}})),t("input",{value:n.points,onInput:function(e){return r.setPoints(e.target.value)}}),t("button",{onClick:function(){return r.exchange(e.input)}},"Exchange"),t("details",null,t("summary",null,"response"),t("h4",null,"data"),t("div",{style:{maxWidth:"500px"}},t("pre",{style:{width:"500px",whiteSpace:"pre-wrap"}},JSON.stringify(a.data))),t("h4",null,"errors"),t("div",{style:{maxWidth:"500px"}},t("pre",{style:{maxWidth:"500px",whiteSpace:"pre-wrap"}},JSON.stringify(a.errors)))))};var Mi=Vr((function(){Gi();return t("sqm-reward-exchange-list",{"list-type":"something"})}));var Wi=Vr((function(){var e=ji(),n=e.states,a=e.data,r=e.callbacks;return t(Vi,{states:n,data:a,callbacks:r,input:{exchangeRewardInput:{userId:a.id,accountId:a.accountId,redeemCreditInput:{amount:n.points,unit:"POINT"},globalRewardKey:"gc1"}}})}));var Ui=Vr((function(){var e=ji(),n=e.states,a=e.data,r=e.callbacks;return t(Vi,{states:n,data:a,callbacks:r,input:{exchangeRewardInput:{userId:a.id,accountId:a.accountId,redeemCreditInput:{amount:n.points,unit:"POINT"},globalRewardKey:"gc1",rewardInput:{valueInCents:Math.ceil(n.points*n.rate)}}}})}));var zi=Vr((function(){var e=ji(),n=e.states,a=e.data,r=e.callbacks;return t(Vi,{states:n,data:a,callbacks:r,input:{exchangeRewardInput:{userId:a.id,accountId:a.accountId,redeemCreditInput:{amount:n.points,unit:"POINT"},rewardInput:{type:"CREDIT",unit:"foo",assignedCredit:Math.ceil(n.points*n.rate)}}}})}));var Hi=Object.freeze({__proto__:null,default:Bi,RewardList:Mi,FixedGlobalReward:Wi,VariableGlobalReward:Ui,VariableCreditReward:zi});var Xi={title:"Hooks / useRewardsTable"};function Ji(){var e="testestest";var t=e;window.widgetIdent={tenantAlias:"test_a8b41jotf8a1v",appDomain:"https://staging.referralsaasquatch.com"};o((function(){m({accountId:t,id:e,jwt:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InRlc3Rlc3Rlc3QiLCJpZCI6InRlc3Rlc3Rlc3QifX0.qYnU5hNeIj9C_G3NogfG7btgCPGZC7JRXY0MG6a63zs"});return function(){window.widgetIdent=undefined;m(undefined)}}),[]);return{id:e,accountId:t}}function $i(e){var t=e.token,n=e.id;var a=n;window.widgetIdent={tenantAlias:"test_a74miwdpofztj",appDomain:"https://staging.referralsaasquatch.com"};o((function(){m({accountId:a,id:n,jwt:t});return function(){window.widgetIdent=undefined;m(undefined)}}),[]);return{id:n,accountId:a}}var Ki=Vr((function(){return t("sqm-rewards-table",{"per-page":"4"},t("sqm-rewards-table-reward-column",null),t("sqm-rewards-table-source-column",null),t("sqm-rewards-table-status-column",null),t("sqm-rewards-table-date-column",null))}));var Yi=Vr((function(){Ji();g("sam-partner-test-2");return t("sqm-rewards-table",null,t("sqm-rewards-table-reward-column",null),t("sqm-rewards-table-status-column",null),t("sqm-rewards-table-source-column",null),t("sqm-rewards-table-date-column",null))}));var Zi=Vr((function(){Ji();g(undefined);return t("sqm-rewards-table",null,t("sqm-rewards-table-reward-column",null),t("sqm-rewards-table-status-column",null),t("sqm-rewards-table-source-column",null),t("sqm-rewards-table-date-column",null))}));var Qi=Vr((function(){$i({token:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InNhbWVuZ2xpc2giLCJpZCI6InNhbWVuZ2xpc2gifX0._6OTVF3gcipu_ibgthUNr5UHwC-2E_lhCENI5HpYvcw",id:"samenglish"});g(undefined);return t("sqm-rewards-table",{"per-page":"4"},t("sqm-rewards-table-reward-column",null),t("sqm-rewards-table-status-column",null),t("sqm-rewards-table-source-column",null),t("sqm-rewards-table-date-column",null))}));var eo=Vr((function(){$i({token:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InNhbXR1cmtleSIsImlkIjoic2FtdHVya2V5In19.usSMe0RWg8W5FtwcvJayvAlxTw6vMxjTyWXaP8jI8_U",id:"samturkey"});g(undefined);return t("sqm-rewards-table",{"per-page":"4","more-label":"Daha","prev-label":"Öncesi","empty-state-text":"Henüz Referans Yok"},t("sqm-rewards-table-reward-column",{"column-title":"Ödüller","redeemed-text":"{redeemedAmount} kullanıldı","available-text":"{availableAmount} mevcut"}),t("sqm-rewards-table-source-column",{"column-title":"Kullanıcılar","anonymous-user":"Anonim Kullanıcı","deleted-user":"Silinmiş Kullanıcı","reward-exchange-text":"Ödülleri Kulannın","referral-text":"{rewardSource, select, FRIEND_SIGNUP {Referans} REFERRED {Yönlendiren} other {}}","reward-source-text":"{rewardSource, select, MANUAL {Manuel} AUTOMATED {Otomatik} other {}}"}),t("sqm-rewards-table-status-column",{"column-title":"Statut","status-text":"{status, select, AVAILABLE {Mevcut} PENDING {Bekleniyor} EXPIRED {Geçmiş} REDEEMED {Kullanılmış} CANCELED {İptal Edildi} other {Kullanılamaz} }","expiry-text":"Bitiyor "}),t("sqm-rewards-table-date-column",{"column-title":"Tarih"}))}));var to=Vr((function(){$i({token:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InNhbWZyZW5jaCIsImlkIjoic2FtZnJlbmNoIn19.cwhasHpfU5MLV4vGbCQcazb6p19iSw5pD2zyrVHgePg",id:"samfrench"});g(undefined);return t("sqm-rewards-table",{"per-page":"4","more-label":"Plus","prev-label":"Précédent","empty-state-text":"Aucune Récompenses Maintenant"},t("sqm-rewards-table-reward-column",{"column-title":"Récompenses","redeemed-text":"{redeemedAmount} rachetée","available-text":"{availableAmount} disponible"}),t("sqm-rewards-table-source-column",{"column-title":"Utilisateur","anonymous-user":"Utilisateur Anonyme","deleted-user":"Utilisateur Supprimé","reward-exchange-text":"Échange de Récompenses","referral-text":"{rewardSource, select, FRIEND_SIGNUP {Référence à} REFERRED {Référencé par} other {}}","reward-source-text":"{rewardSource, select, MANUAL {Manuel} AUTOMATED {Automatique} other {}}"}),t("sqm-rewards-table-status-column",{"column-title":"Statut","status-text":"{status, select, AVAILABLE {Disponible} PENDING {Pendant} EXPIRED {Expiré} REDEEMED {Racheté} CANCELED {Annulé} other {Indisponible} }","expiry-text":"Expire sur "}),t("sqm-rewards-table-date-column",{"column-title":"Date de Réception"}))}));var no=Object.freeze({__proto__:null,default:Xi,RewardTableDemoHook:Ki,RewardsTableWithProgram:Yi,RewardsTableNoProgram:Zi,RewardsTableEn:Qi,RewardsTableTr:eo,RewardsTableFr:to});var ao="eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InNhbStrbGlwQHNhYXNxdWF0LmNoIiwiaWQiOiJzYW0ra2xpcEBzYWFzcXVhdC5jaCIsImVtYWlsIjoic2FtK2tsaXBAc2Fhc3F1YXQuY2giLCJsb2NhbGUiOiJlbiJ9fQ.a2nYYrSJ81FHXlCU-Sqp_-wquQizinHBhzwzULDzimg";var ro={title:"Hooks / useTaskCard"};function so(){var e="sam+klip@saasquat.ch";var t=e;var n="klip-referral-program";window.widgetIdent={tenantAlias:"test_a74miwdpofztj",appDomain:"https://staging.referralsaasquatch.com",programId:n};o((function(){m({accountId:t,id:e,jwt:ao});return function(){window.widgetIdent=undefined;m(undefined)}}),[]);return{id:e,accountId:t}}var io=Vr((function(){so();return t("sqm-task-card",{"card-title":"Comment on 5 articles","button-text":"Start reading",goal:5,steps:true,"show-progress-bar":true,"event-key":"testEvent","open-new-tab":true})}));var oo=Vr((function(){so();return t("sqm-card-feed",null,t("sqm-task-card",{"reward-amount":"75","card-title":"Refer a Friend",description:"Invite a friend to Klip and get 75 points when they signup for a free trial or contact our us about an enterprise license.","button-text":"Start referring","button-link":"https://klip-staging.vercel.app/app/klip-rewards",goal:1,repeatable:true,"completed-text":"",demoData:"","ended-message":"","event-key":"","expiry-message":"","progress-bar-unit":"","reward-duration":"2022-01-04T08:00:00.000Z/2022-01-20T08:00:00.000Z","reward-unit":"","starts-on-message":"","stat-type":"","display-duration":"2022-01-04T08:00:00.000Z/2022-01-05T08:00:00.000Z"}),t("sqb-program-section",{"program-id":"klip-loyalty"},t("sqm-task-card",{"reward-amount":"50","card-title":"Follow Us on Twitter",description:"Earn 50 points when you follow us on Twitter!","button-text":"Follow","button-link":"https://twitter.com/",goal:1,"stat-type":"/programGoals/count/Follow-on-Social-Media","open-new-tab":"true","event-key":"socialFollow"})),t("sqm-task-card",{"reward-amount":"250",goal:500,"show-progress-bar":"true","card-title":"Spend $500 on Klip Products",description:"Earn 250 points when you spend $500 or more on Klip products.","button-text":"See plans","button-link":"https://klip-staging.vercel.app/app/plans","stat-type":"/customFields/purchaseTotal","open-new-tab":"false"}),t("sqb-program-section",{"program-id":"klip-loyalty"},t("sqm-task-card",{"reward-amount":"25",goal:1,"card-title":"Upload Your First Video",description:"Earn 25 points for exploring the Klip platform when you upload your first video.","button-text":"Upload","button-link":"https://klip-staging.vercel.app/app","stat-type":"/programGoals/count/Record-First-Video","open-new-tab":"false"})),t("sqm-task-card",{"reward-amount":"100",goal:5,repeatable:true,"show-progress-bar":"true",steps:true,"card-title":"Share 5 Videos",description:"Earn 100 points for collaborating each time you share 5 videos.","button-text":"Share","button-link":"https://klip-staging.vercel.app/app","stat-type":"/customFields/videosShared","open-new-tab":"false"}),t("sqb-program-section",{"program-id":"klip-loyalty"},t("sqm-task-card",{"reward-amount":"1","reward-unit":"Free Month",goal:1,"card-title":"Upgrade Your Plan",description:"Buy a Business or Enterprise plan and get 1 free month of Klip for being a committed customer.","button-text":"Upgrade","button-link":"https://klip-staging.vercel.app/app/plans","stat-type":"/programGoals/count/Upgrade-Plan","open-new-tab":"false"})),t("sqm-task-card",{"reward-amount":"200",goal:5,"show-progress-bar":"","card-title":"Purchase 5 Seats",description:"Earn 200 points when you expand your Klip Team by purchasing 5 or more seats.","button-text":"Purchase seats","button-link":"https://klip-staging.vercel.app/app/plans","stat-type":"/customFields/seatCount"}),t("sqm-task-card",{"reward-amount":"250",goal:1,"show-progress-bar":"","card-title":"Upload 1 Hour of Video",description:"Record and upload an hour of video and get 250 points for being a super user.","button-text":"Upload","button-link":"https://klip-staging.vercel.app/app","stat-type":"/customFields/videoHoursCount","progress-bar-unit":"","reward-unit":"Points"}),t("sqb-program-section",{"program-id":"klip-loyalty"},t("sqm-task-card",{"reward-amount":"100",goal:1,"card-title":"Complete an NPS Survey",description:"Fill out our NPS survey and get 100 points for giving us honest feedback. Be sure to use your Klip account email when completing the survey.","button-text":"Complete survey","button-link":"https://y5tqgj96plv.typeform.com/to/p6N7lHUk","stat-type":"/programGoals/count/NPS-Survey","reward-unit":"Points","open-new-tab":"true"})),t("sqb-conditional-section",{condition:"'champion' in user.segments"},t("sqb-program-section",{"program-id":"klip-loyalty"},t("sqm-task-card",{"reward-amount":"$100",goal:1,"card-title":"Complete a Case Study",description:"Write a Klip case study and earn a $100 Visa Gift Card for letting us know how Klip has helped your team succeed.","button-text":"Complete case study","button-link":"https://y5tqgj96plv.typeform.com/to/CPhkFBBW","stat-type":"/programGoals/count/Case-Study","reward-unit":"Visa Gift Card","open-new-tab":"true"}))))}));var lo=Object.freeze({__proto__:null,default:ro,TaskCard:io,TaskCardFeed:oo});var uo={title:"New Portal"};var co={HeaderSubtitleBold:{"font-weight":500,"text-decoration":"underline"}};var mo=f(co);var po=mo.toString();var ho={data:{programs:[{key:"program1",label:"My Referral Program"},{key:"program2",label:"My Rewards Program"}]}};var go={states:{active:false},data:{label:"Dashboard",icon:"house",path:"/"}};var fo={states:{active:true},data:{label:"Activity",icon:"bar-chart",path:"/"}};var bo=function(){return t(E,Object.assign({},ho),t(q,Object.assign({},go)),t(q,Object.assign({},fo)))};var vo=function(){var e={shareString:"https://ssqt.co/johnsmithrox",open:false,disabled:false,tooltiptext:"Share link copied",onClick:function(){return console.log("Share link copied")}};var n={shareString:"JOHNSMITH1",open:false,disabled:false,tooltiptext:"Share code copied",onClick:function(){return console.log("Share code copied")}};var a={medium:"twitter",loading:false,disabled:false,pill:true,type:"default",size:"medium",icon:"twitter",hideicon:false,iconslot:"prefix",onClick:function(){return"Facebook share clicked"},hide:false};var r={medium:"facebook",loading:false,disabled:false,pill:true,type:"default",size:"medium",icon:"facebook",hideicon:false,iconslot:"prefix",onClick:function(){return"Facebook share clicked"},hide:false};var s={medium:"linkedin",loading:false,disabled:false,pill:true,type:"default",size:"medium",icon:"linkedin",hideicon:false,iconslot:"prefix",onClick:function(){return"Facebook share clicked"},hide:false};return t("sqm-divided-layout",{direction:"row"},t("style",{type:"text/css"},po),t(bo,null),t("sqm-divided-layout",{direction:"column"},t(_,Object.assign({},{direction:"column",padding:"xxx-large",gap:"xxx-large"}),t(xe,Object.assign({},{labelMargin:"xx-small",padding:"none",label:t("sqm-text",null,t("p",null,"Welcome back,")),content:t("sqm-text",null,t("h1",null,"John Smith"))})),t(V,Object.assign({},{space:"64px"}),t(L,Object.assign({},{statvalue:"2,345",value:234500,loading:false}),"Clicks"),t(L,Object.assign({},{statvalue:"58",value:58,loading:false}),"Referrals"),t(L,Object.assign({},{statvalue:"$10,540",value:1054e3,loading:false}),"Earned"),t(L,Object.assign({},{statvalue:"$2,305",value:230500,loading:false}),"Awaiting Payout"))),t(_,Object.assign({},{direction:"column",padding:"xxx-large",gap:"xxx-large"}),t(xe,Object.assign({},{labelMargin:"x-large",padding:"none",label:t("sqm-text",null,t("h2",null,"Partner and Profit")),content:t("sqm-text",null,t("p",null,"Get rewarded for referring potential customers to MyCompany. Earn commission for each successful lead you send our way"))})),t(xe,Object.assign({},{labelMargin:"small",padding:"none",label:t("sqm-text",null,t("h3",null,"Share your referral link")),content:t(N,Object.assign({},e))})),t(xe,Object.assign({},{labelMargin:"small",padding:"none",label:t("sqm-text",null,t("h3",null,"Share your referral code")),content:t(N,Object.assign({},n))})),t(xe,Object.assign({},{labelMargin:"small",padding:"none",label:t("sqm-text",null,t("h3",null,"Share via social media")),content:t(_,Object.assign({},{direction:"row",padding:"large",gap:"xxx-large",minWidth:"150px"}),t(I,Object.assign({},a),"Tweet about us"),t(I,Object.assign({},r),"Share on Facebook"),t(I,Object.assign({},s),"Post on Linkedin"))})))))};var wo=function(){return t("sqm-divided-layout",{direction:"row"},t("style",{type:"text/css"},po),t(bo,null),t("sqm-divided-layout",{direction:"column"},t(T,Object.assign({},{states:{success:false,loading:false,submitDisabled:false,showCountry:false,user:{id:"01",accountId:"111100000",firstName:"Joe",lastName:"Smith",email:"jsmith@gmail.com",countryCode:"5000"},text:{firstnametext:"First Name",lastnametext:"Last Name",emailtext:"Email",countrytext:"Country",editProfileHeader:"Edit your profile",editProfileSubHeader:"Personal Information",submitChangeButtonText:"Submit Changes"},formState:{country:"Canada",firstName:"Joe",lastName:"Smith",errors:null,error:""}},callbacks:{onSubmit:function(e){return console.log(e)},onChange:function(e){return console.log(e)}}})),t(M,Object.assign({},{states:{open:true,error:"",loading:false,success:false,content:{modalChangePasswordHeader:"Change Password",cancelText:"Cancel",changePasswordButtonText:"Change Password",passwordFieldLabel:"Password",confirmPasswordFieldLabel:"Confirm new password",successMessage:"Your password has been updated.",portalChangePasswordHeader:"Password",portalChangePasswordButtonText:"Change your password..."}},callbacks:{setOpen:function(){return console.log("open")},submit:function(){return console.log("submit")}}}))))};var xo=function(){return t("sqm-divided-layout",{direction:"row"},t("style",{type:"text/css"},po),t(bo,null),t("sqm-divided-layout",{direction:"column"},t(_,Object.assign({},{direction:"column",padding:"xxx-large",gap:"xxx-large"}),t(xe,Object.assign({},{labelMargin:"xx-small",padding:"none",label:t("sqm-text",null,t("h2",null,"Commissions")),content:t("sqm-text",null,t("p",null,"for the"," ",t("span",{class:mo.classes.HeaderSubtitleBold},"Partner Program #1")," ","program"))})),t(V,Object.assign({},{space:"64px"}),t(L,Object.assign({},{statvalue:"$ 1,000",value:1e5,loading:false}),"Total Earned"),t(L,Object.assign({},{statvalue:"$ 800",value:8e4,loading:false}),"Available"),t(L,Object.assign({},{statvalue:"$ 180",value:18e3,loading:false}),"Pending"),t(L,Object.assign({},{statvalue:"$ 20",value:2e3,loading:false}),"Redeemed")))))};var yo=function(){return t("sqm-divided-layout",{direction:"row"},t("style",{type:"text/css"},po),t(bo,null),t("sqm-divided-layout",{direction:"column"},t(_,Object.assign({},{direction:"column",padding:"xxx-large",gap:"xxx-large"}),t(xe,Object.assign({},{labelMargin:"xx-small",padding:"none",label:t("sqm-text",null,t("h2",null,"Activity")),content:t("sqm-text",null,t("p",null,"for the"," ",t("span",{class:mo.classes.HeaderSubtitleBold},"Partner Program #1")," ","program"))})),t(xe,Object.assign({},{labelMargin:"x-large",padding:"none",label:t("sqm-text",null,t("h3",null,"Referral Activity")),content:t(V,Object.assign({},{space:"64px"}),t(L,Object.assign({},{statvalue:"1,000",value:1e5,loading:false}),"Total Referrals"),t(L,Object.assign({},{statvalue:"800",value:800,loading:false}),"Converted"),t(L,Object.assign({},{statvalue:"180",value:180,loading:false}),"Pending"),t(L,Object.assign({},{statvalue:"20",value:20,loading:false}),"Disqualified"))}))),t(xe,Object.assign({},{labelMargin:"x-large",padding:"xxx-large",label:t("sqm-text",null,t("h3",null,"Traffic Generated")),content:t(V,Object.assign({},{space:"64px"}),t(L,Object.assign({},{statvalue:"1,000",value:1e3,loading:false}),"Clicks"),t(L,Object.assign({},{statvalue:"800",value:800,loading:false}),"From share link"),t(L,Object.assign({},{statvalue:"180",value:180,loading:false}),"From share mediums"))}))))};var Eo=Object.freeze({__proto__:null,default:uo,Dashboard:vo,EditProfile:wo,Commissions:xo,Activity:yo});var qo='<sqm-brand brand-color="#4225c4" brand-font="Nunito Sans">\n <sqm-portal-container\n direction="column"\n padding="small"\n gap="xxx-large"\n display="grid"\n max-width="100%"\n >\n <sqm-portal-container\n direction="column"\n padding="none"\n gap="xxx-large"\n display="grid"\n max-width="100%"\n >\n <sqm-hero-image\n image-url="https://res.cloudinary.com/saasquatch/image/upload/v1644000275/squatch-assets/yr6ER3R.png"\n header="MyCompany Rewards"\n description="Refer a friend and earn up to $1200 in rewards"\n layout="columns"\n image-pos="right"\n background-color="#F9F9F9"\n >\n </sqm-hero-image>\n </sqm-portal-container>\n <sqm-portal-container\n direction="column"\n padding="none"\n gap="xxx-large"\n max-width="770px"\n center\n display="grid"\n >\n <sqm-stat-container space="xxx-large" display="flex">\n <sqm-big-stat\n flex-reverse="true"\n alignment="left"\n stat-type="/referralsCount"\n >\n <p>Referrals</p>\n </sqm-big-stat>\n <sqm-big-stat\n flex-reverse="true"\n alignment="left"\n stat-type="/integrationRewardsCountFiltered/AVAILABLE/global"\n >\n <p>Giftcards</p>\n </sqm-big-stat>\n </sqm-stat-container>\n <sqm-portal-container\n gap="large"\n direction="column"\n display="grid"\n max-width="100%"\n padding="none"\n >\n <sqm-titled-section\n text-align="center"\n label-margin="xxx-small"\n padding="none"\n >\n <h3 slot="label">Get rewarded when your friend uses our product</h3>\n </sqm-titled-section>\n <sqm-referral-card vertical-alignment="start">\n <sqm-portal-container\n gap="large"\n slot="left"\n direction="column"\n display="grid"\n max-width="100%"\n padding="none"\n >\n <p>They’ll get a $50 credit towards a new account and you’ll get:</p>\n <sqm-timeline icon="circle">\n <sqm-timeline-entry\n reward="$50"\n unit="visa giftcard"\n desc="Your friend purchases a Business plan"\n icon="circle"\n >\n </sqm-timeline-entry>\n <sqm-timeline-entry\n reward="$200"\n unit="visa giftcard"\n desc="Our sales team qualifies your friend as a good fit for our Enterprise plan"\n icon="circle"\n >\n </sqm-timeline-entry>\n <sqm-timeline-entry\n reward="$1000"\n unit="visa giftcard"\n desc="Your friend purchases an Enterprise plan"\n icon="circle"\n >\n </sqm-timeline-entry>\n </sqm-timeline>\n </sqm-portal-container>\n <sqm-portal-container\n gap="large"\n slot="right"\n direction="column"\n display="grid"\n max-width="100%"\n padding="none"\n >\n <p>>Choose how you want to share</p>\n <p><sub>Your unique referral link:</sub></p>\n <sqm-share-link\n tooltip-text="Copied to Clipboard"\n tooltip-lifespan="1000"\n >\n </sqm-share-link>\n <sqm-portal-container\n gap="x-small"\n direction="column"\n display="grid"\n max-width="100%"\n padding="none"\n >\n <sqm-share-button\n medium="email"\n icon-slot="prefix"\n size="medium"\n type="default"\n >\n Share via email\n </sqm-share-button>\n <sqm-share-button\n medium="linkedin"\n icon-slot="prefix"\n size="medium"\n type="default"\n >\n Share on LinkedIn\n </sqm-share-button>\n <sqm-share-button\n medium="twitter"\n icon-slot="prefix"\n size="medium"\n type="default"\n >\n Tweet about us\n </sqm-share-button>\n </sqm-portal-container>\n </sqm-portal-container>\n </sqm-referral-card>\n </sqm-portal-container>\n <sqm-portal-container\n gap="large"\n direction="column"\n display="grid"\n max-width="100%"\n padding="none"\n >\n <sqm-titled-section\n padding="none"\n text-align="center"\n label-margin="xx-small"\n >\n <h3 slot="label">Referral History</h3>\n </sqm-titled-section>\n <sqm-referral-table\n per-page="4"\n hidden-columns="2"\n more-label="Next"\n prev-label="Prev"\n sm-breakpoint="599"\n md-breakpoint="799"\n >\n <sqm-referral-table-user-column\n column-title="User"\n anonymous-user="Anonymous User"\n deleted-user="Deleted User"\n >\n </sqm-referral-table-user-column>\n <sqm-referral-table-status-column\n column-title="Referral status"\n converted-status-text="Converted"\n in-progress-status-text="In Progress"\n >\n </sqm-referral-table-status-column>\n <sqm-referral-table-rewards-column\n column-title="Rewards"\n expiring-text="Expiring in"\n fuel-tank-text="Your code is"\n pending-for-text="{status} for {date}"\n reward-received-text="Reward received on"\n status-long-text="{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} other {Not available} }"\n status-text="{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }"\n >\n </sqm-referral-table-rewards-column>\n <sqm-referral-table-date-column\n column-title="Date referred"\n date-shown="dateReferralStarted"\n >\n </sqm-referral-table-date-column>\n <sqm-empty\n slot="empty"\n empty-state-image="https://res.cloudinary.com/saasquatch/image/upload/v1644000223/squatch-assets/empty_referral2.png"\n empty-state-header="View your referral details"\n empty-state-text="Refer a friend to view the status of your referrals and rewards earned"\n ></sqm-empty>\n </sqm-referral-table>\n </sqm-portal-container>\n <sqm-portal-footer\n support-email="support@example.com"\n terms-link="https://example.com"\n faq-link="https://example.com"\n terms-text="Terms And Conditions"\n faq-text="FAQ"\n show-powered-by="true"\n padding-bottom="none"\n padding-left="none"\n padding-right="none"\n padding-top="none"\n ></sqm-portal-footer>\n </sqm-portal-container>\n </sqm-portal-container>\n</sqm-brand>\n';var Ao='<sqm-brand brand-color="#4225c4" brand-font="Nunito Sans">\n <sqm-portal-container\n direction="column"\n padding="small"\n gap="xxx-large"\n display="grid"\n max-width="100%"\n >\n <sqm-portal-container\n direction="column"\n padding="none"\n gap="xxx-large"\n display="grid"\n max-width="100%"\n >\n <sqm-hero-image\n image-url="https://res.cloudinary.com/saasquatch/image/upload/v1644000275/squatch-assets/yr6ER3R.png"\n header="MyCompany Rewards"\n description="Refer friends and complete tasks to earn rewards"\n layout="columns"\n image-pos="right"\n background-color="#F9F9F9"\n image-mobile-pos="top"\n image-percentage="50"\n padding-image="none"\n padding-text="xxxx-large"\n >\n </sqm-hero-image>\n </sqm-portal-container>\n <sqm-portal-container\n direction="column"\n padding="none"\n gap="xxx-large"\n max-width="770px"\n center\n display="grid"\n >\n <sqm-stat-container space="xxx-large" display="flex">\n <sqm-big-stat\n flex-reverse="true"\n alignment="left"\n stat-type="/referralsCount"\n >\n <p>Referrals</p>\n </sqm-big-stat>\n <sqm-big-stat\n flex-reverse="true"\n alignment="left"\n stat-type="/integrationRewardsCountFiltered/AVAILABLE/global"\n >\n <p>Giftcards Earned</p>\n </sqm-big-stat>\n <sqm-big-stat\n flex-reverse="true"\n alignment="left"\n stat-type="/rewardBalance/CREDIT/POINT/value/global"\n >\n <p>Points Balance</p>\n </sqm-big-stat>\n </sqm-stat-container>\n <sqm-portal-container\n gap="xx-large"\n direction="column"\n display="grid"\n max-width="100%"\n padding="none"\n >\n <sqm-titled-section\n text-align="center"\n label-margin="xxx-small"\n padding="none"\n >\n <h3 slot="label">Share $50 with friends</h3>\n <p slot="content">\n They’ll get a $50 credit towards a new account and you’ll get up to\n $1200\n </p>\n </sqm-titled-section>\n <sqm-referral-card vertical-alignment="start">\n <sqm-portal-container\n gap="large"\n slot="left"\n direction="column"\n display="grid"\n max-width="100%"\n padding="none"\n >\n <p>They’ll get a $50 credit towards a new account and you’ll get:</p>\n <sqm-timeline icon="circle">\n <sqm-timeline-entry\n reward="$50"\n unit="visa giftcard"\n desc="Your friend purchases a Business plan"\n icon="circle"\n >\n </sqm-timeline-entry>\n <sqm-timeline-entry\n reward="$200"\n unit="visa giftcard"\n desc="Our sales team qualifies your friend as a good fit for our Enterprise plan"\n icon="circle"\n >\n </sqm-timeline-entry>\n <sqm-timeline-entry\n reward="$1000"\n unit="visa giftcard"\n desc="Your friend purchases an Enterprise plan"\n icon="circle"\n >\n </sqm-timeline-entry>\n </sqm-timeline>\n </sqm-portal-container>\n <sqm-portal-container\n gap="large"\n slot="right"\n direction="column"\n display="grid"\n max-width="100%"\n padding="none"\n >\n <p>Choose how you want to share:</p>\n <p><sub>Your unique referral link:</sub></p>\n <sqm-share-link\n tooltip-text="Copied to Clipboard"\n tooltip-lifespan="1000"\n >\n </sqm-share-link>\n <sqm-portal-container\n gap="x-small"\n direction="column"\n display="grid"\n max-width="100%"\n padding="none"\n >\n <sqm-share-button\n medium="email"\n icon-slot="prefix"\n size="medium"\n type="default"\n >\n Share via email\n </sqm-share-button>\n <sqm-share-button\n medium="linkedin"\n icon-slot="prefix"\n size="medium"\n type="default"\n >\n Share on LinkedIn\n </sqm-share-button>\n <sqm-share-button\n medium="twitter"\n icon-slot="prefix"\n size="medium"\n type="default"\n >\n Tweet about us\n </sqm-share-button>\n </sqm-portal-container>\n </sqm-portal-container>\n </sqm-referral-card>\n <sqm-portal-container\n gap="xx-large"\n direction="column"\n display="grid"\n max-width="100%"\n min-width=""\n padding="none"\n >\n <sqm-titled-section text-align="center" label-margin="xxx-small">\n <h3 slot="label">Earn more rewards</h3>\n <p slot="content">\n Get points while using our product. Use those points to redeem\n rewards like one free month of Enterprise or two plane tickets to\n anywhere in North America\n </p>\n </sqm-titled-section>\n <sqm-card-feed gap="24" width="347">\n <sqm-task-card\n reward-amount="20"\n goal="1"\n card-title="Complete a Survey"\n description="Fill out our NPS survey and get 20 points for giving us honest feedback."\n button-text="Take survey"\n reward-unit="Points"\n completed-text="Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}"\n ended-message="Ended {endDate}"\n expiry-message="Ends {endDate}"\n finite="0"\n starts-on-message="Starts {startDate}"\n >\n </sqm-task-card>\n <sqm-task-card\n reward-amount="250"\n goal="500"\n show-progress-bar\n card-title="Spend $500"\n description="Earn 250 points when you spend $500 or more."\n button-text="See plans"\n completed-text="Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}"\n ended-message="Ended {endDate}"\n expiry-message="Ends {endDate}"\n progress-bar-unit="$"\n finite="0"\n reward-unit="Points"\n starts-on-message="Starts {startDate}"\n >\n </sqm-task-card>\n <sqm-task-card\n goal="1"\n reward-amount="50"\n card-title="Follow Us on Twitter"\n description="Earn 50 points when you follow us on Twitter!"\n button-text="Follow"\n button-link="https://twitter.com/"\n open-new-tab="true"\n event-key="socialFollow"\n completed-text="Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}"\n ended-message="Ended {endDate}"\n expiry-message="Ends {endDate}"\n finite="0"\n reward-unit="Points"\n starts-on-message="Starts {startDate}"\n >\n </sqm-task-card>\n <sqm-task-card\n reward-amount="1"\n reward-unit="Free Month"\n goal="1"\n card-title="Upgrade Your Plan"\n description="Receive one free month for being a committed customer when you upgrade your plan."\n button-text="Upgrade"\n completed-text="Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}"\n ended-message="Ended {endDate}"\n expiry-message="Ends {endDate}"\n open-new-tab="false"\n finite="0"\n starts-on-message="Starts {startDate}"\n >\n </sqm-task-card>\n </sqm-card-feed>\n </sqm-portal-container>\n <sqm-tabs>\n <sqm-tab header="Referral history">\n <sqm-referral-table\n per-page="4"\n hidden-columns="2"\n more-label="Next"\n prev-label="Prev"\n sm-breakpoint="599"\n md-breakpoint="799"\n >\n <sqm-referral-table-user-column\n column-title="User"\n anonymous-user="Anonymous User"\n deleted-user="Deleted User"\n >\n </sqm-referral-table-user-column>\n <sqm-referral-table-status-column\n column-title="Referral status"\n converted-status-text="Converted"\n in-progress-status-text="In Progress"\n >\n </sqm-referral-table-status-column>\n <sqm-referral-table-rewards-column\n column-title="Rewards"\n expiring-text="Expiring in"\n fuel-tank-text="Your code is"\n pending-for-text="{status} for {date}"\n reward-received-text="Reward received on"\n status-long-text="{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} other {Not available} }"\n status-text="{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }"\n >\n </sqm-referral-table-rewards-column>\n <sqm-referral-table-date-column\n column-title="Date referred"\n date-shown="dateReferralStarted"\n >\n </sqm-referral-table-date-column>\n <sqm-empty\n slot="empty"\n empty-state-image="https://res.cloudinary.com/saasquatch/image/upload/v1644000223/squatch-assets/empty_referral2.png"\n empty-state-header="View your referral details"\n empty-state-text="Refer a friend to view the status of your referrals and rewards earned"\n >\n </sqm-empty>\n </sqm-referral-table>\n </sqm-tab>\n <sqm-tab header="Reward history">\n <sqm-rewards-table\n per-page="4"\n program-id=""\n hidden-columns="0"\n more-label="Next"\n prev-label="Prev"\n sm-breakpoint="599"\n md-breakpoint="799"\n >\n <sqm-rewards-table-reward-column\n available-text="{availableAmount} remaining"\n column-title="Reward"\n copy-text="Copied!"\n redeemed-text="{redeemedAmount} redeemed"\n >\n </sqm-rewards-table-reward-column>\n <sqm-rewards-table-source-column\n anonymous-user="Anonymous User"\n column-title="Source"\n deleted-user="Deleted User"\n referral-text="{rewardSource, select, FRIEND_SIGNUP {Referral to} REFERRED {Referred by} other {}}"\n reward-exchange-text="Reward Exchange"\n reward-source-text="{rewardSource, select, MANUAL {Manual} AUTOMATED {{programName}} other {}}"\n >\n </sqm-rewards-table-source-column>\n <sqm-rewards-table-status-column\n column-title="Status"\n expiry-text="Expires on "\n status-text="{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }"\n >\n </sqm-rewards-table-status-column>\n <sqm-rewards-table-date-column\n column-title="Date received"\n date-shown="dateGiven"\n >\n </sqm-rewards-table-date-column>\n <sqm-empty\n slot="empty"\n empty-state-image="https://res.cloudinary.com/saasquatch/image/upload/v1644360953/squatch-assets/empty_reward2.png"\n empty-state-header="View your rewards"\n empty-state-text="Refer friends and complete tasks to view the details of your rewards"\n >\n </sqm-empty>\n </sqm-rewards-table>\n </sqm-tab>\n </sqm-tabs>\n </sqm-portal-container>\n <sqm-portal-footer\n support-email="support@example.com"\n terms-link="https://example.com"\n faq-link="https://example.com"\n terms-text="Terms And Conditions"\n faq-text="FAQ"\n show-powered-by="true"\n padding-bottom="none"\n padding-left="none"\n padding-right="none"\n padding-top="none"\n ></sqm-portal-footer>\n </sqm-portal-container>\n </sqm-portal-container>\n</sqm-brand>\n';var Do='<sqm-brand brand-color="#4225c4" brand-font="Nunito Sans">\n <sqm-portal-container\n direction="column"\n padding="small"\n gap="xxxx-large"\n display="grid"\n max-width="100%"\n >\n <sqm-portal-container\n direction="column"\n padding="none"\n gap="xxx-large"\n display="grid"\n max-width="100%"\n >\n <sqm-hero-image\n image-url="https://res.cloudinary.com/saasquatch/image/upload/v1644000275/squatch-assets/yr6ER3R.png"\n header="MyCompany Rewards"\n description="Complete tasks to earn rewards"\n layout="overlay"\n padding-image="xxxx-large"\n padding-text="xxx-large"\n image-pos="center"\n overlay-color="#5e5669"\n overlay-opacity="0.9"\n >\n </sqm-hero-image>\n <sqm-portal-container\n direction="column"\n padding="none"\n gap="xxx-large"\n max-width="770px"\n center\n display="grid"\n >\n <sqm-program-explainer header="How it works">\n <sqm-program-explainer-step\n description="Complete tasks like uploading your first video or sharing videos with friends"\n header="Earn points for using our product"\n icon="cash-stack"\n text-color="#000000"\n >\n </sqm-program-explainer-step>\n <sqm-program-explainer-step\n description="Redeem rewards like one free month of Enterprise or two plane tickets to anywhere in North America"\n header="Redeem rewards with your points"\n icon="people"\n text-color="#000000"\n >\n </sqm-program-explainer-step>\n </sqm-program-explainer>\n <sqm-portal-container\n center\n direction="row"\n display="flex"\n justify-content="space-between"\n gap="xxx-large"\n max-width="100%"\n padding="none"\n >\n <sqm-stat-container space="xxx-large" display="flex">\n <sqm-big-stat\n flex-reverse="true"\n alignment="left"\n stat-type="/rewardsRedeemed/CREDIT/POINTS"\n >\n <p>Points Redeemed</p>\n </sqm-big-stat>\n <sqm-big-stat\n flex-reverse="true"\n alignment="left"\n stat-type="/rewardBalance/CREDIT/POINT/value/global"\n >\n <p>Points Balance</p>\n </sqm-big-stat>\n </sqm-stat-container>\n </sqm-portal-container>\n <sqm-portal-container\n direction="column"\n padding="none"\n gap="xx-large"\n display="grid"\n max-width="100%"\n >\n <sqm-titled-section\n label-margin="small"\n padding="none"\n text-align="center"\n >\n <h3 slot="label">Earn points</h3>\n </sqm-titled-section>\n <sqm-card-feed gap="24" width="347">\n <sqm-task-card\n reward-amount="20"\n goal="1"\n card-title="Complete a Survey"\n description="Fill out our NPS survey and get 20 points for giving us honest feedback."\n button-text="Take survey"\n reward-unit="Points"\n completed-text="Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}"\n ended-message="Ended {endDate}"\n expiry-message="Ends {endDate}"\n finite="0"\n starts-on-message="Starts {startDate}"\n >\n </sqm-task-card>\n <sqm-task-card\n reward-amount="250"\n goal="500"\n show-progress-bar\n card-title="Spend $500"\n description="Earn 250 points when you spend $500 or more."\n button-text="See plans"\n completed-text="Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}"\n ended-message="Ended {endDate}"\n expiry-message="Ends {endDate}"\n progress-bar-unit="$"\n finite="0"\n reward-unit="Points"\n starts-on-message="Starts {startDate}"\n >\n </sqm-task-card>\n <sqm-task-card\n goal="1"\n reward-amount="50"\n card-title="Follow Us on Twitter"\n description="Earn 50 points when you follow us on Twitter!"\n button-text="Follow"\n button-link="https://twitter.com/"\n open-new-tab="true"\n event-key="socialFollow"\n completed-text="Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}"\n ended-message="Ended {endDate}"\n expiry-message="Ends {endDate}"\n finite="0"\n reward-unit="Points"\n starts-on-message="Starts {startDate}"\n >\n </sqm-task-card>\n <sqm-task-card\n reward-amount="1"\n reward-unit="Free Month"\n goal="1"\n card-title="Upgrade Your Plan"\n description="Receive one free month for being a committed customer when you upgrade your plan."\n button-text="Upgrade"\n completed-text="Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}"\n ended-message="Ended {endDate}"\n expiry-message="Ends {endDate}"\n open-new-tab="false"\n finite="0"\n starts-on-message="Starts {startDate}"\n >\n </sqm-task-card>\n </sqm-card-feed>\n <sqm-portal-container\n gap="large"\n direction="column"\n display="grid"\n max-width="100%"\n padding="none"\n >\n <sqm-titled-section\n padding="none"\n text-align="center"\n label-margin="xx-small"\n >\n <h3 slot="label">Reward History</h3>\n </sqm-titled-section>\n <sqm-rewards-table\n per-page="4"\n hidden-columns="0"\n more-label="Next"\n prev-label="Prev"\n sm-breakpoint="599"\n md-breakpoint="799"\n >\n <sqm-rewards-table-reward-column\n available-text="{availableAmount} remaining"\n column-title="Reward"\n copy-text="Copied!"\n redeemed-text="{redeemedAmount} redeemed"\n >\n </sqm-rewards-table-reward-column>\n <sqm-rewards-table-source-column\n anonymous-user="Anonymous User"\n column-title="Source"\n deleted-user="Deleted User"\n referral-text="{rewardSource, select, FRIEND_SIGNUP {Referral to} REFERRED {Referred by} other {}}"\n reward-exchange-text="Reward Exchange"\n reward-source-text="{rewardSource, select, MANUAL {Manual} AUTOMATED {{programName}} other {}}"\n >\n </sqm-rewards-table-source-column>\n <sqm-rewards-table-status-column\n column-title="Status"\n expiry-text="Expires on "\n status-text="{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }"\n >\n </sqm-rewards-table-status-column>\n <sqm-rewards-table-date-column\n column-title="Date received"\n date-shown="dateGiven"\n >\n </sqm-rewards-table-date-column>\n <sqm-empty\n slot="empty"\n empty-state-image="https://res.cloudinary.com/saasquatch/image/upload/v1644360953/squatch-assets/empty_reward2.png"\n empty-state-header="View your rewards"\n empty-state-text="Refer friends and complete tasks to view the details of your rewards"\n >\n </sqm-empty>\n </sqm-rewards-table>\n </sqm-portal-container>\n </sqm-portal-container>\n <sqm-portal-footer\n support-email="support@example.com"\n terms-link="https://example.com"\n faq-link="https://example.com"\n terms-text="Terms And Conditions"\n faq-text="FAQ"\n show-powered-by="true"\n padding-bottom="none"\n padding-left="none"\n padding-right="none"\n padding-top="none"\n ></sqm-portal-footer>\n </sqm-portal-container>\n </sqm-portal-container>\n </sqm-portal-container>\n</sqm-brand>\n';var ko={title:"Templates / Widgets"};function Co(e){var t=i(e),n=t[0],a=t[1];var r=i(e),s=r[0],o=r[1];return{states:{previewTemplate:s,editedTemplate:n},callbacks:{setEditedTemplate:a,setPreviewTemplate:o}}}function _o(e){var n=e.callbacks,a=e.states,r=e.template;return t("div",null,t("button",{onClick:function(){return n.setPreviewTemplate(a.editedTemplate)}},"Update Preview"),t("button",{style:{marginLeft:"10px"},onClick:function(){return n.setPreviewTemplate(r)}},"Preview Dashboard"))}function To(e){var n=e.states,a=e.callbacks;return t("div",{style:{height:"50vh"}},t("textarea",{style:{width:"100%",height:"300px"},onChange:function(e){return a.setEditedTemplate(e.target.value)}},n.editedTemplate),t(_o,{states:n,callbacks:a,template:e.template}),t("br",null),t("div",{innerHTML:n.previewTemplate}))}var Ro=Vr((function(){var e=Co(qo),n=e.states,a=e.callbacks;return t(To,{states:n,callbacks:a,template:qo})}));var Po=Vr((function(){var e=Co(Ao),n=e.states,a=e.callbacks;return t(To,{states:n,callbacks:a,template:Ao})}));var Io=Vr((function(){var e=Co(Do),n=e.states,a=e.callbacks;return t(To,{states:n,callbacks:a,template:Do})}));var So=Object.freeze({__proto__:null,default:ko,ReferralWidget:Ro,MonoWidget:Po,Loyalty:Io});var No={title:"Components/Sidebar Item"};var Lo=function(){var e={states:{active:false},data:{label:"Dashboard",icon:"house",path:"/"}};return t(q,Object.assign({},e))};var Fo=function(){var e={states:{active:true},data:{label:"Dashboard",icon:"house",path:"/"}};return t(q,Object.assign({},e))};var Oo=Object.freeze({__proto__:null,default:No,InactiveItem:Lo,ActiveItem:Fo});var Bo={title:"Components/Navigation Sidebar"};var Go=function(){var e={data:{programs:[{key:"program1",label:"My Referral Program"},{key:"program2",label:"My Rewards Program"}]}};var n={states:{active:false},data:{label:"Dashboard",icon:"house",path:"/"}};var a={states:{active:true},data:{label:"Activity",icon:"bar-chart",path:"/"}};return t(E,Object.assign({},e),t(q,Object.assign({},n)),t(q,Object.assign({},a)))};var jo=Object.freeze({__proto__:null,default:Bo,DefaultNavigationSidebar:Go});var Vo={title:"Components/Portal Login"};var Mo={states:{error:"",loading:false,forgotPasswordPath:"/forgotPassword",registerPath:"/register"},callbacks:{submit:function(e){return __awaiter(ye,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:return[4,e];case 1:return[2,t.sent()]}}))}))}},content:{pageLabel:"Sign in to your account"}};var Wo={states:{error:"Something went wrong. Please try again.",loading:false,forgotPasswordPath:"/forgotPassword",registerPath:"/register"},callbacks:{submit:function(e){return __awaiter(ye,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:return[4,e];case 1:return[2,t.sent()]}}))}))}},content:{pageLabel:"Sign in to your account"}};var Uo={states:{error:"",loading:true,forgotPasswordPath:"/forgotPassword",registerPath:"/register"},callbacks:{submit:function(e){return __awaiter(ye,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:return[4,e];case 1:return[2,t.sent()]}}))}))}},content:{pageLabel:"Sign in to your account"}};var zo=function(){return t(W,Object.assign({},Mo))};var Ho=function(){return t(W,Object.assign({},Wo))};var Xo=function(){return t(W,Object.assign({},Uo))};var Jo=Object.freeze({__proto__:null,default:Vo,Default:zo,LoginWithError:Ho,LoginLoading:Xo});var $o={title:"Components/Portal Register"};var Ko={states:{registrationFormState:{},error:"",loading:false,confirmPassword:true,hideInputs:false,loginPath:"/login"},callbacks:{submit:function(){return console.log("Submit!")},inputFunction:function(){}},refs:{formRef:{}},content:{pageLabel:"Register",confirmPasswordLabel:"Confirm Password"}};var Yo={states:{error:"Something went wrong. Please try again.",registrationFormState:{},loading:false,confirmPassword:true,hideInputs:false,loginPath:"/login"},callbacks:{submit:function(){return console.log("Submit!")},inputFunction:function(){}},refs:{formRef:{}},content:{pageLabel:"Register",confirmPasswordLabel:"Confirm Password"}};var Zo={states:{registrationFormState:{},error:"",loading:true,confirmPassword:true,hideInputs:false,loginPath:"/login"},callbacks:{submit:function(){return console.log("Submit!")},inputFunction:function(){}},refs:{formRef:{}},content:{pageLabel:"Register",confirmPasswordLabel:"Confirm Password"}};var Qo={states:{registrationFormState:{},error:"",loading:false,confirmPassword:true,hideInputs:false,loginPath:"/login"},callbacks:{submit:function(){return console.log("Submit!")},inputFunction:function(){}},refs:{formRef:{}},content:{pageLabel:"Register",confirmPasswordLabel:"Confirm Password",formData:t("div",null,t("sl-input",{style:{marginBottom:"var(--sl-spacing-x-large)"},exportparts:"label: input-label",label:"Slotted Input",required:true}),t("sl-input",{exportparts:"label: input-label",label:"Slotted Input 2",required:true}))}};var el=function(){return t(U,Object.assign({},Ko))};var tl=function(){return t(U,Object.assign({},Yo))};var nl=function(){return t(U,Object.assign({},Zo))};var al=function(){return t("sqm-portal-register",{demoData:{states:{registrationFormState:{},error:"",loading:true,confirmPassword:true,hideInputs:true,loginPath:"/login"}}})};var rl=function(){return t(U,Object.assign({},Qo))};var sl=function(){return t(U,Object.assign({},Ko,{content:__assign(__assign({},Ko.content),{terms:t("p",null,"By signing up you agree to the"," ",t("a",{href:"https://example.com",target:"_blank"},"Terms and Conditions"))})}))};var il=Object.freeze({__proto__:null,default:$o,Default:el,RegisterWithError:tl,RegisterLoading:nl,FieldsHidden:al,SlottedInputs:rl,TermsAndConditions:sl});var ol='@author:derek\n@owner:ian\nFeature: Forgot Password\n\n @motivating\n Scenario: Users can request to reset their password\n Given a user enters their email address\n And that email address is linked to a previously created account\n When they click "Reset Password"\n Then the button enters a loading state\n When the password reset email is sent\n Then a confirmation banner is shown stating a password reset email was sent\n\n @motivating\n Scenario: Users are notified if sending their password reset email fails\n Given a user enters their email address\n And that email address is linked to a previously created account\n When they click "Reset Password"\n Then the button enters a loading state\n When the password reset email fails to send\n Then the user does not receive a password reset email\n And an error banner is shown stating that they should try again\n\n @motivating\n @landmine\n Scenario: If the input email is not associated to an account a success banner is shown but an email is not be sent\n Given the user entered an email address that is not associated to an accoun\n When they click "Reset Password"\n Then the button enters a loading state\n But no email is sent\n And a success banner is shown stating a password reset email was sent if the given email was associated to an account\n\n @motivating\n Scenario: Users can resend password reset email\n Given a user had previously requested to reset their password\n When they enter their email address\n And that email address is linked to a previously created account\n And they click "Reset Password"\n Then the user receives a second password reset email\n And a success banner is shown stating that their email was sent\n\n @motivating\n Scenario Outline: The email link can be configured to redirect users to a specific base path but defaults to "/resetPassword"\n Given a user viewing the password reset component\n And the component <mayHave> "redirect-path" with <value>\n When they request a password reset email\n And they click the link in the email\n Then they are redirected to <redirectPath>\n Examples:\n | mayHave | value | redirectPath |\n | doesn\'t have | N/A | /resetPassword |\n | has | /resetMyPassword | /resetMyPassword |\n\n @minutae\n Scenario Outline: Navigation back to the login page can be customized but defaults to "/login"\n Given a user viewing the password reset component\n And the component <mayHave> "login-path" with <value>\n Then they see a "Sign In" text button\n When they click "Sign In"\n Then they are redirected to <redirectPath>\n Examples:\n | mayHave | value | redirectPath |\n | doesn\'t have | N/A | /login |\n | has | /signin | /signin |';var ll={title:"Components/Portal Forgot Password",parameters:{scenario:ol}};var dl={states:{error:"",loading:false,success:false,loginPath:"/login"},callbacks:{submit:function(e){return __awaiter(ye,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:return[4,e];case 1:return[2,t.sent()]}}))}))}},content:{secondaryButton:"Cancel",messageSlot:"Enter your email below to receive a password reset link."}};var ul={states:{error:"Something went wrong. Please try again.",loading:false,success:false,loginPath:"/login"},callbacks:{submit:function(e){return __awaiter(ye,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:return[4,e];case 1:return[2,t.sent()]}}))}))}},content:{secondaryButton:"Cancel",messageSlot:"Enter your email below to receive a password reset link."}};var cl={states:{error:"",loading:true,success:false,loginPath:"/login"},callbacks:{submit:function(e){return __awaiter(ye,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:return[4,e];case 1:return[2,t.sent()]}}))}))}},content:{secondaryButton:"Cancel",messageSlot:"Enter your email below to receive a password reset link."}};var ml={states:{error:"",loading:false,success:true,loginPath:"/login"},callbacks:{submit:function(e){return __awaiter(ye,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:return[4,e];case 1:return[2,t.sent()]}}))}))}},content:{secondaryButton:"Cancel",messageSlot:"Enter your email below to receive a password reset link."}};var pl=function(){return t(C,Object.assign({},dl))};var hl=function(){return t(C,Object.assign({},ul))};var gl=function(){return t(C,Object.assign({},cl))};var fl=function(){return t(C,Object.assign({},ml))};var bl=Object.freeze({__proto__:null,default:ll,Default:pl,ForgotPasswordWithError:hl,ForgotPasswordLoading:gl,ForgotPasswordSuccess:fl});var vl='@author:derek\n@owner:ian\nFeature: Email Verification\n\n @minutae\n Scenario: User\'s redirected from registration can re-send their verification email\n Given a user has registered\n And they have been sent a verification email\n When they are redirected to the email verification page\n Then a message is displayed\n And it reflects that a email has been sent to their email\n But they can still re-send the email\n When they click to "Resend-Email"\n Then they receive a verification email\n\n @motivating\n Scenario: Users are notified if sending the email verification message fails\n Given a user viewing the email verification component\n And they have an email stored in session data from registration\n When they click to "Resend-Email"\n Then the button enters a loading state\n When an error occurs trying to send the verification email\n Then the user does not receive a verification email\n And an error banner is shown stating that they should try again\n\n @motivating\n Scenario: Users are notified if sending the email verification message succeeds\n Given a user viewing the email verification component\n And they have an email stored in session data from registration\n When they click to "Resend-Email"\n Then the button enters a loading state\n When the email verification message sends\n Then the user receives a verification email\n And a success banner is shown stating that their email was resent\n\n @motivating\n Scenario Outline: The email link can be configured to redirect users to a specific base path but defaults to "/verifyEmail"\n Given a user viewing the email verification component\n And they have an email stored in session data from registration\n And the component <mayHave> "redirect-path" with <value>\n When they resend their verification email\n And they click the link in the email\n Then they are redirected to <redirectPath>\n Examples:\n | mayHave | value | redirectPath |\n | doesn\'t have | N/A | /verifyEmail |\n | has | /verifyMyEmail | /verifyMyEmail |';var wl={title:"Components/Portal Email Verification",parameters:{scenario:vl}};var xl={states:{error:"",loading:false,success:false},callbacks:{submit:function(e){return __awaiter(ye,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:return[4,e];case 1:return[2,t.sent()]}}))}))}},content:{email:"email@example.com",verifyMessage:"A verification email was sent to {email}. Please verify your email to continue to the portal.",emailVerificationHeader:"Verify your email",resendEmailButtonText:"Re-send Email"}};var yl={states:{error:"Something went wrong. Please try again.",loading:false,success:false},callbacks:{submit:function(e){return __awaiter(ye,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:return[4,e];case 1:return[2,t.sent()]}}))}))}},content:{email:"email@example.com",verifyMessage:"A verification email was sent to {email}. Please verify your email to continue to the portal.",emailVerificationHeader:"Verify your email",resendEmailButtonText:"Re-send Email"}};var El={states:{error:"",loading:true,success:false},callbacks:{submit:function(e){return __awaiter(ye,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:return[4,e];case 1:return[2,t.sent()]}}))}))}},content:{email:"email@example.com",verifyMessage:"A verification email was sent to {email}. Please verify your email to continue to the portal.",emailVerificationHeader:"Verify your email",resendEmailButtonText:"Re-send Email"}};var ql={states:{error:"",loading:false,success:true},callbacks:{submit:function(e){return __awaiter(ye,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:return[4,e];case 1:return[2,t.sent()]}}))}))}},content:{email:"email@example.com",verifyMessage:"A verification email was sent to {email}. Please verify your email to continue to the portal.",emailVerificationHeader:"Verify your email",resendEmailButtonText:"Re-send Email"}};var Al=function(){return t(A,Object.assign({},xl))};var Dl=function(){return t(A,Object.assign({},yl))};var kl=function(){return t(A,Object.assign({},El))};var Cl=function(){return t(A,Object.assign({},ql))};var _l=Object.freeze({__proto__:null,default:wl,Default:Al,EmailVerificationWithError:Dl,EmailVerificationLoading:kl,EmailVerificationSuccess:Cl});var Tl='@author:derek\n@owner:ian\nFeature: Reset Password\n\n Background: A user in on the password reset page\n Given a user who has been redirected to the password reset page\n\n @motivating\n Scenario: Users can reset their password\n Given a user has a valid oob code as a url query parameter\n When they enter their password twice\n And they click "Update"\n Then their password is updated\n And a banner with a success message is displayed\n And they can log in with their new password\n\n @motivating\n Scenario Outline: Users cannot reset their password with an invalid or missing oob code\n Given a user has a <oobCode> as a url query parameter\n And the component <mayHave> "failed-page" with <value>\n Then they see an error message saying that their password reset code is invalid/expired\n When they click "Continue"\n Then they are redirected to <redirectPath>\n Examples:\n | oobCode | mayHave | value | redirectPath |\n | invalid oob code | doesn\'t have | N/A | / |\n | non existant oob code | doesn\'t have | N/A | / |\n | invalid oob code | has | /login | /login |\n | non existant oob code | has | /login | /login |\n\n @motivating\n Scenario: Users must enter the same password twice to successfully reset their password\n Given a user has been redirected to the password reset page\n And they have a valid oob code as a url query parameter\n When they enter two different passwords into the password reset form\n And they click "Update"\n Then their password is not be reset\n And an error banner stating the input passwords must match appears\n And their password is not be reset\n When they enter the same password twice\n And they click "Update"\n Then a banner appears with a success message\n And they can log in with their new password\n\n @motivating\n Scenario: Users are notified if resetting their password fails\n Given a user has a valid oob code as a url query parameter\n When they enter their password twice\n And they click "Update"\n But the password reset fails\n Then the user\'s password does not reset\n And an error banner is shown\n\n @motivating\n Scenario: Users are redirected to "/" by default\n Given the component does not have prop "nextPage"\n And the users url does not contain a "nextPage" query parameter\n And a user has entered their password twice\n When they click "Update"\n Then their password is updated\n And they are redirected to "/"\n\n @motivating\n Scenario: Custom redirection can be configured\n Given the component has prop "nextPage" with value "/activity"\n And the users url does not contain a "nextPage" query parameter\n And a user has entered their password twice\n When they click "Update"\n Then their password is updated\n And they are redirected to "/activity"\n\n @motivating\n Scenario Outline: Users are redirected to the value of the nextPage url parameter as if it were a relative path\n Given the component is loaded at <currentUrl>\n When they click "Update"\n Then their password is updated\n And they are redirected to <url>\n Examples:\n | currentUrl | url |\n | https://www.example.com?nextPage=./activity | https://www.example.com/activity |\n | https://www.example.com?nextPage=activity | https://www.example.com/activity |\n | https://www.example.com?nextPage=/activity | https://www.example.com/activity |\n | https://www.example.com?nextPage=www.google.com | https://www.example.com/www.google.com |\n | https://www.example.com?nextPage=//foo.com | https://www.example.com/ |\n | https://www.example.com?nextPage=https://malicious.example.com | https://www.example.com/ |\n | http://www.example.com/nest/page?oob=123&other&nextPage=activity#heading-1 | http://www.example.com/activity |\n | https://www.example.com?nextPage=activity?foo=bar | https://www.example.com/activity?foo=bar |\n | https://www.example.com?nextPage=%2Factivity%3Ffoo%3Dbar | https://www.example.com/activity?foo=bar |\n | https://www.example.com?nextPage=%2Factivity%3Ffoo%3Dbar#hash | https://www.example.com/activity?foo=bar |\n | https://www.example.com?nextPage=%2Factivity%3Ffoo%3Dbar%23hash | https://www.example.com/activity?foo=bar#hash |\n | https://www.example.com:1337?nextPage=activity | https://www.example.com:1337/activity |\n | http://1.1.1.1:1111?nextPage=activity | http://1.1.1.1:1111/activity |\n\n @landmine\n Scenario Outline: Username and password are not persisted on redirects\n Given the component is loaded at <currentUrl>\n When they click "Update"\n Then their password is updated\n And they are redirected to <url>\n Examples:\n | currentUrl | url |\n | https://user:pass@www.example.com:444?nextPage=activity | https://www.example.com:444/activity |';var Rl={title:"Components/Portal Reset Password",parameters:{scenario:Tl}};var Pl={states:{error:"",loading:false,reset:false,confirmPassword:true,oobCodeValidating:false,oobCodeValid:true,content:{passwordResetHeader:"Password reset",resetPasswordHeader:"Reset your password",continueButtonText:"Continue",resetPasswordButtonText:"Reset Password",confirmPasswordFieldLabel:"Confirm Password",passwordFieldLabel:"New Password"}},callbacks:{submit:function(e){return __awaiter(ye,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:return[4,e];case 1:return[2,t.sent()]}}))}))},gotoNextPage:function(){return console.log("next page")},failed:function(){return console.log("failed")}}};var Il={states:{error:"",loading:false,reset:false,confirmPassword:false,oobCodeValidating:false,oobCodeValid:true,content:{passwordResetHeader:"Password reset",resetPasswordHeader:"Reset your password",continueButtonText:"Continue",resetPasswordButtonText:"Reset Password",confirmPasswordFieldLabel:"Confirm Password",passwordFieldLabel:"New Password"}},callbacks:{submit:function(e){return __awaiter(ye,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:return[4,e];case 1:return[2,t.sent()]}}))}))},gotoNextPage:function(){return console.log("next page")},failed:function(){return console.log("failed")}}};var Sl={states:{error:"Something went wrong. Please try again.",loading:false,reset:false,confirmPassword:true,oobCodeValidating:false,oobCodeValid:true,content:{passwordResetHeader:"Password reset",resetPasswordHeader:"Reset your password",continueButtonText:"Continue",resetPasswordButtonText:"Reset Password",confirmPasswordFieldLabel:"Confirm Password",passwordFieldLabel:"New Password"}},callbacks:{submit:function(e){return __awaiter(ye,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:return[4,e];case 1:return[2,t.sent()]}}))}))},gotoNextPage:function(){return console.log("next page")},failed:function(){return console.log("failed")}}};var Nl={states:{error:"",loading:true,reset:false,confirmPassword:true,oobCodeValidating:false,oobCodeValid:true,content:{passwordResetHeader:"Password reset",resetPasswordHeader:"Reset your password",continueButtonText:"Continue",resetPasswordButtonText:"Reset Password",confirmPasswordFieldLabel:"Confirm Password",passwordFieldLabel:"New Password"}},callbacks:{submit:function(e){return __awaiter(ye,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:return[4,e];case 1:return[2,t.sent()]}}))}))},gotoNextPage:function(){return console.log("next page")},failed:function(){return console.log("failed")}}};var Ll={states:{error:"",loading:false,reset:true,confirmPassword:true,oobCodeValidating:false,oobCodeValid:true,content:{passwordResetHeader:"Password reset",resetPasswordHeader:"Reset your password",continueButtonText:"Continue",resetPasswordButtonText:"Reset Password",confirmPasswordFieldLabel:"Confirm Password",passwordFieldLabel:"New Password"}},callbacks:{submit:function(e){return __awaiter(ye,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:return[4,e];case 1:return[2,t.sent()]}}))}))},gotoNextPage:function(){return console.log("next page")},failed:function(){return console.log("failed")}}};var Fl={states:{error:"",loading:false,reset:false,confirmPassword:true,oobCodeValidating:false,oobCodeValid:false,content:{passwordResetHeader:"Password reset",resetPasswordHeader:"Reset your password",continueButtonText:"Continue",resetPasswordButtonText:"Reset Password",confirmPasswordFieldLabel:"Confirm Password",passwordFieldLabel:"New Password"}},callbacks:{submit:function(e){return __awaiter(ye,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:return[4,e];case 1:return[2,t.sent()]}}))}))},gotoNextPage:function(){return console.log("next page")},failed:function(){return console.log("failed")}}};var Ol=function(){return t(R,Object.assign({},Pl))};var Bl=function(){return t(R,Object.assign({},Il))};var Gl=function(){return t(R,Object.assign({},Sl))};var jl=function(){return t(R,Object.assign({},Nl))};var Vl=function(){return t(R,Object.assign({},Ll))};var Ml=function(){return t(R,Object.assign({},Fl))};var Wl=Object.freeze({__proto__:null,default:Rl,Default:Ol,DefaultWithoutConfirmField:Bl,ResetPasswordWithError:Gl,ResetPasswordLoading:jl,ResetPasswordSuccess:Vl,CodeValidating:Ml});var Ul='@author:derek\n@owner:ian\nFeature: Verify Email\n\n Background: A user is on the email verification page\n Given a user who has been redirected to the email verification page\n\n @motivating\n Scenario: Verifying your email takes you to the portal login page\n Given a user has a valid oob code as a url query parameter\n When they click "Verify Email"\n Then the button enters a loading state\n When their email is validated\n Then a button that says "Continue" appears\n When they click "Continue"\n Then they are redirected to login\n\n @motivating\n Scenario: Users are automatically redirected if they dont click "Continue"\n Given a user has a valid oob code as a url query parameter\n When they click "Verify Email"\n Then the button enters a loading state\n When their email is validated\n Then a button that says "Continue" appears\n When they wait 5 seconds\n Then they are redirected to login\n\n @motivating\n Scenario: Users are notified if verifying their email has failed\n Given a user has a valid oob code as a url query parameter\n When they click "Verify Email"\n Then the button enters a loading state\n When their email fails to be validated\n Then an banner is shown stating that an error occured\n\n @motivating\n Scenario Outline: Users cannot verify their email with an invalid or missing oob code\n Given a user has a <oobCode> as a url query parameter\n And the component <mayHave> "failed-page" with <value>\n Then they see an error message saying that their verification code is invalid/expired\n When they click "Continue"\n Then they are redirected to <redirectPath>\n Examples:\n | oobCode | mayHave | value | redirectPath |\n | invalid oob code | doesn\'t have | N/A | / |\n | non existant oob code | doesn\'t have | N/A | / |\n | invalid oob code | has | /login | /login |\n | non existant oob code | has | /login | /login |\n\n @motivating\n Scenario: Users are redirected to "/" by default\n Given the component does not have prop "nextPage"\n And the users url does not contain a "nextPage" query parameter\n And a user has verified their email\n When they click "Continue"\n Then they are redirected to "/"\n\n @motivating\n Scenario: Custom redirection can be configured\n Given the component has prop "nextPage" with value "/activity"\n And the users url does not contain a "nextPage" query parameter\n And a user has verified their email\n When they click "Continue"\n Then they are redirected to "/activity"\n\n @motivating\n Scenario Outline: Users are redirected to the value of the nextPage url parameter if it exists\n Given the component <mayHave> prop "nextPage" with <nextPageValue>\n And the users url contains a "nextPage" query paramater with <nextPageParamValue>\n And the user has verified their email\n When they click "Continue"\n Then they are redirected to <nextPageParamValue>\n Examples:\n | mayHave | nextPageValue | nextPageParamValue |\n | has | /dashboard | /activity |\n | does not have | N/A | /activity |\n\n @motivating\n Scenario Outline: Users are redirected to the value of the nextPage url parameter as if it were a relative path\n Given the component is loaded at <currentUrl>\n And the user has verified their email\n When they click "Continue"\n And they are redirected to <url>\n Examples:\n | currentUrl | url |\n | https://www.example.com?nextPage=./activity | https://www.example.com/activity |\n | https://www.example.com?nextPage=activity | https://www.example.com/activity |\n | https://www.example.com?nextPage=/activity | https://www.example.com/activity |\n | https://www.example.com?nextPage=www.google.com | https://www.example.com/www.google.com |\n | https://www.example.com?nextPage=//foo.com | https://www.example.com/ |\n | https://www.example.com?nextPage=https://malicious.example.com | https://www.example.com/ |\n | http://www.example.com/nest/page?oob=123&other&nextPage=activity#heading-1 | http://www.example.com/activity |\n | https://www.example.com?nextPage=activity?foo=bar | https://www.example.com/activity?foo=bar |\n | https://www.example.com?nextPage=%2Factivity%3Ffoo%3Dbar | https://www.example.com/activity?foo=bar |\n | https://www.example.com?nextPage=%2Factivity%3Ffoo%3Dbar#hash | https://www.example.com/activity?foo=bar |\n | https://www.example.com?nextPage=%2Factivity%3Ffoo%3Dbar%23hash | https://www.example.com/activity?foo=bar#hash |\n | https://www.example.com:1337?nextPage=activity | https://www.example.com:1337/activity |\n | http://1.1.1.1:1111?nextPage=activity | http://1.1.1.1:1111/activity |\n\n @landmine\n Scenario Outline: Username and password are not persisted on redirects\n Given the component is loaded at <currentUrl>\n And the user has verified their email\n When they click "Continue"\n And they are redirected to <url>\n Examples:\n | currentUrl | url |\n | https://user:pass@www.example.com:444?nextPage=activity | https://www.example.com:444/activity |';var zl={title:"Components/Portal Verify Email",parameters:{scenario:Ul}};var Hl={states:{error:"Something went wrong. Please try again.",loading:false,verified:false},data:{oobCode:"abc123"},callbacks:{gotoNextPage:function(){return console.log("next page")},failed:function(){return console.log("failed")}}};var Xl={states:{error:"",loading:false,verified:true},data:{oobCode:"abc123"},callbacks:{gotoNextPage:function(){return console.log("next page")},failed:function(){return console.log("failed")}}};var Jl=function(){return t(P,Object.assign({},Hl))};var $l=function(){return t(P,Object.assign({},Xl))};var Kl=Object.freeze({__proto__:null,default:zl,EmailVerificationWithError:Jl,EmailVerificationSuccess:$l});var Yl={title:"Components/Asset Card"};var Zl=function(){var e={text:{titleText:"Marketing Banner"},imgUrl:"https://res.cloudinary.com/saasquatch/image/upload/v1634255445/squatch-assets/Copy_of_saasquatch-logo-tree-large-horizontal.png",callbacks:{}};return t(w,Object.assign({},e))};var Ql=function(){var e={text:{titleText:"Lorem ipsum dolor sit amet, consectetur adipisicing elit. Quam, sunt dolores? Dolore temporibus autem officia blanditiis minus in voluptatem molestiae!"},imgUrl:"https://res.cloudinary.com/saasquatch/image/upload/v1634255445/squatch-assets/Copy_of_saasquatch-logo-tree-large-horizontal.png",callbacks:{}};return t(w,Object.assign({},e))};var ed=function(){var e={text:{titleText:"Marketing Banner"},imgUrl:"",callbacks:{}};return t(w,Object.assign({},e))};var td=Object.freeze({__proto__:null,default:Yl,Default:Zl,CardWithLongText:Ql,CardWithNoImg:ed});var nd={title:"Components/Divided Layout"};var ad={data:{programs:[{key:"program1",label:"My Referral Program"},{key:"program2",label:"My Rewards Program"}]}};var rd={states:{active:false},data:{label:"Dashboard",icon:"house",path:"/"}};var sd={states:{active:true},data:{label:"Activity",icon:"bar-chart",path:"/"}};var id=function(){return t(E,Object.assign({},ad),t(q,Object.assign({},rd)),t(q,Object.assign({},sd)))};var od=function(){return t("sqm-divided-layout",{direction:"row"},t(id,null),t("div",{style:{padding:"48px"}},t(xe,Object.assign({},{labelMargin:"xx-small",padding:"none",label:t("sqm-text",null,t("p",null,"Welcome back,")),content:t("sqm-text",null,t("h1",null,"Joe Smith"))}))))};var ld=function(){return t("sqm-divided-layout",{direction:"column"},t(id,null),t("div",{style:{padding:"48px"}},t(xe,Object.assign({},{labelMargin:"xx-small",padding:"none",label:t("sqm-text",null,t("p",null,"Welcome back,")),content:t("sqm-text",null,t("h1",null,"Joe Smith"))}))))};var dd=function(){return t("sqm-divided-layout",{direction:"column",dividerStyle:"1px solid red"},t(id,null),t("div",{style:{padding:"48px"}},t(xe,Object.assign({},{labelMargin:"xx-small",padding:"none",label:t("sqm-text",null,t("p",null,"Welcome back,")),content:t("sqm-text",null,t("h1",null,"Joe Smith"))}))))};var ud=Object.freeze({__proto__:null,default:nd,Row:od,Column:ld,ColumnCustomDivider:dd});var cd='Feature: Change Password\n\n @motivating\n Scenario: Users can change their password\n Given a user has registered for the portal\n And they have a password\n When they navigate to the edit profile page\n And click "Change your password..."\n Then a popup will appear\n When they enter their new password\n And confirm it\n And click "Change Password"\n Then they will see a success banner stating that the change was successful\n When they logout\n And try to login\n Then they will not be able to login with their old password\n But they will be able to login with their new password\n\n @motivating\n Scenario: Users must confirm their password change\n Given a user has registered for the portal\n When they navigate to the edit profile page\n And click "Change your password..."\n Then a popup will appear\n When they enter their new password\n But they enter a different password to confirm\n And click "Change Password"\n Then they will see an error banner stating that the passwords didnt match\n When they logout\n And try to login\n Then they will be able to login with their existing password\n\n @motivating\n Scenario: Users must enter a new password and confirm it to change their password\n Given a user has registered for the portal\n When they navigate to the edit profile page\n And click "Change your password..."\n Then a popup will appear\n When they click "Change password"\n Then a validation error will appear for the new password field\n And their password will not be changed\n When they enter a new password\n And they click "Change password"\n Then a validation error will appear for the confirm new password field\n And their password will not be changed\n\n @motivating\n Scenario: An error banner will be displayed if the password change fails\n Given a user has registered for the portal\n When they navigate to the edit profile page\n And click "Change your password..."\n When they enter their new password\n And confirm it\n And click "Change Password"\n But the change fails\n Then they will see an error banner stating that the change failed\n When they logout\n And try to login\n Then they will be able to login with their existing password';var md={title:"Components/Change Password",parameters:{scenario:cd}};var pd={states:{open:false,loading:false,success:false,error:"",content:{modalChangePasswordHeader:"Change Password",cancelText:"Cancel",changePasswordButtonText:"Change Password",passwordFieldLabel:"New Password",confirmPasswordFieldLabel:"Confirm new password",successMessage:"Your password has been updated.",portalChangePasswordHeader:"Password",portalChangePasswordButtonText:"Change your password..."}},callbacks:{setOpen:function(e){return console.log(e)},submit:function(e){return console.log("Submit",e)}}};var hd={states:{open:true,loading:false,success:false,error:"",content:{modalChangePasswordHeader:"Change Password",cancelText:"Cancel",changePasswordButtonText:"Change Password",passwordFieldLabel:"New Password",confirmPasswordFieldLabel:"Confirm new password",successMessage:"Your password has been updated.",portalChangePasswordHeader:"Password",portalChangePasswordButtonText:"Change your password..."}},callbacks:{setOpen:function(e){return console.log(e)},submit:function(e){return console.log("Submit",e)}}};var gd={states:{open:true,loading:false,success:false,error:"Network error. Please try again.",content:{modalChangePasswordHeader:"Change Password",cancelText:"Cancel",changePasswordButtonText:"Change Password",passwordFieldLabel:"New Password",confirmPasswordFieldLabel:"Confirm new password",successMessage:"Your password has been updated.",portalChangePasswordHeader:"Password",portalChangePasswordButtonText:"Change your password..."}},callbacks:{setOpen:function(e){return console.log(e)},submit:function(e){return console.log("Submit",e)}}};var fd={states:{open:true,loading:false,success:false,error:"Passwords do not match.",content:{modalChangePasswordHeader:"Change Password",cancelText:"Cancel",changePasswordButtonText:"Change Password",passwordFieldLabel:"New Password",confirmPasswordFieldLabel:"Confirm new password",successMessage:"Your password has been updated.",portalChangePasswordHeader:"Password",portalChangePasswordButtonText:"Change your password..."}},callbacks:{setOpen:function(e){return console.log(e)},submit:function(e){return console.log("Submit",e)}}};var bd={states:{open:true,loading:true,success:false,error:"",content:{modalChangePasswordHeader:"Change Password",cancelText:"Cancel",changePasswordButtonText:"Change Password",passwordFieldLabel:"New Password",confirmPasswordFieldLabel:"Confirm new password",successMessage:"Your password has been updated.",portalChangePasswordHeader:"Password",portalChangePasswordButtonText:"Change your password..."}},callbacks:{setOpen:function(e){return console.log(e)},submit:function(e){return console.log("Submit",e)}}};var vd={states:{open:true,loading:false,success:true,error:"",content:{modalChangePasswordHeader:"Change Password",cancelText:"Cancel",changePasswordButtonText:"Change Password",passwordFieldLabel:"New Password",confirmPasswordFieldLabel:"Confirm new password",successMessage:"Your password has been updated.",portalChangePasswordHeader:"Password",portalChangePasswordButtonText:"Change your password..."}},callbacks:{setOpen:function(e){return console.log(e)},submit:function(e){return console.log("Submit",e)}}};var wd=function(){return t(M,Object.assign({},pd))};var xd=function(){return t(M,Object.assign({},hd))};var yd=function(){return t(M,Object.assign({},gd))};var Ed=function(){return t(M,Object.assign({},fd))};var qd=function(){return t(M,Object.assign({},bd))};var Ad=function(){return t(M,Object.assign({},vd))};var Dd=Object.freeze({__proto__:null,default:md,Default:wd,Open:xd,Error:yd,PaswordError:Ed,Loading:qd,Success:Ad});var kd={title:"Components/Portal Profile"};var Cd={states:{success:false,loading:false,submitDisabled:false,showCountry:true,user:{id:"01",accountId:"111100000",firstName:"Joe",lastName:"Smith",email:"jsmith@gmail.com",countryCode:"5000"},text:{firstnametext:"First Name",lastnametext:"Last Name",emailtext:"Email",countrytext:"Country",editProfileHeader:"Edit your profile",editProfileSubHeader:"Personal Information",submitChangeButtonText:"Submit Changes"},formState:{country:"Canada",firstName:"Joe",lastName:"Smith",errors:null,error:""}},callbacks:{onSubmit:function(e){return console.log(e)},onChange:function(e){return console.log(e)}}};var _d={states:{success:false,loading:false,submitDisabled:false,showCountry:false,user:{id:"01",accountId:"111100000",firstName:"Joe",lastName:"Smith",email:"jsmith@gmail.com",countryCode:"5000"},text:{firstnametext:"First Name",lastnametext:"Last Name",emailtext:"Email",countrytext:"Country",editProfileHeader:"Edit your profile",editProfileSubHeader:"Personal Information",submitChangeButtonText:"Submit Changes"},formState:{country:"Canada",firstName:"Joe",lastName:"Smith",errors:null,error:""}},callbacks:{onSubmit:function(e){return console.log(e)},onChange:function(e){return console.log(e)}}};var Td={states:{success:false,loading:true,submitDisabled:false,showCountry:true,user:{id:"01",accountId:"111100000",firstName:"Joe",lastName:"Smith",email:"jsmith@gmail.com",countryCode:"5000"},text:{firstnametext:"First Name",lastnametext:"Last Name",emailtext:"Email",countrytext:"Country",editProfileHeader:"Edit your profile",editProfileSubHeader:"Personal Information",submitChangeButtonText:"Submit Changes"},formState:{country:"Canada",firstName:"Joe",lastName:"Smith",errors:null,error:""}},callbacks:{onSubmit:function(e){return console.log(e)},onChange:function(e){return console.log(e)}}};var Rd={states:{success:false,loading:false,submitDisabled:true,showCountry:true,user:{id:"01",accountId:"111100000",firstName:"Joe",lastName:"Smith",email:"jsmith@gmail.com",countryCode:"5000"},text:{firstnametext:"First Name",lastnametext:"Last Name",emailtext:"Email",countrytext:"Country",editProfileHeader:"Edit your profile",editProfileSubHeader:"Personal Information",submitChangeButtonText:"Submit Changes"},formState:{country:"Canada",firstName:"Joe",lastName:"Smith",errors:null,error:""}},callbacks:{onSubmit:function(e){return console.log(e)},onChange:function(e){return console.log(e)}}};var Pd={states:{success:false,loading:false,submitDisabled:false,showCountry:true,user:{id:"01",accountId:"111100000",firstName:"Joe",lastName:"Smith",email:"jsmith@gmail.com",countryCode:"5000"},text:{firstnametext:"First Name",lastnametext:"Last Name",emailtext:"Email",countrytext:"Country",editProfileHeader:"Edit your profile",editProfileSubHeader:"Personal Information",submitChangeButtonText:"Submit Changes"},formState:{country:"Canada",firstName:"Joe",lastName:"Smith",errors:null,error:"Something went wrong. Please try again."}},callbacks:{onSubmit:function(e){return console.log(e)},onChange:function(e){return console.log(e)}}};var Id={states:{success:true,loading:false,submitDisabled:false,showCountry:true,user:{id:"01",accountId:"111100000",firstName:"Joe",lastName:"Smith",email:"jsmith@gmail.com",countryCode:"5000"},text:{firstnametext:"First Name",lastnametext:"Last Name",emailtext:"Email",countrytext:"Country",editProfileHeader:"Edit your profile",editProfileSubHeader:"Personal Information",submitChangeButtonText:"Submit Changes"},formState:{country:"Canada",firstName:"Joe",lastName:"Smith",errors:null,error:""}},callbacks:{onSubmit:function(e){return console.log(e)},onChange:function(e){return console.log(e)}}};var Sd=function(){return t(T,Object.assign({},Cd))};var Nd=function(){return t(T,Object.assign({},_d))};var Ld=function(){return t(T,Object.assign({},Td))};var Fd=function(){return t(T,Object.assign({},Rd))};var Od=function(){return t(T,Object.assign({},Pd))};var Bd=function(){return t(T,Object.assign({},Id))};var Gd=Object.freeze({__proto__:null,default:kd,Default:Sd,DefaultNoCountry:Nd,Loading:Ld,Disabled:Fd,Error:Od,Success:Bd});var jd='@author:noah\n@owner:noah\nFeature: Referral Table User Column\n\n Shows the same custom content for each referral\n\n Background:\n Given the column in included in the referral table\n\n @motivating\n Scenario: The title of the date column is configurable\n Given the "column-title" prop is set to "My column title"\n Then the date column is shown with "My column title"\n\n @motivating\n Scenario: The same custom content is shown for each referral\n Given there is at least one referral\n Then for each referral custom content is shown\n And the custom content is provided as slot content';var Vd='@author:noah\n@owner:noah\nFeature: Referral Table Date Column\n\n Shows the date of each referral\n\n Background:\n Given the date column is included in the referral table\n\n @motivating\n @ui\n Scenario Outline: The title of the date column is configurable\n Given the "column-title" prop is set to <value>\n Then the date column is shown with <columTitle>\n Examples:\n | value | columnTitle |\n | | Date Converted |\n | My column title | My column title |\n\n @motivating\n Scenario Outline: A configurable date associated with the referral is shown for each referral\n Given the "date-shown" prop is set to <dateType>\n And referrals exist\n Then for each referral the <referralDate> is shown in the table\n And the date is localized to the users locale\n Examples:\n | dateType | referralDate |\n | dateReferralStarted | date referral started |\n | dateReferralPaid | date referral paid |\n | dateReferralEnded | date referral ended |\n | dateModerated | date moderated |\n | dateUserModified | date user modified |\n | dateConverted | date converted |\n | dateModified | date modified |\n | | date converted |';var Md='@author:noah\n@owner:noah\nFeature: Referral Table Reward Column\n\n Shows the reward associated with each referral\n\n Background:\n Given the status column is included in the referral table\n And at least one referral exists\n\n @motivating\n @ui\n Scenario Outline: The referral reward and it\'s status are shown for each referral\n Then for each referral reward there exists a reward cell\n And the reward type and value is displayed in the cell\n And the status of each reward is displayed as a pill in the cell\n And rewards of <status> have a <pillColour> pill with the text <statusText>\n Examples:\n | status | pillColour | statusText |\n | Available | green | Available |\n | Pending | orange | Pending |\n | Cancelled | red | Cancelled |\n | Expired | red | Expired |\n | Redeemed | blue | Redeemed |\n\n @motivating\n Scenario: The pending period of a referral reward is shown if it exists\n Given a reward that is pending\n And the reward has a set pending period\n Then the status pill of the reward will instead have the text "Pending for <relativeTime>"\n And all dates are localized to the users locale\n Examples:\n | relativeTime |\n | 2 days |\n | 1 week |\n | 3 months |\n | 2 years |\n\n @motivating\n Scenario: The expiry date of a reward is shown if it exists\n Given a reward that is available\n And the reward has a set expiry date\n Then an additional grey pill will appear next to the status pill with the text "Expiring in <relativeTime>"\n And all dates are localized to the users locale\n Examples:\n | relativeTime |\n | 2 days |\n | 1 week |\n | 3 months |\n | 2 years |\n\n @motivating\n Scenario: Each reward can be expanded to show additional details about the reward\n When a reward cell is clicked\n Then it expands to show the following additional information (if it\'s available):\n | Date the reward was received |\n | Date the reward was cancelled |\n | Date the reward expires |\n | Date the reward is pending until |\n | Coupon code |\n And all dates are localized to a users locale';var Wd='@author:noah\n@owner:noah\nFeature: Referral Table Status Column\n\n Shows the status of each referral\n\n Background:\n Given the status column is included in the referral table\n\n @motivating\n @ui\n Scenario: The title of the date column is configurable\n Given the "column-title" prop is set to "My column title"\n Then the date column is shown with "My column title"\n\n @motivating\n Scenario Outline: The status column displays the status of each referral\n Given referrals exist\n Then the status of each referral is displayed\n And the status <status> is displayed as text from <statusTextProp> in a <pillColour> pill\n Examples:\n | status | statusTextProp | pillColour |\n | IN PROGRESS | inProgressStatusText | Orange |\n | Converted | convertedStatusText | Green |\n';var Ud='@author:noah\n@owner:noah\nFeature: Referral Table User Column\n\n Shows the user of each referral\n\n Background:\n Given the user column is included in the referral table\n\n @motivating\n @ui\n Scenario: The title of the date column is configurable\n Given the "column-title" prop is set to "My column title"\n Then the date column is shown with "My column title"\n\n @motivating\n Scenario: The first and last name of the other user in the referral is displayed for each referral\n Given at least one referral exists\n Then for each referral where the other user\'s name is available their first and last name is displayed\n\n @motivating\n Scenario: Deleted users are displayed with a fallback name\n Given a referral exists where the other user was deleted\n Then in place of the name the text from the prop "deleted-user" is used\n\n @motivating\n Scenario: Anonymous users are displayed with a fallback name\n Given a referral exists where the other user was anonymous\n Then in place of the name the text from the prop "anonymous-user" is used';var zd=jd+Vd+Md+Wd+Ud;var Hd={title:"Components/Referral Table Rewards Cell",parameters:{scenario:zd}};var Xd={id:"123",type:"CREDIT",value:19,unit:"POINT",name:"test",dateGiven:1627427794891,dateScheduledFor:fu(),dateExpires:bu(),dateCancelled:134400,dateRedeemed:0,fuelTankCode:"ABC",fuelTankType:"Code",currency:"null",prettyValue:"19 Points",statuses:["AVAILABLE"],globalRewardKey:"Key",rewardRedemptionTransactions:{data:[{exchangedRewards:{data:[{prettyValue:"19 Points",type:"CREDIT",fuelTankCode:"ABC",globalRewardKey:"Key"}]}}]}};var Jd={dateExpires:null};var $d={dateScheduledFor:null};var Kd={fuelTankCode:null};var Yd={type:"PCT_DISCOUNT"};var Zd={type:"CREDIT"};var Qd={type:"FUELTANK"};var eu={type:"INTEGRATION"};var tu={statuses:["AVAILABLE","PENDING"]};var nu={statuses:["PENDING","CANCELLED"],dateCancelled:16268508e5};var au={statuses:["EXPIRED","AVAILABLE"],dateExpires:16268508e5};var ru={statuses:["AVAILABLE","EXPIRED","REDEEMED"]};var su={statuses:["AVAILABLE"]};var iu=[];var ou=[__assign(__assign({},Xd),su)];var lu=[__assign(__assign(__assign({},Xd),Yd),tu),__assign(__assign({},Xd),Zd)];var du=[__assign(__assign(__assign({},Xd),Qd),Jd),__assign(__assign(__assign({},Xd),Qd),au),__assign(__assign(__assign({},Xd),tu),Kd)];var uu=[__assign(__assign({},Xd),Qd),__assign(__assign({},Xd),eu),__assign(__assign({},Xd),tu),__assign(__assign(__assign(__assign({},Xd),nu),Jd),Kd),__assign(__assign(__assign({},Xd),au),Kd)];var cu=[__assign(__assign(__assign({},Xd),ru),Kd),__assign(__assign(__assign({},Xd),su),Jd),__assign(__assign({},Xd),tu),__assign(__assign({},Xd),nu),__assign(__assign({},Xd),au),__assign(__assign(__assign(__assign({},Xd),tu),Jd),$d),__assign(__assign({},Xd),nu),__assign(__assign({},Xd),au)];var mu=[__assign(__assign({},Xd),eu),__assign(__assign({},Xd),ru),__assign(__assign({},Xd),su),__assign(__assign(__assign({},Xd),nu),Jd),__assign(__assign({},Xd),au),__assign(__assign({},Xd),tu),__assign(__assign({},Xd),Yd),__assign(__assign({},Xd),Qd),__assign(__assign(__assign({},Xd),nu),Jd),__assign(__assign({},Xd),Zd)];function pu(){return v.DateTime.now().toMillis()+1e4}function hu(){return v.DateTime.now().toMillis()+4e5}function gu(){return v.DateTime.now().toMillis()+9e6}function fu(){return v.DateTime.now().toMillis()+6e8}function bu(){return v.DateTime.now().toMillis()+1e10}function vu(){return v.DateTime.now().toMillis()+2e11}var wu=function(){return t("sqm-referral-table-rewards-cell",{rewards:[__assign(__assign(__assign({},Xd),tu),$d)],statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"})};var xu=function(){return t("sqm-referral-table-rewards-cell",{hideDetails:true,rewards:[__assign(__assign(__assign({},Xd),tu),$d)],statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"})};var yu=function(){return t("div",{style:{width:"250px"}},t("sqm-referral-table-rewards-cell",{rewards:[__assign(__assign(__assign({},Xd),tu),{dateScheduledFor:fu()})],statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"}),t("sqm-referral-table-rewards-cell",{rewards:[__assign(__assign({},Xd),tu)],statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"Pending for 300,000,000 months and some change"}),t("sqm-referral-table-rewards-cell",{rewards:[__assign(__assign(__assign({},Xd),tu),{dateScheduledFor:vu()})],statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"}))};var Eu=function(){return[t("sqm-referral-table-rewards-cell",{rewards:[__assign(__assign(__assign({},Xd),tu),{dateScheduledFor:pu()})],statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"}),t("sqm-referral-table-rewards-cell",{rewards:[__assign(__assign(__assign({},Xd),tu),{dateScheduledFor:hu()})],statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"}),t("sqm-referral-table-rewards-cell",{rewards:[__assign(__assign(__assign({},Xd),tu),{dateScheduledFor:gu()})],statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"}),t("sqm-referral-table-rewards-cell",{rewards:[__assign(__assign(__assign({},Xd),tu),{dateScheduledFor:fu()})],statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"}),t("sqm-referral-table-rewards-cell",{rewards:[__assign(__assign(__assign({},Xd),tu),{dateScheduledFor:bu()})],statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"}),t("sqm-referral-table-rewards-cell",{rewards:[__assign(__assign(__assign({},Xd),tu),{dateScheduledFor:vu()})],statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"})]};var qu=function(){return t("sqm-referral-table-rewards-cell",{rewards:[__assign(__assign(__assign({},Xd),su),Jd)],statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"})};var Au=function(){return[t("sqm-referral-table-rewards-cell",{rewards:[__assign(__assign(__assign({},Xd),su),{dateExpires:pu()})],statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"}),t("sqm-referral-table-rewards-cell",{rewards:[__assign(__assign(__assign({},Xd),su),{dateExpires:hu()})],statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"}),t("sqm-referral-table-rewards-cell",{rewards:[__assign(__assign(__assign({},Xd),su),{dateExpires:gu()})],statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"}),t("sqm-referral-table-rewards-cell",{rewards:[__assign(__assign(__assign({},Xd),su),{dateExpires:fu()})],statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"}),t("sqm-referral-table-rewards-cell",{rewards:[__assign(__assign(__assign({},Xd),su),{dateExpires:bu()})],statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"}),t("sqm-referral-table-rewards-cell",{rewards:[__assign(__assign(__assign({},Xd),su),{dateExpires:vu()})],statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"})]};var Du=function(){return t("sqm-referral-table-rewards-cell",{rewards:[__assign(__assign({},Xd),ru)],statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"})};var ku=function(){return t("sqm-referral-table-rewards-cell",{rewards:[__assign(__assign({},Xd),nu)],statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"})};var Cu=function(){return t("sqm-referral-table-rewards-cell",{rewards:[__assign(__assign({},Xd),au)],statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"})};var _u=function(){return t("sqm-referral-table-rewards-cell",{rewards:iu,statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"})};var Tu=function(){return t("sqm-referral-table-rewards-cell",{rewards:ou,statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"})};var Ru=function(){return t("sqm-referral-table-rewards-cell",{rewards:lu,statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"})};var Pu=function(){return t("sqm-referral-table-rewards-cell",{rewards:du,statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"})};var Iu=function(){return t("sqm-referral-table-rewards-cell",{rewards:uu,statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"})};var Su=function(){return t("sqm-referral-table-rewards-cell",{rewards:cu,statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"})};var Nu=function(){return t("sqm-referral-table-rewards-cell",{rewards:mu,statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"})};var Lu=Object.freeze({__proto__:null,default:Hd,PendingNoUnpend:wu,PendingNoUnpendNoDetails:xu,NarrowColumnWithWideText:yu,PendingWithUnpend:Eu,AvailableNoExpiry:qu,AvailableWithExpiry:Au,Redeemed:Du,Cancelled:ku,Expired:Cu,EmptyCell:_u,oneRewardCell:Tu,twoRewardsCell:Ru,threeRewardsCell:Pu,fiveRewardsCell:Iu,eightRewardsCell:Su,tenRewardsCell:Nu});var Fu='@owner:sam\n@author:sam\nFeature: Referral Table\n\n The Referral table component shows users a list of their referrals. The referral table it\'s self can be customized\n with a collection of columns.\n\n @motivating\n @ui\n Scenario: The empty state is shown if there are no referrals\n Given a user with no referrals\n When they view the referral table\n Then no referrals are displayed\n And they see an image with a user icon\n And "View your referral details" in bold\n And "Track the status of your referrals and rewards earned by referring friends" below the bolded text\n And the pagination buttons are disabled\n\n @motivating\n @ui\n Scenario: The empty state image and text are customizable\n Given the referral table has \'sqm-empty\' as a child with the following props\n | prop | value |\n | empty-state-imgage | https://res.cloudinary.com/saasquatch/image/upload/v1634255445/squatch-assets/Copy_of_saasquatch-logo-tree-large-horizontal.png |\n | empty-state-header | View your referral history |\n | empty-state-text | See your previous referrals and what you earned! |\n And a user with no referrals\n When they view the referral table\n Then they see no referrals\n And they see the SaaSquatch logo\n And "View your referral history" in bold\n And "See your previous referrals and what you earned!" below the bolded text\n\n @minutae\n @ui\n Scenario: A custom empty state can be provided\n Given a user with no referrals\n And a custom empty state has been supplied in the "empty" slot\n When they view the referral table\n Then they see the custom empty state\n\n @motivating\n @ui\n Scenario: The loading state is shown while referrals are loading\n Given the table is loading\n Then the loading state is shown in the table\n And a custom loading state can be supplied in the "loading" slot\n And the pagination buttons are disabled\n\n @motivating\n @ui\n Scenario Outline: The table becomes paginated when the number of referrals exceeds the per page limit\n Given the user has <number of referrals>\n And the table is configured to show <page limit> referrals per page\n Then the table will have <number of pages> page(s)\n And pagination buttons will allow users to navigate between pages\n And the pagination button to go to the next page is disabled on the last page of referrals\n And the pagination button to go to the previous page is disabled on the first page of referrals\n Examples:\n | number of referrals | page limit | number of pages |\n | 0 | 4 | 1 |\n | 1 | 4 | 1 |\n | 3 | 4 | 1 |\n | 5 | 4 | 2 |\n | 42 | 4 | 11 |\n\n @motivating\n @ui\n Scenario: The table converts to a card view on tablet and mobile window sizes\n Given a user with referrals\n When they view the table\n And their window size is smaller than "799px"\n Then referrals are displayed as cards\n And they are in two columns\n When their window size is smaller than "599px"\n Then the referrals are displayed as cards in a singular column\n\n @motivating\n @ui\n Scenario: Table and Mobile beakpoints can be configured\n Given the referral table has been configured with the following props\n | prop | value |\n | smBreakpoint | 599 |\n | mdBreakpoint | 799 |\n And a user with referrals\n When they view the table\n And their window size is smaller than "799px"\n Then referrals are displayed as cards\n And they are in two columns\n When their window size is smaller than "599px"\n Then the referrals are displayed as cards in a singular column\n\n @motivating\n @ui\n Scenario Outline: By default the first column heading is hidden in mobile, but others can be hidden\n Given a referral table with 4 columns\n And prop "hidden-columns" with <hideColumnValue>\n And a user with referrals\n When they view the referral table\n And their window size is below the tablet breakpoint\n Then referral cards are displayed\n And the titles of <columnsArehidden> within the card\n Examples:\n | hideColumnValue | columnsArehidden |\n | | the first column |\n | 0,1,2 | the first, second and third columns |\n | 3 | the fourth column |\n\n @motivating\n Scenario: The use who referred the current user can be shown in the table\n Given the table is configured with <showReferrer> set to true\n And the current user was referrered by <referrer>\n Then the first table row on the first page of the table is for <referrer>\n\n @motivating\n Scenario: Only referrals which occured in the program specific by program-id are shown\n Given the table is configured with "program-id"\n Then only referrals from the program with "program-id" are shown\n\n @motivating\n Scenario: Classic program shows only classic referrals\n Given the "program-id" of the table is set to "classic"\n Then only classic referrals are shown in the table\n\n @minutae\n @ui\n Scenario: Column heading can be hidden\n Given the table is configured with "hide-labels" set to "true"\n Then the table is displayed without column headings';var Ou={title:"Components/Referral Table",parameters:{scenario:Fu}};var Bu=t("div",{slot:"loading",style:{display:"contents"}},t("sqm-table-row",null,t("sqm-table-cell",{colspan:5},t("sl-skeleton",null))),t("sqm-table-row",null,t("sqm-table-cell",{colspan:5},t("sl-skeleton",null))),t("sqm-table-row",null,t("sqm-table-cell",{colspan:5},t("sl-skeleton",null))),t("sqm-table-row",null,t("sqm-table-cell",{colspan:5},t("sl-skeleton",null))),t("sqm-table-row",null,t("sqm-table-cell",{colspan:5},t("sl-skeleton",null))));var Gu=t("sqm-empty",{"empty-state-image":"https://res.cloudinary.com/saasquatch/image/upload/v1644360953/squatch-assets/empty_referral2.png","empty-state-header":"View your referral details","empty-state-text":"Track the status of your referrals and rewards earned by referring friends"});var ju={id:"123",type:"CREDIT",value:19,unit:"POINT",name:"test",dateGiven:1627427794891,dateScheduledFor:16281468e5,dateExpires:16290108e5,dateCancelled:134400,dateRedeemed:0,fuelTankCode:"ABC",fuelTankType:"Code",currency:"null",prettyValue:"19 Points",statuses:["AVAILABLE"],globalRewardKey:"Key",rewardRedemptionTransactions:{data:[{exchangedRewards:{data:[{prettyValue:"19 Points",type:"CREDIT",fuelTankCode:"ABC",globalRewardKey:"Key"}]}}]}};var Vu={statuses:["AVAILABLE","PENDING"]};var Mu={statuses:["PENDING","CANCELLED"],dateCancelled:16268508e5};var Wu={statuses:["EXPIRED","AVAILABLE"],dateExpires:16268508e5};var Uu={statuses:["AVAILABLE"]};var zu={dateExpires:null};var Hu={states:{hasPrev:false,hasNext:true,show:"rows",namespace:"sqm-referral-table"},data:{textOverrides:{showLabels:true,prevLabel:"Prev",moreLabel:"View More"},hiddenColumns:"",mdBreakpoint:799,smBreakpoint:599},callbacks:{prevPage:function(){return console.log("Prev")},nextPage:function(){return console.log("Next")}},elements:{columns:["Customer","Status","Date converted","Rewards"],rows:[[t("sqm-referral-table-user-cell",{name:"Joe Smith"}),t("sqm-referral-table-user-cell",{name:"jsmith@gmail.com"}),t("sqm-referral-table-user-cell",{name:"07/15/1902"}),t(wu,null)],[t("sqm-referral-table-user-cell",{name:"Bob Williams"}),t("sqm-referral-table-user-cell",{name:"bwill@gmail.com"}),t("sqm-referral-table-user-cell",{name:"09/05/1999"}),t(qu,null)],[t("sqm-referral-table-user-cell",{name:"Sarah Joseph"}),t("sqm-referral-table-user-cell",{name:"sjoseph@gmail.com"}),t("sqm-referral-table-user-cell",{name:"12/21/1984"}),t(ku,null)]]}};var Xu={states:{hasPrev:false,hasNext:true,show:"rows",namespace:"sqm-referral-table"},data:{textOverrides:{showLabels:true,prevLabel:"Prev",moreLabel:"View More"},hiddenColumns:"",mdBreakpoint:799,smBreakpoint:599},callbacks:{prevPage:function(){return console.log("Prev")},nextPage:function(){return console.log("Next")}},elements:{columns:["Customer","Status","Date converted","Rewards"],rows:[[t("sqm-referral-table-user-cell",{name:"Bob Williams"}),t("sqm-referral-table-user-cell",{name:"bwill@gmail.com"}),t("sqm-referral-table-user-cell",{name:"09/05/1999"}),t(qu,null)]]}};var Ju={data:{textOverrides:{showLabels:false,prevLabel:"Prev",moreLabel:"View More"},hiddenColumns:"",mdBreakpoint:799,smBreakpoint:599}};var $u={states:{hasPrev:true,hasNext:true,show:"rows",namespace:"sqm-referral-table"},data:{textOverrides:{showLabels:true,prevLabel:"CUSTOM PREVIOUS TEXT",moreLabel:"CUSTOM NEXT TEXT"},hiddenColumns:"",mdBreakpoint:799,smBreakpoint:599}};var Ku={states:{hasPrev:false,hasNext:true,show:"rows",namespace:"sqm-referral-table"},data:{textOverrides:{showLabels:true,prevLabel:"Prev",moreLabel:"View More"},hiddenColumns:"",mdBreakpoint:799,smBreakpoint:599},callbacks:{prevPage:function(){return console.log("Prev")},nextPage:function(){return console.log("Next")}},elements:{columns:["Name","Email","DOB","City","State/Province","Country","Referrals","Reward Earnings","Status"],rows:[[t("sqm-referral-table-user-cell",{name:"Bartholomew Christopher-Johnston Wallace"}),t("sqm-referral-table-user-cell",{name:"jsmith@gmail.com"}),t("sqm-referral-table-date-cell",{date:-220896e5}),t("sqm-referral-table-user-cell",{name:"Vancouver"}),t("sqm-referral-table-cell",{innerTemplate:"British Columbia"}),t("sqm-referral-table-user-cell",{name:"Canada"}),t("sqm-referral-table-user-cell",{name:"14,000,000"}),t("sqm-referral-table-user-cell",{name:"$800,000,000,000"}),t("sqm-referral-table-status-cell",{statusText:"Complete",converted:true})],[t("sqm-referral-table-user-cell",{name:"Bob Williams"}),t("sqm-referral-table-user-cell",{name:"bwill@gmail.com"}),t("sqm-referral-table-date-cell",{date:8e11}),t("sqm-referral-table-user-cell",{name:"Los Angeles"}),t("sqm-referral-table-cell",{innerTemplate:"California"}),t("sqm-referral-table-user-cell",{name:"US"}),t("sqm-referral-table-user-cell",{name:"1"}),t("sqm-referral-table-user-cell",{name:"$5"}),t("sqm-referral-table-status-cell",{statusText:"In progress",converted:false}),,],[t("sqm-referral-table-user-cell",{name:"Sarah Joseph"}),t("sqm-referral-table-user-cell",{name:"sjoseph@gmail.com"}),t("sqm-referral-table-date-cell",{date:444703707e3}),t("sqm-referral-table-user-cell",{name:"Toronto"}),t("sqm-referral-table-cell",{innerTemplate:"Ontario"}),t("sqm-referral-table-user-cell",{name:"Canada"}),t("sqm-referral-table-user-cell",{name:"10"}),t("sqm-referral-table-user-cell",{name:"$71"}),t("sqm-referral-table-status-cell",{statusText:"Complete",converted:true}),,]]}};var Yu={states:{hasPrev:false,hasNext:true,show:"rows",namespace:"sqm-referral-table"},data:{textOverrides:{showLabels:true,prevLabel:"Prev",moreLabel:"View More"},hiddenColumns:"",mdBreakpoint:799,smBreakpoint:599},callbacks:{prevPage:function(){return console.log("Prev")},nextPage:function(){return console.log("Next")}},elements:{columns:["Lorem ipsum dolor sit amet consectetur adipisicing elit.","Email","DOB","City","State/Province","Country","Referrals","Rewarddddddddddd Earningsssssssssssss","Status"],rows:[[t("sqm-referral-table-user-cell",{name:"Joe Smith"}),t("sqm-referral-table-user-cell",{name:"jsmith@gmail.com"}),t("sqm-referral-table-date-cell",{date:-2128547493e3}),t("sqm-referral-table-user-cell",{name:"Vancouver"}),t("sqm-referral-table-cell",{innerTemplate:"British Columbia"}),t("sqm-referral-table-user-cell",{name:"Canada"}),t("sqm-referral-table-user-cell",{name:"14"}),t("sqm-referral-table-user-cell",{name:"$88"}),t("sqm-referral-table-status-cell",{statusText:"Complete",converted:true})],[t("sqm-referral-table-user-cell",{name:"Bob Williams"}),t("sqm-referral-table-user-cell",{name:"bwill@gmail.com"}),t("sqm-referral-table-date-cell",{date:8e11}),t("sqm-referral-table-user-cell",{name:"Los Angeles"}),t("sqm-referral-table-cell",{innerTemplate:"California"}),t("sqm-referral-table-user-cell",{name:"US"}),t("sqm-referral-table-user-cell",{name:"1"}),t("sqm-referral-table-user-cell",{name:"$5"}),t("sqm-referral-table-status-cell",{statusText:"In progress",converted:false}),,],[t("sqm-referral-table-user-cell",{name:"Sarah Joseph"}),t("sqm-referral-table-user-cell",{name:"sjoseph@gmail.com"}),t("sqm-referral-table-date-cell",{date:444703707e3}),t("sqm-referral-table-user-cell",{name:"Toronto"}),t("sqm-referral-table-cell",{innerTemplate:"Ontario"}),t("sqm-referral-table-user-cell",{name:"Canada"}),t("sqm-referral-table-user-cell",{name:"10"}),t("sqm-referral-table-user-cell",{name:"$71"}),t("sqm-referral-table-status-cell",{statusText:"Complete",converted:true}),,]]}};var Zu=function(e){if(e===void 0){e=false}return{states:{hasPrev:false,hasNext:true,show:"rows",namespace:"sqm-referral-table"},data:{textOverrides:{showLabels:true,prevLabel:"Prev",moreLabel:"View More"},hiddenColumns:e?"0,1,2,3,4,5,6,7,8":"-1",mdBreakpoint:799,smBreakpoint:599},callbacks:{prevPage:function(){return console.log("Prev")},nextPage:function(){return console.log("Next")}},elements:{columns:["Name","Email","DOB","City","State/Province","Country","Referrals","Reward Earnings","Status"],rows:[[t("sqm-referral-table-user-cell",{name:"Joe Smith"}),t("sqm-referral-table-user-cell",{name:"jsmith@gmail.com"}),t("sqm-referral-table-date-cell",{date:-2128547493e3}),t("sqm-referral-table-user-cell",{name:"Vancouver"}),t("sqm-referral-table-cell",{innerTemplate:"British Columbia"}),t("sqm-referral-table-user-cell",{name:"Canada"}),t("sqm-referral-table-user-cell",{name:"14"}),t("sqm-referral-table-user-cell",{name:"$88"}),t("sqm-referral-table-status-cell",{statusText:"Complete",converted:true})],[t("sqm-referral-table-user-cell",{name:"Bob Williams"}),t("sqm-referral-table-user-cell",{name:"bwill@gmail.com"}),t("sqm-referral-table-date-cell",{date:8e11}),t("sqm-referral-table-user-cell",{name:"Los Angeles"}),t("sqm-referral-table-cell",{innerTemplate:"California"}),t("sqm-referral-table-user-cell",{name:"US"}),t("sqm-referral-table-user-cell",{name:"1"}),t("sqm-referral-table-user-cell",{name:"$5"}),t("sqm-referral-table-status-cell",{statusText:"In progress",converted:false}),,],[t("sqm-referral-table-user-cell",{name:"Sarah Joseph"}),t("sqm-referral-table-user-cell",{name:"sjoseph@gmail.com"}),t("sqm-referral-table-date-cell",{date:444703707e3}),t("sqm-referral-table-user-cell",{name:"Toronto"}),t("sqm-referral-table-cell",{innerTemplate:"Ontario"}),t("sqm-referral-table-user-cell",{name:"Canada"}),t("sqm-referral-table-user-cell",{name:"10"}),t("sqm-referral-table-user-cell",{name:"$71"}),t("sqm-referral-table-status-cell",{statusText:"Complete",converted:true}),,]]}}};var Qu=function(){return t(b,Object.assign({},Hu))};var ec=function(){return t(b,Object.assign({},Xu))};var tc=function(){return t(b,Object.assign({},__assign(__assign({},Hu),Ju)))};var nc=function(){return t(b,Object.assign({},__assign(__assign({},Hu),$u)))};var ac=function(){return t(b,Object.assign({},Zu()))};var rc=function(){return t(b,Object.assign({},Ku))};var sc=function(){return t(b,Object.assign({},Yu))};var ic=function(){return t("sqm-referral-table",{demoData:{states:{hasPrev:false,hasNext:false,show:"empty",namespace:"sqm-referral-table"},data:{textOverrides:{showLabels:true,prevLabel:"Prev",moreLabel:"View More"},hiddenColumns:"",mdBreakpoint:799,smBreakpoint:599},elements:{emptyElement:Gu,loadingElement:Bu,columns:["Name","Email","DOB"],rows:[]}}})};var oc=function(){return t("sqm-referral-table",{demoData:{states:{hasPrev:false,hasNext:false,show:"loading",namespace:"sqm-referral-table"},data:{textOverrides:{showLabels:true,prevLabel:"Prev",moreLabel:"View More"},hiddenColumns:"",mdBreakpoint:799,smBreakpoint:599},elements:{emptyElement:Gu,loadingElement:Bu,columns:["Name","Email","DOB"],rows:[]}}})};var lc=function(){return t("sqm-referral-table",{demoData:{states:{hasPrev:false,hasNext:false,show:"rows",namespace:"sqm-referral-table"},data:{textOverrides:{showLabels:true,prevLabel:"Prev",moreLabel:"View More"},hiddenColumns:"1",mdBreakpoint:799,smBreakpoint:599},elements:{emptyElement:Gu,loadingElement:Bu,columns:["User","Rewards","Status","Date Started","Date Converted"],rows:[[t("sqm-referral-table-user-cell",{name:"Joe Smith"}),t("sqm-referral-table-rewards-cell",{rewards:[__assign(__assign({},ju),Uu),__assign(__assign({},ju),Vu),__assign(__assign({},ju),Mu)],statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"}),t("sqm-referral-table-status-cell",{statusText:"Complete",converted:true}),t("sqm-referral-table-date-cell",{date:16267644e5}),t("sqm-referral-table-date-cell",{date:1627427794891})],[t("sqm-referral-table-user-cell",{name:"Sarah Williams"}),t("sqm-referral-table-rewards-cell",{rewards:[__assign(__assign({},ju),Wu)],statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"}),t("sqm-referral-table-status-cell",{statusText:"Incomplete",converted:false}),t("sqm-referral-table-date-cell",{date:16267644e5}),t("sqm-referral-table-date-cell",{date:null})],[t("sqm-referral-table-user-cell",{name:"Marvin Smith"}),t("sqm-referral-table-rewards-cell",{rewards:[__assign(__assign({},ju),zu),__assign(__assign({},ju),Vu)],statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"}),t("sqm-referral-table-status-cell",{statusText:"Complete",converted:true}),t("sqm-referral-table-date-cell",{date:16267644e5}),t("sqm-referral-table-date-cell",{date:1627427794891})]]}}})};var dc=function(){return t(b,Object.assign({},Zu(true)))};var uc=Object.freeze({__proto__:null,default:Ou,SimpleUserTable:Qu,SingleEntry:ec,HiddenLabelsTable:tc,CustomButtonTextTable:nc,FullUserTable:ac,LongCellTextTable:rc,LongColumnTextTable:sc,EmptyTable:ic,LoadingTable:oc,FullRewardsTable:lc,ColumnsMobileHidden:dc});var cc=jd+Vd+Md+Wd+Ud;var mc={title:"Components/Referral Table Cell",parameters:{scenario:cc}};var pc=function(){return t("sqm-referral-table-cell",{innerTemplate:"Table Cell Text"})};var hc=function(){return t("sqm-referral-table-user-cell",{name:"Table User Cell Text"})};var gc=function(){return t("sqm-sqm-referral-table-cell",null,"-")};var fc=function(){return t("div",null,t("sqm-referral-table-status-cell",{statusText:"Complete",converted:true}),t("sqm-referral-table-status-cell",{statusText:"In Progress",converted:false}))};var bc=function(){return t("sqm-referral-table-date-cell",{date:8e11})};var vc={id:"123",type:"CREDIT",value:19,unit:"POINT",name:"test",dateGiven:1627427794891,dateScheduledFor:16281468e5,dateExpires:16290108e5,dateCancelled:134400,dateRedeemed:0,fuelTankCode:"ABC",fuelTankType:"Code",currency:"null",prettyValue:"19 Points",statuses:["AVAILABLE"],globalRewardKey:"Key",rewardRedemptionTransactions:{data:[{exchangedRewards:{data:[{prettyValue:"19 Points",type:"CREDIT",fuelTankCode:"ABC",globalRewardKey:"Key"}]}}]}};var wc=[vc];var xc=function(){return t("sqm-referral-table-rewards-cell",{rewards:wc,statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"})};var yc=Object.freeze({__proto__:null,default:mc,TableCell:pc,TableUserCell:hc,EmptyCell:gc,StatusCell:fc,DateCell:bc,RewardsCell:xc});var Ec={title:"Tests/User Name"};var qc=function(){return t("sqm-user-name",{demoData:{loading:false,loadingText:"...",username:"Test Testerson"}})};var Ac=function(){return t("sqm-user-name",null)};var Dc=Object.freeze({__proto__:null,default:Ec,DemoData:qc,Username:Ac});var kc={title:"Components/Portal Password Field"};var Cc=function(){return t("sqm-password-field",{demoData:{initValue:"",states:{enableValidation:true,registrationFormState:{validationErrors:{}},content:{fieldLabel:"Password"}}}})};var _c=function(){return t("sqm-password-field",{demoData:{initValue:"",states:{enableValidation:true,registrationFormState:{validationErrors:{password:"Cannot be empty"}},content:{fieldLabel:"Password"}}}})};var Tc=function(){return t("sqm-password-field",{demoData:{initValue:"asdf",states:{enableValidation:true,registrationFormState:{validationErrors:{password:"Incomplete"}},content:{fieldLabel:"Password"}}}})};var Rc=Object.freeze({__proto__:null,default:kc,Start:Cc,EmptyError:_c,ValidationError:Tc});function Pc(e){var n=e.matrix,a=e.props,r=e.Component;var s=Object.keys(n).map((function(e){var t=n[e];return t.map((function(t){var n;return n={},n[e]=t,n}))}));var i=Sc.apply(void 0,s);var o=i.map((function(e){return e.reduce((function(e,t){return __assign(__assign({},e),t)}),{})}));return o.map((function(e){var n=__assign(__assign({},a),e);return t("div",null,t(Ic,{values:n}),t("hr",null)," ",t("br",null),t(r,Object.assign({},n)),t("br",null))}))}function Ic(e){var n=e.values;return t("table",null,t("tbody",null,Object.keys(n).map((function(e){return t("tr",null,t("th",null,e),t("td",null,JSON.stringify(n[e])))}))))}function Sc(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}var n=[],a=e.length-1;function r(t,s){for(var i=0,o=e[s].length;i<o;i++){var l=t.slice(0);l.push(e[s][i]);if(s==a)n.push(l);else r(l,s+1)}}r([],0);return n}var Nc='@author:derek\n@owner:kutay\nFeature: Task Card\n\n\t@motivating\n\t@ui\n\tScenario: A header, body title and a CTA button are always displayed\n\t\tGiven the Task Card is configured with the following props\n\t\t\t| prop | value |\n\t\t\t| rewardAmount | "40" |\n\t\t\t| rewardUnit | "Points" |\n\t\t\t| cardTitle | Complete a survey |\n\t\t\t| buttonText | Take Survey |\n\t\tWhen a user views the Task Card\n\t\tThen they see "40 Points" as the heading\n\t\tAnd the "40" is bolded\n\t\tAnd they see "Complete a survey" bolded in the body\n\t\tAnd a details icon in the top right hand corner\n\t\tAnd a button with text "Take Survey" in the bottom right hand corner\n\t\tWhen they click the button\n\t\tThen they are redirected to "example.com" in a new window\n\n\t@motivating\n\t@ui\n\tScenario Outline: A Task Card description can be included but is not required\n\t\tGiven a Task Card\n\t\tAnd it has <descriptionPropValue>\n\t\tWhen a user views the Task card\n\t\tThen they <maySee> a chevron icon in the top right\n\t\tWhen they attempt to click the chevron\n\t\tThen they <maySee> the card description\n\t\tExamples:\n\t\t\t| descriptionPropValue | maySee |\n\t\t\t| This is my task card description | see |\n\t\t\t| | don\'t see |\n\n\t@motivating\n\tScenario Outline: CTA links can open in a new tab or the same tab\n\t\tGiven a Task Card\n\t\tAnd it has <openNewTabPropValue>\n\t\tWhen a user views the Task card\n\t\tAnd they click on the CTA\n\t\tThen they are redirected to the CTA link in <tab>\n\t\tExamples:\n\t\t\t| openNewTabPropValue | tab |\n\t\t\t| true | a new tab |\n\t\t\t| false | the same tab |\n\t\t\t| N/A | the same tab |\n\n\t@minutae\n\t@ui\n\tScenario: A loading state is displayed while the Task Card is loading\n\t\tGiven a Task Card component\n\t\tWhen a user views the Task Card\n\t\tThen a loading state is displayed\n\t\tWhen the Task Card has loaded\n\t\tThen the loading state disapears\n\n\t@motivating\n\t@ui\n\tScenario Outline: The Progress Bar can be shown or hidden but is hidden by default\n\t\tGiven a Task Card\n\t\tAnd it has <showProgressBarPropValue>\n\t\tWhen a user views the Task Card\n\t\tThen the progress bar <mayBe> displayed\n\t\tExamples:\n\t\t\t| showProgressBarPropValue | mayBe |\n\t\t\t| true | is |\n\t\t\t| false | isn\'t |\n\t\t\t| N/A | isn\'t |\n\n\t@motivating\n\tScenario: Clicking the CTA Button can trigger an event to be sent and refresh the widget\n\t\tGiven a Task card\n\t\tAnd it is configured to send an "test" event\n\t\tWhen a user views the Task card\n\t\tAnd clicks on the CTA\n\t\tThen a "test" event is sent to SSQT on the users behalf\n\t\tAnd the contents of the widget the card is dislayed within are refreshed\n\n\t@motivating\n\t@ui\n\tScenario Outline: Tasks can be repeatable or one-time only but are one-time only by default\n\t\tGiven a Task Card\n\t\tAnd it has <repeatablePropValue>\n\t\tAnd a user who has already completed the task\n\t\tWhen they view the Task Card\n\t\tThen they see a brand colour checkmark icon beside the card heading\n\t\tAnd the card <mayBe> brand colour\n\t\tAnd the CTA button <mayBe> disabled\n\t\tAnd the CTA button <mayBe> grey\n\t\tExamples:\n\t\t\t| repeatablePropValue | mayBe |\n\t\t\t| true | isn\'t |\n\t\t\t| false | is |\n\t\t\t| N/A | is |\n\n\t@motivating\n\tScenario Outline: Display duration hides or shows a task\n\t\tGiven a Task Card\n\t\tAnd it has a "display-duration" interval\n\t\tWhen a user views the Card on <day>\n\t\tThen card <mayBeHidden>\n\t\tExamples:\n\t\t\t| day | mayBeHidden |\n\t\t\t| a day before the interval | is hidden |\n\t\t\t| a day during the interval | is not hidden |\n\t\t\t| a day after the interval | is hidden |\n\n\t@motivating\n\tScenario: Task Expiries can be configured and disable the CTA after the expiry\n\t\tGiven a Task Card\n\t\tAnd it has an "reward-duration" interval\n\t\tWhen a user views the card on <day>\n\t\tThen the card <mayBeDisabled>\n\t\tAnd it <mayHaveAlert>\n\t\tAnd it <mayHaveExpiryText> on the bottom left hand side of the card\n\t\tExamples:\n\t\t\t| day | mayBeDisabled | mayHaveAlert | mayHaveExpiryText |\n\t\t\t| a day before the expiry interval | is disabled | has alert stating the month, date, year and time the task starts | doesn\'t have expiry text |\n\t\t\t| a day during the expiry interval | isn\'t disabled | doesn\'t have an alert | has the month, date, year and time the task expires |\n\t\t\t| a day after the expiry interval | is disabled | has alert stating the month, date, year and time the task expired | doesn\'t have expiry text |\n\n\t@motivating\n\tScenario Outline: Task Card dates support localization\n\t\tGiven a Task Card\n\t\tAnd it\'s configured with a expiry duration interval\n\t\tWhen a user with <locale> views the task card <atTime>\n\t\tThen they <seeDate> translated for <locale>\n\t\tExamples:\n\t\t\t| atTime | locale | seeDate |\n\t\t\t| before the interval | en | Task Start Date |\n\t\t\t| during the interval | en | Task End Date |\n\t\t\t| after the interval | en | Task Ended Date |\n\t\t\t| before the interval | fr | Task Start Date |\n\t\t\t| during the interval | fr | Task End Date |\n\t\t\t| after the interval | fr | Task Ended Date |\n\n\t@motivating\n\t@ui\n\tScenario Outline: A task completion count is displayed for repeatable tasks\n\t\tGiven a Task Card\n\t\tAnd it is configured for a repeatable task\n\t\tAnd has it has <goalValue>\n\t\tAnd a user with <userGoalProgress>\n\t\tWhen the user views the task card\n\t\tThen they see a repeat icon\n\t\tAnd the <text> in the bottom left hand corner\n\t\tAnd the <text> is brand colour\n\t\tExamples:\n\t\t\t| goalValue | userGoalProgress | text |\n\t\t\t| 2 | 0 | Completed 0 times |\n\t\t\t| 2 | 1 | Completed 0 times |\n\t\t\t| 2 | 2 | Completed 1 times |\n\t\t\t| 2 | 4 | Completed 2 times |\n\n\t@motivating\n\tScenario Outline: The source of a user\'s progress can be a custom field or a program goal\n\t\tGiven a Task Card\n\t\tAnd it is configured <progressSourcePath>\n\t\tWhen a user views the Task card\n\t\tThen the value at <progressSourcePath> is used to benchmark their progress against the "Goal Completion Count"\n\t\tExamples:\n\t\t\t| progressSourcePath |\n\t\t\t| /customFields/activityCount |\n\t\t\t| /customFields/purchaseTotal |\n\t\t\t| /programGoals/count%2FComment-on-Article |\n\t\t\t| /programGoals/count/Referral-Started%2Freferrals |\n\n\t@motivating\n\tScenario Outline: The users completion of a goal is calculated by the Goal Completion Number\n\t\tGiven a Task Card\n\t\tAnd it is configured for <goalValue>\n\t\tAnd a user who has <progressValue>\n\t\tWhen they view the Task Card\n\t\tThen they are shown to have <progressValue> towards <goalValue>\n\t\tWhen their progress grows larger than <goalValue>\n\t\tThen the task is marked as completed\n\t\tExamples:\n\t\t\t| goalValue | progressValue |\n\t\t\t| 1 | 0 |\n\t\t\t| 10 | 9 |\n\t\t\t| 5 | 2 |\n\n\t@motivating\n\tScenario: The Goal Completion Number defaults to 1\n\t\tGiven a Task Card without a configured "goal" value\n\t\tAnd a user who has <progressValue>\n\t\tWhen they view the Task Card\n\t\tThen it <mayBe> marked as completed\n\t\tExamples:\n\t\t\t| progressValue | mayBe |\n\t\t\t| 0 | isn\'t |\n\t\t\t| 1 | is |\n\t\t\t| 2 | is |';var Lc='@author:kutay\n@owner:kutay\nFeature: The progress bar can be shown as a continuous line with progress and end goal. \n\n\t@motivating\n\t@ui\n\tScenario Outline: The progress bar displays a continuous bar with the goal represented by a present\n\t\tGiven a Task Card component\n\t\tAnd the users progress is <progress>\n\t\tAnd the task goal is "500"\n\t\tAnd the task is not repeatable\n\t\tThen I have <progressBar>\n\t\tAnd the <progressBar> shows <progress> with <unit> on the right\n\t\tAnd the circle on the progress bar is brand colour\n\t\tAnd the line behind the circle is brand colour\n\t\tAnd the line infront of the circle is grey\n\t\tAnd the gift icon has <color>\n\t\tAnd the gift icon shows "500" with <unit> below\n\t\tExamples:\n\t\t\t| progress | progressBar | unit | color |\n\t\t\t| 0 | ●――――――――――――――――――🎁 | $ | no |\n\t\t\t| 100 | ―――●―――――――――――――――🎁 | $ | no |\n\t\t\t| 500 | ―――――――――――――――――――🎁 | $ | yes |\n\t\t\t| 650 | ―――――――――――――――――――🎁 | $ | yes |\n\t\t\t| 1200 | ―――――――――――――――――――🎁 | $ | yes |\n\n\t@motivating\n\t@ui\n\tScenario Outline: The progress bar can be displayed with steps instead of a continuous line\n\t\tGiven a Task Card component\n\t\tAnd the user progress is <progress>\n\t\tAnd the goal is "5"\n\t\tAnd steps are enabled\n\t\tThen I have <progressBar>\n\t\tAnd the <progressBar> has incrementing steps up to "5" in increments of 1\n\t\tAnd the steps behind the users progress are brand colour\n\t\tAnd the steps infront of the users progress are grey\n\t\tAnd the gift icon has <color>\n\t\tAnd the gift icon shows "5" below\n\t\tExamples:\n\t\t\t| progress | progressBar | color |\n\t\t\t| 0 | ―――○―――○―――○―――○―――🎁 | no |\n\t\t\t| 1 | ―――●―――○―――○―――○―――🎁 | no |\n\t\t\t| 5 | ―――●―――●―――●―――●―――🎁 | yes |\n\t\t\t| 7 | ―――●―――●―――●―――●―――🎁 | yes |\n\t\t\t| 12 | ―――●―――●―――●―――●―――🎁 | yes |\n\n\t@motivating\n\t@ui\n\tScenario Outline: The continuous progress bar will continue to progress for repeatable rewards\n\t\tGiven a Task Card component\n\t\tAnd the user progress is <progress>\n\t\tAnd the goal is "500"\n\t\tAnd it is repeatable\n\t\tThen I have <progressBar>\n\t\tAnd the <progressBar> shows <progress> with <unit> to the right\n\t\tAnd the first <icon1> is <color1> with <text1> displayed below\n\t\tAnd the second <icon2> is <color2> with <text2> displayed below\n\t\tAnd the third <icon3> is <color3> with <text3> displayed below\n\t\tAnd the circle on the progress bar is brand colour\n\t\tAnd the line behind the circle is brand colour\n\t\tAnd the line infront of the circle is grey\n\t\tExamples:\n\t\t\t| progress | progressBar | unit | icon1 | color1 | text1 | icon2 | color2 | text 2 | icon3 | color3 | text 3 |\n\t\t\t| 250 | ――――●――――🎁―――――――🎁 | $ | NA | NA | NA | gift | greyscale | 500 | gift | greyscale | 1000 |\n\t\t\t| 500 | ―――――――――🎁―――――――🎁 | $ | NA | NA | NA | gift | colorful | 500 | gift | greyscale | 1000 |\n\t\t\t| 750 | ―――――――――🎁―――●―――🎁 | $ | NA | NA | NA | gift | colorful | 500 | gift | greyscale | 1000 |\n\t\t\t| 1000 | 🎁―――――――🎁―――――――🎁 | $ | gift | colorful | 500 | gift | colorful | 1000 | gift | greyscale | 1500 |\n\t\t\t| 1250 | 🎁―――――――🎁―――●―――🎁 | $ | gift | colorful | 500 | gift | colorful | 1000 | gift | greyscale | 1500 |\n\n\t@motivating\n\t@ui\n\tScenario Outline: The stepped progress bar will continue to progress for repeatable rewards\n\t\tGiven a Task Card component\n\t\tAnd the user progress is <progress>\n\t\tAnd the goal is "5"\n\t\tAnd steps are enabled\n\t\tAnd it is repeatable\n\t\tThen I have <progressBar>\n\t\tAnd the <progressBar> has incrementing steps up to "5" in increments of 1\n\t\tAnd the first <icon1> is <color1>\n\t\tAnd the second <icon2> is <color2>\n\t\tAnd the third <icon3> is <color3>\n\t\tAnd the steps behind the users progress are brand colour\n\t\tAnd the steps infront of the users progress are grey\n\t\tExamples:\n\t\t\t| progress | progressBar | icon1 | color1 | icon2 | color2 | icon3 | color3 |\n\t\t\t| 0 | ―――○―○―○―○―🎁―○―○―○―○―🎁 | NA | NA | gift | greyscale | gift | greyscale |\n\t\t\t| 1 | ―――●―○―○―○―🎁―○―○―○―○―🎁 | NA | NA | gift | greyscale | gift | greyscale |\n\t\t\t| 5 | ―――●―●―●―●―🎁―○―○―○―○―🎁 | NA | NA | gift | colorful | gift | greyscale |\n\t\t\t| 7 | ―――●―●―●―●―🎁―●―●―○―○―🎁 | NA | NA | gift | colorful | gift | greyscale |\n\t\t\t| 12 | 🎁―●―●―●―●―🎁―●―●―○―○―🎁 | gift | colorful | gift | colorful | gift | greyscale |';var Fc="\n\n:root{\n --checker-color-1: #ffffff00;\n --checker-color-2: #ffffff00;\n --checker-size: 7px;\n --checker-gradient: linear-gradient(45deg, var(--checker-color-1) 25%, transparent 25%, transparent 75%, var(--checker-color-1) 75%);\n}\n.resizer{\n resize: horizontal;\n border: 2px dashed gray;\n\tmargin: -2px;\n padding: 12px;\n height: fit-content;\n overflow: hidden;\n\twidth: 100%;\n}\n\n.resizer{\n background-color: var(--checker-color-2);\n background-image: var(--checker-gradient), var(--checker-gradient);\n background-position: 0 0, var(--checker-size) var(--checker-size);\n background-size: calc(var(--checker-size) * 2) calc(var(--checker-size) * 2);\n}\n";var Oc=function(e,n){return t("div",{class:"resizer"},n)};var Bc=Nc+Lc;var Gc={title:"Components/Task Card/",parameters:{scenario:Bc}};var jc={display:"inline-flex",gap:"32px"};var Vc={width:"347px",minWidth:"347px",resize:"horizontal",height:"fit-content",overflow:"hidden"};var Mc={callbacks:{sendEvent:function(){return void 0},onClick:function(){return void 0}},content:{rewardAmount:"20",rewardUnit:"SaaSquatch Points",cardTitle:"Complete a survey",description:"Description of action and reward. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut eget quisque commodo leo.",repeatable:false,showProgressBar:false,steps:false,buttonText:"Take survey",buttonLink:"https://example.com/",openNewTab:false,rewardDuration:null,completedText:"Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}",expiryMessage:"Ends {endDate}",startsOnMessage:"Starts {startDate}",endedMessage:"Ended {endDate}",finite:0,goal:1,locale:"en"},states:{progress:0,loading:false,loadingEvent:false}};var Wc={callbacks:{sendEvent:function(){return void 0},onClick:function(){return void 0}},content:{rewardAmount:"40",rewardUnit:"SaaSquatch Points",cardTitle:"Comment on 5 articles",description:"Description of action and reward. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut eget quisque commodo leo.",repeatable:false,showProgressBar:true,steps:true,buttonText:"Take survey",buttonLink:"https://example.com/",openNewTab:false,completedText:"Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}",rewardDuration:null,expiryMessage:"Ends {endDate}",startsOnMessage:"Starts {startDate}",endedMessage:"Ended {endDate}",finite:0,goal:5,locale:"en"},states:{progress:1,loading:false,loadingEvent:false}};var Uc={callbacks:{sendEvent:function(){return void 0},onClick:function(){return void 0}},content:{rewardAmount:"150",rewardUnit:"SaaSquatch Points",cardTitle:"Spend $500 at our Store",description:"Description of action and reward. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut eget quisque commodo leo.",repeatable:false,completedText:"Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}",showProgressBar:true,steps:false,progressBarUnit:"$",buttonText:"Take survey",buttonLink:"https://example.com/",openNewTab:false,rewardDuration:null,expiryMessage:"Ends {endDate}",startsOnMessage:"Starts {startDate}",endedMessage:"Ended {endDate}",finite:0,goal:500,locale:"en"},states:{progress:100,loading:false,loadingEvent:false}};var zc=function(){var e={rewardDuration:"2021-11-30T08:00:00.000Z/2021-12-01T08:00:00.000Z"};var n=__assign(__assign({},e),{repeatable:true});return t("div",{style:jc},t(Oc,null,t("h4",null,"Not Repeatable"),t(z,Object.assign({},Mc,{content:__assign(__assign({},Mc.content),{description:""}),states:__assign(__assign({},Mc.states),{progress:0})})),t("h5",null),t(z,Object.assign({},Wc,{content:__assign(__assign({},Wc.content),{description:""}),states:__assign(__assign({},Wc.states),{progress:0})})),t("h5",null),t(z,Object.assign({},Uc,{content:__assign(__assign({},Uc.content),{description:""}),states:__assign(__assign({},Uc.states),{progress:230})}))),t(Oc,null,t("h4",null,"Repeatable"),t(z,Object.assign({},Mc,{content:__assign(__assign({},Mc.content),{repeatable:true}),states:__assign(__assign({},Mc.states),{progress:2})})),t("h5",null),t(z,Object.assign({},Wc,{content:__assign(__assign({},Wc.content),{repeatable:true}),states:__assign(__assign({},Wc.states),{progress:7})})),t("h5",null),t(z,Object.assign({},Uc,{content:__assign(__assign({},Uc.content),{repeatable:true}),states:__assign(__assign({},Uc.states),{progress:650})}))),t(Oc,null,t("h4",null,"Complete"),t(z,Object.assign({},Mc,{states:__assign(__assign({},Mc.states),{progress:1})})),t("h5",null),t(z,Object.assign({},Wc,{states:__assign(__assign({},Wc.states),{progress:5})})),t("h5",null),t(z,Object.assign({},Uc,{states:__assign(__assign({},Uc.states),{progress:500})}))),t(Oc,null,t("h4",null,"Unavailable"),t(z,Object.assign({},Mc,{states:__assign(__assign({},Mc.states),{progress:0})},n)),t("h5",null),t(z,Object.assign({},Wc,{states:__assign(__assign({},Wc.states),{progress:3})},n)),t("h5",null),t(z,Object.assign({},Uc,{states:__assign(__assign({},Uc.states),{progress:250})},n))))};var Hc=function(){return t("div",{style:jc},t("div",{style:Vc},t("h4",null,"One Action"),t(z,Object.assign({},Mc,{states:__assign(__assign({},Mc.states),{progress:0})})),t("h5",null),t(z,Object.assign({},Mc,{states:__assign(__assign({},Mc.states),{progress:1})})),t("h5",null)),t("div",{style:Vc},t("h4",null,"A Couple Actions"),t(z,Object.assign({},Wc,{states:__assign(__assign({},Wc.states),{progress:1})})),t("h5",null),t(z,Object.assign({},Wc,{states:__assign(__assign({},Wc.states),{progress:5})})),t("h5",null)),t("div",{style:Vc},t("h4",null,"Many Actions"),t(z,Object.assign({},Uc,{states:__assign(__assign({},Uc.states),{progress:230})})),t("h5",null),t(z,Object.assign({},Uc,{states:__assign(__assign({},Uc.states),{progress:500})})),t("h5",null)))};var Xc=function(){return t("div",{style:jc},t("div",{style:Vc},t("h4",null,"One Action"),t(z,Object.assign({},Mc,{content:__assign(__assign({},Mc.content),{repeatable:true}),states:__assign(__assign({},Mc.states),{progress:0})})),t("h5",null),t(z,Object.assign({},Mc,{content:__assign(__assign({},Mc.content),{repeatable:true}),states:__assign(__assign({},Mc.states),{progress:1})})),t("h5",null)),t("div",{style:Vc},t("h4",null,"A Couple Actions"),t(z,Object.assign({},Wc,{content:__assign(__assign({},Wc.content),{repeatable:true}),states:__assign(__assign({},Wc.states),{progress:0})})),t("h5",null),t(z,Object.assign({},Wc,{content:__assign(__assign({},Wc.content),{repeatable:true}),states:__assign(__assign({},Wc.states),{progress:5})})),t("h5",null),t(z,Object.assign({},Wc,{content:__assign(__assign({},Wc.content),{repeatable:true}),states:__assign(__assign({},Wc.states),{progress:7})})),t("h5",null),t(z,Object.assign({},Wc,{content:__assign(__assign({},Wc.content),{repeatable:true}),states:__assign(__assign({},Wc.states),{progress:10})})),t("h5",null)),t("div",{style:Vc},t("h4",null,"Many Actions"),t(z,Object.assign({},Uc,{content:__assign(__assign({},Uc.content),{repeatable:true}),states:__assign(__assign({},Uc.states),{progress:0})})),t("h5",null),t(z,Object.assign({},Uc,{content:__assign(__assign({},Uc.content),{repeatable:true}),states:__assign(__assign({},Uc.states),{progress:500})})),t("h5",null),t(z,Object.assign({},Uc,{content:__assign(__assign({},Uc.content),{repeatable:true}),states:__assign(__assign({},Uc.states),{progress:650})})),t("h5",null),t(z,Object.assign({},Uc,{content:__assign(__assign({},Uc.content),{repeatable:true}),states:__assign(__assign({},Uc.states),{progress:1e3})})),t("h5",null)))};var Jc=function(){return t("div",{style:jc},t("div",{style:Vc},t("h4",null,"One Action"),t(z,Object.assign({},Mc,{content:__assign(__assign({},Mc.content),{repeatable:true,finite:2}),states:__assign(__assign({},Mc.states),{progress:0})})),t("h5",null),t(z,Object.assign({},Mc,{content:__assign(__assign({},Mc.content),{repeatable:true,finite:2}),states:__assign(__assign({},Mc.states),{progress:1})})),t("h5",null),t(z,Object.assign({},Mc,{content:__assign(__assign({},Mc.content),{repeatable:true,finite:2}),states:__assign(__assign({},Mc.states),{progress:2})})),t("h5",null)),t("div",{style:Vc},t("h4",null,"A Couple Actions"),t(z,Object.assign({},Wc,{content:__assign(__assign({},Wc.content),{repeatable:true,finite:2}),states:__assign(__assign({},Wc.states),{progress:2})})),t("h5",null),t(z,Object.assign({},Wc,{content:__assign(__assign({},Wc.content),{repeatable:true,finite:2}),states:__assign(__assign({},Wc.states),{progress:5})})),t("h5",null),t(z,Object.assign({},Wc,{content:__assign(__assign({},Wc.content),{repeatable:true,finite:2}),states:__assign(__assign({},Wc.states),{progress:10})})),t("h5",null),t(z,Object.assign({},Wc,{content:__assign(__assign({},Wc.content),{repeatable:true,finite:3}),states:__assign(__assign({},Wc.states),{progress:12})})),t("h5",null),t(z,Object.assign({},Wc,{content:__assign(__assign({},Wc.content),{repeatable:true,finite:3}),states:__assign(__assign({},Wc.states),{progress:15})})),t("h5",null)),t("div",{style:Vc},t("h4",null,"Many Actions"),t(z,Object.assign({},Uc,{content:__assign(__assign({},Uc.content),{repeatable:true,finite:2}),states:__assign(__assign({},Uc.states),{progress:200})})),t("h5",null),t(z,Object.assign({},Uc,{content:__assign(__assign({},Uc.content),{repeatable:true,finite:3}),states:__assign(__assign({},Uc.states),{progress:500})})),t("h5",null),t(z,Object.assign({},Uc,{content:__assign(__assign({},Uc.content),{repeatable:true,finite:2}),states:__assign(__assign({},Uc.states),{progress:1e3})})),t("h5",null),t(z,Object.assign({},Uc,{content:__assign(__assign({},Uc.content),{repeatable:true,finite:3}),states:__assign(__assign({},Uc.states),{progress:1200})})),t("h5",null),t(z,Object.assign({},Uc,{content:__assign(__assign({},Uc.content),{repeatable:true,finite:3}),states:__assign(__assign({},Uc.states),{progress:1500})})),t("h5",null)))};var $c=function(){var e={rewardDuration:v.DateTime.now().minus({days:1}).toISO()+"/"+v.DateTime.now().plus({days:1}).toISO()};var n=__assign(__assign({},e),{repeatable:true});return t("div",{style:jc},t("div",{style:Vc},t("h4",null,"One Action"),t(z,Object.assign({},Mc,{content:__assign(__assign({},Mc.content),e)})),t("h5",null),t(z,Object.assign({},Mc,{content:__assign(__assign({},Mc.content),n)})),t("h5",null),t(z,Object.assign({},Mc,{content:__assign(__assign({},Mc.content),n),states:__assign(__assign({},Mc.states),{progress:1})})),t("h5",null)),t("div",{style:Vc},t("h4",null,"A Couple Actions"),t(z,Object.assign({},Mc,{content:__assign(__assign({},Wc.content),e)})),t("h5",null),t(z,Object.assign({},Mc,{content:__assign(__assign({},Wc.content),n)})),t("h5",null),t(z,Object.assign({},Mc,{content:__assign(__assign({},Wc.content),n),states:__assign(__assign({},Wc.states),{progress:5})})),t("h5",null)),t("div",{style:Vc},t("h4",null,"Many Actions"),t(z,Object.assign({},Mc,{content:__assign(__assign({},Uc.content),e)})),t("h5",null),t(z,Object.assign({},Mc,{content:__assign(__assign({},Uc.content),n)})),t("h5",null),t(z,Object.assign({},Mc,{content:__assign(__assign({},Uc.content),n),states:__assign(__assign({},Uc.states),{progress:1e3})})),t("h5",null)))};var Kc=function(){var e={states:{loading:true,progress:0,loadingEvent:false}};return t("div",{style:jc},t("div",{style:Vc},t("h4",null,"One Action"),t(z,Object.assign({},Mc,e))," ",t("h5",null),t(z,Object.assign({},Mc,e))," ",t("h5",null)),t("div",{style:Vc},t("h4",null,"A Couple Actions"),t(z,Object.assign({},Wc,e))," ",t("h5",null),t(z,Object.assign({},Wc,e))," ",t("h5",null)),t("div",{style:Vc},t("h4",null,"Many Actions"),t(z,Object.assign({},Uc,e))," ",t("h5",null),t(z,Object.assign({},Uc,e))," ",t("h5",null)))};var Yc=function(){var e={rewardDuration:v.DateTime.now().plus({days:1}).toISO()+"/"+v.DateTime.now().plus({days:2}).toISO()};var n=__assign(__assign({},e),{repeatable:true});return t("div",{style:jc},t("div",{style:Vc},t("h4",null,"One Action"),t(z,Object.assign({},Mc,{states:__assign(__assign({},Mc.states),{progress:0}),content:__assign(__assign({},Mc.content),e)})),t("h5",null),t(z,Object.assign({},Mc,{states:__assign(__assign({},Mc.states),{progress:1}),content:__assign(__assign({},Mc.content),e)})),t("h5",null),t(z,Object.assign({},Mc,{states:__assign(__assign({},Mc.states),{progress:0}),content:__assign(__assign({},Mc.content),n)})),t("h5",null),t(z,Object.assign({},Mc,{states:__assign(__assign({},Mc.states),{progress:1}),content:__assign(__assign({},Mc.content),n)})),t("h5",null)),t("div",{style:Vc},t("h4",null,"A Couple Actions"),t(z,Object.assign({},Wc,{states:__assign(__assign({},Wc.states),{progress:1}),content:__assign(__assign({},Wc.content),e)})),t("h5",null),t(z,Object.assign({},Wc,{states:__assign(__assign({},Wc.states),{progress:1}),content:__assign(__assign({},Wc.content),e)})),t("h5",null),t(z,Object.assign({},Wc,{states:__assign(__assign({},Wc.states),{progress:1}),content:__assign(__assign({},Wc.content),n)})),t("h5",null),t(z,Object.assign({},Wc,{states:__assign(__assign({},Wc.states),{progress:1}),content:__assign(__assign({},Wc.content),n)})),t("h5",null)),t("div",{style:Vc},t("h4",null,"Many Actions"),t(z,Object.assign({},Uc,{states:__assign(__assign({},Uc.states),{progress:100}),content:__assign(__assign({},Uc.content),e)})),t("h5",null),t(z,Object.assign({},Uc,{states:__assign(__assign({},Uc.states),{progress:500}),content:__assign(__assign({},Uc.content),e)})),t("h5",null),t(z,Object.assign({},Uc,{states:__assign(__assign({},Uc.states),{progress:100}),content:__assign(__assign({},Uc.content),n)})),t("h5",null),t(z,Object.assign({},Uc,{states:__assign(__assign({},Uc.states),{progress:500}),content:__assign(__assign({},Uc.content),n)})),t("h5",null)))};var Zc=function(){var e={rewardDuration:v.DateTime.now().minus({days:2}).toISO()+"/"+v.DateTime.now().minus({days:1}).toISO()};var n=__assign(__assign({},e),{repeatable:true});return t("div",{style:jc},t("div",{style:Vc},t("h4",null,"One Action"),t(z,Object.assign({},Mc,{states:__assign(__assign({},Mc.states),{progress:0}),content:__assign(__assign({},Mc.content),e)})),t("h5",null),t(z,Object.assign({},Mc,{states:__assign(__assign({},Mc.states),{progress:1}),content:__assign(__assign({},Mc.content),e)})),t("h5",null),t(z,Object.assign({},Mc,{states:__assign(__assign({},Mc.states),{progress:0}),content:__assign(__assign({},Mc.content),n)})),t("h5",null),t(z,Object.assign({},Mc,{states:__assign(__assign({},Mc.states),{progress:1}),content:__assign(__assign({},Mc.content),n)})),t("h5",null)),t("div",{style:Vc},t("h4",null,"A Couple Actions"),t(z,Object.assign({},Wc,{states:__assign(__assign({},Wc.states),{progress:1}),content:__assign(__assign({},Wc.content),e)})),t("h5",null),t(z,Object.assign({},Wc,{states:__assign(__assign({},Wc.states),{progress:1}),content:__assign(__assign({},Wc.content),e)})),t("h5",null),t(z,Object.assign({},Wc,{states:__assign(__assign({},Wc.states),{progress:1}),content:__assign(__assign({},Wc.content),n)})),t("h5",null),t(z,Object.assign({},Wc,{states:__assign(__assign({},Wc.states),{progress:1}),content:__assign(__assign({},Wc.content),n)})),t("h5",null)),t("div",{style:Vc},t("h4",null,"Many Actions"),t(z,Object.assign({},Uc,{states:__assign(__assign({},Uc.states),{progress:100}),content:__assign(__assign({},Uc.content),e)})),t("h5",null),t(z,Object.assign({},Uc,{states:__assign(__assign({},Uc.states),{progress:500}),content:__assign(__assign({},Uc.content),e)})),t("h5",null),t(z,Object.assign({},Uc,{states:__assign(__assign({},Uc.states),{progress:100}),content:__assign(__assign({},Uc.content),n)})),t("h5",null),t(z,Object.assign({},Uc,{states:__assign(__assign({},Uc.states),{progress:500}),content:__assign(__assign({},Uc.content),n)})),t("h5",null)))};var Qc=function(){var e={progress:0,goal:500,progressBarUnit:"$"};return t("div",null,t(Pc,{matrix:{progress:[0,100,500,650,1200]},props:e,Component:H}))};var em=function(){var e={progress:0,steps:true,goal:5};return t("div",null,t(Pc,{matrix:{progress:[0,1,5,7,12]},props:e,Component:H}))};var tm=function(){var e={progress:0,goal:500,progressBarUnit:"$",repeatable:true};return t("div",null,t(Pc,{matrix:{progress:[0,250,500,750,1e3,1250]},props:e,Component:H}))};var nm=function(){var e={progress:0,steps:true,goal:5,repeatable:true};return t("div",null,t(Pc,{matrix:{progress:[0,1,5,7,12]},props:e,Component:H}))};var am=function(){var e={progress:0,goal:500,progressBarUnit:"$",repeatable:true,finite:2};return t("div",null,t(Pc,{matrix:{progress:[0,250,500,750,1e3,1250]},props:e,Component:H}))};var rm=function(){var e={progress:0,steps:true,goal:5,repeatable:true,finite:2};return t("div",null,t(Pc,{matrix:{progress:[0,1,5,7,10,12]},props:e,Component:H}))};var sm=Object.freeze({__proto__:null,default:Gc,TaskCard:zc,TaskCardNotRepeatable:Hc,TaskCardRepeatable:Xc,TaskCardRepeatableFinite:Jc,TaskCardEndDate:$c,TaskCardLoading:Kc,TaskCardNotStarted:Yc,TaskCardEnded:Zc,ProgressBar:Qc,ProgressBarSteps:em,ProgressBarRepeatable:tm,ProgressBarStepsRepeatable:nm,ProgressBarFinite:am,ProgressBarStepsFinite:rm});var im='<sqm-portal-frame>\n <a slot="header" href="/">\n <sqm-text style="height: 60px">\n <img\n style="height: 60px"\n src="https://res.cloudinary.com/saasquatch/image/upload/v1634255445/squatch-assets/Copy_of_saasquatch-logo-tree-large-horizontal.png"\n />\n </sqm-text>\n </a>\n <sqb-program-section program-id="referral-program">\n <sqm-router>\n <template\n path="/:path(\\bregister\\b|\\bemailVerification\\b|\\blogin\\b|\\bverifyEmail\\b|\\bforgotPassword\\b|\\bresetPassword\\b|\\blogout\\b)"\n >\n <sqm-hero\n background="https://images.unsplash.com/photo-1599676821464-3555954838dc?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1939&q=80"\n >\n <sqm-router>\n <template path="/register">\n <sqm-portal-register>\n <sqm-name-fields slot="formData"></sqm-name-fields>\n </sqm-portal-register>\n </template>\n\n <template path="/emailVerification">\n <sqm-portal-protected-route\n redirect-to="/login"\n ></sqm-portal-protected-route>\n <sqm-portal-email-verification></sqm-portal-email-verification>\n </template>\n\n <template path="/login">\n <sqm-portal-login></sqm-portal-login>\n </template>\n\n <template path="/verifyEmail">\n <sqm-portal-verify-email></sqm-portal-verify-email>\n </template>\n\n <template path="/forgotPassword">\n <sqm-portal-forgot-password\n email-label="Business Email"\n ></sqm-portal-forgot-password>\n </template>\n\n <template path="/resetPassword">\n <sqm-portal-reset-password\n confirm-password="true"\n ></sqm-portal-reset-password>\n </template>\n <template path="/logout">\n <sqm-portal-logout next-page="/login"></sqm-portal-logout>\n </template>\n </sqm-router>\n </sqm-hero>\n </template>\n </sqm-router>\n <sqm-router>\n <template path="/:path(\\bactivity\\b|\\beditProfile\\b)?">\n <sqm-divided-layout\n direction="row"\n style="\n border-top: 1px solid #eaeaea;\n border-bottom: 1px solid #eaeaea;\n "\n >\n <sqm-navigation-sidebar>\n <sqm-navigation-sidebar-item\n path="/"\n icon="house"\n label="Dashboard"\n ></sqm-navigation-sidebar-item>\n <sqm-navigation-sidebar-item\n path="/activity"\n icon="bar-chart"\n label="Activity"\n ></sqm-navigation-sidebar-item>\n <sqm-navigation-sidebar-item\n path="/editProfile"\n icon="person"\n label="Edit Profile"\n ></sqm-navigation-sidebar-item>\n <sqm-navigation-sidebar-item\n path="/logout"\n icon="box-arrow-right"\n label="Logout"\n ></sqm-navigation-sidebar-item>\n </sqm-navigation-sidebar>\n <sqm-divided-layout direction="column">\n <sqm-router>\n <template path="/">\n <sqm-portal-protected-route\n require-email-verification="true"\n redirect-to="/login"\n redirect-to-unverified="/emailVerification"\n ></sqm-portal-protected-route>\n <sqb-widget\n widget-type="p/referral-program/w/referrerWidget"\n track-loads="true"\n ></sqb-widget>\n </template>\n <template path="/editProfile">\n <sqm-portal-protected-route\n require-email-verification="true"\n redirect-to="/login"\n redirect-to-unverified="/emailVerification"\n ></sqm-portal-protected-route>\n <sqm-portal-container direction="column" gap="xxx-large">\n <sqm-portal-profile></sqm-portal-profile> </sqm-portal-container\n ><sqm-portal-container direction="column" gap="xxx-large">\n <sqm-portal-change-password></sqm-portal-change-password>\n </sqm-portal-container>\n </template>\n\n <template path="/activity">\n <sqm-portal-protected-route\n require-email-verification="true"\n redirect-to="/login"\n redirect-to-unverified="/emailVerification"\n ></sqm-portal-protected-route>\n <sqm-portal-container\n direction="column"\n padding="xxx-large"\n gap="xxx-large"\n >\n <sqm-text> <h1>Activity</h1></sqm-text>\n <sqm-stat-container space="xxxx-large"\n ><sqm-big-stat\n flex-reverse="true"\n alignment="left"\n stat-type="/referralsCount"\n ><sqm-text><p>Referrals</p></sqm-text></sqm-big-stat\n >\n <sqm-big-stat\n flex-reverse="true"\n alignment="left"\n stat-type="/rewardsCountFiltered/AVAILABLE"\n ><sqm-text><p>Rewards Earned</p></sqm-text></sqm-big-stat\n >\n <sqm-big-stat\n flex-reverse="true"\n alignment="left"\n stat-type="/rewardBalance/CREDIT/CENTS"\n ><sqm-text><p>Reward Balance</p></sqm-text></sqm-big-stat\n >\n </sqm-stat-container>\n <sqm-referral-table>\n <sqm-referral-table-user-column></sqm-referral-table-user-column>\n <sqm-referral-table-rewards-column></sqm-referral-table-rewards-column>\n <sqm-referral-table-status-column></sqm-referral-table-status-column>\n <sqm-referral-table-date-column\n column-title="Referred"\n date-shown="dateReferralStarted"\n ></sqm-referral-table-date-column> </sqm-referral-table\n ></sqm-portal-container>\n </template>\n </sqm-router>\n </sqm-divided-layout>\n </sqm-divided-layout>\n </template>\n </sqm-router>\n </sqb-program-section>\n <sqm-portal-footer\n slot="footer"\n support-email="support@example.com"\n terms-link="https://example.com"\n faq-link="https://example.com"\n terms-text="Terms And Conditions"\n faq-text="FAQ"\n show-powered-by="true"\n ></sqm-portal-footer>\n</sqm-portal-frame>\n';var om='<sqm-portal-frame>\n <a slot="header" href="/">\n <sqm-text style="height: 60px">\n <img\n style="height: 60px"\n src="https://res.cloudinary.com/saasquatch/image/upload/v1634255445/squatch-assets/Copy_of_saasquatch-logo-tree-large-horizontal.png"\n />\n </sqm-text>\n </a>\n <sqb-program-section program-id="referral-program">\n <sqm-router>\n <template\n path="/:path(\\bregister\\b|\\bemailVerification\\b|\\blogin\\b|\\bverifyEmail\\b|\\bforgotPassword\\b|\\bresetPassword\\b|\\blogout\\b)"\n >\n <sqm-hero\n background="https://images.unsplash.com/photo-1599676821464-3555954838dc?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1939&q=80"\n >\n <sqm-router>\n <template path="/register">\n <sqm-portal-register>\n <sqm-name-fields slot="formData"></sqm-name-fields>\n </sqm-portal-register>\n </template>\n\n <template path="/emailVerification">\n <sqm-portal-protected-route\n redirect-to="/login"\n ></sqm-portal-protected-route>\n <sqm-portal-email-verification></sqm-portal-email-verification>\n </template>\n\n <template path="/login">\n <sqm-portal-login></sqm-portal-login>\n </template>\n\n <template path="/verifyEmail">\n <sqm-portal-verify-email></sqm-portal-verify-email>\n </template>\n\n <template path="/forgotPassword">\n <sqm-portal-forgot-password\n email-label="Business Email"\n ></sqm-portal-forgot-password>\n </template>\n\n <template path="/resetPassword">\n <sqm-portal-reset-password\n confirm-password="true"\n ></sqm-portal-reset-password>\n </template>\n <template path="/logout">\n <sqm-portal-logout next-page="/login"></sqm-portal-logout>\n </template>\n </sqm-router>\n </sqm-hero>\n </template>\n </sqm-router>\n <sqm-router>\n <template path="/:path(\\bactivity\\b|\\beditProfile\\b|\\brefer\\b)?">\n <sqm-divided-layout\n direction="row"\n style="\n border-top: 1px solid #eaeaea;\n border-bottom: 1px solid #eaeaea;\n "\n >\n <sqm-navigation-sidebar>\n <sqm-navigation-sidebar-item\n path="/"\n icon="house"\n label="Dashboard"\n ></sqm-navigation-sidebar-item>\n <sqm-navigation-sidebar-item\n path="/refer"\n icon="inbox"\n label="Submit A Lead"\n ></sqm-navigation-sidebar-item>\n <sqm-navigation-sidebar-item\n path="/activity"\n icon="bar-chart"\n label="Activity"\n ></sqm-navigation-sidebar-item>\n <sqm-navigation-sidebar-item\n path="/editProfile"\n icon="person"\n label="Edit Profile"\n ></sqm-navigation-sidebar-item>\n <sqm-navigation-sidebar-item\n path="/logout"\n icon="box-arrow-right"\n label="Logout"\n ></sqm-navigation-sidebar-item>\n </sqm-navigation-sidebar>\n <sqm-divided-layout direction="column">\n <sqm-router>\n <template path="/">\n <sqm-portal-protected-route\n require-email-verification="true"\n redirect-to="/login"\n redirect-to-unverified="/emailVerification"\n ></sqm-portal-protected-route>\n <sqb-widget\n widget-type="p/referral-program/w/referrerWidget"\n track-loads="true"\n ></sqb-widget>\n </template>\n <template path="/editProfile">\n <sqm-portal-protected-route\n require-email-verification="true"\n redirect-to="/login"\n redirect-to-unverified="/emailVerification"\n ></sqm-portal-protected-route>\n <sqm-portal-container direction="column" gap="xxx-large">\n <sqm-portal-profile></sqm-portal-profile> </sqm-portal-container\n ><sqm-portal-container direction="column" gap="xxx-large">\n <sqm-portal-change-password></sqm-portal-change-password>\n </sqm-portal-container>\n </template>\n <template path="/refer">\n <sqm-portal-protected-route\n require-email-verification="true"\n redirect-to="/login"\n redirect-to-unverified="/emailVerification"\n ></sqm-portal-protected-route>\n <sqm-referral-iframe></sqm-referral-iframe>\n </template>\n <template path="/activity">\n <sqm-portal-protected-route\n require-email-verification="true"\n redirect-to="/login"\n redirect-to-unverified="/emailVerification"\n ></sqm-portal-protected-route>\n <sqm-portal-container\n direction="column"\n padding="xxx-large"\n gap="xxx-large"\n >\n <sqm-text> <h1>Activity</h1></sqm-text>\n <sqm-stat-container space="xxxx-large"\n ><sqm-big-stat\n flex-reverse="true"\n alignment="left"\n stat-type="/referralsCount"\n ><sqm-text><p>Referrals</p></sqm-text></sqm-big-stat\n >\n <sqm-big-stat\n flex-reverse="true"\n alignment="left"\n stat-type="/rewardsCountFiltered/AVAILABLE"\n ><sqm-text><p>Rewards Earned</p></sqm-text></sqm-big-stat\n >\n <sqm-big-stat\n flex-reverse="true"\n alignment="left"\n stat-type="/rewardBalance/CREDIT/CENTS"\n ><sqm-text><p>Reward Balance</p></sqm-text></sqm-big-stat\n >\n </sqm-stat-container>\n <sqm-referral-table>\n <sqm-referral-table-user-column></sqm-referral-table-user-column>\n <sqm-referral-table-rewards-column></sqm-referral-table-rewards-column>\n <sqm-referral-table-status-column></sqm-referral-table-status-column>\n <sqm-referral-table-date-column\n column-title="Referred"\n date-shown="dateReferralStarted"\n ></sqm-referral-table-date-column> </sqm-referral-table\n ></sqm-portal-container>\n </template>\n </sqm-router>\n </sqm-divided-layout>\n </sqm-divided-layout>\n </template>\n </sqm-router>\n </sqb-program-section>\n <sqm-portal-footer\n slot="footer"\n support-email="support@example.com"\n terms-link="https://example.com"\n faq-link="https://example.com"\n terms-text="Terms And Conditions"\n faq-text="FAQ"\n show-powered-by="true"\n ></sqm-portal-footer>\n</sqm-portal-frame>\n';var lm='<sqm-portal-frame>\n <a slot="header" href="/">\n <sqm-text style="height: 60px">\n <img\n style="height: 60px"\n src="https://res.cloudinary.com/saasquatch/image/upload/v1634255445/squatch-assets/Copy_of_saasquatch-logo-tree-large-horizontal.png"\n />\n </sqm-text>\n </a>\n <sqb-program-section program-id="referral-program">\n <sqm-router>\n <template\n path="/:path(\\bregister\\b|\\bemailVerification\\b|\\blogin\\b|\\bverifyEmail\\b|\\bforgotPassword\\b|\\bresetPassword\\b|\\blogout\\b)"\n >\n <sqm-hero\n background="https://images.unsplash.com/photo-1599676821464-3555954838dc?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1939&q=80"\n >\n <sqm-router>\n <template path="/register">\n <sqm-portal-register>\n <sqm-name-fields slot="formData"></sqm-name-fields>\n </sqm-portal-register>\n </template>\n\n <template path="/emailVerification">\n <sqm-portal-protected-route\n redirect-to="/login"\n ></sqm-portal-protected-route>\n <sqm-portal-email-verification></sqm-portal-email-verification>\n </template>\n\n <template path="/login">\n <sqm-portal-login></sqm-portal-login>\n </template>\n\n <template path="/verifyEmail">\n <sqm-portal-verify-email></sqm-portal-verify-email>\n </template>\n\n <template path="/forgotPassword">\n <sqm-portal-forgot-password\n email-label="Business Email"\n ></sqm-portal-forgot-password>\n </template>\n\n <template path="/resetPassword">\n <sqm-portal-reset-password\n confirm-password="true"\n ></sqm-portal-reset-password>\n </template>\n <template path="/logout">\n <sqm-portal-logout next-page="/login"></sqm-portal-logout>\n </template>\n </sqm-router>\n </sqm-hero>\n </template>\n </sqm-router>\n <sqm-router>\n <template path="/:path(\\bactivity\\b|\\beditProfile\\b|\\brefer\\b)?">\n <sqm-divided-layout\n direction="row"\n style="\n border-top: 1px solid #eaeaea;\n border-bottom: 1px solid #eaeaea;\n "\n >\n <sqm-navigation-sidebar>\n <sqm-navigation-sidebar-item\n path="/"\n icon="house"\n label="Dashboard"\n ></sqm-navigation-sidebar-item>\n <sqm-navigation-sidebar-item\n path="/refer"\n icon="inbox"\n label="Submit A Lead"\n ></sqm-navigation-sidebar-item>\n <sqm-navigation-sidebar-item\n path="/activity"\n icon="bar-chart"\n label="Activity"\n ></sqm-navigation-sidebar-item>\n <sqm-navigation-sidebar-item\n path="/editProfile"\n icon="person"\n label="Edit Profile"\n ></sqm-navigation-sidebar-item>\n <sqm-navigation-sidebar-item\n path="/logout"\n icon="box-arrow-right"\n label="Logout"\n ></sqm-navigation-sidebar-item>\n </sqm-navigation-sidebar>\n <sqm-divided-layout direction="column">\n <sqm-router>\n <template path="/">\n <sqm-portal-protected-route\n require-email-verification="true"\n redirect-to="/login"\n redirect-to-unverified="/emailVerification"\n ></sqm-portal-protected-route>\n <sqm-portal-container\n direction="column"\n padding="xxx-large"\n gap="xxx-large"\n ><sqm-titled-section label-margin="xx-small"\n ><sqm-text slot="label"> <p>Welcome back,</p> </sqm-text\n ><sqm-text slot="content">\n <h1>\n <sqm-user-name\n fallback="Anonymous User"\n ></sqm-user-name>\n </h1> </sqm-text\n ></sqm-titled-section>\n <sqm-stat-container space="xxxx-large"\n ><sqm-big-stat\n flex-reverse="true"\n alignment="left"\n stat-type="/referralsCount"\n ><sqm-text><p>Referrals</p></sqm-text></sqm-big-stat\n >\n <sqm-big-stat\n flex-reverse="true"\n alignment="left"\n stat-type="/rewardsCountFiltered/AVAILABLE"\n ><sqm-text><p>Rewards Earned</p></sqm-text></sqm-big-stat\n >\n <sqm-big-stat\n flex-reverse="true"\n alignment="left"\n stat-type="/rewardBalance/CREDIT/CENTS"\n ><sqm-text><p>Reward Balance</p></sqm-text></sqm-big-stat\n >\n </sqm-stat-container> </sqm-portal-container\n ><sqm-portal-container\n direction="column"\n padding="xxx-large"\n gap="xxx-large"\n >\n <sqm-titled-section padding="none" label-margin="x-large"\n ><sqm-text slot="label">\n <h2>Partner and Profit</h2> </sqm-text\n ><sqm-text slot="content">\n <p>\n Get rewarded for referring potential customers to\n SaaSquatch. Earn commission for each successful lead you\n send our way\n </p>\n </sqm-text></sqm-titled-section\n >\n <sqm-titled-section label-margin="small" padding="none"\n ><sqm-text slot="label">\n <h3>Share your referral link</h3> </sqm-text\n ><sqm-share-link slot="content"></sqm-share-link\n ></sqm-titled-section>\n <sqm-titled-section label-margin="small" padding="none">\n <sqm-text slot="label">\n <h3>Share your referral code</h3> </sqm-text\n ><sqm-share-code slot="content"></sqm-share-code>\n </sqm-titled-section>\n <sqm-titled-section label-margin="small" padding="none"\n ><sqm-text slot="label">\n <h3>Share via social media</h3> </sqm-text\n ><sqm-portal-container\n slot="content"\n direction="row"\n padding="none"\n gap="xxx-large"\n min-width="160px"\n ><sqm-share-button\n icon="envelope"\n medium="email"\n size="medium"\n pill="true"\n >Email a friend</sqm-share-button\n ><sqm-share-button\n medium="twitter"\n size="medium"\n pill="true"\n >Tweet about us</sqm-share-button\n ><sqm-share-button\n medium="facebook"\n size="medium"\n pill="true"\n >Share on Facebook</sqm-share-button\n ></sqm-portal-container\n ></sqm-titled-section\n ></sqm-portal-container\n >\n </template>\n <template path="/editProfile">\n <sqm-portal-protected-route\n require-email-verification="true"\n redirect-to="/login"\n redirect-to-unverified="/emailVerification"\n ></sqm-portal-protected-route>\n <sqm-portal-container direction="column" gap="xxx-large">\n <sqm-portal-profile></sqm-portal-profile> </sqm-portal-container\n ><sqm-portal-container direction="column" gap="xxx-large">\n <sqm-portal-change-password></sqm-portal-change-password>\n </sqm-portal-container>\n </template>\n <template path="/refer">\n <sqm-portal-protected-route\n require-email-verification="true"\n redirect-to="/login"\n redirect-to-unverified="/emailVerification"\n ></sqm-portal-protected-route>\n <sqm-referral-iframe></sqm-referral-iframe>\n </template>\n <template path="/activity">\n <sqm-portal-protected-route\n require-email-verification="true"\n redirect-to="/login"\n redirect-to-unverified="/emailVerification"\n ></sqm-portal-protected-route>\n <sqm-portal-container\n direction="column"\n padding="xxx-large"\n gap="xxx-large"\n >\n <sqm-text> <h1>Activity</h1></sqm-text>\n <sqm-stat-container space="xxxx-large"\n ><sqm-big-stat\n flex-reverse="true"\n alignment="left"\n stat-type="/referralsCount"\n ><sqm-text><p>Referrals</p></sqm-text></sqm-big-stat\n >\n <sqm-big-stat\n flex-reverse="true"\n alignment="left"\n stat-type="/rewardsCountFiltered/AVAILABLE"\n ><sqm-text><p>Rewards Earned</p></sqm-text></sqm-big-stat\n >\n <sqm-big-stat\n flex-reverse="true"\n alignment="left"\n stat-type="/rewardBalance/CREDIT/CENTS"\n ><sqm-text><p>Reward Balance</p></sqm-text></sqm-big-stat\n >\n </sqm-stat-container>\n <sqm-referral-table>\n <sqm-referral-table-user-column></sqm-referral-table-user-column>\n <sqm-referral-table-rewards-column></sqm-referral-table-rewards-column>\n <sqm-referral-table-status-column></sqm-referral-table-status-column>\n <sqm-referral-table-date-column\n column-title="Referred"\n date-shown="dateReferralStarted"\n ></sqm-referral-table-date-column> </sqm-referral-table\n ></sqm-portal-container>\n </template>\n </sqm-router>\n </sqm-divided-layout>\n </sqm-divided-layout>\n </template>\n </sqm-router>\n </sqb-program-section>\n <sqm-portal-footer\n slot="footer"\n support-email="support@example.com"\n terms-link="https://example.com"\n faq-link="https://example.com"\n terms-text="Terms And Conditions"\n faq-text="FAQ"\n show-powered-by="true"\n ></sqm-portal-footer>\n</sqm-portal-frame>\n';var dm='<sqm-portal-frame>\n <a slot="header" href="/">\n <sqm-text style="height: 60px">\n <img\n style="height: 60px"\n src="https://res.cloudinary.com/saasquatch/image/upload/v1634255445/squatch-assets/Copy_of_saasquatch-logo-tree-large-horizontal.png"\n />\n </sqm-text>\n </a>\n <sqb-program-section program-id="referral-program">\n <sqm-router>\n <template\n path="/:path(\\bregister\\b|\\bemailVerification\\b|\\blogin\\b|\\bverifyEmail\\b|\\bforgotPassword\\b|\\bresetPassword\\b|\\blogout\\b)"\n >\n <sqm-hero\n background="https://images.unsplash.com/photo-1599676821464-3555954838dc?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1939&q=80"\n >\n <sqm-router>\n <template path="/register">\n <sqm-portal-register>\n <sqm-name-fields slot="formData"></sqm-name-fields>\n </sqm-portal-register>\n </template>\n\n <template path="/emailVerification">\n <sqm-portal-protected-route\n redirect-to="/login"\n ></sqm-portal-protected-route>\n <sqm-portal-email-verification></sqm-portal-email-verification>\n </template>\n\n <template path="/login">\n <sqm-portal-login></sqm-portal-login>\n </template>\n\n <template path="/verifyEmail">\n <sqm-portal-verify-email></sqm-portal-verify-email>\n </template>\n\n <template path="/forgotPassword">\n <sqm-portal-forgot-password\n email-label="Business Email"\n ></sqm-portal-forgot-password>\n </template>\n\n <template path="/resetPassword">\n <sqm-portal-reset-password\n confirm-password="true"\n ></sqm-portal-reset-password>\n </template>\n <template path="/logout">\n <sqm-portal-logout next-page="/login"></sqm-portal-logout>\n </template>\n </sqm-router>\n </sqm-hero>\n </template>\n </sqm-router>\n <sqm-router>\n <template path="/:path(\\bactivity\\b|\\beditProfile\\b)?">\n <sqm-divided-layout\n direction="row"\n style="\n border-top: 1px solid #eaeaea;\n border-bottom: 1px solid #eaeaea;\n "\n >\n <sqm-navigation-sidebar>\n <sqm-navigation-sidebar-item\n path="/"\n icon="house"\n label="Dashboard"\n ></sqm-navigation-sidebar-item>\n <sqm-navigation-sidebar-item\n path="/activity"\n icon="bar-chart"\n label="Activity"\n ></sqm-navigation-sidebar-item>\n <sqm-navigation-sidebar-item\n path="/editProfile"\n icon="person"\n label="Edit Profile"\n ></sqm-navigation-sidebar-item>\n <sqm-navigation-sidebar-item\n path="/logout"\n icon="box-arrow-right"\n label="Logout"\n ></sqm-navigation-sidebar-item>\n </sqm-navigation-sidebar>\n <sqm-divided-layout direction="column">\n <sqm-router>\n <template path="/">\n <sqm-portal-protected-route\n require-email-verification="true"\n redirect-to="/login"\n redirect-to-unverified="/emailVerification"\n ></sqm-portal-protected-route>\n <sqm-portal-container\n direction="column"\n padding="xxx-large"\n gap="xxx-large"\n ><sqm-titled-section label-margin="xx-small"\n ><sqm-text slot="label"> <p>Welcome back,</p> </sqm-text\n ><sqm-text slot="content">\n <h1>\n <sqm-user-name\n fallback="Anonymous User"\n ></sqm-user-name>\n </h1> </sqm-text\n ></sqm-titled-section>\n <sqm-stat-container space="xxxx-large"\n ><sqm-big-stat\n flex-reverse="true"\n alignment="left"\n stat-type="/referralsCount"\n ><sqm-text><p>Referrals</p></sqm-text></sqm-big-stat\n ><sqm-big-stat\n flex-reverse="true"\n alignment="left"\n stat-type="/rewardBalance/CREDIT/CENTS"\n ><sqm-text><p>Reward Balance</p></sqm-text></sqm-big-stat\n >\n </sqm-stat-container> </sqm-portal-container\n ><sqm-portal-container\n direction="column"\n padding="xxx-large"\n gap="xxx-large"\n >\n <sqm-titled-section padding="none" label-margin="x-large"\n ><sqm-text slot="label">\n <h2>Partner and Profit</h2> </sqm-text\n ><sqm-text slot="content">\n <p>\n Get rewarded for referring potential customers to\n SaaSquatch. Earn commission for each successful lead you\n send our way\n </p>\n </sqm-text></sqm-titled-section\n >\n <sqm-titled-section label-margin="small" padding="none"\n ><sqm-text slot="label">\n <h3>Share your referral link</h3> </sqm-text\n ><sqm-share-link slot="content"></sqm-share-link\n ></sqm-titled-section>\n <sqm-titled-section label-margin="small" padding="none">\n <sqm-text slot="label">\n <h3>Share your referral code</h3> </sqm-text\n ><sqm-share-code slot="content"></sqm-share-code>\n </sqm-titled-section>\n <sqm-titled-section label-margin="small" padding="none"\n ><sqm-text slot="label">\n <h3>Share via social media</h3> </sqm-text\n ><sqm-portal-container\n slot="content"\n direction="row"\n padding="none"\n gap="xxx-large"\n min-width="160px"\n ><sqm-share-button\n icon="envelope"\n medium="email"\n size="medium"\n pill="true"\n >Email a friend</sqm-share-button\n ><sqm-share-button\n medium="twitter"\n size="medium"\n pill="true"\n >Tweet about us</sqm-share-button\n ><sqm-share-button\n medium="facebook"\n size="medium"\n pill="true"\n >Share on Facebook</sqm-share-button\n ></sqm-portal-container\n ></sqm-titled-section\n ></sqm-portal-container\n >\n </template>\n <template path="/editProfile">\n <sqm-portal-protected-route\n require-email-verification="true"\n redirect-to="/login"\n redirect-to-unverified="/emailVerification"\n ></sqm-portal-protected-route>\n <sqm-portal-container direction="column" gap="xxx-large">\n <sqm-portal-profile></sqm-portal-profile> </sqm-portal-container\n ><sqm-portal-container direction="column" gap="xxx-large">\n <sqm-portal-change-password></sqm-portal-change-password>\n </sqm-portal-container>\n </template>\n\n <template path="/activity">\n <sqm-portal-protected-route\n require-email-verification="true"\n redirect-to="/login"\n redirect-to-unverified="/emailVerification"\n ></sqm-portal-protected-route>\n <sqm-portal-container\n direction="column"\n padding="xxx-large"\n gap="xxx-large"\n >\n <sqm-text> <h1>Activity</h1></sqm-text>\n <sqm-stat-container space="xxxx-large"\n ><sqm-big-stat\n flex-reverse="true"\n alignment="left"\n stat-type="/referralsCount"\n ><sqm-text><p>Referrals</p></sqm-text></sqm-big-stat\n >\n <sqm-big-stat\n flex-reverse="true"\n alignment="left"\n stat-type="/rewardsCountFiltered/AVAILABLE"\n ><sqm-text><p>Rewards Earned</p></sqm-text></sqm-big-stat\n >\n <sqm-big-stat\n flex-reverse="true"\n alignment="left"\n stat-type="/rewardBalance/CREDIT/CENTS"\n ><sqm-text><p>Reward Balance</p></sqm-text></sqm-big-stat\n >\n </sqm-stat-container>\n <sqm-referral-table>\n <sqm-referral-table-user-column></sqm-referral-table-user-column>\n <sqm-referral-table-rewards-column></sqm-referral-table-rewards-column>\n <sqm-referral-table-status-column></sqm-referral-table-status-column>\n <sqm-referral-table-date-column\n column-title="Referred"\n date-shown="dateReferralStarted"\n ></sqm-referral-table-date-column> </sqm-referral-table\n ></sqm-portal-container>\n </template>\n </sqm-router>\n </sqm-divided-layout>\n </sqm-divided-layout>\n </template>\n </sqm-router>\n </sqb-program-section>\n <sqm-portal-footer\n slot="footer"\n support-email="support@example.com"\n terms-link="https://example.com"\n faq-link="https://example.com"\n terms-text="Terms And Conditions"\n faq-text="FAQ"\n show-powered-by="true"\n ></sqm-portal-footer>\n</sqm-portal-frame>\n';var um='<sqm-portal-frame>\n <a slot="header" href="/">\n <sqm-text style="height: 60px">\n <img\n style="height: 60px"\n src="https://res.cloudinary.com/saasquatch/image/upload/v1634255445/squatch-assets/Copy_of_saasquatch-logo-tree-large-horizontal.png"\n />\n </sqm-text>\n </a>\n <sqb-program-section program-id="referral-program-1">\n <sqm-router>\n <template\n path="/:path(\\bregister\\b|\\bemailVerification\\b|\\blogin\\b|\\bverifyEmail\\b|\\bforgotPassword\\b|\\bresetPassword\\b|\\blogout\\b)"\n >\n <sqm-hero\n background="https://images.unsplash.com/photo-1599676821464-3555954838dc?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1939&q=80"\n >\n <sqm-router>\n <template path="/register">\n <sqm-portal-register>\n <sqm-name-fields slot="formData"></sqm-name-fields>\n </sqm-portal-register>\n </template>\n\n <template path="/emailVerification">\n <sqm-portal-protected-route\n redirect-to="/login"\n ></sqm-portal-protected-route>\n <sqm-portal-email-verification></sqm-portal-email-verification>\n </template>\n\n <template path="/login">\n <sqm-portal-login></sqm-portal-login>\n </template>\n\n <template path="/verifyEmail">\n <sqm-portal-verify-email></sqm-portal-verify-email>\n </template>\n\n <template path="/forgotPassword">\n <sqm-portal-forgot-password\n email-label="Business Email"\n ></sqm-portal-forgot-password>\n </template>\n\n <template path="/resetPassword">\n <sqm-portal-reset-password\n confirm-password="true"\n ></sqm-portal-reset-password>\n </template>\n <template path="/logout">\n <sqm-portal-logout next-page="/login"></sqm-portal-logout>\n </template>\n </sqm-router>\n </sqm-hero>\n </template>\n </sqm-router>\n <sqm-router>\n <template path="/:path(\\bactivity\\b|\\beditProfile\\b)?">\n <sqm-divided-layout\n direction="row"\n style="\n border-top: 1px solid #eaeaea;\n border-bottom: 1px solid #eaeaea;\n "\n >\n <sqm-navigation-sidebar>\n <sqm-program-menu>\n <sl-menu-item value="referral-program-1"\n >Referral Program 1</sl-menu-item\n >\n <sl-menu-item value="referral-program-2"\n >Referral Program 2</sl-menu-item\n >\n </sqm-program-menu>\n <sqm-navigation-sidebar-item\n path="/"\n icon="house"\n label="Dashboard"\n ></sqm-navigation-sidebar-item>\n <sqm-navigation-sidebar-item\n path="/activity"\n icon="bar-chart"\n label="Activity"\n ></sqm-navigation-sidebar-item>\n <sqm-navigation-sidebar-item\n path="/editProfile"\n icon="person"\n label="Edit Profile"\n ></sqm-navigation-sidebar-item>\n <sqm-navigation-sidebar-item\n path="/logout"\n icon="box-arrow-right"\n label="Logout"\n ></sqm-navigation-sidebar-item>\n </sqm-navigation-sidebar>\n <sqm-divided-layout direction="column">\n <sqm-router>\n <template path="/">\n <sqm-portal-protected-route\n require-email-verification="true"\n redirect-to="/login"\n redirect-to-unverified="/emailVerification"\n ></sqm-portal-protected-route>\n <sqb-program-switch>\n <template program-id="referral-program-1">\n <sqb-widget\n widget-type="p/referral-program-1/w/referrerWidget"\n track-loads="true"\n ></sqb-widget>\n </template>\n <template program-id="referral-program-2">\n <sqb-widget\n widget-type="p/referral-program-2/w/referrerWidget"\n track-loads="true"\n ></sqb-widget>\n </template>\n </sqb-program-switch>\n </template>\n <template path="/editProfile">\n <sqm-portal-protected-route\n require-email-verification="true"\n redirect-to="/login"\n redirect-to-unverified="/emailVerification"\n ></sqm-portal-protected-route>\n <sqm-portal-container direction="column" gap="xxx-large">\n <sqm-portal-profile></sqm-portal-profile></sqm-portal-container\n ><sqm-portal-container direction="column" gap="xxx-large">\n <sqm-portal-change-password></sqm-portal-change-password>\n </sqm-portal-container>\n </template>\n <template path="/activity">\n <sqm-portal-protected-route\n require-email-verification="true"\n redirect-to="/login"\n redirect-to-unverified="/emailVerification"\n ></sqm-portal-protected-route>\n <sqm-portal-container\n direction="column"\n padding="xxx-large"\n gap="xxx-large"\n >\n <sqm-text> <h1>Activity</h1></sqm-text>\n <sqm-stat-container space="xxxx-large"\n ><sqm-big-stat\n flex-reverse="true"\n alignment="left"\n stat-type="/referralsCount"\n ><sqm-text><p>Referrals</p></sqm-text></sqm-big-stat\n >\n <sqm-big-stat\n flex-reverse="true"\n alignment="left"\n stat-type="/rewardsCountFiltered/AVAILABLE"\n ><sqm-text><p>Rewards Earned</p></sqm-text></sqm-big-stat\n >\n <sqm-big-stat\n flex-reverse="true"\n alignment="left"\n stat-type="/rewardBalance/CREDIT/CENTS"\n ><sqm-text><p>Reward Balance</p></sqm-text></sqm-big-stat\n >\n </sqm-stat-container>\n <sqm-referral-table>\n <sqm-referral-table-user-column></sqm-referral-table-user-column>\n <sqm-referral-table-rewards-column></sqm-referral-table-rewards-column>\n <sqm-referral-table-status-column></sqm-referral-table-status-column>\n <sqm-referral-table-date-column\n column-title="Referred"\n date-shown="dateReferralStarted"\n ></sqm-referral-table-date-column> </sqm-referral-table\n ></sqm-portal-container>\n </template>\n </sqm-router>\n </sqm-divided-layout>\n </sqm-divided-layout>\n </template>\n </sqm-router>\n </sqb-program-section>\n <sqm-portal-footer\n slot="footer"\n support-email="support@example.com"\n terms-link="https://example.com"\n faq-link="https://example.com"\n terms-text="Terms And Conditions"\n faq-text="FAQ"\n show-powered-by="true"\n ></sqm-portal-footer>\n</sqm-portal-frame>\n';var cm='<sqm-portal-frame>\n <a slot="header" href="/">\n <sqm-text style="height: 60px">\n <img\n style="height: 60px"\n src="https://res.cloudinary.com/saasquatch/image/upload/v1634255445/squatch-assets/Copy_of_saasquatch-logo-tree-large-horizontal.png"\n />\n </sqm-text>\n </a>\n <sqb-program-section program-id="referral-program-1">\n <sqm-hero\n background="https://images.unsplash.com/photo-1599676821464-3555954838dc?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1939&q=80"\n >\n <sqm-router>\n <template path="/register">\n <sqm-portal-register>\n <sqm-name-fields slot="formData"></sqm-name-fields>\n </sqm-portal-register>\n </template>\n\n <template path="/emailVerification">\n <sqm-portal-protected-route\n redirect-to="/login"\n ></sqm-portal-protected-route>\n <sqm-portal-email-verification></sqm-portal-email-verification>\n </template>\n\n <template path="/login">\n <sqm-portal-login></sqm-portal-login>\n </template>\n\n <template path="/verifyEmail">\n <sqm-portal-verify-email></sqm-portal-verify-email>\n </template>\n\n <template path="/forgotPassword">\n <sqm-portal-forgot-password\n email-label="Business Email"\n ></sqm-portal-forgot-password>\n </template>\n\n <template path="/resetPassword">\n <sqm-portal-reset-password\n confirm-password="true"\n ></sqm-portal-reset-password>\n </template>\n <template path="/logout">\n <sqm-portal-logout next-page="/login"></sqm-portal-logout>\n </template>\n </sqm-router>\n </sqm-hero>\n <sqm-router>\n <template path="/:path(\\bactivity\\b|\\beditProfile\\b)?">\n <sqm-divided-layout\n direction="row"\n style="\n border-top: 1px solid #eaeaea;\n border-bottom: 1px solid #eaeaea;\n "\n >\n <sqm-navigation-sidebar>\n <sqm-program-menu>\n <sl-menu-item value="referral-program-1"\n >Referral Program 1</sl-menu-item\n >\n <sl-menu-item value="referral-program-2"\n >Referral Program 2</sl-menu-item\n >\n </sqm-program-menu>\n <sqm-navigation-sidebar-item\n path="/"\n icon="house"\n label="Dashboard"\n ></sqm-navigation-sidebar-item>\n <sqm-navigation-sidebar-item\n path="/activity"\n icon="bar-chart"\n label="Activity"\n ></sqm-navigation-sidebar-item>\n <sqm-navigation-sidebar-item\n path="/editProfile"\n icon="person"\n label="Edit Profile"\n ></sqm-navigation-sidebar-item>\n <sqm-navigation-sidebar-item\n path="/logout"\n icon="box-arrow-right"\n label="Logout"\n ></sqm-navigation-sidebar-item>\n </sqm-navigation-sidebar>\n <sqm-divided-layout direction="column">\n <sqm-router>\n <template path="/">\n <sqm-portal-protected-route\n require-email-verification="true"\n redirect-to="/login"\n redirect-to-unverified="/emailVerification"\n ></sqm-portal-protected-route\n ><sqm-portal-container\n direction="column"\n padding="xxx-large"\n gap="xxx-large"\n ><sqm-titled-section label-margin="xx-small"\n ><sqm-text slot="label"> <p>Welcome back,</p> </sqm-text\n ><sqm-text slot="content">\n <h1>\n <sqm-user-name\n fallback="Anonymous User"\n ></sqm-user-name>\n </h1> </sqm-text\n ></sqm-titled-section>\n <sqm-stat-container space="xxxx-large"\n ><sqm-big-stat\n flex-reverse="true"\n alignment="left"\n stat-type="/referralsCount"\n ><sqm-text><p>Referrals</p></sqm-text></sqm-big-stat\n >\n <sqm-big-stat\n flex-reverse="true"\n alignment="left"\n stat-type="/rewardsCountFiltered/AVAILABLE"\n ><sqm-text><p>Rewards Earned</p></sqm-text></sqm-big-stat\n >\n <sqm-big-stat\n flex-reverse="true"\n alignment="left"\n stat-type="/rewardBalance/CREDIT/CENTS"\n ><sqm-text><p>Reward Balance</p></sqm-text></sqm-big-stat\n >\n </sqm-stat-container> </sqm-portal-container\n ><sqm-portal-container\n direction="column"\n padding="xxx-large"\n gap="xxx-large"\n >\n <sqm-titled-section padding="none" label-margin="x-large"\n ><sqm-text slot="label">\n <h2>Partner and Profit</h2> </sqm-text\n ><sqm-text slot="content">\n <p>\n Get rewarded for referring potential customers to\n SaaSquatch. Earn commission for each successful lead you\n send our way\n </p>\n </sqm-text></sqm-titled-section\n >\n <sqm-titled-section label-margin="small" padding="none"\n ><sqm-text slot="label">\n <h3>Share your referral link</h3> </sqm-text\n ><sqm-share-link slot="content"></sqm-share-link\n ></sqm-titled-section>\n <sqm-titled-section label-margin="small" padding="none">\n <sqm-text slot="label">\n <h3>Share your referral code</h3> </sqm-text\n ><sqm-share-code slot="content"></sqm-share-code>\n </sqm-titled-section>\n <sqm-titled-section label-margin="small" padding="none"\n ><sqm-text slot="label">\n <h3>Share via social media</h3> </sqm-text\n ><sqm-portal-container\n slot="content"\n direction="row"\n padding="none"\n gap="xxx-large"\n min-width="160px"\n ><sqm-share-button\n icon="envelope"\n medium="email"\n size="medium"\n pill="true"\n >Email a friend</sqm-share-button\n ><sqm-share-button\n medium="twitter"\n size="medium"\n pill="true"\n >Tweet about us</sqm-share-button\n ><sqm-share-button\n medium="facebook"\n size="medium"\n pill="true"\n >Share on Facebook</sqm-share-button\n ></sqm-portal-container\n ></sqm-titled-section\n ></sqm-portal-container\n >\n </template>\n <template path="/editProfile">\n <sqm-portal-protected-route\n require-email-verification="true"\n redirect-to="/login"\n redirect-to-unverified="/emailVerification"\n ></sqm-portal-protected-route>\n <sqm-portal-container direction="column" gap="xxx-large">\n <sqm-portal-profile></sqm-portal-profile> </sqm-portal-container\n ><sqm-portal-container direction="column" gap="xxx-large">\n <sqm-portal-change-password></sqm-portal-change-password>\n </sqm-portal-container>\n </template>\n <template path="/activity">\n <sqm-portal-protected-route\n require-email-verification="true"\n redirect-to="/login"\n redirect-to-unverified="/emailVerification"\n ></sqm-portal-protected-route>\n <sqm-portal-container\n direction="column"\n padding="xxx-large"\n gap="xxx-large"\n >\n <sqm-text> <h1>Activity</h1></sqm-text>\n <sqm-stat-container space="xxxx-large"\n ><sqm-big-stat\n flex-reverse="true"\n alignment="left"\n stat-type="/referralsCount"\n ><sqm-text><p>Referrals</p></sqm-text></sqm-big-stat\n >\n <sqm-big-stat\n flex-reverse="true"\n alignment="left"\n stat-type="/rewardsCountFiltered/AVAILABLE"\n ><sqm-text><p>Rewards Earned</p></sqm-text></sqm-big-stat\n >\n <sqm-big-stat\n flex-reverse="true"\n alignment="left"\n stat-type="/rewardBalance/CREDIT/CENTS"\n ><sqm-text><p>Reward Balance</p></sqm-text></sqm-big-stat\n >\n </sqm-stat-container>\n <sqm-referral-table>\n <sqm-referral-table-user-column></sqm-referral-table-user-column>\n <sqm-referral-table-rewards-column></sqm-referral-table-rewards-column>\n <sqm-referral-table-status-column></sqm-referral-table-status-column>\n <sqm-referral-table-date-column\n column-title="Referred"\n date-shown="dateReferralStarted"\n ></sqm-referral-table-date-column> </sqm-referral-table\n ></sqm-portal-container>\n </template>\n </sqm-router>\n </sqm-divided-layout>\n </sqm-divided-layout>\n </template>\n </sqm-router>\n </sqb-program-section>\n <sqm-portal-footer\n slot="footer"\n support-email="support@example.com"\n terms-link="https://example.com"\n faq-link="https://example.com"\n terms-text="Terms And Conditions"\n faq-text="FAQ"\n show-powered-by="true"\n ></sqm-portal-footer>\n</sqm-portal-frame>\n';var mm='<sqm-portal-container direction="column" padding="xxx-large" gap="xxx-large"\n ><sqm-titled-section label-margin="xx-small"\n ><sqm-text slot="label"> <p>Welcome back,</p> </sqm-text\n ><sqm-text slot="content">\n <h1>\n <sqm-user-name fallback="Anonymous User"></sqm-user-name>\n </h1> </sqm-text\n ></sqm-titled-section>\n <sqm-stat-container space="xxxx-large"\n ><sqm-big-stat\n flex-reverse="true"\n alignment="left"\n stat-type="/referralsCount"\n ><sqm-text><p>Referrals</p></sqm-text></sqm-big-stat\n >\n <sqm-big-stat\n flex-reverse="true"\n alignment="left"\n stat-type="/rewardsCountFiltered/AVAILABLE"\n ><sqm-text><p>Rewards Earned</p></sqm-text></sqm-big-stat\n >\n <sqm-big-stat\n flex-reverse="true"\n alignment="left"\n stat-type="/rewardBalance/CREDIT/CENTS"\n ><sqm-text><p>Reward Balance</p></sqm-text></sqm-big-stat\n >\n </sqm-stat-container> </sqm-portal-container\n><sqm-portal-container direction="column" padding="xxx-large" gap="xxx-large">\n <sqm-titled-section padding="none" label-margin="x-large"\n ><sqm-text slot="label"> <h2>Partner and Profit</h2> </sqm-text\n ><sqm-text slot="content">\n <p>\n Get rewarded for referring potential customers to SaaSquatch. Earn\n commission for each successful lead you send our way\n </p>\n </sqm-text></sqm-titled-section\n >\n <sqm-titled-section label-margin="small" padding="none"\n ><sqm-text slot="label"> <h3>Share your referral link</h3> </sqm-text\n ><sqm-share-link slot="content"></sqm-share-link\n ></sqm-titled-section>\n <sqm-titled-section label-margin="small" padding="none">\n <sqm-text slot="label"> <h3>Share your referral code</h3> </sqm-text\n ><sqm-share-code slot="content"></sqm-share-code>\n </sqm-titled-section>\n <sqm-titled-section label-margin="small" padding="none"\n ><sqm-text slot="label"> <h3>Share via social media</h3> </sqm-text\n ><sqm-portal-container\n slot="content"\n direction="row"\n padding="none"\n gap="xxx-large"\n min-width="160px"\n ><sqm-share-button\n icon="envelope"\n medium="email"\n size="medium"\n pill="true"\n >Email a friend</sqm-share-button\n ><sqm-share-button medium="twitter" size="medium" pill="true"\n >Tweet about us</sqm-share-button\n ><sqm-share-button medium="facebook" size="medium" pill="true"\n >Share on Facebook</sqm-share-button\n ></sqm-portal-container\n ></sqm-titled-section\n ></sqm-portal-container\n>\n';var pm="<sqm-referral-iframe></sqm-referral-iframe>\n";var hm='<sqm-portal-protected-route\n require-email-verification="true"\n redirect-to="/login"\n redirect-to-unverified="/emailVerification"\n></sqm-portal-protected-route>\n<sqm-portal-container direction="column" gap="xxx-large">\n <sqm-portal-profile></sqm-portal-profile> </sqm-portal-container\n><sqm-portal-container direction="column" gap="xxx-large">\n <sqm-portal-change-password></sqm-portal-change-password>\n</sqm-portal-container>\n';var gm='<sqm-portal-protected-route\n require-email-verification="true"\n redirect-to="/login"\n redirect-to-unverified="/emailVerification"\n></sqm-portal-protected-route>\n<sqm-portal-container direction="column" padding="xxx-large" gap="xxx-large">\n <sqm-text> <h1>Activity</h1></sqm-text>\n <sqm-stat-container space="xxxx-large"\n ><sqm-big-stat\n flex-reverse="true"\n alignment="left"\n stat-type="/referralsCount"\n ><sqm-text><p>Referrals</p></sqm-text></sqm-big-stat\n >\n <sqm-big-stat\n flex-reverse="true"\n alignment="left"\n stat-type="/rewardsCountFiltered/AVAILABLE"\n ><sqm-text><p>Rewards Earned</p></sqm-text></sqm-big-stat\n >\n <sqm-big-stat\n flex-reverse="true"\n alignment="left"\n stat-type="/rewardBalance/CREDIT/CENTS"\n ><sqm-text><p>Reward Balance</p></sqm-text></sqm-big-stat\n >\n </sqm-stat-container>\n <sqm-referral-table>\n <sqm-referral-table-user-column></sqm-referral-table-user-column>\n <sqm-referral-table-rewards-column></sqm-referral-table-rewards-column>\n <sqm-referral-table-status-column></sqm-referral-table-status-column>\n <sqm-referral-table-date-column\n column-title="Referred"\n date-shown="dateReferralStarted"\n ></sqm-referral-table-date-column> </sqm-referral-table\n></sqm-portal-container>\n';var fm='<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional //EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n\n<html\n xmlns="http://www.w3.org/1999/xhtml"\n xmlns:o="urn:schemas-microsoft-com:office:office"\n xmlns:v="urn:schemas-microsoft-com:vml"\n>\n <head>\n \x3c!--[if gte mso 9\n ]><xml\n ><o:OfficeDocumentSettings\n ><o:AllowPNG /><o:PixelsPerInch\n >96</o:PixelsPerInch\n ></o:OfficeDocumentSettings\n ></xml\n ><!\n [endif]--\x3e\n <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />\n <meta content="width=device-width" name="viewport" />\n \x3c!--[if !mso]>\x3c!--\x3e\n <meta content="IE=edge" http-equiv="X-UA-Compatible" />\n \x3c!--<![endif]--\x3e\n <title></title>\n \x3c!--[if !mso]>\x3c!--\x3e\n \x3c!--<![endif]--\x3e\n <style type="text/css">\n body {\n margin: 0;\n padding: 0;\n }\n\n table,\n td,\n tr {\n vertical-align: top;\n border-collapse: collapse;\n }\n\n * {\n line-height: inherit;\n }\n\n a[x-apple-data-detectors="true"] {\n color: inherit !important;\n text-decoration: none !important;\n }\n </style>\n <style id="media-query" type="text/css">\n @media (max-width: 520px) {\n .block-grid,\n .col {\n min-width: 320px !important;\n max-width: 100% !important;\n display: block !important;\n }\n\n .block-grid {\n width: 100% !important;\n }\n\n .col {\n width: 100% !important;\n }\n\n .col_cont {\n margin: 0 auto;\n }\n\n img.fullwidth,\n img.fullwidthOnMobile {\n max-width: 100% !important;\n }\n\n .no-stack .col {\n min-width: 0 !important;\n display: table-cell !important;\n }\n\n .no-stack.two-up .col {\n width: 50% !important;\n }\n\n .no-stack .col.num2 {\n width: 16.6% !important;\n }\n\n .no-stack .col.num3 {\n width: 25% !important;\n }\n\n .no-stack .col.num4 {\n width: 33% !important;\n }\n\n .no-stack .col.num5 {\n width: 41.6% !important;\n }\n\n .no-stack .col.num6 {\n width: 50% !important;\n }\n\n .no-stack .col.num7 {\n width: 58.3% !important;\n }\n\n .no-stack .col.num8 {\n width: 66.6% !important;\n }\n\n .no-stack .col.num9 {\n width: 75% !important;\n }\n\n .no-stack .col.num10 {\n width: 83.3% !important;\n }\n\n .video-block {\n max-width: none !important;\n }\n\n .mobile_hide {\n min-height: 0px;\n max-height: 0px;\n max-width: 0px;\n display: none;\n overflow: hidden;\n font-size: 0px;\n }\n\n .desktop_hide {\n display: block !important;\n max-height: none !important;\n }\n }\n </style>\n <style id="icon-media-query" type="text/css">\n @media (max-width: 520px) {\n .icons-inner {\n text-align: center;\n }\n\n .icons-inner td {\n margin: 0 auto;\n }\n }\n </style>\n </head>\n <body\n class="clean-body"\n style="\n margin: 0;\n padding: 0;\n -webkit-text-size-adjust: 100%;\n background-color: #ffffff;\n "\n >\n \x3c!--[if IE]><div class="ie-browser"><![endif]--\x3e\n <table\n bgcolor="#FFFFFF"\n cellpadding="0"\n cellspacing="0"\n class="nl-container"\n role="presentation"\n style="\n table-layout: fixed;\n vertical-align: top;\n min-width: 320px;\n border-spacing: 0;\n border-collapse: collapse;\n mso-table-lspace: 0pt;\n mso-table-rspace: 0pt;\n background-color: #ffffff;\n width: 100%;\n "\n valign="top"\n width="100%"\n >\n <tbody>\n <tr style="vertical-align: top" valign="top">\n <td style="word-break: break-word; vertical-align: top" valign="top">\n \x3c!--[if (mso)|(IE)]><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td align="center" style="background-color:#FFFFFF"><![endif]--\x3e\n <div style="background-color: transparent">\n <div\n class="block-grid"\n style="\n min-width: 320px;\n max-width: 500px;\n overflow-wrap: break-word;\n word-wrap: break-word;\n word-break: break-word;\n margin: 0 auto;\n background-color: transparent;\n "\n >\n <div\n style="\n border-collapse: collapse;\n display: table;\n width: 100%;\n background-color: transparent;\n "\n >\n \x3c!--[if (mso)|(IE)]><table width="100%" cellpadding="0" cellspacing="0" border="0" style="background-color:transparent;"><tr><td align="center"><table cellpadding="0" cellspacing="0" border="0" style="width:500px"><tr class="layout-full-width" style="background-color:transparent"><![endif]--\x3e\n \x3c!--[if (mso)|(IE)]><td align="center" width="500" style="background-color:transparent;width:500px; border-top: 0px solid transparent; border-left: 0px solid transparent; border-bottom: 0px solid transparent; border-right: 0px solid transparent;" valign="top"><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="padding-right: 0px; padding-left: 0px; padding-top:5px; padding-bottom:5px;"><![endif]--\x3e\n <div\n class="col num12"\n style="\n min-width: 320px;\n max-width: 500px;\n display: table-cell;\n vertical-align: top;\n width: 500px;\n "\n >\n <div class="col_cont" style="width: 100% !important">\n \x3c!--[if (!mso)&(!IE)]>\x3c!--\x3e\n <div\n style="\n border-top: 0px solid transparent;\n border-left: 0px solid transparent;\n border-bottom: 0px solid transparent;\n border-right: 0px solid transparent;\n padding-top: 5px;\n padding-bottom: 5px;\n padding-right: 0px;\n padding-left: 0px;\n "\n >\n \x3c!--<![endif]--\x3e\n <table\n cellpadding="0"\n cellspacing="0"\n role="presentation"\n style="\n table-layout: fixed;\n vertical-align: top;\n border-spacing: 0;\n border-collapse: collapse;\n mso-table-lspace: 0pt;\n mso-table-rspace: 0pt;\n "\n valign="top"\n width="100%"\n >\n <tr style="vertical-align: top" valign="top">\n <td\n align="center"\n style="\n word-break: break-word;\n vertical-align: top;\n padding-bottom: 20px;\n padding-left: 10px;\n padding-right: 10px;\n padding-top: 10px;\n text-align: center;\n width: 100%;\n "\n valign="top"\n width="100%"\n >\n <h1\n style="\n color: #444445;\n direction: ltr;\n font-family: \'Helvetica Neue\', Helvetica,\n Arial, sans-serif;\n font-size: 20px;\n font-weight: normal;\n letter-spacing: normal;\n line-height: 120%;\n text-align: left;\n margin-top: 0;\n margin-bottom: 0;\n "\n >\n <strong>Reset your password</strong>\n </h1>\n </td>\n </tr>\n </table>\n \x3c!--[if mso]><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="padding-right: 10px; padding-left: 10px; padding-top: 10px; padding-bottom: 10px; font-family: Arial, sans-serif"><![endif]--\x3e\n <div\n style="\n color: #444445;\n font-family: Arial, Helvetica Neue, Helvetica,\n sans-serif;\n line-height: 1.8;\n padding-top: 10px;\n padding-right: 10px;\n padding-bottom: 10px;\n padding-left: 10px;\n "\n >\n <div\n class="txtTinyMce-wrapper"\n style="\n font-size: 14px;\n line-height: 1.8;\n color: #444445;\n font-family: Arial, Helvetica Neue, Helvetica,\n sans-serif;\n mso-line-height-alt: 25px;\n "\n >\n <p\n style="\n margin: 0;\n font-size: 14px;\n line-height: 1.8;\n word-break: break-word;\n mso-line-height-alt: 25px;\n margin-top: 0;\n margin-bottom: 0;\n "\n >\n <span style="font-size: 14px"\n >We received a request to reset your password.\n Click the button below to reset your\n password.</span\n >\n </p>\n </div>\n </div>\n <div\n align="center"\n class="button-container"\n style="\n padding-top: 10px;\n padding-right: 10px;\n padding-bottom: 10px;\n padding-left: 10px;\n "\n >\n \x3c!--[if mso]><table width="100%" cellpadding="0" cellspacing="0" border="0" style="border-spacing: 0; border-collapse: collapse; mso-table-lspace:0pt; mso-table-rspace:0pt;"><tr><td style="padding-top: 10px; padding-right: 10px; padding-bottom: 10px; padding-left: 10px" align="center"><v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" target="_blank" href={{validationLink}} style="height:31.5pt;width:390pt;v-text-anchor:middle;" arcsize="12%" stroke="false" fillcolor="#2270ee"><w:anchorlock/><v:textbox inset="0,0,0,0"><center style="color:#ffffff; font-family:Arial, sans-serif; font-size:14px"><!\n [endif]--\x3e<a\n href="{{validationLink}}"\n target="_blank"\n style="\n -webkit-text-size-adjust: none;\n text-decoration: none;\n display: block;\n color: #ffffff;\n background-color: #2270ee;\n border-radius: 5px;\n -webkit-border-radius: 5px;\n -moz-border-radius: 5px;\n width: 100%;\n width: calc(100% - 2px);\n border-top: 1px solid #2270ee;\n border-right: 1px solid #2270ee;\n border-bottom: 1px solid #2270ee;\n border-left: 1px solid #2270ee;\n padding-top: 5px;\n padding-bottom: 5px;\n font-family: \'Helvetica Neue\', Helvetica, Arial,\n sans-serif;\n text-align: center;\n mso-border-alt: none;\n word-break: keep-all;\n "\n target="_blank"\n ><span\n style="\n padding-left: 20px;\n padding-right: 20px;\n font-size: 14px;\n display: inline-block;\n letter-spacing: undefined;\n "\n ><span\n style="\n font-size: 16px;\n line-height: 2;\n word-break: break-word;\n mso-line-height-alt: 32px;\n "\n ><span\n style="font-size: 14px; line-height: 28px"\n >Reset Password</span\n ></span\n ></span\n ></a\n >\n \x3c!--[if mso]></center></v:textbox></v:roundrect></td></tr></table><![endif]--\x3e\n </div>\n \x3c!--[if mso]><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="padding-right: 10px; padding-left: 10px; padding-top: 15px; padding-bottom: 15px; font-family: Arial, sans-serif"><![endif]--\x3e\n <div\n style="\n color: #444445;\n font-family: Arial, Helvetica Neue, Helvetica,\n sans-serif;\n line-height: 1.2;\n padding-top: 15px;\n padding-right: 10px;\n padding-bottom: 15px;\n padding-left: 10px;\n "\n >\n <div\n class="txtTinyMce-wrapper"\n style="\n font-size: 14px;\n line-height: 1.2;\n color: #444445;\n font-family: Arial, Helvetica Neue, Helvetica,\n sans-serif;\n mso-line-height-alt: 17px;\n "\n >\n <p\n style="\n margin: 0;\n font-size: 12px;\n line-height: 1.2;\n word-break: break-word;\n mso-line-height-alt: 14px;\n margin-top: 0;\n margin-bottom: 0;\n "\n >\n <span style="font-size: 12px"\n >If you didn\'t request a password reset please\n ignore this email. Your password will not\n change.</span\n >\n </p>\n </div>\n </div>\n \x3c!--[if mso]></td></tr></table><![endif]--\x3e\n \x3c!--[if (!mso)&(!IE)]>\x3c!--\x3e\n </div>\n \x3c!--<![endif]--\x3e\n </div>\n </div>\n \x3c!--[if (mso)|(IE)]></td></tr></table><![endif]--\x3e\n \x3c!--[if (mso)|(IE)]></td></tr></table></td></tr></table><![endif]--\x3e\n </div>\n </div>\n </div>\n \x3c!--[if (mso)|(IE)]></td></tr></table><![endif]--\x3e\n </td>\n </tr>\n </tbody>\n </table>\n \x3c!--[if (IE)]></div><![endif]--\x3e\n </body>\n</html>';var bm='<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional //EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n\n<html\n xmlns="http://www.w3.org/1999/xhtml"\n xmlns:o="urn:schemas-microsoft-com:office:office"\n xmlns:v="urn:schemas-microsoft-com:vml"\n>\n <head>\n \x3c!--[if gte mso 9\n ]><xml\n ><o:OfficeDocumentSettings\n ><o:AllowPNG /><o:PixelsPerInch\n >96</o:PixelsPerInch\n ></o:OfficeDocumentSettings\n ></xml\n ><!\n [endif]--\x3e\n <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />\n <meta content="width=device-width" name="viewport" />\n \x3c!--[if !mso]>\x3c!--\x3e\n <meta content="IE=edge" http-equiv="X-UA-Compatible" />\n \x3c!--<![endif]--\x3e\n <title></title>\n \x3c!--[if !mso]>\x3c!--\x3e\n \x3c!--<![endif]--\x3e\n <style type="text/css">\n body {\n margin: 0;\n padding: 0;\n }\n\n table,\n td,\n tr {\n vertical-align: top;\n border-collapse: collapse;\n }\n\n * {\n line-height: inherit;\n }\n\n a[x-apple-data-detectors="true"] {\n color: inherit !important;\n text-decoration: none !important;\n }\n </style>\n <style id="media-query" type="text/css">\n @media (max-width: 520px) {\n .block-grid,\n .col {\n min-width: 320px !important;\n max-width: 100% !important;\n display: block !important;\n }\n\n .block-grid {\n width: 100% !important;\n }\n\n .col {\n width: 100% !important;\n }\n\n .col_cont {\n margin: 0 auto;\n }\n\n img.fullwidth,\n img.fullwidthOnMobile {\n max-width: 100% !important;\n }\n\n .no-stack .col {\n min-width: 0 !important;\n display: table-cell !important;\n }\n\n .no-stack.two-up .col {\n width: 50% !important;\n }\n\n .no-stack .col.num2 {\n width: 16.6% !important;\n }\n\n .no-stack .col.num3 {\n width: 25% !important;\n }\n\n .no-stack .col.num4 {\n width: 33% !important;\n }\n\n .no-stack .col.num5 {\n width: 41.6% !important;\n }\n\n .no-stack .col.num6 {\n width: 50% !important;\n }\n\n .no-stack .col.num7 {\n width: 58.3% !important;\n }\n\n .no-stack .col.num8 {\n width: 66.6% !important;\n }\n\n .no-stack .col.num9 {\n width: 75% !important;\n }\n\n .no-stack .col.num10 {\n width: 83.3% !important;\n }\n\n .video-block {\n max-width: none !important;\n }\n\n .mobile_hide {\n min-height: 0px;\n max-height: 0px;\n max-width: 0px;\n display: none;\n overflow: hidden;\n font-size: 0px;\n }\n\n .desktop_hide {\n display: block !important;\n max-height: none !important;\n }\n }\n </style>\n <style id="icon-media-query" type="text/css">\n @media (max-width: 520px) {\n .icons-inner {\n text-align: center;\n }\n\n .icons-inner td {\n margin: 0 auto;\n }\n }\n </style>\n </head>\n <body\n class="clean-body"\n style="\n margin: 0;\n padding: 0;\n -webkit-text-size-adjust: 100%;\n background-color: #ffffff;\n "\n >\n \x3c!--[if IE]><div class="ie-browser"><![endif]--\x3e\n <table\n bgcolor="#FFFFFF"\n cellpadding="0"\n cellspacing="0"\n class="nl-container"\n role="presentation"\n style="\n table-layout: fixed;\n vertical-align: top;\n min-width: 320px;\n border-spacing: 0;\n border-collapse: collapse;\n mso-table-lspace: 0pt;\n mso-table-rspace: 0pt;\n background-color: #ffffff;\n width: 100%;\n "\n valign="top"\n width="100%"\n >\n <tbody>\n <tr style="vertical-align: top" valign="top">\n <td style="word-break: break-word; vertical-align: top" valign="top">\n \x3c!--[if (mso)|(IE)]><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td align="center" style="background-color:#FFFFFF"><![endif]--\x3e\n <div style="background-color: transparent">\n <div\n class="block-grid"\n style="\n min-width: 320px;\n max-width: 500px;\n overflow-wrap: break-word;\n word-wrap: break-word;\n word-break: break-word;\n margin: 0 auto;\n background-color: transparent;\n "\n >\n <div\n style="\n border-collapse: collapse;\n display: table;\n width: 100%;\n background-color: transparent;\n "\n >\n \x3c!--[if (mso)|(IE)]><table width="100%" cellpadding="0" cellspacing="0" border="0" style="background-color:transparent;"><tr><td align="center"><table cellpadding="0" cellspacing="0" border="0" style="width:500px"><tr class="layout-full-width" style="background-color:transparent"><![endif]--\x3e\n \x3c!--[if (mso)|(IE)]><td align="center" width="500" style="background-color:transparent;width:500px; border-top: 0px solid transparent; border-left: 0px solid transparent; border-bottom: 0px solid transparent; border-right: 0px solid transparent;" valign="top"><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="padding-right: 0px; padding-left: 0px; padding-top:5px; padding-bottom:5px;"><![endif]--\x3e\n <div\n class="col num12"\n style="\n min-width: 320px;\n max-width: 500px;\n display: table-cell;\n vertical-align: top;\n width: 500px;\n "\n >\n <div class="col_cont" style="width: 100% !important">\n \x3c!--[if (!mso)&(!IE)]>\x3c!--\x3e\n <div\n style="\n border-top: 0px solid transparent;\n border-left: 0px solid transparent;\n border-bottom: 0px solid transparent;\n border-right: 0px solid transparent;\n padding-top: 5px;\n padding-bottom: 5px;\n padding-right: 0px;\n padding-left: 0px;\n "\n >\n \x3c!--<![endif]--\x3e\n <table\n cellpadding="0"\n cellspacing="0"\n role="presentation"\n style="\n table-layout: fixed;\n vertical-align: top;\n border-spacing: 0;\n border-collapse: collapse;\n mso-table-lspace: 0pt;\n mso-table-rspace: 0pt;\n "\n valign="top"\n width="100%"\n >\n <tr style="vertical-align: top" valign="top">\n <td\n align="center"\n style="\n word-break: break-word;\n vertical-align: top;\n padding-bottom: 20px;\n padding-left: 10px;\n padding-right: 10px;\n padding-top: 10px;\n text-align: center;\n width: 100%;\n "\n valign="top"\n width="100%"\n >\n <h1\n style="\n color: #444445;\n direction: ltr;\n font-family: \'Helvetica Neue\', Helvetica,\n Arial, sans-serif;\n font-size: 20px;\n font-weight: normal;\n letter-spacing: normal;\n line-height: 120%;\n text-align: left;\n margin-top: 0;\n margin-bottom: 0;\n "\n >\n <strong>Verify your email address</strong>\n </h1>\n </td>\n </tr>\n </table>\n \x3c!--[if mso]><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="padding-right: 10px; padding-left: 10px; padding-top: 10px; padding-bottom: 10px; font-family: Arial, sans-serif"><![endif]--\x3e\n <div\n style="\n color: #444445;\n font-family: Arial, Helvetica Neue, Helvetica,\n sans-serif;\n line-height: 1.8;\n padding-top: 10px;\n padding-right: 10px;\n padding-bottom: 10px;\n padding-left: 10px;\n "\n >\n <div\n class="txtTinyMce-wrapper"\n style="\n font-size: 14px;\n line-height: 1.8;\n color: #444445;\n font-family: Arial, Helvetica Neue, Helvetica,\n sans-serif;\n mso-line-height-alt: 25px;\n "\n >\n <p\n style="\n margin: 0;\n font-size: 14px;\n line-height: 1.8;\n word-break: break-word;\n mso-line-height-alt: 25px;\n margin-top: 0;\n margin-bottom: 0;\n "\n >\n <span style="font-size: 14px"\n >Thank you for signing up! Please click the button below\n to verify your email address.</span\n >\n </p>\n </div>\n </div>\n \x3c!--[if mso]></td></tr></table><![endif]--\x3e\n <div\n align="center"\n class="button-container"\n style="\n padding-top: 10px;\n padding-right: 10px;\n padding-bottom: 10px;\n padding-left: 10px;\n "\n >\n \x3c!--[if mso]><table width="100%" cellpadding="0" cellspacing="0" border="0" style="border-spacing: 0; border-collapse: collapse; mso-table-lspace:0pt; mso-table-rspace:0pt;"><tr><td style="padding-top: 10px; padding-right: 10px; padding-bottom: 10px; padding-left: 10px" align="center"><v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" target="_blank" href={{validationLink}} style="height:31.5pt;width:390pt;v-text-anchor:middle;" arcsize="12%" stroke="false" fillcolor="#2270ee"><w:anchorlock/><v:textbox inset="0,0,0,0"><center style="color:#ffffff; font-family:Arial, sans-serif; font-size:14px"><!\n [endif]--\x3e<a\n href={{validationLink}}\n\t\t\t\t\t\t\ttarget="_blank"\n style="\n -webkit-text-size-adjust: none;\n text-decoration: none;\n display: block;\n color: #ffffff;\n background-color: #2270ee;\n border-radius: 5px;\n -webkit-border-radius: 5px;\n -moz-border-radius: 5px;\n width: 100%;\n width: calc(100% - 2px);\n border-top: 1px solid #2270ee;\n border-right: 1px solid #2270ee;\n border-bottom: 1px solid #2270ee;\n border-left: 1px solid #2270ee;\n padding-top: 5px;\n padding-bottom: 5px;\n font-family: \'Helvetica Neue\', Helvetica, Arial,\n sans-serif;\n text-align: center;\n mso-border-alt: none;\n word-break: keep-all;\n "\n target="_blank"\n ><span\n style="\n padding-left: 20px;\n padding-right: 20px;\n font-size: 14px;\n display: inline-block;\n letter-spacing: undefined;\n "\n ><span\n style="\n font-size: 16px;\n line-height: 2;\n word-break: break-word;\n mso-line-height-alt: 32px;\n "\n ><span\n style="font-size: 14px; line-height: 28px"\n >Verify Email</span\n ></span\n ></span\n ></a\n >\n \x3c!--[if mso]></center></v:textbox></v:roundrect></td></tr></table><![endif]--\x3e\n </div>\n \x3c!--<![endif]--\x3e\n </div>\n </div>\n \x3c!--[if (mso)|(IE)]></td></tr></table><![endif]--\x3e\n \x3c!--[if (mso)|(IE)]></td></tr></table></td></tr></table><![endif]--\x3e\n </div>\n </div>\n </div>\n \x3c!--[if (mso)|(IE)]></td></tr></table><![endif]--\x3e\n </td>\n </tr>\n </tbody>\n </table>\n \x3c!--[if (IE)]></div><![endif]--\x3e\n </body>\n</html>';var vm='<sqm-hero background="https://images.unsplash.com/photo-1599676821464-3555954838dc?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1939&q=80">\n <sqm-portal-login></sqm-portal-login>\n</sqm-hero>\n';var wm='<sqm-hero\n background="https://images.unsplash.com/photo-1599676821464-3555954838dc?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1939&q=80"\n>\n <sqm-portal-register>\n <sqm-name-fields slot="formData"></sqm-name-fields>\n </sqm-portal-register>\n</sqm-hero>\n';var xm='<sqm-hero background="https://images.unsplash.com/photo-1599676821464-3555954838dc?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1939&q=80">\n <sqm-portal-forgot-password\n email-label="Business Email"\n ></sqm-portal-forgot-password>\n</sqm-hero>\n';var ym='<sqm-portal-reset-password confirm-password="true"></sqm-portal-reset-password>\n';var Em="<sqm-portal-verify-email></sqm-portal-verify-email>\n";var qm='<sqm-portal-protected-route redirect-to="/login"></sqm-portal-protected-route>\n<sqm-portal-email-verification></sqm-portal-email-verification>\n';var Am=l((function(e,t){(function(t,n){e.exports=n()})(r,(function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||false;a.configurable=true;if("value"in a)a.writable=true;Object.defineProperty(e,a.key,a)}}function t(t,n,a){if(n)e(t.prototype,n);if(a)e(t,a);return t}function n(e,t){if(!e)return;if(typeof e==="string")return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor)n=e.constructor.name;if(n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return a(e,t)}function a(e,t){if(t==null||t>e.length)t=e.length;for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}function r(e,t){var a=typeof Symbol!=="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(a)return(a=a.call(e)).next.bind(a);if(Array.isArray(e)||(a=n(e))||t&&e&&typeof e.length==="number"){if(a)e=a;var r=0;return function(){if(r>=e.length)return{done:true};return{done:false,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var s={exports:{}};function i(){return{baseUrl:null,breaks:false,extensions:null,gfm:true,headerIds:true,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:true,pedantic:false,renderer:null,sanitize:false,sanitizer:null,silent:false,smartLists:false,smartypants:false,tokenizer:null,walkTokens:null,xhtml:false}}function o(e){s.exports.defaults=e}s.exports={defaults:i(),getDefaults:i,changeDefaults:o};var l=/[&<>"']/;var d=/[&<>"']/g;var u=/[<>"']|&(?!#?\w+;)/;var c=/[<>"']|&(?!#?\w+;)/g;var m={"&":"&","<":"<",">":">",'"':""","'":"'"};var p=function e(t){return m[t]};function h(e,t){if(t){if(l.test(e)){return e.replace(d,p)}}else{if(u.test(e)){return e.replace(c,p)}}return e}var g=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;function f(e){return e.replace(g,(function(e,t){t=t.toLowerCase();if(t==="colon")return":";if(t.charAt(0)==="#"){return t.charAt(1)==="x"?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1))}return""}))}var b=/(^|[^\[])\^/g;function v(e,t){e=e.source||e;t=t||"";var n={replace:function t(a,r){r=r.source||r;r=r.replace(b,"$1");e=e.replace(a,r);return n},getRegex:function n(){return new RegExp(e,t)}};return n}var w=/[^\w:]/g;var x=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function y(e,t,n){if(e){var a;try{a=decodeURIComponent(f(n)).replace(w,"").toLowerCase()}catch(e){return null}if(a.indexOf("javascript:")===0||a.indexOf("vbscript:")===0||a.indexOf("data:")===0){return null}}if(t&&!x.test(n)){n=k(t,n)}try{n=encodeURI(n).replace(/%25/g,"%")}catch(e){return null}return n}var E={};var q=/^[^:]+:\/*[^/]*$/;var A=/^([^:]+:)[\s\S]*$/;var D=/^([^:]+:\/*[^/]*)[\s\S]*$/;function k(e,t){if(!E[" "+e]){if(q.test(e)){E[" "+e]=e+"/"}else{E[" "+e]=R(e,"/",true)}}e=E[" "+e];var n=e.indexOf(":")===-1;if(t.substring(0,2)==="//"){if(n){return t}return e.replace(A,"$1")+t}else if(t.charAt(0)==="/"){if(n){return t}return e.replace(D,"$1")+t}else{return e+t}}var C={exec:function e(){}};function _(e){var t=1,n,a;for(;t<arguments.length;t++){n=arguments[t];for(a in n){if(Object.prototype.hasOwnProperty.call(n,a)){e[a]=n[a]}}}return e}function T(e,t){var n=e.replace(/\|/g,(function(e,t,n){var a=false,r=t;while(--r>=0&&n[r]==="\\"){a=!a}if(a){return"|"}else{return" |"}})),a=n.split(/ \|/);var r=0;if(!a[0].trim()){a.shift()}if(!a[a.length-1].trim()){a.pop()}if(a.length>t){a.splice(t)}else{while(a.length<t){a.push("")}}for(;r<a.length;r++){a[r]=a[r].trim().replace(/\\\|/g,"|")}return a}function R(e,t,n){var a=e.length;if(a===0){return""}var r=0;while(r<a){var s=e.charAt(a-r-1);if(s===t&&!n){r++}else if(s!==t&&n){r++}else{break}}return e.substr(0,a-r)}function P(e,t){if(e.indexOf(t[1])===-1){return-1}var n=e.length;var a=0,r=0;for(;r<n;r++){if(e[r]==="\\"){r++}else if(e[r]===t[0]){a++}else if(e[r]===t[1]){a--;if(a<0){return r}}}return-1}function I(e){if(e&&e.sanitize&&!e.silent){console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")}}function S(e,t){if(t<1){return""}var n="";while(t>1){if(t&1){n+=e}t>>=1;e+=e}return n+e}var N={escape:h,unescape:f,edit:v,cleanUrl:y,resolveUrl:k,noopTest:C,merge:_,splitCells:T,rtrim:R,findClosingBracket:P,checkSanitizeDeprecation:I,repeatString:S};var L=s.exports.defaults;var F=N.rtrim,O=N.splitCells,B=N.escape,G=N.findClosingBracket;function j(e,t,n,a){var r=t.href;var s=t.title?B(t.title):null;var i=e[1].replace(/\\([\[\]])/g,"$1");if(e[0].charAt(0)!=="!"){a.state.inLink=true;var o={type:"link",raw:n,href:r,title:s,text:i,tokens:a.inlineTokens(i,[])};a.state.inLink=false;return o}else{return{type:"image",raw:n,href:r,title:s,text:B(i)}}}function V(e,t){var n=e.match(/^(\s+)(?:```)/);if(n===null){return t}var a=n[1];return t.split("\n").map((function(e){var t=e.match(/^\s+/);if(t===null){return e}var n=t[0];if(n.length>=a.length){return e.slice(a.length)}return e})).join("\n")}var M=function(){function e(e){this.options=e||L}var t=e.prototype;t.space=function e(t){var n=this.rules.block.newline.exec(t);if(n){if(n[0].length>1){return{type:"space",raw:n[0]}}return{raw:"\n"}}};t.code=function e(t){var n=this.rules.block.code.exec(t);if(n){var a=n[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:n[0],codeBlockStyle:"indented",text:!this.options.pedantic?F(a,"\n"):a}}};t.fences=function e(t){var n=this.rules.block.fences.exec(t);if(n){var a=n[0];var r=V(a,n[3]||"");return{type:"code",raw:a,lang:n[2]?n[2].trim():n[2],text:r}}};t.heading=function e(t){var n=this.rules.block.heading.exec(t);if(n){var a=n[2].trim();if(/#$/.test(a)){var r=F(a,"#");if(this.options.pedantic){a=r.trim()}else if(!r||/ $/.test(r)){a=r.trim()}}var s={type:"heading",raw:n[0],depth:n[1].length,text:a,tokens:[]};this.lexer.inline(s.text,s.tokens);return s}};t.hr=function e(t){var n=this.rules.block.hr.exec(t);if(n){return{type:"hr",raw:n[0]}}};t.blockquote=function e(t){var n=this.rules.block.blockquote.exec(t);if(n){var a=n[0].replace(/^ *> ?/gm,"");return{type:"blockquote",raw:n[0],tokens:this.lexer.blockTokens(a,[]),text:a}}};t.list=function e(t){var n=this.rules.block.list.exec(t);if(n){var a,r,s,i,o,l,d,u,c,m;var p=n[1].trim();var h=p.length>1;var e={type:"list",raw:"",ordered:h,start:h?+p.slice(0,-1):"",loose:false,items:[]};p=h?"\\d{1,9}\\"+p.slice(-1):"\\"+p;if(this.options.pedantic){p=h?p:"[*+-]"}var g=new RegExp("^( {0,3}"+p+")((?: [^\\n]*| *)(?:\\n[^\\n]*)*(?:\\n|$))");while(t){if(this.rules.block.hr.test(t)){break}if(!(n=g.exec(t))){break}c=n[2].split("\n");if(this.options.pedantic){i=2;m=c[0].trimLeft()}else{i=n[2].search(/[^ ]/);i=n[1].length+(i>4?1:i);m=c[0].slice(i-n[1].length)}l=false;a=n[0];if(!c[0]&&/^ *$/.test(c[1])){a=n[1]+c.slice(0,2).join("\n")+"\n";e.loose=true;c=[]}var f=new RegExp("^ {0,"+Math.min(3,i-1)+"}(?:[*+-]|\\d{1,9}[.)])");for(o=1;o<c.length;o++){u=c[o];if(this.options.pedantic){u=u.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")}if(f.test(u)){a=n[1]+c.slice(0,o).join("\n")+"\n";break}if(!l){if(!u.trim()){l=true}if(u.search(/[^ ]/)>=i){m+="\n"+u.slice(i)}else{m+="\n"+u}continue}if(u.search(/[^ ]/)>=i||!u.trim()){m+="\n"+u.slice(i);continue}else{a=n[1]+c.slice(0,o).join("\n")+"\n";break}}if(!e.loose){if(d){e.loose=true}else if(/\n *\n *$/.test(a)){d=true}}if(this.options.gfm){r=/^\[[ xX]\] /.exec(m);if(r){s=r[0]!=="[ ] ";m=m.replace(/^\[[ xX]\] +/,"")}}e.items.push({type:"list_item",raw:a,task:!!r,checked:s,loose:false,text:m});e.raw+=a;t=t.slice(a.length)}e.items[e.items.length-1].raw=a.trimRight();e.items[e.items.length-1].text=m.trimRight();e.raw=e.raw.trimRight();var b=e.items.length;for(o=0;o<b;o++){this.lexer.state.top=false;e.items[o].tokens=this.lexer.blockTokens(e.items[o].text,[]);if(e.items[o].tokens.some((function(e){return e.type==="space"}))){e.loose=true;e.items[o].loose=true}}return e}};t.html=function e(t){var n=this.rules.block.html.exec(t);if(n){var a={type:"html",raw:n[0],pre:!this.options.sanitizer&&(n[1]==="pre"||n[1]==="script"||n[1]==="style"),text:n[0]};if(this.options.sanitize){a.type="paragraph";a.text=this.options.sanitizer?this.options.sanitizer(n[0]):B(n[0]);a.tokens=[];this.lexer.inline(a.text,a.tokens)}return a}};t.def=function e(t){var n=this.rules.block.def.exec(t);if(n){if(n[3])n[3]=n[3].substring(1,n[3].length-1);var a=n[1].toLowerCase().replace(/\s+/g," ");return{type:"def",tag:a,raw:n[0],href:n[2],title:n[3]}}};t.table=function e(t){var n=this.rules.block.table.exec(t);if(n){var a={type:"table",header:O(n[1]).map((function(e){return{text:e}})),align:n[2].replace(/^ *|\| *$/g,"").split(/ *\| */),rows:n[3]?n[3].replace(/\n$/,"").split("\n"):[]};if(a.header.length===a.align.length){a.raw=n[0];var r=a.align.length;var s,i,o,l;for(s=0;s<r;s++){if(/^ *-+: *$/.test(a.align[s])){a.align[s]="right"}else if(/^ *:-+: *$/.test(a.align[s])){a.align[s]="center"}else if(/^ *:-+ *$/.test(a.align[s])){a.align[s]="left"}else{a.align[s]=null}}r=a.rows.length;for(s=0;s<r;s++){a.rows[s]=O(a.rows[s],a.header.length).map((function(e){return{text:e}}))}r=a.header.length;for(i=0;i<r;i++){a.header[i].tokens=[];this.lexer.inlineTokens(a.header[i].text,a.header[i].tokens)}r=a.rows.length;for(i=0;i<r;i++){l=a.rows[i];for(o=0;o<l.length;o++){l[o].tokens=[];this.lexer.inlineTokens(l[o].text,l[o].tokens)}}return a}}};t.lheading=function e(t){var n=this.rules.block.lheading.exec(t);if(n){var a={type:"heading",raw:n[0],depth:n[2].charAt(0)==="="?1:2,text:n[1],tokens:[]};this.lexer.inline(a.text,a.tokens);return a}};t.paragraph=function e(t){var n=this.rules.block.paragraph.exec(t);if(n){var a={type:"paragraph",raw:n[0],text:n[1].charAt(n[1].length-1)==="\n"?n[1].slice(0,-1):n[1],tokens:[]};this.lexer.inline(a.text,a.tokens);return a}};t.text=function e(t){var n=this.rules.block.text.exec(t);if(n){var a={type:"text",raw:n[0],text:n[0],tokens:[]};this.lexer.inline(a.text,a.tokens);return a}};t.escape=function e(t){var n=this.rules.inline.escape.exec(t);if(n){return{type:"escape",raw:n[0],text:B(n[1])}}};t.tag=function e(t){var n=this.rules.inline.tag.exec(t);if(n){if(!this.lexer.state.inLink&&/^<a /i.test(n[0])){this.lexer.state.inLink=true}else if(this.lexer.state.inLink&&/^<\/a>/i.test(n[0])){this.lexer.state.inLink=false}if(!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(n[0])){this.lexer.state.inRawBlock=true}else if(this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(n[0])){this.lexer.state.inRawBlock=false}return{type:this.options.sanitize?"text":"html",raw:n[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(n[0]):B(n[0]):n[0]}}};t.link=function e(t){var n=this.rules.inline.link.exec(t);if(n){var a=n[2].trim();if(!this.options.pedantic&&/^</.test(a)){if(!/>$/.test(a)){return}var r=F(a.slice(0,-1),"\\");if((a.length-r.length)%2===0){return}}else{var s=G(n[2],"()");if(s>-1){var i=n[0].indexOf("!")===0?5:4;var o=i+n[1].length+s;n[2]=n[2].substring(0,s);n[0]=n[0].substring(0,o).trim();n[3]=""}}var l=n[2];var d="";if(this.options.pedantic){var e=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(l);if(e){l=e[1];d=e[3]}}else{d=n[3]?n[3].slice(1,-1):""}l=l.trim();if(/^</.test(l)){if(this.options.pedantic&&!/>$/.test(a)){l=l.slice(1)}else{l=l.slice(1,-1)}}return j(n,{href:l?l.replace(this.rules.inline._escapes,"$1"):l,title:d?d.replace(this.rules.inline._escapes,"$1"):d},n[0],this.lexer)}};t.reflink=function e(t,n){var a;if((a=this.rules.inline.reflink.exec(t))||(a=this.rules.inline.nolink.exec(t))){var r=(a[2]||a[1]).replace(/\s+/g," ");r=n[r.toLowerCase()];if(!r||!r.href){var s=a[0].charAt(0);return{type:"text",raw:s,text:s}}return j(a,r,a[0],this.lexer)}};t.emStrong=function e(t,n,a){if(a===void 0){a=""}var r=this.rules.inline.emStrong.lDelim.exec(t);if(!r)return;if(r[3]&&a.match(/(?:[0-9A-Za-z\xAA\xB2\xB3\xB5\xB9\xBA\xBC-\xBE\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u0660-\u0669\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07C0-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08C7\u0904-\u0939\u093D\u0950\u0958-\u0961\u0966-\u096F\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09E6-\u09F1\u09F4-\u09F9\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A66-\u0A6F\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AE6-\u0AEF\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B66-\u0B6F\u0B71-\u0B77\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0BE6-\u0BF2\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C66-\u0C6F\u0C78-\u0C7E\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CE6-\u0CEF\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D58-\u0D61\u0D66-\u0D78\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DE6-\u0DEF\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F20-\u0F33\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F-\u1049\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u1090-\u1099\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1369-\u137C\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A16\u1A20-\u1A54\u1A80-\u1A89\u1A90-\u1A99\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B50-\u1B59\u1B83-\u1BA0\u1BAE-\u1BE5\u1C00-\u1C23\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2070\u2071\u2074-\u2079\u207F-\u2089\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2150-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2CFD\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u3192-\u3195\u31A0-\u31BF\u31F0-\u31FF\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\u3400-\u4DBF\u4E00-\u9FFC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7BF\uA7C2-\uA7CA\uA7F5-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA830-\uA835\uA840-\uA873\uA882-\uA8B3\uA8D0-\uA8D9\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA900-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF-\uA9D9\uA9E0-\uA9E4\uA9E6-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD07-\uDD33\uDD40-\uDD78\uDD8A\uDD8B\uDE80-\uDE9C\uDEA0-\uDED0\uDEE1-\uDEFB\uDF00-\uDF23\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC58-\uDC76\uDC79-\uDC9E\uDCA7-\uDCAF\uDCE0-\uDCF2\uDCF4\uDCF5\uDCFB-\uDD1B\uDD20-\uDD39\uDD80-\uDDB7\uDDBC-\uDDCF\uDDD2-\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE40-\uDE48\uDE60-\uDE7E\uDE80-\uDE9F\uDEC0-\uDEC7\uDEC9-\uDEE4\uDEEB-\uDEEF\uDF00-\uDF35\uDF40-\uDF55\uDF58-\uDF72\uDF78-\uDF91\uDFA9-\uDFAF]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDCFA-\uDD23\uDD30-\uDD39\uDE60-\uDE7E\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF27\uDF30-\uDF45\uDF51-\uDF54\uDFB0-\uDFCB\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC52-\uDC6F\uDC83-\uDCAF\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD03-\uDD26\uDD36-\uDD3F\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDD0-\uDDDA\uDDDC\uDDE1-\uDDF4\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDEF0-\uDEF9\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC50-\uDC59\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE50-\uDE59\uDE80-\uDEAA\uDEB8\uDEC0-\uDEC9\uDF00-\uDF1A\uDF30-\uDF3B]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCF2\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDD50-\uDD59\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC50-\uDC6C\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD50-\uDD59\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDDA0-\uDDA9\uDEE0-\uDEF2\uDFB0\uDFC0-\uDFD4]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF50-\uDF59\uDF5B-\uDF61\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE96\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82C[\uDC00-\uDD1E\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD834[\uDEE0-\uDEF3\uDF60-\uDF78]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD40-\uDD49\uDD4E\uDEC0-\uDEEB\uDEF0-\uDEF9]|\uD83A[\uDC00-\uDCC4\uDCC7-\uDCCF\uDD00-\uDD43\uDD4B\uDD50-\uDD59]|\uD83B[\uDC71-\uDCAB\uDCAD-\uDCAF\uDCB1-\uDCB4\uDD01-\uDD2D\uDD2F-\uDD3D\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD83C[\uDD00-\uDD0C]|\uD83E[\uDFF0-\uDFF9]|\uD869[\uDC00-\uDEDD\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])/))return;var s=r[1]||r[2]||"";if(!s||s&&(a===""||this.rules.inline.punctuation.exec(a))){var i=r[0].length-1;var o,l,d=i,u=0;var c=r[0][0]==="*"?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;c.lastIndex=0;n=n.slice(-1*t.length+i);while((r=c.exec(n))!=null){o=r[1]||r[2]||r[3]||r[4]||r[5]||r[6];if(!o)continue;l=o.length;if(r[3]||r[4]){d+=l;continue}else if(r[5]||r[6]){if(i%3&&!((i+l)%3)){u+=l;continue}}d-=l;if(d>0)continue;l=Math.min(l,l+d+u);if(Math.min(i,l)%2){var m=t.slice(1,i+r.index+l);return{type:"em",raw:t.slice(0,i+r.index+l+1),text:m,tokens:this.lexer.inlineTokens(m,[])}}var p=t.slice(2,i+r.index+l-1);return{type:"strong",raw:t.slice(0,i+r.index+l+1),text:p,tokens:this.lexer.inlineTokens(p,[])}}}};t.codespan=function e(t){var n=this.rules.inline.code.exec(t);if(n){var a=n[2].replace(/\n/g," ");var r=/[^ ]/.test(a);var s=/^ /.test(a)&&/ $/.test(a);if(r&&s){a=a.substring(1,a.length-1)}a=B(a,true);return{type:"codespan",raw:n[0],text:a}}};t.br=function e(t){var n=this.rules.inline.br.exec(t);if(n){return{type:"br",raw:n[0]}}};t.del=function e(t){var n=this.rules.inline.del.exec(t);if(n){return{type:"del",raw:n[0],text:n[2],tokens:this.lexer.inlineTokens(n[2],[])}}};t.autolink=function e(t,n){var a=this.rules.inline.autolink.exec(t);if(a){var r,s;if(a[2]==="@"){r=B(this.options.mangle?n(a[1]):a[1]);s="mailto:"+r}else{r=B(a[1]);s=r}return{type:"link",raw:a[0],text:r,href:s,tokens:[{type:"text",raw:r,text:r}]}}};t.url=function e(t,n){var a;if(a=this.rules.inline.url.exec(t)){var r,s;if(a[2]==="@"){r=B(this.options.mangle?n(a[0]):a[0]);s="mailto:"+r}else{var i;do{i=a[0];a[0]=this.rules.inline._backpedal.exec(a[0])[0]}while(i!==a[0]);r=B(a[0]);if(a[1]==="www."){s="http://"+r}else{s=r}}return{type:"link",raw:a[0],text:r,href:s,tokens:[{type:"text",raw:r,text:r}]}}};t.inlineText=function e(t,n){var a=this.rules.inline.text.exec(t);if(a){var r;if(this.lexer.state.inRawBlock){r=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(a[0]):B(a[0]):a[0]}else{r=B(this.options.smartypants?n(a[0]):a[0])}return{type:"text",raw:a[0],text:r}}};return e}();var W=N.noopTest,U=N.edit,z=N.merge;var H={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?=\n|$)|$)/,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3}bull)( [^\n]+?)?(?:\n|$)/,html:"^ {0,3}(?:"+"<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)"+"|comment[^\\n]*(\\n+|$)"+"|<\\?[\\s\\S]*?(?:\\?>\\n*|$)"+"|<![A-Z][\\s\\S]*?(?:>\\n*|$)"+"|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)"+"|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n *)+\\n|$)"+"|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)"+"|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)"+")",def:/^ {0,3}\[(label)\]: *\n? *<?([^\s>]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,table:W,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html| +\n)[^\n]+)*)/,text:/^[^\n]+/};H._label=/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/;H._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/;H.def=U(H.def).replace("label",H._label).replace("title",H._title).getRegex();H.bullet=/(?:[*+-]|\d{1,9}[.)])/;H.listItemStart=U(/^( *)(bull) */).replace("bull",H.bullet).getRegex();H.list=U(H.list).replace(/bull/g,H.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+H.def.source+")").getRegex();H._tag="address|article|aside|base|basefont|blockquote|body|caption"+"|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption"+"|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe"+"|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option"+"|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr"+"|track|ul";H._comment=/<!--(?!-?>)[\s\S]*?(?:-->|$)/;H.html=U(H.html,"i").replace("comment",H._comment).replace("tag",H._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex();H.paragraph=U(H._paragraph).replace("hr",H.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",H._tag).getRegex();H.blockquote=U(H.blockquote).replace("paragraph",H.paragraph).getRegex();H.normal=z({},H);H.gfm=z({},H.normal,{table:"^ *([^\\n ].*\\|.*)\\n"+" {0,3}(?:\\| *)?(:?-+:? *(?:\\| *:?-+:? *)*)(?:\\| *)?"+"(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"});H.gfm.table=U(H.gfm.table).replace("hr",H.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",H._tag).getRegex();H.pedantic=z({},H.normal,{html:U("^ *(?:comment *(?:\\n|\\s*$)"+"|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)"+"|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",H._comment).replace(/tag/g,"(?!(?:"+"a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub"+"|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)"+"\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:W,paragraph:U(H.normal._paragraph).replace("hr",H.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",H.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var X={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:W,tag:"^comment"+"|^</[a-zA-Z][\\w:-]*\\s*>"+"|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>"+"|^<\\?[\\s\\S]*?\\?>"+"|^<![a-zA-Z]+\\s[\\s\\S]*?>"+"|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/,nolink:/^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:([punct_])|[^\s*]))|^_+(?:([punct*])|([^\s_]))/,rDelimAst:/^[^_*]*?\_\_[^_*]*?\*[^_*]*?(?=\_\_)|[punct_](\*+)(?=[\s]|$)|[^punct*_\s](\*+)(?=[punct_\s]|$)|[punct_\s](\*+)(?=[^punct*_\s])|[\s](\*+)(?=[punct_])|[punct_](\*+)(?=[punct_])|[^punct*_\s](\*+)(?=[^punct*_\s])/,rDelimUnd:/^[^_*]*?\*\*[^_*]*?\_[^_*]*?(?=\*\*)|[punct*](\_+)(?=[\s]|$)|[^punct*_\s](\_+)(?=[punct*\s]|$)|[punct*\s](\_+)(?=[^punct*_\s])|[\s](\_+)(?=[punct*])|[punct*](\_+)(?=[punct*])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:W,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,punctuation:/^([\spunctuation])/};X._punctuation="!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~";X.punctuation=U(X.punctuation).replace(/punctuation/g,X._punctuation).getRegex();X.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g;X.escapedEmSt=/\\\*|\\_/g;X._comment=U(H._comment).replace("(?:--\x3e|$)","--\x3e").getRegex();X.emStrong.lDelim=U(X.emStrong.lDelim).replace(/punct/g,X._punctuation).getRegex();X.emStrong.rDelimAst=U(X.emStrong.rDelimAst,"g").replace(/punct/g,X._punctuation).getRegex();X.emStrong.rDelimUnd=U(X.emStrong.rDelimUnd,"g").replace(/punct/g,X._punctuation).getRegex();X._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g;X._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/;X._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/;X.autolink=U(X.autolink).replace("scheme",X._scheme).replace("email",X._email).getRegex();X._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/;X.tag=U(X.tag).replace("comment",X._comment).replace("attribute",X._attribute).getRegex();X._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/;X._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/;X._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/;X.link=U(X.link).replace("label",X._label).replace("href",X._href).replace("title",X._title).getRegex();X.reflink=U(X.reflink).replace("label",X._label).getRegex();X.reflinkSearch=U(X.reflinkSearch,"g").replace("reflink",X.reflink).replace("nolink",X.nolink).getRegex();X.normal=z({},X);X.pedantic=z({},X.normal,{strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:U(/^!?\[(label)\]\((.*?)\)/).replace("label",X._label).getRegex(),reflink:U(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",X._label).getRegex()});X.gfm=z({},X.normal,{escape:U(X.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/});X.gfm.url=U(X.gfm.url,"i").replace("email",X.gfm._extended_email).getRegex();X.breaks=z({},X.gfm,{br:U(X.br).replace("{2,}","*").getRegex(),text:U(X.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()});var J={block:H,inline:X};var $=M;var K=s.exports.defaults;var Y=J.block,Z=J.inline;var Q=N.repeatString;function ee(e){return e.replace(/---/g,"—").replace(/--/g,"–").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1‘").replace(/'/g,"’").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1“").replace(/"/g,"”").replace(/\.{3}/g,"…")}function te(e){var t="",n,a;var r=e.length;for(n=0;n<r;n++){a=e.charCodeAt(n);if(Math.random()>.5){a="x"+a.toString(16)}t+="&#"+a+";"}return t}var ne=function(){function e(e){this.tokens=[];this.tokens.links=Object.create(null);this.options=e||K;this.options.tokenizer=this.options.tokenizer||new $;this.tokenizer=this.options.tokenizer;this.tokenizer.options=this.options;this.tokenizer.lexer=this;this.inlineQueue=[];this.state={inLink:false,inRawBlock:false,top:true};var t={block:Y.normal,inline:Z.normal};if(this.options.pedantic){t.block=Y.pedantic;t.inline=Z.pedantic}else if(this.options.gfm){t.block=Y.gfm;if(this.options.breaks){t.inline=Z.breaks}else{t.inline=Z.gfm}}this.tokenizer.rules=t}e.lex=function t(n,a){var r=new e(a);return r.lex(n)};e.lexInline=function t(n,a){var r=new e(a);return r.inlineTokens(n)};var n=e.prototype;n.lex=function e(t){t=t.replace(/\r\n|\r/g,"\n").replace(/\t/g," ");this.blockTokens(t,this.tokens);var n;while(n=this.inlineQueue.shift()){this.inlineTokens(n.src,n.tokens)}return this.tokens};n.blockTokens=function e(t,n){var a=this;if(n===void 0){n=[]}if(this.options.pedantic){t=t.replace(/^ +$/gm,"")}var r,s,i,o;while(t){if(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some((function(e){if(r=e.call({lexer:a},t,n)){t=t.substring(r.raw.length);n.push(r);return true}return false}))){continue}if(r=this.tokenizer.space(t)){t=t.substring(r.raw.length);if(r.type){n.push(r)}continue}if(r=this.tokenizer.code(t)){t=t.substring(r.raw.length);s=n[n.length-1];if(s&&(s.type==="paragraph"||s.type==="text")){s.raw+="\n"+r.raw;s.text+="\n"+r.text;this.inlineQueue[this.inlineQueue.length-1].src=s.text}else{n.push(r)}continue}if(r=this.tokenizer.fences(t)){t=t.substring(r.raw.length);n.push(r);continue}if(r=this.tokenizer.heading(t)){t=t.substring(r.raw.length);n.push(r);continue}if(r=this.tokenizer.hr(t)){t=t.substring(r.raw.length);n.push(r);continue}if(r=this.tokenizer.blockquote(t)){t=t.substring(r.raw.length);n.push(r);continue}if(r=this.tokenizer.list(t)){t=t.substring(r.raw.length);n.push(r);continue}if(r=this.tokenizer.html(t)){t=t.substring(r.raw.length);n.push(r);continue}if(r=this.tokenizer.def(t)){t=t.substring(r.raw.length);s=n[n.length-1];if(s&&(s.type==="paragraph"||s.type==="text")){s.raw+="\n"+r.raw;s.text+="\n"+r.raw;this.inlineQueue[this.inlineQueue.length-1].src=s.text}else if(!this.tokens.links[r.tag]){this.tokens.links[r.tag]={href:r.href,title:r.title}}continue}if(r=this.tokenizer.table(t)){t=t.substring(r.raw.length);n.push(r);continue}if(r=this.tokenizer.lheading(t)){t=t.substring(r.raw.length);n.push(r);continue}i=t;if(this.options.extensions&&this.options.extensions.startBlock){(function(){var e=Infinity;var n=t.slice(1);var r=void 0;a.options.extensions.startBlock.forEach((function(t){r=t.call({lexer:this},n);if(typeof r==="number"&&r>=0){e=Math.min(e,r)}}));if(e<Infinity&&e>=0){i=t.substring(0,e+1)}})()}if(this.state.top&&(r=this.tokenizer.paragraph(i))){s=n[n.length-1];if(o&&s.type==="paragraph"){s.raw+="\n"+r.raw;s.text+="\n"+r.text;this.inlineQueue.pop();this.inlineQueue[this.inlineQueue.length-1].src=s.text}else{n.push(r)}o=i.length!==t.length;t=t.substring(r.raw.length);continue}if(r=this.tokenizer.text(t)){t=t.substring(r.raw.length);s=n[n.length-1];if(s&&s.type==="text"){s.raw+="\n"+r.raw;s.text+="\n"+r.text;this.inlineQueue.pop();this.inlineQueue[this.inlineQueue.length-1].src=s.text}else{n.push(r)}continue}if(t){var l="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(l);break}else{throw new Error(l)}}}this.state.top=true;return n};n.inline=function e(t,n){this.inlineQueue.push({src:t,tokens:n})};n.inlineTokens=function e(t,n){var a=this;if(n===void 0){n=[]}var r,s,i;var o=t;var l;var d,u;if(this.tokens.links){var c=Object.keys(this.tokens.links);if(c.length>0){while((l=this.tokenizer.rules.inline.reflinkSearch.exec(o))!=null){if(c.includes(l[0].slice(l[0].lastIndexOf("[")+1,-1))){o=o.slice(0,l.index)+"["+Q("a",l[0].length-2)+"]"+o.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex)}}}}while((l=this.tokenizer.rules.inline.blockSkip.exec(o))!=null){o=o.slice(0,l.index)+"["+Q("a",l[0].length-2)+"]"+o.slice(this.tokenizer.rules.inline.blockSkip.lastIndex)}while((l=this.tokenizer.rules.inline.escapedEmSt.exec(o))!=null){o=o.slice(0,l.index)+"++"+o.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex)}while(t){if(!d){u=""}d=false;if(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some((function(e){if(r=e.call({lexer:a},t,n)){t=t.substring(r.raw.length);n.push(r);return true}return false}))){continue}if(r=this.tokenizer.escape(t)){t=t.substring(r.raw.length);n.push(r);continue}if(r=this.tokenizer.tag(t)){t=t.substring(r.raw.length);s=n[n.length-1];if(s&&r.type==="text"&&s.type==="text"){s.raw+=r.raw;s.text+=r.text}else{n.push(r)}continue}if(r=this.tokenizer.link(t)){t=t.substring(r.raw.length);n.push(r);continue}if(r=this.tokenizer.reflink(t,this.tokens.links)){t=t.substring(r.raw.length);s=n[n.length-1];if(s&&r.type==="text"&&s.type==="text"){s.raw+=r.raw;s.text+=r.text}else{n.push(r)}continue}if(r=this.tokenizer.emStrong(t,o,u)){t=t.substring(r.raw.length);n.push(r);continue}if(r=this.tokenizer.codespan(t)){t=t.substring(r.raw.length);n.push(r);continue}if(r=this.tokenizer.br(t)){t=t.substring(r.raw.length);n.push(r);continue}if(r=this.tokenizer.del(t)){t=t.substring(r.raw.length);n.push(r);continue}if(r=this.tokenizer.autolink(t,te)){t=t.substring(r.raw.length);n.push(r);continue}if(!this.state.inLink&&(r=this.tokenizer.url(t,te))){t=t.substring(r.raw.length);n.push(r);continue}i=t;if(this.options.extensions&&this.options.extensions.startInline){(function(){var e=Infinity;var n=t.slice(1);var r=void 0;a.options.extensions.startInline.forEach((function(t){r=t.call({lexer:this},n);if(typeof r==="number"&&r>=0){e=Math.min(e,r)}}));if(e<Infinity&&e>=0){i=t.substring(0,e+1)}})()}if(r=this.tokenizer.inlineText(i,ee)){t=t.substring(r.raw.length);if(r.raw.slice(-1)!=="_"){u=r.raw.slice(-1)}d=true;s=n[n.length-1];if(s&&s.type==="text"){s.raw+=r.raw;s.text+=r.text}else{n.push(r)}continue}if(t){var m="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(m);break}else{throw new Error(m)}}}return n};t(e,null,[{key:"rules",get:function e(){return{block:Y,inline:Z}}}]);return e}();var ae=s.exports.defaults;var re=N.cleanUrl,se=N.escape;var ie=function(){function e(e){this.options=e||ae}var t=e.prototype;t.code=function e(t,n,a){var r=(n||"").match(/\S*/)[0];if(this.options.highlight){var s=this.options.highlight(t,r);if(s!=null&&s!==t){a=true;t=s}}t=t.replace(/\n$/,"")+"\n";if(!r){return"<pre><code>"+(a?t:se(t,true))+"</code></pre>\n"}return'<pre><code class="'+this.options.langPrefix+se(r,true)+'">'+(a?t:se(t,true))+"</code></pre>\n"};t.blockquote=function e(t){return"<blockquote>\n"+t+"</blockquote>\n"};t.html=function e(t){return t};t.heading=function e(t,n,a,r){if(this.options.headerIds){return"<h"+n+' id="'+this.options.headerPrefix+r.slug(a)+'">'+t+"</h"+n+">\n"}return"<h"+n+">"+t+"</h"+n+">\n"};t.hr=function e(){return this.options.xhtml?"<hr/>\n":"<hr>\n"};t.list=function e(t,n,a){var r=n?"ol":"ul",s=n&&a!==1?' start="'+a+'"':"";return"<"+r+s+">\n"+t+"</"+r+">\n"};t.listitem=function e(t){return"<li>"+t+"</li>\n"};t.checkbox=function e(t){return"<input "+(t?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "};t.paragraph=function e(t){return"<p>"+t+"</p>\n"};t.table=function e(t,n){if(n)n="<tbody>"+n+"</tbody>";return"<table>\n"+"<thead>\n"+t+"</thead>\n"+n+"</table>\n"};t.tablerow=function e(t){return"<tr>\n"+t+"</tr>\n"};t.tablecell=function e(t,n){var a=n.header?"th":"td";var r=n.align?"<"+a+' align="'+n.align+'">':"<"+a+">";return r+t+"</"+a+">\n"};t.strong=function e(t){return"<strong>"+t+"</strong>"};t.em=function e(t){return"<em>"+t+"</em>"};t.codespan=function e(t){return"<code>"+t+"</code>"};t.br=function e(){return this.options.xhtml?"<br/>":"<br>"};t.del=function e(t){return"<del>"+t+"</del>"};t.link=function e(t,n,a){t=re(this.options.sanitize,this.options.baseUrl,t);if(t===null){return a}var r='<a href="'+se(t)+'"';if(n){r+=' title="'+n+'"'}r+=">"+a+"</a>";return r};t.image=function e(t,n,a){t=re(this.options.sanitize,this.options.baseUrl,t);if(t===null){return a}var r='<img src="'+t+'" alt="'+a+'"';if(n){r+=' title="'+n+'"'}r+=this.options.xhtml?"/>":">";return r};t.text=function e(t){return t};return e}();var oe=function(){function e(){}var t=e.prototype;t.strong=function e(t){return t};t.em=function e(t){return t};t.codespan=function e(t){return t};t.del=function e(t){return t};t.html=function e(t){return t};t.text=function e(t){return t};t.link=function e(t,n,a){return""+a};t.image=function e(t,n,a){return""+a};t.br=function e(){return""};return e}();var le=function(){function e(){this.seen={}}var t=e.prototype;t.serialize=function e(t){return t.toLowerCase().trim().replace(/<[!\/a-z].*?>/gi,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")};t.getNextSafeSlug=function e(t,n){var a=t;var r=0;if(this.seen.hasOwnProperty(a)){r=this.seen[t];do{r++;a=t+"-"+r}while(this.seen.hasOwnProperty(a))}if(!n){this.seen[t]=r;this.seen[a]=0}return a};t.slug=function e(t,n){if(n===void 0){n={}}var e=this.serialize(t);return this.getNextSafeSlug(e,n.dryrun)};return e}();var de=ie;var ue=oe;var ce=le;var me=s.exports.defaults;var pe=N.unescape;var he=function(){function e(e){this.options=e||me;this.options.renderer=this.options.renderer||new de;this.renderer=this.options.renderer;this.renderer.options=this.options;this.textRenderer=new ue;this.slugger=new ce}e.parse=function t(n,a){var r=new e(a);return r.parse(n)};e.parseInline=function t(n,a){var r=new e(a);return r.parseInline(n)};var t=e.prototype;t.parse=function e(t,n){if(n===void 0){n=true}var a="",r,s,i,o,l,d,u,c,m,p,h,g,f,b,v,w,x,y,E;var q=t.length;for(r=0;r<q;r++){p=t[r];if(this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[p.type]){E=this.options.extensions.renderers[p.type].call({parser:this},p);if(E!==false||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(p.type)){a+=E||"";continue}}switch(p.type){case"space":{continue}case"hr":{a+=this.renderer.hr();continue}case"heading":{a+=this.renderer.heading(this.parseInline(p.tokens),p.depth,pe(this.parseInline(p.tokens,this.textRenderer)),this.slugger);continue}case"code":{a+=this.renderer.code(p.text,p.lang,p.escaped);continue}case"table":{c="";u="";o=p.header.length;for(s=0;s<o;s++){u+=this.renderer.tablecell(this.parseInline(p.header[s].tokens),{header:true,align:p.align[s]})}c+=this.renderer.tablerow(u);m="";o=p.rows.length;for(s=0;s<o;s++){d=p.rows[s];u="";l=d.length;for(i=0;i<l;i++){u+=this.renderer.tablecell(this.parseInline(d[i].tokens),{header:false,align:p.align[i]})}m+=this.renderer.tablerow(u)}a+=this.renderer.table(c,m);continue}case"blockquote":{m=this.parse(p.tokens);a+=this.renderer.blockquote(m);continue}case"list":{h=p.ordered;g=p.start;f=p.loose;o=p.items.length;m="";for(s=0;s<o;s++){v=p.items[s];w=v.checked;x=v.task;b="";if(v.task){y=this.renderer.checkbox(w);if(f){if(v.tokens.length>0&&v.tokens[0].type==="paragraph"){v.tokens[0].text=y+" "+v.tokens[0].text;if(v.tokens[0].tokens&&v.tokens[0].tokens.length>0&&v.tokens[0].tokens[0].type==="text"){v.tokens[0].tokens[0].text=y+" "+v.tokens[0].tokens[0].text}}else{v.tokens.unshift({type:"text",text:y})}}else{b+=y}}b+=this.parse(v.tokens,f);m+=this.renderer.listitem(b,x,w)}a+=this.renderer.list(m,h,g);continue}case"html":{a+=this.renderer.html(p.text);continue}case"paragraph":{a+=this.renderer.paragraph(this.parseInline(p.tokens));continue}case"text":{m=p.tokens?this.parseInline(p.tokens):p.text;while(r+1<q&&t[r+1].type==="text"){p=t[++r];m+="\n"+(p.tokens?this.parseInline(p.tokens):p.text)}a+=n?this.renderer.paragraph(m):m;continue}default:{var A='Token with "'+p.type+'" type was not found.';if(this.options.silent){console.error(A);return}else{throw new Error(A)}}}}return a};t.parseInline=function e(t,n){n=n||this.renderer;var a="",r,s,i;var o=t.length;for(r=0;r<o;r++){s=t[r];if(this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[s.type]){i=this.options.extensions.renderers[s.type].call({parser:this},s);if(i!==false||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(s.type)){a+=i||"";continue}}switch(s.type){case"escape":{a+=n.text(s.text);break}case"html":{a+=n.html(s.text);break}case"link":{a+=n.link(s.href,s.title,this.parseInline(s.tokens,n));break}case"image":{a+=n.image(s.href,s.title,s.text);break}case"strong":{a+=n.strong(this.parseInline(s.tokens,n));break}case"em":{a+=n.em(this.parseInline(s.tokens,n));break}case"codespan":{a+=n.codespan(s.text);break}case"br":{a+=n.br();break}case"del":{a+=n.del(this.parseInline(s.tokens,n));break}case"text":{a+=n.text(s.text);break}default:{var l='Token with "'+s.type+'" type was not found.';if(this.options.silent){console.error(l);return}else{throw new Error(l)}}}}return a};return e}();var ge=ne;var fe=he;var be=M;var ve=ie;var we=oe;var xe=le;var ye=N.merge,Ee=N.checkSanitizeDeprecation,qe=N.escape;var Ae=s.exports.getDefaults,De=s.exports.changeDefaults,ke=s.exports.defaults;function Ce(e,t,n){if(typeof e==="undefined"||e===null){throw new Error("marked(): input parameter is undefined or null")}if(typeof e!=="string"){throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected")}if(typeof t==="function"){n=t;t=null}t=ye({},Ce.defaults,t||{});Ee(t);if(n){var a=t.highlight;var r;try{r=ge.lex(e,t)}catch(e){return n(e)}var s=function e(s){var i;if(!s){try{if(t.walkTokens){Ce.walkTokens(r,t.walkTokens)}i=fe.parse(r,t)}catch(e){s=e}}t.highlight=a;return s?n(s):n(null,i)};if(!a||a.length<3){return s()}delete t.highlight;if(!r.length)return s();var i=0;Ce.walkTokens(r,(function(e){if(e.type==="code"){i++;setTimeout((function(){a(e.text,e.lang,(function(t,n){if(t){return s(t)}if(n!=null&&n!==e.text){e.text=n;e.escaped=true}i--;if(i===0){s()}}))}),0)}}));if(i===0){s()}return}try{var o=ge.lex(e,t);if(t.walkTokens){Ce.walkTokens(o,t.walkTokens)}return fe.parse(o,t)}catch(e){e.message+="\nPlease report this to https://github.com/markedjs/marked.";if(t.silent){return"<p>An error occurred:</p><pre>"+qe(e.message+"",true)+"</pre>"}throw e}}Ce.options=Ce.setOptions=function(e){ye(Ce.defaults,e);De(Ce.defaults);return Ce};Ce.getDefaults=Ae;Ce.defaults=ke;Ce.use=function(){var e=this;for(var t=arguments.length,n=new Array(t),a=0;a<t;a++){n[a]=arguments[a]}var r=ye.apply(void 0,[{}].concat(n));var s=Ce.defaults.extensions||{renderers:{},childTokens:{}};var i;n.forEach((function(t){if(t.extensions){i=true;t.extensions.forEach((function(e){if(!e.name){throw new Error("extension name required")}if(e.renderer){var t=s.renderers?s.renderers[e.name]:null;if(t){s.renderers[e.name]=function(){for(var n=arguments.length,a=new Array(n),r=0;r<n;r++){a[r]=arguments[r]}var s=e.renderer.apply(this,a);if(s===false){s=t.apply(this,a)}return s}}else{s.renderers[e.name]=e.renderer}}if(e.tokenizer){if(!e.level||e.level!=="block"&&e.level!=="inline"){throw new Error("extension level must be 'block' or 'inline'")}if(s[e.level]){s[e.level].unshift(e.tokenizer)}else{s[e.level]=[e.tokenizer]}if(e.start){if(e.level==="block"){if(s.startBlock){s.startBlock.push(e.start)}else{s.startBlock=[e.start]}}else if(e.level==="inline"){if(s.startInline){s.startInline.push(e.start)}else{s.startInline=[e.start]}}}}if(e.childTokens){s.childTokens[e.name]=e.childTokens}}))}if(t.renderer){(function(){var e=Ce.defaults.renderer||new ve;var n=function n(a){var r=e[a];e[a]=function(){for(var n=arguments.length,s=new Array(n),i=0;i<n;i++){s[i]=arguments[i]}var o=t.renderer[a].apply(e,s);if(o===false){o=r.apply(e,s)}return o}};for(var a in t.renderer){n(a)}r.renderer=e})()}if(t.tokenizer){(function(){var e=Ce.defaults.tokenizer||new be;var n=function n(a){var r=e[a];e[a]=function(){for(var n=arguments.length,s=new Array(n),i=0;i<n;i++){s[i]=arguments[i]}var o=t.tokenizer[a].apply(e,s);if(o===false){o=r.apply(e,s)}return o}};for(var a in t.tokenizer){n(a)}r.tokenizer=e})()}if(t.walkTokens){var n=Ce.defaults.walkTokens;r.walkTokens=function(a){t.walkTokens.call(e,a);if(n){n(a)}}}if(i){r.extensions=s}Ce.setOptions(r)}))};Ce.walkTokens=function(e,t){var n=function e(){var n=s.value;t(n);switch(n.type){case"table":{for(var a=r(n.header),i;!(i=a()).done;){var o=i.value;Ce.walkTokens(o.tokens,t)}for(var l=r(n.rows),d;!(d=l()).done;){var u=d.value;for(var c=r(u),m;!(m=c()).done;){var p=m.value;Ce.walkTokens(p.tokens,t)}}break}case"list":{Ce.walkTokens(n.items,t);break}default:{if(Ce.defaults.extensions&&Ce.defaults.extensions.childTokens&&Ce.defaults.extensions.childTokens[n.type]){Ce.defaults.extensions.childTokens[n.type].forEach((function(e){Ce.walkTokens(n[e],t)}))}else if(n.tokens){Ce.walkTokens(n.tokens,t)}}}};for(var a=r(e),s;!(s=a()).done;){n()}};Ce.parseInline=function(e,t){if(typeof e==="undefined"||e===null){throw new Error("marked.parseInline(): input parameter is undefined or null")}if(typeof e!=="string"){throw new Error("marked.parseInline(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected")}t=ye({},Ce.defaults,t||{});Ee(t);try{var n=ge.lexInline(e,t);if(t.walkTokens){Ce.walkTokens(n,t.walkTokens)}return fe.parseInline(n,t)}catch(e){e.message+="\nPlease report this to https://github.com/markedjs/marked.";if(t.silent){return"<p>An error occurred:</p><pre>"+qe(e.message+"",true)+"</pre>"}throw e}};Ce.Parser=fe;Ce.parser=fe.parse;Ce.Renderer=ve;Ce.TextRenderer=we;Ce.Lexer=ge;Ce.lexer=ge.lex;Ce.Tokenizer=be;Ce.Slugger=xe;Ce.parse=Ce;var _e=Ce;return _e}))}));var Dm='# sqm-portal-login\n\n\n\n\x3c!-- Auto Generated Below --\x3e\n\n\n## Properties\n\n| Property | Attribute | Description | Type | Default |\n| --------------------- | ----------------------- | ----------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------- |\n| `demoData` | -- | | `{ states?: { error: string; loading: boolean; forgotPasswordPath: string; registerPath: string; }; content?: { forgotPasswordButton?: any; secondaryButton?: any; emailLabel?: string; passwordLabel?: string; submitLabel?: string; pageLabel?: string; }; }` | `undefined` |\n| `emailLabel` | `email-label` | | `string` | `"Email"` |\n| `forgotPasswordLabel` | `forgot-password-label` | | `string` | `"Forgot Password?"` |\n| `forgotPasswordPath` | `forgot-password-path` | Redirect participants to this page to reset their password | `string` | `"/forgotPassword"` |\n| `nextPage` | `next-page` | Redirect participants to this page after they successfully login. | `string` | `"/"` |\n| `pageLabel` | `page-label` | | `string` | `"Sign in to your account"` |\n| `passwordLabel` | `password-label` | | `string` | `"Password"` |\n| `registerLabel` | `register-label` | | `string` | `"Register"` |\n| `registerPath` | `register-path` | Redirect participants to this page to start registration. | `string` | `"/register"` |\n| `submitLabel` | `submit-label` | | `string` | `"Sign In"` |\n\n\n## Dependencies\n\n### Used by\n\n - [sqm-stencilbook](../sqm-stencilbook)\n\n### Depends on\n\n- [sqm-form-message](../sqm-form-message)\n\n### Graph\n```mermaid\ngraph TD;\n sqm-portal-login --\x3e sqm-form-message\n sqm-stencilbook --\x3e sqm-portal-login\n style sqm-portal-login fill:#f9f,stroke:#333,stroke-width:4px\n```\n\n----------------------------------------------\n\n*Built with [StencilJS](https://stenciljs.com/)*\n';var km='# sqm-referral-iframe\n\n\n\n\x3c!-- Auto Generated Below --\x3e\n\n\n## Properties\n\n| Property | Attribute | Description | Type | Default |\n| -------------- | --------------- | ----------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------ | ----------- |\n| `demoData` | -- | | `{ states?: { content: { iframeSrc: string; iframeHeight: string; iframeWidth: string; }; }; data?: { shareCode: string; }; }` | `undefined` |\n| `iframeHeight` | `iframe-height` | Define the height of the iframe with any valid CSS height value. Example: 100px, 5rem, or auto. | `string` | `"100%"` |\n| `iframeSrc` | `iframe-src` | URL of iframe to display | `string` | `undefined` |\n| `iframeWidth` | `iframe-width` | Define the width of the iframe with any valid CSS width value. Example: 100px, 5rem, or auto. | `string` | `"100%"` |\n\n\n## Dependencies\n\n### Used by\n\n - [sqm-stencilbook](../sqm-stencilbook)\n\n### Graph\n```mermaid\ngraph TD;\n sqm-stencilbook --\x3e sqm-referral-iframe\n style sqm-referral-iframe fill:#f9f,stroke:#333,stroke-width:4px\n```\n\n----------------------------------------------\n\n*Built with [StencilJS](https://stenciljs.com/)*\n';var Cm='# sqm-portal-forgot-password\n\n\n\n\x3c!-- Auto Generated Below --\x3e\n\n\n## Properties\n\n| Property | Attribute | Description | Type | Default |\n| -------------- | --------------- | ----------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------ |\n| `demoData` | -- | | `{ states?: { error: string; loading: boolean; success: boolean; loginPath: string; }; content?: { secondaryButton: any; messageSlot: any; emailLabel?: string; submitLabel?: string; }; }` | `undefined` |\n| `emailLabel` | `email-label` | | `string` | `"Email"` |\n| `headerText` | `header-text` | | `string` | `"Enter your email below to receive a password reset link."` |\n| `loginPath` | `login-path` | | `string` | `"/login"` |\n| `loginText` | `login-text` | Sign In Link Text | `string` | `"Sign In"` |\n| `redirectPath` | `redirect-path` | Redirect participants to this page after they verify their email. | `string` | `"/resetPassword"` |\n| `submitLabel` | `submit-label` | | `string` | `"Request Password Reset"` |\n\n\n## Dependencies\n\n### Depends on\n\n- [sqm-form-message](../sqm-form-message)\n\n### Graph\n```mermaid\ngraph TD;\n sqm-portal-forgot-password --\x3e sqm-form-message\n style sqm-portal-forgot-password fill:#f9f,stroke:#333,stroke-width:4px\n```\n\n----------------------------------------------\n\n*Built with [StencilJS](https://stenciljs.com/)*\n';var _m='# sqm-portal-register\n\n\n\n\x3c!-- Auto Generated Below --\x3e\n\n\n## Properties\n\n| Property | Attribute | Description | Type | Default |\n| --------------------------- | ----------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------- |\n| `confirmPassword` | `confirm-password` | | `boolean` | `false` |\n| `confirmPasswordLabel` | `confirm-password-label` | | `string` | `"Confirm Password"` |\n| `demoData` | -- | | `{ states?: { error: string; loading: boolean; confirmPassword: boolean; hideInputs: boolean; registrationFormState: RegistrationFormState; disablePasswordValidation?: boolean; loginPath: string; }; refs?: { formRef: any; }; content?: { formData?: VNode; terms?: VNode; passwordField?: VNode; secondaryButton?: VNode; emailLabel?: string; passwordLabel?: string; submitLabel?: string; pageLabel?: string; confirmPasswordLabel: string; }; }` | `undefined` |\n| `disablePasswordValidation` | `disable-password-validation` | | `boolean` | `false` |\n| `emailLabel` | `email-label` | | `string` | `"Email"` |\n| `hideInputs` | `hide-inputs` | Hides the email and password fields. Note: If you hide default inputs, you must add additional input fields. They must have the input name attributes "email" and "password" for this form to succeed. | `boolean` | `false` |\n| `loginLabel` | `login-label` | | `string` | `"Sign in"` |\n| `loginPath` | `login-path` | Redirect participants to this page after clicking the login button. | `string` | `"/login"` |\n| `nextPage` | `next-page` | Redirect participants to this page from their verification email | `string` | `"/"` |\n| `pageLabel` | `page-label` | | `string` | `"Register"` |\n| `passwordLabel` | `password-label` | | `string` | `"Password"` |\n| `redirectPath` | `redirect-path` | The page that participants are redirected to from the verification email. | `string` | `"/verifyEmail"` |\n| `submitLabel` | `submit-label` | | `string` | `"Register"` |\n\n\n## Dependencies\n\n### Used by\n\n - [sqm-stencilbook](../sqm-stencilbook)\n\n### Depends on\n\n- [sqm-form-message](../sqm-form-message)\n- [sqm-password-field](../sqm-password-field)\n\n### Graph\n```mermaid\ngraph TD;\n sqm-portal-register --\x3e sqm-form-message\n sqm-portal-register --\x3e sqm-password-field\n sqm-stencilbook --\x3e sqm-portal-register\n style sqm-portal-register fill:#f9f,stroke:#333,stroke-width:4px\n```\n\n----------------------------------------------\n\n*Built with [StencilJS](https://stenciljs.com/)*\n';var Tm='# sqm-portal-profile\n\n\n\n\x3c!-- Auto Generated Below --\x3e\n\n\n## Properties\n\n| Property | Attribute | Description | Type | Default |\n| ------------------------ | --------------------------- | ----------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ |\n| `countrytext` | `countrytext` | | `string` | `"Country"` |\n| `demoData` | -- | | `{ states?: { success: boolean; loading: boolean; submitDisabled: boolean; showCountry: boolean; formState: { country: string; firstName: string; lastName: string; errors: any; error: string; }; user: { id: string; accountId: string; firstName: string; lastName: string; email: string; countryCode: string; }; text: { firstnametext: string; lastnametext: string; emailtext: string; countrytext: string; editProfileHeader: string; editProfileSubHeader: string; submitChangeButtonText: string; }; }; }` | `undefined` |\n| `editProfileHeader` | `edit-profile-header` | | `string` | `"Edit your profile"` |\n| `editProfileSubHeader` | `edit-profile-sub-header` | | `string` | `"Personal Information"` |\n| `emailtext` | `emailtext` | | `string` | `"Email"` |\n| `firstnametext` | `firstnametext` | | `string` | `"First Name"` |\n| `hideCountry` | `hide-country` | | `boolean` | `false` |\n| `lastnametext` | `lastnametext` | | `string` | `"Last Name"` |\n| `submitChangeButtonText` | `submit-change-button-text` | | `string` | `"Submit Changes"` |\n\n\n## Dependencies\n\n### Depends on\n\n- [sqm-form-message](../sqm-form-message)\n\n### Graph\n```mermaid\ngraph TD;\n sqm-portal-profile --\x3e sqm-form-message\n style sqm-portal-profile fill:#f9f,stroke:#333,stroke-width:4px\n```\n\n----------------------------------------------\n\n*Built with [StencilJS](https://stenciljs.com/)*\n';var Rm='# sqm-portal-reset-password\n\n\n\n\x3c!-- Auto Generated Below --\x3e\n\n\n## Properties\n\n| Property | Attribute | Description | Type | Default |\n| --------------------------- | ------------------------------ | -------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------- |\n| `confirmPassword` | `confirm-password` | | `boolean` | `false` |\n| `confirmPasswordFieldLabel` | `confirm-password-field-label` | | `string` | `"Confirm Password"` |\n| `continueButtonText` | `continue-button-text` | Button text displayed after a successful password reset. | `string` | `"Continue"` |\n| `demoData` | -- | | `{ states?: { error: string; loading: boolean; reset: boolean; confirmPassword: boolean; oobCodeValidating: boolean; oobCodeValid: boolean; passwordDemoData?: PasswordFieldViewDemoProps; content: { passwordResetHeader: string; resetPasswordHeader: string; continueButtonText: string; resetPasswordButtonText: string; confirmPasswordFieldLabel: string; passwordFieldLabel: string; }; }; }` | `undefined` |\n| `failedPage` | `failed-page` | Redirect participants to this page if password reset fails due to an outdated reset attempt. | `string` | `"/"` |\n| `nextPage` | `next-page` | Redirect participants to this page when they successfully reset their password. | `string` | `"/"` |\n| `passwordFieldLabel` | `password-field-label` | | `string` | `"New Password"` |\n| `passwordResetHeader` | `password-reset-header` | Displayed after a successful password reset. | `string` | `"Password reset"` |\n| `resetPasswordButtonText` | `reset-password-button-text` | | `string` | `"Reset Password"` |\n| `resetPasswordHeader` | `reset-password-header` | | `string` | `"Reset your password"` |\n\n\n## Dependencies\n\n### Depends on\n\n- [sqm-form-message](../sqm-form-message)\n- [sqm-password-field](../sqm-password-field)\n\n### Graph\n```mermaid\ngraph TD;\n sqm-portal-reset-password --\x3e sqm-form-message\n sqm-portal-reset-password --\x3e sqm-password-field\n style sqm-portal-reset-password fill:#f9f,stroke:#333,stroke-width:4px\n```\n\n----------------------------------------------\n\n*Built with [StencilJS](https://stenciljs.com/)*\n';var Pm='# sqm-portal-email-verification\n\n\n\n\x3c!-- Auto Generated Below --\x3e\n\n\n## Properties\n\n| Property | Attribute | Description | Type | Default |\n| ------------------------- | --------------------------- | ----------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `demoData` | -- | | `{ states?: { error: string; loading: boolean; success: boolean; }; content?: { email: string; verifyMessage: string; emailVerificationHeader: string; resendEmailButtonText: string; }; }` | `undefined` |\n| `emailVerificationHeader` | `email-verification-header` | | `string` | `"Verify your email"` |\n| `redirectPath` | `redirect-path` | Redirect participants to this page from their verification email. | `string` | `"/verifyEmail"` |\n| `resendEmailButtonText` | `resend-email-button-text` | | `string` | `"Re-send Email"` |\n| `verifyMessage` | `verify-message` | | `string` | `"A verification email was sent to {email}. Please verify your email to continue to the portal. Resending an email will invalidate the previous email."` |\n\n\n## Dependencies\n\n### Depends on\n\n- [sqm-form-message](../sqm-form-message)\n\n### Graph\n```mermaid\ngraph TD;\n sqm-portal-email-verification --\x3e sqm-form-message\n style sqm-portal-email-verification fill:#f9f,stroke:#333,stroke-width:4px\n```\n\n----------------------------------------------\n\n*Built with [StencilJS](https://stenciljs.com/)*\n';var Im='# sqm-portal-verify-email\n\n\n\n\x3c!-- Auto Generated Below --\x3e\n\n\n## Properties\n\n| Property | Attribute | Description | Type | Default |\n| ------------ | ------------- | ------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ----------- |\n| `demoData` | -- | | `{ states?: { error: string; loading: boolean; verified: boolean; }; data?: { oobCode: string; }; }` | `undefined` |\n| `failedPage` | `failed-page` | Redirect participants to this page if verification fails due to an outdated verification attempt. | `string` | `"/"` |\n| `nextPage` | `next-page` | Redirect participants to this page when they successfully verify their email. | `string` | `"/"` |\n\n\n## Dependencies\n\n### Depends on\n\n- [sqm-form-message](../sqm-form-message)\n\n### Graph\n```mermaid\ngraph TD;\n sqm-portal-verify-email --\x3e sqm-form-message\n style sqm-portal-verify-email fill:#f9f,stroke:#333,stroke-width:4px\n```\n\n----------------------------------------------\n\n*Built with [StencilJS](https://stenciljs.com/)*\n';var Sm={title:"Templates / Portal"};function Nm(e){var t=i(e),n=t[0],a=t[1];var r=i(e),s=r[0],o=r[1];return{states:{previewTemplate:s,editedTemplate:n},callbacks:{setEditedTemplate:a,setPreviewTemplate:o}}}function Lm(e){var n=e.states,a=e.callbacks,r=e.readme;return[t("textarea",{style:{width:"100%",height:"300px"},onChange:function(e){return a.setEditedTemplate(e.target.value)}},n.editedTemplate),t("button",{onClick:function(){return a.setPreviewTemplate(n.editedTemplate)}},"Update Preview"),r?t("details",null,t("summary",null,"Props readme"),t("div",{innerHTML:Am(r)})):"",t("div",{innerHTML:n.previewTemplate})]}function Fm(e){var n=e.callbacks,a=e.states,r=e.template;return t("div",null,t("button",{onClick:function(){return n.setPreviewTemplate(a.editedTemplate)}},"Update Preview"),t("button",{style:{marginLeft:"10px"},onClick:function(){return n.setPreviewTemplate(r)}},"Preview Dashboard"))}function Om(e){var n=e.states,a=e.callbacks;return t("div",{style:{height:"50vh"}},t("textarea",{style:{width:"100%",height:"300px"},onChange:function(e){return a.setEditedTemplate(e.target.value)}},n.editedTemplate),t(Fm,{states:n,callbacks:a,template:e.template}),t("h2",null,"Navigation"),t("div",{style:{display:"grid",gridTemplateColumns:"repeat(9, 80px)",gridGap:"10px"}},t("button",{onClick:function(){return u.push("/")}},"Dashboard"),e.leadSubmit&&t("button",{onClick:function(){return u.push("/refer")}},"Submit a Referral"),t("button",{onClick:function(){return u.push("/activity")}},"Activity"),t("button",{onClick:function(){return u.push("/editProfile")}},"Edit Profile"),t("button",{onClick:function(){return u.push("/login")}},"Login"),t("button",{onClick:function(){return u.push("/register")}},"Register"),t("button",{onClick:function(){return u.push("/emailVerification")}},"Email Verification"),t("button",{onClick:function(){return u.push("/verifyEmail")}},"Verify Email"),t("button",{onClick:function(){return u.push("/forgotPassword")}},"Forgot Password"),t("button",{onClick:function(){return u.push("/resetPassword")}},"Reset Password")),t("br",null),t("div",{innerHTML:n.previewTemplate}))}var Bm=Vr((function(){var e=Nm(im),n=e.states,a=e.callbacks;return t(Om,{states:n,callbacks:a,template:dm})}));var Gm=Vr((function(){var e=Nm(um),n=e.states,a=e.callbacks;return t(Om,{states:n,callbacks:a,template:cm})}));var jm=Vr((function(){var e=Nm(om),n=e.states,a=e.callbacks;return t(Om,{states:n,callbacks:a,template:lm,leadSubmit:true})}));var Vm=Vr((function(){var e=Nm(vm),n=e.states,a=e.callbacks;return t(Lm,{states:n,callbacks:a,readme:Dm})}));var Mm=Vr((function(){var e=Nm(xm),n=e.states,a=e.callbacks;return t(Lm,{states:n,callbacks:a,readme:Cm})}));var Wm=Vr((function(){var e=Nm(wm),n=e.states,a=e.callbacks;return t(Lm,{states:n,callbacks:a,readme:_m})}));var Um=Vr((function(){var e=Nm(mm),n=e.states,a=e.callbacks;return t(Lm,{states:n,callbacks:a})}));var zm=Vr((function(){var e=Nm(pm),n=e.states,a=e.callbacks;return t(Lm,{states:n,callbacks:a,readme:km})}));var Hm=Vr((function(){var e=Nm(gm),n=e.states,a=e.callbacks;return t(Lm,{states:n,callbacks:a})}));var Xm=Vr((function(){var e=Nm(hm),n=e.states,a=e.callbacks;return t(Lm,{states:n,callbacks:a,readme:Tm})}));var Jm=Vr((function(){var e=Nm(ym),n=e.states,a=e.callbacks;return t(Lm,{states:n,callbacks:a,readme:Rm})}));var $m=Vr((function(){var e=Nm(qm),n=e.states,a=e.callbacks;return t(Lm,{states:n,callbacks:a,readme:Pm})}));var Km=Vr((function(){var e=Nm(Em),n=e.states,a=e.callbacks;return t(Lm,{states:n,callbacks:a,readme:Im})}));var Ym=Vr((function(){return t("sqb-widget",{"widget-type":"p/Vacay-referral/w/referrerWidget",demoData:{data:{html:mm}}})}));var Zm=Vr((function(){var e=Nm(fm),n=e.states,a=e.callbacks;return t(Lm,{states:n,callbacks:a})}));var Qm=Vr((function(){var e=Nm(bm),n=e.states,a=e.callbacks;return t(Lm,{states:n,callbacks:a})}));var ep=Object.freeze({__proto__:null,default:Sm,DefaultPortal:Bm,MultiProgramPortal:Gm,LeadSubmitPortal:jm,Login:Vm,ForgotPassword:Mm,Register:Wm,Dashboard:Um,LeadSubmitIframe:zm,Activity:Hm,EditProfile:Xm,ResetPassword:Jm,EmailVerification:$m,EmailVerified:Km,Widget:Ym,ResetPasswordEmail:Zm,VerifyEmail:Qm});var tp={title:"Components/Program Menu"};var np=Vr((function(){return t("sqm-program-menu",null,t("sl-menu-item",{value:"referral-program"},"Referral Program"))}));var ap=Vr((function(){return t("sqm-program-menu",null,t("sl-menu-item",{value:"referral-program"},"Referral Program"),t("sl-menu-item",{value:"partner-program"},"Partner Program"))}));var rp=Vr((function(){return t("sqm-program-menu",null,t("sl-menu-item",{value:"program1"},"Program 1"),t("sl-menu-item",{value:"program2"},"Program 2"),t("sl-menu-item",{value:"program3"},"Program 3"),t("sl-menu-item",{value:"program4"},"Program 4"),t("sl-menu-item",{value:"program5"},"Program 5"))}));var sp=Vr((function(){return t("div",null,t("sqb-program-section",{"program-id":"Vacay-referral"},t("sqm-program-menu",null,t("sl-menu-item",{value:"Vacay-referral"},"Vacay-referral"),t("sl-menu-item",{value:"vacay-affiliates"},"vacay-affiliates")),t("sqb-program-switch",null,t("template",{"program-id":"Vacay-referral"},t("sqb-widget",{"widget-type":"p/Vacay-referral/w/referrerWidget",demoData:{data:{html:mm}}})),t("template",{"program-id":"vacay-affiliates"},t("sqb-widget",{"widget-type":"p/vacay-affiliates/w/referrerWidget",demoData:{data:{html:mm}}})))))}));var ip=Object.freeze({__proto__:null,default:tp,OneProgram:np,TwoProgram:ap,FiveProgram:rp,ProgramMenuWithSwitch:sp});var op={title:"Powered By"};var lp=function(){return t(D,null)};var dp=function(){return t(D,{color:"salmon"})};var up=function(){return t(D,{width:300,height:50})};var cp=Object.freeze({__proto__:null,default:op,Default:lp,CustomColor:dp,CustomWidthAndHeight:up});var mp='Feature: Portal Footer\n\n Background: A user is viewing the portal\n Given a hosted portal\n And a user is viewing the portal\n And the portal has a footer\n\n Scenario Outline: FAQ and T&C links/text are configurable and open in a new page when clicked\n Given the footer has prop "terms-link" with value "https://example.com/terms"\n And prop "terms-text" with value "Terms and Conditions"\n And prop "faq-link" with value "https://example.com/FAQ"\n And prop "faq-text" with value "Visit FAQ"\n When a user clicks on the "Visit FAQ" link\n Then they will be redirected to "https://example.com/FAQ" in a new page\n When they go back to the portal\n And click on the "Terms and Conditions" link\n Then they will be redirected to "https://example.com/terms" in a new page\n\n Scenario Outline: FAQ/T&C Links are not shown if a link is not provided\n Given the footer does not have <linkProp>\n But it <mayHave> <textProp> with <value>\n Then the <link> will not be shown in the footer\n Examples:\n | linkProp | mayHave | textProp | value | link |\n | terms-link | has | termsText | Terms and Conditions | T&C Link |\n | faq-link | has | faqText | Visit FAQ | FAQ Link |\n | terms-link | doesn\'t have | | | T&C Link |\n | faq-link | doesn\'t have | | | FAQ Link |\n\n Scenario Outline: The support email and text is configurable but has a default\n Given the footer <mayHave> <emailPropWithValue>\n And the footer <mayAlsoHave> <textPropWithValue>\n Then the footer\'s support email text is <renderedEmailText>\n And the email address will be a mailto link with <mailtoEmail>\n When the user clicks on the email address mailto Link\n Then the users preferred email client will open with a draft email to <mailtoEmail>\n Examples:\n | mayHave | emailPropWithValue | mayAlsoHave | textPropWithValue | mailtoEmail | renderedEmailText |\n | has | support@saasquatch.com | has | For support please contact {email} | support@saasquatch.com | For support please contact support@saasquatch.com |\n | doesn\'t have | N/A | doesn\'t have | N/A | support@example.com | For program support, contact support@example.com |\n\n Scenario Outline: Powered by SaaSquatch is shown by default\n Given the footer <mayHaveProp> "hide-powered-by" with <value>\n Then the powered by SaaSquatch image <mayBeShown>\n Examples:\n | mayHaveProp | value | mayBeShown |\n | has prop | true | isn\'t shown |\n | has prop | false | is shown |\n | has prop | test | isn\'t shown |\n | has prop | | isn\'t shown |\n | doesn\'t have prop | | is shown |\n\n Scenario: Powered By Saasquatch links out to "https://saasquatch.com"\n Given the footer has the powered by SaaSquatch image\n When a user clicks on it\n Then they will be redirected to "https://saasquatch.com" in a new page';var pp={title:"Components/Portal Footer",parameters:{scenario:mp}};var hp={supportEmail:"support@example.com",supportText:"For program support, contact {email}",hidePoweredBy:false,poweredByLink:"https://saasquatch.com",paddingTop:"large",paddingRight:"large",paddingBottom:"large",paddingLeft:"large"};var gp=function(){return t(k,Object.assign({},hp))};var fp=function(){return t(k,Object.assign({},hp,{termsLink:"https://example.com",termsText:"Terms and Conditions"}))};var bp=function(){return t(k,Object.assign({},hp,{faqLink:"https://example.com",faqText:"FAQ"}))};var vp=function(){return t(k,Object.assign({},hp,{termsLink:"https://example.com",termsText:"Terms and Conditions",faqLink:"https://example.com",faqText:"FAQ"}))};var wp=function(){return t(k,Object.assign({},hp,{termsLink:"https://example.com",termsText:"Terms and Conditions",faqLink:"https://example.com",faqText:"FAQ",hidePoweredBy:true}))};var xp=Object.freeze({__proto__:null,default:pp,DefaultFooter:gp,FooterWithTerms:fp,FooterWithFAQ:bp,FooterWithTermsAndFAQ:vp,FooterNoPoweredBy:wp});var yp='Feature: Hero Unit\n\n Background: A portal with a hero unit exists\n Given a hosted portal\n And the portal has hero unit on the login page\n And a user is viewing the login page\n\n Scenario: The hero unit defaults to a single column layout\n Given a hero unit does not have a "columns" prop\n But the following html is wrapped by the hero unit\n """\n <sqm-portal-login></sqm-portal-login>\n <div slot="secondary-column">\n <h1 style="text-align:center">Get Referring!</h1>\n <p style="text-align:center">\n Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do\n eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim\n ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut\n aliquip ex ea commodo consequat. Duis aute irure dolor in\n reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla\n pariatur.\n </p>\n </div>\n """\n Then only a single column will be displayed\n And within it will be the login component\n\n Scenario Outline: The hero unit supports single or dual column layouts\n Given a hero unit with prop "columns" having <columnValue>\n And it wraps <html>\n Then the hero unit displays <columnValue> columns\n Examples:\n | columnValue | html |\n | 1 | <h1>Column 1!</h1> |\n | 2 | <h1>Column 1!</h1><div slot="secondary-column"><h1 style="text-align:center">Column 2!</h1></div> |\n\n Scenario: HTML to be displayed in the second column comes from the "secondary-column" slot\n Given a hero unit with "columns" "2"\n And the following html\n """\n <h1>Column 1!</h1>\n <div>\n <h1 style="text-align:center">Column 2!</h1>\n </div>\n """\n When the hero unit is rendered\n Then only one column is displayed with content\n And column 1 will contain the "Column 1!" text\n And column 1 will contain the "Column 2!" text\n When the div for column two is updated to have \'slot="secondary-column"\'\n Then the two columns are displayed with content\n And column 1 will contain the "Column 1!" text\n And column 2 will contain the "Column 2!" text\n\n Scenario Outline: A background for the hero unit can be set as an image or colour\n Given a hero unit with <backgroundPropValue>\n Then the background will be <background>\n Examples:\n | background | background |\n | https://images.unsplash.com/photo-1599676821464-3555954838d | image of misty mountains |\n | LightSlateGrey | light slate grey |\n | #00FF00 | green |\n | rgb(128,0,128) | purple |\n\n Scenario Outline: Wrap Direction can be configured for mobile experiences\n Given a hero unit with the following HTML\n """\n <h1>Column 1!</h1>\n <div slot="secondary-column">\n <h1 style="text-align:center">Column 2!</h1>\n </div>\n """\n And prop "wrap-direction" has <value>\n When the window width is less than 600px\n Then the two columns will stack\n And <column> will be on top\n Examples:\n | value | column |\n | wrap | 1 |\n | wrap-reverse | 2 |\n | | 1 |';var Ep={title:"Components/Hero Layout",parameters:{scenario:yp}};var qp=function(){var e={states:{columns:1,wrapDirection:"wrap",paddingSize:"large"},content:{primaryColumn:[t("h1",{style:{textAlign:"center"}},"Get Referring!"),t("sqm-portal-login",null)]}};return t("div",{style:{height:"800px"}},t(x,Object.assign({},e)))};var Ap=function(){var e={states:{columns:1,wrapDirection:"wrap",paddingSize:"large",background:"LightSlateGrey"},content:{primaryColumn:t("sqm-portal-login",null)}};return t("div",{style:{height:"800px"}},t(x,Object.assign({},e)))};var Dp=function(){var e={states:{columns:1,wrapDirection:"wrap",paddingSize:"large",background:"https://images.unsplash.com/photo-1599676821464-3555954838dc?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1939&q=80"},content:{primaryColumn:t("sqm-portal-login",null)}};return t("div",{style:{height:"800px"}},t(x,Object.assign({},e)))};var kp=function(){var e={states:{columns:2,wrapDirection:"wrap",paddingSize:"large",background:"https://images.unsplash.com/photo-1599676821464-3555954838dc?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1939&q=80",secondaryBackground:"LightSlateGrey"},content:{primaryColumn:t("sqm-portal-login",null),secondaryColumn:t("div",null,t("h1",{style:{textAlign:"center"}},"Get Referring!"),t("p",null,"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur."))}};return t("div",{style:{height:"800px"}},t(x,Object.assign({},e)))};var Cp=function(){var e={states:{columns:2,wrapDirection:"wrap",paddingSize:"medium",background:"https://images.unsplash.com/photo-1599676821464-3555954838dc?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1939&q=80",secondaryBackground:"LightSlateGrey"},content:{primaryColumn:t("sqm-portal-login",null),secondaryColumn:t("div",null,t("h1",{style:{textAlign:"center"}},"Get Referring!"),t("p",null,"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur."))}};return t("div",{style:{height:"800px"}},t(x,Object.assign({},e)))};var _p=function(){var e={states:{columns:2,wrapDirection:"wrap",paddingSize:"small",background:"https://images.unsplash.com/photo-1599676821464-3555954838dc?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1939&q=80",secondaryBackground:"LightSlateGrey"},content:{primaryColumn:t("sqm-portal-login",null),secondaryColumn:t("div",null,t("h1",{style:{textAlign:"center"}},"Get Referring!"),t("p",null,"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur."))}};return t("div",{style:{height:"800px"}},t(x,Object.assign({},e)))};var Tp=function(){var e={states:{columns:2,wrapDirection:"wrap",paddingSize:"none",background:"https://images.unsplash.com/photo-1599676821464-3555954838dc?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1939&q=80",secondaryBackground:"LightSlateGrey"},content:{primaryColumn:t("sqm-portal-login",null),secondaryColumn:t("div",null,t("h1",{style:{textAlign:"center"}},"Get Referring!"),t("p",null,"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur."))}};return t("div",{style:{height:"800px"}},t(x,Object.assign({},e)))};var Rp=function(){var e={states:{columns:2,wrapDirection:"wrap-reverse",background:"LightSlateGrey",paddingSize:"large",secondaryBackground:"https://images.unsplash.com/photo-1599676821464-3555954838dc?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1939&q=80"},content:{primaryColumn:t("sqm-portal-change-password",null),secondaryColumn:t("div",null,t("h1",{style:{textAlign:"center"}},"Get Referring!"),t("p",null,"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur."))}};return t("div",{style:{height:"800px"}},t(x,Object.assign({},e)))};var Pp=function(){var e={states:{columns:2,wrapDirection:"wrap",paddingSize:"large"},content:{primaryColumn:t("div",null,t("h1",{style:{textAlign:"center"}},"Get Referring!"),t("sqm-portal-login",null)),secondaryColumn:t("div",null,t("img",{src:"https://images.unsplash.com/photo-1487528278747-ba99ed528ebc?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=2070&q=80"}),t("p",null,"Pellentesque mauris urna, lacinia non turpis sed, pulvinar congue ligula. Sed mattis condimentum eros nec vulputate. Cras consectetur eget libero at viverra. Aliquam suscipit feugiat ante sit amet sagittis. Fusce pulvinar interdum odio ut dapibus. Nulla aliquet ultricies augue nec dignissim. Morbi vulputate hendrerit sem."))}};return t("div",{style:{height:"800px"}},t(x,Object.assign({},e)))};var Ip=Object.freeze({__proto__:null,default:Ep,LoginOneColumn:qp,LoginOneColumnWithColor:Ap,LoginOneColumnWithImage:Dp,TwoColumnLoginLargePadding:kp,TwoColumnLoginMediumPadding:Cp,TwoColumnLoginSmallPadding:_p,TwoColumnLoginNoPadding:Tp,TwoColumnLoginReverseWrap:Rp,TwoColumnLoginWithImgElement:Pp});var Sp='@owner:sam\n@author:sam\n\nFeature: Referral Iframe\n\n Used to provide an external form for submitting referral leads using the current user\'s referral code\n\n Background: A user is logged in\n Given there is a logged in user\n\n @motivating\n Scenario: Referral code is passed to the iframe as a query parameter\n Given the "iframe-src" is "https://example.com"\n And the user has navigated to "/refer"\n And the user\'s referral code is "BOBBYREFER"\n When the iframe content is loaded\n Then the iframe url will be "https://example.com?rsCode=BOBBYREFER"\n\n @ui\n Scenario Outline: The height and width of the iFrame can be controlled via props\n Given the "iframe-src" is "https://example.com"\n And the iframe content is 1000x1000\n And the "iframe-height" is set to <heightValue>\n And the "iframe-width" is set to <widthValue>\n Then the content of the iframe will be displayed with scrollbars\n And the dimension of the iFrame displayed will be 500x500\n When the "iframe-height" is set to <heightValue>\n And the "iframe-width" is set to <widthValue>\n Then the full content of the iframe will be displayed on the page\n And the dimension of the iFrame displayed will be 1000x1000\n Examples:\n | heightValue | widthValue |\n | 500px | 500px |\n | 50% | 50% |\n\n @minutae\n Scenario Outline: The iFrame will fail fast if a iFrame source isn\'t provided\n Given "iframe-src" <mayBeAnAttribute>\n And it <mayHaveValue>\n When a user views the referral iFrame component\n Then an alert with an error message is displayed in place of the iFrame\n And it has a details section\n When "More details" is clicked\n Then the following information will be displayed\n | component being used |\n | missing attribute(s) |\n\n Examples:\n | mayBeAnAttribute | mayHaveValue |\n | is not an attribute | N/A |\n | is an attribute | "" |\n | is an attribute | |';var Np={title:"Components/Referral Iframe",parameters:{scenario:Sp}};var Lp={data:{shareCode:"BOBBYREFER"},states:{content:{iframeSrc:"https://example.com",iframeHeight:"100%",iframeWidth:"100%"}}};var Fp=function(){return t("div",{style:{width:"1000px",height:"1000px"}},t(X,Object.assign({},Lp)))};var Op=function(){return t("div",{style:{width:"1000px",height:"1000px"}},t("sqm-referral-iframe",null))};var Bp=Object.freeze({__proto__:null,default:Np,ReferralIframe:Fp,ReferralIframeError:Op});var Gp='@owner:sam\n@author:sam\n\nFeature: Name Fields\n\n Fields to be used to fill the first and last name of a user during registration\n\n Background:\n Given the current page is "/register"\n\n @motivating\n Scenario: Both first name and last name are required\n Given the email field has valid input\n And the password field has valid input\n And first name field is empty\n And last name field is empty\n When register is clicked\n Then the name fields will be highlighted in red\n And the error messages will say "Cannot be empty"\n\n @motivating\n Scenario: First and last name are upserted with the SaaSquatch user\n Given all fields have been filled with data\n | firstName | lastName | email | password |\n | Bob | Testerson | bob@example.com | SecurePassword1 |\n When register is clicked\n Then the email verification page will be loaded\n And the user will be upserted\n And the SaaSquatch user will contain data\n | firstName | lastName | email |\n | Bob | Testerson | bob@example.com |\n\n';var jp={title:"Components/Name Fields",parameters:{scenario:Gp}};var Vp={states:{registrationFormState:{validationErrors:undefined},content:{firstNameLabel:"First Name",lastNameLabel:"Last Name"}}};var Mp={states:{registrationFormState:{validationErrors:{firstName:"Cannot be empty",lastName:"Cannot be empty"}},content:{firstNameLabel:"First Name",lastNameLabel:"Last Name"}}};var Wp=function(){return t(J,Object.assign({},Vp))};var Up=function(){return t(J,Object.assign({},Mp))};var zp=Object.freeze({__proto__:null,default:jp,NameFields:Wp,NameFieldsWithErrors:Up});var Hp='@owner:sam\n@author:sam\nFeature: Checkbox Field\n\n Field to be used to be used as a checkbox during registration. A motivating use case is to use this component as a terms\n and conditions field, to sastisfy legal requirements that a customer might have for their end users.\n\n Background: A user is on the portal registration page\n Given a user is viewing the "/register"\n And "/register" contains the registration form\n And the registration form has the following fields\n | fields |\n | first name |\n | last name |\n | email |\n | password |\n | checkbox |\n\n @motivating\n Scenario: Checkbox is required by default\n Given the user is filling out the registration form\n And the name fields have valid input\n And the email field has valid input\n And the password field has valid input\n And the checkbox is not checked\n When they try to register\n Then the checkbox is highlighted in red\n And the error message says "Must be checked"\n\n @landmine\n Scenario: Checkboxes with the same "checkbox-name" are not submitted in the form data\n Given the register form has the following html\n """\n <sqm-portal-register>\n <sqm-name-fields slot="formData"></sqm-name-fields>\n <sqm-checkbox-field\n slot="formData"\n checkbox-label="I am not a robot"\n error-message="Cannot be a robot"\n checkbox-name="isHuman"\n ></sqm-checkbox-field>\n <div slot="terms">\n <sqm-checkbox-field checkbox-name="isHuman"></sqm-checkbox-field>\n </div>\n </sqm-portal-register>\n """\n And the checkboxes are checked\n When the user tries to register\n Then the form is submitted\n But no field with key "isHuman" is included in the form data\n\n @motivating\n Scenario: Multiple checkboxes need different "checkbox-name" values\n Given the register form has the following html\n """\n <sqm-portal-register>\n <sqm-name-fields slot="formData"></sqm-name-fields>\n <sqm-checkbox-field\n slot="formData"\n checkbox-label="I am not a robot"\n error-message="Cannot be a robot"\n checkbox-name="isHuman"\n ></sqm-checkbox-field>\n <div slot="terms">\n <sqm-checkbox-field checkbox-name="myCheckbox"></sqm-checkbox-field>\n </div>\n </sqm-portal-register>\n """\n And the checkboxes are not checked\n When the user tries to register\n Then both checkboxes are bordered in red\n And the checkboxes have different error messages\n When the user checks the boxes\n And tries to register\n Then the form is submitted\n And the following fields are included in the form data\n | feilds |\n | isHuman |\n | myCheckbox |\n\n @motivating\n Scenario: Checkboxes can be optional\n Given the register form has the following html\n """\n <sqm-portal-register>\n <sqm-name-fields slot="formData"></sqm-name-fields>\n <sqm-checkbox-field\n slot="formData"\n checkbox-label="I am not a robot"\n checkbox-optional="true"\n checkbox-name="isHuman"\n />\n </sqm-portal-register>\n """\n And the checkbox is not checked\n When the user tries to register\n Then there is no error for the checkbox\n\n @minutae\n Scenario Outline: Validation error message is configurable\n The error message string is evaluated as an ICU string, but currently is provided no context\n Given the checkbox is required\n And the checkbox has prop "error-message" with <propValue>\n When the user tries to register\n But they havent checked the checkbox\n Then they see <errorMessage> below\n Examples:\n | propValue | errorMessage |\n | | Must be checked |\n | My Custom Message | My Custom Message |\n\n @motivating\n Scenario Outline: Checkbox text and link are configurable\n Given the checkbox has the following prop values\n | prop | value |\n | checkbox-label | <labelText> |\n | checkbox-label-link | <labelLink> |\n | checkbox-label-link-text | <labelLinkText> |\n When the user views the checkbox\n Then they see <text>\n And when they click <labelLinkText> they are redirected to <labelLink>\n #First example below is the defaults set by the controller\n Examples:\n | labelText | labelLinkText | labelLink | text |\n | By signing up you agree to the {labelLink} | Terms and Conditions | https://example.com | By signing up you agree to the Terms and Conditions |\n | Read our {labelLink} before registration | Terms of Service | https://example.com/terms | Read our Terms of Service before registration |\n | By registering you agree to our terms and conditions | N/A | N/A | By registering you agree to our terms and conditions |\n\n @motivating\n Scenario: The form field name attribute is configurable\n Given the checkbox has prop "checkbox-name" with value "myCheckBox"\n When the user checks the box\n And they register\n Then the boolean value of the checkbox is submitted under "myCheckBox" field\n\n @minutae\n Scenario Outline: The checkbox field component fails fast if a checkbox name isn\'t provided\n Given the checkbox <mayHave> prop "checkbox-name"\n And it <mayHavePropValue>\n When a user views the checkbox\n Then an alert with an error message is displayed in place of the checkbox\n And it has a details section\n When "More details" is clicked\n Then the following information is displayed\n | information |\n | component being used |\n | missing attribute(s) |\n Examples:\n | mayBeAnAttribute | mayHavePropValue |\n | doesn\'t have | N/A |\n | has | "" |\n | has | |';var Xp={title:"Components/Checkbox Field",parameters:{scenario:Hp}};var Jp={states:{registrationFormState:{validationErrors:{}},checked:false},content:{checkboxName:"agree",checkboxLabel:"By signing up you agree to the {labelLink}",checkboxLabelLink:"https://example.com",checkboxLabelLinkText:"Terms and Conditions",errorMessage:"Must be checked"},callbacks:{setChecked:function(){}}};var $p={states:{registrationFormState:{},error:"",loading:false,confirmPassword:true,hideInputs:false,loginPath:"/login"},callbacks:{submit:function(){return console.log("Submit!")},inputFunction:function(){}},refs:{formRef:{}},content:{pageLabel:"Register",confirmPasswordLabel:"Confirm Password"}};var Kp=Vr((function(){return t($,Object.assign({},Jp))}));var Yp=Vr((function(){return t($,Object.assign({},Jp,{states:__assign(__assign({},Jp.states),{checked:true})}))}));var Zp=Vr((function(){return t($,Object.assign({},Jp,{content:__assign(__assign({},Jp.content),{checkboxLabel:"I Agree"})}))}));var Qp=Vr((function(){return t($,Object.assign({},Jp,{states:__assign(__assign({},Jp.states),{registrationFormState:{validationErrors:{agree:"Must be checked"}}})}))}));var eh=Vr((function(){return t($,Object.assign({},Jp,{states:__assign(__assign({},Jp.states),{registrationFormState:{validationErrors:{agree:"Must be checked"}}}),content:__assign(__assign({},Jp.content),{errorMessage:"This checkbox must be checked to continue"})}))}));var th=Vr((function(){return t(U,Object.assign({},$p,{content:__assign(__assign({},$p.content),{terms:t("p",null,t("sqm-checkbox-field",null))})}))}));var nh=Vr((function(){return t(U,Object.assign({},$p,{content:__assign(__assign({},$p.content),{terms:t("p",null,"By signing up you agree to the"," ",t("a",{href:"https://example.com",target:"_blank"},"Terms and Conditions"),t("sqm-checkbox-field",{"checkbox-label":"I agree"}))})}))}));var ah=Vr((function(){return t(U,Object.assign({},$p,{content:__assign(__assign({},$p.content),{terms:t("sqm-checkbox-field",{"checkbox-label":"Participants must be at least 18 years of age and a legal resident of the U.S. or Canada. By signing up to participate in the rewards program, you agree to the {labelLink}.","checkbox-label-link":"https://www.example.com","checkbox-label-link-text":"terms","checkbox-name":"termsAndConditions"})})}))}));var rh=Object.freeze({__proto__:null,default:Xp,Default:Kp,DefaultChecked:Yp,CustomLabel:Zp,Error:Qp,CustomError:eh,TermsAndConditions:th,TermsAndConditionsCustomLabel:nh,TermsAndConditionsLongCustomLabel:ah});var sh={title:"Hooks / useCheckboxField",parameters:{scenario:Hp}};function ih(){var e="testestest";var t=e;var n="sam-partner-test-2";window.widgetIdent={tenantAlias:"test_a8b41jotf8a1v",appDomain:"https://staging.referralsaasquatch.com",programId:n};o((function(){m({accountId:t,id:e,jwt:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InRlc3Rlc3Rlc3QiLCJpZCI6InRlc3Rlc3Rlc3QifX0.qYnU5hNeIj9C_G3NogfG7btgCPGZC7JRXY0MG6a63zs"});return function(){window.widgetIdent=undefined;m(undefined)}}),[]);return{id:e,accountId:t}}var oh=Vr((function(){ih();return t("sqm-portal-register",null,t("div",{slot:"terms"},t("sqm-checkbox-field",{"checkbox-name":"terms"})))}));var lh=Vr((function(){ih();return t("sqm-portal-register",null,t("div",{slot:"terms"},t("sqm-checkbox-field",{"checkbox-label":"I agree","checkbox-name":"terms"})))}));var dh=Vr((function(){ih();return t("sqm-portal-register",null,t("sqm-name-fields",{slot:"formData"}),t("sqm-checkbox-field",{slot:"formData","checkbox-label":"I am not a robot","error-message":"Cannot be a robot","checkbox-name":"isHuman"}),t("div",{slot:"terms"},t("sqm-checkbox-field",{"checkbox-name":"otherCheckbox"})))}));var uh=Vr((function(){ih();return t("sqm-portal-register",null,t("sqm-name-fields",{slot:"formData"}),t("sqm-checkbox-field",{slot:"formData","checkbox-label":"I am not a robot","checkbox-optional":"true","checkbox-name":"isHuman"}),t("div",{slot:"terms"},t("sqm-checkbox-field",{"checkbox-name":"required"})))}));var ch=Vr((function(){ih();return t("sqm-portal-register",null,t("div",{slot:"terms"},t("sqm-checkbox-field",null)))}));var mh=Object.freeze({__proto__:null,default:sh,TermsAndConditions:oh,TermsAndConditionsWithLabel:lh,MultipleCheckboxes:dh,OptionalCheckboxes:uh,MissingName:ch});var ph={title:"Components/Dropdown Field"};var hh={states:{registrationFormState:{}},content:{dropdownName:"options",dropdownLabel:"Select an option",errorMessage:"Must select an option",selectOptions:[t("sl-menu-item",{value:"option-1"},"Option 1"),t("sl-menu-item",{value:"option-2"},"Option 2"),t("sl-menu-item",{value:"option-3"},"Option 3")]}};var gh=Vr((function(){return t(K,Object.assign({},hh))}));var fh=Vr((function(){return t(K,Object.assign({},hh,{content:__assign(__assign({},hh.content),{dropdownLabel:"Pick your favorite"})}))}));var bh=Vr((function(){return t(K,Object.assign({},hh,{states:__assign(__assign({},hh.states),{registrationFormState:{validationErrors:{options:"Must select an option"}}})}))}));var vh=Vr((function(){return t(K,Object.assign({},hh,{content:__assign(__assign({},hh.content),{errorMessage:"An option must be selected to continue"}),states:__assign(__assign({},hh.states),{registrationFormState:{validationErrors:{options:"Must select an option"}}})}))}));var wh=Object.freeze({__proto__:null,default:ph,Default:gh,CustomLabel:fh,Error:bh,CustomError:vh});var xh={title:"Hooks / useDropdownField"};function yh(){var e="testestest";var t=e;var n="sam-partner-test-2";window.widgetIdent={tenantAlias:"test_a8b41jotf8a1v",appDomain:"https://staging.referralsaasquatch.com",programId:n};o((function(){m({accountId:t,id:e,jwt:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InRlc3Rlc3Rlc3QiLCJpZCI6InRlc3Rlc3Rlc3QifX0.qYnU5hNeIj9C_G3NogfG7btgCPGZC7JRXY0MG6a63zs"});return function(){window.widgetIdent=undefined;m(undefined)}}),[]);return{id:e,accountId:t}}var Eh=Vr((function(){yh();return t("sqm-portal-register",null,t("sqm-dropdown-field",{slot:"formData","dropdown-label":"Select an option","dropdown-name":"options"},t("sl-menu-item",{value:"option-1"},"Option 1"),t("sl-menu-item",{value:"option-2"},"Option 2"),t("sl-menu-item",{value:"option-3"},"Option 3")))}));var qh=Vr((function(){yh();return t("sqm-portal-register",null,t("sqm-dropdown-field",{slot:"formData","dropdown-label":"Country","dropdown-name":"countryCode"},t("sl-menu-item",{value:"CA"},"Canada"),t("sl-menu-item",{value:"US"},"United States"),t("sl-menu-item",{value:"GB"},"United Kingdom")))}));var Ah=Vr((function(){yh();return t("sqm-portal-register",null,t("sqm-dropdown-field",{slot:"formData","dropdown-label":"Country"},t("sl-menu-item",{value:"CA"},"Canada"),t("sl-menu-item",{value:"US"},"United States"),t("sl-menu-item",{value:"GB"},"United Kingdom")))}));var Dh=Object.freeze({__proto__:null,default:xh,SelectOptions:Eh,Countries:qh,MissingName:Ah});var kh='@author:derek\n@owner:derek\nFeature: Form Input Field\n\n This component is used as a custom registration field during registration. The field can be text,\n a date or phone number. A motivating use case is to ask for a users company name, this value would then be mapped\n through the Managed Identity Service and upserted on the user after registration.\n\n Background: A user exists and is viewing the hosted portal registration\n Given a user is viewing "/register"\n And "/register" contains the registration form\n And the registration form has a custom input field\n\n @motivating\n Scenario Outline: Input fields are required by default but can be optional\n Given the input has prop "field-optional" with <value>\n And the input is empty\n When the user tries to register\n Then the input <mayBe> highlighted in red\n And an error message <mayAppear> in red below\n And form submission <mayBe> blocked\n Examples:\n | value | mayBe | mayAppear |\n | false | is | appears |\n | | is | appears |\n | true | isn\'t | doesn\'t appear |\n\n @motivating\n Scenario: Input field labels are configurable\n Given the input has prop "field-label" with value "My Custom Input"\n When the user views the registration form\n Then they see the input field\n And it has label "My Custom Input" above the input\n\n @minutae\n Scenario Outline: The validation error message is configurable\n The error message string is evaluated as an ICU string, but currently is provided no context\n Given the input is required\n And it has prop "error-message" with <value>\n When the user tries to register\n But they haven\'t filled in the input\n Then they see <errorMessage> below\n Examples:\n | value | errorMessage |\n | | Cannot be empty |\n | My Custom Message | My Custom Message |\n\n @motivating\n Scenario: Form data attribute name is configurable\n Given the input has prop "field-name" with value "myCustomField"\n When the user types "testing testing" into the input\n And they register\n Then "testing testing" is submitted under "myCustomField" in the form data\n\n @motivating\n Scenario Outline: The input field is a text input by default\n Given the input <mayHave> prop "field-type" with <value>\n When the user views the input field\n Then it is a text input\n Examples:\n | mayHave | value |\n | has | text |\n | doesn\'t have | |\n\n @motivating\n Scenario: Date type inputs are supported\n Given the input has prop "field-type" "date"\n When the user views the input field\n Then they see "mm/dd/yyyy" as a placeholder\n And they see a calendar icon on the right\n When they start typing a date\n Then it maintains the "mm/dd/yyyy" format\n When they click the calendar icon\n Then a dropdown appears\n And they see a calendar\n When they select a date\n Then it is applied to the input\n\n @landmine\n Scenario: The clear text button in the date picker does not clear the date\n Due to an incompatibility between our shoelace version and the browser, the clear funtionality is not supported currently\n Given the input has prop "field-type" "date"\n And the user has entered a date\n When they click the calendar icon\n And click the \'clear\' text button\n Then their selected date is not cleared\n\n @motivating\n Scenario: Phone number type inputs are supported\n Given the input has prop "field-type" with value "tel"\n When the user starts typing a phone number in the input\n Then it is formatted into the following form "(XXX) XXX-XXXX"\n When they pre-fix their phone number with a "1"\n Then it is formatted into the following form "1 (XXX) XXX-XXXX"\n\n @landmine\n Scenario: Telephone formatting is removed after 10 numbers\n Given a user using a phone number input field\n And they entered their 10 character phone number\n And it was not prefixed with a 1\n When they add another character\n Then the formatting is removed\n\n @landmine\n Scenario Outline: Input values are always recorded as strings in the form data\n Given the input has prop "field-type" with <value>\n And it has a "field-name"\n When the user inputs <formInput>\n And they register\n Then <formData> is recorded in the form data as a string\n Examples:\n | value | formInput | formData |\n | text | Hello there | Hello there |\n | date | 05/07/2021 | 2021-05-07 |\n | tel | (250) 234-9877 | (250) 234-9877 |\n\n @minutae\n Scenario Outline: The input field component fails fast if a field name isn\'t provided\n Given the input <mayHave> prop "field-name"\n And it <mayHavePropValue>\n When a user views the input\n Then an alert with an error message is displayed in place of the input\n And it has a details section\n When "More details" is clicked\n Then the following information is displayed\n | information |\n | component being used |\n | missing attribute(s) |\n Examples:\n | mayBeAnAttribute | mayHavePropValue |\n | doesn\'t have | N/A |\n | has | "" |\n | has | |';var Ch={title:"Components/Input Field",parameters:{scenario:kh}};var _h={states:{registrationFormState:{validationErrors:{}}},content:{fieldName:"field",fieldLabel:"My Custom Input",fieldType:"text",fieldOptional:true,errorMessage:"Cannot be empty"}};var Th={states:{registrationFormState:{},error:"",loading:false,confirmPassword:true,hideInputs:false,loginPath:"/login"},callbacks:{submit:function(){return console.log("Submit!")},inputFunction:function(){}},refs:{formRef:{}},content:{pageLabel:"Register",confirmPasswordLabel:"Confirm Password"}};var Rh=function(){return t(Y,Object.assign({},_h))};var Ph=function(){return t(Y,Object.assign({},_h,{content:__assign(__assign({},_h.content),{fieldLabel:"My Label"})}))};var Ih=function(){return t(Y,Object.assign({},_h,{states:__assign(__assign({},_h.states),{registrationFormState:{validationErrors:{field:"Cannot be empty"}}})}))};var Sh=function(){return t(Y,Object.assign({},_h,{content:__assign(__assign({},_h.content),{errorMessage:"A value must be entered to continue"}),states:__assign(__assign({},_h.states),{registrationFormState:{validationErrors:{field:"Cannot be empty"}}})}))};var Nh=function(){return t(Y,Object.assign({},_h,{content:__assign(__assign({},_h.content),{fieldLabel:"Date",fieldType:"date"})}))};var Lh=function(){return t(Y,Object.assign({},_h,{content:__assign(__assign({},_h.content),{fieldLabel:"Phone Number",fieldType:"tel"})}))};var Fh=function(){return t(U,Object.assign({},Th,{content:__assign(__assign({},Th.content),{formData:t(Y,Object.assign({},_h))})}))};var Oh=function(){return t(U,Object.assign({},Th,{content:__assign(__assign({},Th.content),{formData:t(Y,Object.assign({},_h,{content:__assign(__assign({},_h.content),{fieldLabel:"Data"})}))})}))};var Bh=Object.freeze({__proto__:null,default:Ch,Default:Rh,CustomLabel:Ph,Error:Ih,CustomError:Sh,DateType:Nh,TelType:Lh,RegistrationField:Fh,RegistrationFieldCustomLabel:Oh});var Gh={title:"Hooks / useInputField",parameters:{scenario:kh}};function jh(){var e="testestest";var t=e;var n="sam-partner-test-2";window.widgetIdent={tenantAlias:"test_a8b41jotf8a1v",appDomain:"https://staging.referralsaasquatch.com",programId:n};o((function(){m({accountId:t,id:e,jwt:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InRlc3Rlc3Rlc3QiLCJpZCI6InRlc3Rlc3Rlc3QifX0.qYnU5hNeIj9C_G3NogfG7btgCPGZC7JRXY0MG6a63zs"});return function(){window.widgetIdent=undefined;m(undefined)}}),[]);return{id:e,accountId:t}}var Vh=Vr((function(){jh();return t("sqm-portal-register",null,t("div",{slot:"formData"},t("sqm-input-field",{"field-name":"myData"})))}));var Mh=Vr((function(){jh();return t("sqm-portal-register",null,t("div",{slot:"formData"},t("sqm-input-field",{"field-label":"Custom Label","field-name":"myData"})))}));var Wh=Vr((function(){jh();return t("sqm-portal-register",null,t("sqm-name-fields",{slot:"formData"}),t("sqm-input-field",{slot:"formData","field-label":"Field One","field-name":"fieldOne"}),t("sqm-input-field",{slot:"formData","field-label":"Field Two","field-name":"fieldTwo"}))}));var Uh=Vr((function(){jh();return t("sqm-portal-register",null,t("sqm-name-fields",{slot:"formData"}),t("sqm-input-field",{slot:"formData","field-label":"Optional Field","field-optional":"true","field-name":"optionalField"}))}));var zh=Vr((function(){jh();return t("sqm-portal-register",null,t("sqm-name-fields",{slot:"formData"}),t("sqm-input-field",{slot:"formData","field-label":"Date","field-name":"date","field-type":"date"}))}));var Hh=Vr((function(){jh();return t("sqm-portal-register",null,t("sqm-name-fields",{slot:"formData"}),t("sqm-input-field",{slot:"formData","field-label":"Phone Number","field-name":"tel","field-type":"tel"}))}));var Xh=Vr((function(){jh();return t("sqm-portal-register",null,t("sqm-name-fields",{slot:"formData"}),t("sqm-input-field",{slot:"formData","field-label":"Phone Number","field-type":"tel"}))}));var Jh=Object.freeze({__proto__:null,default:Gh,FormData:Vh,FormDataWithLabel:Mh,MultipleInputs:Wh,OptionalInputs:Uh,DateType:zh,TelType:Hh,MissingName:Xh});var $h='@author:derek\n@owner:derek\nFeature: Reward Exchange List\n\n The Reward Exchange List gives end users the power to exchange their rewards for other rewards.\n It populates a list from the reward exchange rules set up on a given tenant.\n\n Background:\n Given a tenant with reward exchange rules\n\n @motivating\n @ui\n Scenario: The empty state is shown if there are no visible exchanges\n Given a user with no visible exchanges\n When they view the reward exchange\n Then no exchange options are displayed\n And they see an image of a present\n And "Redeem Rewards" in bold\n And "Use your points to redeem rewards once they become available" below the bolded text\n And the pagination buttons are disabled\n\n @minutae\n @ui\n Scenario: A custom empty state can be provided\n Given a user with no visible exchanges\n And a custom empty state has been supplied in the "empty" slot\n When they view the reward exchange\n Then they see the custom empty state\n\n @motivating\n @ui\n Scenario: A Loading Skeleton is displayed when the reward exchange rules are loading\n Given a user\n When they load the reward exchange list\n Then they see a loading Skeleton\n And it has 8 skeleton cards\n When the reward exchange rules have loaded\n Then the skeleton is replaced with reward exchange options\n\n @motivating\n Scenario: An error banner appears when the reward exchange list fails to load\n Given a user trying to view the reward exchange list\n But it fails to load\n Then an error banner is displayed\n And it displays "Unable to load reward exchange list. Please try again"\n\n @motivating\n @ui\n Scenario: The exchange progress bar progresses through the exchange process\n Given a user who is eligible for the tenants reward exchange rules\n When they view the reward exchange list\n Then the process bar displays the following elements\n | elements |\n | Step 1 `Rewards` title in black |\n | Step 1 circle with green outline, white fill and number 1 in green |\n | Step 2 `Select` title in grey |\n | Step 2 circle with grey fill and number 2 in white |\n | Step 3 `Confirm` title in grey |\n | Step 3 circle with grey fill and number 3 in white |\n | lines between all steps are greyed out |\n When they continue to the selection page\n Then the progress bar displays the following elements\n | elements |\n | Step 1 `Rewards` title in black |\n | Step 1 circle with white checkmark and green fill |\n | Step 2 `Select` title in black |\n | Step 2 circle with green outline, white fill and number 2 in green |\n | Step 3 `Confirm` title in grey |\n | Step 3 circle with grey fill and number 3 in white |\n | Green line between step 1 and 2 |\n | Grey line between step 2 and 3 |\n When they continue to the confirmation page\n Then the progress bar displays the following elements\n | elements |\n | Step 1 `Rewards` title in black |\n | Step 1 circle with white checkmark and green fill |\n | Step 2 `Select` title in black |\n | Step 2 circle with white checkmark and green fill |\n | Step 3 `Confirm` title in black |\n | Step 3 circle with green outline, white fill and number 3 in green |\n | Green line between all steps |\n When they continue to the redemption page\n Then the progress bar displays the following elements\n | elements |\n | Step 1 `Rewards` title in black |\n | Step 1 circle with white checkmark and green fill |\n | Step 2 `Select` title in black |\n | Step 2 circle with white checkmark and green fill |\n | Step 3 `Confirm` title in black |\n | Step 3 circle with white checkmark and green fill |\n | Green line between all steps |\n\n @motivating\n Scenario: Users must choose a reward exchange option to continue to the selection page\n Given a user who is eligible for the tenants reward exchange rules\n When they view the reward exchange list\n Then the \'Continue\' button is disabled\n When they select a reward exchange card\n Then the card is outlined in brand colour with a brand colour cirlcular check box icon in the top right\n And the continue button is no longer disabled\n When they click "Continue"\n Then they are brought to the selection page\n\n @motivating\n @ui\n Scenario: Reward exchange rule names and images are used in the reward exchange cards\n Given a tenant reward exchange rule\n And it has name "My Visa Exchange Rule"\n And it has an image\n When a user views the reward exchange list\n Then they see a exchange card with title "My Visa Exchange Rule"\n And the exchange image on the left hand side of the card\n\n @motivating\n Scenario Outline: Reward exchange source values are displayed on reward exchange cards\n Given a <type> reward exchange rule\n When a user views the reward exchange list\n Then they see <text> under the name on the exchange option cards\n And the pretty values are localized to a user locale\n Examples:\n | type | text |\n | FIXED_GLOBAL_REWARD | the exchange source pretty value |\n | STEPPED_FIXED_GLOBAL_REWARD | the exchange source min pretty value to the source max pretty value |\n | VARIABLE_GLOBAL_REWARD | the exchange source min pretty value to the source max pretty value |\n | VARIABLE_CREDIT_REWARD | the exchange source min pretty value to the source max pretty value |\n\n @motivating\n Scenario Outline: Reward exchange cards can display customized error messages\n Given a reward exchange rule\n And it has <availabilityPredicate>\n And the reward exchange list has prop "not-available-error" with <value>\n When the user views the reward exchange list\n Then the card for the reward exchange rule is disabled\n And <message> is displayed\n Examples:\n | availabilityPredicate | value | message |\n | \'champion\' in user.segments ? "NOT_CHAMPION" : true | {unavailableReasonCode, select, NOT_CHAMPION {Sorry must be a champion!} other {unavailableReasonCode} } | Sorry must be a champion! |\n | user.customFields.purchaseCount < 10 ? "MORE_PURCHASE" : true | {unavailableReasonCode, select, MORE_PURCHASE {Complete 10 purchases to unlock} other {unavailableReasonCode} } | Complete 10 purchases to unlock |\n\n @motivating\n Scenario: Exchange options are disabled if they put a user over the W9 limit\n Given a user who is approaching their W9 limit\n And a reward exchange rule\n And its destination reward has a US taxable value that would put the user over their limit\n When they view the reward exchange list\n Then the reward exchange card is disabled\n And a "US Tax Limit" error message is displayed on to the right of a exclamation triangle icon\n And the text is orange\n And the icon is orange\n\n @motivating\n Scenario Outline: Exchange options are disabled if a users lacks enough credit to redeem\n Given a <type> reward exchange rule\n But the user lacks enough credit to exchange for it\n When they view the reward exchange list\n Then the reward exchange card is disabled\n And a <text> error message is displayed on to the right of a exclamation triangle icon\n And the text is orange\n And the icon is orange\n Examples:\n | type | text |\n | FIXED_GLOBAL_REWARD | {prettySourceValue} required |\n | STEPPED_FIXED_GLOBAL_REWARD | {prettySourceMinValue} required |\n | VARIABLE_GLOBAL_REWARD | {prettySourceMinValue} required |\n | VARIABLE_CREDIT_REWARD | {prettySourceMinValue} required |\n\n @motivating\n Scenario: Users can go back to the Rewards page from the Select page\n Given a user viewing the Select page\n Then they see a "Cancel" text button\n And a "Continue to confirmation" brand colour button in the bottom right corner\n When they click "Cancel"\n Then they return to the Rewards page\n\n @motivating\n Scenario: Users can go back to the Select Page from the Confirm page\n Given a user viewing the Confirm page\n Then they see a "Back" text button\n And a "Redeem" brand colour button in the bottom right corner\n When they click "Back"\n Then they return to the Select Page\n\n @motivating\n Scenario: Reward rules with visibility predicates that evaluates to false are not shown\n Given a tenant reward exchange rule with visibility predicates that evaluates to false\n When a user views the reward exchange list\n Then they do not see the card for that reward exchange rule\n\n @motivating\n Scenario Outline: Users can choose their reward option for variable rewards on the Select page\n Given a <type> exchange rule\n And it has the following fields\n | fields |\n | name |\n | description |\n | image |\n When a user views the reward exchange list\n And they progress to the Select page for this exchange\n Then they see the exchange rule image on the left hand side\n And on the right hand side they see the following in this order from top to bottom\n | elements |\n | exchange name |\n | exchange description |\n | select list with all exchange options using pretty values, destination reward above source reward |\n Examples:\n | type |\n | STEPPED_FIXED_GLOBAL_REWARD |\n | VARIABLE_GLOBAL_REWARD |\n | VARIABLE_CREDIT_REWARD |\n\n @motivating\n Scenario: Users who selected a fixed exchange rule see exchange information on the Select page\n Given a "FIXED_GLOBAL_REWARD" exchange rule\n And it has the following fields\n | fields |\n | name |\n | description |\n | image |\n When a user views the reward exchange list\n And they progress to the Select page for this exchange\n Then they see the exchange rule image on the left hand side\n And on the right hand side they see the following in this order from top to bottom\n | elements |\n | exchange name |\n | exchange source pretty value displayed in brand colour |\n | exchange description |\n\n @motivating\n Scenario Outline: Users selection variable rewards can only select rewards they are eligible to exchange for\n Given a <type> exchange rule\n When a user views the reward exchange list\n And they progress to the Select page for this exchange\n Then they see a drop down with all the reward exchange selections\n When they click on the drop down\n But they are not eligible for all of the exchanges options <dueToReason>\n Then the ineligble options are disabled\n And under the source value is <text>\n Examples:\n | type | dueToReason | text |\n | STEPPED_FIXED_GLOBAL_REWARD | due to insufficent source value | {prettySourceValue} required |\n | VARIABLE_GLOBAL_REWARD | due to insufficent source value | {prettySourceValue} required |\n | VARIABLE_CREDIT_REWARD | due to insufficent source value | {prettySourceValue} required |\n | STEPPED_FIXED_GLOBAL_REWARD | W9 | US Tax Limit |\n | VARIABLE_GLOBAL_REWARD | W9 | US Tax Limit |\n | VARIABLE_CREDIT_REWARD | W9 | US Tax Limit |\n\n @motivating\n Scenario Outline: The Confirm page allows users to view their exchange before committing\n Given a <type> exchange rule\n When a user views the reward exchange list\n And they select the exchange\n And they progress to Confirm page\n Then they see a row with title "Reward"\n And it contains the exchange name\n And it contains the exchange image\n And they <maySee> a row with title "Reward Amount"\n And it <mayContain> <amountTitle>\n And they see a row with title "Cost to Redeem"\n And it contains the source reward pretty value in bolded text\n Examples:\n | type | maySee | mayContain | amountTitle |\n | FIXED_GLOBAL_REWARD | don\'t | doesn\'t contain | N/A |\n | VARIABLE_GLOBAL_REWARD | see | contains | the pretty destination value |\n | STEPPED_FIXED_GLOBAL_REWARD | see | contains | the pretty destination value |\n | VARIABLE_CREDIT_REWARD | see | contains | the pretty destination value |\n\n @motivating\n Scenario: An error banner is displayed if an error occurs during redemeption\n Given a user has selected a reward to exchange\n And is on the confirmation page\n When they click "Redeem"\n But an error occurs\n Then an error banner appears\n And it contains details about the error\n And the reward exchange is not completed\n\n @motivating\n Scenario: Confetti is displayed when a reward exchange succeeds\n Given a user has selected a reward to exchange\n And they are on the confirmation page\n When they click "Redeem"\n And the exchange is successful\n Then they see confetti centered on the success page\n And they see text describing what they exchanged for their new reward\n And they see a "Done" brand colour button\n When they click "Done"\n Then they see the Rewards page\n\n @motivating\n Scenario: Fuel tank codes are shown when a reward exchange succeeds\n Given a user has selected to exchange for a fuel tank reward\n When they complete the reward exchange\n And are on the success page\n Then they see a textbox with their fuel tank code\n And a clipboard icon\n When they click the clipboard icon\n Then their fuel tank code is copied to their clipboard\n\n @motivating\n Scenario Outline: Users can exchange for any type of reward\n Given a <type> reward exchange rule for a <reward>\n And a user who has enough source credit to exchange for the reward\n When they go through the exchange flow\n And exchange for their reward\n Then their credit is exchanged for the <reward>\n Examples:\n | type | reward |\n | FIXED_GLOBAL_REWARD | gift card |\n | FIXED_GLOBAL_REWARD | fuel tank code |\n | FIXED_GLOBAL_REWARD | discount |\n | FIXED_GLOBAL_REWARD | credit reward |\n | STEPPED_FIXED_GLOBAL_REWARD | gift card |\n | STEPPED_FIXED_GLOBAL_REWARD | discount |\n | STEPPED_FIXED_GLOBAL_REWARD | credit reward |\n | VARIABLE_GLOBAL_REWARD | gift card |\n | VARIABLE_GLOBAL_REWARD | discount |\n | VARIABLE_GLOBAL_REWARD | credit reward |\n | VARIABLE_CREDIT_REWARD | credit reward |';var Kh={title:"Components/Reward Exchange List",parameters:{scenario:$h}};var Yh=function(e){return function(){return t(Z,Object.assign({},e))}};var Zh=Yh(fe);var Qh=Yh(Q);var eg=Yh(ee);var tg=Yh(te);var ng=Yh(ne);var ag=Yh(ae);var rg=Yh(re);var sg=Yh(se);var ig=Yh(ie);var og=Yh(oe);var lg=Yh(le);var dg=Yh(de);var ug=Yh(ue);var cg=Yh(ce);var mg=Yh(me);var pg=Yh(pe);var hg=Yh(he);var gg=Yh(ge);var fg=Object.freeze({__proto__:null,default:Kh,ChooseReward:Zh,CustomErrorMessage:Qh,LongTextRewardExhange:eg,ChooseRewardSelected:tg,ChooseAmount:ng,ChooseAmountNoDescription:ag,ChooseAmountVariableAndStepped:rg,ChooseAmountVariableAndSteppedNoDescription:sg,chooseAmountVariableAndSteppedDisabled:ig,chooseAmountVariableAndSteppedUnavailable:og,Confirm:lg,ConfirmVariableAndStepped:dg,RedemptionError:ug,QueryError:cg,SuccessPromo:mg,SuccessVariableAndStepped:pg,Loading:hg,Empty:gg});var bg='@author:derek\n@owner:derek\nFeature: Program Explainer\n\n @motivating\n @ui\n Scenario Outline: The program explainer wraps program explainer steps and aligns them\n Given a program explainer component\n And it has <number> program explainer steps as components\n When a user views the program explainer\n Then they see <number> steps aligned horizontally\n And they have equal height/width\n And equal padding in between\n When they are viewed on a screen smaller than 500px\n Then the steps stack vertically with equal padding in between\n And they have equal width\n But height may vary\n Examples:\n | number |\n | 2 |\n | 3 |\n | 4 |\n\n @motivating\n @ui\n Scenario: The program explainer displays a section header\n Given a program explainer step with props\n | prop | value |\n | header | My Header |\n And it has program explainer steps as children\n When a user views the program explainer\n Then they see "My Header" centered above the explainer steps\n\n @motivating\n @ui\n Scenario: Colours are customizable\n Given a program explainer with props\n | prop | value |\n | text-color | purple |\n | background-color | grey |\n When a user views the program explainer\n Then the header is purple\n And the background between steos is grey\n';var vg={title:"Components/Program Explainer",parameters:{scenario:bg}};var wg=function(){return t("sqm-program-explainer",{header:"How it works"},t("sqm-program-explainer-step",{header:"Get up to $1250 for inviting friends to Klip",description:"Share your referral link with a friend and earn up to $1250",icon:"person-plus-fill"}))};var xg=function(){return t("sqm-program-explainer",{header:"How it works"},t("sqm-program-explainer-step",{header:"Get up to $1250 for inviting friends to Klip",description:"Share your referral link with a friend and earn up to $1250",icon:"person-plus-fill"}),t("sqm-program-explainer-step",{header:"Earn points for using Klip",description:"Complete tasks like uploading your first video or sharing videos with friends",icon:"server"}))};var yg=function(){return t("sqm-program-explainer",{header:"How it works"},t("sqm-program-explainer-step",{header:"Get up to $1250 for inviting friends to Klip",description:"Share your referral link with a friend and earn up to $1250",icon:"person-plus-fill"}),t("sqm-program-explainer-step",{header:"Earn points for using Klip",description:"Complete tasks like uploading your first video or sharing videos with friends",icon:"server"}),t("sqm-program-explainer-step",{header:"Redeem rewards with your points",description:"Redeem rewards like one free month of Klip Enterprise or two plane tickets to anywhere in North America",icon:"people-fill"}))};var Eg=function(){return t("sqm-program-explainer",{header:"How it works","text-color":"#fffc4b","background-color":"#ff7f7f"},t("sqm-program-explainer-step",{header:"Get up to $1250 for inviting friends to Klip",description:"Share your referral link with a friend and earn up to $1250",icon:"person-plus-fill"}),t("sqm-program-explainer-step",{header:"Earn points for using Klip",description:"Complete tasks like uploading your first video or sharing videos with friends",icon:"server"}),t("sqm-program-explainer-step",{header:"Redeem rewards with your points",description:"Redeem rewards like one free month of Klip Enterprise or two plane tickets to anywhere in North America",icon:"people-fill"}))};var qg=function(){return t("sqm-program-explainer",{header:"Anything and everything can be passed to this component!","text-color":"#eee","background-color":"#333"},t("div",{style:{padding:"100px",border:"1px dashed black",background:"#eee",color:"#333"}},"PLACEHOLDER"),t("div",{style:{padding:"100px",border:"1px dashed black",background:"#eee",color:"#333"}},"PLACEHOLDER"),t("div",{style:{padding:"100px",border:"1px dashed black",background:"#eee",color:"#333"}},"PLACEHOLDER"))};var Ag=Object.freeze({__proto__:null,default:vg,OneStep:wg,TwoSteps:xg,ThreeSteps:yg,Custom:Eg,ProgramExplainerGeneric:qg});var Dg='@author:derek\n@owner:derek\nFeature: Program Explainer Step\n\n @motivating\n @ui\n Scenario: The program explainer step displays a icon, header and description\n Given a program explainer step with props\n | prop | value |\n | header | My Header |\n | description | My program explainer description |\n | icon | person-plus-fill |\n When a user views the explainer step\n Then they see an person icon with a + in the top left hand corner\n And the icon is weight 300 brand colour\n And below they see "My Header" in large bold font\n And below they see "My program explainer description" in medium font\n And the step background colour is weight 50 brand colour\n\n @motivating\n @ui\n Scenario: The program explainer can display an image in place of an icon\n Given a program explainer\n And it has an "image-url" prop with a value of a valid url to an image\n When a user views the explainer step\n Then the image is displayed in place of an incon in the top left hand corner\n\n @motivating\n @ui\n Scenario: Colours are customizable\n Given a program explainer step with props\n | prop | value |\n | text-color | purple |\n | background-color | grey |\n When a user views the explainer step\n Then they see the step background is grey\n And the header text is purple\n And the description text is purple\n';var kg={title:"Components/Program Explainer Step",parameters:{scenario:Dg}};var Cg=function(){return t("sqm-program-explainer-step",{header:"Get up to $1250 for inviting friends to Klip",description:"Send your referral link to a friend or share it through email, Twitter, or Facebook",icon:"person-plus-fill"})};var _g=function(){return t("sqm-program-explainer-step",{header:"Invite your friends to Klip",description:"Send your referral link to a friend or share it through email, Twitter, or Facebook","image-url":"https://res.cloudinary.com/saasquatch/image/upload/v1644000265/squatch-assets/Uqn3aXw.png","text-color":"#fffc4b","background-color":"#ff7f7f"})};var Tg=Object.freeze({__proto__:null,default:kg,ProgramExplainerStep:Cg,ProgramExplainerStepCustom:_g});var Rg='@author:derek\n@owner:logan\nFeature: Brand Configuration\n\n\t@motivating\n\tScenario: The brand components creates a colour pallet from a brand colour and applies it to children\n\t\tGiven a brand component with "brand-color" "#4225c4"\n\t\tAnd it is wrapping several mint components\n\t\tWhen a user views the children components\n\t\tThen the following css variables are set\n\t\t\t| variable | value |\n\t\t\t| --sl-color-primary-50 | hsla(251, 68%, 95%, 1) |\n\t\t\t| --sl-color-primary-100 | hsla(251, 68%, 86%, 1) |\n\t\t\t| --sl-color-primary-200 | hsla(251, 68%, 76%, 1) |\n\t\t\t| --sl-color-primary-300 | hsla(251, 68%, 66%, 1) |\n\t\t\t| --sl-color-primary-400 | hsla(251, 68%, 56%, 1) |\n\t\t\t| --sl-color-primary-500 | hsla(251, 68%, 46%, 1) |\n\t\t\t| --sl-color-primary-600 | hsla(251, 68%, 39%, 1) |\n\t\t\t| --sl-color-primary-700 | hsla(251, 68%, 32%, 1) |\n\t\t\t| --sl-color-primary-800 | hsla(251, 68%, 25%, 1) |\n\t\t\t| --sl-color-primary-900 | hsla(251, 68%, 18%, 1) |\n\t\t\t| --sl-color-primary-950 | hsla(251, 68%, 15%, 1) |\n\t\t\t| --sl-focus-ring-color-primary | var(--sl-color-primary-100) |\n\t\t\t| --sl-input-border-color-focus | var(--sl-color-primary-500) |\n\t\t\t| --sl-color-primary-hue | var(--sl-color-primary-500) |\n\t\tAnd they are applied to the children components\n\t\tBut they are not applied to any components outside of the brand component\n\t\tAnd they are not applied to any vanilla components\n\n\t@minutae\n\tScenario Outline: The brand colour can be hex, HSL or rgb\n\t\tGiven a brand component with "brand-color" <colour>\n\t\tAnd it is wrapping several mint components\n\t\tWhen a user views the children components\n\t\tThen the colour is used to create a brand palete\n\t\tAnd it is applied to the children components\n\t\tExamples:\n\t\t\t| colour |\n\t\t\t| #4225c4 |\n\t\t\t| rgb(66, 37, 196) |\n\t\t\t| hsl(251, 68%, 46%) |\n\t\t\t| hsla(251, 68%, 46%, 1) |\n\n\t@motivating\n\tScenario: The brand component can apply a brand font to children components\n\t\tGiven a brand component with "brand-font" "Nunito Sans"\n\t\tAnd it is wrapping several mint components\n\t\tWhen a user views the children components\n\t\tThen the following css variables are set\n\t\t\t| variable | value |\n\t\t\t| --sl-font-sans | "Nunito Sans", arial |\n\t\t\t| --sl-input-font-family | "Nunito Sans", arial |\n\t\t\t| --sl-tooltip-font-family | "Nunito Sans", arial |\n\t\t\t| font-family | "Nunito Sans", arial |\n\t\tAnd they are applied to the children components\n\t\tAnd the children component\'s text is "Nunito Sans"';var Pg={title:"Components/Brand",parameters:{scenario:Rg}};var Ig=function(){return t("div",{style:{padding:"10px",border:"5px solid #EEE"}},t("div",{style:{display:"flex",gap:"5px",padding:"5px"}},t("sl-button",{type:"default"},"Default"),t("sl-button",{type:"primary"},"Primary"),t("sl-button",{type:"success"},"Success"),t("sl-button",{type:"neutral"},"Neutral"),t("sl-button",{type:"warning"},"Warning"),t("sl-button",{type:"danger"},"Danger")),t("div",{style:{display:"flex",gap:"5px",padding:"5px"}},t("sl-badge",{type:"primary"},"Primary"),t("sl-badge",{type:"success"},"Success"),t("sl-badge",{type:"neutral"},"Neutral"),t("sl-badge",{type:"warning"},"Warning"),t("sl-badge",{type:"danger"},"Danger")),t("div",{class:"color-palette"},t("div",{class:"color-palette__name"},"Primary",t("br",null),t("code",null,"--sl-color-primary-",t("em",null,"{n}"))),t("div",{style:{display:"flex",gap:"5px"}},t(Lg,{depth:50}),t(Lg,{depth:100}),t(Lg,{depth:200}),t(Lg,{depth:300}),t(Lg,{depth:400}),t(Lg,{depth:500}),t(Lg,{depth:600}),t(Lg,{depth:700}),t(Lg,{depth:800}),t(Lg,{depth:900}),t(Lg,{depth:950}))))};var Sg=function(){return t("div",null,t(Ig,null),t("sqm-brand",{"brand-color":"#FF0000"},t(Ig,null)),t("sqm-brand",{"brand-color":"#00FF00"},t(Ig,null)),t("sqm-brand",{"brand-color":"#0000FF"},t(Ig,null)),t("sqm-brand",{"brand-color":"#000000"},t(Ig,null)))};var Ng=function(){return t("div",null,"Default ",t(Ig,null),t("sqm-brand",{"brand-color":"#FF0000"},"Red:",t(Ig,null),t("sqm-brand",{"brand-color":"#00FF00"},"Green:",t(Ig,null),t("sqm-brand",{"brand-color":"#0000FF"},"Blue:",t(Ig,null),t("sqm-brand",{"brand-color":"#000000"},"Black:",t(Ig,null))))))};function Lg(e){var n=e.depth;return t("div",{style:{backgroundColor:"var(--sl-color-primary-"+n+")",color:"var(--sl-color-neutral-"+(1e3-n)+")",width:"50px",height:"50px",display:"flex",justifyContent:"center",alignItems:"center"}},n)}var Fg=function(){return t("div",null,t(Ig,null),t("sqm-brand",{"brand-font":"Roboto"},"Roboto",t(Ig,null)),t("sqm-brand",{"brand-font":"Open Sans"},"Open Sans",t(Ig,null)),t("sqm-brand",{"brand-font":"Lato"},"Lato",t(Ig,null)),t("sqm-brand",{"brand-font":"Oswald"},"Oswald",t(Ig,null)))};var Og=Object.freeze({__proto__:null,default:Pg,Examples:Sg,Nested:Ng,Fonts:Fg});var Bg='@author:kutay\n@owner:kutay\nFeature: Card Feed\n\n\tThe Card Feed component displays Task Card components in a grid layout.\n\n\tBackground: A user on the portal is viewing the widget\n\t\tGiven a user viewing the Card Feed component\n\n\t@motivating\n\tScenario: The Card Feed component displays Task Cards given as children slots\n\t\tGiven a Card Feed component\n\t\tAnd it is wrapping a number of task cards as children\n\t\tWhen the user views the Card Feed\n\t\tThen the task cards are displayed in a masonry layout\n\t\tWhen the card feed with grows or shrinks in width\n\t\tThen the number of columns adjust to the given width\n\n\t@motivating\n\t@ui\n\tScenario Outline: The Card Feed component can have a maximum width\n\t\tGiven a Card Feed component\n\t\tAnd it is wrapping a number of task cards as children\n\t\tAnd has prop "width" has a provided <value>\n\t\tThen the task cards are displayed in a masonry layout\n\t\tWhen the card feed with grows or shrinks in width\n\t\tThen the number of columns adjust to the given width\n\t\tAnd the task cards do not exceed <width>\n\t\tExamples:\n\t\t\t| value | width |\n\t\t\t| | 347px |\n\t\t\t| 200 | 200px |\n\t\t\t| 400 | 400px |\n\n\t@motivating\n\t@ui\n\tScenario Outline: The Card Feed component gap between task cards can be customized\n\t\tGiven a Card Feed component\n\t\tAnd it is wrapping a number of task cards as children\n\t\tAnd has prop "gap" has a provided <value>\n\t\tThen the task cards are displayed in a masonry layout\n\t\tAnd the gap between the columns is the <gap>\n\t\tExamples:\n\t\t\t| value | gap |\n\t\t\t| | 24px |\n\t\t\t| 20 | 20px |\n\t\t\t| 50 | 50px |';var Gg={title:"Components/Card Feed",parameters:{scenario:Bg}};var jg={callbacks:{sendEvent:function(){return void 0},onClick:function(){return void 0}},content:{rewardAmount:"20",rewardUnit:"SaaSquatch Points",cardTitle:"Complete a survey",description:"Description of action and reward. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut eget quisque commodo leo.",repeatable:false,showProgressBar:false,steps:false,buttonText:"Take survey",buttonLink:"https://example.com/",openNewTab:false,rewardDuration:null,completedText:"Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}",expiryMessage:"Ends {endDate}",startsOnMessage:"Starts {startDate}",endedMessage:"Ended {endDate}",finite:0,goal:1,locale:"en"},states:{progress:0,loading:false,loadingEvent:false}};var Vg={callbacks:{sendEvent:function(){return void 0},onClick:function(){return void 0}},content:{rewardAmount:"40",rewardUnit:"SaaSquatch Points",cardTitle:"Comment on 5 articles",description:"Description of action and reward. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut eget quisque commodo leo.",repeatable:false,showProgressBar:true,steps:true,buttonText:"Take survey",buttonLink:"https://example.com/",openNewTab:false,completedText:"Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}",rewardDuration:null,expiryMessage:"Ends {endDate}",startsOnMessage:"Starts {startDate}",endedMessage:"Ended {endDate}",finite:0,goal:5,locale:"en"},states:{progress:1,loading:false,loadingEvent:false}};var Mg={callbacks:{sendEvent:function(){return void 0},onClick:function(){return void 0}},content:{rewardAmount:"150",rewardUnit:"SaaSquatch Points",cardTitle:"Spend $500 at our Store",description:"Description of action and reward. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut eget quisque commodo leo.",repeatable:false,completedText:"Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}",showProgressBar:true,steps:false,progressBarUnit:"$",buttonText:"Take survey",buttonLink:"https://example.com/",openNewTab:false,rewardDuration:null,expiryMessage:"Ends {endDate}",startsOnMessage:"Starts {startDate}",endedMessage:"Ended {endDate}",finite:0,goal:500,locale:"en"},states:{progress:100,loading:false,loadingEvent:false}};var Wg=function(){return t(be,{width:347,gap:24},t(z,Object.assign({},jg)),t("div",null,t(z,Object.assign({},Vg))),t("div",null,t("div",null,t(z,Object.assign({},jg)))),t(z,Object.assign({},Vg)),t(z,Object.assign({},Vg)),t("div",null,t(z,Object.assign({},Vg))),t("div",null,t("div",null,t(z,Object.assign({},jg)))),t(z,Object.assign({},Mg)))};var Ug=function(){return t(be,{width:400,gap:150},t(z,Object.assign({},jg)),t("div",null,t(z,Object.assign({},Vg))),t("div",null,t("div",null,t(z,Object.assign({},jg)))),t(z,Object.assign({},Vg)),t(z,Object.assign({},Vg)),t("div",null,t(z,Object.assign({},Vg))),t("div",null,t("div",null,t(z,Object.assign({},jg)))),t(z,Object.assign({},Mg)))};var zg=function(){return t(be,{width:400,gap:12},t(z,Object.assign({},jg)),t("div",null,t(z,Object.assign({},Vg))),t("div",null,t("div",null,t(z,Object.assign({},jg)))),t(z,Object.assign({},Vg)),t(z,Object.assign({},Vg)),t("div",null,t(z,Object.assign({},Vg))),t("div",null,t("div",null,t(z,Object.assign({},jg)))),t(z,Object.assign({},Mg)))};var Hg=function(){return t(be,{width:1e3,gap:24},t(z,Object.assign({},jg)),t("div",null,t(z,Object.assign({},Vg))),t("div",null,t("div",null,t(z,Object.assign({},jg)))),t(z,Object.assign({},Vg)),t(z,Object.assign({},Vg)),t("div",null,t(z,Object.assign({},Vg))),t("div",null,t("div",null,t(z,Object.assign({},jg)))),t(z,Object.assign({},Mg)))};var Xg=function(){return t(be,{width:250,gap:24},t(z,Object.assign({},jg)),t("div",null,t(z,Object.assign({},Vg))),t("div",null,t("div",null,t(z,Object.assign({},jg)))),t(z,Object.assign({},Vg)),t(z,Object.assign({},Vg)),t("div",null,t(z,Object.assign({},Vg))),t("div",null,t("div",null,t(z,Object.assign({},jg)))),t(z,Object.assign({},Mg)))};var Jg=function(){return t(be,{width:300,gap:24},t("div",{style:{padding:"100px",border:"1px dashed black",background:"#eee",display:"inline-block"}},"PLACEHOLDER"),t("div",{style:{padding:"100px",border:"1px dashed black",background:"#eee",display:"inline-block"}},"PLACEHOLDER"),t("div",{style:{padding:"100px",border:"1px dashed black",background:"#eee",display:"inline-flex",alignItems:"center",justifyContent:"center"}},"PLACEHOLDER"),t("div",{style:{padding:"100px",border:"1px dashed black",background:"#eee",display:"inline-block"}},"PLACEHOLDER"),t("div",{style:{padding:"100px",border:"1px dashed black",background:"#eee",display:"inline-block"}},"PLACEHOLDER"),t("div",{style:{padding:"100px",border:"1px dashed black",background:"#eee",display:"inline-block"}},"PLACEHOLDER"),t("div",{style:{padding:"100px",border:"1px dashed black",background:"#eee",display:"inline-block"}},"PLACEHOLDER"))};var $g=Object.freeze({__proto__:null,default:Gg,TaskCardGrid:Wg,TaskCardGridHighGap:Ug,TaskCardGridLowGap:zg,TaskCardGridHighWidth:Hg,TaskCardGridLowWidth:Xg,CardFeedGeneric:Jg});var Kg='@author:kutay\n@owner:noah\nFeature: Portal Container\n\n\t@motivating\n\t@ui\n\tScenario: Horizontal content overflows, but does not stretch\n\t\tGiven there are two element in the container\n\t\tAnd the first is small\n\t\tAnd the second would stretch the container wider than it\'s parent\n\t\tThen the second one is clipped\n\t\tAnd the first one doesn\'t stretch\n\n\t@landmine\n\t@ui\n\tScenario: `max-width` is required for displaying as a row\n\t\tGiven I have `direction` to "row"\n\t\tAnd I have not set a `max-width`\n\t\tThen it displays as a column\n\n\t@motivating\n\t@ui\n\tScenario Outline: Content padding can be customized\n\t\tGiven prop "padding" has <value>\n\t\tThen <padding> is applied to content\n\n\t\tExamples:\n\t\t\t| value | padding |\n\t\t\t| none | no padding |\n\t\t\t| xxx-small | xxx-small |\n\t\t\t| xx-small | xx-small |\n\t\t\t| x-small | x-small |\n\t\t\t| small | small |\n\t\t\t| medium | medium |\n\t\t\t| large | large |\n\t\t\t| x-large | x-large |\n\t\t\t| xx-large | xx-large |\n\t\t\t| xxx-large | xxx-large |\n\t\t\t| xxxx-large | xxxx-large |\n\t\t\t| N/A | no padding |\n\n\n\t@motivating\n\t@ui\n\tScenario Outline: Gap between content elements can be customized\n\t\tGiven prop "gap" has <value>\n\t\tThen <gap> is applied to elements between content\n\n\t\tExamples:\n\t\t\t| value | gap |\n\t\t\t| none | no padding |\n\t\t\t| xxx-small | xxx-small |\n\t\t\t| xx-small | xx-small |\n\t\t\t| x-small | x-small |\n\t\t\t| small | small |\n\t\t\t| medium | medium |\n\t\t\t| large | large |\n\t\t\t| x-large | x-large |\n\t\t\t| xx-large | xx-large |\n\t\t\t| xxx-large | xxx-large |\n\t\t\t| xxxx-large | xxxx-large |\n\t\t\t| N/A | no padding |\n\n\t@minutae\n\t@ui\n\tScenario: Content can be center aligned in horizontal view\n\t\tGiven I have supplied the prop "center"\n\t\tThen the content is center aligned\n\n\t@minutae\n\t@ui\n\tScenario: Content in the last row can span full width with display in horizontal view\n\t\tGiven I have `display` to "flex"\n\t\tThen the content is full width on the last row\n\n\t@motivating\n\t@ui\n\tScenario Outline: Content can be aligned along the x-axis \n\t\tGiven prop "justify-content" has <value>\n\t\tThen content within the container is aligned <alignment>\n\n\t\tExamples:\n\t\t\t| value | alignment |\n\t\t\t| none | no alignment |\n\t\t\t| start | to the start |\n\t\t\t| center | to the center |\n\t\t\t| end | to the end |\n\t\t\t| space-between | with space between |\n\t\t\t| space-around | with space around |\n\t\t\t| space-evenly | with space evenly |';var Yg={title:"Components/Portal Container",parameters:{scenario:Kg}};var Zg=function(){return t("div",{style:{width:"200px",border:"1px dashed grey"}},t("sqm-portal-container",{gap:"xxx-large"},t("div",{style:{background:"grey",border:"1px solid red"}},"Small"),t("div",{style:{background:"lightblue",width:"1000px"}},"Too wide, content goes off the side of the page for ever and is hidden.")))};var Qg=function(){return t("div",{style:{width:"500px",border:"1px dashed grey"}},t("sqm-portal-container",{gap:"xxx-large",direction:"row","min-width":"160px"},t("sqm-share-button",{icon:"envelope",medium:"email",size:"medium",class:"hydrated"},"Email a friend"),t("sqm-share-button",{medium:"twitter",size:"medium",class:"hydrated"},"Tweet about us"),t("sqm-share-button",{medium:"facebook",size:"medium",class:"hydrated"},"Share on Facebook")))};var ef=function(){return t("div",{style:{width:"500px",border:"1px dashed grey"}},t("sqm-portal-container",{gap:"small",direction:"row","min-width":"160px"},t("sqm-share-button",{icon:"envelope",medium:"email",size:"medium",class:"hydrated"},"Email a friend"),t("sqm-share-button",{medium:"twitter",size:"medium",class:"hydrated"},"Tweet about us"),t("sqm-share-button",{medium:"facebook",size:"medium",class:"hydrated"},"Share on Facebook")))};var tf=function(){return t("div",{style:{width:"500px",border:"1px dashed grey"}},t("sqm-portal-container",{padding:"xxx-large",gap:"xxx-large",direction:"row","min-width":"160px"},t("sqm-share-button",{icon:"envelope",medium:"email",size:"medium",class:"hydrated"},"Email a friend"),t("sqm-share-button",{medium:"twitter",size:"medium",class:"hydrated"},"Tweet about us"),t("sqm-share-button",{medium:"facebook",size:"medium",class:"hydrated"},"Share on Facebook")))};var nf=function(){return t("div",{style:{width:"500px",border:"1px dashed grey"}},t("sqm-portal-container",{gap:"xxx-large",direction:"row",display:"flex","min-width":"160px"},t("sqm-share-button",{icon:"envelope",medium:"email",size:"medium",class:"hydrated"},"Email a friend"),t("sqm-share-button",{medium:"twitter",size:"medium",class:"hydrated"},"Tweet about us"),t("sqm-share-button",{medium:"facebook",size:"medium",class:"hydrated"},"Share on Facebook")))};var af=function(){return t("div",{style:{width:"1000px",border:"1px dashed grey"}},t("sqm-portal-container",{gap:"xxx-large",direction:"row",minWidth:"160px",maxWidth:"50%"},t("sqm-share-button",{icon:"envelope",medium:"email",size:"medium",class:"hydrated"},"Email a friend"),t("sqm-share-button",{medium:"twitter",size:"medium",class:"hydrated"},"Tweet about us"),t("sqm-share-button",{medium:"facebook",size:"medium",class:"hydrated"},"Share on Facebook")))};var rf=function(){return t("div",{style:{width:"1000px",border:"1px dashed grey"}},t("sqm-portal-container",{gap:"xxx-large",direction:"row",minWidth:"160px",maxWidth:"50%",center:true},t("sqm-share-button",{icon:"envelope",medium:"email",size:"medium",class:"hydrated"},"Email a friend"),t("sqm-share-button",{medium:"twitter",size:"medium",class:"hydrated"},"Tweet about us"),t("sqm-share-button",{medium:"facebook",size:"medium",class:"hydrated"},"Share on Facebook")))};var sf=function(){return t("div",{style:{width:"1000px",border:"1px dashed grey"}},t("sqm-portal-container",{gap:"xxx-large",direction:"row",maxWidth:"100%"},t("sqm-share-button",{icon:"envelope",medium:"email",size:"medium",class:"hydrated"},"Email a friend"),t("sqm-share-button",{medium:"twitter",size:"medium",class:"hydrated"},"Tweet about us"),t("sqm-share-button",{medium:"facebook",size:"medium",class:"hydrated"},"Share on Facebook")))};var of=function(){return t("div",{style:{width:"1000px",border:"1px dashed grey"}},t("sqm-portal-container",{center:true,direction:"row",display:"flex","justify-content":"space-between"},t("sqm-stat-container",{space:"xxx-large",display:"flex"},t("sqm-big-stat",{"flex-reverse":"true",alignment:"left","stat-type":"/rewardsRedeemed/CREDIT/global"},t("sqm-text",null,t("p",null,"Rewards Redeemed"))),t("sqm-big-stat",{"flex-reverse":"true",alignment:"left","stat-type":"/rewardBalance/CREDIT/POINT/value/global"},t("sqm-text",null,t("p",null,"Points Balance")))),t("sqm-scroll",{"scroll-id":"tab-2",outline:true,"button-type":"primary","button-text":"Redeem your rewards",mobile:true})))};var lf=function(){return t("div",{style:{width:"1000px",border:"1px dashed grey"}},t("sqm-portal-container",{center:true,direction:"row",display:"flex","justify-content":"space-around"},t("sqm-stat-container",{space:"xxx-large",display:"flex"},t("sqm-big-stat",{"flex-reverse":"true",alignment:"left","stat-type":"/rewardsRedeemed/CREDIT/global"},t("sqm-text",null,t("p",null,"Rewards Redeemed"))),t("sqm-big-stat",{"flex-reverse":"true",alignment:"left","stat-type":"/rewardBalance/CREDIT/POINT/value/global"},t("sqm-text",null,t("p",null,"Points Balance")))),t("sqm-scroll",{"scroll-id":"tab-2",outline:true,"button-type":"primary","button-text":"Redeem your rewards",mobile:true})))};var df=function(){return t("div",{style:{width:"1000px",border:"1px dashed grey"}},t("sqm-portal-container",{center:true,direction:"row",display:"flex","justify-content":"space-evenly"},t("sqm-stat-container",{space:"xxx-large",display:"flex"},t("sqm-big-stat",{"flex-reverse":"true",alignment:"left","stat-type":"/rewardsRedeemed/CREDIT/global"},t("sqm-text",null,t("p",null,"Rewards Redeemed"))),t("sqm-big-stat",{"flex-reverse":"true",alignment:"left","stat-type":"/rewardBalance/CREDIT/POINT/value/global"},t("sqm-text",null,t("p",null,"Points Balance")))),t("sqm-scroll",{"scroll-id":"tab-2",outline:true,"button-type":"primary","button-text":"Redeem your rewards",mobile:true})))};var uf=function(){return t("div",{style:{width:"1000px",border:"1px dashed grey"}},t("sqm-portal-container",{center:true,direction:"row",display:"flex","justify-content":"start"},t("sqm-stat-container",{space:"xxx-large",display:"flex"},t("sqm-big-stat",{"flex-reverse":"true",alignment:"left","stat-type":"/rewardsRedeemed/CREDIT/global"},t("sqm-text",null,t("p",null,"Rewards Redeemed"))),t("sqm-big-stat",{"flex-reverse":"true",alignment:"left","stat-type":"/rewardBalance/CREDIT/POINT/value/global"},t("sqm-text",null,t("p",null,"Points Balance")))),t("sqm-scroll",{"scroll-id":"tab-2",outline:true,"button-type":"primary","button-text":"Redeem your rewards",mobile:true})))};var cf=function(){return t("div",{style:{width:"1000px",border:"1px dashed grey"}},t("sqm-portal-container",{center:true,direction:"row",display:"flex","justify-content":"center"},t("sqm-stat-container",{space:"xxx-large",display:"flex"},t("sqm-big-stat",{"flex-reverse":"true",alignment:"left","stat-type":"/rewardsRedeemed/CREDIT/global"},t("sqm-text",null,t("p",null,"Rewards Redeemed"))),t("sqm-big-stat",{"flex-reverse":"true",alignment:"left","stat-type":"/rewardBalance/CREDIT/POINT/value/global"},t("sqm-text",null,t("p",null,"Points Balance")))),t("sqm-scroll",{"scroll-id":"tab-2",outline:true,"button-type":"primary","button-text":"Redeem your rewards",mobile:true})))};var mf=function(){return t("div",{style:{width:"1000px",border:"1px dashed grey"}},t("sqm-portal-container",{center:true,direction:"row",display:"flex","justify-content":"end"},t("sqm-stat-container",{space:"xxx-large",display:"flex"},t("sqm-big-stat",{"flex-reverse":"true",alignment:"left","stat-type":"/rewardsRedeemed/CREDIT/global"},t("sqm-text",null,t("p",null,"Rewards Redeemed"))),t("sqm-big-stat",{"flex-reverse":"true",alignment:"left","stat-type":"/rewardBalance/CREDIT/POINT/value/global"},t("sqm-text",null,t("p",null,"Points Balance")))),t("sqm-scroll",{"scroll-id":"tab-2",outline:true,"button-type":"primary","button-text":"Redeem your rewards",mobile:true})))};var pf=Object.freeze({__proto__:null,default:Yg,TooWideColumn:Zg,TooWideRow:Qg,TooWideSmallGap:ef,TooWidePadding:tf,TooWideDisplayFlex:nf,HalfWidth:af,HalfWidthCenter:rf,FullWidth:sf,SpaceBetween:of,SpaceAround:lf,SpaceEvenly:df,Start:uf,Center:cf,End:mf});var hf='@author:derek\n@owner:derek\nFeature: Reward Table Date Column\n\n Shows the date of each reward\n\n Background:\n Given the date column is included in the reward table\n\n @motivating\n @ui\n Scenario Outline: The title of the date column is configurable\n Given the "column-title" prop is set to <value>\n Then the date column is shown with <columnTitle>\n Examples:\n | value | columnTitle |\n | Date received | |\n | My column title | My column title |\n\n @motivating\n Scenario Outline: A configurable date associated with the reward is shown for each reward\n Given the "date-shown" prop is set to <dateType>\n And a user with rewards\n When they view the date column\n Then for each reward the <rewardDate> is shown in the table\n And the date is localized to the users locale\n Examples:\n | dateType | rewardDate |\n | dateGiven | date given |\n | dateExpires | date expires |\n | dateCancelled | date cancelled |\n | dateRedeemed | date redeemed |\n | dateScheduledFor | date scheduled for |\n | | date given |';var gf='@author:derek\n@owner:derek\nFeature: Reward Table reward Column\n\n Shows the exact reward\n\n Background:\n Given the reward column is included in the reward table\n And rewards with translations exist\n\n @motivating\n @ui\n Scenario Outline: The title of the reward column is configurable\n Given the "column-title" prop is set to <value>\n Then the reward column is shown with <columnTitle>\n Examples:\n | value | columnTitle |\n | Reward | |\n | My column title | My column title |\n\n @motivating\n Scenario: The reward column displays the prettyValue of the reward given\n Given a user with a reward\n When they view the rewards table\n Then they see the name of their reward in the reward column\n And the name is the prettyValue translated for the users locale\n\n @motivating\n @ui\n Scenario: The reward column displays an availability bar if the reward is redeemable\n Given a user with a <status> credit reward of <value>\n But the user has <redeemedAmount>\n When they view the rewards table\n Then the reward column displays <value>\n And under it displays an availability bar with <percentage> filled\n And under it displays <availabilityText>\n Examples:\n | status | value | percentage | availableAmount | availabilityText |\n | AVAILABLE | 10 Points | 100% | 10 Points | 10 Points remaining |\n | AVAILABLE | 10 Points | 90% | 9 Points | 9 Points remaining |\n | AVAILABLE | 10 Points | 10% | 1 Point | 1 Point remaining |\n | PENDING | 10 Points | 100% | 10 Points | 10 Points remaining |\n | PENDING | 10 Points | 90% | 9 Points | 9 Points remaining |\n | PENDING | 10 Points | 10% | 1 Point | 1 Point remaining |\n\n @motivating\n @ui\n Scenario Outline: The reward column displays an availability bar if the reward was redeemable but had been cancelled or expired\n Given a user with a credit reward of <value>\n And the reward has <status>\n But the user has <redeemedAmount>\n When they view the rewards table\n When they view the rewards table\n Then the reward column displays <value>\n And under it displays an availability bar with <percentage> filled\n And under it displays <redeemedText>\n Examples:\n | status | value | percentage | redeemedAmount | redeemedText |\n | EXPIRED | 10 Points | 100% | 0 Point | 0 Point redeemed |\n | EXPIRED | 10 Points | 80% | 2 Point | 2 Point redeemed |\n | CANCELLED | 10 Points | 100% | 0 Point | 0 Point redeemed |\n | CANCELLED | 10 Points | 20% | 8 Point | 8 Point redeemed |\n\n @motivating\n @ui\n Scenario: The reward column doesn\'t display the availability bar if the reward is not redeemable\n Given a user with a non credit reward\n When they view the rewards table\n Then they see the name of the reward\n But they do not see the availablity bar\n\n @motivating\n @ui\n Scenario Outline: The reward column doesn\'t display the availability bar if the reward is only 1 reward unit\n Given a user with a credit reward for 1 of a reward unit\n And it has <status>\n When they view the rewards table\n Then they see the name of the reward\n But they do not see the availablity bar\n Examples:\n | status |\n | AVAILABLE |\n | PENDING |\n | EXPIRED |\n | CANCELLED |\n\n @motivating\n @ui\n Scenario: The reward column doesn\'t display the availability bar for redeemed credit rewards\n Given a user with a "REDEEMED" credit reward\n When they view the rewards table\n Then they see the name of the reward\n But they do not see the availablity bar\n\n @motivating\n @ui\n Scenario: Users can copy their fuel tank codes\n Given a user with a fuel tank reward\n When they view the rewards table\n Then they see their fuel tank reward\n And they see their fuel tank code bolded in blue\n When they click on their code\n Then a tool tip appears saying it has been copied to their clipboard\n And their code is copied to their clipboard';var ff='@author:derek\n@owner:derek\nFeature: Reward Table Status Column\n\n Shows the status of each reward\n\n Background:\n Given the status column is included in the reward table\n\n @motivating\n @ui\n Scenario Outline: The title of the status column is configurable\n Given the "column-title" prop is set to <value>\n Then the status column is shown with <columnTitle>\n Examples:\n | value | columnTitle |\n | Status | |\n | My column title | My column title |\n\n @motivating\n @ui\n Scenario Outline: The status column displays the status of each reward\n Given a user\n And they have a <status> reward\n When they view the reward table\n Then the status of their reward is displayed in <pillColour> pill with <text>\n Examples:\n | status | text | pillColour |\n | AVAILABLE | Available | Green |\n | CANCELLED | Cancelled | Red |\n | PENDING | Pending | Orange |\n | EXPIRED | Expired | Red |\n | REDEEMED | Redeemed | Blue |\n\n @motivating\n Scenario Outline: Reward status related information is displayed under status pills\n Given a user\n And they have a <reward>\n When they view the reward table\n Then they see their reward\n And under the pill is <text>\n And the date is localized to the users locale\n Examples:\n | reward | text |\n | available reward with an expiry date | localized expiry date in format "Month-Day-Year" |\n | redeemed reward | localized redemption date in format "Month-Day-Year" |\n | expired reward | localized expired date in format "Month-Day-Year" |\n | cancelled reward | localized cancelled date in format "Month-Day-Year" |\n | pending reward with a end date | localized pending for date in format "Month-Day-Year" |\n | pending reward due to W9 | W-9 required |\n | pending reward due to fufillment error | Fulfillment error |\n\n @motivating\n Scenario Outline: Statuses can be customized\n Given the "status-text" prop is "{status, select, AVAILABLE {Redeem me!} CANCELLED {Unavailable} PENDING {Coming soon!} EXPIRED {Past due} REDEEMED {Spent}}"\n And a user\n And they have a <status> reward\n When they view the reward table\n Then the status of their reward is displayed in <pillColour> pill with <text>\n Examples:\n | status | text | pillColour |\n | AVAILABLE | Redeem me! | Green |\n | CANCELLED | Unavailable | Red |\n | PENDING | Coming soon! | Orange |\n | EXPIRED | Past due | Red |\n | REDEEMED | Spent | Blue |\n\n @minutae\n @ui\n Scenario: Expiry status date text can be configured\n Given the "expiry-text" prop has <value>\n And a user with an available reward with an expiry date\n When they view the reward table\n Then they see <text> under the Available Status pill\n Examples:\n | value | text |\n | | Expires on <EXPIRY DATE> |\n | Redeem before | Redeem before <EXPIRY DATE> |';var bf='@author:derek\n@owner:derek\nFeature: Reward Table Source Column\n\n Shows the source of each reward\n\n @motivating\n @ui\n Scenario Outline: The title of the source column is configurable\n Given the "column-title" prop is set to <value>\n Then the source column is shown with <columnTitle>\n Examples:\n | value | columnTitle |\n | Source | |\n | My column title | My column title |\n\n @motivating\n @ui\n Scenario: The source column displays manual if the reward is caused by a manual action\n Given a user with a "MANUAL" reward\n When they view the rewards table\n Then the source of their reward is displayed as "Manual"\n\n @motivating\n @ui\n Scenario: The source column displays the program name if the reward is caused automatically by a program\n Given a user with a "AUTOMATED" program reward\n And the program has name "Loyalty Program"\n When they view the rewards table\n Then the source of their reward is displayed as "Loyalty Program"\n\n @motivating\n @ui\n Scenario Outline: The source column displays customizable reward exchange text with amount if the reward is caused by reward exchange\n Given the "reward-exchange-text" prop is <propValue>\n And a user with a "MANUAL" reward\n But it was created by a reward exchange\n Then they view the rewards table\n Then the source displays <exchangeText>\n And under it displays the following\n | prettyRedeemedCredit → prettyValue |\n Examples:\n | propValue | exchangeText |\n | | Reward Exchange |\n | Exchanged | Exchanged |\n\n @motivating\n @ui\n Scenario Outline: The source column displays customizable referral information if the reward is from a referral\n Given the "reward-source-text" prop is <propValue>\n And a user with a referral reward\n And that reward has <rewardSource>\n When they view the rewards table\n Then then source displays <referralText>\n And under it displays the full name of the <referralUser>\n Examples:\n | propValue | rewardSource | referralText | referralUser |\n | | REFERRED | Referred by | referrer user |\n | | FRIEND_SIGNUP | Referral to | referred user |\n | {rewardSource, select, FRIEND_SIGNUP {You Referred} REFERRED {Referred you} other {}} | REFERRED | Referred you | referrer user |\n | {rewardSource, select, FRIEND_SIGNUP {You Referred} REFERRED {Referred you} other {}} | FRIEND_SIGNUP | You Referred | referred user |\n\n @motivating\n @ui\n Scenario Outline: The source column displays the existing name for a referral if either the first name or last name does not exist\n Given a user with a referral reward\n And referral user exists\n And referral user has <name>\n But referral user has no <otherName>\n When they view the rewards table\n Then referral user\'s name is displayed as <name>\n Examples:\n | name | otherName |\n | first.name | last.name |\n | last.name | first.name |\n\n @motivating\n @ui\n Scenario Outline: The source column displays referral as "Anonymous User" if the referral user has no names\n Given a user with a referral reward\n And that reward has <rewardSource>\n And the <referralUser> has no first name\n And the <referralUser> has no last name\n When they view the rewards table\n Then then source displays <sourceText>\n And under it displays "Anonymous User"\n Examples:\n | rewardSource | referralUser | sourceText |\n | FRIEND_SIGNUP | referrer | Referral to |\n | REFERRED | referred user | Referred by |\n\n @motivating\n @ui\n Scenario Outline: The source column displays referral as "Deleted User" if the referral user is deleted in the system\n Given a user with a referral reward\n And that reward has <rewardSource>\n But <referral> user was deleted\n When they view the rewards table\n Then the source displays <sourceText>\n And under it displays "Deleted User"\n Examples:\n | rewardSource | referral | sourceText |\n | "FRIEND_SIGNUP" | referrer | Referral to |\n | "REFERRED" | referred | Referred by |\n\n @minutae\n @ui\n Scenario Outline: Name fallbacks for referral users without names are customizable\n Given <prop> with <value>\n And a user with a referral reward\n But the referral user <hadAction>\n When they view the rewards table\n Then the source displays <value> as the referral user\n Examples:\n | prop | value | hadAction |\n | deleted-user | Former Customer | was deleted |\n | anonymous-user | Nameless User | had first and last name deleted |\n\n @motivating\n Scenario Outline: Source text can be customized\n Given the "reward-source-text" prop is "{rewardSource, select, MANUAL {Support} AUTOMATED {Loyalty Program} other {}}"\n And a user with a <rewardSource> reward\n When they view the rewards table\n Then the source is <sourceText>\n Examples:\n | rewardSource | sourceText |\n | MANUAL | Support |\n | AUTOMATED | Loyalty Program |';var vf=hf+gf+ff+bf;var wf={title:"Components/Rewards Table Cell",parameters:{scenario:vf}};var xf={id:"61c100117a82a376d8804166",type:"CREDIT",value:19,unit:"Points",name:null,dateGiven:1640038417468,meta:{message:"***CUSTOMER NOTE MESSAGE***"},dateExpires:null,dateCancelled:null,dateRedeemed:null,dateScheduledFor:null,fuelTankCode:null,fuelTankType:null,currency:null,prettyValue:"19 Points",prettyValueNumber:"19",prettyAvailableNumber:"19",prettyRedeemedNumber:"0",statuses:["AVAILABLE"],pendingReasons:null,globalRewardKey:null,rewardSource:"MANUAL",prettyRedeemedCredit:"0 Points",prettyAssignedCredit:"19 Points",prettyAvailableValue:"19 Points",exchangedRewardRedemptionTransaction:null,referral:null,rewardRedemptionTransactions:{data:null}};var yf=function(){return t("sqm-rewards-table-reward-cell",{reward:__assign(__assign({},xf),Rf)})};var Ef=function(){return t("sqm-rewards-table-reward-cell",{reward:__assign({},xf),availableText:"{availableAmount} remaining"})};var qf={prettyAvailableValue:"10 Points",prettyRedeemedCredit:"9 Points",prettyRedeemedNumber:"9",dateRedeemed:1640038417468};var Af=function(){return t("sqm-rewards-table-reward-cell",{reward:__assign(__assign({},xf),qf),availableText:"{availableAmount} remaining"})};var Df=function(){return t("sqm-rewards-table-reward-cell",{reward:__assign(__assign({},xf),tb),redeemedText:"{redeemedAmount} redeemed"})};var kf=function(){return t("sqm-rewards-table-reward-cell",{reward:__assign(__assign(__assign({},xf),qf),ab),redeemedText:"{redeemedAmount} redeemed"})};var Cf=function(){return t("sqm-rewards-table-reward-cell",{reward:__assign(__assign({},xf),sb),availableText:"{availableAmount} remaining"})};var _f={prettyAvailableValue:"0 Points",prettyAvailableNumber:"0",prettyRedeemedCredit:"19 Points",prettyRedeemedNumber:"19",dateRedeemed:1640038417468};var Tf=function(){return t("sqm-rewards-table-reward-cell",{reward:__assign(__assign({},xf),_f),availableText:"{availableAmount} remaining"})};var Rf={prettyValue:"1 Point",prettyValueNumber:"1"};var Pf={prettyValue:"19 Points with a really really super duper longest name ever in the world wide web",prettyValueNumber:"19"};var If=function(){return t("div",{style:{maxWidth:"222px"}},t("sqm-rewards-table-reward-cell",{reward:__assign(__assign({},xf),Pf),availableText:"{availableAmount} remaining"}))};var Sf=function(){return t("sqm-rewards-table-reward-cell",{reward:__assign(__assign({},xf),{type:"GIFTCARD",prettyValue:"SaaSquatch Giftcard"})})};var Nf=function(){return t("sqm-rewards-table-reward-cell",{reward:__assign(__assign({},xf),{type:"FUELTANK",prettyValue:"Fueltank Reward",fuelTankCode:"AFUELTANKCODE"}),copyText:"Copied"})};var Lf=function(){return t("div",{style:{maxWidth:"222px"}},t("sqm-rewards-table-reward-cell",{reward:__assign(__assign({},xf),{type:"FUELTANK",prettyValue:"Long Fueltank Reward",fuelTankCode:"AFUELTANKCODE123456789123456789123456789123456789"}),copyText:"Copied"}))};var Ff=function(){return t("sqm-rewards-table-source-cell",{reward:xf,rewardSourceText:"Manual"})};var Of=function(){return t("sqm-rewards-table-source-cell",{reward:__assign(__assign({},xf),{rewardSource:"AUTOMATED",program:{name:"Klip Loyalty"}}),rewardSourceText:"{rewardSource, select, MANUAL {Manual} AUTOMATED {{programName}} other {}}"})};var Bf={exchangedRewardRedemptionTransaction:{id:"61c100117a82a376d88041196",creditRedeemed:1,prettyRedeemedCredit:"1 Money",unit:"TESTUNIT",dateRedeemed:1640038417173,redeemedRewards:null,exchangedRewards:null}};var Gf=function(){return t("sqm-rewards-table-source-cell",{reward:__assign(__assign({},xf),Bf),rewardExchangeText:"Reward Exchange"})};var jf={firstName:"Bartholomew",lastName:"Christopher-Johnston Wallace",imageUrl:null};var Vf={firstName:"John",lastName:"Doe",imageUrl:null};var Mf={firstName:"",lastName:"",imageUrl:null};var Wf=function(e){if(e===void 0){e=null}return{rewardSource:"FRIEND_SIGNUP",referral:{id:"123",dateConverted:1640038417173,dateReferralStarted:1640038417173,dateReferralPaid:1640038417173,dateReferralEnded:null,moderationStatus:null,rewards:null,referrerUser:e,referredUser:e}}};var Uf=function(e){if(e===void 0){e=null}return{rewardSource:"REFERRED",referral:{id:"123",dateConverted:1640038417173,dateReferralStarted:1640038417173,dateReferralPaid:1640038417173,dateReferralEnded:null,moderationStatus:null,rewards:null,referrerUser:e,referredUser:e}}};var zf=function(){return t("sqm-rewards-table-source-cell",{reward:__assign(__assign({},xf),Wf(Vf)),referralText:"Referral to"})};var Hf=function(){return t("div",{style:{width:"200px"}},t("sqm-rewards-table-source-cell",{reward:__assign(__assign({},xf),Wf(jf)),referralText:"Referral to"}))};var Xf=function(){return t("sqm-rewards-table-source-cell",{reward:__assign(__assign({},xf),Uf(Vf)),referralText:"Referred by"})};var Jf=function(){return t("sqm-rewards-table-source-cell",{reward:__assign(__assign({},xf),Wf(Mf)),referralText:"Referral to",anonymousUserText:"Anonymous User"})};var $f=function(){return t("sqm-rewards-table-source-cell",{reward:__assign(__assign({},xf),Wf(null)),referralText:"Referral to",deletedUserText:"Deleted User"})};var Kf=function(){return t("sqm-rewards-table-status-cell",{statusText:"Available",reward:xf})};var Yf={dateExpires:1640038417468};var Zf=function(){return t("sqm-rewards-table-status-cell",{statusText:"Available",reward:__assign(__assign({},xf),Yf),expiryText:"Expires"})};var Qf={statuses:["REDEEMED"],dateRedeemed:1640038417468};var eb=function(){return t("sqm-rewards-table-status-cell",{statusText:"Redeemed",reward:__assign(__assign({},xf),Qf)})};var tb={statuses:["CANCELLED"],dateCancelled:1640038417468};var nb=function(){return t("sqm-rewards-table-status-cell",{statusText:"Cancelled",reward:__assign(__assign({},xf),tb)})};var ab={statuses:["EXPIRED"],dateExpires:1640038417468};var rb=function(){return t("sqm-rewards-table-status-cell",{statusText:"Expired",reward:__assign(__assign({},xf),ab)})};var sb={statuses:["PENDING"]};var ib={pendingReasons:["US_TAX"]};var ob={pendingReasons:["SCHEDULED"],dateScheduledFor:1640038417468};var lb={pendingReasons:["UNHANDLED_ERROR"]};var db=function(){return t("sqm-rewards-table-status-cell",{statusText:"Pending",reward:__assign(__assign({},xf),sb)})};var ub=function(){return t("div",{style:{width:"200px"}},t("sqm-rewards-table-status-cell",{statusText:"Pending for 300,000,000 months and some change",reward:__assign(__assign({},xf),sb)}))};var cb=function(){return t("sqm-rewards-table-status-cell",{statusText:"Pending",reward:__assign(__assign(__assign({},xf),sb),ib)})};var mb=function(){return t("sqm-rewards-table-status-cell",{statusText:"Pending",reward:__assign(__assign(__assign({},xf),sb),ob)})};var pb=function(){return t("sqm-rewards-table-status-cell",{statusText:"Pending",reward:__assign(__assign(__assign({},xf),sb),lb)})};var hb=function(){return t("sqm-rewards-table-date-cell",{date:1640038417468})};var gb=function(){return t("sqm-rewards-table-customer-note-cell",{note:xf.meta.message})};var fb=function(){return t("sqm-rewards-table-date-cell",null)};var bb=Object.freeze({__proto__:null,default:wf,RewardsCellCreditSingle:yf,RewardsCellCreditFull:Ef,RewardsCellCreditPartial:Af,RewardsCellCreditCancelled:Df,RewardsCellCreditExpired:kf,RewardsCellCreditPending:Cf,RewardsCellCreditRedeemed:Tf,RewardsCellCreditLong:If,RewardsCellNonCredit:Sf,RewardsCellFueltank:Nf,RewardsCellFueltankLong:Lf,SourceCellManual:Ff,SourceCellProgram:Of,SourceCellExchange:Gf,SourceCellReferral:zf,SourceCellWithLongText:Hf,SourceCellReferred:Xf,SourceCellAnonymousUser:Jf,SourceCellDeletedUser:$f,StatusCellAvailable:Kf,StatusCellAvailableExpiry:Zf,StatusCellRedeemed:eb,StatusCellCancelled:nb,StatusCellExpired:rb,StatusCellPending:db,StatusCellPendingWithLongText:ub,StatusCellPendingUsTax:cb,StatusCellPendingScheduled:mb,StatusCellPendingUnhandled:pb,DateCell:hb,CustomerNoteCell:gb,EmptyCell:fb});var vb='@owner:sam\n@author:sam\nFeature: Rewards Table\n\n Shows a list of rewards as a table\n\n @motivating\n @ui\n Scenario: The empty state is shown if there are no rewards\n Given a user with rewards\n When they view the reward table\n Then no rewards are displayed\n And they see an image with a user icon\n And "View your rewards" in bold\n And "See all the rewards you have earned from referring friends and completing tasks" below the bolded text\n And the pagination buttons are disabled\n\n @minutae\n @ui\n Scenario: A custom empty state can be provided\n Given a user with no rewards\n And a custom empty state has been supplied in the "empty" slot\n When they view the reward table\n Then they see the custom empty state\n\n @minutae\n @ui\n Scenario: The loading state is shown while rewards are loading\n Given the table is loading\n Then the loading state is shown in the table\n And a custom loading state can be supplied in the "loading" slot\n And the pagination buttons are disabled\n\n @motivating\n @ui\n Scenario Outline: The table becomes paginated when the number of rewards exceeds the per page limit\n Given the user has <number of rewards>\n And the table is configured to show <page limit> rewards per page\n Then the table will have <number of pages> page(s)\n And pagination buttons will allow users to navigate between pages\n And the pagination button to go to the next page is disabled on the last page of rewards\n And the pagination button to go to the previous page is disabled on the first page of rewards\n Examples:\n | number of rewards | page limit | number of pages |\n | 0 | 4 | 1 |\n | 1 | 4 | 1 |\n | 3 | 4 | 1 |\n | 5 | 4 | 2 |\n | 42 | 4 | 11 |\n\n @motivating\n @ui\n Scenario: The table converts to a card view on tablet and mobile window sizes\n Given a user with rewards\n When they view the table\n And their window size is smaller than "799px"\n Then rewards are displayed as cards\n And they are in two columns\n When their window size is smaller than "599px"\n Then the rewards are displayed as cards in a singular column\n\n @motivating\n @ui\n Scenario: Table and Mobile beakpoints can be configured\n Given the reward table has been configured with the following props\n | prop | value |\n | smBreakpoint | 599 |\n | mdBreakpoint | 799 |\n And a user with rewards\n When they view the table\n And their window size is smaller than "799px"\n Then rewards are displayed as cards\n And they are in two columns\n When their window size is smaller than "599px"\n Then the rewards are displayed as cards in a singular column\n\n @motivating\n @ui\n Scenario Outline: By default the first column heading is hidden in mobile\n Given a reward table with 4 columns\n And prop "hidden-columns" with <hideColumnValue>\n And a user with rewards\n When they view the reward table\n And their window size is below the tablet breakpoint\n Then reward cards are displayed\n And the titles of <columnsArehidden> within the card\n Examples:\n | hideColumnValue | columnsArehidden |\n | | the first column |\n | 0,1,2 | the first, second and third columns |\n | 3 | the fourth column |\n\n @motivating\n Scenario: Only rewards which occured in the program specific by "program-id" are shown\n Given the table is configured with "program-id"\n Then only rewards from the program with "program-id" are shown\n\n @landmine\n Scenario: When a `classic` program Id is set then any reward without a programId is shown\n There is no easy way for the backend to filter for "classic" programs,\n thus we are filtering for rewards without programId\'s.\n\n Given the "program-id" of the table is set to "classic"\n Then rewards from classic programs are shown\n And manual rewards are shown\n\n @minutae\n @ui\n Scenario: Column heading can be hidden\n Given the table is configured with "hide-labels" set to "true"\n Then the table is displayed without column headings';var wb={title:"Components/Rewards Table",parameters:{scenario:vb}};var xb=t("div",{slot:"loading",style:{display:"contents"}},t("sqm-table-row",null,t("sqm-table-cell",{colspan:5},t("sl-skeleton",null))),t("sqm-table-row",null,t("sqm-table-cell",{colspan:5},t("sl-skeleton",null))),t("sqm-table-row",null,t("sqm-table-cell",{colspan:5},t("sl-skeleton",null))),t("sqm-table-row",null,t("sqm-table-cell",{colspan:5},t("sl-skeleton",null))),t("sqm-table-row",null,t("sqm-table-cell",{colspan:5},t("sl-skeleton",null))));var yb=t("sqm-empty",{"empty-state-image":"https://res.cloudinary.com/saasquatch/image/upload/v1644360953/squatch-assets/empty_reward2.png","empty-state-header":"View your rewards","empty-state-text":"See all the rewards you have earned from referring friends and completing tasks"});var Eb=function(e,t,n,a,r,s){if(t===void 0){t=false}if(n===void 0){n=false}if(a===void 0){a="Prev"}if(r===void 0){r="Next"}if(s===void 0){s=""}return{states:{hasPrev:false,hasNext:true,show:t?"empty":n?"loading":"rows",namespace:"sqm-rewards-table"},data:{textOverrides:{showLabels:true,prevLabel:a,moreLabel:r},hiddenColumns:s,mdBreakpoint:799,smBreakpoint:599},callbacks:{prevPage:function(){return console.log("Prev")},nextPage:function(){return console.log("Next")}},elements:{columns:["Rewards","Status","Source","Date received"],rows:e,emptyElement:yb,loadingElement:xb}}};var qb=[t(Ef,null),t(Kf,null),t(zf,null),t(hb,null)];var Ab=[t(Af,null),t(Zf,null),t(Xf,null),t(hb,null)];var Db=[t(Df,null),t(nb,null),t($f,null),t(hb,null)];var kb=[t(Tf,null),t(eb,null),t(Ff,null),t(hb,null)];var Cb=[t(If,null),t(Zf,null),t(Xf,null),t(hb,null)];var _b=[t(Nf,null),t(db,null),t(Ff,null),t(hb,null)];var Tb=[t(Lf,null),t(pb,null),t(Ff,null),t(hb,null)];var Rb=function(){return t(b,Object.assign({},Eb([qb,kb,Db,Ab])))};var Pb=function(){return t(b,Object.assign({},Eb([_b])))};var Ib=function(){return t(b,Object.assign({},Eb([Tb,Cb])))};var Sb=function(){return t(b,Object.assign({},Eb([],true)))};var Nb=function(){return t(b,Object.assign({},Eb([],false,true)))};var Lb=function(){return t(b,Object.assign({},Eb([qb,kb,Db,Ab],false,false,"CUSTOM PREVIOUS TEXT","CUSTOM NEXT TEXT")))};var Fb=function(){return t(b,Object.assign({},Eb([qb,kb,Db,Ab],false,false,undefined,undefined,"0,1,2,3")))};var Ob=Object.freeze({__proto__:null,default:wb,RewardsTable:Rb,RewardsTableSingle:Pb,RewardsTableLong:Ib,RewardsTableEmpty:Sb,RewardsTableLoading:Nb,CustomButtonTextTable:Lb,ColumnsMobileHidden:Fb});var Bb={title:"Hooks / useReferralTable"};function Gb(){var e="testestest";var t=e;window.widgetIdent={tenantAlias:"test_a8b41jotf8a1v",appDomain:"https://staging.referralsaasquatch.com"};o((function(){m({accountId:t,id:e,jwt:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InRlc3Rlc3Rlc3QiLCJpZCI6InRlc3Rlc3Rlc3QifX0.qYnU5hNeIj9C_G3NogfG7btgCPGZC7JRXY0MG6a63zs"});return function(){window.widgetIdent=undefined;m(undefined)}}),[]);return{id:e,accountId:t}}function jb(e){var t=e.token,n=e.id;var a=n;window.widgetIdent={tenantAlias:"test_a74miwdpofztj",appDomain:"https://staging.referralsaasquatch.com"};o((function(){m({accountId:a,id:n,jwt:t});return function(){window.widgetIdent=undefined;m(undefined)}}),[]);return{id:n,accountId:a}}var Vb=Vr((function(){Gb();g("sam-partner-test-2");return t("sqm-referral-table",null,t("sqm-referral-table-user-column",null),t("sqm-referral-table-status-column",null),t("sqm-referral-table-date-column",null),t("sqm-referral-table-rewards-column",null))}));var Mb=Vr((function(){return t("sqm-referral-table",null,t("sqm-referral-table-user-column",null),t("sqm-referral-table-status-column",null),t("sqm-referral-table-date-column",null),t("sqm-referral-table-rewards-column",null))}));var Wb=Vr((function(){return t("sqm-referral-table",{"show-referrer":"true"},t("sqm-referral-table-user-column",null),t("sqm-referral-table-status-column",null),t("sqm-referral-table-date-column",null),t("sqm-referral-table-rewards-column",null))}));var Ub=Vr((function(){jb({token:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InNhbWVuZ2xpc2giLCJpZCI6InNhbWVuZ2xpc2gifX0._6OTVF3gcipu_ibgthUNr5UHwC-2E_lhCENI5HpYvcw",id:"samenglish"});g("klip-referral-program");return t("sqm-referral-table",{"per-page":"4"},t("sqm-referral-table-user-column",{"column-title":"User"}),t("sqm-referral-table-status-column",{"column-title":"Referral Status"}),t("sqm-referral-table-rewards-column",null),t("sqm-referral-table-date-column",{"column-title":"Date Referred","date-shown":"dateReferralStarted"}))}));var zb=Vr((function(){jb({token:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InNhbXR1cmtleSIsImlkIjoic2FtdHVya2V5In19.usSMe0RWg8W5FtwcvJayvAlxTw6vMxjTyWXaP8jI8_U",id:"samturkey"});g("klip-referral-program");return t("sqm-referral-table",{"more-label":"Daha","prev-label":"Öncesi","empty-state-text":"Henüz Ödül Yok","per-page":"4"},t("sqm-referral-table-user-column",{"column-title":"Kullanıcılar","anonymous-user":"Anonim Kullanıcı","deleted-user":"Silinmiş Kullanıcı"}),t("sqm-referral-table-status-column",{"column-title":"Durumu","converted-status-text":"Dönüştür","in-progress-status-text":"Devam etmekte"}),t("sqm-referral-table-rewards-column",{"column-title":"Ödüller","status-text":"{status, select, AVAILABLE {Mevcut} CANCELLED {İptal edildi} PENDING {Bekliyor} EXPIRED {Süresi doldu} REDEEMED {Kullanıldı} other {Müsait değil} }","status-long-text":"{status, select, AVAILABLE {Ödül süresi doluyor} CANCELLED {Ödül iptal edildi} PENDING {üzerinde mevcut} EXPIRED {Ödülün süresi doldu} other {Müsait değil} }","reward-received-text":"Ödül şu tarihte alındı:"}),t("sqm-referral-table-date-column",{"column-title":"Tarih","date-shown":"dateReferralStarted"}))}));var Hb=Vr((function(){jb({token:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InNhbWZyZW5jaCIsImlkIjoic2FtZnJlbmNoIn19.cwhasHpfU5MLV4vGbCQcazb6p19iSw5pD2zyrVHgePg",id:"samfrench"});g("klip-referral-program");return t("sqm-referral-table",{"more-label":"Plus","prev-label":"Précédent","empty-state-text":"Aucune Référence Maintenant","per-page":"4"},t("sqm-referral-table-user-column",{"column-title":"Utilisateur","anonymous-user":"Utilisateur Anonyme","deleted-user":"Utilisateur Supprimé"}),t("sqm-referral-table-status-column",{"column-title":"Statut de Parrainage","converted-status-text":"Converti","in-progress-status-text":"En cours"}),t("sqm-referral-table-rewards-column",{"column-title":"Récompenses","status-text":"{status, select, AVAILABLE {Disponible} CANCELLED {Annulé} PENDING {En attente} EXPIRED {Expiré} REDEEMED {Racheté} other {Indisponible} }","status-long-text":"{status, select, AVAILABLE {Récompense expirant sur} CANCELLED {Récompense annulée sur} PENDING {Disponible sur} EXPIRED {Récompense expirée sur} other {Indisponible} }","reward-received-text":"Récompense reçue"}),t("sqm-referral-table-date-column",{"column-title":"Date de Référence","date-shown":"dateReferralStarted"}))}));var Xb=Object.freeze({__proto__:null,default:Bb,ReferralTable:Vb,ReferralTableDemoHook:Mb,ReferralTableDemoHookShowReferrer:Wb,ReferralTableEn:Ub,ReferralTableTr:zb,ReferralTableFr:Hb});var Jb='@author:kutay\n@owner:kutay\nFeature: Hero Image\n\n\tThe Hero Image component displays media images with a header, description and button using an overlay or a double column layout to offer an attrative widget page.\n\n\tBackground: A user on the portal is viewing the widget\n\t\tGiven a user viewing the Hero Image component\n\n\t@motivating\n\t@ui\n\tScenario: Overlay image displays header, description, and button with brand color\n\t\tGiven a Hero Image component configured with the following props\n\t\t\t| prop | value |\n\t\t\t| image-url | "https://res.cloudinary.com/saasquatch/image/upload/v1644000278/squatch-assets/bTwu1Um.png" |\n\t\t\t| header | "Klip Rewards" |\n\t\t\t| description | "Refer friends or complete tasks while using Klip to earn rewards" |\n\t\t\t| button-text | "Start earning" |\n\t\t\t| layout | "overlay" |\n\t\tThen they see their image\n\t\tAnd the image has no padding\n\t\tAnd it has a brand colour overlay\n\t\tAnd "Klip Rewards" is displayed over top of the image in xxx-large font\n\t\tAnd below "Refer friends or complete tasks while using Klip to earn rewards" is displayed over top of the image in x-large font\n\t\tAnd below they see a brand coloured button with text "Start earning"\n\t\tAnd the text section has xxx-large padding\n\t\tWhen the component is scaled down to 599px\n\t\tThen the image is scaled to fit content\n\n\t@motivating\n\t@ui\n\tScenario Outline: Overlay image crop can be aligned left, center or right\n\t\tGiven a Hero Image component configured with the following props\n\t\t\t| prop | value |\n\t\t\t| image-url | "https://res.cloudinary.com/saasquatch/image/upload/v1644000278/squatch-assets/bTwu1Um.png" |\n\t\t\t| header | "Klip Rewards" |\n\t\t\t| description | "Refer friends or complete tasks while using Klip to earn rewards" |\n\t\t\t| button-text | "Start earning" |\n\t\t\t| layout | "overlay" |\n\t\t\t| image-pos | <value> |\n\t\tThen the image with overlay is displayed\n\t\tWhen the component is scaled down to 599px\n\t\tThen the image is <alignment> to fit content\n\t\tExamples:\n\t\t\t| value | alignment |\n\t\t\t| left | left aligned |\n\t\t\t| center | centered |\n\t\t\t| right | right aligned |\n\t\t\t| N/A | centered |\n\n\t@motivating\n\t@ui\n\tScenario Outline: Overlay padding is configurable\n\t\tGiven a Hero Image component configured with the following props\n\t\t\t| prop | value |\n\t\t\t| image-url | "https://res.cloudinary.com/saasquatch/image/upload/v1644000278/squatch-assets/bTwu1Um.png" |\n\t\t\t| header | "Klip Rewards" |\n\t\t\t| description | "Refer friends or complete tasks while using Klip to earn rewards" |\n\t\t\t| button-text | "Start earning" |\n\t\t\t| layout | "overlay" |\n\t\t\t| padding-text | <value> |\n\t\tThen the image with overlay is displayed\n\t\tAnd <padding> is applied around header, description and button\n\t\tExamples:\n\t\t\t| value | padding |\n\t\t\t| none | no padding |\n\t\t\t| xxx-small | xxx-small |\n\t\t\t| xx-small | xx-small |\n\t\t\t| x-small | x-small |\n\t\t\t| small | small |\n\t\t\t| medium | medium |\n\t\t\t| large | large |\n\t\t\t| x-large | x-large |\n\t\t\t| xx-large | xx-large |\n\t\t\t| xxx-large | xxx-large |\n\t\t\t| xxxx-large | xxxx-large |\n\t\t\t| N/A | no padding |\n\n\t@motivating\n\t@ui\n\tScenario Outline: Overlay color and background is configurable\n\t\tGiven a Hero Image component configured with the following props\n\t\t\t| prop | value |\n\t\t\t| image-url | "https://res.cloudinary.com/saasquatch/image/upload/v1644000278/squatch-assets/bTwu1Um.png" |\n\t\t\t| header | "Klip Rewards" |\n\t\t\t| description | "Refer friends or complete tasks while using Klip to earn rewards" |\n\t\t\t| button-text | "Start earning" |\n\t\t\t| layout | "overlay" |\n\t\t\t| text-color | <textColor> |\n\t\t\t| overlay-color | <overlayColor> |\n\t\t\t| overlay-opacity | <overlayOpacity> |\n\t\tThen the image with overlay is displayed\n\t\tAnd the overlay is <overlayColor>\n\t\tAnd the overlay has <overlayOpacity>\n\t\tAnd the text is <textColor>\n\t\tExamples:\n\t\t\t| textColor | overlayColor | overlayOpacity |\n\t\t\t| #fffc4b | #ff7f7f | 0.9 |\n\t\t\t| #1d0314 | #4baa1a | 0 |\n\t\t\t| #211a27 | #aa481a | 1 |\n\n\t@motivating\n\t@ui\n\tScenario: Two-column layout displays an image on one side and on the other side a header, description, and button\n\t\tGiven a Hero Image component configured with the following props\n\t\t\t| prop | value |\n\t\t\t| image-url | "https://res.cloudinary.com/saasquatch/image/upload/v1644000275/squatch-assets/yr6ER3R.png" |\n\t\t\t| header | "Klip Rewards" |\n\t\t\t| description | "Refer friends or complete tasks while using Klip to earn rewards" |\n\t\t\t| button-text | "Start earning" |\n\t\t\t| layout | "columns" |\n\t\tThen the image is displayed on the left\n\t\tAnd the following elements are displayed on the right\n\t\t\t| elements |\n\t\t\t| header |\n\t\t\t| description |\n\t\t\t| button |\n\t\tWhen the component is scaled down to 599px\n\t\tThen the two-column layout switches to a row layout\n\t\tAnd the image is displayed on top\n\t\tAnd the content is displayed below\n\n\t@motivating\n\t@ui\n\tScenario Outline: Image position is configurable for desktop and mobile\n\t\tGiven a Hero Image component configured with the following props\n\t\t\t| prop | value |\n\t\t\t| image-url | "https://res.cloudinary.com/saasquatch/image/upload/v1644000275/squatch-assets/yr6ER3R.png" |\n\t\t\t| header | "Klip Rewards" |\n\t\t\t| description | "Refer friends or complete tasks while using Klip to earn rewards" |\n\t\t\t| button-text | "Start earning" |\n\t\t\t| layout | "columns" |\n\t\t\t| image-pos | <imagePos> |\n\t\t\t| image-mobile-pos | <imageMobilePos> |\n\t\tThen the image is displayed on the <imagePos>\n\t\tWhen the component is scaled down to 599px\n\t\tThen two-column layout switches to a row layout\n\t\tAnd image is displayed on the <imageMobilePos>\n\t\tExamples:\n\t\t\t| imagePos | imageMobilePos |\n\t\t\t| left | top |\n\t\t\t| right | bottom |\n\n\t@motivating\n\t@ui\n\tScenario Outline: Padding is configurable for the image and text of two column layouts\n\t\tGiven a Hero Image component configured with the following props\n\t\t\t| prop | value |\n\t\t\t| image-url | "https://res.cloudinary.com/saasquatch/image/upload/v1644000275/squatch-assets/yr6ER3R.png" |\n\t\t\t| header | "Klip Rewards" |\n\t\t\t| description | "Refer friends or complete tasks while using Klip to earn rewards" |\n\t\t\t| button-text | "Start earning" |\n\t\t\t| layout | "columns" |\n\t\t\t| padding-text | <paddingText> |\n\t\t\t| padding-image | <paddingImage> |\n\t\tThen the two column layout is displayed\n\t\tAnd the image has padding <paddingImage>\n\t\tAnd the text has padding <paddingText>\n\t\tExamples:\n\t\t\t| paddingText | paddingImage |\n\t\t\t| xxx-small | xxx-small |\n\t\t\t| xx-small | xx-small |\n\t\t\t| x-small | x-small |\n\t\t\t| small | small |\n\t\t\t| medium | medium |\n\t\t\t| large | large |\n\t\t\t| x-large | x-large |\n\t\t\t| xx-large | xx-large |\n\t\t\t| xxx-large | xxx-large |\n\t\t\t| xxxx-large | xxxx-large |\n\t\t\t| none | none |\n\n\t@motivating\n\t@ui\n\tScenario Outline: Two-column layout image division percentage is configurable\n\t\tGiven a Hero Image component configured with the following props\n\t\t\t| prop | value |\n\t\t\t| image-url | "https://res.cloudinary.com/saasquatch/image/upload/v1644000248/squatch-assets/MVgOJn7.png" |\n\t\t\t| header | "Klip Rewards" |\n\t\t\t| description | "Refer friends or complete tasks while using Klip to earn rewards" |\n\t\t\t| button-text | "Start earning" |\n\t\t\t| layout | "columns" |\n\t\t\t| image-percentage | <percent> |\n\t\tThen the two column layout is displayed\n\t\tAnd the image takes up <percent> of the two-column layout\n\t\tAnd the text elements take up the remainder of the space\n\t\tExamples:\n\t\t\t| percent |\n\t\t\t| 25% |\n\t\t\t| 42% |\n\t\t\t| 66% |\n\n\t@motivating\n\t@ui\n\tScenario: Two-column layout text and background color is configurable\n\t\tGiven a Hero Image component configured with the following props\n\t\t\t| prop | value |\n\t\t\t| image-url | "https://res.cloudinary.com/saasquatch/image/upload/v1644000275/squatch-assets/yr6ER3R.png" |\n\t\t\t| header | "Klip Rewards" |\n\t\t\t| description | "Refer friends or complete tasks while using Klip to earn rewards" |\n\t\t\t| button-text | "Start earning" |\n\t\t\t| layout | "columns" |\n\t\t\t| text-color | <textColor> |\n\t\t\t| background-color | <backgroundColor> |\n\t\tThen the two column layout is displayed\n\t\tAnd the text has color <textColor>\n\t\tAnd the background has color <backgroundColor>\n\t\tExamples:\n\t\t\t| textColor | backgroundColor |\n\t\t\t| #fffc4b | #ff7f7f |\n\t\t\t| #1d0314 | #4baa1a |\n\t\t\t| #211a27 | #aa481a |';var $b={title:"Components/Hero Image",parameters:{scenario:Jb}};var Kb=function(){return t("sqm-hero-image",{"image-url":"https://res.cloudinary.com/saasquatch/image/upload/v1644000278/squatch-assets/bTwu1Um.png",header:"Klip Rewards",layout:"overlay","padding-image":"none","padding-text":"xxxx-large"})};var Yb=function(){return t("sqm-hero-image",{"image-url":"https://res.cloudinary.com/saasquatch/image/upload/v1644000278/squatch-assets/bTwu1Um.png",header:"Klip Rewards",description:"Refer friends or complete tasks while using Klip to earn rewards",layout:"overlay","padding-image":"none","padding-text":"xxxx-large"})};var Zb=function(){return t("sqm-hero-image",{"image-url":"https://res.cloudinary.com/saasquatch/image/upload/v1644000278/squatch-assets/bTwu1Um.png",header:"Klip Rewards",description:"Refer friends or complete tasks while using Klip to earn rewards","button-text":"Start earning",layout:"overlay","padding-image":"none","padding-text":"xxxx-large"})};var Qb=function(){return t("sqm-hero-image",{"image-url":"https://res.cloudinary.com/saasquatch/image/upload/v1644000278/squatch-assets/bTwu1Um.png",header:"Klip Rewards",description:"Refer friends or complete tasks while using Klip to earn rewards","button-text":"Start earning",layout:"overlay","padding-image":"none","padding-text":"xxx-small"})};var ev=function(){return t("sqm-hero-image",{"image-url":"https://res.cloudinary.com/saasquatch/image/upload/v1644000278/squatch-assets/bTwu1Um.png",header:"Klip Rewards",description:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum","button-text":"Start earning",layout:"overlay","padding-image":"none","padding-text":"xxxx-large"})};var tv=function(){return t("sqm-hero-image",{"image-url":"https://res.cloudinary.com/saasquatch/image/upload/v1644000278/squatch-assets/bTwu1Um.png",header:"Klip Rewards",description:"Refer friends or complete tasks while using Klip to earn rewards","button-text":"Start earning",layout:"overlay","image-pos":"left","padding-image":"none","padding-text":"xxxx-large"})};var nv=function(){return t("sqm-hero-image",{"image-url":"https://res.cloudinary.com/saasquatch/image/upload/v1644000278/squatch-assets/bTwu1Um.png",header:"Klip Rewards",description:"Refer friends or complete tasks while using Klip to earn rewards","button-text":"Start earning",layout:"overlay","image-pos":"center","padding-image":"none","padding-text":"xxxx-large"})};var av=function(){return t("sqm-hero-image",{"image-url":"https://res.cloudinary.com/saasquatch/image/upload/v1644000278/squatch-assets/bTwu1Um.png",header:"Klip Rewards",description:"Refer friends or complete tasks while using Klip to earn rewards","button-text":"Start earning",layout:"overlay","image-pos":"right","padding-image":"none","padding-text":"xxxx-large"})};var rv=function(){return t("sqm-hero-image",{"image-url":"https://res.cloudinary.com/saasquatch/image/upload/v1644000278/squatch-assets/bTwu1Um.png",header:"Klip Rewards",description:"Refer friends or complete tasks while using Klip to earn rewards","button-text":"Start earning","text-color":"#fffc4b","overlay-color":"#ff7f7f","overlay-opacity":"0.9",layout:"overlay","padding-image":"none","padding-text":"xxxx-large"})};var sv=function(){return t("sqm-hero-image",{"image-url":"https://res.cloudinary.com/saasquatch/image/upload/v1644000278/squatch-assets/bTwu1Um.png",header:"Klip Rewards",description:"Refer friends or complete tasks while using Klip to earn rewards","button-text":"Start earning","text-color":"#fffc4b","overlay-color":"#ff7f7f","overlay-opacity":"0.3",layout:"overlay","padding-image":"none","padding-text":"xxxx-large"})};var iv=function(){return t("sqm-hero-image",{"image-url":"https://res.cloudinary.com/saasquatch/image/upload/v1644000275/squatch-assets/yr6ER3R.png",header:"Klip Rewards",description:"Refer friends or complete tasks while using Klip to earn rewards","button-text":"Start earning",layout:"columns","padding-image":"none","padding-text":"xxxx-large"})};var ov=function(){return t("sqm-hero-image",{"image-url":"https://res.cloudinary.com/saasquatch/image/upload/v1644000275/squatch-assets/yr6ER3R.png",header:"Klip Rewards",description:"Refer friends or complete tasks while using Klip to earn rewards","button-text":"Start earning",layout:"columns","padding-image":"xxxx-large","padding-text":"large"})};var lv=function(){return t("sqm-hero-image",{"image-url":"https://res.cloudinary.com/saasquatch/image/upload/v1644000275/squatch-assets/yr6ER3R.png",header:"Klip Rewards",description:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum","button-text":"Start earning",layout:"columns","padding-image":"none","padding-text":"xxxx-large"})};var dv=function(){return t("sqm-hero-image",{"image-url":"https://res.cloudinary.com/saasquatch/image/upload/v1644000275/squatch-assets/yr6ER3R.png",header:"Klip Rewards",description:"Refer friends or complete tasks while using Klip to earn rewards","button-text":"Start earning",layout:"columns",imagePos:"right",imageMobilePos:"bottom","padding-image":"none","padding-text":"xxxx-large"})};var uv=function(){return t("sqm-hero-image",{"image-url":"https://res.cloudinary.com/saasquatch/image/upload/v1644000248/squatch-assets/MVgOJn7.png",description:"Be one of the top 3 referrers at the end of the year and receive Klip free for 1 year!",layout:"columns","image-percentage":"33%","padding-image":"large","padding-text":"large","background-color":"#EFF8FE"})};var cv=function(){return t("sqm-hero-image",{"image-url":"https://res.cloudinary.com/saasquatch/image/upload/v1644000275/squatch-assets/yr6ER3R.png",header:"Klip Rewards",description:"Refer friends or complete tasks while using Klip to earn rewards","button-text":"Start earning",layout:"columns","text-color":"#fffc4b","background-color":"#ff7f7f","padding-image":"none","padding-text":"xxxx-large"})};var mv=Object.freeze({__proto__:null,default:$b,OverlayHeader:Kb,OverlayDescription:Yb,OverlayButton:Zb,OverlayPadding:Qb,OverlayLong:ev,OverlayLeft:tv,OverlayCenter:nv,OverlayRight:av,OverlayCustomColors:rv,OverlayCustomOpacity:sv,Columns:iv,ColumnsPadding:ov,ColumnsLong:lv,ColumnsReverse:dv,ColumnsCustomPercentage:uv,ColumnsCustomColors:cv});var pv='@author:kutay\n@owner:kutay\nFeature: Referral Card\n\n\tThe Referral Card component takes in two slots and displays them side by side.\n\n\tBackground: A user on the portal is viewing the widget\n\t\tGiven a user viewing the Referral Card component\n\n\t@motivating\n\t@ui\n\tScenario: Referral Card component displays provided content in left and right slots side by side\n\t\tGiven a Referral Card component\n\t\tAnd a slot with the name "left"\n\t\tAnd a slot with the name "right"\n\t\tWhen the user views the referral card\n\t\tThen the slot contents are displayed the card with equal width\n\t\tWhen the component is scaled down to 499px\n\t\tThen the column layout switches to row layout\n\t\tAnd the "left" slot content is displayed above the "right" slot content\n\n\t@motivating\n\t@ui\n\tScenario Outline: Referral Card component content can be vertically aligned start, center, end\n\t\tGiven a Referral Card component\n\t\tAnd a slot with the name "left"\n\t\tAnd a slot with the name "right"\n\t\tAnd the prop "vertical-alignment" has <value>\n\t\tThen slots contents are displayed inside the card\n\t\tAnd slots are vertically aligned to <alignment> of the card\n\t\tExamples:\n\t\t\t| value | alignment |\n\t\t\t| start | the top |\n\t\t\t| center | the center |\n\t\t\t| end | the bottom |\n\t\t\t| N/A | the top |\n\n';var hv={title:"Components/Referral Card",parameters:{scenario:pv}};var gv=function(e){return t("sqm-portal-container",{gap:"large",slot:e},t("sqm-hero-image",{header:"Get rewarded when your friend uses Klip","image-url":"https://res.cloudinary.com/saasquatch/image/upload/v1644000227/squatch-assets/IqB7GeS.png"}))};var fv=function(e){return t("sqm-portal-container",{gap:"large",slot:e},t("sqm-text",null,"Choose how you want to share:"),t("sqm-text",null,t("sub",null,"Your unique referral link:"),t("sqm-share-code",null)),t("sqm-portal-container",{gap:"x-small"},t("sqm-share-button",{medium:"email"},"Share via email"),t("sqm-share-button",{medium:"facebook"},"Share on Facebook"),t("sqm-share-button",{medium:"twitter"},"Tweet about us")))};var bv=function(e,n){return t("sqm-timeline",{slot:e,icon:"circle"},n>0&&t("sqm-timeline-entry",{reward:"75",unit:"points",desc:"Your friends signs up for a free trial"}),n>1&&t("sqm-timeline-entry",{reward:"$50",unit:"visa giftcard",desc:"Your friends signs up for Klip Personal"}),n>2&&t("sqm-timeline-entry",{reward:"$200",unit:"visa giftcard",desc:"Your friend qualifies as a good fit for Klip Team"}),n>3&&t("sqm-timeline-entry",{reward:"$1000",unit:"visa giftcard",desc:"Your friend purchases Klip Team"}))};var vv=function(){return t("sqm-referral-card",null,gv("left"),fv("right"))};var wv=function(){return t("sqm-referral-card",null,bv("left",3),fv("right"))};var xv=function(){return t("sqm-referral-card",{"vertical-alignment":"start"},bv("left",4),fv("right"))};var yv=function(){return t("sqm-referral-card",{"vertical-alignment":"center"},bv("left",4),fv("right"))};var Ev=function(){return t("sqm-referral-card",{"vertical-alignment":"end"},bv("left",4),fv("right"))};var qv=function(){return t("sqm-referral-card",null,bv("right",3),fv("left"))};var Av=function(){return t("sqm-referral-card",{"vertical-alignment":"center"},t("sqm-portal-container",{slot:"left",gap:"x-small"},t("div",{style:{padding:"100px",border:"1px dashed black",background:"#eee",color:"#333",textAlign:"center"}},"PLACEHOLDER")),t("sqm-portal-container",{slot:"right",gap:"x-small"},t("div",{style:{padding:"100px",border:"1px dashed black",background:"#eee",color:"#333",textAlign:"center"}},"PLACEHOLDER")))};var Dv=Object.freeze({__proto__:null,default:hv,ImageAndShareButtons:vv,TimelineAndShareButtons:wv,StartAlignment:xv,CenterAlignment:yv,EndAlignment:Ev,FlippedSlots:qv,ReferralCardGeneric:Av});var kv='@author:derek\n@owner:kutay\nFeature: Timeline\n\n @motivating\n @ui\n Scenario: The timeline adds lines between timeline entries\n Given a timeline\n And it has many timeline entries as children\n When a user views the timeline\n Then they see all timeline entries are connected by brand colour lines\n And see that the last entry does not have a line\n\n @motivating\n @ui\n Scenario Outline: The timeline can set the icons used by its timeline entries\n Given a timeline with "icon" <iconPropValue>\n And it has many timeline entries as children\n When a user views the timeline\n Then they see the timeline entries have a <icon>\n Examples:\n | iconPropValue | icon |\n | gift | gift icon |\n | gift | gift icon |\n | circle | brand colour circle |\n';var Cv='@author:derek\n@owner:kutay\nFeature: Timeline Entry\n\n @motivating\n @ui\n Scenario: Timeline entries have an icon, a reward and an entry desciption\n Given an timeline entry with the following props\n | prop | value |\n | unit | Visa Giftcard |\n | reward | 50$ |\n | desc | Earn a 50$ Visa Giftcard for each referral you make |\n When a user views the entry\n Then they see a gift icon\n And see "$50 VISA GIFTCARRD" to the right\n And "$50" is bolded with x-large font size\n And below they see "Earn a 50$ Visa Giftcard for each referral you make"\n\n @motivating\n @ui\n Scenario Outline: Icon can either be a gift or a brand colour cirle\n Given a timeline entry with "icon" <iconPropValue>\n When a user views the entry\n Then they see an <icon>\n Examples:\n | iconPropValue 1 | icon |\n | gift | gift |\n | circle | brand colour circle |\n | | gift |\n\n @motivating\n @ui\n Scenario: A timeline entry can display a line to connect it to another entry\n Given a timeline entry with "line" "true"\n When a user views the entry\n Then they see the entry\n But it has a brand colour line connecting it to the next timeline entry\n';var _v=kv+Cv;var Tv={title:"Components/Timeline",parameters:{scenario:_v}};var Rv=function(){return t("div",null,t("sqm-timeline",null,t("sqm-timeline-entry",{reward:"75",unit:"points",desc:"Your friends signs up for a free trial"})),t("br",null)," ",t("hr",null)," ",t("br",null),t("sqm-timeline",{icon:"circle"},t("sqm-timeline-entry",{reward:"75",unit:"points",desc:"Your friends signs up for a free trial"})))};var Pv=function(){return t("div",null,t("sqm-timeline",null,t("sqm-timeline-entry",{reward:"75",unit:"points",desc:"Your friends signs up for a free trial"}),t("sqm-timeline-entry",{reward:"$50",unit:"visa giftcard",desc:"Your friends signs up for Klip Personal"})),t("br",null)," ",t("hr",null)," ",t("br",null),t("sqm-timeline",{icon:"circle"},t("sqm-timeline-entry",{reward:"75",unit:"points",desc:"Your friends signs up for a free trial"}),t("sqm-timeline-entry",{reward:"$50",unit:"visa giftcard",desc:"Your friends signs up for Klip Personal"})))};var Iv=function(){return t("div",null,t("sqm-timeline",null,t("sqm-timeline-entry",{reward:"75",unit:"points",desc:"Your friends signs up for a free trial"}),t("sqm-timeline-entry",{reward:"$50",unit:"visa giftcard",desc:"Your friends signs up for Klip Personal"}),t("sqm-timeline-entry",{reward:"$200",unit:"visa giftcard",desc:"Your friend qualifies as a good fit for Klip Team"})),t("br",null)," ",t("hr",null)," ",t("br",null),t("sqm-timeline",{icon:"circle"},t("sqm-timeline-entry",{reward:"75",unit:"points",desc:"Your friends signs up for a free trial"}),t("sqm-timeline-entry",{reward:"$50",unit:"visa giftcard",desc:"Your friends signs up for Klip Personal"}),t("sqm-timeline-entry",{reward:"$200",unit:"visa giftcard",desc:"Your friend qualifies as a good fit for Klip Team"})))};var Sv=function(){return t("div",null,t("sqm-timeline",null,t("sqm-timeline-entry",{reward:"75",unit:"points",desc:"Your friends signs up for a free trial"}),t("sqm-timeline-entry",{reward:"$50",unit:"visa giftcard",desc:"Your friends signs up for Klip Personal"}),t("sqm-timeline-entry",{reward:"$200",unit:"visa giftcard",desc:"Your friend qualifies as a good fit for Klip Team"}),t("sqm-timeline-entry",{reward:"$1000",unit:"visa giftcard",desc:"Your friend purchases Klip Team"})),t("br",null)," ",t("hr",null)," ",t("br",null),t("sqm-timeline",{icon:"circle"},t("sqm-timeline-entry",{reward:"75",unit:"points",desc:"Your friends signs up for a free trial"}),t("sqm-timeline-entry",{reward:"$50",unit:"visa giftcard",desc:"Your friends signs up for Klip Personal"}),t("sqm-timeline-entry",{reward:"$200",unit:"visa giftcard",desc:"Your friend qualifies as a good fit for Klip Team"}),t("sqm-timeline-entry",{reward:"$1000",unit:"visa giftcard",desc:"Your friend purchases Klip Team"})))};var Nv=Object.freeze({__proto__:null,default:Tv,TimelineWith1Reward:Rv,TimelineWith2Rewards:Pv,TimelineWith3Rewards:Iv,TimelineWith4Rewards:Sv});var Lv='@author:kutay\n@owner:kutay\nFeature: Image\n\n\tBackground: A user on the portal is viewing the widget\n\t\tGiven a user viewing the image component\n\n\t@motivating\n\t@ui\n\tScenario: Image is displayed from URL\n\t\tGiven an Image component\n\t\tAnd prop "image-url" is provided with a valid image url\n\t\tThen the image is displayed\n\t\tAnd it is centered\n\n\t@motivating\n\t@ui\n\tScenario Outline: Images can be aligned left, center or right\n\t\tGiven an Image component\n\t\tAnd prop "image-url" is provided with a valid image url\n\t\tAnd prop "align" has <value>\n\t\tThen the image is displayed\n\t\tAnd it is aligned to the <value>\n\t\tExamples:\n\t\t\t| value |\n\t\t\t| left |\n\t\t\t| center |\n\t\t\t| right |\n\n\t@motivating\n\t@ui\n\tScenario: Image background can be assigned a color\n\t\tGiven an Image component\n\t\tAnd prop "image-url" is provided with a valid image url\n\t\tAnd prop "background-color" is provided a color\n\t\tThen the image is displayed\n\t\tAnd the background is the provided color\n\n\t@motivating\n\t@ui\n\tScenario: Image minimum height can be constrained\n\t\tGiven an Image component\n\t\tAnd prop "image-url" is provided\n\t\tAnd prop "min-height" is given a minimum value\n\t\tThen the image is displayed\n\t\tAnd the container size changes\n\t\tThen the image does not shrink below its minimum height';var Fv={title:"Components/Image",parameters:{scenario:Lv}};var Ov=function(){return t("sqm-image",{"image-url":"https://res.cloudinary.com/saasquatch/image/upload/v1644000259/squatch-assets/tn47wOj.png"})};var Bv=function(){return t("sqm-image",{"image-url":"https://res.cloudinary.com/saasquatch/image/upload/v1644000259/squatch-assets/tn47wOj.png",alignment:"left"})};var Gv=function(){return t("sqm-image",{"image-url":"https://res.cloudinary.com/saasquatch/image/upload/v1644000259/squatch-assets/tn47wOj.png",alignment:"center"})};var jv=function(){return t("sqm-image",{"image-url":"https://res.cloudinary.com/saasquatch/image/upload/v1644000259/squatch-assets/tn47wOj.png",alignment:"right"})};var Vv=function(){return t("sqm-image",{"image-url":"https://res.cloudinary.com/saasquatch/image/upload/v1644000259/squatch-assets/tn47wOj.png","background-color":"firebrick",alignment:"center"})};var Mv=function(){return t("sqm-image",{"image-url":"https://res.cloudinary.com/saasquatch/image/upload/v1644000255/squatch-assets/oIiVdMM.jpg",minHeight:"192px"})};var Wv=Object.freeze({__proto__:null,default:Fv,Image:Ov,ImageAlignmentLeft:Bv,ImageAlignmentCenter:Gv,ImageAlignmentRight:jv,ImageBackground:Vv,MinimumHeight:Mv});var Uv='@author:derek\n@owner:noah\nFeature: Titled Section\n\n Background: The titled section has a label and content\n Given a titled section\n And it has a label\n And it has content in the content slot\n\n @motivating\n @ui\n Scenario: Text alignment defaults to left align but can be configured\n Given the titled section has "text-align" <textAlignPropValue>\n When a user views the titled section\n Then the text in the label is <aligned>\n And the text in the content is <aligned>\n Examples:\n | textAlignPropValue | aligned |\n | center | center |\n | left | left |\n | right | right |\n | | left |\n\n @minutae\n @ui\n Scenario: Label margin is configurable\n Given the titled section has "label-margin" <marginPropValue>\n When a user views the titled section\n Then <marginPropValue> margin is between the label and content\n Examples:\n | marginPropValue | margin |\n | none | no |\n | xxx-small | xxx-small |\n | xx-small | xx-small |\n | x-small | x-small |\n | small | small |\n | medium | medium |\n | large | large |\n | x-large | x-large |\n | xx-large | xx-large |\n | xxx-large | xxx-large |\n | xxxx-large | xxxx-large |\n | | no |\n\n @minutae\n @ui\n Scenario Outline: Titled section padding is configurable\n Given the titled section has "padding" <paddingPropValue>\n When a user views the titled section\n Then <paddingPropValue> padding is applied around the titled section\n Examples:\n | paddingPropValue | padding |\n | none | no |\n | xxx-small | xxx-small |\n | xx-small | xx-small |\n | x-small | x-small |\n | small | small |\n | medium | medium |\n | large | large |\n | x-large | x-large |\n | xx-large | xx-large |\n | xxx-large | xxx-large |\n | xxxx-large | xxxx-large |\n | | no |';var zv={title:"Components/Titled Section",parameters:{scenario:Uv}};var Hv=function(){return t("sqm-titled-section",{"text-align":"left"},t("sqm-text",{slot:"label"},t("h3",null,"Earn more rewards"),t("p",null,"Get points while using Klip. Use those points to redeem rewards like one free month of Klip Enterprise or two plane tickets to anywhere in North America")))};var Xv=function(){return t("sqm-titled-section",{"text-align":"center"},t("sqm-text",{slot:"label"},t("h3",null,"Earn more rewards"),t("p",null,"Get points while using Klip. Use those points to redeem rewards like one free month of Klip Enterprise or two plane tickets to anywhere in North America")))};var Jv=function(){return t("sqm-titled-section",{"text-align":"right"},t("sqm-text",{slot:"label"},t("h3",null,"Earn more rewards"),t("p",null,"Get points while using Klip. Use those points to redeem rewards like one free month of Klip Enterprise or two plane tickets to anywhere in North America")))};var $v=function(){return t("div",null,t("h3",null,"None"),t("sqm-titled-section",{padding:"none"},t("sqm-text",{slot:"label"},t("h3",null,"Earn more rewards")),t("sqm-text",{slot:"content"},t("p",null,"Get points while using Klip. Use those points to redeem rewards like one free month of Klip Enterprise or two plane tickets to anywhere in North America"))),t("br",null),t("hr",null),t("br",null),t("h3",null,"xxx-small"),t("sqm-titled-section",{padding:"xxx-small"},t("sqm-text",{slot:"label"},t("h3",null,"Earn more rewards")),t("sqm-text",{slot:"content"},t("p",null,"Get points while using Klip. Use those points to redeem rewards like one free month of Klip Enterprise or two plane tickets to anywhere in North America"))),t("br",null),t("hr",null),t("br",null),t("h3",null,"xx-small"),t("sqm-titled-section",{padding:"xx-small"},t("sqm-text",{slot:"label"},t("h3",null,"Earn more rewards")),t("sqm-text",{slot:"content"},t("p",null,"Get points while using Klip. Use those points to redeem rewards like one free month of Klip Enterprise or two plane tickets to anywhere in North America"))),t("br",null),t("hr",null),t("br",null),t("h3",null,"x-small"),t("sqm-titled-section",{padding:"x-small"},t("sqm-text",{slot:"label"},t("h3",null,"Earn more rewards")),t("sqm-text",{slot:"content"},t("p",null,"Get points while using Klip. Use those points to redeem rewards like one free month of Klip Enterprise or two plane tickets to anywhere in North America"))),t("br",null),t("hr",null),t("br",null),t("h3",null,"small"),t("sqm-titled-section",{padding:"small"},t("sqm-text",{slot:"label"},t("h3",null,"Earn more rewards")),t("sqm-text",{slot:"content"},t("p",null,"Get points while using Klip. Use those points to redeem rewards like one free month of Klip Enterprise or two plane tickets to anywhere in North America"))),t("br",null),t("hr",null),t("br",null),t("h3",null,"medium"),t("sqm-titled-section",{padding:"medium"},t("sqm-text",{slot:"label"},t("h3",null,"Earn more rewards")),t("sqm-text",{slot:"content"},t("p",null,"Get points while using Klip. Use those points to redeem rewards like one free month of Klip Enterprise or two plane tickets to anywhere in North America"))),t("br",null),t("hr",null),t("br",null),t("h3",null,"large"),t("sqm-titled-section",{padding:"large"},t("sqm-text",{slot:"label"},t("h3",null,"Earn more rewards")),t("sqm-text",{slot:"content"},t("p",null,"Get points while using Klip. Use those points to redeem rewards like one free month of Klip Enterprise or two plane tickets to anywhere in North America"))),t("br",null),t("hr",null),t("br",null),t("h3",null,"x-large"),t("sqm-titled-section",{padding:"x-large"},t("sqm-text",{slot:"label"},t("h3",null,"Earn more rewards")),t("sqm-text",{slot:"content"},t("p",null,"Get points while using Klip. Use those points to redeem rewards like one free month of Klip Enterprise or two plane tickets to anywhere in North America"))),t("br",null),t("hr",null),t("br",null),t("h3",null,"xx-large"),t("sqm-titled-section",{padding:"xx-large"},t("sqm-text",{slot:"label"},t("h3",null,"Earn more rewards")),t("sqm-text",{slot:"content"},t("p",null,"Get points while using Klip. Use those points to redeem rewards like one free month of Klip Enterprise or two plane tickets to anywhere in North America"))),t("br",null),t("hr",null),t("br",null),t("h3",null,"xxx-large"),t("sqm-titled-section",{padding:"xxx-large"},t("sqm-text",{slot:"label"},t("h3",null,"Earn more rewards")),t("sqm-text",{slot:"content"},t("p",null,"Get points while using Klip. Use those points to redeem rewards like one free month of Klip Enterprise or two plane tickets to anywhere in North America"))),t("br",null),t("hr",null),t("br",null),t("h3",null,"xxxx-large"),t("sqm-titled-section",{padding:"xxxx-large"},t("sqm-text",{slot:"label"},t("h3",null,"Earn more rewards")),t("sqm-text",{slot:"content"},t("p",null,"Get points while using Klip. Use those points to redeem rewards like one free month of Klip Enterprise or two plane tickets to anywhere in North America"))))};var Kv=function(){return t("div",null,t("h3",null,"None"),t("sqm-titled-section",{"label-margin":"none"},t("sqm-text",{slot:"label"},t("h3",null,"Earn more rewards")),t("sqm-text",{slot:"content"},t("p",null,"Get points while using Klip. Use those points to redeem rewards like one free month of Klip Enterprise or two plane tickets to anywhere in North America"))),t("br",null),t("hr",null),t("br",null),t("h3",null,"xxx-small"),t("sqm-titled-section",{"label-margin":"xxx-small"},t("sqm-text",{slot:"label"},t("h3",null,"Earn more rewards")),t("sqm-text",{slot:"content"},t("p",null,"Get points while using Klip. Use those points to redeem rewards like one free month of Klip Enterprise or two plane tickets to anywhere in North America"))),t("br",null),t("hr",null),t("br",null),t("h3",null,"xx-small"),t("sqm-titled-section",{"label-margin":"xx-small"},t("sqm-text",{slot:"label"},t("h3",null,"Earn more rewards")),t("sqm-text",{slot:"content"},t("p",null,"Get points while using Klip. Use those points to redeem rewards like one free month of Klip Enterprise or two plane tickets to anywhere in North America"))),t("br",null),t("hr",null),t("br",null),t("h3",null,"x-small"),t("sqm-titled-section",{"label-margin":"x-small"},t("sqm-text",{slot:"label"},t("h3",null,"Earn more rewards")),t("sqm-text",{slot:"content"},t("p",null,"Get points while using Klip. Use those points to redeem rewards like one free month of Klip Enterprise or two plane tickets to anywhere in North America"))),t("br",null),t("hr",null),t("br",null),t("h3",null,"small"),t("sqm-titled-section",{"label-margin":"small"},t("sqm-text",{slot:"label"},t("h3",null,"Earn more rewards")),t("sqm-text",{slot:"content"},t("p",null,"Get points while using Klip. Use those points to redeem rewards like one free month of Klip Enterprise or two plane tickets to anywhere in North America"))),t("br",null),t("hr",null),t("br",null),t("h3",null,"medium"),t("sqm-titled-section",{"label-margin":"medium"},t("sqm-text",{slot:"label"},t("h3",null,"Earn more rewards")),t("sqm-text",{slot:"content"},t("p",null,"Get points while using Klip. Use those points to redeem rewards like one free month of Klip Enterprise or two plane tickets to anywhere in North America"))),t("br",null),t("hr",null),t("br",null),t("h3",null,"large"),t("sqm-titled-section",{"label-margin":"large"},t("sqm-text",{slot:"label"},t("h3",null,"Earn more rewards")),t("sqm-text",{slot:"content"},t("p",null,"Get points while using Klip. Use those points to redeem rewards like one free month of Klip Enterprise or two plane tickets to anywhere in North America"))),t("br",null),t("hr",null),t("br",null),t("h3",null,"x-large"),t("sqm-titled-section",{"label-margin":"x-large"},t("sqm-text",{slot:"label"},t("h3",null,"Earn more rewards")),t("sqm-text",{slot:"content"},t("p",null,"Get points while using Klip. Use those points to redeem rewards like one free month of Klip Enterprise or two plane tickets to anywhere in North America"))),t("br",null),t("hr",null),t("br",null),t("h3",null,"xx-large"),t("sqm-titled-section",{"label-margin":"xx-large"},t("sqm-text",{slot:"label"},t("h3",null,"Earn more rewards")),t("sqm-text",{slot:"content"},t("p",null,"Get points while using Klip. Use those points to redeem rewards like one free month of Klip Enterprise or two plane tickets to anywhere in North America"))),t("br",null),t("hr",null),t("br",null),t("h3",null,"xxx-large"),t("sqm-titled-section",{"label-margin":"xxx-large"},t("sqm-text",{slot:"label"},t("h3",null,"Earn more rewards")),t("sqm-text",{slot:"content"},t("p",null,"Get points while using Klip. Use those points to redeem rewards like one free month of Klip Enterprise or two plane tickets to anywhere in North America"))),t("br",null),t("hr",null),t("br",null),t("h3",null,"xxxx-large"),t("sqm-titled-section",{"label-margin":"xxxx-large"},t("sqm-text",{slot:"label"},t("h3",null,"Earn more rewards")),t("sqm-text",{slot:"content"},t("p",null,"Get points while using Klip. Use those points to redeem rewards like one free month of Klip Enterprise or two plane tickets to anywhere in North America"))))};var Yv=Object.freeze({__proto__:null,default:zv,AlignLeft:Hv,AlignCenter:Xv,AlignRight:Jv,Padding:$v,LabelMargin:Kv});var Zv={title:"Components/Scroll"};var Qv=function(){return t("div",{style:{position:"relative",height:"2000px"}},t("sqm-scroll",{"scroll-tag-name":"sqm-text","button-text":"Scroll","scroll-animation":"smooth"}),t("div",{style:{position:"absolute",bottom:"0"}},t("sqm-text",{slot:"label"},t("h3",null,"Earn more rewards"),t("p",null,"Get points while using Klip. Use those points to redeem rewards like one free month of Klip Enterprise or two plane tickets to anywhere in North America"))))};var ew=function(){return t("div",{style:{position:"relative",height:"2000px"}},t("sqm-scroll",{"button-text":"Scroll","scroll-id":"my-id","scroll-animation":"smooth"}),t("div",{style:{position:"absolute",bottom:"0"}},t("sqm-text",{slot:"label",id:"my-id"},t("h3",null,"Earn more rewards"),t("p",null,"Get points while using Klip. Use those points to redeem rewards like one free month of Klip Enterprise or two plane tickets to anywhere in North America"))))};var tw=function(){return t("div",{style:{position:"relative",height:"2000px"}},t("sqm-scroll",{"button-text":"Scroll","scroll-id":"my-id","scroll-animation":"auto"}),t("div",{style:{position:"absolute",bottom:"0"}},t("sqm-text",{slot:"label",id:"my-id"},t("h3",null,"Earn more rewards"),t("p",null,"Get points while using Klip. Use those points to redeem rewards like one free month of Klip Enterprise or two plane tickets to anywhere in North America"))))};var nw=function(){return t("div",{style:{position:"relative",height:"2000px"}},t("sqm-scroll",{"button-text":"Redeem rewards","scroll-id":"tab-3","scroll-animation":"smooth"}),t("div",{style:{position:"absolute",bottom:"0"},innerHTML:'\n <sqm-tabs>\n <sqm-tab header="Leaderboard">\n <sqm-hero-image\n image-url="https://i.imgur.com/MVgOJn7.png"\n description="Be one of the top 3 referrers at the end of the year and receive Klip free for 1 year!"\n layout="columns"\n image-percentage="33%"\n padding-image="large"\n padding-text="large"\n background-color=""\n ></sqm-hero-image>\n <sqm-leaderboard></sqm-leaderboard>\n </sqm-tab>\n <sqm-tab header="Referral history"\n >\n <sqm-referral-table></sqm-referral-table>\n </sqm-tab>\n <sqm-tab header="Reward history">\n <sqm-rewards-table></sqm-rewards-table>\n </sqm-tab>\n <sqm-tab header="Redeem">\n <sqm-reward-exchange-list></sqm-reward-exchange-list>\n </sqm-tab>\n </sqm-tabs>\n '}))};var aw=function(){return t("div",{style:{position:"relative",height:"2000px"}},t("sqm-scroll",{"button-text":"Redeem rewards","scroll-tag-name":"sqm-reward-exchange-list"}),t("div",{style:{position:"absolute",bottom:"0"},innerHTML:'\n <sqm-tabs>\n <sqm-tab header="Leaderboard">\n <sqm-hero-image\n image-url="https://i.imgur.com/MVgOJn7.png"\n description="Be one of the top 3 referrers at the end of the year and receive Klip free for 1 year!"\n layout="columns"\n image-percentage="33%"\n padding-image="large"\n padding-text="large"\n background-color=""\n ></sqm-hero-image>\n <sqm-leaderboard></sqm-leaderboard>\n </sqm-tab>\n <sqm-tab header="Referral history"\n >\n <sqm-referral-table></sqm-referral-table>\n </sqm-tab>\n <sqm-tab header="Reward history">\n <sqm-rewards-table></sqm-rewards-table>\n </sqm-tab>\n <sqm-tab header="Redeem">\n <sqm-reward-exchange-list></sqm-reward-exchange-list>\n </sqm-tab>\n </sqm-tabs>\n '}))};var rw=function(){return t("div",null,t("div",{style:{display:"flex",gap:"60px"}},t("div",{style:{textAlign:"center"}},t("h3",null,"Type:"),t("sqm-scroll",{"button-type":"primary"},"Primary"),t("br",null),t("sqm-scroll",{"button-type":"success"},"Success"),t("br",null),t("sqm-scroll",{"button-type":"neutral"},"Neutral"),t("br",null),t("sqm-scroll",{"button-type":"warning"},"Warning"),t("br",null),t("sqm-scroll",{"button-type":"danger"},"Danger")),t("div",{style:{textAlign:"center"}},t("h3",null,"Outline:"),t("sqm-scroll",{outline:true,"button-type":"primary"},"Primary"),t("br",null),t("sqm-scroll",{outline:true,"button-type":"success"},"Success"),t("br",null),t("sqm-scroll",{outline:true,"button-type":"neutral"},"Neutral"),t("br",null),t("sqm-scroll",{outline:true,"button-type":"warning"},"Warning"),t("br",null),t("sqm-scroll",{outline:true,"button-type":"danger"},"Danger"))),t("br",null)," ",t("hr",null),t("h3",null,"Text:"),t("sqm-scroll",{"button-type":"text"},"Text"),t("br",null)," ",t("hr",null),t("h3",null,"Size:"),t("sqm-scroll",{size:"small"},"Small"),t("br",null),t("sqm-scroll",{size:"medium"},"Medium"),t("br",null),t("sqm-scroll",{size:"large"},"Large"),t("br",null)," ",t("hr",null),t("h3",null,"Pill:"),t("sqm-scroll",{pill:true},"Button"),t("br",null)," ",t("hr",null),t("h3",null,"Icon:"),t("sqm-scroll",{"button-type":"primary",iconName:"facebook"},"Icon Name"),t("br",null),t("sqm-scroll",{iconName:"gear",iconSlot:"prefix"},"Icon Slot Prefix"),t("br",null),t("sqm-scroll",{iconName:"gear",iconSlot:"suffix"},"Icon Slot Suffix"),t("br",null)," ",t("hr",null),t("h3",null,"Circle:"),t("sqm-scroll",{circle:true},"X"),t("br",null)," ",t("hr",null),t("h3",null,"Mobile Friendly:"),t("sqm-scroll",{mobile:true},"Button"),t("br",null)," ",t("hr",null))};var sw=Object.freeze({__proto__:null,default:Zv,ScrollTag:Qv,ScrollId:ew,ScrollAutoAnimation:tw,ScrollTabGroup:nw,ScrollTabGroupInner:aw,ShoelaceProps:rw});var iw='@author:Zach\n@owner:Zach\nFeature: Tabs\n\n The Tabs takes in the Tab component as children and maps through to display their header and content.\n\n Background: A user on the portal is viewing the widget\n Given a user viewing the Tabs component\n\n @motivating\n Scenario: Content inside the active tab is shown\n Given the header is set to <tabHeader>\n And the content inside is <tabContent>\n And the user has clicked <tabHeader>\n Then the <tabContent> is shown\n Examples:\n | tabHeader | tabContent |\n | Settings | This is the settings tab |\n | General | This is the general tab |\n | History | This is the history tab |\n\n @motivating\n @ui\n Scenario: The placement of the tabs is configurable\n Given The placement prop has been passed a valid <placement>\n Then tabs are placed on the <placementResult>\n Examples:\n | placement | placementResult |\n | | top of the content |\n | left | left hand side of the content |\n | right | right hand side of the content |\n | bottom | bottom of the content |\n\n\n @minutae\n @ui\n Scenario Outline: Tabs are setup to use the brand color\n Given the brand color is set to darkblue\n Then the text inside the active tab is darkblue\n And the underline of the active tab is darkblue\n\n @ui\n Scenario: Tabs are responsive\n Given the user is on a mobile device\n When there are more tabs than the horizontal space allows for\n Then clickable arrows appear on the left and right of the tabs\n And the tabs are scrollable\n\n @landmine\n Scenario: Program section cannot be used inside of tabs\n Given a tabs component\n And tab containing a program section with program-id "test123"\n And the program section wraps a component using program context\n When the tabs component is rendered\n Then the "sq:program-id" event listener for the program section is removed\n And the component does not use program-id "test123" to source its data\n And falls back to the global program id';var ow={title:"Components/Tabs",parameters:{scenario:iw}};var lw=function(){return t("div",{style:{maxWidth:"700px",margin:"auto"},innerHTML:'\n <sqm-tabs>\n <sqm-tab header="General">This is the general tab</sqm-tab>\n <sqm-tab header="Custom">This is the custom tab</sqm-tab>\n <sqm-tab header="Advanced">This is the advanced tab</sqm-tab>\n </sqm-tabs>\n '})};var dw=function(){return t("div",{style:{maxWidth:"700px",margin:"auto"},innerHTML:'\n <sqm-tabs>\n <sqm-tab header="General">This is the general tab</sqm-tab>\n <sqm-tab header="Custom">This is the custom tab</sqm-tab>\n <sqm-tab header="Advanced">This is the advanced tab</sqm-tab> \n <sqm-tab header="General">This is the general tab</sqm-tab>\n <sqm-tab header="Custom">This is the custom tab</sqm-tab>\n <sqm-tab header="Advanced">This is the advanced tab</sqm-tab>\n <sqm-tab header="General">This is the general tab</sqm-tab>\n <sqm-tab header="Custom">This is the custom tab</sqm-tab>\n <sqm-tab header="Advanced">This is the advanced tab</sqm-tab>\n <sqm-tab header="General">This is the general tab</sqm-tab>\n <sqm-tab header="Custom">This is the custom tab</sqm-tab>\n <sqm-tab header="Advanced">This is the advanced tab</sqm-tab>\n </sqm-tabs>\n '})};var uw=function(){return t("div",{style:{maxWidth:"700px",margin:"auto"},innerHTML:'\n <sqm-tabs>\n <sqm-tab header="Redeem">\n <sqm-reward-exchange-list></sqm-reward-exchange-list>\n </sqm-tab>\n </sqm-tabs>\n '})};var cw=function(){return t("div",{style:{maxWidth:"700px",margin:"auto"},innerHTML:'\n <sqm-tabs>\n <sqm-tab header="Leaderboard">\n <sqm-leaderboard></sqm-leaderboard>\n </sqm-tab>\n <sqm-tab header="Referral history">\n <sqm-referral-table>\n <sqm-referral-table-user-column\n column-title="User"\n anonymous-user="Anonymous User"\n deleted-user="Deleted User"\n >\n </sqm-referral-table-user-column>\n <sqm-referral-table-status-column\n column-title="Referral status"\n converted-status-text="Converted"\n in-progress-status-text="In Progress"\n >\n </sqm-referral-table-status-column>\n <sqm-referral-table-rewards-column\n column-title="Rewards"\n expiring-text="Expiring in"\n fuel-tank-text="Your code is"\n pending-for-text="{status} for {date}"\n reward-received-text="Reward received on"\n status-long-text="{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} other {Not available} }"\n status-text="{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }"\n >\n </sqm-referral-table-rewards-column>\n <sqm-referral-table-date-column\n column-title="Date referred"\n date-shown="dateReferralStarted"\n >\n </sqm-referral-table-date-column>\n <sqm-empty\n empty-state-image="https://res.cloudinary.com/saasquatch/image/upload/v1644000223/squatch-assets/empty_referral2.png"\n empty-state-header="View your referral details"\n empty-state-text="Refer a friend to view the status of your referrals and rewards earned"\n >\n </sqm-empty\n ></sqm-referral-table>\n </sqm-tab>\n <sqm-tab header="Reward history">\n <sqm-rewards-table\n ><sqm-rewards-table-reward-column\n available-text="{availableAmount} remaining"\n column-title="Reward"\n copy-text="Copied!"\n redeemed-text="{redeemedAmount} redeemed"\n >\n </sqm-rewards-table-reward-column>\n <sqm-rewards-table-source-column\n anonymous-user="Anonymous User"\n column-title="Source"\n deleted-user="Deleted User"\n referral-text="{rewardSource, select, FRIEND_SIGNUP {Referral to} REFERRED {Referred by} other {}}"\n reward-exchange-text="Reward Exchange"\n reward-source-text="{rewardSource, select, MANUAL {Manual} AUTOMATED {{programName}} other {}}"\n >\n </sqm-rewards-table-source-column>\n <sqm-rewards-table-status-column\n column-title="Status"\n expiry-text="Expires on "\n status-text="{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }"\n >\n </sqm-rewards-table-status-column>\n <sqm-rewards-table-date-column\n column-title="Date received"\n date-shown="dateGiven"\n >\n </sqm-rewards-table-date-column>\n <sqm-empty\n empty-state-image="https://res.cloudinary.com/saasquatch/image/upload/v1644360953/squatch-assets/empty_reward2.png"\n empty-state-header="View your rewards"\n empty-state-text="Refer friends and complete tasks to view the details of your rewards"\n >\n </sqm-empty\n ></sqm-rewards-table>\n </sqm-tab>\n </sqm-tabs> \n '})};var mw=function(){return t("div",{style:{maxWidth:"700px",margin:"auto"},innerHTML:'\n <sqm-tabs placement="top">\n <sqm-tab header="Leaderboard">\n <sqm-hero-image\n image-url="https://i.imgur.com/MVgOJn7.png"\n description="Be one of the top 3 referrers at the end of the year and receive Klip free for 1 year!"\n layout="columns"\n image-percentage="33%"\n padding-image="large"\n padding-text="large"\n background-color=""\n ></sqm-hero-image>\n <sqm-leaderboard></sqm-leaderboard>\n </sqm-tab>\n <sqm-tab header="Referral history">\n <sqm-referral-table>\n <sqm-referral-table-user-column\n column-title="User"\n anonymous-user="Anonymous User"\n deleted-user="Deleted User"\n >\n </sqm-referral-table-user-column>\n <sqm-referral-table-status-column\n column-title="Referral status"\n converted-status-text="Converted"\n in-progress-status-text="In Progress"\n >\n </sqm-referral-table-status-column>\n <sqm-referral-table-rewards-column\n column-title="Rewards"\n expiring-text="Expiring in"\n fuel-tank-text="Your code is"\n pending-for-text="{status} for {date}"\n reward-received-text="Reward received on"\n status-long-text="{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} other {Not available} }"\n status-text="{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }"\n >\n </sqm-referral-table-rewards-column>\n <sqm-referral-table-date-column\n column-title="Date referred"\n date-shown="dateReferralStarted"\n >\n </sqm-referral-table-date-column>\n <sqm-empty\n empty-state-image="https://res.cloudinary.com/saasquatch/image/upload/v1644000223/squatch-assets/empty_referral2.png"\n empty-state-header="View your referral details"\n empty-state-text="Refer a friend to view the status of your referrals and rewards earned"\n >\n </sqm-empty\n ></sqm-referral-table>\n </sqm-tab>\n <sqm-tab header="Reward history">\n <sqm-rewards-table\n ><sqm-rewards-table-reward-column\n available-text="{availableAmount} remaining"\n column-title="Reward"\n copy-text="Copied!"\n redeemed-text="{redeemedAmount} redeemed"\n >\n </sqm-rewards-table-reward-column>\n <sqm-rewards-table-source-column\n anonymous-user="Anonymous User"\n column-title="Source"\n deleted-user="Deleted User"\n referral-text="{rewardSource, select, FRIEND_SIGNUP {Referral to} REFERRED {Referred by} other {}}"\n reward-exchange-text="Reward Exchange"\n reward-source-text="{rewardSource, select, MANUAL {Manual} AUTOMATED {{programName}} other {}}"\n >\n </sqm-rewards-table-source-column>\n <sqm-rewards-table-status-column\n column-title="Status"\n expiry-text="Expires on "\n status-text="{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }"\n >\n </sqm-rewards-table-status-column>\n <sqm-rewards-table-date-column\n column-title="Date received"\n date-shown="dateGiven"\n >\n </sqm-rewards-table-date-column>\n <sqm-empty\n empty-state-image="https://res.cloudinary.com/saasquatch/image/upload/v1644360953/squatch-assets/empty_reward2.png"\n empty-state-header="View your rewards"\n empty-state-text="Refer friends and complete tasks to view the details of your rewards"\n >\n </sqm-empty\n ></sqm-rewards-table>\n </sqm-tab>\n <sqm-tab header="Redeem">\n <sqm-reward-exchange-list></sqm-reward-exchange-list>\n </sqm-tab>\n </sqm-tabs> \n '})};var pw=function(){return t("div",{style:{maxWidth:"700px",margin:"auto"},innerHTML:'\n <sqm-tabs placement="bottom">\n <sqm-tab header="Leaderboard">\n <sqm-hero-image\n image-url="https://i.imgur.com/MVgOJn7.png"\n description="Be one of the top 3 referrers at the end of the year and receive Klip free for 1 year!"\n layout="columns"\n image-percentage="33%"\n padding-image="large"\n padding-text="large"\n background-color=""\n ></sqm-hero-image>\n <sqm-leaderboard></sqm-leaderboard>\n </sqm-tab>\n <sqm-tab header="Referral history">\n <sqm-referral-table\n ><sqm-referral-table-user-column\n column-title="User"\n anonymous-user="Anonymous User"\n deleted-user="Deleted User"\n >\n </sqm-referral-table-user-column>\n <sqm-referral-table-status-column\n column-title="Referral status"\n converted-status-text="Converted"\n in-progress-status-text="In Progress"\n >\n </sqm-referral-table-status-column>\n <sqm-referral-table-rewards-column\n column-title="Rewards"\n expiring-text="Expiring in"\n fuel-tank-text="Your code is"\n pending-for-text="{status} for {date}"\n reward-received-text="Reward received on"\n status-long-text="{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} other {Not available} }"\n status-text="{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }"\n >\n </sqm-referral-table-rewards-column>\n <sqm-referral-table-date-column\n column-title="Date referred"\n date-shown="dateReferralStarted"\n >\n </sqm-referral-table-date-column>\n <sqm-empty\n empty-state-image="https://res.cloudinary.com/saasquatch/image/upload/v1644000223/squatch-assets/empty_referral2.png"\n empty-state-header="View your referral details"\n empty-state-text="Refer a friend to view the status of your referrals and rewards earned"\n >\n </sqm-empty\n ></sqm-referral-table>\n </sqm-tab>\n <sqm-tab header="Reward history">\n <sqm-rewards-table\n ><sqm-rewards-table-reward-column\n available-text="{availableAmount} remaining"\n column-title="Reward"\n copy-text="Copied!"\n redeemed-text="{redeemedAmount} redeemed"\n >\n </sqm-rewards-table-reward-column>\n <sqm-rewards-table-source-column\n anonymous-user="Anonymous User"\n column-title="Source"\n deleted-user="Deleted User"\n referral-text="{rewardSource, select, FRIEND_SIGNUP {Referral to} REFERRED {Referred by} other {}}"\n reward-exchange-text="Reward Exchange"\n reward-source-text="{rewardSource, select, MANUAL {Manual} AUTOMATED {{programName}} other {}}"\n >\n </sqm-rewards-table-source-column>\n <sqm-rewards-table-status-column\n column-title="Status"\n expiry-text="Expires on "\n status-text="{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }"\n >\n </sqm-rewards-table-status-column>\n <sqm-rewards-table-date-column\n column-title="Date received"\n date-shown="dateGiven"\n >\n </sqm-rewards-table-date-column>\n <sqm-empty\n empty-state-image="https://res.cloudinary.com/saasquatch/image/upload/v1644360953/squatch-assets/empty_reward2.png"\n empty-state-header="View your rewards"\n empty-state-text="Refer friends and complete tasks to view the details of your rewards"\n >\n </sqm-empty\n ></sqm-rewards-table>\n </sqm-tab>\n <sqm-tab header="Redeem">\n <sqm-reward-exchange-list></sqm-reward-exchange-list>\n </sqm-tab>\n </sqm-tabs> \n '})};var hw=function(){return t("div",{style:{maxWidth:"900px",margin:"auto"},innerHTML:'\n <sqm-tabs placement="left">\n <sqm-tab header="Leaderboard">\n <sqm-hero-image\n image-url="https://i.imgur.com/MVgOJn7.png"\n description="Be one of the top 3 referrers at the end of the year and receive Klip free for 1 year!"\n layout="columns"\n image-percentage="33%"\n padding-image="large"\n padding-text="large"\n background-color=""\n ></sqm-hero-image>\n <sqm-leaderboard></sqm-leaderboard>\n </sqm-tab>\n <sqm-tab header="Referral history">\n <sqm-referral-table\n ><sqm-referral-table-user-column\n column-title="User"\n anonymous-user="Anonymous User"\n deleted-user="Deleted User"\n >\n </sqm-referral-table-user-column>\n <sqm-referral-table-status-column\n column-title="Referral status"\n converted-status-text="Converted"\n in-progress-status-text="In Progress"\n >\n </sqm-referral-table-status-column>\n <sqm-referral-table-rewards-column\n column-title="Rewards"\n expiring-text="Expiring in"\n fuel-tank-text="Your code is"\n pending-for-text="{status} for {date}"\n reward-received-text="Reward received on"\n status-long-text="{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} other {Not available} }"\n status-text="{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }"\n >\n </sqm-referral-table-rewards-column>\n <sqm-referral-table-date-column\n column-title="Date referred"\n date-shown="dateReferralStarted"\n >\n </sqm-referral-table-date-column>\n <sqm-empty\n empty-state-image="https://res.cloudinary.com/saasquatch/image/upload/v1644000223/squatch-assets/empty_referral2.png"\n empty-state-header="View your referral details"\n empty-state-text="Refer a friend to view the status of your referrals and rewards earned"\n >\n </sqm-empty\n ></sqm-referral-table>\n </sqm-tab>\n <sqm-tab header="Reward history">\n <sqm-rewards-table\n ><sqm-rewards-table-reward-column\n available-text="{availableAmount} remaining"\n column-title="Reward"\n copy-text="Copied!"\n redeemed-text="{redeemedAmount} redeemed"\n >\n </sqm-rewards-table-reward-column>\n <sqm-rewards-table-source-column\n anonymous-user="Anonymous User"\n column-title="Source"\n deleted-user="Deleted User"\n referral-text="{rewardSource, select, FRIEND_SIGNUP {Referral to} REFERRED {Referred by} other {}}"\n reward-exchange-text="Reward Exchange"\n reward-source-text="{rewardSource, select, MANUAL {Manual} AUTOMATED {{programName}} other {}}"\n >\n </sqm-rewards-table-source-column>\n <sqm-rewards-table-status-column\n column-title="Status"\n expiry-text="Expires on "\n status-text="{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }"\n >\n </sqm-rewards-table-status-column>\n <sqm-rewards-table-date-column\n column-title="Date received"\n date-shown="dateGiven"\n >\n </sqm-rewards-table-date-column>\n <sqm-empty\n empty-state-image="https://res.cloudinary.com/saasquatch/image/upload/v1644360953/squatch-assets/empty_reward2.png"\n empty-state-header="View your rewards"\n empty-state-text="Refer friends and complete tasks to view the details of your rewards"\n >\n </sqm-empty\n ></sqm-rewards-table>\n </sqm-tab>\n <sqm-tab header="Redeem">\n <sqm-reward-exchange-list></sqm-reward-exchange-list>\n </sqm-tab>\n </sqm-tabs> \n '})};var gw=function(){return t("div",{style:{maxWidth:"900px",margin:"auto"},innerHTML:'\n <sqm-tabs placement="right">\n <sqm-tab header="Leaderboard">\n <sqm-hero-image\n image-url="https://i.imgur.com/MVgOJn7.png"\n description="Be one of the top 3 referrers at the end of the year and receive Klip free for 1 year!"\n layout="columns"\n image-percentage="33%"\n padding-image="large"\n padding-text="large"\n background-color=""\n ></sqm-hero-image>\n <sqm-leaderboard></sqm-leaderboard>\n </sqm-tab>\n <sqm-tab header="Referral history">\n <sqm-referral-table\n ><sqm-referral-table-user-column\n column-title="User"\n anonymous-user="Anonymous User"\n deleted-user="Deleted User"\n >\n </sqm-referral-table-user-column>\n <sqm-referral-table-status-column\n column-title="Referral status"\n converted-status-text="Converted"\n in-progress-status-text="In Progress"\n >\n </sqm-referral-table-status-column>\n <sqm-referral-table-rewards-column\n column-title="Rewards"\n expiring-text="Expiring in"\n fuel-tank-text="Your code is"\n pending-for-text="{status} for {date}"\n reward-received-text="Reward received on"\n status-long-text="{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} other {Not available} }"\n status-text="{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }"\n >\n </sqm-referral-table-rewards-column>\n <sqm-referral-table-date-column\n column-title="Date referred"\n date-shown="dateReferralStarted"\n >\n </sqm-referral-table-date-column>\n <sqm-empty\n empty-state-image="https://res.cloudinary.com/saasquatch/image/upload/v1644000223/squatch-assets/empty_referral2.png"\n empty-state-header="View your referral details"\n empty-state-text="Refer a friend to view the status of your referrals and rewards earned"\n >\n </sqm-empty\n ></sqm-referral-table>\n </sqm-tab>\n <sqm-tab header="Reward history">\n <sqm-rewards-table\n ><sqm-rewards-table-reward-column\n available-text="{availableAmount} remaining"\n column-title="Reward"\n copy-text="Copied!"\n redeemed-text="{redeemedAmount} redeemed"\n >\n </sqm-rewards-table-reward-column>\n <sqm-rewards-table-source-column\n anonymous-user="Anonymous User"\n column-title="Source"\n deleted-user="Deleted User"\n referral-text="{rewardSource, select, FRIEND_SIGNUP {Referral to} REFERRED {Referred by} other {}}"\n reward-exchange-text="Reward Exchange"\n reward-source-text="{rewardSource, select, MANUAL {Manual} AUTOMATED {{programName}} other {}}"\n >\n </sqm-rewards-table-source-column>\n <sqm-rewards-table-status-column\n column-title="Status"\n expiry-text="Expires on "\n status-text="{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }"\n >\n </sqm-rewards-table-status-column>\n <sqm-rewards-table-date-column\n column-title="Date received"\n date-shown="dateGiven"\n >\n </sqm-rewards-table-date-column>\n <sqm-empty\n empty-state-image="https://res.cloudinary.com/saasquatch/image/upload/v1644360953/squatch-assets/empty_reward2.png"\n empty-state-header="View your rewards"\n empty-state-text="Refer friends and complete tasks to view the details of your rewards"\n >\n </sqm-empty\n ></sqm-rewards-table>\n </sqm-tab>\n <sqm-tab header="Redeem">\n <sqm-reward-exchange-list></sqm-reward-exchange-list>\n </sqm-tab>\n </sqm-tabs> \n '})};var fw=Object.freeze({__proto__:null,default:ow,SimpleTabs:lw,ManyTabs:dw,SingleTab:uw,ReferralProgram:cw,LoyaltyProgram:mw,BottomTabs:pw,LeftTabs:hw,RightTabs:gw});var bw='@author:johan\n@owner:johan\nFeature: Share Code\n\n The share code component is a box that allows users to see and copy their referral code for a given program\n \n Background: Environment\n Given there is a valid program ID in the environment\n And there is a valid user ID and account ID in the environment\n\n @motivating\n Scenario: A Users referral code can be copied to their clipboard\n Given tooltiptext is "hello tooltip"\n When the component renders\n Then there is a textbox with the user\'s share link\n When the clipboard icon is clicked\n Then the link is copied to clipboard\n And a tooltip will appear for ~1 second\n\n @minutae\n Scenario: Tooltip lifespan defaults to 2000\n Given the tooltip\'s lifespan is set to 2000\n And there is tooltip text\n When the component renders\n And the clipboard icon is clicked\n Then a tooltip will appear for ~2 seconds\n\n @minutae\n Scenario: Demo\n Given isDemo() returns true\n Then the share link is "https://www.example.com/sharelink/abc"\n And the component won\'t be interactive\n And the tooltip is hidden\n\n @minutae\n Scenario: Program ID can be sourced from prop\n Given the programId prop is set to "program-a"\n And window.widgetIdent.programId is set to "program-b"\n When the component renders\n Then the share link is for "program-a"\n\n @minutae\n Scenario: Program ID can be sourced from window\n Given the programId prop is unset\n And window.widgetIdent.programId is set to "program-b"\n When the component renders\n Then the share link is for "program-b"\n\n @minutae\n Scenario: An analytic event is fired when a user copies their code\n Given a user viewing the share code component\n And the component is rendered for "program-a"\n When they click to copy their code\n Then an "USER_REFERRAL_PROGRAM_ENGAGEMENT_EVENT" analytic event is fired\n And it is for "program-a"\n And it has share medium "DIRECT"\n';var vw={title:"Components/Share Code",parameters:{scenario:bw}};var ww=function(){return t("sqm-share-code",{tooltiptext:"Copied to Clipboard"})};var xw=function(){return t("sqm-share-code",{tooltiptext:"CUSTOM TOOLTIP TEXT"})};var yw=function(){return t("sqm-share-code",{tooltiplifespan:5e3,tooltiptext:"CUSTOM TOOLTIP TEXT"})};var Ew=Object.freeze({__proto__:null,default:vw,ShareCode:ww,CustomTooltipText:xw,CustomTooltipDuration:yw});var qw="\n // No CSS\n";var Aw="\n:root{\n "+ve("orange")+"\n}\n";var Dw="\n:root{\n "+ve("#e50914")+"\n}\n";var kw="\n:root{\n "+ve("#65bd60")+"\n --sl-font-sans: Arial;\n}\n";var Cw="\n:root{\n "+ve("black")+"\n --sl-font-sans: Georgia, 'Times New Roman', serif;\n}\n";var _w="\n:root{\n "+ve("#4225C4")+";\n}\n\n";var Tw=Object.freeze({__proto__:null,Default:qw,Orangey:Aw,Netflix:Dw,SaaSquatchCorporate:kw,NYTimes:Cw,Klip:_w});function Rw(e){if(e instanceof Map){e.clear=e.delete=e.set=function(){throw new Error("map is read-only")}}else if(e instanceof Set){e.add=e.clear=e.delete=function(){throw new Error("set is read-only")}}Object.freeze(e);Object.getOwnPropertyNames(e).forEach((function(t){var n=e[t];if(typeof n=="object"&&!Object.isFrozen(n)){Rw(n)}}));return e}var Pw=Rw;var Iw=Rw;Pw.default=Iw;var Sw=function(){function e(e){if(e.data===undefined)e.data={};this.data=e.data;this.isMatchIgnored=false}e.prototype.ignoreMatch=function(){this.isMatchIgnored=true};return e}();function Nw(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function Lw(e){var t=[];for(var n=1;n<arguments.length;n++){t[n-1]=arguments[n]}var a=Object.create(null);for(var r in e){a[r]=e[r]}t.forEach((function(e){for(var t in e){a[t]=e[t]}}));return a}var Fw="</span>";var Ow=function(e){return!!e.kind};var Bw=function(){function e(e,t){this.buffer="";this.classPrefix=t.classPrefix;e.walk(this)}e.prototype.addText=function(e){this.buffer+=Nw(e)};e.prototype.openNode=function(e){if(!Ow(e))return;var t=e.kind;if(!e.sublanguage){t=""+this.classPrefix+t}this.span(t)};e.prototype.closeNode=function(e){if(!Ow(e))return;this.buffer+=Fw};e.prototype.value=function(){return this.buffer};e.prototype.span=function(e){this.buffer+='<span class="'+e+'">'};return e}();var Gw=function(){function e(){this.rootNode={children:[]};this.stack=[this.rootNode]}Object.defineProperty(e.prototype,"top",{get:function(){return this.stack[this.stack.length-1]},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"root",{get:function(){return this.rootNode},enumerable:false,configurable:true});e.prototype.add=function(e){this.top.children.push(e)};e.prototype.openNode=function(e){var t={kind:e,children:[]};this.add(t);this.stack.push(t)};e.prototype.closeNode=function(){if(this.stack.length>1){return this.stack.pop()}return undefined};e.prototype.closeAllNodes=function(){while(this.closeNode());};e.prototype.toJSON=function(){return JSON.stringify(this.rootNode,null,4)};e.prototype.walk=function(e){return this.constructor._walk(e,this.rootNode)};e._walk=function(e,t){var n=this;if(typeof t==="string"){e.addText(t)}else if(t.children){e.openNode(t);t.children.forEach((function(t){return n._walk(e,t)}));e.closeNode(t)}return e};e._collapse=function(t){if(typeof t==="string")return;if(!t.children)return;if(t.children.every((function(e){return typeof e==="string"}))){t.children=[t.children.join("")]}else{t.children.forEach((function(t){e._collapse(t)}))}};return e}();var jw=function(e){__extends(t,e);function t(t){var n=e.call(this)||this;n.options=t;return n}t.prototype.addKeyword=function(e,t){if(e===""){return}this.openNode(t);this.addText(e);this.closeNode()};t.prototype.addText=function(e){if(e===""){return}this.add(e)};t.prototype.addSublanguage=function(e,t){var n=e.root;n.kind=t;n.sublanguage=true;this.add(n)};t.prototype.toHTML=function(){var e=new Bw(this,this.options);return e.value()};t.prototype.finalize=function(){return true};return t}(Gw);function Vw(e){return new RegExp(e.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")}function Mw(e){if(!e)return null;if(typeof e==="string")return e;return e.source}function Ww(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}var n=e.map((function(e){return Mw(e)})).join("");return n}function Uw(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}var n="("+e.map((function(e){return Mw(e)})).join("|")+")";return n}function zw(e){return new RegExp(e.toString()+"|").exec("").length-1}function Hw(e,t){var n=e&&e.exec(t);return n&&n.index===0}var Xw=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function Jw(e,t){if(t===void 0){t="|"}var n=0;return e.map((function(e){n+=1;var t=n;var a=Mw(e);var r="";while(a.length>0){var s=Xw.exec(a);if(!s){r+=a;break}r+=a.substring(0,s.index);a=a.substring(s.index+s[0].length);if(s[0][0]==="\\"&&s[1]){r+="\\"+String(Number(s[1])+t)}else{r+=s[0];if(s[0]==="("){n++}}}return r})).map((function(e){return"("+e+")"})).join(t)}var $w=/\b\B/;var Kw="[a-zA-Z]\\w*";var Yw="[a-zA-Z_]\\w*";var Zw="\\b\\d+(\\.\\d+)?";var Qw="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)";var ex="\\b(0b[01]+)";var tx="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~";var nx=function(e){if(e===void 0){e={}}var t=/^#![ ]*\//;if(e.binary){e.begin=Ww(t,/.*\b/,e.binary,/\b.*/)}return Lw({className:"meta",begin:t,end:/$/,relevance:0,"on:begin":function(e,t){if(e.index!==0)t.ignoreMatch()}},e)};var ax={begin:"\\\\[\\s\\S]",relevance:0};var rx={className:"string",begin:"'",end:"'",illegal:"\\n",contains:[ax]};var sx={className:"string",begin:'"',end:'"',illegal:"\\n",contains:[ax]};var ix={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/};var ox=function(e,t,n){if(n===void 0){n={}}var a=Lw({className:"comment",begin:e,end:t,contains:[]},n);a.contains.push(ix);a.contains.push({className:"doctag",begin:"(?:TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):",relevance:0});return a};var lx=ox("//","$");var dx=ox("/\\*","\\*/");var ux=ox("#","$");var cx={className:"number",begin:Zw,relevance:0};var mx={className:"number",begin:Qw,relevance:0};var px={className:"number",begin:ex,relevance:0};var hx={className:"number",begin:Zw+"("+"%|em|ex|ch|rem"+"|vw|vh|vmin|vmax"+"|cm|mm|in|pt|pc|px"+"|deg|grad|rad|turn"+"|s|ms"+"|Hz|kHz"+"|dpi|dpcm|dppx"+")?",relevance:0};var gx={begin:/(?=\/[^/\n]*\/)/,contains:[{className:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[ax,{begin:/\[/,end:/\]/,relevance:0,contains:[ax]}]}]};var fx={className:"title",begin:Kw,relevance:0};var bx={className:"title",begin:Yw,relevance:0};var vx={begin:"\\.\\s*"+Yw,relevance:0};var wx=function(e){return Object.assign(e,{"on:begin":function(e,t){t.data._beginMatch=e[1]},"on:end":function(e,t){if(t.data._beginMatch!==e[1])t.ignoreMatch()}})};var xx=Object.freeze({__proto__:null,MATCH_NOTHING_RE:$w,IDENT_RE:Kw,UNDERSCORE_IDENT_RE:Yw,NUMBER_RE:Zw,C_NUMBER_RE:Qw,BINARY_NUMBER_RE:ex,RE_STARTERS_RE:tx,SHEBANG:nx,BACKSLASH_ESCAPE:ax,APOS_STRING_MODE:rx,QUOTE_STRING_MODE:sx,PHRASAL_WORDS_MODE:ix,COMMENT:ox,C_LINE_COMMENT_MODE:lx,C_BLOCK_COMMENT_MODE:dx,HASH_COMMENT_MODE:ux,NUMBER_MODE:cx,C_NUMBER_MODE:mx,BINARY_NUMBER_MODE:px,CSS_NUMBER_MODE:hx,REGEXP_MODE:gx,TITLE_MODE:fx,UNDERSCORE_TITLE_MODE:bx,METHOD_GUARD:vx,END_SAME_AS_BEGIN:wx});function yx(e,t){var n=e.input[e.index-1];if(n==="."){t.ignoreMatch()}}function Ex(e,t){if(!t)return;if(!e.beginKeywords)return;e.begin="\\b("+e.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)";e.__beforeBegin=yx;e.keywords=e.keywords||e.beginKeywords;delete e.beginKeywords;if(e.relevance===undefined)e.relevance=0}function qx(e,t){if(!Array.isArray(e.illegal))return;e.illegal=Uw.apply(void 0,e.illegal)}function Ax(e,t){if(!e.match)return;if(e.begin||e.end)throw new Error("begin & end are not supported with match");e.begin=e.match;delete e.match}function Dx(e,t){if(e.relevance===undefined)e.relevance=1}var kx=["of","and","for","in","not","or","if","then","parent","list","value"];var Cx="keyword";function _x(e,t,n){if(n===void 0){n=Cx}var a={};if(typeof e==="string"){r(n,e.split(" "))}else if(Array.isArray(e)){r(n,e)}else{Object.keys(e).forEach((function(n){Object.assign(a,_x(e[n],t,n))}))}return a;function r(e,n){if(t){n=n.map((function(e){return e.toLowerCase()}))}n.forEach((function(t){var n=t.split("|");a[n[0]]=[e,Tx(n[0],n[1])]}))}}function Tx(e,t){if(t){return Number(t)}return Rx(e)?0:1}function Rx(e){return kx.includes(e.toLowerCase())}function Px(e,t){var n=t.plugins;function a(t,n){return new RegExp(Mw(t),"m"+(e.case_insensitive?"i":"")+(n?"g":""))}var r=function(){function e(){this.matchIndexes={};this.regexes=[];this.matchAt=1;this.position=0}e.prototype.addRule=function(e,t){t.position=this.position++;this.matchIndexes[this.matchAt]=t;this.regexes.push([t,e]);this.matchAt+=zw(e)+1};e.prototype.compile=function(){if(this.regexes.length===0){this.exec=function(){return null}}var e=this.regexes.map((function(e){return e[1]}));this.matcherRe=a(Jw(e),true);this.lastIndex=0};e.prototype.exec=function(e){this.matcherRe.lastIndex=this.lastIndex;var t=this.matcherRe.exec(e);if(!t){return null}var n=t.findIndex((function(e,t){return t>0&&e!==undefined}));var a=this.matchIndexes[n];t.splice(0,n);return Object.assign(t,a)};return e}();var s=function(){function e(){this.rules=[];this.multiRegexes=[];this.count=0;this.lastIndex=0;this.regexIndex=0}e.prototype.getMatcher=function(e){if(this.multiRegexes[e])return this.multiRegexes[e];var t=new r;this.rules.slice(e).forEach((function(e){var n=e[0],a=e[1];return t.addRule(n,a)}));t.compile();this.multiRegexes[e]=t;return t};e.prototype.resumingScanAtSamePosition=function(){return this.regexIndex!==0};e.prototype.considerAll=function(){this.regexIndex=0};e.prototype.addRule=function(e,t){this.rules.push([e,t]);if(t.type==="begin")this.count++};e.prototype.exec=function(e){var t=this.getMatcher(this.regexIndex);t.lastIndex=this.lastIndex;var n=t.exec(e);if(this.resumingScanAtSamePosition()){if(n&&n.index===this.lastIndex);else{var a=this.getMatcher(0);a.lastIndex=this.lastIndex+1;n=a.exec(e)}}if(n){this.regexIndex+=n.position+1;if(this.regexIndex===this.count){this.considerAll()}}return n};return e}();function i(e){var t=new s;e.contains.forEach((function(e){return t.addRule(e.begin,{rule:e,type:"begin"})}));if(e.terminatorEnd){t.addRule(e.terminatorEnd,{type:"end"})}if(e.illegal){t.addRule(e.illegal,{type:"illegal"})}return t}function o(t,n){var r=t;if(t.isCompiled)return r;[Ax].forEach((function(e){return e(t,n)}));e.compilerExtensions.forEach((function(e){return e(t,n)}));t.__beforeBegin=null;[Ex,qx,Dx].forEach((function(e){return e(t,n)}));t.isCompiled=true;var s=null;if(typeof t.keywords==="object"){s=t.keywords.$pattern;delete t.keywords.$pattern}if(t.keywords){t.keywords=_x(t.keywords,e.case_insensitive)}if(t.lexemes&&s){throw new Error("ERR: Prefer `keywords.$pattern` to `mode.lexemes`, BOTH are not allowed. (see mode reference) ")}s=s||t.lexemes||/\w+/;r.keywordPatternRe=a(s,true);if(n){if(!t.begin)t.begin=/\B|\b/;r.beginRe=a(t.begin);if(t.endSameAsBegin)t.end=t.begin;if(!t.end&&!t.endsWithParent)t.end=/\B|\b/;if(t.end)r.endRe=a(t.end);r.terminatorEnd=Mw(t.end)||"";if(t.endsWithParent&&n.terminatorEnd){r.terminatorEnd+=(t.end?"|":"")+n.terminatorEnd}}if(t.illegal)r.illegalRe=a(t.illegal);if(!t.contains)t.contains=[];t.contains=[].concat.apply([],t.contains.map((function(e){return Sx(e==="self"?t:e)})));t.contains.forEach((function(e){o(e,r)}));if(t.starts){o(t.starts,n)}r.matcher=i(r);return r}if(!e.compilerExtensions)e.compilerExtensions=[];if(e.contains&&e.contains.includes("self")){throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.")}e.classNameAliases=Lw(e.classNameAliases||{});return o(e)}function Ix(e){if(!e)return false;return e.endsWithParent||Ix(e.starts)}function Sx(e){if(e.variants&&!e.cachedVariants){e.cachedVariants=e.variants.map((function(t){return Lw(e,{variants:null},t)}))}if(e.cachedVariants){return e.cachedVariants}if(Ix(e)){return Lw(e,{starts:e.starts?Lw(e.starts):null})}if(Object.isFrozen(e)){return Lw(e)}return e}var Nx="10.7.3";function Lx(e){return Boolean(e||e==="")}function Fx(e){var t={props:["language","code","autodetect"],data:function(){return{detectedLanguage:"",unknownLanguage:false}},computed:{className:function(){if(this.unknownLanguage)return"";return"hljs "+this.detectedLanguage},highlighted:function(){if(!this.autoDetect&&!e.getLanguage(this.language)){console.warn('The language "'+this.language+'" you specified could not be found.');this.unknownLanguage=true;return Nw(this.code)}var t={};if(this.autoDetect){t=e.highlightAuto(this.code);this.detectedLanguage=t.language}else{t=e.highlight(this.language,this.code,this.ignoreIllegals);this.detectedLanguage=this.language}return t.value},autoDetect:function(){return!this.language||Lx(this.autodetect)},ignoreIllegals:function(){return true}},render:function(e){return e("pre",{},[e("code",{class:this.className,domProps:{innerHTML:this.highlighted}})])}};var n={install:function(e){e.component("highlightjs",t)}};return{Component:t,VuePlugin:n}}var Ox={"after:highlightElement":function(e){var t=e.el,n=e.result,a=e.text;var r=Gx(t);if(!r.length)return;var s=document.createElement("div");s.innerHTML=n.value;n.value=jx(r,Gx(s),a)}};function Bx(e){return e.nodeName.toLowerCase()}function Gx(e){var t=[];(function e(n,a){for(var r=n.firstChild;r;r=r.nextSibling){if(r.nodeType===3){a+=r.nodeValue.length}else if(r.nodeType===1){t.push({event:"start",offset:a,node:r});a=e(r,a);if(!Bx(r).match(/br|hr|img|input/)){t.push({event:"stop",offset:a,node:r})}}}return a})(e,0);return t}function jx(e,t,n){var a=0;var r="";var s=[];function i(){if(!e.length||!t.length){return e.length?e:t}if(e[0].offset!==t[0].offset){return e[0].offset<t[0].offset?e:t}return t[0].event==="start"?e:t}function o(e){function t(e){return" "+e.nodeName+'="'+Nw(e.value)+'"'}r+="<"+Bx(e)+[].map.call(e.attributes,t).join("")+">"}function l(e){r+="</"+Bx(e)+">"}function d(e){(e.event==="start"?o:l)(e.node)}while(e.length||t.length){var u=i();r+=Nw(n.substring(a,u[0].offset));a=u[0].offset;if(u===e){s.reverse().forEach(l);do{d(u.splice(0,1)[0]);u=i()}while(u===e&&u.length&&u[0].offset===a);s.reverse().forEach(o)}else{if(u[0].event==="start"){s.push(u[0].node)}else{s.pop()}d(u.splice(0,1)[0])}}return r+Nw(n.substr(a))}var Vx={};var Mx=function(e){console.error(e)};var Wx=function(e){var t=[];for(var n=1;n<arguments.length;n++){t[n-1]=arguments[n]}console.log.apply(console,__spreadArrays(["WARN: "+e],t))};var Ux=function(e,t){if(Vx[e+"/"+t])return;console.log("Deprecated as of "+e+". "+t);Vx[e+"/"+t]=true};var zx=Nw;var Hx=Lw;var Xx=Symbol("nomatch");var Jx=function(e){var t=Object.create(null);var n=Object.create(null);var a=[];var r=true;var s=/(^(<[^>]+>|\t|)+|\n)/gm;var i="Could not find the language '{}', did you forget to load/include a language module?";var o={disableAutodetect:true,name:"Plain text",contains:[]};var l={noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",tabReplace:null,useBR:false,languages:null,__emitter:jw};function d(e){return l.noHighlightRe.test(e)}function u(e){var t=e.className+" ";t+=e.parentNode?e.parentNode.className:"";var n=l.languageDetectRe.exec(t);if(n){var a=P(n[1]);if(!a){Wx(i.replace("{}",n[1]));Wx("Falling back to no-highlight mode for this block.",e)}return a?n[1]:"no-highlight"}return t.split(/\s+/).find((function(e){return d(e)||P(e)}))}function c(e,t,n,a){var r="";var s="";if(typeof t==="object"){r=e;n=t.ignoreIllegals;s=t.language;a=undefined}else{Ux("10.7.0","highlight(lang, code, ...args) has been deprecated.");Ux("10.7.0","Please use highlight(code, options) instead.\nhttps://github.com/highlightjs/highlight.js/issues/2277");s=e;r=t}var i={code:r,language:s};F("before:highlight",i);var o=i.result?i.result:m(i.language,i.code,n,a);o.code=i.code;F("after:highlight",o);return o}function m(e,n,s,o){function d(e,t){var n=q.case_insensitive?t[0].toLowerCase():t[0];return Object.prototype.hasOwnProperty.call(e.keywords,n)&&e.keywords[n]}function u(){if(!k.keywords){_.addText(T);return}var e=0;k.keywordPatternRe.lastIndex=0;var t=k.keywordPatternRe.exec(T);var n="";while(t){n+=T.substring(e,t.index);var a=d(k,t);if(a){var r=a[0],s=a[1];_.addText(n);n="";R+=s;if(r.startsWith("_")){n+=t[0]}else{var i=q.classNameAliases[r]||r;_.addKeyword(t[0],i)}}else{n+=t[0]}e=k.keywordPatternRe.lastIndex;t=k.keywordPatternRe.exec(T)}n+=T.substr(e);_.addText(n)}function c(){if(T==="")return;var e=null;if(typeof k.subLanguage==="string"){if(!t[k.subLanguage]){_.addText(T);return}e=m(k.subLanguage,T,true,C[k.subLanguage]);C[k.subLanguage]=e.top}else{e=h(T,k.subLanguage.length?k.subLanguage:null)}if(k.relevance>0){R+=e.relevance}_.addSublanguage(e.emitter,e.language)}function p(){if(k.subLanguage!=null){c()}else{u()}T=""}function g(e){if(e.className){_.openNode(q.classNameAliases[e.className]||e.className)}k=Object.create(e,{parent:{value:k}});return k}function f(e,t,n){var a=Hw(e.endRe,n);if(a){if(e["on:end"]){var r=new Sw(e);e["on:end"](t,r);if(r.isMatchIgnored)a=false}if(a){while(e.endsParent&&e.parent){e=e.parent}return e}}if(e.endsWithParent){return f(e.parent,t,n)}}function b(e){if(k.matcher.regexIndex===0){T+=e[0];return 1}else{N=true;return 0}}function v(e){var t=e[0];var n=e.rule;var a=new Sw(n);var r=[n.__beforeBegin,n["on:begin"]];for(var s=0,i=r;s<i.length;s++){var o=i[s];if(!o)continue;o(e,a);if(a.isMatchIgnored)return b(t)}if(n&&n.endSameAsBegin){n.endRe=Vw(t)}if(n.skip){T+=t}else{if(n.excludeBegin){T+=t}p();if(!n.returnBegin&&!n.excludeBegin){T=t}}g(n);return n.returnBegin?0:t.length}function w(e){var t=e[0];var a=n.substr(e.index);var r=f(k,e,a);if(!r){return Xx}var s=k;if(s.skip){T+=t}else{if(!(s.returnEnd||s.excludeEnd)){T+=t}p();if(s.excludeEnd){T=t}}do{if(k.className){_.closeNode()}if(!k.skip&&!k.subLanguage){R+=k.relevance}k=k.parent}while(k!==r.parent);if(r.starts){if(r.endSameAsBegin){r.starts.endRe=r.endRe}g(r.starts)}return s.returnEnd?0:t.length}function x(){var e=[];for(var t=k;t!==q;t=t.parent){if(t.className){e.unshift(t.className)}}e.forEach((function(e){return _.openNode(e)}))}var y={};function E(t,a){var i=a&&a[0];T+=t;if(i==null){p();return 0}if(y.type==="begin"&&a.type==="end"&&y.index===a.index&&i===""){T+=n.slice(a.index,a.index+1);if(!r){var o=new Error("0 width match regex");o.languageName=e;o.badRule=y.rule;throw o}return 1}y=a;if(a.type==="begin"){return v(a)}else if(a.type==="illegal"&&!s){var o=new Error('Illegal lexeme "'+i+'" for mode "'+(k.className||"<unnamed>")+'"');o.mode=k;throw o}else if(a.type==="end"){var l=w(a);if(l!==Xx){return l}}if(a.type==="illegal"&&i===""){return 1}if(S>1e5&&S>a.index*3){var o=new Error("potential infinite loop, way more iterations than matches");throw o}T+=i;return i.length}var q=P(e);if(!q){Mx(i.replace("{}",e));throw new Error('Unknown language: "'+e+'"')}var A=Px(q,{plugins:a});var D="";var k=o||A;var C={};var _=new l.__emitter(l);x();var T="";var R=0;var I=0;var S=0;var N=false;try{k.matcher.considerAll();for(;;){S++;if(N){N=false}else{k.matcher.considerAll()}k.matcher.lastIndex=I;var L=k.matcher.exec(n);if(!L)break;var F=n.substring(I,L.index);var O=E(F,L);I=L.index+O}E(n.substr(I));_.closeAllNodes();_.finalize();D=_.toHTML();return{relevance:Math.floor(R),value:D,language:e,illegal:false,emitter:_,top:k}}catch(t){if(t.message&&t.message.includes("Illegal")){return{illegal:true,illegalBy:{msg:t.message,context:n.slice(I-100,I+100),mode:t.mode},sofar:D,relevance:0,value:zx(n),emitter:_}}else if(r){return{illegal:false,relevance:0,value:zx(n),emitter:_,language:e,top:k,errorRaised:t}}else{throw t}}}function p(e){var t={relevance:0,emitter:new l.__emitter(l),value:zx(e),illegal:false,top:o};t.emitter.addText(e);return t}function h(e,n){n=n||l.languages||Object.keys(t);var a=p(e);var r=n.filter(P).filter(S).map((function(t){return m(t,e,false)}));r.unshift(a);var s=r.sort((function(e,t){if(e.relevance!==t.relevance)return t.relevance-e.relevance;if(e.language&&t.language){if(P(e.language).supersetOf===t.language){return 1}else if(P(t.language).supersetOf===e.language){return-1}}return 0}));var i=s[0],o=s[1];var d=i;d.second_best=o;return d}function g(e){if(!(l.tabReplace||l.useBR)){return e}return e.replace(s,(function(e){if(e==="\n"){return l.useBR?"<br>":e}else if(l.tabReplace){return e.replace(/\t/g,l.tabReplace)}return e}))}function f(e,t,a){var r=t?n[t]:a;e.classList.add("hljs");if(r)e.classList.add(r)}var b={"before:highlightElement":function(e){var t=e.el;if(l.useBR){t.innerHTML=t.innerHTML.replace(/\n/g,"").replace(/<br[ /]*>/g,"\n")}},"after:highlightElement":function(e){var t=e.result;if(l.useBR){t.value=t.value.replace(/\n/g,"<br>")}}};var v=/^(<[^>]+>|\t)+/gm;var w={"after:highlightElement":function(e){var t=e.result;if(l.tabReplace){t.value=t.value.replace(v,(function(e){return e.replace(/\t/g,l.tabReplace)}))}}};function x(e){var t=null;var n=u(e);if(d(n))return;F("before:highlightElement",{el:e,language:n});t=e;var a=t.textContent;var r=n?c(a,{language:n,ignoreIllegals:true}):h(a);F("after:highlightElement",{el:e,result:r,text:a});e.innerHTML=r.value;f(e,n,r.language);e.result={language:r.language,re:r.relevance,relavance:r.relevance};if(r.second_best){e.second_best={language:r.second_best.language,re:r.second_best.relevance,relavance:r.second_best.relevance}}}function y(e){if(e.useBR){Ux("10.3.0","'useBR' will be removed entirely in v11.0");Ux("10.3.0","Please see https://github.com/highlightjs/highlight.js/issues/2559")}l=Hx(l,e)}var E=function(){if(E.called)return;E.called=true;Ux("10.6.0","initHighlighting() is deprecated. Use highlightAll() instead.");var e=document.querySelectorAll("pre code");e.forEach(x)};function q(){Ux("10.6.0","initHighlightingOnLoad() is deprecated. Use highlightAll() instead.");A=true}var A=false;function D(){if(document.readyState==="loading"){A=true;return}var e=document.querySelectorAll("pre code");e.forEach(x)}function k(){if(A)D()}if(typeof window!=="undefined"&&window.addEventListener){window.addEventListener("DOMContentLoaded",k,false)}function C(n,a){var s=null;try{s=a(e)}catch(e){Mx("Language definition for '{}' could not be registered.".replace("{}",n));if(!r){throw e}else{Mx(e)}s=o}if(!s.name)s.name=n;t[n]=s;s.rawDefinition=a.bind(null,e);if(s.aliases){I(s.aliases,{languageName:n})}}function _(e){delete t[e];for(var a=0,r=Object.keys(n);a<r.length;a++){var s=r[a];if(n[s]===e){delete n[s]}}}function T(){return Object.keys(t)}function R(e){Ux("10.4.0","requireLanguage will be removed entirely in v11.");Ux("10.4.0","Please see https://github.com/highlightjs/highlight.js/pull/2844");var t=P(e);if(t){return t}var n=new Error("The '{}' language is required, but not loaded.".replace("{}",e));throw n}function P(e){e=(e||"").toLowerCase();return t[e]||t[n[e]]}function I(e,t){var a=t.languageName;if(typeof e==="string"){e=[e]}e.forEach((function(e){n[e.toLowerCase()]=a}))}function S(e){var t=P(e);return t&&!t.disableAutodetect}function N(e){if(e["before:highlightBlock"]&&!e["before:highlightElement"]){e["before:highlightElement"]=function(t){e["before:highlightBlock"](Object.assign({block:t.el},t))}}if(e["after:highlightBlock"]&&!e["after:highlightElement"]){e["after:highlightElement"]=function(t){e["after:highlightBlock"](Object.assign({block:t.el},t))}}}function L(e){N(e);a.push(e)}function F(e,t){var n=e;a.forEach((function(e){if(e[n]){e[n](t)}}))}function O(e){Ux("10.2.0","fixMarkup will be removed entirely in v11.0");Ux("10.2.0","Please see https://github.com/highlightjs/highlight.js/issues/2534");return g(e)}function B(e){Ux("10.7.0","highlightBlock will be removed entirely in v12.0");Ux("10.7.0","Please use highlightElement now.");return x(e)}Object.assign(e,{highlight:c,highlightAuto:h,highlightAll:D,fixMarkup:O,highlightElement:x,highlightBlock:B,configure:y,initHighlighting:E,initHighlightingOnLoad:q,registerLanguage:C,unregisterLanguage:_,listLanguages:T,getLanguage:P,registerAliases:I,requireLanguage:R,autoDetection:S,inherit:Hx,addPlugin:L,vuePlugin:Fx(e).VuePlugin});e.debugMode=function(){r=false};e.safeMode=function(){r=true};e.versionString=Nx;for(var G in xx){if(typeof xx[G]==="object"){Pw(xx[G])}}Object.assign(e,xx);e.addPlugin(b);e.addPlugin(Ox);e.addPlugin(w);return e};var $x=Jx({});var Kx=$x;function Yx(e){return{name:"Gherkin",aliases:["feature"],keywords:"Feature Background Ability Business Need Scenario Scenarios Scenario Outline Scenario Template Examples Given And Then But When",contains:[{className:"symbol",begin:"\\*",relevance:0},{className:"meta",begin:"@[^@\\s]+"},{begin:"\\|",end:"\\|\\w*$",contains:[{className:"string",begin:"[^|]+"}]},{className:"variable",begin:"<",end:">"},e.HASH_COMMENT_MODE,{className:"string",begin:'"""',end:'"""'},e.QUOTE_STRING_MODE]}}var Zx=Yx;Kx.registerLanguage("gherkin",Zx);var Qx=function(e,n){var a=e.story;var r;var s=(r=a.parent.parameters)===null||r===void 0?void 0:r.scenario;var i;try{i=Kx.highlight("gherkin",s)}catch(e){}return t("div",null,t("details",null,t("summary",null,"Specs"),i&&t("pre",{innerHTML:i.value})),n)};var ey=[Ka,ur,Er,Gr,ar,rs,Ds,Rs,pi,bi,Ri,mh,Dh,Jh,Zr,ps,ws,Fi,Eo,Oo,jo,Jo,il,bl,_l,Wl,Kl,td,ud,Dd,Gd,uc,yc,Lu,Dc,Rc,sm,ep,So,ip,cp,xp,Ip,Bp,zp,rh,wh,Bh,fg,Hi,lo,no,Ag,Tg,Og,$g,pf,bb,Ob,Xb,mv,Dv,Nv,Wv,Yv,sw,fw,Ew];var ty=e("sqm_stencilbook",function(){function e(e){n(this,e);this.ignored=true;d(this)}e.prototype.disconnectedCallback=function(){};e.prototype.render=function(){var e=Fa(ey,{h:t,title:"Mint Components",addons:[jr,we,Qx]}),n=e.class,r=e.children;var s=i("Default"),o=s[0],l=s[1];var d=i(true),u=d[0],c=d[1];var m=Object.keys(Tw);var p=Tw[o];return t(a,{class:n,onClick:{}},t("div",{style:{position:"absolute",top:"0",right:"0",zIndex:"999999"}},"Branding:",t("select",{onChange:function(e){return l(e.target.value)}},m.map((function(e){return t("option",{selected:e===o},e)}))),t("div",null,t("div",null)),t(ny,null),t("br",null),t("input",{type:"checkbox",id:"checkerboard",onClick:function(){return c(!u)},onChange:function(){return document.documentElement.style.setProperty("--checker-color-1",u?"#ebebeb":"#ffffff00")}}),t("label",{htmlFor:"checkerboard"},"Checkerboard?")),t("style",null,p),t("style",null,Fc),r)};return e}());function ny(){return t("span",null,t(ay,null),t(ay,{type:"success"}),t(ay,{type:"warning"}),t(ay,{type:"danger"}),t(ay,{type:"neutral"}))}function ay(e){var n=e.type,a=n===void 0?"primary":n;return t("span",{style:{background:"var(--sl-color-"+a+"-500)",width:"1em",marginRight:"2px",padding:"0 4px"},title:a},a.charAt(0))}}}}));
|