@saasquatch/mint-components 1.3.0-3 → 1.3.0-4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (193) hide show
  1. package/dist/cjs/{ShadowViewAddon-19962eb1.js → ShadowViewAddon-c3bab86a.js} +1 -1
  2. package/dist/cjs/{global-842d76a1.js → global-8213dd16.js} +1 -1
  3. package/dist/cjs/{index.module-c0e99251.js → index.module-d0897d1f.js} +5 -7
  4. package/dist/cjs/loader.cjs.js +2 -2
  5. package/dist/cjs/mint-components.cjs.js +2 -2
  6. package/dist/cjs/{re-render-2397c966.js → re-render-ac0dbebb.js} +1 -1
  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-divided-layout_25.cjs.entry.js +32 -23
  10. package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +1 -1
  11. package/dist/cjs/{sqm-leaderboard-rank-view-becab508.js → sqm-leaderboard-rank-view-21033f44.js} +2 -2
  12. package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +3 -3
  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-d9c6c568.js → sqm-navigation-sidebar-item-view-ebe97f51.js} +1 -1
  16. package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +2 -2
  17. package/dist/cjs/sqm-popup-container.cjs.entry.js +1 -1
  18. package/dist/cjs/sqm-portal-change-password.cjs.entry.js +1 -1
  19. package/dist/cjs/{sqm-portal-email-verification-view-baf4f599.js → sqm-portal-email-verification-view-62e5019a.js} +1 -1
  20. package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +3 -3
  21. package/dist/cjs/{sqm-portal-footer-view-aceeb846.js → sqm-portal-footer-view-574b54bb.js} +1 -1
  22. package/dist/cjs/sqm-portal-footer.cjs.entry.js +3 -3
  23. package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +1 -1
  24. package/dist/cjs/sqm-portal-logout.cjs.entry.js +1 -1
  25. package/dist/cjs/{sqm-portal-profile-view-13fab8df.js → sqm-portal-profile-view-2369f52f.js} +1 -1
  26. package/dist/cjs/sqm-portal-profile.cjs.entry.js +3 -3
  27. package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +1 -1
  28. package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +1 -1
  29. package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +1 -1
  30. package/dist/cjs/sqm-referral-table-column.cjs.entry.js +2 -2
  31. package/dist/cjs/sqm-referral-table-date-column.cjs.entry.js +2 -2
  32. package/dist/cjs/sqm-referral-table-rewards-column.cjs.entry.js +2 -2
  33. package/dist/cjs/sqm-referral-table-status-column.cjs.entry.js +2 -2
  34. package/dist/cjs/sqm-referral-table-user-column.cjs.entry.js +2 -2
  35. package/dist/cjs/sqm-share-code.cjs.entry.js +1 -1
  36. package/dist/cjs/{useDemoBigStat-42739088.js → useDemoBigStat-9088c624.js} +1 -1
  37. package/dist/collection/utils/RequiredPropsError.js +21 -11
  38. package/dist/esm/{ShadowViewAddon-27e12597.js → ShadowViewAddon-ea448731.js} +1 -1
  39. package/dist/esm/{global-1390bc3a.js → global-ec7e3d4a.js} +1 -1
  40. package/dist/esm/{index.module-7f0d8a13.js → index.module-923f4abb.js} +5 -7
  41. package/dist/esm/loader.js +2 -2
  42. package/dist/esm/mint-components.js +2 -2
  43. package/dist/esm/{re-render-7b02e55e.js → re-render-82fb30e2.js} +1 -1
  44. package/dist/esm/sqm-asset-card.entry.js +1 -1
  45. package/dist/esm/sqm-big-stat.entry.js +2 -2
  46. package/dist/esm/sqm-divided-layout_25.entry.js +32 -23
  47. package/dist/esm/sqm-graphql-client-provider.entry.js +1 -1
  48. package/dist/esm/{sqm-leaderboard-rank-view-e985d803.js → sqm-leaderboard-rank-view-39f3bb68.js} +2 -2
  49. package/dist/esm/sqm-leaderboard-rank.entry.js +3 -3
  50. package/dist/esm/sqm-leaderboard.entry.js +2 -2
  51. package/dist/esm/sqm-name-fields.entry.js +1 -1
  52. package/dist/esm/{sqm-navigation-sidebar-item-view-68908022.js → sqm-navigation-sidebar-item-view-4052cdeb.js} +1 -1
  53. package/dist/esm/sqm-navigation-sidebar-item.entry.js +2 -2
  54. package/dist/esm/sqm-popup-container.entry.js +1 -1
  55. package/dist/esm/sqm-portal-change-password.entry.js +1 -1
  56. package/dist/esm/{sqm-portal-email-verification-view-da871efc.js → sqm-portal-email-verification-view-96c26b09.js} +1 -1
  57. package/dist/esm/sqm-portal-email-verification.entry.js +3 -3
  58. package/dist/esm/{sqm-portal-footer-view-181786fe.js → sqm-portal-footer-view-64604c2c.js} +1 -1
  59. package/dist/esm/sqm-portal-footer.entry.js +3 -3
  60. package/dist/esm/sqm-portal-forgot-password.entry.js +1 -1
  61. package/dist/esm/sqm-portal-logout.entry.js +1 -1
  62. package/dist/esm/{sqm-portal-profile-view-e0812974.js → sqm-portal-profile-view-487cb78d.js} +1 -1
  63. package/dist/esm/sqm-portal-profile.entry.js +3 -3
  64. package/dist/esm/sqm-portal-protected-route.entry.js +1 -1
  65. package/dist/esm/sqm-portal-reset-password.entry.js +1 -1
  66. package/dist/esm/sqm-portal-verify-email.entry.js +1 -1
  67. package/dist/esm/sqm-referral-table-column.entry.js +2 -2
  68. package/dist/esm/sqm-referral-table-date-column.entry.js +2 -2
  69. package/dist/esm/sqm-referral-table-rewards-column.entry.js +2 -2
  70. package/dist/esm/sqm-referral-table-status-column.entry.js +2 -2
  71. package/dist/esm/sqm-referral-table-user-column.entry.js +2 -2
  72. package/dist/esm/sqm-share-code.entry.js +1 -1
  73. package/dist/esm/{useDemoBigStat-e24cb84d.js → useDemoBigStat-3d8318e8.js} +1 -1
  74. package/dist/esm-es5/{ShadowViewAddon-27e12597.js → ShadowViewAddon-ea448731.js} +1 -1
  75. package/dist/esm-es5/{global-1390bc3a.js → global-ec7e3d4a.js} +1 -1
  76. package/dist/esm-es5/{index.module-7f0d8a13.js → index.module-923f4abb.js} +1 -1
  77. package/dist/esm-es5/loader.js +1 -1
  78. package/dist/esm-es5/mint-components.js +1 -1
  79. package/dist/esm-es5/{re-render-7b02e55e.js → re-render-82fb30e2.js} +1 -1
  80. package/dist/esm-es5/sqm-asset-card.entry.js +1 -1
  81. package/dist/esm-es5/sqm-big-stat.entry.js +1 -1
  82. package/dist/esm-es5/sqm-divided-layout_25.entry.js +1 -1
  83. package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
  84. package/dist/esm-es5/{sqm-leaderboard-rank-view-e985d803.js → sqm-leaderboard-rank-view-39f3bb68.js} +1 -1
  85. package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
  86. package/dist/esm-es5/sqm-leaderboard.entry.js +1 -1
  87. package/dist/esm-es5/sqm-name-fields.entry.js +1 -1
  88. package/dist/esm-es5/{sqm-navigation-sidebar-item-view-68908022.js → sqm-navigation-sidebar-item-view-4052cdeb.js} +1 -1
  89. package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
  90. package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
  91. package/dist/esm-es5/sqm-portal-change-password.entry.js +1 -1
  92. package/dist/esm-es5/{sqm-portal-email-verification-view-da871efc.js → sqm-portal-email-verification-view-96c26b09.js} +1 -1
  93. package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
  94. package/dist/esm-es5/{sqm-portal-footer-view-181786fe.js → sqm-portal-footer-view-64604c2c.js} +1 -1
  95. package/dist/esm-es5/sqm-portal-footer.entry.js +1 -1
  96. package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -1
  97. package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
  98. package/dist/esm-es5/{sqm-portal-profile-view-e0812974.js → sqm-portal-profile-view-487cb78d.js} +1 -1
  99. package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
  100. package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -1
  101. package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
  102. package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
  103. package/dist/esm-es5/sqm-referral-table-column.entry.js +1 -1
  104. package/dist/esm-es5/sqm-referral-table-date-column.entry.js +1 -1
  105. package/dist/esm-es5/sqm-referral-table-rewards-column.entry.js +1 -1
  106. package/dist/esm-es5/sqm-referral-table-status-column.entry.js +1 -1
  107. package/dist/esm-es5/sqm-referral-table-user-column.entry.js +1 -1
  108. package/dist/esm-es5/sqm-share-code.entry.js +1 -1
  109. package/dist/esm-es5/{useDemoBigStat-e24cb84d.js → useDemoBigStat-3d8318e8.js} +1 -1
  110. package/dist/mint-components/mint-components.esm.js +1 -1
  111. package/dist/mint-components/mint-components.js +1 -1
  112. package/dist/mint-components/{p-b6026948.system.entry.js → p-001f7503.system.entry.js} +1 -1
  113. package/dist/mint-components/{p-adb287fb.js → p-03b93ab7.js} +1 -1
  114. package/dist/mint-components/{p-c63fecf2.system.entry.js → p-0903c674.system.entry.js} +1 -1
  115. package/dist/mint-components/{p-02929b22.js → p-098dd33f.js} +1 -1
  116. package/dist/mint-components/{p-b445ad5a.system.entry.js → p-0e18af01.system.entry.js} +1 -1
  117. package/dist/mint-components/{p-0bd87020.entry.js → p-11d27de2.entry.js} +1 -1
  118. package/dist/mint-components/p-14cd0581.system.entry.js +1 -0
  119. package/dist/mint-components/p-18dfb307.entry.js +1 -0
  120. package/dist/mint-components/{p-b0e462fb.system.js → p-1eaed597.system.js} +1 -1
  121. package/dist/mint-components/{p-ff0e8b2f.system.entry.js → p-204f77ff.system.entry.js} +1 -1
  122. package/dist/mint-components/p-21535512.system.entry.js +1 -0
  123. package/dist/mint-components/{p-6e08b8dc.entry.js → p-31780728.entry.js} +1 -1
  124. package/dist/mint-components/{p-c7fc34eb.system.js → p-324b1a0a.system.js} +1 -1
  125. package/dist/mint-components/{p-0ba5e8f0.system.js → p-34b1664d.system.js} +1 -1
  126. package/dist/mint-components/{p-ffb35666.entry.js → p-35f88f6f.entry.js} +1 -1
  127. package/dist/mint-components/{p-33f1d0d1.entry.js → p-36eff56d.entry.js} +7 -7
  128. package/dist/mint-components/p-37a471fc.entry.js +1 -0
  129. package/dist/mint-components/{p-2f9d7b34.system.entry.js → p-383b5805.system.entry.js} +1 -1
  130. package/dist/mint-components/{p-afe48830.js → p-39c2b991.js} +1 -1
  131. package/dist/mint-components/{p-f96161de.entry.js → p-3c011b5f.entry.js} +1 -1
  132. package/dist/mint-components/{p-77b1e1b6.system.js → p-45dd160a.system.js} +1 -1
  133. package/dist/mint-components/p-48c645a3.entry.js +1 -0
  134. package/dist/mint-components/{p-909749ce.system.entry.js → p-4d3f7469.system.entry.js} +1 -1
  135. package/dist/mint-components/{p-13f474b0.system.entry.js → p-4ed86e2d.system.entry.js} +1 -1
  136. package/dist/mint-components/{p-b3a2e78a.entry.js → p-5034c668.entry.js} +1 -1
  137. package/dist/mint-components/{p-c0087bc7.system.js → p-5532709f.system.js} +1 -1
  138. package/dist/mint-components/{p-723fc619.system.entry.js → p-554c5f57.system.entry.js} +1 -1
  139. package/dist/mint-components/{p-f0b0b64b.entry.js → p-55cd07cb.entry.js} +1 -1
  140. package/dist/mint-components/{p-2be3168a.system.entry.js → p-590cee05.system.entry.js} +1 -1
  141. package/dist/mint-components/{p-6a271da7.entry.js → p-59feb5d8.entry.js} +1 -1
  142. package/dist/mint-components/{p-f9c62e43.js → p-5cb6efc2.js} +1 -1
  143. package/dist/mint-components/{p-7f65494d.system.entry.js → p-5d5c2f6e.system.entry.js} +1 -1
  144. package/dist/mint-components/p-7566bbd1.entry.js +1 -0
  145. package/dist/mint-components/{p-869e9c25.system.entry.js → p-7625e323.system.entry.js} +1 -1
  146. package/dist/mint-components/{p-8428d623.system.entry.js → p-7b2b631c.system.entry.js} +1 -1
  147. package/dist/mint-components/{p-d6bc8c1c.entry.js → p-7d590016.entry.js} +2 -2
  148. package/dist/mint-components/{p-b9fe5e0d.entry.js → p-857e6458.entry.js} +2 -2
  149. package/dist/mint-components/{p-25aa00eb.js → p-8771690e.js} +1 -1
  150. package/dist/mint-components/{p-6b6cb52c.system.js → p-90bce1c7.system.js} +1 -1
  151. package/dist/mint-components/{p-c7610f0b.system.entry.js → p-90e56f26.system.entry.js} +1 -1
  152. package/dist/mint-components/p-939229d2.entry.js +1 -0
  153. package/dist/mint-components/{p-ada9dbfe.js → p-93ff0e96.js} +1 -1
  154. package/dist/mint-components/{p-64ed7395.entry.js → p-98089fbf.entry.js} +1 -1
  155. package/dist/mint-components/p-9966d9e6.entry.js +1 -0
  156. package/dist/mint-components/{p-f8abe759.js → p-9a6cabff.js} +1 -1
  157. package/dist/mint-components/{p-fdbe57c4.entry.js → p-9d24d720.entry.js} +1 -1
  158. package/dist/mint-components/{p-00f3b777.entry.js → p-a0c77ee3.entry.js} +1 -1
  159. package/dist/mint-components/{p-e4802be8.system.js → p-a8f7ed54.system.js} +1 -1
  160. package/dist/mint-components/{p-4d488632.entry.js → p-ae1a11b0.entry.js} +1 -1
  161. package/dist/mint-components/{p-573940a3.system.entry.js → p-b2c6df33.system.entry.js} +1 -1
  162. package/dist/mint-components/{p-3c982bdc.system.js → p-b4a949fb.system.js} +1 -1
  163. package/dist/mint-components/{p-848e50de.system.js → p-b6b11e17.system.js} +1 -1
  164. package/dist/mint-components/p-b91cc28f.entry.js +13 -0
  165. package/dist/mint-components/{p-c32a5cc6.system.entry.js → p-bd338930.system.entry.js} +1 -1
  166. package/dist/mint-components/{p-98c36cfb.system.entry.js → p-bdeb28ee.system.entry.js} +1 -1
  167. package/dist/mint-components/{p-0634172e.system.js → p-be1e4d3a.system.js} +1 -1
  168. package/dist/mint-components/p-c26c3995.system.entry.js +1 -0
  169. package/dist/mint-components/{p-605173d5.system.js → p-c8bab5cb.system.js} +1 -1
  170. package/dist/mint-components/{p-0439759a.js → p-ca31df10.js} +1 -1
  171. package/dist/mint-components/{p-831c1fc0.entry.js → p-ce5b0116.entry.js} +1 -1
  172. package/dist/mint-components/{p-913dcfe2.entry.js → p-ce796d3f.entry.js} +1 -1
  173. package/dist/mint-components/{p-f58b5a86.entry.js → p-d23061c8.entry.js} +1 -1
  174. package/dist/mint-components/{p-ec715be8.system.entry.js → p-d3c3d0d1.system.entry.js} +1 -1
  175. package/dist/mint-components/{p-9d697ed2.system.entry.js → p-e8dd2d00.system.entry.js} +1 -1
  176. package/dist/mint-components/{p-dda98298.js → p-efbed7ae.js} +1 -1
  177. package/dist/mint-components/{p-a4f623b2.system.entry.js → p-f2fe10b8.system.entry.js} +1 -1
  178. package/dist/mint-components/p-f8bbe12e.js +1 -0
  179. package/dist/mint-components/{p-bfd954e3.system.entry.js → p-f9173ce0.system.entry.js} +1 -1
  180. package/dist/mint-components/p-faf0d84f.system.entry.js +1 -0
  181. package/package.json +1 -1
  182. package/dist/mint-components/p-0ec75d6d.system.entry.js +0 -1
  183. package/dist/mint-components/p-1c248608.entry.js +0 -1
  184. package/dist/mint-components/p-340f9001.entry.js +0 -1
  185. package/dist/mint-components/p-47c40043.entry.js +0 -13
  186. package/dist/mint-components/p-5c8b6979.system.entry.js +0 -1
  187. package/dist/mint-components/p-64121cf1.system.entry.js +0 -1
  188. package/dist/mint-components/p-6bd7bd8b.entry.js +0 -1
  189. package/dist/mint-components/p-af5b2188.js +0 -1
  190. package/dist/mint-components/p-bc66fab4.entry.js +0 -1
  191. package/dist/mint-components/p-c25a6757.system.entry.js +0 -1
  192. package/dist/mint-components/p-c2d3573e.entry.js +0 -1
  193. package/dist/mint-components/p-d9b6f532.entry.js +0 -1
