@saasquatch/mint-components 1.12.1-1 → 1.12.1-4

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 (252) hide show
  1. package/dist/cjs/{ShadowViewAddon-88821c64.js → ShadowViewAddon-67836b9c.js} +27 -37
  2. package/dist/cjs/{global-c3637175.js → global-02e50f09.js} +2 -2
  3. package/dist/cjs/{index.module-b8d9d0ba.js → index.module-df530553.js} +18 -55
  4. package/dist/cjs/loader.cjs.js +3 -3
  5. package/dist/cjs/mint-components.cjs.js +3 -3
  6. package/dist/cjs/{re-render-5bde3d2e.js → re-render-1976e05e.js} +4 -4
  7. package/dist/cjs/sqm-asset-card.cjs.entry.js +1 -1
  8. package/dist/cjs/sqm-banking-info-form_16.cjs.entry.js +61 -61
  9. package/dist/cjs/sqm-big-stat_39.cjs.entry.js +59 -65
  10. package/dist/cjs/sqm-close-button.cjs.entry.js +1 -1
  11. package/dist/cjs/sqm-context-router.cjs.entry.js +2 -2
  12. package/dist/cjs/sqm-empty_4.cjs.entry.js +2 -2
  13. package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +5 -5
  14. package/dist/cjs/sqm-instant-access-registration.cjs.entry.js +3 -3
  15. package/dist/cjs/{sqm-invoice-table-view-a9133a11.js → sqm-invoice-table-view-e3b03a00.js} +1 -1
  16. package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +5 -5
  17. package/dist/cjs/sqm-logout-current-user.cjs.entry.js +3 -3
  18. package/dist/cjs/{sqm-navigation-sidebar-item-view-a2135064.js → sqm-navigation-sidebar-item-view-a125ec5f.js} +2 -2
  19. package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +3 -3
  20. package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +3 -3
  21. package/dist/cjs/sqm-password-field.cjs.entry.js +2 -2
  22. package/dist/cjs/sqm-popup-container.cjs.entry.js +4 -4
  23. package/dist/cjs/{sqm-portal-email-verification-view-050dbe0f.js → sqm-portal-email-verification-view-292b5bf4.js} +1 -1
  24. package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +8 -8
  25. package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +4 -4
  26. package/dist/cjs/sqm-portal-logout.cjs.entry.js +2 -2
  27. package/dist/cjs/{sqm-portal-profile-view-d97086bc.js → sqm-portal-profile-view-fde54e35.js} +1 -1
  28. package/dist/cjs/sqm-portal-profile.cjs.entry.js +7 -7
  29. package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +5 -5
  30. package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +7 -7
  31. package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +6 -6
  32. package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +6 -6
  33. package/dist/cjs/sqm-referral-table_11.cjs.entry.js +5 -5
  34. package/dist/cjs/sqm-referred-registration.cjs.entry.js +3 -3
  35. package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +2 -2
  36. package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +10 -10
  37. package/dist/cjs/sqm-stencilbook.cjs.entry.js +45 -46
  38. package/dist/cjs/sqm-tab.cjs.entry.js +2 -2
  39. package/dist/cjs/sqm-tabs.cjs.entry.js +4 -4
  40. package/dist/cjs/{useChildElements-410d2435.js → useChildElements-e0d44916.js} +2 -2
  41. package/dist/cjs/{useInstantAccessRegistration-ccf81eae.js → useInstantAccessRegistration-bbe746d1.js} +3 -3
  42. package/dist/cjs/{useReferralTable-824ac152.js → useReferralTable-a76adb0d.js} +9 -9
  43. package/dist/cjs/{useRegistrationFormState-f9ce55be.js → useRegistrationFormState-876ed65d.js} +2 -2
  44. package/dist/cjs/{utilities-f7de6c04.js → utilities-cec9dd36.js} +1 -1
  45. package/dist/collection/components/sqm-checkbox-field/CheckboxField.stories.js +0 -1
  46. package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field-view.js +7 -16
  47. package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field.js +2 -2
  48. package/dist/collection/components/sqm-marketing-emails-checkbox/sqm-marketing-emails-checkbox.js +2 -32
  49. package/dist/esm/{ShadowViewAddon-65c8679e.js → ShadowViewAddon-1e90c3f1.js} +27 -37
  50. package/dist/esm/{global-6306a9b8.js → global-04c7d3b5.js} +2 -2
  51. package/dist/esm/{index.module-6c840c4e.js → index.module-def4aec5.js} +3 -40
  52. package/dist/esm/loader.js +3 -3
  53. package/dist/esm/mint-components.js +3 -3
  54. package/dist/esm/{re-render-1bcfd0de.js → re-render-12fd274a.js} +4 -4
  55. package/dist/esm/sqm-asset-card.entry.js +1 -1
  56. package/dist/esm/sqm-banking-info-form_16.entry.js +61 -61
  57. package/dist/esm/sqm-big-stat_39.entry.js +59 -65
  58. package/dist/esm/sqm-close-button.entry.js +1 -1
  59. package/dist/esm/sqm-context-router.entry.js +2 -2
  60. package/dist/esm/sqm-empty_4.entry.js +2 -2
  61. package/dist/esm/sqm-graphql-client-provider.entry.js +5 -5
  62. package/dist/esm/sqm-instant-access-registration.entry.js +3 -3
  63. package/dist/esm/{sqm-invoice-table-view-71915a5e.js → sqm-invoice-table-view-6e13a323.js} +1 -1
  64. package/dist/esm/sqm-leaderboard-rank.entry.js +5 -5
  65. package/dist/esm/sqm-logout-current-user.entry.js +3 -3
  66. package/dist/esm/{sqm-navigation-sidebar-item-view-f8e78810.js → sqm-navigation-sidebar-item-view-60ef06cc.js} +2 -2
  67. package/dist/esm/sqm-navigation-sidebar-item.entry.js +3 -3
  68. package/dist/esm/sqm-navigation-sidebar.entry.js +3 -3
  69. package/dist/esm/sqm-password-field.entry.js +2 -2
  70. package/dist/esm/sqm-popup-container.entry.js +4 -4
  71. package/dist/esm/{sqm-portal-email-verification-view-c6ac5430.js → sqm-portal-email-verification-view-4307c992.js} +1 -1
  72. package/dist/esm/sqm-portal-email-verification.entry.js +8 -8
  73. package/dist/esm/sqm-portal-forgot-password.entry.js +4 -4
  74. package/dist/esm/sqm-portal-logout.entry.js +2 -2
  75. package/dist/esm/{sqm-portal-profile-view-15ddbec8.js → sqm-portal-profile-view-ffe955c8.js} +1 -1
  76. package/dist/esm/sqm-portal-profile.entry.js +7 -7
  77. package/dist/esm/sqm-portal-protected-route.entry.js +5 -5
  78. package/dist/esm/sqm-portal-registration-form.entry.js +7 -7
  79. package/dist/esm/sqm-portal-reset-password.entry.js +6 -6
  80. package/dist/esm/sqm-portal-verify-email.entry.js +6 -6
  81. package/dist/esm/sqm-referral-table_11.entry.js +5 -5
  82. package/dist/esm/sqm-referred-registration.entry.js +3 -3
  83. package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +2 -2
  84. package/dist/esm/sqm-rewards-table_9.entry.js +10 -10
  85. package/dist/esm/sqm-stencilbook.entry.js +45 -46
  86. package/dist/esm/sqm-tab.entry.js +2 -2
  87. package/dist/esm/sqm-tabs.entry.js +4 -4
  88. package/dist/esm/{useChildElements-fc84e640.js → useChildElements-32e1bda1.js} +2 -2
  89. package/dist/esm/{useInstantAccessRegistration-8b0a4556.js → useInstantAccessRegistration-46b89952.js} +3 -3
  90. package/dist/esm/{useReferralTable-f6ffa103.js → useReferralTable-f4de0650.js} +9 -9
  91. package/dist/esm/{useRegistrationFormState-849e27f7.js → useRegistrationFormState-9fc1ac80.js} +2 -2
  92. package/dist/esm/{utilities-443732be.js → utilities-3f5bba22.js} +1 -1
  93. package/dist/esm-es5/ShadowViewAddon-1e90c3f1.js +1 -0
  94. package/dist/esm-es5/{global-6306a9b8.js → global-04c7d3b5.js} +2 -2
  95. package/dist/esm-es5/index.module-def4aec5.js +1 -0
  96. package/dist/esm-es5/loader.js +1 -1
  97. package/dist/esm-es5/mint-components.js +1 -1
  98. package/dist/esm-es5/{re-render-1bcfd0de.js → re-render-12fd274a.js} +1 -1
  99. package/dist/esm-es5/sqm-asset-card.entry.js +1 -1
  100. package/dist/esm-es5/sqm-banking-info-form_16.entry.js +1 -1
  101. package/dist/esm-es5/sqm-big-stat_39.entry.js +1 -1
  102. package/dist/esm-es5/sqm-close-button.entry.js +1 -1
  103. package/dist/esm-es5/sqm-context-router.entry.js +1 -1
  104. package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
  105. package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
  106. package/dist/esm-es5/sqm-instant-access-registration.entry.js +1 -1
  107. package/dist/esm-es5/{sqm-invoice-table-view-71915a5e.js → sqm-invoice-table-view-6e13a323.js} +1 -1
  108. package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
  109. package/dist/esm-es5/sqm-logout-current-user.entry.js +1 -1
  110. package/dist/esm-es5/sqm-navigation-sidebar-item-view-60ef06cc.js +1 -0
  111. package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
  112. package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
  113. package/dist/esm-es5/sqm-password-field.entry.js +1 -1
  114. package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
  115. package/dist/esm-es5/{sqm-portal-email-verification-view-c6ac5430.js → sqm-portal-email-verification-view-4307c992.js} +1 -1
  116. package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
  117. package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -1
  118. package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
  119. package/dist/esm-es5/{sqm-portal-profile-view-15ddbec8.js → sqm-portal-profile-view-ffe955c8.js} +1 -1
  120. package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
  121. package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -1
  122. package/dist/esm-es5/sqm-portal-registration-form.entry.js +1 -1
  123. package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
  124. package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
  125. package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
  126. package/dist/esm-es5/sqm-referred-registration.entry.js +1 -1
  127. package/dist/esm-es5/sqm-rewards-table-customer-note-column.entry.js +1 -1
  128. package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
  129. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  130. package/dist/esm-es5/sqm-tab.entry.js +1 -1
  131. package/dist/esm-es5/sqm-tabs.entry.js +1 -1
  132. package/dist/esm-es5/{useChildElements-fc84e640.js → useChildElements-32e1bda1.js} +1 -1
  133. package/dist/esm-es5/useInstantAccessRegistration-46b89952.js +1 -0
  134. package/dist/esm-es5/{useReferralTable-f6ffa103.js → useReferralTable-f4de0650.js} +1 -1
  135. package/dist/esm-es5/useRegistrationFormState-9fc1ac80.js +1 -0
  136. package/dist/esm-es5/{utilities-443732be.js → utilities-3f5bba22.js} +1 -1
  137. package/dist/mint-components/mint-components.esm.js +1 -1
  138. package/dist/mint-components/mint-components.js +1 -1
  139. package/dist/mint-components/{p-f450654b.system.entry.js → p-01cfff8a.system.entry.js} +1 -1
  140. package/dist/mint-components/{p-94454880.entry.js → p-021a735d.entry.js} +1 -1
  141. package/dist/mint-components/{p-ac51940e.system.js → p-02424350.system.js} +1 -1
  142. package/dist/mint-components/p-03494732.entry.js +1 -0
  143. package/dist/mint-components/{p-59818690.system.entry.js → p-07f675ab.system.entry.js} +1 -1
  144. package/dist/mint-components/{p-11d1b212.js → p-0b9fa97f.js} +1 -1
  145. package/dist/mint-components/{p-5becb2ff.system.js → p-0d8c53ac.system.js} +1 -1
  146. package/dist/mint-components/p-10e89d0a.entry.js +1 -0
  147. package/dist/mint-components/{p-012daf3c.entry.js → p-137ea86e.entry.js} +1 -1
  148. package/dist/mint-components/{p-15a64357.entry.js → p-18a0e0d7.entry.js} +2 -2
  149. package/dist/mint-components/p-1c857edb.entry.js +33 -0
  150. package/dist/mint-components/{p-e12d3414.system.entry.js → p-1dd69917.system.entry.js} +1 -1
  151. package/dist/mint-components/p-21233898.system.entry.js +1 -0
  152. package/dist/mint-components/{p-d468925f.entry.js → p-2dd67762.entry.js} +1 -1
  153. package/dist/mint-components/{p-1d27da33.js → p-2ee2ebba.js} +2 -2
  154. package/dist/mint-components/{p-84b25a46.entry.js → p-3223ba7b.entry.js} +1 -1
  155. package/dist/mint-components/{p-f4cbbe47.entry.js → p-32d1d162.entry.js} +1 -1
  156. package/dist/mint-components/{p-cb433855.system.entry.js → p-35d84041.system.entry.js} +1 -1
  157. package/dist/mint-components/{p-4babe350.system.js → p-3d4656bb.system.js} +1 -1
  158. package/dist/mint-components/{p-f36e33ff.entry.js → p-3ec16698.entry.js} +2 -2
  159. package/dist/mint-components/{p-04348a9b.js → p-41a11a7f.js} +1 -1
  160. package/dist/mint-components/{p-3cb18382.system.js → p-44787d6e.system.js} +1 -1
  161. package/dist/mint-components/{p-be1ae1ed.system.entry.js → p-4502ed11.system.entry.js} +1 -1
  162. package/dist/mint-components/{p-e0e7635a.js → p-4d233cd4.js} +1 -1
  163. package/dist/mint-components/{p-cd44de66.system.js → p-4df8f1d2.system.js} +1 -1
  164. package/dist/mint-components/{p-7dd1ff31.system.entry.js → p-4ea58025.system.entry.js} +1 -1
  165. package/dist/mint-components/{p-a45b03d2.entry.js → p-4edde470.entry.js} +1 -1
  166. package/dist/mint-components/p-51f517a2.js +1 -0
  167. package/dist/mint-components/{p-b3e97f8a.system.entry.js → p-54051e76.system.entry.js} +1 -1
  168. package/dist/mint-components/{p-bee1e573.entry.js → p-56f14840.entry.js} +1 -1
  169. package/dist/mint-components/{p-0527d90b.system.entry.js → p-58ef25d3.system.entry.js} +1 -1
  170. package/dist/mint-components/{p-fc422446.system.js → p-59fe4ad1.system.js} +1 -1
  171. package/dist/mint-components/{p-cb38b9b0.system.entry.js → p-5b333fa8.system.entry.js} +1 -1
  172. package/dist/mint-components/p-5be235f9.entry.js +1 -0
  173. package/dist/mint-components/{p-bc826117.system.entry.js → p-5cac90e8.system.entry.js} +1 -1
  174. package/dist/mint-components/{p-22425c71.system.entry.js → p-5f1c4160.system.entry.js} +1 -1
  175. package/dist/mint-components/{p-0121e044.js → p-61eab172.js} +1 -1
  176. package/dist/mint-components/{p-4eae91a9.system.js → p-674a64fe.system.js} +1 -1
  177. package/dist/mint-components/{p-a02afa72.system.js → p-675e974b.system.js} +1 -1
  178. package/dist/mint-components/{p-76392386.entry.js → p-6cef104b.entry.js} +1 -1
  179. package/dist/mint-components/{p-0893073b.entry.js → p-7049e9b0.entry.js} +1 -1
  180. package/dist/mint-components/p-711ba77e.system.entry.js +1 -0
  181. package/dist/mint-components/p-770368bc.system.js +1 -0
  182. package/dist/mint-components/{p-c3babfa4.system.entry.js → p-7731f793.system.entry.js} +1 -1
  183. package/dist/mint-components/p-79191f88.entry.js +1 -0
  184. package/dist/mint-components/p-7f088154.entry.js +1 -0
  185. package/dist/mint-components/{p-17f56865.entry.js → p-80ed03b6.entry.js} +2 -2
  186. package/dist/mint-components/{p-3e7ec0f3.system.entry.js → p-8679ed9f.system.entry.js} +1 -1
  187. package/dist/mint-components/{p-6c928c7d.entry.js → p-86990110.entry.js} +1 -1
  188. package/dist/mint-components/{p-d83b0cf3.js → p-8704937c.js} +1 -1
  189. package/dist/mint-components/p-8b5b78ca.entry.js +1 -0
  190. package/dist/mint-components/p-8e907ac7.system.entry.js +1 -0
  191. package/dist/mint-components/p-91669312.entry.js +1 -0
  192. package/dist/mint-components/{p-f56348dc.system.entry.js → p-9c310991.system.entry.js} +1 -1
  193. package/dist/mint-components/{p-9ec008cb.system.entry.js → p-9f0629ba.system.entry.js} +1 -1
  194. package/dist/mint-components/{p-f531a5c9.system.entry.js → p-a1dba9a1.system.entry.js} +1 -1
  195. package/dist/mint-components/p-a6a7dcaa.js +1 -0
  196. package/dist/mint-components/{p-9cdbd1ac.system.entry.js → p-a7c2ced2.system.entry.js} +1 -1
  197. package/dist/mint-components/p-a8f7cb95.js +1 -0
  198. package/dist/mint-components/{p-03dbe2ce.entry.js → p-a9050eb0.entry.js} +1 -1
  199. package/dist/mint-components/{p-fd21ae8f.entry.js → p-aad11a68.entry.js} +1 -1
  200. package/dist/mint-components/{p-04ced592.system.entry.js → p-af062c8f.system.entry.js} +1 -1
  201. package/dist/mint-components/{p-1f7d7524.system.entry.js → p-afd366ae.system.entry.js} +1 -1
  202. package/dist/mint-components/p-b370fca8.system.js +1 -0
  203. package/dist/mint-components/{p-5291891c.entry.js → p-b4c52c5a.entry.js} +2 -2
  204. package/dist/mint-components/{p-36e9296e.system.entry.js → p-b5861974.system.entry.js} +1 -1
  205. package/dist/mint-components/{p-83c9f37b.system.entry.js → p-b6fc1227.system.entry.js} +1 -1
  206. package/dist/mint-components/{p-5cd917db.js → p-bb00db59.js} +1 -1
  207. package/dist/mint-components/{p-5fba1a04.system.entry.js → p-be4b748a.system.entry.js} +1 -1
  208. package/dist/mint-components/{p-8d554a89.system.js → p-c84659a3.system.js} +1 -1
  209. package/dist/mint-components/{p-6792c8d8.system.entry.js → p-cb923bed.system.entry.js} +1 -1
  210. package/dist/mint-components/{p-9e0230c3.entry.js → p-ce5afa40.entry.js} +1 -1
  211. package/dist/mint-components/{p-2816bf6a.js → p-ce621bcc.js} +1 -1
  212. package/dist/mint-components/{p-88bf51b7.system.entry.js → p-cf690d55.system.entry.js} +1 -1
  213. package/dist/mint-components/{p-4671e644.entry.js → p-d8d2de11.entry.js} +1 -1
  214. package/dist/mint-components/{p-4e373c3d.system.js → p-dd7ee007.system.js} +1 -1
  215. package/dist/mint-components/{p-d35d8c06.entry.js → p-e3735866.entry.js} +2 -2
  216. package/dist/mint-components/{p-68747d88.js → p-eaada4da.js} +1 -1
  217. package/dist/mint-components/{p-51d53165.system.entry.js → p-eba44835.system.entry.js} +1 -1
  218. package/dist/mint-components/{p-b8233366.entry.js → p-ec41d6a4.entry.js} +1 -1
  219. package/dist/mint-components/{p-acd77a6e.entry.js → p-ecdb5b0e.entry.js} +9 -9
  220. package/dist/mint-components/{p-43621f12.system.js → p-ed095674.system.js} +1 -1
  221. package/dist/mint-components/{p-ca809fdd.system.js → p-ed17e637.system.js} +1 -1
  222. package/dist/mint-components/{p-c1f4fb6d.system.entry.js → p-fb20eb5e.system.entry.js} +1 -1
  223. package/dist/mint-components/{p-b651706a.js → p-fe66d24c.js} +2 -2
  224. package/dist/types/components/sqm-checkbox-field/sqm-checkbox-field-view.d.ts +0 -1
  225. package/dist/types/components/sqm-checkbox-field/sqm-checkbox-field.d.ts +1 -1
  226. package/dist/types/components/sqm-marketing-emails-checkbox/sqm-marketing-emails-checkbox.d.ts +1 -7
  227. package/dist/types/components.d.ts +1 -13
  228. package/docs/docs.docx +0 -0
  229. package/docs/raisins.json +1 -1
  230. package/grapesjs/grapesjs.js +1 -1
  231. package/package.json +1 -1
  232. package/dist/esm-es5/ShadowViewAddon-65c8679e.js +0 -1
  233. package/dist/esm-es5/index.module-6c840c4e.js +0 -1
  234. package/dist/esm-es5/sqm-navigation-sidebar-item-view-f8e78810.js +0 -1
  235. package/dist/esm-es5/useInstantAccessRegistration-8b0a4556.js +0 -1
  236. package/dist/esm-es5/useRegistrationFormState-849e27f7.js +0 -1
  237. package/dist/mint-components/p-0c9ad5f3.system.entry.js +0 -1
  238. package/dist/mint-components/p-1279f7a3.system.entry.js +0 -1
  239. package/dist/mint-components/p-1b861be5.entry.js +0 -1
  240. package/dist/mint-components/p-2868f475.entry.js +0 -1
  241. package/dist/mint-components/p-93576222.system.js +0 -1
  242. package/dist/mint-components/p-947fe79b.entry.js +0 -1
  243. package/dist/mint-components/p-99c15c5e.entry.js +0 -1
  244. package/dist/mint-components/p-9d34f4f0.entry.js +0 -33
  245. package/dist/mint-components/p-a4282d02.system.entry.js +0 -1
  246. package/dist/mint-components/p-b1e8a802.entry.js +0 -1
  247. package/dist/mint-components/p-bdd6bb13.js +0 -1
  248. package/dist/mint-components/p-c3b37bbf.js +0 -1
  249. package/dist/mint-components/p-c92a743e.entry.js +0 -1
  250. package/dist/mint-components/p-c9fb6102.entry.js +0 -1
  251. package/dist/mint-components/p-def516b8.system.js +0 -1
  252. package/dist/mint-components/p-f655a7df.js +0 -1
