@flarehr/apollo-super-selection 4.20.27915 → 4.22.28155

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 (28) hide show
  1. package/dist/lib/apollo-super-selection/apollo-super-selection.css +1 -1
  2. package/dist/lib/apollo-super-selection/apollo-super-selection.esm.js +1 -1
  3. package/dist/lib/apollo-super-selection/p-777b2ea4.entry.js +14 -0
  4. package/dist/lib/apollo-super-selection/p-9decf4f5.system.entry.js +69 -0
  5. package/dist/lib/apollo-super-selection/p-bdcfc026.system.js +1 -1
  6. package/dist/lib/cjs/sss-button_30.cjs.entry.js +75 -138
  7. package/dist/lib/collection/apollo-super-selection.css +1 -1
  8. package/dist/lib/collection/components/super-selection-app/existing-choice/existing-choice.js +6 -9
  9. package/dist/lib/collection/components/super-selection-app/footer-section/footer-section.js +1 -3
  10. package/dist/lib/collection/components/super-selection-app/funds/constants.js +38 -100
  11. package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/services/promoted-fund-join-v1-iframe-builder.js +3 -3
  12. package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/services/promoted-fund-join-v2-iframe-builder.js +3 -3
  13. package/dist/lib/collection/components/super-selection-app/header-section/header-section.js +2 -3
  14. package/dist/lib/collection/components/super-selection-app/services/existing-super-choice-info.service.js +7 -6
  15. package/dist/lib/collection/components/super-selection-app/standard-choice/standard-choice-form.js +12 -4
  16. package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-item/super-choice-item-bottom.js +4 -2
  17. package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-item/super-choice-item-top.js +1 -2
  18. package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-page.js +11 -18
  19. package/dist/lib/collection/components/super-selection-app/super-selection-app.js +1 -4
  20. package/dist/lib/esm/sss-button_30.entry.js +75 -138
  21. package/dist/lib/esm-es5/sss-button_30.entry.js +3 -3
  22. package/dist/lib/types/components/super-selection-app/funds/constants.d.ts +17 -8
  23. package/dist/lib/types/components/super-selection-app/standard-choice/standard-choice-form.d.ts +1 -0
  24. package/package.json +1 -1
  25. package/dist/lib/apollo-super-selection/p-13c8f513.system.entry.js +0 -69
  26. package/dist/lib/apollo-super-selection/p-178816b4.entry.js +0 -14
  27. package/dist/lib/collection/components/super-selection-app/services/feature-flag.service.js +0 -5
  28. package/dist/lib/types/components/super-selection-app/services/feature-flag.service.d.ts +0 -3
@@ -1 +1 @@
1
- System.register(["./p-44bec843.system.js","./p-14885f78.system.js","./p-15f0e5eb.system.js"],(function(s,e){"use strict";var t,o,i;return{setters:[function(s){t=s.p;o=s.b},function(){},function(s){i=s.g}],execute:function(){var s=function(){var s=e.meta.url;var o={};if(s!==""){o.resourcesUrl=new URL(".",s).href}return t(o)};s().then((function(s){i();return o([["p-6ac8791e.system",[[0,"context-consumer",{context:[16],renderer:[16],subscribe:[16],unsubscribe:[32]}]]],["p-02f24922.system",[[0,"stencil-async-content",{documentLocation:[1,"document-location"],content:[32]}]]],["p-ef3afa00.system",[[0,"stencil-route-title",{titleSuffix:[1,"title-suffix"],pageTitle:[1,"page-title"]}]]],["p-f29066b9.system",[[0,"stencil-router-prompt",{when:[4],message:[1],history:[16],unblock:[32]}]]],["p-51aefdb1.system",[[0,"stencil-router-redirect",{history:[16],root:[1],url:[1]}]]],["p-13c8f513.system",[[0,"sss-my-own-fund",{history:[16],formState:[32],isNotAllInformationProvidedMessageVisible:[32],isSubmitDisabled:[32]}],[0,"sss-self-managed-fund",{history:[16],formState:[32],isSubmitDisabled:[32]}],[0,"sss-super-choice-page",{history:[16],promotedFunds:[32]}],[1,"super-selection-app-host",{sessionState:[32],jwt:[32],appConfiguration:[32],ignoreExistingSelection:[32]}],[0,"sss-default-fund",{history:[16],defaultFundProductName:[32]}],[0,"sss-standard-choice-form",{history:[16],standardChoiceFormSignature:[32],formState:[32],isSubmitDisabled:[32]}],[0,"sss-consent-page",{history:[16]}],[0,"sss-existing-choice-page",{history:[16],existingFund:[32]}],[0,"sss-promoted-fund-join-v1-page",{history:[16]}],[0,"sss-promoted-fund-join-v2-page",{history:[16]}],[0,"sss-slate-join-page",{history:[16]}],[0,"sss-success"],[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-my-own-fund-inputs",{myOwnFundForm:[16],showValidationErrors:[4,"show-validation-errors"],selectedOption:[32]}],[0,"sss-self-managed-fund-inputs",{fundForm:[16],showValidationErrors:[4,"show-validation-errors"],isAbnValid:[32],isAbnTouched:[32],isAbnUsedForRegulated:[32],currentBank:[32],addressErrorMessage:[32]}],[0,"sss-super-choice-item-bottom",{disclaimer:[16],abnInfo:[1,"abn-info"],abn:[1]}],[0,"sss-loading-page"],[0,"sss-super-choice-item-top",{name:[1],logo:[1],features:[16],featureSubText:[16]}],[0,"sss-dropdown-async",{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-footer-section",{textOverride:[16]}],[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]}],[4,"sss-custom-fund",{history:[16],currentCustomFund:[32],fundOptionsList:[32],showFundOptionsSelection:[32]}],[0,"sss-iframe-host",{build:[16]}],[0,"sss-header-section",{currentPage:[1,"current-page"]}],[0,"sss-name-input",{value:[1],name:[1],readableName:[1,"readable-name"],showValidationErrors:[4,"show-validation-errors"],errorMessage:[32]}],[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",{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"]}]]]],s)}))}}}));
1
+ System.register(["./p-44bec843.system.js","./p-14885f78.system.js","./p-15f0e5eb.system.js"],(function(s,e){"use strict";var t,o,i;return{setters:[function(s){t=s.p;o=s.b},function(){},function(s){i=s.g}],execute:function(){var s=function(){var s=e.meta.url;var o={};if(s!==""){o.resourcesUrl=new URL(".",s).href}return t(o)};s().then((function(s){i();return o([["p-6ac8791e.system",[[0,"context-consumer",{context:[16],renderer:[16],subscribe:[16],unsubscribe:[32]}]]],["p-02f24922.system",[[0,"stencil-async-content",{documentLocation:[1,"document-location"],content:[32]}]]],["p-ef3afa00.system",[[0,"stencil-route-title",{titleSuffix:[1,"title-suffix"],pageTitle:[1,"page-title"]}]]],["p-f29066b9.system",[[0,"stencil-router-prompt",{when:[4],message:[1],history:[16],unblock:[32]}]]],["p-51aefdb1.system",[[0,"stencil-router-redirect",{history:[16],root:[1],url:[1]}]]],["p-9decf4f5.system",[[0,"sss-my-own-fund",{history:[16],formState:[32],isNotAllInformationProvidedMessageVisible:[32],isSubmitDisabled:[32]}],[0,"sss-self-managed-fund",{history:[16],formState:[32],isSubmitDisabled:[32]}],[0,"sss-super-choice-page",{history:[16],promotedFunds:[32]}],[1,"super-selection-app-host",{sessionState:[32],jwt:[32],appConfiguration:[32],ignoreExistingSelection:[32]}],[0,"sss-default-fund",{history:[16],defaultFundProductName:[32]}],[0,"sss-standard-choice-form",{history:[16],standardChoiceFormSignature:[32],formState:[32],isSubmitDisabled:[32]}],[0,"sss-consent-page",{history:[16]}],[0,"sss-existing-choice-page",{history:[16],existingFund:[32]}],[0,"sss-promoted-fund-join-v1-page",{history:[16]}],[0,"sss-promoted-fund-join-v2-page",{history:[16]}],[0,"sss-slate-join-page",{history:[16]}],[0,"sss-success"],[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-my-own-fund-inputs",{myOwnFundForm:[16],showValidationErrors:[4,"show-validation-errors"],selectedOption:[32]}],[0,"sss-self-managed-fund-inputs",{fundForm:[16],showValidationErrors:[4,"show-validation-errors"],isAbnValid:[32],isAbnTouched:[32],isAbnUsedForRegulated:[32],currentBank:[32],addressErrorMessage:[32]}],[0,"sss-super-choice-item-bottom",{disclaimer:[16],abnInfo:[1,"abn-info"],abn:[1]}],[0,"sss-loading-page"],[0,"sss-super-choice-item-top",{name:[1],logo:[1],features:[16],featureSubText:[16]}],[0,"sss-dropdown-async",{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-footer-section",{textOverride:[16]}],[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]}],[4,"sss-custom-fund",{history:[16],currentCustomFund:[32],fundOptionsList:[32],showFundOptionsSelection:[32]}],[0,"sss-iframe-host",{build:[16]}],[0,"sss-header-section",{currentPage:[1,"current-page"]}],[0,"sss-name-input",{value:[1],name:[1],readableName:[1,"readable-name"],showValidationErrors:[4,"show-validation-errors"],errorMessage:[32]}],[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",{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"]}]]]],s)}))}}}));
@@ -264,7 +264,7 @@ class TapSubscriber extends datoramaAkita.Subscriber {
264
264
  }
