@saasquatch/mint-components 1.5.0-4 → 1.5.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 (230) hide show
  1. package/dist/cjs/{ShadowViewAddon-a85b8c8d.js → ShadowViewAddon-475e00d3.js} +3 -3
  2. package/dist/cjs/{global-6223fe8f.js → global-89f66e76.js} +2 -2
  3. package/dist/cjs/{index.module-7dd4b981.js → index.module-c0bf9df0.js} +16 -16
  4. package/dist/cjs/loader.cjs.js +3 -3
  5. package/dist/cjs/mint-components.cjs.js +3 -3
  6. package/dist/cjs/{re-render-6111d4bd.js → re-render-124b56ee.js} +4 -4
  7. package/dist/cjs/sqm-asset-card.cjs.entry.js +1 -1
  8. package/dist/cjs/sqm-big-stat.cjs.entry.js +2 -2
  9. package/dist/cjs/sqm-brand_31.cjs.entry.js +112 -117
  10. package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +4 -4
  11. package/dist/cjs/{sqm-leaderboard-rank-view-7dd44d62.js → sqm-leaderboard-rank-view-510f16d3.js} +2 -2
  12. package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +5 -5
  13. package/dist/cjs/sqm-leaderboard.cjs.entry.js +2 -2
  14. package/dist/cjs/sqm-name-fields.cjs.entry.js +1 -1
  15. package/dist/cjs/{sqm-navigation-sidebar-item-view-6c7f78e6.js → sqm-navigation-sidebar-item-view-a2bdcf05.js} +2 -2
  16. package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +3 -3
  17. package/dist/cjs/sqm-popup-container.cjs.entry.js +1 -1
  18. package/dist/cjs/{sqm-portal-email-verification-view-08d1848c.js → sqm-portal-email-verification-view-5093ac20.js} +1 -1
  19. package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +5 -5
  20. package/dist/cjs/{sqm-portal-footer-view-69c73802.js → sqm-portal-footer-view-03408484.js} +1 -1
  21. package/dist/cjs/sqm-portal-footer.cjs.entry.js +3 -3
  22. package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +3 -3
  23. package/dist/cjs/sqm-portal-logout.cjs.entry.js +3 -3
  24. package/dist/cjs/{sqm-portal-profile-view-14b41436.js → sqm-portal-profile-view-fa2db439.js} +1 -1
  25. package/dist/cjs/sqm-portal-profile.cjs.entry.js +6 -6
  26. package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +5 -5
  27. package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +5 -5
  28. package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +5 -5
  29. package/dist/cjs/{sqm-program-explainer-step-view-74863815.js → sqm-program-explainer-step-view-6a01cda0.js} +1 -1
  30. package/dist/cjs/sqm-program-explainer-step.cjs.entry.js +1 -1
  31. package/dist/cjs/{sqm-program-explainer-view-afed92f5.js → sqm-program-explainer-view-8a4af972.js} +1 -1
  32. package/dist/cjs/sqm-program-explainer.cjs.entry.js +1 -1
  33. package/dist/cjs/sqm-referral-table-column.cjs.entry.js +2 -2
  34. package/dist/cjs/sqm-referral-table-date-column.cjs.entry.js +2 -2
  35. package/dist/cjs/sqm-referral-table-rewards-column.cjs.entry.js +2 -2
  36. package/dist/cjs/sqm-referral-table-status-column.cjs.entry.js +2 -2
  37. package/dist/cjs/sqm-referral-table-user-column.cjs.entry.js +2 -2
  38. package/dist/cjs/sqm-share-code.cjs.entry.js +4 -4
  39. package/dist/cjs/{useDemoBigStat-2786227e.js → useDemoBigStat-5d71bbdf.js} +3 -3
  40. package/dist/collection/components/sqm-program-explainer/ProgramExplainer.stories.js +4 -4
  41. package/dist/collection/components/sqm-program-explainer/sqm-program-explainer-view.js +1 -1
  42. package/dist/collection/components/sqm-program-explainer/sqm-program-explainer.js +2 -2
  43. package/dist/collection/components/sqm-program-explainer-step/ProgramExplainerStep.stories.js +1 -1
  44. package/dist/collection/components/sqm-program-explainer-step/sqm-program-explainer-step-view.js +1 -1
  45. package/dist/collection/components/sqm-program-explainer-step/sqm-program-explainer-step.js +2 -2
  46. package/dist/collection/components/sqm-reward-exchange-list/useRewardExchangeList.js +4 -9
  47. package/dist/esm/{ShadowViewAddon-a3f510db.js → ShadowViewAddon-558fabb7.js} +3 -3
  48. package/dist/esm/{global-90da933f.js → global-e0e25c22.js} +2 -2
  49. package/dist/esm/{index.module-90d2c3ad.js → index.module-eb50a8d2.js} +2 -2
  50. package/dist/esm/loader.js +3 -3
  51. package/dist/esm/mint-components.js +3 -3
  52. package/dist/esm/{re-render-e06f2f7f.js → re-render-6d5b856e.js} +4 -4
  53. package/dist/esm/sqm-asset-card.entry.js +1 -1
  54. package/dist/esm/sqm-big-stat.entry.js +2 -2
  55. package/dist/esm/sqm-brand_31.entry.js +112 -117
  56. package/dist/esm/sqm-graphql-client-provider.entry.js +4 -4
  57. package/dist/esm/{sqm-leaderboard-rank-view-47844836.js → sqm-leaderboard-rank-view-cd1e8962.js} +2 -2
  58. package/dist/esm/sqm-leaderboard-rank.entry.js +5 -5
  59. package/dist/esm/sqm-leaderboard.entry.js +2 -2
  60. package/dist/esm/sqm-name-fields.entry.js +1 -1
  61. package/dist/esm/{sqm-navigation-sidebar-item-view-f2304ad9.js → sqm-navigation-sidebar-item-view-2d8c368c.js} +2 -2
  62. package/dist/esm/sqm-navigation-sidebar-item.entry.js +3 -3
  63. package/dist/esm/sqm-popup-container.entry.js +1 -1
  64. package/dist/esm/{sqm-portal-email-verification-view-8cefe480.js → sqm-portal-email-verification-view-2af31979.js} +1 -1
  65. package/dist/esm/sqm-portal-email-verification.entry.js +5 -5
  66. package/dist/esm/{sqm-portal-footer-view-d9fe0bf8.js → sqm-portal-footer-view-60cd9ae5.js} +1 -1
  67. package/dist/esm/sqm-portal-footer.entry.js +3 -3
  68. package/dist/esm/sqm-portal-forgot-password.entry.js +3 -3
  69. package/dist/esm/sqm-portal-logout.entry.js +3 -3
  70. package/dist/esm/{sqm-portal-profile-view-b67467b4.js → sqm-portal-profile-view-f1deea0f.js} +1 -1
  71. package/dist/esm/sqm-portal-profile.entry.js +6 -6
  72. package/dist/esm/sqm-portal-protected-route.entry.js +5 -5
  73. package/dist/esm/sqm-portal-reset-password.entry.js +7 -7
  74. package/dist/esm/sqm-portal-verify-email.entry.js +5 -5
  75. package/dist/esm/{sqm-program-explainer-step-view-f190277a.js → sqm-program-explainer-step-view-41c1eecd.js} +1 -1
  76. package/dist/esm/sqm-program-explainer-step.entry.js +1 -1
  77. package/dist/esm/{sqm-program-explainer-view-1c603bb7.js → sqm-program-explainer-view-098a64a9.js} +1 -1
  78. package/dist/esm/sqm-program-explainer.entry.js +1 -1
  79. package/dist/esm/sqm-referral-table-column.entry.js +2 -2
  80. package/dist/esm/sqm-referral-table-date-column.entry.js +2 -2
  81. package/dist/esm/sqm-referral-table-rewards-column.entry.js +2 -2
  82. package/dist/esm/sqm-referral-table-status-column.entry.js +2 -2
  83. package/dist/esm/sqm-referral-table-user-column.entry.js +2 -2
  84. package/dist/esm/sqm-share-code.entry.js +4 -4
  85. package/dist/esm/{useDemoBigStat-c3b955b7.js → useDemoBigStat-d227b2f9.js} +3 -3
  86. package/dist/esm-es5/ShadowViewAddon-558fabb7.js +1 -0
  87. package/dist/esm-es5/{global-90da933f.js → global-e0e25c22.js} +2 -2
  88. package/dist/esm-es5/{index.module-90d2c3ad.js → index.module-eb50a8d2.js} +1 -1
  89. package/dist/esm-es5/loader.js +1 -1
  90. package/dist/esm-es5/mint-components.js +1 -1
  91. package/dist/esm-es5/{re-render-e06f2f7f.js → re-render-6d5b856e.js} +1 -1
  92. package/dist/esm-es5/sqm-asset-card.entry.js +1 -1
  93. package/dist/esm-es5/sqm-big-stat.entry.js +1 -1
  94. package/dist/esm-es5/sqm-brand_31.entry.js +2 -2
  95. package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
  96. package/dist/esm-es5/{sqm-leaderboard-rank-view-47844836.js → sqm-leaderboard-rank-view-cd1e8962.js} +1 -1
  97. package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
  98. package/dist/esm-es5/sqm-leaderboard.entry.js +1 -1
  99. package/dist/esm-es5/sqm-name-fields.entry.js +1 -1
  100. package/dist/esm-es5/sqm-navigation-sidebar-item-view-2d8c368c.js +1 -0
  101. package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
  102. package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
  103. package/dist/esm-es5/{sqm-portal-email-verification-view-8cefe480.js → sqm-portal-email-verification-view-2af31979.js} +1 -1
  104. package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
  105. package/dist/esm-es5/{sqm-portal-footer-view-d9fe0bf8.js → sqm-portal-footer-view-60cd9ae5.js} +1 -1
  106. package/dist/esm-es5/sqm-portal-footer.entry.js +1 -1
  107. package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -1
  108. package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
  109. package/dist/esm-es5/{sqm-portal-profile-view-b67467b4.js → sqm-portal-profile-view-f1deea0f.js} +1 -1
  110. package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
  111. package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -1
  112. package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
  113. package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
  114. package/dist/esm-es5/{sqm-program-explainer-step-view-f190277a.js → sqm-program-explainer-step-view-41c1eecd.js} +1 -1
  115. package/dist/esm-es5/sqm-program-explainer-step.entry.js +1 -1
  116. package/dist/esm-es5/{sqm-program-explainer-view-1c603bb7.js → sqm-program-explainer-view-098a64a9.js} +1 -1
  117. package/dist/esm-es5/sqm-program-explainer.entry.js +1 -1
  118. package/dist/esm-es5/sqm-referral-table-column.entry.js +1 -1
  119. package/dist/esm-es5/sqm-referral-table-date-column.entry.js +1 -1
  120. package/dist/esm-es5/sqm-referral-table-rewards-column.entry.js +1 -1
  121. package/dist/esm-es5/sqm-referral-table-status-column.entry.js +1 -1
  122. package/dist/esm-es5/sqm-referral-table-user-column.entry.js +1 -1
  123. package/dist/esm-es5/sqm-share-code.entry.js +1 -1
  124. package/dist/esm-es5/useDemoBigStat-d227b2f9.js +1 -0
  125. package/dist/mint-components/mint-components.esm.js +1 -1
  126. package/dist/mint-components/mint-components.js +1 -1
  127. package/dist/mint-components/{p-a6094ff9.system.js → p-02dc36a4.system.js} +1 -1
  128. package/dist/mint-components/{p-3ce2fb83.system.js → p-03e93c82.system.js} +1 -1
  129. package/dist/mint-components/p-0d8b2757.system.entry.js +1 -0
  130. package/dist/mint-components/{p-b608f7a4.system.js → p-0e8ae7e3.system.js} +1 -1
  131. package/dist/mint-components/{p-3b6228f4.system.js → p-10103ce2.system.js} +1 -1
  132. package/dist/mint-components/{p-221a4097.entry.js → p-1705e549.entry.js} +1 -1
  133. package/dist/mint-components/{p-2d6421b6.system.js → p-1b5b5928.system.js} +1 -1
  134. package/dist/mint-components/{p-0eb3e89c.js → p-1f95b411.js} +1 -1
  135. package/dist/mint-components/{p-44d0fc80.system.entry.js → p-2027edc0.system.entry.js} +1 -1
  136. package/dist/mint-components/{p-a4c2c7ed.entry.js → p-20c95798.entry.js} +1 -1
  137. package/dist/mint-components/{p-b1bb07db.entry.js → p-21b4044a.entry.js} +1 -1
  138. package/dist/mint-components/{p-9e4e397a.system.entry.js → p-21df3f85.system.entry.js} +1 -1
  139. package/dist/mint-components/{p-db2e4c42.js → p-221bd06e.js} +1 -1
  140. package/dist/mint-components/p-2338162a.entry.js +1 -0
  141. package/dist/mint-components/{p-73148868.system.entry.js → p-24fa8920.system.entry.js} +1 -1
  142. package/dist/mint-components/{p-e6d77d20.system.entry.js → p-29ee7d11.system.entry.js} +1 -1
  143. package/dist/mint-components/{p-e7f633b9.system.js → p-2e63dcfd.system.js} +1 -1
  144. package/dist/mint-components/{p-9d6dbb2d.entry.js → p-3143cce4.entry.js} +1 -1
  145. package/dist/mint-components/p-34112d74.entry.js +1 -0
  146. package/dist/mint-components/{p-3b97aed8.system.js → p-40e83a85.system.js} +1 -1
  147. package/dist/mint-components/{p-be2738b0.system.entry.js → p-46493de5.system.entry.js} +1 -1
  148. package/dist/mint-components/{p-1dcdca58.system.entry.js → p-4658d225.system.entry.js} +1 -1
  149. package/dist/mint-components/{p-6882070c.js → p-4b719313.js} +1 -1
  150. package/dist/mint-components/{p-29fab29b.entry.js → p-53e51b3f.entry.js} +1 -1
  151. package/dist/mint-components/p-5939212e.system.entry.js +1 -0
  152. package/dist/mint-components/{p-d35b0366.js → p-5d925bb6.js} +1 -1
  153. package/dist/mint-components/{p-c6114bfe.system.js → p-5e4e7f01.system.js} +1 -1
  154. package/dist/mint-components/{p-224504ad.js → p-61acba7a.js} +1 -1
  155. package/dist/mint-components/{p-f17050de.entry.js → p-65c79eec.entry.js} +1 -1
  156. package/dist/mint-components/{p-bf1b79ba.entry.js → p-748ad4f5.entry.js} +1 -1
  157. package/dist/mint-components/{p-52802c88.entry.js → p-759d3800.entry.js} +2 -2
  158. package/dist/mint-components/{p-49cbd0a2.entry.js → p-760762d3.entry.js} +2 -2
  159. package/dist/mint-components/{p-33c5ffb7.entry.js → p-7cdbe82a.entry.js} +1 -1
  160. package/dist/mint-components/{p-84dc4854.entry.js → p-7cec5098.entry.js} +4 -3
  161. package/dist/mint-components/{p-223b42bd.system.entry.js → p-7ff22998.system.entry.js} +1 -1
  162. package/dist/mint-components/{p-6c9c4477.js → p-81786aa0.js} +1 -1
  163. package/dist/mint-components/p-85efd952.entry.js +1 -0
  164. package/dist/mint-components/p-86255b95.entry.js +1 -0
  165. package/dist/mint-components/{p-24c9a599.system.entry.js → p-88fdfd94.system.entry.js} +1 -1
  166. package/dist/mint-components/{p-c3f91add.system.entry.js → p-8ec5127e.system.entry.js} +1 -1
  167. package/dist/mint-components/{p-46a4269a.js → p-8fd8682c.js} +1 -1
  168. package/dist/mint-components/{p-412a9226.system.entry.js → p-97b946c2.system.entry.js} +1 -1
  169. package/dist/mint-components/p-9be0cb19.entry.js +1 -0
  170. package/dist/mint-components/{p-1a09e4e1.system.entry.js → p-a0a26fc5.system.entry.js} +1 -1
  171. package/dist/mint-components/{p-304e6c82.system.entry.js → p-a355eeaf.system.entry.js} +1 -1
  172. package/dist/mint-components/p-a4bd0778.system.entry.js +58 -0
  173. package/dist/mint-components/{p-67ae18d1.system.entry.js → p-a8246a50.system.entry.js} +1 -1
  174. package/dist/mint-components/p-a831de18.entry.js +1 -0
  175. package/dist/mint-components/p-a833dbb3.js +1 -0
  176. package/dist/mint-components/p-a88a08bb.system.js +1 -0
  177. package/dist/mint-components/{p-b8bd2607.entry.js → p-a9a6f205.entry.js} +1 -1
  178. package/dist/mint-components/{p-6e245fa3.system.entry.js → p-aee83885.system.entry.js} +1 -1
  179. package/dist/mint-components/{p-cca9026f.system.entry.js → p-b86cbac3.system.entry.js} +1 -1
  180. package/dist/mint-components/{p-07c924fa.system.js → p-be3a0cc4.system.js} +1 -1
  181. package/dist/mint-components/{p-3397167c.entry.js → p-c0f9d0b1.entry.js} +1 -1
  182. package/dist/mint-components/{p-60855d33.system.js → p-c65cfc9d.system.js} +1 -1
  183. package/dist/mint-components/{p-dc603d08.system.entry.js → p-ca40dbaa.system.entry.js} +1 -1
  184. package/dist/mint-components/{p-9c554ca0.system.js → p-cc189fc4.system.js} +1 -1
  185. package/dist/mint-components/{p-fce1dbf6.entry.js → p-cc652a53.entry.js} +1 -1
  186. package/dist/mint-components/{p-f90486ca.js → p-d19d6012.js} +15 -15
  187. package/dist/mint-components/p-d3c7dbfc.entry.js +1 -0
  188. package/dist/mint-components/{p-24b3c6f0.system.entry.js → p-d4a1bce9.system.entry.js} +1 -1
  189. package/dist/mint-components/p-d68f6b64.system.entry.js +1 -0
  190. package/dist/mint-components/p-e36ff7fa.entry.js +1 -0
  191. package/dist/mint-components/{p-723ebe45.entry.js → p-e608f340.entry.js} +2 -2
  192. package/dist/mint-components/{p-c79c608d.system.entry.js → p-e7cb4274.system.entry.js} +1 -1
  193. package/dist/mint-components/{p-bc8b6125.js → p-ee684b5f.js} +1 -1
  194. package/dist/mint-components/{p-6bf0a4d9.system.entry.js → p-ef7f70f2.system.entry.js} +1 -1
  195. package/dist/mint-components/{p-396bf448.system.entry.js → p-f20d9204.system.entry.js} +1 -1
  196. package/dist/mint-components/{p-96a1967b.entry.js → p-f5cfc52a.entry.js} +1 -1
  197. package/dist/mint-components/{p-d21e0dbd.js → p-f7f87338.js} +1 -1
  198. package/dist/mint-components/{p-cdeae699.system.js → p-f9ada3d7.system.js} +1 -1
  199. package/dist/mint-components/{p-563253e8.js → p-faf66fdb.js} +1 -1
  200. package/dist/mint-components/p-fcd03042.entry.js +1 -0
  201. package/dist/mint-components/{p-69bcf4fa.system.entry.js → p-fd281e6b.system.entry.js} +1 -1
  202. package/dist/types/components/sqm-program-explainer/sqm-program-explainer-view.d.ts +1 -1
  203. package/dist/types/components/sqm-program-explainer/sqm-program-explainer.d.ts +1 -1
  204. package/dist/types/components/sqm-program-explainer-step/sqm-program-explainer-step-view.d.ts +1 -1
  205. package/dist/types/components/sqm-program-explainer-step/sqm-program-explainer-step.d.ts +1 -1
  206. package/dist/types/components.d.ts +16 -16
  207. package/grapesjs/grapesjs.js +1 -1
  208. package/package.json +1 -1
  209. package/dist/esm-es5/ShadowViewAddon-a3f510db.js +0 -1
  210. package/dist/esm-es5/sqm-navigation-sidebar-item-view-f2304ad9.js +0 -1
  211. package/dist/esm-es5/useDemoBigStat-c3b955b7.js +0 -1
  212. package/dist/mint-components/p-160bd62f.entry.js +0 -1
  213. package/dist/mint-components/p-16f5a7cb.system.js +0 -1
  214. package/dist/mint-components/p-1c8b0290.entry.js +0 -1
  215. package/dist/mint-components/p-20d41ab1.entry.js +0 -1
  216. package/dist/mint-components/p-3d856985.entry.js +0 -1
  217. package/dist/mint-components/p-4052b948.system.entry.js +0 -1
  218. package/dist/mint-components/p-45c752a0.entry.js +0 -1
  219. package/dist/mint-components/p-5480e4ee.entry.js +0 -1
  220. package/dist/mint-components/p-5f4d838e.system.entry.js +0 -58
  221. package/dist/mint-components/p-8435a22d.entry.js +0 -1
  222. package/dist/mint-components/p-883a32e7.entry.js +0 -1
  223. package/dist/mint-components/p-9e4fee30.system.entry.js +0 -1
  224. package/dist/mint-components/p-a2c3cff3.js +0 -1
  225. package/dist/mint-components/p-ade44a4e.entry.js +0 -1
  226. package/dist/mint-components/p-d174d0bc.system.entry.js +0 -1
  227. package/dist/types/global/android.d.ts +0 -7
  228. package/dist/types/global/demo.d.ts +0 -1
  229. package/dist/types/stories/features.d.ts +0 -4
  230. package/dist/types/stories/templates.d.ts +0 -4
