@flarehr/apollo-super-selection 4.19.27767 → 4.21.28044

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 (45) 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/assets/logo-mercer-mychoice.svg +1 -0
  4. package/dist/lib/apollo-super-selection/p-35538e87.system.entry.js +69 -0
  5. package/dist/lib/apollo-super-selection/p-a08ef800.entry.js +14 -0
  6. package/dist/lib/apollo-super-selection/p-bdcfc026.system.js +1 -1
  7. package/dist/lib/cjs/apollo-super-selection.cjs.js +1 -1
  8. package/dist/lib/cjs/loader.cjs.js +1 -1
  9. package/dist/lib/cjs/sss-button_30.cjs.entry.js +147 -126
  10. package/dist/lib/collection/apollo-super-selection.css +1 -1
  11. package/dist/lib/collection/components/super-selection-app/api/super-selection.api.dto.js +6 -0
  12. package/dist/lib/collection/components/super-selection-app/consent/consent.js +2 -1
  13. package/dist/lib/collection/components/super-selection-app/existing-choice/existing-choice.js +6 -9
  14. package/dist/lib/collection/components/super-selection-app/footer-section/footer-section.js +30 -5
  15. package/dist/lib/collection/components/super-selection-app/funds/constants.js +52 -78
  16. package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/promoted-fund.store.js +3 -0
  17. package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/services/promoted-fund-join-v1-iframe-builder.js +17 -5
  18. package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/services/promoted-fund-join-v2-iframe-builder.js +17 -5
  19. package/dist/lib/collection/components/super-selection-app/funds/slate-super/services/slate-iframe-builder.js +2 -0
  20. package/dist/lib/collection/components/super-selection-app/header-section/header-section.js +2 -3
  21. package/dist/lib/collection/components/super-selection-app/services/existing-super-choice-info.service.js +7 -6
  22. package/dist/lib/collection/components/super-selection-app/standard-choice/standard-choice-form.js +12 -4
  23. package/dist/lib/collection/components/super-selection-app/super-choice-page/assets/logo-mercer-mychoice.svg +1 -0
  24. package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-item/super-choice-item-bottom.js +4 -2
  25. package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-item/super-choice-item-top.js +1 -2
  26. package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-page.js +34 -15
  27. package/dist/lib/collection/components/super-selection-app/super-selection-app.js +12 -10
  28. package/dist/lib/esm/apollo-super-selection.js +1 -1
  29. package/dist/lib/esm/loader.js +1 -1
  30. package/dist/lib/esm/sss-button_30.entry.js +147 -126
  31. package/dist/lib/esm-es5/apollo-super-selection.js +1 -1
  32. package/dist/lib/esm-es5/loader.js +1 -1
  33. package/dist/lib/esm-es5/sss-button_30.entry.js +3 -3
  34. package/dist/lib/types/components/super-selection-app/api/super-selection.api.dto.d.ts +5 -0
  35. package/dist/lib/types/components/super-selection-app/footer-section/footer-section.d.ts +3 -0
  36. package/dist/lib/types/components/super-selection-app/funds/constants.d.ts +35 -7
  37. package/dist/lib/types/components/super-selection-app/funds/promoted-fund/promoted-fund.store.d.ts +1 -0
  38. package/dist/lib/types/components/super-selection-app/standard-choice/standard-choice-form.d.ts +1 -0
  39. package/dist/lib/types/components/super-selection-app/super-selection-app.d.ts +2 -1
  40. package/dist/lib/types/components.d.ts +3 -0
  41. package/package.json +1 -1
  42. package/dist/lib/apollo-super-selection/p-1cab31f8.system.entry.js +0 -69
  43. package/dist/lib/apollo-super-selection/p-70a90d81.entry.js +0 -14
  44. package/dist/lib/collection/components/super-selection-app/services/feature-flag.service.js +0 -5
  45. package/dist/lib/types/components/super-selection-app/services/feature-flag.service.d.ts +0 -3
@@ -264,7 +264,7 @@ class TapSubscriber extends datoramaAkita.Subscriber {
264
264
  }
265
265
  }
266
266
 
267
- const AppVersion = '4.19.27767';
267
+ const AppVersion = '4.21.28044';
268
268
 
269
269
  // -------------------------------------------------------------------------------------
270
270
  // guards
@@ -3637,7 +3637,7 @@ const Consent = class {
3637
3637
  return this.eventTrackingService.TrackSuperFundDisclaimerViewedAsync(detail);
3638
3638
  }
