@saasquatch/mint-components 2.5.5-0 → 2.5.5-2
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 +32 -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/sqm-widget-verification.js +5 -0
- 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 +32 -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-d9d3661c.entry.js → p-6196e0f6.entry.js} +3 -3
- 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-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-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-3acfe5be.system.entry.js → p-d6fd8f37.system.entry.js} +1 -1
- 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,4 +1,4 @@
|
|
|
1
|
-
import{k as i,f as r}from"./p-a7fc1e02.js";import{d as e,J as o,X as n,$ as s}from"./p-
|
|
1
|
+
import{k as i,f as r}from"./p-a7fc1e02.js";import{d as e,J as o,X as n,$ as s}from"./p-6e9738a4.js";const t=e.gql`
|
|
2
2
|
query userLookup {
|
|
3
3
|
viewer {
|
|
4
4
|
... on User {
|
|
@@ -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","./p-8a6494c7.system.js"],(function(e){"use strict";var a,i,t,l,r;return{setters:[function(e){a=e.h},function(e){i=e.i},function(e){t=e.j;l=e.a},function(e){r=e.E}],execute:function(){e("L",u);var s={ErrorStyle:r,FieldContainer:{"margin-bottom":"var(--sl-spacing-medium)"}};var n="\n:host {\n margin: 0 auto;\n width: 100%;\n display: block;\n}\n";t.setup(l());var d=t.createStyleSheet(s);var o=d.toString();function u(e){var t,l,r,s,u,v;var f=e.states,c=e.content;var p=function(e){var a=e.fieldLabel;return i.formatMessage({id:"requiredFieldErrorMessage-"+a,defaultMessage:c.requiredFieldErrorMessage},{fieldLabel:a})};return a("div",{class:d.classes.FieldContainer,part:"sqm-base"},a("style",{type:"text/css"},n,o),a("sl-input",Object.assign({exportparts:"label: input-label, base: input-base",name:"/"+c.fieldName,type:c.fieldType,label:""+c.fieldLabel+(c.fieldOptional?" "+c.optionalLabel:"")},!c.fieldOptional?{required:true}:[],{disabled:((t=f.leadFormState)===null||t===void 0?void 0:t.loading)||((l=f.leadFormState)===null||l===void 0?void 0:l.disabled),validationError:function(e){var a=e.value;if(!a&&!c.fieldOptional){return p({fieldLabel:c.fieldLabel})}}},((s=(r=f.leadFormState)===null||r===void 0?void 0:r.validationErrors)===null||s===void 0?void 0:s[c.fieldName])?{class:d.classes.ErrorStyle,helpText:((v=(u=f.leadFormState)===null||u===void 0?void 0:u.validationErrors)===null||v===void 0?void 0:v[c.fieldName])||c.requiredFieldErrorMessage}:[])))}}}}));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{h as e,r as t,c as i,g as o}from"./p-083180bf.js";import{i as a}from"./p-6f8a3436.js";import{m as n,k as r,f as l,n as s,b as d,j as u,u as c}from"./p-a7fc1e02.js";import{d as m,_ as p,L as h,J as v,q as y,F as f,r as b,$ as g,i as x,p as C,b as w,R as S,w as k}from"./p-8a6531d2.js";import{j as I}from"./p-e7e129ac.js";import{c as P}from"./p-c1086930.js";import{g as T}from"./p-9ec99ced.js";import{c as A}from"./p-cef45012.js";import"./p-49b20dae.js";import"./p-a08157c4.js";import{t as N,d as D,I as q,a as E,c as B,b as M,o as R,e as F,A as L}from"./p-2ec539fc.js";import{G as U}from"./p-381af581.js";import{u as _,a as j}from"./p-bf9ab2d3.js";import{g as O,d as W}from"./p-9944b514.js";import{u as z}from"./p-8ae8968c.js";import{l as H}from"./p-2786819c.js";import{O as Y,I as V,v as $,T as G,U as K}from"./p-22d22fa9.js";import{F as X,a as J,S as Z,f as Q,c as ee,T as te,C as ie,U as oe}from"./p-7aa89fa8.js";import{c as ae}from"./p-4f9dc974.js";import{T as ne}from"./p-28ed2ae9.js";import{a as re,b as le,g as se,V as de,c as ue,C as ce}from"./p-b27f98f1.js";const me={CAD:[{countryCode:"CA",currency:"CAD",defaultFinancePaymentMethodId:3,withdrawalSettingId:37},{countryCode:"CA",currency:"CAD",defaultFinancePaymentMethodId:7,withdrawalSettingId:37}],AUD:[{countryCode:"US",currency:"AUD",defaultFinancePaymentMethodId:5,withdrawalSettingId:23},{countryCode:"CA",currency:"AUD",defaultFinancePaymentMethodId:5,withdrawalSettingId:21},{countryCode:"ES",currency:"AUD",defaultFinancePaymentMethodId:5,withdrawalSettingId:25},{countryCode:"IE",currency:"AUD",defaultFinancePaymentMethodId:5,withdrawalSettingId:25},{countryCode:"GB",currency:"AUD",defaultFinancePaymentMethodId:5,withdrawalSettingId:25},{countryCode:"JP",currency:"AUD",defaultFinancePaymentMethodId:5,withdrawalSettingId:21},{countryCode:"AR",currency:"AUD",defaultFinancePaymentMethodId:5,withdrawalSettingId:21},{countryCode:"AU",currency:"AUD",defaultFinancePaymentMethodId:3,withdrawalSettingId:37},{countryCode:"AU",currency:"AUD",defaultFinancePaymentMethodId:7,withdrawalSettingId:37}],EUR:[{countryCode:"US",currency:"EUR",defaultFinancePaymentMethodId:5,withdrawalSettingId:23},{countryCode:"CA",currency:"EUR",defaultFinancePaymentMethodId:5,withdrawalSettingId:21},{countryCode:"ES",currency:"EUR",defaultFinancePaymentMethodId:3,withdrawalSettingId:25},{countryCode:"IE",currency:"EUR",defaultFinancePaymentMethodId:3,withdrawalSettingId:25},{countryCode:"GB",currency:"EUR",defaultFinancePaymentMethodId:3,withdrawalSettingId:25},{countryCode:"JP",currency:"EUR",defaultFinancePaymentMethodId:5,withdrawalSettingId:21},{countryCode:"AU",currency:"EUR",defaultFinancePaymentMethodId:5,withdrawalSettingId:21},{countryCode:"AR",currency:"EUR",defaultFinancePaymentMethodId:5,withdrawalSettingId:21},{countryCode:"NL",currency:"EUR",defaultFinancePaymentMethodId:7,withdrawalSettingId:25}],GBP:[{countryCode:"US",currency:"GBP",defaultFinancePaymentMethodId:5,withdrawalSettingId:23},{countryCode:"CA",currency:"GBP",defaultFinancePaymentMethodId:5,withdrawalSettingId:21},{countryCode:"ES",currency:"GBP",defaultFinancePaymentMethodId:5,withdrawalSettingId:25},{countryCode:"IE",currency:"GBP",defaultFinancePaymentMethodId:5,withdrawalSettingId:25},{countryCode:"GB",currency:"GBP",defaultFinancePaymentMethodId:3,withdrawalSettingId:25},{countryCode:"JP",currency:"GBP",defaultFinancePaymentMethodId:5,withdrawalSettingId:21},{countryCode:"AU",currency:"GBP",defaultFinancePaymentMethodId:5,withdrawalSettingId:21},{countryCode:"AR",currency:"GBP",defaultFinancePaymentMethodId:5,withdrawalSettingId:21},{countryCode:"GB",currency:"GBP",defaultFinancePaymentMethodId:7,withdrawalSettingId:25}],USD:[{countryCode:"US",currency:"USD",defaultFinancePaymentMethodId:3,withdrawalSettingId:39},{countryCode:"CA",currency:"USD",defaultFinancePaymentMethodId:5,withdrawalSettingId:21},{countryCode:"ES",currency:"USD",defaultFinancePaymentMethodId:5,withdrawalSettingId:25},{countryCode:"IE",currency:"USD",defaultFinancePaymentMethodId:5,withdrawalSettingId:25},{countryCode:"GB",currency:"USD",defaultFinancePaymentMethodId:5,withdrawalSettingId:25},{countryCode:"JP",currency:"USD",defaultFinancePaymentMethodId:5,withdrawalSettingId:21},{countryCode:"AU",currency:"USD",defaultFinancePaymentMethodId:5,withdrawalSettingId:21},{countryCode:"AR",currency:"USD",defaultFinancePaymentMethodId:5,withdrawalSettingId:21},{countryCode:"US",currency:"USD",defaultFinancePaymentMethodId:7,withdrawalSettingId:39}],JPY:[{countryCode:"JP",currency:"JPY",defaultFinancePaymentMethodId:5,withdrawalSettingId:8279},{countryCode:"JP",currency:"JPY",defaultFinancePaymentMethodId:7,withdrawalSettingId:8279}],KRW:[{countryCode:"KR",currency:"KRW",defaultFinancePaymentMethodId:5,withdrawalSettingId:149}],MYR:[{countryCode:"MY",currency:"MYR",defaultFinancePaymentMethodId:5,withdrawalSettingId:16405}],MXN:[{countryCode:"MX",currency:"MXN",defaultFinancePaymentMethodId:5,withdrawalSettingId:4181},{countryCode:"MX",currency:"MXN",defaultFinancePaymentMethodId:7,withdrawalSettingId:4181}],RUB:[{countryCode:"RU",currency:"RUB",defaultFinancePaymentMethodId:5,withdrawalSettingId:1685},{countryCode:"RU",currency:"RUB",defaultFinancePaymentMethodId:7,withdrawalSettingId:1717}],ARS:[{countryCode:"AR",currency:"ARS",defaultFinancePaymentMethodId:5,withdrawalSettingId:149}]},pe=A({ModalTitleContainer:{display:"flex",gap:"var(--sl-spacing-small)",alignItems:"center"},FormWrapper:{display:"flex",justifyContent:"flex-start",flexDirection:"column"},CheckboxContainer:{alignItems:"flex-start",justifyContent:"flex-start",gap:"var(--sl-spacing-xx-small)"},TitleContainer:{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"flex-start",gap:"var(--sl-spacing-small)"},TextContainer:{display:"flex",justifyContent:"flex-start",flexDirection:"column",gap:"var(--sl-spacing-medium)",paddingBottom:"16px"},BtnContainer:{paddingTop:"36px",display:"flex",gap:"8px"},ErrorText:{color:"var(--sqm-danger-color-icon)",marginTop:"10px"},PageDescriptionText:{color:"var(--sqm-text-subdued)",fontSize:"var(--sl-font-size-medium)"},DescriptionText:{color:"var(--sqm-text-subdued)"},RadioContainer:{display:"flex",flexDirection:"column"},Checkbox:{"&::part(control)":{borderRadius:"50% !important"},"&::part(label)":{fontSize:"var(--sl-font-size-small)"}},InputContainer:{padding:"16px",margin:"16px 0px 16px 0px",borderTop:"var(--sqm-border-thickness, 1px) solid var(--sqm-border-color)",borderBottom:"var(--sqm-border-thickness, 1px) solid var(--sqm-border-color)",display:"flex",flexDirection:"column",width:"100%",gap:"16px","& sl-input::part(base)":{maxWidth:"450px"},"& sl-input::part(label)":{fontSize:"var(--sl-font-size-small)"},"& sl-select::part(base)":{maxWidth:"450px"},"& sl-select::part(label)":{fontSize:"var(--sl-font-size-small)"}},CheckboxSkeleton:{width:"16px",height:"16px",borderRadius:"50%",background:"var(--sqm-skeleton-background)"},SmallSkeleton:{width:"100px",height:"16px",borderRadius:"50px",background:"var(--sqm-skeleton-background)"},LargeSkeleton:{width:"100%",maxWidth:"320px",height:"40px",borderRadius:"50px",background:"var(--sqm-skeleton-background)"},InfoWarningIcon:{height:"26px",width:"26px"},Dialog:{"&::part(panel)":{maxWidth:"420px"},"&::part(title)":{fontSize:"var(--sl-font-size-large)",fontWeight:"600"},"&::part(body)":{padding:"0 var(--sl-spacing-x-large) 0 var(--sl-spacing-x-large)",fontSize:"var(--sl-font-size-small)"},"&::part(footer)":{display:"flex",flexDirection:"column",gap:"var(--sl-spacing-small)",marginBottom:"var(--sl-spacing-xx-small)",alignItems:"center",flex:"1"}},DialogButton:{margin:"auto",width:"100%"}}),he=pe.toString(),ve=t=>{var i;const{states:o,states:{formState:n},callbacks:r,text:l,refs:s,slots:d}=t,{classes:u}=pe,c=(t,i)=>{let o=Array(i).fill(0);const a={display:"flex",gap:"8px"};return void 0===t?e("div",{style:{...a,flexDirection:"column",gap:"16px"}},e("div",{class:u.SmallSkeleton}),e("div",{style:{...a,flexDirection:"row"}},e("div",{class:u.CheckboxSkeleton}),e("div",{class:u.SmallSkeleton})),e("div",{style:{...a,flexDirection:"row"}},e("div",{class:u.CheckboxSkeleton}),e("div",{class:u.SmallSkeleton}))):"toPayPalAccount"===t?e("div",{style:{...a,flexDirection:"column"}},e("div",{class:u.SmallSkeleton}),e("div",{class:u.LargeSkeleton})):o.map(((t,i)=>e("div",{style:{...a,flexDirection:"column"},key:i},e("div",{class:u.SmallSkeleton}),e("div",{class:u.LargeSkeleton}))))};return e("sl-form",{part:"container",class:u.FormWrapper,"onSl-submit":r.onSubmit,ref:e=>s.formRef.current=e,novalidate:!0},e("style",{type:"text/css"},he,"\n :host{\n display: block; \n }\n * {\n margin: 0;\n padding: 0;\n box-sizing: border-box;\n }\n\n & sl-select::part(label) {\n font-size: var(--sl-font-size-small);\n font-weight: 600\n }\n\n /* this class is dynamically applied in controller */\n .error-input::part(base) {\n --sqm-input-border-color: var(--sqm-danger-color-border);\n --sl-input-border-color: var(--sqm-danger-color-border);\n --sl-input-border-color-hover: var(--sqm-danger-color-border); \n --sl-input-border-color-focus: var(--sqm-danger-color-background);\n }\n\n .error-input::part(help-text) {\n color: var(--sqm-danger-color-text);\n }\n \n "),e("sl-dialog",{class:pe.classes.Dialog,open:o.showModal,"onSl-hide":r.onModalClose},e("div",{class:u.ModalTitleContainer,slot:"label"},e("sl-icon",{name:"info-circle",style:{color:"var(--sl-color-info-500)"}}),e("h2",{style:{fontSize:"var(--sl-font-size-large)"}},l.modalTitle)),e("p",null,l.modalDescription),e("sl-button",{slot:"footer",type:"primary",class:pe.classes.DialogButton,submit:!0,exportparts:"base: primarybutton-base"},l.modalButtonText)),e("div",{class:u.TextContainer},e("div",null,!o.hideSteps&&e("p",null,a.formatMessage({id:"formStep",defaultMessage:l.formStep},{step:o.step,count:X})),e("h3",{style:{fontSize:"24px"}},l.taxAndPayouts),e("p",{class:u.PageDescriptionText},l.taxAndPayoutsDescription)),(null===(i=n.errors)||void 0===i?void 0:i.general)&&e("sqm-form-message",{type:"error"},e("p",{part:"alert-title"},l.error.generalTitle),a.formatMessage({id:"generalDescription",defaultMessage:l.error.generalDescription},{supportLink:e("a",{target:"_blank",href:"mailto:advocate-payment-support@impact.com"},l.supportLink)})),o.isPartner&&!o.hideSteps&&e("sqm-form-message",{type:"info"},e("p",{part:"alert-title"},l.isPartnerAlertHeader),a.formatMessage({id:"isPartnerAlertDescription",defaultMessage:l.isPartnerAlertDescription},{supportLink:e("a",{target:"_blank",href:"mailto:advocate-payment-support@impact.com"},l.supportLink)})),e("div",null,e("h4",null,l.paymentMethod),e("p",{class:u.DescriptionText},l.paymentMethodSubtext))),e("div",null,e("div",{class:u.CheckboxContainer},o.loading&&void 0===n.paymentMethodChecked?c(void 0):e("div",{class:u.RadioContainer},o.hasPayPal&&e("sl-radio",{class:u.Checkbox,exportparts:"base: radio-base",checked:"toBankAccount"===n.paymentMethodChecked,onInput:()=>r.setPaymentMethodChecked("toBankAccount"),disabled:o.disabled,id:"toBankAccount",name:"/toBankAccount"},l.directlyToBankAccount),"toBankAccount"===n.paymentMethodChecked&&e("div",{class:u.InputContainer,style:o.hideBanking?{display:"none"}:{}},o.loading?c("toBankAccount",d.formInputsSlot.length+3):[d.countryInputSlot,d.paymentMethodSlot,d.formInputsSlot]),o.hasPayPal&&e("sl-radio",{class:u.Checkbox,exportparts:"base: radio-base",checked:"toPayPalAccount"===n.paymentMethodChecked,onInput:()=>r.setPaymentMethodChecked("toPayPalAccount"),disabled:o.disabled,id:"toPayPalAccount",name:"/toPayPalAccount"},a.formatMessage({id:"paypal-input-label",defaultMessage:l.toPayPalAccount},{feeCap:o.feeCap})),"toPayPalAccount"===n.paymentMethodChecked&&e("div",{class:u.InputContainer,style:o.hidePayPal?{display:"none"}:{}},o.loading?c("toPayPalAccount"):d.paypalInputSlot),e("div",{style:{paddingTop:"24px",paddingBottom:"12px"}},e("h4",null,l.paymentSchedule)),e("sl-radio",{class:u.Checkbox,exportparts:"base: radio-base",checked:"BALANCE_THRESHOLD"===n.paymentScheduleChecked,onInput:()=>r.setPaymentScheduleChecked("BALANCE_THRESHOLD"),disabled:o.disabled,id:"paymentSchedulingType",name:"/paymentSchedulingType",value:"BALANCE_THRESHOLD"},l.paymentScheduleBalanceThreshold),"BALANCE_THRESHOLD"===n.paymentScheduleChecked&&e("div",{class:u.InputContainer,style:o.hideBalanceThreshold?{display:"none"}:{}},o.loading?c("toPayPalAccount"):d.paymentThresholdSelectSlot),e("sl-radio",{class:u.Checkbox,exportparts:"base: radio-base",checked:"FIXED_DAY"===n.paymentScheduleChecked,onInput:()=>r.setPaymentScheduleChecked("FIXED_DAY"),disabled:o.disabled,id:"paymentSchedulingType",name:"/paymentSchedulingType",value:"FIXED_DAY"},l.paymentScheduleFixedDay),"FIXED_DAY"===n.paymentScheduleChecked&&e("div",{class:u.InputContainer,style:o.hideFixedDay?{display:"none"}:{}},o.loading?c("toPayPalAccount"):d.paymentFixedDaySelectSlot))),e("div",{class:u.BtnContainer},e("sl-button",Object.assign({type:"primary",disabled:o.disabled||o.saveDisabled,loading:o.saveLoading},o.hideSteps?{onClick:r.onModalOpen}:{submit:"submit"},{exportparts:"base: primarybutton-base"}),l.continueButton),!o.hideBackButton&&e("sl-button",{exportparts:"base: secondarybutton-base",type:"secondary",onClick:r.onBack},l.backButton))))},ye={USD:"USD20.00",GBP:"GBP30.00",EUR:"EUR35.00",AUD:"AUD60.00",CAD:"CAD50.00",NZD:"NZD60.00",HKD:"HKD320.00",DKK:"DKK250.00",ILS:"ILS160.00",MXN:"MXN600.00",RUB:"RUB1200.00",PHP:"PHP2000.00",JPY:"JPY2000.00"},fe={bankProvinceState:"bankState"},be={"withdrawal.settings.error.empty_beneficiaryname":"empty","withdrawal.settings.error.invalid_character_beneficiaryname":"invalidCharacters","withdrawal.settings.error.numeric_beneficiaryname":"numeric","withdrawal_settings.error.beneficiaryname.size":"tooLong","withdrawal.settings.error.non_english_beneficiaryname":"nonEnglish","withdrawal_settings.error.business_beneficiaryname_match":"businessNameMismatch","withdrawal_settings.error.beneficiaryname_match":"nameMismatch","withdrawal_settings.error.business_checkpayeename_match":"businessPayeeMismatch","withdrawal_settings.error.checkpayeename_match":"payeeMismatch","withdrawal.settings.error.accountnumber.empty":"empty","withdrawal.settings.error.accountnumber.uk":"invalidUk","withdrawal.settings.error.bankaccount.invalid":"invalid","withdrawal.settings.error.iban":"ibanEmpty","withdrawal.settings.error.iban.alphanumeric":"ibanAlphanumeric","withdrawal.settings.error.iban.invalid":"ibanInvalid","withdrawal.settings.error.iban.uk.country.mismatch":"ibanCountryMismatch","withdrawal.settings.error.bsbNumber":"invalidBsb","withdrawal.settings.error.sortcode":"invalidSortCode","withdrawal.settings.error.routingNumber":"empty","withdrawal.settings.error.routingcode":"invalid","withdrawal.settings.error.bic":"empty","withdrawal.settings.error.bic.alphanumeric":"alphanumeric","withdrawal.settings.error.bic.invalid":"invalid","global.error.invalid.accounttype":"empty","withdrawal.settings.error.bankName":"empty","withdrawal.settings.error.taxPayerId":"empty","withdrawal.settings.error.taxPayerId.ar":"emptyAr","withdrawal.settings.error.taxPayerId.kr":"emptyKr","withdrawal.settings.error.taxPayerId.alphanumeric":"alphanumeric","withdrawal.settings.error.taxPayerId.alphanumeric.ar":"alphanumericAr","withdrawal.settings.error.taxPayerId.alphanumeric.kr":"alphanumericKr","withdrawal.settings.error.taxPayerId.invalid":"invalid","withdrawal.settings.error.taxPayerId.invalid.ar":"invalidAr","withdrawal.settings.error.taxPayerId.invalid.kr":"invalidKr","withdrawal.settings.error.taxPayerId.invalid.kzt":"invalidKzt","withdrawal.settings.error.taxPayerId.cnpj":"cnpjTooShort","withdrawal.settings.error.taxPayerId.cpf":"cpfTooShort","withdrawal.settings.error.patronymicName":"empty","withdrawal.settings.error.patronymicName.alphanumeric":"alphanumeric","withdrawal.settings.error.voCode":"empty","withdrawal.settings.error.voCode.alphanumeric":"alphanumeric","withdrawal.settings.error.agencyCode":"empty","withdrawal.settings.error.agencyCode.alphanumeric":"alphanumeric","withdrawal.settings.error.agencyCode.length":"tooShort","withdrawal.settings.error.bankAddress":"empty","withdrawal.settings.error.bankCity":"empty","withdrawal.settings.error.bankProvinceState":"empty","withdrawal.settings.error.bankPostalCode":"empty","withdrawal.settings.error.branchCode":"invalid","withdrawal.settings.error.branchName":"empty","withdrawal.settings.error.classificationCode.invalid":"empty","withdrawal.settings.error.classificationCode.invalid.kzt":"invalidKzt","payment.error.email":"empty","payment.error.paypal_not_supported":"unsupportedCurrency","payment.error.email.invalid":"invalidEmail","payment.error.paypal_verification_incomplete":"verificationIncomplete","payment.error.no_threshold":"empty","payment.error.invalid_threshold":"invalid","payment.error.no_dayOfMonth":"empty","payment.error.invalid_dayOfMonth":"invalid"},ge=m.gql`
|
|
1
|
+
import{h as e,r as t,c as i,g as o}from"./p-083180bf.js";import{i as a}from"./p-5b0de730.js";import{m as n,k as r,f as l,n as s,b as d,j as u,u as c}from"./p-a7fc1e02.js";import{d as m,_ as p,L as h,J as v,q as y,F as f,r as b,$ as g,i as x,p as C,b as w,R as S,w as k}from"./p-6e9738a4.js";import{j as I}from"./p-e7e129ac.js";import{c as P}from"./p-c1086930.js";import{g as T}from"./p-9ec99ced.js";import{c as A}from"./p-cef45012.js";import"./p-49b20dae.js";import"./p-a08157c4.js";import{t as N,d as D,I as q,a as E,c as B,b as M,o as R,e as F,A as L}from"./p-5300edb5.js";import{G as U}from"./p-381af581.js";import{u as _,a as j}from"./p-b56f3e55.js";import{g as O,d as W}from"./p-78e98761.js";import{u as z}from"./p-5d99dbc9.js";import{l as H}from"./p-2786819c.js";import{O as Y,I as V,v as $,T as G,U as K}from"./p-429fa431.js";import{F as X,a as J,S as Z,f as Q,c as ee,T as te,C as ie,U as oe}from"./p-c43e1d3b.js";import{c as ae}from"./p-4f9dc974.js";import{T as ne}from"./p-28ed2ae9.js";import{a as re,b as le,g as se,V as de,c as ue,C as ce}from"./p-e4eac70d.js";const me={CAD:[{countryCode:"CA",currency:"CAD",defaultFinancePaymentMethodId:3,withdrawalSettingId:37},{countryCode:"CA",currency:"CAD",defaultFinancePaymentMethodId:7,withdrawalSettingId:37}],AUD:[{countryCode:"US",currency:"AUD",defaultFinancePaymentMethodId:5,withdrawalSettingId:23},{countryCode:"CA",currency:"AUD",defaultFinancePaymentMethodId:5,withdrawalSettingId:21},{countryCode:"ES",currency:"AUD",defaultFinancePaymentMethodId:5,withdrawalSettingId:25},{countryCode:"IE",currency:"AUD",defaultFinancePaymentMethodId:5,withdrawalSettingId:25},{countryCode:"GB",currency:"AUD",defaultFinancePaymentMethodId:5,withdrawalSettingId:25},{countryCode:"JP",currency:"AUD",defaultFinancePaymentMethodId:5,withdrawalSettingId:21},{countryCode:"AR",currency:"AUD",defaultFinancePaymentMethodId:5,withdrawalSettingId:21},{countryCode:"AU",currency:"AUD",defaultFinancePaymentMethodId:3,withdrawalSettingId:37},{countryCode:"AU",currency:"AUD",defaultFinancePaymentMethodId:7,withdrawalSettingId:37}],EUR:[{countryCode:"US",currency:"EUR",defaultFinancePaymentMethodId:5,withdrawalSettingId:23},{countryCode:"CA",currency:"EUR",defaultFinancePaymentMethodId:5,withdrawalSettingId:21},{countryCode:"ES",currency:"EUR",defaultFinancePaymentMethodId:3,withdrawalSettingId:25},{countryCode:"IE",currency:"EUR",defaultFinancePaymentMethodId:3,withdrawalSettingId:25},{countryCode:"GB",currency:"EUR",defaultFinancePaymentMethodId:3,withdrawalSettingId:25},{countryCode:"JP",currency:"EUR",defaultFinancePaymentMethodId:5,withdrawalSettingId:21},{countryCode:"AU",currency:"EUR",defaultFinancePaymentMethodId:5,withdrawalSettingId:21},{countryCode:"AR",currency:"EUR",defaultFinancePaymentMethodId:5,withdrawalSettingId:21},{countryCode:"NL",currency:"EUR",defaultFinancePaymentMethodId:7,withdrawalSettingId:25}],GBP:[{countryCode:"US",currency:"GBP",defaultFinancePaymentMethodId:5,withdrawalSettingId:23},{countryCode:"CA",currency:"GBP",defaultFinancePaymentMethodId:5,withdrawalSettingId:21},{countryCode:"ES",currency:"GBP",defaultFinancePaymentMethodId:5,withdrawalSettingId:25},{countryCode:"IE",currency:"GBP",defaultFinancePaymentMethodId:5,withdrawalSettingId:25},{countryCode:"GB",currency:"GBP",defaultFinancePaymentMethodId:3,withdrawalSettingId:25},{countryCode:"JP",currency:"GBP",defaultFinancePaymentMethodId:5,withdrawalSettingId:21},{countryCode:"AU",currency:"GBP",defaultFinancePaymentMethodId:5,withdrawalSettingId:21},{countryCode:"AR",currency:"GBP",defaultFinancePaymentMethodId:5,withdrawalSettingId:21},{countryCode:"GB",currency:"GBP",defaultFinancePaymentMethodId:7,withdrawalSettingId:25}],USD:[{countryCode:"US",currency:"USD",defaultFinancePaymentMethodId:3,withdrawalSettingId:39},{countryCode:"CA",currency:"USD",defaultFinancePaymentMethodId:5,withdrawalSettingId:21},{countryCode:"ES",currency:"USD",defaultFinancePaymentMethodId:5,withdrawalSettingId:25},{countryCode:"IE",currency:"USD",defaultFinancePaymentMethodId:5,withdrawalSettingId:25},{countryCode:"GB",currency:"USD",defaultFinancePaymentMethodId:5,withdrawalSettingId:25},{countryCode:"JP",currency:"USD",defaultFinancePaymentMethodId:5,withdrawalSettingId:21},{countryCode:"AU",currency:"USD",defaultFinancePaymentMethodId:5,withdrawalSettingId:21},{countryCode:"AR",currency:"USD",defaultFinancePaymentMethodId:5,withdrawalSettingId:21},{countryCode:"US",currency:"USD",defaultFinancePaymentMethodId:7,withdrawalSettingId:39}],JPY:[{countryCode:"JP",currency:"JPY",defaultFinancePaymentMethodId:5,withdrawalSettingId:8279},{countryCode:"JP",currency:"JPY",defaultFinancePaymentMethodId:7,withdrawalSettingId:8279}],KRW:[{countryCode:"KR",currency:"KRW",defaultFinancePaymentMethodId:5,withdrawalSettingId:149}],MYR:[{countryCode:"MY",currency:"MYR",defaultFinancePaymentMethodId:5,withdrawalSettingId:16405}],MXN:[{countryCode:"MX",currency:"MXN",defaultFinancePaymentMethodId:5,withdrawalSettingId:4181},{countryCode:"MX",currency:"MXN",defaultFinancePaymentMethodId:7,withdrawalSettingId:4181}],RUB:[{countryCode:"RU",currency:"RUB",defaultFinancePaymentMethodId:5,withdrawalSettingId:1685},{countryCode:"RU",currency:"RUB",defaultFinancePaymentMethodId:7,withdrawalSettingId:1717}],ARS:[{countryCode:"AR",currency:"ARS",defaultFinancePaymentMethodId:5,withdrawalSettingId:149}]},pe=A({ModalTitleContainer:{display:"flex",gap:"var(--sl-spacing-small)",alignItems:"center"},FormWrapper:{display:"flex",justifyContent:"flex-start",flexDirection:"column"},CheckboxContainer:{alignItems:"flex-start",justifyContent:"flex-start",gap:"var(--sl-spacing-xx-small)"},TitleContainer:{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"flex-start",gap:"var(--sl-spacing-small)"},TextContainer:{display:"flex",justifyContent:"flex-start",flexDirection:"column",gap:"var(--sl-spacing-medium)",paddingBottom:"16px"},BtnContainer:{paddingTop:"36px",display:"flex",gap:"8px"},ErrorText:{color:"var(--sqm-danger-color-icon)",marginTop:"10px"},PageDescriptionText:{color:"var(--sqm-text-subdued)",fontSize:"var(--sl-font-size-medium)"},DescriptionText:{color:"var(--sqm-text-subdued)"},RadioContainer:{display:"flex",flexDirection:"column"},Checkbox:{"&::part(control)":{borderRadius:"50% !important"},"&::part(label)":{fontSize:"var(--sl-font-size-small)"}},InputContainer:{padding:"16px",margin:"16px 0px 16px 0px",borderTop:"var(--sqm-border-thickness, 1px) solid var(--sqm-border-color)",borderBottom:"var(--sqm-border-thickness, 1px) solid var(--sqm-border-color)",display:"flex",flexDirection:"column",width:"100%",gap:"16px","& sl-input::part(base)":{maxWidth:"450px"},"& sl-input::part(label)":{fontSize:"var(--sl-font-size-small)"},"& sl-select::part(base)":{maxWidth:"450px"},"& sl-select::part(label)":{fontSize:"var(--sl-font-size-small)"}},CheckboxSkeleton:{width:"16px",height:"16px",borderRadius:"50%",background:"var(--sqm-skeleton-background)"},SmallSkeleton:{width:"100px",height:"16px",borderRadius:"50px",background:"var(--sqm-skeleton-background)"},LargeSkeleton:{width:"100%",maxWidth:"320px",height:"40px",borderRadius:"50px",background:"var(--sqm-skeleton-background)"},InfoWarningIcon:{height:"26px",width:"26px"},Dialog:{"&::part(panel)":{maxWidth:"420px"},"&::part(title)":{fontSize:"var(--sl-font-size-large)",fontWeight:"600"},"&::part(body)":{padding:"0 var(--sl-spacing-x-large) 0 var(--sl-spacing-x-large)",fontSize:"var(--sl-font-size-small)"},"&::part(footer)":{display:"flex",flexDirection:"column",gap:"var(--sl-spacing-small)",marginBottom:"var(--sl-spacing-xx-small)",alignItems:"center",flex:"1"}},DialogButton:{margin:"auto",width:"100%"}}),he=pe.toString(),ve=t=>{var i;const{states:o,states:{formState:n},callbacks:r,text:l,refs:s,slots:d}=t,{classes:u}=pe,c=(t,i)=>{let o=Array(i).fill(0);const a={display:"flex",gap:"8px"};return void 0===t?e("div",{style:{...a,flexDirection:"column",gap:"16px"}},e("div",{class:u.SmallSkeleton}),e("div",{style:{...a,flexDirection:"row"}},e("div",{class:u.CheckboxSkeleton}),e("div",{class:u.SmallSkeleton})),e("div",{style:{...a,flexDirection:"row"}},e("div",{class:u.CheckboxSkeleton}),e("div",{class:u.SmallSkeleton}))):"toPayPalAccount"===t?e("div",{style:{...a,flexDirection:"column"}},e("div",{class:u.SmallSkeleton}),e("div",{class:u.LargeSkeleton})):o.map(((t,i)=>e("div",{style:{...a,flexDirection:"column"},key:i},e("div",{class:u.SmallSkeleton}),e("div",{class:u.LargeSkeleton}))))};return e("sl-form",{part:"container",class:u.FormWrapper,"onSl-submit":r.onSubmit,ref:e=>s.formRef.current=e,novalidate:!0},e("style",{type:"text/css"},he,"\n :host{\n display: block; \n }\n * {\n margin: 0;\n padding: 0;\n box-sizing: border-box;\n }\n\n & sl-select::part(label) {\n font-size: var(--sl-font-size-small);\n font-weight: 600\n }\n\n /* this class is dynamically applied in controller */\n .error-input::part(base) {\n --sqm-input-border-color: var(--sqm-danger-color-border);\n --sl-input-border-color: var(--sqm-danger-color-border);\n --sl-input-border-color-hover: var(--sqm-danger-color-border); \n --sl-input-border-color-focus: var(--sqm-danger-color-background);\n }\n\n .error-input::part(help-text) {\n color: var(--sqm-danger-color-text);\n }\n \n "),e("sl-dialog",{class:pe.classes.Dialog,open:o.showModal,"onSl-hide":r.onModalClose},e("div",{class:u.ModalTitleContainer,slot:"label"},e("sl-icon",{name:"info-circle",style:{color:"var(--sl-color-info-500)"}}),e("h2",{style:{fontSize:"var(--sl-font-size-large)"}},l.modalTitle)),e("p",null,l.modalDescription),e("sl-button",{slot:"footer",type:"primary",class:pe.classes.DialogButton,submit:!0,exportparts:"base: primarybutton-base"},l.modalButtonText)),e("div",{class:u.TextContainer},e("div",null,!o.hideSteps&&e("p",null,a.formatMessage({id:"formStep",defaultMessage:l.formStep},{step:o.step,count:X})),e("h3",{style:{fontSize:"24px"}},l.taxAndPayouts),e("p",{class:u.PageDescriptionText},l.taxAndPayoutsDescription)),(null===(i=n.errors)||void 0===i?void 0:i.general)&&e("sqm-form-message",{type:"error"},e("p",{part:"alert-title"},l.error.generalTitle),a.formatMessage({id:"generalDescription",defaultMessage:l.error.generalDescription},{supportLink:e("a",{target:"_blank",href:"mailto:advocate-payment-support@impact.com"},l.supportLink)})),o.isPartner&&!o.hideSteps&&e("sqm-form-message",{type:"info"},e("p",{part:"alert-title"},l.isPartnerAlertHeader),a.formatMessage({id:"isPartnerAlertDescription",defaultMessage:l.isPartnerAlertDescription},{supportLink:e("a",{target:"_blank",href:"mailto:advocate-payment-support@impact.com"},l.supportLink)})),e("div",null,e("h4",null,l.paymentMethod),e("p",{class:u.DescriptionText},l.paymentMethodSubtext))),e("div",null,e("div",{class:u.CheckboxContainer},o.loading&&void 0===n.paymentMethodChecked?c(void 0):e("div",{class:u.RadioContainer},o.hasPayPal&&e("sl-radio",{class:u.Checkbox,exportparts:"base: radio-base",checked:"toBankAccount"===n.paymentMethodChecked,onInput:()=>r.setPaymentMethodChecked("toBankAccount"),disabled:o.disabled,id:"toBankAccount",name:"/toBankAccount"},l.directlyToBankAccount),"toBankAccount"===n.paymentMethodChecked&&e("div",{class:u.InputContainer,style:o.hideBanking?{display:"none"}:{}},o.loading?c("toBankAccount",d.formInputsSlot.length+3):[d.countryInputSlot,d.paymentMethodSlot,d.formInputsSlot]),o.hasPayPal&&e("sl-radio",{class:u.Checkbox,exportparts:"base: radio-base",checked:"toPayPalAccount"===n.paymentMethodChecked,onInput:()=>r.setPaymentMethodChecked("toPayPalAccount"),disabled:o.disabled,id:"toPayPalAccount",name:"/toPayPalAccount"},a.formatMessage({id:"paypal-input-label",defaultMessage:l.toPayPalAccount},{feeCap:o.feeCap})),"toPayPalAccount"===n.paymentMethodChecked&&e("div",{class:u.InputContainer,style:o.hidePayPal?{display:"none"}:{}},o.loading?c("toPayPalAccount"):d.paypalInputSlot),e("div",{style:{paddingTop:"24px",paddingBottom:"12px"}},e("h4",null,l.paymentSchedule)),e("sl-radio",{class:u.Checkbox,exportparts:"base: radio-base",checked:"BALANCE_THRESHOLD"===n.paymentScheduleChecked,onInput:()=>r.setPaymentScheduleChecked("BALANCE_THRESHOLD"),disabled:o.disabled,id:"paymentSchedulingType",name:"/paymentSchedulingType",value:"BALANCE_THRESHOLD"},l.paymentScheduleBalanceThreshold),"BALANCE_THRESHOLD"===n.paymentScheduleChecked&&e("div",{class:u.InputContainer,style:o.hideBalanceThreshold?{display:"none"}:{}},o.loading?c("toPayPalAccount"):d.paymentThresholdSelectSlot),e("sl-radio",{class:u.Checkbox,exportparts:"base: radio-base",checked:"FIXED_DAY"===n.paymentScheduleChecked,onInput:()=>r.setPaymentScheduleChecked("FIXED_DAY"),disabled:o.disabled,id:"paymentSchedulingType",name:"/paymentSchedulingType",value:"FIXED_DAY"},l.paymentScheduleFixedDay),"FIXED_DAY"===n.paymentScheduleChecked&&e("div",{class:u.InputContainer,style:o.hideFixedDay?{display:"none"}:{}},o.loading?c("toPayPalAccount"):d.paymentFixedDaySelectSlot))),e("div",{class:u.BtnContainer},e("sl-button",Object.assign({type:"primary",disabled:o.disabled||o.saveDisabled,loading:o.saveLoading},o.hideSteps?{onClick:r.onModalOpen}:{submit:"submit"},{exportparts:"base: primarybutton-base"}),l.continueButton),!o.hideBackButton&&e("sl-button",{exportparts:"base: secondarybutton-base",type:"secondary",onClick:r.onBack},l.backButton))))},ye={USD:"USD20.00",GBP:"GBP30.00",EUR:"EUR35.00",AUD:"AUD60.00",CAD:"CAD50.00",NZD:"NZD60.00",HKD:"HKD320.00",DKK:"DKK250.00",ILS:"ILS160.00",MXN:"MXN600.00",RUB:"RUB1200.00",PHP:"PHP2000.00",JPY:"JPY2000.00"},fe={bankProvinceState:"bankState"},be={"withdrawal.settings.error.empty_beneficiaryname":"empty","withdrawal.settings.error.invalid_character_beneficiaryname":"invalidCharacters","withdrawal.settings.error.numeric_beneficiaryname":"numeric","withdrawal_settings.error.beneficiaryname.size":"tooLong","withdrawal.settings.error.non_english_beneficiaryname":"nonEnglish","withdrawal_settings.error.business_beneficiaryname_match":"businessNameMismatch","withdrawal_settings.error.beneficiaryname_match":"nameMismatch","withdrawal_settings.error.business_checkpayeename_match":"businessPayeeMismatch","withdrawal_settings.error.checkpayeename_match":"payeeMismatch","withdrawal.settings.error.accountnumber.empty":"empty","withdrawal.settings.error.accountnumber.uk":"invalidUk","withdrawal.settings.error.bankaccount.invalid":"invalid","withdrawal.settings.error.iban":"ibanEmpty","withdrawal.settings.error.iban.alphanumeric":"ibanAlphanumeric","withdrawal.settings.error.iban.invalid":"ibanInvalid","withdrawal.settings.error.iban.uk.country.mismatch":"ibanCountryMismatch","withdrawal.settings.error.bsbNumber":"invalidBsb","withdrawal.settings.error.sortcode":"invalidSortCode","withdrawal.settings.error.routingNumber":"empty","withdrawal.settings.error.routingcode":"invalid","withdrawal.settings.error.bic":"empty","withdrawal.settings.error.bic.alphanumeric":"alphanumeric","withdrawal.settings.error.bic.invalid":"invalid","global.error.invalid.accounttype":"empty","withdrawal.settings.error.bankName":"empty","withdrawal.settings.error.taxPayerId":"empty","withdrawal.settings.error.taxPayerId.ar":"emptyAr","withdrawal.settings.error.taxPayerId.kr":"emptyKr","withdrawal.settings.error.taxPayerId.alphanumeric":"alphanumeric","withdrawal.settings.error.taxPayerId.alphanumeric.ar":"alphanumericAr","withdrawal.settings.error.taxPayerId.alphanumeric.kr":"alphanumericKr","withdrawal.settings.error.taxPayerId.invalid":"invalid","withdrawal.settings.error.taxPayerId.invalid.ar":"invalidAr","withdrawal.settings.error.taxPayerId.invalid.kr":"invalidKr","withdrawal.settings.error.taxPayerId.invalid.kzt":"invalidKzt","withdrawal.settings.error.taxPayerId.cnpj":"cnpjTooShort","withdrawal.settings.error.taxPayerId.cpf":"cpfTooShort","withdrawal.settings.error.patronymicName":"empty","withdrawal.settings.error.patronymicName.alphanumeric":"alphanumeric","withdrawal.settings.error.voCode":"empty","withdrawal.settings.error.voCode.alphanumeric":"alphanumeric","withdrawal.settings.error.agencyCode":"empty","withdrawal.settings.error.agencyCode.alphanumeric":"alphanumeric","withdrawal.settings.error.agencyCode.length":"tooShort","withdrawal.settings.error.bankAddress":"empty","withdrawal.settings.error.bankCity":"empty","withdrawal.settings.error.bankProvinceState":"empty","withdrawal.settings.error.bankPostalCode":"empty","withdrawal.settings.error.branchCode":"invalid","withdrawal.settings.error.branchName":"empty","withdrawal.settings.error.classificationCode.invalid":"empty","withdrawal.settings.error.classificationCode.invalid.kzt":"invalidKzt","payment.error.email":"empty","payment.error.paypal_not_supported":"unsupportedCurrency","payment.error.email.invalid":"invalidEmail","payment.error.paypal_verification_incomplete":"verificationIncomplete","payment.error.no_threshold":"empty","payment.error.invalid_threshold":"invalid","payment.error.no_dayOfMonth":"empty","payment.error.invalid_dayOfMonth":"invalid"},ge=m.gql`
|
|
2
2
|
mutation setImpactPublisherWithdrawalSettings(
|
|
3
3
|
$setImpactPublisherWithdrawalSettingsInput: SetImpactPublisherWithdrawalSettingsInput!
|
|
4
4
|
) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{h as e}from"./p-083180bf.js";import{i as a}from"./p-
|
|
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{T as t}from"./p-c813ec64.js";function s(s){var r,i,o,n,p;const{states:d,callbacks:m}=s,{text:u,formState:b}=d,{errors:c,error:v}=b,x=l({Container:{display:"flex",flexDirection:"column",gap:"var(--sl-spacing-xxx-large)",padding:"var(--sl-spacing-xxx-large)"},FormStyle:{width:"100%",minWidth:"700px","& >*:not(:last-child)":{"margin-bottom":"32px"},"@media screen and (max-width: 1100px)":{minWidth:"100%"}},Error:{"&::part(erroralert-base)":{"margin-bottom":"32px"}},Success:{"&::part(successalert-base)":{"margin-bottom":"32px"}},NameInputStyle:{width:"50%","@media screen and (max-width: 860px)":{width:"100%","margin-right":"0"}},NameInputContainer:{display:"flex",gap:"32px",width:"100%","@media screen and (max-width: 860px)":{flexDirection:"column"}}}),f=x.toString(),g=(null===(r=d.user)||void 0===r?void 0:r.countryCode)?a.formatDisplayName(null===(i=d.user)||void 0===i?void 0:i.countryCode,{type:"region"}):"";return e("div",{class:x.classes.Container,part:"sqm-base"},e("style",{type:"text/css"},f),e(t,Object.assign({},{type:"h1"}),u.editProfileHeader),e(t,Object.assign({},{type:"h2"}),u.editProfileSubHeader),e("form",{class:x.classes.FormStyle,onSubmit:m.onSubmit},d.success&&e("sqm-form-message",{class:x.classes.Success,exportparts:"successalert-icon"},e("div",{part:"successalert-text"},u.submissionSuccessText)),v&&e("sqm-form-message",{class:x.classes.Error,type:"error",exportparts:"erroralert-icon"},e("div",{part:"erroralert-text"},v)),e("div",{class:x.classes.NameInputContainer},e("sl-input",Object.assign({class:x.classes.NameInputStyle,exportparts:"label: input-label, base: input-base",value:null===(o=d.user)||void 0===o?void 0:o.firstName,onInput:m.onChange,label:u.firstnametext,disabled:d.loading},(null==c?void 0:c.firstName)&&"valid"!==(null==c?void 0:c.firstName.status)?{class:"ErrorStyles",helpText:u.fieldEmptyText}:[],{id:"firstName",name:"firstName",error:(null==c?void 0:c.firstName)&&"valid"!==(null==c?void 0:c.firstName.status)?null==c?void 0:c.firstName.message:void 0})),e("sl-input",Object.assign({class:x.classes.NameInputStyle,exportparts:"label: input-label, base: input-base",value:null===(n=d.user)||void 0===n?void 0:n.lastName,onInput:m.onChange,label:u.lastnametext,disabled:d.loading,id:"lastName",name:"lastName"},(null==c?void 0:c.lastName)&&"valid"!==(null==c?void 0:c.lastName.status)?{class:"ErrorStyles",helpText:u.fieldEmptyText}:[],{error:(null==c?void 0:c.lastName)&&"valid"!==(null==c?void 0:c.lastName.status)?null==c?void 0:c.lastName.message:void 0}))),e("sl-input",{label:u.emailtext,value:null===(p=d.user)||void 0===p?void 0:p.email,exportparts:"label: input-label, base: input-base",disabled:!0}),d.showCountry&&e("sl-input",{label:u.countrytext,value:g,exportparts:"label: input-label, base: input-base",disabled:!0}),e("sl-button",{type:"primary",exportparts:"base: primarybutton-base",loading:d.loading,disabled:d.submitDisabled,onClick:e=>{m.onSubmit(e)},submit:!0},u.submitChangeButtonText)))}export{s as P}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var __makeTemplateObject=this&&this.__makeTemplateObject||function(t,e){if(Object.defineProperty){Object.defineProperty(t,"raw",{value:e})}else{t.raw=e}return t};var __assign=this&&this.__assign||function(){__assign=Object.assign||function(t){for(var e,n=1,a=arguments.length;n<a;n++){e=arguments[n];for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r))t[r]=e[r]}return t};return __assign.apply(this,arguments)};var __awaiter=this&&this.__awaiter||function(t,e,n,a){function r(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,o){function i(t){try{l(a.next(t))}catch(t){o(t)}}function s(t){try{l(a["throw"](t))}catch(t){o(t)}}function l(t){t.done?n(t.value):r(t.value).then(i,s)}l((a=a.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},a,r,o,i;return i={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(i[Symbol.iterator]=function(){return this}),i;function s(t){return function(e){return l([t,e])}}function l(i){if(a)throw new TypeError("Generator is already executing.");while(n)try{if(a=1,r&&(o=i[0]&2?r["return"]:i[0]?r["throw"]||((o=r["return"])&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;if(r=0,o)i=[i[0]&2,o.value];switch(i[0]){case 0:case 1:o=i;break;case 4:n.label++;return{value:i[1],done:false};case 5:n.label++;r=i[1];i=[0];continue;case 7:i=n.ops.pop();n.trys.pop();continue;default:if(!(o=n.trys,o=o.length>0&&o[o.length-1])&&(i[0]===6||i[0]===2)){n=0;continue}if(i[0]===3&&(!o||i[1]>o[0]&&i[1]<o[3])){n.label=i[1];break}if(i[0]===6&&n.label<o[1]){n.label=o[1];o=i;break}if(o&&n.label<o[2]){n.label=o[2];n.ops.push(i);break}if(o[2])n.ops.pop();n.trys.pop();continue}i=e.call(t,n)}catch(t){i=[6,t];r=0}finally{a=o=0}if(i[0]&5)throw i[1];return{value:i[0]?i[1]:void 0,done:true}}};System.register(["./p-641f968d.system.js","./p-0607b068.system.js","./p-b6504987.system.js","./p-2190dc73.system.js","./p-4bd679a7.system.js","./p-6333265f.system.js","./p-1a673057.system.js","./p-01fcd601.system.js","./p-8a6494c7.system.js","./p-97b8073f.system.js"],(function(t){"use strict";var e,n,a,r,o,i,s,l,c,u,d,p,f,v,g,h,y,m,x,b,C,T;return{setters:[function(t){e=t.h;n=t.F;a=t.r},function(t){r=t.i},function(t){o=t.n;i=t.k},function(t){s=t.F;l=t.i;c=t.d;u=t.H;d=t.J;p=t.B;f=t.w;v=t.$},function(t){g=t.c},function(t){h=t.g},function(t){y=t.c},function(t){m=t.R;x=t.a;b=t.S;C=t.u},function(){},function(t){T=t.C}],execute:function(){var _={Container:{display:"flex",justifyContent:"flex-end",alignItems:"center",gap:"var(--sl-spacing-small)",width:"100%"},SkeletonContainer:{width:"40px"},TextContainer:{display:"flex",gap:"var(--sl-spacing-xx-small)"}};var w=y(_);var k=w.toString();function S(t){var a=t.states,r=t.callbacks,o=t.text,i=t.buttonType;var s=r.onNext,l=r.onPrev;var c=a.currentPage,u=a.totalPages,d=a.loading;if(u===1)return e(n,null);return e("span",{class:w.classes.Container,part:"sqm-base"},e("style",{type:"text/css"},k),e("sl-button",{exportparts:"base: "+i+"button-base",onClick:l,part:"sqm-pagination-button",circle:true,disabled:c===1},e("sl-icon",{name:"chevron-left",label:"Previous Page"})),!d?e(n,null,e("div",{class:w.classes.TextContainer},o.paginationText)):e("div",{class:w.classes.SkeletonContainer},e("sl-skeleton",{height:"16px",width:"50%"})),e("sl-button",{exportparts:"base: "+i+"button-base",onClick:s,part:"sqm-pagination-button",circle:true,disabled:c===u},e("sl-icon",{name:"chevron-right",label:"Previous Page"})))}function P(t){var e;var n=s(m);var a=n.states.currentPage+1;var o=(e=n.states)===null||e===void 0?void 0:e.pageCount;return{states:{currentPage:a,totalPages:o,loading:n.states.loading},callbacks:{onNext:function(){var t,e;return(t=n.callbacks)===null||t===void 0?void 0:t.setCurrentPage(((e=n.states)===null||e===void 0?void 0:e.currentPage)+1)},onPrev:function(){var t,e;return(t=n.callbacks)===null||t===void 0?void 0:t.setCurrentPage(((e=n.states)===null||e===void 0?void 0:e.currentPage)-1)}},text:{paginationText:r.formatMessage({id:"paginationText",defaultMessage:t.paginationText},{currentPage:a,totalPages:o})}}}var j=t("sqm_pagination",function(){function t(t){a(this,t);this.ignored=true;this.paginationText="{currentPage} of {totalPages}";this.buttonType="secondary";o(this)}t.prototype.disconnectedCallback=function(){};t.prototype.render=function(){var t=l()?I(h(this)):P(h(this));return e(S,Object.assign({},t))};return t}());function I(t){var e=i(1),n=e[0],a=e[1];return g({states:{currentPage:n,totalPages:5,loading:false},buttonType:t.buttonType,callbacks:{onNext:function(){return a(n+1)},onPrev:function(){return a(n-1)}},text:{paginationText:r.formatMessage({id:"paginationText",defaultMessage:t.paginationText||"{currentPage} of {totalPages}"},{currentPage:n,totalPages:5})}},t.demoData||{},{arrayMerge:function(t,e){return e}})}var E=c.gql(__makeTemplateObject(["\n query getReferralCode($programId: ID) {\n user: viewer {\n ... on User {\n referralCode(programId: $programId)\n }\n }\n }\n"],["\n query getReferralCode($programId: ID) {\n user: viewer {\n ... on User {\n referralCode(programId: $programId)\n }\n }\n }\n"]));var M=c.gql(__makeTemplateObject(["\n mutation loadEvent($eventMeta: UserAnalyticsEvent!) {\n createUserAnalyticsEvent(eventMeta: $eventMeta)\n }\n"],["\n mutation loadEvent($eventMeta: UserAnalyticsEvent!) {\n createUserAnalyticsEvent(eventMeta: $eventMeta)\n }\n"]));function O(t){var e,n;var a=t.programId,r=a===void 0?u():a;var o=d();var l=p();var c=s(x);var g=f(E,{programId:r},!(o===null||o===void 0?void 0:o.jwt)||(c===null||c===void 0?void 0:c.referralCode)!==undefined).data;var h=v(M)[0];var y=v(b)[0];var m=(n=(c===null||c===void 0?void 0:c.referralCode)||((e=g===null||g===void 0?void 0:g.user)===null||e===void 0?void 0:e.referralCode))!==null&&n!==void 0?n:"...";var C=i(false),T=C[0],_=C[1];function w(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){switch(e.label){case 0:if(!c)return[3,2];return[4,y({referralCode:c.referralCode})];case 1:e.sent();c.refresh();e.label=2;case 2:navigator.clipboard.writeText(m);_(true);setTimeout((function(){return _(false)}),t.tooltiplifespan);h({eventMeta:{programId:r,id:o===null||o===void 0?void 0:o.id,accountId:o===null||o===void 0?void 0:o.accountId,type:"USER_REFERRAL_PROGRAM_ENGAGEMENT_EVENT",meta:{engagementMedium:l,shareMedium:"DIRECT"}}});return[2]}}))}))}return __assign(__assign({},t),{onClick:w,open:T,copyString:m,isCopied:c===null||c===void 0?void 0:c.isCopied,showNotificationText:t.showNotificationText&&!!(c===null||c===void 0?void 0:c.singleUse)})}var q=t("sqm_referral_code",function(){function t(t){a(this,t);this.tooltiptext="Copied to Clipboard";this.showNotificationText=false;this.notificationText="You've copied this code before";this.tooltiplifespan=1e3;this.textAlign="left";this.copyButtonLabel="Copy Code";this.buttonStyle="icon";this.buttonType="primary";o(this)}t.prototype.disconnectedCallback=function(){};t.prototype.render=function(){var t=h(this);var n=l()?R(t):O(t);return e(T,Object.assign({},n))};return t}());function R(t){var e=i(false),n=e[0],a=e[1];var r="REFERRALCODE001";return g({copyString:r,tooltiptext:t.tooltiptext,textAlign:t.textAlign,copyButtonLabel:t.copyButtonLabel,buttonStyle:t.buttonStyle,notificationText:t.notificationText,showNotificationText:t.showNotificationText,isCopied:t.showNotificationText,borderColor:t.borderColor,backgroundColor:t.backgroundColor,textColor:t.textColor,borderRadius:t.borderRadius,buttonType:t.buttonType,isUsed:false,rewardStatus:"AVAILABLE",open:n,onClick:function(){navigator.clipboard.writeText(r);a(true);setTimeout((function(){return a(false)}),t.tooltiplifespan)}},t.demoData||{},{arrayMerge:function(t,e){return e}})}function A(t){var n=t.slots,a=t.titleText,r=t.states,o=t.textColor,i=o===void 0?"var(--sqm-text-subdued)":o;var s={Wrapper:{width:"100%",display:"flex",alignItems:"flex-start",justifyContent:"center",flexDirection:"column",gap:"var(--sl-spacing-large)",color:i},HeaderContainer:{display:"flex",alignItems:"center",justifyContent:"space-between",width:"100%"},ShareCodeContainer:{width:"100%",display:"flex",alignItems:"flex-start",justifyContent:"center",flexDirection:"column"},ShareButtonContainer:{width:"100%",display:"flex",alignItems:"flex-start",justifyContent:"center",flexDirection:"column"},SkeletonContainer:{display:"flex",flexDirection:"column",gap:"var(--sl-spacing-small)",width:"100%"},SkeletonOne:{height:"36px",width:"100%"},TitleText:{fontSize:"var(--sl-font-size-large)",margin:"0"}};var l="\n :host {\n display: block;\n }\n :host([hidden]): {\n display: none;\n }\n ";var c=y(s);var u=c.toString();var d=function(t){if(t.noCodes){return n.empty}if(t.loading){return e("slot",{name:"loading"},e("div",{class:c.classes.SkeletonContainer},e("sl-skeleton",{class:c.classes.SkeletonOne})))}return e("div",{class:c.classes.Wrapper},e("div",{class:c.classes.ShareCodeContainer},n.shareCodes),e("div",{class:c.classes.ShareButtonContainer},n.shareButtons))};return e("div",{class:c.classes.Wrapper,part:"sqm-base"},e("style",{type:"text/css"},l,u),e("div",{class:c.classes.HeaderContainer},e("h2",{class:c.classes.TitleText},a),!r.noCodes&&n.pagination),d(r))}var D=t("sqm_referral_codes",function(){function t(t){a(this,t);this.titleText="Start sharing";this.emptyStateHeaderText="Your new codes and links aren’t ready yet";this.emptyStateDescriptionText="Please contact our program support team to let them know you’re out of codes.";this.emptyStateImageUrl="https://res.cloudinary.com/saasquatch/image/upload/v1644360953/squatch-assets/empty_leaderboard2.png";o(this)}t.prototype.disconnectedCallback=function(){};t.prototype.render=function(){var t=h(this);var n=l()?N(t):C(t);var a={shareButtons:e("slot",{name:"shareButtons"}),shareCodes:e("slot",{name:"shareCodes"}),pagination:e("slot",{name:"pagination"}),empty:e(U,{headerText:this.emptyStateHeaderText,descriptionText:this.emptyStateDescriptionText,imageUrl:this.emptyStateImageUrl})};var r=__assign(__assign({slots:a},n),{loading:n.states.loading,noCodes:n.states.noCodes});return e(A,Object.assign({},r))};return t}());function U(t){var n=t.headerText,a=t.descriptionText,r=t.imageUrl;return e("slot",{name:"empty"},e("sqm-empty",{emptyStateHeader:n,emptyStateText:a,emptyStateImage:r}))}function N(t){return g({titleText:t.titleText,textColor:t.textColor,states:{noCodes:false,loading:false}},t.demoData||{},{arrayMerge:function(t,e){return e}})}}}}));
|
|
1
|
+
var __makeTemplateObject=this&&this.__makeTemplateObject||function(t,e){if(Object.defineProperty){Object.defineProperty(t,"raw",{value:e})}else{t.raw=e}return t};var __assign=this&&this.__assign||function(){__assign=Object.assign||function(t){for(var e,n=1,a=arguments.length;n<a;n++){e=arguments[n];for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r))t[r]=e[r]}return t};return __assign.apply(this,arguments)};var __awaiter=this&&this.__awaiter||function(t,e,n,a){function r(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,o){function i(t){try{l(a.next(t))}catch(t){o(t)}}function s(t){try{l(a["throw"](t))}catch(t){o(t)}}function l(t){t.done?n(t.value):r(t.value).then(i,s)}l((a=a.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},a,r,o,i;return i={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(i[Symbol.iterator]=function(){return this}),i;function s(t){return function(e){return l([t,e])}}function l(i){if(a)throw new TypeError("Generator is already executing.");while(n)try{if(a=1,r&&(o=i[0]&2?r["return"]:i[0]?r["throw"]||((o=r["return"])&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;if(r=0,o)i=[i[0]&2,o.value];switch(i[0]){case 0:case 1:o=i;break;case 4:n.label++;return{value:i[1],done:false};case 5:n.label++;r=i[1];i=[0];continue;case 7:i=n.ops.pop();n.trys.pop();continue;default:if(!(o=n.trys,o=o.length>0&&o[o.length-1])&&(i[0]===6||i[0]===2)){n=0;continue}if(i[0]===3&&(!o||i[1]>o[0]&&i[1]<o[3])){n.label=i[1];break}if(i[0]===6&&n.label<o[1]){n.label=o[1];o=i;break}if(o&&n.label<o[2]){n.label=o[2];n.ops.push(i);break}if(o[2])n.ops.pop();n.trys.pop();continue}i=e.call(t,n)}catch(t){i=[6,t];r=0}finally{a=o=0}if(i[0]&5)throw i[1];return{value:i[0]?i[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-956f9479.system.js","./p-8a6494c7.system.js","./p-97b8073f.system.js"],(function(t){"use strict";var e,n,a,r,o,i,s,l,c,u,d,p,f,v,g,h,y,m,x,b,C,T;return{setters:[function(t){e=t.h;n=t.F;a=t.r},function(t){r=t.i},function(t){o=t.n;i=t.k},function(t){s=t.F;l=t.i;c=t.d;u=t.H;d=t.J;p=t.B;f=t.w;v=t.$},function(t){g=t.c},function(t){h=t.g},function(t){y=t.c},function(t){m=t.R;x=t.a;b=t.S;C=t.u},function(){},function(t){T=t.C}],execute:function(){var _={Container:{display:"flex",justifyContent:"flex-end",alignItems:"center",gap:"var(--sl-spacing-small)",width:"100%"},SkeletonContainer:{width:"40px"},TextContainer:{display:"flex",gap:"var(--sl-spacing-xx-small)"}};var w=y(_);var k=w.toString();function S(t){var a=t.states,r=t.callbacks,o=t.text,i=t.buttonType;var s=r.onNext,l=r.onPrev;var c=a.currentPage,u=a.totalPages,d=a.loading;if(u===1)return e(n,null);return e("span",{class:w.classes.Container,part:"sqm-base"},e("style",{type:"text/css"},k),e("sl-button",{exportparts:"base: "+i+"button-base",onClick:l,part:"sqm-pagination-button",circle:true,disabled:c===1},e("sl-icon",{name:"chevron-left",label:"Previous Page"})),!d?e(n,null,e("div",{class:w.classes.TextContainer},o.paginationText)):e("div",{class:w.classes.SkeletonContainer},e("sl-skeleton",{height:"16px",width:"50%"})),e("sl-button",{exportparts:"base: "+i+"button-base",onClick:s,part:"sqm-pagination-button",circle:true,disabled:c===u},e("sl-icon",{name:"chevron-right",label:"Previous Page"})))}function P(t){var e;var n=s(m);var a=n.states.currentPage+1;var o=(e=n.states)===null||e===void 0?void 0:e.pageCount;return{states:{currentPage:a,totalPages:o,loading:n.states.loading},callbacks:{onNext:function(){var t,e;return(t=n.callbacks)===null||t===void 0?void 0:t.setCurrentPage(((e=n.states)===null||e===void 0?void 0:e.currentPage)+1)},onPrev:function(){var t,e;return(t=n.callbacks)===null||t===void 0?void 0:t.setCurrentPage(((e=n.states)===null||e===void 0?void 0:e.currentPage)-1)}},text:{paginationText:r.formatMessage({id:"paginationText",defaultMessage:t.paginationText},{currentPage:a,totalPages:o})}}}var j=t("sqm_pagination",function(){function t(t){a(this,t);this.ignored=true;this.paginationText="{currentPage} of {totalPages}";this.buttonType="secondary";o(this)}t.prototype.disconnectedCallback=function(){};t.prototype.render=function(){var t=l()?I(h(this)):P(h(this));return e(S,Object.assign({},t))};return t}());function I(t){var e=i(1),n=e[0],a=e[1];return g({states:{currentPage:n,totalPages:5,loading:false},buttonType:t.buttonType,callbacks:{onNext:function(){return a(n+1)},onPrev:function(){return a(n-1)}},text:{paginationText:r.formatMessage({id:"paginationText",defaultMessage:t.paginationText||"{currentPage} of {totalPages}"},{currentPage:n,totalPages:5})}},t.demoData||{},{arrayMerge:function(t,e){return e}})}var E=c.gql(__makeTemplateObject(["\n query getReferralCode($programId: ID) {\n user: viewer {\n ... on User {\n referralCode(programId: $programId)\n }\n }\n }\n"],["\n query getReferralCode($programId: ID) {\n user: viewer {\n ... on User {\n referralCode(programId: $programId)\n }\n }\n }\n"]));var M=c.gql(__makeTemplateObject(["\n mutation loadEvent($eventMeta: UserAnalyticsEvent!) {\n createUserAnalyticsEvent(eventMeta: $eventMeta)\n }\n"],["\n mutation loadEvent($eventMeta: UserAnalyticsEvent!) {\n createUserAnalyticsEvent(eventMeta: $eventMeta)\n }\n"]));function O(t){var e,n;var a=t.programId,r=a===void 0?u():a;var o=d();var l=p();var c=s(x);var g=f(E,{programId:r},!(o===null||o===void 0?void 0:o.jwt)||(c===null||c===void 0?void 0:c.referralCode)!==undefined).data;var h=v(M)[0];var y=v(b)[0];var m=(n=(c===null||c===void 0?void 0:c.referralCode)||((e=g===null||g===void 0?void 0:g.user)===null||e===void 0?void 0:e.referralCode))!==null&&n!==void 0?n:"...";var C=i(false),T=C[0],_=C[1];function w(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){switch(e.label){case 0:if(!c)return[3,2];return[4,y({referralCode:c.referralCode})];case 1:e.sent();c.refresh();e.label=2;case 2:navigator.clipboard.writeText(m);_(true);setTimeout((function(){return _(false)}),t.tooltiplifespan);h({eventMeta:{programId:r,id:o===null||o===void 0?void 0:o.id,accountId:o===null||o===void 0?void 0:o.accountId,type:"USER_REFERRAL_PROGRAM_ENGAGEMENT_EVENT",meta:{engagementMedium:l,shareMedium:"DIRECT"}}});return[2]}}))}))}return __assign(__assign({},t),{onClick:w,open:T,copyString:m,isCopied:c===null||c===void 0?void 0:c.isCopied,showNotificationText:t.showNotificationText&&!!(c===null||c===void 0?void 0:c.singleUse)})}var q=t("sqm_referral_code",function(){function t(t){a(this,t);this.tooltiptext="Copied to Clipboard";this.showNotificationText=false;this.notificationText="You've copied this code before";this.tooltiplifespan=1e3;this.textAlign="left";this.copyButtonLabel="Copy Code";this.buttonStyle="icon";this.buttonType="primary";o(this)}t.prototype.disconnectedCallback=function(){};t.prototype.render=function(){var t=h(this);var n=l()?R(t):O(t);return e(T,Object.assign({},n))};return t}());function R(t){var e=i(false),n=e[0],a=e[1];var r="REFERRALCODE001";return g({copyString:r,tooltiptext:t.tooltiptext,textAlign:t.textAlign,copyButtonLabel:t.copyButtonLabel,buttonStyle:t.buttonStyle,notificationText:t.notificationText,showNotificationText:t.showNotificationText,isCopied:t.showNotificationText,borderColor:t.borderColor,backgroundColor:t.backgroundColor,textColor:t.textColor,borderRadius:t.borderRadius,buttonType:t.buttonType,isUsed:false,rewardStatus:"AVAILABLE",open:n,onClick:function(){navigator.clipboard.writeText(r);a(true);setTimeout((function(){return a(false)}),t.tooltiplifespan)}},t.demoData||{},{arrayMerge:function(t,e){return e}})}function A(t){var n=t.slots,a=t.titleText,r=t.states,o=t.textColor,i=o===void 0?"var(--sqm-text-subdued)":o;var s={Wrapper:{width:"100%",display:"flex",alignItems:"flex-start",justifyContent:"center",flexDirection:"column",gap:"var(--sl-spacing-large)",color:i},HeaderContainer:{display:"flex",alignItems:"center",justifyContent:"space-between",width:"100%"},ShareCodeContainer:{width:"100%",display:"flex",alignItems:"flex-start",justifyContent:"center",flexDirection:"column"},ShareButtonContainer:{width:"100%",display:"flex",alignItems:"flex-start",justifyContent:"center",flexDirection:"column"},SkeletonContainer:{display:"flex",flexDirection:"column",gap:"var(--sl-spacing-small)",width:"100%"},SkeletonOne:{height:"36px",width:"100%"},TitleText:{fontSize:"var(--sl-font-size-large)",margin:"0"}};var l="\n :host {\n display: block;\n }\n :host([hidden]): {\n display: none;\n }\n ";var c=y(s);var u=c.toString();var d=function(t){if(t.noCodes){return n.empty}if(t.loading){return e("slot",{name:"loading"},e("div",{class:c.classes.SkeletonContainer},e("sl-skeleton",{class:c.classes.SkeletonOne})))}return e("div",{class:c.classes.Wrapper},e("div",{class:c.classes.ShareCodeContainer},n.shareCodes),e("div",{class:c.classes.ShareButtonContainer},n.shareButtons))};return e("div",{class:c.classes.Wrapper,part:"sqm-base"},e("style",{type:"text/css"},l,u),e("div",{class:c.classes.HeaderContainer},e("h2",{class:c.classes.TitleText},a),!r.noCodes&&n.pagination),d(r))}var D=t("sqm_referral_codes",function(){function t(t){a(this,t);this.titleText="Start sharing";this.emptyStateHeaderText="Your new codes and links aren’t ready yet";this.emptyStateDescriptionText="Please contact our program support team to let them know you’re out of codes.";this.emptyStateImageUrl="https://res.cloudinary.com/saasquatch/image/upload/v1644360953/squatch-assets/empty_leaderboard2.png";o(this)}t.prototype.disconnectedCallback=function(){};t.prototype.render=function(){var t=h(this);var n=l()?N(t):C(t);var a={shareButtons:e("slot",{name:"shareButtons"}),shareCodes:e("slot",{name:"shareCodes"}),pagination:e("slot",{name:"pagination"}),empty:e(U,{headerText:this.emptyStateHeaderText,descriptionText:this.emptyStateDescriptionText,imageUrl:this.emptyStateImageUrl})};var r=__assign(__assign({slots:a},n),{loading:n.states.loading,noCodes:n.states.noCodes});return e(A,Object.assign({},r))};return t}());function U(t){var n=t.headerText,a=t.descriptionText,r=t.imageUrl;return e("slot",{name:"empty"},e("sqm-empty",{emptyStateHeader:n,emptyStateText:a,emptyStateImage:r}))}function N(t){return g({titleText:t.titleText,textColor:t.textColor,states:{noCodes:false,loading:false}},t.demoData||{},{arrayMerge:function(t,e){return e}})}}}}));
|
|
@@ -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","./p-1a673057.system.js","./p-8a6494c7.system.js","./p-c09ae087.system.js"],(function(t){"use strict";var n,e,s,o,i;return{setters:[function(t){n=t.r;e=t.h},function(t){s=t.n},function(t){o=t.g},function(){},function(){},function(t){i=t.C}],execute:function(){var c=t("sqm_close_button",function(){function t(t){n(this,t);this.color="#000000";s(this)}t.prototype.disconnectedCallback=function(){};t.prototype.render=function(){var t;var n=o();var s=n.type==="SquatchJS2"&&((t=n.widgetIdent)===null||t===void 0?void 0:t.engagementMedium)==="POPUP";if(!s)return e("div",{style:{display:"none"}});var c=function(){var t,e;if(n.type==="SquatchJS2"){(e=(t=n.api).close)===null||e===void 0?void 0:e.call(t)}};return e(i,{onClick:c,color:this.color})};return t}())}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{h as t,r as s}from"./p-083180bf.js";import{i,k as n,n as e}from"./p-a7fc1e02.js";import{i as r}from"./p-
|
|
1
|
+
import{h as t,r as s}from"./p-083180bf.js";import{i,k as n,n as e}from"./p-a7fc1e02.js";import{i as r}from"./p-6e9738a4.js";import{c as l}from"./p-c1086930.js";import{g as a}from"./p-9ec99ced.js";import{c as o}from"./p-cef45012.js";import{E as u}from"./p-49b20dae.js";import{R as c}from"./p-e7cf6632.js";var h="(\\d.*)",d="([a-zA-Z].*)",p="([`~\\!@#\\$%\\^\\&\\*\\(\\)\\-_\\=\\+\\[\\{\\}\\]\\\\|;:\\'\",<.>\\/\\?€£¥₹§±].*)",v="([\\s].*)";function m(t,s){if(s&&s>1){const i=parseInt(s,10);return new RegExp(t+"{"+i+",}").test(this.password)===this.positive}return new RegExp(t).test(this.password)===this.positive}var f={not:function(t){return this.positive=!1,!t||m.call(this,t)},has:function(t){return this.positive=!0,!t||m.call(this,t)},is:function(){return this.positive=!0,!0},min:function(t){return this.password.length>=t},max:function(t){return this.password.length<=t},digits:function(t){return m.call(this,h,t)},letters:function(t){return m.call(this,d,t)},uppercase:function(t){if(t&&t>1){let s=0,i=0;for(;i<t&&s<this.password.length;){const t=this.password.charAt(s);t!==t.toLowerCase()&&i++,s++}return i===t===this.positive}return this.password!==this.password.toLowerCase()===this.positive},lowercase:function(t){if(t&&t>1){let s=0,i=0;for(;i<t&&s<this.password.length;){const t=this.password.charAt(s);t!==t.toUpperCase()&&i++,s++}return i===t===this.positive}return this.password!==this.password.toUpperCase()===this.positive},symbols:function(t){return m.call(this,p,t)},spaces:function(t){return m.call(this,v,t)},oneOf:function(t){return t.indexOf(this.password)>=0===this.positive}},g="Length should be a valid positive number";function b(t){const s=Number(t);if(isNaN(s)||!Number.isInteger(s)||s<1)throw new Error(g)}function w(t){return f[t.method].apply(this,t.arguments)}function y(t,s){return this.properties.push({method:t,arguments:s}),this}const x=(new class{constructor(){this.properties=[]}validate(t,s){return this.list=Boolean(s&&s.list),this.password=String(t),this.positive=!0,this.list?this.properties.reduce(((t,s)=>w.call(this,s)?t:t.concat(s.method)),[]):this.properties.every(w.bind(this))}letters(t){return t&&b(t),y.call(this,"letters",arguments)}digits(t){return t&&b(t),y.call(this,"digits",arguments)}symbols(t){return t&&b(t),y.call(this,"symbols",arguments)}min(t){return b(t),y.call(this,"min",arguments)}max(t){return b(t),y.call(this,"max",arguments)}lowercase(t){return t&&b(t),y.call(this,"lowercase",arguments)}uppercase(t){return t&&b(t),y.call(this,"uppercase",arguments)}spaces(t){return t&&b(t),y.call(this,"spaces",arguments)}has(){return y.call(this,"has",arguments)}not(){return y.call(this,"not",arguments)}is(){return y.call(this,"is",arguments)}oneOf(){return y.call(this,"oneOf",arguments)}}).is().min(8).has().uppercase().has().lowercase().has(/([\d`~\!@#\$%\^\&\*\(\)\-_\=\+\[\{\}\]\\\|;:'",<.>\/\?€£¥₹§±].*){1,}/),C=(t,s)=>{const i=x.validate(t,{list:!0});return E(i,t,s)},L=()=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 12 12",fill:"none"},t("path",{d:"M6 0C2.688 0 0 2.688 0 6C0 9.312 2.688 12 6 12C9.312 12 12 9.312 12 6C12 2.688 9.312 0 6 0ZM4.8 9L1.8 6L2.646 5.154L4.8 7.302L9.354 2.748L10.2 3.6L4.8 9Z",fill:"#259053"})),j=()=>t("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t("path",{d:"M6 0C2.688 0 0 2.688 0 6C0 9.312 2.688 12 6 12C9.312 12 12 9.312 12 6C12 2.688 9.312 0 6 0ZM6 10.8C3.354 10.8 1.2 8.646 1.2 6C1.2 3.354 3.354 1.2 6 1.2C8.646 1.2 10.8 3.354 10.8 6C10.8 8.646 8.646 10.8 6 10.8ZM8.754 3.348L4.8 7.302L3.246 5.754L2.4 6.6L4.8 9L9.6 4.2L8.754 3.348Z",fill:"#555555"})),I={display:"flex",alignItems:"center",fontSize:"var(--sl-font-size-small)","& > :not(:last-child)":{"margin-right":"var(--sl-spacing-x-small)"}},k=o({Base:{fontSize:"var(--sl-font-size-small)"},ValidationList:{"list-style-type":"none",paddingRight:"var(--sl-spacing-large)",margin:"var(--sl-spacing-small) 0 var(--sl-spacing-x-large)","& > :not(:last-child)":{"margin-bottom":"var(--sl-spacing-xx-small)"},"& *":{"line-height":"var(--sl-line-height-dense)"}},ValidationItemValid:{...I,color:"var(--sl-color-success-600)"},ValidationItemInvalid:{...I}}),V=k.toString(),E=(s,i,n)=>{const e={min:n.minErrorText,uppercase:n.uppercaseErrorText,lowercase:n.lowercaseErrorText,has:n.hasErrorText};return!s.length&&i?t("div",{class:k.classes.ValidationItemValid,style:{paddingBottom:"var(--sl-spacing-x-large)"}},t("style",{type:"text/css"},V),t(L,null)," ",t("span",null,n.meetsRequirementsText)):t("div",{class:k.classes.Base},t("style",{type:"text/css"},V),n.doesNotMeetRequirementsText,t("ul",{class:k.classes.ValidationList},Object.keys(e).map((i=>s.includes(i)?t("li",{class:k.classes.ValidationItemInvalid},t(j,null)," ",t("span",null,e[i])):t("li",{class:k.classes.ValidationItemValid},t(L,null)," ",t("span",null,e[i]))))))},M=o({InputContainer:{"& > :not(:last-child)":{"margin-bottom":"20px"}},ErrorStyle:u}),S=M.toString();function Z(s){var i,n,e,r,l,a,o,u,c,h;const{states:d,callbacks:p}=s;return t("div",{class:M.classes.InputContainer,part:"sqm-base"},t("style",{type:"text/css"},"\n:host {\n margin: 0 auto;\n width: 100%;\n display: block;\n}\n:host([hidden]): {\n display: none;\n}\n",S),t("sl-input",Object.assign({exportparts:"label: input-label, base: input-base",type:"password",name:"/password",label:d.content.fieldLabel||"Password",required:!0,disabled:(null===(i=d.registrationFormState)||void 0===i?void 0:i.loading)||(null===(n=d.registrationFormState)||void 0===n?void 0:n.disabled),validationError:({value:t})=>{if(!t)return"Cannot be empty"}},(null===(r=null===(e=d.registrationFormState)||void 0===e?void 0:e.initialData)||void 0===r?void 0:r.password)?{value:null===(a=null===(l=d.registrationFormState)||void 0===l?void 0:l.initialData)||void 0===a?void 0:a.password}:{},(null===(u=null===(o=d.registrationFormState)||void 0===o?void 0:o.validationErrors)||void 0===u?void 0:u.password)?{class:M.classes.ErrorStyle,helpText:(null===(h=null===(c=d.registrationFormState)||void 0===c?void 0:c.validationErrors)||void 0===h?void 0:h.password)||"Cannot be empty"}:[],{onInput:t=>d.enableValidation&&p.onInput(t)})),d.dynamicValidation)}const q=class{constructor(t){s(this,t),this.ignored=!0,this.fieldLabel="Password",this.disableValidation=!1,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",e(this)}disconnectedCallback(){}render(){const{states:s,callbacks:e}=r()?function(t){var s,i,e,r,a,o,u;const[c,h]=n(""),[d,p]=n("");if(t.demoData&&d!=(null===(s=null==t?void 0:t.demoData)||void 0===s?void 0:s.initValue)){const s=C((null===(i=null==t?void 0:t.demoData)||void 0===i?void 0:i.initValue)||"",t);h(""===(null===(e=null==t?void 0:t.demoData)||void 0===e?void 0:e.initValue)?"":s),p(null===(r=null==t?void 0:t.demoData)||void 0===r?void 0:r.initValue)}return l({states:{enableValidation:!t.disableValidation,dynamicValidation:c,registrationFormState:(null===(o=null===(a=null==t?void 0:t.demoData)||void 0===a?void 0:a.states)||void 0===o?void 0:o.registrationFormState)||{},content:{fieldLabel:t.fieldLabel}},callbacks:{onInput:function(s){const i=C(s.target.value,t);h(i)}}},(null===(u=null==t?void 0:t.demoData)||void 0===u?void 0:u.states)||{},{arrayMerge:(t,s)=>s})}(a(this)):function(t){const s=i(c),[e,r]=n("");return{states:{enableValidation:!t.disableValidation,dynamicValidation:e,registrationFormState:s,content:{fieldLabel:t.fieldLabel}},callbacks:{onInput:function(s){const i=C(s.target.value,t);r(i)}}}}(a(this));return t(Z,{states:s,callbacks:e})}};export{q as sqm_password_field}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{h as r}from"./p-083180bf.js";import{j as a}from"./p-
|
|
1
|
+
import{h as r}from"./p-083180bf.js";import{j as a}from"./p-6e9738a4.js";import{c as o}from"./p-cef45012.js";import{g as s}from"./p-49b20dae.js";function t(t){const{states:n,data:e,padding:i="x-small"}=t,m=t.backgroundHoverColor||"var(--sqm-primary-button-background-hover)",l=t.backgroundFocusedColor||"var(--sqm-primary-button-background)",c=t.textFocusedColor||"var(--sqm-primary-button-color)",p={ItemContainer:{display:"flex","background-color":`${n.active?l:t.backgroundColor||"var(--sqm-portal-background)"}`,borderRadius:t.borderRadius?`${t.borderRadius}px`:"var(--sqm-border-radius-normal)",padding:`var(--sl-spacing-${i})`,"text-decoration":"none",color:n.active?c:t.textColor||"var(--sqm-text)","align-items":"center",...s({direction:"row",size:"var(--sl-font-size-small)"}),"&:hover":{cursor:"pointer",background:n.active?l:m,color:n.active?c:t.textHoverColor||"var(--sqm-primary-button-color-hover)"}},Label:{margin:"0"},Icon:{"flex-shrink":"0"}},d=o(p),b=d.toString();return r("a",{part:"sqm-link",href:e.path,onClick:r=>{r.preventDefault(),a.push(e.path)},class:d.classes.ItemContainer},r("style",{type:"text/css"},b),r("sl-icon",{class:d.classes.Icon,name:e.icon}),r("p",{class:d.classes.Label,part:"sqm-label"},e.label))}export{t as N}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
System.register(["./p-641f968d.system.js","./p-b6504987.system.js","./p-ec3e44c8.system.js","./p-4691e9d5.system.js"],(function(e){"use strict";var t,r,n,i,o,s,l,a,f,u,c;return{setters:[function(e){t=e.r;r=e.h;n=e.c},function(e){i=e.b;o=e.n;s=e.k;l=e.f},function(e){a=e.I;f=e.b;u=e.i},function(e){c=e.V}],execute:function(){var d=i("sq:widget-verification");function v(e){var t=e.parent,r=e.callback;var n=new MutationObserver(o);var i=new MutationObserver(r);n.observe(t,{childList:true,subtree:false});o({addedNodes:t.querySelectorAll("template")});function o(e){var t;(t=e.addedNodes)===null||t===void 0?void 0:t.forEach((function(e){i.observe(e.content,{childList:true,attributes:true,subtree:true})}))}return function(){n.disconnect();i.disconnect()}}var p=e("sqm_widget_verification_controller",function(){function e(e){t(this,e);this.stateController='{"sqm-widget-verification-controller":{"isAuth":true}, "sqm-tax-and-cash":{"step":"/1"}}';o(this)}e.prototype.disconnectedCallback=function(){};e.prototype.render=function(){var e=a({namespace:c,initialValue:false}),t=e[0],i=e[1];var o=JSON.parse(this.stateController);var p=(o===null||o===void 0?void 0:o["sqm-widget-verification-controller"])||o||{};var y=u()&&(p===null||p===void 0?void 0:p.isAuth);var h=s(undefined),m=h[0],b=h[1];var g=s(undefined),x=g[0],A=g[1];var q=f((function(){var e=x.querySelectorAll("template");var r=y||t;var n=Array.from(e).find((function(e){return e.slot===(r?"verified":"not-verified")}));if(n){var i=n.innerHTML||n.firstElementChild.outerHTML;if(i===m.innerHTML){d("don't rerender")}else if(n){m.innerHTML=i}}var o=Array.from(x.children).filter((function(e){return e.tagName==="RAISINS-PLOP-TARGET"}));if(o.length){var s=o.filter((function(e){return e.slot==="verified"}));var l=o.filter((function(e){return e.slot==="not-verified"}));l.forEach((function(e,t){if(r){e.style.display="none";return}if(t===l.length-1){e.style.bottom="0px";e.style.left="0px";e.style.right="0px";e.style.position="absolute"}e.style.height="25px"}));s.forEach((function(e,t){if(!r){e.style.display="none";return}if(t===s.length-1){e.style.bottom="0px";e.style.left="0px";e.style.right="0px";e.style.position="absolute"}e.style.height="25px"}))}}),[m,x,t,y,this.stateController]);l((function(){if(!m||!x){d("DOM not ready:");return}q();return v({parent:x,callback:q})}),[x,m,t,y,this.stateController]);return r(n,null,r("div",{ref:A,style:{display:"contents"}},r("slot",{name:"not-verified"}),r("slot",{name:"verified"})),r("div",{ref:b},r("slot",{name:"shown"})))};return e}())}}}));
|
|
@@ -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","./p-6333265f.system.js","./p-7ae8fb53.system.js"],(function(e){"use strict";var t,n,r,a,o,i,s,u,d,l,c;return{setters:[function(e){t=e.r;n=e.h;r=e.c},function(e){a=e.b;o=e.k;i=e.i;s=e.f;u=e.n},function(e){d=e._},function(e){l=e.g},function(e){c=e.p}],execute:function(){var f=a("sq:useRouter");function v(e,t){if(!e)return;var n=c(e);return n.exec(t)}function p(e){var t=d();var n=o(undefined),r=n[0],a=n[1];var u=o(undefined),l=u[0],c=u[1];var p=e.contextName;var m=i(p);s((function(){var e=t.querySelectorAll("sqm-route");var n=Array.from(e);n.forEach((function(e){var t=document.createElement("template");t.setAttribute("path",e.path);t.innerHTML=e.innerHTML;e.parentNode.appendChild(t);e.parentNode.removeChild(e)}))}),[]);s((function(){var e,t;if(!l||!r){f("DOM not ready for navigation rendering on:",m);return}var n=r.querySelectorAll("template");var a=Array.from(n);var o=a.find((function(e){var t,n,r;var a=(n=(t=e.attributes)===null||t===void 0?void 0:t.path)===null||n===void 0?void 0:n.nodeValue;if((r=v(a,m))===null||r===void 0?void 0:r.length)return e}));var i=(t=(e=o===null||o===void 0?void 0:o.attributes)===null||e===void 0?void 0:e.path)===null||t===void 0?void 0:t.nodeValue;f({containerDatasetPage:l.dataset.page,templatePath:i,page:m});if(!o){f("No matching page found for ",m,", so render nothing");l.innerHTML="";l.dataset.page=m;return}f("Page updated to ",m,o);if(!!v(i,l.dataset.page)){f("don't rerender")}else if(o){l.innerHTML=o.innerHTML;l.dataset.page=m}}),[r,l,m]);return{callbacks:{setSlot:a,setContainer:c}}}var m="sqm-router{display:contents}";var y=e("sqm_context_router",function(){function e(e){t(this,e);this.ignored=true;u(this)}e.prototype.disconnectedCallback=function(){};e.prototype.render=function(){var e=p(l(this)).callbacks;return n(r,null,n("div",{ref:e.setSlot,style:{display:"none"}},n("slot",null)),n("div",{style:{display:"contents"},ref:e.setContainer}))};return e}());y.style=m}}}));
|