@flarehr/apollo-super-selection 1.4.56819 → 1.4.56843

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 (75) hide show
  1. package/dist/lib/apollo-super-selection/apollo-super-selection.esm.js +1 -1
  2. package/dist/lib/apollo-super-selection/p-0726177d.system.entry.js +69 -0
  3. package/dist/lib/apollo-super-selection/p-07893761.system.entry.js +1 -0
  4. package/dist/lib/apollo-super-selection/p-1a574672.entry.js +14 -0
  5. package/dist/lib/apollo-super-selection/p-2c136506.system.entry.js +1 -0
  6. package/dist/lib/apollo-super-selection/p-37ed5963.system.entry.js +1 -0
  7. package/dist/lib/apollo-super-selection/p-4a95528c.js +1 -0
  8. package/dist/lib/apollo-super-selection/p-524b1ff5.system.js +1 -0
  9. package/dist/lib/apollo-super-selection/p-5716179f.js +1 -0
  10. package/dist/lib/apollo-super-selection/p-6d4e757b.system.js +1 -0
  11. package/dist/lib/apollo-super-selection/p-89c8d0e2.entry.js +1 -0
  12. package/dist/lib/apollo-super-selection/p-9cd765f5.system.js +1 -0
  13. package/dist/lib/apollo-super-selection/p-a2b4e667.system.js +1 -0
  14. package/dist/lib/apollo-super-selection/p-a99c601b.js +1 -0
  15. package/dist/lib/apollo-super-selection/p-b3f43d1a.entry.js +1 -0
  16. package/dist/lib/apollo-super-selection/p-bbe230d9.entry.js +1 -0
  17. package/dist/lib/apollo-super-selection/p-bd6e6a8f.system.js +1 -1
  18. package/dist/lib/apollo-super-selection/p-d5c7a35f.js +1 -0
  19. package/dist/lib/apollo-super-selection/p-dac37462.system.js +1 -0
  20. package/dist/lib/apollo-super-selection/p-f8bb280b.js +1 -0
  21. package/dist/lib/cjs/apollo-super-selection.cjs.js +1 -1
  22. package/dist/lib/cjs/australian-fund-lookup.service-4be59dec.js +19 -0
  23. package/dist/lib/cjs/custom-fund.store-3d1ac996.js +37 -0
  24. package/dist/lib/cjs/event-tracking.service-ed12699a.js +296 -0
  25. package/dist/lib/cjs/injectHistory-eb188cf0.js +9 -0
  26. package/dist/lib/cjs/loader.cjs.js +1 -1
  27. package/dist/lib/cjs/sss-button_32.cjs.entry.js +382 -351
  28. package/dist/lib/cjs/sss-default-fund-router.cjs.entry.js +23 -0
  29. package/dist/lib/cjs/sss-default-fund.cjs.entry.js +61 -0
  30. package/dist/lib/cjs/sss-super-byof-host.cjs.entry.js +24 -21
  31. package/dist/lib/cjs/{custom-fund-choice.api-293c1ace.js → super-selection-app.service-ca52a1fc.js} +7 -331
  32. package/dist/lib/collection/collection-manifest.json +3 -1
  33. package/dist/lib/collection/components/default-fund/super-default-fund-types.js +1 -0
  34. package/dist/lib/collection/components/default-fund/super-default-fund.js +130 -0
  35. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/default-fund/default-fund-router.js +37 -0
  36. package/dist/lib/collection/components/super-selection-app/services/super-selection-app.routes.js +1 -1
  37. package/dist/lib/collection/components/super-selection-app/services/super-selection-app.service.js +4 -0
  38. package/dist/lib/collection/components/super-selection-app/services/super-selection.store.js +2 -1
  39. package/dist/lib/esm/apollo-super-selection.js +1 -1
  40. package/dist/lib/esm/australian-fund-lookup.service-a2f593d3.js +17 -0
  41. package/dist/lib/esm/custom-fund.store-dcc61edf.js +36 -0
  42. package/dist/lib/esm/event-tracking.service-9398a317.js +290 -0
  43. package/dist/lib/esm/injectHistory-e92e4664.js +7 -0
  44. package/dist/lib/esm/loader.js +1 -1
  45. package/dist/lib/esm/sss-button_32.entry.js +89 -58
  46. package/dist/lib/esm/sss-default-fund-router.entry.js +19 -0
  47. package/dist/lib/esm/sss-default-fund.entry.js +57 -0
  48. package/dist/lib/esm/sss-super-byof-host.entry.js +4 -1
  49. package/dist/lib/esm/{custom-fund-choice.api-42801d64.js → super-selection-app.service-50f199de.js} +8 -327
  50. package/dist/lib/esm-es5/apollo-super-selection.js +1 -1
  51. package/dist/lib/esm-es5/australian-fund-lookup.service-a2f593d3.js +1 -0
  52. package/dist/lib/esm-es5/custom-fund.store-dcc61edf.js +1 -0
  53. package/dist/lib/esm-es5/event-tracking.service-9398a317.js +1 -0
  54. package/dist/lib/esm-es5/injectHistory-e92e4664.js +1 -0
  55. package/dist/lib/esm-es5/loader.js +1 -1
  56. package/dist/lib/esm-es5/sss-button_32.entry.js +5 -5
  57. package/dist/lib/esm-es5/sss-default-fund-router.entry.js +1 -0
  58. package/dist/lib/esm-es5/sss-default-fund.entry.js +1 -0
  59. package/dist/lib/esm-es5/sss-super-byof-host.entry.js +1 -1
  60. package/dist/lib/esm-es5/super-selection-app.service-50f199de.js +1 -0
  61. package/dist/lib/types/components/default-fund/super-default-fund-types.d.ts +23 -0
  62. package/dist/lib/types/components/default-fund/super-default-fund.d.ts +20 -0
  63. package/dist/lib/types/components/super-selection-app/api/super-selection.api.dto.d.ts +1 -0
  64. package/dist/lib/types/components/super-selection-app/funds/custom-fund/default-fund/default-fund-router.d.ts +5 -0
  65. package/dist/lib/types/components/super-selection-app/services/super-selection-app.service.d.ts +1 -0
  66. package/dist/lib/types/components/super-selection-app/services/super-selection.store.d.ts +1 -0
  67. package/dist/lib/types/components.d.ts +30 -0
  68. package/package.json +1 -1
  69. package/dist/lib/apollo-super-selection/p-24d6e2b8.js +0 -1
  70. package/dist/lib/apollo-super-selection/p-a0063575.system.entry.js +0 -1
  71. package/dist/lib/apollo-super-selection/p-aa9dedee.system.entry.js +0 -69
  72. package/dist/lib/apollo-super-selection/p-b00f648b.entry.js +0 -1
  73. package/dist/lib/apollo-super-selection/p-c7ab3701.entry.js +0 -14
  74. package/dist/lib/apollo-super-selection/p-cd3ed541.system.js +0 -1
  75. package/dist/lib/esm-es5/custom-fund-choice.api-42801d64.js +0 -1