3639
3639
  render() {
3640
- return (index.h("div", null, index.h("div", { class: "text-2xl sm:text-3xl font-bold text-center leading-8" }, "Important information about super"), index.h("div", { class: "sm:text-lg text-gray-600 mt-3 sm:mt-4 max-w-800 text-center leading-7 sm:leading-8" }, "The choice of superannuation fund is an important personal financial decision. Next, you\u2019ll be asked to nominate a super fund to receive your employer contributions."), index.h("div", { class: "flex justify-center mt-8 sm:mt-12" }, index.h("div", { class: "border shadow-sm p-4 pb-6 sm:p-6 sm:pb-8 max-w-560 rounded-lg" }, index.h("div", { class: "sm:text-lg font-bold leading-6" }, "By clicking \u201CContinue\u201D you acknowledge that:"), index.h("ul", { class: "list-disc list-outside ml-6 mt-3 mb-6 space-y-2 text-sm leading-6" }, index.h("li", null, "Flare (we/us) provides this paperless employee management service, will feature superannuation funds and offer you employee benefits that you may be interested in;"), index.h("li", null, "all content contained in the following pages does not take into account any of your objectives, financial situation or needs and does not constitute financial product advice;"), index.h("li", null, "in featuring any superannuation funds, we, the technology partner you are accessing us via, or your employer, are not providing any opinion or recommendation (actual or implied) in relation to the suitability or appropriateness of the featured funds;"), index.h("li", null, "if you do choose one of the featured superannuation funds, we and our associates will normally receive a fee for you doing so.")), index.h("sss-button", { fillWidth: true, promiseFn: () => this.handleSuperFundDisclaimerAccepted() }, "Continue")))));
3640
+ return (index.h("div", null, index.h("div", { class: "text-2xl sm:text-3xl font-bold text-center leading-8" }, "Important information about super"), index.h("div", { class: "sm:text-lg text-gray-600 mt-3 sm:mt-4 max-w-800 text-center leading-7 sm:leading-8" }, "The choice of superannuation fund is an important personal financial decision. Next, you\u2019ll be asked to nominate a super fund to receive your employer contributions."), index.h("div", { class: "flex justify-center mt-8 sm:mt-12" }, index.h("div", { class: "border shadow-sm p-4 pb-6 sm:p-6 sm:pb-8 max-w-560 rounded-lg" }, index.h("div", { class: "sm:text-lg font-bold leading-6" }, "By clicking \u201CContinue\u201D you acknowledge that:"), index.h("ul", { class: "list-disc list-outside ml-6 mt-3 mb-6 space-y-2 text-sm leading-6" }, index.h("li", null, "Flare (we/us) provides this paperless employee management service, will feature superannuation funds and offer you employee benefits that you may be interested in;"), index.h("li", null, "all content contained in the following pages does not take into account any of your objectives, financial situation or needs and does not constitute financial product advice;"), index.h("li", null, "in featuring any superannuation funds, we, the technology partner you are accessing us via, or your employer, are not providing any opinion or recommendation (actual or implied) in relation to the suitability or appropriateness of the featured funds;"), index.h("li", null, "if you do choose one of the featured superannuation funds, we and our associates will normally receive a fee for you doing so;"), index.h("li", null, "in the event that you choose one of the featured superannuation funds, we may pass on your personal information and TFN to a related party for the purpose of completing your chosen fund's application form.")), index.h("sss-button", { fillWidth: true, promiseFn: () => this.handleSuperFundDisclaimerAccepted() }, "Continue")))));
3641
3641
  }
