@saasquatch/mint-components 2.5.7 → 2.5.9-1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (338) hide show
  1. package/dist/cjs/{ShadowViewAddon-ee16ec1d.js → ShadowViewAddon-7f609b03.js} +5 -5
  2. package/dist/cjs/{data-962310e1.js → data-7ea0e395.js} +1 -1
  3. package/dist/cjs/{global-973bc63c.js → global-0316d9f8.js} +1 -1
  4. package/dist/cjs/{index-8530c62f.js → index-88a40938.js} +208 -111
  5. package/dist/cjs/loader.cjs.js +2 -2
  6. package/dist/cjs/mint-components.cjs.js +2 -2
  7. package/dist/cjs/{re-render-51c48d7c.js → re-render-65869eb3.js} +1 -1
  8. package/dist/cjs/sqm-banking-info-form_10.cjs.entry.js +9 -9
  9. package/dist/cjs/sqm-big-stat_47.cjs.entry.js +17 -15
  10. package/dist/cjs/sqm-close-button.cjs.entry.js +1 -1
  11. package/dist/cjs/sqm-code-verification.cjs.entry.js +3 -3
  12. package/dist/cjs/sqm-context-router.cjs.entry.js +1 -1
  13. package/dist/cjs/sqm-email-verification_2.cjs.entry.js +12 -8
  14. package/dist/cjs/sqm-empty_4.cjs.entry.js +2 -2
  15. package/dist/cjs/sqm-google-sign-in.cjs.entry.js +1 -1
  16. package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +1 -1
  17. package/dist/cjs/sqm-instant-access-registration.cjs.entry.js +6 -4
  18. package/dist/cjs/{sqm-lead-checkbox-field-view-24ac7358.js → sqm-lead-checkbox-field-view-e12e8cb6.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-7dfbc714.js → sqm-lead-input-field-view-67aaabf7.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 +2 -2
  23. package/dist/cjs/sqm-logout-current-user.cjs.entry.js +1 -1
  24. package/dist/cjs/{sqm-navigation-sidebar-item-view-a2cab80e.js → sqm-navigation-sidebar-item-view-e7c53f14.js} +1 -1
  25. package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +2 -2
  26. package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +1 -1
  27. package/dist/cjs/sqm-pagination_3.cjs.entry.js +3 -3
  28. package/dist/cjs/{sqm-partner-info-modal-view-c8972001.js → sqm-partner-info-modal-view-17dbf6f7.js} +1 -1
  29. package/dist/cjs/sqm-password-field.cjs.entry.js +2 -2
  30. package/dist/cjs/sqm-popup-container.cjs.entry.js +1 -1
  31. package/dist/cjs/{sqm-portal-email-verification-view-92866725.js → sqm-portal-email-verification-view-ff5e33b9.js} +1 -1
  32. package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +3 -3
  33. package/dist/cjs/sqm-portal-forgot-password_6.cjs.entry.js +4 -4
  34. package/dist/cjs/sqm-portal-logout.cjs.entry.js +1 -1
  35. package/dist/cjs/{sqm-portal-profile-view-60e78cdb.js → sqm-portal-profile-view-6adaa202.js} +1 -1
  36. package/dist/cjs/sqm-portal-profile.cjs.entry.js +4 -4
  37. package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +1 -1
  38. package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +1 -1
  39. package/dist/cjs/{sqm-portal-verify-email-view-7efa70c9.js → sqm-portal-verify-email-view-08be7dec.js} +1 -1
  40. package/dist/cjs/sqm-qr-code.cjs.entry.js +2 -2
  41. package/dist/cjs/sqm-referral-table_11.cjs.entry.js +5 -5
  42. package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +2 -2
  43. package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +5 -5
  44. package/dist/cjs/sqm-stencilbook.cjs.entry.js +26906 -7647
  45. package/dist/cjs/sqm-tab.cjs.entry.js +2 -2
  46. package/dist/cjs/sqm-tabs.cjs.entry.js +3 -3
  47. package/dist/cjs/{sqm-user-info-form-view-92d8d19a.js → sqm-user-info-form-view-b2a78083.js} +3 -3
  48. package/dist/cjs/sqm-widget-verification-controller.cjs.entry.js +1 -1
  49. package/dist/cjs/{subregions-3dbacb18.js → subregions-fd4e4ee2.js} +1 -1
  50. package/dist/cjs/{useChildElements-e5e26816.js → useChildElements-e9ed2d11.js} +1 -1
  51. package/dist/cjs/{useIndirectTaxForm-638adefa.js → useIndirectTaxForm-c5f31c83.js} +3 -3
  52. package/dist/cjs/{useInstantAccessRegistration-9201777d.js → useInstantAccessRegistration-aaabf0a7.js} +2 -2
  53. package/dist/cjs/{useLeadFormState-f5b768b9.js → useLeadFormState-2040144a.js} +2 -2
  54. package/dist/cjs/{usePortalRegistrationForm-b3c0451b.js → usePortalRegistrationForm-671d2863.js} +2 -2
  55. package/dist/cjs/{useReferralCodes-5794a177.js → useReferralCodes-926af4e8.js} +1 -1
  56. package/dist/cjs/{useReferralTable-32b3541b.js → useReferralTable-21a2e1a4.js} +3 -3
  57. package/dist/cjs/{useRegistrationFormState-feccd2c8.js → useRegistrationFormState-cf2e0ec6.js} +1 -1
  58. package/dist/cjs/{useVerificationEmail-f0807562.js → useVerificationEmail-1e73a140.js} +1 -1
  59. package/dist/cjs/{utilities-04345466.js → utilities-4995dc8f.js} +1 -1
  60. package/dist/collection/components/sqm-big-stat/UseBigStat.stories.js +2 -19
  61. package/dist/collection/components/sqm-checkbox-field/UseCheckboxField.stories.js +2 -19
  62. package/dist/collection/components/sqm-dropdown-field/UseDropdownField.stories.js +2 -19
  63. package/dist/collection/components/sqm-edit-profile/UseEditProfile.stories.js +2 -19
  64. package/dist/collection/components/sqm-input-field/UseInputField.stories.js +2 -19
  65. package/dist/collection/components/sqm-instant-access-registration/sqm-instant-access-registration.js +4 -2
  66. package/dist/collection/components/sqm-invoice-table/UseInvoiceTable.stories.js +3 -19
  67. package/dist/collection/components/sqm-leaderboard/UseLeaderboard.stories.js +7 -36
  68. package/dist/collection/components/sqm-partner-info-modal/usePartnerInfoModal.js +7 -3
  69. package/dist/collection/components/sqm-portal-frame/PortalFrame.stories.js +16 -21
  70. package/dist/collection/components/sqm-referral-table/UseReferralTable.stories.js +7 -40
  71. package/dist/collection/components/sqm-referred-registration/sqm-referred-registration.js +4 -2
  72. package/dist/collection/components/sqm-reward-exchange-list/UseRewardExchangeList.stories.js +4 -19
  73. package/dist/collection/components/sqm-rewards-table/UseRewardsTable.stories.js +7 -40
  74. package/dist/collection/components/sqm-share-button/UseShareButton.stories.js +2 -19
  75. package/dist/collection/components/sqm-share-link/UseShareLink.stories.js +2 -19
  76. package/dist/collection/components/sqm-task-card/UseTaskCard.stories.js +2 -20
  77. package/dist/esm/{ShadowViewAddon-0c8005bd.js → ShadowViewAddon-59f4b3fa.js} +5 -5
  78. package/dist/esm/{data-b0e80fd9.js → data-91756a72.js} +1 -1
  79. package/dist/esm/{global-cf0cc6b1.js → global-11396707.js} +1 -1
  80. package/dist/esm/{index-b04013cc.js → index-ebb35768.js} +185 -113
  81. package/dist/esm/loader.js +2 -2
  82. package/dist/esm/mint-components.js +2 -2
  83. package/dist/esm/{re-render-e911a0f7.js → re-render-fa467bec.js} +1 -1
  84. package/dist/esm/sqm-banking-info-form_10.entry.js +9 -9
  85. package/dist/esm/sqm-big-stat_47.entry.js +17 -15
  86. package/dist/esm/sqm-close-button.entry.js +1 -1
  87. package/dist/esm/sqm-code-verification.entry.js +3 -3
  88. package/dist/esm/sqm-context-router.entry.js +1 -1
  89. package/dist/esm/sqm-email-verification_2.entry.js +12 -8
  90. package/dist/esm/sqm-empty_4.entry.js +2 -2
  91. package/dist/esm/sqm-google-sign-in.entry.js +1 -1
  92. package/dist/esm/sqm-graphql-client-provider.entry.js +1 -1
  93. package/dist/esm/sqm-instant-access-registration.entry.js +6 -4
  94. package/dist/esm/{sqm-lead-checkbox-field-view-d055e7bd.js → sqm-lead-checkbox-field-view-84103484.js} +1 -1
  95. package/dist/esm/sqm-lead-checkbox-field.entry.js +4 -4
  96. package/dist/esm/{sqm-lead-input-field-view-b0d62f1c.js → sqm-lead-input-field-view-f9be9365.js} +1 -1
  97. package/dist/esm/sqm-lead-input-field.entry.js +4 -4
  98. package/dist/esm/sqm-leaderboard-rank.entry.js +2 -2
  99. package/dist/esm/sqm-logout-current-user.entry.js +1 -1
  100. package/dist/esm/{sqm-navigation-sidebar-item-view-754b2484.js → sqm-navigation-sidebar-item-view-5ef06865.js} +1 -1
  101. package/dist/esm/sqm-navigation-sidebar-item.entry.js +2 -2
  102. package/dist/esm/sqm-navigation-sidebar.entry.js +1 -1
  103. package/dist/esm/sqm-pagination_3.entry.js +3 -3
  104. package/dist/esm/{sqm-partner-info-modal-view-3b59be37.js → sqm-partner-info-modal-view-fb139e7c.js} +1 -1
  105. package/dist/esm/sqm-password-field.entry.js +2 -2
  106. package/dist/esm/sqm-popup-container.entry.js +1 -1
  107. package/dist/esm/{sqm-portal-email-verification-view-88fbf496.js → sqm-portal-email-verification-view-1a2d6650.js} +1 -1
  108. package/dist/esm/sqm-portal-email-verification.entry.js +3 -3
  109. package/dist/esm/sqm-portal-forgot-password_6.entry.js +4 -4
  110. package/dist/esm/sqm-portal-logout.entry.js +1 -1
  111. package/dist/esm/{sqm-portal-profile-view-f27adfba.js → sqm-portal-profile-view-b81be8ff.js} +1 -1
  112. package/dist/esm/sqm-portal-profile.entry.js +4 -4
  113. package/dist/esm/sqm-portal-protected-route.entry.js +1 -1
  114. package/dist/esm/sqm-portal-reset-password.entry.js +1 -1
  115. package/dist/esm/{sqm-portal-verify-email-view-ee40e3f2.js → sqm-portal-verify-email-view-0c421bd0.js} +1 -1
  116. package/dist/esm/sqm-qr-code.entry.js +2 -2
  117. package/dist/esm/sqm-referral-table_11.entry.js +5 -5
  118. package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +2 -2
  119. package/dist/esm/sqm-rewards-table_9.entry.js +5 -5
  120. package/dist/esm/sqm-stencilbook.entry.js +24356 -5097
  121. package/dist/esm/sqm-tab.entry.js +2 -2
  122. package/dist/esm/sqm-tabs.entry.js +3 -3
  123. package/dist/esm/{sqm-user-info-form-view-59473bfd.js → sqm-user-info-form-view-3b420e99.js} +3 -3
  124. package/dist/esm/sqm-widget-verification-controller.entry.js +1 -1
  125. package/dist/esm/{subregions-d9f177f6.js → subregions-c7df98a1.js} +1 -1
  126. package/dist/esm/{useChildElements-a69f208f.js → useChildElements-18bd6080.js} +1 -1
  127. package/dist/esm/{useIndirectTaxForm-4bcd91f9.js → useIndirectTaxForm-733f5cf4.js} +3 -3
  128. package/dist/esm/{useInstantAccessRegistration-8c678a5a.js → useInstantAccessRegistration-be58b9dd.js} +2 -2
  129. package/dist/esm/{useLeadFormState-34e05463.js → useLeadFormState-de1a8033.js} +2 -2
  130. package/dist/esm/{usePortalRegistrationForm-c6519939.js → usePortalRegistrationForm-751b1f36.js} +2 -2
  131. package/dist/esm/{useReferralCodes-d0a384e4.js → useReferralCodes-d1706a4b.js} +1 -1
  132. package/dist/esm/{useReferralTable-214dff06.js → useReferralTable-91d9edb4.js} +3 -3
  133. package/dist/esm/{useRegistrationFormState-72b4786d.js → useRegistrationFormState-7688ce40.js} +1 -1
  134. package/dist/esm/{useVerificationEmail-b2c349a3.js → useVerificationEmail-5fb29393.js} +1 -1
  135. package/dist/esm/{utilities-ceab25cd.js → utilities-937c375d.js} +1 -1
  136. package/dist/esm-es5/ShadowViewAddon-59f4b3fa.js +1 -0
  137. package/dist/esm-es5/{data-b0e80fd9.js → data-91756a72.js} +1 -1
  138. package/dist/esm-es5/{global-cf0cc6b1.js → global-11396707.js} +1 -1
  139. package/dist/esm-es5/index-ebb35768.js +1 -0
  140. package/dist/esm-es5/loader.js +1 -1
  141. package/dist/esm-es5/mint-components.js +1 -1
  142. package/dist/esm-es5/{re-render-e911a0f7.js → re-render-fa467bec.js} +1 -1
  143. package/dist/esm-es5/sqm-banking-info-form_10.entry.js +1 -1
  144. package/dist/esm-es5/sqm-big-stat_47.entry.js +1 -1
  145. package/dist/esm-es5/sqm-close-button.entry.js +1 -1
  146. package/dist/esm-es5/sqm-code-verification.entry.js +1 -1
  147. package/dist/esm-es5/sqm-context-router.entry.js +1 -1
  148. package/dist/esm-es5/sqm-email-verification_2.entry.js +1 -1
  149. package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
  150. package/dist/esm-es5/sqm-google-sign-in.entry.js +1 -1
  151. package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
  152. package/dist/esm-es5/sqm-instant-access-registration.entry.js +1 -1
  153. package/dist/esm-es5/{sqm-lead-checkbox-field-view-d055e7bd.js → sqm-lead-checkbox-field-view-84103484.js} +1 -1
  154. package/dist/esm-es5/sqm-lead-checkbox-field.entry.js +1 -1
  155. package/dist/esm-es5/{sqm-lead-input-field-view-b0d62f1c.js → sqm-lead-input-field-view-f9be9365.js} +1 -1
  156. package/dist/esm-es5/sqm-lead-input-field.entry.js +1 -1
  157. package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
  158. package/dist/esm-es5/sqm-logout-current-user.entry.js +1 -1
  159. package/dist/esm-es5/{sqm-navigation-sidebar-item-view-754b2484.js → sqm-navigation-sidebar-item-view-5ef06865.js} +1 -1
  160. package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
  161. package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
  162. package/dist/esm-es5/sqm-pagination_3.entry.js +1 -1
  163. package/dist/esm-es5/{sqm-partner-info-modal-view-3b59be37.js → sqm-partner-info-modal-view-fb139e7c.js} +1 -1
  164. package/dist/esm-es5/sqm-password-field.entry.js +1 -1
  165. package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
  166. package/dist/esm-es5/{sqm-portal-email-verification-view-88fbf496.js → sqm-portal-email-verification-view-1a2d6650.js} +1 -1
  167. package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
  168. package/dist/esm-es5/sqm-portal-forgot-password_6.entry.js +1 -1
  169. package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
  170. package/dist/esm-es5/{sqm-portal-profile-view-f27adfba.js → sqm-portal-profile-view-b81be8ff.js} +1 -1
  171. package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
  172. package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -1
  173. package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
  174. package/dist/esm-es5/{sqm-portal-verify-email-view-ee40e3f2.js → sqm-portal-verify-email-view-0c421bd0.js} +1 -1
  175. package/dist/esm-es5/sqm-qr-code.entry.js +1 -1
  176. package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
  177. package/dist/esm-es5/sqm-rewards-table-customer-note-column.entry.js +1 -1
  178. package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
  179. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  180. package/dist/esm-es5/sqm-tab.entry.js +1 -1
  181. package/dist/esm-es5/sqm-tabs.entry.js +1 -1
  182. package/dist/esm-es5/{sqm-user-info-form-view-59473bfd.js → sqm-user-info-form-view-3b420e99.js} +1 -1
  183. package/dist/esm-es5/sqm-widget-verification-controller.entry.js +1 -1
  184. package/dist/esm-es5/{subregions-d9f177f6.js → subregions-c7df98a1.js} +1 -1
  185. package/dist/esm-es5/{useChildElements-a69f208f.js → useChildElements-18bd6080.js} +1 -1
  186. package/dist/esm-es5/{useIndirectTaxForm-4bcd91f9.js → useIndirectTaxForm-733f5cf4.js} +1 -1
  187. package/dist/esm-es5/{useInstantAccessRegistration-8c678a5a.js → useInstantAccessRegistration-be58b9dd.js} +1 -1
  188. package/dist/esm-es5/{useLeadFormState-34e05463.js → useLeadFormState-de1a8033.js} +1 -1
  189. package/dist/esm-es5/{usePortalRegistrationForm-c6519939.js → usePortalRegistrationForm-751b1f36.js} +1 -1
  190. package/dist/esm-es5/{useReferralCodes-d0a384e4.js → useReferralCodes-d1706a4b.js} +1 -1
  191. package/dist/esm-es5/{useReferralTable-214dff06.js → useReferralTable-91d9edb4.js} +1 -1
  192. package/dist/esm-es5/{useRegistrationFormState-72b4786d.js → useRegistrationFormState-7688ce40.js} +1 -1
  193. package/dist/esm-es5/useVerificationEmail-5fb29393.js +1 -0
  194. package/dist/esm-es5/{utilities-ceab25cd.js → utilities-937c375d.js} +1 -1
  195. package/dist/mint-components/mint-components.esm.js +1 -1
  196. package/dist/mint-components/mint-components.js +1 -1
  197. package/dist/mint-components/{p-2b5c577a.system.js → p-03a74fc7.system.js} +1 -1
  198. package/dist/mint-components/{p-492f2233.entry.js → p-03df9427.entry.js} +1 -1
  199. package/dist/mint-components/{p-076af819.system.js → p-046111cd.system.js} +1 -1
  200. package/dist/mint-components/{p-f53c7a87.system.entry.js → p-070f42cf.system.entry.js} +1 -1
  201. package/dist/mint-components/{p-b652d3b3.js → p-089c0803.js} +1 -1
  202. package/dist/mint-components/{p-c50c206e.system.js → p-0da266a0.system.js} +1 -1
  203. package/dist/mint-components/{p-09a6ab1f.entry.js → p-10462334.entry.js} +1 -1
  204. package/dist/mint-components/{p-a3d1c665.system.entry.js → p-1155ca26.system.entry.js} +1 -1
  205. package/dist/mint-components/p-13a3aa65.system.js +1 -0
  206. package/dist/mint-components/{p-487dac4b.system.js → p-16a23aba.system.js} +1 -1
  207. package/dist/mint-components/{p-5bacacba.entry.js → p-17896608.entry.js} +1 -1
  208. package/dist/mint-components/{p-7a8ed2f3.system.entry.js → p-17cc4f34.system.entry.js} +1 -1
  209. package/dist/mint-components/p-197eaa29.system.entry.js +1 -0
  210. package/dist/mint-components/{p-7558fe46.js → p-1db95c9f.js} +1 -1
  211. package/dist/mint-components/{p-0daa339e.entry.js → p-2085ee72.entry.js} +1 -1
  212. package/dist/mint-components/p-21150b90.entry.js +1 -0
  213. package/dist/mint-components/{p-b492fd4b.system.entry.js → p-2d7fe937.system.entry.js} +1 -1
  214. package/dist/mint-components/p-2d9a98fa.system.entry.js +1 -0
  215. package/dist/mint-components/{p-15f170d4.js → p-32c9963c.js} +1 -1
  216. package/dist/mint-components/p-33075c60.system.entry.js +1 -0
  217. package/dist/mint-components/{p-c9bdee4f.system.entry.js → p-376f10dd.system.entry.js} +1 -1
  218. package/dist/mint-components/{p-6f66bb97.system.js → p-39479fb8.system.js} +1 -1
  219. package/dist/mint-components/{p-b6a9c9de.entry.js → p-3a5e63e3.entry.js} +22 -22
  220. package/dist/mint-components/{p-9d06abb3.entry.js → p-3d71543d.entry.js} +2 -2
  221. package/dist/mint-components/p-41409f59.system.js +1 -0
  222. package/dist/mint-components/p-43601511.entry.js +1 -0
  223. package/dist/mint-components/p-4389e066.system.entry.js +1 -0
  224. package/dist/mint-components/{p-6a7cd966.system.js → p-442744e1.system.js} +1 -1
  225. package/dist/mint-components/{p-6cdde5e8.system.js → p-4c622397.system.js} +1 -1
  226. package/dist/mint-components/{p-a75748c4.js → p-4d09fcd7.js} +2 -2
  227. package/dist/mint-components/{p-c9ebc285.system.js → p-51c9df1e.system.js} +1 -1
  228. package/dist/mint-components/{p-88b65807.system.js → p-54750a6f.system.js} +1 -1
  229. package/dist/mint-components/{p-fd14377b.entry.js → p-54d60587.entry.js} +1 -1
  230. package/dist/mint-components/p-56cd9c37.system.entry.js +1 -0
  231. package/dist/mint-components/{p-2ff39583.entry.js → p-5827d621.entry.js} +2 -2
  232. package/dist/mint-components/{p-1933e4cc.system.entry.js → p-5af9c23b.system.entry.js} +1 -1
  233. package/dist/mint-components/{p-8fa1f8e3.entry.js → p-5c1556f7.entry.js} +1 -1
  234. package/dist/mint-components/{p-4639a9ed.entry.js → p-5c9ca25a.entry.js} +1 -1
  235. package/dist/mint-components/{p-e389aded.entry.js → p-6067884b.entry.js} +1 -1
  236. package/dist/mint-components/{p-2bea87fd.js → p-60c70417.js} +1 -1
  237. package/dist/mint-components/{p-81b63e83.system.entry.js → p-67822db9.system.entry.js} +1 -1
  238. package/dist/mint-components/p-68595869.system.js +1 -0
  239. package/dist/mint-components/{p-94f3e0a2.js → p-6b289ca6.js} +1 -1
  240. package/dist/mint-components/p-6b516596.system.entry.js +1 -0
  241. package/dist/mint-components/{p-0c81f11f.system.entry.js → p-6dcdcd41.system.entry.js} +1 -1
  242. package/dist/mint-components/{p-5e7e4e54.system.entry.js → p-6ecbf0ea.system.entry.js} +1 -1
  243. package/dist/mint-components/{p-125c5bec.js → p-6fb06499.js} +2 -2
  244. package/dist/mint-components/{p-bd66c171.js → p-706d264c.js} +1 -1
  245. package/dist/mint-components/{p-12ae9c97.entry.js → p-70be3950.entry.js} +1 -1
  246. package/dist/mint-components/p-71a5086d.js +107 -0
  247. package/dist/mint-components/{p-d08ebaa9.js → p-74a9ff43.js} +1 -1
  248. package/dist/mint-components/{p-8aae5dba.system.entry.js → p-7813ce35.system.entry.js} +1 -1
  249. package/dist/mint-components/p-787a7b1a.system.entry.js +1 -0
  250. package/dist/mint-components/{p-fa2edc58.js → p-78892897.js} +1 -1
  251. package/dist/mint-components/p-78a9b530.js +1 -0
  252. package/dist/mint-components/{p-6b9ff091.system.js → p-79ede698.system.js} +1 -1
  253. package/dist/mint-components/{p-ff1336b3.entry.js → p-7accd5e5.entry.js} +1 -1
  254. package/dist/mint-components/p-7cc0fcf8.system.js +1 -0
  255. package/dist/mint-components/{p-483c2ce0.system.entry.js → p-7e3589f8.system.entry.js} +1 -1
  256. package/dist/mint-components/p-7f7f259b.entry.js +1 -0
  257. package/dist/mint-components/p-807b9f18.js +254 -0
  258. package/dist/mint-components/p-8312a5a9.entry.js +11 -0
  259. package/dist/mint-components/{p-74f50554.js → p-83a203f4.js} +1 -1
  260. package/dist/mint-components/{p-1e1543c7.entry.js → p-8587e630.entry.js} +1 -1
  261. package/dist/mint-components/{p-8680e52b.system.js → p-85dad572.system.js} +1 -1
  262. package/dist/mint-components/{p-930cc94f.system.js → p-869b59b4.system.js} +1 -1
  263. package/dist/mint-components/{p-5b043988.system.entry.js → p-86ce6534.system.entry.js} +1 -1
  264. package/dist/mint-components/{p-6ccdf33a.js → p-884af2a5.js} +1 -1
  265. package/dist/mint-components/{p-0f65e4ad.system.js → p-899eb06c.system.js} +1 -1
  266. package/dist/mint-components/{p-dd82a675.system.entry.js → p-8ee09381.system.entry.js} +1 -1
  267. package/dist/mint-components/{p-89b410d5.system.entry.js → p-8ff1d20b.system.entry.js} +1 -1
  268. package/dist/mint-components/{p-6be0e0a7.system.entry.js → p-9b60d882.system.entry.js} +1 -1
  269. package/dist/mint-components/{p-e73e0fc4.system.js → p-9bb5076e.system.js} +1 -1
  270. package/dist/mint-components/{p-3104b4ba.entry.js → p-9ca18f88.entry.js} +1 -1
  271. package/dist/mint-components/{p-9a7b1c63.system.js → p-9ccb9494.system.js} +1 -1
  272. package/dist/mint-components/{p-885630e6.entry.js → p-9ec3f733.entry.js} +1 -1
  273. package/dist/mint-components/{p-df531a5d.entry.js → p-a116ff2c.entry.js} +1 -1
  274. package/dist/mint-components/{p-201ae45a.js → p-a12e40cb.js} +1 -1
  275. package/dist/mint-components/{p-20b90db3.system.entry.js → p-a58dc862.system.entry.js} +1 -1
  276. package/dist/mint-components/{p-6eb14db9.system.entry.js → p-a84cc6ce.system.entry.js} +1 -1
  277. package/dist/mint-components/{p-c90d06ab.entry.js → p-ab326835.entry.js} +2 -2
  278. package/dist/mint-components/{p-b1f880ee.entry.js → p-b0700220.entry.js} +1 -1
  279. package/dist/mint-components/{p-c8f697e4.system.js → p-b07f4b89.system.js} +1 -1
  280. package/dist/mint-components/{p-a7a74002.js → p-b961a246.js} +1 -1
  281. package/dist/mint-components/{p-324dd9c9.system.entry.js → p-bcfbc5d2.system.entry.js} +1 -1
  282. package/dist/mint-components/{p-be38ae67.js → p-bea979b4.js} +1 -1
  283. package/dist/mint-components/{p-0c97293e.entry.js → p-bf80d219.entry.js} +1 -1
  284. package/dist/mint-components/{p-49ca1533.system.entry.js → p-c41fedaf.system.entry.js} +1 -1
  285. package/dist/mint-components/{p-1aa5cdff.entry.js → p-c512b048.entry.js} +1 -1
  286. package/dist/mint-components/{p-8f67c580.js → p-c5fc2c1e.js} +1 -1
  287. package/dist/mint-components/{p-6a7c9ae4.system.entry.js → p-cac92bc2.system.entry.js} +1 -1
  288. package/dist/mint-components/{p-83330731.system.js → p-d253e8eb.system.js} +1 -1
  289. package/dist/mint-components/{p-89eef397.entry.js → p-d343336e.entry.js} +1 -1
  290. package/dist/mint-components/{p-bd1a14ba.js → p-d3b0d256.js} +1 -1
  291. package/dist/mint-components/{p-05715d8c.system.entry.js → p-d7aa6a0b.system.entry.js} +1 -1
  292. package/dist/mint-components/{p-b6f5ab75.system.entry.js → p-da5361be.system.entry.js} +1 -1
  293. package/dist/mint-components/{p-e9942aae.system.js → p-df75ffd2.system.js} +1 -1
  294. package/dist/mint-components/p-e0f614a2.entry.js +147 -0
  295. package/dist/mint-components/{p-9a7f186b.entry.js → p-e2e80375.entry.js} +1 -1
  296. package/dist/mint-components/{p-0a8c9f35.system.entry.js → p-e3c7d37e.system.entry.js} +1 -1
  297. package/dist/mint-components/{p-6f3ba1ad.system.js → p-e5eea3a2.system.js} +1 -1
  298. package/dist/mint-components/{p-9c2e286c.entry.js → p-e629e87c.entry.js} +2 -2
  299. package/dist/mint-components/{p-2380b28e.system.entry.js → p-e71087b8.system.entry.js} +1 -1
  300. package/dist/mint-components/{p-119b9680.system.js → p-e78ec46b.system.js} +1 -1
  301. package/dist/mint-components/{p-ce06d498.js → p-e7c7a146.js} +2 -2
  302. package/dist/mint-components/{p-96e332db.entry.js → p-ebc7e7a6.entry.js} +1 -1
  303. package/dist/mint-components/{p-388fdcdc.js → p-ecdc2ea3.js} +1 -1
  304. package/dist/mint-components/{p-4ea630ba.system.js → p-ed18f6a0.system.js} +1 -1
  305. package/dist/mint-components/p-f05c18b9.system.entry.js +1 -0
  306. package/dist/mint-components/{p-da6cb2c3.system.entry.js → p-f84313d7.system.entry.js} +1 -1
  307. package/dist/mint-components/{p-00e588d3.js → p-f9f604a7.js} +1 -1
  308. package/dist/mint-components/{p-863bb414.entry.js → p-fabc805a.entry.js} +1 -1
  309. package/dist/mint-components/{p-6708043c.entry.js → p-fbc3bd6a.entry.js} +1 -1
  310. package/dist/mint-components/{p-d91a97d2.js → p-fe642b83.js} +1 -1
  311. package/dist/mint-components/{p-8ba39302.entry.js → p-feeeee0d.entry.js} +1 -1
  312. package/dist/types/components/sqm-portal-frame/PortalFrame.stories.d.ts +12 -2
  313. package/docs/docs.docx +0 -0
  314. package/docs/stats.json +1862 -1861
  315. package/package.json +2 -2
  316. package/dist/esm-es5/ShadowViewAddon-0c8005bd.js +0 -1
  317. package/dist/esm-es5/index-b04013cc.js +0 -1
  318. package/dist/esm-es5/useVerificationEmail-b2c349a3.js +0 -1
  319. package/dist/mint-components/p-11028f98.system.js +0 -1
  320. package/dist/mint-components/p-14f0af4c.system.entry.js +0 -1
  321. package/dist/mint-components/p-162e5426.system.js +0 -1
  322. package/dist/mint-components/p-1b673705.system.js +0 -1
  323. package/dist/mint-components/p-29be0454.system.entry.js +0 -1
  324. package/dist/mint-components/p-3f9d4025.js +0 -254
  325. package/dist/mint-components/p-4d690bf1.system.js +0 -1
  326. package/dist/mint-components/p-610cf45c.js +0 -107
  327. package/dist/mint-components/p-647ffff2.entry.js +0 -1
  328. package/dist/mint-components/p-6cfca206.js +0 -1
  329. package/dist/mint-components/p-822aae93.system.entry.js +0 -1
  330. package/dist/mint-components/p-9755e82a.system.entry.js +0 -1
  331. package/dist/mint-components/p-9c9cee02.system.entry.js +0 -1
  332. package/dist/mint-components/p-9d6ef5ca.entry.js +0 -11
  333. package/dist/mint-components/p-a40e05d2.system.entry.js +0 -1
  334. package/dist/mint-components/p-a976d930.system.entry.js +0 -1
  335. package/dist/mint-components/p-aaf15612.entry.js +0 -1
  336. package/dist/mint-components/p-af8833df.entry.js +0 -147
  337. package/dist/mint-components/p-c3a07f51.entry.js +0 -1
  338. package/dist/mint-components/p-e38b09a0.system.entry.js +0 -1
@@ -1,4 +1,13 @@
1
- import { d as c, s, u as useMemo, c as createCommonjsModule, a as commonjsGlobal, e as getDefaultExportFromCjs, h, y, f as d, i as useReducer, j as useEffect, k as useState, m as useRef } from './dom-context-hooks.module-f88a3e54.js';
1
+ import { u as useMemo, d as c, s, h, c as createCommonjsModule, a as commonjsGlobal, e as getDefaultExportFromCjs, y, f as d, i as useReducer, j as useEffect, k as useState, m as useRef } from './dom-context-hooks.module-f88a3e54.js';
2
+
3
+ /**
4
+ * @function
5
+ * @template {Function} T
6
+ * @param {T} fn - callback to memoize
7
+ * @param {unknown[]} inputs - dependencies to callback memoization
8
+ * @return {T}
9
+ */
10
+ const useCallback = (fn, inputs) => useMemo(() => fn, inputs);
2
11
 
3
12
  function e$1(e){this.message=e;}e$1.prototype=new Error,e$1.prototype.name="InvalidCharacterError";var r$1="undefined"!=typeof window&&window.atob&&window.atob.bind(window)||function(r){var t=String(r).replace(/=+$/,"");if(t.length%4==1)throw new e$1("'atob' failed: The string to be decoded is not correctly encoded.");for(var n,o,a=0,i=0,c="";o=t.charAt(i++);~o&&(n=a%4?64*n+o:o,a++%4)?c+=String.fromCharCode(255&n>>(-2*a&6)):0)o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(o);return c};function t$1(e){var t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw "Illegal base64url string!"}try{return function(e){return decodeURIComponent(r$1(e).replace(/(.)/g,(function(e,r){var t=r.charCodeAt(0).toString(16).toUpperCase();return t.length<2&&(t="0"+t),"%"+t})))}(t)}catch(e){return r$1(t)}}function n$1(e){this.message=e;}function o$1(e,r){if("string"!=typeof e)throw new n$1("Invalid token specified");var o=!0===(r=r||{}).header?0:1;try{return JSON.parse(t$1(e.split(".")[o]))}catch(e){throw new n$1("Invalid token specified: "+e.message)}}n$1.prototype=new Error,n$1.prototype.name="InvalidTokenError";
