@saasquatch/mint-components 2.0.0-9 → 2.0.0

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 (349) hide show
  1. package/dist/cjs/{IndirectTaxDetailsView-e5f70b8b.js → IndirectTaxDetailsView-3e88d710.js} +2 -2
  2. package/dist/cjs/{ShadowViewAddon-016bebfd.js → ShadowViewAddon-646dec73.js} +13 -9
  3. package/dist/cjs/{copy-text-view-51c8ee5d.js → copy-text-view-322436c2.js} +2 -8
  4. package/dist/cjs/{usePayoutStatus-fe32dd1a.js → data-16106637.js} +142 -0
  5. package/dist/cjs/{extractProps-fd93ba62.js → extractProps-e9c55ba8.js} +14 -0
  6. package/dist/cjs/{global-8bba5b3a.js → global-39cb0afc.js} +745 -2
  7. package/dist/cjs/loader.cjs.js +2 -2
  8. package/dist/cjs/mint-components.cjs.js +2 -2
  9. package/dist/cjs/sqm-banking-info-form_10.cjs.entry.js +82 -45
  10. package/dist/cjs/{sqm-base-registration-form-view-8847804c.js → sqm-base-registration-form-view-69a4b615.js} +10 -4
  11. package/dist/cjs/{sqm-big-stat_46.cjs.entry.js → sqm-big-stat_47.cjs.entry.js} +1324 -26
  12. package/dist/cjs/sqm-code-verification.cjs.entry.js +2 -2
  13. package/dist/cjs/sqm-context-router.cjs.entry.js +1 -1
  14. package/dist/cjs/sqm-email-verification.cjs.entry.js +2 -2
  15. package/dist/cjs/sqm-empty_4.cjs.entry.js +3 -3
  16. package/dist/cjs/sqm-form-message.cjs.entry.js +9 -5
  17. package/dist/cjs/sqm-invoice-table-data-cell_5.cjs.entry.js +1 -1
  18. package/dist/cjs/{sqm-lead-checkbox-field-view-340acad0.js → sqm-lead-checkbox-field-view-f1c46d4b.js} +1 -1
  19. package/dist/cjs/sqm-lead-checkbox-field.cjs.entry.js +4 -4
  20. package/dist/cjs/{sqm-lead-input-field-view-06ed3632.js → sqm-lead-input-field-view-6d388092.js} +1 -1
  21. package/dist/cjs/sqm-lead-input-field.cjs.entry.js +4 -4
  22. package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +1 -1
  23. package/dist/cjs/sqm-logout-current-user.cjs.entry.js +1 -1
  24. package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +1 -1
  25. package/dist/cjs/sqm-pagination_3.cjs.entry.js +3 -3
  26. package/dist/cjs/sqm-password-field.cjs.entry.js +1 -1
  27. package/dist/cjs/sqm-popup-container.cjs.entry.js +1 -1
  28. package/dist/cjs/{sqm-portal-container-view-ca86b9e5.js → sqm-portal-container-view-07e4343f.js} +1 -1
  29. package/dist/cjs/{sqm-portal-email-verification-view-5518eb0d.js → sqm-portal-email-verification-view-6b17e545.js} +1 -1
  30. package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +2 -2
  31. package/dist/cjs/sqm-portal-google-login.cjs.entry.js +2 -2
  32. package/dist/cjs/sqm-portal-google-registration-form.cjs.entry.js +27 -19
  33. package/dist/cjs/{sqm-portal-profile-view-615e6975.js → sqm-portal-profile-view-845367bb.js} +1 -1
  34. package/dist/cjs/sqm-portal-profile.cjs.entry.js +3 -3
  35. package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +1 -1
  36. package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +1 -1
  37. package/dist/cjs/sqm-qr-code.cjs.entry.js +1 -1
  38. package/dist/cjs/sqm-referral-table_11.cjs.entry.js +2 -2
  39. package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +3 -4
  40. package/dist/cjs/sqm-stencilbook.cjs.entry.js +45 -26
  41. package/dist/cjs/sqm-tabs.cjs.entry.js +1 -4
  42. package/dist/cjs/sqm-widget-verification-controller.cjs.entry.js +3 -2
  43. package/dist/cjs/sqm-widget-verification.cjs.entry.js +3 -4
  44. package/dist/cjs/{useLeadFormState-fd0445f9.js → useLeadFormState-b355759b.js} +1 -1
  45. package/dist/cjs/{usePortalLogin-353f776a.js → usePortalLogin-1c022d8d.js} +1 -1
  46. package/dist/cjs/{utils-0d3ac0fb.js → utils-6847bc06.js} +0 -4
  47. package/dist/cjs/{utils-83d125fa.js → utils-ac82f977.js} +1 -1
  48. package/dist/collection/components/sqm-base-registration/BaseRegistrationForm.stories.js +2 -2
  49. package/dist/collection/components/sqm-base-registration/sqm-base-registration-form-view.js +10 -4
  50. package/dist/collection/components/sqm-big-stat/sqm-big-stat-view.js +0 -2
  51. package/dist/collection/components/sqm-big-stat/useBigStat.js +7 -1
  52. package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field.js +1 -1
  53. package/dist/collection/components/sqm-dropdown-field/sqm-dropdown-field.js +1 -1
  54. package/dist/collection/components/sqm-form-message/FormMessage.stories.js +14 -0
  55. package/dist/collection/components/sqm-form-message/sqm-form-message.css +7 -0
  56. package/dist/collection/components/sqm-form-message/sqm-form-message.js +26 -4
  57. package/dist/collection/components/sqm-hero/sqm-hero.js +4 -4
  58. package/dist/collection/components/sqm-hero-image/sqm-hero-image.js +2 -2
  59. package/dist/collection/components/sqm-input-field/sqm-input-field.js +1 -1
  60. package/dist/collection/components/sqm-marketing-emails-checkbox/sqm-marketing-emails-checkbox.js +1 -1
  61. package/dist/collection/components/sqm-name-fields/NameFields.stories.js +2 -0
  62. package/dist/collection/components/sqm-name-fields/sqm-name-fields-view.js +2 -2
  63. package/dist/collection/components/sqm-name-fields/sqm-name-fields.js +31 -1
  64. package/dist/collection/components/sqm-name-fields/useNameFields.js +1 -0
  65. package/dist/collection/components/sqm-password-field/sqm-password-field.js +2 -2
  66. package/dist/collection/components/sqm-portal-container/sqm-portal-container-view.js +1 -1
  67. package/dist/collection/components/sqm-portal-footer/sqm-portal-footer.js +1 -1
  68. package/dist/collection/components/sqm-portal-forgot-password/PortalForgotPassword.stories.js +1 -0
  69. package/dist/collection/components/sqm-portal-google-registration-form/PortalGoogleRegistrationForm.stories.js +1 -0
  70. package/dist/collection/components/sqm-portal-google-registration-form/sqm-portal-google-registration-form.js +10 -7
  71. package/dist/collection/components/sqm-portal-google-registration-form/usePortalGoogleRegistrationForm.js +23 -13
  72. package/dist/collection/components/sqm-referred-registration/sqm-referred-registration.js +2 -2
  73. package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-status-cell.js +2 -3
  74. package/dist/collection/components/sqm-share-link/sqm-share-link.js +0 -1
  75. package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +0 -1
  76. package/dist/collection/components/sqm-tabs/sqm-tabs-view.js +0 -3
  77. package/dist/collection/components/sqm-task-card/sqm-task-card.js +2 -2
  78. package/dist/collection/components/sqm-titled-section/sqm-titled-section.js +1 -1
  79. package/dist/collection/components/sqm-widget-verification/sqm-widget-verification-controller.js +10 -4
  80. package/dist/collection/components/tax-and-cash/TaxForm.stories.js +6 -10
  81. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.js +8 -32
  82. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.js +2 -3
  83. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.js +67 -26
  84. package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +0 -1
  85. package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form.js +1 -4
  86. package/dist/collection/components/views/copy-text-view.js +2 -8
  87. package/dist/collection/global/global.js +14 -3
  88. package/dist/collection/global/styles.v1.js +733 -0
  89. package/dist/collection/global/styles.v1.ts +735 -0
  90. package/dist/collection/utils/utils.js +0 -1
  91. package/dist/esm/{IndirectTaxDetailsView-0a57b622.js → IndirectTaxDetailsView-e5d8767d.js} +2 -2
  92. package/dist/esm/{ShadowViewAddon-4cde160a.js → ShadowViewAddon-5928ca9d.js} +13 -9
  93. package/dist/esm/{copy-text-view-83b09456.js → copy-text-view-fac47254.js} +2 -8
  94. package/dist/esm/{usePayoutStatus-42cc6a2c.js → data-acdb790f.js} +128 -1
  95. package/dist/esm/{extractProps-ae1afbb3.js → extractProps-54064fb0.js} +14 -1
  96. package/dist/esm/{global-1099f20d.js → global-943536b9.js} +745 -2
  97. package/dist/esm/loader.js +2 -2
  98. package/dist/esm/mint-components.js +2 -2
  99. package/dist/esm/sqm-banking-info-form_10.entry.js +75 -38
  100. package/dist/esm/{sqm-base-registration-form-view-193f1721.js → sqm-base-registration-form-view-9e97d8b4.js} +10 -4
  101. package/dist/esm/{sqm-big-stat_46.entry.js → sqm-big-stat_47.entry.js} +1322 -25
  102. package/dist/esm/sqm-code-verification.entry.js +2 -2
  103. package/dist/esm/sqm-context-router.entry.js +1 -1
  104. package/dist/esm/sqm-email-verification.entry.js +2 -2
  105. package/dist/esm/sqm-empty_4.entry.js +3 -3
  106. package/dist/esm/sqm-form-message.entry.js +9 -5
  107. package/dist/esm/sqm-invoice-table-data-cell_5.entry.js +1 -1
  108. package/dist/esm/{sqm-lead-checkbox-field-view-cbafee07.js → sqm-lead-checkbox-field-view-adcc49c0.js} +1 -1
  109. package/dist/esm/sqm-lead-checkbox-field.entry.js +4 -4
  110. package/dist/esm/{sqm-lead-input-field-view-f3775c28.js → sqm-lead-input-field-view-c0b5aed5.js} +1 -1
  111. package/dist/esm/sqm-lead-input-field.entry.js +4 -4
  112. package/dist/esm/sqm-leaderboard-rank.entry.js +1 -1
  113. package/dist/esm/sqm-logout-current-user.entry.js +1 -1
  114. package/dist/esm/sqm-navigation-sidebar-item.entry.js +1 -1
  115. package/dist/esm/sqm-pagination_3.entry.js +3 -3
  116. package/dist/esm/sqm-password-field.entry.js +1 -1
  117. package/dist/esm/sqm-popup-container.entry.js +1 -1
  118. package/dist/esm/{sqm-portal-container-view-16309b22.js → sqm-portal-container-view-176e92e3.js} +1 -1
  119. package/dist/esm/{sqm-portal-email-verification-view-7d86299c.js → sqm-portal-email-verification-view-8ceb6302.js} +1 -1
  120. package/dist/esm/sqm-portal-email-verification.entry.js +2 -2
  121. package/dist/esm/sqm-portal-google-login.entry.js +2 -2
  122. package/dist/esm/sqm-portal-google-registration-form.entry.js +27 -19
  123. package/dist/esm/{sqm-portal-profile-view-3ed13e4d.js → sqm-portal-profile-view-2ec60449.js} +1 -1
  124. package/dist/esm/sqm-portal-profile.entry.js +3 -3
  125. package/dist/esm/sqm-portal-reset-password.entry.js +1 -1
  126. package/dist/esm/sqm-portal-verify-email.entry.js +1 -1
  127. package/dist/esm/sqm-qr-code.entry.js +1 -1
  128. package/dist/esm/sqm-referral-table_11.entry.js +2 -2
  129. package/dist/esm/sqm-rewards-table_9.entry.js +3 -4
  130. package/dist/esm/sqm-stencilbook.entry.js +45 -26
  131. package/dist/esm/sqm-tabs.entry.js +1 -4
  132. package/dist/esm/sqm-widget-verification-controller.entry.js +3 -2
  133. package/dist/esm/sqm-widget-verification.entry.js +2 -3
  134. package/dist/esm/{useLeadFormState-c379e5d7.js → useLeadFormState-9a652a42.js} +1 -1
  135. package/dist/esm/{usePortalLogin-95814943.js → usePortalLogin-f95bbc67.js} +1 -1
  136. package/dist/esm/{utils-84b4b092.js → utils-334c1e34.js} +0 -4
  137. package/dist/esm/{utils-6122971b.js → utils-f27e62dc.js} +1 -1
  138. package/dist/esm-es5/{IndirectTaxDetailsView-0a57b622.js → IndirectTaxDetailsView-e5d8767d.js} +1 -1
  139. package/dist/esm-es5/{ShadowViewAddon-4cde160a.js → ShadowViewAddon-5928ca9d.js} +1 -1
  140. package/dist/esm-es5/data-acdb790f.js +6 -0
  141. package/dist/esm-es5/extractProps-54064fb0.js +1 -0
  142. package/dist/esm-es5/{global-1099f20d.js → global-943536b9.js} +4 -4
  143. package/dist/esm-es5/loader.js +1 -1
  144. package/dist/esm-es5/mint-components.js +1 -1
  145. package/dist/esm-es5/sqm-banking-info-form_10.entry.js +1 -1
  146. package/dist/esm-es5/sqm-base-registration-form-view-9e97d8b4.js +1 -0
  147. package/dist/esm-es5/sqm-big-stat_47.entry.js +1 -0
  148. package/dist/esm-es5/sqm-code-verification.entry.js +1 -1
  149. package/dist/esm-es5/sqm-context-router.entry.js +1 -1
  150. package/dist/esm-es5/sqm-email-verification.entry.js +1 -1
  151. package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
  152. package/dist/esm-es5/sqm-form-message.entry.js +1 -1
  153. package/dist/esm-es5/sqm-invoice-table-data-cell_5.entry.js +1 -1
  154. package/dist/esm-es5/{sqm-lead-checkbox-field-view-cbafee07.js → sqm-lead-checkbox-field-view-adcc49c0.js} +1 -1
  155. package/dist/esm-es5/sqm-lead-checkbox-field.entry.js +1 -1
  156. package/dist/esm-es5/{sqm-lead-input-field-view-f3775c28.js → sqm-lead-input-field-view-c0b5aed5.js} +1 -1
  157. package/dist/esm-es5/sqm-lead-input-field.entry.js +1 -1
  158. package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
  159. package/dist/esm-es5/sqm-logout-current-user.entry.js +1 -1
  160. package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
  161. package/dist/esm-es5/sqm-pagination_3.entry.js +1 -1
  162. package/dist/esm-es5/sqm-password-field.entry.js +1 -1
  163. package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
  164. package/dist/esm-es5/{sqm-portal-container-view-16309b22.js → sqm-portal-container-view-176e92e3.js} +1 -1
  165. package/dist/esm-es5/{sqm-portal-email-verification-view-7d86299c.js → sqm-portal-email-verification-view-8ceb6302.js} +1 -1
  166. package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
  167. package/dist/esm-es5/sqm-portal-google-login.entry.js +1 -1
  168. package/dist/esm-es5/sqm-portal-google-registration-form.entry.js +1 -1
  169. package/dist/esm-es5/{sqm-portal-profile-view-3ed13e4d.js → sqm-portal-profile-view-2ec60449.js} +1 -1
  170. package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
  171. package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
  172. package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
  173. package/dist/esm-es5/sqm-qr-code.entry.js +1 -1
  174. package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
  175. package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
  176. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  177. package/dist/esm-es5/sqm-tabs.entry.js +1 -1
  178. package/dist/esm-es5/sqm-widget-verification.entry.js +1 -1
  179. package/dist/esm-es5/{useLeadFormState-c379e5d7.js → useLeadFormState-9a652a42.js} +1 -1
  180. package/dist/esm-es5/{usePortalLogin-95814943.js → usePortalLogin-f95bbc67.js} +1 -1
  181. package/dist/esm-es5/utils-334c1e34.js +1 -0
  182. package/dist/esm-es5/{utils-6122971b.js → utils-f27e62dc.js} +1 -1
  183. package/dist/mint-components/global/styles.v1.ts +735 -0
  184. package/dist/mint-components/mint-components.esm.js +1 -1
  185. package/dist/mint-components/mint-components.js +1 -1
  186. package/dist/mint-components/p-06b4fa6a.entry.js +273 -0
  187. package/dist/mint-components/p-0797a946.js +1 -0
  188. package/dist/mint-components/{p-aa08457e.system.js → p-08b373b9.system.js} +1 -1
  189. package/dist/mint-components/{p-6b0f79d1.system.entry.js → p-0ac84da5.system.entry.js} +1 -1
  190. package/dist/mint-components/{p-0ea4d6a1.system.entry.js → p-0b9b1b36.system.entry.js} +1 -1
  191. package/dist/mint-components/{p-7bae9bb7.system.entry.js → p-0cb51ea1.system.entry.js} +1 -1
  192. package/dist/mint-components/p-11927355.system.entry.js +1 -0
  193. package/dist/mint-components/{p-61157c6a.entry.js → p-124af9d6.entry.js} +1 -1
  194. package/dist/mint-components/{p-d4edce6c.system.entry.js → p-19de8749.system.entry.js} +1 -1
  195. package/dist/mint-components/{p-7b8cd420.system.entry.js → p-1e406d04.system.entry.js} +1 -1
  196. package/dist/mint-components/{p-c6fa4cc5.system.js → p-20c40fdf.system.js} +1 -1
  197. package/dist/mint-components/{p-ab79297a.entry.js → p-20f8e7ca.entry.js} +6 -6
  198. package/dist/mint-components/{p-6d5bd95a.js → p-252465eb.js} +1 -1
  199. package/dist/mint-components/{p-eba70d67.system.entry.js → p-2700136f.system.entry.js} +1 -1
  200. package/dist/mint-components/{p-3bf5cd51.entry.js → p-2fd2f22b.entry.js} +1 -1
  201. package/dist/mint-components/{p-67aa0b2d.entry.js → p-30278955.entry.js} +1 -1
  202. package/dist/mint-components/p-37ef2ce1.entry.js +1 -0
  203. package/dist/mint-components/{p-aa8c6332.js → p-38c4653d.js} +1 -1
  204. package/dist/mint-components/{p-2ff72acc.entry.js → p-3b46fae5.entry.js} +2 -2
  205. package/dist/mint-components/{p-511c87ce.system.entry.js → p-3fa99fea.system.entry.js} +1 -1
  206. package/dist/mint-components/{p-e711d0e9.js → p-44fc6029.js} +1 -1
  207. package/dist/mint-components/p-469a6450.system.js +6 -0
  208. package/dist/mint-components/p-478ad7c8.system.entry.js +1 -0
  209. package/dist/mint-components/p-51a6a779.js +1 -0
  210. package/dist/mint-components/p-53b49d27.system.js +1 -0
  211. package/dist/mint-components/{p-2623b232.system.entry.js → p-54c250de.system.entry.js} +1 -1
  212. package/dist/mint-components/{p-4ffc5bce.js → p-58b668a0.js} +4 -4
  213. package/dist/mint-components/{p-f370bddc.entry.js → p-58f4bf7a.entry.js} +1 -1
  214. package/dist/mint-components/{p-4c811d12.entry.js → p-5a3e2966.entry.js} +1 -1
  215. package/dist/mint-components/{p-c86f64ad.system.entry.js → p-5b7a896e.system.entry.js} +1 -1
  216. package/dist/mint-components/{p-06f13966.system.entry.js → p-5bb24669.system.entry.js} +1 -1
  217. package/dist/mint-components/p-6333265f.system.js +1 -0
  218. package/dist/mint-components/{p-a9ad7fb2.system.entry.js → p-674d9089.system.entry.js} +1 -1
  219. package/dist/mint-components/{p-29f0c87d.entry.js → p-6a0ddee0.entry.js} +1 -1
  220. package/dist/mint-components/{p-c85f204b.system.js → p-6b55555b.system.js} +1 -1
  221. package/dist/mint-components/{p-f0eae4e6.system.js → p-6dd86003.system.js} +1 -1
  222. package/dist/mint-components/{p-b55002dc.system.entry.js → p-72b914b9.system.entry.js} +1 -1
  223. package/dist/mint-components/{p-e110688b.entry.js → p-735c9185.entry.js} +2 -2
  224. package/dist/mint-components/{p-433e7458.entry.js → p-7e323f2c.entry.js} +1 -1
  225. package/dist/mint-components/p-80569911.system.js +1 -0
  226. package/dist/mint-components/{p-c531cc75.entry.js → p-85029918.entry.js} +1 -1
  227. package/dist/mint-components/{p-0caad0db.entry.js → p-8677688c.entry.js} +1 -1
  228. package/dist/mint-components/{p-ab018deb.entry.js → p-8931d05e.entry.js} +2 -2
  229. package/dist/mint-components/{p-b487cb00.system.entry.js → p-8afb47c5.system.entry.js} +1 -1
  230. package/dist/mint-components/{p-4250b06d.entry.js → p-8e913ce5.entry.js} +1 -1
  231. package/dist/mint-components/p-8ea16fb6.js +1233 -0
  232. package/dist/mint-components/{p-ed16b35a.js → p-946f8a2c.js} +1 -1
  233. package/dist/mint-components/{p-0d21194c.entry.js → p-94ae86fc.entry.js} +1 -1
  234. package/dist/mint-components/{p-1fa9ef02.js → p-9580aac3.js} +1 -1
  235. package/dist/mint-components/p-95b6e903.entry.js +1 -0
  236. package/dist/mint-components/p-9ba07029.system.entry.js +1 -0
  237. package/dist/mint-components/{p-6dc742bc.js → p-9ec99ced.js} +1 -1
  238. package/dist/mint-components/{p-cb845a3a.system.entry.js → p-9f57e731.system.entry.js} +1 -1
  239. package/dist/mint-components/{p-00bc7211.js → p-a1b3f61a.js} +1 -1
  240. package/dist/mint-components/{p-74f43a08.system.js → p-a275725a.system.js} +1 -1
  241. package/dist/mint-components/{p-22a9114f.system.entry.js → p-a30d7069.system.entry.js} +1 -1
  242. package/dist/mint-components/{p-4c9d80e4.entry.js → p-a32afaaa.entry.js} +1 -1
  243. package/dist/mint-components/p-a6f4fb03.system.js +1 -0
  244. package/dist/mint-components/{p-1c6ef258.system.entry.js → p-ac86903a.system.entry.js} +1 -1
  245. package/dist/mint-components/p-ac9138fd.entry.js +1 -0
  246. package/dist/mint-components/{p-bfd77a07.entry.js → p-b00e8365.entry.js} +1 -1
  247. package/dist/mint-components/{p-66cf70f7.system.entry.js → p-b3510ca0.system.entry.js} +1 -1
  248. package/dist/mint-components/{p-c994512c.system.js → p-b5fd4fb6.system.js} +1 -1
  249. package/dist/mint-components/{p-47c83656.entry.js → p-bef123be.entry.js} +1 -1
  250. package/dist/mint-components/{p-79a3344f.js → p-c44b3725.js} +1 -1
  251. package/dist/mint-components/p-c4f275db.system.entry.js +1 -0
  252. package/dist/mint-components/p-c5f92183.system.entry.js +1 -0
  253. package/dist/mint-components/{p-9fed62f8.system.entry.js → p-c67ffd25.system.entry.js} +1 -1
  254. package/dist/mint-components/{p-60465a2d.system.js → p-c90fcb02.system.js} +1 -1
  255. package/dist/mint-components/{p-f7c0877d.entry.js → p-c95a437e.entry.js} +1 -1
  256. package/dist/mint-components/{p-7a268047.js → p-d181b17c.js} +1 -1
  257. package/dist/mint-components/p-d69c0a32.system.entry.js +1 -0
  258. package/dist/mint-components/{p-cf4e1709.entry.js → p-d9780ae9.entry.js} +1 -1
  259. package/dist/mint-components/p-db64c957.entry.js +33 -0
  260. package/dist/mint-components/{p-4fed8672.js → p-dbb79392.js} +1 -1
  261. package/dist/mint-components/{p-978d06ab.entry.js → p-e1422b78.entry.js} +1 -1
  262. package/dist/mint-components/p-e1e7d01c.js +157 -0
  263. package/dist/mint-components/{p-84d1041d.system.entry.js → p-e3b4e06a.system.entry.js} +1 -1
  264. package/dist/mint-components/{p-b1eafaae.entry.js → p-e4017ba5.entry.js} +1 -1
  265. package/dist/mint-components/p-e55aafe9.system.js +1 -0
  266. package/dist/mint-components/{p-ad4348c3.system.js → p-ee290b30.system.js} +1 -1
  267. package/dist/mint-components/{p-c62b277d.system.js → p-ee3d2ae4.system.js} +1 -1
  268. package/dist/mint-components/{p-dd30354a.system.entry.js → p-f3613921.system.entry.js} +1 -1
  269. package/dist/mint-components/{p-55eaba8e.system.entry.js → p-f3c2074b.system.entry.js} +1 -1
  270. package/dist/mint-components/{p-e0a724dd.system.js → p-f3ccba80.system.js} +19 -19
  271. package/dist/mint-components/{p-c065057d.entry.js → p-f7e49c12.entry.js} +2 -2
  272. package/dist/mint-components/{p-b703c89f.system.entry.js → p-fc86ba65.system.entry.js} +1 -1
  273. package/dist/types/components/sqm-base-registration/sqm-base-registration-form-view.d.ts +3 -1
  274. package/dist/types/components/sqm-checkbox-field/sqm-checkbox-field.d.ts +1 -1
  275. package/dist/types/components/sqm-dropdown-field/sqm-dropdown-field.d.ts +1 -1
  276. package/dist/types/components/sqm-form-message/FormMessage.stories.d.ts +4 -0
  277. package/dist/types/components/sqm-form-message/sqm-form-message.d.ts +4 -0
  278. package/dist/types/components/sqm-hero/sqm-hero.d.ts +4 -4
  279. package/dist/types/components/sqm-hero-image/sqm-hero-image.d.ts +2 -2
  280. package/dist/types/components/sqm-input-field/sqm-input-field.d.ts +1 -1
  281. package/dist/types/components/sqm-marketing-emails-checkbox/sqm-marketing-emails-checkbox.d.ts +1 -1
  282. package/dist/types/components/sqm-name-fields/sqm-name-fields-view.d.ts +1 -0
  283. package/dist/types/components/sqm-name-fields/sqm-name-fields.d.ts +5 -0
  284. package/dist/types/components/sqm-name-fields/useNameFields.d.ts +1 -0
  285. package/dist/types/components/sqm-password-field/sqm-password-field.d.ts +1 -1
  286. package/dist/types/components/sqm-portal-footer/sqm-portal-footer.d.ts +1 -1
  287. package/dist/types/components/sqm-portal-google-registration-form/sqm-portal-google-registration-form.d.ts +5 -0
  288. package/dist/types/components/sqm-portal-google-registration-form/usePortalGoogleRegistrationForm.d.ts +2 -1
  289. package/dist/types/components/sqm-rewards-table/cells/sqm-rewards-table-status-cell.d.ts +1 -1
  290. package/dist/types/components/sqm-titled-section/sqm-titled-section.d.ts +1 -1
  291. package/dist/types/components/sqm-widget-verification/sqm-widget-verification-controller.d.ts +5 -2
  292. package/dist/types/components/tax-and-cash/TaxForm.stories.d.ts +1 -0
  293. package/dist/types/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.d.ts +4 -10
  294. package/dist/types/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.d.ts +1 -2
  295. package/dist/types/components.d.ts +40 -32
  296. package/dist/types/global/styles.v1.d.ts +2 -0
  297. package/docs/docs.docx +0 -0
  298. package/docs/raisins.json +1 -1
  299. package/grapesjs/grapesjs.js +1 -1
  300. package/package.json +2 -2
  301. package/dist/cjs/data-88adb95b.js +0 -146
  302. package/dist/cjs/parseStates-d1effc19.js +0 -16
  303. package/dist/cjs/sqm-tax-and-cash.cjs.entry.js +0 -1313
  304. package/dist/esm/data-807686c2.js +0 -130
  305. package/dist/esm/parseStates-ed75e224.js +0 -14
  306. package/dist/esm/sqm-tax-and-cash.entry.js +0 -1309
  307. package/dist/esm-es5/data-807686c2.js +0 -1
  308. package/dist/esm-es5/extractProps-ae1afbb3.js +0 -1
  309. package/dist/esm-es5/parseStates-ed75e224.js +0 -1
  310. package/dist/esm-es5/sqm-base-registration-form-view-193f1721.js +0 -1
  311. package/dist/esm-es5/sqm-big-stat_46.entry.js +0 -1
  312. package/dist/esm-es5/sqm-tax-and-cash.entry.js +0 -1
  313. package/dist/esm-es5/usePayoutStatus-42cc6a2c.js +0 -6
  314. package/dist/esm-es5/utils-84b4b092.js +0 -1
  315. package/dist/mint-components/p-115dfc03.system.js +0 -1
  316. package/dist/mint-components/p-13f3a647.js +0 -1
  317. package/dist/mint-components/p-26468242.js +0 -1
  318. package/dist/mint-components/p-38263521.entry.js +0 -273
  319. package/dist/mint-components/p-3d713973.system.entry.js +0 -1
  320. package/dist/mint-components/p-3ea29bac.system.entry.js +0 -1
  321. package/dist/mint-components/p-402984b3.system.entry.js +0 -1
  322. package/dist/mint-components/p-4306a11d.entry.js +0 -33
  323. package/dist/mint-components/p-43d9c1c5.system.entry.js +0 -1
  324. package/dist/mint-components/p-4b9976cc.system.js +0 -1
  325. package/dist/mint-components/p-60f1cca2.system.js +0 -1
  326. package/dist/mint-components/p-69d8b4f2.system.entry.js +0 -1
  327. package/dist/mint-components/p-7837f69e.js +0 -46
  328. package/dist/mint-components/p-7b8232f8.system.js +0 -6
  329. package/dist/mint-components/p-8c3c4e92.js +0 -112
  330. package/dist/mint-components/p-916a2045.system.entry.js +0 -1
  331. package/dist/mint-components/p-92bed2ad.system.js +0 -1
  332. package/dist/mint-components/p-967a9040.system.js +0 -1
  333. package/dist/mint-components/p-a44a912b.entry.js +0 -1
  334. package/dist/mint-components/p-a597b136.entry.js +0 -1
  335. package/dist/mint-components/p-a8645c1b.system.js +0 -1
  336. package/dist/mint-components/p-be88596c.system.js +0 -1
  337. package/dist/mint-components/p-cf22cf56.entry.js +0 -1
  338. package/dist/mint-components/p-db1a0db1.js +0 -1233
  339. package/dist/mint-components/p-ddf3c05e.js +0 -1
  340. package/dist/mint-components/p-ea063d99.entry.js +0 -1
  341. package/dist/mint-components/p-ecc84140.system.entry.js +0 -1
  342. package/shoelace/assets/icons/twitter-x.svg +0 -4
  343. /package/dist/collection/global/{styles.js → styles.v2.js} +0 -0
  344. /package/dist/collection/global/{styles.ts → styles.v2.ts} +0 -0
  345. /package/dist/esm-es5/{copy-text-view-83b09456.js → copy-text-view-fac47254.js} +0 -0
  346. /package/dist/mint-components/global/{styles.ts → styles.v2.ts} +0 -0
  347. /package/dist/mint-components/{p-45c3ff6d.js → p-4a0a76a5.js} +0 -0
  348. /package/dist/mint-components/{p-c210374a.system.js → p-ce81839d.system.js} +0 -0
  349. /package/dist/types/global/{styles.d.ts → styles.v2.d.ts} +0 -0