265
265
  }
266
266
 
267
- const AppVersion = '4.20.27915';
267
+ const AppVersion = '4.22.28155';
268
268
 
269
269
  // -------------------------------------------------------------------------------------
270
270
  // guards
@@ -4004,7 +4004,7 @@ const SelectInputAsync = class {
4004
4004
  };
4005
4005
  SelectInputAsync.style = dropdownAsyncCss;
4006
4006
 
4007
- const PoweredByFlareFS = 'Powered by FlareFS';
4007
+ const PoweredByFlareFS = 'Powered by Flare FS';
4008
4008
  const Slate = {
4009
4009
  Id: 'slate',
4010
4010
  Name: 'Slate Super',
@@ -4012,7 +4012,8 @@ const Slate = {
4012
4012
  PdsUrl: 'https://slate.co/pds/?utm_source=flare&utm_medium=superselection',
4013
4013
  Usi: '32367272075001',
4014
4014
  DiversaAbn: '49 006 421 638',
4015
- FooterTextOverride: none
4015
+ FooterTextOverride: none,
4016
+ DtoPropName: 'slate'
4016
4017
  };
4017
4018
  const AustralianRetirementTrust = {
4018
4019
  Id: 'australian-retirement-trust',
@@ -4020,7 +4021,8 @@ const AustralianRetirementTrust = {
4020
4021
  Logo: 'logo-art.svg',
4021
4022
  PdsUrl: 'https://www.australianretirementtrust.com.au/library/media/pdfs/pds/super-savings-product-disclosure-statement-and-membership-form.pdf',
4022
4023
  Abn: '60 905 115 063',
4023
- FooterTextOverride: none
4024
+ FooterTextOverride: none,
4025
+ DtoPropName: 'australianRetirementTrust'
4024
4026
  };
4025
4027
  const Aware = {
4026
4028
  Id: 'aware',
@@ -4028,7 +4030,8 @@ const Aware = {
4028
4030
  Logo: 'logo-aware.svg',
4029
4031
  PdsUrl: 'https://aware.com.au/member/forms-and-resources/pds/FSS',
4030
4032
  Abn: '53 226 460 365',
4031
- FooterTextOverride: none
4033
+ FooterTextOverride: none,
4034
+ DtoPropName: 'aware'
4032
4035
  };
4033
4036
  const Active = {
4034
4037
  Id: 'active',
@@ -4036,7 +4039,8 @@ const Active = {
4036
4039
  Logo: 'logo-active.svg',
4037
4040
  PdsUrl: 'https://www.activesuper.com.au/pds',
4038
4041
  Abn: '28 901 371 321',
4039
- FooterTextOverride: some(PoweredByFlareFS)
4042
+ FooterTextOverride: some(PoweredByFlareFS),
4043
+ DtoPropName: 'active'
4040
4044
  };
4041
4045
  const AustralianEthical = {
4042
4046
  Id: 'australian-ethical',
@@ -4044,7 +4048,8 @@ const AustralianEthical = {
4044
4048
  Logo: 'logo-aus-eth.svg',
4045
4049
  PdsUrl: 'https://www.australianethical.com.au/super/pds-forms/',
4046
4050
  Abn: '43 079 259 733',
4047
- FooterTextOverride: none
4051
+ FooterTextOverride: none,
4052
+ DtoPropName: 'australianEthical'
4048
4053
  };
4049
4054
  const Virgin = {
4050
4055
  Id: 'virgin',
@@ -4052,7 +4057,8 @@ const Virgin = {
4052
4057
  Logo: 'logo-virgin.svg',
4053
4058
  PdsUrl: 'https://virginmoney.com.au/superannuation/',
4054
4059
  Abn: '19 905 422 981',
4055
- FooterTextOverride: some(PoweredByFlareFS)
4060
+ FooterTextOverride: some(PoweredByFlareFS),
4061
+ DtoPropName: 'virgin'
4056
4062
  };
4057
4063
  const Spirit = {
4058
4064
  Id: 'spirit',
@@ -4060,7 +4066,8 @@ const Spirit = {
4060
4066
  Logo: 'logo-spirit.svg',
4061
4067
  PdsUrl: 'https://www.spiritsuper.com.au/pds',
4062
4068
  Abn: '74 559 365 913',
4063
- FooterTextOverride: none
4069
+ FooterTextOverride: none,
4070
+ DtoPropName: 'spirit'
4064
4071
  };
4065
4072
  const First = {
4066
4073
  Id: 'first-super',
@@ -4068,107 +4075,38 @@ const First = {
4068
4075
  Logo: 'logo-first.svg',
4069
4076
  PdsUrl: 'https://www.firstsuper.com.au/forms-tools/product-disclosure-statements/',
4070
4077
  Abn: '56 286 625 181',
4071
- FooterTextOverride: none
4078
+ FooterTextOverride: none,
4079
+ DtoPropName: 'firstSuper'
4072
4080
  };
4073
4081
  const MercerMyChoice = {
4074
4082
  Id: 'mercermychoice',
4075
4083
  Name: 'Mercer MyChoice',
4076
4084
  Logo: 'logo-mercer-mychoice.svg',
4077
- PdsUrl: 'https://www.google.com.au',
4078
- TmdUrl: 'https://www.google.com.au',
4085
+ PdsUrl: 'https://www.mercersuper.com.au/campaign-page/mercer-mychoice',
4086
+ TmdUrl: 'https://www.mercersuper.com.au/documents/target-market-determinations',
4079
4087
  Abn: '79 004 717 533',
4080
- FooterTextOverride: some(PoweredByFlareFS)
4088
+ FooterTextOverride: some(PoweredByFlareFS),
4089
+ DtoPropName: 'mercerMyChoice'
4081
4090
  };
4082
- const PromotedFundIdList = [
4083
- { dtoPropName: 'slate', id: Slate.Id },
4084
- { dtoPropName: 'australianRetirementTrust', id: AustralianRetirementTrust.Id },
4085
- { dtoPropName: 'aware', id: Aware.Id },
4086
- { dtoPropName: 'active', id: Active.Id },
4087
- { dtoPropName: 'australianEthical', id: AustralianEthical.Id },
4088
- { dtoPropName: 'virgin', id: Virgin.Id },
4089
- { dtoPropName: 'spirit', id: Spirit.Id },
4090
- { dtoPropName: 'firstSuper', id: First.Id },
4091
- { dtoPropName: 'mercerMyChoice', id: MercerMyChoice.Id }
4092
- ];
4093
- const getFundNameById = (id) => {
4094
- switch (id) {
4095
- case Slate.Id:
4096
- return Slate.Name;
4097
- case AustralianRetirementTrust.Id:
4098
- return AustralianRetirementTrust.Name;
4099
- case Aware.Id:
4100
- return Aware.Name;
4101
- case Active.Id:
4102
- return Active.Name;
4103
- case AustralianEthical.Id:
4104
- return AustralianEthical.Name;
4105
- case Virgin.Id:
4106
- return Virgin.Name;
4107
- case Spirit.Id:
4108
- return Spirit.Name;
4109
- case First.Id:
4110
- return First.Name;
4111
- case MercerMyChoice.Id:
4112
- return MercerMyChoice.Name;
4113
- default:
4114
- return;
4115
- }
4091
+ const fundsById = {
4092
+ [Slate.Id]: Slate,
4093
+ [AustralianRetirementTrust.Id]: AustralianRetirementTrust,
4094
+ [Aware.Id]: Aware,
4095
+ [Active.Id]: Active,
4096
+ [AustralianEthical.Id]: AustralianEthical,
4097
+ [Virgin.Id]: Virgin,
4098
+ [Spirit.Id]: Spirit,
4099
+ [First.Id]: First,
4100
+ [MercerMyChoice.Id]: MercerMyChoice
4116
4101
  };
4117
- const getFooterTextOverrideByFundId = (id) => { var _a, _b; return (_b = (_a = [
4118
- Slate,
4119
- AustralianRetirementTrust,
4120
- Aware,
4121
- Active,
4122
- AustralianEthical,
4123
- Virgin,
4124
- Spirit,
4125
- First,
4126
- MercerMyChoice
4127
- ].find((fund) => fund.Id == id)) === null || _a === void 0 ? void 0 : _a.FooterTextOverride) !== null && _b !== void 0 ? _b : none; };
4128
- const getFundUsiById = (id) => {
4129
- switch (id) {
4130
- case Slate.Id:
4131
- return Slate.Usi;
4132
- default:
4133
- return; // other promoted funds have dynamic USI
4134
- }
4135
- };
4136
- const getLogoSrc = (id) => {
4137
- let logo = '';
4138
- switch (id) {
4139
- case Slate.Id:
4140
- logo = Slate.Logo;
4141
- break;
4142
- case AustralianRetirementTrust.Id:
4143
- logo = AustralianRetirementTrust.Logo;
4144
- break;
4145
- case Aware.Id:
4146
- logo = Aware.Logo;
4147
- break;
4148
- case Active.Id:
4149
- logo = Active.Logo;
4150
- break;
4151
- case AustralianEthical.Id:
4152
- logo = AustralianEthical.Logo;
4153
- break;
4154
- case Virgin.Id:
4155
- logo = Virgin.Logo;
4156
- break;
4157
- case Spirit.Id:
4158
- logo = Spirit.Logo;
4159
- break;
4160
- case First.Id:
4161
- logo = First.Logo;
4162
- break;
4163
- case MercerMyChoice.Id:
4164
- logo = MercerMyChoice.Logo;
4165
- break;
4166
- default:
4167
- return;
4168
- }
4169
- if (logo !== '')
4170
- return index.getAssetPath(`assets/${logo}`);
4102
+ const getFundByDtoPropName = (dtoPropName) => {
4103
+ const fund = Object.values(fundsById).find((f) => f.DtoPropName == dtoPropName);
4104
+ return fund ? some(fund) : none;
4171
4105
  };
4106
+ const getFundNameByFundId = (fundId) => fundsById[fundId] ? some(fundsById[fundId].Name) : none;
4107
+ const getFooterTextOverrideByFundId = (fundId) => { var _a, _b; return (_b = (_a = fundsById[fundId]) === null || _a === void 0 ? void 0 : _a.FooterTextOverride) !== null && _b !== void 0 ? _b : none; };
4108
+ const getFundUsiByFundId = (fundId) => fundId == Slate.Id ? some(Slate.Usi) : none;
4109
+ const getLogoSrcByFundId = (fundId) => fundsById[fundId] ? some(index.getAssetPath(`assets/${fundsById[fundId].Logo}`)) : none;
4172
4110
 
4173
4111
  function getPromotedFundUsi(dto) {
4174
4112
  if ('slate' in dto) {
@@ -4271,7 +4209,7 @@ function getSuperChoiceMemberNumber(dto) {
4271
4209
 
4272
4210
  class ExistingFundService {
4273
4211
  async GetExistingFundAsync() {
4274
- var _a, _b;
4212
+ var _a;
4275
4213
  const choice = superSelectionAppService.superBuyer.superChoice;
4276
4214
  const choiceDetails = (_a = superSelectionAppService.superBuyer.superChoice) === null || _a === void 0 ? void 0 : _a.choiceDetails;
4277
4215
  if (!choice)
@@ -4282,13 +4220,14 @@ class ExistingFundService {
4282
4220
  const usi = getSuperChoiceUsi(choiceDetails);
4283
4221
  const memberNumber = getSuperChoiceMemberNumber(choiceDetails);
4284
4222
  if ('promoted' in choiceDetails) {
4285
- const fund = PromotedFundIdList.find((f) => f.dtoPropName in choiceDetails.promoted);
4286
- if ((fund === null || fund === void 0 ? void 0 : fund.id) == undefined)
4223
+ const dtoPropName = Object.keys(choiceDetails.promoted)[0];
4224
+ const fund = getFundByDtoPropName(dtoPropName);
4225
+ if (isNone(fund))
4287
4226
  return none;
4288
4227
  return some({
4289
4228
  type: 'Promoted Fund',
4290
- id: fund.id,
4291
- name: (_b = getFundNameById(fund.id)) !== null && _b !== void 0 ? _b : '',
4229
+ id: fund.value.Id,
4230
+ name: fund.value.Name,
4292
4231
  usi: usi,
4293
4232
  valid: 'Active',
4294
4233
  memberNumber: memberNumber,
@@ -4351,12 +4290,6 @@ class ExistingFundService {
4351
4290
  }
4352
4291
  const existingFundService = new ExistingFundService();
4353
4292
 
4354
- class FeatureFlagService {
4355
- static isNewComplianceEnabled() {
4356
- return true;
4357
- }
4358
- }
4359
-
4360
4293
  const ExistingChoice = class {
4361
4294
  constructor(hostRef) {
4362
4295
  index.registerInstance(this, hostRef);
@@ -4391,14 +4324,14 @@ const ExistingChoice = class {
4391
4324
  this.existingFund = chosenFundOption.value;
4392
4325
  }
4393
4326
  else {
4394
- navigationService.navigateInternally(this.history, FeatureFlagService.isNewComplianceEnabled()
4395
- ? SuperSelectionAppRoutes.ConsentPage
4396
- : SuperSelectionAppRoutes.ChoicePage);
4327
+ navigationService.navigateInternally(this.history, SuperSelectionAppRoutes.ConsentPage);
4397
4328
  }
4398
4329
  }
4399
4330
  render() {
4400
4331
  const PromotedFundView = (props) => {
4401
- return (index.h("div", { class: "flex justify-center" }, index.h("img", { class: "h-16 object-contain w-full max-w-140", alt: getFundNameById(props.id), src: getLogoSrc(props.id) })));
4332
+ const logo = getLogoSrcByFundId(props.id);
4333
+ const fundName = getFundNameByFundId(props.id);
4334
+ return (index.h("div", { class: "flex justify-center" }, index.h("img", { class: "h-16 object-contain w-full max-w-140", alt: isSome(fundName) ? fundName.value : undefined, src: isSome(logo) ? logo.value : undefined })));
4402
4335
  };
4403
4336
  const MyOwnFundView = () => {
4404
4337
  return (index.h("div", { class: "flex h-20 justify-center items-center relative" }, index.h("div", { class: "h-20 w-20 rounded-full bg-primary-base opacity-10" }), index.h("div", { class: "h-10 w-10 absolute" }, index.h("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 576 512", class: "fill-primary-base" }, index.h("path", { d: "M174.7 111.8C165.1 110.3 160.1 102.1 161.5 93.35C170.4 40.37 216.5 0 272 0C320.8 0 362.3 31.19 377.6 74.67C380.6 82.1 376.2 92.14 367.9 95.09C359.5 98.03 350.4 93.66 347.5 85.33C336.5 54.24 306.8 32 272 32C232.4 32 199.5 60.82 193.1 98.65C191.6 107.4 183.4 113.2 174.7 111.8V111.8zM400 264C400 250.7 410.7 240 424 240C437.3 240 448 250.7 448 264C448 277.3 437.3 288 424 288C410.7 288 400 277.3 400 264zM488.5 125.8L480 159.1C501.1 176.5 519.6 198.5 530.7 224H544C561.7 224 576 238.3 576 256V352C576 369.7 561.7 384 544 384H512C495.5 405.1 473.5 423.6 448 434.7V464C448 490.5 426.5 512 400 512H368C341.5 512 320 490.5 320 464V448H256V464C256 490.5 234.5 512 208 512H176C149.5 512 128 490.5 128 464V416C89.14 386.8 64 340.3 64 288C28.52 287.2 0 258.2 0 222.6C0 197.8 14 175.1 36.18 164L40.84 161.7C48.75 157.7 58.36 160.9 62.31 168.8C66.26 176.7 63.06 186.4 55.16 190.3L50.49 192.6C39.16 198.3 31.1 209.9 31.1 222.6C31.1 241 46.97 256 65.44 256H67.2C82.02 182.1 146.6 128 223.1 128H376.4C394 108.4 419.6 96 448 96H465.3C480.9 96 492.3 110.7 488.5 125.8H488.5zM224 160C153.3 160 96 217.3 96 288C96 329.9 116.1 367 147.2 390.4L160 400V464C160 472.8 167.2 480 176 480H208C216.8 480 224 472.8 224 464V416H352V464C352 472.8 359.2 480 368 480H400C408.8 480 416 472.8 416 464V413.7L435.2 405.4C455.6 396.5 473.2 382.4 486.4 364.8L496 352H544V256H509.7L501.4 236.8C492.5 216.4 478.4 198.8 460.8 185.6L443.8 172.8L455 128H448C429 128 412.1 136.2 400.3 149.3L390.7 160H224z" })))));
@@ -4437,9 +4370,7 @@ const ExistingChoice = class {
4437
4370
  async handleFundNominationDeclined() {
4438
4371
  const detail = this.createSuperFundNominationDetail(this.existingFund);
4439
4372
  await this.eventTrackingService.TrackSuperFundNominationDeclinedAsync(detail);
4440
- navigationService.navigateInternally(this.history, FeatureFlagService.isNewComplianceEnabled()
4441
- ? SuperSelectionAppRoutes.ConsentPage
4442
- : SuperSelectionAppRoutes.ChoicePage);
4373
+ navigationService.navigateInternally(this.history, SuperSelectionAppRoutes.ConsentPage);
4443
4374
  }
4444
4375
  };
4445
4376
 
@@ -4450,7 +4381,7 @@ const FooterSection = class {
4450
4381
  this.footerText = () => Option.isSome(this.textOverride) ? this.textOverride.value : DefaultFooterText;
4451
4382
  }
4452
4383
  render() {
4453
- return (index.h("div", { class: "text-center text-gray-500 text-xs mt-8 sm:mt-20 w-full max-w-960 mx-auto" }, index.h("span", null, this.footerText()), index.h("p", { class: "block text-transparent" }, "v", AppVersion), !FeatureFlagService.isNewComplianceEnabled() && (index.h("p", { class: "mt-4" }, "This page contains factual information only and does not take into account your particular objectives, financial circumstances or needs. If you have questions or need help making a decision about your super fund, you should speak to a licensed financial advice provider. You should consider the relevant super fund's PDS and TMD (if applicable) in deciding whether to apply to join the super fund. Each of the advertised fund's PDS and TMD (if applicable) can be found in their advertisements above. If you are considering joining another fund you can find the PDS and TMD on the fund's website. Your employer and Flare do not endorse or accept responsibility for any financial product advice or services provided by the promoters or trustees of the advertised superannuation funds. Flare do not endorse or accept responsibility for any of their content shown about any of the advertised superannuation funds as they are merely passing on the content as provided without any changes. Flare do not express any opinion or make any recommendation about any of the advertised funds."))));
4384
+ return (index.h("div", { class: "text-center text-gray-500 text-xs mt-8 sm:mt-20 w-full max-w-960 mx-auto" }, index.h("span", null, this.footerText()), index.h("p", { class: "block text-transparent" }, "v", AppVersion)));
4454
4385
  }
4455
4386
  };
4456
4387
 
@@ -4473,7 +4404,7 @@ const HeaderSection = class {
4473
4404
  index.registerInstance(this, hostRef);
4474
4405
  }
4475
4406
  render() {
4476
- return (index.h("div", { class: "flex justify-center" }, index.h("div", { class: "text-center max-w-800" }, index.h("h3", { class: "font-bold mb-3 sm:mb-4 text-2xl sm:text-3xl" }, "Nominate a super fund"), FeatureFlagService.isNewComplianceEnabled() && (index.h(index.Fragment, null, index.h("div", { class: "text-gray-600 sm:text-lg leading-7 sm:leading-8" }, "You can choose any super fund, including your current fund/SMSF, your employer\u2019s default fund, or alternatively, you can select from one of the featured\u00A0funds."), index.h("div", { class: "inline-flex mt-8 sm:mt-12 bg-primary-base rounded-lg p-0.5 whitespace-normal" }, index.h("stencil-route-link", { exact: true, url: SuperSelectionAppRoutes.ChoicePage, anchorClass: "hover:bg-primary-hover block focus:outline-none focus:ring-2 ring-offset-1 focus:ring-primary-focus relative focus:z-10 border border-transparent text-gray-700 text-white rounded-md py-2 text-sm font-medium w-auto px-3 sm:px-8 h-full", activeClass: "hover:bg-white block focus:outline-none focus:ring-2 ring-offset-1 focus:ring-primary-focus focus:z-10 rounded-md py-2 text-sm font-medium w-auto px-3 sm:px-8 h-full bg-white border-gray-200 text-gray-900 shadow-sm text-primary-base" }, "Featured super funds"), renderChooseAnotherFundLink()))))));
4407
+ return (index.h("div", { class: "flex justify-center" }, index.h("div", { class: "text-center max-w-800" }, index.h("h3", { class: "font-bold mb-3 sm:mb-4 text-2xl sm:text-3xl" }, "Nominate a super fund"), index.h(index.Fragment, null, index.h("div", { class: "text-gray-600 sm:text-lg leading-7 sm:leading-8" }, "You can choose any super fund, including your current fund/SMSF, your employer\u2019s default fund, or alternatively, you can select from one of the featured\u00A0funds."), index.h("div", { class: "inline-flex mt-8 sm:mt-12 bg-primary-base rounded-lg p-0.5 whitespace-normal" }, index.h("stencil-route-link", { exact: true, url: SuperSelectionAppRoutes.ChoicePage, anchorClass: "hover:bg-primary-hover block focus:outline-none focus:ring-2 ring-offset-1 focus:ring-primary-focus relative focus:z-10 border border-transparent text-gray-700 text-white rounded-md py-2 text-sm font-medium w-auto px-3 sm:px-8 h-full", activeClass: "hover:bg-white block focus:outline-none focus:ring-2 ring-offset-1 focus:ring-primary-focus focus:z-10 rounded-md py-2 text-sm font-medium w-auto px-3 sm:px-8 h-full bg-white border-gray-200 text-gray-900 shadow-sm text-primary-base" }, "Featured super funds"), renderChooseAnotherFundLink())))));
4477
4408
  }
4478
4409
  };
4479
4410
 
@@ -4708,7 +4639,6 @@ class PromotedFundJoinV1IFrameBuilder {
4708
4639
  return;
4709
4640
  const postData = Object.assign(Object.assign({}, this.getMemberData()), { partnerId: superSelectionAppService.partnerIdOrDefault, accountId: superSelectionAppService.accountIdOrDefault, fundId: state$2.fundId, authToken: superSelectionAppService.jwt });
4710
4641
  const handleMessage = (event) => {
4711
- var _a;
4712
4642
  const { data } = event;
4713
4643
  if (!data) {
4714
4644
  return;
@@ -4722,9 +4652,10 @@ class PromotedFundJoinV1IFrameBuilder {
4722
4652
  case 'success':
4723
4653
  if (data.memberNumber) {
4724
4654
  const promotedFundId = state$2.fundId;
4655
+ const fundName = getFundNameByFundId(promotedFundId);
4725
4656
  navigationService.navigateInternallyToStandardChoice({
4726
4657
  history,
4727
- fundName: (_a = getFundNameById(promotedFundId)) !== null && _a !== void 0 ? _a : '',
4658
+ fundName: Option.isSome(fundName) ? fundName.value : '',
4728
4659
  handleSubmitFn: (standardChoiceFormSignature) => promotedFundChoiceApi.submitChoiceAsync({
4729
4660
  fundId: promotedFundId,
4730
4661
  memberNumber: data.memberNumber,
@@ -4837,7 +4768,6 @@ class PromotedFundJoinV2IFrameBuilder {
4837
4768
  return;
4838
4769
  const postData = Object.assign(Object.assign({}, this.getMemberData()), { partnerId: superSelectionAppService.partnerIdOrDefault, accountId: superSelectionAppService.accountIdOrDefault, fundId: state$2.fundId, authToken: superSelectionAppService.jwt });
4839
4770
  const handleMessage = (event) => {
4840
- var _a;
4841
4771
  const { data } = event;
4842
4772
  if (!data) {
4843
4773
  return;
@@ -4851,9 +4781,10 @@ class PromotedFundJoinV2IFrameBuilder {
4851
4781
  case 'success':
4852
4782
  if (data.memberNumber) {
4853
4783
  const promotedFundId = state$2.fundId;
4784
+ const fundName = getFundNameByFundId(promotedFundId);
4854
4785
  navigationService.navigateInternallyToStandardChoice({
4855
4786
  history,
4856
- fundName: (_a = getFundNameById(promotedFundId)) !== null && _a !== void 0 ? _a : '',
4787
+ fundName: Option.isSome(fundName) ? fundName.value : '',
4857
4788
  handleSubmitFn: (standardChoiceFormSignature) => promotedFundChoiceApi.submitChoiceAsync({
4858
4789
  fundId: promotedFundId,
4859
4790
  memberNumber: data.memberNumber,
@@ -5459,8 +5390,7 @@ const StandardChoiceFormInputDefaultFund = class {
5459
5390
  this.isSubmitDisabled = true;
5460
5391
  }
5461
5392
  render() {
5462
- return (index.h(index.Host, null, index.h("div", { class: "text-2xl sm:text-3xl font-bold text-center" }, "Confirm your super choice"), index.h("div", { class: "sm:text-lg text-gray-600 max-w-800 mt-4 text-center leading-7 sm:leading-8" }, "Your authorisation is required to complete your super choice by signing the standard choice form, which informs your employer of your choice of fund."), index.h("div", { class: "flex justify-center mt-8 sm:mt-12" }, index.h("div", { class: "max-w-560" }, index.h("div", { class: "p-4 sm:p-6 border shadow-sm rounded-lg flex flex-col sm:flex-row" }, state.promotedFundId &&
5463
- getLogoSrc(state.promotedFundId) && (index.h("div", { class: "pb-4 mb-4 border-b flex justify-center sm:pb-0 sm:mb-0 sm:border-b-0 sm:pr-8 sm:mr-8 sm:border-r sm:justify-start" }, index.h("img", { class: "h-16 max-w-140 sm:h-12 sm:max-w-[100px] object-contain", alt: state.fundName, src: getLogoSrc(state.promotedFundId) }))), index.h("div", { class: "flex justify-between w-full" }, index.h("div", null, index.h("div", { class: "text-xs font-semibold text-gray-500 uppercase" }, "Nominated fund"), index.h("div", { class: "text-sm mt-2" }, state.fundName)), index.h("div", { class: "grid content-center ml-4" }, index.h("stencil-route-link", { url: SuperSelectionAppRoutes.ChoicePage }, index.h("sss-button", { size: "xs", variant: "secondary" }, "Change"))))), index.h("div", { class: "mt-4 p-4 sm:p-6 border shadow-sm rounded-lg" }, index.h("div", { class: "sm:text-lg font-bold" }, "Superannuation Standard Choice Form"), index.h("div", { class: "bg-blue-50 border-l-4 border-blue-400 p-4 mt-3" }, index.h("div", { class: "flex" }, index.h("div", { class: "flex-shrink-0" }, index.h("img", { class: "h-5 w-5", src: index.getAssetPath('assets/icon-information-circle.svg') })), index.h("div", { class: "ml-2" }, index.h("p", { class: "text-sm text-blue-800 leading-5" }, "Applying your full name in the text field below is the same as applying your written signature and is legally binding.")))), index.h("form", { noValidate: true, onSubmit: (ev) => ev.preventDefault(), class: {
5393
+ return (index.h(index.Host, null, index.h("div", { class: "text-2xl sm:text-3xl font-bold text-center" }, "Confirm your super choice"), index.h("div", { class: "sm:text-lg text-gray-600 max-w-800 mt-4 text-center leading-7 sm:leading-8" }, "Your authorisation is required to complete your super choice by signing the standard choice form, which informs your employer of your choice of fund."), index.h("div", { class: "flex justify-center mt-8 sm:mt-12" }, index.h("div", { class: "max-w-560" }, index.h("div", { class: "p-4 sm:p-6 border shadow-sm rounded-lg flex flex-col sm:flex-row" }, this.renderLogo(), index.h("div", { class: "flex justify-between w-full" }, index.h("div", null, index.h("div", { class: "text-xs font-semibold text-gray-500 uppercase" }, "Nominated fund"), index.h("div", { class: "text-sm mt-2" }, state.fundName)), index.h("div", { class: "grid content-center ml-4" }, index.h("stencil-route-link", { url: SuperSelectionAppRoutes.ChoicePage }, index.h("sss-button", { size: "xs", variant: "secondary" }, "Change"))))), index.h("div", { class: "mt-4 p-4 sm:p-6 border shadow-sm rounded-lg" }, index.h("div", { class: "sm:text-lg font-bold" }, "Superannuation Standard Choice Form"), index.h("div", { class: "bg-blue-50 border-l-4 border-blue-400 p-4 mt-3" }, index.h("div", { class: "flex" }, index.h("div", { class: "flex-shrink-0" }, index.h("img", { class: "h-5 w-5", src: index.getAssetPath('assets/icon-information-circle.svg') })), index.h("div", { class: "ml-2" }, index.h("p", { class: "text-sm text-blue-800 leading-5" }, "Applying your full name in the text field below is the same as applying your written signature and is legally binding.")))), index.h("form", { noValidate: true, onSubmit: (ev) => ev.preventDefault(), class: {
5464
5394
  'mt-3': true,
5465
5395
  'was-validated': this.formState === 'validated'
5466
5396
  }, ref: (el) => (this.formElement = el), onInput: (_) => (this.isSubmitDisabled = !this.formElement.checkValidity()) }, index.h("label", { class: "text-sm font-medium text-gray-700" }, "Type your full name"), index.h("input", { type: "text", autocomplete: "off", class: {
@@ -5468,6 +5398,14 @@ const StandardChoiceFormInputDefaultFund = class {
5468
5398
  'invalid:border-red-300 invalid:text-red-900 invalid:focus:ring-red-500 invalid:focus:border-red-500': this.formState === 'validated'
5469
5399
  }, required: true, minlength: "2", name: "standardChoiceFormSignature", id: "standardChoiceFormSignature", value: this.standardChoiceFormSignature, onInput: (event) => (this.standardChoiceFormSignature = event.target.value) }), index.h("div", { class: "invalid-feedback mt-2 text-sm text-red-600" }, "Type your full name"), index.h("div", { class: "mt-6" }, index.h("sss-button", { fillWidth: true, promiseFn: () => this.handleSubmitForm(), disabled: this.isSubmitDisabled }, "Confirm and continue"))))))));
5470
5400
  }
5401
+ renderLogo() {
5402
+ if (state.promotedFundId == undefined)
5403
+ return;
5404
+ const logoSource = getLogoSrcByFundId(state.promotedFundId);
5405
+ if (Option.isSome(logoSource)) {
5406
+ return (index.h("div", { class: "pb-4 mb-4 border-b flex justify-center sm:pb-0 sm:mb-0 sm:border-b-0 sm:pr-8 sm:mr-8 sm:border-r sm:justify-start" }, index.h("img", { class: "h-16 max-w-140 sm:h-12 sm:max-w-[100px] object-contain", alt: state.fundName, src: logoSource.value })));
5407
+ }
5408
+ }
5471
5409
  async handleSubmitForm() {
5472
5410
  this.formState = 'validated';
5473
5411
  if (this.formElement.checkValidity()) {
@@ -5498,7 +5436,7 @@ const SuperChoiceItemBottom = class {
5498
5436
  this.joinFundClicked = index.createEvent(this, "joinFundClicked", 7);
5499
5437
  }
5500
5438
  render() {
5501
- return (index.h(index.Host, null, index.h("div", { class: "py-6 px-4 lg:px-6 flex flex-col justify-between h-full" }, index.h("div", null, index.h("div", { class: "md:max-w-[240px] lg:max-w-full" }, index.h("sss-button", { class: "uuid-button-continue", fillWidth: true, onClick: () => this.handleFundClick() }, "Choose this fund")), index.h("div", { class: "text-xs text-gray-500 mt-6 leading-4" }, this.disclaimer)), this.abnInfo && this.abn && (index.h("div", { class: "text-xs text-gray-500 mt-2" }, index.h("p", null, `${FeatureFlagService.isNewComplianceEnabled() ? 'Issued by ' : ''}${this.abnInfo}.`), index.h("p", null, "ABN: ", this.abn))))));
5439
+ return (index.h(index.Host, null, index.h("div", { class: "py-6 px-4 lg:px-6 flex flex-col justify-between h-full" }, index.h("div", null, index.h("div", { class: "md:max-w-[240px] lg:max-w-full" }, index.h("sss-button", { class: "uuid-button-continue", fillWidth: true, onClick: () => this.handleFundClick() }, "Choose this fund")), index.h("div", { class: "text-xs text-gray-500 mt-6 leading-4" }, this.disclaimer)), this.abnInfo && this.abn && (index.h("div", { class: "text-xs text-gray-500 mt-2" }, index.h("p", null, "Issued by ", this.abnInfo, "."), index.h("p", null, "ABN: ", this.abn))))));
5502
5440
  }
5503
5441
  handleFundClick() {
5504
5442
  return this.joinFundClicked.emit();
@@ -5510,7 +5448,7 @@ const SuperChoiceItemTop = class {
5510
5448
  index.registerInstance(this, hostRef);
5511
5449
  }
5512
5450
  render() {
5513
- return (index.h(index.Host, null, index.h("div", { class: "px-4 lg:px-6 pt-6" }, index.h("div", { class: "text-right w-100 -mt-5 -mr-3.5 lg:-mr-5" }, index.h("span", { class: "text-xs bg-gray-100 text-gray-800 font-medium rounded-xl py-0.5 px-2.5 mr-0.5" }, FeatureFlagService.isNewComplianceEnabled() ? 'Featured' : 'Advertised')), index.h("div", { class: "flex lg:block mt-2 md:mt-0 lg:mt-4" }, index.h("img", { class: "h-12 md:h-14 lg:h-16 object-contain w-auto w-[80px] md:w-[96px] lg:w-[140px] md:hidden lg:block lg:object-left", alt: this.name, src: index.getAssetPath(`assets/${this.logo}`) }), index.h("div", { class: "grid content-center" }, index.h("p", { class: "text-base md:text-lg font-bold ml-4 md:ml-0 md:mb-0 lg:mt-4" }, this.name))), index.h("div", { class: "mt-4 sm:mt-2 text-sm space-y-2" }, this.features.map((feature) => (index.h("div", { class: "flex" }, index.h("div", { class: "h-5 w-5 flex-none mr-1.5" }, index.h("img", { alt: "checked", src: index.getAssetPath(`assets/icon-check.svg`) })), index.h("div", { class: "leading-5" }, feature))))), this.featureSubText && (index.h("p", { class: "text-xs text-gray-500 italic mt-4 leading-4" }, this.featureSubText)))));
5451
+ return (index.h(index.Host, null, index.h("div", { class: "px-4 lg:px-6 pt-6" }, index.h("div", { class: "text-right w-100 -mt-5 -mr-3.5 lg:-mr-5" }, index.h("span", { class: "text-xs bg-gray-100 text-gray-800 font-medium rounded-xl py-0.5 px-2.5 mr-0.5" }, "Featured")), index.h("div", { class: "flex lg:block mt-2 md:mt-0 lg:mt-4" }, index.h("img", { class: "h-12 md:h-14 lg:h-16 object-contain w-auto w-[80px] md:w-[96px] lg:w-[140px] md:hidden lg:block lg:object-left", alt: this.name, src: index.getAssetPath(`assets/${this.logo}`) }), index.h("div", { class: "grid content-center" }, index.h("p", { class: "text-base md:text-lg font-bold ml-4 md:ml-0 md:mb-0 lg:mt-4" }, this.name))), index.h("div", { class: "mt-4 sm:mt-2 text-sm space-y-2" }, this.features.map((feature) => (index.h("div", { class: "flex" }, index.h("div", { class: "h-5 w-5 flex-none mr-1.5" }, index.h("img", { alt: "checked", src: index.getAssetPath(`assets/icon-check.svg`) })), index.h("div", { class: "leading-5" }, feature))))), this.featureSubText && (index.h("p", { class: "text-xs text-gray-500 italic mt-4 leading-4" }, this.featureSubText)))));
5514
5452
  }
5515
5453
  };
5516
5454
 
@@ -5532,7 +5470,7 @@ const SuperChoicePage = class {
5532
5470
  const mygovLinkDisplay = 'www.my.gov.au';
5533
5471
  const superfundsLink = 'https://www.apra.gov.au/register-of-superannuation-institutions';
5534
5472
  const superfundsLinkDisplay = 'www.apra.gov.au';
5535
- return (index.h(index.Host, null, index.h("div", null, index.h("sss-header-section", { currentPage: "choice" }), FeatureFlagService.isNewComplianceEnabled() && (index.h("div", { class: "mt-8 text-sm text-center leading-6" }, index.h("p", { class: "leading-6" }, "Not ready to join a new fund, or want to nominate another super fund?"), index.h("stencil-route-link", { url: SuperSelectionAppRoutes.MyOwnFund }, index.h("span", { class: "inline-block text-primary-base font-medium mt-3" }, "Skip Featured Funds\u00A0", index.h("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", "stroke-width": "1.5", stroke: "currentColor", class: "inline h-5 w-5 fill-primary-base group-hover:fill-white" }, index.h("path", { "stroke-linecap": "round", "stroke-linejoin": "round", d: "M17.25 8.25L21 12m0 0l-3.75 3.75M21 12H3" })))))), !FeatureFlagService.isNewComplianceEnabled() && (index.h("div", { class: "flex justify-center pb-4" }, index.h("div", { class: "text-center space-y-4 max-w-960 text-sm leading-6" }, index.h("p", { class: "text-lg leading-8 text-gray-600" }, "The choice of superannuation fund is an important personal financial decision. It is open to you to continue with your existing fund, or alternatively, you can select from one of the funds below or choose another fund."), index.h("p", null, "Flare is not licensed to advise you in relation to this decision and you may wish to return to this page at a later stage."), index.h("p", null, "The content on this page and on the following pages relating to each super fund is provided by the trustee or promoter of the super fund. The super funds presented have not been selected by your employer and neither your employer or Flare are making any recommendation or opinion."), index.h("p", null, "There are many super funds out there and you should consider the relevant product disclosure statement and choose one that is right for you. If you are unsure, obtain your own advice. You can choose your super fund later, if you need time to obtain advice."), index.h("p", null, "You should be aware that, if you do choose one of these advertised funds, Flare and its associated entities will normally receive a fee for you doing so.")))), index.h("div", { class: "flex justify-center mt-8" }, index.h("div", { class: {
5473
+ return (index.h(index.Host, null, index.h("div", null, index.h("sss-header-section", { currentPage: "choice" }), index.h("div", { class: "mt-8 text-sm text-center leading-6" }, index.h("p", { class: "leading-6" }, "Not ready to join a new fund, or want to nominate another super fund?"), index.h("stencil-route-link", { url: SuperSelectionAppRoutes.MyOwnFund }, index.h("span", { class: "inline-block text-primary-base font-medium mt-3" }, "Skip Featured Funds\u00A0", index.h("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", "stroke-width": "1.5", stroke: "currentColor", class: "inline h-5 w-5 fill-primary-base group-hover:fill-white" }, index.h("path", { "stroke-linecap": "round", "stroke-linejoin": "round", d: "M17.25 8.25L21 12m0 0l-3.75 3.75M21 12H3" }))))), index.h("div", { class: "flex justify-center mt-8" }, index.h("div", { class: {
5536
5474
  'lg:grid border-l border-t lg:border-b rounded-lg': true,
5537
5475
  'lg:grid-cols-1 max-w-400': this.promotedFunds.length === 1,
5538
5476
  'lg:grid-cols-2 max-w-720': this.promotedFunds.length === 2,
@@ -5548,7 +5486,7 @@ const SuperChoicePage = class {
5548
5486
  } }, index.h("div", { class: "hidden md:flex lg:hidden w-36 justify-center pt-6 pl-6" }, index.h("img", { class: "h-16 object-contain w-full max-w-[96px]", alt: fund.name, src: index.getAssetPath(`assets/${fund.logo}`) })), index.h("div", { class: "w-full" }, index.h("sss-super-choice-item-top", { logo: fund.logo, name: fund.name, features: fund.features, featureSubText: fund.featureSubText }), index.h("div", { class: "lg:hidden" }, index.h("sss-super-choice-item-bottom", { disclaimer: fund.disclaimer, abnInfo: fund.abnInfo, abn: fund.abn, onJoinFundClicked: async () => this.handleJoinSuperClickAsync(fund) }))))))), this.promotedFunds.map((fund, index$1) => (index.h("div", { class: {
5549
5487
  'hidden lg:block border-r': true,
5550
5488
  'rounded-br-lg': index$1 === this.promotedFunds.length - 1
5551
- } }, index.h("sss-super-choice-item-bottom", { disclaimer: fund.disclaimer, abnInfo: fund.abnInfo, abn: fund.abn, onJoinFundClicked: async () => this.handleJoinSuperClickAsync(fund) })))))), index.h("div", { class: "flex justify-center mt-8 sm:mt-12" }, index.h("div", { class: "pb-8 sm:pb-12 max-w-720 border-b" }, index.h("h5", { class: "font-bold sm:text-lg" }, "Or, choose another super fund:"), index.h("ul", { class: "list-disc list-outside ml-6 mt-3 mb-6 space-y-2 leading-6 text-sm sm:text-base" }, index.h("li", null, "Select this option if you'd like to use your current account with another super fund, your self-managed super fund, or your employer's default fund."), index.h("li", null, "If you are unsure of your current super fund details, you can find out at", ' ', index.h("a", { class: "text-primary-base font-medium hover:text-primary-hover", target: "_blank", href: navigationService.toExternalUrl(mygovLink) }, mygovLinkDisplay)), index.h("li", null, "A full list of super funds can be viewed at", ' ', index.h("a", { class: "text-primary-base font-medium hover:text-primary-hover", target: "_blank", href: navigationService.toExternalUrl(superfundsLink) }, superfundsLinkDisplay))), index.h("stencil-route-link", { url: SuperSelectionAppRoutes.MyOwnFund }, index.h("sss-button", { fillWidthOnMobile: true }, "Choose another super fund")))), FeatureFlagService.isNewComplianceEnabled() && (index.h("div", { class: "flex justify-center" }, index.h("div", { class: "pt-8 sm:pt-12 max-w-720" }, index.h("h5", { class: "font-semibold" }, "IMPORTANT INFORMATION:"), index.h("ul", { class: "list-disc list-outside ml-6 mt-3 space-y-2 text-sm leading-6" }, index.h("li", null, "The superannuation funds featured above are for your information only. The order, position and placement of content should not be interpreted as an opinion or recommendation (actual or implied) by Flare as to the suitability or appropriateness of any superannuation fund for you. In featuring these superannuation funds, Flare has not taken into account your objectives, financial situation or needs."), index.h("li", null, "This is not a comparison service. This page contains factual information only and does not constitute either general or personal advice about any financial products. We do not take into account your objectives, financial situation or needs. If you have questions or need help making a decision about your superannuation fund, you should speak to a licensed financial product advice provider."), index.h("li", null, "Flare, the technology partner you are accessing Flare via and your employer do not endorse or accept responsibility for any financial product advice or services provided by the promoters or trustees of the featured superannuation funds. Flare does not endorse or accept responsibility for any of the content shown about any of the featured superannuation funds."), index.h("li", null, "You should consider the relevant superannuation fund\u2019s PDS and TMD (if applicable) in deciding whether to apply to join the superannuation fund. Each of the superannuation funds featured above include a link to their PDS and TMD (if applicable) for your convenience. If you are considering joining another superannuation fund, you can typically find the PDS and TMD (if applicable) on that fund\u2019s website."), index.h("li", null, "You should be aware that, if you do choose one of the featured superannuation funds, Flare and it\u2019s associates will normally receive a fee for you doing so (this includes Simple Financial Choices Pty Ltd, a wholly owned subsidiary of Flare, which is a sub-promoter of Slate Super)."))))))));
5489
+ } }, index.h("sss-super-choice-item-bottom", { disclaimer: fund.disclaimer, abnInfo: fund.abnInfo, abn: fund.abn, onJoinFundClicked: async () => this.handleJoinSuperClickAsync(fund) })))))), index.h("div", { class: "flex justify-center mt-8 sm:mt-12" }, index.h("div", { class: "pb-8 sm:pb-12 max-w-720 border-b" }, index.h("h5", { class: "font-bold sm:text-lg" }, "Or, choose another super fund:"), index.h("ul", { class: "list-disc list-outside ml-6 mt-3 mb-6 space-y-2 leading-6 text-sm sm:text-base" }, index.h("li", null, "Select this option if you'd like to use your current account with another super fund, your self-managed super fund, or your employer's default fund."), index.h("li", null, "If you are unsure of your current super fund details, you can find out at", ' ', index.h("a", { class: "text-primary-base font-medium hover:text-primary-hover", target: "_blank", href: navigationService.toExternalUrl(mygovLink) }, mygovLinkDisplay)), index.h("li", null, "A full list of super funds can be viewed at", ' ', index.h("a", { class: "text-primary-base font-medium hover:text-primary-hover", target: "_blank", href: navigationService.toExternalUrl(superfundsLink) }, superfundsLinkDisplay))), index.h("stencil-route-link", { url: SuperSelectionAppRoutes.MyOwnFund }, index.h("sss-button", { fillWidthOnMobile: true }, "Choose another super fund")))), index.h("div", { class: "flex justify-center" }, index.h("div", { class: "pt-8 sm:pt-12 max-w-720" }, index.h("h5", { class: "font-semibold" }, "IMPORTANT INFORMATION:"), index.h("ul", { class: "list-disc list-outside ml-6 mt-3 space-y-2 text-sm leading-6" }, index.h("li", null, "The superannuation funds featured above are for your information only. The order, position and placement of content should not be interpreted as an opinion or recommendation (actual or implied) by Flare as to the suitability or appropriateness of any superannuation fund for you. In featuring these superannuation funds, Flare has not taken into account your objectives, financial situation or needs."), index.h("li", null, "This is not a comparison service. This page contains factual information only and does not constitute either general or personal advice about any financial products. We do not take into account your objectives, financial situation or needs. If you have questions or need help making a decision about your superannuation fund, you should speak to a licensed financial product advice provider."), index.h("li", null, "Flare, the technology partner you are accessing Flare via and your employer do not endorse or accept responsibility for any financial product advice or services provided by the promoters or trustees of the featured superannuation funds. Flare does not endorse or accept responsibility for any of the content shown about any of the featured superannuation funds."), index.h("li", null, "You should consider the relevant superannuation fund\u2019s PDS and TMD (if applicable) in deciding whether to apply to join the superannuation fund. Each of the superannuation funds featured above include a link to their PDS and TMD (if applicable) for your convenience. If you are considering joining another superannuation fund, you can typically find the PDS and TMD (if applicable) on that fund\u2019s website."), index.h("li", null, "You should be aware that, if you do choose one of the featured superannuation funds, Flare and it\u2019s associates will normally receive a fee for you doing so (this includes Simple Financial Choices Pty Ltd, a wholly owned subsidiary of Flare, which is a sub-promoter of Slate Super).")))))));
5552
5490
  }
5553
5491
  allFunds() {
5554
5492
  const Link = (props, children) => {
@@ -5672,7 +5610,7 @@ const SuperChoicePage = class {
5672
5610
  index.h("p", null, "Take control with 6 MyChoice investment options"),
5673
5611
  index.h("p", null, "Join 850,000 Australians who trust our global expertise")
5674
5612
  ],
5675
- disclaimer: (index.h("div", null, index.h("p", null, "You should consider the", ' ', index.h(Link, { href: MercerMyChoice.PdsUrl, onClick: () => this.pdsViewedAsync(MercerMyChoice.Name) }, "Product Disclosure Statement"), ' ', "and", ' ', index.h(Link, { href: MercerMyChoice.TmdUrl }, "Target Market Determination"), ' ', "before deciding to invest in or apply to become a member of the fund."), index.h("br", null), index.h("p", null, "Issued by Mercer Superannuation (Australia) Limited (\u2018Mercer Super\u2019) ABN: ", MercerMyChoice.Abn)))
5613
+ disclaimer: (index.h("div", null, index.h("p", null, "You should consider the", ' ', index.h(Link, { href: MercerMyChoice.PdsUrl, onClick: () => this.pdsViewedAsync(MercerMyChoice.Name) }, "Product Disclosure Statement"), ' ', "and ", index.h(Link, { href: MercerMyChoice.TmdUrl }, "Target Market Determination"), ' ', "before deciding to invest in or apply to become a member of the fund."), index.h("br", null), index.h("p", null, "Issued by Mercer Superannuation (Australia) Limited (\u2018Mercer Super\u2019) ABN:", ' ', MercerMyChoice.Abn)))
5676
5614
  }
5677
5615
  ];
5678
5616
  }
@@ -5687,11 +5625,12 @@ const SuperChoicePage = class {
5687
5625
  return fundTiles;
5688
5626
  }
5689
5627
  async handleJoinSuperClickAsync(fund) {
5690
- var _a;
5691
5628
  const promotedFundsShown = superSelectionAppService.promotedFunds;
5629
+ const fundUsi = getFundUsiByFundId(fund.fundId);
5630
+ const fundName = getFundNameByFundId(fund.fundId);
5692
5631
  await this.eventTrackingService.TrackPromotedSuperFundDetailViewedAsync({
5693
- fundUsi: getFundUsiById(fund.fundId),
5694
- fundName: (_a = getFundNameById(fund.fundId)) !== null && _a !== void 0 ? _a : '',
5632
+ fundUsi: Option.isSome(fundUsi) ? fundUsi.value : undefined,
5633
+ fundName: Option.isSome(fundName) ? fundName.value : '',
5695
5634
  promotedFundId: fund.fundId,
5696
5635
  promotedFundsShown,
5697
5636
  defaultFundUsiSet: Option.toUndefined(superSelectionAppService.defaultFundUsi)
@@ -6697,9 +6636,7 @@ const SuperSelectionApp = class {
6697
6636
  navigationService.navigateInternally(this.history, SuperSelectionAppRoutes.ExistingChoicePage);
6698
6637
  }
6699
6638
  else {
6700
- navigationService.navigateInternally(this.history, FeatureFlagService.isNewComplianceEnabled()
6701
- ? SuperSelectionAppRoutes.ConsentPage
6702
- : SuperSelectionAppRoutes.ChoicePage);
6639
+ navigationService.navigateInternally(this.history, SuperSelectionAppRoutes.ConsentPage);
6703
6640
  }
6704
6641
  }
6705
6642
  authTokenChanged(newValue) {