@flarehr/apollo-super-selection 1.3.23524 → 1.3.23827

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 (283) hide show
  1. package/dist/lib/apollo-super-selection/apollo-super-selection.css +1 -0
  2. package/dist/lib/apollo-super-selection/apollo-super-selection.esm.js +1 -0
  3. package/dist/lib/apollo-super-selection/apollo-super-selection.js +130 -0
  4. package/dist/lib/apollo-super-selection/assets/icon-exclamation.svg +3 -0
  5. package/dist/lib/apollo-super-selection/assets/icon-information-circle.svg +3 -0
  6. package/dist/lib/apollo-super-selection/index.esm.js +0 -0
  7. package/dist/lib/apollo-super-selection/p-14885f78.system.js +15 -0
  8. package/dist/lib/apollo-super-selection/p-15f0e5eb.system.js +1 -0
  9. package/dist/lib/apollo-super-selection/p-22939048.system.entry.js +1 -0
  10. package/dist/lib/apollo-super-selection/p-24d6e2b8.js +1 -0
  11. package/dist/lib/apollo-super-selection/p-29c11183.js +15 -0
  12. package/dist/lib/apollo-super-selection/p-2b42304a.system.entry.js +1 -0
  13. package/dist/lib/apollo-super-selection/p-309ea469.system.entry.js +69 -0
  14. package/dist/lib/apollo-super-selection/p-33eca162.entry.js +1 -0
  15. package/dist/lib/apollo-super-selection/p-4e871154.entry.js +1 -0
  16. package/dist/lib/apollo-super-selection/p-50ea2036.system.js +1 -0
  17. package/dist/lib/apollo-super-selection/p-53b231f0.system.entry.js +1 -0
  18. package/dist/lib/apollo-super-selection/p-5596ab29.entry.js +14 -0
  19. package/dist/lib/apollo-super-selection/p-5c73c587.entry.js +1 -0
  20. package/dist/lib/apollo-super-selection/p-69bbf1dd.entry.js +1 -0
  21. package/dist/lib/apollo-super-selection/p-71ca4cf8.system.js +1 -0
  22. package/dist/lib/apollo-super-selection/p-86e3e03f.js +1 -0
  23. package/dist/lib/apollo-super-selection/p-97188c78.system.js +1 -0
  24. package/dist/lib/apollo-super-selection/p-9d2a7c0e.entry.js +1 -0
  25. package/dist/lib/apollo-super-selection/p-a0063575.system.entry.js +1 -0
  26. package/dist/lib/apollo-super-selection/p-b00f648b.entry.js +1 -0
  27. package/dist/lib/apollo-super-selection/p-bd6e6a8f.system.js +1 -0
  28. package/dist/lib/apollo-super-selection/p-c775c0e4.system.entry.js +1 -0
  29. package/dist/lib/apollo-super-selection/p-cd3ed541.system.js +1 -0
  30. package/dist/lib/apollo-super-selection/p-db0bded8.js +1 -0
  31. package/dist/lib/apollo-super-selection/p-e957b393.system.entry.js +1 -0
  32. package/dist/lib/apollo-super-selection/p-fdadb647.js +1 -0
  33. package/dist/lib/cjs/active-router-1f555f75.js +75 -0
  34. package/dist/lib/cjs/apollo-super-selection.cjs.js +22 -0
  35. package/dist/lib/cjs/app-globals-b1125d8c.js +25 -0
  36. package/dist/lib/cjs/context-consumer.cjs.entry.js +29 -0
  37. package/dist/lib/cjs/custom-fund-choice.api-293c1ace.js +3209 -0
  38. package/dist/lib/cjs/datorama-akita-6c9cb8fb.js +3641 -0
  39. package/dist/lib/cjs/index-eb4f212f.js +1766 -0
  40. package/dist/lib/cjs/index.cjs.js +2 -0
  41. package/dist/lib/cjs/loader.cjs.js +24 -0
  42. package/dist/lib/cjs/sss-button_32.cjs.entry.js +14934 -0
  43. package/dist/lib/cjs/sss-super-byof-host.cjs.entry.js +111 -0
  44. package/dist/lib/cjs/stencil-async-content.cjs.entry.js +32 -0
  45. package/dist/lib/cjs/stencil-route-title.cjs.entry.js +32 -0
  46. package/dist/lib/cjs/stencil-router-prompt.cjs.entry.js +59 -0
  47. package/dist/lib/cjs/stencil-router-redirect.cjs.entry.js +32 -0
  48. package/dist/lib/collection/apollo-super-selection.css +1 -0
  49. package/dist/lib/collection/collection-manifest.json +98 -0
  50. package/dist/lib/collection/components/app-host/loading-page.js +9 -0
  51. package/dist/lib/collection/components/app-host/services/app-configuration.query.js +18 -0
  52. package/dist/lib/collection/components/app-host/services/app-configuration.service.js +25 -0
  53. package/dist/lib/collection/components/app-host/services/app-parameters.query.js +13 -0
  54. package/dist/lib/collection/components/app-host/services/app-parameters.service.js +14 -0
  55. package/dist/lib/collection/components/app-host/services/appinsights.service.js +46 -0
  56. package/dist/lib/collection/components/app-host/services/authentication.query.js +21 -0
  57. package/dist/lib/collection/components/app-host/services/authentication.service.js +50 -0
  58. package/dist/lib/collection/components/app-host/services/interop/host-interop.service.js +31 -0
  59. package/dist/lib/collection/components/app-host/services/interop/iframe-interop.service.js +30 -0
  60. package/dist/lib/collection/components/app-host/services/interop/react-native-interop.service.js +20 -0
  61. package/dist/lib/collection/components/app-host/services/interop.query.js +26 -0
  62. package/dist/lib/collection/components/app-host/services/session.store.js +38 -0
  63. package/dist/lib/collection/components/app-host/super-selection-app-host.css +24 -0
  64. package/dist/lib/collection/components/app-host/super-selection-app-host.js +87 -0
  65. package/dist/lib/collection/components/external-loading-page/external-loading-page.js +29 -0
  66. package/dist/lib/collection/components/super-byof/super-byof-types.js +1 -0
  67. package/dist/lib/collection/components/super-byof/super-byof.form.js +1 -0
  68. package/dist/lib/collection/components/super-byof/super-byof.js +139 -0
  69. package/dist/lib/collection/components/super-campaign/fund-tile-clicked.handler.js +49 -0
  70. package/dist/lib/collection/components/super-campaign/promoted-fund-joined.handler.js +121 -0
  71. package/dist/lib/collection/components/super-campaign/super-campaign-types.js +6 -0
  72. package/dist/lib/collection/components/super-campaign/super-campaign.js +210 -0
  73. package/dist/lib/collection/components/super-selection-app/api/api-client.js +14 -0
  74. package/dist/lib/collection/components/super-selection-app/api/event-tracking.api.js +9 -0
  75. package/dist/lib/collection/components/super-selection-app/api/super-campaign-errors-api.js +9 -0
  76. package/dist/lib/collection/components/super-selection-app/api/super-campaign-errors.api.dtos.js +1 -0
  77. package/dist/lib/collection/components/super-selection-app/api/super-selection-events.model.js +16 -0
  78. package/dist/lib/collection/components/super-selection-app/api/super-selection.api.dto.js +179 -0
  79. package/dist/lib/collection/components/super-selection-app/api/super-selection.api.js +69 -0
  80. package/dist/lib/collection/components/super-selection-app/app-state-pages/success.js +36 -0
  81. package/dist/lib/collection/components/super-selection-app/assets/icon-exclamation.svg +3 -0
  82. package/dist/lib/collection/components/super-selection-app/assets/icon-information-circle.svg +3 -0
  83. package/dist/lib/collection/components/super-selection-app/choice/choice-router.js +42 -0
  84. package/dist/lib/collection/components/super-selection-app/existing-choice/existing-choice.js +163 -0
  85. package/dist/lib/collection/components/super-selection-app/footer-section/footer-section.js +39 -0
  86. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/api/custom-fund-choice.api.dto.js +1 -0
  87. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/api/custom-fund-choice.api.js +50 -0
  88. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/custom-fund.js +109 -0
  89. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/custom-fund.store.js +36 -0
  90. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/default-fund/default-fund.js +114 -0
  91. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/featured-funds/super-campaign-featured-funds.js +113 -0
  92. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/featured-funds/super-campaign-featured-funds.types.js +1 -0
  93. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/member-name-input.js +162 -0
  94. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/my-own-fund/my-own-fund-engagement-step-types.js +1 -0
  95. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/my-own-fund/my-own-fund-engagement-step.js +115 -0
  96. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/self-managed-fund/abn-validation.js +11 -0
  97. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/self-managed-fund/bankBsbNumbers.js +111 -0
  98. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/self-managed-fund/smsf-engagement-step-host.js +161 -0
  99. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/self-managed-fund/smsf-engagement-step-types.js +1 -0
  100. package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/api/promoted-fund-choice.api.dto.js +1 -0
  101. package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/api/promoted-fund-choice.api.js +31 -0
  102. package/dist/lib/collection/components/super-selection-app/funds/slate-super/api/slate-choice.api.dto.js +1 -0
  103. package/dist/lib/collection/components/super-selection-app/funds/slate-super/api/slate-choice.api.js +13 -0
  104. package/dist/lib/collection/components/super-selection-app/funds/slate-super/api/slate.js +4 -0
  105. package/dist/lib/collection/components/super-selection-app/header-section/header-section.js +37 -0
  106. package/dist/lib/collection/components/super-selection-app/misc/button.js +195 -0
  107. package/dist/lib/collection/components/super-selection-app/misc/dropdown-async.css +7 -0
  108. package/dist/lib/collection/components/super-selection-app/misc/dropdown-async.js +390 -0
  109. package/dist/lib/collection/components/super-selection-app/misc/loading-indicator.js +52 -0
  110. package/dist/lib/collection/components/super-selection-app/prefill-fund/prefill-common.js +22 -0
  111. package/dist/lib/collection/components/super-selection-app/prefill-fund/prefill-display-field.js +42 -0
  112. package/dist/lib/collection/components/super-selection-app/prefill-fund/prefill-error-box.js +66 -0
  113. package/dist/lib/collection/components/super-selection-app/prefill-fund/prefill-invalid-my-own-fund.js +121 -0
  114. package/dist/lib/collection/components/super-selection-app/prefill-fund/prefill-invalid-smsf.js +145 -0
  115. package/dist/lib/collection/components/super-selection-app/prefill-fund/prefill-my-own-fund.js +223 -0
  116. package/dist/lib/collection/components/super-selection-app/prefill-fund/prefill-smsf.js +398 -0
  117. package/dist/lib/collection/components/super-selection-app/prefill-fund/prefill-types.js +288 -0
  118. package/dist/lib/collection/components/super-selection-app/prefill-fund/prefill-warning-box.js +37 -0
  119. package/dist/lib/collection/components/super-selection-app/prefill-fund/prefill.js +81 -0
  120. package/dist/lib/collection/components/super-selection-app/services/australian-fund-lookup.service.js +15 -0
  121. package/dist/lib/collection/components/super-selection-app/services/event-tracking.service.js +117 -0
  122. package/dist/lib/collection/components/super-selection-app/services/existing-super-choice-info.service.js +134 -0
  123. package/dist/lib/collection/components/super-selection-app/services/misc.service.js +7 -0
  124. package/dist/lib/collection/components/super-selection-app/services/navigation.service.js +31 -0
  125. package/dist/lib/collection/components/super-selection-app/services/super-selection-app.routes.js +38 -0
  126. package/dist/lib/collection/components/super-selection-app/services/super-selection-app.service.js +171 -0
  127. package/dist/lib/collection/components/super-selection-app/services/super-selection.store.js +45 -0
  128. package/dist/lib/collection/components/super-selection-app/standard-choice/standard-choice-form.js +155 -0
  129. package/dist/lib/collection/components/super-selection-app/standard-choice/standard-choice-form.store.js +11 -0
  130. package/dist/lib/collection/components/super-selection-app/super-selection-app.css +27 -0
  131. package/dist/lib/collection/components/super-selection-app/super-selection-app.js +291 -0
  132. package/dist/lib/collection/components/super-smsf/super-smsf-types.js +1 -0
  133. package/dist/lib/collection/components/super-smsf/super-smsf.form.js +1 -0
  134. package/dist/lib/collection/components/super-smsf/super-smsf.js +166 -0
  135. package/dist/lib/collection/global/init-host.js +25 -0
  136. package/dist/lib/collection/global/main.dev.js +29 -0
  137. package/dist/lib/collection/global/main.js +11 -0
  138. package/dist/lib/collection/global/stencil-router-workaround.js +12 -0
  139. package/dist/lib/collection/index.js +2 -0
  140. package/dist/lib/collection/utils/config.js +2 -0
  141. package/dist/lib/collection/utils/gtm.js +5 -0
  142. package/dist/lib/collection/utils/iframe.js +33 -0
  143. package/dist/lib/collection/utils/index.js +11 -0
  144. package/dist/lib/collection/utils/lazy.js +29 -0
  145. package/dist/lib/collection/utils/storage.js +5 -0
  146. package/dist/lib/esm/active-router-d18b36fb.js +73 -0
  147. package/dist/lib/esm/apollo-super-selection.js +20 -0
  148. package/dist/lib/esm/app-globals-c1f89805.js +23 -0
  149. package/dist/lib/esm/context-consumer.entry.js +25 -0
  150. package/dist/lib/esm/custom-fund-choice.api-42801d64.js +3188 -0
  151. package/dist/lib/esm/datorama-akita-127aea91.js +3624 -0
  152. package/dist/lib/esm/index-107d7c24.js +1732 -0
  153. package/dist/lib/esm/index.js +1 -0
  154. package/dist/lib/esm/loader.js +20 -0
  155. package/dist/lib/esm/polyfills/core-js.js +11 -0
  156. package/dist/lib/esm/polyfills/css-shim.js +1 -0
  157. package/dist/lib/esm/polyfills/dom.js +79 -0
  158. package/dist/lib/esm/polyfills/es5-html-element.js +1 -0
  159. package/dist/lib/esm/polyfills/index.js +34 -0
  160. package/dist/lib/esm/polyfills/system.js +6 -0
  161. package/dist/lib/esm/sss-button_32.entry.js +14879 -0
  162. package/dist/lib/esm/sss-super-byof-host.entry.js +107 -0
  163. package/dist/lib/esm/stencil-async-content.entry.js +28 -0
  164. package/dist/lib/esm/stencil-route-title.entry.js +28 -0
  165. package/dist/lib/esm/stencil-router-prompt.entry.js +55 -0
  166. package/dist/lib/esm/stencil-router-redirect.entry.js +28 -0
  167. package/dist/lib/esm-es5/active-router-d18b36fb.js +1 -0
  168. package/dist/lib/esm-es5/apollo-super-selection.js +1 -0
  169. package/dist/lib/esm-es5/app-globals-c1f89805.js +1 -0
  170. package/dist/lib/esm-es5/context-consumer.entry.js +1 -0
  171. package/dist/lib/esm-es5/custom-fund-choice.api-42801d64.js +1 -0
  172. package/dist/lib/esm-es5/datorama-akita-127aea91.js +15 -0
  173. package/dist/lib/esm-es5/index-107d7c24.js +1 -0
  174. package/dist/lib/esm-es5/index.js +0 -0
  175. package/dist/lib/esm-es5/loader.js +1 -0
  176. package/dist/lib/esm-es5/sss-button_32.entry.js +69 -0
  177. package/dist/lib/esm-es5/sss-super-byof-host.entry.js +1 -0
  178. package/dist/lib/esm-es5/stencil-async-content.entry.js +1 -0
  179. package/dist/lib/esm-es5/stencil-route-title.entry.js +1 -0
  180. package/dist/lib/esm-es5/stencil-router-prompt.entry.js +1 -0
  181. package/dist/lib/esm-es5/stencil-router-redirect.entry.js +1 -0
  182. package/dist/lib/index.cjs.js +1 -0
  183. package/dist/lib/index.js +1 -0
  184. package/dist/lib/loader/cdn.js +3 -0
  185. package/dist/lib/loader/index.cjs.js +3 -0
  186. package/dist/lib/loader/index.d.ts +13 -0
  187. package/dist/lib/loader/index.es2017.js +3 -0
  188. package/dist/lib/loader/index.js +4 -0
  189. package/dist/lib/loader/package.json +10 -0
  190. package/dist/lib/node_modules/@stencil/router/dist/collection/components/route/route.css +3 -0
  191. package/dist/lib/types/components/app-host/loading-page.d.ts +3 -0
  192. package/dist/lib/types/components/app-host/services/app-configuration.query.d.ts +11 -0
  193. package/dist/lib/types/components/app-host/services/app-configuration.service.d.ts +9 -0
  194. package/dist/lib/types/components/app-host/services/app-parameters.query.d.ts +10 -0
  195. package/dist/lib/types/components/app-host/services/app-parameters.service.d.ts +6 -0
  196. package/dist/lib/types/components/app-host/services/appinsights.service.d.ts +15 -0
  197. package/dist/lib/types/components/app-host/services/authentication.query.d.ts +13 -0
  198. package/dist/lib/types/components/app-host/services/authentication.service.d.ts +9 -0
  199. package/dist/lib/types/components/app-host/services/interop/host-interop.service.d.ts +7 -0
  200. package/dist/lib/types/components/app-host/services/interop/iframe-interop.service.d.ts +5 -0
  201. package/dist/lib/types/components/app-host/services/interop/react-native-interop.service.d.ts +7 -0
  202. package/dist/lib/types/components/app-host/services/interop.query.d.ts +11 -0
  203. package/dist/lib/types/components/app-host/services/session.store.d.ts +31 -0
  204. package/dist/lib/types/components/app-host/super-selection-app-host.d.ts +15 -0
  205. package/dist/lib/types/components/super-byof/super-byof-types.d.ts +26 -0
  206. package/dist/lib/types/components/super-byof/super-byof.d.ts +19 -0
  207. package/dist/lib/types/components/super-byof/super-byof.form.d.ts +6 -0
  208. package/dist/lib/types/components/super-campaign/fund-tile-clicked.handler.d.ts +12 -0
  209. package/dist/lib/types/components/super-campaign/promoted-fund-joined.handler.d.ts +15 -0
  210. package/dist/lib/types/components/super-campaign/super-campaign-types.d.ts +98 -0
  211. package/dist/lib/types/components/super-campaign/super-campaign.d.ts +27 -0
  212. package/dist/lib/types/components/super-selection-app/api/api-client.d.ts +2 -0
  213. package/dist/lib/types/components/super-selection-app/api/event-tracking.api.d.ts +6 -0
  214. package/dist/lib/types/components/super-selection-app/api/super-campaign-errors-api.d.ts +6 -0
  215. package/dist/lib/types/components/super-selection-app/api/super-campaign-errors.api.dtos.d.ts +7 -0
  216. package/dist/lib/types/components/super-selection-app/api/super-selection-events.model.d.ts +171 -0
  217. package/dist/lib/types/components/super-selection-app/api/super-selection.api.d.ts +16 -0
  218. package/dist/lib/types/components/super-selection-app/api/super-selection.api.dto.d.ts +248 -0
  219. package/dist/lib/types/components/super-selection-app/app-state-pages/success.d.ts +7 -0
  220. package/dist/lib/types/components/super-selection-app/choice/choice-router.d.ts +6 -0
  221. package/dist/lib/types/components/super-selection-app/existing-choice/existing-choice.d.ts +12 -0
  222. package/dist/lib/types/components/super-selection-app/footer-section/footer-section.d.ts +5 -0
  223. package/dist/lib/types/components/super-selection-app/funds/custom-fund/api/custom-fund-choice.api.d.ts +10 -0
  224. package/dist/lib/types/components/super-selection-app/funds/custom-fund/api/custom-fund-choice.api.dto.d.ts +43 -0
  225. package/dist/lib/types/components/super-selection-app/funds/custom-fund/custom-fund.d.ts +9 -0
  226. package/dist/lib/types/components/super-selection-app/funds/custom-fund/custom-fund.store.d.ts +27 -0
  227. package/dist/lib/types/components/super-selection-app/funds/custom-fund/default-fund/default-fund.d.ts +13 -0
  228. package/dist/lib/types/components/super-selection-app/funds/custom-fund/featured-funds/super-campaign-featured-funds.d.ts +18 -0
  229. package/dist/lib/types/components/super-selection-app/funds/custom-fund/featured-funds/super-campaign-featured-funds.types.d.ts +26 -0
  230. package/dist/lib/types/components/super-selection-app/funds/custom-fund/member-name-input.d.ts +14 -0
  231. package/dist/lib/types/components/super-selection-app/funds/custom-fund/my-own-fund/my-own-fund-engagement-step-types.d.ts +15 -0
  232. package/dist/lib/types/components/super-selection-app/funds/custom-fund/my-own-fund/my-own-fund-engagement-step.d.ts +20 -0
  233. package/dist/lib/types/components/super-selection-app/funds/custom-fund/self-managed-fund/abn-validation.d.ts +1 -0
  234. package/dist/lib/types/components/super-selection-app/funds/custom-fund/self-managed-fund/bankBsbNumbers.d.ts +112 -0
  235. package/dist/lib/types/components/super-selection-app/funds/custom-fund/self-managed-fund/smsf-engagement-step-host.d.ts +28 -0
  236. package/dist/lib/types/components/super-selection-app/funds/custom-fund/self-managed-fund/smsf-engagement-step-types.d.ts +15 -0
  237. package/dist/lib/types/components/super-selection-app/funds/promoted-fund/api/promoted-fund-choice.api.d.ts +8 -0
  238. package/dist/lib/types/components/super-selection-app/funds/promoted-fund/api/promoted-fund-choice.api.dto.d.ts +23 -0
  239. package/dist/lib/types/components/super-selection-app/funds/slate-super/api/slate-choice.api.d.ts +6 -0
  240. package/dist/lib/types/components/super-selection-app/funds/slate-super/api/slate-choice.api.dto.d.ts +9 -0
  241. package/dist/lib/types/components/super-selection-app/funds/slate-super/api/slate.d.ts +4 -0
  242. package/dist/lib/types/components/super-selection-app/header-section/header-section.d.ts +3 -0
  243. package/dist/lib/types/components/super-selection-app/misc/button.d.ts +14 -0
  244. package/dist/lib/types/components/super-selection-app/misc/dropdown-async.d.ts +52 -0
  245. package/dist/lib/types/components/super-selection-app/misc/loading-indicator.d.ts +5 -0
  246. package/dist/lib/types/components/super-selection-app/prefill-fund/prefill-common.d.ts +9 -0
  247. package/dist/lib/types/components/super-selection-app/prefill-fund/prefill-display-field.d.ts +5 -0
  248. package/dist/lib/types/components/super-selection-app/prefill-fund/prefill-error-box.d.ts +5 -0
  249. package/dist/lib/types/components/super-selection-app/prefill-fund/prefill-invalid-my-own-fund.d.ts +18 -0
  250. package/dist/lib/types/components/super-selection-app/prefill-fund/prefill-invalid-smsf.d.ts +28 -0
  251. package/dist/lib/types/components/super-selection-app/prefill-fund/prefill-my-own-fund.d.ts +30 -0
  252. package/dist/lib/types/components/super-selection-app/prefill-fund/prefill-smsf.d.ts +52 -0
  253. package/dist/lib/types/components/super-selection-app/prefill-fund/prefill-types.d.ts +95 -0
  254. package/dist/lib/types/components/super-selection-app/prefill-fund/prefill-warning-box.d.ts +4 -0
  255. package/dist/lib/types/components/super-selection-app/prefill-fund/prefill.d.ts +14 -0
  256. package/dist/lib/types/components/super-selection-app/services/australian-fund-lookup.service.d.ts +8 -0
  257. package/dist/lib/types/components/super-selection-app/services/event-tracking.service.d.ts +25 -0
  258. package/dist/lib/types/components/super-selection-app/services/existing-super-choice-info.service.d.ts +75 -0
  259. package/dist/lib/types/components/super-selection-app/services/misc.service.d.ts +6 -0
  260. package/dist/lib/types/components/super-selection-app/services/navigation.service.d.ts +17 -0
  261. package/dist/lib/types/components/super-selection-app/services/super-selection-app.routes.d.ts +19 -0
  262. package/dist/lib/types/components/super-selection-app/services/super-selection-app.service.d.ts +43 -0
  263. package/dist/lib/types/components/super-selection-app/services/super-selection.store.d.ts +37 -0
  264. package/dist/lib/types/components/super-selection-app/standard-choice/standard-choice-form.d.ts +16 -0
  265. package/dist/lib/types/components/super-selection-app/standard-choice/standard-choice-form.store.d.ts +42 -0
  266. package/dist/lib/types/components/super-selection-app/super-selection-app.d.ts +27 -0
  267. package/dist/lib/types/components/super-smsf/super-smsf-types.d.ts +34 -0
  268. package/dist/lib/types/components/super-smsf/super-smsf.d.ts +20 -0
  269. package/dist/lib/types/components/super-smsf/super-smsf.form.d.ts +15 -0
  270. package/dist/lib/types/components.d.ts +522 -0
  271. package/dist/lib/types/global/init-host.d.ts +1 -0
  272. package/dist/lib/types/global/main.d.ts +1 -0
  273. package/dist/lib/types/global/main.dev.d.ts +1 -0
  274. package/dist/lib/types/global/stencil-router-workaround.d.ts +1 -0
  275. package/dist/lib/types/index.d.ts +2 -0
  276. package/dist/lib/types/stencil-public-runtime.d.ts +1555 -0
  277. package/dist/lib/types/utils/config.d.ts +2 -0
  278. package/dist/lib/types/utils/gtm.d.ts +7 -0
  279. package/dist/lib/types/utils/iframe.d.ts +13 -0
  280. package/dist/lib/types/utils/index.d.ts +4 -0
  281. package/dist/lib/types/utils/lazy.d.ts +12 -0
  282. package/dist/lib/types/utils/storage.d.ts +4 -0
  283. package/package.json +1 -1