@@ -1,14 +1,14 @@
1
1
  import { r as registerInstance, h as h$1, c as Host } from './index-b3a06de8.js';
2
- import { b as buildFontsCssUrl, i as intl } from './global-1099f20d.js';
2
+ import { b as buildFontsCssUrl, i as intl } from './global-943536b9.js';
3
3
  import { n as h, f as useEffect, i as d, k as useState, m as useRef, u as useMemo, b as browser, j as useReducer } from './dom-context-hooks.module-63370afd.js';
4
- import { i as isDemo, _ as _$1, d as dist, J, H, B, $ as $e, w as wn, u as useCallback, L, y as yn, j as jn, q as Ue, r as un, V as Ve, b as setUserIdentity, Q as Qe, k as kn } from './index.module-c9811a48.js';
4
+ import { i as isDemo, _ as _$1, d as dist, J, H, B, $ as $e, w as wn, u as useCallback, L, y as yn, j as jn, q as Ue, r as un, V as Ve, b as setUserIdentity, Q as Qe, k as kn, M as Mn, I as In, S as Sn } from './index.module-c9811a48.js';
5
5
  import { j as jsonpointer } from './jsonpointer-388a7082.js';
6
6
  import { c as cjs } from './cjs-bdfb4486.js';
7
- import { g as getProps, a as getMissingProps } from './utils-84b4b092.js';
7
+ import { g as getProps, a as getMissingProps } from './utils-334c1e34.js';
8
8
  import { c as createStyleSheet } from './JSS-67b5cff8.js';
