@flarehr/apollo-super-selection 4.27.29425 → 4.28.30096
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.
- package/dist/lib/apollo-super-selection/apollo-super-selection.css +1 -1
- package/dist/lib/apollo-super-selection/apollo-super-selection.esm.js +1 -1
- package/dist/lib/apollo-super-selection/p-0936abfe.system.entry.js +69 -0
- package/dist/lib/apollo-super-selection/{p-77f20abe.entry.js → p-8876ba69.entry.js} +4 -4
- package/dist/lib/apollo-super-selection/p-bdcfc026.system.js +1 -1
- package/dist/lib/cjs/apollo-super-selection.cjs.js +1 -1
- package/dist/lib/cjs/loader.cjs.js +1 -1
- package/dist/lib/cjs/sss-button_30.cjs.entry.js +120 -66
- package/dist/lib/collection/apollo-super-selection.css +1 -1
- package/dist/lib/collection/components/super-selection-app/api/super-selection.api.js +12 -0
- package/dist/lib/collection/components/super-selection-app/consent/consent.js +2 -6
- package/dist/lib/collection/components/super-selection-app/funds/custom-fund/default-fund/default-fund.js +1 -1
- package/dist/lib/collection/components/super-selection-app/funds/custom-fund/my-own-fund/my-own-fund.js +1 -7
- package/dist/lib/collection/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund.js +2 -5
- package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/api/promoted-fund-choice.api.js +9 -0
- package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/promoted-fund.store.js +4 -5
- package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/services/promoted-fund-join-v1-iframe-builder.js +1 -10
- package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/services/promoted-fund-join-v2-iframe-builder.js +14 -14
- package/dist/lib/collection/components/super-selection-app/funds/slate-super/services/slate-iframe-builder.js +1 -8
- package/dist/lib/collection/components/super-selection-app/services/misc.service.js +7 -0
- package/dist/lib/collection/components/super-selection-app/services/super-selection-app.service.js +32 -0
- package/dist/lib/collection/components/super-selection-app/services/super-selection.store.js +4 -1
- package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-page.js +38 -10
- package/dist/lib/esm/apollo-super-selection.js +1 -1
- package/dist/lib/esm/loader.js +1 -1
- package/dist/lib/esm/sss-button_30.entry.js +120 -66
- package/dist/lib/esm-es5/apollo-super-selection.js +1 -1
- package/dist/lib/esm-es5/loader.js +1 -1
- package/dist/lib/esm-es5/sss-button_30.entry.js +4 -4
- package/dist/lib/types/components/super-selection-app/api/super-selection-events.model.d.ts +2 -6
- package/dist/lib/types/components/super-selection-app/api/super-selection.api.d.ts +3 -1
- package/dist/lib/types/components/super-selection-app/api/super-selection.api.dto.d.ts +15 -0
- package/dist/lib/types/components/super-selection-app/consent/consent.d.ts +0 -1
- package/dist/lib/types/components/super-selection-app/funds/custom-fund/api/custom-fund-choice.api.dto.d.ts +11 -7
- package/dist/lib/types/components/super-selection-app/funds/custom-fund/member-name-input.d.ts +1 -1
- package/dist/lib/types/components/super-selection-app/funds/promoted-fund/api/promoted-fund-choice.api.d.ts +2 -1
- package/dist/lib/types/components/super-selection-app/funds/promoted-fund/api/promoted-fund-choice.api.dto.d.ts +12 -0
- package/dist/lib/types/components/super-selection-app/funds/promoted-fund/promoted-fund.store.d.ts +3 -2
- package/dist/lib/types/components/super-selection-app/funds/promoted-fund/types.d.ts +1 -0
- package/dist/lib/types/components/super-selection-app/funds/slate-super/api/slate-choice.api.dto.d.ts +3 -0
- package/dist/lib/types/components/super-selection-app/services/misc.service.d.ts +6 -0
- package/dist/lib/types/components/super-selection-app/services/super-selection-app.service.d.ts +9 -1
- package/dist/lib/types/components/super-selection-app/services/super-selection.store.d.ts +4 -1
- package/dist/lib/types/components/super-selection-app/super-choice-page/super-choice-page.d.ts +1 -0
- package/package.json +1 -1
- package/dist/lib/apollo-super-selection/p-3457c8b6.system.entry.js +0 -69
|
@@ -76,7 +76,7 @@ export class DefaultFund {
|
|
|
76
76
|
history: this.history,
|
|
77
77
|
fundName: `Employer’s default fund`,
|
|
78
78
|
handleSubmitFn: async (standardChoiceFormSignature) => {
|
|
79
|
-
await customFundChoiceApi.submitDefaultFundChoiceAsync({ standardChoiceFormSignature });
|
|
79
|
+
await customFundChoiceApi.submitDefaultFundChoiceAsync(Object.assign({ standardChoiceFormSignature }, superSelectionAppService.promotedFundsConfig));
|
|
80
80
|
}
|
|
81
81
|
});
|
|
82
82
|
}
|
|
@@ -69,13 +69,7 @@ export class MyOwnFund {
|
|
|
69
69
|
history: this.history,
|
|
70
70
|
fundName: this.getOrError(customFundState.myOwnFundForm.fundName),
|
|
71
71
|
handleSubmitFn: async (standardChoiceFormSignature) => {
|
|
72
|
-
const customFundChoiceDto = {
|
|
73
|
-
fundUsi: this.getOrError(customFundState.myOwnFundForm.fundUsi),
|
|
74
|
-
memberNumber: this.getOrError(customFundState.myOwnFundForm.memberNumber),
|
|
75
|
-
memberFirstName: this.getOrError(customFundState.myOwnFundForm.memberFirstName),
|
|
76
|
-
memberFamilyName: this.getOrError(customFundState.myOwnFundForm.memberFamilyName),
|
|
77
|
-
standardChoiceFormSignature
|
|
78
|
-
};
|
|
72
|
+
const customFundChoiceDto = Object.assign({ fundUsi: this.getOrError(customFundState.myOwnFundForm.fundUsi), memberNumber: this.getOrError(customFundState.myOwnFundForm.memberNumber), memberFirstName: this.getOrError(customFundState.myOwnFundForm.memberFirstName), memberFamilyName: this.getOrError(customFundState.myOwnFundForm.memberFamilyName), standardChoiceFormSignature }, superSelectionAppService.promotedFundsConfig);
|
|
79
73
|
await customFundChoiceApi.submitCustomFundChoiceAsync(customFundChoiceDto);
|
|
80
74
|
}
|
|
81
75
|
});
|
|
@@ -18,8 +18,7 @@ export class SelfManagedFund {
|
|
|
18
18
|
history: this.history,
|
|
19
19
|
fundName: 'Self-managed super fund',
|
|
20
20
|
handleSubmitFn: async (standardChoiceFormSignature) => {
|
|
21
|
-
const requestDto = {
|
|
22
|
-
smsfChoice: {
|
|
21
|
+
const requestDto = Object.assign({ smsfChoice: {
|
|
23
22
|
abn: customFundState.selfManagedFundForm.fundAbn,
|
|
24
23
|
fundName: customFundState.selfManagedFundForm.fundName,
|
|
25
24
|
fundAddress: {
|
|
@@ -35,9 +34,7 @@ export class SelfManagedFund {
|
|
|
35
34
|
electronicServiceAddress: customFundState.selfManagedFundForm.fundEsa,
|
|
36
35
|
memberFirstName: customFundState.selfManagedFundForm.memberFirstName,
|
|
37
36
|
memberFamilyName: customFundState.selfManagedFundForm.memberFamilyName
|
|
38
|
-
},
|
|
39
|
-
standardChoiceFormSignature
|
|
40
|
-
};
|
|
37
|
+
}, standardChoiceFormSignature }, superSelectionAppService.promotedFundsConfig);
|
|
41
38
|
await customFundChoiceApi.submitSelfManagedFundChoiceAsync(requestDto);
|
|
42
39
|
}
|
|
43
40
|
});
|
|
@@ -9,5 +9,14 @@ export class PromotedFundChoiceApi {
|
|
|
9
9
|
})
|
|
10
10
|
.text();
|
|
11
11
|
}
|
|
12
|
+
async submitDefaultChoiceAsync(dto) {
|
|
13
|
+
return buildBackendApiClient()
|
|
14
|
+
.url('super-choice/promoted-fund/default')
|
|
15
|
+
.post(dto)
|
|
16
|
+
.badRequest(() => {
|
|
17
|
+
throw new Error('Failed to process Promoted Default Fund choice request');
|
|
18
|
+
})
|
|
19
|
+
.text();
|
|
20
|
+
}
|
|
12
21
|
}
|
|
13
22
|
export default new PromotedFundChoiceApi();
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { createStore } from '@stencil/store';
|
|
2
2
|
export const initial = {
|
|
3
|
-
fundId: ''
|
|
3
|
+
fundId: '',
|
|
4
|
+
isPromotedDefault: false
|
|
4
5
|
};
|
|
5
|
-
const { state } = createStore(initial);
|
|
6
|
-
export
|
|
7
|
-
state.fundId = initial.fundId;
|
|
8
|
-
}
|
|
6
|
+
const { state, reset } = createStore(initial);
|
|
7
|
+
export { reset };
|
|
9
8
|
export default state;
|
|
@@ -41,16 +41,7 @@ class PromotedFundJoinV1IFrameBuilder {
|
|
|
41
41
|
navigationService.navigateInternallyToStandardChoice({
|
|
42
42
|
history,
|
|
43
43
|
fundName: O.isSome(fundName) ? fundName.value : '',
|
|
44
|
-
handleSubmitFn: (standardChoiceFormSignature) => promotedFundChoiceApi.submitChoiceAsync({
|
|
45
|
-
fundId: promotedFundId,
|
|
46
|
-
memberNumber: data.memberNumber,
|
|
47
|
-
memberFirstName: data.memberFirstName,
|
|
48
|
-
memberFamilyName: data.memberFamilyName,
|
|
49
|
-
usi: data.usi.replace(/ /g, ''),
|
|
50
|
-
standardChoiceFormSignature,
|
|
51
|
-
shownFunds: superSelectionAppService.promotedFunds,
|
|
52
|
-
defaultFundUsiSet: O.toUndefined(superSelectionAppService.defaultFundUsi)
|
|
53
|
-
}),
|
|
44
|
+
handleSubmitFn: (standardChoiceFormSignature) => promotedFundChoiceApi.submitChoiceAsync(Object.assign({ fundId: promotedFundId, memberNumber: data.memberNumber, memberFirstName: data.memberFirstName, memberFamilyName: data.memberFamilyName, usi: data.usi.replace(/ /g, ''), standardChoiceFormSignature, defaultFundUsiSet: O.toUndefined(superSelectionAppService.defaultFundUsi) }, superSelectionAppService.promotedFundsConfig)),
|
|
54
45
|
promotedFundId
|
|
55
46
|
});
|
|
56
47
|
break;
|
|
@@ -28,7 +28,7 @@ class PromotedFundJoinV2IFrameBuilder {
|
|
|
28
28
|
build(iframe, history) {
|
|
29
29
|
if (!(iframe === null || iframe === void 0 ? void 0 : iframe.contentDocument))
|
|
30
30
|
return;
|
|
31
|
-
const postData = Object.assign(Object.assign({}, this.getMemberData()), { partnerId: superSelectionAppService.partnerIdOrDefault, accountId: superSelectionAppService.accountIdOrDefault, fundId: promotedFundState.fundId, authToken: superSelectionAppService.jwt });
|
|
31
|
+
const postData = Object.assign(Object.assign({}, this.getMemberData()), { partnerId: superSelectionAppService.partnerIdOrDefault, accountId: superSelectionAppService.accountIdOrDefault, fundId: promotedFundState.fundId, authToken: superSelectionAppService.jwt, employerDefault: promotedFundState.isPromotedDefault });
|
|
32
32
|
const handleMessage = (event) => {
|
|
33
33
|
const { data } = event;
|
|
34
34
|
if (!data) {
|
|
@@ -47,17 +47,10 @@ class PromotedFundJoinV2IFrameBuilder {
|
|
|
47
47
|
navigationService.navigateInternallyToStandardChoice({
|
|
48
48
|
history,
|
|
49
49
|
fundName: O.isSome(fundName) ? fundName.value : '',
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
memberFirstName: data.memberFirstName,
|
|
54
|
-
memberFamilyName: data.memberFamilyName,
|
|
55
|
-
usi: data.usi.replace(/ /g, ''),
|
|
56
|
-
standardChoiceFormSignature,
|
|
57
|
-
shownFunds: superSelectionAppService.promotedFunds,
|
|
58
|
-
defaultFundUsiSet: O.toUndefined(superSelectionAppService.defaultFundUsi)
|
|
59
|
-
}),
|
|
60
|
-
promotedFundId
|
|
50
|
+
promotedFundId,
|
|
51
|
+
handleSubmitFn: promotedFundState.isPromotedDefault
|
|
52
|
+
? (standardChoiceFormSignature) => promotedFundChoiceApi.submitDefaultChoiceAsync(Object.assign({ fundId: promotedFundId, usi: data.usi.replace(/ /g, ''), standardChoiceFormSignature, defaultFundUsiSet: O.toUndefined(superSelectionAppService.defaultFundUsi) }, superSelectionAppService.promotedFundsConfig))
|
|
53
|
+
: (standardChoiceFormSignature) => promotedFundChoiceApi.submitChoiceAsync(Object.assign({ fundId: promotedFundId, memberNumber: data.memberNumber, memberFirstName: data.memberFirstName, memberFamilyName: data.memberFamilyName, usi: data.usi.replace(/ /g, ''), standardChoiceFormSignature, defaultFundUsiSet: O.toUndefined(superSelectionAppService.defaultFundUsi) }, superSelectionAppService.promotedFundsConfig))
|
|
61
54
|
});
|
|
62
55
|
break;
|
|
63
56
|
}
|
|
@@ -96,9 +89,16 @@ class PromotedFundJoinV2IFrameBuilder {
|
|
|
96
89
|
const value = postData[prop];
|
|
97
90
|
if (value !== undefined) {
|
|
98
91
|
const input = document.createElement('input');
|
|
99
|
-
input.type = 'hidden';
|
|
100
92
|
input.name = prop;
|
|
101
|
-
|
|
93
|
+
if (typeof value === 'boolean') {
|
|
94
|
+
input.type = 'checkbox';
|
|
95
|
+
input.checked = value;
|
|
96
|
+
input.style.visibility = 'hidden';
|
|
97
|
+
}
|
|
98
|
+
else {
|
|
99
|
+
input.type = 'hidden';
|
|
100
|
+
input.value = value;
|
|
101
|
+
}
|
|
102
102
|
form.append(input);
|
|
103
103
|
}
|
|
104
104
|
}
|
|
@@ -52,14 +52,7 @@ class SlateIFrameBuilder {
|
|
|
52
52
|
navigationService.navigateInternallyToStandardChoice({
|
|
53
53
|
history,
|
|
54
54
|
fundName: slate.name,
|
|
55
|
-
handleSubmitFn: (standardChoiceFormSignature) => slateChoiceApi.submitSlateChoiceAsync({
|
|
56
|
-
memberNumber: data.memberNumber,
|
|
57
|
-
memberFirstName: data.memberFirstName,
|
|
58
|
-
memberFamilyName: data.memberFamilyName,
|
|
59
|
-
standardChoiceFormSignature,
|
|
60
|
-
shownFunds: superSelectionAppService.promotedFunds,
|
|
61
|
-
defaultFundUsiSet: O.toUndefined(superSelectionAppService.defaultFundUsi)
|
|
62
|
-
}),
|
|
55
|
+
handleSubmitFn: (standardChoiceFormSignature) => slateChoiceApi.submitSlateChoiceAsync(Object.assign({ memberNumber: data.memberNumber, memberFirstName: data.memberFirstName, memberFamilyName: data.memberFamilyName, standardChoiceFormSignature, defaultFundUsiSet: O.toUndefined(superSelectionAppService.defaultFundUsi) }, superSelectionAppService.promotedFundsConfig)),
|
|
63
56
|
promotedFundId: slate.fundId
|
|
64
57
|
});
|
|
65
58
|
break;
|
package/dist/lib/collection/components/super-selection-app/services/super-selection-app.service.js
CHANGED
|
@@ -38,11 +38,29 @@ export class SuperSelectionAppService {
|
|
|
38
38
|
return this._state.appBaseUrl.value;
|
|
39
39
|
}
|
|
40
40
|
get promotedFunds() {
|
|
41
|
+
if (this._state.campaignConnectEnabled && O.isSome(this._state.campaignConnect)) {
|
|
42
|
+
return this._state.campaignConnect.value.promotedFunds;
|
|
43
|
+
}
|
|
41
44
|
if (O.isNone(this._state.promotedFunds)) {
|
|
42
45
|
throw Error('Promoted Funds is not set');
|
|
43
46
|
}
|
|
44
47
|
return this._state.promotedFunds.value;
|
|
45
48
|
}
|
|
49
|
+
get promotedDefaultFundPosition() {
|
|
50
|
+
if (this._state.campaignConnectEnabled && O.isSome(this._state.campaignConnect)) {
|
|
51
|
+
return O.fromNullable(this._state.campaignConnect.value.promotedDefaultFundPosition);
|
|
52
|
+
}
|
|
53
|
+
return O.none;
|
|
54
|
+
}
|
|
55
|
+
get promotedFundsConfig() {
|
|
56
|
+
return {
|
|
57
|
+
shownFunds: this.promotedFunds,
|
|
58
|
+
promotedDefaultFundPosition: O.toUndefined(this.promotedDefaultFundPosition),
|
|
59
|
+
promotedFundsConfigSource: O.isSome(this._state.campaignConnect)
|
|
60
|
+
? 'campaignConnect'
|
|
61
|
+
: 'superSelection'
|
|
62
|
+
};
|
|
63
|
+
}
|
|
46
64
|
get profileId() {
|
|
47
65
|
if (O.isNone(this._state.profileId)) {
|
|
48
66
|
throw Error('Failed to get Profile ID from JWT');
|
|
@@ -80,6 +98,20 @@ export class SuperSelectionAppService {
|
|
|
80
98
|
this._state.profileConfiguration = O.fromNullable(appStateResponse.profileConfiguration);
|
|
81
99
|
this._state.superBuyer = O.fromNullable(appStateResponse.superBuyer);
|
|
82
100
|
this._state.promotedFunds = O.fromNullable(appStateResponse.promotedFunds);
|
|
101
|
+
if (this._state.campaignConnectEnabled) {
|
|
102
|
+
this._state.campaignConnectPromise = O.fromNullable(superSelectionApi.getCampaignConnectAsync());
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
async completeCampaignConnectRequestSafe() {
|
|
106
|
+
if (this._state.campaignConnectEnabled) {
|
|
107
|
+
try {
|
|
108
|
+
const campaignConnect = await pipe(this._state.campaignConnectPromise, O.getOrElse(() => superSelectionApi.getCampaignConnectAsync()));
|
|
109
|
+
this._state.campaignConnect = O.fromNullable(campaignConnect);
|
|
110
|
+
}
|
|
111
|
+
catch (_a) {
|
|
112
|
+
return;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
83
115
|
}
|
|
84
116
|
}
|
|
85
117
|
export default new SuperSelectionAppService();
|
package/dist/lib/collection/components/super-selection-app/services/super-selection.store.js
CHANGED
|
@@ -9,5 +9,8 @@ export const initialState = {
|
|
|
9
9
|
accountConfiguration: O.none,
|
|
10
10
|
profileConfiguration: O.none,
|
|
11
11
|
hasSuccessPageBeenAcknowledged: false,
|
|
12
|
-
hasSuperSelectionBeenSubmitted: false
|
|
12
|
+
hasSuperSelectionBeenSubmitted: false,
|
|
13
|
+
campaignConnectEnabled: false,
|
|
14
|
+
campaignConnectPromise: O.none,
|
|
15
|
+
campaignConnect: O.none
|
|
13
16
|
};
|
package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-page.js
CHANGED
|
@@ -3,15 +3,19 @@ import * as O from 'fp-ts/lib/Option';
|
|
|
3
3
|
import * as constants from '../funds/constants';
|
|
4
4
|
import promotedFundState from '../funds/promoted-fund/promoted-fund.store';
|
|
5
5
|
import { EventTrackingService } from '../services/event-tracking.service';
|
|
6
|
+
import miscService from '../services/misc.service';
|
|
6
7
|
import navigationService from '../services/navigation.service';
|
|
7
8
|
import { SuperSelectionAppRoutes } from '../services/super-selection-app.routes';
|
|
8
9
|
import SuperSelectionAppService from '../services/super-selection-app.service';
|
|
9
10
|
export class SuperChoicePage {
|
|
10
11
|
constructor() {
|
|
11
|
-
this.
|
|
12
|
+
this.campaignConnectRequestInProgress = true;
|
|
12
13
|
this.eventTrackingService = EventTrackingService.Instance;
|
|
13
14
|
}
|
|
14
|
-
componentDidLoad() {
|
|
15
|
+
async componentDidLoad() {
|
|
16
|
+
await SuperSelectionAppService.completeCampaignConnectRequestSafe();
|
|
17
|
+
this.promotedFunds = this.getPromotedFunds();
|
|
18
|
+
this.campaignConnectRequestInProgress = false;
|
|
15
19
|
const promotedFundsShown = this.promotedFunds.map((item) => item.fundId);
|
|
16
20
|
return this.eventTrackingService.TrackSuperFundPanelViewedAsync({
|
|
17
21
|
promotedFundsShown,
|
|
@@ -23,6 +27,14 @@ export class SuperChoicePage {
|
|
|
23
27
|
const mygovLinkDisplay = 'www.my.gov.au';
|
|
24
28
|
const superfundsLink = 'https://www.apra.gov.au/register-of-superannuation-institutions';
|
|
25
29
|
const superfundsLinkDisplay = 'www.apra.gov.au';
|
|
30
|
+
if (this.campaignConnectRequestInProgress) {
|
|
31
|
+
return (h("div", { class: "w-[327px] sm:w-full bg-white flex flex-col items-center" },
|
|
32
|
+
h("div", { class: "w-full sm:w-[440px] h-9 bg-gray-200 animate-pulse rounded" }),
|
|
33
|
+
h("div", { class: "mt-6 w-full sm:w-[720px] h-6 bg-gray-200 animate-pulse rounded" }),
|
|
34
|
+
h("div", { class: "mt-2 w-[220px] sm:w-[560px] h-6 bg-gray-200 animate-pulse rounded" }),
|
|
35
|
+
h("div", { class: "mt-10 w-full sm:w-[560px] h-80 bg-gray-200 animate-pulse rounded" }),
|
|
36
|
+
h("div", { class: "mt-10 w-full sm:w-[200px] h-11 bg-gray-200 animate-pulse rounded" })));
|
|
37
|
+
}
|
|
26
38
|
return (h(Host, null,
|
|
27
39
|
h("div", null,
|
|
28
40
|
h("sss-header-section", { currentPage: "choice" }),
|
|
@@ -97,17 +109,32 @@ export class SuperChoicePage {
|
|
|
97
109
|
return fundTiles;
|
|
98
110
|
}
|
|
99
111
|
async handleJoinSuperClickAsync(fund) {
|
|
112
|
+
var _a;
|
|
100
113
|
const promotedFundsShown = SuperSelectionAppService.promotedFunds;
|
|
101
114
|
const fundUsi = constants.getFundUsiByFundId(fund.fundId);
|
|
102
115
|
const fundName = constants.getFundNameByFundId(fund.fundId);
|
|
103
|
-
await
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
116
|
+
await Promise.all([
|
|
117
|
+
this.eventTrackingService.TrackPromotedSuperFundDetailViewedAsync({
|
|
118
|
+
fundUsi: O.isSome(fundUsi) ? fundUsi.value : undefined,
|
|
119
|
+
fundName: O.isSome(fundName) ? fundName.value : '',
|
|
120
|
+
promotedFundId: fund.fundId,
|
|
121
|
+
promotedFundsShown,
|
|
122
|
+
defaultFundUsiSet: O.toUndefined(SuperSelectionAppService.defaultFundUsi)
|
|
123
|
+
}),
|
|
124
|
+
miscService.trackClickPromotedTileAsync(fund.isPromotedDefault
|
|
125
|
+
? {
|
|
126
|
+
promotedDefault: {
|
|
127
|
+
fundId: fund.fundId
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
: {
|
|
131
|
+
promoted: {
|
|
132
|
+
fundId: fund.fundId
|
|
133
|
+
}
|
|
134
|
+
})
|
|
135
|
+
]);
|
|
110
136
|
promotedFundState.fundId = fund.fundId;
|
|
137
|
+
promotedFundState.isPromotedDefault = (_a = fund.isPromotedDefault) !== null && _a !== void 0 ? _a : false;
|
|
111
138
|
return navigationService.navigateInternally(this.history, fund.route);
|
|
112
139
|
}
|
|
113
140
|
static get is() { return "sss-super-choice-page"; }
|
|
@@ -135,6 +162,7 @@ export class SuperChoicePage {
|
|
|
135
162
|
}
|
|
136
163
|
}; }
|
|
137
164
|
static get states() { return {
|
|
138
|
-
"promotedFunds": {}
|
|
165
|
+
"promotedFunds": {},
|
|
166
|
+
"campaignConnectRequestInProgress": {}
|
|
139
167
|
}; }
|
|
140
168
|
}
|
|
@@ -16,5 +16,5 @@ const patchBrowser = () => {
|
|
|
16
16
|
|
|
17
17
|
patchBrowser().then(options => {
|
|
18
18
|
globalScripts();
|
|
19
|
-
return bootstrapLazy([["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_30",[[0,"sss-my-own-fund",{"history":[16],"formState":[32],"isNotAllInformationProvidedMessageVisible":[32],"isSubmitDisabled":[32]}],[0,"sss-self-managed-fund",{"history":[16],"formState":[32],"isSubmitDisabled":[32]}],[0,"sss-super-choice-page",{"history":[16],"promotedFunds":[32]}],[1,"super-selection-app-host",{"sessionState":[32],"jwt":[32],"appConfiguration":[32],"ignoreExistingSelection":[32]}],[0,"sss-default-fund",{"history":[16],"defaultFundProductName":[32]}],[0,"sss-standard-choice-form",{"history":[16],"standardChoiceFormSignature":[32],"formState":[32],"isSubmitDisabled":[32]}],[0,"sss-consent-page",{"history":[16]}],[0,"sss-existing-choice-page",{"history":[16],"existingFund":[32]}],[0,"sss-promoted-fund-join-v1-page",{"history":[16]}],[0,"sss-promoted-fund-join-v2-page",{"history":[16]}],[0,"sss-slate-join-page",{"history":[16]}],[0,"sss-success"],[1,"super-selection-app",{"ignoreExistingSelection":[4,"ignore-existing-selection"],"accessToken":[1,"access-token"],"backendUrl":[1,"backend-url"],"appBaseUrl":[1,"app-base-url"],"history":[16],"location":[16],"isSelfHosted":[4,"is-self-hosted"],"isAppInitialised":[32]}],[0,"sss-my-own-fund-inputs",{"myOwnFundForm":[16],"showValidationErrors":[4,"show-validation-errors"],"selectedOption":[32]}],[0,"sss-self-managed-fund-inputs",{"fundForm":[16],"showValidationErrors":[4,"show-validation-errors"],"isAbnValid":[32],"isAbnTouched":[32],"isAbnUsedForRegulated":[32],"currentBank":[32],"addressErrorMessage":[32]}],[0,"sss-super-choice-item-bottom",{"disclaimer":[16],"abnInfo":[1,"abn-info"],"abn":[1]}],[0,"sss-loading-page"],[0,"sss-super-choice-item-top",{"name":[1],"logo":[1],"features":[16],"featureSubText":[16]}],[0,"sss-dropdown-async",{"placeholder":[1],"searchFunction":[16],"value":[16],"required":[4],"requiredValidationMessage":[1,"required-validation-message"],"disabled":[4],"minSearchStringLength":[2,"min-search-string-length"],"showValidationErrors":[4,"show-validation-errors"],"searchState":[32],"inputValue":[32],"isDropdownVisible":[32],"filteredOptions":[32],"highlightedOptionIndex":[32],"selectedOption":[32]},[[2,"focus","handleFocus"],[2,"blur","handleBlur"],[2,"keydown","handleKeyDown"]]],[0,"sss-footer-section",{"textOverride":[16]}],[4,"stencil-route-switch",{"group":[513],"scrollTopOffset":[2,"scroll-top-offset"],"location":[16],"routeViewsUpdated":[16]}],[4,"stencil-router",{"root":[1],"historyType":[1,"history-type"],"titleSuffix":[1,"title-suffix"],"scrollTopOffset":[2,"scroll-top-offset"],"location":[32],"history":[32]}],[4,"sss-custom-fund",{"history":[16],"currentCustomFund":[32],"fundOptionsList":[32],"showFundOptionsSelection":[32]}],[0,"sss-iframe-host",{"build":[16]}],[0,"sss-header-section",{"currentPage":[1,"current-page"]}],[0,"sss-name-input",{"value":[1],"name":[1],"readableName":[1,"readable-name"],"showValidationErrors":[4,"show-validation-errors"],"errorMessage":[32]}],[4,"stencil-route-link",{"url":[1],"urlMatch":[1,"url-match"],"activeClass":[1,"active-class"],"exact":[4],"strict":[4],"custom":[1],"anchorClass":[1,"anchor-class"],"anchorRole":[1,"anchor-role"],"anchorTitle":[1,"anchor-title"],"anchorTabIndex":[1,"anchor-tab-index"],"anchorId":[1,"anchor-id"],"history":[16],"location":[16],"root":[1],"ariaHaspopup":[1,"aria-haspopup"],"ariaPosinset":[1,"aria-posinset"],"ariaSetsize":[2,"aria-setsize"],"ariaLabel":[1,"aria-label"],"match":[32]}],[4,"sss-button",{"fillWidth":[4,"fill-width"],"fillWidthOnMobile":[4,"fill-width-on-mobile"],"disabled":[4],"variant":[1],"size":[1],"promiseFn":[16],"state":[32]}],[0,"sss-loading-indicator",{"theme":[1],"size":[2]}],[0,"stencil-route",{"group":[513],"componentUpdated":[16],"match":[1040],"url":[1],"component":[1],"componentProps":[16],"exact":[4],"routeRender":[16],"scrollTopOffset":[2,"scroll-top-offset"],"routeViewsUpdated":[16],"location":[16],"history":[16],"historyType":[1,"history-type"]}]]]], options);
|
|
19
|
+
return bootstrapLazy([["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_30",[[0,"sss-my-own-fund",{"history":[16],"formState":[32],"isNotAllInformationProvidedMessageVisible":[32],"isSubmitDisabled":[32]}],[0,"sss-self-managed-fund",{"history":[16],"formState":[32],"isSubmitDisabled":[32]}],[0,"sss-super-choice-page",{"history":[16],"promotedFunds":[32],"campaignConnectRequestInProgress":[32]}],[1,"super-selection-app-host",{"sessionState":[32],"jwt":[32],"appConfiguration":[32],"ignoreExistingSelection":[32]}],[0,"sss-default-fund",{"history":[16],"defaultFundProductName":[32]}],[0,"sss-standard-choice-form",{"history":[16],"standardChoiceFormSignature":[32],"formState":[32],"isSubmitDisabled":[32]}],[0,"sss-consent-page",{"history":[16]}],[0,"sss-existing-choice-page",{"history":[16],"existingFund":[32]}],[0,"sss-promoted-fund-join-v1-page",{"history":[16]}],[0,"sss-promoted-fund-join-v2-page",{"history":[16]}],[0,"sss-slate-join-page",{"history":[16]}],[0,"sss-success"],[1,"super-selection-app",{"ignoreExistingSelection":[4,"ignore-existing-selection"],"accessToken":[1,"access-token"],"backendUrl":[1,"backend-url"],"appBaseUrl":[1,"app-base-url"],"history":[16],"location":[16],"isSelfHosted":[4,"is-self-hosted"],"isAppInitialised":[32]}],[0,"sss-my-own-fund-inputs",{"myOwnFundForm":[16],"showValidationErrors":[4,"show-validation-errors"],"selectedOption":[32]}],[0,"sss-self-managed-fund-inputs",{"fundForm":[16],"showValidationErrors":[4,"show-validation-errors"],"isAbnValid":[32],"isAbnTouched":[32],"isAbnUsedForRegulated":[32],"currentBank":[32],"addressErrorMessage":[32]}],[0,"sss-super-choice-item-bottom",{"disclaimer":[16],"abnInfo":[1,"abn-info"],"abn":[1]}],[0,"sss-loading-page"],[0,"sss-super-choice-item-top",{"name":[1],"logo":[1],"features":[16],"featureSubText":[16]}],[0,"sss-dropdown-async",{"placeholder":[1],"searchFunction":[16],"value":[16],"required":[4],"requiredValidationMessage":[1,"required-validation-message"],"disabled":[4],"minSearchStringLength":[2,"min-search-string-length"],"showValidationErrors":[4,"show-validation-errors"],"searchState":[32],"inputValue":[32],"isDropdownVisible":[32],"filteredOptions":[32],"highlightedOptionIndex":[32],"selectedOption":[32]},[[2,"focus","handleFocus"],[2,"blur","handleBlur"],[2,"keydown","handleKeyDown"]]],[0,"sss-footer-section",{"textOverride":[16]}],[4,"stencil-route-switch",{"group":[513],"scrollTopOffset":[2,"scroll-top-offset"],"location":[16],"routeViewsUpdated":[16]}],[4,"stencil-router",{"root":[1],"historyType":[1,"history-type"],"titleSuffix":[1,"title-suffix"],"scrollTopOffset":[2,"scroll-top-offset"],"location":[32],"history":[32]}],[4,"sss-custom-fund",{"history":[16],"currentCustomFund":[32],"fundOptionsList":[32],"showFundOptionsSelection":[32]}],[0,"sss-iframe-host",{"build":[16]}],[0,"sss-header-section",{"currentPage":[1,"current-page"]}],[0,"sss-name-input",{"value":[1],"name":[1],"readableName":[1,"readable-name"],"showValidationErrors":[4,"show-validation-errors"],"errorMessage":[32]}],[4,"stencil-route-link",{"url":[1],"urlMatch":[1,"url-match"],"activeClass":[1,"active-class"],"exact":[4],"strict":[4],"custom":[1],"anchorClass":[1,"anchor-class"],"anchorRole":[1,"anchor-role"],"anchorTitle":[1,"anchor-title"],"anchorTabIndex":[1,"anchor-tab-index"],"anchorId":[1,"anchor-id"],"history":[16],"location":[16],"root":[1],"ariaHaspopup":[1,"aria-haspopup"],"ariaPosinset":[1,"aria-posinset"],"ariaSetsize":[2,"aria-setsize"],"ariaLabel":[1,"aria-label"],"match":[32]}],[4,"sss-button",{"fillWidth":[4,"fill-width"],"fillWidthOnMobile":[4,"fill-width-on-mobile"],"disabled":[4],"variant":[1],"size":[1],"promiseFn":[16],"state":[32]}],[0,"sss-loading-indicator",{"theme":[1],"size":[2]}],[0,"stencil-route",{"group":[513],"componentUpdated":[16],"match":[1040],"url":[1],"component":[1],"componentProps":[16],"exact":[4],"routeRender":[16],"scrollTopOffset":[2,"scroll-top-offset"],"routeViewsUpdated":[16],"location":[16],"history":[16],"historyType":[1,"history-type"]}]]]], options);
|
|
20
20
|
});
|
package/dist/lib/esm/loader.js
CHANGED
|
@@ -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([["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_30",[[0,"sss-my-own-fund",{"history":[16],"formState":[32],"isNotAllInformationProvidedMessageVisible":[32],"isSubmitDisabled":[32]}],[0,"sss-self-managed-fund",{"history":[16],"formState":[32],"isSubmitDisabled":[32]}],[0,"sss-super-choice-page",{"history":[16],"promotedFunds":[32]}],[1,"super-selection-app-host",{"sessionState":[32],"jwt":[32],"appConfiguration":[32],"ignoreExistingSelection":[32]}],[0,"sss-default-fund",{"history":[16],"defaultFundProductName":[32]}],[0,"sss-standard-choice-form",{"history":[16],"standardChoiceFormSignature":[32],"formState":[32],"isSubmitDisabled":[32]}],[0,"sss-consent-page",{"history":[16]}],[0,"sss-existing-choice-page",{"history":[16],"existingFund":[32]}],[0,"sss-promoted-fund-join-v1-page",{"history":[16]}],[0,"sss-promoted-fund-join-v2-page",{"history":[16]}],[0,"sss-slate-join-page",{"history":[16]}],[0,"sss-success"],[1,"super-selection-app",{"ignoreExistingSelection":[4,"ignore-existing-selection"],"accessToken":[1,"access-token"],"backendUrl":[1,"backend-url"],"appBaseUrl":[1,"app-base-url"],"history":[16],"location":[16],"isSelfHosted":[4,"is-self-hosted"],"isAppInitialised":[32]}],[0,"sss-my-own-fund-inputs",{"myOwnFundForm":[16],"showValidationErrors":[4,"show-validation-errors"],"selectedOption":[32]}],[0,"sss-self-managed-fund-inputs",{"fundForm":[16],"showValidationErrors":[4,"show-validation-errors"],"isAbnValid":[32],"isAbnTouched":[32],"isAbnUsedForRegulated":[32],"currentBank":[32],"addressErrorMessage":[32]}],[0,"sss-super-choice-item-bottom",{"disclaimer":[16],"abnInfo":[1,"abn-info"],"abn":[1]}],[0,"sss-loading-page"],[0,"sss-super-choice-item-top",{"name":[1],"logo":[1],"features":[16],"featureSubText":[16]}],[0,"sss-dropdown-async",{"placeholder":[1],"searchFunction":[16],"value":[16],"required":[4],"requiredValidationMessage":[1,"required-validation-message"],"disabled":[4],"minSearchStringLength":[2,"min-search-string-length"],"showValidationErrors":[4,"show-validation-errors"],"searchState":[32],"inputValue":[32],"isDropdownVisible":[32],"filteredOptions":[32],"highlightedOptionIndex":[32],"selectedOption":[32]},[[2,"focus","handleFocus"],[2,"blur","handleBlur"],[2,"keydown","handleKeyDown"]]],[0,"sss-footer-section",{"textOverride":[16]}],[4,"stencil-route-switch",{"group":[513],"scrollTopOffset":[2,"scroll-top-offset"],"location":[16],"routeViewsUpdated":[16]}],[4,"stencil-router",{"root":[1],"historyType":[1,"history-type"],"titleSuffix":[1,"title-suffix"],"scrollTopOffset":[2,"scroll-top-offset"],"location":[32],"history":[32]}],[4,"sss-custom-fund",{"history":[16],"currentCustomFund":[32],"fundOptionsList":[32],"showFundOptionsSelection":[32]}],[0,"sss-iframe-host",{"build":[16]}],[0,"sss-header-section",{"currentPage":[1,"current-page"]}],[0,"sss-name-input",{"value":[1],"name":[1],"readableName":[1,"readable-name"],"showValidationErrors":[4,"show-validation-errors"],"errorMessage":[32]}],[4,"stencil-route-link",{"url":[1],"urlMatch":[1,"url-match"],"activeClass":[1,"active-class"],"exact":[4],"strict":[4],"custom":[1],"anchorClass":[1,"anchor-class"],"anchorRole":[1,"anchor-role"],"anchorTitle":[1,"anchor-title"],"anchorTabIndex":[1,"anchor-tab-index"],"anchorId":[1,"anchor-id"],"history":[16],"location":[16],"root":[1],"ariaHaspopup":[1,"aria-haspopup"],"ariaPosinset":[1,"aria-posinset"],"ariaSetsize":[2,"aria-setsize"],"ariaLabel":[1,"aria-label"],"match":[32]}],[4,"sss-button",{"fillWidth":[4,"fill-width"],"fillWidthOnMobile":[4,"fill-width-on-mobile"],"disabled":[4],"variant":[1],"size":[1],"promiseFn":[16],"state":[32]}],[0,"sss-loading-indicator",{"theme":[1],"size":[2]}],[0,"stencil-route",{"group":[513],"componentUpdated":[16],"match":[1040],"url":[1],"component":[1],"componentProps":[16],"exact":[4],"routeRender":[16],"scrollTopOffset":[2,"scroll-top-offset"],"routeViewsUpdated":[16],"location":[16],"history":[16],"historyType":[1,"history-type"]}]]]], options);
|
|
16
|
+
return bootstrapLazy([["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_30",[[0,"sss-my-own-fund",{"history":[16],"formState":[32],"isNotAllInformationProvidedMessageVisible":[32],"isSubmitDisabled":[32]}],[0,"sss-self-managed-fund",{"history":[16],"formState":[32],"isSubmitDisabled":[32]}],[0,"sss-super-choice-page",{"history":[16],"promotedFunds":[32],"campaignConnectRequestInProgress":[32]}],[1,"super-selection-app-host",{"sessionState":[32],"jwt":[32],"appConfiguration":[32],"ignoreExistingSelection":[32]}],[0,"sss-default-fund",{"history":[16],"defaultFundProductName":[32]}],[0,"sss-standard-choice-form",{"history":[16],"standardChoiceFormSignature":[32],"formState":[32],"isSubmitDisabled":[32]}],[0,"sss-consent-page",{"history":[16]}],[0,"sss-existing-choice-page",{"history":[16],"existingFund":[32]}],[0,"sss-promoted-fund-join-v1-page",{"history":[16]}],[0,"sss-promoted-fund-join-v2-page",{"history":[16]}],[0,"sss-slate-join-page",{"history":[16]}],[0,"sss-success"],[1,"super-selection-app",{"ignoreExistingSelection":[4,"ignore-existing-selection"],"accessToken":[1,"access-token"],"backendUrl":[1,"backend-url"],"appBaseUrl":[1,"app-base-url"],"history":[16],"location":[16],"isSelfHosted":[4,"is-self-hosted"],"isAppInitialised":[32]}],[0,"sss-my-own-fund-inputs",{"myOwnFundForm":[16],"showValidationErrors":[4,"show-validation-errors"],"selectedOption":[32]}],[0,"sss-self-managed-fund-inputs",{"fundForm":[16],"showValidationErrors":[4,"show-validation-errors"],"isAbnValid":[32],"isAbnTouched":[32],"isAbnUsedForRegulated":[32],"currentBank":[32],"addressErrorMessage":[32]}],[0,"sss-super-choice-item-bottom",{"disclaimer":[16],"abnInfo":[1,"abn-info"],"abn":[1]}],[0,"sss-loading-page"],[0,"sss-super-choice-item-top",{"name":[1],"logo":[1],"features":[16],"featureSubText":[16]}],[0,"sss-dropdown-async",{"placeholder":[1],"searchFunction":[16],"value":[16],"required":[4],"requiredValidationMessage":[1,"required-validation-message"],"disabled":[4],"minSearchStringLength":[2,"min-search-string-length"],"showValidationErrors":[4,"show-validation-errors"],"searchState":[32],"inputValue":[32],"isDropdownVisible":[32],"filteredOptions":[32],"highlightedOptionIndex":[32],"selectedOption":[32]},[[2,"focus","handleFocus"],[2,"blur","handleBlur"],[2,"keydown","handleKeyDown"]]],[0,"sss-footer-section",{"textOverride":[16]}],[4,"stencil-route-switch",{"group":[513],"scrollTopOffset":[2,"scroll-top-offset"],"location":[16],"routeViewsUpdated":[16]}],[4,"stencil-router",{"root":[1],"historyType":[1,"history-type"],"titleSuffix":[1,"title-suffix"],"scrollTopOffset":[2,"scroll-top-offset"],"location":[32],"history":[32]}],[4,"sss-custom-fund",{"history":[16],"currentCustomFund":[32],"fundOptionsList":[32],"showFundOptionsSelection":[32]}],[0,"sss-iframe-host",{"build":[16]}],[0,"sss-header-section",{"currentPage":[1,"current-page"]}],[0,"sss-name-input",{"value":[1],"name":[1],"readableName":[1,"readable-name"],"showValidationErrors":[4,"show-validation-errors"],"errorMessage":[32]}],[4,"stencil-route-link",{"url":[1],"urlMatch":[1,"url-match"],"activeClass":[1,"active-class"],"exact":[4],"strict":[4],"custom":[1],"anchorClass":[1,"anchor-class"],"anchorRole":[1,"anchor-role"],"anchorTitle":[1,"anchor-title"],"anchorTabIndex":[1,"anchor-tab-index"],"anchorId":[1,"anchor-id"],"history":[16],"location":[16],"root":[1],"ariaHaspopup":[1,"aria-haspopup"],"ariaPosinset":[1,"aria-posinset"],"ariaSetsize":[2,"aria-setsize"],"ariaLabel":[1,"aria-label"],"match":[32]}],[4,"sss-button",{"fillWidth":[4,"fill-width"],"fillWidthOnMobile":[4,"fill-width-on-mobile"],"disabled":[4],"variant":[1],"size":[1],"promiseFn":[16],"state":[32]}],[0,"sss-loading-indicator",{"theme":[1],"size":[2]}],[0,"stencil-route",{"group":[513],"componentUpdated":[16],"match":[1040],"url":[1],"component":[1],"componentProps":[16],"exact":[4],"routeRender":[16],"scrollTopOffset":[2,"scroll-top-offset"],"routeViewsUpdated":[16],"location":[16],"history":[16],"historyType":[1,"history-type"]}]]]], options);
|
|
17
17
|
});
|
|
18
18
|
};
|
|
19
19
|
|