@@ -1,18 +1,18 @@
1
1
  import { h, r as registerInstance, c as Host, g as getElement } from './index-17b4da69.js';
2
2
  import { m as useRef, k as useState, f as useEffect, n as h$1, u as useMemo, b as browser, j as useReducer } from './stencil-hooks.module-ac12ca1c.js';
3
- import { i as intl } from './global-6306a9b8.js';
4
- import { d as dist, Q, K, M as Mn, D as Dn, t as qn, c as xe, i as isDemo, S as Sn, b as useCallback, O as On, y as $n, T, F as Fn, A as An } from './index.module-6c840c4e.js';
3
+ import { i as intl } from './global-04c7d3b5.js';
4
+ import { d as dist, L, Q, t as bn, I as In, M as Mn, f as $e, i as isDemo, w as wn, u as useCallback, k as kn, v as Pn, _, C as Cn, F as Fn } from './index.module-def4aec5.js';
5
5
  import { j as jsonpointer } from './jsonpointer-388a7082.js';
6
6
  import { c as cjs } from './cjs-bdfb4486.js';
7
7
  import './mixins-f60a614c.js';
8
8
  import { c as createStyleSheet } from './JSS-67b5cff8.js';
9
9
  import { G as GenericTableView } from './GenericTableView-d59d8ab4.js';