3642
3642
  async handleSuperFundDisclaimerAccepted() {
3643
3643
  const detail = { promotedFundsShown: this.promotedFunds };
@@ -4004,136 +4004,109 @@ const SelectInputAsync = class {
4004
4004
  };
4005
4005
  SelectInputAsync.style = dropdownAsyncCss;
4006
4006
 
4007
+ const PoweredByFlareFS = 'Powered by FlareFS';
4007
4008
  const Slate = {
4008
4009
  Id: 'slate',
4009
4010
  Name: 'Slate Super',
4010
4011
  Logo: 'logo-slate.png',
4011
4012
  PdsUrl: 'https://slate.co/pds/?utm_source=flare&utm_medium=superselection',
4012
4013
  Usi: '32367272075001',
4013
- DiversaAbn: '49 006 421 638'
4014
+ DiversaAbn: '49 006 421 638',
4015
+ FooterTextOverride: none,
4016
+ DtoPropName: 'slate'
4014
4017
  };
4015
4018
  const AustralianRetirementTrust = {
4016
4019
  Id: 'australian-retirement-trust',
4017
4020
  Name: 'Australian Retirement Trust',
4018
4021
  Logo: 'logo-art.svg',
4019
4022
  PdsUrl: 'https://www.australianretirementtrust.com.au/library/media/pdfs/pds/super-savings-product-disclosure-statement-and-membership-form.pdf',
4020
- Abn: '60 905 115 063'
4023
+ Abn: '60 905 115 063',
4024
+ FooterTextOverride: none,
4025
+ DtoPropName: 'australianRetirementTrust'
4021
4026
  };
4022
4027
  const Aware = {
4023
4028
  Id: 'aware',
4024
4029
  Name: 'Aware Super',
4025
4030
  Logo: 'logo-aware.svg',
4026
4031
  PdsUrl: 'https://aware.com.au/member/forms-and-resources/pds/FSS',
4027
- Abn: '53 226 460 365'
4032
+ Abn: '53 226 460 365',
4033
+ FooterTextOverride: none,
4034
+ DtoPropName: 'aware'
4028
4035
  };
4029
4036
  const Active = {
4030
4037
  Id: 'active',
4031
4038
  Name: 'Active Super',
4032
4039
  Logo: 'logo-active.svg',
4033
4040
  PdsUrl: 'https://www.activesuper.com.au/pds',
4034
- Abn: '28 901 371 321'
4041
+ Abn: '28 901 371 321',
4042
+ FooterTextOverride: some(PoweredByFlareFS),
4043
+ DtoPropName: 'active'
4035
4044
  };
4036
4045
  const AustralianEthical = {
4037
4046
  Id: 'australian-ethical',
4038
4047
  Name: 'Australian Ethical',
4039
4048
  Logo: 'logo-aus-eth.svg',
4040
4049
  PdsUrl: 'https://www.australianethical.com.au/super/pds-forms/',
4041
- Abn: '43 079 259 733'
4050
+ Abn: '43 079 259 733',
4051
+ FooterTextOverride: none,
4052
+ DtoPropName: 'australianEthical'
4042
4053
  };
4043
4054
  const Virgin = {
4044
4055
  Id: 'virgin',
4045
4056
  Name: 'Virgin Money Super',
4046
4057
  Logo: 'logo-virgin.svg',
4047
4058
  PdsUrl: 'https://virginmoney.com.au/superannuation/',
4048
- Abn: '19 905 422 981'
4059
+ Abn: '19 905 422 981',
4060
+ FooterTextOverride: some(PoweredByFlareFS),
4061
+ DtoPropName: 'virgin'
4049
4062
  };
4050
4063
  const Spirit = {
4051
4064
  Id: 'spirit',
4052
4065
  Name: 'Spirit Super',
4053
4066
  Logo: 'logo-spirit.svg',
4054
4067
  PdsUrl: 'https://www.spiritsuper.com.au/pds',
4055
- Abn: '74 559 365 913'
4068
+ Abn: '74 559 365 913',
4069
+ FooterTextOverride: none,
4070
+ DtoPropName: 'spirit'
4056
4071
  };
4057
4072
  const First = {
4058
4073
  Id: 'first-super',
4059
4074
  Name: 'First Super',
4060
4075
  Logo: 'logo-first.svg',
4061
4076
  PdsUrl: 'https://www.firstsuper.com.au/forms-tools/product-disclosure-statements/',
4062
- Abn: '56 286 625 181'
4077
+ Abn: '56 286 625 181',
4078
+ FooterTextOverride: none,
4079
+ DtoPropName: 'firstSuper'
4063
4080
  };
4064
- const PromotedFundIdList = [
4065
- { dtoPropName: 'slate', id: Slate.Id },
4066
- { dtoPropName: 'australianRetirementTrust', id: AustralianRetirementTrust.Id },
4067
- { dtoPropName: 'aware', id: Aware.Id },
4068
- { dtoPropName: 'active', id: Active.Id },
4069
- { dtoPropName: 'australianEthical', id: AustralianEthical.Id },
4070
- { dtoPropName: 'virgin', id: Virgin.Id },
4071
- { dtoPropName: 'spirit', id: Spirit.Id },
4072
- { dtoPropName: 'firstSuper', id: First.Id }
4073
- ];
4074
- const getFundNameById = (id) => {
4075
- switch (id) {
4076
- case Slate.Id:
4077
- return Slate.Name;
4078
- case AustralianRetirementTrust.Id:
4079
- return AustralianRetirementTrust.Name;
4080
- case Aware.Id:
4081
- return Aware.Name;
4082
- case Active.Id:
4083
- return Active.Name;
4084
- case AustralianEthical.Id:
4085
- return AustralianEthical.Name;
4086
- case Virgin.Id:
4087
- return Virgin.Name;
4088
- case Spirit.Id:
4089
- return Spirit.Name;
4090
- case First.Id:
4091
- return First.Name;
4092
- default:
4093
- return;
4094
- }
4081
+ const MercerMyChoice = {
4082
+ Id: 'mercermychoice',
4083
+ Name: 'Mercer MyChoice',
4084
+ Logo: 'logo-mercer-mychoice.svg',
4085
+ PdsUrl: 'https://www.mercersuper.com.au/campaign-page/mercer-mychoice',
4086
+ TmdUrl: 'https://www.mercersuper.com.au/documents/target-market-determinations',
4087
+ Abn: '79 004 717 533',
4088
+ FooterTextOverride: some(PoweredByFlareFS),
4089
+ DtoPropName: 'mercerMyChoice'
4095
4090
  };
4096
- const getFundUsiById = (id) => {
4097
- switch (id) {
4098
- case Slate.Id:
4099
- return Slate.Usi;
4100
- default:
4101
- return; // other promoted funds have dynamic USI
4102
- }
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
4103
4101
  };
4104
- const getLogoSrc = (id) => {
4105
- let logo = '';
4106
- switch (id) {
4107
- case Slate.Id:
4108
- logo = Slate.Logo;
4109
- break;
4110
- case AustralianRetirementTrust.Id:
4111
- logo = AustralianRetirementTrust.Logo;
4112
- break;
4113
- case Aware.Id:
4114
- logo = Aware.Logo;
4115
- break;
4116
- case Active.Id:
4117
- logo = Active.Logo;
4118
- break;
4119
- case AustralianEthical.Id:
4120
- logo = AustralianEthical.Logo;
4121
- break;
4122
- case Virgin.Id:
4123
- logo = Virgin.Logo;
4124
- break;
4125
- case Spirit.Id:
4126
- logo = Spirit.Logo;
4127
- break;
4128
- case First.Id:
4129
- logo = First.Logo;
4130
- break;
4131
- default:
4132
- return;
4133
- }
4134
- if (logo !== '')
4135
- 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;
4136
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;
4137
4110
 
4138
4111
  function getPromotedFundUsi(dto) {
4139
4112
  if ('slate' in dto) {
@@ -4160,6 +4133,9 @@ function getPromotedFundUsi(dto) {
4160
4133
  else if ('firstSuper' in dto) {
4161
4134
  return some(dto.firstSuper.usi);
4162
4135
  }
4136
+ else if ('mercerMyChoice' in dto) {
4137
+ return some(dto.mercerMyChoice.usi);
4138
+ }
4163
4139
  else {
4164
4140
  return none;
4165
4141
  }
@@ -4206,6 +4182,9 @@ function getPromotedFundMemberNumber(dto) {
4206
4182
  else if ('firstSuper' in dto) {
4207
4183
  return some(dto.firstSuper.memberNumber);
4208
4184
  }
4185
+ else if ('mercerMyChoice' in dto) {
4186
+ return some(dto.mercerMyChoice.memberNumber);
4187
+ }
4209
4188
  else {
4210
4189
  return none;
4211
4190
  }
@@ -4230,7 +4209,7 @@ function getSuperChoiceMemberNumber(dto) {
4230
4209
 
4231
4210
  class ExistingFundService {
4232
4211
  async GetExistingFundAsync() {
4233
- var _a, _b;
4212
+ var _a;
4234
4213
  const choice = superSelectionAppService.superBuyer.superChoice;
4235
4214
  const choiceDetails = (_a = superSelectionAppService.superBuyer.superChoice) === null || _a === void 0 ? void 0 : _a.choiceDetails;
4236
4215
  if (!choice)
@@ -4241,13 +4220,14 @@ class ExistingFundService {
4241
4220
  const usi = getSuperChoiceUsi(choiceDetails);
4242
4221
  const memberNumber = getSuperChoiceMemberNumber(choiceDetails);
4243
4222
  if ('promoted' in choiceDetails) {
4244
- const fund = PromotedFundIdList.find((f) => f.dtoPropName in choiceDetails.promoted);
4245
- 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))
4246
4226
  return none;
4247
4227
  return some({
4248
4228
  type: 'Promoted Fund',
4249
- id: fund.id,
4250
- name: (_b = getFundNameById(fund.id)) !== null && _b !== void 0 ? _b : '',
4229
+ id: fund.value.Id,
4230
+ name: fund.value.Name,
4251
4231
  usi: usi,
4252
4232
  valid: 'Active',
4253
4233
  memberNumber: memberNumber,
@@ -4310,12 +4290,6 @@ class ExistingFundService {
4310
4290
  }
4311
4291
  const existingFundService = new ExistingFundService();
4312
4292
 
4313
- class FeatureFlagService {
4314
- static isNewComplianceEnabled() {
4315
- return true;
4316
- }
4317
- }
4318
-
4319
4293
  const ExistingChoice = class {
4320
4294
  constructor(hostRef) {
4321
4295
  index.registerInstance(this, hostRef);
@@ -4350,14 +4324,14 @@ const ExistingChoice = class {
4350
4324
  this.existingFund = chosenFundOption.value;
4351
4325
  }
4352
4326
  else {
4353
- navigationService.navigateInternally(this.history, FeatureFlagService.isNewComplianceEnabled()
4354
- ? SuperSelectionAppRoutes.ConsentPage
4355
- : SuperSelectionAppRoutes.ChoicePage);
4327
+ navigationService.navigateInternally(this.history, SuperSelectionAppRoutes.ConsentPage);
4356
4328
  }
4357
4329
  }
4358
4330
  render() {
4359
4331
  const PromotedFundView = (props) => {
4360
- 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 })));
4361
4335
  };
4362
4336
  const MyOwnFundView = () => {
4363
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" })))));
@@ -4396,18 +4370,18 @@ const ExistingChoice = class {
4396
4370
  async handleFundNominationDeclined() {
4397
4371
  const detail = this.createSuperFundNominationDetail(this.existingFund);
4398
4372
  await this.eventTrackingService.TrackSuperFundNominationDeclinedAsync(detail);
4399
- navigationService.navigateInternally(this.history, FeatureFlagService.isNewComplianceEnabled()
4400
- ? SuperSelectionAppRoutes.ConsentPage
4401
- : SuperSelectionAppRoutes.ChoicePage);
4373
+ navigationService.navigateInternally(this.history, SuperSelectionAppRoutes.ConsentPage);
4402
4374
  }
4403
4375
  };
4404
4376
 
4377
+ const DefaultFooterText = 'Powered by Flare';
4405
4378
  const FooterSection = class {
4406
4379
  constructor(hostRef) {
4407
4380
  index.registerInstance(this, hostRef);
4381
+ this.footerText = () => Option.isSome(this.textOverride) ? this.textOverride.value : DefaultFooterText;
4408
4382
  }
4409
4383
  render() {
4410
- 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, "Powered by Flare"), 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)));
4411
4385
  }
4412
4386
  };
4413
4387
 
@@ -4430,7 +4404,7 @@ const HeaderSection = class {
4430
4404
  index.registerInstance(this, hostRef);
4431
4405
  }
4432
4406
  render() {
4433
- 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())))));
4434
4408
  }
4435
4409
  };
4436
4410
 
@@ -4644,6 +4618,9 @@ const initial$1 = {
4644
4618
  fundId: ''
4645
4619
  };
4646
4620
  const { state: state$2 } = createStore(initial$1);
4621
+ function reset$1() {
4622
+ state$2.fundId = initial$1.fundId;
4623
+ }
4647
4624
 
4648
4625
  class PromotedFundJoinV1IFrameBuilder {
4649
4626
  constructor() {
@@ -4662,7 +4639,6 @@ class PromotedFundJoinV1IFrameBuilder {
4662
4639
  return;
4663
4640
  const postData = Object.assign(Object.assign({}, this.getMemberData()), { partnerId: superSelectionAppService.partnerIdOrDefault, accountId: superSelectionAppService.accountIdOrDefault, fundId: state$2.fundId, authToken: superSelectionAppService.jwt });
4664
4641
  const handleMessage = (event) => {
4665
- var _a;
4666
4642
  const { data } = event;
4667
4643
  if (!data) {
4668
4644
  return;
@@ -4675,11 +4651,22 @@ class PromotedFundJoinV1IFrameBuilder {
4675
4651
  break;
4676
4652
  case 'success':
4677
4653
  if (data.memberNumber) {
4654
+ const promotedFundId = state$2.fundId;
4655
+ const fundName = getFundNameByFundId(promotedFundId);
4678
4656
  navigationService.navigateInternallyToStandardChoice({
4679
4657
  history,
4680
- fundName: (_a = getFundNameById(state$2.fundId)) !== null && _a !== void 0 ? _a : '',
4681
- handleSubmitFn: (standardChoiceFormSignature) => promotedFundChoiceApi.submitChoiceAsync(Object.assign(Object.assign({}, state$2), { memberNumber: data.memberNumber, memberFirstName: data.memberFirstName, memberFamilyName: data.memberFamilyName, usi: data.usi.replace(/ /g, ''), standardChoiceFormSignature, shownFunds: superSelectionAppService.promotedFunds, defaultFundUsiSet: Option.toUndefined(superSelectionAppService.defaultFundUsi) })),
4682
- promotedFundId: state$2.fundId
4658
+ fundName: Option.isSome(fundName) ? fundName.value : '',
4659
+ handleSubmitFn: (standardChoiceFormSignature) => promotedFundChoiceApi.submitChoiceAsync({
4660
+ fundId: promotedFundId,
4661
+ memberNumber: data.memberNumber,
4662
+ memberFirstName: data.memberFirstName,
4663
+ memberFamilyName: data.memberFamilyName,
4664
+ usi: data.usi.replace(/ /g, ''),
4665
+ standardChoiceFormSignature,
4666
+ shownFunds: superSelectionAppService.promotedFunds,
4667
+ defaultFundUsiSet: Option.toUndefined(superSelectionAppService.defaultFundUsi)
4668
+ }),
4669
+ promotedFundId
4683
4670
  });
4684
4671
  break;
4685
4672
  }
@@ -4688,6 +4675,7 @@ class PromotedFundJoinV1IFrameBuilder {
4688
4675
  navigationService.navigateInternally(history, SuperSelectionAppRoutes.ChoicePage);
4689
4676
  break;
4690
4677
  }
4678
+ reset$1();
4691
4679
  return;
4692
4680
  }
4693
4681
  if (data.sender === 'promoted-fund-join') {
@@ -4780,7 +4768,6 @@ class PromotedFundJoinV2IFrameBuilder {
4780
4768
  return;
4781
4769
  const postData = Object.assign(Object.assign({}, this.getMemberData()), { partnerId: superSelectionAppService.partnerIdOrDefault, accountId: superSelectionAppService.accountIdOrDefault, fundId: state$2.fundId, authToken: superSelectionAppService.jwt });
4782
4770
  const handleMessage = (event) => {
4783
- var _a;
4784
4771
  const { data } = event;
4785
4772
  if (!data) {
4786
4773
  return;
@@ -4793,11 +4780,22 @@ class PromotedFundJoinV2IFrameBuilder {
4793
4780
  break;
4794
4781
  case 'success':
4795
4782
  if (data.memberNumber) {
4783
+ const promotedFundId = state$2.fundId;
4784
+ const fundName = getFundNameByFundId(promotedFundId);
4796
4785
  navigationService.navigateInternallyToStandardChoice({
4797
4786
  history,
4798
- fundName: (_a = getFundNameById(state$2.fundId)) !== null && _a !== void 0 ? _a : '',
4799
- handleSubmitFn: (standardChoiceFormSignature) => promotedFundChoiceApi.submitChoiceAsync(Object.assign(Object.assign({}, state$2), { memberNumber: data.memberNumber, memberFirstName: data.memberFirstName, memberFamilyName: data.memberFamilyName, usi: data.usi.replace(/ /g, ''), standardChoiceFormSignature, shownFunds: superSelectionAppService.promotedFunds, defaultFundUsiSet: Option.toUndefined(superSelectionAppService.defaultFundUsi) })),
4800
- promotedFundId: state$2.fundId
4787
+ fundName: Option.isSome(fundName) ? fundName.value : '',
4788
+ handleSubmitFn: (standardChoiceFormSignature) => promotedFundChoiceApi.submitChoiceAsync({
4789
+ fundId: promotedFundId,
4790
+ memberNumber: data.memberNumber,
4791
+ memberFirstName: data.memberFirstName,
4792
+ memberFamilyName: data.memberFamilyName,
4793
+ usi: data.usi.replace(/ /g, ''),
4794
+ standardChoiceFormSignature,
4795
+ shownFunds: superSelectionAppService.promotedFunds,
4796
+ defaultFundUsiSet: Option.toUndefined(superSelectionAppService.defaultFundUsi)
4797
+ }),
4798
+ promotedFundId
4801
4799
  });
4802
4800
  break;
4803
4801
  }
@@ -4806,6 +4804,7 @@ class PromotedFundJoinV2IFrameBuilder {
4806
4804
  navigationService.navigateInternally(history, SuperSelectionAppRoutes.ChoicePage);
4807
4805
  break;
4808
4806
  }
4807
+ reset$1();
4809
4808
  return;
4810
4809
  }
4811
4810
  if (data.sender === 'promoted-fund-join') {
@@ -5304,6 +5303,7 @@ class SlateIFrameBuilder {
5304
5303
  navigationService.navigateInternally(history, SuperSelectionAppRoutes.ChoicePage);
5305
5304
  break;
5306
5305
  }
5306
+ reset$1();
5307
5307
  return;
5308
5308
  }
5309
5309
  if (data.sender === 'flare' && origin.endsWith('join.slatesuper.com.au')) {
@@ -5390,8 +5390,7 @@ const StandardChoiceFormInputDefaultFund = class {
5390
5390
  this.isSubmitDisabled = true;
5391
5391
  }
5392
5392
  render() {
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" }, state.promotedFundId &&
5394
- 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: {
5395
5394
  'mt-3': true,
5396
5395
  'was-validated': this.formState === 'validated'
5397
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: {
@@ -5399,6 +5398,14 @@ const StandardChoiceFormInputDefaultFund = class {
5399
5398
  'invalid:border-red-300 invalid:text-red-900 invalid:focus:ring-red-500 invalid:focus:border-red-500': this.formState === 'validated'
5400
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"))))))));
5401
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
+ }
5402
5409
  async handleSubmitForm() {
5403
5410
  this.formState = 'validated';
5404
5411
  if (this.formElement.checkValidity()) {
@@ -5429,7 +5436,7 @@ const SuperChoiceItemBottom = class {
5429
5436
  this.joinFundClicked = index.createEvent(this, "joinFundClicked", 7);
5430
5437
  }
5431
5438
  render() {
5432
- 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))))));
5433
5440
  }
5434
5441
  handleFundClick() {
5435
5442
  return this.joinFundClicked.emit();
@@ -5441,7 +5448,7 @@ const SuperChoiceItemTop = class {
5441
5448
  index.registerInstance(this, hostRef);
5442
5449
  }
5443
5450
  render() {
5444
- 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)))));
5445
5452
  }
5446
5453
  };
5447
5454
 
@@ -5463,7 +5470,7 @@ const SuperChoicePage = class {
5463
5470
  const mygovLinkDisplay = 'www.my.gov.au';
5464
5471
  const superfundsLink = 'https://www.apra.gov.au/register-of-superannuation-institutions';
5465
5472
  const superfundsLinkDisplay = 'www.apra.gov.au';
5466
- 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: {
5467
5474
  'lg:grid border-l border-t lg:border-b rounded-lg': true,
5468
5475
  'lg:grid-cols-1 max-w-400': this.promotedFunds.length === 1,
5469
5476
  'lg:grid-cols-2 max-w-720': this.promotedFunds.length === 2,
@@ -5479,7 +5486,7 @@ const SuperChoicePage = class {
5479
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: {
5480
5487
  'hidden lg:block border-r': true,
5481
5488
  'rounded-br-lg': index$1 === this.promotedFunds.length - 1
5482
- } }, 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).")))))));
5483
5490
  }
5484
5491
  allFunds() {
5485
5492
  const Link = (props, children) => {
@@ -5592,6 +5599,18 @@ const SuperChoicePage = class {
5592
5599
  index.h("p", null, "Established super fund \u2013 anyone can join including KiwiSaver members")
5593
5600
  ],
5594
5601
  disclaimer: (index.h("div", null, index.h("p", null, "General advice only which has been prepared without taking into account your objectives, financial situation or needs. Consider whether the advice is appropriate for you and read the Product Disclosure Statement (PDS) before making any investment decisions. PDS and Target Market Determination are available at our", ' ', index.h(Link, { onClick: () => this.pdsViewedAsync(First.Name), href: First.PdsUrl }, "website"), ". Past performance is not a reliable indicator of future performance."), index.h("br", null), index.h("p", null, "Issued by First Super Pty Ltd ABN 42 053 498 472, AFSL 223988 (Trustee) as Trustee of First Super ABN 56 286 625 181.")))
5602
+ },
5603
+ {
5604
+ fundId: MercerMyChoice.Id,
5605
+ name: MercerMyChoice.Name,
5606
+ logo: MercerMyChoice.Logo,
5607
+ route: SuperSelectionAppRoutes.PromotedFundJoinV2,
5608
+ features: [
5609
+ index.h("p", null, "Save more super with our low fees"),
5610
+ index.h("p", null, "Take control with 6 MyChoice investment options"),
5611
+ index.h("p", null, "Join 850,000 Australians who trust our global expertise")
5612
+ ],
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)))
5595
5614
  }
5596
5615
  ];
5597
5616
  }
@@ -5606,11 +5625,12 @@ const SuperChoicePage = class {
5606
5625
  return fundTiles;
5607
5626
  }
5608
5627
  async handleJoinSuperClickAsync(fund) {
5609
- var _a;
5610
5628
  const promotedFundsShown = superSelectionAppService.promotedFunds;
5629
+ const fundUsi = getFundUsiByFundId(fund.fundId);
5630
+ const fundName = getFundNameByFundId(fund.fundId);
5611
5631
  await this.eventTrackingService.TrackPromotedSuperFundDetailViewedAsync({
5612
- fundUsi: getFundUsiById(fund.fundId),
5613
- 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 : '',
5614
5634
  promotedFundId: fund.fundId,
5615
5635
  promotedFundsShown,
5616
5636
  defaultFundUsiSet: Option.toUndefined(superSelectionAppService.defaultFundUsi)
@@ -6616,9 +6636,7 @@ const SuperSelectionApp = class {
6616
6636
  navigationService.navigateInternally(this.history, SuperSelectionAppRoutes.ExistingChoicePage);
6617
6637
  }
6618
6638
  else {
6619
- navigationService.navigateInternally(this.history, FeatureFlagService.isNewComplianceEnabled()
6620
- ? SuperSelectionAppRoutes.ConsentPage
6621
- : SuperSelectionAppRoutes.ChoicePage);
6639
+ navigationService.navigateInternally(this.history, SuperSelectionAppRoutes.ConsentPage);
6622
6640
  }
6623
6641
  }
6624
6642
  authTokenChanged(newValue) {
@@ -6630,6 +6648,14 @@ const SuperSelectionApp = class {
6630
6648
  render() {
6631
6649
  return (index.h(index.Host, null, index.h("link", { rel: "stylesheet", href: index.getAssetPath('apollo-super-selection.css'), media: "all" }), this.renderAppContent()));
6632
6650
  }
6651
+ isFundJoinPage() {
6652
+ return (window.location.pathname.includes(SuperSelectionAppRoutes.SlateJoin) ||
6653
+ window.location.pathname.includes(SuperSelectionAppRoutes.PromotedFundJoinV1) ||
6654
+ window.location.pathname.includes(SuperSelectionAppRoutes.PromotedFundJoinV2));
6655
+ }
6656
+ getFooterTextOverride() {
6657
+ return getFooterTextOverrideByFundId(state$2.fundId);
6658
+ }
6633
6659
  routerBaseUrl() {
6634
6660
  var _a;
6635
6661
  return ((_a = this.appBaseUrl) === null || _a === void 0 ? void 0 : _a.replace(/\/$/, '')) + '/';
@@ -6639,12 +6665,7 @@ const SuperSelectionApp = class {
6639
6665
  'pt-28': true,
6640
6666
  '-mt-12 pb-6': !this.isFundJoinPage(),
6641
6667
  '-mt-28': this.isFundJoinPage() // -mt value same as pt to negate it in embedded fund join pages
6642
- } }, superSelectionAppStencilRoutes, index.h("sss-footer-section", null))) : (index.h("div", { class: "flex justify-center py-20" }, index.h("sss-loading-indicator", null))))));
6643
- }
6644
- isFundJoinPage() {
6645
- return (window.location.pathname.includes(SuperSelectionAppRoutes.SlateJoin) ||
6646
- window.location.pathname.includes(SuperSelectionAppRoutes.PromotedFundJoinV1) ||
6647
- window.location.pathname.includes(SuperSelectionAppRoutes.PromotedFundJoinV2));
6668
+ } }, superSelectionAppStencilRoutes, index.h("sss-footer-section", { textOverride: this.getFooterTextOverride() }))) : (index.h("div", { class: "flex justify-center py-20" }, index.h("sss-loading-indicator", null))))));
6648
6669
  }
6649
6670
  static get assetsDirs() { return ["assets"]; }
6650
6671
  static get watchers() { return {