@saasquatch/mint-components 1.15.0-3 → 1.15.0-5

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 (234) hide show
  1. package/dist/cjs/{GenericTableView-a9f4ba75.js → GenericTableView-f0e9c531.js} +2 -2
  2. package/dist/cjs/{ShadowViewAddon-787391f7.js → ShadowViewAddon-3f11bc68.js} +179 -180
  3. package/dist/cjs/{global-e31dc4f5.js → global-261393c6.js} +59 -13
  4. package/dist/cjs/loader.cjs.js +2 -2
  5. package/dist/cjs/mint-components.cjs.js +2 -2
  6. package/dist/cjs/sqm-banking-info-form_17.cjs.entry.js +7 -44
  7. package/dist/cjs/{sqm-base-registration-form-view-8a2c8763.js → sqm-base-registration-form-view-1b2440c3.js} +1 -1
  8. package/dist/cjs/sqm-big-stat_41.cjs.entry.js +14 -11
  9. package/dist/cjs/sqm-email-verification.cjs.entry.js +2 -2
  10. package/dist/cjs/sqm-empty_4.cjs.entry.js +9 -8
  11. package/dist/cjs/{sqm-invoice-table-view-16ac73d0.js → sqm-invoice-table-view-8b950046.js} +1 -1
  12. package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +2 -2
  13. package/dist/cjs/sqm-pagination_3.cjs.entry.js +2 -2
  14. package/dist/cjs/{sqm-portal-email-verification-view-7ebb426a.js → sqm-portal-email-verification-view-8d5b23f3.js} +2 -2
  15. package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +3 -3
  16. package/dist/cjs/{sqm-portal-forgot-password-view-78f19ef9.js → sqm-portal-forgot-password-view-b986086e.js} +1 -1
  17. package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +2 -2
  18. package/dist/cjs/sqm-portal-google-login.cjs.entry.js +2 -2
  19. package/dist/cjs/sqm-portal-google-registration-form.cjs.entry.js +3 -3
  20. package/dist/cjs/{sqm-portal-login-view-761a4d8e.js → sqm-portal-login-view-84e99287.js} +1 -1
  21. package/dist/cjs/{sqm-portal-profile-view-33164798.js → sqm-portal-profile-view-fcb3ea3f.js} +2 -2
  22. package/dist/cjs/sqm-portal-profile.cjs.entry.js +3 -3
  23. package/dist/cjs/{sqm-portal-registration-form-view-637a4bf4.js → sqm-portal-registration-form-view-4377d849.js} +1 -1
  24. package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +2 -2
  25. package/dist/cjs/{sqm-portal-reset-password-view-fe602822.js → sqm-portal-reset-password-view-52fc50fe.js} +1 -1
  26. package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +2 -2
  27. package/dist/cjs/{sqm-portal-verify-email-view-7b678f34.js → sqm-portal-verify-email-view-4f837226.js} +1 -1
  28. package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +2 -2
  29. package/dist/cjs/{sqm-qr-code-view-15dfc0b6.js → sqm-qr-code-view-3da9ed28.js} +2 -7
  30. package/dist/cjs/sqm-qr-code.cjs.entry.js +1 -1
  31. package/dist/cjs/sqm-referral-table_11.cjs.entry.js +3 -5
  32. package/dist/cjs/sqm-rewards-table-customer-note-cell.cjs.entry.js +1 -1
  33. package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +4 -4
  34. package/dist/cjs/sqm-stencilbook.cjs.entry.js +15 -15
  35. package/dist/cjs/{sqm-text-span-view-0aa82125.js → sqm-text-span-view-56e48a78.js} +6 -6
  36. package/dist/cjs/sqm-text-span.cjs.entry.js +1 -1
  37. package/dist/collection/components/sqm-big-stat/sqm-big-stat-view.js +1 -2
  38. package/dist/collection/components/sqm-coupon-code/sqm-coupon-code-view.js +1 -1
  39. package/dist/collection/components/sqm-edit-profile/sqm-edit-profile-view.js +1 -1
  40. package/dist/collection/components/sqm-empty/sqm-empty-view.js +1 -1
  41. package/dist/collection/components/sqm-form-message/FormMessage.stories.js +1 -1
  42. package/dist/collection/components/sqm-hero-image/sqm-hero-image-view.js +3 -3
  43. package/dist/collection/components/sqm-leaderboard/sqm-leaderboard-view.js +54 -54
  44. package/dist/collection/components/sqm-leaderboard/sqm-leaderboard.js +25 -1
  45. package/dist/collection/components/sqm-leaderboard-rank/sqm-leaderboard-rank.css +2 -2
  46. package/dist/collection/components/sqm-program-explainer/sqm-program-explainer-view.js +1 -1
  47. package/dist/collection/components/sqm-program-explainer-step/sqm-program-explainer-step-view.js +3 -1
  48. package/dist/collection/components/sqm-qr-code/sqm-qr-code-view.js +2 -7
  49. package/dist/collection/components/sqm-referral-card/sqm-referral-card-view.js +1 -1
  50. package/dist/collection/components/sqm-referral-codes/sqm-referral-codes-view.js +1 -1
  51. package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-rewards-cell.js +0 -2
  52. package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-reward-cell.js +2 -2
  53. package/dist/collection/components/sqm-task-card/sqm-task-card-view.js +12 -12
  54. package/dist/collection/components/sqm-text/sqm-text.js +7 -6
  55. package/dist/collection/components/sqm-text-span/sqm-text-span-view.js +6 -6
  56. package/dist/collection/components/sqm-timeline/sqm-timeline-entry-view.js +1 -1
  57. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.js +1 -12
  58. package/dist/collection/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form-view.js +0 -15
  59. package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form-view.js +1 -11
  60. package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +1 -2
  61. package/dist/collection/global/mixins.js +2 -2
  62. package/dist/collection/global/styles.js +59 -13
  63. package/dist/collection/global/styles.ts +59 -13
  64. package/dist/collection/tables/GenericTableView.js +2 -2
  65. package/dist/esm/{GenericTableView-7b9087af.js → GenericTableView-e7addb2b.js} +2 -2
  66. package/dist/esm/{ShadowViewAddon-cf230f50.js → ShadowViewAddon-f5791215.js} +179 -180
  67. package/dist/esm/{global-be1f9992.js → global-7b65dcb8.js} +59 -13
  68. package/dist/esm/loader.js +2 -2
  69. package/dist/esm/mint-components.js +2 -2
  70. package/dist/esm/sqm-banking-info-form_17.entry.js +7 -44
  71. package/dist/esm/{sqm-base-registration-form-view-593d4ac3.js → sqm-base-registration-form-view-31f1cb87.js} +1 -1
  72. package/dist/esm/sqm-big-stat_41.entry.js +14 -11
  73. package/dist/esm/sqm-email-verification.entry.js +2 -2
  74. package/dist/esm/sqm-empty_4.entry.js +9 -8
  75. package/dist/esm/{sqm-invoice-table-view-2c726568.js → sqm-invoice-table-view-0f0a7386.js} +1 -1
  76. package/dist/esm/sqm-leaderboard-rank.entry.js +2 -2
  77. package/dist/esm/sqm-pagination_3.entry.js +2 -2
  78. package/dist/esm/{sqm-portal-email-verification-view-35b4353b.js → sqm-portal-email-verification-view-3bd4f1d9.js} +2 -2
  79. package/dist/esm/sqm-portal-email-verification.entry.js +3 -3
  80. package/dist/esm/{sqm-portal-forgot-password-view-3d3182f1.js → sqm-portal-forgot-password-view-50444a7c.js} +1 -1
  81. package/dist/esm/sqm-portal-forgot-password.entry.js +2 -2
  82. package/dist/esm/sqm-portal-google-login.entry.js +2 -2
  83. package/dist/esm/sqm-portal-google-registration-form.entry.js +3 -3
  84. package/dist/esm/{sqm-portal-login-view-7e49609a.js → sqm-portal-login-view-37c85d04.js} +1 -1
  85. package/dist/esm/{sqm-portal-profile-view-93003974.js → sqm-portal-profile-view-3a751a15.js} +2 -2
  86. package/dist/esm/sqm-portal-profile.entry.js +3 -3
  87. package/dist/esm/{sqm-portal-registration-form-view-3c1f6000.js → sqm-portal-registration-form-view-21d57492.js} +1 -1
  88. package/dist/esm/sqm-portal-registration-form.entry.js +2 -2
  89. package/dist/esm/{sqm-portal-reset-password-view-54a8651f.js → sqm-portal-reset-password-view-b000ffc5.js} +1 -1
  90. package/dist/esm/sqm-portal-reset-password.entry.js +2 -2
  91. package/dist/esm/{sqm-portal-verify-email-view-b12cb894.js → sqm-portal-verify-email-view-2983ba9b.js} +1 -1
  92. package/dist/esm/sqm-portal-verify-email.entry.js +2 -2
  93. package/dist/esm/{sqm-qr-code-view-f1d0763b.js → sqm-qr-code-view-10b8b4cb.js} +2 -7
  94. package/dist/esm/sqm-qr-code.entry.js +1 -1
  95. package/dist/esm/sqm-referral-table_11.entry.js +3 -5
  96. package/dist/esm/sqm-rewards-table-customer-note-cell.entry.js +1 -1
  97. package/dist/esm/sqm-rewards-table_9.entry.js +4 -4
  98. package/dist/esm/sqm-stencilbook.entry.js +15 -15
  99. package/dist/esm/{sqm-text-span-view-ca32495e.js → sqm-text-span-view-c577cc60.js} +6 -6
  100. package/dist/esm/sqm-text-span.entry.js +1 -1
  101. package/dist/esm-es5/{GenericTableView-7b9087af.js → GenericTableView-e7addb2b.js} +1 -1
  102. package/dist/esm-es5/ShadowViewAddon-f5791215.js +1 -0
  103. package/dist/esm-es5/{global-be1f9992.js → global-7b65dcb8.js} +4 -4
  104. package/dist/esm-es5/loader.js +1 -1
  105. package/dist/esm-es5/mint-components.js +1 -1
  106. package/dist/esm-es5/sqm-banking-info-form_17.entry.js +1 -1
  107. package/dist/esm-es5/{sqm-base-registration-form-view-593d4ac3.js → sqm-base-registration-form-view-31f1cb87.js} +1 -1
  108. package/dist/esm-es5/sqm-big-stat_41.entry.js +1 -1
  109. package/dist/esm-es5/sqm-email-verification.entry.js +1 -1
  110. package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
  111. package/dist/esm-es5/{sqm-invoice-table-view-2c726568.js → sqm-invoice-table-view-0f0a7386.js} +1 -1
  112. package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
  113. package/dist/esm-es5/sqm-pagination_3.entry.js +1 -1
  114. package/dist/esm-es5/{sqm-portal-email-verification-view-35b4353b.js → sqm-portal-email-verification-view-3bd4f1d9.js} +1 -1
  115. package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
  116. package/dist/esm-es5/{sqm-portal-forgot-password-view-3d3182f1.js → sqm-portal-forgot-password-view-50444a7c.js} +1 -1
  117. package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -1
  118. package/dist/esm-es5/sqm-portal-google-login.entry.js +1 -1
  119. package/dist/esm-es5/sqm-portal-google-registration-form.entry.js +1 -1
  120. package/dist/esm-es5/{sqm-portal-login-view-7e49609a.js → sqm-portal-login-view-37c85d04.js} +1 -1
  121. package/dist/esm-es5/{sqm-portal-profile-view-93003974.js → sqm-portal-profile-view-3a751a15.js} +1 -1
  122. package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
  123. package/dist/esm-es5/{sqm-portal-registration-form-view-3c1f6000.js → sqm-portal-registration-form-view-21d57492.js} +1 -1
  124. package/dist/esm-es5/sqm-portal-registration-form.entry.js +1 -1
  125. package/dist/esm-es5/{sqm-portal-reset-password-view-54a8651f.js → sqm-portal-reset-password-view-b000ffc5.js} +1 -1
  126. package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
  127. package/dist/esm-es5/{sqm-portal-verify-email-view-b12cb894.js → sqm-portal-verify-email-view-2983ba9b.js} +1 -1
  128. package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
  129. package/dist/esm-es5/{sqm-qr-code-view-f1d0763b.js → sqm-qr-code-view-10b8b4cb.js} +1 -1
  130. package/dist/esm-es5/sqm-qr-code.entry.js +1 -1
  131. package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
  132. package/dist/esm-es5/sqm-rewards-table-customer-note-cell.entry.js +1 -1
  133. package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
  134. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  135. package/dist/esm-es5/sqm-text-span-view-c577cc60.js +1 -0
  136. package/dist/esm-es5/sqm-text-span.entry.js +1 -1
  137. package/dist/mint-components/global/styles.ts +59 -13
  138. package/dist/mint-components/mint-components.esm.js +1 -1
  139. package/dist/mint-components/mint-components.js +1 -1
  140. package/dist/mint-components/{p-0d182dc1.system.js → p-05255c61.system.js} +1 -1
  141. package/dist/mint-components/{p-2f101bae.entry.js → p-0559d880.entry.js} +1 -1
  142. package/dist/mint-components/{p-b287833c.system.entry.js → p-10ed0483.system.entry.js} +1 -1
  143. package/dist/mint-components/{p-116baa69.entry.js → p-15d20bf9.entry.js} +11 -11
  144. package/dist/mint-components/{p-7a9290ba.js → p-20245645.js} +1 -1
  145. package/dist/mint-components/{p-4794641c.system.js → p-217514ac.system.js} +1 -1
  146. package/dist/mint-components/{p-10d17989.entry.js → p-22f374db.entry.js} +1 -1
  147. package/dist/mint-components/{p-19bc3406.system.entry.js → p-2b462e4f.system.entry.js} +1 -1
  148. package/dist/mint-components/p-2e110002.system.js +1 -0
  149. package/dist/mint-components/{p-5d7e308c.system.entry.js → p-2e4129e0.system.entry.js} +1 -1
  150. package/dist/mint-components/{p-bbcd824a.js → p-32d5cbc1.js} +1 -1
  151. package/dist/mint-components/{p-9bfd9bed.system.entry.js → p-345fd28e.system.entry.js} +1 -1
  152. package/dist/mint-components/p-3708a40b.system.js +1 -0
  153. package/dist/mint-components/p-383d8c5a.system.entry.js +1 -0
  154. package/dist/mint-components/{p-aad32fb6.system.js → p-38de17fa.system.js} +1 -1
  155. package/dist/mint-components/{p-a2fde301.entry.js → p-3af1ec4c.entry.js} +1 -1
  156. package/dist/mint-components/p-49206a9c.entry.js +1 -0
  157. package/dist/mint-components/{p-7846937e.entry.js → p-4ae5ac59.entry.js} +2 -2
  158. package/dist/mint-components/{p-cbbfac66.entry.js → p-4b626c19.entry.js} +2 -2
  159. package/dist/mint-components/{p-90fc6774.system.entry.js → p-4b6f2eca.system.entry.js} +1 -1
  160. package/dist/mint-components/{p-e5d0375e.system.js → p-571e1427.system.js} +1 -1
  161. package/dist/mint-components/{p-5cb7f9fc.system.entry.js → p-5c0576c0.system.entry.js} +1 -1
  162. package/dist/mint-components/{p-57eef0af.entry.js → p-5c2d9a52.entry.js} +6 -6
  163. package/dist/mint-components/{p-492b70db.system.js → p-5dbe8b0a.system.js} +1 -1
  164. package/dist/mint-components/{p-9386ad84.system.entry.js → p-605c2904.system.entry.js} +1 -1
  165. package/dist/mint-components/{p-a7746488.system.js → p-646cfbd5.system.js} +1 -1
  166. package/dist/mint-components/{p-91959fbe.js → p-69ac09d4.js} +1 -1
  167. package/dist/mint-components/{p-3f067fd5.js → p-7127a230.js} +1 -1
  168. package/dist/mint-components/{p-99ad7d56.system.js → p-71d7c2a0.system.js} +1 -1
  169. package/dist/mint-components/{p-0c78815e.system.entry.js → p-7cbec088.system.entry.js} +1 -1
  170. package/dist/mint-components/{p-dbcb5359.js → p-7e3a84bc.js} +1 -1
  171. package/dist/mint-components/{p-50c902ca.system.entry.js → p-7e8bf5cb.system.entry.js} +1 -1
  172. package/dist/mint-components/{p-2da21ba4.entry.js → p-802b9f7e.entry.js} +1 -1
  173. package/dist/mint-components/{p-85671c3d.system.entry.js → p-8053366e.system.entry.js} +1 -1
  174. package/dist/mint-components/{p-d07f3090.entry.js → p-87c21535.entry.js} +1 -1
  175. package/dist/mint-components/p-893d7ab4.js +1 -0
  176. package/dist/mint-components/{p-837a0fdd.js → p-8c494bf1.js} +1 -1
  177. package/dist/mint-components/{p-21620f81.system.entry.js → p-8f603753.system.entry.js} +1 -1
  178. package/dist/mint-components/{p-1f089c3f.system.entry.js → p-97ccee03.system.entry.js} +1 -1
  179. package/dist/mint-components/{p-37996351.system.js → p-9dd8c93b.system.js} +1 -1
  180. package/dist/mint-components/p-a4eb4b81.entry.js +144 -0
  181. package/dist/mint-components/{p-53730ffe.entry.js → p-a81b507f.entry.js} +3 -3
  182. package/dist/mint-components/{p-cd569259.system.js → p-aa3c81d3.system.js} +1 -1
  183. package/dist/mint-components/{p-0d2d0b6d.entry.js → p-aaff68dc.entry.js} +1 -1
  184. package/dist/mint-components/{p-f0772618.system.entry.js → p-ac9f4085.system.entry.js} +1 -1
  185. package/dist/mint-components/p-acf93efa.js +394 -0
  186. package/dist/mint-components/{p-65069b66.js → p-ae473175.js} +14 -14
  187. package/dist/mint-components/{p-b75bb6e3.system.js → p-b5fb3826.system.js} +1 -1
  188. package/dist/mint-components/{p-0ebab63e.system.js → p-bd2a2546.system.js} +1 -1
  189. package/dist/mint-components/p-c07551c4.system.entry.js +1 -0
  190. package/dist/mint-components/p-c0b52238.entry.js +33 -0
  191. package/dist/mint-components/p-c2ab40ae.system.entry.js +1 -0
  192. package/dist/mint-components/p-c53b8fe7.entry.js +13 -0
  193. package/dist/mint-components/{p-626e9e84.js → p-ccb5699b.js} +1 -1
  194. package/dist/mint-components/{p-7f80a9d7.entry.js → p-ccf8c9aa.entry.js} +1 -1
  195. package/dist/mint-components/{p-63a75798.js → p-cde752fa.js} +1 -1
  196. package/dist/mint-components/{p-91ab3da1.js → p-dc52c36a.js} +1 -1
  197. package/dist/mint-components/{p-f7c99803.system.js → p-df89186f.system.js} +1 -1
  198. package/dist/mint-components/{p-f940190a.js → p-e145e4f8.js} +1 -1
  199. package/dist/mint-components/{p-5c28406d.system.entry.js → p-e21a1cb8.system.entry.js} +1 -1
  200. package/dist/mint-components/{p-ef6381d4.entry.js → p-e4fd9966.entry.js} +1 -1
  201. package/dist/mint-components/p-eab1c9f3.js +1 -0
  202. package/dist/mint-components/p-ebdf906a.entry.js +1 -0
  203. package/dist/mint-components/p-ec7d2a85.entry.js +1 -0
  204. package/dist/mint-components/{p-3f6e0197.system.entry.js → p-f2228da3.system.entry.js} +1 -1
  205. package/dist/mint-components/p-f25f3d2a.system.entry.js +1 -0
  206. package/dist/mint-components/p-fa630b25.system.entry.js +1 -0
  207. package/dist/mint-components/{p-bdb7d451.system.js → p-fbfbbbd2.system.js} +1 -1
  208. package/dist/mint-components/{p-380bfde1.entry.js → p-fd0a013f.entry.js} +1 -1
  209. package/dist/types/components/sqm-leaderboard/sqm-leaderboard-view.d.ts +1 -0
  210. package/dist/types/components/sqm-leaderboard/sqm-leaderboard.d.ts +5 -0
  211. package/dist/types/components.d.ts +10 -0
  212. package/dist/types/global/styles.d.ts +1 -1
  213. package/docs/docs.docx +0 -0
  214. package/docs/raisins.json +1 -1
  215. package/grapesjs/grapesjs.js +1 -1
  216. package/package.json +1 -1
  217. package/dist/esm-es5/ShadowViewAddon-cf230f50.js +0 -1
  218. package/dist/esm-es5/sqm-text-span-view-ca32495e.js +0 -1
  219. package/dist/mint-components/p-4e773bb1.system.entry.js +0 -1
  220. package/dist/mint-components/p-562428ef.system.js +0 -1
  221. package/dist/mint-components/p-653f963f.entry.js +0 -13
  222. package/dist/mint-components/p-693942df.entry.js +0 -144
  223. package/dist/mint-components/p-6cc141b9.js +0 -394
  224. package/dist/mint-components/p-b207beeb.entry.js +0 -1
  225. package/dist/mint-components/p-b82e1935.system.entry.js +0 -1
  226. package/dist/mint-components/p-c9f1dde7.js +0 -1
  227. package/dist/mint-components/p-cb7bdbe4.entry.js +0 -1
  228. package/dist/mint-components/p-daee25f9.system.entry.js +0 -1
  229. package/dist/mint-components/p-de8e9981.system.entry.js +0 -1
  230. package/dist/mint-components/p-e07bc6c4.system.js +0 -1
  231. package/dist/mint-components/p-e5a5ae7f.system.entry.js +0 -1
  232. package/dist/mint-components/p-f56bedd5.js +0 -1
  233. package/dist/mint-components/p-fe2e2f4a.entry.js +0 -1
  234. package/dist/mint-components/p-ff8b8067.entry.js +0 -33