10
- import { u as useRerenderListener, a as useRequestRerender } from './re-render-1bcfd0de.js';
11
- import { u as useChildElements } from './useChildElements-fc84e640.js';
10
+ import { u as useRerenderListener, a as useRequestRerender } from './re-render-12fd274a.js';
11
+ import { u as useChildElements } from './useChildElements-32e1bda1.js';
12
12
  import { l as luxon } from './luxon-7600be8d.js';
13
- import { g as generateUserError } from './useReferralTable-f6ffa103.js';
13
+ import { g as generateUserError } from './useReferralTable-f4de0650.js';
14
14
  import { g as getProps, l as luxonLocale } from './utils-334c1e34.js';
15
- import { t as taxTypeToName, v as validTaxDocument, a as INDIRECT_TAX_SPAIN_REGIONS, b as INDIRECT_TAX_PROVINCES, g as getCountryObj, O as OtherRegionSlotView, I as InvoiceTableView, E as ErrorView, L as LoadingView, c as vatLabels, G as GeneralLoadingView, f as formatErrorMessage, d as validateBillingField, o as objectIsFull, A as ADDRESS_REGIONS } from './sqm-invoice-table-view-71915a5e.js';
15
+ import { t as taxTypeToName, v as validTaxDocument, a as INDIRECT_TAX_SPAIN_REGIONS, b as INDIRECT_TAX_PROVINCES, g as getCountryObj, O as OtherRegionSlotView, I as InvoiceTableView, E as ErrorView, L as LoadingView, c as vatLabels, G as GeneralLoadingView, f as formatErrorMessage, d as validateBillingField, o as objectIsFull, A as ADDRESS_REGIONS } from './sqm-invoice-table-view-6e13a323.js';
16
16
 
17
17
  const TAX_CONTEXT_NAMESPACE = "sq:tax-and-cash";
18
18
  const TAX_FORM_CONTEXT_NAMESPACE = "sq:tax-form-context";
@@ -956,15 +956,15 @@ function parseImpactThreshold(threshold) {
956
956
  }