9
9
  import './useReferralCodes-c2e809cf.js';
10
10
  import './mixins-f750863a.js';
11
- import { C as CopyTextView } from './copy-text-view-83b09456.js';
11
+ import { C as CopyTextView } from './copy-text-view-fac47254.js';
12
12
  import { a as useRequestRerender } from './re-render-7e22fb0d.js';
13
13
  import { u as useChildElements } from './useChildElements-3d872cef.js';
14
14
  import './luxon-bbf75a9d.js';
@@ -17,15 +17,17 @@ import { p as pathToRegexp } from './index-ffa26b43.js';
17
17
  import { E as EmailRegistrationView } from './email-registration-view-1f587f8b.js';
18
18
  import { R as REGISTRATION_FORM_STATE_CONTEXT, u as useRegistrationFormState } from './useRegistrationFormState-24d594ea.js';
19
19
  import { u as useInstantAccessRegistration } from './useInstantAccessRegistration-dda1f52b.js';
20
- import { R as RequiredPropsError, L as LEAD_FORM_STATE_CONTEXT, u as useLeadFormState } from './useLeadFormState-c379e5d7.js';
20
+ import { R as RequiredPropsError, L as LEAD_FORM_STATE_CONTEXT, u as useLeadFormState } from './useLeadFormState-9a652a42.js';
21
21
  import { P as PortalLoginView } from './sqm-portal-login-view-7670cd86.js';
22
- import { u as usePortalLogin } from './usePortalLogin-95814943.js';
22
+ import { u as usePortalLogin } from './usePortalLogin-f95bbc67.js';
23
23
  import { A as AsYouType } from './AsYouType-46f67d0d.js';
24
24
  import { i as isEmpty } from './utilities-72c07b09.js';
25
- import { u as useDemoBigStat, W as useBigStat, B as BigStatView, C as CardFeedView, c as CheckboxFieldView, e as CouponCodeView, D as DropdownFieldView, E as EditProfileView, H as HeroView, I as InputFieldView, U as LeadDropdownFieldView, Q as LeadFormView, X as withShadowView, L as LeaderboardView, N as NameFieldsView, f as ChangeMarktingView, P as PortalChangePasswordView, g as PortalFooterView, h as PortalForgotPasswordView, i as PortalFrameView, d as PortalRegisterView, R as ReferralIframeView, j as RewardExchangeView, Y as demoRewardExchange, J as useShareButton, a as ShareButtonView, K as useShareLink, S as StatContainerView, T as TaskCardView } from './ShadowViewAddon-4cde160a.js';
26
- import './sqm-portal-container-view-16309b22.js';
27
- import { p as parseStates } from './parseStates-ed75e224.js';
28
- import { u as usePayoutStatus } from './usePayoutStatus-42cc6a2c.js';
25
+ import { E as ErrorView } from './ErrorView-bbf0a042.js';
26
+ import { u as useDemoBigStat, W as useBigStat, B as BigStatView, C as CardFeedView, c as CheckboxFieldView, e as CouponCodeView, D as DropdownFieldView, E as EditProfileView, H as HeroView, I as InputFieldView, U as LeadDropdownFieldView, Q as LeadFormView, X as withShadowView, L as LeaderboardView, N as NameFieldsView, f as ChangeMarktingView, P as PortalChangePasswordView, g as PortalFooterView, h as PortalForgotPasswordView, i as PortalFrameView, d as PortalRegisterView, R as ReferralIframeView, j as RewardExchangeView, Y as demoRewardExchange, J as useShareButton, a as ShareButtonView, K as useShareLink, S as StatContainerView, T as TaskCardView } from './ShadowViewAddon-5928ca9d.js';
27
+ import './sqm-portal-container-view-176e92e3.js';
28
+ import { g as getCountryObj, L as LoadingView } from './utils-f27e62dc.js';
29
+ import { p as parseStates, e as extractProps } from './extractProps-54064fb0.js';
30
+ import { u as usePayoutStatus, T as TAX_CONTEXT_NAMESPACE, a as TAX_FORM_CONTEXT_NAMESPACE, U as USER_FORM_CONTEXT_NAMESPACE, C as CURRENCIES_NAMESPACE, b as COUNTRIES_NAMESPACE, S as SORTED_COUNTRIES_NAMESPACE, c as USER_QUERY_NAMESPACE, G as GET_USER$2, d as COUNTRIES_QUERY_NAMESPACE, e as GET_COUNTRIES, F as FINANCE_NETWORK_SETTINGS_NAMESPACE, f as GET_FINANCE_NETWORK_SETTINGS, g as CURRENCIES_QUERY_NAMESPACE, h as GET_CURRENCIES } from './data-acdb790f.js';
29
31
 
30
32
  /**
31
33
  *
@@ -2683,6 +2685,7 @@ function useNameFields(props) {
2683
2685
  const registrationFormState = d(REGISTRATION_FORM_STATE_CONTEXT);
2684
2686
  return {
2685
2687
  states: {
2688
+ optional: props.optional,
2686
2689
  registrationFormState,
2687
2690
  content: {
2688
2691
  lastNameLabel: props.lastNameLabel,
@@ -2704,6 +2707,11 @@ const NameFields = class {
2704
2707
  * @uiName Last name label
2705
2708
  */
2706
2709
  this.lastNameLabel = "Last Name";
2710
+ /**
2711
+ * @uiName Optional
2712
+ * @uiWidget
2713
+ */
2714
+ this.optional = false;
2707
2715
  h(this);
2708
2716
  }
2709
2717
  disconnectedCallback() { }
