@saasquatch/mint-components 1.11.0-3 → 1.11.0-6

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 (317) hide show
  1. package/dist/cjs/{ShadowViewAddon-21aa34f8.js → ShadowViewAddon-ba87315e.js} +48 -47
  2. package/dist/cjs/{global-4a59a374.js → global-0e1b8019.js} +162 -11
  3. package/dist/cjs/index-56d1fa5b.js +2227 -0
  4. package/dist/cjs/{index.module-df530553.js → index.module-2d82a984.js} +1444 -244
  5. package/dist/cjs/loader.cjs.js +3 -3
  6. package/dist/cjs/{luxon-05098e19.js → luxon-20eafbd9.js} +1 -1
  7. package/dist/cjs/mint-components.cjs.js +3 -3
  8. package/dist/cjs/{mockRewardData-4258e067.js → mockRewardData-3c470512.js} +1 -1
  9. package/dist/cjs/{re-render-1976e05e.js → re-render-7744b75a.js} +5 -5
  10. package/dist/cjs/sqm-asset-card.cjs.entry.js +3 -3
  11. package/dist/cjs/sqm-banking-info-form_16.cjs.entry.js +457 -456
  12. package/dist/cjs/sqm-big-stat_38.cjs.entry.js +120 -113
  13. package/dist/cjs/sqm-close-button.cjs.entry.js +3 -3
  14. package/dist/cjs/sqm-context-router.cjs.entry.js +4 -4
  15. package/dist/cjs/sqm-empty_4.cjs.entry.js +6 -6
  16. package/dist/cjs/sqm-form-message.cjs.entry.js +2 -2
  17. package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +7 -7
  18. package/dist/cjs/sqm-header-logo.cjs.entry.js +2 -2
  19. package/dist/cjs/sqm-instant-access-registration.cjs.entry.js +6 -6
  20. package/dist/cjs/{sqm-invoice-table-view-7739a5b4.js → sqm-invoice-table-view-e75291d8.js} +1 -1
  21. package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +12 -11
  22. package/dist/cjs/sqm-logout-current-user.cjs.entry.js +10 -9
  23. package/dist/cjs/{sqm-navigation-sidebar-item-view-a125ec5f.js → sqm-navigation-sidebar-item-view-34d8941e.js} +2 -2
  24. package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +5 -5
  25. package/dist/cjs/{sqm-navigation-sidebar-view-c7fb69d4.js → sqm-navigation-sidebar-view-921704fb.js} +0 -6
  26. package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +6 -6
  27. package/dist/cjs/sqm-password-field.cjs.entry.js +4 -4
  28. package/dist/cjs/sqm-popup-container.cjs.entry.js +6 -6
  29. package/dist/cjs/{sqm-portal-email-verification-view-07161940.js → sqm-portal-email-verification-view-a056e53e.js} +1 -1
  30. package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +10 -10
  31. package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +7 -7
  32. package/dist/cjs/sqm-portal-logout.cjs.entry.js +4 -4
  33. package/dist/cjs/{sqm-portal-profile-view-07b99f80.js → sqm-portal-profile-view-c1753d1a.js} +1 -1
  34. package/dist/cjs/sqm-portal-profile.cjs.entry.js +15 -14
  35. package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +7 -7
  36. package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +12 -11
  37. package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +9 -9
  38. package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +8 -8
  39. package/dist/cjs/sqm-referral-table_11.cjs.entry.js +17 -16
  40. package/dist/cjs/sqm-referred-registration.cjs.entry.js +6 -6
  41. package/dist/cjs/sqm-rewards-table-customer-note-cell.cjs.entry.js +2 -2
  42. package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +4 -4
  43. package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +67 -66
  44. package/dist/cjs/sqm-stencilbook.cjs.entry.js +51 -50
  45. package/dist/cjs/sqm-tab.cjs.entry.js +4 -4
  46. package/dist/cjs/sqm-tabs.cjs.entry.js +6 -6
  47. package/dist/cjs/sqm-text-span.cjs.entry.js +2 -2
  48. package/dist/cjs/{stencil-hooks.module-72742a0b.js → stencil-hooks.module-a5a04d8a.js} +1 -4
  49. package/dist/cjs/{useChildElements-e0d44916.js → useChildElements-079a23aa.js} +3 -3
  50. package/dist/cjs/{useInstantAccessRegistration-bbe746d1.js → useInstantAccessRegistration-615a4dec.js} +4 -4
  51. package/dist/cjs/{useReferralTable-a76adb0d.js → useReferralTable-034e8eb1.js} +20 -19
  52. package/dist/cjs/{useRegistrationFormState-876ed65d.js → useRegistrationFormState-cabaa291.js} +3 -3
  53. package/dist/cjs/{utilities-cec9dd36.js → utilities-a4072d5b.js} +2 -2
  54. package/dist/collection/components/sqm-divided-layout/sqm-divided-layout-view.js +6 -0
  55. package/dist/collection/components/sqm-navigation-sidebar/sqm-navigation-sidebar-view.js +0 -6
  56. package/dist/esm/{ShadowViewAddon-90897c22.js → ShadowViewAddon-cebdd86a.js} +22 -21
  57. package/dist/esm/{global-e7bb0343.js → global-ce667547.js} +162 -11
  58. package/dist/esm/index-0c7b14c5.js +2225 -0
  59. package/dist/esm/{index.module-def4aec5.js → index.module-cfe48b0e.js} +1426 -223
  60. package/dist/esm/loader.js +3 -3
  61. package/dist/esm/{luxon-7600be8d.js → luxon-63e24900.js} +1 -1
  62. package/dist/esm/mint-components.js +3 -3
  63. package/dist/esm/{mockRewardData-0eb6e778.js → mockRewardData-e6b763d1.js} +1 -1
  64. package/dist/esm/{re-render-12fd274a.js → re-render-9f58806b.js} +5 -5
  65. package/dist/esm/sqm-asset-card.entry.js +2 -2
  66. package/dist/esm/sqm-banking-info-form_16.entry.js +65 -64
  67. package/dist/esm/sqm-big-stat_38.entry.js +69 -62
  68. package/dist/esm/sqm-close-button.entry.js +2 -2
  69. package/dist/esm/sqm-context-router.entry.js +3 -3
  70. package/dist/esm/sqm-empty_4.entry.js +3 -3
  71. package/dist/esm/sqm-form-message.entry.js +1 -1
  72. package/dist/esm/sqm-graphql-client-provider.entry.js +6 -6
  73. package/dist/esm/sqm-header-logo.entry.js +1 -1
  74. package/dist/esm/sqm-instant-access-registration.entry.js +5 -5
  75. package/dist/esm/{sqm-invoice-table-view-fb2f95b9.js → sqm-invoice-table-view-bccf5bbc.js} +1 -1
  76. package/dist/esm/sqm-leaderboard-rank.entry.js +7 -6
  77. package/dist/esm/sqm-logout-current-user.entry.js +5 -4
  78. package/dist/esm/{sqm-navigation-sidebar-item-view-60ef06cc.js → sqm-navigation-sidebar-item-view-407d8d6a.js} +2 -2
  79. package/dist/esm/sqm-navigation-sidebar-item.entry.js +4 -4
  80. package/dist/esm/{sqm-navigation-sidebar-view-4e8a6a8c.js → sqm-navigation-sidebar-view-0312e073.js} +0 -6
  81. package/dist/esm/sqm-navigation-sidebar.entry.js +5 -5
  82. package/dist/esm/sqm-password-field.entry.js +3 -3
  83. package/dist/esm/sqm-popup-container.entry.js +5 -5
  84. package/dist/esm/{sqm-portal-email-verification-view-0b32261f.js → sqm-portal-email-verification-view-b8ba7573.js} +1 -1
  85. package/dist/esm/sqm-portal-email-verification.entry.js +9 -9
  86. package/dist/esm/sqm-portal-forgot-password.entry.js +6 -6
  87. package/dist/esm/sqm-portal-logout.entry.js +3 -3
  88. package/dist/esm/{sqm-portal-profile-view-03026a5e.js → sqm-portal-profile-view-9cbfeaf9.js} +1 -1
  89. package/dist/esm/sqm-portal-profile.entry.js +9 -8
  90. package/dist/esm/sqm-portal-protected-route.entry.js +6 -6
  91. package/dist/esm/sqm-portal-registration-form.entry.js +10 -9
  92. package/dist/esm/sqm-portal-reset-password.entry.js +8 -8
  93. package/dist/esm/sqm-portal-verify-email.entry.js +7 -7
  94. package/dist/esm/sqm-referral-table_11.entry.js +9 -8
  95. package/dist/esm/sqm-referred-registration.entry.js +5 -5
  96. package/dist/esm/sqm-rewards-table-customer-note-cell.entry.js +1 -1
  97. package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +3 -3
  98. package/dist/esm/sqm-rewards-table_9.entry.js +14 -13
  99. package/dist/esm/sqm-stencilbook.entry.js +49 -48
  100. package/dist/esm/sqm-tab.entry.js +3 -3
  101. package/dist/esm/sqm-tabs.entry.js +5 -5
  102. package/dist/esm/sqm-text-span.entry.js +1 -1
  103. package/dist/esm/{stencil-hooks.module-ac12ca1c.js → stencil-hooks.module-3c7f7c90.js} +1 -1
  104. package/dist/esm/{useChildElements-32e1bda1.js → useChildElements-55ba77b1.js} +3 -3
  105. package/dist/esm/{useInstantAccessRegistration-46b89952.js → useInstantAccessRegistration-c8486b92.js} +4 -4
  106. package/dist/esm/{useReferralTable-f4de0650.js → useReferralTable-1671695f.js} +11 -10
  107. package/dist/esm/{useRegistrationFormState-9fc1ac80.js → useRegistrationFormState-554eed2c.js} +3 -3
  108. package/dist/esm/{utilities-3f5bba22.js → utilities-aa00400c.js} +2 -2
  109. package/dist/esm-es5/ShadowViewAddon-cebdd86a.js +1 -0
  110. package/dist/esm-es5/global-ce667547.js +285 -0
  111. package/dist/esm-es5/index-0c7b14c5.js +1 -0
  112. package/dist/esm-es5/index.module-cfe48b0e.js +53 -0
  113. package/dist/esm-es5/loader.js +1 -1
  114. package/dist/esm-es5/{luxon-7600be8d.js → luxon-63e24900.js} +1 -1
  115. package/dist/esm-es5/mint-components.js +1 -1
  116. package/dist/esm-es5/{mockRewardData-0eb6e778.js → mockRewardData-e6b763d1.js} +1 -1
  117. package/dist/esm-es5/{re-render-12fd274a.js → re-render-9f58806b.js} +1 -1
  118. package/dist/esm-es5/sqm-asset-card.entry.js +1 -1
  119. package/dist/esm-es5/sqm-banking-info-form_16.entry.js +1 -1
  120. package/dist/esm-es5/sqm-big-stat_38.entry.js +1 -1
  121. package/dist/esm-es5/sqm-close-button.entry.js +1 -1
  122. package/dist/esm-es5/sqm-context-router.entry.js +1 -1
  123. package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
  124. package/dist/esm-es5/sqm-form-message.entry.js +1 -1
  125. package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
  126. package/dist/esm-es5/sqm-header-logo.entry.js +1 -1
  127. package/dist/esm-es5/sqm-instant-access-registration.entry.js +1 -1
  128. package/dist/esm-es5/{sqm-invoice-table-view-fb2f95b9.js → sqm-invoice-table-view-bccf5bbc.js} +1 -1
  129. package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
  130. package/dist/esm-es5/sqm-logout-current-user.entry.js +1 -1
  131. package/dist/esm-es5/{sqm-navigation-sidebar-item-view-60ef06cc.js → sqm-navigation-sidebar-item-view-407d8d6a.js} +1 -1
  132. package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
  133. package/dist/esm-es5/sqm-navigation-sidebar-view-0312e073.js +1 -0
  134. package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
  135. package/dist/esm-es5/sqm-password-field.entry.js +1 -1
  136. package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
  137. package/dist/esm-es5/{sqm-portal-email-verification-view-0b32261f.js → sqm-portal-email-verification-view-b8ba7573.js} +1 -1
  138. package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
  139. package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -1
  140. package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
  141. package/dist/esm-es5/{sqm-portal-profile-view-03026a5e.js → sqm-portal-profile-view-9cbfeaf9.js} +1 -1
  142. package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
  143. package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -1
  144. package/dist/esm-es5/sqm-portal-registration-form.entry.js +1 -1
  145. package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
  146. package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
  147. package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
  148. package/dist/esm-es5/sqm-referred-registration.entry.js +1 -1
  149. package/dist/esm-es5/sqm-rewards-table-customer-note-cell.entry.js +1 -1
  150. package/dist/esm-es5/sqm-rewards-table-customer-note-column.entry.js +1 -1
  151. package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
  152. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  153. package/dist/esm-es5/sqm-tab.entry.js +1 -1
  154. package/dist/esm-es5/sqm-tabs.entry.js +1 -1
  155. package/dist/esm-es5/sqm-text-span.entry.js +1 -1
  156. package/dist/esm-es5/{stencil-hooks.module-ac12ca1c.js → stencil-hooks.module-3c7f7c90.js} +1 -1
  157. package/dist/esm-es5/useChildElements-55ba77b1.js +1 -0
  158. package/dist/esm-es5/useInstantAccessRegistration-c8486b92.js +1 -0
  159. package/dist/esm-es5/useReferralTable-1671695f.js +1 -0
  160. package/dist/esm-es5/useRegistrationFormState-554eed2c.js +1 -0
  161. package/dist/esm-es5/{utilities-3f5bba22.js → utilities-aa00400c.js} +1 -1
  162. package/dist/mint-components/mint-components.esm.js +1 -1
  163. package/dist/mint-components/mint-components.js +1 -1
  164. package/dist/mint-components/{p-674a64fe.system.js → p-0034b33b.system.js} +1 -1
  165. package/dist/mint-components/{p-2a414b2e.system.js → p-0979f82e.system.js} +2 -2
  166. package/dist/mint-components/{p-d51eb656.entry.js → p-1128f16d.entry.js} +14 -14
  167. package/dist/mint-components/{p-88aac6a9.system.entry.js → p-14beec1b.system.entry.js} +1 -1
  168. package/dist/mint-components/{p-5956a47e.entry.js → p-155e5795.entry.js} +1 -1
  169. package/dist/mint-components/p-175cf117.system.entry.js +1 -0
  170. package/dist/mint-components/{p-fd2c5407.js → p-1b24bb52.js} +1 -1
  171. package/dist/mint-components/p-1bb39bf3.js +1 -0
  172. package/dist/mint-components/p-1c021084.system.js +1 -0
  173. package/dist/mint-components/p-1cb0c56c.js +1 -0
  174. package/dist/mint-components/p-22082cf5.entry.js +1 -0
  175. package/dist/mint-components/{p-4502ed11.system.entry.js → p-2669e88d.system.entry.js} +1 -1
  176. package/dist/mint-components/{p-0e556260.js → p-2a82e591.js} +1 -1
  177. package/dist/mint-components/p-2c1ec58d.system.entry.js +1 -0
  178. package/dist/mint-components/{p-573fab0f.system.js → p-2c8c2ae9.system.js} +22 -22
  179. package/dist/mint-components/p-2d713a4a.entry.js +1 -0
  180. package/dist/mint-components/{p-58ef25d3.system.entry.js → p-2f75d0c6.system.entry.js} +1 -1
  181. package/dist/mint-components/{p-5cac90e8.system.entry.js → p-349315e6.system.entry.js} +1 -1
  182. package/dist/mint-components/{p-64491c96.system.entry.js → p-37518555.system.entry.js} +1 -1
  183. package/dist/mint-components/{p-3223ba7b.entry.js → p-3912f9af.entry.js} +1 -1
  184. package/dist/mint-components/{p-f3053c61.js → p-48704504.js} +1 -1
  185. package/dist/mint-components/{p-ce5afa40.entry.js → p-4baf9ec9.entry.js} +1 -1
  186. package/dist/mint-components/p-4e5ff6d5.system.entry.js +1 -0
  187. package/dist/mint-components/p-4fd5cde2.entry.js +1 -0
  188. package/dist/mint-components/{p-e84a74fe.system.entry.js → p-5464dd3c.system.entry.js} +1 -1
  189. package/dist/mint-components/{p-dd7ee007.system.js → p-553a92e2.system.js} +1 -1
  190. package/dist/mint-components/p-55ba5de4.js +42 -0
  191. package/dist/mint-components/p-569acf5d.entry.js +1 -0
  192. package/dist/mint-components/p-58151230.system.entry.js +1 -0
  193. package/dist/mint-components/p-5a9e6c23.system.js +1 -0
  194. package/dist/mint-components/{p-dd0d79bf.entry.js → p-5c602e84.entry.js} +1 -1
  195. package/dist/mint-components/p-5e346208.system.entry.js +1 -0
  196. package/dist/mint-components/{p-a9050eb0.entry.js → p-5f4a0d5a.entry.js} +1 -1
  197. package/dist/mint-components/p-5f4cf5f4.system.js +53 -0
  198. package/dist/mint-components/p-6361cd09.system.entry.js +1 -0
  199. package/dist/mint-components/p-65976f70.system.entry.js +1 -0
  200. package/dist/mint-components/{p-3d4656bb.system.js → p-69ae3f41.system.js} +1 -1
  201. package/dist/mint-components/p-6fbfd683.js +1 -0
  202. package/dist/mint-components/{p-57e4ef5f.entry.js → p-709c0d6d.entry.js} +1 -1
  203. package/dist/mint-components/{p-86990110.entry.js → p-747e6ce6.entry.js} +1 -1
  204. package/dist/mint-components/{p-8fe21979.system.entry.js → p-74ba2bdd.system.entry.js} +1 -1
  205. package/dist/mint-components/p-77150ca3.entry.js +1 -0
  206. package/dist/mint-components/{p-fbdf0738.entry.js → p-79097c07.entry.js} +1 -1
  207. package/dist/mint-components/{p-ebcec043.entry.js → p-7a1e23b0.entry.js} +1 -1
  208. package/dist/mint-components/{p-f0806232.system.entry.js → p-7ab14d4b.system.entry.js} +1 -1
  209. package/dist/mint-components/p-81ef4d8d.system.entry.js +1 -0
  210. package/dist/mint-components/{p-41a11a7f.js → p-83a759a6.js} +1 -1
  211. package/dist/mint-components/p-84a5feb6.js +1 -0
  212. package/dist/mint-components/p-858a87ce.entry.js +1 -0
  213. package/dist/mint-components/p-89669879.system.js +1 -0
  214. package/dist/mint-components/p-8a82d287.entry.js +1 -0
  215. package/dist/mint-components/{p-7a572b34.entry.js → p-8b37f9fa.entry.js} +3 -3
  216. package/dist/mint-components/{p-d7df3dfd.system.js → p-8c616b35.system.js} +1 -1
  217. package/dist/mint-components/p-8d0312ad.entry.js +13 -0
  218. package/dist/mint-components/{p-66172a05.js → p-8d2d99b5.js} +1 -1
  219. package/dist/mint-components/{p-251e7567.js → p-9223640e.js} +1 -1
  220. package/dist/mint-components/{p-eaada4da.js → p-92990ceb.js} +1 -1
  221. package/dist/mint-components/{p-51721f6b.system.js → p-93c4b92a.system.js} +1 -1
  222. package/dist/mint-components/p-93feb565.system.entry.js +1 -0
  223. package/dist/mint-components/{p-0d8c53ac.system.js → p-94b397d0.system.js} +1 -1
  224. package/dist/mint-components/{p-6afb4f48.system.entry.js → p-95af445c.system.entry.js} +1 -1
  225. package/dist/mint-components/p-97f9ea19.system.js +1 -0
  226. package/dist/mint-components/{p-4edde470.entry.js → p-9a02b093.entry.js} +1 -1
  227. package/dist/mint-components/{p-007383e1.entry.js → p-9c1011db.entry.js} +2 -2
  228. package/dist/mint-components/{p-137ea86e.entry.js → p-a05a21b8.entry.js} +1 -1
  229. package/dist/mint-components/p-a1dddd9c.entry.js +1 -0
  230. package/dist/mint-components/{p-07f675ab.system.entry.js → p-a2189daf.system.entry.js} +1 -1
  231. package/dist/mint-components/p-a230e0f7.entry.js +1 -0
  232. package/dist/mint-components/{p-2ee2ebba.js → p-a2fc8ec6.js} +4 -4
  233. package/dist/mint-components/{p-5f1c4160.system.entry.js → p-a56fbe1f.system.entry.js} +1 -1
  234. package/dist/mint-components/p-a63607fe.js +1 -0
  235. package/dist/mint-components/{p-97198e2c.system.js → p-a6ad8082.system.js} +1 -1
  236. package/dist/mint-components/{p-9774fbc5.js → p-a7e84030.js} +153 -153
  237. package/dist/mint-components/{p-28b6106f.js → p-aa1750ad.js} +1 -1
  238. package/dist/mint-components/p-ac1bf045.js +1 -0
  239. package/dist/mint-components/{p-cf690d55.system.entry.js → p-ad218d0b.system.entry.js} +1 -1
  240. package/dist/mint-components/p-b9e629c4.entry.js +1 -0
  241. package/dist/mint-components/{p-cf158064.entry.js → p-ba9642a9.entry.js} +3 -3
  242. package/dist/mint-components/{p-4864ed8a.system.entry.js → p-bf161aff.system.entry.js} +1 -1
  243. package/dist/mint-components/p-cac64545.system.entry.js +1 -0
  244. package/dist/mint-components/{p-370a1a73.system.js → p-cb45d0a8.system.js} +1 -1
  245. package/dist/mint-components/{p-c7a3fd1b.system.js → p-cc24f7e0.system.js} +1 -1
  246. package/dist/mint-components/p-cc2a5934.entry.js +13 -0
  247. package/dist/mint-components/p-cca80c2e.system.entry.js +1 -0
  248. package/dist/mint-components/{p-178d2d2e.entry.js → p-cdd04337.entry.js} +1 -1
  249. package/dist/mint-components/{p-b12f7281.system.entry.js → p-ce23dbff.system.entry.js} +1 -1
  250. package/dist/mint-components/{p-fe5675b3.entry.js → p-cf8ccbf5.entry.js} +1 -1
  251. package/dist/mint-components/{p-fb20eb5e.system.entry.js → p-cfc4a126.system.entry.js} +1 -1
  252. package/dist/mint-components/{p-05948592.js → p-d491eac5.js} +24 -24
  253. package/dist/mint-components/{p-d1d16808.entry.js → p-d5e0b017.entry.js} +2 -2
  254. package/dist/mint-components/{p-6cef104b.entry.js → p-db7b9e12.entry.js} +1 -1
  255. package/dist/mint-components/p-dbb74fc2.system.entry.js +1 -0
  256. package/dist/mint-components/{p-8e907ac7.system.entry.js → p-de9b0bcf.system.entry.js} +1 -1
  257. package/dist/mint-components/p-e3ddb67b.system.entry.js +1 -0
  258. package/dist/mint-components/{p-ce9e7c98.system.js → p-e5299352.system.js} +1 -1
  259. package/dist/mint-components/p-e546347e.system.js +1 -0
  260. package/dist/mint-components/p-eb8cb617.system.js +1 -0
  261. package/dist/mint-components/{p-9dc3f592.entry.js → p-ec2390ee.entry.js} +10 -10
  262. package/dist/mint-components/p-ef4336c4.system.entry.js +1 -0
  263. package/dist/mint-components/{p-afd366ae.system.entry.js → p-f0553edd.system.entry.js} +1 -1
  264. package/dist/mint-components/{p-7731f793.system.entry.js → p-fd8496a0.system.entry.js} +1 -1
  265. package/dist/mint-components/p-fec47694.entry.js +1 -0
  266. package/dist/mint-components/p-ff87ca9c.system.entry.js +1 -0
  267. package/docs/docs.docx +0 -0
  268. package/docs/raisins.json +1 -1
  269. package/package.json +1 -1
  270. package/dist/esm-es5/ShadowViewAddon-90897c22.js +0 -1
  271. package/dist/esm-es5/global-e7bb0343.js +0 -285
  272. package/dist/esm-es5/index.module-def4aec5.js +0 -1
  273. package/dist/esm-es5/sqm-navigation-sidebar-view-4e8a6a8c.js +0 -1
  274. package/dist/esm-es5/useChildElements-32e1bda1.js +0 -1
  275. package/dist/esm-es5/useInstantAccessRegistration-46b89952.js +0 -1
  276. package/dist/esm-es5/useReferralTable-f4de0650.js +0 -1
  277. package/dist/esm-es5/useRegistrationFormState-9fc1ac80.js +0 -1
  278. package/dist/mint-components/p-02424350.system.js +0 -1
  279. package/dist/mint-components/p-0b9fa97f.js +0 -1
  280. package/dist/mint-components/p-10e89d0a.entry.js +0 -1
  281. package/dist/mint-components/p-1b485560.system.entry.js +0 -1
  282. package/dist/mint-components/p-1f344065.entry.js +0 -1
  283. package/dist/mint-components/p-2dd67762.entry.js +0 -1
  284. package/dist/mint-components/p-445ffcfd.system.entry.js +0 -1
  285. package/dist/mint-components/p-51f517a2.js +0 -1
  286. package/dist/mint-components/p-55a782cf.system.entry.js +0 -1
  287. package/dist/mint-components/p-5be235f9.entry.js +0 -1
  288. package/dist/mint-components/p-5d485450.entry.js +0 -1
  289. package/dist/mint-components/p-61eab172.js +0 -1
  290. package/dist/mint-components/p-733825fa.system.entry.js +0 -1
  291. package/dist/mint-components/p-770368bc.system.js +0 -1
  292. package/dist/mint-components/p-79191f88.entry.js +0 -1
  293. package/dist/mint-components/p-8b5b78ca.entry.js +0 -1
  294. package/dist/mint-components/p-91669312.entry.js +0 -1
  295. package/dist/mint-components/p-956ed10a.entry.js +0 -13
  296. package/dist/mint-components/p-973f6501.system.entry.js +0 -1
  297. package/dist/mint-components/p-9873d3c6.js +0 -1
  298. package/dist/mint-components/p-9c310991.system.entry.js +0 -1
  299. package/dist/mint-components/p-a61e6394.system.entry.js +0 -1
  300. package/dist/mint-components/p-a6a7dcaa.js +0 -1
  301. package/dist/mint-components/p-a8f7cb95.js +0 -1
  302. package/dist/mint-components/p-aad11a68.entry.js +0 -1
  303. package/dist/mint-components/p-af062c8f.system.entry.js +0 -1
  304. package/dist/mint-components/p-b370fca8.system.js +0 -1
  305. package/dist/mint-components/p-b3b5b4b7.system.entry.js +0 -1
  306. package/dist/mint-components/p-b5861974.system.entry.js +0 -1
  307. package/dist/mint-components/p-b8dbb809.system.entry.js +0 -1
  308. package/dist/mint-components/p-bcccc284.system.js +0 -1
  309. package/dist/mint-components/p-be38de26.system.js +0 -1
  310. package/dist/mint-components/p-c0de49e7.system.entry.js +0 -1
  311. package/dist/mint-components/p-c84659a3.system.js +0 -1
  312. package/dist/mint-components/p-c8878e79.entry.js +0 -1
  313. package/dist/mint-components/p-dab544d9.entry.js +0 -1
  314. package/dist/mint-components/p-e044bbf1.system.entry.js +0 -1
  315. package/dist/mint-components/p-e5a0c50e.entry.js +0 -13
  316. package/dist/mint-components/p-eba44835.system.entry.js +0 -1
  317. package/dist/mint-components/p-f8f6c99d.system.entry.js +0 -1
