@sunbird-cb/consumption 0.0.85 → 0.0.87

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 (37) hide show
  1. package/bundles/sunbird-cb-consumption.umd.js +1786 -62
  2. package/bundles/sunbird-cb-consumption.umd.js.map +1 -1
  3. package/bundles/sunbird-cb-consumption.umd.min.js +1 -1
  4. package/bundles/sunbird-cb-consumption.umd.min.js.map +1 -1
  5. package/esm2015/lib/_common/events/events.component.js +2 -2
  6. package/esm2015/lib/_common/events/events.module.js +3 -1
  7. package/esm2015/lib/_common/microsites/national-learning-week/national-learning/national-learning.component.js +2 -2
  8. package/esm2015/lib/_common/microsites/national-learning-week/national-learning.module.js +4 -2
  9. package/esm2015/lib/_common/strips/content-strip-facet-filter/content-strip-facet-filter.component.js +1224 -0
  10. package/esm2015/lib/_common/strips/content-strip-facet-filter/content-strip-facet-filter.model.js +231 -0
  11. package/esm2015/lib/_common/strips/content-strip-facet-filter/content-strip-facet-filter.module.js +65 -0
  12. package/esm2015/lib/_common/user-progress/user-progress.component.js +7 -6
  13. package/esm2015/lib/consumption.module.js +2 -2
  14. package/esm2015/public-api.js +2 -1
  15. package/esm2015/sunbird-cb-consumption.js +24 -23
  16. package/esm5/lib/_common/events/events.component.js +2 -2
  17. package/esm5/lib/_common/events/events.module.js +3 -1
  18. package/esm5/lib/_common/microsites/national-learning-week/national-learning/national-learning.component.js +2 -2
  19. package/esm5/lib/_common/microsites/national-learning-week/national-learning.module.js +4 -2
  20. package/esm5/lib/_common/strips/content-strip-facet-filter/content-strip-facet-filter.component.js +1450 -0
  21. package/esm5/lib/_common/strips/content-strip-facet-filter/content-strip-facet-filter.model.js +231 -0
  22. package/esm5/lib/_common/strips/content-strip-facet-filter/content-strip-facet-filter.module.js +69 -0
  23. package/esm5/lib/_common/user-progress/user-progress.component.js +7 -6
  24. package/esm5/lib/consumption.module.js +2 -2
  25. package/esm5/public-api.js +2 -1
  26. package/esm5/sunbird-cb-consumption.js +24 -23
  27. package/fesm2015/sunbird-cb-consumption.js +1537 -43
  28. package/fesm2015/sunbird-cb-consumption.js.map +1 -1
  29. package/fesm5/sunbird-cb-consumption.js +1765 -43
  30. package/fesm5/sunbird-cb-consumption.js.map +1 -1
  31. package/lib/_common/strips/content-strip-facet-filter/content-strip-facet-filter.component.d.ts +131 -0
  32. package/lib/_common/strips/content-strip-facet-filter/content-strip-facet-filter.model.d.ts +157 -0
  33. package/lib/_common/strips/content-strip-facet-filter/content-strip-facet-filter.module.d.ts +2 -0
  34. package/package.json +1 -1
  35. package/public-api.d.ts +1 -0
  36. package/sunbird-cb-consumption.d.ts +22 -21
  37. package/sunbird-cb-consumption.metadata.json +1 -1
@@ -18,7 +18,7 @@ import { TranslateHttpLoader } from '@ngx-translate/http-loader';
18
18
  import { BreakpointObserver } from '@angular/cdk/layout';
19
19
  import { HammerGestureConfig, HAMMER_GESTURE_CONFIG } from '@angular/platform-browser';
20
20
  import Hammer from 'hammerjs';
21
- import { FormsModule, ReactiveFormsModule } from '@angular/forms';
21
+ import { FormsModule, ReactiveFormsModule, FormBuilder } from '@angular/forms';
22
22
  import { jsPDF } from 'jspdf';
23
23
 