@@ -0,0 +1 @@
1
+ import{r as t,a as s}from"./p-db0bded8.js";import{A as r}from"./p-fdadb647.js";const i=class{constructor(s){t(this,s)}componentWillLoad(){if(this.history&&this.root&&this.url)return this.history.replace((s=this.root,"/"==(t=this.url).charAt(0)&&"/"==s.charAt(s.length-1)?s.slice(0,s.length-1)+t:s+t));var t,s}get el(){return s(this)}};r.injectProps(i,["history","root"]);export{i as stencil_router_redirect}
@@ -0,0 +1 @@
1
+ import{r as t,a as s}from"./p-db0bded8.js";const e=class{constructor(s){t(this,s),this.context={},this.renderer=()=>null}connectedCallback(){null!=this.subscribe&&(this.unsubscribe=this.subscribe(this.el,"context"))}disconnectedCallback(){null!=this.unsubscribe&&this.unsubscribe()}render(){return this.renderer(Object.assign({},this.context))}get el(){return s(this)}};export{e as context_consumer}
@@ -0,0 +1 @@
1
+ var __extends=this&&this.__extends||function(){var e=function(r,t){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var t in r)if(Object.prototype.hasOwnProperty.call(r,t))e[t]=r[t]};return e(r,t)};return function(r,t){e(r,t);function n(){this.constructor=r}r.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}}();var __awaiter=this&&this.__awaiter||function(e,r,t,n){function a(e){return e instanceof t?e:new t((function(r){r(e)}))}return new(t||(t=Promise))((function(t,i){function s(e){try{o(n.next(e))}catch(e){i(e)}}function l(e){try{o(n["throw"](e))}catch(e){i(e)}}function o(e){e.done?t(e.value):a(e.value).then(s,l)}o((n=n.apply(e,r||[])).next())}))};var __generator=this&&this.__generator||function(e,r){var t={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,a,i,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(e){return function(r){return o([e,r])}}function o(s){if(n)throw new TypeError("Generator is already executing.");while(t)try{if(n=1,a&&(i=s[0]&2?a["return"]:s[0]?a["throw"]||((i=a["return"])&&i.call(a),0):a.next)&&!(i=i.call(a,s[1])).done)return i;if(a=0,i)s=[s[0]&2,i.value];switch(s[0]){case 0:case 1:i=s;break;case 4:t.label++;return{value:s[1],done:false};case 5:t.label++;a=s[1];s=[0];continue;case 7:s=t.ops.pop();t.trys.pop();continue;default:if(!(i=t.trys,i=i.length>0&&i[i.length-1])&&(s[0]===6||s[0]===2)){t=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]<i[3])){t.label=s[1];break}if(s[0]===6&&t.label<i[1]){t.label=i[1];i=s;break}if(i&&t.label<i[2]){t.label=i[2];t.ops.push(s);break}if(i[2])t.ops.pop();t.trys.pop();continue}s=r.call(e,t)}catch(e){s=[6,e];a=0}finally{n=i=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};var __spreadArrays=this&&this.__spreadArrays||function(){for(var e=0,r=0,t=arguments.length;r<t;r++)e+=arguments[r].length;for(var n=Array(e),a=0,r=0;r<t;r++)for(var i=arguments[r],s=0,l=i.length;s<l;s++,a++)n[a]=i[s];return n};System.register([],(function(e,r){"use strict";return{execute:function(){var t=this;var n="apollo-super-selection";var a;var i;var s;var l;var o=false;var f=false;var $=false;var u=false;var c=null;var v=false;var d=typeof window!=="undefined"?window:{};var h=d.document||{head:{}};var m={$flags$:0,$resourcesUrl$:"",jmp:function(e){return e()},raf:function(e){return requestAnimationFrame(e)},ael:function(e,r,t,n){return e.addEventListener(r,t,n)},rel:function(e,r,t,n){return e.removeEventListener(r,t,n)},ce:function(e,r){return new CustomEvent(e,r)}};var p=e("p",(function(e){return Promise.resolve(e)}));var g=function(){try{new CSSStyleSheet;return true}catch(e){}return false}();var y={};var b=function(e,r,t,n){if(t){t.map((function(t){var n=t[0],a=t[1],i=t[2];var s=e;var l=w(r,i);var o=N(n);m.ael(s,a,l,o);(r.$rmListeners$=r.$rmListeners$||[]).push((function(){return m.rel(s,a,l,o)}))}))}};var w=function(e,r){return function(t){try{{if(e.$flags$&256){e.$lazyInstance$[r](t)}else{(e.$queuedListeners$=e.$queuedListeners$||[]).push([r,t])}}}catch(e){He(e)}}};var N=function(e){return(e&2)!==0};var R="{visibility:hidden}.hydrated{visibility:inherit}";var k="http://www.w3.org/1999/xlink";var _=function(e,r){if(r===void 0){r=""}{return function(){return}}};var x=function(e,r){{return function(){return}}};var S=new WeakMap;var T=function(e,r,t){var n=We.get(e);if(g&&t){n=n||new CSSStyleSheet;n.replace(r)}else{n=r}We.set(e,n)};var C=function(e,r,t,n){var a=E(r);var i=We.get(a);e=e.nodeType===11?e:h;if(i){if(typeof i==="string"){e=e.head||e;var s=S.get(e);var l=void 0;if(!s){S.set(e,s=new Set)}if(!s.has(a)){{{l=h.createElement("style");l.innerHTML=i}e.insertBefore(l,e.querySelector("link"))}if(s){s.add(a)}}}else if(!e.adoptedStyleSheets.includes(i)){e.adoptedStyleSheets=__spreadArrays(e.adoptedStyleSheets,[i])}}return a};var L=function(e){var r=e.$cmpMeta$;var t=e.$hostElement$;var n=r.$flags$;var a=_("attachStyles",r.$tagName$);var i=C(t.shadowRoot?t.shadowRoot:t.getRootNode(),r);if(n&10){t["s-sc"]=i;t.classList.add(i+"-h")}a()};var E=function(e,r){return"sc-"+e.$tagName$};var j={};var A="http://www.w3.org/2000/svg";var M="http://www.w3.org/1999/xhtml";var P=function(e){return e!=null};var O=function(e){e=typeof e;return e==="object"||e==="function"};var B=e("h",(function(e,r){var t=[];for(var n=2;n<arguments.length;n++){t[n-2]=arguments[n]}var a=null;var i=null;var s=null;var l=false;var o=false;var f=[];var $=function(r){for(var t=0;t<r.length;t++){a=r[t];if(Array.isArray(a)){$(a)}else if(a!=null&&typeof a!=="boolean"){if(l=typeof e!=="function"&&!O(a)){a=String(a)}if(l&&o){f[f.length-1].$text$+=a}else{f.push(l?I(null,a):a)}o=l}}};$(t);if(r){if(r.key){i=r.key}if(r.name){s=r.name}{var u=r.className||r.class;if(u){r.class=typeof u!=="object"?u:Object.keys(u).filter((function(e){return u[e]})).join(" ")}}}if(typeof e==="function"){return e(r===null?{}:r,f,q)}var c=I(e,null);c.$attrs$=r;if(f.length>0){c.$children$=f}{c.$key$=i}{c.$name$=s}return c}));var I=function(e,r){var t={$flags$:0,$tag$:e,$text$:r,$elm$:null,$children$:null};{t.$attrs$=null}{t.$key$=null}{t.$name$=null}return t};var U=e("H",{});var z=function(e){return e&&e.$tag$===U};var q={forEach:function(e,r){return e.map(H).forEach(r)},map:function(e,r){return e.map(H).map(r).map(V)}};var H=function(e){return{vattrs:e.$attrs$,vchildren:e.$children$,vkey:e.$key$,vname:e.$name$,vtag:e.$tag$,vtext:e.$text$}};var V=function(e){if(typeof e.vtag==="function"){var r=Object.assign({},e.vattrs);if(e.vkey){r.key=e.vkey}if(e.vname){r.name=e.vname}return B.apply(void 0,__spreadArrays([e.vtag,r],e.vchildren||[]))}var t=I(e.vtag,e.vtext);t.$attrs$=e.vattrs;t.$children$=e.vchildren;t.$key$=e.vkey;t.$name$=e.vname;return t};var D=function(e,r,t,n,a,i){if(t!==n){var s=qe(e,r);var l=r.toLowerCase();if(r==="class"){var o=e.classList;var f=W(t);var $=W(n);o.remove.apply(o,f.filter((function(e){return e&&!$.includes(e)})));o.add.apply(o,$.filter((function(e){return e&&!f.includes(e)})))}else if(r==="style"){{for(var u in t){if(!n||n[u]==null){if(u.includes("-")){e.style.removeProperty(u)}else{e.style[u]=""}}}}for(var u in n){if(!t||n[u]!==t[u]){if(u.includes("-")){e.style.setProperty(u,n[u])}else{e.style[u]=n[u]}}}}else if(r==="key");else if(r==="ref"){if(n){n(e)}}else if(!s&&r[0]==="o"&&r[1]==="n"){if(r[2]==="-"){r=r.slice(3)}else if(qe(d,l)){r=l.slice(2)}else{r=l[2]+r.slice(3)}if(t){m.rel(e,r,t,false)}if(n){m.ael(e,r,n,false)}}else{var c=O(n);if((s||c&&n!==null)&&!a){try{if(!e.tagName.includes("-")){var v=n==null?"":n;if(r==="list"){s=false}else if(t==null||e[r]!=v){e[r]=v}}else{e[r]=n}}catch(e){}}var h=false;{if(l!==(l=l.replace(/^xlink\:?/,""))){r=l;h=true}}if(n==null||n===false){if(n!==false||e.getAttribute(r)===""){if(h){e.removeAttributeNS(k,r)}else{e.removeAttribute(r)}}}else if((!s||i&4||a)&&!c){n=n===true?"":n;if(h){e.setAttributeNS(k,r,n)}else{e.setAttribute(r,n)}}}}};var F=/\s/;var W=function(e){return!e?[]:e.split(F)};var G=function(e,r,t,n){var a=r.$elm$.nodeType===11&&r.$elm$.host?r.$elm$.host:r.$elm$;var i=e&&e.$attrs$||j;var s=r.$attrs$||j;{for(n in i){if(!(n in s)){D(a,n,i[n],undefined,t,r.$flags$)}}}for(n in s){D(a,n,i[n],s[n],t,r.$flags$)}};var J=function(e,r,t,n){var l=r.$children$[t];var f=0;var c;var v;var d;if(!o){$=true;if(l.$tag$==="slot"){if(a){n.classList.add(a+"-s")}l.$flags$|=l.$children$?2:1}}if(l.$text$!==null){c=l.$elm$=h.createTextNode(l.$text$)}else if(l.$flags$&1){c=l.$elm$=h.createTextNode("")}else{if(!u){u=l.$tag$==="svg"}c=l.$elm$=h.createElementNS(u?A:M,l.$flags$&2?"slot-fb":l.$tag$);if(u&&l.$tag$==="foreignObject"){u=false}{G(null,l,u)}if(P(a)&&c["s-si"]!==a){c.classList.add(c["s-si"]=a)}if(l.$children$){for(f=0;f<l.$children$.length;++f){v=J(e,l,f,c);if(v){c.appendChild(v)}}}{if(l.$tag$==="svg"){u=false}else if(c.tagName==="foreignObject"){u=true}}}{c["s-hn"]=s;if(l.$flags$&(2|1)){c["s-sr"]=true;c["s-cr"]=i;c["s-sn"]=l.$name$||"";d=e&&e.$children$&&e.$children$[t];if(d&&d.$tag$===l.$tag$&&e.$elm$){K(e.$elm$,false)}}}return c};var K=function(e,r){m.$flags$|=1;var t=e.childNodes;for(var n=t.length-1;n>=0;n--){var a=t[n];if(a["s-hn"]!==s&&a["s-ol"]){re(a).insertBefore(a,ee(a));a["s-ol"].remove();a["s-ol"]=undefined;$=true}if(r){K(a,r)}}m.$flags$&=~1};var Q=function(e,r,t,n,a,i){var l=e["s-cr"]&&e["s-cr"].parentNode||e;var o;if(l.shadowRoot&&l.tagName===s){l=l.shadowRoot}for(;a<=i;++a){if(n[a]){o=J(null,t,a,e);if(o){n[a].$elm$=o;l.insertBefore(o,ee(r))}}}};var X=function(e,r,t,n,a){for(;r<=t;++r){if(n=e[r]){a=n.$elm$;le(n);{f=true;if(a["s-ol"]){a["s-ol"].remove()}else{K(a,true)}}a.remove()}}};var Y=function(e,r,t,n){var a=0;var i=0;var s=0;var l=0;var o=r.length-1;var f=r[0];var $=r[o];var u=n.length-1;var c=n[0];var v=n[u];var d;var h;while(a<=o&&i<=u){if(f==null){f=r[++a]}else if($==null){$=r[--o]}else if(c==null){c=n[++i]}else if(v==null){v=n[--u]}else if(Z(f,c)){te(f,c);f=r[++a];c=n[++i]}else if(Z($,v)){te($,v);$=r[--o];v=n[--u]}else if(Z(f,v)){if(f.$tag$==="slot"||v.$tag$==="slot"){K(f.$elm$.parentNode,false)}te(f,v);e.insertBefore(f.$elm$,$.$elm$.nextSibling);f=r[++a];v=n[--u]}else if(Z($,c)){if(f.$tag$==="slot"||v.$tag$==="slot"){K($.$elm$.parentNode,false)}te($,c);e.insertBefore($.$elm$,f.$elm$);$=r[--o];c=n[++i]}else{s=-1;{for(l=a;l<=o;++l){if(r[l]&&r[l].$key$!==null&&r[l].$key$===c.$key$){s=l;break}}}if(s>=0){h=r[s];if(h.$tag$!==c.$tag$){d=J(r&&r[i],t,s,e)}else{te(h,c);r[s]=undefined;d=h.$elm$}c=n[++i]}else{d=J(r&&r[i],t,i,e);c=n[++i]}if(d){{re(f.$elm$).insertBefore(d,ee(f.$elm$))}}}}if(a>o){Q(e,n[u+1]==null?null:n[u+1].$elm$,t,n,i,u)}else if(i>u){X(r,a,o)}};var Z=function(e,r){if(e.$tag$===r.$tag$){if(e.$tag$==="slot"){return e.$name$===r.$name$}{return e.$key$===r.$key$}}return false};var ee=function(e){return e&&e["s-ol"]||e};var re=function(e){return(e["s-ol"]?e["s-ol"]:e).parentNode};var te=function(e,r){var t=r.$elm$=e.$elm$;var n=e.$children$;var a=r.$children$;var i=r.$tag$;var s=r.$text$;var l;if(s===null){{u=i==="svg"?true:i==="foreignObject"?false:u}{if(i==="slot");else{G(e,r,u)}}if(n!==null&&a!==null){Y(t,n,r,a)}else if(a!==null){if(e.$text$!==null){t.textContent=""}Q(t,null,r,a,0,a.length-1)}else if(n!==null){X(n,0,n.length-1)}if(u&&i==="svg"){u=false}}else if(l=t["s-cr"]){l.parentNode.textContent=s}else if(e.$text$!==s){t.data=s}};var ne=function(e){var r=e.childNodes;var t;var n;var a;var i;var s;var l;for(n=0,a=r.length;n<a;n++){t=r[n];if(t.nodeType===1){if(t["s-sr"]){s=t["s-sn"];t.hidden=false;for(i=0;i<a;i++){if(r[i]["s-hn"]!==t["s-hn"]){l=r[i].nodeType;if(s!==""){if(l===1&&s===r[i].getAttribute("slot")){t.hidden=true;break}}else{if(l===1||l===3&&r[i].textContent.trim()!==""){t.hidden=true;break}}}}}ne(t)}}};var ae=[];var ie=function(e){var r;var t;var n;var a;var i;var s;var l=0;var o=e.childNodes;var $=o.length;for(;l<$;l++){r=o[l];if(r["s-sr"]&&(t=r["s-cr"])){n=t.parentNode.childNodes;a=r["s-sn"];for(s=n.length-1;s>=0;s--){t=n[s];if(!t["s-cn"]&&!t["s-nr"]&&t["s-hn"]!==r["s-hn"]){if(se(t,a)){i=ae.find((function(e){return e.$nodeToRelocate$===t}));f=true;t["s-sn"]=t["s-sn"]||a;if(i){i.$slotRefNode$=r}else{ae.push({$slotRefNode$:r,$nodeToRelocate$:t})}if(t["s-sr"]){ae.map((function(e){if(se(e.$nodeToRelocate$,t["s-sn"])){i=ae.find((function(e){return e.$nodeToRelocate$===t}));if(i&&!e.$slotRefNode$){e.$slotRefNode$=i.$slotRefNode$}}}))}}else if(!ae.some((function(e){return e.$nodeToRelocate$===t}))){ae.push({$nodeToRelocate$:t})}}}}if(r.nodeType===1){ie(r)}}};var se=function(e,r){if(e.nodeType===1){if(e.getAttribute("slot")===null&&r===""){return true}if(e.getAttribute("slot")===r){return true}return false}if(e["s-sn"]===r){return true}return r===""};var le=function(e){{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null);e.$children$&&e.$children$.map(le)}};var oe=function(e,r){var t=e.$hostElement$;var n=e.$cmpMeta$;var l=e.$vnode$||I(null,null);var u=z(r)?r:B(null,null,r);s=t.tagName;if(n.$attrsToReflect$){u.$attrs$=u.$attrs$||{};n.$attrsToReflect$.map((function(e){var r=e[0],n=e[1];return u.$attrs$[n]=t[r]}))}u.$tag$=null;u.$flags$|=4;e.$vnode$=u;u.$elm$=l.$elm$=t.shadowRoot||t;{a=t["s-sc"]}{i=t["s-cr"];o=(n.$flags$&1)!==0;f=false}te(l,u);{m.$flags$|=1;if($){ie(u.$elm$);var c=void 0;var v=void 0;var d=void 0;var p=void 0;var g=void 0;var y=void 0;var b=0;for(;b<ae.length;b++){c=ae[b];v=c.$nodeToRelocate$;if(!v["s-ol"]){d=h.createTextNode("");d["s-nr"]=v;v.parentNode.insertBefore(v["s-ol"]=d,v)}}for(b=0;b<ae.length;b++){c=ae[b];v=c.$nodeToRelocate$;if(c.$slotRefNode$){p=c.$slotRefNode$.parentNode;g=c.$slotRefNode$.nextSibling;d=v["s-ol"];while(d=d.previousSibling){y=d["s-nr"];if(y&&y["s-sn"]===v["s-sn"]&&p===y.parentNode){y=y.nextSibling;if(!y||!y["s-nr"]){g=y;break}}}if(!g&&p!==v.parentNode||v.nextSibling!==g){if(v!==g){if(!v["s-hn"]&&v["s-ol"]){v["s-hn"]=v["s-ol"].parentNode.nodeName}p.insertBefore(v,g)}}}else{if(v.nodeType===1){v.hidden=true}}}}if(f){ne(u.$elm$)}m.$flags$&=~1;ae.length=0}};var fe=e("a",(function(e){return Ie(e).$hostElement$}));var $e=e("c",(function(e,r,t){var n=fe(e);return{emit:function(e){return ue(n,r,{bubbles:!!(t&4),composed:!!(t&2),cancelable:!!(t&1),detail:e})}}}));var ue=function(e,r,t){var n=m.ce(r,t);e.dispatchEvent(n);return n};var ce=function(e,r){if(r&&!e.$onRenderResolve$&&r["s-p"]){r["s-p"].push(new Promise((function(r){return e.$onRenderResolve$=r})))}};var ve=function(e,r){{e.$flags$|=16}if(e.$flags$&4){e.$flags$|=512;return}ce(e,e.$ancestorComponent$);var t=function(){return de(e,r)};return er(t)};var de=function(e,r){var t=_("scheduleUpdate",e.$cmpMeta$.$tagName$);var n=e.$lazyInstance$;var a;if(r){{e.$flags$|=256;if(e.$queuedListeners$){e.$queuedListeners$.map((function(e){var r=e[0],t=e[1];return we(n,r,t)}));e.$queuedListeners$=null}}{a=we(n,"componentWillLoad")}}t();return Ne(a,(function(){return he(e,n,r)}))};var he=function(e,r,n){return __awaiter(t,void 0,void 0,(function(){var t,a,i,s,l,o;return __generator(this,(function(f){t=e.$hostElement$;a=_("update",e.$cmpMeta$.$tagName$);i=t["s-rc"];if(n){L(e)}s=_("render",e.$cmpMeta$.$tagName$);{{{oe(e,me(e,r))}}}if(i){i.map((function(e){return e()}));t["s-rc"]=undefined}s();a();{l=t["s-p"];o=function(){return ge(e)};if(l.length===0){o()}else{Promise.all(l).then(o);e.$flags$|=4;l.length=0}}return[2]}))}))};var me=function(e,r){try{c=r;r=r.render&&r.render();{e.$flags$&=~16}{e.$flags$|=2}}catch(r){He(r,e.$hostElement$)}c=null;return r};var pe=e("e",(function(){return c}));var ge=function(e){var r=e.$cmpMeta$.$tagName$;var t=e.$hostElement$;var n=_("postUpdate",r);var a=e.$lazyInstance$;var i=e.$ancestorComponent$;if(!(e.$flags$&64)){e.$flags$|=64;{Re(t)}{we(a,"componentDidLoad")}n();{e.$onReadyResolve$(t);if(!i){be()}}}else{{we(a,"componentDidUpdate")}n()}{if(e.$onRenderResolve$){e.$onRenderResolve$();e.$onRenderResolve$=undefined}if(e.$flags$&512){Ye((function(){return ve(e,false)}))}e.$flags$&=~(4|512)}};var ye=e("f",(function(e){{var r=Ie(e);var t=r.$hostElement$.isConnected;if(t&&(r.$flags$&(2|16))===2){ve(r,false)}return t}}));var be=function(e){{Re(h.documentElement)}Ye((function(){return ue(d,"appload",{detail:{namespace:n}})}))};var we=function(e,r,t){if(e&&e[r]){try{return e[r](t)}catch(e){He(e)}}return undefined};var Ne=function(e,r){return e&&e.then?e.then(r):r()};var Re=function(e){return e.classList.add("hydrated")};var ke=function(e,r){if(e!=null&&!O(e)){if(r&4){return e==="false"?false:e===""||!!e}if(r&2){return parseFloat(e)}if(r&1){return String(e)}return e}return e};var _e=function(e,r){return Ie(e).$instanceValues$.get(r)};var xe=function(e,r,t,n){var a=Ie(e);var i=a.$hostElement$;var s=a.$instanceValues$.get(r);var l=a.$flags$;var o=a.$lazyInstance$;t=ke(t,n.$members$[r][0]);if((!(l&8)||s===undefined)&&t!==s){a.$instanceValues$.set(r,t);if(o){if(n.$watchers$&&l&128){var f=n.$watchers$[r];if(f){f.map((function(e){try{o[e](t,s,r)}catch(e){He(e,i)}}))}}if((l&(2|16))===2){ve(a,false)}}}};var Se=function(e,r,t){if(r.$members$){if(e.watchers){r.$watchers$=e.watchers}var n=Object.entries(r.$members$);var a=e.prototype;n.map((function(e){var n=e[0],i=e[1][0];if(i&31||t&2&&i&32){Object.defineProperty(a,n,{get:function(){return _e(this,n)},set:function(e){xe(this,n,e,r)},configurable:true,enumerable:true})}}));if(t&1){var i=new Map;a.attributeChangedCallback=function(e,r,t){var n=this;m.jmp((function(){var r=i.get(e);n[r]=t===null&&typeof n[r]==="boolean"?false:t}))};e.observedAttributes=n.filter((function(e){var r=e[0],t=e[1];return t[0]&15})).map((function(e){var t=e[0],n=e[1];var a=n[1]||t;i.set(a,t);if(n[0]&512){r.$attrsToReflect$.push([t,a])}return a}))}}return e};var Te=function(e,r,n,a,i){return __awaiter(t,void 0,void 0,(function(){var e,t,a,s,l,o,f;return __generator(this,(function($){switch($.label){case 0:if(!((r.$flags$&32)===0))return[3,3];r.$flags$|=32;i=Fe(n);if(!i.then)return[3,2];e=x();return[4,i];case 1:i=$.sent();e();$.label=2;case 2:if(!i.isProxied){{n.$watchers$=i.watchers}Se(i,n,2);i.isProxied=true}t=_("createInstance",n.$tagName$);{r.$flags$|=8}try{new i(r)}catch(e){He(e)}{r.$flags$&=~8}{r.$flags$|=128}t();Ce(r.$lazyInstance$);if(i.style){a=i.style;s=E(n);if(!We.has(s)){l=_("registerStyles",n.$tagName$);T(s,a,!!(n.$flags$&1));l()}}$.label=3;case 3:o=r.$ancestorComponent$;f=function(){return ve(r,true)};if(o&&o["s-rc"]){o["s-rc"].push(f)}else{f()}return[2]}}))}))};var Ce=function(e){{we(e,"connectedCallback")}};var Le=function(e){if((m.$flags$&1)===0){var r=Ie(e);var t=r.$cmpMeta$;var n=_("connectedCallback",t.$tagName$);if(!(r.$flags$&1)){r.$flags$|=1;{if(t.$flags$&(4|8)){Ee(e)}}{var a=e;while(a=a.parentNode||a.host){if(a["s-p"]){ce(r,r.$ancestorComponent$=a);break}}}if(t.$members$){Object.entries(t.$members$).map((function(r){var t=r[0],n=r[1][0];if(n&31&&e.hasOwnProperty(t)){var a=e[t];delete e[t];e[t]=a}}))}{Te(e,r,t)}}else{b(e,r,t.$listeners$);Ce(r.$lazyInstance$)}n()}};var Ee=function(e){var r=e["s-cr"]=h.createComment("");r["s-cn"]=true;e.insertBefore(r,e.firstChild)};var je=function(e){if((m.$flags$&1)===0){var r=Ie(e);var t=r.$lazyInstance$;{if(r.$rmListeners$){r.$rmListeners$.map((function(e){return e()}));r.$rmListeners$=undefined}}{we(t,"disconnectedCallback")}{we(t,"componentDidUnload")}}};var Ae=e("b",(function(e,r){if(r===void 0){r={}}var t=_();var n=[];var a=r.exclude||[];var i=d.customElements;var s=h.head;var l=s.querySelector("meta[charset]");var o=h.createElement("style");var f=[];var $;var u=true;Object.assign(m,r);m.$resourcesUrl$=new URL(r.resourcesUrl||"./",h.baseURI).href;e.map((function(e){return e[1].map((function(r){var t={$flags$:r[0],$tagName$:r[1],$members$:r[2],$listeners$:r[3]};{t.$members$=r[2]}{t.$listeners$=r[3]}{t.$attrsToReflect$=[]}{t.$watchers$={}}var s=t.$tagName$;var l=function(e){__extends(r,e);function r(r){var n=e.call(this,r)||this;r=n;ze(r,t);if(t.$flags$&1){{{r.attachShadow({mode:"open"})}}}return n}r.prototype.connectedCallback=function(){var e=this;if($){clearTimeout($);$=null}if(u){f.push(this)}else{m.jmp((function(){return Le(e)}))}};r.prototype.disconnectedCallback=function(){var e=this;m.jmp((function(){return je(e)}))};r.prototype.componentOnReady=function(){return Ie(this).$onReadyPromise$};return r}(HTMLElement);t.$lazyBundleId$=e[0];if(!a.includes(s)&&!i.get(s)){n.push(s);i.define(s,Se(l,t,1))}}))}));{o.innerHTML=n+R;o.setAttribute("data-styles","");s.insertBefore(o,l?l.nextSibling:s.firstChild)}u=false;if(f.length){f.map((function(e){return e.connectedCallback()}))}else{{m.jmp((function(){return $=setTimeout(be,30)}))}}t()}));var Me=e("g",(function(e){var r=new URL(e,m.$resourcesUrl$);return r.origin!==d.location.origin?r.href:r.pathname}));var Pe=e("d",(function(e,r){if(r in y){return y[r]}else if(r==="window"){return d}else if(r==="document"){return h}else if(r==="isServer"||r==="isPrerender"){return false}else if(r==="isClient"){return true}else if(r==="resourcesUrl"||r==="publicPath"){return Me(".")}else if(r==="queue"){return{write:er,read:Ze,tick:{then:function(e){return Ye(e)}}}}return undefined}));var Oe=e("F",(function(e,r){return r}));var Be=new WeakMap;var Ie=function(e){return Be.get(e)};var Ue=e("r",(function(e,r){return Be.set(r.$lazyInstance$=e,r)}));var ze=function(e,r){var t={$flags$:0,$hostElement$:e,$cmpMeta$:r,$instanceValues$:new Map};{t.$onReadyPromise$=new Promise((function(e){return t.$onReadyResolve$=e}));e["s-p"]=[];e["s-rc"]=[]}b(e,t,r.$listeners$);return Be.set(e,t)};var qe=function(e,r){return r in e};var He=function(e,r){return(l||console.error)(e,r)};var Ve=e("s",(function(e){return l=e}));var De=new Map;var Fe=function(e,t,n){var a=e.$tagName$.replace(/-/g,"_");var i=e.$lazyBundleId$;var s=De.get(i);if(s){return s[a]}return r.import("./"+i+".entry.js"+"").then((function(e){{De.set(i,e)}return e[a]}),He)};var We=new Map;var Ge=[];var Je=[];var Ke=function(e,r){return function(t){e.push(t);if(!v){v=true;if(r&&m.$flags$&4){Ye(Xe)}else{m.raf(Xe)}}}};var Qe=function(e){for(var r=0;r<e.length;r++){try{e[r](performance.now())}catch(e){He(e)}}e.length=0};var Xe=function(){Qe(Ge);{Qe(Je);if(v=Ge.length>0){m.raf(Xe)}}};var Ye=function(e){return p().then(e)};var Ze=Ke(Ge,false);var er=Ke(Je,true)}}}));
@@ -0,0 +1 @@
1
+ import{e as o}from"./p-29c11183.js";const n=async function(){window.location!=window.parent.location&&(delete window.sessionStorage,window.sessionStorage={}),o()};export{n as g}
@@ -0,0 +1 @@
1
+ var __spreadArrays=this&&this.__spreadArrays||function(){for(var r=0,t=0,e=arguments.length;t<e;t++)r+=arguments[t].length;for(var n=Array(r),a=0,t=0;t<e;t++)for(var c=arguments[t],i=0,o=c.length;i<o;i++,a++)n[a]=c[i];return n};System.register(["./p-71ca4cf8.system.js"],(function(r){"use strict";var t;return{setters:[function(r){t=r.h}],execute:function(){var e=function(r,t){var e=new Map;var n=r;var a=function(r,t){if(Array.isArray(r)){__spreadArrays(r).forEach((function(r){t[r]=n[r]}))}else{t[r]=Object.assign({},n)}};var c=function(r,t){if(!e.has(r)){e.set(r,t);a(t,r)}return function(){if(e.has(r)){e.delete(r)}}};var i=function(r,t){var c=r.state;n=c;e.forEach(a);return t};var o=function(r,e){return t(c,e[0])};var s=function(r,t){var n=r.prototype;var a=n.connectedCallback;var i=n.disconnectedCallback;n.connectedCallback=function(){c(this,t);if(a){return a.call(this)}};n.disconnectedCallback=function(){e.delete(this);if(i){i.call(this)}}};return{Provider:i,Consumer:o,injectProps:s}};var n=r("A",e({historyType:"browser",location:{pathname:"",query:{},key:""},titleSuffix:"",root:"/",routeViewsUpdated:function(){}},(function(r,e){return t("context-consumer",{subscribe:r,renderer:e})})))}}}));
@@ -0,0 +1 @@
1
+ import{r as t,a as s}from"./p-db0bded8.js";import{A as e}from"./p-fdadb647.js";const i=class{constructor(s){t(this,s),this.titleSuffix="",this.pageTitle=""}updateDocumentTitle(){const t=this.el;t.ownerDocument&&(t.ownerDocument.title=`${this.pageTitle}${this.titleSuffix||""}`)}componentWillLoad(){this.updateDocumentTitle()}get el(){return s(this)}static get watchers(){return{pageTitle:["updateDocumentTitle"]}}};e.injectProps(i,["titleSuffix"]);export{i as stencil_route_title}
@@ -0,0 +1 @@
1
+ var __awaiter=this&&this.__awaiter||function(e,t,n,r){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function a(e){try{u(r.next(e))}catch(e){o(e)}}function s(e){try{u(r["throw"](e))}catch(e){o(e)}}function u(e){e.done?n(e.value):i(e.value).then(a,s)}u((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,i,o,a;return a={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function s(e){return function(t){return u([e,t])}}function u(a){if(r)throw new TypeError("Generator is already executing.");while(n)try{if(r=1,i&&(o=a[0]&2?i["return"]:a[0]?i["throw"]||((o=i["return"])&&o.call(i),0):i.next)&&!(o=o.call(i,a[1])).done)return o;if(i=0,o)a=[a[0]&2,o.value];switch(a[0]){case 0:case 1:o=a;break;case 4:n.label++;return{value:a[1],done:false};case 5:n.label++;i=a[1];a=[0];continue;case 7:a=n.ops.pop();n.trys.pop();continue;default:if(!(o=n.trys,o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){n=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){n.label=a[1];break}if(a[0]===6&&n.label<o[1]){n.label=o[1];o=a;break}if(o&&n.label<o[2]){n.label=o[2];n.ops.push(a);break}if(o[2])n.ops.pop();n.trys.pop();continue}a=t.call(e,n)}catch(e){a=[6,e];i=0}finally{r=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};System.register(["./p-71ca4cf8.system.js","./p-cd3ed541.system.js","./p-97188c78.system.js"],(function(e){"use strict";var t,n,r,i,o,a,s,u,d,l,c;return{setters:[function(e){t=e.r;n=e.h;r=e.H},function(e){i=e.E;o=e.a;a=e.O;s=e.l;u=e.b;d=e.S;l=e.e;c=e.c},function(){}],execute:function(){var f=3e4;var m;(function(e){e[e["NotLoaded"]=1]="NotLoaded";e[e["Loaded"]=2]="Loaded"})(m||(m={}));var b=m.NotLoaded;var h=e("sss_super_byof_host",function(){function e(e){var n=this;t(this,e);this.eventTrackingService=i.Instance;this.subscribeToSuperByofEvents=function(){for(var e in n.byofEventHandlers){document.addEventListener(e,n.byofEventHandlers[e])}};this.unSubscribeFromSuperByofEvents=function(){for(var e in n.byofEventHandlers){document.removeEventListener(e,n.byofEventHandlers[e])}};this.byofLoaded=function(e){return __awaiter(n,void 0,void 0,(function(){return __generator(this,(function(t){if(e.detail.sender==="super-byof"){b=m.Loaded;clearTimeout(this.loadingTimeoutRef);this.eventTrackingService.TrackMyOwnSuperFundDetailViewedAsync({promotedFundsShown:o.promotedFunds,defaultFundUsiSet:a.toUndefined(o.defaultFundUsi)})}return[2,Promise.resolve()]}))}))};this.byofCompleted=function(e){return __awaiter(n,void 0,void 0,(function(){var t=this;return __generator(this,(function(n){if(e.detail.sender==="super-byof"){s.myOwnFundForm={fundUsi:a.fromNullable(e.detail.fundUsi),fundName:a.fromNullable(e.detail.fundName),memberNumber:a.fromNullable(e.detail.memberNumber),memberFirstName:a.fromNullable(e.detail.memberFirstName),memberFamilyName:a.fromNullable(e.detail.memberLastName)};if(o.isBringYourOwnFundCustomStepEnabled&&o.isUsingSuperCampaign){u.navigateInternally(this.history,d.MyOwnFundEngagementStep);return[2]}u.navigateInternallyToStandardChoice({history:this.history,fundName:e.detail.fundName,fundDetails:{type:"myOwnFund",fundName:e.detail.fundName,fundUsi:e.detail.fundUsi,memberNumber:e.detail.memberNumber},handleSubmitFn:function(n){return __awaiter(t,void 0,void 0,(function(){var t;return __generator(this,(function(r){switch(r.label){case 0:t=Object.assign({fundUsi:e.detail.fundUsi,memberNumber:e.detail.memberNumber,memberFirstName:e.detail.memberFirstName,memberFamilyName:e.detail.memberLastName,standardChoiceFormSignature:n},o.promotedFundsConfig);return[4,l.submitCustomFundChoiceAsync(t)];case 1:r.sent();return[2]}}))}))}})}return[2]}))}))};this.byofCancelled=function(e){return __awaiter(n,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:if(!(e.detail.sender==="super-byof"))return[3,2];return[4,u.navigateInternally(this.history,d.ChoicePage)];case 1:t.sent();t.label=2;case 2:return[2]}}))}))};this.byofEventHandlers={"byof-loaded":this.byofLoaded.bind(this),"byof-completed":this.byofCompleted.bind(this),"byof-cancelled":this.byofCancelled.bind(this)}}e.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){if(a.isSome(o.backendUrl)&&a.isSome(o.state.jwt)){this.backendUrl=o.backendUrl.value;this.accessToken=o.state.jwt.value;if(b===m.NotLoaded){this.loadingTimeoutRef=setTimeout(this.byofLoadingTimeoutTriggered.bind(this),f)}this.subscribeToSuperByofEvents()}else{throw Error("SuperByofHost pre-requisites not met.")}return[2]}))}))};e.prototype.disconnectedCallback=function(){clearTimeout(this.loadingTimeoutRef);this.unSubscribeFromSuperByofEvents()};e.prototype.render=function(){return n(r,null,n("sss-header-section",null),n("div",{class:"flex justify-center mt-11"},n("sss-custom-fund",null,n("apollo-super-byof",{"backend-url":this.backendUrl,"access-token":this.accessToken}))))};e.prototype.byofLoadingTimeoutTriggered=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){if(b!==m.Loaded){throw Error("BYOF component failed to load.")}return[2]}))}))};return e}());c(h)}}}));
@@ -0,0 +1 @@
1
+ import{r as s,h as t,H as e}from"./p-db0bded8.js";import{E as i,a as o,O as r,l as a,b as n,S as m,e as d,c as h}from"./p-24d6e2b8.js";import"./p-fdadb647.js";var u;!function(s){s[s.NotLoaded=1]="NotLoaded",s[s.Loaded=2]="Loaded"}(u||(u={}));let c=u.NotLoaded;const f=class{constructor(t){s(this,t),this.eventTrackingService=i.Instance,this.subscribeToSuperByofEvents=()=>{for(const s in this.byofEventHandlers)document.addEventListener(s,this.byofEventHandlers[s])},this.unSubscribeFromSuperByofEvents=()=>{for(const s in this.byofEventHandlers)document.removeEventListener(s,this.byofEventHandlers[s])},this.byofLoaded=async s=>("super-byof"===s.detail.sender&&(c=u.Loaded,clearTimeout(this.loadingTimeoutRef),this.eventTrackingService.TrackMyOwnSuperFundDetailViewedAsync({promotedFundsShown:o.promotedFunds,defaultFundUsiSet:r.toUndefined(o.defaultFundUsi)})),Promise.resolve()),this.byofCompleted=async s=>{if("super-byof"===s.detail.sender){if(a.myOwnFundForm={fundUsi:r.fromNullable(s.detail.fundUsi),fundName:r.fromNullable(s.detail.fundName),memberNumber:r.fromNullable(s.detail.memberNumber),memberFirstName:r.fromNullable(s.detail.memberFirstName),memberFamilyName:r.fromNullable(s.detail.memberLastName)},o.isBringYourOwnFundCustomStepEnabled&&o.isUsingSuperCampaign)return void n.navigateInternally(this.history,m.MyOwnFundEngagementStep);n.navigateInternallyToStandardChoice({history:this.history,fundName:s.detail.fundName,fundDetails:{type:"myOwnFund",fundName:s.detail.fundName,fundUsi:s.detail.fundUsi,memberNumber:s.detail.memberNumber},handleSubmitFn:async t=>{const e=Object.assign({fundUsi:s.detail.fundUsi,memberNumber:s.detail.memberNumber,memberFirstName:s.detail.memberFirstName,memberFamilyName:s.detail.memberLastName,standardChoiceFormSignature:t},o.promotedFundsConfig);await d.submitCustomFundChoiceAsync(e)}})}},this.byofCancelled=async s=>{"super-byof"===s.detail.sender&&await n.navigateInternally(this.history,m.ChoicePage)},this.byofEventHandlers={"byof-loaded":this.byofLoaded.bind(this),"byof-completed":this.byofCompleted.bind(this),"byof-cancelled":this.byofCancelled.bind(this)}}async componentWillLoad(){if(!r.isSome(o.backendUrl)||!r.isSome(o.state.jwt))throw Error("SuperByofHost pre-requisites not met.");this.backendUrl=o.backendUrl.value,this.accessToken=o.state.jwt.value,c===u.NotLoaded&&(this.loadingTimeoutRef=setTimeout(this.byofLoadingTimeoutTriggered.bind(this),3e4)),this.subscribeToSuperByofEvents()}disconnectedCallback(){clearTimeout(this.loadingTimeoutRef),this.unSubscribeFromSuperByofEvents()}render(){return t(e,null,t("sss-header-section",null),t("div",{class:"flex justify-center mt-11"},t("sss-custom-fund",null,t("apollo-super-byof",{"backend-url":this.backendUrl,"access-token":this.accessToken}))))}async byofLoadingTimeoutTriggered(){if(c!==u.Loaded)throw Error("BYOF component failed to load.")}};h(f);export{f as sss_super_byof_host}
@@ -0,0 +1 @@
1
+ System.register(["./p-71ca4cf8.system.js","./p-14885f78.system.js","./p-15f0e5eb.system.js"],(function(e,s){"use strict";var t,r,i;return{setters:[function(e){t=e.p;r=e.b},function(){},function(e){i=e.g}],execute:function(){var e=function(){var e=s.meta.url;var r={};if(e!==""){r.resourcesUrl=new URL(".",e).href}return t(r)};e().then((function(e){i();return r([["p-a0063575.system",[[0,"sss-super-byof-host",{history:[16],backendUrl:[32],accessToken:[32]}]]],["p-53b231f0.system",[[0,"context-consumer",{context:[16],renderer:[16],subscribe:[16],unsubscribe:[32]}]]],["p-2b42304a.system",[[0,"stencil-async-content",{documentLocation:[1,"document-location"],content:[32]}]]],["p-22939048.system",[[0,"stencil-route-title",{titleSuffix:[1,"title-suffix"],pageTitle:[1,"page-title"]}]]],["p-e957b393.system",[[0,"stencil-router-prompt",{when:[4],message:[1],history:[16],unblock:[32]}]]],["p-c775c0e4.system",[[0,"stencil-router-redirect",{history:[16],root:[1],url:[1]}]]],["p-309ea469.system",[[0,"sss-prefill",{history:[16],prefill:[32]}],[1,"super-selection-app-host",{sessionState:[32],jwt:[32],appConfiguration:[32],ignoreExistingSelection:[32]}],[0,"sss-default-fund",{history:[16],defaultFundProductName:[32]}],[0,"sss-super-campaign-featured-funds",{history:[16],backendUrl:[32],accessToken:[32],currentView:[32]}],[0,"sss-super-smsf-host",{history:[16],backendUrl:[32],accessToken:[32]}],[0,"sss-existing-choice-page",{history:[16],existingFund:[32]}],[0,"sss-standard-choice-form",{history:[16],standardChoiceFormSignature:[32],formState:[32],isSubmitDisabled:[32]}],[0,"sss-success"],[0,"sss-choice-router",{history:[16]}],[0,"sss-my-own-fund-engagement-step-host",{history:[16],backendUrl:[32],accessToken:[32],fundUsi:[32],fundName:[32],memberNumber:[32],memberFirstName:[32],memberFamilyName:[32]}],[0,"sss-smsf-engagement-step-host",{history:[16],backendUrl:[32],accessToken:[32],fundName:[32],fundAbn:[32],fundEsa:[32],fundAddress:[32],bsb:[32],bankAccountName:[32],bankAccountNumber:[32],memberFirstName:[32],memberFamilyName:[32],accountId:[32],partnerId:[32]}],[0,"sss-super-campaign-host",{history:[16],scriptImported:[32],backendUrl:[32],accessToken:[32]}],[0,"sss-dropdown-async",{testId:[1,"test-id"],placeholder:[1],searchFunction:[16],value:[16],required:[4],requiredValidationMessage:[1,"required-validation-message"],disabled:[4],minSearchStringLength:[2,"min-search-string-length"],showValidationErrors:[4,"show-validation-errors"],searchState:[32],inputValue:[32],isDropdownVisible:[32],filteredOptions:[32],highlightedOptionIndex:[32],selectedOption:[32]},[[2,"focus","handleFocus"],[2,"blur","handleBlur"],[2,"keydown","handleKeyDown"]]],[0,"sss-name-input",{testId:[1,"test-id"],value:[1],name:[1],readableName:[1,"readable-name"],showValidationErrors:[4,"show-validation-errors"],errorMessage:[32]}],[0,"sss-prefill-my-own-fund",{history:[16],prefill:[16],mode:[32],formState:[32],isSubmitDisabled:[32],fundUsi:[32],fundName:[32],memberNumber:[32],memberGivenNames:[32],memberLastName:[32]}],[0,"sss-prefill-smsf",{history:[16],prefill:[16],mode:[32],formState:[32],isSubmitDisabled:[32],fundName:[32],fundAbn:[32],fundEsa:[32],fundAddressLine1:[32],fundAddressLine2:[32],fundAddressCity:[32],fundAddressPostcode:[32],fundAddressState:[32],fundAddress:[32],memberGivenNames:[32],memberLastName:[32],bankAccountName:[32],bankName:[32],bankAccountBsb:[32],bankAccountNumber:[32]}],[0,"sss-prefill-invalid-my-own-fund",{history:[16],prefill:[16],fundUsi:[32],fundName:[32],memberNumber:[32],memberGivenNames:[32],memberLastName:[32]}],[0,"sss-prefill-invalid-smsf",{history:[16],prefill:[16],fundName:[32],fundAbn:[32],fundEsa:[32],fundAddressLine1:[32],fundAddressLine2:[32],fundAddressCity:[32],fundAddressPostcode:[32],fundAddressState:[32],fundAddress:[32],memberGivenNames:[32],memberLastName:[32],bankAccountName:[32],bankAccountBsb:[32],bankAccountNumber:[32]}],[1,"super-selection-app",{ignoreExistingSelection:[4,"ignore-existing-selection"],accessToken:[1,"access-token"],backendUrl:[1,"backend-url"],appBaseUrl:[1,"app-base-url"],history:[16],location:[16],isSelfHosted:[4,"is-self-hosted"],isAppInitialised:[32]}],[0,"sss-loading-page"],[0,"sss-footer-section",{textOverride:[1,"text-override"]}],[4,"stencil-route-switch",{group:[513],scrollTopOffset:[2,"scroll-top-offset"],location:[16],routeViewsUpdated:[16]}],[4,"stencil-router",{root:[1],historyType:[1,"history-type"],titleSuffix:[1,"title-suffix"],scrollTopOffset:[2,"scroll-top-offset"],location:[32],history:[32]}],[0,"sss-prefill-warning-box",{notificationList:[16]}],[0,"sss-header-section"],[4,"sss-custom-fund",{history:[16],currentCustomFund:[32],fundOptionsList:[32],showFundOptionsSelection:[32]}],[0,"sss-prefill-display-field",{field:[16]}],[0,"sss-prefill-error-box",{withHeader:[4,"with-header"],notificationList:[16]}],[4,"stencil-route-link",{url:[1],urlMatch:[1,"url-match"],activeClass:[1,"active-class"],exact:[4],strict:[4],custom:[1],anchorClass:[1,"anchor-class"],anchorRole:[1,"anchor-role"],anchorTitle:[1,"anchor-title"],anchorTabIndex:[1,"anchor-tab-index"],anchorId:[1,"anchor-id"],history:[16],location:[16],root:[1],ariaHaspopup:[1,"aria-haspopup"],ariaPosinset:[1,"aria-posinset"],ariaSetsize:[2,"aria-setsize"],ariaLabel:[1,"aria-label"],match:[32]}],[4,"sss-button",{testid:[1],fillWidth:[4,"fill-width"],fillWidthOnMobile:[4,"fill-width-on-mobile"],disabled:[4],variant:[1],size:[1],promiseFn:[16],state:[32]}],[0,"sss-loading-indicator",{theme:[1],size:[2]}],[0,"stencil-route",{group:[513],componentUpdated:[16],match:[1040],url:[1],component:[1],componentProps:[16],exact:[4],routeRender:[16],scrollTopOffset:[2,"scroll-top-offset"],routeViewsUpdated:[16],location:[16],history:[16],historyType:[1,"history-type"]}]]]],e)}))}}}));
@@ -0,0 +1 @@
1
+ System.register(["./p-71ca4cf8.system.js","./p-97188c78.system.js"],(function(t){"use strict";var r,e,n;return{setters:[function(t){r=t.r;e=t.a},function(t){n=t.A}],execute:function(){var i=function(t,r){if(t.charAt(0)=="/"&&r.charAt(r.length-1)=="/"){return r.slice(0,r.length-1)+t}return r+t};var o=t("stencil_router_redirect",function(){function t(t){r(this,t)}t.prototype.componentWillLoad=function(){if(this.history&&this.root&&this.url){return this.history.replace(i(this.url,this.root))}};Object.defineProperty(t.prototype,"el",{get:function(){return e(this)},enumerable:false,configurable:true});return t}());n.injectProps(o,["history","root"])}}}));
@@ -0,0 +1 @@
1
+ var __awaiter=this&&this.__awaiter||function(e,t,n,r){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function u(e){try{s(r.next(e))}catch(e){o(e)}}function a(e){try{s(r["throw"](e))}catch(e){o(e)}}function s(e){e.done?n(e.value):i(e.value).then(u,a)}s((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,i,o,u;return u={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(u[Symbol.iterator]=function(){return this}),u;function a(e){return function(t){return s([e,t])}}function s(u){if(r)throw new TypeError("Generator is already executing.");while(n)try{if(r=1,i&&(o=u[0]&2?i["return"]:u[0]?i["throw"]||((o=i["return"])&&o.call(i),0):i.next)&&!(o=o.call(i,u[1])).done)return o;if(i=0,o)u=[u[0]&2,o.value];switch(u[0]){case 0:case 1:o=u;break;case 4:n.label++;return{value:u[1],done:false};case 5:n.label++;i=u[1];u=[0];continue;case 7:u=n.ops.pop();n.trys.pop();continue;default:if(!(o=n.trys,o=o.length>0&&o[o.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!o||u[1]>o[0]&&u[1]<o[3])){n.label=u[1];break}if(u[0]===6&&n.label<o[1]){n.label=o[1];o=u;break}if(o&&n.label<o[2]){n.label=o[2];n.ops.push(u);break}if(o[2])n.ops.pop();n.trys.pop();continue}u=t.call(e,n)}catch(e){u=[6,e];i=0}finally{r=o=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};System.register(["./p-71ca4cf8.system.js","./p-97188c78.system.js"],(function(e){"use strict";var t,n,r,i;return{setters:[function(e){t=e.e;n=e.f;r=e.h},function(e){i=e.A}],execute:function(){e({C:void 0,S:void 0,c:l,g:le,h:ae,j:pe,k:he,p:void 0,t:f,v:c});var o=e("i",(function(e){return e._tag==="Some"}));var u=e("f",(function(e){return e._tag==="None"}));var a=e("n",{_tag:"None"});var s=e("s",(function(e){return{_tag:"Some",value:e}}));function c(e){return e==null?a:s(e)}function f(e){return u(e)?undefined:e.value}function l(e){i.injectProps(e,["history","location"])}function p(){d({type:"appReady"})}function d(e,t){if(t===undefined)t="*";e.sender="flare";window.parent.postMessage(e,t)}function h(e,t){d({type:"contentResized",height:e,width:t})}function v(e){d({type:"pageNavigated",url:e})}function m(){d({type:"complete"})}function g(){d({type:"submitSuccess"})}var y=e("q",{appReady:p,resize:h,navigation:v,complete:m,submitSuccess:g});var b=function(e,t,n){var r=e.get(t);if(!r){e.set(t,[n])}else if(!r.includes(n)){r.push(n)}};var w=function(e,t){var n;return function(){var r=[];for(var i=0;i<arguments.length;i++){r[i]=arguments[i]}if(n){clearTimeout(n)}n=setTimeout((function(){n=0;e.apply(void 0,r)}),t)}};var _=function(e){return!("isConnected"in e)||e.isConnected};var S=w((function(e){for(var t=0,n=e.keys();t<n.length;t++){var r=n[t];e.set(r,e.get(r).filter(_))}}),2e3);var F=function(e){var r=e.on;var i=new Map;if(typeof t==="function"){r("dispose",(function(){i.clear()}));r("get",(function(e){var n=t();if(n){b(i,e,n)}}));r("set",(function(e){var t=i.get(e);if(t){i.set(e,t.filter(n))}S(i)}));r("reset",(function(){i.forEach((function(e){return e.forEach(n)}));S(i)}))}};var C=function(e,t){if(t===void 0){t=function(e,t){return e!==t}}var n=new Map(Object.entries(e!==null&&e!==void 0?e:{}));var r={dispose:[],get:[],set:[],reset:[]};var i=function(){n=new Map(Object.entries(e!==null&&e!==void 0?e:{}));r.reset.forEach((function(e){return e()}))};var o=function(){r.dispose.forEach((function(e){return e()}));i()};var u=function(e){r.get.forEach((function(t){return t(e)}));return n.get(e)};var a=function(e,i){var o=n.get(e);if(t(i,o,e)){n.set(e,i);r.set.forEach((function(t){return t(e,i,o)}))}};var s=typeof Proxy==="undefined"?{}:new Proxy(e,{get:function(e,t){return u(t)},ownKeys:function(e){return Array.from(n.keys())},getOwnPropertyDescriptor:function(){return{enumerable:true,configurable:true}},has:function(e,t){return n.has(t)},set:function(e,t,n){a(t,n);return true}});var c=function(e,t){r[e].push(t);return function(){E(r[e],t)}};var f=function(t,n){var r=c("set",(function(e,r){if(e===t){n(r)}}));var i=c("reset",(function(){return n(e[t])}));return function(){r();i()}};var l=function(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}return e.forEach((function(e){if(e.set){c("set",e.set)}if(e.get){c("get",e.get)}if(e.reset){c("reset",e.reset)}}))};return{state:s,get:u,set:a,on:c,onChange:f,use:l,dispose:o,reset:i}};var E=function(e,t){var n=e.indexOf(t);if(n>=0){e[n]=e[e.length-1];e.length--}};var A=function(e,t){var n=C(e,t);F(n);return n};var P={handleSubmitFn:function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){return[2]}))}))},fundName:"",fundDetails:{type:"null"},promotedFundId:undefined};var N=A(P).state;e("m",N);var O;(function(e){e["ExistingChoicePage"]="/existing";e["SuperCampaign"]="/super-campaign";e["ChoicePage"]="/";e["MyOwnFund"]="/super-choice/my-own-fund/";e["MyOwnFundEngagementStep"]="/super-choice/my-own-fund-engagement/";e["SmsfEngagementStep"]="/super-choice/smsf-engagement/";e["Prefill"]="/super-choice/prefill/";e["PrefillInvalidMyOwnFundPage"]="/super-choice/sss-prefill-invalid-my-own-fund/";e["PrefillMyOwnFundPage"]="/super-choice/prefill-my-own-fund/";e["PrefillSMSFPage"]="/super-choice/prefill-smsf/";e["PrefillInvalidSMSFPage"]="/super-choice/prefill-invalid-smsf/";e["SelfManagedFund"]="/super-choice/smsf/";e["DefaultFund"]="/super-choice/default/";e["FeaturedFunds"]="/super-choice/featured-funds/";e["StandardChoice"]="/standard-choice/";e["Success"]="/success/"})(O||(O=e("S",{})));var k=e("r",[r("stencil-route",{url:O.ExistingChoicePage,component:"sss-existing-choice-page"}),r("stencil-route",{url:O.SuperCampaign,component:"sss-super-campaign-host"}),r("stencil-route",{exact:true,url:O.ChoicePage,component:"sss-choice-router"}),r("stencil-route",{url:O.MyOwnFund,component:"sss-super-byof-host"}),r("stencil-route",{url:O.MyOwnFundEngagementStep,component:"sss-my-own-fund-engagement-step-host"}),r("stencil-route",{url:O.SmsfEngagementStep,component:"sss-smsf-engagement-step-host"}),r("stencil-route",{url:O.PrefillInvalidMyOwnFundPage,component:"sss-prefill-invalid-my-own-fund"}),r("stencil-route",{url:O.Prefill,component:"sss-prefill"}),r("stencil-route",{url:O.PrefillMyOwnFundPage,component:"sss-prefill-my-own-fund"}),r("stencil-route",{url:O.PrefillSMSFPage,component:"sss-prefill-smsf"}),r("stencil-route",{url:O.PrefillInvalidSMSFPage,component:"sss-prefill-invalid-smsf"}),r("stencil-route",{url:O.SelfManagedFund,component:"sss-super-smsf-host"}),r("stencil-route",{url:O.DefaultFund,component:"sss-default-fund"}),r("stencil-route",{url:O.FeaturedFunds,component:"sss-super-campaign-featured-funds"}),r("stencil-route",{url:O.StandardChoice,component:"sss-standard-choice-form"}),r("stencil-route",{url:O.Success,component:"sss-success"})]);function D(e,t,n){return n={path:t,exports:{},require:function(e,t){return M()}},e(n,n.exports),n.exports}function M(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}var I=D((function(e,t){Object.defineProperty(t,"__esModule",{value:true});t.bindTo_=t.bind_=t.hole=t.pipe=t.untupled=t.tupled=t.absurd=t.decrement=t.increment=t.tuple=t.flow=t.flip=t.constVoid=t.constUndefined=t.constNull=t.constFalse=t.constTrue=t.constant=t.not=t.unsafeCoerce=t.identity=void 0;function n(e){return e}t.identity=n;t.unsafeCoerce=n;function r(e){return function(t){return!e(t)}}t.not=r;function i(e){return function(){return e}}t.constant=i;t.constTrue=i(true);t.constFalse=i(false);t.constNull=i(null);t.constUndefined=i(undefined);t.constVoid=t.constUndefined;function o(e){return function(t,n){return e(n,t)}}t.flip=o;function u(e,t,n,r,i,o,u,a,s){switch(arguments.length){case 1:return e;case 2:return function(){return t(e.apply(this,arguments))};case 3:return function(){return n(t(e.apply(this,arguments)))};case 4:return function(){return r(n(t(e.apply(this,arguments))))};case 5:return function(){return i(r(n(t(e.apply(this,arguments)))))};case 6:return function(){return o(i(r(n(t(e.apply(this,arguments))))))};case 7:return function(){return u(o(i(r(n(t(e.apply(this,arguments)))))))};case 8:return function(){return a(u(o(i(r(n(t(e.apply(this,arguments))))))))};case 9:return function(){return s(a(u(o(i(r(n(t(e.apply(this,arguments)))))))))}}return}t.flow=u;function a(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}return e}t.tuple=a;function s(e){return e+1}t.increment=s;function c(e){return e-1}t.decrement=c;function f(e){throw new Error("Called `absurd` function which should be uncallable")}t.absurd=f;function l(e){return function(t){return e.apply(void 0,t)}}t.tupled=l;function p(e){return function(){var t=[];for(var n=0;n<arguments.length;n++){t[n]=arguments[n]}return e(t)}}t.untupled=p;function d(e,t,n,r,i,o,u,a,s,c,f,l,p,d,h,v,m,g,y,b){switch(arguments.length){case 1:return e;case 2:return t(e);case 3:return n(t(e));case 4:return r(n(t(e)));case 5:return i(r(n(t(e))));case 6:return o(i(r(n(t(e)))));case 7:return u(o(i(r(n(t(e))))));case 8:return a(u(o(i(r(n(t(e)))))));case 9:return s(a(u(o(i(r(n(t(e))))))));case 10:return c(s(a(u(o(i(r(n(t(e)))))))));case 11:return f(c(s(a(u(o(i(r(n(t(e))))))))));case 12:return l(f(c(s(a(u(o(i(r(n(t(e)))))))))));case 13:return p(l(f(c(s(a(u(o(i(r(n(t(e))))))))))));case 14:return d(p(l(f(c(s(a(u(o(i(r(n(t(e)))))))))))));case 15:return h(d(p(l(f(c(s(a(u(o(i(r(n(t(e))))))))))))));case 16:return v(h(d(p(l(f(c(s(a(u(o(i(r(n(t(e)))))))))))))));case 17:return m(v(h(d(p(l(f(c(s(a(u(o(i(r(n(t(e))))))))))))))));case 18:return g(m(v(h(d(p(l(f(c(s(a(u(o(i(r(n(t(e)))))))))))))))));case 19:return y(g(m(v(h(d(p(l(f(c(s(a(u(o(i(r(n(t(e))))))))))))))))));case 20:return b(y(g(m(v(h(d(p(l(f(c(s(a(u(o(i(r(n(t(e)))))))))))))))))))}return}t.pipe=d;t.hole=f;var h=function(e,t,n){var r;return Object.assign({},e,(r={},r[t]=n,r))};t.bind_=h;var v=function(e){return function(t){var n;return n={},n[e]=t,n}};t.bindTo_=v}));var R=e("O",D((function(e,t){Object.defineProperty(t,"__esModule",{value:true});t.getApplySemigroup=t.getOrd=t.getEq=t.getShow=t.URI=t.wilt=t.wither=t.sequence=t.traverse=t.partitionMap=t.partition=t.filterMap=t.filter=t.separate=t.compact=t.reduceRight=t.foldMap=t.reduce=t.duplicate=t.extend=t.throwError=t.zero=t.alt=t.altW=t.flatten=t.chainFirst=t.chain=t.of=t.apSecond=t.apFirst=t.ap=t.map=t.chainNullableK=t.mapNullable=t.fromNullableK=t.getOrElse=t.getOrElseW=t.toUndefined=t.toNullable=t.fold=t.fromEither=t.getRight=t.getLeft=t.tryCatch=t.fromPredicate=t.fromNullable=t.some=t.none=t.isNone=t.isSome=void 0;t.sequenceArray=t.traverseArray=t.traverseArrayWithIndex=t.apS=t.bind=t.bindTo=t.Do=t.getRefinement=t.exists=t.elem=t.option=t.MonadThrow=t.Witherable=t.Traversable=t.Filterable=t.Compactable=t.Extend=t.Alternative=t.Alt=t.Foldable=t.Monad=t.Applicative=t.Functor=t.getMonoid=t.getLastMonoid=t.getFirstMonoid=t.getApplyMonoid=void 0;var n=function(e){return e._tag==="Some"};t.isSome=n;var r=function(e){return e._tag==="None"};t.isNone=r;t.none={_tag:"None"};var i=function(e){return{_tag:"Some",value:e}};t.some=i;function o(e){return e==null?t.none:t.some(e)}t.fromNullable=o;function u(e){return function(n){return e(n)?t.some(n):t.none}}t.fromPredicate=u;function a(e){try{return t.some(e())}catch(e){return t.none}}t.tryCatch=a;function s(e){return e._tag==="Right"?t.none:t.some(e.left)}t.getLeft=s;function c(e){return e._tag==="Left"?t.none:t.some(e.right)}t.getRight=c;t.fromEither=c;function f(e,n){return function(r){return t.isNone(r)?e():n(r.value)}}t.fold=f;function l(e){return t.isNone(e)?null:e.value}t.toNullable=l;function p(e){return t.isNone(e)?undefined:e.value}t.toUndefined=p;var d=function(e){return function(n){return t.isNone(n)?e():n.value}};t.getOrElseW=d;t.getOrElse=t.getOrElseW;function h(e){return function(){var t=[];for(var n=0;n<arguments.length;n++){t[n]=arguments[n]}return o(e.apply(void 0,t))}}t.fromNullableK=h;t.mapNullable=v;function v(e){return function(n){return t.isNone(n)?t.none:o(e(n.value))}}t.chainNullableK=v;var m=function(e,n){return I.pipe(e,t.map(n))};var g=function(e,n){return I.pipe(e,t.ap(n))};var y=function(e,n){return I.pipe(e,t.chain(n))};var b=function(e,n,r){return I.pipe(e,t.reduce(n,r))};var w=function(e){var n=t.foldMap(e);return function(e,t){return I.pipe(e,n(t))}};var _=function(e,n,r){return I.pipe(e,t.reduceRight(n,r))};var S=function(e){var n=t.traverse(e);return function(e,t){return I.pipe(e,n(t))}};var F=function(e,n){return I.pipe(e,t.alt(n))};var C=function(e,n){return I.pipe(e,t.filter(n))};var E=function(e,n){return I.pipe(e,t.filterMap(n))};var A=function(e,n){return I.pipe(e,t.extend(n))};var P=function(e,n){return I.pipe(e,t.partition(n))};var N=function(e,n){return I.pipe(e,t.partitionMap(n))};var O=function(e){var n=t.wither(e);return function(e,t){return I.pipe(e,n(t))}};var k=function(e){var n=t.wilt(e);return function(e,t){return I.pipe(e,n(t))}};var D=function(e){return function(n){return t.isNone(n)?t.none:t.some(e(n.value))}};t.map=D;var M=function(e){return function(n){return t.isNone(n)?t.none:t.isNone(e)?t.none:t.some(n.value(e.value))}};t.ap=M;var R=function(e){return I.flow(t.map((function(e){return function(){return e}})),t.ap(e))};t.apFirst=R;var j=function(e){return I.flow(t.map((function(){return function(e){return e}})),t.ap(e))};t.apSecond=j;t.of=t.some;var T=function(e){return function(n){return t.isNone(n)?t.none:e(n.value)}};t.chain=T;var U=function(e){return t.chain((function(n){return I.pipe(e(n),t.map((function(){return n})))}))};t.chainFirst=U;t.flatten=t.chain(I.identity);var B=function(e){return function(n){return t.isNone(n)?e():n}};t.altW=B;t.alt=t.altW;var x=function(){return t.none};t.zero=x;var q=function(){return t.none};t.throwError=q;var L=function(e){return function(n){return t.isNone(n)?t.none:t.some(e(n))}};t.extend=L;t.duplicate=t.extend(I.identity);var W=function(e,n){return function(r){return t.isNone(r)?e:n(e,r.value)}};t.reduce=W;var V=function(e){return function(n){return function(r){return t.isNone(r)?e.empty:n(r.value)}}};t.foldMap=V;var z=function(e,n){return function(r){return t.isNone(r)?e:n(r.value,e)}};t.reduceRight=z;t.compact=t.flatten;var J={left:t.none,right:t.none};var K=function(e){var n=I.pipe(e,t.map((function(e){return{left:s(e),right:c(e)}})));return t.isNone(n)?J:n.value};t.separate=K;var Y=function(e){return function(n){return t.isNone(n)?t.none:e(n.value)?n:t.none}};t.filter=Y;var Q=function(e){return function(n){return t.isNone(n)?t.none:e(n.value)}};t.filterMap=Q;var X=function(e){return function(t){return{left:C(t,(function(t){return!e(t)})),right:C(t,e)}}};t.partition=X;var G=function(e){return I.flow(t.map(e),t.separate)};t.partitionMap=G;var H=function(e){return function(n){return function(r){return t.isNone(r)?e.of(t.none):e.map(n(r.value),t.some)}}};t.traverse=H;var $=function(e){return function(n){return t.isNone(n)?e.of(t.none):e.map(n.value,t.some)}};t.sequence=$;var Z=function(e){return function(n){return function(r){return t.isNone(r)?e.of(t.none):n(r.value)}}};t.wither=Z;var ee=function(e){return function(n){return function(r){return t.isNone(r)?e.of({left:t.none,right:t.none}):e.map(n(r.value),(function(e){return{left:s(e),right:c(e)}}))}}};t.wilt=ee;t.URI="Option";function te(e){return{show:function(n){return t.isNone(n)?"none":"some("+e.show(n.value)+")"}}}t.getShow=te;function ne(e){return{equals:function(n,r){return n===r||(t.isNone(n)?t.isNone(r):t.isNone(r)?false:e.equals(n.value,r.value))}}}t.getEq=ne;function re(e){return{equals:ne(e).equals,compare:function(n,r){return n===r?0:t.isSome(n)?t.isSome(r)?e.compare(n.value,r.value):1:-1}}}t.getOrd=re;function ie(e){return{concat:function(n,r){return t.isSome(n)&&t.isSome(r)?t.some(e.concat(n.value,r.value)):t.none}}}t.getApplySemigroup=ie;function oe(e){return{concat:ie(e).concat,empty:t.some(e.empty)}}t.getApplyMonoid=oe;function ue(){return{concat:function(e,n){return t.isNone(e)?n:e},empty:t.none}}t.getFirstMonoid=ue;function ae(){return{concat:function(e,n){return t.isNone(n)?e:n},empty:t.none}}t.getLastMonoid=ae;function se(e){return{concat:function(n,r){return t.isNone(n)?r:t.isNone(r)?n:t.some(e.concat(n.value,r.value))},empty:t.none}}t.getMonoid=se;t.Functor={URI:t.URI,map:m};t.Applicative={URI:t.URI,map:m,ap:g,of:t.of};t.Monad={URI:t.URI,map:m,ap:g,of:t.of,chain:y};t.Foldable={URI:t.URI,reduce:b,foldMap:w,reduceRight:_};t.Alt={URI:t.URI,map:m,alt:F};t.Alternative={URI:t.URI,map:m,ap:g,of:t.of,alt:F,zero:t.zero};t.Extend={URI:t.URI,map:m,extend:A};t.Compactable={URI:t.URI,compact:t.compact,separate:t.separate};t.Filterable={URI:t.URI,map:m,compact:t.compact,separate:t.separate,filter:C,filterMap:E,partition:P,partitionMap:N};t.Traversable={URI:t.URI,map:m,reduce:b,foldMap:w,reduceRight:_,traverse:S,sequence:t.sequence};t.Witherable={URI:t.URI,map:m,reduce:b,foldMap:w,reduceRight:_,traverse:S,sequence:t.sequence,compact:t.compact,separate:t.separate,filter:C,filterMap:E,partition:P,partitionMap:N,wither:O,wilt:k};t.MonadThrow={URI:t.URI,map:m,ap:g,of:t.of,chain:y,throwError:t.throwError};t.option={URI:t.URI,map:m,of:t.of,ap:g,chain:y,reduce:b,foldMap:w,reduceRight:_,traverse:S,sequence:t.sequence,zero:t.zero,alt:F,extend:A,compact:t.compact,separate:t.separate,filter:C,filterMap:E,partition:P,partitionMap:N,wither:O,wilt:k,throwError:t.throwError};function ce(e){return function(n,r){return t.isNone(r)?false:e.equals(n,r.value)}}t.elem=ce;function fe(e){return function(n){return t.isNone(n)?false:e(n.value)}}t.exists=fe;function le(e){return function(n){return t.isSome(e(n))}}t.getRefinement=le;t.Do=t.of({});var pe=function(e){return t.map(I.bindTo_(e))};t.bindTo=pe;var de=function(e,n){return t.chain((function(r){return I.pipe(n(r),t.map((function(t){return I.bind_(r,e,t)})))}))};t.bind=de;var he=function(e,n){return I.flow(t.map((function(t){return function(n){return I.bind_(t,e,n)}})),t.ap(n))};t.apS=he;var ve=function(e){return function(n){var r=[];for(var i=0;i<n.length;i++){var o=e(i,n[i]);if(t.isNone(o)){return t.none}r.push(o.value)}return t.some(r)}};t.traverseArrayWithIndex=ve;var me=function(e){return t.traverseArrayWithIndex((function(t,n){return e(n)}))};t.traverseArray=me;t.sequenceArray=t.traverseArray(I.identity)})));function j(e){this.message=e}j.prototype=new Error,j.prototype.name="InvalidCharacterError";var T="undefined"!=typeof window&&window.atob&&window.atob.bind(window)||function(e){var t=String(e).replace(/=+$/,"");if(t.length%4==1)throw new j("'atob' failed: The string to be decoded is not correctly encoded.");for(var n,r,i=0,o=0,u="";r=t.charAt(o++);~r&&(n=i%4?64*n+r:r,i++%4)?u+=String.fromCharCode(255&n>>(-2*i&6)):0)r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(r);return u};function U(e){var t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw"Illegal base64url string!"}try{return function(e){return decodeURIComponent(T(e).replace(/(.)/g,(function(e,t){var n=t.charCodeAt(0).toString(16).toUpperCase();return n.length<2&&(n="0"+n),"%"+n})))}(t)}catch(e){return T(t)}}function B(e){this.message=e}function x(e,t){if("string"!=typeof e)throw new B("Invalid token specified");var n=!0===(t=t||{}).header?0:1;try{return JSON.parse(U(e.split(".")[n]))}catch(e){throw new B("Invalid token specified: "+e.message)}}B.prototype=new Error,B.prototype.name="InvalidTokenError";var q=undefined&&undefined.__assign||function(){q=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i))e[i]=t[i]}return e};return q.apply(this,arguments)};var L=undefined&&undefined.__spreadArrays||function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;for(var r=Array(e),i=0,t=0;t<n;t++)for(var o=arguments[t],u=0,a=o.length;u<a;u++,i++)r[i]=o[u];return r};var W=function(e,t,n){if(n===void 0){n=false}if(!e||!t||typeof e!=="object"||typeof t!=="object")return e;var r=q({},e);for(var i in t){if(t.hasOwnProperty(i)){if(t[i]instanceof Array&&e[i]instanceof Array){r[i]=n?L(e[i],t[i]):t[i]}else if(typeof t[i]==="object"&&typeof e[i]==="object"){r[i]=W(e[i],t[i],n)}else{r[i]=t[i]}}}return r};var V=undefined&&undefined.__spreadArrays||function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;for(var r=Array(e),i=0,t=0;t<n;t++)for(var o=arguments[t],u=0,a=o.length;u<a;u++,i++)r[i]=o[u];return r};var z={defaults:{},errorType:null,polyfills:{fetch:null,FormData:null,URLSearchParams:null,performance:null,PerformanceObserver:null,AbortController:null},polyfill:function(e,t){var n=t===void 0?{}:t,r=n.doThrow,i=r===void 0?true:r,o=n.instance,u=o===void 0?false:o;var a=[];for(var s=2;s<arguments.length;s++){a[s-2]=arguments[s]}var c=this.polyfills[e]||(typeof self!=="undefined"?self[e]:null)||(typeof global!=="undefined"?global[e]:null);if(i&&!c)throw new Error(e+" is not defined");return u&&c?new(c.bind.apply(c,V([void 0],a))):c}};var J=function(e,t,n,r){if(!e.getEntriesByName)return false;var i=e.getEntriesByName(t);if(i&&i.length>0){n(i.reverse()[0]);if(r.clearMeasures)r.clearMeasures(t);Y.callbacks.delete(t);if(Y.callbacks.size<1){Y.observer.disconnect();if(r.clearResourceTimings){r.clearResourceTimings()}}return true}return false};var K=function(e,t){if(!Y.observer&&e&&t){Y.observer=new t((function(t){Y.callbacks.forEach((function(n,r){J(t,r,n,e)}))}));if(e.clearResourceTimings)e.clearResourceTimings()}return Y.observer};var Y={callbacks:new Map,observer:null,observe:function(e,t){if(!e||!t)return;var n=z.polyfill("performance",{doThrow:false});var r=z.polyfill("PerformanceObserver",{doThrow:false});if(!K(n,r))return;if(!J(n,e,t,n)){if(Y.callbacks.size<1)Y.observer.observe({entryTypes:["resource","measure"]});Y.callbacks.set(e,t)}}};var Q=function(e){return function(t){return e.length===0?t:e.length===1?e[0](t):e.reduceRight((function(n,r,i){return i===e.length-2?r(n(t)):r(n)}))}};var X=function(){function e(e){this.error=e}return e}();var G=function(e){var t=e._url,n=e._catchers,r=e._resolvers,i=e._middlewares,o=e._options;var u=new Map(n);var a=W(z.defaults,o);var s=z.polyfill("AbortController",{doThrow:false,instance:true});if(!a["signal"]&&s){a["signal"]=s.signal}var c={ref:null,clear:function(){if(c.ref){clearTimeout(c.ref);c.ref=null}}};var f=Q(i)(z.polyfill("fetch"))(t,a);var l=f.catch((function(e){throw new X(e)})).then((function(e){c.clear();if(!e.ok){return e[z.errorType||"text"]().then((function(t){var n=new Error(t);n[z.errorType||"text"]=t;n["status"]=e.status;n["response"]=e;throw n}))}return e}));var p=function(t){return t.catch((function(t){c.clear();var n=t instanceof X?t.error:t;if(t instanceof X&&u.has("__fromFetch"))return u.get("__fromFetch")(n,e);else if(u.has(n.status))return u.get(n.status)(n,e);else if(u.has(n.name))return u.get(n.name)(n,e);else throw n}))};var d=function(e){return function(t){return e?p(l.then((function(t){return t&&t[e]()})).then((function(e){return t?t(e):e}))):p(l.then((function(e){return t?t(e):e})))}};var h={res:d(null),json:d("json"),blob:d("blob"),formData:d("formData"),arrayBuffer:d("arrayBuffer"),text:d("text"),perfs:function(e){f.then((function(t){return Y.observe(t.url,e)}));return h},setTimeout:function(e,t){if(t===void 0){t=s}c.clear();c.ref=setTimeout((function(){return t.abort()}),e);return h},controller:function(){return[s,h]},error:function(e,t){u.set(e,t);return h},badRequest:function(e){return h.error(400,e)},unauthorized:function(e){return h.error(401,e)},forbidden:function(e){return h.error(403,e)},notFound:function(e){return h.error(404,e)},timeout:function(e){return h.error(408,e)},internalError:function(e){return h.error(500,e)},fetchError:function(e){return h.error("__fromFetch",e)},onAbort:function(e){return h.error("AbortError",e)}};return r.reduce((function(t,n){return n(t,e)}),h)};var H=undefined&&undefined.__assign||function(){H=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i))e[i]=t[i]}return e};return H.apply(this,arguments)};var $=undefined&&undefined.__spreadArrays||function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;for(var r=Array(e),i=0,t=0;t<n;t++)for(var o=arguments[t],u=0,a=o.length;u<a;u++,i++)r[i]=o[u];return r};var Z="application/json";var ee="Content-Type";var te=function(){function e(e,t,n,r,i,o){if(n===void 0){n=new Map}if(r===void 0){r=[]}if(i===void 0){i=[]}if(o===void 0){o=[]}this._url=e;this._options=t;this._catchers=n;this._resolvers=r;this._middlewares=i;this._deferredChain=o}e.factory=function(t,n){if(t===void 0){t=""}if(n===void 0){n={}}return new e(t,n)};e.prototype.selfFactory=function(t){var n=t===void 0?{}:t,r=n.url,i=r===void 0?this._url:r,o=n.options,u=o===void 0?this._options:o,a=n.catchers,s=a===void 0?this._catchers:a,c=n.resolvers,f=c===void 0?this._resolvers:c,l=n.middlewares,p=l===void 0?this._middlewares:l,d=n.deferredChain,h=d===void 0?this._deferredChain:d;return new e(i,H({},u),new Map(s),$(f),$(p),$(h))};e.prototype.defaults=function(e,t){if(t===void 0){t=false}z.defaults=t?W(z.defaults,e):e;return this};e.prototype.errorType=function(e){z.errorType=e;return this};e.prototype.polyfills=function(e){z.polyfills=H(H({},z.polyfills),e);return this};e.prototype.url=function(e,t){if(t===void 0){t=false}if(t)return this.selfFactory({url:e});var n=this._url.split("?");return this.selfFactory({url:n.length>1?n[0]+e+"?"+n[1]:this._url+e})};e.prototype.options=function(e,t){if(t===void 0){t=true}return this.selfFactory({options:t?W(this._options,e):e})};e.prototype.query=function(e,t){if(t===void 0){t=false}return this.selfFactory({url:ne(this._url,e,t)})};e.prototype.headers=function(e){return this.selfFactory({options:W(this._options,{headers:e||{}})})};e.prototype.accept=function(e){return this.headers({Accept:e})};e.prototype.content=function(e){var t;return this.headers((t={},t[ee]=e,t))};e.prototype.auth=function(e){return this.headers({Authorization:e})};e.prototype.catcher=function(e,t){var n=new Map(this._catchers);n.set(e,t);return this.selfFactory({catchers:n})};e.prototype.signal=function(e){return this.selfFactory({options:H(H({},this._options),{signal:e.signal})})};e.prototype.resolve=function(e,t){if(t===void 0){t=false}return this.selfFactory({resolvers:t?[e]:$(this._resolvers,[e])})};e.prototype.defer=function(e,t){if(t===void 0){t=false}return this.selfFactory({deferredChain:t?[e]:$(this._deferredChain,[e])})};e.prototype.middlewares=function(e,t){if(t===void 0){t=false}return this.selfFactory({middlewares:t?e:$(this._middlewares,e)})};e.prototype.method=function(e,t,n){if(t===void 0){t={}}if(n===void 0){n=null}var r=this._options.headers;var i=!n?this:typeof n==="object"&&(!r||Object.entries(r).every((function(e){var t=e[0],n=e[1];return t.toLowerCase()!==ee.toLowerCase()||n.startsWith(Z)})))?this.json(n):this.body(n);i=i.options(H(H({},t),{method:e}));var o=i._deferredChain.reduce((function(e,t){return t(e,e._url,e._options)}),i);return G(o)};e.prototype.get=function(e){return this.method("GET",e)};e.prototype.delete=function(e){return this.method("DELETE",e)};e.prototype.put=function(e,t){return this.method("PUT",t,e)};e.prototype.post=function(e,t){return this.method("POST",t,e)};e.prototype.patch=function(e,t){return this.method("PATCH",t,e)};e.prototype.head=function(e){return this.method("HEAD",e)};e.prototype.opts=function(e){return this.method("OPTIONS",e)};e.prototype.replay=function(e){return this.method(this._options.method,e)};e.prototype.body=function(e){return this.selfFactory({options:H(H({},this._options),{body:e})})};e.prototype.json=function(e){var t;var n=(t=Object.entries(this._options.headers||{}).find((function(e){var t=e[0],n=e[1];return t.toLowerCase()===ee.toLowerCase()&&n.startsWith(Z)})))===null||t===void 0?void 0:t[1];return this.content(n||Z).body(JSON.stringify(e))};e.prototype.formData=function(e,t){if(t===void 0){t=false}return this.body(re(e,t))};e.prototype.formUrl=function(e){return this.body(typeof e==="string"?e:oe(e)).content("application/x-www-form-urlencoded")};return e}();var ne=function(e,t,n){var r;if(typeof t==="string"){r=t}else{var i=z.polyfill("URLSearchParams",{instance:true});for(var o in t){if(t[o]instanceof Array){for(var u=0,a=t[o];u<a.length;u++){var s=a[u];i.append(o,s)}}else{i.append(o,t[o])}}r=i.toString()}var c=e.split("?");if(n||c.length<2)return c[0]+"?"+r;return e+"&"+r};function re(e,t,n,r){if(t===void 0){t=false}if(n===void 0){n=z.polyfill("FormData",{instance:true})}if(r===void 0){r=[]}Object.entries(e).forEach((function(e){var i=e[0],o=e[1];var u=r.reduce((function(e,t){return e?e+"["+t+"]":t}),null);u=u?u+"["+i+"]":i;if(o instanceof Array){for(var a=0,s=o;a<s.length;a++){var c=s[a];n.append(u+"[]",c)}}else if(t&&typeof o==="object"&&(!(t instanceof Array)||!t.includes(i))){if(o!==null){re(o,t,n,$(r,[i]))}}else{n.append(u,o)}}));return n}function ie(e,t){return encodeURIComponent(e)+"="+encodeURIComponent(typeof t==="object"?JSON.stringify(t):""+t)}function oe(e){return Object.keys(e).map((function(t){var n=e[t];if(n instanceof Array){return n.map((function(e){return ie(t,e)})).join("&")}return ie(t,n)})).join("&")}var ue=e("u",te.factory);ue["default"]=te.factory;function ae(){var e=Se.jwt;var t=Se.profileId;var n=Se.accountIdOrDefault;var r=Se.partnerIdOrDefault;return ue(Se.apiBaseUrl).headers({Authorization:"Bearer "+e,"X-PROFILE-ID":t,"X-PARTNER-ID":r,"X-ACCOUNT-ID":n})}var se=e("o",{fundId:"slate",usi:"32367272075001"});function ce(e){if("slate"in e){e.kind="slate"}else if("australianRetirementTrust"in e){e.kind="australianRetirementTrust"}else if("aware"in e){e.kind="aware"}else if("active"in e){e.kind="active"}else if("australianEthical"in e){e.kind="australianEthical"}else if("virgin"in e){e.kind="virgin"}else if("spirit"in e){e.kind="spirit"}else if("firstSuper"in e){e.kind="firstSuper"}else if("mercerMyChoice"in e){e.kind="mercerMyChoice"}else if("generic"in e){e.kind="generic"}}function fe(e){switch(e.kind){case"slate":return se.usi;case"australianRetirementTrust":return e.australianRetirementTrust.usi;case"aware":return e.aware.usi;case"active":return e.active.usi;case"australianEthical":return e.australianEthical.usi;case"virgin":return e.virgin.usi;case"spirit":return e.spirit.usi;case"firstSuper":return e.firstSuper.usi;case"mercerMyChoice":return e.mercerMyChoice.usi;case"generic":return e.generic.usi;default:return""}}function le(e){switch(e.kind){case"slate":return se.fundId;case"australianRetirementTrust":return"australian-retirement-trust";case"aware":return"aware";case"active":return"active";case"australianEthical":return"australian-ethical";case"virgin":return"virgin";case"spirit":return"spirit";case"firstSuper":return"first-super";case"mercerMyChoice":return"mercermychoice";case"generic":return e.generic.fundId;default:return""}}function pe(e){switch(e.kind){case"Promoted":return s(fe(e.promoted));case"MyOwnFund":return s(e.myOwnFund.usi);case"SMSF":return a;case"Default":return s(e.default.usi);case"PromotedDefault":return s(e.promotedDefault.usi);case"DefinedBenefits":return s(e.definedBenefits.usi);case"PromotedDefaultWithJoin":return s(e.promotedDefaultWithJoin.usi);default:return a}}function de(e){switch(e.kind){case"slate":return e.slate.memberNumber;case"australianRetirementTrust":return e.australianRetirementTrust.memberNumber;case"aware":return e.aware.memberNumber;case"active":return e.active.memberNumber;case"australianEthical":return e.australianEthical.memberNumber;case"virgin":return e.virgin.memberNumber;case"spirit":return e.spirit.memberNumber;case"firstSuper":return e.firstSuper.memberNumber;case"mercerMyChoice":return e.mercerMyChoice.memberNumber;case"generic":return e.generic.memberNumber;default:return""}}function he(e){switch(e.kind){case"Promoted":return s(de(e.promoted));case"MyOwnFund":return s(e.myOwnFund.memberNumber);case"DefinedBenefits":return s(e.definedBenefits.memberNumber);case"PromotedDefaultWithJoin":return s(e.promotedDefaultWithJoin.memberNumber);case"SMSF":case"Default":case"PromotedDefault":return a;default:return a}}function ve(e){if("promoted"in e){e.kind="Promoted"}else if("myOwnFund"in e){e.kind="MyOwnFund"}else if("smsf"in e){e.kind="SMSF"}else if("default"in e){e.kind="Default"}else if("promotedDefault"in e){e.kind="PromotedDefault"}else if("definedBenefits"in e){e.kind="DefinedBenefits"}else if("promotedDefaultWithJoin"in e){e.kind="PromotedDefaultWithJoin"}}var me=function(){function e(){}e.prototype.getAustralianFundsAsync=function(e,t){if(t===void 0){t=false}return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(n){return[2,ae().url("super-choice/australian-funds-v2?"+this.toQueryString(t,e)).get().notFound((function(){throw new Error("Failed to fetch the list of australian super funds.")})).json()]}))}))};e.prototype.getAustralianFundAsync=function(e,t){return __awaiter(this,void 0,void 0,(function(){var n;return __generator(this,(function(r){n=t?"?includeInactive=true":"";return[2,ae().url("super-choice/australian-funds/"+e+n).get().notFound((function(){throw new Error("Failed to fetch australian super fund.")})).json()]}))}))};e.prototype.getAppStateAsync=function(){return __awaiter(this,void 0,void 0,(function(){var e,t;return __generator(this,(function(n){switch(n.label){case 0:return[4,ae().url("client-app-state").get().notFound((function(){throw new Error("Failed to fetch application configuration.")})).json()];case 1:t=n.sent();if((e=t.superBuyer.superChoice)===null||e===void 0?void 0:e.choiceDetails){ve(t.superBuyer.superChoice.choiceDetails);switch(t.superBuyer.superChoice.choiceDetails.kind){case"Promoted":ce(t.superBuyer.superChoice.choiceDetails.promoted);break}}return[2,t]}}))}))};e.prototype.clickPromotedTileAsync=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,ae().url("click-promoted-tile").post(e).res()]}))}))};e.prototype.viewSuperFundPanelAsync=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,ae().url("view-super-fund-panel").post(e).res()]}))}))};e.prototype.toSearchFilterQueryString=function(e){return"search="+e.searchString+(e.maxRecordCount>0?"&maxRecordCount="+e.maxRecordCount:"")};e.prototype.toQueryString=function(e,t){var n=this.toSearchFilterQueryString(t);var r=e?"includeInactive=true":"";var i=function(e){return e&&e.length};return[n,r].filter(i).join("&")};return e}();var ge=e("d",new me);var ye;(function(e){e[e["NotLoaded"]=1]="NotLoaded";e[e["Loaded"]=2]="Loaded";e[e["NotWorking"]=3]="NotWorking"})(ye||(ye=e("p",{})));var be=function(){function e(){this._promotedFundsShown=[]}Object.defineProperty(e.prototype,"PromotedFundIds",{get:function(){return this._promotedFundsShown.map((function(e){return e.fundId}))},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"promotedFundsShown",{set:function(e){this._promotedFundsShown=e},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"DefaultFundPosition",{get:function(){var e=this._promotedFundsShown.findIndex((function(e){return e.fundType==="promoted-default"}));if(e===-1)return undefined;return e+1},enumerable:false,configurable:true});return e}();var we={apiBaseUrl:R.none,appBaseUrl:R.none,profileId:R.none,jwt:R.none,superBuyer:R.none,superChoicePrefill:R.none,promotedFunds:R.none,accountConfiguration:R.none,profileConfiguration:R.none,hasSuccessPageBeenAcknowledged:false,hasSuperSelectionBeenSubmitted:false,isDefinedBenefitsEligible:R.none,superCampaignEnabled:true,superCampaignState:undefined,superCampaignComponentStatus:ye.NotLoaded,hideFooterSection:false,bringYourOwnFundCustomStepEnabled:false,smsfCustomStepEnabled:false,featuredFundsEnabled:false};var _e=function(){function e(){var e=this;var t=A(we),n=t.state,r=t.onChange;this._state=n;this._onChange=r;r("jwt",(function(t){e._state.profileId=I.pipe(t,R.chain((function(e){return R.fromNullable(x(e).sub)})))}))}Object.defineProperty(e.prototype,"state",{get:function(){return this._state},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"onChange",{get:function(){return this._onChange},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"superBuyer",{get:function(){if(R.isNone(this._state.superBuyer)){throw Error("User information is not set")}return this._state.superBuyer.value},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"apiBaseUrl",{get:function(){if(R.isNone(this._state.apiBaseUrl)){throw Error("API base URL is not set")}return this._state.apiBaseUrl.value},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"appBaseUrl",{get:function(){if(R.isNone(this._state.appBaseUrl)){throw Error("App base URL is not set")}return this._state.appBaseUrl.value},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"promotedFunds",{get:function(){if(this.state.superCampaignEnabled&&this.superCampaignState!==undefined){return this.superCampaignState.PromotedFundIds}if(R.isNone(this._state.promotedFunds)){throw Error("Promoted Funds is not set")}return this._state.promotedFunds.value},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"promotedDefaultFundPosition",{get:function(){if(this.state.superCampaignEnabled&&this.superCampaignState!==undefined){return R.fromNullable(this.superCampaignState.DefaultFundPosition)}return R.none},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"promotedFundsConfig",{get:function(){return{shownFunds:this.promotedFunds,promotedDefaultFundPosition:R.toUndefined(this.promotedDefaultFundPosition),promotedFundsConfigSource:this.isUsingSuperCampaign?"superCampaign":"superSelection"}},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"profileId",{get:function(){if(R.isNone(this._state.profileId)){throw Error("Failed to get Profile ID from JWT")}return this._state.profileId.value},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"defaultFundUsi",{get:function(){var e=I.pipe(this._state.profileConfiguration,R.map((function(e){return R.fromNullable(e.defaultFundUsi)})),R.flatten);if(R.isSome(e)){return e}return I.pipe(this._state.accountConfiguration,R.map((function(e){return R.fromNullable(e.defaultFundUsi)})),R.flatten)},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"accountIdOrDefault",{get:function(){return I.pipe(this._state.accountConfiguration,R.map((function(e){return e.accountId})),R.getOrElse((function(){return""})))},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"partnerIdOrDefault",{get:function(){return I.pipe(this._state.superBuyer,R.map((function(e){return e.partnerId})),R.getOrElse((function(){return""})))},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"jwt",{get:function(){if(R.isNone(this._state.jwt)){throw Error("No authentication information was found")}return this._state.jwt.value},enumerable:false,configurable:true});e.prototype.completeSuperSelectionFlow=function(){this._state.hasSuccessPageBeenAcknowledged=true};e.prototype.markSuperSelectionAsSubmitted=function(){this._state.hasSuperSelectionBeenSubmitted=true};Object.defineProperty(e.prototype,"isDefinedBenefitsEligible",{get:function(){return this._state.isDefinedBenefitsEligible},enumerable:false,configurable:true});e.prototype.loadAppStateAsync=function(){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(t){switch(t.label){case 0:return[4,ge.getAppStateAsync()];case 1:e=t.sent();this._state.accountConfiguration=R.fromNullable(e.accountConfiguration);this._state.profileConfiguration=R.fromNullable(e.profileConfiguration);this._state.superBuyer=R.fromNullable(e.superBuyer);this._state.promotedFunds=R.fromNullable(e.promotedFunds);this._state.bringYourOwnFundCustomStepEnabled=e.bringYourOwnFundCustomStepEnabled;this._state.smsfCustomStepEnabled=e.smsfCustomStepEnabled;this._state.featuredFundsEnabled=e.featuredFundsEnabled;this._state.superChoicePrefill=R.fromNullable(e.prefill);this._state.isDefinedBenefitsEligible=R.fromNullable(e.isDefinedBenefitsEligible);if(R.isSome(this._state.accountConfiguration)){if(this._state.accountConfiguration.value.featureSet.type==="basic"){this._state.superCampaignEnabled=false}}return[2]}}))}))};e.prototype.setSuperCampaignPromotedFundsShown=function(e){if(this._state.superCampaignState!==undefined)this._state.superCampaignState.promotedFundsShown=e;else throw new Error("Cannot set shown funds for SuperCampaing state because it is undefined")};e.prototype.viewSuperFundPanelAsync=function(e,t){return ge.viewSuperFundPanelAsync(Object.assign(Object.assign({},this.promotedFundsConfig),{shownFunds:t?t:this.promotedFundsConfig.shownFunds,placementId:e}))};Object.defineProperty(e.prototype,"superCampaignState",{get:function(){return this._state.superCampaignState},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"superCampaignComponentStatus",{get:function(){return this._state.superCampaignComponentStatus},set:function(e){if(e===ye.Loaded){this._state.superCampaignComponentStatus=ye.Loaded;this._state.superCampaignState=new be}else{this._state.superCampaignComponentStatus=e;this._state.superCampaignState=undefined}},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"isUsingSuperCampaign",{get:function(){return this.state.superCampaignEnabled&&this.superCampaignState!==undefined},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"isBringYourOwnFundCustomStepEnabled",{get:function(){return this.state.bringYourOwnFundCustomStepEnabled},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"isSmsfCustomStepEnabled",{get:function(){return this.state.smsfCustomStepEnabled},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"isFeaturedFundsEnabled",{get:function(){return this.state.featuredFundsEnabled},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"superCampaignCanNotBeActivated",{get:function(){return!this.state.superCampaignEnabled||this.superCampaignComponentStatus===ye.NotWorking},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"hideFooterSection",{get:function(){return this._state.hideFooterSection},set:function(e){this._state.hideFooterSection=e},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"backendUrl",{get:function(){return R.map(this.getBaseUrl)(this.state.apiBaseUrl)},enumerable:false,configurable:true});e.prototype.getBaseUrl=function(e){var t=new URL(e);return t.protocol+"//"+t.hostname+(t.port.length>0?":"+t.port:"")};return e}();var Se=e("a",new _e);var Fe=function(){function e(){}e.prototype.navigateInternally=function(e,t){var n=""+this.appBaseUrl+this.toRouteWithLeadingSlash(t);y.navigation(n);e.push(n)};e.prototype.navigateInternallyToStandardChoice=function(e){N.handleSubmitFn=e.handleSubmitFn;N.fundName=e.fundName;N.fundDetails=e.fundDetails;N.promotedFundId=e.promotedFundId;this.navigateInternally(e.history,O.StandardChoice)};e.prototype.toExternalUrl=function(e){var t=new URL(e);t.searchParams.append("_extnav","true");return t.href};Object.defineProperty(e.prototype,"appBaseUrl",{get:function(){var e=Se.appBaseUrl;return e.replace(/\/$/,"")},enumerable:false,configurable:true});e.prototype.toRouteWithLeadingSlash=function(e){return e.length>0&&e[0]==="/"?e:"/"+e};return e}();var Ce=e("b",new Fe);var Ee;(function(e){e["MyOwnFund"]="Existing super fund";e["DefaultFund"]="Default super fund";e["SelfManagedFund"]="Self-managed super fund";e["FeaturedFunds"]="Featured super funds"})(Ee||(Ee=e("C",{})));var Ae={myOwnFundForm:{fundUsi:a,fundName:a,memberNumber:a,memberFirstName:a,memberFamilyName:a},selfManagedFundForm:{fundName:"",fundAbn:"",fundEsa:"",addressLine1:"",addressLine2:"",state:"",postcode:"",city:"",bankAccountName:"",bsb:"",bankAccountNumber:"",memberFirstName:"",memberFamilyName:""}};var Pe=A(Ae),Ne=Pe.state,Oe=Pe.reset;e("l",Ne);var ke=function(){function e(){}Object.defineProperty(e,"Instance",{get:function(){return this.instance||(this.instance=new this)},enumerable:false,configurable:true});e.prototype.PostAnalyticsEventAsync=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,ae().url("analytics-events").post(e).res()]}))}))};return e}();var De=function(){function e(){this.eventTrackingApi=ke.Instance}Object.defineProperty(e,"Instance",{get:function(){return this.instance||(this.instance=new this)},enumerable:false,configurable:true});e.prototype.TrackSuperFundPdsViewedAsync=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.trackEventAsync({SuperFundPdsViewed:e})]}))}))};e.prototype.TrackPromotedSuperFundDetailViewedAsync=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.trackEventAsync({SuperFundDetailViewed:{PromotedFund:e}})]}))}))};e.prototype.TrackPromotedDefaultSuperFundDetailViewedAsync=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.trackEventAsync({SuperFundDetailViewed:{PromotedDefaultFund:e}})]}))}))};e.prototype.TrackMyOwnSuperFundDetailViewedAsync=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.trackEventAsync({SuperFundDetailViewed:{MyOwnFund:e}})]}))}))};e.prototype.TrackSmsfSuperFundDetailViewedAsync=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.trackEventAsync({SuperFundDetailViewed:{Smsf:e}})]}))}))};e.prototype.TrackDefaultSuperFundDetailViewedAsync=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.trackEventAsync({SuperFundDetailViewed:{DefaultFund:e}})]}))}))};e.prototype.TrackSuperFundNominationViewedAsync=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.trackEventAsync({SuperFundNominationViewed:e})]}))}))};e.prototype.TrackSuperFundNominationDeclinedAsync=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.trackEventAsync({SuperFundNominationDeclined:e})]}))}))};e.prototype.TrackSuperFundDisclaimerViewedAsync=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.trackEventAsync({SuperFundDisclaimerViewed:e})]}))}))};e.prototype.TrackSuperFundDisclaimerAcceptedAsync=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.trackEventAsync({SuperFundDisclaimerAccepted:e})]}))}))};e.prototype.TrackSuperFundPrefillViewedAsync=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.trackEventAsync({SuperFundPrefillViewed:e})]}))}))};e.prototype.TrackSuperFundPrefillDeclinedAsync=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.trackEventAsync({SuperFundPrefillDeclined:e})]}))}))};e.prototype.TrackSuperFundDetailChangeRequestedAsync=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.trackEventAsync({SuperFundDetailChangeRequested:e})]}))}))};e.prototype.TrackSuperCampaignActivationSucceededAsync=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.trackEventAsync({SuperCampaignActivationSucceeded:e})]}))}))};e.prototype.TrackSuperMyOwnFundEngagementStepActivationSucceeded=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.trackEventAsync({SuperMyOwnFundEngagementStepActivationSucceeded:{fundUsi:e}})]}))}))};e.prototype.TrackSuperMyOwnFundEngagementStepContinued=function(e,t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(n){return[2,this.trackEventAsync({SuperMyOwnFundEngagementStepContinued:{fundUsi:e,reason:t}})]}))}))};e.prototype.TrackSuperSmsfEngagementStepActivationSucceeded=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){return[2,this.trackEventAsync({SuperSmsfEngagementStepActivationSucceeded:{}})]}))}))};e.prototype.TrackSuperSmsfEngagementStepContinued=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.trackEventAsync({SuperSmsfEngagementStepContinued:{reason:e}})]}))}))};e.prototype.trackEventAsync=function(e){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(n){switch(n.label){case 0:n.trys.push([0,2,,3]);return[4,this.eventTrackingApi.PostAnalyticsEventAsync({event:e})];case 1:n.sent();return[3,3];case 2:t=n.sent();return[2];case 3:return[2]}}))}))};return e}();e("E",De);var Me=function(){function e(){}e.prototype.submitDefaultFundChoiceAsync=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,ae().url("super-choice/default").post(e).badRequest((function(){throw new Error("Failed to process default fund join request")})).text()]}))}))};e.prototype.submitCustomFundChoiceAsync=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,ae().url("super-choice/custom-fund").post(e).badRequest((function(){throw new Error("Failed to process custom fund join request")})).text()]}))}))};e.prototype.submitSelfManagedFundChoiceAsync=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,ae().url("super-choice/smsf").post(e).badRequest((function(){throw new Error("Failed to process SMSF choice request")})).text()]}))}))};e.prototype.submitDefinedBenefitsChoiceAsync=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,ae().url("super-choice/defined-benefits").post(e).badRequest((function(){throw new Error("Failed to process Defined Benefits choice request")})).text()]}))}))};e.prototype.validateAbnForSMSF=function(e){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(n){switch(n.label){case 0:return[4,ae().url("super-choice/smsf/"+e+"/validate").get().badRequest((function(){throw new Error("Failed to verify that if the provided abn is used for regulated fund")})).json()];case 1:t=n.sent();return[2,t.result]}}))}))};return e}();var Ie=e("e",new Me)}}}));
@@ -0,0 +1 @@
1
+ let e,t,n,l,o=!1,s=!1,i=!1,r=!1,c=null,a=!1;const f="undefined"!=typeof window?window:{},u=f.document||{head:{}},d={t:0,l:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,l)=>e.addEventListener(t,n,l),rel:(e,t,n,l)=>e.removeEventListener(t,n,l),ce:(e,t)=>new CustomEvent(e,t)},$=e=>Promise.resolve(e),p=(()=>{try{return new CSSStyleSheet,!0}catch(e){}return!1})(),h={},m=(e,t,n)=>{n&&n.map((([n,l,o])=>{const s=e,i=w(t,o),r=y(n);d.ael(s,l,i,r),(t.o=t.o||[]).push((()=>d.rel(s,l,i,r)))}))},w=(e,t)=>n=>{try{256&e.t?e.i[t](n):(e.u=e.u||[]).push([t,n])}catch(e){be(e)}},y=e=>0!=(2&e),b="http://www.w3.org/1999/xlink",g=new WeakMap,v=e=>"sc-"+e.$,k={},j=e=>"object"==(e=typeof e)||"function"===e,O=(e,t,...n)=>{let l=null,o=null,s=null,i=!1,r=!1,c=[];const a=t=>{for(let n=0;n<t.length;n++)l=t[n],Array.isArray(l)?a(l):null!=l&&"boolean"!=typeof l&&((i="function"!=typeof e&&!j(l))&&(l+=""),i&&r?c[c.length-1].p+=l:c.push(i?S(null,l):l),r=i)};if(a(n),t){t.key&&(o=t.key),t.name&&(s=t.name);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}if("function"==typeof e)return e(null===t?{}:t,c,M);const f=S(e,null);return f.h=t,c.length>0&&(f.m=c),f.g=o,f.v=s,f},S=(e,t)=>({t:0,k:e,p:t,j:null,m:null,h:null,g:null,v:null}),C={},M={forEach:(e,t)=>e.map(x).forEach(t),map:(e,t)=>e.map(x).map(t).map(P)},x=e=>({vattrs:e.h,vchildren:e.m,vkey:e.g,vname:e.v,vtag:e.k,vtext:e.p}),P=e=>{if("function"==typeof e.vtag){const t=Object.assign({},e.vattrs);return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),O(e.vtag,t,...e.vchildren||[])}const t=S(e.vtag,e.vtext);return t.h=e.vattrs,t.m=e.vchildren,t.g=e.vkey,t.v=e.vname,t},R=(e,t,n,l,o,s)=>{if(n!==l){let i=ye(e,t),r=t.toLowerCase();if("class"===t){const t=e.classList,o=L(n),s=L(l);t.remove(...o.filter((e=>e&&!s.includes(e)))),t.add(...s.filter((e=>e&&!o.includes(e))))}else if("style"===t){for(const t in n)l&&null!=l[t]||(t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(const t in l)n&&l[t]===n[t]||(t.includes("-")?e.style.setProperty(t,l[t]):e.style[t]=l[t])}else if("key"===t);else if("ref"===t)l&&l(e);else if(i||"o"!==t[0]||"n"!==t[1]){const c=j(l);if((i||c&&null!==l)&&!o)try{if(e.tagName.includes("-"))e[t]=l;else{let o=null==l?"":l;"list"===t?i=!1:null!=n&&e[t]==o||(e[t]=o)}}catch(e){}let a=!1;r!==(r=r.replace(/^xlink\:?/,""))&&(t=r,a=!0),null==l||!1===l?!1===l&&""!==e.getAttribute(t)||(a?e.removeAttributeNS(b,t):e.removeAttribute(t)):(!i||4&s||o)&&!c&&(l=!0===l?"":l,a?e.setAttributeNS(b,t,l):e.setAttribute(t,l))}else t="-"===t[2]?t.slice(3):ye(f,r)?r.slice(2):r[2]+t.slice(3),n&&d.rel(e,t,n,!1),l&&d.ael(e,t,l,!1)}},U=/\s/,L=e=>e?e.split(U):[],T=(e,t,n,l)=>{const o=11===t.j.nodeType&&t.j.host?t.j.host:t.j,s=e&&e.h||k,i=t.h||k;for(l in s)l in i||R(o,l,s[l],void 0,n,t.t);for(l in i)R(o,l,s[l],i[l],n,t.t)},E=(l,s,c,a)=>{let f,d,$,p=s.m[c],h=0;if(o||(i=!0,"slot"===p.k&&(e&&a.classList.add(e+"-s"),p.t|=p.m?2:1)),null!==p.p)f=p.j=u.createTextNode(p.p);else if(1&p.t)f=p.j=u.createTextNode("");else{if(r||(r="svg"===p.k),f=p.j=u.createElementNS(r?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",2&p.t?"slot-fb":p.k),r&&"foreignObject"===p.k&&(r=!1),T(null,p,r),null!=e&&f["s-si"]!==e&&f.classList.add(f["s-si"]=e),p.m)for(h=0;h<p.m.length;++h)d=E(l,p,h,f),d&&f.appendChild(d);"svg"===p.k?r=!1:"foreignObject"===f.tagName&&(r=!0)}return f["s-hn"]=n,3&p.t&&(f["s-sr"]=!0,f["s-cr"]=t,f["s-sn"]=p.v||"",$=l&&l.m&&l.m[c],$&&$.k===p.k&&l.j&&D(l.j,!1)),f},D=(e,t)=>{d.t|=1;const l=e.childNodes;for(let e=l.length-1;e>=0;e--){const o=l[e];o["s-hn"]!==n&&o["s-ol"]&&(H(o).insertBefore(o,A(o)),o["s-ol"].remove(),o["s-ol"]=void 0,i=!0),t&&D(o,t)}d.t&=-2},F=(e,t,l,o,s,i)=>{let r,c=e["s-cr"]&&e["s-cr"].parentNode||e;for(c.shadowRoot&&c.tagName===n&&(c=c.shadowRoot);s<=i;++s)o[s]&&(r=E(null,l,s,e),r&&(o[s].j=r,c.insertBefore(r,A(t))))},W=(e,t,n,l,o)=>{for(;t<=n;++t)(l=e[t])&&(o=l.j,G(l),s=!0,o["s-ol"]?o["s-ol"].remove():D(o,!0),o.remove())},q=(e,t)=>e.k===t.k&&("slot"===e.k?e.v===t.v:e.g===t.g),A=e=>e&&e["s-ol"]||e,H=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,N=(e,t)=>{const n=t.j=e.j,l=e.m,o=t.m,s=t.k,i=t.p;let c;null===i?(r="svg"===s||"foreignObject"!==s&&r,"slot"===s||T(e,t,r),null!==l&&null!==o?((e,t,n,l)=>{let o,s,i=0,r=0,c=0,a=0,f=t.length-1,u=t[0],d=t[f],$=l.length-1,p=l[0],h=l[$];for(;i<=f&&r<=$;)if(null==u)u=t[++i];else if(null==d)d=t[--f];else if(null==p)p=l[++r];else if(null==h)h=l[--$];else if(q(u,p))N(u,p),u=t[++i],p=l[++r];else if(q(d,h))N(d,h),d=t[--f],h=l[--$];else if(q(u,h))"slot"!==u.k&&"slot"!==h.k||D(u.j.parentNode,!1),N(u,h),e.insertBefore(u.j,d.j.nextSibling),u=t[++i],h=l[--$];else if(q(d,p))"slot"!==u.k&&"slot"!==h.k||D(d.j.parentNode,!1),N(d,p),e.insertBefore(d.j,u.j),d=t[--f],p=l[++r];else{for(c=-1,a=i;a<=f;++a)if(t[a]&&null!==t[a].g&&t[a].g===p.g){c=a;break}c>=0?(s=t[c],s.k!==p.k?o=E(t&&t[r],n,c,e):(N(s,p),t[c]=void 0,o=s.j),p=l[++r]):(o=E(t&&t[r],n,r,e),p=l[++r]),o&&H(u.j).insertBefore(o,A(u.j))}i>f?F(e,null==l[$+1]?null:l[$+1].j,n,l,r,$):r>$&&W(t,i,f)})(n,l,t,o):null!==o?(null!==e.p&&(n.textContent=""),F(n,null,t,o,0,o.length-1)):null!==l&&W(l,0,l.length-1),r&&"svg"===s&&(r=!1)):(c=n["s-cr"])?c.parentNode.textContent=i:e.p!==i&&(n.data=i)},V=e=>{let t,n,l,o,s,i,r=e.childNodes;for(n=0,l=r.length;n<l;n++)if(t=r[n],1===t.nodeType){if(t["s-sr"])for(s=t["s-sn"],t.hidden=!1,o=0;o<l;o++)if(r[o]["s-hn"]!==t["s-hn"])if(i=r[o].nodeType,""!==s){if(1===i&&s===r[o].getAttribute("slot")){t.hidden=!0;break}}else if(1===i||3===i&&""!==r[o].textContent.trim()){t.hidden=!0;break}V(t)}},_=[],z=e=>{let t,n,l,o,i,r,c=0,a=e.childNodes,f=a.length;for(;c<f;c++){if(t=a[c],t["s-sr"]&&(n=t["s-cr"]))for(l=n.parentNode.childNodes,o=t["s-sn"],r=l.length-1;r>=0;r--)n=l[r],n["s-cn"]||n["s-nr"]||n["s-hn"]===t["s-hn"]||(B(n,o)?(i=_.find((e=>e.O===n)),s=!0,n["s-sn"]=n["s-sn"]||o,i?i.S=t:_.push({S:t,O:n}),n["s-sr"]&&_.map((e=>{B(e.O,n["s-sn"])&&(i=_.find((e=>e.O===n)),i&&!e.S&&(e.S=i.S))}))):_.some((e=>e.O===n))||_.push({O:n}));1===t.nodeType&&z(t)}},B=(e,t)=>1===e.nodeType?null===e.getAttribute("slot")&&""===t||e.getAttribute("slot")===t:e["s-sn"]===t||""===t,G=e=>{e.h&&e.h.ref&&e.h.ref(null),e.m&&e.m.map(G)},I=e=>he(e).C,J=(e,t,n)=>{const l=I(e);return{emit:e=>K(l,t,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:e})}},K=(e,t,n)=>{const l=d.ce(t,n);return e.dispatchEvent(l),l},Q=(e,t)=>{t&&!e.M&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.M=t)))},X=(e,t)=>{if(e.t|=16,!(4&e.t))return Q(e,e.P),Ue((()=>Y(e,t)));e.t|=512},Y=(e,t)=>{const n=e.i;let l;return t&&(e.t|=256,e.u&&(e.u.map((([e,t])=>se(n,e,t))),e.u=null),l=se(n,"componentWillLoad")),ie(l,(()=>Z(e,n,t)))},Z=async(l,r,c)=>{const a=l.C,f=a["s-rc"];c&&(e=>{const t=e.R,n=e.C,l=t.t,o=((e,t)=>{let n=v(t),l=je.get(n);if(e=11===e.nodeType?e:u,l)if("string"==typeof l){let t,o=g.get(e=e.head||e);o||g.set(e,o=new Set),o.has(n)||(t=u.createElement("style"),t.innerHTML=l,e.insertBefore(t,e.querySelector("link")),o&&o.add(n))}else e.adoptedStyleSheets.includes(l)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,l]);return n})(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&l&&(n["s-sc"]=o,n.classList.add(o+"-h"))})(l);((l,r)=>{const c=l.C,a=l.R,f=l.U||S(null,null),$=(e=>e&&e.k===C)(r)?r:O(null,null,r);if(n=c.tagName,a.L&&($.h=$.h||{},a.L.map((([e,t])=>$.h[t]=c[e]))),$.k=null,$.t|=4,l.U=$,$.j=f.j=c.shadowRoot||c,e=c["s-sc"],t=c["s-cr"],o=0!=(1&a.t),s=!1,N(f,$),d.t|=1,i){let e,t,n,l,o,s;z($.j);let i=0;for(;i<_.length;i++)e=_[i],t=e.O,t["s-ol"]||(n=u.createTextNode(""),n["s-nr"]=t,t.parentNode.insertBefore(t["s-ol"]=n,t));for(i=0;i<_.length;i++)if(e=_[i],t=e.O,e.S){for(l=e.S.parentNode,o=e.S.nextSibling,n=t["s-ol"];n=n.previousSibling;)if(s=n["s-nr"],s&&s["s-sn"]===t["s-sn"]&&l===s.parentNode&&(s=s.nextSibling,!s||!s["s-nr"])){o=s;break}(!o&&l!==t.parentNode||t.nextSibling!==o)&&t!==o&&(!t["s-hn"]&&t["s-ol"]&&(t["s-hn"]=t["s-ol"].parentNode.nodeName),l.insertBefore(t,o))}else 1===t.nodeType&&(t.hidden=!0)}s&&V($.j),d.t&=-2,_.length=0})(l,ee(l,r)),f&&(f.map((e=>e())),a["s-rc"]=void 0);{const e=a["s-p"],t=()=>ne(l);0===e.length?t():(Promise.all(e).then(t),l.t|=4,e.length=0)}},ee=(e,t)=>{try{c=t,t=t.render&&t.render(),e.t&=-17,e.t|=2}catch(t){be(t,e.C)}return c=null,t},te=()=>c,ne=e=>{const t=e.C,n=e.i,l=e.P;64&e.t?se(n,"componentDidUpdate"):(e.t|=64,re(t),se(n,"componentDidLoad"),e.T(t),l||oe()),e.M&&(e.M(),e.M=void 0),512&e.t&&Pe((()=>X(e,!1))),e.t&=-517},le=e=>{{const t=he(e),n=t.C.isConnected;return n&&2==(18&t.t)&&X(t,!1),n}},oe=()=>{re(u.documentElement),Pe((()=>K(f,"appload",{detail:{namespace:"apollo-super-selection"}})))},se=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(e){be(e)}},ie=(e,t)=>e&&e.then?e.then(t):t(),re=e=>e.classList.add("hydrated"),ce=(e,t,n)=>{if(t.D){e.watchers&&(t.F=e.watchers);const l=Object.entries(t.D),o=e.prototype;if(l.map((([e,[l]])=>{(31&l||2&n&&32&l)&&Object.defineProperty(o,e,{get(){return((e,t)=>he(this).W.get(t))(0,e)},set(n){((e,t,n,l)=>{const o=he(e),s=o.C,i=o.W.get(t),r=o.t,c=o.i;if(n=((e,t)=>null==e||j(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?parseFloat(e):1&t?e+"":e)(n,l.D[t][0]),!(8&r&&void 0!==i||n===i)&&(o.W.set(t,n),c)){if(l.F&&128&r){const e=l.F[t];e&&e.map((e=>{try{c[e](n,i,t)}catch(e){be(e,s)}}))}2==(18&r)&&X(o,!1)}})(this,e,n,t)},configurable:!0,enumerable:!0})})),1&n){const n=new Map;o.attributeChangedCallback=function(e,t,l){d.jmp((()=>{const t=n.get(e);this[t]=(null!==l||"boolean"!=typeof this[t])&&l}))},e.observedAttributes=l.filter((([e,t])=>15&t[0])).map((([e,l])=>{const o=l[1]||e;return n.set(o,e),512&l[0]&&t.L.push([e,o]),o}))}}return e},ae=e=>{se(e,"connectedCallback")},fe=(e,t={})=>{const n=[],l=t.exclude||[],o=f.customElements,s=u.head,i=s.querySelector("meta[charset]"),r=u.createElement("style"),c=[];let a,$=!0;Object.assign(d,t),d.l=new URL(t.resourcesUrl||"./",u.baseURI).href,e.map((e=>e[1].map((t=>{const s={t:t[0],$:t[1],D:t[2],q:t[3]};s.D=t[2],s.q=t[3],s.L=[],s.F={};const i=s.$,r=class extends HTMLElement{constructor(e){super(e),we(e=this,s),1&s.t&&e.attachShadow({mode:"open"})}connectedCallback(){a&&(clearTimeout(a),a=null),$?c.push(this):d.jmp((()=>(e=>{if(0==(1&d.t)){const t=he(e),n=t.R,l=()=>{};if(1&t.t)m(e,t,n.q),ae(t.i);else{t.t|=1,12&n.t&&(e=>{const t=e["s-cr"]=u.createComment("");t["s-cn"]=!0,e.insertBefore(t,e.firstChild)})(e);{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){Q(t,t.P=n);break}}n.D&&Object.entries(n.D).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),(async(e,t,n,l,o)=>{if(0==(32&t.t)){{if(t.t|=32,(o=ke(n)).then){const e=()=>{};o=await o,e()}o.isProxied||(n.F=o.watchers,ce(o,n,2),o.isProxied=!0);const e=()=>{};t.t|=8;try{new o(t)}catch(e){be(e)}t.t&=-9,t.t|=128,e(),ae(t.i)}if(o.style){let e=o.style;const t=v(n);if(!je.has(t)){const l=()=>{};((e,t,n)=>{let l=je.get(e);p&&n?(l=l||new CSSStyleSheet,l.replace(t)):l=t,je.set(e,l)})(t,e,!!(1&n.t)),l()}}}const s=t.P,i=()=>X(t,!0);s&&s["s-rc"]?s["s-rc"].push(i):i()})(0,t,n)}l()}})(this)))}disconnectedCallback(){d.jmp((()=>(()=>{if(0==(1&d.t)){const e=he(this),t=e.i;e.o&&(e.o.map((e=>e())),e.o=void 0),se(t,"disconnectedCallback"),se(t,"componentDidUnload")}})()))}componentOnReady(){return he(this).A}};s.H=e[0],l.includes(i)||o.get(i)||(n.push(i),o.define(i,ce(r,s,1)))})))),r.innerHTML=n+"{visibility:hidden}.hydrated{visibility:inherit}",r.setAttribute("data-styles",""),s.insertBefore(r,i?i.nextSibling:s.firstChild),$=!1,c.length?c.map((e=>e.connectedCallback())):d.jmp((()=>a=setTimeout(oe,30)))},ue=e=>{const t=new URL(e,d.l);return t.origin!==f.location.origin?t.href:t.pathname},de=(e,t)=>t in h?h[t]:"window"===t?f:"document"===t?u:"isServer"!==t&&"isPrerender"!==t&&("isClient"===t||("resourcesUrl"===t||"publicPath"===t?ue("."):"queue"===t?{write:Ue,read:Re,tick:{then:e=>Pe(e)}}:void 0)),$e=(e,t)=>t,pe=new WeakMap,he=e=>pe.get(e),me=(e,t)=>pe.set(t.i=e,t),we=(e,t)=>{const n={t:0,C:e,R:t,W:new Map};return n.A=new Promise((e=>n.T=e)),e["s-p"]=[],e["s-rc"]=[],m(e,n,t.q),pe.set(e,n)},ye=(e,t)=>t in e,be=(e,t)=>(l||console.error)(e,t),ge=e=>l=e,ve=new Map,ke=e=>{const t=e.$.replace(/-/g,"_"),n=e.H,l=ve.get(n);return l?l[t]:import(`./${n}.entry.js`).then((e=>(ve.set(n,e),e[t])),be)},je=new Map,Oe=[],Se=[],Ce=(e,t)=>n=>{e.push(n),a||(a=!0,t&&4&d.t?Pe(xe):d.raf(xe))},Me=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){be(e)}e.length=0},xe=()=>{Me(Oe),Me(Se),(a=Oe.length>0)&&d.raf(xe)},Pe=e=>$().then(e),Re=Ce(Oe,!1),Ue=Ce(Se,!0);export{$e as F,C as H,I as a,fe as b,J as c,de as d,te as e,le as f,ue as g,O as h,$ as p,me as r,ge as s}
@@ -0,0 +1 @@
1
+ System.register(["./p-71ca4cf8.system.js","./p-97188c78.system.js"],(function(e){"use strict";var t,n,s;return{setters:[function(e){t=e.r;n=e.a},function(e){s=e.A}],execute:function(){var i=e("stencil_router_prompt",function(){function e(e){t(this,e);this.when=true;this.message=""}e.prototype.enable=function(e){if(this.unblock){this.unblock()}if(this.history){this.unblock=this.history.block(e)}};e.prototype.disable=function(){if(this.unblock){this.unblock();this.unblock=undefined}};e.prototype.componentWillLoad=function(){if(this.when){this.enable(this.message)}};e.prototype.updateMessage=function(e,t){if(this.when){if(!this.when||t!==e){this.enable(this.message)}}else{this.disable()}};e.prototype.componentDidUnload=function(){this.disable()};e.prototype.render=function(){return null};Object.defineProperty(e.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{message:["updateMessage"],when:["updateMessage"]}},enumerable:false,configurable:true});return e}());s.injectProps(i,["history"])}}}));
@@ -0,0 +1 @@
1
+ import{h as t}from"./p-db0bded8.js";const e=(()=>{let e=new Map,r={historyType:"browser",location:{pathname:"",query:{},key:""},titleSuffix:"",root:"/",routeViewsUpdated:()=>{}};const o=(t,e)=>{Array.isArray(t)?[...t].forEach((t=>{e[t]=r[t]})):e[t]=Object.assign({},r)},s=(t,r)=>(e.has(t)||(e.set(t,r),o(r,t)),()=>{e.has(t)&&e.delete(t)});return{Provider:({state:t},s)=>(r=t,e.forEach(o),s),Consumer:(e,r)=>((e,r)=>t("context-consumer",{subscribe:e,renderer:r}))(s,r[0]),injectProps:(t,r)=>{const o=t.prototype,n=o.connectedCallback,i=o.disconnectedCallback;o.connectedCallback=function(){if(s(this,r),n)return n.call(this)},o.disconnectedCallback=function(){e.delete(this),i&&i.call(this)}}}})();export{e as A}
@@ -0,0 +1,75 @@
1
+ 'use strict';
2
+
3
+ const index = require('./index-eb4f212f.js');
4
+
5
+ const createProviderConsumer = (defaultState, consumerRender) => {
6
+ let listeners = new Map();
7
+ let currentState = defaultState;
8
+ const updateListener = (fields, instance) => {
9
+ if (Array.isArray(fields)) {
10
+ [...fields].forEach(fieldName => {
11
+ instance[fieldName] = currentState[fieldName];
12
+ });
13
+ }
14
+ else {
15
+ instance[fields] = Object.assign({}, currentState);
16
+ }
17
+ };
18
+ const subscribe = (instance, propList) => {
19
+ if (!listeners.has(instance)) {
20
+ listeners.set(instance, propList);
21
+ updateListener(propList, instance);
22
+ }
23
+ return () => {
24
+ if (listeners.has(instance)) {
25
+ listeners.delete(instance);
26
+ }
27
+ };
28
+ };
29
+ const Provider = ({ state }, children) => {
30
+ currentState = state;
31
+ listeners.forEach(updateListener);
32
+ return children;
33
+ };
34
+ const Consumer = (props, children) => {
35
+ // The casting on subscribe is to allow for crossover through the stencil compiler
36
+ // In the future we should allow for generics in components.
37
+ return consumerRender(subscribe, children[0]);
38
+ };
39
+ const injectProps = (Cstr, fieldList) => {
40
+ const CstrPrototype = Cstr.prototype;
41
+ const cstrConnectedCallback = CstrPrototype.connectedCallback;
42
+ const cstrDisconnectedCallback = CstrPrototype.disconnectedCallback;
43
+ CstrPrototype.connectedCallback = function () {
44
+ subscribe(this, fieldList);
45
+ if (cstrConnectedCallback) {
46
+ return cstrConnectedCallback.call(this);
47
+ }
48
+ };
49
+ CstrPrototype.disconnectedCallback = function () {
50
+ listeners.delete(this);
51
+ if (cstrDisconnectedCallback) {
52
+ cstrDisconnectedCallback.call(this);
53
+ }
54
+ };
55
+ };
56
+ return {
57
+ Provider,
58
+ Consumer,
59
+ injectProps
60
+ };
61
+ };
62
+
63
+ const ActiveRouter = createProviderConsumer({
64
+ historyType: 'browser',
65
+ location: {
66
+ pathname: '',
67
+ query: {},
68
+ key: ''
69
+ },
70
+ titleSuffix: '',
71
+ root: '/',
72
+ routeViewsUpdated: () => { }
73
+ }, (subscribe, child) => (index.h("context-consumer", { subscribe: subscribe, renderer: child })));
74
+
75
+ exports.ActiveRouter = ActiveRouter;
@@ -0,0 +1,22 @@
1
+ 'use strict';
2
+
3
+ const index = require('./index-eb4f212f.js');
4
+ require('./datorama-akita-6c9cb8fb.js');
5
+ const appGlobals = require('./app-globals-b1125d8c.js');
6
+
7
+ /*
8
+ Stencil Client Patch Browser v2.3.0 | MIT Licensed | https://stenciljs.com
9
+ */
10
+ const patchBrowser = () => {
11
+ const importMeta = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('apollo-super-selection.cjs.js', document.baseURI).href));
12
+ const opts = {};
13
+ if ( importMeta !== '') {
14
+ opts.resourcesUrl = new URL('.', importMeta).href;
15
+ }
16
+ return index.promiseResolve(opts);
17
+ };
18
+
19
+ patchBrowser().then(options => {
20
+ appGlobals.globalScripts();
21
+ return index.bootstrapLazy([["sss-super-byof-host.cjs",[[0,"sss-super-byof-host",{"history":[16],"backendUrl":[32],"accessToken":[32]}]]],["context-consumer.cjs",[[0,"context-consumer",{"context":[16],"renderer":[16],"subscribe":[16],"unsubscribe":[32]}]]],["stencil-async-content.cjs",[[0,"stencil-async-content",{"documentLocation":[1,"document-location"],"content":[32]}]]],["stencil-route-title.cjs",[[0,"stencil-route-title",{"titleSuffix":[1,"title-suffix"],"pageTitle":[1,"page-title"]}]]],["stencil-router-prompt.cjs",[[0,"stencil-router-prompt",{"when":[4],"message":[1],"history":[16],"unblock":[32]}]]],["stencil-router-redirect.cjs",[[0,"stencil-router-redirect",{"history":[16],"root":[1],"url":[1]}]]],["sss-button_32.cjs",[[0,"sss-prefill",{"history":[16],"prefill":[32]}],[1,"super-selection-app-host",{"sessionState":[32],"jwt":[32],"appConfiguration":[32],"ignoreExistingSelection":[32]}],[0,"sss-default-fund",{"history":[16],"defaultFundProductName":[32]}],[0,"sss-super-campaign-featured-funds",{"history":[16],"backendUrl":[32],"accessToken":[32],"currentView":[32]}],[0,"sss-super-smsf-host",{"history":[16],"backendUrl":[32],"accessToken":[32]}],[0,"sss-existing-choice-page",{"history":[16],"existingFund":[32]}],[0,"sss-standard-choice-form",{"history":[16],"standardChoiceFormSignature":[32],"formState":[32],"isSubmitDisabled":[32]}],[0,"sss-success"],[0,"sss-choice-router",{"history":[16]}],[0,"sss-my-own-fund-engagement-step-host",{"history":[16],"backendUrl":[32],"accessToken":[32],"fundUsi":[32],"fundName":[32],"memberNumber":[32],"memberFirstName":[32],"memberFamilyName":[32]}],[0,"sss-smsf-engagement-step-host",{"history":[16],"backendUrl":[32],"accessToken":[32],"fundName":[32],"fundAbn":[32],"fundEsa":[32],"fundAddress":[32],"bsb":[32],"bankAccountName":[32],"bankAccountNumber":[32],"memberFirstName":[32],"memberFamilyName":[32],"accountId":[32],"partnerId":[32]}],[0,"sss-super-campaign-host",{"history":[16],"scriptImported":[32],"backendUrl":[32],"accessToken":[32]}],[0,"sss-dropdown-async",{"testId":[1,"test-id"],"placeholder":[1],"searchFunction":[16],"value":[16],"required":[4],"requiredValidationMessage":[1,"required-validation-message"],"disabled":[4],"minSearchStringLength":[2,"min-search-string-length"],"showValidationErrors":[4,"show-validation-errors"],"searchState":[32],"inputValue":[32],"isDropdownVisible":[32],"filteredOptions":[32],"highlightedOptionIndex":[32],"selectedOption":[32]},[[2,"focus","handleFocus"],[2,"blur","handleBlur"],[2,"keydown","handleKeyDown"]]],[0,"sss-name-input",{"testId":[1,"test-id"],"value":[1],"name":[1],"readableName":[1,"readable-name"],"showValidationErrors":[4,"show-validation-errors"],"errorMessage":[32]}],[0,"sss-prefill-my-own-fund",{"history":[16],"prefill":[16],"mode":[32],"formState":[32],"isSubmitDisabled":[32],"fundUsi":[32],"fundName":[32],"memberNumber":[32],"memberGivenNames":[32],"memberLastName":[32]}],[0,"sss-prefill-smsf",{"history":[16],"prefill":[16],"mode":[32],"formState":[32],"isSubmitDisabled":[32],"fundName":[32],"fundAbn":[32],"fundEsa":[32],"fundAddressLine1":[32],"fundAddressLine2":[32],"fundAddressCity":[32],"fundAddressPostcode":[32],"fundAddressState":[32],"fundAddress":[32],"memberGivenNames":[32],"memberLastName":[32],"bankAccountName":[32],"bankName":[32],"bankAccountBsb":[32],"bankAccountNumber":[32]}],[0,"sss-prefill-invalid-my-own-fund",{"history":[16],"prefill":[16],"fundUsi":[32],"fundName":[32],"memberNumber":[32],"memberGivenNames":[32],"memberLastName":[32]}],[0,"sss-prefill-invalid-smsf",{"history":[16],"prefill":[16],"fundName":[32],"fundAbn":[32],"fundEsa":[32],"fundAddressLine1":[32],"fundAddressLine2":[32],"fundAddressCity":[32],"fundAddressPostcode":[32],"fundAddressState":[32],"fundAddress":[32],"memberGivenNames":[32],"memberLastName":[32],"bankAccountName":[32],"bankAccountBsb":[32],"bankAccountNumber":[32]}],[1,"super-selection-app",{"ignoreExistingSelection":[4,"ignore-existing-selection"],"accessToken":[1,"access-token"],"backendUrl":[1,"backend-url"],"appBaseUrl":[1,"app-base-url"],"history":[16],"location":[16],"isSelfHosted":[4,"is-self-hosted"],"isAppInitialised":[32]}],[0,"sss-loading-page"],[0,"sss-footer-section",{"textOverride":[1,"text-override"]}],[4,"stencil-route-switch",{"group":[513],"scrollTopOffset":[2,"scroll-top-offset"],"location":[16],"routeViewsUpdated":[16]}],[4,"stencil-router",{"root":[1],"historyType":[1,"history-type"],"titleSuffix":[1,"title-suffix"],"scrollTopOffset":[2,"scroll-top-offset"],"location":[32],"history":[32]}],[0,"sss-prefill-warning-box",{"notificationList":[16]}],[0,"sss-header-section"],[4,"sss-custom-fund",{"history":[16],"currentCustomFund":[32],"fundOptionsList":[32],"showFundOptionsSelection":[32]}],[0,"sss-prefill-display-field",{"field":[16]}],[0,"sss-prefill-error-box",{"withHeader":[4,"with-header"],"notificationList":[16]}],[4,"stencil-route-link",{"url":[1],"urlMatch":[1,"url-match"],"activeClass":[1,"active-class"],"exact":[4],"strict":[4],"custom":[1],"anchorClass":[1,"anchor-class"],"anchorRole":[1,"anchor-role"],"anchorTitle":[1,"anchor-title"],"anchorTabIndex":[1,"anchor-tab-index"],"anchorId":[1,"anchor-id"],"history":[16],"location":[16],"root":[1],"ariaHaspopup":[1,"aria-haspopup"],"ariaPosinset":[1,"aria-posinset"],"ariaSetsize":[2,"aria-setsize"],"ariaLabel":[1,"aria-label"],"match":[32]}],[4,"sss-button",{"testid":[1],"fillWidth":[4,"fill-width"],"fillWidthOnMobile":[4,"fill-width-on-mobile"],"disabled":[4],"variant":[1],"size":[1],"promiseFn":[16],"state":[32]}],[0,"sss-loading-indicator",{"theme":[1],"size":[2]}],[0,"stencil-route",{"group":[513],"componentUpdated":[16],"match":[1040],"url":[1],"component":[1],"componentProps":[16],"exact":[4],"routeRender":[16],"scrollTopOffset":[2,"scroll-top-offset"],"routeViewsUpdated":[16],"location":[16],"history":[16],"historyType":[1,"history-type"]}]]]], options);
22
+ });
@@ -0,0 +1,25 @@
1
+ 'use strict';
2
+
3
+ const datoramaAkita = require('./datorama-akita-6c9cb8fb.js');
4
+
5
+ // Interim workaround for stencil router accessing session storage.
6
+ // See https://github.com/ionic-team/stencil-router/pull/111/files.
7
+ // In incognito mode, window.sessionStorage read access is denied from a third party iframe.
8
+ // Stencil router checks for the presence of session storage, but does not handle a read access exception.
9
+ function stencilRouterWorkaround () {
10
+ if (window.location == window.parent.location) {
11
+ // Only apply this workaround when running in an embedded iframe.
12
+ return;
13
+ }
14
+ delete window.sessionStorage;
15
+ window.sessionStorage = {};
16
+ }
17
+
18
+ async function appGlobalScript () {
19
+ stencilRouterWorkaround();
20
+ datoramaAkita.enableAkitaProdMode();
21
+ }
22
+
23
+ const globalScripts = appGlobalScript;
24
+
25
+ exports.globalScripts = globalScripts;
@@ -0,0 +1,29 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-eb4f212f.js');
6
+
7
+ const ContextConsumer = class {
8
+ constructor(hostRef) {
9
+ index.registerInstance(this, hostRef);
10
+ this.context = {};
11
+ this.renderer = () => null;
12
+ }
13
+ connectedCallback() {
14
+ if (this.subscribe != null) {
15
+ this.unsubscribe = this.subscribe(this.el, 'context');
16
+ }
17
+ }
18
+ disconnectedCallback() {
19
+ if (this.unsubscribe != null) {
20
+ this.unsubscribe();
21
+ }
22
+ }
23
+ render() {
24
+ return this.renderer(Object.assign({}, this.context));
25
+ }
26
+ get el() { return index.getElement(this); }
27
+ };
28
+
29
+ exports.context_consumer = ContextConsumer;