@@ -1,15 +1,15 @@
1
1
  import { r as registerInstance, h as h$1, c as Host } from './index-17b4da69.js';
2
2
  import { o as m, e as useEffect, m as h } from './extends-3a3f9fe2.js';
3
3
  import './use-callback-b38a1523.js';
4
- import { Q, k, g as pe, h as ge } from './index.module-90d2c3ad.js';
4
+ import { g as ee, k, h as Se, P as Pe } from './index.module-eb50a8d2.js';
5
5
 
6
6
  async function useGraphQLClientProvider({ domain }) {
7
- const token = Q();
7
+ const token = ee();
8
8
  const appDomain = domain;
9
9
  const tenantAlias = k();
10
10
  // Memoization is shared. One client per domain, tenant and token (or null)
11
- const managedIdentityClient = pe(appDomain, tenantAlias, token);
12
- const [, setGraphQLClient] = m(ge, managedIdentityClient);
11
+ const managedIdentityClient = Se(appDomain, tenantAlias, token);
12
+ const [, setGraphQLClient] = m(Pe, managedIdentityClient);
13
13
  useEffect(() => {
14
14
  setGraphQLClient(managedIdentityClient);
15
15
  }, [managedIdentityClient]);
@@ -1,6 +1,6 @@
1
1
  import { h } from './index-17b4da69.js';
2
- import { _ as __assign } from './global-90da933f.js';
3
- import { p as parse } from './index.module-90d2c3ad.js';
2
+ import { _ as __assign } from './global-e0e25c22.js';
3
+ import { f as parse } from './index.module-eb50a8d2.js';
4
4
 
5
5
  var docCache = new Map();
6
6
  var fragmentSourceMap = new Map();
@@ -1,10 +1,10 @@
1
1
  import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
2
2
  import { m as h } from './extends-3a3f9fe2.js';
3
- import { i as intl, c as createIntl } from './global-90da933f.js';
3
+ import { i as intl, c as createIntl } from './global-e0e25c22.js';
4
4
  import './use-callback-b38a1523.js';
5
- import { M, T, e as en, j } from './index.module-90d2c3ad.js';
5
+ import { M, n as ne, c as cn, j } from './index.module-eb50a8d2.js';
6
6
  import { c as cjs } from './cjs-bdfb4486.js';
7
- import { g as gql, L as LeaderboardRankView } from './sqm-leaderboard-rank-view-47844836.js';
7
+ import { g as gql, L as LeaderboardRankView } from './sqm-leaderboard-rank-view-cd1e8962.js';
8
8
 
9
9
  const GET_RANK = gql `
10
10
  query ($type: String!, $filter: UserLeaderboardFilterInput) {
@@ -22,7 +22,7 @@ const GET_RANK = gql `
22
22
  function useLeaderboardRank(props) {
23
23
  var _a, _b, _c;
24
24
  const programId = M();
25
- const user = T();
25
+ const user = ne();
26
26
  const rankVariables = {
27
27
  type: props.leaderboardType,
28
28
  filter: { programId_eq: programId },
@@ -30,7 +30,7 @@ function useLeaderboardRank(props) {
30
30
  if (props.interval) {
31
31
  rankVariables.filter["interval"] = props.interval;
32
32
  }
33
- const { data: rankData } = en(GET_RANK, rankVariables, !(user === null || user === void 0 ? void 0 : user.jwt));
33
+ const { data: rankData } = cn(GET_RANK, rankVariables, !(user === null || user === void 0 ? void 0 : user.jwt));
34
34
  const fullRankText = ((_a = rankData === null || rankData === void 0 ? void 0 : rankData.viewer) === null || _a === void 0 ? void 0 : _a.leaderboardRank) ? intl.formatMessage({ id: "rankText", defaultMessage: props.rankText }, {
35
35
  rank: (_c = (_b = rankData === null || rankData === void 0 ? void 0 : rankData.viewer) === null || _b === void 0 ? void 0 : _b.leaderboardRank) === null || _c === void 0 ? void 0 : _c[props.rankType],
36
36
  })
@@ -1,9 +1,9 @@
1
1
  import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
2
2
  import { m as h } from './extends-3a3f9fe2.js';
3
3
  import './use-callback-b38a1523.js';
4
- import { j } from './index.module-90d2c3ad.js';
4
+ import { j } from './index.module-eb50a8d2.js';
5
5
  import { c as cjs } from './cjs-bdfb4486.js';
6
- import { w as withShadowView, u as useLeaderboard, L as LeaderboardView } from './ShadowViewAddon-a3f510db.js';
6
+ import { w as withShadowView, u as useLeaderboard, L as LeaderboardView } from './ShadowViewAddon-558fabb7.js';
7
7
 
8
8
  const sqmLeaderboardCss = ":host{display:block}:host([hidden]){display:none}table{width:100%}th{font-size:var(--sl-font-size-small);font-weight:var(--sl-font-weight-semibold);text-align:left}td{font-size:var(--sl-font-size-medium);font-weight:var(--sl-font-weight-normal)}td,th{color:var(--sl-color-gray-800);padding:var(--sl-spacing-x-small) var(--sl-spacing-small)}.User{width:100%}.Score{width:auto;white-space:nowrap}";
9
9
 
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
2
2
  import { n as d, m as h } from './extends-3a3f9fe2.js';
3
3
  import './use-callback-b38a1523.js';
4
- import { j } from './index.module-90d2c3ad.js';
4
+ import { j } from './index.module-eb50a8d2.js';
5
5
  import './jss-preset-default.esm-71fae192.js';
6
6
  import { c as cjs } from './cjs-bdfb4486.js';
7
7
  import './mixins-10353a39.js';
@@ -1,5 +1,5 @@
1
1
  import { h } from './index-17b4da69.js';
2
- import { r as rn } from './index.module-90d2c3ad.js';
2
+ import { b as mn } from './index.module-eb50a8d2.js';
3
3
  import { j as jss, c as create } from './jss-preset-default.esm-71fae192.js';
4
4
  import { g as gap } from './mixins-10353a39.js';
5
5
 
@@ -32,7 +32,7 @@ function NavigationSidebarItemView(props) {
32
32
  const styleString = sheet.toString();
33
33
  return (h("a", { href: data.path, onClick: (e) => {
34
34
  e.preventDefault();
35
- rn.push(data.path);
35
+ mn.push(data.path);
36
36
  }, class: sheet.classes.ItemContainer },
37
37
  h("style", { type: "text/css" }, styleString),
38
38
  h("sl-icon", { class: sheet.classes.Icon, name: data.icon }),
@@ -1,15 +1,15 @@
1
1
  import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
2
2
  import { m as h } from './extends-3a3f9fe2.js';
3
3
  import './use-callback-b38a1523.js';
4
- import { c as an, j } from './index.module-90d2c3ad.js';
4
+ import { v as vn, j } from './index.module-eb50a8d2.js';
5
5
  import './jss-preset-default.esm-71fae192.js';
6
6
  import { g as getProps } from './utils-454405f5.js';
7
7
  import { c as cjs } from './cjs-bdfb4486.js';
8
8
  import './mixins-10353a39.js';
9
- import { N as NavigationSidebarItemView } from './sqm-navigation-sidebar-item-view-f2304ad9.js';
9
+ import { N as NavigationSidebarItemView } from './sqm-navigation-sidebar-item-view-2d8c368c.js';
10
10
 
11
11
  function useNavigationSidebarItem(props) {
12
- const currentPage = an();
12
+ const currentPage = vn();
13
13
  return {
14
14
  states: {
15
15
  active: currentPage.pathname === props.path,
@@ -1,7 +1,7 @@
1
1
  import { h, c as Host, r as registerInstance } from './index-17b4da69.js';
2
2
  import { m as h$1 } from './extends-3a3f9fe2.js';
3
3
  import './use-callback-b38a1523.js';
4
- import { x } from './index.module-90d2c3ad.js';
4
+ import { x } from './index.module-eb50a8d2.js';
5
5
  import { g as getProps } from './utils-454405f5.js';
6
6
 
7
7
  const PopupContainerView = (props) => {
@@ -1,5 +1,5 @@
1
1
  import { h } from './index-17b4da69.js';
2
- import { i as intl } from './global-90da933f.js';
2
+ import { i as intl } from './global-e0e25c22.js';
3
3
  import { j as jss, c as create } from './jss-preset-default.esm-71fae192.js';
4
4
  import { A as AuthWrapper, a as AuthColumn } from './mixins-10353a39.js';
5
5
  import { T as TextSpanView } from './sqm-text-span-view-1781df94.js';
@@ -1,18 +1,18 @@
1
1
  import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
2
2
  import { j as useState, e as useEffect, m as h } from './extends-3a3f9fe2.js';
3
- import './global-90da933f.js';
3
+ import './global-e0e25c22.js';
4
4
  import './use-callback-b38a1523.js';
5
- import { B as Be, T, j } from './index.module-90d2c3ad.js';
5
+ import { i as an, n as ne, j } from './index.module-eb50a8d2.js';
6
6
  import './jss-preset-default.esm-71fae192.js';
7
7
  import { c as cjs } from './cjs-bdfb4486.js';
8
8
  import './mixins-10353a39.js';
9
9
  import './sqm-text-span-view-1781df94.js';
10
- import { P as PortalEmailVerificationView } from './sqm-portal-email-verification-view-8cefe480.js';
10
+ import { P as PortalEmailVerificationView } from './sqm-portal-email-verification-view-2af31979.js';
11
11
 
12
12
  function usePortalEmailVerification(props) {
13
13
  var _a, _b, _c, _d, _e;
14
- const [request, { loading, data, errors }] = Be();
15
- const userIdent = T();
14
+ const [request, { loading, data, errors }] = an();
15
+ const userIdent = ne();
16
16
  const email = (_a = userIdent === null || userIdent === void 0 ? void 0 : userIdent.managedIdentity) === null || _a === void 0 ? void 0 : _a.email;
17
17
  const [success, setSuccess] = useState(false);
18
18
  const [error, setError] = useState("");
@@ -1,5 +1,5 @@
1
1
  import { h } from './index-17b4da69.js';
2
- import { i as intl } from './global-90da933f.js';
2
+ import { i as intl } from './global-e0e25c22.js';
3
3
  import { j as jss, c as create } from './jss-preset-default.esm-71fae192.js';
4
4
 
5
5
  function PoweredByImg({ color = "#A6A6A6", width = 190, height = 29, }) {
@@ -1,11 +1,11 @@
1
1
  import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
2
2
  import { m as h } from './extends-3a3f9fe2.js';
3
- import './global-90da933f.js';
3
+ import './global-e0e25c22.js';
4
4
  import './use-callback-b38a1523.js';
5
- import './index.module-90d2c3ad.js';
5
+ import './index.module-eb50a8d2.js';
6
6
  import './jss-preset-default.esm-71fae192.js';
7
7
  import { g as getProps } from './utils-454405f5.js';
8
- import { a as PortalFooterView } from './sqm-portal-footer-view-d9fe0bf8.js';
8
+ import { a as PortalFooterView } from './sqm-portal-footer-view-60cd9ae5.js';
9
9
 
10
10
  const PortalFooter = class {
11
11
  constructor(hostRef) {
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
2
2
  import { j as useState, e as useEffect, m as h } from './extends-3a3f9fe2.js';
3
3
  import './use-callback-b38a1523.js';
4
- import { z as ze, j, r as rn } from './index.module-90d2c3ad.js';
4
+ import { t as tn, j, b as mn } from './index.module-eb50a8d2.js';
5
5
  import { j as jsonpointer } from './jsonpointer-388a7082.js';
6
6
  import './jss-preset-default.esm-71fae192.js';
7
7
  import { c as cjs } from './cjs-bdfb4486.js';
@@ -13,7 +13,7 @@ function usePortalForgotPassword() {
13
13
  var _a, _b, _c, _d;
14
14
  const [success, setSuccess] = useState(false);
15
15
  const [error, setError] = useState("");
16
- const [request, { loading, data, errors }] = ze();
16
+ const [request, { loading, data, errors }] = tn();
17
17
  const urlParams = new URLSearchParams(window.location.search);
18
18
  const nextPage = urlParams.get("nextPage");
19
19
  const submit = async (event) => {
@@ -69,7 +69,7 @@ const PortalForgotPassword = class {
69
69
  ? usePortalForgotPasswordDemo(this)
70
70
  : usePortalForgotPassword();
71
71
  const content = {
72
- secondaryButton: (h$1("slot", { name: "secondaryButton" }, h$1("sl-button", { type: "text", disabled: states.loading, onClick: () => rn.push("/login") }, "Sign In"))),
72
+ secondaryButton: (h$1("slot", { name: "secondaryButton" }, h$1("sl-button", { type: "text", disabled: states.loading, onClick: () => mn.push("/login") }, "Sign In"))),
73
73
  messageSlot: (h$1("slot", { name: "messageSlot" }, "Enter your email below to receive a password reset link.")),
74
74
  emailLabel: this.emailLabel,
75
75
  submitLabel: this.submitLabel,
@@ -1,11 +1,11 @@
1
1
  import { r as registerInstance } from './index-17b4da69.js';
2
2
  import { m as h } from './extends-3a3f9fe2.js';
3
3
  import './use-callback-b38a1523.js';
4
- import { L, r as rn, j } from './index.module-90d2c3ad.js';
4
+ import { Y, b as mn, j } from './index.module-eb50a8d2.js';
5
5
 
6
6
  function usePortalLogout({ nextPage }) {
7
- L(undefined);
8
- rn.push({ pathname: nextPage, search: "" });
7
+ Y(undefined);
8
+ mn.push({ pathname: nextPage, search: "" });
9
9
  }
10
10
 
11
11
  const PortalLogout = class {
@@ -1,5 +1,5 @@
1
1
  import { h } from './index-17b4da69.js';
2
- import { i as intl } from './global-90da933f.js';
2
+ import { i as intl } from './global-e0e25c22.js';
3
3
  import { j as jss, c as create } from './jss-preset-default.esm-71fae192.js';
4
4
  import { P as PortalContainerView } from './sqm-portal-container-view-73757ca5.js';
5
5
  import { T as TextSpanView } from './sqm-text-span-view-1781df94.js';
@@ -1,14 +1,14 @@
1
1
  import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
2
2
  import { j as useState, e as useEffect, m as h } from './extends-3a3f9fe2.js';
3
- import './global-90da933f.js';
3
+ import './global-e0e25c22.js';
4
4
  import './use-callback-b38a1523.js';
5
- import { d as dist, T, e as en, b as be, j } from './index.module-90d2c3ad.js';
5
+ import { d as dist, n as ne, c as cn, D as De, j } from './index.module-eb50a8d2.js';
6
6
  import './jss-preset-default.esm-71fae192.js';
7
7
  import { g as getProps } from './utils-454405f5.js';
8
8
  import { c as cjs } from './cjs-bdfb4486.js';
9
9
  import './sqm-portal-container-view-73757ca5.js';
10
10
  import './sqm-text-span-view-1781df94.js';
11
- import { P as PortalProfileView } from './sqm-portal-profile-view-b67467b4.js';
11
+ import { P as PortalProfileView } from './sqm-portal-profile-view-f1deea0f.js';
12
12
 
13
13
  const GET_USER = dist.gql `
14
14
  query {
@@ -54,12 +54,12 @@ const defaultFormState = {
54
54
  error: "",
55
55
  };
56
56
  function usePortalProfile(props) {
57
- const userIdent = T();
57
+ const userIdent = ne();
58
58
  const [success, setSuccess] = useState(false);
59
59
  const [userData, setUserData] = useState(undefined);
60
60
  const [formState, setFormState] = useState(defaultFormState);
61
- const userDataResponse = en(GET_USER, {}, !(userIdent === null || userIdent === void 0 ? void 0 : userIdent.jwt));
62
- const [upsertUser, upsertUserResponse] = be(UPSERT_USER);
61
+ const userDataResponse = cn(GET_USER, {}, !(userIdent === null || userIdent === void 0 ? void 0 : userIdent.jwt));
62
+ const [upsertUser, upsertUserResponse] = De(UPSERT_USER);
63
63
  useEffect(() => {
64
64
  if (upsertUserResponse === null || upsertUserResponse === void 0 ? void 0 : upsertUserResponse.loading)
65
65
  return;
@@ -1,25 +1,25 @@
1
1
  import { r as registerInstance, h as h$1, c as Host } from './index-17b4da69.js';
2
2
  import { e as useEffect, m as h } from './extends-3a3f9fe2.js';
3
3
  import './use-callback-b38a1523.js';
4
- import { T, c as an, r as rn, j } from './index.module-90d2c3ad.js';
4
+ import { n as ne, v as vn, b as mn, j } from './index.module-eb50a8d2.js';
5
5
 
6
6
  function usePortalProtectedRoute({ requireEmailVerification, redirectTo, redirectToUnverified, }) {
7
7
  var _a;
8
- const userIdent = T();
8
+ const userIdent = ne();
9
9
  const authenticated = !!(userIdent === null || userIdent === void 0 ? void 0 : userIdent.jwt);
10
10
  const emailVerified = (_a = userIdent === null || userIdent === void 0 ? void 0 : userIdent.managedIdentity) === null || _a === void 0 ? void 0 : _a.emailVerified;
11
- const { pathname, search } = an();
11
+ const { pathname, search } = vn();
12
12
  const nextPageParam = new URLSearchParams();
13
13
  nextPageParam.append("nextPage", `${pathname}${search}`);
14
14
  useEffect(() => {
15
15
  if (!authenticated) {
16
- return rn.push({
16
+ return mn.push({
17
17
  pathname: redirectTo,
18
18
  search: "?" + nextPageParam.toString(),
19
19
  });
20
20
  }
21
21
  if (requireEmailVerification && !emailVerified) {
22
- return rn.push({
22
+ return mn.push({
23
23
  pathname: redirectToUnverified || redirectTo,
24
24
  search: "?" + nextPageParam.toString(),
25
25
  });
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
2
2
  import { j as useState, e as useEffect, m as h } from './extends-3a3f9fe2.js';
3
3
  import './use-callback-b38a1523.js';
4
- import { i as Re, $ as $e, r as rn, j } from './index.module-90d2c3ad.js';
4
+ import { L as Le, _ as _e, b as mn, j } from './index.module-eb50a8d2.js';
5
5
  import { j as jsonpointer } from './jsonpointer-388a7082.js';
6
6
  import './jss-preset-default.esm-71fae192.js';
7
7
  import { c as cjs } from './cjs-bdfb4486.js';
@@ -10,11 +10,11 @@ import './sqm-text-span-view-1781df94.js';
10
10
  import { P as PortalResetPasswordView } from './sqm-portal-reset-password-view-a4e50da2.js';
11
11
 
12
12
  function usePortalResetPassword(props) {
13
- var _a, _b, _c, _d, _e, _f;
13
+ var _a, _b, _c, _d, _e$1, _f;
14
14
  const [reset, setReset] = useState(false);
15
15
  const [error, setError] = useState("");
16
- const [verifyPasswordResetCode, verifyPasswordResetCodeState] = Re();
17
- const [resetPassword, resetPasswordState] = $e();
16
+ const [verifyPasswordResetCode, verifyPasswordResetCodeState] = Le();
17
+ const [resetPassword, resetPasswordState] = _e();
18
18
  const urlParams = new URLSearchParams(window.location.search);
19
19
  const oobCode = urlParams.get("oobCode");
20
20
  urlParams.delete("oobCode");
@@ -34,13 +34,13 @@ function usePortalResetPassword(props) {
34
34
  };
35
35
  const gotoNextPage = () => {
36
36
  urlParams.delete("nextPage");
37
- rn.push({
37
+ mn.push({
38
38
  pathname: nextPageOverride || props.nextPage,
39
39
  search: urlParams.toString() && "?" + urlParams.toString(),
40
40
  });
41
41
  };
42
42
  const failed = () => {
43
- rn.push({
43
+ mn.push({
44
44
  pathname: "/",
45
45
  search: urlParams.toString() && "?" + urlParams.toString(),
46
46
  });
@@ -68,7 +68,7 @@ function usePortalResetPassword(props) {
68
68
  loading: resetPasswordState.loading,
69
69
  reset,
70
70
  confirmPassword: props.confirmPassword,
71
- error: ((_e = (_d = (_c = (_b = resetPasswordState.errors) === null || _b === void 0 ? void 0 : _b.response) === null || _c === void 0 ? void 0 : _c.errors) === null || _d === void 0 ? void 0 : _d[0]) === null || _e === void 0 ? void 0 : _e.message) || error,
71
+ error: ((_e$1 = (_d = (_c = (_b = resetPasswordState.errors) === null || _b === void 0 ? void 0 : _b.response) === null || _c === void 0 ? void 0 : _c.errors) === null || _d === void 0 ? void 0 : _d[0]) === null || _e$1 === void 0 ? void 0 : _e$1.message) || error,
72
72
  oobCodeValidating: verifyPasswordResetCodeState.loading,
73
73
  oobCodeValid: (_f = verifyPasswordResetCodeState.data) === null || _f === void 0 ? void 0 : _f.verifyManagedIdentityPasswordResetCode.success,
74
74
  content: {
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
2
2
  import { j as useState, e as useEffect, m as h } from './extends-3a3f9fe2.js';
3
3
  import './use-callback-b38a1523.js';
4
- import { T, l as Le, r as rn, j } from './index.module-90d2c3ad.js';
4
+ import { n as ne, l as Ye, b as mn, j } from './index.module-eb50a8d2.js';
5
5
  import './jss-preset-default.esm-71fae192.js';
6
6
  import { c as cjs } from './cjs-bdfb4486.js';
7
7
  import './mixins-10353a39.js';
@@ -12,22 +12,22 @@ function usePortalVerifyEmail({ nextPage }) {
12
12
  var _a, _b, _c, _d, _e;
13
13
  const [verified, setVerified] = useState(false);
14
14
  const [disableContinue, setDisableContinue] = useState(true);
15
- const userIdent = T();
16
- const [request, { loading, data, errors }] = Le();
15
+ const userIdent = ne();
16
+ const [request, { loading, data, errors }] = Ye();
17
17
  const [error, setError] = useState("");
18
18
  const urlParams = new URLSearchParams(window.location.search);
19
19
  const oobCode = urlParams.get("oobCode");
20
20
  const nextPageOverride = urlParams.get("nextPage");
21
21
  urlParams.delete("oobCode");
22
22
  const failed = () => {
23
- return rn.push({
23
+ return mn.push({
24
24
  pathname: "/",
25
25
  search: urlParams.toString() && "?" + urlParams.toString(),
26
26
  });
27
27
  };
28
28
  const gotoNextPage = () => {
29
29
  urlParams.delete("nextPage");
30
- return rn.push({
30
+ return mn.push({
31
31
  pathname: nextPageOverride || nextPage,
32
32
  search: urlParams.toString() && "?" + urlParams.toString(),
33
33
  });
@@ -61,7 +61,7 @@ function ProgramExplainerStepView(props) {
61
61
  h("div", { style: { fontSize: "26px" } },
62
62
  h("sl-icon", { name: props.icon })))),
63
63
  h("div", { class: sheet.classes.Text },
64
- h("div", { class: sheet.classes.Title }, props.title),
64
+ h("div", { class: sheet.classes.Title }, props.cardTitle),
65
65
  h("div", { class: sheet.classes.Description }, props.description))));
66
66
  }
67
67
 
@@ -2,7 +2,7 @@ import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
2
2
  import { m as h } from './extends-3a3f9fe2.js';
3
3
  import './jss-preset-default.esm-71fae192.js';
4
4
  import { g as getProps } from './utils-454405f5.js';
5
- import { P as ProgramExplainerStepView } from './sqm-program-explainer-step-view-f190277a.js';
5
+ import { P as ProgramExplainerStepView } from './sqm-program-explainer-step-view-41c1eecd.js';
6
6
 
7
7
  const ProgramExplainerStep = class {
8
8
  constructor(hostRef) {
@@ -36,7 +36,7 @@ function ProgramExplainerView(props, children) {
36
36
  h("div", { class: sheet.classes.Title }, props.header)),
37
37
  h("div", { class: sheet.classes.Container }, children),
38
38
  h("div", { class: sheet.classes.Card },
39
- h("div", { class: sheet.classes.Title }, props.title),
39
+ h("div", { class: sheet.classes.Title }, props.cardTitle),
40
40
  h("div", { class: sheet.classes.Description }, props.description))));
41
41
  }
42
42
 
@@ -2,7 +2,7 @@ import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
2
2
  import { m as h } from './extends-3a3f9fe2.js';
3
3
  import './jss-preset-default.esm-71fae192.js';
4
4
  import { g as getProps } from './utils-454405f5.js';
5
- import { P as ProgramExplainerView } from './sqm-program-explainer-view-1c603bb7.js';
5
+ import { P as ProgramExplainerView } from './sqm-program-explainer-view-098a64a9.js';
6
6
 
7
7
  const ProgramExplainer = class {
8
8
  constructor(hostRef) {
@@ -1,8 +1,8 @@
1
1
  import { r as registerInstance, h as h$1, g as getElement, c as Host } from './index-17b4da69.js';
2
2
  import { m as h } from './extends-3a3f9fe2.js';
3
3
  import './use-callback-b38a1523.js';
4
- import './index.module-90d2c3ad.js';
5
- import { a as useRequestRerender } from './re-render-e06f2f7f.js';
4
+ import './index.module-eb50a8d2.js';
5
+ import { a as useRequestRerender } from './re-render-6d5b856e.js';
6
6
 
7
7
  const ReferralTableGenericColumn = class {
8
8
  constructor(hostRef) {
@@ -1,8 +1,8 @@
1
1
  import { r as registerInstance, h as h$1, c as Host } from './index-17b4da69.js';
2
2
  import { m as h } from './extends-3a3f9fe2.js';
3
3
  import './use-callback-b38a1523.js';
4
- import './index.module-90d2c3ad.js';
5
- import { a as useRequestRerender } from './re-render-e06f2f7f.js';
4
+ import './index.module-eb50a8d2.js';
5
+ import { a as useRequestRerender } from './re-render-6d5b856e.js';
6
6
 
7
7
  const ReferralTableDateColumn = class {
8
8
  constructor(hostRef) {
@@ -1,8 +1,8 @@
1
1
  import { r as registerInstance, h as h$1, c as Host } from './index-17b4da69.js';
2
2
  import { m as h } from './extends-3a3f9fe2.js';
3
3
  import './use-callback-b38a1523.js';
4
- import './index.module-90d2c3ad.js';
5
- import { a as useRequestRerender } from './re-render-e06f2f7f.js';
4
+ import './index.module-eb50a8d2.js';
5
+ import { a as useRequestRerender } from './re-render-6d5b856e.js';
6
6
 
7
7
  const ReferralTableRewardsColumn = class {
8
8
  constructor(hostRef) {
@@ -1,8 +1,8 @@
1
1
  import { r as registerInstance, h as h$1, c as Host } from './index-17b4da69.js';
2
2
  import { m as h } from './extends-3a3f9fe2.js';
3
3
  import './use-callback-b38a1523.js';
4
- import './index.module-90d2c3ad.js';
5
- import { a as useRequestRerender } from './re-render-e06f2f7f.js';
4
+ import './index.module-eb50a8d2.js';
5
+ import { a as useRequestRerender } from './re-render-6d5b856e.js';
6
6
 
7
7
  const ReferralTableStatusColumn = class {
8
8
  constructor(hostRef) {
@@ -1,8 +1,8 @@
1
1
  import { r as registerInstance, h as h$1, c as Host } from './index-17b4da69.js';
2
2
  import { m as h } from './extends-3a3f9fe2.js';
3
3
  import './use-callback-b38a1523.js';
4
- import './index.module-90d2c3ad.js';
5
- import { a as useRequestRerender } from './re-render-e06f2f7f.js';
4
+ import './index.module-eb50a8d2.js';
5
+ import { a as useRequestRerender } from './re-render-6d5b856e.js';
6
6
 
7
7
  const ReferralTableUserColumn = class {
8
8
  constructor(hostRef) {
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
2
2
  import { j as useState, m as h } from './extends-3a3f9fe2.js';
3
3
  import './use-callback-b38a1523.js';
4
- import { d as dist, M, T, x, e as en, b as be, j } from './index.module-90d2c3ad.js';
4
+ import { d as dist, M, n as ne, x, c as cn, D as De, j } from './index.module-eb50a8d2.js';
5
5
  import './jss-preset-default.esm-71fae192.js';
6
6
  import { g as getProps } from './utils-454405f5.js';
7
7
  import { c as cjs } from './cjs-bdfb4486.js';
@@ -25,10 +25,10 @@ const WIDGET_ENGAGEMENT_EVENT = dist.gql `
25
25
  function useShareCode(props) {
26
26
  var _a, _b;
27
27
  const programId = M();
28
- const user = T();
28
+ const user = ne();
29
29
  const engagementMedium = x();
30
- const { data } = en(MessageLinkQuery, { programId }, !(user === null || user === void 0 ? void 0 : user.jwt));
31
- const [sendLoadEvent] = be(WIDGET_ENGAGEMENT_EVENT);
30
+ const { data } = cn(MessageLinkQuery, { programId }, !(user === null || user === void 0 ? void 0 : user.jwt));
31
+ const [sendLoadEvent] = De(WIDGET_ENGAGEMENT_EVENT);
32
32
  const shareString = (_b = (_a = data === null || data === void 0 ? void 0 : data.user) === null || _a === void 0 ? void 0 : _a.referralCode) !== null && _b !== void 0 ? _b :
33
33
  // Shown during loading
34
34
  "...";
@@ -1,6 +1,6 @@
1
1
  import { h } from './index-17b4da69.js';
2
2
  import { b as browser, k as useMemo } from './extends-3a3f9fe2.js';
3
- import { M, R, T, d as dist, e as en } from './index.module-90d2c3ad.js';
3
+ import { M, R, n as ne, d as dist, c as cn } from './index.module-eb50a8d2.js';
4
4
  import { j as jss, c as create } from './jss-preset-default.esm-71fae192.js';
5
5
  import { c as cjs } from './cjs-bdfb4486.js';
6
6
 
@@ -336,7 +336,7 @@ function BigStatView(props, children) {
336
336
  const debug = browser("sq:useBigStat");
337
337
  const LOADING = "...";
338
338
  const debugQuery = (query, variables, getStat) => {
339
- const res = en(query, variables);
339
+ const res = cn(query, variables);
340
340
  if (!(res === null || res === void 0 ? void 0 : res.data) && !res.loading) {
341
341
  console.error("issue getting stat:", res);
342
342
  }
@@ -896,7 +896,7 @@ function useBigStat(props) {
896
896
  const { statType, flexReverse, alignment } = props;
897
897
  const programId = M();
898
898
  const locale = R();
899
- const userIdent = T();
899
+ const userIdent = ne();
900
900
  const re = useMemo(() => StatPatterns.find((re) => re.exec(statType)), [statType]);
901
901
  if (!(re === null || re === void 0 ? void 0 : re.exec(statType))) {
902
902
  return {
@@ -0,0 +1 @@
1
+ var __makeTemplateObject=this&&this.__makeTemplateObject||function(e,a){if(Object.defineProperty){Object.defineProperty(e,"raw",{value:a})}else{e.raw=a}return e};import{h,g as getElement}from"./index-17b4da69.js";import{d as dist,M,n as ne,c as cn}from"./index.module-eb50a8d2.js";function LeaderboardView(e){var a;var r=e.states,n=e.data,t=e.elements;var i=r.styles;if(r.loading){return t.loadingstate}return h("div",null,!r.hasLeaders&&t.empty,r.hasLeaders&&h("table",null,h("tr",null,i.showRank&&h("th",{class:"Rank"},i.rankheading),h("th",{class:"User"},i.usersheading),h("th",{class:"Score"},i.statsheading)),(a=n.leaderboard)===null||a===void 0?void 0:a.map((function(e){return h("tr",{class:"SeparateContent"},i.showRank&&h("td",{class:"Rank"},e.rank),h("td",{class:"User"},e.firstName+" "+e.lastInitial+" "),h("td",{class:"Score"},e.value))}))))}var GET_LEADERBOARD=dist.gql(templateObject_1||(templateObject_1=__makeTemplateObject(["\n query ($type: String!, $filter: UserLeaderboardFilterInput) {\n userLeaderboard(type: $type, filter: $filter) {\n dateModified\n rows {\n value\n firstName\n lastInitial\n rank {\n rank\n denseRank\n rowNumber\n }\n }\n }\n }\n"],["\n query ($type: String!, $filter: UserLeaderboardFilterInput) {\n userLeaderboard(type: $type, filter: $filter) {\n dateModified\n rows {\n value\n firstName\n lastInitial\n rank {\n rank\n denseRank\n rowNumber\n }\n }\n }\n }\n"])));function useLeaderboard(e){var a;var r=M();var n=ne();var t={type:e.leaderboardType,filter:{programId_eq:r}};if(e.interval){t.filter["interval"]=e.interval}var i=cn(GET_LEADERBOARD,t,!(n===null||n===void 0?void 0:n.jwt)),d=i.data,l=i.loading;var s=(a=d===null||d===void 0?void 0:d.userLeaderboard)===null||a===void 0?void 0:a.rows;var o=v(s);var u=o===null||o===void 0?void 0:o.sort((function(e,a){return e.rank-a.rank}));function v(a){return a===null||a===void 0?void 0:a.flatMap((function(a){var r;return{value:a.value,firstName:a.firstName||"Anonymous",lastInitial:a.lastInitial,rank:(r=a.rank)===null||r===void 0?void 0:r[e.rankType]}}))}return{states:{loading:l,hasLeaders:(u===null||u===void 0?void 0:u.length)>0,styles:e},data:{leaderboard:u,rankType:e.rankType},elements:{empty:e.empty,loadingstate:e.loadingstate}}}var map=new Map;function withShadowView(e){var a=getElement(e);var r=e["render"].bind(e);var n=function(){var e=a.getAttribute("stencilbook-shadow-view");if(e){var n=map.get(e);if(n){return n}}return r()};e["render"]=n}var ShadowViewAddon=function(e,a){var r=e.story;var n;var t=(n=r.parent.parameters)===null||n===void 0?void 0:n.tagname;if(!t)return a;var i=Math.round(Math.random()*1e5);map.set(i+"",a);var d="stencilbook-shawdow-view-"+i;return h(d,null,h(t,{"stencilbook-shadow-view":i}))};export{LeaderboardView as L,ShadowViewAddon as S,useLeaderboard as u,withShadowView as w};var templateObject_1;