@saasquatch/mint-components 1.12.0-2 → 1.12.0-20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (463) hide show
  1. package/dist/cjs/{ShadowViewAddon-13173901.js → ShadowViewAddon-040cffad.js} +38 -36
  2. package/dist/cjs/extractProps-fd93ba62.js +21 -0
  3. package/dist/cjs/{global-e4ebdbcc.js → global-c3637175.js} +10 -161
  4. package/dist/cjs/{index.module-236d0403.js → index.module-b8d9d0ba.js} +228 -1392
  5. package/dist/cjs/loader.cjs.js +4 -4
  6. package/dist/cjs/{luxon-20eafbd9.js → luxon-05098e19.js} +1 -1
  7. package/dist/cjs/mint-components.cjs.js +4 -4
  8. package/dist/cjs/{mockRewardData-3c470512.js → mockRewardData-4258e067.js} +1 -1
  9. package/dist/cjs/{re-render-5de6631a.js → re-render-5bde3d2e.js} +2 -2
  10. package/dist/cjs/sqm-asset-card.cjs.entry.js +3 -3
  11. package/dist/cjs/{sqm-banking-info-form_16.cjs.entry.js → sqm-banking-info-form_17.cjs.entry.js} +1175 -548
  12. package/dist/cjs/sqm-big-stat_39.cjs.entry.js +247 -127
  13. package/dist/cjs/sqm-close-button.cjs.entry.js +3 -3
  14. package/dist/cjs/sqm-context-router.cjs.entry.js +3 -3
  15. package/dist/cjs/sqm-email-verification.cjs.entry.js +150 -20
  16. package/dist/cjs/sqm-empty_4.cjs.entry.js +7 -7
  17. package/dist/cjs/sqm-form-message.cjs.entry.js +2 -2
  18. package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +3 -3
  19. package/dist/cjs/sqm-header-logo.cjs.entry.js +2 -2
  20. package/dist/cjs/sqm-instant-access-registration.cjs.entry.js +6 -6
  21. package/dist/cjs/{sqm-invoice-table-view-dbba9bb4.js → sqm-invoice-table-view-4fcf021f.js} +155 -4
  22. package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +8 -9
  23. package/dist/cjs/sqm-logout-current-user.cjs.entry.js +7 -8
  24. package/dist/cjs/{sqm-navigation-sidebar-item-view-fc865ecf.js → sqm-navigation-sidebar-item-view-a2135064.js} +1 -1
  25. package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +4 -4
  26. package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +3 -3
  27. package/dist/cjs/sqm-password-field.cjs.entry.js +4 -4
  28. package/dist/cjs/sqm-popup-container.cjs.entry.js +3 -3
  29. package/dist/cjs/{sqm-portal-email-verification-view-4bc2760b.js → sqm-portal-email-verification-view-050dbe0f.js} +1 -1
  30. package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +5 -5
  31. package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +4 -4
  32. package/dist/cjs/sqm-portal-logout.cjs.entry.js +3 -3
  33. package/dist/cjs/{sqm-portal-profile-view-cbab7c80.js → sqm-portal-profile-view-d97086bc.js} +1 -1
  34. package/dist/cjs/sqm-portal-profile.cjs.entry.js +11 -12
  35. package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +3 -3
  36. package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +6 -7
  37. package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +4 -4
  38. package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +3 -3
  39. package/dist/cjs/sqm-referral-table_11.cjs.entry.js +16 -17
  40. package/dist/cjs/sqm-referred-registration.cjs.entry.js +6 -6
  41. package/dist/cjs/sqm-rewards-table-customer-note-cell.cjs.entry.js +2 -2
  42. package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +4 -4
  43. package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +61 -62
  44. package/dist/cjs/sqm-scroll.cjs.entry.js +2 -2
  45. package/dist/cjs/sqm-stencilbook.cjs.entry.js +117 -48
  46. package/dist/cjs/sqm-tab.cjs.entry.js +4 -4
  47. package/dist/cjs/sqm-tabs.cjs.entry.js +5 -5
  48. package/dist/cjs/sqm-text-span.cjs.entry.js +2 -2
  49. package/dist/cjs/sqm-widget-verification-controller.cjs.entry.js +113 -0
  50. package/dist/cjs/sqm-widget-verification.cjs.entry.js +168 -107
  51. package/dist/cjs/{stencil-hooks.module-a5a04d8a.js → stencil-hooks.module-72742a0b.js} +4 -1
  52. package/dist/cjs/{useChildElements-23beb180.js → useChildElements-410d2435.js} +2 -2
  53. package/dist/cjs/{useInstantAccessRegistration-7c125c00.js → useInstantAccessRegistration-ccf81eae.js} +3 -3
  54. package/dist/cjs/usePayoutStatus-8f924372.js +1045 -0
  55. package/dist/cjs/{useReferralTable-54d0ba70.js → useReferralTable-824ac152.js} +13 -14
  56. package/dist/cjs/{useRegistrationFormState-e7e820d0.js → useRegistrationFormState-f9ce55be.js} +2 -2
  57. package/dist/cjs/useVerificationEmail-2eb28c2a.js +173 -0
  58. package/dist/cjs/{utilities-ac5b5f2c.js → utilities-f7de6c04.js} +2 -2
  59. package/dist/collection/collection-manifest.json +2 -2
  60. package/dist/collection/components/sqm-big-stat/useBigStat.js +6 -3
  61. package/dist/collection/components/sqm-payout-button-scroll/PayoutButtonScroll.stories.js +7 -0
  62. package/dist/collection/components/sqm-payout-button-scroll/sqm-payout-button-scroll-view.js +2 -1
  63. package/dist/collection/components/sqm-payout-button-scroll/sqm-payout-button-scroll.js +5 -1
  64. package/dist/collection/components/sqm-payout-button-scroll/usePayoutButton.js +3 -10
  65. package/dist/collection/components/sqm-referral-table/ReferralTable.stories.js +7 -1
  66. package/dist/collection/components/sqm-referral-table/ReferralTableRewardsCell.stories.js +16 -4
  67. package/dist/collection/components/sqm-rewards-table/RewardsTableCell.stories.js +7 -12
  68. package/dist/collection/components/sqm-text/sqm-text.js +1 -1
  69. package/dist/collection/components/sqm-widget-verification/sqm-code-verification/WidgetCodeVerification.stories.js +7 -0
  70. package/dist/collection/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification-view.js +2 -2
  71. package/dist/collection/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification.js +30 -7
  72. package/dist/collection/components/sqm-widget-verification/sqm-code-verification/useCodeVerification.js +32 -26
  73. package/dist/collection/components/sqm-widget-verification/sqm-email-verification/WidgetEmailVerification.stories.js +22 -6
  74. package/dist/collection/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification-view.js +10 -6
  75. package/dist/collection/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification.js +37 -10
  76. package/dist/collection/components/sqm-widget-verification/sqm-email-verification/useEmailVerification.js +21 -44
  77. package/dist/collection/components/sqm-widget-verification/sqm-widget-verification-controller.js +120 -0
  78. package/dist/collection/components/sqm-widget-verification/sqm-widget-verification.js +513 -118
  79. package/dist/collection/components/sqm-widget-verification/useVerificationEmail.js +169 -0
  80. package/dist/collection/components/tax-and-cash/BankingForm.stories.js +19 -0
  81. package/dist/collection/components/tax-and-cash/TaxForm.stories.js +149 -3
  82. package/dist/collection/components/tax-and-cash/eventKeys.js +1 -0
  83. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.js +12 -2
  84. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.js +128 -14
  85. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/useBankingInfoForm.js +15 -1
  86. package/dist/collection/components/tax-and-cash/sqm-docusign-form/docusign-iframe/DocusignIframe.js +0 -1
  87. package/dist/collection/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form-view.js +12 -2
  88. package/dist/collection/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form.js +31 -6
  89. package/dist/collection/components/tax-and-cash/sqm-docusign-form/useDocusignForm.js +3 -0
  90. package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form-view.js +26 -8
  91. package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form.js +33 -8
  92. package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/useIndirectTaxForm.js +3 -0
  93. package/dist/collection/components/tax-and-cash/sqm-payout-details-card/PayoutDetailsCard.stories.js +0 -7
  94. package/dist/collection/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card-view.js +0 -5
  95. package/dist/collection/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card.js +0 -56
  96. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/PayoutStatusAlert.stories.js +7 -1
  97. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.js +92 -9
  98. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.js +269 -6
  99. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.js +44 -18
  100. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/data.js +6 -0
  101. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.js +55 -22
  102. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/useTaxAndCash.js +2 -2
  103. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.js +138 -9
  104. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.js +283 -17
  105. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/useTaxAndCashDashboard.js +17 -2
  106. package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +19 -9
  107. package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form.js +31 -6
  108. package/dist/collection/components/tax-and-cash/sqm-user-info-form/useUserInfoForm.js +16 -11
  109. package/dist/collection/components/tax-and-cash/useVeriffApp.js +64 -0
  110. package/dist/esm/{ShadowViewAddon-72e231a5.js → ShadowViewAddon-69b61037.js} +12 -10
  111. package/dist/esm/extractProps-ae1afbb3.js +19 -0
  112. package/dist/esm/{global-adae7650.js → global-6306a9b8.js} +10 -161
  113. package/dist/esm/{index.module-c0eb7dc2.js → index.module-6c840c4e.js} +222 -1389
  114. package/dist/esm/{keys-a1496e39.js → keys-406491dc.js} +1 -1
  115. package/dist/esm/loader.js +4 -4
  116. package/dist/esm/{luxon-63e24900.js → luxon-7600be8d.js} +1 -1
  117. package/dist/esm/mint-components.js +4 -4
  118. package/dist/esm/{mockRewardData-e6b763d1.js → mockRewardData-0eb6e778.js} +1 -1
  119. package/dist/esm/{re-render-5882a144.js → re-render-1bcfd0de.js} +2 -2
  120. package/dist/esm/sqm-asset-card.entry.js +2 -2
  121. package/dist/esm/{sqm-banking-info-form_16.entry.js → sqm-banking-info-form_17.entry.js} +835 -209
  122. package/dist/esm/sqm-big-stat_39.entry.js +192 -72
  123. package/dist/esm/sqm-close-button.entry.js +2 -2
  124. package/dist/esm/sqm-context-router.entry.js +2 -2
  125. package/dist/esm/sqm-email-verification.entry.js +148 -18
  126. package/dist/esm/sqm-empty_4.entry.js +4 -4
  127. package/dist/esm/sqm-form-message.entry.js +1 -1
  128. package/dist/esm/sqm-graphql-client-provider.entry.js +2 -2
  129. package/dist/esm/sqm-header-logo.entry.js +1 -1
  130. package/dist/esm/sqm-instant-access-registration.entry.js +5 -5
  131. package/dist/esm/{sqm-invoice-table-view-663674f2.js → sqm-invoice-table-view-b3127605.js} +155 -4
  132. package/dist/esm/sqm-leaderboard-rank.entry.js +3 -4
  133. package/dist/esm/sqm-logout-current-user.entry.js +2 -3
  134. package/dist/esm/{sqm-navigation-sidebar-item-view-4715e546.js → sqm-navigation-sidebar-item-view-f8e78810.js} +1 -1
  135. package/dist/esm/sqm-navigation-sidebar-item.entry.js +3 -3
  136. package/dist/esm/sqm-navigation-sidebar.entry.js +2 -2
  137. package/dist/esm/sqm-password-field.entry.js +3 -3
  138. package/dist/esm/sqm-popup-container.entry.js +2 -2
  139. package/dist/esm/{sqm-portal-email-verification-view-598eb9a7.js → sqm-portal-email-verification-view-c6ac5430.js} +1 -1
  140. package/dist/esm/sqm-portal-email-verification.entry.js +4 -4
  141. package/dist/esm/sqm-portal-forgot-password.entry.js +3 -3
  142. package/dist/esm/sqm-portal-logout.entry.js +2 -2
  143. package/dist/esm/{sqm-portal-profile-view-a0f6ad48.js → sqm-portal-profile-view-15ddbec8.js} +1 -1
  144. package/dist/esm/sqm-portal-profile.entry.js +5 -6
  145. package/dist/esm/sqm-portal-protected-route.entry.js +2 -2
  146. package/dist/esm/sqm-portal-registration-form.entry.js +4 -5
  147. package/dist/esm/sqm-portal-reset-password.entry.js +3 -3
  148. package/dist/esm/sqm-portal-verify-email.entry.js +2 -2
  149. package/dist/esm/sqm-referral-table_11.entry.js +8 -9
  150. package/dist/esm/sqm-referred-registration.entry.js +5 -5
  151. package/dist/esm/sqm-rewards-table-customer-note-cell.entry.js +1 -1
  152. package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +3 -3
  153. package/dist/esm/sqm-rewards-table_9.entry.js +8 -9
  154. package/dist/esm/sqm-scroll.entry.js +1 -1
  155. package/dist/esm/sqm-stencilbook.entry.js +115 -46
  156. package/dist/esm/sqm-tab.entry.js +3 -3
  157. package/dist/esm/sqm-tabs.entry.js +4 -4
  158. package/dist/esm/sqm-text-span.entry.js +1 -1
  159. package/dist/esm/sqm-widget-verification-controller.entry.js +109 -0
  160. package/dist/esm/sqm-widget-verification.entry.js +169 -108
  161. package/dist/esm/{stencil-hooks.module-3c7f7c90.js → stencil-hooks.module-ac12ca1c.js} +1 -1
  162. package/dist/esm/{useChildElements-fe94b660.js → useChildElements-fc84e640.js} +2 -2
  163. package/dist/esm/{useInstantAccessRegistration-670c1b98.js → useInstantAccessRegistration-8b0a4556.js} +3 -3
  164. package/dist/esm/usePayoutStatus-0bc0380f.js +1039 -0
  165. package/dist/esm/{useReferralTable-52008143.js → useReferralTable-f6ffa103.js} +4 -5
  166. package/dist/esm/{useRegistrationFormState-4cfd1a8d.js → useRegistrationFormState-849e27f7.js} +2 -2
  167. package/dist/esm/useVerificationEmail-2a21d0e3.js +171 -0
  168. package/dist/esm/{utilities-98445452.js → utilities-443732be.js} +2 -2
  169. package/dist/esm-es5/ShadowViewAddon-69b61037.js +1 -0
  170. package/dist/esm-es5/extractProps-ae1afbb3.js +1 -0
  171. package/dist/esm-es5/global-6306a9b8.js +285 -0
  172. package/dist/esm-es5/index.module-6c840c4e.js +1 -0
  173. package/dist/esm-es5/{keys-a1496e39.js → keys-406491dc.js} +1 -1
  174. package/dist/esm-es5/loader.js +1 -1
  175. package/dist/esm-es5/{luxon-63e24900.js → luxon-7600be8d.js} +1 -1
  176. package/dist/esm-es5/mint-components.js +1 -1
  177. package/dist/esm-es5/{mockRewardData-e6b763d1.js → mockRewardData-0eb6e778.js} +1 -1
  178. package/dist/esm-es5/{re-render-5882a144.js → re-render-1bcfd0de.js} +1 -1
  179. package/dist/esm-es5/sqm-asset-card.entry.js +1 -1
  180. package/dist/esm-es5/sqm-banking-info-form_17.entry.js +1 -0
  181. package/dist/esm-es5/sqm-big-stat_39.entry.js +1 -1
  182. package/dist/esm-es5/sqm-close-button.entry.js +1 -1
  183. package/dist/esm-es5/sqm-context-router.entry.js +1 -1
  184. package/dist/esm-es5/sqm-email-verification.entry.js +1 -1
  185. package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
  186. package/dist/esm-es5/sqm-form-message.entry.js +1 -1
  187. package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
  188. package/dist/esm-es5/sqm-header-logo.entry.js +1 -1
  189. package/dist/esm-es5/sqm-instant-access-registration.entry.js +1 -1
  190. package/dist/esm-es5/sqm-invoice-table-view-b3127605.js +1 -0
  191. package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
  192. package/dist/esm-es5/sqm-logout-current-user.entry.js +1 -1
  193. package/dist/esm-es5/{sqm-navigation-sidebar-item-view-4715e546.js → sqm-navigation-sidebar-item-view-f8e78810.js} +1 -1
  194. package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
  195. package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
  196. package/dist/esm-es5/sqm-password-field.entry.js +1 -1
  197. package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
  198. package/dist/esm-es5/{sqm-portal-email-verification-view-598eb9a7.js → sqm-portal-email-verification-view-c6ac5430.js} +1 -1
  199. package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
  200. package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -1
  201. package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
  202. package/dist/esm-es5/{sqm-portal-profile-view-a0f6ad48.js → sqm-portal-profile-view-15ddbec8.js} +1 -1
  203. package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
  204. package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -1
  205. package/dist/esm-es5/sqm-portal-registration-form.entry.js +1 -1
  206. package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
  207. package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
  208. package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
  209. package/dist/esm-es5/sqm-referred-registration.entry.js +1 -1
  210. package/dist/esm-es5/sqm-rewards-table-customer-note-cell.entry.js +1 -1
  211. package/dist/esm-es5/sqm-rewards-table-customer-note-column.entry.js +1 -1
  212. package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
  213. package/dist/esm-es5/sqm-scroll.entry.js +1 -1
  214. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  215. package/dist/esm-es5/sqm-tab.entry.js +1 -1
  216. package/dist/esm-es5/sqm-tabs.entry.js +1 -1
  217. package/dist/esm-es5/sqm-text-span.entry.js +1 -1
  218. package/dist/esm-es5/sqm-widget-verification-controller.entry.js +1 -0
  219. package/dist/esm-es5/sqm-widget-verification.entry.js +1 -1
  220. package/dist/esm-es5/{stencil-hooks.module-3c7f7c90.js → stencil-hooks.module-ac12ca1c.js} +1 -1
  221. package/dist/esm-es5/useChildElements-fc84e640.js +1 -0
  222. package/dist/esm-es5/{useInstantAccessRegistration-670c1b98.js → useInstantAccessRegistration-8b0a4556.js} +1 -1
  223. package/dist/esm-es5/usePayoutStatus-0bc0380f.js +6 -0
  224. package/dist/esm-es5/useReferralTable-f6ffa103.js +1 -0
  225. package/dist/esm-es5/useRegistrationFormState-849e27f7.js +1 -0
  226. package/dist/esm-es5/useVerificationEmail-2a21d0e3.js +1 -0
  227. package/dist/esm-es5/{utilities-98445452.js → utilities-443732be.js} +1 -1
  228. package/dist/mint-components/mint-components.esm.js +1 -1
  229. package/dist/mint-components/mint-components.js +1 -1
  230. package/dist/mint-components/{p-0ecb3019.js → p-0121e044.js} +1 -1
  231. package/dist/mint-components/p-012daf3c.entry.js +1 -0
  232. package/dist/mint-components/p-021ccc29.entry.js +25 -0
  233. package/dist/mint-components/{p-1e40967f.entry.js → p-03dbe2ce.entry.js} +1 -1
  234. package/dist/mint-components/{p-65a449de.js → p-04348a9b.js} +1 -1
  235. package/dist/mint-components/{p-14488d1c.system.entry.js → p-04ced592.system.entry.js} +1 -1
  236. package/dist/mint-components/{p-78a831e0.system.entry.js → p-0527d90b.system.entry.js} +1 -1
  237. package/dist/mint-components/p-0893073b.entry.js +1 -0
  238. package/dist/mint-components/p-0a94fe9f.system.entry.js +1 -0
  239. package/dist/mint-components/p-0c9ad5f3.system.entry.js +1 -0
  240. package/dist/mint-components/p-11d1b212.js +1 -0
  241. package/dist/mint-components/p-156e37c2.system.entry.js +1 -0
  242. package/dist/mint-components/{p-cdd04337.entry.js → p-178d2d2e.entry.js} +1 -1
  243. package/dist/mint-components/{p-ee328054.entry.js → p-1b861be5.entry.js} +1 -1
  244. package/dist/mint-components/{p-4209cd94.js → p-1d27da33.js} +4 -4
  245. package/dist/mint-components/{p-5a2fd8e0.system.entry.js → p-1f7d7524.system.entry.js} +1 -1
  246. package/dist/mint-components/{p-f0fba496.system.entry.js → p-22425c71.system.entry.js} +1 -1
  247. package/dist/mint-components/{p-9223640e.js → p-251e7567.js} +1 -1
  248. package/dist/mint-components/p-26468242.js +1 -0
  249. package/dist/mint-components/{p-1602bf01.js → p-2816bf6a.js} +1 -1
  250. package/dist/mint-components/p-2868f475.entry.js +1 -0
  251. package/dist/mint-components/{p-0979f82e.system.js → p-2a414b2e.system.js} +2 -2
  252. package/dist/mint-components/p-2c342de3.system.entry.js +1 -0
  253. package/dist/mint-components/p-3007fb7d.system.entry.js +1 -0
  254. package/dist/mint-components/p-36e9296e.system.entry.js +1 -0
  255. package/dist/mint-components/{p-cb45d0a8.system.js → p-370a1a73.system.js} +1 -1
  256. package/dist/mint-components/p-38c7775a.js +1 -0
  257. package/dist/mint-components/p-3925bcd6.entry.js +13 -0
  258. package/dist/mint-components/{p-45d0b48a.system.entry.js → p-3e7ec0f3.system.entry.js} +1 -1
  259. package/dist/mint-components/{p-423821b9.system.js → p-43621f12.system.js} +1 -1
  260. package/dist/mint-components/p-478a3755.entry.js +9 -0
  261. package/dist/mint-components/p-47b47e3b.js +31 -0
  262. package/dist/mint-components/{p-f338ef55.system.js → p-4babe350.system.js} +1 -1
  263. package/dist/mint-components/{p-34a87e67.system.js → p-4e373c3d.system.js} +1 -1
  264. package/dist/mint-components/{p-ab89b44a.system.js → p-4eae91a9.system.js} +1 -1
  265. package/dist/mint-components/{p-ab7322f0.system.entry.js → p-51d53165.system.entry.js} +1 -1
  266. package/dist/mint-components/{p-4c0b7768.entry.js → p-5291891c.entry.js} +3 -3
  267. package/dist/mint-components/{p-4c9b6fbe.system.js → p-57dd28bd.system.js} +1 -1
  268. package/dist/mint-components/{p-34dab223.system.entry.js → p-59818690.system.entry.js} +1 -1
  269. package/dist/mint-components/{p-00ec17d4.system.js → p-5becb2ff.system.js} +1 -1
  270. package/dist/mint-components/{p-a1f0d8ba.system.entry.js → p-5fba1a04.system.entry.js} +1 -1
  271. package/dist/mint-components/p-64491210.system.entry.js +1 -0
  272. package/dist/mint-components/{p-def70672.js → p-68747d88.js} +1 -1
  273. package/dist/mint-components/{p-95af445c.system.entry.js → p-6afb4f48.system.entry.js} +1 -1
  274. package/dist/mint-components/{p-cafebf8a.entry.js → p-6c928c7d.entry.js} +1 -1
  275. package/dist/mint-components/{p-70886c65.system.entry.js → p-70af9ba2.system.entry.js} +1 -1
  276. package/dist/mint-components/{p-657b290b.entry.js → p-76392386.entry.js} +1 -1
  277. package/dist/mint-components/p-7dd1ff31.system.entry.js +1 -0
  278. package/dist/mint-components/{p-d0c4f3bf.system.entry.js → p-83c9f37b.system.entry.js} +1 -1
  279. package/dist/mint-components/{p-cdcd825e.entry.js → p-84b25a46.entry.js} +1 -1
  280. package/dist/mint-components/{p-14beec1b.system.entry.js → p-88aac6a9.system.entry.js} +1 -1
  281. package/dist/mint-components/{p-45d6cde6.system.entry.js → p-88bf51b7.system.entry.js} +1 -1
  282. package/dist/mint-components/p-8d554a89.system.js +1 -0
  283. package/dist/mint-components/p-93576222.system.js +1 -0
  284. package/dist/mint-components/p-9379ee08.js +48 -0
  285. package/dist/mint-components/{p-d2a925d5.entry.js → p-94454880.entry.js} +1 -1
  286. package/dist/mint-components/{p-3ba349a3.entry.js → p-947fe79b.entry.js} +1 -1
  287. package/dist/mint-components/p-97c92e75.entry.js +16 -0
  288. package/dist/mint-components/p-99c15c5e.entry.js +1 -0
  289. package/dist/mint-components/p-9bd417fd.entry.js +1 -0
  290. package/dist/mint-components/{p-c293f586.system.entry.js → p-9cdbd1ac.system.entry.js} +1 -1
  291. package/dist/mint-components/{p-56b37aeb.entry.js → p-9d34f4f0.entry.js} +3 -3
  292. package/dist/mint-components/{p-64acc813.entry.js → p-9e0230c3.entry.js} +1 -1
  293. package/dist/mint-components/{p-8ccb4267.js → p-9eae245f.js} +30 -27
  294. package/dist/mint-components/p-a4282d02.system.entry.js +1 -0
  295. package/dist/mint-components/{p-a2e1af83.entry.js → p-a45b03d2.entry.js} +1 -1
  296. package/dist/mint-components/{p-15e01e7a.entry.js → p-a85f57bb.entry.js} +1 -1
  297. package/dist/mint-components/p-a8645c1b.system.js +1 -0
  298. package/dist/mint-components/p-a8c28561.system.js +1 -0
  299. package/dist/mint-components/p-a954c299.entry.js +205 -0
  300. package/dist/mint-components/{p-dce3d296.system.js → p-ac51940e.system.js} +1 -1
  301. package/dist/mint-components/{p-d39da925.entry.js → p-b1e8a802.entry.js} +1 -1
  302. package/dist/mint-components/p-b3b5b4b7.system.entry.js +1 -0
  303. package/dist/mint-components/{p-3da2b3cf.system.entry.js → p-bc826117.system.entry.js} +1 -1
  304. package/dist/mint-components/p-bd1372d2.system.js +6 -0
  305. package/dist/mint-components/p-bdd6bb13.js +1 -0
  306. package/dist/mint-components/{p-3c46b3de.system.entry.js → p-be1ae1ed.system.entry.js} +1 -1
  307. package/dist/mint-components/{p-cadb8dba.entry.js → p-bee1e573.entry.js} +1 -1
  308. package/dist/mint-components/{p-18cd88c4.system.entry.js → p-c1f4fb6d.system.entry.js} +1 -1
  309. package/dist/mint-components/p-c1fa5e04.system.js +1 -0
  310. package/dist/mint-components/{p-7507d72b.js → p-c3b37bbf.js} +1 -1
  311. package/dist/mint-components/{p-ac69b460.system.entry.js → p-c3babfa4.system.entry.js} +1 -1
  312. package/dist/mint-components/p-c8878e79.entry.js +1 -0
  313. package/dist/mint-components/p-c92a743e.entry.js +1 -0
  314. package/dist/mint-components/p-c9fb6102.entry.js +1 -0
  315. package/dist/mint-components/p-ca809fdd.system.js +1 -0
  316. package/dist/mint-components/p-cb433855.system.entry.js +1 -0
  317. package/dist/mint-components/p-cb55d3c4.system.entry.js +1 -0
  318. package/dist/mint-components/{p-6a70d2d6.entry.js → p-cd200c95.entry.js} +1 -1
  319. package/dist/mint-components/{p-06c561ea.system.js → p-cd44de66.system.js} +1 -1
  320. package/dist/mint-components/{p-e5299352.system.js → p-ce9e7c98.system.js} +1 -1
  321. package/dist/mint-components/p-d35d8c06.entry.js +11 -0
  322. package/dist/mint-components/p-d468925f.entry.js +1 -0
  323. package/dist/mint-components/p-d4877a65.system.entry.js +1 -0
  324. package/dist/mint-components/{p-0db003f7.js → p-d83b0cf3.js} +153 -153
  325. package/dist/mint-components/{p-5c602e84.entry.js → p-dd0d79bf.entry.js} +1 -1
  326. package/dist/mint-components/p-def516b8.system.js +1 -0
  327. package/dist/mint-components/p-e01ac27c.system.js +1 -0
  328. package/dist/mint-components/{p-611a30f0.js → p-e0e7635a.js} +1 -1
  329. package/dist/mint-components/p-e12d3414.system.entry.js +1 -0
  330. package/dist/mint-components/{p-816fb64f.system.entry.js → p-ead27698.system.entry.js} +1 -1
  331. package/dist/mint-components/{p-7ab14d4b.system.entry.js → p-f0806232.system.entry.js} +1 -1
  332. package/dist/mint-components/p-f1184442.js +1 -0
  333. package/dist/mint-components/p-f196d71a.entry.js +241 -0
  334. package/dist/mint-components/{p-48704504.js → p-f3053c61.js} +1 -1
  335. package/dist/mint-components/p-f36e33ff.entry.js +13 -0
  336. package/dist/mint-components/p-f450654b.system.entry.js +1 -0
  337. package/dist/mint-components/p-f4cbbe47.entry.js +1 -0
  338. package/dist/mint-components/p-f531a5c9.system.entry.js +1 -0
  339. package/dist/mint-components/{p-b14a77e8.system.entry.js → p-f56348dc.system.entry.js} +1 -1
  340. package/dist/mint-components/p-f655a7df.js +1 -0
  341. package/dist/mint-components/{p-79097c07.entry.js → p-fbdf0738.entry.js} +1 -1
  342. package/dist/mint-components/{p-fda3d0ca.system.js → p-fc422446.system.js} +22 -22
  343. package/dist/mint-components/p-fd21ae8f.entry.js +1 -0
  344. package/dist/mint-components/{p-1b24bb52.js → p-fd2c5407.js} +1 -1
  345. package/dist/types/components/sqm-payout-button-scroll/PayoutButtonScroll.stories.d.ts +1 -0
  346. package/dist/types/components/sqm-referral-table/ReferralTableRewardsCell.stories.d.ts +1 -0
  347. package/dist/types/components/sqm-rewards-table/RewardsTableCell.stories.d.ts +1 -0
  348. package/dist/types/components/sqm-widget-verification/sqm-code-verification/WidgetCodeVerification.stories.d.ts +1 -0
  349. package/dist/types/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification-view.d.ts +1 -0
  350. package/dist/types/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification.d.ts +4 -0
  351. package/dist/types/components/sqm-widget-verification/sqm-code-verification/useCodeVerification.d.ts +2 -1
  352. package/dist/types/components/sqm-widget-verification/sqm-email-verification/WidgetEmailVerification.stories.d.ts +1 -0
  353. package/dist/types/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification-view.d.ts +1 -0
  354. package/dist/types/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification.d.ts +4 -0
  355. package/dist/types/components/sqm-widget-verification/sqm-email-verification/useEmailVerification.d.ts +0 -6
  356. package/dist/types/components/sqm-widget-verification/sqm-widget-verification-controller.d.ts +12 -0
  357. package/dist/types/components/sqm-widget-verification/sqm-widget-verification.d.ts +79 -1
  358. package/dist/types/components/sqm-widget-verification/useVerificationEmail.d.ts +15 -0
  359. package/dist/types/components/tax-and-cash/BankingForm.stories.d.ts +1 -0
  360. package/dist/types/components/tax-and-cash/TaxForm.stories.d.ts +5 -0
  361. package/dist/types/components/tax-and-cash/eventKeys.d.ts +1 -0
  362. package/dist/types/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.d.ts +7 -0
  363. package/dist/types/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.d.ts +13 -0
  364. package/dist/types/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form-view.d.ts +1 -0
  365. package/dist/types/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form.d.ts +4 -0
  366. package/dist/types/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form-view.d.ts +1 -0
  367. package/dist/types/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form.d.ts +4 -0
  368. package/dist/types/components/tax-and-cash/sqm-payout-details-card/PayoutDetailsCard.stories.d.ts +0 -1
  369. package/dist/types/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card-view.d.ts +0 -4
  370. package/dist/types/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card.d.ts +1 -16
  371. package/dist/types/components/tax-and-cash/sqm-payout-status-alert/PayoutStatusAlert.stories.d.ts +4 -0
  372. package/dist/types/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.d.ts +18 -0
  373. package/dist/types/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.d.ts +46 -0
  374. package/dist/types/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.d.ts +12 -1
  375. package/dist/types/components/tax-and-cash/sqm-tax-and-cash/data.d.ts +6 -0
  376. package/dist/types/components/tax-and-cash/sqm-tax-and-cash/extractProps.d.ts +5 -1
  377. package/dist/types/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.d.ts +15 -3
  378. package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.d.ts +17 -2
  379. package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.d.ts +47 -2
  380. package/dist/types/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.d.ts +1 -0
  381. package/dist/types/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form.d.ts +4 -0
  382. package/dist/types/components/tax-and-cash/useVeriffApp.d.ts +6 -0
  383. package/dist/types/components.d.ts +461 -83
  384. package/docs/docs.docx +0 -0
  385. package/docs/raisins.json +1 -1
  386. package/grapesjs/grapesjs.js +1 -1
  387. package/package.json +2 -1
  388. package/dist/cjs/index-56d1fa5b.js +0 -2227
  389. package/dist/cjs/sqm-code-verification.cjs.entry.js +0 -356
  390. package/dist/cjs/sqm-widget-verification-internal.cjs.entry.js +0 -33
  391. package/dist/cjs/useEmailVerification-33465f36.js +0 -155
  392. package/dist/collection/components/sqm-widget-verification/sqm-widget-verification-internal.js +0 -27
  393. package/dist/collection/components/sqm-widget-verification/useWidgetVerification.js +0 -3
  394. package/dist/esm/index-0c7b14c5.js +0 -2225
  395. package/dist/esm/sqm-code-verification.entry.js +0 -352
  396. package/dist/esm/sqm-widget-verification-internal.entry.js +0 -29
  397. package/dist/esm/useEmailVerification-8f2dc2bd.js +0 -152
  398. package/dist/esm-es5/ShadowViewAddon-72e231a5.js +0 -1
  399. package/dist/esm-es5/global-adae7650.js +0 -285
  400. package/dist/esm-es5/index-0c7b14c5.js +0 -1
  401. package/dist/esm-es5/index.module-c0eb7dc2.js +0 -53
  402. package/dist/esm-es5/sqm-banking-info-form_16.entry.js +0 -1
  403. package/dist/esm-es5/sqm-code-verification.entry.js +0 -1
  404. package/dist/esm-es5/sqm-invoice-table-view-663674f2.js +0 -1
  405. package/dist/esm-es5/sqm-widget-verification-internal.entry.js +0 -1
  406. package/dist/esm-es5/useChildElements-fe94b660.js +0 -1
  407. package/dist/esm-es5/useEmailVerification-8f2dc2bd.js +0 -1
  408. package/dist/esm-es5/useReferralTable-52008143.js +0 -1
  409. package/dist/esm-es5/useRegistrationFormState-4cfd1a8d.js +0 -1
  410. package/dist/mint-components/p-0078bc76.system.js +0 -53
  411. package/dist/mint-components/p-18399da0.system.entry.js +0 -1
  412. package/dist/mint-components/p-1f02e20b.entry.js +0 -1
  413. package/dist/mint-components/p-253c87e1.system.entry.js +0 -1
  414. package/dist/mint-components/p-25a70095.system.entry.js +0 -1
  415. package/dist/mint-components/p-2632464d.entry.js +0 -1
  416. package/dist/mint-components/p-286190c4.system.entry.js +0 -1
  417. package/dist/mint-components/p-414b3b6c.system.entry.js +0 -1
  418. package/dist/mint-components/p-4185f6f5.system.entry.js +0 -1
  419. package/dist/mint-components/p-4d060f15.js +0 -1
  420. package/dist/mint-components/p-52241ba9.system.js +0 -1
  421. package/dist/mint-components/p-556753b2.js +0 -42
  422. package/dist/mint-components/p-55dcb6ff.system.js +0 -1
  423. package/dist/mint-components/p-65de8fb2.js +0 -1
  424. package/dist/mint-components/p-6cae44d7.js +0 -1
  425. package/dist/mint-components/p-6eede6e5.system.entry.js +0 -1
  426. package/dist/mint-components/p-6fbfd683.js +0 -1
  427. package/dist/mint-components/p-78c1bd77.system.js +0 -1
  428. package/dist/mint-components/p-7c4c727c.system.entry.js +0 -1
  429. package/dist/mint-components/p-7e5f0292.system.entry.js +0 -1
  430. package/dist/mint-components/p-832eba3a.entry.js +0 -1
  431. package/dist/mint-components/p-858a87ce.entry.js +0 -1
  432. package/dist/mint-components/p-89669879.system.js +0 -1
  433. package/dist/mint-components/p-8b7d2f44.entry.js +0 -1
  434. package/dist/mint-components/p-8d696fc9.entry.js +0 -189
  435. package/dist/mint-components/p-8da20810.entry.js +0 -240
  436. package/dist/mint-components/p-8defb972.system.entry.js +0 -1
  437. package/dist/mint-components/p-99a09fab.entry.js +0 -9
  438. package/dist/mint-components/p-9cdaa099.entry.js +0 -1
  439. package/dist/mint-components/p-a80c8f5c.system.js +0 -1
  440. package/dist/mint-components/p-a9487844.system.entry.js +0 -1
  441. package/dist/mint-components/p-b28df069.js +0 -1
  442. package/dist/mint-components/p-b4771476.entry.js +0 -1
  443. package/dist/mint-components/p-c9ca8473.system.entry.js +0 -1
  444. package/dist/mint-components/p-cac64545.system.entry.js +0 -1
  445. package/dist/mint-components/p-d3293ac3.entry.js +0 -11
  446. package/dist/mint-components/p-d4138847.system.entry.js +0 -1
  447. package/dist/mint-components/p-d70bfe30.entry.js +0 -8
  448. package/dist/mint-components/p-d7b701a7.entry.js +0 -1
  449. package/dist/mint-components/p-d90ef1da.system.entry.js +0 -1
  450. package/dist/mint-components/p-e05ff098.system.js +0 -1
  451. package/dist/mint-components/p-e4c3817a.system.entry.js +0 -1
  452. package/dist/mint-components/p-e7797040.entry.js +0 -1
  453. package/dist/mint-components/p-e810da97.entry.js +0 -1
  454. package/dist/mint-components/p-e82eec3c.entry.js +0 -13
  455. package/dist/mint-components/p-e8bfd924.system.entry.js +0 -1
  456. package/dist/mint-components/p-e8fcaaa2.entry.js +0 -13
  457. package/dist/mint-components/p-ef49d744.entry.js +0 -1
  458. package/dist/mint-components/p-f5f0fc0e.entry.js +0 -1
  459. package/dist/mint-components/p-faf019cf.system.js +0 -1
  460. package/dist/mint-components/p-fcb224ab.js +0 -25
  461. package/dist/mint-components/p-fe8e1071.entry.js +0 -1
  462. package/dist/types/components/sqm-widget-verification/sqm-widget-verification-internal.d.ts +0 -5
  463. package/dist/types/components/sqm-widget-verification/useWidgetVerification.d.ts +0 -1
