af-connect-components 0.0.0-watch

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 (163) hide show
  1. package/README.md +24 -0
  2. package/esm2022/af-connect-components.mjs +5 -0
  3. package/esm2022/lib/af-connect-breadcrumb/af-connect-breadcrumb.component.mjs +22 -0
  4. package/esm2022/lib/af-connect-button/af-connect-button.component.mjs +47 -0
  5. package/esm2022/lib/af-connect-card/af-connect-card-header/af-connect-card-header.component.mjs +33 -0
  6. package/esm2022/lib/af-connect-card/af-connect-card.component.mjs +17 -0
  7. package/esm2022/lib/af-connect-chart/af-connect-chart.component.mjs +11 -0
  8. package/esm2022/lib/af-connect-chip/af-connect-chip.component.mjs +23 -0
  9. package/esm2022/lib/af-connect-components.component.mjs +19 -0
  10. package/esm2022/lib/af-connect-components.module.mjs +255 -0
  11. package/esm2022/lib/af-connect-components.service.mjs +14 -0
  12. package/esm2022/lib/af-connect-content/af-connect-content.component.mjs +14 -0
  13. package/esm2022/lib/af-connect-datepicker/af-connect-datepicker.component.mjs +11 -0
  14. package/esm2022/lib/af-connect-error/af-connect-error.component.mjs +26 -0
  15. package/esm2022/lib/af-connect-footer/af-connect-footer.component.mjs +100 -0
  16. package/esm2022/lib/af-connect-footer/af-connect-footer.data.mjs +444 -0
  17. package/esm2022/lib/af-connect-form-group/af-connect-form-group.component.mjs +11 -0
  18. package/esm2022/lib/af-connect-form-validation-errors/af-connect-form-validation-errors.component.mjs +21 -0
  19. package/esm2022/lib/af-connect-header/af-connect-header.component.mjs +95 -0
  20. package/esm2022/lib/af-connect-inline-error/af-connect-inline-error.component.mjs +29 -0
  21. package/esm2022/lib/af-connect-input/af-connect-input.component.mjs +92 -0
  22. package/esm2022/lib/af-connect-loading-spinner/af-connect-loading-spinner.component.mjs +18 -0
  23. package/esm2022/lib/af-connect-modal/af-connect-modal.component.mjs +101 -0
  24. package/esm2022/lib/af-connect-no-content/af-connect-no-content.component.mjs +26 -0
  25. package/esm2022/lib/af-connect-notification/af-connect-notification.component.mjs +15 -0
  26. package/esm2022/lib/af-connect-products-carousel/af-connect-products-carousel.component.mjs +47 -0
  27. package/esm2022/lib/af-connect-products-carousel/defaultConfig.mjs +27 -0
  28. package/esm2022/lib/af-connect-products-carousel/image-card/image-card.component.mjs +27 -0
  29. package/esm2022/lib/af-connect-profile-dropdown/af-connect-profile-dropdown.component.mjs +124 -0
  30. package/esm2022/lib/af-connect-progress-bar/af-connect-progress-bar.component.mjs +45 -0
  31. package/esm2022/lib/af-connect-radio-button/af-connect-radio-button.component.mjs +99 -0
  32. package/esm2022/lib/af-connect-radio-group/af-connect-radio-group.component.mjs +114 -0
  33. package/esm2022/lib/af-connect-savings-banner/af-connect-savings-banner.component.mjs +17 -0
  34. package/esm2022/lib/af-connect-section/af-connect-section.component.mjs +14 -0
  35. package/esm2022/lib/af-connect-section-header/af-connect-section-header.component.mjs +35 -0
  36. package/esm2022/lib/af-connect-select/af-connect-select.component.mjs +11 -0
  37. package/esm2022/lib/af-connect-solutions-product/af-connect-solutions-product.component.mjs +34 -0
  38. package/esm2022/lib/af-connect-solutions-product/af-connect-solutions-product.data.mjs +72 -0
  39. package/esm2022/lib/af-connect-solutions-product-v2/af-connect-solutions-product-v2.component.mjs +45 -0
  40. package/esm2022/lib/af-connect-solutions-product-v2/af-connect-solutions-product-v2.data.mjs +220 -0
  41. package/esm2022/lib/af-connect-svg-button/af-connect-svg-button.component.mjs +27 -0
  42. package/esm2022/lib/af-connect-tab/af-connect-tab.component.mjs +20 -0
  43. package/esm2022/lib/af-connect-table/af-connect-table.component.mjs +11 -0
  44. package/esm2022/lib/af-connect-tabs/af-connect-tabs.component.mjs +87 -0
  45. package/esm2022/lib/af-connect-toaster-message/af-connect-toaster-message.component.mjs +33 -0
  46. package/esm2022/lib/af-connect-toggle-button/af-connect-toggle-button.component.mjs +133 -0
  47. package/esm2022/lib/af-connect-tooltip/af-connect-tooltip.component.mjs +48 -0
  48. package/esm2022/lib/af-connect-tooltip/types.mjs +2 -0
  49. package/esm2022/lib/constants/animation.constants.mjs +121 -0
  50. package/esm2022/lib/constants/base.constants.mjs +10 -0
  51. package/esm2022/lib/expandable/afc-expandable-wrapper/afc-expandable-wrapper.component.mjs +23 -0
  52. package/esm2022/lib/expandable/expandable-arrow/expandable-arrow.component.mjs +54 -0
  53. package/esm2022/lib/expandable/expandable-container/expandable-container.component.mjs +29 -0
  54. package/esm2022/lib/faq/faq/faq.component.mjs +21 -0
  55. package/esm2022/lib/faq/faq-item/faq-item.component.mjs +16 -0
  56. package/esm2022/lib/faq/faqItem.mjs +2 -0
  57. package/esm2022/lib/faq/image-fallback/image-fallback.component.mjs +74 -0
  58. package/esm2022/lib/models/notification-response.model.mjs +2 -0
  59. package/esm2022/lib/models/radio.model.mjs +2 -0
  60. package/esm2022/lib/models/url-config.mjs +2 -0
  61. package/esm2022/lib/pipes/safe-html.pipe.mjs +20 -0
  62. package/esm2022/lib/services/breakpoint.service.mjs +17 -0
  63. package/esm2022/lib/utilities/number.util.mjs +4 -0
  64. package/esm2022/public-api.mjs +47 -0
  65. package/esm2022/shared/pipes/get-initials.mjs +20 -0
  66. package/fesm2022/af-connect-components.mjs +2925 -0
  67. package/fesm2022/af-connect-components.mjs.map +1 -0
  68. package/index.d.ts +5 -0
  69. package/lib/af-connect-breadcrumb/af-connect-breadcrumb.component.d.ts +10 -0
  70. package/lib/af-connect-button/af-connect-button.component.d.ts +21 -0
  71. package/lib/af-connect-card/af-connect-card-header/af-connect-card-header.component.d.ts +14 -0
  72. package/lib/af-connect-card/af-connect-card.component.d.ts +8 -0
  73. package/lib/af-connect-chart/af-connect-chart.component.d.ts +5 -0
  74. package/lib/af-connect-chip/af-connect-chip.component.d.ts +12 -0
  75. package/lib/af-connect-components.component.d.ts +5 -0
  76. package/lib/af-connect-components.module.d.ts +55 -0
  77. package/lib/af-connect-components.service.d.ts +6 -0
  78. package/lib/af-connect-content/af-connect-content.component.d.ts +8 -0
  79. package/lib/af-connect-datepicker/af-connect-datepicker.component.d.ts +5 -0
  80. package/lib/af-connect-error/af-connect-error.component.d.ts +12 -0
  81. package/lib/af-connect-footer/af-connect-footer.component.d.ts +31 -0
  82. package/lib/af-connect-footer/af-connect-footer.data.d.ts +140 -0
  83. package/lib/af-connect-form-group/af-connect-form-group.component.d.ts +5 -0
  84. package/lib/af-connect-form-validation-errors/af-connect-form-validation-errors.component.d.ts +10 -0
  85. package/lib/af-connect-header/af-connect-header.component.d.ts +36 -0
  86. package/lib/af-connect-inline-error/af-connect-inline-error.component.d.ts +13 -0
  87. package/lib/af-connect-input/af-connect-input.component.d.ts +36 -0
  88. package/lib/af-connect-loading-spinner/af-connect-loading-spinner.component.d.ts +8 -0
  89. package/lib/af-connect-modal/af-connect-modal.component.d.ts +46 -0
  90. package/lib/af-connect-no-content/af-connect-no-content.component.d.ts +12 -0
  91. package/lib/af-connect-notification/af-connect-notification.component.d.ts +8 -0
  92. package/lib/af-connect-products-carousel/af-connect-products-carousel.component.d.ts +32 -0
  93. package/lib/af-connect-products-carousel/defaultConfig.d.ts +6 -0
  94. package/lib/af-connect-products-carousel/image-card/image-card.component.d.ts +13 -0
  95. package/lib/af-connect-profile-dropdown/af-connect-profile-dropdown.component.d.ts +50 -0
  96. package/lib/af-connect-progress-bar/af-connect-progress-bar.component.d.ts +18 -0
  97. package/lib/af-connect-radio-button/af-connect-radio-button.component.d.ts +34 -0
  98. package/lib/af-connect-radio-group/af-connect-radio-group.component.d.ts +35 -0
  99. package/lib/af-connect-savings-banner/af-connect-savings-banner.component.d.ts +7 -0
  100. package/lib/af-connect-section/af-connect-section.component.d.ts +8 -0
  101. package/lib/af-connect-section-header/af-connect-section-header.component.d.ts +15 -0
  102. package/lib/af-connect-select/af-connect-select.component.d.ts +5 -0
  103. package/lib/af-connect-solutions-product/af-connect-solutions-product.component.d.ts +15 -0
  104. package/lib/af-connect-solutions-product/af-connect-solutions-product.data.d.ts +17 -0
  105. package/lib/af-connect-solutions-product-v2/af-connect-solutions-product-v2.component.d.ts +18 -0
  106. package/lib/af-connect-solutions-product-v2/af-connect-solutions-product-v2.data.d.ts +3 -0
  107. package/lib/af-connect-svg-button/af-connect-svg-button.component.d.ts +14 -0
  108. package/lib/af-connect-tab/af-connect-tab.component.d.ts +9 -0
  109. package/lib/af-connect-table/af-connect-table.component.d.ts +5 -0
  110. package/lib/af-connect-tabs/af-connect-tabs.component.d.ts +25 -0
  111. package/lib/af-connect-toaster-message/af-connect-toaster-message.component.d.ts +13 -0
  112. package/lib/af-connect-toggle-button/af-connect-toggle-button.component.d.ts +37 -0
  113. package/lib/af-connect-tooltip/af-connect-tooltip.component.d.ts +16 -0
  114. package/lib/af-connect-tooltip/types.d.ts +1 -0
  115. package/lib/constants/animation.constants.d.ts +13 -0
  116. package/lib/constants/base.constants.d.ts +10 -0
  117. package/lib/expandable/afc-expandable-wrapper/afc-expandable-wrapper.component.d.ts +8 -0
  118. package/lib/expandable/expandable-arrow/expandable-arrow.component.d.ts +21 -0
  119. package/lib/expandable/expandable-container/expandable-container.component.d.ts +8 -0
  120. package/lib/faq/faq/faq.component.d.ts +9 -0
  121. package/lib/faq/faq-item/faq-item.component.d.ts +7 -0
  122. package/lib/faq/faqItem.d.ts +7 -0
  123. package/lib/faq/image-fallback/image-fallback.component.d.ts +18 -0
  124. package/lib/models/notification-response.model.d.ts +17 -0
  125. package/lib/models/radio.model.d.ts +3 -0
  126. package/lib/models/url-config.d.ts +5 -0
  127. package/lib/pipes/safe-html.pipe.d.ts +10 -0
  128. package/lib/services/breakpoint.service.d.ts +10 -0
  129. package/lib/utilities/number.util.d.ts +1 -0
  130. package/package.json +26 -0
  131. package/public-api.d.ts +43 -0
  132. package/shared/pipes/get-initials.d.ts +10 -0
  133. package/src/assets/icons/basket-blue.svg +37 -0
  134. package/src/assets/icons/checkmark-teal.svg +11 -0
  135. package/src/assets/icons/chevron-right-rounded.svg +1 -0
  136. package/src/assets/icons/devices-blue.svg +17 -0
  137. package/src/assets/icons/document-clock-blue.svg +68 -0
  138. package/src/assets/icons/hourglass-blue.svg +42 -0
  139. package/src/assets/icons/phone-text-bubbles-blue.svg +677 -0
  140. package/src/assets/icons/price-tag-blue.svg +61 -0
  141. package/src/assets/icons/shield-blue.svg +35 -0
  142. package/src/assets/icons/travel-blue.svg +415 -0
  143. package/src/assets/images/AF-Plus-carousel.jpg +0 -0
  144. package/src/assets/images/AF-Rewards-carousel.jpg +0 -0
  145. package/src/assets/images/FAQ_image.png +0 -0
  146. package/src/assets/images/Unit-trusts-carousel.jpg +0 -0
  147. package/src/assets/images/mmm-carousel.jpg +0 -0
  148. package/src/assets/images/nam_s4u_broadwalk.png +0 -0
  149. package/src/assets/images/nam_s4u_pier.png +0 -0
  150. package/src/assets/images/nam_s4u_sunset_tree.png +0 -0
  151. package/src/assets/images/solutions-advice.jpg +0 -0
  152. package/src/assets/images/solutions-afplus-mobile.jpg +0 -0
  153. package/src/assets/images/solutions-afplus-v2.jpg +0 -0
  154. package/src/assets/images/solutions-afplus.jpg +0 -0
  155. package/src/assets/images/solutions-invest-mobile.jpg +0 -0
  156. package/src/assets/images/solutions-invest.jpg +0 -0
  157. package/src/assets/images/solutions-mmm-mobile.jpg +0 -0
  158. package/src/assets/images/solutions-mmm-v2.jpg +0 -0
  159. package/src/assets/images/solutions-mmm.jpg +0 -0
  160. package/src/assets/images/solutions-rewards.png +0 -0
  161. package/src/assets/images/solutions-taxtim.jpg +0 -0
  162. package/src/assets/images/solutions-welltec.jpg +0 -0
  163. package/src/assets/images/solutions-will.jpg +0 -0
@@ -0,0 +1,2925 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Injectable, Component, ChangeDetectionStrategy, Host, Optional, Input, EventEmitter, forwardRef, Output, ContentChildren, ViewChild, HostBinding, HostListener, Pipe, Directive, ContentChild, ElementRef, ViewChildren, input, computed, NgModule } from '@angular/core';
3
+ import { map, BehaviorSubject, take, filter, fromEvent, Subscription, interval, debounceTime } from 'rxjs';
4
+ import * as i1 from '@angular/cdk/layout';
5
+ import * as i1$1 from '@angular/common';
6
+ import { CommonModule } from '@angular/common';
7
+ import { trigger, state, style, transition, animate, query, stagger, sequence, group, animateChild } from '@angular/animations';
8
+ import * as i1$2 from '@angular/platform-browser';
9
+ import * as i1$3 from '@angular/router';
10
+ import { NavigationEnd } from '@angular/router';
11
+ import * as i2 from '@angular/forms';
12
+ import { NG_VALUE_ACCESSOR, NgControl, FormsModule, ReactiveFormsModule } from '@angular/forms';
13
+ import { first } from 'rxjs/operators';
14
+
15
+ class AfConnectComponentsService {
16
+ constructor() { }
17
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AfConnectComponentsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
18
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AfConnectComponentsService, providedIn: 'root' }); }
19
+ }
20
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AfConnectComponentsService, decorators: [{
21
+ type: Injectable,
22
+ args: [{
23
+ providedIn: 'root'
24
+ }]
25
+ }], ctorParameters: () => [] });
26
+
27
+ class AfConnectComponentsComponent {
28
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AfConnectComponentsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
29
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: AfConnectComponentsComponent, selector: "lib-af-connect-components", ngImport: i0, template: `
30
+ <p>
31
+ af-connect-components works!
32
+ </p>
33
+ `, isInline: true }); }
34
+ }
35
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AfConnectComponentsComponent, decorators: [{
36
+ type: Component,
37
+ args: [{ selector: 'lib-af-connect-components', template: `
38
+ <p>
39
+ af-connect-components works!
40
+ </p>
41
+ ` }]
42
+ }] });
43
+
44
+ const configs = {
45
+ 'ZA': {
46
+ sections: [
47
+ {
48
+ title: 'Company',
49
+ sectionItems: [
50
+ {
51
+ title: 'Investor relations',
52
+ link: 'https://investors.alexforbes.com/'
53
+ },
54
+ {
55
+ title: 'Careers',
56
+ link: 'https://www.alexforbes.com/za/en/about/careers.html'
57
+ },
58
+ {
59
+ title: 'Procurement',
60
+ link: 'https://www.alexforbes.com/za/en/about/procurement.html'
61
+ },
62
+ {
63
+ title: 'Risk & compliance',
64
+ link: 'https://investors.alexforbes.com/governance/#1649142494218-25325-08da'
65
+ },
66
+ ]
67
+ },
68
+ {
69
+ title: 'Resources',
70
+ sectionItems: [
71
+ {
72
+ title: 'Business directory',
73
+ link: 'https://www.alexforbes.com/za/en/contact/business-directory.html'
74
+ },
75
+ {
76
+ title: 'Call me back',
77
+ link: 'https://kfta.app.alexanderforbes.co.za/TotalAgility/Forms/Digital/Contact_Us.form',
78
+ isHidden: true
79
+ },
80
+ {
81
+ title: 'Compliments',
82
+ link: 'https://www.alexforbes.com/za/en/contact/compliments.html'
83
+ },
84
+ {
85
+ title: 'Complaints',
86
+ link: 'https://www.alexforbes.com/za/en/contact/Complaints.html'
87
+ },
88
+ {
89
+ title: 'Report fraud',
90
+ link: 'https://www.alexforbes.com/za/en/contact/Report-fraud.html'
91
+ },
92
+ {
93
+ title: 'Unclaimed benefits',
94
+ link: 'https://www.alexforbes.com/za/en/corporate/products-corporate/unclaimed-benefits-fund.html'
95
+ },
96
+ ]
97
+ },
98
+ ],
99
+ address: [
100
+ {
101
+ title: 'Head Office',
102
+ sectionItems: [
103
+ {
104
+ title: 'Contact information',
105
+ bold: true
106
+ },
107
+ {
108
+ title: 'Email : info@alexforbes.com',
109
+ },
110
+ {
111
+ title: 'Telephone : +27 11 269 0000',
112
+ },
113
+ {
114
+ title: 'Fax : +27 11 263 0149',
115
+ },
116
+ ]
117
+ },
118
+ {
119
+ title: '',
120
+ sectionItems: [
121
+ {
122
+ title: 'Address',
123
+ bold: true
124
+ },
125
+ {
126
+ title: 'Alexforbes',
127
+ },
128
+ {
129
+ title: '115 West Street',
130
+ },
131
+ {
132
+ title: 'Sandton, 2196',
133
+ },
134
+ ]
135
+ },
136
+ ],
137
+ bannerTitle: 'Copyright 2026 Alexander Forbes Group Holdings Limited.',
138
+ instagram: {
139
+ link: 'https://www.instagram.com/alexforbesofficial',
140
+ isHidden: false,
141
+ },
142
+ linkedIn: {
143
+ link: 'https://www.linkedin.com/company/alexforbesofficial',
144
+ isHidden: false,
145
+ },
146
+ facebook: {
147
+ link: 'https://www.facebook.com/alexforbesofficial/',
148
+ isHidden: false,
149
+ },
150
+ twitter: {
151
+ link: 'https://twitter.com/alexforbes',
152
+ isHidden: false,
153
+ },
154
+ whatsapp: {
155
+ link: 'https://api.whatsapp.com/send/?phone=27600439601&text=help&type=phone_number&app_absent=0',
156
+ isHidden: false,
157
+ }
158
+ },
159
+ 'NA': {
160
+ sections: [
161
+ {
162
+ title: 'Company',
163
+ sectionItems: [
164
+ {
165
+ title: 'Investor relations',
166
+ link: 'https://investors.alexforbes.com/'
167
+ },
168
+ {
169
+ title: 'Careers',
170
+ link: 'https://www.alexforbes.com/na/en/about/careers.html'
171
+ },
172
+ {
173
+ title: 'Procurement',
174
+ link: 'https://www.alexforbes.com/na/en/about/procurement.html'
175
+ },
176
+ {
177
+ title: 'Risk & compliance',
178
+ link: 'https://investors.alexforbes.com/governance/#1649142494218-25325-08da'
179
+ },
180
+ ]
181
+ },
182
+ {
183
+ title: 'Resources',
184
+ sectionItems: [
185
+ {
186
+ title: 'Business directory',
187
+ link: 'https://www.alexforbes.com/za/en/contact/business-directory.html'
188
+ },
189
+ {
190
+ title: 'Report fraud',
191
+ link: 'https://www.alexforbes.com/na/en/contact/Report-fraud.html'
192
+ },
193
+ {
194
+ title: 'Complaints',
195
+ link: 'https://www.alexforbes.com/na/en/contact/Complaints.html'
196
+ },
197
+ ]
198
+ },
199
+ ],
200
+ address: [
201
+ {
202
+ title: 'Namibia',
203
+ sectionItems: [
204
+ {
205
+ title: 'Contact information',
206
+ bold: true
207
+ },
208
+ {
209
+ title: 'Email: AFFSNamibia@alexforbes.com',
210
+ },
211
+ {
212
+ title: 'Telephone: +264 (61) 293 7000',
213
+ },
214
+ ]
215
+ },
216
+ {
217
+ title: '',
218
+ sectionItems: [
219
+ {
220
+ title: 'Address',
221
+ bold: true
222
+ },
223
+ {
224
+ title: 'Alexforbes House, 1st Floor ',
225
+ },
226
+ {
227
+ title: 'c/o Independence Avenue & Fidel Castro Street',
228
+ },
229
+ {
230
+ title: 'Windhoek, Namibia',
231
+ },
232
+ ]
233
+ },
234
+ ],
235
+ bannerTitle: 'Copyright 2026 Alexander Forbes Group Holdings Limited.',
236
+ instagram: {
237
+ link: 'https://www.instagram.com/alexforbesofficial',
238
+ isHidden: false,
239
+ },
240
+ linkedIn: {
241
+ link: 'https://na.linkedin.com/showcase/alexforbesnamibia',
242
+ isHidden: false,
243
+ },
244
+ facebook: {
245
+ link: 'https://www.facebook.com/alexforbesnamibia/',
246
+ isHidden: false,
247
+ },
248
+ twitter: {
249
+ link: 'https://twitter.com/alexforbes',
250
+ isHidden: false,
251
+ },
252
+ whatsapp: {
253
+ link: 'https://api.whatsapp.com/send/?phone=27600439601&text=help&type=phone_number&app_absent=0',
254
+ isHidden: true,
255
+ }
256
+ }
257
+ };
258
+ /**
259
+ Footer component for AF Angular Websites. A config object can be passed to change data partially or fully.
260
+
261
+ public exampleTestConfig: FooterConfig = {
262
+ bannerTitle: 'test'
263
+ }
264
+
265
+ Passing the exampleTestConfig will replace only the banner. Everything else will be loaded from the default config.
266
+
267
+
268
+ defaultConfig: FooterConfig = {
269
+ sections: [
270
+ {
271
+ title: 'COMPANY',
272
+ sectionItems: [
273
+ {
274
+ title: 'Investor relations',
275
+ link: 'https://investors.alexforbes.com/'
276
+ },
277
+ {
278
+ title: 'Careers',
279
+ link: 'https://www.alexforbes.com/za/en/about/careers.html'
280
+ },
281
+ {
282
+ title: 'Procurement',
283
+ link: 'https://www.alexforbes.com/za/en/about/procurement.html'
284
+ },
285
+ {
286
+ title: 'Risk & Compliance',
287
+ link: 'https://www.alexanderforbesinvestments.co.za/about-us/risk-and-compliance'
288
+ },
289
+ ]
290
+ },
291
+ {
292
+ title: 'RESOURCES',
293
+ sectionItems: [
294
+ {
295
+ title: 'Business directory',
296
+ link: 'https://www.alexforbes.com/za/en/contact/business-directory.html'
297
+ },
298
+ {
299
+ title: 'Compliments',
300
+ link: 'https://www.alexforbes.com/za/en/contact/compliments.html'
301
+ },
302
+ {
303
+ title: 'Complaints',
304
+ link: 'https://www.alexforbes.com/za/en/contact/Complaints.html'
305
+ },
306
+ {
307
+ title: 'Report fraud',
308
+ link: 'https://www.alexforbes.com/za/en/contact/Report-fraud.html'
309
+ },
310
+ {
311
+ title: 'Unclaimed benefits',
312
+ link: 'https://www.alexforbes.com/za/en/corporate/products-corporate/unclaimed-benefits-fund.html'
313
+ },
314
+ ]
315
+ },
316
+ ],
317
+ address: [
318
+ {
319
+ title: 'Head Office',
320
+ sectionItems: [
321
+ {
322
+ title: 'Contact information',
323
+ },
324
+ {
325
+ title: 'Email : info@alexforbes.com',
326
+ },
327
+ {
328
+ title: 'Telephone : +27 11 269 0000',
329
+ },
330
+ {
331
+ title: 'Fax : +27 11 263 0149',
332
+ },
333
+ ]
334
+ },
335
+ {
336
+ title: '',
337
+ sectionItems: [
338
+ {
339
+ title: 'Address',
340
+ },
341
+ {
342
+ title: 'Alexforbes',
343
+ },
344
+ {
345
+ title: '115 West Street',
346
+ },
347
+ {
348
+ title: 'Sandton, 2196',
349
+ },
350
+ ]
351
+ },
352
+ ],
353
+ bannerTitle: 'Copyright 2022 Alexander Forbes Group Holdings Limited.',
354
+ instagram: {
355
+ link: 'https://www.instagram.com/alexforbesofficial',
356
+ isHidden: false,
357
+ },
358
+ linkedIn: {
359
+ link: 'https://www.linkedin.com/company/alexforbesofficial',
360
+ isHidden: false,
361
+ },
362
+ facebook: {
363
+ link: 'https://www.facebook.com/alexforbesofficial/',
364
+ isHidden: false,
365
+ },
366
+ twitter: {
367
+ link: 'https://twitter.com/alexforbes',
368
+ isHidden: false,
369
+ }
370
+ }
371
+ */
372
+ /*
373
+ public defaultConfig: FooterConfig = {
374
+ sections: [
375
+ {
376
+ title: 'Company',
377
+ sectionItems: [
378
+ {
379
+ title: 'Investor relations',
380
+ link: 'https://investors.alexforbes.com/'
381
+ },
382
+ {
383
+ title: 'Careers',
384
+ link: 'https://www.alexforbes.com/za/en/about/careers.html'
385
+ },
386
+ {
387
+ title: 'Procurement',
388
+ link: 'https://www.alexforbes.com/za/en/about/procurement.html'
389
+ },
390
+ {
391
+ title: 'Risk & compliance',
392
+ link: 'https://investors.alexforbes.com/governance/#1649142494218-25325-08da'
393
+ },
394
+ ]
395
+ },
396
+ {
397
+ title: 'Resources',
398
+ sectionItems: [
399
+ {
400
+ title: 'Business directory',
401
+ link: 'https://www.alexforbes.com/za/en/contact/business-directory.html'
402
+ },
403
+ {
404
+ title: 'Call me back',
405
+ link: 'https://kfta.app.alexanderforbes.co.za/TotalAgility/Forms/Digital/Contact_Us.form',
406
+ isHidden: true
407
+ },
408
+ {
409
+ title: 'Compliments',
410
+ link: 'https://www.alexforbes.com/za/en/contact/compliments.html'
411
+ },
412
+ {
413
+ title: 'Complaints',
414
+ link: 'https://www.alexforbes.com/za/en/contact/Complaints.html'
415
+ },
416
+ {
417
+ title: 'Report fraud',
418
+ link: 'https://www.alexforbes.com/za/en/contact/Report-fraud.html'
419
+ },
420
+ {
421
+ title: 'Unclaimed benefits',
422
+ link: 'https://www.alexforbes.com/za/en/corporate/products-corporate/unclaimed-benefits-fund.html'
423
+ },
424
+ ]
425
+ },
426
+ ],
427
+ address: [
428
+ {
429
+ title: 'Head Office',
430
+ sectionItems: [
431
+ {
432
+ title: 'Contact information',
433
+ bold: false
434
+ },
435
+ {
436
+ title: 'Email : info@alexforbes.com',
437
+ },
438
+ {
439
+ title: 'Telephone : +27 11 269 0000',
440
+ },
441
+ {
442
+ title: 'Fax : +27 11 263 0149',
443
+ },
444
+ ]
445
+ },
446
+ {
447
+ title: '',
448
+ sectionItems: [
449
+ {
450
+ title: 'Address',
451
+ bold: false
452
+ },
453
+ {
454
+ title: 'Alexforbes',
455
+ },
456
+ {
457
+ title: '115 West Street',
458
+ },
459
+ {
460
+ title: 'Sandton, 2196',
461
+ },
462
+ ]
463
+ },
464
+ ],
465
+ bannerTitle: 'Copyright 2024 Alexander Forbes Group Holdings Limited.',
466
+ instagram: {
467
+ link: 'https://www.instagram.com/alexforbesofficial',
468
+ isHidden: false,
469
+ },
470
+ linkedIn: {
471
+ link: 'https://www.linkedin.com/company/alexforbesofficial',
472
+ isHidden: false,
473
+ },
474
+ facebook: {
475
+ link: 'https://www.facebook.com/alexforbesofficial/',
476
+ isHidden: false,
477
+ },
478
+ twitter: {
479
+ link: 'https://twitter.com/alexforbes',
480
+ isHidden: false,
481
+ },
482
+ whatsapp: {
483
+ link:'https://api.whatsapp.com/send/?phone=27600439601&text=help&type=phone_number&app_absent=0',
484
+ isHidden: false,
485
+ }
486
+ }*/
487
+
488
+ class BreakpointLibService {
489
+ constructor(responsive) {
490
+ this.responsive = responsive;
491
+ this.isMobile$ = this.responsive.observe(['(max-width: 768px)']).pipe(map((result) => result.matches));
492
+ this.isTablet$ = this.responsive.observe(['(max-width: 1024px)']).pipe(map((result) => !result.matches));
493
+ }
494
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: BreakpointLibService, deps: [{ token: i1.BreakpointObserver }], target: i0.ɵɵFactoryTarget.Injectable }); }
495
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: BreakpointLibService }); }
496
+ }
497
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: BreakpointLibService, decorators: [{
498
+ type: Injectable
499
+ }], ctorParameters: () => [{ type: i1.BreakpointObserver }] });
500
+
501
+ class ExpandableWrapperComponent {
502
+ constructor() {
503
+ this.isExpanded$ = new BehaviorSubject(null);
504
+ }
505
+ toggleIsExpanded() {
506
+ this.isExpanded$
507
+ .pipe(take(1))
508
+ .subscribe((current) => {
509
+ this.isExpanded$.next(!current);
510
+ })
511
+ .unsubscribe();
512
+ }
513
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ExpandableWrapperComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
514
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: ExpandableWrapperComponent, selector: "afc-expandable-wrapper", ngImport: i0, template: "<div class=\"expandable-wrapper\" (click)=\"toggleIsExpanded()\">\r\n <ng-content select=\"[triggerable]\"></ng-content>\r\n</div>\r\n<ng-content></ng-content>\r\n", styles: [""], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
515
+ }
516
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ExpandableWrapperComponent, decorators: [{
517
+ type: Component,
518
+ args: [{ selector: 'afc-expandable-wrapper', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"expandable-wrapper\" (click)=\"toggleIsExpanded()\">\r\n <ng-content select=\"[triggerable]\"></ng-content>\r\n</div>\r\n<ng-content></ng-content>\r\n" }]
519
+ }] });
520
+
521
+ class ExpandableContainerComponent {
522
+ constructor(wrapper) {
523
+ this.wrapper = wrapper;
524
+ }
525
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ExpandableContainerComponent, deps: [{ token: ExpandableWrapperComponent, host: true, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
526
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: ExpandableContainerComponent, selector: "afc-expandable-container", ngImport: i0, template: "<div class=\"expand-container\" [@expandContainer]=\"(wrapper.isExpanded$ | async) ? 'expanded' : 'collapsed'\">\r\n <ng-content></ng-content>\r\n</div>\r\n", styles: [".expand-container{overflow:hidden}\n"], dependencies: [{ kind: "pipe", type: i1$1.AsyncPipe, name: "async" }], animations: [trigger('expandContainer', [
527
+ state('collapsed', style({ height: '0px', minHeight: '0', visibility: 'hidden', border: 'none', overflow: 'hidden' })),
528
+ state('expanded', style({ height: '*' })),
529
+ transition('expanded <=> collapsed', animate('300ms ease-out'))
530
+ ])], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
531
+ }
532
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ExpandableContainerComponent, decorators: [{
533
+ type: Component,
534
+ args: [{ selector: 'afc-expandable-container', changeDetection: ChangeDetectionStrategy.OnPush, animations: [trigger('expandContainer', [
535
+ state('collapsed', style({ height: '0px', minHeight: '0', visibility: 'hidden', border: 'none', overflow: 'hidden' })),
536
+ state('expanded', style({ height: '*' })),
537
+ transition('expanded <=> collapsed', animate('300ms ease-out'))
538
+ ])], template: "<div class=\"expand-container\" [@expandContainer]=\"(wrapper.isExpanded$ | async) ? 'expanded' : 'collapsed'\">\r\n <ng-content></ng-content>\r\n</div>\r\n", styles: [".expand-container{overflow:hidden}\n"] }]
539
+ }], ctorParameters: () => [{ type: ExpandableWrapperComponent, decorators: [{
540
+ type: Host
541
+ }, {
542
+ type: Optional
543
+ }] }] });
544
+
545
+ var AnimationPosition;
546
+ (function (AnimationPosition) {
547
+ AnimationPosition[AnimationPosition["right"] = 0] = "right";
548
+ AnimationPosition[AnimationPosition["bottom"] = 90] = "bottom";
549
+ AnimationPosition[AnimationPosition["left"] = 180] = "left";
550
+ AnimationPosition[AnimationPosition["top"] = 270] = "top";
551
+ })(AnimationPosition || (AnimationPosition = {}));
552
+ ;
553
+ class ExpandableArrowComponent {
554
+ constructor(wrapper) {
555
+ this.wrapper = wrapper;
556
+ this.color = '#454f63';
557
+ this.startPosition = 'right';
558
+ this.endPosition = 'bottom';
559
+ this.collapsedRotation = AnimationPosition['right'];
560
+ this.expandedRotation = AnimationPosition['bottom'];
561
+ }
562
+ ngOnInit() {
563
+ this.collapsedRotation = AnimationPosition[this.startPosition];
564
+ this.expandedRotation = AnimationPosition[this.endPosition];
565
+ }
566
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ExpandableArrowComponent, deps: [{ token: ExpandableWrapperComponent, host: true, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
567
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: ExpandableArrowComponent, selector: "afc-expandable-arrow", inputs: { color: "color", startPosition: "startPosition", endPosition: "endPosition" }, ngImport: i0, template: "<span class=\"expandable-arrow\" #arrow>\r\n <svg\r\n [@expandableArrow]=\"{\r\n value: (wrapper && wrapper.isExpanded$ | async) ? 'expanded' : 'collapsed',\r\n params: {\r\n collapsedRotation,\r\n expandedRotation\r\n }\r\n }\"\r\n id=\"icons_next\" data-name=\"icons/next\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\">\r\n <rect id=\"bg\" width=\"24\" height=\"24\" fill=\"none\"/>\r\n <path id=\"union\" d=\"M1597.541-4.4l-5.929-5.93a.742.742,0,0,1-.081-.07.747.747,0,0,1-.219-.536.747.747,0,0,1,.219-.535.751.751,0,0,1,.078-.068l5.932-5.932a.751.751,0,0,1,1.061,0,.751.751,0,0,1,0,1.061l-5.476,5.475,5.476,5.475a.751.751,0,0,1,0,1.061.749.749,0,0,1-.531.219A.749.749,0,0,1,1597.541-4.4Z\" transform=\"translate(1607.832 1.052) rotate(180)\" [attr.fill]=\"color\"/>\r\n </svg>\r\n</span>\r\n", styles: [""], dependencies: [{ kind: "pipe", type: i1$1.AsyncPipe, name: "async" }], animations: [trigger('expandableArrow', [
568
+ state('collapsed', style({ transform: 'rotate({{collapsedRotation}}deg)' }), { params: { collapsedRotation: '0' } }),
569
+ state('expanded', style({ transform: 'rotate({{expandedRotation}}deg)' }), { params: { expandedRotation: '90' } }),
570
+ transition('expanded <=> collapsed', animate('300ms ease-out')),
571
+ transition('collapsed <=> expanded', animate('300ms ease-out'))
572
+ ])], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
573
+ }
574
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ExpandableArrowComponent, decorators: [{
575
+ type: Component,
576
+ args: [{ selector: 'afc-expandable-arrow', changeDetection: ChangeDetectionStrategy.OnPush, animations: [trigger('expandableArrow', [
577
+ state('collapsed', style({ transform: 'rotate({{collapsedRotation}}deg)' }), { params: { collapsedRotation: '0' } }),
578
+ state('expanded', style({ transform: 'rotate({{expandedRotation}}deg)' }), { params: { expandedRotation: '90' } }),
579
+ transition('expanded <=> collapsed', animate('300ms ease-out')),
580
+ transition('collapsed <=> expanded', animate('300ms ease-out'))
581
+ ])], template: "<span class=\"expandable-arrow\" #arrow>\r\n <svg\r\n [@expandableArrow]=\"{\r\n value: (wrapper && wrapper.isExpanded$ | async) ? 'expanded' : 'collapsed',\r\n params: {\r\n collapsedRotation,\r\n expandedRotation\r\n }\r\n }\"\r\n id=\"icons_next\" data-name=\"icons/next\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\">\r\n <rect id=\"bg\" width=\"24\" height=\"24\" fill=\"none\"/>\r\n <path id=\"union\" d=\"M1597.541-4.4l-5.929-5.93a.742.742,0,0,1-.081-.07.747.747,0,0,1-.219-.536.747.747,0,0,1,.219-.535.751.751,0,0,1,.078-.068l5.932-5.932a.751.751,0,0,1,1.061,0,.751.751,0,0,1,0,1.061l-5.476,5.475,5.476,5.475a.751.751,0,0,1,0,1.061.749.749,0,0,1-.531.219A.749.749,0,0,1,1597.541-4.4Z\" transform=\"translate(1607.832 1.052) rotate(180)\" [attr.fill]=\"color\"/>\r\n </svg>\r\n</span>\r\n" }]
582
+ }], ctorParameters: () => [{ type: ExpandableWrapperComponent, decorators: [{
583
+ type: Host
584
+ }, {
585
+ type: Optional
586
+ }] }], propDecorators: { color: [{
587
+ type: Input
588
+ }], startPosition: [{
589
+ type: Input
590
+ }], endPosition: [{
591
+ type: Input
592
+ }] } });
593
+
594
+ const DEFAULT_COLOR = '#15808D';
595
+ class AfConnectFooterComponent {
596
+ constructor(breakpointService) {
597
+ this.breakpointService = breakpointService;
598
+ this._countryCode = 'ZA';
599
+ this.config = undefined;
600
+ this.isBottomBannerHidden = false;
601
+ this.isFooterContentHidden = false;
602
+ this.backgroundColor = DEFAULT_COLOR;
603
+ this.centered = false;
604
+ }
605
+ get getMobileAddress() {
606
+ const config = this.choosenConfig; //this.config ? this.config : this.defaultConfig;
607
+ const addressData = config?.address?.find(address => !address.title)?.sectionItems;
608
+ const titleString = addressData?.reduce((prev, curr, i) => {
609
+ return `${prev}${i === 0 ? '' : ''}${i === 1 ? ' : ' : ''}${i > 1 ? ',' : ''} ${curr.title}`;
610
+ }, '');
611
+ return titleString || '';
612
+ }
613
+ set showCallMeBack(value) {
614
+ //need to rewrie this
615
+ if (this._countryCode == 'ZA' &&
616
+ this.choosenConfig &&
617
+ this.choosenConfig.sections &&
618
+ this.choosenConfig.sections[1] &&
619
+ this.choosenConfig.sections[1].sectionItems &&
620
+ this.choosenConfig.sections[1].sectionItems[1]) {
621
+ this.choosenConfig.sections[1].sectionItems[1].isHidden = !value;
622
+ if (this.choosenConfig.address && this.choosenConfig.address[0] && this.choosenConfig.address[0].sectionItems) {
623
+ this.choosenConfig.address[0].sectionItems[0].bold = value;
624
+ }
625
+ if (this.choosenConfig.address && this.choosenConfig.address[1] && this.choosenConfig.address[1].sectionItems) {
626
+ this.choosenConfig.address[1].sectionItems[0].bold = value;
627
+ }
628
+ if (value) {
629
+ this.choosenConfig.sections[1].title = "Customer Resources";
630
+ let temp = this.choosenConfig.sections[1].sectionItems[2];
631
+ this.choosenConfig.sections[1].sectionItems[2] = this.choosenConfig.sections[1].sectionItems[3];
632
+ this.choosenConfig.sections[1].sectionItems[3] = temp;
633
+ }
634
+ }
635
+ }
636
+ set CountryCode(value) {
637
+ this._countryCode = value ?? 'ZA';
638
+ }
639
+ get choosenConfig() {
640
+ return this.config ? this.config : configs[this._countryCode];
641
+ }
642
+ openLegalTerms() {
643
+ window.open('https://gw.api.alexforbes.com/content/download/investmentsmedia/web?path=Alexforbes-AF-Connect-Terms-of-Use-Document.pdf');
644
+ }
645
+ openPrivacyPolicy() {
646
+ window.open('https://gw.api.alexforbes.com/content/download/investmentsmedia/web?path=Privacy_Policy.pdf');
647
+ }
648
+ openPaiaManual() {
649
+ window.open('https://gw.api.alexforbes.com/content/download/investmentsmedia/web?path=PAIA_Manual.pdf');
650
+ }
651
+ getFooterStyling() {
652
+ if (this.centered) {
653
+ return {
654
+ 'background-color': this.backgroundColor,
655
+ 'grid-template-columns': 'repeat(4, minmax(190px, auto))',
656
+ 'justify-content': 'center'
657
+ };
658
+ }
659
+ return {
660
+ 'background-color': this.backgroundColor,
661
+ 'grid-template-columns': 'repeat(auto-fill, minmax(190px, auto))'
662
+ };
663
+ }
664
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AfConnectFooterComponent, deps: [{ token: BreakpointLibService }], target: i0.ɵɵFactoryTarget.Component }); }
665
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: AfConnectFooterComponent, selector: "lib-af-connect-footer", inputs: { config: "config", isBottomBannerHidden: "isBottomBannerHidden", isFooterContentHidden: "isFooterContentHidden", backgroundColor: "backgroundColor", centered: "centered", showCallMeBack: "showCallMeBack", CountryCode: "CountryCode" }, ngImport: i0, template: "\r\n<ng-container *ngIf=\"!isFooterContentHidden\"> \r\n <div *ngIf=\"!(breakpointService.isMobile$ | async)\" class=\"footer-container\" [ngStyle]=\"getFooterStyling()\">\r\n <div *ngFor=\"let section of choosenConfig.sections\" class=\"sections-container\">\r\n <h2 class=\"section-title\">\r\n {{section.title}}\r\n </h2>\r\n <ng-container *ngFor=\"let link of section.sectionItems\">\r\n <a *ngIf=\"!link.isHidden\" class=\"section-link\" [href]=\"link.link\" target=\"_blank\">{{link.title}}</a>\r\n </ng-container>\r\n </div>\r\n <div *ngFor=\"let address of choosenConfig.address\" class=\"sections-container address-container\">\r\n <h2 class=\"section-title address-title\">\r\n {{address.title}}\r\n </h2>\r\n <ng-container *ngFor=\"let link of address.sectionItems\">\r\n <span class=\"section-link address-link\" [ngStyle]=\"{'font-weight': link.bold ? '600' : '500','opacity': link.bold ? '90%' : '70%' }\">{{link.title}}</span>\r\n </ng-container>\r\n </div>\r\n </div>\r\n\r\n <div *ngIf=\"breakpointService.isMobile$ | async\" class=\"footer-container\" [ngStyle]=\"{backgroundColor}\">\r\n <div *ngFor=\"let section of choosenConfig.sections\" class=\"sections-container\">\r\n <afc-expandable-wrapper>\r\n <div triggerable class=\"title-container\">\r\n <h2 class=\"section-title\">\r\n {{section.title}}\r\n </h2>\r\n <afc-expandable-arrow color=\"rgba(255,255,255, 0.7)\"></afc-expandable-arrow>\r\n </div>\r\n <afc-expandable-container>\r\n <div class=\"sections-container__mobile\">\r\n <ng-container *ngFor=\"let link of section.sectionItems\">\r\n <a *ngIf=\"!link.isHidden\" class=\"section-link address-link\" [href]=\"link.link\" target=\"_blank\">{{link.title}}</a>\r\n </ng-container>\r\n </div>\r\n </afc-expandable-container>\r\n </afc-expandable-wrapper>\r\n </div>\r\n <div *ngFor=\"let address of choosenConfig.address\" [ngClass]=\"[address.title ? 'sections-container address-container' : '']\">\r\n <afc-expandable-wrapper *ngIf=\"address.title\">\r\n <div triggerable class=\"title-container\">\r\n <h2 class=\"section-title address-title\">\r\n {{address.title}}\r\n </h2>\r\n <afc-expandable-arrow color=\"rgba(255,255,255, 0.7)\"></afc-expandable-arrow>\r\n </div>\r\n <afc-expandable-container>\r\n <div class=\"sections-container__mobile\">\r\n <ng-container *ngFor=\"let link of address.sectionItems\">\r\n <span class=\"section-link\">{{link.title}}</span>\r\n </ng-container>\r\n <span class=\"section-link address-link\">{{getMobileAddress}}</span>\r\n </div>\r\n </afc-expandable-container>\r\n </afc-expandable-wrapper>\r\n </div>\r\n </div>\r\n</ng-container> \r\n\r\n<div class=\"bottom-banner-container\" [ngClass]=\"{'centered': centered}\">\r\n <div *ngIf=\"!isBottomBannerHidden\" class=\"bottom-banner\">\r\n <div class=\"banner-title\">\r\n {{choosenConfig.bannerTitle}}\r\n <span class=\"title-links\" (click)=\"openLegalTerms()\">Legal terms</span>\r\n <span class=\"title-spacer\">|</span>\r\n <span class=\"title-links\" (click)=\"openPrivacyPolicy()\">Privacy policy</span>\r\n <span class=\"title-spacer\">|</span>\r\n <span class=\"title-links\" (click)=\"openPaiaManual()\">PAIA manual</span>\r\n </div>\r\n \r\n <div class=\"social-container\">\r\n <a *ngIf=\"!choosenConfig.instagram?.isHidden\" class=\"image-container\" [href]=\"choosenConfig.instagram?.link\" target=\"_blank\">\r\n <svg id=\"Group_888\" data-name=\"Group 888\" xmlns=\"http://www.w3.org/2000/svg\" width=\"15.618\" height=\"15.676\" viewBox=\"0 0 15.618 15.676\">\r\n <path id=\"Path_8\" data-name=\"Path 8\" d=\"M21.327,13.4c1.039.037,2.115.037,3.154.074a5.31,5.31,0,0,1,2.6.668,3.937,3.937,0,0,1,1.892,2.746,21.051,21.051,0,0,1,.186,2.152c.037,1.558,0,3.117,0,4.675a7.553,7.553,0,0,1-.3,2.412,3.931,3.931,0,0,1-3.154,2.746,14.046,14.046,0,0,1-2.152.186c-1.559.037-3.08,0-4.638,0a7.553,7.553,0,0,1-2.412-.3,3.931,3.931,0,0,1-2.746-3.154,14.046,14.046,0,0,1-.186-2.152c-.037-1.558,0-3.117,0-4.675a7.553,7.553,0,0,1,.3-2.412,3.931,3.931,0,0,1,3.154-2.746,14.047,14.047,0,0,1,2.152-.186c.705-.037,1.41-.037,2.152-.037Zm6.42,7.681h0c-.037-.631-.037-1.225-.037-1.855a14.347,14.347,0,0,0-.111-1.781,2.653,2.653,0,0,0-2.226-2.486,9.8,9.8,0,0,0-2.078-.148c-1.336-.037-2.635-.037-3.97,0a11.414,11.414,0,0,0-1.967.148,2.616,2.616,0,0,0-2.226,1.93A5.813,5.813,0,0,0,14.945,18c-.037,1.41-.037,2.82-.037,4.23,0,.891.037,1.818.111,2.709a2.587,2.587,0,0,0,2.264,2.486,12.746,12.746,0,0,0,2.078.148c1.3.037,2.6,0,3.933,0a14.348,14.348,0,0,0,1.781-.111A2.594,2.594,0,0,0,26.6,26.87a2.848,2.848,0,0,0,1.039-2.264C27.71,23.493,27.71,22.306,27.747,21.081Z\" transform=\"translate(-13.556 -13.4)\" fill=\"#f1f2f5\"/>\r\n <path id=\"Path_9\" data-name=\"Path 9\" d=\"M31.715,27.708a4.008,4.008,0,1,1-3.97-4.008A3.991,3.991,0,0,1,31.715,27.708Zm-4.008,2.6a2.6,2.6,0,1,0-2.6-2.6A2.581,2.581,0,0,0,27.708,30.3Z\" transform=\"translate(-19.936 -19.878)\" fill=\"#f1f2f5\"/>\r\n <path id=\"Path_10\" data-name=\"Path 10\" d=\"M45.052,21.628a.951.951,0,0,1-.928.965.946.946,0,1,1,.928-.965Z\" transform=\"translate(-32.196 -17.991)\" fill=\"#f1f2f5\"/>\r\n </svg>\r\n </a>\r\n <a *ngIf=\"!choosenConfig.linkedIn?.isHidden\" class=\"image-container\" [href]=\"choosenConfig.linkedIn?.link\" target=\"_blank\">\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"15.618\" height=\"14.902\" viewBox=\"0 0 15.618 14.902\">\r\n <path id=\"Path_7\" data-name=\"Path 7\" d=\"M32.818,24.635V30.4H29.45V25.014c0-1.347-.463-2.273-1.684-2.273a1.868,1.868,0,0,0-1.726,1.221,2.278,2.278,0,0,0-.126.8V30.4H22.546s.042-9.135,0-10.061h3.368v1.431a.041.041,0,0,1-.042.042h.042v-.042a3.363,3.363,0,0,1,3.031-1.684c2.189,0,3.873,1.473,3.873,4.546ZM19.094,15.5A1.753,1.753,0,0,0,17.2,17.226a1.716,1.716,0,0,0,1.852,1.726h.042a1.729,1.729,0,0,0,1.894-1.726A1.777,1.777,0,0,0,19.094,15.5ZM17.368,30.4h3.326V20.341H17.368Zm0,0\" transform=\"translate(-17.2 -15.5)\" fill=\"#f1f2f5\"/>\r\n </svg>\r\n </a>\r\n <a *ngIf=\"!choosenConfig.facebook?.isHidden\" class=\"image-container\" [href]=\"choosenConfig.facebook?.link\" target=\"_blank\">\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"15\" height=\"15\" viewBox=\"0 0 7.235 15.618\">\r\n <path id=\"Path_13\" data-name=\"Path 13\" d=\"M31.967,21.909H29.785v7.809H26.531V21.909H25V19.153h1.531v-1.8A3.032,3.032,0,0,1,29.785,14.1H32.2v2.68H30.474a.679.679,0,0,0-.689.766v1.608h2.45Zm0,0\" transform=\"translate(-25 -14.1)\" fill=\"#f1f2f5\"/>\r\n </svg>\r\n </a>\r\n <a *ngIf=\"!choosenConfig.twitter?.isHidden\" class=\"image-container\" [href]=\"choosenConfig.twitter?.link\" target=\"_blank\">\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"15.966\" height=\"15.618\" viewBox=\"0 0 15.966 15.618\">\r\n <path id=\"icons8-twitterx\" d=\"M19.846,19.618l-6.244-9.1.011.009L19.243,4H17.361L12.775,9.31,9.133,4H4.2l5.829,8.5h0L3.88,19.618H5.761l5.1-5.908,4.052,5.908ZM8.388,5.42,17.148,18.2H15.658L6.89,5.42Z\" transform=\"translate(-3.88 -4)\" fill=\"#f1f2f5\"/>\r\n </svg>\r\n </a>\r\n <a *ngIf=\"!choosenConfig?.whatsapp?.isHidden\" class=\"image-container\" [href]=\"choosenConfig.whatsapp?.link\" target=\"_blank\">\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"15.666\" height=\"15.676\" viewBox=\"0 0 15.666 15.676\">\r\n <path id=\"whatsapp-svgrepo-com\" d=\"M17.324,6.273A7.691,7.691,0,0,0,11.838,4,7.779,7.779,0,0,0,5.1,15.649L4,19.676,8.115,18.6a7.762,7.762,0,0,0,9.21-12.325ZM11.838,18.236a6.446,6.446,0,0,1-3.292-.9l-.235-.147-2.44.647.647-2.381-.157-.245a6.492,6.492,0,1,1,5.477,3.027Zm3.537-4.84c-.2-.1-1.146-.568-1.323-.627s-.314-.1-.441.1a8.822,8.822,0,0,1-.617.754c-.108.137-.225.147-.421,0a5.222,5.222,0,0,1-2.635-2.3c-.206-.343.2-.323.568-1.058a.372.372,0,0,0,0-.343c0-.1-.441-1.058-.6-1.44s-.314-.323-.441-.333H9.085a.7.7,0,0,0-.519.245,2.146,2.146,0,0,0-.647,1.656,3.742,3.742,0,0,0,.794,2.008,8.71,8.71,0,0,0,3.321,2.939,3.773,3.773,0,0,0,2.332.49,1.96,1.96,0,0,0,1.3-.921,1.587,1.587,0,0,0,.118-.921A1.368,1.368,0,0,0,15.375,13.4Z\" transform=\"translate(-4 -4)\" fill=\"#fff\"/>\r\n </svg>\r\n </a>\r\n </div>\r\n </div>\r\n</div>\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n", styles: [":host{z-index:1000;width:100%}.footer-container{font-family:Hero New SemiBold;min-height:200px;position:relative;padding:3% 5% 2% 5.3%;z-index:1000;display:grid;grid-column-gap:4rem;grid-row-gap:1.5rem}@media (min-width: 769px) and (max-width: 1023px){.footer-container{grid-column-gap:2rem}}@media (min-width: 1024px) and (max-width: 1200px){.footer-container{grid-column-gap:2rem}}@media (max-width: 768px){.footer-container{grid-column-gap:0px;grid-row-gap:0px;display:flex;flex-wrap:wrap;flex-direction:column;padding:0rem 1rem}}.sections-container,.sections-container__mobile{display:flex;flex-wrap:wrap;justify-content:flex-start;flex-direction:column;gap:.5rem}@media (max-width: 768px){.sections-container,.sections-container__mobile{gap:20px;border-bottom:1px solid white}}@media (max-width: 768px){.sections-container__mobile{padding-bottom:20px}}.sections-container .section-title,.sections-container__mobile .section-title{font-size:1.25rem;font-family:Hero New Bold;margin:0 0 12px;color:#f1f2f5}@media (max-width: 768px){.sections-container .section-title,.sections-container__mobile .section-title{margin:0;font-size:1.125rem}}.sections-container:last-of-type,.sections-container__mobile:last-of-type{border-bottom:none}.sections-container:nth-last-of-type(2),.sections-container__mobile:nth-last-of-type(2){border-bottom:none}.section-link{font-family:Hero New;color:#fff;text-decoration:none;opacity:70%}.section-link.address-link{cursor:initial}@media (max-width: 768px){.section-link{font-size:.875rem}}@media (hover: hover){.section-link:hover{opacity:100%}}.bottom-banner-container{width:100%;background-color:#124e57}.bottom-banner-container.centered{display:flex;justify-content:center}.bottom-banner{color:#f1f2f5;padding:2% 5%;display:flex;justify-content:space-between;align-items:center;max-height:120px;position:relative;z-index:1001;width:90%;max-width:1440px}@media (max-width: 768px){.bottom-banner{flex-direction:column;justify-content:center;text-align:center;gap:11px;align-items:center;font-size:.6875rem;padding:16px 8px;line-height:22px}}.title-spacer{padding:5px}.social-container{display:flex;gap:40px;margin-left:4%}@media (max-width: 768px){.social-container{gap:35px;margin-left:0%}}.image-container{cursor:pointer;display:flex;justify-content:center;align-items:center;width:18px;height:18px}img{height:16px;width:16px}.section-link{cursor:pointer}.address-title{min-height:28px}.address-container a:first-of-type{opacity:100%}.title-container{display:flex;justify-content:space-between;align-items:center;cursor:pointer}@media (max-width: 768px){.title-container{padding-top:16px;padding-bottom:16px;width:100%}}.margin-div{width:100%;height:20px}.title-links{cursor:pointer}.title-links:hover{text-decoration:underline}\n"], dependencies: [{ kind: "directive", type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: ExpandableContainerComponent, selector: "afc-expandable-container" }, { kind: "component", type: ExpandableArrowComponent, selector: "afc-expandable-arrow", inputs: ["color", "startPosition", "endPosition"] }, { kind: "component", type: ExpandableWrapperComponent, selector: "afc-expandable-wrapper" }, { kind: "pipe", type: i1$1.AsyncPipe, name: "async" }] }); }
666
+ }
667
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AfConnectFooterComponent, decorators: [{
668
+ type: Component,
669
+ args: [{ selector: 'lib-af-connect-footer', template: "\r\n<ng-container *ngIf=\"!isFooterContentHidden\"> \r\n <div *ngIf=\"!(breakpointService.isMobile$ | async)\" class=\"footer-container\" [ngStyle]=\"getFooterStyling()\">\r\n <div *ngFor=\"let section of choosenConfig.sections\" class=\"sections-container\">\r\n <h2 class=\"section-title\">\r\n {{section.title}}\r\n </h2>\r\n <ng-container *ngFor=\"let link of section.sectionItems\">\r\n <a *ngIf=\"!link.isHidden\" class=\"section-link\" [href]=\"link.link\" target=\"_blank\">{{link.title}}</a>\r\n </ng-container>\r\n </div>\r\n <div *ngFor=\"let address of choosenConfig.address\" class=\"sections-container address-container\">\r\n <h2 class=\"section-title address-title\">\r\n {{address.title}}\r\n </h2>\r\n <ng-container *ngFor=\"let link of address.sectionItems\">\r\n <span class=\"section-link address-link\" [ngStyle]=\"{'font-weight': link.bold ? '600' : '500','opacity': link.bold ? '90%' : '70%' }\">{{link.title}}</span>\r\n </ng-container>\r\n </div>\r\n </div>\r\n\r\n <div *ngIf=\"breakpointService.isMobile$ | async\" class=\"footer-container\" [ngStyle]=\"{backgroundColor}\">\r\n <div *ngFor=\"let section of choosenConfig.sections\" class=\"sections-container\">\r\n <afc-expandable-wrapper>\r\n <div triggerable class=\"title-container\">\r\n <h2 class=\"section-title\">\r\n {{section.title}}\r\n </h2>\r\n <afc-expandable-arrow color=\"rgba(255,255,255, 0.7)\"></afc-expandable-arrow>\r\n </div>\r\n <afc-expandable-container>\r\n <div class=\"sections-container__mobile\">\r\n <ng-container *ngFor=\"let link of section.sectionItems\">\r\n <a *ngIf=\"!link.isHidden\" class=\"section-link address-link\" [href]=\"link.link\" target=\"_blank\">{{link.title}}</a>\r\n </ng-container>\r\n </div>\r\n </afc-expandable-container>\r\n </afc-expandable-wrapper>\r\n </div>\r\n <div *ngFor=\"let address of choosenConfig.address\" [ngClass]=\"[address.title ? 'sections-container address-container' : '']\">\r\n <afc-expandable-wrapper *ngIf=\"address.title\">\r\n <div triggerable class=\"title-container\">\r\n <h2 class=\"section-title address-title\">\r\n {{address.title}}\r\n </h2>\r\n <afc-expandable-arrow color=\"rgba(255,255,255, 0.7)\"></afc-expandable-arrow>\r\n </div>\r\n <afc-expandable-container>\r\n <div class=\"sections-container__mobile\">\r\n <ng-container *ngFor=\"let link of address.sectionItems\">\r\n <span class=\"section-link\">{{link.title}}</span>\r\n </ng-container>\r\n <span class=\"section-link address-link\">{{getMobileAddress}}</span>\r\n </div>\r\n </afc-expandable-container>\r\n </afc-expandable-wrapper>\r\n </div>\r\n </div>\r\n</ng-container> \r\n\r\n<div class=\"bottom-banner-container\" [ngClass]=\"{'centered': centered}\">\r\n <div *ngIf=\"!isBottomBannerHidden\" class=\"bottom-banner\">\r\n <div class=\"banner-title\">\r\n {{choosenConfig.bannerTitle}}\r\n <span class=\"title-links\" (click)=\"openLegalTerms()\">Legal terms</span>\r\n <span class=\"title-spacer\">|</span>\r\n <span class=\"title-links\" (click)=\"openPrivacyPolicy()\">Privacy policy</span>\r\n <span class=\"title-spacer\">|</span>\r\n <span class=\"title-links\" (click)=\"openPaiaManual()\">PAIA manual</span>\r\n </div>\r\n \r\n <div class=\"social-container\">\r\n <a *ngIf=\"!choosenConfig.instagram?.isHidden\" class=\"image-container\" [href]=\"choosenConfig.instagram?.link\" target=\"_blank\">\r\n <svg id=\"Group_888\" data-name=\"Group 888\" xmlns=\"http://www.w3.org/2000/svg\" width=\"15.618\" height=\"15.676\" viewBox=\"0 0 15.618 15.676\">\r\n <path id=\"Path_8\" data-name=\"Path 8\" d=\"M21.327,13.4c1.039.037,2.115.037,3.154.074a5.31,5.31,0,0,1,2.6.668,3.937,3.937,0,0,1,1.892,2.746,21.051,21.051,0,0,1,.186,2.152c.037,1.558,0,3.117,0,4.675a7.553,7.553,0,0,1-.3,2.412,3.931,3.931,0,0,1-3.154,2.746,14.046,14.046,0,0,1-2.152.186c-1.559.037-3.08,0-4.638,0a7.553,7.553,0,0,1-2.412-.3,3.931,3.931,0,0,1-2.746-3.154,14.046,14.046,0,0,1-.186-2.152c-.037-1.558,0-3.117,0-4.675a7.553,7.553,0,0,1,.3-2.412,3.931,3.931,0,0,1,3.154-2.746,14.047,14.047,0,0,1,2.152-.186c.705-.037,1.41-.037,2.152-.037Zm6.42,7.681h0c-.037-.631-.037-1.225-.037-1.855a14.347,14.347,0,0,0-.111-1.781,2.653,2.653,0,0,0-2.226-2.486,9.8,9.8,0,0,0-2.078-.148c-1.336-.037-2.635-.037-3.97,0a11.414,11.414,0,0,0-1.967.148,2.616,2.616,0,0,0-2.226,1.93A5.813,5.813,0,0,0,14.945,18c-.037,1.41-.037,2.82-.037,4.23,0,.891.037,1.818.111,2.709a2.587,2.587,0,0,0,2.264,2.486,12.746,12.746,0,0,0,2.078.148c1.3.037,2.6,0,3.933,0a14.348,14.348,0,0,0,1.781-.111A2.594,2.594,0,0,0,26.6,26.87a2.848,2.848,0,0,0,1.039-2.264C27.71,23.493,27.71,22.306,27.747,21.081Z\" transform=\"translate(-13.556 -13.4)\" fill=\"#f1f2f5\"/>\r\n <path id=\"Path_9\" data-name=\"Path 9\" d=\"M31.715,27.708a4.008,4.008,0,1,1-3.97-4.008A3.991,3.991,0,0,1,31.715,27.708Zm-4.008,2.6a2.6,2.6,0,1,0-2.6-2.6A2.581,2.581,0,0,0,27.708,30.3Z\" transform=\"translate(-19.936 -19.878)\" fill=\"#f1f2f5\"/>\r\n <path id=\"Path_10\" data-name=\"Path 10\" d=\"M45.052,21.628a.951.951,0,0,1-.928.965.946.946,0,1,1,.928-.965Z\" transform=\"translate(-32.196 -17.991)\" fill=\"#f1f2f5\"/>\r\n </svg>\r\n </a>\r\n <a *ngIf=\"!choosenConfig.linkedIn?.isHidden\" class=\"image-container\" [href]=\"choosenConfig.linkedIn?.link\" target=\"_blank\">\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"15.618\" height=\"14.902\" viewBox=\"0 0 15.618 14.902\">\r\n <path id=\"Path_7\" data-name=\"Path 7\" d=\"M32.818,24.635V30.4H29.45V25.014c0-1.347-.463-2.273-1.684-2.273a1.868,1.868,0,0,0-1.726,1.221,2.278,2.278,0,0,0-.126.8V30.4H22.546s.042-9.135,0-10.061h3.368v1.431a.041.041,0,0,1-.042.042h.042v-.042a3.363,3.363,0,0,1,3.031-1.684c2.189,0,3.873,1.473,3.873,4.546ZM19.094,15.5A1.753,1.753,0,0,0,17.2,17.226a1.716,1.716,0,0,0,1.852,1.726h.042a1.729,1.729,0,0,0,1.894-1.726A1.777,1.777,0,0,0,19.094,15.5ZM17.368,30.4h3.326V20.341H17.368Zm0,0\" transform=\"translate(-17.2 -15.5)\" fill=\"#f1f2f5\"/>\r\n </svg>\r\n </a>\r\n <a *ngIf=\"!choosenConfig.facebook?.isHidden\" class=\"image-container\" [href]=\"choosenConfig.facebook?.link\" target=\"_blank\">\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"15\" height=\"15\" viewBox=\"0 0 7.235 15.618\">\r\n <path id=\"Path_13\" data-name=\"Path 13\" d=\"M31.967,21.909H29.785v7.809H26.531V21.909H25V19.153h1.531v-1.8A3.032,3.032,0,0,1,29.785,14.1H32.2v2.68H30.474a.679.679,0,0,0-.689.766v1.608h2.45Zm0,0\" transform=\"translate(-25 -14.1)\" fill=\"#f1f2f5\"/>\r\n </svg>\r\n </a>\r\n <a *ngIf=\"!choosenConfig.twitter?.isHidden\" class=\"image-container\" [href]=\"choosenConfig.twitter?.link\" target=\"_blank\">\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"15.966\" height=\"15.618\" viewBox=\"0 0 15.966 15.618\">\r\n <path id=\"icons8-twitterx\" d=\"M19.846,19.618l-6.244-9.1.011.009L19.243,4H17.361L12.775,9.31,9.133,4H4.2l5.829,8.5h0L3.88,19.618H5.761l5.1-5.908,4.052,5.908ZM8.388,5.42,17.148,18.2H15.658L6.89,5.42Z\" transform=\"translate(-3.88 -4)\" fill=\"#f1f2f5\"/>\r\n </svg>\r\n </a>\r\n <a *ngIf=\"!choosenConfig?.whatsapp?.isHidden\" class=\"image-container\" [href]=\"choosenConfig.whatsapp?.link\" target=\"_blank\">\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"15.666\" height=\"15.676\" viewBox=\"0 0 15.666 15.676\">\r\n <path id=\"whatsapp-svgrepo-com\" d=\"M17.324,6.273A7.691,7.691,0,0,0,11.838,4,7.779,7.779,0,0,0,5.1,15.649L4,19.676,8.115,18.6a7.762,7.762,0,0,0,9.21-12.325ZM11.838,18.236a6.446,6.446,0,0,1-3.292-.9l-.235-.147-2.44.647.647-2.381-.157-.245a6.492,6.492,0,1,1,5.477,3.027Zm3.537-4.84c-.2-.1-1.146-.568-1.323-.627s-.314-.1-.441.1a8.822,8.822,0,0,1-.617.754c-.108.137-.225.147-.421,0a5.222,5.222,0,0,1-2.635-2.3c-.206-.343.2-.323.568-1.058a.372.372,0,0,0,0-.343c0-.1-.441-1.058-.6-1.44s-.314-.323-.441-.333H9.085a.7.7,0,0,0-.519.245,2.146,2.146,0,0,0-.647,1.656,3.742,3.742,0,0,0,.794,2.008,8.71,8.71,0,0,0,3.321,2.939,3.773,3.773,0,0,0,2.332.49,1.96,1.96,0,0,0,1.3-.921,1.587,1.587,0,0,0,.118-.921A1.368,1.368,0,0,0,15.375,13.4Z\" transform=\"translate(-4 -4)\" fill=\"#fff\"/>\r\n </svg>\r\n </a>\r\n </div>\r\n </div>\r\n</div>\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n", styles: [":host{z-index:1000;width:100%}.footer-container{font-family:Hero New SemiBold;min-height:200px;position:relative;padding:3% 5% 2% 5.3%;z-index:1000;display:grid;grid-column-gap:4rem;grid-row-gap:1.5rem}@media (min-width: 769px) and (max-width: 1023px){.footer-container{grid-column-gap:2rem}}@media (min-width: 1024px) and (max-width: 1200px){.footer-container{grid-column-gap:2rem}}@media (max-width: 768px){.footer-container{grid-column-gap:0px;grid-row-gap:0px;display:flex;flex-wrap:wrap;flex-direction:column;padding:0rem 1rem}}.sections-container,.sections-container__mobile{display:flex;flex-wrap:wrap;justify-content:flex-start;flex-direction:column;gap:.5rem}@media (max-width: 768px){.sections-container,.sections-container__mobile{gap:20px;border-bottom:1px solid white}}@media (max-width: 768px){.sections-container__mobile{padding-bottom:20px}}.sections-container .section-title,.sections-container__mobile .section-title{font-size:1.25rem;font-family:Hero New Bold;margin:0 0 12px;color:#f1f2f5}@media (max-width: 768px){.sections-container .section-title,.sections-container__mobile .section-title{margin:0;font-size:1.125rem}}.sections-container:last-of-type,.sections-container__mobile:last-of-type{border-bottom:none}.sections-container:nth-last-of-type(2),.sections-container__mobile:nth-last-of-type(2){border-bottom:none}.section-link{font-family:Hero New;color:#fff;text-decoration:none;opacity:70%}.section-link.address-link{cursor:initial}@media (max-width: 768px){.section-link{font-size:.875rem}}@media (hover: hover){.section-link:hover{opacity:100%}}.bottom-banner-container{width:100%;background-color:#124e57}.bottom-banner-container.centered{display:flex;justify-content:center}.bottom-banner{color:#f1f2f5;padding:2% 5%;display:flex;justify-content:space-between;align-items:center;max-height:120px;position:relative;z-index:1001;width:90%;max-width:1440px}@media (max-width: 768px){.bottom-banner{flex-direction:column;justify-content:center;text-align:center;gap:11px;align-items:center;font-size:.6875rem;padding:16px 8px;line-height:22px}}.title-spacer{padding:5px}.social-container{display:flex;gap:40px;margin-left:4%}@media (max-width: 768px){.social-container{gap:35px;margin-left:0%}}.image-container{cursor:pointer;display:flex;justify-content:center;align-items:center;width:18px;height:18px}img{height:16px;width:16px}.section-link{cursor:pointer}.address-title{min-height:28px}.address-container a:first-of-type{opacity:100%}.title-container{display:flex;justify-content:space-between;align-items:center;cursor:pointer}@media (max-width: 768px){.title-container{padding-top:16px;padding-bottom:16px;width:100%}}.margin-div{width:100%;height:20px}.title-links{cursor:pointer}.title-links:hover{text-decoration:underline}\n"] }]
670
+ }], ctorParameters: () => [{ type: BreakpointLibService }], propDecorators: { config: [{
671
+ type: Input
672
+ }], isBottomBannerHidden: [{
673
+ type: Input
674
+ }], isFooterContentHidden: [{
675
+ type: Input
676
+ }], backgroundColor: [{
677
+ type: Input
678
+ }], centered: [{
679
+ type: Input
680
+ }], showCallMeBack: [{
681
+ type: Input
682
+ }], CountryCode: [{
683
+ type: Input
684
+ }] } });
685
+
686
+ class AfConnectRadioGroupComponent {
687
+ constructor() {
688
+ this._selected = null;
689
+ this._disabled = false;
690
+ this.direction = 'row';
691
+ this.withAsterisk = false;
692
+ this.variant = 'default';
693
+ this.labelPosition = 'after';
694
+ this.size = 'inline';
695
+ this.valueChange = new EventEmitter();
696
+ this.propagateChange = (_) => { };
697
+ this.propagateTouch = (_) => { };
698
+ }
699
+ get value() {
700
+ return this._value;
701
+ }
702
+ set value(newValue) {
703
+ if (this._value !== newValue) {
704
+ this._value = newValue;
705
+ this.updateRadioButtonsState();
706
+ this.propagateChange(this._value);
707
+ this.valueChange.emit(this._value);
708
+ }
709
+ }
710
+ get selected() {
711
+ return this._selected;
712
+ }
713
+ set selected(newSelected) {
714
+ this._selected = newSelected;
715
+ this.value = newSelected ? newSelected.value : null;
716
+ }
717
+ get disabled() {
718
+ return this._disabled;
719
+ }
720
+ set disabled(newValue) {
721
+ this._disabled = newValue;
722
+ this.markRadiosForCheck();
723
+ }
724
+ writeValue(value) {
725
+ this.value = value;
726
+ }
727
+ registerOnChange(fn) {
728
+ this.propagateChange = fn;
729
+ }
730
+ registerOnTouched(fn) {
731
+ this.propagateTouch = fn;
732
+ }
733
+ setDisabledState(isDisabled) {
734
+ this.disabled = isDisabled;
735
+ }
736
+ emitChangeEvent() {
737
+ this.valueChange.emit(this._value);
738
+ }
739
+ markRadiosForCheck() {
740
+ if (this.radios) {
741
+ this.radios.forEach((radio) => radio.markForCheck());
742
+ }
743
+ }
744
+ updateRadioButtonsState() {
745
+ this.radios?.forEach((radio) => {
746
+ radio.checked = this._value === radio.value;
747
+ if (radio.checked) {
748
+ this._selected = radio;
749
+ }
750
+ });
751
+ }
752
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AfConnectRadioGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
753
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: AfConnectRadioGroupComponent, selector: "lib-af-connect-radio-group", inputs: { label: "label", direction: "direction", withAsterisk: "withAsterisk", variant: "variant", labelPosition: "labelPosition", size: "size", value: "value", selected: "selected", disabled: "disabled" }, outputs: { valueChange: "valueChange" }, providers: [
754
+ {
755
+ provide: NG_VALUE_ACCESSOR,
756
+ useExisting: forwardRef(() => AfConnectRadioGroupComponent),
757
+ multi: true
758
+ }
759
+ ], queries: [{ propertyName: "radios", predicate: i0.forwardRef(() => AfConnectRadioButtonComponent), descendants: true }], ngImport: i0, template: "<span *ngIf=\"label\" class=\"label\">\r\n {{ label }}<span *ngIf=\"withAsterisk\" class=\"asterisk\">*</span>\r\n</span>\r\n<div class=\"radio-buttons-container\" [class.column]=\"direction === 'column'\">\r\n <ng-content></ng-content>\r\n</div>\r\n", styles: [":host{display:flex;flex-direction:column;gap:1rem}.radio-buttons-container{display:flex;flex-wrap:wrap;gap:2rem}.radio-buttons-container.column{flex-direction:column;gap:1rem}.label{cursor:inherit;display:block;font-family:var(--standard-font-family-hero-new);font-size:12px;color:var(--main-black-color)}.label .asterisk{color:var(--primary-orange-mobile-color)}\n"], dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
760
+ }
761
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AfConnectRadioGroupComponent, decorators: [{
762
+ type: Component,
763
+ args: [{ selector: 'lib-af-connect-radio-group', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
764
+ {
765
+ provide: NG_VALUE_ACCESSOR,
766
+ useExisting: forwardRef(() => AfConnectRadioGroupComponent),
767
+ multi: true
768
+ }
769
+ ], template: "<span *ngIf=\"label\" class=\"label\">\r\n {{ label }}<span *ngIf=\"withAsterisk\" class=\"asterisk\">*</span>\r\n</span>\r\n<div class=\"radio-buttons-container\" [class.column]=\"direction === 'column'\">\r\n <ng-content></ng-content>\r\n</div>\r\n", styles: [":host{display:flex;flex-direction:column;gap:1rem}.radio-buttons-container{display:flex;flex-wrap:wrap;gap:2rem}.radio-buttons-container.column{flex-direction:column;gap:1rem}.label{cursor:inherit;display:block;font-family:var(--standard-font-family-hero-new);font-size:12px;color:var(--main-black-color)}.label .asterisk{color:var(--primary-orange-mobile-color)}\n"] }]
770
+ }], propDecorators: { label: [{
771
+ type: Input
772
+ }], direction: [{
773
+ type: Input
774
+ }], withAsterisk: [{
775
+ type: Input
776
+ }], variant: [{
777
+ type: Input
778
+ }], labelPosition: [{
779
+ type: Input
780
+ }], size: [{
781
+ type: Input
782
+ }], value: [{
783
+ type: Input
784
+ }], selected: [{
785
+ type: Input
786
+ }], disabled: [{
787
+ type: Input
788
+ }], valueChange: [{
789
+ type: Output
790
+ }], radios: [{
791
+ type: ContentChildren,
792
+ args: [forwardRef(() => AfConnectRadioButtonComponent), { descendants: true }]
793
+ }] } });
794
+
795
+ // Increasing integer for generating unique ids for all afc-radio-button instances.
796
+ let nextUniqueId = 0;
797
+ class AfConnectRadioButtonComponent {
798
+ get checked() {
799
+ return this._checked;
800
+ }
801
+ set checked(newCheckedState) {
802
+ if (this._checked !== newCheckedState) {
803
+ this._checked = newCheckedState;
804
+ if (newCheckedState && this.radioGroup && this.radioGroup.value !== this.value) {
805
+ this.radioGroup.selected = this;
806
+ }
807
+ this.markForCheck();
808
+ }
809
+ }
810
+ get disabled() {
811
+ return this._disabled || (this.radioGroup !== null && this.radioGroup.disabled);
812
+ }
813
+ set disabled(newValue) {
814
+ this._disabled = newValue;
815
+ }
816
+ constructor(radioGroup, changeDetector) {
817
+ this.radioGroup = radioGroup;
818
+ this.changeDetector = changeDetector;
819
+ this._uniqueId = `afc-radio-${++nextUniqueId}`;
820
+ this._checked = false;
821
+ this._disabled = false;
822
+ this._variant = 'default';
823
+ this._labelPosition = 'after';
824
+ this._size = 'inline';
825
+ this.id = this._uniqueId;
826
+ this.itemOrder = 'left-to-right';
827
+ }
828
+ get inputId() {
829
+ return `${this.id}-input`;
830
+ }
831
+ get variant() {
832
+ return this._variant;
833
+ }
834
+ get labelPosition() {
835
+ return this._labelPosition;
836
+ }
837
+ get size() {
838
+ return this._size;
839
+ }
840
+ ngOnInit() {
841
+ if (!this.radioGroup) {
842
+ this._variant = 'checkbox';
843
+ }
844
+ if (this.radioGroup) {
845
+ this.checked = this.radioGroup.value === this.value;
846
+ this._variant = this.radioGroup.variant;
847
+ this._labelPosition = this.radioGroup.labelPosition;
848
+ this._size = this.radioGroup.size;
849
+ }
850
+ }
851
+ markForCheck() {
852
+ this.changeDetector.markForCheck();
853
+ }
854
+ onTouchTargetClick(event) {
855
+ this.onChange(event);
856
+ // Since the click comes from the touch target, we need
857
+ // to focus the native input element manually.
858
+ this.inputElement.nativeElement.focus();
859
+ }
860
+ onBlur() {
861
+ this.radioGroup.propagateTouch();
862
+ }
863
+ onChange(event) {
864
+ event.stopPropagation();
865
+ if (!this.checked && !this.disabled) {
866
+ this.checked = true;
867
+ }
868
+ }
869
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AfConnectRadioButtonComponent, deps: [{ token: AfConnectRadioGroupComponent }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
870
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: AfConnectRadioButtonComponent, selector: "lib-af-connect-radio-button", inputs: { id: "id", value: "value", itemOrder: "itemOrder", checked: "checked", disabled: "disabled" }, viewQueries: [{ propertyName: "inputElement", first: true, predicate: ["input"], descendants: true }], ngImport: i0, template: "<div\r\n class=\"field-container\"\r\n [ngClass]=\"{ 'label-before': labelPosition === 'before', 'size-box': size === 'box', checked: checked, disabled: disabled }\"\r\n [ngStyle]=\"{ 'flex-direction': itemOrder === 'left-to-right' ? 'row' : 'row-reverse' }\"\r\n>\r\n <div [ngClass]=\"['radio-container', variant]\">\r\n <input\r\n #input\r\n type=\"radio\"\r\n class=\"input\"\r\n [id]=\"inputId\"\r\n [checked]=\"checked\"\r\n [disabled]=\"disabled\"\r\n [attr.value]=\"value\"\r\n (change)=\"onChange($event)\"\r\n (blur)=\"onBlur()\"\r\n />\r\n <div class=\"touch-target\" (click)=\"onTouchTargetClick($event)\"></div>\r\n <div class=\"radio-visualization\">\r\n <span [class]=\"['outer-circle', variant]\"></span>\r\n <span *ngIf=\"variant === 'default'\" class=\"inner-circle\"></span>\r\n <span *ngIf=\"variant === 'checkbox' || variant === 'cube'\" class=\"check-mark\"></span>\r\n </div>\r\n </div>\r\n <label class=\"label\" [for]=\"inputId\">\r\n <ng-content></ng-content>\r\n </label>\r\n</div>\r\n", styles: [".field-container{display:flex;align-items:center;justify-content:space-between}.field-container.label-before{flex-direction:row-reverse;justify-content:flex-end}.field-container.size-box{padding:1.25rem;justify-content:space-between;border-radius:5px;box-shadow:0 1px 5px var(--box-shadow-black-color);outline:1px solid transparent}.field-container.size-box.checked{outline-color:var(--primary-dark-teal-color);transition:outline-color .2s}.field-container.size-box.checked.disabled{outline-color:var(--disabled-radio-color)}.field-container.size-box .label{font-size:1rem}.radio-container{position:relative;flex:0 0 auto;box-sizing:content-box;width:22px;height:22px}.radio-container .touch-target{position:absolute;z-index:10;inset:0;cursor:pointer}.radio-visualization{width:22px;height:22px;z-index:2;inset:0}.radio-visualization .inner-circle,.radio-visualization .outer-circle{position:absolute;z-index:3;display:inline-block}.radio-visualization .inner-circle.checkbox,.radio-visualization .outer-circle.checkbox{border-radius:50%}.radio-visualization .inner-circle.cube,.radio-visualization .outer-circle.cube{border-radius:20%}.radio-visualization .outer-circle{box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid transparent;background-color:var(--neutral-button-color);transition-property:border-color,background-color;transition-duration:.25s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.radio-visualization .inner-circle{top:50%;left:50%;transform:translate(-50%,-50%) scale(0);width:10px;height:10px;background-color:var(--primary-connected-orange-color);transition:transform .25s cubic-bezier(.4,0,.2,1)}.radio-visualization .check-mark{position:absolute;z-index:3;display:inline-block;top:5px;left:12px;width:2px;height:12px;background-color:transparent;border-radius:1px;transform:rotate(35deg)}.radio-visualization .check-mark:before{content:\"\";position:absolute;top:8px;right:3px;display:inline-block;width:2px;height:6px;border-radius:1px;background-color:transparent;transform:rotate(-80deg)}.radio-container.checkbox .outer-circle,.radio-container.cube .outer-circle{border-color:var(--primary-dark-teal-color);background-color:var(--main-white-color)}.input{appearance:none;opacity:0;margin:0}.input:disabled~.touch-target{cursor:auto;pointer-events:none}.default .input:checked~.radio-visualization .outer-circle{border-color:var(--primary-connected-orange-color);background-color:var(--radio-background-color)}.default .input:checked~.radio-visualization .inner-circle{transform:translate(-50%,-50%) scale(1)}.default .input:disabled~.radio-visualization .outer-circle{background-color:var(--neutral-button-color);border-color:transparent}.default .input:disabled:checked~.radio-visualization .inner-circle{background-color:var(--disabled-radio-color)}.checkbox .input:checked~.radio-visualization .outer-circle,.cube .input:checked~.radio-visualization .outer-circle{background-color:var(--primary-dark-teal-color)}.checkbox .input:checked~.radio-visualization .check-mark,.cube .input:checked~.radio-visualization .check-mark{background-color:var(--main-white-color)}.checkbox .input:checked~.radio-visualization .check-mark:before,.cube .input:checked~.radio-visualization .check-mark:before{background-color:var(--main-white-color)}.checkbox .input:disabled~.radio-visualization .outer-circle,.cube .input:disabled~.radio-visualization .outer-circle{background-color:var(--neutral-button-color);border-color:var(--neutral-button-color)}.checkbox .input:disabled:checked~.radio-visualization .check-mark,.cube .input:disabled:checked~.radio-visualization .check-mark{background-color:var(--disabled-radio-color)}.checkbox .input:disabled:checked~.radio-visualization .check-mark:before,.cube .input:disabled:checked~.radio-visualization .check-mark:before{background-color:var(--disabled-radio-color)}.cube .input:checked~.radio-visualization .outer-circle{background-color:var(--primary-connected-orange-color);border:none}.label{cursor:inherit;font-size:.875rem;font-family:var(--standard-font-family-hero-new);color:var(--secondary-space-color)}\n"], dependencies: [{ kind: "directive", type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] }); }
871
+ }
872
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AfConnectRadioButtonComponent, decorators: [{
873
+ type: Component,
874
+ args: [{ selector: 'lib-af-connect-radio-button', template: "<div\r\n class=\"field-container\"\r\n [ngClass]=\"{ 'label-before': labelPosition === 'before', 'size-box': size === 'box', checked: checked, disabled: disabled }\"\r\n [ngStyle]=\"{ 'flex-direction': itemOrder === 'left-to-right' ? 'row' : 'row-reverse' }\"\r\n>\r\n <div [ngClass]=\"['radio-container', variant]\">\r\n <input\r\n #input\r\n type=\"radio\"\r\n class=\"input\"\r\n [id]=\"inputId\"\r\n [checked]=\"checked\"\r\n [disabled]=\"disabled\"\r\n [attr.value]=\"value\"\r\n (change)=\"onChange($event)\"\r\n (blur)=\"onBlur()\"\r\n />\r\n <div class=\"touch-target\" (click)=\"onTouchTargetClick($event)\"></div>\r\n <div class=\"radio-visualization\">\r\n <span [class]=\"['outer-circle', variant]\"></span>\r\n <span *ngIf=\"variant === 'default'\" class=\"inner-circle\"></span>\r\n <span *ngIf=\"variant === 'checkbox' || variant === 'cube'\" class=\"check-mark\"></span>\r\n </div>\r\n </div>\r\n <label class=\"label\" [for]=\"inputId\">\r\n <ng-content></ng-content>\r\n </label>\r\n</div>\r\n", styles: [".field-container{display:flex;align-items:center;justify-content:space-between}.field-container.label-before{flex-direction:row-reverse;justify-content:flex-end}.field-container.size-box{padding:1.25rem;justify-content:space-between;border-radius:5px;box-shadow:0 1px 5px var(--box-shadow-black-color);outline:1px solid transparent}.field-container.size-box.checked{outline-color:var(--primary-dark-teal-color);transition:outline-color .2s}.field-container.size-box.checked.disabled{outline-color:var(--disabled-radio-color)}.field-container.size-box .label{font-size:1rem}.radio-container{position:relative;flex:0 0 auto;box-sizing:content-box;width:22px;height:22px}.radio-container .touch-target{position:absolute;z-index:10;inset:0;cursor:pointer}.radio-visualization{width:22px;height:22px;z-index:2;inset:0}.radio-visualization .inner-circle,.radio-visualization .outer-circle{position:absolute;z-index:3;display:inline-block}.radio-visualization .inner-circle.checkbox,.radio-visualization .outer-circle.checkbox{border-radius:50%}.radio-visualization .inner-circle.cube,.radio-visualization .outer-circle.cube{border-radius:20%}.radio-visualization .outer-circle{box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid transparent;background-color:var(--neutral-button-color);transition-property:border-color,background-color;transition-duration:.25s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.radio-visualization .inner-circle{top:50%;left:50%;transform:translate(-50%,-50%) scale(0);width:10px;height:10px;background-color:var(--primary-connected-orange-color);transition:transform .25s cubic-bezier(.4,0,.2,1)}.radio-visualization .check-mark{position:absolute;z-index:3;display:inline-block;top:5px;left:12px;width:2px;height:12px;background-color:transparent;border-radius:1px;transform:rotate(35deg)}.radio-visualization .check-mark:before{content:\"\";position:absolute;top:8px;right:3px;display:inline-block;width:2px;height:6px;border-radius:1px;background-color:transparent;transform:rotate(-80deg)}.radio-container.checkbox .outer-circle,.radio-container.cube .outer-circle{border-color:var(--primary-dark-teal-color);background-color:var(--main-white-color)}.input{appearance:none;opacity:0;margin:0}.input:disabled~.touch-target{cursor:auto;pointer-events:none}.default .input:checked~.radio-visualization .outer-circle{border-color:var(--primary-connected-orange-color);background-color:var(--radio-background-color)}.default .input:checked~.radio-visualization .inner-circle{transform:translate(-50%,-50%) scale(1)}.default .input:disabled~.radio-visualization .outer-circle{background-color:var(--neutral-button-color);border-color:transparent}.default .input:disabled:checked~.radio-visualization .inner-circle{background-color:var(--disabled-radio-color)}.checkbox .input:checked~.radio-visualization .outer-circle,.cube .input:checked~.radio-visualization .outer-circle{background-color:var(--primary-dark-teal-color)}.checkbox .input:checked~.radio-visualization .check-mark,.cube .input:checked~.radio-visualization .check-mark{background-color:var(--main-white-color)}.checkbox .input:checked~.radio-visualization .check-mark:before,.cube .input:checked~.radio-visualization .check-mark:before{background-color:var(--main-white-color)}.checkbox .input:disabled~.radio-visualization .outer-circle,.cube .input:disabled~.radio-visualization .outer-circle{background-color:var(--neutral-button-color);border-color:var(--neutral-button-color)}.checkbox .input:disabled:checked~.radio-visualization .check-mark,.cube .input:disabled:checked~.radio-visualization .check-mark{background-color:var(--disabled-radio-color)}.checkbox .input:disabled:checked~.radio-visualization .check-mark:before,.cube .input:disabled:checked~.radio-visualization .check-mark:before{background-color:var(--disabled-radio-color)}.cube .input:checked~.radio-visualization .outer-circle{background-color:var(--primary-connected-orange-color);border:none}.label{cursor:inherit;font-size:.875rem;font-family:var(--standard-font-family-hero-new);color:var(--secondary-space-color)}\n"] }]
875
+ }], ctorParameters: () => [{ type: AfConnectRadioGroupComponent }, { type: i0.ChangeDetectorRef }], propDecorators: { id: [{
876
+ type: Input
877
+ }], value: [{
878
+ type: Input
879
+ }], itemOrder: [{
880
+ type: Input
881
+ }], checked: [{
882
+ type: Input
883
+ }], disabled: [{
884
+ type: Input
885
+ }], inputElement: [{
886
+ type: ViewChild,
887
+ args: ['input']
888
+ }] } });
889
+
890
+ var UserType;
891
+ (function (UserType) {
892
+ UserType["Retail"] = "Retail";
893
+ UserType["Institutional"] = "Institutional";
894
+ UserType["Hybrid"] = "Hybrid";
895
+ })(UserType || (UserType = {}));
896
+ var DashboardType;
897
+ (function (DashboardType) {
898
+ DashboardType["Investor"] = "investor";
899
+ DashboardType["Pensioner"] = "pensioner";
900
+ })(DashboardType || (DashboardType = {}));
901
+ class AfConnectProfileDropdown {
902
+ get hasDashboardSwitchClass() { return this.hasDashboardSwitch; }
903
+ constructor(elementRef, sanitizer, router, breakpointService) {
904
+ this.elementRef = elementRef;
905
+ this.sanitizer = sanitizer;
906
+ this.router = router;
907
+ this.breakpointService = breakpointService;
908
+ this.username = '';
909
+ this.disableNavUrls = false;
910
+ this.editProfile = new EventEmitter();
911
+ this.callMeBack = new EventEmitter();
912
+ this.contactAdviser = new EventEmitter();
913
+ this.resetPassword = new EventEmitter();
914
+ this.logout = new EventEmitter();
915
+ this.switchUserType = new EventEmitter();
916
+ this.switchDashboardType = new EventEmitter();
917
+ this.showMenu = false;
918
+ this.USER_TYPE = UserType;
919
+ this.DASHBOARD_TYPE = DashboardType;
920
+ }
921
+ show(e) {
922
+ this.showMenu = !this.showMenu;
923
+ }
924
+ click(event) {
925
+ const iconClick = this.elementRef.nativeElement.contains(event.target);
926
+ const clickedOnUserTypeSwitch = event.target.closest('.user-type-switch') !== null;
927
+ const clickedOnUserTypeSwitchOption = event.target.closest('.user-type-switch__option') !== null;
928
+ const clickedOnDashboardSwitch = event.target.closest('.dashboard-switch') !== null;
929
+ const clickedOnDashboardSwitchOption = event.target.closest('.dashboard-switch__option') !== null;
930
+ this.showMenu = iconClick ? this.showMenu : ((clickedOnUserTypeSwitch && !clickedOnUserTypeSwitchOption) ||
931
+ (clickedOnDashboardSwitch && !clickedOnDashboardSwitchOption));
932
+ }
933
+ select(value) {
934
+ if (this.userType !== value) {
935
+ this.userType = value;
936
+ this.showMenu = false;
937
+ this.switchUserType.emit(value);
938
+ }
939
+ }
940
+ selectDashboard(value) {
941
+ if (this.dashboardType !== value) {
942
+ this.dashboardType = value;
943
+ this.showMenu = false;
944
+ this.switchDashboardType.emit(value);
945
+ }
946
+ }
947
+ sanitizeSvg(svg) {
948
+ return this.sanitizer.bypassSecurityTrustHtml(svg);
949
+ }
950
+ navigateTo(url) {
951
+ if (this.disableNavUrls) {
952
+ return;
953
+ }
954
+ this.showMenu = false;
955
+ this.router.navigate([url]);
956
+ }
957
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AfConnectProfileDropdown, deps: [{ token: i0.ElementRef }, { token: i1$2.DomSanitizer }, { token: i1$3.Router }, { token: BreakpointLibService }], target: i0.ɵɵFactoryTarget.Component }); }
958
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: AfConnectProfileDropdown, selector: "lib-af-connect-profile-dropdown", inputs: { username: "username", userType: "userType", navUrls: "navUrls", disableNavUrls: "disableNavUrls", hasSwitchIndicator: "hasSwitchIndicator", isHybrid: "isHybrid", canEditProfile: "canEditProfile", hasDashboardSwitch: "hasDashboardSwitch", dashboardType: "dashboardType" }, outputs: { editProfile: "editProfile", callMeBack: "callMeBack", contactAdviser: "contactAdviser", resetPassword: "resetPassword", logout: "logout", switchUserType: "switchUserType", switchDashboardType: "switchDashboardType" }, host: { listeners: { "click": "show($event)", "document:click": "click($event)" }, properties: { "class.has-dashboard-switch": "this.hasDashboardSwitchClass" } }, ngImport: i0, template: "<ng-container *ngIf=\"hasDashboardSwitch; else roundIcon\">\r\n <div class=\"logo-content logo-content--switch\">\r\n <span class=\"logo-content--switch__label\">{{ dashboardType === DASHBOARD_TYPE.Pensioner ? 'Annuitant' : 'Investor' }}</span>\r\n <ng-container *ngTemplateOutlet=\"dashboardType === DASHBOARD_TYPE.Pensioner ? pensionerProfileIcon : investorProfileIcon\"></ng-container>\r\n </div>\r\n</ng-container>\r\n\r\n<ng-template #roundIcon>\r\n <span [class]=\"['logo-content', userType === USER_TYPE.Retail ? 'blue' : isHybrid ? 'yellow' : 'orange']\">\r\n <ng-container *ngTemplateOutlet=\"!(breakpointService.isTablet$ | async) ? mobileIcon : desktopIcon\"></ng-container>\r\n </span>\r\n</ng-template>\r\n\r\n<ng-container *ngIf=\"showMenu\">\r\n <div class=\"dropdown-content\" [class.has-dashboard-switch]=\"hasDashboardSwitch\">\r\n <div *ngIf=\"hasDashboardSwitch\" class=\"dashboard-switch\">\r\n <lib-af-connect-radio-group variant=\"checkbox\" direction=\"column\" (valueChange)=\"selectDashboard($event)\">\r\n <div\r\n class=\"dashboard-switch__option\"\r\n (click)=\"selectDashboard(DASHBOARD_TYPE.Investor)\"\r\n >\r\n <ng-container *ngTemplateOutlet=\"investorIcon\"></ng-container>\r\n\r\n <lib-af-connect-radio-button ngClass=\"larger\" [value]=\"DASHBOARD_TYPE.Investor\" [checked]=\"dashboardType === DASHBOARD_TYPE.Investor\" itemOrder=\"right-to-left\">\r\n <span>Investor dashboard</span>\r\n </lib-af-connect-radio-button>\r\n </div>\r\n <div\r\n class=\"dashboard-switch__option\"\r\n (click)=\"selectDashboard(DASHBOARD_TYPE.Pensioner)\"\r\n >\r\n <ng-container *ngTemplateOutlet=\"pensionerIcon\"></ng-container>\r\n\r\n <lib-af-connect-radio-button ngClass=\"larger\" [value]=\"DASHBOARD_TYPE.Pensioner\" [checked]=\"dashboardType === DASHBOARD_TYPE.Pensioner\" itemOrder=\"right-to-left\">\r\n <span>Annuitant dashboard</span>\r\n </lib-af-connect-radio-button>\r\n </div>\r\n </lib-af-connect-radio-group>\r\n </div>\r\n <div (click)=\"callMeBack.emit()\">\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" viewBox=\"0 0 20 20\">\r\n <g id=\"call\" transform=\"translate(0 0)\">\r\n <path id=\"phone-1\" d=\"M19.976,17.549l-2.588-2.156a.694.694,0,0,0-.7-.037l-1.438.958a.91.91,0,0,1-.509.153,5.983,5.983,0,0,1-1.28-.18,7.724,7.724,0,0,1-5.754-5.752,5.977,5.977,0,0,1-.18-1.28.909.909,0,0,1,.153-.509l.959-1.437a.681.681,0,0,0-.037-.7L6.444,4.022a.427.427,0,0,0-.73,0L4.285,5.77a2.549,2.549,0,0,0-.4,2.035.909.909,0,0,1,.027.105,4.671,4.671,0,0,0,.142.5,11.685,11.685,0,0,0,.654,1.563,20.775,20.775,0,0,0,3.973,5.332A20.76,20.76,0,0,0,14.02,19.28a11.693,11.693,0,0,0,1.563.654,4.823,4.823,0,0,0,.5.142.909.909,0,0,1,.126.033,2.492,2.492,0,0,0,2.014-.4l1.747-1.429A.426.426,0,0,0,19.976,17.549Zm-4.3-3.706A2.5,2.5,0,0,1,18.552,14l2.589,2.156a2.235,2.235,0,0,1-.015,3.534l-1.747,1.428a4.29,4.29,0,0,1-3.695.735q-.338-.077-.667-.188a13.5,13.5,0,0,1-1.809-.755A22.583,22.583,0,0,1,7.4,16.594a22.579,22.579,0,0,1-4.314-5.806,13.488,13.488,0,0,1-.755-1.809A6.833,6.833,0,0,1,2.14,8.3a4.343,4.343,0,0,1,.738-3.683L4.307,2.873a2.238,2.238,0,0,1,3.535-.015L10,5.445a2.485,2.485,0,0,1,.153,2.871L9.366,9.494a5.374,5.374,0,0,0,.11.62,5.948,5.948,0,0,0,.922,2.052,5.868,5.868,0,0,0,1.43,1.43,5.952,5.952,0,0,0,2.053.921,5.277,5.277,0,0,0,.62.11l1.179-.785Z\" transform=\"translate(-2 -2)\" fill=\"#ef4f1f\"/>\r\n </g>\r\n </svg>\r\n <span>Call me back</span>\r\n </div>\r\n <div (click)=\"contactAdviser.emit()\">\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"21.5\" height=\"17.864\" viewBox=\"0 0 21.5 17.864\">\r\n <g id=\"Icons_UI_Contacts_Colour_\" data-name=\"Icons / UI / Contacts / Colour \" transform=\"translate(0.75 0.75)\">\r\n <rect id=\"Rectangle\" width=\"20\" height=\"16.364\" rx=\"3\" fill=\"none\" stroke=\"#ef4f1f\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-miterlimit=\"10\" stroke-width=\"1.5\"/>\r\n <path id=\"Line_3\" data-name=\"Line 3\" d=\"M.55.563l8.591,7.67\" transform=\"translate(0.859 0.858)\" fill=\"none\" stroke=\"#ef4f1f\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-miterlimit=\"10\" stroke-width=\"1.5\"/>\r\n <path id=\"Line_3-2\" data-name=\"Line 3\" d=\"M-1.409.563-10,8.233\" transform=\"translate(20 0.858)\" fill=\"none\" stroke=\"#ef4f1f\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-miterlimit=\"10\" stroke-width=\"1.5\"/>\r\n </g>\r\n </svg>\r\n <span>Contact adviser</span>\r\n </div>\r\n <div *ngIf=\"hasSwitchIndicator\" class=\"user-type-switch user-type-switch\">\r\n <div class=\"user-type-switch__btn-container\">\r\n <lib-af-connect-radio-group label=\"View as\" variant=\"checkbox\" direction=\"column\" (valueChange)=\"select($event)\">\r\n <div\r\n class=\"user-type-switch__option boxShadow\"\r\n (click)=\"select(USER_TYPE.Retail)\"\r\n >\r\n <div class=\"logo blue\">\r\n <ng-container *ngTemplateOutlet=\"desktopIcon\"></ng-container>\r\n </div>\r\n <lib-af-connect-radio-button ngClass=\"larger\" [value]=\"USER_TYPE.Retail\" [checked]=\"userType === USER_TYPE.Retail\" itemOrder=\"right-to-left\">\r\n <span>Individual/Retail</span>\r\n </lib-af-connect-radio-button>\r\n </div>\r\n <div\r\n class=\"user-type-switch__option boxShadow\"\r\n (click)=\"select(USER_TYPE.Institutional)\"\r\n >\r\n <div class=\"logo orange\">\r\n <ng-container *ngTemplateOutlet=\"institutional\"></ng-container>\r\n </div>\r\n <lib-af-connect-radio-button ngClass=\"larger\" [value]=\"USER_TYPE.Institutional\" [checked]=\"userType === USER_TYPE.Institutional\" itemOrder=\"right-to-left\">\r\n <span>Employee benefits</span>\r\n </lib-af-connect-radio-button>\r\n </div>\r\n </lib-af-connect-radio-group>\r\n </div>\r\n </div>\r\n <ng-container *ngIf=\"!(breakpointService.isTablet$ | async)\">\r\n <ng-container *ngFor=\"let url of navUrls\">\r\n <div class=\"navigation-item\" [class.disabled]=\"disableNavUrls\" (mousedown)=\"navigateTo(url.href!)\">\r\n <div *ngIf=\"!url.svg\" class=\"container\"></div>\r\n <ng-container *ngIf=\"url.svg\"><div class=\"container\" [innerHTML]=\"sanitizeSvg(url.svg)\"></div></ng-container>\r\n <span class=\"page-name bold\">{{url.name}}</span>\r\n </div>\r\n </ng-container>\r\n </ng-container>\r\n <div *ngIf=\"canEditProfile\" class=\"navigation-item\" [class.disabled]=\"disableNavUrls\" (click)=\"!disableNavUrls && editProfile.emit()\">\r\n <svg id=\"Icons_UI_Edit_Colour\" data-name=\"Icons / UI / Edit / Colour\" xmlns=\"http://www.w3.org/2000/svg\" width=\"15.494\" height=\"15.5\" viewBox=\"0 0 15.494 15.5\">\r\n <g id=\"Group_3\" data-name=\"Group 3\" transform=\"translate(0)\"><path id=\"Fill_1\" data-name=\"Fill 1\" d=\"M.837,15.5H.644a.648.648,0,0,1-.57-.346A.642.642,0,0,1,.03,14.66l1.55-4.554a.663.663,0,0,1,.161-.259L10.785.8a2.779,2.779,0,0,1,3.909,0V.836a2.787,2.787,0,0,1,0,3.908L5.65,13.788l-.258.162L.837,15.5Zm11.7-14.056a1.477,1.477,0,0,0-.844.264L2.776,10.688l-1.1,3.165,3.165-1.1L13.79,3.808l-.032-.032a1.486,1.486,0,0,0-1.223-2.331Z\" fill=\"#ef4f1f\"/></g>\r\n <path id=\"Path_22\" data-name=\"Path 22\" d=\"M.857.878,3.294,3.315\" transform=\"translate(2.393 8.871)\" fill=\"none\" stroke=\"#ef4f1f\" stroke-linejoin=\"round\" stroke-miterlimit=\"10\" stroke-width=\"2\"/>\r\n </svg> \r\n <span>My Login Details</span>\r\n </div>\r\n <div class=\"navigation-item\" (click)=\"resetPassword.emit()\">\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"22\" height=\"20.004\" viewBox=\"0 0 22 20.004\">\r\n <path id=\"Shape\" d=\"M12.522,20A9.882,9.882,0,0,1,2.484,10H.544a.552.552,0,0,1-.379-.944l3.024-3.1a.528.528,0,0,1,.77,0l3.024,3.1a.557.557,0,0,1-.39.944H4.652a7.679,7.679,0,0,0,7.7,7.778,7.782,7.782,0,0,0,7.48-7.667A7.692,7.692,0,0,0,12.24,2.222,7.481,7.481,0,0,0,8.511,3.233a1.035,1.035,0,0,1-1.279-.2,1.125,1.125,0,0,1,.217-1.744A9.617,9.617,0,0,1,12.24,0,9.9,9.9,0,0,1,22,10.289,10,10,0,0,1,12.522,20Z\" transform=\"translate(22 20.004) rotate(180)\" fill=\"#f15a22\"/>\r\n </svg>\r\n <span>Reset password</span>\r\n </div>\r\n <div class=\"navigation-item\" (click)=\"logout.emit()\">\r\n <svg id=\"icon\" xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" viewBox=\"0 0 20 20\">\r\n <rect id=\"bg\" width=\"20\" height=\"20\" fill=\"none\"/>\r\n <path id=\"path\" d=\"M9.21,9.273l2.758-2.758A.727.727,0,1,0,10.94,5.486l-4,4a.727.727,0,0,0,0,1.029l4,4a.727.727,0,1,0,1.029-1.029L9.21,10.727h8.066a.727.727,0,0,0,0-1.455Zm1.517-5.818a.727.727,0,1,0,0-1.455H3.821A1.82,1.82,0,0,0,2,3.821V16.179A1.821,1.821,0,0,0,3.821,18h6.906a.727.727,0,1,0,0-1.455H3.821a.366.366,0,0,1-.367-.366V3.821a.366.366,0,0,1,.367-.366Z\" transform=\"translate(-0.099)\" fill=\"#7f8991\"/>\r\n </svg>\r\n <span>Log Out</span> \r\n </div>\r\n </div>\r\n</ng-container>\r\n\r\n<ng-template #desktopIcon>\r\n <svg id=\"Group\" xmlns=\"http://www.w3.org/2000/svg\" width=\"12.837\" height=\"13.693\" viewBox=\"0 0 12.837 13.693\">\r\n <path id=\"Oval\" d=\"M2.785-1A3.785,3.785,0,1,1-1,2.785,3.79,3.79,0,0,1,2.785-1Zm0,6.583a2.8,2.8,0,1,0-2.8-2.8A2.8,2.8,0,0,0,2.785,5.583Z\" transform=\"translate(3.633 1)\" fill=\"#fff\"/>\r\n <path id=\"Rectangle\" d=\"M7.393,4.135A.494.494,0,0,1,6.9,3.641,3.712,3.712,0,0,0,3.14-.013H-.506A.494.494,0,0,1-1-.506.494.494,0,0,1-.506-1H3.14A4.7,4.7,0,0,1,7.887,3.641.494.494,0,0,1,7.393,4.135Z\" transform=\"translate(4.95 9.558)\" fill=\"#fff\"/>\r\n <path id=\"Rectangle-2\" data-name=\"Rectangle\" d=\"M-12.506,4.135A.494.494,0,0,1-13,3.641,4.7,4.7,0,0,1-8.253-1h3.646a.494.494,0,0,1,.494.494.494.494,0,0,1-.494.494H-8.253a3.712,3.712,0,0,0-3.76,3.654A.494.494,0,0,1-12.506,4.135Z\" transform=\"translate(13 9.558)\" fill=\"#fff\"/>\r\n </svg>\r\n</ng-template>\r\n\r\n<ng-template #mobileIcon>\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"15.327\" height=\"10.095\" viewBox=\"0 0 15.327 10.095\">\r\n <path id=\"menu_24dp_1F1F1F_FILL0_wght200_GRAD0_opsz24\" d=\"M160-680.675v-.958h15.327v.958Zm0-4.569v-.958h15.327v.958Zm0-4.569v-.958h15.327v.958Z\" transform=\"translate(-160 690.77)\" fill=\"#fff\"/>\r\n </svg>\r\n</ng-template>\r\n\r\n<ng-template #institutional>\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"15.384\" height=\"12.488\" viewBox=\"0 0 15.384 12.488\">\r\n <defs>\r\n <clipPath id=\"clip-path\">\r\n <rect id=\"Rectangle_1424\" data-name=\"Rectangle 1424\" width=\"15.383\" height=\"12.489\" transform=\"translate(0 0)\" fill=\"none\" stroke=\"#707070\" stroke-width=\"1\"/>\r\n </clipPath>\r\n </defs>\r\n <g id=\"Group_10298\" data-name=\"Group 10298\" transform=\"translate(-0.952 -0.773)\">\r\n <g id=\"Group_10297\" data-name=\"Group 10297\" transform=\"translate(0.953 0.773)\" clip-path=\"url(#clip-path)\">\r\n <path id=\"Path_6080\" data-name=\"Path 6080\" d=\"M29.386,3.03a.346.346,0,0,1-.346-.346V1.32a.629.629,0,0,0-.628-.629H23.274a.629.629,0,0,0-.628.629V2.684a.346.346,0,1,1-.693,0V1.32A1.323,1.323,0,0,1,23.274,0h5.137A1.323,1.323,0,0,1,29.732,1.32V2.684A.346.346,0,0,1,29.386,3.03Z\" transform=\"translate(-18.151 0.001)\" fill=\"#fff\"/>\r\n <path id=\"Rectangle_1423\" data-name=\"Rectangle 1423\" d=\"M-.933-2h13.25A1.068,1.068,0,0,1,13.384-.933V7.084a1.068,1.068,0,0,1-1.067,1.067H-.933A1.068,1.068,0,0,1-2,7.084V-.933A1.068,1.068,0,0,1-.933-2Zm13.25,9.458a.374.374,0,0,0,.374-.374V-.933a.374.374,0,0,0-.374-.374H-.933a.374.374,0,0,0-.374.374V7.084a.374.374,0,0,0,.374.374Z\" transform=\"translate(2 4.338)\" fill=\"#fff\"/>\r\n <path id=\"Line_324\" data-name=\"Line 324\" d=\"M12.712-1.307H-1.654A.346.346,0,0,1-2-1.654.346.346,0,0,1-1.654-2H12.712a.346.346,0,0,1,.346.346A.346.346,0,0,1,12.712-1.307Z\" transform=\"translate(2.037 8.087)\" fill=\"#fff\"/>\r\n <path id=\"Line_325\" data-name=\"Line 325\" d=\"M-1.654.223A.346.346,0,0,1-2-.124v-1.53A.346.346,0,0,1-1.654-2a.346.346,0,0,1,.346.346v1.53A.346.346,0,0,1-1.654.223Z\" transform=\"translate(12.888 7.318)\" fill=\"#fff\"/>\r\n <path id=\"Line_326\" data-name=\"Line 326\" d=\"M-1.654.223A.346.346,0,0,1-2-.124v-1.53A.346.346,0,0,1-1.654-2a.346.346,0,0,1,.346.346v1.53A.346.346,0,0,1-1.654.223Z\" transform=\"translate(5.802 7.318)\" fill=\"#fff\"/>\r\n </g>\r\n </g>\r\n </svg>\r\n</ng-template>\r\n\r\n<ng-template #investorProfileIcon>\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" class=\"profile-switch-icon\" viewBox=\"15 14 32 32\">\r\n <g id=\"Group_15418_p\" transform=\"translate(15 14)\">\r\n <g transform=\"matrix(1, 0, 0, 1, -15, -14)\">\r\n <g id=\"Path_21459_p\" transform=\"translate(15 14)\" fill=\"#f69521\">\r\n <path d=\"M 16 31 C 11.9933500289917 31 8.226519584655762 29.43972969055176 5.393400192260742 26.60659980773926 C 2.560270071029663 23.77347946166992 1 20.00665092468262 1 16 C 1 11.9933500289917 2.560270071029663 8.226519584655762 5.393400192260742 5.393400192260742 C 8.226519584655762 2.560270071029663 11.9933500289917 1 16 1 C 20.00665092468262 1 23.77347946166992 2.560270071029663 26.60659980773926 5.393400192260742 C 29.43972969055176 8.226519584655762 31 11.9933500289917 31 16 C 31 20.00665092468262 29.43972969055176 23.77347946166992 26.60659980773926 26.60659980773926 C 23.77347946166992 29.43972969055176 20.00665092468262 31 16 31 Z\" stroke=\"none\"/>\r\n <path d=\"M 16 2 C 12.26045989990234 2 8.744749069213867 3.456249237060547 6.100500106811523 6.100500106811523 C 3.456249237060547 8.744749069213867 2 12.26045989990234 2 16 C 2 19.73954010009766 3.456249237060547 23.2552490234375 6.100500106811523 25.89949989318848 C 8.744749069213867 28.54375076293945 12.26045989990234 30 16 30 C 19.73954010009766 30 23.2552490234375 28.54375076293945 25.89949989318848 25.89949989318848 C 28.54375076293945 23.2552490234375 30 19.73954010009766 30 16 C 30 12.26045989990234 28.54375076293945 8.744749069213867 25.89949989318848 6.100500106811523 C 23.2552490234375 3.456249237060547 19.73954010009766 2 16 2 M 16 0 C 24.8365592956543 0 32 7.163440704345703 32 16 C 32 24.8365592956543 24.8365592956543 32 16 32 C 7.163440704345703 32 0 24.8365592956543 0 16 C 0 7.163440704345703 7.163440704345703 0 16 0 Z\" stroke=\"none\" fill=\"#fff\"/>\r\n </g>\r\n </g>\r\n <g transform=\"translate(-41.01 244.242)\">\r\n <g transform=\"translate(50 -236)\">\r\n <path d=\"M15.706,50.57h0a.572.572,0,0,1-.57.57H13.07a.572.572,0,0,1-.57-.57h0a.572.572,0,0,1,.57-.57h2.065A.572.572,0,0,1,15.706,50.57Z\" transform=\"translate(-10.076 -35.739)\" fill=\"#fff\"/>\r\n <path d=\"M40.086,50.57h0a.572.572,0,0,1-.57.57H37.45a.572.572,0,0,1-.57-.57h0a.572.572,0,0,1,.57-.57h2.065A.572.572,0,0,1,40.086,50.57Z\" transform=\"translate(-27.502 -35.739)\" fill=\"#fff\"/>\r\n <path d=\"M5.426.285A1.141,1.141,0,0,0,4.285,1.426V13.405a1.141,1.141,0,0,0,1.141,1.141H17.405a1.141,1.141,0,0,0,1.141-1.141V1.426A1.141,1.141,0,0,0,17.405.285H5.426m0-.285H17.405a1.427,1.427,0,0,1,1.426,1.426V13.405a1.427,1.427,0,0,1-1.426,1.426H5.426A1.427,1.427,0,0,1,4,13.405V1.426A1.427,1.427,0,0,1,5.426,0Z\" transform=\"translate(-4)\" fill=\"#fff\"/>\r\n <path d=\"M8.426,3.285A1.141,1.141,0,0,0,7.285,4.426V14.694a1.141,1.141,0,0,0,1.141,1.141H18.694a1.141,1.141,0,0,0,1.141-1.141V4.426a1.141,1.141,0,0,0-1.141-1.141H8.426m0-.285H18.694A1.427,1.427,0,0,1,20.12,4.426V14.694a1.427,1.427,0,0,1-1.426,1.426H8.426A1.427,1.427,0,0,1,7,14.694V4.426A1.427,1.427,0,0,1,8.426,3Z\" transform=\"translate(-6.144 -2.144)\" fill=\"#fff\"/>\r\n <path d=\"M42.283,22A1.283,1.283,0,1,1,41,23.283,1.282,1.282,0,0,1,42.283,22Z\" transform=\"translate(-31.303 -15.868)\" fill=\"none\" stroke=\"#fff\" stroke-width=\"0.7\"/>\r\n <path d=\"M6.57,9h0a.572.572,0,0,1,.57.57v2.567a.572.572,0,0,1-.57.57h0a.572.572,0,0,1-.57-.57V9.57A.572.572,0,0,1,6.57,9Z\" transform=\"translate(-5.43 -6.433)\" fill=\"#fff\"/>\r\n <path d=\"M6.57,30h0a.572.572,0,0,1,.57.57v2.567a.572.572,0,0,1-.57.57h0a.572.572,0,0,1-.57-.57V30.57A.572.572,0,0,1,6.57,30Z\" transform=\"translate(-5.43 -21.444)\" fill=\"#fff\"/>\r\n </g>\r\n </g>\r\n </g>\r\n </svg>\r\n</ng-template>\r\n\r\n<ng-template #pensionerProfileIcon>\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" class=\"profile-switch-icon\" viewBox=\"15 14 32 32\">\r\n <g id=\"Group_15420_p\" transform=\"translate(15 14)\">\r\n <g transform=\"matrix(1, 0, 0, 1, -15, -14)\">\r\n <g id=\"Path_21472_p\" transform=\"translate(15 14)\" fill=\"#15808d\">\r\n <path d=\"M 16 31 C 11.9933500289917 31 8.226519584655762 29.43972969055176 5.393400192260742 26.60659980773926 C 2.560270071029663 23.77347946166992 1 20.00665092468262 1 16 C 1 11.9933500289917 2.560270071029663 8.226519584655762 5.393400192260742 5.393400192260742 C 8.226519584655762 2.560270071029663 11.9933500289917 1 16 1 C 20.00665092468262 1 23.77347946166992 2.560270071029663 26.60659980773926 5.393400192260742 C 29.43972969055176 8.226519584655762 31 11.9933500289917 31 16 C 31 20.00665092468262 29.43972969055176 23.77347946166992 26.60659980773926 26.60659980773926 C 23.77347946166992 29.43972969055176 20.00665092468262 31 16 31 Z\" stroke=\"none\"/>\r\n <path d=\"M 16 2 C 12.26045989990234 2 8.744749069213867 3.456249237060547 6.100500106811523 6.100500106811523 C 3.456249237060547 8.744749069213867 2 12.26045989990234 2 16 C 2 19.73954010009766 3.456249237060547 23.2552490234375 6.100500106811523 25.89949989318848 C 8.744749069213867 28.54375076293945 12.26045989990234 30 16 30 C 19.73954010009766 30 23.2552490234375 28.54375076293945 25.89949989318848 25.89949989318848 C 28.54375076293945 23.2552490234375 30 19.73954010009766 30 16 C 30 12.26045989990234 28.54375076293945 8.744749069213867 25.89949989318848 6.100500106811523 C 23.2552490234375 3.456249237060547 19.73954010009766 2 16 2 M 16 0 C 24.8365592956543 0 32 7.163440704345703 32 16 C 32 24.8365592956543 24.8365592956543 32 16 32 C 7.163440704345703 32 0 24.8365592956543 0 16 C 0 7.163440704345703 7.163440704345703 0 16 0 Z\" stroke=\"none\" fill=\"#fff\"/>\r\n </g>\r\n </g>\r\n <g id=\"Portfolio_Icon_p\" transform=\"translate(-0.014 7.951)\">\r\n <path d=\"M49.257,42.8H36.163a1.716,1.716,0,0,1-1.8-1.615V31.01a.242.242,0,0,1,.48,0,1.12,1.12,0,0,0,1.173,1.054H49.257a1.085,1.085,0,0,1,1.138,1.022v2.667a.229.229,0,0,1-.24.215H45.485a1.6,1.6,0,0,0-1.082.406,1.288,1.288,0,0,0-.438.977A1.473,1.473,0,0,0,45.511,38.7h4.641a.229.229,0,0,1,.24.216v2.859A1.086,1.086,0,0,1,49.257,42.8ZM34.845,32.055V41.18a1.256,1.256,0,0,0,1.317,1.183H49.257a.627.627,0,0,0,.658-.591V39.131h-4.4a1.933,1.933,0,0,1-2.026-1.773,1.695,1.695,0,0,1,.576-1.286,2.105,2.105,0,0,1,1.424-.534h4.429V33.086a.627.627,0,0,0-.658-.591H36.019A1.747,1.747,0,0,1,34.845,32.055Z\" transform=\"translate(-26.426 -27.829)\" fill=\"#fff\" stroke=\"#fff\" stroke-width=\"0.2\"/>\r\n <path d=\"M69.395,49.118H64.718a1.933,1.933,0,0,1-2.026-1.773,1.694,1.694,0,0,1,.576-1.286,2.1,2.1,0,0,1,1.424-.535h4.7a1.086,1.086,0,0,1,1.138,1.022V48.1a1.086,1.086,0,0,1-1.138,1.021Zm-4.7-3.162a1.6,1.6,0,0,0-1.082.406,1.288,1.288,0,0,0-.438.977,1.473,1.473,0,0,0,1.546,1.347h4.678a.628.628,0,0,0,.658-.591v-1.55a.628.628,0,0,0-.658-.591h-4.7Z\" transform=\"translate(-45.631 -37.816)\" fill=\"#fff\" stroke=\"#fff\" stroke-width=\"0.2\"/>\r\n <path d=\"M37.763,29.805H36.016a1.494,1.494,0,1,1,0-2.97h6.345a.237.237,0,0,1,.231.157.206.206,0,0,1-.105.242l-4.6,2.539A.258.258,0,0,1,37.763,29.805Zm-1.747-2.539a1.06,1.06,0,1,0,0,2.108h1.678l3.818-2.108Z\" transform=\"translate(-26.424 -25.139)\" fill=\"#fff\" stroke=\"#fff\" stroke-width=\"0.2\"/>\r\n <path d=\"M56.553,29.82H45.8a.233.233,0,0,1-.238-.186.217.217,0,0,1,.172-.237l8.617-2.2,1.33-.34a.245.245,0,0,1,.3.149l.805,2.54a.2.2,0,0,1-.039.189.25.25,0,0,1-.193.086Zm-9.027-.431h8.71l-.651-2.057Z\" transform=\"translate(-34.018 -25.154)\" fill=\"#fff\" stroke=\"#fff\" stroke-width=\"0.2\"/>\r\n <path d=\"M44.862,26.254h-.445a.238.238,0,0,1-.231-.157.206.206,0,0,1,.105-.242l4.6-2.539,3.071-1.7a.258.258,0,0,1,.33.071l1.393,2.035a.2.2,0,0,1,.019.191.232.232,0,0,1-.158.129l-8.617,2.2A.279.279,0,0,1,44.862,26.254ZM52.008,22.1l-6.364,3.513,7.465-1.906Z\" transform=\"translate(-33.079 -21.588)\" fill=\"#fff\" stroke=\"#fff\" stroke-width=\"0.2\"/>\r\n <path d=\"M67.51,50.355a.67.67,0,1,1,.741-.666.708.708,0,0,1-.741.666Zm0-.9a.237.237,0,1,0,.262.235.25.25,0,0,0-.262-.236Z\" transform=\"translate(-48.491 -40.185)\" fill=\"#fff\"/>\r\n <path d=\"M40.583,59.719V56.632c0-.142.011-.285,0-.427V56.2c0-.118-.383-.118-.383,0v3.088c0,.142-.011.284,0,.427v.006C40.2,59.836,40.583,59.837,40.583,59.719Z\" transform=\"translate(-30.379 -44.995)\" fill=\"#fff\" stroke=\"#fff\" stroke-width=\"0.2\"/>\r\n </g>\r\n </g>\r\n </svg>\r\n</ng-template>\r\n\r\n<ng-template #investorIcon>\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"32\" height=\"32\" viewBox=\"15 14 32 32\">\r\n <defs>\r\n <filter id=\"Path_21459\" x=\"0\" y=\"0\" width=\"62\" height=\"62\" filterUnits=\"userSpaceOnUse\">\r\n <feOffset dy=\"1\" input=\"SourceAlpha\"/>\r\n <feGaussianBlur stdDeviation=\"5\" result=\"blur\"/>\r\n <feFlood flood-opacity=\"0.161\"/>\r\n <feComposite operator=\"in\" in2=\"blur\"/>\r\n <feComposite in=\"SourceGraphic\"/>\r\n </filter>\r\n </defs>\r\n <g id=\"Group_15418\" data-name=\"Group 15418\" transform=\"translate(15 14)\">\r\n <g transform=\"matrix(1, 0, 0, 1, -15, -14)\" filter=\"url(#Path_21459)\">\r\n <g id=\"Path_21459-2\" data-name=\"Path 21459\" transform=\"translate(15 14)\" fill=\"#f69521\">\r\n <path d=\"M 16 31 C 11.9933500289917 31 8.226519584655762 29.43972969055176 5.393400192260742 26.60659980773926 C 2.560270071029663 23.77347946166992 1 20.00665092468262 1 16 C 1 11.9933500289917 2.560270071029663 8.226519584655762 5.393400192260742 5.393400192260742 C 8.226519584655762 2.560270071029663 11.9933500289917 1 16 1 C 20.00665092468262 1 23.77347946166992 2.560270071029663 26.60659980773926 5.393400192260742 C 29.43972969055176 8.226519584655762 31 11.9933500289917 31 16 C 31 20.00665092468262 29.43972969055176 23.77347946166992 26.60659980773926 26.60659980773926 C 23.77347946166992 29.43972969055176 20.00665092468262 31 16 31 Z\" stroke=\"none\"/>\r\n <path d=\"M 16 2 C 12.26045989990234 2 8.744749069213867 3.456249237060547 6.100500106811523 6.100500106811523 C 3.456249237060547 8.744749069213867 2 12.26045989990234 2 16 C 2 19.73954010009766 3.456249237060547 23.2552490234375 6.100500106811523 25.89949989318848 C 8.744749069213867 28.54375076293945 12.26045989990234 30 16 30 C 19.73954010009766 30 23.2552490234375 28.54375076293945 25.89949989318848 25.89949989318848 C 28.54375076293945 23.2552490234375 30 19.73954010009766 30 16 C 30 12.26045989990234 28.54375076293945 8.744749069213867 25.89949989318848 6.100500106811523 C 23.2552490234375 3.456249237060547 19.73954010009766 2 16 2 M 16 0 C 24.8365592956543 0 32 7.163440704345703 32 16 C 32 24.8365592956543 24.8365592956543 32 16 32 C 7.163440704345703 32 0 24.8365592956543 0 16 C 0 7.163440704345703 7.163440704345703 0 16 0 Z\" stroke=\"none\" fill=\"#fff\"/>\r\n </g>\r\n </g>\r\n <g id=\"Layer_1\" data-name=\"Layer 1\" transform=\"translate(-41.01 244.242)\">\r\n <g id=\"Group_10898\" data-name=\"Group 10898\" transform=\"translate(50 -236)\">\r\n <g id=\"Group_10893\" data-name=\"Group 10893\" transform=\"translate(0)\">\r\n <path id=\"Rectangle_1510\" data-name=\"Rectangle 1510\" d=\"M15.706,50.57h0a.572.572,0,0,1-.57.57H13.07a.572.572,0,0,1-.57-.57h0a.572.572,0,0,1,.57-.57h2.065A.572.572,0,0,1,15.706,50.57Z\" transform=\"translate(-10.076 -35.739)\" fill=\"#fff\"/>\r\n <path id=\"Rectangle_1511\" data-name=\"Rectangle 1511\" d=\"M40.086,50.57h0a.572.572,0,0,1-.57.57H37.45a.572.572,0,0,1-.57-.57h0a.572.572,0,0,1,.57-.57h2.065A.572.572,0,0,1,40.086,50.57Z\" transform=\"translate(-27.502 -35.739)\" fill=\"#fff\"/>\r\n <g id=\"Path_6177\" data-name=\"Path 6177\">\r\n <path id=\"Path_6179\" data-name=\"Path 6179\" d=\"M5.426.285A1.141,1.141,0,0,0,4.285,1.426V13.405a1.141,1.141,0,0,0,1.141,1.141H17.405a1.141,1.141,0,0,0,1.141-1.141V1.426A1.141,1.141,0,0,0,17.405.285H5.426m0-.285H17.405a1.427,1.427,0,0,1,1.426,1.426V13.405a1.427,1.427,0,0,1-1.426,1.426H5.426A1.427,1.427,0,0,1,4,13.405V1.426A1.427,1.427,0,0,1,5.426,0Z\" transform=\"translate(-4)\" fill=\"#fff\"/>\r\n </g>\r\n <path id=\"Rectangle_1507_-_Outline\" data-name=\"Rectangle 1507 - Outline\" d=\"M5.426.285A1.141,1.141,0,0,0,4.285,1.426V13.405a1.141,1.141,0,0,0,1.141,1.141H17.405a1.141,1.141,0,0,0,1.141-1.141V1.426A1.141,1.141,0,0,0,17.405.285H5.426m0-.285H17.405a1.427,1.427,0,0,1,1.426,1.426V13.405a1.427,1.427,0,0,1-1.426,1.426H5.426A1.427,1.427,0,0,1,4,13.405V1.426A1.427,1.427,0,0,1,5.426,0Z\" transform=\"translate(-4)\" fill=\"#fff\"/>\r\n <path id=\"Rectangle_1506\" data-name=\"Rectangle 1506\" d=\"M8.426,3.285A1.141,1.141,0,0,0,7.285,4.426V14.694a1.141,1.141,0,0,0,1.141,1.141H18.694a1.141,1.141,0,0,0,1.141-1.141V4.426a1.141,1.141,0,0,0-1.141-1.141H8.426m0-.285H18.694A1.427,1.427,0,0,1,20.12,4.426V14.694a1.427,1.427,0,0,1-1.426,1.426H8.426A1.427,1.427,0,0,1,7,14.694V4.426A1.427,1.427,0,0,1,8.426,3Z\" transform=\"translate(-6.144 -2.144)\" fill=\"#fff\"/>\r\n <path id=\"Path_6176\" data-name=\"Path 6176\" d=\"M42.283,22A1.283,1.283,0,1,1,41,23.283,1.282,1.282,0,0,1,42.283,22Z\" transform=\"translate(-31.303 -15.868)\" fill=\"none\" stroke=\"#fff\" stroke-width=\"0.7\"/>\r\n <path id=\"Rectangle_1508\" data-name=\"Rectangle 1508\" d=\"M6.57,9h0a.572.572,0,0,1,.57.57v2.567a.572.572,0,0,1-.57.57h0a.572.572,0,0,1-.57-.57V9.57A.572.572,0,0,1,6.57,9Z\" transform=\"translate(-5.43 -6.433)\" fill=\"#fff\"/>\r\n <path id=\"Rectangle_1509\" data-name=\"Rectangle 1509\" d=\"M6.57,30h0a.572.572,0,0,1,.57.57v2.567a.572.572,0,0,1-.57.57h0a.572.572,0,0,1-.57-.57V30.57A.572.572,0,0,1,6.57,30Z\" transform=\"translate(-5.43 -21.444)\" fill=\"#fff\"/>\r\n </g>\r\n </g>\r\n </g>\r\n </g>\r\n </svg>\r\n</ng-template>\r\n\r\n<ng-template #pensionerIcon>\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"32\" height=\"32\" viewBox=\"15 14 32 32\">\r\n <defs>\r\n <filter id=\"Path_21472\" x=\"0\" y=\"0\" width=\"62\" height=\"62\" filterUnits=\"userSpaceOnUse\">\r\n <feOffset dy=\"1\" input=\"SourceAlpha\"/>\r\n <feGaussianBlur stdDeviation=\"5\" result=\"blur\"/>\r\n <feFlood flood-opacity=\"0.161\"/>\r\n <feComposite operator=\"in\" in2=\"blur\"/>\r\n <feComposite in=\"SourceGraphic\"/>\r\n </filter>\r\n </defs>\r\n <g id=\"Group_15420\" data-name=\"Group 15420\" transform=\"translate(15 14)\">\r\n <g transform=\"matrix(1, 0, 0, 1, -15, -14)\" filter=\"url(#Path_21472)\">\r\n <g id=\"Path_21472-2\" data-name=\"Path 21472\" transform=\"translate(15 14)\" fill=\"#15808d\">\r\n <path d=\"M 16 31 C 11.9933500289917 31 8.226519584655762 29.43972969055176 5.393400192260742 26.60659980773926 C 2.560270071029663 23.77347946166992 1 20.00665092468262 1 16 C 1 11.9933500289917 2.560270071029663 8.226519584655762 5.393400192260742 5.393400192260742 C 8.226519584655762 2.560270071029663 11.9933500289917 1 16 1 C 20.00665092468262 1 23.77347946166992 2.560270071029663 26.60659980773926 5.393400192260742 C 29.43972969055176 8.226519584655762 31 11.9933500289917 31 16 C 31 20.00665092468262 29.43972969055176 23.77347946166992 26.60659980773926 26.60659980773926 C 23.77347946166992 29.43972969055176 20.00665092468262 31 16 31 Z\" stroke=\"none\"/>\r\n <path d=\"M 16 2 C 12.26045989990234 2 8.744749069213867 3.456249237060547 6.100500106811523 6.100500106811523 C 3.456249237060547 8.744749069213867 2 12.26045989990234 2 16 C 2 19.73954010009766 3.456249237060547 23.2552490234375 6.100500106811523 25.89949989318848 C 8.744749069213867 28.54375076293945 12.26045989990234 30 16 30 C 19.73954010009766 30 23.2552490234375 28.54375076293945 25.89949989318848 25.89949989318848 C 28.54375076293945 23.2552490234375 30 19.73954010009766 30 16 C 30 12.26045989990234 28.54375076293945 8.744749069213867 25.89949989318848 6.100500106811523 C 23.2552490234375 3.456249237060547 19.73954010009766 2 16 2 M 16 0 C 24.8365592956543 0 32 7.163440704345703 32 16 C 32 24.8365592956543 24.8365592956543 32 16 32 C 7.163440704345703 32 0 24.8365592956543 0 16 C 0 7.163440704345703 7.163440704345703 0 16 0 Z\" stroke=\"none\" fill=\"#fff\"/>\r\n </g>\r\n </g>\r\n <g id=\"Portfolio_Icon\" data-name=\"Portfolio Icon\" transform=\"translate(-0.014 7.951)\">\r\n <path id=\"Path_6468\" data-name=\"Path 6468\" d=\"M49.257,42.8H36.163a1.716,1.716,0,0,1-1.8-1.615V31.01a.242.242,0,0,1,.48,0,1.12,1.12,0,0,0,1.173,1.054H49.257a1.085,1.085,0,0,1,1.138,1.022v2.667a.229.229,0,0,1-.24.215H45.485a1.6,1.6,0,0,0-1.082.406,1.288,1.288,0,0,0-.438.977A1.473,1.473,0,0,0,45.511,38.7h4.641a.229.229,0,0,1,.24.216v2.859A1.086,1.086,0,0,1,49.257,42.8ZM34.845,32.055V41.18a1.256,1.256,0,0,0,1.317,1.183H49.257a.627.627,0,0,0,.658-.591V39.131h-4.4a1.933,1.933,0,0,1-2.026-1.773,1.695,1.695,0,0,1,.576-1.286,2.105,2.105,0,0,1,1.424-.534h4.429V33.086a.627.627,0,0,0-.658-.591H36.019A1.747,1.747,0,0,1,34.845,32.055Z\" transform=\"translate(-26.426 -27.829)\" fill=\"#fff\" stroke=\"#fff\" stroke-width=\"0.2\"/>\r\n <path id=\"Path_6469\" data-name=\"Path 6469\" d=\"M69.395,49.118H64.718a1.933,1.933,0,0,1-2.026-1.773,1.694,1.694,0,0,1,.576-1.286,2.1,2.1,0,0,1,1.424-.535h4.7a1.086,1.086,0,0,1,1.138,1.022V48.1a1.086,1.086,0,0,1-1.138,1.021Zm-4.7-3.162a1.6,1.6,0,0,0-1.082.406,1.288,1.288,0,0,0-.438.977,1.473,1.473,0,0,0,1.546,1.347h4.678a.628.628,0,0,0,.658-.591v-1.55a.628.628,0,0,0-.658-.591h-4.7Z\" transform=\"translate(-45.631 -37.816)\" fill=\"#fff\" stroke=\"#fff\" stroke-width=\"0.2\"/>\r\n <path id=\"Path_6470\" data-name=\"Path 6470\" d=\"M37.763,29.805H36.016a1.494,1.494,0,1,1,0-2.97h6.345a.237.237,0,0,1,.231.157.206.206,0,0,1-.105.242l-4.6,2.539A.258.258,0,0,1,37.763,29.805Zm-1.747-2.539a1.06,1.06,0,1,0,0,2.108h1.678l3.818-2.108Z\" transform=\"translate(-26.424 -25.139)\" fill=\"#fff\" stroke=\"#fff\" stroke-width=\"0.2\"/>\r\n <path id=\"Path_6471\" data-name=\"Path 6471\" d=\"M56.553,29.82H45.8a.233.233,0,0,1-.238-.186.217.217,0,0,1,.172-.237l8.617-2.2,1.33-.34a.245.245,0,0,1,.3.149l.805,2.54a.2.2,0,0,1-.039.189.25.25,0,0,1-.193.086Zm-9.027-.431h8.71l-.651-2.057Z\" transform=\"translate(-34.018 -25.154)\" fill=\"#fff\" stroke=\"#fff\" stroke-width=\"0.2\"/>\r\n <path id=\"Path_6472\" data-name=\"Path 6472\" d=\"M44.862,26.254h-.445a.238.238,0,0,1-.231-.157.206.206,0,0,1,.105-.242l4.6-2.539,3.071-1.7a.258.258,0,0,1,.33.071l1.393,2.035a.2.2,0,0,1,.019.191.232.232,0,0,1-.158.129l-8.617,2.2A.279.279,0,0,1,44.862,26.254ZM52.008,22.1l-6.364,3.513,7.465-1.906Z\" transform=\"translate(-33.079 -21.588)\" fill=\"#fff\" stroke=\"#fff\" stroke-width=\"0.2\"/>\r\n <path id=\"Path_6473\" data-name=\"Path 6473\" d=\"M67.51,50.355a.67.67,0,1,1,.741-.666.708.708,0,0,1-.741.666Zm0-.9a.237.237,0,1,0,.262.235.25.25,0,0,0-.262-.236Z\" transform=\"translate(-48.491 -40.185)\" fill=\"#fff\"/>\r\n <path id=\"Path_6474\" data-name=\"Path 6474\" d=\"M40.583,59.719V56.632c0-.142.011-.285,0-.427V56.2c0-.118-.383-.118-.383,0v3.088c0,.142-.011.284,0,.427v.006C40.2,59.836,40.583,59.837,40.583,59.719Z\" transform=\"translate(-30.379 -44.995)\" fill=\"#fff\" stroke=\"#fff\" stroke-width=\"0.2\"/>\r\n </g>\r\n </g>\r\n </svg>\r\n</ng-template>\r\n", styles: [".logo-cicrcle,.dropdown-content .user-type-switch__option>.logo,.logo-content,:host{display:flex;place-items:center;place-content:center;border-radius:50%}:host{height:3rem;filter:drop-shadow(3px 3px 10px rgba(0,0,0,.0784313725));z-index:999;box-shadow:3px 3px 10px #00000014;border:3px solid #FFFFFF}@media (max-width: 768px){:host{width:30px;height:30px;margin-right:-20px}}:host.has-dashboard-switch{border-radius:30px;width:167px;height:59px;place-items:unset;place-content:unset;background:#fff;border:none;display:inline-flex;align-items:center}:host.has-dashboard-switch .logo-content{width:100%}:host.has-dashboard-switch .dropdown-content{top:4.2rem}@media (max-width: 768px){:host.has-dashboard-switch .dropdown-content{top:47px}}@media (max-width: 768px){:host.has-dashboard-switch{width:auto;height:auto}}.logo-content--switch{display:flex;align-items:center;width:100%;padding:.375rem .5rem .375rem 1rem;gap:.75rem;cursor:pointer;text-align:center}.logo-content--switch__label{font-family:var(--standard-font-family-hero-new);font-size:16px;color:#2c3245;white-space:nowrap;flex:1}.logo-content--switch>svg{width:32px;height:32px;flex-shrink:0;display:block}.logo-content--switch>svg.profile-switch-icon{width:48px;height:48px}@media (max-width: 768px){.logo-content--switch>svg.profile-switch-icon{width:32px;height:32px}}.logo-content{width:3rem;height:3rem;color:#fff;font-family:Hero New ExtraBold;font-size:2rem;cursor:pointer}.logo-content>svg{width:1.5rem;height:1.5rem}@media (max-width: 768px){.logo-content{width:30px;height:30px;font-size:18px}.logo-content>svg{width:1rem;height:1rem}}.dropdown-content{position:absolute;width:auto;min-width:min(230px,82vw);height:fit-content;right:0;top:3.5rem;font-size:12px;background:#fff;display:flex;flex-direction:column;align-items:center}.dropdown-content .page-name{padding-right:1.5rem}.dropdown-content>div:not(.user-type-switch):not(.dashboard-switch):nth-child(-n+2){display:none}.dropdown-content.has-dashboard-switch>div:not(.user-type-switch):not(.dashboard-switch):nth-child(-n+3){display:none}@media (max-width: 768px){.dropdown-content{top:47px}.dropdown-content>div:not(.user-type-switch):not(.dashboard-switch):nth-child(-n+2){display:none}.dropdown-content.has-dashboard-switch>div:not(.user-type-switch):not(.dashboard-switch):nth-child(-n+3){display:none}}.dropdown-content div{display:flex;align-items:center;width:100%;height:3rem;gap:1rem;border-bottom:1px solid rgba(120,132,158,.0784313725);cursor:pointer}.dropdown-content div svg,.dropdown-content div.container{width:20px;height:20px;padding-left:1rem}.dropdown-content div.container{border:none}.dropdown-content>div:not(.user-type-switch):not(.dashboard-switch):hover{background-color:#0000000a}.dropdown-content .user-type-switch{width:auto;height:100%;cursor:default;border-bottom:none}.dropdown-content .user-type-switch__btn-container{display:block!important;width:241px;height:166px;background:#fafbfc;border:1px solid #F3F3F3;border-radius:5pt;margin:1rem}.dropdown-content .user-type-switch__option{width:100%;height:42px;border-bottom:none;gap:.3rem;padding:0 .75rem;background-color:#fff;box-sizing:border-box;border-radius:3rem;cursor:pointer}.dropdown-content .user-type-switch__option>.logo{height:23px;width:27px;flex:0 1 auto;border:1px solid #FFFFFF;box-shadow:1px 3px 10px #00000014}.dropdown-content .user-type-switch__option>.logo>svg{width:auto;height:auto;padding:0}.dropdown-content .user-type-switch__option>.logo__img{width:22px;height:.9rem}.dropdown-content lib-af-connect-radio-group{gap:.75rem;padding:1rem}.dropdown-content lib-af-connect-radio-button{width:100%}.dropdown-content .dashboard-switch{height:fit-content;cursor:default;border-bottom:none}.dropdown-content .dashboard-switch div svg,.dropdown-content .dashboard-switch div.container{width:unset;height:unset;padding-left:unset}.dropdown-content .dashboard-switch div{height:auto;gap:.5rem;border-bottom:none}.dropdown-content .dashboard-switch ::ng-deep .radio-buttons-container{gap:.2rem}.dropdown-content .dashboard-switch lib-af-connect-radio-button span{font-size:12px}.dropdown-content .dashboard-switch lib-af-connect-radio-group{gap:.75rem;width:100%;padding:.5rem}.dropdown-content .dashboard-switch lib-af-connect-radio-button{width:100%}.dropdown-content .dashboard-switch__option{width:100%;height:42px;padding:.5rem;border-bottom:none;gap:.3rem;background-color:#fafbfc;box-sizing:border-box;cursor:pointer}.dropdown-content .dashboard-switch__option:hover{background-color:#0000000a}.dropdown-content .dashboard-switch__option>svg{height:32px;width:32px;flex:0 0 32px;overflow:hidden;border-radius:50%;filter:drop-shadow(1px 3px 5px rgba(0,0,0,.161))}.dropdown-content.has-dashboard-switch{min-width:min(280px,90vw)}.navigation-item{transition:color .2s ease-out;cursor:pointer}.navigation-item.disabled{pointer-events:none;color:#7f8991;cursor:default}.navigation-item.disabled>svg{filter:invert(54%) sepia(14%) saturate(254%) hue-rotate(165deg) brightness(97%) contrast(86%)}.blue{background:#2cc1da}.orange{background:#f69521}.yellow{background:var(--bright-tuscan-color)}.boxShadow{box-shadow:3px 3px 6px #00000008}.bold{font-family:var(--standard-font-family-hero-new-semibold)}\n"], dependencies: [{ kind: "directive", type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: AfConnectRadioButtonComponent, selector: "lib-af-connect-radio-button", inputs: ["id", "value", "itemOrder", "checked", "disabled"] }, { kind: "component", type: AfConnectRadioGroupComponent, selector: "lib-af-connect-radio-group", inputs: ["label", "direction", "withAsterisk", "variant", "labelPosition", "size", "value", "selected", "disabled"], outputs: ["valueChange"] }, { kind: "pipe", type: i1$1.AsyncPipe, name: "async" }] }); }
959
+ }
960
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AfConnectProfileDropdown, decorators: [{
961
+ type: Component,
962
+ args: [{ selector: 'lib-af-connect-profile-dropdown', template: "<ng-container *ngIf=\"hasDashboardSwitch; else roundIcon\">\r\n <div class=\"logo-content logo-content--switch\">\r\n <span class=\"logo-content--switch__label\">{{ dashboardType === DASHBOARD_TYPE.Pensioner ? 'Annuitant' : 'Investor' }}</span>\r\n <ng-container *ngTemplateOutlet=\"dashboardType === DASHBOARD_TYPE.Pensioner ? pensionerProfileIcon : investorProfileIcon\"></ng-container>\r\n </div>\r\n</ng-container>\r\n\r\n<ng-template #roundIcon>\r\n <span [class]=\"['logo-content', userType === USER_TYPE.Retail ? 'blue' : isHybrid ? 'yellow' : 'orange']\">\r\n <ng-container *ngTemplateOutlet=\"!(breakpointService.isTablet$ | async) ? mobileIcon : desktopIcon\"></ng-container>\r\n </span>\r\n</ng-template>\r\n\r\n<ng-container *ngIf=\"showMenu\">\r\n <div class=\"dropdown-content\" [class.has-dashboard-switch]=\"hasDashboardSwitch\">\r\n <div *ngIf=\"hasDashboardSwitch\" class=\"dashboard-switch\">\r\n <lib-af-connect-radio-group variant=\"checkbox\" direction=\"column\" (valueChange)=\"selectDashboard($event)\">\r\n <div\r\n class=\"dashboard-switch__option\"\r\n (click)=\"selectDashboard(DASHBOARD_TYPE.Investor)\"\r\n >\r\n <ng-container *ngTemplateOutlet=\"investorIcon\"></ng-container>\r\n\r\n <lib-af-connect-radio-button ngClass=\"larger\" [value]=\"DASHBOARD_TYPE.Investor\" [checked]=\"dashboardType === DASHBOARD_TYPE.Investor\" itemOrder=\"right-to-left\">\r\n <span>Investor dashboard</span>\r\n </lib-af-connect-radio-button>\r\n </div>\r\n <div\r\n class=\"dashboard-switch__option\"\r\n (click)=\"selectDashboard(DASHBOARD_TYPE.Pensioner)\"\r\n >\r\n <ng-container *ngTemplateOutlet=\"pensionerIcon\"></ng-container>\r\n\r\n <lib-af-connect-radio-button ngClass=\"larger\" [value]=\"DASHBOARD_TYPE.Pensioner\" [checked]=\"dashboardType === DASHBOARD_TYPE.Pensioner\" itemOrder=\"right-to-left\">\r\n <span>Annuitant dashboard</span>\r\n </lib-af-connect-radio-button>\r\n </div>\r\n </lib-af-connect-radio-group>\r\n </div>\r\n <div (click)=\"callMeBack.emit()\">\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" viewBox=\"0 0 20 20\">\r\n <g id=\"call\" transform=\"translate(0 0)\">\r\n <path id=\"phone-1\" d=\"M19.976,17.549l-2.588-2.156a.694.694,0,0,0-.7-.037l-1.438.958a.91.91,0,0,1-.509.153,5.983,5.983,0,0,1-1.28-.18,7.724,7.724,0,0,1-5.754-5.752,5.977,5.977,0,0,1-.18-1.28.909.909,0,0,1,.153-.509l.959-1.437a.681.681,0,0,0-.037-.7L6.444,4.022a.427.427,0,0,0-.73,0L4.285,5.77a2.549,2.549,0,0,0-.4,2.035.909.909,0,0,1,.027.105,4.671,4.671,0,0,0,.142.5,11.685,11.685,0,0,0,.654,1.563,20.775,20.775,0,0,0,3.973,5.332A20.76,20.76,0,0,0,14.02,19.28a11.693,11.693,0,0,0,1.563.654,4.823,4.823,0,0,0,.5.142.909.909,0,0,1,.126.033,2.492,2.492,0,0,0,2.014-.4l1.747-1.429A.426.426,0,0,0,19.976,17.549Zm-4.3-3.706A2.5,2.5,0,0,1,18.552,14l2.589,2.156a2.235,2.235,0,0,1-.015,3.534l-1.747,1.428a4.29,4.29,0,0,1-3.695.735q-.338-.077-.667-.188a13.5,13.5,0,0,1-1.809-.755A22.583,22.583,0,0,1,7.4,16.594a22.579,22.579,0,0,1-4.314-5.806,13.488,13.488,0,0,1-.755-1.809A6.833,6.833,0,0,1,2.14,8.3a4.343,4.343,0,0,1,.738-3.683L4.307,2.873a2.238,2.238,0,0,1,3.535-.015L10,5.445a2.485,2.485,0,0,1,.153,2.871L9.366,9.494a5.374,5.374,0,0,0,.11.62,5.948,5.948,0,0,0,.922,2.052,5.868,5.868,0,0,0,1.43,1.43,5.952,5.952,0,0,0,2.053.921,5.277,5.277,0,0,0,.62.11l1.179-.785Z\" transform=\"translate(-2 -2)\" fill=\"#ef4f1f\"/>\r\n </g>\r\n </svg>\r\n <span>Call me back</span>\r\n </div>\r\n <div (click)=\"contactAdviser.emit()\">\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"21.5\" height=\"17.864\" viewBox=\"0 0 21.5 17.864\">\r\n <g id=\"Icons_UI_Contacts_Colour_\" data-name=\"Icons / UI / Contacts / Colour \" transform=\"translate(0.75 0.75)\">\r\n <rect id=\"Rectangle\" width=\"20\" height=\"16.364\" rx=\"3\" fill=\"none\" stroke=\"#ef4f1f\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-miterlimit=\"10\" stroke-width=\"1.5\"/>\r\n <path id=\"Line_3\" data-name=\"Line 3\" d=\"M.55.563l8.591,7.67\" transform=\"translate(0.859 0.858)\" fill=\"none\" stroke=\"#ef4f1f\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-miterlimit=\"10\" stroke-width=\"1.5\"/>\r\n <path id=\"Line_3-2\" data-name=\"Line 3\" d=\"M-1.409.563-10,8.233\" transform=\"translate(20 0.858)\" fill=\"none\" stroke=\"#ef4f1f\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-miterlimit=\"10\" stroke-width=\"1.5\"/>\r\n </g>\r\n </svg>\r\n <span>Contact adviser</span>\r\n </div>\r\n <div *ngIf=\"hasSwitchIndicator\" class=\"user-type-switch user-type-switch\">\r\n <div class=\"user-type-switch__btn-container\">\r\n <lib-af-connect-radio-group label=\"View as\" variant=\"checkbox\" direction=\"column\" (valueChange)=\"select($event)\">\r\n <div\r\n class=\"user-type-switch__option boxShadow\"\r\n (click)=\"select(USER_TYPE.Retail)\"\r\n >\r\n <div class=\"logo blue\">\r\n <ng-container *ngTemplateOutlet=\"desktopIcon\"></ng-container>\r\n </div>\r\n <lib-af-connect-radio-button ngClass=\"larger\" [value]=\"USER_TYPE.Retail\" [checked]=\"userType === USER_TYPE.Retail\" itemOrder=\"right-to-left\">\r\n <span>Individual/Retail</span>\r\n </lib-af-connect-radio-button>\r\n </div>\r\n <div\r\n class=\"user-type-switch__option boxShadow\"\r\n (click)=\"select(USER_TYPE.Institutional)\"\r\n >\r\n <div class=\"logo orange\">\r\n <ng-container *ngTemplateOutlet=\"institutional\"></ng-container>\r\n </div>\r\n <lib-af-connect-radio-button ngClass=\"larger\" [value]=\"USER_TYPE.Institutional\" [checked]=\"userType === USER_TYPE.Institutional\" itemOrder=\"right-to-left\">\r\n <span>Employee benefits</span>\r\n </lib-af-connect-radio-button>\r\n </div>\r\n </lib-af-connect-radio-group>\r\n </div>\r\n </div>\r\n <ng-container *ngIf=\"!(breakpointService.isTablet$ | async)\">\r\n <ng-container *ngFor=\"let url of navUrls\">\r\n <div class=\"navigation-item\" [class.disabled]=\"disableNavUrls\" (mousedown)=\"navigateTo(url.href!)\">\r\n <div *ngIf=\"!url.svg\" class=\"container\"></div>\r\n <ng-container *ngIf=\"url.svg\"><div class=\"container\" [innerHTML]=\"sanitizeSvg(url.svg)\"></div></ng-container>\r\n <span class=\"page-name bold\">{{url.name}}</span>\r\n </div>\r\n </ng-container>\r\n </ng-container>\r\n <div *ngIf=\"canEditProfile\" class=\"navigation-item\" [class.disabled]=\"disableNavUrls\" (click)=\"!disableNavUrls && editProfile.emit()\">\r\n <svg id=\"Icons_UI_Edit_Colour\" data-name=\"Icons / UI / Edit / Colour\" xmlns=\"http://www.w3.org/2000/svg\" width=\"15.494\" height=\"15.5\" viewBox=\"0 0 15.494 15.5\">\r\n <g id=\"Group_3\" data-name=\"Group 3\" transform=\"translate(0)\"><path id=\"Fill_1\" data-name=\"Fill 1\" d=\"M.837,15.5H.644a.648.648,0,0,1-.57-.346A.642.642,0,0,1,.03,14.66l1.55-4.554a.663.663,0,0,1,.161-.259L10.785.8a2.779,2.779,0,0,1,3.909,0V.836a2.787,2.787,0,0,1,0,3.908L5.65,13.788l-.258.162L.837,15.5Zm11.7-14.056a1.477,1.477,0,0,0-.844.264L2.776,10.688l-1.1,3.165,3.165-1.1L13.79,3.808l-.032-.032a1.486,1.486,0,0,0-1.223-2.331Z\" fill=\"#ef4f1f\"/></g>\r\n <path id=\"Path_22\" data-name=\"Path 22\" d=\"M.857.878,3.294,3.315\" transform=\"translate(2.393 8.871)\" fill=\"none\" stroke=\"#ef4f1f\" stroke-linejoin=\"round\" stroke-miterlimit=\"10\" stroke-width=\"2\"/>\r\n </svg> \r\n <span>My Login Details</span>\r\n </div>\r\n <div class=\"navigation-item\" (click)=\"resetPassword.emit()\">\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"22\" height=\"20.004\" viewBox=\"0 0 22 20.004\">\r\n <path id=\"Shape\" d=\"M12.522,20A9.882,9.882,0,0,1,2.484,10H.544a.552.552,0,0,1-.379-.944l3.024-3.1a.528.528,0,0,1,.77,0l3.024,3.1a.557.557,0,0,1-.39.944H4.652a7.679,7.679,0,0,0,7.7,7.778,7.782,7.782,0,0,0,7.48-7.667A7.692,7.692,0,0,0,12.24,2.222,7.481,7.481,0,0,0,8.511,3.233a1.035,1.035,0,0,1-1.279-.2,1.125,1.125,0,0,1,.217-1.744A9.617,9.617,0,0,1,12.24,0,9.9,9.9,0,0,1,22,10.289,10,10,0,0,1,12.522,20Z\" transform=\"translate(22 20.004) rotate(180)\" fill=\"#f15a22\"/>\r\n </svg>\r\n <span>Reset password</span>\r\n </div>\r\n <div class=\"navigation-item\" (click)=\"logout.emit()\">\r\n <svg id=\"icon\" xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" viewBox=\"0 0 20 20\">\r\n <rect id=\"bg\" width=\"20\" height=\"20\" fill=\"none\"/>\r\n <path id=\"path\" d=\"M9.21,9.273l2.758-2.758A.727.727,0,1,0,10.94,5.486l-4,4a.727.727,0,0,0,0,1.029l4,4a.727.727,0,1,0,1.029-1.029L9.21,10.727h8.066a.727.727,0,0,0,0-1.455Zm1.517-5.818a.727.727,0,1,0,0-1.455H3.821A1.82,1.82,0,0,0,2,3.821V16.179A1.821,1.821,0,0,0,3.821,18h6.906a.727.727,0,1,0,0-1.455H3.821a.366.366,0,0,1-.367-.366V3.821a.366.366,0,0,1,.367-.366Z\" transform=\"translate(-0.099)\" fill=\"#7f8991\"/>\r\n </svg>\r\n <span>Log Out</span> \r\n </div>\r\n </div>\r\n</ng-container>\r\n\r\n<ng-template #desktopIcon>\r\n <svg id=\"Group\" xmlns=\"http://www.w3.org/2000/svg\" width=\"12.837\" height=\"13.693\" viewBox=\"0 0 12.837 13.693\">\r\n <path id=\"Oval\" d=\"M2.785-1A3.785,3.785,0,1,1-1,2.785,3.79,3.79,0,0,1,2.785-1Zm0,6.583a2.8,2.8,0,1,0-2.8-2.8A2.8,2.8,0,0,0,2.785,5.583Z\" transform=\"translate(3.633 1)\" fill=\"#fff\"/>\r\n <path id=\"Rectangle\" d=\"M7.393,4.135A.494.494,0,0,1,6.9,3.641,3.712,3.712,0,0,0,3.14-.013H-.506A.494.494,0,0,1-1-.506.494.494,0,0,1-.506-1H3.14A4.7,4.7,0,0,1,7.887,3.641.494.494,0,0,1,7.393,4.135Z\" transform=\"translate(4.95 9.558)\" fill=\"#fff\"/>\r\n <path id=\"Rectangle-2\" data-name=\"Rectangle\" d=\"M-12.506,4.135A.494.494,0,0,1-13,3.641,4.7,4.7,0,0,1-8.253-1h3.646a.494.494,0,0,1,.494.494.494.494,0,0,1-.494.494H-8.253a3.712,3.712,0,0,0-3.76,3.654A.494.494,0,0,1-12.506,4.135Z\" transform=\"translate(13 9.558)\" fill=\"#fff\"/>\r\n </svg>\r\n</ng-template>\r\n\r\n<ng-template #mobileIcon>\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"15.327\" height=\"10.095\" viewBox=\"0 0 15.327 10.095\">\r\n <path id=\"menu_24dp_1F1F1F_FILL0_wght200_GRAD0_opsz24\" d=\"M160-680.675v-.958h15.327v.958Zm0-4.569v-.958h15.327v.958Zm0-4.569v-.958h15.327v.958Z\" transform=\"translate(-160 690.77)\" fill=\"#fff\"/>\r\n </svg>\r\n</ng-template>\r\n\r\n<ng-template #institutional>\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"15.384\" height=\"12.488\" viewBox=\"0 0 15.384 12.488\">\r\n <defs>\r\n <clipPath id=\"clip-path\">\r\n <rect id=\"Rectangle_1424\" data-name=\"Rectangle 1424\" width=\"15.383\" height=\"12.489\" transform=\"translate(0 0)\" fill=\"none\" stroke=\"#707070\" stroke-width=\"1\"/>\r\n </clipPath>\r\n </defs>\r\n <g id=\"Group_10298\" data-name=\"Group 10298\" transform=\"translate(-0.952 -0.773)\">\r\n <g id=\"Group_10297\" data-name=\"Group 10297\" transform=\"translate(0.953 0.773)\" clip-path=\"url(#clip-path)\">\r\n <path id=\"Path_6080\" data-name=\"Path 6080\" d=\"M29.386,3.03a.346.346,0,0,1-.346-.346V1.32a.629.629,0,0,0-.628-.629H23.274a.629.629,0,0,0-.628.629V2.684a.346.346,0,1,1-.693,0V1.32A1.323,1.323,0,0,1,23.274,0h5.137A1.323,1.323,0,0,1,29.732,1.32V2.684A.346.346,0,0,1,29.386,3.03Z\" transform=\"translate(-18.151 0.001)\" fill=\"#fff\"/>\r\n <path id=\"Rectangle_1423\" data-name=\"Rectangle 1423\" d=\"M-.933-2h13.25A1.068,1.068,0,0,1,13.384-.933V7.084a1.068,1.068,0,0,1-1.067,1.067H-.933A1.068,1.068,0,0,1-2,7.084V-.933A1.068,1.068,0,0,1-.933-2Zm13.25,9.458a.374.374,0,0,0,.374-.374V-.933a.374.374,0,0,0-.374-.374H-.933a.374.374,0,0,0-.374.374V7.084a.374.374,0,0,0,.374.374Z\" transform=\"translate(2 4.338)\" fill=\"#fff\"/>\r\n <path id=\"Line_324\" data-name=\"Line 324\" d=\"M12.712-1.307H-1.654A.346.346,0,0,1-2-1.654.346.346,0,0,1-1.654-2H12.712a.346.346,0,0,1,.346.346A.346.346,0,0,1,12.712-1.307Z\" transform=\"translate(2.037 8.087)\" fill=\"#fff\"/>\r\n <path id=\"Line_325\" data-name=\"Line 325\" d=\"M-1.654.223A.346.346,0,0,1-2-.124v-1.53A.346.346,0,0,1-1.654-2a.346.346,0,0,1,.346.346v1.53A.346.346,0,0,1-1.654.223Z\" transform=\"translate(12.888 7.318)\" fill=\"#fff\"/>\r\n <path id=\"Line_326\" data-name=\"Line 326\" d=\"M-1.654.223A.346.346,0,0,1-2-.124v-1.53A.346.346,0,0,1-1.654-2a.346.346,0,0,1,.346.346v1.53A.346.346,0,0,1-1.654.223Z\" transform=\"translate(5.802 7.318)\" fill=\"#fff\"/>\r\n </g>\r\n </g>\r\n </svg>\r\n</ng-template>\r\n\r\n<ng-template #investorProfileIcon>\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" class=\"profile-switch-icon\" viewBox=\"15 14 32 32\">\r\n <g id=\"Group_15418_p\" transform=\"translate(15 14)\">\r\n <g transform=\"matrix(1, 0, 0, 1, -15, -14)\">\r\n <g id=\"Path_21459_p\" transform=\"translate(15 14)\" fill=\"#f69521\">\r\n <path d=\"M 16 31 C 11.9933500289917 31 8.226519584655762 29.43972969055176 5.393400192260742 26.60659980773926 C 2.560270071029663 23.77347946166992 1 20.00665092468262 1 16 C 1 11.9933500289917 2.560270071029663 8.226519584655762 5.393400192260742 5.393400192260742 C 8.226519584655762 2.560270071029663 11.9933500289917 1 16 1 C 20.00665092468262 1 23.77347946166992 2.560270071029663 26.60659980773926 5.393400192260742 C 29.43972969055176 8.226519584655762 31 11.9933500289917 31 16 C 31 20.00665092468262 29.43972969055176 23.77347946166992 26.60659980773926 26.60659980773926 C 23.77347946166992 29.43972969055176 20.00665092468262 31 16 31 Z\" stroke=\"none\"/>\r\n <path d=\"M 16 2 C 12.26045989990234 2 8.744749069213867 3.456249237060547 6.100500106811523 6.100500106811523 C 3.456249237060547 8.744749069213867 2 12.26045989990234 2 16 C 2 19.73954010009766 3.456249237060547 23.2552490234375 6.100500106811523 25.89949989318848 C 8.744749069213867 28.54375076293945 12.26045989990234 30 16 30 C 19.73954010009766 30 23.2552490234375 28.54375076293945 25.89949989318848 25.89949989318848 C 28.54375076293945 23.2552490234375 30 19.73954010009766 30 16 C 30 12.26045989990234 28.54375076293945 8.744749069213867 25.89949989318848 6.100500106811523 C 23.2552490234375 3.456249237060547 19.73954010009766 2 16 2 M 16 0 C 24.8365592956543 0 32 7.163440704345703 32 16 C 32 24.8365592956543 24.8365592956543 32 16 32 C 7.163440704345703 32 0 24.8365592956543 0 16 C 0 7.163440704345703 7.163440704345703 0 16 0 Z\" stroke=\"none\" fill=\"#fff\"/>\r\n </g>\r\n </g>\r\n <g transform=\"translate(-41.01 244.242)\">\r\n <g transform=\"translate(50 -236)\">\r\n <path d=\"M15.706,50.57h0a.572.572,0,0,1-.57.57H13.07a.572.572,0,0,1-.57-.57h0a.572.572,0,0,1,.57-.57h2.065A.572.572,0,0,1,15.706,50.57Z\" transform=\"translate(-10.076 -35.739)\" fill=\"#fff\"/>\r\n <path d=\"M40.086,50.57h0a.572.572,0,0,1-.57.57H37.45a.572.572,0,0,1-.57-.57h0a.572.572,0,0,1,.57-.57h2.065A.572.572,0,0,1,40.086,50.57Z\" transform=\"translate(-27.502 -35.739)\" fill=\"#fff\"/>\r\n <path d=\"M5.426.285A1.141,1.141,0,0,0,4.285,1.426V13.405a1.141,1.141,0,0,0,1.141,1.141H17.405a1.141,1.141,0,0,0,1.141-1.141V1.426A1.141,1.141,0,0,0,17.405.285H5.426m0-.285H17.405a1.427,1.427,0,0,1,1.426,1.426V13.405a1.427,1.427,0,0,1-1.426,1.426H5.426A1.427,1.427,0,0,1,4,13.405V1.426A1.427,1.427,0,0,1,5.426,0Z\" transform=\"translate(-4)\" fill=\"#fff\"/>\r\n <path d=\"M8.426,3.285A1.141,1.141,0,0,0,7.285,4.426V14.694a1.141,1.141,0,0,0,1.141,1.141H18.694a1.141,1.141,0,0,0,1.141-1.141V4.426a1.141,1.141,0,0,0-1.141-1.141H8.426m0-.285H18.694A1.427,1.427,0,0,1,20.12,4.426V14.694a1.427,1.427,0,0,1-1.426,1.426H8.426A1.427,1.427,0,0,1,7,14.694V4.426A1.427,1.427,0,0,1,8.426,3Z\" transform=\"translate(-6.144 -2.144)\" fill=\"#fff\"/>\r\n <path d=\"M42.283,22A1.283,1.283,0,1,1,41,23.283,1.282,1.282,0,0,1,42.283,22Z\" transform=\"translate(-31.303 -15.868)\" fill=\"none\" stroke=\"#fff\" stroke-width=\"0.7\"/>\r\n <path d=\"M6.57,9h0a.572.572,0,0,1,.57.57v2.567a.572.572,0,0,1-.57.57h0a.572.572,0,0,1-.57-.57V9.57A.572.572,0,0,1,6.57,9Z\" transform=\"translate(-5.43 -6.433)\" fill=\"#fff\"/>\r\n <path d=\"M6.57,30h0a.572.572,0,0,1,.57.57v2.567a.572.572,0,0,1-.57.57h0a.572.572,0,0,1-.57-.57V30.57A.572.572,0,0,1,6.57,30Z\" transform=\"translate(-5.43 -21.444)\" fill=\"#fff\"/>\r\n </g>\r\n </g>\r\n </g>\r\n </svg>\r\n</ng-template>\r\n\r\n<ng-template #pensionerProfileIcon>\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" class=\"profile-switch-icon\" viewBox=\"15 14 32 32\">\r\n <g id=\"Group_15420_p\" transform=\"translate(15 14)\">\r\n <g transform=\"matrix(1, 0, 0, 1, -15, -14)\">\r\n <g id=\"Path_21472_p\" transform=\"translate(15 14)\" fill=\"#15808d\">\r\n <path d=\"M 16 31 C 11.9933500289917 31 8.226519584655762 29.43972969055176 5.393400192260742 26.60659980773926 C 2.560270071029663 23.77347946166992 1 20.00665092468262 1 16 C 1 11.9933500289917 2.560270071029663 8.226519584655762 5.393400192260742 5.393400192260742 C 8.226519584655762 2.560270071029663 11.9933500289917 1 16 1 C 20.00665092468262 1 23.77347946166992 2.560270071029663 26.60659980773926 5.393400192260742 C 29.43972969055176 8.226519584655762 31 11.9933500289917 31 16 C 31 20.00665092468262 29.43972969055176 23.77347946166992 26.60659980773926 26.60659980773926 C 23.77347946166992 29.43972969055176 20.00665092468262 31 16 31 Z\" stroke=\"none\"/>\r\n <path d=\"M 16 2 C 12.26045989990234 2 8.744749069213867 3.456249237060547 6.100500106811523 6.100500106811523 C 3.456249237060547 8.744749069213867 2 12.26045989990234 2 16 C 2 19.73954010009766 3.456249237060547 23.2552490234375 6.100500106811523 25.89949989318848 C 8.744749069213867 28.54375076293945 12.26045989990234 30 16 30 C 19.73954010009766 30 23.2552490234375 28.54375076293945 25.89949989318848 25.89949989318848 C 28.54375076293945 23.2552490234375 30 19.73954010009766 30 16 C 30 12.26045989990234 28.54375076293945 8.744749069213867 25.89949989318848 6.100500106811523 C 23.2552490234375 3.456249237060547 19.73954010009766 2 16 2 M 16 0 C 24.8365592956543 0 32 7.163440704345703 32 16 C 32 24.8365592956543 24.8365592956543 32 16 32 C 7.163440704345703 32 0 24.8365592956543 0 16 C 0 7.163440704345703 7.163440704345703 0 16 0 Z\" stroke=\"none\" fill=\"#fff\"/>\r\n </g>\r\n </g>\r\n <g id=\"Portfolio_Icon_p\" transform=\"translate(-0.014 7.951)\">\r\n <path d=\"M49.257,42.8H36.163a1.716,1.716,0,0,1-1.8-1.615V31.01a.242.242,0,0,1,.48,0,1.12,1.12,0,0,0,1.173,1.054H49.257a1.085,1.085,0,0,1,1.138,1.022v2.667a.229.229,0,0,1-.24.215H45.485a1.6,1.6,0,0,0-1.082.406,1.288,1.288,0,0,0-.438.977A1.473,1.473,0,0,0,45.511,38.7h4.641a.229.229,0,0,1,.24.216v2.859A1.086,1.086,0,0,1,49.257,42.8ZM34.845,32.055V41.18a1.256,1.256,0,0,0,1.317,1.183H49.257a.627.627,0,0,0,.658-.591V39.131h-4.4a1.933,1.933,0,0,1-2.026-1.773,1.695,1.695,0,0,1,.576-1.286,2.105,2.105,0,0,1,1.424-.534h4.429V33.086a.627.627,0,0,0-.658-.591H36.019A1.747,1.747,0,0,1,34.845,32.055Z\" transform=\"translate(-26.426 -27.829)\" fill=\"#fff\" stroke=\"#fff\" stroke-width=\"0.2\"/>\r\n <path d=\"M69.395,49.118H64.718a1.933,1.933,0,0,1-2.026-1.773,1.694,1.694,0,0,1,.576-1.286,2.1,2.1,0,0,1,1.424-.535h4.7a1.086,1.086,0,0,1,1.138,1.022V48.1a1.086,1.086,0,0,1-1.138,1.021Zm-4.7-3.162a1.6,1.6,0,0,0-1.082.406,1.288,1.288,0,0,0-.438.977,1.473,1.473,0,0,0,1.546,1.347h4.678a.628.628,0,0,0,.658-.591v-1.55a.628.628,0,0,0-.658-.591h-4.7Z\" transform=\"translate(-45.631 -37.816)\" fill=\"#fff\" stroke=\"#fff\" stroke-width=\"0.2\"/>\r\n <path d=\"M37.763,29.805H36.016a1.494,1.494,0,1,1,0-2.97h6.345a.237.237,0,0,1,.231.157.206.206,0,0,1-.105.242l-4.6,2.539A.258.258,0,0,1,37.763,29.805Zm-1.747-2.539a1.06,1.06,0,1,0,0,2.108h1.678l3.818-2.108Z\" transform=\"translate(-26.424 -25.139)\" fill=\"#fff\" stroke=\"#fff\" stroke-width=\"0.2\"/>\r\n <path d=\"M56.553,29.82H45.8a.233.233,0,0,1-.238-.186.217.217,0,0,1,.172-.237l8.617-2.2,1.33-.34a.245.245,0,0,1,.3.149l.805,2.54a.2.2,0,0,1-.039.189.25.25,0,0,1-.193.086Zm-9.027-.431h8.71l-.651-2.057Z\" transform=\"translate(-34.018 -25.154)\" fill=\"#fff\" stroke=\"#fff\" stroke-width=\"0.2\"/>\r\n <path d=\"M44.862,26.254h-.445a.238.238,0,0,1-.231-.157.206.206,0,0,1,.105-.242l4.6-2.539,3.071-1.7a.258.258,0,0,1,.33.071l1.393,2.035a.2.2,0,0,1,.019.191.232.232,0,0,1-.158.129l-8.617,2.2A.279.279,0,0,1,44.862,26.254ZM52.008,22.1l-6.364,3.513,7.465-1.906Z\" transform=\"translate(-33.079 -21.588)\" fill=\"#fff\" stroke=\"#fff\" stroke-width=\"0.2\"/>\r\n <path d=\"M67.51,50.355a.67.67,0,1,1,.741-.666.708.708,0,0,1-.741.666Zm0-.9a.237.237,0,1,0,.262.235.25.25,0,0,0-.262-.236Z\" transform=\"translate(-48.491 -40.185)\" fill=\"#fff\"/>\r\n <path d=\"M40.583,59.719V56.632c0-.142.011-.285,0-.427V56.2c0-.118-.383-.118-.383,0v3.088c0,.142-.011.284,0,.427v.006C40.2,59.836,40.583,59.837,40.583,59.719Z\" transform=\"translate(-30.379 -44.995)\" fill=\"#fff\" stroke=\"#fff\" stroke-width=\"0.2\"/>\r\n </g>\r\n </g>\r\n </svg>\r\n</ng-template>\r\n\r\n<ng-template #investorIcon>\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"32\" height=\"32\" viewBox=\"15 14 32 32\">\r\n <defs>\r\n <filter id=\"Path_21459\" x=\"0\" y=\"0\" width=\"62\" height=\"62\" filterUnits=\"userSpaceOnUse\">\r\n <feOffset dy=\"1\" input=\"SourceAlpha\"/>\r\n <feGaussianBlur stdDeviation=\"5\" result=\"blur\"/>\r\n <feFlood flood-opacity=\"0.161\"/>\r\n <feComposite operator=\"in\" in2=\"blur\"/>\r\n <feComposite in=\"SourceGraphic\"/>\r\n </filter>\r\n </defs>\r\n <g id=\"Group_15418\" data-name=\"Group 15418\" transform=\"translate(15 14)\">\r\n <g transform=\"matrix(1, 0, 0, 1, -15, -14)\" filter=\"url(#Path_21459)\">\r\n <g id=\"Path_21459-2\" data-name=\"Path 21459\" transform=\"translate(15 14)\" fill=\"#f69521\">\r\n <path d=\"M 16 31 C 11.9933500289917 31 8.226519584655762 29.43972969055176 5.393400192260742 26.60659980773926 C 2.560270071029663 23.77347946166992 1 20.00665092468262 1 16 C 1 11.9933500289917 2.560270071029663 8.226519584655762 5.393400192260742 5.393400192260742 C 8.226519584655762 2.560270071029663 11.9933500289917 1 16 1 C 20.00665092468262 1 23.77347946166992 2.560270071029663 26.60659980773926 5.393400192260742 C 29.43972969055176 8.226519584655762 31 11.9933500289917 31 16 C 31 20.00665092468262 29.43972969055176 23.77347946166992 26.60659980773926 26.60659980773926 C 23.77347946166992 29.43972969055176 20.00665092468262 31 16 31 Z\" stroke=\"none\"/>\r\n <path d=\"M 16 2 C 12.26045989990234 2 8.744749069213867 3.456249237060547 6.100500106811523 6.100500106811523 C 3.456249237060547 8.744749069213867 2 12.26045989990234 2 16 C 2 19.73954010009766 3.456249237060547 23.2552490234375 6.100500106811523 25.89949989318848 C 8.744749069213867 28.54375076293945 12.26045989990234 30 16 30 C 19.73954010009766 30 23.2552490234375 28.54375076293945 25.89949989318848 25.89949989318848 C 28.54375076293945 23.2552490234375 30 19.73954010009766 30 16 C 30 12.26045989990234 28.54375076293945 8.744749069213867 25.89949989318848 6.100500106811523 C 23.2552490234375 3.456249237060547 19.73954010009766 2 16 2 M 16 0 C 24.8365592956543 0 32 7.163440704345703 32 16 C 32 24.8365592956543 24.8365592956543 32 16 32 C 7.163440704345703 32 0 24.8365592956543 0 16 C 0 7.163440704345703 7.163440704345703 0 16 0 Z\" stroke=\"none\" fill=\"#fff\"/>\r\n </g>\r\n </g>\r\n <g id=\"Layer_1\" data-name=\"Layer 1\" transform=\"translate(-41.01 244.242)\">\r\n <g id=\"Group_10898\" data-name=\"Group 10898\" transform=\"translate(50 -236)\">\r\n <g id=\"Group_10893\" data-name=\"Group 10893\" transform=\"translate(0)\">\r\n <path id=\"Rectangle_1510\" data-name=\"Rectangle 1510\" d=\"M15.706,50.57h0a.572.572,0,0,1-.57.57H13.07a.572.572,0,0,1-.57-.57h0a.572.572,0,0,1,.57-.57h2.065A.572.572,0,0,1,15.706,50.57Z\" transform=\"translate(-10.076 -35.739)\" fill=\"#fff\"/>\r\n <path id=\"Rectangle_1511\" data-name=\"Rectangle 1511\" d=\"M40.086,50.57h0a.572.572,0,0,1-.57.57H37.45a.572.572,0,0,1-.57-.57h0a.572.572,0,0,1,.57-.57h2.065A.572.572,0,0,1,40.086,50.57Z\" transform=\"translate(-27.502 -35.739)\" fill=\"#fff\"/>\r\n <g id=\"Path_6177\" data-name=\"Path 6177\">\r\n <path id=\"Path_6179\" data-name=\"Path 6179\" d=\"M5.426.285A1.141,1.141,0,0,0,4.285,1.426V13.405a1.141,1.141,0,0,0,1.141,1.141H17.405a1.141,1.141,0,0,0,1.141-1.141V1.426A1.141,1.141,0,0,0,17.405.285H5.426m0-.285H17.405a1.427,1.427,0,0,1,1.426,1.426V13.405a1.427,1.427,0,0,1-1.426,1.426H5.426A1.427,1.427,0,0,1,4,13.405V1.426A1.427,1.427,0,0,1,5.426,0Z\" transform=\"translate(-4)\" fill=\"#fff\"/>\r\n </g>\r\n <path id=\"Rectangle_1507_-_Outline\" data-name=\"Rectangle 1507 - Outline\" d=\"M5.426.285A1.141,1.141,0,0,0,4.285,1.426V13.405a1.141,1.141,0,0,0,1.141,1.141H17.405a1.141,1.141,0,0,0,1.141-1.141V1.426A1.141,1.141,0,0,0,17.405.285H5.426m0-.285H17.405a1.427,1.427,0,0,1,1.426,1.426V13.405a1.427,1.427,0,0,1-1.426,1.426H5.426A1.427,1.427,0,0,1,4,13.405V1.426A1.427,1.427,0,0,1,5.426,0Z\" transform=\"translate(-4)\" fill=\"#fff\"/>\r\n <path id=\"Rectangle_1506\" data-name=\"Rectangle 1506\" d=\"M8.426,3.285A1.141,1.141,0,0,0,7.285,4.426V14.694a1.141,1.141,0,0,0,1.141,1.141H18.694a1.141,1.141,0,0,0,1.141-1.141V4.426a1.141,1.141,0,0,0-1.141-1.141H8.426m0-.285H18.694A1.427,1.427,0,0,1,20.12,4.426V14.694a1.427,1.427,0,0,1-1.426,1.426H8.426A1.427,1.427,0,0,1,7,14.694V4.426A1.427,1.427,0,0,1,8.426,3Z\" transform=\"translate(-6.144 -2.144)\" fill=\"#fff\"/>\r\n <path id=\"Path_6176\" data-name=\"Path 6176\" d=\"M42.283,22A1.283,1.283,0,1,1,41,23.283,1.282,1.282,0,0,1,42.283,22Z\" transform=\"translate(-31.303 -15.868)\" fill=\"none\" stroke=\"#fff\" stroke-width=\"0.7\"/>\r\n <path id=\"Rectangle_1508\" data-name=\"Rectangle 1508\" d=\"M6.57,9h0a.572.572,0,0,1,.57.57v2.567a.572.572,0,0,1-.57.57h0a.572.572,0,0,1-.57-.57V9.57A.572.572,0,0,1,6.57,9Z\" transform=\"translate(-5.43 -6.433)\" fill=\"#fff\"/>\r\n <path id=\"Rectangle_1509\" data-name=\"Rectangle 1509\" d=\"M6.57,30h0a.572.572,0,0,1,.57.57v2.567a.572.572,0,0,1-.57.57h0a.572.572,0,0,1-.57-.57V30.57A.572.572,0,0,1,6.57,30Z\" transform=\"translate(-5.43 -21.444)\" fill=\"#fff\"/>\r\n </g>\r\n </g>\r\n </g>\r\n </g>\r\n </svg>\r\n</ng-template>\r\n\r\n<ng-template #pensionerIcon>\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"32\" height=\"32\" viewBox=\"15 14 32 32\">\r\n <defs>\r\n <filter id=\"Path_21472\" x=\"0\" y=\"0\" width=\"62\" height=\"62\" filterUnits=\"userSpaceOnUse\">\r\n <feOffset dy=\"1\" input=\"SourceAlpha\"/>\r\n <feGaussianBlur stdDeviation=\"5\" result=\"blur\"/>\r\n <feFlood flood-opacity=\"0.161\"/>\r\n <feComposite operator=\"in\" in2=\"blur\"/>\r\n <feComposite in=\"SourceGraphic\"/>\r\n </filter>\r\n </defs>\r\n <g id=\"Group_15420\" data-name=\"Group 15420\" transform=\"translate(15 14)\">\r\n <g transform=\"matrix(1, 0, 0, 1, -15, -14)\" filter=\"url(#Path_21472)\">\r\n <g id=\"Path_21472-2\" data-name=\"Path 21472\" transform=\"translate(15 14)\" fill=\"#15808d\">\r\n <path d=\"M 16 31 C 11.9933500289917 31 8.226519584655762 29.43972969055176 5.393400192260742 26.60659980773926 C 2.560270071029663 23.77347946166992 1 20.00665092468262 1 16 C 1 11.9933500289917 2.560270071029663 8.226519584655762 5.393400192260742 5.393400192260742 C 8.226519584655762 2.560270071029663 11.9933500289917 1 16 1 C 20.00665092468262 1 23.77347946166992 2.560270071029663 26.60659980773926 5.393400192260742 C 29.43972969055176 8.226519584655762 31 11.9933500289917 31 16 C 31 20.00665092468262 29.43972969055176 23.77347946166992 26.60659980773926 26.60659980773926 C 23.77347946166992 29.43972969055176 20.00665092468262 31 16 31 Z\" stroke=\"none\"/>\r\n <path d=\"M 16 2 C 12.26045989990234 2 8.744749069213867 3.456249237060547 6.100500106811523 6.100500106811523 C 3.456249237060547 8.744749069213867 2 12.26045989990234 2 16 C 2 19.73954010009766 3.456249237060547 23.2552490234375 6.100500106811523 25.89949989318848 C 8.744749069213867 28.54375076293945 12.26045989990234 30 16 30 C 19.73954010009766 30 23.2552490234375 28.54375076293945 25.89949989318848 25.89949989318848 C 28.54375076293945 23.2552490234375 30 19.73954010009766 30 16 C 30 12.26045989990234 28.54375076293945 8.744749069213867 25.89949989318848 6.100500106811523 C 23.2552490234375 3.456249237060547 19.73954010009766 2 16 2 M 16 0 C 24.8365592956543 0 32 7.163440704345703 32 16 C 32 24.8365592956543 24.8365592956543 32 16 32 C 7.163440704345703 32 0 24.8365592956543 0 16 C 0 7.163440704345703 7.163440704345703 0 16 0 Z\" stroke=\"none\" fill=\"#fff\"/>\r\n </g>\r\n </g>\r\n <g id=\"Portfolio_Icon\" data-name=\"Portfolio Icon\" transform=\"translate(-0.014 7.951)\">\r\n <path id=\"Path_6468\" data-name=\"Path 6468\" d=\"M49.257,42.8H36.163a1.716,1.716,0,0,1-1.8-1.615V31.01a.242.242,0,0,1,.48,0,1.12,1.12,0,0,0,1.173,1.054H49.257a1.085,1.085,0,0,1,1.138,1.022v2.667a.229.229,0,0,1-.24.215H45.485a1.6,1.6,0,0,0-1.082.406,1.288,1.288,0,0,0-.438.977A1.473,1.473,0,0,0,45.511,38.7h4.641a.229.229,0,0,1,.24.216v2.859A1.086,1.086,0,0,1,49.257,42.8ZM34.845,32.055V41.18a1.256,1.256,0,0,0,1.317,1.183H49.257a.627.627,0,0,0,.658-.591V39.131h-4.4a1.933,1.933,0,0,1-2.026-1.773,1.695,1.695,0,0,1,.576-1.286,2.105,2.105,0,0,1,1.424-.534h4.429V33.086a.627.627,0,0,0-.658-.591H36.019A1.747,1.747,0,0,1,34.845,32.055Z\" transform=\"translate(-26.426 -27.829)\" fill=\"#fff\" stroke=\"#fff\" stroke-width=\"0.2\"/>\r\n <path id=\"Path_6469\" data-name=\"Path 6469\" d=\"M69.395,49.118H64.718a1.933,1.933,0,0,1-2.026-1.773,1.694,1.694,0,0,1,.576-1.286,2.1,2.1,0,0,1,1.424-.535h4.7a1.086,1.086,0,0,1,1.138,1.022V48.1a1.086,1.086,0,0,1-1.138,1.021Zm-4.7-3.162a1.6,1.6,0,0,0-1.082.406,1.288,1.288,0,0,0-.438.977,1.473,1.473,0,0,0,1.546,1.347h4.678a.628.628,0,0,0,.658-.591v-1.55a.628.628,0,0,0-.658-.591h-4.7Z\" transform=\"translate(-45.631 -37.816)\" fill=\"#fff\" stroke=\"#fff\" stroke-width=\"0.2\"/>\r\n <path id=\"Path_6470\" data-name=\"Path 6470\" d=\"M37.763,29.805H36.016a1.494,1.494,0,1,1,0-2.97h6.345a.237.237,0,0,1,.231.157.206.206,0,0,1-.105.242l-4.6,2.539A.258.258,0,0,1,37.763,29.805Zm-1.747-2.539a1.06,1.06,0,1,0,0,2.108h1.678l3.818-2.108Z\" transform=\"translate(-26.424 -25.139)\" fill=\"#fff\" stroke=\"#fff\" stroke-width=\"0.2\"/>\r\n <path id=\"Path_6471\" data-name=\"Path 6471\" d=\"M56.553,29.82H45.8a.233.233,0,0,1-.238-.186.217.217,0,0,1,.172-.237l8.617-2.2,1.33-.34a.245.245,0,0,1,.3.149l.805,2.54a.2.2,0,0,1-.039.189.25.25,0,0,1-.193.086Zm-9.027-.431h8.71l-.651-2.057Z\" transform=\"translate(-34.018 -25.154)\" fill=\"#fff\" stroke=\"#fff\" stroke-width=\"0.2\"/>\r\n <path id=\"Path_6472\" data-name=\"Path 6472\" d=\"M44.862,26.254h-.445a.238.238,0,0,1-.231-.157.206.206,0,0,1,.105-.242l4.6-2.539,3.071-1.7a.258.258,0,0,1,.33.071l1.393,2.035a.2.2,0,0,1,.019.191.232.232,0,0,1-.158.129l-8.617,2.2A.279.279,0,0,1,44.862,26.254ZM52.008,22.1l-6.364,3.513,7.465-1.906Z\" transform=\"translate(-33.079 -21.588)\" fill=\"#fff\" stroke=\"#fff\" stroke-width=\"0.2\"/>\r\n <path id=\"Path_6473\" data-name=\"Path 6473\" d=\"M67.51,50.355a.67.67,0,1,1,.741-.666.708.708,0,0,1-.741.666Zm0-.9a.237.237,0,1,0,.262.235.25.25,0,0,0-.262-.236Z\" transform=\"translate(-48.491 -40.185)\" fill=\"#fff\"/>\r\n <path id=\"Path_6474\" data-name=\"Path 6474\" d=\"M40.583,59.719V56.632c0-.142.011-.285,0-.427V56.2c0-.118-.383-.118-.383,0v3.088c0,.142-.011.284,0,.427v.006C40.2,59.836,40.583,59.837,40.583,59.719Z\" transform=\"translate(-30.379 -44.995)\" fill=\"#fff\" stroke=\"#fff\" stroke-width=\"0.2\"/>\r\n </g>\r\n </g>\r\n </svg>\r\n</ng-template>\r\n", styles: [".logo-cicrcle,.dropdown-content .user-type-switch__option>.logo,.logo-content,:host{display:flex;place-items:center;place-content:center;border-radius:50%}:host{height:3rem;filter:drop-shadow(3px 3px 10px rgba(0,0,0,.0784313725));z-index:999;box-shadow:3px 3px 10px #00000014;border:3px solid #FFFFFF}@media (max-width: 768px){:host{width:30px;height:30px;margin-right:-20px}}:host.has-dashboard-switch{border-radius:30px;width:167px;height:59px;place-items:unset;place-content:unset;background:#fff;border:none;display:inline-flex;align-items:center}:host.has-dashboard-switch .logo-content{width:100%}:host.has-dashboard-switch .dropdown-content{top:4.2rem}@media (max-width: 768px){:host.has-dashboard-switch .dropdown-content{top:47px}}@media (max-width: 768px){:host.has-dashboard-switch{width:auto;height:auto}}.logo-content--switch{display:flex;align-items:center;width:100%;padding:.375rem .5rem .375rem 1rem;gap:.75rem;cursor:pointer;text-align:center}.logo-content--switch__label{font-family:var(--standard-font-family-hero-new);font-size:16px;color:#2c3245;white-space:nowrap;flex:1}.logo-content--switch>svg{width:32px;height:32px;flex-shrink:0;display:block}.logo-content--switch>svg.profile-switch-icon{width:48px;height:48px}@media (max-width: 768px){.logo-content--switch>svg.profile-switch-icon{width:32px;height:32px}}.logo-content{width:3rem;height:3rem;color:#fff;font-family:Hero New ExtraBold;font-size:2rem;cursor:pointer}.logo-content>svg{width:1.5rem;height:1.5rem}@media (max-width: 768px){.logo-content{width:30px;height:30px;font-size:18px}.logo-content>svg{width:1rem;height:1rem}}.dropdown-content{position:absolute;width:auto;min-width:min(230px,82vw);height:fit-content;right:0;top:3.5rem;font-size:12px;background:#fff;display:flex;flex-direction:column;align-items:center}.dropdown-content .page-name{padding-right:1.5rem}.dropdown-content>div:not(.user-type-switch):not(.dashboard-switch):nth-child(-n+2){display:none}.dropdown-content.has-dashboard-switch>div:not(.user-type-switch):not(.dashboard-switch):nth-child(-n+3){display:none}@media (max-width: 768px){.dropdown-content{top:47px}.dropdown-content>div:not(.user-type-switch):not(.dashboard-switch):nth-child(-n+2){display:none}.dropdown-content.has-dashboard-switch>div:not(.user-type-switch):not(.dashboard-switch):nth-child(-n+3){display:none}}.dropdown-content div{display:flex;align-items:center;width:100%;height:3rem;gap:1rem;border-bottom:1px solid rgba(120,132,158,.0784313725);cursor:pointer}.dropdown-content div svg,.dropdown-content div.container{width:20px;height:20px;padding-left:1rem}.dropdown-content div.container{border:none}.dropdown-content>div:not(.user-type-switch):not(.dashboard-switch):hover{background-color:#0000000a}.dropdown-content .user-type-switch{width:auto;height:100%;cursor:default;border-bottom:none}.dropdown-content .user-type-switch__btn-container{display:block!important;width:241px;height:166px;background:#fafbfc;border:1px solid #F3F3F3;border-radius:5pt;margin:1rem}.dropdown-content .user-type-switch__option{width:100%;height:42px;border-bottom:none;gap:.3rem;padding:0 .75rem;background-color:#fff;box-sizing:border-box;border-radius:3rem;cursor:pointer}.dropdown-content .user-type-switch__option>.logo{height:23px;width:27px;flex:0 1 auto;border:1px solid #FFFFFF;box-shadow:1px 3px 10px #00000014}.dropdown-content .user-type-switch__option>.logo>svg{width:auto;height:auto;padding:0}.dropdown-content .user-type-switch__option>.logo__img{width:22px;height:.9rem}.dropdown-content lib-af-connect-radio-group{gap:.75rem;padding:1rem}.dropdown-content lib-af-connect-radio-button{width:100%}.dropdown-content .dashboard-switch{height:fit-content;cursor:default;border-bottom:none}.dropdown-content .dashboard-switch div svg,.dropdown-content .dashboard-switch div.container{width:unset;height:unset;padding-left:unset}.dropdown-content .dashboard-switch div{height:auto;gap:.5rem;border-bottom:none}.dropdown-content .dashboard-switch ::ng-deep .radio-buttons-container{gap:.2rem}.dropdown-content .dashboard-switch lib-af-connect-radio-button span{font-size:12px}.dropdown-content .dashboard-switch lib-af-connect-radio-group{gap:.75rem;width:100%;padding:.5rem}.dropdown-content .dashboard-switch lib-af-connect-radio-button{width:100%}.dropdown-content .dashboard-switch__option{width:100%;height:42px;padding:.5rem;border-bottom:none;gap:.3rem;background-color:#fafbfc;box-sizing:border-box;cursor:pointer}.dropdown-content .dashboard-switch__option:hover{background-color:#0000000a}.dropdown-content .dashboard-switch__option>svg{height:32px;width:32px;flex:0 0 32px;overflow:hidden;border-radius:50%;filter:drop-shadow(1px 3px 5px rgba(0,0,0,.161))}.dropdown-content.has-dashboard-switch{min-width:min(280px,90vw)}.navigation-item{transition:color .2s ease-out;cursor:pointer}.navigation-item.disabled{pointer-events:none;color:#7f8991;cursor:default}.navigation-item.disabled>svg{filter:invert(54%) sepia(14%) saturate(254%) hue-rotate(165deg) brightness(97%) contrast(86%)}.blue{background:#2cc1da}.orange{background:#f69521}.yellow{background:var(--bright-tuscan-color)}.boxShadow{box-shadow:3px 3px 6px #00000008}.bold{font-family:var(--standard-font-family-hero-new-semibold)}\n"] }]
963
+ }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i1$2.DomSanitizer }, { type: i1$3.Router }, { type: BreakpointLibService }], propDecorators: { username: [{
964
+ type: Input
965
+ }], userType: [{
966
+ type: Input
967
+ }], navUrls: [{
968
+ type: Input
969
+ }], disableNavUrls: [{
970
+ type: Input
971
+ }], hasSwitchIndicator: [{
972
+ type: Input
973
+ }], isHybrid: [{
974
+ type: Input
975
+ }], canEditProfile: [{
976
+ type: Input
977
+ }], hasDashboardSwitch: [{
978
+ type: Input
979
+ }], dashboardType: [{
980
+ type: Input
981
+ }], hasDashboardSwitchClass: [{
982
+ type: HostBinding,
983
+ args: ['class.has-dashboard-switch']
984
+ }], editProfile: [{
985
+ type: Output
986
+ }], callMeBack: [{
987
+ type: Output
988
+ }], contactAdviser: [{
989
+ type: Output
990
+ }], resetPassword: [{
991
+ type: Output
992
+ }], logout: [{
993
+ type: Output
994
+ }], switchUserType: [{
995
+ type: Output
996
+ }], switchDashboardType: [{
997
+ type: Output
998
+ }], show: [{
999
+ type: HostListener,
1000
+ args: ['click', ['$event']]
1001
+ }], click: [{
1002
+ type: HostListener,
1003
+ args: ['document:click', ['$event']]
1004
+ }] } });
1005
+
1006
+ class AfConnectHeaderComponent {
1007
+ constructor(router) {
1008
+ this.router = router;
1009
+ this.username = '';
1010
+ this.activeRoute = '';
1011
+ this.navUrls = [];
1012
+ this.disableNavUrls = false;
1013
+ this.isLogoHidden = false;
1014
+ this.editProfile = new EventEmitter();
1015
+ this.callMeBack = new EventEmitter();
1016
+ this.contactAdviser = new EventEmitter();
1017
+ this.resetPassword = new EventEmitter();
1018
+ this.logout = new EventEmitter();
1019
+ this.switchUserType = new EventEmitter();
1020
+ this.navigate = new EventEmitter();
1021
+ this.switchDashboardType = new EventEmitter();
1022
+ this.USER_TYPE = UserType;
1023
+ this.router.events.pipe(filter(event => event instanceof NavigationEnd)).subscribe(() => {
1024
+ const urlSegments = this.router.url.split('/');
1025
+ this.activeRoute = urlSegments[urlSegments.length - 1];
1026
+ });
1027
+ }
1028
+ refresh() {
1029
+ window.location.reload();
1030
+ }
1031
+ switch(type) {
1032
+ this.switchUserType.emit(type);
1033
+ }
1034
+ switchDashboard(type) {
1035
+ this.switchDashboardType.emit(type);
1036
+ }
1037
+ navigateTo(url) {
1038
+ if (this.disableNavUrls) {
1039
+ return;
1040
+ }
1041
+ this.activeRoute = url;
1042
+ this.navigate.emit(url);
1043
+ }
1044
+ isActive(route) {
1045
+ return this.activeRoute.includes(route);
1046
+ }
1047
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AfConnectHeaderComponent, deps: [{ token: i1$3.Router }], target: i0.ɵɵFactoryTarget.Component }); }
1048
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: AfConnectHeaderComponent, selector: "lib-af-connect-header", inputs: { username: "username", activeRoute: "activeRoute", navUrls: "navUrls", disableNavUrls: "disableNavUrls", isLogoHidden: "isLogoHidden", userType: "userType", hasSwitchIndicator: "hasSwitchIndicator", isHybrid: "isHybrid", canEditProfile: "canEditProfile", hasDashboardSwitch: "hasDashboardSwitch", dashboardType: "dashboardType" }, outputs: { editProfile: "editProfile", callMeBack: "callMeBack", contactAdviser: "contactAdviser", resetPassword: "resetPassword", logout: "logout", switchUserType: "switchUserType", navigate: "navigate", switchDashboardType: "switchDashboardType" }, ngImport: i0, template: "<svg class=\"logo\" (click)=\"navigateTo('dashboard')\"xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" viewBox=\"0 0 592.39 132.62\">\r\n <defs>\r\n <style>.cls-1{fill:url(#linear-gradient);}.cls-2{fill:#f15b25;}.cls-3{fill:#1a808d;}</style>\r\n <linearGradient id=\"linear-gradient\" x1=\"254.64\" y1=\"41.32\" x2=\"604.45\" y2=\"41.32\" gradientUnits=\"userSpaceOnUse\">\r\n <stop offset=\"0\" stop-color=\"#1a808d\"/>\r\n <stop offset=\"1\"/>\r\n </linearGradient>\r\n </defs>\r\n <g id=\"Layer_2\" data-name=\"Layer 2\">\r\n <g id=\"Layer_1-2\" data-name=\"Layer 1\">\r\n <path class=\"cls-1\" d=\"M32.59,53.64c0-17.53,12.08-29.31,24.45-29.31a20.54,20.54,0,0,1,17.53,9.31l1.78-7.82H92V81.16H76.35l-1.78-7.82A20.53,20.53,0,0,1,57,82.64C44.67,82.64,32.59,70.86,32.59,53.64Zm41.28-.1c0-7.43-4.75-12.77-11.18-12.77C56,40.77,51.2,46.41,51.2,53.54S56,66.21,62.69,66.21C69.12,66.21,73.87,60.86,73.87,53.54ZM103.85,0h18.41V81.16H103.85ZM187.1,58.49H150.77c2.47,6.63,9,9.9,16.53,9.9,6,0,11.59-2.08,16.64-4.85V78.09a39.5,39.5,0,0,1-19.11,4.55c-20.3,0-31.68-12.27-31.68-29,0-17.43,12.27-29.31,28.21-29.31,14.46,0,26.24,9.8,26.24,28.22A35.8,35.8,0,0,1,187.1,58.49Zm-16.93-10.6c-.19-5.54-3.66-9.3-8.91-9.3-5,0-9.4,3.56-10.89,9.3Zm61.77,5,19,28.32h-20.8l-9.3-15.94h-.2l-9.31,15.94h-19.8l18.72-27.62L191.74,25.82h20.1l9.21,15.93h.19l9.21-15.93h19.8ZM264.26,41h-7.43V25.82h7.53V21.26C264.36,11,271.88.57,287.13.57a38,38,0,0,1,11.09,1.58V17.5a23.35,23.35,0,0,0-7.63-1.19c-5.34,0-8.21,1.88-8.21,6.24v3.27h14.15V41H282.67v40.2H264.26Zm38,12.48c0-17.43,13.17-29.11,29.7-29.11s29.5,11.68,29.5,29.11S348.6,82.64,332,82.64,302.27,70.76,302.27,53.44Zm40.69,0c0-8.12-5.45-12.67-11-12.67s-11.09,4.55-11.09,12.67S326.33,66.21,332,66.21,343,61.56,343,53.44Zm29-27.62h14.65l1.78,8.11h.2a16.67,16.67,0,0,1,14.85-8.71,13.89,13.89,0,0,1,4.26.5V42.84a20.69,20.69,0,0,0-4.85-.59c-6.44,0-12.48,3.37-12.48,13.46V81.16H371.93Zm62.45,7.52c3.27-5.25,10.1-9,17.13-9,12.77,0,23.86,11.39,23.86,29.21s-11.88,29.1-24.75,29.1a20.84,20.84,0,0,1-17.33-9.3l-1.68,7.82H416V.14h18.41Zm-.2,20.2c0,7.42,4.65,12.67,11.19,12.67s11.38-5.45,11.38-12.57S452,40.77,445.27,40.77C438.83,40.77,434.18,46.11,434.18,53.54Zm103.3,5H501.14c2.48,6.63,9,9.9,16.54,9.9,6,0,11.58-2.08,16.63-4.85V78.09a39.48,39.48,0,0,1-19.11,4.55c-20.29,0-31.68-12.27-31.68-29,0-17.43,12.28-29.31,28.22-29.31,14.45,0,26.23,9.8,26.23,28.22A37,37,0,0,1,537.48,58.49Zm-16.93-10.6c-.2-5.54-3.67-9.3-8.91-9.3-5.05,0-9.41,3.56-10.89,9.3Zm67.66-19.4V43.64a35.12,35.12,0,0,0-17-4.56c-4.26,0-6.63,1.19-6.63,3.27s2.67,3.27,8.51,4.65C582.27,49.18,592,52.45,592,64.23c0,11.29-8.91,18.41-24.65,18.41-8.22,0-15.15-2-19.9-4.85V61.46a31.35,31.35,0,0,0,19.11,6.43c4.85,0,7.62-1.29,7.62-3.56,0-2.58-3.46-3.37-10.4-5.35-8.61-2.37-16.83-6.24-16.83-16.43,0-10.5,8.52-18.22,23.47-18.22C576.92,24.33,583.75,25.91,588.21,28.49Z\"/>\r\n <circle class=\"cls-2\" cx=\"10.86\" cy=\"34.87\" r=\"10.86\" transform=\"translate(-15.07 9.15) rotate(-27.94)\"/>\r\n <circle class=\"cls-2\" cx=\"10.86\" cy=\"71.4\" r=\"10.86\" transform=\"translate(-32.19 13.41) rotate(-27.94)\"/>\r\n <circle class=\"cls-3\" cx=\"368.84\" cy=\"117.24\" r=\"2.98\"/>\r\n <path class=\"cls-2\" d=\"M264,105.54a2,2,0,1,1,2,1.93A1.92,1.92,0,0,1,264,105.54Zm.29,5h3.39v15.69h-3.39Z\"/>\r\n <path class=\"cls-2\" d=\"M285.22,115.78v10.43h-3.39v-9.34c0-2.42-1.1-3.56-3.19-3.56a3.34,3.34,0,0,0-3.45,3.42v9.48h-3.4V110.52h2.62l.37,2.33h.09a5.58,5.58,0,0,1,4.77-2.71C283.06,110.14,285.22,112.33,285.22,115.78Z\"/>\r\n <path class=\"cls-2\" d=\"M299.46,111.47v3.1a7.88,7.88,0,0,0-4.71-1.52c-1.79,0-2.76.69-2.76,1.78s1.17,1.61,3.16,2.18c2.47.66,5.23,1.5,5.23,4.72,0,3-2.33,4.86-6.21,4.86a9.11,9.11,0,0,1-5.49-1.67v-3.34a7.88,7.88,0,0,0,5.38,2.13c1.92,0,3-.8,3-1.95,0-1.3-1.35-1.73-3.5-2.39-2.56-.75-4.89-1.67-4.89-4.46s2.24-4.77,5.95-4.77A8.9,8.9,0,0,1,299.46,111.47Z\"/>\r\n <path class=\"cls-2\" d=\"M303.29,105.54a2,2,0,1,1,2,1.93A1.92,1.92,0,0,1,303.29,105.54Zm.29,5H307v15.69h-3.39Z\"/>\r\n <path class=\"cls-2\" d=\"M322.53,113.1l.37-2.58h2.82v14.14c0,5.17-3.65,8-8.13,8a10.29,10.29,0,0,1-5.9-1.9V127.3a8.84,8.84,0,0,0,5.67,2.27c2.78,0,5-1.78,5-4.45v-2a6.05,6.05,0,0,1-5.17,2.81c-3.68,0-7.05-3.16-7.05-7.87s3.42-7.88,7.1-7.88A6.24,6.24,0,0,1,322.53,113.1Zm-9,5a4.48,4.48,0,1,0,8.92-.09,4.5,4.5,0,0,0-4.46-4.74A4.58,4.58,0,0,0,313.5,118.08Z\"/>\r\n <path class=\"cls-2\" d=\"M333.23,112.27h.06a5.37,5.37,0,0,1,4.36-2.13c3.43,0,5.61,2,5.61,5.67v10.4h-3.39v-9.37c0-2.41-1-3.59-3.16-3.59a3.22,3.22,0,0,0-3.48,3.39v9.57h-3.39v-23h3.39Z\"/>\r\n <path class=\"cls-2\" d=\"M351.15,110.52h4.34v2.87h-4.34v7c0,2.24,1.38,3.16,3.28,3.16a9.45,9.45,0,0,0,1.41-.14v2.9a10.36,10.36,0,0,1-2.1.2c-3.71,0-5.92-2.21-5.92-6v-7.13h-2.3v-2.87h2.35v-3.65h3.28Z\"/>\r\n <path class=\"cls-2\" d=\"M380.9,118.39c0-5,3.45-8.25,7-8.25a6.17,6.17,0,0,1,5.43,3.08l.38-2.7h2.81v15.69h-2.81l-.38-2.7a6.17,6.17,0,0,1-5.43,3.08C384.35,126.59,380.9,123.34,380.9,118.39Zm12.36,0c0-3-2-5.11-4.46-5.11s-4.51,2.12-4.51,5.11,2,5.12,4.51,5.12S393.26,121.38,393.26,118.36Z\"/>\r\n <path class=\"cls-2\" d=\"M399.81,118.36c0-5,3.39-8.22,7.07-8.22a5.94,5.94,0,0,1,5.23,2.94v-9.89h3.39v23h-2.81l-.41-2.7a6.11,6.11,0,0,1-5.37,3.08C403.23,126.59,399.81,123.39,399.81,118.36Zm12.36,0c0-3-2-5.11-4.46-5.11s-4.48,2.12-4.48,5.11,1.92,5.12,4.48,5.12S412.17,121.38,412.17,118.36Z\"/>\r\n <path class=\"cls-2\" d=\"M417.88,110.52h3.62l3.94,12h.09l3.94-12H433l-5.72,15.69H423.6Z\"/>\r\n <path class=\"cls-2\" d=\"M435.05,105.54a2,2,0,1,1,2,1.93A1.92,1.92,0,0,1,435.05,105.54Zm.29,5h3.39v15.69h-3.39Z\"/>\r\n <path class=\"cls-2\" d=\"M450.28,123.48a6.72,6.72,0,0,0,4.08-1.24v3.25a9,9,0,0,1-4.45,1.1,8.23,8.23,0,0,1,0-16.45,8.38,8.38,0,0,1,4.45,1.12v3.28a6.75,6.75,0,0,0-4.11-1.29,5.12,5.12,0,0,0,0,10.23Z\"/>\r\n <path class=\"cls-2\" d=\"M471.18,119.4H459.91a5.07,5.07,0,0,0,5.32,4.37,8.23,8.23,0,0,0,5.11-1.87v3a9.54,9.54,0,0,1-5.46,1.64c-5.14,0-8.25-3.34-8.25-8.17,0-5,3.51-8.28,7.71-8.28,3.79,0,6.92,2.73,6.92,7.94A8.91,8.91,0,0,1,471.18,119.4ZM468,117.13c-.08-2.79-1.78-4.17-3.73-4.17a4.56,4.56,0,0,0-4.43,4.17Z\"/>\r\n <path class=\"cls-2\" d=\"M497.53,105.54a2,2,0,1,1,2,1.93A1.93,1.93,0,0,1,497.53,105.54Zm.29,5h3.39v15.69h-3.39Z\"/>\r\n <path class=\"cls-2\" d=\"M526.55,115.78v10.43h-3.39v-9.83c0-2-.78-3.07-2.65-3.07a2.86,2.86,0,0,0-2.9,3v9.89h-3.39v-9.83c0-2-.78-3.07-2.65-3.07a2.91,2.91,0,0,0-2.87,3.19v9.71h-3.39V110.52h2.61l.38,2.27h.08a4.77,4.77,0,0,1,4.26-2.65,4.46,4.46,0,0,1,4.4,2.73,5,5,0,0,1,4.51-2.73C525,110.14,526.55,112.44,526.55,115.78Z\"/>\r\n <path class=\"cls-2\" d=\"M530.59,110.52h2.82l.37,2.7a6.14,6.14,0,0,1,5.37-3.08c3.71,0,7.13,3.22,7.13,8.22s-3.36,8.23-7,8.23a6.13,6.13,0,0,1-5.26-2.94v8.6h-3.39Zm12.27,7.82c0-3-2-5.09-4.48-5.09s-4.46,2.1-4.46,5.11,1.93,5.12,4.43,5.12S542.86,121.38,542.86,118.34Z\"/>\r\n <path class=\"cls-2\" d=\"M548.66,118.39c0-5,3.45-8.25,7-8.25a6.17,6.17,0,0,1,5.43,3.08l.38-2.7h2.81v15.69h-2.81l-.38-2.7a6.17,6.17,0,0,1-5.43,3.08C552.11,126.59,548.66,123.34,548.66,118.39Zm12.36,0c0-3-2-5.11-4.46-5.11s-4.51,2.12-4.51,5.11,2,5.12,4.51,5.12S561,121.38,561,118.36Z\"/>\r\n <path class=\"cls-2\" d=\"M575.92,123.48a6.74,6.74,0,0,0,4.08-1.24v3.25a9,9,0,0,1-4.45,1.1,8.23,8.23,0,0,1,0-16.45,8.38,8.38,0,0,1,4.45,1.12v3.28a6.77,6.77,0,0,0-4.11-1.29,5.12,5.12,0,0,0,0,10.23Z\"/>\r\n <path class=\"cls-2\" d=\"M587.7,110.52H592v2.87H587.7v7c0,2.24,1.38,3.16,3.28,3.16a9.45,9.45,0,0,0,1.41-.14v2.9a10.36,10.36,0,0,1-2.1.2c-3.71,0-5.92-2.21-5.92-6v-7.13h-2.3v-2.87h2.36v-3.65h3.27Z\"/>\r\n <circle class=\"cls-3\" cx=\"483.77\" cy=\"117.24\" r=\"2.98\"/>\r\n </g>\r\n </g>\r\n</svg>\r\n\r\n<div class=\"header-menu\">\r\n <ng-container *ngFor=\"let url of navUrls\">\r\n <div [ngClass]=\"{ active: isActive(url.href), disabled: disableNavUrls }\" (mousedown)=\"navigateTo(url.href) \">{{ url.name }}</div>\r\n </ng-container>\r\n</div>\r\n\r\n<div id=\"header-profile\">\r\n <lib-af-connect-profile-dropdown\r\n *ngIf=\"!isLogoHidden\"\r\n [navUrls]=\"navUrls\"\r\n [disableNavUrls]=\"disableNavUrls\"\r\n [username]=\"username\"\r\n [userType]=\"userType\"\r\n [hasSwitchIndicator]=\"hasSwitchIndicator\"\r\n [isHybrid]=\"isHybrid\"\r\n [canEditProfile]=\"canEditProfile\"\r\n [hasDashboardSwitch]=\"hasDashboardSwitch\"\r\n [dashboardType]=\"dashboardType\"\r\n (editProfile)=\"editProfile.emit()\"\r\n (callMeBack)=\"callMeBack.emit()\"\r\n (contactAdviser)=\"contactAdviser.emit()\"\r\n (resetPassword)=\"resetPassword.emit()\"\r\n (logout)=\"logout.emit()\"\r\n (switchUserType)=\"switch($event)\"\r\n (switchDashboardType)=\"switchDashboard($event)\"\r\n >\r\n </lib-af-connect-profile-dropdown>\r\n</div>\r\n", styles: [":host{display:flex;justify-content:space-between;align-items:center;height:100px;margin:auto}@media (max-width: 768px){:host{width:auto;height:50px;padding:.5rem 1.25rem}}:host .logo{width:180px;height:40px;cursor:pointer}@media (max-width: 768px){:host .logo{width:132px;height:30px}}.header-menu{padding-left:1.2rem;padding-right:1.2rem;display:flex;gap:1.5rem;align-items:center}.header-menu>div{color:var(--secondary-space-color);cursor:pointer;position:relative;display:inline-block;transition:color .2s ease-out}.header-menu>div:after{content:\"\";display:block;position:absolute;left:0;bottom:-3px;width:100%;height:3px;background:linear-gradient(to bottom,#f15a22cc,#f15a2233);border-radius:0 0 5px 5px;opacity:0}.header-menu>div.active:after{opacity:1}.header-menu>div.disabled{pointer-events:none;cursor:default;color:#7f8991}@media (max-width: 1024px){.header-menu{display:none}}#header-profile{display:flex;align-items:center;gap:2rem}@media (max-width: 1024px){#header-profile{gap:1rem}}\n"], dependencies: [{ kind: "directive", type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: AfConnectProfileDropdown, selector: "lib-af-connect-profile-dropdown", inputs: ["username", "userType", "navUrls", "disableNavUrls", "hasSwitchIndicator", "isHybrid", "canEditProfile", "hasDashboardSwitch", "dashboardType"], outputs: ["editProfile", "callMeBack", "contactAdviser", "resetPassword", "logout", "switchUserType", "switchDashboardType"] }] }); }
1049
+ }
1050
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AfConnectHeaderComponent, decorators: [{
1051
+ type: Component,
1052
+ args: [{ selector: 'lib-af-connect-header', template: "<svg class=\"logo\" (click)=\"navigateTo('dashboard')\"xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" viewBox=\"0 0 592.39 132.62\">\r\n <defs>\r\n <style>.cls-1{fill:url(#linear-gradient);}.cls-2{fill:#f15b25;}.cls-3{fill:#1a808d;}</style>\r\n <linearGradient id=\"linear-gradient\" x1=\"254.64\" y1=\"41.32\" x2=\"604.45\" y2=\"41.32\" gradientUnits=\"userSpaceOnUse\">\r\n <stop offset=\"0\" stop-color=\"#1a808d\"/>\r\n <stop offset=\"1\"/>\r\n </linearGradient>\r\n </defs>\r\n <g id=\"Layer_2\" data-name=\"Layer 2\">\r\n <g id=\"Layer_1-2\" data-name=\"Layer 1\">\r\n <path class=\"cls-1\" d=\"M32.59,53.64c0-17.53,12.08-29.31,24.45-29.31a20.54,20.54,0,0,1,17.53,9.31l1.78-7.82H92V81.16H76.35l-1.78-7.82A20.53,20.53,0,0,1,57,82.64C44.67,82.64,32.59,70.86,32.59,53.64Zm41.28-.1c0-7.43-4.75-12.77-11.18-12.77C56,40.77,51.2,46.41,51.2,53.54S56,66.21,62.69,66.21C69.12,66.21,73.87,60.86,73.87,53.54ZM103.85,0h18.41V81.16H103.85ZM187.1,58.49H150.77c2.47,6.63,9,9.9,16.53,9.9,6,0,11.59-2.08,16.64-4.85V78.09a39.5,39.5,0,0,1-19.11,4.55c-20.3,0-31.68-12.27-31.68-29,0-17.43,12.27-29.31,28.21-29.31,14.46,0,26.24,9.8,26.24,28.22A35.8,35.8,0,0,1,187.1,58.49Zm-16.93-10.6c-.19-5.54-3.66-9.3-8.91-9.3-5,0-9.4,3.56-10.89,9.3Zm61.77,5,19,28.32h-20.8l-9.3-15.94h-.2l-9.31,15.94h-19.8l18.72-27.62L191.74,25.82h20.1l9.21,15.93h.19l9.21-15.93h19.8ZM264.26,41h-7.43V25.82h7.53V21.26C264.36,11,271.88.57,287.13.57a38,38,0,0,1,11.09,1.58V17.5a23.35,23.35,0,0,0-7.63-1.19c-5.34,0-8.21,1.88-8.21,6.24v3.27h14.15V41H282.67v40.2H264.26Zm38,12.48c0-17.43,13.17-29.11,29.7-29.11s29.5,11.68,29.5,29.11S348.6,82.64,332,82.64,302.27,70.76,302.27,53.44Zm40.69,0c0-8.12-5.45-12.67-11-12.67s-11.09,4.55-11.09,12.67S326.33,66.21,332,66.21,343,61.56,343,53.44Zm29-27.62h14.65l1.78,8.11h.2a16.67,16.67,0,0,1,14.85-8.71,13.89,13.89,0,0,1,4.26.5V42.84a20.69,20.69,0,0,0-4.85-.59c-6.44,0-12.48,3.37-12.48,13.46V81.16H371.93Zm62.45,7.52c3.27-5.25,10.1-9,17.13-9,12.77,0,23.86,11.39,23.86,29.21s-11.88,29.1-24.75,29.1a20.84,20.84,0,0,1-17.33-9.3l-1.68,7.82H416V.14h18.41Zm-.2,20.2c0,7.42,4.65,12.67,11.19,12.67s11.38-5.45,11.38-12.57S452,40.77,445.27,40.77C438.83,40.77,434.18,46.11,434.18,53.54Zm103.3,5H501.14c2.48,6.63,9,9.9,16.54,9.9,6,0,11.58-2.08,16.63-4.85V78.09a39.48,39.48,0,0,1-19.11,4.55c-20.29,0-31.68-12.27-31.68-29,0-17.43,12.28-29.31,28.22-29.31,14.45,0,26.23,9.8,26.23,28.22A37,37,0,0,1,537.48,58.49Zm-16.93-10.6c-.2-5.54-3.67-9.3-8.91-9.3-5.05,0-9.41,3.56-10.89,9.3Zm67.66-19.4V43.64a35.12,35.12,0,0,0-17-4.56c-4.26,0-6.63,1.19-6.63,3.27s2.67,3.27,8.51,4.65C582.27,49.18,592,52.45,592,64.23c0,11.29-8.91,18.41-24.65,18.41-8.22,0-15.15-2-19.9-4.85V61.46a31.35,31.35,0,0,0,19.11,6.43c4.85,0,7.62-1.29,7.62-3.56,0-2.58-3.46-3.37-10.4-5.35-8.61-2.37-16.83-6.24-16.83-16.43,0-10.5,8.52-18.22,23.47-18.22C576.92,24.33,583.75,25.91,588.21,28.49Z\"/>\r\n <circle class=\"cls-2\" cx=\"10.86\" cy=\"34.87\" r=\"10.86\" transform=\"translate(-15.07 9.15) rotate(-27.94)\"/>\r\n <circle class=\"cls-2\" cx=\"10.86\" cy=\"71.4\" r=\"10.86\" transform=\"translate(-32.19 13.41) rotate(-27.94)\"/>\r\n <circle class=\"cls-3\" cx=\"368.84\" cy=\"117.24\" r=\"2.98\"/>\r\n <path class=\"cls-2\" d=\"M264,105.54a2,2,0,1,1,2,1.93A1.92,1.92,0,0,1,264,105.54Zm.29,5h3.39v15.69h-3.39Z\"/>\r\n <path class=\"cls-2\" d=\"M285.22,115.78v10.43h-3.39v-9.34c0-2.42-1.1-3.56-3.19-3.56a3.34,3.34,0,0,0-3.45,3.42v9.48h-3.4V110.52h2.62l.37,2.33h.09a5.58,5.58,0,0,1,4.77-2.71C283.06,110.14,285.22,112.33,285.22,115.78Z\"/>\r\n <path class=\"cls-2\" d=\"M299.46,111.47v3.1a7.88,7.88,0,0,0-4.71-1.52c-1.79,0-2.76.69-2.76,1.78s1.17,1.61,3.16,2.18c2.47.66,5.23,1.5,5.23,4.72,0,3-2.33,4.86-6.21,4.86a9.11,9.11,0,0,1-5.49-1.67v-3.34a7.88,7.88,0,0,0,5.38,2.13c1.92,0,3-.8,3-1.95,0-1.3-1.35-1.73-3.5-2.39-2.56-.75-4.89-1.67-4.89-4.46s2.24-4.77,5.95-4.77A8.9,8.9,0,0,1,299.46,111.47Z\"/>\r\n <path class=\"cls-2\" d=\"M303.29,105.54a2,2,0,1,1,2,1.93A1.92,1.92,0,0,1,303.29,105.54Zm.29,5H307v15.69h-3.39Z\"/>\r\n <path class=\"cls-2\" d=\"M322.53,113.1l.37-2.58h2.82v14.14c0,5.17-3.65,8-8.13,8a10.29,10.29,0,0,1-5.9-1.9V127.3a8.84,8.84,0,0,0,5.67,2.27c2.78,0,5-1.78,5-4.45v-2a6.05,6.05,0,0,1-5.17,2.81c-3.68,0-7.05-3.16-7.05-7.87s3.42-7.88,7.1-7.88A6.24,6.24,0,0,1,322.53,113.1Zm-9,5a4.48,4.48,0,1,0,8.92-.09,4.5,4.5,0,0,0-4.46-4.74A4.58,4.58,0,0,0,313.5,118.08Z\"/>\r\n <path class=\"cls-2\" d=\"M333.23,112.27h.06a5.37,5.37,0,0,1,4.36-2.13c3.43,0,5.61,2,5.61,5.67v10.4h-3.39v-9.37c0-2.41-1-3.59-3.16-3.59a3.22,3.22,0,0,0-3.48,3.39v9.57h-3.39v-23h3.39Z\"/>\r\n <path class=\"cls-2\" d=\"M351.15,110.52h4.34v2.87h-4.34v7c0,2.24,1.38,3.16,3.28,3.16a9.45,9.45,0,0,0,1.41-.14v2.9a10.36,10.36,0,0,1-2.1.2c-3.71,0-5.92-2.21-5.92-6v-7.13h-2.3v-2.87h2.35v-3.65h3.28Z\"/>\r\n <path class=\"cls-2\" d=\"M380.9,118.39c0-5,3.45-8.25,7-8.25a6.17,6.17,0,0,1,5.43,3.08l.38-2.7h2.81v15.69h-2.81l-.38-2.7a6.17,6.17,0,0,1-5.43,3.08C384.35,126.59,380.9,123.34,380.9,118.39Zm12.36,0c0-3-2-5.11-4.46-5.11s-4.51,2.12-4.51,5.11,2,5.12,4.51,5.12S393.26,121.38,393.26,118.36Z\"/>\r\n <path class=\"cls-2\" d=\"M399.81,118.36c0-5,3.39-8.22,7.07-8.22a5.94,5.94,0,0,1,5.23,2.94v-9.89h3.39v23h-2.81l-.41-2.7a6.11,6.11,0,0,1-5.37,3.08C403.23,126.59,399.81,123.39,399.81,118.36Zm12.36,0c0-3-2-5.11-4.46-5.11s-4.48,2.12-4.48,5.11,1.92,5.12,4.48,5.12S412.17,121.38,412.17,118.36Z\"/>\r\n <path class=\"cls-2\" d=\"M417.88,110.52h3.62l3.94,12h.09l3.94-12H433l-5.72,15.69H423.6Z\"/>\r\n <path class=\"cls-2\" d=\"M435.05,105.54a2,2,0,1,1,2,1.93A1.92,1.92,0,0,1,435.05,105.54Zm.29,5h3.39v15.69h-3.39Z\"/>\r\n <path class=\"cls-2\" d=\"M450.28,123.48a6.72,6.72,0,0,0,4.08-1.24v3.25a9,9,0,0,1-4.45,1.1,8.23,8.23,0,0,1,0-16.45,8.38,8.38,0,0,1,4.45,1.12v3.28a6.75,6.75,0,0,0-4.11-1.29,5.12,5.12,0,0,0,0,10.23Z\"/>\r\n <path class=\"cls-2\" d=\"M471.18,119.4H459.91a5.07,5.07,0,0,0,5.32,4.37,8.23,8.23,0,0,0,5.11-1.87v3a9.54,9.54,0,0,1-5.46,1.64c-5.14,0-8.25-3.34-8.25-8.17,0-5,3.51-8.28,7.71-8.28,3.79,0,6.92,2.73,6.92,7.94A8.91,8.91,0,0,1,471.18,119.4ZM468,117.13c-.08-2.79-1.78-4.17-3.73-4.17a4.56,4.56,0,0,0-4.43,4.17Z\"/>\r\n <path class=\"cls-2\" d=\"M497.53,105.54a2,2,0,1,1,2,1.93A1.93,1.93,0,0,1,497.53,105.54Zm.29,5h3.39v15.69h-3.39Z\"/>\r\n <path class=\"cls-2\" d=\"M526.55,115.78v10.43h-3.39v-9.83c0-2-.78-3.07-2.65-3.07a2.86,2.86,0,0,0-2.9,3v9.89h-3.39v-9.83c0-2-.78-3.07-2.65-3.07a2.91,2.91,0,0,0-2.87,3.19v9.71h-3.39V110.52h2.61l.38,2.27h.08a4.77,4.77,0,0,1,4.26-2.65,4.46,4.46,0,0,1,4.4,2.73,5,5,0,0,1,4.51-2.73C525,110.14,526.55,112.44,526.55,115.78Z\"/>\r\n <path class=\"cls-2\" d=\"M530.59,110.52h2.82l.37,2.7a6.14,6.14,0,0,1,5.37-3.08c3.71,0,7.13,3.22,7.13,8.22s-3.36,8.23-7,8.23a6.13,6.13,0,0,1-5.26-2.94v8.6h-3.39Zm12.27,7.82c0-3-2-5.09-4.48-5.09s-4.46,2.1-4.46,5.11,1.93,5.12,4.43,5.12S542.86,121.38,542.86,118.34Z\"/>\r\n <path class=\"cls-2\" d=\"M548.66,118.39c0-5,3.45-8.25,7-8.25a6.17,6.17,0,0,1,5.43,3.08l.38-2.7h2.81v15.69h-2.81l-.38-2.7a6.17,6.17,0,0,1-5.43,3.08C552.11,126.59,548.66,123.34,548.66,118.39Zm12.36,0c0-3-2-5.11-4.46-5.11s-4.51,2.12-4.51,5.11,2,5.12,4.51,5.12S561,121.38,561,118.36Z\"/>\r\n <path class=\"cls-2\" d=\"M575.92,123.48a6.74,6.74,0,0,0,4.08-1.24v3.25a9,9,0,0,1-4.45,1.1,8.23,8.23,0,0,1,0-16.45,8.38,8.38,0,0,1,4.45,1.12v3.28a6.77,6.77,0,0,0-4.11-1.29,5.12,5.12,0,0,0,0,10.23Z\"/>\r\n <path class=\"cls-2\" d=\"M587.7,110.52H592v2.87H587.7v7c0,2.24,1.38,3.16,3.28,3.16a9.45,9.45,0,0,0,1.41-.14v2.9a10.36,10.36,0,0,1-2.1.2c-3.71,0-5.92-2.21-5.92-6v-7.13h-2.3v-2.87h2.36v-3.65h3.27Z\"/>\r\n <circle class=\"cls-3\" cx=\"483.77\" cy=\"117.24\" r=\"2.98\"/>\r\n </g>\r\n </g>\r\n</svg>\r\n\r\n<div class=\"header-menu\">\r\n <ng-container *ngFor=\"let url of navUrls\">\r\n <div [ngClass]=\"{ active: isActive(url.href), disabled: disableNavUrls }\" (mousedown)=\"navigateTo(url.href) \">{{ url.name }}</div>\r\n </ng-container>\r\n</div>\r\n\r\n<div id=\"header-profile\">\r\n <lib-af-connect-profile-dropdown\r\n *ngIf=\"!isLogoHidden\"\r\n [navUrls]=\"navUrls\"\r\n [disableNavUrls]=\"disableNavUrls\"\r\n [username]=\"username\"\r\n [userType]=\"userType\"\r\n [hasSwitchIndicator]=\"hasSwitchIndicator\"\r\n [isHybrid]=\"isHybrid\"\r\n [canEditProfile]=\"canEditProfile\"\r\n [hasDashboardSwitch]=\"hasDashboardSwitch\"\r\n [dashboardType]=\"dashboardType\"\r\n (editProfile)=\"editProfile.emit()\"\r\n (callMeBack)=\"callMeBack.emit()\"\r\n (contactAdviser)=\"contactAdviser.emit()\"\r\n (resetPassword)=\"resetPassword.emit()\"\r\n (logout)=\"logout.emit()\"\r\n (switchUserType)=\"switch($event)\"\r\n (switchDashboardType)=\"switchDashboard($event)\"\r\n >\r\n </lib-af-connect-profile-dropdown>\r\n</div>\r\n", styles: [":host{display:flex;justify-content:space-between;align-items:center;height:100px;margin:auto}@media (max-width: 768px){:host{width:auto;height:50px;padding:.5rem 1.25rem}}:host .logo{width:180px;height:40px;cursor:pointer}@media (max-width: 768px){:host .logo{width:132px;height:30px}}.header-menu{padding-left:1.2rem;padding-right:1.2rem;display:flex;gap:1.5rem;align-items:center}.header-menu>div{color:var(--secondary-space-color);cursor:pointer;position:relative;display:inline-block;transition:color .2s ease-out}.header-menu>div:after{content:\"\";display:block;position:absolute;left:0;bottom:-3px;width:100%;height:3px;background:linear-gradient(to bottom,#f15a22cc,#f15a2233);border-radius:0 0 5px 5px;opacity:0}.header-menu>div.active:after{opacity:1}.header-menu>div.disabled{pointer-events:none;cursor:default;color:#7f8991}@media (max-width: 1024px){.header-menu{display:none}}#header-profile{display:flex;align-items:center;gap:2rem}@media (max-width: 1024px){#header-profile{gap:1rem}}\n"] }]
1053
+ }], ctorParameters: () => [{ type: i1$3.Router }], propDecorators: { username: [{
1054
+ type: Input
1055
+ }], activeRoute: [{
1056
+ type: Input
1057
+ }], navUrls: [{
1058
+ type: Input
1059
+ }], disableNavUrls: [{
1060
+ type: Input
1061
+ }], isLogoHidden: [{
1062
+ type: Input
1063
+ }], userType: [{
1064
+ type: Input
1065
+ }], hasSwitchIndicator: [{
1066
+ type: Input
1067
+ }], isHybrid: [{
1068
+ type: Input
1069
+ }], canEditProfile: [{
1070
+ type: Input
1071
+ }], hasDashboardSwitch: [{
1072
+ type: Input
1073
+ }], dashboardType: [{
1074
+ type: Input
1075
+ }], editProfile: [{
1076
+ type: Output
1077
+ }], callMeBack: [{
1078
+ type: Output
1079
+ }], contactAdviser: [{
1080
+ type: Output
1081
+ }], resetPassword: [{
1082
+ type: Output
1083
+ }], logout: [{
1084
+ type: Output
1085
+ }], switchUserType: [{
1086
+ type: Output
1087
+ }], navigate: [{
1088
+ type: Output
1089
+ }], switchDashboardType: [{
1090
+ type: Output
1091
+ }] } });
1092
+
1093
+ /**
1094
+ * Gets the initials of a Name (First Second -> FS)
1095
+ */
1096
+ class GetinItialsPipe {
1097
+ transform(value) {
1098
+ if (!value) {
1099
+ return '';
1100
+ }
1101
+ return value.split(' ').map(word => word.charAt(0)).join('').slice(0, 2);
1102
+ }
1103
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GetinItialsPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
1104
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: GetinItialsPipe, name: "getInitials" }); }
1105
+ }
1106
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GetinItialsPipe, decorators: [{
1107
+ type: Pipe,
1108
+ args: [{ name: 'getInitials' }]
1109
+ }] });
1110
+
1111
+ class FaqItemComponent {
1112
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FaqItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1113
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: FaqItemComponent, selector: "lib-faq-item", inputs: { faqItem: "faqItem" }, ngImport: i0, template: "<div class=\"item-container\">\r\n <afc-expandable-wrapper>\r\n <div triggerable class=\"title-container\">\r\n <h2 class=\"section-title\">\r\n {{faqItem.title}}\r\n </h2>\r\n <afc-expandable-arrow color=\"#124E57\"></afc-expandable-arrow>\r\n </div>\r\n <afc-expandable-container>\r\n <div class=\"expanded-info\">\r\n {{faqItem.description}}\r\n </div>\r\n </afc-expandable-container>\r\n </afc-expandable-wrapper>\r\n</div>", styles: [".item-container{border:1px solid #124E57;border-radius:5px}.title-container{padding:clamp(1rem,4%,27px);display:flex;justify-content:space-between;align-items:center;cursor:pointer;background:none}@media (max-width: 1024px){.title-container{padding:clamp(1rem,2.2%,27px)}}.expanded-info{padding:0rem clamp(1rem,4%,27px) clamp(1rem,4%,27px) clamp(1rem,4%,27px);color:#707070;font-family:Hero New;font-size:1rem}@media (max-width: 1024px){.expanded-info{padding:0rem clamp(1rem,2.2%,27px) clamp(1rem,2.2%,27px) clamp(1rem,2.2%,27px);font-size:.875rem}}@media (max-width: 768px){.expanded-info{margin:0;font-size:.75rem}}.section-title{margin:0;font-size:1.25rem;font-family:Hero New SemiBold;color:#124e57}@media (max-width: 1024px){.section-title{font-size:1rem}}@media (max-width: 768px){.section-title{margin:0;font-size:.875rem}}\n"], dependencies: [{ kind: "component", type: ExpandableContainerComponent, selector: "afc-expandable-container" }, { kind: "component", type: ExpandableArrowComponent, selector: "afc-expandable-arrow", inputs: ["color", "startPosition", "endPosition"] }, { kind: "component", type: ExpandableWrapperComponent, selector: "afc-expandable-wrapper" }] }); }
1114
+ }
1115
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FaqItemComponent, decorators: [{
1116
+ type: Component,
1117
+ args: [{ selector: 'lib-faq-item', template: "<div class=\"item-container\">\r\n <afc-expandable-wrapper>\r\n <div triggerable class=\"title-container\">\r\n <h2 class=\"section-title\">\r\n {{faqItem.title}}\r\n </h2>\r\n <afc-expandable-arrow color=\"#124E57\"></afc-expandable-arrow>\r\n </div>\r\n <afc-expandable-container>\r\n <div class=\"expanded-info\">\r\n {{faqItem.description}}\r\n </div>\r\n </afc-expandable-container>\r\n </afc-expandable-wrapper>\r\n</div>", styles: [".item-container{border:1px solid #124E57;border-radius:5px}.title-container{padding:clamp(1rem,4%,27px);display:flex;justify-content:space-between;align-items:center;cursor:pointer;background:none}@media (max-width: 1024px){.title-container{padding:clamp(1rem,2.2%,27px)}}.expanded-info{padding:0rem clamp(1rem,4%,27px) clamp(1rem,4%,27px) clamp(1rem,4%,27px);color:#707070;font-family:Hero New;font-size:1rem}@media (max-width: 1024px){.expanded-info{padding:0rem clamp(1rem,2.2%,27px) clamp(1rem,2.2%,27px) clamp(1rem,2.2%,27px);font-size:.875rem}}@media (max-width: 768px){.expanded-info{margin:0;font-size:.75rem}}.section-title{margin:0;font-size:1.25rem;font-family:Hero New SemiBold;color:#124e57}@media (max-width: 1024px){.section-title{font-size:1rem}}@media (max-width: 768px){.section-title{margin:0;font-size:.875rem}}\n"] }]
1118
+ }], propDecorators: { faqItem: [{
1119
+ type: Input
1120
+ }] } });
1121
+
1122
+ class FaqComponent {
1123
+ constructor() {
1124
+ this.faqItems = [];
1125
+ this.imageSrc = '/assets/images/FAQ_image.png';
1126
+ }
1127
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FaqComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1128
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: FaqComponent, selector: "lib-faq", inputs: { faqItems: "faqItems", fallBackImageSrc: "fallBackImageSrc" }, ngImport: i0, template: "<div class=\"faq-container\">\r\n <div class=\"item-container\">\r\n <ng-container *ngFor=\"let item of faqItems\">\r\n <lib-faq-item [faqItem]=\"item\"></lib-faq-item>\r\n </ng-container>\r\n </div>\r\n</div>\r\n", styles: [".item-container{display:flex;flex-direction:column;gap:15px}@media (max-width: 1024px){.item-container{gap:10px}}.faq-container{gap:2rem;display:flex;flex-wrap:wrap;justify-content:space-between}\n"], dependencies: [{ kind: "directive", type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: FaqItemComponent, selector: "lib-faq-item", inputs: ["faqItem"] }] }); }
1129
+ }
1130
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FaqComponent, decorators: [{
1131
+ type: Component,
1132
+ args: [{ selector: 'lib-faq', template: "<div class=\"faq-container\">\r\n <div class=\"item-container\">\r\n <ng-container *ngFor=\"let item of faqItems\">\r\n <lib-faq-item [faqItem]=\"item\"></lib-faq-item>\r\n </ng-container>\r\n </div>\r\n</div>\r\n", styles: [".item-container{display:flex;flex-direction:column;gap:15px}@media (max-width: 1024px){.item-container{gap:10px}}.faq-container{gap:2rem;display:flex;flex-wrap:wrap;justify-content:space-between}\n"] }]
1133
+ }], propDecorators: { faqItems: [{
1134
+ type: Input
1135
+ }], fallBackImageSrc: [{
1136
+ type: Input
1137
+ }] } });
1138
+
1139
+ class ImageWithFallbackDirective {
1140
+ constructor(el) {
1141
+ this.el = el;
1142
+ }
1143
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ImageWithFallbackDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
1144
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.13", type: ImageWithFallbackDirective, selector: "[imgWithFallback]", ngImport: i0 }); }
1145
+ }
1146
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ImageWithFallbackDirective, decorators: [{
1147
+ type: Directive,
1148
+ args: [{ selector: '[imgWithFallback]' }]
1149
+ }], ctorParameters: () => [{ type: i0.ElementRef }] });
1150
+ var ImageState;
1151
+ (function (ImageState) {
1152
+ ImageState["loading"] = "loading";
1153
+ ImageState["error"] = "error";
1154
+ ImageState["loaded"] = "loaded";
1155
+ })(ImageState || (ImageState = {}));
1156
+ class ImageWithFallbackComponent {
1157
+ constructor() {
1158
+ this.state = ImageState.loading;
1159
+ }
1160
+ get loaded() {
1161
+ return this.state === ImageState.loaded;
1162
+ }
1163
+ get loading() {
1164
+ return this.state === ImageState.loading;
1165
+ }
1166
+ get error() {
1167
+ return this.state === ImageState.error;
1168
+ }
1169
+ ngAfterContentInit() {
1170
+ fromEvent(this.image.el.nativeElement, 'load')
1171
+ .pipe(first())
1172
+ .subscribe(() => this.state = ImageState.loaded);
1173
+ fromEvent(this.image.el.nativeElement, 'error')
1174
+ .pipe(first())
1175
+ .subscribe(() => this.state = ImageState.error);
1176
+ }
1177
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ImageWithFallbackComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1178
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: ImageWithFallbackComponent, selector: "img-with-fallback", queries: [{ propertyName: "image", first: true, predicate: ImageWithFallbackDirective, descendants: true }], ngImport: i0, template: `
1179
+ <ng-container *ngIf="loaded">
1180
+ <ng-content select="[imgWithFallback]" [style.visibility]="loaded"></ng-content>
1181
+ </ng-container>
1182
+ <div *ngIf="loading">
1183
+ <ng-content select=".loading"></ng-content>
1184
+ </div>
1185
+ <div *ngIf="error">
1186
+ <ng-content select=".error"></ng-content>
1187
+ </div>
1188
+ `, isInline: true, dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
1189
+ }
1190
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ImageWithFallbackComponent, decorators: [{
1191
+ type: Component,
1192
+ args: [{ selector: 'img-with-fallback', template: `
1193
+ <ng-container *ngIf="loaded">
1194
+ <ng-content select="[imgWithFallback]" [style.visibility]="loaded"></ng-content>
1195
+ </ng-container>
1196
+ <div *ngIf="loading">
1197
+ <ng-content select=".loading"></ng-content>
1198
+ </div>
1199
+ <div *ngIf="error">
1200
+ <ng-content select=".error"></ng-content>
1201
+ </div>
1202
+ ` }]
1203
+ }], propDecorators: { image: [{
1204
+ type: ContentChild,
1205
+ args: [ImageWithFallbackDirective]
1206
+ }] } });
1207
+
1208
+ const defaultConfig = [
1209
+ {
1210
+ imageSrc: '/assets/images/mmm-carousel.jpg',
1211
+ title: 'My Money Matters',
1212
+ content: 'Get the most out of your money. Explore ways to make your money and savings work for you with our tools.',
1213
+ readMore: 'https://mymoneymatters.alexforbes.com/'
1214
+ },
1215
+ {
1216
+ imageSrc: '/assets/images/AF-Rewards-carousel.jpg',
1217
+ title: 'My Rewards',
1218
+ content: 'Exclusive savings from big brands.',
1219
+ readMore: 'https://plus.alexforbes.com/Identity/Account/Login?ReturnUrl=%2fProducts%2fReferral%2fRedirect?typeId=11&utm_medium=web&utm_source=afconnect&utm_campaign=AF%20Connect'
1220
+ },
1221
+ {
1222
+ imageSrc: '/assets/images/Unit-trusts-carousel.jpg',
1223
+ title: 'Unit Trusts',
1224
+ content: 'Invest from as little as R500.00 a month to up to R30 000.00 up front toward a personal goal.',
1225
+ readMore: 'https://www.alexforbes.com/za/en/individual/investing-for-a-goal.html'
1226
+ },
1227
+ {
1228
+ imageSrc: '/assets/images/AF-Plus-carousel.jpg',
1229
+ title: 'AF+',
1230
+ content: 'Guided by expert advisers and fulfilled by trusted partners, making it easy to solve life’s financial challenges with confidence.',
1231
+ readMore: 'https://plus.alexforbes.com/'
1232
+ },
1233
+ ];
1234
+
1235
+ class ImageCardComponent {
1236
+ constructor() {
1237
+ this.title = '';
1238
+ this.content = '';
1239
+ }
1240
+ ngOnInit() { }
1241
+ openReadMore() {
1242
+ window.open(this.readMoreLink, '_blank');
1243
+ }
1244
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ImageCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1245
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: ImageCardComponent, selector: "af-connect-image-card", inputs: { src: "src", title: "title", content: "content", readMoreLink: "readMoreLink" }, ngImport: i0, template: "<img [src]=\"src\" />\r\n<div class=\"info-container\">\r\n <span class=\"info-container__title\">{{ title }}</span>\r\n <span class=\"info-container__content\">{{ content }}</span>\r\n <button class=\"button-read-more\" (click)=\"openReadMore()\">Read more</button>\r\n</div>\r\n", styles: [":host{display:flex;flex-direction:column;width:325px;border-radius:5px;box-shadow:5px 5px 10px #00000029;background:#fafbfc}@media (max-width: 768px){:host{width:295px;position:relative;flex-direction:row;align-items:center;border:1px solid #124E57;box-shadow:0 -5px 10px #455b6314;padding-block:.75rem}}.info-container{flex-grow:1;display:flex;flex-direction:column;align-items:flex-start;padding:1rem;gap:.75rem;border-radius:5px}.info-container__title{font-size:16px;font-family:Hero New Bold;color:#124e57;margin-block:.25rem}@media (max-width: 768px){.info-container__title{font-size:14px;margin-top:0}}.info-container__content{font-size:12px;line-height:20px;color:#78849e}@media (max-width: 768px){.info-container__content{font-size:11px;line-height:1rem}}@media (max-width: 768px){.info-container{gap:5px;padding:0 .25rem 0 6rem;width:20rem;height:100%;place-content:start}}img{width:325px;height:182px;border-radius:5px 5px 0 0}@media (max-width: 768px){img{width:120px;height:120px;position:absolute;object-fit:cover;left:-2rem;border-radius:5px}}.button-read-more{background:none;color:inherit;border:none;margin:auto 0 0;padding:0;cursor:pointer;outline:inherit;font-size:12px;color:#ff521c;font-size:14px;font-family:Hero New Bold}@media (max-width: 768px){.button-read-more{font-size:11px}}\n"] }); }
1246
+ }
1247
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ImageCardComponent, decorators: [{
1248
+ type: Component,
1249
+ args: [{ selector: 'af-connect-image-card', template: "<img [src]=\"src\" />\r\n<div class=\"info-container\">\r\n <span class=\"info-container__title\">{{ title }}</span>\r\n <span class=\"info-container__content\">{{ content }}</span>\r\n <button class=\"button-read-more\" (click)=\"openReadMore()\">Read more</button>\r\n</div>\r\n", styles: [":host{display:flex;flex-direction:column;width:325px;border-radius:5px;box-shadow:5px 5px 10px #00000029;background:#fafbfc}@media (max-width: 768px){:host{width:295px;position:relative;flex-direction:row;align-items:center;border:1px solid #124E57;box-shadow:0 -5px 10px #455b6314;padding-block:.75rem}}.info-container{flex-grow:1;display:flex;flex-direction:column;align-items:flex-start;padding:1rem;gap:.75rem;border-radius:5px}.info-container__title{font-size:16px;font-family:Hero New Bold;color:#124e57;margin-block:.25rem}@media (max-width: 768px){.info-container__title{font-size:14px;margin-top:0}}.info-container__content{font-size:12px;line-height:20px;color:#78849e}@media (max-width: 768px){.info-container__content{font-size:11px;line-height:1rem}}@media (max-width: 768px){.info-container{gap:5px;padding:0 .25rem 0 6rem;width:20rem;height:100%;place-content:start}}img{width:325px;height:182px;border-radius:5px 5px 0 0}@media (max-width: 768px){img{width:120px;height:120px;position:absolute;object-fit:cover;left:-2rem;border-radius:5px}}.button-read-more{background:none;color:inherit;border:none;margin:auto 0 0;padding:0;cursor:pointer;outline:inherit;font-size:12px;color:#ff521c;font-size:14px;font-family:Hero New Bold}@media (max-width: 768px){.button-read-more{font-size:11px}}\n"] }]
1250
+ }], ctorParameters: () => [], propDecorators: { src: [{
1251
+ type: Input
1252
+ }], title: [{
1253
+ type: Input
1254
+ }], content: [{
1255
+ type: Input
1256
+ }], readMoreLink: [{
1257
+ type: Input
1258
+ }] } });
1259
+
1260
+ class AfConnectProductsCarouselComponent {
1261
+ constructor(elementRef) {
1262
+ this.elementRef = elementRef;
1263
+ this.defaultConfig = defaultConfig;
1264
+ this.isDown = false;
1265
+ }
1266
+ ngOnInit() { }
1267
+ ngAfterViewInit() {
1268
+ this.slider = this.elementRef.nativeElement.querySelector('.holder');
1269
+ }
1270
+ mousedown(e) {
1271
+ this.isDown = true;
1272
+ this.slider.classList.add('active');
1273
+ this.startX = e.pageX - this.slider.offsetLeft;
1274
+ this.scrollLeft = this.slider.scrollLeft;
1275
+ }
1276
+ mouseleave() {
1277
+ this.isDown = false;
1278
+ this.slider.classList.remove('active');
1279
+ }
1280
+ mouseup() {
1281
+ this.isDown = false;
1282
+ this.slider.classList.remove('active');
1283
+ }
1284
+ mousemove(e) {
1285
+ if (!this.isDown)
1286
+ return;
1287
+ e.preventDefault();
1288
+ const offset = e.pageX - this.slider.offsetLeft;
1289
+ const walk = (offset - this.startX) * 2;
1290
+ this.slider.scrollLeft = this.scrollLeft - walk;
1291
+ }
1292
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AfConnectProductsCarouselComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
1293
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: AfConnectProductsCarouselComponent, selector: "lib-af-connect-products-carousel", inputs: { config: "config" }, ngImport: i0, template: "<div\r\n class=\"holder\"\r\n (mousedown)=\"mousedown($event)\"\r\n (mouseleave)=\"mouseleave()\"\r\n (mouseup)=\"mouseup()\"\r\n (mousemove)=\"mousemove($event)\"\r\n>\r\n <ng-container *ngFor=\"let card of config || defaultConfig\">\r\n <af-connect-image-card\r\n [src]=\"card.imageSrc\"\r\n [title]=\"card.title\"\r\n [content]=\"card.content\"\r\n [readMoreLink]=\"card.readMore\"\r\n ></af-connect-image-card>\r\n </ng-container>\r\n</div>\r\n", styles: [":host{display:flex}@media (max-width: 768px){:host{padding:0}}.holder{display:flex;padding:1rem 1.75rem;flex-direction:row;gap:1.5rem;flex-wrap:nowrap;overflow-x:scroll}.holder.active{cursor:grabbing;cursor:-webkit-grabbing}@media (max-width: 768px){.holder{gap:3rem;padding:0 1.25rem 0 3.25rem}}.holder::-webkit-scrollbar{display:none}\n"], dependencies: [{ kind: "directive", type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: ImageCardComponent, selector: "af-connect-image-card", inputs: ["src", "title", "content", "readMoreLink"] }] }); }
1294
+ }
1295
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AfConnectProductsCarouselComponent, decorators: [{
1296
+ type: Component,
1297
+ args: [{ selector: 'lib-af-connect-products-carousel', template: "<div\r\n class=\"holder\"\r\n (mousedown)=\"mousedown($event)\"\r\n (mouseleave)=\"mouseleave()\"\r\n (mouseup)=\"mouseup()\"\r\n (mousemove)=\"mousemove($event)\"\r\n>\r\n <ng-container *ngFor=\"let card of config || defaultConfig\">\r\n <af-connect-image-card\r\n [src]=\"card.imageSrc\"\r\n [title]=\"card.title\"\r\n [content]=\"card.content\"\r\n [readMoreLink]=\"card.readMore\"\r\n ></af-connect-image-card>\r\n </ng-container>\r\n</div>\r\n", styles: [":host{display:flex}@media (max-width: 768px){:host{padding:0}}.holder{display:flex;padding:1rem 1.75rem;flex-direction:row;gap:1.5rem;flex-wrap:nowrap;overflow-x:scroll}.holder.active{cursor:grabbing;cursor:-webkit-grabbing}@media (max-width: 768px){.holder{gap:3rem;padding:0 1.25rem 0 3.25rem}}.holder::-webkit-scrollbar{display:none}\n"] }]
1298
+ }], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { config: [{
1299
+ type: Input
1300
+ }] } });
1301
+
1302
+ class AfConnectButtonComponent {
1303
+ constructor() {
1304
+ this.title = '';
1305
+ this.size = 'small';
1306
+ this.variant = 'outlined';
1307
+ this.iconSize = 14;
1308
+ this.iconPosition = 'start';
1309
+ this.clickBtn = new EventEmitter();
1310
+ }
1311
+ ngOnInit() { }
1312
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AfConnectButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1313
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: AfConnectButtonComponent, selector: "lib-af-connect-button", inputs: { isActive: "isActive", emitValue: "emitValue", title: "title", disabled: "disabled", hybrid: "hybrid", fullWidth: "fullWidth", size: "size", variant: "variant", iconSrc: "iconSrc", iconSize: "iconSize", iconPosition: "iconPosition", activeItem: "activeItem" }, outputs: { clickBtn: "clickBtn" }, ngImport: i0, template: "<button\r\n [class.hybrid]=\"hybrid\"\r\n [ngClass]=\"[\r\n fullWidth ? 'fullWidth' : '', 'button',\r\n size,\r\n variant,\r\n activeItem === title || isActive ? 'active' : '',\r\n iconPosition\r\n ]\"\r\n title=\"\"\r\n [disabled]=\"disabled\"\r\n (click)=\"this.clickBtn.emit(emitValue || title)\"\r\n>\r\n <!-- TODO: Templates -->\r\n <div\r\n *ngIf=\"iconSrc\"\r\n [ngStyle]=\"{\r\n '-webkit-mask-image': 'url(' + iconSrc + ')',\r\n 'width': iconSize + 'px'\r\n }\"\r\n class=\"icon\"\r\n >\r\n </div>\r\n <span [class]=\"['title', size, variant]\">{{ title }}</span>\r\n</button>\r\n", styles: [":host{display:flex;justify-content:center;width:auto}:host(.align-right){justify-content:flex-end}:host(.align-left){justify-content:flex-start}:host(.full-width) .button{width:100%}:host(.register-button) .button{color:var(--main-white-color);border-color:var(--main-white-color)}.button{display:flex;align-items:center;justify-content:center;gap:.5rem;cursor:pointer;border-radius:100px;font-size:.8rem;padding:0 10px;background-color:var(--transparent-color);color:var(--primary-connected-orange-color);border:solid 1px var(--primary-connected-orange-color)}.button:disabled{border-color:var(--neutral-anchor-color);color:var(--neutral-anchor-color);cursor:auto}.button:disabled .icon{background:var(--neutral-anchor-color)}.button.small{width:8.4rem;height:2rem}.button.dynamic{width:100%;height:2rem}.button.medium{width:8.875rem;height:2.6rem}@media (max-width: 1024px){.button.medium{height:2.1rem}}.button.large{width:12rem;height:2.6rem}@media (max-width: 1024px){.button.large{min-width:8.5rem;height:2.3rem;font-size:12px}}@media (max-width: 768px){.button.large{min-width:6rem;max-width:6rem;max-height:30px;height:2.3rem;font-size:12px;padding:0 5px}}.button.x-large{width:22rem;height:3.1875rem;font-size:1.375rem}@media (max-width: 1024px){.button.x-large{width:11.8rem;height:2.5rem;font-size:1rem}}.button.block{width:22rem;font-size:1rem;height:3rem}@media (max-width: 1024px){.button.block{width:11.8rem;height:2.5rem}}.button.filled{color:var(--main-white-color);background-color:var(--primary-connected-orange-color)}.button.filled:hover:not(:disabled){background:var(--primary-catalyst-yellow-color) 0% 0% no-repeat padding-box;border-color:var(--primary-catalyst-yellow-color)}.button.filled:disabled{background-color:var(--neutral-button-color);color:var(--neutral-anchor-color);border-color:var(--neutral-button-color)}.button.transparent{color:var(--main-white-color);border:solid 1px var(--main-white-color)}.button.cancel{color:var(--neutral-anchor-color);background:var(--neutral-button-color);border:none}.button.link{color:var(--primary-connected-orange-color);background:none;border:none;padding:0;height:fit-content;width:auto;display:block}.button.link:disabled{color:var(--neutral-anchor-color)}.button.link:hover:not(:disabled),.button.link:disabled{background:transparent}@media (max-width: 768px){.button.hybrid{color:var(--primary-connected-orange-color);background:none;border:none;padding:0;height:fit-content;width:auto;display:block}.button.hybrid:disabled{color:var(--neutral-anchor-color)}.button.hybrid:hover:not(:disabled),.button.hybrid:disabled{background:transparent}.button.hybrid .icon{display:none}}.button.fullWidth{width:100%}.button.greyish{padding:10px 8px;color:var(--main-black-color);background:var(--neutral-button-color);border:none;font-family:var(--standard-font-family-hero-new);font-size:.875rem;width:6.25rem;height:2.35rem;transition:background-color 125ms ease-in-out}.button.greyish>.title{white-space:nowrap;font-family:var(--standard-font-family-hero-new);font-size:14px}.button.greyish.small{height:2rem;width:5.5rem}@media (max-width: 768px){.button.greyish.small{min-width:auto;max-width:4.8rem}}.button.greyish.active{background-color:var(--primary-balanced-teal-color);color:var(--main-white-color)}@media (max-width: 768px){.button.greyish{min-width:100%;width:auto;max-height:2rem;padding:0}}.button.start{flex-direction:row}.button.end{flex-direction:row-reverse}.mat-button-disabled{opacity:.5;pointer-events:none}.icon{mask-repeat:no-repeat;mask-size:contain;mask-position:center;aspect-ratio:1;background:var(--primary-connected-orange-color)}.filled .icon{background:var(--main-white-color)}.title{font-family:var(--standard-font-family-hero-new-bold);font-size:14px}.title.small,.title.dynamic{font-size:12px}.title.medium{font-size:14px}.title.x-large{font-size:1.375rem;font-family:var(--standard-font-family-hero-new)}.title.link{font-family:var(--standard-font-family-hero-new-semibold)}@media (max-width: 1024px){.title{font-size:.75rem}.title.x-large{font-size:1rem}}@media (max-width: 768px){.title.large{font-family:var(--standard-font-family-hero-new-semibold)}}:host(.bold) .title{font-family:var(--standard-font-family-hero-new-semibold)}:host(.filter) .button.small{min-height:32px}:host(.filter) .title{font-size:1rem;font-family:var(--standard-font-family-hero-new-semibold)}@media (max-width: 768px){:host(.filter) .title{font-size:14px}}:host(.filter) .button{max-width:6.5rem}@media (max-width: 768px){:host(.filter) .button{max-width:4.5rem;max-height:1.75rem}}:host(.auto-width){width:auto}:host(.full-width){width:100%}:host(.regular){display:inline-block}:host(.regular) .button{width:auto;height:auto;padding:.5rem 2.625rem}:host(.regular) .button .title{font-size:16px;letter-spacing:.5px}@media (max-width: 768px){:host(.regular) .button{padding:.375rem 1.875rem}:host(.regular) .button .title{font-size:14px;font-family:var(--standard-font-family-hero-new-semibold);letter-spacing:normal}}:host(.regular.regular-pill) .button{padding:.875rem 1.5rem}:host(.regular.regular-pill) .button .title{white-space:nowrap;font-family:var(--standard-font-family-hero-new-semibold)}@media (max-width: 768px){:host(.regular.regular-pill) .button{padding:7px 1.875rem}:host(.regular.regular-pill) .button .title{white-space:normal;font-size:12px;font-family:var(--standard-font-family-hero-new-semibold)}}\n"], dependencies: [{ kind: "directive", type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] }); }
1314
+ }
1315
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AfConnectButtonComponent, decorators: [{
1316
+ type: Component,
1317
+ args: [{ selector: 'lib-af-connect-button', template: "<button\r\n [class.hybrid]=\"hybrid\"\r\n [ngClass]=\"[\r\n fullWidth ? 'fullWidth' : '', 'button',\r\n size,\r\n variant,\r\n activeItem === title || isActive ? 'active' : '',\r\n iconPosition\r\n ]\"\r\n title=\"\"\r\n [disabled]=\"disabled\"\r\n (click)=\"this.clickBtn.emit(emitValue || title)\"\r\n>\r\n <!-- TODO: Templates -->\r\n <div\r\n *ngIf=\"iconSrc\"\r\n [ngStyle]=\"{\r\n '-webkit-mask-image': 'url(' + iconSrc + ')',\r\n 'width': iconSize + 'px'\r\n }\"\r\n class=\"icon\"\r\n >\r\n </div>\r\n <span [class]=\"['title', size, variant]\">{{ title }}</span>\r\n</button>\r\n", styles: [":host{display:flex;justify-content:center;width:auto}:host(.align-right){justify-content:flex-end}:host(.align-left){justify-content:flex-start}:host(.full-width) .button{width:100%}:host(.register-button) .button{color:var(--main-white-color);border-color:var(--main-white-color)}.button{display:flex;align-items:center;justify-content:center;gap:.5rem;cursor:pointer;border-radius:100px;font-size:.8rem;padding:0 10px;background-color:var(--transparent-color);color:var(--primary-connected-orange-color);border:solid 1px var(--primary-connected-orange-color)}.button:disabled{border-color:var(--neutral-anchor-color);color:var(--neutral-anchor-color);cursor:auto}.button:disabled .icon{background:var(--neutral-anchor-color)}.button.small{width:8.4rem;height:2rem}.button.dynamic{width:100%;height:2rem}.button.medium{width:8.875rem;height:2.6rem}@media (max-width: 1024px){.button.medium{height:2.1rem}}.button.large{width:12rem;height:2.6rem}@media (max-width: 1024px){.button.large{min-width:8.5rem;height:2.3rem;font-size:12px}}@media (max-width: 768px){.button.large{min-width:6rem;max-width:6rem;max-height:30px;height:2.3rem;font-size:12px;padding:0 5px}}.button.x-large{width:22rem;height:3.1875rem;font-size:1.375rem}@media (max-width: 1024px){.button.x-large{width:11.8rem;height:2.5rem;font-size:1rem}}.button.block{width:22rem;font-size:1rem;height:3rem}@media (max-width: 1024px){.button.block{width:11.8rem;height:2.5rem}}.button.filled{color:var(--main-white-color);background-color:var(--primary-connected-orange-color)}.button.filled:hover:not(:disabled){background:var(--primary-catalyst-yellow-color) 0% 0% no-repeat padding-box;border-color:var(--primary-catalyst-yellow-color)}.button.filled:disabled{background-color:var(--neutral-button-color);color:var(--neutral-anchor-color);border-color:var(--neutral-button-color)}.button.transparent{color:var(--main-white-color);border:solid 1px var(--main-white-color)}.button.cancel{color:var(--neutral-anchor-color);background:var(--neutral-button-color);border:none}.button.link{color:var(--primary-connected-orange-color);background:none;border:none;padding:0;height:fit-content;width:auto;display:block}.button.link:disabled{color:var(--neutral-anchor-color)}.button.link:hover:not(:disabled),.button.link:disabled{background:transparent}@media (max-width: 768px){.button.hybrid{color:var(--primary-connected-orange-color);background:none;border:none;padding:0;height:fit-content;width:auto;display:block}.button.hybrid:disabled{color:var(--neutral-anchor-color)}.button.hybrid:hover:not(:disabled),.button.hybrid:disabled{background:transparent}.button.hybrid .icon{display:none}}.button.fullWidth{width:100%}.button.greyish{padding:10px 8px;color:var(--main-black-color);background:var(--neutral-button-color);border:none;font-family:var(--standard-font-family-hero-new);font-size:.875rem;width:6.25rem;height:2.35rem;transition:background-color 125ms ease-in-out}.button.greyish>.title{white-space:nowrap;font-family:var(--standard-font-family-hero-new);font-size:14px}.button.greyish.small{height:2rem;width:5.5rem}@media (max-width: 768px){.button.greyish.small{min-width:auto;max-width:4.8rem}}.button.greyish.active{background-color:var(--primary-balanced-teal-color);color:var(--main-white-color)}@media (max-width: 768px){.button.greyish{min-width:100%;width:auto;max-height:2rem;padding:0}}.button.start{flex-direction:row}.button.end{flex-direction:row-reverse}.mat-button-disabled{opacity:.5;pointer-events:none}.icon{mask-repeat:no-repeat;mask-size:contain;mask-position:center;aspect-ratio:1;background:var(--primary-connected-orange-color)}.filled .icon{background:var(--main-white-color)}.title{font-family:var(--standard-font-family-hero-new-bold);font-size:14px}.title.small,.title.dynamic{font-size:12px}.title.medium{font-size:14px}.title.x-large{font-size:1.375rem;font-family:var(--standard-font-family-hero-new)}.title.link{font-family:var(--standard-font-family-hero-new-semibold)}@media (max-width: 1024px){.title{font-size:.75rem}.title.x-large{font-size:1rem}}@media (max-width: 768px){.title.large{font-family:var(--standard-font-family-hero-new-semibold)}}:host(.bold) .title{font-family:var(--standard-font-family-hero-new-semibold)}:host(.filter) .button.small{min-height:32px}:host(.filter) .title{font-size:1rem;font-family:var(--standard-font-family-hero-new-semibold)}@media (max-width: 768px){:host(.filter) .title{font-size:14px}}:host(.filter) .button{max-width:6.5rem}@media (max-width: 768px){:host(.filter) .button{max-width:4.5rem;max-height:1.75rem}}:host(.auto-width){width:auto}:host(.full-width){width:100%}:host(.regular){display:inline-block}:host(.regular) .button{width:auto;height:auto;padding:.5rem 2.625rem}:host(.regular) .button .title{font-size:16px;letter-spacing:.5px}@media (max-width: 768px){:host(.regular) .button{padding:.375rem 1.875rem}:host(.regular) .button .title{font-size:14px;font-family:var(--standard-font-family-hero-new-semibold);letter-spacing:normal}}:host(.regular.regular-pill) .button{padding:.875rem 1.5rem}:host(.regular.regular-pill) .button .title{white-space:nowrap;font-family:var(--standard-font-family-hero-new-semibold)}@media (max-width: 768px){:host(.regular.regular-pill) .button{padding:7px 1.875rem}:host(.regular.regular-pill) .button .title{white-space:normal;font-size:12px;font-family:var(--standard-font-family-hero-new-semibold)}}\n"] }]
1318
+ }], propDecorators: { isActive: [{
1319
+ type: Input
1320
+ }], emitValue: [{
1321
+ type: Input
1322
+ }], title: [{
1323
+ type: Input
1324
+ }], disabled: [{
1325
+ type: Input
1326
+ }], hybrid: [{
1327
+ type: Input
1328
+ }], fullWidth: [{
1329
+ type: Input
1330
+ }], size: [{
1331
+ type: Input
1332
+ }], variant: [{
1333
+ type: Input
1334
+ }], iconSrc: [{
1335
+ type: Input
1336
+ }], iconSize: [{
1337
+ type: Input
1338
+ }], iconPosition: [{
1339
+ type: Input
1340
+ }], activeItem: [{
1341
+ type: Input
1342
+ }], clickBtn: [{
1343
+ type: Output
1344
+ }] } });
1345
+
1346
+ class AfConnectContentComponent {
1347
+ constructor() { }
1348
+ ngOnInit() {
1349
+ }
1350
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AfConnectContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1351
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: AfConnectContentComponent, selector: "lib-af-connect-content", ngImport: i0, template: "<ng-content></ng-content>\r\n", styles: [".base-empty-content,:host(.profile-info-container),:host(.faq-error-container),:host(.documents-error-container),:host(.investments-error-container),:host(.profile-error-container){background:var(--main-white-color);min-height:15rem;display:flex;align-items:center}:host{position:relative;height:100%;background:var(--main-white-color);padding:1rem 1.75rem;display:flex;flex-direction:row;gap:1rem;flex-wrap:wrap;box-shadow:0 23px 88px #b0b7c324;border-bottom-left-radius:5px;border-bottom-right-radius:5px}@media (max-width: 1024px){:host{padding:1rem 1.25rem;gap:.75rem}}@media (max-width: 768px){:host{padding:1rem;box-shadow:none}}@media (max-width: 1024px){:host(.beneficiary-container){padding:1rem;gap:.75rem}}@media (max-width: 1024px){:host(.external-investments-container){padding:1rem;gap:.875rem}}:host(.profile-container){padding:12px 25px 20px;gap:2.5rem;height:auto}@media (max-width: 768px){:host(.profile-container){border-radius:5px;padding:20px 18px;border:1px solid var(--primary-light-teal-color)}}.base-spinner-container,:host(.spinner-container-fund-details),:host(.spinner-container-fund),:host(.spinner-container){background:var(--main-white-color);display:flex;justify-content:center;align-items:center}:host(.spinner-container){min-height:15rem}:host(.spinner-container-fund){min-height:32rem}@media (max-width: 768px){:host(.spinner-container-fund){min-height:27rem}}:host(.spinner-container-fund-details){min-height:20rem;margin-top:2.5rem}:host(.documents-container){padding:.75rem 1rem;overflow:scroll}:host(.documents-container)::-webkit-scrollbar{display:none}@media (max-width: 768px){:host(.documents-container){padding-top:0}}@media (max-width: 1024px){:host(.profile-error-container){justify-content:center}}@media (max-width: 1024px){:host(.investments-error-container){justify-content:center}}:host(.documents-error-container){justify-content:center}@media (max-width: 1024px){:host(.faq-error-container){justify-content:center}}:host(.carousel-container){display:block;padding:0 0 .5rem}@media (max-width: 768px){:host(.carousel-container){padding:1rem 0}}:host(.profile-info-container){height:auto;padding:.875rem 1.75rem 1.75rem}@media (max-width: 768px){:host(.profile-info-container){padding:1.5rem 1rem 1.25rem}}:host(.fund-overview){padding:1rem 1.4rem;display:block}@media (max-width: 768px){:host(.fund-overview){padding:1rem;box-shadow:0 23px 88px #00000029}}:host(.chart-container){overflow:hidden;padding:0}:host(.transaction-container){background-color:var(--secondary-grey-color);height:auto}:host(.grey-color){background-color:var(--secondary-grey-color)}@media (max-width: 768px){:host(.fund-overview-tabs){background-color:var(--secondary-grey-color);box-shadow:0 23px 88px #00000029}}:host(.fund-portfolio-container-mobile){gap:1rem}:host(.claim-details-tabs){width:100%;padding:1rem 2.5rem 2rem}:host(.no-shadow){box-shadow:none}:host(.align-center){align-self:center}:host(.max-width){width:100%}@media (max-width: 768px){:host(.max-width){width:auto}}:host(.certificates-filter){padding:1rem}@media (max-width: 768px){:host(.certificates-filter){padding:.5rem 0 0}}:host(.statements-container){padding:12px 1rem 1.25rem;justify-content:space-between;flex-direction:column;gap:12px}@media (max-width: 768px){:host(.statements-container){padding:.75rem 1rem}}:host(.latest-statements-container){padding:0rem}\n"] }); }
1352
+ }
1353
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AfConnectContentComponent, decorators: [{
1354
+ type: Component,
1355
+ args: [{ selector: 'lib-af-connect-content', template: "<ng-content></ng-content>\r\n", styles: [".base-empty-content,:host(.profile-info-container),:host(.faq-error-container),:host(.documents-error-container),:host(.investments-error-container),:host(.profile-error-container){background:var(--main-white-color);min-height:15rem;display:flex;align-items:center}:host{position:relative;height:100%;background:var(--main-white-color);padding:1rem 1.75rem;display:flex;flex-direction:row;gap:1rem;flex-wrap:wrap;box-shadow:0 23px 88px #b0b7c324;border-bottom-left-radius:5px;border-bottom-right-radius:5px}@media (max-width: 1024px){:host{padding:1rem 1.25rem;gap:.75rem}}@media (max-width: 768px){:host{padding:1rem;box-shadow:none}}@media (max-width: 1024px){:host(.beneficiary-container){padding:1rem;gap:.75rem}}@media (max-width: 1024px){:host(.external-investments-container){padding:1rem;gap:.875rem}}:host(.profile-container){padding:12px 25px 20px;gap:2.5rem;height:auto}@media (max-width: 768px){:host(.profile-container){border-radius:5px;padding:20px 18px;border:1px solid var(--primary-light-teal-color)}}.base-spinner-container,:host(.spinner-container-fund-details),:host(.spinner-container-fund),:host(.spinner-container){background:var(--main-white-color);display:flex;justify-content:center;align-items:center}:host(.spinner-container){min-height:15rem}:host(.spinner-container-fund){min-height:32rem}@media (max-width: 768px){:host(.spinner-container-fund){min-height:27rem}}:host(.spinner-container-fund-details){min-height:20rem;margin-top:2.5rem}:host(.documents-container){padding:.75rem 1rem;overflow:scroll}:host(.documents-container)::-webkit-scrollbar{display:none}@media (max-width: 768px){:host(.documents-container){padding-top:0}}@media (max-width: 1024px){:host(.profile-error-container){justify-content:center}}@media (max-width: 1024px){:host(.investments-error-container){justify-content:center}}:host(.documents-error-container){justify-content:center}@media (max-width: 1024px){:host(.faq-error-container){justify-content:center}}:host(.carousel-container){display:block;padding:0 0 .5rem}@media (max-width: 768px){:host(.carousel-container){padding:1rem 0}}:host(.profile-info-container){height:auto;padding:.875rem 1.75rem 1.75rem}@media (max-width: 768px){:host(.profile-info-container){padding:1.5rem 1rem 1.25rem}}:host(.fund-overview){padding:1rem 1.4rem;display:block}@media (max-width: 768px){:host(.fund-overview){padding:1rem;box-shadow:0 23px 88px #00000029}}:host(.chart-container){overflow:hidden;padding:0}:host(.transaction-container){background-color:var(--secondary-grey-color);height:auto}:host(.grey-color){background-color:var(--secondary-grey-color)}@media (max-width: 768px){:host(.fund-overview-tabs){background-color:var(--secondary-grey-color);box-shadow:0 23px 88px #00000029}}:host(.fund-portfolio-container-mobile){gap:1rem}:host(.claim-details-tabs){width:100%;padding:1rem 2.5rem 2rem}:host(.no-shadow){box-shadow:none}:host(.align-center){align-self:center}:host(.max-width){width:100%}@media (max-width: 768px){:host(.max-width){width:auto}}:host(.certificates-filter){padding:1rem}@media (max-width: 768px){:host(.certificates-filter){padding:.5rem 0 0}}:host(.statements-container){padding:12px 1rem 1.25rem;justify-content:space-between;flex-direction:column;gap:12px}@media (max-width: 768px){:host(.statements-container){padding:.75rem 1rem}}:host(.latest-statements-container){padding:0rem}\n"] }]
1356
+ }], ctorParameters: () => [] });
1357
+
1358
+ class AfConnectDatepickerComponent {
1359
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AfConnectDatepickerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1360
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: AfConnectDatepickerComponent, selector: "lib-af-connect-datepicker", ngImport: i0, template: "<p>af-connect-datepicker works!</p>\r\n", styles: [""] }); }
1361
+ }
1362
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AfConnectDatepickerComponent, decorators: [{
1363
+ type: Component,
1364
+ args: [{ selector: 'lib-af-connect-datepicker', template: "<p>af-connect-datepicker works!</p>\r\n" }]
1365
+ }] });
1366
+
1367
+ function numberWithCommas(number) {
1368
+ return number.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",");
1369
+ }
1370
+
1371
+ class AfConnectFormValidationErrorsComponent {
1372
+ constructor() {
1373
+ this.fieldText = 'Field';
1374
+ this.convertToNumberWithCommas = numberWithCommas;
1375
+ }
1376
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AfConnectFormValidationErrorsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1377
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: AfConnectFormValidationErrorsComponent, selector: "lib-af-connect-form-validation-errors", inputs: { fieldText: "fieldText", control: "control" }, ngImport: i0, template: "<div class=\"container\" *ngIf=\"control && control.errors && control.dirty && control.touched\">\r\n <div class=\"container__error\" *ngIf=\"control.errors['required']\">{{ fieldText }} is required</div>\r\n <div class=\"container__error\" *ngIf=\"control.errors['emptyValue']\">Please enter a {{ fieldText }}</div>\r\n <div class=\"container__error\" *ngIf=\"control.errors['minlength']\">\r\n {{ fieldText }} must have be least {{ control.errors['minlength'].requiredLength }} symbols long\r\n </div>\r\n <div class=\"container__error\" *ngIf=\"control.errors['maxlength']\">\r\n {{ fieldText }} must be no more than {{ control.errors['maxlength'].requiredLength }} symbols\r\n </div>\r\n <div class=\"container__error\" *ngIf=\"control.errors['existingProductName']\">\r\n Please enter a unique Product Name. Example: Alexforbes Life Cover\r\n </div>\r\n <div class=\"container__error\" *ngIf=\"control.errors['email']\">Invalid Email address</div>\r\n <div class=\"container__error\" *ngIf=\"control.errors['NAN']\">Please enter a valid number</div>\r\n <div class=\"container__error\" *ngIf=\"control.errors['positiveNumber']\">\r\n Please enter a positive number. Example: R100 000\r\n </div>\r\n <div class=\"container__error\" *ngIf=\"control.errors['integerNumber']\">\r\n Please enter a number without any digits after the decimal point\r\n </div>\r\n <div class=\"container__error\" *ngIf=\"control.errors['max']\">\r\n Please enter a number less than or equal to {{ convertToNumberWithCommas(control.errors['max'].max) }}\r\n </div>\r\n <div class=\"container__error\" *ngIf=\"control.errors['length']\">\r\n {{ fieldText }} must be {{ control.errors['length'] }} digits long\r\n </div>\r\n <div class=\"container__error\" *ngIf=\"control.errors['alphabetic']\">\r\n {{ fieldText }} cannot contain numbers or special characters\r\n </div>\r\n <div class=\"container__error\" *ngIf=\"control.errors['selectOptions']\">\r\n Please select a valid {{ fieldText }} from the dropdown list\r\n </div>\r\n </div>\r\n \r\n <div class=\"container\" *ngIf=\"control && control.errors && control.dirty\">\r\n <div class=\"container__error\" *ngIf=\"control.errors['startDateBeforeEndDate']\">\r\n You have selected an incorrect date\r\n </div>\r\n </div>\r\n ", styles: [".container__error{color:var(--primary-orange-mobile-color);font-size:12px}\n"], dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
1378
+ }
1379
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AfConnectFormValidationErrorsComponent, decorators: [{
1380
+ type: Component,
1381
+ args: [{ selector: 'lib-af-connect-form-validation-errors', template: "<div class=\"container\" *ngIf=\"control && control.errors && control.dirty && control.touched\">\r\n <div class=\"container__error\" *ngIf=\"control.errors['required']\">{{ fieldText }} is required</div>\r\n <div class=\"container__error\" *ngIf=\"control.errors['emptyValue']\">Please enter a {{ fieldText }}</div>\r\n <div class=\"container__error\" *ngIf=\"control.errors['minlength']\">\r\n {{ fieldText }} must have be least {{ control.errors['minlength'].requiredLength }} symbols long\r\n </div>\r\n <div class=\"container__error\" *ngIf=\"control.errors['maxlength']\">\r\n {{ fieldText }} must be no more than {{ control.errors['maxlength'].requiredLength }} symbols\r\n </div>\r\n <div class=\"container__error\" *ngIf=\"control.errors['existingProductName']\">\r\n Please enter a unique Product Name. Example: Alexforbes Life Cover\r\n </div>\r\n <div class=\"container__error\" *ngIf=\"control.errors['email']\">Invalid Email address</div>\r\n <div class=\"container__error\" *ngIf=\"control.errors['NAN']\">Please enter a valid number</div>\r\n <div class=\"container__error\" *ngIf=\"control.errors['positiveNumber']\">\r\n Please enter a positive number. Example: R100 000\r\n </div>\r\n <div class=\"container__error\" *ngIf=\"control.errors['integerNumber']\">\r\n Please enter a number without any digits after the decimal point\r\n </div>\r\n <div class=\"container__error\" *ngIf=\"control.errors['max']\">\r\n Please enter a number less than or equal to {{ convertToNumberWithCommas(control.errors['max'].max) }}\r\n </div>\r\n <div class=\"container__error\" *ngIf=\"control.errors['length']\">\r\n {{ fieldText }} must be {{ control.errors['length'] }} digits long\r\n </div>\r\n <div class=\"container__error\" *ngIf=\"control.errors['alphabetic']\">\r\n {{ fieldText }} cannot contain numbers or special characters\r\n </div>\r\n <div class=\"container__error\" *ngIf=\"control.errors['selectOptions']\">\r\n Please select a valid {{ fieldText }} from the dropdown list\r\n </div>\r\n </div>\r\n \r\n <div class=\"container\" *ngIf=\"control && control.errors && control.dirty\">\r\n <div class=\"container__error\" *ngIf=\"control.errors['startDateBeforeEndDate']\">\r\n You have selected an incorrect date\r\n </div>\r\n </div>\r\n ", styles: [".container__error{color:var(--primary-orange-mobile-color);font-size:12px}\n"] }]
1382
+ }], propDecorators: { fieldText: [{
1383
+ type: Input
1384
+ }], control: [{
1385
+ type: Input
1386
+ }] } });
1387
+
1388
+ class AfConnectInputComponent {
1389
+ handleInputChange($event) {
1390
+ this.onChange.emit($event);
1391
+ }
1392
+ get value() {
1393
+ return this._value;
1394
+ }
1395
+ set value(value) {
1396
+ this._value = value;
1397
+ this.propagateChange(value);
1398
+ }
1399
+ constructor(injector, cdr) {
1400
+ this.injector = injector;
1401
+ this.cdr = cdr;
1402
+ this.placeholder = '';
1403
+ this.isDisabled = true;
1404
+ this.withAsterisk = false;
1405
+ this.variant = 'editable';
1406
+ this.type = 'text';
1407
+ this.maxLength = 50;
1408
+ this.noFormEnabledBorder = false;
1409
+ this.onChange = new EventEmitter();
1410
+ this.propagateChange = (_) => { };
1411
+ this.propagateTouch = (_) => { };
1412
+ }
1413
+ ngOnInit() {
1414
+ if (this.variant === 'editable') {
1415
+ this.isDisabled = false;
1416
+ }
1417
+ }
1418
+ ngAfterViewInit() {
1419
+ const ngControl = this.injector.get(NgControl);
1420
+ if (ngControl) {
1421
+ this.control = ngControl.control;
1422
+ this.cdr.detectChanges();
1423
+ }
1424
+ }
1425
+ writeValue(obj) {
1426
+ this.value = obj;
1427
+ }
1428
+ registerOnChange(fn) {
1429
+ this.propagateChange = fn;
1430
+ }
1431
+ registerOnTouched(fn) {
1432
+ this.propagateTouch = fn;
1433
+ }
1434
+ setDisabledState(isDisabled) {
1435
+ this.isDisabled = isDisabled;
1436
+ }
1437
+ onBlur() {
1438
+ this.propagateTouch();
1439
+ }
1440
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AfConnectInputComponent, deps: [{ token: i0.Injector }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
1441
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: AfConnectInputComponent, selector: "lib-af-connect-input", inputs: { label: "label", errorReferenceText: "errorReferenceText", placeholder: "placeholder", isDisabled: "isDisabled", withAsterisk: "withAsterisk", variant: "variant", type: "type", maxLength: "maxLength", id: "id", step: "step", noFormEnabledBorder: "noFormEnabledBorder", value: "value" }, outputs: { onChange: "onChange" }, ngImport: i0, template: "<div class=\"field-container\">\r\n <div class=\"label-container\">\r\n <label class=\"label\" [for]=\"id\"> {{ label }}<span *ngIf=\"withAsterisk\" class=\"asterisk\">*</span></label>\r\n <lib-af-connect-form-validation-errors [control]=\"control\" [fieldText]=\"errorReferenceText || label\"></lib-af-connect-form-validation-errors>\r\n </div>\r\n <input\r\n [type]=\"type\"\r\n [step]=\"step\"\r\n size=\"10\"\r\n class=\"field-container-input\"\r\n [ngClass]=\"[\r\n variant,\r\n isDisabled ? 'disabled' : 'not-disabled',\r\n noFormEnabledBorder ? 'no-form-border' : '',\r\n control && control.errors && control.dirty && control.touched ? 'hasError' : '',\r\n control && variant === 'read-only' && control.disabled ? 'non-editable' : ''\r\n ]\"\r\n [maxLength]=\"maxLength\"\r\n [(ngModel)]=\"value\"\r\n [placeholder]=\"placeholder\"\r\n [disabled]=\"isDisabled || variant === 'read-only'\"\r\n (blur)=\"onBlur()\"\r\n (keyup)=\"handleInputChange($event)\"\r\n />\r\n <div *ngIf=\"control && control.errors && control.dirty && control.touched\" class=\"error-container\">\r\n <img src=\"../../../assets/icons/warning.svg\" />\r\n </div>\r\n </div>\r\n ", styles: [":host{font-family:var(--standard-font-family-hero-new);font-size:.875rem;color:var(--secondary-space-color);width:100%;position:relative}:host input:focus{outline:transparent}.field-container{display:flex;flex-direction:column}.field-container .label .asterisk{color:var(--primary-orange-mobile-color)}.field-container .label-container{display:flex;flex-wrap:wrap;padding-bottom:.5rem;gap:.5rem;justify-content:space-between}.field-container .field-container-input{font-family:var(--standard-font-family-hero-new);font-size:.875rem;padding:11px 11px 11px 1.25rem;border:1px solid transparent;outline:1px solid transparent;transition-property:outline-color,border-color,background-color;transition-duration:.2s}.field-container .field-container-input:focus{outline:1px solid var(--primary-dark-teal-color)}.field-container .field-container-input.hasError{padding-right:3rem;border:1px solid var(--primary-connected-orange-color)!important;background-color:var(--neutral-inline-error-color)}.field-container .field-container-input.hasError:focus{outline-color:var(--primary-connected-orange-color)}.field-container .field-container-input.editable.not-disabled.no-form-border{border-color:transparent}@media (max-width: 768px){.field-container .field-container-input{border-radius:var(--input-border-radius);box-shadow:var(--input-box-shadow)}}.field-container .read-only{background-color:var(--neutral-button-color);color:var(--warm-grey-color)}.field-container .non-editable{background-color:var(--main-white-color);color:var(--warm-grey-color)}.field-container .editable{background-color:var(--main-white-color)}.field-container .editable.disabled{color:var(--secondary-space-color)}.field-container .editable.not-disabled{border-color:var(--primary-dark-teal-color)}.error-container{position:relative;display:flex;min-height:100%;justify-content:center;align-items:center}img{position:absolute;cursor:pointer;right:25px;top:-31px;width:18px;height:18px}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}\n"], dependencies: [{ kind: "directive", type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: AfConnectFormValidationErrorsComponent, selector: "lib-af-connect-form-validation-errors", inputs: ["fieldText", "control"] }] }); }
1442
+ }
1443
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AfConnectInputComponent, decorators: [{
1444
+ type: Component,
1445
+ args: [{ selector: 'lib-af-connect-input', template: "<div class=\"field-container\">\r\n <div class=\"label-container\">\r\n <label class=\"label\" [for]=\"id\"> {{ label }}<span *ngIf=\"withAsterisk\" class=\"asterisk\">*</span></label>\r\n <lib-af-connect-form-validation-errors [control]=\"control\" [fieldText]=\"errorReferenceText || label\"></lib-af-connect-form-validation-errors>\r\n </div>\r\n <input\r\n [type]=\"type\"\r\n [step]=\"step\"\r\n size=\"10\"\r\n class=\"field-container-input\"\r\n [ngClass]=\"[\r\n variant,\r\n isDisabled ? 'disabled' : 'not-disabled',\r\n noFormEnabledBorder ? 'no-form-border' : '',\r\n control && control.errors && control.dirty && control.touched ? 'hasError' : '',\r\n control && variant === 'read-only' && control.disabled ? 'non-editable' : ''\r\n ]\"\r\n [maxLength]=\"maxLength\"\r\n [(ngModel)]=\"value\"\r\n [placeholder]=\"placeholder\"\r\n [disabled]=\"isDisabled || variant === 'read-only'\"\r\n (blur)=\"onBlur()\"\r\n (keyup)=\"handleInputChange($event)\"\r\n />\r\n <div *ngIf=\"control && control.errors && control.dirty && control.touched\" class=\"error-container\">\r\n <img src=\"../../../assets/icons/warning.svg\" />\r\n </div>\r\n </div>\r\n ", styles: [":host{font-family:var(--standard-font-family-hero-new);font-size:.875rem;color:var(--secondary-space-color);width:100%;position:relative}:host input:focus{outline:transparent}.field-container{display:flex;flex-direction:column}.field-container .label .asterisk{color:var(--primary-orange-mobile-color)}.field-container .label-container{display:flex;flex-wrap:wrap;padding-bottom:.5rem;gap:.5rem;justify-content:space-between}.field-container .field-container-input{font-family:var(--standard-font-family-hero-new);font-size:.875rem;padding:11px 11px 11px 1.25rem;border:1px solid transparent;outline:1px solid transparent;transition-property:outline-color,border-color,background-color;transition-duration:.2s}.field-container .field-container-input:focus{outline:1px solid var(--primary-dark-teal-color)}.field-container .field-container-input.hasError{padding-right:3rem;border:1px solid var(--primary-connected-orange-color)!important;background-color:var(--neutral-inline-error-color)}.field-container .field-container-input.hasError:focus{outline-color:var(--primary-connected-orange-color)}.field-container .field-container-input.editable.not-disabled.no-form-border{border-color:transparent}@media (max-width: 768px){.field-container .field-container-input{border-radius:var(--input-border-radius);box-shadow:var(--input-box-shadow)}}.field-container .read-only{background-color:var(--neutral-button-color);color:var(--warm-grey-color)}.field-container .non-editable{background-color:var(--main-white-color);color:var(--warm-grey-color)}.field-container .editable{background-color:var(--main-white-color)}.field-container .editable.disabled{color:var(--secondary-space-color)}.field-container .editable.not-disabled{border-color:var(--primary-dark-teal-color)}.error-container{position:relative;display:flex;min-height:100%;justify-content:center;align-items:center}img{position:absolute;cursor:pointer;right:25px;top:-31px;width:18px;height:18px}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}\n"] }]
1446
+ }], ctorParameters: () => [{ type: i0.Injector }, { type: i0.ChangeDetectorRef }], propDecorators: { label: [{
1447
+ type: Input
1448
+ }], errorReferenceText: [{
1449
+ type: Input
1450
+ }], placeholder: [{
1451
+ type: Input
1452
+ }], isDisabled: [{
1453
+ type: Input
1454
+ }], withAsterisk: [{
1455
+ type: Input
1456
+ }], variant: [{
1457
+ type: Input
1458
+ }], type: [{
1459
+ type: Input
1460
+ }], maxLength: [{
1461
+ type: Input
1462
+ }], id: [{
1463
+ type: Input
1464
+ }], step: [{
1465
+ type: Input
1466
+ }], noFormEnabledBorder: [{
1467
+ type: Input
1468
+ }], onChange: [{
1469
+ type: Output
1470
+ }], value: [{
1471
+ type: Input
1472
+ }] } });
1473
+
1474
+ class AfConnectFormGroupComponent {
1475
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AfConnectFormGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1476
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: AfConnectFormGroupComponent, selector: "lib-af-connect-form-group", ngImport: i0, template: "<ng-content></ng-content>\r\n", styles: [":host{display:grid;grid-template-columns:repeat(3,1fr);column-gap:2rem;align-items:end}@media (max-width: 1024px){:host{grid-template-columns:repeat(2,1fr);column-gap:1.5rem;row-gap:1.5rem}}@media (max-width: 480px){:host{grid-template-columns:auto}}\n"] }); }
1477
+ }
1478
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AfConnectFormGroupComponent, decorators: [{
1479
+ type: Component,
1480
+ args: [{ selector: 'lib-af-connect-form-group', template: "<ng-content></ng-content>\r\n", styles: [":host{display:grid;grid-template-columns:repeat(3,1fr);column-gap:2rem;align-items:end}@media (max-width: 1024px){:host{grid-template-columns:repeat(2,1fr);column-gap:1.5rem;row-gap:1.5rem}}@media (max-width: 480px){:host{grid-template-columns:auto}}\n"] }]
1481
+ }] });
1482
+
1483
+ class AfConnectCardComponent {
1484
+ constructor() {
1485
+ this.variant = 'normal';
1486
+ }
1487
+ ngOnInit() { }
1488
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AfConnectCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1489
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: AfConnectCardComponent, selector: "lib-af-connect-card", inputs: { variant: "variant" }, ngImport: i0, template: "<div [class]=\"['card', variant]\">\r\n <ng-content></ng-content>\r\n </div>\r\n ", styles: [":host{display:flex;flex-direction:column;width:49%}@media (max-width: 1024px){:host{min-width:100%}}:host(.full-width){width:100%}:host(.document-card){-webkit-user-select:none;user-select:none}@media (max-width: 1024px){:host(.beneficiary-mobile-card) .small{border:1px solid var(--primary-dark-teal-color);max-height:fit-content}}:host(.restricted-fund-card,.restricted-fund-mobile-card) .card{gap:1rem}.base-card,.card.small,.card.normal,.card.large{flex:1 0 auto;display:flex;flex-direction:column;border-radius:12px;background:var(--main-white-color);border:1px solid var(--primary-dark-teal-color)}.card.large{padding:2rem 2.5rem 2.5rem}@media (max-width: 768px){.card.large{padding:1rem 1rem 1.5rem;border-radius:5px;border-color:var(--warm-grey-color)}}.card.normal{border-radius:12px;padding:23px 18px 13px}@media (max-width: 1024px){.card.normal{padding:12px 9px 6px}}.card.small{border-radius:5px;padding:18px 15px}@media (max-width: 1024px){.card.small{padding:.75rem 1rem}}:host(.statement-card){width:auto;cursor:pointer}:host(.statement-card) .card.small{padding:12px 14px;border-radius:3px}@media (max-width: 1024px){:host(.expandable-card) .card.small{padding:.75rem .5rem .75rem .75rem}}\n"] }); }
1490
+ }
1491
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AfConnectCardComponent, decorators: [{
1492
+ type: Component,
1493
+ args: [{ selector: 'lib-af-connect-card', template: "<div [class]=\"['card', variant]\">\r\n <ng-content></ng-content>\r\n </div>\r\n ", styles: [":host{display:flex;flex-direction:column;width:49%}@media (max-width: 1024px){:host{min-width:100%}}:host(.full-width){width:100%}:host(.document-card){-webkit-user-select:none;user-select:none}@media (max-width: 1024px){:host(.beneficiary-mobile-card) .small{border:1px solid var(--primary-dark-teal-color);max-height:fit-content}}:host(.restricted-fund-card,.restricted-fund-mobile-card) .card{gap:1rem}.base-card,.card.small,.card.normal,.card.large{flex:1 0 auto;display:flex;flex-direction:column;border-radius:12px;background:var(--main-white-color);border:1px solid var(--primary-dark-teal-color)}.card.large{padding:2rem 2.5rem 2.5rem}@media (max-width: 768px){.card.large{padding:1rem 1rem 1.5rem;border-radius:5px;border-color:var(--warm-grey-color)}}.card.normal{border-radius:12px;padding:23px 18px 13px}@media (max-width: 1024px){.card.normal{padding:12px 9px 6px}}.card.small{border-radius:5px;padding:18px 15px}@media (max-width: 1024px){.card.small{padding:.75rem 1rem}}:host(.statement-card){width:auto;cursor:pointer}:host(.statement-card) .card.small{padding:12px 14px;border-radius:3px}@media (max-width: 1024px){:host(.expandable-card) .card.small{padding:.75rem .5rem .75rem .75rem}}\n"] }]
1494
+ }], ctorParameters: () => [], propDecorators: { variant: [{
1495
+ type: Input
1496
+ }] } });
1497
+
1498
+ class AfConnectCardHeaderComponent {
1499
+ constructor() {
1500
+ this.variant = 'normal';
1501
+ this.subtitleColor = 'grey';
1502
+ this.onClick = new EventEmitter();
1503
+ }
1504
+ ngOnInit() { }
1505
+ toggleMobileContent() {
1506
+ this.onClick.emit();
1507
+ }
1508
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AfConnectCardHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1509
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: AfConnectCardHeaderComponent, selector: "lib-af-connect-card-header", inputs: { title: "title", subTitle: "subTitle", variant: "variant", hideBorderLine: "hideBorderLine", subtitleColor: "subtitleColor" }, outputs: { onClick: "onClick" }, ngImport: i0, template: "<div [class]=\"['card-header', variant]\" (click)=\"toggleMobileContent()\">\r\n <div class=\"title-container\">\r\n <div class=\"inner-title-container\">\r\n <div class=\"heading-container\">\r\n <span>{{ title }}</span>\r\n <ng-content select=\"[headingChip]\"></ng-content>\r\n </div>\r\n <div class=\"chip-container\">\r\n <ng-content select=\"[chip]\"></ng-content>\r\n </div>\r\n </div>\r\n <div class=\"subtitle\" [class]=\"[subtitleColor]\">{{ subTitle }}</div>\r\n </div>\r\n <div class=\"buttons-container\">\r\n <ng-content></ng-content>\r\n </div>\r\n </div>\r\n \r\n <div *ngIf=\"!hideBorderLine\" [class]=\"['border-line', variant]\"></div>\r\n ", styles: [":host{flex:1 0 auto;display:flex;flex-direction:column;justify-content:space-between}:host(.beneficiaries-header) .buttons-container{align-self:flex-start}:host(.restricted-fund-card-header){padding:.8rem}@media (max-width: 768px){:host(.restricted-fund-card-header){padding:0}}:host(.restricted-fund-card-header)>.border-line{border:1px solid var(--toggle-button-grey-color);opacity:.3;margin:.2rem}:host(.policies-header){flex-grow:0}:host(.document-card-header) .card-header.small{gap:.5rem}:host(.document-card-header) .card-header.small .title-container{gap:.25rem}.card-header-base,.card-header.small,.card-header.normal{display:flex;flex-direction:row;overflow:hidden;color:var(--primary-dark-teal-color);align-items:center;justify-content:space-between}@media (max-width: 1024px){.card-header-base,.card-header.small,.card-header.normal{gap:6px}}.buttons-container{display:flex;gap:1rem}@media (max-width: 1024px){.buttons-container{justify-content:flex-start}}:host(.claims-header) .buttons-container{display:contents}.border-line{width:100%;margin-top:.85rem;border-bottom:1px solid var(--primary-dark-teal-color)}.border-line.small{display:none}.inner-title-container{display:flex;gap:12px}.heading-container{display:flex;align-items:center;gap:1rem}.title-container-base,.card-header.small .title-container,.card-header.normal .title-container{display:flex;flex-direction:column;gap:.3rem;font-size:16px;font-family:var(--standard-font-family-hero-new-semibold)}@media (max-width: 768px){.title-container-base,.card-header.small .title-container,.card-header.normal .title-container{font-size:.875rem;gap:1px}}.subtitle-base,.card-header.small .subtitle,.card-header.normal .subtitle{font-size:14px;font-family:var(--standard-font-family-hero-new)}@media (max-width: 768px){.subtitle-base,.card-header.small .subtitle,.card-header.normal .subtitle{font-size:.75rem}}.orange-base,.card-header.small .subtitle.orange,.card-header.normal .subtitle.orange{color:var(--bright-orange-color);font-family:var(--standard-font-family-hero-new-bold);opacity:1}.card-header.normal .title-container{color:var(--primary-dark-teal-color)}.card-header.normal .subtitle{color:var(--primary-connected-orange-color)}.card-header.small .title-container{color:var(--secondary-black-color);font-weight:600;gap:0px}@media (max-width: 768px){.card-header.small .title-container{font-size:14px}}.card-header.small .subtitle{opacity:.5;color:var(--main-black-color)}@media (max-width: 768px){.card-header.small .subtitle{font-size:12px}}:host(.claims-header) .card-header.normal .subtitle{color:var(--claim-subtitle-color)}@media (max-width: 768px){:host(.claims-header) .card-header.normal .subtitle{color:var(--claim-info-grey)}}:host(.claims-header) .title-container{width:100%}:host(.claims-header) .inner-title-container{justify-content:space-between}@media (max-width: 768px){:host(.claims-header) .title-container-base,:host(.claims-header) .card-header.normal .title-container,:host(.claims-header) .card-header.small .title-container{flex-direction:row}:host(.claims-header) .inner-title-container{display:block}:host(.claims-header) .subtitle{margin-top:2px;margin-left:-10px}:host(.claims-header) .border-line{margin-top:.35rem}}\n"], dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
1510
+ }
1511
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AfConnectCardHeaderComponent, decorators: [{
1512
+ type: Component,
1513
+ args: [{ selector: 'lib-af-connect-card-header', template: "<div [class]=\"['card-header', variant]\" (click)=\"toggleMobileContent()\">\r\n <div class=\"title-container\">\r\n <div class=\"inner-title-container\">\r\n <div class=\"heading-container\">\r\n <span>{{ title }}</span>\r\n <ng-content select=\"[headingChip]\"></ng-content>\r\n </div>\r\n <div class=\"chip-container\">\r\n <ng-content select=\"[chip]\"></ng-content>\r\n </div>\r\n </div>\r\n <div class=\"subtitle\" [class]=\"[subtitleColor]\">{{ subTitle }}</div>\r\n </div>\r\n <div class=\"buttons-container\">\r\n <ng-content></ng-content>\r\n </div>\r\n </div>\r\n \r\n <div *ngIf=\"!hideBorderLine\" [class]=\"['border-line', variant]\"></div>\r\n ", styles: [":host{flex:1 0 auto;display:flex;flex-direction:column;justify-content:space-between}:host(.beneficiaries-header) .buttons-container{align-self:flex-start}:host(.restricted-fund-card-header){padding:.8rem}@media (max-width: 768px){:host(.restricted-fund-card-header){padding:0}}:host(.restricted-fund-card-header)>.border-line{border:1px solid var(--toggle-button-grey-color);opacity:.3;margin:.2rem}:host(.policies-header){flex-grow:0}:host(.document-card-header) .card-header.small{gap:.5rem}:host(.document-card-header) .card-header.small .title-container{gap:.25rem}.card-header-base,.card-header.small,.card-header.normal{display:flex;flex-direction:row;overflow:hidden;color:var(--primary-dark-teal-color);align-items:center;justify-content:space-between}@media (max-width: 1024px){.card-header-base,.card-header.small,.card-header.normal{gap:6px}}.buttons-container{display:flex;gap:1rem}@media (max-width: 1024px){.buttons-container{justify-content:flex-start}}:host(.claims-header) .buttons-container{display:contents}.border-line{width:100%;margin-top:.85rem;border-bottom:1px solid var(--primary-dark-teal-color)}.border-line.small{display:none}.inner-title-container{display:flex;gap:12px}.heading-container{display:flex;align-items:center;gap:1rem}.title-container-base,.card-header.small .title-container,.card-header.normal .title-container{display:flex;flex-direction:column;gap:.3rem;font-size:16px;font-family:var(--standard-font-family-hero-new-semibold)}@media (max-width: 768px){.title-container-base,.card-header.small .title-container,.card-header.normal .title-container{font-size:.875rem;gap:1px}}.subtitle-base,.card-header.small .subtitle,.card-header.normal .subtitle{font-size:14px;font-family:var(--standard-font-family-hero-new)}@media (max-width: 768px){.subtitle-base,.card-header.small .subtitle,.card-header.normal .subtitle{font-size:.75rem}}.orange-base,.card-header.small .subtitle.orange,.card-header.normal .subtitle.orange{color:var(--bright-orange-color);font-family:var(--standard-font-family-hero-new-bold);opacity:1}.card-header.normal .title-container{color:var(--primary-dark-teal-color)}.card-header.normal .subtitle{color:var(--primary-connected-orange-color)}.card-header.small .title-container{color:var(--secondary-black-color);font-weight:600;gap:0px}@media (max-width: 768px){.card-header.small .title-container{font-size:14px}}.card-header.small .subtitle{opacity:.5;color:var(--main-black-color)}@media (max-width: 768px){.card-header.small .subtitle{font-size:12px}}:host(.claims-header) .card-header.normal .subtitle{color:var(--claim-subtitle-color)}@media (max-width: 768px){:host(.claims-header) .card-header.normal .subtitle{color:var(--claim-info-grey)}}:host(.claims-header) .title-container{width:100%}:host(.claims-header) .inner-title-container{justify-content:space-between}@media (max-width: 768px){:host(.claims-header) .title-container-base,:host(.claims-header) .card-header.normal .title-container,:host(.claims-header) .card-header.small .title-container{flex-direction:row}:host(.claims-header) .inner-title-container{display:block}:host(.claims-header) .subtitle{margin-top:2px;margin-left:-10px}:host(.claims-header) .border-line{margin-top:.35rem}}\n"] }]
1514
+ }], propDecorators: { title: [{
1515
+ type: Input
1516
+ }], subTitle: [{
1517
+ type: Input
1518
+ }], variant: [{
1519
+ type: Input
1520
+ }], hideBorderLine: [{
1521
+ type: Input
1522
+ }], subtitleColor: [{
1523
+ type: Input
1524
+ }], onClick: [{
1525
+ type: Output
1526
+ }] } });
1527
+
1528
+ class AfConnectChipComponent {
1529
+ constructor() {
1530
+ this.variant = 'greenish-text';
1531
+ }
1532
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AfConnectChipComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1533
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: AfConnectChipComponent, selector: "lib-af-connect-chip", inputs: { title: "title", borderRadius: "borderRadius", additionalStyle: "additionalStyle", variant: "variant" }, ngImport: i0, template: "<div\r\n [ngClass]=\"['chip', variant]\"\r\n [ngStyle]=\"{\r\n borderRadius: borderRadius + 'px',\r\n background: additionalStyle && additionalStyle.background ? additionalStyle.background : ''\r\n }\"\r\n>\r\n <div\r\n [ngStyle]=\"{\r\n color: additionalStyle && additionalStyle.color ? additionalStyle.color : ''\r\n }\"\r\n >\r\n <ng-content></ng-content>\r\n </div>\r\n</div>\r\n", styles: [":host{display:flex;justify-content:center;align-items:center}.small,.chip.greenish-text{padding:.3rem .75rem;border-radius:1rem}.medium,.chip.percentage,.chip.greenish-count{min-width:54px;min-height:28px;border-radius:1rem;font-weight:500}.green-chip,.chip.status,.chip.greenish-count,.chip.greenish-text{background:var(--secondary-egg-shell-color);color:var(--primary-dark-teal-color)}.chip{font-size:12px;display:flex;align-items:center;justify-content:center;font-family:var(--standard-font-family-hero-new);width:fit-content}@media (max-width: 768px){.chip.greenish-text{font-size:.75rem;padding:5px 10px;gap:0px}}.chip.percentage{background:var(--primary-catalyst-yellow-color-low-opacity);color:var(--primary-connected-orange-color);font-family:var(--standard-font-family-hero-new-semibold)}.chip.status{min-height:26px;font-weight:400;border-radius:1rem;padding:0 15px}.chip.claims{border-radius:1rem;padding:5.6px 15px}.chip.case-number{border-radius:1rem;border:1px solid var(--primary-dark-teal-color);color:var(--primary-dark-teal-color);padding:5.6px .75rem;font-family:var(--standard-font-family-hero-new-semibold)}@media (max-width: 768px){.chip.case-number{display:none}}.chip.dot,.chip.dot-teal,.chip.dot-orange{background:var(--secondary-egg-shell-color);color:var(--primary-dark-teal-color);padding:0 5px;border-radius:1rem;min-height:10px;display:inline-block}.chip.dot-orange{background:var(--primary-catalyst-yellow-color)}.chip.dot-teal{background:var(--primary-dark-teal-color)}:host(.transaction-modal) .chip{font-family:var(--standard-font-family-hero-new-bold);font-size:14px;padding:6px 18px}@media (max-width: 768px){:host(.transaction-modal) .chip{font-size:.875rem;padding:8px 18px}}@media (max-width: 768px){:host(.transaction-mobile) .chip{font-size:.875rem;padding:8px 18px;font-family:var(--standard-font-family-hero-new-bold)}}\n"], dependencies: [{ kind: "directive", type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] }); }
1534
+ }
1535
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AfConnectChipComponent, decorators: [{
1536
+ type: Component,
1537
+ args: [{ selector: 'lib-af-connect-chip', template: "<div\r\n [ngClass]=\"['chip', variant]\"\r\n [ngStyle]=\"{\r\n borderRadius: borderRadius + 'px',\r\n background: additionalStyle && additionalStyle.background ? additionalStyle.background : ''\r\n }\"\r\n>\r\n <div\r\n [ngStyle]=\"{\r\n color: additionalStyle && additionalStyle.color ? additionalStyle.color : ''\r\n }\"\r\n >\r\n <ng-content></ng-content>\r\n </div>\r\n</div>\r\n", styles: [":host{display:flex;justify-content:center;align-items:center}.small,.chip.greenish-text{padding:.3rem .75rem;border-radius:1rem}.medium,.chip.percentage,.chip.greenish-count{min-width:54px;min-height:28px;border-radius:1rem;font-weight:500}.green-chip,.chip.status,.chip.greenish-count,.chip.greenish-text{background:var(--secondary-egg-shell-color);color:var(--primary-dark-teal-color)}.chip{font-size:12px;display:flex;align-items:center;justify-content:center;font-family:var(--standard-font-family-hero-new);width:fit-content}@media (max-width: 768px){.chip.greenish-text{font-size:.75rem;padding:5px 10px;gap:0px}}.chip.percentage{background:var(--primary-catalyst-yellow-color-low-opacity);color:var(--primary-connected-orange-color);font-family:var(--standard-font-family-hero-new-semibold)}.chip.status{min-height:26px;font-weight:400;border-radius:1rem;padding:0 15px}.chip.claims{border-radius:1rem;padding:5.6px 15px}.chip.case-number{border-radius:1rem;border:1px solid var(--primary-dark-teal-color);color:var(--primary-dark-teal-color);padding:5.6px .75rem;font-family:var(--standard-font-family-hero-new-semibold)}@media (max-width: 768px){.chip.case-number{display:none}}.chip.dot,.chip.dot-teal,.chip.dot-orange{background:var(--secondary-egg-shell-color);color:var(--primary-dark-teal-color);padding:0 5px;border-radius:1rem;min-height:10px;display:inline-block}.chip.dot-orange{background:var(--primary-catalyst-yellow-color)}.chip.dot-teal{background:var(--primary-dark-teal-color)}:host(.transaction-modal) .chip{font-family:var(--standard-font-family-hero-new-bold);font-size:14px;padding:6px 18px}@media (max-width: 768px){:host(.transaction-modal) .chip{font-size:.875rem;padding:8px 18px}}@media (max-width: 768px){:host(.transaction-mobile) .chip{font-size:.875rem;padding:8px 18px;font-family:var(--standard-font-family-hero-new-bold)}}\n"] }]
1538
+ }], propDecorators: { title: [{
1539
+ type: Input
1540
+ }], borderRadius: [{
1541
+ type: Input
1542
+ }], additionalStyle: [{
1543
+ type: Input
1544
+ }], variant: [{
1545
+ type: Input
1546
+ }] } });
1547
+
1548
+ class AfConnectChartComponent {
1549
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AfConnectChartComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1550
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: AfConnectChartComponent, selector: "lib-af-connect-chart", ngImport: i0, template: "<p>af-connect-chart works!</p>\r\n", styles: [""] }); }
1551
+ }
1552
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AfConnectChartComponent, decorators: [{
1553
+ type: Component,
1554
+ args: [{ selector: 'lib-af-connect-chart', template: "<p>af-connect-chart works!</p>\r\n" }]
1555
+ }] });
1556
+
1557
+ class AfConnectErrorComponent {
1558
+ constructor() {
1559
+ this.height = 'small';
1560
+ this.alignContent = 'left';
1561
+ }
1562
+ ngOnInit() { }
1563
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AfConnectErrorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1564
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: AfConnectErrorComponent, selector: "lib-af-connect-error", inputs: { src: "src", title: "title", message: "message", height: "height", alignContent: "alignContent" }, ngImport: i0, template: "<div [class]=\"[alignContent, 'error-container', height]\">\r\n <img class=\"svg\" [src]=\"src\" />\r\n <span class=\"error-title\">{{ title }}</span>\r\n <span class=\"error-message\">{{ message }}</span>\r\n </div>\r\n ", styles: ["img{background:none;border:none;width:74px;height:55px;margin-bottom:1rem}.center{align-items:center;text-align:center}.left{align-items:start}.error-container{display:flex;flex-direction:column;justify-content:center}@media (max-width: 1024px){.error-container{align-items:center;text-align:center}}.error-container.medium{height:15rem;margin-top:-1rem}.error-container.large{height:20rem;margin-top:-1rem}.error-title{font-size:18px;font-family:var(--standard-font-family-hero-new-semibold);color:var(--secondary-black-color)}.error-message{font-size:14px;font-family:var(--standard-font-family-hero-new);color:var(--secondary-black-color)}\n"] }); }
1565
+ }
1566
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AfConnectErrorComponent, decorators: [{
1567
+ type: Component,
1568
+ args: [{ selector: 'lib-af-connect-error', template: "<div [class]=\"[alignContent, 'error-container', height]\">\r\n <img class=\"svg\" [src]=\"src\" />\r\n <span class=\"error-title\">{{ title }}</span>\r\n <span class=\"error-message\">{{ message }}</span>\r\n </div>\r\n ", styles: ["img{background:none;border:none;width:74px;height:55px;margin-bottom:1rem}.center{align-items:center;text-align:center}.left{align-items:start}.error-container{display:flex;flex-direction:column;justify-content:center}@media (max-width: 1024px){.error-container{align-items:center;text-align:center}}.error-container.medium{height:15rem;margin-top:-1rem}.error-container.large{height:20rem;margin-top:-1rem}.error-title{font-size:18px;font-family:var(--standard-font-family-hero-new-semibold);color:var(--secondary-black-color)}.error-message{font-size:14px;font-family:var(--standard-font-family-hero-new);color:var(--secondary-black-color)}\n"] }]
1569
+ }], ctorParameters: () => [], propDecorators: { src: [{
1570
+ type: Input
1571
+ }], title: [{
1572
+ type: Input
1573
+ }], message: [{
1574
+ type: Input
1575
+ }], height: [{
1576
+ type: Input
1577
+ }], alignContent: [{
1578
+ type: Input
1579
+ }] } });
1580
+
1581
+ var Severity;
1582
+ (function (Severity) {
1583
+ Severity["Error"] = "Error!";
1584
+ Severity["Warning"] = "Warning!";
1585
+ })(Severity || (Severity = {}));
1586
+ ;
1587
+ class AfConnectInlineErrorComponent {
1588
+ constructor() {
1589
+ this.severity = Severity.Error;
1590
+ this.size = 'none';
1591
+ }
1592
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AfConnectInlineErrorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1593
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: AfConnectInlineErrorComponent, selector: "lib-af-connect-inline-error", inputs: { severity: "severity", message: "message", src: "src", size: "size" }, ngImport: i0, template: "<div class=\"inline-error-container\">\r\n <img [class]=\"['svg', size]\" [src]=\"src\" />\r\n <span class=\"inline-error-title\">{{ severity }}</span>\r\n <span class=\"inline-error-message\">{{ message }}</span>\r\n </div>\r\n ", styles: [":host{display:flex;min-height:2rem;padding-top:.5em;flex-direction:column}img{background:none;border:none;cursor:pointer;justify-content:center}.svg.small{width:14px;height:14px}.svg.medium{width:16px;height:16px}@media (max-width: 768px){.svg.medium{width:14px;height:14px}}@media (max-width: 1024px){.svg.large{width:23px;height:23px}}.inline-error-container{background:var(--neutral-inline-error-color);border:1px solid var(--primary-orange-mobile-color);border-radius:5px;padding:.5rem 1rem;opacity:1;display:flex;align-items:center;gap:1rem;border-left:8px solid var(--primary-orange-mobile-color)}.inline-error-title{font-family:Hero New SemiBold;font-size:14px;color:var(--main-black-color);display:flex;justify-content:center}.inline-error-message{font-size:12px;color:var(--main-black-color);display:flex;justify-content:center}\n"] }); }
1594
+ }
1595
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AfConnectInlineErrorComponent, decorators: [{
1596
+ type: Component,
1597
+ args: [{ selector: 'lib-af-connect-inline-error', template: "<div class=\"inline-error-container\">\r\n <img [class]=\"['svg', size]\" [src]=\"src\" />\r\n <span class=\"inline-error-title\">{{ severity }}</span>\r\n <span class=\"inline-error-message\">{{ message }}</span>\r\n </div>\r\n ", styles: [":host{display:flex;min-height:2rem;padding-top:.5em;flex-direction:column}img{background:none;border:none;cursor:pointer;justify-content:center}.svg.small{width:14px;height:14px}.svg.medium{width:16px;height:16px}@media (max-width: 768px){.svg.medium{width:14px;height:14px}}@media (max-width: 1024px){.svg.large{width:23px;height:23px}}.inline-error-container{background:var(--neutral-inline-error-color);border:1px solid var(--primary-orange-mobile-color);border-radius:5px;padding:.5rem 1rem;opacity:1;display:flex;align-items:center;gap:1rem;border-left:8px solid var(--primary-orange-mobile-color)}.inline-error-title{font-family:Hero New SemiBold;font-size:14px;color:var(--main-black-color);display:flex;justify-content:center}.inline-error-message{font-size:12px;color:var(--main-black-color);display:flex;justify-content:center}\n"] }]
1598
+ }], propDecorators: { severity: [{
1599
+ type: Input
1600
+ }], message: [{
1601
+ type: Input
1602
+ }], src: [{
1603
+ type: Input
1604
+ }], size: [{
1605
+ type: Input
1606
+ }] } });
1607
+
1608
+ class AfConnectLoadingSpinnerComponent {
1609
+ constructor() {
1610
+ this.size = 'standard';
1611
+ }
1612
+ ngOnInit() {
1613
+ }
1614
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AfConnectLoadingSpinnerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1615
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: AfConnectLoadingSpinnerComponent, selector: "lib-af-connect-loading-spinner", inputs: { size: "size" }, ngImport: i0, template: "<div class=\"spinner\">\r\n <div [class]=\"size\"></div>\r\n <div [class]=\"size\"></div>\r\n <div [class]=\"size\"></div>\r\n <div [class]=\"size\"></div>\r\n</div>", styles: [":host{display:flex;justify-content:center;align-self:center}.spinner{display:inline-block;position:relative;width:80px;height:80px}.spinner div{box-sizing:border-box;display:block;position:absolute;width:4rem;height:4rem;margin:.5rem;border:.5rem solid var(--primary-dark-teal-color);border-radius:50%;animation:spinner 1.2s cubic-bezier(.5,0,.5,1) infinite;border-color:var(--primary-dark-teal-color) transparent transparent transparent}.spinner div.small{width:1rem;height:1rem;border-width:.2rem;border-color:var(--neutral-anchor-color) transparent transparent transparent}.spinner div:nth-child(1){animation-delay:-.45s}.spinner div:nth-child(2){animation-delay:-.3s}.spinner div:nth-child(3){animation-delay:-.15s}@keyframes spinner{0%{transform:rotate(0)}to{transform:rotate(360deg)}}:host(.btn-spinner) .spinner{width:40px;height:40px}:host(.btn-spinner) .spinner div{width:1.5rem;height:1.5rem;border:.15rem solid #fff;border-color:#fff transparent transparent transparent}\n"] }); }
1616
+ }
1617
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AfConnectLoadingSpinnerComponent, decorators: [{
1618
+ type: Component,
1619
+ args: [{ selector: 'lib-af-connect-loading-spinner', template: "<div class=\"spinner\">\r\n <div [class]=\"size\"></div>\r\n <div [class]=\"size\"></div>\r\n <div [class]=\"size\"></div>\r\n <div [class]=\"size\"></div>\r\n</div>", styles: [":host{display:flex;justify-content:center;align-self:center}.spinner{display:inline-block;position:relative;width:80px;height:80px}.spinner div{box-sizing:border-box;display:block;position:absolute;width:4rem;height:4rem;margin:.5rem;border:.5rem solid var(--primary-dark-teal-color);border-radius:50%;animation:spinner 1.2s cubic-bezier(.5,0,.5,1) infinite;border-color:var(--primary-dark-teal-color) transparent transparent transparent}.spinner div.small{width:1rem;height:1rem;border-width:.2rem;border-color:var(--neutral-anchor-color) transparent transparent transparent}.spinner div:nth-child(1){animation-delay:-.45s}.spinner div:nth-child(2){animation-delay:-.3s}.spinner div:nth-child(3){animation-delay:-.15s}@keyframes spinner{0%{transform:rotate(0)}to{transform:rotate(360deg)}}:host(.btn-spinner) .spinner{width:40px;height:40px}:host(.btn-spinner) .spinner div{width:1.5rem;height:1.5rem;border:.15rem solid #fff;border-color:#fff transparent transparent transparent}\n"] }]
1620
+ }], ctorParameters: () => [], propDecorators: { size: [{
1621
+ type: Input
1622
+ }] } });
1623
+
1624
+ class AfConnectSvgButtonComponent {
1625
+ constructor() {
1626
+ this.size = 'none';
1627
+ this.clickBtn = new EventEmitter();
1628
+ }
1629
+ ngOnInit() { }
1630
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AfConnectSvgButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1631
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: AfConnectSvgButtonComponent, selector: "lib-af-connect-svg-button", inputs: { src: "src", emitValue: "emitValue", customSize: "customSize", size: "size" }, outputs: { clickBtn: "clickBtn" }, ngImport: i0, template: "<img\r\n [class]=\"['svg', size]\"\r\n [ngStyle]=\"{ width: customSize, height: customSize }\"\r\n (click)=\"this.clickBtn.emit(emitValue)\"\r\n [src]=\"src\"\r\n/>\r\n", styles: [":host{display:flex;justify-content:center;align-items:center}img{background:none;border:none;padding:0;cursor:pointer}.svg.small{width:14px;height:14px}.svg.medium{width:30px;height:30px}@media (max-width: 768px){.svg.medium{width:20px;height:20px}}.svg.large{width:42px;height:42px}@media (max-width: 1024px){.svg.large.large{width:32px;height:32px}}@media (max-width: 1024px){:host(.external-info) img{width:14px;height:14px}}@media (max-width: 1024px){:host(.external-investments) img{width:16px;height:16px}}\n"], dependencies: [{ kind: "directive", type: i1$1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] }); }
1632
+ }
1633
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AfConnectSvgButtonComponent, decorators: [{
1634
+ type: Component,
1635
+ args: [{ selector: 'lib-af-connect-svg-button', template: "<img\r\n [class]=\"['svg', size]\"\r\n [ngStyle]=\"{ width: customSize, height: customSize }\"\r\n (click)=\"this.clickBtn.emit(emitValue)\"\r\n [src]=\"src\"\r\n/>\r\n", styles: [":host{display:flex;justify-content:center;align-items:center}img{background:none;border:none;padding:0;cursor:pointer}.svg.small{width:14px;height:14px}.svg.medium{width:30px;height:30px}@media (max-width: 768px){.svg.medium{width:20px;height:20px}}.svg.large{width:42px;height:42px}@media (max-width: 1024px){.svg.large.large{width:32px;height:32px}}@media (max-width: 1024px){:host(.external-info) img{width:14px;height:14px}}@media (max-width: 1024px){:host(.external-investments) img{width:16px;height:16px}}\n"] }]
1636
+ }], ctorParameters: () => [], propDecorators: { src: [{
1637
+ type: Input
1638
+ }], emitValue: [{
1639
+ type: Input
1640
+ }], customSize: [{
1641
+ type: Input
1642
+ }], size: [{
1643
+ type: Input
1644
+ }], clickBtn: [{
1645
+ type: Output
1646
+ }] } });
1647
+
1648
+ /**
1649
+ Example usage
1650
+ <afc-modal>
1651
+ <afc-button isOpenButton title="Open Modal"></afc-button>
1652
+ <div class="content">
1653
+ <afc-button emitValue="isCloseModal" title="Close Modal"></afc-button>
1654
+ <h1> This is test modal </h1>
1655
+ </div>
1656
+ </afc-modal>
1657
+
1658
+ isOpenButton tag specifies which element triggers the modal (usually a button), and it is always shown.
1659
+ Pass [isCloseButton]="true" to a button to specify which buttons in the modal should be used
1660
+ for closing the modal.Everything that does not have isOpenButton tag is the content of the modal.
1661
+
1662
+ No additional event handling required for open/close of the modal.
1663
+
1664
+
1665
+ */
1666
+ class AfConnectModalComponent {
1667
+ constructor(elementRef) {
1668
+ this.isOpen = false;
1669
+ this.disableOutsideClickClose = false;
1670
+ this.withCloseButton = true;
1671
+ this.variant = 'standard';
1672
+ this.onClose = new EventEmitter();
1673
+ this.nativeElement = elementRef.nativeElement;
1674
+ }
1675
+ ngAfterViewInit() {
1676
+ this.svgButton.forEach((svgButton) => svgButton.clickBtn.subscribe((emitValue) => {
1677
+ if (!this.disableOutsideClickClose) {
1678
+ this.closeFromModal(emitValue);
1679
+ }
1680
+ }));
1681
+ this.buttons.forEach((buttons) => buttons.clickBtn.subscribe((emitValue) => {
1682
+ // if (!this.disableOutsideClickClose) {
1683
+ this.closeFromModal(emitValue);
1684
+ // }
1685
+ }));
1686
+ }
1687
+ toggleModal() {
1688
+ this.isOpen = !this.isOpen;
1689
+ this.onClose.emit(this.isOpen);
1690
+ }
1691
+ externalClickClose(e) {
1692
+ if (!this.disableOutsideClickClose) {
1693
+ const target = e.target;
1694
+ if (target.classList.contains('content-container') || target.classList.contains('background-container')) {
1695
+ this.isOpen = false;
1696
+ this.onClose.emit(this.isOpen);
1697
+ }
1698
+ }
1699
+ }
1700
+ ngOnDestroy() { }
1701
+ closeFromModal(emitValue) {
1702
+ if (emitValue === 'isCloseModal') {
1703
+ this.isOpen = false;
1704
+ this.onClose.emit(this.isOpen);
1705
+ }
1706
+ }
1707
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AfConnectModalComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
1708
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: AfConnectModalComponent, selector: "lib-af-connect-modal", inputs: { isOpen: "isOpen", disableOutsideClickClose: "disableOutsideClickClose", withCloseButton: "withCloseButton", variant: "variant", header: "header", content: "content", width: "width", noScrollbarContentContainer: "noScrollbarContentContainer", reversedPadding: "reversedPadding", borderHighlight: "borderHighlight" }, outputs: { onClose: "onClose" }, queries: [{ propertyName: "buttons", predicate: AfConnectButtonComponent, descendants: true }, { propertyName: "svgButton", predicate: AfConnectSvgButtonComponent, descendants: true }], ngImport: i0, template: "<div class=\"modal-wrapper\" (click)=\"toggleModal()\">\r\n <ng-content select=\"[isOpenButton]\"></ng-content>\r\n </div>\r\n \r\n <div *ngIf=\"isOpen\" class=\"background-container\" (click)=\"externalClickClose($event)\">\r\n <div\r\n [ngStyle]=\"{ width: width + 'px' }\"\r\n [ngClass]=\"[\r\n 'content-container',\r\n variant,\r\n noScrollbarContentContainer ? 'noScrollbar' : '',\r\n borderHighlight ? 'with-border' : ''\r\n ]\"\r\n >\r\n <div *ngIf=\"variant !== 'standard'\" class=\"color-bar\"></div>\r\n <div [ngStyle]=\"{ padding: reversedPadding ? '0px' : null }\" class=\"inner-container\">\r\n <div\r\n *ngIf=\"header\"\r\n class=\"header-container\"\r\n [ngStyle]=\"{ padding: reversedPadding ? '24px 24px 20px 24px' : null }\"\r\n >\r\n <div class=\"header-content\">\r\n <img *ngIf=\"variant === 'error'\" src=\"../../../../assets/icons/warning.svg\" class=\"warning-icon\" />\r\n {{ header }}\r\n </div>\r\n <lib-af-connect-svg-button\r\n *ngIf=\"withCloseButton\"\r\n size=\"small\"\r\n src=\"../../../assets/icons/delete.svg\"\r\n emitValue=\"isCloseModal\"\r\n (clickBtn)=\"toggleModal()\"\r\n ></lib-af-connect-svg-button>\r\n </div>\r\n <div class=\"body-container\">\r\n <ng-container *ngIf=\"content\">\r\n {{ content }}\r\n </ng-container>\r\n <ng-content></ng-content>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n ", styles: [".background-container{top:0;left:0;width:100%;height:100vh;position:fixed;background:#0003;z-index:2000;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);overflow-y:hidden}.content-container{box-sizing:border-box;z-index:2050;position:relative;top:15%;margin:auto;overflow:auto;max-height:75%;background:var(--main-white-color);border-radius:5px;max-width:85%}@media (max-width: 768px){.content-container{max-height:95%;width:auto;max-width:95%;top:5%}}.content-container.noScrollbar{overflow:hidden}.content-container.error,.content-container.info{display:flex;align-items:stretch}.content-container.error .inner-container,.content-container.info .inner-container{padding:1.25rem}.content-container.error .header-container,.content-container.info .header-container{color:var(--main-black-color);border-bottom-color:var(--claim-info-grey)}@media (max-width: 768px){.content-container.error .header-container,.content-container.info .header-container{padding-bottom:1.25rem}}.content-container.error .body-container,.content-container.info .body-container{padding-block:1.25rem .5rem}@media (max-width: 768px){.content-container.error .body-container,.content-container.info .body-container{padding-top:1rem}}.inner-container{box-sizing:border-box;width:100%;padding:1.5rem}@media (max-width: 768px){.inner-container{padding:1rem}}.color-bar{width:.5rem;background-color:var(--primary-connected-orange-color)}.header-container{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--primary-dark-teal-color);padding-bottom:1.25rem;color:var(--primary-dark-teal-color);font-size:1.25rem;font-family:var(--standard-font-family-hero-new-semibold)}@media (max-width: 768px){.header-container{font-size:1.125rem;padding-bottom:.5rem}}.header-content{display:flex;align-items:center;gap:1.25rem}.header-content .warning-icon{width:2rem;aspect-ratio:1}@media (max-width: 768px){.header-content{gap:.875rem}.header-content .warning-icon{width:1.625rem}}.content-container.with-border{border-left:8px solid var(--primary-orange-mobile-color)}:host(.claim-details-modal-mobile) .body-container{display:flex}:host(.claim-details-modal-mobile) .inner-container{max-height:90vh}\n"], dependencies: [{ kind: "directive", type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: AfConnectSvgButtonComponent, selector: "lib-af-connect-svg-button", inputs: ["src", "emitValue", "customSize", "size"], outputs: ["clickBtn"] }] }); }
1709
+ }
1710
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AfConnectModalComponent, decorators: [{
1711
+ type: Component,
1712
+ args: [{ selector: 'lib-af-connect-modal', template: "<div class=\"modal-wrapper\" (click)=\"toggleModal()\">\r\n <ng-content select=\"[isOpenButton]\"></ng-content>\r\n </div>\r\n \r\n <div *ngIf=\"isOpen\" class=\"background-container\" (click)=\"externalClickClose($event)\">\r\n <div\r\n [ngStyle]=\"{ width: width + 'px' }\"\r\n [ngClass]=\"[\r\n 'content-container',\r\n variant,\r\n noScrollbarContentContainer ? 'noScrollbar' : '',\r\n borderHighlight ? 'with-border' : ''\r\n ]\"\r\n >\r\n <div *ngIf=\"variant !== 'standard'\" class=\"color-bar\"></div>\r\n <div [ngStyle]=\"{ padding: reversedPadding ? '0px' : null }\" class=\"inner-container\">\r\n <div\r\n *ngIf=\"header\"\r\n class=\"header-container\"\r\n [ngStyle]=\"{ padding: reversedPadding ? '24px 24px 20px 24px' : null }\"\r\n >\r\n <div class=\"header-content\">\r\n <img *ngIf=\"variant === 'error'\" src=\"../../../../assets/icons/warning.svg\" class=\"warning-icon\" />\r\n {{ header }}\r\n </div>\r\n <lib-af-connect-svg-button\r\n *ngIf=\"withCloseButton\"\r\n size=\"small\"\r\n src=\"../../../assets/icons/delete.svg\"\r\n emitValue=\"isCloseModal\"\r\n (clickBtn)=\"toggleModal()\"\r\n ></lib-af-connect-svg-button>\r\n </div>\r\n <div class=\"body-container\">\r\n <ng-container *ngIf=\"content\">\r\n {{ content }}\r\n </ng-container>\r\n <ng-content></ng-content>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n ", styles: [".background-container{top:0;left:0;width:100%;height:100vh;position:fixed;background:#0003;z-index:2000;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);overflow-y:hidden}.content-container{box-sizing:border-box;z-index:2050;position:relative;top:15%;margin:auto;overflow:auto;max-height:75%;background:var(--main-white-color);border-radius:5px;max-width:85%}@media (max-width: 768px){.content-container{max-height:95%;width:auto;max-width:95%;top:5%}}.content-container.noScrollbar{overflow:hidden}.content-container.error,.content-container.info{display:flex;align-items:stretch}.content-container.error .inner-container,.content-container.info .inner-container{padding:1.25rem}.content-container.error .header-container,.content-container.info .header-container{color:var(--main-black-color);border-bottom-color:var(--claim-info-grey)}@media (max-width: 768px){.content-container.error .header-container,.content-container.info .header-container{padding-bottom:1.25rem}}.content-container.error .body-container,.content-container.info .body-container{padding-block:1.25rem .5rem}@media (max-width: 768px){.content-container.error .body-container,.content-container.info .body-container{padding-top:1rem}}.inner-container{box-sizing:border-box;width:100%;padding:1.5rem}@media (max-width: 768px){.inner-container{padding:1rem}}.color-bar{width:.5rem;background-color:var(--primary-connected-orange-color)}.header-container{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--primary-dark-teal-color);padding-bottom:1.25rem;color:var(--primary-dark-teal-color);font-size:1.25rem;font-family:var(--standard-font-family-hero-new-semibold)}@media (max-width: 768px){.header-container{font-size:1.125rem;padding-bottom:.5rem}}.header-content{display:flex;align-items:center;gap:1.25rem}.header-content .warning-icon{width:2rem;aspect-ratio:1}@media (max-width: 768px){.header-content{gap:.875rem}.header-content .warning-icon{width:1.625rem}}.content-container.with-border{border-left:8px solid var(--primary-orange-mobile-color)}:host(.claim-details-modal-mobile) .body-container{display:flex}:host(.claim-details-modal-mobile) .inner-container{max-height:90vh}\n"] }]
1713
+ }], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { isOpen: [{
1714
+ type: Input
1715
+ }], disableOutsideClickClose: [{
1716
+ type: Input
1717
+ }], withCloseButton: [{
1718
+ type: Input
1719
+ }], variant: [{
1720
+ type: Input
1721
+ }], header: [{
1722
+ type: Input
1723
+ }], content: [{
1724
+ type: Input
1725
+ }], width: [{
1726
+ type: Input
1727
+ }], noScrollbarContentContainer: [{
1728
+ type: Input
1729
+ }], reversedPadding: [{
1730
+ type: Input
1731
+ }], borderHighlight: [{
1732
+ type: Input
1733
+ }], onClose: [{
1734
+ type: Output
1735
+ }], buttons: [{
1736
+ type: ContentChildren,
1737
+ args: [AfConnectButtonComponent, { descendants: true }]
1738
+ }], svgButton: [{
1739
+ type: ContentChildren,
1740
+ args: [AfConnectSvgButtonComponent, { descendants: true }]
1741
+ }] } });
1742
+
1743
+ class AfConnectNoContentComponent {
1744
+ constructor() {
1745
+ this.alignContent = 'left';
1746
+ this.height = 'small';
1747
+ }
1748
+ ngOnInit() { }
1749
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AfConnectNoContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1750
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: AfConnectNoContentComponent, selector: "lib-af-connect-no-content", inputs: { src: "src", title: "title", message: "message", alignContent: "alignContent", height: "height" }, ngImport: i0, template: "<div [class]=\"[alignContent, 'no-content-container', height]\">\r\n <img class=\"svg\" [src]=\"src\" />\r\n <div class=\"info-container\">\r\n <p class=\"no-content-title\">{{ title }}</p>\r\n <p class=\"no-content-message\">{{ message }}</p>\r\n </div>\r\n </div>\r\n ", styles: ["img{background:none;border:none;width:74px;height:55px;padding:1rem 1rem 1rem 0rem}.center{justify-content:center}.left{justify-content:start}.no-content-container{width:100%;display:flex;justify-content:center;align-items:center;background-color:var(--bright-apple-color-with-opacity);border-radius:15px}@media (max-width: 1024px){.no-content-container{justify-content:center;text-align:start}}.no-content-container.medium{height:15rem}.no-content-container.large{height:20rem}.no-content-container.xLarge{height:25rem}@media (max-width: 768px){.no-content-container.xLarge{height:27em}}.no-content-container.fill{height:100%}.info-container{padding:1rem 0rem}.no-content-message{font-size:var(--standard-font-size-16);font-family:var(--standard-font-family-hero-new);color:var(--secondary-black-color)}@media (max-width: 1024px){.no-content-message{font-size:var(--standard-font-size-14)}}@media (max-width: 768px){.no-content-message{font-size:var(--standard-font-size-14)}}.no-content-title{font-size:var(--standard-font-size-18);font-family:var(--standard-font-family-hero-new-semibold);color:var(--secondary-black-color)}@media (max-width: 1024px){.no-content-title{font-size:var(--standard-font-size-16)}}@media (max-width: 768px){.no-content-title{font-size:var(--standard-font-size-14)}}.no-content-message,.no-content-title{margin:0}:host(.full-width){position:relative;width:100%;display:block}\n"] }); }
1751
+ }
1752
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AfConnectNoContentComponent, decorators: [{
1753
+ type: Component,
1754
+ args: [{ selector: 'lib-af-connect-no-content', template: "<div [class]=\"[alignContent, 'no-content-container', height]\">\r\n <img class=\"svg\" [src]=\"src\" />\r\n <div class=\"info-container\">\r\n <p class=\"no-content-title\">{{ title }}</p>\r\n <p class=\"no-content-message\">{{ message }}</p>\r\n </div>\r\n </div>\r\n ", styles: ["img{background:none;border:none;width:74px;height:55px;padding:1rem 1rem 1rem 0rem}.center{justify-content:center}.left{justify-content:start}.no-content-container{width:100%;display:flex;justify-content:center;align-items:center;background-color:var(--bright-apple-color-with-opacity);border-radius:15px}@media (max-width: 1024px){.no-content-container{justify-content:center;text-align:start}}.no-content-container.medium{height:15rem}.no-content-container.large{height:20rem}.no-content-container.xLarge{height:25rem}@media (max-width: 768px){.no-content-container.xLarge{height:27em}}.no-content-container.fill{height:100%}.info-container{padding:1rem 0rem}.no-content-message{font-size:var(--standard-font-size-16);font-family:var(--standard-font-family-hero-new);color:var(--secondary-black-color)}@media (max-width: 1024px){.no-content-message{font-size:var(--standard-font-size-14)}}@media (max-width: 768px){.no-content-message{font-size:var(--standard-font-size-14)}}.no-content-title{font-size:var(--standard-font-size-18);font-family:var(--standard-font-family-hero-new-semibold);color:var(--secondary-black-color)}@media (max-width: 1024px){.no-content-title{font-size:var(--standard-font-size-16)}}@media (max-width: 768px){.no-content-title{font-size:var(--standard-font-size-14)}}.no-content-message,.no-content-title{margin:0}:host(.full-width){position:relative;width:100%;display:block}\n"] }]
1755
+ }], ctorParameters: () => [], propDecorators: { src: [{
1756
+ type: Input
1757
+ }], title: [{
1758
+ type: Input
1759
+ }], message: [{
1760
+ type: Input
1761
+ }], alignContent: [{
1762
+ type: Input
1763
+ }], height: [{
1764
+ type: Input
1765
+ }] } });
1766
+
1767
+ class AfConnectNotificationComponent {
1768
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AfConnectNotificationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1769
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: AfConnectNotificationComponent, selector: "lib-af-connect-notification", inputs: { data: "data", variant: "variant" }, ngImport: i0, template: "<div [class]=\"['wrapper', variant]\">\r\n <div [class]=\"['svg-container', variant]\">\r\n <img [class]=\"['svg-overlay', variant]\" src=\"/assets/icons/tool.svg\" alt=\"\">\r\n <img [class]=\"['svg-background', variant]\" src=\"/assets/icons/splash_background.svg\" alt=\"\">\r\n </div>\r\n \r\n <div class=\"text-container\">\r\n <span>{{ data.categoryTitleToDisplay }}</span>\r\n <div [innerHTML]=\"data.htmlContent\"></div>\r\n </div>\r\n</div>\r\n", styles: [".wrapper{display:flex;gap:1rem;height:fit-content;background-color:#fff6eb;border:1px solid #F69521;border-left:5px solid #F69521;border-radius:5px;box-sizing:border-box;padding:1rem}.wrapper.wide{z-index:1;position:relative;border-radius:0}.wrapper .text-container{display:flex;flex-direction:column;gap:.5rem}.wrapper .text-container span{font-family:Hero New Bold;font-size:16px}.wrapper .text-container div{margin:0;font-size:14px}.svg-container{position:relative}.svg-overlay{position:absolute}.svg-overlay.small{width:31px;height:25px;left:.5rem}.svg-overlay.wide{width:71px;height:58px;top:1rem;left:3rem}.svg-background.small{width:47px;height:24px}.svg-background.wide{width:158px;height:85px}\n"] }); }
1770
+ }
1771
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AfConnectNotificationComponent, decorators: [{
1772
+ type: Component,
1773
+ args: [{ selector: 'lib-af-connect-notification', template: "<div [class]=\"['wrapper', variant]\">\r\n <div [class]=\"['svg-container', variant]\">\r\n <img [class]=\"['svg-overlay', variant]\" src=\"/assets/icons/tool.svg\" alt=\"\">\r\n <img [class]=\"['svg-background', variant]\" src=\"/assets/icons/splash_background.svg\" alt=\"\">\r\n </div>\r\n \r\n <div class=\"text-container\">\r\n <span>{{ data.categoryTitleToDisplay }}</span>\r\n <div [innerHTML]=\"data.htmlContent\"></div>\r\n </div>\r\n</div>\r\n", styles: [".wrapper{display:flex;gap:1rem;height:fit-content;background-color:#fff6eb;border:1px solid #F69521;border-left:5px solid #F69521;border-radius:5px;box-sizing:border-box;padding:1rem}.wrapper.wide{z-index:1;position:relative;border-radius:0}.wrapper .text-container{display:flex;flex-direction:column;gap:.5rem}.wrapper .text-container span{font-family:Hero New Bold;font-size:16px}.wrapper .text-container div{margin:0;font-size:14px}.svg-container{position:relative}.svg-overlay{position:absolute}.svg-overlay.small{width:31px;height:25px;left:.5rem}.svg-overlay.wide{width:71px;height:58px;top:1rem;left:3rem}.svg-background.small{width:47px;height:24px}.svg-background.wide{width:158px;height:85px}\n"] }]
1774
+ }], propDecorators: { data: [{
1775
+ type: Input
1776
+ }], variant: [{
1777
+ type: Input
1778
+ }] } });
1779
+
1780
+ class AfConnectProgressBarComponent {
1781
+ constructor(cdr) {
1782
+ this.cdr = cdr;
1783
+ this.progressBarTreshold = 30;
1784
+ this.progressCounter = 0;
1785
+ this.minimumProgressAnimation = 30;
1786
+ this.withProgressAnimation = false;
1787
+ this.subscription = new Subscription();
1788
+ this.primaryColor = 'primary-green';
1789
+ this.secondaryColor = 'grey';
1790
+ }
1791
+ ngAfterViewInit() {
1792
+ this.minimumProgressAnimation = this.progress < this.progressBarTreshold ? this.progressBarTreshold : this.progress;
1793
+ interval(11)
1794
+ .pipe(take(this.minimumProgressAnimation || 100))
1795
+ .subscribe(() => {
1796
+ if (!this.withProgressAnimation) {
1797
+ this.progressCounter = this.progress;
1798
+ }
1799
+ else {
1800
+ this.progressCounter++;
1801
+ }
1802
+ this.cdr.detectChanges();
1803
+ });
1804
+ }
1805
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AfConnectProgressBarComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
1806
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: AfConnectProgressBarComponent, selector: "lib-af-connect-progress-bar", inputs: { withProgressAnimation: "withProgressAnimation", progress: "progress", primaryColor: "primaryColor", secondaryColor: "secondaryColor" }, ngImport: i0, template: "<div [ngClass]=\"[secondaryColor]\" class=\"progress-bar-container\">\r\n <div [ngClass]=\"['progress-bar', primaryColor]\" [style]=\"{ width: progressCounter + '%' }\">\r\n <div class=\"text-container\">\r\n <div>\r\n <ng-content></ng-content>\r\n </div>\r\n <span *ngIf=\"false\"> {{ progress.toFixed(0) }}% </span>\r\n </div>\r\n </div>\r\n </div>\r\n ", styles: [":host{display:block;max-width:100%}.progress-bar-base,.progress-bar,.progress-bar-container{border-radius:.5rem;height:2rem}.progress-bar-container{background-color:var(--dark-grey-color-low-opacity)}.progress-bar-container.orange{background-color:var(--primary-catalyst-yellow-color)}.progress-bar-container.transparent{background-color:transparent}.progress-bar{color:var(--main-white-color);background-color:var(--primary-balanced-teal-color)}.progress-bar.primary-orange{background-color:var(--primary-catalyst-yellow-color)}.text-container{min-width:120px;padding-left:.75rem;padding-right:.75rem;font-weight:500;display:flex;align-items:center;justify-content:space-between;font-size:14px;min-height:2rem}\n"], dependencies: [{ kind: "directive", type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
1807
+ }
1808
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AfConnectProgressBarComponent, decorators: [{
1809
+ type: Component,
1810
+ args: [{ selector: 'lib-af-connect-progress-bar', template: "<div [ngClass]=\"[secondaryColor]\" class=\"progress-bar-container\">\r\n <div [ngClass]=\"['progress-bar', primaryColor]\" [style]=\"{ width: progressCounter + '%' }\">\r\n <div class=\"text-container\">\r\n <div>\r\n <ng-content></ng-content>\r\n </div>\r\n <span *ngIf=\"false\"> {{ progress.toFixed(0) }}% </span>\r\n </div>\r\n </div>\r\n </div>\r\n ", styles: [":host{display:block;max-width:100%}.progress-bar-base,.progress-bar,.progress-bar-container{border-radius:.5rem;height:2rem}.progress-bar-container{background-color:var(--dark-grey-color-low-opacity)}.progress-bar-container.orange{background-color:var(--primary-catalyst-yellow-color)}.progress-bar-container.transparent{background-color:transparent}.progress-bar{color:var(--main-white-color);background-color:var(--primary-balanced-teal-color)}.progress-bar.primary-orange{background-color:var(--primary-catalyst-yellow-color)}.text-container{min-width:120px;padding-left:.75rem;padding-right:.75rem;font-weight:500;display:flex;align-items:center;justify-content:space-between;font-size:14px;min-height:2rem}\n"] }]
1811
+ }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { withProgressAnimation: [{
1812
+ type: Input
1813
+ }], progress: [{
1814
+ type: Input
1815
+ }], primaryColor: [{
1816
+ type: Input
1817
+ }], secondaryColor: [{
1818
+ type: Input
1819
+ }] } });
1820
+
1821
+ class AfConnectSectionComponent {
1822
+ constructor() { }
1823
+ ngOnInit() {
1824
+ }
1825
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AfConnectSectionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1826
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: AfConnectSectionComponent, selector: "lib-af-connect-section", ngImport: i0, template: "<ng-content></ng-content>\r\n", styles: [":host{display:block;background-color:transparent;height:fit-content;opacity:1;box-sizing:border-box;border-radius:var(--section-border-radius)}\n"] }); }
1827
+ }
1828
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AfConnectSectionComponent, decorators: [{
1829
+ type: Component,
1830
+ args: [{ selector: 'lib-af-connect-section', template: "<ng-content></ng-content>\r\n", styles: [":host{display:block;background-color:transparent;height:fit-content;opacity:1;box-sizing:border-box;border-radius:var(--section-border-radius)}\n"] }]
1831
+ }], ctorParameters: () => [] });
1832
+
1833
+ class AfConnectSectionHeaderComponent {
1834
+ constructor(wrapper) {
1835
+ this.wrapper = wrapper;
1836
+ this.isStatic = true;
1837
+ this.variant = 'default';
1838
+ this.onClick = new EventEmitter();
1839
+ }
1840
+ ngOnInit() { }
1841
+ toggleMobileContent() {
1842
+ this.onClick.emit();
1843
+ }
1844
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AfConnectSectionHeaderComponent, deps: [{ token: ExpandableWrapperComponent, host: true, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
1845
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: AfConnectSectionHeaderComponent, selector: "lib-af-connect-section-header", inputs: { title: "title", isStatic: "isStatic", variant: "variant" }, outputs: { onClick: "onClick" }, ngImport: i0, template: "<div class=\"header-container\" [ngClass]=\"[\r\n variant,\r\n isStatic ? 'isStatic' : 'isExpandable',\r\n (wrapper && wrapper.isExpanded$ | async) === true ? 'expanded' : '',\r\n (wrapper && wrapper.isExpanded$ | async) === false ? 'collapsed' : ''\r\n ]\" (click)=\"toggleMobileContent()\">\r\n <div class=\"section-wrapper\">\r\n <div class=\"{{variant}}\">\r\n {{ title }}\r\n </div>\r\n <ng-content select=\"[icon]\"></ng-content>\r\n <div class=\"buttons-container\">\r\n <ng-content></ng-content>\r\n </div>\r\n </div>\r\n <div *ngIf=\"isStatic\" class=\"border-line\"></div>\r\n</div>", styles: [":host{position:relative}:host(.investments-mobile) .buttons-container{margin:auto 0 0}:host(.portfolio-mobile-card-title){border:none}:host(.documents-section-header) .header-container .border-line{margin-bottom:.75rem}@keyframes colorchange{0%{background:var(--secondary-grey-color)}50%{background:#dae2e9}to{background:var(--secondary-grey-color)}}@keyframes colorBack{0%{background:var(--secondary-grey-color)}50%{background:#dae2e9}to{background:var(--secondary-grey-color)}}.header-container{background:var(--secondary-grey-color);font-family:var(--standard-font-family-hero-new-semibold);padding:1rem 1.75rem;min-height:2.7rem;border-radius:var(--section-border-radius);align-items:center;display:flex;flex-direction:column;justify-content:center}@media (max-width: 1024px){.header-container{font-size:18px}}@media (max-width: 768px){.header-container{padding:.5rem 1.25rem;min-height:0px;background-color:var(--main-background-color-mobile);border:1px solid var(--neutral-button-color);border-radius:0}}.header-container.default{font-size:1.4rem;color:var(--primary-dark-teal-color)}@media (max-width: 768px){.header-container.default{font-size:1.125rem}}.header-container.portfolio{font-size:var(--standard-font-size-14);color:var(--main-black-color)}.header-container.isStatic{background-color:var(--secondary-grey-color);font-family:var(--standard-font-family-hero-new-bold)}@media (max-width: 768px){.header-container.isStatic{background:var(--main-white-color);border:none;padding:.5rem 1.25rem 0}}.header-container.isExpandable{cursor:pointer}.section-wrapper{align-items:center;justify-content:space-between;display:flex;flex-direction:row;width:100%;gap:.5rem}@media (max-width: 768px){.title-container{max-width:170px}}.expanded{animation:colorchange .9s}.collapsed{animation:colorBack .9s}.buttons-container{display:flex;gap:1rem;margin-left:auto}@media (max-width: 768px){.buttons-container{font-size:11px;height:100%;font-family:var(--standard-font-family-hero-new-semibold)}}.border-line{display:none}@media (max-width: 768px){.border-line{width:100%;border-bottom:1px solid var(--primary-dark-teal-color);display:block;margin-top:8px}}\n"], dependencies: [{ kind: "directive", type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i1$1.AsyncPipe, name: "async" }] }); }
1846
+ }
1847
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AfConnectSectionHeaderComponent, decorators: [{
1848
+ type: Component,
1849
+ args: [{ selector: 'lib-af-connect-section-header', template: "<div class=\"header-container\" [ngClass]=\"[\r\n variant,\r\n isStatic ? 'isStatic' : 'isExpandable',\r\n (wrapper && wrapper.isExpanded$ | async) === true ? 'expanded' : '',\r\n (wrapper && wrapper.isExpanded$ | async) === false ? 'collapsed' : ''\r\n ]\" (click)=\"toggleMobileContent()\">\r\n <div class=\"section-wrapper\">\r\n <div class=\"{{variant}}\">\r\n {{ title }}\r\n </div>\r\n <ng-content select=\"[icon]\"></ng-content>\r\n <div class=\"buttons-container\">\r\n <ng-content></ng-content>\r\n </div>\r\n </div>\r\n <div *ngIf=\"isStatic\" class=\"border-line\"></div>\r\n</div>", styles: [":host{position:relative}:host(.investments-mobile) .buttons-container{margin:auto 0 0}:host(.portfolio-mobile-card-title){border:none}:host(.documents-section-header) .header-container .border-line{margin-bottom:.75rem}@keyframes colorchange{0%{background:var(--secondary-grey-color)}50%{background:#dae2e9}to{background:var(--secondary-grey-color)}}@keyframes colorBack{0%{background:var(--secondary-grey-color)}50%{background:#dae2e9}to{background:var(--secondary-grey-color)}}.header-container{background:var(--secondary-grey-color);font-family:var(--standard-font-family-hero-new-semibold);padding:1rem 1.75rem;min-height:2.7rem;border-radius:var(--section-border-radius);align-items:center;display:flex;flex-direction:column;justify-content:center}@media (max-width: 1024px){.header-container{font-size:18px}}@media (max-width: 768px){.header-container{padding:.5rem 1.25rem;min-height:0px;background-color:var(--main-background-color-mobile);border:1px solid var(--neutral-button-color);border-radius:0}}.header-container.default{font-size:1.4rem;color:var(--primary-dark-teal-color)}@media (max-width: 768px){.header-container.default{font-size:1.125rem}}.header-container.portfolio{font-size:var(--standard-font-size-14);color:var(--main-black-color)}.header-container.isStatic{background-color:var(--secondary-grey-color);font-family:var(--standard-font-family-hero-new-bold)}@media (max-width: 768px){.header-container.isStatic{background:var(--main-white-color);border:none;padding:.5rem 1.25rem 0}}.header-container.isExpandable{cursor:pointer}.section-wrapper{align-items:center;justify-content:space-between;display:flex;flex-direction:row;width:100%;gap:.5rem}@media (max-width: 768px){.title-container{max-width:170px}}.expanded{animation:colorchange .9s}.collapsed{animation:colorBack .9s}.buttons-container{display:flex;gap:1rem;margin-left:auto}@media (max-width: 768px){.buttons-container{font-size:11px;height:100%;font-family:var(--standard-font-family-hero-new-semibold)}}.border-line{display:none}@media (max-width: 768px){.border-line{width:100%;border-bottom:1px solid var(--primary-dark-teal-color);display:block;margin-top:8px}}\n"] }]
1850
+ }], ctorParameters: () => [{ type: ExpandableWrapperComponent, decorators: [{
1851
+ type: Host
1852
+ }, {
1853
+ type: Optional
1854
+ }] }], propDecorators: { title: [{
1855
+ type: Input
1856
+ }], isStatic: [{
1857
+ type: Input
1858
+ }], variant: [{
1859
+ type: Input
1860
+ }], onClick: [{
1861
+ type: Output
1862
+ }] } });
1863
+
1864
+ class AfConnectSelectComponent {
1865
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AfConnectSelectComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1866
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: AfConnectSelectComponent, selector: "lib-af-connect-select", ngImport: i0, template: "<!-- <div class=\"dropdown-collection\" [ngClass]=\"[size, (control && control.disabled) || isDisabled ? 'disabled' : 'not-disabled',]\" (click)=\"toggleDropdown($event)\">\r\n\r\n <div class=\"field-container\">\r\n <div class=\"label-container\">\r\n <label *ngIf=\"label\" [ngClass]=\"[variant]\" class=\"label\">\r\n {{ label }}<span *ngIf=\"withAsterisk\" class=\"asterisk\">*</span>\r\n </label>\r\n <afc-form-validation-errors\r\n [control]=\"control\"\r\n [fieldText]=\"errorReferenceText || label\"\r\n ></afc-form-validation-errors>\r\n </div>\r\n <div class=\"input-container\">\r\n <input\r\n type=\"text\"\r\n class=\"field-container-input\"\r\n [placeholder]=\"(isReadOnly && readOnlyPlaceholder) || placeholder\"\r\n [maxLength]=\"maxLength\"\r\n [ngClass]=\"[\r\n (control && control.disabled) || isDisabled ? 'disabled' : 'not-disabled',\r\n size,\r\n dropdownOpen ? 'dropdown-open' : '',\r\n control && control.errors && control.dirty && control.touched ? 'hasError' : '',\r\n filter ? 'filterable' : 'non-filterable'\r\n ]\"\r\n [disabled]=\"(control && control.disabled) || isDisabled || variant === 'read-only' || isReadOnly\"\r\n [(ngModel)]=\"currentValue\"\r\n (blur)=\"onBlur()\"\r\n (ngModelChange)=\"onChange($event)\"\r\n />\r\n <div class=\"arrow-container\" *ngIf=\"variant !== 'read-only'\">\r\n <afc-expandable-arrow\r\n endPosition=\"top\"\r\n startPosition=\"bottom\"\r\n animationSpeed=\"fast\"\r\n ngClass=\"arrow\"\r\n [isExpanded]=\"dropdownOpen\"\r\n >\r\n </afc-expandable-arrow>\r\n </div>\r\n </div>\r\n </div>\r\n \r\n <ng-container *ngTemplateOutlet=\"dropdownListItems; context: { type }\"></ng-container>\r\n </div>\r\n \r\n <ng-template #dropdownListItems let-type=\"type\">\r\n <ul\r\n class=\"dropdown-list\"\r\n role=\"listbox\"\r\n aria-expanded=\"false\"\r\n [@selectAnimation]=\"dropdownOpen ? 'expanded' : 'collapsed'\"\r\n [ngClass]=\"{ 'dropdown-open': dropdownOpen }\"\r\n >\r\n <ng-container\r\n *ngIf=\"filteredOptions.length !== 0; else noDropdownData\"\r\n [ngTemplateOutlet]=\"virtualScroll\"\r\n ></ng-container>\r\n </ul>\r\n </ng-template>\r\n \r\n <ng-template #virtualScroll>\r\n <cdk-virtual-scroll-viewport\r\n class=\"select-menu-inner\"\r\n [appendOnly]=\"true\"\r\n [itemSize]=\"SizeEnum[size]\"\r\n [style.height.px]=\"itemsShown * SizeEnum[size]\"\r\n [minBufferPx]=\"itemsShown * SizeEnum[size]\"\r\n [maxBufferPx]=\"itemsShown * SizeEnum[size]\"\r\n >\r\n <div\r\n class=\"list-item-container\"\r\n *cdkVirtualFor=\"let option of filteredOptions\"\r\n [ngClass]=\"[currentValue === option ? 'selected' : '', size]\"\r\n (click)=\"select(option)\"\r\n >\r\n <img\r\n height=\"14\"\r\n width=\"26\"\r\n *ngIf=\"(type === 'country' || type === 'country-code') && option['countryCode']\"\r\n [src]=\"'../../../../assets/country-flags/' + option?.['countryCode'] + '.svg' | lowercase\"\r\n />\r\n <li tabindex=\"0\" role=\"option\" [innerHTML]=\"valueField && textField ? option[textField] : option\"></li>\r\n </div>\r\n </cdk-virtual-scroll-viewport>\r\n </ng-template>\r\n \r\n <ng-template #noDropdownData>\r\n <div class=\"dropdown-no-data\">No Data</div>\r\n </ng-template>\r\n -->", styles: [":host{font-family:var(--standard-font-family-hero-new);font-size:.875rem;color:var(--main-black-color);min-width:5.2rem}:host[size=large]{width:100%}ul{overflow:hidden}.dropdown-collection{max-width:26rem;position:relative;cursor:pointer}.dropdown-collection.small .arrow{right:10px}.dropdown-collection.large{width:100%;max-width:100%}.dropdown-collection.large.disabled{pointer-events:none}.label{cursor:pointer}.label .asterisk{color:var(--primary-orange-mobile-color)}.label.large{margin-bottom:3px}.dropdown-list{display:block;background:var(--main-white-color);list-style:none;box-shadow:0 5px 8px #00000029;position:absolute;bottom:0;left:0;padding:0;z-index:10;right:0;margin:0;transform:translateY(100%);z-index:1001}.dropdown-list .list-item-container{display:flex;align-items:center;gap:.5rem;padding:.5rem .5rem .5rem 18px;cursor:pointer;color:var(--select-grey-color);border:2px solid transparent;box-sizing:border-box}.dropdown-list .list-item-container:hover,.dropdown-list .list-item-container:focus{transition-property:color,background-color;transition-duration:1.1s;border:2px solid #ceecef;border-radius:2px;background:#ceecef;outline:none;color:var(--footer-dark-black-color)}.dropdown-list .list-item-container.empty-option{min-height:20px}.dropdown-list .list-item-container.small{gap:.2rem;padding:.5rem 0 .5rem 2px}.dropdown-list .list-item-container.large{padding:11px 11px 11px 20px}.dropdown-list .dropdown-no-data{height:3rem;font-size:1rem;display:flex;align-items:center;justify-content:center;color:var(--neutral-anchor-color)}input{transition-property:outline-color,background-color;transition-duration:.2s}input:focus{outline:transparent}input::placeholder{color:var(--main-grey-color);opacity:.7}input.field-container-input{font-family:var(--standard-font-family-hero-new);font-size:.875rem;padding:11px 2rem 11px 1.25rem;width:100%;background-color:var(--main-white-color);color:var(--main-black-color);border:1px solid transparent;transition-property:border-color,background-color;transition-duration:.2s}input.field-container-input.hasError{border:1px solid var(--primary-connected-orange-color)!important;background-color:var(--neutral-inline-error-color)}input.field-container-input.filterable{pointer-events:all}input.field-container-input.non-filterable{pointer-events:none}input.field-container-input.read-only{background-color:var(--neutral-button-color);color:var(--warm-grey-color)}@media (max-width: 768px){input.field-container-input{font-size:13px;border-radius:var(--input-border-radius);box-shadow:var(--input-box-shadow)}}input.not-disabled{color:var(--warm-grey-color);border-color:var(--primary-dark-teal-color)}input.not-disabled:disabled{border:none;color:var(--warm-grey-color);background-color:var(--neutral-button-color)}input.small{padding-left:.5rem}input.large{color:var(--main-black-color);padding:15px;border:none}input.large:disabled{background-color:var(--neutral-button-color);color:var(--warm-grey-color)}input.dropdown-open{border-color:transparent;box-shadow:0 5px 8px #00000029}input.read-only{background-color:var(--neutral-button-color)}.field-container{display:flex;flex-direction:column;gap:.5rem}.field-container .label-container{display:flex;justify-content:space-between}cdk-virtual-scroll-viewport::-webkit-scrollbar{width:.4rem}cdk-virtual-scroll-viewport::-webkit-scrollbar-thumb{border-radius:2px;background-color:var(--primary-balanced-teal-color);outline:none}.input-container{display:flex}.arrow-container{position:relative;display:flex;min-height:100%;justify-content:center;align-items:center}.arrow-container .arrow{position:absolute;cursor:pointer;right:10px}:host(.countryCode) .label-container{flex-direction:column}\n"] }); }
1867
+ }
1868
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AfConnectSelectComponent, decorators: [{
1869
+ type: Component,
1870
+ args: [{ selector: 'lib-af-connect-select', template: "<!-- <div class=\"dropdown-collection\" [ngClass]=\"[size, (control && control.disabled) || isDisabled ? 'disabled' : 'not-disabled',]\" (click)=\"toggleDropdown($event)\">\r\n\r\n <div class=\"field-container\">\r\n <div class=\"label-container\">\r\n <label *ngIf=\"label\" [ngClass]=\"[variant]\" class=\"label\">\r\n {{ label }}<span *ngIf=\"withAsterisk\" class=\"asterisk\">*</span>\r\n </label>\r\n <afc-form-validation-errors\r\n [control]=\"control\"\r\n [fieldText]=\"errorReferenceText || label\"\r\n ></afc-form-validation-errors>\r\n </div>\r\n <div class=\"input-container\">\r\n <input\r\n type=\"text\"\r\n class=\"field-container-input\"\r\n [placeholder]=\"(isReadOnly && readOnlyPlaceholder) || placeholder\"\r\n [maxLength]=\"maxLength\"\r\n [ngClass]=\"[\r\n (control && control.disabled) || isDisabled ? 'disabled' : 'not-disabled',\r\n size,\r\n dropdownOpen ? 'dropdown-open' : '',\r\n control && control.errors && control.dirty && control.touched ? 'hasError' : '',\r\n filter ? 'filterable' : 'non-filterable'\r\n ]\"\r\n [disabled]=\"(control && control.disabled) || isDisabled || variant === 'read-only' || isReadOnly\"\r\n [(ngModel)]=\"currentValue\"\r\n (blur)=\"onBlur()\"\r\n (ngModelChange)=\"onChange($event)\"\r\n />\r\n <div class=\"arrow-container\" *ngIf=\"variant !== 'read-only'\">\r\n <afc-expandable-arrow\r\n endPosition=\"top\"\r\n startPosition=\"bottom\"\r\n animationSpeed=\"fast\"\r\n ngClass=\"arrow\"\r\n [isExpanded]=\"dropdownOpen\"\r\n >\r\n </afc-expandable-arrow>\r\n </div>\r\n </div>\r\n </div>\r\n \r\n <ng-container *ngTemplateOutlet=\"dropdownListItems; context: { type }\"></ng-container>\r\n </div>\r\n \r\n <ng-template #dropdownListItems let-type=\"type\">\r\n <ul\r\n class=\"dropdown-list\"\r\n role=\"listbox\"\r\n aria-expanded=\"false\"\r\n [@selectAnimation]=\"dropdownOpen ? 'expanded' : 'collapsed'\"\r\n [ngClass]=\"{ 'dropdown-open': dropdownOpen }\"\r\n >\r\n <ng-container\r\n *ngIf=\"filteredOptions.length !== 0; else noDropdownData\"\r\n [ngTemplateOutlet]=\"virtualScroll\"\r\n ></ng-container>\r\n </ul>\r\n </ng-template>\r\n \r\n <ng-template #virtualScroll>\r\n <cdk-virtual-scroll-viewport\r\n class=\"select-menu-inner\"\r\n [appendOnly]=\"true\"\r\n [itemSize]=\"SizeEnum[size]\"\r\n [style.height.px]=\"itemsShown * SizeEnum[size]\"\r\n [minBufferPx]=\"itemsShown * SizeEnum[size]\"\r\n [maxBufferPx]=\"itemsShown * SizeEnum[size]\"\r\n >\r\n <div\r\n class=\"list-item-container\"\r\n *cdkVirtualFor=\"let option of filteredOptions\"\r\n [ngClass]=\"[currentValue === option ? 'selected' : '', size]\"\r\n (click)=\"select(option)\"\r\n >\r\n <img\r\n height=\"14\"\r\n width=\"26\"\r\n *ngIf=\"(type === 'country' || type === 'country-code') && option['countryCode']\"\r\n [src]=\"'../../../../assets/country-flags/' + option?.['countryCode'] + '.svg' | lowercase\"\r\n />\r\n <li tabindex=\"0\" role=\"option\" [innerHTML]=\"valueField && textField ? option[textField] : option\"></li>\r\n </div>\r\n </cdk-virtual-scroll-viewport>\r\n </ng-template>\r\n \r\n <ng-template #noDropdownData>\r\n <div class=\"dropdown-no-data\">No Data</div>\r\n </ng-template>\r\n -->", styles: [":host{font-family:var(--standard-font-family-hero-new);font-size:.875rem;color:var(--main-black-color);min-width:5.2rem}:host[size=large]{width:100%}ul{overflow:hidden}.dropdown-collection{max-width:26rem;position:relative;cursor:pointer}.dropdown-collection.small .arrow{right:10px}.dropdown-collection.large{width:100%;max-width:100%}.dropdown-collection.large.disabled{pointer-events:none}.label{cursor:pointer}.label .asterisk{color:var(--primary-orange-mobile-color)}.label.large{margin-bottom:3px}.dropdown-list{display:block;background:var(--main-white-color);list-style:none;box-shadow:0 5px 8px #00000029;position:absolute;bottom:0;left:0;padding:0;z-index:10;right:0;margin:0;transform:translateY(100%);z-index:1001}.dropdown-list .list-item-container{display:flex;align-items:center;gap:.5rem;padding:.5rem .5rem .5rem 18px;cursor:pointer;color:var(--select-grey-color);border:2px solid transparent;box-sizing:border-box}.dropdown-list .list-item-container:hover,.dropdown-list .list-item-container:focus{transition-property:color,background-color;transition-duration:1.1s;border:2px solid #ceecef;border-radius:2px;background:#ceecef;outline:none;color:var(--footer-dark-black-color)}.dropdown-list .list-item-container.empty-option{min-height:20px}.dropdown-list .list-item-container.small{gap:.2rem;padding:.5rem 0 .5rem 2px}.dropdown-list .list-item-container.large{padding:11px 11px 11px 20px}.dropdown-list .dropdown-no-data{height:3rem;font-size:1rem;display:flex;align-items:center;justify-content:center;color:var(--neutral-anchor-color)}input{transition-property:outline-color,background-color;transition-duration:.2s}input:focus{outline:transparent}input::placeholder{color:var(--main-grey-color);opacity:.7}input.field-container-input{font-family:var(--standard-font-family-hero-new);font-size:.875rem;padding:11px 2rem 11px 1.25rem;width:100%;background-color:var(--main-white-color);color:var(--main-black-color);border:1px solid transparent;transition-property:border-color,background-color;transition-duration:.2s}input.field-container-input.hasError{border:1px solid var(--primary-connected-orange-color)!important;background-color:var(--neutral-inline-error-color)}input.field-container-input.filterable{pointer-events:all}input.field-container-input.non-filterable{pointer-events:none}input.field-container-input.read-only{background-color:var(--neutral-button-color);color:var(--warm-grey-color)}@media (max-width: 768px){input.field-container-input{font-size:13px;border-radius:var(--input-border-radius);box-shadow:var(--input-box-shadow)}}input.not-disabled{color:var(--warm-grey-color);border-color:var(--primary-dark-teal-color)}input.not-disabled:disabled{border:none;color:var(--warm-grey-color);background-color:var(--neutral-button-color)}input.small{padding-left:.5rem}input.large{color:var(--main-black-color);padding:15px;border:none}input.large:disabled{background-color:var(--neutral-button-color);color:var(--warm-grey-color)}input.dropdown-open{border-color:transparent;box-shadow:0 5px 8px #00000029}input.read-only{background-color:var(--neutral-button-color)}.field-container{display:flex;flex-direction:column;gap:.5rem}.field-container .label-container{display:flex;justify-content:space-between}cdk-virtual-scroll-viewport::-webkit-scrollbar{width:.4rem}cdk-virtual-scroll-viewport::-webkit-scrollbar-thumb{border-radius:2px;background-color:var(--primary-balanced-teal-color);outline:none}.input-container{display:flex}.arrow-container{position:relative;display:flex;min-height:100%;justify-content:center;align-items:center}.arrow-container .arrow{position:absolute;cursor:pointer;right:10px}:host(.countryCode) .label-container{flex-direction:column}\n"] }]
1871
+ }] });
1872
+
1873
+ class AfConnectTabComponent {
1874
+ constructor() {
1875
+ this.isActive = false;
1876
+ }
1877
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AfConnectTabComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1878
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: AfConnectTabComponent, selector: "lib-af-connect-tab", inputs: { label: "label", isActive: "isActive", tabButtons: "tabButtons" }, ngImport: i0, template: "<div [hidden]=\"!isActive\">\r\n <ng-content></ng-content>\r\n </div>\r\n ", styles: [""] }); }
1879
+ }
1880
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AfConnectTabComponent, decorators: [{
1881
+ type: Component,
1882
+ args: [{ selector: 'lib-af-connect-tab', template: "<div [hidden]=\"!isActive\">\r\n <ng-content></ng-content>\r\n </div>\r\n " }]
1883
+ }], propDecorators: { label: [{
1884
+ type: Input
1885
+ }], isActive: [{
1886
+ type: Input
1887
+ }], tabButtons: [{
1888
+ type: Input
1889
+ }] } });
1890
+
1891
+ class AfConnectTabsComponent {
1892
+ constructor(cdr) {
1893
+ this.cdr = cdr;
1894
+ this.subs = new Subscription();
1895
+ this.activeTabSelected = new EventEmitter();
1896
+ }
1897
+ ngOnDestroy() {
1898
+ this.subs.unsubscribe();
1899
+ }
1900
+ ngOnInit() {
1901
+ this.subs.add(fromEvent(window, 'resize')
1902
+ .pipe(debounceTime(50))
1903
+ .subscribe(() => {
1904
+ this.triggerSlider(this.activeTabIndex);
1905
+ }));
1906
+ }
1907
+ ngAfterContentChecked() {
1908
+ if (!this.selectedTabIndex) {
1909
+ const activeTab = this.tabs.find((tab) => tab.isActive);
1910
+ if (!activeTab) {
1911
+ const firstTab = this.tabs.first;
1912
+ firstTab.isActive = true;
1913
+ this.activeTabIndex = 0;
1914
+ this.activeTabSelected.emit(0);
1915
+ }
1916
+ }
1917
+ else {
1918
+ this.setActiveLabel();
1919
+ }
1920
+ }
1921
+ ngAfterViewChecked() {
1922
+ if (!this.activeTabIndex) {
1923
+ this.triggerSlider(0);
1924
+ }
1925
+ }
1926
+ get activeTab() {
1927
+ return this.tabs.find((tab) => tab.isActive) || this.tabs.first;
1928
+ }
1929
+ activateTab(selectedTab, index) {
1930
+ this.tabs.forEach((tab) => {
1931
+ tab.isActive = tab === selectedTab;
1932
+ });
1933
+ this.activeTabIndex = index;
1934
+ this.triggerSlider(index);
1935
+ this.activeTabSelected.emit(index);
1936
+ }
1937
+ triggerSlider(i) {
1938
+ const activeTabRef = this.tabsRefs.get(i);
1939
+ this.slider.nativeElement.style.left = `${activeTabRef?.nativeElement.offsetLeft}px`;
1940
+ this.slider.nativeElement.style.width = `${activeTabRef?.nativeElement.offsetWidth}px`;
1941
+ }
1942
+ setActiveLabel() {
1943
+ this.tabs.find((tab, i) => {
1944
+ const foundTab = i === this.selectedTabIndex;
1945
+ if (foundTab) {
1946
+ this.activeTabIndex = i;
1947
+ tab.isActive = true;
1948
+ }
1949
+ return foundTab;
1950
+ });
1951
+ }
1952
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AfConnectTabsComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
1953
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: AfConnectTabsComponent, selector: "lib-af-connect-tabs", inputs: { selectedTabIndex: "selectedTabIndex" }, outputs: { activeTabSelected: "activeTabSelected" }, queries: [{ propertyName: "tabs", predicate: AfConnectTabComponent }], viewQueries: [{ propertyName: "slider", first: true, predicate: ["slider"], descendants: true, read: ElementRef }, { propertyName: "tabsRefs", predicate: ["tab"], descendants: true, read: ElementRef }], ngImport: i0, template: "<nav class=\"tabs-nav\">\r\n <ul class=\"nav-list\">\r\n <li #tab *ngFor=\"let tab of tabs; let i = index\" class=\"nav-item\" [class.active]=\"tab.isActive\">\r\n <button class=\"nav-button\" (click)=\"activateTab(tab, i)\">\r\n {{ tab.label }}\r\n </button>\r\n </li>\r\n <span #slider class=\"slider\"></span>\r\n </ul>\r\n <div class=\"nav-action-buttons\">\r\n <ng-container [ngTemplateOutlet]=\"activeTab.tabButtons\"></ng-container>\r\n </div>\r\n </nav>\r\n <ng-content></ng-content>\r\n ", styles: [":host{width:100%}.tabs-nav{display:flex;align-items:center;justify-content:space-between;margin-bottom:1.75rem;border-bottom:1px solid var(--primary-dark-teal-color)}@media (max-width: 768px){.tabs-nav{flex-direction:column;margin-bottom:.625rem;border:none}}.nav-list{display:flex;position:relative;margin:0;padding:0;list-style-type:none}.nav-list .slider{position:absolute;bottom:0;border-top-width:1px;border-color:var(--primary-dark-teal-color);border-top-style:solid;transition-property:left,width;transition-duration:.25s;transition-timing-function:cubic-bezier(.4,0,.2,1)}@media (max-width: 768px){.nav-list{margin-right:auto;justify-content:space-between;width:80%;max-width:320px;border-bottom:1px solid var(--light-grey-color)}.nav-list .nav-item .nav-button{padding-inline:1.25rem}.nav-list .slider{border-color:var(--primary-orange-mobile-color)}}.nav-item{position:relative}.nav-item:first-child .nav-button{padding-right:1.75rem}.nav-item:not(:first-child) .nav-button{padding-inline:1.75rem}.nav-item.active .nav-button{color:var(--primary-dark-teal-color);text-shadow:0px 0px 1px var(--primary-dark-teal-color)}@media (max-width: 768px){.nav-item.active .nav-button{text-shadow:none}}.nav-button{display:block;background:none;border:none;height:100%;padding:1.5rem 0;font-family:var(--standard-font-family-hero-new);font-size:1rem;color:var(--secondary-space-color);cursor:pointer}@media (max-width: 768px){.nav-button{padding-block:.375rem;font-size:.875rem;font-family:var(--standard-font-family-hero-new-semibold);color:var(--primary-dark-teal-color)}}.nav-action-buttons{display:flex;justify-content:flex-end;gap:1rem;min-width:25%}@media (max-width: 768px){.nav-action-buttons{align-self:flex-end;padding-top:1.125rem;max-width:100px;min-width:auto}}@media (max-width: 1024px){.nav-action-buttons{max-width:200px}}:host(.mobile-claim-info-tabs) .nav-list{width:100%}\n"], dependencies: [{ kind: "directive", type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1954
+ }
1955
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AfConnectTabsComponent, decorators: [{
1956
+ type: Component,
1957
+ args: [{ selector: 'lib-af-connect-tabs', changeDetection: ChangeDetectionStrategy.OnPush, template: "<nav class=\"tabs-nav\">\r\n <ul class=\"nav-list\">\r\n <li #tab *ngFor=\"let tab of tabs; let i = index\" class=\"nav-item\" [class.active]=\"tab.isActive\">\r\n <button class=\"nav-button\" (click)=\"activateTab(tab, i)\">\r\n {{ tab.label }}\r\n </button>\r\n </li>\r\n <span #slider class=\"slider\"></span>\r\n </ul>\r\n <div class=\"nav-action-buttons\">\r\n <ng-container [ngTemplateOutlet]=\"activeTab.tabButtons\"></ng-container>\r\n </div>\r\n </nav>\r\n <ng-content></ng-content>\r\n ", styles: [":host{width:100%}.tabs-nav{display:flex;align-items:center;justify-content:space-between;margin-bottom:1.75rem;border-bottom:1px solid var(--primary-dark-teal-color)}@media (max-width: 768px){.tabs-nav{flex-direction:column;margin-bottom:.625rem;border:none}}.nav-list{display:flex;position:relative;margin:0;padding:0;list-style-type:none}.nav-list .slider{position:absolute;bottom:0;border-top-width:1px;border-color:var(--primary-dark-teal-color);border-top-style:solid;transition-property:left,width;transition-duration:.25s;transition-timing-function:cubic-bezier(.4,0,.2,1)}@media (max-width: 768px){.nav-list{margin-right:auto;justify-content:space-between;width:80%;max-width:320px;border-bottom:1px solid var(--light-grey-color)}.nav-list .nav-item .nav-button{padding-inline:1.25rem}.nav-list .slider{border-color:var(--primary-orange-mobile-color)}}.nav-item{position:relative}.nav-item:first-child .nav-button{padding-right:1.75rem}.nav-item:not(:first-child) .nav-button{padding-inline:1.75rem}.nav-item.active .nav-button{color:var(--primary-dark-teal-color);text-shadow:0px 0px 1px var(--primary-dark-teal-color)}@media (max-width: 768px){.nav-item.active .nav-button{text-shadow:none}}.nav-button{display:block;background:none;border:none;height:100%;padding:1.5rem 0;font-family:var(--standard-font-family-hero-new);font-size:1rem;color:var(--secondary-space-color);cursor:pointer}@media (max-width: 768px){.nav-button{padding-block:.375rem;font-size:.875rem;font-family:var(--standard-font-family-hero-new-semibold);color:var(--primary-dark-teal-color)}}.nav-action-buttons{display:flex;justify-content:flex-end;gap:1rem;min-width:25%}@media (max-width: 768px){.nav-action-buttons{align-self:flex-end;padding-top:1.125rem;max-width:100px;min-width:auto}}@media (max-width: 1024px){.nav-action-buttons{max-width:200px}}:host(.mobile-claim-info-tabs) .nav-list{width:100%}\n"] }]
1958
+ }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { tabs: [{
1959
+ type: ContentChildren,
1960
+ args: [AfConnectTabComponent]
1961
+ }], slider: [{
1962
+ type: ViewChild,
1963
+ args: ['slider', { read: ElementRef }]
1964
+ }], tabsRefs: [{
1965
+ type: ViewChildren,
1966
+ args: ['tab', { read: ElementRef }]
1967
+ }], selectedTabIndex: [{
1968
+ type: Input
1969
+ }], activeTabSelected: [{
1970
+ type: Output
1971
+ }] } });
1972
+
1973
+ class AfConnectTableComponent {
1974
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AfConnectTableComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1975
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: AfConnectTableComponent, selector: "lib-af-connect-table", ngImport: i0, template: "<p>af-connect-table works!</p>\r\n", styles: [""] }); }
1976
+ }
1977
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AfConnectTableComponent, decorators: [{
1978
+ type: Component,
1979
+ args: [{ selector: 'lib-af-connect-table', template: "<p>af-connect-table works!</p>\r\n" }]
1980
+ }] });
1981
+
1982
+ class AfConnectToasterMessageComponent {
1983
+ constructor() {
1984
+ this.size = 'small';
1985
+ this.timer = 5000;
1986
+ this.onClose = new EventEmitter();
1987
+ }
1988
+ ngOnInit() {
1989
+ setTimeout(() => this.onClose.emit(), this.timer);
1990
+ }
1991
+ closeToast() {
1992
+ this.onClose.emit();
1993
+ }
1994
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AfConnectToasterMessageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1995
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: AfConnectToasterMessageComponent, selector: "lib-af-connect-toaster-message", inputs: { message: "message", src: "src", size: "size", timer: "timer" }, outputs: { onClose: "onClose" }, ngImport: i0, template: "<div class=\"toaster-container\">\r\n <img [class]=\"['svg', size]\" [src]=\"src\" />\r\n <span class=\"toaster-message\">{{ message }}</span>\r\n <afc-svg-button\r\n ngClass=\"close-btn\"\r\n size=\"medium\"\r\n src=\"/assets/icons/delete.svg\"\r\n emitValue=\"isCloseModal\"\r\n (clickBtn)=\"closeToast()\"\r\n >\r\n </afc-svg-button>\r\n </div>\r\n ", styles: [":host{display:flex;min-height:2rem;padding-top:.5em;flex-direction:column}img{background:none;border:none;cursor:pointer;justify-content:center}.svg.small{width:14px;height:14px}.svg.medium{width:16px;height:16px}@media (max-width: 768px){.svg.medium{width:14px;height:14px}}@media (max-width: 1024px){.svg.large{width:23px;height:23px}}.toaster-container{border-radius:5px;padding:.5rem 1rem;opacity:1;display:flex;align-items:center;gap:1rem;box-shadow:0 3px 6px #00000029;border-left:8px solid var(--primary-orange-mobile-color);justify-content:space-between}.toaster-message{font-size:12px;color:var(--main-black-color);display:flex;justify-content:center;line-height:2;margin:0 auto 0 0}.close-btn{line-height:0}\n"], dependencies: [{ kind: "directive", type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] }); }
1996
+ }
1997
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AfConnectToasterMessageComponent, decorators: [{
1998
+ type: Component,
1999
+ args: [{ selector: 'lib-af-connect-toaster-message', template: "<div class=\"toaster-container\">\r\n <img [class]=\"['svg', size]\" [src]=\"src\" />\r\n <span class=\"toaster-message\">{{ message }}</span>\r\n <afc-svg-button\r\n ngClass=\"close-btn\"\r\n size=\"medium\"\r\n src=\"/assets/icons/delete.svg\"\r\n emitValue=\"isCloseModal\"\r\n (clickBtn)=\"closeToast()\"\r\n >\r\n </afc-svg-button>\r\n </div>\r\n ", styles: [":host{display:flex;min-height:2rem;padding-top:.5em;flex-direction:column}img{background:none;border:none;cursor:pointer;justify-content:center}.svg.small{width:14px;height:14px}.svg.medium{width:16px;height:16px}@media (max-width: 768px){.svg.medium{width:14px;height:14px}}@media (max-width: 1024px){.svg.large{width:23px;height:23px}}.toaster-container{border-radius:5px;padding:.5rem 1rem;opacity:1;display:flex;align-items:center;gap:1rem;box-shadow:0 3px 6px #00000029;border-left:8px solid var(--primary-orange-mobile-color);justify-content:space-between}.toaster-message{font-size:12px;color:var(--main-black-color);display:flex;justify-content:center;line-height:2;margin:0 auto 0 0}.close-btn{line-height:0}\n"] }]
2000
+ }], propDecorators: { message: [{
2001
+ type: Input
2002
+ }], src: [{
2003
+ type: Input
2004
+ }], size: [{
2005
+ type: Input
2006
+ }], timer: [{
2007
+ type: Input
2008
+ }], onClose: [{
2009
+ type: Output
2010
+ }] } });
2011
+
2012
+ const TAB_SLIDER_TIMING_FN = '1000ms cubic-bezier(0.4, 0, 0.2, 1)';
2013
+ const flyInOutLeftColumn = [
2014
+ trigger('flyInOutLeftColumn', [
2015
+ state('in', style({ opacity: 0, transform: 'translateY(0)', background: 'blue' })),
2016
+ transition('void => *', [style({ opacity: 0, transform: 'translateY(-100%)' }), animate('310ms')]),
2017
+ transition('* => void', [animate('310ms', style({ opacity: 0, transform: 'translateY(-100%)' }))])
2018
+ ])
2019
+ ];
2020
+ const flyInOutRightColumn = [
2021
+ trigger('flyInOutRightColumn', [
2022
+ state('in', style({ opacity: 1, transform: 'translateY(0)' })),
2023
+ transition('void => *', [style({ opacity: 0, transform: 'translateY(-100%)' }), animate('310ms 310ms')]),
2024
+ transition('* => void', [animate('310ms 310ms', style({ opacity: 0, transform: 'translateY(-100%)' }))])
2025
+ ])
2026
+ ];
2027
+ const fadeAnimationGuide = trigger('fadeAnimation', [
2028
+ transition(':enter', [style({ opacity: 0 }), animate('300ms', style({ opacity: 1 }))]),
2029
+ transition(':leave', [style({ opacity: 1 }), animate('300ms', style({ opacity: 0 }))])
2030
+ ]);
2031
+ const fadeAnimation = trigger('fadeAnimation', [
2032
+ transition(':enter', [style({ opacity: 0 }), animate('300ms ease-out', style({ opacity: 1 }))]),
2033
+ transition(':leave', [style({ opacity: 1 }), animate('300ms ease-out', style({ opacity: 0 }))])
2034
+ ]);
2035
+ const staggerFadeIn = [
2036
+ trigger('stagger', [
2037
+ transition('* => *', [
2038
+ query(':enter', [style({ opacity: 0 }), stagger(100, [animate('0.5s', style({ opacity: 1 }))])], {
2039
+ optional: true
2040
+ })
2041
+ ])
2042
+ ])
2043
+ ];
2044
+ const expandableContainer = [
2045
+ trigger('expandContainer', [
2046
+ transition(':enter', [
2047
+ style({ height: '0px', visibility: 'hidden' }),
2048
+ animate('300ms ease-out', style({ height: '*', visibility: 'visible' }))
2049
+ ]),
2050
+ transition(':leave', [animate('300ms ease-out', style({ height: '0px', visibility: 'hidden' }))])
2051
+ ])
2052
+ ];
2053
+ const expandableArrow = [
2054
+ trigger('expandableArrow', [
2055
+ state('collapsed', style({ transform: 'rotate({{direction}}{{collapsedRotation}}deg)' }), {
2056
+ params: { collapsedRotation: '0', direction: '' }
2057
+ }),
2058
+ state('expanded', style({ transform: 'rotate({{direction}}{{expandedRotation}}deg)' }), {
2059
+ params: { expandedRotation: '90', direction: '' }
2060
+ }),
2061
+ transition('expanded <=> collapsed', animate('{{getNumberSpeed}}ms ease-out'), {
2062
+ params: { getNumberSpeed: 300 }
2063
+ }),
2064
+ transition('collapsed <=> expanded', animate('{{getNumberSpeed}}ms ease-out'), {
2065
+ params: { getNumberSpeed: 300 }
2066
+ })
2067
+ ])
2068
+ ];
2069
+ const selectAnimation = [
2070
+ trigger('selectAnimation', [
2071
+ state('collapsed', style({ height: '0px', minHeight: '0', visibility: 'hidden', border: 'none' })),
2072
+ state('expanded', style({ height: '*' })),
2073
+ transition('expanded <=> collapsed', animate('180ms cubic-bezier(0.8, 0.5, 0.7, 1.0)'))
2074
+ ])
2075
+ ];
2076
+ const tabSlider = [
2077
+ trigger('tabSlider', [
2078
+ state('in-from-left', style({ opacity: 1 })),
2079
+ state('in-from-right', style({ opacity: 1 })),
2080
+ state('out-to-left', style({ opacity: 0, transform: 'translateX(0)' })),
2081
+ state('out-to-right', style({ opacity: 0, transform: 'translateX(0)' })),
2082
+ transition('* => out-to-right', animate(TAB_SLIDER_TIMING_FN, style({ transform: 'translateX(100%)' }))),
2083
+ transition('* => out-to-left', [animate(TAB_SLIDER_TIMING_FN, style({ transform: 'translateX(-100%)' }))]),
2084
+ transition('* => in-from-left', [
2085
+ sequence([
2086
+ style({ transform: 'translateX(-100%)', opacity: 1 }),
2087
+ animate(TAB_SLIDER_TIMING_FN, style({ transform: 'translateX(0)' }))
2088
+ ])
2089
+ ]),
2090
+ transition('* => in-from-right', [
2091
+ sequence([
2092
+ style({ transform: 'translateX(100%)', opacity: 1 }),
2093
+ animate(TAB_SLIDER_TIMING_FN, style({ transform: 'translateX(0)' }))
2094
+ ])
2095
+ ])
2096
+ ])
2097
+ ];
2098
+ const toggleButtonAnimation = [
2099
+ trigger('toggleButton', [
2100
+ state('on', style({ transform: 'translateX(100%)' })),
2101
+ state('off', style({ transform: 'translateX(0)' })),
2102
+ transition('on <=> off', animate('300ms ease-out'))
2103
+ ])
2104
+ ];
2105
+ const toggleBackgroundAnimation = [
2106
+ trigger('toggleBackground', [
2107
+ state('on', style({ background: 'var(--primary-connected-orange-color)' })),
2108
+ state('off', style({ background: 'var(--toggle-button-grey-color)' })),
2109
+ transition('on <=> off', [group([query('@toggleButton', [animateChild()]), animate('300ms ease-out')])])
2110
+ ])
2111
+ ];
2112
+ const flyInOut = [
2113
+ trigger('flyInOut', [
2114
+ state('in', style({ opacity: 1, transform: 'translateY(0)' })),
2115
+ transition('void => *', [style({ opacity: 0, transform: 'translateY(-100%)' }), animate(200)]),
2116
+ transition('* => void', [animate(200, style({ opacity: 0, transform: 'translateY(-100%)' }))])
2117
+ ])
2118
+ ];
2119
+ const fadeInFromBottom = [
2120
+ trigger('fadeInFromBottom', [
2121
+ state('void', style({ opacity: 0.3, transform: 'translateY(90%)' })), // Initial state for :enter
2122
+ state('enter', style({ opacity: 1, transform: 'translateY(0)' })), // Final state for :enter
2123
+ transition('void => enter', [
2124
+ style({ opacity: 0.3, transform: 'translateY(90%)' }),
2125
+ animate('1000ms {{delay}}ms ease-in-out', style({ opacity: 1, transform: 'translateY(0)' }))
2126
+ ], {
2127
+ params: { delay: '0' }
2128
+ })
2129
+ ])
2130
+ ];
2131
+
2132
+ const NEUTRAL_BUTTON_COLOR = '#F3F3F3';
2133
+ class AfConnectToggleButtonComponent {
2134
+ constructor(injector, cdr) {
2135
+ this.injector = injector;
2136
+ this.cdr = cdr;
2137
+ this.disabled = true;
2138
+ this.withForm = false;
2139
+ this.onStateBackground = 'var(--primary-connected-orange-color)';
2140
+ this.position = 'off';
2141
+ this.variant = 'ball';
2142
+ this.clickBtn = new EventEmitter();
2143
+ this.propagateChange = (_) => { };
2144
+ this.propagateTouch = (_) => { };
2145
+ }
2146
+ togglePosition() {
2147
+ if (this.position === 'on')
2148
+ this.position = 'off';
2149
+ else
2150
+ this.position = 'on';
2151
+ this.propagateChange(this.position === 'on');
2152
+ }
2153
+ ngAfterViewInit() {
2154
+ if (this.withForm) {
2155
+ const ngControl = this.injector.get(NgControl);
2156
+ if (ngControl) {
2157
+ this.control = ngControl.control;
2158
+ this.cdr.detectChanges();
2159
+ }
2160
+ }
2161
+ }
2162
+ writeValue() { }
2163
+ registerOnChange(fn) {
2164
+ this.propagateChange = fn;
2165
+ }
2166
+ registerOnTouched(fn) {
2167
+ this.propagateTouch = fn;
2168
+ }
2169
+ onBlur() {
2170
+ this.propagateTouch();
2171
+ }
2172
+ setDisabledState(disabled) {
2173
+ this.disabled = disabled;
2174
+ }
2175
+ getButtonStyles() {
2176
+ if (this.variant === 'full')
2177
+ return {
2178
+ background: this.background || NEUTRAL_BUTTON_COLOR,
2179
+ width: '152px',
2180
+ height: '32px',
2181
+ borderRadius: '16px'
2182
+ };
2183
+ else
2184
+ return {
2185
+ background: this.position === 'on' ? this.onStateBackground : this.offStateBackground
2186
+ };
2187
+ }
2188
+ getToggleBallStyles() {
2189
+ if (this.variant === 'full')
2190
+ return {
2191
+ background: '#15808D',
2192
+ width: '76px',
2193
+ height: '32px',
2194
+ borderRadius: '16px',
2195
+ margin: 0
2196
+ };
2197
+ }
2198
+ getOnStateTextStyles() {
2199
+ if (this.variant === 'full')
2200
+ return {
2201
+ zIndex: '2',
2202
+ fontSize: '14px',
2203
+ marginLeft: '19px',
2204
+ color: this.position === 'on' ? '#707070' : '#fff'
2205
+ };
2206
+ }
2207
+ getOffStateTextStyles() {
2208
+ if (this.variant === 'full')
2209
+ return {
2210
+ zIndex: '2',
2211
+ fontSize: '14px',
2212
+ marginLeft: '16px',
2213
+ color: this.position === 'off' ? '#707070' : '#fff'
2214
+ };
2215
+ }
2216
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AfConnectToggleButtonComponent, deps: [{ token: i0.Injector }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
2217
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: AfConnectToggleButtonComponent, selector: "lib-af-connect-toggle-button", inputs: { emitValue: "emitValue", label: "label", disabled: "disabled", withForm: "withForm", onStateBackground: "onStateBackground", offStateBackground: "offStateBackground", onStateText: "onStateText", offStateText: "offStateText", background: "background", position: "position", variant: "variant" }, outputs: { clickBtn: "clickBtn" }, providers: [
2218
+ {
2219
+ provide: NG_VALUE_ACCESSOR,
2220
+ useExisting: forwardRef(() => AfConnectToggleButtonComponent),
2221
+ multi: true
2222
+ }
2223
+ ], ngImport: i0, template: "<label>{{ label }}</label>\r\n<button\r\n type=\"button\"\r\n class=\"toggle-button\"\r\n (click)=\"this.clickBtn.emit(emitValue); togglePosition();\"\r\n [disabled]=\"disabled\"\r\n [ngStyle]=\"getButtonStyles()\">\r\n <span\r\n *ngIf=\"onStateText\"\r\n [ngStyle]=\"getOnStateTextStyles() || null\"\r\n class=\"onStateText\">\r\n {{onStateText}}\r\n </span>\r\n <div\r\n class=\"toggle-ball\"\r\n [@toggleButton]=\"position\"\r\n [ngStyle]=\"getToggleBallStyles() || null\">\r\n </div>\r\n <span\r\n *ngIf=\"offStateText\"\r\n [ngStyle]=\"getOffStateTextStyles() || null\"\r\n class=\"offStateText\"> \r\n {{offStateText}}\r\n </span>\r\n</button>\r\n<span *ngIf=\"label\" class=\"state-info-text\">{{ position === 'on' ? 'Yes' : 'No' }}</span>", styles: [":host{display:flex;flex-wrap:wrap;width:100%}:host label{width:100%;height:fit-content;font-size:14px}:host(.tax-certificates-toggle){width:auto}.toggle-button{position:relative;width:49px;height:28px;border:none;border-radius:14px;background:var(--toggle-button-grey-color);display:flex;align-items:center;cursor:pointer;padding:0}.toggle-button:disabled{cursor:default}.toggle-button,.state-info-text{align-self:center}.toggle-ball{width:18.67px;height:18.67px;background:#fff;border-radius:50%;margin:0 5.83px}.onStateText{position:absolute;margin-left:.5rem}.onStateText,.offStateText{color:var(--neutral-button-color)}\n"], dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }], animations: [toggleButtonAnimation, toggleBackgroundAnimation] }); }
2224
+ }
2225
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AfConnectToggleButtonComponent, decorators: [{
2226
+ type: Component,
2227
+ args: [{ selector: 'lib-af-connect-toggle-button', animations: [toggleButtonAnimation, toggleBackgroundAnimation], providers: [
2228
+ {
2229
+ provide: NG_VALUE_ACCESSOR,
2230
+ useExisting: forwardRef(() => AfConnectToggleButtonComponent),
2231
+ multi: true
2232
+ }
2233
+ ], template: "<label>{{ label }}</label>\r\n<button\r\n type=\"button\"\r\n class=\"toggle-button\"\r\n (click)=\"this.clickBtn.emit(emitValue); togglePosition();\"\r\n [disabled]=\"disabled\"\r\n [ngStyle]=\"getButtonStyles()\">\r\n <span\r\n *ngIf=\"onStateText\"\r\n [ngStyle]=\"getOnStateTextStyles() || null\"\r\n class=\"onStateText\">\r\n {{onStateText}}\r\n </span>\r\n <div\r\n class=\"toggle-ball\"\r\n [@toggleButton]=\"position\"\r\n [ngStyle]=\"getToggleBallStyles() || null\">\r\n </div>\r\n <span\r\n *ngIf=\"offStateText\"\r\n [ngStyle]=\"getOffStateTextStyles() || null\"\r\n class=\"offStateText\"> \r\n {{offStateText}}\r\n </span>\r\n</button>\r\n<span *ngIf=\"label\" class=\"state-info-text\">{{ position === 'on' ? 'Yes' : 'No' }}</span>", styles: [":host{display:flex;flex-wrap:wrap;width:100%}:host label{width:100%;height:fit-content;font-size:14px}:host(.tax-certificates-toggle){width:auto}.toggle-button{position:relative;width:49px;height:28px;border:none;border-radius:14px;background:var(--toggle-button-grey-color);display:flex;align-items:center;cursor:pointer;padding:0}.toggle-button:disabled{cursor:default}.toggle-button,.state-info-text{align-self:center}.toggle-ball{width:18.67px;height:18.67px;background:#fff;border-radius:50%;margin:0 5.83px}.onStateText{position:absolute;margin-left:.5rem}.onStateText,.offStateText{color:var(--neutral-button-color)}\n"] }]
2234
+ }], ctorParameters: () => [{ type: i0.Injector }, { type: i0.ChangeDetectorRef }], propDecorators: { emitValue: [{
2235
+ type: Input
2236
+ }], label: [{
2237
+ type: Input
2238
+ }], disabled: [{
2239
+ type: Input
2240
+ }], withForm: [{
2241
+ type: Input
2242
+ }], onStateBackground: [{
2243
+ type: Input
2244
+ }], offStateBackground: [{
2245
+ type: Input
2246
+ }], onStateText: [{
2247
+ type: Input
2248
+ }], offStateText: [{
2249
+ type: Input
2250
+ }], background: [{
2251
+ type: Input
2252
+ }], position: [{
2253
+ type: Input
2254
+ }], variant: [{
2255
+ type: Input
2256
+ }], clickBtn: [{
2257
+ type: Output
2258
+ }] } });
2259
+
2260
+ class AfConnectTooltipComponent {
2261
+ constructor() {
2262
+ this.position = 'bottomRight';
2263
+ this.additionalShowCondition = true;
2264
+ this.zIndex = 10;
2265
+ this.showContent = false;
2266
+ }
2267
+ onMouseEnter() {
2268
+ this.showContent = !this.showContent;
2269
+ }
2270
+ onMouseLeave() {
2271
+ this.showContent = false;
2272
+ }
2273
+ click() {
2274
+ this.showContent = !this.showContent;
2275
+ }
2276
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AfConnectTooltipComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
2277
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: AfConnectTooltipComponent, selector: "lib-af-connect-tooltip", inputs: { text: "text", position: "position", additionalShowCondition: "additionalShowCondition", top: "top", autoSize: "autoSize", zIndex: "zIndex" }, host: { listeners: { "mouseenter": "onMouseEnter()", "mouseleave": "onMouseLeave()", "click": "click()" } }, ngImport: i0, template: "<div\r\n *ngIf=\"showContent && additionalShowCondition\"\r\n [ngStyle]=\"{\r\n top: top,\r\n zIndex: zIndex\r\n }\"\r\n [ngClass]=\"['tooltip__text__box', position, autoSize ? 'autoSize' : '']\"\r\n>\r\n <div class=\"tooltip__text\">{{ text }}</div>\r\n</div>\r\n<ng-content></ng-content>\r\n", styles: [".tooltip-text,:host(.funeral-cover__info-btn-tooltip) .tooltip__text,:host(.empty_state__btn-tooltip) .tooltip__text{text-align:left;color:var(--primary-dark-teal-color);font-family:var(--standard-font-family-hero-new-bold)}:host{width:100%;position:relative}.display__after,.position__bottom,.tooltip__text__box.bottomRight:after,.tooltip__text__box.bottomCenter:after,.tooltip__text__box.bottomLeft:after,.position__top,.tooltip__text__box.topCenter:after,.tooltip__text__box.topLeft:after,.tooltip__text__box.topRight:after{content:\"\";z-index:1;position:absolute;border-style:solid;border-width:.6rem}.position__top,.tooltip__text__box.topCenter:after,.tooltip__text__box.topLeft:after,.tooltip__text__box.topRight:after{top:100%;border-color:var(--secondary-egg-shell-color) transparent transparent transparent}.position__bottom,.tooltip__text__box.bottomRight:after,.tooltip__text__box.bottomCenter:after,.tooltip__text__box.bottomLeft:after{bottom:100%;border-color:transparent transparent var(--secondary-egg-shell-color) transparent}.tooltip__text__box{display:flex;align-items:center;width:19rem;font-size:12px;line-height:20px;position:absolute;text-align:center;background:var(--secondary-egg-shell-color);border-radius:1.2rem;box-shadow:0 10px 30px var(--box-shadow-black-color)}.tooltip__text__box.topRight{right:0;bottom:2.8rem}.tooltip__text__box.topRight:after{right:10%}.tooltip__text__box.topLeft{left:0;bottom:2.8rem}.tooltip__text__box.topLeft:after{left:10%}.tooltip__text__box.topCenter{right:-50%;bottom:2.8rem}.tooltip__text__box.topCenter:after{left:50%}.tooltip__text__box.bottomLeft{left:0;top:2.8rem}.tooltip__text__box.bottomLeft:after{left:10%}.tooltip__text__box.bottomCenter{right:-50%;top:2.8rem}.tooltip__text__box.bottomCenter:after{left:50%}.tooltip__text__box.bottomRight{right:0;top:2.8rem}.tooltip__text__box.bottomRight:after{right:10%}.tooltip__text__box.autoSize{width:auto;height:auto}.tooltip__text{padding:1rem;text-align:justify}@media (max-width: 768px){:host(.profile-loading__icon) .tooltip__text__box{left:-2rem}}@media (max-width: 768px){:host(.profile-details-loading__icon) .tooltip__text__box{left:-9.7rem}}:host(.empty_state__btn-tooltip) .tooltip__text__box{right:-1.85rem}:host(.funeral-cover__info-btn-tooltip) .tooltip__text__box{right:-1.75rem}@media (max-width: 768px){:host(.funeral-cover__info-btn-tooltip) .tooltip__text__box{right:-1.2rem}}\n"], dependencies: [{ kind: "directive", type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] }); }
2278
+ }
2279
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AfConnectTooltipComponent, decorators: [{
2280
+ type: Component,
2281
+ args: [{ selector: 'lib-af-connect-tooltip', template: "<div\r\n *ngIf=\"showContent && additionalShowCondition\"\r\n [ngStyle]=\"{\r\n top: top,\r\n zIndex: zIndex\r\n }\"\r\n [ngClass]=\"['tooltip__text__box', position, autoSize ? 'autoSize' : '']\"\r\n>\r\n <div class=\"tooltip__text\">{{ text }}</div>\r\n</div>\r\n<ng-content></ng-content>\r\n", styles: [".tooltip-text,:host(.funeral-cover__info-btn-tooltip) .tooltip__text,:host(.empty_state__btn-tooltip) .tooltip__text{text-align:left;color:var(--primary-dark-teal-color);font-family:var(--standard-font-family-hero-new-bold)}:host{width:100%;position:relative}.display__after,.position__bottom,.tooltip__text__box.bottomRight:after,.tooltip__text__box.bottomCenter:after,.tooltip__text__box.bottomLeft:after,.position__top,.tooltip__text__box.topCenter:after,.tooltip__text__box.topLeft:after,.tooltip__text__box.topRight:after{content:\"\";z-index:1;position:absolute;border-style:solid;border-width:.6rem}.position__top,.tooltip__text__box.topCenter:after,.tooltip__text__box.topLeft:after,.tooltip__text__box.topRight:after{top:100%;border-color:var(--secondary-egg-shell-color) transparent transparent transparent}.position__bottom,.tooltip__text__box.bottomRight:after,.tooltip__text__box.bottomCenter:after,.tooltip__text__box.bottomLeft:after{bottom:100%;border-color:transparent transparent var(--secondary-egg-shell-color) transparent}.tooltip__text__box{display:flex;align-items:center;width:19rem;font-size:12px;line-height:20px;position:absolute;text-align:center;background:var(--secondary-egg-shell-color);border-radius:1.2rem;box-shadow:0 10px 30px var(--box-shadow-black-color)}.tooltip__text__box.topRight{right:0;bottom:2.8rem}.tooltip__text__box.topRight:after{right:10%}.tooltip__text__box.topLeft{left:0;bottom:2.8rem}.tooltip__text__box.topLeft:after{left:10%}.tooltip__text__box.topCenter{right:-50%;bottom:2.8rem}.tooltip__text__box.topCenter:after{left:50%}.tooltip__text__box.bottomLeft{left:0;top:2.8rem}.tooltip__text__box.bottomLeft:after{left:10%}.tooltip__text__box.bottomCenter{right:-50%;top:2.8rem}.tooltip__text__box.bottomCenter:after{left:50%}.tooltip__text__box.bottomRight{right:0;top:2.8rem}.tooltip__text__box.bottomRight:after{right:10%}.tooltip__text__box.autoSize{width:auto;height:auto}.tooltip__text{padding:1rem;text-align:justify}@media (max-width: 768px){:host(.profile-loading__icon) .tooltip__text__box{left:-2rem}}@media (max-width: 768px){:host(.profile-details-loading__icon) .tooltip__text__box{left:-9.7rem}}:host(.empty_state__btn-tooltip) .tooltip__text__box{right:-1.85rem}:host(.funeral-cover__info-btn-tooltip) .tooltip__text__box{right:-1.75rem}@media (max-width: 768px){:host(.funeral-cover__info-btn-tooltip) .tooltip__text__box{right:-1.2rem}}\n"] }]
2282
+ }], propDecorators: { text: [{
2283
+ type: Input
2284
+ }], position: [{
2285
+ type: Input
2286
+ }], additionalShowCondition: [{
2287
+ type: Input
2288
+ }], top: [{
2289
+ type: Input
2290
+ }], autoSize: [{
2291
+ type: Input
2292
+ }], zIndex: [{
2293
+ type: Input
2294
+ }], onMouseEnter: [{
2295
+ type: HostListener,
2296
+ args: ['mouseenter']
2297
+ }], onMouseLeave: [{
2298
+ type: HostListener,
2299
+ args: ['mouseleave']
2300
+ }], click: [{
2301
+ type: HostListener,
2302
+ args: ['click']
2303
+ }] } });
2304
+
2305
+ class AfConnectBreadcrumbComponent {
2306
+ goToDashboard() {
2307
+ // this.router.navigate(['/dashboard']);
2308
+ }
2309
+ constructor(router) {
2310
+ this.router = router;
2311
+ }
2312
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AfConnectBreadcrumbComponent, deps: [{ token: i1$3.Router }], target: i0.ɵɵFactoryTarget.Component }); }
2313
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: AfConnectBreadcrumbComponent, selector: "lib-af-connect-breadcrumb", inputs: { currentPage: "currentPage" }, ngImport: i0, template: "<div class=\"breadcrumb-wrapper\">\r\n <div class=\"breadcrumb-container\">\r\n <div class=\"home-icon-container\" (click)=\"goToDashboard()\">\r\n <lib-af-connect-svg-button [customSize]=\"24\" src=\"../../../assets/icons/home.svg\" emitValue=\"isCloseModal\"></lib-af-connect-svg-button>\r\n </div>\r\n <div class=\"titles-container\">\r\n <div class=\"home-title\" (click)=\"goToDashboard()\">Home</div>\r\n <afc-expandable-arrow></afc-expandable-arrow>\r\n <div class=\"current-title\">{{ currentPage }}</div>\r\n </div>\r\n </div>\r\n </div>\r\n ", styles: [".breadcrumb-wrapper{padding:2rem 0}@media (max-width: 768px){.breadcrumb-wrapper{padding:12px 6px}}.breadcrumb-container{display:inline-flex;align-items:center;padding:.5rem;background:var(--main-white-color);border-radius:22px;gap:14px}.home-icon-container{flex-shrink:0;width:32px;height:32px;background-color:var(--breadcrumb-background-color);display:flex;justify-content:center;align-items:center;border-radius:16px}.titles-container{display:flex;gap:1rem;font-size:14px;justify-content:space-between;align-items:center}@media (max-width: 768px){.titles-container{gap:.5rem}}.current-title{color:var(--primary-dark-teal-color);margin-right:.375rem}.home-title{cursor:pointer}\n"], dependencies: [{ kind: "component", type: ExpandableArrowComponent, selector: "afc-expandable-arrow", inputs: ["color", "startPosition", "endPosition"] }, { kind: "component", type: AfConnectSvgButtonComponent, selector: "lib-af-connect-svg-button", inputs: ["src", "emitValue", "customSize", "size"], outputs: ["clickBtn"] }] }); }
2314
+ }
2315
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AfConnectBreadcrumbComponent, decorators: [{
2316
+ type: Component,
2317
+ args: [{ selector: 'lib-af-connect-breadcrumb', template: "<div class=\"breadcrumb-wrapper\">\r\n <div class=\"breadcrumb-container\">\r\n <div class=\"home-icon-container\" (click)=\"goToDashboard()\">\r\n <lib-af-connect-svg-button [customSize]=\"24\" src=\"../../../assets/icons/home.svg\" emitValue=\"isCloseModal\"></lib-af-connect-svg-button>\r\n </div>\r\n <div class=\"titles-container\">\r\n <div class=\"home-title\" (click)=\"goToDashboard()\">Home</div>\r\n <afc-expandable-arrow></afc-expandable-arrow>\r\n <div class=\"current-title\">{{ currentPage }}</div>\r\n </div>\r\n </div>\r\n </div>\r\n ", styles: [".breadcrumb-wrapper{padding:2rem 0}@media (max-width: 768px){.breadcrumb-wrapper{padding:12px 6px}}.breadcrumb-container{display:inline-flex;align-items:center;padding:.5rem;background:var(--main-white-color);border-radius:22px;gap:14px}.home-icon-container{flex-shrink:0;width:32px;height:32px;background-color:var(--breadcrumb-background-color);display:flex;justify-content:center;align-items:center;border-radius:16px}.titles-container{display:flex;gap:1rem;font-size:14px;justify-content:space-between;align-items:center}@media (max-width: 768px){.titles-container{gap:.5rem}}.current-title{color:var(--primary-dark-teal-color);margin-right:.375rem}.home-title{cursor:pointer}\n"] }]
2318
+ }], ctorParameters: () => [{ type: i1$3.Router }], propDecorators: { currentPage: [{
2319
+ type: Input
2320
+ }] } });
2321
+
2322
+ const data$1 = {
2323
+ 'invest': {
2324
+ imgWeb: 'solutions-invest.jpg',
2325
+ imgMobile: 'solutions-invest-mobile.jpg',
2326
+ heading: 'Start investing today',
2327
+ subheading: 'A smarter, simpler way to invest and grow your wealth over time.',
2328
+ description: 'Consolidate your existing ones with our award-winning digital platform—designed to make investing easy and seamless for you',
2329
+ ctaTitle: 'Explore',
2330
+ ctaLink: 'https://invest.alexforbes.com/za/en/invest/',
2331
+ labels: [
2332
+ {
2333
+ img: 'document-clock-blue.svg',
2334
+ text: 'Apply without paperwork'
2335
+ },
2336
+ {
2337
+ img: 'phone-text-bubbles-blue.svg',
2338
+ text: 'Get online Digital-advice'
2339
+ },
2340
+ {
2341
+ img: 'devices-blue.svg',
2342
+ text: 'Access your statements'
2343
+ },
2344
+ ]
2345
+ },
2346
+ 'myMoneyMatters': {
2347
+ imgWeb: 'solutions-mmm.jpg',
2348
+ imgMobile: 'solutions-mmm-mobile.jpg',
2349
+ heading: 'My money matters',
2350
+ subheading: 'Get the most out of your money',
2351
+ description: 'Are you starting a new job, leaving a job, retiring soon, or just trying to achieve your financial goals? My Money Matters Toolkit provided guided decision journeys for important financial moments during people’ working lives and beyond.',
2352
+ ctaTitle: 'Explore',
2353
+ ctaLink: 'https://mymoneymatters.alexforbes.com/',
2354
+ labels: [
2355
+ {
2356
+ img: 'devices-blue.svg',
2357
+ text: 'My Money Matters toolkit'
2358
+ },
2359
+ {
2360
+ img: 'shield-blue.svg',
2361
+ text: 'Investing for a goal'
2362
+ },
2363
+ {
2364
+ img: 'hourglass-blue.svg',
2365
+ text: 'Save for retirement'
2366
+ },
2367
+ ]
2368
+ },
2369
+ 'afplus': {
2370
+ imgWeb: 'solutions-afplus.jpg',
2371
+ imgMobile: 'solutions-afplus-mobile.jpg',
2372
+ heading: 'A F +',
2373
+ subheading: 'Financial decisions with confidence',
2374
+ description: 'AF+ is a new digital platform that connects you to expertly chosen financial solutions to help you make decisions with ease and confidence. Reduce your financial stress and focus on what matters Consolidate debt and negotiate affordable payment terms to you.',
2375
+ ctaTitle: 'Explore',
2376
+ ctaLink: 'https://plus.alexforbes.com/?utm_source=afwebsite&utm_campaign=AFWebsite&utm_medium=Web&utm_term=Explore&utm_content=Explore%20AF%2B%20solutions',
2377
+ labels: [
2378
+ {
2379
+ img: 'price-tag-blue.svg',
2380
+ text: 'Retailer discounts'
2381
+ },
2382
+ {
2383
+ img: 'travel-blue.svg',
2384
+ text: 'Travel and lifestyle'
2385
+ },
2386
+ {
2387
+ img: 'basket-blue.svg',
2388
+ text: 'Benefits'
2389
+ },
2390
+ ]
2391
+ },
2392
+ };
2393
+
2394
+ class AfConnectSolutionsProductComponent {
2395
+ get variant() {
2396
+ return this._variant;
2397
+ }
2398
+ set variant(value) {
2399
+ this._variant = value;
2400
+ this.content = data$1[value];
2401
+ }
2402
+ constructor(breakpointService) {
2403
+ this.breakpointService = breakpointService;
2404
+ this._variant = 'invest';
2405
+ this.direction = 'default';
2406
+ }
2407
+ navigateExternal() {
2408
+ window.open(this.content.ctaLink, '_blank');
2409
+ }
2410
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AfConnectSolutionsProductComponent, deps: [{ token: BreakpointLibService }], target: i0.ɵɵFactoryTarget.Component }); }
2411
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.13", type: AfConnectSolutionsProductComponent, selector: "lib-af-connect-solutions-product", inputs: { direction: "direction", variant: "variant" }, ngImport: i0, template: "<section [ngClass]=\"['wrapper', direction, variant]\">\r\n @if (!(breakpointService.isMobile$ | async)) {\r\n <div class=\"image-container\">\r\n <img [src]=\"'/assets/images/' + content.imgWeb\">\r\n </div>\r\n }\r\n <div class=\"content\">\r\n <header>\r\n <span class=\"line\"></span>\r\n <h3>{{ content.heading }}</h3>\r\n <h4>{{ content.subheading }}</h4>\r\n </header>\r\n @if (!(breakpointService.isMobile$ | async)) {\r\n <p>{{ content.description }}</p>\r\n }\r\n @else {\r\n <div class=\"image-container\">\r\n <img [src]=\"'/assets/images/' + content.imgMobile\">\r\n <p>{{ content.description }}</p>\r\n </div>\r\n }\r\n <lib-af-connect-button \r\n class=\"regular\"\r\n [title]=\"content.ctaTitle\"\r\n variant=\"filled\"\r\n (clickBtn)=\"navigateExternal()\"\r\n ></lib-af-connect-button>\r\n <div class=\"labels\">\r\n @for (label of content.labels; track $index) {\r\n <div class=\"label\">\r\n <img [src]=\"'/assets/icons/' + label.img\">\r\n <span>{{ label.text }}</span>\r\n </div>\r\n }\r\n </div>\r\n </div>\r\n</section>\r\n", styles: [".wrapper{position:relative;display:flex;flex-direction:row;gap:2.5rem}.wrapper.reverse{flex-direction:row-reverse;justify-content:flex-end}.wrapper.reverse .content .labels{align-self:flex-start;margin-inline:0 -1000px}.content{padding-block:2.375rem 3.25rem;flex-grow:1;display:flex;flex-direction:column}.content header{font-family:var(--standard-font-family-hero-new-bold);margin-bottom:1.5rem}.content header .line{display:block;width:332px;height:3px;background-color:#f69521;border-radius:50px}.content header h3{font-size:36px;line-height:50px;margin-block:1.625rem .25rem}.content header h4{font-size:16px;letter-spacing:.5px;color:#f69521;margin:0}.content p{margin-block:0 2.375rem;line-height:24px;max-width:638px}.content lib-af-connect-button{margin-bottom:2.625rem}.content .labels{align-self:flex-end;box-sizing:border-box;box-shadow:0 5px 50px #abafc74d;padding:min(2.5rem,3vw) min(2.125rem,2.5vw);display:flex;gap:1.375rem;min-height:min(158px,12vw);width:min(180%,908px);margin-inline:-1000px 0;margin-top:auto;background-color:#fff;border-radius:20px;position:relative;z-index:1}.content .labels .label{flex-grow:1;display:flex;align-items:center;gap:min(1.75rem,10%)}.content .labels .label:not(:first-child){padding-left:min(2rem,2.5vw);border-left:1px solid #ABAFC7}.content .labels .label svg,.content .labels .label img{flex:0 0 min(80px,8vw)}.content .labels .label span{color:#124e57;font-family:var(--standard-font-family-hero-new-semibold)}@media (max-width: 1024px){.content .labels .label span{font-size:14px}}.afplus .content .line{width:166px}.image-container{flex-basis:500px;border-radius:20px;overflow:hidden}.image-container img{vertical-align:top;object-fit:cover;width:100%;height:100%}@media (max-width: 768px){.wrapper,.wrapper.reverse{flex-direction:column-reverse}.wrapper .image-container,.wrapper.reverse .image-container{display:flex;flex-direction:column;box-shadow:0 5px 10px #00000029;background-color:#fff;border-radius:30px 30px 10px 10px}.wrapper .image-container p,.wrapper.reverse .image-container p{font-size:14px;line-height:20px;margin:0;padding:1rem}.wrapper .content,.wrapper.reverse .content{padding:0;display:grid;row-gap:1.25rem}.wrapper .content header,.wrapper.reverse .content header{margin:0}.wrapper .content header .line,.wrapper.reverse .content header .line{width:100%}.wrapper .content header h3,.wrapper.reverse .content header h3{font-size:18px;line-height:25px;margin-block:1.25rem .375rem}.wrapper .content header h4,.wrapper.reverse .content header h4{font-size:14px;line-height:20px;letter-spacing:normal}.wrapper .content .labels,.wrapper.reverse .content .labels{box-shadow:0 5px 20px #00000029;padding:1rem;margin-inline:0;width:auto;gap:.875rem;flex-direction:column;align-self:stretch;border-left:none;border-radius:10px}.wrapper .content .labels .label,.wrapper.reverse .content .labels .label{gap:1rem}.wrapper .content .labels .label:not(:first-child),.wrapper.reverse .content .labels .label:not(:first-child){padding:0;border-left:0;border-top:1px solid #ABAFC7;padding-top:.875rem}.wrapper .content .labels .label span,.wrapper.reverse .content .labels .label span{font-size:14px}.wrapper .content .labels .label svg,.wrapper .content .labels .label img,.wrapper.reverse .content .labels .label svg,.wrapper.reverse .content .labels .label img{flex:none;width:max(40px,8vw)}.wrapper .content lib-af-connect-button,.wrapper.reverse .content lib-af-connect-button{margin:0;grid-row:4;justify-self:center}}\n"], dependencies: [{ kind: "directive", type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: AfConnectButtonComponent, selector: "lib-af-connect-button", inputs: ["isActive", "emitValue", "title", "disabled", "hybrid", "fullWidth", "size", "variant", "iconSrc", "iconSize", "iconPosition", "activeItem"], outputs: ["clickBtn"] }, { kind: "pipe", type: i1$1.AsyncPipe, name: "async" }] }); }
2412
+ }
2413
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AfConnectSolutionsProductComponent, decorators: [{
2414
+ type: Component,
2415
+ args: [{ selector: 'lib-af-connect-solutions-product', template: "<section [ngClass]=\"['wrapper', direction, variant]\">\r\n @if (!(breakpointService.isMobile$ | async)) {\r\n <div class=\"image-container\">\r\n <img [src]=\"'/assets/images/' + content.imgWeb\">\r\n </div>\r\n }\r\n <div class=\"content\">\r\n <header>\r\n <span class=\"line\"></span>\r\n <h3>{{ content.heading }}</h3>\r\n <h4>{{ content.subheading }}</h4>\r\n </header>\r\n @if (!(breakpointService.isMobile$ | async)) {\r\n <p>{{ content.description }}</p>\r\n }\r\n @else {\r\n <div class=\"image-container\">\r\n <img [src]=\"'/assets/images/' + content.imgMobile\">\r\n <p>{{ content.description }}</p>\r\n </div>\r\n }\r\n <lib-af-connect-button \r\n class=\"regular\"\r\n [title]=\"content.ctaTitle\"\r\n variant=\"filled\"\r\n (clickBtn)=\"navigateExternal()\"\r\n ></lib-af-connect-button>\r\n <div class=\"labels\">\r\n @for (label of content.labels; track $index) {\r\n <div class=\"label\">\r\n <img [src]=\"'/assets/icons/' + label.img\">\r\n <span>{{ label.text }}</span>\r\n </div>\r\n }\r\n </div>\r\n </div>\r\n</section>\r\n", styles: [".wrapper{position:relative;display:flex;flex-direction:row;gap:2.5rem}.wrapper.reverse{flex-direction:row-reverse;justify-content:flex-end}.wrapper.reverse .content .labels{align-self:flex-start;margin-inline:0 -1000px}.content{padding-block:2.375rem 3.25rem;flex-grow:1;display:flex;flex-direction:column}.content header{font-family:var(--standard-font-family-hero-new-bold);margin-bottom:1.5rem}.content header .line{display:block;width:332px;height:3px;background-color:#f69521;border-radius:50px}.content header h3{font-size:36px;line-height:50px;margin-block:1.625rem .25rem}.content header h4{font-size:16px;letter-spacing:.5px;color:#f69521;margin:0}.content p{margin-block:0 2.375rem;line-height:24px;max-width:638px}.content lib-af-connect-button{margin-bottom:2.625rem}.content .labels{align-self:flex-end;box-sizing:border-box;box-shadow:0 5px 50px #abafc74d;padding:min(2.5rem,3vw) min(2.125rem,2.5vw);display:flex;gap:1.375rem;min-height:min(158px,12vw);width:min(180%,908px);margin-inline:-1000px 0;margin-top:auto;background-color:#fff;border-radius:20px;position:relative;z-index:1}.content .labels .label{flex-grow:1;display:flex;align-items:center;gap:min(1.75rem,10%)}.content .labels .label:not(:first-child){padding-left:min(2rem,2.5vw);border-left:1px solid #ABAFC7}.content .labels .label svg,.content .labels .label img{flex:0 0 min(80px,8vw)}.content .labels .label span{color:#124e57;font-family:var(--standard-font-family-hero-new-semibold)}@media (max-width: 1024px){.content .labels .label span{font-size:14px}}.afplus .content .line{width:166px}.image-container{flex-basis:500px;border-radius:20px;overflow:hidden}.image-container img{vertical-align:top;object-fit:cover;width:100%;height:100%}@media (max-width: 768px){.wrapper,.wrapper.reverse{flex-direction:column-reverse}.wrapper .image-container,.wrapper.reverse .image-container{display:flex;flex-direction:column;box-shadow:0 5px 10px #00000029;background-color:#fff;border-radius:30px 30px 10px 10px}.wrapper .image-container p,.wrapper.reverse .image-container p{font-size:14px;line-height:20px;margin:0;padding:1rem}.wrapper .content,.wrapper.reverse .content{padding:0;display:grid;row-gap:1.25rem}.wrapper .content header,.wrapper.reverse .content header{margin:0}.wrapper .content header .line,.wrapper.reverse .content header .line{width:100%}.wrapper .content header h3,.wrapper.reverse .content header h3{font-size:18px;line-height:25px;margin-block:1.25rem .375rem}.wrapper .content header h4,.wrapper.reverse .content header h4{font-size:14px;line-height:20px;letter-spacing:normal}.wrapper .content .labels,.wrapper.reverse .content .labels{box-shadow:0 5px 20px #00000029;padding:1rem;margin-inline:0;width:auto;gap:.875rem;flex-direction:column;align-self:stretch;border-left:none;border-radius:10px}.wrapper .content .labels .label,.wrapper.reverse .content .labels .label{gap:1rem}.wrapper .content .labels .label:not(:first-child),.wrapper.reverse .content .labels .label:not(:first-child){padding:0;border-left:0;border-top:1px solid #ABAFC7;padding-top:.875rem}.wrapper .content .labels .label span,.wrapper.reverse .content .labels .label span{font-size:14px}.wrapper .content .labels .label svg,.wrapper .content .labels .label img,.wrapper.reverse .content .labels .label svg,.wrapper.reverse .content .labels .label img{flex:none;width:max(40px,8vw)}.wrapper .content lib-af-connect-button,.wrapper.reverse .content lib-af-connect-button{margin:0;grid-row:4;justify-self:center}}\n"] }]
2416
+ }], ctorParameters: () => [{ type: BreakpointLibService }], propDecorators: { direction: [{
2417
+ type: Input
2418
+ }], variant: [{
2419
+ type: Input
2420
+ }] } });
2421
+
2422
+ class AfConnectSavingsBannerComponent {
2423
+ navigateExternal() {
2424
+ window.open(this.url, '_blank');
2425
+ }
2426
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AfConnectSavingsBannerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
2427
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: AfConnectSavingsBannerComponent, selector: "lib-af-connect-savings-banner", inputs: { url: "url" }, ngImport: i0, template: "<section class=\"wrapper\">\r\n <div class=\"main-content\">\r\n <span class=\"chip\">AF Rewards</span>\r\n <h2>MAX YOUR SAVINGS!</h2>\r\n <p>A dynamic shopping experience\u2014get vouchers, shop online or in-store, and save with no limits or costs!</p>\r\n </div>\r\n <div class=\"pill\">\r\n <span>Start saving today!</span>\r\n <lib-af-connect-button\r\n variant=\"filled\"\r\n title=\"Discover more\"\r\n class=\"regular regular-pill\"\r\n (clickBtn)=\"navigateExternal()\"\r\n ></lib-af-connect-button>\r\n </div>\r\n</section>\r\n", styles: [".wrapper{display:flex;align-items:center;justify-content:space-between;gap:2.75rem;border-radius:15px;padding:min(3.125rem,4vw) min(6.25rem,8vw);background-color:#35c1d9}.wrapper .main-content{color:#fff;flex-basis:498px}.wrapper .main-content .chip{display:inline-block;background-color:#82dae8;font-size:14px;line-height:20px;padding:5px 16px;border-radius:50px}.wrapper .main-content h2{font-size:clamp(24px,5vw,45px);font-family:var(--standard-font-family-hero-new-bold);margin-block:1.25rem .875rem}.wrapper .main-content p{margin:0;line-height:25px;opacity:.85;font-family:var(--standard-font-family-hero-new-semibold)}.wrapper .pill{display:flex;align-items:center;gap:1.875rem;border-radius:50px;padding:.625rem .625rem .625rem 1.875rem;background-color:#fff}.wrapper .pill span{white-space:nowrap;color:#124e57;opacity:.75;text-align:center;font-family:var(--standard-font-family-hero-new-semibold)}@media (max-width: 1024px){.wrapper{flex-direction:column}.wrapper .main-content{flex-basis:auto}}@media (max-width: 768px){.wrapper{padding:1.25rem 1rem;flex-direction:column;gap:1.25rem}.wrapper .main-content .chip{font-size:12px;padding:7.5px 16px}.wrapper .main-content h2{margin-bottom:1rem}.wrapper .main-content p{font-size:14px;line-height:20px;font-family:var(--standard-font-family-hero-new)}.wrapper .pill{box-sizing:border-box;width:min(320px,100%);justify-content:space-between;padding:9px 10px 9px 16px;gap:.75rem}.wrapper .pill span{font-size:12px;white-space:normal}}\n"], dependencies: [{ kind: "component", type: AfConnectButtonComponent, selector: "lib-af-connect-button", inputs: ["isActive", "emitValue", "title", "disabled", "hybrid", "fullWidth", "size", "variant", "iconSrc", "iconSize", "iconPosition", "activeItem"], outputs: ["clickBtn"] }] }); }
2428
+ }
2429
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AfConnectSavingsBannerComponent, decorators: [{
2430
+ type: Component,
2431
+ args: [{ selector: 'lib-af-connect-savings-banner', template: "<section class=\"wrapper\">\r\n <div class=\"main-content\">\r\n <span class=\"chip\">AF Rewards</span>\r\n <h2>MAX YOUR SAVINGS!</h2>\r\n <p>A dynamic shopping experience\u2014get vouchers, shop online or in-store, and save with no limits or costs!</p>\r\n </div>\r\n <div class=\"pill\">\r\n <span>Start saving today!</span>\r\n <lib-af-connect-button\r\n variant=\"filled\"\r\n title=\"Discover more\"\r\n class=\"regular regular-pill\"\r\n (clickBtn)=\"navigateExternal()\"\r\n ></lib-af-connect-button>\r\n </div>\r\n</section>\r\n", styles: [".wrapper{display:flex;align-items:center;justify-content:space-between;gap:2.75rem;border-radius:15px;padding:min(3.125rem,4vw) min(6.25rem,8vw);background-color:#35c1d9}.wrapper .main-content{color:#fff;flex-basis:498px}.wrapper .main-content .chip{display:inline-block;background-color:#82dae8;font-size:14px;line-height:20px;padding:5px 16px;border-radius:50px}.wrapper .main-content h2{font-size:clamp(24px,5vw,45px);font-family:var(--standard-font-family-hero-new-bold);margin-block:1.25rem .875rem}.wrapper .main-content p{margin:0;line-height:25px;opacity:.85;font-family:var(--standard-font-family-hero-new-semibold)}.wrapper .pill{display:flex;align-items:center;gap:1.875rem;border-radius:50px;padding:.625rem .625rem .625rem 1.875rem;background-color:#fff}.wrapper .pill span{white-space:nowrap;color:#124e57;opacity:.75;text-align:center;font-family:var(--standard-font-family-hero-new-semibold)}@media (max-width: 1024px){.wrapper{flex-direction:column}.wrapper .main-content{flex-basis:auto}}@media (max-width: 768px){.wrapper{padding:1.25rem 1rem;flex-direction:column;gap:1.25rem}.wrapper .main-content .chip{font-size:12px;padding:7.5px 16px}.wrapper .main-content h2{margin-bottom:1rem}.wrapper .main-content p{font-size:14px;line-height:20px;font-family:var(--standard-font-family-hero-new)}.wrapper .pill{box-sizing:border-box;width:min(320px,100%);justify-content:space-between;padding:9px 10px 9px 16px;gap:.75rem}.wrapper .pill span{font-size:12px;white-space:normal}}\n"] }]
2432
+ }], propDecorators: { url: [{
2433
+ type: Input
2434
+ }] } });
2435
+
2436
+ const data = {
2437
+ 'afplus': {
2438
+ heading: 'A F +',
2439
+ imgWeb: 'solutions-afplus-v2.jpg',
2440
+ subheading: 'Financial decisions with confidence',
2441
+ ctaLink: 'https://plus.alexforbes.com/?utm_source=afwebsite&utm_campaign=AFWebsite&utm_medium=Web&utm_term=Explore&utm_content=Explore%20AF%2B%20solutions',
2442
+ labels: [
2443
+ {
2444
+ img: 'price-tag-blue.svg',
2445
+ text: 'Retailer discounts'
2446
+ },
2447
+ {
2448
+ img: 'travel-blue.svg',
2449
+ text: 'Travel and lifestyle'
2450
+ },
2451
+ {
2452
+ img: 'basket-blue.svg',
2453
+ text: 'Benefits'
2454
+ },
2455
+ ]
2456
+ },
2457
+ 'myMoneyMatters': {
2458
+ heading: 'My money matters',
2459
+ imgWeb: 'solutions-mmm-v2.jpg',
2460
+ subheading: 'Get the most out of your money',
2461
+ description: 'Explore My Money Matters Toolkit',
2462
+ ctaLink: 'https://mymoneymatters.alexforbes.com/',
2463
+ labels: [
2464
+ {
2465
+ text: 'Saving for emergencies'
2466
+ },
2467
+ {
2468
+ text: 'Choose the right medical aid for your budget'
2469
+ },
2470
+ {
2471
+ text: 'Avoid stress and manage your debt'
2472
+ }
2473
+ ]
2474
+ },
2475
+ 'advice': {
2476
+ heading: 'Expert advice',
2477
+ imgWeb: 'solutions-advice.jpg',
2478
+ subheading: 'Plan your future with expert advice',
2479
+ ctaLink: 'https://advice.alexforbes.com/index.html',
2480
+ labels: [
2481
+ {
2482
+ text: 'Build a holistic financial plan'
2483
+ },
2484
+ {
2485
+ text: 'Save for meaningful life goals'
2486
+ },
2487
+ {
2488
+ text: 'Partner with your own financial adviser'
2489
+ }
2490
+ ]
2491
+ },
2492
+ 'namEducation': {
2493
+ heading: 'Member Education Matters',
2494
+ imgWeb: 'nam_s4u_pier.png',
2495
+ description: 'Key financial topics to help you make informed decisions.',
2496
+ labels: [
2497
+ {
2498
+ text: 'Understand retirement savings and benefit options'
2499
+ },
2500
+ {
2501
+ text: 'Learn how to manage debt and improve financial wellness'
2502
+ },
2503
+ {
2504
+ text: 'Get guidance on insurance and financial protection'
2505
+ }
2506
+ ]
2507
+ },
2508
+ 'namDebt': {
2509
+ heading: 'Managing Debt Wisely',
2510
+ imgWeb: 'nam_s4u_sunset_tree.png',
2511
+ description: 'Simple ways to reduce dept and improve your finances.',
2512
+ labels: [
2513
+ {
2514
+ text: 'Understand your credit score and overall debt risk'
2515
+ },
2516
+ {
2517
+ text: 'Pay more toward high-interest debt to reduce it faster'
2518
+ },
2519
+ {
2520
+ text: 'Create a repayment plan and review it regularly'
2521
+ }
2522
+ ]
2523
+ },
2524
+ 'namJobs': {
2525
+ heading: 'Changing Jobs?',
2526
+ imgWeb: 'nam_s4u_broadwalk.png',
2527
+ subheading: 'Keep your retirement savings invested',
2528
+ description: 'Maintain emergency savings and adequate insurance.',
2529
+ labels: [
2530
+ {
2531
+ text: 'Contribute as much as possible'
2532
+ },
2533
+ {
2534
+ text: 'Manage debt wisely'
2535
+ },
2536
+ {
2537
+ text: 'Consult a financial adviser for guidance'
2538
+ }
2539
+ ]
2540
+ },
2541
+ 'taxTim': {
2542
+ imgWeb: 'solutions-taxtim.jpg',
2543
+ heading: 'Tax made easy',
2544
+ description: 'Simplified tax filing, exclusive value for Alexforbes members.',
2545
+ ctaLink: 'https://www.taxtim.com/za/get-started?210',
2546
+ labels: [
2547
+ {
2548
+ text: 'Guided digital help with your tax return'
2549
+ },
2550
+ {
2551
+ text: 'Smart prompts ensure accuracy and completeness of your return'
2552
+ },
2553
+ {
2554
+ text: 'Seamless integration with SARS eFilling for direct submission'
2555
+ },
2556
+ // {
2557
+ // text: 'Use code <strong style="color:#15808D;">ALEXFORBES25</strong> and save 25% today'
2558
+ // }
2559
+ ]
2560
+ },
2561
+ 'wellTec': {
2562
+ heading: 'Take control of your debt',
2563
+ imgWeb: 'solutions-welltec.jpg',
2564
+ description: 'In partnership with Welltec, we make debt management simple.',
2565
+ ctaLink: 'https://welltec.co.za',
2566
+ labels: [
2567
+ {
2568
+ text: 'Get a free credit report and improve your credit profile'
2569
+ },
2570
+ {
2571
+ text: 'Reduce what you owe through negotiated settlement discounts'
2572
+ },
2573
+ {
2574
+ text: 'Consolidate multiple debts into one simple, manageable repayment'
2575
+ },
2576
+ {
2577
+ text: 'Start your journey to financial health today'
2578
+ }
2579
+ ]
2580
+ },
2581
+ 'will': {
2582
+ heading: 'Will and Testament',
2583
+ imgWeb: 'solutions-will.jpg',
2584
+ subheading: 'Don’t leave your family in a really awkward position',
2585
+ description: 'Have a will written - Alexforbes can help you with.',
2586
+ labels: [
2587
+ {
2588
+ text: 'Drafting of local and international wills'
2589
+ },
2590
+ {
2591
+ text: 'Executorships and administration of deceased estates'
2592
+ },
2593
+ {
2594
+ text: 'Formation and administration of charitable trusts, inter vivo trusts and testamentary trusts'
2595
+ }
2596
+ ]
2597
+ },
2598
+ 'education': {
2599
+ heading: 'Member education matters',
2600
+ imgWeb: 'solutions-will.jpg',
2601
+ description: 'Key financial topics to help you make informed decisions.',
2602
+ ctaLink: 'https://mymoneymatters.alexforbes.com/',
2603
+ labels: [
2604
+ {
2605
+ text: 'Understand retirement savings and benefit options'
2606
+ },
2607
+ {
2608
+ text: 'Learn how to manage debt and improve financial wellness'
2609
+ },
2610
+ {
2611
+ text: 'Get guidance on insurance and financial protection'
2612
+ }
2613
+ ]
2614
+ },
2615
+ 'rewards': {
2616
+ heading: 'AF Rewards – save on loved brands',
2617
+ imgWeb: 'solutions-rewards.png',
2618
+ description: 'Exclusive discounts and lifestyle benefits from leading brands, all in one place.',
2619
+ ctaLink: 'https://rewards.alexforbes.com/landingpage',
2620
+ labels: [
2621
+ {
2622
+ text: 'Airtime & data deals – stay connected on discounted airtime/data deals'
2623
+ },
2624
+ {
2625
+ text: 'Supermarket savings on groceries and household essentials'
2626
+ },
2627
+ {
2628
+ text: 'Travel deals – discounted rates on holiday deals'
2629
+ },
2630
+ {
2631
+ text: 'Wellness benefits – wellbeing vouchers at discounted rates'
2632
+ }
2633
+ ]
2634
+ },
2635
+ 'invest': {
2636
+ heading: 'Start investing today',
2637
+ description: 'A smarter, simpler way to invest and grow your wealth over time.',
2638
+ imgWeb: 'solutions-invest.jpg',
2639
+ ctaLink: 'https://online.invest.alexforbes.com/Advice/ProductSelection',
2640
+ labels: [
2641
+ {
2642
+ text: 'Consolidate your existing investment with our award winning digital platform'
2643
+ },
2644
+ {
2645
+ text: 'Apply without paperwork'
2646
+ },
2647
+ {
2648
+ text: 'Get online Digital-advice'
2649
+ }
2650
+ ],
2651
+ bottomCtaTitle: 'Get a free quote now',
2652
+ bottomCtaLink: 'https://online.invest.alexforbes.com/Advice/ProductSelection'
2653
+ }
2654
+ };
2655
+
2656
+ class SafeHtmlPipe {
2657
+ constructor(sanitizer) {
2658
+ this.sanitizer = sanitizer;
2659
+ }
2660
+ transform(html) {
2661
+ return this.sanitizer.bypassSecurityTrustHtml(html);
2662
+ }
2663
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: SafeHtmlPipe, deps: [{ token: i1$2.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe }); }
2664
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: SafeHtmlPipe, name: "safeHtml" }); }
2665
+ }
2666
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: SafeHtmlPipe, decorators: [{
2667
+ type: Pipe,
2668
+ args: [{
2669
+ name: 'safeHtml',
2670
+ }]
2671
+ }], ctorParameters: () => [{ type: i1$2.DomSanitizer }] });
2672
+
2673
+ class AfConnectSolutionsProductV2Component {
2674
+ constructor() {
2675
+ this._variant = 'afplus';
2676
+ this.taxTimPromoCodeEffectiveFrom = input(new Date('2027-06-30T22:00:00Z')); // accounting for timezone offset
2677
+ this.taxTimPromoCodeListItem = computed(() => {
2678
+ const currentDate = new Date();
2679
+ return currentDate < this.taxTimPromoCodeEffectiveFrom()
2680
+ ? 'Save 30% with your exclusive early bird code - <strong style="color:#15808D;">ALEXFORBES30</strong>'
2681
+ : 'Use code <strong style="color:#15808D;">ALEXFORBES25</strong> and save 25% today';
2682
+ });
2683
+ this.navigateToProduct = new EventEmitter();
2684
+ this.linkClick = new EventEmitter();
2685
+ }
2686
+ get variant() {
2687
+ return this._variant;
2688
+ }
2689
+ set variant(value) {
2690
+ this._variant = value;
2691
+ this.content = data[value];
2692
+ }
2693
+ onClick() {
2694
+ this.navigateToProduct.emit();
2695
+ }
2696
+ onLinkClick() {
2697
+ this.linkClick.emit(this._variant);
2698
+ }
2699
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AfConnectSolutionsProductV2Component, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
2700
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.13", type: AfConnectSolutionsProductV2Component, selector: "lib-af-connect-solutions-product-v2", inputs: { variant: { classPropertyName: "variant", publicName: "variant", isSignal: false, isRequired: false, transformFunction: null }, taxTimPromoCodeEffectiveFrom: { classPropertyName: "taxTimPromoCodeEffectiveFrom", publicName: "taxTimPromoCodeEffectiveFrom", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { navigateToProduct: "navigateToProduct", linkClick: "linkClick" }, ngImport: i0, template: "<section [ngClass]=\"['product', variant]\">\r\n <div class=\"product__img-wrapper\">\r\n <img class=\"product__img\" [src]=\"'/assets/images/' + content.imgWeb\">\r\n </div>\r\n <div class=\"product__content\">\r\n <div class=\"product__floating-header\">\r\n <h3 class=\"product__heading\">{{ content.heading }}</h3>\r\n <div class=\"product__floating-header-inner\" [class.no-text]=\"!content.subheading\">\r\n @if (variant !== 'taxTim') {\r\n <span class=\"product__description\">{{ content.subheading }}</span>\r\n }\r\n @else {\r\n <img src=\"https://media.taxtim.com/images/taxtim_logo_footer.svg\" alt=\"TaxTim\" width=\"104px\">\r\n }\r\n <a *ngIf=\"content.ctaLink; else anchorTemplate \" class=\"product__link\" (click)=\"onLinkClick()\" [href]=\"content.ctaLink\" target=\"_blank\">\r\n <img [src]=\"'/assets/icons/chevron-right-rounded.svg'\" alt=\"chevron\">\r\n </a>\r\n </div>\r\n </div>\r\n <ul class=\"product__list\">\r\n @if (content.description) {\r\n <p class=\"product__free-text\">\r\n {{ content.description }}\r\n </p>\r\n }\r\n @for (label of content.labels; track $index) {\r\n <li class=\"product__list-item\">\r\n @if (label.img) {\r\n <img [src]=\"'/assets/icons/' + label.img\" width=\"40px\">\r\n }\r\n @else {\r\n <img [src]=\"'/assets/icons/checkmark-teal.svg'\" alt=\"checkmark\" width=\"32\" height=\"32\">\r\n }\r\n <span [innerHTML]=\"label.text | safeHtml\"></span>\r\n </li>\r\n }\r\n @if (variant === 'taxTim') {\r\n <li class=\"product__list-item\">\r\n <img [src]=\"'/assets/icons/checkmark-teal.svg'\" alt=\"checkmark\" width=\"32\" height=\"32\">\r\n <span [innerHTML]=\"taxTimPromoCodeListItem() | safeHtml\"></span>\r\n </li>\r\n }\r\n </ul>\r\n @if (content.bottomCtaTitle && content.bottomCtaLink) {\r\n <div class=\"product__bottom-cta\">\r\n <span >\r\n {{ content.bottomCtaTitle }}\r\n </span>\r\n <a class=\"product__link\" (click)=\"onLinkClick()\" [href]=\"content.bottomCtaLink\" target=\"_blank\">\r\n <img [src]=\"'/assets/icons/chevron-right-rounded.svg'\" alt=\"chevron\">\r\n </a>\r\n </div>\r\n }\r\n </div>\r\n</section>\r\n\r\n<ng-template #anchorTemplate>\r\n <a class=\"product__link\" href=\"javascript:void(0)\" (click)=\"onClick()\">\r\n <img [src]=\"'/assets/icons/chevron-right-rounded.svg'\" alt=\"chevron\">\r\n </a>\r\n</ng-template>", styles: [":host{display:block}.product{height:100%;background-color:#ddebee;color:#061426;min-width:332px;max-width:388px;border-bottom-left-radius:5px;border-bottom-right-radius:5px}@media (max-width: 1024px){.product{min-width:auto;width:312px}}.product__img-wrapper{aspect-ratio:194/137}.product__img-wrapper .product__img{display:block;width:100%;height:100%;object-fit:cover}.product__content{margin-top:-128px;padding:36px;position:relative;z-index:1}.product__content .product__floating-header{border-radius:10px;color:#fff;padding:18px 24px;margin-bottom:24px;container:floating-header/inline-size}@media (max-width: 1024px){.product__content .product__floating-header{margin-bottom:18px;padding:16px}}.product__content .product__floating-header .product__floating-header-inner{display:flex;justify-content:space-between;align-items:center;gap:1rem}.product__content .product__floating-header .product__floating-header-inner.no-text{margin-top:-1.8rem}@media (max-width: 1024px){.product__content .product__floating-header .product__floating-header-inner.no-text{margin-top:-1rem}}.product__content .product__floating-header .product__heading{margin-block:0 6px;font-size:28px;font-family:var(--standard-font-family-hero-new-semibold)}@container floating-header (width < 264px){.product__content .product__floating-header .product__heading{font-size:26px}}@container floating-header (width < 248px){.product__content .product__floating-header .product__heading{font-size:24px}}@container floating-header (width < 232px){.product__content .product__floating-header .product__heading{font-size:22px}}.product__content .product__floating-header .product__description{font-family:var(--standard-font-family-hero-new-semibold);max-width:180px}.product__content .product__floating-header .product__link{text-decoration:none;color:#fff}.product__content .product__floating-header .product__link img{display:block;width:42px;height:42px}@media (max-width: 1024px){.product__content .product__floating-header .product__link img{width:32px;height:32px}}.product__content .product__list{padding:0;margin:0;list-style:none}.product__content .product__list .product__list-item{display:flex;align-items:center;gap:16px}.product__content .product__list .product__list-item img{width:32px;height:32px}.product__content .product__list .product__list-item:not(:last-child){margin-bottom:28px}@media (max-width: 1024px){.product__content .product__list .product__list-item:not(:last-child){margin-bottom:14px}}@media (max-width: 1024px){.product__content{padding:26px}}.product.afplus .product__floating-header,.product.namEducation .product__floating-header{background-color:#124e57}.product.afplus .product__content .product__list .product__list-item img,.product.namEducation .product__content .product__list .product__list-item img{width:40px;height:40px}@media (max-width: 1024px){.product.afplus .product__content .product__list .product__list-item img,.product.namEducation .product__content .product__list .product__list-item img{width:32px;height:32px}}.product.myMoneyMatters .product__floating-header,.product.namDebt .product__floating-header{background-color:#ff531d}.product.myMoneyMatters .product__content,.product.namDebt .product__content{padding-bottom:25px}.product.myMoneyMatters .product__content .product__list .product__list-item:not(:last-child),.product.namDebt .product__content .product__list .product__list-item:not(:last-child){margin-bottom:16px}@media (max-width: 1024px){.product.myMoneyMatters .product__content .product__list .product__list-item:not(:last-child),.product.namDebt .product__content .product__list .product__list-item:not(:last-child){margin-bottom:14px}}.product.myMoneyMatters .product__free-text,.product.namDebt .product__free-text{margin-block:0 17px}@media (max-width: 1024px){.product.myMoneyMatters .product__free-text,.product.namDebt .product__free-text{margin-bottom:10px}}.product.advice .product__floating-header,.product.namJobs .product__floating-header,.product.will .product__floating-header,.product.education .product__floating-header{background-color:#f69521}.product.taxTim .product__floating-header{background-color:#124e57}.product.taxTim .product__floating-header h3.product__heading{min-height:78.25px}@container floating-header (width < 264px){.product.taxTim .product__floating-header h3.product__heading{min-height:72.75px}}@container floating-header (width < 248px){.product.taxTim .product__floating-header h3.product__heading{min-height:67.25px}}@container floating-header (width < 232px){.product.taxTim .product__floating-header h3.product__heading{min-height:60px}}.product.taxTim .product__content .product__list .product__list-item:not(:last-child){margin-bottom:16px}@media (max-width: 1024px){.product.taxTim .product__content .product__list .product__list-item:not(:last-child){margin-bottom:14px}}.product.wellTec .product__floating-header{background-color:#ff531d}.product.will h3.product__heading{white-space:nowrap}.product.rewards .product__floating-header{background-color:#f69521}.product.invest .product__floating-header{background-color:#f15a22}.product__bottom-cta{display:flex;align-items:center;margin-top:1.75rem;gap:1rem}@media (max-width: 1024px){.product__bottom-cta{margin-top:18px}}.product__bottom-cta span{color:#ff531d;font-weight:600}.product__bottom-cta a{display:block-inline;height:auto;width:1.5rem;background:var(--primary-orange-mobile-color);border-radius:50%;overflow:hidden}.product__bottom-cta a>img{display:block;width:1.5rem;height:1.5rem;transform:scale(1.5)}\n"], dependencies: [{ kind: "directive", type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: SafeHtmlPipe, name: "safeHtml" }] }); }
2701
+ }
2702
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AfConnectSolutionsProductV2Component, decorators: [{
2703
+ type: Component,
2704
+ args: [{ selector: 'lib-af-connect-solutions-product-v2', template: "<section [ngClass]=\"['product', variant]\">\r\n <div class=\"product__img-wrapper\">\r\n <img class=\"product__img\" [src]=\"'/assets/images/' + content.imgWeb\">\r\n </div>\r\n <div class=\"product__content\">\r\n <div class=\"product__floating-header\">\r\n <h3 class=\"product__heading\">{{ content.heading }}</h3>\r\n <div class=\"product__floating-header-inner\" [class.no-text]=\"!content.subheading\">\r\n @if (variant !== 'taxTim') {\r\n <span class=\"product__description\">{{ content.subheading }}</span>\r\n }\r\n @else {\r\n <img src=\"https://media.taxtim.com/images/taxtim_logo_footer.svg\" alt=\"TaxTim\" width=\"104px\">\r\n }\r\n <a *ngIf=\"content.ctaLink; else anchorTemplate \" class=\"product__link\" (click)=\"onLinkClick()\" [href]=\"content.ctaLink\" target=\"_blank\">\r\n <img [src]=\"'/assets/icons/chevron-right-rounded.svg'\" alt=\"chevron\">\r\n </a>\r\n </div>\r\n </div>\r\n <ul class=\"product__list\">\r\n @if (content.description) {\r\n <p class=\"product__free-text\">\r\n {{ content.description }}\r\n </p>\r\n }\r\n @for (label of content.labels; track $index) {\r\n <li class=\"product__list-item\">\r\n @if (label.img) {\r\n <img [src]=\"'/assets/icons/' + label.img\" width=\"40px\">\r\n }\r\n @else {\r\n <img [src]=\"'/assets/icons/checkmark-teal.svg'\" alt=\"checkmark\" width=\"32\" height=\"32\">\r\n }\r\n <span [innerHTML]=\"label.text | safeHtml\"></span>\r\n </li>\r\n }\r\n @if (variant === 'taxTim') {\r\n <li class=\"product__list-item\">\r\n <img [src]=\"'/assets/icons/checkmark-teal.svg'\" alt=\"checkmark\" width=\"32\" height=\"32\">\r\n <span [innerHTML]=\"taxTimPromoCodeListItem() | safeHtml\"></span>\r\n </li>\r\n }\r\n </ul>\r\n @if (content.bottomCtaTitle && content.bottomCtaLink) {\r\n <div class=\"product__bottom-cta\">\r\n <span >\r\n {{ content.bottomCtaTitle }}\r\n </span>\r\n <a class=\"product__link\" (click)=\"onLinkClick()\" [href]=\"content.bottomCtaLink\" target=\"_blank\">\r\n <img [src]=\"'/assets/icons/chevron-right-rounded.svg'\" alt=\"chevron\">\r\n </a>\r\n </div>\r\n }\r\n </div>\r\n</section>\r\n\r\n<ng-template #anchorTemplate>\r\n <a class=\"product__link\" href=\"javascript:void(0)\" (click)=\"onClick()\">\r\n <img [src]=\"'/assets/icons/chevron-right-rounded.svg'\" alt=\"chevron\">\r\n </a>\r\n</ng-template>", styles: [":host{display:block}.product{height:100%;background-color:#ddebee;color:#061426;min-width:332px;max-width:388px;border-bottom-left-radius:5px;border-bottom-right-radius:5px}@media (max-width: 1024px){.product{min-width:auto;width:312px}}.product__img-wrapper{aspect-ratio:194/137}.product__img-wrapper .product__img{display:block;width:100%;height:100%;object-fit:cover}.product__content{margin-top:-128px;padding:36px;position:relative;z-index:1}.product__content .product__floating-header{border-radius:10px;color:#fff;padding:18px 24px;margin-bottom:24px;container:floating-header/inline-size}@media (max-width: 1024px){.product__content .product__floating-header{margin-bottom:18px;padding:16px}}.product__content .product__floating-header .product__floating-header-inner{display:flex;justify-content:space-between;align-items:center;gap:1rem}.product__content .product__floating-header .product__floating-header-inner.no-text{margin-top:-1.8rem}@media (max-width: 1024px){.product__content .product__floating-header .product__floating-header-inner.no-text{margin-top:-1rem}}.product__content .product__floating-header .product__heading{margin-block:0 6px;font-size:28px;font-family:var(--standard-font-family-hero-new-semibold)}@container floating-header (width < 264px){.product__content .product__floating-header .product__heading{font-size:26px}}@container floating-header (width < 248px){.product__content .product__floating-header .product__heading{font-size:24px}}@container floating-header (width < 232px){.product__content .product__floating-header .product__heading{font-size:22px}}.product__content .product__floating-header .product__description{font-family:var(--standard-font-family-hero-new-semibold);max-width:180px}.product__content .product__floating-header .product__link{text-decoration:none;color:#fff}.product__content .product__floating-header .product__link img{display:block;width:42px;height:42px}@media (max-width: 1024px){.product__content .product__floating-header .product__link img{width:32px;height:32px}}.product__content .product__list{padding:0;margin:0;list-style:none}.product__content .product__list .product__list-item{display:flex;align-items:center;gap:16px}.product__content .product__list .product__list-item img{width:32px;height:32px}.product__content .product__list .product__list-item:not(:last-child){margin-bottom:28px}@media (max-width: 1024px){.product__content .product__list .product__list-item:not(:last-child){margin-bottom:14px}}@media (max-width: 1024px){.product__content{padding:26px}}.product.afplus .product__floating-header,.product.namEducation .product__floating-header{background-color:#124e57}.product.afplus .product__content .product__list .product__list-item img,.product.namEducation .product__content .product__list .product__list-item img{width:40px;height:40px}@media (max-width: 1024px){.product.afplus .product__content .product__list .product__list-item img,.product.namEducation .product__content .product__list .product__list-item img{width:32px;height:32px}}.product.myMoneyMatters .product__floating-header,.product.namDebt .product__floating-header{background-color:#ff531d}.product.myMoneyMatters .product__content,.product.namDebt .product__content{padding-bottom:25px}.product.myMoneyMatters .product__content .product__list .product__list-item:not(:last-child),.product.namDebt .product__content .product__list .product__list-item:not(:last-child){margin-bottom:16px}@media (max-width: 1024px){.product.myMoneyMatters .product__content .product__list .product__list-item:not(:last-child),.product.namDebt .product__content .product__list .product__list-item:not(:last-child){margin-bottom:14px}}.product.myMoneyMatters .product__free-text,.product.namDebt .product__free-text{margin-block:0 17px}@media (max-width: 1024px){.product.myMoneyMatters .product__free-text,.product.namDebt .product__free-text{margin-bottom:10px}}.product.advice .product__floating-header,.product.namJobs .product__floating-header,.product.will .product__floating-header,.product.education .product__floating-header{background-color:#f69521}.product.taxTim .product__floating-header{background-color:#124e57}.product.taxTim .product__floating-header h3.product__heading{min-height:78.25px}@container floating-header (width < 264px){.product.taxTim .product__floating-header h3.product__heading{min-height:72.75px}}@container floating-header (width < 248px){.product.taxTim .product__floating-header h3.product__heading{min-height:67.25px}}@container floating-header (width < 232px){.product.taxTim .product__floating-header h3.product__heading{min-height:60px}}.product.taxTim .product__content .product__list .product__list-item:not(:last-child){margin-bottom:16px}@media (max-width: 1024px){.product.taxTim .product__content .product__list .product__list-item:not(:last-child){margin-bottom:14px}}.product.wellTec .product__floating-header{background-color:#ff531d}.product.will h3.product__heading{white-space:nowrap}.product.rewards .product__floating-header{background-color:#f69521}.product.invest .product__floating-header{background-color:#f15a22}.product__bottom-cta{display:flex;align-items:center;margin-top:1.75rem;gap:1rem}@media (max-width: 1024px){.product__bottom-cta{margin-top:18px}}.product__bottom-cta span{color:#ff531d;font-weight:600}.product__bottom-cta a{display:block-inline;height:auto;width:1.5rem;background:var(--primary-orange-mobile-color);border-radius:50%;overflow:hidden}.product__bottom-cta a>img{display:block;width:1.5rem;height:1.5rem;transform:scale(1.5)}\n"] }]
2705
+ }], propDecorators: { variant: [{
2706
+ type: Input
2707
+ }], navigateToProduct: [{
2708
+ type: Output
2709
+ }], linkClick: [{
2710
+ type: Output
2711
+ }] } });
2712
+
2713
+ class AfConnectComponentsModule {
2714
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AfConnectComponentsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
2715
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: AfConnectComponentsModule, declarations: [AfConnectComponentsComponent,
2716
+ AfConnectHeaderComponent,
2717
+ AfConnectFooterComponent,
2718
+ AfConnectProfileDropdown,
2719
+ GetinItialsPipe,
2720
+ ExpandableContainerComponent,
2721
+ ExpandableArrowComponent,
2722
+ ExpandableWrapperComponent,
2723
+ FaqComponent,
2724
+ FaqItemComponent,
2725
+ ImageWithFallbackDirective,
2726
+ ImageWithFallbackComponent,
2727
+ AfConnectProductsCarouselComponent,
2728
+ ImageCardComponent,
2729
+ AfConnectButtonComponent,
2730
+ AfConnectContentComponent,
2731
+ AfConnectDatepickerComponent,
2732
+ AfConnectInputComponent,
2733
+ AfConnectFormValidationErrorsComponent,
2734
+ AfConnectFormGroupComponent,
2735
+ AfConnectCardComponent,
2736
+ AfConnectCardHeaderComponent,
2737
+ AfConnectChipComponent,
2738
+ AfConnectChartComponent,
2739
+ AfConnectErrorComponent,
2740
+ AfConnectInlineErrorComponent,
2741
+ AfConnectLoadingSpinnerComponent,
2742
+ AfConnectModalComponent,
2743
+ AfConnectNoContentComponent,
2744
+ AfConnectNotificationComponent,
2745
+ AfConnectProgressBarComponent,
2746
+ AfConnectRadioButtonComponent,
2747
+ AfConnectRadioGroupComponent,
2748
+ AfConnectSectionComponent,
2749
+ AfConnectSectionHeaderComponent,
2750
+ AfConnectSelectComponent,
2751
+ AfConnectSvgButtonComponent,
2752
+ AfConnectTabComponent,
2753
+ AfConnectTabsComponent,
2754
+ AfConnectTableComponent,
2755
+ AfConnectToasterMessageComponent,
2756
+ AfConnectToggleButtonComponent,
2757
+ AfConnectTooltipComponent,
2758
+ AfConnectBreadcrumbComponent,
2759
+ AfConnectSolutionsProductComponent,
2760
+ AfConnectSavingsBannerComponent,
2761
+ AfConnectSolutionsProductV2Component,
2762
+ SafeHtmlPipe], imports: [CommonModule,
2763
+ FormsModule,
2764
+ ReactiveFormsModule], exports: [AfConnectComponentsComponent,
2765
+ AfConnectHeaderComponent,
2766
+ AfConnectFooterComponent,
2767
+ FaqComponent,
2768
+ FaqItemComponent,
2769
+ ImageWithFallbackDirective,
2770
+ ImageWithFallbackComponent,
2771
+ AfConnectProductsCarouselComponent,
2772
+ AfConnectButtonComponent,
2773
+ AfConnectContentComponent,
2774
+ AfConnectDatepickerComponent,
2775
+ AfConnectInputComponent,
2776
+ AfConnectFormValidationErrorsComponent,
2777
+ AfConnectFormGroupComponent,
2778
+ AfConnectCardComponent,
2779
+ AfConnectCardHeaderComponent,
2780
+ AfConnectChipComponent,
2781
+ AfConnectChartComponent,
2782
+ AfConnectErrorComponent,
2783
+ AfConnectInlineErrorComponent,
2784
+ AfConnectLoadingSpinnerComponent,
2785
+ AfConnectModalComponent,
2786
+ AfConnectNoContentComponent,
2787
+ AfConnectNotificationComponent,
2788
+ AfConnectProgressBarComponent,
2789
+ AfConnectRadioButtonComponent,
2790
+ AfConnectRadioGroupComponent,
2791
+ AfConnectSectionComponent,
2792
+ AfConnectSectionHeaderComponent,
2793
+ AfConnectSelectComponent,
2794
+ AfConnectSvgButtonComponent,
2795
+ AfConnectTabComponent,
2796
+ AfConnectTabsComponent,
2797
+ AfConnectTableComponent,
2798
+ AfConnectToasterMessageComponent,
2799
+ AfConnectToggleButtonComponent,
2800
+ AfConnectTooltipComponent,
2801
+ AfConnectBreadcrumbComponent,
2802
+ AfConnectSolutionsProductComponent,
2803
+ AfConnectSavingsBannerComponent,
2804
+ AfConnectSolutionsProductV2Component,
2805
+ SafeHtmlPipe] }); }
2806
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AfConnectComponentsModule, providers: [BreakpointLibService], imports: [CommonModule,
2807
+ FormsModule,
2808
+ ReactiveFormsModule] }); }
2809
+ }
2810
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AfConnectComponentsModule, decorators: [{
2811
+ type: NgModule,
2812
+ args: [{
2813
+ declarations: [
2814
+ AfConnectComponentsComponent,
2815
+ AfConnectHeaderComponent,
2816
+ AfConnectFooterComponent,
2817
+ AfConnectProfileDropdown,
2818
+ GetinItialsPipe,
2819
+ ExpandableContainerComponent,
2820
+ ExpandableArrowComponent,
2821
+ ExpandableWrapperComponent,
2822
+ FaqComponent,
2823
+ FaqItemComponent,
2824
+ ImageWithFallbackDirective,
2825
+ ImageWithFallbackComponent,
2826
+ AfConnectProductsCarouselComponent,
2827
+ ImageCardComponent,
2828
+ AfConnectButtonComponent,
2829
+ AfConnectContentComponent,
2830
+ AfConnectDatepickerComponent,
2831
+ AfConnectInputComponent,
2832
+ AfConnectFormValidationErrorsComponent,
2833
+ AfConnectFormGroupComponent,
2834
+ AfConnectCardComponent,
2835
+ AfConnectCardHeaderComponent,
2836
+ AfConnectChipComponent,
2837
+ AfConnectChartComponent,
2838
+ AfConnectErrorComponent,
2839
+ AfConnectInlineErrorComponent,
2840
+ AfConnectLoadingSpinnerComponent,
2841
+ AfConnectModalComponent,
2842
+ AfConnectNoContentComponent,
2843
+ AfConnectNotificationComponent,
2844
+ AfConnectProgressBarComponent,
2845
+ AfConnectRadioButtonComponent,
2846
+ AfConnectRadioGroupComponent,
2847
+ AfConnectSectionComponent,
2848
+ AfConnectSectionHeaderComponent,
2849
+ AfConnectSelectComponent,
2850
+ AfConnectSvgButtonComponent,
2851
+ AfConnectTabComponent,
2852
+ AfConnectTabsComponent,
2853
+ AfConnectTableComponent,
2854
+ AfConnectToasterMessageComponent,
2855
+ AfConnectToggleButtonComponent,
2856
+ AfConnectTooltipComponent,
2857
+ AfConnectBreadcrumbComponent,
2858
+ AfConnectSolutionsProductComponent,
2859
+ AfConnectSavingsBannerComponent,
2860
+ AfConnectSolutionsProductV2Component,
2861
+ SafeHtmlPipe
2862
+ ],
2863
+ imports: [
2864
+ CommonModule,
2865
+ FormsModule,
2866
+ ReactiveFormsModule
2867
+ ],
2868
+ providers: [BreakpointLibService],
2869
+ exports: [
2870
+ AfConnectComponentsComponent,
2871
+ AfConnectHeaderComponent,
2872
+ AfConnectFooterComponent,
2873
+ FaqComponent,
2874
+ FaqItemComponent,
2875
+ ImageWithFallbackDirective,
2876
+ ImageWithFallbackComponent,
2877
+ AfConnectProductsCarouselComponent,
2878
+ AfConnectButtonComponent,
2879
+ AfConnectContentComponent,
2880
+ AfConnectDatepickerComponent,
2881
+ AfConnectInputComponent,
2882
+ AfConnectFormValidationErrorsComponent,
2883
+ AfConnectFormGroupComponent,
2884
+ AfConnectCardComponent,
2885
+ AfConnectCardHeaderComponent,
2886
+ AfConnectChipComponent,
2887
+ AfConnectChartComponent,
2888
+ AfConnectErrorComponent,
2889
+ AfConnectInlineErrorComponent,
2890
+ AfConnectLoadingSpinnerComponent,
2891
+ AfConnectModalComponent,
2892
+ AfConnectNoContentComponent,
2893
+ AfConnectNotificationComponent,
2894
+ AfConnectProgressBarComponent,
2895
+ AfConnectRadioButtonComponent,
2896
+ AfConnectRadioGroupComponent,
2897
+ AfConnectSectionComponent,
2898
+ AfConnectSectionHeaderComponent,
2899
+ AfConnectSelectComponent,
2900
+ AfConnectSvgButtonComponent,
2901
+ AfConnectTabComponent,
2902
+ AfConnectTabsComponent,
2903
+ AfConnectTableComponent,
2904
+ AfConnectToasterMessageComponent,
2905
+ AfConnectToggleButtonComponent,
2906
+ AfConnectTooltipComponent,
2907
+ AfConnectBreadcrumbComponent,
2908
+ AfConnectSolutionsProductComponent,
2909
+ AfConnectSavingsBannerComponent,
2910
+ AfConnectSolutionsProductV2Component,
2911
+ SafeHtmlPipe
2912
+ ]
2913
+ }]
2914
+ }] });
2915
+
2916
+ /*
2917
+ * Public API Surface of af-connect-components
2918
+ */
2919
+
2920
+ /**
2921
+ * Generated bundle index. Do not edit.
2922
+ */
2923
+
2924
+ export { AfConnectBreadcrumbComponent, AfConnectButtonComponent, AfConnectCardComponent, AfConnectCardHeaderComponent, AfConnectChartComponent, AfConnectChipComponent, AfConnectComponentsComponent, AfConnectComponentsModule, AfConnectComponentsService, AfConnectContentComponent, AfConnectDatepickerComponent, AfConnectErrorComponent, AfConnectFooterComponent, AfConnectFormGroupComponent, AfConnectFormValidationErrorsComponent, AfConnectHeaderComponent, AfConnectInlineErrorComponent, AfConnectInputComponent, AfConnectLoadingSpinnerComponent, AfConnectModalComponent, AfConnectNoContentComponent, AfConnectNotificationComponent, AfConnectProductsCarouselComponent, AfConnectProgressBarComponent, AfConnectRadioButtonComponent, AfConnectRadioGroupComponent, AfConnectSavingsBannerComponent, AfConnectSectionComponent, AfConnectSectionHeaderComponent, AfConnectSelectComponent, AfConnectSolutionsProductComponent, AfConnectSolutionsProductV2Component, AfConnectSvgButtonComponent, AfConnectTabComponent, AfConnectTableComponent, AfConnectTabsComponent, AfConnectToasterMessageComponent, AfConnectToggleButtonComponent, AfConnectTooltipComponent, FaqComponent, FaqItemComponent, ImageWithFallbackComponent, ImageWithFallbackDirective, SafeHtmlPipe, Severity };
2925
+ //# sourceMappingURL=af-connect-components.mjs.map