@@ -0,0 +1 @@
1
+ import{r as t,h as e,c as s}from"./p-64c3217a.js";import{d as a,j as r}from"./p-1b24bb52.js";import{K as i,j as o,x as n,i as c}from"./p-55ba5de4.js";const l=class{constructor(e){t(this,e),this.ignored=!0,this.redirectTo="/",this.requireEmailVerification=!1,this.redirectToUnverified="/emailVerification",r(this)}disconnectedCallback(){}render(){const t=!!c()||function({requireEmailVerification:t,redirectTo:e,redirectToUnverified:s}){var r;const c=i(),l=!!(null==c?void 0:c.jwt),d=null===(r=null==c?void 0:c.managedIdentity)||void 0===r?void 0:r.emailVerified,{pathname:h,search:m}=o(),p=new URLSearchParams;return p.append("nextPage",`${h}${m}`),a((()=>l?t&&!d?n.push({pathname:s||e,search:"?"+p.toString()}):void 0:n.push({pathname:e,search:"?"+p.toString()})),[]),!!c}(this);return e(s,{style:{display:t?"contents":"none"}},e("slot",null))}};export{l as sqm_portal_protected_route}
@@ -1 +1 @@
1
- System.register(["./p-ff17b3a4.system.js","./p-2a414b2e.system.js","./p-b370fca8.system.js","./p-4bd679a7.system.js","./p-f6934a55.system.js","./p-1a673057.system.js","./p-6333265f.system.js","./p-dd7ee007.system.js"],(function(t){"use strict";var n,e,s,a,i,c,o,r;return{setters:[function(t){n=t.r;e=t.h},function(t){s=t.n},function(t){a=t.S;i=t.i},function(t){c=t.c},function(){},function(){},function(t){o=t.g},function(t){r=t.N}],execute:function(){function u(t){var n=a();return{states:{active:n.pathname===t.path},data:{label:t.label,icon:t.icon,path:t.path}}}var f=t("sqm_navigation_sidebar_item",function(){function t(t){n(this,t);s(this)}t.prototype.disconnectedCallback=function(){};t.prototype.render=function(){var t=i()?p(o(this)):u(o(this));return e(r,Object.assign({},t))};return t}());function p(t){return c({states:{active:false},data:{label:t.label||"Dashboard",icon:t.icon||"house"}},t.demoData||{},{arrayMerge:function(t,n){return n}})}}}}));
1
+ System.register(["./p-ff17b3a4.system.js","./p-0979f82e.system.js","./p-5f4cf5f4.system.js","./p-4bd679a7.system.js","./p-f6934a55.system.js","./p-1a673057.system.js","./p-6333265f.system.js","./p-553a92e2.system.js"],(function(t){"use strict";var n,e,s,a,i,c,o,r;return{setters:[function(t){n=t.r;e=t.h},function(t){s=t.j},function(t){a=t.j;i=t.i},function(t){c=t.c},function(){},function(){},function(t){o=t.g},function(t){r=t.N}],execute:function(){function f(t){var n=a();return{states:{active:n.pathname===t.path},data:{label:t.label,icon:t.icon,path:t.path}}}var u=t("sqm_navigation_sidebar_item",function(){function t(t){n(this,t);s(this)}t.prototype.disconnectedCallback=function(){};t.prototype.render=function(){var t=i()?p(o(this)):f(o(this));return e(r,Object.assign({},t))};return t}());function p(t){return c({states:{active:false},data:{label:t.label||"Dashboard",icon:t.icon||"house"}},t.demoData||{},{arrayMerge:function(t,n){return n}})}}}}));
@@ -1 +1 @@
1
- System.register(["./p-ff17b3a4.system.js","./p-2a414b2e.system.js","./p-b370fca8.system.js","./p-4bd679a7.system.js","./p-1a673057.system.js","./p-3036cf58.system.js"],(function(t){"use strict";var e,n,s,r,a,i;return{setters:[function(t){e=t.r;n=t.h},function(t){s=t.n},function(t){r=t.i},function(t){a=t.c},function(){},function(t){i=t.A}],execute:function(){var c=function(t){return{text:{titleText:"Marketing Banner"},imgUrl:null,callbacks:{}}};var u=t("sqm_asset_card",function(){function t(t){e(this,t);this.ignored=true;s(this)}t.prototype.disconnectedCallback=function(){};t.prototype.render=function(){var t=r()?o(this):c();return n(i,Object.assign({},t))};Object.defineProperty(t,"assetsDirs",{get:function(){return["../../assets"]},enumerable:false,configurable:true});return t}());function o(t){return a({text:{titleText:"Marketing Banner"},imgUrl:"https://res.cloudinary.com/saasquatch/image/upload/v1634255445/squatch-assets/Copy_of_saasquatch-logo-tree-large-horizontal.png",callbacks:{}},t.demoData||{},{arrayMerge:function(t,e){return e}})}}}}));
1
+ System.register(["./p-ff17b3a4.system.js","./p-0979f82e.system.js","./p-5f4cf5f4.system.js","./p-4bd679a7.system.js","./p-1a673057.system.js","./p-3036cf58.system.js"],(function(t){"use strict";var e,n,s,r,a,i;return{setters:[function(t){e=t.r;n=t.h},function(t){s=t.j},function(t){r=t.i},function(t){a=t.c},function(){},function(t){i=t.A}],execute:function(){var c=function(t){return{text:{titleText:"Marketing Banner"},imgUrl:null,callbacks:{}}};var u=t("sqm_asset_card",function(){function t(t){e(this,t);this.ignored=true;s(this)}t.prototype.disconnectedCallback=function(){};t.prototype.render=function(){var t=r()?o(this):c();return n(i,Object.assign({},t))};Object.defineProperty(t,"assetsDirs",{get:function(){return["../../assets"]},enumerable:false,configurable:true});return t}());function o(t){return a({text:{titleText:"Marketing Banner"},imgUrl:"https://res.cloudinary.com/saasquatch/image/upload/v1634255445/squatch-assets/Copy_of_saasquatch-logo-tree-large-horizontal.png",callbacks:{}},t.demoData||{},{arrayMerge:function(t,e){return e}})}}}}));
@@ -1 +1 @@
1
- var __assign=this&&this.__assign||function(){__assign=Object.assign||function(t){for(var e,n=1,s=arguments.length;n<s;n++){e=arguments[n];for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r))t[r]=e[r]}return t};return __assign.apply(this,arguments)};System.register(["./p-ff17b3a4.system.js","./p-2a414b2e.system.js","./p-573fab0f.system.js","./p-b370fca8.system.js","./p-1a673057.system.js","./p-6333265f.system.js","./p-922578e4.system.js"],(function(t){"use strict";var e,n,s,r,o,a,i,l;return{setters:[function(t){e=t.h;n=t.r;s=t.c},function(t){r=t.n},function(t){o=t.i},function(){},function(){},function(t){a=t.g},function(t){i=t.P;l=t.a}],execute:function(){function c(t){var n=t.emptyStateHeader,s=t.emptyStateImage,r=t.emptyStateText,a=t.supportText,i=t.missingFeature,l=i===void 0?"":i;return e("sqm-portal-container",{padding:"large",gap:"medium",part:"sqm-base"},e("img",{style:{height:"100px",margin:"auto"},src:s}),e("sqm-titled-section",{style:{maxHeight:"400px"},"label-margin":"xxx-small","text-align":"center"},e("sqm-text",{slot:"label"},e("p",{part:"header-text"},n)),e("sqm-text",{slot:"content"},e("p",{part:"description-text",innerHTML:"",style:{color:"var(--sl-color-gray-500)"}},o.formatMessage({id:"emptyStateText",defaultMessage:r},{supportText:e("a",{target:"_blank",href:"mailto:saasquatch-support@impact.com?subject=Next steps for "+l+" feature&body=Hi Support Team, %0D%0A\n %0D%0A \n I am interested to learn more about the "+l+" feature. Please let me know the next steps to access this feature, including any necessary plan upgrades.%0D%0A\n %0D%0A \n - Feature Interested In: "+l+"%0D%0A\n - Company Name: [Please fill out your company name here]%0D%0A\n %0D%0A\n Thank you"},a)})))))}var m=t("sqm_empty",function(){function t(t){n(this,t)}t.prototype.render=function(){return e(s,{slot:"empty"},e(c,{emptyStateImage:this.emptyStateImage,emptyStateHeader:this.emptyStateHeader,emptyStateText:this.emptyStateText,supportText:this.supportText}))};return t}());var u=t("sqm_portal_container",function(){function t(t){n(this,t);this.ignored=true;this.direction="column";this.gap="xxx-large";this.display="grid";this.maxWidth="100%";this.backgroundColor="#ffffff00";r(this)}t.prototype.disconnectedCallback=function(){};t.prototype.render=function(){return e(i,Object.assign({},a(this)),e("slot",null))};return t}());var p="\n sqm-text {\n display: block;\n }\n\n sqm-text h1 {\n font-size: var(--sl-font-size-xxx-large);\n font-weight: var(--sl-font-weight-semibold);\n color: var(--sl-color-neutral-800);\n margin: 0;\n }\n\n sqm-text h2 {\n font-size: var(--sl-font-size-xx-large);\n font-weight: var(--sl-font-weight-semibold);\n color: var(--sl-color-neutral-800);\n margin: 0;\n }\n\n sqm-text h3 {\n font-size: var(--sl-font-size-x-large);\n font-weight: var(--sl-font-weight-semibold);\n color: var(--sl-color-neutral-800);\n margin: 0;\n }\n\n sqm-text h4 {\n font-size: var(--sl-font-size-large);\n font-weight: var(--sl-font-weight-semibold);\n color: var(--sl-color-neutral-800);\n margin: 0;\n }\n\n sqm-text p {\n font-size: var(--sl-font-size-medium);\n font-weight: var(--sl-font-weight-normal);\n color: var(--sl-color-neutral-800);\n margin: 0;\n }\n\n sqm-text sub {\n font-size: var(--sl-font-size-small);\n font-weight: var(--sl-font-weight-normal);\n color: var(--sl-color-neutral-400);\n margin: 0;\n }\n";var f=t("sqm_text",function(){function t(t){n(this,t);this.ignored=true;r(this)}t.prototype.disconnectedCallback=function(){};t.prototype.componentWillLoad=function(){};t.prototype.render=function(){return e("div",null,e("style",null,p),e("slot",null))};return t}());var g=t("sqm_titled_section",function(){function t(t){n(this,t);this.textAlign="left";this.labelMargin="small";this.padding="none";r(this)}t.prototype.disconnectedCallback=function(){};t.prototype.render=function(){var t=e("slot",{name:"label"},this.label);var n=e("slot",{name:"content"});return e(l,Object.assign({},__assign(__assign({},a(this)),{label:t,content:n})))};return t}())}}}));
1
+ var __assign=this&&this.__assign||function(){__assign=Object.assign||function(t){for(var e,n=1,s=arguments.length;n<s;n++){e=arguments[n];for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r))t[r]=e[r]}return t};return __assign.apply(this,arguments)};System.register(["./p-ff17b3a4.system.js","./p-0979f82e.system.js","./p-2c8c2ae9.system.js","./p-5f4cf5f4.system.js","./p-1a673057.system.js","./p-6333265f.system.js","./p-922578e4.system.js"],(function(t){"use strict";var e,n,s,r,o,a,i,l;return{setters:[function(t){e=t.h;n=t.r;s=t.c},function(t){r=t.j},function(t){o=t.i},function(){},function(){},function(t){a=t.g},function(t){i=t.P;l=t.a}],execute:function(){function c(t){var n=t.emptyStateHeader,s=t.emptyStateImage,r=t.emptyStateText,a=t.supportText,i=t.missingFeature,l=i===void 0?"":i;return e("sqm-portal-container",{padding:"large",gap:"medium",part:"sqm-base"},e("img",{style:{height:"100px",margin:"auto"},src:s}),e("sqm-titled-section",{style:{maxHeight:"400px"},"label-margin":"xxx-small","text-align":"center"},e("sqm-text",{slot:"label"},e("p",{part:"header-text"},n)),e("sqm-text",{slot:"content"},e("p",{part:"description-text",innerHTML:"",style:{color:"var(--sl-color-gray-500)"}},o.formatMessage({id:"emptyStateText",defaultMessage:r},{supportText:e("a",{target:"_blank",href:"mailto:saasquatch-support@impact.com?subject=Next steps for "+l+" feature&body=Hi Support Team, %0D%0A\n %0D%0A \n I am interested to learn more about the "+l+" feature. Please let me know the next steps to access this feature, including any necessary plan upgrades.%0D%0A\n %0D%0A \n - Feature Interested In: "+l+"%0D%0A\n - Company Name: [Please fill out your company name here]%0D%0A\n %0D%0A\n Thank you"},a)})))))}var m=t("sqm_empty",function(){function t(t){n(this,t)}t.prototype.render=function(){return e(s,{slot:"empty"},e(c,{emptyStateImage:this.emptyStateImage,emptyStateHeader:this.emptyStateHeader,emptyStateText:this.emptyStateText,supportText:this.supportText}))};return t}());var u=t("sqm_portal_container",function(){function t(t){n(this,t);this.ignored=true;this.direction="column";this.gap="xxx-large";this.display="grid";this.maxWidth="100%";this.backgroundColor="#ffffff00";r(this)}t.prototype.disconnectedCallback=function(){};t.prototype.render=function(){return e(i,Object.assign({},a(this)),e("slot",null))};return t}());var f="\n sqm-text {\n display: block;\n }\n\n sqm-text h1 {\n font-size: var(--sl-font-size-xxx-large);\n font-weight: var(--sl-font-weight-semibold);\n color: var(--sl-color-neutral-800);\n margin: 0;\n }\n\n sqm-text h2 {\n font-size: var(--sl-font-size-xx-large);\n font-weight: var(--sl-font-weight-semibold);\n color: var(--sl-color-neutral-800);\n margin: 0;\n }\n\n sqm-text h3 {\n font-size: var(--sl-font-size-x-large);\n font-weight: var(--sl-font-weight-semibold);\n color: var(--sl-color-neutral-800);\n margin: 0;\n }\n\n sqm-text h4 {\n font-size: var(--sl-font-size-large);\n font-weight: var(--sl-font-weight-semibold);\n color: var(--sl-color-neutral-800);\n margin: 0;\n }\n\n sqm-text p {\n font-size: var(--sl-font-size-medium);\n font-weight: var(--sl-font-weight-normal);\n color: var(--sl-color-neutral-800);\n margin: 0;\n }\n\n sqm-text sub {\n font-size: var(--sl-font-size-small);\n font-weight: var(--sl-font-weight-normal);\n color: var(--sl-color-neutral-400);\n margin: 0;\n }\n";var p=t("sqm_text",function(){function t(t){n(this,t);this.ignored=true;r(this)}t.prototype.disconnectedCallback=function(){};t.prototype.componentWillLoad=function(){};t.prototype.render=function(){return e("div",null,e("style",null,f),e("slot",null))};return t}());var g=t("sqm_titled_section",function(){function t(t){n(this,t);this.textAlign="left";this.labelMargin="small";this.padding="none";r(this)}t.prototype.disconnectedCallback=function(){};t.prototype.render=function(){var t=e("slot",{name:"label"},this.label);var n=e("slot",{name:"content"});return e(l,Object.assign({},__assign(__assign({},a(this)),{label:t,content:n})))};return t}())}}}));
@@ -1 +1 @@
1
- import{r as t,h as o,c as n}from"./p-64c3217a.js";import{b as r,k as e,i as s,f as a,n as i}from"./p-fd2c5407.js";import{_ as d}from"./p-a8f7cb95.js";import{g as l}from"./p-9ec99ced.js";import{p as c}from"./p-8d363802.js";const u=r("sq:useRouter");function p(t,o){if(t)return c(t).exec(o)}const v=class{constructor(o){t(this,o),this.ignored=!0,i(this)}disconnectedCallback(){}render(){const{callbacks:t}=function(t){const o=d(),[n,r]=e(void 0),[i,l]=e(void 0),c=s(t.contextName);return a((()=>{const t=o.querySelectorAll("sqm-route");Array.from(t).forEach((t=>{const o=document.createElement("template");o.setAttribute("path",t.path),o.innerHTML=t.innerHTML,t.parentNode.appendChild(o),t.parentNode.removeChild(t)}))}),[]),a((()=>{var t,o;if(!i||!n)return void u("DOM not ready for navigation rendering on:",c);const r=n.querySelectorAll("template"),e=Array.from(r).find((t=>{var o,n,r;if(null===(r=p(null===(n=null===(o=t.attributes)||void 0===o?void 0:o.path)||void 0===n?void 0:n.nodeValue,c))||void 0===r?void 0:r.length)return t})),s=null===(o=null===(t=null==e?void 0:e.attributes)||void 0===t?void 0:t.path)||void 0===o?void 0:o.nodeValue;if(u({containerDatasetPage:i.dataset.page,templatePath:s,page:c}),!e)return u("No matching page found for ",c,", so render nothing"),i.innerHTML="",void(i.dataset.page=c);u("Page updated to ",c,e),p(s,i.dataset.page)?u("don't rerender"):e&&(i.innerHTML=e.innerHTML,i.dataset.page=c)}),[n,i,c]),{callbacks:{setSlot:r,setContainer:l}}}(l(this));return o(n,null,o("div",{ref:t.setSlot,style:{display:"none"}},o("slot",null)),o("div",{style:{display:"contents"},ref:t.setContainer}))}};v.style="sqm-router{display:contents}";export{v as sqm_context_router}
1
+ import{r as t,h as o,c as n}from"./p-64c3217a.js";import{b as r,f as e,k as s,d as a,j as i}from"./p-1b24bb52.js";import{T as d}from"./p-55ba5de4.js";import{g as l}from"./p-9ec99ced.js";import{p as c}from"./p-8d363802.js";const u=r("sq:useRouter");function p(t,o){if(t)return c(t).exec(o)}const v=class{constructor(o){t(this,o),this.ignored=!0,i(this)}disconnectedCallback(){}render(){const{callbacks:t}=function(t){const o=d(),[n,r]=e(void 0),[i,l]=e(void 0),c=s(t.contextName);return a((()=>{const t=o.querySelectorAll("sqm-route");Array.from(t).forEach((t=>{const o=document.createElement("template");o.setAttribute("path",t.path),o.innerHTML=t.innerHTML,t.parentNode.appendChild(o),t.parentNode.removeChild(t)}))}),[]),a((()=>{var t,o;if(!i||!n)return void u("DOM not ready for navigation rendering on:",c);const r=n.querySelectorAll("template"),e=Array.from(r).find((t=>{var o,n,r;if(null===(r=p(null===(n=null===(o=t.attributes)||void 0===o?void 0:o.path)||void 0===n?void 0:n.nodeValue,c))||void 0===r?void 0:r.length)return t})),s=null===(o=null===(t=null==e?void 0:e.attributes)||void 0===t?void 0:t.path)||void 0===o?void 0:o.nodeValue;if(u({containerDatasetPage:i.dataset.page,templatePath:s,page:c}),!e)return u("No matching page found for ",c,", so render nothing"),i.innerHTML="",void(i.dataset.page=c);u("Page updated to ",c,e),p(s,i.dataset.page)?u("don't rerender"):e&&(i.innerHTML=e.innerHTML,i.dataset.page=c)}),[n,i,c]),{callbacks:{setSlot:r,setContainer:l}}}(l(this));return o(n,null,o("div",{ref:t.setSlot,style:{display:"none"}},o("slot",null)),o("div",{style:{display:"contents"},ref:t.setContainer}))}};v.style="sqm-router{display:contents}";export{v as sqm_context_router}
@@ -1 +1 @@
1
- import{l as e}from"./p-251e7567.js";const t=(e=4,t)=>({data:[...Array(e)].map((()=>s(t)))}),a=["POINT","TICKET","GIFT"],d=["Points","Tickets","Gifts"],r=["AVAILABLE","PENDING","CANCELLED","EXPIRED","REDEEMED"],n=["US_TAX","SCHEDULED","UNHANDLED_ERROR"],E=["PENDING","IN_PROGRESS","FAILED","UNCLAIMED","ONHOLD","REFUNDED","RETURNED","REVERSED","BLOCKED","DENIED"],l=()=>{var t,a;const d=Math.floor(10*Math.random())>=5?null===(t=e.DateTime.now())||void 0===t?void 0:t.minus({day:1}):null,r=Math.floor(10*Math.random())>=5?null===(a=e.DateTime.now())||void 0===a?void 0:a.minus({day:1}):null,n=function(e){if(e)return"SUCCESS";const t=Math.floor(10*Math.random());return E[t]}(d);return{status:"DENIED"===n?"WARN":d?"SUCCESS":Math.floor(10*Math.random())>=8?"ERROR":"SUCCESS",customMeta:{datePaidOut:d,dateLastAttempted:r,dateFirstAttempted:r,rawPayPalInfo:{transaction_status:n}}}},s=t=>{let E,s,u,i,R=!1,o=0;const D=e.DateTime.now(),M=Math.floor(3*Math.random()),h=t||r[Math.floor(5*Math.random())],m=a[M],y=d[M],p=Math.floor(100*Math.random())+2;if("AVAILABLE"===h)o=Math.floor(Math.random()*p),i=Math.floor(10*Math.random())<3?D.plus({days:7}).toMillis():null;else if("EXPIRED"===h)R=!0,o=Math.floor(Math.random()*p),i=D.minus({days:1}).toMillis();else if("PENDING"===h){const e=n[Math.floor(3*Math.random())];E=[e],"SCHEDULED"===e&&(s=D.plus({days:6}).toMillis())}else"REDEEMED"===h?R=!0:(R=!0,u=D.minus({days:2}).toMillis());const N=Math.floor(3*Math.random());return{id:"61f7878e096c9265de88b46f",type:"CREDIT",value:p,unit:m,name:null,dateGiven:D.minus({days:3}).toMillis(),dateExpires:i,dateCancelled:u,dateRedeemed:"REDEEMED"===h?D.plus({days:2}).toMillis():null,dateScheduledFor:s,fuelTankCode:null,fuelTankType:null,currency:null,prettyValue:`${p} ${y}`,prettyValueNumber:`${p}`,prettyAvailableNumber:R?"0":""+(p-o),prettyRedeemedNumber:R&&!o?"0":`${o}`,programId:1===N?"program-id":null,program:{name:"My Program"},meta:{...l()},statuses:[h],pendingReasons:E,globalRewardKey:null,programRewardKey:null,rewardSource:1===N?"AUTOMATED":"MANUAL",prettyRedeemedCredit:`${o} ${y}`,prettyAssignedCredit:`${p} ${y}`,prettyAvailableValue:R?`0 ${y}`:`${p-o} ${y}`,exchangedRewardRedemptionTransaction:2===N?{id:"61f7878e096c9265de88b414",creditRedeemed:50,prettyRedeemedCredit:"50 Tokens",unit:"TOKEN",dateRedeemed:1643612046258,exchangedRewards:[],redeemedRewards:[]}:null,referral:null,rewardRedemptionTransactions:{data:[]}}};export{l as g,t as m}
1
+ import{l as e}from"./p-9223640e.js";const t=(e=4,t)=>({data:[...Array(e)].map((()=>s(t)))}),a=["POINT","TICKET","GIFT"],d=["Points","Tickets","Gifts"],r=["AVAILABLE","PENDING","CANCELLED","EXPIRED","REDEEMED"],n=["US_TAX","SCHEDULED","UNHANDLED_ERROR"],E=["PENDING","IN_PROGRESS","FAILED","UNCLAIMED","ONHOLD","REFUNDED","RETURNED","REVERSED","BLOCKED","DENIED"],l=()=>{var t,a;const d=Math.floor(10*Math.random())>=5?null===(t=e.DateTime.now())||void 0===t?void 0:t.minus({day:1}):null,r=Math.floor(10*Math.random())>=5?null===(a=e.DateTime.now())||void 0===a?void 0:a.minus({day:1}):null,n=function(e){if(e)return"SUCCESS";const t=Math.floor(10*Math.random());return E[t]}(d);return{status:"DENIED"===n?"WARN":d?"SUCCESS":Math.floor(10*Math.random())>=8?"ERROR":"SUCCESS",customMeta:{datePaidOut:d,dateLastAttempted:r,dateFirstAttempted:r,rawPayPalInfo:{transaction_status:n}}}},s=t=>{let E,s,u,i,R=!1,o=0;const D=e.DateTime.now(),M=Math.floor(3*Math.random()),h=t||r[Math.floor(5*Math.random())],m=a[M],y=d[M],p=Math.floor(100*Math.random())+2;if("AVAILABLE"===h)o=Math.floor(Math.random()*p),i=Math.floor(10*Math.random())<3?D.plus({days:7}).toMillis():null;else if("EXPIRED"===h)R=!0,o=Math.floor(Math.random()*p),i=D.minus({days:1}).toMillis();else if("PENDING"===h){const e=n[Math.floor(3*Math.random())];E=[e],"SCHEDULED"===e&&(s=D.plus({days:6}).toMillis())}else"REDEEMED"===h?R=!0:(R=!0,u=D.minus({days:2}).toMillis());const N=Math.floor(3*Math.random());return{id:"61f7878e096c9265de88b46f",type:"CREDIT",value:p,unit:m,name:null,dateGiven:D.minus({days:3}).toMillis(),dateExpires:i,dateCancelled:u,dateRedeemed:"REDEEMED"===h?D.plus({days:2}).toMillis():null,dateScheduledFor:s,fuelTankCode:null,fuelTankType:null,currency:null,prettyValue:`${p} ${y}`,prettyValueNumber:`${p}`,prettyAvailableNumber:R?"0":""+(p-o),prettyRedeemedNumber:R&&!o?"0":`${o}`,programId:1===N?"program-id":null,program:{name:"My Program"},meta:{...l()},statuses:[h],pendingReasons:E,globalRewardKey:null,programRewardKey:null,rewardSource:1===N?"AUTOMATED":"MANUAL",prettyRedeemedCredit:`${o} ${y}`,prettyAssignedCredit:`${p} ${y}`,prettyAvailableValue:R?`0 ${y}`:`${p-o} ${y}`,exchangedRewardRedemptionTransaction:2===N?{id:"61f7878e096c9265de88b414",creditRedeemed:50,prettyRedeemedCredit:"50 Tokens",unit:"TOKEN",dateRedeemed:1643612046258,exchangedRewards:[],redeemedRewards:[]}:null,referral:null,rewardRedemptionTransactions:{data:[]}}};export{l as g,t as m}
@@ -1 +1 @@
1
- import{r,h as s,c as e}from"./p-64c3217a.js";import{n as t}from"./p-fd2c5407.js";import"./p-a8f7cb95.js";import{a as o}from"./p-41a11a7f.js";const a=class{constructor(s){r(this,s),this.columnTitle="Note",t(this)}disconnectedCallback(){}async renderCell(r,e){var t;return s("sqm-rewards-table-customer-note-cell",{note:null===(t=null==r?void 0:r.meta)||void 0===t?void 0:t.message,locale:null==e?void 0:e.locale})}async renderLabel(){return this.columnTitle}render(){return o([this.columnTitle]),s(e,{style:{display:"none"}})}};export{a as sqm_rewards_table_customer_note_column}
1
+ import{r,h as s,c as e}from"./p-64c3217a.js";import{j as t}from"./p-1b24bb52.js";import"./p-55ba5de4.js";import{a as o}from"./p-83a759a6.js";const a=class{constructor(s){r(this,s),this.columnTitle="Note",t(this)}disconnectedCallback(){}async renderCell(r,e){var t;return s("sqm-rewards-table-customer-note-cell",{note:null===(t=null==r?void 0:r.meta)||void 0===t?void 0:t.message,locale:null==e?void 0:e.locale})}async renderLabel(){return this.columnTitle}render(){return o([this.columnTitle]),s(e,{style:{display:"none"}})}};export{a as sqm_rewards_table_customer_note_column}
@@ -0,0 +1 @@
1
+ var __makeTemplateObject=this&&this.__makeTemplateObject||function(t,e){if(Object.defineProperty){Object.defineProperty(t,"raw",{value:e})}else{t.raw=e}return t};var __assign=this&&this.__assign||function(){__assign=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++){e=arguments[n];for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r))t[r]=e[r]}return t};return __assign.apply(this,arguments)};System.register(["./p-ff17b3a4.system.js","./p-0979f82e.system.js","./p-5f4cf5f4.system.js","./p-4bd679a7.system.js","./p-1a673057.system.js","./p-89669879.system.js","./p-6333265f.system.js","./p-9dcfa187.system.js"],(function(t){"use strict";var e,n,i,r,s,a,c,o,u,d,l;return{setters:[function(t){e=t.r;n=t.h},function(t){i=t.j},function(t){r=t.K;s=t.E;a=t.s;c=t.i},function(t){o=t.c},function(){},function(t){u=t.d},function(t){d=t.g},function(t){l=t.L}],execute:function(){var f=u.gql(__makeTemplateObject(["\n query getUserDetails($id: String!, $accountId: String!) {\n user(id: $id, accountId: $accountId) {\n id\n accountId\n email\n }\n }\n"],["\n query getUserDetails($id: String!, $accountId: String!) {\n user(id: $id, accountId: $accountId) {\n id\n accountId\n email\n }\n }\n"]));function m(t){var e,n;var i=r();var c=s(f,{id:i===null||i===void 0?void 0:i.id,accountId:i===null||i===void 0?void 0:i.accountId},!i),o=c.loading,u=c.data;var d=function(){a(undefined)};var l=(e=t.userIdentificationText)===null||e===void 0?void 0:e.replace("{email}",(n=u===null||u===void 0?void 0:u.user)===null||n===void 0?void 0:n.email);return __assign({loading:o,onSwitchClick:d,filledInEmailText:l},t)}var h=t("sqm_logout_current_user",function(){function t(t){e(this,t);this.userIdentificationText="{email}";this.switchUserText="not you?";this.emailErrorText="Error fetching email";i(this)}t.prototype.disconnectedCallback=function(){};t.prototype.render=function(){var t=c()?v(this):m(d(this));var e={userIdentificationText:this.userIdentificationText,switchUserText:this.switchUserText,emailErrorText:this.emailErrorText};return n(l,Object.assign({},t,e))};return t}());function v(t){return o({onSwitchClick:function(){return a(undefined)},filledInEmailText:"john@example.com",switchUserText:t.switchUserText,emailErrorText:t.emailErrorText,loading:false},t.demoData||{},{arrayMerge:function(t,e){return e}})}}}}));
@@ -0,0 +1 @@
1
+ import{h as t,r as s}from"./p-64c3217a.js";import{k as i,f as n,j as e}from"./p-1b24bb52.js";import{i as r}from"./p-55ba5de4.js";import{c as l}from"./p-c1086930.js";import{E as a}from"./p-02be1a88.js";import{c as o}from"./p-cef45012.js";import{g as u}from"./p-9ec99ced.js";import{R as c}from"./p-a63607fe.js";var h="(\\d.*)",d="([a-zA-Z].*)",p="([`~\\!@#\\$%\\^\\&\\*\\(\\)\\-_\\=\\+\\[\\{\\}\\]\\\\|;:\\'\",<.>\\/\\?€£¥₹§±].*)",v="([\\s].*)";function m(t,s){if(s&&s>1){const i=parseInt(s,10);return new RegExp(t+"{"+i+",}").test(this.password)===this.positive}return new RegExp(t).test(this.password)===this.positive}var f={not:function(t){return this.positive=!1,!t||m.call(this,t)},has:function(t){return this.positive=!0,!t||m.call(this,t)},is:function(){return this.positive=!0,!0},min:function(t){return this.password.length>=t},max:function(t){return this.password.length<=t},digits:function(t){return m.call(this,h,t)},letters:function(t){return m.call(this,d,t)},uppercase:function(t){if(t&&t>1){let s=0,i=0;for(;i<t&&s<this.password.length;){const t=this.password.charAt(s);t!==t.toLowerCase()&&i++,s++}return i===t===this.positive}return this.password!==this.password.toLowerCase()===this.positive},lowercase:function(t){if(t&&t>1){let s=0,i=0;for(;i<t&&s<this.password.length;){const t=this.password.charAt(s);t!==t.toUpperCase()&&i++,s++}return i===t===this.positive}return this.password!==this.password.toUpperCase()===this.positive},symbols:function(t){return m.call(this,p,t)},spaces:function(t){return m.call(this,v,t)},oneOf:function(t){return t.indexOf(this.password)>=0===this.positive}},g="Length should be a valid positive number";function b(t){const s=Number(t);if(isNaN(s)||!Number.isInteger(s)||s<1)throw new Error(g)}function w(t){return f[t.method].apply(this,t.arguments)}function y(t,s){return this.properties.push({method:t,arguments:s}),this}const x=(new class{constructor(){this.properties=[]}validate(t,s){return this.list=Boolean(s&&s.list),this.password=String(t),this.positive=!0,this.list?this.properties.reduce(((t,s)=>w.call(this,s)?t:t.concat(s.method)),[]):this.properties.every(w.bind(this))}letters(t){return t&&b(t),y.call(this,"letters",arguments)}digits(t){return t&&b(t),y.call(this,"digits",arguments)}symbols(t){return t&&b(t),y.call(this,"symbols",arguments)}min(t){return b(t),y.call(this,"min",arguments)}max(t){return b(t),y.call(this,"max",arguments)}lowercase(t){return t&&b(t),y.call(this,"lowercase",arguments)}uppercase(t){return t&&b(t),y.call(this,"uppercase",arguments)}spaces(t){return t&&b(t),y.call(this,"spaces",arguments)}has(){return y.call(this,"has",arguments)}not(){return y.call(this,"not",arguments)}is(){return y.call(this,"is",arguments)}oneOf(){return y.call(this,"oneOf",arguments)}}).is().min(8).has().uppercase().has().lowercase().has(/([\d`~\!@#\$%\^\&\*\(\)\-_\=\+\[\{\}\]\\\|;:'",<.>\/\?€£¥₹§±].*){1,}/),C=(t,s)=>{const i=x.validate(t,{list:!0});return E(i,t,s)},L=()=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 12 12",fill:"none"},t("path",{d:"M6 0C2.688 0 0 2.688 0 6C0 9.312 2.688 12 6 12C9.312 12 12 9.312 12 6C12 2.688 9.312 0 6 0ZM4.8 9L1.8 6L2.646 5.154L4.8 7.302L9.354 2.748L10.2 3.6L4.8 9Z",fill:"#259053"})),j=()=>t("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t("path",{d:"M6 0C2.688 0 0 2.688 0 6C0 9.312 2.688 12 6 12C9.312 12 12 9.312 12 6C12 2.688 9.312 0 6 0ZM6 10.8C3.354 10.8 1.2 8.646 1.2 6C1.2 3.354 3.354 1.2 6 1.2C8.646 1.2 10.8 3.354 10.8 6C10.8 8.646 8.646 10.8 6 10.8ZM8.754 3.348L4.8 7.302L3.246 5.754L2.4 6.6L4.8 9L9.6 4.2L8.754 3.348Z",fill:"#555555"})),I={display:"flex",alignItems:"center",fontSize:"var(--sl-font-size-small)","& > :not(:last-child)":{"margin-right":"var(--sl-spacing-x-small)"}},k=o({Base:{fontSize:"var(--sl-font-size-small)"},ValidationList:{"list-style-type":"none",paddingRight:"var(--sl-spacing-large)",margin:"var(--sl-spacing-small) 0 var(--sl-spacing-x-large)","& > :not(:last-child)":{"margin-bottom":"var(--sl-spacing-xx-small)"},"& *":{"line-height":"var(--sl-line-height-dense)"}},ValidationItemValid:{...I,color:"var(--sl-color-success-600)"},ValidationItemInvalid:{...I}}),V=k.toString(),E=(s,i,n)=>{const e={min:n.minErrorText,uppercase:n.uppercaseErrorText,lowercase:n.lowercaseErrorText,has:n.hasErrorText};return!s.length&&i?t("div",{class:k.classes.ValidationItemValid,style:{paddingBottom:"var(--sl-spacing-x-large)"}},t("style",{type:"text/css"},V),t(L,null)," ",t("span",null,n.meetsRequirementsText)):t("div",{class:k.classes.Base},t("style",{type:"text/css"},V),n.doesNotMeetRequirementsText,t("ul",{class:k.classes.ValidationList},Object.keys(e).map((i=>s.includes(i)?t("li",{class:k.classes.ValidationItemInvalid},t(j,null)," ",t("span",null,e[i])):t("li",{class:k.classes.ValidationItemValid},t(L,null)," ",t("span",null,e[i]))))))},M=o({InputContainer:{"& > :not(:last-child)":{"margin-bottom":"20px"}},ErrorStyle:a}),S=M.toString();function Z(s){var i,n,e,r,l,a,o,u,c,h;const{states:d,callbacks:p}=s;return t("div",{class:M.classes.InputContainer,part:"sqm-base"},t("style",{type:"text/css"},"\n:host {\n margin: 0 auto;\n width: 100%;\n display: block;\n}\n:host([hidden]): {\n display: none;\n}\n",S),t("sl-input",Object.assign({exportparts:"label: input-label, base: input-base",type:"password",name:"/password",label:d.content.fieldLabel||"Password",required:!0,disabled:(null===(i=d.registrationFormState)||void 0===i?void 0:i.loading)||(null===(n=d.registrationFormState)||void 0===n?void 0:n.disabled),validationError:({value:t})=>{if(!t)return"Cannot be empty"}},(null===(r=null===(e=d.registrationFormState)||void 0===e?void 0:e.initialData)||void 0===r?void 0:r.password)?{value:null===(a=null===(l=d.registrationFormState)||void 0===l?void 0:l.initialData)||void 0===a?void 0:a.password}:{},(null===(u=null===(o=d.registrationFormState)||void 0===o?void 0:o.validationErrors)||void 0===u?void 0:u.password)?{class:M.classes.ErrorStyle,helpText:(null===(h=null===(c=d.registrationFormState)||void 0===c?void 0:c.validationErrors)||void 0===h?void 0:h.password)||"Cannot be empty"}:[],{onInput:t=>d.enableValidation&&p.onInput(t)})),d.dynamicValidation)}const q=class{constructor(t){s(this,t),this.ignored=!0,this.fieldLabel="Password",this.disableValidation=!1,this.meetsRequirementsText="Password has met all requirements",this.doesNotMeetRequirementsText="Password must meet the following requirements:",this.minErrorText="be a minimum of 8 characters",this.uppercaseErrorText="contain at least 1 uppercase character",this.lowercaseErrorText="contain at least 1 lowercase character",this.hasErrorText="contain at least 1 number or symbol",e(this)}disconnectedCallback(){}render(){const{states:s,callbacks:e}=r()?function(t){var s,i,e,r,a,o,u;const[c,h]=n(""),[d,p]=n("");if(t.demoData&&d!=(null===(s=null==t?void 0:t.demoData)||void 0===s?void 0:s.initValue)){const s=C((null===(i=null==t?void 0:t.demoData)||void 0===i?void 0:i.initValue)||"",t);h(""===(null===(e=null==t?void 0:t.demoData)||void 0===e?void 0:e.initValue)?"":s),p(null===(r=null==t?void 0:t.demoData)||void 0===r?void 0:r.initValue)}return l({states:{enableValidation:!t.disableValidation,dynamicValidation:c,registrationFormState:(null===(o=null===(a=null==t?void 0:t.demoData)||void 0===a?void 0:a.states)||void 0===o?void 0:o.registrationFormState)||{},content:{fieldLabel:t.fieldLabel}},callbacks:{onInput:function(s){const i=C(s.target.value,t);h(i)}}},(null===(u=null==t?void 0:t.demoData)||void 0===u?void 0:u.states)||{},{arrayMerge:(t,s)=>s})}(u(this)):function(t){const s=i(c),[e,r]=n("");return{states:{enableValidation:!t.disableValidation,dynamicValidation:e,registrationFormState:s,content:{fieldLabel:t.fieldLabel}},callbacks:{onInput:function(s){const i=C(s.target.value,t);r(i)}}}}(u(this));return t(Z,{states:s,callbacks:e})}};export{q as sqm_password_field}
@@ -1 +1 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,n,i){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,a){function s(e){try{u(i.next(e))}catch(e){a(e)}}function o(e){try{u(i["throw"](e))}catch(e){a(e)}}function u(e){e.done?n(e.value):r(e.value).then(s,o)}u((i=i.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,r,a,s;return s={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function o(e){return function(t){return u([e,t])}}function u(s){if(i)throw new TypeError("Generator is already executing.");while(n)try{if(i=1,r&&(a=s[0]&2?r["return"]:s[0]?r["throw"]||((a=r["return"])&&a.call(r),0):r.next)&&!(a=a.call(r,s[1])).done)return a;if(r=0,a)s=[s[0]&2,a.value];switch(s[0]){case 0:case 1:a=s;break;case 4:n.label++;return{value:s[1],done:false};case 5:n.label++;r=s[1];s=[0];continue;case 7:s=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(s[0]===6||s[0]===2)){n=0;continue}if(s[0]===3&&(!a||s[1]>a[0]&&s[1]<a[3])){n.label=s[1];break}if(s[0]===6&&n.label<a[1]){n.label=a[1];a=s;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(s);break}if(a[2])n.ops.pop();n.trys.pop();continue}s=t.call(e,n)}catch(e){s=[6,e];r=0}finally{i=a=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};System.register(["./p-ff17b3a4.system.js","./p-2a414b2e.system.js","./p-573fab0f.system.js","./p-b370fca8.system.js","./p-4bd679a7.system.js","./p-f6934a55.system.js","./p-1a673057.system.js","./p-4f775e84.system.js","./p-d7df3dfd.system.js"],(function(e){"use strict";var t,n,i,r,a,s,o,u,c,l,f,v,d,g;return{setters:[function(e){t=e.r;n=e.h},function(e){i=e.k;r=e.m;a=e.f;s=e.n},function(){},function(e){o=e.l;u=e.n;c=e.Q;l=e.$;f=e.u;v=e.i},function(e){d=e.c},function(){},function(){},function(){},function(e){g=e.P}],execute:function(){function h(e){var t=this;var n,s,v,d,g,h,m,y,p;var b=o(),w=b[0],M=b[1],_=M.loading,k=M.data,E=M.errors;var x=u(),S=x[0],I=x[1],P=I.data,V=I.loading;var j=c();var L=(n=j===null||j===void 0?void 0:j.managedIdentity)===null||n===void 0?void 0:n.email;var R=new URLSearchParams(l.location.search);var T=R.get("nextPage");var B=i(false),H=B[0],C=B[1];var q=i(""),A=q[0],D=q[1];var G=i(10),Q=G[0],U=G[1];var Y=r(undefined);var $=r(undefined);var z=function(){return __awaiter(t,void 0,void 0,(function(){var t,n,i,r,a;return __generator(this,(function(s){switch(s.label){case 0:if(!L)return[2];D("");C(false);n=T?{nextPage:T}:null;i=e.redirectPath;r={email:L,urlParams:n,redirectPath:i};return[4,w(r)];case 1:a=s.sent();if(a instanceof Error){if(a.message)D(e.networkErrorMessage);return[2]}if((t=a.requestManagedIdentityVerificationEmail)===null||t===void 0?void 0:t.success)C(true);return[2]}}))}))};function F(){return __awaiter(this,void 0,void 0,(function(){var t,n;return __generator(this,(function(i){switch(i.label){case 0:return[4,S()];case 1:n=i.sent();if((t=n===null||n===void 0?void 0:n.managedIdentitySession)===null||t===void 0?void 0:t.emailVerified){clearInterval(Y.current);return[2,l.push({pathname:e.redirectPath,search:R.toString()&&"?"+R.toString()})]}N(10);return[2]}}))}))}var J=function(e){if(e===void 0){e=1e4}return setInterval(F,e)};var K=function(e){return setInterval((function(){return U(e)}),1e3)};function N(e){clearInterval($.current);clearInterval(Y.current);if(document.visibilityState==="hidden")return;if(e)U(e);var t=Q||10;$.current=K(e-1||t-1);Y.current=J(e*1e3||t*1e3)}var O=f((function(){return N()}),[Q]);a((function(){if(!Y.current){F();Y.current=J()}return function(){clearInterval(Y.current)}}),[]);a((function(){if(Q>0){clearInterval($.current);$.current=K(Q-1)}document.addEventListener("visibilitychange",O);return function(){clearInterval($.current);document.removeEventListener("visibilitychange",O)}}),[Q]);return{states:{loading:_,error:((g=(d=(v=(s=E===null||E===void 0?void 0:E.response)===null||s===void 0?void 0:s.errors)===null||v===void 0?void 0:v[0])===null||d===void 0?void 0:d.extensions)===null||g===void 0?void 0:g.message)||((y=(m=(h=E===null||E===void 0?void 0:E.response)===null||h===void 0?void 0:h.errors)===null||m===void 0?void 0:m[0])===null||y===void 0?void 0:y.message)||A,success:H,loadingVerification:V,isVerified:!!((p=P===null||P===void 0?void 0:P.managedIdentitySession)===null||p===void 0?void 0:p.emailVerified),countdown:Q},callbacks:{submit:z},content:{email:L,verifyMessage:e.verifyMessage,emailVerificationHeader:e.emailVerificationHeader,resendEmailButtonText:e.resendEmailButtonText,verificationLoadingMessage:e.verificationLoadingMessage,verificationStatusMessage:e.verificationStatusMessage,verificationResentMessage:e.verificationResentMessage,networkErrorMessage:e.networkErrorMessage}}}var m=e("sqm_portal_email_verification",function(){function e(e){t(this,e);this.ignored=true;this.redirectPath="/verifyEmail";this.emailVerificationHeader="Verify your email";this.resendEmailButtonText="Re-send Email";this.verifyMessage="A verification email was sent to {email}. Please verify your email to continue to the portal. Resending an email will invalidate the previous email.";this.verificationStatusMessage="Checking verification status in {countdown}";this.verificationLoadingMessage="Checking verification status";this.verificationResentMessage="Your verification email has been resent successfully";this.networkErrorMessage="An error occurred while verifying your password. Please refresh the page.";s(this)}e.prototype.disconnectedCallback=function(){};e.prototype.render=function(){var e=v()?y(this):h(this),t=e.states,i=e.callbacks,r=e.content;return n(g,{states:t,callbacks:i,content:r})};return e}());function y(e){var t=this;return d({states:{error:"",loading:false,success:false,countdown:10},callbacks:{submit:function(e){return __awaiter(t,void 0,void 0,(function(){return __generator(this,(function(e){return[2]}))}))}},content:{email:"test@example.com",verifyMessage:e.verifyMessage,emailVerificationHeader:e.emailVerificationHeader,resendEmailButtonText:e.resendEmailButtonText,verificationLoadingMessage:e.verificationLoadingMessage,verificationStatusMessage:e.verificationStatusMessage,verificationResentMessage:e.verificationResentMessage,networkErrorMessage:e.networkErrorMessage}},e.demoData||{},{arrayMerge:function(e,t){return t}})}}}}));
1
+ var __awaiter=this&&this.__awaiter||function(e,t,n,i){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,a){function s(e){try{c(i.next(e))}catch(e){a(e)}}function o(e){try{c(i["throw"](e))}catch(e){a(e)}}function c(e){e.done?n(e.value):r(e.value).then(s,o)}c((i=i.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,r,a,s;return s={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function o(e){return function(t){return c([e,t])}}function c(s){if(i)throw new TypeError("Generator is already executing.");while(n)try{if(i=1,r&&(a=s[0]&2?r["return"]:s[0]?r["throw"]||((a=r["return"])&&a.call(r),0):r.next)&&!(a=a.call(r,s[1])).done)return a;if(r=0,a)s=[s[0]&2,a.value];switch(s[0]){case 0:case 1:a=s;break;case 4:n.label++;return{value:s[1],done:false};case 5:n.label++;r=s[1];s=[0];continue;case 7:s=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(s[0]===6||s[0]===2)){n=0;continue}if(s[0]===3&&(!a||s[1]>a[0]&&s[1]<a[3])){n.label=s[1];break}if(s[0]===6&&n.label<a[1]){n.label=a[1];a=s;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(s);break}if(a[2])n.ops.pop();n.trys.pop();continue}s=t.call(e,n)}catch(e){s=[6,e];r=0}finally{i=a=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};System.register(["./p-ff17b3a4.system.js","./p-0979f82e.system.js","./p-2c8c2ae9.system.js","./p-5f4cf5f4.system.js","./p-4bd679a7.system.js","./p-f6934a55.system.js","./p-1a673057.system.js","./p-4f775e84.system.js","./p-8c616b35.system.js"],(function(e){"use strict";var t,n,i,r,a,s,o,c,u,l,f,v,d,g;return{setters:[function(e){t=e.r;n=e.h},function(e){i=e.f;r=e.e;a=e.d;s=e.j},function(){},function(e){o=e.h;c=e.u;u=e.K;l=e.x;f=e.a;v=e.i},function(e){d=e.c},function(){},function(){},function(){},function(e){g=e.P}],execute:function(){function h(e){var t=this;var n,s,v,d,g,h,m,y,p;var w=o(),b=w[0],M=w[1],_=M.loading,E=M.data,k=M.errors;var x=c(),S=x[0],I=x[1],P=I.data,V=I.loading;var j=u();var L=(n=j===null||j===void 0?void 0:j.managedIdentity)===null||n===void 0?void 0:n.email;var R=new URLSearchParams(l.location.search);var T=R.get("nextPage");var B=i(false),H=B[0],C=B[1];var q=i(""),A=q[0],D=q[1];var G=i(10),K=G[0],U=G[1];var Y=r(undefined);var z=r(undefined);var F=function(){return __awaiter(t,void 0,void 0,(function(){var t,n,i,r,a;return __generator(this,(function(s){switch(s.label){case 0:if(!L)return[2];D("");C(false);n=T?{nextPage:T}:null;i=e.redirectPath;r={email:L,urlParams:n,redirectPath:i};return[4,b(r)];case 1:a=s.sent();if(a instanceof Error){if(a.message)D(e.networkErrorMessage);return[2]}if((t=a.requestManagedIdentityVerificationEmail)===null||t===void 0?void 0:t.success)C(true);return[2]}}))}))};function J(){return __awaiter(this,void 0,void 0,(function(){var t,n;return __generator(this,(function(i){switch(i.label){case 0:return[4,S()];case 1:n=i.sent();if((t=n===null||n===void 0?void 0:n.managedIdentitySession)===null||t===void 0?void 0:t.emailVerified){clearInterval(Y.current);return[2,l.push({pathname:e.redirectPath,search:R.toString()&&"?"+R.toString()})]}Q(10);return[2]}}))}))}var N=function(e){if(e===void 0){e=1e4}return setInterval(J,e)};var O=function(e){return setInterval((function(){return U(e)}),1e3)};function Q(e){clearInterval(z.current);clearInterval(Y.current);if(document.visibilityState==="hidden")return;if(e)U(e);var t=K||10;z.current=O(e-1||t-1);Y.current=N(e*1e3||t*1e3)}var W=f((function(){return Q()}),[K]);a((function(){if(!Y.current){J();Y.current=N()}return function(){clearInterval(Y.current)}}),[]);a((function(){if(K>0){clearInterval(z.current);z.current=O(K-1)}document.addEventListener("visibilitychange",W);return function(){clearInterval(z.current);document.removeEventListener("visibilitychange",W)}}),[K]);return{states:{loading:_,error:((g=(d=(v=(s=k===null||k===void 0?void 0:k.response)===null||s===void 0?void 0:s.errors)===null||v===void 0?void 0:v[0])===null||d===void 0?void 0:d.extensions)===null||g===void 0?void 0:g.message)||((y=(m=(h=k===null||k===void 0?void 0:k.response)===null||h===void 0?void 0:h.errors)===null||m===void 0?void 0:m[0])===null||y===void 0?void 0:y.message)||A,success:H,loadingVerification:V,isVerified:!!((p=P===null||P===void 0?void 0:P.managedIdentitySession)===null||p===void 0?void 0:p.emailVerified),countdown:K},callbacks:{submit:F},content:{email:L,verifyMessage:e.verifyMessage,emailVerificationHeader:e.emailVerificationHeader,resendEmailButtonText:e.resendEmailButtonText,verificationLoadingMessage:e.verificationLoadingMessage,verificationStatusMessage:e.verificationStatusMessage,verificationResentMessage:e.verificationResentMessage,networkErrorMessage:e.networkErrorMessage}}}var m=e("sqm_portal_email_verification",function(){function e(e){t(this,e);this.ignored=true;this.redirectPath="/verifyEmail";this.emailVerificationHeader="Verify your email";this.resendEmailButtonText="Re-send Email";this.verifyMessage="A verification email was sent to {email}. Please verify your email to continue to the portal. Resending an email will invalidate the previous email.";this.verificationStatusMessage="Checking verification status in {countdown}";this.verificationLoadingMessage="Checking verification status";this.verificationResentMessage="Your verification email has been resent successfully";this.networkErrorMessage="An error occurred while verifying your password. Please refresh the page.";s(this)}e.prototype.disconnectedCallback=function(){};e.prototype.render=function(){var e=v()?y(this):h(this),t=e.states,i=e.callbacks,r=e.content;return n(g,{states:t,callbacks:i,content:r})};return e}());function y(e){var t=this;return d({states:{error:"",loading:false,success:false,countdown:10},callbacks:{submit:function(e){return __awaiter(t,void 0,void 0,(function(){return __generator(this,(function(e){return[2]}))}))}},content:{email:"test@example.com",verifyMessage:e.verifyMessage,emailVerificationHeader:e.emailVerificationHeader,resendEmailButtonText:e.resendEmailButtonText,verificationLoadingMessage:e.verificationLoadingMessage,verificationStatusMessage:e.verificationStatusMessage,verificationResentMessage:e.verificationResentMessage,networkErrorMessage:e.networkErrorMessage}},e.demoData||{},{arrayMerge:function(e,t){return t}})}}}}));
@@ -1 +1 @@
1
- var __assign=this&&this.__assign||function(){__assign=Object.assign||function(s){for(var t,a=1,r=arguments.length;a<r;a++){t=arguments[a];for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n))s[n]=t[n]}return s};return __assign.apply(this,arguments)};System.register(["./p-ff17b3a4.system.js","./p-b370fca8.system.js","./p-f6934a55.system.js","./p-1a673057.system.js"],(function(s){"use strict";var t,a,r,n;return{setters:[function(s){t=s.h},function(s){a=s.$},function(s){r=s.g},function(s){n=s.c}],execute:function(){s("N",e);function e(s){var e=s.states,i=s.data;var o={ItemContainer:__assign(__assign({display:"flex","background-color":""+(e.active?"var(--sl-color-gray-200)":"var(--sl-color-white)"),"border-radius":"8px",padding:"8px","text-decoration":"none",color:"#454444","align-items":"center"},r({direction:"row",size:"var(--sl-font-size-small)"})),{"&:hover":{cursor:"pointer",background:e.active?"var(--sl-color-gray-300)":"var(--sl-color-gray-50)"}}),Label:{margin:"0"},Icon:{"flex-shrink":"0"}};var c=n(o);var l=c.toString();return t("a",{part:"sqm-link",href:i.path,onClick:function(s){s.preventDefault();a.push(i.path)},class:c.classes.ItemContainer},t("style",{type:"text/css"},l),t("sl-icon",{class:c.classes.Icon,name:i.icon}),t("p",{class:c.classes.Label,part:"sqm-label"},i.label))}}}}));
1
+ var __assign=this&&this.__assign||function(){__assign=Object.assign||function(s){for(var t,a=1,r=arguments.length;a<r;a++){t=arguments[a];for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n))s[n]=t[n]}return s};return __assign.apply(this,arguments)};System.register(["./p-ff17b3a4.system.js","./p-5f4cf5f4.system.js","./p-f6934a55.system.js","./p-1a673057.system.js"],(function(s){"use strict";var t,a,r,n;return{setters:[function(s){t=s.h},function(s){a=s.x},function(s){r=s.g},function(s){n=s.c}],execute:function(){s("N",e);function e(s){var e=s.states,i=s.data;var o={ItemContainer:__assign(__assign({display:"flex","background-color":""+(e.active?"var(--sl-color-gray-200)":"var(--sl-color-white)"),"border-radius":"8px",padding:"8px","text-decoration":"none",color:"#454444","align-items":"center"},r({direction:"row",size:"var(--sl-font-size-small)"})),{"&:hover":{cursor:"pointer",background:e.active?"var(--sl-color-gray-300)":"var(--sl-color-gray-50)"}}),Label:{margin:"0"},Icon:{"flex-shrink":"0"}};var c=n(o);var l=c.toString();return t("a",{part:"sqm-link",href:i.path,onClick:function(s){s.preventDefault();a.push(i.path)},class:c.classes.ItemContainer},t("style",{type:"text/css"},l),t("sl-icon",{class:c.classes.Icon,name:i.icon}),t("p",{class:c.classes.Label,part:"sqm-label"},i.label))}}}}));