@@ -2,23 +2,26 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index$1 = require('./index-b0129cd6.js');
6
- const stencilHooks_module = require('./stencil-hooks.module-a5a04d8a.js');
7
- const global = require('./global-e4ebdbcc.js');
8
- const index_module = require('./index.module-236d0403.js');
5
+ const index = require('./index-b0129cd6.js');
6
+ const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
7
+ const global = require('./global-c3637175.js');
8
+ const index_module = require('./index.module-b8d9d0ba.js');
9
+ const jsonpointer = require('./jsonpointer-11327262.js');
9
10
  const cjs = require('./cjs-1066ec21.js');
10
- require('./mixins-fe9d4112.js');
11
+ const mixins = require('./mixins-fe9d4112.js');
11
12
  const JSS = require('./JSS-8503a151.js');
12
13
  const GenericTableView = require('./GenericTableView-80d7642e.js');
13
- const reRender = require('./re-render-5de6631a.js');
14
- const useChildElements = require('./useChildElements-23beb180.js');
15
- const luxon = require('./luxon-20eafbd9.js');
16
- const index = require('./index-56d1fa5b.js');
17
- const useReferralTable = require('./useReferralTable-54d0ba70.js');
14
+ const reRender = require('./re-render-5bde3d2e.js');
15
+ const useChildElements = require('./useChildElements-410d2435.js');
16
+ const luxon = require('./luxon-05098e19.js');
17
+ const useReferralTable = require('./useReferralTable-824ac152.js');
18
18
  const utils = require('./utils-6847bc06.js');
19
- const jsonpointer = require('./jsonpointer-11327262.js');
20
- const sqmInvoiceTableView = require('./sqm-invoice-table-view-dbba9bb4.js');
19
+ const sqmTextSpanView = require('./sqm-text-span-view-e1cd9bd3.js');
20
+ const sqmInvoiceTableView = require('./sqm-invoice-table-view-4fcf021f.js');
21
21
  const keys = require('./keys-cff24974.js');
22
+ const extractProps = require('./extractProps-fd93ba62.js');
23
+ const usePayoutStatus = require('./usePayoutStatus-8f924372.js');
24
+ const useVerificationEmail = require('./useVerificationEmail-2eb28c2a.js');
22
25
 
23
26
  const TAX_CONTEXT_NAMESPACE = "sq:tax-and-cash";
24
27
  const TAX_FORM_CONTEXT_NAMESPACE = "sq:tax-form-context";
@@ -30,7 +33,7 @@ const SORTED_COUNTRIES_NAMESPACE = "sq:countries:sorted";
30
33
  const COUNTRIES_QUERY_NAMESPACE = "sq:countries:query";
31
34
  const CURRENCIES_NAMESPACE = "sq:currencies:list";
32
35
  const CURRENCIES_QUERY_NAMESPACE = "sq:currencies:query";