@@ -0,0 +1,130 @@
1
+ import { Component, h, Host, Prop, State } from '@stencil/core';
2
+ import { injectHistory } from '@stencil/router';
3
+ import * as O from 'fp-ts/lib/Option';
4
+ import customFundChoiceApi from '../super-selection-app/funds/custom-fund/api/custom-fund-choice.api';
5
+ import { EventTrackingService } from '../super-selection-app/services/event-tracking.service';
6
+ import navigationService from '../super-selection-app/services/navigation.service';
7
+ import { SuperSelectionAppRoutes } from '../super-selection-app/services/super-selection-app.routes';
8
+ import superSelectionAppService from '../super-selection-app/services/super-selection-app.service';
9
+ import { LoadWaitingTimeout } from './super-default-fund-types';
10
+ var SuperDefaultFundComponentStatus;
11
+ (function (SuperDefaultFundComponentStatus) {
12
+ SuperDefaultFundComponentStatus[SuperDefaultFundComponentStatus["NotLoaded"] = 1] = "NotLoaded";
13
+ SuperDefaultFundComponentStatus[SuperDefaultFundComponentStatus["Loaded"] = 2] = "Loaded";
14
+ })(SuperDefaultFundComponentStatus || (SuperDefaultFundComponentStatus = {}));
15
+ let superDefaultFundComponentStatus = SuperDefaultFundComponentStatus.NotLoaded;
16
+ export class SuperDefaultFundHost {
17
+ constructor() {
18
+ this.productName = 'Employer’s default fund';
19
+ this.eventTrackingService = EventTrackingService.Instance;
20
+ this.subscribeToSuperDefaultFundEvents = () => {
21
+ for (const eventName in this.defaultFundEventHandlers) {
22
+ document.addEventListener(eventName, this.defaultFundEventHandlers[eventName]);
23
+ }
24
+ };
25
+ this.unSubscribeFromSuperDefaultFundEvents = () => {
26
+ for (const eventName in this.defaultFundEventHandlers) {
27
+ document.removeEventListener(eventName, this.defaultFundEventHandlers[eventName]);
28
+ }
29
+ };
30
+ this.defaultFundLoaded = async (event) => {
31
+ var _a;
32
+ if (event.detail.sender === 'super-default-fund') {
33
+ superDefaultFundComponentStatus = SuperDefaultFundComponentStatus.Loaded;
34
+ clearTimeout(this.loadingTimeoutRef);
35
+ await this.eventTrackingService.TrackDefaultSuperFundDetailViewedAsync({
36
+ fundUsi: (_a = event.detail.fundUsi) !== null && _a !== void 0 ? _a : '',
37
+ fundName: this.productName,
38
+ promotedFundsShown: superSelectionAppService.promotedFunds,
39
+ defaultFundUsiSet: O.toUndefined(superSelectionAppService.defaultFundUsi)
40
+ });
41
+ }
42
+ return Promise.resolve();
43
+ };
44
+ this.defaultFundCompleted = async (event) => {
45
+ if (event.detail.sender === 'super-default-fund') {
46
+ navigationService.navigateInternallyToStandardChoice({
47
+ history: this.history,
48
+ fundName: this.productName,
49
+ fundDetails: {
50
+ type: 'default',
51
+ fundName: this.productName,
52
+ fundUsi: event.detail.fundUsi
53
+ },
54
+ handleSubmitFn: async (standardChoiceFormSignature) => {
55
+ await customFundChoiceApi.submitDefaultFundChoiceAsync(Object.assign({ standardChoiceFormSignature }, superSelectionAppService.promotedFundsConfig));
56
+ }
57
+ });
58
+ }
59
+ };
60
+ this.defaultFundCancelled = async (event) => {
61
+ if (event.detail.sender === 'super-default-fund') {
62
+ navigationService.navigateInternally(this.history, SuperSelectionAppRoutes.ChoicePage);
63
+ }
64
+ };
65
+ this.defaultFundEventHandlers = {
66
+ 'default-fund-loaded': this.defaultFundLoaded.bind(this),
67
+ 'default-fund-completed': this.defaultFundCompleted.bind(this),
68
+ 'default-fund-cancelled': this.defaultFundCancelled.bind(this)
69
+ };
70
+ }
71
+ async componentWillLoad() {
72
+ if (O.isSome(superSelectionAppService.backendUrl) &&
73
+ O.isSome(superSelectionAppService.state.jwt)) {
74
+ this.backendUrl = superSelectionAppService.backendUrl.value;
75
+ this.accessToken = superSelectionAppService.state.jwt.value;
76
+ if (superDefaultFundComponentStatus === SuperDefaultFundComponentStatus.NotLoaded) {
77
+ this.loadingTimeoutRef = setTimeout(this.defaultFundLoadingTimeoutTriggered.bind(this), LoadWaitingTimeout);
78
+ }
79
+ this.subscribeToSuperDefaultFundEvents();
80
+ }
81
+ else {
82
+ throw Error(`SuperDefaultFundHost pre-requisites not met.`);
83
+ }
84
+ }
85
+ disconnectedCallback() {
86
+ clearTimeout(this.loadingTimeoutRef);
87
+ this.unSubscribeFromSuperDefaultFundEvents;
88
+ }
89
+ render() {
90
+ return (h(Host, null,
91
+ h("sss-header-section", null),
92
+ h("div", { class: "flex justify-center mt-11" },
93
+ h("sss-custom-fund", null,
94
+ h("div", null,
95
+ h("apollo-super-default-fund", { "backend-url": this.backendUrl, "access-token": this.accessToken }))))));
96
+ }
97
+ async defaultFundLoadingTimeoutTriggered() {
98
+ if (superDefaultFundComponentStatus !== SuperDefaultFundComponentStatus.Loaded) {
99
+ throw Error(`Default Fund component failed to load.`);
100
+ }
101
+ }
102
+ static get is() { return "sss-default-fund-host"; }
103
+ static get properties() { return {
104
+ "history": {
105
+ "type": "unknown",
106
+ "mutable": false,
107
+ "complexType": {
108
+ "original": "RouterHistory",
109
+ "resolved": "RouterHistory",
110
+ "references": {
111
+ "RouterHistory": {
112
+ "location": "import",
113
+ "path": "@stencil/router"
114
+ }
115
+ }
116
+ },
117
+ "required": false,
118
+ "optional": false,
119
+ "docs": {
120
+ "tags": [],
121
+ "text": ""
122
+ }
123
+ }
124
+ }; }
125
+ static get states() { return {
126
+ "backendUrl": {},
127
+ "accessToken": {}
128
+ }; }
129
+ }
130
+ injectHistory(SuperDefaultFundHost);
@@ -0,0 +1,37 @@
1
+ import { Component, h, Host, Prop } from '@stencil/core';
2
+ import { injectHistory } from '@stencil/router';
3
+ import superSelectionAppService from '../../../services/super-selection-app.service';
4
+ export class DefaultFundRouter {
5
+ render() {
6
+ if (superSelectionAppService.isDefaultFundNewComponentEnabled) {
7
+ return (h(Host, null,
8
+ h("sss-default-fund-host", null)));
9
+ }
10
+ return (h(Host, null,
11
+ h("sss-default-fund", { history: this.history })));
12
+ }
13
+ static get is() { return "sss-default-fund-router"; }
14
+ static get properties() { return {
15
+ "history": {
16
+ "type": "unknown",
17
+ "mutable": false,
18
+ "complexType": {
19
+ "original": "RouterHistory",
20
+ "resolved": "RouterHistory",
21
+ "references": {
22
+ "RouterHistory": {
23
+ "location": "import",
24
+ "path": "@stencil/router"
25
+ }
26
+ }
27
+ },
28
+ "required": false,
29
+ "optional": false,
30
+ "docs": {
31
+ "tags": [],
32
+ "text": ""
33
+ }
34
+ }
35
+ }; }
36
+ }
37
+ injectHistory(DefaultFundRouter);
@@ -31,7 +31,7 @@ export const superSelectionAppStencilRoutes = [
31
31
  h("stencil-route", { url: SuperSelectionAppRoutes.PrefillSMSFPage, component: "sss-prefill-smsf" }),
32
32
  h("stencil-route", { url: SuperSelectionAppRoutes.PrefillInvalidSMSFPage, component: "sss-prefill-invalid-smsf" }),
33
33
  h("stencil-route", { url: SuperSelectionAppRoutes.SelfManagedFund, component: "sss-super-smsf-host" }),
34
- h("stencil-route", { url: SuperSelectionAppRoutes.DefaultFund, component: "sss-default-fund" }),
34
+ h("stencil-route", { url: SuperSelectionAppRoutes.DefaultFund, component: "sss-default-fund-router" }),
35
35
  h("stencil-route", { url: SuperSelectionAppRoutes.FeaturedFunds, component: "sss-super-campaign-featured-funds" }),
36
36
  h("stencil-route", { url: SuperSelectionAppRoutes.StandardChoice, component: "sss-standard-choice-form" }),
37
37
  h("stencil-route", { url: SuperSelectionAppRoutes.Success, component: "sss-success" })
@@ -103,6 +103,7 @@ export class SuperSelectionAppService {
103
103
  appStateResponse.bringYourOwnFundCustomStepEnabled;
104
104
  this._state.smsfCustomStepEnabled = appStateResponse.smsfCustomStepEnabled;
105
105
  this._state.featuredFundsEnabled = appStateResponse.featuredFundsEnabled;
106
+ this._state.defaultFundNewComponentEnabled = appStateResponse.defaultFundNewComponentEnabled;
106
107
  this._state.superChoicePrefill = O.fromNullable(appStateResponse.prefill);
107
108
  this._state.isDefinedBenefitsEligible = O.fromNullable(appStateResponse.isDefinedBenefitsEligible);
108
109
  if (O.isSome(this._state.accountConfiguration)) {
@@ -150,6 +151,9 @@ export class SuperSelectionAppService {
150
151
  get isFeaturedFundsEnabled() {
151
152
  return this.state.featuredFundsEnabled;
152
153
  }
154
+ get isDefaultFundNewComponentEnabled() {
155
+ return this.state.defaultFundNewComponentEnabled;
156
+ }
153
157
  get superCampaignCanNotBeActivated() {
154
158
  return (!this.state.superCampaignEnabled ||
155
159
  this.superCampaignComponentStatus === SuperCampaignComponentStatus.NotWorking);
@@ -41,5 +41,6 @@ export const initialState = {
41
41
  hideFooterSection: false,
42
42
  bringYourOwnFundCustomStepEnabled: false,
43
43
  smsfCustomStepEnabled: false,
44
- featuredFundsEnabled: false
44
+ featuredFundsEnabled: false,
45
+ defaultFundNewComponentEnabled: false
45
46
  };
@@ -16,5 +16,5 @@ const patchBrowser = () => {
16
16
 
17
17
  patchBrowser().then(options => {
18
18
  globalScripts();
19
- return bootstrapLazy([["sss-super-byof-host",[[0,"sss-super-byof-host",{"history":[16],"backendUrl":[32],"accessToken":[32]}]]],["context-consumer",[[0,"context-consumer",{"context":[16],"renderer":[16],"subscribe":[16],"unsubscribe":[32]}]]],["stencil-async-content",[[0,"stencil-async-content",{"documentLocation":[1,"document-location"],"content":[32]}]]],["stencil-route-title",[[0,"stencil-route-title",{"titleSuffix":[1,"title-suffix"],"pageTitle":[1,"page-title"]}]]],["stencil-router-prompt",[[0,"stencil-router-prompt",{"when":[4],"message":[1],"history":[16],"unblock":[32]}]]],["stencil-router-redirect",[[0,"stencil-router-redirect",{"history":[16],"root":[1],"url":[1]}]]],["sss-button_32",[[0,"sss-prefill",{"history":[16],"prefill":[32]}],[1,"super-selection-app-host",{"sessionState":[32],"jwt":[32],"appConfiguration":[32],"ignoreExistingSelection":[32]}],[0,"sss-default-fund",{"history":[16],"defaultFundProductName":[32]}],[0,"sss-super-campaign-featured-funds",{"history":[16],"backendUrl":[32],"accessToken":[32],"currentView":[32]}],[0,"sss-super-smsf-host",{"history":[16],"backendUrl":[32],"accessToken":[32]}],[0,"sss-existing-choice-page",{"history":[16],"existingFund":[32]}],[0,"sss-standard-choice-form",{"history":[16],"standardChoiceFormSignature":[32],"formState":[32],"isSubmitDisabled":[32]}],[0,"sss-success"],[0,"sss-choice-router",{"history":[16]}],[0,"sss-my-own-fund-engagement-step-host",{"history":[16],"backendUrl":[32],"accessToken":[32],"fundUsi":[32],"fundName":[32],"memberNumber":[32],"memberFirstName":[32],"memberFamilyName":[32]}],[0,"sss-smsf-engagement-step-host",{"history":[16],"backendUrl":[32],"accessToken":[32],"fundName":[32],"fundAbn":[32],"fundEsa":[32],"fundAddress":[32],"bsb":[32],"bankAccountName":[32],"bankAccountNumber":[32],"memberFirstName":[32],"memberFamilyName":[32],"accountId":[32],"partnerId":[32]}],[0,"sss-super-campaign-host",{"history":[16],"scriptImported":[32],"backendUrl":[32],"accessToken":[32]}],[0,"sss-dropdown-async",{"testId":[1,"test-id"],"placeholder":[1],"searchFunction":[16],"value":[16],"required":[4],"requiredValidationMessage":[1,"required-validation-message"],"disabled":[4],"minSearchStringLength":[2,"min-search-string-length"],"showValidationErrors":[4,"show-validation-errors"],"searchState":[32],"inputValue":[32],"isDropdownVisible":[32],"filteredOptions":[32],"highlightedOptionIndex":[32],"selectedOption":[32]},[[2,"focus","handleFocus"],[2,"blur","handleBlur"],[2,"keydown","handleKeyDown"]]],[0,"sss-name-input",{"testId":[1,"test-id"],"value":[1],"name":[1],"readableName":[1,"readable-name"],"showValidationErrors":[4,"show-validation-errors"],"errorMessage":[32]}],[0,"sss-prefill-my-own-fund",{"history":[16],"prefill":[16],"mode":[32],"formState":[32],"isSubmitDisabled":[32],"fundUsi":[32],"fundName":[32],"memberNumber":[32],"memberGivenNames":[32],"memberLastName":[32]}],[0,"sss-prefill-smsf",{"history":[16],"prefill":[16],"mode":[32],"formState":[32],"isSubmitDisabled":[32],"fundName":[32],"fundAbn":[32],"fundEsa":[32],"fundAddressLine1":[32],"fundAddressLine2":[32],"fundAddressCity":[32],"fundAddressPostcode":[32],"fundAddressState":[32],"fundAddress":[32],"memberGivenNames":[32],"memberLastName":[32],"bankAccountName":[32],"bankName":[32],"bankAccountBsb":[32],"bankAccountNumber":[32]}],[0,"sss-prefill-invalid-my-own-fund",{"history":[16],"prefill":[16],"fundUsi":[32],"fundName":[32],"memberNumber":[32],"memberGivenNames":[32],"memberLastName":[32]}],[0,"sss-prefill-invalid-smsf",{"history":[16],"prefill":[16],"fundName":[32],"fundAbn":[32],"fundEsa":[32],"fundAddressLine1":[32],"fundAddressLine2":[32],"fundAddressCity":[32],"fundAddressPostcode":[32],"fundAddressState":[32],"fundAddress":[32],"memberGivenNames":[32],"memberLastName":[32],"bankAccountName":[32],"bankAccountBsb":[32],"bankAccountNumber":[32]}],[1,"super-selection-app",{"ignoreExistingSelection":[4,"ignore-existing-selection"],"accessToken":[1,"access-token"],"backendUrl":[1,"backend-url"],"appBaseUrl":[1,"app-base-url"],"history":[16],"location":[16],"isSelfHosted":[4,"is-self-hosted"],"isAppInitialised":[32]}],[0,"sss-loading-page"],[0,"sss-footer-section",{"textOverride":[1,"text-override"]}],[4,"stencil-route-switch",{"group":[513],"scrollTopOffset":[2,"scroll-top-offset"],"location":[16],"routeViewsUpdated":[16]}],[4,"stencil-router",{"root":[1],"historyType":[1,"history-type"],"titleSuffix":[1,"title-suffix"],"scrollTopOffset":[2,"scroll-top-offset"],"location":[32],"history":[32]}],[0,"sss-prefill-warning-box",{"notificationList":[16]}],[0,"sss-header-section"],[4,"sss-custom-fund",{"history":[16],"currentCustomFund":[32],"fundOptionsList":[32],"showFundOptionsSelection":[32]}],[0,"sss-prefill-display-field",{"field":[16]}],[0,"sss-prefill-error-box",{"withHeader":[4,"with-header"],"notificationList":[16]}],[4,"stencil-route-link",{"url":[1],"urlMatch":[1,"url-match"],"activeClass":[1,"active-class"],"exact":[4],"strict":[4],"custom":[1],"anchorClass":[1,"anchor-class"],"anchorRole":[1,"anchor-role"],"anchorTitle":[1,"anchor-title"],"anchorTabIndex":[1,"anchor-tab-index"],"anchorId":[1,"anchor-id"],"history":[16],"location":[16],"root":[1],"ariaHaspopup":[1,"aria-haspopup"],"ariaPosinset":[1,"aria-posinset"],"ariaSetsize":[2,"aria-setsize"],"ariaLabel":[1,"aria-label"],"match":[32]}],[4,"sss-button",{"testid":[1],"fillWidth":[4,"fill-width"],"fillWidthOnMobile":[4,"fill-width-on-mobile"],"disabled":[4],"variant":[1],"size":[1],"promiseFn":[16],"state":[32]}],[0,"sss-loading-indicator",{"theme":[1],"size":[2]}],[0,"stencil-route",{"group":[513],"componentUpdated":[16],"match":[1040],"url":[1],"component":[1],"componentProps":[16],"exact":[4],"routeRender":[16],"scrollTopOffset":[2,"scroll-top-offset"],"routeViewsUpdated":[16],"location":[16],"history":[16],"historyType":[1,"history-type"]}]]]], options);
19
+ return bootstrapLazy([["sss-default-fund-router",[[0,"sss-default-fund-router",{"history":[16]}]]],["sss-super-byof-host",[[0,"sss-super-byof-host",{"history":[16],"backendUrl":[32],"accessToken":[32]}]]],["context-consumer",[[0,"context-consumer",{"context":[16],"renderer":[16],"subscribe":[16],"unsubscribe":[32]}]]],["stencil-async-content",[[0,"stencil-async-content",{"documentLocation":[1,"document-location"],"content":[32]}]]],["stencil-route-title",[[0,"stencil-route-title",{"titleSuffix":[1,"title-suffix"],"pageTitle":[1,"page-title"]}]]],["stencil-router-prompt",[[0,"stencil-router-prompt",{"when":[4],"message":[1],"history":[16],"unblock":[32]}]]],["stencil-router-redirect",[[0,"stencil-router-redirect",{"history":[16],"root":[1],"url":[1]}]]],["sss-button_32",[[0,"sss-prefill",{"history":[16],"prefill":[32]}],[1,"super-selection-app-host",{"sessionState":[32],"jwt":[32],"appConfiguration":[32],"ignoreExistingSelection":[32]}],[0,"sss-super-campaign-featured-funds",{"history":[16],"backendUrl":[32],"accessToken":[32],"currentView":[32]}],[0,"sss-super-smsf-host",{"history":[16],"backendUrl":[32],"accessToken":[32]}],[0,"sss-existing-choice-page",{"history":[16],"existingFund":[32]}],[0,"sss-standard-choice-form",{"history":[16],"standardChoiceFormSignature":[32],"formState":[32],"isSubmitDisabled":[32]}],[0,"sss-success"],[0,"sss-choice-router",{"history":[16]}],[0,"sss-my-own-fund-engagement-step-host",{"history":[16],"backendUrl":[32],"accessToken":[32],"fundUsi":[32],"fundName":[32],"memberNumber":[32],"memberFirstName":[32],"memberFamilyName":[32]}],[0,"sss-smsf-engagement-step-host",{"history":[16],"backendUrl":[32],"accessToken":[32],"fundName":[32],"fundAbn":[32],"fundEsa":[32],"fundAddress":[32],"bsb":[32],"bankAccountName":[32],"bankAccountNumber":[32],"memberFirstName":[32],"memberFamilyName":[32],"accountId":[32],"partnerId":[32]}],[0,"sss-super-campaign-host",{"history":[16],"scriptImported":[32],"backendUrl":[32],"accessToken":[32]}],[0,"sss-dropdown-async",{"testId":[1,"test-id"],"placeholder":[1],"searchFunction":[16],"value":[16],"required":[4],"requiredValidationMessage":[1,"required-validation-message"],"disabled":[4],"minSearchStringLength":[2,"min-search-string-length"],"showValidationErrors":[4,"show-validation-errors"],"searchState":[32],"inputValue":[32],"isDropdownVisible":[32],"filteredOptions":[32],"highlightedOptionIndex":[32],"selectedOption":[32]},[[2,"focus","handleFocus"],[2,"blur","handleBlur"],[2,"keydown","handleKeyDown"]]],[0,"sss-name-input",{"testId":[1,"test-id"],"value":[1],"name":[1],"readableName":[1,"readable-name"],"showValidationErrors":[4,"show-validation-errors"],"errorMessage":[32]}],[0,"sss-prefill-my-own-fund",{"history":[16],"prefill":[16],"mode":[32],"formState":[32],"isSubmitDisabled":[32],"fundUsi":[32],"fundName":[32],"memberNumber":[32],"memberGivenNames":[32],"memberLastName":[32]}],[0,"sss-prefill-smsf",{"history":[16],"prefill":[16],"mode":[32],"formState":[32],"isSubmitDisabled":[32],"fundName":[32],"fundAbn":[32],"fundEsa":[32],"fundAddressLine1":[32],"fundAddressLine2":[32],"fundAddressCity":[32],"fundAddressPostcode":[32],"fundAddressState":[32],"fundAddress":[32],"memberGivenNames":[32],"memberLastName":[32],"bankAccountName":[32],"bankName":[32],"bankAccountBsb":[32],"bankAccountNumber":[32]}],[0,"sss-prefill-invalid-my-own-fund",{"history":[16],"prefill":[16],"fundUsi":[32],"fundName":[32],"memberNumber":[32],"memberGivenNames":[32],"memberLastName":[32]}],[0,"sss-prefill-invalid-smsf",{"history":[16],"prefill":[16],"fundName":[32],"fundAbn":[32],"fundEsa":[32],"fundAddressLine1":[32],"fundAddressLine2":[32],"fundAddressCity":[32],"fundAddressPostcode":[32],"fundAddressState":[32],"fundAddress":[32],"memberGivenNames":[32],"memberLastName":[32],"bankAccountName":[32],"bankAccountBsb":[32],"bankAccountNumber":[32]}],[1,"super-selection-app",{"ignoreExistingSelection":[4,"ignore-existing-selection"],"accessToken":[1,"access-token"],"backendUrl":[1,"backend-url"],"appBaseUrl":[1,"app-base-url"],"history":[16],"location":[16],"isSelfHosted":[4,"is-self-hosted"],"isAppInitialised":[32]}],[0,"sss-default-fund-host",{"history":[16],"backendUrl":[32],"accessToken":[32]}],[0,"sss-loading-page"],[0,"sss-footer-section",{"textOverride":[1,"text-override"]}],[4,"stencil-route-switch",{"group":[513],"scrollTopOffset":[2,"scroll-top-offset"],"location":[16],"routeViewsUpdated":[16]}],[4,"stencil-router",{"root":[1],"historyType":[1,"history-type"],"titleSuffix":[1,"title-suffix"],"scrollTopOffset":[2,"scroll-top-offset"],"location":[32],"history":[32]}],[0,"sss-prefill-warning-box",{"notificationList":[16]}],[0,"sss-prefill-display-field",{"field":[16]}],[0,"sss-prefill-error-box",{"withHeader":[4,"with-header"],"notificationList":[16]}],[0,"sss-header-section"],[4,"sss-custom-fund",{"history":[16],"currentCustomFund":[32],"fundOptionsList":[32],"showFundOptionsSelection":[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",{"testid":[1],"fillWidth":[4,"fill-width"],"fillWidthOnMobile":[4,"fill-width-on-mobile"],"disabled":[4],"variant":[1],"size":[1],"promiseFn":[16],"state":[32]}],[0,"sss-loading-indicator",{"theme":[1],"size":[2]}],[0,"stencil-route",{"group":[513],"componentUpdated":[16],"match":[1040],"url":[1],"component":[1],"componentProps":[16],"exact":[4],"routeRender":[16],"scrollTopOffset":[2,"scroll-top-offset"],"routeViewsUpdated":[16],"location":[16],"history":[16],"historyType":[1,"history-type"]}]]],["sss-default-fund",[[0,"sss-default-fund",{"history":[16],"defaultFundProductName":[32]}]]]], options);
20
20
  });
@@ -0,0 +1,17 @@
1
+ import { f as superSelectionApi, O as Option } from './super-selection-app.service-50f199de.js';
2
+
3
+ class AustralianFundLookupService {
4
+ async searchFundsAsync(searchString, maxRecordCount) {
5
+ return superSelectionApi.getAustralianFundsAsync({
6
+ searchString,
7
+ maxRecordCount
8
+ });
9
+ }
10
+ async getFundAsync(usi, includeInactive) {
11
+ const result = await superSelectionApi.getAustralianFundAsync(usi, includeInactive);
12
+ return Option.some(result);
13
+ }
14
+ }
15
+ const australianFundLookupService = new AustralianFundLookupService();
16
+
17
+ export { australianFundLookupService as a };
@@ -0,0 +1,36 @@
1
+ import { l as createStore, n as none } from './super-selection-app.service-50f199de.js';
2
+
3
+ var CustomFundTypes;
4
+ (function (CustomFundTypes) {
5
+ CustomFundTypes["MyOwnFund"] = "Existing super fund";
6
+ CustomFundTypes["DefaultFund"] = "Default super fund";
7
+ CustomFundTypes["SelfManagedFund"] = "Self-managed super fund";
8
+ CustomFundTypes["FeaturedFunds"] = "Featured super funds";
9
+ })(CustomFundTypes || (CustomFundTypes = {}));
10
+ const initialStateCustomFund = {
11
+ myOwnFundForm: {
12
+ fundUsi: none,
13
+ fundName: none,
14
+ memberNumber: none,
15
+ memberFirstName: none,
16
+ memberFamilyName: none
17
+ },
18
+ selfManagedFundForm: {
19
+ fundName: '',
20
+ fundAbn: '',
21
+ fundEsa: '',
22
+ addressLine1: '',
23
+ addressLine2: '',
24
+ state: '',
25
+ postcode: '',
26
+ city: '',
27
+ bankAccountName: '',
28
+ bsb: '',
29
+ bankAccountNumber: '',
30
+ memberFirstName: '',
31
+ memberFamilyName: ''
32
+ }
33
+ };
34
+ const { state, reset } = createStore(initialStateCustomFund);
35
+
36
+ export { CustomFundTypes as C, state as s };
@@ -0,0 +1,290 @@
1
+ import { h } from './index-107d7c24.js';
2
+ import { l as createStore, a as superSelectionAppService, c as buildBackendApiClient } from './super-selection-app.service-50f199de.js';
3
+
4
+ function appReady() {
5
+ postMessage({
6
+ type: 'appReady'
7
+ });
8
+ }
9
+ function postMessage(message, origin) {
10
+ if (origin === undefined)
11
+ origin = '*';
12
+ message.sender = 'flare';
13
+ window.parent.postMessage(message, origin);
14
+ }
15
+ function resize(height, width) {
16
+ postMessage({
17
+ type: 'contentResized',
18
+ height,
19
+ width
20
+ });
21
+ }
22
+ function navigation(url) {
23
+ postMessage({
24
+ type: 'pageNavigated',
25
+ url
26
+ });
27
+ }
28
+ function complete() {
29
+ postMessage({ type: 'complete' });
30
+ }
31
+ function submitSuccess() {
32
+ postMessage({
33
+ type: 'submitSuccess'
34
+ });
35
+ }
36
+ const iframe = { appReady, resize, navigation, complete, submitSuccess };
37
+
38
+ const initial = {
39
+ handleSubmitFn: async function () {
40
+ return;
41
+ },
42
+ fundName: '',
43
+ fundDetails: { type: 'null' },
44
+ promotedFundId: undefined
45
+ };
46
+ const { state } = createStore(initial);
47
+
48
+ var SuperSelectionAppRoutes;
49
+ (function (SuperSelectionAppRoutes) {
50
+ SuperSelectionAppRoutes["ExistingChoicePage"] = "/existing";
51
+ SuperSelectionAppRoutes["SuperCampaign"] = "/super-campaign";
52
+ SuperSelectionAppRoutes["ChoicePage"] = "/";
53
+ SuperSelectionAppRoutes["MyOwnFund"] = "/super-choice/my-own-fund/";
54
+ SuperSelectionAppRoutes["MyOwnFundEngagementStep"] = "/super-choice/my-own-fund-engagement/";
55
+ SuperSelectionAppRoutes["SmsfEngagementStep"] = "/super-choice/smsf-engagement/";
56
+ SuperSelectionAppRoutes["Prefill"] = "/super-choice/prefill/";
57
+ SuperSelectionAppRoutes["PrefillInvalidMyOwnFundPage"] = "/super-choice/sss-prefill-invalid-my-own-fund/";
58
+ SuperSelectionAppRoutes["PrefillMyOwnFundPage"] = "/super-choice/prefill-my-own-fund/";
59
+ SuperSelectionAppRoutes["PrefillSMSFPage"] = "/super-choice/prefill-smsf/";
60
+ SuperSelectionAppRoutes["PrefillInvalidSMSFPage"] = "/super-choice/prefill-invalid-smsf/";
61
+ SuperSelectionAppRoutes["SelfManagedFund"] = "/super-choice/smsf/";
62
+ SuperSelectionAppRoutes["DefaultFund"] = "/super-choice/default/";
63
+ SuperSelectionAppRoutes["FeaturedFunds"] = "/super-choice/featured-funds/";
64
+ SuperSelectionAppRoutes["StandardChoice"] = "/standard-choice/";
65
+ SuperSelectionAppRoutes["Success"] = "/success/";
66
+ })(SuperSelectionAppRoutes || (SuperSelectionAppRoutes = {}));
67
+ const superSelectionAppStencilRoutes = [
68
+ h("stencil-route", { url: SuperSelectionAppRoutes.ExistingChoicePage, component: "sss-existing-choice-page" }),
69
+ h("stencil-route", { url: SuperSelectionAppRoutes.SuperCampaign, component: "sss-super-campaign-host" }),
70
+ h("stencil-route", { exact: true, url: SuperSelectionAppRoutes.ChoicePage, component: "sss-choice-router" }),
71
+ h("stencil-route", { url: SuperSelectionAppRoutes.MyOwnFund, component: "sss-super-byof-host" }),
72
+ h("stencil-route", { url: SuperSelectionAppRoutes.MyOwnFundEngagementStep, component: "sss-my-own-fund-engagement-step-host" }),
73
+ h("stencil-route", { url: SuperSelectionAppRoutes.SmsfEngagementStep, component: "sss-smsf-engagement-step-host" }),
74
+ h("stencil-route", { url: SuperSelectionAppRoutes.PrefillInvalidMyOwnFundPage, component: "sss-prefill-invalid-my-own-fund" }),
75
+ h("stencil-route", { url: SuperSelectionAppRoutes.Prefill, component: "sss-prefill" }),
76
+ h("stencil-route", { url: SuperSelectionAppRoutes.PrefillMyOwnFundPage, component: "sss-prefill-my-own-fund" }),
77
+ h("stencil-route", { url: SuperSelectionAppRoutes.PrefillSMSFPage, component: "sss-prefill-smsf" }),
78
+ h("stencil-route", { url: SuperSelectionAppRoutes.PrefillInvalidSMSFPage, component: "sss-prefill-invalid-smsf" }),
79
+ h("stencil-route", { url: SuperSelectionAppRoutes.SelfManagedFund, component: "sss-super-smsf-host" }),
80
+ h("stencil-route", { url: SuperSelectionAppRoutes.DefaultFund, component: "sss-default-fund-router" }),
81
+ h("stencil-route", { url: SuperSelectionAppRoutes.FeaturedFunds, component: "sss-super-campaign-featured-funds" }),
82
+ h("stencil-route", { url: SuperSelectionAppRoutes.StandardChoice, component: "sss-standard-choice-form" }),
83
+ h("stencil-route", { url: SuperSelectionAppRoutes.Success, component: "sss-success" })
84
+ ];
85
+
86
+ class NavigationService {
87
+ navigateInternally(history, route) {
88
+ const path = `${this.appBaseUrl}${this.toRouteWithLeadingSlash(route)}`;
89
+ iframe.navigation(path);
90
+ history.push(path);
91
+ }
92
+ navigateInternallyToStandardChoice(options) {
93
+ state.handleSubmitFn = options.handleSubmitFn;
94
+ state.fundName = options.fundName;
95
+ state.fundDetails = options.fundDetails;
96
+ state.promotedFundId = options.promotedFundId;
97
+ this.navigateInternally(options.history, SuperSelectionAppRoutes.StandardChoice);
98
+ }
99
+ toExternalUrl(url) {
100
+ const externalUrl = new URL(url);
101
+ externalUrl.searchParams.append('_extnav', 'true');
102
+ return externalUrl.href;
103
+ }
104
+ get appBaseUrl() {
105
+ const baseUrl = superSelectionAppService.appBaseUrl;
106
+ return baseUrl.replace(/\/$/, '');
107
+ }
108
+ toRouteWithLeadingSlash(route) {
109
+ return route.length > 0 && route[0] === '/' ? route : `/${route}`;
110
+ }
111
+ }
112
+ const navigationService = new NavigationService();
113
+
114
+ class CustomFundChoiceApi {
115
+ async submitDefaultFundChoiceAsync(dto) {
116
+ return buildBackendApiClient()
117
+ .url('super-choice/default')
118
+ .post(dto)
119
+ .badRequest(() => {
120
+ throw new Error('Failed to process default fund join request');
121
+ })
122
+ .text();
123
+ }
124
+ async submitCustomFundChoiceAsync(dto) {
125
+ return buildBackendApiClient()
126
+ .url('super-choice/custom-fund')
127
+ .post(dto)
128
+ .badRequest(() => {
129
+ throw new Error('Failed to process custom fund join request');
130
+ })
131
+ .text();
132
+ }
133
+ async submitSelfManagedFundChoiceAsync(dto) {
134
+ return buildBackendApiClient()
135
+ .url('super-choice/smsf')
136
+ .post(dto)
137
+ .badRequest(() => {
138
+ throw new Error('Failed to process SMSF choice request');
139
+ })
140
+ .text();
141
+ }
142
+ async submitDefinedBenefitsChoiceAsync(dto) {
143
+ return buildBackendApiClient()
144
+ .url('super-choice/defined-benefits')
145
+ .post(dto)
146
+ .badRequest(() => {
147
+ throw new Error('Failed to process Defined Benefits choice request');
148
+ })
149
+ .text();
150
+ }
151
+ async validateAbnForSMSF(abn) {
152
+ const response = await buildBackendApiClient()
153
+ .url(`super-choice/smsf/${abn}/validate`)
154
+ .get()
155
+ .badRequest(() => {
156
+ throw new Error('Failed to verify that if the provided abn is used for regulated fund');
157
+ })
158
+ .json();
159
+ return response.result;
160
+ }
161
+ }
162
+ const customFundChoiceApi = new CustomFundChoiceApi();
163
+
164
+ class EventTrackingApi {
165
+ static get Instance() {
166
+ return this.instance || (this.instance = new this());
167
+ }
168
+ async PostAnalyticsEventAsync(event) {
169
+ return buildBackendApiClient().url('analytics-events').post(event).res();
170
+ }
171
+ }
172
+
173
+ class EventTrackingService {
174
+ constructor() {
175
+ this.eventTrackingApi = EventTrackingApi.Instance;
176
+ }
177
+ static get Instance() {
178
+ return this.instance || (this.instance = new this());
179
+ }
180
+ async TrackSuperFundPdsViewedAsync(detail) {
181
+ return this.trackEventAsync({
182
+ SuperFundPdsViewed: detail
183
+ });
184
+ }
185
+ async TrackPromotedSuperFundDetailViewedAsync(detail) {
186
+ return this.trackEventAsync({
187
+ SuperFundDetailViewed: {
188
+ PromotedFund: detail
189
+ }
190
+ });
191
+ }
192
+ async TrackPromotedDefaultSuperFundDetailViewedAsync(detail) {
193
+ return this.trackEventAsync({
194
+ SuperFundDetailViewed: {
195
+ PromotedDefaultFund: detail
196
+ }
197
+ });
198
+ }
199
+ async TrackMyOwnSuperFundDetailViewedAsync(detail) {
200
+ return this.trackEventAsync({
201
+ SuperFundDetailViewed: {
202
+ MyOwnFund: detail
203
+ }
204
+ });
205
+ }
206
+ async TrackSmsfSuperFundDetailViewedAsync(detail) {
207
+ return this.trackEventAsync({
208
+ SuperFundDetailViewed: {
209
+ Smsf: detail
210
+ }
211
+ });
212
+ }
213
+ async TrackDefaultSuperFundDetailViewedAsync(detail) {
214
+ return this.trackEventAsync({
215
+ SuperFundDetailViewed: {
216
+ DefaultFund: detail
217
+ }
218
+ });
219
+ }
220
+ async TrackSuperFundNominationViewedAsync(detail) {
221
+ return this.trackEventAsync({
222
+ SuperFundNominationViewed: detail
223
+ });
224
+ }
225
+ async TrackSuperFundNominationDeclinedAsync(detail) {
226
+ return this.trackEventAsync({
227
+ SuperFundNominationDeclined: detail
228
+ });
229
+ }
230
+ async TrackSuperFundDisclaimerViewedAsync(detail) {
231
+ return this.trackEventAsync({
232
+ SuperFundDisclaimerViewed: detail
233
+ });
234
+ }
235
+ async TrackSuperFundDisclaimerAcceptedAsync(detail) {
236
+ return this.trackEventAsync({
237
+ SuperFundDisclaimerAccepted: detail
238
+ });
239
+ }
240
+ async TrackSuperFundPrefillViewedAsync(detail) {
241
+ return this.trackEventAsync({
242
+ SuperFundPrefillViewed: detail
243
+ });
244
+ }
245
+ async TrackSuperFundPrefillDeclinedAsync(detail) {
246
+ return this.trackEventAsync({
247
+ SuperFundPrefillDeclined: detail
248
+ });
249
+ }
250
+ async TrackSuperFundDetailChangeRequestedAsync(detail) {
251
+ return this.trackEventAsync({
252
+ SuperFundDetailChangeRequested: detail
253
+ });
254
+ }
255
+ async TrackSuperCampaignActivationSucceededAsync(detail) {
256
+ return this.trackEventAsync({
257
+ SuperCampaignActivationSucceeded: detail
258
+ });
259
+ }
260
+ async TrackSuperMyOwnFundEngagementStepActivationSucceeded(fundUsi) {
261
+ return this.trackEventAsync({
262
+ SuperMyOwnFundEngagementStepActivationSucceeded: { fundUsi }
263
+ });
264
+ }
265
+ async TrackSuperMyOwnFundEngagementStepContinued(fundUsi, reason) {
266
+ return this.trackEventAsync({
267
+ SuperMyOwnFundEngagementStepContinued: { fundUsi, reason }
268
+ });
269
+ }
270
+ async TrackSuperSmsfEngagementStepActivationSucceeded() {
271
+ return this.trackEventAsync({
272
+ SuperSmsfEngagementStepActivationSucceeded: {}
273
+ });
274
+ }
275
+ async TrackSuperSmsfEngagementStepContinued(reason) {
276
+ return this.trackEventAsync({
277
+ SuperSmsfEngagementStepContinued: { reason }
278
+ });
279
+ }
280
+ async trackEventAsync(event) {
281
+ try {
282
+ await this.eventTrackingApi.PostAnalyticsEventAsync({ event });
283
+ }
284
+ catch (_a) {
285
+ return;
286
+ }
287
+ }
288
+ }
289
+
290
+ export { EventTrackingService as E, SuperSelectionAppRoutes as S, superSelectionAppStencilRoutes as a, customFundChoiceApi as c, iframe as i, navigationService as n, state as s };
@@ -0,0 +1,7 @@
1
+ import { A as ActiveRouter } from './active-router-d18b36fb.js';
2
+
3
+ function injectHistory(Component) {
4
+ ActiveRouter.injectProps(Component, ['history', 'location']);
5
+ }
6
+
7
+ export { injectHistory as i };
@@ -13,7 +13,7 @@ const defineCustomElements = (win, options) => {
13
13
  if (typeof window === 'undefined') return Promise.resolve();
14
14
  return patchEsm().then(() => {
15
15
  globalScripts();
16
- return bootstrapLazy([["sss-super-byof-host",[[0,"sss-super-byof-host",{"history":[16],"backendUrl":[32],"accessToken":[32]}]]],["context-consumer",[[0,"context-consumer",{"context":[16],"renderer":[16],"subscribe":[16],"unsubscribe":[32]}]]],["stencil-async-content",[[0,"stencil-async-content",{"documentLocation":[1,"document-location"],"content":[32]}]]],["stencil-route-title",[[0,"stencil-route-title",{"titleSuffix":[1,"title-suffix"],"pageTitle":[1,"page-title"]}]]],["stencil-router-prompt",[[0,"stencil-router-prompt",{"when":[4],"message":[1],"history":[16],"unblock":[32]}]]],["stencil-router-redirect",[[0,"stencil-router-redirect",{"history":[16],"root":[1],"url":[1]}]]],["sss-button_32",[[0,"sss-prefill",{"history":[16],"prefill":[32]}],[1,"super-selection-app-host",{"sessionState":[32],"jwt":[32],"appConfiguration":[32],"ignoreExistingSelection":[32]}],[0,"sss-default-fund",{"history":[16],"defaultFundProductName":[32]}],[0,"sss-super-campaign-featured-funds",{"history":[16],"backendUrl":[32],"accessToken":[32],"currentView":[32]}],[0,"sss-super-smsf-host",{"history":[16],"backendUrl":[32],"accessToken":[32]}],[0,"sss-existing-choice-page",{"history":[16],"existingFund":[32]}],[0,"sss-standard-choice-form",{"history":[16],"standardChoiceFormSignature":[32],"formState":[32],"isSubmitDisabled":[32]}],[0,"sss-success"],[0,"sss-choice-router",{"history":[16]}],[0,"sss-my-own-fund-engagement-step-host",{"history":[16],"backendUrl":[32],"accessToken":[32],"fundUsi":[32],"fundName":[32],"memberNumber":[32],"memberFirstName":[32],"memberFamilyName":[32]}],[0,"sss-smsf-engagement-step-host",{"history":[16],"backendUrl":[32],"accessToken":[32],"fundName":[32],"fundAbn":[32],"fundEsa":[32],"fundAddress":[32],"bsb":[32],"bankAccountName":[32],"bankAccountNumber":[32],"memberFirstName":[32],"memberFamilyName":[32],"accountId":[32],"partnerId":[32]}],[0,"sss-super-campaign-host",{"history":[16],"scriptImported":[32],"backendUrl":[32],"accessToken":[32]}],[0,"sss-dropdown-async",{"testId":[1,"test-id"],"placeholder":[1],"searchFunction":[16],"value":[16],"required":[4],"requiredValidationMessage":[1,"required-validation-message"],"disabled":[4],"minSearchStringLength":[2,"min-search-string-length"],"showValidationErrors":[4,"show-validation-errors"],"searchState":[32],"inputValue":[32],"isDropdownVisible":[32],"filteredOptions":[32],"highlightedOptionIndex":[32],"selectedOption":[32]},[[2,"focus","handleFocus"],[2,"blur","handleBlur"],[2,"keydown","handleKeyDown"]]],[0,"sss-name-input",{"testId":[1,"test-id"],"value":[1],"name":[1],"readableName":[1,"readable-name"],"showValidationErrors":[4,"show-validation-errors"],"errorMessage":[32]}],[0,"sss-prefill-my-own-fund",{"history":[16],"prefill":[16],"mode":[32],"formState":[32],"isSubmitDisabled":[32],"fundUsi":[32],"fundName":[32],"memberNumber":[32],"memberGivenNames":[32],"memberLastName":[32]}],[0,"sss-prefill-smsf",{"history":[16],"prefill":[16],"mode":[32],"formState":[32],"isSubmitDisabled":[32],"fundName":[32],"fundAbn":[32],"fundEsa":[32],"fundAddressLine1":[32],"fundAddressLine2":[32],"fundAddressCity":[32],"fundAddressPostcode":[32],"fundAddressState":[32],"fundAddress":[32],"memberGivenNames":[32],"memberLastName":[32],"bankAccountName":[32],"bankName":[32],"bankAccountBsb":[32],"bankAccountNumber":[32]}],[0,"sss-prefill-invalid-my-own-fund",{"history":[16],"prefill":[16],"fundUsi":[32],"fundName":[32],"memberNumber":[32],"memberGivenNames":[32],"memberLastName":[32]}],[0,"sss-prefill-invalid-smsf",{"history":[16],"prefill":[16],"fundName":[32],"fundAbn":[32],"fundEsa":[32],"fundAddressLine1":[32],"fundAddressLine2":[32],"fundAddressCity":[32],"fundAddressPostcode":[32],"fundAddressState":[32],"fundAddress":[32],"memberGivenNames":[32],"memberLastName":[32],"bankAccountName":[32],"bankAccountBsb":[32],"bankAccountNumber":[32]}],[1,"super-selection-app",{"ignoreExistingSelection":[4,"ignore-existing-selection"],"accessToken":[1,"access-token"],"backendUrl":[1,"backend-url"],"appBaseUrl":[1,"app-base-url"],"history":[16],"location":[16],"isSelfHosted":[4,"is-self-hosted"],"isAppInitialised":[32]}],[0,"sss-loading-page"],[0,"sss-footer-section",{"textOverride":[1,"text-override"]}],[4,"stencil-route-switch",{"group":[513],"scrollTopOffset":[2,"scroll-top-offset"],"location":[16],"routeViewsUpdated":[16]}],[4,"stencil-router",{"root":[1],"historyType":[1,"history-type"],"titleSuffix":[1,"title-suffix"],"scrollTopOffset":[2,"scroll-top-offset"],"location":[32],"history":[32]}],[0,"sss-prefill-warning-box",{"notificationList":[16]}],[0,"sss-header-section"],[4,"sss-custom-fund",{"history":[16],"currentCustomFund":[32],"fundOptionsList":[32],"showFundOptionsSelection":[32]}],[0,"sss-prefill-display-field",{"field":[16]}],[0,"sss-prefill-error-box",{"withHeader":[4,"with-header"],"notificationList":[16]}],[4,"stencil-route-link",{"url":[1],"urlMatch":[1,"url-match"],"activeClass":[1,"active-class"],"exact":[4],"strict":[4],"custom":[1],"anchorClass":[1,"anchor-class"],"anchorRole":[1,"anchor-role"],"anchorTitle":[1,"anchor-title"],"anchorTabIndex":[1,"anchor-tab-index"],"anchorId":[1,"anchor-id"],"history":[16],"location":[16],"root":[1],"ariaHaspopup":[1,"aria-haspopup"],"ariaPosinset":[1,"aria-posinset"],"ariaSetsize":[2,"aria-setsize"],"ariaLabel":[1,"aria-label"],"match":[32]}],[4,"sss-button",{"testid":[1],"fillWidth":[4,"fill-width"],"fillWidthOnMobile":[4,"fill-width-on-mobile"],"disabled":[4],"variant":[1],"size":[1],"promiseFn":[16],"state":[32]}],[0,"sss-loading-indicator",{"theme":[1],"size":[2]}],[0,"stencil-route",{"group":[513],"componentUpdated":[16],"match":[1040],"url":[1],"component":[1],"componentProps":[16],"exact":[4],"routeRender":[16],"scrollTopOffset":[2,"scroll-top-offset"],"routeViewsUpdated":[16],"location":[16],"history":[16],"historyType":[1,"history-type"]}]]]], options);
16
+ return bootstrapLazy([["sss-default-fund-router",[[0,"sss-default-fund-router",{"history":[16]}]]],["sss-super-byof-host",[[0,"sss-super-byof-host",{"history":[16],"backendUrl":[32],"accessToken":[32]}]]],["context-consumer",[[0,"context-consumer",{"context":[16],"renderer":[16],"subscribe":[16],"unsubscribe":[32]}]]],["stencil-async-content",[[0,"stencil-async-content",{"documentLocation":[1,"document-location"],"content":[32]}]]],["stencil-route-title",[[0,"stencil-route-title",{"titleSuffix":[1,"title-suffix"],"pageTitle":[1,"page-title"]}]]],["stencil-router-prompt",[[0,"stencil-router-prompt",{"when":[4],"message":[1],"history":[16],"unblock":[32]}]]],["stencil-router-redirect",[[0,"stencil-router-redirect",{"history":[16],"root":[1],"url":[1]}]]],["sss-button_32",[[0,"sss-prefill",{"history":[16],"prefill":[32]}],[1,"super-selection-app-host",{"sessionState":[32],"jwt":[32],"appConfiguration":[32],"ignoreExistingSelection":[32]}],[0,"sss-super-campaign-featured-funds",{"history":[16],"backendUrl":[32],"accessToken":[32],"currentView":[32]}],[0,"sss-super-smsf-host",{"history":[16],"backendUrl":[32],"accessToken":[32]}],[0,"sss-existing-choice-page",{"history":[16],"existingFund":[32]}],[0,"sss-standard-choice-form",{"history":[16],"standardChoiceFormSignature":[32],"formState":[32],"isSubmitDisabled":[32]}],[0,"sss-success"],[0,"sss-choice-router",{"history":[16]}],[0,"sss-my-own-fund-engagement-step-host",{"history":[16],"backendUrl":[32],"accessToken":[32],"fundUsi":[32],"fundName":[32],"memberNumber":[32],"memberFirstName":[32],"memberFamilyName":[32]}],[0,"sss-smsf-engagement-step-host",{"history":[16],"backendUrl":[32],"accessToken":[32],"fundName":[32],"fundAbn":[32],"fundEsa":[32],"fundAddress":[32],"bsb":[32],"bankAccountName":[32],"bankAccountNumber":[32],"memberFirstName":[32],"memberFamilyName":[32],"accountId":[32],"partnerId":[32]}],[0,"sss-super-campaign-host",{"history":[16],"scriptImported":[32],"backendUrl":[32],"accessToken":[32]}],[0,"sss-dropdown-async",{"testId":[1,"test-id"],"placeholder":[1],"searchFunction":[16],"value":[16],"required":[4],"requiredValidationMessage":[1,"required-validation-message"],"disabled":[4],"minSearchStringLength":[2,"min-search-string-length"],"showValidationErrors":[4,"show-validation-errors"],"searchState":[32],"inputValue":[32],"isDropdownVisible":[32],"filteredOptions":[32],"highlightedOptionIndex":[32],"selectedOption":[32]},[[2,"focus","handleFocus"],[2,"blur","handleBlur"],[2,"keydown","handleKeyDown"]]],[0,"sss-name-input",{"testId":[1,"test-id"],"value":[1],"name":[1],"readableName":[1,"readable-name"],"showValidationErrors":[4,"show-validation-errors"],"errorMessage":[32]}],[0,"sss-prefill-my-own-fund",{"history":[16],"prefill":[16],"mode":[32],"formState":[32],"isSubmitDisabled":[32],"fundUsi":[32],"fundName":[32],"memberNumber":[32],"memberGivenNames":[32],"memberLastName":[32]}],[0,"sss-prefill-smsf",{"history":[16],"prefill":[16],"mode":[32],"formState":[32],"isSubmitDisabled":[32],"fundName":[32],"fundAbn":[32],"fundEsa":[32],"fundAddressLine1":[32],"fundAddressLine2":[32],"fundAddressCity":[32],"fundAddressPostcode":[32],"fundAddressState":[32],"fundAddress":[32],"memberGivenNames":[32],"memberLastName":[32],"bankAccountName":[32],"bankName":[32],"bankAccountBsb":[32],"bankAccountNumber":[32]}],[0,"sss-prefill-invalid-my-own-fund",{"history":[16],"prefill":[16],"fundUsi":[32],"fundName":[32],"memberNumber":[32],"memberGivenNames":[32],"memberLastName":[32]}],[0,"sss-prefill-invalid-smsf",{"history":[16],"prefill":[16],"fundName":[32],"fundAbn":[32],"fundEsa":[32],"fundAddressLine1":[32],"fundAddressLine2":[32],"fundAddressCity":[32],"fundAddressPostcode":[32],"fundAddressState":[32],"fundAddress":[32],"memberGivenNames":[32],"memberLastName":[32],"bankAccountName":[32],"bankAccountBsb":[32],"bankAccountNumber":[32]}],[1,"super-selection-app",{"ignoreExistingSelection":[4,"ignore-existing-selection"],"accessToken":[1,"access-token"],"backendUrl":[1,"backend-url"],"appBaseUrl":[1,"app-base-url"],"history":[16],"location":[16],"isSelfHosted":[4,"is-self-hosted"],"isAppInitialised":[32]}],[0,"sss-default-fund-host",{"history":[16],"backendUrl":[32],"accessToken":[32]}],[0,"sss-loading-page"],[0,"sss-footer-section",{"textOverride":[1,"text-override"]}],[4,"stencil-route-switch",{"group":[513],"scrollTopOffset":[2,"scroll-top-offset"],"location":[16],"routeViewsUpdated":[16]}],[4,"stencil-router",{"root":[1],"historyType":[1,"history-type"],"titleSuffix":[1,"title-suffix"],"scrollTopOffset":[2,"scroll-top-offset"],"location":[32],"history":[32]}],[0,"sss-prefill-warning-box",{"notificationList":[16]}],[0,"sss-prefill-display-field",{"field":[16]}],[0,"sss-prefill-error-box",{"withHeader":[4,"with-header"],"notificationList":[16]}],[0,"sss-header-section"],[4,"sss-custom-fund",{"history":[16],"currentCustomFund":[32],"fundOptionsList":[32],"showFundOptionsSelection":[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",{"testid":[1],"fillWidth":[4,"fill-width"],"fillWidthOnMobile":[4,"fill-width-on-mobile"],"disabled":[4],"variant":[1],"size":[1],"promiseFn":[16],"state":[32]}],[0,"sss-loading-indicator",{"theme":[1],"size":[2]}],[0,"stencil-route",{"group":[513],"componentUpdated":[16],"match":[1040],"url":[1],"component":[1],"componentProps":[16],"exact":[4],"routeRender":[16],"scrollTopOffset":[2,"scroll-top-offset"],"routeViewsUpdated":[16],"location":[16],"history":[16],"historyType":[1,"history-type"]}]]],["sss-default-fund",[[0,"sss-default-fund",{"history":[16],"defaultFundProductName":[32]}]]]], options);
17
17
  });
18
18
  };
19
19