@flarehr/apollo-super-selection 1.2.30870 → 1.2.30963

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.
@@ -1,6 +1,7 @@
1
1
  import { Component, Event, h, Host, Listen, Prop, State } from '@stencil/core';
2
2
  import { fromEvent } from 'rxjs';
3
3
  import { debounceTime, distinctUntilChanged, filter, map, mergeMap, tap } from 'rxjs/operators';
4
+ import { assertExhaustive } from '../../../utils';
4
5
  const DEFAULT_SEARCH_LENGTH = 3;
5
6
  export class SelectInputAsync {
6
7
  constructor() {
@@ -34,6 +35,7 @@ export class SelectInputAsync {
34
35
  this.filteredOptions = result.value;
35
36
  break;
36
37
  default:
38
+ assertExhaustive(result);
37
39
  this.searchState = 'done';
38
40
  this.filteredOptions = [];
39
41
  break;
@@ -260,7 +260,7 @@ class TapSubscriber extends Subscriber {
260
260
  }
261
261
  }
262
262
 
263
- const AppVersion = '1.2.30870';
263
+ const AppVersion = '1.2.30963';
264
264
 
265
265
  // -------------------------------------------------------------------------------------
266
266
  // guards
@@ -3272,6 +3272,131 @@ exports.traverseArray(_function.identity);
3272
3272
 
3273
3273
  function e(e){this.message=e;}e.prototype=new Error,e.prototype.name="InvalidCharacterError";var r="undefined"!=typeof window&&window.atob&&window.atob.bind(window)||function(r){var t=String(r).replace(/=+$/,"");if(t.length%4==1)throw new e("'atob' failed: The string to be decoded is not correctly encoded.");for(var n,o,a=0,i=0,c="";o=t.charAt(i++);~o&&(n=a%4?64*n+o:o,a++%4)?c+=String.fromCharCode(255&n>>(-2*a&6)):0)o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(o);return c};function t(e){var t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw "Illegal base64url string!"}try{return function(e){return decodeURIComponent(r(e).replace(/(.)/g,(function(e,r){var t=r.charCodeAt(0).toString(16).toUpperCase();return t.length<2&&(t="0"+t),"%"+t})))}(t)}catch(e){return r(t)}}function n(e){this.message=e;}function o(e,r){if("string"!=typeof e)throw new n("Invalid token specified");var o=!0===(r=r||{}).header?0:1;try{return JSON.parse(t(e.split(".")[o]))}catch(e){throw new n("Invalid token specified: "+e.message)}}n.prototype=new Error,n.prototype.name="InvalidTokenError";
3274
3274
 
3275
+ function hydratePromotedFundChoiceDtoKind(dto) {
3276
+ if ('slate' in dto) {
3277
+ dto.kind = 'slate';
3278
+ }
3279
+ else if ('australianRetirementTrust' in dto) {
3280
+ dto.kind = 'australianRetirementTrust';
3281
+ }
3282
+ else if ('aware' in dto) {
3283
+ dto.kind = 'aware';
3284
+ }
3285
+ else if ('active' in dto) {
3286
+ dto.kind = 'active';
3287
+ }
3288
+ else if ('australianEthical' in dto) {
3289
+ dto.kind = 'australianEthical';
3290
+ }
3291
+ else if ('virgin' in dto) {
3292
+ dto.kind = 'virgin';
3293
+ }
3294
+ else if ('spirit' in dto) {
3295
+ dto.kind = 'spirit';
3296
+ }
3297
+ else if ('firstSuper' in dto) {
3298
+ dto.kind = 'firstSuper';
3299
+ }
3300
+ else if ('mercerMyChoice' in dto) {
3301
+ dto.kind = 'mercerMyChoice';
3302
+ }
3303
+ }
3304
+ function getPromotedFundUsi(dto) {
3305
+ switch (dto.kind) {
3306
+ case 'slate':
3307
+ return none;
3308
+ case 'australianRetirementTrust':
3309
+ return some(dto.australianRetirementTrust.usi);
3310
+ case 'aware':
3311
+ return some(dto.aware.usi);
3312
+ case 'active':
3313
+ return some(dto.active.usi);
3314
+ case 'australianEthical':
3315
+ return some(dto.australianEthical.usi);
3316
+ case 'virgin':
3317
+ return some(dto.virgin.usi);
3318
+ case 'spirit':
3319
+ return some(dto.spirit.usi);
3320
+ case 'firstSuper':
3321
+ return some(dto.firstSuper.usi);
3322
+ case 'mercerMyChoice':
3323
+ return some(dto.mercerMyChoice.usi);
3324
+ default:
3325
+ return none;
3326
+ }
3327
+ }
3328
+ function getSuperChoiceUsi(dto) {
3329
+ switch (dto.kind) {
3330
+ case 'Promoted':
3331
+ return getPromotedFundUsi(dto.promoted);
3332
+ case 'MyOwnFund':
3333
+ return some(dto.myOwnFund.usi);
3334
+ case 'SMSF':
3335
+ return none;
3336
+ case 'Default':
3337
+ return some(dto.default.usi);
3338
+ case 'PromotedDefault':
3339
+ return some(dto.promotedDefault.usi);
3340
+ default:
3341
+ return none;
3342
+ }
3343
+ }
3344
+ function getPromotedFundMemberNumber(dto) {
3345
+ switch (dto.kind) {
3346
+ case 'slate':
3347
+ return some(dto.slate.memberNumber);
3348
+ case 'australianRetirementTrust':
3349
+ return some(dto.australianRetirementTrust.memberNumber);
3350
+ case 'aware':
3351
+ return some(dto.aware.memberNumber);
3352
+ case 'active':
3353
+ return some(dto.active.memberNumber);
3354
+ case 'australianEthical':
3355
+ return some(dto.australianEthical.memberNumber);
3356
+ case 'virgin':
3357
+ return some(dto.virgin.memberNumber);
3358
+ case 'spirit':
3359
+ return some(dto.spirit.memberNumber);
3360
+ case 'firstSuper':
3361
+ return some(dto.firstSuper.memberNumber);
3362
+ case 'mercerMyChoice':
3363
+ return some(dto.mercerMyChoice.memberNumber);
3364
+ default:
3365
+ return none;
3366
+ }
3367
+ }
3368
+ function getSuperChoiceMemberNumber(dto) {
3369
+ switch (dto.kind) {
3370
+ case 'Promoted':
3371
+ return getPromotedFundMemberNumber(dto.promoted);
3372
+ case 'MyOwnFund':
3373
+ return some(dto.myOwnFund.memberNumber);
3374
+ case 'SMSF':
3375
+ case 'Default':
3376
+ case 'PromotedDefault':
3377
+ return none;
3378
+ default:
3379
+ return none;
3380
+ }
3381
+ }
3382
+ function hydrateSuperChoiceDetailsDtoKind(dto) {
3383
+ if ('promoted' in dto) {
3384
+ dto.kind = 'Promoted';
3385
+ }
3386
+ else if ('myOwnFund' in dto) {
3387
+ dto.kind = 'MyOwnFund';
3388
+ }
3389
+ else if ('smsf' in dto) {
3390
+ dto.kind = 'SMSF';
3391
+ }
3392
+ else if ('default' in dto) {
3393
+ dto.kind = 'Default';
3394
+ }
3395
+ else if ('promotedDefault' in dto) {
3396
+ dto.kind = 'PromotedDefault';
3397
+ }
3398
+ }
3399
+
3275
3400
  class SuperSelectionApi {
3276
3401
  async getAustralianFundsAsync(searchFilter, includeInactive = false) {
3277
3402
  return buildBackendApiClient()
@@ -3293,13 +3418,23 @@ class SuperSelectionApi {
3293
3418
  .json();
3294
3419
  }
3295
3420
  async getAppStateAsync() {
3296
- return buildBackendApiClient()
3421
+ var _a;
3422
+ const response = await buildBackendApiClient()
3297
3423
  .url('client-app-state')
3298
3424
  .get()
3299
3425
  .notFound(() => {
3300
3426
  throw new Error('Failed to fetch application configuration.');
3301
3427
  })
3302
3428
  .json();
3429
+ if ((_a = response.superBuyer.superChoice) === null || _a === void 0 ? void 0 : _a.choiceDetails) {
3430
+ hydrateSuperChoiceDetailsDtoKind(response.superBuyer.superChoice.choiceDetails);
3431
+ switch (response.superBuyer.superChoice.choiceDetails.kind) {
3432
+ case 'Promoted':
3433
+ hydratePromotedFundChoiceDtoKind(response.superBuyer.superChoice.choiceDetails.promoted);
3434
+ break;
3435
+ }
3436
+ }
3437
+ return response;
3303
3438
  }
3304
3439
  async getCampaignConnectAsync() {
3305
3440
  return buildBackendApiClient()
@@ -4193,10 +4328,47 @@ const fund$4 = {
4193
4328
  dtoPropName: 'firstSuper'
4194
4329
  };
4195
4330
 
4196
- const name$5 = 'Mercer MyChoice';
4331
+ const name$5 = 'Hesta Super';
4197
4332
  const fund$5 = {
4198
- fundId: 'mercermychoice',
4333
+ fundId: 'hesta-default',
4199
4334
  name: name$5,
4335
+ logo: 'logo-hesta.svg',
4336
+ route: SuperSelectionAppRoutes.PromotedFundJoinV2,
4337
+ features: [
4338
+ h("p", null, "A top-performing super fund* working for real-world impact"),
4339
+ h("p", null, "1+ million members"),
4340
+ h("p", null, "Expert help whenever you need it to help you face the future with confidence")
4341
+ ],
4342
+ featureSubText: (h("span", null,
4343
+ "* SuperRatings 10 Year Platinum Performance 2013-2023 (MySuper). Product ratings and awards are only one factor to be considered. See",
4344
+ ' ',
4345
+ h(Link, { className: "underline underline-offset-2 hover:text-gray-600", href: "https://www.hesta.com.au/ratings" }, "hesta.com.au/ratings"),
4346
+ ' ',
4347
+ "for more information.")),
4348
+ disclaimer: (h("div", { class: "space-y-2" },
4349
+ h("p", null,
4350
+ "You should look at your own financial position and requirements before making a decision. You may wish to consult an adviser when doing this or use the",
4351
+ ' ',
4352
+ h(Link, { href: "https://www.ato.gov.au/YourSuper-comparison-tool/" }, "ATO YourSuper comparison tool"),
4353
+ "."),
4354
+ h("p", null,
4355
+ "Visit",
4356
+ ' ',
4357
+ h(Link, { onClick: () => pdsViewedAsync(name$5), href: "https://www.hesta.com.au/pds" }, "hesta.com.au/pds"),
4358
+ ' ',
4359
+ "for a copy of a Product Disclosure Statement which should be considered when making a decision about the HESTA products on this website and to consider the relevant risks. The target market determination for HESTA products can be found at",
4360
+ ' ',
4361
+ h(Link, { href: "https://www.hesta.com.au/tmd" }, "hesta.com.au/tmd"),
4362
+ "."),
4363
+ h("p", null, "Issued by H.E.S.T. Australia Ltd ABN 66 006 818 695 AFSL No. 235249, Trustee of HESTA"))),
4364
+ footnoteTextOverride: Option.none,
4365
+ isPromotedDefault: true
4366
+ };
4367
+
4368
+ const name$6 = 'Mercer MyChoice';
4369
+ const fund$6 = {
4370
+ fundId: 'mercermychoice',
4371
+ name: name$6,
4200
4372
  logo: 'logo-mercer-mychoice.svg',
4201
4373
  route: SuperSelectionAppRoutes.PromotedFundJoinV2,
4202
4374
  features: [
@@ -4208,7 +4380,7 @@ const fund$5 = {
4208
4380
  h("p", null,
4209
4381
  "You should consider the",
4210
4382
  ' ',
4211
- h(Link, { href: "https://www.mercersuper.com.au/campaign-page/mercer-mychoice", onClick: () => pdsViewedAsync(name$5) }, "Product Disclosure Statement"),
4383
+ h(Link, { href: "https://www.mercersuper.com.au/campaign-page/mercer-mychoice", onClick: () => pdsViewedAsync(name$6) }, "Product Disclosure Statement"),
4212
4384
  ' ',
4213
4385
  "and",
4214
4386
  ' ',
@@ -4221,11 +4393,11 @@ const fund$5 = {
4221
4393
  dtoPropName: 'mercerMyChoice'
4222
4394
  };
4223
4395
 
4224
- const name$6 = 'Slate Super';
4396
+ const name$7 = 'Slate Super';
4225
4397
  const slateUsi = '32367272075001';
4226
- const fund$6 = {
4398
+ const fund$7 = {
4227
4399
  fundId: 'slate',
4228
- name: name$6,
4400
+ name: name$7,
4229
4401
  logo: 'logo-slate.png',
4230
4402
  route: SuperSelectionAppRoutes.SlateJoin,
4231
4403
  features: [
@@ -4236,7 +4408,7 @@ const fund$6 = {
4236
4408
  disclaimer: (h("p", { class: "small text-muted" },
4237
4409
  "You should consider the",
4238
4410
  ' ',
4239
- h(Link, { href: "https://slate.co/pds/?utm_source=flare&utm_medium=superselection", onClick: () => pdsViewedAsync(name$6, slateUsi) }, "Product Disclosure Statement"),
4411
+ h(Link, { href: "https://slate.co/pds/?utm_source=flare&utm_medium=superselection", onClick: () => pdsViewedAsync(name$7, slateUsi) }, "Product Disclosure Statement"),
4240
4412
  ' ',
4241
4413
  "and",
4242
4414
  ' ',
@@ -4249,10 +4421,10 @@ const fund$6 = {
4249
4421
  dtoPropName: 'slate'
4250
4422
  };
4251
4423
 
4252
- const name$7 = 'Spirit Super';
4253
- const fund$7 = {
4424
+ const name$8 = 'Spirit Super';
4425
+ const fund$8 = {
4254
4426
  fundId: 'spirit',
4255
- name: name$7,
4427
+ name: name$8,
4256
4428
  logo: 'logo-spirit.svg',
4257
4429
  route: SuperSelectionAppRoutes.PromotedFundJoinV2,
4258
4430
  features: [
@@ -4281,17 +4453,17 @@ const fund$7 = {
4281
4453
  disclaimer: (h("p", null,
4282
4454
  "Past performance isn\u2019t a reliable indicator of future performance. Consider the PDS and TMD at",
4283
4455
  ' ',
4284
- h(Link, { href: "https://www.spiritsuper.com.au/pds", onClick: () => pdsViewedAsync(name$7) }, "www.spiritsuper.com.au/pds"),
4456
+ h(Link, { href: "https://www.spiritsuper.com.au/pds", onClick: () => pdsViewedAsync(name$8) }, "www.spiritsuper.com.au/pds"),
4285
4457
  ' ',
4286
4458
  "before making a decision. Issuer is Motor Trades Association of Australia Superannuation Fund Pty Ltd (AFSL 238 718, ABN 14 008 650 628), the trustee of Spirit Super (ABN 74 559 365 913). Advice is provided by Quadrant First Pty Ltd (ABN 78 102 167 877, AFSL 284443).")),
4287
4459
  footnoteTextOverride: Option.none,
4288
4460
  dtoPropName: 'spirit'
4289
4461
  };
4290
4462
 
4291
- const name$8 = 'Virgin Money Super';
4292
- const fund$8 = {
4463
+ const name$9 = 'Virgin Money Super';
4464
+ const fund$9 = {
4293
4465
  fundId: 'virgin',
4294
- name: name$8,
4466
+ name: name$9,
4295
4467
  logo: 'logo-virgin.svg',
4296
4468
  route: SuperSelectionAppRoutes.PromotedFundJoinV2,
4297
4469
  features: [
@@ -4313,7 +4485,7 @@ const fund$8 = {
4313
4485
  disclaimer: (h("p", null,
4314
4486
  "Prepared by Virgin Money Financial Services Pty Ltd ABN 51 113 285 395 AFSL 286869 (\u2018Virgin Money\u2019). Virgin Money Super is a plan in the Mercer Super Trust ABN 19 905 422 981. Virgin Money Super is issued by Mercer Superannuation (Australia) Limited (MSAL) ABN 79 004 717 533 AFSL 235906 as trustee of the Mercer Super Trust. Consider the PDS and TMD at",
4315
4487
  ' ',
4316
- h(Link, { href: "https://virginmoney.com.au/superannuation/", onClick: () => pdsViewedAsync(name$8) }, "www.virginmoney.com.au"),
4488
+ h(Link, { href: "https://virginmoney.com.au/superannuation/", onClick: () => pdsViewedAsync(name$9) }, "www.virginmoney.com.au"),
4317
4489
  ' ',
4318
4490
  "before making a decision")),
4319
4491
  footnoteTextOverride: Option.some(PoweredByFlareFS),
@@ -4321,14 +4493,15 @@ const fund$8 = {
4321
4493
  };
4322
4494
 
4323
4495
  const fundsById = {
4324
- [fund$6.fundId]: fund$6,
4496
+ [fund$7.fundId]: fund$7,
4325
4497
  [fund$2.fundId]: fund$2,
4326
4498
  [fund$3.fundId]: fund$3,
4327
4499
  [fund.fundId]: fund,
4328
4500
  [fund$1.fundId]: fund$1,
4501
+ [fund$9.fundId]: fund$9,
4329
4502
  [fund$8.fundId]: fund$8,
4330
- [fund$7.fundId]: fund$7,
4331
4503
  [fund$4.fundId]: fund$4,
4504
+ [fund$6.fundId]: fund$6,
4332
4505
  [fund$5.fundId]: fund$5
4333
4506
  };
4334
4507
  const allPromotedFunds = Object.values(fundsById);
@@ -4338,88 +4511,9 @@ const getFundByDtoPropName = (dtoPropName) => {
4338
4511
  };
4339
4512
  const getFundNameByFundId = (fundId) => fundsById[fundId] != undefined ? some(fundsById[fundId].name) : none;
4340
4513
  const getFooterTextOverrideByFundId = (fundId) => { var _a, _b; return (_b = (_a = fundsById[fundId]) === null || _a === void 0 ? void 0 : _a.footnoteTextOverride) !== null && _b !== void 0 ? _b : none; };
4341
- const getFundUsiByFundId = (fundId) => fundId == fund$6.fundId ? some(slateUsi) : none;
4514
+ const getFundUsiByFundId = (fundId) => fundId == fund$7.fundId ? some(slateUsi) : none;
4342
4515
  const getLogoSrcByFundId = (fundId) => fundsById[fundId] != undefined ? some(getAssetPath(`assets/${fundsById[fundId].logo}`)) : none;
4343
4516
 
4344
- function getPromotedFundUsi(dto) {
4345
- switch (dto.kind) {
4346
- case 'slate':
4347
- return none;
4348
- case 'australianRetirementTrust':
4349
- return some(dto.australianRetirementTrust.usi);
4350
- case 'aware':
4351
- return some(dto.aware.usi);
4352
- case 'active':
4353
- return some(dto.active.usi);
4354
- case 'australianEthical':
4355
- return some(dto.australianEthical.usi);
4356
- case 'virgin':
4357
- return some(dto.virgin.usi);
4358
- case 'spirit':
4359
- return some(dto.spirit.usi);
4360
- case 'firstSuper':
4361
- return some(dto.firstSuper.usi);
4362
- case 'mercerMyChoice':
4363
- return some(dto.mercerMyChoice.usi);
4364
- default:
4365
- return none;
4366
- }
4367
- }
4368
- function getSuperChoiceUsi(dto) {
4369
- switch (dto.kind) {
4370
- case 'Promoted':
4371
- return getPromotedFundUsi(dto.promoted);
4372
- case 'MyOwnFund':
4373
- return some(dto.myOwnFund.usi);
4374
- case 'SMSF':
4375
- return none;
4376
- case 'Default':
4377
- return some(dto.default.usi);
4378
- case 'PromotedDefault':
4379
- return some(dto.promotedDefault.usi);
4380
- default:
4381
- return none;
4382
- }
4383
- }
4384
- function getPromotedFundMemberNumber(dto) {
4385
- switch (dto.kind) {
4386
- case 'slate':
4387
- return some(dto.slate.memberNumber);
4388
- case 'australianRetirementTrust':
4389
- return some(dto.australianRetirementTrust.memberNumber);
4390
- case 'aware':
4391
- return some(dto.aware.memberNumber);
4392
- case 'active':
4393
- return some(dto.active.memberNumber);
4394
- case 'australianEthical':
4395
- return some(dto.australianEthical.memberNumber);
4396
- case 'virgin':
4397
- return some(dto.virgin.memberNumber);
4398
- case 'spirit':
4399
- return some(dto.spirit.memberNumber);
4400
- case 'firstSuper':
4401
- return some(dto.firstSuper.memberNumber);
4402
- case 'mercerMyChoice':
4403
- return some(dto.mercerMyChoice.memberNumber);
4404
- default:
4405
- return none;
4406
- }
4407
- }
4408
- function getSuperChoiceMemberNumber(dto) {
4409
- switch (dto.kind) {
4410
- case 'Promoted':
4411
- return getPromotedFundMemberNumber(dto.promoted);
4412
- case 'MyOwnFund':
4413
- return some(dto.myOwnFund.memberNumber);
4414
- case 'SMSF':
4415
- case 'Default':
4416
- case 'PromotedDefault':
4417
- return none;
4418
- default:
4419
- return none;
4420
- }
4421
- }
4422
-
4423
4517
  class ExistingFundService {
4424
4518
  async GetExistingFundAsync() {
4425
4519
  var _a;
@@ -4572,6 +4666,7 @@ const ExistingChoice = class {
4572
4666
  return (h("div", null, h("div", { class: "text-2xl sm:text-3xl font-bold text-center" }, "Your super choice"), h("div", { class: "sm:text-lg text-gray-600 mt-3 sm:mt-4 max-w-800 text-center leading-7" }, "Continue with your chosen fund or choose another fund below."), h("div", { class: "flex justify-center mt-8 sm:mt-12" }, h("div", { class: "max-w-400 w-full" }, h("div", { class: "flex-col border shadow-sm p-6 pt-8 rounded-lg text-center" }, h("div", { class: "space-y-4" }, (() => {
4573
4667
  switch (this.existingFund.type) {
4574
4668
  case 'Promoted Fund':
4669
+ case 'Promoted Default Fund':
4575
4670
  return h(PromotedFundView, { id: this.existingFund.id });
4576
4671
  case 'Self Managed Fund':
4577
4672
  return h(SelfManagedFundView, null);
@@ -4579,13 +4674,20 @@ const ExistingChoice = class {
4579
4674
  return h(MyOwnFundView, null);
4580
4675
  case 'Default Fund':
4581
4676
  return h(DefaultFundView, null);
4677
+ default:
4678
+ return h("div", null);
4582
4679
  }
4583
4680
  })(), h("div", { class: "sm:text-lg font-bold leading-6" }, (() => {
4584
4681
  switch (this.existingFund.type) {
4585
4682
  case 'Default Fund':
4586
4683
  return "Employer's default fund";
4587
- default:
4684
+ case 'My Own Fund':
4685
+ case 'Promoted Fund':
4686
+ case 'Self Managed Fund':
4687
+ case 'Promoted Default Fund':
4588
4688
  return this.existingFund.name;
4689
+ default:
4690
+ return '';
4589
4691
  }
4590
4692
  })())), h("div", { class: "mt-6" }, h("sss-button", { fillWidth: true, promiseFn: () => this.handleFundNominationAccepted() }, "Continue with this fund"))), h("div", { class: "mt-4" }, h("sss-button", { fillWidth: true, variant: "secondary", promiseFn: () => this.handleFundNominationDeclined() }, "Choose another fund"))))));
4591
4693
  }
@@ -5004,7 +5106,8 @@ class PromotedFundJoinV2IFrameBuilder {
5004
5106
  navigationService.navigateInternally(history, SuperSelectionAppRoutes.ChoicePage);
5005
5107
  break;
5006
5108
  case 'success':
5007
- if (data.memberNumber) {
5109
+ if (state$2.isPromotedDefault ||
5110
+ (!state$2.isPromotedDefault && data.memberNumber)) {
5008
5111
  const promotedFundId = state$2.fundId;
5009
5112
  const fundName = getFundNameByFundId(promotedFundId);
5010
5113
  navigationService.navigateInternallyToStandardChoice({
@@ -5507,9 +5610,9 @@ class SlateIFrameBuilder {
5507
5610
  if (data.memberNumber) {
5508
5611
  navigationService.navigateInternallyToStandardChoice({
5509
5612
  history,
5510
- fundName: fund$6.name,
5613
+ fundName: fund$7.name,
5511
5614
  handleSubmitFn: (standardChoiceFormSignature) => slateChoiceApi.submitSlateChoiceAsync(Object.assign({ memberNumber: data.memberNumber, memberFirstName: data.memberFirstName, memberFamilyName: data.memberFamilyName, standardChoiceFormSignature, defaultFundUsiSet: Option.toUndefined(superSelectionAppService.defaultFundUsi) }, superSelectionAppService.promotedFundsConfig)),
5512
- promotedFundId: fund$6.fundId
5615
+ promotedFundId: fund$7.fundId
5513
5616
  });
5514
5617
  break;
5515
5618
  }
@@ -17176,6 +17279,8 @@ const SuperSelectionAppHost = class {
17176
17279
  return () => h("sss-loading-page", null);
17177
17280
  case AuthenticationState.Error:
17178
17281
  return () => h("h1", null, "Authentication Error");
17282
+ default:
17283
+ return () => h("h1", null, "Authentication Error");
17179
17284
  }
17180
17285
  }
17181
17286
  };