4
13
 
@@ -742,14 +751,116 @@ function setProgramId(programId) {
742
751
  }
743
752
  }
744
753
 
745
- /**
746
- * @function
747
- * @template {Function} T
748
- * @param {T} fn - callback to memoize
749
- * @param {unknown[]} inputs - dependencies to callback memoization
750
- * @return {T}
751
- */
752
- const useCallback = (fn, inputs) => useMemo(() => fn, inputs);
754
+ var __create = Object.create;
755
+ var __defProp = Object.defineProperty;
756
+ var __defProps = Object.defineProperties;
757
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
758
+ var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
759
+ var __getOwnPropNames = Object.getOwnPropertyNames;
760
+ var __getOwnPropSymbols = Object.getOwnPropertySymbols;
761
+ var __getProtoOf = Object.getPrototypeOf;
762
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
763
+ var __propIsEnum = Object.prototype.propertyIsEnumerable;
764
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
765
+ var __spreadValues = (a, b) => {
766
+ for (var prop in b || (b = {}))
767
+ if (__hasOwnProp.call(b, prop))
768
+ __defNormalProp(a, prop, b[prop]);
769
+ if (__getOwnPropSymbols)
770
+ for (var prop of __getOwnPropSymbols(b)) {
771
+ if (__propIsEnum.call(b, prop))
772
+ __defNormalProp(a, prop, b[prop]);
773
+ }
774
+ return a;
775
+ };
776
+ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
777
+ var __objRest = (source, exclude) => {
778
+ var target = {};
779
+ for (var prop in source)
780
+ if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
781
+ target[prop] = source[prop];
782
+ if (source != null && __getOwnPropSymbols)
783
+ for (var prop of __getOwnPropSymbols(source)) {
784
+ if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
785
+ target[prop] = source[prop];
786
+ }
787
+ return target;
788
+ };
789
+ var __commonJS = (cb, mod) => function __require() {
790
+ return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
791
+ };
792
+ var __copyProps = (to, from, except, desc) => {
793
+ if (from && typeof from === "object" || typeof from === "function") {
794
+ for (let key of __getOwnPropNames(from))
795
+ if (!__hasOwnProp.call(to, key) && key !== except)
796
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
797
+ }
798
+ return to;
799
+ };
800
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
801
+ // If the importer is in node compatibility mode or this is not an ESM
802
+ // file that has been converted to a CommonJS file using a Babel-
803
+ // compatible transform (i.e. "__esModule" has not been set), then set
804
+ // "default" to the CommonJS "module.exports" for node compatibility.
805
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
806
+ mod
807
+ ));
808
+ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
809
+
810
+ // src/hooks/useHost.ts
811
+ var ref = { current: void 0 };
812
+ function useHost() {
813
+ if (ref.current === void 0) {
814
+ throw new Error("no implementation of useHost provided");
815
+ }
816
+ return ref.current();
817
+ }
818
+ function setImplementation(implementation) {
819
+ if (!implementation) {
820
+ throw new Error("Must supply an implementation");
821
+ }
822
+ if (typeof implementation !== "function") {
823
+ throw new Error("implementation must be a function");
824
+ }
825
+ ref.current = implementation;
826
+ }
827
+ function useLocale() {
828
+ lazilyStartLocaleContext();
829
+ const host = useHost();
830
+ return h(host, LOCALE_CONTEXT_NAME);
831
+ }
832
+ function useProgramId() {
833
+ lazilyStartProgramContext();
834
+ const host = useHost();
835
+ return h(host, PROGRAM_CONTEXT_NAME);
836
+ }
837
+ function useToken() {
838
+ var _a;
839
+ return (_a = useUserIdentity()) == null ? void 0 : _a.jwt;
840
+ }
841
+ function useUserIdentity() {
842
+ lazilyStartUserContext();
843
+ const host = useHost();
844
+ const identity = h(host, USER_CONTEXT_NAME);
845
+ const validIdentity = userIdentityFromJwt(identity == null ? void 0 : identity.jwt);
846
+ if (!isDemo() && identity && !validIdentity) {
847
+ setUserIdentity(void 0);
848
+ return void 0;
849
+ }
850
+ return identity;
851
+ }
852
+ var useTenantAlias = getTenantAlias;
853
+ var useAppDomain = getAppDomain;
854
+ var useEngagementMedium = getEngagementMedium;
855
+
856
+ // src/hooks/graphql/context.ts
857
+ var GRAPHQL_CONTEXT = "sq:graphql-client";
858
+
859
+ // src/fakeJwt.ts
860
+ var base64Url = (value) => btoa(unescape(encodeURIComponent(JSON.stringify(value)))).replace(/=+$/, "").replace(/\+/g, "-").replace(/\//g, "_");
861
+ function fakeJwt(payload) {
862
+ return `${base64Url({ alg: "none", typ: "JWT" })}.${base64Url(payload)}.`;
863
+ }
753
864
 
754
865
  function devAssert(condition, message) {
755
866
  var booleanCondition = Boolean(condition); // istanbul ignore else (See transformation done in './resources/inlineInvariant.js')
@@ -770,6 +881,8 @@ function isObjectLike(value) {
770
881
  }
771
882
 
772
883
  // In ES2015 (or a polyfilled) environment, this will be Symbol.iterator
884
+ // istanbul ignore next (See: 'https://github.com/graphql/graphql-js/issues/2317')
885
+ var SYMBOL_ITERATOR = typeof Symbol === 'function' && Symbol.iterator != null ? Symbol.iterator : '@@iterator'; // In ES2017 (or a polyfilled) environment, this will be Symbol.asyncIterator
773
886
 
774
887
  var SYMBOL_TO_STRING_TAG = typeof Symbol === 'function' && Symbol.toStringTag != null ? Symbol.toStringTag : '@@toStringTag';
775
888
 
@@ -4178,6 +4291,60 @@ function visit(root, visitor) {
4178
4291
 
4179
4292
  return newRoot;
4180
4293
  }
4294
+ /**
4295
+ * Creates a new visitor instance which delegates to many visitors to run in
4296
+ * parallel. Each visitor will be visited for each node before moving on.
4297
+ *
4298
+ * If a prior visitor edits a node, no following visitors will see that node.
4299
+ */
4300
+
4301
+ function visitInParallel(visitors) {
4302
+ var skipping = new Array(visitors.length);
4303
+ return {
4304
+ enter: function enter(node) {
4305
+ for (var i = 0; i < visitors.length; i++) {
4306
+ if (skipping[i] == null) {
4307
+ var fn = getVisitFn(visitors[i], node.kind,
4308
+ /* isLeaving */
4309
+ false);
4310
+
4311
+ if (fn) {
4312
+ var result = fn.apply(visitors[i], arguments);
4313
+
4314
+ if (result === false) {
4315
+ skipping[i] = node;
4316
+ } else if (result === BREAK) {
4317
+ skipping[i] = BREAK;
4318
+ } else if (result !== undefined) {
4319
+ return result;
4320
+ }
4321
+ }
4322
+ }
4323
+ }
4324
+ },
4325
+ leave: function leave(node) {
4326
+ for (var i = 0; i < visitors.length; i++) {
4327
+ if (skipping[i] == null) {
4328
+ var fn = getVisitFn(visitors[i], node.kind,
4329
+ /* isLeaving */
4330
+ true);
4331
+
4332
+ if (fn) {
4333
+ var result = fn.apply(visitors[i], arguments);
4334
+
4335
+ if (result === BREAK) {
4336
+ skipping[i] = BREAK;
4337
+ } else if (result !== undefined && result !== false) {
4338
+ return result;
4339
+ }
4340
+ }
4341
+ } else if (skipping[i] === node) {
4342
+ skipping[i] = null;
4343
+ }
4344
+ }
4345
+ }
4346
+ };
4347
+ }
4181
4348
  /**
4182
4349
  * Given a visitor instance, if it is leaving or not, and a node kind, return
4183
4350
  * the function the visitor runtime should call.
@@ -9336,50 +9503,6 @@ var umd = createCommonjsModule(function (module, exports) {
9336
9503
  //# sourceMappingURL=index.js.map
9337
9504
  });
9338
9505
 
9339
- var __create = Object.create;
9340
- var __defProp = Object.defineProperty;
9341
- var __defProps = Object.defineProperties;
9342
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
9343
- var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
9344
- var __getOwnPropNames = Object.getOwnPropertyNames;
9345
- var __getOwnPropSymbols = Object.getOwnPropertySymbols;
9346
- var __getProtoOf = Object.getPrototypeOf;
9347
- var __hasOwnProp = Object.prototype.hasOwnProperty;
9348
- var __propIsEnum = Object.prototype.propertyIsEnumerable;
9349
- var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
9350
- var __spreadValues = (a, b) => {
9351
- for (var prop in b || (b = {}))
9352
- if (__hasOwnProp.call(b, prop))
9353
- __defNormalProp(a, prop, b[prop]);
9354
- if (__getOwnPropSymbols)
9355
- for (var prop of __getOwnPropSymbols(b)) {
9356
- if (__propIsEnum.call(b, prop))
9357
- __defNormalProp(a, prop, b[prop]);
9358
- }
9359
- return a;
9360
- };
9361
- var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
9362
- var __commonJS = (cb, mod) => function __require() {
9363
- return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
9364
- };
9365
- var __copyProps = (to, from, except, desc) => {
9366
- if (from && typeof from === "object" || typeof from === "function") {
9367
- for (let key of __getOwnPropNames(from))
9368
- if (!__hasOwnProp.call(to, key) && key !== except)
9369
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
9370
- }
9371
- return to;
9372
- };
9373
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
9374
- // If the importer is in node compatibility mode or this is not an ESM
9375
- // file that has been converted to a CommonJS file using a Babel-
9376
- // compatible transform (i.e. "__esModule" has not been set), then set
9377
- // "default" to the CommonJS "module.exports" for node compatibility.
9378
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
9379
- mod
9380
- ));
9381
- var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
9382
-
9383
9506
  // node_modules/ms/index.js
9384
9507
  var require_ms = __commonJS({
9385
9508
  "node_modules/ms/index.js"(exports, module) {
@@ -9843,56 +9966,6 @@ var require_browser = __commonJS({
9843
9966
  }
9844
9967
  });
9845
9968
 
9846
- // src/hooks/useHost.ts
9847
- var ref = { current: void 0 };
9848
- function useHost() {
9849
- if (ref.current === void 0) {
9850
- throw new Error("no implementation of useHost provided");
9851
- }
9852
- return ref.current();
9853
- }
9854
- function setImplementation(implementation) {
9855
- if (!implementation) {
9856
- throw new Error("Must supply an implementation");
9857
- }
9858
- if (typeof implementation !== "function") {
9859
- throw new Error("implementation must be a function");
9860
- }
9861
- ref.current = implementation;
9862
- }
9863
-
9864
- // src/hooks/environment/useLocale.ts
9865
- function useLocale() {
9866
- lazilyStartLocaleContext();
9867
- const host = useHost();
9868
- return h(host, LOCALE_CONTEXT_NAME);
9869
- }
9870
- function useProgramId() {
9871
- lazilyStartProgramContext();
9872
- const host = useHost();
9873
- return h(host, PROGRAM_CONTEXT_NAME);
9874
- }
9875
- function useToken() {
9876
- var _a;
9877
- return (_a = useUserIdentity()) == null ? void 0 : _a.jwt;
9878
- }
9879
- function useUserIdentity() {
9880
- lazilyStartUserContext();
9881
- const host = useHost();
9882
- const identity = h(host, USER_CONTEXT_NAME);
9883
- const validIdentity = userIdentityFromJwt(identity == null ? void 0 : identity.jwt);
9884
- if (!isDemo() && identity && !validIdentity) {
9885
- setUserIdentity(void 0);
9886
- return void 0;
9887
- }
9888
- return identity;
9889
- }
9890
-
9891
- // src/hooks/environment/index.ts
9892
- var useTenantAlias = getTenantAlias;
9893
- var useAppDomain = getAppDomain;
9894
- var useEngagementMedium = getEngagementMedium;
9895
-
9896
9969
  // node_modules/tslib/tslib.es6.mjs
9897
9970
  var __assign = function() {
9898
9971
  __assign = Object.assign || function __assign2(t) {
@@ -10209,7 +10282,6 @@ var rejectAllQueryAddedEventsWithError = (events, err) => {
10209
10282
  };
10210
10283
 
10211
10284
  // src/hooks/graphql/useGraphQLClient.ts
10212
- var GRAPHQL_CONTEXT = "sq:graphql-client";
10213
10285
  function createGraphQlClient(appDomain, tenantAlias, token) {
10214
10286
  const uri = appDomain + "/api/v1/" + tenantAlias + "/graphql";
10215
10287
  const headers = {
@@ -10525,13 +10597,13 @@ function useVerifyPasswordResetCodeMutation() {
10525
10597
  );
10526
10598
  }
10527
10599
  function useDeepCompareMemoize(value) {
10528
- const ref2 = useRef(value);
10600
+ const ref = useRef(value);
10529
10601
  const signalRef = useRef(0);
10530
- if (!equal(value, ref2.current)) {
10531
- ref2.current = value;
10602
+ if (!equal(value, ref.current)) {
10603
+ ref.current = value;
10532
10604
  signalRef.current += 1;
10533
10605
  }
10534
- return useMemo(() => ref2.current, [signalRef.current]);
10606
+ return useMemo(() => ref.current, [signalRef.current]);
10535
10607
  }
10536
10608
  function useDeepCompareEffect(callback, dependencies) {
10537
10609
  return useEffect(callback, useDeepCompareMemoize(dependencies));
@@ -10868,11 +10940,11 @@ function useAuthenticateWithGoogle() {
10868
10940
  return [updateUserIdentity, { loading, data, errors }];
10869
10941
  }
10870
10942
  function useDeepMemo(memoFn, key) {
10871
- const ref2 = useRef();
10872
- if (!ref2.current || !equal(key, ref2.current.key)) {
10873
- ref2.current = { key, value: memoFn() };
10943
+ const ref = useRef();
10944
+ if (!ref.current || !equal(key, ref.current.key)) {
10945
+ ref.current = { key, value: memoFn() };
10874
10946
  }
10875
- return ref2.current.value;
10947
+ return ref.current.value;
10876
10948
  }
10877
10949
  function useTick() {
10878
10950
  return useReducer((x) => x + 1, 0);
@@ -11162,4 +11234,4 @@ dist.gql`
11162
11234
  }
11163
11235
  `;
11164
11236
 
11165
- export { useTenantAlias as A, memoizedGraphQLClient as B, useAuthenticateManagedIdentityWithInstantAccess as C, useCurrentPage as D, useRequestVerificationEmailMutation as E, useManagedIdentitySessionQuery as F, GRAPHQL_CONTEXT as G, useVerifyPasswordResetCodeMutation as H, useResetPasswordMutation as I, setProgramId as J, useLazyQuery as K, useChangePasswordMutation as L, getContextValueName as M, useParentQuery as N, useSetParent as O, useParent as P, useParentQueryValue as Q, useProgramId as a, useUserIdentity as b, useEngagementMedium as c, dist as d, useQuery as e, useMutation as f, getEnvironmentSDK as g, useRefreshDispatcher as h, isDemo as i, usePaginatedQuery as j, useParentState as k, useRequestPasswordResetEmailMutation as l, useAuthenticateWithEmailAndPasswordMutation as m, navigation as n, useAuthenticateWithGoogle as o, useRegisterWithEmailAndPasswordMutation as p, useCallback as q, useVerifyEmailMutation as r, setImplementation as s, setUserIdentity as t, useParentValue as u, useLocale as v, useRegisterViaRegistrationFormMutation as w, useHost as x, useTick as y, useToken as z };
11237
+ export { dedentBlockStringValue as $, useTenantAlias as A, memoizedGraphQLClient as B, fakeJwt as C, useAuthenticateManagedIdentityWithInstantAccess as D, useCurrentPage as E, useRequestVerificationEmailMutation as F, GRAPHQL_CONTEXT as G, useManagedIdentitySessionQuery as H, useVerifyPasswordResetCodeMutation as I, useResetPasswordMutation as J, inspect as K, GraphQLError as L, devAssert as M, Kind as N, invariant as O, instanceOf as P, defineInspect as Q, print as R, SYMBOL_TO_STRING_TAG as S, isObjectLike as T, SYMBOL_ITERATOR as U, DirectiveLocation as V, isNode as W, getVisitFn as X, visit as Y, visitInParallel as Z, parse as _, useProgramId as a, TokenKind as a0, __objRest as a1, __spreadValues as a2, setProgramId as a3, __spreadProps as a4, __publicField as a5, formatError as a6, useLazyQuery as a7, useChangePasswordMutation as a8, getContextValueName as a9, useParentQuery as aa, useSetParent as ab, useParent as ac, useParentQueryValue as ad, useUserIdentity as b, useEngagementMedium as c, dist as d, useQuery as e, useMutation as f, getEnvironmentSDK as g, useRefreshDispatcher as h, isDemo as i, usePaginatedQuery as j, useParentState as k, useRequestPasswordResetEmailMutation as l, useAuthenticateWithEmailAndPasswordMutation as m, navigation as n, useAuthenticateWithGoogle as o, useRegisterWithEmailAndPasswordMutation as p, useCallback as q, useVerifyEmailMutation as r, setImplementation as s, setUserIdentity as t, useParentValue as u, useLocale as v, useRegisterViaRegistrationFormMutation as w, useHost as x, useTick as y, useToken as z };
@@ -1,8 +1,8 @@
1
1
  import { p as promiseResolve, b as bootstrapLazy } from './index-7a8b0c0b.js';
2
2
  export { s as setNonce } from './index-7a8b0c0b.js';
3
- import './global-cf0cc6b1.js';
3
+ import './global-11396707.js';
4
4
  import './dom-context-hooks.module-f88a3e54.js';
5
- import './index-b04013cc.js';
5
+ import './index-ebb35768.js';
6
6
 
7
7
  /*
8
8
  Stencil Client Patch Esm v2.22.3 | MIT Licensed | https://stenciljs.com
@@ -1,8 +1,8 @@
1
1
  import { p as promiseResolve, H, b as bootstrapLazy } from './index-7a8b0c0b.js';
2
2
  export { s as setNonce } from './index-7a8b0c0b.js';
3
- import './global-cf0cc6b1.js';
3
+ import './global-11396707.js';
4
4
  import './dom-context-hooks.module-f88a3e54.js';
5
- import './index-b04013cc.js';
5
+ import './index-ebb35768.js';
6
6
 
7
7
  /*
8
8
  Stencil Client Patch Browser v2.22.3 | MIT Licensed | https://stenciljs.com
@@ -1,4 +1,4 @@
1
- import { x as useHost, y as useTick } from './index-b04013cc.js';
1
+ import { x as useHost, y as useTick } from './index-ebb35768.js';
2
2
  import { j as useEffect } from './dom-context-hooks.module-f88a3e54.js';
3
3
 
4
4
  const RENDER_EVENT = "sqm:request-rerender";
@@ -1,21 +1,21 @@
1
1
  import { h, r as registerInstance, c as Host, g as getElement } from './index-7a8b0c0b.js';
2
- import { d as dist, x as useHost, v as useLocale, b as useUserIdentity, P as useParent, u as useParentValue, Q as useParentQueryValue, f as useMutation, i as isDemo, O as useSetParent, q as useCallback, j as usePaginatedQuery, e as useQuery } from './index-b04013cc.js';
2
+ import { d as dist, x as useHost, v as useLocale, b as useUserIdentity, ac as useParent, u as useParentValue, ad as useParentQueryValue, f as useMutation, i as isDemo, ab as useSetParent, q as useCallback, j as usePaginatedQuery, e as useQuery } from './index-ebb35768.js';
3
3
  import { m as useRef, k as useState, j as useEffect, n as h$1, b as browser, i as useReducer, u as useMemo } from './dom-context-hooks.module-f88a3e54.js';
4
4
  import { d as demoMerge } from './demoMerge-a0320a8e.js';
5
- import { i as intl } from './global-cf0cc6b1.js';
5
+ import { i as intl } from './global-11396707.js';
6
6
  import { c as createStyleSheet } from './JSS-e97b34f4.js';
7
7
  import { g as getProps } from './utils-334c1e34.js';
8
- import { F as FORM_STEPS, T as TAX_CONTEXT_NAMESPACE, a as TAX_FORM_CONTEXT_NAMESPACE, S as SORTED_COUNTRIES_NAMESPACE, f as FINANCE_NETWORK_SETTINGS_NAMESPACE, c as USER_QUERY_NAMESPACE, U as USER_FORM_CONTEXT_NAMESPACE, C as CURRENCIES_NAMESPACE } from './data-b0e80fd9.js';
8
+ import { F as FORM_STEPS, T as TAX_CONTEXT_NAMESPACE, a as TAX_FORM_CONTEXT_NAMESPACE, S as SORTED_COUNTRIES_NAMESPACE, f as FINANCE_NETWORK_SETTINGS_NAMESPACE, c as USER_QUERY_NAMESPACE, U as USER_FORM_CONTEXT_NAMESPACE, C as CURRENCIES_NAMESPACE } from './data-91756a72.js';
9
9
  import { j as jsonpointer } from './jsonpointer-c5423376.js';
10
10
  import { c as VERIFICATION_EVENT_KEY } from './keys-1054056a.js';
11
11
  import { T as TAX_FORM_UPDATED_EVENT_KEY, p as parseStates } from './parseStates-0c27f2de.js';
12
- import { t as taxTypeToName, d as validTaxDocument, I as INDIRECT_TAX_SPAIN_REGIONS, a as INDIRECT_TAX_PROVINCES, c as formatPayoutThreshold, b as isBalanceUnderPayoutThreshold, o as objectIsFull, e as toDomesticNumber, A as ADDRESS_REGIONS } from './subregions-d9f177f6.js';
13
- import { O as OtherRegionSlotView, I as InvoiceTableView, v as vatLabels, T as TaxAndCashDashboardView, U as UserInfoFormView } from './sqm-user-info-form-view-59473bfd.js';
14
- import { a as useIndirectTaxForm, b as useVeriffApp, g as getStatus, V as VERIFF_COMPLETE_EVENT_KEY, c as CONNECT_PARTNER, C as COMPLETE_PARTNER } from './useIndirectTaxForm-4bcd91f9.js';
12
+ import { t as taxTypeToName, d as validTaxDocument, I as INDIRECT_TAX_SPAIN_REGIONS, a as INDIRECT_TAX_PROVINCES, c as formatPayoutThreshold, b as isBalanceUnderPayoutThreshold, o as objectIsFull, e as toDomesticNumber, A as ADDRESS_REGIONS } from './subregions-c7df98a1.js';
13
+ import { O as OtherRegionSlotView, I as InvoiceTableView, v as vatLabels, T as TaxAndCashDashboardView, U as UserInfoFormView } from './sqm-user-info-form-view-3b420e99.js';
14
+ import { a as useIndirectTaxForm, b as useVeriffApp, g as getStatus, V as VERIFF_COMPLETE_EVENT_KEY, c as CONNECT_PARTNER, C as COMPLETE_PARTNER } from './useIndirectTaxForm-733f5cf4.js';
15
15
  import { G as GenericTableView } from './GenericTableView-4f7ac63d.js';
16
- import { u as useRerenderListener, a as useRequestRerender } from './re-render-e911a0f7.js';
17
- import { g as generateUserError, d as dropZoneColumnIndexes } from './useReferralTable-214dff06.js';
18
- import { u as useChildElements } from './useChildElements-a69f208f.js';
16
+ import { u as useRerenderListener, a as useRequestRerender } from './re-render-fa467bec.js';
17
+ import { g as generateUserError, d as dropZoneColumnIndexes } from './useReferralTable-91d9edb4.js';
18
+ import { u as useChildElements } from './useChildElements-18bd6080.js';
19
19
  import { l as luxon } from './luxon-40b943cb.js';
20
20
  import './AsYouType-cc09fa68.js';
21
21
  import './mixins-f750863a.js';
@@ -1,36 +1,36 @@
1
1
  import { r as registerInstance, h as h$1, c as Host } from './index-7a8b0c0b.js';
2
- import { i as isDemo, x as useHost, d as dist, b as useUserIdentity, a as useProgramId, c as useEngagementMedium, f as useMutation, e as useQuery, q as useCallback, v as useLocale, y as useTick, n as navigation, L as useChangePasswordMutation, t as setUserIdentity, h as useRefreshDispatcher, D as useCurrentPage, M as getContextValueName, k as useParentState, N as useParentQuery, O as useSetParent, K as useLazyQuery } from './index-b04013cc.js';
2
+ import { i as isDemo, x as useHost, d as dist, b as useUserIdentity, a as useProgramId, c as useEngagementMedium, f as useMutation, e as useQuery, q as useCallback, v as useLocale, y as useTick, n as navigation, a8 as useChangePasswordMutation, t as setUserIdentity, C as fakeJwt, h as useRefreshDispatcher, E as useCurrentPage, a9 as getContextValueName, k as useParentState, aa as useParentQuery, ab as useSetParent, a7 as useLazyQuery } from './index-ebb35768.js';
3
3
  import { n as h, j as useEffect, f as d, k as useState, m as useRef, u as useMemo, b as browser, i as useReducer } from './dom-context-hooks.module-f88a3e54.js';
4
- import { u as useDemoBigStat, W as useBigStat, B as BigStatView, C as CardFeedView, d 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 PortalFrameView, c as BaseRegistrationFormView, R as ReferralIframeView, i as RewardExchangeView, Y as demoRewardExchange, G as useShareButton, a as ShareButtonView, K as useShareLink, J as ShareLinkView, S as StatContainerView, T as TaskCardView } from './ShadowViewAddon-0c8005bd.js';
5
- import { b as buildFontsCssUrl, i as intl } from './global-cf0cc6b1.js';
4
+ import { u as useDemoBigStat, W as useBigStat, B as BigStatView, C as CardFeedView, d 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 PortalFrameView, c as BaseRegistrationFormView, R as ReferralIframeView, i as RewardExchangeView, Y as demoRewardExchange, G as useShareButton, a as ShareButtonView, K as useShareLink, J as ShareLinkView, S as StatContainerView, T as TaskCardView } from './ShadowViewAddon-59f4b3fa.js';
5
+ import { b as buildFontsCssUrl, i as intl } from './global-11396707.js';
6
6
  import { g as getProps, a as getMissingProps } from './utils-334c1e34.js';
7
7
  import { d as demoMerge } from './demoMerge-a0320a8e.js';
8
- import { R as RequiredPropsError, L as LEAD_FORM_STATE_CONTEXT, u as useLeadFormState } from './useLeadFormState-34e05463.js';
9
- import { R as REGISTRATION_FORM_STATE_CONTEXT, a as useRegistrationForm } from './useRegistrationFormState-72b4786d.js';
8
+ import { R as RequiredPropsError, L as LEAD_FORM_STATE_CONTEXT, u as useLeadFormState } from './useLeadFormState-de1a8033.js';
9
+ import { R as REGISTRATION_FORM_STATE_CONTEXT, a as useRegistrationForm } from './useRegistrationFormState-7688ce40.js';
10
10
  import { c as createStyleSheet } from './JSS-e97b34f4.js';
11
- import { i as isEmpty } from './utilities-ceab25cd.js';
11
+ import { i as isEmpty } from './utilities-937c375d.js';
12
12
  import { o as optimizeCloudinaryUrl } from './imageUrl-4775f17b.js';
13
13
  import { j as jsonpointer } from './jsonpointer-c5423376.js';
14
14
  import { A as AsYouType } from './AsYouType-cc09fa68.js';
15
- import { u as usePayoutStatus, C as COMPLETE_PARTNER } from './useIndirectTaxForm-4bcd91f9.js';
15
+ import { u as usePayoutStatus, C as COMPLETE_PARTNER } from './useIndirectTaxForm-733f5cf4.js';
16
16
  import { p as parseStates } from './parseStates-0c27f2de.js';
17
17
  import { P as PortalRegistrationFormView } from './sqm-portal-registration-form-view-113e1969.js';
18
- import { u as usePortalRegistrationForm } from './usePortalRegistrationForm-c6519939.js';
19
- import { u as useChildElements } from './useChildElements-a69f208f.js';
20
- import { u as useInstantAccessRegistration } from './useInstantAccessRegistration-8c678a5a.js';
18
+ import { u as usePortalRegistrationForm } from './usePortalRegistrationForm-751b1f36.js';
19
+ import { u as useChildElements } from './useChildElements-18bd6080.js';
20
+ import { u as useInstantAccessRegistration } from './useInstantAccessRegistration-be58b9dd.js';
21
21
  import { E as EmailRegistrationView } from './email-registration-view-7a63a912.js';
22
22
  import { p as pathToRegexp } from './index-e6f5153e.js';
23
23
  import { C as CopyTextView } from './copy-text-view-e1c3f2cd.js';
24
24
  import { E as ErrorView } from './ErrorView-19af8137.js';
25
- import { g as getCountryObj, i as isValidI18nPhoneNumber, L as LoadingView } from './subregions-d9f177f6.js';
26
- import { 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, g as GET_FINANCE_NETWORK_SETTINGS, h as CURRENCIES_QUERY_NAMESPACE, i as GET_CURRENCIES } from './data-b0e80fd9.js';
27
- import { a as useRequestRerender } from './re-render-e911a0f7.js';
25
+ import { g as getCountryObj, i as isValidI18nPhoneNumber, L as LoadingView } from './subregions-c7df98a1.js';
26
+ import { 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, g as GET_FINANCE_NETWORK_SETTINGS, h as CURRENCIES_QUERY_NAMESPACE, i as GET_CURRENCIES } from './data-91756a72.js';
27
+ import { a as useRequestRerender } from './re-render-fa467bec.js';
28
28
  import { l as luxon } from './luxon-40b943cb.js';
29
29
  import { S as SHOW_CODE_NAMESPACE, a as VERIFICATION_EMAIL_NAMESPACE, V as VERIFICATION_PARENT_NAMESPACE, b as SHOW_PARTNER_MODAL_NAMESPACE, P as PARTNER_CREATED_NAMESPACE } from './keys-1054056a.js';
30
30
  import './mixins-f750863a.js';
31
31
  import './sqm-portal-container-view-fcd53673.js';
32
32
  import './sqm-text-span-view-ed92b3c6.js';
33
- import './useReferralCodes-d0a384e4.js';
33
+ import './useReferralCodes-d1706a4b.js';
34
34
 
35
35
  /**
36
36
  *
@@ -4003,7 +4003,9 @@ function useRegistrationDemo(props) {
4003
4003
  setUserIdentity({
4004
4004
  id: "referrer@example.com",
4005
4005
  accountId: "referrer@example.com",
4006
- jwt: "eyJraWQiOiJlNjI2NzQxNy1jMzZlLTRlM2EtYjM5NS1lYTFmY2YyNmU3YzIiLCJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOiJjbVZtWlhKeVpYSkFaWGhoYlhCc1pTNWpiMjA9OmNtVm1aWEp5WlhKQVpYaGhiWEJzWlM1amIyMD1AdGVzdF9heGJndGF0dzF0Y2NwOnVzZXJzIiwicGFzc3dvcmRsZXNzIjp0cnVlLCJpc3MiOiJodHRwczovL3N0YWdpbmcucmVmZXJyYWxzYWFzcXVhdGNoLmNvbS8iLCJleHAiOjE2ODA4ODU5MTksImlhdCI6MTY4MDc5OTUxOX0.kjmTVVf_BTb-uMNKnadLyNLxMFwpkefsY02O3iAfBVIJJZZfeZMwunPlKsS3Vbp28aYRClBjH5Wj4pYxDn23D0CdZx8KNCqiJ8yF6149O9SPMkRseoJkliqS6LyvMOEDjGDkuLfcC8_hq1AHBXFt5BdCtWOk1gwf_5R9A0w5gXEIvprBzbNDLbuo88bVAlrmFNvfttXXryrpUeruMal7cBKuy02YblBrB4kKoyJiprU5GLEjciBA4A56u8TwQc0kbsPf2YcQaJsY_IvkC7S1u4sPyObpq6iF6Ed8UYHAo6nU5KjZXyVtoUyeIS11mf_6OtDO6LyMNHV2FtEUUDdPCg",
4006
+ jwt: fakeJwt({
4007
+ user: { id: "referrer@example.com", accountId: "referrer@example.com" },
4008
+ }),
4007
4009
  });
4008
4010
  };
4009
4011
  return demoMerge({
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h as h$1 } from './index-7a8b0c0b.js';
2
- import { g as getEnvironmentSDK } from './index-b04013cc.js';
2
+ import { g as getEnvironmentSDK } from './index-ebb35768.js';
3
3
  import { n as h } from './dom-context-hooks.module-f88a3e54.js';
4
4
  import { C as CloseButtonView } from './sqm-close-button-view-1deb12b1.js';
5
5
  import './JSS-e97b34f4.js';
@@ -1,5 +1,5 @@
1
1
  import { h, r as registerInstance } from './index-7a8b0c0b.js';
2
- import { d as dist, P as useParent, u as useParentValue, i as isDemo, O as useSetParent } from './index-b04013cc.js';
2
+ import { d as dist, ac as useParent, u as useParentValue, i as isDemo, ab as useSetParent } from './index-ebb35768.js';
3
3
  import { l, k as useState, j as useEffect, n as h$1 } from './dom-context-hooks.module-f88a3e54.js';
4
4
  import { d as demoMerge } from './demoMerge-a0320a8e.js';
5
5
  import { g as getProps } from './utils-334c1e34.js';
@@ -7,8 +7,8 @@ import { S as SHOW_CODE_NAMESPACE, a as VERIFICATION_EMAIL_NAMESPACE, V as VERIF
7
7
  import { c as createStyleSheet } from './JSS-e97b34f4.js';
8
8
  import { T as TextSpanView } from './sqm-text-span-view-ed92b3c6.js';
9
9
  import { E as ErrorStyles } from './mixins-f750863a.js';
10
- import { i as intl } from './global-cf0cc6b1.js';
11
- import { u as useVerificationEmail } from './useVerificationEmail-b2c349a3.js';
10
+ import { i as intl } from './global-11396707.js';
11
+ import { u as useVerificationEmail } from './useVerificationEmail-5fb29393.js';
12
12
 
13
13
  const style = {
14
14
  Wrapper: {
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, h as h$1, c as Host } from './index-7a8b0c0b.js';
2
2
  import { b as browser, k as useState, f as d, j as useEffect, n as h } from './dom-context-hooks.module-f88a3e54.js';
3
3
  import { g as getProps } from './utils-334c1e34.js';
4
- import { x as useHost } from './index-b04013cc.js';
4
+ import { x as useHost } from './index-ebb35768.js';
5
5
  import { p as pathToRegexp } from './index-e6f5153e.js';
6
6
 
7
7
  const debug = browser("sq:useRouter");
@@ -1,16 +1,16 @@
1
1
  import { h, r as registerInstance } from './index-7a8b0c0b.js';
2
2
  import { k as useState, j as useEffect, n as h$1, u as useMemo } from './dom-context-hooks.module-f88a3e54.js';
3
- import { d as dist, P as useParent, e as useQuery, b as useUserIdentity, f as useMutation, i as isDemo, O as useSetParent, v as useLocale } from './index-b04013cc.js';
3
+ import { d as dist, ac as useParent, e as useQuery, b as useUserIdentity, f as useMutation, i as isDemo, ab as useSetParent, v as useLocale } from './index-ebb35768.js';
4
4
  import { S as SHOW_CODE_NAMESPACE, a as VERIFICATION_EMAIL_NAMESPACE, P as PARTNER_CREATED_NAMESPACE } from './keys-1054056a.js';
5
- import { u as useVerificationEmail } from './useVerificationEmail-b2c349a3.js';
5
+ import { u as useVerificationEmail } from './useVerificationEmail-5fb29393.js';
6
6
  import { c as createStyleSheet } from './JSS-e97b34f4.js';
7
7
  import { T as TextSpanView } from './sqm-text-span-view-ed92b3c6.js';
8
- import { i as intl } from './global-cf0cc6b1.js';
8
+ import { i as intl } from './global-11396707.js';
9
9
  import { g as getProps } from './utils-334c1e34.js';
10
10
  import { d as demoMerge } from './demoMerge-a0320a8e.js';
11
11
  import { T as TAX_FORM_UPDATED_EVENT_KEY, p as parseStates } from './parseStates-0c27f2de.js';
12
- import { a as PartnerInfoModalContentView, P as PartnerInfoModalView } from './sqm-partner-info-modal-view-3b59be37.js';
13
- import { g as GET_FINANCE_NETWORK_SETTINGS } from './data-b0e80fd9.js';
12
+ import { a as PartnerInfoModalContentView, P as PartnerInfoModalView } from './sqm-partner-info-modal-view-fb139e7c.js';
13
+ import { g as GET_FINANCE_NETWORK_SETTINGS } from './data-91756a72.js';
14
14
 
15
15
  const UpsertUserEmailMutation = dist.gql `
16
16
  mutation upsertUser($userInput: UserInput!) {
@@ -485,27 +485,31 @@ function usePartnerInfoModal(props) {
485
485
  const [shouldDisplayNameFields, setShouldDisplayNameFields] = useState(false);
486
486
  const [firstName, setFirstName] = useState((_a = user === null || user === void 0 ? void 0 : user.firstName) !== null && _a !== void 0 ? _a : "");
487
487
  const [lastName, setLastName] = useState((_b = user === null || user === void 0 ? void 0 : user.lastName) !== null && _b !== void 0 ? _b : "");
488
- // No pre-filled country, use locale to determine countryCode instead
489
- const [countryCode, setCountryCode] = useState(((_d = (_c = user === null || user === void 0 ? void 0 : user.impactConnection) === null || _c === void 0 ? void 0 : _c.publisher) === null || _d === void 0 ? void 0 : _d.countryCode) || locale.replace(/^.*_/, ""));
488
+ const [countryCode, setCountryCode] = useState(((_d = (_c = user === null || user === void 0 ? void 0 : user.impactConnection) === null || _c === void 0 ? void 0 : _c.publisher) === null || _d === void 0 ? void 0 : _d.countryCode) || "");
490
489
  const [currency, setCurrency] = useState(((_f = (_e = user === null || user === void 0 ? void 0 : user.impactConnection) === null || _e === void 0 ? void 0 : _e.publisher) === null || _f === void 0 ? void 0 : _f.currency) || "");
491
490
  const { data: financeNetworkData } = useQuery(GET_FINANCE_NETWORK_SETTINGS, {
492
491
  variables: { filter: countryCode ? { countryCode_eq: countryCode } : {} },
493
492
  });
494
493
  const [startImpactConnection, { loading: connectLoading }] = useMutation(START_IMPACT_CONNECTION);
495
494
  const [allowBankingCollection, setAllowBankingCollection] = useState(false);
495
+ const localeCountry = locale.replace(/^.*_/, "");
496
496
  const countries = useMemo(() => {
497
497
  var _a;
498
498
  const data = (_a = countriesData === null || countriesData === void 0 ? void 0 : countriesData.impactPayoutCountries) === null || _a === void 0 ? void 0 : _a.data;
499
499
  if (!data)
500
500
  return [];
501
501
  return [...data].sort((a, b) => {
502
+ if (a.countryCode === localeCountry)
503
+ return -1;
504
+ if (b.countryCode === localeCountry)
505
+ return 1;
502
506
  if (a.countryCode === "US")
503
507
  return -1;
504
508
  if (b.countryCode === "US")
505
509
  return 1;
506
510
  return a.displayName.localeCompare(b.displayName);
507
511
  });
508
- }, [countriesData]);
512
+ }, [countriesData, localeCountry]);
509
513
  const isExistingPartner = !!((_g = user === null || user === void 0 ? void 0 : user.impactConnection) === null || _g === void 0 ? void 0 : _g.publisher);
510
514
  const _currencies = useMemo(() => {
511
515
  var _a, _b, _c;
@@ -1,10 +1,10 @@
1
1
  import { h, r as registerInstance, c as Host } from './index-7a8b0c0b.js';
2
- import { i as intl } from './global-cf0cc6b1.js';
2
+ import { i as intl } from './global-11396707.js';
3
3
  import { o as optimizeCloudinaryUrl } from './imageUrl-4775f17b.js';
4
4
  import { n as h$1 } from './dom-context-hooks.module-f88a3e54.js';
5
5
  import { P as PortalContainerView, a as PortalSectionView } from './sqm-portal-container-view-fcd53673.js';
6
6
  import { g as getProps } from './utils-334c1e34.js';
7
- import './index-b04013cc.js';
7
+ import './index-ebb35768.js';
8
8
  import './JSS-e97b34f4.js';
9
9
 
10
10
  function EmptyStateView(props) {
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, e as createEvent, h as h$1, g as getElement } from './index-7a8b0c0b.js';
2
- import { g as getEnvironmentSDK, i as isDemo } from './index-b04013cc.js';
2
+ import { g as getEnvironmentSDK, i as isDemo } from './index-ebb35768.js';
3
3
  import { k as useState, j as useEffect, n as h } from './dom-context-hooks.module-f88a3e54.js';
4
4
 
5
5
  function useGoogleSignIn(props) {
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h as h$1, c as Host } from './index-7a8b0c0b.js';
2
- import { z as useToken, A as useTenantAlias, B as memoizedGraphQLClient, G as GRAPHQL_CONTEXT } from './index-b04013cc.js';
2
+ import { z as useToken, A as useTenantAlias, B as memoizedGraphQLClient, G as GRAPHQL_CONTEXT } from './index-ebb35768.js';
3
3
  import { o as m, j as useEffect, n as h } from './dom-context-hooks.module-f88a3e54.js';
4
4
 
5
5
  async function useGraphQLClientProvider({ domain }) {