33
- const GET_USER = index.dist.gql `
36
+ const GET_USER = index_module.dist.gql `
34
37
  query getUserTaxInfo {
35
38
  user: viewer {
36
39
  ... on User {
@@ -40,6 +43,11 @@ const GET_USER = index.dist.gql `
40
43
  email
41
44
  countryCode
42
45
  customFields
46
+ managedIdentity {
47
+ uid
48
+ email
49
+ emailVerified
50
+ }
43
51
  impactConnection {
44
52
  connected
45
53
  user {
@@ -83,6 +91,7 @@ const GET_USER = index.dist.gql `
83
91
  }
84
92
  payoutsAccount {
85
93
  hold
94
+ holdReasons
86
95
  balance
87
96
  }
88
97
  }
@@ -91,7 +100,7 @@ const GET_USER = index.dist.gql `
91
100
  }
92
101
  }
93
102
  `;
94
- const GET_COUNTRIES = index.dist.gql `
103
+ const GET_COUNTRIES = index_module.dist.gql `
95
104
  query getCountries {
96
105
  impactPayoutCountries(limit: 1000) {
97
106
  data {
@@ -101,7 +110,7 @@ const GET_COUNTRIES = index.dist.gql `
101
110
  }
102
111
  }
103
112
  `;
104
- const GET_CURRENCIES = index.dist.gql `
113
+ const GET_CURRENCIES = index_module.dist.gql `
105
114
  query currencies($locale: RSLocale) {
106
115
  currencies(limit: 300) {
107
116
  data {
@@ -111,7 +120,7 @@ const GET_CURRENCIES = index.dist.gql `
111
120
  }
112
121
  }
113
122
  `;
114
- const GET_FINANCE_NETWORK_SETTINGS = index.dist.gql `
123
+ const GET_FINANCE_NETWORK_SETTINGS = index_module.dist.gql `
115
124
  query impactFinanceNetworkSettings(
116
125
  $filter: ImpactFinanceNetworkSettingsFilterInput
117
126
  ) {
@@ -137,7 +146,7 @@ function getFormMap({ props, getValidationErrorMessage, bankCountry, }) {
137
146
  const { errors, ...formState } = props.states.formState;
138
147
  return {
139
148
  0: {
140
- input: (index$1.h("sl-input", Object.assign({ required: true, label: props.text.beneficiaryAccountNameLabel, name: "/beneficiaryAccountName", id: "beneficiaryAccountName", key: "beneficiaryAccountName", type: "text" }, (((_a = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _a === void 0 ? void 0 : _a.beneficiaryAccountName) && {
149
+ input: (index.h("sl-input", Object.assign({ required: true, label: props.text.beneficiaryAccountNameLabel, name: "/beneficiaryAccountName", id: "beneficiaryAccountName", key: "beneficiaryAccountName", type: "text" }, (((_a = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _a === void 0 ? void 0 : _a.beneficiaryAccountName) && {
141
150
  class: "error-input",
142
151
  helpText: getValidationErrorMessage({
143
152
  type: (_c = (_b = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _b === void 0 ? void 0 : _b.beneficiaryAccountName) === null || _c === void 0 ? void 0 : _c.type,
@@ -146,18 +155,18 @@ function getFormMap({ props, getValidationErrorMessage, bankCountry, }) {
146
155
  })))),
147
156
  },
148
157
  1: {
149
- input: (index$1.h("sl-select", Object.assign({ required: true, label: props.text.bankAccountTypeLabel, name: "/bankAccountType", id: "bankAccountType", key: "bankAccountType" }, (((_d = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _d === void 0 ? void 0 : _d.bankAccountType) && {
158
+ input: (index.h("sl-select", Object.assign({ required: true, label: props.text.bankAccountTypeLabel, name: "/bankAccountType", id: "bankAccountType", key: "bankAccountType" }, (((_d = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _d === void 0 ? void 0 : _d.bankAccountType) && {
150
159
  class: "error-input",
151
160
  helpText: getValidationErrorMessage({
152
161
  type: (_f = (_e = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _e === void 0 ? void 0 : _e.bankAccountType) === null || _f === void 0 ? void 0 : _f.type,
153
162
  label: props.text.bankAccountTypeLabel,
154
163
  }),
155
164
  })),
156
- index$1.h("sl-menu-item", { value: "CHECKING" }, props.text.checkingSelectItemLabel),
157
- index$1.h("sl-menu-item", { value: "SAVINGS" }, props.text.savingsSelectItemLabel))),
165
+ index.h("sl-menu-item", { value: "CHECKING" }, props.text.checkingSelectItemLabel),
166
+ index.h("sl-menu-item", { value: "SAVINGS" }, props.text.savingsSelectItemLabel))),
158
167
  },
159
168
  2: {
160
- input: (index$1.h("sl-input", Object.assign({ required: true, label: props.text.bankAccountNumberLabel, name: "/bankAccountNumber", id: "bankAccountNumber", key: "bankAccountNumber", value: formState.bankAccountNumber, type: "text" }, (((_g = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _g === void 0 ? void 0 : _g.bankAccountNumber) && {
169
+ input: (index.h("sl-input", Object.assign({ required: true, label: props.text.bankAccountNumberLabel, name: "/bankAccountNumber", id: "bankAccountNumber", key: "bankAccountNumber", value: formState.bankAccountNumber, type: "text" }, (((_g = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _g === void 0 ? void 0 : _g.bankAccountNumber) && {
161
170
  class: "error-input",
162
171
  helpText: getValidationErrorMessage({
163
172
  type: (_j = (_h = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _h === void 0 ? void 0 : _h.bankAccountNumber) === null || _j === void 0 ? void 0 : _j.type,
@@ -166,7 +175,7 @@ function getFormMap({ props, getValidationErrorMessage, bankCountry, }) {
166
175
  })))),
167
176
  },
168
177
  3: {
169
- input: (index$1.h("sl-input", Object.assign({ required: true, label: props.text.ibanLabel, name: "/bankAccountNumber", id: "iban", key: "iban", type: "text", value: formState.bankAccountNumber }, (((_k = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _k === void 0 ? void 0 : _k.bankAccountNumber) && {
178
+ input: (index.h("sl-input", Object.assign({ required: true, label: props.text.ibanLabel, name: "/bankAccountNumber", id: "iban", key: "iban", type: "text", value: formState.bankAccountNumber }, (((_k = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _k === void 0 ? void 0 : _k.bankAccountNumber) && {
170
179
  class: "error-input",
171
180
  helpText: getValidationErrorMessage({
172
181
  type: (_m = (_l = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _l === void 0 ? void 0 : _l.bankAccountNumber) === null || _m === void 0 ? void 0 : _m.type,
@@ -175,7 +184,7 @@ function getFormMap({ props, getValidationErrorMessage, bankCountry, }) {
175
184
  })))),
176
185
  },
177
186
  4: {
178
- input: (index$1.h("sl-input", Object.assign({ required: true, label: props.text.swiftCodeLabel, name: "/swiftCode", id: "swiftCode", key: "swiftCode", type: "text" }, (((_o = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _o === void 0 ? void 0 : _o.swiftCode) && {
187
+ input: (index.h("sl-input", Object.assign({ required: true, label: props.text.swiftCodeLabel, name: "/swiftCode", id: "swiftCode", key: "swiftCode", type: "text" }, (((_o = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _o === void 0 ? void 0 : _o.swiftCode) && {
179
188
  class: "error-input",
180
189
  helpText: getValidationErrorMessage({
181
190
  type: (_q = (_p = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _p === void 0 ? void 0 : _p.swiftCode) === null || _q === void 0 ? void 0 : _q.type,
@@ -184,7 +193,7 @@ function getFormMap({ props, getValidationErrorMessage, bankCountry, }) {
184
193
  })))),
185
194
  },
186
195
  5: {
187
- input: (index$1.h("sl-input", Object.assign({ required: true, label: global.intl.formatMessage({
196
+ input: (index.h("sl-input", Object.assign({ required: true, label: global.intl.formatMessage({
188
197
  id: "routingCodeText",
189
198
  defaultMessage: props.text.routingCodeLabel,
190
199
  }, {
@@ -203,7 +212,7 @@ function getFormMap({ props, getValidationErrorMessage, bankCountry, }) {
203
212
  })))),
204
213
  },
205
214
  6: {
206
- input: (index$1.h("sl-input", Object.assign({ required: true, label: props.text.bankNameLabel, name: "/bankName", id: "bankName", key: "bankName", type: "text" }, (((_u = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _u === void 0 ? void 0 : _u.bankName) && {
215
+ input: (index.h("sl-input", Object.assign({ required: true, label: props.text.bankNameLabel, name: "/bankName", id: "bankName", key: "bankName", type: "text" }, (((_u = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _u === void 0 ? void 0 : _u.bankName) && {
207
216
  class: "error-input",
208
217
  helpText: getValidationErrorMessage({
209
218
  type: (_w = (_v = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _v === void 0 ? void 0 : _v.bankName) === null || _w === void 0 ? void 0 : _w.type,
@@ -213,17 +222,17 @@ function getFormMap({ props, getValidationErrorMessage, bankCountry, }) {
213
222
  },
214
223
  7: {
215
224
  input: [
216
- index$1.h("sl-select", Object.assign({ required: true, label: props.text.classificationLabel, name: "/beneficiaryClassification", id: "beneficiaryClassification", key: "beneficiaryClassification" }, (((_x = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _x === void 0 ? void 0 : _x.beneficiaryClassification) && {
225
+ index.h("sl-select", Object.assign({ required: true, label: props.text.classificationLabel, name: "/beneficiaryClassification", id: "beneficiaryClassification", key: "beneficiaryClassification" }, (((_x = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _x === void 0 ? void 0 : _x.beneficiaryClassification) && {
217
226
  class: "error-input",
218
227
  helpText: getValidationErrorMessage({
219
228
  type: (_z = (_y = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _y === void 0 ? void 0 : _y.beneficiaryClassification) === null || _z === void 0 ? void 0 : _z.type,
220
229
  label: props.text.classificationLabel,
221
230
  }),
222
231
  })),
223
- index$1.h("sl-menu-item", { value: "BUSINESS" }, props.text.businessSelectItemLabel),
224
- index$1.h("sl-menu-item", { value: "INDIVIDUAL" }, props.text.individualSelectItemLabel),
225
- index$1.h("sl-menu-item", { value: "FOREIGN" }, props.text.foreignSelectItemLabel)),
226
- index$1.h("sl-input", Object.assign({ required: true, label: global.intl.formatMessage({
232
+ index.h("sl-menu-item", { value: "BUSINESS" }, props.text.businessSelectItemLabel),
233
+ index.h("sl-menu-item", { value: "INDIVIDUAL" }, props.text.individualSelectItemLabel),
234
+ index.h("sl-menu-item", { value: "FOREIGN" }, props.text.foreignSelectItemLabel)),
235
+ index.h("sl-input", Object.assign({ required: true, label: global.intl.formatMessage({
227
236
  id: "fxWireText",
228
237
  defaultMessage: props.text.taxPayerIdLabel,
229
238
  }, {
@@ -238,18 +247,18 @@ function getFormMap({ props, getValidationErrorMessage, bankCountry, }) {
238
247
  ],
239
248
  },
240
249
  8: {
241
- input: (index$1.h("sl-select", Object.assign({ required: true, label: props.text.classificationCPFLabel, name: "/beneficiaryClassification", id: "beneficiaryClassification", key: "beneficiaryClassification" }, (((_3 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _3 === void 0 ? void 0 : _3.beneficiaryClassification) && {
250
+ input: (index.h("sl-select", Object.assign({ required: true, label: props.text.classificationCPFLabel, name: "/beneficiaryClassification", id: "beneficiaryClassification", key: "beneficiaryClassification" }, (((_3 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _3 === void 0 ? void 0 : _3.beneficiaryClassification) && {
242
251
  class: "error-input",
243
252
  helpText: getValidationErrorMessage({
244
253
  type: (_5 = (_4 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _4 === void 0 ? void 0 : _4.beneficiaryClassification) === null || _5 === void 0 ? void 0 : _5.type,
245
254
  label: props.text.classificationCPFLabel,
246
255
  }),
247
256
  })),
248
- index$1.h("sl-menu-item", { value: "CPF" }, "CPF"),
249
- index$1.h("sl-menu-item", { value: "CNPJ" }, "CNPJ"))),
257
+ index.h("sl-menu-item", { value: "CPF" }, "CPF"),
258
+ index.h("sl-menu-item", { value: "CNPJ" }, "CNPJ"))),
250
259
  },
251
260
  9: {
252
- input: (index$1.h("sl-input", Object.assign({ key: "patronymicName", required: true, label: props.text.patronymicNameLabel, name: "/patronymicName", id: "patronymicName", type: "text" }, (((_6 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _6 === void 0 ? void 0 : _6.patronymicName) && {
261
+ input: (index.h("sl-input", Object.assign({ key: "patronymicName", required: true, label: props.text.patronymicNameLabel, name: "/patronymicName", id: "patronymicName", type: "text" }, (((_6 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _6 === void 0 ? void 0 : _6.patronymicName) && {
253
262
  class: "error-input",
254
263
  helpText: getValidationErrorMessage({
255
264
  type: (_8 = (_7 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _7 === void 0 ? void 0 : _7.patronymicName) === null || _8 === void 0 ? void 0 : _8.type,
@@ -258,7 +267,7 @@ function getFormMap({ props, getValidationErrorMessage, bankCountry, }) {
258
267
  })))),
259
268
  },
260
269
  10: {
261
- input: (index$1.h("sl-input", Object.assign({ key: "voCode", label: props.text.voCodeLabel, name: "/voCode", id: "voCode", type: "text" }, (((_9 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _9 === void 0 ? void 0 : _9.voCode) && {
270
+ input: (index.h("sl-input", Object.assign({ key: "voCode", label: props.text.voCodeLabel, name: "/voCode", id: "voCode", type: "text" }, (((_9 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _9 === void 0 ? void 0 : _9.voCode) && {
262
271
  class: "error-input",
263
272
  helpText: getValidationErrorMessage({
264
273
  type: (_11 = (_10 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _10 === void 0 ? void 0 : _10.voCode) === null || _11 === void 0 ? void 0 : _11.type,
@@ -267,7 +276,7 @@ function getFormMap({ props, getValidationErrorMessage, bankCountry, }) {
267
276
  })))),
268
277
  },
269
278
  11: {
270
- input: (index$1.h("sl-input", Object.assign({ required: true, label: props.text.agencyCodeLabel, name: "/agencyCode", id: "agencyCode", key: "agencyCode", type: "text" }, (((_12 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _12 === void 0 ? void 0 : _12.agencyCode) && {
279
+ input: (index.h("sl-input", Object.assign({ required: true, label: props.text.agencyCodeLabel, name: "/agencyCode", id: "agencyCode", key: "agencyCode", type: "text" }, (((_12 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _12 === void 0 ? void 0 : _12.agencyCode) && {
271
280
  class: "error-input",
272
281
  helpText: getValidationErrorMessage({
273
282
  type: (_14 = (_13 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _13 === void 0 ? void 0 : _13.agencyCode) === null || _14 === void 0 ? void 0 : _14.type,
@@ -277,28 +286,28 @@ function getFormMap({ props, getValidationErrorMessage, bankCountry, }) {
277
286
  },
278
287
  12: {
279
288
  input: [
280
- index$1.h("sl-input", Object.assign({ required: true, label: props.text.bankAddressLabel, name: "/bankAddress", id: "bankAddress", key: "bankAddress", type: "text" }, (((_15 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _15 === void 0 ? void 0 : _15.bankAddress) && {
289
+ index.h("sl-input", Object.assign({ required: true, label: props.text.bankAddressLabel, name: "/bankAddress", id: "bankAddress", key: "bankAddress", type: "text" }, (((_15 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _15 === void 0 ? void 0 : _15.bankAddress) && {
281
290
  class: "error-input",
282
291
  helpText: getValidationErrorMessage({
283
292
  type: (_17 = (_16 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _16 === void 0 ? void 0 : _16.bankAddress) === null || _17 === void 0 ? void 0 : _17.type,
284
293
  label: props.text.bankAddressLabel,
285
294
  }),
286
295
  }))),
287
- index$1.h("sl-input", Object.assign({ required: true, label: props.text.bankCityLabel, name: "/bankCity", id: "bankCity", key: "bankCity", type: "text" }, (((_18 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _18 === void 0 ? void 0 : _18.bankCity) && {
296
+ index.h("sl-input", Object.assign({ required: true, label: props.text.bankCityLabel, name: "/bankCity", id: "bankCity", key: "bankCity", type: "text" }, (((_18 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _18 === void 0 ? void 0 : _18.bankCity) && {
288
297
  class: "error-input",
289
298
  helpText: getValidationErrorMessage({
290
299
  type: (_20 = (_19 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _19 === void 0 ? void 0 : _19.bankCity) === null || _20 === void 0 ? void 0 : _20.type,
291
300
  label: props.text.bankCityLabel,
292
301
  }),
293
302
  }))),
294
- index$1.h("sl-input", Object.assign({ required: true, label: props.text.bankStateLabel, name: "/bankState", id: "bankState", key: "bankState", type: "text" }, (((_21 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _21 === void 0 ? void 0 : _21.bankState) && {
303
+ index.h("sl-input", Object.assign({ required: true, label: props.text.bankStateLabel, name: "/bankState", id: "bankState", key: "bankState", type: "text" }, (((_21 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _21 === void 0 ? void 0 : _21.bankState) && {
295
304
  class: "error-input",
296
305
  helpText: getValidationErrorMessage({
297
306
  type: (_23 = (_22 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _22 === void 0 ? void 0 : _22.bankState) === null || _23 === void 0 ? void 0 : _23.type,
298
307
  label: props.text.bankStateLabel,
299
308
  }),
300
309
  }))),
301
- index$1.h("sl-input", Object.assign({ required: true, label: props.text.bankPostalCodeLabel, name: "/bankPostalCode", id: "bankPostalCode", key: "bankPostalCode", type: "text" }, (((_24 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _24 === void 0 ? void 0 : _24.bankPostalCode) && {
310
+ index.h("sl-input", Object.assign({ required: true, label: props.text.bankPostalCodeLabel, name: "/bankPostalCode", id: "bankPostalCode", key: "bankPostalCode", type: "text" }, (((_24 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _24 === void 0 ? void 0 : _24.bankPostalCode) && {
302
311
  class: "error-input",
303
312
  helpText: getValidationErrorMessage({
304
313
  type: (_26 = (_25 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _25 === void 0 ? void 0 : _25.bankPostalCode) === null || _26 === void 0 ? void 0 : _26.type,
@@ -308,7 +317,7 @@ function getFormMap({ props, getValidationErrorMessage, bankCountry, }) {
308
317
  ],
309
318
  },
310
319
  13: {
311
- input: (index$1.h("sl-input", Object.assign({ required: true, label: props.text.branchCodeLabel, name: "/branchCode", id: "branchCode", key: "branchCode", type: "text" }, (((_27 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _27 === void 0 ? void 0 : _27.branchCode) && {
320
+ input: (index.h("sl-input", Object.assign({ required: true, label: props.text.branchCodeLabel, name: "/branchCode", id: "branchCode", key: "branchCode", type: "text" }, (((_27 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _27 === void 0 ? void 0 : _27.branchCode) && {
312
321
  class: "error-input",
313
322
  helpText: getValidationErrorMessage({
314
323
  type: (_29 = (_28 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _28 === void 0 ? void 0 : _28.branchCode) === null || _29 === void 0 ? void 0 : _29.type,
@@ -317,16 +326,16 @@ function getFormMap({ props, getValidationErrorMessage, bankCountry, }) {
317
326
  })))),
318
327
  },
319
328
  14: {
320
- input: (index$1.h("sl-select", Object.assign({ required: true, label: props.text.classificationLabel, name: "/beneficiaryClassification", id: "beneficiaryClassification", key: "beneficiaryClassification" }, (((_30 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _30 === void 0 ? void 0 : _30.beneficiaryClassification) && {
329
+ input: (index.h("sl-select", Object.assign({ required: true, label: props.text.classificationLabel, name: "/beneficiaryClassification", id: "beneficiaryClassification", key: "beneficiaryClassification" }, (((_30 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _30 === void 0 ? void 0 : _30.beneficiaryClassification) && {
321
330
  class: "error-input",
322
331
  helpText: getValidationErrorMessage({
323
332
  type: (_32 = (_31 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _31 === void 0 ? void 0 : _31.beneficiaryClassification) === null || _32 === void 0 ? void 0 : _32.type,
324
333
  label: props.text.classificationLabel,
325
334
  }),
326
335
  })),
327
- index$1.h("sl-menu-item", { value: "BUSINESS" }, props.text.businessSelectItemLabel),
328
- index$1.h("sl-menu-item", { value: "INDIVIDUAL" }, props.text.individualSelectItemLabel),
329
- index$1.h("sl-menu-item", { value: "FOREIGN" }, props.text.foreignSelectItemLabel))),
336
+ index.h("sl-menu-item", { value: "BUSINESS" }, props.text.businessSelectItemLabel),
337
+ index.h("sl-menu-item", { value: "INDIVIDUAL" }, props.text.individualSelectItemLabel),
338
+ index.h("sl-menu-item", { value: "FOREIGN" }, props.text.foreignSelectItemLabel))),
330
339
  },
331
340
  };
332
341
  }
@@ -824,80 +833,90 @@ const BankingInfoFormView = (props) => {
824
833
  gap: "8px",
825
834
  };
826
835
  if (checkedValue === undefined) {
827
- return (index$1.h("div", { style: { ...flexBoxStyle, flexDirection: "column", gap: "16px" } },
828
- index$1.h("div", { class: classes.SmallSkeleton }),
829
- index$1.h("div", { style: { ...flexBoxStyle, flexDirection: "row" } },
830
- index$1.h("div", { class: classes.CheckboxSkeleton }),
831
- index$1.h("div", { class: classes.SmallSkeleton })),
832
- index$1.h("div", { style: { ...flexBoxStyle, flexDirection: "row" } },
833
- index$1.h("div", { class: classes.CheckboxSkeleton }),
834
- index$1.h("div", { class: classes.SmallSkeleton }))));
836
+ return (index.h("div", { style: { ...flexBoxStyle, flexDirection: "column", gap: "16px" } },
837
+ index.h("div", { class: classes.SmallSkeleton }),
838
+ index.h("div", { style: { ...flexBoxStyle, flexDirection: "row" } },
839
+ index.h("div", { class: classes.CheckboxSkeleton }),
840
+ index.h("div", { class: classes.SmallSkeleton })),
841
+ index.h("div", { style: { ...flexBoxStyle, flexDirection: "row" } },
842
+ index.h("div", { class: classes.CheckboxSkeleton }),
843
+ index.h("div", { class: classes.SmallSkeleton }))));
835
844
  }
836
845
  if (checkedValue === "toPayPalAccount") {
837
- return (index$1.h("div", { style: { ...flexBoxStyle, flexDirection: "column" } },
838
- index$1.h("div", { class: classes.SmallSkeleton }),
839
- index$1.h("div", { class: classes.LargeSkeleton })));
846
+ return (index.h("div", { style: { ...flexBoxStyle, flexDirection: "column" } },
847
+ index.h("div", { class: classes.SmallSkeleton }),
848
+ index.h("div", { class: classes.LargeSkeleton })));
840
849
  }
841
- const skeletons = inputNumArray.map((_, idx) => (index$1.h("div", { style: { ...flexBoxStyle, flexDirection: "column" }, key: idx },
842
- index$1.h("div", { class: classes.SmallSkeleton }),
843
- index$1.h("div", { class: classes.LargeSkeleton }))));
850
+ const skeletons = inputNumArray.map((_, idx) => (index.h("div", { style: { ...flexBoxStyle, flexDirection: "column" }, key: idx },
851
+ index.h("div", { class: classes.SmallSkeleton }),
852
+ index.h("div", { class: classes.LargeSkeleton }))));
844
853
  return skeletons;
845
854
  };
846
- return (index$1.h("sl-form", { class: classes.FormWrapper, "onSl-submit": callbacks.onSubmit, ref: (el) => (refs.formRef.current = el), novalidate: true },
847
- index$1.h("style", { type: "text/css" },
855
+ return (index.h("sl-form", { class: classes.FormWrapper, "onSl-submit": callbacks.onSubmit, ref: (el) => (refs.formRef.current = el), novalidate: true },
856
+ index.h("style", { type: "text/css" },
848
857
  styleString,
849
858
  vanillaStyle),
850
- index$1.h("div", { class: classes.TextContainer },
851
- index$1.h("div", null,
852
- !states.hideSteps && (index$1.h("p", null, global.intl.formatMessage({
859
+ index.h("div", { class: classes.TextContainer },
860
+ index.h("div", null,
861
+ !states.hideSteps && (index.h("p", null, global.intl.formatMessage({
853
862
  id: "formStep",
854
863
  defaultMessage: text.formStep,
855
864
  }, { step: states.step, count: FORM_STEPS }))),
856
- index$1.h("h3", { style: { fontSize: "24px" } }, text.taxAndPayouts),
857
- index$1.h("p", { class: classes.PageDescriptionText }, text.taxAndPayoutsDescription)),
858
- ((_a = formState.errors) === null || _a === void 0 ? void 0 : _a.general) && (index$1.h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "warning", open: true, class: sheet.classes.AlertContainer },
859
- index$1.h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
860
- index$1.h("strong", null, text.error.generalTitle),
861
- index$1.h("br", null),
862
- text.error.generalDescription)),
863
- states.isPartner && !states.hideSteps && (index$1.h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "primary", open: true, class: sheet.classes.PartnerAlertContainer },
864
- index$1.h("sl-icon", { slot: "icon", name: "info-circle" }),
865
- index$1.h("strong", null, text.isPartnerAlertHeader),
866
- index$1.h("br", null),
867
- text.isPartnerAlertDescription)),
868
- index$1.h("div", null,
869
- index$1.h("h4", null, text.paymentMethod),
870
- index$1.h("p", { class: classes.DescriptionText }, text.paymentMethodSubtext))),
871
- index$1.h("div", null,
872
- index$1.h("div", { class: classes.CheckboxContainer }, states.loading && formState.paymentMethodChecked === undefined ? (getLoadingSkeleton(undefined)) : (index$1.h("div", { class: classes.RadioContainer },
873
- states.hasPayPal && (index$1.h("sl-radio", { class: classes.Checkbox, exportparts: "label: input-label, base: input-base", checked: formState.paymentMethodChecked === "toBankAccount", onInput: () => callbacks.setPaymentMethodChecked("toBankAccount"), disabled: states.disabled, id: "toBankAccount", name: "/toBankAccount" }, text.directlyToBankAccount)),
874
- formState.paymentMethodChecked === "toBankAccount" && (index$1.h("div", { class: classes.InputContainer, style: states.hideBanking ? { display: "none" } : {} }, states.loading
865
+ index.h("h3", { style: { fontSize: "24px" } }, text.taxAndPayouts),
866
+ index.h("p", { class: classes.PageDescriptionText }, text.taxAndPayoutsDescription)),
867
+ ((_a = formState.errors) === null || _a === void 0 ? void 0 : _a.general) && (index.h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "warning", open: true, class: sheet.classes.AlertContainer },
868
+ index.h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
869
+ index.h("strong", null, text.error.generalTitle),
870
+ index.h("br", null),
871
+ global.intl.formatMessage({
872
+ id: "generalDescription",
873
+ defaultMessage: text.error.generalDescription,
874
+ }, {
875
+ supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
876
+ }))),
877
+ states.isPartner && !states.hideSteps && (index.h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "primary", open: true, class: sheet.classes.PartnerAlertContainer },
878
+ index.h("sl-icon", { slot: "icon", name: "info-circle" }),
879
+ index.h("strong", null, text.isPartnerAlertHeader),
880
+ index.h("br", null),
881
+ global.intl.formatMessage({
882
+ id: "isPartnerAlertDescription",
883
+ defaultMessage: text.isPartnerAlertDescription,
884
+ }, {
885
+ supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
886
+ }))),
887
+ index.h("div", null,
888
+ index.h("h4", null, text.paymentMethod),
889
+ index.h("p", { class: classes.DescriptionText }, text.paymentMethodSubtext))),
890
+ index.h("div", null,
891
+ index.h("div", { class: classes.CheckboxContainer }, states.loading && formState.paymentMethodChecked === undefined ? (getLoadingSkeleton(undefined)) : (index.h("div", { class: classes.RadioContainer },
892
+ states.hasPayPal && (index.h("sl-radio", { class: classes.Checkbox, exportparts: "label: input-label, base: input-base", checked: formState.paymentMethodChecked === "toBankAccount", onInput: () => callbacks.setPaymentMethodChecked("toBankAccount"), disabled: states.disabled, id: "toBankAccount", name: "/toBankAccount" }, text.directlyToBankAccount)),
893
+ formState.paymentMethodChecked === "toBankAccount" && (index.h("div", { class: classes.InputContainer, style: states.hideBanking ? { display: "none" } : {} }, states.loading
875
894
  ? getLoadingSkeleton("toBankAccount", slots.formInputsSlot.length + 3)
876
895
  : [
877
896
  slots.countryInputSlot,
878
897
  slots.paymentMethodSlot,
879
898
  slots.formInputsSlot,
880
899
  ])),
881
- states.hasPayPal && (index$1.h("sl-radio", { class: classes.Checkbox, exportparts: "label: input-label, base: input-base", checked: formState.paymentMethodChecked === "toPayPalAccount", onInput: () => callbacks.setPaymentMethodChecked("toPayPalAccount"), disabled: states.disabled, id: "toPayPalAccount", name: "/toPayPalAccount" }, global.intl.formatMessage({
900
+ states.hasPayPal && (index.h("sl-radio", { class: classes.Checkbox, exportparts: "label: input-label, base: input-base", checked: formState.paymentMethodChecked === "toPayPalAccount", onInput: () => callbacks.setPaymentMethodChecked("toPayPalAccount"), disabled: states.disabled, id: "toPayPalAccount", name: "/toPayPalAccount" }, global.intl.formatMessage({
882
901
  id: "paypal-input-label",
883
902
  defaultMessage: text.toPayPalAccount,
884
903
  }, { feeCap: states.feeCap }))),
885
- formState.paymentMethodChecked === "toPayPalAccount" && (index$1.h("div", { class: classes.InputContainer, style: states.hidePayPal ? { display: "none" } : {} }, states.loading
904
+ formState.paymentMethodChecked === "toPayPalAccount" && (index.h("div", { class: classes.InputContainer, style: states.hidePayPal ? { display: "none" } : {} }, states.loading
886
905
  ? getLoadingSkeleton("toPayPalAccount")
887
906
  : slots.paypalInputSlot)),
888
- index$1.h("div", { style: { paddingTop: "24px", paddingBottom: "12px" } },
889
- index$1.h("h4", null, text.paymentSchedule)),
890
- index$1.h("sl-radio", { class: classes.Checkbox, exportparts: "label: input-label, base: input-base", checked: formState.paymentScheduleChecked === "BALANCE_THRESHOLD", onInput: () => callbacks.setPaymentScheduleChecked("BALANCE_THRESHOLD"), disabled: states.disabled, id: "paymentSchedulingType", name: "/paymentSchedulingType", value: "BALANCE_THRESHOLD" }, text.paymentScheduleBalanceThreshold),
891
- formState.paymentScheduleChecked === "BALANCE_THRESHOLD" && (index$1.h("div", { class: classes.InputContainer, style: states.hideBalanceThreshold ? { display: "none" } : {} }, states.loading
907
+ index.h("div", { style: { paddingTop: "24px", paddingBottom: "12px" } },
908
+ index.h("h4", null, text.paymentSchedule)),
909
+ index.h("sl-radio", { class: classes.Checkbox, exportparts: "label: input-label, base: input-base", checked: formState.paymentScheduleChecked === "BALANCE_THRESHOLD", onInput: () => callbacks.setPaymentScheduleChecked("BALANCE_THRESHOLD"), disabled: states.disabled, id: "paymentSchedulingType", name: "/paymentSchedulingType", value: "BALANCE_THRESHOLD" }, text.paymentScheduleBalanceThreshold),
910
+ formState.paymentScheduleChecked === "BALANCE_THRESHOLD" && (index.h("div", { class: classes.InputContainer, style: states.hideBalanceThreshold ? { display: "none" } : {} }, states.loading
892
911
  ? getLoadingSkeleton("toPayPalAccount")
893
912
  : slots.paymentThresholdSelectSlot)),
894
- index$1.h("sl-radio", { class: classes.Checkbox, exportparts: "label: input-label, base: input-base", checked: formState.paymentScheduleChecked === "FIXED_DAY", onInput: () => callbacks.setPaymentScheduleChecked("FIXED_DAY"), disabled: states.disabled, id: "paymentSchedulingType", name: "/paymentSchedulingType", value: "FIXED_DAY" }, text.paymentScheduleFixedDay),
895
- formState.paymentScheduleChecked === "FIXED_DAY" && (index$1.h("div", { class: classes.InputContainer, style: states.hideFixedDay ? { display: "none" } : {} }, states.loading
913
+ index.h("sl-radio", { class: classes.Checkbox, exportparts: "label: input-label, base: input-base", checked: formState.paymentScheduleChecked === "FIXED_DAY", onInput: () => callbacks.setPaymentScheduleChecked("FIXED_DAY"), disabled: states.disabled, id: "paymentSchedulingType", name: "/paymentSchedulingType", value: "FIXED_DAY" }, text.paymentScheduleFixedDay),
914
+ formState.paymentScheduleChecked === "FIXED_DAY" && (index.h("div", { class: classes.InputContainer, style: states.hideFixedDay ? { display: "none" } : {} }, states.loading
896
915
  ? getLoadingSkeleton("toPayPalAccount")
897
916
  : slots.paymentFixedDaySelectSlot))))),
898
- index$1.h("div", { class: classes.BtnContainer },
899
- index$1.h("sl-button", { type: "primary", disabled: states.disabled || states.saveDisabled, loading: states.saveLoading, submit: true, exportparts: "base: primarybutton-base" }, text.continueButton),
900
- !states.hideBackButton && (index$1.h("sl-button", { exportparts: "base: secondarybutton-base", class: classes.SecondaryBtn, type: "text", onClick: callbacks.onBack }, text.backButton))))));
917
+ index.h("div", { class: classes.BtnContainer },
918
+ index.h("sl-button", { type: "primary", disabled: states.disabled || states.saveDisabled, loading: states.saveLoading, submit: true, exportparts: "base: primarybutton-base" }, text.continueButton),
919
+ !states.hideBackButton && (index.h("sl-button", { exportparts: "base: secondarybutton-base", class: classes.SecondaryBtn, type: "text", onClick: callbacks.onBack }, text.backButton))))));
901
920
  };
902
921
 
903
922
  // Hardcoded in Impact backend
@@ -931,7 +950,7 @@ function getFormInputs({ bitset, formMap }) {
931
950
  }, []);
932
951
  return inputFields;
933
952
  }
934
- const SAVE_WITHDRAWAL_SETTINGS = index.dist.gql `
953
+ const SAVE_WITHDRAWAL_SETTINGS = index_module.dist.gql `
935
954
  mutation setImpactPublisherWithdrawalSettings(
936
955
  $setImpactPublisherWithdrawalSettingsInput: SetImpactPublisherWithdrawalSettingsInput!
937
956
  ) {
@@ -946,7 +965,7 @@ const SAVE_WITHDRAWAL_SETTINGS = index.dist.gql `
946
965
  }
947
966
  }
948
967
  `;
949
- const UPDATE_WITHDRAWAL_SETTINGS = index.dist.gql `
968
+ const UPDATE_WITHDRAWAL_SETTINGS = index_module.dist.gql `
950
969
  mutation updateImpactPublisherWithdrawalSettings(
951
970
  $updateImpactPublisherWithdrawalSettingsInput: UpdateImpactPublisherWithdrawalSettingsInput!
952
971
  ) {
@@ -977,7 +996,7 @@ function parseImpactThreshold(threshold) {
977
996
  return parsed.toString();
978
997
  }
979
998
  function useBankingInfoForm(props) {
980
- var _a, _b, _c, _d, _e, _f, _g, _h;
999
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
981
1000
  const host = index_module.T();
982
1001
  const locale = index_module.Q();
983
1002
  const user = index_module.K();
@@ -1102,6 +1121,8 @@ function useBankingInfoForm(props) {
1102
1121
  // Call difference mutations based on whether the user is updating
1103
1122
  // the info for setting it for the first time
1104
1123
  if (isPartner) {
1124
+ if (!token)
1125
+ return; // Require token for this mutation
1105
1126
  response = await updateWithdrawalSettings({
1106
1127
  updateImpactPublisherWithdrawalSettingsInput: {
1107
1128
  ...body,
@@ -1139,6 +1160,8 @@ function useBankingInfoForm(props) {
1139
1160
  });
1140
1161
  return;
1141
1162
  }
1163
+ // Fire form change event
1164
+ window.dispatchEvent(new Event(usePayoutStatus.TAX_FORM_UPDATED_EVENT_KEY));
1142
1165
  await refetch();
1143
1166
  setStep("/dashboard");
1144
1167
  }
@@ -1183,6 +1206,12 @@ function useBankingInfoForm(props) {
1183
1206
  }
1184
1207
  await runMutation(formData, token);
1185
1208
  };
1209
+ const onVerification = async (token) => {
1210
+ host.dispatchEvent(new CustomEvent(keys.VERIFICATION_EVENT_KEY, {
1211
+ detail: { token },
1212
+ bubbles: false,
1213
+ }));
1214
+ };
1186
1215
  function setPaymentMethodChecked(paymentMethod) {
1187
1216
  _setPaymentMethodChecked(paymentMethod);
1188
1217
  if (paymentMethod === "toPayPalAccount") {
@@ -1207,6 +1236,8 @@ function useBankingInfoForm(props) {
1207
1236
  setPaymentScheduleChecked,
1208
1237
  onBack: () => setStep("/dashboard"),
1209
1238
  setCountrySearch,
1239
+ onVerification,
1240
+ onVerificationHide: () => onVerification(null),
1210
1241
  },
1211
1242
  states: {
1212
1243
  showVerification,
@@ -1239,6 +1270,7 @@ function useBankingInfoForm(props) {
1239
1270
  hasPayPal,
1240
1271
  bankCountry: formState.bankCountry,
1241
1272
  countrySearch,
1273
+ email: (_j = userData === null || userData === void 0 ? void 0 : userData.user) === null || _j === void 0 ? void 0 : _j.email,
1242
1274
  },
1243
1275
  refs: {
1244
1276
  formRef,
@@ -1248,7 +1280,7 @@ function useBankingInfoForm(props) {
1248
1280
 
1249
1281
  const BankingInfoForm = class {
1250
1282
  constructor(hostRef) {
1251
- index$1.registerInstance(this, hostRef);
1283
+ index.registerInstance(this, hostRef);
1252
1284
  this.ignored = true;
1253
1285
  /**
1254
1286
  * @uiName Setup progress
@@ -1445,7 +1477,16 @@ const BankingInfoForm = class {
1445
1477
  * @uiName Participant is a partner alert description
1446
1478
  * @uiWidget textArea
1447
1479
  */
1448
- this.isPartnerAlertDescription = "If you don’t recognize this referral program provider or believe this is a mistake, please contact our Support team or sign up for this referral program with a different email.";
1480
+ this.isPartnerAlertDescription = "If you don’t recognize this referral program provider or believe this is a mistake, please contact our {supportLink} or sign up for this referral program with a different email.";
1481
+ /**
1482
+ * Text for verify email dialog
1483
+ * @uiName Verify email header
1484
+ */
1485
+ this.verifyEmailHeaderText = "Verify your email";
1486
+ /**
1487
+ * @uiName Verify code widget header text
1488
+ */
1489
+ this.verifyEmailDescriptionText = "Verify your email to update your payment settings. Enter the code sent to {email} from our referral provider, impact.com.";
1449
1490
  /**
1450
1491
  * Part of the alert displayed at the top of the page.
1451
1492
  * @uiName Form submission error message title
@@ -1457,7 +1498,7 @@ const BankingInfoForm = class {
1457
1498
  * @uiName Form submission error message description
1458
1499
  * @uiWidget textArea
1459
1500
  */
1460
- this.generalErrorDescription = "Please review your information and try again. If this problem continues, contact Support.";
1501
+ this.generalErrorDescription = "Please review your information and try again. If this problem continues, contact our {supportLink}.";
1461
1502
  /**
1462
1503
  * Displayed under a field that is missing required information.
1463
1504
  * @uiName Empty form field error message
@@ -1468,6 +1509,10 @@ const BankingInfoForm = class {
1468
1509
  * @uiName Form field error message
1469
1510
  */
1470
1511
  this.fieldInvalidError = "{fieldName} is invalid";
1512
+ /**
1513
+ * @uiName Support link text
1514
+ */
1515
+ this.supportLink = "support team";
1471
1516
  /**
1472
1517
  * @uiName Continue button label
1473
1518
  */
@@ -1489,7 +1534,7 @@ const BankingInfoForm = class {
1489
1534
  * @uiWidget textArea
1490
1535
  */
1491
1536
  this.loadingErrorAlertDescription = "Please refresh the page and try again. If this problem continues, contact Support.";
1492
- stencilHooks_module.h(this);
1537
+ stencilHooks_module.h$1(this);
1493
1538
  }
1494
1539
  disconnectedCallback() { }
1495
1540
  getTextProps() {
@@ -1540,48 +1585,80 @@ const BankingInfoForm = class {
1540
1585
  bitset: props.states.bitset,
1541
1586
  formMap,
1542
1587
  });
1543
- const searchStyle = {
1588
+ const style = {
1589
+ Dialog: {
1590
+ position: "relative",
1591
+ "&::part(panel)": {
1592
+ maxWidth: "420px",
1593
+ },
1594
+ "&::part(title)": {
1595
+ padding: "var(--sl-spacing-large) var(--sl-spacing-large) 0 var(--sl-spacing-large)",
1596
+ },
1597
+ "&::part(base)": {
1598
+ position: "absolute",
1599
+ },
1600
+ "&::part(close-button)": {
1601
+ marginBottom: "var(--sl-spacing-large)",
1602
+ },
1603
+ "&::part(body)": {
1604
+ padding: "0 var(--sl-spacing-large) 0 var(--sl-spacing-large)",
1605
+ fontSize: "var(--sl-font-size-small)",
1606
+ },
1607
+ "&::part(footer)": {
1608
+ display: "flex",
1609
+ flexDirection: "column",
1610
+ gap: "var(--sl-spacing-small)",
1611
+ marginBottom: "var(--sl-spacing-xx-small)",
1612
+ alignItems: "center",
1613
+ flex: "1",
1614
+ },
1615
+ },
1544
1616
  SearchInput: {
1545
1617
  padding: "var(--sl-spacing-x-small)",
1546
1618
  },
1547
1619
  };
1548
- if (props.states.isPartner && props.states.showVerification) {
1549
- return index$1.h("sqm-code-verification", null);
1550
- }
1551
- return (index$1.h(index$1.Host, null, index$1.h(BankingInfoFormView, { callbacks: props.callbacks, text: props.text, states: props.states, refs: props.refs, slots: {
1620
+ const sheet = JSS.createStyleSheet(style);
1621
+ const styleString = sheet.toString();
1622
+ const verifyDescription = global.intl.formatMessage({
1623
+ id: "codeResentSuccessfully",
1624
+ defaultMessage: props.text.verifyEmailDescriptionText,
1625
+ }, {
1626
+ email: props.states.email,
1627
+ });
1628
+ return (index.h(index.Host, null, index.h("style", { type: "text/css" }, styleString), props.states.isPartner && props.states.showVerification ? (index.h("sl-dialog", { class: sheet.classes.Dialog, open: true, "onSl-hide": props.callbacks.onVerificationHide, label: props.text.verifyEmailHeaderText }, index.h("sqm-code-verification", { verifyCodeHeaderText: verifyDescription, reverifyCodeHeaderText: verifyDescription, onVerification: props.callbacks.onVerification }))) : null, index.h(BankingInfoFormView, { callbacks: props.callbacks, text: props.text, states: props.states, refs: props.refs, slots: {
1552
1629
  formInputsSlot: inputFields === null || inputFields === void 0 ? void 0 : inputFields.map(({ input }) => input),
1553
- countryInputSlot: (index$1.h("sl-select", Object.assign({ label: props.text.bankLocationLabel, required: true, name: "/bankCountry", id: "bankCountry", value: props.states.formState.bankCountry || "", "onSl-select": (e) => { var _a, _b; return props.callbacks.setBankCountry((_b = (_a = e.detail) === null || _a === void 0 ? void 0 : _a.item) === null || _b === void 0 ? void 0 : _b.value); } }, (((_a = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _a === void 0 ? void 0 : _a.bankCountry) && {
1630
+ countryInputSlot: (index.h("sl-select", Object.assign({ label: props.text.bankLocationLabel, disabled: props.states.saveLoading, required: true, name: "/bankCountry", id: "bankCountry", value: props.states.formState.bankCountry || "", "onSl-select": (e) => { var _a, _b; return props.callbacks.setBankCountry((_b = (_a = e.detail) === null || _a === void 0 ? void 0 : _a.item) === null || _b === void 0 ? void 0 : _b.value); } }, (((_a = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _a === void 0 ? void 0 : _a.bankCountry) && {
1554
1631
  class: "error-input",
1555
1632
  helpText: getValidationErrorMessage({
1556
1633
  type: (_c = (_b = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _b === void 0 ? void 0 : _b.bankCountry) === null || _c === void 0 ? void 0 : _c.type,
1557
1634
  label: props.text.bankLocationLabel,
1558
1635
  }),
1559
- })), index$1.h("sl-input", { class: searchStyle.SearchInput, placeholder: this.searchForCountryText, onKeyDown: (e) => {
1636
+ })), index.h("sl-input", { disabled: props.states.saveLoading, class: sheet.classes.SearchInput, placeholder: this.searchForCountryText, onKeyDown: (e) => {
1560
1637
  // Stop shoelace intercepting key presses
1561
1638
  e.stopPropagation();
1562
1639
  }, "onSl-input": (e) => {
1563
1640
  props.callbacks.setCountrySearch(e.target.value);
1564
1641
  } }), (_d = props.states.countries) === null || _d === void 0 ? void 0 :
1565
1642
  _d.map((country) => {
1566
- return (index$1.h("sl-menu-item", { value: country.countryCode }, country.displayName));
1643
+ return (index.h("sl-menu-item", { value: country.countryCode }, country.displayName));
1567
1644
  }), (_f = (_e = props.states) === null || _e === void 0 ? void 0 : _e.allCountries) === null || _f === void 0 ? void 0 :
1568
- _f.map((c) => (index$1.h("sl-menu-item", { value: c.countryCode, style: { display: "none" } }, c.displayName))))),
1569
- paymentMethodSlot: (index$1.h("sl-input", { key: "paymentMethod", label: props.text.paymentMethod, placeholder: props.states.paymentMethodFeeLabel, disabled: true })),
1570
- paymentThresholdSelectSlot: (index$1.h("sl-select", Object.assign({ required: true, label: props.text.paymentThresholdSelectLabel, name: "/paymentThreshold", id: "paymentThreshold", value: ((_h = (_g = props.states) === null || _g === void 0 ? void 0 : _g.formState) === null || _h === void 0 ? void 0 : _h.paymentThreshold) || "" }, (((_j = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _j === void 0 ? void 0 : _j.paymentThreshold) && {
1645
+ _f.map((c) => (index.h("sl-menu-item", { value: c.countryCode, style: { display: "none" } }, c.displayName))))),
1646
+ paymentMethodSlot: (index.h("sl-input", { key: "paymentMethod", label: props.text.paymentMethod, placeholder: props.states.paymentMethodFeeLabel, disabled: true })),
1647
+ paymentThresholdSelectSlot: (index.h("sl-select", Object.assign({ required: true, disabled: props.states.saveLoading, label: props.text.paymentThresholdSelectLabel, name: "/paymentThreshold", id: "paymentThreshold", value: ((_h = (_g = props.states) === null || _g === void 0 ? void 0 : _g.formState) === null || _h === void 0 ? void 0 : _h.paymentThreshold) || "" }, (((_j = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _j === void 0 ? void 0 : _j.paymentThreshold) && {
1571
1648
  class: "error-input",
1572
1649
  helpText: getValidationErrorMessage({
1573
1650
  type: (_l = (_k = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _k === void 0 ? void 0 : _k.paymentThreshold) === null || _l === void 0 ? void 0 : _l.type,
1574
1651
  label: props.text.paymentThresholdSelectLabel,
1575
1652
  }),
1576
- })), props.states.thresholds.map((t) => (index$1.h("sl-menu-item", { value: t }, `${props.states.currency}${t}`))))),
1577
- paymentFixedDaySelectSlot: (index$1.h("sl-select", Object.assign({ required: true, label: props.text.paymentDaySelectLabel, value: ((_o = (_m = props.states) === null || _m === void 0 ? void 0 : _m.formState) === null || _o === void 0 ? void 0 : _o.paymentDay) || "", name: "/paymentDay", id: "paymentDay" }, (((_p = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _p === void 0 ? void 0 : _p.paymentDay) && {
1653
+ })), props.states.thresholds.map((t) => (index.h("sl-menu-item", { value: t }, `${props.states.currency}${t}`))))),
1654
+ paymentFixedDaySelectSlot: (index.h("sl-select", Object.assign({ required: true, disabled: props.states.saveLoading, label: props.text.paymentDaySelectLabel, value: ((_o = (_m = props.states) === null || _m === void 0 ? void 0 : _m.formState) === null || _o === void 0 ? void 0 : _o.paymentDay) || "", name: "/paymentDay", id: "paymentDay" }, (((_p = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _p === void 0 ? void 0 : _p.paymentDay) && {
1578
1655
  class: "error-input",
1579
1656
  helpText: getValidationErrorMessage({
1580
1657
  type: (_r = (_q = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _q === void 0 ? void 0 : _q.paymentDay) === null || _r === void 0 ? void 0 : _r.type,
1581
1658
  label: props.text.paymentDaySelectLabel,
1582
1659
  }),
1583
- })), index$1.h("sl-menu-item", { value: "1" }, props.text.paymentDayFirstOfMonthLabelText), index$1.h("sl-menu-item", { value: "15" }, props.text.paymentDayFifteenthOfMonthLabelText))),
1584
- paypalInputSlot: (index$1.h("sl-input", Object.assign({ required: true, value: ((_t = (_s = props.states) === null || _s === void 0 ? void 0 : _s.formState) === null || _t === void 0 ? void 0 : _t.paypalEmailAddress) || "", label: props.text.payPalInputLabel, key: "paypalEmailAddress", name: "/paypalEmailAddress", id: "paypalEmailAddress", type: "text" }, (((_w = (_v = (_u = props.states.formState) === null || _u === void 0 ? void 0 : _u.errors) === null || _v === void 0 ? void 0 : _v.inputErrors) === null || _w === void 0 ? void 0 : _w.paypalEmailAddress) && {
1660
+ })), index.h("sl-menu-item", { value: "1" }, props.text.paymentDayFirstOfMonthLabelText), index.h("sl-menu-item", { value: "15" }, props.text.paymentDayFifteenthOfMonthLabelText))),
1661
+ paypalInputSlot: (index.h("sl-input", Object.assign({ required: true, disabled: props.states.saveLoading, value: ((_t = (_s = props.states) === null || _s === void 0 ? void 0 : _s.formState) === null || _t === void 0 ? void 0 : _t.paypalEmailAddress) || "", label: props.text.payPalInputLabel, key: "paypalEmailAddress", name: "/paypalEmailAddress", id: "paypalEmailAddress", type: "text" }, (((_w = (_v = (_u = props.states.formState) === null || _u === void 0 ? void 0 : _u.errors) === null || _v === void 0 ? void 0 : _v.inputErrors) === null || _w === void 0 ? void 0 : _w.paypalEmailAddress) && {
1585
1662
  class: "error-input",
1586
1663
  helpText: getValidationErrorMessage({
1587
1664
  type: (_0 = (_z = (_y = (_x = props.states.formState) === null || _x === void 0 ? void 0 : _x.errors) === null || _y === void 0 ? void 0 : _y.inputErrors) === null || _z === void 0 ? void 0 : _z.paypalEmailAddress) === null || _0 === void 0 ? void 0 : _0.type,
@@ -1672,6 +1749,7 @@ function useDemoBankingInfoForm(props) {
1672
1749
  hasPayPal: true,
1673
1750
  },
1674
1751
  callbacks: {
1752
+ onVerificationHide: () => { },
1675
1753
  onSubmit: async () => {
1676
1754
  setStep("/dashboard");
1677
1755
  },
@@ -1680,6 +1758,7 @@ function useDemoBankingInfoForm(props) {
1680
1758
  setPaymentScheduleChecked,
1681
1759
  setCountrySearch: () => { },
1682
1760
  onBack: async () => setStep("/dashboard"),
1761
+ onVerification: () => { },
1683
1762
  },
1684
1763
  text: props.getTextProps(),
1685
1764
  refs: {
@@ -1688,7 +1767,332 @@ function useDemoBankingInfoForm(props) {
1688
1767
  }, props.demoData || {}, { arrayMerge: (_, a) => a });
1689
1768
  }
1690
1769
 
1691
- const GET_TAX_DOCUMENT = index.dist.gql `
1770
+ const style$1 = {
1771
+ Wrapper: {
1772
+ display: "flex",
1773
+ flexDirection: "column",
1774
+ gap: "var(--sl-spacing-medium)",
1775
+ maxWidth: "550px",
1776
+ },
1777
+ HeaderContainer: {
1778
+ display: "flex",
1779
+ flexDirection: "column",
1780
+ },
1781
+ InputsContainer: {
1782
+ display: "flex",
1783
+ gap: "var(--sl-spacing-medium)",
1784
+ position: "relative",
1785
+ flexDirection: "column",
1786
+ },
1787
+ CodeInputContainer: {
1788
+ display: "flex",
1789
+ gap: "var(--sl-spacing-medium)",
1790
+ },
1791
+ CodeInput: {
1792
+ maxWidth: "40px",
1793
+ "&::part(input)": {
1794
+ margin: "0",
1795
+ padding: "0 var(--sl-input-spacing-small)",
1796
+ fontSize: "var(--sl-font-size-large)",
1797
+ },
1798
+ },
1799
+ CodeInputError: {
1800
+ ...mixins.ErrorStyles,
1801
+ maxWidth: "40px",
1802
+ "&::part(input)": {
1803
+ margin: "0",
1804
+ padding: "0 var(--sl-input-spacing-small)",
1805
+ fontSize: "var(--sl-font-size-large)",
1806
+ },
1807
+ },
1808
+ ErrorText: {
1809
+ color: "var(--sl-color-danger-500)",
1810
+ fontSize: "var(--sl-font-size-small)",
1811
+ margin: "0",
1812
+ },
1813
+ ContinueButton: {
1814
+ width: "100%",
1815
+ maxWidth: "100px",
1816
+ },
1817
+ FooterContainer: {
1818
+ display: "flex",
1819
+ flexDirection: "column",
1820
+ },
1821
+ SkeletonOne: {
1822
+ width: "50%",
1823
+ height: "16px",
1824
+ },
1825
+ SkeletonTwo: {
1826
+ width: "30%",
1827
+ height: "34px",
1828
+ },
1829
+ SkeletonThree: {
1830
+ width: "15%",
1831
+ height: "24px",
1832
+ },
1833
+ };
1834
+ const vanillaStyle$1 = `
1835
+ :host {
1836
+ display: block;
1837
+ }
1838
+ :host([hidden]): {
1839
+ display: none;
1840
+ }
1841
+
1842
+
1843
+ `;
1844
+ const sheet$1 = JSS.createStyleSheet(style$1);
1845
+ const styleString$1 = sheet$1.toString();
1846
+ function WidgetCodeVerificationView(props) {
1847
+ const { states, refs, callbacks, text } = props;
1848
+ const resendCodeText = global.intl.formatMessage({
1849
+ id: "resendCodeText",
1850
+ defaultMessage: text.resendCodeText,
1851
+ }, {
1852
+ resendCodeLink: (index.h("a", { href: "", style: { textDecoration: "none" }, onClick: (e) => {
1853
+ e.preventDefault();
1854
+ callbacks.resendEmail();
1855
+ } }, text.resendCodeLabel)),
1856
+ });
1857
+ const codeResentSuccessfully = global.intl.formatMessage({
1858
+ id: "codeResentSuccessfully",
1859
+ defaultMessage: text.codeResentSuccessfullyText,
1860
+ }, {
1861
+ email: states.email,
1862
+ });
1863
+ const inputClass = states.verifyFailed
1864
+ ? sheet$1.classes.CodeInputError
1865
+ : sheet$1.classes.CodeInput;
1866
+ return (index.h("div", { part: "sqm-base" },
1867
+ index.h("style", { type: "text/css" },
1868
+ vanillaStyle$1,
1869
+ styleString$1),
1870
+ index.h("div", { class: sheet$1.classes.Wrapper },
1871
+ index.h("div", { class: sheet$1.classes.HeaderContainer },
1872
+ index.h(sqmTextSpanView.TextSpanView, { type: "p" }, global.intl.formatMessage({
1873
+ id: `emailHeaderText`,
1874
+ defaultMessage: states.verifyFailed
1875
+ ? text.reverifyCodeHeaderText
1876
+ : text.verifyCodeHeaderText,
1877
+ }, { email: states.email }))),
1878
+ states.emailResent && (index.h("sqm-form-message", { type: "success", exportparts: "successalert-icon" },
1879
+ index.h("b", null, codeResentSuccessfully))),
1880
+ index.h("div", { class: sheet$1.classes.InputsContainer },
1881
+ index.h("div", { ref: refs.codeWrapperRef, class: sheet$1.classes.CodeInputContainer },
1882
+ index.h("sl-input", { class: inputClass, name: "code" }),
1883
+ index.h("sl-input", { class: inputClass, name: "code" }),
1884
+ index.h("sl-input", { class: inputClass, name: "code" }),
1885
+ index.h("sl-input", { class: inputClass, name: "code" }),
1886
+ index.h("sl-input", { class: inputClass, name: "code" }),
1887
+ index.h("sl-input", { class: inputClass, name: "code" })),
1888
+ states.verifyFailed && (index.h("p", { class: sheet$1.classes.ErrorText }, text.invalidCodeText)),
1889
+ index.h("sl-button", { class: sheet$1.classes.ContinueButton, onClick: callbacks.submitCode, disabled: states.loading || states.initialiseLoading, loading: states.loading || states.initialiseLoading, exportparts: "base: primarybutton-base", type: "primary" }, text.verifyText)),
1890
+ index.h("div", { class: sheet$1.classes.FooterContainer },
1891
+ index.h(sqmTextSpanView.TextSpanView, { type: "p" }, resendCodeText)))));
1892
+ }
1893
+
1894
+ const VerifyEmailWithCodeMutation = index_module.dist.gql `
1895
+ mutation submitImpactPublisherEmail2FACode(
1896
+ $user: UserIdInput!
1897
+ $code: String!
1898
+ ) {
1899
+ submitImpactPublisherEmail2FACode(user: $user, code: $code) {
1900
+ verifiedEmail
1901
+ accessKey
1902
+ }
1903
+ }
1904
+ `;
1905
+ function useWidgetCodeVerification(props) {
1906
+ const host = stencilHooks_module.l();
1907
+ const [_, setShowCode] = index_module.Mn(keys.SHOW_CODE_NAMESPACE);
1908
+ const email = index_module.Dn(keys.VERIFICATION_EMAIL_NAMESPACE);
1909
+ const [emailSent, setEmailSent] = stencilHooks_module.useState(false);
1910
+ const [emailResent, setEmailResent] = stencilHooks_module.useState(false);
1911
+ const [codeRef, setCodeRef] = stencilHooks_module.useState(null);
1912
+ const [validationError, setValidationError] = stencilHooks_module.useState(false);
1913
+ const [emailError, setEmailError] = stencilHooks_module.useState(false);
1914
+ const { initialized, verificationEmail, send: [sendEmail, { loading: sendLoading, errors: sendErrors }], verify: [verifyEmail, { loading: verifyLoading, errors: verifyErrors }], } = useVerificationEmail.useVerificationEmail();
1915
+ stencilHooks_module.useEffect(() => {
1916
+ if (!codeRef)
1917
+ return;
1918
+ const slInputs = codeRef.querySelectorAll("sl-input");
1919
+ const codeElements = Array.from(slInputs).map((node) => node.shadowRoot.querySelector(`input[name="code"]`));
1920
+ codeElements.forEach((element, idx) => {
1921
+ element.addEventListener("focus", (e) => {
1922
+ e.target.select();
1923
+ });
1924
+ element.addEventListener("keydown", (e) => {
1925
+ if (e.key === "Backspace" && e.target.value === "") {
1926
+ codeElements[Math.max(0, idx - 1)].focus();
1927
+ }
1928
+ });
1929
+ element.addEventListener("input", (e) => {
1930
+ const input = e.data;
1931
+ if (!input)
1932
+ return;
1933
+ if (idx === codeElements.length - 1) {
1934
+ e.target.value = input.slice(0, 1);
1935
+ return;
1936
+ }
1937
+ if (input.length > 1) {
1938
+ const rest = input.slice(1);
1939
+ e.target.value = input.slice(0, 1);
1940
+ codeElements[idx + 1].dispatchEvent(new InputEvent("input", {
1941
+ inputType: "insertFromPaste",
1942
+ data: rest,
1943
+ }));
1944
+ }
1945
+ codeElements[idx + 1].focus();
1946
+ });
1947
+ });
1948
+ }, [codeRef]);
1949
+ const reset = () => {
1950
+ setShowCode(false);
1951
+ setValidationError(false);
1952
+ };
1953
+ const resendEmail = async () => {
1954
+ // UI should only allow this to be called if initialized, but checking just in case
1955
+ if (!initialized)
1956
+ return;
1957
+ const result = await sendEmail();
1958
+ if (!result) {
1959
+ setEmailError(true);
1960
+ return;
1961
+ }
1962
+ if (emailSent)
1963
+ setEmailResent(true);
1964
+ setEmailSent(true);
1965
+ };
1966
+ const submitCode = async () => {
1967
+ const slInputs = codeRef.querySelectorAll("sl-input");
1968
+ const codeElements = Array.from(slInputs).map((node) => node.shadowRoot.querySelector(`input[name="code"]`));
1969
+ if (codeElements.find((el) => !el.value)) {
1970
+ setValidationError(true);
1971
+ return;
1972
+ }
1973
+ let code = "";
1974
+ codeElements.forEach((element) => {
1975
+ code = `${code}${element.value}`;
1976
+ });
1977
+ // UI should only allow this to be called if initialized, but checking just in case
1978
+ if (!initialized)
1979
+ return;
1980
+ setValidationError(false);
1981
+ const res = await verifyEmail(code);
1982
+ if (res === null || res === void 0 ? void 0 : res.success) {
1983
+ props.onVerification(res.accessKey);
1984
+ reset();
1985
+ }
1986
+ else {
1987
+ setValidationError(true);
1988
+ }
1989
+ };
1990
+ stencilHooks_module.useEffect(() => {
1991
+ // Wait for mutations to be determined from user lookup
1992
+ if (!initialized)
1993
+ return;
1994
+ // email should already exist if user has completed email-verification
1995
+ if (!email)
1996
+ resendEmail();
1997
+ else
1998
+ setEmailSent(true);
1999
+ }, [initialized]);
2000
+ return {
2001
+ refs: {
2002
+ codeWrapperRef: setCodeRef,
2003
+ },
2004
+ states: {
2005
+ email: verificationEmail,
2006
+ emailResent,
2007
+ resendError: sendErrors || verifyErrors,
2008
+ initialiseLoading: !initialized,
2009
+ loading: sendLoading || verifyLoading,
2010
+ verifyFailed: !!validationError,
2011
+ },
2012
+ callbacks: {
2013
+ resendEmail,
2014
+ submitCode,
2015
+ },
2016
+ text: props.getTextProps(),
2017
+ };
2018
+ }
2019
+
2020
+ const WidgetCodeVerification = class {
2021
+ constructor(hostRef) {
2022
+ index.registerInstance(this, hostRef);
2023
+ /**
2024
+ * @uiName Verify code widget header text
2025
+ */
2026
+ this.verifyCodeHeaderText = "Enter the code sent to {email} from our referral provider, impact.com.";
2027
+ /**
2028
+ * @uiName Reverify code widget header text
2029
+ */
2030
+ this.reverifyCodeHeaderText = "Enter the code sent to {email} from our referral provider, impact.com.";
2031
+ /**
2032
+ * Text displayed under verify button
2033
+ * @uiName Resend code text
2034
+ */
2035
+ this.resendCodeText = "Didn't receive your code? {resendCodeLink}";
2036
+ /**
2037
+ * The link that appears in the resend code link
2038
+ * @uiName Resend code label
2039
+ */
2040
+ this.resendCodeLabel = "Resend code";
2041
+ /**
2042
+ * Link text displayed under verify button
2043
+ * @uiName Resend code text
2044
+ */
2045
+ this.codeResentSuccessfullyText = "Another code has been sent to {email}";
2046
+ /**
2047
+ * Error text displayed under verification input
2048
+ * @uiName Invalid code text
2049
+ */
2050
+ this.invalidCodeText = "Please check your code and try again. If you’re still having trouble, try resending your code.";
2051
+ /**
2052
+ * @uiName Verify code button text
2053
+ */
2054
+ this.verifyText = "Verify";
2055
+ /**
2056
+ * Displayed when the email verification fails due to a network error. The participant can try refreshing the page.
2057
+ * @uiName Network error message
2058
+ */
2059
+ this.networkErrorMessage = "An error occurred while verifying your email. Please refresh the page and try again.";
2060
+ stencilHooks_module.h$1(this);
2061
+ }
2062
+ disconnectedCallback() { }
2063
+ getTextProps() {
2064
+ return utils.getProps(this);
2065
+ }
2066
+ render() {
2067
+ const props = index_module.isDemo()
2068
+ ? useDemoWidgetCodeVerification(this)
2069
+ : useWidgetCodeVerification(this);
2070
+ return index.h(WidgetCodeVerificationView, Object.assign({}, props));
2071
+ }
2072
+ };
2073
+ function useDemoWidgetCodeVerification(props) {
2074
+ const [emailResent, setEmailResent] = stencilHooks_module.useState(false);
2075
+ const setVerifiedContext = index_module.Sn(keys.VERIFICATION_PARENT_NAMESPACE);
2076
+ return cjs.cjs({
2077
+ states: {
2078
+ loading: false,
2079
+ email: "test@example.com",
2080
+ emailResent,
2081
+ resendError: true,
2082
+ verifyFailed: true,
2083
+ },
2084
+ refs: {
2085
+ codeWrapperRef: () => { },
2086
+ },
2087
+ callbacks: {
2088
+ resendEmail: async () => setEmailResent(true),
2089
+ submitCode: async () => setVerifiedContext(true),
2090
+ },
2091
+ text: props.getTextProps(),
2092
+ }, props.demoData || {}, { arrayMerge: (_, a) => a });
2093
+ }
2094
+
2095
+ const GET_TAX_DOCUMENT = index_module.dist.gql `
1692
2096
  mutation createImpactPublisherTaxDocument(
1693
2097
  $vars: CreateImpactPublisherTaxDocumentInput!
1694
2098
  ) {
@@ -1699,7 +2103,7 @@ const GET_TAX_DOCUMENT = index.dist.gql `
1699
2103
  }
1700
2104
  }
1701
2105
  `;
1702
- const COMPLETE_TAX_DOCUMENT = index.dist.gql `
2106
+ const COMPLETE_TAX_DOCUMENT = index_module.dist.gql `
1703
2107
  mutation completeImpactPublisherTaxDocument($vars: UserIdInput!) {
1704
2108
  completeImpactPublisherTaxDocument(user: $vars) {
1705
2109
  success
@@ -1785,6 +2189,8 @@ function useDocusignForm(props) {
1785
2189
  // @ts-expect-error: no data type for result
1786
2190
  if (!result.completeImpactPublisherTaxDocument.success)
1787
2191
  throw new Error();
2192
+ // Fire form change event
2193
+ window.dispatchEvent(new Event(usePayoutStatus.TAX_FORM_UPDATED_EVENT_KEY));
1788
2194
  setShowExitButton(true);
1789
2195
  }
1790
2196
  catch (e) {
@@ -1843,7 +2249,7 @@ function getDocumentType(p) {
1843
2249
  return undefined;
1844
2250
  }
1845
2251
 
1846
- const style$1 = {
2252
+ const style$2 = {
1847
2253
  DocusignStatusContainer: {
1848
2254
  width: "100%",
1849
2255
  minHeight: "600px",
@@ -1870,47 +2276,47 @@ const style$1 = {
1870
2276
  },
1871
2277
  },
1872
2278
  };
1873
- const sheet$1 = JSS.createStyleSheet(style$1);
1874
- const styleString$1 = sheet$1.toString();
2279
+ const sheet$2 = JSS.createStyleSheet(style$2);
2280
+ const styleString$2 = sheet$2.toString();
1875
2281
  const DocusignExpiredView = (props) => {
1876
- const { classes } = sheet$1;
2282
+ const { classes } = sheet$2;
1877
2283
  const { text } = props;
1878
- return (index$1.h("div", null,
1879
- index$1.h("style", { type: "text/css" }, styleString$1),
1880
- index$1.h("div", { class: classes.DocusignStatusContainer },
1881
- index$1.h("sl-icon", { style: {
2284
+ return (index.h("div", null,
2285
+ index.h("style", { type: "text/css" }, styleString$2),
2286
+ index.h("div", { class: classes.DocusignStatusContainer },
2287
+ index.h("sl-icon", { style: {
1882
2288
  width: "50px",
1883
2289
  height: "50px",
1884
2290
  color: "var(--sl-color-neutral-500)",
1885
2291
  }, name: "clock" }),
1886
- index$1.h("div", { class: classes.MessageContainer },
1887
- index$1.h("p", { style: { margin: "0" } }, text.docusignExpired)),
1888
- index$1.h("sl-button", { type: "primary", onClick: () => window.location.reload() }, text.refreshButton))));
2292
+ index.h("div", { class: classes.MessageContainer },
2293
+ index.h("p", { style: { margin: "0" } }, text.docusignExpired)),
2294
+ index.h("sl-button", { type: "primary", onClick: () => window.location.reload() }, text.refreshButton))));
1889
2295
  };
1890
2296
  const DocusignErrorView = (props) => {
1891
- const { classes } = sheet$1;
2297
+ const { classes } = sheet$2;
1892
2298
  const { text } = props;
1893
- return (index$1.h("div", null,
1894
- index$1.h("style", { type: "text/css" }, styleString$1),
1895
- index$1.h("div", { class: classes.DocusignStatusContainer },
1896
- index$1.h("sl-icon", { style: {
2299
+ return (index.h("div", null,
2300
+ index.h("style", { type: "text/css" }, styleString$2),
2301
+ index.h("div", { class: classes.DocusignStatusContainer },
2302
+ index.h("sl-icon", { style: {
1897
2303
  width: "50px",
1898
2304
  height: "50px",
1899
2305
  color: "var(--sl-color-gray-500)",
1900
2306
  }, name: "exclamation-octagon" }),
1901
- index$1.h("div", { class: classes.MessageContainer },
1902
- index$1.h("p", { style: { margin: "0" } }, text.docusignError)),
1903
- index$1.h("sl-button", { type: "primary", onClick: () => window.location.reload() }, text.refreshButton))));
2307
+ index.h("div", { class: classes.MessageContainer },
2308
+ index.h("p", { style: { margin: "0" } }, text.docusignError)),
2309
+ index.h("sl-button", { type: "primary", onClick: () => window.location.reload() }, text.refreshButton))));
1904
2310
  };
1905
2311
  const DocusignLoadingView = () => {
1906
- const { classes } = sheet$1;
1907
- return (index$1.h("div", null,
1908
- index$1.h("style", { type: "text/css" }, styleString$1),
1909
- index$1.h("div", { class: classes.DocusignStatusContainer },
1910
- index$1.h("sl-spinner", { style: { fontSize: "50px", margin: "40px" } }))));
2312
+ const { classes } = sheet$2;
2313
+ return (index.h("div", null,
2314
+ index.h("style", { type: "text/css" }, styleString$2),
2315
+ index.h("div", { class: classes.DocusignStatusContainer },
2316
+ index.h("sl-spinner", { style: { fontSize: "50px", margin: "40px" } }))));
1911
2317
  };
1912
2318
  const DocusignIframe = ({ states, data, callbacks, text, }) => {
1913
- const { classes } = sheet$1;
2319
+ const { classes } = sheet$2;
1914
2320
  const [iFrameHeight, setiFrameHeight] = stencilHooks_module.useState("100%");
1915
2321
  const allowedDomains = [
1916
2322
  "referralsaasquatch.com",
@@ -1921,7 +2327,6 @@ const DocusignIframe = ({ states, data, callbacks, text, }) => {
1921
2327
  const allowed = allowedDomains.some((d) => { var _a; return (_a = e.origin) === null || _a === void 0 ? void 0 : _a.includes(d); });
1922
2328
  if (!allowed)
1923
2329
  return;
1924
- console.log(e);
1925
2330
  if (typeof e.data === "number") {
1926
2331
  setiFrameHeight(e.data + "px");
1927
2332
  }
@@ -1936,20 +2341,20 @@ const DocusignIframe = ({ states, data, callbacks, text, }) => {
1936
2341
  };
1937
2342
  }, [iFrameHeight]);
1938
2343
  if (states.urlLoading)
1939
- return index$1.h(DocusignLoadingView, null);
2344
+ return index.h(DocusignLoadingView, null);
1940
2345
  if (DOCUSIGN_ERROR_STATES.includes(states.status)) {
1941
- return index$1.h(DocusignErrorView, { text: text });
2346
+ return index.h(DocusignErrorView, { text: text });
1942
2347
  }
1943
2348
  if (DOCUSIGN_EXPIRED_STATES.includes(states.status))
1944
- return index$1.h(DocusignExpiredView, { text: text });
2349
+ return index.h(DocusignExpiredView, { text: text });
1945
2350
  // Wrap iFrame with container that shares the same height to push other elements down when absolute positioned
1946
- return (index$1.h("div", { style: { height: iFrameHeight } },
1947
- index$1.h("style", { type: "text/css" }, styleString$1),
1948
- index$1.h("div", { class: classes.IFrameContainer },
1949
- index$1.h("iframe", { scrolling: "yes", frameBorder: "0", width: "100%", src: data.documentUrl, height: iFrameHeight }))));
2351
+ return (index.h("div", { style: { height: iFrameHeight } },
2352
+ index.h("style", { type: "text/css" }, styleString$2),
2353
+ index.h("div", { class: classes.IFrameContainer },
2354
+ index.h("iframe", { scrolling: "yes", frameBorder: "0", width: "100%", src: data.documentUrl, height: iFrameHeight }))));
1950
2355
  };
1951
2356
 
1952
- const style$2 = {
2357
+ const style$3 = {
1953
2358
  FormWrapper: {
1954
2359
  display: "flex",
1955
2360
  justifyContent: "flex-start",
@@ -2062,9 +2467,9 @@ const style$2 = {
2062
2467
  fontSize: "var(--sl-font-size-medium)",
2063
2468
  },
2064
2469
  };
2065
- const sheet$2 = JSS.createStyleSheet(style$2);
2066
- const styleString$2 = sheet$2.toString();
2067
- const vanillaStyle$1 = `
2470
+ const sheet$3 = JSS.createStyleSheet(style$3);
2471
+ const styleString$3 = sheet$3.toString();
2472
+ const vanillaStyle$2 = `
2068
2473
  :host{
2069
2474
  display: block;
2070
2475
  }
@@ -2089,34 +2494,44 @@ const vanillaStyle$1 = `
2089
2494
  const DocusignFormView = (props) => {
2090
2495
  var _a;
2091
2496
  const { states, states: { formState, documentTypeString }, callbacks, text, slots, } = props;
2092
- const { classes } = sheet$2;
2093
- return (index$1.h("div", { class: classes.Container },
2094
- index$1.h("style", { type: "text/css" },
2095
- styleString$2,
2096
- vanillaStyle$1),
2097
- index$1.h("div", { class: classes.TextContainer },
2098
- index$1.h("div", null,
2099
- !states.hideSteps && (index$1.h("p", null, global.intl.formatMessage({
2497
+ const { classes } = sheet$3;
2498
+ return (index.h("div", { class: classes.Container },
2499
+ index.h("style", { type: "text/css" },
2500
+ styleString$3,
2501
+ vanillaStyle$2),
2502
+ index.h("div", { class: classes.TextContainer },
2503
+ index.h("div", null,
2504
+ !states.hideSteps && (index.h("p", null, global.intl.formatMessage({
2100
2505
  id: "formStep",
2101
2506
  defaultMessage: text.formStep,
2102
2507
  }, { step: states.step, count: FORM_STEPS }))),
2103
- index$1.h("h3", null, text.taxForm),
2104
- index$1.h("p", { class: classes.PageDescriptionText }, text.taxAndPayoutsDescription))),
2105
- states.loadingError && (index$1.h("div", null,
2106
- index$1.h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", open: true, class: sheet$2.classes.ErrorAlertContainer },
2107
- index$1.h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
2108
- index$1.h("strong", null, text.error.loadingErrorAlertHeader),
2109
- index$1.h("br", null),
2110
- text.error.loadingErrorAlertDescription))),
2111
- ((_a = formState.errors) === null || _a === void 0 ? void 0 : _a.general) && (index$1.h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "warning", open: true, class: sheet$2.classes.ErrorAlertContainer },
2112
- index$1.h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
2113
- index$1.h("strong", null, text.error.generalTitle),
2114
- index$1.h("br", null),
2115
- text.error.generalDescription)),
2116
- index$1.h("div", null,
2117
- index$1.h("div", null,
2118
- index$1.h("h5", { class: classes.BoldText }, global.intl.formatMessage({ id: "tax-form-label", defaultMessage: text.taxFormLabel }, { documentType: documentTypeString })),
2119
- index$1.h("p", null, global.intl.formatMessage({
2508
+ index.h("h3", null, text.taxForm),
2509
+ index.h("p", { class: classes.PageDescriptionText }, text.taxAndPayoutsDescription))),
2510
+ states.loadingError && (index.h("div", null,
2511
+ index.h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", open: true, class: sheet$3.classes.ErrorAlertContainer },
2512
+ index.h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
2513
+ index.h("strong", null, text.error.loadingErrorAlertHeader),
2514
+ index.h("br", null),
2515
+ global.intl.formatMessage({
2516
+ id: "loadingErrorAlertDescription",
2517
+ defaultMessage: text.error.loadingErrorAlertDescription,
2518
+ }, {
2519
+ supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
2520
+ })))),
2521
+ ((_a = formState.errors) === null || _a === void 0 ? void 0 : _a.general) && (index.h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "warning", open: true, class: sheet$3.classes.ErrorAlertContainer },
2522
+ index.h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
2523
+ index.h("strong", null, text.error.generalTitle),
2524
+ index.h("br", null),
2525
+ global.intl.formatMessage({
2526
+ id: "generalDescription",
2527
+ defaultMessage: text.error.generalDescription,
2528
+ }, {
2529
+ supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
2530
+ }))),
2531
+ index.h("div", null,
2532
+ index.h("div", null,
2533
+ index.h("h5", { class: classes.BoldText }, global.intl.formatMessage({ id: "tax-form-label", defaultMessage: text.taxFormLabel }, { documentType: documentTypeString })),
2534
+ index.h("p", null, global.intl.formatMessage({
2120
2535
  id: "tax-form-description",
2121
2536
  defaultMessage: states.documentType === "W9"
2122
2537
  ? text.taxFormDescription
@@ -2124,13 +2539,13 @@ const DocusignFormView = (props) => {
2124
2539
  ? text.taxFormDescriptionIndividualParticipant
2125
2540
  : text.taxFormDescriptionBusinessEntity,
2126
2541
  }, { documentType: documentTypeString }))),
2127
- index$1.h("div", null, slots.docusignIframeSlot),
2128
- index$1.h("div", { class: classes.BtnContainer }, states.showExitButton && (index$1.h("sl-button", { type: "primary", exportparts: "base: primarybutton-base", onClick: callbacks.onExit }, text.exitButton))))));
2542
+ index.h("div", null, slots.docusignIframeSlot),
2543
+ index.h("div", { class: classes.BtnContainer }, states.showExitButton && (index.h("sl-button", { type: "primary", exportparts: "base: primarybutton-base", onClick: callbacks.onExit }, text.exitButton))))));
2129
2544
  };
2130
2545
 
2131
2546
  const DocusignForm = class {
2132
2547
  constructor(hostRef) {
2133
- index$1.registerInstance(this, hostRef);
2548
+ index.registerInstance(this, hostRef);
2134
2549
  this.ignored = true;
2135
2550
  /**
2136
2551
  * @uiName Setup progress
@@ -2151,6 +2566,10 @@ const DocusignForm = class {
2151
2566
  * @uiWidget textArea
2152
2567
  */
2153
2568
  this.taxFormDescription = "Participants based in the US need to submit a {documentType} form.";
2569
+ /**
2570
+ * @uiName Support link text
2571
+ */
2572
+ this.supportLink = "support team";
2154
2573
  /**
2155
2574
  * Displayed at the top of the page to individuals joining a US program who reside outside the country.
2156
2575
  * @uiName W-8 BEN tax form description
@@ -2194,7 +2613,7 @@ const DocusignForm = class {
2194
2613
  * @uiName Docusign form error message
2195
2614
  * @uiWidget textArea
2196
2615
  */
2197
- this.docusignError = "There was a problem displaying this form. Please refresh the page. If this problem continues, contact Support.";
2616
+ this.docusignError = "There was a problem displaying this form. Please refresh the page. If this problem continues, contact our {supportLink}.";
2198
2617
  /**
2199
2618
  * @uiName Refresh page button label
2200
2619
  */
@@ -2210,7 +2629,7 @@ const DocusignForm = class {
2210
2629
  * @uiName Form submission error message description
2211
2630
  * @uiWidget textArea
2212
2631
  */
2213
- this.generalErrorDescription = "Please review your information and try again. If this problem continues, contact Support.";
2632
+ this.generalErrorDescription = "Please review your information and try again. If this problem continues, contact our {supportLink}.";
2214
2633
  /**
2215
2634
  * Part of the alert displayed at the top of the page.
2216
2635
  * @uiName Page load error message title
@@ -2222,7 +2641,7 @@ const DocusignForm = class {
2222
2641
  * @uiName Page load error message description
2223
2642
  * @uiWidget textArea
2224
2643
  */
2225
- this.loadingErrorAlertDescription = "Please refresh the page and try again. If this problem continues, contact Support.";
2644
+ this.loadingErrorAlertDescription = "Please refresh the page and try again. If this problem continues, contact our {supportLink}.";
2226
2645
  /**
2227
2646
  * Displayed at the top of the page on all set up steps.
2228
2647
  * @uiName Page description
@@ -2233,7 +2652,7 @@ const DocusignForm = class {
2233
2652
  * @uiName Exit button text
2234
2653
  */
2235
2654
  this.exitButton = "Exit";
2236
- stencilHooks_module.h(this);
2655
+ stencilHooks_module.h$1(this);
2237
2656
  }
2238
2657
  disconnectedCallback() { }
2239
2658
  getTextProps() {
@@ -2252,7 +2671,7 @@ const DocusignForm = class {
2252
2671
  render() {
2253
2672
  const _isDemo = index_module.isDemo();
2254
2673
  const props = _isDemo ? useDocusignFormDemo(this) : useDocusignForm(this);
2255
- const docusignIframeSlot = (index$1.h(DocusignIframe, { states: {
2674
+ const docusignIframeSlot = (index.h(DocusignIframe, { states: {
2256
2675
  status: props.states.docusignStatus,
2257
2676
  loading: props.states.loading,
2258
2677
  urlLoading: props.states.urlLoading,
@@ -2261,13 +2680,13 @@ const DocusignForm = class {
2261
2680
  }, callbacks: {
2262
2681
  completeDocument: props.callbacks.completeDocument,
2263
2682
  }, text: props.text }));
2264
- return (index$1.h(index$1.Host, null, index$1.h(DocusignFormView, { callbacks: props.callbacks, states: props.states, text: props.text, slots: {
2683
+ return (index.h(index.Host, null, index.h(DocusignFormView, { callbacks: props.callbacks, states: props.states, text: props.text, slots: {
2265
2684
  docusignIframeSlot: _isDemo
2266
2685
  ? DemoDocusignIframe({ callbacks: props.callbacks })
2267
2686
  : docusignIframeSlot,
2268
2687
  } })));
2269
2688
  }
2270
- get el() { return index$1.getElement(this); }
2689
+ get el() { return index.getElement(this); }
2271
2690
  };
2272
2691
  function useDocusignFormDemo(props) {
2273
2692
  const setStep = index_module.Sn(TAX_CONTEXT_NAMESPACE);
@@ -2304,22 +2723,22 @@ function useDocusignFormDemo(props) {
2304
2723
  }, props.demoData || {}, { arrayMerge: (_, a) => a });
2305
2724
  }
2306
2725
  const DemoDocusignIframe = ({ callbacks }) => {
2307
- return (index$1.h("div", { style: {
2726
+ return (index.h("div", { style: {
2308
2727
  width: "100%",
2309
2728
  height: "600px",
2310
2729
  background: "#fafafa",
2311
2730
  display: "flex",
2312
2731
  justifyContent: "center",
2313
2732
  alignItems: "center",
2314
- } }, index$1.h("div", { style: {
2733
+ } }, index.h("div", { style: {
2315
2734
  display: "flex",
2316
2735
  flexDirection: "column",
2317
2736
  gap: "12px",
2318
2737
  alignItems: "center",
2319
- } }, index$1.h("span", null, "Placeholder for docusign iframe"), index$1.h("div", { style: { display: "flex", gap: "8px" } }, index$1.h("sl-button", { type: "primary", submit: true, exportparts: "base: primarybutton-base", onClick: callbacks.demo.onBack }, "Back to Step 2"), index$1.h("sl-button", { type: "primary", submit: true, exportparts: "base: primarybutton-base", onClick: callbacks.demo.onSubmit }, "Continue to Step 4")))));
2738
+ } }, index.h("span", null, "Placeholder for docusign iframe"), index.h("div", { style: { display: "flex", gap: "8px" } }, index.h("sl-button", { type: "primary", submit: true, exportparts: "base: primarybutton-base", onClick: callbacks.demo.onBack }, "Back to Step 2"), index.h("sl-button", { type: "primary", submit: true, exportparts: "base: primarybutton-base", onClick: callbacks.demo.onSubmit }, "Continue to Step 4")))));
2320
2739
  };
2321
2740
 
2322
- const style$3 = {
2741
+ const style$4 = {
2323
2742
  FormWrapper: {
2324
2743
  display: "flex",
2325
2744
  justifyContent: "flex-start",
@@ -2407,11 +2826,9 @@ const style$3 = {
2407
2826
  border: "none",
2408
2827
  },
2409
2828
  "&::part(message)": {
2410
- display: "flex",
2411
2829
  alignItems: "center",
2412
- justifyContent: "flex-start",
2413
- padding: "10px",
2414
- height: "max-content",
2830
+ padding: "var(--sl-spacing-small)",
2831
+ whiteSpace: "nowrap",
2415
2832
  },
2416
2833
  "& sl-icon::part(base)": {
2417
2834
  color: "var(--sl-color-yellow-500)",
@@ -2427,9 +2844,9 @@ const style$3 = {
2427
2844
  marginBottom: "var(--sl-spacing-small)",
2428
2845
  },
2429
2846
  };
2430
- const sheet$3 = JSS.createStyleSheet(style$3);
2431
- const styleString$3 = sheet$3.toString();
2432
- const vanillaStyle$2 = `
2847
+ const sheet$4 = JSS.createStyleSheet(style$4);
2848
+ const styleString$4 = sheet$4.toString();
2849
+ const vanillaStyle$3 = `
2433
2850
  :host{
2434
2851
  display: block;
2435
2852
  }
@@ -2448,61 +2865,81 @@ const vanillaStyle$2 = `
2448
2865
  const IndirectTaxFormView = (props) => {
2449
2866
  var _a;
2450
2867
  const { states, states: { formState }, callbacks, text, refs, slots, } = props;
2451
- const { classes } = sheet$3;
2452
- return (index$1.h("sl-form", { class: classes.FormWrapper, "onSl-submit": callbacks.onSubmit, ref: (el) => (refs.formRef.current = el), novalidate: true },
2453
- index$1.h("style", { type: "text/css" },
2454
- styleString$3,
2455
- vanillaStyle$2),
2456
- index$1.h("div", { class: classes.TextContainer },
2457
- index$1.h("div", null,
2458
- !states.hideSteps && (index$1.h("p", null,
2868
+ const { classes } = sheet$4;
2869
+ return (index.h("sl-form", { class: classes.FormWrapper, "onSl-submit": callbacks.onSubmit, ref: (el) => (refs.formRef.current = el), novalidate: true },
2870
+ index.h("style", { type: "text/css" },
2871
+ styleString$4,
2872
+ vanillaStyle$3),
2873
+ index.h("div", { class: classes.TextContainer },
2874
+ index.h("div", null,
2875
+ !states.hideSteps && (index.h("p", null,
2459
2876
  " ",
2460
2877
  global.intl.formatMessage({
2461
2878
  id: "formStep",
2462
2879
  defaultMessage: text.formStep,
2463
2880
  }, { step: states.step, count: FORM_STEPS }))),
2464
- index$1.h("h3", null, text.indirectTax),
2465
- index$1.h("p", { class: classes.PageDescriptionText }, text.taxAndPayoutsDescription),
2466
- index$1.h("p", { class: classes.DescriptionText }, text.indirectTaxDescription)),
2467
- states.loadingError && (index$1.h("div", null,
2468
- index$1.h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", open: true, class: sheet$3.classes.AlertContainer },
2469
- index$1.h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
2470
- index$1.h("strong", null, text.error.loadingErrorAlertHeader),
2471
- index$1.h("br", null),
2472
- text.error.loadingErrorAlertDescription))),
2473
- ((_a = formState.errors) === null || _a === void 0 ? void 0 : _a.general) && (index$1.h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "warning", open: true, class: sheet$3.classes.AlertContainer },
2474
- index$1.h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
2475
- index$1.h("strong", null, text.error.generalTitle),
2476
- index$1.h("br", null),
2477
- text.error.generalDescription)),
2478
- states.isPartner && (index$1.h("sl-alert", { type: "primary", open: true, class: sheet$3.classes.PartnerAlertContainer, exportparts: "base: alert-base, icon:alert-icon" },
2479
- index$1.h("sl-icon", { slot: "icon", name: "info-circle" }),
2480
- index$1.h("strong", null, text.isPartnerAlertHeader),
2481
- index$1.h("br", null),
2482
- text.isPartnerAlertDescription)),
2483
- index$1.h("div", null,
2484
- index$1.h("h4", null, text.indirectTaxDetails))),
2485
- states.loading ? (index$1.h("sl-spinner", { style: { fontSize: "50px", margin: "40px" } })) : (index$1.h("div", null,
2486
- index$1.h("div", { class: classes.RadioContainer },
2487
- index$1.h("div", { class: classes.InnerRadioContainer },
2488
- index$1.h("sl-radio", { exportparts: "base: radio-base", name: "/checked", value: "notRegistered", id: "notRegistered", checked: formState.checked === "notRegistered", onInput: () => callbacks.onChange("notRegistered"), disabled: states.disabled || states.isPartner },
2489
- index$1.h("div", { class: classes.RadioContent },
2881
+ index.h("h3", null, text.indirectTax),
2882
+ index.h("p", { class: classes.PageDescriptionText }, text.taxAndPayoutsDescription),
2883
+ index.h("p", { class: classes.DescriptionText }, text.indirectTaxDescription)),
2884
+ states.loadingError && (index.h("div", null,
2885
+ index.h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", open: true, class: sheet$4.classes.AlertContainer },
2886
+ index.h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
2887
+ index.h("strong", null, text.error.loadingErrorAlertHeader),
2888
+ index.h("br", null),
2889
+ global.intl.formatMessage({
2890
+ id: "loadingErrorAlertDescription",
2891
+ defaultMessage: text.error.loadingErrorAlertDescription,
2892
+ }, {
2893
+ supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
2894
+ })))),
2895
+ ((_a = formState.errors) === null || _a === void 0 ? void 0 : _a.general) && (index.h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "warning", open: true, class: sheet$4.classes.AlertContainer },
2896
+ index.h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
2897
+ index.h("strong", null, text.error.generalTitle),
2898
+ index.h("br", null),
2899
+ global.intl.formatMessage({
2900
+ id: "generalDescription",
2901
+ defaultMessage: text.error.generalDescription,
2902
+ }, {
2903
+ supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
2904
+ }))),
2905
+ states.isPartner && (index.h("sl-alert", { type: "primary", open: true, class: sheet$4.classes.PartnerAlertContainer, exportparts: "base: alert-base, icon:alert-icon" },
2906
+ index.h("sl-icon", { slot: "icon", name: "info-circle" }),
2907
+ index.h("strong", null, text.isPartnerAlertHeader),
2908
+ index.h("br", null),
2909
+ global.intl.formatMessage({
2910
+ id: "isPartnerAlertDescription",
2911
+ defaultMessage: text.isPartnerAlertDescription,
2912
+ }, {
2913
+ supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
2914
+ }))),
2915
+ index.h("div", null,
2916
+ index.h("h4", null, text.indirectTaxDetails))),
2917
+ states.loading ? (index.h("sl-spinner", { style: { fontSize: "50px", margin: "40px" } })) : (index.h("div", null,
2918
+ index.h("div", { class: classes.RadioContainer },
2919
+ index.h("div", { class: classes.InnerRadioContainer },
2920
+ index.h("sl-radio", { exportparts: "base: radio-base", name: "/checked", value: "notRegistered", id: "notRegistered", checked: formState.checked === "notRegistered", onInput: () => callbacks.onChange("notRegistered"), disabled: states.disabled || states.isPartner },
2921
+ index.h("div", { class: classes.RadioContent },
2490
2922
  text.notRegistered,
2491
- index$1.h("p", { class: classes.DescriptionText }, text.notRegisteredSubtext))),
2492
- index$1.h("sl-radio", { exportparts: "base: radio-base", name: "/checked", value: "otherRegion", id: "otherRegion", checked: formState.checked === "otherRegion", onInput: () => callbacks.onChange("otherRegion"), disabled: states.disabled || states.isPartner },
2493
- index$1.h("div", { class: classes.RadioContent },
2923
+ index.h("p", { class: classes.DescriptionText }, text.notRegisteredSubtext))),
2924
+ index.h("sl-radio", { exportparts: "base: radio-base", name: "/checked", value: "otherRegion", id: "otherRegion", checked: formState.checked === "otherRegion", onInput: () => callbacks.onChange("otherRegion"), disabled: states.disabled || states.isPartner },
2925
+ index.h("div", { class: classes.RadioContent },
2494
2926
  text.otherRegion,
2495
- index$1.h("p", { class: classes.DescriptionText }, text.otherRegionSubtext))),
2927
+ index.h("p", { class: classes.DescriptionText }, text.otherRegionSubtext))),
2496
2928
  slots.registeredInDifferentCountryDetailsSlot)),
2497
- index$1.h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "primary", open: true, class: classes.InfoAlert },
2498
- index$1.h("sl-icon", { class: classes.InfoWarningIcon, slot: "icon", name: "exclamation-triangle" }),
2499
- text.cannotChangeInfoAlert),
2500
- index$1.h("div", { class: classes.BtnContainer },
2501
- index$1.h("sl-button", { type: "primary", disabled: states.disabled, submit: true, exportparts: "base: primarybutton-base" }, text.continueButton),
2502
- index$1.h("sl-button", { class: classes.SecondaryBtn, type: "text", disabled: states.disabled, onClick: callbacks.onBack, exportparts: "base: secondarybutton-base" }, text.backButton))))));
2929
+ index.h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "primary", open: true, class: classes.InfoAlert },
2930
+ index.h("sl-icon", { class: classes.InfoWarningIcon, slot: "icon", name: "exclamation-triangle" }),
2931
+ global.intl.formatMessage({
2932
+ id: "cannotChangeInfoAlert",
2933
+ defaultMessage: text.cannotChangeInfoAlert,
2934
+ }, {
2935
+ supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
2936
+ })),
2937
+ index.h("div", { class: classes.BtnContainer },
2938
+ index.h("sl-button", { type: "primary", disabled: states.disabled, submit: true, exportparts: "base: primarybutton-base" }, text.continueButton),
2939
+ index.h("sl-button", { class: classes.SecondaryBtn, type: "text", disabled: states.disabled, onClick: callbacks.onBack, exportparts: "base: secondarybutton-base" }, text.backButton))))));
2503
2940
  };
2504
2941
 
2505
- const CONNECT_PARTNER = index.dist.gql `
2942
+ const CONNECT_PARTNER = index_module.dist.gql `
2506
2943
  mutation createImpactConnection($vars: ImpactConnectionInput!) {
2507
2944
  createImpactConnection(impactConnectionInput: $vars) {
2508
2945
  success
@@ -2666,6 +3103,8 @@ function useIndirectTaxForm(props) {
2666
3103
  const resultPublisher = (_e = (_d = (_c = result
2667
3104
  .createImpactConnection) === null || _c === void 0 ? void 0 : _c.user) === null || _d === void 0 ? void 0 : _d.impactConnection) === null || _e === void 0 ? void 0 : _e.publisher;
2668
3105
  const hasValidCurrentDocument = sqmInvoiceTableView.validTaxDocument(resultPublisher === null || resultPublisher === void 0 ? void 0 : resultPublisher.requiredTaxDocumentType) && (resultPublisher === null || resultPublisher === void 0 ? void 0 : resultPublisher.currentTaxDocument);
3106
+ // Fire form change event
3107
+ window.dispatchEvent(new Event(usePayoutStatus.TAX_FORM_UPDATED_EVENT_KEY));
2669
3108
  if ((resultPublisher === null || resultPublisher === void 0 ? void 0 : resultPublisher.requiredTaxDocumentType) &&
2670
3109
  !hasValidCurrentDocument) {
2671
3110
  // Go to docusign form
@@ -2738,7 +3177,7 @@ function useIndirectTaxForm(props) {
2738
3177
 
2739
3178
  const IndirectTaxForm = class {
2740
3179
  constructor(hostRef) {
2741
- index$1.registerInstance(this, hostRef);
3180
+ index.registerInstance(this, hostRef);
2742
3181
  /**
2743
3182
  * @uiName Setup progress
2744
3183
  */
@@ -2824,7 +3263,7 @@ const IndirectTaxForm = class {
2824
3263
  * @uiName Submission confirmation alert
2825
3264
  * @uiWidget textArea
2826
3265
  */
2827
- this.cannotChangeInfoAlert = "Changes to your personal and indirect tax information can only be made through our Support team after you complete this step. Make sure these are correct before continuing.";
3266
+ this.cannotChangeInfoAlert = "Changes to your personal and indirect tax information can only be made through our {supportLink} after you complete this step. Make sure these are correct before continuing.";
2828
3267
  /**
2829
3268
  * @uiName Missing indirect tax number error message
2830
3269
  */
@@ -2850,11 +3289,15 @@ const IndirectTaxForm = class {
2850
3289
  * @uiName Participant is a partner alert description
2851
3290
  * @uiWidget textArea
2852
3291
  */
2853
- this.isPartnerAlertDescription = "If you don’t recognize this referral program provider or believe this is a mistake, please contact Support or sign up for this referral program with a different email.";
3292
+ this.isPartnerAlertDescription = "If you don’t recognize this referral program provider or believe this is a mistake, please contact our {supportLink} or sign up for this referral program with a different email.";
2854
3293
  /**
2855
3294
  * @uiName Continue button label
2856
3295
  */
2857
3296
  this.continueButton = "Continue";
3297
+ /**
3298
+ * @uiName Support link text
3299
+ */
3300
+ this.supportLink = "support team";
2858
3301
  /**
2859
3302
  * Part of the alert displayed at the top of the page.
2860
3303
  * @uiName Form submission error message title
@@ -2866,7 +3309,7 @@ const IndirectTaxForm = class {
2866
3309
  * @uiName Form submission error message description
2867
3310
  * @uiWidget textArea
2868
3311
  */
2869
- this.generalErrorDescription = "Please review your information and try again. If this problem continues, contact Support.";
3312
+ this.generalErrorDescription = "Please review your information and try again. If this problem continues, contact our {supportLink}.";
2870
3313
  /**
2871
3314
  * Part of the alert displayed at the top of the page.
2872
3315
  * @uiName Page load error message title
@@ -2878,13 +3321,13 @@ const IndirectTaxForm = class {
2878
3321
  * @uiName Page load error message description
2879
3322
  * @uiWidget textArea
2880
3323
  */
2881
- this.loadingErrorAlertDescription = "Please refresh the page and try again. If this problem continues, contact Support.";
3324
+ this.loadingErrorAlertDescription = "Please refresh the page and try again. If this problem continues, contact our {supportLink}.";
2882
3325
  /**
2883
3326
  * Displayed at the top of the page on all set up steps.
2884
3327
  * @uiName Page description
2885
3328
  */
2886
3329
  this.taxAndPayoutsDescription = "Submit your tax documents and add your banking information to receive your rewards.";
2887
- stencilHooks_module.h(this);
3330
+ stencilHooks_module.h$1(this);
2888
3331
  }
2889
3332
  disconnectedCallback() { }
2890
3333
  getTextProps() {
@@ -2919,7 +3362,7 @@ const IndirectTaxForm = class {
2919
3362
  const props = index_module.isDemo()
2920
3363
  ? useDemoIndirectTaxForm(this)
2921
3364
  : useIndirectTaxForm(this);
2922
- const registeredInDifferentCountryDetailsSlot = (index$1.h(sqmInvoiceTableView.OtherRegionSlotView, { states: {
3365
+ const registeredInDifferentCountryDetailsSlot = (index.h(sqmInvoiceTableView.OtherRegionSlotView, { states: {
2923
3366
  hide: props.states.formState.checked !== "otherRegion",
2924
3367
  disabled: props.states.disabled || props.states.isPartner,
2925
3368
  formState: props.slotProps.formState,
@@ -2931,7 +3374,7 @@ const IndirectTaxForm = class {
2931
3374
  provinces: props.data.provinces,
2932
3375
  allCountries: props.data.allCountries,
2933
3376
  }, text: props.text.slotText }));
2934
- return (index$1.h(index$1.Host, null, index$1.h(IndirectTaxFormView, { callbacks: props.callbacks, states: props.states, refs: props.refs, text: props.text, slots: {
3377
+ return (index.h(index.Host, null, index.h(IndirectTaxFormView, { callbacks: props.callbacks, states: props.states, refs: props.refs, text: props.text, slots: {
2935
3378
  registeredInDifferentCountryDetailsSlot,
2936
3379
  } })));
2937
3380
  }
@@ -3021,7 +3464,7 @@ function useDemoIndirectTaxForm(props) {
3021
3464
 
3022
3465
  const debug = stencilHooks_module.browser("sq:useInvoiceTable");
3023
3466
  const CSS_NAMESPACE = "sqm-invoice-table";
3024
- const GET_INVOICES = index.dist.gql `
3467
+ const GET_INVOICES = index_module.dist.gql `
3025
3468
  query getUserTaxInfo($limit: Int!, $offset: Int!) {
3026
3469
  user: viewer {
3027
3470
  ... on User {
@@ -3082,7 +3525,7 @@ function useInvoiceTable(props, emptyElement, loadingElement) {
3082
3525
  netEarnings: `${invoice.currency}${((_c = (invoice.totalAmount - invoice.totalVatAmount)) === null || _c === void 0 ? void 0 : _c.toFixed(2)) || "0.00"}`,
3083
3526
  downloadUrl: invoice.downloadUrl,
3084
3527
  };
3085
- const cellPromise = columnComponents === null || columnComponents === void 0 ? void 0 : columnComponents.map(async (c) => tryMethod(c, () => c.renderCell(invoiceData, { locale }, index$1.h)));
3528
+ const cellPromise = columnComponents === null || columnComponents === void 0 ? void 0 : columnComponents.map(async (c) => tryMethod(c, () => c.renderCell(invoiceData, { locale }, index.h)));
3086
3529
  const cells = (await Promise.all(cellPromise));
3087
3530
  return cells;
3088
3531
  });
@@ -3151,7 +3594,7 @@ async function tryMethod(c, callback) {
3151
3594
  // renderLabel did not return a promise, so this method probably doesn't exist
3152
3595
  // therefore, we IGNORE the label
3153
3596
  debug("label promise failed", e);
3154
- return index$1.h("span", null);
3597
+ return index.h("span", null);
3155
3598
  }
3156
3599
  try {
3157
3600
  return await labelPromise;
@@ -3161,8 +3604,8 @@ async function tryMethod(c, callback) {
3161
3604
  // This should not happen so we fail fast
3162
3605
  debug("Error rendering label", e);
3163
3606
  const userError = useReferralTable.generateUserError(e);
3164
- return (index$1.h("details", null,
3165
- index$1.h("summary", null, "Error"),
3607
+ return (index.h("details", null,
3608
+ index.h("summary", null, "Error"),
3166
3609
  userError));
3167
3610
  }
3168
3611
  }
@@ -3189,7 +3632,7 @@ const getMockData = () => {
3189
3632
 
3190
3633
  const InvoiceTable = class {
3191
3634
  constructor(hostRef) {
3192
- index$1.registerInstance(this, hostRef);
3635
+ index.registerInstance(this, hostRef);
3193
3636
  /**
3194
3637
  * Number of invoices displayed per page
3195
3638
  *
@@ -3220,27 +3663,27 @@ const InvoiceTable = class {
3220
3663
  this.emptyStateHeader = "View your invoice details";
3221
3664
  /** @uiName Empty invoice table description */
3222
3665
  this.emptyStateText = "Refer a friend to view the status of your invoices and rewards earned";
3223
- stencilHooks_module.h(this);
3666
+ stencilHooks_module.h$1(this);
3224
3667
  }
3225
3668
  disconnectedCallback() { }
3226
3669
  render() {
3227
- const empty = (index$1.h(EmptySlot, { emptyStateHeader: this.emptyStateHeader, emptyStateText: this.emptyStateText }));
3228
- const loading = index$1.h(LoadingSlot, null);
3670
+ const empty = (index.h(EmptySlot, { emptyStateHeader: this.emptyStateHeader, emptyStateText: this.emptyStateText }));
3671
+ const loading = index.h(LoadingSlot, null);
3229
3672
  const { states, data, callbacks, elements } = index_module.isDemo()
3230
3673
  ? useInvoiceTableDemo(this, empty, loading)
3231
3674
  : useInvoiceTable(this, empty, loading);
3232
3675
  reRender.useRequestRerender([this.perPage]);
3233
- return (index$1.h(sqmInvoiceTableView.InvoiceTableView, { header: this.header, description: this.description }, index$1.h(GenericTableView.GenericTableView, { states: states, data: data, callbacks: callbacks, elements: elements })));
3676
+ return (index.h(sqmInvoiceTableView.InvoiceTableView, { header: this.header, description: this.description }, index.h(GenericTableView.GenericTableView, { states: states, data: data, callbacks: callbacks, elements: elements })));
3234
3677
  }
3235
3678
  };
3236
3679
  function EmptySlot(props) {
3237
- return (index$1.h("slot", { name: "empty" }, index$1.h("sqm-empty", { "empty-state-image": "https://res.cloudinary.com/saasquatch/image/upload/v1710363322/squatch-assets/invoice-table-empty.png", "empty-state-header": props.emptyStateHeader, "empty-state-text": props.emptyStateText })));
3680
+ return (index.h("slot", { name: "empty" }, index.h("sqm-empty", { "empty-state-image": "https://res.cloudinary.com/saasquatch/image/upload/v1710363322/squatch-assets/invoice-table-empty.png", "empty-state-header": props.emptyStateHeader, "empty-state-text": props.emptyStateText })));
3238
3681
  }
3239
3682
  function LoadingSlot() {
3240
- return (index$1.h("slot", { name: "loading" }, index$1.h(LoadingRow, null), index$1.h(LoadingRow, null), index$1.h(LoadingRow, null), index$1.h(LoadingRow, null)));
3683
+ return (index.h("slot", { name: "loading" }, index.h(LoadingRow, null), index.h(LoadingRow, null), index.h(LoadingRow, null), index.h(LoadingRow, null)));
3241
3684
  }
3242
3685
  function LoadingRow() {
3243
- return (index$1.h("sqm-table-row", null, index$1.h("sqm-table-cell", { colspan: 6 }, index$1.h("sl-skeleton", null))));
3686
+ return (index.h("sqm-table-row", null, index.h("sqm-table-cell", { colspan: 6 }, index.h("sl-skeleton", null))));
3244
3687
  }
3245
3688
  function useInvoiceTableDemo(props, emptyElement, loadingElement) {
3246
3689
  const [content, setContent] = stencilHooks_module.useReducer((state, next) => ({
@@ -3334,9 +3777,9 @@ function useInvoiceTableDemo(props, emptyElement, loadingElement) {
3334
3777
 
3335
3778
  const InvoiceTableDataCell = class {
3336
3779
  constructor(hostRef) {
3337
- index$1.registerInstance(this, hostRef);
3780
+ index.registerInstance(this, hostRef);
3338
3781
  this.ignored = true;
3339
- stencilHooks_module.h(this);
3782
+ stencilHooks_module.h$1(this);
3340
3783
  }
3341
3784
  disconnectedCallback() { }
3342
3785
  render() {
@@ -3346,28 +3789,28 @@ const InvoiceTableDataCell = class {
3346
3789
 
3347
3790
  const InvoiceTableDataColumn = class {
3348
3791
  constructor(hostRef) {
3349
- index$1.registerInstance(this, hostRef);
3350
- stencilHooks_module.h(this);
3792
+ index.registerInstance(this, hostRef);
3793
+ stencilHooks_module.h$1(this);
3351
3794
  }
3352
3795
  disconnectedCallback() { }
3353
3796
  async renderCell(data) {
3354
- return (index$1.h("sqm-invoice-table-data-cell", { data: data[this.property] }));
3797
+ return (index.h("sqm-invoice-table-data-cell", { data: data[this.property] }));
3355
3798
  }
3356
3799
  async renderLabel() {
3357
3800
  return Promise.resolve(this.columnTitle);
3358
3801
  }
3359
3802
  render() {
3360
3803
  reRender.useRequestRerender([this.columnTitle, this.property]);
3361
- return (index$1.h(index$1.Host, { style: { display: "none" } }, index$1.h("slot", null)));
3804
+ return (index.h(index.Host, { style: { display: "none" } }, index.h("slot", null)));
3362
3805
  }
3363
3806
  };
3364
3807
 
3365
3808
  const RewardTableDateCell = class {
3366
3809
  constructor(hostRef) {
3367
- index$1.registerInstance(this, hostRef);
3810
+ index.registerInstance(this, hostRef);
3368
3811
  this.ignored = true;
3369
3812
  this.locale = "en";
3370
- stencilHooks_module.h(this);
3813
+ stencilHooks_module.h$1(this);
3371
3814
  }
3372
3815
  disconnectedCallback() { }
3373
3816
  render() {
@@ -3381,60 +3824,60 @@ const RewardTableDateCell = class {
3381
3824
 
3382
3825
  const InvoiceTableDateColumn = class {
3383
3826
  constructor(hostRef) {
3384
- index$1.registerInstance(this, hostRef);
3385
- stencilHooks_module.h(this);
3827
+ index.registerInstance(this, hostRef);
3828
+ stencilHooks_module.h$1(this);
3386
3829
  }
3387
3830
  disconnectedCallback() { }
3388
3831
  async renderCell(data, options) {
3389
- return (index$1.h("sqm-invoice-table-date-cell", { date: data.dateCreated, locale: options === null || options === void 0 ? void 0 : options.locale }));
3832
+ return (index.h("sqm-invoice-table-date-cell", { date: data.dateCreated, locale: options === null || options === void 0 ? void 0 : options.locale }));
3390
3833
  }
3391
3834
  async renderLabel() {
3392
3835
  return this.columnTitle;
3393
3836
  }
3394
3837
  render() {
3395
3838
  reRender.useRequestRerender([this.columnTitle]);
3396
- return (index$1.h(index$1.Host, { style: { display: "none" } }, index$1.h("slot", null)));
3839
+ return (index.h(index.Host, { style: { display: "none" } }, index.h("slot", null)));
3397
3840
  }
3398
3841
  };
3399
3842
 
3400
3843
  const InvoiceTableDownloadCell = class {
3401
3844
  constructor(hostRef) {
3402
- index$1.registerInstance(this, hostRef);
3845
+ index.registerInstance(this, hostRef);
3403
3846
  this.ignored = true;
3404
- stencilHooks_module.h(this);
3847
+ stencilHooks_module.h$1(this);
3405
3848
  }
3406
3849
  disconnectedCallback() { }
3407
3850
  render() {
3408
3851
  const vanillaStyle = `svg:hover, svg:hover * {
3409
3852
  cursor: pointer;
3410
3853
  }`;
3411
- return (index$1.h(index$1.Host, null, index$1.h("style", null, vanillaStyle), !!this.downloadUrl && (index$1.h("a", { href: this.downloadUrl, target: "_blank" }, index$1.h("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index$1.h("path", { d: "M0.625 12.4375C0.79076 12.4375 0.949732 12.5033 1.06694 12.6206C1.18415 12.7378 1.25 12.8967 1.25 13.0625V16.1875C1.25 16.519 1.3817 16.837 1.61612 17.0714C1.85054 17.3058 2.16848 17.4375 2.5 17.4375H17.5C17.8315 17.4375 18.1495 17.3058 18.3839 17.0714C18.6183 16.837 18.75 16.519 18.75 16.1875V13.0625C18.75 12.8967 18.8158 12.7378 18.9331 12.6206C19.0503 12.5033 19.2092 12.4375 19.375 12.4375C19.5408 12.4375 19.6997 12.5033 19.8169 12.6206C19.9342 12.7378 20 12.8967 20 13.0625V16.1875C20 16.8505 19.7366 17.4864 19.2678 17.9553C18.7989 18.4241 18.163 18.6875 17.5 18.6875H2.5C1.83696 18.6875 1.20107 18.4241 0.732233 17.9553C0.263392 17.4864 0 16.8505 0 16.1875V13.0625C0 12.8967 0.065848 12.7378 0.183058 12.6206C0.300269 12.5033 0.45924 12.4375 0.625 12.4375Z", fill: "#717179" }), index$1.h("path", { d: "M9.5575 14.88C9.61556 14.9382 9.68453 14.9844 9.76046 15.0159C9.83639 15.0474 9.91779 15.0636 10 15.0636C10.0822 15.0636 10.1636 15.0474 10.2395 15.0159C10.3155 14.9844 10.3844 14.9382 10.4425 14.88L14.1925 11.13C14.3099 11.0126 14.3758 10.8535 14.3758 10.6875C14.3758 10.5215 14.3099 10.3624 14.1925 10.245C14.0751 10.1276 13.916 10.0617 13.75 10.0617C13.584 10.0617 13.4249 10.1276 13.3075 10.245L10.625 12.9288V1.9375C10.625 1.77174 10.5592 1.61277 10.4419 1.49556C10.3247 1.37835 10.1658 1.3125 10 1.3125C9.83424 1.3125 9.67527 1.37835 9.55806 1.49556C9.44085 1.61277 9.375 1.77174 9.375 1.9375V12.9288L6.6925 10.245C6.57514 10.1276 6.41597 10.0617 6.25 10.0617C6.08403 10.0617 5.92486 10.1276 5.8075 10.245C5.69014 10.3624 5.62421 10.5215 5.62421 10.6875C5.62421 10.8535 5.69014 11.0126 5.8075 11.13L9.5575 14.88Z", fill: "#717179" }))))));
3854
+ return (index.h(index.Host, null, index.h("style", null, vanillaStyle), !!this.downloadUrl && (index.h("a", { href: this.downloadUrl, target: "_blank" }, index.h("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index.h("path", { d: "M0.625 12.4375C0.79076 12.4375 0.949732 12.5033 1.06694 12.6206C1.18415 12.7378 1.25 12.8967 1.25 13.0625V16.1875C1.25 16.519 1.3817 16.837 1.61612 17.0714C1.85054 17.3058 2.16848 17.4375 2.5 17.4375H17.5C17.8315 17.4375 18.1495 17.3058 18.3839 17.0714C18.6183 16.837 18.75 16.519 18.75 16.1875V13.0625C18.75 12.8967 18.8158 12.7378 18.9331 12.6206C19.0503 12.5033 19.2092 12.4375 19.375 12.4375C19.5408 12.4375 19.6997 12.5033 19.8169 12.6206C19.9342 12.7378 20 12.8967 20 13.0625V16.1875C20 16.8505 19.7366 17.4864 19.2678 17.9553C18.7989 18.4241 18.163 18.6875 17.5 18.6875H2.5C1.83696 18.6875 1.20107 18.4241 0.732233 17.9553C0.263392 17.4864 0 16.8505 0 16.1875V13.0625C0 12.8967 0.065848 12.7378 0.183058 12.6206C0.300269 12.5033 0.45924 12.4375 0.625 12.4375Z", fill: "#717179" }), index.h("path", { d: "M9.5575 14.88C9.61556 14.9382 9.68453 14.9844 9.76046 15.0159C9.83639 15.0474 9.91779 15.0636 10 15.0636C10.0822 15.0636 10.1636 15.0474 10.2395 15.0159C10.3155 14.9844 10.3844 14.9382 10.4425 14.88L14.1925 11.13C14.3099 11.0126 14.3758 10.8535 14.3758 10.6875C14.3758 10.5215 14.3099 10.3624 14.1925 10.245C14.0751 10.1276 13.916 10.0617 13.75 10.0617C13.584 10.0617 13.4249 10.1276 13.3075 10.245L10.625 12.9288V1.9375C10.625 1.77174 10.5592 1.61277 10.4419 1.49556C10.3247 1.37835 10.1658 1.3125 10 1.3125C9.83424 1.3125 9.67527 1.37835 9.55806 1.49556C9.44085 1.61277 9.375 1.77174 9.375 1.9375V12.9288L6.6925 10.245C6.57514 10.1276 6.41597 10.0617 6.25 10.0617C6.08403 10.0617 5.92486 10.1276 5.8075 10.245C5.69014 10.3624 5.62421 10.5215 5.62421 10.6875C5.62421 10.8535 5.69014 11.0126 5.8075 11.13L9.5575 14.88Z", fill: "#717179" }))))));
3412
3855
  }
3413
3856
  };
3414
3857
 
3415
3858
  const InvoiceTableGenericColumn = class {
3416
3859
  constructor(hostRef) {
3417
- index$1.registerInstance(this, hostRef);
3418
- stencilHooks_module.h(this);
3860
+ index.registerInstance(this, hostRef);
3861
+ stencilHooks_module.h$1(this);
3419
3862
  }
3420
3863
  disconnectedCallback() { }
3421
3864
  async renderCell(data) {
3422
- return (index$1.h("sqm-invoice-table-download-cell", { downloadUrl: data.downloadUrl }));
3865
+ return (index.h("sqm-invoice-table-download-cell", { downloadUrl: data.downloadUrl }));
3423
3866
  }
3424
3867
  async renderLabel() {
3425
- return index$1.h("span", null);
3868
+ return index.h("span", null);
3426
3869
  }
3427
3870
  render() {
3428
- return (index$1.h(index$1.Host, { style: { display: "none" } }, index$1.h("slot", null)));
3871
+ return (index.h(index.Host, { style: { display: "none" } }, index.h("slot", null)));
3429
3872
  }
3430
3873
  };
3431
3874
 
3432
- const PayPalIcon = () => (index$1.h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "17", height: "20", viewBox: "0 0 17 20", fill: "none" },
3433
- index$1.h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M7.20649 4.55454H12.7877C15.7842 4.55454 16.9137 6.08577 16.7343 8.34231C16.4486 12.0629 14.2228 14.118 11.2728 14.118H9.78446C9.37916 14.118 9.10675 14.3866 9.00044 15.1254L8.36923 19.39C8.32937 19.6653 8.1832 19.8265 7.97058 19.8467H4.46242C4.13021 19.8467 4.01725 19.5915 4.10363 19.0408L6.23643 5.36045C6.32281 4.81646 6.61515 4.55454 7.20649 4.55454Z", fill: "#009EE3" }),
3434
- index$1.h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M3.71826 -0.15332H9.30607C10.8808 -0.15332 12.7478 -0.099593 13.9903 1.00853C14.8208 1.754 15.2593 2.936 15.1597 4.21203C14.8142 8.52364 12.2694 10.9347 8.84762 10.9347H6.09026C5.61852 10.9347 5.31288 11.2503 5.18 12.0965L4.40926 17.0461C4.35611 17.3685 4.22323 17.5566 3.97739 17.5767H0.53567C0.156948 17.5767 0.0174187 17.2879 0.117082 16.6432L2.59539 0.786908C2.69505 0.148896 3.04055 -0.15332 3.71826 -0.15332Z", fill: "#113984" }),
3435
- index$1.h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M5.25973 11.5995L6.23643 5.36045C6.32281 4.81646 6.61515 4.54782 7.20649 4.54782H12.7877C13.7112 4.54782 14.4554 4.69557 15.0401 4.96421C14.4819 8.799 12.0236 10.9347 8.80775 10.9347H6.06368C5.6916 10.9347 5.42583 11.1227 5.25973 11.5995Z", fill: "#172C70" })));
3875
+ const PayPalIcon = () => (index.h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "17", height: "20", viewBox: "0 0 17 20", fill: "none" },
3876
+ index.h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M7.20649 4.55454H12.7877C15.7842 4.55454 16.9137 6.08577 16.7343 8.34231C16.4486 12.0629 14.2228 14.118 11.2728 14.118H9.78446C9.37916 14.118 9.10675 14.3866 9.00044 15.1254L8.36923 19.39C8.32937 19.6653 8.1832 19.8265 7.97058 19.8467H4.46242C4.13021 19.8467 4.01725 19.5915 4.10363 19.0408L6.23643 5.36045C6.32281 4.81646 6.61515 4.55454 7.20649 4.55454Z", fill: "#009EE3" }),
3877
+ index.h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M3.71826 -0.15332H9.30607C10.8808 -0.15332 12.7478 -0.099593 13.9903 1.00853C14.8208 1.754 15.2593 2.936 15.1597 4.21203C14.8142 8.52364 12.2694 10.9347 8.84762 10.9347H6.09026C5.61852 10.9347 5.31288 11.2503 5.18 12.0965L4.40926 17.0461C4.35611 17.3685 4.22323 17.5566 3.97739 17.5767H0.53567C0.156948 17.5767 0.0174187 17.2879 0.117082 16.6432L2.59539 0.786908C2.69505 0.148896 3.04055 -0.15332 3.71826 -0.15332Z", fill: "#113984" }),
3878
+ index.h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M5.25973 11.5995L6.23643 5.36045C6.32281 4.81646 6.61515 4.54782 7.20649 4.54782H12.7877C13.7112 4.54782 14.4554 4.69557 15.0401 4.96421C14.4819 8.799 12.0236 10.9347 8.80775 10.9347H6.06368C5.6916 10.9347 5.42583 11.1227 5.25973 11.5995Z", fill: "#172C70" })));
3436
3879
 
3437
- const style$4 = {
3880
+ const style$5 = {
3438
3881
  CardContainer: {
3439
3882
  display: "grid",
3440
3883
  gridTemplateColumns: "1fr",
@@ -3568,17 +4011,17 @@ const style$4 = {
3568
4011
  },
3569
4012
  };
3570
4013
  function PayoutDetailsCardView(props) {
3571
- const sheet = JSS.createStyleSheet(style$4);
4014
+ const sheet = JSS.createStyleSheet(style$5);
3572
4015
  const styleString = sheet.toString();
3573
4016
  const { classes } = sheet;
3574
4017
  const { states, text } = props;
3575
4018
  const renderLoadingSkeleton = () => {
3576
- return (index$1.h("div", { class: classes.CardContainer },
3577
- index$1.h("div", { class: classes.StatusContainer },
3578
- index$1.h("sl-skeleton", { class: classes.SkeletonOne }),
3579
- index$1.h("sl-skeleton", { class: classes.SkeletonTwo })),
3580
- index$1.h("sl-skeleton", { class: classes.SkeletonThree }),
3581
- index$1.h("sl-skeleton", { class: classes.SkeletonOne })));
4019
+ return (index.h("div", { class: classes.CardContainer },
4020
+ index.h("div", { class: classes.StatusContainer },
4021
+ index.h("sl-skeleton", { class: classes.SkeletonOne }),
4022
+ index.h("sl-skeleton", { class: classes.SkeletonTwo })),
4023
+ index.h("sl-skeleton", { class: classes.SkeletonThree }),
4024
+ index.h("sl-skeleton", { class: classes.SkeletonOne })));
3582
4025
  };
3583
4026
  const renderStatusBadge = (status, statusBadgeText) => {
3584
4027
  const badgeType = status === "nextPayout" ? "success" : "primary";
@@ -3588,7 +4031,7 @@ function PayoutDetailsCardView(props) {
3588
4031
  }, {
3589
4032
  badgeText: status,
3590
4033
  });
3591
- return (index$1.h("sl-badge", { pill: true, type: badgeType }, statusText));
4034
+ return (index.h("sl-badge", { pill: true, type: badgeType }, statusText));
3592
4035
  };
3593
4036
  const thresholdText = global.intl.formatMessage({
3594
4037
  id: "thresholdText",
@@ -3596,16 +4039,11 @@ function PayoutDetailsCardView(props) {
3596
4039
  }, {
3597
4040
  thresholdBalance: states.thresholdBalance,
3598
4041
  });
3599
- return (index$1.h("div", { class: classes.Container },
3600
- index$1.h("style", { type: "text/css" }, styleString),
3601
- states.error && (index$1.h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", class: classes.Alert, type: "warning", open: true },
3602
- index$1.h("sl-icon", { slot: "icon", name: "exclamation-triangle" }),
3603
- index$1.h("div", { class: classes.AlertContent },
3604
- index$1.h("b", null, text.error.errorTitleText),
3605
- text.error.errorDescriptionText))),
3606
- states.loading ? (renderLoadingSkeleton()) : (index$1.h("div", { class: classes.CardContainer },
3607
- index$1.h("div", { class: classes.StatusContainer },
3608
- index$1.h("p", { class: classes.SubduedRegularText }, states.badgeStatus === "thresholdPayout"
4042
+ return (index.h("div", { class: classes.Container },
4043
+ index.h("style", { type: "text/css" }, styleString),
4044
+ states.loading ? (renderLoadingSkeleton()) : (index.h("div", { class: classes.CardContainer },
4045
+ index.h("div", { class: classes.StatusContainer },
4046
+ index.h("p", { class: classes.SubduedRegularText }, states.badgeStatus === "thresholdPayout"
3609
4047
  ? states.thresholdBalance
3610
4048
  ? thresholdText
3611
4049
  : ""
@@ -3613,11 +4051,11 @@ function PayoutDetailsCardView(props) {
3613
4051
  states.badgeStatus === "thresholdPayout"
3614
4052
  ? null
3615
4053
  : renderStatusBadge(states.badgeStatus, text.statusBadgeText)),
3616
- index$1.h("h1", { class: classes.MainCurrency }, states.balance),
3617
- states.payoutType === "PAYPAL" ? (index$1.h("div", { class: classes.PaypalDetailsContainer },
3618
- index$1.h("span", { class: classes.PaypalEmail }, states.paypalEmailAddress),
3619
- index$1.h(PayPalIcon, null))) : (index$1.h("div", { class: classes.AccountDetailsContainer },
3620
- index$1.h("span", null, states.cardNumberPreview
4054
+ index.h("h1", { class: classes.MainCurrency }, states.balance),
4055
+ states.payoutType === "PAYPAL" ? (index.h("div", { class: classes.PaypalDetailsContainer },
4056
+ index.h("span", { class: classes.PaypalEmail }, states.paypalEmailAddress),
4057
+ index.h(PayPalIcon, null))) : (index.h("div", { class: classes.AccountDetailsContainer },
4058
+ index.h("span", null, states.cardNumberPreview
3621
4059
  ? `${text.accountText} ${states.cardNumberPreview}`
3622
4060
  : text.payoutMissingInformationText)))))));
3623
4061
  }
@@ -3682,7 +4120,7 @@ function usePayoutDetailsCard(props) {
3682
4120
 
3683
4121
  const PayoutDetailsCard = class {
3684
4122
  constructor(hostRef) {
3685
- index$1.registerInstance(this, hostRef);
4123
+ index.registerInstance(this, hostRef);
3686
4124
  /**
3687
4125
  * Badge text indicating payout status
3688
4126
  * @uiName Payout badge status text
@@ -3698,39 +4136,25 @@ const PayoutDetailsCard = class {
3698
4136
  * @uiName Bank account field label
3699
4137
  */
3700
4138
  this.accountText = "Account";
3701
- /**
3702
- * Part of the alert displayed at the top of the page when there’s been an issue preventing payouts.
3703
- * @uiName Payout error message title
3704
- */
3705
- this.errorTitleText = "Your payout is on hold ";
3706
- /**
3707
- * Part of the alert displayed at the top of the page when there’s been an issue preventing payouts.
3708
- * @uiName Payout error message description
3709
- */
3710
- this.errorDescriptionText = "If you’ve recently added your payout information, please wait while we verify your information. If it’s still on hold after a few days, please contact Support or check your inbox for an email from our referral program provider, impact.com.";
3711
4139
  /**
3712
4140
  * Text displayed for existing publishers that do not have saved banking information.
3713
4141
  * @uiName Payout missing information subtext
3714
4142
  */
3715
4143
  this.payoutMissingInformationText = "Missing banking information, go to Impact.com to resolve.";
3716
- stencilHooks_module.h(this);
4144
+ stencilHooks_module.h$1(this);
3717
4145
  }
3718
4146
  disconnectedCallback() { }
3719
4147
  getTextProps() {
3720
4148
  const props = utils.getProps(this);
3721
4149
  return {
3722
4150
  ...props,
3723
- error: {
3724
- errorTitleText: this.errorTitleText,
3725
- errorDescriptionText: this.errorDescriptionText,
3726
- },
3727
4151
  };
3728
4152
  }
3729
4153
  render() {
3730
4154
  const props = index_module.isDemo()
3731
4155
  ? useDemoPayoutDetailsCard(this)
3732
4156
  : usePayoutDetailsCard(this);
3733
- return (index$1.h(index$1.Host, null, index$1.h(PayoutDetailsCardView, { text: props.text, states: props.states })));
4157
+ return (index.h(index.Host, null, index.h(PayoutDetailsCardView, { text: props.text, states: props.states })));
3734
4158
  }
3735
4159
  };
3736
4160
  function useDemoPayoutDetailsCard(props) {
@@ -3756,51 +4180,33 @@ function useDemoPayoutDetailsCard(props) {
3756
4180
 
3757
4181
  const TableCell = class {
3758
4182
  constructor(hostRef) {
3759
- index$1.registerInstance(this, hostRef);
4183
+ index.registerInstance(this, hostRef);
3760
4184
  /** @uiName Column span */
3761
4185
  this.colspan = 1;
3762
4186
  /** @uiName Padding */
3763
4187
  this.padding = "15px 10px";
3764
4188
  }
3765
4189
  render() {
3766
- return (index$1.h(index$1.Host, { style: { display: "contents" } }, index$1.h("td", { colSpan: this.colspan, style: { padding: this.padding } }, index$1.h("slot", null))));
4190
+ return (index.h(index.Host, { style: { display: "contents" } }, index.h("td", { colSpan: this.colspan, style: { padding: this.padding } }, index.h("slot", null))));
3767
4191
  }
3768
4192
  };
3769
4193
 
3770
4194
  const TableRow = class {
3771
4195
  constructor(hostRef) {
3772
- index$1.registerInstance(this, hostRef);
4196
+ index.registerInstance(this, hostRef);
3773
4197
  /**
3774
4198
  * @uiName Border
3775
4199
  */
3776
4200
  this.border = "1px solid #EAEAEA";
3777
4201
  }
3778
4202
  render() {
3779
- return (index$1.h(index$1.Host, { style: { display: "contents" } }, index$1.h("tr", { style: { border: this.border } }, index$1.h("slot", null))));
4203
+ return (index.h(index.Host, { style: { display: "contents" } }, index.h("tr", { style: { border: this.border } }, index.h("slot", null))));
3780
4204
  }
3781
4205
  };
3782
4206
 
3783
- /**
3784
- * Util function for getting just the props with a certain prefix.
3785
- * @param props Text props on stencil component
3786
- * @param prefix Prefix denoting which group the text prop belongs to
3787
- * @returns A new object with all keys with the prefix provided. The prefix is removed from each key.
3788
- */
3789
- function extractProps(props, prefix) {
3790
- const keys = Object.keys(props).filter((k) => k.startsWith(prefix));
3791
- const formattedProps = keys.reduce((prev, k) => {
3792
- const key = k.replace(prefix, "");
3793
- return {
3794
- ...prev,
3795
- [key]: props[k],
3796
- };
3797
- }, {});
3798
- return formattedProps;
3799
- }
3800
-
3801
4207
  function getCurrentStep(user) {
3802
- var _a;
3803
- if (!((_a = user.impactConnection) === null || _a === void 0 ? void 0 : _a.connected)) {
4208
+ var _a, _b;
4209
+ if (!((_a = user.impactConnection) === null || _a === void 0 ? void 0 : _a.connected) || !((_b = user.impactConnection) === null || _b === void 0 ? void 0 : _b.publisher)) {
3804
4210
  return "/1";
3805
4211
  }
3806
4212
  const { requiredTaxDocumentType, currentTaxDocument, withdrawalSettings, brandedSignup, } = user.impactConnection.publisher;
@@ -3960,7 +4366,7 @@ function useTaxAndCash() {
3960
4366
 
3961
4367
  const TaxAndCashMonolith = class {
3962
4368
  constructor(hostRef) {
3963
- index$1.registerInstance(this, hostRef);
4369
+ index.registerInstance(this, hostRef);
3964
4370
  /*---------------------------------------------------------------------------------
3965
4371
  !IMPORTANT!: Make sure to also change the prop names in the respective component
3966
4372
  -----------------------------------------------------------------------------------*/
@@ -4062,6 +4468,8 @@ const TaxAndCashMonolith = class {
4062
4468
  * @uiGroup Step 1 Properties
4063
4469
  */
4064
4470
  this.step1_searchForCurrencyText = "Search for currency..";
4471
+ /**
4472
+
4065
4473
  /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4066
4474
  STEP 2 PROPS:
4067
4475
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
@@ -4164,7 +4572,7 @@ const TaxAndCashMonolith = class {
4164
4572
  * @uiGroup Step 2 Properties
4165
4573
  * @uiWidget textArea
4166
4574
  */
4167
- this.step2_cannotChangeInfoAlert = "Changes to your personal and indirect tax information can only be made through our Support team after you complete this step. Make sure these are correct before continuing.";
4575
+ this.step2_cannotChangeInfoAlert = "Changes to your personal and indirect tax information can only be made through our {supportLink} after you complete this step. Make sure these are correct before continuing.";
4168
4576
  /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4169
4577
  STEP 3 PROPS:
4170
4578
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
@@ -4237,7 +4645,7 @@ const TaxAndCashMonolith = class {
4237
4645
  * @uiGroup Step 3 Properties
4238
4646
  * @uiWidget textArea
4239
4647
  */
4240
- this.step3_docusignError = "There was a problem displaying this form. Please refresh the page. If this problem continues, contact Support.";
4648
+ this.step3_docusignError = "There was a problem displaying this form. Please refresh the page. If this problem continues, contact our {supportLink}.";
4241
4649
  /**
4242
4650
  * @uiName Refresh page button label
4243
4651
  * @uiGroup Step 3 Properties
@@ -4599,7 +5007,7 @@ const TaxAndCashMonolith = class {
4599
5007
  * @uiGroup Dashboard Properties
4600
5008
  * @uiWidget textArea
4601
5009
  */
4602
- this.dashboard_indirectTaxTooltipSupport = "To make changes to your indirect tax information, please contact Support.";
5010
+ this.dashboard_indirectTaxTooltipSupport = "To make changes to your indirect tax information, please contact our {supportLink}.";
4603
5011
  /**
4604
5012
  * Displayed to participants who have submitted their indirect tax information.
4605
5013
  *
@@ -4622,7 +5030,7 @@ const TaxAndCashMonolith = class {
4622
5030
  * @uiGroup Dashboard Properties
4623
5031
  * @uiWidget textArea
4624
5032
  */
4625
- this.dashboard_notRegisteredForTax = "Not registered for indirect tax. If you’ve previously registered with your tax authority, contact Support to add your information to stay tax compliant.";
5033
+ this.dashboard_notRegisteredForTax = "Not registered for indirect tax. If you’ve previously registered with your tax authority, contact our {supportLink} to add your information to stay tax compliant.";
4626
5034
  /**
4627
5035
  * Displayed to participants registered in Quebec, Canada.
4628
5036
  * @uiName QST indirect tax details
@@ -4694,14 +5102,14 @@ const TaxAndCashMonolith = class {
4694
5102
  * @uiGroup Dashboard Properties
4695
5103
  * @uiWidget textArea
4696
5104
  */
4697
- this.dashboard_errorTitleText = "Your payout is on hold ";
5105
+ this.payoutHoldAlertHeader = "Your payout is on hold";
4698
5106
  /**
4699
5107
  * Part of the alert displayed at the top of the page when there’s been an issue preventing payouts.
4700
5108
  * @uiName Payout error message description
4701
5109
  * @uiGroup Dashboard Properties
4702
5110
  * @uiWidget textArea
4703
5111
  */
4704
- this.dashboard_errorDescriptionText = "If you’ve recently added your payout information, please wait while we verify your information. If it’s still on hold after a few days, please contact Support or check your inbox for an email from our referral program provider, impact.com.";
5112
+ this.payoutHoldAlertDescription = "Please contact our {supportLink} or check your inbox for an email from our referral program provider, impact.com.";
4705
5113
  /**
4706
5114
  * Text displayed for existing publishers that do not have saved banking information.
4707
5115
  * @uiName Payout missing information subtext
@@ -4770,7 +5178,7 @@ const TaxAndCashMonolith = class {
4770
5178
  * @uiGroup General Form Properties
4771
5179
  * @uiWidget textArea
4772
5180
  */
4773
- this.generalErrorDescription = "Please review your information and try again. If this problem continues, contact Support.";
5181
+ this.generalErrorDescription = "Please review your information and try again. If this problem continues, contact our {supportLink}.";
4774
5182
  /**
4775
5183
  * Displayed under a field that is missing required information.
4776
5184
  * @uiName Empty form field error message
@@ -4817,7 +5225,7 @@ const TaxAndCashMonolith = class {
4817
5225
  * @uiGroup General Form Properties
4818
5226
  * @uiWidget textArea
4819
5227
  */
4820
- this.isPartnerAlertDescription = "If you don’t recognize this referral program provider or believe this is a mistake, please contact Support or sign up for this referral program with a different email.";
5228
+ this.isPartnerAlertDescription = "If you don’t recognize this referral program provider or believe this is a mistake, please contact our {supportLink} or sign up for this referral program with a different email.";
4821
5229
  /**
4822
5230
  * Placeholder text displayed in the country search dropdown
4823
5231
  * @uiName Country field placeholder text
@@ -4837,21 +5245,27 @@ const TaxAndCashMonolith = class {
4837
5245
  * @uiGroup General Form Properties
4838
5246
  * @uiWidget textArea
4839
5247
  */
4840
- this.loadingErrorAlertDescription = "Please refresh the page and try again. If this problem continues, contact Support.";
5248
+ this.loadingErrorAlertDescription = "Please refresh the page and try again. If this problem continues, contact our {supportLink}.";
4841
5249
  /**
4842
5250
  * Displayed at the top of the page on all set up steps.
4843
5251
  * @uiName Page description
4844
5252
  * @uiGroup General Form Properties
4845
5253
  */
4846
5254
  this.taxAndPayoutsDescription = "Submit your tax documents and add your banking information to receive your rewards.";
4847
- stencilHooks_module.h(this);
5255
+ /**
5256
+ * Link text for contacting support team
5257
+ * @uiName Suport link text
5258
+ * @uiGroup General Form Properties
5259
+ */
5260
+ this.supportLink = "support team";
5261
+ stencilHooks_module.h$1(this);
4848
5262
  }
4849
5263
  disconnectedCallback() { }
4850
5264
  // this field is required prop
4851
5265
  getGeneralStepTextProps(prefix) {
4852
5266
  const props = utils.getProps(this);
4853
5267
  return {
4854
- ...extractProps(props, prefix),
5268
+ ...extractProps.extractProps(props, prefix),
4855
5269
  generalErrorTitle: props.generalErrorTitle,
4856
5270
  generalErrorDescription: props.generalErrorDescription,
4857
5271
  fieldRequiredError: props.fieldRequiredError,
@@ -4867,6 +5281,7 @@ const TaxAndCashMonolith = class {
4867
5281
  taxAndPayoutsDescription: props.taxAndPayoutsDescription,
4868
5282
  searchForCountryText: props.searchForCountryText,
4869
5283
  formStep: props.formStep,
5284
+ supportLink: props.supportLink,
4870
5285
  };
4871
5286
  }
4872
5287
  render() {
@@ -4875,27 +5290,27 @@ const TaxAndCashMonolith = class {
4875
5290
  // @ts-ignore
4876
5291
  if ((_a = this.demoData) === null || _a === void 0 ? void 0 : _a.showTextProps) {
4877
5292
  const textProps = utils.getProps(this);
4878
- return (index$1.h("div", null, (_b = Object.keys(textProps)) === null || _b === void 0 ? void 0 : _b.map((prop) => {
5293
+ return (index.h("div", null, (_b = Object.keys(textProps)) === null || _b === void 0 ? void 0 : _b.map((prop) => {
4879
5294
  if (prop === "demoData")
4880
5295
  return;
4881
- return (index$1.h("div", null, index$1.h("b", null, prop, ":"), " ", this[prop], index$1.h("hr", null)));
5296
+ return (index.h("div", null, index.h("b", null, prop, ":"), " ", this[prop], index.h("hr", null)));
4882
5297
  })));
4883
5298
  }
4884
5299
  switch (props.step) {
4885
5300
  case "/1":
4886
- return (index$1.h("sqm-user-info-form", Object.assign({}, this.getGeneralStepTextProps("step1_"))));
5301
+ return (index.h("sqm-user-info-form", Object.assign({}, this.getGeneralStepTextProps("step1_"))));
4887
5302
  case "/2":
4888
- return (index$1.h("sqm-indirect-tax-form", Object.assign({}, this.getGeneralStepTextProps("step2_"))));
5303
+ return (index.h("sqm-indirect-tax-form", Object.assign({}, this.getGeneralStepTextProps("step2_"))));
4889
5304
  case "/3":
4890
- return (index$1.h("sqm-docusign-form", Object.assign({}, this.getGeneralStepTextProps("step3_"))));
5305
+ return (index.h("sqm-docusign-form", Object.assign({}, this.getGeneralStepTextProps("step3_"))));
4891
5306
  case "/4":
4892
- return (index$1.h("sqm-banking-info-form", Object.assign({}, this.getGeneralStepTextProps("step4_"))));
5307
+ return (index.h("sqm-banking-info-form", Object.assign({}, this.getGeneralStepTextProps("step4_"))));
4893
5308
  case "/dashboard":
4894
- return (index$1.h("sqm-tax-and-cash-dashboard", Object.assign({}, this.getGeneralStepTextProps("dashboard_"))));
5309
+ return (index.h("sqm-tax-and-cash-dashboard", Object.assign({}, this.getGeneralStepTextProps("dashboard_"))));
4895
5310
  case "/error":
4896
- return (index$1.h(sqmInvoiceTableView.ErrorView, { loadingErrorAlertHeader: this.loadingErrorAlertHeader, loadingErrorAlertDescription: this.loadingErrorAlertDescription }));
5311
+ return (index.h(sqmInvoiceTableView.ErrorView, { loadingErrorAlertHeader: this.loadingErrorAlertHeader, loadingErrorAlertDescription: this.loadingErrorAlertDescription }));
4897
5312
  }
4898
- return index$1.h(sqmInvoiceTableView.LoadingView, null);
5313
+ return index.h(sqmInvoiceTableView.LoadingView, null);
4899
5314
  }
4900
5315
  };
4901
5316
  function useDemoTaxAndCash(props) {
@@ -4909,12 +5324,47 @@ function useDemoTaxAndCash(props) {
4909
5324
  }, props.demoData || {}, { arrayMerge: (_, a) => a });
4910
5325
  }
4911
5326
 
4912
- const style$5 = {
4913
- WarningAlertContainer: {
5327
+ const style$6 = {
5328
+ ErrorAlertContainer: {
4914
5329
  "&::part(base)": {
4915
5330
  backgroundColor: "var(--sl-color-red-100)",
4916
5331
  borderTop: "none",
4917
5332
  },
5333
+ "& sl-icon::part(base)": {
5334
+ color: "var(--sl-color-danger-500)",
5335
+ },
5336
+ },
5337
+ WarningAlertContainer: {
5338
+ "&::part(base)": {
5339
+ backgroundColor: "var(--sl-color-yellow-100)",
5340
+ borderTop: "none",
5341
+ maxWidth: "600px",
5342
+ },
5343
+ "& sl-icon::part(base)": {
5344
+ color: "var(--sl-color-warning-500)",
5345
+ },
5346
+ },
5347
+ WarningHoldAlertContainer: {
5348
+ marginLeft: "-20px",
5349
+ "&::part(base)": {
5350
+ maxWidth: "850px",
5351
+ border: "none",
5352
+ backgroundColor: "transparent",
5353
+ },
5354
+ "& sl-icon::part(base)": {
5355
+ color: "var(--sl-color-warning-500)",
5356
+ },
5357
+ },
5358
+ ErrorHoldAlertContainer: {
5359
+ marginLeft: "-20px",
5360
+ "&::part(base)": {
5361
+ maxWidth: "850px",
5362
+ border: "none",
5363
+ backgroundColor: "transparent",
5364
+ },
5365
+ "& sl-icon::part(base)": {
5366
+ color: "var(--sl-color-danger-500)",
5367
+ },
4918
5368
  },
4919
5369
  ExpiringSoonAlertContainer: {
4920
5370
  "&::part(base)": {
@@ -5035,6 +5485,7 @@ const style$5 = {
5035
5485
  PageDescriptionText: {
5036
5486
  color: "var(--sl-color-neutral-500)",
5037
5487
  fontSize: "var(--sl-font-size-medium)",
5488
+ marginTop: "0",
5038
5489
  },
5039
5490
  Dialog: {
5040
5491
  "&::part(panel)": {
@@ -5064,23 +5515,96 @@ const style$5 = {
5064
5515
  },
5065
5516
  DialogButton: { margin: "auto", width: "100%" },
5066
5517
  };
5067
- const sheet$4 = JSS.createStyleSheet(style$5);
5068
- const styleString$4 = sheet$4.toString();
5518
+ const sheet$5 = JSS.createStyleSheet(style$6);
5519
+ const styleString$5 = sheet$5.toString();
5069
5520
  const TaxAndCashDashboardView = (props) => {
5070
- var _a;
5521
+ var _a, _b, _c, _d;
5071
5522
  const { states, text, callbacks, slots } = props;
5523
+ function getAlert(status) {
5524
+ switch (status) {
5525
+ case "VERIFICATION:REQUIRED":
5526
+ return {
5527
+ header: text.verificationRequiredHeader,
5528
+ description: global.intl.formatMessage({
5529
+ id: "verificationRequiredDescription",
5530
+ defaultMessage: text.verificationRequiredDescription,
5531
+ }, {
5532
+ supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
5533
+ }),
5534
+ buttonText: text.verificationRequiredButtonText,
5535
+ alertType: "warning",
5536
+ icon: "exclamation-triangle",
5537
+ class: sheet$5.classes.WarningHoldAlertContainer,
5538
+ };
5539
+ case "VERIFICATION:INTERNAL":
5540
+ return {
5541
+ header: text.verificationRequiredInternalHeader,
5542
+ description: global.intl.formatMessage({
5543
+ id: "verificationRequiredInternalDescription",
5544
+ defaultMessage: text.verificationRequiredInternalDescription,
5545
+ }, {
5546
+ supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
5547
+ }),
5548
+ alertType: "warning",
5549
+ icon: "exclamation-triangle",
5550
+ class: sheet$5.classes.WarningHoldAlertContainer,
5551
+ };
5552
+ case "VERIFICATION:REVIEW":
5553
+ return {
5554
+ header: text.verificationReviewInternalHeader,
5555
+ description: global.intl.formatMessage({
5556
+ id: "verificationReviewInternalDescription",
5557
+ defaultMessage: text.verificationReviewInternalDescription,
5558
+ }, {
5559
+ supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
5560
+ }),
5561
+ alertType: "warning",
5562
+ icon: "exclamation-triangle",
5563
+ class: sheet$5.classes.WarningHoldAlertContainer,
5564
+ };
5565
+ case "VERIFICATION:FAILED":
5566
+ return {
5567
+ header: text.verificationFailedInternalHeader,
5568
+ description: global.intl.formatMessage({
5569
+ id: "verificationFailedInternalDescription",
5570
+ defaultMessage: text.verificationFailedInternalDescription,
5571
+ }, {
5572
+ supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
5573
+ }),
5574
+ alertType: "critical",
5575
+ icon: "exclamation-octagon",
5576
+ class: sheet$5.classes.ErrorHoldAlertContainer,
5577
+ };
5578
+ case "HOLD":
5579
+ return {
5580
+ header: text.payoutHoldAlertHeader,
5581
+ description: global.intl.formatMessage({
5582
+ id: "payoutHoldAlertDescription",
5583
+ defaultMessage: text.payoutHoldAlertDescription,
5584
+ }, {
5585
+ supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
5586
+ }),
5587
+ buttonText: null,
5588
+ alertType: "warning",
5589
+ icon: "exclamation-triangle",
5590
+ class: sheet$5.classes.WarningHoldAlertContainer,
5591
+ };
5592
+ default:
5593
+ return;
5594
+ }
5595
+ }
5072
5596
  const statusMap = {
5073
- NOT_VERIFIED: (index$1.h("div", { class: sheet$4.classes.TaxFormDetailsContainer },
5074
- index$1.h("sl-badge", { type: "warning", pill: true }, text.statusTextNotVerified),
5075
- index$1.h("p", null, global.intl.formatMessage({
5597
+ NOT_VERIFIED: (index.h("div", { class: sheet$5.classes.TaxFormDetailsContainer },
5598
+ index.h("sl-badge", { type: "warning", pill: true }, text.statusTextNotVerified),
5599
+ index.h("p", null, global.intl.formatMessage({
5076
5600
  id: `badgeTextAwaitingReview`,
5077
5601
  defaultMessage: text.badgeTextAwaitingReview,
5078
5602
  }, {
5079
5603
  dateSubmitted: states.dateSubmitted,
5080
5604
  })))),
5081
- ACTIVE: (index$1.h("div", { class: sheet$4.classes.TaxFormDetailsContainer },
5082
- index$1.h("sl-badge", { type: "success", pill: true }, text.statusTextActive),
5083
- index$1.h("p", null, global.intl.formatMessage({
5605
+ ACTIVE: (index.h("div", { class: sheet$5.classes.TaxFormDetailsContainer },
5606
+ index.h("sl-badge", { type: "success", pill: true }, text.statusTextActive),
5607
+ index.h("p", null, global.intl.formatMessage({
5084
5608
  id: `badgeTextSubmittedOn`,
5085
5609
  defaultMessage: states.documentType === "W9"
5086
5610
  ? text.badgeTextSubmittedOn
@@ -5088,14 +5612,14 @@ const TaxAndCashDashboardView = (props) => {
5088
5612
  }, {
5089
5613
  dateSubmitted: states.dateSubmitted,
5090
5614
  })))),
5091
- INACTIVE: (index$1.h("div", { class: sheet$4.classes.TaxFormDetailsContainer },
5092
- index$1.h("sl-badge", { type: "danger", pill: true }, text.statusTextNotActive),
5093
- index$1.h("p", null, text.invalidForm))),
5615
+ INACTIVE: (index.h("div", { class: sheet$5.classes.TaxFormDetailsContainer },
5616
+ index.h("sl-badge", { type: "danger", pill: true }, text.statusTextNotActive),
5617
+ index.h("p", null, text.invalidForm))),
5094
5618
  };
5095
5619
  const alertMap = {
5096
- INACTIVE: (index$1.h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", open: true, class: sheet$4.classes.WarningAlertContainer },
5097
- index$1.h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
5098
- index$1.h("strong", null, global.intl.formatMessage({
5620
+ INACTIVE: (index.h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", open: true, class: sheet$5.classes.ErrorAlertContainer },
5621
+ index.h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
5622
+ index.h("strong", null, global.intl.formatMessage({
5099
5623
  id: `taxAlertHeaderNotActive`,
5100
5624
  defaultMessage: states.documentType === "W9"
5101
5625
  ? text.taxAlertHeaderNotActiveW9
@@ -5103,7 +5627,7 @@ const TaxAndCashDashboardView = (props) => {
5103
5627
  }, {
5104
5628
  documentType: states.documentTypeString,
5105
5629
  })),
5106
- index$1.h("br", null),
5630
+ index.h("br", null),
5107
5631
  global.intl.formatMessage({
5108
5632
  id: `taxAlertMessage`,
5109
5633
  defaultMessage: states.documentType === "W9"
@@ -5141,66 +5665,86 @@ const TaxAndCashDashboardView = (props) => {
5141
5665
  });
5142
5666
  }
5143
5667
  };
5144
- return (index$1.h("div", null,
5145
- index$1.h("div", null,
5146
- index$1.h("style", { type: "text/css" }, styleString$4),
5147
- states.loadingError && (index$1.h("div", null,
5148
- index$1.h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", open: true, class: sheet$4.classes.WarningAlertContainer },
5149
- index$1.h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
5150
- index$1.h("strong", null, text.error.loadingErrorAlertHeader),
5151
- index$1.h("br", null),
5152
- text.error.loadingErrorAlertDescription))),
5153
- ((_a = states.errors) === null || _a === void 0 ? void 0 : _a.general) && (index$1.h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", open: true, class: sheet$4.classes.WarningAlertContainer },
5154
- index$1.h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
5155
- index$1.h("strong", null, text.error.generalTitle),
5156
- index$1.h("br", null),
5157
- text.error.generalDescription)),
5158
- index$1.h("sl-dialog", { label: text.replaceTaxFormModalHeader, class: sheet$4.classes.Dialog, open: states.showNewFormDialog, "onSl-hide": callbacks.onNewFormCancel },
5159
- index$1.h("p", null, text.replaceTaxFormModalBodyText),
5160
- index$1.h("sl-button", { slot: "footer", type: "primary", class: sheet$4.classes.DialogButton, onClick: callbacks.onNewFormClick }, text.newFormButton),
5161
- index$1.h("sl-button", { slot: "footer", type: "default", class: sheet$4.classes.DialogButton, onClick: callbacks.onNewFormCancel }, text.cancelButton)),
5668
+ return (index.h("div", null,
5669
+ index.h("div", null,
5670
+ index.h("style", { type: "text/css" }, styleString$5),
5671
+ states.loadingError && (index.h("div", null,
5672
+ index.h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", open: true, class: sheet$5.classes.ErrorAlertContainer },
5673
+ index.h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
5674
+ index.h("strong", null, text.error.loadingErrorAlertHeader),
5675
+ index.h("br", null),
5676
+ global.intl.formatMessage({
5677
+ id: "loadingErrorAlertDescription",
5678
+ defaultMessage: text.error.loadingErrorAlertDescription,
5679
+ }, {
5680
+ supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
5681
+ })))),
5682
+ ((_a = states.errors) === null || _a === void 0 ? void 0 : _a.general) && (index.h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", open: true, class: sheet$5.classes.ErrorAlertContainer },
5683
+ index.h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
5684
+ index.h("strong", null, text.error.generalTitle),
5685
+ index.h("br", null),
5686
+ global.intl.formatMessage({
5687
+ id: "generalDescription",
5688
+ defaultMessage: text.error.generalDescription,
5689
+ }, {
5690
+ supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
5691
+ }))),
5692
+ getAlert(states.payoutStatus) && (index.h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", name: (_b = getAlert(states.payoutStatus)) === null || _b === void 0 ? void 0 : _b.alertType, open: true, class: (_c = getAlert(states.payoutStatus)) === null || _c === void 0 ? void 0 : _c.class },
5693
+ index.h("sl-icon", { slot: "icon", name: (_d = getAlert(states.payoutStatus)) === null || _d === void 0 ? void 0 : _d.icon }),
5694
+ index.h("strong", null, getAlert(states.payoutStatus).header),
5695
+ index.h("p", { style: { margin: "0" } }, getAlert(states.payoutStatus).description),
5696
+ getAlert(states.payoutStatus).buttonText && (index.h("sl-button", { style: { marginTop: "var(--sl-spacing-x-small)" }, type: "default", loading: states.veriffLoading, onClick: () => callbacks.onVerifyClick() }, getAlert(states.payoutStatus).buttonText)))),
5697
+ index.h("sl-dialog", { label: text.replaceTaxFormModalHeader, class: sheet$5.classes.Dialog, open: states.showNewFormDialog, "onSl-hide": callbacks.onNewFormCancel },
5698
+ index.h("p", null, text.replaceTaxFormModalBodyText),
5699
+ index.h("sl-button", { slot: "footer", type: "primary", class: sheet$5.classes.DialogButton, onClick: callbacks.onNewFormClick }, text.newFormButton),
5700
+ index.h("sl-button", { slot: "footer", type: "default", class: sheet$5.classes.DialogButton, onClick: callbacks.onNewFormCancel }, text.cancelButton)),
5162
5701
  states.status === "INACTIVE" && alertMap[states.status],
5163
- index$1.h("div", null,
5164
- index$1.h("h3", null, text.bankingInformationSectionHeader),
5165
- index$1.h("p", { class: sheet$4.classes.PageDescriptionText }, text.taxAndPayoutsDescription),
5166
- index$1.h("div", { class: sheet$4.classes.BankingInformationContainer },
5702
+ index.h("div", null,
5703
+ index.h("h3", { style: { marginBottom: "0" } }, text.bankingInformationSectionHeader),
5704
+ index.h("p", { class: sheet$5.classes.PageDescriptionText }, text.taxAndPayoutsDescription),
5705
+ index.h("div", { class: sheet$5.classes.BankingInformationContainer },
5167
5706
  slots.payoutDetailsCardSlot,
5168
- !states.loading && (index$1.h("p", { class: sheet$4.classes.DescriptionText }, text.payoutFromImpact)),
5169
- states.canEditPayoutInfo && (index$1.h("sl-button", { disabled: states.disabled || states.loading, type: "default", class: sheet$4.classes.EditBankDetailsButton, onClick: callbacks.onEditPayoutInfo }, text.editPaymentInformationButton)))),
5170
- index$1.h("div", { class: sheet$4.classes.TaxDocumentsContainer },
5171
- index$1.h("div", null, states.loading ? (index$1.h("div", { class: sheet$4.classes.TaxSectionSkeletonContainer },
5172
- index$1.h("sl-skeleton", { class: sheet$4.classes.SkeletonOne }),
5173
- index$1.h("sl-skeleton", { class: sheet$4.classes.SkeletonTwo }))) : (index$1.h("div", null, states.noFormNeeded ? (index$1.h("div", null,
5174
- index$1.h("h3", { class: sheet$4.classes.TaxDocumentsSectionHeaderContainer }, text.taxDocumentSectionHeader),
5175
- index$1.h("p", { class: sheet$4.classes.TaxDocSubtext }, text.noFormNeededSubtext))) : (index$1.h("div", null,
5176
- index$1.h("span", { class: sheet$4.classes.TaxFormDetailsContainer },
5177
- index$1.h("div", { class: sheet$4.classes.StatusContainer },
5178
- index$1.h("h3", null, global.intl.formatMessage({
5707
+ !states.loading && (index.h("p", { class: sheet$5.classes.DescriptionText }, text.payoutFromImpact)),
5708
+ states.canEditPayoutInfo && (index.h("sl-button", { disabled: states.disabled || states.loading, type: "default", class: sheet$5.classes.EditBankDetailsButton, onClick: callbacks.onEditPayoutInfo }, text.editPaymentInformationButton)))),
5709
+ index.h("div", { class: sheet$5.classes.TaxDocumentsContainer },
5710
+ index.h("div", null, states.loading ? (index.h("div", { class: sheet$5.classes.TaxSectionSkeletonContainer },
5711
+ index.h("sl-skeleton", { class: sheet$5.classes.SkeletonOne }),
5712
+ index.h("sl-skeleton", { class: sheet$5.classes.SkeletonTwo }))) : (index.h("div", null, states.noFormNeeded ? (index.h("div", null,
5713
+ index.h("h3", { class: sheet$5.classes.TaxDocumentsSectionHeaderContainer }, text.taxDocumentSectionHeader),
5714
+ index.h("p", { class: sheet$5.classes.TaxDocSubtext }, text.noFormNeededSubtext))) : (index.h("div", null,
5715
+ index.h("span", { class: sheet$5.classes.TaxFormDetailsContainer },
5716
+ index.h("div", { class: sheet$5.classes.StatusContainer },
5717
+ index.h("h3", null, global.intl.formatMessage({
5179
5718
  id: "section-subheader",
5180
5719
  defaultMessage: text.taxDocumentSectionSubHeader,
5181
5720
  }, {
5182
5721
  documentType: states.documentTypeString,
5183
5722
  })),
5184
- index$1.h("span", { class: sheet$4.classes.StatusAlert }, statusMap[states.status]))),
5185
- states.status !== "NOT_VERIFIED" && (index$1.h("sl-button", { disabled: states.disabled || states.loading, onClick: callbacks.onClick, type: "default", class: sheet$4.classes.NewFormButton, exportparts: "base: primarybutton-base" }, text.newFormButton)))))))),
5186
- index$1.h("div", { class: sheet$4.classes.IndirectTaxPreviewContainer }, states.loading ? (index$1.h("div", { class: sheet$4.classes.TaxSectionSkeletonContainer },
5187
- index$1.h("sl-skeleton", { class: sheet$4.classes.SkeletonOne }),
5188
- index$1.h("sl-skeleton", { class: sheet$4.classes.SkeletonTwo }))) : (index$1.h("div", null,
5189
- index$1.h("h3", { class: sheet$4.classes.IndirectTaxPreviewHeaderContainer },
5723
+ index.h("span", { class: sheet$5.classes.StatusAlert }, statusMap[states.status]))),
5724
+ states.status !== "NOT_VERIFIED" && (index.h("sl-button", { disabled: states.disabled || states.loading, onClick: callbacks.onClick, type: "default", class: sheet$5.classes.NewFormButton, exportparts: "base: primarybutton-base" }, text.newFormButton)))))))),
5725
+ index.h("div", { class: sheet$5.classes.IndirectTaxPreviewContainer }, states.loading ? (index.h("div", { class: sheet$5.classes.TaxSectionSkeletonContainer },
5726
+ index.h("sl-skeleton", { class: sheet$5.classes.SkeletonOne }),
5727
+ index.h("sl-skeleton", { class: sheet$5.classes.SkeletonTwo }))) : (index.h("div", null,
5728
+ index.h("h3", { class: sheet$5.classes.IndirectTaxPreviewHeaderContainer },
5190
5729
  text.indirectTaxInfoSectionHeader,
5191
- index$1.h("sl-tooltip", { trigger: "hover", placement: "top", content: text.indirectTaxTooltipSupport, class: sheet$4.classes.TooltipContainer },
5192
- index$1.h("sl-icon", { name: "info-circle", class: sheet$4.classes.ToolTip }))),
5193
- index$1.h("div", { class: sheet$4.classes.IndirectTaxPreviewDetails },
5194
- index$1.h("span", null, states.notRegistered ? (index$1.h("span", { class: sheet$4.classes.NotRegisteredIndirectTaxText }, text.notRegisteredForTax)) : (getIndirectTaxRegisteredIn())),
5195
- !states.notRegistered && (index$1.h("div", { class: sheet$4.classes.TaxNumberContainer },
5196
- index$1.h("span", null, global.intl.formatMessage({
5730
+ index.h("sl-tooltip", { trigger: "hover", placement: "top", content: text.indirectTaxTooltipSupport, class: sheet$5.classes.TooltipContainer },
5731
+ index.h("sl-icon", { name: "info-circle", class: sheet$5.classes.ToolTip }))),
5732
+ index.h("div", { class: sheet$5.classes.IndirectTaxPreviewDetails },
5733
+ index.h("span", null, states.notRegistered ? (index.h("span", { class: sheet$5.classes.NotRegisteredIndirectTaxText }, global.intl.formatMessage({
5734
+ id: "notRegisteredForTax",
5735
+ defaultMessage: text.notRegisteredForTax,
5736
+ }, {
5737
+ supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
5738
+ }))) : (getIndirectTaxRegisteredIn())),
5739
+ !states.notRegistered && (index.h("div", { class: sheet$5.classes.TaxNumberContainer },
5740
+ index.h("span", null, global.intl.formatMessage({
5197
5741
  id: `indirectTaxDetails`,
5198
5742
  defaultMessage: text.indirectTaxDetails,
5199
5743
  }, {
5200
5744
  indirectTaxType: states.indirectTaxType,
5201
5745
  indirectTaxNumber: states.indirectTaxNumber,
5202
5746
  })),
5203
- index$1.h("span", null,
5747
+ index.h("span", null,
5204
5748
  states.qstNumber &&
5205
5749
  global.intl.formatMessage({
5206
5750
  id: `qstNumber`,
@@ -5215,14 +5759,14 @@ const TaxAndCashDashboardView = (props) => {
5215
5759
  }, {
5216
5760
  subRegionTaxNumber: states.subRegionTaxNumber,
5217
5761
  })))),
5218
- !states.notRegistered && (index$1.h("div", { class: sheet$4.classes.InvoiceTableContainer },
5219
- index$1.h("sqm-invoice-table", { description: text.invoiceDescription, "prev-label": text.invoicePrevLabel, "more-label": text.invoiceMoreLabel, header: text.invoiceHeader, "empty-state-header": text.invoiceEmptyStateHeader, "empty-state-text": text.invoiceEmptyStateText },
5220
- index$1.h("sqm-invoice-table-download-column", null),
5221
- index$1.h("sqm-invoice-table-date-column", { "column-title": text.dateColumnTitle }),
5222
- index$1.h("sqm-invoice-table-data-column", { "column-title": text.invoiceColumnTitle, property: "invoiceId" }),
5223
- index$1.h("sqm-invoice-table-data-column", { "column-title": text.earningsColumnTitle, property: "earnings" }),
5224
- index$1.h("sqm-invoice-table-data-column", { "column-title": text.indirectTaxColumnTitle, property: "indirectTax" }),
5225
- index$1.h("sqm-invoice-table-data-column", { "column-title": text.earningsAfterTaxColumnTitle, property: "netEarnings" })))))))))));
5762
+ !states.notRegistered && (index.h("div", { class: sheet$5.classes.InvoiceTableContainer },
5763
+ index.h("sqm-invoice-table", { description: text.invoiceDescription, "prev-label": text.invoicePrevLabel, "more-label": text.invoiceMoreLabel, header: text.invoiceHeader, "empty-state-header": text.invoiceEmptyStateHeader, "empty-state-text": text.invoiceEmptyStateText },
5764
+ index.h("sqm-invoice-table-download-column", null),
5765
+ index.h("sqm-invoice-table-date-column", { "column-title": text.dateColumnTitle }),
5766
+ index.h("sqm-invoice-table-data-column", { "column-title": text.invoiceColumnTitle, property: "invoiceId" }),
5767
+ index.h("sqm-invoice-table-data-column", { "column-title": text.earningsColumnTitle, property: "earnings" }),
5768
+ index.h("sqm-invoice-table-data-column", { "column-title": text.indirectTaxColumnTitle, property: "indirectTax" }),
5769
+ index.h("sqm-invoice-table-data-column", { "column-title": text.earningsAfterTaxColumnTitle, property: "netEarnings" })))))))))));
5226
5770
  };
5227
5771
 
5228
5772
  function getCountryName(countryCode, locale) {
@@ -5260,16 +5804,17 @@ function getIndirectTaxType(taxInformation) {
5260
5804
  return "Indirect Tax";
5261
5805
  }
5262
5806
  const useTaxAndCashDashboard = (props) => {
5263
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
5807
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
5264
5808
  const setStep = index_module.Sn(TAX_CONTEXT_NAMESPACE);
5265
5809
  const setContext = index_module.Sn(TAX_FORM_CONTEXT_NAMESPACE);
5266
5810
  const [showDialog, setShowDialog] = stencilHooks_module.useState(false);
5811
+ const { render, loading: veriffLoading, errors: veriffErrors, } = usePayoutStatus.useVeriffApp();
5267
5812
  const locale = index_module.Q();
5268
5813
  stencilHooks_module.useEffect(() => {
5269
5814
  // Clear override context once on submitted
5270
5815
  setContext({});
5271
5816
  }, []);
5272
- const { data, loading, errors: userError, } = index_module.qn(USER_QUERY_NAMESPACE);
5817
+ const { data, loading, errors: userError, refetch, } = index_module.qn(USER_QUERY_NAMESPACE);
5273
5818
  const publisher = (_b = (_a = data === null || data === void 0 ? void 0 : data.user) === null || _a === void 0 ? void 0 : _a.impactConnection) === null || _b === void 0 ? void 0 : _b.publisher;
5274
5819
  const documentType = publisher === null || publisher === void 0 ? void 0 : publisher.requiredTaxDocumentType;
5275
5820
  const submissionDate = (_c = publisher === null || publisher === void 0 ? void 0 : publisher.currentTaxDocument) === null || _c === void 0 ? void 0 : _c.dateCreated;
@@ -5294,6 +5839,14 @@ const useTaxAndCashDashboard = (props) => {
5294
5839
  setStep("/3");
5295
5840
  };
5296
5841
  const provinceName = (_d = sqmInvoiceTableView.INDIRECT_TAX_PROVINCES.find((p) => { var _a; return p.regionCode === ((_a = publisher === null || publisher === void 0 ? void 0 : publisher.taxInformation) === null || _a === void 0 ? void 0 : _a.indirectTaxRegion); })) === null || _d === void 0 ? void 0 : _d.displayName;
5842
+ const payoutStatus = data ? usePayoutStatus.getStatus(data) : null;
5843
+ stencilHooks_module.useEffect(() => {
5844
+ const cb = () => refetch();
5845
+ window.addEventListener(usePayoutStatus.VERIFF_COMPLETE_EVENT_KEY, cb);
5846
+ return () => {
5847
+ window.removeEventListener(usePayoutStatus.VERIFF_COMPLETE_EVENT_KEY, cb);
5848
+ };
5849
+ }, []);
5297
5850
  return {
5298
5851
  states: {
5299
5852
  dateSubmitted,
@@ -5315,9 +5868,13 @@ const useTaxAndCashDashboard = (props) => {
5315
5868
  loading,
5316
5869
  loadingError: !!(userError === null || userError === void 0 ? void 0 : userError.message),
5317
5870
  showNewFormDialog: showDialog,
5871
+ hasHold: !!((_m = publisher === null || publisher === void 0 ? void 0 : publisher.payoutsAccount) === null || _m === void 0 ? void 0 : _m.hold),
5872
+ payoutStatus,
5873
+ veriffLoading,
5318
5874
  },
5319
5875
  callbacks: {
5320
5876
  onClick: () => setShowDialog(true),
5877
+ onVerifyClick: () => render(),
5321
5878
  onEditPayoutInfo,
5322
5879
  onNewFormCancel: () => setShowDialog(false),
5323
5880
  onNewFormClick,
@@ -5328,7 +5885,7 @@ const useTaxAndCashDashboard = (props) => {
5328
5885
 
5329
5886
  const TaxAndCashDashboard = class {
5330
5887
  constructor(hostRef) {
5331
- index$1.registerInstance(this, hostRef);
5888
+ index.registerInstance(this, hostRef);
5332
5889
  /**
5333
5890
  * @uiName Active tax form badge label
5334
5891
  */
@@ -5443,7 +6000,7 @@ const TaxAndCashDashboard = class {
5443
6000
  * @uiName Indirect tax tooltip
5444
6001
  * @uiWidget textArea
5445
6002
  */
5446
- this.indirectTaxTooltipSupport = "To make changes to your indirect tax information, please contact Support.";
6003
+ this.indirectTaxTooltipSupport = "To make changes to your indirect tax information, please contact our Support team.";
5447
6004
  /**
5448
6005
  * Displayed to participants who have submitted their indirect tax information.
5449
6006
  *
@@ -5463,7 +6020,7 @@ const TaxAndCashDashboard = class {
5463
6020
  * @uiName Not registered for indirect tax text
5464
6021
  * @uiWidget textArea
5465
6022
  */
5466
- this.notRegisteredForTax = "Not registered for indirect tax. If you’ve previously registered with your tax authority, contact Support to add your information to stay tax compliant.";
6023
+ this.notRegisteredForTax = "Not registered for indirect tax. If you’ve previously registered with your tax authority, contact our {supportLink} to add your information to stay tax compliant.";
5467
6024
  /**
5468
6025
  * Displayed to participants registered in Quebec, Canada.
5469
6026
  * @uiName QST indirect tax details
@@ -5492,18 +6049,59 @@ const TaxAndCashDashboard = class {
5492
6049
  * @uiName Payout error message title
5493
6050
  * @uiWidget textArea
5494
6051
  */
5495
- this.errorTitleText = "Your payout is on hold ";
6052
+ this.payoutHoldAlertHeader = "Your payout is on hold";
5496
6053
  /**
5497
6054
  * Part of the alert displayed at the top of the page when there’s been an issue preventing payouts.
5498
6055
  * @uiName Payout error message description
5499
6056
  * @uiWidget textArea
5500
6057
  */
5501
- this.errorDescriptionText = "If you’ve recently added your payout information, please wait while we verify your information. If it’s still on hold after a few days, please contact Support or check your inbox for an email from our referral program provider, impact.com.";
6058
+ this.payoutHoldAlertDescription = "Please contact our {supportLink} or check your inbox for an email from our referral program provider, impact.com.";
5502
6059
  /**
5503
6060
  * Text displayed for existing publishers that do not have saved banking information.
5504
6061
  * @uiName Payout missing information subtext
5505
6062
  */
5506
6063
  this.payoutMissingInformationText = "Missing banking information, go to Impact.com to resolve.";
6064
+ /**
6065
+ * Part of the alert displayed at the top of the page when the user needs to verify their identity.
6066
+ * @uiName Verification required alert message title
6067
+ * @uiWidget textArea
6068
+ */
6069
+ this.verificationRequiredHeader = "Verify your identity";
6070
+ /**
6071
+ * Part of the alert displayed at the top of the page when the user needs to verify their identity
6072
+ * @uiName Verification required alert message description
6073
+ * @uiWidget textArea
6074
+ */
6075
+ this.verificationRequiredDescription = "Complete your verification to start receiving your cash rewards. It should only take a few minutes verify. If you run in to an issue verifying your identity contact our {supportLink}.";
6076
+ /**
6077
+ * @uiName Verification required internal alert header
6078
+ */
6079
+ this.verificationRequiredInternalHeader = "Identity Verification in Progress";
6080
+ /**
6081
+ * @uiName Verification required internal alert description
6082
+ */
6083
+ this.verificationRequiredInternalDescription = "Identity verification submission has been received. Our system is currently performing additional checks and analyzing the results. You will be updated shortly. If you don't hear from us contact our {supportLink}.";
6084
+ /**
6085
+ * @uiName Verification review internal alert header
6086
+ */
6087
+ this.verificationReviewInternalHeader = "Identity Verification Under Review";
6088
+ /**
6089
+ * @uiName Verification review internal alert description
6090
+ */
6091
+ this.verificationReviewInternalDescription = "Identity verification requires further review due to a potential error. Our team is reviewing the information and will update you shortly. If you don't hear from us contact our {supportLink}.";
6092
+ /**
6093
+ * @uiName Verification failed internal alert header
6094
+ */
6095
+ this.verificationFailedInternalHeader = "Identity Verification Unsuccessful";
6096
+ /**
6097
+ * @uiName Verification failed internal alert description
6098
+ */
6099
+ this.verificationFailedInternalDescription = "Identity verification has failed. Our team is reviewing the report and will contact you with further information. If you don't hear from us contact our {supportLink}.";
6100
+ /**
6101
+ * Part of the alert displayed at the top of the page when the user needs to verify their identity.
6102
+ * @uiName Verification required alert button text
6103
+ */
6104
+ this.verificationRequiredButtonText = "Start Verification";
5507
6105
  /**
5508
6106
  * Part of the alert displayed at the top of the page.
5509
6107
  * @uiName Form submission error message title
@@ -5515,7 +6113,7 @@ const TaxAndCashDashboard = class {
5515
6113
  * @uiName Form submission error message description
5516
6114
  * @uiWidget textArea
5517
6115
  */
5518
- this.generalErrorDescription = "Please review your information and try again. If this problem continues, contact Support.";
6116
+ this.generalErrorDescription = "Please review your information and try again. If this problem continues, contact our {supportLink}.";
5519
6117
  /**
5520
6118
  * Displayed under the payout details card.
5521
6119
  * @uiName Payout from impact text
@@ -5533,7 +6131,7 @@ const TaxAndCashDashboard = class {
5533
6131
  * @uiName Page load error message description
5534
6132
  * @uiWidget textArea
5535
6133
  */
5536
- this.loadingErrorAlertDescription = "Please refresh the page and try again. If this problem continues, contact Support.";
6134
+ this.loadingErrorAlertDescription = "Please refresh the page and try again. If this problem continues, contact our {supportLink}.";
5537
6135
  /**
5538
6136
  * Part of the Invoice table displayed at the bottom of the page.
5539
6137
  * @uiName Invoice number column title
@@ -5584,11 +6182,15 @@ const TaxAndCashDashboard = class {
5584
6182
  * @uiName Replace tax form modal body text
5585
6183
  */
5586
6184
  this.replaceTaxFormModalBodyText = "Submitting a new tax form will remove your existing form. Make sure to sign and complete your new tax form to prevent any issues with your next payout.";
6185
+ /**
6186
+ * @uiName Support link text
6187
+ */
6188
+ this.supportLink = "support team";
5587
6189
  /**
5588
6190
  * @uiName Cancel button label
5589
6191
  */
5590
6192
  this.cancelButton = "Cancel";
5591
- stencilHooks_module.h(this);
6193
+ stencilHooks_module.h$1(this);
5592
6194
  }
5593
6195
  disconnectedCallback() { }
5594
6196
  getTextProps() {
@@ -5607,8 +6209,8 @@ const TaxAndCashDashboard = class {
5607
6209
  const props = index_module.isDemo()
5608
6210
  ? useDemoTaxAndCashDashboard(this)
5609
6211
  : useTaxAndCashDashboard(this);
5610
- return (index$1.h(index$1.Host, null, index$1.h(TaxAndCashDashboardView, { callbacks: props.callbacks, states: props.states, text: props.text, slots: {
5611
- payoutDetailsCardSlot: (index$1.h("sqm-payout-details-card", Object.assign({}, this.getTextProps()))),
6212
+ return (index.h(index.Host, null, index.h(TaxAndCashDashboardView, { callbacks: props.callbacks, states: props.states, text: props.text, slots: {
6213
+ payoutDetailsCardSlot: (index.h("sqm-payout-details-card", Object.assign({}, this.getTextProps()))),
5612
6214
  } })));
5613
6215
  }
5614
6216
  };
@@ -5626,12 +6228,17 @@ function useDemoTaxAndCashDashboard(props) {
5626
6228
  disabled: false,
5627
6229
  loading: false,
5628
6230
  showNewFormDialog: false,
6231
+ hasHold: false,
6232
+ showVerifyIdentity: false,
6233
+ payoutStatus: "DONE",
6234
+ veriffLoading: false,
5629
6235
  },
5630
6236
  callbacks: {
5631
6237
  onClick: () => console.debug("check step"),
5632
6238
  onEditPayoutInfo: () => console.debug("payout info"),
5633
6239
  onNewFormCancel: () => console.log("hide"),
5634
6240
  onNewFormClick: () => console.log("show"),
6241
+ onVerifyClick: () => console.log("verify"),
5635
6242
  },
5636
6243
  text: props.getTextProps(),
5637
6244
  }, props.demoData || {}, { arrayMerge: (_, a) => a });
@@ -6608,7 +7215,7 @@ const PHONE_EXTENSIONS = {
6608
7215
  },
6609
7216
  };
6610
7217
 
6611
- const style$6 = {
7218
+ const style$7 = {
6612
7219
  FormWrapper: {},
6613
7220
  ErrorInput: {
6614
7221
  "&::part(base)": {
@@ -6688,7 +7295,6 @@ const style$6 = {
6688
7295
  },
6689
7296
  PhoneInputsSection: {
6690
7297
  display: "flex",
6691
- alignItems: "flex-end",
6692
7298
  flexDirection: "column",
6693
7299
  gap: "4px",
6694
7300
  "& p": {
@@ -6699,7 +7305,6 @@ const style$6 = {
6699
7305
  },
6700
7306
  PhoneInputsContainer: {
6701
7307
  display: "flex",
6702
- alignItems: "flex-end",
6703
7308
  gap: "4px",
6704
7309
  width: "100%",
6705
7310
  "& #phoneNumber": {
@@ -6708,9 +7313,9 @@ const style$6 = {
6708
7313
  },
6709
7314
  },
6710
7315
  };
6711
- const sheet$5 = JSS.createStyleSheet(style$6);
6712
- const styleString$5 = sheet$5.toString();
6713
- const vanillaStyle$3 = `
7316
+ const sheet$6 = JSS.createStyleSheet(style$7);
7317
+ const styleString$6 = sheet$6.toString();
7318
+ const vanillaStyle$4 = `
6714
7319
  :host{
6715
7320
  display: block;
6716
7321
  }
@@ -6738,12 +7343,12 @@ const vanillaStyle$3 = `
6738
7343
  const UserInfoFormView = (props) => {
6739
7344
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u;
6740
7345
  const { states, states: { formState }, callbacks, text, refs, data, } = props;
6741
- const { classes } = sheet$5;
7346
+ const { classes } = sheet$6;
6742
7347
  const bankingCollectionText = global.intl.formatMessage({
6743
7348
  id: "bankingCollectionText",
6744
7349
  defaultMessage: text.allowBankingCollection,
6745
7350
  }, {
6746
- termsAndConditionsLink: (index$1.h("a", { href: text.termsAndConditionsLink, target: "_blank" }, text.termsAndConditionsLabel)),
7351
+ termsAndConditionsLink: (index.h("a", { href: text.termsAndConditionsLink, target: "_blank" }, text.termsAndConditionsLabel)),
6747
7352
  });
6748
7353
  let regionLabel = undefined;
6749
7354
  switch (data.regionLabelEnum) {
@@ -6759,70 +7364,85 @@ const UserInfoFormView = (props) => {
6759
7364
  default:
6760
7365
  regionLabel = text.state;
6761
7366
  }
6762
- return (index$1.h("sl-form", { class: classes.FormWrapper, "onSl-submit": callbacks.onSubmit, ref: (el) => (refs.formRef.current = el), novalidate: true },
6763
- index$1.h("style", { type: "text/css" },
6764
- styleString$5,
6765
- vanillaStyle$3),
6766
- states.loadingError && (index$1.h("div", null,
6767
- index$1.h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", open: true, class: sheet$5.classes.AlertContainer },
6768
- index$1.h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
6769
- index$1.h("strong", null, text.error.loadingErrorAlertHeader),
6770
- index$1.h("br", null),
6771
- text.error.loadingErrorAlertDescription),
6772
- index$1.h("br", null))),
6773
- states.loading ? (index$1.h(sqmInvoiceTableView.GeneralLoadingView, null)) : (index$1.h("div", null,
6774
- index$1.h("div", { class: classes.TextContainer },
6775
- index$1.h("div", null,
6776
- !states.hideSteps && (index$1.h("p", null, global.intl.formatMessage({
7367
+ return (index.h("sl-form", { class: classes.FormWrapper, "onSl-submit": callbacks.onSubmit, ref: (el) => (refs.formRef.current = el), novalidate: true },
7368
+ index.h("style", { type: "text/css" },
7369
+ styleString$6,
7370
+ vanillaStyle$4),
7371
+ states.loadingError && (index.h("div", null,
7372
+ index.h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", open: true, class: sheet$6.classes.AlertContainer },
7373
+ index.h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
7374
+ index.h("strong", null, text.error.loadingErrorAlertHeader),
7375
+ index.h("br", null),
7376
+ global.intl.formatMessage({
7377
+ id: "loadingErrorAlertDescription",
7378
+ defaultMessage: text.error.loadingErrorAlertDescription,
7379
+ }, {
7380
+ supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
7381
+ })),
7382
+ index.h("br", null))),
7383
+ states.loading ? (index.h(sqmInvoiceTableView.GeneralLoadingView, null)) : (index.h("div", null,
7384
+ index.h("div", { class: classes.TextContainer },
7385
+ index.h("div", null,
7386
+ !states.hideSteps && (index.h("p", null, global.intl.formatMessage({
6777
7387
  id: "formStep",
6778
7388
  defaultMessage: text.formStep,
6779
7389
  }, { step: states.step, count: FORM_STEPS }))),
6780
- index$1.h("h3", null, text.personalInformation),
6781
- index$1.h("p", { class: classes.PageDescriptionText }, text.taxAndPayoutsDescription))),
6782
- ((_a = formState.errors) === null || _a === void 0 ? void 0 : _a.general) && (index$1.h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "warning", open: true, class: sheet$5.classes.AlertContainer },
6783
- index$1.h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
6784
- index$1.h("strong", null, text.error.generalTitle),
6785
- index$1.h("br", null),
6786
- text.error.generalDescription)),
6787
- (states.isPartner || states.isUser) && (index$1.h("sl-alert", { type: "primary", open: true, class: sheet$5.classes.PartnerAlertContainer, exportparts: "base: alert-base, icon:alert-icon" },
6788
- index$1.h("sl-icon", { slot: "icon", name: "info-circle" }),
6789
- index$1.h("strong", null, text.isPartnerAlertHeader),
6790
- index$1.h("br", null),
6791
- text.isPartnerAlertDescription)),
6792
- index$1.h("div", null,
6793
- index$1.h("div", { class: classes.InputContainer },
6794
- index$1.h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", value: formState.firstName, label: text.firstName, disabled: states.disabled || states.isUser || states.isPartner }, (((_b = formState.errors) === null || _b === void 0 ? void 0 : _b.firstName) ? {
7390
+ index.h("h3", null, text.personalInformation),
7391
+ index.h("p", { class: classes.PageDescriptionText }, text.taxAndPayoutsDescription))),
7392
+ ((_a = formState.errors) === null || _a === void 0 ? void 0 : _a.general) && (index.h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "warning", open: true, class: sheet$6.classes.AlertContainer },
7393
+ index.h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
7394
+ index.h("strong", null, text.error.generalTitle),
7395
+ index.h("br", null),
7396
+ global.intl.formatMessage({
7397
+ id: "generalDescription",
7398
+ defaultMessage: text.error.generalDescription,
7399
+ }, {
7400
+ supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
7401
+ }))),
7402
+ (states.isPartner || states.isUser) && (index.h("sl-alert", { type: "primary", open: true, class: sheet$6.classes.PartnerAlertContainer, exportparts: "base: alert-base, icon:alert-icon" },
7403
+ index.h("sl-icon", { slot: "icon", name: "info-circle" }),
7404
+ index.h("strong", null, text.isPartnerAlertHeader),
7405
+ index.h("br", null),
7406
+ global.intl.formatMessage({
7407
+ id: "isPartnerAlertDescription",
7408
+ defaultMessage: text.isPartnerAlertDescription,
7409
+ }, {
7410
+ supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
7411
+ }))),
7412
+ index.h("div", null,
7413
+ index.h("div", { class: classes.InputContainer },
7414
+ index.h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", value: formState.firstName, label: text.firstName, disabled: states.disabled || states.isUser || states.isPartner }, (((_b = formState.errors) === null || _b === void 0 ? void 0 : _b.firstName) ? {
6795
7415
  class: classes.ErrorInput,
6796
7416
  helpText: sqmInvoiceTableView.formatErrorMessage(text.firstName, formState.errors.firstName),
6797
7417
  }
6798
7418
  : {}), { id: "firstName", name: "/firstName", required: true })),
6799
- index$1.h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", value: formState.lastName, label: text.lastName, disabled: states.disabled || states.isUser || states.isPartner }, (((_c = formState.errors) === null || _c === void 0 ? void 0 : _c.lastName) ? {
7419
+ index.h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", value: formState.lastName, label: text.lastName, disabled: states.disabled || states.isUser || states.isPartner }, (((_c = formState.errors) === null || _c === void 0 ? void 0 : _c.lastName) ? {
6800
7420
  class: classes.ErrorInput,
6801
7421
  helpText: sqmInvoiceTableView.formatErrorMessage(text.lastName, formState.errors.lastName),
6802
7422
  }
6803
7423
  : {}), { id: "lastName", name: "/lastName", required: true })),
6804
- index$1.h("sl-input", { exportparts: "label: input-label, base: input-base", value: formState.email, label: text.email, disabled: true, id: "email", name: "/email", required: true }),
6805
- index$1.h("sl-select", Object.assign({ id: "countryCode", exportparts: "label: input-label, base: input-base", name: "/countryCode", label: text.country, value: formState.countryCode, disabled: states.disabled || states.isPartner }, (((_d = formState.errors) === null || _d === void 0 ? void 0 : _d.countryCode) ? {
7424
+ index.h("sl-input", { exportparts: "label: input-label, base: input-base", value: formState.email, label: text.email, disabled: true, id: "email", name: "/email", required: true }),
7425
+ index.h("sl-select", Object.assign({ id: "countryCode", exportparts: "label: input-label, base: input-base", name: "/countryCode", label: text.country, value: formState.countryCode, disabled: states.disabled || states.isPartner }, (((_d = formState.errors) === null || _d === void 0 ? void 0 : _d.countryCode) ? {
6806
7426
  class: classes.ErrorInput,
6807
7427
  helpText: sqmInvoiceTableView.formatErrorMessage(text.country, formState.errors.countryCode),
6808
7428
  }
6809
7429
  : {}), { required: true, "onSl-select": (e) => callbacks.onFormChange("countryCode", e) }),
6810
- index$1.h("sl-input", { class: classes.SearchInput, placeholder: text.searchForCountryText, onKeyDown: (e) => {
7430
+ index.h("sl-input", { class: classes.SearchInput, placeholder: text.searchForCountryText, onKeyDown: (e) => {
6811
7431
  // Stop shoelace intercepting key presses
6812
7432
  e.stopPropagation();
6813
7433
  }, "onSl-input": (e) => {
6814
7434
  callbacks.setCountrySearch(e.target.value);
6815
7435
  } }), (_e = data === null || data === void 0 ? void 0 : data.countries) === null || _e === void 0 ? void 0 :
6816
- _e.map((c) => (index$1.h("sl-menu-item", { value: c.countryCode }, c.displayName))), (_f = data === null || data === void 0 ? void 0 : data.allCountries) === null || _f === void 0 ? void 0 :
6817
- _f.map((c) => (index$1.h("sl-menu-item", { value: c.countryCode, style: { display: "none" } }, c.displayName)))),
6818
- index$1.h("div", { class: classes.PhoneInputsSection },
6819
- index$1.h("p", null, text.phoneNumber),
6820
- index$1.h("div", { class: classes.PhoneInputsContainer },
6821
- index$1.h("sl-select", Object.assign({ id: "phoneNumberCountryCode", exportparts: "label: input-label, base: input-base", name: "/phoneNumberCountryCode", value: formState.phoneNumberCountryCode, disabled: states.disabled || states.isPartner, ref: (el) => (refs.phoneCountryRef.current = el) }, (((_g = formState.errors) === null || _g === void 0 ? void 0 : _g.phoneNumberCountryCode) ? {
7436
+ _e.map((c) => (index.h("sl-menu-item", { value: c.countryCode }, c.displayName))), (_f = data === null || data === void 0 ? void 0 : data.allCountries) === null || _f === void 0 ? void 0 :
7437
+ _f.map((c) => (index.h("sl-menu-item", { value: c.countryCode, style: { display: "none" } }, c.displayName)))),
7438
+ index.h("div", { class: classes.PhoneInputsSection },
7439
+ index.h("p", null, text.phoneNumber),
7440
+ index.h("div", { class: classes.PhoneInputsContainer },
7441
+ index.h("sl-select", Object.assign({ id: "phoneNumberCountryCode", exportparts: "label: input-label, base: input-base", name: "/phoneNumberCountryCode", value: formState.phoneNumberCountryCode, disabled: states.disabled || states.isPartner, ref: (el) => (refs.phoneCountryRef.current = el) }, (((_g = formState.errors) === null || _g === void 0 ? void 0 : _g.phoneNumberCountryCode) ? {
6822
7442
  class: classes.ErrorInput,
6823
7443
  }
6824
7444
  : {}), { required: true, "onSl-select": (e) => callbacks.onFormChange("phoneCountry", e) }),
6825
- index$1.h("sl-input", { class: classes.SearchInput, placeholder: text.searchForCountryText, onKeyDown: (e) => {
7445
+ index.h("sl-input", { class: classes.SearchInput, placeholder: text.searchForCountryText, onKeyDown: (e) => {
6826
7446
  // Stop shoelace intercepting key presses
6827
7447
  e.stopPropagation();
6828
7448
  }, "onSl-input": (e) => {
@@ -6830,25 +7450,22 @@ const UserInfoFormView = (props) => {
6830
7450
  } }), (_h = data === null || data === void 0 ? void 0 : data.phoneCountries) === null || _h === void 0 ? void 0 :
6831
7451
  _h.map((c) => {
6832
7452
  var _a, _b;
6833
- return (index$1.h("sl-menu-item", { value: c.countryCode },
6834
- index$1.h("div", { slot: "prefix" }, `${(_a = PHONE_EXTENSIONS[c.countryCode]) === null || _a === void 0 ? void 0 : _a.name} `), (_b = PHONE_EXTENSIONS[c.countryCode]) === null || _b === void 0 ? void 0 :
7453
+ return (index.h("sl-menu-item", { value: c.countryCode },
7454
+ index.h("div", { slot: "prefix" }, `${(_a = PHONE_EXTENSIONS[c.countryCode]) === null || _a === void 0 ? void 0 : _a.name} `), (_b = PHONE_EXTENSIONS[c.countryCode]) === null || _b === void 0 ? void 0 :
6835
7455
  _b.dial_code));
6836
7456
  }), (_j = data === null || data === void 0 ? void 0 : data.allCountries) === null || _j === void 0 ? void 0 :
6837
7457
  _j.map((c) => {
6838
7458
  var _a, _b;
6839
- return (index$1.h("sl-menu-item", { value: c.countryCode, style: { display: "none" } },
6840
- index$1.h("div", { slot: "prefix" }, `${(_a = PHONE_EXTENSIONS[c.countryCode]) === null || _a === void 0 ? void 0 : _a.name} `), (_b = PHONE_EXTENSIONS[c.countryCode]) === null || _b === void 0 ? void 0 :
7459
+ return (index.h("sl-menu-item", { value: c.countryCode, style: { display: "none" } },
7460
+ index.h("div", { slot: "prefix" }, `${(_a = PHONE_EXTENSIONS[c.countryCode]) === null || _a === void 0 ? void 0 : _a.name} `), (_b = PHONE_EXTENSIONS[c.countryCode]) === null || _b === void 0 ? void 0 :
6841
7461
  _b.dial_code));
6842
7462
  })),
6843
- index$1.h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", id: "phoneNumber", name: "/phoneNumber", value: formState.phoneNumber, validationError: ({ value }) =>
6844
- // Naive phone number validation
6845
- sqmInvoiceTableView.validateBillingField(/[a-zA-Z]+/, value) &&
6846
- sqmInvoiceTableView.formatErrorMessage(text.phoneNumber, text.error.fieldInvalidError), disabled: states.disabled || states.isPartner }, (((_k = formState.errors) === null || _k === void 0 ? void 0 : _k.phoneNumber) ? {
7463
+ index.h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", id: "phoneNumber", name: "/phoneNumber", value: formState.phoneNumber, validationError: true, disabled: states.disabled || states.isPartner }, (((_k = formState.errors) === null || _k === void 0 ? void 0 : _k.phoneNumber) ? {
6847
7464
  class: classes.ErrorInput,
6848
7465
  helpText: sqmInvoiceTableView.formatErrorMessage(text.phoneNumber, formState.errors.phoneNumber),
6849
7466
  }
6850
7467
  : {}), { required: true })))),
6851
- index$1.h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", label: text.address, id: "address", name: "/address", value: formState.address, validationError: ({ value }) =>
7468
+ index.h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", label: text.address, id: "address", name: "/address", value: formState.address, validationError: ({ value }) =>
6852
7469
  // Checks for non-ASCII characters
6853
7470
  !sqmInvoiceTableView.validateBillingField(/^[\x20-\xFF]+$/, value) &&
6854
7471
  sqmInvoiceTableView.formatErrorMessage(text.address, text.error.invalidCharacterError), disabled: states.disabled || states.isPartner }, (((_l = formState.errors) === null || _l === void 0 ? void 0 : _l.address) ? {
@@ -6856,7 +7473,7 @@ const UserInfoFormView = (props) => {
6856
7473
  helpText: sqmInvoiceTableView.formatErrorMessage(text.address, formState.errors.address),
6857
7474
  }
6858
7475
  : {}), { required: true })),
6859
- index$1.h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", label: text.city, id: "city", name: "/city", value: formState.city, validationError: ({ value }) =>
7476
+ index.h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", label: text.city, id: "city", name: "/city", value: formState.city, validationError: ({ value }) =>
6860
7477
  // Checks for non-ASCII characters
6861
7478
  !sqmInvoiceTableView.validateBillingField(/^[\x20-\xFF]+$/, value) &&
6862
7479
  sqmInvoiceTableView.formatErrorMessage(text.city, text.error.invalidCharacterError), disabled: states.disabled || states.isPartner }, (((_m = formState.errors) === null || _m === void 0 ? void 0 : _m.city) ? {
@@ -6864,41 +7481,41 @@ const UserInfoFormView = (props) => {
6864
7481
  helpText: sqmInvoiceTableView.formatErrorMessage(text.city, formState.errors.city),
6865
7482
  }
6866
7483
  : {}), { required: true })),
6867
- !states.hideState && (index$1.h("sl-select", Object.assign({ label: regionLabel, exportparts: "label: input-label, base: input-base", id: "state", name: "/state", value: formState.state, disabled: states.disabled || states.isPartner }, (((_o = formState.errors) === null || _o === void 0 ? void 0 : _o.state) ? {
7484
+ !states.hideState && (index.h("sl-select", Object.assign({ label: regionLabel, exportparts: "label: input-label, base: input-base", id: "state", name: "/state", value: formState.state, disabled: states.disabled || states.isPartner }, (((_o = formState.errors) === null || _o === void 0 ? void 0 : _o.state) ? {
6868
7485
  class: classes.ErrorInput,
6869
7486
  helpText: sqmInvoiceTableView.formatErrorMessage(text.state, formState.errors.state),
6870
7487
  }
6871
- : {}), { required: true }), (_p = data.regions) === null || _p === void 0 ? void 0 : _p.map((r) => (index$1.h("sl-menu-item", { value: r.value }, r.label))))),
6872
- index$1.h("sl-input", Object.assign({ label: text.postalCode, exportparts: "label: input-label, base: input-base", id: "postalCode", name: "/postalCode", value: formState.postalCode, disabled: states.disabled || states.isPartner }, (((_q = formState.errors) === null || _q === void 0 ? void 0 : _q.postalCode) ? {
7488
+ : {}), { required: true }), (_p = data.regions) === null || _p === void 0 ? void 0 : _p.map((r) => (index.h("sl-menu-item", { value: r.value }, r.label))))),
7489
+ index.h("sl-input", Object.assign({ label: text.postalCode, exportparts: "label: input-label, base: input-base", id: "postalCode", name: "/postalCode", value: formState.postalCode, disabled: states.disabled || states.isPartner }, (((_q = formState.errors) === null || _q === void 0 ? void 0 : _q.postalCode) ? {
6873
7490
  class: classes.ErrorInput,
6874
7491
  helpText: sqmInvoiceTableView.formatErrorMessage(text.postalCode, formState.errors.postalCode),
6875
7492
  }
6876
7493
  : {}), { required: true })),
6877
- index$1.h("sl-select", Object.assign({ id: "currency", exportparts: "label: input-label, base: input-base", name: "/currency", label: text.currency, menu: true, value: formState.currency, disabled: states.disabled || states.isPartner, helpText: text.currencyHelpText }, (((_r = formState.errors) === null || _r === void 0 ? void 0 : _r.currency) ? {
7494
+ index.h("sl-select", Object.assign({ id: "currency", exportparts: "label: input-label, base: input-base", name: "/currency", label: text.currency, menu: true, value: formState.currency, disabled: states.disabled || states.isPartner, helpText: text.currencyHelpText }, (((_r = formState.errors) === null || _r === void 0 ? void 0 : _r.currency) ? {
6878
7495
  class: classes.ErrorInput,
6879
7496
  helpText: sqmInvoiceTableView.formatErrorMessage(text.currency, formState.errors.currency),
6880
7497
  }
6881
7498
  : {}), { required: true, ref: (el) => (refs.currencyRef.current = el) }),
6882
- index$1.h("sl-input", { class: classes.SearchInput, placeholder: text.searchForCurrencyText, onKeyDown: (e) => {
7499
+ index.h("sl-input", { class: classes.SearchInput, placeholder: text.searchForCurrencyText, onKeyDown: (e) => {
6883
7500
  // Stop shoelace intercepting key presses
6884
7501
  e.stopPropagation();
6885
7502
  }, "onSl-input": (e) => {
6886
7503
  callbacks.setCurrencySearch(e.target.value);
6887
7504
  } }), (_s = data === null || data === void 0 ? void 0 : data.currencies) === null || _s === void 0 ? void 0 :
6888
- _s.map((c) => (index$1.h("sl-menu-item", { value: c.currencyCode },
7505
+ _s.map((c) => (index.h("sl-menu-item", { value: c.currencyCode },
6889
7506
  c.currencyCode,
6890
7507
  " - ",
6891
7508
  c.displayName))), (_t = data === null || data === void 0 ? void 0 : data.allCurrencies) === null || _t === void 0 ? void 0 :
6892
- _t.map((c) => (index$1.h("sl-menu-item", { value: c.currencyCode, style: { display: "none" } },
7509
+ _t.map((c) => (index.h("sl-menu-item", { value: c.currencyCode, style: { display: "none" } },
6893
7510
  c.currencyCode,
6894
7511
  " - ",
6895
7512
  c.displayName)))),
6896
- index$1.h("div", { class: classes.CheckboxWrapper },
6897
- index$1.h("sl-checkbox", { exportparts: "label: input-label, base: input-base", checked: formState.allowBankingCollection === true, "onSl-change": (e) => {
7513
+ index.h("div", { class: classes.CheckboxWrapper },
7514
+ index.h("sl-checkbox", { exportparts: "label: input-label, base: input-base", checked: formState.allowBankingCollection === true, "onSl-change": (e) => {
6898
7515
  e.target.value = e.target.checked;
6899
7516
  }, disabled: states.isPartner ? false : states.disabled, required: true, value: formState.allowBankingCollection, id: "allowBankingCollection", name: "/allowBankingCollection" }, bankingCollectionText),
6900
- ((_u = formState.errors) === null || _u === void 0 ? void 0 : _u.allowBankingCollection) && (index$1.h("p", { class: classes.ErrorText }, sqmInvoiceTableView.formatErrorMessage(text.termsAndConditionsLabel, formState.errors.allowBankingCollection))))),
6901
- index$1.h("sl-button", { type: "primary", disabled: states.isPartner ? false : states.disabled, submit: true, exportparts: "base: primarybutton-base" }, text.continueButton))))));
7517
+ ((_u = formState.errors) === null || _u === void 0 ? void 0 : _u.allowBankingCollection) && (index.h("p", { class: classes.ErrorText }, sqmInvoiceTableView.formatErrorMessage(text.termsAndConditionsLabel, formState.errors.allowBankingCollection))))),
7518
+ index.h("sl-button", { type: "primary", disabled: states.isPartner ? false : states.disabled, submit: true, exportparts: "base: primarybutton-base" }, text.continueButton))))));
6902
7519
  };
6903
7520
 
6904
7521
  function useUserInfoForm(props) {
@@ -6921,17 +7538,20 @@ function useUserInfoForm(props) {
6921
7538
  const [filteredCurrencies, setFilteredCurrencies] = stencilHooks_module.useState(currencies || []);
6922
7539
  const [formErrors, setErrors] = stencilHooks_module.useState({});
6923
7540
  stencilHooks_module.useEffect(() => {
6924
- var _a, _b, _c, _d, _e, _f, _g, _h, _j;
7541
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
6925
7542
  const user = data === null || data === void 0 ? void 0 : data.user;
6926
7543
  if (!user || step !== "/1")
6927
7544
  return;
6928
7545
  // If form already filled out, skip initialising it
6929
7546
  if (sqmInvoiceTableView.objectIsFull(userFormContext))
6930
7547
  return;
6931
- if (((_a = user.impactConnection) === null || _a === void 0 ? void 0 : _a.publisher) && ((_b = user.impactConnection) === null || _b === void 0 ? void 0 : _b.user)) {
7548
+ // Prefer MI email if it was verified before this
7549
+ const email = ((_a = user.managedIdentity) === null || _a === void 0 ? void 0 : _a.emailVerified) ? user.managedIdentity.email
7550
+ : user.email;
7551
+ if (((_b = user.impactConnection) === null || _b === void 0 ? void 0 : _b.publisher) && ((_c = user.impactConnection) === null || _c === void 0 ? void 0 : _c.user)) {
6932
7552
  // Initialise with partner information
6933
7553
  setUserFormContext({
6934
- email: user.email,
7554
+ email,
6935
7555
  firstName: user.impactConnection.user.firstName,
6936
7556
  lastName: user.impactConnection.user.lastName,
6937
7557
  countryCode: user.impactConnection.publisher.countryCode,
@@ -6947,17 +7567,17 @@ function useUserInfoForm(props) {
6947
7567
  else if (!(userFormContext === null || userFormContext === void 0 ? void 0 : userFormContext.email)) {
6948
7568
  // Initialise with user information
6949
7569
  setUserFormContext({
6950
- email: user.email,
7570
+ email,
6951
7571
  firstName: user.firstName,
6952
7572
  lastName: user.lastName,
6953
7573
  countryCode: user.countryCode || "US",
6954
- currency: (_c = user.customFields) === null || _c === void 0 ? void 0 : _c.currency,
6955
- phoneNumberCountryCode: ((_d = user.customFields) === null || _d === void 0 ? void 0 : _d.phoneNumberCountryCode) || "US",
6956
- phoneNumber: (_e = user.customFields) === null || _e === void 0 ? void 0 : _e.phoneNumber,
6957
- address: (_f = user.customFields) === null || _f === void 0 ? void 0 : _f.address,
6958
- city: (_g = user.customFields) === null || _g === void 0 ? void 0 : _g.city,
6959
- state: (_h = user.customFields) === null || _h === void 0 ? void 0 : _h.state,
6960
- postalCode: (_j = user.customFields) === null || _j === void 0 ? void 0 : _j.postalCode,
7574
+ currency: (_d = user.customFields) === null || _d === void 0 ? void 0 : _d.currency,
7575
+ phoneNumberCountryCode: ((_e = user.customFields) === null || _e === void 0 ? void 0 : _e.phoneNumberCountryCode) || "US",
7576
+ phoneNumber: (_f = user.customFields) === null || _f === void 0 ? void 0 : _f.phoneNumber,
7577
+ address: (_g = user.customFields) === null || _g === void 0 ? void 0 : _g.address,
7578
+ city: (_h = user.customFields) === null || _h === void 0 ? void 0 : _h.city,
7579
+ state: (_j = user.customFields) === null || _j === void 0 ? void 0 : _j.state,
7580
+ postalCode: (_k = user.customFields) === null || _k === void 0 ? void 0 : _k.postalCode,
6961
7581
  });
6962
7582
  }
6963
7583
  }, [data, step, userFormContext]);
@@ -7036,6 +7656,8 @@ function useUserInfoForm(props) {
7036
7656
  const { allowBankingCollection, ...userData } = formData;
7037
7657
  setUserFormContext({
7038
7658
  ...userFormContext,
7659
+ firstName: userData.firstName,
7660
+ lastName: userData.lastName,
7039
7661
  phoneNumberCountryCode: userData.phoneNumberCountryCode,
7040
7662
  phoneNumber: userData.phoneNumber,
7041
7663
  countryCode: userData.countryCode,
@@ -7095,7 +7717,7 @@ function useUserInfoForm(props) {
7095
7717
 
7096
7718
  const TaxForm = class {
7097
7719
  constructor(hostRef) {
7098
- index$1.registerInstance(this, hostRef);
7720
+ index.registerInstance(this, hostRef);
7099
7721
  this.ignored = true;
7100
7722
  /**
7101
7723
  * @uiName First name field label
@@ -7172,7 +7794,7 @@ const TaxForm = class {
7172
7794
  * @uiName Participant is a partner alert description
7173
7795
  * @uiWidget textArea
7174
7796
  */
7175
- this.isPartnerAlertDescription = "If you don’t recognize this referral program provider or believe this is a mistake, please contact Support or sign up for this referral program with a different email.";
7797
+ this.isPartnerAlertDescription = "If you don’t recognize this referral program provider or believe this is a mistake, please contact our {supportLink} or sign up for this referral program with a different email.";
7176
7798
  /**
7177
7799
  * Part of the alert displayed at the top of the page.
7178
7800
  * @uiName Form submission error message title
@@ -7184,7 +7806,7 @@ const TaxForm = class {
7184
7806
  * @uiName Form submission error message description
7185
7807
  * @uiWidget textArea
7186
7808
  */
7187
- this.generalErrorDescription = "Please review your information and try again. If this problem continues, contact Support.";
7809
+ this.generalErrorDescription = "Please review your information and try again. If this problem continues, contact our {supportLink}.";
7188
7810
  /**
7189
7811
  * Edit the property called terms and conditions text to change what's displayed for {termsAndConditionsLink}.
7190
7812
  * @uiName Terms and conditions checkbox
@@ -7237,13 +7859,17 @@ const TaxForm = class {
7237
7859
  * @uiName Page load error message description
7238
7860
  * @uiWidget textArea
7239
7861
  */
7240
- this.loadingErrorAlertDescription = "Please refresh the page and try again. If this problem continues, contact Support.";
7862
+ this.loadingErrorAlertDescription = "Please refresh the page and try again. If this problem continues, contact our {supportLink}.";
7241
7863
  /**
7242
7864
  * Displayed at the top of the page on all set up steps.
7243
7865
  * @uiName Page description
7244
7866
  */
7245
7867
  this.taxAndPayoutsDescription = "Submit your tax documents and add your banking information to receive your rewards.";
7246
- stencilHooks_module.h(this);
7868
+ /**
7869
+ * @uiName Support link text
7870
+ */
7871
+ this.supportLink = "support team";
7872
+ stencilHooks_module.h$1(this);
7247
7873
  }
7248
7874
  disconnectedCallback() { }
7249
7875
  getTextProps() {
@@ -7263,7 +7889,7 @@ const TaxForm = class {
7263
7889
  }
7264
7890
  render() {
7265
7891
  const props = index_module.isDemo() ? useDemoUserInfoForm(this) : useUserInfoForm(this);
7266
- return (index$1.h(index$1.Host, null, index$1.h(UserInfoFormView, { data: props.data,
7892
+ return (index.h(index.Host, null, index.h(UserInfoFormView, { data: props.data,
7267
7893
  // @ts-ignore
7268
7894
  states: props.states, callbacks: {
7269
7895
  ...props.callbacks,
@@ -7319,6 +7945,7 @@ function useDemoUserInfoForm(props) {
7319
7945
  }
7320
7946
 
7321
7947
  exports.sqm_banking_info_form = BankingInfoForm;
7948
+ exports.sqm_code_verification = WidgetCodeVerification;
7322
7949
  exports.sqm_docusign_form = DocusignForm;
7323
7950
  exports.sqm_indirect_tax_form = IndirectTaxForm;
7324
7951
  exports.sqm_invoice_table = InvoiceTable;