@@ -1,6 +1,6 @@
1
1
  import { h, c as Host, d as getAssetPath, g as getElement } from './index-91e7729f.js';
2
2
  import { k as useState, b as browser, u as useMemo } from './stencil-hooks.module-4bc38af4.js';
3
- import { i as intl } from './global-be1f9992.js';
3
+ import { i as intl } from './global-7b65dcb8.js';
4
4
  import { d as dist, H, J, F as Fn, w as wn, $ as $e, B, g as getEnvironmentSDK, L } from './index.module-89a79f66.js';
5
5
  import { c as cjs } from './cjs-bdfb4486.js';
6
6
  import { l as luxonLocale } from './utils-334c1e34.js';
@@ -10,7 +10,7 @@ import { H as HostBlock, A as AuthWrapper, a as AuthColumn, b as AuthButtonsCont
10
10
  import { C as CopyTextView } from './copy-text-view-782137ba.js';
11
11
  import { u as useChildElements } from './useChildElements-7945ae56.js';
12
12
  import { l as luxon } from './luxon-8d51c92b.js';
13
- import { T as TextSpanView } from './sqm-text-span-view-ca32495e.js';
13
+ import { T as TextSpanView } from './sqm-text-span-view-c577cc60.js';
14
14
  import { p as pathToRegexp } from './index-ffa26b43.js';
15
15
  import { a as isValidColor, b as isMobile } from './utilities-5b0ca040.js';
16
16
  import { a as PortalSectionView, P as PortalContainerView } from './sqm-portal-container-view-1683ae32.js';
@@ -90,72 +90,72 @@ function ShareButtonView(props, children) {
90
90
  !props.hidetext && children)));