957
957
  function useBankingInfoForm(props) {
958
958
  var _a, _b, _c, _d, _e, _f, _g, _h;
959
- const locale = Q();
960
- const user = K();
961
- const [step, setStep] = Mn(TAX_CONTEXT_NAMESPACE);
962
- const context = Dn(TAX_FORM_CONTEXT_NAMESPACE);
963
- const countries = Dn(SORTED_COUNTRIES_NAMESPACE);
959
+ const locale = L();
960
+ const user = Q();
961
+ const [step, setStep] = bn(TAX_CONTEXT_NAMESPACE);
962
+ const context = In(TAX_FORM_CONTEXT_NAMESPACE);
963
+ const countries = In(SORTED_COUNTRIES_NAMESPACE);
964
964
  const formRef = useRef(null);
965
- const { data: paymentOptionsData, loading: paymentOptionsLoading, errors: paymentOptionsError, } = qn(FINANCE_NETWORK_SETTINGS_NAMESPACE);
966
- const { data: userData, refetch, errors: userError, } = qn(USER_QUERY_NAMESPACE);
967
- const [saveWithdrawalSettings] = xe(SAVE_WITHDRAWAL_SETTINGS);
965
+ const { data: paymentOptionsData, loading: paymentOptionsLoading, errors: paymentOptionsError, } = Mn(FINANCE_NETWORK_SETTINGS_NAMESPACE);
966
+ const { data: userData, refetch, errors: userError, } = Mn(USER_QUERY_NAMESPACE);
967
+ const [saveWithdrawalSettings] = $e(SAVE_WITHDRAWAL_SETTINGS);
968
968
  const [formState, setFormState] = useState({});
969
969
  const [currentPaymentOption, setCurrentPaymentOption] = useState(null);
970
970
  const [loading, setLoading] = useState(false);
@@ -1532,7 +1532,7 @@ function useDemoBankingInfoForm(props) {
1532
1532
  const defaultPaymentScheduleChecked = (_f = (_e = (_d = props.demoData) === null || _d === void 0 ? void 0 : _d.states) === null || _e === void 0 ? void 0 : _e.formState) === null || _f === void 0 ? void 0 : _f.paymentScheduleChecked;
1533
1533
  const defaultCurrency = (_h = (_g = props.demoData) === null || _g === void 0 ? void 0 : _g.states) === null || _h === void 0 ? void 0 : _h.currency;
1534
1534
  const defaultCountry = (_l = (_k = (_j = props.demoData) === null || _j === void 0 ? void 0 : _j.states) === null || _k === void 0 ? void 0 : _k.formState) === null || _l === void 0 ? void 0 : _l.bankCountry;
1535
- const setStep = Sn(TAX_CONTEXT_NAMESPACE);
1535
+ const setStep = wn(TAX_CONTEXT_NAMESPACE);
1536
1536
  const [paymentMethodChecked, setPaymentMethodChecked] = useState(undefined);
1537
1537
  const [paymentScheduleChecked, setPaymentScheduleChecked] = useState(undefined);
1538
1538
  const [currency, setCurrency] = useState(defaultCurrency);
@@ -1650,13 +1650,13 @@ const DOCUSIGN_ERROR_STATES = [
1650
1650
  const DOCUSIGN_EXPIRED_STATES = ["ttl_expired", "session_timeout"];
1651
1651
  function useDocusignForm(props) {
1652
1652
  var _a, _b, _c;
1653
- const user = K();
1654
- const context = Dn(TAX_FORM_CONTEXT_NAMESPACE);
1655
- const [step, setStep] = Mn(TAX_CONTEXT_NAMESPACE);
1656
- const { data, loading: userLoading, refetch, } = qn(USER_QUERY_NAMESPACE);
1653
+ const user = Q();
1654
+ const context = In(TAX_FORM_CONTEXT_NAMESPACE);
1655
+ const [step, setStep] = bn(TAX_CONTEXT_NAMESPACE);
1656
+ const { data, loading: userLoading, refetch, } = Mn(USER_QUERY_NAMESPACE);
1657
1657
  const publisher = (_b = (_a = data === null || data === void 0 ? void 0 : data.user) === null || _a === void 0 ? void 0 : _a.impactConnection) === null || _b === void 0 ? void 0 : _b.publisher;
1658
- const [createTaxDocument, { loading: documentLoading, data: document, errors: documentErrors },] = xe(GET_TAX_DOCUMENT);
1659
- const [completeTaxDocument, { loading: completeDocumentLoading, data: completeData, errors: completeErrors, },] = xe(COMPLETE_TAX_DOCUMENT);
1658
+ const [createTaxDocument, { loading: documentLoading, data: document, errors: documentErrors },] = $e(GET_TAX_DOCUMENT);
1659
+ const [completeTaxDocument, { loading: completeDocumentLoading, data: completeData, errors: completeErrors, },] = $e(COMPLETE_TAX_DOCUMENT);
1660
1660
  const [docusignStatus, setDocusignStatus] = useState(undefined);
1661
1661
  const [participantType, setParticipantType] = useState(undefined);
1662
1662
  const [errors, setErrors] = useState({});
@@ -2191,7 +2191,7 @@ const DocusignForm = class {
2191
2191
  get el() { return getElement(this); }
2192
2192
  };
2193
2193
  function useDocusignFormDemo(props) {
2194
- const setStep = Sn(TAX_CONTEXT_NAMESPACE);
2194
+ const setStep = wn(TAX_CONTEXT_NAMESPACE);
2195
2195
  return cjs({
2196
2196
  text: props.getTextProps(),
2197
2197
  states: {
@@ -2461,15 +2461,15 @@ function getOption(countries, countryCode) {
2461
2461
  }
2462
2462
  function useIndirectTaxForm(props) {
2463
2463
  var _a, _b, _c, _d, _e;
2464
- const user = K();
2465
- const locale = Q();
2464
+ const user = Q();
2465
+ const locale = L();
2466
2466
  const formRef = useRef(null);
2467
- const context = Dn(TAX_FORM_CONTEXT_NAMESPACE);
2468
- const [step, setStep] = Mn(TAX_CONTEXT_NAMESPACE);
2469
- const [connectImpactPartner, { loading: connectLoading, errors: connectErrors },] = xe(CONNECT_PARTNER);
2470
- const userForm = Dn(USER_FORM_CONTEXT_NAMESPACE);
2471
- const { data: userData, refetch, errors: userError, } = qn(USER_QUERY_NAMESPACE);
2472
- const { data: _countriesRes, loading: countriesLoading } = qn(COUNTRIES_QUERY_NAMESPACE);
2467
+ const context = In(TAX_FORM_CONTEXT_NAMESPACE);
2468
+ const [step, setStep] = bn(TAX_CONTEXT_NAMESPACE);
2469
+ const [connectImpactPartner, { loading: connectLoading, errors: connectErrors },] = $e(CONNECT_PARTNER);
2470
+ const userForm = In(USER_FORM_CONTEXT_NAMESPACE);
2471
+ const { data: userData, refetch, errors: userError, } = Mn(USER_QUERY_NAMESPACE);
2472
+ const { data: _countriesRes, loading: countriesLoading } = Mn(COUNTRIES_QUERY_NAMESPACE);
2473
2473
  const intlLocale = (locale === null || locale === void 0 ? void 0 : locale.replace("_", "-")) || "en";
2474
2474
  const _countries = useMemo(() => { var _a, _b; return (_b = (_a = _countriesRes === null || _countriesRes === void 0 ? void 0 : _countriesRes.impactPayoutCountries) === null || _a === void 0 ? void 0 : _a.data) === null || _b === void 0 ? void 0 : _b.map((country) => getCountryObj({ countryCode: country.countryCode, locale: intlLocale })); }, [(_a = _countriesRes === null || _countriesRes === void 0 ? void 0 : _countriesRes.impactPayoutCountries) === null || _a === void 0 ? void 0 : _a.data]);
2475
2475
  const [loading, setLoading] = useState(false);
@@ -2858,7 +2858,7 @@ const IndirectTaxForm = class {
2858
2858
  }
2859
2859
  };
2860
2860
  function useDemoIndirectTaxForm(props) {
2861
- const setStep = Sn(TAX_CONTEXT_NAMESPACE);
2861
+ const setStep = wn(TAX_CONTEXT_NAMESPACE);
2862
2862
  const [option, setOption] = useState(null);
2863
2863
  const [demoFormState, setDemoFormState] = useState({});
2864
2864
  return cjs({
@@ -2968,8 +2968,8 @@ const GET_INVOICES = dist.gql `
2968
2968
  `;
2969
2969
  function useInvoiceTable(props, emptyElement, loadingElement) {
2970
2970
  var _a;
2971
- const user = K();
2972
- const locale = Q();
2971
+ const user = Q();
2972
+ const locale = L();
2973
2973
  const [content, setContent] = useReducer((state, next) => ({
2974
2974
  ...state,
2975
2975
  ...next,
@@ -2979,7 +2979,7 @@ function useInvoiceTable(props, emptyElement, loadingElement) {
2979
2979
  loading: false,
2980
2980
  page: 0,
2981
2981
  });
2982
- const { envelope: invoicesData, states, callbacks, } = On(GET_INVOICES, (data) => { var _a, _b, _c; return (_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.invoices; }, {
2982
+ const { envelope: invoicesData, states, callbacks, } = kn(GET_INVOICES, (data) => { var _a, _b, _c; return (_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.invoices; }, {
2983
2983
  limit: props.perPage,
2984
2984
  offset: 0,
2985
2985
  }, {}, !(user === null || user === void 0 ? void 0 : user.jwt));
@@ -3545,7 +3545,7 @@ function PayoutDetailsCardView(props) {
3545
3545
 
3546
3546
  function usePayoutDetailsCard(props) {
3547
3547
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
3548
- const { data, loading } = qn(USER_QUERY_NAMESPACE);
3548
+ const { data, loading } = Mn(USER_QUERY_NAMESPACE);
3549
3549
  const publisher = (_b = (_a = data === null || data === void 0 ? void 0 : data.user) === null || _a === void 0 ? void 0 : _a.impactConnection) === null || _b === void 0 ? void 0 : _b.publisher;
3550
3550
  function getPayoutDetailedStatusText(paymentDay) {
3551
3551
  var _a;
@@ -3734,21 +3734,21 @@ function getCurrentStep(user) {
3734
3734
  }
3735
3735
  function useTaxAndCash() {
3736
3736
  var _a, _b, _c, _d, _e;
3737
- const host = T();
3738
- const user = K();
3739
- const locale = Q();
3737
+ const host = _();
3738
+ const user = Q();
3739
+ const locale = L();
3740
3740
  // State for current step of form
3741
- const [step, setStep] = Fn({
3741
+ const [step, setStep] = Cn({
3742
3742
  namespace: TAX_CONTEXT_NAMESPACE,
3743
3743
  initialValue: "/loading",
3744
3744
  });
3745
3745
  // State for when to hide steps, or override certain actions
3746
- const [context, _setContext] = Fn({
3746
+ const [context, _setContext] = Cn({
3747
3747
  namespace: TAX_FORM_CONTEXT_NAMESPACE,
3748
3748
  initialValue: {},
3749
3749
  });
3750
3750
  // State to carry user form information into step 2
3751
- const [userFormContext, _setUserFormContext] = Fn({
3751
+ const [userFormContext, _setUserFormContext] = Cn({
3752
3752
  namespace: USER_FORM_CONTEXT_NAMESPACE,
3753
3753
  initialValue: {
3754
3754
  firstName: undefined,
@@ -3758,19 +3758,19 @@ function useTaxAndCash() {
3758
3758
  currency: undefined,
3759
3759
  },
3760
3760
  });
3761
- const [_currenciesContext, setCurrenciesContext] = Fn({
3761
+ const [_currenciesContext, setCurrenciesContext] = Cn({
3762
3762
  namespace: CURRENCIES_NAMESPACE,
3763
3763
  initialValue: [],
3764
3764
  });
3765
- const [_countriesContext, _setCountriesContext] = Fn({
3765
+ const [_countriesContext, _setCountriesContext] = Cn({
3766
3766
  namespace: COUNTRIES_NAMESPACE,
3767
3767
  initialValue: [],
3768
3768
  });
3769
- const [_sortedCountriesContext, setSortedCountriesContext] = Fn({
3769
+ const [_sortedCountriesContext, setSortedCountriesContext] = Cn({
3770
3770
  namespace: SORTED_COUNTRIES_NAMESPACE,
3771
3771
  initialValue: [],
3772
3772
  });
3773
- const { data, errors } = An({
3773
+ const { data, errors } = Fn({
3774
3774
  namespace: USER_QUERY_NAMESPACE,
3775
3775
  query: GET_USER,
3776
3776
  skip: !user,
@@ -3780,12 +3780,12 @@ function useTaxAndCash() {
3780
3780
  });
3781
3781
  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) ||
3782
3782
  userFormContext.countryCode;
3783
- An({
3783
+ Fn({
3784
3784
  namespace: COUNTRIES_QUERY_NAMESPACE,
3785
3785
  query: GET_COUNTRIES,
3786
3786
  skip: !user,
3787
3787
  });
3788
- const { data: financeNetworkData, refetch } = An({
3788
+ const { data: financeNetworkData, refetch } = Fn({
3789
3789
  namespace: FINANCE_NETWORK_SETTINGS_NAMESPACE,
3790
3790
  query: GET_FINANCE_NETWORK_SETTINGS,
3791
3791
  skip: !user,
@@ -3793,7 +3793,7 @@ function useTaxAndCash() {
3793
3793
  filter: getFinanceNetworkFilter(),
3794
3794
  },
3795
3795
  });
3796
- const { data: currenciesData } = An({
3796
+ const { data: currenciesData } = Fn({
3797
3797
  namespace: CURRENCIES_QUERY_NAMESPACE,
3798
3798
  query: GET_CURRENCIES,
3799
3799
  skip: !user,
@@ -3874,7 +3874,7 @@ function useTaxAndCash() {
3874
3874
  step,
3875
3875
  setStep,
3876
3876
  context,
3877
- namespace: $n(TAX_CONTEXT_NAMESPACE),
3877
+ namespace: Pn(TAX_CONTEXT_NAMESPACE),
3878
3878
  loading: step === "/loading",
3879
3879
  };
3880
3880
  }
@@ -4820,7 +4820,7 @@ const TaxAndCashMonolith = class {
4820
4820
  }
4821
4821
  };
4822
4822
  function useDemoTaxAndCash(props) {
4823
- const [step, setStep] = Fn({
4823
+ const [step, setStep] = Cn({
4824
4824
  namespace: TAX_CONTEXT_NAMESPACE,
4825
4825
  initialValue: "/1",
4826
4826
  });
@@ -5182,15 +5182,15 @@ function getIndirectTaxType(taxInformation) {
5182
5182
  }
5183
5183
  const useTaxAndCashDashboard = (props) => {
5184
5184
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
5185
- const setStep = Sn(TAX_CONTEXT_NAMESPACE);
5186
- const setContext = Sn(TAX_FORM_CONTEXT_NAMESPACE);
5185
+ const setStep = wn(TAX_CONTEXT_NAMESPACE);
5186
+ const setContext = wn(TAX_FORM_CONTEXT_NAMESPACE);
5187
5187
  const [showDialog, setShowDialog] = useState(false);
5188
- const locale = Q();
5188
+ const locale = L();
5189
5189
  useEffect(() => {
5190
5190
  // Clear override context once on submitted
5191
5191
  setContext({});
5192
5192
  }, []);
5193
- const { data, loading, errors: userError, } = qn(USER_QUERY_NAMESPACE);
5193
+ const { data, loading, errors: userError, } = Mn(USER_QUERY_NAMESPACE);
5194
5194
  const publisher = (_b = (_a = data === null || data === void 0 ? void 0 : data.user) === null || _a === void 0 ? void 0 : _a.impactConnection) === null || _b === void 0 ? void 0 : _b.publisher;
5195
5195
  const documentType = publisher === null || publisher === void 0 ? void 0 : publisher.requiredTaxDocumentType;
5196
5196
  const submissionDate = (_c = publisher === null || publisher === void 0 ? void 0 : publisher.currentTaxDocument) === null || _c === void 0 ? void 0 : _c.dateCreated;
@@ -6827,12 +6827,12 @@ function useUserInfoForm(props) {
6827
6827
  const currencyRef = useRef(undefined);
6828
6828
  const phoneCountryRef = useRef(undefined);
6829
6829
  const formRef = useRef(null);
6830
- const context = Dn(TAX_FORM_CONTEXT_NAMESPACE);
6831
- const countries = Dn(SORTED_COUNTRIES_NAMESPACE);
6832
- const [step, setStep] = Mn(TAX_CONTEXT_NAMESPACE);
6833
- const [userFormContext, setUserFormContext] = Mn(USER_FORM_CONTEXT_NAMESPACE);
6834
- const { data, loading, errors: userError, } = qn(USER_QUERY_NAMESPACE);
6835
- const _currencies = Dn(CURRENCIES_NAMESPACE);
6830
+ const context = In(TAX_FORM_CONTEXT_NAMESPACE);
6831
+ const countries = In(SORTED_COUNTRIES_NAMESPACE);
6832
+ const [step, setStep] = bn(TAX_CONTEXT_NAMESPACE);
6833
+ const [userFormContext, setUserFormContext] = bn(USER_FORM_CONTEXT_NAMESPACE);
6834
+ const { data, loading, errors: userError, } = Mn(USER_QUERY_NAMESPACE);
6835
+ const _currencies = In(CURRENCIES_NAMESPACE);
6836
6836
  const currencies = useMemo(() => [...(_currencies || [])].sort((a, b) => a.displayName.localeCompare(b.displayName)), [_currencies]);
6837
6837
  const [countrySearch, setCountrySearch] = useState("");
6838
6838
  const [phoneCountrySearch, setPhoneCountrySearch] = useState("");
@@ -7193,7 +7193,7 @@ const TaxForm = class {
7193
7193
  }
7194
7194
  };
7195
7195
  function useDemoUserInfoForm(props) {
7196
- const setStep = Sn(TAX_CONTEXT_NAMESPACE);
7196
+ const setStep = wn(TAX_CONTEXT_NAMESPACE);
7197
7197
  return cjs({
7198
7198
  setStep,
7199
7199
  onSubmit: () => {
@@ -1,21 +1,21 @@
1
1
  import { r as registerInstance, h as h$1, c as Host } from './index-17b4da69.js';
2
2
  import { n as h, f as useEffect, k as useState, i as d, u as useMemo, m as useRef, b as browser, j as useReducer } from './stencil-hooks.module-ac12ca1c.js';
3
- import { i as intl } from './global-6306a9b8.js';
4
- import { i as isDemo, T, d as dist, K, z, c as xe, E as En, n as ne, Q, w as wn, x as xn, q as ze, W as We, U as Ue, b as useCallback, r as Ye, j as jn } from './index.module-6c840c4e.js';
3
+ import { i as intl } from './global-04c7d3b5.js';
4
+ import { i as isDemo, _, d as dist, Q, H, f as $e, y as yn, B, L, g as gn, $ as $n, p as Ue, q as qe, x as xe, u as useCallback, r as ze, S as Sn } from './index.module-def4aec5.js';
5
5
  import { j as jsonpointer } from './jsonpointer-388a7082.js';
6
6
  import { c as cjs } from './cjs-bdfb4486.js';
7
7
  import './mixins-f60a614c.js';
8
8
  import { c as createStyleSheet } from './JSS-67b5cff8.js';
9
- import { a as useRequestRerender } from './re-render-1bcfd0de.js';
10
- import { u as useChildElements } from './useChildElements-fc84e640.js';
9
+ import { a as useRequestRerender } from './re-render-12fd274a.js';
10
+ import { u as useChildElements } from './useChildElements-32e1bda1.js';
11
11
  import './luxon-7600be8d.js';
12
12
  import { g as getProps, a as getMissingProps, s as sanitizeUrlPath } from './utils-334c1e34.js';
13
13
  import './sqm-text-span-view-8d140661.js';
14
14
  import { p as pathToRegexp } from './index-ffa26b43.js';
15
- import { R as REGISTRATION_FORM_STATE_CONTEXT, u as useRegistrationFormState } from './useRegistrationFormState-849e27f7.js';
16
- import { i as isEmpty } from './utilities-443732be.js';
15
+ import { R as REGISTRATION_FORM_STATE_CONTEXT, u as useRegistrationFormState } from './useRegistrationFormState-9fc1ac80.js';
16
+ import { i as isEmpty } from './utilities-3f5bba22.js';
17
17
  import { A as AsYouType } from './AsYouType-46f67d0d.js';
18
- import { b as useDemoBigStat, V as useBigStat, B as BigStatView, Q as autoColorScaleCss, K as CardFeedView, j as CheckboxFieldView, M as CouponCodeView, D as DropdownFieldView, E as EditProfileView, H as HeroView, I as InputFieldView, W as withShadowView, L as LeaderboardView, N as NameFieldsView, d as PortalChangePasswordView, i as PortalFooterView, P as PortalFrameView, e as PortalLoginView, f as PortalRegisterView, R as ReferralIframeView, X as demoRewardExchange, k as RewardExchangeView, a as useShareButton, S as ShareButtonView, C as CopyTextView, u as useShareLink, c as StatContainerView, T as TaskCardView } from './ShadowViewAddon-65c8679e.js';
18
+ import { b as useDemoBigStat, V as useBigStat, B as BigStatView, Q as autoColorScaleCss, K as CardFeedView, j as CheckboxFieldView, M as CouponCodeView, D as DropdownFieldView, E as EditProfileView, H as HeroView, I as InputFieldView, W as withShadowView, L as LeaderboardView, N as NameFieldsView, d as PortalChangePasswordView, i as PortalFooterView, P as PortalFrameView, e as PortalLoginView, f as PortalRegisterView, R as ReferralIframeView, X as demoRewardExchange, k as RewardExchangeView, a as useShareButton, S as ShareButtonView, C as CopyTextView, u as useShareLink, c as StatContainerView, T as TaskCardView } from './ShadowViewAddon-1e90c3f1.js';
19
19
  import './sqm-portal-container-view-6c582684.js';
20
20
 
21
21
  const BigStat = class {
@@ -35,7 +35,7 @@ const BigStat = class {
35
35
  render() {
36
36
  var _a;
37
37
  const { props, label } = isDemo() ? useDemoBigStat(this) : useBigStat(this);
38
- const host = T();
38
+ const host = _();
39
39
  const hasLabel = !!((_a = host.innerHTML) === null || _a === void 0 ? void 0 : _a.trim());
40
40
  const labelSlot = h$1("slot", { name: "label" }, hasLabel ? h$1("slot", null) : label);
41
41
  return h$1(BigStatView, Object.assign({}, props, { labelSlot: labelSlot }));
@@ -156,7 +156,7 @@ const styleString = sheet.toString();
156
156
  function RequiredPropsError({ missingProps, heading = "There was a problem loading this section", subheading = "There was a technical problem that prevented this section from loading. Please contact us with the link to this page.", description = "Error occured while loading <{tagName}>. Values for the following attributes are missing:", }, children) {
157
157
  if (!missingProps)
158
158
  return false;
159
- const host = T();
159
+ const host = _();
160
160
  const [detailsOpen, setDetailsOpen] = useState(false);
161
161
  return (h$1("sl-alert", { type: "danger", open: true },
162
162
  h$1("style", { type: "text/css" }, styleString),
@@ -298,11 +298,11 @@ const WIDGET_ENGAGEMENT_EVENT = dist.gql `
298
298
  `;
299
299
  function useCouponCode(props) {
300
300
  var _a, _b, _c;
301
- const user = K();
302
- const programId = z();
303
- const engagementMedium = ne();
304
- const [sendLoadEvent] = xe(WIDGET_ENGAGEMENT_EVENT);
305
- const { data, loading, refetch, errors } = En(FuelTankRewardsQuery, { programId }, !(user === null || user === void 0 ? void 0 : user.jwt));
301
+ const user = Q();
302
+ const programId = H();
303
+ const engagementMedium = B();
304
+ const [sendLoadEvent] = $e(WIDGET_ENGAGEMENT_EVENT);
305
+ const { data, loading, refetch, errors } = yn(FuelTankRewardsQuery, { programId }, !(user === null || user === void 0 ? void 0 : user.jwt));
306
306
  const getStatus = (reward) => {
307
307
  if (!reward || !reward.statuses)
308
308
  return "ERROR";
@@ -692,13 +692,13 @@ const defaultFormState = {
692
692
  error: "",
693
693
  };
694
694
  function useEditProfile(props) {
695
- const userIdent = K();
695
+ const userIdent = Q();
696
696
  const [showEdit, setShowEdit] = useState(false);
697
697
  const [error, setError] = useState("");
698
698
  const [userData, setUserData] = useState(undefined);
699
699
  const [formState, setFormState] = useState(defaultFormState);
700
- const userDataResponse = En(GET_USER, {}, !(userIdent === null || userIdent === void 0 ? void 0 : userIdent.jwt));
701
- const [upsertUser, upsertUserResponse] = xe(UPSERT_USER);
700
+ const userDataResponse = yn(GET_USER, {}, !(userIdent === null || userIdent === void 0 ? void 0 : userIdent.jwt));
701
+ const [upsertUser, upsertUserResponse] = $e(UPSERT_USER);
702
702
  useEffect(() => {
703
703
  if ((upsertUserResponse === null || upsertUserResponse === void 0 ? void 0 : upsertUserResponse.loading) || !showEdit)
704
704
  return;
@@ -1337,11 +1337,11 @@ const GET_RANK_WITHOUT_NAMES = dist.gql `
1337
1337
  `;
1338
1338
  function useLeaderboard(props) {
1339
1339
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
1340
- const programIdContext = z();
1340
+ const programIdContext = H();
1341
1341
  // Default to context, overriden by props
1342
1342
  const programId = (_a = props.programId) !== null && _a !== void 0 ? _a : programIdContext;
1343
- const user = K();
1344
- const locale = Q();
1343
+ const user = Q();
1344
+ const locale = L();
1345
1345
  const variables = programId
1346
1346
  ? {
1347
1347
  type: props.leaderboardType,
@@ -1360,8 +1360,8 @@ function useLeaderboard(props) {
1360
1360
  if (props.maxRows > 0) {
1361
1361
  variables["limit"] = props.maxRows;
1362
1362
  }
1363
- const { data: leaderboardData, loading: loadingLeaderboard, errors: leaderboardErrors, } = En(props.hideNames ? GET_LEADERBOARD_WITHOUT_NAMES : GET_LEADERBOARD, variables, !(user === null || user === void 0 ? void 0 : user.jwt), { batch: false });
1364
- const { data: rankData } = En(props.hideNames ? GET_RANK_WITHOUT_NAMES : GET_RANK, variables, !(user === null || user === void 0 ? void 0 : user.jwt));
1363
+ const { data: leaderboardData, loading: loadingLeaderboard, errors: leaderboardErrors, } = yn(props.hideNames ? GET_LEADERBOARD_WITHOUT_NAMES : GET_LEADERBOARD, variables, !(user === null || user === void 0 ? void 0 : user.jwt), { batch: false });
1364
+ const { data: rankData } = yn(props.hideNames ? GET_RANK_WITHOUT_NAMES : GET_RANK, variables, !(user === null || user === void 0 ? void 0 : user.jwt));
1365
1365
  const leaderboardRows = (_b = leaderboardData === null || leaderboardData === void 0 ? void 0 : leaderboardData.userLeaderboard) === null || _b === void 0 ? void 0 : _b.rows;
1366
1366
  const flattenedLeaderboard = getFlattenedLeaderboard(leaderboardRows);
1367
1367
  const sortedLeaderboard = flattenedLeaderboard === null || flattenedLeaderboard === void 0 ? void 0 : flattenedLeaderboard.sort(function (a, b) {
@@ -1603,12 +1603,6 @@ const MarketingEmailsCheckbox = class {
1603
1603
  constructor(hostRef) {
1604
1604
  registerInstance(this, hostRef);
1605
1605
  this.ignored = true;
1606
- /**
1607
- * This name is used as the key for this form field on submission. The name must be unique within this specific form.
1608
- * @uiName Checkbox name attribute
1609
- * @required
1610
- */
1611
- this.checkboxName = "marketingEmails";
1612
1606
  /**
1613
1607
  * @uiName Checkbox label
1614
1608
  * @uiWidget textArea
@@ -1703,12 +1697,12 @@ function NavigationMenuView(props) {
1703
1697
  }
1704
1698
 
1705
1699
  function handleMenu(e) {
1706
- xn.push(e.detail.item.value);
1700
+ $n.push(e.detail.item.value);
1707
1701
  }
1708
1702
  function useNavigationMenu(props) {
1709
1703
  const ref = useRef();
1710
- const [, rerender] = wn();
1711
- const user = K();
1704
+ const [, rerender] = gn();
1705
+ const user = Q();
1712
1706
  useEffect(() => {
1713
1707
  var _a;
1714
1708
  (_a = ref.current) === null || _a === void 0 ? void 0 : _a.addEventListener("sl-select", (e) => handleMenu(e));
@@ -1762,11 +1756,11 @@ NavigationMenu.style = sqmNavigationMenuCss;
1762
1756
 
1763
1757
  function usePortalChangePassword(props) {
1764
1758
  var _a, _b, _c, _d, _e, _f, _g;
1765
- const [request, { loading, errors, data }] = ze();
1759
+ const [request, { loading, errors, data }] = Ue();
1766
1760
  const [open, setOpen] = useState(false);
1767
1761
  const [error, setError] = useState("");
1768
1762
  const [success, setSuccess] = useState(false);
1769
- const user = K();
1763
+ const user = Q();
1770
1764
  const submit = async (event) => {
1771
1765
  var _a, _b;
1772
1766
  setSuccess(false);
@@ -2008,7 +2002,7 @@ const PortalFooter = class {
2008
2002
  };
2009
2003
 
2010
2004
  function usePortalFrame(footerContent, headerContent) {
2011
- const [, rerender] = wn();
2005
+ const [, rerender] = gn();
2012
2006
  return {
2013
2007
  data: {
2014
2008
  footer: footerContent,
@@ -2058,9 +2052,9 @@ function usePortalFrameDemo(footerContent, headerContent, props) {
2058
2052
 
2059
2053
  function usePortalLogin(props) {
2060
2054
  var _a, _b, _c, _d, _e, _f, _g;
2061
- const [request, { loading, errors, data }] = We();
2055
+ const [request, { loading, errors, data }] = qe();
2062
2056
  const [error, setError] = useState("");
2063
- const urlParams = new URLSearchParams(xn.location.search);
2057
+ const urlParams = new URLSearchParams($n.location.search);
2064
2058
  const nextPageOverride = urlParams.get("nextPage");
2065
2059
  const submit = async (event) => {
2066
2060
  var _a, _b;
@@ -2079,7 +2073,7 @@ function usePortalLogin(props) {
2079
2073
  if ((_b = result.authenticateManagedIdentityWithEmailAndPassword) === null || _b === void 0 ? void 0 : _b.token) {
2080
2074
  urlParams.delete("nextPage");
2081
2075
  const url = sanitizeUrlPath(nextPageOverride || props.nextPage);
2082
- xn.push(url.href);
2076
+ $n.push(url.href);
2083
2077
  }
2084
2078
  };
2085
2079
  const errorMessage = ((_d = (_c = (_b = (_a = errors === null || errors === void 0 ? void 0 : errors.response) === null || _a === void 0 ? void 0 : _a.errors) === null || _b === void 0 ? void 0 : _b[0]) === null || _c === void 0 ? void 0 : _c.extensions) === null || _d === void 0 ? void 0 : _d.message) || ((_g = (_f = (_e = errors === null || errors === void 0 ? void 0 : errors.response) === null || _e === void 0 ? void 0 : _e.errors) === null || _f === void 0 ? void 0 : _f[0]) === null || _g === void 0 ? void 0 : _g.message) ||
@@ -2158,8 +2152,8 @@ const PortalLogin = class {
2158
2152
  ? useLoginDemo(this)
2159
2153
  : usePortalLogin(this);
2160
2154
  const content = {
2161
- forgotPasswordButton: (h$1("slot", { name: "forgotPassword" }, h$1("a", { onClick: () => xn.push(states.forgotPasswordPath) }, this.forgotPasswordLabel))),
2162
- secondaryButton: (h$1("slot", { name: "secondaryButton" }, h$1("sl-button", { type: "text", disabled: states.loading, onClick: () => xn.push(states.registerPath) }, this.registerLabel))),
2155
+ forgotPasswordButton: (h$1("slot", { name: "forgotPassword" }, h$1("a", { onClick: () => $n.push(states.forgotPasswordPath) }, this.forgotPasswordLabel))),
2156
+ secondaryButton: (h$1("slot", { name: "secondaryButton" }, h$1("sl-button", { type: "text", disabled: states.loading, onClick: () => $n.push(states.registerPath) }, this.registerLabel))),
2163
2157
  emailLabel: this.emailLabel,
2164
2158
  passwordLabel: this.passwordLabel,
2165
2159
  submitLabel: this.submitLabel,
@@ -2188,7 +2182,7 @@ function usePortalRegister(props) {
2188
2182
  var _a, _b, _c, _d, _e, _f, _g, _h, _j;
2189
2183
  const formRef = useRef(null);
2190
2184
  const { registrationFormState, setRegistrationFormState } = useRegistrationFormState({});
2191
- const [request, { loading, errors, data }] = Ue();
2185
+ const [request, { loading, errors, data }] = xe();
2192
2186
  useEffect(() => {
2193
2187
  if (!formRef.current)
2194
2188
  return;
@@ -2261,7 +2255,7 @@ function usePortalRegister(props) {
2261
2255
  validationErrors: {},
2262
2256
  });
2263
2257
  if ((_a = result.registerManagedIdentityWithEmailAndPassword) === null || _a === void 0 ? void 0 : _a.token) {
2264
- xn.push(props.nextPage);
2258
+ $n.push(props.nextPage);
2265
2259
  }
2266
2260
  }
2267
2261
  catch (error) {
@@ -2435,7 +2429,7 @@ const PortalRegister = class {
2435
2429
  : usePortalRegister(this);
2436
2430
  const content = {
2437
2431
  formData: h$1("slot", { name: "formData" }),
2438
- secondaryButton: (h$1("slot", { name: "secondaryButton" }, h$1("sl-button", { type: "text", disabled: states.loading, onClick: () => xn.push(states.loginPath) }, this.loginLabel))),
2432
+ secondaryButton: (h$1("slot", { name: "secondaryButton" }, h$1("sl-button", { type: "text", disabled: states.loading, onClick: () => $n.push(states.loginPath) }, this.loginLabel))),
2439
2433
  terms: h$1("slot", { name: "terms" }),
2440
2434
  emailLabel: this.emailLabel,
2441
2435
  passwordLabel: this.passwordLabel,
@@ -2606,11 +2600,11 @@ const ProgramExplainerStep = class {
2606
2600
  const debug = browser("sq:useProgramMenu");
2607
2601
  const UPDATE_PROGRAM_EVENT = "sq:update-program-id";
2608
2602
  function useProgramMenu(props) {
2609
- const programId = z();
2610
- const host = T();
2603
+ const programId = H();
2604
+ const host = _();
2611
2605
  debug({ programId, props });
2612
2606
  const ref = useRef();
2613
- const [, rerender] = wn();
2607
+ const [, rerender] = gn();
2614
2608
  useEffect(() => {
2615
2609
  var _a;
2616
2610
  (_a = ref.current) === null || _a === void 0 ? void 0 : _a.addEventListener("sl-select", (e) => {
@@ -2788,9 +2782,9 @@ const GET_USER_DETAILS = dist.gql `
2788
2782
  `;
2789
2783
  function useReferralIframe(props) {
2790
2784
  var _a;
2791
- const programId = z();
2792
- const user = K();
2793
- const { data } = En(GET_USER_DETAILS, { programId }, !(user === null || user === void 0 ? void 0 : user.jwt) || !programId);
2785
+ const programId = H();
2786
+ const user = Q();
2787
+ const { data } = yn(GET_USER_DETAILS, { programId }, !(user === null || user === void 0 ? void 0 : user.jwt) || !programId);
2794
2788
  return {
2795
2789
  states: {
2796
2790
  content: props,
@@ -3515,9 +3509,9 @@ function useRewardExchangeList(props) {
3515
3509
  });
3516
3510
  const [open, setOpen] = useState(false);
3517
3511
  const { selectedItem, selectedStep, redeemStage, amount, exchangeError } = exchangeState;
3518
- const user = K();
3519
- const [exchange, { data: exchangeResponse, loading: exchangeLoading, errors },] = xe(EXCHANGE);
3520
- const { data, loading, refetch, errors: queryError, } = En(GET_EXCHANGE_LIST, {}, !(user === null || user === void 0 ? void 0 : user.jwt));
3512
+ const user = Q();
3513
+ const [exchange, { data: exchangeResponse, loading: exchangeLoading, errors },] = $e(EXCHANGE);
3514
+ const { data, loading, refetch, errors: queryError, } = yn(GET_EXCHANGE_LIST, {}, !(user === null || user === void 0 ? void 0 : user.jwt));
3521
3515
  useEffect(() => {
3522
3516
  var _a, _b;
3523
3517
  if ((_b = (_a = exchangeResponse === null || exchangeResponse === void 0 ? void 0 : exchangeResponse.exchangeReward) === null || _a === void 0 ? void 0 : _a.reward) === null || _b === void 0 ? void 0 : _b.id) {
@@ -3536,7 +3530,7 @@ function useRewardExchangeList(props) {
3536
3530
  canvas.confetti || confetti.create(canvas, { resize: true });
3537
3531
  canvas.confetti();
3538
3532
  }, [canvasRef.current]);
3539
- const { refresh } = Ye();
3533
+ const { refresh } = ze();
3540
3534
  async function exchangeReward() {
3541
3535
  if (!selectedItem)
3542
3536
  return;
@@ -3844,8 +3838,8 @@ function matchPath(pattern, page) {
3844
3838
  return regexp.exec(page);
3845
3839
  }
3846
3840
  function useRouter() {
3847
- const location = jn();
3848
- const host = T();
3841
+ const location = Sn();
3842
+ const host = _();
3849
3843
  const [slot, setSlot] = useState(undefined);
3850
3844
  const [container, setContainer] = useState(undefined);
3851
3845
  const page = location.pathname;
@@ -4106,11 +4100,11 @@ const WIDGET_ENGAGEMENT_EVENT$1 = dist.gql `
4106
4100
  `;
4107
4101
  function useShareCode(props) {
4108
4102
  var _a, _b;
4109
- const { programId = z() } = props;
4110
- const user = K();
4111
- const engagementMedium = ne();
4112
- const { data } = En(MessageLinkQuery, { programId }, !(user === null || user === void 0 ? void 0 : user.jwt));
4113
- const [sendLoadEvent] = xe(WIDGET_ENGAGEMENT_EVENT$1);
4103
+ const { programId = H() } = props;
4104
+ const user = Q();
4105
+ const engagementMedium = B();
4106
+ const { data } = yn(MessageLinkQuery, { programId }, !(user === null || user === void 0 ? void 0 : user.jwt));
4107
+ const [sendLoadEvent] = $e(WIDGET_ENGAGEMENT_EVENT$1);
4114
4108
  const copyString = (_b = (_a = data === null || data === void 0 ? void 0 : data.user) === null || _a === void 0 ? void 0 : _a.referralCode) !== null && _b !== void 0 ? _b :
4115
4109
  // Shown during loading
4116
4110
  "...";
@@ -4309,10 +4303,10 @@ const SEND_EVENT = dist.gql `
4309
4303
  }
4310
4304
  `;
4311
4305
  function useTaskCard(props) {
4312
- const user = K();
4313
- const locale = Q();
4314
- const [sendUserEvent, { data, loading: loadingEvent }] = xe(SEND_EVENT);
4315
- const { refresh } = Ye();
4306
+ const user = Q();
4307
+ const locale = L();
4308
+ const [sendUserEvent, { data, loading: loadingEvent }] = $e(SEND_EVENT);
4309
+ const { refresh } = ze();
4316
4310
  useEffect(() => {
4317
4311
  if (data) {
4318
4312
  refresh();
@@ -4633,8 +4627,8 @@ const GET_USER_NAME = dist.gql `
4633
4627
  `;
4634
4628
  function useUserName(props) {
4635
4629
  var _a, _b, _c, _d, _e, _f, _g, _h;
4636
- const user = K();
4637
- const res = En(GET_USER_NAME, {}, !(user === null || user === void 0 ? void 0 : user.jwt));
4630
+ const user = Q();
4631
+ const res = yn(GET_USER_NAME, {}, !(user === null || user === void 0 ? void 0 : user.jwt));
4638
4632
  const loading = res.loading;
4639
4633
  const username = ((_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.firstName) || ((_d = (_c = res.data) === null || _c === void 0 ? void 0 : _c.viewer) === null || _d === void 0 ? void 0 : _d.lastName)
4640
4634
  ? `${(_f = (_e = res.data) === null || _e === void 0 ? void 0 : _e.viewer) === null || _f === void 0 ? void 0 : _f.firstName} ${(_h = (_g = res.data) === null || _g === void 0 ? void 0 : _g.viewer) === null || _h === void 0 ? void 0 : _h.lastName}`
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
2
2
  import { n as h } from './stencil-hooks.module-ac12ca1c.js';
3
- import { g as getEnvironmentSDK } from './index.module-6c840c4e.js';
3
+ import { a as getEnvironmentSDK } from './index.module-def4aec5.js';
4
4
  import './mixins-f60a614c.js';
5
5
  import './JSS-67b5cff8.js';
6
6
  import { C as CloseButtonView } from './sqm-close-button-view-dc65b4e3.js';
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, h as h$1, c as Host } from './index-17b4da69.js';
2
2
  import { b as browser, k as useState, i as d, f as useEffect, n as h } from './stencil-hooks.module-ac12ca1c.js';
3
- import { T } from './index.module-6c840c4e.js';
3
+ import { _ } from './index.module-def4aec5.js';
4
4
  import { g as getProps } from './utils-334c1e34.js';
5
5
  import { p as pathToRegexp } from './index-ffa26b43.js';
6
6
 
@@ -12,7 +12,7 @@ function matchPath(pattern, page) {
12
12
  return regexp.exec(page);
13
13
  }
14
14
  function useContextRouter(props) {
15
- const host = T();
15
+ const host = _();
16
16
  const [slot, setSlot] = useState(undefined);
17
17
  const [container, setContainer] = useState(undefined);
18
18
  const context = props.contextName;
@@ -1,7 +1,7 @@
1
1
  import { h, r as registerInstance, c as Host } from './index-17b4da69.js';
2
2
  import { n as h$1 } from './stencil-hooks.module-ac12ca1c.js';
3
- import { i as intl } from './global-6306a9b8.js';
4
- import './index.module-6c840c4e.js';
3
+ import { i as intl } from './global-04c7d3b5.js';
4
+ import './index.module-def4aec5.js';
5
5
  import './JSS-67b5cff8.js';
6
6
  import { g as getProps } from './utils-334c1e34.js';
7
7
  import { P as PortalContainerView, a as PortalSectionView } from './sqm-portal-container-view-6c582684.js';