@saasquatch/mint-components 2.5.5-0 → 2.5.5-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/{ShadowViewAddon-84dd103e.js → ShadowViewAddon-f57cb460.js} +5 -5
- package/dist/cjs/{data-04ef5511.js → data-ae38fa86.js} +1 -1
- package/dist/cjs/{global-258c36b8.js → global-3ba30270.js} +1 -1
- package/dist/cjs/{index.module-f8c8495f.js → index.module-3221a469.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/mint-components.cjs.js +2 -2
- package/dist/cjs/{re-render-72a0ef45.js → re-render-34b36aca.js} +1 -1
- package/dist/cjs/sqm-banking-info-form_10.cjs.entry.js +9 -9
- package/dist/cjs/sqm-big-stat_47.cjs.entry.js +27 -20
- package/dist/cjs/sqm-close-button.cjs.entry.js +1 -1
- package/dist/cjs/sqm-code-verification.cjs.entry.js +13 -5
- package/dist/cjs/sqm-context-router.cjs.entry.js +1 -1
- package/dist/cjs/sqm-email-verification_2.cjs.entry.js +7 -6
- package/dist/cjs/sqm-empty_4.cjs.entry.js +2 -2
- package/dist/cjs/sqm-google-sign-in.cjs.entry.js +1 -1
- package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +1 -1
- package/dist/cjs/sqm-instant-access-registration.cjs.entry.js +3 -3
- package/dist/cjs/{sqm-lead-checkbox-field-view-b3a85029.js → sqm-lead-checkbox-field-view-d6df81c7.js} +1 -1
- package/dist/cjs/sqm-lead-checkbox-field.cjs.entry.js +4 -4
- package/dist/cjs/{sqm-lead-input-field-view-88de1b78.js → sqm-lead-input-field-view-cd3f8076.js} +1 -1
- package/dist/cjs/sqm-lead-input-field.cjs.entry.js +4 -4
- package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +2 -2
- package/dist/cjs/sqm-logout-current-user.cjs.entry.js +1 -1
- package/dist/cjs/{sqm-navigation-sidebar-item-view-49b152dd.js → sqm-navigation-sidebar-item-view-9134e64e.js} +1 -1
- package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +2 -2
- package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +1 -1
- package/dist/cjs/sqm-pagination_3.cjs.entry.js +3 -3
- package/dist/cjs/{sqm-partner-info-modal-view-7298c1a9.js → sqm-partner-info-modal-view-6173c618.js} +1 -1
- package/dist/cjs/sqm-password-field.cjs.entry.js +2 -2
- package/dist/cjs/sqm-popup-container.cjs.entry.js +1 -1
- package/dist/cjs/{sqm-portal-email-verification-view-a2a60c53.js → sqm-portal-email-verification-view-38d8344c.js} +1 -1
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +3 -3
- package/dist/cjs/sqm-portal-forgot-password_6.cjs.entry.js +4 -4
- package/dist/cjs/sqm-portal-logout.cjs.entry.js +1 -1
- package/dist/cjs/{sqm-portal-profile-view-95a3ad9f.js → sqm-portal-profile-view-062eda68.js} +1 -1
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +4 -4
- package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +1 -1
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +1 -1
- package/dist/cjs/{sqm-portal-verify-email-view-a679a0a7.js → sqm-portal-verify-email-view-2a120d0a.js} +1 -1
- package/dist/cjs/sqm-qr-code.cjs.entry.js +2 -2
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +5 -5
- package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +2 -2
- package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +5 -5
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +16 -16
- package/dist/cjs/sqm-tab.cjs.entry.js +2 -2
- package/dist/cjs/sqm-tabs.cjs.entry.js +3 -3
- package/dist/cjs/{sqm-user-info-form-view-6f5f8eb8.js → sqm-user-info-form-view-aedca5fe.js} +3 -3
- package/dist/cjs/sqm-widget-verification-controller.cjs.entry.js +1 -1
- package/dist/cjs/{subregions-cd5c7ad6.js → subregions-36662566.js} +1 -1
- package/dist/cjs/{useChildElements-041127d7.js → useChildElements-36f7e4bb.js} +1 -1
- package/dist/cjs/{useIndirectTaxForm-ed4df485.js → useIndirectTaxForm-7656fc63.js} +3 -3
- package/dist/cjs/{useInstantAccessRegistration-2398df36.js → useInstantAccessRegistration-43514e50.js} +2 -2
- package/dist/cjs/{useLeadFormState-bf49984b.js → useLeadFormState-34f9834b.js} +2 -2
- package/dist/cjs/{usePortalRegistrationForm-8a3a14ac.js → usePortalRegistrationForm-b18a1f6b.js} +2 -2
- package/dist/cjs/{useReferralCodes-1bfc02eb.js → useReferralCodes-25d5320a.js} +1 -1
- package/dist/cjs/{useReferralTable-06887d9a.js → useReferralTable-ad86986b.js} +3 -3
- package/dist/cjs/{useRegistrationFormState-4fe5b770.js → useRegistrationFormState-ea81d55a.js} +1 -1
- package/dist/cjs/{useVerificationEmail-5d19aa99.js → useVerificationEmail-70aad5f1.js} +1 -1
- package/dist/cjs/{utilities-fcdb9504.js → utilities-dfc34bea.js} +1 -1
- package/dist/collection/components/sqm-widget-verification/getVerificationStep.js +8 -1
- package/dist/collection/components/sqm-widget-verification/sqm-code-verification/useCodeVerification.js +10 -2
- package/dist/collection/components/sqm-widget-verification/sqm-email-verification/useEmailVerification.js +2 -1
- package/dist/collection/components/sqm-widget-verification/useWidgetVerification.js +6 -6
- package/dist/esm/{ShadowViewAddon-be5cdc78.js → ShadowViewAddon-e1375e0d.js} +5 -5
- package/dist/esm/{data-0be04430.js → data-04d2da44.js} +1 -1
- package/dist/esm/{global-32d00a6e.js → global-f019575d.js} +1 -1
- package/dist/esm/{index.module-02cb914c.js → index.module-cc08450c.js} +1 -1
- package/dist/esm/loader.js +2 -2
- package/dist/esm/mint-components.js +2 -2
- package/dist/esm/{re-render-bf46ba54.js → re-render-380499f8.js} +1 -1
- package/dist/esm/sqm-banking-info-form_10.entry.js +9 -9
- package/dist/esm/sqm-big-stat_47.entry.js +27 -20
- package/dist/esm/sqm-close-button.entry.js +1 -1
- package/dist/esm/sqm-code-verification.entry.js +13 -5
- package/dist/esm/sqm-context-router.entry.js +1 -1
- package/dist/esm/sqm-email-verification_2.entry.js +7 -6
- package/dist/esm/sqm-empty_4.entry.js +2 -2
- package/dist/esm/sqm-google-sign-in.entry.js +1 -1
- package/dist/esm/sqm-graphql-client-provider.entry.js +1 -1
- package/dist/esm/sqm-instant-access-registration.entry.js +3 -3
- package/dist/esm/{sqm-lead-checkbox-field-view-aa977b97.js → sqm-lead-checkbox-field-view-04aa32a7.js} +1 -1
- package/dist/esm/sqm-lead-checkbox-field.entry.js +4 -4
- package/dist/esm/{sqm-lead-input-field-view-671ff96f.js → sqm-lead-input-field-view-919dc0a9.js} +1 -1
- package/dist/esm/sqm-lead-input-field.entry.js +4 -4
- package/dist/esm/sqm-leaderboard-rank.entry.js +2 -2
- package/dist/esm/sqm-logout-current-user.entry.js +1 -1
- package/dist/esm/{sqm-navigation-sidebar-item-view-8d98fcf3.js → sqm-navigation-sidebar-item-view-40837457.js} +1 -1
- package/dist/esm/sqm-navigation-sidebar-item.entry.js +2 -2
- package/dist/esm/sqm-navigation-sidebar.entry.js +1 -1
- package/dist/esm/sqm-pagination_3.entry.js +3 -3
- package/dist/esm/{sqm-partner-info-modal-view-a68cec80.js → sqm-partner-info-modal-view-e02fb63a.js} +1 -1
- package/dist/esm/sqm-password-field.entry.js +2 -2
- package/dist/esm/sqm-popup-container.entry.js +1 -1
- package/dist/esm/{sqm-portal-email-verification-view-bd5effa7.js → sqm-portal-email-verification-view-3fa9587c.js} +1 -1
- package/dist/esm/sqm-portal-email-verification.entry.js +3 -3
- package/dist/esm/sqm-portal-forgot-password_6.entry.js +4 -4
- package/dist/esm/sqm-portal-logout.entry.js +1 -1
- package/dist/esm/{sqm-portal-profile-view-fdd6c632.js → sqm-portal-profile-view-41894261.js} +1 -1
- package/dist/esm/sqm-portal-profile.entry.js +4 -4
- package/dist/esm/sqm-portal-protected-route.entry.js +1 -1
- package/dist/esm/sqm-portal-reset-password.entry.js +1 -1
- package/dist/esm/{sqm-portal-verify-email-view-76185bef.js → sqm-portal-verify-email-view-c102aa7c.js} +1 -1
- package/dist/esm/sqm-qr-code.entry.js +2 -2
- package/dist/esm/sqm-referral-table_11.entry.js +5 -5
- package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +2 -2
- package/dist/esm/sqm-rewards-table_9.entry.js +5 -5
- package/dist/esm/sqm-stencilbook.entry.js +16 -16
- package/dist/esm/sqm-tab.entry.js +2 -2
- package/dist/esm/sqm-tabs.entry.js +3 -3
- package/dist/esm/{sqm-user-info-form-view-5c457c98.js → sqm-user-info-form-view-8a95c5eb.js} +3 -3
- package/dist/esm/sqm-widget-verification-controller.entry.js +1 -1
- package/dist/esm/{subregions-8e84e5fa.js → subregions-16dc47a9.js} +1 -1
- package/dist/esm/{useChildElements-06937df7.js → useChildElements-aa9eb7c9.js} +1 -1
- package/dist/esm/{useIndirectTaxForm-f622ba23.js → useIndirectTaxForm-8d2e873d.js} +3 -3
- package/dist/esm/{useInstantAccessRegistration-69c9ffe0.js → useInstantAccessRegistration-7b11eb02.js} +2 -2
- package/dist/esm/{useLeadFormState-6214b2d9.js → useLeadFormState-b67018f2.js} +2 -2
- package/dist/esm/{usePortalRegistrationForm-78fdfd93.js → usePortalRegistrationForm-91e5786d.js} +2 -2
- package/dist/esm/{useReferralCodes-acbe7b0a.js → useReferralCodes-a0a271ca.js} +1 -1
- package/dist/esm/{useReferralTable-3aa4b527.js → useReferralTable-670580ff.js} +3 -3
- package/dist/esm/{useRegistrationFormState-aa44cfff.js → useRegistrationFormState-95a75c57.js} +1 -1
- package/dist/esm/{useVerificationEmail-9f2c0bab.js → useVerificationEmail-99d9f705.js} +1 -1
- package/dist/esm/{utilities-cbd8f2eb.js → utilities-23a276e0.js} +1 -1
- package/dist/esm-es5/{ShadowViewAddon-be5cdc78.js → ShadowViewAddon-e1375e0d.js} +1 -1
- package/dist/esm-es5/{data-0be04430.js → data-04d2da44.js} +1 -1
- package/dist/esm-es5/{global-32d00a6e.js → global-f019575d.js} +1 -1
- package/dist/esm-es5/{index.module-02cb914c.js → index.module-cc08450c.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/{re-render-bf46ba54.js → re-render-380499f8.js} +1 -1
- package/dist/esm-es5/sqm-banking-info-form_10.entry.js +1 -1
- package/dist/esm-es5/sqm-big-stat_47.entry.js +1 -1
- package/dist/esm-es5/sqm-close-button.entry.js +1 -1
- package/dist/esm-es5/sqm-code-verification.entry.js +1 -1
- package/dist/esm-es5/sqm-context-router.entry.js +1 -1
- package/dist/esm-es5/sqm-email-verification_2.entry.js +1 -1
- package/dist/esm-es5/sqm-empty_4.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-instant-access-registration.entry.js +1 -1
- package/dist/esm-es5/{sqm-lead-checkbox-field-view-aa977b97.js → sqm-lead-checkbox-field-view-04aa32a7.js} +1 -1
- package/dist/esm-es5/sqm-lead-checkbox-field.entry.js +1 -1
- package/dist/esm-es5/{sqm-lead-input-field-view-671ff96f.js → sqm-lead-input-field-view-919dc0a9.js} +1 -1
- package/dist/esm-es5/sqm-lead-input-field.entry.js +1 -1
- package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
- package/dist/esm-es5/sqm-logout-current-user.entry.js +1 -1
- package/dist/esm-es5/{sqm-navigation-sidebar-item-view-8d98fcf3.js → sqm-navigation-sidebar-item-view-40837457.js} +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
- 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-partner-info-modal-view-a68cec80.js → sqm-partner-info-modal-view-e02fb63a.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-email-verification-view-bd5effa7.js → sqm-portal-email-verification-view-3fa9587c.js} +1 -1
- package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-forgot-password_6.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-profile-view-fdd6c632.js → sqm-portal-profile-view-41894261.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-reset-password.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-verify-email-view-76185bef.js → sqm-portal-verify-email-view-c102aa7c.js} +1 -1
- 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-rewards-table-customer-note-column.entry.js +1 -1
- package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
- package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
- package/dist/esm-es5/sqm-tab.entry.js +1 -1
- package/dist/esm-es5/sqm-tabs.entry.js +1 -1
- package/dist/esm-es5/{sqm-user-info-form-view-5c457c98.js → sqm-user-info-form-view-8a95c5eb.js} +1 -1
- package/dist/esm-es5/sqm-widget-verification-controller.entry.js +1 -1
- package/dist/esm-es5/{subregions-8e84e5fa.js → subregions-16dc47a9.js} +1 -1
- package/dist/esm-es5/{useChildElements-06937df7.js → useChildElements-aa9eb7c9.js} +1 -1
- package/dist/esm-es5/{useIndirectTaxForm-f622ba23.js → useIndirectTaxForm-8d2e873d.js} +1 -1
- package/dist/esm-es5/{useInstantAccessRegistration-69c9ffe0.js → useInstantAccessRegistration-7b11eb02.js} +1 -1
- package/dist/esm-es5/{useLeadFormState-6214b2d9.js → useLeadFormState-b67018f2.js} +1 -1
- package/dist/esm-es5/{usePortalRegistrationForm-78fdfd93.js → usePortalRegistrationForm-91e5786d.js} +1 -1
- package/dist/esm-es5/{useReferralCodes-acbe7b0a.js → useReferralCodes-a0a271ca.js} +1 -1
- package/dist/esm-es5/{useReferralTable-3aa4b527.js → useReferralTable-670580ff.js} +1 -1
- package/dist/esm-es5/{useRegistrationFormState-aa44cfff.js → useRegistrationFormState-95a75c57.js} +1 -1
- package/dist/esm-es5/{useVerificationEmail-9f2c0bab.js → useVerificationEmail-99d9f705.js} +1 -1
- package/dist/esm-es5/{utilities-cbd8f2eb.js → utilities-23a276e0.js} +1 -1
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/mint-components.js +1 -1
- package/dist/mint-components/{p-7c0f5891.js → p-0306ce68.js} +1 -1
- package/dist/mint-components/p-03361685.system.entry.js +1 -0
- package/dist/mint-components/{p-811f0ad3.system.js → p-036b876f.system.js} +1 -1
- package/dist/mint-components/{p-08e2f4b1.entry.js → p-08f36275.entry.js} +2 -2
- package/dist/mint-components/{p-e87d9982.entry.js → p-092305db.entry.js} +1 -1
- package/dist/mint-components/{p-63cce0ad.system.js → p-0ac8d8f4.system.js} +1 -1
- package/dist/mint-components/{p-9fc70866.entry.js → p-0dca7884.entry.js} +1 -1
- package/dist/mint-components/p-104f6ced.entry.js +1 -0
- package/dist/mint-components/{p-b111d5d7.system.js → p-128610fb.system.js} +1 -1
- package/dist/mint-components/{p-d34564f8.system.entry.js → p-16bd4751.system.entry.js} +1 -1
- package/dist/mint-components/{p-700d8950.system.js → p-1cf59d96.system.js} +1 -1
- package/dist/mint-components/{p-058e5447.system.entry.js → p-1ee1dd9c.system.entry.js} +1 -1
- package/dist/mint-components/{p-0436b138.entry.js → p-1f292473.entry.js} +1 -1
- package/dist/mint-components/{p-f194f4e5.system.entry.js → p-220cd813.system.entry.js} +1 -1
- package/dist/mint-components/{p-c5efdac3.system.js → p-263ca1be.system.js} +1 -1
- package/dist/mint-components/{p-8310ab1e.entry.js → p-274816ae.entry.js} +1 -1
- package/dist/mint-components/{p-0a6489fa.entry.js → p-28fa5159.entry.js} +1 -1
- package/dist/mint-components/{p-aa69a316.js → p-290314a6.js} +1 -1
- package/dist/mint-components/p-2cc01e0a.system.js +1 -0
- package/dist/mint-components/{p-8205800c.system.entry.js → p-319bf866.system.entry.js} +1 -1
- package/dist/mint-components/p-31b7d861.entry.js +1 -0
- package/dist/mint-components/{p-092c2606.entry.js → p-31c5f477.entry.js} +1 -1
- package/dist/mint-components/{p-209157a9.system.entry.js → p-31cfa118.system.entry.js} +1 -1
- package/dist/mint-components/{p-79c054d4.system.entry.js → p-3268c98c.system.entry.js} +1 -1
- package/dist/mint-components/{p-ea7218d3.system.js → p-3390f1f2.system.js} +1 -1
- package/dist/mint-components/p-34917ee4.system.js +1 -0
- package/dist/mint-components/p-34bea1be.system.js +1 -0
- package/dist/mint-components/{p-623a0a0b.system.entry.js → p-3db7a3c0.system.entry.js} +1 -1
- package/dist/mint-components/{p-22d22fa9.js → p-429fa431.js} +1 -1
- package/dist/mint-components/{p-0766438e.js → p-44ce74b6.js} +1 -1
- package/dist/mint-components/{p-6f6c3ac6.system.entry.js → p-47dc2362.system.entry.js} +1 -1
- package/dist/mint-components/{p-5fa706cf.system.js → p-48b25874.system.js} +1 -1
- package/dist/mint-components/{p-925aa740.system.entry.js → p-4ca6cc3c.system.entry.js} +1 -1
- package/dist/mint-components/{p-9a1746bc.system.js → p-51d06654.system.js} +1 -1
- package/dist/mint-components/{p-824cd0fa.system.entry.js → p-5218d9dd.system.entry.js} +1 -1
- package/dist/mint-components/{p-9ced75b2.js → p-5264ea68.js} +1 -1
- package/dist/mint-components/{p-2ec539fc.js → p-5300edb5.js} +1 -1
- package/dist/mint-components/{p-6a903273.system.entry.js → p-57c693ef.system.entry.js} +1 -1
- package/dist/mint-components/p-59d5f239.system.entry.js +1 -0
- package/dist/mint-components/{p-6f8a3436.js → p-5b0de730.js} +1 -1
- package/dist/mint-components/{p-361e8a80.entry.js → p-5c3cdefe.entry.js} +1 -1
- package/dist/mint-components/{p-f6de2e5c.system.entry.js → p-5cda271c.system.entry.js} +1 -1
- package/dist/mint-components/p-5d99dbc9.js +1 -0
- package/dist/mint-components/{p-462b1ead.entry.js → p-6b5528b1.entry.js} +2 -2
- package/dist/mint-components/p-6c8758ac.entry.js +1 -0
- package/dist/mint-components/{p-62610658.entry.js → p-6dffb326.entry.js} +2 -2
- package/dist/mint-components/{p-8a6531d2.js → p-6e9738a4.js} +1 -1
- package/dist/mint-components/{p-e920c95c.system.js → p-7062154c.system.js} +1 -1
- package/dist/mint-components/p-717fa601.js +1 -0
- package/dist/mint-components/{p-2a4b742a.system.entry.js → p-732907b1.system.entry.js} +1 -1
- package/dist/mint-components/{p-9944b514.js → p-78e98761.js} +1 -1
- package/dist/mint-components/{p-bcfdb510.entry.js → p-808f7f22.entry.js} +1 -1
- package/dist/mint-components/{p-02e2b13b.system.js → p-80cee817.system.js} +1 -1
- package/dist/mint-components/{p-df897432.system.entry.js → p-85996c52.system.entry.js} +1 -1
- package/dist/mint-components/{p-099ce3d5.system.entry.js → p-8629d0be.system.entry.js} +1 -1
- package/dist/mint-components/{p-4aa008b5.system.entry.js → p-86c430f8.system.entry.js} +1 -1
- package/dist/mint-components/{p-60b1f3d9.entry.js → p-8707c7fb.entry.js} +1 -1
- package/dist/mint-components/{p-1599a178.entry.js → p-88a5350b.entry.js} +1 -1
- package/dist/mint-components/{p-d9d3661c.entry.js → p-93e4954e.entry.js} +14 -14
- package/dist/mint-components/{p-ee91aeac.system.js → p-952eefec.system.js} +1 -1
- package/dist/mint-components/{p-01fcd601.system.js → p-956f9479.system.js} +1 -1
- package/dist/mint-components/{p-f355b2be.entry.js → p-95f82a6f.entry.js} +1 -1
- package/dist/mint-components/{p-78e6dc8d.entry.js → p-9715be5b.entry.js} +1 -1
- package/dist/mint-components/{p-db45be67.js → p-99f7e6f1.js} +1 -1
- package/dist/mint-components/{p-227ca8d4.system.js → p-9a69f781.system.js} +1 -1
- package/dist/mint-components/{p-38d04e4b.entry.js → p-9f517f81.entry.js} +1 -1
- package/dist/mint-components/{p-13bb56a8.system.entry.js → p-9f7d1197.system.entry.js} +1 -1
- package/dist/mint-components/{p-ee685659.system.entry.js → p-a04be06d.system.entry.js} +1 -1
- package/dist/mint-components/{p-f2e2ef27.js → p-a417a4c7.js} +1 -1
- package/dist/mint-components/p-a495e3a5.entry.js +1 -0
- package/dist/mint-components/{p-f11a39b4.entry.js → p-a52a961e.entry.js} +1 -1
- package/dist/mint-components/{p-d870d624.system.entry.js → p-ab8a551f.system.entry.js} +1 -1
- package/dist/mint-components/{p-d47d0862.entry.js → p-ac65d2c1.entry.js} +1 -1
- package/dist/mint-components/{p-318b8760.system.entry.js → p-ad9ea625.system.entry.js} +1 -1
- package/dist/mint-components/{p-3e60ad62.system.js → p-b47e3740.system.js} +1 -1
- package/dist/mint-components/{p-bf9ab2d3.js → p-b56f3e55.js} +1 -1
- package/dist/mint-components/{p-2d3f7b76.system.entry.js → p-b6b5fa4f.system.entry.js} +1 -1
- package/dist/mint-components/{p-376c7608.system.js → p-bc625793.system.js} +1 -1
- package/dist/mint-components/{p-7c482564.js → p-c03131dd.js} +1 -1
- package/dist/mint-components/{p-7aa89fa8.js → p-c43e1d3b.js} +1 -1
- package/dist/mint-components/{p-14183edc.entry.js → p-c50e77ad.entry.js} +1 -1
- package/dist/mint-components/{p-3fe016dc.system.js → p-c5698ef9.system.js} +1 -1
- package/dist/mint-components/{p-0b32e1d4.system.entry.js → p-ca872769.system.entry.js} +1 -1
- package/dist/mint-components/{p-456720e4.js → p-ca90ea64.js} +1 -1
- package/dist/mint-components/{p-20ab3ff4.entry.js → p-cdf5354f.entry.js} +1 -1
- package/dist/mint-components/{p-3acfe5be.system.entry.js → p-d028db52.system.entry.js} +1 -1
- package/dist/mint-components/{p-50bba02e.entry.js → p-d0318b41.entry.js} +1 -1
- package/dist/mint-components/{p-bfb00685.system.js → p-d0ce74bd.system.js} +1 -1
- package/dist/mint-components/p-d26df2da.entry.js +1 -0
- package/dist/mint-components/{p-ab59c5eb.system.entry.js → p-d46a048d.system.entry.js} +1 -1
- package/dist/mint-components/{p-0607b068.system.js → p-d533ff7b.system.js} +1 -1
- package/dist/mint-components/p-d6a7f402.entry.js +1 -0
- package/dist/mint-components/p-d9dbbf22.system.entry.js +1 -0
- package/dist/mint-components/{p-a779e577.js → p-db30fbd1.js} +1 -1
- package/dist/mint-components/{p-30eab7b9.entry.js → p-de8d7e90.entry.js} +2 -2
- package/dist/mint-components/{p-921eb024.entry.js → p-e006b6ad.entry.js} +1 -1
- package/dist/mint-components/p-e0578030.system.js +1 -0
- package/dist/mint-components/{p-b27f98f1.js → p-e4eac70d.js} +1 -1
- package/dist/mint-components/{p-141c5bdb.system.entry.js → p-e66187b6.system.entry.js} +1 -1
- package/dist/mint-components/{p-87f86492.js → p-e7cf6632.js} +1 -1
- package/dist/mint-components/{p-4f364438.entry.js → p-e7d6e1e0.entry.js} +2 -2
- package/dist/mint-components/{p-6d6f2e60.js → p-eb992f94.js} +1 -1
- package/dist/mint-components/{p-2190dc73.system.js → p-ec3e44c8.system.js} +1 -1
- package/dist/mint-components/{p-eae44b42.js → p-ed741b3b.js} +1 -1
- package/dist/mint-components/{p-989437c5.system.js → p-eedda43c.system.js} +1 -1
- package/dist/mint-components/{p-7918979f.entry.js → p-f0b63c48.entry.js} +1 -1
- package/dist/mint-components/{p-0114ca06.js → p-f381533a.js} +1 -1
- package/dist/mint-components/{p-b290f390.system.entry.js → p-f507b364.system.entry.js} +1 -1
- package/dist/mint-components/{p-02c0f88e.system.entry.js → p-f69a4eb1.system.entry.js} +1 -1
- package/dist/mint-components/{p-4eadbd5b.entry.js → p-f982278b.entry.js} +1 -1
- package/dist/mint-components/{p-7a091fa7.js → p-f9fcc772.js} +1 -1
- package/dist/mint-components/p-fbdd8c2a.system.entry.js +1 -0
- package/dist/mint-components/{p-6b4e5d94.system.entry.js → p-fdc4f293.system.entry.js} +1 -1
- package/dist/mint-components/{p-08db34e6.system.js → p-ff1a5481.system.js} +1 -1
- package/dist/mint-components/{p-85b4259e.system.entry.js → p-ff75998a.system.entry.js} +1 -1
- package/dist/types/components/sqm-widget-verification/getVerificationStep.d.ts +1 -0
- package/docs/docs.docx +0 -0
- package/package.json +2 -2
- package/dist/mint-components/p-1317cc92.system.js +0 -1
- package/dist/mint-components/p-1b0326d1.entry.js +0 -1
- package/dist/mint-components/p-1d86895f.system.js +0 -1
- package/dist/mint-components/p-30cfe3e3.system.entry.js +0 -1
- package/dist/mint-components/p-4e3db52b.entry.js +0 -1
- package/dist/mint-components/p-6e92460d.system.entry.js +0 -1
- package/dist/mint-components/p-7ea3f49c.entry.js +0 -1
- package/dist/mint-components/p-8ae8968c.js +0 -1
- package/dist/mint-components/p-8f15bf17.entry.js +0 -1
- package/dist/mint-components/p-940bc86b.system.entry.js +0 -1
- package/dist/mint-components/p-9b35d62f.entry.js +0 -1
- package/dist/mint-components/p-a49d9288.entry.js +0 -1
- package/dist/mint-components/p-b4d3ddfa.system.entry.js +0 -1
- package/dist/mint-components/p-badf28bb.system.js +0 -1
- package/dist/mint-components/p-cfea215d.js +0 -1
- package/dist/mint-components/p-f32050f6.system.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(e,t,i,r){function n(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,a){function s(e){try{l(r.next(e))}catch(e){a(e)}}function o(e){try{l(r["throw"](e))}catch(e){a(e)}}function l(e){e.done?i(e.value):n(e.value).then(s,o)}l((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var i={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},r,n,a,s;return s={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function o(e){return function(t){return l([e,t])}}function l(s){if(r)throw new TypeError("Generator is already executing.");while(i)try{if(r=1,n&&(a=s[0]&2?n["return"]:s[0]?n["throw"]||((a=n["return"])&&a.call(n),0):n.next)&&!(a=a.call(n,s[1])).done)return a;if(n=0,a)s=[s[0]&2,a.value];switch(s[0]){case 0:case 1:a=s;break;case 4:i.label++;return{value:s[1],done:false};case 5:i.label++;n=s[1];s=[0];continue;case 7:s=i.ops.pop();i.trys.pop();continue;default:if(!(a=i.trys,a=a.length>0&&a[a.length-1])&&(s[0]===6||s[0]===2)){i=0;continue}if(s[0]===3&&(!a||s[1]>a[0]&&s[1]<a[3])){i.label=s[1];break}if(s[0]===6&&i.label<a[1]){i.label=a[1];a=s;break}if(a&&i.label<a[2]){i.label=a[2];i.ops.push(s);break}if(a[2])i.ops.pop();i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e];n=0}finally{r=a=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};System.register(["./p-641f968d.system.js","./p-b6504987.system.js","./p-
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(e,t,i,r){function n(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,a){function s(e){try{l(r.next(e))}catch(e){a(e)}}function o(e){try{l(r["throw"](e))}catch(e){a(e)}}function l(e){e.done?i(e.value):n(e.value).then(s,o)}l((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var i={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},r,n,a,s;return s={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function o(e){return function(t){return l([e,t])}}function l(s){if(r)throw new TypeError("Generator is already executing.");while(i)try{if(r=1,n&&(a=s[0]&2?n["return"]:s[0]?n["throw"]||((a=n["return"])&&a.call(n),0):n.next)&&!(a=a.call(n,s[1])).done)return a;if(n=0,a)s=[s[0]&2,a.value];switch(s[0]){case 0:case 1:a=s;break;case 4:i.label++;return{value:s[1],done:false};case 5:i.label++;n=s[1];s=[0];continue;case 7:s=i.ops.pop();i.trys.pop();continue;default:if(!(a=i.trys,a=a.length>0&&a[a.length-1])&&(s[0]===6||s[0]===2)){i=0;continue}if(s[0]===3&&(!a||s[1]>a[0]&&s[1]<a[3])){i.label=s[1];break}if(s[0]===6&&i.label<a[1]){i.label=a[1];a=s;break}if(a&&i.label<a[2]){i.label=a[2];i.ops.push(s);break}if(a[2])i.ops.pop();i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e];n=0}finally{r=a=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};System.register(["./p-641f968d.system.js","./p-b6504987.system.js","./p-ec3e44c8.system.js","./p-b2295bc5.system.js","./p-4bd679a7.system.js","./p-1a673057.system.js","./p-8a6494c7.system.js","./p-34917ee4.system.js","./p-f45e076d.system.js","./p-80cee817.system.js"],(function(e){"use strict";var t,i,r,n,a,s,o,l;return{setters:[function(e){t=e.r;i=e.h},function(e){r=e.n},function(e){n=e.i;a=e.s},function(){},function(e){s=e.c},function(){},function(){},function(){},function(e){o=e.E},function(e){l=e.u}],execute:function(){var c=e("sqm_instant_access_registration",function(){function e(e){t(this,e);this.ignored=true;this.emailLabel="Email";this.firstNameLabel="First Name";this.lastNameLabel="Last Name";this.registerLabel="Start Referring";this.includeName=false;this.hideBorder=false;this.requiredFieldErrorMessage="Cannot be empty";this.invalidEmailErrorMessage="Please enter a valid email address";this.networkErrorMessage="There was a problem signing you in. Please wait a moment and try again. If this problem continues, contact Support for help resolving this issue.";this.paddingTop="large";this.paddingRight="large";this.paddingBottom="large";this.paddingLeft="large";this.backgroundColor="var(--sqm-portal-background)";this.includeCookies=false;r(this)}e.prototype.disconnectedCallback=function(){};e.prototype.render=function(){var e=n()?u(this):l(this),t=e.states,r=e.callbacks;var a={emailLabel:this.emailLabel,registerLabel:this.registerLabel,firstNameLabel:this.firstNameLabel,lastNameLabel:this.lastNameLabel,includeName:this.includeName,hideBorder:this.hideBorder,invalidEmailErrorMessage:this.invalidEmailErrorMessage,requiredFieldErrorMessage:this.requiredFieldErrorMessage,paddingTop:this.paddingTop,paddingBottom:this.paddingBottom,paddingLeft:this.paddingLeft,paddingRight:this.paddingRight,backgroundColor:this.backgroundColor,topSlot:i("slot",{name:"top"}),bottomSlot:i("slot",{name:"bottom"})};return i(o,{states:t,callbacks:r,content:a})};return e}());function u(e){var t=this;var i=function(e){return __awaiter(t,void 0,void 0,(function(){return __generator(this,(function(e){a({id:"referrer@example.com",accountId:"referrer@example.com",jwt:"eyJraWQiOiJlNjI2NzQxNy1jMzZlLTRlM2EtYjM5NS1lYTFmY2YyNmU3YzIiLCJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOiJjbVZtWlhKeVpYSkFaWGhoYlhCc1pTNWpiMjA9OmNtVm1aWEp5WlhKQVpYaGhiWEJzWlM1amIyMD1AdGVzdF9heGJndGF0dzF0Y2NwOnVzZXJzIiwicGFzc3dvcmRsZXNzIjp0cnVlLCJpc3MiOiJodHRwczovL3N0YWdpbmcucmVmZXJyYWxzYWFzcXVhdGNoLmNvbS8iLCJleHAiOjE2ODA4ODU5MTksImlhdCI6MTY4MDc5OTUxOX0.kjmTVVf_BTb-uMNKnadLyNLxMFwpkefsY02O3iAfBVIJJZZfeZMwunPlKsS3Vbp28aYRClBjH5Wj4pYxDn23D0CdZx8KNCqiJ8yF6149O9SPMkRseoJkliqS6LyvMOEDjGDkuLfcC8_hq1AHBXFt5BdCtWOk1gwf_5R9A0w5gXEIvprBzbNDLbuo88bVAlrmFNvfttXXryrpUeruMal7cBKuy02YblBrB4kKoyJiprU5GLEjciBA4A56u8TwQc0kbsPf2YcQaJsY_IvkC7S1u4sPyObpq6iF6Ed8UYHAo6nU5KjZXyVtoUyeIS11mf_6OtDO6LyMNHV2FtEUUDdPCg"});return[2]}))}))};return s({states:{loading:false,error:""},callbacks:{submit:i}},e.demoData||{},{arrayMerge:function(e,t){return t}})}}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-641f968d.system.js","./p-
|
|
1
|
+
System.register(["./p-641f968d.system.js","./p-d533ff7b.system.js","./p-b6504987.system.js","./p-ec3e44c8.system.js","./p-1a673057.system.js"],(function(e){"use strict";var s,t,a,i,n,r;return{setters:[function(e){s=e.h},function(e){t=e.i},function(e){a=e.k;i=e.y},function(e){n=e._},function(e){r=e.c}],execute:function(){e({R:d,u:g});var l={IconStyle:{display:"block",position:"absolute",top:"23px"},DivStyle:{marginLeft:"28px"},Details:{marginLeft:"28px"},Heading:{display:"inline-block"},Children:{display:"none"}};var o=r(l);var c=o.toString();function d(e,i){var r=e.missingProps,l=e.heading,d=l===void 0?"There was a problem loading this section":l,u=e.subheading,f=u===void 0?"There was a technical problem that prevented this section from loading. Please contact us with the link to this page.":u,g=e.description,m=g===void 0?"Error occured while loading <{tagName}>. Values for the following attributes are missing:":g;if(!r)return false;var p=n();var v=a(false),h=v[0],y=v[1];return s("sl-alert",{type:"danger",open:true},s("style",{type:"text/css"},c),s("div",{slot:"icon",class:o.classes.IconStyle},s("sl-icon",{name:"exclamation-octagon"})),s("div",{class:o.classes.DivStyle},s("h2",{class:o.classes.Heading},t.formatMessage({id:"error-heading",defaultMessage:d})),s("p",null,t.formatMessage({id:"error-subheading",defaultMessage:f}))),s("details",{class:o.classes.Details},s("summary",{onClick:function(){return y(!h)}},h?"Less":"More"," details"),s("p",null,t.formatMessage({id:"error-description",defaultMessage:m},{tagName:p.tagName.toLowerCase()})),s("ul",null,r.map((function(e){return s("li",null,s("strong",null,e.attribute))})))),s("div",{class:o.classes.Children},i))}var u=e("L","sq:lead-form-state");var f="sq:lead-form-state-internal";function g(e){var s=n();var t=i(s,u,e),a=t[0],r=t[1];i(s,f,[a,r]);return{leadFormState:a,setLeadFormState:r}}}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-641f968d.system.js","./p-b6504987.system.js","./p-
|
|
1
|
+
System.register(["./p-641f968d.system.js","./p-b6504987.system.js","./p-ec3e44c8.system.js"],(function(t){"use strict";var e,n,o,i,r,c,u,l,a;return{setters:[function(t){e=t.r;n=t.e;o=t.h;i=t.g},function(t){r=t.k;c=t.f;u=t.n},function(t){l=t.g;a=t.i}],execute:function(){function s(t){var e=r(false),n=e[0],o=e[1];var i=r(null),u=i[0],a=i[1];var s=r(400),f=s[0],g=s[1];var d=null;var v=function(){if(u){g(u.clientWidth)}};c((function(){if(!u)return;var t=new ResizeObserver((function(){if(d){clearTimeout(d)}d=setTimeout((function(){v()}),50)}));t.observe(u);v();return function(){return t.disconnect()}}),[u]);c((function(){var e=function(){window.onGoogleLibraryLoad=null;var e=l();if(e.type!=="SquatchPortal")return;var n=function(e){t.initComplete.emit(e)};google.accounts.id.initialize({client_id:e.env.googleOAuthId,callback:n});o(true)};if(window.google)e();window.onGoogleLibraryLoad=e}),[]);c((function(){if(!u||!n)return;google.accounts.id.renderButton(u,{theme:"outline",size:"large",text:t.text,height:40,width:f})}),[u,n,f]);return{setGoogleButtonDiv:a}}var f=t("sqm_google_sign_in",function(){function t(t){e(this,t);this.initComplete=n(this,"initComplete",7);this.googleButtonDiv=null;u(this)}t.prototype.disconnectedCallback=function(){};t.prototype.connectedCallback=function(){var t="https://accounts.google.com/gsi/client";if(!document.head.querySelector('script[src="'+t+'"]')){var e=document.createElement("script");e.src="https://accounts.google.com/gsi/client";e.async=true;document.head.appendChild(e)}};t.prototype.render=function(){var t=(a()?g(this):s(this)).setGoogleButtonDiv;return o("div",{ref:t,style:{width:"100%"}})};Object.defineProperty(t.prototype,"el",{get:function(){return i(this)},enumerable:false,configurable:true});return t}());function g(t){var e=r(false),n=e[0],o=e[1];var i=r(null),u=i[0],l=i[1];c((function(){var t=function(){window.onGoogleLibraryLoad=null;o(true)};if(window.google)t();window.onGoogleLibraryLoad=t}),[]);c((function(){if(!u||!n)return;var e=function(){t.initComplete.emit({credential:null})};google.accounts.id.initialize({client_id:"PLACEHOLDER",cb:function(){}});google.accounts.id.renderButton(u,{theme:"outline",size:"large",text:t.text,click_listener:e})}),[u,n]);return{setGoogleButtonDiv:l}}}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-641f968d.system.js","./p-
|
|
1
|
+
System.register(["./p-641f968d.system.js","./p-d533ff7b.system.js","./p-1a673057.system.js"],(function(e){"use strict";var a,s,t,r;return{setters:[function(e){a=e.h;s=e.F},function(e){t=e.i},function(e){r=e.c}],execute:function(){e({P:i,a:l});var n={Dialog:{"&::part(panel)":{maxWidth:"480px"},"&::part(body)":{padding:"0 var(--sl-spacing-x-large)",fontSize:"var(--sl-font-size-small)",overflow:"visible"},"&::part(overlay)":{background:"var(--sl-overlay-background-color)"}},DialogTitle:{fontSize:"var(--sl-font-size-x-large)",fontWeight:"600",padding:"var(--sl-spacing-large) 0 0 0",margin:"0"},FormFields:{display:"flex",flexDirection:"column",gap:"var(--sl-spacing-medium)",marginTop:"var(--sl-spacing-large)","& sl-select::part(base)":{color:"var(--sqm-input-color)"}},NameInput:{"&::part(label)":{fontWeight:"var(--sl-font-weight-normal)",fontSize:"var(--sl-input-label-font-size-medium)"}},ErrorMessage:{marginTop:"var(--sl-spacing-x-small)"},SearchInput:{"&::part(base)":{border:"none",borderBottom:"1px solid var(--sl-color-neutral-300)",borderRadius:"0"}},SelectMenu:{maxHeight:"300px"},DescriptionContainer:{display:"flex",flexDirection:"column",gap:"var(--sl-spacing-medium)",margin:"0","& > p":{margin:"0"}},CheckboxWrapper:{display:"flex",justifyContent:"flex-start",flexDirection:"column"},Checkbox:{"&::part(label)":{fontSize:"var(--sl-font-size-small)"}},SubmitButton:{width:"100%",marginTop:"var(--sl-spacing-large)","&::part(base)":{color:"var(--sqm-primary-button-color)",backgroundColor:"var(--sqm-primary-button-background)",border:"var(--sqm-primary-button-color-border)",borderRadius:"var(--sqm-primary-button-radius)"}}};function l(e){var l,i;var o=e.states,c=e.callbacks,u=e.text;var p=r(n);var d=p.toString();var m=t.formatMessage({id:"emailVerificationErrorText",defaultMessage:u.emailVerificationErrorText},{loginLinkText:a("a",{target:"_blank",href:"https://app.impact.com/login.user"},u.loginLinkText)});var g=t.formatMessage({id:"supportDescriptionExistingPartner",defaultMessage:u.supportDescriptionExistingPartner},{supportLink:a("a",{target:"_blank",href:"mailto:advocate-payment-support@impact.com"},u.supportLink)});var b=o.isExistingPartner||!o.emailCanBeUsed?a("span",{class:p.classes.DescriptionContainer},a("p",null,u.descriptionExistingPartner),a("p",null,g)):a("p",{class:p.classes.DescriptionContainer},u.descriptionNewPartner);var v=o.isExistingPartner||!o.emailCanBeUsed?u.confirmButtonLabel:u.submitButtonLabel;var f=t.formatMessage({id:"bankingCollectionText",defaultMessage:u.allowBankingCollection},{termsAndConditionsLink:a("a",{href:u.termsAndConditionsLink,target:"_blank"},u.termsAndConditionsLabel)});return a("div",{part:"sqm-base"},a("style",{type:"text/css"},d),a("div",{class:p.classes.FormFields},b,o.shouldDisplayNameFields&&a(s,null,a("sl-input",{exportparts:"label: input-label, base: input-base",class:p.classes.NameInput,label:"First Name",value:o.firstName,"onSl-input":c.onFirstNameChange,disabled:o.submitting||!o.emailCanBeUsed,required:true}),a("sl-input",{exportparts:"label: input-label, base: input-base",class:p.classes.NameInput,label:"Last Name",value:o.lastName,"onSl-input":c.onLastNameChange,disabled:o.submitting||!o.emailCanBeUsed,required:true})),a("sl-select",{exportparts:"label: input-label, base: input-base, menu: select-menu",label:u.countryLabel,value:o.countryCode,disabled:o.submitting||!o.emailCanBeUsed||!!o.countryCode&&o.isExistingPartner,required:true,hoist:true,"onSl-select":c.onCountryChange},a("sl-input",{class:p.classes.SearchInput,placeholder:u.searchCountryPlaceholder,onKeyDown:function(e){return e.stopPropagation()},"onSl-input":function(e){var a;c.setCountrySearch((a=e.target)===null||a===void 0?void 0:a.value)}}),a("div",{class:p.classes.SelectMenu},(l=o.filteredCountries)===null||l===void 0?void 0:l.map((function(e){return a("sl-menu-item",{value:e.countryCode},e.displayName)})))),a("sl-select",{exportparts:"label: input-label, base: input-base",label:u.currencyLabel,value:o.currency,disabled:o.submitting||!o.emailCanBeUsed||!!o.currency&&o.isExistingPartner,required:true,hoist:true,"onSl-select":c.onCurrencyChange},a("sl-input",{class:p.classes.SearchInput,placeholder:u.searchCurrencyPlaceholder,onKeyDown:function(e){return e.stopPropagation()},"onSl-input":function(e){var a;return c.setCurrencySearch((a=e.target)===null||a===void 0?void 0:a.value)}}),a("div",{class:p.classes.SelectMenu},(i=o.filteredCurrencies)===null||i===void 0?void 0:i.map((function(e){return a("sl-menu-item",{value:e.currencyCode},e.currencyCode," - ",e.displayName)})))),a("div",{class:p.classes.CheckboxWrapper},a("sl-checkbox",{class:p.classes.Checkbox,checked:o.allowBankingCollection===true,"onSl-change":c.onCheckboxChange,disabled:o.submitting||!o.emailCanBeUsed,required:true,value:o.allowBankingCollection,id:"allowBankingCollection",name:"/allowBankingCollection"},f))),o.error&&a("div",{class:p.classes.ErrorMessage},a("sqm-form-message",{class:p.classes.ErrorMessage,type:"error"},a("p",{part:"alert-description"},o.error))),!o.emailCanBeUsed&&a("div",{class:p.classes.ErrorMessage},a("sqm-form-message",{type:"error"},a("p",{part:"alert-description"},m))),a("sl-button",{slot:"footer",type:"primary",loading:o.submitting,disabled:o.submitting||!o.emailCanBeUsed||!o.countryCode||!o.currency||!o.allowBankingCollection||o.shouldDisplayNameFields&&(!o.firstName||!o.lastName),onClick:c.onSubmit,class:p.classes.SubmitButton,exportparts:"base: primarybutton-base"},v))}function i(e){var s=e.states,t=e.text,i=e.callbacks;var o=r(n);var c=o.toString();if(!s.open)return a("div",null);var u=s.isExistingPartner||!s.emailCanBeUsed?t.modalHeaderExistingPartner:t.modalHeader;return a("div",null,a("style",{type:"text/css"}," ",c),a("sl-dialog",{class:o.classes.Dialog,open:s.open,noHeader:true,label:u,"onSl-request-close":function(e){e.preventDefault()},"onSl-hide":function(e){var a;if(((a=e.target)===null||a===void 0?void 0:a.tagName)==="SL-DIALOG"){e.preventDefault()}},"onSl-initial-focus":i.onInitialFocus},a("h2",{class:o.classes.DialogTitle},u),a(l,Object.assign({},e))))}}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(e,t,n,i){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,a){function s(e){try{c(i.next(e))}catch(e){a(e)}}function o(e){try{c(i["throw"](e))}catch(e){a(e)}}function c(e){e.done?n(e.value):r(e.value).then(s,o)}c((i=i.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,r,a,s;return s={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function o(e){return function(t){return c([e,t])}}function c(s){if(i)throw new TypeError("Generator is already executing.");while(n)try{if(i=1,r&&(a=s[0]&2?r["return"]:s[0]?r["throw"]||((a=r["return"])&&a.call(r),0):r.next)&&!(a=a.call(r,s[1])).done)return a;if(r=0,a)s=[s[0]&2,a.value];switch(s[0]){case 0:case 1:a=s;break;case 4:n.label++;return{value:s[1],done:false};case 5:n.label++;r=s[1];s=[0];continue;case 7:s=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(s[0]===6||s[0]===2)){n=0;continue}if(s[0]===3&&(!a||s[1]>a[0]&&s[1]<a[3])){n.label=s[1];break}if(s[0]===6&&n.label<a[1]){n.label=a[1];a=s;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(s);break}if(a[2])n.ops.pop();n.trys.pop();continue}s=t.call(e,n)}catch(e){s=[6,e];r=0}finally{i=a=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};System.register(["./p-641f968d.system.js","./p-
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(e,t,n,i){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,a){function s(e){try{c(i.next(e))}catch(e){a(e)}}function o(e){try{c(i["throw"](e))}catch(e){a(e)}}function c(e){e.done?n(e.value):r(e.value).then(s,o)}c((i=i.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,r,a,s;return s={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function o(e){return function(t){return c([e,t])}}function c(s){if(i)throw new TypeError("Generator is already executing.");while(n)try{if(i=1,r&&(a=s[0]&2?r["return"]:s[0]?r["throw"]||((a=r["return"])&&a.call(r),0):r.next)&&!(a=a.call(r,s[1])).done)return a;if(r=0,a)s=[s[0]&2,a.value];switch(s[0]){case 0:case 1:a=s;break;case 4:n.label++;return{value:s[1],done:false};case 5:n.label++;r=s[1];s=[0];continue;case 7:s=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(s[0]===6||s[0]===2)){n=0;continue}if(s[0]===3&&(!a||s[1]>a[0]&&s[1]<a[3])){n.label=s[1];break}if(s[0]===6&&n.label<a[1]){n.label=a[1];a=s;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(s);break}if(a[2])n.ops.pop();n.trys.pop();continue}s=t.call(e,n)}catch(e){s=[6,e];r=0}finally{i=a=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};System.register(["./p-641f968d.system.js","./p-d533ff7b.system.js","./p-b6504987.system.js","./p-ec3e44c8.system.js","./p-4bd679a7.system.js","./p-1a673057.system.js","./p-8a6494c7.system.js","./p-7562cd98.system.js","./p-036b876f.system.js"],(function(e){"use strict";var t,n,i,r,a,s,o,c,u,l,f,v,d,g;return{setters:[function(e){t=e.r;n=e.h},function(){},function(e){i=e.k;r=e.m;a=e.f;s=e.n},function(e){o=e.l;c=e.n;u=e.J;l=e.j;f=e.b;v=e.i},function(e){d=e.c},function(){},function(){},function(){},function(e){g=e.P}],execute:function(){function h(e){var t=this;var n,s,v,d,g,h,m,y,p;var b=o(),w=b[0],M=b[1],_=M.loading,k=M.data,E=M.errors;var x=c(),S=x[0],I=x[1],P=I.data,V=I.loading;var j=u();var L=(n=j===null||j===void 0?void 0:j.managedIdentity)===null||n===void 0?void 0:n.email;var R=new URLSearchParams(l.location.search);var T=R.get("nextPage");var B=i(false),H=B[0],C=B[1];var q=i(""),A=q[0],D=q[1];var G=i(10),J=G[0],U=G[1];var Y=r(undefined);var z=r(undefined);var F=function(){return __awaiter(t,void 0,void 0,(function(){var t,n,i,r,a;return __generator(this,(function(s){switch(s.label){case 0:if(!L)return[2];D("");C(false);n=T?{nextPage:T}:null;i=e.redirectPath;r={email:L,urlParams:n,redirectPath:i};return[4,w(r)];case 1:a=s.sent();if(a instanceof Error){if(a.message)D(e.networkErrorMessage);return[2]}if((t=a.requestManagedIdentityVerificationEmail)===null||t===void 0?void 0:t.success)C(true);return[2]}}))}))};function K(){return __awaiter(this,void 0,void 0,(function(){var t,n;return __generator(this,(function(i){switch(i.label){case 0:return[4,S()];case 1:n=i.sent();if((t=n===null||n===void 0?void 0:n.managedIdentitySession)===null||t===void 0?void 0:t.emailVerified){clearInterval(Y.current);return[2,l.push({pathname:e.redirectPath,search:R.toString()&&"?"+R.toString()})]}Q(10);return[2]}}))}))}var N=function(e){if(e===void 0){e=1e4}return setInterval(K,e)};var O=function(e){return setInterval((function(){return U(e)}),1e3)};function Q(e){clearInterval(z.current);clearInterval(Y.current);if(document.visibilityState==="hidden")return;if(e)U(e);var t=J||10;z.current=O(e-1||t-1);Y.current=N(e*1e3||t*1e3)}var W=f((function(){return Q()}),[J]);a((function(){if(!Y.current){K();Y.current=N()}return function(){clearInterval(Y.current)}}),[]);a((function(){if(J>0){clearInterval(z.current);z.current=O(J-1)}document.addEventListener("visibilitychange",W);return function(){clearInterval(z.current);document.removeEventListener("visibilitychange",W)}}),[J]);return{states:{loading:_,error:((g=(d=(v=(s=E===null||E===void 0?void 0:E.response)===null||s===void 0?void 0:s.errors)===null||v===void 0?void 0:v[0])===null||d===void 0?void 0:d.extensions)===null||g===void 0?void 0:g.message)||((y=(m=(h=E===null||E===void 0?void 0:E.response)===null||h===void 0?void 0:h.errors)===null||m===void 0?void 0:m[0])===null||y===void 0?void 0:y.message)||A,success:H,loadingVerification:V,isVerified:!!((p=P===null||P===void 0?void 0:P.managedIdentitySession)===null||p===void 0?void 0:p.emailVerified),countdown:J},callbacks:{submit:F},content:{email:L,verifyMessage:e.verifyMessage,emailVerificationHeader:e.emailVerificationHeader,resendEmailButtonText:e.resendEmailButtonText,verificationLoadingMessage:e.verificationLoadingMessage,verificationStatusMessage:e.verificationStatusMessage,verificationResentMessage:e.verificationResentMessage,networkErrorMessage:e.networkErrorMessage}}}var m=e("sqm_portal_email_verification",function(){function e(e){t(this,e);this.ignored=true;this.redirectPath="/verifyEmail";this.emailVerificationHeader="Verify your email";this.resendEmailButtonText="Re-send Email";this.verifyMessage="A verification email was sent to {email}. Please verify your email to continue to the portal. Resending an email will invalidate the previous email.";this.verificationStatusMessage="Checking verification status in {countdown}";this.verificationLoadingMessage="Checking verification status";this.verificationResentMessage="Your verification email has been resent successfully";this.networkErrorMessage="An error occurred while verifying your password. Please refresh the page.";s(this)}e.prototype.disconnectedCallback=function(){};e.prototype.render=function(){var e=v()?y(this):h(this),t=e.states,i=e.callbacks,r=e.content;return n(g,{states:t,callbacks:i,content:r})};return e}());function y(e){var t=this;return d({states:{error:"",loading:false,success:false,countdown:10},callbacks:{submit:function(e){return __awaiter(t,void 0,void 0,(function(){return __generator(this,(function(e){return[2]}))}))}},content:{email:"test@example.com",verifyMessage:e.verifyMessage,emailVerificationHeader:e.emailVerificationHeader,resendEmailButtonText:e.resendEmailButtonText,verificationLoadingMessage:e.verificationLoadingMessage,verificationStatusMessage:e.verificationStatusMessage,verificationResentMessage:e.verificationResentMessage,networkErrorMessage:e.networkErrorMessage}},e.demoData||{},{arrayMerge:function(e,t){return t}})}}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{h as e}from"./p-083180bf.js";import{j as s}from"./p-
|
|
1
|
+
import{h as e}from"./p-083180bf.js";import{j as s}from"./p-6e9738a4.js";import{c as t}from"./p-cef45012.js";import{A as r,a,b as o,H as l,E as n}from"./p-49b20dae.js";import{T as i}from"./p-c813ec64.js";function p(l){const{states:n,callbacks:p,content:d}=l,m={FormWrapper:{...r,background:d.backgroundColor||"var(--sqm-portal-background)",borderRadius:d.borderRadius||"var(--sqm-border-radius-normal)",border:d.border||"var(--sqm-border-thickness) solid var(--sqm-border-color)"},Column:{...a},ButtonsContainer:o,SecondaryButton:{margin:"auto",display:"block",cursor:"pointer"}},u=t(m),b=u.toString();return e("div",{class:u.classes.FormWrapper,part:"sqm-base"},e("style",{type:"text/css"},"\n:host {\n display: block;\n}\n:host([hidden]): {\n display: none;\n}\n",b),e(i,{type:"h3"},d.messageSlot),e("sl-form",{class:u.classes.Column,"onSl-submit":p.submit},l.states.error&&e("sqm-form-message",{type:"error",exportparts:"erroralert-icon"},e("div",{part:"erroralert-text"},l.states.error)),l.states.success&&e("sqm-form-message",{type:"success",exportparts:"successalert-icon"},e("div",{part:"successalert-text"},d.successAlertText)),e("sl-input",{exportparts:"label: input-label, base: input-base",type:"email",name:"/email",label:d.emailLabel||"Email",disabled:n.loading,required:!0}),e("div",{class:u.classes.ButtonsContainer},e("sl-button",{submit:!0,loading:n.loading,exportparts:"base: primarybutton-base",type:"primary"},d.submitLabel||"Reset Password"),e("sl-button",{type:"secondary",exportparts:"base: secondarybutton-base",class:u.classes.SecondaryButton,disabled:n.loading,onClick:()=>s.push(n.loginPath)},d.loginText))))}const d={Wrapper:r,Column:a,ForgotButtonContainer:{display:"inline",cursor:"pointer","font-size":"13px","font-weight":"600",color:"var(--sqm-text-subdued)",margin:"0"},ButtonsContainer:{...o,gap:"var(--sl-spacing-medium)","& > *":{margin:"0 !important"}}},m=t(d),u=m.toString();function b(s){const{states:t,callbacks:r,content:a}=s;return e("div",{class:m.classes.Wrapper,part:"sqm-base"},e("style",{type:"text/css"},"\n:host {\n display: block;\n}\n:host([hidden]): {\n display: none;\n}\n",u),e(i,{type:"h3"},a.pageLabel),e("sl-form",{class:m.classes.Column,"onSl-submit":r.submit},s.states.error&&e("sqm-form-message",{type:"error",exportparts:"erroralert-icon"},e("div",{part:"erroralert-text"},s.states.error)),e("sl-input",{exportparts:"label: input-label, base: input-base",type:"email",name:"/email",label:a.emailLabel||"Email",disabled:t.loading,required:!0}),e("div",null,e("sl-input",{exportparts:"label: input-label, base: input-base",type:"password",name:"/password",label:a.passwordLabel||"Password",disabled:t.loading,required:!0}),e("div",{class:m.classes.ForgotButtonContainer},a.forgotPasswordButton)),e("div",{class:m.classes.ButtonsContainer},e("sl-button",{submit:!0,loading:t.loading,exportparts:"base: primarybutton-base",type:"primary"},a.submitLabel||"Login"),a.googleButton&&e("sl-menu-divider",null),a.googleButton,a.secondaryButton)))}const c={Wrapper:{...r,"max-width":"600px"},Column:a,HostBlock:l,":host":{margin:"0 auto",width:"100%"},ButtonsContainer:o,ErrorStyle:n},v=t(c),y=v.toString();function x(s){var t,r,a,o,l,n,p,d,m,u,b,c,x;const{states:f,refs:h,callbacks:q,content:g}=s;return f.error&&window.scrollTo({top:0,left:0,behavior:"smooth"}),e("div",{class:v.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",y),e(i,{type:"h3"},g.pageLabel),e("sl-form",{class:v.classes.Column,"onSl-submit":q.submit,ref:e=>h.formRef.current=e,novalidate:!0},f.error&&e("sqm-form-message",{type:"error",exportparts:"erroralert-icon"},e("div",{part:"erroralert-text"},s.states.error)),g.formData,!f.hideInputs&&e("sl-input",Object.assign({exportparts:"label: input-label, base: input-base",type:"email",name:"/email",label:g.emailLabel||"Email",disabled:f.loading,required:!0,validationError:({value:e})=>e?e.includes("@")?void 0:g.invalidEmailErrorMessage:g.requiredFieldErrorMessage},(null===(r=null===(t=f.registrationFormState)||void 0===t?void 0:t.validationErrors)||void 0===r?void 0:r.email)?{class:v.classes.ErrorStyle,helpText:(null===(o=null===(a=f.registrationFormState)||void 0===a?void 0:a.validationErrors)||void 0===o?void 0:o.email)||g.requiredFieldErrorMessage}:[])),!f.hideInputs&&e("sqm-password-field",{fieldLabel:g.passwordLabel,"disable-validation":f.disablePasswordValidation,meetsRequirementsText:g.meetsRequirementsText,doesNotMeetRequirementsText:g.doesNotMeetRequirementsText,minErrorText:g.minErrorText,uppercaseErrorText:g.uppercaseErrorText,lowercaseErrorText:g.lowercaseErrorText,hasErrorText:g.hasErrorText}),g.passwordField,!f.hideInputs&&f.confirmPassword&&e("sl-input",Object.assign({exportparts:"label: input-label, base: input-base",type:"password",name:"/confirmPassword",label:g.confirmPasswordLabel,disabled:f.loading||(null===(l=f.registrationFormState)||void 0===l?void 0:l.disabled),required:!0},(null===(p=null===(n=f.registrationFormState)||void 0===n?void 0:n.initialData)||void 0===p?void 0:p.confirmPassword)?{value:null===(m=null===(d=f.registrationFormState)||void 0===d?void 0:d.initialData)||void 0===m?void 0:m.confirmPassword}:{},(null===(b=null===(u=f.registrationFormState)||void 0===u?void 0:u.validationErrors)||void 0===b?void 0:b.confirmPassword)?{class:v.classes.ErrorStyle,helpText:(null===(x=null===(c=f.registrationFormState)||void 0===c?void 0:c.validationErrors)||void 0===x?void 0:x.confirmPassword)||g.requiredFieldErrorMessage}:[])),g.terms,e("div",{class:v.classes.ButtonsContainer},e("sl-button",{submit:!0,loading:f.loading,exportparts:"base: primarybutton-base",type:"primary"},g.submitLabel||"Register"),g.secondaryButton)))}const f=t({Wrapper:r,Column:a,ContinueButton:{width:"100%"}}),h=f.toString();function q(s){const{states:t,data:r,callbacks:a,content:o}=s;if(!t.loading)return t.success?e("div",{class:f.classes.Wrapper,part:"sqm-base"},e("style",{type:"text/css"},"\n:host {\n display: block;\n}\n:host([hidden]): {\n display: none;\n}\n",h),e(i,{type:"h3"},o.verifyEmailText),e("sqm-form-message",{exportparts:"successalert-icon"},e("div",{part:"successalert-text"},o.verifySuccessText)),e("sl-button",{class:f.classes.ContinueButton,onClick:a.gotoNextPage,loading:t.loading,exportparts:"base: primarybutton-base",type:"primary"},o.continueText)):t.error||!r.oobCode?e("div",{class:f.classes.Wrapper,part:"sqm-base"},e("style",{type:"text/css"},h),e(i,{type:"h3"},o.verifyEmailText),e("sqm-form-message",{type:"error",exportparts:"erroralert-icon"},e("div",{part:"erroralert-text"},o.verifyInvalidText)),e("sl-button",{class:f.classes.ContinueButton,onClick:a.failed,disabled:t.loading,exportparts:"base: primarybutton-base",type:"primary"},o.continueText)):void 0}export{p as P,b as a,x as b,q as c}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{h as e}from"./p-083180bf.js";import{i as a}from"./p-6f8a3436.js";import{c as l}from"./p-cef45012.js";import{m as n,c as r,p as t,M as i,a as o,b as u,P as s,d as c,i as A,e as v,f as b,g as N,h as f,j as d,k as I,l as T,V as O,n as S}from"./p-a08157c4.js";function p(e,a){var l=Array.prototype.slice.call(a);return l.push(n),e.apply(this,l)}var h=function e(a){!function(e,a){if(!(e instanceof a))throw new TypeError("Cannot call a class as a function")}(this,e),this.name=this.constructor.name,this.message=a,this.stack=new Error(a).stack};(h.prototype=Object.create(Error.prototype)).constructor=h;var E=new RegExp("(?:"+r()+")$","i");function y(e){var a="",l=e.split(""),n=Array.isArray(l),r=0;for(l=n?l:l[Symbol.iterator]();;){var t;if(n){if(r>=l.length)break;t=l[r++]}else{if((r=l.next()).done)break;t=r.value}a+=m(t,a)||""}return a}function m(e,a){if("+"===e){if(a)return;return"+"}return t(e)}var R=new RegExp("["+T+O+"]"),C=new RegExp("[^"+O+"#]+$");function w(e,a,l){return a in e?Object.defineProperty(e,a,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[a]=l,e}function g(e,a,l){return function(e,a,l){if(a=a||{},l=new i(l),a.defaultCountry&&!l.hasCountry(a.defaultCountry)){if(a.v2)throw new h("INVALID_COUNTRY");throw new Error("Unknown country: ".concat(a.defaultCountry))}var n=function(e,a,l){if(e&&0===e.indexOf("tel:"))return v(e);var n=function(e,a,l){if(e)if(e.length>250){if(l)throw new h("TOO_LONG")}else{if(!1===a)return e;var n=e.search(R);if(!(n<0))return e.slice(n).replace(C,"")}}(e,l,a);if(!n||!b(n))return{};var r=function(e){var a=e.search(E);if(a<0)return{};for(var l=e.slice(0,a),n=e.match(E),r=1;r<n.length;){if(n[r])return{number:l,ext:n[r]};r++}}(n);return r.ext?r:{number:n}}(e,a.v2,a.extract),r=n.number,t=n.ext;if(!r){if(a.v2)throw new h("NOT_A_NUMBER");return{}}var T=function(e,a,l,n){var r,t=N(y(e),a,l,n.metadata),i=t.countryCallingCode,o=t.number;if(i)n.selectNumberingPlan(i);else{if(!o||!a&&!l)return{};n.selectNumberingPlan(a,l),a&&(r=a),i=l||f(a,n.metadata)}if(!o)return{countryCallingCode:i};var u=d(y(o),n),s=u.nationalNumber,c=u.carrierCode,A=I(i,s,n);return A&&(r=A,"001"===A||n.country(r)),{country:r,countryCallingCode:i,nationalNumber:s,carrierCode:c}}(r,a.defaultCountry,a.defaultCallingCode,l),O=T.country,S=T.nationalNumber,p=T.countryCallingCode,m=T.carrierCode;if(!l.hasSelectedNumberingPlan()){if(a.v2)throw new h("INVALID_COUNTRY");return{}}if(!S||S.length<o){if(a.v2)throw new h("TOO_SHORT");return{}}if(S.length>u){if(a.v2)throw new h("TOO_LONG");return{}}if(a.v2){var w=new s(p,S,l.metadata);return O&&(w.country=O),m&&(w.carrierCode=m),t&&(w.ext=t),w}var g=!!(a.extended?l.hasSelectedNumberingPlan():O)&&c(S,l.nationalNumberPattern());return a.extended?{country:O,countryCallingCode:p,carrierCode:m,valid:g,possible:!!g||!(!0!==a.extended||!l.possibleLengths()||!A(S,l)),phone:S,ext:t}:g?function(e,a,l){var n={country:e,phone:a};return l&&(n.ext=l),n}(O,S,t):{}}(e,function(e){for(var a=1;a<arguments.length;a++){var l=null!=arguments[a]?arguments[a]:{},n=Object.keys(l);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(l).filter((function(e){return Object.getOwnPropertyDescriptor(l,e).enumerable})))),n.forEach((function(a){w(e,a,l[a])}))}return e}({},a,{v2:!0}),l)}function x(e){return(x="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function L(e,a,l){return a in e?Object.defineProperty(e,a,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[a]=l,e}function W(e){var a,l,n,r,t,i=(r=Array.prototype.slice.call(e),t=4,function(e){if(Array.isArray(e))return e}(r)||function(e,a){var l=[],n=!0,r=!1,t=void 0;try{for(var i,o=e[Symbol.iterator]();!(n=(i=o.next()).done)&&(l.push(i.value),!a||l.length!==a);n=!0);}catch(e){r=!0,t=e}finally{try{n||null==o.return||o.return()}finally{if(r)throw t}}return l}(r,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()),o=i[0],u=i[1],s=i[2],c=i[3];if("string"!=typeof o)throw new TypeError("A text for parsing must be a string.");if(a=o,u&&"string"!=typeof u){if(!M(u))throw new Error("Invalid second argument: ".concat(u));s?(l=u,n=s):n=u}else c?(l=s,n=c):(l=void 0,n=s),u&&(l=function(e){for(var a=1;a<arguments.length;a++){var l=null!=arguments[a]?arguments[a]:{},n=Object.keys(l);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(l).filter((function(e){return Object.getOwnPropertyDescriptor(l,e).enumerable})))),n.forEach((function(a){L(e,a,l[a])}))}return e}({defaultCountry:u},l));return{text:a,options:l,metadata:n}}var M=function(e){return"object"===x(e)};function D(e,a,l){return a in e?Object.defineProperty(e,a,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[a]=l,e}function H(e,a,l){a&&a.defaultCountry&&!S(a.defaultCountry,l)&&(a=function(e){for(var a=1;a<arguments.length;a++){var l=null!=arguments[a]?arguments[a]:{},n=Object.keys(l);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(l).filter((function(e){return Object.getOwnPropertyDescriptor(l,e).enumerable})))),n.forEach((function(a){D(e,a,l[a])}))}return e}({},a,{defaultCountry:void 0}));try{return g(e,a,l)}catch(e){if(!(e instanceof h))throw e}}function U(){var e=W(arguments),a=e.text,l=e.options,n=e.metadata;return H(a,l,n)}function k(){return p(U,arguments)}function B(e,a){var l;if(!a)return"";const n=k(a,null==e?void 0:e.toUpperCase());return null!==(l=null==n?void 0:n.nationalNumber)&&void 0!==l?l:a.replace(/\D/g,"")}function j(e,a){if(!e||!(null==a?void 0:a.trim()))return!1;const l=e.toUpperCase(),n=k(a,l);return!!(null==n?void 0:n.isValid())&&function(e,a){if(!a)return!1;switch(e){case"US":case"CA":return 10===(a.startsWith("1")?a.slice(1):a).length;case"AU":return 9===a.length||10===a.length;case"NZ":{let e=a;return e.length>9&&(e.startsWith("640")?e=e.slice(3):e.startsWith("0")&&(e=e.slice(1))),e.length>=8&&e.length<=10}default:return function(e){return e.startsWith("0")?e.slice(1):e}(a).length>=6}}(l,B(l,a))}function P(e){return!!["W9","W8BENE","W8BEN"].includes(e)}const V=e=>!Object.keys(e).find((a=>null==e[a])),Y=e=>{switch(e){case"W9":return"W-9";case"W8BEN":case"W8BENE":return"W-8";default:return""}};function K(e,a){return a.trim().search(e)>-1}const G=(e,l)=>a.formatMessage({id:e,defaultMessage:l},{fieldName:e});function q({countryCode:e,locale:a}){return{countryCode:e,displayName:new Intl.DisplayNames([a],{type:"region"}).of(e)}}function F(e){var a,l;const n=null===(a=null==e?void 0:e.withdrawalSettings)||void 0===a?void 0:a.paymentThreshold;if(n)return`${null!==(l=null==e?void 0:e.currency)&&void 0!==l?l:""}${n}`}function _(e){var a,l;const n=null===(a=null==e?void 0:e.withdrawalSettings)||void 0===a?void 0:a.paymentThreshold,r=null==e?void 0:e.payoutsAccount;if(!n||!r)return!1;const t=Number(n);if(!Number.isFinite(t)||!Number.isFinite(r.balanceAmount))return!1;if(r.balanceAmount<=0)return!1;const i=r.currencyCode||(null==e?void 0:e.currency);if(!i)return!1;const o=10**(null!==(l=new Intl.NumberFormat("en-US",{style:"currency",currency:i}).resolvedOptions().maximumFractionDigits)&&void 0!==l?l:2);return r.balanceAmount<Math.round(t*o)}const Q=l({Container:{display:"flex",flexDirection:"column",gap:"35px"},HeaderContainer:{display:"flex",flexDirection:"column",gap:"10px"}}),$=Q.toString(),J=()=>e("div",{class:Q.classes.Container},e("style",{type:"text/css"},$),e("sqm-skeleton",{width:"45%",height:"40px !important"}),e("div",{class:Q.classes.HeaderContainer},e("sqm-skeleton",{width:"15%"}),e("sqm-skeleton",{width:"25%",height:"30px !important"})),e("sqm-skeleton",{width:"75%",height:"35px"}),e("sqm-skeleton",{width:"75%",height:"35px"}),e("sqm-skeleton",{width:"75%",height:"35px"}),e("sqm-skeleton",{width:"75%",height:"35px"}),e("sqm-skeleton",{width:"75%",height:"35px"}),e("sqm-skeleton",{width:"75%",height:"35px"}),e("sqm-skeleton",{width:"75%",height:"35px"}),e("sqm-skeleton",{width:"75%",height:"35px"}),e("sqm-skeleton",{width:"75%",height:"35px"}),e("sqm-skeleton",{width:"75%",height:"35px"}),e("sqm-skeleton",{width:"75%",height:"35px"}),e("sqm-skeleton",{width:"15%"}),e("sqm-skeleton",{width:"80px",height:"30px !important"})),X=[{regionCode:"ALBERTA",taxType:"GST",displayName:"Alberta"},{regionCode:"BRITISHCOLUMBIA",taxType:"HST",displayName:"British Columbia"},{regionCode:"MANITOBA",taxType:"HST",displayName:"Manitoba"},{regionCode:"NEWBRUNSWICK",taxType:"HST",displayName:"New Brunswick"},{regionCode:"NEWFOUNDLANDLABRADOR",taxType:"HST",displayName:"Newfoundland"},{regionCode:"NORTHWESTTERRITORIES",taxType:"GST",displayName:"North West Territories"},{regionCode:"NOVASCOTIA",taxType:"HST",displayName:"Nova Scotia"},{regionCode:"NUNAVUT",taxType:"HST",displayName:"Nunavut"},{regionCode:"ONTARIO",taxType:"HST",displayName:"Ontario"},{regionCode:"PRINCEEDWARDISLAND",taxType:"HST",displayName:"Prince Edward Island"},{regionCode:"QUEBEC",taxType:"GST",displayName:"Quebec"},{regionCode:"SASKATCHEWAN",taxType:"HST",displayName:"Saskatchewan"},{regionCode:"YUKON",taxType:"GST",displayName:"Yukon"}],Z=[{regionCode:"SPAINPROPER",taxType:"VAT",displayName:"Spain Proper"},{regionCode:"CANARYISLANDS",taxType:"VAT",displayName:"Canary Islands"}],z={CA:{labelEnum:"PROVINCE",regions:[{label:"Alberta",value:"ALBERTA"},{label:"British Columbia",value:"BRITISHCOLUMBIA"},{label:"Manitoba",value:"MANITOBA"},{label:"New Brunswick",value:"NEWBRUNSWICK"},{label:"Newfoundland & Labrador",value:"NEWFOUNDLANDANDLABRADOR"},{label:"Northwest Territories",value:"NORTHWESTTERRITORIES"},{label:"Nova Scotia",value:"NOVASCOTIA"},{label:"Nunavut",value:"NUNAVUT"},{label:"Ontario",value:"ONTARIO"},{label:"Prince Edward Island",value:"PRINCEEDWARDISLAND"},{label:"Quebec",value:"QUEBEC"},{label:"Saskatchewan",value:"SASKATCHEWAN"},{label:"Yukon",value:"YUKON"}]},ES:{labelEnum:"REGION",regions:[{label:"Canary Islands",value:"CANARYISLANDS"},{label:"Spain Proper",value:"SPAINPROPER"}]},AU:{labelEnum:"STATE",regions:[{label:"Australian Capital Territory",value:"CAPITALTERRITORY"},{label:"New South Wales",value:"NEWSOUTHWALES"},{label:"Northern Territory",value:"NORTHERNTERRITORY"},{label:"Queensland",value:"QUEENSLAND"},{label:"South Australia",value:"SOUTHAUSTRALIA"},{label:"Tasmania",value:"TASMANIA"},{label:"Victoria",value:"VICTORIA"},{label:"Western Australia",value:"WESTERNAUSTRALIA"}]},US:{labelEnum:"STATE",regions:[{label:"Alabama",value:"ALABAMA"},{label:"Alaska",value:"ALASKA"},{label:"Arizona",value:"ARIZONA"},{label:"Arkansas",value:"ARKANSAS"},{label:"California",value:"CALIFORNIA"},{label:"Colorado",value:"COLORADO"},{label:"Connecticut",value:"CONNECTICUT"},{label:"Delaware",value:"DELAWARE"},{label:"District of Columbia",value:"DISTRICTOFCOLUMBIA"},{label:"Florida",value:"FLORIDA"},{label:"Georgia",value:"GEORGIA"},{label:"Hawaii",value:"HAWAII"},{label:"Idaho",value:"IDAHO"},{label:"Illinois",value:"ILLINOIS"},{label:"Indiana",value:"INDIANA"},{label:"Iowa",value:"IOWA"},{label:"Kansas",value:"KANSAS"},{label:"Kentucky",value:"KENTUCKY"},{label:"Louisiana",value:"LOUISIANA"},{label:"Maine",value:"MAINE"},{label:"Maryland",value:"MARYLAND"},{label:"Massachusetts",value:"MASSACHUSETTS"},{label:"Michigan",value:"MICHIGAN"},{label:"Minnesota",value:"MINNESOTA"},{label:"Mississippi",value:"MISSISSIPPI"},{label:"Missouri",value:"MISSOURI"},{label:"Montana",value:"MONTANA"},{label:"Nebraska",value:"NEBRASKA"},{label:"Nevada",value:"NEVADA"},{label:"New Hampshire",value:"NEWHAMPSHIRE"},{label:"New Jersey",value:"NEWJERSEY"},{label:"New Mexico",value:"NEWMEXICO"},{label:"New York",value:"NEWYORK"},{label:"North Carolina",value:"NORTHCAROLINA"},{label:"North Dakota",value:"NORTHDAKOTA"},{label:"Ohio",value:"OHIO"},{label:"Oklahoma",value:"OKLAHOMA"},{label:"Oregon",value:"OREGON"},{label:"Pennsylvania",value:"PENNSYLVANIA"},{label:"Rhode Island",value:"RHODEISLAND"},{label:"South Carolina",value:"SOUTHCAROLINA"},{label:"South Dakota",value:"SOUTHDAKOTA"},{label:"Tennessee",value:"TENNESSEE"},{label:"Texas",value:"TEXAS"},{label:"Utah",value:"UTAH"},{label:"Vermont",value:"VERMONT"},{label:"Virgin Islands",value:"VIRGINISLANDS"},{label:"Virginia",value:"VIRGINIA"},{label:"Washington",value:"WASHINGTON"},{label:"West Virginia",value:"WESTVIRGINIA"},{label:"Wisconsin",value:"WISCONSIN"},{label:"Wyoming",value:"WYOMING"},{label:"Americas Forces",value:"AAMILITARY"},{label:"Europe, Middle East, Canada, Africa and Canada Forces",value:"AEMILITARY"},{label:"Pacific Forces",value:"APMILITARY"},{label:"Other",value:"OTHER"}]}};export{z as A,Z as I,J as L,X as a,_ as b,F as c,P as d,B as e,G as f,q as g,j as i,V as o,Y as t,K as v}
|
|
1
|
+
import{h as e}from"./p-083180bf.js";import{i as a}from"./p-5b0de730.js";import{c as l}from"./p-cef45012.js";import{m as n,c as r,p as t,M as i,a as o,b as u,P as s,d as c,i as A,e as b,f as v,g as N,h as f,j as d,k as I,l as T,V as O,n as S}from"./p-a08157c4.js";function p(e,a){var l=Array.prototype.slice.call(a);return l.push(n),e.apply(this,l)}var h=function e(a){!function(e,a){if(!(e instanceof a))throw new TypeError("Cannot call a class as a function")}(this,e),this.name=this.constructor.name,this.message=a,this.stack=new Error(a).stack};(h.prototype=Object.create(Error.prototype)).constructor=h;var E=new RegExp("(?:"+r()+")$","i");function y(e){var a="",l=e.split(""),n=Array.isArray(l),r=0;for(l=n?l:l[Symbol.iterator]();;){var t;if(n){if(r>=l.length)break;t=l[r++]}else{if((r=l.next()).done)break;t=r.value}a+=m(t,a)||""}return a}function m(e,a){if("+"===e){if(a)return;return"+"}return t(e)}var R=new RegExp("["+T+O+"]"),C=new RegExp("[^"+O+"#]+$");function w(e,a,l){return a in e?Object.defineProperty(e,a,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[a]=l,e}function g(e,a,l){return function(e,a,l){if(a=a||{},l=new i(l),a.defaultCountry&&!l.hasCountry(a.defaultCountry)){if(a.v2)throw new h("INVALID_COUNTRY");throw new Error("Unknown country: ".concat(a.defaultCountry))}var n=function(e,a,l){if(e&&0===e.indexOf("tel:"))return b(e);var n=function(e,a,l){if(e)if(e.length>250){if(l)throw new h("TOO_LONG")}else{if(!1===a)return e;var n=e.search(R);if(!(n<0))return e.slice(n).replace(C,"")}}(e,l,a);if(!n||!v(n))return{};var r=function(e){var a=e.search(E);if(a<0)return{};for(var l=e.slice(0,a),n=e.match(E),r=1;r<n.length;){if(n[r])return{number:l,ext:n[r]};r++}}(n);return r.ext?r:{number:n}}(e,a.v2,a.extract),r=n.number,t=n.ext;if(!r){if(a.v2)throw new h("NOT_A_NUMBER");return{}}var T=function(e,a,l,n){var r,t=N(y(e),a,l,n.metadata),i=t.countryCallingCode,o=t.number;if(i)n.selectNumberingPlan(i);else{if(!o||!a&&!l)return{};n.selectNumberingPlan(a,l),a&&(r=a),i=l||f(a,n.metadata)}if(!o)return{countryCallingCode:i};var u=d(y(o),n),s=u.nationalNumber,c=u.carrierCode,A=I(i,s,n);return A&&(r=A,"001"===A||n.country(r)),{country:r,countryCallingCode:i,nationalNumber:s,carrierCode:c}}(r,a.defaultCountry,a.defaultCallingCode,l),O=T.country,S=T.nationalNumber,p=T.countryCallingCode,m=T.carrierCode;if(!l.hasSelectedNumberingPlan()){if(a.v2)throw new h("INVALID_COUNTRY");return{}}if(!S||S.length<o){if(a.v2)throw new h("TOO_SHORT");return{}}if(S.length>u){if(a.v2)throw new h("TOO_LONG");return{}}if(a.v2){var w=new s(p,S,l.metadata);return O&&(w.country=O),m&&(w.carrierCode=m),t&&(w.ext=t),w}var g=!!(a.extended?l.hasSelectedNumberingPlan():O)&&c(S,l.nationalNumberPattern());return a.extended?{country:O,countryCallingCode:p,carrierCode:m,valid:g,possible:!!g||!(!0!==a.extended||!l.possibleLengths()||!A(S,l)),phone:S,ext:t}:g?function(e,a,l){var n={country:e,phone:a};return l&&(n.ext=l),n}(O,S,t):{}}(e,function(e){for(var a=1;a<arguments.length;a++){var l=null!=arguments[a]?arguments[a]:{},n=Object.keys(l);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(l).filter((function(e){return Object.getOwnPropertyDescriptor(l,e).enumerable})))),n.forEach((function(a){w(e,a,l[a])}))}return e}({},a,{v2:!0}),l)}function x(e){return(x="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function L(e,a,l){return a in e?Object.defineProperty(e,a,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[a]=l,e}function W(e){var a,l,n,r,t,i=(r=Array.prototype.slice.call(e),t=4,function(e){if(Array.isArray(e))return e}(r)||function(e,a){var l=[],n=!0,r=!1,t=void 0;try{for(var i,o=e[Symbol.iterator]();!(n=(i=o.next()).done)&&(l.push(i.value),!a||l.length!==a);n=!0);}catch(e){r=!0,t=e}finally{try{n||null==o.return||o.return()}finally{if(r)throw t}}return l}(r,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()),o=i[0],u=i[1],s=i[2],c=i[3];if("string"!=typeof o)throw new TypeError("A text for parsing must be a string.");if(a=o,u&&"string"!=typeof u){if(!M(u))throw new Error("Invalid second argument: ".concat(u));s?(l=u,n=s):n=u}else c?(l=s,n=c):(l=void 0,n=s),u&&(l=function(e){for(var a=1;a<arguments.length;a++){var l=null!=arguments[a]?arguments[a]:{},n=Object.keys(l);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(l).filter((function(e){return Object.getOwnPropertyDescriptor(l,e).enumerable})))),n.forEach((function(a){L(e,a,l[a])}))}return e}({defaultCountry:u},l));return{text:a,options:l,metadata:n}}var M=function(e){return"object"===x(e)};function D(e,a,l){return a in e?Object.defineProperty(e,a,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[a]=l,e}function H(e,a,l){a&&a.defaultCountry&&!S(a.defaultCountry,l)&&(a=function(e){for(var a=1;a<arguments.length;a++){var l=null!=arguments[a]?arguments[a]:{},n=Object.keys(l);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(l).filter((function(e){return Object.getOwnPropertyDescriptor(l,e).enumerable})))),n.forEach((function(a){D(e,a,l[a])}))}return e}({},a,{defaultCountry:void 0}));try{return g(e,a,l)}catch(e){if(!(e instanceof h))throw e}}function U(){var e=W(arguments),a=e.text,l=e.options,n=e.metadata;return H(a,l,n)}function k(){return p(U,arguments)}function B(e,a){var l;if(!a)return"";const n=k(a,null==e?void 0:e.toUpperCase());return null!==(l=null==n?void 0:n.nationalNumber)&&void 0!==l?l:a.replace(/\D/g,"")}function j(e,a){if(!e||!(null==a?void 0:a.trim()))return!1;const l=e.toUpperCase(),n=k(a,l);return!!(null==n?void 0:n.isValid())&&function(e,a){if(!a)return!1;switch(e){case"US":case"CA":return 10===(a.startsWith("1")?a.slice(1):a).length;case"AU":return 9===a.length||10===a.length;case"NZ":{let e=a;return e.length>9&&(e.startsWith("640")?e=e.slice(3):e.startsWith("0")&&(e=e.slice(1))),e.length>=8&&e.length<=10}default:return function(e){return e.startsWith("0")?e.slice(1):e}(a).length>=6}}(l,B(l,a))}function P(e){return!!["W9","W8BENE","W8BEN"].includes(e)}const V=e=>!Object.keys(e).find((a=>null==e[a])),Y=e=>{switch(e){case"W9":return"W-9";case"W8BEN":case"W8BENE":return"W-8";default:return""}};function K(e,a){return a.trim().search(e)>-1}const G=(e,l)=>a.formatMessage({id:e,defaultMessage:l},{fieldName:e});function q({countryCode:e,locale:a}){return{countryCode:e,displayName:new Intl.DisplayNames([a],{type:"region"}).of(e)}}function F(e){var a,l;const n=null===(a=null==e?void 0:e.withdrawalSettings)||void 0===a?void 0:a.paymentThreshold;if(n)return`${null!==(l=null==e?void 0:e.currency)&&void 0!==l?l:""}${n}`}function _(e){var a,l;const n=null===(a=null==e?void 0:e.withdrawalSettings)||void 0===a?void 0:a.paymentThreshold,r=null==e?void 0:e.payoutsAccount;if(!n||!r)return!1;const t=Number(n);if(!Number.isFinite(t)||!Number.isFinite(r.balanceAmount))return!1;if(r.balanceAmount<=0)return!1;const i=r.currencyCode||(null==e?void 0:e.currency);if(!i)return!1;const o=10**(null!==(l=new Intl.NumberFormat("en-US",{style:"currency",currency:i}).resolvedOptions().maximumFractionDigits)&&void 0!==l?l:2);return r.balanceAmount<Math.round(t*o)}const Q=l({Container:{display:"flex",flexDirection:"column",gap:"35px"},HeaderContainer:{display:"flex",flexDirection:"column",gap:"10px"}}),$=Q.toString(),J=()=>e("div",{class:Q.classes.Container},e("style",{type:"text/css"},$),e("sqm-skeleton",{width:"45%",height:"40px !important"}),e("div",{class:Q.classes.HeaderContainer},e("sqm-skeleton",{width:"15%"}),e("sqm-skeleton",{width:"25%",height:"30px !important"})),e("sqm-skeleton",{width:"75%",height:"35px"}),e("sqm-skeleton",{width:"75%",height:"35px"}),e("sqm-skeleton",{width:"75%",height:"35px"}),e("sqm-skeleton",{width:"75%",height:"35px"}),e("sqm-skeleton",{width:"75%",height:"35px"}),e("sqm-skeleton",{width:"75%",height:"35px"}),e("sqm-skeleton",{width:"75%",height:"35px"}),e("sqm-skeleton",{width:"75%",height:"35px"}),e("sqm-skeleton",{width:"75%",height:"35px"}),e("sqm-skeleton",{width:"75%",height:"35px"}),e("sqm-skeleton",{width:"75%",height:"35px"}),e("sqm-skeleton",{width:"15%"}),e("sqm-skeleton",{width:"80px",height:"30px !important"})),X=[{regionCode:"ALBERTA",taxType:"GST",displayName:"Alberta"},{regionCode:"BRITISHCOLUMBIA",taxType:"HST",displayName:"British Columbia"},{regionCode:"MANITOBA",taxType:"HST",displayName:"Manitoba"},{regionCode:"NEWBRUNSWICK",taxType:"HST",displayName:"New Brunswick"},{regionCode:"NEWFOUNDLANDLABRADOR",taxType:"HST",displayName:"Newfoundland"},{regionCode:"NORTHWESTTERRITORIES",taxType:"GST",displayName:"North West Territories"},{regionCode:"NOVASCOTIA",taxType:"HST",displayName:"Nova Scotia"},{regionCode:"NUNAVUT",taxType:"HST",displayName:"Nunavut"},{regionCode:"ONTARIO",taxType:"HST",displayName:"Ontario"},{regionCode:"PRINCEEDWARDISLAND",taxType:"HST",displayName:"Prince Edward Island"},{regionCode:"QUEBEC",taxType:"GST",displayName:"Quebec"},{regionCode:"SASKATCHEWAN",taxType:"HST",displayName:"Saskatchewan"},{regionCode:"YUKON",taxType:"GST",displayName:"Yukon"}],Z=[{regionCode:"SPAINPROPER",taxType:"VAT",displayName:"Spain Proper"},{regionCode:"CANARYISLANDS",taxType:"VAT",displayName:"Canary Islands"}],z={CA:{labelEnum:"PROVINCE",regions:[{label:"Alberta",value:"ALBERTA"},{label:"British Columbia",value:"BRITISHCOLUMBIA"},{label:"Manitoba",value:"MANITOBA"},{label:"New Brunswick",value:"NEWBRUNSWICK"},{label:"Newfoundland & Labrador",value:"NEWFOUNDLANDANDLABRADOR"},{label:"Northwest Territories",value:"NORTHWESTTERRITORIES"},{label:"Nova Scotia",value:"NOVASCOTIA"},{label:"Nunavut",value:"NUNAVUT"},{label:"Ontario",value:"ONTARIO"},{label:"Prince Edward Island",value:"PRINCEEDWARDISLAND"},{label:"Quebec",value:"QUEBEC"},{label:"Saskatchewan",value:"SASKATCHEWAN"},{label:"Yukon",value:"YUKON"}]},ES:{labelEnum:"REGION",regions:[{label:"Canary Islands",value:"CANARYISLANDS"},{label:"Spain Proper",value:"SPAINPROPER"}]},AU:{labelEnum:"STATE",regions:[{label:"Australian Capital Territory",value:"CAPITALTERRITORY"},{label:"New South Wales",value:"NEWSOUTHWALES"},{label:"Northern Territory",value:"NORTHERNTERRITORY"},{label:"Queensland",value:"QUEENSLAND"},{label:"South Australia",value:"SOUTHAUSTRALIA"},{label:"Tasmania",value:"TASMANIA"},{label:"Victoria",value:"VICTORIA"},{label:"Western Australia",value:"WESTERNAUSTRALIA"}]},US:{labelEnum:"STATE",regions:[{label:"Alabama",value:"ALABAMA"},{label:"Alaska",value:"ALASKA"},{label:"Arizona",value:"ARIZONA"},{label:"Arkansas",value:"ARKANSAS"},{label:"California",value:"CALIFORNIA"},{label:"Colorado",value:"COLORADO"},{label:"Connecticut",value:"CONNECTICUT"},{label:"Delaware",value:"DELAWARE"},{label:"District of Columbia",value:"DISTRICTOFCOLUMBIA"},{label:"Florida",value:"FLORIDA"},{label:"Georgia",value:"GEORGIA"},{label:"Hawaii",value:"HAWAII"},{label:"Idaho",value:"IDAHO"},{label:"Illinois",value:"ILLINOIS"},{label:"Indiana",value:"INDIANA"},{label:"Iowa",value:"IOWA"},{label:"Kansas",value:"KANSAS"},{label:"Kentucky",value:"KENTUCKY"},{label:"Louisiana",value:"LOUISIANA"},{label:"Maine",value:"MAINE"},{label:"Maryland",value:"MARYLAND"},{label:"Massachusetts",value:"MASSACHUSETTS"},{label:"Michigan",value:"MICHIGAN"},{label:"Minnesota",value:"MINNESOTA"},{label:"Mississippi",value:"MISSISSIPPI"},{label:"Missouri",value:"MISSOURI"},{label:"Montana",value:"MONTANA"},{label:"Nebraska",value:"NEBRASKA"},{label:"Nevada",value:"NEVADA"},{label:"New Hampshire",value:"NEWHAMPSHIRE"},{label:"New Jersey",value:"NEWJERSEY"},{label:"New Mexico",value:"NEWMEXICO"},{label:"New York",value:"NEWYORK"},{label:"North Carolina",value:"NORTHCAROLINA"},{label:"North Dakota",value:"NORTHDAKOTA"},{label:"Ohio",value:"OHIO"},{label:"Oklahoma",value:"OKLAHOMA"},{label:"Oregon",value:"OREGON"},{label:"Pennsylvania",value:"PENNSYLVANIA"},{label:"Rhode Island",value:"RHODEISLAND"},{label:"South Carolina",value:"SOUTHCAROLINA"},{label:"South Dakota",value:"SOUTHDAKOTA"},{label:"Tennessee",value:"TENNESSEE"},{label:"Texas",value:"TEXAS"},{label:"Utah",value:"UTAH"},{label:"Vermont",value:"VERMONT"},{label:"Virgin Islands",value:"VIRGINISLANDS"},{label:"Virginia",value:"VIRGINIA"},{label:"Washington",value:"WASHINGTON"},{label:"West Virginia",value:"WESTVIRGINIA"},{label:"Wisconsin",value:"WISCONSIN"},{label:"Wyoming",value:"WYOMING"},{label:"Americas Forces",value:"AAMILITARY"},{label:"Europe, Middle East, Canada, Africa and Canada Forces",value:"AEMILITARY"},{label:"Pacific Forces",value:"APMILITARY"},{label:"Other",value:"OTHER"}]}};export{z as A,Z as I,J as L,X as a,_ as b,F as c,P as d,B as e,G as f,q as g,j as i,V as o,Y as t,K as v}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(e,t,r,s){function o(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,n){function a(e){try{c(s.next(e))}catch(e){n(e)}}function i(e){try{c(s["throw"](e))}catch(e){n(e)}}function c(e){e.done?r(e.value):o(e.value).then(a,i)}c((s=s.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var r={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},s,o,n,a;return a={next:i(0),throw:i(1),return:i(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function i(e){return function(t){return c([e,t])}}function c(a){if(s)throw new TypeError("Generator is already executing.");while(r)try{if(s=1,o&&(n=a[0]&2?o["return"]:a[0]?o["throw"]||((n=o["return"])&&n.call(o),0):o.next)&&!(n=n.call(o,a[1])).done)return n;if(o=0,n)a=[a[0]&2,n.value];switch(a[0]){case 0:case 1:n=a;break;case 4:r.label++;return{value:a[1],done:false};case 5:r.label++;o=a[1];a=[0];continue;case 7:a=r.ops.pop();r.trys.pop();continue;default:if(!(n=r.trys,n=n.length>0&&n[n.length-1])&&(a[0]===6||a[0]===2)){r=0;continue}if(a[0]===3&&(!n||a[1]>n[0]&&a[1]<n[3])){r.label=a[1];break}if(a[0]===6&&r.label<n[1]){r.label=n[1];n=a;break}if(n&&r.label<n[2]){r.label=n[2];r.ops.push(a);break}if(n[2])r.ops.pop();r.trys.pop();continue}a=t.call(e,r)}catch(e){a=[6,e];o=0}finally{s=n=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};System.register(["./p-641f968d.system.js","./p-b6504987.system.js","./p-
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(e,t,r,s){function o(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,n){function a(e){try{c(s.next(e))}catch(e){n(e)}}function i(e){try{c(s["throw"](e))}catch(e){n(e)}}function c(e){e.done?r(e.value):o(e.value).then(a,i)}c((s=s.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var r={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},s,o,n,a;return a={next:i(0),throw:i(1),return:i(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function i(e){return function(t){return c([e,t])}}function c(a){if(s)throw new TypeError("Generator is already executing.");while(r)try{if(s=1,o&&(n=a[0]&2?o["return"]:a[0]?o["throw"]||((n=o["return"])&&n.call(o),0):o.next)&&!(n=n.call(o,a[1])).done)return n;if(o=0,n)a=[a[0]&2,n.value];switch(a[0]){case 0:case 1:n=a;break;case 4:r.label++;return{value:a[1],done:false};case 5:r.label++;o=a[1];a=[0];continue;case 7:a=r.ops.pop();r.trys.pop();continue;default:if(!(n=r.trys,n=n.length>0&&n[n.length-1])&&(a[0]===6||a[0]===2)){r=0;continue}if(a[0]===3&&(!n||a[1]>n[0]&&a[1]<n[3])){r.label=a[1];break}if(a[0]===6&&r.label<n[1]){r.label=n[1];n=a;break}if(n&&r.label<n[2]){r.label=n[2];r.ops.push(a);break}if(n[2])r.ops.pop();r.trys.pop();continue}a=t.call(e,r)}catch(e){a=[6,e];o=0}finally{s=n=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};System.register(["./p-641f968d.system.js","./p-b6504987.system.js","./p-ec3e44c8.system.js","./p-b2295bc5.system.js","./p-4bd679a7.system.js","./p-6333265f.system.js","./p-1a673057.system.js","./p-8a6494c7.system.js","./p-7562cd98.system.js","./p-ec58040a.system.js"],(function(e){"use strict";var t,r,s,o,n,a,i,c,d,u,l,f,w;return{setters:[function(e){t=e.r;r=e.h},function(e){s=e.k;o=e.f;n=e.n},function(e){a=e.f;i=e.T;c=e.j;d=e.i},function(e){u=e.j},function(e){l=e.c},function(e){f=e.s},function(){},function(){},function(){},function(e){w=e.P}],execute:function(){function h(e){var t=this;var r,n,d,l,w,h,p,m,x,v;var T=s(false),b=T[0],g=T[1];var P=s(""),y=P[0],E=P[1];var _=a(),R=_[0],M=_[1];var k=i(),q=k[0],C=k[1];var j=new URLSearchParams(c.location.search);var L=j.get("oobCode");j.delete("oobCode");var S=j.get("nextPage");var B=function(){return __awaiter(t,void 0,void 0,(function(){var t;return __generator(this,(function(r){switch(r.label){case 0:return[4,R({oobCode:L})];case 1:t=r.sent();if(t instanceof Error){E(e.networkErrorMessage)}return[2]}}))}))};o((function(){B()}),[]);var F=function(r){return __awaiter(t,void 0,void 0,(function(){var t,s,o;return __generator(this,(function(n){switch(n.label){case 0:E("");t=r.detail.formData;t===null||t===void 0?void 0:t.forEach((function(e,r){u.set(t,r,e)}));s={oobCode:L,password:t.password};if(t.password!==t.confirmPassword){E(e.passwordMismatchText);return[2]}return[4,q(s)];case 1:o=n.sent();if(o instanceof Error){return[2,E(e.networkErrorMessage)]}if(o.resetManagedIdentityPassword){g(true);setTimeout((function(){H()}),5e3)}return[2]}}))}))};var H=function(){j.delete("nextPage");var t=f(S||e.nextPage);c.push(t.href)};var I=function(){c.push({pathname:e.failedPage,search:j.toString()&&"?"+j.toString()})};return{states:{loading:C.loading,reset:b,confirmPassword:e.confirmPassword,error:((w=(l=(d=(n=(r=C.errors)===null||r===void 0?void 0:r.response)===null||n===void 0?void 0:n.errors)===null||d===void 0?void 0:d[0])===null||l===void 0?void 0:l.extensions)===null||w===void 0?void 0:w.message)||((x=(m=(p=(h=C.errors)===null||h===void 0?void 0:h.response)===null||p===void 0?void 0:p.errors)===null||m===void 0?void 0:m[0])===null||x===void 0?void 0:x.message)||y,oobCodeValidating:M.loading,oobCodeValid:(v=M.data)===null||v===void 0?void 0:v.verifyManagedIdentityPasswordResetCode.success,content:{passwordResetHeader:e.passwordResetHeader,resetPasswordHeader:e.resetPasswordHeader,continueButtonText:e.continueButtonText,resetPasswordButtonText:e.resetPasswordButtonText,confirmPasswordFieldLabel:e.confirmPasswordFieldLabel,passwordFieldLabel:e.passwordFieldLabel,meetsRequirementsText:e.meetsRequirementsText,doesNotMeetRequirementsText:e.doesNotMeetRequirementsText,minErrorText:e.minErrorText,uppercaseErrorText:e.uppercaseErrorText,lowercaseErrorText:e.lowercaseErrorText,hasErrorText:e.hasErrorText,passwordMismatchText:e.passwordMismatchText,codeInvalidText:e.codeInvalidText,resetSuccessText:e.resetSuccessText}},callbacks:{submit:F,failed:I,gotoNextPage:H}}}var p=e("sqm_portal_reset_password",function(){function e(e){t(this,e);this.ignored=true;this.nextPage="/";this.failedPage="/";this.confirmPassword=false;this.resetPasswordHeader="Reset your password";this.passwordResetHeader="Password reset";this.resetPasswordButtonText="Reset Password";this.continueButtonText="Continue";this.confirmPasswordFieldLabel="Confirm Password";this.passwordFieldLabel="New Password";this.meetsRequirementsText="Password has met all requirements";this.doesNotMeetRequirementsText="Password must meet the following requirements:";this.minErrorText="be a minimum of 8 characters";this.uppercaseErrorText="contain at least 1 uppercase character";this.lowercaseErrorText="contain at least 1 lowercase character";this.hasErrorText="contain at least 1 number or symbol";this.passwordMismatchText="Passwords do not match.";this.codeInvalidText="The password reset code is invalid or has expired, please try again.";this.resetSuccessText="Your password has been reset and you are being redirected. If you are not redirected, please click Continue.";this.networkErrorMessage="An error occurred while resetting your password. Please refresh the page and try again.";n(this)}e.prototype.disconnectedCallback=function(){};e.prototype.render=function(){var e=d()?m(this):h(this),t=e.states,s=e.callbacks;return r(w,{states:t,callbacks:s})};return e}());function m(e){var t=this;return l({states:{error:"",loading:false,reset:false,confirmPassword:e.confirmPassword,oobCodeValidating:false,oobCodeValid:true,content:{passwordResetHeader:e.passwordResetHeader,resetPasswordHeader:e.resetPasswordHeader,continueButtonText:e.continueButtonText,resetPasswordButtonText:e.resetPasswordButtonText,confirmPasswordFieldLabel:e.confirmPasswordFieldLabel,passwordFieldLabel:e.passwordFieldLabel,meetsRequirementsText:e.meetsRequirementsText,doesNotMeetRequirementsText:e.doesNotMeetRequirementsText,minErrorText:e.minErrorText,uppercaseErrorText:e.uppercaseErrorText,lowercaseErrorText:e.lowercaseErrorText,hasErrorText:e.hasErrorText,passwordMismatchText:e.passwordMismatchText,codeInvalidText:e.codeInvalidText,resetSuccessText:e.resetSuccessText}},callbacks:{submit:function(e){return __awaiter(t,void 0,void 0,(function(){return __generator(this,(function(e){console.log("submit");return[2]}))}))},failed:function(){},gotoNextPage:function(){}}},e.demoData||{},{arrayMerge:function(e,t){return t}})}}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var __makeTemplateObject=this&&this.__makeTemplateObject||function(e,t){if(Object.defineProperty){Object.defineProperty(e,"raw",{value:t})}else{e.raw=t}return e};var __assign=this&&this.__assign||function(){__assign=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var a in t)if(Object.prototype.hasOwnProperty.call(t,a))e[a]=t[a]}return e};return __assign.apply(this,arguments)};var __awaiter=this&&this.__awaiter||function(e,t,n,r){function a(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,i){function s(e){try{l(r.next(e))}catch(e){i(e)}}function o(e){try{l(r["throw"](e))}catch(e){i(e)}}function l(e){e.done?n(e.value):a(e.value).then(s,o)}l((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,a,i,s;return s={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function o(e){return function(t){return l([e,t])}}function l(s){if(r)throw new TypeError("Generator is already executing.");while(n)try{if(r=1,a&&(i=s[0]&2?a["return"]:s[0]?a["throw"]||((i=a["return"])&&i.call(a),0):a.next)&&!(i=i.call(a,s[1])).done)return i;if(a=0,i)s=[s[0]&2,i.value];switch(s[0]){case 0:case 1:i=s;break;case 4:n.label++;return{value:s[1],done:false};case 5:n.label++;a=s[1];s=[0];continue;case 7:s=n.ops.pop();n.trys.pop();continue;default:if(!(i=n.trys,i=i.length>0&&i[i.length-1])&&(s[0]===6||s[0]===2)){n=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]<i[3])){n.label=s[1];break}if(s[0]===6&&n.label<i[1]){n.label=i[1];i=s;break}if(i&&n.label<i[2]){n.label=i[2];n.ops.push(s);break}if(i[2])n.ops.pop();n.trys.pop();continue}s=t.call(e,n)}catch(e){s=[6,e];a=0}finally{r=i=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};System.register(["./p-641f968d.system.js","./p-d533ff7b.system.js","./p-b6504987.system.js","./p-ec3e44c8.system.js","./p-4bd679a7.system.js","./p-6333265f.system.js","./p-1a673057.system.js","./p-8a6494c7.system.js","./p-7562cd98.system.js","./p-4691e9d5.system.js","./p-bc625793.system.js"],(function(e){"use strict";var t,n,r,a,i,s,o,l,c,u,d,f,p,m,v,h,y,g,b,x,_;return{setters:[function(e){t=e.h;n=e.r},function(e){r=e.i},function(e){a=e.l;i=e.k;s=e.f;o=e.n},function(e){l=e.d;c=e.q;u=e.F;d=e.i;f=e.p},function(e){p=e.c},function(e){m=e.g},function(e){v=e.c},function(e){h=e.E},function(e){y=e.T},function(e){g=e.a;b=e.S;x=e.V},function(e){_=e.u}],execute:function(){var C={Wrapper:{display:"flex",flexDirection:"column",gap:"var(--sl-spacing-medium)",maxWidth:"550px"},HeaderContainer:{display:"flex",flexDirection:"column"},InputsContainer:{display:"flex",gap:"var(--sl-spacing-medium)",position:"relative",flexDirection:"column"},CodeInputContainer:{display:"flex",gap:"var(--sl-spacing-medium)"},CodeInput:{maxWidth:"40px","&::part(base)":{borderRadius:"4px !important"},"&::part(input)":{margin:"0",padding:"0 var(--sl-input-spacing-small)",fontSize:"var(--sl-font-size-large)"}},CodeInputError:__assign(__assign({},h),{maxWidth:"40px","&::part(base)":{borderRadius:"4px !important"},"&::part(input)":{margin:"0",padding:"0 var(--sl-input-spacing-small)",fontSize:"var(--sl-font-size-large)"}}),ErrorText:{color:"var(--sqm-danger-color-text)",fontSize:"var(--sl-font-size-small)",margin:"0"},ContinueButton:{width:"100%"},FooterContainer:{display:"flex",flexDirection:"column"},SkeletonOne:{width:"50%",height:"16px"},SkeletonTwo:{width:"30%",height:"34px"},SkeletonThree:{width:"15%",height:"24px"}};var w="\n:host {\n display: block;\n}\n:host([hidden]): {\n display: none;\n}\n\n\n";var E=v(C);var T=E.toString();function k(e){var n=e.states,a=e.refs,i=e.callbacks,s=e.text;var o=r.formatMessage({id:"resendCodeText",defaultMessage:s.resendCodeText},{resendCodeLink:t("a",{href:"",style:{textDecoration:"underline",color:"inherit",cursor:"pointer"},onClick:function(e){e.preventDefault();i.resendEmail()}},s.resendCodeLabel)});var l=r.formatMessage({id:"codeResentSuccessfully",defaultMessage:s.codeResentSuccessfullyText},{email:n.email});var c=n.verifyFailed?E.classes.CodeInputError:E.classes.CodeInput;return t("div",{part:"sqm-base"},t("style",{type:"text/css"},w,T),t("div",{class:E.classes.Wrapper},t("div",{class:E.classes.HeaderContainer},t(y,{type:"p"},r.formatMessage({id:"emailHeaderText",defaultMessage:n.verifyFailed?s.reverifyCodeHeaderText:s.verifyCodeHeaderText},{email:n.email}))),n.emailResent&&t("sqm-form-message",{type:"success",exportparts:"successalert-icon"},t("b",null,l)),t("div",{class:E.classes.InputsContainer},t("div",{ref:a.codeWrapperRef,class:E.classes.CodeInputContainer},t("sl-input",{class:c,name:"code"}),t("sl-input",{class:c,name:"code"}),t("sl-input",{class:c,name:"code"}),t("sl-input",{class:c,name:"code"}),t("sl-input",{class:c,name:"code"}),t("sl-input",{class:c,name:"code"})),n.verifyFailed&&t("p",{class:E.classes.ErrorText},s.invalidCodeText),t("div",{class:E.classes.FooterContainer},t(y,{type:"p"},o)),t("sl-button",{class:E.classes.ContinueButton,onClick:i.submitCode,disabled:n.loading||n.initialiseLoading,loading:n.loading||n.initialiseLoading,exportparts:"base: primarybutton-base",type:"primary"},s.verifyText))))}var S=l.gql(__makeTemplateObject(["\n mutation submitImpactPublisherEmail2FACode(\n $user: UserIdInput!\n $code: String!\n ) {\n submitImpactPublisherEmail2FACode(user: $user, code: $code) {\n verifiedEmail\n accessKey\n }\n }\n"],["\n mutation submitImpactPublisherEmail2FACode(\n $user: UserIdInput!\n $code: String!\n ) {\n submitImpactPublisherEmail2FACode(user: $user, code: $code) {\n verifiedEmail\n accessKey\n }\n }\n"]));function j(e){var t=this;var n=a();var r=c(b),o=r[0],l=r[1];var d=u(g);var f=i(false),p=f[0],m=f[1];var v=i(false),h=v[0],y=v[1];var x=i(null),C=x[0],w=x[1];var E=i(false),T=E[0],k=E[1];var S=i(false),j=S[0],I=S[1];var P=i(false),R=P[0],F=P[1];var L=_(),q=L.initialized,A=L.verificationEmail,O=L.send,M=O[0],D=O[1],W=D.loading,$=D.errors,z=L.verify,H=z[0],B=z[1],K=B.loading,V=B.errors;s((function(){if(!C)return;var e=C.querySelectorAll("sl-input");var t=Array.from(e).map((function(e){return e.shadowRoot.querySelector('input[name="code"]')}));t.forEach((function(e,n){e.addEventListener("focus",(function(e){e.target.select()}));e.addEventListener("keydown",(function(e){if(e.key==="Backspace"&&e.target.value===""){t[Math.max(0,n-1)].focus()}}));e.addEventListener("input",(function(e){var r=e.data;if(!r)return;if(n===t.length-1){e.target.value=r.slice(0,1);return}if(r.length>1){var a=r.slice(1);e.target.value=r.slice(0,1);t[n+1].dispatchEvent(new InputEvent("input",{inputType:"insertFromPaste",data:a}))}t[n+1].focus()}))}))}),[C]);var U=function(){l(false);k(false)};var G=function(){return __awaiter(t,void 0,void 0,(function(){var e;return __generator(this,(function(t){switch(t.label){case 0:if(!q)return[2];return[4,M()];case 1:e=t.sent();if(!e){I(true);return[2]}if(p)y(true);m(true);return[2]}}))}))};var J=function(){return __awaiter(t,void 0,void 0,(function(){var t,n,r,a;return __generator(this,(function(i){switch(i.label){case 0:t=C.querySelectorAll("sl-input");n=Array.from(t).map((function(e){return e.shadowRoot.querySelector('input[name="code"]')}));if(n.find((function(e){return!e.value}))){k(true);return[2]}r="";n.forEach((function(e){r=""+r+e.value}));if(!q)return[2];k(false);return[4,H(r)];case 1:a=i.sent();if(!(a===null||a===void 0?void 0:a.success))return[3,6];F(true);i.label=2;case 2:i.trys.push([2,,4,5]);return[4,e.onVerification(a.accessKey)];case 3:i.sent();return[3,5];case 4:F(false);return[7];case 5:U();return[3,7];case 6:k(true);i.label=7;case 7:return[2]}}))}))};s((function(){if(!q)return;if(!d)G();else m(true)}),[q]);return{refs:{codeWrapperRef:w},states:{email:A,emailResent:h,resendError:$||V,initialiseLoading:!q,loading:W||K||R,verifyFailed:!!T},callbacks:{resendEmail:G,submitCode:J},text:e.getTextProps()}}var I=e("sqm_code_verification",function(){function e(e){n(this,e);this.verifyCodeHeaderText="Enter the code sent to {email} from our referral provider, impact.com.";this.reverifyCodeHeaderText="Enter the code sent to {email} from our referral provider, impact.com.";this.resendCodeText="Didn't receive your code? {resendCodeLink}";this.resendCodeLabel="Resend code";this.codeResentSuccessfullyText="Another code has been sent to {email}";this.invalidCodeText="Please check your code and try again. If you’re still having trouble, try resending your code.";this.verifyText="Verify";this.networkErrorMessage="An error occurred while verifying your email. Please refresh the page and try again.";o(this)}e.prototype.disconnectedCallback=function(){};e.prototype.getTextProps=function(){return m(this)};e.prototype.render=function(){var e=d()?P(this):j(this);return t(k,Object.assign({},e))};return e}());function P(e){var t=this;var n=i(false),r=n[0],a=n[1];var s=f(x);return p({states:{initialiseLoading:false,loading:false,email:"test@example.com",emailResent:r,verifyFailed:false},refs:{codeWrapperRef:function(){}},callbacks:{resendEmail:function(){return __awaiter(t,void 0,void 0,(function(){return __generator(this,(function(e){return[2,a(true)]}))}))},submitCode:function(){return __awaiter(t,void 0,void 0,(function(){return __generator(this,(function(e){return[2,s(true)]}))}))}},text:e.getTextProps()},e.demoData||{},{arrayMerge:function(e,t){return t}})}}}}));
|