24
24
  /**
@@ -8680,7 +8680,7 @@ class ConsumptionModule {
8680
8680
  }
8681
8681
  ConsumptionModule.decorators = [
8682
8682
  { type: NgModule, args: [{
8683
- declarations: [ConsumptionComponent,],
8683
+ declarations: [ConsumptionComponent],
8684
8684
  imports: [
8685
8685
  ContentStripWithTabsLibModule,
8686
8686
  SlidersLibModule
@@ -12126,6 +12126,1444 @@ const WIDGET_REGISTRATION_LIB_CONFIG = [
12126
12126
  }
12127
12127
  ];
12128
12128
 
12129
+ /**
12130
+ * @fileoverview added by tsickle
12131
+ * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
12132
+ */
12133
+ var NsContentStripWithFacets;
12134
+ (function (NsContentStripWithFacets) {
12135
+ /**
12136
+ * @record
12137
+ */
12138
+ function IContentStripMultiple() { }
12139
+ NsContentStripWithFacets.IContentStripMultiple = IContentStripMultiple;
12140
+ if (false) {
12141
+ /** @type {?|undefined} */
12142
+ IContentStripMultiple.prototype.errorWidget;
12143
+ /** @type {?|undefined} */
12144
+ IContentStripMultiple.prototype.loader;
12145
+ /** @type {?|undefined} */
12146
+ IContentStripMultiple.prototype.noDataWidget;
12147
+ /** @type {?} */
12148
+ IContentStripMultiple.prototype.strips;
12149
+ /** @type {?|undefined} */
12150
+ IContentStripMultiple.prototype.isChannelStrip;
12151
+ }
12152
+ /**
12153
+ * @record
12154
+ */
12155
+ function IContentStripUnit() { }
12156
+ NsContentStripWithFacets.IContentStripUnit = IContentStripUnit;
12157
+ if (false) {
12158
+ /** @type {?|undefined} */
12159
+ IContentStripUnit.prototype.stripRequestFor;
12160
+ /** @type {?|undefined} */
12161
+ IContentStripUnit.prototype.onTabClickRequest;
12162
+ /** @type {?|undefined} */
12163
+ IContentStripUnit.prototype.hideViewMoreUrl;
12164
+ /** @type {?} */
12165
+ IContentStripUnit.prototype.type;
12166
+ /** @type {?|undefined} */
12167
+ IContentStripUnit.prototype.disableTranslate;
12168
+ /** @type {?} */
12169
+ IContentStripUnit.prototype.key;
12170
+ /** @type {?} */
12171
+ IContentStripUnit.prototype.title;
12172
+ /** @type {?|undefined} */
12173
+ IContentStripUnit.prototype.customeClass;
12174
+ /** @type {?|undefined} */
12175
+ IContentStripUnit.prototype.nodataMsg;
12176
+ /** @type {?|undefined} */
12177
+ IContentStripUnit.prototype.stripTitleLink;
12178
+ /** @type {?|undefined} */
12179
+ IContentStripUnit.prototype.sliderConfig;
12180
+ /** @type {?|undefined} */
12181
+ IContentStripUnit.prototype.tabs;
12182
+ /** @type {?|undefined} */
12183
+ IContentStripUnit.prototype.titleDescription;
12184
+ /** @type {?|undefined} */
12185
+ IContentStripUnit.prototype.name;
12186
+ /** @type {?|undefined} */
12187
+ IContentStripUnit.prototype.mode;
12188
+ /** @type {?|undefined} */
12189
+ IContentStripUnit.prototype.info;
12190
+ /** @type {?|undefined} */
12191
+ IContentStripUnit.prototype.logo;
12192
+ /** @type {?|undefined} */
12193
+ IContentStripUnit.prototype.preWidgets;
12194
+ /** @type {?|undefined} */
12195
+ IContentStripUnit.prototype.postWidgets;
12196
+ /** @type {?|undefined} */
12197
+ IContentStripUnit.prototype.stripConfig;
12198
+ /** @type {?|undefined} */
12199
+ IContentStripUnit.prototype.canHideStrip;
12200
+ /** @type {?} */
12201
+ IContentStripUnit.prototype.showStrip;
12202
+ /** @type {?|undefined} */
12203
+ IContentStripUnit.prototype.filters;
12204
+ /** @type {?|undefined} */
12205
+ IContentStripUnit.prototype.selectAll;
12206
+ /** @type {?|undefined} */
12207
+ IContentStripUnit.prototype.request;
12208
+ /** @type {?|undefined} */
12209
+ IContentStripUnit.prototype.searchV6Type;
12210
+ /** @type {?|undefined} */
12211
+ IContentStripUnit.prototype.stripBackground;
12212
+ /** @type {?|undefined} */
12213
+ IContentStripUnit.prototype.noDataWidget;
12214
+ /** @type {?|undefined} */
12215
+ IContentStripUnit.prototype.loader;
12216
+ /** @type {?|undefined} */
12217
+ IContentStripUnit.prototype.loaderWidgets;
12218
+ /** @type {?|undefined} */
12219
+ IContentStripUnit.prototype.errorWidget;
12220
+ /** @type {?|undefined} */
12221
+ IContentStripUnit.prototype.refreshEvent;
12222
+ /** @type {?|undefined} */
12223
+ IContentStripUnit.prototype.fetchLikes;
12224
+ /** @type {?|undefined} */
12225
+ IContentStripUnit.prototype.secondaryHeading;
12226
+ /** @type {?|undefined} */
12227
+ IContentStripUnit.prototype.viewMoreUrl;
12228
+ /** @type {?|undefined} */
12229
+ IContentStripUnit.prototype.data;
12230
+ }
12231
+ /**
12232
+ * @record
12233
+ */
12234
+ function IStripRequestApi() { }
12235
+ NsContentStripWithFacets.IStripRequestApi = IStripRequestApi;
12236
+ if (false) {
12237
+ /** @type {?} */
12238
+ IStripRequestApi.prototype.path;
12239
+ /** @type {?|undefined} */
12240
+ IStripRequestApi.prototype.queryParams;
12241
+ }
12242
+ /**
12243
+ * @record
12244
+ */
12245
+ function INetworkRequestApi() { }
12246
+ NsContentStripWithFacets.INetworkRequestApi = INetworkRequestApi;
12247
+ if (false) {
12248
+ /** @type {?} */
12249
+ INetworkRequestApi.prototype.path;
12250
+ /** @type {?|undefined} */
12251
+ INetworkRequestApi.prototype.data;
12252
+ }
12253
+ /**
12254
+ * @record
12255
+ */
12256
+ function IStripInfo() { }
12257
+ NsContentStripWithFacets.IStripInfo = IStripInfo;
12258
+ if (false) {
12259
+ /** @type {?} */
12260
+ IStripInfo.prototype.mode;
12261
+ /** @type {?|undefined} */
12262
+ IStripInfo.prototype.visibilityMode;
12263
+ /** @type {?} */
12264
+ IStripInfo.prototype.icon;
12265
+ /** @type {?} */
12266
+ IStripInfo.prototype.widget;
12267
+ }
12268
+ /**
12269
+ * @record
12270
+ */
12271
+ function IStripConfig() { }
12272
+ if (false) {
12273
+ /** @type {?} */
12274
+ IStripConfig.prototype.cardSubType;
12275
+ /** @type {?|undefined} */
12276
+ IStripConfig.prototype.postCardForSearch;
12277
+ /** @type {?|undefined} */
12278
+ IStripConfig.prototype.intranetMode;
12279
+ /** @type {?|undefined} */
12280
+ IStripConfig.prototype.deletedMode;
12281
+ /** @type {?|undefined} */
12282
+ IStripConfig.prototype.contentTags;
12283
+ /** @type {?|undefined} */
12284
+ IStripConfig.prototype.hideShowAll;
12285
+ }
12286
+ /**
12287
+ * @record
12288
+ */
12289
+ function IContentTags() { }
12290
+ NsContentStripWithFacets.IContentTags = IContentTags;
12291
+ if (false) {
12292
+ /** @type {?|undefined} */
12293
+ IContentTags.prototype.daysSpan;
12294
+ /** @type {?|undefined} */
12295
+ IContentTags.prototype.excludeContentType;
12296
+ /** @type {?|undefined} */
12297
+ IContentTags.prototype.excludeMimeType;
12298
+ /** @type {?} */
12299
+ IContentTags.prototype.tag;
12300
+ /** @type {?} */
12301
+ IContentTags.prototype.criteriaField;
12302
+ }
12303
+ /**
12304
+ * @record
12305
+ */
12306
+ function IContentStripResponseApi() { }
12307
+ NsContentStripWithFacets.IContentStripResponseApi = IContentStripResponseApi;
12308
+ if (false) {
12309
+ /** @type {?} */
12310
+ IContentStripResponseApi.prototype.contents;
12311
+ /** @type {?|undefined} */
12312
+ IContentStripResponseApi.prototype.hasMore;
12313
+ /** @type {?|undefined} */
12314
+ IContentStripResponseApi.prototype.pageState;
12315
+ /** @type {?|undefined} */
12316
+ IContentStripResponseApi.prototype.totalHits;
12317
+ }
12318
+ /**
12319
+ * @record
12320
+ */
12321
+ function IContentStripTab() { }
12322
+ NsContentStripWithFacets.IContentStripTab = IContentStripTab;
12323
+ if (false) {
12324
+ /** @type {?|undefined} */
12325
+ IContentStripTab.prototype.pillsData;
12326
+ /** @type {?} */
12327
+ IContentStripTab.prototype.label;
12328
+ /** @type {?} */
12329
+ IContentStripTab.prototype.value;
12330
+ /** @type {?} */
12331
+ IContentStripTab.prototype.showTabDataCount;
12332
+ /** @type {?|undefined} */
12333
+ IContentStripTab.prototype.requestRequired;
12334
+ /** @type {?|undefined} */
12335
+ IContentStripTab.prototype.computeDataOnClick;
12336
+ /** @type {?|undefined} */
12337
+ IContentStripTab.prototype.computeDataOnClickKey;
12338
+ /** @type {?|undefined} */
12339
+ IContentStripTab.prototype.request;
12340
+ /** @type {?|undefined} */
12341
+ IContentStripTab.prototype.widgets;
12342
+ /** @type {?|undefined} */
12343
+ IContentStripTab.prototype.maxWidgets;
12344
+ /** @type {?|undefined} */
12345
+ IContentStripTab.prototype.fetchTabStatus;
12346
+ /** @type {?|undefined} */
12347
+ IContentStripTab.prototype.nodataMsg;
12348
+ /** @type {?|undefined} */
12349
+ IContentStripTab.prototype.tabLoading;
12350
+ /** @type {?|undefined} */
12351
+ IContentStripTab.prototype.facets;
12352
+ }
12353
+ })(NsContentStripWithFacets || (NsContentStripWithFacets = {}));
12354
+ /** @enum {string} */
12355
+ const ApiRequestFor = {
12356
+ SEARCH: 'search',
12357
+ };
12358
+
12359
+ /**
12360
+ * @fileoverview added by tsickle
12361
+ * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
12362
+ */
12363
+ /**
12364
+ * @record
12365
+ */
12366
+ function IStripUnitContentData$1() { }
12367
+ if (false) {
12368
+ /** @type {?} */
12369
+ IStripUnitContentData$1.prototype.key;
12370
+ /** @type {?} */
12371
+ IStripUnitContentData$1.prototype.canHideStrip;
12372
+ /** @type {?|undefined} */
12373
+ IStripUnitContentData$1.prototype.mode;
12374
+ /** @type {?} */
12375
+ IStripUnitContentData$1.prototype.showStrip;
12376
+ /** @type {?} */
12377
+ IStripUnitContentData$1.prototype.disableTranslate;
12378
+ /** @type {?|undefined} */
12379
+ IStripUnitContentData$1.prototype.widgets;
12380
+ /** @type {?} */
12381
+ IStripUnitContentData$1.prototype.stripTitle;
12382
+ /** @type {?|undefined} */
12383
+ IStripUnitContentData$1.prototype.hideViewMoreUrl;
12384
+ /** @type {?|undefined} */
12385
+ IStripUnitContentData$1.prototype.stripTitleLink;
12386
+ /** @type {?|undefined} */
12387
+ IStripUnitContentData$1.prototype.sliderConfig;
12388
+ /** @type {?} */
12389
+ IStripUnitContentData$1.prototype.stripConfig;
12390
+ /** @type {?|undefined} */
12391
+ IStripUnitContentData$1.prototype.tabs;
12392
+ /** @type {?|undefined} */
12393
+ IStripUnitContentData$1.prototype.stripName;
12394
+ /** @type {?|undefined} */
12395
+ IStripUnitContentData$1.prototype.stripLogo;
12396
+ /** @type {?|undefined} */
12397
+ IStripUnitContentData$1.prototype.description;
12398
+ /** @type {?|undefined} */
12399
+ IStripUnitContentData$1.prototype.stripInfo;
12400
+ /** @type {?|undefined} */
12401
+ IStripUnitContentData$1.prototype.noDataWidget;
12402
+ /** @type {?|undefined} */
12403
+ IStripUnitContentData$1.prototype.errorWidget;
12404
+ /** @type {?} */
12405
+ IStripUnitContentData$1.prototype.showOnNoData;
12406
+ /** @type {?} */
12407
+ IStripUnitContentData$1.prototype.showOnLoader;
12408
+ /** @type {?} */
12409
+ IStripUnitContentData$1.prototype.showOnError;
12410
+ /** @type {?|undefined} */
12411
+ IStripUnitContentData$1.prototype.loaderWidgets;
12412
+ /** @type {?|undefined} */
12413
+ IStripUnitContentData$1.prototype.stripBackground;
12414
+ /** @type {?|undefined} */
12415
+ IStripUnitContentData$1.prototype.secondaryHeading;
12416
+ /** @type {?} */
12417
+ IStripUnitContentData$1.prototype.viewMoreUrl;
12418
+ /** @type {?|undefined} */
12419
+ IStripUnitContentData$1.prototype.request;
12420
+ }
12421
+ class ContentStripFacetFilterComponent extends WidgetBaseComponent {
12422
+ /**
12423
+ * @param {?} environment
12424
+ * @param {?} contentSvc
12425
+ * @param {?} loggerSvc
12426
+ * @param {?} eventSvc
12427
+ * @param {?} configSvc
12428
+ * @param {?} utilitySvc
12429
+ * @param {?} router
12430
+ * @param {?} userSvc
12431
+ * @param {?} translate
12432
+ * @param {?} langtranslations
12433
+ * @param {?} _fb
12434
+ */
12435
+ constructor(environment, contentSvc, loggerSvc, eventSvc, configSvc, utilitySvc, router, userSvc, translate, langtranslations, _fb) {
12436
+ super();
12437
+ this.contentSvc = contentSvc;
12438
+ this.loggerSvc = loggerSvc;
12439
+ this.eventSvc = eventSvc;
12440
+ this.configSvc = configSvc;
12441
+ this.utilitySvc = utilitySvc;
12442
+ this.router = router;
12443
+ this.userSvc = userSvc;
12444
+ this.translate = translate;
12445
+ this.langtranslations = langtranslations;
12446
+ this._fb = _fb;
12447
+ this.emptyResponse = new EventEmitter();
12448
+ this.viewAllResponse = new EventEmitter();
12449
+ this.telemtryResponse = new EventEmitter();
12450
+ this.providerId = '';
12451
+ this.emitViewAll = false;
12452
+ this.channnelName = '';
12453
+ this.id = `ws-strip-miltiple_${Math.random()}`;
12454
+ this.stripsResultDataMap = {};
12455
+ this.stripsKeyOrder = [];
12456
+ this.showAccordionData = true;
12457
+ this.showParentLoader = false;
12458
+ this.showParentError = false;
12459
+ this.showParentNoData = false;
12460
+ this.errorDataCount = 0;
12461
+ this.noDataCount = 0;
12462
+ this.successDataCount = 0;
12463
+ this.contentAvailable = true;
12464
+ this.baseUrl = this.configSvc.sitePath || '';
12465
+ this.veifiedKarmayogi = false;
12466
+ this.changeEventSubscription = null;
12467
+ this.defaultMaxWidgets = 12;
12468
+ this.todaysEvents = [];
12469
+ if (localStorage.getItem('websiteLanguage')) {
12470
+ this.translate.setDefaultLang('en');
12471
+ /** @type {?} */
12472
+ let lang = JSON.stringify(localStorage.getItem('websiteLanguage'));
12473
+ lang = lang.replace(/\"/g, '');
12474
+ this.translate.use(lang);
12475
+ }
12476
+ this.environment = environment;
12477
+ }
12478
+ /**
12479
+ * @return {?}
12480
+ */
12481
+ ngOnDestroy() {
12482
+ }
12483
+ /**
12484
+ * @return {?}
12485
+ */
12486
+ ngOnInit() {
12487
+ this.initData();
12488
+ this.contentSvc.telemetryData$.subscribe((/**
12489
+ * @param {?} data
12490
+ * @return {?}
12491
+ */
12492
+ (data) => {
12493
+ this.telemtryResponse.emit(data);
12494
+ }));
12495
+ this.facetForm = this._fb.group({
12496
+ org: ['0']
12497
+ });
12498
+ }
12499
+ /**
12500
+ * @private
12501
+ * @return {?}
12502
+ */
12503
+ initData() {
12504
+ this.stripsKeyOrder = this.widgetData && this.widgetData.strips && this.widgetData.strips.map((/**
12505
+ * @param {?} strip
12506
+ * @return {?}
12507
+ */
12508
+ strip => strip.key)) || [];
12509
+ if (this.widgetData.loader && this.widgetData.strips.length) {
12510
+ this.showParentLoader = true;
12511
+ }
12512
+ // Fetch the data
12513
+ for (const strip of this.widgetData.strips) {
12514
+ if (this.checkForEmptyWidget(strip)) {
12515
+ this.fetchStripFromRequestData(strip, false);
12516
+ }
12517
+ else {
12518
+ this.processStrip(strip, [], 'done', true, null);
12519
+ }
12520
+ }
12521
+ // Subscription for changes
12522
+ /** @type {?} */
12523
+ const keyAndEvent = this.widgetData.strips
12524
+ .map((/**
12525
+ * @param {?} strip
12526
+ * @return {?}
12527
+ */
12528
+ strip => ({
12529
+ key: strip.key,
12530
+ type: (strip.refreshEvent && strip.refreshEvent.eventType) || '',
12531
+ from: (strip.refreshEvent && strip.refreshEvent.from.toString()) || '',
12532
+ })))
12533
+ .filter((/**
12534
+ * @param {?} __0
12535
+ * @return {?}
12536
+ */
12537
+ ({ key, type, from }) => key && type && from));
12538
+ /** @type {?} */
12539
+ const eventTypeSet = new Set(keyAndEvent.map((/**
12540
+ * @param {?} e
12541
+ * @return {?}
12542
+ */
12543
+ e => e.type)));
12544
+ this.changeEventSubscription = this.eventSvc.events$
12545
+ .pipe(filter((/**
12546
+ * @param {?} event
12547
+ * @return {?}
12548
+ */
12549
+ event => eventTypeSet.has(event.eventType))))
12550
+ .subscribe((/**
12551
+ * @param {?} event
12552
+ * @return {?}
12553
+ */
12554
+ event => {
12555
+ keyAndEvent
12556
+ .filter((/**
12557
+ * @param {?} e
12558
+ * @return {?}
12559
+ */
12560
+ e => e.type === event.eventType && e.from === event.from))
12561
+ .map((/**
12562
+ * @param {?} e
12563
+ * @return {?}
12564
+ */
12565
+ e => e.key))
12566
+ .forEach((/**
12567
+ * @param {?} k
12568
+ * @return {?}
12569
+ */
12570
+ k => this.fetchStripFromKey(k, false)));
12571
+ }));
12572
+ }
12573
+ /**
12574
+ * @private
12575
+ * @param {?} key
12576
+ * @param {?=} calculateParentStatus
12577
+ * @return {?}
12578
+ */
12579
+ fetchStripFromKey(key, calculateParentStatus = true) {
12580
+ /** @type {?} */
12581
+ const stripData = this.widgetData.strips.find((/**
12582
+ * @param {?} strip
12583
+ * @return {?}
12584
+ */
12585
+ strip => strip.key === key));
12586
+ if (stripData) {
12587
+ this.fetchStripFromRequestData(stripData, calculateParentStatus);
12588
+ }
12589
+ }
12590
+ /**
12591
+ * @private
12592
+ * @param {?} strip
12593
+ * @param {?=} calculateParentStatus
12594
+ * @return {?}
12595
+ */
12596
+ fetchStripFromRequestData(strip, calculateParentStatus = true) {
12597
+ // setting initial values
12598
+ strip.loaderWidgets = this.transformSkeletonToWidgets(strip);
12599
+ this.processStrip(strip, [], 'fetching', false, null);
12600
+ if (strip && strip.stripRequestFor === ApiRequestFor.SEARCH && !strip.onTabClickRequest) {
12601
+ this.fetchFromSearch(strip, calculateParentStatus);
12602
+ }
12603
+ }
12604
+ /**
12605
+ * @private
12606
+ * @param {?} strip
12607
+ * @return {?}
12608
+ */
12609
+ transformSkeletonToWidgets(strip) {
12610
+ return [1, 2, 3, 4, 5, 6, 7, 7, 8, 9, 10].map((/**
12611
+ * @param {?} _content
12612
+ * @return {?}
12613
+ */
12614
+ _content => ({
12615
+ widgetType: 'cardLib',
12616
+ widgetSubType: 'cardContentLib',
12617
+ widgetHostClass: 'mb-2',
12618
+ widgetData: {
12619
+ cardSubType: strip.loaderConfig && strip.loaderConfig.cardSubType || 'card-standard-skeleton',
12620
+ cardCustomeClass: strip.customeClass ? strip.customeClass : '',
12621
+ },
12622
+ })));
12623
+ }
12624
+ /**
12625
+ * @private
12626
+ * @param {?} strip
12627
+ * @param {?=} results
12628
+ * @param {?=} fetchStatus
12629
+ * @param {?=} calculateParentStatus
12630
+ * @param {?=} _viewMoreUrl
12631
+ * @param {?=} tabsResults
12632
+ * @return {?}
12633
+ */
12634
+ processStrip(strip, results = [], fetchStatus, calculateParentStatus = true, _viewMoreUrl, tabsResults) {
12635
+ return __awaiter(this, void 0, void 0, function* () {
12636
+ /** @type {?} */
12637
+ const stripData = {
12638
+ viewMoreUrl: strip.viewMoreUrl,
12639
+ key: strip.key,
12640
+ canHideStrip: Boolean(strip.canHideStrip),
12641
+ showStrip: this.getIfStripHidden(strip.key),
12642
+ noDataWidget: strip.noDataWidget,
12643
+ errorWidget: strip.errorWidget,
12644
+ stripInfo: strip.info,
12645
+ stripTitle: strip.title,
12646
+ stripTitleLink: strip.stripTitleLink,
12647
+ disableTranslate: strip.disableTranslate,
12648
+ sliderConfig: strip.sliderConfig,
12649
+ tabs: tabsResults ? tabsResults : strip.tabs,
12650
+ stripName: strip.name,
12651
+ mode: strip.mode,
12652
+ stripConfig: strip.stripConfig,
12653
+ stripBackground: strip.stripBackground,
12654
+ secondaryHeading: strip.secondaryHeading,
12655
+ loaderWidgets: strip.loaderWidgets || [],
12656
+ hideViewMoreUrl: strip.hideViewMoreUrl || false,
12657
+ widgets: fetchStatus === 'done'
12658
+ ? [
12659
+ ...(strip.preWidgets || []).map((/**
12660
+ * @param {?} w
12661
+ * @return {?}
12662
+ */
12663
+ w => (Object.assign({}, w, { widgetHostClass: `mb-2 ${w.widgetHostClass}` })))),
12664
+ ...results,
12665
+ ...(strip.postWidgets || []).map((/**
12666
+ * @param {?} w
12667
+ * @return {?}
12668
+ */
12669
+ w => (Object.assign({}, w, { widgetHostClass: `mb-2 ${w.widgetHostClass}` })))),
12670
+ ]
12671
+ : [],
12672
+ showOnNoData: Boolean(strip.noDataWidget &&
12673
+ !((strip.preWidgets || []).length + results.length + (strip.postWidgets || []).length) &&
12674
+ fetchStatus === 'done'),
12675
+ showOnLoader: Boolean(strip.loader && fetchStatus === 'fetching'),
12676
+ showOnError: Boolean(strip.errorWidget && fetchStatus === 'error'),
12677
+ };
12678
+ // const stripData = this.stripsResultDataMap[strip.key]
12679
+ this.stripsResultDataMap = Object.assign({}, this.stripsResultDataMap, { [strip.key]: stripData });
12680
+ if (!tabsResults) {
12681
+ if (calculateParentStatus &&
12682
+ (fetchStatus === 'done' || fetchStatus === 'error') &&
12683
+ stripData.widgets) {
12684
+ this.checkParentStatus(fetchStatus, stripData.widgets.length);
12685
+ }
12686
+ if (calculateParentStatus && !(results && results.length > 0)) {
12687
+ this.contentAvailable = false;
12688
+ }
12689
+ else if (results && results.length > 0) {
12690
+ this.contentAvailable = true;
12691
+ }
12692
+ }
12693
+ else {
12694
+ this.contentAvailable = true;
12695
+ }
12696
+ });
12697
+ }
12698
+ /**
12699
+ * @private
12700
+ * @param {?} fetchStatus
12701
+ * @param {?} stripWidgetsCount
12702
+ * @return {?}
12703
+ */
12704
+ checkParentStatus(fetchStatus, stripWidgetsCount) {
12705
+ if (fetchStatus === 'done' && !stripWidgetsCount) {
12706
+ this.noDataCount += 1;
12707
+ }
12708
+ else if (fetchStatus === 'done' && stripWidgetsCount) {
12709
+ this.successDataCount += 1;
12710
+ }
12711
+ else if (fetchStatus === 'error') {
12712
+ this.errorDataCount += 1;
12713
+ }
12714
+ /** @type {?} */
12715
+ const settledCount = this.noDataCount + this.successDataCount + this.errorDataCount;
12716
+ /** @type {?} */
12717
+ const totalCount = this.widgetData.strips.length;
12718
+ if (this.successDataCount > 0 && settledCount < totalCount) {
12719
+ return;
12720
+ }
12721
+ this.showParentLoader = settledCount !== totalCount;
12722
+ this.showParentNoData =
12723
+ this.noDataCount > 0 && this.noDataCount + this.errorDataCount === totalCount;
12724
+ this.showParentError = this.errorDataCount === totalCount;
12725
+ }
12726
+ /**
12727
+ * @param {?} strip
12728
+ * @return {?}
12729
+ */
12730
+ checkForEmptyWidget(strip) {
12731
+ if (strip.request &&
12732
+ ((strip.request.requestBody && Object.keys(strip.request.requestBody).length))) {
12733
+ return true;
12734
+ }
12735
+ return false;
12736
+ }
12737
+ // strip settings
12738
+ /**
12739
+ * @param {?} data
12740
+ * @return {?}
12741
+ */
12742
+ toggleInfo(data) {
12743
+ /** @type {?} */
12744
+ const stripInfo = this.stripsResultDataMap[data.key].stripInfo;
12745
+ if (stripInfo) {
12746
+ if (stripInfo.mode !== 'below') {
12747
+ this.loggerSvc.warn(`strip info mode: ${stripInfo.mode} not implemented yet`);
12748
+ stripInfo.mode = 'below';
12749
+ }
12750
+ if (stripInfo.mode === 'below') {
12751
+ this.stripsResultDataMap[data.key].stripInfo = Object.assign({}, stripInfo, { visibilityMode: stripInfo.visibilityMode === 'hidden' ? 'visible' : 'hidden' });
12752
+ }
12753
+ }
12754
+ }
12755
+ /**
12756
+ * @param {?} stripData
12757
+ * @return {?}
12758
+ */
12759
+ raiseTelemetry(stripData) {
12760
+ this.telemtryResponse.emit(stripData);
12761
+ }
12762
+ /**
12763
+ * @param {?} key
12764
+ * @return {?}
12765
+ */
12766
+ setHiddenForStrip(key) {
12767
+ this.stripsResultDataMap[key].showStrip = false;
12768
+ sessionStorage.setItem(`cstrip_${key}`, '1');
12769
+ }
12770
+ // selected pills data
12771
+ /**
12772
+ * @param {?} tabdata
12773
+ * @param {?} tabIndex
12774
+ * @return {?}
12775
+ */
12776
+ getSelectedPillIndex(tabdata, tabIndex) {
12777
+ if (tabdata.pillsData && tabdata.pillsData.length) {
12778
+ /** @type {?} */
12779
+ let index = tabdata.pillsData.findIndex((/**
12780
+ * @param {?} pill
12781
+ * @return {?}
12782
+ */
12783
+ (pill) => {
12784
+ return pill.selected;
12785
+ }));
12786
+ return index;
12787
+ }
12788
+ return 0;
12789
+ }
12790
+ /**
12791
+ * @param {?} data
12792
+ * @return {?}
12793
+ */
12794
+ getdata(data) {
12795
+ if (data.stripInfo) {
12796
+ return data.stripInfo.widget;
12797
+ }
12798
+ return {};
12799
+ }
12800
+ /**
12801
+ * @param {?} tabEvent
12802
+ * @param {?} pillIndex
12803
+ * @param {?} stripMap
12804
+ * @param {?} stripKey
12805
+ * @return {?}
12806
+ */
12807
+ tabClicked(tabEvent, pillIndex, stripMap, stripKey) {
12808
+ if (stripMap && stripMap.tabs && stripMap.tabs[tabEvent.index]) {
12809
+ stripMap.tabs[tabEvent.index].pillsData[pillIndex].fetchTabStatus = 'inprogress';
12810
+ stripMap.tabs[tabEvent.index].pillsData[pillIndex].tabLoading = true;
12811
+ stripMap.showOnLoader = true;
12812
+ }
12813
+ /** @type {?} */
12814
+ const data = {
12815
+ label: `${tabEvent.tab.textLabel}`,
12816
+ index: tabEvent.index,
12817
+ };
12818
+ this.eventSvc.raiseInteractTelemetry({
12819
+ type: WsEvents.EnumInteractTypes.CLICK,
12820
+ subType: WsEvents.EnumInteractSubTypes.HOME_PAGE_STRIP_TABS,
12821
+ id: `${camelCase(data.label)}-tab`,
12822
+ }, {}, {
12823
+ module: WsEvents.EnumTelemetrymodules.HOME,
12824
+ });
12825
+ /** @type {?} */
12826
+ const currentTabFromMap = stripMap.tabs && stripMap.tabs[tabEvent.index];
12827
+ /** @type {?} */
12828
+ const currentPillFromMap = stripMap.tabs && stripMap.tabs[tabEvent.index].pillsData[pillIndex];
12829
+ /** @type {?} */
12830
+ const currentStrip = this.widgetData.strips.find((/**
12831
+ * @param {?} s
12832
+ * @return {?}
12833
+ */
12834
+ s => s.key === stripKey));
12835
+ if (this.stripsResultDataMap[stripKey] && currentTabFromMap) {
12836
+ this.stripsResultDataMap[stripKey].viewMoreUrl.queryParams = Object.assign({}, this.stripsResultDataMap[stripKey].viewMoreUrl.queryParams, { tabSelected: currentTabFromMap.value, pillSelected: currentPillFromMap.value });
12837
+ }
12838
+ if (currentStrip && currentTabFromMap && !currentTabFromMap.computeDataOnClick && currentPillFromMap) {
12839
+ if (currentPillFromMap.requestRequired && currentPillFromMap.request) {
12840
+ if (currentPillFromMap.request.searchV6) {
12841
+ // this.getTabDataByNewReqSearchV6(currentStrip, tabEvent.index, currentTabFromMap, true);
12842
+ }
12843
+ stripMap.tabs[tabEvent.index].pillsData[pillIndex].tabLoading = false;
12844
+ }
12845
+ else {
12846
+ this.getTabDataByfilter(currentStrip, currentTabFromMap, true);
12847
+ if (stripMap && stripMap.tabs && stripMap.tabs[tabEvent.index]) {
12848
+ stripMap.tabs[tabEvent.index].pillsData[pillIndex].fetchTabStatus = 'inprogress';
12849
+ stripMap.tabs[tabEvent.index].pillsData[pillIndex].tabLoading = false;
12850
+ stripMap.showOnLoader = true;
12851
+ this.resetFilter(stripMap, tabEvent.index, pillIndex);
12852
+ }
12853
+ setTimeout((/**
12854
+ * @return {?}
12855
+ */
12856
+ () => {
12857
+ if (stripMap && stripMap.tabs && stripMap.tabs[tabEvent.index]) {
12858
+ stripMap.tabs[tabEvent.index].pillsData[pillIndex].fetchTabStatus = 'done';
12859
+ stripMap.tabs[tabEvent.index].pillsData[pillIndex].tabLoading = false;
12860
+ stripMap.showOnLoader = false;
12861
+ this.resetSelectedPill(stripMap.tabs[tabEvent.index].pillsData);
12862
+ stripMap.tabs[tabEvent.index].pillsData[pillIndex]['selected'] = true;
12863
+ }
12864
+ }), 200);
12865
+ }
12866
+ }
12867
+ }
12868
+ /**
12869
+ * @param {?} event
12870
+ * @param {?} stripMap
12871
+ * @param {?} stripKey
12872
+ * @param {?} pillIndex
12873
+ * @param {?} tabIndex
12874
+ * @return {?}
12875
+ */
12876
+ pillClicked(event, stripMap, stripKey, pillIndex, tabIndex) {
12877
+ if (stripMap && stripMap.tabs && stripMap.tabs[tabIndex]) {
12878
+ stripMap.tabs[tabIndex].pillsData[pillIndex].fetchTabStatus = 'inprogress';
12879
+ stripMap.tabs[tabIndex].pillsData[pillIndex].tabLoading = true;
12880
+ stripMap.showOnLoader = true;
12881
+ }
12882
+ /** @type {?} */
12883
+ const currentTabFromMap = stripMap.tabs && stripMap.tabs[tabIndex];
12884
+ /** @type {?} */
12885
+ const currentPillFromMap = stripMap.tabs && stripMap.tabs[tabIndex].pillsData[pillIndex];
12886
+ /** @type {?} */
12887
+ const currentStrip = this.widgetData.strips.find((/**
12888
+ * @param {?} s
12889
+ * @return {?}
12890
+ */
12891
+ s => s.key === stripKey));
12892
+ if (this.stripsResultDataMap[stripKey] && currentTabFromMap) {
12893
+ this.stripsResultDataMap[stripKey].viewMoreUrl.queryParams = Object.assign({}, this.stripsResultDataMap[stripKey].viewMoreUrl.queryParams, { tabSelected: currentTabFromMap.value, pillSelected: currentPillFromMap.value });
12894
+ }
12895
+ if (currentStrip && currentTabFromMap && !currentTabFromMap.computeDataOnClick && currentPillFromMap) {
12896
+ if (currentPillFromMap.requestRequired && currentPillFromMap.request) {
12897
+ // call API to get tab data and process
12898
+ // this.processStrip(currentStrip, [], 'fetching', true, null)
12899
+ if (currentPillFromMap.request.searchV6) {
12900
+ // this.getTabDataByNewReqSearchV6(currentStrip, tabIndex, pillIndex, currentPillFromMap, true);
12901
+ }
12902
+ else if (currentPillFromMap.request.trendingSearch) {
12903
+ // this.getTabDataByNewReqTrending(currentStrip, tabIndex, pillIndex, currentPillFromMap, true);
12904
+ }
12905
+ // if (stripMap && stripMap.tabs && stripMap.tabs[tabEvent.index]) {
12906
+ // stripMap.tabs[tabEvent.index].tabLoading = false;
12907
+ // }
12908
+ stripMap.tabs[tabIndex].pillsData[pillIndex].tabLoading = false;
12909
+ }
12910
+ else {
12911
+ this.getTabDataByfilter(currentStrip, currentTabFromMap, true);
12912
+ if (stripMap && stripMap.tabs && stripMap.tabs[tabIndex]) {
12913
+ stripMap.tabs[tabIndex].pillsData[pillIndex].fetchTabStatus = 'inprogress';
12914
+ stripMap.tabs[tabIndex].pillsData[pillIndex].tabLoading = false;
12915
+ stripMap.showOnLoader = true;
12916
+ this.resetFilter(stripMap, tabIndex, pillIndex);
12917
+ }
12918
+ setTimeout((/**
12919
+ * @return {?}
12920
+ */
12921
+ () => {
12922
+ if (stripMap && stripMap.tabs && stripMap.tabs[tabIndex]) {
12923
+ stripMap.tabs[tabIndex].pillsData[pillIndex].fetchTabStatus = 'done';
12924
+ stripMap.tabs[tabIndex].pillsData[pillIndex].tabLoading = false;
12925
+ stripMap.showOnLoader = false;
12926
+ this.resetSelectedPill(stripMap.tabs[tabIndex].pillsData);
12927
+ stripMap.tabs[tabIndex].pillsData[pillIndex]['selected'] = true;
12928
+ }
12929
+ }), 200);
12930
+ }
12931
+ }
12932
+ }
12933
+ /**
12934
+ * @param {?} pillData
12935
+ * @return {?}
12936
+ */
12937
+ resetSelectedPill(pillData) {
12938
+ if (pillData && pillData.length) {
12939
+ pillData.forEach((/**
12940
+ * @param {?} pill
12941
+ * @return {?}
12942
+ */
12943
+ (pill) => {
12944
+ pill['selected'] = false;
12945
+ }));
12946
+ }
12947
+ }
12948
+ /**
12949
+ * @param {?} strip
12950
+ * @param {?} currentTab
12951
+ * @param {?} calculateParentStatus
12952
+ * @return {?}
12953
+ */
12954
+ getTabDataByfilter(strip, currentTab, calculateParentStatus) {
12955
+ // tslint:disable:no-console
12956
+ console.log('strip -- ', strip);
12957
+ // tslint:disable:no-console
12958
+ console.log('currentTab -- ', currentTab);
12959
+ // tslint:disable:no-console
12960
+ console.log('calculateParentStatus-- ', calculateParentStatus);
12961
+ // TODO: Write logic for individual filter if passed in config
12962
+ // add switch case based on config key passed
12963
+ }
12964
+ /**
12965
+ * @private
12966
+ * @param {?} key
12967
+ * @return {?}
12968
+ */
12969
+ getIfStripHidden(key) {
12970
+ /** @type {?} */
12971
+ const storageItem = sessionStorage.getItem(`cstrip_${key}`);
12972
+ return Boolean(storageItem !== '1');
12973
+ }
12974
+ // translate labes
12975
+ /**
12976
+ * @param {?} label
12977
+ * @param {?} type
12978
+ * @return {?}
12979
+ */
12980
+ translateLabels(label, type) {
12981
+ return this.langtranslations.translateLabel(label, type, '');
12982
+ }
12983
+ /**
12984
+ * @param {?} stripData
12985
+ * @param {?} path
12986
+ * @param {?} queryParamsData
12987
+ * @return {?}
12988
+ */
12989
+ redirectViewAll(stripData, path, queryParamsData) {
12990
+ if (this.emitViewAll) {
12991
+ this.viewAllResponse.emit(stripData);
12992
+ }
12993
+ else {
12994
+ this.router.navigate([path], { queryParams: queryParamsData });
12995
+ }
12996
+ }
12997
+ /**
12998
+ * @param {?} index
12999
+ * @param {?} item
13000
+ * @return {?}
13001
+ */
13002
+ identify(index, item) {
13003
+ if (index >= 0) { }
13004
+ return item;
13005
+ }
13006
+ /**
13007
+ * @param {?} index
13008
+ * @param {?} item
13009
+ * @return {?}
13010
+ */
13011
+ tracker(index, item) {
13012
+ if (index >= 0) { }
13013
+ return get(item, 'widgetData.content.identifier');
13014
+ }
13015
+ /**
13016
+ * @param {?} data
13017
+ * @return {?}
13018
+ */
13019
+ getContineuLearningLenth(data) {
13020
+ return data.widgets ? data.widgets.length : 0;
13021
+ }
13022
+ /**
13023
+ * @param {?} key
13024
+ * @return {?}
13025
+ */
13026
+ showAccordion(key) {
13027
+ if (this.utilitySvc.isMobile && this.stripsResultDataMap[key].mode === 'accordion') {
13028
+ return this.showAccordionData;
13029
+ }
13030
+ return true;
13031
+ }
13032
+ /**
13033
+ * @param {?} wData
13034
+ * @param {?} data
13035
+ * @return {?}
13036
+ */
13037
+ checkCondition(wData, data) {
13038
+ if (wData.strips[0].stripConfig && wData.strips[0].stripConfig.hideShowAll) {
13039
+ return !wData.strips[0].stripConfig.hideShowAll;
13040
+ }
13041
+ return wData.strips[0].viewMoreUrl && data.widgets && data.widgets.length >= 4;
13042
+ }
13043
+ /**
13044
+ * @param {?} data
13045
+ * @return {?}
13046
+ */
13047
+ checkVisible(data) {
13048
+ return data.stripInfo && data.stripInfo.visibilityMode === 'visible';
13049
+ }
13050
+ /**
13051
+ * @param {?} stripsResultDataMap
13052
+ * @param {?} key
13053
+ * @return {?}
13054
+ */
13055
+ getSelectedIndex(stripsResultDataMap, key) {
13056
+ /** @type {?} */
13057
+ let returnValue = 0;
13058
+ return returnValue;
13059
+ }
13060
+ /**
13061
+ * @param {?} data
13062
+ * @return {?}
13063
+ */
13064
+ getLength(data) {
13065
+ if (!data.tabs || !data.tabs.length) {
13066
+ return data.widgets ? data.widgets.length : 0;
13067
+ }
13068
+ {
13069
+ // if tabs are there check if each tab has widgets and get the tab with max widgets
13070
+ /** @type {?} */
13071
+ let tabWithMaxWidgets = {};
13072
+ data.tabs.forEach((/**
13073
+ * @param {?} tab
13074
+ * @return {?}
13075
+ */
13076
+ (tab) => {
13077
+ if (tab.pillsData && tab.pillsData.length) {
13078
+ tabWithMaxWidgets = tab.pillsData.reduce((/**
13079
+ * @param {?} prev
13080
+ * @param {?} current
13081
+ * @return {?}
13082
+ */
13083
+ (prev, current) => {
13084
+ if (!prev.widgets && !current.widgets) {
13085
+ return current;
13086
+ }
13087
+ if (prev.widgets && current.widgets) {
13088
+ return (prev.widgets.length > current.widgets.length) ? prev : current;
13089
+ }
13090
+ if (current.widgets && !prev.widgets) {
13091
+ return current;
13092
+ }
13093
+ if (!current.widgets && prev.widgets) {
13094
+ return prev;
13095
+ }
13096
+ return current;
13097
+ // return (prev.widgets && current.widgets && (prev.widgets.length > current.widgets.length) ) ? prev : current
13098
+ // tslint:disable-next-line: align
13099
+ }), data.tabs[0]);
13100
+ }
13101
+ }));
13102
+ // if tabs has atleast 1 widgets then strip will show or else not
13103
+ return tabWithMaxWidgets.widgets ? tabWithMaxWidgets.widgets.length : 0;
13104
+ }
13105
+ }
13106
+ /**
13107
+ * @param {?} data
13108
+ * @return {?}
13109
+ */
13110
+ isStripShowing(data) {
13111
+ /** @type {?} */
13112
+ let count = 0;
13113
+ if (data && data.key === this.environment.programStripKey && (!data.tabs || !data.tabs.length) &&
13114
+ data.stripTitle === this.environment.programStripName && data.widgets.length > 0) {
13115
+ data.widgets.forEach((/**
13116
+ * @param {?} key
13117
+ * @return {?}
13118
+ */
13119
+ (key) => {
13120
+ if (key && key.widgetData.content.primaryCategory === this.environment.programStripPrimaryCategory) {
13121
+ count = count + 1;
13122
+ }
13123
+ }));
13124
+ if (count > 0) {
13125
+ data.showStrip = true;
13126
+ }
13127
+ else {
13128
+ data.showStrip = false;
13129
+ }
13130
+ }
13131
+ // console.log('data.key', data, data.key, data.widgets);
13132
+ return data.showStrip;
13133
+ }
13134
+ /**
13135
+ * @return {?}
13136
+ */
13137
+ get isMobile() {
13138
+ return this.utilitySvc.isMobile || false;
13139
+ }
13140
+ // search api with facets
13141
+ /**
13142
+ * @param {?} strip
13143
+ * @param {?} request
13144
+ * @param {?} apiUrl
13145
+ * @param {?} calculateParentStatus
13146
+ * @return {?}
13147
+ */
13148
+ postRequestMethod(strip, request, apiUrl, calculateParentStatus) {
13149
+ return __awaiter(this, void 0, void 0, function* () {
13150
+ return new Promise((/**
13151
+ * @param {?} resolve
13152
+ * @param {?} reject
13153
+ * @return {?}
13154
+ */
13155
+ (resolve, reject) => {
13156
+ if (request && request) {
13157
+ this.contentSvc.postApiMethod(apiUrl, request).subscribe((/**
13158
+ * @param {?} results
13159
+ * @return {?}
13160
+ */
13161
+ results => {
13162
+ if (results.result && results.result.content) {
13163
+ /** @type {?} */
13164
+ const showViewMore = Boolean(results.result.content && results.result.content.length > 5 && strip.stripConfig && strip.stripConfig.postCardForSearch);
13165
+ /** @type {?} */
13166
+ const viewMoreUrl = showViewMore
13167
+ ? {
13168
+ path: strip.viewMoreUrl && strip.viewMoreUrl.path || '',
13169
+ queryParams: {
13170
+ tab: 'Learn',
13171
+ q: strip.viewMoreUrl && strip.viewMoreUrl.queryParams,
13172
+ f: {},
13173
+ },
13174
+ }
13175
+ : null;
13176
+ resolve({ results, viewMoreUrl });
13177
+ }
13178
+ }), (/**
13179
+ * @param {?} error
13180
+ * @return {?}
13181
+ */
13182
+ (error) => {
13183
+ this.processStrip(strip, [], 'error', calculateParentStatus, null);
13184
+ reject(error);
13185
+ }));
13186
+ }
13187
+ }));
13188
+ });
13189
+ }
13190
+ /**
13191
+ * @param {?} strip
13192
+ * @param {?=} calculateParentStatus
13193
+ * @return {?}
13194
+ */
13195
+ fetchFromSearch(strip, calculateParentStatus = true) {
13196
+ return __awaiter(this, void 0, void 0, function* () {
13197
+ if (strip.request && Object.keys(strip.request.requestBody).length) {
13198
+ try {
13199
+ /** @type {?} */
13200
+ const response = yield this.postRequestMethod(strip, strip.request.requestBody, strip.request.apiUrl, calculateParentStatus);
13201
+ /** @type {?} */
13202
+ let tabIndex = 0;
13203
+ /** @type {?} */
13204
+ let pillIndex = 0;
13205
+ if (response.results && response.results.result) {
13206
+ this.mapAllDataWithFacets(strip, response.results.result.content, response.results.result.facets, calculateParentStatus);
13207
+ /** @type {?} */
13208
+ const widgets = this.transformContentsToWidgets(response.results.result.content, strip);
13209
+ /** @type {?} */
13210
+ let tabResults = [];
13211
+ // if (this.stripsResultDataMap[strip.key] && this.stripsResultDataMap[strip.key].tabs) {
13212
+ // const allTabs = this.stripsResultDataMap[strip.key].tabs;
13213
+ // const allPills = this.stripsResultDataMap[strip.key].tabs[tabIndex].pillsData;
13214
+ // this.resetSelectedPill(allPills)
13215
+ // if (allTabs && allTabs.length && allTabs[tabIndex]) {
13216
+ // if(allPills && allPills.length && allPills[pillIndex]){
13217
+ // allPills[pillIndex] = {
13218
+ // ...allPills[pillIndex],
13219
+ // widgets,
13220
+ // fetchTabStatus: 'done',
13221
+ // selected: true
13222
+ // };
13223
+ // }
13224
+ // allTabs[tabIndex] = {
13225
+ // ...allTabs[tabIndex],
13226
+ // widgets,
13227
+ // fetchTabStatus: 'done',
13228
+ // };
13229
+ // tabResults = allTabs;
13230
+ // }
13231
+ // }
13232
+ // this.processStrip(
13233
+ // strip,
13234
+ // widgets,
13235
+ // 'done',
13236
+ // calculateParentStatus,
13237
+ // response.viewMoreUrl,
13238
+ // tabResults // tabResults as widgets
13239
+ // );
13240
+ }
13241
+ }
13242
+ catch (error) {
13243
+ // Handle errors
13244
+ // console.error('Error:', error);
13245
+ }
13246
+ }
13247
+ });
13248
+ }
13249
+ /**
13250
+ * @param {?} strip
13251
+ * @param {?} content
13252
+ * @param {?} facets
13253
+ * @param {?} calculateParentStatus
13254
+ * @return {?}
13255
+ */
13256
+ mapAllDataWithFacets(strip, content, facets, calculateParentStatus) {
13257
+ console.log(strip, content);
13258
+ /** @type {?} */
13259
+ const allTabs = this.stripsResultDataMap[strip.key].tabs;
13260
+ /** @type {?} */
13261
+ let facet = [];
13262
+ allTabs.forEach((/**
13263
+ * @param {?} ele
13264
+ * @return {?}
13265
+ */
13266
+ (ele) => {
13267
+ ele['fetchTabStatus'] = 'done';
13268
+ /** @type {?} */
13269
+ let filteredData = content.filter((/**
13270
+ * @param {?} contEle
13271
+ * @return {?}
13272
+ */
13273
+ (contEle) => contEle.nlwUserExp.includes(ele.value)))
13274
+ // filteredData.forEach(element => {
13275
+ // facet = [...facet,..._.difference(element.nlwOrgs ,facet)];
13276
+ // });
13277
+ ;
13278
+ // filteredData.forEach(element => {
13279
+ // facet = [...facet,..._.difference(element.nlwOrgs ,facet)];
13280
+ // });
13281
+ ele['widgets'] = filteredData;
13282
+ ele.pillsData.forEach((/**
13283
+ * @param {?} pill
13284
+ * @return {?}
13285
+ */
13286
+ (pill) => {
13287
+ if (pill.value === 'all') {
13288
+ pill['widgets'] = this.transformContentsToWidgets(filteredData, strip);
13289
+ pill['fetchTabStatus'] = 'done';
13290
+ }
13291
+ else if (pill.value === 'course') {
13292
+ /** @type {?} */
13293
+ let contentFilteredData = filteredData.filter((/**
13294
+ * @param {?} contEle
13295
+ * @return {?}
13296
+ */
13297
+ (contEle) => contEle.courseCategory.toLowerCase() === pill.value));
13298
+ pill['widgets'] = this.transformContentsToWidgets(contentFilteredData, strip);
13299
+ pill['fetchTabStatus'] = 'done';
13300
+ }
13301
+ else {
13302
+ /** @type {?} */
13303
+ let contentFilteredData = filteredData.filter((/**
13304
+ * @param {?} contEle
13305
+ * @return {?}
13306
+ */
13307
+ (contEle) => contEle.courseCategory.toLowerCase() !== 'course'));
13308
+ pill['widgets'] = this.transformContentsToWidgets(contentFilteredData, strip);
13309
+ pill['fetchTabStatus'] = 'done';
13310
+ }
13311
+ }));
13312
+ // ele['facets'] = [{
13313
+ // name:'nlwOrgs',
13314
+ // values: facet
13315
+ // }]
13316
+ ele['facets'] = facets;
13317
+ }));
13318
+ strip.tabs[0].pillsData[0].fetchTabStatus = 'done';
13319
+ strip.tabs[0].pillsData[0].tabLoading = false;
13320
+ strip.showOnLoader = false;
13321
+ this.resetSelectedPill(strip.tabs[0].pillsData);
13322
+ strip.tabs[0].pillsData[0]['selected'] = true;
13323
+ this.processStrip(strip, [], 'done', calculateParentStatus, strip.viewMoreUrl, allTabs // tabResults as widgets
13324
+ );
13325
+ }
13326
+ /**
13327
+ * @private
13328
+ * @param {?} contents
13329
+ * @param {?} strip
13330
+ * @return {?}
13331
+ */
13332
+ transformContentsToWidgets(contents, strip) {
13333
+ return (contents || []).map((/**
13334
+ * @param {?} content
13335
+ * @param {?} idx
13336
+ * @return {?}
13337
+ */
13338
+ (content, idx) => (content ? {
13339
+ widgetType: 'cardLib',
13340
+ widgetSubType: 'cardContentLib',
13341
+ widgetHostClass: 'mb-2',
13342
+ widgetData: Object.assign({ content }, (content.batch && { batch: content.batch }), { cardSubType: strip.stripConfig && strip.stripConfig.cardSubType, cardCustomeClass: strip.customeClass ? strip.customeClass : '', context: { pageSection: strip.key, position: idx }, intranetMode: strip.stripConfig && strip.stripConfig.intranetMode, deletedMode: strip.stripConfig && strip.stripConfig.deletedMode, contentTags: strip.stripConfig && strip.stripConfig.contentTags }),
13343
+ } : {
13344
+ widgetType: 'card',
13345
+ widgetSubType: 'cardContent',
13346
+ widgetHostClass: 'mb-2',
13347
+ widgetData: {},
13348
+ })));
13349
+ }
13350
+ /**
13351
+ * @param {?} eventData
13352
+ * @param {?} stripMap
13353
+ * @param {?} tabIndex
13354
+ * @return {?}
13355
+ */
13356
+ getorgData(eventData, stripMap, tabIndex) {
13357
+ console.log(eventData);
13358
+ /** @type {?} */
13359
+ let selectedValue = eventData.target.value;
13360
+ /** @type {?} */
13361
+ let pillIndex = this.getSelectedPillIndex(stripMap.tabs[tabIndex], tabIndex);
13362
+ if (stripMap && stripMap.tabs && stripMap.tabs[tabIndex]) {
13363
+ stripMap.tabs[tabIndex].pillsData[pillIndex].fetchTabStatus = 'inprogress';
13364
+ stripMap.tabs[tabIndex].pillsData[pillIndex].tabLoading = false;
13365
+ stripMap.showOnLoader = true;
13366
+ /** @type {?} */
13367
+ let returnedValues = stripMap.tabs[tabIndex].widgets.filter((/**
13368
+ * @param {?} ele
13369
+ * @return {?}
13370
+ */
13371
+ (ele) => {
13372
+ /** @type {?} */
13373
+ var words = ele.nlwOrgs.map((/**
13374
+ * @param {?} v
13375
+ * @return {?}
13376
+ */
13377
+ v => v.toLowerCase()));
13378
+ return words.includes(selectedValue);
13379
+ }));
13380
+ stripMap.tabs[tabIndex].pillsData[pillIndex]['widgets'] = this.transformContentsToWidgets(returnedValues, stripMap);
13381
+ }
13382
+ setTimeout((/**
13383
+ * @return {?}
13384
+ */
13385
+ () => {
13386
+ if (stripMap && stripMap.tabs && stripMap.tabs[tabIndex]) {
13387
+ stripMap.tabs[tabIndex].pillsData[pillIndex].fetchTabStatus = 'done';
13388
+ stripMap.tabs[tabIndex].pillsData[pillIndex].tabLoading = false;
13389
+ stripMap.showOnLoader = false;
13390
+ this.resetSelectedPill(stripMap.tabs[tabIndex].pillsData);
13391
+ stripMap.tabs[tabIndex].pillsData[pillIndex]['selected'] = true;
13392
+ }
13393
+ }), 200);
13394
+ }
13395
+ /**
13396
+ * @param {?} stripMap
13397
+ * @param {?} tabIndex
13398
+ * @param {?} pillIndex
13399
+ * @return {?}
13400
+ */
13401
+ resetFilter(stripMap, tabIndex, pillIndex) {
13402
+ // let selectedValue = eventData.target.value
13403
+ if (pillIndex) {
13404
+ pillIndex = this.getSelectedPillIndex(stripMap.tabs[tabIndex], tabIndex);
13405
+ }
13406
+ this.facetForm.reset({
13407
+ org: 0
13408
+ });
13409
+ if (stripMap && stripMap.tabs && stripMap.tabs[tabIndex]) {
13410
+ stripMap.tabs[tabIndex].pillsData[pillIndex].fetchTabStatus = 'inprogress';
13411
+ stripMap.tabs[tabIndex].pillsData[pillIndex].tabLoading = false;
13412
+ stripMap.showOnLoader = true;
13413
+ // let returnedValues = stripMap.tabs[tabIndex].widgets.filter((ele: any) => {
13414
+ // var words = ele.nlwOrgs.map(v => v.toLowerCase());
13415
+ // return words.includes(selectedValue)
13416
+ // })
13417
+ /** @type {?} */
13418
+ let contentData = stripMap.tabs[tabIndex].widgets || [];
13419
+ stripMap.tabs[tabIndex].pillsData[pillIndex]['widgets'] = this.transformContentsToWidgets(contentData, stripMap);
13420
+ }
13421
+ setTimeout((/**
13422
+ * @return {?}
13423
+ */
13424
+ () => {
13425
+ if (stripMap && stripMap.tabs && stripMap.tabs[tabIndex]) {
13426
+ stripMap.tabs[tabIndex].pillsData[pillIndex].fetchTabStatus = 'done';
13427
+ stripMap.tabs[tabIndex].pillsData[pillIndex].tabLoading = false;
13428
+ stripMap.showOnLoader = false;
13429
+ this.resetSelectedPill(stripMap.tabs[tabIndex].pillsData);
13430
+ stripMap.tabs[tabIndex].pillsData[pillIndex]['selected'] = true;
13431
+ }
13432
+ }), 200);
13433
+ }
13434
+ }
13435
+ ContentStripFacetFilterComponent.decorators = [
13436
+ { type: Component, args: [{
13437
+ selector: 'sb-uic-content-strip-facet-filter',
13438
+ template: "<ng-container *ngIf=\"!contentAvailable; else otherTemplate\"></ng-container>\n<ng-template #otherTemplate>\n <!-- <div *ngIf=\"showParentLoader\" class=\"text-center my-2\">\n <mat-spinner class=\"inline-block\"></mat-spinner>\n </div> -->\n <ng-container *ngIf=\"showParentError\" [sbUiResolverWidget]=\"widgetData.errorWidget\"></ng-container>\n <ng-container *ngIf=\"showParentNoData\" [sbUiResolverWidget]=\"widgetData.noDataWidget\"></ng-container>\n <ng-container *ngFor=\"let key of stripsKeyOrder; let i = index; trackBy: identify\">\n <ng-container *ngIf=\"isStripShowing(stripsResultDataMap[key])\">\n <a name=\"{{stripsResultDataMap[key]?.stripTitle}}\" [class]=\"key\">\n <div *ngIf=\"stripsResultDataMap && (getLength(stripsResultDataMap[key]) ||\n stripsResultDataMap[key]?.showOnNoData ||\n stripsResultDataMap[key]?.showOnLoader ||\n stripsResultDataMap[key]?.showOnError)\n \" [ngClass]=\"\n !widgetData?.isChannelStrip ? 'xs:px-8 sx:px-10ss' : i > 0 ? 'mt-12' : ''\n \" [id]=\"key\" [ngClass]=\"!widgetData?.isChannelStrip ? margin-bottom-custom : margin-bottom-xs\">\n <div [ngClass]=\"{ pad: stripsResultDataMap[key]?.stripBackground }\"\n [ngStyle]=\"{ 'background-color': stripsResultDataMap[key]?.stripBackground }\">\n <div class=\"flex flex-col pl-4 pr-4 md:pr-0 md:pl-0 \" [ngClass]=\"\n !widgetData?.isChannelStrip\n ? ''\n : stripsResultDataMap[key]?.stripTitle\n ? 'mb-8'\n : ''\n \">\n <div class=\"flex flex-1 items-center\">\n <p class=\"mat-subheading-1 margin-remove inline-block \" *ngIf=\"stripsResultDataMap[key]?.stripTitle\">\n <span class=\"capitalize\" *ngIf=\"stripsResultDataMap[key]?.disableTranslate\">\n {{stripsResultDataMap[key]?.stripTitle}}\n </span>\n <span *ngIf=\"!stripsResultDataMap[key]?.disableTranslate\">\n {{ translateLabels(stripsResultDataMap[key]?.stripTitle, 'home') }}\n </span>\n </p>\n\n <button *ngIf=\"stripsResultDataMap[key]?.stripInfo?.icon\" type=\"button\" mat-icon-button\n (click)=\"toggleInfo(stripsResultDataMap[key])\" i18n-matTooltip matTooltip=\"info\"\n class=\"margin-left-xs\">\n <mat-icon>{{ stripsResultDataMap[key]?.stripInfo?.icon.icon }}</mat-icon>\n </button>\n <a *ngIf=\"stripsResultDataMap[key]?.stripTitleLink?.link\"\n [routerLink]=\"stripsResultDataMap[key]?.stripTitleLink?.link\"\n [queryParams]=\"stripsResultDataMap[key]?.stripTitleLink?.link?.queryParams\">\n <mat-icon class=\"ws-mat-primary-primary-text ws-mat-default-text\" [color]=\"'accent'\">{{\n stripsResultDataMap[key]?.stripTitleLink?.icon }}</mat-icon>\n </a>\n <span class=\"spacer\"></span>\n <!-- viewAll start-->\n <div *ngIf=\"checkCondition(widgetData , stripsResultDataMap[key])\" class=\"block md:hidden\">\n <div \n class=\"ml-4 pl-2 view-more ws-mat-default-text \">\n <a class=\"flex ws-mat-default-text items-center justify-center mat-body-1 cursor-pointer\" \n (click)=\"raiseTelemetry(stripsResultDataMap[key]);redirectViewAll(stripsResultDataMap[key], stripsResultDataMap[key]?.viewMoreUrl?.path, stripsResultDataMap[key]?.viewMoreUrl?.queryParams )\">\n <span i18n class=\"ws-mat-default-text\">{{translateLabels(widgetData.strips[0].viewMoreUrl.viewMoreText,'home') || 'See all'}}</span>\n <mat-icon class=\"ws-mat-default-text mat-icon notranslate material-icons mat-icon-no-color\" color=\"accent\">navigate_next</mat-icon>\n </a>\n </div>\n </div>\n <!-- viewAll end-->\n </div>\n <button mat-icon-button (click)=\"setHiddenForStrip(key)\" *ngIf=\"stripsResultDataMap[key]?.canHideStrip\">\n <mat-icon>close</mat-icon>\n </button>\n <mat-icon class=\"cursor-pointer\" *ngIf=\"stripsResultDataMap[key]?.mode === 'accordion' && isMobile\"\n (click)=\"showAccordionData = !showAccordionData\">{{ showAccordionData ? 'expand_less' : 'expand_more' }}\n </mat-icon>\n </div>\n\n <div class=\"mb-4\" *ngIf=\"checkVisible(stripsResultDataMap[key])\">\n <ng-container [sbUiResolverWidget]=\"getdata(stripsResultDataMap[key])\">\n </ng-container>\n </div>\n <ng-container *ngIf=\"stripsResultDataMap[key]?.showOnNoData\"\n [sbUiResolverWidget]=\"stripsResultDataMap[key]?.noDataWidget\"></ng-container>\n <ng-container *ngIf=\"stripsResultDataMap[key]?.showOnError\"\n [sbUiResolverWidget]=\"stripsResultDataMap[key]?.errorWidget\"></ng-container>\n <!-- IF no errors then proceed to show tabs or non tabs strip -->\n <ng-container *ngIf=\"!stripsResultDataMap[key]?.showOnNoData && !stripsResultDataMap[key]?.showOnError\">\n <ng-container *ngIf=\"stripsResultDataMap[key].tabs && stripsResultDataMap[key].tabs.length\">\n <mat-tab-group animationDuration=\"0ms\" [selectedIndex]=\"getSelectedIndex(stripsResultDataMap[key], key)\"\n class=\"mat-tab-labels w-full strips-tabgroup\" dynamicHeight\n (selectedTabChange)=\"tabClicked($event, 0, stripsResultDataMap[key], key)\">\n <mat-tab label=\"{{tab?.label}}\" *ngFor=\"let tab of stripsResultDataMap[key].tabs; let last = last;let tabIndex = index\">\n <ng-template mat-tab-label>\n <span><span *ngIf=\"!tab?.disableTranslate\">{{ translateLabels(tab?.label, 'home') }}</span>\n <span *ngIf=\"tab?.disableTranslate\">{{tab?.label}}</span> &nbsp;</span>\n <span *ngIf=\"tab?.showTabDataCount && tab?.widgets?.length\">({{tab?.widgets?.length}})</span>\n </ng-template>\n\n <div class=\"wfull\" *ngIf=\"tab?.pillsData && tab?.pillsData?.length\">\n <div class=\"flex justify-between item-center flex-wrap gap-4\">\n <div class=\"\">\n <ng-container *ngFor=\"let facet of tab?.facets\">\n <form [formGroup]=\"facetForm\">\n <div class=\"facets-select\">\n <select formControlName=\"org\" (change)=\"getorgData($event, stripsResultDataMap[key], tabIndex)\">\n <option value=\"0\" selected disabled>Choose by organisation</option>\n <option value=\"{{d.name}}\" *ngFor=\"let d of facet.values\" >{{d.name}}</option>\n </select>\n </div>\n </form>\n </ng-container>\n </div>\n <div>\n <ng-container >\n <mat-chip-list class=\"content-pill-data\" aria-label=\"Fish selection\">\n <ng-container *ngFor=\"let pill of tab?.pillsData;let p = index\">\n <mat-chip [selected]=\"pill?.selected\" (click)=\"pillClicked($event, stripsResultDataMap[key], key, p, tabIndex)\">\n <span class=\"pill-name\">{{pill?.label}}</span></mat-chip>\n </ng-container>\n </mat-chip-list>\n </ng-container>\n </div>\n <!-- viewAll start-->\n <div *ngIf=\"!stripsResultDataMap[key]?.hideViewMoreUrl && checkCondition(widgetData , stripsResultDataMap[key])\" class=\" hidden md:block\">\n <div class=\"ml-4 pl-2 view-more ws-mat-default-text\">\n <a class=\"flex ws-mat-default-text items-center justify-center mat-body-1 cursor-pointer\" \n (click)=\"raiseTelemetry(stripsResultDataMap[key]);redirectViewAll(stripsResultDataMap[key], stripsResultDataMap[key]?.viewMoreUrl?.path, stripsResultDataMap[key]?.viewMoreUrl?.queryParams )\">\n <span i18n class=\"ws-mat-default-text\">{{translateLabels(widgetData.strips[0].viewMoreUrl.viewMoreText,'home') || 'See all'}}</span>\n <mat-icon class=\"ws-mat-default-text mat-icon notranslate material-icons mat-icon-no-color\" color=\"accent\">navigate_next</mat-icon>\n </a>\n </div>\n </div>\n \n <!-- viewAll end-->\n </div>\n <div *ngIf=\"stripsResultDataMap && stripsResultDataMap[key]?.showOnLoader ||\n !tab?.pillsData[getSelectedPillIndex(tab ,tabIndex)]?.fetchTabStatus\"\n class=\"text-center my-2\">\n <sb-uic-horizontal-scroller-v2 [sliderConfig]=\"stripsResultDataMap[key]?.sliderConfig\" [id]=\"key+'-scroller'\"\n [loadStatus]=\"'fetching'\" [stripConfig]=\"stripsResultDataMap[key]?.stripConfig\">\n <ng-container *ngFor=\"let widget of stripsResultDataMap[key]?.loaderWidgets; trackBy: tracker\">\n <ng-container [sbUiResolverWidget]=\"widget\"></ng-container>\n </ng-container>\n </sb-uic-horizontal-scroller-v2>\n </div>\n <ng-container *ngIf=\"tab?.pillsData && tab?.pillsData.length && tab?.pillsData[getSelectedPillIndex(tab ,tabIndex)]\">\n <div *ngIf=\"((tab?.pillsData[getSelectedPillIndex(tab ,tabIndex)]?.fetchTabStatus && tab?.pillsData[getSelectedPillIndex(tab ,tabIndex)]?.fetchTabStatus === 'done') &&\n (!tab?.pillsData[getSelectedPillIndex(tab ,tabIndex)]?.widgets || !tab?.pillsData[getSelectedPillIndex(tab ,tabIndex)]?.widgets?.length))\">\n <ng-container *ngIf=\"tab?.pillsData[getSelectedPillIndex(tab ,tabIndex)]?.value === 'inprogress'; else msgTemp\">\n <div class=\"w-full flex flex-col items-center justify-center\">\n <img alt=\"\" class=\"mt-4 mb-4\" src=\"assets/icons/home/nodataDefault.svg\">\n <div class=\"mat-subheading-1 text-center info-content\">{{ 'contentstripmultiple.getReadyForLearningAdventure' | translate }} -\n <a class=\"click-here\" [routerLink]=\"'/page/learn'\">{{ 'contentstripmultiple.clickHere' | translate }}</a> {{ 'contentstripmultiple.toEnrollNextCourse' | translate }}</div>\n </div>\n </ng-container>\n <ng-template #msgTemp>\n <div class=\"w-full flex flex-col items-center justify-center\">\n <img alt=\"\" class=\"mt-4 mb-4\" src=\"assets/icons/home/nodataDefault.png\">\n <div class=\"mat-subheading-1 text-center\">{{ translateLabels(tab?.pillsData[getSelectedPillIndex(tab ,tabIndex)]?.nodataMsg, 'home') }}</div>\n </div>\n </ng-template>\n </div>\n </ng-container>\n <ng-container *ngIf=\"(tab?.pillsData[getSelectedPillIndex(tab ,tabIndex)]?.fetchTabStatus === 'done' || tab?.pillsData[getSelectedPillIndex(tab ,tabIndex)]?.widgets?.length)\">\n <ng-container *ngIf=\"!tab?.pillsData[getSelectedPillIndex(tab ,tabIndex)]?.tabLoading\">\n <sb-uic-horizontal-scroller-v2 [id]=\"key+'-scroller'\" [sliderConfig]=\"stripsResultDataMap[key]?.sliderConfig\" [widgetsLength]=\"tab?.pillsData[getSelectedPillIndex(tab ,tabIndex)]?.widgets?.length\"\n [loadStatus]=\"'done'\" [defaultMaxWidgets]=\"tab?.pillsData[getSelectedPillIndex(tab ,tabIndex)]?.maxWidgets ||\n stripsResultDataMap[key]?.sliderConfig?.maxWidgets || defaultMaxWidgets\" [stripConfig]=\"stripsResultDataMap[key]?.stripConfig\">\n <ng-container *ngFor=\"let widget of tab?.pillsData[getSelectedPillIndex(tab ,tabIndex)]?.widgets| slice:0:(tab?.pillsData[getSelectedPillIndex(tab ,tabIndex)]?.maxWidgets ||\n stripsResultDataMap[key]?.sliderConfig?.maxWidgets || defaultMaxWidgets); trackBy: tracker\">\n <ng-container [sbUiResolverWidget]=\"widget\"></ng-container>\n </ng-container>\n </sb-uic-horizontal-scroller-v2>\n </ng-container>\n </ng-container>\n </div>\n </mat-tab>\n </mat-tab-group>\n </ng-container>\n </ng-container>\n </div>\n </div>\n </a>\n\n </ng-container>\n </ng-container>\n</ng-template>",
13439
+ styles: ["@charset \"UTF-8\";.facets-select{position:relative;display:inline-block;width:250px}.facets-select select{appearance:none;-webkit-appearance:none;-moz-appearance:none;background-color:#fff;border:1px solid #ccc;border-radius:25px;padding:10px 30px 10px 10px;font-size:16px;font-family:Arial,sans-serif;width:100%;height:100%;cursor:pointer}.facets-select:after{content:\"\u25BC\";position:absolute;top:50%;right:10px;transform:translateY(-50%);pointer-events:none;font-size:14px;color:#555}::ng-deep mat-chip-list.content-pill-data .mat-chip-selected{background-color:#1b4ca1!important}::ng-deep mat-chip-list.content-pill-data .mat-chip-selected .pill-name{color:#fff!important}::ng-deep mat-chip-list.content-pill-data .mat-chip-list-wrapper .mat-chip{cursor:pointer!important}::ng-deep mat-chip-list.content-pill-data .mat-chip-list-wrapper .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary{background:#1b4ca1!important;color:#fff!important}::ng-deep mat-chip-list.content-pill-data .mat-chip-list-wrapper .mat-chip.mat-standard-chip{background:#fff!important;border:1px solid rgba(0,0,0,.0784313725)!important}"]
13440
+ }] }
13441
+ ];
13442
+ /** @nocollapse */
13443
+ ContentStripFacetFilterComponent.ctorParameters = () => [
13444
+ { type: undefined, decorators: [{ type: Inject, args: ['environment',] }] },
13445
+ { type: WidgetContentService },
13446
+ { type: LoggerService },
13447
+ { type: EventService },
13448
+ { type: ConfigurationsService$1 },
13449
+ { type: UtilityService },
13450
+ { type: Router },
13451
+ { type: WidgetUserService },
13452
+ { type: TranslateService },
13453
+ { type: MultilingualTranslationsService },
13454
+ { type: FormBuilder }
13455
+ ];
13456
+ ContentStripFacetFilterComponent.propDecorators = {
13457
+ widgetData: [{ type: Input }],
13458
+ emptyResponse: [{ type: Output }],
13459
+ viewAllResponse: [{ type: Output }],
13460
+ telemtryResponse: [{ type: Output }],
13461
+ providerId: [{ type: Input }],
13462
+ emitViewAll: [{ type: Input }],
13463
+ channnelName: [{ type: Input }],
13464
+ id: [{ type: HostBinding, args: ['id',] }]
13465
+ };
13466
+ if (false) {
13467
+ /** @type {?} */
13468
+ ContentStripFacetFilterComponent.prototype.widgetData;
13469
+ /** @type {?} */
13470
+ ContentStripFacetFilterComponent.prototype.emptyResponse;
13471
+ /** @type {?} */
13472
+ ContentStripFacetFilterComponent.prototype.viewAllResponse;
13473
+ /** @type {?} */
13474
+ ContentStripFacetFilterComponent.prototype.telemtryResponse;
13475
+ /** @type {?} */
13476
+ ContentStripFacetFilterComponent.prototype.providerId;
13477
+ /** @type {?} */
13478
+ ContentStripFacetFilterComponent.prototype.emitViewAll;
13479
+ /** @type {?} */
13480
+ ContentStripFacetFilterComponent.prototype.channnelName;
13481
+ /** @type {?} */
13482
+ ContentStripFacetFilterComponent.prototype.id;
13483
+ /** @type {?} */
13484
+ ContentStripFacetFilterComponent.prototype.stripsResultDataMap;
13485
+ /** @type {?} */
13486
+ ContentStripFacetFilterComponent.prototype.stripsKeyOrder;
13487
+ /** @type {?} */
13488
+ ContentStripFacetFilterComponent.prototype.showAccordionData;
13489
+ /** @type {?} */
13490
+ ContentStripFacetFilterComponent.prototype.showParentLoader;
13491
+ /** @type {?} */
13492
+ ContentStripFacetFilterComponent.prototype.showParentError;
13493
+ /** @type {?} */
13494
+ ContentStripFacetFilterComponent.prototype.showParentNoData;
13495
+ /** @type {?} */
13496
+ ContentStripFacetFilterComponent.prototype.errorDataCount;
13497
+ /** @type {?} */
13498
+ ContentStripFacetFilterComponent.prototype.noDataCount;
13499
+ /** @type {?} */
13500
+ ContentStripFacetFilterComponent.prototype.successDataCount;
13501
+ /** @type {?} */
13502
+ ContentStripFacetFilterComponent.prototype.contentAvailable;
13503
+ /** @type {?} */
13504
+ ContentStripFacetFilterComponent.prototype.baseUrl;
13505
+ /** @type {?} */
13506
+ ContentStripFacetFilterComponent.prototype.veifiedKarmayogi;
13507
+ /** @type {?} */
13508
+ ContentStripFacetFilterComponent.prototype.environment;
13509
+ /** @type {?} */
13510
+ ContentStripFacetFilterComponent.prototype.changeEventSubscription;
13511
+ /** @type {?} */
13512
+ ContentStripFacetFilterComponent.prototype.defaultMaxWidgets;
13513
+ /** @type {?} */
13514
+ ContentStripFacetFilterComponent.prototype.enrollInterval;
13515
+ /** @type {?} */
13516
+ ContentStripFacetFilterComponent.prototype.todaysEvents;
13517
+ /** @type {?} */
13518
+ ContentStripFacetFilterComponent.prototype.enrollmentMapData;
13519
+ /** @type {?} */
13520
+ ContentStripFacetFilterComponent.prototype.facetForm;
13521
+ /**
13522
+ * @type {?}
13523
+ * @private
13524
+ */
13525
+ ContentStripFacetFilterComponent.prototype.contentSvc;
13526
+ /**
13527
+ * @type {?}
13528
+ * @private
13529
+ */
13530
+ ContentStripFacetFilterComponent.prototype.loggerSvc;
13531
+ /**
13532
+ * @type {?}
13533
+ * @private
13534
+ */
13535
+ ContentStripFacetFilterComponent.prototype.eventSvc;
13536
+ /**
13537
+ * @type {?}
13538
+ * @private
13539
+ */
13540
+ ContentStripFacetFilterComponent.prototype.configSvc;
13541
+ /** @type {?} */
13542
+ ContentStripFacetFilterComponent.prototype.utilitySvc;
13543
+ /** @type {?} */
13544
+ ContentStripFacetFilterComponent.prototype.router;
13545
+ /**
13546
+ * @type {?}
13547
+ * @private
13548
+ */
13549
+ ContentStripFacetFilterComponent.prototype.userSvc;
13550
+ /**
13551
+ * @type {?}
13552
+ * @private
13553
+ */
13554
+ ContentStripFacetFilterComponent.prototype.translate;
13555
+ /**
13556
+ * @type {?}
13557
+ * @private
13558
+ */
13559
+ ContentStripFacetFilterComponent.prototype.langtranslations;
13560
+ /**
13561
+ * @type {?}
13562
+ * @private
13563
+ */
13564
+ ContentStripFacetFilterComponent.prototype._fb;
13565
+ }
13566
+
12129
13567
  /**
12130
13568
  * @fileoverview added by tsickle
12131
13569
  * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
@@ -12133,58 +13571,58 @@ const WIDGET_REGISTRATION_LIB_CONFIG = [
12133
13571
  /**
12134
13572
  * @record
12135
13573
  */
12136
- function IStripUnitContentData$1() { }
13574
+ function IStripUnitContentData$2() { }
12137
13575
  if (false) {
12138
13576
  /** @type {?} */
12139
- IStripUnitContentData$1.prototype.key;
13577
+ IStripUnitContentData$2.prototype.key;
12140
13578
  /** @type {?} */
12141
- IStripUnitContentData$1.prototype.canHideStrip;
13579
+ IStripUnitContentData$2.prototype.canHideStrip;
12142
13580
  /** @type {?|undefined} */
12143
- IStripUnitContentData$1.prototype.mode;
13581
+ IStripUnitContentData$2.prototype.mode;
12144
13582
  /** @type {?} */
12145
- IStripUnitContentData$1.prototype.showStrip;
13583
+ IStripUnitContentData$2.prototype.showStrip;
12146
13584
  /** @type {?} */
12147
- IStripUnitContentData$1.prototype.disableTranslate;
13585
+ IStripUnitContentData$2.prototype.disableTranslate;
12148
13586
  /** @type {?|undefined} */
12149
- IStripUnitContentData$1.prototype.widgets;
13587
+ IStripUnitContentData$2.prototype.widgets;
12150
13588
  /** @type {?} */
12151
- IStripUnitContentData$1.prototype.stripTitle;
13589
+ IStripUnitContentData$2.prototype.stripTitle;
12152
13590
  /** @type {?|undefined} */
12153
- IStripUnitContentData$1.prototype.stripTitleLink;
13591
+ IStripUnitContentData$2.prototype.stripTitleLink;
12154
13592
  /** @type {?|undefined} */
12155
- IStripUnitContentData$1.prototype.sliderConfig;
13593
+ IStripUnitContentData$2.prototype.sliderConfig;
12156
13594
  /** @type {?} */
12157
- IStripUnitContentData$1.prototype.stripConfig;
13595
+ IStripUnitContentData$2.prototype.stripConfig;
12158
13596
  /** @type {?|undefined} */
12159
- IStripUnitContentData$1.prototype.tabs;
13597
+ IStripUnitContentData$2.prototype.tabs;
12160
13598
  /** @type {?|undefined} */
12161
- IStripUnitContentData$1.prototype.stripName;
13599
+ IStripUnitContentData$2.prototype.stripName;
12162
13600
  /** @type {?|undefined} */
12163
- IStripUnitContentData$1.prototype.stripLogo;
13601
+ IStripUnitContentData$2.prototype.stripLogo;
12164
13602
  /** @type {?|undefined} */
12165
- IStripUnitContentData$1.prototype.description;
13603
+ IStripUnitContentData$2.prototype.description;
12166
13604
  /** @type {?|undefined} */
12167
- IStripUnitContentData$1.prototype.stripInfo;
13605
+ IStripUnitContentData$2.prototype.stripInfo;
12168
13606
  /** @type {?|undefined} */
12169
- IStripUnitContentData$1.prototype.noDataWidget;
13607
+ IStripUnitContentData$2.prototype.noDataWidget;
12170
13608
  /** @type {?|undefined} */
12171
- IStripUnitContentData$1.prototype.errorWidget;
13609
+ IStripUnitContentData$2.prototype.errorWidget;
12172
13610
  /** @type {?} */
12173
- IStripUnitContentData$1.prototype.showOnNoData;
13611
+ IStripUnitContentData$2.prototype.showOnNoData;
12174
13612
  /** @type {?} */
12175
- IStripUnitContentData$1.prototype.showOnLoader;
13613
+ IStripUnitContentData$2.prototype.showOnLoader;
12176
13614
  /** @type {?} */
12177
- IStripUnitContentData$1.prototype.showOnError;
13615
+ IStripUnitContentData$2.prototype.showOnError;
12178
13616
  /** @type {?|undefined} */
12179
- IStripUnitContentData$1.prototype.loaderWidgets;
13617
+ IStripUnitContentData$2.prototype.loaderWidgets;
12180
13618
  /** @type {?|undefined} */
12181
- IStripUnitContentData$1.prototype.stripBackground;
13619
+ IStripUnitContentData$2.prototype.stripBackground;
12182
13620
  /** @type {?|undefined} */
12183
- IStripUnitContentData$1.prototype.secondaryHeading;
13621
+ IStripUnitContentData$2.prototype.secondaryHeading;
12184
13622
  /** @type {?} */
12185
- IStripUnitContentData$1.prototype.viewMoreUrl;
13623
+ IStripUnitContentData$2.prototype.viewMoreUrl;
12186
13624
  /** @type {?|undefined} */
12187
- IStripUnitContentData$1.prototype.request;
13625
+ IStripUnitContentData$2.prototype.request;
12188
13626
  }
12189
13627
  class ContentStripWithTabsPillsComponent extends WidgetBaseComponent {
12190
13628
  /**
@@ -13783,6 +15221,59 @@ ContentStripWithTabsPillsModule.decorators = [
13783
15221
  },] }
13784
15222
  ];
13785
15223
 
15224
+ /**
15225
+ * @fileoverview added by tsickle
15226
+ * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
15227
+ */
15228
+ const ɵ0$6 = HttpLoaderFactory1;
15229
+ class ContentStripFacetFilterModule {
15230
+ }
15231
+ ContentStripFacetFilterModule.decorators = [
15232
+ { type: NgModule, args: [{
15233
+ declarations: [ContentStripFacetFilterComponent],
15234
+ imports: [
15235
+ SbUiResolverModule,
15236
+ CommonModule,
15237
+ RouterModule,
15238
+ HorizontalScrollerV2Module,
15239
+ MatProgressSpinnerModule,
15240
+ MatToolbarModule,
15241
+ MatIconModule,
15242
+ MatButtonModule,
15243
+ MatTooltipModule,
15244
+ MatListModule,
15245
+ MatSidenavModule,
15246
+ MatCardModule,
15247
+ MatExpansionModule,
15248
+ MatRadioModule,
15249
+ MatChipsModule,
15250
+ MatInputModule,
15251
+ MatFormFieldModule,
15252
+ MatDialogModule,
15253
+ MatSnackBarModule,
15254
+ MatSelectModule,
15255
+ MatDatepickerModule,
15256
+ MatNativeDateModule,
15257
+ MatTableModule,
15258
+ MatCheckboxModule,
15259
+ MatProgressSpinnerModule,
15260
+ MatButtonToggleModule,
15261
+ MatTabsModule,
15262
+ ReactiveFormsModule,
15263
+ MatAutocompleteModule,
15264
+ TranslateModule.forRoot({
15265
+ loader: {
15266
+ provide: TranslateLoader,
15267
+ useFactory: ɵ0$6,
15268
+ deps: [HttpClient],
15269
+ },
15270
+ }),
15271
+ ],
15272
+ entryComponents: [ContentStripFacetFilterComponent],
15273
+ exports: [ContentStripFacetFilterComponent],
15274
+ },] }
15275
+ ];
15276
+
13786
15277
  /**
13787
15278
  * @fileoverview added by tsickle
13788
15279
  * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
@@ -14935,7 +16426,7 @@ CompetencyPassbookMdoModule.decorators = [
14935
16426
  */
14936
16427
  /** @type {?} */
14937
16428
  const PROXY_SLAG_V8 = '/apis/proxies/v8';
14938
- const ɵ0$6 = /**
16429
+ const ɵ0$7 = /**
14939
16430
  * @param {?} contentId
14940
16431
  * @param {?} contentType
14941
16432
  * @param {?} userId
@@ -14954,7 +16445,7 @@ const ɵ0$6 = /**
14954
16445
  (contentId, userID) => `${PROXY_SLAG_V8}/ratings/v1/read/${contentId}/Course/${userID}`;
14955
16446
  /** @type {?} */
14956
16447
  const API_END_POINTS$3 = {
14957
- GET_RATING: (ɵ0$6),
16448
+ GET_RATING: (ɵ0$7),
14958
16449
  ADD_OR_UPDATE: `${PROXY_SLAG_V8}/ratings/v1/upsert`,
14959
16450
  GET_RATING_SUMMARY: (ɵ1$3),
14960
16451
  GET_RATING_LOOKUP: `${PROXY_SLAG_V8}/ratings/v1/ratingLookUp`,
@@ -15588,7 +17079,7 @@ if (false) {
15588
17079
  * @fileoverview added by tsickle
15589
17080
  * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
15590
17081
  */
15591
- const ɵ0$7 = HttpLoaderFactory;
17082
+ const ɵ0$8 = HttpLoaderFactory;
15592
17083
  class MDOChannelModule {
15593
17084
  }
15594
17085
  MDOChannelModule.decorators = [
@@ -15613,7 +17104,7 @@ MDOChannelModule.decorators = [
15613
17104
  TranslateModule.forRoot({
15614
17105
  loader: {
15615
17106
  provide: TranslateLoader,
15616
- useFactory: ɵ0$7,
17107
+ useFactory: ɵ0$8,
15617
17108
  deps: [HttpClient],
15618
17109
  },
15619
17110
  }),
@@ -15893,7 +17384,7 @@ if (false) {
15893
17384
  * @fileoverview added by tsickle
15894
17385
  * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
15895
17386
  */
15896
- const ɵ0$8 = HttpLoaderFactory;
17387
+ const ɵ0$9 = HttpLoaderFactory;
15897
17388
  class ProvidersModule {
15898
17389
  }
15899
17390
  ProvidersModule.decorators = [
@@ -15917,7 +17408,7 @@ ProvidersModule.decorators = [
15917
17408
  TranslateModule.forRoot({
15918
17409
  loader: {
15919
17410
  provide: TranslateLoader,
15920
- useFactory: ɵ0$8,
17411
+ useFactory: ɵ0$9,
15921
17412
  deps: [HttpClient],
15922
17413
  },
15923
17414
  }),
@@ -16022,7 +17513,7 @@ class NationalLearningComponent {
16022
17513
  NationalLearningComponent.decorators = [
16023
17514
  { type: Component, args: [{
16024
17515
  selector: 'sb-uic-national-learning',
16025
- template: "<div class=\"container-fluid white-background nlm-micro-sites micro-white\" id=\"nlm-micro-sites\">\n <div class=\"flex flex-col flex-1\">\n <ng-container *ngIf=\"sectionList?.length\">\n <ng-container *ngFor=\"let section of sectionList\">\n <ng-container *ngIf=\"section?.enabled\">\n <section id=\"{{section?.key}}\" class=\"w-full grid grid-cols-12 gap-4\" [ngClass]=\"{'container': section.wrapperClass}\">\n <ng-container *ngFor=\"let column of section.column\">\n <div id=\"{{column?.key}}\" class=\"col-span-{{column.colspan || 12}} \">\n <ng-container *ngIf=\"column?.enabled\" [ngSwitch]=\"column?.key\">\n <ng-container *ngSwitchCase=\"'topSection'\" [ngTemplateOutlet]=\"topSection\"\n [ngTemplateOutletContext]=\"{data: column?.data}\"></ng-container>\n <ng-container *ngSwitchCase=\"'contentSection'\" [ngTemplateOutlet]=\"contentSection\"\n [ngTemplateOutletContext]=\"{data: column?.data}\"></ng-container>\n </ng-container>\n </div>\n </ng-container>\n </section>\n </ng-container>\n </ng-container>\n </ng-container>\n </div>\n</div>\n\n<ng-template #topSection let-data=\"data\">\n <!-- top section desktop layout -->\n <div class=\"w-full topSection\">\n <div *ngIf=\"data.sliderData && data.sliderData.sliders\">\n <sb-uic-sliders [widgetData]=\"data.sliderData.sliders\" [styleData]=\"data.sliderData.styleData\" ></sb-uic-sliders>\n </div>\n <div *ngIf=\"data && data.metrics\">\n <div class=\"block md:hidden\">\n <sb-uic-data-points\n [providerId]=\"providerId\"\n [fetchDataFromApi]=\"true\"\n [objectData]=\"data?.metrics?.data\"\n [layoutType]=\"'nlwCol'\"\n [title]=\"data?.metrics?.title\"\n [pageLayout]=\"'nlw'\">\n </sb-uic-data-points>\n </div>\n <div class=\"hidden md:block\">\n <sb-uic-data-points\n [providerId]=\"providerId\"\n [fetchDataFromApi]=\"true\"\n [objectData]=\"data?.metrics?.data\"\n [layoutType]=\"'nlwRow'\"\n [title]=\"data?.metrics?.title\"\n [pageLayout]=\"'nlw'\">\n </sb-uic-data-points>\n </div>\n </div>\n\n <div class=\"col-span-12\">\n <div class=\"flex items-center justify-center\">\n <div class=\"container\">\n <div class=\"block md:hidden\">\n <sb-uic-key-highlights (emptyResponse)=\"hideKeyHightlight($event, data.keyHighlights)\" [formData]=\"data.keyHighlights\" [providerId]=\"providerId\" [mode]=\"'mobile'\"></sb-uic-key-highlights>\n </div>\n </div>\n </div>\n </div>\n\n <div class=\"col-span-12\">\n <div class=\"flex items-center justify-center\">\n <div class=\"container\">\n <div class=\"hidden md:block\">\n <div class=\"flex flex items-center justify-center gap-10\">\n <div class=\"mr-4 logo-box-container\">\n <div class=\"flex logo-box-rounded top mr-4\">\n <img alt=\"Application Logo\" class=\"logo-img\" [src]=\"data?.imageUrl\">\n </div>\n </div>\n <div class=\"w-full md:w-9/12 flex-1 flex flex-col pr-3\">\n <div class=\" txt-ellipsis-2 break-words description-title\">{{data?.title}}</div>\n <div class=\"description\">{{data?.description | slice:0:descriptionMaxLength}}\n <span *ngIf=\"data?.description?.length > descriptionMaxLength\">...</span>\n </div>\n </div>\n </div>\n </div>\n <div class=\"block md:hidden\">\n <div class=\"flex flex-col items-center justify-center margin-bottom-xl px-5\">\n <div class=\"mlogo-box-rounded\">\n <img alt=\"Application Logo\" class=\"logo-img\" [src]=\"data?.imageUrl\">\n </div>\n </div>\n <div class=\"flex flex-col px-5\">\n <div class=\" txt-ellipsis-2 break-words description-title\">{{data?.title}}</div>\n <div class=\"mdescription\">{{data?.description | slice:0:descriptionMaxLength}}\n <span *ngIf=\"data?.description?.length > descriptionMaxLength\">...</span>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"col-span-12\">\n <div class=\"flex items-center justify-center\">\n <div class=\"container margin-top-xl\">\n <div class=\"hidden md:block\">\n <sb-uic-key-highlights (emptyResponse)=\"hideKeyHightlight($event, data.keyHighlights)\" [formData]=\"data.keyHighlights\" [providerId]=\"providerId\" [mode]=\"'desktop'\"></sb-uic-key-highlights>\n </div>\n </div>\n </div>\n </div>\n </div>\n</ng-template>\n\n\n\n<ng-template #contentSection let-data=\"data\">\n <div class=\"flex items-center justify-center\">\n <div class=\"container\">\n <div class=\"grid grid-cols-12 gap-4 mb-6\">\n <div class=\"col-span-12 md:col-span-{{data.leftContent.colspan}}\">\n <div *ngIf=\"data.leftContent.data.weekHighlights.data\">\n <sb-uic-highlights-of-week\n [objectData]=\"data.leftContent.data.weekHighlights.data\">\n </sb-uic-highlights-of-week>\n </div>\n <div class=\"hidden md:block\">\n <div *ngIf=\"data.leftContent.data.mandatoryCourse.enabled && data?.leftContent?.data?.mandatoryCourse?.column[0]?.data\">\n <div class=\"margin-top-l nlw-mandatoryCourse\">\n <sb-uic-content-strip-with-tabs\n [emitViewAll]=\"false\"\n (viewAllResponse)=\"''\"\n (telemtryResponse)=\"raiseTelemetryInteratEvent($event)\"\n (emptyResponse)=\"''\"\n [providerId]=\"'123456789'\"\n [widgetData]=\"data?.leftContent?.data?.mandatoryCourse?.column[0]?.data\"\n [channnelName]=\"'channnelName'\">\n </sb-uic-content-strip-with-tabs>\n </div>\n </div>\n </div>\n <div class=\"hidden md:block\">\n <div *ngIf=\"data.leftContent.data.events.enabled && data.leftContent.data.events.column[0]\">\n <sb-uic-events [object]=\"data.leftContent.data.events.column[0]\" [nwlEventsConfig]=\"nwlConfiguration\"></sb-uic-events>\n </div>\n </div>\n </div>\n <div class=\"col-span-12 md:col-span-{{data.rightContent.colspan}}\">\n <div *ngIf=\"data.rightContent.data.myprogress\">\n <sb-uic-user-progress\n [objectData]=\"data.rightContent.data.myprogress.data\" [rootOrgId]=\"configDetails?.unMappedUser?.rootOrgId\">\n </sb-uic-user-progress>\n </div>\n <div *ngIf=\"data.rightContent.data.speakerOftheDay\">\n <sb-uic-speakers\n [objectData]=\"data.rightContent.data.speakerOftheDay.data\">\n </sb-uic-speakers>\n </div>\n <div *ngIf=\"data.rightContent.data.mdoLeaderboard\">\n <sb-uic-mdo-leaderboard\n [object]=\"data.rightContent.data.mdoLeaderboard.data\"\n (tabClicked)=\"raiseTabClick($event)\"></sb-uic-mdo-leaderboard>\n </div>\n\n <div class=\"block md:hidden\">\n <div *ngIf=\"data.leftContent.data.mandatoryCourse.enabled && data?.leftContent?.data?.mandatoryCourse?.column[0]?.data\">\n <div class=\"margin-top-l nlw-mandatoryCourse\">\n <sb-uic-content-strip-with-tabs\n [emitViewAll]=\"false\"\n (viewAllResponse)=\"''\"\n (telemtryResponse)=\"raiseTelemetryInteratEvent($event)\"\n (emptyResponse)=\"''\"\n [providerId]=\"'123456789'\"\n [widgetData]=\"data?.leftContent?.data?.mandatoryCourse?.column[0]?.data\"\n [channnelName]=\"'channnelName'\">\n </sb-uic-content-strip-with-tabs>\n </div>\n </div>\n </div>\n\n <div class=\"block md:hidden px-4 md-px-0\">\n <div *ngIf=\"data.leftContent.data.events.enabled && data.leftContent.data.events.column[0]\">\n <sb-uic-events [object]=\"data.leftContent.data.events.column[0]\" [nwlEventsConfig]=\"nwlConfiguration\"></sb-uic-events>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n</ng-template>\n\n\n",
17516
+ template: "<div class=\"container-fluid white-background nlm-micro-sites micro-white\" id=\"nlm-micro-sites\">\n <div class=\"flex flex-col flex-1\">\n <ng-container *ngIf=\"sectionList?.length\">\n <ng-container *ngFor=\"let section of sectionList\">\n <ng-container *ngIf=\"section?.enabled\">\n <section id=\"{{section?.key}}\" class=\"w-full grid grid-cols-12 gap-4\" [ngClass]=\"{'container': section.wrapperClass}\">\n <ng-container *ngFor=\"let column of section.column\">\n <div id=\"{{column?.key}}\" class=\"col-span-{{column.colspan || 12}} \">\n <ng-container *ngIf=\"column?.enabled\" [ngSwitch]=\"column?.key\">\n <ng-container *ngSwitchCase=\"'topSection'\" [ngTemplateOutlet]=\"topSection\"\n [ngTemplateOutletContext]=\"{data: column?.data}\"></ng-container>\n <ng-container *ngSwitchCase=\"'contentSection'\" [ngTemplateOutlet]=\"contentSection\"\n [ngTemplateOutletContext]=\"{data: column?.data}\"></ng-container>\n </ng-container>\n </div>\n </ng-container>\n </section>\n </ng-container>\n </ng-container>\n </ng-container>\n </div>\n</div>\n\n<ng-template #topSection let-data=\"data\">\n <!-- top section desktop layout -->\n <div class=\"w-full topSection\">\n <div *ngIf=\"data.sliderData && data.sliderData.sliders\">\n <sb-uic-sliders [widgetData]=\"data.sliderData.sliders\" [styleData]=\"data.sliderData.styleData\" ></sb-uic-sliders>\n </div>\n <div *ngIf=\"data && data.metrics\">\n <div class=\"block md:hidden\">\n <sb-uic-data-points\n [providerId]=\"providerId\"\n [fetchDataFromApi]=\"true\"\n [objectData]=\"data?.metrics?.data\"\n [layoutType]=\"'nlwCol'\"\n [title]=\"data?.metrics?.title\"\n [pageLayout]=\"'nlw'\">\n </sb-uic-data-points>\n </div>\n <div class=\"hidden md:block\">\n <sb-uic-data-points\n [providerId]=\"providerId\"\n [fetchDataFromApi]=\"true\"\n [objectData]=\"data?.metrics?.data\"\n [layoutType]=\"'nlwRow'\"\n [title]=\"data?.metrics?.title\"\n [pageLayout]=\"'nlw'\">\n </sb-uic-data-points>\n </div>\n </div>\n\n <div class=\"col-span-12\">\n <div class=\"flex items-center justify-center\">\n <div class=\"container\">\n <div class=\"block md:hidden\">\n <sb-uic-key-highlights (emptyResponse)=\"hideKeyHightlight($event, data.keyHighlights)\" [formData]=\"data.keyHighlights\" [providerId]=\"providerId\" [mode]=\"'mobile'\"></sb-uic-key-highlights>\n </div>\n </div>\n </div>\n </div>\n\n <div class=\"col-span-12\">\n <div class=\"flex items-center justify-center\">\n <div class=\"container\">\n <div class=\"hidden md:block\">\n <div class=\"flex flex items-center justify-center gap-10\">\n <div class=\"mr-4 logo-box-container\">\n <div class=\"flex logo-box-rounded top mr-4\">\n <img alt=\"Application Logo\" class=\"logo-img\" [src]=\"data?.imageUrl\">\n </div>\n </div>\n <div class=\"w-full md:w-9/12 flex-1 flex flex-col pr-3\">\n <div class=\" txt-ellipsis-2 break-words description-title\">{{data?.title}}</div>\n <div class=\"description\">{{data?.description | slice:0:descriptionMaxLength}}\n <span *ngIf=\"data?.description?.length > descriptionMaxLength\">...</span>\n </div>\n </div>\n </div>\n </div>\n <div class=\"block md:hidden\">\n <div class=\"flex flex-col items-center justify-center margin-bottom-xl px-5\">\n <div class=\"mlogo-box-rounded\">\n <img alt=\"Application Logo\" class=\"logo-img\" [src]=\"data?.imageUrl\">\n </div>\n </div>\n <div class=\"flex flex-col px-5\">\n <div class=\" txt-ellipsis-2 break-words description-title\">{{data?.title}}</div>\n <div class=\"mdescription\">{{data?.description | slice:0:descriptionMaxLength}}\n <span *ngIf=\"data?.description?.length > descriptionMaxLength\">...</span>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"col-span-12\">\n <div class=\"flex items-center justify-center\">\n <div class=\"container margin-top-xl\">\n <div class=\"hidden md:block\">\n <sb-uic-key-highlights (emptyResponse)=\"hideKeyHightlight($event, data.keyHighlights)\" [formData]=\"data.keyHighlights\" [providerId]=\"providerId\" [mode]=\"'desktop'\"></sb-uic-key-highlights>\n </div>\n </div>\n </div>\n </div>\n </div>\n</ng-template>\n\n\n\n<ng-template #contentSection let-data=\"data\">\n <div class=\"flex items-center justify-center\">\n <div class=\"container\">\n <div class=\"grid grid-cols-12 gap-4 mb-6\">\n <div class=\"col-span-12 md:col-span-{{data.leftContent.colspan}}\">\n <div *ngIf=\"data.leftContent.data.weekHighlights.data\">\n <sb-uic-highlights-of-week\n [objectData]=\"data.leftContent.data.weekHighlights.data\">\n </sb-uic-highlights-of-week>\n </div>\n <div class=\"hidden md:block\">\n <div *ngIf=\"data.leftContent.data.mandatoryCourse.enabled && data?.leftContent?.data?.mandatoryCourse?.column[0]?.data\">\n <div class=\"margin-top-l nlw-mandatoryCourse\">\n <sb-uic-content-strip-with-tabs\n [emitViewAll]=\"false\"\n (viewAllResponse)=\"''\"\n (telemtryResponse)=\"raiseTelemetryInteratEvent($event)\"\n (emptyResponse)=\"''\"\n [providerId]=\"'123456789'\"\n [widgetData]=\"data?.leftContent?.data?.mandatoryCourse?.column[0]?.data\"\n [channnelName]=\"'channnelName'\">\n </sb-uic-content-strip-with-tabs>\n </div>\n </div>\n </div>\n\n <div class=\"hidden md:block\">\n <div *ngIf=\"data?.leftContent?.data?.exploreLearningContent?.strips[0]\">\n <sb-uic-content-strip-facet-filter [widgetData]=\"data?.leftContent?.data?.exploreLearningContent\"></sb-uic-content-strip-facet-filter>\n </div>\n </div>\n <div class=\"hidden md:block\">\n <div *ngIf=\"data.leftContent.data.events.enabled && data.leftContent.data.events.column[0]\">\n <sb-uic-events [object]=\"data.leftContent.data.events.column[0]\" [nwlEventsConfig]=\"nwlConfiguration\"></sb-uic-events>\n </div>\n </div>\n </div>\n <div class=\"col-span-12 md:col-span-{{data.rightContent.colspan}}\">\n <div *ngIf=\"data.rightContent.data.myprogress\">\n <sb-uic-user-progress\n [objectData]=\"data.rightContent.data.myprogress.data\" [rootOrgId]=\"configDetails?.unMappedUser?.rootOrgId\">\n </sb-uic-user-progress>\n </div>\n <div *ngIf=\"data.rightContent.data.speakerOftheDay\">\n <sb-uic-speakers\n [objectData]=\"data.rightContent.data.speakerOftheDay.data\">\n </sb-uic-speakers>\n </div>\n <div *ngIf=\"data.rightContent.data.mdoLeaderboard\">\n <sb-uic-mdo-leaderboard\n [object]=\"data.rightContent.data.mdoLeaderboard.data\"\n (tabClicked)=\"raiseTabClick($event)\"></sb-uic-mdo-leaderboard>\n </div>\n\n <div class=\"block md:hidden\">\n <div *ngIf=\"data.leftContent.data.mandatoryCourse.enabled && data?.leftContent?.data?.mandatoryCourse?.column[0]?.data\">\n <div class=\"margin-top-l nlw-mandatoryCourse\">\n <sb-uic-content-strip-with-tabs\n [emitViewAll]=\"false\"\n (viewAllResponse)=\"''\"\n (telemtryResponse)=\"raiseTelemetryInteratEvent($event)\"\n (emptyResponse)=\"''\"\n [providerId]=\"'123456789'\"\n [widgetData]=\"data?.leftContent?.data?.mandatoryCourse?.column[0]?.data\"\n [channnelName]=\"'channnelName'\">\n </sb-uic-content-strip-with-tabs>\n </div>\n </div>\n </div>\n <div class=\"block md:hidden px-4 md-px-0\">\n <div *ngIf=\"data?.leftContent?.data?.exploreLearningContent?.strips[0]\">\n <sb-uic-content-strip-facet-filter [widgetData]=\"data?.leftContent?.data?.exploreLearningContent\"></sb-uic-content-strip-facet-filter>\n </div>\n </div>\n <div class=\"block md:hidden px-4 md-px-0\">\n <div *ngIf=\"data.leftContent.data.events.enabled && data.leftContent.data.events.column[0]\">\n <sb-uic-events [object]=\"data.leftContent.data.events.column[0]\" [nwlEventsConfig]=\"nwlConfiguration\"></sb-uic-events>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n</ng-template>\n\n\n",
16026
17517
  styles: ["::ng-deep.mat-app-background{background-color:#fff!important}.nlw-mandatoryCourse ::ng-deep.capitalize{font-size:20px;line-height:24.38px}.nlm-micro-sites ::ng-deep.container{max-width:1200px!important}.nlm-micro-sites ::ng-deep.banner-container{padding-bottom:0!important}.topSection ::ng-deep.prev{margin-left:15px!important}.topSection ::ng-deep.next{margin-right:15px!important}.topSection .stats-header{display:flex;align-items:center;justify-content:center;position:absolute;left:43.5%;top:-20px;text-transform:capitalize}.topSection .stats-title{display:flex;align-items:center;justify-content:center;background-color:#f3962f;padding:12px 16px;color:#fff;font-family:Lato;font-size:14px;font-weight:700;line-height:16.8px;border-radius:35px}.topSection .my-arrow{font-size:12px}.topSection .less-opacity1{opacity:.75}.topSection .less-opacity2{opacity:.5}.topSection .details-wrapper{padding:16px;display:flex;gap:50px}.topSection .logo-box-container{width:180px;position:relative}@media only screen and (max-width:599px){.topSection .logo-box-container{width:112px;height:72px}}.topSection .logo-box-rounded{height:180px;width:180px;background:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 8px 0 rgba(0,0,0,.06)}.topSection .logo-box-rounded .logo-img{max-width:122px}@media only screen and (max-width:599px){.topSection .logo-box-rounded{width:112px;height:112px}.topSection .logo-box-rounded .logo-img{max-width:84px}}.topSection .mlogo-box-rounded{height:180px;width:180px;background:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;box-shadow:1px 1px 8px 3px rgba(0,0,0,.06)}.topSection .mlogo-box-rounded .logo-img{max-width:122px}@media only screen and (max-width:599px){.topSection .mlogo-box-rounded{width:112px;height:112px}.topSection .mlogo-box-rounded .logo-img{max-width:84px}}.topSection .txt-ellipsis-2{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.topSection .description-title{font-family:Montserrat;font-size:16px;font-weight:600;line-height:19.5px;text-align:left;padding-bottom:16px}.topSection .description{font-family:Lato;font-size:16px;font-weight:400;line-height:24px;text-align:left}.topSection .mdescription{font-family:Lato;font-size:14px;font-weight:400;line-height:16.8px;text-align:left}@media screen and (min-width:320px) and (max-width:769px){.topSection ::ng-deep.prev{margin-left:15px!important}.topSection ::ng-deep.next{margin-right:15px!important}.topSection ::ng-deep.banner-container{min-height:212px!important}}"]
16027
17518
  }] }
16028
17519
  ];
@@ -16279,7 +17770,7 @@ class EventsComponent {
16279
17770
  EventsComponent.decorators = [
16280
17771
  { type: Component, args: [{
16281
17772
  selector: 'sb-uic-events',
16282
- template: "<div class=\"flex items-center mb-4 mt-2 e-header\">\n <div class=\"event-title\">\n {{object?.title}}\n </div>\n <div class=\"events-select\">\n <select (change)=\"getEvents($event)\">\n <option value=\"{{d?.startDate}}\" *ngFor=\"let d of daysBetween\" [selected]=\"currentDay === d.startDate\">{{d?.diplayFormat}}</option>\n </select>\n </div>\n</div>\n<div class=\"grid grid-cols-1 gap-4\">\n <div class=\"events-card-wrapper\">\n <div *ngIf=\"!loader\">\n <div *ngIf=\"events?.length > 0\">\n <div *ngFor=\"let event of events\">\n <sb-uic-event-card [objectData]=\"object\" [eventDetails]=\"event\" [loader]=\"loader\"></sb-uic-event-card>\n </div>\n </div>\n <div *ngIf=\"events?.length === 0\">\n <div class=\"flex item-center justify-center p-5 no-events\">\n No events exist.\n </div>\n </div>\n </div>\n <div *ngIf=\"loader && events?.length === 0\">\n <div *ngFor=\"let event of [1,2,3]\">\n <sb-uic-event-card [objectData]=\"object\" [eventDetails]=\"event\" [loader]=\"loader\"></sb-uic-event-card>\n </div>\n </div>\n </div>\n</div>",
17773
+ template: "<div class=\"flex items-center mb-4 mt-2 e-header\">\n <div class=\"event-title\">\n {{object?.title}}\n </div>\n <div class=\"flex gap-4\">\n <div class=\"events-select\">\n <select (change)=\"getEvents($event)\">\n <option value=\"{{d?.startDate}}\" *ngFor=\"let d of daysBetween\" [selected]=\"currentDay === d.startDate\">{{d?.diplayFormat}}</option>\n </select>\n </div>\n <div class=\"flex gap-4\">\n <a [routerLink]=\"'/app/event-hub/home'\" class=\"flex ws-mat-default-text items-center justify-center mat-body-1 cursor-pointer \">Show All <mat-icon>chevron_right</mat-icon></a>\n </div>\n </div>\n</div>\n<div class=\"grid grid-cols-1 gap-4\">\n <div class=\"events-card-wrapper\">\n <div *ngIf=\"!loader\">\n <div *ngIf=\"events?.length > 0\">\n <div *ngFor=\"let event of events\">\n <sb-uic-event-card [objectData]=\"object\" [eventDetails]=\"event\" [loader]=\"loader\"></sb-uic-event-card>\n </div>\n </div>\n <div *ngIf=\"events?.length === 0\">\n <div class=\"flex item-center justify-center p-5 no-events\">\n No events exist.\n </div>\n </div>\n </div>\n <div *ngIf=\"loader && events?.length === 0\">\n <div *ngFor=\"let event of [1,2,3]\">\n <sb-uic-event-card [objectData]=\"object\" [eventDetails]=\"event\" [loader]=\"loader\"></sb-uic-event-card>\n </div>\n </div>\n </div>\n</div>",
16283
17774
  styles: ["@charset \"UTF-8\";.e-header{justify-content:space-between}.event-title{font-family:Montserrat;font-size:20px;font-weight:600;line-height:24.38px;text-align:left}.events-select{position:relative;display:inline-block;width:150px}.events-select select{appearance:none;-webkit-appearance:none;-moz-appearance:none;background-color:#fff;border:1px solid #ccc;border-radius:25px;padding:10px 30px 10px 10px;font-size:16px;font-family:Arial,sans-serif;width:100%;height:100%;cursor:pointer}.events-select:after{content:\"\u25BC\";position:absolute;top:50%;right:10px;transform:translateY(-50%);pointer-events:none;font-size:14px;color:#555}.no-events{border:1px solid #c3c3c3;border-radius:12px}"]
16284
17775
  }] }
16285
17776
  ];
@@ -16402,6 +17893,7 @@ EventsModule.decorators = [
16402
17893
  CommonModule,
16403
17894
  RouterModule,
16404
17895
  SkeletonLoaderLibModule,
17896
+ MatIconModule
16405
17897
  ],
16406
17898
  exports: [EventsComponent, EventCardComponent]
16407
17899
  },] }
@@ -16872,17 +18364,18 @@ class UserProgressComponent {
16872
18364
  * @return {?}
16873
18365
  */
16874
18366
  getUserProgress() {
18367
+ debugger;
16875
18368
  this.insightSvc.fetchUserProgress().subscribe((/**
16876
18369
  * @param {?} res
16877
18370
  * @return {?}
16878
18371
  */
16879
18372
  (res) => {
16880
18373
  if (res && res.result && res.result.userLeaderBoard) {
16881
- this.userProgress = res.result.userLeaderBoard[0];
16882
- }
16883
- if (!this.userProgress.fullname && this.configSvc && this.configSvc.userProfile && this.configSvc.userProfile.firstName) {
16884
- this.userProgress['fullname'] = this.configSvc.userProfile.firstName;
16885
- this.userProgress['profile_image'] = this.configSvc.userProfile.profileImageUrl;
18374
+ this.userProgress = res.result.userLeaderBoard;
18375
+ if (!this.userProgress.fullname && this.configSvc && this.configSvc.userProfile && this.configSvc.userProfile.firstName) {
18376
+ this.userProgress['fullname'] = this.configSvc.userProfile.firstName;
18377
+ this.userProgress['profile_image'] = this.configSvc.userProfile.profileImageUrl;
18378
+ }
16886
18379
  }
16887
18380
  }), (/**
16888
18381
  * @param {?} error
@@ -17063,7 +18556,8 @@ NationalLearningModule.decorators = [
17063
18556
  MdoLeaderboardModule,
17064
18557
  HighlightsOfWeekModule,
17065
18558
  SpeakersModule,
17066
- UserProgressModule
18559
+ UserProgressModule,
18560
+ ContentStripFacetFilterModule
17067
18561
  ],
17068
18562
  exports: [
17069
18563
  NationalLearningComponent,
@@ -17085,5 +18579,5 @@ NationalLearningModule.decorators = [
17085
18579
  * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
17086
18580
  */
17087
18581
 
17088
- export { AnnouncementsModule, CalenderModule, CardsModule, CbpPlanModule, CommonMethodsService, CommonStripModule, CompetencyPassbookMdoModule, CompetencyPassbookModule, ConsumptionComponent, ConsumptionModule, ConsumptionService, ContentProgressModule, ContentStripWithTabsLibModule, ContentStripWithTabsPillsModule, DataPointsModule, DialogComponentsModule, EventsModule, HighlightsOfWeekModule, HttpLoaderFactory, HttpLoaderFactory1, KeyHighlightsModule, MDOChannelModule, MdoLeaderboardModule, MyHammerConfig, NationalLearningModule, ProvidersModule, ROOT_WIDGET_CONFIG, SlidersLibModule, SpeakersModule, TopLearnersModule, UserContentRatingLibModule, UserProgressModule, WIDGET_REGISTERED_LIB_MODULES, WIDGET_REGISTRATION_LIB_CONFIG, WidgetContentService, ContentStripWithTabsLibComponent as ɵa, WidgetUserService as ɵb, CardResourceComponent as ɵba, CardsComponent as ɵbb, CardPortraitComponent as ɵbc, CardUserComponent as ɵbd, CardLandscapeComponent as ɵbe, CardWideComponent as ɵbf, CardMDOChannelComponent as ɵbg, CardWideV2Component as ɵbh, CardKarmaProgramsComponent as ɵbi, CardKarmaProgramsV2Component as ɵbj, ProviderCardComponent as ɵbk, CardPortraitExtComponent as ɵbl, CardAssessmentComponent as ɵbm, CardProgressPortraitLibComponent as ɵbn, CertificateService as ɵbo, CardMdoChannelV1Component as ɵbp, PipePublicURLModule as ɵbq, PipePublicURL as ɵbr, ObjectToArrayPipeModule as ɵbs, ObjectToArrayPipe as ɵbt, DisplayContentTypeLibModule as ɵbu, DisplayContentTypeLibComponent as ɵbv, DefaultThumbnailModule as ɵbw, DefaultThumbnailDirective as ɵbx, PipeDurationTransformModule as ɵby, PipeDurationTransformPipe as ɵbz, MultilingualTranslationsService as ɵc, ContentProgressComponent as ɵca, CertificateDialogComponent as ɵcb, AvatarPhotoLibModule as ɵcc, AvatarPhotoLibComponent as ɵcd, ContentStripWithTabsPillsComponent as ɵce, CompetencyPassbookComponent as ɵcf, CompetencyPassbookService as ɵcg, PillsModule as ɵch, PillsComponent as ɵci, CompetencyPassbookMdoComponent as ɵcj, CompetencyPassbookMdoService as ɵck, UserContentRatingLibComponent as ɵcl, RatingService as ɵcm, UserContentRatingLibService as ɵcn, MdoChannelV1Component as ɵco, MdoChannelV2Component as ɵcp, ProvidersV2Component as ɵcq, NationalLearningComponent as ɵcr, KeyHighlightsComponent as ɵcs, EventsComponent as ɵct, EventCardComponent as ɵcu, MdoLeaderboardComponent as ɵcv, HighlightsOfWeekComponent as ɵcw, SpeakersComponent as ɵcx, UserProgressComponent as ɵcy, ConfigurationsService as ɵd, HorizontalScrollerV2Module as ɵe, HorizontalScrollerV2Component as ɵf, SlidersLibComponent as ɵg, NavigationModule as ɵh, NavigationDirective as ɵi, ImageResponsiveModule as ɵj, ImageResponsiveDirective as ɵk, DataPointsComponent as ɵl, InsiteDataService as ɵm, SkeletonLoaderLibModule as ɵn, SkeletonLoaderLibComponent as ɵo, CalenderComponent as ɵp, CalenderDayComponent as ɵq, CommonStripComponent as ɵr, AnnouncementsComponent as ɵs, TopLearnersComponent as ɵt, CbpPlanComponent as ɵu, ScrollableItemDirective as ɵv, ScrollableItemModule as ɵw, MyHammerConfig$1 as ɵx, SlidersNgContentLibModule as ɵy, SlidersNgContentLibComponent as ɵz };
18582
+ export { AnnouncementsModule, CalenderModule, CardsModule, CbpPlanModule, CommonMethodsService, CommonStripModule, CompetencyPassbookMdoModule, CompetencyPassbookModule, ConsumptionComponent, ConsumptionModule, ConsumptionService, ContentProgressModule, ContentStripFacetFilterModule, ContentStripWithTabsLibModule, ContentStripWithTabsPillsModule, DataPointsModule, DialogComponentsModule, EventsModule, HighlightsOfWeekModule, HttpLoaderFactory, HttpLoaderFactory1, KeyHighlightsModule, MDOChannelModule, MdoLeaderboardModule, MyHammerConfig, NationalLearningModule, ProvidersModule, ROOT_WIDGET_CONFIG, SlidersLibModule, SpeakersModule, TopLearnersModule, UserContentRatingLibModule, UserProgressModule, WIDGET_REGISTERED_LIB_MODULES, WIDGET_REGISTRATION_LIB_CONFIG, WidgetContentService, ContentStripWithTabsLibComponent as ɵa, WidgetUserService as ɵb, CardResourceComponent as ɵba, CardsComponent as ɵbb, CardPortraitComponent as ɵbc, CardUserComponent as ɵbd, CardLandscapeComponent as ɵbe, CardWideComponent as ɵbf, CardMDOChannelComponent as ɵbg, CardWideV2Component as ɵbh, CardKarmaProgramsComponent as ɵbi, CardKarmaProgramsV2Component as ɵbj, ProviderCardComponent as ɵbk, CardPortraitExtComponent as ɵbl, CardAssessmentComponent as ɵbm, CardProgressPortraitLibComponent as ɵbn, CertificateService as ɵbo, CardMdoChannelV1Component as ɵbp, PipePublicURLModule as ɵbq, PipePublicURL as ɵbr, ObjectToArrayPipeModule as ɵbs, ObjectToArrayPipe as ɵbt, DisplayContentTypeLibModule as ɵbu, DisplayContentTypeLibComponent as ɵbv, DefaultThumbnailModule as ɵbw, DefaultThumbnailDirective as ɵbx, PipeDurationTransformModule as ɵby, PipeDurationTransformPipe as ɵbz, MultilingualTranslationsService as ɵc, ContentProgressComponent as ɵca, CertificateDialogComponent as ɵcb, AvatarPhotoLibModule as ɵcc, AvatarPhotoLibComponent as ɵcd, ContentStripFacetFilterComponent as ɵce, ContentStripWithTabsPillsComponent as ɵcf, CompetencyPassbookComponent as ɵcg, CompetencyPassbookService as ɵch, PillsModule as ɵci, PillsComponent as ɵcj, CompetencyPassbookMdoComponent as ɵck, CompetencyPassbookMdoService as ɵcl, UserContentRatingLibComponent as ɵcm, RatingService as ɵcn, UserContentRatingLibService as ɵco, MdoChannelV1Component as ɵcp, MdoChannelV2Component as ɵcq, ProvidersV2Component as ɵcr, NationalLearningComponent as ɵcs, KeyHighlightsComponent as ɵct, EventsComponent as ɵcu, EventCardComponent as ɵcv, MdoLeaderboardComponent as ɵcw, HighlightsOfWeekComponent as ɵcx, SpeakersComponent as ɵcy, UserProgressComponent as ɵcz, ConfigurationsService as ɵd, HorizontalScrollerV2Module as ɵe, HorizontalScrollerV2Component as ɵf, SlidersLibComponent as ɵg, NavigationModule as ɵh, NavigationDirective as ɵi, ImageResponsiveModule as ɵj, ImageResponsiveDirective as ɵk, DataPointsComponent as ɵl, InsiteDataService as ɵm, SkeletonLoaderLibModule as ɵn, SkeletonLoaderLibComponent as ɵo, CalenderComponent as ɵp, CalenderDayComponent as ɵq, CommonStripComponent as ɵr, AnnouncementsComponent as ɵs, TopLearnersComponent as ɵt, CbpPlanComponent as ɵu, ScrollableItemDirective as ɵv, ScrollableItemModule as ɵw, MyHammerConfig$1 as ɵx, SlidersNgContentLibModule as ɵy, SlidersNgContentLibComponent as ɵz };
17089
18583
  //# sourceMappingURL=sunbird-cb-consumption.js.map