@saasquatch/mint-components 1.15.0-99 → 1.16.0-1
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/dist/cjs/ErrorView-b2fcf954.js +35 -0
- package/dist/cjs/{GenericTableView-a9845e80.js → GenericTableView-a9f4ba75.js} +8 -8
- package/dist/cjs/{ShadowViewAddon-c06b2910.js → ShadowViewAddon-28865623.js} +1531 -1495
- package/dist/cjs/copy-text-view-c85acaaa.js +96 -0
- package/dist/cjs/{email-registration-view-ace50780.js → email-registration-view-55b378dc.js} +3 -5
- package/dist/cjs/{global-4cd8623e.js → global-e31dc4f5.js} +10494 -10772
- package/dist/cjs/{index-a43a63b4.js → index-a29c60ef.js} +0 -4
- package/dist/cjs/{index.module-4f54e412.js → index.module-ee84433d.js} +191 -191
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{luxon-949beaf2.js → luxon-2926d85f.js} +2 -2
- package/dist/cjs/mint-components.cjs.js +5 -5
- package/dist/cjs/{mixins-4761d472.js → mixins-f7e0377a.js} +6 -6
- package/dist/cjs/{mockRewardData-df37c8a3.js → mockRewardData-7815f10f.js} +1 -1
- package/dist/cjs/raisins-plop-target.cjs.entry.js +1 -1
- package/dist/cjs/{re-render-d516138a.js → re-render-b324deab.js} +4 -4
- package/dist/cjs/sqm-asset-card-view-21ddf04f.js +51 -0
- package/dist/cjs/sqm-asset-card.cjs.entry.js +45 -0
- package/dist/cjs/{sqm-banking-info-form_10.cjs.entry.js → sqm-banking-info-form_17.cjs.entry.js} +2519 -712
- package/dist/cjs/{sqm-base-registration-form-view-8847804c.js → sqm-base-registration-form-view-8a2c8763.js} +3 -3
- package/dist/cjs/sqm-big-stat_43.cjs.entry.js +788 -1274
- package/dist/cjs/{sqm-close-button-view-5e85ac51.js → sqm-close-button-view-ea3fa23b.js} +2 -2
- package/dist/cjs/sqm-close-button.cjs.entry.js +6 -6
- package/dist/cjs/sqm-context-router.cjs.entry.js +11 -11
- package/dist/cjs/sqm-email-verification.cjs.entry.js +28 -152
- package/dist/cjs/sqm-empty_4.cjs.entry.js +63 -58
- package/dist/cjs/sqm-form-message.cjs.entry.js +8 -8
- package/dist/cjs/sqm-google-sign-in.cjs.entry.js +14 -14
- package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +6 -6
- package/dist/cjs/sqm-header-logo.cjs.entry.js +3 -3
- package/dist/cjs/sqm-instant-access-registration.cjs.entry.js +9 -9
- package/dist/cjs/sqm-invoice-table-view-5c74607f.js +2074 -0
- package/dist/cjs/sqm-lead-checkbox-field-view-34d94919.js +83 -0
- package/dist/cjs/sqm-lead-checkbox-field.cjs.entry.js +81 -0
- package/dist/cjs/sqm-lead-input-field-view-89308aab.js +51 -0
- package/dist/cjs/sqm-lead-input-field.cjs.entry.js +88 -0
- package/dist/cjs/sqm-leaderboard-rank-view-d39a55d8.js +10 -0
- package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +7 -7
- package/dist/cjs/{sqm-logout-current-user-view-b61c8bdf.js → sqm-logout-current-user-view-11d57c12.js} +1 -1
- package/dist/cjs/sqm-logout-current-user.cjs.entry.js +6 -6
- package/dist/cjs/sqm-navigation-sidebar-item-view-6f35d2ee.js +45 -0
- package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +8 -31
- package/dist/cjs/{sqm-navigation-sidebar-view-de90ef03.js → sqm-navigation-sidebar-view-17111896.js} +8 -18
- package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +9 -25
- package/dist/cjs/sqm-pagination_3.cjs.entry.js +70 -97
- package/dist/cjs/sqm-password-field.cjs.entry.js +11 -11
- package/dist/cjs/sqm-popup-container.cjs.entry.js +5 -5
- package/dist/cjs/{sqm-portal-container-view-07e4343f.js → sqm-portal-container-view-4f15143a.js} +2 -2
- package/dist/cjs/{sqm-portal-email-verification-view-5a22b152.js → sqm-portal-email-verification-view-7ebb426a.js} +4 -4
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +15 -15
- package/dist/cjs/{sqm-portal-forgot-password-view-0a8d3243.js → sqm-portal-forgot-password-view-78f19ef9.js} +16 -24
- package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +10 -39
- package/dist/cjs/sqm-portal-google-login.cjs.entry.js +9 -9
- package/dist/cjs/sqm-portal-google-registration-form.cjs.entry.js +13 -13
- package/dist/cjs/{sqm-portal-login-view-bb50304c.js → sqm-portal-login-view-761a4d8e.js} +4 -4
- package/dist/cjs/sqm-portal-logout.cjs.entry.js +4 -4
- package/dist/cjs/{sqm-portal-profile-view-4dbfeaeb.js → sqm-portal-profile-view-33164798.js} +4 -4
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +15 -15
- package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +5 -5
- package/dist/cjs/{sqm-portal-registration-form-view-5a96c2f5.js → sqm-portal-registration-form-view-637a4bf4.js} +3 -3
- package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +9 -9
- package/dist/cjs/{sqm-portal-reset-password-view-25eb2099.js → sqm-portal-reset-password-view-fe602822.js} +3 -3
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +11 -11
- package/dist/cjs/{sqm-portal-verify-email-view-1c4e781f.js → sqm-portal-verify-email-view-7b678f34.js} +3 -3
- package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +12 -12
- package/dist/cjs/{sqm-qr-code-view-0c3b2f48.js → sqm-qr-code-view-15dfc0b6.js} +10 -10
- package/dist/cjs/sqm-qr-code.cjs.entry.js +13 -12
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +47 -132
- package/dist/cjs/sqm-referred-registration.cjs.entry.js +178 -0
- package/dist/cjs/sqm-rewards-table-customer-note-cell.cjs.entry.js +4 -4
- package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +5 -5
- package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +37 -84
- package/dist/cjs/sqm-route.cjs.entry.js +1 -1
- package/dist/cjs/sqm-scroll.cjs.entry.js +3 -3
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +14117 -15117
- package/dist/cjs/sqm-tab.cjs.entry.js +5 -5
- package/dist/cjs/sqm-tabs.cjs.entry.js +13 -27
- package/dist/cjs/sqm-text-span-view-0aa82125.js +62 -0
- package/dist/cjs/sqm-text-span.cjs.entry.js +7 -7
- package/dist/cjs/sqm-widget-verification-controller.cjs.entry.js +11 -19
- package/dist/cjs/sqm-widget-verification.cjs.entry.js +13 -25
- package/dist/cjs/{dom-context-hooks.module-7fa676ae.js → stencil-hooks.module-3a336b0f.js} +18 -18
- package/dist/cjs/{useChildElements-966c9041.js → useChildElements-1b35d945.js} +5 -5
- package/dist/cjs/{useInstantAccessRegistration-08bcb487.js → useInstantAccessRegistration-0537e28e.js} +4 -4
- package/dist/cjs/useLeadFormState-c83d2034.js +72 -0
- package/dist/cjs/{usePayoutStatus-3b34dab1.js → usePayoutStatus-c84a7d98.js} +13 -10
- package/dist/cjs/{usePortalLogin-6aa864ef.js → usePortalLogin-63d896d1.js} +4 -4
- package/dist/cjs/{usePortalRegistrationForm-75b647fe.js → usePortalRegistrationForm-f25d89e7.js} +6 -6
- package/dist/cjs/{useReferralCodes-11cdf43b.js → useReferralCodes-82e8797b.js} +3 -3
- package/dist/cjs/{useReferralTable-90d4d6e9.js → useReferralTable-7c3f9600.js} +10 -10
- package/dist/cjs/{useRegistrationFormState-bbee6e7b.js → useRegistrationFormState-7b820f0c.js} +6 -6
- package/dist/cjs/{useVerificationEmail-9dd3997a.js → useVerificationEmail-95a82767.js} +6 -6
- package/dist/cjs/{utilities-9a0c5e91.js → utilities-78f5e169.js} +4 -4
- package/dist/cjs/{utils-7cbd60cc.js → utils-6847bc06.js} +0 -5
- package/dist/collection/collection-manifest.json +5 -1
- package/dist/collection/components/sqm-asset-card/AssetCard.stories.js +29 -0
- package/dist/collection/components/sqm-asset-card/sqm-asset-card-view.js +46 -0
- package/dist/collection/components/sqm-asset-card/sqm-asset-card.js +107 -0
- package/dist/collection/components/sqm-asset-card/useAssetCard.js +9 -0
- package/dist/collection/components/sqm-big-stat/BigStat.stories.js +0 -13
- package/dist/collection/components/sqm-big-stat/sqm-big-stat-view.js +8 -15
- package/dist/collection/components/sqm-big-stat/sqm-big-stat.js +4 -171
- package/dist/collection/components/sqm-big-stat/useBigStat.js +8 -127
- package/dist/collection/components/sqm-big-stat/useDemoBigStat.js +5 -14
- package/dist/collection/components/sqm-brand/sqm-brand.js +4 -12
- package/dist/collection/components/sqm-card-feed/sqm-card-feed.js +0 -2
- package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field-view.js +11 -4
- package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field.js +0 -1
- package/dist/collection/components/sqm-coupon-code/CouponCode.stories.js +0 -4
- package/dist/collection/components/sqm-coupon-code/sqm-coupon-code-view.js +13 -13
- package/dist/collection/components/sqm-coupon-code/sqm-coupon-code.js +48 -145
- package/dist/collection/components/sqm-coupon-code/useCouponCode.js +65 -3
- package/dist/collection/components/sqm-divided-layout/sqm-divided-layout-view.js +6 -14
- package/dist/collection/components/sqm-divided-layout/sqm-divided-layout.js +3 -62
- package/dist/collection/components/sqm-dropdown-field/sqm-dropdown-field-view.js +1 -1
- package/dist/collection/components/sqm-edit-profile/sqm-edit-profile-view.js +1 -1
- package/dist/collection/components/sqm-empty/sqm-empty-view.js +1 -1
- package/dist/collection/components/sqm-form-message/FormMessage.stories.js +16 -8
- package/dist/collection/components/sqm-form-message/sqm-form-message.css +11 -50
- package/dist/collection/components/sqm-form-message/sqm-form-message.js +4 -4
- package/dist/collection/components/sqm-header-logo/sqm-header-logo.js +0 -1
- package/dist/collection/components/sqm-hero/Hero.stories.js +0 -11
- package/dist/collection/components/sqm-hero/sqm-hero-view.js +6 -13
- package/dist/collection/components/sqm-hero/sqm-hero.js +4 -30
- package/dist/collection/components/sqm-hero-image/sqm-hero-image-view.js +4 -4
- package/dist/collection/components/sqm-hero-image/sqm-hero-image.js +0 -80
- package/dist/collection/components/sqm-image/sqm-image.js +0 -1
- package/dist/collection/components/sqm-instant-access-registration/sqm-instant-access-registration.js +3 -4
- package/dist/collection/components/sqm-invoice-table/cells/sqm-invoice-table-download-cell.js +2 -2
- package/dist/collection/components/sqm-invoice-table/columns/sqm-invoice-table-data-column.js +1 -2
- package/dist/collection/components/sqm-invoice-table/columns/sqm-invoice-table-date-column.js +1 -2
- package/dist/collection/components/sqm-invoice-table/columns/sqm-invoice-table-download-column.js +1 -2
- package/dist/collection/components/sqm-invoice-table/sqm-invoice-table-view.js +1 -1
- package/dist/collection/components/sqm-invoice-table/sqm-invoice-table.js +3 -6
- package/dist/collection/components/sqm-lead-form/LeadCheckboxField.stories.js +44 -0
- package/dist/collection/components/sqm-lead-form/LeadForm.stories.js +93 -0
- package/dist/collection/components/sqm-lead-form/LeadFormDropdownField.stories.js +62 -0
- package/dist/collection/components/sqm-lead-form/LeadInputField.stories.js +49 -0
- package/dist/collection/components/sqm-lead-form/sqm-lead-checkbox-field-view.js +79 -0
- package/dist/collection/components/sqm-lead-form/sqm-lead-checkbox-field.js +234 -0
- package/dist/collection/components/sqm-lead-form/sqm-lead-dropdown-field-view.js +65 -0
- package/dist/collection/components/sqm-lead-form/sqm-lead-dropdown-field.js +251 -0
- package/dist/collection/components/sqm-lead-form/sqm-lead-form-view.js +123 -0
- package/dist/collection/components/sqm-lead-form/sqm-lead-form.js +495 -0
- package/dist/collection/components/sqm-lead-form/sqm-lead-input-field-view.js +47 -0
- package/dist/collection/components/sqm-lead-form/sqm-lead-input-field.js +251 -0
- package/dist/collection/components/sqm-lead-form/useCheckboxField.js +10 -0
- package/dist/collection/components/sqm-lead-form/useLeadDropdownField.js +10 -0
- package/dist/collection/components/sqm-lead-form/useLeadForm.js +155 -0
- package/dist/collection/components/sqm-lead-form/useLeadFormState.js +10 -0
- package/dist/collection/components/sqm-lead-form/useLeadInputField.js +10 -0
- package/dist/collection/components/sqm-leaderboard/Leaderboard.stories.js +0 -37
- package/dist/collection/components/sqm-leaderboard/sqm-leaderboard-view.js +54 -60
- package/dist/collection/components/sqm-leaderboard/sqm-leaderboard.js +36 -202
- package/dist/collection/components/sqm-leaderboard-rank/sqm-leaderboard-rank-view.js +2 -2
- package/dist/collection/components/sqm-leaderboard-rank/sqm-leaderboard-rank.css +2 -2
- package/dist/collection/components/sqm-link-button/sqm-link-button.js +0 -1
- package/dist/collection/components/sqm-logout-current-user/sqm-logout-current-user.js +1 -2
- package/dist/collection/components/sqm-name-fields/sqm-name-fields-view.js +3 -28
- package/dist/collection/components/sqm-name-fields/sqm-name-fields.js +0 -1
- package/dist/collection/components/sqm-navigation-menu/sqm-navigation-menu.js +0 -1
- package/dist/collection/components/sqm-navigation-sidebar/sqm-navigation-sidebar-view.js +7 -17
- package/dist/collection/components/sqm-navigation-sidebar/sqm-navigation-sidebar.js +5 -85
- package/dist/collection/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item-view.js +7 -18
- package/dist/collection/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item.js +1 -233
- package/dist/collection/components/sqm-navigation-sidebar-item/useNavigationSidebarItem.js +1 -9
- package/dist/collection/components/sqm-pagination/sqm-pagination-view.js +3 -3
- package/dist/collection/components/sqm-pagination/sqm-pagination.js +2 -43
- package/dist/collection/components/sqm-payout-button-scroll/sqm-payout-button-scroll-view.js +1 -1
- package/dist/collection/components/sqm-portal-change-password/sqm-portal-change-password-view.js +4 -8
- package/dist/collection/components/sqm-portal-change-password/sqm-portal-change-password.js +1 -2
- package/dist/collection/components/sqm-portal-container/sqm-portal-container-view.js +1 -1
- package/dist/collection/components/sqm-portal-container/sqm-portal-container.js +8 -1
- package/dist/collection/components/sqm-portal-footer/sqm-portal-footer-view.js +6 -6
- package/dist/collection/components/sqm-portal-footer/sqm-portal-footer.js +0 -1
- package/dist/collection/components/sqm-portal-forgot-password/PortalForgotPassword.stories.js +4 -4
- package/dist/collection/components/sqm-portal-forgot-password/sqm-portal-forgot-password-view.js +13 -21
- package/dist/collection/components/sqm-portal-forgot-password/sqm-portal-forgot-password.js +3 -103
- package/dist/collection/components/sqm-portal-frame/sqm-portal-frame-view.js +36 -41
- package/dist/collection/components/sqm-portal-frame/sqm-portal-frame.js +2 -102
- package/dist/collection/components/sqm-portal-frame/usePortalFrame.js +1 -4
- package/dist/collection/components/sqm-portal-login/PortalLogin.stories.js +5 -10
- package/dist/collection/components/sqm-portal-login/sqm-portal-login-view.js +1 -1
- package/dist/collection/components/sqm-portal-login/sqm-portal-login.js +1 -2
- package/dist/collection/components/sqm-portal-logout/sqm-portal-logout.js +0 -1
- package/dist/collection/components/sqm-portal-profile/sqm-portal-profile-view.js +1 -1
- package/dist/collection/components/sqm-portal-profile/sqm-portal-profile.js +0 -1
- package/dist/collection/components/sqm-portal-protected-route/sqm-portal-protected-route.js +0 -1
- package/dist/collection/components/sqm-portal-register/sqm-portal-register.js +3 -1
- package/dist/collection/components/sqm-portal-registration-form/PortalRegistrationForm.stories.js +0 -1
- package/dist/collection/components/sqm-portal-registration-form/sqm-portal-registration-form.js +1 -0
- package/dist/collection/components/sqm-program-explainer/sqm-program-explainer-view.js +1 -1
- package/dist/collection/components/sqm-program-explainer/sqm-program-explainer.js +0 -2
- package/dist/collection/components/sqm-program-explainer-step/sqm-program-explainer-step-view.js +4 -12
- package/dist/collection/components/sqm-program-explainer-step/sqm-program-explainer-step.js +2 -77
- package/dist/collection/components/sqm-program-menu/sqm-program-menu.js +0 -1
- package/dist/collection/components/sqm-qr-code/sqm-qr-code-view.js +7 -2
- package/dist/collection/components/sqm-qr-code/sqm-qr-code.js +0 -1
- package/dist/collection/components/sqm-radio-card/sqm-radio-card-view.js +2 -2
- package/dist/collection/components/sqm-referral-card/sqm-referral-card-view.js +31 -34
- package/dist/collection/components/sqm-referral-card/sqm-referral-card.js +10 -81
- package/dist/collection/components/sqm-referral-code/ReferralCode.stories.js +0 -3
- package/dist/collection/components/sqm-referral-code/sqm-referral-code.js +1 -170
- package/dist/collection/components/sqm-referral-codes/ReferralCodes.stories.js +0 -6
- package/dist/collection/components/sqm-referral-codes/sqm-referral-codes-view.js +46 -46
- package/dist/collection/components/sqm-referral-codes/sqm-referral-codes.js +1 -29
- package/dist/collection/components/sqm-referral-table/ReferralTable.stories.js +2 -2
- package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-rewards-cell.js +20 -53
- package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-status-cell.js +7 -62
- package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-column.js +1 -2
- package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-date-column.js +2 -4
- package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-rewards-column.js +3 -6
- package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-status-column.js +3 -6
- package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-user-column.js +2 -4
- package/dist/collection/components/sqm-referral-table/sqm-referral-table.js +1 -4
- package/dist/collection/components/sqm-referred-registration/sqm-referred-registration.js +10 -3
- package/dist/collection/components/sqm-reward-exchange-list/RewardExchangeList.stories.js +19 -19
- package/dist/collection/components/sqm-reward-exchange-list/RewardExchangeListData.js +5 -31
- package/dist/collection/components/sqm-reward-exchange-list/progressBar.js +10 -10
- package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list-view.js +42 -39
- package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list.js +7 -50
- package/dist/collection/components/sqm-rewards-table/RewardsTableCell.stories.js +1 -1
- package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-reward-cell.js +5 -6
- package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-source-cell.js +4 -5
- package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-status-cell.js +9 -58
- package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-date-column.js +2 -3
- package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-note-column.js +2 -3
- package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-reward-column.js +2 -3
- package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-source-column.js +2 -3
- package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-status-column.js +3 -5
- package/dist/collection/components/sqm-rewards-table/sqm-rewards-table.js +2 -4
- package/dist/collection/components/sqm-rewards-table/useRewardsTable.js +1 -1
- package/dist/collection/components/sqm-route/sqm-route.js +0 -1
- package/dist/collection/components/sqm-router/sqm-router.js +0 -2
- package/dist/collection/components/sqm-scroll/sqm-scroll.js +0 -1
- package/dist/collection/components/sqm-share-button/ShareButton.stories.js +1 -3
- package/dist/collection/components/sqm-share-button/sqm-share-button-view.js +22 -23
- package/dist/collection/components/sqm-share-button/sqm-share-button.js +10 -57
- package/dist/collection/components/sqm-share-code/sqm-share-code.js +1 -170
- package/dist/collection/components/sqm-share-link/ShareLink.stories.js +1 -13
- package/dist/collection/components/sqm-share-link/sqm-share-link.js +3 -172
- package/dist/collection/components/sqm-stat-container/sqm-stat-container-view.js +9 -21
- package/dist/collection/components/sqm-stat-container/sqm-stat-container.js +2 -112
- package/dist/collection/components/sqm-stencilbook/Themes.js +33 -325
- package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +107 -81
- package/dist/collection/components/sqm-table-row/sqm-table-row.js +2 -2
- package/dist/collection/components/sqm-tabs/Tabs.stories.js +0 -7
- package/dist/collection/components/sqm-tabs/sqm-tabs-view.js +2 -16
- package/dist/collection/components/sqm-tabs/sqm-tabs.js +2 -30
- package/dist/collection/components/sqm-task-card/DetailsView.js +2 -8
- package/dist/collection/components/sqm-task-card/progress-bar/progress-bar-view.js +2 -3
- package/dist/collection/components/sqm-task-card/sqm-task-card-view.js +157 -139
- package/dist/collection/components/sqm-task-card/sqm-task-card.js +4 -147
- package/dist/collection/components/sqm-task-card/useTaskCard.js +0 -10
- package/dist/collection/components/sqm-text/sqm-text.js +48 -101
- package/dist/collection/components/sqm-text-span/sqm-text-span-view.js +43 -44
- package/dist/collection/components/sqm-text-span/sqm-text-span.js +2 -52
- package/dist/collection/components/sqm-timeline/Timeline.stories.js +1 -8
- package/dist/collection/components/sqm-timeline/sqm-timeline-entry-view.js +45 -45
- package/dist/collection/components/sqm-timeline/sqm-timeline-entry.js +0 -52
- package/dist/collection/components/sqm-timeline/sqm-timeline.js +1 -3
- package/dist/collection/components/sqm-titled-section/sqm-titled-section.js +0 -2
- package/dist/collection/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification-view.js +2 -12
- package/dist/collection/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification.js +2 -2
- package/dist/collection/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification-view.js +14 -138
- package/dist/collection/components/sqm-widget-verification/sqm-widget-verification-controller.js +7 -39
- package/dist/collection/components/sqm-widget-verification/sqm-widget-verification.js +8 -45
- package/dist/collection/components/tax-and-cash/TaxForm.stories.js +26 -13
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.js +69 -19
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.js +2 -2
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/useBankingInfoForm.js +1 -1
- package/dist/collection/components/tax-and-cash/sqm-docusign-form/docusign-iframe/DocusignIframe.js +3 -3
- package/dist/collection/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form-view.js +76 -21
- package/dist/collection/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form.js +3 -3
- package/dist/collection/components/tax-and-cash/sqm-docusign-form/useDocusignForm.js +2 -2
- package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form-view.js +71 -54
- package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form.js +2 -2
- package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/useIndirectTaxForm.js +2 -2
- package/dist/collection/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card-view.js +27 -24
- package/dist/collection/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card.js +1 -26
- package/dist/collection/components/tax-and-cash/sqm-payout-details-card/usePayoutDetailsCard.js +2 -2
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/PayoutStatusAlert.stories.js +1 -0
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.js +62 -19
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.js +103 -4
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.js +8 -5
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/ErrorView.js +27 -3
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.js +192 -59
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/useTaxAndCash.js +8 -3
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.js +122 -108
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.js +134 -80
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/useTaxAndCashDashboard.js +3 -1
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/small-views/DocusignExpiredView.js +1 -1
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/small-views/IndirectTaxDetailsView.js +2 -2
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +54 -167
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form.js +10 -10
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/useUserInfoForm.js +3 -3
- package/dist/collection/components/views/copy-text-view.js +38 -69
- package/dist/collection/components/views/email-registration-view.js +1 -3
- package/dist/collection/global/global.js +12 -27
- package/dist/collection/global/mixins.js +8 -8
- package/dist/collection/global/styles.js +99 -330
- package/dist/collection/global/styles.ts +100 -419
- package/dist/collection/stories/PortalTemplates.stories.js +30 -22
- package/dist/collection/tables/GenericTableView.js +6 -6
- package/dist/collection/utils/utils.js +0 -4
- package/dist/esm/ErrorView-48e2b969.js +33 -0
- package/dist/esm/{GenericTableView-e43d310f.js → GenericTableView-7b9087af.js} +8 -8
- package/dist/esm/{ShadowViewAddon-cf7c03a0.js → ShadowViewAddon-f2176779.js} +1525 -1492
- package/dist/esm/copy-text-view-782137ba.js +94 -0
- package/dist/esm/{email-registration-view-1f587f8b.js → email-registration-view-a7818cf2.js} +3 -5
- package/dist/esm/{global-f97ae778.js → global-be1f9992.js} +8276 -8553
- package/dist/esm/{index-b3a06de8.js → index-91e7729f.js} +0 -4
- package/dist/esm/{index.module-38dad6c9.js → index.module-89a79f66.js} +153 -153
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{luxon-bbf75a9d.js → luxon-8d51c92b.js} +1 -1
- package/dist/esm/mint-components.js +5 -5
- package/dist/esm/{mixins-f750863a.js → mixins-83f90fa1.js} +6 -6
- package/dist/esm/{mockRewardData-96a2d26d.js → mockRewardData-a3cdb832.js} +1 -1
- package/dist/esm/raisins-plop-target.entry.js +1 -1
- package/dist/esm/{re-render-9c90767d.js → re-render-cc945f38.js} +2 -2
- package/dist/esm/sqm-asset-card-view-fe5db3c0.js +49 -0
- package/dist/esm/sqm-asset-card.entry.js +41 -0
- package/dist/esm/{sqm-banking-info-form_10.entry.js → sqm-banking-info-form_17.entry.js} +2357 -557
- package/dist/esm/{sqm-base-registration-form-view-193f1721.js → sqm-base-registration-form-view-593d4ac3.js} +3 -3
- package/dist/esm/sqm-big-stat_43.entry.js +696 -1182
- package/dist/esm/{sqm-close-button-view-2fa57229.js → sqm-close-button-view-f9819751.js} +2 -2
- package/dist/esm/sqm-close-button.entry.js +5 -5
- package/dist/esm/sqm-context-router.entry.js +4 -4
- package/dist/esm/sqm-email-verification.entry.js +21 -145
- package/dist/esm/sqm-empty_4.entry.js +60 -55
- package/dist/esm/sqm-form-message.entry.js +7 -7
- package/dist/esm/sqm-google-sign-in.entry.js +3 -3
- package/dist/esm/sqm-graphql-client-provider.entry.js +3 -3
- package/dist/esm/sqm-header-logo.entry.js +2 -2
- package/dist/esm/sqm-instant-access-registration.entry.js +8 -8
- package/dist/esm/sqm-invoice-table-view-3491dd80.js +2058 -0
- package/dist/esm/sqm-lead-checkbox-field-view-a8c1c78e.js +81 -0
- package/dist/esm/sqm-lead-checkbox-field.entry.js +77 -0
- package/dist/esm/sqm-lead-input-field-view-4ede5d7f.js +49 -0
- package/dist/esm/sqm-lead-input-field.entry.js +84 -0
- package/dist/esm/sqm-leaderboard-rank-view-753c8d4a.js +8 -0
- package/dist/esm/sqm-leaderboard-rank.entry.js +6 -6
- package/dist/esm/{sqm-logout-current-user-view-f21e54e3.js → sqm-logout-current-user-view-8ef8180f.js} +1 -1
- package/dist/esm/sqm-logout-current-user.entry.js +5 -5
- package/dist/esm/sqm-navigation-sidebar-item-view-8f1c72bc.js +43 -0
- package/dist/esm/sqm-navigation-sidebar-item.entry.js +7 -30
- package/dist/esm/{sqm-navigation-sidebar-view-0a2ec560.js → sqm-navigation-sidebar-view-9d802b78.js} +8 -18
- package/dist/esm/sqm-navigation-sidebar.entry.js +6 -22
- package/dist/esm/sqm-pagination_3.entry.js +64 -91
- package/dist/esm/sqm-password-field.entry.js +6 -6
- package/dist/esm/sqm-popup-container.entry.js +4 -4
- package/dist/esm/{sqm-portal-container-view-176e92e3.js → sqm-portal-container-view-1683ae32.js} +2 -2
- package/dist/esm/{sqm-portal-email-verification-view-98fc3374.js → sqm-portal-email-verification-view-35b4353b.js} +4 -4
- package/dist/esm/sqm-portal-email-verification.entry.js +7 -7
- package/dist/esm/{sqm-portal-forgot-password-view-0e795cdd.js → sqm-portal-forgot-password-view-3d3182f1.js} +16 -24
- package/dist/esm/sqm-portal-forgot-password.entry.js +7 -36
- package/dist/esm/sqm-portal-google-login.entry.js +8 -8
- package/dist/esm/sqm-portal-google-registration-form.entry.js +9 -9
- package/dist/esm/{sqm-portal-login-view-7670cd86.js → sqm-portal-login-view-7e49609a.js} +4 -4
- package/dist/esm/sqm-portal-logout.entry.js +3 -3
- package/dist/esm/{sqm-portal-profile-view-25b3250a.js → sqm-portal-profile-view-93003974.js} +4 -4
- package/dist/esm/sqm-portal-profile.entry.js +8 -8
- package/dist/esm/sqm-portal-protected-route.entry.js +3 -3
- package/dist/esm/{sqm-portal-registration-form-view-8bdc3804.js → sqm-portal-registration-form-view-3c1f6000.js} +3 -3
- package/dist/esm/sqm-portal-registration-form.entry.js +8 -8
- package/dist/esm/{sqm-portal-reset-password-view-abef7286.js → sqm-portal-reset-password-view-54a8651f.js} +3 -3
- package/dist/esm/sqm-portal-reset-password.entry.js +7 -7
- package/dist/esm/{sqm-portal-verify-email-view-33805220.js → sqm-portal-verify-email-view-b12cb894.js} +3 -3
- package/dist/esm/sqm-portal-verify-email.entry.js +7 -7
- package/dist/esm/{sqm-qr-code-view-97124a66.js → sqm-qr-code-view-f1d0763b.js} +9 -9
- package/dist/esm/sqm-qr-code.entry.js +7 -6
- package/dist/esm/sqm-referral-table_11.entry.js +36 -121
- package/dist/esm/sqm-referred-registration.entry.js +174 -0
- package/dist/esm/sqm-rewards-table-customer-note-cell.entry.js +3 -3
- package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +4 -4
- package/dist/esm/sqm-rewards-table_9.entry.js +25 -72
- package/dist/esm/sqm-route.entry.js +1 -1
- package/dist/esm/sqm-scroll.entry.js +2 -2
- package/dist/esm/sqm-stencilbook.entry.js +14111 -15111
- package/dist/esm/sqm-tab.entry.js +4 -4
- package/dist/esm/sqm-tabs.entry.js +10 -24
- package/dist/esm/sqm-text-span-view-ca32495e.js +60 -0
- package/dist/esm/sqm-text-span.entry.js +6 -6
- package/dist/esm/sqm-widget-verification-controller.entry.js +6 -14
- package/dist/esm/sqm-widget-verification.entry.js +10 -22
- package/dist/esm/{dom-context-hooks.module-63370afd.js → stencil-hooks.module-4bc38af4.js} +13 -13
- package/dist/esm/{useChildElements-4e70ac0e.js → useChildElements-7945ae56.js} +2 -2
- package/dist/esm/{useInstantAccessRegistration-0f04459e.js → useInstantAccessRegistration-dc4ad9f2.js} +3 -3
- package/dist/esm/useLeadFormState-9016d812.js +68 -0
- package/dist/esm/{usePayoutStatus-7eeec61b.js → usePayoutStatus-f07bcf90.js} +10 -7
- package/dist/esm/{usePortalLogin-d0720c81.js → usePortalLogin-ef647a50.js} +3 -3
- package/dist/esm/{usePortalRegistrationForm-afc0171e.js → usePortalRegistrationForm-4b35a357.js} +3 -3
- package/dist/esm/{useReferralCodes-311e6d72.js → useReferralCodes-8f75921a.js} +2 -2
- package/dist/esm/{useReferralTable-65a01a6a.js → useReferralTable-b3876ed6.js} +5 -5
- package/dist/esm/{useRegistrationFormState-18c2cea7.js → useRegistrationFormState-d6f33135.js} +2 -2
- package/dist/esm/{useVerificationEmail-f9413de9.js → useVerificationEmail-edc318cb.js} +2 -2
- package/dist/esm/{utilities-ad9c2893.js → utilities-5b0ca040.js} +2 -2
- package/dist/esm/{utils-03188de2.js → utils-334c1e34.js} +1 -5
- package/dist/esm-es5/ErrorView-48e2b969.js +1 -0
- package/dist/esm-es5/GenericTableView-7b9087af.js +1 -0
- package/dist/esm-es5/ShadowViewAddon-f2176779.js +1 -0
- package/dist/esm-es5/copy-text-view-782137ba.js +1 -0
- package/dist/esm-es5/email-registration-view-a7818cf2.js +1 -0
- package/dist/esm-es5/{global-f97ae778.js → global-be1f9992.js} +5 -5
- package/dist/esm-es5/{index-b3a06de8.js → index-91e7729f.js} +1 -1
- package/dist/esm-es5/index.module-89a79f66.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/luxon-8d51c92b.js +1 -0
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/mixins-83f90fa1.js +1 -0
- package/dist/esm-es5/{mockRewardData-96a2d26d.js → mockRewardData-a3cdb832.js} +1 -1
- package/dist/esm-es5/raisins-plop-target.entry.js +1 -1
- package/dist/esm-es5/re-render-cc945f38.js +1 -0
- package/dist/esm-es5/sqm-asset-card-view-fe5db3c0.js +1 -0
- package/dist/esm-es5/sqm-asset-card.entry.js +1 -0
- package/dist/esm-es5/sqm-banking-info-form_17.entry.js +1 -0
- package/dist/esm-es5/{sqm-base-registration-form-view-193f1721.js → sqm-base-registration-form-view-593d4ac3.js} +1 -1
- package/dist/esm-es5/sqm-big-stat_43.entry.js +1 -1
- package/dist/esm-es5/{sqm-close-button-view-2fa57229.js → sqm-close-button-view-f9819751.js} +1 -1
- package/dist/esm-es5/sqm-close-button.entry.js +1 -1
- package/dist/esm-es5/sqm-context-router.entry.js +1 -1
- package/dist/esm-es5/sqm-email-verification.entry.js +1 -1
- package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
- package/dist/esm-es5/sqm-form-message.entry.js +1 -1
- package/dist/esm-es5/sqm-google-sign-in.entry.js +1 -1
- package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
- package/dist/esm-es5/sqm-header-logo.entry.js +1 -1
- package/dist/esm-es5/sqm-instant-access-registration.entry.js +1 -1
- package/dist/esm-es5/sqm-invoice-table-view-3491dd80.js +1 -0
- package/dist/esm-es5/sqm-lead-checkbox-field-view-a8c1c78e.js +1 -0
- package/dist/esm-es5/sqm-lead-checkbox-field.entry.js +1 -0
- package/dist/esm-es5/sqm-lead-input-field-view-4ede5d7f.js +1 -0
- package/dist/esm-es5/sqm-lead-input-field.entry.js +1 -0
- package/dist/esm-es5/sqm-leaderboard-rank-view-753c8d4a.js +1 -0
- package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
- package/dist/esm-es5/{sqm-logout-current-user-view-f21e54e3.js → sqm-logout-current-user-view-8ef8180f.js} +1 -1
- package/dist/esm-es5/sqm-logout-current-user.entry.js +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item-view-8f1c72bc.js +1 -0
- package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar-view-9d802b78.js +1 -0
- package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
- package/dist/esm-es5/sqm-pagination_3.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-176e92e3.js → sqm-portal-container-view-1683ae32.js} +1 -1
- package/dist/esm-es5/{sqm-portal-email-verification-view-98fc3374.js → sqm-portal-email-verification-view-35b4353b.js} +1 -1
- package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-forgot-password-view-3d3182f1.js +1 -0
- package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-google-login.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-google-registration-form.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-login-view-7e49609a.js +1 -0
- package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-profile-view-25b3250a.js → sqm-portal-profile-view-93003974.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-view-8bdc3804.js → sqm-portal-registration-form-view-3c1f6000.js} +1 -1
- package/dist/esm-es5/sqm-portal-registration-form.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-reset-password-view-abef7286.js → sqm-portal-reset-password-view-54a8651f.js} +1 -1
- package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-verify-email-view-33805220.js → sqm-portal-verify-email-view-b12cb894.js} +1 -1
- package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
- package/dist/esm-es5/sqm-qr-code-view-f1d0763b.js +1 -0
- package/dist/esm-es5/sqm-qr-code.entry.js +1 -1
- package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
- package/dist/esm-es5/sqm-referred-registration.entry.js +1 -0
- 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-route.entry.js +1 -1
- package/dist/esm-es5/sqm-scroll.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-ca32495e.js +1 -0
- package/dist/esm-es5/sqm-text-span.entry.js +1 -1
- package/dist/esm-es5/sqm-widget-verification-controller.entry.js +1 -1
- package/dist/esm-es5/sqm-widget-verification.entry.js +1 -1
- package/dist/esm-es5/stencil-hooks.module-4bc38af4.js +53 -0
- package/dist/esm-es5/useChildElements-7945ae56.js +1 -0
- package/dist/esm-es5/useInstantAccessRegistration-dc4ad9f2.js +1 -0
- package/dist/esm-es5/useLeadFormState-9016d812.js +1 -0
- package/dist/esm-es5/{usePayoutStatus-7eeec61b.js → usePayoutStatus-f07bcf90.js} +2 -2
- package/dist/esm-es5/usePortalLogin-ef647a50.js +1 -0
- package/dist/esm-es5/usePortalRegistrationForm-4b35a357.js +1 -0
- package/dist/esm-es5/useReferralCodes-8f75921a.js +1 -0
- package/dist/esm-es5/useReferralTable-b3876ed6.js +1 -0
- package/dist/esm-es5/useRegistrationFormState-d6f33135.js +1 -0
- package/dist/esm-es5/useVerificationEmail-edc318cb.js +1 -0
- package/dist/esm-es5/utilities-5b0ca040.js +1 -0
- package/dist/esm-es5/utils-334c1e34.js +1 -0
- package/dist/mint-components/global/styles.ts +100 -419
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/mint-components.js +1 -1
- package/dist/mint-components/p-00df0cac.js +1 -0
- package/dist/mint-components/p-00ed4c2e.entry.js +1 -0
- package/dist/mint-components/p-01dd541f.system.js +1 -0
- package/dist/mint-components/p-04a6e457.entry.js +1 -0
- package/dist/mint-components/{p-f307b716.js → p-05f29f64.js} +1 -1
- package/dist/mint-components/p-0b4cac9f.system.entry.js +1 -0
- package/dist/mint-components/p-0c78815e.system.entry.js +1 -0
- package/dist/mint-components/{p-fa6fba34.system.js → p-0c9debc1.system.js} +2 -2
- package/dist/mint-components/{p-bb12b845.system.js → p-0d182dc1.system.js} +1 -1
- package/dist/mint-components/{p-8dc1cd0f.entry.js → p-0d2d0b6d.entry.js} +1 -1
- package/dist/mint-components/p-0d939b73.system.js +1 -0
- package/dist/mint-components/p-0e864c3c.system.entry.js +1 -0
- package/dist/mint-components/p-0ebab63e.system.js +1 -0
- package/dist/mint-components/{p-e0f9a395.entry.js → p-10d17989.entry.js} +1 -1
- package/dist/mint-components/{p-a6f4fb03.system.js → p-127e66c2.system.js} +1 -1
- package/dist/mint-components/p-12bba567.entry.js +1 -0
- package/dist/mint-components/p-1354b74b.system.entry.js +1 -0
- package/dist/mint-components/{p-3dc34570.system.js → p-13ed8586.system.js} +1 -1
- package/dist/mint-components/p-141bf5c1.system.entry.js +1 -0
- package/dist/mint-components/p-14a65f29.system.js +1 -0
- package/dist/mint-components/p-1513309d.entry.js +1 -0
- package/dist/mint-components/{p-0cba75e6.system.entry.js → p-164a9103.system.entry.js} +1 -1
- package/dist/mint-components/{p-910f56ca.system.entry.js → p-18425f38.system.entry.js} +1 -1
- package/dist/mint-components/{p-fb2976fc.system.entry.js → p-19bc3406.system.entry.js} +1 -1
- package/dist/mint-components/p-19ccb4ce.js +1 -0
- package/dist/mint-components/{p-b9bccc55.entry.js → p-1a6b7d2a.entry.js} +1 -1
- package/dist/mint-components/p-1b3ab15a.system.entry.js +1 -0
- package/dist/mint-components/p-1d704c40.system.js +1 -0
- package/dist/mint-components/p-1fa9ed0d.system.entry.js +1 -0
- package/dist/mint-components/p-21620f81.system.entry.js +1 -0
- package/dist/mint-components/p-229f797b.js +1 -0
- package/dist/mint-components/p-22a4a611.entry.js +273 -0
- package/dist/mint-components/p-24db5c70.js +1 -0
- package/dist/mint-components/{p-00791abc.js → p-266a8b4d.js} +1 -1
- package/dist/mint-components/p-275b4767.entry.js +1 -0
- package/dist/mint-components/{p-0b0f49ad.entry.js → p-284e4ed5.entry.js} +1 -1
- package/dist/mint-components/{p-711bc624.entry.js → p-2ae0e06a.entry.js} +1 -1
- package/dist/mint-components/p-2bbff88f.entry.js +1 -0
- package/dist/mint-components/{p-91014439.system.js → p-2d52e2d7.system.js} +1 -1
- package/dist/mint-components/p-2da21ba4.entry.js +1 -0
- package/dist/mint-components/p-2dca9e1a.system.js +1 -0
- package/dist/mint-components/{p-d5f1df29.entry.js → p-2f101bae.entry.js} +1 -1
- package/dist/mint-components/{p-485e2d9f.system.entry.js → p-301ddcaa.system.entry.js} +1 -1
- package/dist/mint-components/p-31015791.js +1 -0
- package/dist/mint-components/p-33c96e14.entry.js +16 -0
- package/dist/mint-components/{p-a45680fe.js → p-35b475bf.js} +1 -1
- package/dist/mint-components/{p-0d22c0e5.system.entry.js → p-36ffebd8.system.entry.js} +1 -1
- package/dist/mint-components/p-37996351.system.js +1 -0
- package/dist/mint-components/p-380bfde1.entry.js +1 -0
- package/dist/mint-components/p-38e5c429.system.js +1 -0
- package/dist/mint-components/p-38fc919b.entry.js +1 -0
- package/dist/mint-components/p-3a62a7e2.system.js +1 -0
- package/dist/mint-components/p-3b90e01b.system.js +1 -0
- package/dist/mint-components/p-3db34d68.js +1 -0
- package/dist/mint-components/p-3f6e0197.system.entry.js +1 -0
- package/dist/mint-components/{p-862845d7.js → p-3f7b81b8.js} +2 -2
- package/dist/mint-components/p-420554af.system.entry.js +1 -0
- package/dist/mint-components/p-42187319.system.entry.js +1 -0
- package/dist/mint-components/p-43b4bb99.entry.js +1 -0
- package/dist/mint-components/p-4428294b.entry.js +1 -0
- package/dist/mint-components/{p-c3884e55.entry.js → p-44891949.entry.js} +1 -1
- package/dist/mint-components/p-4794641c.system.js +1 -0
- package/dist/mint-components/p-47bd2d7a.entry.js +205 -0
- package/dist/mint-components/p-48135f99.system.js +53 -0
- package/dist/mint-components/p-48c69c2d.entry.js +1 -0
- package/dist/mint-components/p-492b70db.system.js +1 -0
- package/dist/mint-components/p-49932f12.system.js +1 -0
- package/dist/mint-components/{p-4204a6e3.entry.js → p-4b6dc0e5.entry.js} +1 -1
- package/dist/mint-components/{p-fb5be0c5.js → p-4e451f75.js} +1 -1
- package/dist/mint-components/{p-5ed49bf2.js → p-4e526a94.js} +1 -1
- package/dist/mint-components/p-4e5af50c.js +1 -0
- package/dist/mint-components/{p-3d05ebb1.system.entry.js → p-50c902ca.system.entry.js} +1 -1
- package/dist/mint-components/{p-82505f6e.system.js → p-527216de.system.js} +1 -1
- package/dist/mint-components/{p-bb627d95.entry.js → p-53730ffe.entry.js} +3 -3
- package/dist/mint-components/{p-9fb8b33a.system.js → p-5488fdd9.system.js} +1 -1
- package/dist/mint-components/{p-578a27c8.system.js → p-59274a91.system.js} +1 -1
- package/dist/mint-components/{p-08700497.js → p-5bedb58c.js} +1 -1
- package/dist/mint-components/{p-ebb487d0.system.entry.js → p-5c28406d.system.entry.js} +1 -1
- package/dist/mint-components/p-5cb7f9fc.system.entry.js +1 -0
- package/dist/mint-components/p-6055eb4c.system.js +1 -0
- package/dist/mint-components/p-626e9e84.js +1 -0
- package/dist/mint-components/p-6333265f.system.js +1 -0
- package/dist/mint-components/p-635d5ef2.system.js +1 -0
- package/dist/mint-components/{p-750e7b01.js → p-63a75798.js} +1 -1
- package/dist/mint-components/p-6427e963.entry.js +1 -0
- package/dist/mint-components/p-65069b66.js +1248 -0
- package/dist/mint-components/p-653f963f.entry.js +13 -0
- package/dist/mint-components/p-65ba9e94.entry.js +1 -0
- package/dist/mint-components/{p-42b62299.system.entry.js → p-6a8d9def.system.entry.js} +1 -1
- package/dist/mint-components/p-6b7a595f.system.js +1 -0
- package/dist/mint-components/p-6ba44ca9.js +1 -0
- package/dist/mint-components/{p-0e59a91e.js → p-6bb25c02.js} +3 -3
- package/dist/mint-components/p-6cd4f2b1.system.js +1 -0
- package/dist/mint-components/{p-4d19270b.js → p-6d2f5a1d.js} +2 -2
- package/dist/mint-components/{p-7159c51c.system.js → p-6d9e52c7.system.js} +1 -1
- package/dist/mint-components/p-6eaf9c57.entry.js +1 -0
- package/dist/mint-components/p-6f65f9e1.system.entry.js +1 -0
- package/dist/mint-components/p-775f3ded.entry.js +1 -0
- package/dist/mint-components/{p-3285a6b3.system.entry.js → p-776733b5.system.entry.js} +1 -1
- package/dist/mint-components/p-7846937e.entry.js +13 -0
- package/dist/mint-components/{p-3eba9036.js → p-7a9290ba.js} +1 -1
- package/dist/mint-components/p-7ab21e4d.entry.js +1 -0
- package/dist/mint-components/{p-15012f59.system.js → p-7c2b9fe4.system.js} +1 -1
- package/dist/mint-components/{p-eea87fdc.system.entry.js → p-7dabdca6.system.entry.js} +1 -1
- package/dist/mint-components/{p-94f9fbf7.entry.js → p-7f80a9d7.entry.js} +1 -1
- package/dist/mint-components/{p-a148663a.system.js → p-8175e85f.system.js} +1 -1
- package/dist/mint-components/{p-ac2fdad8.system.entry.js → p-8362cb4c.system.entry.js} +1 -1
- package/dist/mint-components/p-837a0fdd.js +1 -0
- package/dist/mint-components/p-85671c3d.system.entry.js +1 -0
- package/dist/mint-components/p-8abfeff8.entry.js +1 -0
- package/dist/mint-components/p-8c0b7881.system.entry.js +1 -0
- package/dist/mint-components/p-8c23d1b8.js +1 -0
- package/dist/mint-components/p-8d9d04b7.system.entry.js +1 -0
- package/dist/mint-components/{p-258f4e5e.system.entry.js → p-90fc6774.system.entry.js} +1 -1
- package/dist/mint-components/p-91521e9d.js +1 -0
- package/dist/mint-components/{p-ddf3c05e.js → p-91959fbe.js} +1 -1
- package/dist/mint-components/{p-68043f30.js → p-91ab3da1.js} +1 -1
- package/dist/mint-components/p-92816d1f.js +1 -0
- package/dist/mint-components/{p-da6fe95f.system.entry.js → p-9386ad84.system.entry.js} +1 -1
- package/dist/mint-components/{p-460155de.js → p-938f64d9.js} +1 -1
- package/dist/mint-components/p-94a876b9.js +1 -0
- package/dist/mint-components/p-95b88eb6.system.js +1 -0
- package/dist/mint-components/{p-c3dce602.system.entry.js → p-96431b4f.system.entry.js} +1 -1
- package/dist/mint-components/p-97d4d651.system.js +1 -0
- package/dist/mint-components/p-98698131.js +1 -0
- package/dist/mint-components/{p-64997b59.system.js → p-99ad7d56.system.js} +1 -1
- package/dist/mint-components/p-9acb5038.js +1 -0
- package/dist/mint-components/{p-002e6205.system.entry.js → p-9b6a0152.system.entry.js} +1 -1
- package/dist/mint-components/{p-b3da317b.system.entry.js → p-9bfd9bed.system.entry.js} +1 -1
- package/dist/mint-components/p-9cf80e85.system.entry.js +1 -0
- package/dist/mint-components/{p-6951663b.js → p-9ec99ced.js} +1 -1
- package/dist/mint-components/{p-22c11f0e.entry.js → p-a2fde301.entry.js} +1 -1
- package/dist/mint-components/{p-d399162b.system.js → p-a71b9154.system.js} +1 -1
- package/dist/mint-components/{p-9580aac3.js → p-a9f4ddb1.js} +1 -1
- package/dist/mint-components/p-aad32fb6.system.js +1 -0
- package/dist/mint-components/{p-8e28333b.system.js → p-ae1ea5ac.system.js} +1 -1
- package/dist/mint-components/p-b207beeb.entry.js +1 -0
- package/dist/mint-components/{p-e55f3eb6.system.entry.js → p-b287833c.system.entry.js} +1 -1
- package/dist/mint-components/{p-6578ea31.system.js → p-b75bb6e3.system.js} +1 -1
- package/dist/mint-components/{p-7059ee40.system.entry.js → p-b7d1469d.system.entry.js} +1 -1
- package/dist/mint-components/p-b82e1935.system.entry.js +1 -0
- package/dist/mint-components/{p-6ef73224.js → p-bbcd824a.js} +1 -1
- package/dist/mint-components/{p-f1f20fdf.system.js → p-bdb7d451.system.js} +22 -22
- package/dist/mint-components/p-bfc7cfc0.system.js +1 -0
- package/dist/mint-components/p-c060f770.system.entry.js +1 -0
- package/dist/mint-components/{p-3787a4d6.js → p-c0f19490.js} +1 -1
- package/dist/mint-components/p-c1b074b6.js +394 -0
- package/dist/mint-components/{p-dbe29e53.system.entry.js → p-c2fdd608.system.entry.js} +1 -1
- package/dist/mint-components/p-c36506f6.system.entry.js +1 -0
- package/dist/mint-components/p-c46a0007.entry.js +9 -0
- package/dist/mint-components/p-c9f1dde7.js +1 -0
- package/dist/mint-components/p-cb7bdbe4.entry.js +1 -0
- package/dist/mint-components/p-cbbfac66.entry.js +25 -0
- package/dist/mint-components/p-cd1d497f.system.js +1 -0
- package/dist/mint-components/{p-a392912a.system.js → p-cd569259.system.js} +1 -1
- package/dist/mint-components/p-cd651f81.js +42 -0
- package/dist/mint-components/{p-9aadc253.entry.js → p-d07f3090.entry.js} +1 -1
- package/dist/mint-components/{p-b22b7891.js → p-d6831af5.js} +1 -1
- package/dist/mint-components/{p-e27ff213.entry.js → p-da7708a7.entry.js} +1 -1
- package/dist/mint-components/{p-1c1f4ce7.system.js → p-dbc0e4f8.system.js} +1 -1
- package/dist/mint-components/p-dbcb5359.js +1 -0
- package/dist/mint-components/p-dcc81e90.entry.js +1 -0
- package/dist/mint-components/p-e07bc6c4.system.js +1 -0
- package/dist/mint-components/p-e5a5ae7f.system.entry.js +1 -0
- package/dist/mint-components/{p-b6911812.system.js → p-e5d0375e.system.js} +1 -1
- package/dist/mint-components/p-e6f50ffd.entry.js +1 -0
- package/dist/mint-components/p-e8e48982.js +1 -0
- package/dist/mint-components/{p-5e0af707.entry.js → p-e8ffcc68.entry.js} +2 -2
- package/dist/mint-components/p-ef75f3a9.system.entry.js +1 -0
- package/dist/mint-components/p-eff2e68b.entry.js +144 -0
- package/dist/mint-components/{p-a2533860.system.entry.js → p-f0772618.system.entry.js} +1 -1
- package/dist/mint-components/p-f26aedcd.system.js +1 -0
- package/dist/mint-components/p-f2d8d3d3.system.entry.js +1 -0
- package/dist/mint-components/{p-4271f436.system.entry.js → p-f4a72903.system.entry.js} +1 -1
- package/dist/mint-components/{p-22d20816.system.entry.js → p-f4a8ee29.system.entry.js} +1 -1
- package/dist/mint-components/p-f56bedd5.js +1 -0
- package/dist/mint-components/p-f708da7b.js +1 -0
- package/dist/mint-components/p-f7c99803.system.js +1 -0
- package/dist/mint-components/{p-07dc6d68.js → p-f940190a.js} +1 -1
- package/dist/mint-components/p-f98a4354.js +1 -0
- package/dist/mint-components/{p-7af4fba0.system.entry.js → p-fa37513e.system.entry.js} +1 -1
- package/dist/mint-components/{p-a7ee19dc.entry.js → p-faba3198.entry.js} +1 -1
- package/dist/mint-components/p-ff8b8067.entry.js +33 -0
- package/dist/types/components/sqm-asset-card/AssetCard.stories.d.ts +7 -0
- package/dist/types/components/sqm-asset-card/sqm-asset-card-view.d.ts +8 -0
- package/dist/types/components/sqm-asset-card/sqm-asset-card.d.ts +24 -0
- package/dist/types/components/sqm-asset-card/useAssetCard.d.ts +7 -0
- package/dist/types/components/sqm-big-stat/BigStat.stories.d.ts +0 -2
- package/dist/types/components/sqm-big-stat/sqm-big-stat-view.d.ts +0 -5
- package/dist/types/components/sqm-big-stat/sqm-big-stat.d.ts +1 -47
- package/dist/types/components/sqm-card-feed/sqm-card-feed.d.ts +0 -2
- package/dist/types/components/sqm-coupon-code/CouponCode.stories.d.ts +0 -1
- package/dist/types/components/sqm-coupon-code/sqm-coupon-code-view.d.ts +0 -2
- package/dist/types/components/sqm-coupon-code/sqm-coupon-code.d.ts +16 -43
- package/dist/types/components/sqm-coupon-code/useCouponCode.d.ts +3 -2
- package/dist/types/components/sqm-divided-layout/sqm-divided-layout-view.d.ts +1 -4
- package/dist/types/components/sqm-divided-layout/sqm-divided-layout.d.ts +0 -15
- package/dist/types/components/sqm-form-message/FormMessage.stories.d.ts +1 -0
- package/dist/types/components/sqm-header-logo/sqm-header-logo.d.ts +0 -1
- package/dist/types/components/sqm-hero/Hero.stories.d.ts +0 -1
- package/dist/types/components/sqm-hero/sqm-hero-view.d.ts +0 -1
- package/dist/types/components/sqm-hero/sqm-hero.d.ts +1 -6
- package/dist/types/components/sqm-hero-image/sqm-hero-image-view.d.ts +0 -1
- package/dist/types/components/sqm-hero-image/sqm-hero-image.d.ts +0 -20
- package/dist/types/components/sqm-image/sqm-image.d.ts +0 -1
- package/dist/types/components/sqm-instant-access-registration/sqm-instant-access-registration.d.ts +1 -2
- package/dist/types/components/sqm-invoice-table/columns/InvoiceTableColumn.d.ts +0 -1
- package/dist/types/components/sqm-invoice-table/columns/sqm-invoice-table-data-column.d.ts +0 -1
- package/dist/types/components/sqm-invoice-table/columns/sqm-invoice-table-date-column.d.ts +0 -1
- package/dist/types/components/sqm-invoice-table/columns/sqm-invoice-table-download-column.d.ts +0 -1
- package/dist/types/components/sqm-invoice-table/mockInvoiceData.d.ts +0 -1
- package/dist/types/components/sqm-invoice-table/sqm-invoice-table.d.ts +0 -3
- package/dist/types/components/sqm-lead-form/LeadCheckboxField.stories.d.ts +28 -0
- package/dist/types/components/sqm-lead-form/LeadForm.stories.d.ts +10 -0
- package/dist/types/components/sqm-lead-form/LeadFormDropdownField.stories.d.ts +10 -0
- package/dist/types/components/sqm-lead-form/LeadInputField.stories.d.ts +8 -0
- package/dist/types/components/sqm-lead-form/sqm-lead-checkbox-field-view.d.ts +15 -0
- package/dist/types/components/sqm-lead-form/sqm-lead-checkbox-field.d.ts +46 -0
- package/dist/types/components/sqm-lead-form/sqm-lead-dropdown-field-view.d.ts +17 -0
- package/dist/types/components/sqm-lead-form/sqm-lead-dropdown-field.d.ts +49 -0
- package/dist/types/components/sqm-lead-form/sqm-lead-form-view.d.ts +36 -0
- package/dist/types/components/sqm-lead-form/sqm-lead-form.d.ts +93 -0
- package/dist/types/components/sqm-lead-form/sqm-lead-input-field-view.d.ts +15 -0
- package/dist/types/components/sqm-lead-form/sqm-lead-input-field.d.ts +51 -0
- package/dist/types/components/sqm-lead-form/useCheckboxField.d.ts +6 -0
- package/dist/types/components/sqm-lead-form/useLeadDropdownField.d.ts +6 -0
- package/dist/types/components/sqm-lead-form/useLeadForm.d.ts +28 -0
- package/dist/types/components/sqm-lead-form/useLeadFormState.d.ts +19 -0
- package/dist/types/components/sqm-lead-form/useLeadInputField.d.ts +6 -0
- package/dist/types/components/sqm-leaderboard/Leaderboard.stories.d.ts +0 -1
- package/dist/types/components/sqm-leaderboard/sqm-leaderboard-view.d.ts +0 -6
- package/dist/types/components/sqm-leaderboard/sqm-leaderboard.d.ts +11 -53
- package/dist/types/components/sqm-leaderboard/useLeaderboard.d.ts +0 -6
- package/dist/types/components/sqm-link-button/sqm-link-button.d.ts +0 -1
- package/dist/types/components/sqm-logout-current-user/sqm-logout-current-user.d.ts +0 -1
- package/dist/types/components/sqm-navigation-menu/sqm-navigation-menu.d.ts +0 -1
- package/dist/types/components/sqm-navigation-sidebar/sqm-navigation-sidebar-view.d.ts +0 -1
- package/dist/types/components/sqm-navigation-sidebar/sqm-navigation-sidebar.d.ts +0 -16
- package/dist/types/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item-view.d.ts +0 -8
- package/dist/types/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item.d.ts +0 -57
- package/dist/types/components/sqm-pagination/sqm-pagination-view.d.ts +0 -1
- package/dist/types/components/sqm-pagination/sqm-pagination.d.ts +2 -9
- package/dist/types/components/sqm-popup-container/usePopupContainer.d.ts +2 -2
- package/dist/types/components/sqm-portal-change-password/sqm-portal-change-password-view.d.ts +0 -2
- package/dist/types/components/sqm-portal-change-password/sqm-portal-change-password.d.ts +0 -1
- package/dist/types/components/sqm-portal-footer/sqm-portal-footer.d.ts +0 -1
- package/dist/types/components/sqm-portal-forgot-password/sqm-portal-forgot-password-view.d.ts +1 -5
- package/dist/types/components/sqm-portal-forgot-password/sqm-portal-forgot-password.d.ts +0 -15
- package/dist/types/components/sqm-portal-frame/sqm-portal-frame-view.d.ts +0 -3
- package/dist/types/components/sqm-portal-frame/sqm-portal-frame.d.ts +0 -19
- package/dist/types/components/sqm-portal-frame/usePortalFrame.d.ts +1 -2
- package/dist/types/components/sqm-portal-login/PortalLogin.stories.d.ts +0 -1
- package/dist/types/components/sqm-portal-login/sqm-portal-login.d.ts +0 -1
- package/dist/types/components/sqm-portal-logout/sqm-portal-logout.d.ts +0 -1
- package/dist/types/components/sqm-portal-profile/sqm-portal-profile.d.ts +0 -1
- package/dist/types/components/sqm-portal-protected-route/sqm-portal-protected-route.d.ts +0 -1
- package/dist/types/components/sqm-portal-register/sqm-portal-register.d.ts +1 -0
- package/dist/types/components/sqm-portal-registration-form/sqm-portal-registration-form.d.ts +1 -0
- package/dist/types/components/sqm-program-explainer/sqm-program-explainer.d.ts +0 -2
- package/dist/types/components/sqm-program-explainer-step/sqm-program-explainer-step-view.d.ts +0 -3
- package/dist/types/components/sqm-program-explainer-step/sqm-program-explainer-step.d.ts +2 -20
- package/dist/types/components/sqm-program-menu/sqm-program-menu.d.ts +0 -1
- package/dist/types/components/sqm-qr-code/sqm-qr-code.d.ts +0 -1
- package/dist/types/components/sqm-referral-card/sqm-referral-card-view.d.ts +2 -5
- package/dist/types/components/sqm-referral-card/sqm-referral-card.d.ts +2 -25
- package/dist/types/components/sqm-referral-code/ReferralCode.stories.d.ts +0 -1
- package/dist/types/components/sqm-referral-code/sqm-referral-code.d.ts +0 -43
- package/dist/types/components/sqm-referral-codes/ReferralCodes.stories.d.ts +0 -1
- package/dist/types/components/sqm-referral-codes/sqm-referral-codes-view.d.ts +0 -1
- package/dist/types/components/sqm-referral-codes/sqm-referral-codes.d.ts +0 -7
- package/dist/types/components/sqm-referral-table/cells/sqm-referral-table-rewards-cell.d.ts +0 -1
- package/dist/types/components/sqm-referral-table/cells/sqm-referral-table-status-cell.d.ts +0 -1
- package/dist/types/components/sqm-referral-table/columns/ReferralTableColumn.d.ts +0 -1
- package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-column.d.ts +0 -1
- package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-date-column.d.ts +0 -1
- package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-rewards-column.d.ts +0 -1
- package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-status-column.d.ts +0 -1
- package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-user-column.d.ts +0 -1
- package/dist/types/components/sqm-referral-table/sqm-referral-table.d.ts +0 -3
- package/dist/types/components/sqm-referred-registration/sqm-referred-registration.d.ts +1 -2
- package/dist/types/components/sqm-reward-exchange-list/RewardExchangeListData.d.ts +437 -457
- package/dist/types/components/sqm-reward-exchange-list/sqm-reward-exchange-list.d.ts +1 -10
- package/dist/types/components/sqm-reward-exchange-list/useRewardExchangeList.d.ts +0 -1
- package/dist/types/components/sqm-rewards-table/cells/sqm-rewards-table-reward-cell.d.ts +0 -1
- package/dist/types/components/sqm-rewards-table/cells/sqm-rewards-table-source-cell.d.ts +0 -1
- package/dist/types/components/sqm-rewards-table/cells/sqm-rewards-table-status-cell.d.ts +1 -2
- package/dist/types/components/sqm-rewards-table/columns/RewardTableColumn.d.ts +0 -1
- package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-date-column.d.ts +1 -2
- package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-note-column.d.ts +1 -2
- package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-reward-column.d.ts +1 -2
- package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-source-column.d.ts +1 -2
- package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-status-column.d.ts +1 -2
- package/dist/types/components/sqm-rewards-table/mockRewardData.d.ts +0 -1
- package/dist/types/components/sqm-rewards-table/mockTaxData.d.ts +0 -1
- package/dist/types/components/sqm-rewards-table/sqm-rewards-table.d.ts +0 -2
- package/dist/types/components/sqm-rewards-table/useRewardsTable.d.ts +1 -1
- package/dist/types/components/sqm-route/sqm-route.d.ts +0 -1
- package/dist/types/components/sqm-router/sqm-router.d.ts +0 -2
- package/dist/types/components/sqm-scroll/sqm-scroll.d.ts +0 -1
- package/dist/types/components/sqm-share-button/ShareButton.stories.d.ts +1 -1
- package/dist/types/components/sqm-share-button/sqm-share-button-view.d.ts +1 -2
- package/dist/types/components/sqm-share-button/sqm-share-button.d.ts +6 -19
- package/dist/types/components/sqm-share-code/sqm-share-code.d.ts +0 -43
- package/dist/types/components/sqm-share-link/ShareLink.stories.d.ts +0 -1
- package/dist/types/components/sqm-share-link/sqm-share-link.d.ts +1 -44
- package/dist/types/components/sqm-stat-container/sqm-stat-container-view.d.ts +0 -3
- package/dist/types/components/sqm-stat-container/sqm-stat-container.d.ts +0 -25
- package/dist/types/components/sqm-stencilbook/Themes.d.ts +6 -6
- package/dist/types/components/sqm-tabs/Tabs.stories.d.ts +0 -1
- package/dist/types/components/sqm-tabs/sqm-tabs-view.d.ts +0 -1
- package/dist/types/components/sqm-tabs/sqm-tabs.d.ts +0 -10
- package/dist/types/components/sqm-task-card/DetailsView.d.ts +0 -6
- package/dist/types/components/sqm-task-card/sqm-task-card-view.d.ts +0 -5
- package/dist/types/components/sqm-task-card/sqm-task-card.d.ts +4 -33
- package/dist/types/components/sqm-task-card/useTaskCard.d.ts +0 -9
- package/dist/types/components/sqm-text/sqm-text.d.ts +0 -13
- package/dist/types/components/sqm-text-span/sqm-text-span-view.d.ts +2 -4
- package/dist/types/components/sqm-text-span/sqm-text-span.d.ts +1 -14
- package/dist/types/components/sqm-timeline/Timeline.stories.d.ts +0 -1
- package/dist/types/components/sqm-timeline/sqm-timeline-entry-view.d.ts +0 -2
- package/dist/types/components/sqm-timeline/sqm-timeline-entry.d.ts +0 -14
- package/dist/types/components/sqm-timeline/sqm-timeline.d.ts +1 -3
- package/dist/types/components/sqm-titled-section/sqm-titled-section.d.ts +0 -2
- package/dist/types/components/sqm-widget-verification/sqm-widget-verification-controller.d.ts +2 -5
- package/dist/types/components/sqm-widget-verification/sqm-widget-verification.d.ts +2 -6
- package/dist/types/components/tax-and-cash/TaxForm.stories.d.ts +2 -0
- package/dist/types/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form-view.d.ts +1 -1
- package/dist/types/components/tax-and-cash/sqm-docusign-form/useDocusignForm.d.ts +2 -2
- package/dist/types/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card.d.ts +0 -4
- package/dist/types/components/tax-and-cash/sqm-payout-status-alert/PayoutStatusAlert.stories.d.ts +1 -0
- package/dist/types/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.d.ts +4 -0
- package/dist/types/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.d.ts +16 -1
- package/dist/types/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.d.ts +2 -2
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.d.ts +38 -9
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash/useTaxAndCash.d.ts +1 -1
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.d.ts +6 -2
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.d.ts +24 -12
- package/dist/types/components/tax-and-cash/sqm-user-info-form/small-views/IndirectTaxDetailsView.d.ts +1 -1
- package/dist/types/components/tax-and-cash/sqm-user-info-form/useUserInfoForm.d.ts +1 -1
- package/dist/types/components/tax-and-cash/utils.d.ts +1 -1
- package/dist/types/components/views/copy-text-view.d.ts +0 -5
- package/dist/types/components.d.ts +651 -1221
- package/dist/types/global/global.d.ts +2 -2
- package/dist/types/global/mixins.d.ts +12 -12
- package/dist/types/global/styles.d.ts +2 -10
- package/dist/types/saasquatch.d.ts +7 -143
- package/dist/types/utils/utils.d.ts +0 -1
- package/docs/docs.docx +0 -0
- package/docs/raisins.json +1 -1
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +2 -3
- package/dist/cjs/IndirectTaxDetailsView-282c1fda.js +0 -646
- package/dist/cjs/copy-text-view-97ae8a48.js +0 -127
- package/dist/cjs/data-d4339c2e.js +0 -137
- package/dist/cjs/parseStates-d1effc19.js +0 -16
- package/dist/cjs/sqm-code-verification.cjs.entry.js +0 -352
- package/dist/cjs/sqm-invoice-table-data-cell_5.cjs.entry.js +0 -84
- package/dist/cjs/sqm-leaderboard-rank-view-6a1e63de.js +0 -10
- package/dist/cjs/sqm-navigation-sidebar-item-view-ec7a5c53.js +0 -56
- package/dist/cjs/sqm-tax-and-cash.cjs.entry.js +0 -1254
- package/dist/cjs/sqm-text-span-view-7a61ae4c.js +0 -63
- package/dist/cjs/utils-aacb4233.js +0 -105
- package/dist/collection/components/sqm-stencilbook/BrandSelector.js +0 -198
- package/dist/collection/components/sqm-text/Text.stories.js +0 -12
- package/dist/collection/insertfont.js +0 -18
- package/dist/collection/utils/parseStates.js +0 -12
- package/dist/esm/IndirectTaxDetailsView-5e60d91f.js +0 -639
- package/dist/esm/copy-text-view-ab2fda20.js +0 -125
- package/dist/esm/data-ee3ae298.js +0 -121
- package/dist/esm/parseStates-ed75e224.js +0 -14
- package/dist/esm/sqm-code-verification.entry.js +0 -348
- package/dist/esm/sqm-invoice-table-data-cell_5.entry.js +0 -76
- package/dist/esm/sqm-leaderboard-rank-view-18baae5b.js +0 -8
- package/dist/esm/sqm-navigation-sidebar-item-view-797601b0.js +0 -54
- package/dist/esm/sqm-tax-and-cash.entry.js +0 -1250
- package/dist/esm/sqm-text-span-view-4c17b8c9.js +0 -61
- package/dist/esm/utils-e1cdc479.js +0 -97
- package/dist/esm-es5/GenericTableView-e43d310f.js +0 -1
- package/dist/esm-es5/IndirectTaxDetailsView-5e60d91f.js +0 -1
- package/dist/esm-es5/ShadowViewAddon-cf7c03a0.js +0 -1
- package/dist/esm-es5/copy-text-view-ab2fda20.js +0 -1
- package/dist/esm-es5/data-ee3ae298.js +0 -1
- package/dist/esm-es5/dom-context-hooks.module-63370afd.js +0 -53
- package/dist/esm-es5/email-registration-view-1f587f8b.js +0 -1
- package/dist/esm-es5/index.module-38dad6c9.js +0 -1
- package/dist/esm-es5/luxon-bbf75a9d.js +0 -1
- package/dist/esm-es5/mixins-f750863a.js +0 -1
- package/dist/esm-es5/parseStates-ed75e224.js +0 -1
- package/dist/esm-es5/re-render-9c90767d.js +0 -1
- package/dist/esm-es5/sqm-banking-info-form_10.entry.js +0 -1
- package/dist/esm-es5/sqm-code-verification.entry.js +0 -1
- package/dist/esm-es5/sqm-invoice-table-data-cell_5.entry.js +0 -1
- package/dist/esm-es5/sqm-leaderboard-rank-view-18baae5b.js +0 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item-view-797601b0.js +0 -1
- package/dist/esm-es5/sqm-navigation-sidebar-view-0a2ec560.js +0 -1
- package/dist/esm-es5/sqm-portal-forgot-password-view-0e795cdd.js +0 -1
- package/dist/esm-es5/sqm-portal-login-view-7670cd86.js +0 -1
- package/dist/esm-es5/sqm-qr-code-view-97124a66.js +0 -1
- package/dist/esm-es5/sqm-tax-and-cash.entry.js +0 -1
- package/dist/esm-es5/sqm-text-span-view-4c17b8c9.js +0 -1
- package/dist/esm-es5/useChildElements-4e70ac0e.js +0 -1
- package/dist/esm-es5/useInstantAccessRegistration-0f04459e.js +0 -1
- package/dist/esm-es5/usePortalLogin-d0720c81.js +0 -1
- package/dist/esm-es5/usePortalRegistrationForm-afc0171e.js +0 -1
- package/dist/esm-es5/useReferralCodes-311e6d72.js +0 -1
- package/dist/esm-es5/useReferralTable-65a01a6a.js +0 -1
- package/dist/esm-es5/useRegistrationFormState-18c2cea7.js +0 -1
- package/dist/esm-es5/useVerificationEmail-f9413de9.js +0 -1
- package/dist/esm-es5/utilities-ad9c2893.js +0 -1
- package/dist/esm-es5/utils-03188de2.js +0 -1
- package/dist/esm-es5/utils-e1cdc479.js +0 -1
- package/dist/mint-components/p-000c91b1.js +0 -1
- package/dist/mint-components/p-0935f9b7.system.js +0 -1
- package/dist/mint-components/p-0bb21f5b.system.entry.js +0 -1
- package/dist/mint-components/p-0e532b53.entry.js +0 -1
- package/dist/mint-components/p-0ea61502.system.js +0 -1
- package/dist/mint-components/p-100c878b.system.entry.js +0 -1
- package/dist/mint-components/p-11500698.entry.js +0 -25
- package/dist/mint-components/p-115dfc03.system.js +0 -1
- package/dist/mint-components/p-1337f47c.entry.js +0 -1
- package/dist/mint-components/p-1363c4ab.system.js +0 -1
- package/dist/mint-components/p-13f3a647.js +0 -1
- package/dist/mint-components/p-14128c84.system.entry.js +0 -1
- package/dist/mint-components/p-14959d73.system.entry.js +0 -1
- package/dist/mint-components/p-15bfd7e2.system.js +0 -1
- package/dist/mint-components/p-1a278658.entry.js +0 -1
- package/dist/mint-components/p-1c727332.entry.js +0 -1
- package/dist/mint-components/p-1cd0e1e9.system.js +0 -1
- package/dist/mint-components/p-1ee5070b.system.entry.js +0 -1
- package/dist/mint-components/p-204861a6.js +0 -1
- package/dist/mint-components/p-209ea185.js +0 -1
- package/dist/mint-components/p-21e3cac4.js +0 -1
- package/dist/mint-components/p-2403c6e1.system.js +0 -1
- package/dist/mint-components/p-240bec23.js +0 -1
- package/dist/mint-components/p-274ea2c4.entry.js +0 -9
- package/dist/mint-components/p-2f2bff39.entry.js +0 -1
- package/dist/mint-components/p-3836d1e2.entry.js +0 -1
- package/dist/mint-components/p-38a03a10.system.js +0 -1
- package/dist/mint-components/p-3cb249c3.js +0 -1
- package/dist/mint-components/p-3d1b91a1.system.entry.js +0 -1
- package/dist/mint-components/p-3d99fa43.entry.js +0 -1
- package/dist/mint-components/p-3ea3f5e3.system.entry.js +0 -1
- package/dist/mint-components/p-40c01a5a.system.js +0 -1
- package/dist/mint-components/p-42da8239.system.js +0 -1
- package/dist/mint-components/p-49b20dae.js +0 -1
- package/dist/mint-components/p-4f5329a2.system.js +0 -53
- package/dist/mint-components/p-51b8979d.js +0 -448
- package/dist/mint-components/p-57970440.js +0 -1233
- package/dist/mint-components/p-587115cb.system.entry.js +0 -1
- package/dist/mint-components/p-59b028db.system.js +0 -1
- package/dist/mint-components/p-5aca73f7.entry.js +0 -13
- package/dist/mint-components/p-5ff2da11.js +0 -1
- package/dist/mint-components/p-63e29387.js +0 -42
- package/dist/mint-components/p-66c14cb2.system.entry.js +0 -1
- package/dist/mint-components/p-672d144e.entry.js +0 -1
- package/dist/mint-components/p-67ad2252.system.js +0 -1
- package/dist/mint-components/p-6906ef5d.system.entry.js +0 -1
- package/dist/mint-components/p-692bacf3.js +0 -1
- package/dist/mint-components/p-6ad674c2.js +0 -103
- package/dist/mint-components/p-6b076bae.system.entry.js +0 -1
- package/dist/mint-components/p-6d290019.js +0 -1
- package/dist/mint-components/p-6e069052.entry.js +0 -1
- package/dist/mint-components/p-71271fbd.system.js +0 -1
- package/dist/mint-components/p-75584f9e.entry.js +0 -11
- package/dist/mint-components/p-77d2244b.system.js +0 -1
- package/dist/mint-components/p-7970e73a.js +0 -1
- package/dist/mint-components/p-797fd8d9.system.js +0 -1
- package/dist/mint-components/p-7b8d29bb.entry.js +0 -1
- package/dist/mint-components/p-7c17e06f.system.entry.js +0 -1
- package/dist/mint-components/p-7e13424d.system.js +0 -1
- package/dist/mint-components/p-88b63a7c.entry.js +0 -93
- package/dist/mint-components/p-8a6494c7.system.js +0 -1
- package/dist/mint-components/p-8caef004.js +0 -1
- package/dist/mint-components/p-8e2bead4.js +0 -1
- package/dist/mint-components/p-901cb538.system.entry.js +0 -1
- package/dist/mint-components/p-9049b387.entry.js +0 -1
- package/dist/mint-components/p-916100a9.js +0 -1
- package/dist/mint-components/p-926f17f9.system.js +0 -1
- package/dist/mint-components/p-9374b5bb.system.entry.js +0 -1
- package/dist/mint-components/p-9e297104.entry.js +0 -1
- package/dist/mint-components/p-9f3e7e48.entry.js +0 -13
- package/dist/mint-components/p-9f82e69d.entry.js +0 -1
- package/dist/mint-components/p-a5c9ce6c.entry.js +0 -1
- package/dist/mint-components/p-abd33116.system.entry.js +0 -1
- package/dist/mint-components/p-b065215a.entry.js +0 -1
- package/dist/mint-components/p-b1a2a83b.entry.js +0 -144
- package/dist/mint-components/p-ba4a5fed.entry.js +0 -258
- package/dist/mint-components/p-bab57520.system.entry.js +0 -1
- package/dist/mint-components/p-bad50dc1.entry.js +0 -1
- package/dist/mint-components/p-be88596c.system.js +0 -1
- package/dist/mint-components/p-c0d48b64.system.entry.js +0 -1
- package/dist/mint-components/p-c4886223.entry.js +0 -1
- package/dist/mint-components/p-c726f778.system.entry.js +0 -1
- package/dist/mint-components/p-c7965639.entry.js +0 -1
- package/dist/mint-components/p-c79bb1c6.entry.js +0 -16
- package/dist/mint-components/p-c7c11325.js +0 -1
- package/dist/mint-components/p-cab1f502.js +0 -1
- package/dist/mint-components/p-d785a297.system.entry.js +0 -1
- package/dist/mint-components/p-d821418e.system.js +0 -1
- package/dist/mint-components/p-d8c5b80a.system.js +0 -1
- package/dist/mint-components/p-da3ffd4e.system.entry.js +0 -1
- package/dist/mint-components/p-e539fed3.entry.js +0 -1
- package/dist/mint-components/p-e57d61af.system.js +0 -1
- package/dist/mint-components/p-eaeddfe2.system.js +0 -1
- package/dist/mint-components/p-ecc5faba.entry.js +0 -33
- package/dist/mint-components/p-f0e0d0b9.system.entry.js +0 -1
- package/dist/mint-components/p-f0ebccea.system.entry.js +0 -1
- package/dist/mint-components/p-f1dc581f.js +0 -1
- package/dist/mint-components/p-f6baa0c9.system.js +0 -1
- package/dist/mint-components/p-f9c7248e.js +0 -1
- package/dist/mint-components/p-fb77f662.entry.js +0 -1
- package/dist/types/components/sqm-stencilbook/BrandSelector.d.ts +0 -9
- package/dist/types/components/sqm-text/Text.stories.d.ts +0 -6
- package/dist/types/global/android.d.ts +0 -7
- package/dist/types/global/demo.d.ts +0 -2
- package/dist/types/insertfont.d.ts +0 -1
- package/dist/types/stories/features.d.ts +0 -4
- package/dist/types/stories/templates.d.ts +0 -4
- package/dist/types/utils/parseStates.d.ts +0 -1
- package/shoelace/assets/icons/twitter-x.svg +0 -4
- /package/dist/collection/components/tax-and-cash/{data.js → sqm-tax-and-cash/data.js} +0 -0
- /package/dist/types/components/tax-and-cash/{data.d.ts → sqm-tax-and-cash/data.d.ts} +0 -0
|
@@ -0,0 +1,394 @@
|
|
|
1
|
+
import{h as e,c as a,d as l,F as t,g as r}from"./p-f708da7b.js";import{k as i,b as s,u as o}from"./p-cd651f81.js";import{i as n}from"./p-65069b66.js";import{d,H as c,J as u,F as p,w as v,$ as m,B as g,g as f,L as h}from"./p-94a876b9.js";import{c as b}from"./p-c1086930.js";import{l as x}from"./p-9ec99ced.js";import{c as y,j as C,a as w}from"./p-cef45012.js";import{a as q,S as R}from"./p-3f7b81b8.js";import{H as $,A as _,a as k,b as S,E}from"./p-91521e9d.js";import{C as M}from"./p-31015791.js";import{u as I}from"./p-19ccb4ce.js";import{l as T}from"./p-5bedb58c.js";import{T as V}from"./p-c9f1dde7.js";import{p as L}from"./p-8d363802.js";import{a as A,b as z}from"./p-8c23d1b8.js";import{a as H,P as B}from"./p-a9f4ddb1.js";const D={facebook:{color:"#1877f2",text:"#fff",icon:"facebook"},twitter:{color:"#000000",text:"#fff",icon:"twitter-x"},email:{color:"#666666",text:"#fff",icon:"envelope"},direct:{color:"var(--sl-color-primary-500)",text:"#fff",icon:"send"},linkedin:{color:"#0077b5",text:"#fff",icon:"linkedin"},sms:{color:"#34DA50",text:"#fff",icon:"chat"},fbmessenger:{color:"#0084ff",text:"#fff",icon:"messenger"},whatsapp:{color:"#25d366",text:"#fff",icon:"whatsapp"},linemessenger:{color:"#00B300",text:"#fff",icon:"line"},pinterest:{color:"#e60023",text:"#fff",icon:"pinterest"}},F=y({HostBlock:$,buttonStyle:{display:"flex",alignItems:"center",justifyContent:"center",lineHeight:"0"}}),P=F.toString();function j(l,t){const r=`\n\t*::part(base) {\n\tborder: none;\n\t\t\t--sl-focus-ring-color-primary: ${l.backgroundcolor?l.backgroundcolor:l.medium?D[l.medium].color:""}80!important;\n\n\tbackground: ${l.backgroundcolor?l.backgroundcolor:l.medium?D[l.medium].color:""};\n\tcolor: ${l.textcolor?l.textcolor:l.medium?D[l.medium].text:""};\n\tborder-radius: ${l.borderradius?l.borderradius+"px":""};\n\t}\n\n\t*::part(base):hover {\n\t\tborder-color: ${l.backgroundcolor?l.backgroundcolor:l.medium?D[l.medium].color:""}D1!important;\n\t}\n\n\t*::part(base):focus {\n\t\tborder-color: ${l.backgroundcolor?l.backgroundcolor:l.medium?D[l.medium].color:""}D1!important;\n\t}\n\n\t*::part(label) {\n\t\tposition: relative;\n\t\ttop: 2%;\n\t}\n\t`;return l.hide?e(a,{style:{display:"none"}}):e("div",null,e("style",{type:"text/css"},P),e("style",{type:"text/css"},r),e("sl-button",{class:F.classes.buttonStyle,target:l.openInSameTab?"_self":"_blank",loading:l.loading,disabled:l.disabled,pill:l.pill,size:l.size,type:l.type,onClick:l.isPlainLink?void 0:l.onClick,href:l.isPlainLink?l.messageLink:void 0,exportparts:`base: ${l.type}sharebutton-base`},!l.hideicon&&e("sl-icon",{slot:l.iconslot||"prefix",name:l.icon?l.icon:D[l.medium].icon,exportparts:"base: icon"}),!l.hidetext&&t))}const U=y({Leaderboard:{"& table":{width:"100%",borderCollapse:"collapse"},"& th":{textAlign:"left",padding:"var(--sl-spacing-medium)",paddingTop:"0",fontSize:"var(--sl-font-size-medium)",fontWeight:"var(--sl-font-weight-semibold)"},"& tr:not(:first-child)":{borderTop:"1px solid var(--sl-color-neutral-200)"},"& td":{fontSize:"var(--sl-font-size-medium)",fontWeight:"var(--sl-font-weight-normal)"},"& .ellipses":{textAlign:"left",padding:"0",color:"var(--sl-color-neutral-500)",paddingLeft:"25%"},"& .highlight":{background:"var(--sl-color-primary-50)"},"& td, th":{color:"var(--sl-color-gray-800)",padding:"var(--sl-spacing-medium)"},"& .User":{width:"100%"},"& .Score":{width:"auto",whiteSpace:"nowrap"},"& .Rank":{whiteSpace:"nowrap"},"& .fullWidth":{width:"100%"}}}),Z=U.toString();function W(a){var l,t,r;const{states:i,data:s,elements:o}=a,{styles:d}=i;if(i.isEssentials)return e("sqm-empty",{"empty-state-image":"https://res.cloudinary.com/saasquatch/image/upload/v1715360191/squatch-assets/Leaderboard_Not_Available.svg","empty-state-header":"Leaderboards aren’t available on your plan","empty-state-text":"Contact {supportText} to upgrade your plan and start leveraging gamification in your program.","support-text":"Support"});if(i.loading)return e("div",{class:U.classes.Leaderboard,style:{width:d.width||"100%"}},e("style",{type:"text/css"},Z,"\n :host{\n display: block;\n }\n"),e("table",null,[...Array(10)].map((()=>e("tr",null,e("td",null,e("sl-skeleton",null)))))));if(!i.hasLeaders)return o.empty;let c=!1;const u=e=>{if(!e.firstName&&!e.lastInitial)return d.anonymousUser;const{firstName:a,lastInitial:l}=e;return a&&l?`${a} ${l}`:a||l?a||l:d.anonymousUser},p=(e,a)=>{if(!e)return d.hideNames?`${d.viewingUserText}`:"-";const l=` - ${d.viewingUserText}`;return d.rankSuffix?n.formatMessage({id:"rank",defaultMessage:d.rankSuffix},{rank:e})+`${a&&d.hideNames?l:""}`:`${e} ${a&&d.hideNames?l:""}`};return e("div",{class:U.classes.Leaderboard,part:"sqm-base",style:{width:d.width||"100%"}},e("style",{type:"text/css"},Z,"\n :host{\n display: block;\n }\n"),e("table",{part:"sqm-table"},e("tr",null,d.showRank&&e("th",{class:"Rank "+(d.hideNames?"fullWidth":"")},d.rankheading),!d.hideNames&&e("th",{class:"User"},d.usersheading),e("th",{class:"Score"},d.statsheading)),null===(l=s.leaderboard)||void 0===l?void 0:l.map((a=>{var l,t;a.rowNumber===(null===(l=s.viewerRank)||void 0===l?void 0:l.rowNumber)&&(c=!0);const r=!d.hideViewer&&a.rowNumber===(null===(t=s.viewerRank)||void 0===t?void 0:t.rowNumber);return e("tr",{class:r?"highlight":""},d.showRank&&e("td",{class:"Rank"},p(a.rank,r)),!d.hideNames&&e("td",{class:"User"},u(a)),e("td",{class:"Score"},a.textValue))})),!c&&!d.hideViewer&&e("tr",null,e("td",{colSpan:100,class:"ellipses"},e("sl-icon",{name:"three-dots",style:{verticalAlign:"middle"}}))),!c&&!d.hideViewer&&e("tr",{class:"highlight"},d.showRank&&e("td",{class:"Rank"},p(null===(t=s.viewerRank)||void 0===t?void 0:t.rank,!0)),!d.hideNames&&e("td",{class:"User"},u(s.viewerRank||{})),e("td",{class:"Score"},(null===(r=s.viewerRank)||void 0===r?void 0:r.textValue)||"0"))))}function N(a){const{statvalue:l,flexReverse:t,alignment:r}=a,i=y({Container:{display:"flex",height:"inherit","justify-content":"space-between","flex-direction":t?"column-reverse":"column","align-items":"left"===r?"flex-start":"right"===r?"flex-end":"center"},Stat:{"font-size":"var(--sl-font-size-x-large)","text-align":r},Description:{"font-size":"var(--sl-font-size-small)","font-weight":"var(--sl-font-weight-normal)",color:"var(--sl-color-gray-600)","text-transform":"uppercase","text-align":r}}),s=i.toString();return e("div",{part:"stat-wrapper",class:i.classes.Container},e("style",{type:"text/css"},s),e("div",{part:"stat-value",class:i.classes.Stat},l),e("div",{part:"stat-description",class:i.classes.Description},a.labelSlot))}const O=y({HostBlock:$,Frame:{display:"flex","flex-direction":"column","box-sizing":"border-box"},FooterWrapper:{width:"100%","max-width":"100%",padding:"var(--sl-spacing-medium) var(--sl-spacing-x-large)",background:"var(--sqm-footer-background)",display:"flex","justify-content":"flex-end","align-items":"center","box-sizing":"border-box","margin-top":"auto"},HeaderWrapper:{width:"100%","max-width":"100%","box-sizing":"border-box",display:"flex","justify-content":"space-between",padding:"var(--sl-spacing-small) var(--sl-spacing-large)","align-items":"center","background-color":"var(--sqm-header-background)","@media screen and (max-width: 499px)":{"flex-direction":"row-reverse","justify-content":"flex-end",padding:"0"}}}),G=O.toString();function X(a,l){const{data:t,notFullScreen:r}=a;return e("div",{style:{minHeight:r?"100%":"100vh"},class:O.classes.Frame,part:"sqm-base"},e("style",{type:"text/css"},G),e("div",{class:O.classes.HeaderWrapper,part:"sqm-header"},t.header,e("slot",{name:"sqm-navigation-menu"})),l,e("div",{class:O.classes.FooterWrapper,part:"sqm-footer"},t.footer))}const Q=a=>{var l,t,r,i;const{states:s,callbacks:o}=a,{text:n}=s,{errors:d}=s.formState;return s.showEdit?e("div",{class:`CardWrapper ${!s.showEdit&&"ShowEdit"}`,part:"sqm-base"},e("h2",{part:"sqm-header",style:{fontSize:"var(--sl-font-size-x-large)",margin:"0px",textAlign:"center"}},n.editprofileheader),e("form",{class:"FormWrapper",onSubmit:o.onSubmit},e("div",{class:"FormSection"},s.formState.error&&e("sqm-form-message",{type:"error",exportparts:"erroralert-icon"},e("div",{part:"erroralert-text"},s.formState.error)),e("sl-input",Object.assign({exportparts:"label: input-label, base: input-base",value:s.formState.firstName,onInput:o.onChange,label:n.firstnametext,disabled:s.loading},d.firstName&&"valid"!==d.firstName.status?{class:"ErrorStyles",helpText:n.fieldEmptyText}:[],{id:"firstName",name:"firstName",error:d.firstName&&"valid"!==d.firstName.status?d.firstName.message:void 0})),e("sl-input",Object.assign({exportparts:"label: input-label, base: input-base",value:s.formState.lastName,onInput:o.onChange,label:n.lastnametext,disabled:s.loading,id:"lastName",name:"lastName"},d.lastName&&"valid"!==d.lastName.status?{class:"ErrorStyles",helpText:n.fieldEmptyText}:[],{error:d.lastName&&"valid"!==d.lastName.status?d.lastName.message:void 0}))),n.showregion&&s.formState.currentRegion&&e("sl-input",{exportparts:"label: input-label, base: input-base",disabled:!0,value:s.formState.currentRegion,label:n.currentregiontext,id:"currentRegion",name:"currentRegion"}),e("div",{class:"ButtonWrapper"},e("sl-button",{type:"primary",loading:s.loading,disabled:s.submitDisabled,onClick:e=>{o.onSubmit(e)},submit:!0,exportparts:"base: primarybutton-base"},n.updatetext),e("sl-button",{onClick:()=>{o.setShowEdit(!1)},exportparts:"base: defaultbutton-base"},n.canceltext)))):e("div",{class:`CardWrapper FormWrapper ${!s.showEdit&&"ShowEdit"}`,part:"sqm-base"},e("div",{class:"FormSection"},e("h2",{part:"sqm-header",style:{fontSize:"var(--sl-font-size-x-large)",marginBottom:"0px",textAlign:"center"}},n.editprofileheader),e("div",null,e("p",{style:{fontSize:"var(--sl-font-size-medium)"}},null===(l=s.user)||void 0===l?void 0:l.firstName," ",null===(t=s.user)||void 0===t?void 0:t.lastName),e("p",{style:{fontSize:"var(--sl-font-size-medium)"},title:null===(r=s.user)||void 0===r?void 0:r.email},null===(i=s.user)||void 0===i?void 0:i.email))),e("sl-button",{type:"primary",loading:s.loading,onClick:()=>{o.resetForm(),o.setShowEdit(!0)},exportparts:"base: primarybutton-base"},n.editprofiletext))},K=d.gql`
|
|
2
|
+
query ($programId: ID, $engagementMedium: UserEngagementMedium!) {
|
|
3
|
+
user: viewer {
|
|
4
|
+
... on User {
|
|
5
|
+
shareLink(
|
|
6
|
+
programId: $programId
|
|
7
|
+
engagementMedium: $engagementMedium
|
|
8
|
+
shareMedium: DIRECT
|
|
9
|
+
)
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
`,Y=d.gql`
|
|
14
|
+
mutation loadEvent($eventMeta: UserAnalyticsEvent!) {
|
|
15
|
+
createUserAnalyticsEvent(eventMeta: $eventMeta)
|
|
16
|
+
}
|
|
17
|
+
`;function J(e){var a,l;const{programId:t=c()}=e,r=u(),s=g(),o=p(q),{data:n}=v(K,{programId:t,engagementMedium:s},!(null==r?void 0:r.jwt)||!!e.linkOverride||void 0!==(null==o?void 0:o.shareLink)),[d]=m(Y),[f,h]=m(R),b=null!==(l=(null==o?void 0:o.shareLink)||(null===(a=null==n?void 0:n.user)||void 0===a?void 0:a.shareLink))&&void 0!==l?l:"...",[x,y]=i(!1);return{...e,onClick:async function(){o&&(await f({referralCode:o.referralCode}),o.refresh()),navigator.clipboard.writeText(b),y(!0),setTimeout((()=>y(!1)),e.tooltiplifespan),d({eventMeta:{programId:t,id:null==r?void 0:r.id,accountId:null==r?void 0:r.accountId,type:"USER_REFERRAL_PROGRAM_ENGAGEMENT_EVENT",meta:{engagementMedium:s,shareMedium:"DIRECT"}}})},open:x,copyString:b}}const ee=d.gql`
|
|
18
|
+
query (
|
|
19
|
+
$programId: ID
|
|
20
|
+
$engagementMedium: UserEngagementMedium!
|
|
21
|
+
$shareMedium: ReferralShareMedium!
|
|
22
|
+
) {
|
|
23
|
+
viewer {
|
|
24
|
+
... on User {
|
|
25
|
+
messageLink(
|
|
26
|
+
programId: $programId
|
|
27
|
+
engagementMedium: $engagementMedium
|
|
28
|
+
shareMedium: $shareMedium
|
|
29
|
+
)
|
|
30
|
+
shareLink(programId: $programId, engagementMedium: $engagementMedium)
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
`;function ae(e){var a,l,t,r;const{sharetitle:i,sharetext:s,medium:o}=e,n=e.programId?e.programId:c(),d=u(),h={engagementMedium:g(),programId:n,shareMedium:o.toUpperCase()},b=p(q),x=null==b?void 0:b[o],y=v(ee,h,!(null==d?void 0:d.jwt)||!n||void 0!==x),[C,w]=m(R),$=(null==x?void 0:x.shareLink)||(null===(l=null===(a=null==y?void 0:y.data)||void 0===a?void 0:a.viewer)||void 0===l?void 0:l.shareLink),_=f(),k="SMS"===o.toLocaleUpperCase()&&void 0===window.orientation||"DIRECT"===o.toLocaleUpperCase()&&!window.navigator.share,S=(null==x?void 0:x.messageLink)||(null===(r=null===(t=y.data)||void 0===t?void 0:t.viewer)||void 0===r?void 0:r.messageLink),E=!("FACEBOOK"===o.toLocaleUpperCase()&&"SquatchAndroid"===_.type)&&"DIRECT"!==o.toLocaleUpperCase()&&S,M=window.navigator.userAgent.toLowerCase(),I=/safari/.test(M),T=/iphone|ipod|ipad/.test(M)&&!I;return{...e,loading:y.loading&&!(null==x?void 0:x.messageLink),messageLink:S,isPlainLink:E,onClick:async function(){x&&(await C({referralCode:b.referralCode}),b.refresh()),"FACEBOOK"===o.toLocaleUpperCase()&&"SquatchAndroid"===_.type?function(e,a,l){"undefined"===a||"undefined"===e?alert(l):void 0!==SquatchAndroid.shareOnFacebook?SquatchAndroid.shareOnFacebook(e,a):function(e,a){e?window.location.href=e:alert(a)}(a,l)}($,S,e.errorText):"DIRECT"===o.toLocaleUpperCase()&&function(e,a,l,t){const r=e.sharetitle||"Share title",i=e.sharetext||"Share text";if("undefined"===a)return alert(l);window.navigator.share?window.navigator.share({title:r,text:i,url:a}).catch((e=>console.error("Error on web share",e))):alert(t)}({sharetitle:i,sharetext:s},$,e.errorText,e.unsupportedPlatformText)},openInSameTab:T,hide:k}}const le=s("sq:useBigStat"),te=(e,a,l)=>{const t=v(e,a);return(null==t?void 0:t.data)||t.loading||console.error("issue getting stat:",t),{...l(t),loading:t.loading}},re={prettyValue:"UNIT_FORMATTED",value:"NUMBER_UNFORMATTED"},ie={rewardsAssigned:{label:"Rewards Earned",query:(e,a,l,t,r="")=>te(d.gql`
|
|
35
|
+
query (
|
|
36
|
+
$programId: ID
|
|
37
|
+
$type: RewardType
|
|
38
|
+
$unit: String!
|
|
39
|
+
$locale: RSLocale
|
|
40
|
+
) {
|
|
41
|
+
fallback: formatRewardPrettyValue(
|
|
42
|
+
value: 0
|
|
43
|
+
unit: $unit
|
|
44
|
+
locale: $locale
|
|
45
|
+
formatType: UNIT_FORMATTED
|
|
46
|
+
)
|
|
47
|
+
viewer: viewer {
|
|
48
|
+
... on User {
|
|
49
|
+
rewardBalanceDetails(
|
|
50
|
+
programId: $programId
|
|
51
|
+
filter: { type_eq: $type, unit_eq: $unit }
|
|
52
|
+
locale: $locale
|
|
53
|
+
) {
|
|
54
|
+
... on CreditRewardBalance {
|
|
55
|
+
prettyAssignedCredit
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
`,{programId:r||"classic"===e?null:e,type:l,unit:t,locale:a},(e=>{var a,l,t,r,i;const s=null===(l=null===(a=e.data)||void 0===a?void 0:a.viewer)||void 0===l?void 0:l.rewardBalanceDetails,o=null===(t=e.data)||void 0===t?void 0:t.fallback;return{value:(null===(r=null==s?void 0:s[0])||void 0===r?void 0:r.prettyAssignedCredit)||0,statvalue:(null===(i=null==s?void 0:s[0])||void 0===i?void 0:i.prettyAssignedCredit)||o}}))},rewardsPending:{label:"Rewards Pending",query:(e,a,l,t,r="")=>te(d.gql`
|
|
62
|
+
query (
|
|
63
|
+
$programId: ID
|
|
64
|
+
$type: RewardType
|
|
65
|
+
$unit: String!
|
|
66
|
+
$locale: RSLocale
|
|
67
|
+
) {
|
|
68
|
+
fallback: formatRewardPrettyValue(
|
|
69
|
+
value: 0
|
|
70
|
+
unit: $unit
|
|
71
|
+
locale: $locale
|
|
72
|
+
formatType: UNIT_FORMATTED
|
|
73
|
+
)
|
|
74
|
+
viewer: viewer {
|
|
75
|
+
... on User {
|
|
76
|
+
rewardBalanceDetails(
|
|
77
|
+
programId: $programId
|
|
78
|
+
filter: { type_eq: $type, unit_eq: $unit }
|
|
79
|
+
locale: $locale
|
|
80
|
+
) {
|
|
81
|
+
... on CreditRewardBalance {
|
|
82
|
+
prettyPendingCredit
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
`,{programId:r||"classic"===e?null:e,type:l,unit:t,locale:a},(e=>{var a,l,t,r,i;const s=null===(l=null===(a=e.data)||void 0===a?void 0:a.viewer)||void 0===l?void 0:l.rewardBalanceDetails,o=null===(t=e.data)||void 0===t?void 0:t.fallback;return{value:(null===(r=null==s?void 0:s[0])||void 0===r?void 0:r.prettyPendingCredit)||0,statvalue:(null===(i=null==s?void 0:s[0])||void 0===i?void 0:i.prettyPendingCredit)||o}}))},rewardsRedeemed:{label:"Rewards Paid",query:(e,a,l,t,r="")=>te(d.gql`
|
|
89
|
+
query (
|
|
90
|
+
$programId: ID
|
|
91
|
+
$type: RewardType
|
|
92
|
+
$unit: String!
|
|
93
|
+
$locale: RSLocale
|
|
94
|
+
) {
|
|
95
|
+
fallback: formatRewardPrettyValue(
|
|
96
|
+
value: 0
|
|
97
|
+
unit: $unit
|
|
98
|
+
locale: $locale
|
|
99
|
+
formatType: UNIT_FORMATTED
|
|
100
|
+
)
|
|
101
|
+
viewer: viewer {
|
|
102
|
+
... on User {
|
|
103
|
+
rewardBalanceDetails(
|
|
104
|
+
programId: $programId
|
|
105
|
+
filter: { type_eq: $type, unit_eq: $unit }
|
|
106
|
+
locale: $locale
|
|
107
|
+
) {
|
|
108
|
+
... on CreditRewardBalance {
|
|
109
|
+
prettyRedeemedCredit
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
`,{programId:r||"classic"===e?null:e,type:l,unit:t,locale:a},(e=>{var a,l,t,r,i;const s=null===(l=null===(a=e.data)||void 0===a?void 0:a.viewer)||void 0===l?void 0:l.rewardBalanceDetails,o=null===(t=e.data)||void 0===t?void 0:t.fallback;return{value:(null===(r=null==s?void 0:s[0])||void 0===r?void 0:r.prettyRedeemedCredit)||0,statvalue:(null===(i=null==s?void 0:s[0])||void 0===i?void 0:i.prettyRedeemedCredit)||o}}))},rewardsRedeemedMonth:{label:"Rewards Paid - This Month",query:(e,a,l,t,r="")=>te(d.gql`
|
|
116
|
+
query ($programId: ID, $type: RewardType, $unit: String!) {
|
|
117
|
+
viewer: viewer {
|
|
118
|
+
... on User {
|
|
119
|
+
rewards(
|
|
120
|
+
limit: 1000
|
|
121
|
+
filter: {
|
|
122
|
+
programId_eq: $programId
|
|
123
|
+
type_eq: $type
|
|
124
|
+
unit_eq: $unit
|
|
125
|
+
dateRedeemed_timeframe: "this_month"
|
|
126
|
+
}
|
|
127
|
+
) {
|
|
128
|
+
data {
|
|
129
|
+
redeemedCredit
|
|
130
|
+
}
|
|
131
|
+
totalCount
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
`,{programId:r||"classic"===e?null:e,type:l,unit:t},(e=>{var l,r,i,s;const o=null===(i=null===(r=null===(l=e.data)||void 0===l?void 0:l.viewer)||void 0===r?void 0:r.rewards)||void 0===i?void 0:i.data,n=null==o?void 0:o.reduce(((e,a)=>e+a.redeemedCredit),0);if(void 0!==n){const e=v("query formatRewardPrettyValue(\n $value: Int!\n $unit: String!\n $locale: RSLocale\n ) {\n formatRewardPrettyValue(\n value: $value\n unit: $unit\n locale: $locale\n formatType: UNIT_FORMATTED\n )}",{value:n,unit:t,locale:a});return{value:n||0,statvalue:null===(s=null==e?void 0:e.data)||void 0===s?void 0:s.formatRewardPrettyValue}}return{value:0,statvalue:"..."}}))},rewardsRedeemedWeek:{label:"Rewards Paid - This Week",query:(e,a,l,t,r="")=>te(d.gql`
|
|
137
|
+
query ($programId: ID, $type: RewardType, $unit: String!) {
|
|
138
|
+
viewer: viewer {
|
|
139
|
+
... on User {
|
|
140
|
+
rewards(
|
|
141
|
+
limit: 1000
|
|
142
|
+
filter: {
|
|
143
|
+
programId_eq: $programId
|
|
144
|
+
type_eq: $type
|
|
145
|
+
unit_eq: $unit
|
|
146
|
+
dateRedeemed_timeframe: "this_week"
|
|
147
|
+
}
|
|
148
|
+
) {
|
|
149
|
+
data {
|
|
150
|
+
redeemedCredit
|
|
151
|
+
}
|
|
152
|
+
totalCount
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
`,{programId:r||"classic"===e?null:e,type:l,unit:t},(e=>{var l,r,i,s;const o=null===(i=null===(r=null===(l=e.data)||void 0===l?void 0:l.viewer)||void 0===r?void 0:r.rewards)||void 0===i?void 0:i.data,n=null==o?void 0:o.reduce(((e,a)=>e+a.redeemedCredit),0);if(void 0!==n){const e=v("query formatRewardPrettyValue(\n $value: Int!\n $unit: String!\n $locale: RSLocale\n ) {\n formatRewardPrettyValue(\n value: $value\n unit: $unit\n locale: $locale\n formatType: UNIT_FORMATTED\n )}",{value:n,unit:t,locale:a});return{value:n||0,statvalue:null===(s=null==e?void 0:e.data)||void 0===s?void 0:s.formatRewardPrettyValue}}return{value:0,statvalue:"..."}}))},rewardsAvailable:{label:"Rewards Available",query:(e,a,l,t,r="")=>te(d.gql`
|
|
158
|
+
query (
|
|
159
|
+
$programId: ID
|
|
160
|
+
$type: RewardType
|
|
161
|
+
$unit: String!
|
|
162
|
+
$locale: RSLocale
|
|
163
|
+
) {
|
|
164
|
+
fallback: formatRewardPrettyValue(
|
|
165
|
+
value: 0
|
|
166
|
+
unit: $unit
|
|
167
|
+
locale: $locale
|
|
168
|
+
formatType: UNIT_FORMATTED
|
|
169
|
+
)
|
|
170
|
+
viewer: viewer {
|
|
171
|
+
... on User {
|
|
172
|
+
rewardBalanceDetails(
|
|
173
|
+
programId: $programId
|
|
174
|
+
filter: { type_eq: $type, unit_eq: $unit }
|
|
175
|
+
locale: $locale
|
|
176
|
+
) {
|
|
177
|
+
... on CreditRewardBalance {
|
|
178
|
+
prettyAvailableValue
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
`,{programId:r||"classic"===e?null:e,type:l,unit:t,locale:a},(e=>{var a,l,t,r,i;const s=null===(l=null===(a=e.data)||void 0===a?void 0:a.viewer)||void 0===l?void 0:l.rewardBalanceDetails,o=null===(t=e.data)||void 0===t?void 0:t.fallback;return{value:(null===(r=null==s?void 0:s[0])||void 0===r?void 0:r.prettyAvailableValue)||0,statvalue:(null===(i=null==s?void 0:s[0])||void 0===i?void 0:i.prettyAvailableValue)||o}}))},referralsCount:{label:"Referrals - Count",query:(e,a,l)=>{const t={..."classic"===e?{programId_exists:!1}:{programId_eq:e},...l&&"converted"==l?{dateConverted_exists:!0}:l&&"started"==l?{dateConverted_exists:!1}:{}};return te(d.gql`
|
|
185
|
+
query ($queryFilter: ReferralFilterInput) {
|
|
186
|
+
viewer {
|
|
187
|
+
... on User {
|
|
188
|
+
referrals(filter: $queryFilter) {
|
|
189
|
+
totalCount
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
`,{queryFilter:t},(e=>{var a,l,t,r,i,s,o;return{value:(null===(t=null===(l=null===(a=e.data)||void 0===a?void 0:a.viewer)||void 0===l?void 0:l.referrals)||void 0===t?void 0:t.totalCount)||0,statvalue:null===(o=null===(s=null===(i=null===(r=e.data)||void 0===r?void 0:r.viewer)||void 0===i?void 0:i.referrals)||void 0===s?void 0:s.totalCount)||void 0===o?void 0:o.toString()}}))}},referralsMonth:{label:"Referrals - This Month",query:e=>{const a={..."classic"===e?{programId_exists:!1}:{programId_eq:e},dateReferralStarted_timeframe:"this_month"};return te(d.gql`
|
|
195
|
+
query ($filter: ReferralFilterInput) {
|
|
196
|
+
viewer {
|
|
197
|
+
... on User {
|
|
198
|
+
referrals(filter: $filter) {
|
|
199
|
+
totalCount
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
`,{filter:a},(e=>{var a,l,t,r,i,s,o;return{value:(null===(t=null===(l=null===(a=e.data)||void 0===a?void 0:a.viewer)||void 0===l?void 0:l.referrals)||void 0===t?void 0:t.totalCount)||0,statvalue:null===(o=null===(s=null===(i=null===(r=e.data)||void 0===r?void 0:r.viewer)||void 0===i?void 0:i.referrals)||void 0===s?void 0:s.totalCount)||void 0===o?void 0:o.toString()}}))}},referralsWeek:{label:"Referrals - This Week",query:e=>{const a={..."classic"===e?{programId_exists:!1}:{programId_eq:e},dateReferralStarted_timeframe:"this_week"};return te(d.gql`
|
|
205
|
+
query ($filter: ReferralFilterInput) {
|
|
206
|
+
viewer {
|
|
207
|
+
... on User {
|
|
208
|
+
referrals(filter: $filter) {
|
|
209
|
+
totalCount
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
`,{filter:a},(e=>{var a,l,t,r,i,s,o;return{value:(null===(t=null===(l=null===(a=e.data)||void 0===a?void 0:a.viewer)||void 0===l?void 0:l.referrals)||void 0===t?void 0:t.totalCount)||0,statvalue:null===(o=null===(s=null===(i=null===(r=e.data)||void 0===r?void 0:r.viewer)||void 0===i?void 0:i.referrals)||void 0===s?void 0:s.totalCount)||void 0===o?void 0:o.toString()}}))}},rewardsCount:{label:"Rewards",query:(e,a,l="")=>te(d.gql`
|
|
215
|
+
query ($programId: ID) {
|
|
216
|
+
viewer {
|
|
217
|
+
... on User {
|
|
218
|
+
rewards(filter: { programId_eq: $programId }) {
|
|
219
|
+
totalCount
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
`,{programId:l||"classic"===e?null:e},(e=>{var a,l,t,r,i,s,o;return{value:(null===(t=null===(l=null===(a=e.data)||void 0===a?void 0:a.viewer)||void 0===l?void 0:l.rewards)||void 0===t?void 0:t.totalCount)||0,statvalue:null===(o=null===(s=null===(i=null===(r=e.data)||void 0===r?void 0:r.viewer)||void 0===i?void 0:i.rewards)||void 0===s?void 0:s.totalCount)||void 0===o?void 0:o.toString()}}))},rewardsCountFiltered:{label:"Rewards",query:(e,a,l,t,r,i="")=>te(d.gql`
|
|
225
|
+
query (
|
|
226
|
+
$programId: ID
|
|
227
|
+
$unit: String
|
|
228
|
+
$type: RewardType
|
|
229
|
+
$statusFilter: RewardStatusFilterInput
|
|
230
|
+
) {
|
|
231
|
+
viewer {
|
|
232
|
+
... on User {
|
|
233
|
+
rewards(
|
|
234
|
+
filter: {
|
|
235
|
+
programId_eq: $programId
|
|
236
|
+
type_eq: $type
|
|
237
|
+
unit_eq: $unit
|
|
238
|
+
statuses_eq: $statusFilter
|
|
239
|
+
}
|
|
240
|
+
) {
|
|
241
|
+
totalCount
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
`,{programId:i||"classic"===e?null:e,unit:t,type:l,statusFilter:r?{status:r}:null},(e=>{var a,l,t,r,i,s,o;return{value:(null===(t=null===(l=null===(a=e.data)||void 0===a?void 0:a.viewer)||void 0===l?void 0:l.rewards)||void 0===t?void 0:t.totalCount)||0,statvalue:null===(o=null===(s=null===(i=null===(r=e.data)||void 0===r?void 0:r.viewer)||void 0===i?void 0:i.rewards)||void 0===s?void 0:s.totalCount)||void 0===o?void 0:o.toString()}}))},integrationRewardsCountFiltered:{label:"Rewards",query:(e,a,l,t="")=>te(d.gql`
|
|
247
|
+
query ($programId: ID, $statusFilter: RewardStatusFilterInput) {
|
|
248
|
+
viewer {
|
|
249
|
+
... on User {
|
|
250
|
+
rewards(
|
|
251
|
+
filter: {
|
|
252
|
+
programId_eq: $programId
|
|
253
|
+
type_eq: INTEGRATION
|
|
254
|
+
statuses_eq: $statusFilter
|
|
255
|
+
}
|
|
256
|
+
) {
|
|
257
|
+
totalCount
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
`,{programId:t||"classic"===e?null:e,statusFilter:l?{status:l}:null},(e=>{var a,l,t,r,i,s,o;return{value:(null===(t=null===(l=null===(a=e.data)||void 0===a?void 0:a.viewer)||void 0===l?void 0:l.rewards)||void 0===t?void 0:t.totalCount)||0,statvalue:null===(o=null===(s=null===(i=null===(r=e.data)||void 0===r?void 0:r.viewer)||void 0===i?void 0:i.rewards)||void 0===s?void 0:s.totalCount)||void 0===o?void 0:o.toString()}}))},rewardsMonth:{label:"Rewards - This Month",query:(e,a,l="")=>te(d.gql`
|
|
263
|
+
query ($programId: ID) {
|
|
264
|
+
viewer {
|
|
265
|
+
... on User {
|
|
266
|
+
rewards(
|
|
267
|
+
filter: {
|
|
268
|
+
programId_eq: $programId
|
|
269
|
+
dateGiven_timeframe: "this_month"
|
|
270
|
+
}
|
|
271
|
+
) {
|
|
272
|
+
totalCount
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
`,{programId:l||"classic"===e?null:e},(e=>{var a,l,t,r,i,s,o;return{value:(null===(t=null===(l=null===(a=e.data)||void 0===a?void 0:a.viewer)||void 0===l?void 0:l.rewards)||void 0===t?void 0:t.totalCount)||0,statvalue:null===(o=null===(s=null===(i=null===(r=e.data)||void 0===r?void 0:r.viewer)||void 0===i?void 0:i.rewards)||void 0===s?void 0:s.totalCount)||void 0===o?void 0:o.toString()}}))},rewardsWeek:{label:"Rewards - This Week",query:(e,a,l="")=>te(d.gql`
|
|
278
|
+
query ($programId: ID) {
|
|
279
|
+
viewer {
|
|
280
|
+
... on User {
|
|
281
|
+
rewards(
|
|
282
|
+
filter: {
|
|
283
|
+
programId_eq: $programId
|
|
284
|
+
dateGiven_timeframe: "this_week"
|
|
285
|
+
}
|
|
286
|
+
) {
|
|
287
|
+
totalCount
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
`,{programId:l||"classic"===e?null:e},(e=>{var a,l,t,r,i,s,o;return{value:(null===(t=null===(l=null===(a=e.data)||void 0===a?void 0:a.viewer)||void 0===l?void 0:l.rewards)||void 0===t?void 0:t.totalCount)||0,statvalue:null===(o=null===(s=null===(i=null===(r=e.data)||void 0===r?void 0:r.viewer)||void 0===i?void 0:i.rewards)||void 0===s?void 0:s.totalCount)||void 0===o?void 0:o.toString()}}))},rewardBalance:{label:"Balance - Credit Earned",query:(e,a,l,t,r="prettyValue",i="")=>{var s;return te(d.gql`
|
|
293
|
+
query (
|
|
294
|
+
$programId: ID
|
|
295
|
+
$type: RewardType!
|
|
296
|
+
$unit: String!
|
|
297
|
+
$format: RewardValueFormatType!
|
|
298
|
+
$locale: RSLocale
|
|
299
|
+
) {
|
|
300
|
+
fallback: formatRewardPrettyValue(
|
|
301
|
+
value: 0
|
|
302
|
+
unit: $unit
|
|
303
|
+
locale: $locale
|
|
304
|
+
formatType: $format
|
|
305
|
+
)
|
|
306
|
+
viewer: viewer {
|
|
307
|
+
... on User {
|
|
308
|
+
rewardBalanceDetails(
|
|
309
|
+
programId: $programId
|
|
310
|
+
filter: { type_eq: $type, unit_eq: $unit }
|
|
311
|
+
locale: $locale
|
|
312
|
+
) {
|
|
313
|
+
... on CreditRewardBalance {
|
|
314
|
+
prettyAvailableValue(formatType: $format)
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
}
|
|
320
|
+
`,{programId:i||"classic"===e?null:e,type:l,unit:t,format:null!==(s=re[r])&&void 0!==s?s:"UNIT_FORMATTED",locale:a},(e=>{var a,l,t,r,i;const s=null===(l=null===(a=e.data)||void 0===a?void 0:a.viewer)||void 0===l?void 0:l.rewardBalanceDetails,o=null===(t=e.data)||void 0===t?void 0:t.fallback;return{value:(null===(r=null==s?void 0:s[0])||void 0===r?void 0:r.prettyAvailableValue)||0,statvalue:(null===(i=null==s?void 0:s[0])||void 0===i?void 0:i.prettyAvailableValue)||o}}))}},programGoals:{label:"Program Goals",query:(e,a,l,t)=>"classic"===e?null:te(d.gql`
|
|
321
|
+
query {
|
|
322
|
+
viewer {
|
|
323
|
+
... on User {
|
|
324
|
+
programGoals {
|
|
325
|
+
goalId
|
|
326
|
+
programId
|
|
327
|
+
count
|
|
328
|
+
conversionCount
|
|
329
|
+
}
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
}
|
|
333
|
+
`,{programId:e,metricType:l,goalId:t,locale:a},(a=>{var r,i,s,o,n,d;const c=null===(s=null===(i=null===(r=a.data)||void 0===r?void 0:r.viewer)||void 0===i?void 0:i.programGoals)||void 0===s?void 0:s.filter((a=>a.goalId===t&&a.programId===e));return{value:(null===(o=null==c?void 0:c[0])||void 0===o?void 0:o[l])||0,statvalue:(null===(d=null===(n=null==c?void 0:c[0])||void 0===n?void 0:n[l])||void 0===d?void 0:d.toString())||0}}))},customFields:{label:"Custom Fields",query:(e,a,l,t)=>te(d.gql`
|
|
334
|
+
query {
|
|
335
|
+
viewer {
|
|
336
|
+
... on User {
|
|
337
|
+
customFields
|
|
338
|
+
}
|
|
339
|
+
}
|
|
340
|
+
}
|
|
341
|
+
`,{fieldName:l,goalId:t,locale:a},(e=>{var a,t,r;const i=null===(r=null===(t=null===(a=e.data)||void 0===a?void 0:a.viewer)||void 0===t?void 0:t.customFields)||void 0===r?void 0:r[l];return{value:i||0,statvalue:(null==i?void 0:i.toString())||"0"}}))},traffic:{label:"Traffic",query:()=>te(d.gql`
|
|
342
|
+
query traffic {
|
|
343
|
+
viewer: viewer {
|
|
344
|
+
... on User {
|
|
345
|
+
stats {
|
|
346
|
+
traffic
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
`,{},(e=>{var a,l,t;const r=null===(t=null===(l=null===(a=e.data)||void 0===a?void 0:a.viewer)||void 0===l?void 0:l.stats)||void 0===t?void 0:t.traffic;return{value:r||0,statvalue:r||0}}))},userStats:{label:"User Stat",query:(e,a,l)=>te(d.gql`
|
|
352
|
+
query userStat(
|
|
353
|
+
$traffic: Boolean!
|
|
354
|
+
$referrals: Boolean!
|
|
355
|
+
$conversions: Boolean!
|
|
356
|
+
$goals: Boolean!
|
|
357
|
+
$rewards: Boolean!
|
|
358
|
+
$widgetLoads: Boolean!
|
|
359
|
+
$revenue: Boolean!
|
|
360
|
+
$generatedRevenue: Boolean!
|
|
361
|
+
$referredRevenue: Boolean!
|
|
362
|
+
) {
|
|
363
|
+
viewer: viewer {
|
|
364
|
+
... on User {
|
|
365
|
+
stats {
|
|
366
|
+
traffic @include(if: $traffic)
|
|
367
|
+
referrals @include(if: $referrals)
|
|
368
|
+
conversions @include(if: $conversions)
|
|
369
|
+
goals @include(if: $goals)
|
|
370
|
+
rewards @include(if: $rewards)
|
|
371
|
+
widgetLoads @include(if: $widgetLoads)
|
|
372
|
+
revenue @include(if: $revenue)
|
|
373
|
+
generatedRevenue @include(if: $generatedRevenue)
|
|
374
|
+
referredRevenue @include(if: $referredRevenue)
|
|
375
|
+
}
|
|
376
|
+
}
|
|
377
|
+
}
|
|
378
|
+
}
|
|
379
|
+
`,{...{traffic:!1,referrals:!1,conversions:!1,goals:!1,rewards:!1,widgetLoads:!1,revenue:!1,generatedRevenue:!1,referredRevenue:!1,[l]:!0}},(e=>{var a,t,r;const i=null===(r=null===(t=null===(a=e.data)||void 0===a?void 0:a.viewer)||void 0===t?void 0:t.stats)||void 0===r?void 0:r[l];return{value:i||0,statvalue:i||0}}))},payoutBalance:{label:"Payout Balance",query:()=>te(d.gql`
|
|
380
|
+
query payoutBalance {
|
|
381
|
+
viewer: viewer {
|
|
382
|
+
... on User {
|
|
383
|
+
id
|
|
384
|
+
impactConnection {
|
|
385
|
+
publisher {
|
|
386
|
+
payoutsAccount {
|
|
387
|
+
balance
|
|
388
|
+
}
|
|
389
|
+
}
|
|
390
|
+
}
|
|
391
|
+
}
|
|
392
|
+
}
|
|
393
|
+
}
|
|
394
|
+
`,{},(e=>{var a,l,t,r;const i=null===(r=null===(t=null===(l=null===(a=e.data)||void 0===a?void 0:a.viewer)||void 0===l?void 0:l.publisher)||void 0===t?void 0:t.payoutsAccount)||void 0===r?void 0:r.balance;return{value:i||0,statvalue:`${i||0}`}}))}},se=[{name:"programGoals",route:"/(programGoals)/:metricType/:goalId"},{name:"customFields",route:"/(customFields)/:customField"},{name:"referralsCount",route:"/(referralsCount)/:status?"},{name:"referralsMonth",route:"/(referralsMonth)"},{name:"referralsWeek",route:"/(referralsWeek)"},{name:"rewardsCount",route:"/(rewardsCount)/:global?"},{name:"rewardsMonth",route:"/(rewardsMonth)/:global?"},{name:"rewardsWeek",route:"/(rewardsWeek)/:global?"},{name:"rewardsCountFiltered",route:"/(rewardsCountFiltered)/:statType([INTEGRATION|PCT_DISCOUNT|CREDIT]*)?/:unit((?!global)(?!PENDING)(?!CANCELLED)(?!EXPIRED)(?!REDEEMED)(?!AVAILABLE)[a-zA-Z0-9%]+)?/:status([PENDING|CANCELLED|EXPIRED|REDEEMED|AVAILABLE]*)?/:global?"},{name:"integrationRewardsCountFiltered",route:"/(integrationRewardsCountFiltered)/:status([PENDING|CANCELLED|EXPIRED|REDEEMED|AVAILABLE]*)?/:global?"},{name:"rewardsAssigned",route:"/(rewardsAssigned)/:statType/:unit/:global?"},{name:"rewardsPending",route:"/(rewardsPending)/:statType/:unit/:global?"},{name:"rewardsRedeemed",route:"/(rewardsRedeemed)/:statType/:unit/:global?"},{name:"rewardsRedeemedWeek",route:"/(rewardsRedeemedWeek)/:statType/:unit/:global?"},{name:"rewardsRedeemedMonth",route:"/(rewardsRedeemedMonth)/:statType/:unit/:global?"},{name:"rewardsAvailable",route:"/(rewardsAvailable)/:statType/:unit/:global?"},{name:"rewardBalance",route:"/(rewardBalance)/:statType/:unit/:format([prettyValue|value]*)?/:global?"},{name:"traffic",route:"/(traffic)"},{name:"userStats",route:"/(userStats)/:statId"},{name:"payoutBalance",route:"/(payoutBalance)"}],oe=se.map((e=>L(e.route)));function ne(e){var a;const{statType:l,flexReverse:t,alignment:r,programId:i=c()}=e;I();const s=h(),n=u(),d=o((()=>oe.find((e=>e.exec(l)))),[l]);if(!(null==d?void 0:d.exec(l)))return{props:{value:0,statvalue:"!!!",flexReverse:t,alignment:r,loading:!1},label:"BAD PROP TYPE"};const p=d.exec(l)[1],v=se.find((e=>e.name===p)),m=[],g=L(null==v?void 0:v.route,m,{strict:!1,sensitive:!1,end:!0}).exec(l),f=m.map(((e,a)=>g[a+1]?decodeURIComponent(g[a+1]):void 0));f.shift();const b=ie[p].label,x=(null==n?void 0:n.jwt)&&ie[p].query(i,s,...f);return le("stat:",x),{props:{value:null==x?void 0:x.value,statvalue:null!==(a=null==x?void 0:x.statvalue)&&void 0!==a?a:"...",loading:null==x?void 0:x.loading,flexReverse:t,alignment:r},label:b}}function de(e){const{statType:a}=e,l=o((()=>oe.find((e=>e.exec(a)))),[a]);if(I(),!(null==l?void 0:l.exec(a)))return{props:{value:0,statvalue:"!!!",loading:!1,flexReverse:!1,alignment:"center"},label:"BAD PROP TYPE"};const t=l.exec(a),r=ie[t[1]].label;return{props:b({statvalue:"12345",value:0,flexReverse:!1,alignment:"center"},e.demoData||{},{arrayMerge:(e,a)=>a}),label:null!=r?r:"Demo Label"}}function ce(a,l){const t=()=>{const e=getComputedStyle(document.documentElement).getPropertyValue(`--sl-spacing-${a.space}`);return`${Math.floor(parseInt(e)/2)}rem`},r={StatContainer:{width:"100%",display:a.display||"grid","grid-template-columns":"repeat(auto-fill, minmax(130px, auto))",gap:t(),"& > *":{"border-right":"1px solid #EAEAEA","padding-right":t()},"& > :last-child":{"border-right":"none"},"& > ::slotted(*)":{"border-right":"1px solid #EAEAEA","padding-right":t(),height:"100%"},"& > ::slotted(*:last-child)":{"border-right":"none"},"@media screen and (max-width: 430px)":{"& > ::slotted(*)":{borderRight:"none"}}},StatFrame:{display:"flex"},BorderFix:{"border-right":"1px solid transparent",width:"0px","margin-left":"-1px"}},i=y(r),s=i.toString();return e("div",{class:i.classes.StatFrame,part:"sqm-base"},e("div",{class:i.classes.StatContainer,part:"sqm-inner-container"},e("style",{type:"text/css"},s),l),e("div",{class:i.classes.BorderFix,part:"sqm-border"}))}function ue(a){const{states:l,callbacks:t}=a,r=y({Dialog:{padding:"0","&::part(close-button)":{"margin-top":"var(--sl-spacing-medium)"},"&::part(body)":{padding:"0 var(--sl-spacing-x-large) var(--sl-spacing-x-large) var(--sl-spacing-x-large)"}},Error:{"&::part(erroralert-base)":{"margin-bottom":"15px"}},Success:{"&::part(successalert-base)":{"margin-bottom":"15px"}},InputContainer:{"& > :not(:last-child)":{"margin-bottom":"var(--sl-spacing-x-large)"}},CancelButton:{width:"25%",margin:"var(--sl-spacing-large) auto"},PasswordField:{marginBottom:"var(--sl-spacing-large) !important",display:"block"},ChangePasswordButton:{paddingTop:"var(--sl-spacing-x-large)"}}),i=r.toString();return e("div",null,e("style",{type:"text/css"},i),e("sl-dialog",{class:r.classes.Dialog,open:l.open,"onSl-hide":()=>t.setOpen(!1)},e(H,Object.assign({},{labelMargin:"x-large",padding:"none",label:e(V,Object.assign({},{type:"h2"}),l.content.modalChangePasswordHeader),content:e(B,Object.assign({},{direction:"column",padding:"none",gap:"32px"}),l.error&&e("sqm-form-message",{class:r.classes.Error,type:"error",exportparts:"erroralert-icon"},e("div",{part:"erroralert-text"},l.error)),l.success&&e("sqm-form-message",{class:r.classes.Success,type:"success",exportparts:"successalert-icon"},e("div",{part:"successalert-text"},l.content.successMessage)),e("sl-form",{"onSl-submit":t.submit},e("div",{class:r.classes.InputContainer},e("sqm-password-field",{exportparts:"input-label: input-label",class:r.classes.PasswordField,fieldLabel:l.content.passwordFieldLabel,meetsRequirementsText:l.content.meetsRequirementsText,doesNotMeetRequirementsText:l.content.doesNotMeetRequirementsText,minErrorText:l.content.minErrorText,uppercaseErrorText:l.content.uppercaseErrorText,lowercaseErrorText:l.content.lowercaseErrorText,hasErrorText:l.content.hasErrorText}),e("sl-input",{exportparts:"label: input-label, base: input-base",name:"/confirmPassword",label:l.content.confirmPasswordFieldLabel,required:!0,togglePassword:!0,disabled:l.loading,type:"password"})),e(B,Object.assign({},{direction:"row",padding:"none",gap:"20px"}),e("sl-button",{class:r.classes.ChangePasswordButton,type:"primary",submit:!0,loading:l.loading},l.content.changePasswordButtonText),e("sl-button",{class:r.classes.CancelButton,type:"text",onClick:()=>t.setOpen(!1)},l.content.cancelText))))}))),e(H,Object.assign({},{labelMargin:"x-large",padding:"xxx-large",label:e(V,Object.assign({},{type:"h2"}),l.content.portalChangePasswordHeader),content:e("sl-button",{onClick:()=>t.setOpen(!0)},l.content.portalChangePasswordButtonText)}),e("style",{type:"text/css"},i)))}const pe={Wrapper:{..._,"max-width":"600px"},Column:k,HostBlock:$,":host":{margin:"0 auto",width:"100%"},ButtonsContainer:S,ErrorStyle:E},ve=y(pe),me=ve.toString();function ge(a){var l,t,r,i,s,o,n,d,c,u,p,v,m;const{states:g,refs:f,callbacks:h,content:b}=a;return g.error&&window.scrollTo({top:0,left:0,behavior:"smooth"}),e("div",{class:ve.classes.Wrapper,part:"sqm-base"},e("style",{type:"text/css"},"\nsqm-portal-register {\n margin: 0 auto;\n width: 100%;\n display: block;\n}\n\n:host{\n display: block;\n}\n\n:host([hidden]) {\n display: none;\n}\n",me),e(V,{type:"h3"},b.pageLabel),e("sl-form",{class:ve.classes.Column,"onSl-submit":h.submit,ref:e=>f.formRef.current=e,novalidate:!0},g.error&&e("sqm-form-message",{type:"error",exportparts:"erroralert-icon"},e("div",{part:"erroralert-text"},a.states.error)),b.formData,!g.hideInputs&&e("sl-input",Object.assign({exportparts:"label: input-label, base: input-base",type:"email",name:"/email",label:b.emailLabel||"Email",disabled:g.loading,required:!0,validationError:({value:e})=>e?e.includes("@")?void 0:b.invalidEmailErrorMessage:b.requiredFieldErrorMessage},(null===(t=null===(l=g.registrationFormState)||void 0===l?void 0:l.validationErrors)||void 0===t?void 0:t.email)?{class:ve.classes.ErrorStyle,helpText:(null===(i=null===(r=g.registrationFormState)||void 0===r?void 0:r.validationErrors)||void 0===i?void 0:i.email)||b.requiredFieldErrorMessage}:[])),!g.hideInputs&&e("sqm-password-field",{fieldLabel:b.passwordLabel,"disable-validation":g.disablePasswordValidation,meetsRequirementsText:b.meetsRequirementsText,doesNotMeetRequirementsText:b.doesNotMeetRequirementsText,minErrorText:b.minErrorText,uppercaseErrorText:b.uppercaseErrorText,lowercaseErrorText:b.lowercaseErrorText,hasErrorText:b.hasErrorText}),b.passwordField,!g.hideInputs&&g.confirmPassword&&e("sl-input",Object.assign({exportparts:"label: input-label, base: input-base",type:"password",name:"/confirmPassword",label:b.confirmPasswordLabel,disabled:g.loading||(null===(s=g.registrationFormState)||void 0===s?void 0:s.disabled),required:!0},(null===(n=null===(o=g.registrationFormState)||void 0===o?void 0:o.initialData)||void 0===n?void 0:n.confirmPassword)?{value:null===(c=null===(d=g.registrationFormState)||void 0===d?void 0:d.initialData)||void 0===c?void 0:c.confirmPassword}:{},(null===(p=null===(u=g.registrationFormState)||void 0===u?void 0:u.validationErrors)||void 0===p?void 0:p.confirmPassword)?{class:ve.classes.ErrorStyle,helpText:(null===(m=null===(v=g.registrationFormState)||void 0===v?void 0:v.validationErrors)||void 0===m?void 0:m.confirmPassword)||b.requiredFieldErrorMessage}:[])),b.terms,e("div",{class:ve.classes.ButtonsContainer},e("sl-button",{submit:!0,loading:g.loading,exportparts:"base: primarybutton-base",type:"primary"},b.submitLabel||"Register"),b.secondaryButton)))}C.setup(w());const fe=C.createStyleSheet({ErrorStyle:{"&::part(control)":{borderColor:"var(--sl-color-danger-500)",outline:"var(--sl-color-danger-500)"},"&:host":{"--focus-ring":"0 0 0 var(--sl-focus-ring-width) red !important"}},ErrorMessageStyle:{margin:0,marginTop:"5px",color:"var(--sl-color-danger-500)",fontSize:"var(--sl-input-help-text-font-size-medium)",fontFamily:"var(--sl-font-sans)",fontWeight:"var(--sl-font-weight-normal)"},FieldContainer:{"margin-bottom":"var(--sl-spacing-large)"}}),he=fe.toString();function be(a){var l,t,r,i,s;const{states:o,content:d,callbacks:c}=a,u=null===(l=null==o?void 0:o.registrationFormState)||void 0===l?void 0:l.validationErrors;return e("div",{class:fe.classes.FieldContainer,part:"sqm-base"},e("style",{type:"text/css"},"\n:host {\n margin: 0 auto;\n width: 100%;\n display: block;\n}\nsl-checkbox::part(label){\n font-size: var(--sl-input-label-font-size-small);\n font-weight: var(--sl-font-weight-normal);\n line-height: 20px;\n}\nsl-checkbox::part(base){\n align-items: start;\n}\n",he),e("sl-checkbox",Object.assign({exportparts:"label: input-label, base: input-base",name:`/${d.checkboxName}`,checked:o.checked,"onSl-change":e=>{e.target.value=e.target.checked,c.setChecked(e.target.value)}},d.checkboxOptional?[]:{required:!1},{disabled:(null===(t=o.registrationFormState)||void 0===t?void 0:t.loading)||(null===(r=o.registrationFormState)||void 0===r?void 0:r.disabled),validationError:({value:e})=>{if(!e&&!d.checkboxOptional)return d.errorMessage}},(null===(s=null===(i=o.registrationFormState)||void 0===i?void 0:i.validationErrors)||void 0===s?void 0:s[d.checkboxName])?{class:fe.classes.ErrorStyle}:[]),n.formatMessage({id:d.checkboxName+"-message",defaultMessage:d.checkboxLabel},{labelLink:e("a",{href:d.checkboxLabelLink,target:"_blank"},d.checkboxLabelLinkText||d.checkboxLabelLink)})),(null==u?void 0:u[d.checkboxName])&&e("p",{class:fe.classes.ErrorMessageStyle},d.errorMessage))}function xe(a){const{states:l,callbacks:t}=a,{text:r,formState:i}=l,{error:s}=i,o=y({Container:{display:"flex",flexDirection:"column",gap:"var(--sl-spacing-x-small)",padding:"0 var(--sl-spacing-xxx-large) var(--sl-spacing-xxx-large)"},SubmitButton:{marginBottom:"var(--sl-spacing-medium)"},Error:{"&::part(erroralert-base)":{"margin-bottom":"15px"}},Success:{"&::part(successalert-base)":{"margin-bottom":"15px"}}}),n=o.toString();return e("div",{class:o.classes.Container,part:"sqm-base"},e("style",{type:"text/css"},n),e(V,Object.assign({},{type:"h2"}),r.emailPreferencesHeader),e("sl-form",{"onSl-submit":t.onSubmit},e(be,{states:{checked:l.formState.marketingEmailOptIn},content:{checkboxLabel:r.marketingCheckboxLabel,checkboxName:"marketingEmailOptIn"},callbacks:{setChecked:t.setChecked}}),e("sl-button",{class:o.classes.SubmitButton,type:"primary",submit:!0,loading:l.loading,disabled:l.submitDisabled},r.submitChangeButtonText),s&&e("sqm-form-message",{class:o.classes.Error,type:"error",exportparts:"erroralert-icon"},e("div",{part:"erroralert-text"},s)),l.success&&e("sqm-form-message",{class:o.classes.Success,type:"success",exportparts:"successalert-icon"},e("div",{part:"successalert-text"},l.text.successMessage))))}const ye=y({Description:{"& input[type=checkbox]":{display:"none"},"& input:checked ~ .details":{transform:"rotate(-180deg)"},"& .details":{position:"absolute",top:"var(--sl-spacing-medium)",right:"var(--sl-spacing-medium)",color:"var(--sl-color-neutral-700)",fontSize:"var(--sl-font-size-large)","& :hover":{color:"var(--sl-color-primary-700)"},transformOrigin:"50% 37%",transition:"transform var(--sl-transition-medium) ease",cursor:"pointer"},"& input:checked ~ .summary":{transition:"all var(--sl-transition-medium) ease",maxHeight:"300px",marginBottom:"var(--sl-spacing-x-large)"},"& input:checked ~ .summary[progress-bar]":{marginBottom:"var(--sl-spacing-xx-large)"},"& .summary":{display:"block",overflow:"hidden",fontSize:"var(--sl-font-size-small)",maxHeight:"0px",transition:"all var(--sl-transition-fast) ease-out",marginBottom:"var(--sl-spacing-medium)"}}}),Ce=ye.toString();function we(a){const l=Math.random().toString(36).slice(2);return e("div",{style:{opacity:a.opacity}},e("style",{type:"text/css"},Ce),e("span",{class:ye.classes.Description},e("input",{type:"checkbox",id:"details-"+l}),e("label",{class:"details",htmlFor:"details-"+l},e("sl-icon",{exportparts:"base: chevron-icon",name:"chevron-down"})),e("span",{class:"summary","progress-bar":a.progressBar},a.content.description)))}const qe=()=>e("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("path",{d:"M15 5H12.4508H9V16H13.5C14.0523 16 14.5 15.5523 14.5 15V9H15C15.5523 9 16 8.55228 16 8V6C16 5.44772 15.5523 5 15 5Z",fill:"#F2C94C"}),e("path",{d:"M1.5 9V15C1.5 15.5523 1.94772 16 2.5 16H7V5H4.64242H1C0.447715 5 0 5.44772 0 6V8C0 8.55228 0.447715 9 1 9H1.5Z",fill:"#F2C94C"}),e("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M1.5 9V10H14.5V9H1.5Z",fill:"#BE9720"}),e("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M14 2.70949C14 3.59565 12.6694 4.93746 12 5H9V16H7.00179V5H4.58792C3.21247 4.70182 2 3.64537 2 2.52072C2 1.42474 2.47603 0.556701 3.34184 0.182041C4.16921 -0.175986 5.12452 0.0203328 5.87976 0.544666C6.80676 1.18825 7.32679 2.3963 7.79856 3.49226C7.83996 3.58845 7.88099 3.68378 7.9219 3.77778C7.96173 3.68865 8.00186 3.59793 8.0425 3.50608C8.50995 2.44948 9.04359 1.24325 9.9404 0.59563C10.7332 0.0231438 11.741 -0.193157 12.6121 0.198945C13.5129 0.604397 14 1.53453 14 2.70949ZM10.6123 1.5C11.0928 1.15305 11.668 1.09012 12.1597 1.5C12.5879 1.85694 12.6108 2.02497 12.6658 2.42926L12.6755 2.5C12.6755 3.09851 12.1597 4 11.6439 4C11.2785 4 10.9914 3.99691 10.7224 3.99402C10.2319 3.98875 9.80131 3.98412 9.06496 4C9.20533 3.72786 9.31743 3.46669 9.42434 3.21761C9.71026 2.55143 9.95907 1.97176 10.6123 1.5ZM4.93861 1.5C4.70607 1.33855 4.17281 1.4106 3.95166 1.5063C3.76894 1.58537 3.49602 1.82658 3.49602 2.52072C3.49602 3.19524 4.58792 3.77778 4.58792 3.77778C4.58792 3.77778 5.45441 4 7.00179 4C6.47506 2.69451 5.7289 2.04867 4.93861 1.5Z",fill:"#EB5757"})),Re=()=>e("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("path",{d:"M15 5H12.4508H9V16H13.5C14.0523 16 14.5 15.5523 14.5 15V9H15C15.5523 9 16 8.55228 16 8V6C16 5.44772 15.5523 5 15 5Z",fill:"#C9C9C9"}),e("path",{d:"M1.5 9V15C1.5 15.5523 1.94772 16 2.5 16H7V5H4.64242H1C0.447715 5 0 5.44772 0 6V8C0 8.55228 0.447715 9 1 9H1.5Z",fill:"#C9C9C9"}),e("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M1.5 9V10H14.5V9H1.5Z",fill:"#A5A3A3"}),e("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M14 2.70949C14 3.59565 12.6694 4.93746 12 5H9V16H7.00179V5H4.58792C3.21247 4.70182 2 3.64537 2 2.52072C2 1.42474 2.47603 0.556701 3.34184 0.182041C4.16921 -0.175986 5.12452 0.0203328 5.87976 0.544666C6.80676 1.18825 7.32679 2.3963 7.79856 3.49226C7.83996 3.58845 7.88099 3.68378 7.9219 3.77778C7.96173 3.68865 8.00186 3.59793 8.0425 3.50608C8.50995 2.44948 9.04359 1.24325 9.9404 0.59563C10.7332 0.0231438 11.741 -0.193157 12.6121 0.198945C13.5129 0.604397 14 1.53453 14 2.70949ZM10.6123 1.5C11.0928 1.15305 11.668 1.09012 12.1597 1.5C12.5879 1.85694 12.6108 2.02497 12.6658 2.42926L12.6755 2.5C12.6755 3.09851 12.1597 4 11.6439 4C11.2785 4 10.9914 3.99691 10.7224 3.99402C10.2319 3.98875 9.80131 3.98412 9.06496 4C9.20533 3.72786 9.31743 3.46669 9.42434 3.21761C9.71026 2.55143 9.95907 1.97176 10.6123 1.5ZM4.93861 1.5C4.70607 1.33855 4.17281 1.4106 3.95166 1.5063C3.76894 1.58537 3.49602 1.82658 3.49602 2.52072C3.49602 3.19524 4.58792 3.77778 4.58792 3.77778C4.58792 3.77778 5.45441 4 7.00179 4C6.47506 2.69451 5.7289 2.04867 4.93861 1.5Z",fill:"#828282"})),$e=y({ProgressBar:{"& .progress-bar":{height:"0",marginTop:"var(--sl-spacing-large)",marginBottom:"var(--sl-spacing-xxx-large)",marginRight:"var(--sl-spacing-x-small)",fontSize:"var(--sl-font-size-x-small)",display:"grid",lineHeight:"45px",userSelect:"none"},"& .progress-bar.repeatable-steps":{marginLeft:"var(--sl-spacing-x-small)"},"&[data-steps]":{marginTop:"calc(-1*var(--sl-spacing-x-small))"},"&[data-steps] .progress-bar":{marginTop:"var(--sl-spacing-medium)"},"&[data-expired] .progress::after":{backgroundColor:"#bfbfbf"},"&[data-expired] .filled::after":{backgroundColor:"#bfbfbf"},"&[data-complete] .filled::after .progress::after":{backgroundColor:"var(--sl-color-primary-200)"},"& .gift":{textAlign:"center",marginLeft:"-100px",marginRight:"-100px",position:"relative",top:"-18px"},"& .gift.start":{transform:"scale(80%)",top:"-20px"},"& .filled:after":{content:'""',display:"flex",width:"100%",height:"4px",borderRadius:"4px",backgroundColor:"var(--sl-color-primary-300)"},"& .progress":{display:"block",textAlign:"center",marginLeft:"-100px",marginRight:"-100px"},"& .progress::after":{content:'""',width:"12px",height:"12px",display:"flex",backgroundColor:"var(--sl-color-primary-300)",borderRadius:"50%",position:"relative",left:"47%",top:"-85%"},"& .progress.bg:after":{width:"0",height:"0",border:"none"},"& .progress.top":{position:"relative",top:"-40px"},"& .progress.top:after":{top:"-16%"},"& .empty":{display:"block",textAlign:"center",marginLeft:"-100px",marginRight:"-100px"},"& .empty::after":{content:'""',width:"12px",height:"12px",border:"2px solid #E0E0E0",margin:"-2px",display:"flex",backgroundColor:"white",borderRadius:"50%",position:"relative",left:"47%",top:"-85%"},"& .empty.bg:after":{width:"0",height:"0",border:"none"},"& .remain:after":{content:'""',display:"flex",width:"100%",height:"4px",borderRadius:"4px",backgroundColor:"#E0E0E0"}}},{classNamePrefix:"sqm-prog-bar"}),_e=$e.toString();function ke(a){const{progress:l=0,goal:t=1,steps:r=!1,progressBarUnit:i="",repeatable:s=!1,complete:o=!1,expired:n=!1,finite:d=0,opacity:c="1"}=a;let u=function(a,l,t){return a?l?function({progress:a,goal:l,finite:t,expired:r}){const i=[],s=[];let o=Math.floor(a/l);if(o<2){let t=1/l;for(let o=1;o<2*l+1;o++)s.push(t+"fr"),s.push("0fr"),o>a?o==l?(s.push("0fr"),i.push(e("div",{class:"remain"})),i.push(e("div",{class:"empty bg"},l)),i.push(e("div",{class:"gift"},e(Re,null)))):o==2*l?(s.push("0fr"),s.push("0fr"),i.push(e("div",{class:"remain"})),i.push(e("div",{class:"empty bg"},2*l)),i.push(e("div",{class:"gift"},e(Re,null)))):(i.push(e("div",{class:"remain"})),i.push(e("div",{class:"empty"},o))):o==l?(s.push("0fr"),i.push(e("div",{class:"filled"})),i.push(e("div",{class:"progress bg"},o)),i.push(e("div",{class:"gift"},e(r?Re:qe,null)))):(i.push(e("div",{class:"filled"})),i.push(e("div",{class:"progress"},o)))}else if(t&&o>=t){let n=1/l;o>2&&(s.push("0fr"),s.push("0fr"),i.push(e("div",{class:"progress bg"},l*(t-2))),i.push(e("div",{class:"gift start"},e(r?Re:qe,null))));for(let o=1;o<2*l+1;o++)s.push(n+"fr"),s.push("0fr"),o>a?o==l&&(s.push("0fr"),i.push(e("div",{class:"remain"})),i.push(e("div",{class:"progress bg"},l*(t-1))),i.push(e("div",{class:"gift"},e(Re,null)))):o==l?(s.push("0fr"),i.push(e("div",{class:"filled"})),i.push(e("div",{class:"progress bg"},l*(t-1))),i.push(e("div",{class:"gift"},e(r?Re:qe,null)))):o==2*l?(s.push("0fr"),s.push("0fr"),i.push(e("div",{class:"filled"})),i.push(e("div",{class:"progress bg"},l*t)),i.push(e("div",{class:"gift"},e(r?Re:qe,null)))):(i.push(e("div",{class:"filled"})),i.push(e("div",{class:"progress"},o+l*(t-2))))}else{let t=a%l+l,n=1/l;s.push("0fr"),s.push("0fr"),i.push(e("div",{class:"progress bg"},l*(o-1))),i.push(e("div",{class:"gift start"},e(r?Re:qe,null)));for(let a=1;a<2*l+1;a++)s.push(n+"fr"),s.push("0fr"),a<=l?a==l?(s.push("0fr"),i.push(e("div",{class:"filled"})),i.push(e("div",{class:"progress bg"},a+l*(o-1))),i.push(e("div",{class:"gift"},e(r?Re:qe,null)))):(i.push(e("div",{class:"filled"})),i.push(e("div",{class:"progress"},a+l*(o-1)))):a>t?a==2*l?(s.push("0fr"),s.push("0fr"),i.push(e("div",{class:"remain"})),i.push(e("div",{class:"empty bg"},a+l*(o-1))),i.push(e("div",{class:"gift"},e(Re,null)))):(i.push(e("div",{class:"remain"})),i.push(e("div",{class:"empty"},a+l*(o-1)))):(i.push(e("div",{class:"filled"})),i.push(e("div",{class:"progress"},a+l*(o-1))))}return{items:i,columns:s.join(" ")}}(t):function({progress:a,goal:l,progressBarUnit:t,finite:r,expired:i}){let s=Math.floor(a/l),o=a%l/l*.5;const n=[];let d="";return 0==s?(d=o+"fr 0fr "+(.5-o)+"fr 0fr 0fr 0.5fr 0fr 0fr",n.push(e("div",{class:"filled"})),n.push(e("div",{class:a==l?"progress top bg":"progress top"},t+a)),n.push(e("div",{class:"remain"})),n.push(e("div",{class:"progress bg"},t+l)),n.push(e("div",{class:"gift"},e(a==l?i?Re:qe:Re,null))),n.push(e("div",{class:"remain"})),n.push(e("div",{class:"progress bg"},t+2*l)),n.push(e("div",{class:"gift"},e(Re,null)))):1==s?(d="0.5fr 0fr 0fr "+o+"fr 0fr "+(.5-o)+"fr 0fr 0fr",n.push(e("div",{class:"filled"})),n.push(e("div",{class:"progress bg"},t+l)),n.push(e("div",{class:"gift"},e(i?Re:qe,null))),n.push(e("div",{class:"filled"})),n.push(e("div",{class:a==l?"progress top bg":"progress top"},a==l?"":t+a)),n.push(e("div",{class:"remain"})),n.push(e("div",{class:"progress bg"},t+2*l)),n.push(e("div",{class:"gift"},e(Re,null)))):r&&s>=r?(s>2?(n.push(e("div",{class:"progress bg"},t+l*(r-2))),n.push(e("div",{class:"gift start"},e(i?Re:qe,null))),d="0fr 0fr 0.5fr 0fr 0fr 0.5fr 0fr 0fr"):d="0.5fr 0fr 0fr 0.5fr 0fr 0fr",n.push(e("div",{class:"filled"})),n.push(e("div",{class:"progress bg"},t+l*(r-1))),n.push(e("div",{class:"gift"},e(i?Re:qe,null))),n.push(e("div",{class:"filled"})),n.push(e("div",{class:"progress bg"},t+l*r)),n.push(e("div",{class:"gift"},e(i?Re:qe,null)))):(d="0fr 0fr 0.5fr 0fr 0fr "+o+"fr 0fr "+(.5-o)+"fr 0fr 0fr",n.push(e("div",{class:"progress bg"},t+l*(s-1))),n.push(e("div",{class:"gift start"},e(i?Re:qe,null))),n.push(e("div",{class:"filled"})),n.push(e("div",{class:"progress bg"},t+l*s)),n.push(e("div",{class:"gift"},e(i?Re:qe,null))),n.push(e("div",{class:"filled"})),n.push(e("div",{class:a==l*s?"progress top bg":"progress top"},a==l*s?"":t+a)),n.push(e("div",{class:"remain"})),n.push(e("div",{class:"progress bg"},t+l*(s+1))),n.push(e("div",{class:"gift"},e(Re,null)))),{items:n,columns:d}}(t):l?function({progress:a,goal:l,expired:t}){const r=[],i=[];let s=1/l;for(let t=1;t<l;t++)i.push(s+"fr"),i.push("0fr"),t>a?(r.push(e("div",{class:"remain"})),r.push(e("div",{class:"empty"},t))):(r.push(e("div",{class:"filled"})),r.push(e("div",{class:"progress"},t)));return i.push(s+"fr"),i.push("0fr"),l<=a?(i.push("0fr"),r.push(e("div",{class:"filled"})),r.push(e("div",{class:"progress bg"},l)),r.push(e("div",{class:"gift"},e(t?Re:qe,null)))):(i.push("0fr"),r.push(e("div",{class:"remain"})),r.push(e("div",{class:"empty bg"},l)),r.push(e("div",{class:"gift"},e(Re,null)))),{items:r,columns:i.join(" ")}}(t):function({progress:a,goal:l,progressBarUnit:t,expired:r}){const i=[];let s="";const o=a/l;return s=Se(o,0,1)+"fr 0fr "+Se(1-o,0,1)+"fr 0fr 0fr",i.push(e("div",{class:"filled"})),i.push(e("div",{class:Se(a,0,l)==l?"progress top bg":"progress top"},Se(a,0,l)==l?"":t+Se(a,0,l))),i.push(e("div",{class:"remain"})),i.push(e("div",{class:"progress bg"},t+l)),i.push(e("div",{class:"gift"},Se(a,0,l)==l?e(r?Re:qe,null):e(Re,null))),{items:i,columns:s}}(t)}(s,r,a);const{columns:p,items:v}=u;return e("div",{class:$e.classes.ProgressBar,"data-expired":n,"data-complete":o,"data-steps":r,"data-done":t<=l,style:{opacity:c}},e("style",{type:"text/css"},_e),e("div",{class:!Boolean(d)&&l>=2*t||Boolean(d)&&l>2*t?"progress-bar repeatable-steps":"progress-bar",style:{gridTemplateColumns:p,marginLeft:0!==l||r?"":"var(--sl-spacing-x-small)"}},v))}function Se(e,a,l){return Math.min(Math.max(e,a),l)}const Ee=y({TaskCard:{display:"inline-block",width:"100%","& .main":{position:"relative",boxSizing:"border-box",background:"var(--sl-color-neutral-0)",border:"1px solid var(--sl-color-neutral-200)",borderRadius:"var(--sl-border-radius-large)",boxShadow:"1px 2px 4px rgba(211, 211, 211, 0.2)",fontSize:"var(--sl-font-size-small)",lineHeight:"var(--sl-line-height-dense)",color:"var(--sl-color-neutral-600)"},"& .main.complete":{background:"var(--sl-color-primary-50)",borderColor:"var(--sl-color-primary-500)"},"& .main.expired":{color:"var(--sl-color-neutral-600)",background:"var(--sl-color-neutral-50)"},"& .title":{fontSize:"var(--sl-font-size-medium)",color:"var(--sl-color-neutral-950)"},"& .container":{margin:"var(--sl-spacing-medium)"},"& .container.subdued":{opacity:"0.45"},"& .container > div":{margin:"var(--sl-spacing-medium) 0"}},NotStarted:{fontSize:"var(--sl-font-size-small)",padding:"var(--sl-spacing-medium)",color:"var(--sl-color-primary-600)",border:"1px solid var(--sl-color-neutral-200)",borderRadius:"var(--sl-border-radius-large) var(--sl-border-radius-large) 0 0",borderBottom:"none",background:"var(--sl-color-primary-50)",fontWeight:"var(--sl-font-weight-semibold)",lineHeight:"var(--sl-line-height-dense)","& .icon":{position:"relative",top:"0.1em",marginRight:"var(--sl-spacing-small)",color:"var(--sl-color-primary-500)"}},Ended:{fontSize:"var(--sl-font-size-small)",padding:"var(--sl-spacing-medium)",color:"var(--sl-color-warning-600)",border:"1px solid var(--sl-color-neutral-200)",borderRadius:"var(--sl-border-radius-large) var(--sl-border-radius-large) 0 0",borderBottom:"none",background:"var(--sl-color-warning-50)",fontWeight:"var(--sl-font-weight-semibold)",lineHeight:"var(--sl-line-height-dense)","& .icon":{position:"relative",top:"0.1em",marginRight:"var(--sl-spacing-small)",color:"var(--sl-color-warning-500)"}},Header:{display:"flex","& .icon":{position:"relative",top:"5%",alignSelf:"center",lineHeight:"0",color:"var(--sl-color-primary-400)",fontSize:"var(--sl-font-size-large)",marginRight:"var(--sl-spacing-x-small)"},"& .value":{alignSelf:"center",fontSize:"var(--sl-font-size-x-large)",fontWeight:"var(--sl-font-weight-semibold)",color:"var(--sl-color-neutral-950)",lineHeight:"100%",marginRight:"var(--sl-spacing-xx-small)"},"& .text":{alignSelf:"end",textTransform:"uppercase",fontSize:"var(--sl-font-size-x-small)",color:"var(--sl-color-neutral-950)",lineHeight:"var(--sl-font-size-medium)",marginRight:"var(--sl-spacing-xx-small)"},"& .end":{color:"var(--sl-color-warning-500)",fontWeight:"var(--sl-font-weight-semibold)",marginBottom:"var(--sl-spacing-xx-small)"},"& .neutral":{color:"var(--sl-color-neutral-400)"}},Footer:{"&[data-subdue] .success":{color:"var(--sl-color-primary-300)"},"&[data-subdue] .neutral":{color:"var(--sl-color-neutral-300)"},display:"flex","& .icon":{fontSize:"var(--sl-font-size-xx-small)",marginRight:"var(--sl-spacing-xx-small)",verticalAlign:"middle"},"& .text":{marginTop:"auto",verticalAlign:"text-bottom",fontSize:"var(--sl-font-size-x-small)",color:"var(--sl-color-neutral-400)"},"& .success":{color:"var(--sl-color-primary-500)",fontWeight:"var(--sl-font-weight-semibold)"},"& .action":{marginTop:"auto",marginLeft:"auto","&::part(base)":{color:"var(--sl-color-neutral-0)"},"&.disabled::part(base)":{border:"1px solid var(--sl-color-primary-400)",background:"var(--sl-color-primary-400)"},"&.neutral::part(base)":{border:"1px solid var(--sl-color-neutral-400)",background:"var(--sl-color-neutral-400)"}},"& .neutral":{color:"var(--sl-color-neutral-400)"},"& .datetime":{display:"block",marginTop:"var(--sl-spacing-xx-small)"}}}),Me=Ee.toString();function Ie(a){var l,t;const{callbacks:r,states:i,content:s}=a,o=s.rewardDuration&&T.DateTime.fromISO(s.rewardDuration.split("/")[0]),d=s.rewardDuration&&T.DateTime.fromISO(s.rewardDuration.split("/")[1]),c=T.DateTime.now();if(s.displayDuration){const a=null===(l=s.displayDuration.split("/"))||void 0===l?void 0:l[0],r=null===(t=s.displayDuration.split("/"))||void 0===t?void 0:t[1],i=a?T.DateTime.fromISO(a):c,o=r?T.DateTime.fromISO(r):c;if(c<i||c>o)return e("span",null)}const u=e("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M1.81818 10C1.81818 5.48131 5.48131 1.81818 10 1.81818C14.5187 1.81818 18.1818 5.48131 18.1818 10C18.1818 14.5187 14.5187 18.1818 10 18.1818C5.48131 18.1818 1.81818 14.5187 1.81818 10ZM10 0C4.47715 0 0 4.47715 0 10C0 15.5228 4.47715 20 10 20C15.5228 20 20 15.5228 20 10C20 4.47715 15.5228 0 10 0ZM15.7692 6.96189C16.1398 6.48683 16.0551 5.80132 15.58 5.43077C15.1049 5.06022 14.4194 5.14495 14.0489 5.62001L8.72994 12.4391L5.86229 9.5715C5.43627 9.14548 4.74554 9.14548 4.31952 9.5715C3.89349 9.99752 3.89349 10.6882 4.31952 11.1143L8.05976 14.8545C8.28083 15.0756 8.58613 15.1912 8.89818 15.172C9.21023 15.1528 9.49905 15.0006 9.69133 14.7541L15.7692 6.96189Z",fill:"currentColor"})),p=e("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("circle",{cx:"10",cy:"10",r:"10",fill:"currentColor"}),e("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M14.65 6.19231C15.0459 6.5011 15.1165 7.07236 14.8077 7.46825L9.74277 13.9617C9.58254 14.1672 9.34186 14.294 9.08182 14.31C8.82178 14.326 8.56736 14.2297 8.38314 14.0454L5.26627 10.9286C4.91124 10.5735 4.91124 9.99794 5.26627 9.64292C5.62129 9.2879 6.19689 9.2879 6.55191 9.64292L8.94162 12.0326L13.3741 6.35001C13.6828 5.95412 14.2541 5.88352 14.65 6.19231Z",fill:"white"})),v=e("svg",{width:11,height:12,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M10.265 2.789a.346.346 0 000-.489L8.066.101a.346.346 0 10-.489.489l1.61 1.609H2.073a.691.691 0 00-.69.691v1.728a.346.346 0 00.69 0V2.89h7.114L7.577 4.5a.346.346 0 10.49.488l2.198-2.2zM.101 9.21a.346.346 0 000 .489l2.2 2.199a.346.346 0 00.488-.489l-1.61-1.609h7.114c.382 0 .691-.31.691-.691V7.382a.346.346 0 00-.691 0V9.11H1.18L2.789 7.5a.346.346 0 10-.489-.488l-2.199 2.2z",fill:"currentColor"})),m=i.progress>=s.goal,g=s.showProgressBar?Math.floor(i.progress/s.goal):i.progress,f=m&&!1===s.repeatable||s.finite&&i.progress>=s.finite*s.goal,h=s.rewardDuration&&d<=c,b=s.rewardDuration&&c<=o,y=h||b;return e("div",{class:Ee.classes.TaskCard,part:"sqm-base"},e("style",{type:"text/css"},Me,"\n\t:host{\n\t\tdisplay: block;\n\t\tmargin-bottom: var(--sl-spacing-large);\n\t}\n\n "),!i.loading&&b&&e("div",{class:Ee.classes.NotStarted},e("span",{class:"icon"},e("sl-icon",{name:"info-circle-fill"})),n.formatMessage({id:"startsOnMessage",defaultMessage:s.startsOnMessage},{startDate:o.setLocale(x(i.locale)).toLocaleString(T.DateTime.DATETIME_MED)})),!i.loading&&h&&e("div",{class:Ee.classes.Ended},e("span",{class:"icon"},e("sl-icon",{exportparts:"base: task-card-icon",name:"exclamation-triangle-fill"})),n.formatMessage({id:"endedMessage",defaultMessage:s.endedMessage},{endDate:d.setLocale(x(i.locale)).toLocaleString(T.DateTime.DATETIME_MED)})),e("div",{part:"sqm-style-container",style:{borderRadius:y&&"0 0 var(--sl-border-radius-large) var(--sl-border-radius-large)"},class:y?"main expired":f?"main complete":"main"},e("div",{class:"container",part:"sqm-card-container","data-subdue":f||y},e("div",{class:Ee.classes.Header,style:{opacity:f||y?"0.45":"1"}},i.loading?e("sl-skeleton",{style:{width:"22%",margin:"0"}}):e("div",null,m&&e("span",{class:y?"icon neutral":"icon"},f?p:u),e("span",{part:"sqm-value",class:"value"},s.rewardAmount),e("span",{part:"sqm-unit",class:"text"},s.rewardUnit))),i.loading?e("sl-skeleton",{style:{width:"42%",margin:"var(--sl-spacing-medium) 0"}}):e("div",{class:"title",part:"sqm-title",style:{marginBottom:s.description?"":s.steps?"var(--sl-spacing-x-large)":s.showProgressBar?"var(--sl-spacing-xx-large)":"",opacity:f||y?"0.45":"1"}},s.cardTitle),i.loading?e("sl-skeleton",{style:{margin:"var(--sl-spacing-medium) 0"}}):s.description&&e(we,Object.assign({},a,{opacity:f||y?"0.45":"1"})),s.showProgressBar&&i.loading?e("sl-skeleton",{style:{margin:"var(--sl-spacing-medium) 0"}}):s.showProgressBar&&e(ke,Object.assign({},a.content,a.states,{opacity:f||y?"0.45":"1",complete:f,expired:y})),e("div",{class:Ee.classes.Footer,"data-subdue":f||y},i.loading?e("sl-skeleton",{style:{width:"25%",marginLeft:"auto"}}):e("div",{style:{display:"contents"}},e("span",{class:"text"},s.repeatable&&e("div",null,e("span",{class:g>0?y?"icon neutral":"icon success":"icon neutral","data-subdue":f||y},v),e("span",{class:g>0?y?"neutral":"success":"neutral","data-subdue":f||y},n.formatMessage({id:"completedMessage",defaultMessage:s.completedText},{finite:s.finite,count:s.finite?Math.min(g,s.finite):g}))),d&&!y&&e("span",{class:"datetime neutral","data-subdue":f||y},n.formatMessage({id:"expiryMessage",defaultMessage:s.expiryMessage},{endDate:d.setLocale(x(i.locale)).toLocaleString(T.DateTime.DATETIME_MED)}))),s.hideButton?"":e("sl-button",{exportparts:"base: button",id:"sl-button",class:y?"action neutral":f?"action disabled":"action",type:"primary",size:"small",onClick:r.onClick,loading:i.loadingEvent,disabled:f||y,style:{opacity:f||y?"0.45":"1"}},s.buttonText))))))}function Te({color:a="#A6A6A6",width:l=120,height:t=16}){return e("svg",{width:l,height:t,viewBox:"0 0 1662 254",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("path",{d:"M801.082 253.58L869.382 1.67969",stroke:a,"stroke-width":"3"}),e("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M125.682 42.48C123.882 42.48 121.982 42.78 120.382 43.48C118.682 44.18 117.182 45.18 115.882 46.48C114.582 47.68 113.582 49.28 112.882 50.98C112.182 52.68 111.882 54.48 111.982 56.28C112.282 59.68 113.882 63.08 116.382 65.38C118.982 67.78 122.382 68.98 125.782 68.98C129.282 68.98 132.682 67.58 135.182 65.38C137.782 62.98 139.382 59.78 139.582 56.28C139.582 54.38 139.282 52.68 138.682 50.98C137.982 49.28 136.982 47.78 135.682 46.48C134.382 45.18 132.882 44.18 131.182 43.48C129.282 42.78 127.582 42.48 125.682 42.48Z",fill:a}),e("path",{d:"M135.882 89.2798H115.582V187.58H135.882V89.2798Z",fill:a}),e("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M231.481 104.18C238.781 93.4799 251.181 87.3799 266.281 87.3799C290.981 87.3799 307.581 103.28 307.381 127.08V187.48H286.781V132.38C286.781 116.38 278.281 107.18 263.381 107.18C248.481 107.18 237.981 117.68 237.981 132.68V187.48H217.281V132.38C217.281 116.38 208.781 107.18 193.881 107.18C178.981 107.18 168.481 117.68 168.481 132.68V187.48H147.981V89.3799H168.681V97.8799C178.081 88.8799 190.181 87.4799 197.081 87.4799C211.881 87.4799 224.381 93.5799 231.481 104.18Z",fill:a}),e("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M370.781 87.48C358.581 87.48 347.981 91.38 339.981 98.38V89.28H319.481V226.08H339.981V177.78C347.881 185.08 358.581 188.78 370.781 188.78C398.781 188.78 419.881 166.88 419.881 138.08C419.981 109.28 398.781 87.48 370.781 87.48ZM368.881 169.58C351.481 169.58 338.881 156.38 338.881 138.28C338.881 120.38 351.381 106.98 368.881 106.98C386.281 106.98 398.881 120.08 398.881 138.28C398.881 156.48 386.381 169.58 368.881 169.58Z",fill:a}),e("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M701.782 169.88C707.682 169.88 714.082 167.58 719.582 163.98L721.482 162.88L731.482 178.68L729.782 179.88C721.282 186.28 710.982 189.58 700.382 189.58C678.082 189.58 665.782 176.38 665.782 152.28V108.68H645.682V89.3799H665.782V59.8799H686.482V89.2798H725.682V108.48H686.482V151.88C686.482 163.38 691.982 169.88 701.782 169.88Z",fill:a}),e("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M551.282 239.88C549.982 239.88 548.782 240.28 547.682 240.88C546.682 241.58 545.782 242.58 545.382 243.68C544.882 244.78 544.782 246.08 545.082 247.28C545.282 248.58 545.882 249.68 546.882 250.48C547.782 251.38 548.882 251.98 550.082 252.28C551.382 252.48 552.582 252.38 553.782 251.98C554.882 251.48 555.982 250.78 556.582 249.68C557.282 248.68 557.582 247.38 557.582 246.18C557.582 244.48 556.982 242.88 555.682 241.68C554.482 240.48 552.882 239.88 551.282 239.88Z",fill:a}),e("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M586.182 210.78C592.282 210.78 597.582 213.08 601.082 217.18L601.482 217.68L596.282 223.08L595.782 222.58C594.482 221.18 593.082 220.18 591.382 219.48C589.682 218.78 587.882 218.38 586.082 218.48C578.882 218.48 573.682 224.08 573.682 231.58C573.682 239.18 578.882 244.78 586.082 244.78C589.782 244.68 593.282 243.18 595.882 240.58L596.382 240.08L601.382 245.68L600.982 246.08C597.182 250.18 591.982 252.18 586.082 252.18C574.082 252.18 565.382 243.58 565.382 231.58C565.582 219.48 574.182 210.78 586.182 210.78Z",fill:a}),e("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M633.782 210.78C621.682 210.78 612.582 219.68 612.582 231.38C612.582 243.08 621.682 251.98 633.782 251.98C645.882 251.98 654.882 243.08 654.882 231.38C655.082 219.78 645.982 210.78 633.782 210.78ZM633.782 244.78C626.382 244.78 620.782 239.28 620.782 231.58C620.782 223.88 626.182 218.48 633.782 218.48C641.182 218.48 646.782 224.08 646.782 231.58C646.782 238.98 641.382 244.78 633.782 244.78Z",fill:a}),e("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M723.982 228.78C723.982 222.18 720.382 218.28 714.082 218.28C707.682 218.28 703.382 222.78 702.982 228.98V252.18H695.082V228.68C695.082 222.08 691.482 218.18 685.182 218.18C680.082 218.18 674.482 221.48 674.482 228.88V252.08H666.582V211.38H674.482V214.78L676.682 213.28C679.582 211.38 683.082 210.48 686.582 210.48C692.082 210.48 696.782 212.48 699.882 216.08L700.882 217.28L701.882 216.08C704.782 212.48 709.582 210.48 715.182 210.48C725.082 210.48 731.982 217.08 731.982 226.38V251.88H724.082V228.68H723.982V228.78Z",fill:a}),e("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M511.681 89.4797V98.7797C503.681 91.4797 493.181 87.6797 480.981 87.6797C452.981 87.6797 431.981 109.68 431.981 138.68C431.981 167.78 453.081 189.68 480.981 189.68C493.181 189.68 503.681 185.78 511.681 178.38V187.68H532.381V89.4797H511.681ZM482.881 169.88C465.481 169.88 452.781 156.58 452.781 138.48C452.781 120.48 465.281 106.98 482.881 106.98C500.481 106.98 512.781 120.08 512.781 138.48C512.781 156.68 500.181 169.88 482.881 169.88Z",fill:a}),e("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M595.281 107.08C604.181 107.08 611.781 110.38 618.781 116.98L620.481 118.68L633.981 104.58L632.581 102.98C623.781 92.98 610.781 87.48 595.781 87.48C565.981 87.48 544.481 109.08 544.481 138.48C544.481 167.98 565.981 189.48 595.781 189.48C610.481 189.48 623.681 183.98 632.581 174.08L633.981 172.58L620.981 158.18L619.281 159.88C612.481 166.48 603.981 169.98 595.481 169.98C578.381 169.98 565.681 156.68 565.681 138.58C565.581 120.58 577.881 107.08 595.281 107.08Z",fill:a}),e("path",{d:"M135.882 89.2798H115.582V187.58H135.882V89.2798Z",fill:a}),e("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M231.481 104.18C238.781 93.4799 251.181 87.3799 266.281 87.3799C290.981 87.3799 307.581 103.28 307.381 127.08V187.48H286.781V132.38C286.781 116.38 278.281 107.18 263.381 107.18C248.481 107.18 237.981 117.68 237.981 132.68V187.48H217.281V132.38C217.281 116.38 208.781 107.18 193.881 107.18C178.981 107.18 168.481 117.68 168.481 132.68V187.48H147.981V89.3799H168.681V97.8799C178.081 88.8799 190.181 87.4799 197.081 87.4799C211.881 87.4799 224.381 93.5799 231.481 104.18Z",fill:a}),e("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M370.781 87.48C358.581 87.48 347.981 91.38 339.981 98.38V89.28H319.481V226.08H339.981V177.78C347.881 185.08 358.581 188.78 370.781 188.78C398.781 188.78 419.881 166.88 419.881 138.08C419.981 109.28 398.781 87.48 370.781 87.48ZM368.881 169.58C351.481 169.58 338.881 156.38 338.881 138.28C338.881 120.38 351.381 106.98 368.881 106.98C386.281 106.98 398.881 120.08 398.881 138.28C398.881 156.48 386.381 169.58 368.881 169.58Z",fill:a}),e("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M701.782 169.88C707.682 169.88 714.082 167.58 719.582 163.98L721.482 162.88L731.482 178.68L729.782 179.88C721.282 186.28 710.982 189.58 700.382 189.58C678.082 189.58 665.782 176.38 665.782 152.28V108.68H645.682V89.3799H665.782V59.8799H686.482V89.2798H725.682V108.48H686.482V151.88C686.482 163.38 691.982 169.88 701.782 169.88Z",fill:a}),e("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M511.681 89.4797V98.7797C503.681 91.4797 493.181 87.6797 480.981 87.6797C452.981 87.6797 431.981 109.68 431.981 138.68C431.981 167.78 453.081 189.68 480.981 189.68C493.181 189.68 503.681 185.78 511.681 178.38V187.68H532.381V89.4797H511.681ZM482.881 169.88C465.481 169.88 452.781 156.58 452.781 138.48C452.781 120.48 465.281 106.98 482.881 106.98C500.481 106.98 512.781 120.08 512.781 138.48C512.781 156.68 500.181 169.88 482.881 169.88Z",fill:a}),e("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M595.281 107.08C604.181 107.08 611.781 110.38 618.781 116.98L620.481 118.68L633.981 104.58L632.581 102.98C623.781 92.98 610.781 87.48 595.781 87.48C565.981 87.48 544.481 109.08 544.481 138.48C544.481 167.98 565.981 189.48 595.781 189.48C610.481 189.48 623.681 183.98 632.581 174.08L633.981 172.58L620.981 158.18L619.281 159.88C612.481 166.48 603.981 169.98 595.481 169.98C578.381 169.98 565.681 156.68 565.681 138.58C565.581 120.58 577.881 107.08 595.281 107.08Z",fill:a}),e("path",{d:"M34.6815 112.78C40.6815 112.78 46.5815 114.18 51.8815 116.68C57.2815 119.18 62.0815 122.78 65.9815 127.28C67.9815 122.68 69.0815 117.78 69.0815 112.88C69.0815 108.38 68.1815 103.88 66.4815 99.8799C64.6815 95.6799 62.1815 91.9799 58.9815 88.8799C55.7815 85.7799 51.9815 83.2799 47.7815 81.4799C43.5815 79.7799 39.0815 78.8799 34.5815 78.8799C30.0815 78.8799 25.5815 79.6799 21.3815 81.4799C17.1815 83.1799 13.3815 85.7799 10.1815 88.8799C6.98154 91.9799 4.48154 95.7799 2.68154 99.8799C0.881541 104.08 0.081543 108.38 0.081543 112.88C0.181543 117.88 1.18154 122.78 3.18154 127.28C7.08154 122.68 11.8815 119.18 17.1815 116.68C22.7815 113.98 28.7815 112.68 34.6815 112.78Z",fill:a}),e("path",{d:"M69.1817 153.48C69.1817 146.68 67.1817 140.18 63.2817 134.48C59.4817 128.88 54.0817 124.48 47.7817 121.88C41.4817 119.28 34.4817 118.68 27.7817 119.88C21.0817 121.28 14.8817 124.48 10.0817 129.28C5.28166 134.08 1.88166 140.08 0.681661 146.78C-0.718339 153.48 0.0816607 160.18 2.68166 166.48C5.28166 172.78 9.68166 178.08 15.4817 181.78C21.0817 185.58 27.7817 187.48 34.6817 187.48C43.7817 187.38 52.5817 183.88 59.0817 177.38C65.6817 170.98 69.1817 162.58 69.1817 153.48Z",fill:a}),e("path",{d:"M69.1817 34.9799C69.1817 28.1799 67.1817 21.6799 63.2817 15.9799C59.4817 10.3799 54.1817 5.9799 47.7817 3.3799C41.4817 0.779901 34.4817 0.1799 27.7817 1.3799C21.0817 2.7799 14.8817 5.97986 10.0817 10.7799C5.28166 15.5799 1.88166 21.5799 0.681661 28.2799C-0.718339 34.9799 0.0816607 41.6799 2.68166 47.9799C5.28166 54.2799 9.68166 59.5799 15.4817 63.2799C21.0817 67.0799 27.7817 68.9799 34.6817 68.9799C43.8817 68.9799 52.6817 65.3799 59.1817 58.9799C65.5817 52.6799 69.1817 43.8799 69.1817 34.9799Z",fill:a}),e("path",{d:"M962.664 203.95C953.044 203.95 945.244 201.285 939.264 195.955C933.284 190.495 930.294 183.41 930.294 174.7C930.294 165.08 933.739 157.605 940.629 152.275C947.649 146.945 957.464 144.28 970.074 144.28H993.864V138.43C993.864 129.72 991.589 123.09 987.039 118.54C982.619 113.86 976.184 111.52 967.734 111.52C962.014 111.52 956.749 112.885 951.939 115.615C947.129 118.345 943.229 122.18 940.239 127.12L933.999 120.295C937.639 114.575 942.384 110.22 948.234 107.23C954.214 104.11 960.974 102.55 968.514 102.55C979.694 102.55 988.404 105.605 994.644 111.715C1001.01 117.695 1004.2 126.015 1004.2 136.675V184.255C1004.2 188.805 1004.98 194.72 1006.54 202H997.569C996.399 199.14 995.554 194.07 995.034 186.79H994.644C990.874 192.25 986.259 196.475 980.799 199.465C975.339 202.455 969.294 203.95 962.664 203.95ZM962.664 195.175C968.124 195.175 973.259 194.07 978.069 191.86C982.879 189.52 986.714 186.465 989.574 182.695C992.434 178.795 993.864 174.7 993.864 170.41V152.665H969.489C960.389 152.665 953.239 154.615 948.039 158.515C942.969 162.415 940.434 167.81 940.434 174.7C940.434 180.68 942.514 185.62 946.674 189.52C950.834 193.29 956.164 195.175 962.664 195.175Z",fill:a}),e("path",{d:"M1067.55 203.95C1055.07 203.95 1045.25 199.27 1038.1 189.91C1030.95 180.55 1027.38 167.745 1027.38 151.495C1027.38 136.415 1031.02 124.52 1038.3 115.81C1045.71 106.97 1055.72 102.55 1068.33 102.55C1074.7 102.55 1080.55 104.045 1085.88 107.035C1091.21 110.025 1095.5 114.25 1098.75 119.71H1099.14V57.3101H1109.67V178.21C1109.67 189.13 1109.86 197.06 1110.25 202H1100.89C1100.63 197.84 1100.5 192.12 1100.5 184.84H1100.11C1097.12 190.69 1092.7 195.37 1086.85 198.88C1081 202.26 1074.57 203.95 1067.55 203.95ZM1068.13 195.175C1077.23 195.175 1084.64 192.185 1090.36 186.205C1096.21 180.225 1099.14 172.49 1099.14 163V146.815C1099.14 135.895 1096.41 127.25 1090.95 120.88C1085.49 114.38 1078.08 111.13 1068.72 111.13C1059.1 111.13 1051.49 114.77 1045.9 122.05C1040.44 129.2 1037.71 139.145 1037.71 151.885C1037.71 165.275 1040.44 175.87 1045.9 183.67C1051.36 191.34 1058.77 195.175 1068.13 195.175Z",fill:a}),e("path",{d:"M1208.57 104.5L1172.3 202H1161.96L1125.5 104.5H1136.61L1167.03 189.715L1197.45 104.5H1208.57Z",fill:a}),e("path",{d:"M1261.51 203.95C1252.54 203.95 1244.61 201.87 1237.72 197.71C1230.96 193.55 1225.7 187.635 1221.93 179.965C1218.29 172.295 1216.47 163.39 1216.47 153.25C1216.47 143.11 1218.29 134.205 1221.93 126.535C1225.7 118.865 1230.96 112.95 1237.72 108.79C1244.61 104.63 1252.54 102.55 1261.51 102.55C1270.48 102.55 1278.35 104.63 1285.11 108.79C1292 112.95 1297.33 118.865 1301.1 126.535C1304.87 134.205 1306.75 143.11 1306.75 153.25C1306.75 163.39 1304.87 172.295 1301.1 179.965C1297.33 187.635 1292 193.55 1285.11 197.71C1278.35 201.87 1270.48 203.95 1261.51 203.95ZM1261.51 195.37C1268.4 195.37 1274.45 193.615 1279.65 190.105C1284.98 186.595 1289.07 181.655 1291.93 175.285C1294.79 168.915 1296.22 161.57 1296.22 153.25C1296.22 144.93 1294.79 137.585 1291.93 131.215C1289.07 124.845 1284.98 119.905 1279.65 116.395C1274.45 112.885 1268.4 111.13 1261.51 111.13C1254.75 111.13 1248.71 112.885 1243.38 116.395C1238.18 119.905 1234.15 124.845 1231.29 131.215C1228.43 137.585 1227 144.93 1227 153.25C1227 161.57 1228.43 168.915 1231.29 175.285C1234.15 181.655 1238.18 186.595 1243.38 190.105C1248.71 193.615 1254.75 195.37 1261.51 195.37Z",fill:a}),e("path",{d:"M1366.03 203.95C1352.25 203.95 1341.52 199.53 1333.85 190.69C1326.31 181.72 1322.54 169.24 1322.54 153.25C1322.54 137.39 1326.38 124.975 1334.05 116.005C1341.72 107.035 1352.38 102.55 1366.03 102.55C1373.57 102.55 1380.26 104.11 1386.11 107.23C1391.96 110.22 1396.77 114.575 1400.54 120.295L1394.3 126.34C1391.31 121.66 1387.28 118.02 1382.21 115.42C1377.27 112.69 1371.88 111.325 1366.03 111.325C1355.76 111.325 1347.63 115.03 1341.65 122.44C1335.8 129.85 1332.88 140.12 1332.88 153.25C1332.88 166.38 1335.8 176.65 1341.65 184.06C1347.63 191.47 1355.76 195.175 1366.03 195.175C1371.88 195.175 1377.27 193.875 1382.21 191.275C1387.28 188.545 1391.31 184.84 1394.3 180.16L1400.54 186.205C1396.77 191.925 1391.96 196.345 1386.11 199.465C1380.26 202.455 1373.57 203.95 1366.03 203.95Z",fill:a}),e("path",{d:"M1446.55 203.95C1436.93 203.95 1429.13 201.285 1423.15 195.955C1417.17 190.495 1414.18 183.41 1414.18 174.7C1414.18 165.08 1417.62 157.605 1424.51 152.275C1431.53 146.945 1441.35 144.28 1453.96 144.28H1477.75V138.43C1477.75 129.72 1475.47 123.09 1470.92 118.54C1466.5 113.86 1460.07 111.52 1451.62 111.52C1445.9 111.52 1440.63 112.885 1435.82 115.615C1431.01 118.345 1427.11 122.18 1424.12 127.12L1417.88 120.295C1421.52 114.575 1426.27 110.22 1432.12 107.23C1438.1 104.11 1444.86 102.55 1452.4 102.55C1463.58 102.55 1472.29 105.605 1478.53 111.715C1484.9 117.695 1488.08 126.015 1488.08 136.675V184.255C1488.08 188.805 1488.86 194.72 1490.42 202H1481.45C1480.28 199.14 1479.44 194.07 1478.92 186.79H1478.53C1474.76 192.25 1470.14 196.475 1464.68 199.465C1459.22 202.455 1453.18 203.95 1446.55 203.95ZM1446.55 195.175C1452.01 195.175 1457.14 194.07 1461.95 191.86C1466.76 189.52 1470.6 186.465 1473.46 182.695C1476.32 178.795 1477.75 174.7 1477.75 170.41V152.665H1453.37C1444.27 152.665 1437.12 154.615 1431.92 158.515C1426.85 162.415 1424.32 167.81 1424.32 174.7C1424.32 180.68 1426.4 185.62 1430.56 189.52C1434.72 193.29 1440.05 195.175 1446.55 195.175Z",fill:a}),e("path",{d:"M1547.14 203.95C1539.08 203.95 1532.97 201.48 1528.81 196.54C1524.65 191.47 1522.57 184.19 1522.57 174.7V113.275H1505.02V104.5H1522.57V77.9801L1532.32 74.6651H1533.1V104.5H1560.59V113.275H1533.1V172.555C1533.1 180.355 1534.33 186.01 1536.8 189.52C1539.27 193.03 1543.17 194.785 1548.5 194.785C1553.83 194.785 1558.06 194.005 1561.18 192.445L1562.35 200.83C1558.19 202.91 1553.12 203.95 1547.14 203.95Z",fill:a}),e("path",{d:"M1661.53 157.54H1589.77C1590.42 169.37 1593.54 178.535 1599.13 185.035C1604.85 191.535 1612.65 194.785 1622.53 194.785C1628.51 194.785 1633.97 193.485 1638.91 190.885C1643.98 188.285 1647.95 184.645 1650.81 179.965L1657.24 186.4C1653.34 192.12 1648.4 196.475 1642.42 199.465C1636.57 202.455 1629.94 203.95 1622.53 203.95C1609.01 203.95 1598.35 199.465 1590.55 190.495C1582.88 181.525 1579.05 169.175 1579.05 153.445C1579.05 137.585 1582.82 125.17 1590.36 116.2C1597.9 107.1 1608.23 102.55 1621.36 102.55C1633.84 102.55 1643.66 106.84 1650.81 115.42C1657.96 124 1661.53 135.895 1661.53 151.105V157.54ZM1651.39 147.4C1651.39 136.48 1648.66 127.77 1643.2 121.27C1637.74 114.77 1630.46 111.52 1621.36 111.52C1611.74 111.52 1604.2 114.77 1598.74 121.27C1593.28 127.77 1590.29 137.065 1589.77 149.155H1651.39V147.4Z",fill:a}))}function Ve(a){const l=y({RowContainer:{display:"flex","& > :not(:last-child)":{"margin-right":"var(--sl-spacing-large)"}},Container:{display:"flex","flex-direction":"column","align-items":"center","font-size":"var(--sl-font-size-small)",color:"var(--sl-color-gray-600)","padding-top":`var(--sl-spacing-${a.paddingTop})`,"padding-right":`var(--sl-spacing-${a.paddingRight})`,"padding-bottom":`var(--sl-spacing-${a.paddingBottom})`,"padding-left":`var(--sl-spacing-${a.paddingLeft})`,"row-gap":"var(--sl-spacing-small)","& a:hover":{color:"var(--sl-color-gray-900)"}},SupportText:{textAlign:"center",margin:0},PoweredByLink:{color:"var(--sl-color-gray-400)","font-size":"var(--sl-font-size-small)",display:"flex",alignItems:"center",svg:{marginTop:"2px",shapeRendering:"geometricprecision"},"&:hover, &:hover *":{color:"var(--sl-color-gray-900)"}}}),t=l.toString();return e("div",{class:l.classes.Container,part:"sqm-base"},e("style",{type:"text/css"},"\n :host{\n margin: 0 auto;\n width: 100%;\n }\n a{\n cursor:pointer;\n color: inherit;\n text-decoration: none;\n }\n",t),e("div",{class:l.classes.RowContainer},a.faqLink&&e("a",{target:"_blank",href:a.faqLink},a.faqText),a.termsLink&&e("a",{target:"_blank",href:a.termsLink},a.termsText)),!a.hideSupportText&&e("p",{class:l.classes.SupportText},n.formatMessage({id:"supportFooter",defaultMessage:a.supportText},{email:e("a",{target:"_blank",href:`mailto:${a.supportEmail}`},a.supportEmail)})),!a.hidePoweredBy&&e("a",{class:l.classes.PoweredByLink,target:"_blank",href:a.poweredByLink},"Powered by ",e(Te,{color:"currentColor"})))}const Le=["var(--sl-spacing-xxx-small)","var(--sl-spacing-xx-small)","var(--sl-spacing-x-small)","var(--sl-spacing-small)","var(--sl-spacing-medium)","var(--sl-spacing-large)","var(--sl-spacing-x-large)","var(--sl-spacing-xx-large)","var(--sl-spacing-xxx-large)","var(--sl-spacing-xxxx-large)"],Ae=e=>e?A(e)?e:`url(${e})`:"";function ze(a){const{states:l,content:t}=a,r=(e,a)=>{var l={small:7,medium:8,large:9}[e];return z(767)?l-=2:z(1023)&&(l-=1),a?Le[l-2]:Le[l]},i=e=>"small"==e?"1%":"medium"==e?"3%":"5%",s={TwoColumnContainer:{display:"flex","@media screen and (max-width: 1023px)":{flexDirection:"wrap-reverse"==l.wrapDirection?"column-reverse":"column",justfiyContent:"center"}},ColumnPadding:{paddingTop:"none"==l.paddingSize?"0px":r(l.paddingSize),paddingBottom:"none"==l.paddingSize?"0px":r(l.paddingSize),paddingLeft:"none"==l.paddingSize?"0px":i(l.paddingSize),paddingRight:"none"==l.paddingSize?"0px":i(l.paddingSize)},ColumnWrapper:{"&:first-of-type":{background:`no-repeat center/cover ${Ae(l.background)}`},"&:last-of-type":{background:`no-repeat center/cover ${Ae(l.secondaryBackground)}`},"@media screen and (min-width: 1023px)":{flex:"1 1 0"},minHeight:`${l.minHeight}px`,display:"block"},SingleColumnContainer:{background:`no-repeat center/cover ${Ae(l.background)}`,minHeight:`${l.minHeight}px`},Container:{width:"100%",maxWidth:"var(--sqm-max-width)",margin:"0 auto",flex:1,display:"flex",flexDirection:"column",minHeight:"100%"}},o=y(s),n=o.toString();return e("div",{class:o.classes.Container,part:"sqm-base"},e("style",{type:"text/css"},"\n :host{ \n height: 100%;\n display: contents;\n }\n sqm-hero{ \n height: 100%;\n display: contents;\n }\n img{\n max-width: 100%;\n height: auto;\n }\n \n",n),2==l.columns?e("div",{class:o.classes.TwoColumnContainer,part:"sqm-two-col-container"},e("div",{part:"sqm-two-col-primary-col",class:`${o.classes.ColumnWrapper} ${o.classes.ColumnPadding}`},t.primaryColumn),e("div",{part:"sqm-two-col-secondary-col",class:`${o.classes.ColumnWrapper} ${o.classes.ColumnPadding}`},t.secondaryColumn)):e("div",{part:"sqm-single-col",class:`${o.classes.SingleColumnContainer} ${o.classes.ColumnPadding}`},t.primaryColumn))}function He(a){const{states:l,data:t}=a,{content:r}=l,i=y({Container:{position:"relative",width:r.iframeWidth,height:r.iframeHeight},IFrame:{position:"absolute",width:"100%",height:"100%",border:"0",top:"0",left:"0",right:"0"}}),s=i.toString();return e("div",{class:i.classes.Container},e("style",{type:"text/css"},s),e("iframe",{class:i.classes.IFrame,src:`${r.iframeSrc}?rsCode=${t.shareCode}`}))}const Be=y({ErrorStyle:E,FieldsContainer:{"& sl-input":{"margin-bottom":"var(--sl-spacing-large)"}}}),De=Be.toString();function Fe(a){var l,t,r,i,s,o,n,d,c,u,p,v,m;const{states:g}=a,f=null===(l=null==g?void 0:g.registrationFormState)||void 0===l?void 0:l.validationErrors;return e("div",{class:Be.classes.FieldsContainer},e("style",{type:"text/css"},"\n:host {\n margin: 0 auto;\n width: 100%;\n display: block;\n}\n\nsl-input::part(label){\n font-size: var(--sl-input-label-font-size-small);\n font-weight: var(--sl-font-weight-semibold);\n}\n",De),e("sl-input",Object.assign({exportparts:"label: input-label, base: input-base",name:"/firstName",type:"text",label:g.content.firstNameLabel,required:!0,disabled:(null===(t=g.registrationFormState)||void 0===t?void 0:t.loading)||(null===(r=g.registrationFormState)||void 0===r?void 0:r.disabled)},(null===(s=null===(i=g.registrationFormState)||void 0===i?void 0:i.initialData)||void 0===s?void 0:s.firstName)?{value:null===(n=null===(o=g.registrationFormState)||void 0===o?void 0:o.initialData)||void 0===n?void 0:n.firstName}:{},(null==f?void 0:f.firstName)?{class:Be.classes.ErrorStyle,helpText:(null==f?void 0:f.firstName)||"Cannot be empty"}:[])),e("sl-input",Object.assign({exportparts:"label: input-label, base: input-base",name:"/lastName",type:"text",label:g.content.lastNameLabel,required:!0,disabled:(null===(d=g.registrationFormState)||void 0===d?void 0:d.loading)||(null===(c=g.registrationFormState)||void 0===c?void 0:c.disabled)},(null===(p=null===(u=g.registrationFormState)||void 0===u?void 0:u.initialData)||void 0===p?void 0:p.lastName)?{value:null===(m=null===(v=g.registrationFormState)||void 0===v?void 0:v.initialData)||void 0===m?void 0:m.lastName}:{},(null==f?void 0:f.lastName)?{class:Be.classes.ErrorStyle,helpText:(null==f?void 0:f.lastName)||"Cannot be empty"}:[])))}C.setup(w());const Pe=C.createStyleSheet({ErrorStyle:{"--sl-input-border-color":"var(--sl-color-danger-500)","--sl-input-background-color":"var(--sl-color-danger-10)","--sl-input-border-color-focus":"var(--sl-color-danger-500)","--sl-input-border-color-hover":"var(--sl-color-danger-500)"},ErrorMessageStyle:{margin:0,color:"var(--sl-color-danger-500)",fontSize:"var(--sl-input-help-text-font-size-medium)"},FieldContainer:{"margin-bottom":"var(--sl-spacing-medium)"}}),je=Pe.toString();function Ue(a){var l,t,r,i,s,o,d;const{states:c,content:u}=a,p=null===(l=null==c?void 0:c.registrationFormState)||void 0===l?void 0:l.validationErrors;return e("div",{class:Pe.classes.FieldContainer,part:"sqm-base"},e("style",{type:"text/css"},"\n:host {\n margin: 0 auto;\n width: 100%;\n display: block;\n}\nsl-select::part(label){\n font-size: var(--sl-input-label-font-size-small);\n font-weight: var(--sl-font-weight-semibold);\n}\n",je),e("sl-select",Object.assign({exportparts:"label: input-label, base: input-base",label:u.dropdownLabel,name:`/${u.dropdownName}`},u.dropdownOptional?[]:{required:!0},{disabled:(null===(t=c.registrationFormState)||void 0===t?void 0:t.loading)||(null===(r=c.registrationFormState)||void 0===r?void 0:r.disabled)},(null===(s=null===(i=c.registrationFormState)||void 0===i?void 0:i.initialData)||void 0===s?void 0:s[u.dropdownName])?{value:null===(d=null===(o=c.registrationFormState)||void 0===o?void 0:o.initialData)||void 0===d?void 0:d[u.dropdownName]}:{},(null==p?void 0:p[u.dropdownName])?{class:Pe.classes.ErrorStyle}:[]),u.selectOptions),(null==p?void 0:p[u.dropdownName])&&e("p",{class:Pe.classes.ErrorMessageStyle},n.formatMessage({id:`errorMessage-${u.dropdownName}`,defaultMessage:u.errorMessage})))}const Ze={ErrorStyle:E,FieldContainer:{"margin-bottom":"var(--sl-spacing-large)"}};C.setup(w());const We=C.createStyleSheet(Ze),Ne=We.toString();function Oe(a){var l,t,r,i,s,o,d;const{states:c,content:u}=a,p=null===(l=null==c?void 0:c.registrationFormState)||void 0===l?void 0:l.validationErrors;return e("div",{class:We.classes.FieldContainer,part:"sqm-base"},e("style",{type:"text/css"},"\n:host {\n margin: 0 auto;\n width: 100%;\n display: block;\n}\n",Ne),e("sl-input",Object.assign({exportparts:"label: input-label, base: input-base",name:`/${u.fieldName}`,type:u.fieldType,label:u.fieldLabel},u.fieldOptional?[]:{required:!0},{disabled:(null===(t=c.registrationFormState)||void 0===t?void 0:t.loading)||(null===(r=c.registrationFormState)||void 0===r?void 0:r.disabled)},(null===(s=null===(i=c.registrationFormState)||void 0===i?void 0:i.initialData)||void 0===s?void 0:s[u.fieldName])?{value:null===(d=null===(o=c.registrationFormState)||void 0===o?void 0:o.initialData)||void 0===d?void 0:d[u.fieldName]}:{},(null==p?void 0:p[u.fieldName])?{class:We.classes.ErrorStyle,helpText:n.formatMessage({id:`errorMessage-${u.fieldName}`,defaultMessage:u.errorMessage||(null==p?void 0:p[u.fieldName])})}:[])))}const Ge=()=>e("svg",{width:12,height:10,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M11.58.23c.475.371.56 1.057.19 1.532L5.69 9.554a1.091 1.091 0 0 1-1.631.1L.32 5.915a1.09 1.09 0 1 1 1.542-1.542L4.73 7.239 10.049.42A1.09 1.09 0 0 1 11.58.23Z",fill:"#fff"})),Xe=()=>e("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("path",{d:"M0 9C0 4.02944 4.02944 0 9 0C13.9706 0 18 4.02944 18 9C18 13.9706 13.9706 18 9 18C4.02944 18 0 13.9706 0 9Z",fill:"currentColor"}),e("path",{d:"M5.68394 8.77046C5.28103 8.39273 4.64819 8.41315 4.27046 8.81606C3.89273 9.21897 3.91315 9.85181 4.31606 10.2295L5.68394 8.77046ZM7.66667 12L6.98273 12.7295C7.36738 13.0902 7.96595 13.0902 8.35061 12.7295L7.66667 12ZM13.6839 7.72954C14.0869 7.35181 14.1073 6.71897 13.7295 6.31606C13.3518 5.91315 12.719 5.89273 12.3161 6.27046L13.6839 7.72954ZM4.31606 10.2295L6.98273 12.7295L8.35061 11.2705L5.68394 8.77046L4.31606 10.2295ZM8.35061 12.7295L13.6839 7.72954L12.3161 6.27046L6.98273 11.2705L8.35061 12.7295Z",fill:"white"})),Qe=()=>e("svg",{width:156,height:157,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("path",{d:"M40.18 126h83.663a3 3 0 0 0 3-3V73.966a3 3 0 0 0-3-3H40.18a3 3 0 0 0-3 3V123a3 3 0 0 0 3 3Z",fill:"#FFD34F"}),e("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M37.18 73.862v7.966h89.663v-7.966H37.18Z",fill:"#E9BB30"}),e("path",{d:"M133.039 74.224a2.18 2.18 0 0 0 2.187-2.172v-19.19c0-1.2-.98-2.172-2.187-2.172H31.347a2.18 2.18 0 0 0-2.187 2.172v19.19c0 1.2.98 2.172 2.187 2.172H133.04Z",fill:"#FFC000"}),e("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M123.287 35.172c0 6.056-9.155 15.226-13.76 15.654H88.888V126H75.141V50.826H58.534c-9.462-2.038-17.803-9.258-17.803-16.944 0-7.49 3.274-13.422 9.23-15.983 5.693-2.446 12.265-1.105 17.46 2.479 6.378 4.398 9.956 12.654 13.202 20.144.284.657.567 1.308.848 1.95.274-.608.55-1.228.83-1.856 3.216-7.22 6.887-15.464 13.057-19.89 5.454-3.913 12.387-5.39 18.38-2.711 6.197 2.77 9.549 9.127 9.549 17.157Zm-23.306-8.266c3.305-2.37 7.262-2.8 10.645 0 2.946 2.44 3.103 3.588 3.482 6.351l.067.483c0 4.09-3.549 10.252-7.097 10.252-2.515 0-4.489-.022-6.34-.041-3.375-.036-6.337-.068-11.403.04.966-1.86 1.737-3.644 2.473-5.346 1.967-4.553 3.678-8.515 8.173-11.739Zm-39.034 0c-1.6-1.103-5.268-.61-6.79.043-1.257.54-3.134 2.19-3.134 6.933 0 4.61 7.511 8.59 7.511 8.59s5.962 1.52 16.607 1.52c-3.624-8.922-8.757-13.336-14.194-17.086Z",fill:"#EB5757"}),e("path",{d:"M75.086 74.224h13.85v7.604h-13.85v-7.604Z",fill:"#DD4747"}),e("g",{filter:"url(#a)"},e("ellipse",{cx:82.008,cy:141.207,rx:36.813,ry:5.793,fill:"#E0DDDD","fill-opacity":.8})),e("path",{d:"M150.446 79.134a.5.5 0 0 1 .9 0l1.133 2.336c.05.102.132.184.234.233l2.344 1.122a.5.5 0 0 1 0 .902l-2.344 1.122a.503.503 0 0 0-.234.233l-1.133 2.336a.5.5 0 0 1-.9 0l-1.134-2.336a.499.499 0 0 0-.234-.233l-2.343-1.122a.5.5 0 0 1 0-.902l2.343-1.122a.499.499 0 0 0 .234-.233l1.134-2.336Z",fill:"#FAB6B6"}),e("path",{d:"M14.86 29.168a.5.5 0 0 1 .9 0l1.133 2.336a.5.5 0 0 0 .234.233l2.344 1.122a.5.5 0 0 1 0 .902l-2.344 1.122a.5.5 0 0 0-.234.233l-1.133 2.336a.5.5 0 0 1-.9 0l-1.134-2.336a.5.5 0 0 0-.234-.233l-2.343-1.122a.5.5 0 0 1 0-.902l2.344-1.122a.5.5 0 0 0 .233-.233l1.134-2.336Z",fill:"#F4EFBC"}),e("path",{d:"m125.382 0 .712 1.466 1.475.706-1.475.707-.712 1.466-.711-1.466-1.476-.707 1.476-.706.711-1.466Z",fill:"#FDA802"}),e("path",{d:"m2.187 103.552.711 1.466 1.476.706-1.476.707-.711 1.466-.711-1.466L0 105.724l1.476-.706.71-1.466Z",fill:"#E4599C"}),e("defs",null,e("filter",{id:"a",x:35.195,y:125.414,width:93.625,height:31.586,filterUnits:"userSpaceOnUse","color-interpolation-filters":"s-rGB"},e("feFlood",{"flood-opacity":0,result:"BackgroundImageFix"}),e("feBlend",{in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),e("feGaussianBlur",{stdDeviation:5,result:"effect1_foregroundBlur_653_17907"}))));function Ke({active:a,completed:l,incomplete:t,stage:r}){return e("div",{style:{display:"flex"}},e("div",{style:{backgroundColor:l?"var(--sl-color-success-500)":t?"var(--sl-color-neutral-200)":"var(--sl-color-neutral-0)",border:a?"1px solid var(--sl-color-success-500)":t?"1px solid var(--sl-color-neutral-200)":"1px solid var(--sl-color-success-500)",borderRadius:"50%",width:"23px",height:"23px",margin:"-11px",zIndex:"1",boxSizing:"content-box"}},l?e("div",{style:{top:"-10.5%",left:"23.5%",position:"relative"}},e(Ge,null)):e("div",{style:{color:a?"var(--sl-color-success-500)":"var(--sl-color-neutral-50)",width:"23px",lineHeight:"24px",textAlign:"center",position:"relative"}},r+1)))}function Ye({incomplete:a=!1,active:l=!1,invisible:t=!1}){return e("div",{style:{content:"''",flex:"0.5 0.5 0",height:"4px",borderRadius:"4px",background:a||l?"var(--sl-color-neutral-200)":"var(--sl-color-success-500)",position:"relative",bottom:"0",left:"0",display:"flex",justifyContent:"center",columnGap:"50px",marginRight:"-2px",boxSizing:"content-box",opacity:t?"0":"1"}})}function Je({active:a,completed:l,incomplete:t,stage:r}){return[e(Ye,{incomplete:t,invisible:0===r}),e(Ke,{active:a,completed:l,incomplete:t,stage:r}),e(Ye,{incomplete:t,active:a,invisible:2===r})]}function ea({stageCount:a,currentStage:l}){return e("div",{style:{display:"flex",columnGap:"-2px"}},Array.from(Array(a).keys()).map((a=>e(Je,{active:l===a,completed:l>a,incomplete:l<a,stage:a}))))}const aa=y({HostBlock:$,Container:{minWidth:"300px",position:"relative"},FullImage:{objectFit:"contain",maxWidth:"100%",height:"250px",display:"flex",margin:"0 auto"},Select:{"&::part(label)":{},"&::part(menu)":{maxHeight:"450px"},"& sl-menu-item::part(checked-icon)":{top:"8px"},"& sl-menu-item::part(base)":{flexDirection:"column"},"& sl-menu-item::part(base):focus":{background:"transparent",color:"var(--sl-color-gray-700)"}},ProgressBar:{maxWidth:"350px",width:"100%",margin:"auto",marginBottom:"var(--sl-spacing-xxx-large)","& .text-area":{marginTop:"5px",display:"flex",justifyContent:"center",textAlign:"center",whiteSpace:"nowrap",marginBottom:"6px","& .text":{marginBottom:"var(--sl-spacing-x-small)",flex:"1 1 0"},"& .text.subdued":{color:"var(--sl-color-neutral-200)"}}},CardLayout:{display:"flex",width:"100%",borderRadius:"3px",background:"rgba(0, 0, 0, 0)"},Card:{display:"flex",userSelect:"none",height:"120px","&::part(base)":{boxShadow:"none",width:"100%"},"&::part(body)":{display:"flex",padding:0},"& .selected":{position:"relative",top:"-2%",left:"100%",color:"var(--sl-color-primary-500)",margin:"-9px"}},Title:{fontSize:"var(--sl-font-size-large)",fontWeight:"var(--sl-font-weight-semibold)",margin:"var(--sl-spacing-large) 0"},Image:{padding:"var(--sl-spacing-small)",minWidth:"96px",maxWidth:"96px","& .image":{width:"100%",height:"100%",objectFit:"contain",borderRadius:"4px"},"& .image.subdued":{filter:"brightness(0.95)",opacity:"0.5"}},TextArea:{textAlign:"left",padding:"var(--sl-spacing-small)",paddingLeft:"0","& .title":{fontSize:"var(--sl-font-size-medium)",lineHeight:"var(--sl-line-height-dense)",fontWeight:"600",color:"var(--sl-color-neutral-1000)",display:"-webkit-box","-webkit-line-clamp":"1","-webkit-box-orient":"vertical",overflow:"hidden"},"& .amount":{fontSize:"var(--sl-font-size-small)",lineHeight:"var(--sl-line-height-dense)",marginTop:"var(--sl-spacing-x-small)",color:"var(--sl-color-neutral-500)",display:"-webkit-box","-webkit-line-clamp":"1","-webkit-box-orient":"vertical",overflow:"hidden"},"& .error":{fontSize:"var(--sl-font-size-small)",lineHeight:"var(--sl-line-height-dense)",marginTop:"var(--sl-spacing-x-small)",fontWeight:"600",color:"var(--sl-color-warning-600)",display:"-webkit-box","-webkit-line-clamp":"1","-webkit-box-orient":"vertical",overflow:"hidden","& .icon":{position:"relative",top:"0.1em",marginRight:"var(--sl-spacing-xx-small)"}}},ChooseAmount:{maxWidth:"800px",margin:"auto","& .wrapper":{display:"flex",gap:"var(--sl-spacing-xx-large)","@media (max-width: 799px)":{flexDirection:"column"}},"& .image":{width:"50%",objectFit:"contain",maxWidth:"100%",height:"250px",display:"flex","@media (max-width: 799px)":{width:"auto"}},"& .text":{width:"50%",maxWidth:"400px","@media (max-width: 799px)":{width:"auto",margin:"auto"}},"& .title":{fontSize:"var(--sl-font-size-large)",fontWeight:"var(--sl-font-weight-semibold)",color:"var(--sl-color-neutral-1000)"},"& .points":{fontSize:"var(--sl-font-size-large)",fontWeight:"var(--sl-font-weight-semibold)",color:"var(--sl-color-primary-500)"},"& .description":{fontSize:"var(--sl-font-size-medium)",fontWeight:"var(--sl-font-weight-normal)",color:"var(--sl-color-neutral-500)",margin:"var(--sl-spacing-medium) 0",lineHeight:"var(--sl-line-height-dense)",marginTop:"var(--sl-spacing-xx-small)"},"& .space":{marginBottom:"var(--sl-spacing-xxx-large)"},"& sl-menu-item[disabled]::part(label)":{color:"var(--sl-color-neutral-300)"},"& sl-menu-item[disabled]":{"& .step-cost":{color:"var(--sl-color-neutral-300)"},"& .step-value":{color:"var(--sl-color-neutral-300)"}}},SelectItem:{display:"flex",flexDirection:"column","&::part(label)":{color:"var(--sl-color-neutral-900)",margin:"0"},"& .step-cost":{color:"var(--sl-color-neutral-500)",marginBottom:"var(--sl-spacing-x-small)"},"& .step-unavailable":{fontSize:"var(--sl-font-size-small)",color:"var(--sl-color-warning-500)",margin:"0"}},Success:{textAlign:"center","& .title":{fontSize:"var(--sl-font-size-large)",fontWeight:"var(--sl-font-weight-semibold)",color:"var(--sl-color-neutral-1000)"},"& .description":{color:"var(--sl-color-neutral-400)",maxWidth:"350px",margin:"0 auto",lineHeight:"var(--sl-line-height-dense)",marginBottom:"var(--sl-spacing-xx-large)",marginTop:"var(--sl-spacing-xx-small)"},"& .promo":{maxWidth:"350px",margin:"-30px auto var(--sl-spacing-xxx-large) auto",textAlign:"left",color:"var(--sl-color-neutral-700)"}},Grid:{display:"grid",justifyContent:"center",gap:"20px",gridTemplateColumns:"repeat(auto-fill, minmax(300px, 1fr))"},Confirmation:{maxWidth:"800px",margin:"auto","& .wrapper":{display:"flex","@media (max-width: 499px)":{flexDirection:"column"}},"& .reward-item-container":{"@media (max-width: 499px)":{display:"flex",flexDirection:"row-reverse",justifyContent:"flex-end",alignItems:"center"}},"& .reward-item-container .reward-title":{paddingBottom:"var(--sl-spacing-medium)",lineHeight:"20px","@media (max-width: 499px)":{paddingBottom:"none",paddingLeft:"var(--sl-spacing-small)"}},"& .padding":{padding:"var(--sl-spacing-medium) 0","@media (max-width: 499px)":{padding:"var(--sl-spacing-small) 0"}},"& .field":{width:"30%",textTransform:"uppercase",fontSize:"var(--sl-font-size-medium)",fontWeight:"var(--sl-font-weight-normal)",color:"var(--sl-color-neutral-400)",textAlign:"left",paddingRight:"var(--sl-spacing-xxx-large)","@media (max-width: 499px)":{width:"100%",paddingRight:"0",paddingBottom:"0"}},"& .value":{fontSize:"var(--sl-font-size-large)",fontWeight:"var(--sl-font-weight-semibold)"},"& .top-border":{borderTop:"1px solid var(--sl-color-neutral-200)"},"& .image":{width:"200px","@media (max-width: 499px)":{width:"100px"}}},Button:{display:"flex",flexWrap:"wrap-reverse",margin:"var(--sl-spacing-medium) 0","& .cancel":{marginLeft:"auto",marginRight:"var(--sl-spacing-medium)","&::part(base)":{fontWeight:"var(--sl-font-weight-normal)",color:"var(--sl-color-neutral-1000)"},"@media (max-width: 499px)":{width:"100%",marginRight:"0",marginTop:"var(--sl-spacing-small)"}},"& .continue":{"&::part(base)":{background:"var(--sl-color-primary-500)",borderColor:"var(--sl-color-primary-500)",fontWeight:"var(--sl-font-weight-normal)",color:"var(--sl-color-neutral-0)"},"@media (max-width: 499px)":{width:"100%"}},"& .continue.right":{marginLeft:"auto"},"& .continue.center":{margin:"0 auto"}},Confetti:{pointerEvents:"none",position:"absolute",width:"100%",height:"100%",top:"0%",left:"0%",zIndex:"1"}}),la=aa.toString(),ta=["chooseReward","chooseAmount","confirmation","success"];function ra(a){const{states:t,data:r,callbacks:i,refs:s}=a,{selectedItem:o,selectedStep:d}=t,c={chooseReward:t.content.text.chooseRewardTitle,chooseAmount:t.content.text.chooseAmountTitle,confirmation:t.content.text.confirmationTitle};const u={chooseReward:()=>{return[e("div",{part:"choose-reward-container"},e("div",{class:aa.classes.Title},t.content.text.rewardTitle),t.loading||t.queryError?e("div",{class:aa.classes.Grid,part:"loading-container"},[...Array(t.content.text.skeletonCardNum)].map((()=>e("div",null,e("sl-card",{class:aa.classes.Card},e("div",{class:aa.classes.CardLayout},e("div",null,e("sl-skeleton",{style:{width:"100px",height:"100px",margin:"9px","--border-radius":"4px"}})),e("div",{style:{margin:"var(--sl-spacing-small) var(--sl-spacing-small) 0 0",width:"100%"}},e("sl-skeleton",{style:{marginBottom:"var(--sl-spacing-small)"}}),e("sl-skeleton",{style:{marginBottom:"var(--sl-spacing-small)"}}),e("sl-skeleton",{style:{width:"45%"}})))))))):e("div",{class:aa.classes.Grid},null===(a=r.exchangeList)||void 0===a?void 0:a.map((a=>{var r,s,d,c,u;return e("div",{key:a.key,style:{boxShadow:a.key===(null==o?void 0:o.key)?"0 0 0 2px var(--sl-color-primary-500)":"none",borderRadius:"4px"}},e("sl-card",{exportparts:"base: exchange-card-container",class:aa.classes.Card,style:{cursor:a.unavailableReasonCode?"not-allowed":"pointer"},onClick:()=>a.available&&i.setExchangeState({selectedItem:a})},a.key===(null==o?void 0:o.key)&&e("div",{class:"selected"},e(Xe,null)),e("div",{style:{display:"flex",width:"100%",height:"120px",borderRadius:"3px",background:a.unavailableReasonCode?"rgba(0, 0, 0, 0.05)":"rgba(0, 0, 0, 0)"}},e("div",{class:aa.classes.Image,style:{opacity:a.unavailableReasonCode?"0.5":"1"}},e("img",{class:a.unavailableReasonCode?"image subdued":"image",src:(null==a?void 0:a.imageUrl)||l("./assets/Reward-image.png")})),e("div",{class:aa.classes.TextArea,style:{opacity:a.unavailableReasonCode?"0.5":"1"}},e("div",{class:"title",style:{"-webkit-line-clamp":a.unavailableReasonCode?"1":"2"}},null!==(r=a.name)&&void 0!==r?r:""),e("div",{class:"amount",style:{"-webkit-line-clamp":a.unavailableReasonCode?"1":"2"}},n.formatMessage({id:"sourceAmountMessage",defaultMessage:null===(d=null===(s=t.content)||void 0===s?void 0:s.text)||void 0===d?void 0:d.sourceAmountMessage},{ruleType:a.ruleType,sourceValue:a.prettySourceValue,sourceMinValue:a.prettySourceMinValue,sourceMaxValue:a.prettySourceMaxValue})),a.unavailableReasonCode&&e("div",{class:"error"},e("sl-icon",{class:"icon",name:"exclamation-triangle-fill"}),n.formatMessage({id:"unavailableCode",defaultMessage:null===(u=null===(c=t.content)||void 0===c?void 0:c.text)||void 0===u?void 0:u.notAvailableError},{unavailableReasonCode:a.unavailableReasonCode,sourceUnit:a.sourceUnit,sourceValue:a.prettySourceValue||a.prettySourceMinValue}))))))}))),e("div",{class:aa.classes.Button},e("sl-button",{exportparts:"base: primarybutton-base",class:"continue right",size:"large",onClick:()=>i.setStage("chooseAmount"),loading:t.loading,disabled:!t.selectedItem},t.content.text.continueText)))];var a},chooseAmount:()=>function(){var a,r,s,d;const c=function(){var a,l,r;const s=t.selectedItem;return s&&"FIXED_GLOBAL_REWARD"!==(null==s?void 0:s.ruleType)?(null===(a=s.steps)||void 0===a?void 0:a.length)?e("sl-select",{style:{width:"auto"},label:null===(l=null==t?void 0:t.content)||void 0===l?void 0:l.text.selectText,class:aa.classes.Select,value:t.selectedStep,"onSl-select":e=>{var a,l,t,r,s;return i.setExchangeState({amount:null===(t=null===(l=null===(a=e.detail)||void 0===a?void 0:a.item)||void 0===l?void 0:l.value)||void 0===t?void 0:t.sourceValue,selectedStep:null===(s=null===(r=e.detail)||void 0===r?void 0:r.item)||void 0===s?void 0:s.value})}},null===(r=s.steps)||void 0===r?void 0:r.map((a=>{var l,r;return e("sl-menu-item",{value:a,disabled:!a.available,class:aa.classes.SelectItem},a.prettyDestinationValue,e("br",null),e("div",{class:"step-cost",slot:"suffix"},a.prettySourceValue,a.unavailableReasonCode&&e("p",{class:"step-unavailable"},n.formatMessage({id:"unavailableCode",defaultMessage:null===(r=null===(l=t.content)||void 0===l?void 0:l.text)||void 0===r?void 0:r.notAvailableError},{unavailableReasonCode:a.unavailableReasonCode,sourceUnit:s.sourceUnit,sourceValue:a.prettySourceValue||s.prettySourceMinValue}))))}))):e("p",null,n.formatMessage({id:"notEnoughError",defaultMessage:t.content.text.notEnoughError},{sourceUnit:s.sourceUnit})):e("span",{class:"points"},null==s?void 0:s.prettySourceValue)}(),u="FIXED_GLOBAL_REWARD"!==(null===(a=t.selectedItem)||void 0===a?void 0:a.ruleType)&&c&&!t.amount;return e("div",null,e("div",{class:aa.classes.ChooseAmount,part:"choose-amount-container"},e("div",{class:"wrapper"},e("img",{class:"image",src:(null==o?void 0:o.imageUrl)||l("./assets/Reward-image.png")}),e("div",{class:"text"},e("div",{class:"title"},null!==(r=null==o?void 0:o.name)&&void 0!==r?r:""),"FIXED_GLOBAL_REWARD"===(null===(s=t.selectedItem)||void 0===s?void 0:s.ruleType)?e("div",{class:"points"},c):e("div",{class:"description"},null==o?void 0:o.description),"FIXED_GLOBAL_REWARD"===(null===(d=t.selectedItem)||void 0===d?void 0:d.ruleType)?e("div",{class:"description"},null==o?void 0:o.description):e("div",null,c),e("div",{class:"space"}))),e("div",{class:aa.classes.Button},e("sl-button",{exportparts:"base: secondarybutton-base",class:"cancel",size:"large",type:"text",onClick:()=>i.resetState()},t.content.text.cancelText),e("sl-button",{exportparts:"base: primarybutton-base",class:"continue",size:"large",onClick:()=>i.setStage("confirmation"),disabled:u},t.content.text.continueToConfirmationText))))}(),confirmation:()=>function(){const a=(null==d?void 0:d.prettySourceValue)||o.prettySourceValue,r=null==d?void 0:d.prettyDestinationValue;return e("div",null,e("div",{class:aa.classes.Confirmation,part:"confirmation-container"},e("div",{class:aa.classes.Title},t.content.text.redeemTitle),e("div",{class:"wrapper"},e("div",{class:"field"},t.content.text.rewardNameTitle),e("div",{class:"reward-item-container"},e("div",{class:"reward-title"},o.name),e("img",{class:"image",src:(null==o?void 0:o.imageUrl)||l("./assets/Reward-image.png")}))),e("div",{class:"wrapper padding"},e("div",{class:"field"})),r&&e("div",{class:"wrapper top-border padding"},e("div",{class:"field"},t.content.text.rewardAmountTitle),e("div",null,r)),e("div",{class:"wrapper top-border padding"},e("div",{class:"field"},t.content.text.costTitle),e("div",{class:"value"},a)),e("div",{class:aa.classes.Button},e("sl-button",{class:"cancel",type:"text",size:"large",onClick:()=>i.setStage("chooseAmount")},t.content.text.backText),e("sl-button",{class:"continue",size:"large",loading:t.loading,onClick:i.exchangeReward},t.content.text.redeemText))))}(),success:()=>{return e("div",{class:aa.classes.Success,part:"success-container"},e(Qe,null),e(p,null),e("div",{class:"title"},null===(a=t.content.text)||void 0===a?void 0:a.rewardRedeemedText),e("div",{class:"description"},n.formatMessage({id:"successMessage",defaultMessage:t.content.text.redemptionSuccessText},{sourceValue:null!==(l=t.selectedItem.prettySourceValue)&&void 0!==l?l:null===(s=t.selectedStep)||void 0===s?void 0:s.prettySourceValue,destinationValue:(null===(o=t.selectedStep)||void 0===o?void 0:o.prettyDestinationValue)||(null===(d=t.selectedItem)||void 0===d?void 0:d.name)||t.selectedItem.globalRewardKey})),(null==r?void 0:r.fuelTankCode)&&e("div",{class:"promo"},t.content.text.promoCode,e(M,{copyString:r.fuelTankCode,tooltiptext:null===(c=null==t?void 0:t.content)||void 0===c?void 0:c.text.tooltipText,open:t.open,onClick:i.copyFuelTankCode})),e("div",{class:aa.classes.Button},e("sl-button",{class:"continue center",type:"primary",size:"large",onClick:()=>i.resetState(!0)},t.content.text.doneText)));var a,l,s,o,d,c}}[t.redeemStage];function p(){return e("canvas",{ref:e=>{(null==s?void 0:s.canvasRef)&&(s.canvasRef.current=e)},id:"my-canvas",class:aa.classes.Confetti})}return t.noExchangeOptions?t.content.text.empty:e("div",{class:aa.classes.Container,part:"sqm-base"},e("style",{type:"text/css"},la),e("div",null,function(){const a=ta.indexOf(t.redeemStage);return e("div",{class:aa.classes.ProgressBar},e("div",{class:"text-area"},Object.keys(c).map((l=>ta.indexOf(l)<=a?e("span",{class:"text"},c[l]):e("span",{class:"text subdued"},c[l])))),e(ea,{stageCount:3,currentStage:a}))}(),t.exchangeError&&e("sl-alert",{type:"danger",open:!0},e("sl-icon",{slot:"icon",name:"exclamation-octagon"}),t.content.text.redemptionError),t.queryError&&!t.exchangeError&&e("sl-alert",{type:"danger",open:!0},e("sl-icon",{slot:"icon",name:"exclamation-octagon"}),t.content.text.queryError),u&&u(),"success"===t.redeemStage))}const ia=(a,l="chooseReward",t=null,r=null,i=!1,s=!1,o=null,n=!1,d=!1)=>({states:{content:{text:{notAvailableError:"{unavailableReasonCode, select, NOT_CHAMPION {CUSTOM ERROR MESSAGE } US_TAX {Exceeds tax limit for this year} INSUFFICIENT_REDEEMABLE_CREDIT {{sourceValue} required} AVAILABILITY_PREDICATE {Not available} other {unavailableReasonCode} }",chooseRewardTitle:"Rewards",chooseAmountTitle:"Select",confirmationTitle:"Confirm",rewardTitle:"Choose a reward",cancelText:"Cancel",backText:"Back",continueText:"Continue",continueToConfirmationText:"Continue to confirmation",redeemText:"Redeem",redeemTitle:"Confirm and redeem",redemptionSuccessText:"Redeemed {sourceValue} for {destinationValue}",doneText:"Done",tooltipText:"Copied!",selectText:"Select amount to receive",sourceAmountMessage:"{ruleType, select, FIXED_GLOBAL_REWARD {{sourceValue}} other {{sourceMinValue} to {sourceMaxValue}}}",rewardRedeemedText:"Reward redeemed",redemptionError:"An error occured trying to redeem this reward. Please try again",queryError:"Unable to load reward exchange list. Please try again",promoCode:"Promo code",skeletonCardNum:8,rewardNameTitle:"Reward Name",rewardAmountTitle:"Reward Amount",costTitle:"Cost",notEnoughError:"Sorry not enough!",empty:e("sqm-empty",{emptyStateImage:"https://res.cloudinary.com/saasquatch/image/upload/v1644360953/squatch-assets/empty_exchange2.png",emptyStateHeader:"Redeem rewards",emptyStateText:"Use your points to redeem rewards once they become available"})}},queryError:d,redeemStage:l,amount:0,exchangeError:i,loading:s,selectedItem:t,selectedStep:r,noExchangeOptions:n,open:!1},data:{exchangeList:a,fuelTankCode:o},callbacks:{exchangeReward:null,resetState:null,setStage:null,setExchangeState:null,copyFuelTankCode:null,refs:null},refs:null}),sa={key:"",name:"",description:"Description of reward. Lorem ipsum dolor sit amet, consectetur adipiscing. Id nec semper sapien dignissim rhoncus nunc.",imageUrl:"",available:!0,unavailableReasonCode:null,ruleType:"FIXED_GLOBAL_REWARD",sourceUnit:"POINT",sourceValue:10,prettySourceValue:"10 SaaSquatch Points",sourceMinValue:null,prettySourceMinValue:null,sourceMaxValue:null,prettySourceMaxValue:null,destinationMinValue:null,prettyDestinationMinValue:null,destinationMaxValue:null,prettyDestinationMaxValue:null,globalRewardKey:"",destinationUnit:null,steps:[]},oa={available:!1,unavailableReasonCode:"INSUFFICIENT_REDEEMABLE_CREDIT"},na={key:"r1"},da=e=>({imageUrl:e}),ca=e=>({name:e}),ua=e=>({description:e}),pa=e=>({prettySourceValue:e}),va=(e,a,l)=>({ruleType:"VARIABLE_CREDIT_REWARD",sourceMinValue:e,prettySourceMinValue:e+" "+l,sourceMaxValue:a,prettySourceMaxValue:a+" "+l}),ma=[{...sa,...ca("Free swag with a promo code"),...da("https://res.cloudinary.com/saasquatch/image/upload/v1643653103/squatch-assets/default_rewards_1.png"),...pa("40 Points")},{...sa,...na,...ca("Visa® Prepaid Card USD"),...da("https://res.cloudinary.com/saasquatch/image/upload/v1644000268/squatch-assets/veHErQX.png"),...va(20,80,"Points")},{...sa,...ca("$50 Store credit"),...da("https://res.cloudinary.com/saasquatch/image/upload/v1644000270/squatch-assets/WkCMVSE.png"),...pa("100 Points")},{...sa,...ca("Variable amount of store credit"),...da("https://res.cloudinary.com/saasquatch/image/upload/v1644000240/squatch-assets/Jn2fE0s.png"),...va(20,100,"Points")}],ga=[{...sa,...ca("Free swag with a promo code"),...da("https://res.cloudinary.com/saasquatch/image/upload/v1643653103/squatch-assets/default_rewards_1.png"),...pa("40 SaaSquatch Points")},{...sa,...na,...ca("Visa® Prepaid Card USD"),...da("https://res.cloudinary.com/saasquatch/image/upload/v1644000268/squatch-assets/veHErQX.png"),...va(20,80,"Points")},{...sa,...ca("A very exclusive gift box"),...da("https://res.cloudinary.com/saasquatch/image/upload/v1644000223/squatch-assets/93BvEgH.png"),...pa("30 SaaSquatch Points")},{...sa,...ca("$50 Store credit"),...da("https://res.cloudinary.com/saasquatch/image/upload/v1644000270/squatch-assets/WkCMVSE.png"),...pa("100 SaaSquatch Points")},{...sa,...ca("Variable amount of store credit"),...da("https://res.cloudinary.com/saasquatch/image/upload/v1644000240/squatch-assets/Jn2fE0s.png"),...va(20,100,"Points")},{...sa,...oa,...ca("A very rare cactus"),...da("https://res.cloudinary.com/saasquatch/image/upload/v1644000224/squatch-assets/hhlF2Ey.png"),...pa("2000 SaaSquatch Points")},{...sa,available:!1,unavailableReasonCode:"US_TAX",...ca("$1000 Store credit with a really super long name in the front page"),...da("https://res.cloudinary.com/saasquatch/image/upload/v1644000273/squatch-assets/y9HSls1.png"),...pa("2000 SaaSquatch Long Points")},{...sa,...oa,...ca("A holiday gift box"),...da("https://res.cloudinary.com/saasquatch/image/upload/v1644000223/squatch-assets/dWEdB3p.png"),...pa("100 SaaSquatch Points")}],fa={...ia(ga)},ha={...ia(ma)},ba={...ia([{...sa,...oa,...ca("Lorem ipsum dolor sit amet consectetur adipisicing elit. Sunt ratione a itaque non obcaecati iste, amet repudiandae at consequatur adipisci culpa nam, incidunt exercitationem aliquid."),...da("https://res.cloudinary.com/saasquatch/image/upload/v1644000223/squatch-assets/dWEdB3p.png"),...pa("Lorem ipsum dolor sit amet consectetur adipisicing elit. Sunt ratione a itaque non obcaecati iste, amet repudiandae at consequatur adipisci culpa nam, incidunt exercitationem aliquid.")},{...sa,...ca("Lorem ipsum dolor sit amet consectetur adipisicing elit. Sunt ratione a itaque non obcaecati iste, amet repudiandae at consequatur adipisci culpa nam, incidunt exercitationem aliquid."),...da("https://res.cloudinary.com/saasquatch/image/upload/v1644000273/squatch-assets/y9HSls1.png"),...pa("Lorem ipsum dolor sit amet consectetur adipisicing elit. Sunt ratione a itaque non obcaecati iste, amet repudiandae at consequatur adipisci culpa nam, incidunt exercitationem aliquid.")},{...sa,...ca("Suuuuuuuuper aweeeeesssssoooommme reward!!!!!!"),...da("https://res.cloudinary.com/saasquatch/image/upload/v1644000270/squatch-assets/WkCMVSE.png"),...pa("Lorem ipsum dolor sit amet consectetur adipisicing elit. Sunt ratione a itaque non obcaecati iste, amet repudiandae at consequatur adipisci culpa nam, incidunt exercitationem aliquid.")},...ga])},xa={...ia([{...sa,available:!1,unavailableReasonCode:"NOT_CHAMPION",...ca("A very rare cactus"),...da("https://res.cloudinary.com/saasquatch/image/upload/v1644000224/squatch-assets/hhlF2Ey.png"),...pa("2000 SaaSquatch Points")},...ga])},ya={...ia(ga,"chooseReward",{...sa,...na,...ca("Visa® Prepaid Card USD"),...da("https://res.cloudinary.com/saasquatch/image/upload/v1644000268/squatch-assets/veHErQX.png"),...va(20,80,"Points")})},Ca=(e,a,l,t,r=!0,i=null)=>({destinationValue:e,prettyDestinationValue:a+e,sourceValue:l,prettySourceValue:l+" "+t,available:r,unavailableReasonCode:i}),wa={...ia(ga,"chooseAmount",{...sa,...ca("Visa® Prepaid Card USD"),...da("https://res.cloudinary.com/saasquatch/image/upload/v1644000268/squatch-assets/veHErQX.png"),...va(20,80,"Points"),steps:[Ca(20,"$",40,"Points"),Ca(30,"$",60,"Points"),Ca(40,"$",80,"Points"),Ca(50,"$",100,"Points"),Ca(60,"$",120,"Points")]})},qa={...ia(ga,"chooseAmount",{...sa,...ca("Visa® Prepaid Card USD"),...ua(""),...da("https://i.imgur.com/veHErQX.png"),...va(20,80,"Points"),steps:[Ca(20,"$",40,"Points"),Ca(30,"$",60,"Points"),Ca(40,"$",80,"Points"),Ca(50,"$",100,"Points"),Ca(60,"$",120,"Points")]})},Ra={...ia(ga,"chooseAmount",{...sa,...ca("Visa® Prepaid Card USD"),...da("https://res.cloudinary.com/saasquatch/image/upload/v1644000268/squatch-assets/veHErQX.png"),...va(20,80,"Points"),steps:[Ca(20,"$",40,"Points"),Ca(30,"$",60,"Points"),Ca(40,"$",80,"Points",!1,"INSUFFICIENT_REDEEMABLE_CREDIT"),Ca(50,"$",100,"Points",!1,"INSUFFICIENT_REDEEMABLE_CREDIT"),Ca(60,"$",120,"Points",!1,"INSUFFICIENT_REDEEMABLE_CREDIT")]})},$a={...ia(ga,"chooseAmount",{...sa,...ca("Visa® Prepaid Card USD"),...da("https://res.cloudinary.com/saasquatch/image/upload/v1644000268/squatch-assets/veHErQX.png"),...va(20,80,"Points"),steps:[Ca(20,"$",40,"Points"),Ca(30,"$",60,"Points"),Ca(40,"$",80,"Points",!1,"US_TAX"),Ca(50,"$",100,"Points",!1,"US_TAX"),Ca(60,"$",120,"Points",!1,"US_TAX")]})},_a={...ia(ga,"chooseAmount",{...sa,...ca("Free swag with a promo code"),...da("https://res.cloudinary.com/saasquatch/image/upload/v1644000252/squatch-assets/n7vC4BR.png"),...pa("40 SaaSquatch Points")})},ka={...ia(ga,"chooseAmount",{...sa,...ua(""),...ca("Free swag with a promo code"),...da("https://i.imgur.com/n7vC4BR.png"),...pa("40 SaaSquatch Points")})},Sa={...ia(ga,"confirmation",{...sa,...ca("Free swag with a promo code"),...da("https://res.cloudinary.com/saasquatch/image/upload/v1644000252/squatch-assets/n7vC4BR.png"),...pa("40 SaaSquatch Points")})},Ea={...ia(ga,"confirmation",{...sa,...ca("Visa® Prepaid Card USD"),...da("https://res.cloudinary.com/saasquatch/image/upload/v1644000268/squatch-assets/veHErQX.png"),...va(20,80,"Points")},Ca(20,"$",40,"Points"))},Ma={...ia(ga,"confirmation",{...sa,...ca("Visa® Prepaid Card USD"),...da("https://res.cloudinary.com/saasquatch/image/upload/v1644000268/squatch-assets/veHErQX.png"),...va(20,80,"Points")},Ca(20,"$",40,"Points"),!0)},Ia={...ia(void 0,"chooseReward",void 0,void 0,void 0,void 0,void 0,void 0,!0)},Ta={...ia(ga,"success",{...sa,...ca("Free swag with a promo code"),...da("https://res.cloudinary.com/saasquatch/image/upload/v1644000252/squatch-assets/n7vC4BR.png"),...pa("40 SaaSquatch Points")},void 0,void 0,void 0,"4ah2-hh46-gk7r")},Va={...ia(ga,"success",{...sa,...ca("Visa® Prepaid Card USD"),...da("https://res.cloudinary.com/saasquatch/image/upload/v1644000223/squatch-assets/93BvEgH.png"),...va(20,80,"Points")},Ca(20,"$",40,"Points"))},La={...ia(null,"chooseReward",null,null,!1,!0)},Aa={...ia(null,"chooseReward",null,null,!1,!1,null,!0)};function za(a,l){const t=y({Container:{columnGap:a.gap+"px",columnWidth:a.width+"px","& > div":{marginBottom:"24px"}}}),r=t.toString();return e("div",null,e("style",{type:"text/css"},r,"\n :host{\n display: block; \n }\n\n "),e("div",{class:t.classes.Container,part:"sqm-base"},l))}const Ha=y({HostBlock:$,couponCodeLabel:{margin:"var(--sl-spacing-x-small) 0",color:"var(--sl-color-gray-500)",fontSize:"var(--sl-font-size-small)"}}),Ba=Ha.toString();function Da(a){const l=!a.loading&&a.error;return e("div",null,e("style",{type:"text/css"},Ba,"\n :host{\n display: block; \n width: 100%;\n }\n"),e("p",{class:Ha.classes.couponCodeLabel,style:{textAlign:a.textAlign}},a.couponCodeLabel),l?e("sqm-form-message",{type:a.errorType,exportparts:"erroralert-icon"},e("div",{part:"erroralert-text"},a.errorText)):e(M,Object.assign({},a)))}const Fa={Wrapper:{..._,"max-width":"600px",border:"none",margin:"0"},Column:k,HostBlock:$,":host":{margin:"0 auto",width:"100%"},NameFieldWrapper:{display:"flex",gap:"var(--sl-spacing-medium)",marginBottom:"0 !important"},ContinueButton:{maxWidth:"169px"},ButtonsContainer:S,SuccessAlertContainer:{"&::part(base)":{backgroundColor:"var(--sl-color-green-100)",borderTop:"none"}},ErrorAlertContainer:{"&::part(base)":{backgroundColor:"var(--sl-color-red-100)",borderTop:"none"}},NameInput:{marginBottom:"0",width:"50%"},ErrorStyle:E},Pa="\nsqm-portal-register {\n margin: 0 auto;\n width: 100%;\n display: block;\n}\n\n:host{\n display: block;\n}\n\n:host([hidden]) {\n display: none;\n}\n",ja=y(Fa),Ua=ja.toString();function Za(a){var l,r,i,s;const{states:o,refs:d,callbacks:c,content:u}=a;return o.error&&window.scrollTo({top:0,left:0,behavior:"smooth"}),e(t,null,o.success&&e("div",{class:ja.classes.Wrapper,part:"sqm-base"},e("style",{type:"text/css"},Pa,Ua),e(V,{type:"h3"},u.pageLabel),e("sqm-form-message",{exportparts:"success-icon"},e("b",null,u.submitSuccessHeader),e("br",null),e("div",{part:"successalert-text"},u.submitSuccessDescription)),e("sl-button",{class:ja.classes.ContinueButton,onClick:c.resetForm,loading:o.loading,exportparts:"base: primarybutton-base",type:"default"},u.resubmitFormLabel)),e("div",{class:ja.classes.Wrapper,part:"sqm-base",style:{display:o.success?"none":"block"}},e("style",{type:"text/css"},Pa,Ua),e(V,{type:"h3"},u.pageLabel),e("sl-form",{class:ja.classes.Column,"onSl-submit":c.submit,ref:e=>d.formRef.current=e,novalidate:!0},o.error&&e("sl-alert",{exportparts:"base: alert-base, icon:alert-icon",type:"danger",class:ja.classes.ErrorAlertContainer,open:!0},e("sl-icon",{slot:"icon",name:"exclamation-octagon"}),e("b",null,u.submitErrorHeader),e("br",null),n.formatMessage({id:"submitErrorDescription",defaultMessage:u.submitErrorDescription},{supportLink:e("a",{target:"_blank",href:"mailto:advocate-support@impact.com"},u.supportLinkText)})),e("div",{class:ja.classes.NameFieldWrapper},e("sqm-lead-input-field",{class:ja.classes.NameInput,"field-label":u.firstNameLabel||"First Name","field-name":"firstName"}),e("sqm-lead-input-field",{class:ja.classes.NameInput,"field-label":u.lastNameLabel||"Last Name","field-name":"lastName"})),e("sl-input",Object.assign({exportparts:"label: input-label, base: input-base",type:"email",name:"/email",label:u.emailLabel||"Email",disabled:o.loading,required:!0,validationError:({value:e})=>e?e.includes("@")?void 0:u.invalidEmailErrorMessage:(({fieldLabel:e})=>n.formatMessage({id:"requiredFieldErrorMessage",defaultMessage:u.requiredFieldErrorMessage},{fieldLabel:e}))({fieldLabel:u.emailLabel||"Email"})},(null===(r=null===(l=o.leadFormState)||void 0===l?void 0:l.validationErrors)||void 0===r?void 0:r.email)?{class:ja.classes.ErrorStyle,helpText:(null===(s=null===(i=o.leadFormState)||void 0===i?void 0:i.validationErrors)||void 0===s?void 0:s.email)||u.requiredFieldErrorMessage}:[])),e("input",{type:"hidden",hidden:!0,name:"/referralCode",value:o.referralCode}),u.formData,e("div",{class:ja.classes.ButtonsContainer},e("sl-button",{submit:!0,loading:o.loading,exportparts:"base: primarybutton-base",type:"primary"},u.submitLabel||"Register")))))}C.setup(w());const Wa=C.createStyleSheet({ErrorStyle:{"--sl-input-border-color":"var(--sl-color-danger-500)","--sl-input-background-color":"var(--sl-color-danger-10)","--sl-input-border-color-focus":"var(--sl-color-danger-500)","--sl-input-border-color-hover":"var(--sl-color-danger-500)"},ErrorMessageStyle:{margin:0,color:"var(--sl-color-danger-500)",fontSize:"var(--sl-input-help-text-font-size-medium)"},FieldContainer:{"margin-bottom":"var(--sl-spacing-large)"}}),Na=Wa.toString();function Oa(a){var l,t,r,i,s;const{states:o,content:d}=a,c=null===(l=null==o?void 0:o.leadFormState)||void 0===l?void 0:l.validationErrors,u=({dropdownLabel:e})=>n.formatMessage({id:`requiredFieldErrorMessage-${e}`,defaultMessage:d.requiredFieldErrorMessage},{dropdownLabel:e});return e("div",{class:Wa.classes.FieldContainer,part:"sqm-base"},e("style",{type:"text/css"},"\n:host {\n margin: 0 auto;\n width: 100%;\n display: block;\n}\nsl-select::part(label){\n font-size: var(--sl-input-label-font-size-small);\n font-weight: var(--sl-font-weight-semibold);\n}\nsl-select::part(menu){\n max-height: 300px;\n}\n",Na),e("sl-select",Object.assign({style:{maxHeight:"100px"},exportparts:"label: input-label, base: input-base",label:`${d.dropdownLabel}${d.dropdownOptional?` ${d.optionalLabel}`:""}`,name:`/${d.dropdownName}`,multiple:d.multiple},d.dropdownOptional?[]:{required:!0},{disabled:(null===(t=o.leadFormState)||void 0===t?void 0:t.loading)||(null===(r=o.leadFormState)||void 0===r?void 0:r.disabled),validationError:({value:e})=>{if(!e&&!d.dropdownOptional)return u({dropdownLabel:d.dropdownLabel})}},(null===(s=null===(i=o.leadFormState)||void 0===i?void 0:i.validationErrors)||void 0===s?void 0:s[d.dropdownName])?{class:Wa.classes.ErrorStyle}:[]),d.selectOptions),(null==c?void 0:c[d.dropdownName])&&e("p",{class:Wa.classes.ErrorMessageStyle},u({dropdownLabel:d.dropdownLabel})))}function Ga(e,a,l){return Math.min(Math.max(e,l),a)}class Xa extends Error{constructor(e){super(`Failed to parse color: "${e}"`)}}function Qa(e){if("string"!=typeof e)throw new Xa(e);if("transparent"===e.trim().toLowerCase())return[0,0,0,0];let a=e.trim();a=rl.test(e)?function(e){const a=e.toLowerCase().trim(),l=Ya[function(e){let a=5381,l=e.length;for(;l;)a=33*a^e.charCodeAt(--l);return(a>>>0)%2341}(a)];if(!l)throw new Xa(e);return`#${l}`}(e):e;const l=el.exec(a);if(l){const e=Array.from(l).slice(1);return[...e.slice(0,3).map((e=>parseInt(Ja(e,2),16))),parseInt(Ja(e[3]||"f",2),16)/255]}const t=al.exec(a);if(t){const e=Array.from(t).slice(1);return[...e.slice(0,3).map((e=>parseInt(e,16))),parseInt(e[3]||"ff",16)/255]}const r=ll.exec(a);if(r){const e=Array.from(r).slice(1);return[...e.slice(0,3).map((e=>parseInt(e,10))),parseFloat(e[3]||"1")]}const i=tl.exec(a);if(i){const[a,l,t,r]=Array.from(i).slice(1).map(parseFloat);if(Ga(0,100,l)!==l)throw new Xa(e);if(Ga(0,100,t)!==t)throw new Xa(e);return[...sl(a,l,t),r||1]}throw new Xa(e)}const Ka=e=>parseInt(e.replace(/_/g,""),36),Ya="1q29ehhb 1n09sgk7 1kl1ekf_ _yl4zsno 16z9eiv3 1p29lhp8 _bd9zg04 17u0____ _iw9zhe5 _to73___ _r45e31e _7l6g016 _jh8ouiv _zn3qba8 1jy4zshs 11u87k0u 1ro9yvyo 1aj3xael 1gz9zjz0 _3w8l4xo 1bf1ekf_ _ke3v___ _4rrkb__ 13j776yz _646mbhl _nrjr4__ _le6mbhl 1n37ehkb _m75f91n _qj3bzfz 1939yygw 11i5z6x8 _1k5f8xs 1509441m 15t5lwgf _ae2th1n _tg1ugcv 1lp1ugcv 16e14up_ _h55rw7n _ny9yavn _7a11xb_ 1ih442g9 _pv442g9 1mv16xof 14e6y7tu 1oo9zkds 17d1cisi _4v9y70f _y98m8kc 1019pq0v 12o9zda8 _348j4f4 1et50i2o _8epa8__ _ts6senj 1o350i2o 1mi9eiuo 1259yrp0 1ln80gnw _632xcoy 1cn9zldc _f29edu4 1n490c8q _9f9ziet 1b94vk74 _m49zkct 1kz6s73a 1eu9dtog _q58s1rz 1dy9sjiq __u89jo3 _aj5nkwg _ld89jo3 13h9z6wx _qa9z2ii _l119xgq _bs5arju 1hj4nwk9 1qt4nwk9 1ge6wau6 14j9zlcw 11p1edc_ _ms1zcxe _439shk6 _jt9y70f _754zsow 1la40eju _oq5p___ _x279qkz 1fa5r3rv _yd2d9ip _424tcku _8y1di2_ _zi2uabw _yy7rn9h 12yz980_ __39ljp6 1b59zg0x _n39zfzp 1fy9zest _b33k___ _hp9wq92 1il50hz4 _io472ub _lj9z3eo 19z9ykg0 _8t8iu3a 12b9bl4a 1ak5yw0o _896v4ku _tb8k8lv _s59zi6t _c09ze0p 1lg80oqn 1id9z8wb _238nba5 1kq6wgdi _154zssg _tn3zk49 _da9y6tc 1sg7cv4f _r12jvtt 1gq5fmkz 1cs9rvci _lp9jn1c _xw1tdnb 13f9zje6 16f6973h _vo7ir40 _bt5arjf _rc45e4t _hr4e100 10v4e100 _hc9zke2 _w91egv_ _sj2r1kk 13c87yx8 _vqpds__ _ni8ggk8 _tj9yqfb 1ia2j4r4 _7x9b10u 1fc9ld4j 1eq9zldr _5j9lhpx _ez9zl6o _md61fzm".split(" ").reduce(((e,a)=>{const l=Ka(a.substring(0,3)),t=Ka(a.substring(3)).toString(16);let r="";for(let e=0;e<6-t.length;e++)r+="0";return e[l]=`${r}${t}`,e}),{}),Ja=(e,a)=>Array.from(Array(a)).map((()=>e)).join(""),el=new RegExp(`^#${Ja("([a-f0-9])",3)}([a-f0-9])?$`,"i"),al=new RegExp(`^#${Ja("([a-f0-9]{2})",3)}([a-f0-9]{2})?$`,"i"),ll=new RegExp(`^rgba?\\(\\s*(\\d+)\\s*${Ja(",\\s*(\\d+)\\s*",2)}(?:,\\s*([\\d.]+))?\\s*\\)$`,"i"),tl=/^hsla?\(\s*([\d.]+)\s*,\s*([\d.]+)%\s*,\s*([\d.]+)%(?:\s*,\s*([\d.]+))?\s*\)$/i,rl=/^[a-z]+$/i,il=e=>Math.round(255*e),sl=(e,a,l)=>{let t=l/100;if(0===a)return[t,t,t].map(il);const r=(e%360+360)%360/60,i=(1-Math.abs(2*t-1))*(a/100),s=i*(1-Math.abs(r%2-1));let o=0,n=0,d=0;r>=0&&r<1?(o=i,n=s):r>=1&&r<2?(o=s,n=i):r>=2&&r<3?(n=i,d=s):r>=3&&r<4?(n=s,d=i):r>=4&&r<5?(o=s,d=i):r>=5&&r<6&&(o=i,d=s);const c=t-i/2;return[o+c,n+c,d+c].map(il)},ol=[50,100,200,300,400,500,600,700,800,900,950],nl=[.95,.86,.76,.66,.56,.46,.39,.32,.25,.18,.15],dl=/^hsla?\(\s*([\d.]+)\s*,\s*([\d.]+)%\s*,\s*([\d.]+)%(?:\s*,\s*([\d.]+))?\s*\)$/i;function cl(e,a="primary"){const[l,t,r,i]=function(e){const a=e.trim(),l=dl.exec(a);if(l){const[a,t,r,i]=Array.from(l).slice(1).map(parseFloat);if(Ga(0,100,t)!==t)throw new Xa(e);if(Ga(0,100,r)!==r)throw new Xa(e);return[a,t/100,r,i||1]}return function(e){const[a,l,t,r]=Qa(e).map(((e,a)=>3===a?e:e/255)),i=Math.max(a,l,t),s=Math.min(a,l,t),o=(i+s)/2;if(i===s)return[0,0,o,r];const n=i-s;return[60*(a===i?(l-t)/n+(l<t?6:0):l===i?(t-a)/n+2:(a-l)/n+4),o>.5?n/(2-i-s):n/(i+s),o,r]}(e)}(e);return nl.map((e=>function(e,a,l,t){return`hsla(${(e%360).toFixed()}, ${Ga(0,100,100*a).toFixed()}%, ${Ga(0,100,100*l).toFixed()}%, ${parseFloat(Ga(0,1,t).toFixed(3))})`}(l,t,e,i))).map(((e,l)=>`--sl-color-${a}-${ol[l]}: ${e};\n`))}function ul(e,a="primary"){return cl(e,a).join("\n")}const pl=new Map;function vl(e){const a=r(e);let l=e.render.bind(e);e.render=()=>{const e=a.getAttribute("stencilbook-shadow-view");if(e){const a=pl.get(e);if(a)return a}return l()}}const ml=({story:a},l)=>{var t;let r=null===(t=a.parent.parameters)||void 0===t?void 0:t.tagname;if(!r)return l;const i=Math.round(1e5*Math.random());return pl.set(i+"",l),e("stencilbook-shawdow-view-"+i,null,e(r,{"stencilbook-shadow-view":i}))};export{La as A,N as B,xe as C,Ue as D,Q as E,Aa as F,fa as G,ze as H,Oe as I,za as J,Da as K,W as L,ea as M,Fe as N,Za as O,X as P,Oa as Q,He as R,j as S,Ie as T,ul as U,ml as V,ne as W,vl as X,ha as Y,ae as a,de as b,ce as c,ue as d,ge as e,ke as f,Te as g,Ve as h,be as i,ra as j,ba as k,ya as l,_a as m,ka as n,wa as o,qa as p,Ra as q,xa as r,$a as s,Sa as t,J as u,Ea as v,Ma as w,Ia as x,Ta as y,Va as z}
|