91
91
  }
92
92
 
93
- const style$1 = {
94
- Leaderboard: {
95
- "& table": {
96
- width: "100%",
97
- borderCollapse: "collapse",
98
- },
99
- "& th": {
100
- textAlign: "left",
101
- padding: "var(--sl-spacing-medium)",
102
- paddingTop: "0",
103
- fontSize: "var(--sl-font-size-medium)",
104
- fontWeight: "var(--sl-font-weight-semibold)",
105
- },
106
- "& tr:not(:first-child)": {
107
- borderTop: "1px solid var(--sl-color-neutral-200)",
108
- },
109
- "& td": {
110
- fontSize: "var(--sl-font-size-medium)",
111
- fontWeight: "var(--sl-font-weight-normal)",
112
- },
113
- "& .ellipses": {
114
- textAlign: "left",
115
- padding: "0",
116
- color: "var(--sl-color-neutral-500)",
117
- paddingLeft: "25%",
118
- },
119
- "& .highlight": {
120
- background: "var(--sl-color-primary-50)",
121
- },
122
- "& td, th": {
123
- color: "var(--sl-color-gray-800)",
124
- padding: "var(--sl-spacing-medium)",
125
- },
126
- "& .User": {
127
- width: "100%",
128
- },
129
- "& .Score": {
130
- width: "auto",
131
- whiteSpace: "nowrap",
132
- },
133
- "& .Rank": {
134
- whiteSpace: "nowrap",
135
- },
136
- "& .fullWidth": {
137
- width: "100%",
93
+ function LeaderboardView(props) {
94
+ var _a, _b, _c;
95
+ const { states, data, elements } = props;
96
+ const { styles } = states;
97
+ const style = {
98
+ Leaderboard: {
99
+ "& table": {
100
+ width: "100%",
101
+ borderCollapse: "collapse",
102
+ },
103
+ "& th": {
104
+ textAlign: "left",
105
+ padding: "var(--sl-spacing-medium)",
106
+ paddingTop: "0",
107
+ fontSize: "var(--sl-font-size-medium)",
108
+ fontWeight: "var(--sl-font-weight-semibold)",
109
+ },
110
+ "& tr:not(:first-child)": {
111
+ borderTop: "1px solid var(--sl-color-neutral-200)",
112
+ },
113
+ "& td": {
114
+ fontSize: "var(--sl-font-size-medium)",
115
+ fontWeight: "var(--sl-font-weight-normal)",
116
+ },
117
+ "& .ellipses": {
118
+ textAlign: "left",
119
+ padding: "0",
120
+ color: "var(--sqm-text)",
121
+ paddingLeft: "25%",
122
+ },
123
+ "& .highlight": {
124
+ background: styles.viewingUserhighlightColor || "var(--sl-color-primary-100)",
125
+ },
126
+ "& td, th": {
127
+ color: "var(--sqm-text)",
128
+ padding: "var(--sl-spacing-medium)",
129
+ },
130
+ "& .User": {
131
+ width: "100%",
132
+ },
133
+ "& .Score": {
134
+ width: "auto",
135
+ whiteSpace: "nowrap",
136
+ },
137
+ "& .Rank": {
138
+ whiteSpace: "nowrap",
139
+ },
140
+ "& .fullWidth": {
141
+ width: "100%",
142
+ },
138
143
  },
139
- },
140
- };
141
- const sheet$1 = createStyleSheet(style$1);
142
- const styleString$1 = sheet$1.toString();
143
- const vanillaStyle = `
144
+ };
145
+ const sheet = createStyleSheet(style);
146
+ const styleString = sheet.toString();
147
+ const vanillaStyle = `
144
148
  :host{
145
149
  display: block;
146
150
  }
147
151
  `;
148
- function LeaderboardView(props) {
149
- var _a, _b, _c;
150
- const { states, data, elements } = props;
151
- const { styles } = states;
152
152
  if (states.isEssentials) {
153
153
  return (h("sqm-empty", { "empty-state-image": "https://res.cloudinary.com/saasquatch/image/upload/v1715360191/squatch-assets/Leaderboard_Not_Available.svg", "empty-state-header": "Leaderboards aren\u2019t available on your plan", "empty-state-text": "Contact {supportText} to upgrade your plan and start leveraging gamification in your program.", "support-text": "Support" }));
154
154
  }
155
155
  if (states.loading) {
156
- return (h("div", { class: sheet$1.classes.Leaderboard, style: { width: styles.width || "100%" } },
156
+ return (h("div", { class: sheet.classes.Leaderboard, style: { width: styles.width || "100%" } },
157
157
  h("style", { type: "text/css" },
158
- styleString$1,
158
+ styleString,
159
159
  vanillaStyle),
160
160
  h("table", null, [...Array(10)].map(() => {
161
161
  return (h("tr", null,
@@ -190,9 +190,9 @@ function LeaderboardView(props) {
190
190
  }) + `${isViewingUsersRow && styles.hideNames ? viewingUserText : ""}`
191
191
  : `${userRank} ${isViewingUsersRow && styles.hideNames ? viewingUserText : ""}`;
192
192
  };
193
- return (h("div", { class: sheet$1.classes.Leaderboard, part: "sqm-base", style: { width: styles.width || "100%" } },
193
+ return (h("div", { class: sheet.classes.Leaderboard, part: "sqm-base", style: { width: styles.width || "100%" } },
194
194
  h("style", { type: "text/css" },
195
- styleString$1,
195
+ styleString,
196
196
  vanillaStyle),
197
197
  h("table", { part: "sqm-table" },
198
198
  h("tr", null,
@@ -240,8 +240,7 @@ function BigStatView(props) {
240
240
  Description: {
241
241
  "font-size": "var(--sl-font-size-small)",
242
242
  "font-weight": "var(--sl-font-weight-normal)",
243
- color: "var(--sl-color-gray-600)",
244
- "text-transform": "uppercase",
243
+ color: "var(--sqm-text-subdued)",
245
244
  "text-align": alignment,
246
245
  },
247
246
  };
@@ -253,7 +252,7 @@ function BigStatView(props) {
253
252
  h("div", { part: "stat-description", class: sheet.classes.Description }, props.labelSlot)));
254
253
  }
255
254
 
256
- const style$2 = {
255
+ const style$1 = {
257
256
  HostBlock: HostBlock,
258
257
  Frame: {
259
258
  display: "flex",
@@ -287,17 +286,17 @@ const style$2 = {
287
286
  },
288
287
  },
289
288
  };
290
- const sheet$2 = createStyleSheet(style$2);
291
- const styleString$2 = sheet$2.toString();
289
+ const sheet$1 = createStyleSheet(style$1);
290
+ const styleString$1 = sheet$1.toString();
292
291
  function PortalFrameView(props, children) {
293
292
  const { data, notFullScreen } = props;
294
- return (h("div", { style: { minHeight: notFullScreen ? "100%" : "100vh" }, class: sheet$2.classes.Frame, part: "sqm-base" },
295
- h("style", { type: "text/css" }, styleString$2),
296
- h("div", { class: sheet$2.classes.HeaderWrapper, part: "sqm-header" },
293
+ return (h("div", { style: { minHeight: notFullScreen ? "100%" : "100vh" }, class: sheet$1.classes.Frame, part: "sqm-base" },
294
+ h("style", { type: "text/css" }, styleString$1),
295
+ h("div", { class: sheet$1.classes.HeaderWrapper, part: "sqm-header" },
297
296
  data.header,
298
297
  h("slot", { name: "sqm-navigation-menu" })),
299
298
  children,
300
- h("div", { class: sheet$2.classes.FooterWrapper, part: "sqm-footer" }, data.footer)));
299
+ h("div", { class: sheet$1.classes.FooterWrapper, part: "sqm-footer" }, data.footer)));
301
300
  }
302
301
 
303
302
  const EditProfileView = (props) => {
@@ -333,7 +332,7 @@ const EditProfileView = (props) => {
333
332
  }, submit: true, exportparts: "base: primarybutton-base" }, text.updatetext),
334
333
  h("sl-button", { onClick: () => {
335
334
  callbacks.setShowEdit(false);
336
- }, exportparts: "base: defaultbutton-base" }, text.canceltext)))));
335
+ }, exportparts: "base: secondarybutton-base" }, text.canceltext)))));
337
336
  }
338
337
  return (h("div", { class: `CardWrapper FormWrapper ${!states.showEdit && "ShowEdit"}`, part: "sqm-base" },
339
338
  h("div", { class: "FormSection" },
@@ -1587,7 +1586,7 @@ function PortalChangePasswordView(props) {
1587
1586
  h("style", { type: "text/css" }, styleString))));
1588
1587
  }
1589
1588
 
1590
- const style$3 = {
1589
+ const style$2 = {
1591
1590
  Wrapper: { ...AuthWrapper, "max-width": "600px" },
1592
1591
  Column: AuthColumn,
1593
1592
  HostBlock: HostBlock,
@@ -1598,7 +1597,7 @@ const style$3 = {
1598
1597
  ButtonsContainer: AuthButtonsContainer,
1599
1598
  ErrorStyle: ErrorStyles,
1600
1599
  };
1601
- const vanillaStyle$1 = `
1600
+ const vanillaStyle = `
1602
1601
  sqm-portal-register {
1603
1602
  margin: 0 auto;
1604
1603
  width: 100%;
@@ -1613,20 +1612,20 @@ sqm-portal-register {
1613
1612
  display: none;
1614
1613
  }
1615
1614
  `;
1616
- const sheet$3 = createStyleSheet(style$3);
1617
- const styleString$3 = sheet$3.toString();
1615
+ const sheet$2 = createStyleSheet(style$2);
1616
+ const styleString$2 = sheet$2.toString();
1618
1617
  function PortalRegisterView(props) {
1619
1618
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
1620
1619
  const { states, refs, callbacks, content } = props;
1621
1620
  if (states.error) {
1622
1621
  window.scrollTo({ top: 0, left: 0, behavior: "smooth" });
1623
1622
  }
1624
- return (h("div", { class: sheet$3.classes.Wrapper, part: "sqm-base" },
1623
+ return (h("div", { class: sheet$2.classes.Wrapper, part: "sqm-base" },
1625
1624
  h("style", { type: "text/css" },
1626
- vanillaStyle$1,
1627
- styleString$3),
1625
+ vanillaStyle,
1626
+ styleString$2),
1628
1627
  h(TextSpanView, { type: "h3" }, content.pageLabel),
1629
- h("sl-form", { class: sheet$3.classes.Column, "onSl-submit": callbacks.submit, ref: (el) => (refs.formRef.current = el), novalidate: true },
1628
+ h("sl-form", { class: sheet$2.classes.Column, "onSl-submit": callbacks.submit, ref: (el) => (refs.formRef.current = el), novalidate: true },
1630
1629
  states.error && (h("sqm-form-message", { type: "error", exportparts: "erroralert-icon" },
1631
1630
  h("div", { part: "erroralert-text" }, props.states.error))),
1632
1631
  content.formData,
@@ -1639,7 +1638,7 @@ function PortalRegisterView(props) {
1639
1638
  return content.invalidEmailErrorMessage;
1640
1639
  }
1641
1640
  } }, (((_b = (_a = states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors) === null || _b === void 0 ? void 0 : _b.email) ? {
1642
- class: sheet$3.classes.ErrorStyle,
1641
+ class: sheet$2.classes.ErrorStyle,
1643
1642
  helpText: ((_d = (_c = states.registrationFormState) === null || _c === void 0 ? void 0 : _c.validationErrors) === null || _d === void 0 ? void 0 : _d.email) ||
1644
1643
  content.requiredFieldErrorMessage,
1645
1644
  }
@@ -1650,17 +1649,17 @@ function PortalRegisterView(props) {
1650
1649
  value: (_j = (_h = states.registrationFormState) === null || _h === void 0 ? void 0 : _h.initialData) === null || _j === void 0 ? void 0 : _j.confirmPassword,
1651
1650
  }
1652
1651
  : {}), (((_l = (_k = states.registrationFormState) === null || _k === void 0 ? void 0 : _k.validationErrors) === null || _l === void 0 ? void 0 : _l.confirmPassword) ? {
1653
- class: sheet$3.classes.ErrorStyle,
1652
+ class: sheet$2.classes.ErrorStyle,
1654
1653
  helpText: ((_o = (_m = states.registrationFormState) === null || _m === void 0 ? void 0 : _m.validationErrors) === null || _o === void 0 ? void 0 : _o.confirmPassword) || content.requiredFieldErrorMessage,
1655
1654
  }
1656
1655
  : [])))),
1657
1656
  content.terms,
1658
- h("div", { class: sheet$3.classes.ButtonsContainer },
1657
+ h("div", { class: sheet$2.classes.ButtonsContainer },
1659
1658
  h("sl-button", { submit: true, loading: states.loading, exportparts: "base: primarybutton-base", type: "primary" }, content.submitLabel || "Register"),
1660
1659
  content.secondaryButton))));
1661
1660
  }
1662
1661
 
1663
- const style$4 = {
1662
+ const style$3 = {
1664
1663
  ErrorStyle: {
1665
1664
  "&::part(control)": {
1666
1665
  background: "var(--sl-color-danger-10)",
@@ -1683,7 +1682,7 @@ const style$4 = {
1683
1682
  "margin-bottom": "var(--sl-spacing-large)",
1684
1683
  },
1685
1684
  };
1686
- const vanillaStyle$2 = `
1685
+ const vanillaStyle$1 = `
1687
1686
  :host {
1688
1687
  margin: 0 auto;
1689
1688
  width: 100%;
@@ -1699,15 +1698,15 @@ sl-checkbox::part(base){
1699
1698
  }
1700
1699
  `;
1701
1700
  jss.setup(create());
1702
- const sheet$4 = jss.createStyleSheet(style$4);
1703
- const styleString$4 = sheet$4.toString();
1701
+ const sheet$3 = jss.createStyleSheet(style$3);
1702
+ const styleString$3 = sheet$3.toString();
1704
1703
  function CheckboxFieldView(props) {
1705
1704
  var _b, _c;
1706
1705
  const { states, content, callbacks } = props;
1707
- return (h("div", { class: sheet$4.classes.FieldContainer, part: "sqm-base" },
1706
+ return (h("div", { class: sheet$3.classes.FieldContainer, part: "sqm-base" },
1708
1707
  h("style", { type: "text/css" },
1709
- vanillaStyle$2,
1710
- styleString$4),
1708
+ vanillaStyle$1,
1709
+ styleString$3),
1711
1710
  h("sl-checkbox", Object.assign({ exportparts: "label: input-label, base: input-base", name: `/${content.checkboxName}`, checked: states.checked, "onSl-change": (e) => {
1712
1711
  e.target.value = e.target.checked;
1713
1712
  callbacks.setChecked(e.target.value);
@@ -1763,7 +1762,7 @@ function ChangeMarktingView(props) {
1763
1762
  h("div", { part: "successalert-text" }, states.text.successMessage))))));
1764
1763
  }
1765
1764
 
1766
- const style$5 = {
1765
+ const style$4 = {
1767
1766
  Description: {
1768
1767
  "& input[type=checkbox]": {
1769
1768
  display: "none",
@@ -1802,13 +1801,13 @@ const style$5 = {
1802
1801
  },
1803
1802
  },
1804
1803
  };
1805
- const sheet$5 = createStyleSheet(style$5);
1806
- const styleString$5 = sheet$5.toString();
1804
+ const sheet$4 = createStyleSheet(style$4);
1805
+ const styleString$4 = sheet$4.toString();
1807
1806
  function Details(props) {
1808
1807
  const rid = Math.random().toString(36).slice(2);
1809
1808
  return (h("div", { style: { opacity: props.opacity } },
1810
- h("style", { type: "text/css" }, styleString$5),
1811
- h("span", { class: sheet$5.classes.Description },
1809
+ h("style", { type: "text/css" }, styleString$4),
1810
+ h("span", { class: sheet$4.classes.Description },
1812
1811
  h("input", { type: "checkbox", id: "details-" + rid }),
1813
1812
  h("label", { class: "details", htmlFor: "details-" + rid },
1814
1813
  h("sl-icon", { exportparts: "base: chevron-icon", name: "chevron-down" })),
@@ -1830,7 +1829,7 @@ const GreyGift = () => {
1830
1829
  h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M14 2.70949C14 3.59565 12.6694 4.93746 12 5H9V16H7.00179V5H4.58792C3.21247 4.70182 2 3.64537 2 2.52072C2 1.42474 2.47603 0.556701 3.34184 0.182041C4.16921 -0.175986 5.12452 0.0203328 5.87976 0.544666C6.80676 1.18825 7.32679 2.3963 7.79856 3.49226C7.83996 3.58845 7.88099 3.68378 7.9219 3.77778C7.96173 3.68865 8.00186 3.59793 8.0425 3.50608C8.50995 2.44948 9.04359 1.24325 9.9404 0.59563C10.7332 0.0231438 11.741 -0.193157 12.6121 0.198945C13.5129 0.604397 14 1.53453 14 2.70949ZM10.6123 1.5C11.0928 1.15305 11.668 1.09012 12.1597 1.5C12.5879 1.85694 12.6108 2.02497 12.6658 2.42926L12.6755 2.5C12.6755 3.09851 12.1597 4 11.6439 4C11.2785 4 10.9914 3.99691 10.7224 3.99402C10.2319 3.98875 9.80131 3.98412 9.06496 4C9.20533 3.72786 9.31743 3.46669 9.42434 3.21761C9.71026 2.55143 9.95907 1.97176 10.6123 1.5ZM4.93861 1.5C4.70607 1.33855 4.17281 1.4106 3.95166 1.5063C3.76894 1.58537 3.49602 1.82658 3.49602 2.52072C3.49602 3.19524 4.58792 3.77778 4.58792 3.77778C4.58792 3.77778 5.45441 4 7.00179 4C6.47506 2.69451 5.7289 2.04867 4.93861 1.5Z", fill: "#828282" })));
1831
1830
  };
1832
1831
 
1833
- const style$6 = {
1832
+ const style$5 = {
1834
1833
  ProgressBar: {
1835
1834
  "& .progress-bar": {
1836
1835
  height: "0",
@@ -1942,14 +1941,14 @@ const style$6 = {
1942
1941
  },
1943
1942
  },
1944
1943
  };
1945
- const sheet$6 = createStyleSheet(style$6, { classNamePrefix: "sqm-prog-bar" });
1946
- const styleString$6 = sheet$6.toString();
1944
+ const sheet$5 = createStyleSheet(style$5, { classNamePrefix: "sqm-prog-bar" });
1945
+ const styleString$5 = sheet$5.toString();
1947
1946
  function ProgressBarView(props) {
1948
1947
  const { progress = 0, goal = 1, steps = false, progressBarUnit = "", repeatable = false, complete = false, expired = false, finite = 0, opacity = "1", } = props;
1949
1948
  let aggregate = buildProgressBar(repeatable, steps, props);
1950
1949
  const { columns, items } = aggregate;
1951
- return (h("div", { class: sheet$6.classes.ProgressBar, "data-expired": expired, "data-complete": complete, "data-steps": steps, "data-done": goal <= progress, style: { opacity: opacity } },
1952
- h("style", { type: "text/css" }, styleString$6),
1950
+ return (h("div", { class: sheet$5.classes.ProgressBar, "data-expired": expired, "data-complete": complete, "data-steps": steps, "data-done": goal <= progress, style: { opacity: opacity } },
1951
+ h("style", { type: "text/css" }, styleString$5),
1953
1952
  h("div", { class: (!Boolean(finite) && progress >= 2 * goal) ||
1954
1953
  (Boolean(finite) && progress > 2 * goal)
1955
1954
  ? "progress-bar repeatable-steps"
@@ -2240,7 +2239,7 @@ const arrow_left_right = () => {
2240
2239
  h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M10.265 2.789a.346.346 0 000-.489L8.066.101a.346.346 0 10-.489.489l1.61 1.609H2.073a.691.691 0 00-.69.691v1.728a.346.346 0 00.69 0V2.89h7.114L7.577 4.5a.346.346 0 10.49.488l2.198-2.2zM.101 9.21a.346.346 0 000 .489l2.2 2.199a.346.346 0 00.488-.489l-1.61-1.609h7.114c.382 0 .691-.31.691-.691V7.382a.346.346 0 00-.691 0V9.11H1.18L2.789 7.5a.346.346 0 10-.489-.488l-2.199 2.2z", fill: "currentColor" })));
2241
2240
  };
2242
2241
 
2243
- const style$7 = {
2242
+ const style$6 = {
2244
2243
  TaskCard: {
2245
2244
  display: "inline-block",
2246
2245
  width: "100%",
@@ -2253,19 +2252,19 @@ const style$7 = {
2253
2252
  boxShadow: "1px 2px 4px rgba(211, 211, 211, 0.2)",
2254
2253
  fontSize: "var(--sl-font-size-small)",
2255
2254
  lineHeight: "var(--sl-line-height-dense)",
2256
- color: "var(--sl-color-neutral-600)",
2255
+ color: "var(--sqm-text)",
2257
2256
  },
2258
2257
  "& .main.complete": {
2259
2258
  background: "var(--sl-color-primary-50)",
2260
2259
  borderColor: "var(--sl-color-primary-500)",
2261
2260
  },
2262
2261
  "& .main.expired": {
2263
- color: "var(--sl-color-neutral-600)",
2262
+ color: "var(--sqm-text)",
2264
2263
  background: "var(--sl-color-neutral-50)",
2265
2264
  },
2266
2265
  "& .title": {
2267
2266
  fontSize: "var(--sl-font-size-medium)",
2268
- color: "var(--sl-color-neutral-950)",
2267
+ color: "var(--sqm-text)",
2269
2268
  },
2270
2269
  "& .container": {
2271
2270
  margin: "var(--sl-spacing-medium)",
@@ -2326,7 +2325,7 @@ const style$7 = {
2326
2325
  alignSelf: "center",
2327
2326
  fontSize: "var(--sl-font-size-x-large)",
2328
2327
  fontWeight: "var(--sl-font-weight-semibold)",
2329
- color: "var(--sl-color-neutral-950)",
2328
+ color: "var(--sqm-text)",
2330
2329
  lineHeight: "100%",
2331
2330
  marginRight: "var(--sl-spacing-xx-small)",
2332
2331
  },
@@ -2334,7 +2333,7 @@ const style$7 = {
2334
2333
  alignSelf: "end",
2335
2334
  textTransform: "uppercase",
2336
2335
  fontSize: "var(--sl-font-size-x-small)",
2337
- color: "var(--sl-color-neutral-950)",
2336
+ color: "var(--sqm-text)",
2338
2337
  lineHeight: "var(--sl-font-size-medium)",
2339
2338
  marginRight: "var(--sl-spacing-xx-small)",
2340
2339
  },
@@ -2352,7 +2351,7 @@ const style$7 = {
2352
2351
  color: "var(--sl-color-primary-300)",
2353
2352
  },
2354
2353
  "&[data-subdue] .neutral": {
2355
- color: "var(--sl-color-neutral-300)",
2354
+ color: "var(--sqm-text)",
2356
2355
  },
2357
2356
  display: "flex",
2358
2357
  "& .icon": {
@@ -2364,7 +2363,7 @@ const style$7 = {
2364
2363
  marginTop: "auto",
2365
2364
  verticalAlign: "text-bottom",
2366
2365
  fontSize: "var(--sl-font-size-x-small)",
2367
- color: "var(--sl-color-neutral-400)",
2366
+ color: "var(--sqm-text)",
2368
2367
  },
2369
2368
  "& .success": {
2370
2369
  color: "var(--sl-color-primary-500)",
@@ -2374,19 +2373,19 @@ const style$7 = {
2374
2373
  marginTop: "auto",
2375
2374
  marginLeft: "auto",
2376
2375
  "&::part(base)": {
2377
- color: "var(--sl-color-neutral-0)",
2376
+ color: "var(--sqm-text)",
2378
2377
  },
2379
2378
  "&.disabled::part(base)": {
2380
2379
  border: "1px solid var(--sl-color-primary-400)",
2381
2380
  background: "var(--sl-color-primary-400)",
2382
2381
  },
2383
2382
  "&.neutral::part(base)": {
2384
- border: "1px solid var(--sl-color-neutral-400)",
2385
- background: "var(--sl-color-neutral-400)",
2383
+ border: "1px solid var(--sqm-text)",
2384
+ background: "var(--sqm-text)",
2386
2385
  },
2387
2386
  },
2388
2387
  "& .neutral": {
2389
- color: "var(--sl-color-neutral-400)",
2388
+ color: "var(--sqm-text)",
2390
2389
  },
2391
2390
  "& .datetime": {
2392
2391
  display: "block",
@@ -2394,8 +2393,8 @@ const style$7 = {
2394
2393
  },
2395
2394
  },
2396
2395
  };
2397
- const sheet$7 = createStyleSheet(style$7);
2398
- const styleString$7 = sheet$7.toString();
2396
+ const sheet$6 = createStyleSheet(style$6);
2397
+ const styleString$6 = sheet$6.toString();
2399
2398
  function TaskCardView(props) {
2400
2399
  var _a, _b;
2401
2400
  const { callbacks, states, content } = props;
@@ -2431,11 +2430,11 @@ function TaskCardView(props) {
2431
2430
  }
2432
2431
 
2433
2432
  `;
2434
- return (h("div", { class: sheet$7.classes.TaskCard, part: "sqm-base" },
2433
+ return (h("div", { class: sheet$6.classes.TaskCard, part: "sqm-base" },
2435
2434
  h("style", { type: "text/css" },
2436
- styleString$7,
2435
+ styleString$6,
2437
2436
  vanillaStyle),
2438
- !states.loading && taskNotStarted && (h("div", { class: sheet$7.classes.NotStarted },
2437
+ !states.loading && taskNotStarted && (h("div", { class: sheet$6.classes.NotStarted },
2439
2438
  h("span", { class: "icon" },
2440
2439
  h("sl-icon", { name: "info-circle-fill" })),
2441
2440
  intl.formatMessage({
@@ -2446,7 +2445,7 @@ function TaskCardView(props) {
2446
2445
  .setLocale(luxonLocale(states.locale))
2447
2446
  .toLocaleString(luxon.DateTime.DATETIME_MED),
2448
2447
  }))),
2449
- !states.loading && taskEnded && (h("div", { class: sheet$7.classes.Ended },
2448
+ !states.loading && taskEnded && (h("div", { class: sheet$6.classes.Ended },
2450
2449
  h("span", { class: "icon" },
2451
2450
  h("sl-icon", { exportparts: "base: task-card-icon", name: "exclamation-triangle-fill" })),
2452
2451
  intl.formatMessage({
@@ -2466,7 +2465,7 @@ function TaskCardView(props) {
2466
2465
  ? "main complete"
2467
2466
  : "main" },
2468
2467
  h("div", { class: "container", part: "sqm-card-container", "data-subdue": taskComplete || taskUnavailable },
2469
- h("div", { class: sheet$7.classes.Header, style: { opacity: taskComplete || taskUnavailable ? "0.45" : "1" } }, states.loading ? (h("sl-skeleton", { style: { width: "22%", margin: "0" } })) : (h("div", null,
2468
+ h("div", { class: sheet$6.classes.Header, style: { opacity: taskComplete || taskUnavailable ? "0.45" : "1" } }, states.loading ? (h("sl-skeleton", { style: { width: "22%", margin: "0" } })) : (h("div", null,
2470
2469
  showComplete && (h("span", { class: taskUnavailable ? "icon neutral" : "icon" }, taskComplete ? checkmark_filled$1 : checkmark_circle$1)),
2471
2470
  h("span", { part: "sqm-value", class: "value" }, content.rewardAmount),
2472
2471
  h("span", { part: "sqm-unit", class: "text" }, content.rewardUnit)))),
@@ -2482,7 +2481,7 @@ function TaskCardView(props) {
2482
2481
  } }, content.cardTitle)),
2483
2482
  states.loading ? (h("sl-skeleton", { style: { margin: "var(--sl-spacing-medium) 0" } })) : (content.description && (h(Details, Object.assign({}, props, { opacity: taskComplete || taskUnavailable ? "0.45" : "1" })))),
2484
2483
  content.showProgressBar && states.loading ? (h("sl-skeleton", { style: { margin: "var(--sl-spacing-medium) 0" } })) : (content.showProgressBar && (h(ProgressBarView, Object.assign({}, props.content, props.states, { opacity: taskComplete || taskUnavailable ? "0.45" : "1", complete: taskComplete, expired: taskUnavailable })))),
2485
- h("div", { class: sheet$7.classes.Footer, "data-subdue": taskComplete || taskUnavailable }, states.loading ? (h("sl-skeleton", { style: { width: "25%", marginLeft: "auto" } })) : (h("div", { style: { display: "contents" } },
2484
+ h("div", { class: sheet$6.classes.Footer, "data-subdue": taskComplete || taskUnavailable }, states.loading ? (h("sl-skeleton", { style: { width: "25%", marginLeft: "auto" } })) : (h("div", { style: { display: "contents" } },
2486
2485
  h("span", { class: "text" },
2487
2486
  content.repeatable && (h("div", null,
2488
2487
  h("span", { class: repetitions > 0
@@ -2511,7 +2510,7 @@ function TaskCardView(props) {
2511
2510
  .setLocale(luxonLocale(states.locale))
2512
2511
  .toLocaleString(luxon.DateTime.DATETIME_MED),
2513
2512
  })))),
2514
- content.hideButton ? ("") : (h("sl-button", { exportparts: "base: button", id: "sl-button", class: taskUnavailable
2513
+ content.hideButton ? ("") : (h("sl-button", { exportparts: "base: primarybutton-base", id: "sl-button", class: taskUnavailable
2515
2514
  ? "action neutral"
2516
2515
  : taskComplete
2517
2516
  ? "action disabled"
@@ -2553,7 +2552,7 @@ function PoweredByImg({ color = "#A6A6A6", width = 120, height = 16, }) {
2553
2552
  h("path", { d: "M1661.53 157.54H1589.77C1590.42 169.37 1593.54 178.535 1599.13 185.035C1604.85 191.535 1612.65 194.785 1622.53 194.785C1628.51 194.785 1633.97 193.485 1638.91 190.885C1643.98 188.285 1647.95 184.645 1650.81 179.965L1657.24 186.4C1653.34 192.12 1648.4 196.475 1642.42 199.465C1636.57 202.455 1629.94 203.95 1622.53 203.95C1609.01 203.95 1598.35 199.465 1590.55 190.495C1582.88 181.525 1579.05 169.175 1579.05 153.445C1579.05 137.585 1582.82 125.17 1590.36 116.2C1597.9 107.1 1608.23 102.55 1621.36 102.55C1633.84 102.55 1643.66 106.84 1650.81 115.42C1657.96 124 1661.53 135.895 1661.53 151.105V157.54ZM1651.39 147.4C1651.39 136.48 1648.66 127.77 1643.2 121.27C1637.74 114.77 1630.46 111.52 1621.36 111.52C1611.74 111.52 1604.2 114.77 1598.74 121.27C1593.28 127.77 1590.29 137.065 1589.77 149.155H1651.39V147.4Z", fill: color })));
2554
2553
  }
2555
2554
 
2556
- const vanillaStyle$3 = `
2555
+ const vanillaStyle$2 = `
2557
2556
  :host{
2558
2557
  margin: 0 auto;
2559
2558
  width: 100%;
@@ -2609,7 +2608,7 @@ function PortalFooterView(props) {
2609
2608
  const styleString = sheet.toString();
2610
2609
  return (h("div", { class: sheet.classes.Container, part: "sqm-base" },
2611
2610
  h("style", { type: "text/css" },
2612
- vanillaStyle$3,
2611
+ vanillaStyle$2,
2613
2612
  styleString),
2614
2613
  h("div", { class: sheet.classes.RowContainer },
2615
2614
  props.faqLink && (h("a", { target: "_blank", href: props.faqLink }, props.faqText)),
@@ -2781,7 +2780,7 @@ function ReferralIframeView(props) {
2781
2780
  h("iframe", { class: sheet.classes.IFrame, src: `${content.iframeSrc}?rsCode=${data.shareCode}` })));
2782
2781
  }
2783
2782
 
2784
- const style$8 = {
2783
+ const style$7 = {
2785
2784
  ErrorStyle: ErrorStyles,
2786
2785
  FieldsContainer: {
2787
2786
  "& sl-input": {
@@ -2789,7 +2788,7 @@ const style$8 = {
2789
2788
  },
2790
2789
  },
2791
2790
  };
2792
- const vanillaStyle$4 = `
2791
+ const vanillaStyle$3 = `
2793
2792
  :host {
2794
2793
  margin: 0 auto;
2795
2794
  width: 100%;
@@ -2801,21 +2800,21 @@ sl-input::part(label){
2801
2800
  font-weight: var(--sl-font-weight-semibold);
2802
2801
  }
2803
2802
  `;
2804
- const sheet$8 = createStyleSheet(style$8);
2805
- const styleString$8 = sheet$8.toString();
2803
+ const sheet$7 = createStyleSheet(style$7);
2804
+ const styleString$7 = sheet$7.toString();
2806
2805
  function NameFieldsView(props) {
2807
2806
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
2808
2807
  const { states } = props;
2809
2808
  const validationErrors = (_a = states === null || states === void 0 ? void 0 : states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors;
2810
- return (h("div", { class: sheet$8.classes.FieldsContainer },
2809
+ return (h("div", { class: sheet$7.classes.FieldsContainer },
2811
2810
  h("style", { type: "text/css" },
2812
- vanillaStyle$4,
2813
- styleString$8),
2811
+ vanillaStyle$3,
2812
+ styleString$7),
2814
2813
  h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", name: "/firstName", type: "text", label: states.content.firstNameLabel, required: true, disabled: ((_b = states.registrationFormState) === null || _b === void 0 ? void 0 : _b.loading) || ((_c = states.registrationFormState) === null || _c === void 0 ? void 0 : _c.disabled) }, (((_e = (_d = states.registrationFormState) === null || _d === void 0 ? void 0 : _d.initialData) === null || _e === void 0 ? void 0 : _e.firstName) ? {
2815
2814
  value: (_g = (_f = states.registrationFormState) === null || _f === void 0 ? void 0 : _f.initialData) === null || _g === void 0 ? void 0 : _g.firstName,
2816
2815
  }
2817
2816
  : {}), ((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.firstName) ? {
2818
- class: sheet$8.classes.ErrorStyle,
2817
+ class: sheet$7.classes.ErrorStyle,
2819
2818
  helpText: (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.firstName) || "Cannot be empty",
2820
2819
  }
2821
2820
  : []))),
@@ -2823,13 +2822,13 @@ function NameFieldsView(props) {
2823
2822
  value: (_o = (_m = states.registrationFormState) === null || _m === void 0 ? void 0 : _m.initialData) === null || _o === void 0 ? void 0 : _o.lastName,
2824
2823
  }
2825
2824
  : {}), ((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.lastName) ? {
2826
- class: sheet$8.classes.ErrorStyle,
2825
+ class: sheet$7.classes.ErrorStyle,
2827
2826
  helpText: (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.lastName) || "Cannot be empty",
2828
2827
  }
2829
2828
  : [])))));
2830
2829
  }
2831
2830
 
2832
- const style$9 = {
2831
+ const style$8 = {
2833
2832
  ErrorStyle: {
2834
2833
  "--sl-input-border-color": "var(--sl-color-danger-500)",
2835
2834
  "--sl-input-background-color": "var(--sl-color-danger-10)",
@@ -2845,7 +2844,7 @@ const style$9 = {
2845
2844
  "margin-bottom": "var(--sl-spacing-large)",
2846
2845
  },
2847
2846
  };
2848
- const vanillaStyle$5 = `
2847
+ const vanillaStyle$4 = `
2849
2848
  :host {
2850
2849
  margin: 0 auto;
2851
2850
  width: 100%;
@@ -2857,36 +2856,36 @@ sl-select::part(label){
2857
2856
  }
2858
2857
  `;
2859
2858
  jss.setup(create());
2860
- const sheet$9 = jss.createStyleSheet(style$9);
2861
- const styleString$9 = sheet$9.toString();
2859
+ const sheet$8 = jss.createStyleSheet(style$8);
2860
+ const styleString$8 = sheet$8.toString();
2862
2861
  function DropdownFieldView(props) {
2863
2862
  var _a, _b, _c, _d, _e, _f, _g;
2864
2863
  const { states, content } = props;
2865
2864
  const validationErrors = (_a = states === null || states === void 0 ? void 0 : states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors;
2866
- return (h("div", { class: sheet$9.classes.FieldContainer, part: "sqm-base" },
2865
+ return (h("div", { class: sheet$8.classes.FieldContainer, part: "sqm-base" },
2867
2866
  h("style", { type: "text/css" },
2868
- vanillaStyle$5,
2869
- styleString$9),
2867
+ vanillaStyle$4,
2868
+ styleString$8),
2870
2869
  h("sl-select", Object.assign({ exportparts: "label: input-label, base: input-base", label: content.dropdownLabel, name: `/${content.dropdownName}` }, (!content.dropdownOptional ? { required: true } : []), { disabled: ((_b = states.registrationFormState) === null || _b === void 0 ? void 0 : _b.loading) || ((_c = states.registrationFormState) === null || _c === void 0 ? void 0 : _c.disabled) }, (((_e = (_d = states.registrationFormState) === null || _d === void 0 ? void 0 : _d.initialData) === null || _e === void 0 ? void 0 : _e[content.dropdownName]) ? {
2871
2870
  value: (_g = (_f = states.registrationFormState) === null || _f === void 0 ? void 0 : _f.initialData) === null || _g === void 0 ? void 0 : _g[content.dropdownName],
2872
2871
  }
2873
2872
  : {}), ((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.dropdownName]) ? {
2874
- class: sheet$9.classes.ErrorStyle,
2873
+ class: sheet$8.classes.ErrorStyle,
2875
2874
  }
2876
2875
  : [])), content.selectOptions),
2877
- (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.dropdownName]) && (h("p", { class: sheet$9.classes.ErrorMessageStyle }, intl.formatMessage({
2876
+ (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.dropdownName]) && (h("p", { class: sheet$8.classes.ErrorMessageStyle }, intl.formatMessage({
2878
2877
  id: `errorMessage-${content.dropdownName}`,
2879
2878
  defaultMessage: content.errorMessage,
2880
2879
  })))));
2881
2880
  }
2882
2881
 
2883
- const style$a = {
2882
+ const style$9 = {
2884
2883
  ErrorStyle: ErrorStyles,
2885
2884
  FieldContainer: {
2886
2885
  "margin-bottom": "var(--sl-spacing-large)",
2887
2886
  },
2888
2887
  };
2889
- const vanillaStyle$6 = `
2888
+ const vanillaStyle$5 = `
2890
2889
  :host {
2891
2890
  margin: 0 auto;
2892
2891
  width: 100%;
@@ -2894,21 +2893,21 @@ const vanillaStyle$6 = `
2894
2893
  }
2895
2894
  `;
2896
2895
  jss.setup(create());
2897
- const sheet$a = jss.createStyleSheet(style$a);
2898
- const styleString$a = sheet$a.toString();
2896
+ const sheet$9 = jss.createStyleSheet(style$9);
2897
+ const styleString$9 = sheet$9.toString();
2899
2898
  function InputFieldView(props) {
2900
2899
  var _a, _b, _c, _d, _e, _f, _g;
2901
2900
  const { states, content } = props;
2902
2901
  const validationErrors = (_a = states === null || states === void 0 ? void 0 : states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors;
2903
- return (h("div", { class: sheet$a.classes.FieldContainer, part: "sqm-base" },
2902
+ return (h("div", { class: sheet$9.classes.FieldContainer, part: "sqm-base" },
2904
2903
  h("style", { type: "text/css" },
2905
- vanillaStyle$6,
2906
- styleString$a),
2904
+ vanillaStyle$5,
2905
+ styleString$9),
2907
2906
  h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", name: `/${content.fieldName}`, type: content.fieldType, label: content.fieldLabel }, (!content.fieldOptional ? { required: true } : []), { disabled: ((_b = states.registrationFormState) === null || _b === void 0 ? void 0 : _b.loading) || ((_c = states.registrationFormState) === null || _c === void 0 ? void 0 : _c.disabled) }, (((_e = (_d = states.registrationFormState) === null || _d === void 0 ? void 0 : _d.initialData) === null || _e === void 0 ? void 0 : _e[content.fieldName]) ? {
2908
2907
  value: (_g = (_f = states.registrationFormState) === null || _f === void 0 ? void 0 : _f.initialData) === null || _g === void 0 ? void 0 : _g[content.fieldName],
2909
2908
  }
2910
2909
  : {}), ((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.fieldName]) ? {
2911
- class: sheet$a.classes.ErrorStyle,
2910
+ class: sheet$9.classes.ErrorStyle,
2912
2911
  helpText: intl.formatMessage({
2913
2912
  id: `errorMessage-${content.fieldName}`,
2914
2913
  defaultMessage: content.errorMessage || (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.fieldName]),
@@ -3003,7 +3002,7 @@ function ProgressBar({ stageCount, currentStage, }) {
3003
3002
  return (h("div", { style: { display: "flex", columnGap: "-2px" } }, Array.from(Array(stageCount).keys()).map((stage) => (h(Progress, { active: currentStage === stage, completed: currentStage > stage, incomplete: currentStage < stage, stage: stage })))));
3004
3003
  }
3005
3004
 
3006
- const style$b = {
3005
+ const style$a = {
3007
3006
  HostBlock: HostBlock,
3008
3007
  Container: {
3009
3008
  minWidth: "300px",
@@ -3354,8 +3353,8 @@ const style$b = {
3354
3353
  },
3355
3354
  };
3356
3355
  // JSS config
3357
- const sheet$b = createStyleSheet(style$b);
3358
- const styleString$b = sheet$b.toString();
3356
+ const sheet$a = createStyleSheet(style$a);
3357
+ const styleString$a = sheet$a.toString();
3359
3358
  const stageList = ["chooseReward", "chooseAmount", "confirmation", "success"];
3360
3359
  function RewardExchangeView(props) {
3361
3360
  const { states, data, callbacks, refs } = props;
@@ -3378,7 +3377,7 @@ function RewardExchangeView(props) {
3378
3377
  sourceUnit: item.sourceUnit,
3379
3378
  })));
3380
3379
  }
3381
- return (h("sl-select", { style: { width: "auto" }, label: (_b = states === null || states === void 0 ? void 0 : states.content) === null || _b === void 0 ? void 0 : _b.text.selectText, class: sheet$b.classes.Select, value: states.selectedStep, "onSl-select": (e) => {
3380
+ return (h("sl-select", { style: { width: "auto" }, label: (_b = states === null || states === void 0 ? void 0 : states.content) === null || _b === void 0 ? void 0 : _b.text.selectText, class: sheet$a.classes.Select, value: states.selectedStep, "onSl-select": (e) => {
3382
3381
  var _a, _b, _c, _d, _e;
3383
3382
  return callbacks.setExchangeState({
3384
3383
  amount: (_c = (_b = (_a = e.detail) === null || _a === void 0 ? void 0 : _a.item) === null || _b === void 0 ? void 0 : _b.value) === null || _c === void 0 ? void 0 : _c.sourceValue,
@@ -3386,7 +3385,7 @@ function RewardExchangeView(props) {
3386
3385
  });
3387
3386
  } }, (_c = item.steps) === null || _c === void 0 ? void 0 : _c.map((step) => {
3388
3387
  var _a, _b;
3389
- return (h("sl-menu-item", { value: step, disabled: !step.available, class: sheet$b.classes.SelectItem },
3388
+ return (h("sl-menu-item", { value: step, disabled: !step.available, class: sheet$a.classes.SelectItem },
3390
3389
  step.prettyDestinationValue,
3391
3390
  h("br", null),
3392
3391
  h("div", { class: "step-cost", slot: "suffix" },
@@ -3405,8 +3404,8 @@ function RewardExchangeView(props) {
3405
3404
  var _a;
3406
3405
  return [
3407
3406
  h("div", { part: "choose-reward-container" },
3408
- h("div", { class: sheet$b.classes.Title }, states.content.text.rewardTitle),
3409
- states.loading || states.queryError ? (loading()) : (h("div", { class: sheet$b.classes.Grid }, (_a = data.exchangeList) === null || _a === void 0 ? void 0 : _a.map((item) => {
3407
+ h("div", { class: sheet$a.classes.Title }, states.content.text.rewardTitle),
3408
+ states.loading || states.queryError ? (loading()) : (h("div", { class: sheet$a.classes.Grid }, (_a = data.exchangeList) === null || _a === void 0 ? void 0 : _a.map((item) => {
3410
3409
  var _a, _b, _c, _d, _e;
3411
3410
  const style = {
3412
3411
  boxShadow: item.key === (selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.key)
@@ -3415,7 +3414,7 @@ function RewardExchangeView(props) {
3415
3414
  borderRadius: "4px",
3416
3415
  };
3417
3416
  return (h("div", { key: item.key, style: style },
3418
- h("sl-card", { exportparts: "base: exchange-card-container", class: sheet$b.classes.Card, style: {
3417
+ h("sl-card", { exportparts: "base: exchange-card-container", class: sheet$a.classes.Card, style: {
3419
3418
  cursor: item.unavailableReasonCode
3420
3419
  ? "not-allowed"
3421
3420
  : "pointer",
@@ -3432,14 +3431,14 @@ function RewardExchangeView(props) {
3432
3431
  ? "rgba(0, 0, 0, 0.05)"
3433
3432
  : "rgba(0, 0, 0, 0)",
3434
3433
  } },
3435
- h("div", { class: sheet$b.classes.Image, style: {
3434
+ h("div", { class: sheet$a.classes.Image, style: {
3436
3435
  opacity: item.unavailableReasonCode ? "0.5" : "1",
3437
3436
  } },
3438
3437
  h("img", { class: item.unavailableReasonCode
3439
3438
  ? "image subdued"
3440
3439
  : "image", src: (item === null || item === void 0 ? void 0 : item.imageUrl) ||
3441
3440
  getAssetPath("./assets/Reward-image.png") })),
3442
- h("div", { class: sheet$b.classes.TextArea, style: {
3441
+ h("div", { class: sheet$a.classes.TextArea, style: {
3443
3442
  opacity: item.unavailableReasonCode ? "0.5" : "1",
3444
3443
  } },
3445
3444
  h("div", { class: "title", style: {
@@ -3472,7 +3471,7 @@ function RewardExchangeView(props) {
3472
3471
  item.prettySourceMinValue,
3473
3472
  }))))))));
3474
3473
  }))),
3475
- h("div", { class: sheet$b.classes.Button },
3474
+ h("div", { class: sheet$a.classes.Button },
3476
3475
  h("sl-button", { exportparts: "base: primarybutton-base", class: "continue right", size: "large", onClick: () => callbacks.setStage("chooseAmount"), loading: states.loading, disabled: !states.selectedItem }, states.content.text.continueText))),
3477
3476
  ];
3478
3477
  }
@@ -3483,7 +3482,7 @@ function RewardExchangeView(props) {
3483
3482
  ? false
3484
3483
  : input && !states.amount;
3485
3484
  return (h("div", null,
3486
- h("div", { class: sheet$b.classes.ChooseAmount, part: "choose-amount-container" },
3485
+ h("div", { class: sheet$a.classes.ChooseAmount, part: "choose-amount-container" },
3487
3486
  h("div", { class: "wrapper" },
3488
3487
  h("img", { class: "image", src: (selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.imageUrl) ||
3489
3488
  getAssetPath("./assets/Reward-image.png") }),
@@ -3492,7 +3491,7 @@ function RewardExchangeView(props) {
3492
3491
  ((_c = states.selectedItem) === null || _c === void 0 ? void 0 : _c.ruleType) === "FIXED_GLOBAL_REWARD" ? (h("div", { class: "points" }, input)) : (h("div", { class: "description" }, selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.description)),
3493
3492
  ((_d = states.selectedItem) === null || _d === void 0 ? void 0 : _d.ruleType) === "FIXED_GLOBAL_REWARD" ? (h("div", { class: "description" }, selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.description)) : (h("div", null, input)),
3494
3493
  h("div", { class: "space" }))),
3495
- h("div", { class: sheet$b.classes.Button },
3494
+ h("div", { class: sheet$a.classes.Button },
3496
3495
  h("sl-button", { exportparts: "base: secondarybutton-base", class: "cancel", size: "large", type: "text", onClick: () => callbacks.resetState() }, states.content.text.cancelText),
3497
3496
  h("sl-button", { exportparts: "base: primarybutton-base", class: "continue", size: "large", onClick: () => callbacks.setStage("confirmation"), disabled: isDisabled }, states.content.text.continueToConfirmationText)))));
3498
3497
  }
@@ -3500,8 +3499,8 @@ function RewardExchangeView(props) {
3500
3499
  const cost = (selectedStep === null || selectedStep === void 0 ? void 0 : selectedStep.prettySourceValue) || selectedItem.prettySourceValue;
3501
3500
  const amount = selectedStep === null || selectedStep === void 0 ? void 0 : selectedStep.prettyDestinationValue;
3502
3501
  return (h("div", null,
3503
- h("div", { class: sheet$b.classes.Confirmation, part: "confirmation-container" },
3504
- h("div", { class: sheet$b.classes.Title }, states.content.text.redeemTitle),
3502
+ h("div", { class: sheet$a.classes.Confirmation, part: "confirmation-container" },
3503
+ h("div", { class: sheet$a.classes.Title }, states.content.text.redeemTitle),
3505
3504
  h("div", { class: "wrapper" },
3506
3505
  h("div", { class: "field" }, states.content.text.rewardNameTitle),
3507
3506
  h("div", { class: "reward-item-container" },
@@ -3516,13 +3515,13 @@ function RewardExchangeView(props) {
3516
3515
  h("div", { class: "wrapper top-border padding" },
3517
3516
  h("div", { class: "field" }, states.content.text.costTitle),
3518
3517
  h("div", { class: "value" }, cost)),
3519
- h("div", { class: sheet$b.classes.Button },
3518
+ h("div", { class: sheet$a.classes.Button },
3520
3519
  h("sl-button", { class: "cancel", type: "text", size: "large", onClick: () => callbacks.setStage("chooseAmount") }, states.content.text.backText),
3521
3520
  h("sl-button", { class: "continue", size: "large", loading: states.loading, onClick: callbacks.exchangeReward }, states.content.text.redeemText)))));
3522
3521
  }
3523
3522
  function success() {
3524
3523
  var _a, _b, _c, _d, _e, _f;
3525
- return (h("div", { class: sheet$b.classes.Success, part: "success-container" },
3524
+ return (h("div", { class: sheet$a.classes.Success, part: "success-container" },
3526
3525
  h(Gift$1, null),
3527
3526
  h(Confetti, null),
3528
3527
  h("div", { class: "title" }, (_a = states.content.text) === null || _a === void 0 ? void 0 : _a.rewardRedeemedText),
@@ -3537,7 +3536,7 @@ function RewardExchangeView(props) {
3537
3536
  (data === null || data === void 0 ? void 0 : data.fuelTankCode) && (h("div", { class: "promo" },
3538
3537
  states.content.text.promoCode,
3539
3538
  h(CopyTextView, { copyString: data.fuelTankCode, tooltiptext: (_f = states === null || states === void 0 ? void 0 : states.content) === null || _f === void 0 ? void 0 : _f.text.tooltipText, open: states.open, onClick: callbacks.copyFuelTankCode }))),
3540
- h("div", { class: sheet$b.classes.Button },
3539
+ h("div", { class: sheet$a.classes.Button },
3541
3540
  h("sl-button", { class: "continue center", type: "primary", size: "large", onClick: () => callbacks.resetState(true) }, states.content.text.doneText))));
3542
3541
  }
3543
3542
  const stages = {
@@ -3549,7 +3548,7 @@ function RewardExchangeView(props) {
3549
3548
  const currentStage = stages[states.redeemStage];
3550
3549
  function stageMap() {
3551
3550
  const stageNumber = stageList.indexOf(states.redeemStage);
3552
- return (h("div", { class: sheet$b.classes.ProgressBar },
3551
+ return (h("div", { class: sheet$a.classes.ProgressBar },
3553
3552
  h("div", { class: "text-area" }, Object.keys(stageProgressList).map((stage) => {
3554
3553
  if (stageList.indexOf(stage) <= stageNumber) {
3555
3554
  return h("span", { class: "text" }, stageProgressList[stage]);
@@ -3561,10 +3560,10 @@ function RewardExchangeView(props) {
3561
3560
  h(ProgressBar, { stageCount: 3, currentStage: stageNumber })));
3562
3561
  }
3563
3562
  function loading() {
3564
- return (h("div", { class: sheet$b.classes.Grid, part: "loading-container" }, [...Array(states.content.text.skeletonCardNum)].map(() => {
3563
+ return (h("div", { class: sheet$a.classes.Grid, part: "loading-container" }, [...Array(states.content.text.skeletonCardNum)].map(() => {
3565
3564
  return (h("div", null,
3566
- h("sl-card", { class: sheet$b.classes.Card },
3567
- h("div", { class: sheet$b.classes.CardLayout },
3565
+ h("sl-card", { class: sheet$a.classes.Card },
3566
+ h("div", { class: sheet$a.classes.CardLayout },
3568
3567
  h("div", null,
3569
3568
  h("sl-skeleton", { style: {
3570
3569
  width: "100px",
@@ -3596,12 +3595,12 @@ function RewardExchangeView(props) {
3596
3595
  if (!(refs === null || refs === void 0 ? void 0 : refs.canvasRef))
3597
3596
  return;
3598
3597
  refs.canvasRef.current = canvas;
3599
- }, id: "my-canvas", class: sheet$b.classes.Confetti }));
3598
+ }, id: "my-canvas", class: sheet$a.classes.Confetti }));
3600
3599
  }
3601
3600
  if (states.noExchangeOptions)
3602
3601
  return states.content.text.empty;
3603
- return (h("div", { class: sheet$b.classes.Container, part: "sqm-base" },
3604
- h("style", { type: "text/css" }, styleString$b),
3602
+ return (h("div", { class: sheet$a.classes.Container, part: "sqm-base" },
3603
+ h("style", { type: "text/css" }, styleString$a),
3605
3604
  h("div", null,
3606
3605
  stageMap(),
3607
3606
  states.exchangeError && errorMessage(),
@@ -4017,29 +4016,29 @@ function CardFeedView(props, children) {
4017
4016
  h("div", { class: sheet.classes.Container, part: "sqm-base" }, children)));
4018
4017
  }
4019
4018
 
4020
- const style$c = {
4019
+ const style$b = {
4021
4020
  HostBlock: HostBlock,
4022
4021
  couponCodeLabel: {
4023
4022
  margin: "var(--sl-spacing-x-small) 0",
4024
- color: "var(--sl-color-gray-500)",
4023
+ color: "var(--sqm-text-subdued)",
4025
4024
  fontSize: "var(--sl-font-size-small)",
4026
4025
  },
4027
4026
  };
4028
- const vanillaStyle$7 = `
4027
+ const vanillaStyle$6 = `
4029
4028
  :host{
4030
4029
  display: block;
4031
4030
  width: 100%;
4032
4031
  }
4033
4032
  `;
4034
- const sheet$c = createStyleSheet(style$c);
4035
- const styleString$c = sheet$c.toString();
4033
+ const sheet$b = createStyleSheet(style$b);
4034
+ const styleString$b = sheet$b.toString();
4036
4035
  function CouponCodeView(props) {
4037
4036
  const error = !props.loading && props.error;
4038
4037
  return (h("div", null,
4039
4038
  h("style", { type: "text/css" },
4040
- styleString$c,
4041
- vanillaStyle$7),
4042
- h("p", { class: sheet$c.classes.couponCodeLabel, style: { textAlign: props.textAlign } }, props.couponCodeLabel),
4039
+ styleString$b,
4040
+ vanillaStyle$6),
4041
+ h("p", { class: sheet$b.classes.couponCodeLabel, style: { textAlign: props.textAlign } }, props.couponCodeLabel),
4043
4042
  error ? (h("sqm-form-message", { type: props.errorType, exportparts: "erroralert-icon" },
4044
4043
  h("div", { part: "erroralert-text" }, props.errorText))) : (h(CopyTextView, Object.assign({}, props)))));
4045
4044
  }