@@ -5,8 +5,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  const index = require('./index-b0129cd6.js');
6
6
  const _extends = require('./extends-0302d27d.js');
7
7
  require('./use-callback-fadb2643.js');
8
- require('./index.module-c0e99251.js');
9
- const reRender = require('./re-render-2397c966.js');
8
+ require('./index.module-d0897d1f.js');
9
+ const reRender = require('./re-render-ac0dbebb.js');
10
10
 
11
11
  const ReferralTableRewardsColumn = class {
12
12
  constructor(hostRef) {
@@ -5,8 +5,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  const index = require('./index-b0129cd6.js');
6
6
  const _extends = require('./extends-0302d27d.js');
7
7
  require('./use-callback-fadb2643.js');
8
- require('./index.module-c0e99251.js');
9
- const reRender = require('./re-render-2397c966.js');
8
+ require('./index.module-d0897d1f.js');
9
+ const reRender = require('./re-render-ac0dbebb.js');
10
10
 
11
11
  const ReferralTableStatusColumn = class {
12
12
  constructor(hostRef) {
@@ -5,8 +5,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  const index = require('./index-b0129cd6.js');
6
6
  const _extends = require('./extends-0302d27d.js');
7
7
  require('./use-callback-fadb2643.js');
8
- require('./index.module-c0e99251.js');
9
- const reRender = require('./re-render-2397c966.js');
8
+ require('./index.module-d0897d1f.js');
9
+ const reRender = require('./re-render-ac0dbebb.js');
10
10
 
11
11
  const ReferralTableUserColumn = class {
12
12
  constructor(hostRef) {
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  const index = require('./index-b0129cd6.js');
6
6
  const _extends = require('./extends-0302d27d.js');
7
7
  require('./use-callback-fadb2643.js');
8
- const index_module = require('./index.module-c0e99251.js');
8
+ const index_module = require('./index.module-d0897d1f.js');
9
9
  require('./jss-preset-default.esm-6304d24f.js');
10
10
  const utils = require('./utils-95e5317c.js');
11
11
  const cjs = require('./cjs-1066ec21.js');
@@ -2,7 +2,7 @@
2
2
 
3
3
  const index = require('./index-b0129cd6.js');
4
4
  const _extends = require('./extends-0302d27d.js');
5
- const index_module = require('./index.module-c0e99251.js');
5
+ const index_module = require('./index.module-d0897d1f.js');
6
6
  const jssPresetDefault_esm = require('./jss-preset-default.esm-6304d24f.js');
7
7
  const cjs = require('./cjs-1066ec21.js');
8
8
 
@@ -1,19 +1,23 @@
1
1
  import { useHost } from "@saasquatch/component-boilerplate";
2
+ import { useState } from "@saasquatch/universal-hooks";
2
3
  import { h } from "@stencil/core";
3
4
  import jss from "jss";
4
5
  import preset from "jss-preset-default";
5
6
  const style = {
6
- DivStyle: {
7
+ IconStyle: {
7
8
  display: "block",
8
9
  position: "absolute",
9
- top: "18px",
10
+ top: "23px",
10
11
  },
11
- IconStyle: {
12
- "&::part(icon)": {},
12
+ DivStyle: {
13
+ marginLeft: "30px",
13
14
  },
14
15
  Details: {
15
16
  marginLeft: "30px",
16
17
  },
18
+ Heading: {
19
+ display: "inline-block",
20
+ },
17
21
  };
18
22
  jss.setup(preset());
19
23
  const sheet = jss.createStyleSheet(style);
@@ -22,16 +26,22 @@ export function RequiredPropsError({ missingProps }) {
22
26
  if (!missingProps)
23
27
  return false;
24
28
  const host = useHost();
25
- return (h("sl-alert", { type: "danger", open: true, class: sheet.classes.IconStyle },
29
+ const [detailsOpen, setDetailsOpen] = useState(false);
30
+ return (h("sl-alert", { type: "danger", open: true },
26
31
  h("style", { type: "text/css" }, styleString),
27
- h("div", { slot: "icon", class: sheet.classes.DivStyle },
32
+ h("div", { slot: "icon", class: sheet.classes.IconStyle },
28
33
  h("sl-icon", { name: "exclamation-octagon" })),
34
+ h("div", { class: sheet.classes.DivStyle },
35
+ h("h2", { class: sheet.classes.Heading }, "There was a problem loading this page"),
36
+ h("p", null, "There was a technical problem that prevented this page from loading. Please contact us with the link to this page.")),
29
37
  h("details", { class: sheet.classes.Details },
30
- h("summary", null,
31
- h("strong", null,
32
- "Error occured while loading ",
33
- `<${host.tagName.toLowerCase()}>`)),
34
- h("p", null, "Values for the following attributes are missing:"),
38
+ h("summary", { onClick: () => setDetailsOpen(!detailsOpen) },
39
+ detailsOpen ? "Less" : "More",
40
+ " details"),
41
+ h("p", null,
42
+ "Error occured while loading ",
43
+ `<${host.tagName.toLowerCase()}>`,
44
+ ". Values for the following attributes are missing:"),
35
45
  h("ul", null, missingProps.map((prop) => (h("li", null,
36
46
  h("strong", null, prop.attribute))))))));
37
47
  }
@@ -1,5 +1,5 @@
1
1
  import { h, g as getElement } from './index-17b4da69.js';
2
- import { d as dist, M, T, e as en } from './index.module-7f0d8a13.js';
2
+ import { d as dist, M, T, e as en } from './index.module-923f4abb.js';
3
3
 
4
4
  function LeaderboardView(props) {
5
5
  var _a;
@@ -1,5 +1,5 @@
1
1
  import { g as getAugmentedNamespace, c as createCommonjsModule, a as commonjsGlobal, b as browser, l as l$1 } from './extends-3a3f9fe2.js';
2
- import { s as src, m as memoize, S } from './index.module-7f0d8a13.js';
2
+ import { s as src, m as memoize, S } from './index.module-923f4abb.js';
3
3
 
4
4
  var __assign = (undefined && undefined.__assign) || function () {
5
5
  __assign = Object.assign || function(t) {
@@ -7640,13 +7640,11 @@ const w = /*@__PURE__*/getDefaultExportFromCjs(dist$1);
7640
7640
  var r$1,B=r$1||(r$1={});B.Pop="POP";B.Push="PUSH";B.Replace="REPLACE";var C=function(b){return b};function E(b){b.preventDefault();b.returnValue="";}
7641
7641
  function F(){var b=[];return {get length(){return b.length},push:function(h){b.push(h);return function(){b=b.filter(function(k){return k!==h});}},call:function(h){b.forEach(function(k){return k&&k(h)});}}}function H(){return Math.random().toString(36).substr(2,8)}function I(b){var h=b.pathname,k=b.search;b=b.hash;return (void 0===h?"/":h)+(void 0===k?"":k)+(void 0===b?"":b)}
7642
7642
  function J(b){var h={};if(b){var k=b.indexOf("#");0<=k&&(h.hash=b.substr(k),b=b.substr(0,k));k=b.indexOf("?");0<=k&&(h.search=b.substr(k),b=b.substr(0,k));b&&(h.pathname=b);}return h}
7643
- function createBrowserHistory(b){function h(){var c=p.location,a=m.state||{};return [a.idx,C({pathname:c.pathname,search:c.search,hash:c.hash,state:a.usr||null,key:a.key||"default"})]}function k(c){return "string"===typeof c?c:I(c)}function x(c,a){void 0===a&&(a=null);return C(_extends({},q,"string"===typeof c?J(c):c,{state:a,key:H()}))}function z(c){t=c;c=h();v=c[0];q=c[1];d.call({action:t,location:q});}function A(c,a){function e(){A(c,a);}var l=r$1.Push,g=x(c,a);if(!f.length||(f.call({action:l,
7644
- location:g,retry:e}),!1)){var n=[{usr:g.state,key:g.key,idx:v+1},k(g)];g=n[0];n=n[1];try{m.pushState(g,"",n);}catch(G){p.location.assign(n);}z(l);}}function y(c,a){function e(){y(c,a);}var l=r$1.Replace,g=x(c,a);f.length&&(f.call({action:l,location:g,retry:e}),1)||(g=[{usr:g.state,key:g.key,idx:v},k(g)],m.replaceState(g[0],"",g[1]),z(l));}function w(c){m.go(c);}void 0===b&&(b={});b=b.window;var p=void 0===b?document.defaultView:b,m=p.history,u=null;p.addEventListener("popstate",function(){if(u)f.call(u),
7645
- u=null;else {var c=r$1.Pop,a=h(),e=a[0];a=a[1];if(f.length)if(null!=e){var l=v-e;l&&(u={action:c,location:a,retry:function(){w(-1*l);}},w(l));}else;else z(c);}});var t=
7646
- r$1.Pop;b=h();var v=b[0],q=b[1],d=F(),f=F();null==v&&(v=0,m.replaceState(_extends({},m.state,{idx:v}),""));return {get action(){return t},get location(){return q},createHref:k,push:A,replace:y,go:w,back:function(){w(-1);},forward:function(){w(1);},listen:function(c){return d.push(c)},block:function(c){var a=f.push(c);1===f.length&&p.addEventListener("beforeunload",E);return function(){a();f.length||p.removeEventListener("beforeunload",E);}}}}function createMemoryHistory(b){function h(d,f){void 0===f&&(f=null);return C(_extends({},t,"string"===typeof d?J(d):d,{state:f,key:H()}))}function k(d,f,c){return !q.length||(q.call({action:d,location:f,retry:c}),!1)}function x(d,f){u=d;t=f;v.call({action:u,location:t});}function z(d,f){var c=r$1.Push,a=h(d,f);k(c,a,function(){z(d,f);})&&
7647
- (m+=1,p.splice(m,p.length,a),x(c,a));}function A(d,f){var c=r$1.Replace,a=h(d,f);k(c,a,function(){A(d,f);})&&(p[m]=a,x(c,a));}function y(d){var f=Math.min(Math.max(m+d,0),p.length-1),c=r$1.Pop,a=p[f];k(c,a,function(){y(d);})&&(m=f,x(c,a));}void 0===b&&(b={});var w=b;b=w.initialEntries;w=w.initialIndex;var p=(void 0===b?["/"]:b).map(function(d){var f=
7648
- C(_extends({pathname:"/",search:"",hash:"",state:null,key:H()},"string"===typeof d?J(d):d));return f}),m=Math.min(Math.max(null==w?p.length-1:w,0),p.length-1),u=r$1.Pop,t=p[m],v=F(),q=F();return {get index(){return m},get action(){return u},get location(){return t},createHref:function(d){return "string"===typeof d?
7649
- d:I(d)},push:z,replace:A,go:y,back:function(){y(-1);},forward:function(){y(1);},listen:function(d){return v.push(d)},block:function(d){return q.push(d)}}}
7643
+ function createBrowserHistory(b){function h(){var c=p.location,a=m.state||{};return [a.idx,C({pathname:c.pathname,search:c.search,hash:c.hash,state:a.usr||null,key:a.key||"default"})]}function k(c){return "string"===typeof c?c:I(c)}function x(c,a){void 0===a&&(a=null);return C(_extends({pathname:q.pathname,hash:"",search:""},"string"===typeof c?J(c):c,{state:a,key:H()}))}function z(c){t=c;c=h();v=c[0];q=c[1];d.call({action:t,location:q});}function A(c,a){function e(){A(c,a);}var l=r$1.Push,g=x(c,
7644
+ a);if(!f.length||(f.call({action:l,location:g,retry:e}),!1)){var n=[{usr:g.state,key:g.key,idx:v+1},k(g)];g=n[0];n=n[1];try{m.pushState(g,"",n);}catch(G){p.location.assign(n);}z(l);}}function y(c,a){function e(){y(c,a);}var l=r$1.Replace,g=x(c,a);f.length&&(f.call({action:l,location:g,retry:e}),1)||(g=[{usr:g.state,key:g.key,idx:v},k(g)],m.replaceState(g[0],"",g[1]),z(l));}function w(c){m.go(c);}void 0===b&&(b={});b=b.window;var p=void 0===b?document.defaultView:b,m=p.history,u=null;p.addEventListener("popstate",
7645
+ function(){if(u)f.call(u),u=null;else {var c=r$1.Pop,a=h(),e=a[0];a=a[1];if(f.length)if(null!=e){var l=v-e;l&&(u={action:c,location:a,retry:function(){w(-1*l);}},w(l));}else;else z(c);}});var t=r$1.Pop;b=h();var v=b[0],q=b[1],d=F(),f=F();null==v&&(v=0,m.replaceState(_extends({},m.state,{idx:v}),""));return {get action(){return t},get location(){return q},createHref:k,push:A,replace:y,go:w,back:function(){w(-1);},forward:function(){w(1);},listen:function(c){return d.push(c)},block:function(c){var a=f.push(c);1===f.length&&p.addEventListener("beforeunload",E);return function(){a();f.length||p.removeEventListener("beforeunload",E);}}}}function createMemoryHistory(b){function h(d,f){void 0===f&&(f=null);return C(_extends({pathname:t.pathname,search:"",hash:""},"string"===typeof d?J(d):d,{state:f,key:H()}))}function k(d,f,c){return !q.length||(q.call({action:d,location:f,retry:c}),!1)}function x(d,f){u=d;t=f;v.call({action:u,location:t});}function z(d,f){var c=r$1.Push,a=h(d,f);k(c,a,function(){z(d,f);})&&(m+=1,p.splice(m,p.length,a),x(c,a));}function A(d,f){var c=r$1.Replace,a=h(d,f);k(c,a,function(){A(d,f);})&&(p[m]=a,x(c,a));}function y(d){var f=Math.min(Math.max(m+d,0),p.length-1),c=r$1.Pop,a=p[f];k(c,a,function(){y(d);})&&(m=f,x(c,a));}void 0===b&&(b={});var w=b;b=w.initialEntries;w=w.initialIndex;var p=(void 0===
7646
+ b?["/"]:b).map(function(d){var f=C(_extends({pathname:"/",search:"",hash:"",state:null,key:H()},"string"===typeof d?J(d):d));return f}),m=Math.min(Math.max(null==w?p.length-1:w,0),p.length-1),u=r$1.Pop,t=p[m],v=F(),q=F();return {get index(){return m},get action(){return u},get location(){return t},createHref:function(d){return "string"===
7647
+ typeof d?d:I(d)},push:z,replace:A,go:y,back:function(){y(-1);},forward:function(){y(1);},listen:function(d){return v.push(d)},block:function(d){return q.push(d)}}}
7650
7648
 
7651
7649
  var q={current:void 0};function P(){if(void 0===q.current)throw new Error("no implementation of useHost provided");return q.current()}function S(e){if(!e)throw new Error("Must supply an implementation");if("function"!=typeof e)throw new Error("implementation must be a function");q.current=e;}function E$1(){var e;window.squatchProgramId||(window.squatchProgramId=new c({element:document.documentElement,initialState:(null==(e=window.widgetIdent)?void 0:e.programId)||void 0,contextName:"sq:program-id"}).start());}function M(){E$1();var n=P();return h(n,"sq:program-id")}function D(){var e,n;return window.SquatchAndroid?{type:"SquatchAndroid",android:window.SquatchAndroid,widgetIdent:window.widgetIdent}:window.SquatchPortal?{type:"SquatchPortal",env:window.SquatchPortal}:window.SquatchAdmin?{type:"SquatchAdmin",adminSDK:window.SquatchAdmin}:window.widgetIdent&&"demo"!==(null==(e=window.widgetIdent)?void 0:e.env)?{type:"SquatchJS2",api:null==(n=window.frameElement)?void 0:n.squatchJsApi,widgetIdent:window.widgetIdent}:{type:"None"}}function j(){var e=D();return "None"===e.type||"SquatchAdmin"===e.type}function k(){var e=D();switch(e.type){case"SquatchAndroid":case"SquatchJS2":return e.widgetIdent.tenantAlias;case"SquatchAdmin":case"None":return "demo";case"SquatchPortal":return e.env.tenantAlias}}function $(){var e,n=D();switch(n.type){case"SquatchAndroid":case"SquatchJS2":return n.widgetIdent.appDomain;case"SquatchPortal":return (null==(e=n.env)?void 0:e.appDomain)||"https://app.referralsaasquatch.com";case"SquatchAdmin":case"None":return "https://app.referralsaasquatch.com"}}function x(){var e=D();switch(e.type){case"SquatchJS2":return e.widgetIdent.engagementMedium||"EMBED";case"SquatchAndroid":case"SquatchPortal":case"SquatchAdmin":case"None":return "EMBED"}}function R(){return (n=null==(e=navigator.language)?void 0:e.split("-"))&&1!==n.length?n[0]+"_"+n[1].toUpperCase():e;var e,n;}function V(){return (V=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);}return e}).apply(this,arguments)}function O(e,n){return (O=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e})(e,n)}function N(e,n){return n||(n=e.slice(0)),e.raw=n,e}function H$1(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}function W(e,n){var t;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(t=function(e,n){if(e){if("string"==typeof e)return H$1(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return "Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?H$1(e,n):void 0}}(e))||n&&e&&"number"==typeof e.length){t&&(e=t);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return (t=e[Symbol.iterator]()).next.bind(t)}function U(){window.squatchUserIdentity||(window.squatchUserIdentity=new c({element:document.documentElement,initialState:J$1(),contextName:"sq:user-identity"}).start());}function _(e){if(e)try{var n,r,a=o(e),o$1=a.exp;if(function(e){return e.sub&&/.*:.*@.*:users/.test(e.sub)}(a)){var i=a.sub.match(/(.*):(.*)@(.*):users/);r=atob(i[1]),n=atob(i[2]);}else (function(e){return e.user&&e.user.id&&e.user.accountId})(a)&&(r=a.user.accountId,n=a.user.id);if(!n||!r)return;if(o$1&&Date.now()>=1e3*o$1)return;return {id:n,accountId:r,jwt:e}}catch(e){return}}function J$1(){var e=D();switch(e.type){case"SquatchAndroid":case"SquatchJS2":return {id:e.widgetIdent.userId,accountId:e.widgetIdent.accountId,jwt:e.widgetIdent.token};case"SquatchPortal":var n=new URLSearchParams(document.location.search);if(n.has("jwt"))return _(n.get("jwt"));var t=localStorage.getItem("sq:user-identity");if(!t)return;try{var r=JSON.parse(t),a=_(r.jwt);return a?V({},r,a):void 0}catch(e){return}case"SquatchAdmin":case"None":return}}function L(e){U();var n=window.squatchUserIdentity;equal(n.context,e)||(n.context=e),e&&"SquatchPortal"===D().type?localStorage.setItem("sq:user-identity",JSON.stringify(e)):localStorage.removeItem("sq:user-identity");}function Q(){var e;return null==(e=T())?void 0:e.jwt}function T(){U();var n=P(),t=h(n,"sq:user-identity");if(_(null==t?void 0:t.jwt))return t;L(void 0);}var z=function(){return (z=Object.assign||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var a in n=arguments[t])Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a]);return e}).apply(this,arguments)},G=new Map,B$1=new Map,K=!0,Z=!1;function X(e){return e.replace(/[\s,]+/g," ").trim()}function Y(e){var n,t,r,o=X(e);if(!G.has(o)){var i=parse(e,{experimentalFragmentVariables:Z});if(!i||"Document"!==i.kind)throw new Error("Not a valid GraphQL document.");G.set(o,function(e){var n=new Set(e.definitions);n.forEach(function(e){e.loc&&delete e.loc,Object.keys(e).forEach(function(t){var r=e[t];r&&"object"==typeof r&&n.add(r);});});var t=e.loc;return t&&(delete t.startToken,delete t.endToken),e}((n=i,t=new Set,r=[],n.definitions.forEach(function(e){if("FragmentDefinition"===e.kind){var n=e.name.value,a=X((i=e.loc).source.body.substring(i.start,i.end)),o=B$1.get(n);o&&!o.has(a)?K&&console.warn("Warning: fragment with name "+n+" already exists.\ngraphql-tag enforces all fragment names across your application to be unique; read more about\nthis in the docs: http://dev.apollodata.com/core/fragments.html#unique-names"):o||B$1.set(n,o=new Set),o.add(a),t.has(a)||(t.add(a),r.push(e));}else r.push(e);var i;}),z(z({},n),{definitions:r}))));}return G.get(o)}function ee(e){for(var n=[],t=1;t<arguments.length;t++)n[t-1]=arguments[t];"string"==typeof e&&(e=[e]);var r=e[0];return n.forEach(function(n,t){r+=n&&"Document"===n.kind?n.loc.source.body:n,r+=e[t+1];}),Y(r)}var ne,te=ee;(ne=ee||(ee={})).gql=te,ne.resetCaches=function(){G.clear(),B$1.clear();},ne.disableFragmentWarnings=function(){K=!1;},ne.enableExperimentalFragmentVariables=function(){Z=!0;},ne.disableExperimentalFragmentVariables=function(){Z=!1;},ee.default=ee;var re=ee;function ae(e,n){try{var t=e();}catch(e){return n(e)}return t&&t.then?t.then(void 0,n):t}var oe=function(e){var n,t;function r(n,t){var r;(r=e.call(this,n,t)||this).subject=new Subject;var a=new Subject;return r.subject.pipe(bufferTime(200,void 0,10)).subscribe(function(e){try{if(!e.length)return Promise.resolve();for(var n,t=ce(e),i=t.mergedQuery,s=t.mergedVariables,u=t.mergedQueryAddedEvents,c=W(t.unmergedQueryAddedEvents);!(n=c()).done;)a.next(n.value);return u.length?Promise.resolve(ae(function(){return Promise.resolve(r.superRequest(i,s)).then(function(e){fe(e,u);})},function(e){if(e instanceof types.ClientError){var n=function(){var n=e.response,t=n.data,r=n.errors;if(!t)return {v:ve(u,e)};for(var a,i=Object.keys(t),s=[].concat(u),c=function(){var n=a.value,t=void 0;n.path.find(function(r,a,u){if(i.includes(r)){var c=ue(r),d=s.findIndex(function(e){return e.id===c});if(-1===d)return !1;i.splice(a,1),t=s.splice(d,1)[0];var l=de(e.response.data,t);u[a]=se(u[a],c);var f=t.query,m=t.variables,v=V({},e.response,{errors:[n],data:l,path:u}),g=new types.ClientError(v,{query:"string"!=typeof f?print(f):f,variables:m});return me(t,g),!0}return !1});},d=W(r);!(a=d()).done;)c();fe(t,s);}();if("object"==typeof n)return n.v}else ve(u,e);})):Promise.resolve()}catch(e){return Promise.reject(e)}}),a.subscribe(function(e){try{var n=ae(function(){return Promise.resolve(r.superRequest(e.query,e.variables)).then(function(n){le(n,e);})},function(n){me(e,n);});return Promise.resolve(n&&n.then?n.then(function(){}):void 0)}catch(e){return Promise.reject(e)}}),r}t=e,(n=r).prototype=Object.create(t.prototype),n.prototype.constructor=n,O(n,t);var a=r.prototype;return a.superRequest=function(n,t){return e.prototype.request.call(this,n,t)},a.request=function(e,n){var t=this;return new Promise(function(r,a){var o={query:e,variables:n,id:ie(),resolve:r,reject:a};t.subject.next(o);})},r}(dist.GraphQLClient),ie=function(){return nanoid().replace(/[-_]/g,"")},se=function(e,n){return e.replace("_"+n,"")},ue=function(e){var n=e.split("_");return n[n.length-1]},ce=function(e){var n=[],t=[],r=e.reduce(function(e,r){var i=r.query,s=r.variables,u=r.id;try{var c="string"==typeof i?parse(i):i,d=c.definitions.find(function(e){return "FragmentDefinition"===e.kind}),l="string"==typeof i?i:print(i),f=/@/.test(l);if(d||f)return t.push(r),e;var m=function(e){return function(e,n){return e+"_"+n}(e,u)};return e=e.addN(c,[s],m,m),n.push(r),e}catch(n){return t.push(r),e}},w("BatchedQuery")),i=r.document,s=r.variables;return {mergedQuery:i&&print(i),mergedVariables:s,mergedQueryAddedEvents:n,unmergedQueryAddedEvents:t}},de=function(e,n){if(!e)return e;var t=Object.keys(e),r=n.id;return t.reduce(function(n,t){var a;return t.endsWith(r)&&(n=V({},n,((a={})[se(t,r)]=e[t],a))),n},{})},le=function(e,n){(0, n.resolve)(e);},fe=function(e,n){for(var t,r=W(n);!(t=r()).done;){var a=t.value,o=de(e,a);a.resolve(o);}},me=function(e,n){(0, e.reject)(n);},ve=function(e,n){for(var t,r=W(e);!(t=r()).done;)(0, t.value.reject)(n);},ge="sq:graphql-client",pe=src(function(e,n,t){return new oe(e+"/api/v1/"+n+"/graphql",{headers:{Authorization:"Bearer "+(t||"")}})});function he(e,n){switch(n.type){case"loading":return {data:void 0,errors:void 0,loading:!0};case"data":return {data:n.payload,errors:void 0,loading:!1};case"errors":return {data:void 0,errors:n.payload,loading:!1}}}function ye(n,t){var r,a,o,d,l,f,m=(r=Q(),a=$(),o=k(),d=pe(a,o,r),l=P(),null!=(f=h(l,"sq:graphql-client",{attempts:0}))?f:d),v=function(){var e=useRef(null);return useEffect(function(){return e.current=!0,function(){e.current=!1;}}),e}(),g=useReducer(he,t),p=g[1];return [g[0],useCallback(function(e){try{return m?Promise.resolve(function(t,r){try{var a=(p({type:"loading"}),Promise.resolve(m.request(n,e)).then(function(e){v.current&&p({type:"data",payload:e});}));}catch(e){return r(e)}return a&&a.then?a.then(void 0,r):a}(0,function(e){p({type:"errors",payload:e});})):(p({type:"errors",payload:new Error("No GraphQL client found")}),Promise.resolve())}catch(e){return Promise.reject(e)}},[m,n,p])]}var we,Ce={loading:!1,data:void 0,errors:void 0};function be(e){var n=ye(e,Ce);return [n[1],n[0]]}var Ie,Fe=re(we||(we=N(["\n mutation AuthenticateWithEmailAndPassword(\n $email: String!\n $password: String!\n ) {\n authenticateManagedIdentityWithEmailAndPassword(\n authenticateManagedIdentityWithEmailAndPasswordInput: {\n email: $email\n password: $password\n }\n ) {\n token\n email\n emailVerified\n sessionData\n }\n }\n"])));function qe(){var e=be(Fe),n=e[0],r=e[1],a=r.loading,o$1=r.data,i=r.errors;return useEffect(function(){if(null!=o$1&&o$1.authenticateManagedIdentityWithEmailAndPassword){var e=o$1.authenticateManagedIdentityWithEmailAndPassword,n=e.token,r=o(n).user;L({jwt:n,id:r.id,accountId:r.accountId,managedIdentity:{email:e.email,emailVerified:e.emailVerified,sessionData:e.sessionData}});}},[null==o$1?void 0:o$1.authenticateManagedIdentityWithEmailAndPassword]),[n,{loading:a,data:o$1,errors:i}]}var Pe,Se=re(Ie||(Ie=N(["\n mutation RegisterWithEmailAndPassword(\n $email: String!\n $password: String!\n $formData: RSJsonNode\n ) {\n registerManagedIdentityWithEmailAndPassword(\n registerManagedIdentityWithEmailAndPasswordInput: {\n email: $email\n password: $password\n formData: $formData\n }\n ) {\n token\n email\n emailVerified\n sessionData\n }\n }\n"])));function Ee(){var e=be(Se),n=e[0],r=e[1],a=r.loading,o$1=r.data,i=r.errors;return useEffect(function(){if(null!=o$1&&o$1.registerManagedIdentityWithEmailAndPassword){var e=o$1.registerManagedIdentityWithEmailAndPassword,n=e.token,r=o(n).user;L({jwt:n,id:r.id,accountId:r.accountId,managedIdentity:{email:e.email,emailVerified:e.emailVerified,sessionData:e.sessionData}});}},[null==o$1?void 0:o$1.registerManagedIdentityWithEmailAndPassword]),[n,{loading:a,data:o$1,errors:i}]}var Me,Ae=re(Pe||(Pe=N(["\n mutation ChangePassword($password: String!) {\n changeManagedIdentityPassword(\n changeManagedIdentityPasswordInput: { password: $password }\n ) {\n success\n }\n }\n"])));function De(){var e=be(Ae),n=e[1];return [e[0],{loading:n.loading,data:n.data,errors:n.errors}]}var je,ke=re(Me||(Me=N(["\n mutation ResetPassword($oobCode: String!, $password: String!) {\n resetManagedIdentityPassword(\n resetManagedIdentityPasswordInput: {\n password: $password\n oobCode: $oobCode\n }\n ) {\n token\n email\n emailVerified\n sessionData\n }\n }\n"])));function $e(){var e=be(ke),n=e[0],r=e[1],a=r.loading,o$1=r.data,i=r.errors;return useEffect(function(){if(null!=o$1&&o$1.resetManagedIdentityPassword){var e=o$1.resetManagedIdentityPassword,n=e.token,r=o(n).user;L({jwt:n,id:r.id,accountId:r.accountId,managedIdentity:{email:e.email,emailVerified:e.emailVerified,sessionData:e.sessionData}});}},[null==o$1?void 0:o$1.resetManagedIdentityPassword]),[n,{loading:a,data:o$1,errors:i}]}var xe=re(je||(je=N(["\n mutation VerifyPasswordResetCode($oobCode: String!) {\n verifyManagedIdentityPasswordResetCode(\n verifyManagedIdentityPasswordResetCodeInput: { oobCode: $oobCode }\n ) {\n success\n }\n }\n"])));function Re(){return be(xe)}var Ve,Oe={loading:!1,data:void 0,errors:void 0};function Ne(e){var n=ye(e,Oe),t=n[1];return [t,V({},n[0],{refetch:function(e){return t(e)}})]}var He,We=re(Ve||(Ve=N(["\n query ManagedIdentity {\n managedIdentity {\n email\n emailVerified\n sessionData\n }\n }\n"])));function Ue(){var e=T(),n=Ne(We),t=n[0],r=n[1],a=r.loading,o=r.data,i=r.errors,u=r.refetch;return useEffect(function(){null!=o&&o.managedIdentity&&L(V({},e,{managedIdentity:o.managedIdentity}));},[null==o?void 0:o.managedIdentity]),[useCallback(function(){return t({})},[t]),{loading:a,data:o,errors:i,refetch:u}]}var _e,Je=re(He||(He=N(["\n mutation VerifyEmail($oobCode: String!) {\n verifyManagedIdentityEmail(\n verifyManagedIdentityEmailInput: { oobCode: $oobCode }\n ) {\n success\n }\n }\n"])));function Le(){var e,n=Ue()[0],t=be(Je),r=t[0],a=t[1],o=a.loading,i=a.data,s=a.errors;return useEffect(function(){var e;null!=i&&null!=(e=i.verifyManagedIdentityEmail)&&e.success&&n();},[null==i||null==(e=i.verifyManagedIdentityEmail)?void 0:e.success]),[r,{loading:o,data:i,errors:s}]}var Qe,Te=re(_e||(_e=N(["\n mutation RequestPasswordResetEmail($email: String!, $urlParams: RSJsonNode) {\n requestManagedIdentityPasswordResetEmail(\n requestManagedIdentityPasswordResetEmailInput: {\n email: $email\n urlParams: $urlParams\n }\n ) {\n success\n }\n }\n"])));function ze(){return be(Te)}var Ge=re(Qe||(Qe=N(["\n mutation RequestVerificationEmail($email: String!, $urlParams: RSJsonNode) {\n requestManagedIdentityVerificationEmail(\n requestManagedIdentityVerificationEmailInput: {\n email: $email\n urlParams: $urlParams\n }\n ) {\n success\n }\n }\n"])));function Be(){return be(Ge)}function Ke(e,n){var t=useRef();return t.current&&equal(n,t.current.key)||(t.current={key:n,value:e()}),t.current.value}function Ze(){return useReducer(function(e){return e+1},0)}function Xe(e){for(var n,t=W(Object.getOwnPropertyNames(e));!(n=t()).done;){var r=e[n.value];r&&"object"==typeof r&&Xe(r);}return Object.freeze(e)}var Ye={loading:!0,data:void 0,errors:void 0};function en(e,n,t){var r=ye(e,Ye),a=r[0],o=r[1],i=Ze(),s=i[1];return Ke(function(){!t&&o(n);},[e,n,o,i[0],t]),Xe(V({},a,{refetch:s}))}function nn(){return window.squatchHistory=window.squatchHistory||function(){switch(D().type){case"SquatchPortal":return createBrowserHistory();default:return createMemoryHistory()}}(),window.squatchHistory}var tn,rn={createHref:function(){var e;return (e=nn()).createHref.apply(e,[].slice.call(arguments))},push:function(){var e;return (e=nn()).push.apply(e,[].slice.call(arguments))},replace:function(){var e;return (e=nn()).replace.apply(e,[].slice.call(arguments))},go:function(){var e;return (e=nn()).go.apply(e,[].slice.call(arguments))},back:function(){return nn().back()},forward:function(){var e;return (e=nn()).forward.apply(e,[].slice.call(arguments))}};function an(){var e=Ze()[1];return useEffect(function(){return nn().listen(function(){e();})},[]),nn().location}function on(e){var n=useState({limit:e.limit,offset:e.offset}),t=n[0],r=n[1],a=t.offset,o=t.limit,i=function(e,n){return e*n},s=function(e,n){return Math.ceil(e/n)||0};return {limit:o,setLimit:function(e){var n=s(a,e),o=i(e,n);r(V({},t,{limit:e,offset:o}));},offset:a,setCurrentPage:function(e){var n=i(e,o);r(function(e){return V({},e,{offset:n})});},calculatePagination:function(e,n){var t=s(a,o),r=function(e,n){return Math.ceil(e/n)||0}(n,o),i=0===e?"0":e>1?a+1+"-"+(a+e):""+(a+1);return {currentPage:t,pageCount:r,rangeOnPage:i,pageProgress:i+" of "+n}}}}function sn(e,n,t,r,a){var o;void 0===r&&(r={}),void 0===a&&(a=!1);var i=on(t),s=i.limit,u=i.setLimit,c=i.setCurrentPage,d=i.calculatePagination,l=en(e,V({limit:s,offset:i.offset},r),a),f=l.loading,m=l.errors,v=l.refetch,g=n(l.data),p=d((null==g||null==(o=g.data)?void 0:o.length)||0,(null==g?void 0:g.totalCount)||0);return {envelope:g,states:{errors:m,loading:f,limit:s,currentPage:p.currentPage,pageCount:p.pageCount,pageProgress:p.pageProgress},callbacks:{refetch:v,setLimit:u,setCurrentPage:c}}}var ln=dist.gql(tn||(tn=N(["\n mutation ($eventMeta: UserAnalyticsEvent!) {\n createUserAnalyticsEvent(eventMeta: $eventMeta)\n }\n"])));var mn=1e3,vn=60*mn,gn=60*vn,pn=24*gn,hn=function(e,n){n=n||{};var t=typeof e;if("string"===t&&e.length>0)return function(e){if(!((e=String(e)).length>100)){var n=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(n){var t=parseFloat(n[1]);switch((n[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*t;case"weeks":case"week":case"w":return 6048e5*t;case"days":case"day":case"d":return t*pn;case"hours":case"hour":case"hrs":case"hr":case"h":return t*gn;case"minutes":case"minute":case"mins":case"min":case"m":return t*vn;case"seconds":case"second":case"secs":case"sec":case"s":return t*mn;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return t;default:return}}}}(e);if("number"===t&&isFinite(e))return n.long?function(e){var n=Math.abs(e);return n>=pn?yn(e,n,pn,"day"):n>=gn?yn(e,n,gn,"hour"):n>=vn?yn(e,n,vn,"minute"):n>=mn?yn(e,n,mn,"second"):e+" ms"}(e):function(e){var n=Math.abs(e);return n>=pn?Math.round(e/pn)+"d":n>=gn?Math.round(e/gn)+"h":n>=vn?Math.round(e/vn)+"m":n>=mn?Math.round(e/mn)+"s":e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function yn(e,n,t,r){var a=n>=1.5*t;return Math.round(e/t)+" "+r+(a?"s":"")}var wn,Cn,bn,In,Fn=(function(e,n){n.formatArgs=function(n){if(n[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+n[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const t="color: "+this.color;n.splice(1,0,t,"color: inherit");let r=0,a=0;n[0].replace(/%[a-zA-Z%]/g,e=>{"%%"!==e&&(r++,"%c"===e&&(a=r));}),n.splice(a,0,t);},n.save=function(e){try{e?n.storage.setItem("debug",e):n.storage.removeItem("debug");}catch(e){}},n.load=function(){let e;try{e=n.storage.getItem("debug");}catch(e){}return !e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG),e},n.useColors=function(){return !("undefined"==typeof window||!window.process||"renderer"!==window.process.type&&!window.process.__nwjs)||("undefined"==typeof navigator||!navigator.userAgent||!navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},n.storage=function(){try{return localStorage}catch(e){}}(),n.destroy=(()=>{let e=!1;return ()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."));}})(),n.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],n.log=console.debug||console.log||(()=>{}),e.exports=function(e){function n(e){let r,a=null;function o(...e){if(!o.enabled)return;const t=o,a=Number(new Date);t.diff=a-(r||a),t.prev=r,t.curr=a,r=a,e[0]=n.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let i=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,(r,a)=>{if("%%"===r)return "%";i++;const o=n.formatters[a];return "function"==typeof o&&(r=o.call(t,e[i]),e.splice(i,1),i--),r}),n.formatArgs.call(t,e),(t.log||n.log).apply(t,e);}return o.namespace=e,o.useColors=n.useColors(),o.color=n.selectColor(e),o.extend=t,o.destroy=n.destroy,Object.defineProperty(o,"enabled",{enumerable:!0,configurable:!1,get:()=>null===a?n.enabled(e):a,set:e=>{a=e;}}),"function"==typeof n.init&&n.init(o),o}function t(e,t){const r=n(this.namespace+(void 0===t?":":t)+e);return r.log=this.log,r}function r(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return n.debug=n,n.default=n,n.coerce=function(e){return e instanceof Error?e.stack||e.message:e},n.disable=function(){const e=[...n.names.map(r),...n.skips.map(r).map(e=>"-"+e)].join(",");return n.enable(""),e},n.enable=function(e){let t;n.save(e),n.names=[],n.skips=[];const r=("string"==typeof e?e:"").split(/[\s,]+/),a=r.length;for(t=0;t<a;t++)r[t]&&("-"===(e=r[t].replace(/\*/g,".*?"))[0]?n.skips.push(new RegExp("^"+e.substr(1)+"$")):n.names.push(new RegExp("^"+e+"$")));},n.enabled=function(e){if("*"===e[e.length-1])return !0;let t,r;for(t=0,r=n.skips.length;t<r;t++)if(n.skips[t].test(e))return !1;for(t=0,r=n.names.length;t<r;t++)if(n.names[t].test(e))return !0;return !1},n.humanize=hn,n.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");},Object.keys(e).forEach(t=>{n[t]=e[t];}),n.names=[],n.skips=[],n.formatters={},n.selectColor=function(e){let t=0;for(let n=0;n<e.length;n++)t=(t<<5)-t+e.charCodeAt(n),t|=0;return n.colors[Math.abs(t)%n.colors.length]},n.enable(n.load()),n}(n);const{formatters:t}=e.exports;t.j=function(e){try{return JSON.stringify(e)}catch(e){return "[UnexpectedJSONParseError]: "+e.message}};}(wn={exports:{}},wn.exports),wn.exports)("sq:useForm"),qn=dist.gql(Cn||(Cn=N(["\n query ($key: String!) {\n form(key: $key) {\n schema\n initialData {\n initialData\n isEnabled\n isEnabledErrorMessage\n }\n }\n }\n"]))),Pn=dist.gql(bn||(bn=N(["\n mutation ($formSubmissionInput: FormSubmissionInput!) {\n submitForm(formSubmissionInput: $formSubmissionInput) {\n success\n results {\n ... on FormHandlerSubmissionResult {\n formHandler {\n name\n endpointUrl\n integration {\n name\n }\n }\n result\n }\n ... on FormHandlerError {\n formHandler {\n name\n endpointUrl\n integration {\n name\n }\n }\n errorType\n error\n errorCode\n }\n }\n }\n }\n"]))),Sn=dist.gql(In||(In=N(["\n query ($formValidationInput: FormValidationInput!) {\n validateForm(formValidationInput: $formValidationInput) {\n valid\n results {\n ... on FormHandlerValidationResult {\n formHandler {\n name\n endpointUrl\n integration {\n name\n }\n }\n result\n }\n ... on FormHandlerError {\n formHandler {\n name\n endpointUrl\n integration {\n name\n }\n }\n errorType\n error\n errorCode\n }\n }\n }\n }\n"])));
7652
7650
 
@@ -1,8 +1,8 @@
1
1
  import { p as promiseResolve, b as bootstrapLazy } from './index-17b4da69.js';
2
2
  import './extends-3a3f9fe2.js';
3
- import './global-1390bc3a.js';
3
+ import './global-ec7e3d4a.js';
4
4
  import './use-callback-b38a1523.js';
5
- import './index.module-7f0d8a13.js';
5
+ import './index.module-923f4abb.js';
6
6
 
7
7
  /*
8
8
  Stencil Client Patch Esm v2.4.0 | MIT Licensed | https://stenciljs.com
@@ -1,8 +1,8 @@
1
1
  import { p as promiseResolve, H, b as bootstrapLazy } from './index-17b4da69.js';
2
2
  import './extends-3a3f9fe2.js';
3
- import './global-1390bc3a.js';
3
+ import './global-ec7e3d4a.js';
4
4
  import './use-callback-b38a1523.js';
5
- import './index.module-7f0d8a13.js';
5
+ import './index.module-923f4abb.js';
6
6
 
7
7
  /*
8
8
  Stencil Client Patch Browser v2.4.0 | MIT Licensed | https://stenciljs.com
@@ -1,5 +1,5 @@
1
1
  import { e as useEffect } from './extends-3a3f9fe2.js';
2
- import { P, Z as Ze } from './index.module-7f0d8a13.js';
2
+ import { P, Z as Ze } from './index.module-923f4abb.js';
3
3
 
4
4
  const RENDER_EVENT = "sqm:request-rerender";
5
5
  /**
@@ -1,7 +1,7 @@
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-7f0d8a13.js';
4
+ import { j } from './index.module-923f4abb.js';
5
5
  import './jss-preset-default.esm-71fae192.js';
6
6
  import { c as cjs } from './cjs-bdfb4486.js';
7
7
  import { A as AssetCardView } from './sqm-asset-card-view-6f360937.js';
@@ -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
3
  import './use-callback-b38a1523.js';
4
- import { j } from './index.module-7f0d8a13.js';
4
+ import { j } from './index.module-923f4abb.js';
5
5
  import './jss-preset-default.esm-71fae192.js';
6
6
  import './cjs-bdfb4486.js';
7
- import { a as useDemoBigStat, u as useBigStat, B as BigStatView } from './useDemoBigStat-e24cb84d.js';
7
+ import { a as useDemoBigStat, u as useBigStat, B as BigStatView } from './useDemoBigStat-3d8318e8.js';
8
8
 
9
9
  const BigStat = class {
10
10
  constructor(hostRef) {
@@ -1,32 +1,32 @@
1
1
  import { h, r as registerInstance, c as Host } from './index-17b4da69.js';
2
2
  import { m as h$1, j as useState, e as useEffect, f as useRef, n as d$2, y as y$1, b as browser, u as useReducer, c as createCommonjsModule, a as commonjsGlobal, k as useMemo } from './extends-3a3f9fe2.js';
3
- import { i as intl, a as insertCSS } from './global-1390bc3a.js';
3
+ import { i as intl, a as insertCSS } from './global-ec7e3d4a.js';
4
4
  import { u as useCallback } from './use-callback-b38a1523.js';
5
- import { d as dist, T as T$1, e as en, b as be, j as j$1, Z as Ze, r as rn, q as qe, P as P$1, E as Ee, M as M$1, a as sn, c as an, x as x$1, D as D$1 } from './index.module-7f0d8a13.js';
5
+ import { d as dist, T as T$1, e as en, b as be, j as j$1, Z as Ze, r as rn, q as qe, P as P$1, E as Ee, M as M$1, a as sn, c as an, x as x$1, D as D$1 } from './index.module-923f4abb.js';
6
6
  import { j as jsonpointer } from './jsonpointer-388a7082.js';
7
7
  import { j as jss, c as create } from './jss-preset-default.esm-71fae192.js';
8
8
  import { g as getProps, a as getMissingProps } from './utils-454405f5.js';
9
9
  import { c as cjs } from './cjs-bdfb4486.js';
10
10
  import { E as ErrorStyles, H as HostBlock, A as AuthWrapper, a as AuthColumn, b as AuthButtonsContainer, g as gap } from './mixins-583d364a.js';
11
11
  import { T as TextSpanView } from './sqm-text-span-view-1781df94.js';
12
- import { g as gql, L as LeaderboardRankView } from './sqm-leaderboard-rank-view-e985d803.js';
13
- import { u as useRerenderListener } from './re-render-7b02e55e.js';
14
- import { p as pathToRegexp, B as BigStatView, u as useBigStat, a as useDemoBigStat } from './useDemoBigStat-e24cb84d.js';
12
+ import { g as gql, L as LeaderboardRankView } from './sqm-leaderboard-rank-view-39f3bb68.js';
13
+ import { u as useRerenderListener } from './re-render-82fb30e2.js';
14
+ import { p as pathToRegexp, B as BigStatView, u as useBigStat, a as useDemoBigStat } from './useDemoBigStat-3d8318e8.js';
15
15
  import { S as ShareLinkView } from './sqm-share-link-view-da79ea6c.js';
16
- import { L as LeaderboardView, u as useLeaderboard, S as ShadowViewAddon } from './ShadowViewAddon-27e12597.js';
16
+ import { L as LeaderboardView, u as useLeaderboard, S as ShadowViewAddon } from './ShadowViewAddon-ea448731.js';
17
17
  import { N as NavigationSidebarView } from './sqm-navigation-sidebar-view-7b9db1c3.js';
18
- import { N as NavigationSidebarItemView } from './sqm-navigation-sidebar-item-view-68908022.js';
18
+ import { N as NavigationSidebarItemView } from './sqm-navigation-sidebar-item-view-4052cdeb.js';
19
19
  import { P as PortalSectionView } from './sqm-portal-section-view-f0876545.js';
20
20
  import { P as PortalContainerView } from './sqm-portal-container-view-73757ca5.js';
21
21
  import { S as StatContainerView } from './sqm-stat-container-view-4133feb6.js';
22
- import { P as PortalProfileView } from './sqm-portal-profile-view-e0812974.js';
22
+ import { P as PortalProfileView } from './sqm-portal-profile-view-487cb78d.js';
23
23
  import { P as PortalChangePasswordView } from './sqm-portal-change-password-view-f7f19227.js';
24
24
  import { P as PortalForgotPasswordView } from './sqm-portal-forgot-password-view-a803e8ba.js';
25
- import { P as PortalEmailVerificationView } from './sqm-portal-email-verification-view-da871efc.js';
25
+ import { P as PortalEmailVerificationView } from './sqm-portal-email-verification-view-96c26b09.js';
26
26
  import { P as PortalResetPasswordView$1 } from './sqm-portal-reset-password-view-667bcd25.js';
27
27
  import { P as PortalVerifyEmailView } from './sqm-portal-verify-email-view-26f1d297.js';
28
28
  import { A as AssetCardView } from './sqm-asset-card-view-6f360937.js';
29
- import { P as PoweredByImg$1, a as PortalFooterView } from './sqm-portal-footer-view-181786fe.js';
29
+ import { P as PoweredByImg$1, a as PortalFooterView } from './sqm-portal-footer-view-64604c2c.js';
30
30
  import { H as HeroView } from './sqm-hero-view-96881a49.js';
31
31
  import { N as NameFieldsView } from './sqm-name-fields-view-5e02fd84.js';
32
32
 
@@ -5538,17 +5538,20 @@ function ReferralIframeView(props) {
5538
5538
  }
5539
5539
 
5540
5540
  const style$5 = {
5541
- DivStyle: {
5541
+ IconStyle: {
5542
5542
  display: "block",
5543
5543
  position: "absolute",
5544
- top: "18px",
5544
+ top: "23px",
5545
5545
  },
5546
- IconStyle: {
5547
- "&::part(icon)": {},
5546
+ DivStyle: {
5547
+ marginLeft: "30px",
5548
5548
  },
5549
5549
  Details: {
5550
5550
  marginLeft: "30px",
5551
5551
  },
5552
+ Heading: {
5553
+ display: "inline-block",
5554
+ },
5552
5555
  };
5553
5556
  jss.setup(create());
5554
5557
  const sheet$5 = jss.createStyleSheet(style$5);
@@ -5557,16 +5560,22 @@ function RequiredPropsError({ missingProps }) {
5557
5560
  if (!missingProps)
5558
5561
  return false;
5559
5562
  const host = P$1();
5560
- return (h("sl-alert", { type: "danger", open: true, class: sheet$5.classes.IconStyle },
5563
+ const [detailsOpen, setDetailsOpen] = useState(false);
5564
+ return (h("sl-alert", { type: "danger", open: true },
5561
5565
  h("style", { type: "text/css" }, styleString$5),
5562
- h("div", { slot: "icon", class: sheet$5.classes.DivStyle },
5566
+ h("div", { slot: "icon", class: sheet$5.classes.IconStyle },
5563
5567
  h("sl-icon", { name: "exclamation-octagon" })),
5568
+ h("div", { class: sheet$5.classes.DivStyle },
5569
+ h("h2", { class: sheet$5.classes.Heading }, "There was a problem loading this page"),
5570
+ h("p", null, "There was a technical problem that prevented this page from loading. Please contact us with the link to this page.")),
5564
5571
  h("details", { class: sheet$5.classes.Details },
5565
- h("summary", null,
5566
- h("strong", null,
5567
- "Error occured while loading ",
5568
- `<${host.tagName.toLowerCase()}>`)),
5569
- h("p", null, "Values for the following attributes are missing:"),
5572
+ h("summary", { onClick: () => setDetailsOpen(!detailsOpen) },
5573
+ detailsOpen ? "Less" : "More",
5574
+ " details"),
5575
+ h("p", null,
5576
+ "Error occured while loading ",
5577
+ `<${host.tagName.toLowerCase()}>`,
5578
+ ". Values for the following attributes are missing:"),
5570
5579
  h("ul", null, missingProps.map((prop) => (h("li", null,
5571
5580
  h("strong", null, prop.attribute))))))));
5572
5581
  }
@@ -22624,7 +22633,7 @@ var marked = createCommonjsModule(function (module, exports) {
22624
22633
 
22625
22634
  const LoginReadme = "# sqm-portal-login\r\n\r\n\r\n\r\n<!-- Auto Generated Below -->\r\n\r\n\r\n## Properties\r\n\r\n| Property | Attribute | Description | Type | Default |\r\n| --------------------- | ----------------------- | ----------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------- |\r\n| `demoData` | -- | | `{ states?: { error: string; loading: boolean; }; content?: { forgotPasswordButton?: any; secondaryButton?: any; emailLabel?: string; passwordLabel?: string; submitLabel?: string; pageLabel?: string; }; }` | `undefined` |\r\n| `emailLabel` | `email-label` | | `string` | `\"Email\"` |\r\n| `forgotPasswordLabel` | `forgot-password-label` | | `string` | `\"Forgot Password?\"` |\r\n| `nextPage` | `next-page` | | `string` | `\"/\"` |\r\n| `pageLabel` | `page-label` | | `string` | `\"Sign in to your account\"` |\r\n| `passwordLabel` | `password-label` | | `string` | `\"Password\"` |\r\n| `registerLabel` | `register-label` | | `string` | `\"Register\"` |\r\n| `submitLabel` | `submit-label` | | `string` | `\"Sign In\"` |\r\n\r\n\r\n## Dependencies\r\n\r\n### Used by\r\n\r\n - [sqm-stencilbook](../sqm-stencilbook)\r\n\r\n### Depends on\r\n\r\n- [sqm-form-message](../sqm-form-message)\r\n\r\n### Graph\r\n```mermaid\r\ngraph TD;\r\n sqm-portal-login --> sqm-form-message\r\n sqm-stencilbook --> sqm-portal-login\r\n style sqm-portal-login fill:#f9f,stroke:#333,stroke-width:4px\r\n```\r\n\r\n----------------------------------------------\r\n\r\n*Built with [StencilJS](https://stenciljs.com/)*\r\n";
22626
22635
 
22627
- const ReferralIframeReadme = "# sqm-referral-iframe\r\n\r\n\r\n\r\n<!-- Auto Generated Below -->\r\n\r\n\r\n## Properties\r\n\r\n| Property | Attribute | Description | Type | Default |\r\n| -------------- | --------------- | ----------- | ------------------------------------------------------------------------------------------------------------------------------ | ----------- |\r\n| `demoData` | -- | | `{ states?: { content: { iframeSrc: string; iframeHeight: string; iframeWidth: string; }; }; data?: { shareCode: string; }; }` | `undefined` |\r\n| `iframeHeight` | `iframe-height` | | `string` | `\"100%\"` |\r\n| `iframeSrc` | `iframe-src` | | `string` | `undefined` |\r\n| `iframeWidth` | `iframe-width` | | `string` | `\"100%\"` |\r\n\r\n\r\n## Dependencies\r\n\r\n### Used by\r\n\r\n - [sqm-stencilbook](../sqm-stencilbook)\r\n\r\n### Graph\r\n```mermaid\r\ngraph TD;\r\n sqm-stencilbook --> sqm-referral-iframe\r\n style sqm-referral-iframe fill:#f9f,stroke:#333,stroke-width:4px\r\n```\r\n\r\n----------------------------------------------\r\n\r\n*Built with [StencilJS](https://stenciljs.com/)*\r\n";
22636
+ const ReferralIframeReadme = "# sqm-referral-iframe\r\n\r\n\r\n\r\n<!-- Auto Generated Below -->\n\n\n## Properties\n\n| Property | Attribute | Description | Type | Default |\n| -------------- | --------------- | ----------- | ------------------------------------------------------------------------------------------------------------------------------ | ----------- |\n| `demoData` | -- | | `{ states?: { content: { iframeSrc: string; iframeHeight: string; iframeWidth: string; }; }; data?: { shareCode: string; }; }` | `undefined` |\n| `iframeHeight` | `iframe-height` | | `string` | `\"100%\"` |\n| `iframeSrc` | `iframe-src` | | `string` | `undefined` |\n| `iframeWidth` | `iframe-width` | | `string` | `\"100%\"` |\n\n\n## Dependencies\n\n### Used by\n\n - [sqm-stencilbook](../sqm-stencilbook)\n\n### Graph\n```mermaid\ngraph TD;\n sqm-stencilbook --> sqm-referral-iframe\n style sqm-referral-iframe fill:#f9f,stroke:#333,stroke-width:4px\n```\n\n----------------------------------------------\n\n*Built with [StencilJS](https://stenciljs.com/)*\n";
22628
22637
 
22629
22638
  const ForgotPasswordReadme = "# sqm-portal-forgot-password\r\n\r\n\r\n\r\n<!-- Auto Generated Below -->\r\n\r\n\r\n## Properties\r\n\r\n| Property | Attribute | Description | Type | Default |\r\n| ------------- | -------------- | ----------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -------------------------- |\r\n| `demoData` | -- | | `{ states?: { error: string; loading: boolean; success: boolean; }; content?: { secondaryButton: any; messageSlot: any; emailLabel?: string; submitLabel?: string; }; }` | `undefined` |\r\n| `emailLabel` | `email-label` | | `string` | `\"Email\"` |\r\n| `submitLabel` | `submit-label` | | `string` | `\"Request Password Reset\"` |\r\n\r\n\r\n## Dependencies\r\n\r\n### Depends on\r\n\r\n- [sqm-form-message](../sqm-form-message)\r\n\r\n### Graph\r\n```mermaid\r\ngraph TD;\r\n sqm-portal-forgot-password --> sqm-form-message\r\n style sqm-portal-forgot-password fill:#f9f,stroke:#333,stroke-width:4px\r\n```\r\n\r\n----------------------------------------------\r\n\r\n*Built with [StencilJS](https://stenciljs.com/)*\r\n";
22630
22639
 
@@ -22636,7 +22645,7 @@ const ResetPasswordReadme = "# sqm-portal-reset-password\r\n\r\n\r\n\r\n<!-- Aut
22636
22645
 
22637
22646
  const EmailVerificationReadme = "# sqm-portal-email-verification\r\n\r\n\r\n\r\n<!-- Auto Generated Below -->\r\n\r\n\r\n## Properties\r\n\r\n| Property | Attribute | Description | Type | Default |\r\n| ------------------------- | --------------------------- | ----------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- |\r\n| `demoData` | -- | | `{ states?: { error: string; loading: boolean; success: boolean; }; content?: { email: string; verifyMessage: string; emailVerificationHeader: string; resendEmailButtonText: string; }; }` | `undefined` |\r\n| `emailVerificationHeader` | `email-verification-header` | | `string` | `\"Verify your email\"` |\r\n| `resendEmailButtonText` | `resend-email-button-text` | | `string` | `\"Re-send Email\"` |\r\n| `verifyMessage` | `verify-message` | | `string` | `\"A verification email was sent to {email}. Please verify your email to continue to the portal.\"` |\r\n\r\n\r\n## Dependencies\r\n\r\n### Depends on\r\n\r\n- [sqm-form-message](../sqm-form-message)\r\n\r\n### Graph\r\n```mermaid\r\ngraph TD;\r\n sqm-portal-email-verification --> sqm-form-message\r\n style sqm-portal-email-verification fill:#f9f,stroke:#333,stroke-width:4px\r\n```\r\n\r\n----------------------------------------------\r\n\r\n*Built with [StencilJS](https://stenciljs.com/)*\r\n";
22638
22647
 
22639
- const EmailVerifiedReadme = "# sqm-portal-verify-email\r\n\r\n\r\n\r\n<!-- Auto Generated Below -->\r\n\r\n\r\n## Properties\r\n\r\n| Property | Attribute | Description | Type | Default |\r\n| ---------- | ----------- | ----------- | ---------------------------------------------------------------------------------------------------- | ----------- |\r\n| `demoData` | -- | | `{ states?: { error: string; loading: boolean; verified: boolean; }; data?: { oobCode: string; }; }` | `undefined` |\r\n| `nextPage` | `next-page` | | `string` | `\"/\"` |\r\n\r\n\r\n## Dependencies\r\n\r\n### Depends on\r\n\r\n- [sqm-form-message](../sqm-form-message)\r\n\r\n### Graph\r\n```mermaid\r\ngraph TD;\r\n sqm-portal-verify-email --> sqm-form-message\r\n style sqm-portal-verify-email fill:#f9f,stroke:#333,stroke-width:4px\r\n```\r\n\r\n----------------------------------------------\r\n\r\n*Built with [StencilJS](https://stenciljs.com/)*\r\n";
22648
+ const EmailVerifiedReadme = "# sqm-portal-verify-email\r\n\r\n\r\n\r\n<!-- Auto Generated Below -->\n\n\n## Properties\n\n| Property | Attribute | Description | Type | Default |\n| ---------- | ----------- | ----------- | ---------------------------------------------------------------------------------------------------- | ----------- |\n| `demoData` | -- | | `{ states?: { error: string; loading: boolean; verified: boolean; }; data?: { oobCode: string; }; }` | `undefined` |\n| `nextPage` | `next-page` | | `string` | `\"/\"` |\n\n\n## Dependencies\n\n### Depends on\n\n- [sqm-form-message](../sqm-form-message)\n\n### Graph\n```mermaid\ngraph TD;\n sqm-portal-verify-email --> sqm-form-message\n style sqm-portal-verify-email fill:#f9f,stroke:#333,stroke-width:4px\n```\n\n----------------------------------------------\n\n*Built with [StencilJS](https://stenciljs.com/)*\n";
22640
22649
 
22641
22650
  const PortalTemplates_stories = {
22642
22651
  title: "Templates / Portal",
@@ -1,7 +1,7 @@
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, f as pe, g as ge } from './index.module-7f0d8a13.js';
4
+ import { Q, k, f as pe, g as ge } from './index.module-923f4abb.js';
5
5
 
6
6
  async function useGraphQLClientProvider({ domain }) {
7
7
  const token = Q();
@@ -1,6 +1,6 @@
1
1
  import { h } from './index-17b4da69.js';
2
- import { _ as __assign } from './global-1390bc3a.js';
3
- import { p as parse } from './index.module-7f0d8a13.js';
2
+ import { _ as __assign } from './global-ec7e3d4a.js';
3
+ import { p as parse } from './index.module-923f4abb.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-1390bc3a.js';
3
+ import { i as intl, c as createIntl } from './global-ec7e3d4a.js';
4
4
  import './use-callback-b38a1523.js';
5
- import { M, T, e as en, j } from './index.module-7f0d8a13.js';
5
+ import { M, T, e as en, j } from './index.module-923f4abb.js';
6
6
  import { c as cjs } from './cjs-bdfb4486.js';
7
- import { g as gql, L as LeaderboardRankView } from './sqm-leaderboard-rank-view-e985d803.js';
7
+ import { g as gql, L as LeaderboardRankView } from './sqm-leaderboard-rank-view-39f3bb68.js';
8
8
 
9
9
  const GET_RANK = gql `
10
10
  query ($type: String!, $filter: UserLeaderboardFilterInput) {
@@ -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-7f0d8a13.js';
4
+ import { j } from './index.module-923f4abb.js';
5
5
  import { c as cjs } from './cjs-bdfb4486.js';
6
- import { w as withShadowView, u as useLeaderboard, L as LeaderboardView } from './ShadowViewAddon-27e12597.js';
6
+ import { w as withShadowView, u as useLeaderboard, L as LeaderboardView } from './ShadowViewAddon-ea448731.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-7f0d8a13.js';
4
+ import { j } from './index.module-923f4abb.js';
5
5
  import './jss-preset-default.esm-71fae192.js';
6
6
  import { c as cjs } from './cjs-bdfb4486.js';
7
7
  import './mixins-583d364a.js';
@@ -1,5 +1,5 @@
1
1
  import { h } from './index-17b4da69.js';
2
- import { r as rn } from './index.module-7f0d8a13.js';
2
+ import { r as rn } from './index.module-923f4abb.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-583d364a.js';
5
5
 
@@ -1,12 +1,12 @@
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-7f0d8a13.js';
4
+ import { c as an, j } from './index.module-923f4abb.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-583d364a.js';
9
- import { N as NavigationSidebarItemView } from './sqm-navigation-sidebar-item-view-68908022.js';
9
+ import { N as NavigationSidebarItemView } from './sqm-navigation-sidebar-item-view-4052cdeb.js';
10
10
 
11
11
  function useNavigationSidebarItem(props) {
12
12
  const currentPage = an();
@@ -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-7f0d8a13.js';
4
+ import { x } from './index.module-923f4abb.js';
5
5
  import { g as getProps } from './utils-454405f5.js';
6
6
 
7
7
  const PopupContainerView = (props) => {
@@ -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 { h as De, T, j } from './index.module-7f0d8a13.js';
4
+ import { h as De, T, j } from './index.module-923f4abb.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';
@@ -1,5 +1,5 @@
1
1
  import { h } from './index-17b4da69.js';
2
- import { i as intl } from './global-1390bc3a.js';
2
+ import { i as intl } from './global-ec7e3d4a.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-583d364a.js';
5
5
  import { T as TextSpanView } from './sqm-text-span-view-1781df94.js';
@@ -1,13 +1,13 @@
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-1390bc3a.js';
3
+ import './global-ec7e3d4a.js';
4
4
  import './use-callback-b38a1523.js';
5
- import { B as Be, T, j } from './index.module-7f0d8a13.js';
5
+ import { B as Be, T, j } from './index.module-923f4abb.js';
6
6
  import './jss-preset-default.esm-71fae192.js';
7
7
  import { c as cjs } from './cjs-bdfb4486.js';
8
8
  import './mixins-583d364a.js';
9
9
  import './sqm-text-span-view-1781df94.js';
10
- import { P as PortalEmailVerificationView } from './sqm-portal-email-verification-view-da871efc.js';
10
+ import { P as PortalEmailVerificationView } from './sqm-portal-email-verification-view-96c26b09.js';
11
11
 
12
12
  function usePortalEmailVerification(props) {
13
13
  var _a, _b, _c, _d, _e;
@@ -1,5 +1,5 @@
1
1
  import { h } from './index-17b4da69.js';
2
- import { i as intl } from './global-1390bc3a.js';
2
+ import { i as intl } from './global-ec7e3d4a.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-1390bc3a.js';
3
+ import './global-ec7e3d4a.js';
4
4
  import './use-callback-b38a1523.js';
5
- import './index.module-7f0d8a13.js';
5
+ import './index.module-923f4abb.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-181786fe.js';
8
+ import { a as PortalFooterView } from './sqm-portal-footer-view-64604c2c.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-7f0d8a13.js';
4
+ import { z as ze, j, r as rn } from './index.module-923f4abb.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';