@@ -2715,6 +2723,7 @@ const NameFields = class {
2715
2723
  function useNameFieldsDemo(props) {
2716
2724
  return cjs({
2717
2725
  states: {
2726
+ optional: props.optional,
2718
2727
  validationErrors: [],
2719
2728
  content: {
2720
2729
  firstNameLabel: props.firstNameLabel,
@@ -3182,16 +3191,10 @@ const PayoutStatusAlert = class {
3182
3191
  this.errorDescription = "There was an error with determining your payout status.";
3183
3192
  /**
3184
3193
  * @undocumented
3185
- * @componentState { "title": "Information Required", "props": { "demoData": { "states": { "status": "INFORMATION_REQUIRED" } } }, "dependencies": ["sqm-payout-status-alert"] }
3186
- * @componentState { "title": "Over W9 Threshold - Defer", "props": { "demoData": { "states": { "status": "OVER_W9_THRESHOLD", "enforceUsTaxComplianceOption": "CASH_ONLY_DEFER_W9" } } }, "dependencies": ["sqm-payout-status-alert"] }
3187
- * @componentState { "title": "Over W9 Threshold - Hold", "props": { "demoData": { "states": { "status": "OVER_W9_THRESHOLD", "enforceUsTaxComplianceOption": "NONE" } } }, "dependencies": ["sqm-payout-status-alert"] }
3188
- * @componentState { "title": "Verification Required", "props": { "demoData": { "states": { "status": "VERIFICATION:REQUIRED" } } }, "dependencies": ["sqm-payout-status-alert"] }
3189
- * @componentState { "title": "Verification Internal", "props": { "demoData": { "states": { "status": "VERIFICATION:INTERNAL" } } }, "dependencies": ["sqm-payout-status-alert"] }
3190
- * @componentState { "title": "Verification Review", "props": { "demoData": { "states": { "status": "VERIFICATION:REVIEW" } } }, "dependencies": ["sqm-payout-status-alert"] }
3191
- * @componentState { "title": "Verification Failed", "props": { "demoData": { "states": { "status": "VERIFICATION:FAILED" } } }, "dependencies": ["sqm-payout-status-alert"] }
3192
- * @componentState { "title": "Account Review", "props": { "demoData": { "states": { "status": "ACCOUNT_REVIEW" } } }, "dependencies": ["sqm-payout-status-alert"] }
3193
- * @componentState { "title": "Hold", "props": { "demoData": { "states": { "status": "HOLD" } } }, "dependencies": ["sqm-payout-status-alert"] }
3194
- * @componentState { "title": "Error State", "props": { "demoData": { "states": { "error": true } } }, "dependencies": ["sqm-payout-status-alert"] }
3194
+ * @componentState { "title": "Payout Info Required", "props": { "states": { "status": "INFORMATION_REQUIRED" } }, "dependencies": ["sqm-payout-status-alert"] }
3195
+ * @componentState { "title": "Verification Required", "props": { "states": { "status": "VERIFICATION:REQUIRED" } }, "dependencies": ["sqm-payout-status-alert"] }
3196
+ * @componentState { "title": "Identity Verification", "props": { "states": { "status": "VERIFICATION:REVIEW" } }, "dependencies": ["sqm-payout-status-alert"] }
3197
+ * @componentState { "title": "Account Hold", "props": { "states": { "status": "HOLD" } }, "dependencies": ["sqm-payout-status-alert"] }
3195
3198
  */
3196
3199
  this.stateController = "{}";
3197
3200
  h(this);
@@ -4664,7 +4667,7 @@ const ReferredRegistration = class {
4664
4667
  /**
4665
4668
  * @uiName Register button text
4666
4669
  */
4667
- this.registerLabel = "Start Referring";
4670
+ this.registerLabel = "Claim Your Reward";
4668
4671
  /**
4669
4672
  * Require your participants to enter their first and last name.
4670
4673
  *
@@ -6120,7 +6123,6 @@ const ShareLink = class {
6120
6123
  function useDemoShareLink(props) {
6121
6124
  const [open, setOpen] = useState(false);
6122
6125
  const copyString = "https://www.example.com/sharelink/abc";
6123
- console.log("Demo props", props);
6124
6126
  return cjs({
6125
6127
  copyString: copyString,
6126
6128
  tooltiptext: props.tooltiptext,
@@ -6360,11 +6362,11 @@ const TaskCard = class {
6360
6362
  disconnectedCallback() { }
6361
6363
  render() {
6362
6364
  const { props } = isDemo()
6363
- ? useDemoBigStat(this)
6365
+ ? useDemoBigStat(getProps(this))
6364
6366
  : useBigStat({ ...getProps(this), programId: this.programId });
6365
6367
  const { value, loading } = props;
6366
6368
  const { states, callbacks } = isDemo()
6367
- ? useTaskCardDemo(this)
6369
+ ? useTaskCardDemo(getProps(this))
6368
6370
  : useTaskCard(this);
6369
6371
  return (h$1(TaskCardView, { callbacks: callbacks, states: {
6370
6372
  loading,
@@ -6385,6 +6387,1301 @@ function useTaskCardDemo(props) {
6385
6387
  }, props.demoData || {}, { arrayMerge: (_, a) => a });
6386
6388
  }
6387
6389
 
6390
+ function getCurrentStep(user) {
6391
+ var _a, _b;
6392
+ if (!((_a = user.impactConnection) === null || _a === void 0 ? void 0 : _a.connected) || !((_b = user.impactConnection) === null || _b === void 0 ? void 0 : _b.publisher)) {
6393
+ return "/1";
6394
+ }
6395
+ const { requiredTaxDocumentType, currentTaxDocument, withdrawalSettings, brandedSignup, payoutsAccount, } = user.impactConnection.publisher;
6396
+ // If they do have a required document, look at current document
6397
+ if (requiredTaxDocumentType && !currentTaxDocument) {
6398
+ // Specific to custom CASH setting,
6399
+ if (payoutsAccount.hold &&
6400
+ payoutsAccount.holdReasons.includes("NO_W9_DOCUMENT"))
6401
+ return "/dashboard";
6402
+ return "/3";
6403
+ }
6404
+ if (!withdrawalSettings && brandedSignup)
6405
+ return "/4";
6406
+ return "/dashboard";
6407
+ }
6408
+ function useTaxAndCash() {
6409
+ var _a, _b, _c, _d, _e;
6410
+ const host = _$1();
6411
+ const user = J();
6412
+ const locale = L();
6413
+ // State for current step of form
6414
+ const [step, setStep] = In({
6415
+ namespace: TAX_CONTEXT_NAMESPACE,
6416
+ initialValue: "/loading",
6417
+ });
6418
+ // State for when to hide steps, or override certain actions
6419
+ const [context, _setContext] = In({
6420
+ namespace: TAX_FORM_CONTEXT_NAMESPACE,
6421
+ initialValue: {},
6422
+ });
6423
+ // State to carry user form information into step 2
6424
+ const [userFormContext, _setUserFormContext] = In({
6425
+ namespace: USER_FORM_CONTEXT_NAMESPACE,
6426
+ initialValue: {
6427
+ firstName: undefined,
6428
+ lastName: undefined,
6429
+ email: undefined,
6430
+ countryCode: undefined,
6431
+ currency: undefined,
6432
+ },
6433
+ });
6434
+ const [_currenciesContext, setCurrenciesContext] = In({
6435
+ namespace: CURRENCIES_NAMESPACE,
6436
+ initialValue: [],
6437
+ });
6438
+ const [_countriesContext, _setCountriesContext] = In({
6439
+ namespace: COUNTRIES_NAMESPACE,
6440
+ initialValue: [],
6441
+ });
6442
+ const [_sortedCountriesContext, setSortedCountriesContext] = In({
6443
+ namespace: SORTED_COUNTRIES_NAMESPACE,
6444
+ initialValue: [],
6445
+ });
6446
+ const { data, errors } = Sn({
6447
+ namespace: USER_QUERY_NAMESPACE,
6448
+ query: GET_USER$2,
6449
+ skip: !user,
6450
+ options: {
6451
+ batch: false,
6452
+ },
6453
+ });
6454
+ const countryCode = ((_c = (_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) === null || _c === void 0 ? void 0 : _c.countryCode) ||
6455
+ userFormContext.countryCode;
6456
+ Sn({
6457
+ namespace: COUNTRIES_QUERY_NAMESPACE,
6458
+ query: GET_COUNTRIES,
6459
+ skip: !user,
6460
+ });
6461
+ const { data: financeNetworkData, refetch } = Sn({
6462
+ namespace: FINANCE_NETWORK_SETTINGS_NAMESPACE,
6463
+ query: GET_FINANCE_NETWORK_SETTINGS,
6464
+ skip: !user,
6465
+ variables: {
6466
+ filter: getFinanceNetworkFilter(),
6467
+ },
6468
+ });
6469
+ const { data: currenciesData } = Sn({
6470
+ namespace: CURRENCIES_QUERY_NAMESPACE,
6471
+ query: GET_CURRENCIES,
6472
+ skip: !user,
6473
+ variables: {
6474
+ locale,
6475
+ },
6476
+ });
6477
+ const supportedCurrencies = useMemo(() => {
6478
+ var _a, _b;
6479
+ // Filter out any currencies not supported by finance network settings
6480
+ const allValidCurrencies = (_b = (_a = financeNetworkData === null || financeNetworkData === void 0 ? void 0 : financeNetworkData.impactFinanceNetworkSettings) === null || _a === void 0 ? void 0 : _a.data) === null || _b === void 0 ? void 0 : _b.reduce((agg, settings) => {
6481
+ var _a, _b;
6482
+ const currency = (_b = (_a = currenciesData === null || currenciesData === void 0 ? void 0 : currenciesData.currencies) === null || _a === void 0 ? void 0 : _a.data) === null || _b === void 0 ? void 0 : _b.find((currency) => currency.currencyCode === settings.currency);
6483
+ // Currency not in supported list
6484
+ if (!currency)
6485
+ return agg;
6486
+ // Currency already added to list
6487
+ if (agg.find((currency) => currency.currencyCode === settings.currency))
6488
+ return agg;
6489
+ // Currency not supported by selected country
6490
+ if (userFormContext.countryCode &&
6491
+ settings.countryCode !== countryCode)
6492
+ return agg;
6493
+ return [...agg, currency];
6494
+ }, []);
6495
+ return allValidCurrencies;
6496
+ }, [financeNetworkData, countryCode]);
6497
+ const intlLocale = (locale === null || locale === void 0 ? void 0 : locale.replace("_", "-")) || "en";
6498
+ const sortByName = (a, b) => a.displayName < b.displayName ? -1 : 1;
6499
+ const paymentOptions = (_d = financeNetworkData === null || financeNetworkData === void 0 ? void 0 : financeNetworkData.impactFinanceNetworkSettings) === null || _d === void 0 ? void 0 : _d.data;
6500
+ // filter out any duplicate countries and null countryCode
6501
+ const availableCountries = useMemo(() => new Set(paymentOptions === null || paymentOptions === void 0 ? void 0 : paymentOptions.map((option) => option.countryCode).filter((value) => value)), [paymentOptions]);
6502
+ const _topCountries = ["CA", "GB", "US"];
6503
+ const sortedCountries = useMemo(() => Array.from(availableCountries)
6504
+ .map((countryCode) => getCountryObj({ countryCode, locale: intlLocale }))
6505
+ .sort(sortByName)
6506
+ .reduce((prev, countryObj) => {
6507
+ if (_topCountries.includes(countryObj.countryCode))
6508
+ return [countryObj, ...prev];
6509
+ return [...prev, countryObj];
6510
+ }, []), [availableCountries]);
6511
+ useEffect(() => {
6512
+ if (sortedCountries)
6513
+ setSortedCountriesContext(sortedCountries);
6514
+ }, [sortedCountries]);
6515
+ useEffect(() => {
6516
+ if (supportedCurrencies)
6517
+ setCurrenciesContext(supportedCurrencies);
6518
+ }, [supportedCurrencies]);
6519
+ useEffect(() => {
6520
+ if (errors) {
6521
+ setStep("/error");
6522
+ return;
6523
+ }
6524
+ if (!host || !user)
6525
+ return;
6526
+ if (data) {
6527
+ const user = data === null || data === void 0 ? void 0 : data.user;
6528
+ if (!user || step !== "/loading")
6529
+ return;
6530
+ const currentStep = getCurrentStep(user);
6531
+ setStep(currentStep);
6532
+ }
6533
+ }, [host, user, (_e = data === null || data === void 0 ? void 0 : data.user) === null || _e === void 0 ? void 0 : _e.email, errors]);
6534
+ function getFinanceNetworkFilter() {
6535
+ var _a, _b, _c;
6536
+ if (step === "/1")
6537
+ return {};
6538
+ if (step === "/4")
6539
+ return { currency_eq: (_c = (_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) === null || _c === void 0 ? void 0 : _c.currency };
6540
+ if (countryCode)
6541
+ return {
6542
+ countryCode_eq: countryCode,
6543
+ };
6544
+ return {};
6545
+ }
6546
+ return {
6547
+ step,
6548
+ setStep,
6549
+ context,
6550
+ namespace: Mn(TAX_CONTEXT_NAMESPACE),
6551
+ loading: step === "/loading",
6552
+ };
6553
+ }
6554
+
6555
+ const TaxAndCashMonolith = class {
6556
+ constructor(hostRef) {
6557
+ registerInstance(this, hostRef);
6558
+ /*---------------------------------------------------------------------------------
6559
+ !IMPORTANT!: Make sure to also change the prop names in the respective component
6560
+ -----------------------------------------------------------------------------------*/
6561
+ /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6562
+ STEP 1 PROPS:
6563
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
6564
+ /**
6565
+ * @uiName First name field label
6566
+ * @uiGroup Step 1 Properties
6567
+ */
6568
+ this.step1_firstName = "First name";
6569
+ /**
6570
+ * @uiName Last name field label
6571
+ * @uiGroup Step 1 Properties
6572
+ */
6573
+ this.step1_lastName = "Last name";
6574
+ /**
6575
+ * @uiName Email field label
6576
+ * @uiGroup Step 1 Properties
6577
+ */
6578
+ this.step1_email = "Email";
6579
+ /**
6580
+ * @uiName Country field label
6581
+ * @uiGroup Step 1 Properties
6582
+ */
6583
+ this.step1_country = "Country";
6584
+ /**
6585
+ * @uiName Phone number field label
6586
+ * @uiGroup Step 1 Properties
6587
+ */
6588
+ this.step1_phoneNumber = "Phone number";
6589
+ /**
6590
+ * @uiName Address field label
6591
+ * @uiGroup Step 1 Properties
6592
+ */
6593
+ this.step1_address = "Address";
6594
+ /**
6595
+ * @uiName City field label
6596
+ * @uiGroup Step 1 Properties
6597
+ */
6598
+ this.step1_city = "City";
6599
+ /**
6600
+ * @uiName State field label for states
6601
+ * @uiGroup Step 1 Properties
6602
+ */
6603
+ this.step1_state = "State";
6604
+ /**
6605
+ * @uiName State field label for provinces
6606
+ * @uiGroup Step 1 Properties
6607
+ */
6608
+ this.step1_province = "Province";
6609
+ /**
6610
+ * @uiName State field label for regions
6611
+ * @uiGroup Step 1 Properties
6612
+ */
6613
+ this.step1_region = "Region";
6614
+ /**
6615
+ * @uiName Postal code field label
6616
+ * @uiGroup Step 1 Properties
6617
+ */
6618
+ this.step1_postalCode = "Postal code";
6619
+ /**
6620
+ * @uiName Currency field label
6621
+ * @uiGroup Step 1 Properties
6622
+ */
6623
+ this.step1_currency = "Currency";
6624
+ /**
6625
+ * @uiName Currency field help text
6626
+ * @uiGroup Step 1 Properties
6627
+ */
6628
+ this.step1_currencyHelpText = "Choose your preferred payout currency";
6629
+ /**
6630
+ * Edit the property called terms and conditions text to change what's displayed for {termsAndConditionsLink}.
6631
+ * @uiName Terms and conditions checkbox
6632
+ * @uiGroup Step 1 Properties
6633
+ */
6634
+ this.step1_allowBankingCollection = "I have read the {termsAndConditionsLink} and allow impact.com to collect my tax and banking information";
6635
+ /**
6636
+ * @uiName Step 1 title
6637
+ * @uiGroup Step 1 Properties
6638
+ */
6639
+ this.step1_personalInformation = "Personal Information";
6640
+ /**
6641
+ * The link text that appears in the terms and conditions checkbox
6642
+ * @uiName Terms and conditions text
6643
+ * @uiGroup Step 1 Properties
6644
+ * @uiWidget textArea
6645
+ */
6646
+ this.step1_termsAndConditionsLabel = "terms and conditions";
6647
+ /**
6648
+ * The link that appears in the terms and conditions checkbox
6649
+ * @uiName Terms and conditions link
6650
+ * @uiGroup Step 1 Properties
6651
+ */
6652
+ this.step1_termsAndConditionsLink = "https://terms.advocate.impact.com/PayoutTermsAndConditions.html";
6653
+ /**
6654
+ * Placeholder text displayed in the currency search dropdown
6655
+ * @uiName Currency field placeholder text
6656
+ * @uiGroup Step 1 Properties
6657
+ */
6658
+ this.step1_searchForCurrencyText = "Search for currency..";
6659
+ /**
6660
+
6661
+ /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6662
+ STEP 2 PROPS:
6663
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
6664
+ /**
6665
+ * @uiName Step 2 title
6666
+ * @uiGroup Step 2 Properties
6667
+ */
6668
+ this.step2_indirectTax = "Indirect Tax";
6669
+ /**
6670
+ * Displayed under the title of this step.
6671
+ * @uiName Step 2 description
6672
+ * @uiGroup Step 2 Properties
6673
+ * @uiWidget textArea
6674
+ */
6675
+ this.step2_indirectTaxDescription = "Indirect taxes (e.g. VAT, HST, GST) are transaction based taxes often applied to goods and services. Service providers are typically required to register with their tax authority and collect these taxes on behalf governments.";
6676
+ /**
6677
+ * Displayed with indirect tax registration options.
6678
+ * @uiName Indirect tax details section title
6679
+ * @uiGroup Step 2 Properties
6680
+ */
6681
+ this.step2_indirectTaxDetails = "Indirect tax details";
6682
+ /**
6683
+ * @uiName Registered for indirect tax option
6684
+ * @uiGroup Step 2 Properties
6685
+ * @uiWidget textArea
6686
+ *
6687
+ */
6688
+ this.step2_otherRegion = "Registered for indirect tax";
6689
+ /**
6690
+ * Selecting this option will display fields to enter indirect tax details.
6691
+ * @uiName Registered for indirect tax option description
6692
+ * @uiGroup Step 2 Properties
6693
+ */
6694
+ this.step2_otherRegionSubtext = "If you’ve registered with your tax authority, add your information to stay tax compliant.";
6695
+ /**
6696
+ * @uiName Not registered for indirect tax option
6697
+ * @uiGroup Step 2 Properties
6698
+ * @uiWidget textArea
6699
+ */
6700
+ this.step2_notRegistered = "Not registered for indirect tax";
6701
+ /**
6702
+ * Participants based in the US are considered not registered.
6703
+ * @uiName Not registered for indirect tax option description
6704
+ * @uiGroup Step 2 Properties
6705
+ */
6706
+ this.step2_notRegisteredSubtext = "If you’ve never set up indirect tax with your tax authority, then you’re likely not considered registered.";
6707
+ /**
6708
+ * @uiName Region of indirect tax field label
6709
+ * @uiGroup Step 2 Properties
6710
+ */
6711
+ this.step2_selectedRegion = "Country / region of indirect tax";
6712
+ /**
6713
+ * @uiName Indirect tax number field label
6714
+ * @uiGroup Step 2 Properties
6715
+ */
6716
+ this.step2_indirectTaxNumber = "{taxType, select, GST {GST number} HST {HST number} VAT {VAT number} CT {CT number} SST {SST number} GENERAL {Indirect tax number}}";
6717
+ /**
6718
+ * @uiName Province field label
6719
+ * @uiGroup Step 2 Properties
6720
+ */
6721
+ this.step2_province = "Province";
6722
+ /**
6723
+ * @uiName Missing indirect tax number error message
6724
+ * @uiGroup Step 2 Properties
6725
+ */
6726
+ this.step2_indirectTaxNumberError = "{taxType, select, GST {GST number} HST {HST number} VAT {VAT number} CT {CT number} SST {SST number} GENERAL {Indirect tax number}} is required";
6727
+ /**
6728
+ * Displayed to participants registered for QST.
6729
+ * @uiName QST number field label
6730
+ * @uiGroup Step 2 Properties
6731
+ */
6732
+ this.step2_qstNumber = "QST number";
6733
+ /**
6734
+ * Displayed to participants registered for indirect tax in Quebec, Canada.
6735
+ * @uiName QST tax checkbox
6736
+ * @uiGroup Step 2 Properties
6737
+ */
6738
+ this.step2_isRegisteredQST = "I am registered for QST Tax";
6739
+ /**
6740
+ * Displayed to participants registered for indirect tax in Spain.
6741
+ * @uiName Spain income tax checkbox
6742
+ * @uiGroup Step 2 Properties
6743
+ * @uiWidget textArea
6744
+ */
6745
+ this.step2_isRegisteredSubRegionIncomeTax = "I am an individual registered for Income Tax purposes in Spain, and withholding tax will apply to any payments made to me.";
6746
+ /**
6747
+ * Displayed to participants registered in Spain.
6748
+ * @uiName Sub-region of indirect tax field label
6749
+ * @uiGroup Step 2 Properties
6750
+ */
6751
+ this.step2_subRegion = "Sub-region";
6752
+ /**
6753
+ * @uiName Income tax field label
6754
+ * @uiGroup Step 2 Properties
6755
+ */
6756
+ this.step2_subRegionTaxNumberLabel = "Income Tax Number";
6757
+ /**
6758
+ * Communicate that after this step, only Support can change personal and indirect tax information.
6759
+ * @uiName Submission confirmation alert
6760
+ * @uiGroup Step 2 Properties
6761
+ * @uiWidget textArea
6762
+ */
6763
+ 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.";
6764
+ /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6765
+ STEP 3 PROPS:
6766
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
6767
+ /**
6768
+ * @uiName Step 3 title
6769
+ * @uiGroup Step 3 Properties
6770
+ */
6771
+ this.step3_taxForm = "Tax form";
6772
+ /**
6773
+ * Display the type of tax form that the participant must submit.
6774
+ * @uiName Tax form name
6775
+ * @uiGroup Step 3 Properties
6776
+ */
6777
+ this.step3_taxFormLabel = "{documentType} Tax Form";
6778
+ /**
6779
+ * @uiName Participant type field label
6780
+ * @uiGroup Step 3 Properties
6781
+ */
6782
+ this.step3_participantType = "Participant type";
6783
+ /**
6784
+ * An option for the participant type field. Used to determine which W-8 form is required.
6785
+ * @uiName Business representative participant type label
6786
+ * @uiGroup Step 3 Properties
6787
+ */
6788
+ this.step3_businessEntity = "I represent a business";
6789
+ /**
6790
+ * An option for the participant type field. Used to determine which W-8 form is required.
6791
+ * @uiName Individual participant type label
6792
+ * @uiGroup Step 3 Properties
6793
+ */
6794
+ this.step3_individualParticipant = "I am an individual participant";
6795
+ /**
6796
+ * Displayed at the top of the page to participants based in the US.
6797
+ * @uiName W-9 tax form description
6798
+ * @uiGroup Step 3 Properties
6799
+ * @uiWidget textArea
6800
+ */
6801
+ this.step3_taxFormDescription = "Participants based in the US need to submit a {documentType} form.";
6802
+ /**
6803
+ * Displayed at the top of the page to individuals joining a US program who reside outside the country.
6804
+ * @uiName W-8 BEN tax form description
6805
+ * @uiGroup Step 3 Properties
6806
+ * @uiWidget textArea
6807
+ */
6808
+ this.step3_taxFormDescriptionIndividualParticipant = "Participants residing outside of the US, joining the referral program of a US-based company, need to submit a {documentType} form.";
6809
+ /**
6810
+ * Displayed at the top of the page to participants representing a business.
6811
+ * @uiName W-8 BEN-E tax form description
6812
+ * @uiGroup Step 3 Properties
6813
+ * @uiWidget textArea
6814
+ */
6815
+ this.step3_taxFormDescriptionBusinessEntity = "Participants residing outside of the US working with a US Brand need to submit a {documentType} form.";
6816
+ /**
6817
+ * This appears inside the Docusign frame.
6818
+ * @uiName Docusign session expired message
6819
+ * @uiGroup Step 3 Properties
6820
+ * @uiWidget textArea
6821
+ */
6822
+ this.step3_docusignExpired = "For your security and privacy, we automatically end your session after 20 minutes of inactivity. Please refresh and re-enter your tax information to continue.";
6823
+ /**
6824
+ * Remind participants their session will time out after 20 minutes of inactivity.
6825
+ * @uiName Docusign timed session message
6826
+ * @uiGroup Step 3 Properties
6827
+ * @uiWidget textArea
6828
+ */
6829
+ this.step3_docusignSessionWarning = "For your security, we automatically end your session when you have not interacted with the form after 20 minutes.";
6830
+ /**
6831
+ * This appears inside the Docusign frame.
6832
+ * @uiName Docusign form error message
6833
+ * @uiGroup Step 3 Properties
6834
+ * @uiWidget textArea
6835
+ */
6836
+ this.step3_docusignError = "There was a problem displaying this form. Please refresh the page. If this problem continues, contact our {supportLink}.";
6837
+ /**
6838
+ * @uiName Refresh page button label
6839
+ * @uiGroup Step 3 Properties
6840
+ */
6841
+ this.step3_refreshButton = "Refresh Page";
6842
+ /**
6843
+ * @uiName Exit button text
6844
+ * @uiGroup Step 3 Properties
6845
+ */
6846
+ this.step3_exitButton = "Exit";
6847
+ /**
6848
+ * @uiName Information modal title
6849
+ * @uiGroup Step 3 Properties
6850
+ */
6851
+ this.step3_modalTitle = "Important Note";
6852
+ /**
6853
+ * @uiName Information modal description text
6854
+ * @uiGroup Step 3 Properties
6855
+ */
6856
+ this.step3_modalDescription = "Remember the name you enter in your tax form. It must exactly match the bank account holder name configured in the next step. {br}{br}Otherwise you will have to resubmit your form again and there will be delays receiving your payout.";
6857
+ /**
6858
+ * @uiName Information modal button text
6859
+ * @uiGroup Step 3 Properties
6860
+ */
6861
+ this.step3_modalButtonText = "I understand";
6862
+ /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6863
+ STEP 4 PROPS:
6864
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
6865
+ /**
6866
+ * @uiName Step 4 title
6867
+ * @uiGroup Step 4 Properties
6868
+ */
6869
+ this.step4_taxAndPayouts = "Payouts";
6870
+ /**
6871
+ * @uiName Direct to bank payout option
6872
+ * @uiGroup Step 4 Properties
6873
+ */
6874
+ this.step4_directlyToBankAccount = "Directly to my bank account";
6875
+ /**
6876
+ * @uiName PayPal payout option
6877
+ * @uiGroup Step 4 Properties
6878
+ */
6879
+ this.step4_toPayPalAccount = "PayPal (2% processing fee capped to {feeCap})";
6880
+ /**
6881
+ * @uiName Threshold balance payment schedule option
6882
+ * @uiGroup Step 4 Properties
6883
+ */
6884
+ this.step4_paymentScheduleBalanceThreshold = "Pay me when my balance reaches a threshold";
6885
+ /**
6886
+ * @uiName Fixed day payment schedule option
6887
+ * @uiGroup Step 4 Properties
6888
+ */
6889
+ this.step4_paymentScheduleFixedDay = "Pay me on a fixed day of the month";
6890
+ /**
6891
+ * Let the participant choose what day of the month they’ll get paid
6892
+ * @uiName Payment day field label
6893
+ * @uiGroup Step 4 Properties
6894
+ */
6895
+ this.step4_paymentDaySelectLabel = "Payment Day";
6896
+ /**
6897
+ * Participant use this field to select the balance at which they want to be paid
6898
+ * @uiName Payment threshold field label
6899
+ * @uiGroup Step 4 Properties
6900
+ */
6901
+ this.step4_paymentThresholdSelectLabel = "Payment threshold";
6902
+ /**
6903
+ * One of two payment day options
6904
+ * @uiName First of month payday option
6905
+ * @uiGroup Step 4 Properties
6906
+ */
6907
+ this.step4_paymentDayFirstOfMonthLabelText = "1st of the month";
6908
+ /**
6909
+ * One of two payment day options
6910
+ * @uiName Fifteenth of month payday option
6911
+ * @uiGroup Step 4 Properties
6912
+ */
6913
+ this.step4_paymentDayFifteenthOfMonthLabelText = "15th of the month";
6914
+ /**
6915
+ * @uiName Payment method section header
6916
+ * @uiGroup Step 4 Properties
6917
+ */
6918
+ this.step4_paymentMethod = "Payment method";
6919
+ /**
6920
+ * @uiName Payment schedule section header
6921
+ * @uiGroup Step 4 Properties
6922
+ */
6923
+ this.step4_paymentSchedule = "Payment schedule";
6924
+ /**
6925
+ * @uiName Payment method section description
6926
+ * @uiGroup Step 4 Properties
6927
+ */
6928
+ this.step4_paymentMethodSubtext = "Payouts will be sent from our referral program provider, impact.com.";
6929
+ /**
6930
+ * Displayed to participants who choose PayPal as their payout method
6931
+ * @uiName PayPal email field label
6932
+ * @uiGroup Step 4 Properties
6933
+ */
6934
+ this.step4_payPalInputLabel = "PayPal email";
6935
+ /**
6936
+ * @uiName Bank country field label
6937
+ * @uiGroup Step 4 Properties
6938
+ */
6939
+ this.step4_bankLocationLabel = "Bank country location";
6940
+ /**
6941
+ * @uiName Beneficiary account field label
6942
+ * @uiGroup Step 4 Properties
6943
+ */
6944
+ this.step4_beneficiaryAccountNameLabel = "Account holder name";
6945
+ /**
6946
+ * @uiName Beneficiary account field description
6947
+ * @uiGroup Step 4 Properties
6948
+ */
6949
+ this.step4_beneficiaryAccountNameDescription = "The beneficiary name of your bank account. Ensure this matches the name on your tax form.";
6950
+ /**
6951
+ * @uiName Bank account type field label
6952
+ * @uiGroup Step 4 Properties
6953
+ */
6954
+ this.step4_bankAccountTypeLabel = "Bank account type";
6955
+ /**
6956
+ * @uiName Checking account option
6957
+ * @uiGroup Step 4 Properties
6958
+ */
6959
+ this.step4_checkingSelectItemLabel = "Checking";
6960
+ /**
6961
+ * Label text for the savings account type select item
6962
+ * @uiName Savings account options
6963
+ * @uiGroup Step 4 Properties
6964
+ */
6965
+ this.step4_savingsSelectItemLabel = "Savings";
6966
+ /**
6967
+ * @uiName Bank account number field label
6968
+ * @uiGroup Step 4 Properties
6969
+ */
6970
+ this.step4_bankAccountNumberLabel = "Bank account number";
6971
+ /**
6972
+ * @uiName IBAN field label
6973
+ * @uiGroup Step 4 Properties
6974
+ */
6975
+ this.step4_ibanLabel = "IBAN";
6976
+ /**
6977
+ * @uiName SWIFT code field label
6978
+ * @uiGroup Step 4 Properties
6979
+ */
6980
+ this.step4_swiftCodeLabel = "SWIFT code";
6981
+ /**
6982
+ * @uiName Routing code field label
6983
+ * @uiGroup Step 4 Properties
6984
+ */
6985
+ this.step4_routingCodeLabel = "{bankCountry, select, AU {BSB number} CA {Routing number} CZ {Bank code} HK {Clearing code} SG {Clearing code} US {ABA routing number} NZ {BSB number} ZA {Bank/Branch number} IN {IFSC} CNY {CNAPS} other {Routing code} }";
6986
+ /**
6987
+ * @uiName Bank name field label
6988
+ * @uiGroup Step 4 Properties
6989
+ */
6990
+ this.step4_bankNameLabel = "Bank name";
6991
+ /**
6992
+ * @uiName Classification entity field label
6993
+ * @uiGroup Step 4 Properties
6994
+ */
6995
+ this.step4_classificationEntityLabel = "Classification entity";
6996
+ /**
6997
+ * One of three options listed for the classification field
6998
+ * @uiName Business classification option
6999
+ * @uiGroup Step 4 Properties
7000
+ */
7001
+ this.step4_businessSelectItemLabel = "Business";
7002
+ /**
7003
+ * One of three options listed for the classification field
7004
+ * @uiName Individual classification option
7005
+ * @uiGroup Step 4 Properties
7006
+ */
7007
+ this.step4_individualSelectItemLabel = "Individual";
7008
+ /**
7009
+ * One of three options listed for the classification field
7010
+ * @uiName Foreign classification option
7011
+ * @uiGroup Step 4 Properties
7012
+ */
7013
+ this.step4_foreignSelectItemLabel = "Foreign";
7014
+ /**
7015
+ * @uiName Classification CPF field label
7016
+ * @uiGroup Step 4 Properties
7017
+ */
7018
+ this.step4_classificationCPFLabel = "Classification CPF";
7019
+ /**
7020
+ * @uiName Patronymic name field label
7021
+ * @uiGroup Step 4 Properties
7022
+ */
7023
+ this.step4_patronymicNameLabel = "Patronymic name";
7024
+ /**
7025
+ * @uiName VO code field label
7026
+ * @uiGroup Step 4 Properties
7027
+ */
7028
+ this.step4_voCodeLabel = "VO code";
7029
+ /**
7030
+ * @uiName Agency code field label
7031
+ * @uiGroup Step 4 Properties
7032
+ */
7033
+ this.step4_agencyCodeLabel = "Agency code";
7034
+ /**
7035
+ * @uiName Branch code field label
7036
+ * @uiGroup Step 4 Properties
7037
+ */
7038
+ this.step4_branchCodeLabel = "Branch code";
7039
+ /**
7040
+ * Label text for the classification input field
7041
+ * @uiName Classification field label
7042
+ * @uiGroup Step 4 Properties
7043
+ */
7044
+ this.step4_classificationLabel = "Classification";
7045
+ /**
7046
+ * @uiName Taxpayer ID field label
7047
+ * @uiGroup Step 4 Properties
7048
+ */
7049
+ this.step4_taxPayerIdLabel = "Beneficiary INN";
7050
+ /**
7051
+ * @uiName Bank address field label
7052
+ * @uiGroup Step 4 Properties
7053
+ */
7054
+ this.step4_bankAddressLabel = "Bank address";
7055
+ /**
7056
+ * @uiName Bank city field label
7057
+ * @uiGroup Step 4 Properties
7058
+ */
7059
+ this.step4_bankCityLabel = "Bank city";
7060
+ /**
7061
+ * @uiName Bank province/state field label
7062
+ * @uiGroup Step 4 Properties
7063
+ */
7064
+ this.step4_bankStateLabel = "Bank Province / State";
7065
+ /**
7066
+ * @uiName Bank postal code field label
7067
+ * @uiGroup Step 4 Properties
7068
+ */
7069
+ this.step4_bankPostalCodeLabel = "Bank postal code";
7070
+ /**
7071
+ * Default payment method to the participants’ bank account.
7072
+ * @uiName EFT withdrawal payment method
7073
+ * @uiGroup Step 4 Properties
7074
+ */
7075
+ this.step4_eftWithdrawalLabel = "EFT Withdrawal (free)";
7076
+ /**
7077
+ * @uiName FX Wire Processing fee text
7078
+ * @uiGroup Step 4 Properties
7079
+ */
7080
+ this.step4_fxWireProcessingFeeLabel = "FX Wire (Processing Fee {currency}{defaultFxFee}.00)";
7081
+ /**
7082
+ * @uiName Text for verify email dialog
7083
+ * @uiGroup Step 4 Properties
7084
+ */
7085
+ this.step4_verifyEmailHeaderText = "Verify your email";
7086
+ /**
7087
+ * @uiName Verify code widget header text
7088
+ * @uiGroup Step 4 Properties
7089
+ */
7090
+ this.step4_verifyEmailDescriptionText = "Verify your email to update your payment settings. Enter the code sent to {email} from our referral provider, impact.com.";
7091
+ /**
7092
+ * @uiName Information modal title
7093
+ * @uiGroup Step 4 Properties
7094
+ */
7095
+ this.step4_modalTitle = "Important Note";
7096
+ /**
7097
+ * @uiName Information modal description text
7098
+ * @uiGroup Step 4 Properties
7099
+ */
7100
+ this.step4_modalDescription = "Updating payment information places your account and payouts on hold for up to 48 hours while we verify your change. Payments scheduled during the hold period are skipped.";
7101
+ /**
7102
+ * @uiName Information modal button text
7103
+ * @uiGroup Step 4 Properties
7104
+ */
7105
+ this.step4_modalButtonText = "I understand, update my information";
7106
+ /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
7107
+ DASHBOARD PROPS:
7108
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
7109
+ /**
7110
+ * @uiName Active tax form badge label
7111
+ * @uiGroup Dashboard Properties
7112
+ */
7113
+ this.dashboard_statusTextActive = "Active";
7114
+ /**
7115
+ * @uiName Invalid tax form badge label
7116
+ * @uiGroup Dashboard Properties
7117
+ */
7118
+ this.dashboard_statusTextNotActive = "Invalid Tax Form";
7119
+ /**
7120
+ * Displayed when the participant submitted their form but it is awaiting review.
7121
+ *
7122
+ * @uiName Not verified tax form badge label
7123
+ * @uiGroup Dashboard Properties
7124
+ */
7125
+ this.dashboard_statusTextNotVerified = "Not Verified";
7126
+ /**
7127
+ * Displayed when the participant has not submitted their required tax form.
7128
+ *
7129
+ * @uiName Required tax form badge label
7130
+ */
7131
+ this.dashboard_statusTextRequired = "Required";
7132
+ /**
7133
+ * Additional text displayed next to the tax form's status badge
7134
+ *
7135
+ * @uiName Required tax form description
7136
+ */
7137
+ this.dashboard_requiredTaxForm = "Your payouts are on hold until you submit a {taxFormType} tax form.";
7138
+ /**
7139
+ * Additional text displayed next to the tax form's status badge
7140
+ *
7141
+ * @uiName Active W-9 description
7142
+ * @uiGroup Dashboard Properties
7143
+ */
7144
+ this.dashboard_badgeTextSubmittedOn = "Submitted on {dateSubmitted}.";
7145
+ /**
7146
+ * Additional text displayed next to the tax form's status badge.
7147
+ *
7148
+ * @uiName Active W-8 description
7149
+ * @uiGroup Dashboard Properties
7150
+ */
7151
+ this.dashboard_badgeTextSubmittedOnW8 = "Submitted on {dateSubmitted}. Valid for three years after submission.";
7152
+ /**
7153
+ * Additional text displayed next to the tax form's status badge.
7154
+ *
7155
+ * @uiName Tax form in review description
7156
+ * @uiGroup Dashboard Properties
7157
+ */
7158
+ this.dashboard_badgeTextAwaitingReview = "Awaiting review. Submitted on {dateSubmitted}.";
7159
+ /**
7160
+ * Part of the alert displayed at the top of the page.
7161
+ *
7162
+ * @uiName Inactive W-9 error message title
7163
+ * @uiGroup Dashboard Properties
7164
+ * @uiWidget textArea
7165
+ */
7166
+ this.dashboard_taxAlertHeaderNotActiveW9 = "Your W-9 tax form has personal information that doesn’t match your profile";
7167
+ /**
7168
+ * Part of the alert displayed at the top of the page.
7169
+ *
7170
+ * @uiName Inactive W-8 error message title
7171
+ * @uiGroup Dashboard Properties
7172
+ * @uiWidget textArea
7173
+ */
7174
+ this.dashboard_taxAlertHeaderNotActiveW8 = "{documentType} tax form is invalid";
7175
+ /**
7176
+ * Part of the alert displayed at the top of the page.
7177
+ *
7178
+ * @uiName Inactive W-9 error message description
7179
+ * @uiGroup Dashboard Properties
7180
+ * @uiWidget textArea
7181
+ */
7182
+ this.dashboard_taxAlertNotActiveMessageW9 = "Please resubmit a new {documentType} form.";
7183
+ /**
7184
+ * Part of the alert displayed at the top of the page.
7185
+ *
7186
+ * @uiName Inactive W-8 error message description
7187
+ * @uiGroup Dashboard Properties
7188
+ */
7189
+ this.dashboard_taxAlertNotActiveMessageW8 = "Your tax form may have expired or has personal information that doesn’t match your profile. Please submit a new {documentType} form.";
7190
+ /**
7191
+ * Additional text displayed next to the tax form's status badge.
7192
+ *
7193
+ * @uiName Invalid tax form description
7194
+ * @uiGroup Dashboard Properties
7195
+ * @uiWidget textArea
7196
+ */
7197
+ this.dashboard_invalidForm = "Make sure your information is correct and submit new form.";
7198
+ /**
7199
+ * @uiName Payout information section header
7200
+ * @uiGroup Dashboard Properties
7201
+ */
7202
+ this.dashboard_bankingInformationSectionHeader = "Payout Information";
7203
+ /**
7204
+ * @uiName Tax document section header
7205
+ * @uiGroup Dashboard Properties
7206
+ */
7207
+ this.dashboard_taxDocumentSectionHeader = "Tax documents";
7208
+ /**
7209
+ * Displayed under the tax document section header.
7210
+ *
7211
+ * @uiName Tax documents section description
7212
+ * @uiGroup Dashboard Properties
7213
+ */
7214
+ this.dashboard_taxDocumentSectionSubHeader = "{documentType} tax form";
7215
+ /**
7216
+ * No other statuses or badges will be displayed in the tax form section in this case.
7217
+ *
7218
+ * @uiName Tax form not required text
7219
+ * @uiGroup Dashboard Properties
7220
+ * @uiWidget textArea
7221
+ */
7222
+ this.dashboard_noFormNeededSubtext = "Tax documents are only required if you are based in the US or joining the referral program of a US based brand.";
7223
+ /**
7224
+ *
7225
+ * @uiName Indirect tax section header
7226
+ * @uiGroup Dashboard Properties
7227
+ */
7228
+ this.dashboard_indirectTaxInfoSectionHeader = "Indirect tax";
7229
+ /**
7230
+ * If the participant is registered for indirect tax in Canada, display the province they’re registered in.
7231
+ *
7232
+ * @uiName Canadian province of indirect tax
7233
+ * @uiGroup Dashboard Properties
7234
+ */
7235
+ this.dashboard_indirectTaxInfoCanada = "Registered in {province}, {country}";
7236
+ /**
7237
+ * If the participant is registered for indirect tax, display the country they’re registered in.
7238
+ *
7239
+ * @uiName Indirect tax country
7240
+ * @uiGroup Dashboard Properties
7241
+ */
7242
+ this.dashboard_indirectTaxInfoOtherCountry = "Registered in {country}";
7243
+ /**
7244
+ * If the participant is registered for indirect tax in Spain, display the region they’re registered in.
7245
+ *
7246
+ * @uiName Spanish region of indirect tax
7247
+ * @uiGroup Dashboard Properties
7248
+ */
7249
+ this.dashboard_indirectTaxInfoSpain = "Registered in {country}, {subRegion}";
7250
+ /**
7251
+ * @uiName Indirect tax tooltip
7252
+ * @uiGroup Dashboard Properties
7253
+ * @uiWidget textArea
7254
+ */
7255
+ this.dashboard_indirectTaxTooltipSupport = "To make changes to your indirect tax information, please contact our {supportLink}.";
7256
+ /**
7257
+ * Displayed to participants who have submitted their indirect tax information.
7258
+ *
7259
+ * @uiName Indirect tax details
7260
+ * @uiGroup Dashboard Properties
7261
+ */
7262
+ this.dashboard_indirectTaxDetails = "{indirectTaxType} number: {indirectTaxNumber}";
7263
+ /**
7264
+ * @uiName Submit new tax form button label
7265
+ * @uiGroup Dashboard Properties
7266
+ */
7267
+ this.dashboard_newFormButton = "Submit new form";
7268
+ /**
7269
+ * @uiName Edit payment info button label
7270
+ * @uiGroup Dashboard Properties
7271
+ */
7272
+ this.dashboard_editPaymentInformationButton = "Edit Payout Information";
7273
+ /**
7274
+ * @uiName Not registered for indirect tax text
7275
+ * @uiGroup Dashboard Properties
7276
+ * @uiWidget textArea
7277
+ */
7278
+ 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.";
7279
+ /**
7280
+ * Displayed to participants registered in Quebec, Canada.
7281
+ * @uiName QST indirect tax details
7282
+ * @uiGroup Dashboard Properties
7283
+ */
7284
+ this.dashboard_qstNumber = "QST number: {qstNumber}";
7285
+ /**
7286
+ * @uiName Spain sub-region indirect tax number
7287
+ * @uiGroup Dashboard Properties
7288
+ */
7289
+ this.dashboard_subRegionTaxNumber = "Income tax number: {subRegionTaxNumber}";
7290
+ /**
7291
+ * @uiName Payout status badge
7292
+ * @uiGroup Dashboard Properties
7293
+ */
7294
+ this.dashboard_statusBadgeText = "{badgeText, select, payoutToday {Payout Today} nextPayout {Next Payout} }";
7295
+ /**
7296
+ * Display participants' payout preference on the payout information card, indicating the balance at which they want to get paid.
7297
+ * @uiName Payout schedule by threshold text
7298
+ * @uiGroup Dashboard Properties
7299
+ */
7300
+ this.dashboard_thresholdPayoutText = "Next payout occurs when balance is {thresholdBalance}";
7301
+ /**
7302
+ * Shown before the participant’s bank account information.
7303
+ * @uiName Bank account field label
7304
+ * @uiGroup Dashboard Properties
7305
+ */
7306
+ this.dashboard_accountText = "Account";
7307
+ /**
7308
+ * Part of the Invoice table displayed at the bottom of the page.
7309
+ * @uiName Invoice number column title
7310
+ * @uiGroup Dashboard Properties
7311
+ */
7312
+ this.dashboard_invoiceColumnTitle = "Invoice";
7313
+ /**
7314
+ * Part of the Invoice table displayed at the bottom of the page.
7315
+ * @uiName Date column title
7316
+ * @uiGroup Dashboard Properties
7317
+ */
7318
+ this.dashboard_dateColumnTitle = "Date";
7319
+ /**
7320
+ * Part of the Invoice table displayed at the bottom of the page.
7321
+ * @uiName Earnings column title
7322
+ * @uiGroup Dashboard Properties
7323
+ */
7324
+ this.dashboard_earningsColumnTitle = "Earnings";
7325
+ /**
7326
+ * Part of the Invoice table displayed at the bottom of the page.
7327
+ * @uiName Indirect tax column title
7328
+ * @uiGroup Dashboard Properties
7329
+ */
7330
+ this.dashboard_indirectTaxColumnTitle = "Indirect tax";
7331
+ /**
7332
+ * Displayed under the payout details card.
7333
+ * @uiName Payout from impact text
7334
+ * @uiGroup Dashboard Properties
7335
+ * @uiWidget textArea
7336
+ */
7337
+ this.dashboard_payoutFromImpact = "Your balance may take up to 24 hours to update. Payouts will be sent from our referral program provider, impact.com.";
7338
+ /**
7339
+ * Part of the Invoice table displayed at the bottom of the page.
7340
+ * @uiName Earnings after tax column title
7341
+ * @uiGroup Dashboard Properties
7342
+ */
7343
+ this.dashboard_earningsAfterTaxColumnTitle = "Earnings after tax";
7344
+ /**
7345
+ * Part of the alert displayed at the top of the page when there’s been an issue preventing payouts.
7346
+ * @uiName Payout error message title
7347
+ * @uiGroup Dashboard Properties
7348
+ * @uiWidget textArea
7349
+ */
7350
+ this.dashboard_payoutHoldAlertHeader = "Your payout is on hold";
7351
+ /**
7352
+ * Part of the alert displayed at the top of the page when there’s been an issue preventing payouts.
7353
+ * @uiName Payout error message description
7354
+ * @uiGroup Dashboard Properties
7355
+ * @uiWidget textArea
7356
+ */
7357
+ this.dashboard_payoutHoldAlertDescription = "Please contact our {supportLink} or check your inbox for an email from our referral program provider, impact.com.";
7358
+ /**
7359
+ * Text displayed for existing publishers that do not have saved banking information.
7360
+ * @uiName Payout missing information subtext
7361
+ * @uiGroup Dashboard Properties
7362
+ */
7363
+ this.dashboard_payoutMissingInformationText = "Missing banking information, go to Impact.com to resolve.";
7364
+ /**
7365
+ * @uiName Invoice table description
7366
+ * @uiGroup Dashboard Properties
7367
+ */
7368
+ this.dashboard_invoiceDescription = "View and download your invoices to report your earnings and stay tax compliant.";
7369
+ /**
7370
+ * @uiName Invoice table previous page button label
7371
+ * @uiGroup Dashboard Properties
7372
+ */
7373
+ this.dashboard_invoicePrevLabel = "Prev";
7374
+ /**
7375
+ * @uiName Invoice table next page button label
7376
+ * @uiGroup Dashboard Properties
7377
+ */
7378
+ this.dashboard_invoiceMoreLabel = "Next";
7379
+ /**
7380
+ * @uiName Invoice table title
7381
+ * @uiGroup Dashboard Properties
7382
+ */
7383
+ this.dashboard_invoiceHeader = "Invoices";
7384
+ /**
7385
+ * @uiName Empty invoice table header
7386
+ * @uiGroup Dashboard Properties
7387
+ */
7388
+ this.dashboard_invoiceEmptyStateHeader = "View your invoice details";
7389
+ /**
7390
+ * @uiName Empty invoice table description
7391
+ * @uiGroup Dashboard Properties
7392
+ */
7393
+ this.dashboard_invoiceEmptyStateText = "Refer a friend to view the status of your invoices and rewards earned";
7394
+ /**
7395
+ * @uiName Replace tax form modal header
7396
+ * @uiGroup Dashboard Properties
7397
+ */
7398
+ this.dashboard_replaceTaxFormModalHeader = "Replace existing tax form";
7399
+ /**
7400
+ * @uiName Replace tax form modal body text
7401
+ * @uiGroup Dashboard Properties
7402
+ * @uiWidget textArea
7403
+ */
7404
+ this.dashboard_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.";
7405
+ /**
7406
+ * Part of the alert displayed at the top of the page when the user needs to verify their identity.
7407
+ * @uiName Verification required alert message title
7408
+ * @uiGroup Dashboard Properties
7409
+ * @uiWidget textArea
7410
+ */
7411
+ this.dashboard_verificationRequiredHeader = "Verify your identity";
7412
+ /**
7413
+ * Part of the alert displayed at the top of the page when the user needs to verify their identity
7414
+ * @uiName Verification required alert message description
7415
+ * @uiGroup Dashboard Properties
7416
+ * @uiWidget textArea
7417
+ */
7418
+ this.dashboard_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}.";
7419
+ /**
7420
+ * @uiName Verification required internal alert header
7421
+ * @uiGroup Dashboard Properties
7422
+ * @uiWidget textArea
7423
+ */
7424
+ this.dashboard_verificationRequiredInternalHeader = "Identity Verification in Progress";
7425
+ /**
7426
+ * @uiName Verification required internal alert description
7427
+ * @uiGroup Dashboard Properties
7428
+ * @uiWidget textArea
7429
+ */
7430
+ this.dashboard_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}.";
7431
+ /**
7432
+ * @uiName Verification review internal alert header
7433
+ * @uiGroup Dashboard Properties
7434
+ * @uiWidget textArea
7435
+ */
7436
+ this.dashboard_verificationReviewInternalHeader = "Identity Verification Under Review";
7437
+ /**
7438
+ * @uiName Verification review internal alert description
7439
+ * @uiGroup Dashboard Properties
7440
+ * @uiWidget textArea
7441
+ */
7442
+ this.dashboard_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}.";
7443
+ /**
7444
+ * @uiName Verification failed internal alert header
7445
+ * @uiGroup Dashboard Properties
7446
+ * @uiWidget textArea
7447
+ */
7448
+ this.dashboard_verificationFailedInternalHeader = "Identity Verification Unsuccessful";
7449
+ /**
7450
+ * @uiName Verification failed internal alert description
7451
+ * @uiGroup Dashboard Properties
7452
+ * @uiWidget textArea
7453
+ */
7454
+ this.dashboard_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}.";
7455
+ /**
7456
+ * Part of the alert displayed at the top of the page when the user needs to verify their identity.
7457
+ * @uiName Verification required alert button text
7458
+ * @uiGroup Dashboard Properties
7459
+ * @uiWidget textArea
7460
+ */
7461
+ this.dashboard_verificationRequiredButtonText = "Start Verification";
7462
+ /**
7463
+ * @uiName W-9 payment threshold alert header
7464
+ * @uiGroup Dashboard Properties
7465
+ * @uiWidget textArea
7466
+ */
7467
+ this.dashboard_w9RequiredHeader = "Your next payout is on hold";
7468
+ /**
7469
+ * @uiName W-9 payment threshold alert description
7470
+ * @uiGroup Dashboard Properties
7471
+ * @uiWidget textArea
7472
+ */
7473
+ this.dashboard_w9RequiredDescription = "You have surpassed the $600 threshold requiring a W-9 form or have multiple accounts with impact.com. To remove the hold, please submit your W-9 form.";
7474
+ /**
7475
+ * @uiName Account review alert header
7476
+ */
7477
+ this.dashboard_accountReviewHeader = "Your account is under review";
7478
+ /**
7479
+ * @uiName Account review alert description
7480
+ */
7481
+ this.dashboard_accountReviewDescription = "This process takes 48 hours, payouts are on hold until it's completed. You will receive an email from our referral provider, Impact.com, if any issues arise. It contains details on how to resolve this issue. If you need further assistance, please reach out to our {supportLink}.";
7482
+ /**
7483
+ * @uiName Terms and Conditions text
7484
+ * @uiGroup Dashboard Properties
7485
+ */
7486
+ this.dashboard_termsAndConditions = "Terms and Conditions";
7487
+ /**
7488
+ * @uiName W-9 payment threshold alert button text
7489
+ * @uiGroup Dashboard Properties
7490
+ * @uiWidget textArea
7491
+ */
7492
+ this.dashboard_w9RequiredButtonText = "Submit W-9";
7493
+ /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
7494
+ GENERAL PROPS:
7495
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
7496
+ /**
7497
+ * @uiName Setup progress
7498
+ * @uiGroup General Form Properties
7499
+ */
7500
+ this.formStep = "Step {step} of {count}";
7501
+ /**
7502
+ * Part of the alert displayed at the top of the page.
7503
+ * @uiName Form submission error message title
7504
+ * @uiGroup General Form Properties
7505
+ * @uiWidget textArea
7506
+ */
7507
+ this.generalErrorTitle = "There was a problem submitting your information";
7508
+ /**
7509
+ * Part of the alert displayed at the top of the page.
7510
+ * @uiName Form submission error message description
7511
+ * @uiGroup General Form Properties
7512
+ * @uiWidget textArea
7513
+ */
7514
+ this.generalErrorDescription = "Please review your information and try again. If this problem continues, contact our {supportLink}.";
7515
+ /**
7516
+ * Displayed under a field that is missing required information.
7517
+ * @uiName Empty form field error message
7518
+ * @uiGroup General Form Properties
7519
+ */
7520
+ this.fieldRequiredError = "{fieldName} is required";
7521
+ /**
7522
+ * Displayed under a field that includes invalid characters (non-ASCII).
7523
+ * @uiName Invalid character error message
7524
+ * @uiGroup General Form Properties
7525
+ */
7526
+ this.invalidCharacterError = "{fieldName} includes characters that aren't supported.";
7527
+ /**
7528
+ * Displayed under a field when it has an invalid entry.
7529
+ * @uiName Form field error message
7530
+ * @uiGroup General Form Properties
7531
+ */
7532
+ this.fieldInvalidError = "{fieldName} is invalid";
7533
+ /**
7534
+ * @uiName Continue button label
7535
+ * @uiGroup General Form Properties
7536
+ */
7537
+ this.continueButton = "Continue";
7538
+ /**
7539
+ * @uiName Back button label
7540
+ * @uiGroup General Form Properties
7541
+ */
7542
+ this.backButton = "Back";
7543
+ /**
7544
+ * @uiName Cancel button label
7545
+ * @uiGroup General Form Properties
7546
+ */
7547
+ this.cancelButton = "Cancel";
7548
+ /**
7549
+ * Part of the alert displayed at the top of the page if the participant is already a registered partner on impact.com.
7550
+ * @uiName Participant is a partner alert title
7551
+ * @uiGroup General Form Properties
7552
+ * @uiWidget textArea
7553
+ */
7554
+ this.isPartnerAlertHeader = "An account with this email already exists with our referral program provider, impact.com";
7555
+ /**
7556
+ * Part of the alert displayed at the top of the page if the participant is already a registered partner on impact.com.
7557
+ * @uiName Participant is a partner alert description
7558
+ * @uiGroup General Form Properties
7559
+ * @uiWidget textArea
7560
+ */
7561
+ 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.";
7562
+ /**
7563
+ * Placeholder text displayed in the country search dropdown
7564
+ * @uiName Country field placeholder text
7565
+ * @uiGroup General Form Properties
7566
+ */
7567
+ this.searchForCountryText = "Search for country..";
7568
+ /**
7569
+ * Part of the alert displayed at the top of the page.
7570
+ * @uiName Page load error message title
7571
+ * @uiGroup General Form Properties
7572
+ * @uiWidget textArea
7573
+ */
7574
+ this.loadingErrorAlertHeader = "There was a problem loading your form";
7575
+ /**
7576
+ * Part of the alert displayed at the top of the page.
7577
+ * @uiName Page load error message description
7578
+ * @uiGroup General Form Properties
7579
+ * @uiWidget textArea
7580
+ */
7581
+ this.loadingErrorAlertDescription = "Please refresh the page and try again. If this problem continues, contact our {supportLink}.";
7582
+ /**
7583
+ * Displayed at the top of the page on all set up steps.
7584
+ * @uiName Page description
7585
+ * @uiGroup General Form Properties
7586
+ */
7587
+ this.taxAndPayoutsDescription = "Submit your tax documents and add your banking information to receive your rewards.";
7588
+ /**
7589
+ * Link text for contacting support team
7590
+ * @uiName Suport link text
7591
+ * @uiGroup General Form Properties
7592
+ */
7593
+ this.supportLink = "support team";
7594
+ /**
7595
+ * Link text for Terms and Conditions
7596
+ * @uiName Terms and Conditions text
7597
+ * @uiGroup General Form Properties
7598
+ */
7599
+ this.termsAndConditions = "Terms and Conditions";
7600
+ /**
7601
+ *
7602
+ * @undocumented
7603
+ * @componentState { "title": "Step 1: Personal information", "props": { "step": "/1" }, "dependencies": ["sqm-user-info-form"], "uiGroup": "Step 1 Properties" }
7604
+ * @componentState { "title": "Step 2: Indirect tax", "props": { "step": "/2" }, "dependencies": ["sqm-indirect-tax-form"], "uiGroup": "Step 2 Properties" }
7605
+ * @componentState { "title": "Step 3: Tax form", "props": { "step": "/3" }, "dependencies": ["sqm-docusign-form"], "uiGroup": "Step 3 Properties" }
7606
+ * @componentState { "title": "Step 4: Payment method", "props": { "step": "/4" }, "dependencies": ["sqm-banking-info-form"], "uiGroup": "Step 4 Properties" }
7607
+ * @componentState { "title": "Dashboard", "props": { "step": "/dashboard" }, "dependencies": ["sqm-tax-and-cash-dashboard"], "uiGroup": "Dashboard Properties" }
7608
+ */
7609
+ this.stateController = "{}";
7610
+ h(this);
7611
+ }
7612
+ disconnectedCallback() { }
7613
+ // this field is required prop
7614
+ getGeneralStepTextProps(prefix) {
7615
+ const props = getProps(this);
7616
+ return {
7617
+ ...extractProps(props, prefix),
7618
+ generalErrorTitle: props.generalErrorTitle,
7619
+ generalErrorDescription: props.generalErrorDescription,
7620
+ fieldRequiredError: props.fieldRequiredError,
7621
+ invalidCharacterError: props.invalidCharacterError,
7622
+ fieldInvalidError: props.fieldInvalidError,
7623
+ continueButton: props.continueButton,
7624
+ backButton: props.backButton,
7625
+ cancelButton: props.cancelButton,
7626
+ isPartnerAlertHeader: props.isPartnerAlertHeader,
7627
+ isPartnerAlertDescription: props.isPartnerAlertDescription,
7628
+ loadingErrorAlertHeader: props.loadingErrorAlertHeader,
7629
+ loadingErrorAlertDescription: props.loadingErrorAlertDescription,
7630
+ taxAndPayoutsDescription: props.taxAndPayoutsDescription,
7631
+ searchForCountryText: props.searchForCountryText,
7632
+ formStep: props.formStep,
7633
+ supportLink: props.supportLink,
7634
+ };
7635
+ }
7636
+ render() {
7637
+ var _a, _b;
7638
+ const props = isDemo() ? useDemoTaxAndCash(this) : useTaxAndCash();
7639
+ // @ts-ignore
7640
+ if ((_a = this.demoData) === null || _a === void 0 ? void 0 : _a.showTextProps) {
7641
+ const textProps = getProps(this);
7642
+ return (h$1("div", null, (_b = Object.keys(textProps)) === null || _b === void 0 ? void 0 : _b.map((prop) => {
7643
+ if (prop === "demoData")
7644
+ return;
7645
+ return (h$1("div", null, h$1("b", null, prop, ":"), " ", this[prop], h$1("hr", null)));
7646
+ })));
7647
+ }
7648
+ switch (props.step) {
7649
+ case "/1":
7650
+ return (h$1("sqm-user-info-form", Object.assign({}, this.getGeneralStepTextProps("step1_"))));
7651
+ case "/2":
7652
+ return (h$1("sqm-indirect-tax-form", Object.assign({}, this.getGeneralStepTextProps("step2_"))));
7653
+ case "/3":
7654
+ return (h$1("sqm-docusign-form", Object.assign({}, this.getGeneralStepTextProps("step3_"))));
7655
+ case "/4":
7656
+ return (h$1("sqm-banking-info-form", Object.assign({}, this.getGeneralStepTextProps("step4_"))));
7657
+ case "/dashboard":
7658
+ return (h$1("sqm-tax-and-cash-dashboard", Object.assign({}, this.getGeneralStepTextProps("dashboard_"), { stateController: props["sqm-tax-and-cash-dashboard_stateController"] || "{}" })));
7659
+ case "/error":
7660
+ return (h$1(ErrorView, { loadingErrorAlertHeader: this.loadingErrorAlertHeader, loadingErrorAlertDescription: intl.formatMessage({
7661
+ id: "loadingErrorAlertDescription",
7662
+ defaultMessage: this.loadingErrorAlertDescription,
7663
+ }, {
7664
+ supportLink: (h$1("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, this.supportLink)),
7665
+ }) }));
7666
+ }
7667
+ return h$1(LoadingView, null);
7668
+ }
7669
+ };
7670
+ function useDemoTaxAndCash(props) {
7671
+ const [step, setStep] = In({
7672
+ namespace: TAX_CONTEXT_NAMESPACE,
7673
+ initialValue: "/1",
7674
+ });
7675
+ const states = parseStates(props.stateController);
7676
+ const formatted = Object.keys(states).reduce((prev, key) => key === "sqm-tax-and-cash"
7677
+ ? { ...prev, ...states[key] }
7678
+ : { ...prev, [`${key}_stateController`]: states[key] }, {});
7679
+ return cjs({
7680
+ step,
7681
+ setStep,
7682
+ }, props.demoData || formatted || {}, { arrayMerge: (_, a) => a });
7683
+ }
7684
+
6388
7685
  const Timeline = class {
6389
7686
  constructor(hostRef) {
6390
7687
  registerInstance(this, hostRef);
@@ -6580,4 +7877,4 @@ function useUserNameDemo(props) {
6580
7877
  }, props.demoData || {}, { arrayMerge: (_, a) => a });
6581
7878
  }
6582
7879
 
6583
- export { BigStat as sqm_big_stat, BrandComponent as sqm_brand, SqmBrandSelector as sqm_brand_selector, CardFeed as sqm_card_feed, CheckboxField as sqm_checkbox_field, CouponCode as sqm_coupon_code, DividedLayout as sqm_divided_layout, DropdownField as sqm_dropdown_field, EditProfile as sqm_edit_profile, Hero as sqm_hero, HeroImage as sqm_hero_image, SqmHookStoryContainer as sqm_hook_story_container, Image as sqm_image, InputField as sqm_input_field, LeadDropdownField as sqm_lead_dropdown_field, LeadForm as sqm_lead_form, Leaderboard as sqm_leaderboard, LinkButton as sqm_link_button, MarketingEmailsCheckbox as sqm_marketing_emails_checkbox, NameFields as sqm_name_fields, NavigationMenu as sqm_navigation_menu, PayoutButtonScroll as sqm_payout_button_scroll, PayoutStatusAlert as sqm_payout_status_alert, PortalChangeMarketing as sqm_portal_change_marketing, PortalChangePassword as sqm_portal_change_password, PortalFooter as sqm_portal_footer, PortalForgotPassword as sqm_portal_forgot_password, PortalFrame as sqm_portal_frame, PortalLogin as sqm_portal_login, PortalRegister as sqm_portal_register, ProgramExplainer as sqm_program_explainer, ProgramExplainerStep as sqm_program_explainer_step, ProgramMenu as sqm_program_menu, ReferralCard as sqm_referral_card, SqmReferralIframe as sqm_referral_iframe, ReferredRegistration as sqm_referred_registration, SqmRewardExchangeList as sqm_reward_exchange_list, SqmRouter as sqm_router, ShareButton as sqm_share_button, ShareCode as sqm_share_code, ShareLink as sqm_share_link, StatContainer as sqm_stat_container, TaskCard as sqm_task_card, Timeline as sqm_timeline, TimelineReward as sqm_timeline_entry, UserName as sqm_user_name };
7880
+ export { BigStat as sqm_big_stat, BrandComponent as sqm_brand, SqmBrandSelector as sqm_brand_selector, CardFeed as sqm_card_feed, CheckboxField as sqm_checkbox_field, CouponCode as sqm_coupon_code, DividedLayout as sqm_divided_layout, DropdownField as sqm_dropdown_field, EditProfile as sqm_edit_profile, Hero as sqm_hero, HeroImage as sqm_hero_image, SqmHookStoryContainer as sqm_hook_story_container, Image as sqm_image, InputField as sqm_input_field, LeadDropdownField as sqm_lead_dropdown_field, LeadForm as sqm_lead_form, Leaderboard as sqm_leaderboard, LinkButton as sqm_link_button, MarketingEmailsCheckbox as sqm_marketing_emails_checkbox, NameFields as sqm_name_fields, NavigationMenu as sqm_navigation_menu, PayoutButtonScroll as sqm_payout_button_scroll, PayoutStatusAlert as sqm_payout_status_alert, PortalChangeMarketing as sqm_portal_change_marketing, PortalChangePassword as sqm_portal_change_password, PortalFooter as sqm_portal_footer, PortalForgotPassword as sqm_portal_forgot_password, PortalFrame as sqm_portal_frame, PortalLogin as sqm_portal_login, PortalRegister as sqm_portal_register, ProgramExplainer as sqm_program_explainer, ProgramExplainerStep as sqm_program_explainer_step, ProgramMenu as sqm_program_menu, ReferralCard as sqm_referral_card, SqmReferralIframe as sqm_referral_iframe, ReferredRegistration as sqm_referred_registration, SqmRewardExchangeList as sqm_reward_exchange_list, SqmRouter as sqm_router, ShareButton as sqm_share_button, ShareCode as sqm_share_code, ShareLink as sqm_share_link, StatContainer as sqm_stat_container, TaskCard as sqm_task_card, TaxAndCashMonolith as sqm_tax_and_cash, Timeline as sqm_timeline, TimelineReward as sqm_timeline_entry, UserName as sqm_user_name };