@sunbird-cb/consumption 0.0.81 → 0.0.83

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 (87) hide show
  1. package/bundles/sunbird-cb-consumption.umd.js +1487 -66
  2. package/bundles/sunbird-cb-consumption.umd.js.map +1 -1
  3. package/bundles/sunbird-cb-consumption.umd.min.js +2 -2
  4. package/bundles/sunbird-cb-consumption.umd.min.js.map +1 -1
  5. package/esm2015/lib/_common/competency-passbook/competency-passbook.component.js +26 -20
  6. package/esm2015/lib/_common/competency-passbook/competency-passbook.service.js +8 -1
  7. package/esm2015/lib/_common/competency-passbook-mdo/competency-passbook-mdo.component.js +20 -11
  8. package/esm2015/lib/_common/competency-passbook-mdo/competency-passbook-mdo.service.js +8 -1
  9. package/esm2015/lib/_common/data-points/data-points.component.js +37 -5
  10. package/esm2015/lib/_common/events/event-card/event-card.component.js +82 -0
  11. package/esm2015/lib/_common/events/events.component.js +167 -0
  12. package/esm2015/lib/_common/events/events.module.js +24 -0
  13. package/esm2015/lib/_common/highlights-of-week/highlights-of-week.component.js +76 -0
  14. package/esm2015/lib/_common/highlights-of-week/highlights-of-week.module.js +28 -0
  15. package/esm2015/lib/_common/key-highlights/key-highlights.component.js +65 -0
  16. package/esm2015/lib/_common/key-highlights/key-highlights.module.js +28 -0
  17. package/esm2015/lib/_common/mdo-leaderboard/mdo-leaderboard.component.js +193 -0
  18. package/esm2015/lib/_common/mdo-leaderboard/mdo-leaderboard.module.js +30 -0
  19. package/esm2015/lib/_common/microsites/national-learning-week/national-learning/national-learning.component.js +131 -0
  20. package/esm2015/lib/_common/microsites/national-learning-week/national-learning.module.js +50 -0
  21. package/esm2015/lib/_common/sliders-ng-content/sliders-ng-content.component.js +7 -3
  22. package/esm2015/lib/_common/speakers/speakers.component.js +105 -0
  23. package/esm2015/lib/_common/speakers/speakers.module.js +28 -0
  24. package/esm2015/lib/_common/user-progress/user-progress.component.js +159 -0
  25. package/esm2015/lib/_common/user-progress/user-progress.module.js +28 -0
  26. package/esm2015/lib/_models/compentencies.model.js +25 -0
  27. package/esm2015/lib/_services/insite-data.service.js +41 -2
  28. package/esm2015/lib/consumption.module.js +1 -1
  29. package/esm2015/public-api.js +8 -1
  30. package/esm2015/sunbird-cb-consumption.js +10 -2
  31. package/esm5/lib/_common/competency-passbook/competency-passbook.component.js +52 -44
  32. package/esm5/lib/_common/competency-passbook/competency-passbook.service.js +11 -1
  33. package/esm5/lib/_common/competency-passbook-mdo/competency-passbook-mdo.component.js +19 -11
  34. package/esm5/lib/_common/competency-passbook-mdo/competency-passbook-mdo.service.js +11 -1
  35. package/esm5/lib/_common/data-points/data-points.component.js +41 -5
  36. package/esm5/lib/_common/events/event-card/event-card.component.js +92 -0
  37. package/esm5/lib/_common/events/events.component.js +181 -0
  38. package/esm5/lib/_common/events/events.module.js +28 -0
  39. package/esm5/lib/_common/highlights-of-week/highlights-of-week.component.js +89 -0
  40. package/esm5/lib/_common/highlights-of-week/highlights-of-week.module.js +32 -0
  41. package/esm5/lib/_common/key-highlights/key-highlights.component.js +74 -0
  42. package/esm5/lib/_common/key-highlights/key-highlights.module.js +32 -0
  43. package/esm5/lib/_common/mdo-leaderboard/mdo-leaderboard.component.js +221 -0
  44. package/esm5/lib/_common/mdo-leaderboard/mdo-leaderboard.module.js +34 -0
  45. package/esm5/lib/_common/microsites/national-learning-week/national-learning/national-learning.component.js +155 -0
  46. package/esm5/lib/_common/microsites/national-learning-week/national-learning.module.js +54 -0
  47. package/esm5/lib/_common/sliders-ng-content/sliders-ng-content.component.js +7 -3
  48. package/esm5/lib/_common/speakers/speakers.component.js +122 -0
  49. package/esm5/lib/_common/speakers/speakers.module.js +32 -0
  50. package/esm5/lib/_common/user-progress/user-progress.component.js +185 -0
  51. package/esm5/lib/_common/user-progress/user-progress.module.js +32 -0
  52. package/esm5/lib/_models/compentencies.model.js +25 -0
  53. package/esm5/lib/_services/insite-data.service.js +58 -2
  54. package/esm5/lib/consumption.module.js +1 -1
  55. package/esm5/public-api.js +8 -1
  56. package/esm5/sunbird-cb-consumption.js +10 -2
  57. package/fesm2015/sunbird-cb-consumption.js +1264 -38
  58. package/fesm2015/sunbird-cb-consumption.js.map +1 -1
  59. package/fesm5/sunbird-cb-consumption.js +1468 -62
  60. package/fesm5/sunbird-cb-consumption.js.map +1 -1
  61. package/lib/_common/competency-passbook/competency-passbook.component.d.ts +4 -1
  62. package/lib/_common/competency-passbook/competency-passbook.service.d.ts +1 -0
  63. package/lib/_common/competency-passbook-mdo/competency-passbook-mdo.component.d.ts +4 -1
  64. package/lib/_common/competency-passbook-mdo/competency-passbook-mdo.service.d.ts +1 -0
  65. package/lib/_common/data-points/data-points.component.d.ts +3 -0
  66. package/lib/_common/events/event-card/event-card.component.d.ts +13 -0
  67. package/lib/_common/events/events.component.d.ts +17 -0
  68. package/lib/_common/events/events.module.d.ts +2 -0
  69. package/lib/_common/highlights-of-week/highlights-of-week.component.d.ts +14 -0
  70. package/lib/_common/highlights-of-week/highlights-of-week.module.d.ts +2 -0
  71. package/lib/_common/key-highlights/key-highlights.component.d.ts +15 -0
  72. package/lib/_common/key-highlights/key-highlights.module.d.ts +2 -0
  73. package/lib/_common/mdo-leaderboard/mdo-leaderboard.component.d.ts +20 -0
  74. package/lib/_common/mdo-leaderboard/mdo-leaderboard.module.d.ts +2 -0
  75. package/lib/_common/microsites/national-learning-week/national-learning/national-learning.component.d.ts +20 -0
  76. package/lib/_common/microsites/national-learning-week/national-learning.module.d.ts +2 -0
  77. package/lib/_common/sliders-ng-content/sliders-ng-content.component.d.ts +1 -0
  78. package/lib/_common/speakers/speakers.component.d.ts +15 -0
  79. package/lib/_common/speakers/speakers.module.d.ts +2 -0
  80. package/lib/_common/user-progress/user-progress.component.d.ts +22 -0
  81. package/lib/_common/user-progress/user-progress.module.d.ts +2 -0
  82. package/lib/_models/compentencies.model.d.ts +9 -0
  83. package/lib/_services/insite-data.service.d.ts +5 -0
  84. package/package.json +2 -2
  85. package/public-api.d.ts +7 -0
  86. package/sunbird-cb-consumption.d.ts +8 -0
  87. package/sunbird-cb-consumption.metadata.json +1 -1
@@ -2,7 +2,7 @@
2
2
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('@angular/router'), require('rxjs'), require('rxjs/operators'), require('@sunbird-cb/utils-v2'), require('@angular/material'), require('@sunbird-cb/resolver-v2'), require('@angular/common/http'), require('lodash'), require('moment'), require('@ngx-translate/core'), require('rxjs/add/observable/of'), require('dayjs'), require('@ngx-translate/http-loader'), require('@angular/cdk/layout'), require('@angular/platform-browser'), require('hammerjs'), require('@angular/forms'), require('jspdf')) :
3
3
  typeof define === 'function' && define.amd ? define('@sunbird-cb/consumption', ['exports', '@angular/core', '@angular/common', '@angular/router', 'rxjs', 'rxjs/operators', '@sunbird-cb/utils-v2', '@angular/material', '@sunbird-cb/resolver-v2', '@angular/common/http', 'lodash', 'moment', '@ngx-translate/core', 'rxjs/add/observable/of', 'dayjs', '@ngx-translate/http-loader', '@angular/cdk/layout', '@angular/platform-browser', 'hammerjs', '@angular/forms', 'jspdf'], factory) :
4
4
  (global = global || self, factory((global['sunbird-cb'] = global['sunbird-cb'] || {}, global['sunbird-cb'].consumption = {}), global.ng.core, global.ng.common, global.ng.router, global.rxjs, global.rxjs.operators, global['@sunbird-cb/utils-v2'], global.ng.material, global['@sunbird-cb/resolver-v2'], global.ng.common.http, global.lodash, global.moment, global.core$1, global.rxjs['add/observable/of'], global.dayjs_, global.httpLoader, global.ng.cdk.layout, global.ng.platformBrowser, global.hammerjs, global.ng.forms, global.jspdf));
5
- }(this, (function (exports, core, common, router, rxjs, operators, utilsV2, material, resolverV2, http, lodash, moment$2, core$1, of, dayjs_, httpLoader, layout, platformBrowser, Hammer, forms, jspdf) { 'use strict';
5
+ }(this, (function (exports, core, common, router, rxjs, operators, utilsV2, material, resolverV2, http, lodash, moment$4, core$1, of, dayjs_, httpLoader, layout, platformBrowser, Hammer, forms, jspdf) { 'use strict';
6
6
 
7
7
  Hammer = Hammer && Hammer.hasOwnProperty('default') ? Hammer['default'] : Hammer;
8
8
 
@@ -1683,7 +1683,7 @@
1683
1683
  * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1684
1684
  */
1685
1685
  /** @type {?} */
1686
- var moment = moment$2;
1686
+ var moment = moment$4;
1687
1687
  // tslint:enable
1688
1688
  // TODO: move this in some common place
1689
1689
  /** @type {?} */
@@ -7398,7 +7398,12 @@
7398
7398
  PROVIDER_INSIGHTS: "/apis/proxies/v8/microsite/read/insights",
7399
7399
  TRAINING_DETAILS: "apis/proxies/v8/sunbirdigot/search",
7400
7400
  ANNOUNCEMENTS_DETAILS: "apis/proxies/v8/announcements/v1/search",
7401
- LEARNERS: "apis/proxies/v8/halloffame/top/learners"
7401
+ LEARNERS: "apis/proxies/v8/halloffame/top/learners",
7402
+ LEADERBOARD: 'apis/proxies/v8/halloffame/v1/mdoleaderboard',
7403
+ LEADERBOARD_USERS: "apis/proxies/v8/halloffame/v1/userleaderboard",
7404
+ NLW_LEADERBOARD: "apis/proxies/v8/national/learning/week/insights",
7405
+ INSIGHTS: "apis/proxies/v8/read/user/insights",
7406
+ USER_PROGRESS: "apis/proxies/v8/halloffame/v1/userleaderboard",
7402
7407
  };
7403
7408
  var InsiteDataService = /** @class */ (function () {
7404
7409
  function InsiteDataService(http) {
@@ -7448,6 +7453,57 @@
7448
7453
  function (channelId) {
7449
7454
  return this.http.get(API_END_POINTS$2.LEARNERS + "/" + channelId);
7450
7455
  };
7456
+ /**
7457
+ * @return {?}
7458
+ */
7459
+ InsiteDataService.prototype.fetchLeaderboard = /**
7460
+ * @return {?}
7461
+ */
7462
+ function () {
7463
+ return this.http.get("" + API_END_POINTS$2.LEADERBOARD);
7464
+ };
7465
+ /**
7466
+ * @param {?} orgId
7467
+ * @return {?}
7468
+ */
7469
+ InsiteDataService.prototype.fetchMdoUsers = /**
7470
+ * @param {?} orgId
7471
+ * @return {?}
7472
+ */
7473
+ function (orgId) {
7474
+ return this.http.get(API_END_POINTS$2.LEADERBOARD_USERS + "/" + orgId);
7475
+ };
7476
+ /**
7477
+ * @return {?}
7478
+ */
7479
+ InsiteDataService.prototype.fetchNwlStats = /**
7480
+ * @return {?}
7481
+ */
7482
+ function () {
7483
+ return this.http.get("" + API_END_POINTS$2.NLW_LEADERBOARD);
7484
+ };
7485
+ /**
7486
+ * @param {?} payload
7487
+ * @return {?}
7488
+ */
7489
+ InsiteDataService.prototype.fetchInsightsData = /**
7490
+ * @param {?} payload
7491
+ * @return {?}
7492
+ */
7493
+ function (payload) {
7494
+ /** @type {?} */
7495
+ var result = this.http.post(API_END_POINTS$2.INSIGHTS, payload);
7496
+ return result;
7497
+ };
7498
+ /**
7499
+ * @return {?}
7500
+ */
7501
+ InsiteDataService.prototype.fetchUserProgress = /**
7502
+ * @return {?}
7503
+ */
7504
+ function () {
7505
+ return this.http.get("" + API_END_POINTS$2.USER_PROGRESS);
7506
+ };
7451
7507
  InsiteDataService.decorators = [
7452
7508
  { type: core.Injectable, args: [{
7453
7509
  providedIn: 'root'
@@ -7494,7 +7550,12 @@
7494
7550
  }
7495
7551
  if (this.fetchDataFromApi) {
7496
7552
  this.isDataLoading = true;
7497
- this.getInsiteData();
7553
+ if (this.pageLayout === 'nlw') {
7554
+ this.getStats();
7555
+ }
7556
+ else {
7557
+ this.getInsiteData();
7558
+ }
7498
7559
  }
7499
7560
  };
7500
7561
  /**
@@ -7563,6 +7624,32 @@
7563
7624
  _this.isDataLoading = false;
7564
7625
  }));
7565
7626
  };
7627
+ /**
7628
+ * @return {?}
7629
+ */
7630
+ DataPointsComponent.prototype.getStats = /**
7631
+ * @return {?}
7632
+ */
7633
+ function () {
7634
+ var _this = this;
7635
+ this.insightSvc.fetchNwlStats().subscribe((/**
7636
+ * @param {?} res
7637
+ * @return {?}
7638
+ */
7639
+ function (res) {
7640
+ if (res && res.result && res.result.data) {
7641
+ _this.objectData = res.result.data;
7642
+ }
7643
+ _this.isDataLoading = false;
7644
+ }), (/**
7645
+ * @param {?} error
7646
+ * @return {?}
7647
+ */
7648
+ function (error) {
7649
+ console.log(error);
7650
+ _this.isDataLoading = false;
7651
+ }));
7652
+ };
7566
7653
  /**
7567
7654
  * @param {?} value
7568
7655
  * @return {?}
@@ -7593,8 +7680,8 @@
7593
7680
  DataPointsComponent.decorators = [
7594
7681
  { type: core.Component, args: [{
7595
7682
  selector: 'sb-uic-data-points',
7596
- template: "<div class=\"w-full metrics-web\" *ngIf=\"layoutType === 'multipleRows' && !isDataLoading\">\n <div *ngFor=\"let obj of objectData; let last = last\" class=\"\">\n <div class=\"element-div\" [ngClass]=\"{'linebreak': obj?.linebreak && !last}\">\n <div class=\"flex flex-row gap-3 items-top\">\n <div>\n <img class=\"objIcon\" [src]=\"obj.icon\" [style.color]=\"obj?.iconColor\">\n </div>\n <div>\n <div [style.color]=\"obj?.valueColor\" class=\"objHeader pb-1\" *ngIf=\"!(obj && obj.value)\">0</div>\n <div [style.color]=\"obj?.valueColor\" class=\"objHeader pb-1\" *ngIf=\"(obj && obj.value)\">\n {{obj.value | number: obj.value % 1 === 0 ? '1.0-0' : '1.1-2'}}\n </div>\n <div [style.color]=\"obj?.labelColor\" class=\"objDescription\">{{obj?.label}}</div>\n </div>\n </div>\n </div>\n </div>\n</div>\n\n<div class=\"w-full pl-5 margin-top-l\" *ngIf=\"layoutType === 'multipleRows-V2' && !isDataLoading\">\n <!-- <div class=\"logodiv margin-bottom-s\">\n <img alt=\"Application Logo\" class=\"logoimg\" src=\"/assets/instances/eagle/app_logos/KarmayogiBharat_Logo_Horizontal.svg\">\n </div> -->\n <div *ngFor=\"let obj of objectData; let i = index\">\n <div class=\"flex flex-row gap-3 {{(i+1 === objectData.length ? '' : 'pb-5')}}\">\n <div class=\"v2-icons-div\">\n <div class=\"v2-icon-contaier\"\n [style.background]=\"obj?.iconBackgroupColorV2\"\n [style.borderColor]=\"obj?.valueColorV2\">\n <img class=\"v2-objIcon\" [src]=\"obj.icon\" />\n </div>\n </div>\n <div class=\"v2-content-div\">\n <div class=\"flex flex-col\">\n <div class=\"v2-value\" [style.color]=\"obj?.valueColorV2\" *ngIf=\"!(obj && obj?.value)\">0</div>\n <div class=\"v2-value\" [style.color]=\"obj?.valueColorV2\">\n {{converToIndianSystem(obj?.value)}}\n </div>\n <div class=\"v2-label\" [style.color]=\"obj?.labelColorV2\">\n {{obj?.label}}\n </div>\n <div class=\"flex flex-row dot-container\" *ngIf=\"i+1 !== objectData?.length\">\n <div class=\"v2-dot\"\n [style.background]=\"obj?.valueColorV2\"\n [style.borderColor]=\"obj?.labelColorV2\"></div>\n <div class=\"v2-border\" [style.background]=\"obj?.labelColorV2\"></div>\n </div>\n </div>\n </div>\n </div>\n </div>\n</div>\n\n<div class=\"w-full\" *ngIf=\"layoutType === 'singleRow-v2' && !isDataLoading\">\n <div class=\"flex gap-4\">\n <div *ngFor=\"let obj of objectData\" class=\"flex-container\">\n <div class=\"melement-div flex-item\" [style.background]=\"obj?.backgroundV2\" >\n <div class=\"flex flex-row gap-3\">\n <div class=\"mob-image-container-v2\" [style.borderColor]=\"obj?.valueColorV2\">\n <img [style.color]=\"obj?.iconColor\" class=\"mobjIcon-v2\" [src]=\"obj.icon\">\n </div>\n <div>\n <div [style.color]=\"obj?.valueColorMobV2\" class=\"mobjHeader pb-1\" *ngIf=\"!(obj && obj.value)\">0</div>\n <div [style.color]=\"obj?.valueColorMobV2\" class=\"mobjHeader pb-1\" *ngIf=\"(obj && obj.value)\">\n {{converToIndianSystem(obj?.value)}}\n </div>\n <div [style.color]=\"obj?.labelColorV2\" class=\"mobjDescription\">{{obj?.label}}</div>\n </div>\n </div>\n </div>\n </div>\n </div>\n</div>\n\n<div class=\"w-full\" *ngIf=\"layoutType === 'singleRow' && !isDataLoading\">\n <div class=\"flex gap-4\">\n <div *ngFor=\"let obj of objectData\" class=\"flex-container\">\n <div class=\"melement-div {{obj?.background}} flex-item\" [style.background]=\"obj?.background\" >\n <div class=\"flex flex-row gap-3\">\n <div>\n <img [style.color]=\"obj?.iconColor\" class=\"mobjIcon\" [src]=\"obj.icon\">\n </div>\n <div>\n <div [style.color]=\"obj?.valueColor\" class=\"mobjHeader pb-1\" *ngIf=\"!(obj && obj.value)\">0</div>\n <div [style.color]=\"obj?.valueColor\" class=\"mobjHeader pb-1\" *ngIf=\"(obj && obj.value)\">\n {{obj?.value | number: obj.value % 1 === 0 ? '1.0-0' : '1.1-2'}}\n </div>\n <div [style.color]=\"obj?.labelColor\" class=\"mobjDescription\">{{obj?.label}}</div>\n </div>\n </div>\n </div>\n </div>\n </div> \n</div>\n\n<div class=\"w-full\" *ngIf=\"layoutType === 'gridLayout'\">\n <div class=\"w-full\" *ngIf=\"layoutType === 'gridLayout'\">\n <div class=\"top-container\">\n <div class=\"flex-container\" *ngFor=\"let chunk of customArray\">\n <div *ngFor=\"let item of chunk\">\n <div class=\"flex-item\">\n <div class=\"flex flex-row gap-5 infra-element-div\">\n <div>\n <div [style.color]=\"item?.valueColor\" class=\"infra-objHeader\" *ngIf=\"!(item && item.value)\">0</div>\n <div [style.color]=\"item?.valueColor\" class=\"infra-objHeader\" *ngIf=\"(item && item.value)\">\n {{item?.value | number: item.value % 1 === 0 ? '1.0-0' : '1.1-2'}}\n </div>\n <div [style.color]=\"item?.labelColor\" class=\"custom-opacity infra-objDescription padding-top-s\">{{item?.label}}</div>\n </div>\n </div>\n </div>\n </div>\n\n </div>\n </div>\n </div> \n</div>\n\n<div class=\"w-full\" *ngIf=\"layoutType === 'singleFlexeRow' && !isDataLoading\">\n <div class=\"flex space-around\">\n <div *ngFor=\"let obj of objectData\" class=\"flex-container\">\n <div class=\"singleFlexeRow-div singleFlexeRow flex-item\">\n <div class=\"flex flex-row gap-3\">\n <div>\n <img [style.color]=\"obj?.iconColor\" class=\"singleFlexeRowIcon\" [src]=\"obj.icon\">\n </div>\n <div class=\"flex flex-col\">\n <div [style.color]=\"obj?.valueColor\" class=\"singleFlexeRowHeader pb-2\" *ngIf=\"!(obj && obj.value)\">0</div>\n <div [style.color]=\"obj?.valueColor\" class=\"singleFlexeRowHeader pb-2\" *ngIf=\"(obj && obj.value)\">\n {{converToIndianSystem(obj?.value)}}\n </div>\n <div [style.color]=\"obj?.labelColor\" class=\"singleFlexeRowDescription\">{{obj?.label}}</div>\n </div>\n </div>\n </div>\n </div>\n </div>\n</div>\n\n<!-- skeleton loaders -->\n\n<ng-container>\n <div class=\"w-full metrics-web customdiv\" *ngIf=\"layoutType === 'multipleRows-V2' && isDataLoading\">\n <div *ngFor=\"let obj of [1,2,3,4]l let i = index\">\n <div class=\"flex flex-row gap-4 {{(i+1 === objectData.length ? '' : 'pb-5')}}\">\n <div class=\"v2-icons-div\">\n <div class=\"v2-icon-contaier\">\n <sb-uic-skeleton-loader [bindingClass]=\"'flex rounded objIcon'\" [width]=\"'55px'\"\n [height]=\"'55px'\"></sb-uic-skeleton-loader>\n </div>\n </div>\n <div class=\"v2-content-div\">\n <div class=\"flex flex-col\">\n <div class=\"v2-value\" [style.color]=\"obj?.valueColor\">\n <sb-uic-skeleton-loader [bindingClass]=\"'flex rounded mb-1'\" [width]=\"'100px'\"\n [height]=\"'24px'\"></sb-uic-skeleton-loader>\n </div>\n <div class=\"v2-label\" [style.color]=\"obj?.labelColor\">\n <sb-uic-skeleton-loader [bindingClass]=\"'flex rounded mb-1'\" [width]=\"'100px'\"\n [height]=\"'16px'\"></sb-uic-skeleton-loader>\n </div>\n </div>\n </div>\n </div> \n </div>\n </div>\n</ng-container>\n\n<ng-container>\n <div class=\"w-full metrics-web customdiv\" *ngIf=\"layoutType === 'multipleRows' && isDataLoading\">\n <div *ngFor=\"let obj of [0,1,2,3]\" class=\"\">\n <div class=\"element-div linebreak\" >\n <div class=\"flex flex-row gap-3 items-top\">\n <div>\n <sb-uic-skeleton-loader [bindingClass]=\"'flex rounded objIcon'\" [width]=\"'32px'\"\n [height]=\"'32px'\"></sb-uic-skeleton-loader>\n </div>\n <div>\n <sb-uic-skeleton-loader [bindingClass]=\"'flex rounded mb-1'\" [width]=\"'100px'\"\n [height]=\"'24px'\"></sb-uic-skeleton-loader>\n <sb-uic-skeleton-loader [bindingClass]=\"'flex rounded mb-1'\" [width]=\"'150px'\"\n [height]=\"'24px'\"></sb-uic-skeleton-loader>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"w-full metrics-web\" *ngIf=\"layoutType === 'singleFlexeRow' && isDataLoading\">\n <div class=\"flex\">\n <div *ngFor=\"let obj of objectData\" class=\"flex-container\">\n <div class=\"singleFlexeRow-div flex-item\">\n <div class=\"flex flex-row gap-3\">\n <div>\n <sb-uic-skeleton-loader [bindingClass]=\"'flex rounded objIcon'\" [width]=\"'24px'\" [height]=\"'24px'\">\n </sb-uic-skeleton-loader>\n </div>\n <div class=\"flex flex-col\">\n <div [style.color]=\"obj?.valueColor\" class=\"singleFlexeRowHeader pb-2\" *ngIf=\"!(obj && obj.value)\">\n <sb-uic-skeleton-loader [bindingClass]=\"'flex rounded objIcon'\" [width]=\"'24px'\" [height]=\"'24px'\">\n </sb-uic-skeleton-loader>\n </div>\n <div [style.color]=\"obj?.valueColor\" class=\"singleFlexeRowHeader pb-2\" *ngIf=\"(obj && obj.value)\">\n <sb-uic-skeleton-loader [bindingClass]=\"'flex rounded objIcon'\" [width]=\"'24px'\" [height]=\"'24px'\">\n </sb-uic-skeleton-loader>\n </div>\n <div [style.color]=\"obj?.labelColor\" class=\"singleFlexeRowDescription\">\n <sb-uic-skeleton-loader [bindingClass]=\"'flex rounded objIcon'\" [width]=\"'100px'\" [height]=\"'20px'\">\n </sb-uic-skeleton-loader>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"w-full\" *ngIf=\"layoutType === 'singleRow' && isDataLoading\">\n <div class=\"flex gap-4\">\n <div *ngFor=\"let obj of objectData\" class=\"flex-container\">\n <div class=\"melement-div {{obj?.background}} flex-item\" [style.background]=\"obj?.background\" >\n <div class=\"flex flex-row gap-3\">\n <div>\n <sb-uic-skeleton-loader [bindingClass]=\"'flex rounded objIcon'\" [width]=\"'24px'\" [height]=\"'20px'\">\n </sb-uic-skeleton-loader>\n </div>\n <div>\n <div [style.color]=\"obj?.valueColor\" class=\"mobjHeader pb-1\" *ngIf=\"!(obj && obj.value)\">\n <sb-uic-skeleton-loader [bindingClass]=\"'flex rounded objIcon'\" [width]=\"'24px'\" [height]=\"'19px'\">\n </sb-uic-skeleton-loader>\n </div>\n <div [style.color]=\"obj?.valueColor\" class=\"mobjHeader pb-1\" *ngIf=\"(obj && obj.value)\">\n <sb-uic-skeleton-loader [bindingClass]=\"'flex rounded objIcon'\" [width]=\"'24px'\" [height]=\"'19px'\">\n </sb-uic-skeleton-loader>\n </div>\n <div [style.color]=\"obj?.labelColor\" class=\"mobjDescription\">\n <sb-uic-skeleton-loader [bindingClass]=\"'flex rounded objIcon'\" [width]=\"'100px'\" [height]=\"'18px'\">\n </sb-uic-skeleton-loader>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n\n <div class=\"w-full\" *ngIf=\"layoutType === 'singleRow-v2' && isDataLoading\">\n <div class=\"flex gap-4\">\n <div *ngFor=\"let obj of objectData\" class=\"flex-container\">\n <div class=\"melement-div flex-item\" [style.background]=\"obj?.backgroundV2\" >\n <div class=\"flex flex-row gap-3\">\n <div>\n <sb-uic-skeleton-loader [bindingClass]=\"'flex rounded objIcon'\" [width]=\"'24px'\" [height]=\"'24px'\">\n </sb-uic-skeleton-loader>\n </div>\n <div>\n <div [style.color]=\"obj?.valueColor\" class=\"mobjHeader pb-1\" *ngIf=\"!(obj && obj.value)\">\n <sb-uic-skeleton-loader [bindingClass]=\"'flex rounded objIcon'\" [width]=\"'24px'\" [height]=\"'19px'\">\n </sb-uic-skeleton-loader>\n </div>\n <div [style.color]=\"obj?.valueColor\" class=\"mobjHeader pb-1\" *ngIf=\"(obj && obj.value)\">\n <sb-uic-skeleton-loader [bindingClass]=\"'flex rounded objIcon'\" [width]=\"'24px'\" [height]=\"'19px'\">\n </sb-uic-skeleton-loader>\n </div>\n <div [style.color]=\"obj?.labelColor\" class=\"mobjDescription\">\n <sb-uic-skeleton-loader [bindingClass]=\"'flex rounded objIcon'\" [width]=\"'100px'\" [height]=\"'18px'\">\n </sb-uic-skeleton-loader>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n</ng-container>\n",
7597
- styles: ["@font-face{font-family:Poppins;src:url(https://cdn.jsdelivr.net/fontsource/fonts/poppins@latest/latin-400-normal.woff2) format('woff2'),url(https://cdn.jsdelivr.net/fontsource/fonts/poppins@latest/latin-400-normal.woff) format('woff')}.mob-image-container-v2{height:28px;width:28px;background:#fff;display:flex;align-items:center;justify-content:center;border-radius:50%;border:1px solid #fff}.mobjIcon-v2{width:18px;height:18px}.v2-icon-contaier{height:45px;width:45px;border:1px solid #fff;border-radius:50%;align-items:center;display:flex;justify-content:center}.v2-value{font-family:Poppins;font-size:20px;font-weight:600;line-height:20px;text-align:left;padding-bottom:5px;padding-left:10px}.v2-label{font-family:Poppins;font-size:12px;font-weight:400;line-height:18px;text-align:left;padding-bottom:5px;padding-left:10px}.dot-container{align-items:center}.v2-dot{width:9px;height:9px;border:2px solid #fff;border-radius:50%}.v2-border{height:1px;width:182px}.white{color:#fff}.custom-opacity{opacity:.7}.black{color:#000}.objIcon{width:32px;height:32px}.mobjIcon{width:24px;height:24px}.objHeader{font-family:Montserrat;font-size:24px;font-weight:600;line-height:29.26px;text-align:left}.mobjHeader{font-family:Montserrat;font-size:16px;font-weight:600;line-height:19.5px;text-align:left}.objDescription{font-family:Lato;font-size:16px;font-weight:400;line-height:19.2px;text-align:left}.mobjDescription{font-family:Lato;font-size:14px;font-weight:400;line-height:16.8px;text-align:left}.metrics-web{height:inherit;overflow-y:auto}.element-div{padding:25px 0;margin:0 25px}.linebreak{border-bottom:1px solid rgba(0,0,0,.16)}.singleFlexeRow-flex-item{flex:0 0 auto;white-space:nowrap}.singleFlexeRow-div{padding:16px;border-radius:15px}.singleFlexeRowHeader{font-family:Montserrat;font-size:20px;font-weight:600;line-height:24.38px;text-align:left}.singleFlexeRowDescription{font-family:Lato;font-size:14px;font-weight:400;line-height:16.8px;text-align:left}.singleFlexeRowIcon{width:24px;height:24px}.melement-div{padding:16px;border-radius:15px;width:249px}.banner-metrics{background:linear-gradient(180deg,#f9cb97 -107.59%,#ef951e 110.74%)}.infra-element-div{min-width:325px;padding:25px 0;align-items:baseline}.infra-objIcon{width:32px;height:32px}.infra-objHeader{font-family:Montserrat;font-size:36px;font-weight:600;line-height:29.26px;text-align:left}.infra-objDescription{font-family:Lato;font-size:16px;font-weight:400;line-height:19.2px;text-align:left;width:230px;text-overflow:ellipsis;overflow:hidden}.flex-container{display:flex}.top-container{overflow-x:auto;width:100%}::-webkit-scrollbar{height:4px}::-webkit-scrollbar-track{border-radius:10px;background:#000}::-webkit-scrollbar-thumb{background:#cccc;border-radius:10px}.flex-item{flex:0 0 auto;white-space:nowrap;min-width:200px}.space-around{justify-content:space-evenly}@media screen and (min-width:768px) and (max-width:1023px){.v2-icon-contaier{height:25px;width:25px}.v2-objIcon{width:14px}.v2-value{font-size:14px!important;line-height:14px!important;padding-left:0!important}.v2-label{font-size:9px!important;line-height:9px!important;padding-left:0!important}.v2-dot{width:6px!important;height:6px!important;border:1px solid #fff!important}.v2-border{width:109px!important}}@media screen and (min-width:1023px) and (max-width:1280px){.customdiv{margin-left:6%;margin-top:.6em!important}.v2-icon-contaier{height:34px;width:34px}.v2-objIcon{width:20px}.v2-value{font-size:16px!important;line-height:16px!important;padding-left:0!important}.v2-label{font-size:10px!important;line-height:10px!important;padding-left:0!important}.v2-dot{width:8px!important;height:8px!important;border:1px solid #fff!important}.v2-border{width:122px!important}}@media screen and (max-width:768px){.infra-objIcon{width:24px;height:24px}.infra-objHeader{font-size:24px}.infra-element-div{min-width:250px;padding:15px 0 25px}}@media screen and (min-width:1280px){.customdiv{margin-left:24%}}@media screen and (min-width:1690px){.customdiv{margin-left:34%}}@media screen and (min-width:1904px){.customdiv{margin-left:44%}}.logodiv{background:#fff;width:150px;border-radius:45px;text-align:center;padding:8px 0 2px}.logoimg{width:114px}"]
7683
+ template: "<div class=\"w-full metrics-web\" *ngIf=\"layoutType === 'multipleRows' && !isDataLoading\">\n <div *ngFor=\"let obj of objectData; let last = last\" class=\"\">\n <div class=\"element-div\" [ngClass]=\"{'linebreak': obj?.linebreak && !last}\">\n <div class=\"flex flex-row gap-3 items-top\">\n <div>\n <img class=\"objIcon\" [src]=\"obj.icon\" [style.color]=\"obj?.iconColor\">\n </div>\n <div>\n <div [style.color]=\"obj?.valueColor\" class=\"objHeader pb-1\" *ngIf=\"!(obj && obj.value)\">0</div>\n <div [style.color]=\"obj?.valueColor\" class=\"objHeader pb-1\" *ngIf=\"(obj && obj.value)\">\n {{obj.value | number: obj.value % 1 === 0 ? '1.0-0' : '1.1-2'}}\n </div>\n <div [style.color]=\"obj?.labelColor\" class=\"objDescription\">{{obj?.label}}</div>\n </div>\n </div>\n </div>\n </div>\n</div>\n\n<div class=\"w-full pl-5 margin-top-l\" *ngIf=\"layoutType === 'multipleRows-V2' && !isDataLoading\">\n <!-- <div class=\"logodiv margin-bottom-s\">\n <img alt=\"Application Logo\" class=\"logoimg\" src=\"/assets/instances/eagle/app_logos/KarmayogiBharat_Logo_Horizontal.svg\">\n </div> -->\n <div *ngFor=\"let obj of objectData; let i = index\">\n <div class=\"flex flex-row gap-3 {{(i+1 === objectData.length ? '' : 'pb-5')}}\">\n <div class=\"v2-icons-div\">\n <div class=\"v2-icon-contaier\"\n [style.background]=\"obj?.iconBackgroupColorV2\"\n [style.borderColor]=\"obj?.valueColorV2\">\n <img class=\"v2-objIcon\" [src]=\"obj.icon\" />\n </div>\n </div>\n <div class=\"v2-content-div\">\n <div class=\"flex flex-col\">\n <div class=\"v2-value\" [style.color]=\"obj?.valueColorV2\" *ngIf=\"!(obj && obj?.value)\">0</div>\n <div class=\"v2-value\" [style.color]=\"obj?.valueColorV2\">\n {{converToIndianSystem(obj?.value)}}\n </div>\n <div class=\"v2-label\" [style.color]=\"obj?.labelColorV2\">\n {{obj?.label}}\n </div>\n <div class=\"flex flex-row dot-container\" *ngIf=\"i+1 !== objectData?.length\">\n <div class=\"v2-dot\"\n [style.background]=\"obj?.valueColorV2\"\n [style.borderColor]=\"obj?.labelColorV2\"></div>\n <div class=\"v2-border\" [style.background]=\"obj?.labelColorV2\"></div>\n </div>\n </div>\n </div>\n </div>\n </div>\n</div>\n\n<div class=\"w-full\" *ngIf=\"layoutType === 'singleRow-v2' && !isDataLoading\">\n <div class=\"flex gap-4\">\n <div *ngFor=\"let obj of objectData\" class=\"flex-container\">\n <div class=\"melement-div flex-item\" [style.background]=\"obj?.backgroundV2\" >\n <div class=\"flex flex-row gap-3\">\n <div class=\"mob-image-container-v2\" [style.borderColor]=\"obj?.valueColorV2\">\n <img [style.color]=\"obj?.iconColor\" class=\"mobjIcon-v2\" [src]=\"obj.icon\">\n </div>\n <div>\n <div [style.color]=\"obj?.valueColorMobV2\" class=\"mobjHeader pb-1\" *ngIf=\"!(obj && obj.value)\">0</div>\n <div [style.color]=\"obj?.valueColorMobV2\" class=\"mobjHeader pb-1\" *ngIf=\"(obj && obj.value)\">\n {{converToIndianSystem(obj?.value)}}\n </div>\n <div [style.color]=\"obj?.labelColorV2\" class=\"mobjDescription\">{{obj?.label}}</div>\n </div>\n </div>\n </div>\n </div>\n </div>\n</div>\n\n<div class=\"w-full\" *ngIf=\"layoutType === 'singleRow' && !isDataLoading\">\n <div class=\"flex gap-4\">\n <div *ngFor=\"let obj of objectData\" class=\"flex-container\">\n <div class=\"melement-div {{obj?.background}} flex-item\" [style.background]=\"obj?.background\" >\n <div class=\"flex flex-row gap-3\">\n <div>\n <img [style.color]=\"obj?.iconColor\" class=\"mobjIcon\" [src]=\"obj.icon\">\n </div>\n <div>\n <div [style.color]=\"obj?.valueColor\" class=\"mobjHeader pb-1\" *ngIf=\"!(obj && obj.value)\">0</div>\n <div [style.color]=\"obj?.valueColor\" class=\"mobjHeader pb-1\" *ngIf=\"(obj && obj.value)\">\n {{obj?.value | number: obj.value % 1 === 0 ? '1.0-0' : '1.1-2'}}\n </div>\n <div [style.color]=\"obj?.labelColor\" class=\"mobjDescription\">{{obj?.label}}</div>\n </div>\n </div>\n </div>\n </div>\n </div> \n</div>\n\n<div class=\"w-full\" *ngIf=\"layoutType === 'gridLayout'\">\n <div class=\"w-full\" *ngIf=\"layoutType === 'gridLayout'\">\n <div class=\"top-container\">\n <div class=\"flex-container\" *ngFor=\"let chunk of customArray\">\n <div *ngFor=\"let item of chunk\">\n <div class=\"flex-item\">\n <div class=\"flex flex-row gap-5 infra-element-div\">\n <div>\n <div [style.color]=\"item?.valueColor\" class=\"infra-objHeader\" *ngIf=\"!(item && item.value)\">0</div>\n <div [style.color]=\"item?.valueColor\" class=\"infra-objHeader\" *ngIf=\"(item && item.value)\">\n {{item?.value | number: item.value % 1 === 0 ? '1.0-0' : '1.1-2'}}\n </div>\n <div [style.color]=\"item?.labelColor\" class=\"custom-opacity infra-objDescription padding-top-s\">{{item?.label}}</div>\n </div>\n </div>\n </div>\n </div>\n\n </div>\n </div>\n </div> \n</div>\n\n<div class=\"w-full\" *ngIf=\"layoutType === 'singleFlexeRow' && !isDataLoading\">\n <div class=\"flex space-around\">\n <div *ngFor=\"let obj of objectData\" class=\"flex-container\">\n <div class=\"singleFlexeRow-div singleFlexeRow flex-item\">\n <div class=\"flex flex-row gap-3\">\n <div>\n <img [style.color]=\"obj?.iconColor\" class=\"singleFlexeRowIcon\" [src]=\"obj.icon\">\n </div>\n <div class=\"flex flex-col\">\n <div [style.color]=\"obj?.valueColor\" class=\"singleFlexeRowHeader pb-2\" *ngIf=\"!(obj && obj.value)\">0</div>\n <div [style.color]=\"obj?.valueColor\" class=\"singleFlexeRowHeader pb-2\" *ngIf=\"(obj && obj.value)\">\n {{converToIndianSystem(obj?.value)}}\n </div>\n <div [style.color]=\"obj?.labelColor\" class=\"singleFlexeRowDescription\">{{obj?.label}}</div>\n </div>\n </div>\n </div>\n </div>\n </div>\n</div>\n\n<div class=\"w-full\" *ngIf=\"pageLayout === 'nlw' && !isDataLoading\">\n <div class=\"stats-header\">\n <div class=\"flex items-center justify-center stats-title\">\n <span class=\"my-arrow\">&#10094;</span>\n <span class=\"my-arrow less-opacity1\">&#10094;</span>\n <span class=\"my-arrow less-opacity2\">&#10094;</span>\n <span class=\"px-4\">{{title}}</span>\n <span class=\"my-arrow less-opacity2\">&#10095;</span>\n <span class=\"my-arrow less-opacity1\">&#10095;</span>\n <span class=\"my-arrow\">&#10095;</span>\n </div>\n </div>\n <div class=\"nlw-status\" *ngIf=\"layoutType === 'nlwRow'\">\n <div class=\"flex space-around pt-5\">\n <div *ngFor=\"let obj of objectData; index as i\" class=\"flex-container\">\n <div class=\"nlw-div singleFlexeRow flex-item {{i === 0 ? '' : 'divider'}} \">\n <div class=\"flex flex-row gap-3\">\n <div>\n <img [style.color]=\"obj?.iconColor\" class=\"singleFlexeRowIcon\" [src]=\"obj.icon\">\n </div>\n <div class=\"flex flex-col\">\n <div [style.color]=\"obj?.valueColor\" class=\"singleFlexeRowHeader pb-2\" *ngIf=\"!(obj && obj.value)\">0</div>\n <div [style.color]=\"obj?.valueColor\" class=\"singleFlexeRowHeader pb-2\" *ngIf=\"(obj && obj.value)\">\n {{converToIndianSystem(obj?.value)}}\n </div>\n <div [style.color]=\"obj?.labelColor\" class=\"singleFlexeRowDescription\">{{obj?.label}}</div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"nlw-status-mob\" *ngIf=\"layoutType === 'nlwCol'\">\n <div *ngFor=\"let obj of objectData; index as i\" class=\"flex-container\">\n <div class=\"nlw-div singleFlexeRow flex-item {{i === 0 ? '' : 'divider'}} \">\n <div class=\"flex flex-row gap-3\">\n <div>\n <img [style.color]=\"obj?.iconColor\" class=\"singleFlexeRowIcon\" [src]=\"obj.icon\">\n </div>\n <div class=\"flex flex-col\">\n <div [style.color]=\"obj?.valueColor\" class=\"singleFlexeRowHeader pb-2\" *ngIf=\"!(obj && obj.value)\">0</div>\n <div [style.color]=\"obj?.valueColor\" class=\"singleFlexeRowHeader pb-2\" *ngIf=\"(obj && obj.value)\">\n {{converToIndianSystem(obj?.value)}}\n </div>\n <div [style.color]=\"obj?.labelColor\" class=\"singleFlexeRowDescription\">{{obj?.label}}</div>\n </div>\n </div>\n </div>\n </div>\n </div>\n</div>\n\n<!-- skeleton loaders -->\n\n<ng-container>\n <div class=\"w-full metrics-web customdiv\" *ngIf=\"layoutType === 'multipleRows-V2' && isDataLoading\">\n <div *ngFor=\"let obj of [1,2,3,4]l let i = index\">\n <div class=\"flex flex-row gap-4 {{(i+1 === objectData.length ? '' : 'pb-5')}}\">\n <div class=\"v2-icons-div\">\n <div class=\"v2-icon-contaier\">\n <sb-uic-skeleton-loader [bindingClass]=\"'flex rounded objIcon'\" [width]=\"'55px'\"\n [height]=\"'55px'\"></sb-uic-skeleton-loader>\n </div>\n </div>\n <div class=\"v2-content-div\">\n <div class=\"flex flex-col\">\n <div class=\"v2-value\" [style.color]=\"obj?.valueColor\">\n <sb-uic-skeleton-loader [bindingClass]=\"'flex rounded mb-1'\" [width]=\"'100px'\"\n [height]=\"'24px'\"></sb-uic-skeleton-loader>\n </div>\n <div class=\"v2-label\" [style.color]=\"obj?.labelColor\">\n <sb-uic-skeleton-loader [bindingClass]=\"'flex rounded mb-1'\" [width]=\"'100px'\"\n [height]=\"'16px'\"></sb-uic-skeleton-loader>\n </div>\n </div>\n </div>\n </div> \n </div>\n </div>\n</ng-container>\n\n<ng-container>\n <div class=\"w-full metrics-web customdiv\" *ngIf=\"layoutType === 'multipleRows' && isDataLoading\">\n <div *ngFor=\"let obj of [0,1,2,3]\" class=\"\">\n <div class=\"element-div linebreak\" >\n <div class=\"flex flex-row gap-3 items-top\">\n <div>\n <sb-uic-skeleton-loader [bindingClass]=\"'flex rounded objIcon'\" [width]=\"'32px'\"\n [height]=\"'32px'\"></sb-uic-skeleton-loader>\n </div>\n <div>\n <sb-uic-skeleton-loader [bindingClass]=\"'flex rounded mb-1'\" [width]=\"'100px'\"\n [height]=\"'24px'\"></sb-uic-skeleton-loader>\n <sb-uic-skeleton-loader [bindingClass]=\"'flex rounded mb-1'\" [width]=\"'150px'\"\n [height]=\"'24px'\"></sb-uic-skeleton-loader>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"w-full metrics-web\" *ngIf=\"layoutType === 'singleFlexeRow' && isDataLoading\">\n <div class=\"flex\">\n <div *ngFor=\"let obj of objectData\" class=\"flex-container\">\n <div class=\"singleFlexeRow-div flex-item\">\n <div class=\"flex flex-row gap-3\">\n <div>\n <sb-uic-skeleton-loader [bindingClass]=\"'flex rounded objIcon'\" [width]=\"'24px'\" [height]=\"'24px'\">\n </sb-uic-skeleton-loader>\n </div>\n <div class=\"flex flex-col\">\n <div [style.color]=\"obj?.valueColor\" class=\"singleFlexeRowHeader pb-2\" *ngIf=\"!(obj && obj.value)\">\n <sb-uic-skeleton-loader [bindingClass]=\"'flex rounded objIcon'\" [width]=\"'24px'\" [height]=\"'24px'\">\n </sb-uic-skeleton-loader>\n </div>\n <div [style.color]=\"obj?.valueColor\" class=\"singleFlexeRowHeader pb-2\" *ngIf=\"(obj && obj.value)\">\n <sb-uic-skeleton-loader [bindingClass]=\"'flex rounded objIcon'\" [width]=\"'24px'\" [height]=\"'24px'\">\n </sb-uic-skeleton-loader>\n </div>\n <div [style.color]=\"obj?.labelColor\" class=\"singleFlexeRowDescription\">\n <sb-uic-skeleton-loader [bindingClass]=\"'flex rounded objIcon'\" [width]=\"'100px'\" [height]=\"'20px'\">\n </sb-uic-skeleton-loader>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"w-full\" *ngIf=\"layoutType === 'singleRow' && isDataLoading\">\n <div class=\"flex gap-4\">\n <div *ngFor=\"let obj of objectData\" class=\"flex-container\">\n <div class=\"melement-div {{obj?.background}} flex-item\" [style.background]=\"obj?.background\" >\n <div class=\"flex flex-row gap-3\">\n <div>\n <sb-uic-skeleton-loader [bindingClass]=\"'flex rounded objIcon'\" [width]=\"'24px'\" [height]=\"'20px'\">\n </sb-uic-skeleton-loader>\n </div>\n <div>\n <div [style.color]=\"obj?.valueColor\" class=\"mobjHeader pb-1\" *ngIf=\"!(obj && obj.value)\">\n <sb-uic-skeleton-loader [bindingClass]=\"'flex rounded objIcon'\" [width]=\"'24px'\" [height]=\"'19px'\">\n </sb-uic-skeleton-loader>\n </div>\n <div [style.color]=\"obj?.valueColor\" class=\"mobjHeader pb-1\" *ngIf=\"(obj && obj.value)\">\n <sb-uic-skeleton-loader [bindingClass]=\"'flex rounded objIcon'\" [width]=\"'24px'\" [height]=\"'19px'\">\n </sb-uic-skeleton-loader>\n </div>\n <div [style.color]=\"obj?.labelColor\" class=\"mobjDescription\">\n <sb-uic-skeleton-loader [bindingClass]=\"'flex rounded objIcon'\" [width]=\"'100px'\" [height]=\"'18px'\">\n </sb-uic-skeleton-loader>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n\n <div class=\"w-full\" *ngIf=\"layoutType === 'singleRow-v2' && isDataLoading\">\n <div class=\"flex gap-4\">\n <div *ngFor=\"let obj of objectData\" class=\"flex-container\">\n <div class=\"melement-div flex-item\" [style.background]=\"obj?.backgroundV2\" >\n <div class=\"flex flex-row gap-3\">\n <div>\n <sb-uic-skeleton-loader [bindingClass]=\"'flex rounded objIcon'\" [width]=\"'24px'\" [height]=\"'24px'\">\n </sb-uic-skeleton-loader>\n </div>\n <div>\n <div [style.color]=\"obj?.valueColor\" class=\"mobjHeader pb-1\" *ngIf=\"!(obj && obj.value)\">\n <sb-uic-skeleton-loader [bindingClass]=\"'flex rounded objIcon'\" [width]=\"'24px'\" [height]=\"'19px'\">\n </sb-uic-skeleton-loader>\n </div>\n <div [style.color]=\"obj?.valueColor\" class=\"mobjHeader pb-1\" *ngIf=\"(obj && obj.value)\">\n <sb-uic-skeleton-loader [bindingClass]=\"'flex rounded objIcon'\" [width]=\"'24px'\" [height]=\"'19px'\">\n </sb-uic-skeleton-loader>\n </div>\n <div [style.color]=\"obj?.labelColor\" class=\"mobjDescription\">\n <sb-uic-skeleton-loader [bindingClass]=\"'flex rounded objIcon'\" [width]=\"'100px'\" [height]=\"'18px'\">\n </sb-uic-skeleton-loader>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n</ng-container>\n",
7684
+ styles: ["@font-face{font-family:Poppins;src:url(https://cdn.jsdelivr.net/fontsource/fonts/poppins@latest/latin-400-normal.woff2) format('woff2'),url(https://cdn.jsdelivr.net/fontsource/fonts/poppins@latest/latin-400-normal.woff) format('woff')}.stats-header{display:flex;align-items:center;justify-content:center}.stats-title{background-color:#f3962f;padding:12px 16px;color:#fff;font-family:Lato;font-size:14px;font-weight:700;line-height:16.8px;border-radius:35px;margin-top:-20px;z-index:90}.my-arrow{font-size:12px}.less-opacity1{opacity:.75}.less-opacity2{opacity:.5}.nlw-status{background:linear-gradient(173.01deg,#266eeb -5.09%,#133f8b 133.16%);margin-top:-22px}.nlw-status-mob{background:linear-gradient(173.01deg,#266eeb -5.09%,#133f8b 133.16%);margin-top:-22px;padding-top:32px}.nlw-div{padding:0 16px;margin:10px 0 16px}.divider{border-left:1.6px solid #a6a4a4}.mob-image-container-v2{height:28px;width:28px;background:#fff;display:flex;align-items:center;justify-content:center;border-radius:50%;border:1px solid #fff}.mobjIcon-v2{width:18px;height:18px}.v2-icon-contaier{height:45px;width:45px;border:1px solid #fff;border-radius:50%;align-items:center;display:flex;justify-content:center}.v2-value{font-family:Poppins;font-size:20px;font-weight:600;line-height:20px;text-align:left;padding-bottom:5px;padding-left:10px}.v2-label{font-family:Poppins;font-size:12px;font-weight:400;line-height:18px;text-align:left;padding-bottom:5px;padding-left:10px}.dot-container{align-items:center}.v2-dot{width:9px;height:9px;border:2px solid #fff;border-radius:50%}.v2-border{height:1px;width:182px}.white{color:#fff}.custom-opacity{opacity:.7}.black{color:#000}.objIcon{width:32px;height:32px}.mobjIcon{width:24px;height:24px}.objHeader{font-family:Montserrat;font-size:24px;font-weight:600;line-height:29.26px;text-align:left}.mobjHeader{font-family:Montserrat;font-size:16px;font-weight:600;line-height:19.5px;text-align:left}.objDescription{font-family:Lato;font-size:16px;font-weight:400;line-height:19.2px;text-align:left}.mobjDescription{font-family:Lato;font-size:14px;font-weight:400;line-height:16.8px;text-align:left}.metrics-web{height:inherit;overflow-y:auto}.element-div{padding:25px 0;margin:0 25px}.linebreak{border-bottom:1px solid rgba(0,0,0,.16)}.singleFlexeRow-flex-item{flex:0 0 auto;white-space:nowrap}.singleFlexeRow-div{padding:16px;border-radius:15px}.singleFlexeRowHeader{font-family:Montserrat;font-size:20px;font-weight:600;line-height:24.38px;text-align:left}.singleFlexeRowDescription{font-family:Lato;font-size:14px;font-weight:400;line-height:16.8px;text-align:left}.singleFlexeRowIcon{width:24px;height:24px}.melement-div{padding:16px;border-radius:15px;width:249px}.banner-metrics{background:linear-gradient(180deg,#f9cb97 -107.59%,#ef951e 110.74%)}.infra-element-div{min-width:325px;padding:25px 0;align-items:baseline}.infra-objIcon{width:32px;height:32px}.infra-objHeader{font-family:Montserrat;font-size:36px;font-weight:600;line-height:29.26px;text-align:left}.infra-objDescription{font-family:Lato;font-size:16px;font-weight:400;line-height:19.2px;text-align:left;width:230px;text-overflow:ellipsis;overflow:hidden}.flex-container{display:flex}.top-container{overflow-x:auto;width:100%}::-webkit-scrollbar{height:4px}::-webkit-scrollbar-track{border-radius:10px;background:#000}::-webkit-scrollbar-thumb{background:#cccc;border-radius:10px}.flex-item{flex:0 0 auto;white-space:nowrap;min-width:200px}.space-around{justify-content:space-evenly}@media screen and (min-width:768px) and (max-width:1023px){.v2-icon-contaier{height:25px;width:25px}.v2-objIcon{width:14px}.v2-value{font-size:14px!important;line-height:14px!important;padding-left:0!important}.v2-label{font-size:9px!important;line-height:9px!important;padding-left:0!important}.v2-dot{width:6px!important;height:6px!important;border:1px solid #fff!important}.v2-border{width:109px!important}}@media screen and (min-width:1023px) and (max-width:1280px){.customdiv{margin-left:6%;margin-top:.6em!important}.v2-icon-contaier{height:34px;width:34px}.v2-objIcon{width:20px}.v2-value{font-size:16px!important;line-height:16px!important;padding-left:0!important}.v2-label{font-size:10px!important;line-height:10px!important;padding-left:0!important}.v2-dot{width:8px!important;height:8px!important;border:1px solid #fff!important}.v2-border{width:122px!important}}@media screen and (max-width:768px){.infra-objIcon{width:24px;height:24px}.infra-objHeader{font-size:24px}.infra-element-div{min-width:250px;padding:15px 0 25px}}@media screen and (min-width:1280px){.customdiv{margin-left:24%}}@media screen and (min-width:1690px){.customdiv{margin-left:34%}}@media screen and (min-width:1904px){.customdiv{margin-left:44%}}.logodiv{background:#fff;width:150px;border-radius:45px;text-align:center;padding:8px 0 2px}.logoimg{width:114px}"]
7598
7685
  }] }
7599
7686
  ];
7600
7687
  /** @nocollapse */
@@ -7606,7 +7693,8 @@
7606
7693
  layoutType: [{ type: core.Input }],
7607
7694
  fetchDataFromApi: [{ type: core.Input }],
7608
7695
  providerId: [{ type: core.Input }],
7609
- pageLayout: [{ type: core.Input }]
7696
+ pageLayout: [{ type: core.Input }],
7697
+ title: [{ type: core.Input }]
7610
7698
  };
7611
7699
  return DataPointsComponent;
7612
7700
  }());
@@ -7622,10 +7710,14 @@
7622
7710
  /** @type {?} */
7623
7711
  DataPointsComponent.prototype.pageLayout;
7624
7712
  /** @type {?} */
7713
+ DataPointsComponent.prototype.title;
7714
+ /** @type {?} */
7625
7715
  DataPointsComponent.prototype.customArray;
7626
7716
  /** @type {?} */
7627
7717
  DataPointsComponent.prototype.isDataLoading;
7628
7718
  /** @type {?} */
7719
+ DataPointsComponent.prototype.apiResults;
7720
+ /** @type {?} */
7629
7721
  DataPointsComponent.prototype.insightSvc;
7630
7722
  }
7631
7723
 
@@ -9259,7 +9351,7 @@
9259
9351
  * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
9260
9352
  */
9261
9353
  /** @type {?} */
9262
- var moment$1 = moment$2;
9354
+ var moment$1 = moment$4;
9263
9355
  var TopLearnersComponent = /** @class */ (function () {
9264
9356
  function TopLearnersComponent(insightSvc) {
9265
9357
  this.insightSvc = insightSvc;
@@ -9679,6 +9771,7 @@
9679
9771
  _this.title = '';
9680
9772
  _this.loadNgContentData = false;
9681
9773
  _this.autoScroll = false;
9774
+ _this.customBanner = false;
9682
9775
  _this.currentIndexValue = new core.EventEmitter();
9683
9776
  _this.id = "banner_" + Math.random();
9684
9777
  _this.defaultMenuSubscribe = null;
@@ -9832,8 +9925,8 @@
9832
9925
  SlidersNgContentLibComponent.decorators = [
9833
9926
  { type: core.Component, args: [{
9834
9927
  selector: 'sb-uic-sliders-ng-content',
9835
- template: "<div class=\"banner-container {{isMobile? styleData?.responsive?.bannerMetaClass : styleData?.bannerMetaClass}}\" (swipeleft)=\"slideTo(currentIndex + 1)\" (swiperight)=\"slideTo(currentIndex - 1)\"\n *ngIf=\"widgetData?.length > 1\" [style.height]=\"isMobile? styleData?.responsive?.customHeight : styleData?.customHeight\"\n [ngStyle]=\"{'border-radius': styleData?.borderRadius || '12px'}\">\n <ng-container *ngIf=\"!loadNgContentData\">\n <a (click)=\"raiseTelemetry(widgetData[currentIndex].redirectUrl)\"\n [routerLink]=\" !isOpenInNewTab && widgetData[currentIndex].redirectUrl? widgetData[currentIndex].redirectUrl : null\" class=\"banner-overlay\"\n [ngClass]=\"{'cursor-auto': !widgetData[currentIndex].redirectUrl}\">\n <div class=\"banner WidgetInstanceId\" *ngFor=\"let slide of widgetData; let i = index\" [hidden]=\"i !== currentIndex\">\n <img i18n-alt alt=\"Page Banner\" [src]=\"slide.banners\" wsUtilsImageResponsive class=\"banner-image\" />\n </div>\n </a>\n <ng-container *ngIf=\"isMobile && styleData?.responsive?.dots !== 'hidden' || !isMobile && styleData?.dots !== 'hidden'\">\n <div class=\"banner-meta {{isMobile? styleData?.responsive?.bannerMetaAlign : styleData?.bannerMetaAlign}}\">\n <a [routerLink]=\" !isOpenInNewTab && widgetData[currentIndex].redirectUrl? widgetData[currentIndex].redirectUrl : null\" class=\"banner-title text-truncate\"\n *ngIf=\"widgetData[currentIndex].title\" [title]=\"widgetData[currentIndex].title\">\n {{ widgetData[currentIndex].title }}\n </a>\n <div class=\"dots-container\" *ngIf=\"widgetData?.length > 1\">\n <span class=\"dot\" [ngClass]=\"{ active: j === currentIndex }\" *ngFor=\"let slide of widgetData; let j = index\"\n (click)=\"slideTo(j)\"></span>\n </div>\n </div>\n </ng-container>\n </ng-container>\n <ng-container *ngIf=\"loadNgContentData\">\n <!-- <div class=\"banner WidgetInstanceId\" *ngFor=\"let slide of widgetData; let i = index\" [hidden]=\"i !== currentIndex\"> -->\n <ng-content select=\"[sliderbody]\"></ng-content>\n <!-- </div> -->\n <ng-container *ngIf=\"isMobile && styleData?.responsive?.dots !== 'hidden' || !isMobile && styleData?.dots !== 'hidden'\">\n <div class=\"banner-meta {{isMobile? styleData?.responsive?.bannerMetaAlign : styleData?.bannerMetaAlign}}\">\n <a [routerLink]=\" !isOpenInNewTab && widgetData[currentIndex].redirectUrl? widgetData[currentIndex].redirectUrl : null\" class=\"banner-title text-truncate\"\n *ngIf=\"widgetData[currentIndex].title\" [title]=\"widgetData[currentIndex].title\">\n {{ widgetData[currentIndex].title }}\n </a>\n <div class=\"dots-container\" *ngIf=\"widgetData?.length > 1\">\n <span class=\"dot\" [ngClass]=\"{ active: j === currentIndex }\" *ngFor=\"let slide of widgetData; let j = index\"\n (click)=\"slideTo(j)\"></span>\n <ng-content select=\"[sliderMeta]\"></ng-content>\n </div>\n </div>\n </ng-container>\n </ng-container>\n <div class=\"navigation {{isMobile? styleData?.responsive?.arrowsPlacement : styleData?.arrowsPlacement}}\" \n *ngIf=\"isMobile && styleData?.responsive?.navigationArrows !== 'hidden' || !isMobile && styleData?.navigationArrows !== 'hidden'\">\n <a *ngIf=\"widgetData?.length > 1\" role=\"button\" class=\"prev\" (click)=\"slideTo(currentIndex - 1)\">&#10094;</a>\n <a *ngIf=\"widgetData?.length > 1\" role=\"button\" class=\"next\" (click)=\"slideTo(currentIndex + 1)\">&#10095;</a>\n </div>\n</div>\n<div class=\"banner-container-solo margin-top-s\" *ngIf=\"widgetData?.length == 1\">\n <img i18n-alt alt=\"Page Banner\" width=\"100%\" height=\"100%\" [src]=\"widgetData[0].banners\" wsUtilsImageResponsive class=\"banner-image-solo\" />\n</div>\n\n<!-- <ng-container *ngIf=\"!widgetData?.length\">\n <div class=\"slider default-slider h-full\">\n <div class=\"relative h-full\">\n <img class=\"h-full\" src=\"assets/icons/home/default-slider-image.svg\" alt=\"\">\n <div class=\"default-title rounded-full\">\n <p class=\"mat-h1\">{{title}}</p>\n </div>\n </div>\n </div>\n</ng-container> -->\n",
9836
- styles: [".banner-container{min-height:243px;position:relative;margin:auto;padding-bottom:40px}.banner-container.inline-meta{padding-bottom:0!important}.banner-container.flat .banner .banner-image{border-radius:0!important}.banner-overlay{z-index:1;top:0;left:0;width:100%;height:100%;background:linear-gradient(to left,rgba(0,0,0,.25) 0,rgba(0,0,0,0) 15%,rgba(0,0,0,0) 85%,rgba(0,0,0,.25) 100%);border-radius:inherit}.banner{-webkit-animation-name:fade;-webkit-animation-duration:1.5s;animation-name:fade;animation-duration:1.5s;border-radius:inherit;height:inherit}.banner .banner-image{width:100%;min-height:243px;display:block;border-radius:inherit;height:inherit}.banner-meta{text-align:center;z-index:2;padding:8px 12px;position:absolute;bottom:0;left:50%;border-radius:12px;transform:translateX(-50%);box-sizing:border-box}.banner-meta.left{left:0;transform:translateX(0)}.banner-meta.right{left:100%;transform:translateX(-100%)}.banner-meta.top-center{left:0;bottom:100%;transform:translateX(-100%)}.banner-meta .banner-title{color:#f2f2f2;margin-bottom:8px;font-size:1.1rem}@media only screen and (max-width:599px){.banner-meta .banner-title{display:none}}.banner-meta .dots-container{padding:8px;display:flex;align-items:center;justify-content:center}.banner-meta .dots-container .dot{cursor:pointer;height:6px;width:6px;margin:0 4px;background-color:rgba(0,0,0,.4);border-radius:50%;display:inline-block;transition:background-color .5s!important}@media only screen and (max-width:599px){.banner-meta .dots-container .dot{height:8px;width:8px;margin:0 4px}}.banner-meta .dots-container .dot.active{border-radius:4px;background-color:#f3962f;width:16px}@keyframes fade{from{opacity:.25}to{opacity:1}}.next,.prev{cursor:pointer;position:absolute;top:50%;transform:translateY(-50%);color:#fff;font-weight:700;background-color:#1b2133!important;border-radius:50%;z-index:999;height:32px!important;width:32px!important;display:flex;align-items:center;margin-top:-16px;justify-content:center}.prev{left:0;margin-left:-16px}.next{right:0;margin-right:-16px}.navigation.bottom-right .prev{left:unset;right:45px;bottom:-15px;top:unset}.navigation.bottom-right .next{left:unset;right:15px;bottom:-15px;top:unset}.navigation.bottom-center .prev{left:calc(50% - 20px);right:unset;bottom:-15px;top:unset}.navigation.bottom-center .next{left:calc(50% + 20px);right:unset;bottom:-15px;top:unset}.navigation.bottom-left .prev{left:15px;right:unset;bottom:-15px;top:unset}.navigation.bottom-left .next{left:60px;right:unset;bottom:-15px;top:unset}.navigation.middle-inline .prev{left:30px}.navigation.middle-inline .next{right:30px}.banner-container-solo{overflow:hidden;margin:auto;border-radius:12px}.banner-image-solo{width:100%;display:block;border-radius:12px}.default-slider{height:100%;background:#d4e2fb}.default-slider .default-title{text-align:center;position:absolute;top:50%;left:0;right:0;margin:auto;transform:translateY(-50%);z-index:999;background:#e6efff;padding:32px;width:500px}.default-slider .default-title p{word-break:break-word;margin:0!important;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;text-transform:uppercase}@media screen and (max-width:768px){.default-slider{height:384px;width:100%}.default-slider .default-title{width:unset!important}}"]
9928
+ template: "<div class=\"{{customBanner ? 'keybanner' : 'banner-container'}} {{isMobile? styleData?.responsive?.bannerMetaClass : styleData?.bannerMetaClass}}\" (swipeleft)=\"slideTo(currentIndex + 1)\" (swiperight)=\"slideTo(currentIndex - 1)\"\n *ngIf=\"widgetData?.length > 1\" [style.height]=\"isMobile? styleData?.responsive?.customHeight : styleData?.customHeight\"\n [ngStyle]=\"{'border-radius': styleData?.borderRadius || '12px'}\">\n <ng-container *ngIf=\"!loadNgContentData\">\n <a (click)=\"raiseTelemetry(widgetData[currentIndex].redirectUrl)\"\n [routerLink]=\" !isOpenInNewTab && widgetData[currentIndex].redirectUrl? widgetData[currentIndex].redirectUrl : null\" class=\"banner-overlay\"\n [ngClass]=\"{'cursor-auto': !widgetData[currentIndex].redirectUrl}\">\n <div class=\"banner WidgetInstanceId\" *ngFor=\"let slide of widgetData; let i = index\" [hidden]=\"i !== currentIndex\">\n <img i18n-alt alt=\"Page Banner\" [src]=\"slide.banners\" wsUtilsImageResponsive class=\"banner-image\" />\n </div>\n </a>\n <ng-container *ngIf=\"isMobile && styleData?.responsive?.dots !== 'hidden' || !isMobile && styleData?.dots !== 'hidden'\">\n <div class=\"banner-meta {{isMobile? styleData?.responsive?.bannerMetaAlign : styleData?.bannerMetaAlign}}\">\n <a [routerLink]=\" !isOpenInNewTab && widgetData[currentIndex].redirectUrl? widgetData[currentIndex].redirectUrl : null\" class=\"banner-title text-truncate\"\n *ngIf=\"widgetData[currentIndex].title\" [title]=\"widgetData[currentIndex].title\">\n {{ widgetData[currentIndex].title }}\n </a>\n <div class=\"dots-container\" *ngIf=\"widgetData?.length > 1\">\n <span class=\"dot\" [ngClass]=\"{ active: j === currentIndex }\" *ngFor=\"let slide of widgetData; let j = index\"\n (click)=\"slideTo(j)\"></span>\n </div>\n </div>\n </ng-container>\n </ng-container>\n <ng-container *ngIf=\"loadNgContentData\">\n <!-- <div class=\"banner WidgetInstanceId\" *ngFor=\"let slide of widgetData; let i = index\" [hidden]=\"i !== currentIndex\"> -->\n <ng-content select=\"[sliderbody]\"></ng-content>\n <!-- </div> -->\n <ng-container *ngIf=\"isMobile && styleData?.responsive?.dots !== 'hidden' || !isMobile && styleData?.dots !== 'hidden'\">\n <div class=\"banner-meta {{isMobile? styleData?.responsive?.bannerMetaAlign : styleData?.bannerMetaAlign}}\">\n <a [routerLink]=\" !isOpenInNewTab && widgetData[currentIndex].redirectUrl? widgetData[currentIndex].redirectUrl : null\" class=\"banner-title text-truncate\"\n *ngIf=\"widgetData[currentIndex].title\" [title]=\"widgetData[currentIndex].title\">\n {{ widgetData[currentIndex].title }}\n </a>\n <div class=\"dots-container\" *ngIf=\"widgetData?.length > 1\">\n <span class=\"dot\" [ngClass]=\"{ active: j === currentIndex }\" *ngFor=\"let slide of widgetData; let j = index\"\n (click)=\"slideTo(j)\"></span>\n <ng-content select=\"[sliderMeta]\"></ng-content>\n </div>\n </div>\n </ng-container>\n </ng-container>\n <div class=\"navigation {{isMobile? styleData?.responsive?.arrowsPlacement : styleData?.arrowsPlacement}}\" \n *ngIf=\"isMobile && styleData?.responsive?.navigationArrows !== 'hidden' || !isMobile && styleData?.navigationArrows !== 'hidden'\">\n <a *ngIf=\"widgetData?.length > 1\" role=\"button\" class=\"prev\" (click)=\"slideTo(currentIndex - 1)\">&#10094;</a>\n <a *ngIf=\"widgetData?.length > 1\" role=\"button\" class=\"next\" (click)=\"slideTo(currentIndex + 1)\">&#10095;</a>\n </div>\n</div>\n<div class=\"{{customBanner ? 'keybanner' : 'banner-container-solo'}} margin-top-s\" *ngIf=\"widgetData?.length == 1\">\n <img i18n-alt alt=\"Page Banner\" width=\"100%\" height=\"100%\" [src]=\"widgetData[0].banners\" wsUtilsImageResponsive class=\"banner-image-solo\" />\n</div>\n\n<!-- <ng-container *ngIf=\"!widgetData?.length\">\n <div class=\"slider default-slider h-full\">\n <div class=\"relative h-full\">\n <img class=\"h-full\" src=\"assets/icons/home/default-slider-image.svg\" alt=\"\">\n <div class=\"default-title rounded-full\">\n <p class=\"mat-h1\">{{title}}</p>\n </div>\n </div>\n </div>\n</ng-container> -->\n",
9929
+ styles: [".banner-container{min-height:243px;position:relative;margin:auto;padding-bottom:40px}.banner-container.inline-meta{padding-bottom:0!important}.banner-container.flat .banner .banner-image{border-radius:0!important}.keybanner{position:relative;margin:auto}.keybanner.inline-meta{padding-bottom:0!important}.keybanner.flat .banner .banner-image{border-radius:0!important}.banner-overlay{z-index:1;top:0;left:0;width:100%;height:100%;background:linear-gradient(to left,rgba(0,0,0,.25) 0,rgba(0,0,0,0) 15%,rgba(0,0,0,0) 85%,rgba(0,0,0,.25) 100%);border-radius:inherit}.banner{-webkit-animation-name:fade;-webkit-animation-duration:1.5s;animation-name:fade;animation-duration:1.5s;border-radius:inherit;height:inherit}.banner .banner-image{width:100%;min-height:243px;display:block;border-radius:inherit;height:inherit}.banner-meta{text-align:center;z-index:2;padding:8px 12px;position:absolute;bottom:0;left:50%;border-radius:12px;transform:translateX(-50%);box-sizing:border-box}.banner-meta.left{left:0;transform:translateX(0)}.banner-meta.right{left:100%;transform:translateX(-100%)}.banner-meta.top-center{left:0;bottom:100%;transform:translateX(-100%)}.banner-meta .banner-title{color:#f2f2f2;margin-bottom:8px;font-size:1.1rem}@media only screen and (max-width:599px){.banner-meta .banner-title{display:none}}.banner-meta .dots-container{padding:8px;display:flex;align-items:center;justify-content:center}.banner-meta .dots-container .dot{cursor:pointer;height:6px;width:6px;margin:0 4px;background-color:rgba(0,0,0,.4);border-radius:50%;display:inline-block;transition:background-color .5s!important}@media only screen and (max-width:599px){.banner-meta .dots-container .dot{height:8px;width:8px;margin:0 4px}}.banner-meta .dots-container .dot.active{border-radius:4px;background-color:#f3962f;width:16px}@keyframes fade{from{opacity:.25}to{opacity:1}}.next,.prev{cursor:pointer;position:absolute;top:50%;transform:translateY(-50%);color:#fff;font-weight:700;background-color:#1b2133!important;border-radius:50%;z-index:999;height:32px!important;width:32px!important;display:flex;align-items:center;margin-top:-16px;justify-content:center}.prev{left:0;margin-left:-16px}.next{right:0;margin-right:-16px}.navigation.bottom-right .prev{left:unset;right:45px;bottom:-15px;top:unset}.navigation.bottom-right .next{left:unset;right:15px;bottom:-15px;top:unset}.navigation.bottom-center .prev{left:calc(50% - 20px);right:unset;bottom:-15px;top:unset}.navigation.bottom-center .next{left:calc(50% + 20px);right:unset;bottom:-15px;top:unset}.navigation.bottom-left .prev{left:15px;right:unset;bottom:-15px;top:unset}.navigation.bottom-left .next{left:60px;right:unset;bottom:-15px;top:unset}.navigation.middle-inline .prev{left:30px}.navigation.middle-inline .next{right:30px}.banner-container-solo{overflow:hidden;margin:auto;border-radius:12px}.banner-image-solo{width:100%;display:block;border-radius:12px}.default-slider{height:100%;background:#d4e2fb}.default-slider .default-title{text-align:center;position:absolute;top:50%;left:0;right:0;margin:auto;transform:translateY(-50%);z-index:999;background:#e6efff;padding:32px;width:500px}.default-slider .default-title p{word-break:break-word;margin:0!important;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;text-transform:uppercase}@media screen and (max-width:768px){.default-slider{height:384px;width:100%}.default-slider .default-title{width:unset!important}}.keybanner .prev{background-color:#f3962f!important;color:#fff;top:50%;font-size:12px;height:26px!important;width:26px!important}.keybanner .next{top:50%;background-color:#f3962f!important;color:#fff;font-size:12px;height:26px!important;width:26px!important}@media screen and (max-width:768px){.keybanner .prev{top:50px;left:0;background-color:#f3962f!important;color:#fff}.keybanner .next{right:0;margin-right:-16px;top:50px;background-color:#f3962f!important;color:#fff}}"]
9837
9930
  }] }
9838
9931
  ];
9839
9932
  /** @nocollapse */
@@ -9847,6 +9940,7 @@
9847
9940
  title: [{ type: core.Input }],
9848
9941
  loadNgContentData: [{ type: core.Input }],
9849
9942
  autoScroll: [{ type: core.Input }],
9943
+ customBanner: [{ type: core.Input }],
9850
9944
  currentIndexValue: [{ type: core.Output }],
9851
9945
  id: [{ type: core.HostBinding, args: ['id',] }],
9852
9946
  currentIndex: [{ type: core.Input }]
@@ -9865,6 +9959,8 @@
9865
9959
  /** @type {?} */
9866
9960
  SlidersNgContentLibComponent.prototype.autoScroll;
9867
9961
  /** @type {?} */
9962
+ SlidersNgContentLibComponent.prototype.customBanner;
9963
+ /** @type {?} */
9868
9964
  SlidersNgContentLibComponent.prototype.currentIndexValue;
9869
9965
  /** @type {?} */
9870
9966
  SlidersNgContentLibComponent.prototype.id;
@@ -10819,18 +10915,18 @@
10819
10915
  * to Print HH:mm:ss
10820
10916
  * @type {?}
10821
10917
  */
10822
- var duration2 = moment$2.duration(data, 'seconds');
10918
+ var duration2 = moment$4.duration(data, 'seconds');
10823
10919
  /** @type {?} */
10824
- var resultstring = moment$2.utc(duration2.asMilliseconds()).format('HH:mm:ss');
10920
+ var resultstring = moment$4.utc(duration2.asMilliseconds()).format('HH:mm:ss');
10825
10921
  return resultstring;
10826
10922
  case 'hms2M': /**to Print mm:ss */
10827
10923
  /**
10828
10924
  * to Print mm:ss
10829
10925
  * @type {?}
10830
10926
  */
10831
- var duration2H = moment$2.duration(data, 'seconds');
10927
+ var duration2H = moment$4.duration(data, 'seconds');
10832
10928
  /** @type {?} */
10833
- var resultstring2H = moment$2.utc(duration2H.asMilliseconds()).format('mm:ss');
10929
+ var resultstring2H = moment$4.utc(duration2H.asMilliseconds()).format('mm:ss');
10834
10930
  return resultstring2H;
10835
10931
  case 'hour':
10836
10932
  if (h === 0) {
@@ -10846,7 +10942,7 @@
10846
10942
  case 'day':
10847
10943
  if (h > 24) {
10848
10944
  /** @type {?} */
10849
- var duration3 = moment$2.duration(data, 'seconds');
10945
+ var duration3 = moment$4.duration(data, 'seconds');
10850
10946
  return duration3.days() + " day(s)";
10851
10947
  }
10852
10948
  return this.hmsCalculation(h, m, s, duration$1, type);
@@ -15683,6 +15779,7 @@
15683
15779
  /** @type {?} */
15684
15780
  var API_POINTS = {
15685
15781
  COMPETENCY_LIST: "apis/proxies/v8/competency/v4/search",
15782
+ COMPETENCY_LIST_V2: "apis/proxies/v8/searchBy/v2/competency",
15686
15783
  CERTIFICATE_URL: "apis/protected/v8/cohorts/course/batch/cert/download/",
15687
15784
  };
15688
15785
  var CompetencyPassbookService = /** @class */ (function () {
@@ -15701,6 +15798,15 @@
15701
15798
  function (payload) {
15702
15799
  return this.http.post(API_POINTS.COMPETENCY_LIST, payload);
15703
15800
  };
15801
+ /**
15802
+ * @return {?}
15803
+ */
15804
+ CompetencyPassbookService.prototype.getCompetencyListv_V2 = /**
15805
+ * @return {?}
15806
+ */
15807
+ function () {
15808
+ return this.http.get(API_POINTS.COMPETENCY_LIST_V2);
15809
+ };
15704
15810
  /**
15705
15811
  * @param {?} certId
15706
15812
  * @return {?}
@@ -15739,7 +15845,7 @@
15739
15845
  // currentFilter = 'Behavioural'
15740
15846
  // currentCompetencies: any = []
15741
15847
  // competencyData: any
15742
- function CompetencyPassbookComponent(configSvc, contentSvc, competencySvc, router) {
15848
+ function CompetencyPassbookComponent(configSvc, contentSvc, competencySvc, router, environment) {
15743
15849
  this.configSvc = configSvc;
15744
15850
  this.contentSvc = contentSvc;
15745
15851
  this.competencySvc = competencySvc;
@@ -15756,6 +15862,7 @@
15756
15862
  this.competencyStrength = 0;
15757
15863
  this.competencyThemeLength = 6;
15758
15864
  this.showAllTheme = [{ name: 'Show all', showAll: false }];
15865
+ this.environment = environment;
15759
15866
  }
15760
15867
  /**
15761
15868
  * @return {?}
@@ -15764,6 +15871,7 @@
15764
15871
  * @return {?}
15765
15872
  */
15766
15873
  function () {
15874
+ this.comeptencyKeys = this.configSvc.compentency[this.environment.compentencyVersionKey];
15767
15875
  this.getAllCompetencies();
15768
15876
  // this.competencyData = this.objectData
15769
15877
  // this.filter(this.currentFilter)
@@ -15826,7 +15934,7 @@
15826
15934
  "lastUpdatedOn": "desc"
15827
15935
  },
15828
15936
  "facets": [
15829
- "competencies_v5.competencyArea"
15937
+ this.environment.compentencyVersionKey + "." + this.comeptencyKeys.vCompetencyArea
15830
15938
  ],
15831
15939
  "limit": 0,
15832
15940
  "offset": 0,
@@ -15847,7 +15955,7 @@
15847
15955
  * @return {?}
15848
15956
  */
15849
15957
  function (fact) {
15850
- if (fact.name === 'competencies_v5.competencyArea') {
15958
+ if (fact.name === _this.environment.compentencyVersionKey + "." + _this.comeptencyKeys.vCompetencyArea) {
15851
15959
  _this.competencyArea = fact.values;
15852
15960
  }
15853
15961
  }));
@@ -15966,18 +16074,16 @@
15966
16074
  function () {
15967
16075
  var _this = this;
15968
16076
  this.loadCometency = true;
15969
- /** @type {?} */
15970
- var request = { "search": { "type": "Competency Area" }, "filter": { "isDetail": true } };
15971
- this.competencySvc.getCompetencyList(request).subscribe((/**
16077
+ this.competencySvc.getCompetencyListv_V2().subscribe((/**
15972
16078
  * @param {?} response
15973
16079
  * @return {?}
15974
16080
  */
15975
16081
  function (response) {
15976
16082
  _this.allcompetencyTheme = {};
15977
- if (response && response.result && response.result.competency) {
15978
- _this.originalCompetencyArray = response.result.competency;
16083
+ if (response && response.result && response.result.content) {
16084
+ _this.originalCompetencyArray = response.result.content;
15979
16085
  _this.getCompetencyArea();
15980
- response.result.competency.forEach((/**
16086
+ response.result.content.forEach((/**
15981
16087
  * @param {?} element
15982
16088
  * @return {?}
15983
16089
  */
@@ -16010,34 +16116,35 @@
16010
16116
  function (value, addFilter) {
16011
16117
  return __awaiter(this, void 0, void 0, function () {
16012
16118
  var request, response, competencyThemeData_1, error_2;
16119
+ var _a;
16013
16120
  var _this = this;
16014
- return __generator(this, function (_a) {
16015
- switch (_a.label) {
16121
+ return __generator(this, function (_b) {
16122
+ switch (_b.label) {
16016
16123
  case 0:
16017
16124
  request = {
16018
16125
  "request": {
16019
16126
  "query": "",
16020
- "filters": __assign({ "contentType": "Course" }, addFilter, { "competencies_v5.competencyArea": value, "status": [
16021
- "Live"
16022
- ] }),
16127
+ "filters": __assign({ "contentType": "Course" }, addFilter, (_a = {}, _a[this.environment.compentencyVersionKey + "." + this.comeptencyKeys.vCompetencyArea] = value, _a["status"] = [
16128
+ "Live"
16129
+ ], _a)),
16023
16130
  "sort_by": {
16024
16131
  "lastUpdatedOn": "desc"
16025
16132
  },
16026
16133
  "facets": [
16027
- "competencies_v5.competencyTheme"
16134
+ this.environment.compentencyVersionKey + "." + this.comeptencyKeys.vCompetencyTheme
16028
16135
  ],
16029
16136
  "limit": 0,
16030
16137
  "offset": 0,
16031
16138
  "fields": []
16032
16139
  }
16033
16140
  };
16034
- _a.label = 1;
16141
+ _b.label = 1;
16035
16142
  case 1:
16036
- _a.trys.push([1, 3, , 4]);
16143
+ _b.trys.push([1, 3, , 4]);
16037
16144
  this.loadCometency = true;
16038
16145
  return [4 /*yield*/, this.callCompetencySearch(request)];
16039
16146
  case 2:
16040
- response = _a.sent();
16147
+ response = _b.sent();
16041
16148
  if (response && response.results) {
16042
16149
  if (response.results.result.facets) {
16043
16150
  competencyThemeData_1 = response.results.result.facets[0].values;
@@ -16068,7 +16175,7 @@
16068
16175
  }
16069
16176
  return [3 /*break*/, 4];
16070
16177
  case 3:
16071
- error_2 = _a.sent();
16178
+ error_2 = _b.sent();
16072
16179
  return [3 /*break*/, 4];
16073
16180
  case 4: return [2 /*return*/];
16074
16181
  }
@@ -16132,34 +16239,35 @@
16132
16239
  function (area, addFilter) {
16133
16240
  return __awaiter(this, void 0, void 0, function () {
16134
16241
  var request, returnedData_1, response, competencyThemeData_2, error_3;
16242
+ var _a;
16135
16243
  var _this = this;
16136
- return __generator(this, function (_a) {
16137
- switch (_a.label) {
16244
+ return __generator(this, function (_b) {
16245
+ switch (_b.label) {
16138
16246
  case 0:
16139
16247
  request = {
16140
16248
  "request": {
16141
16249
  "query": "",
16142
- "filters": __assign({ "contentType": "Course" }, addFilter, { "competencies_v5.competencyArea": area.name, "status": [
16143
- "Live"
16144
- ] }),
16250
+ "filters": __assign({ "contentType": "Course" }, addFilter, (_a = {}, _a[this.environment.compentencyVersionKey + "." + this.comeptencyKeys.vCompetencyArea] = area.name, _a["status"] = [
16251
+ "Live"
16252
+ ], _a)),
16145
16253
  "sort_by": {
16146
16254
  "lastUpdatedOn": "desc"
16147
16255
  },
16148
16256
  "facets": [
16149
- "competencies_v5.competencyTheme"
16257
+ this.environment.compentencyVersionKey + "." + this.comeptencyKeys.vCompetencyTheme
16150
16258
  ],
16151
16259
  "limit": 0,
16152
16260
  "offset": 0,
16153
16261
  "fields": []
16154
16262
  }
16155
16263
  };
16156
- _a.label = 1;
16264
+ _b.label = 1;
16157
16265
  case 1:
16158
- _a.trys.push([1, 3, , 4]);
16266
+ _b.trys.push([1, 3, , 4]);
16159
16267
  returnedData_1 = this.loadCometency = true;
16160
16268
  return [4 /*yield*/, this.callCompetencySearch(request)];
16161
16269
  case 2:
16162
- response = _a.sent();
16270
+ response = _b.sent();
16163
16271
  if (response && response.results) {
16164
16272
  if (response.results.result.facets) {
16165
16273
  competencyThemeData_2 = response.results.result.facets[0].values;
@@ -16190,7 +16298,7 @@
16190
16298
  }
16191
16299
  return [3 /*break*/, 4];
16192
16300
  case 3:
16193
- error_3 = _a.sent();
16301
+ error_3 = _b.sent();
16194
16302
  return [3 /*break*/, 4];
16195
16303
  case 4: return [2 /*return*/];
16196
16304
  }
@@ -16263,34 +16371,35 @@
16263
16371
  function (compArea, addFilter) {
16264
16372
  return __awaiter(this, void 0, void 0, function () {
16265
16373
  var request, response, competencySubThemeData_1, error_4;
16374
+ var _a;
16266
16375
  var _this = this;
16267
- return __generator(this, function (_a) {
16268
- switch (_a.label) {
16376
+ return __generator(this, function (_b) {
16377
+ switch (_b.label) {
16269
16378
  case 0:
16270
16379
  request = {
16271
16380
  "request": {
16272
16381
  "query": "",
16273
- "filters": __assign({ "contentType": "Course" }, addFilter, { "competencies_v5.competencyArea": compArea.name, "status": [
16274
- "Live"
16275
- ] }),
16382
+ "filters": __assign({ "contentType": "Course" }, addFilter, (_a = {}, _a[this.environment.compentencyVersionKey + "." + this.comeptencyKeys.vCompetencyArea] = compArea.name, _a["status"] = [
16383
+ "Live"
16384
+ ], _a)),
16276
16385
  "sort_by": {
16277
16386
  "lastUpdatedOn": "desc"
16278
16387
  },
16279
16388
  "facets": [
16280
- "competencies_v5.competencySubThemeId"
16389
+ this.environment.compentencyVersionKey + "." + this.comeptencyKeys.vCompetencySubTheme
16281
16390
  ],
16282
16391
  "limit": 0,
16283
16392
  "offset": 0,
16284
16393
  "fields": []
16285
16394
  }
16286
16395
  };
16287
- _a.label = 1;
16396
+ _b.label = 1;
16288
16397
  case 1:
16289
- _a.trys.push([1, 3, , 4]);
16398
+ _b.trys.push([1, 3, , 4]);
16290
16399
  this.loadCometency = true;
16291
16400
  return [4 /*yield*/, this.callCompetencySearch(request)];
16292
16401
  case 2:
16293
- response = _a.sent();
16402
+ response = _b.sent();
16294
16403
  if (response && response.results) {
16295
16404
  if (response.results.result.facets) {
16296
16405
  competencySubThemeData_1 = response.results.result.facets[0].values;
@@ -16323,7 +16432,7 @@
16323
16432
  * @param {?} key
16324
16433
  * @return {?}
16325
16434
  */
16326
- function (key) { return obj1['id'] === Number(obj2['name']); }));
16435
+ function (key) { return obj1['name'] === (obj2['name']); }));
16327
16436
  }));
16328
16437
  }));
16329
16438
  _this.allcompetencyTheme[themeEle.name.toLowerCase()]['children'] = data;
@@ -16336,7 +16445,7 @@
16336
16445
  }
16337
16446
  return [3 /*break*/, 4];
16338
16447
  case 3:
16339
- error_4 = _a.sent();
16448
+ error_4 = _b.sent();
16340
16449
  return [3 /*break*/, 4];
16341
16450
  case 4: return [2 /*return*/];
16342
16451
  }
@@ -16346,7 +16455,7 @@
16346
16455
  CompetencyPassbookComponent.decorators = [
16347
16456
  { type: core.Component, args: [{
16348
16457
  selector: 'sb-uic-competency-passbook',
16349
- template: " <div class=\"competency-title\" *ngIf=\"objectData?.title\">{{objectData?.title}} \n <span class=\"competency-count\">\n ({{competencyStrength}})\n </span>\n</div>\n<div class=\"flex items-center justify-{{dynamicAlignPills}} gap-8 mt-5 mb-5 competency-filters\">\n <sb-uic-pills [pillsData]=\"competencyArea\" [dynamicColor]=\"dynamicColor\"\n [isLoading]=\"loadCompetencyArea\" (pillClick)=\"competencyChange($event)\" [selectedValue]=\"selectedValue\"></sb-uic-pills>\n</div>\n<div class=\"grid grid-cols-1 md:grid-cols-{{cardDisplayCount}} w-full grid-flow-row gap-5\" *ngIf=\"!loadCometency\">\n <div class=\"competency-card\" *ngFor=\"let obj of competencyTheme| slice:0:competencyThemeLength\">\n <div class=\"flex-1 flex-col\">\n <div class=\"competency-theme\"></div>\n <div class=\"details flex flex-col\">\n <div class=\"flex flex-col p-4\">\n <div class=\"flex flex-row cursor-pointer\">\n <div class=\"flex flex-row gap-2 items-center\">\n <div class=\"name\">{{allcompetencyTheme[obj?.name]?.name}}</div>\n <!-- <div class=\"flex items-baseline\">\n <img src=\"assets/icons/competency/cp-arrow.svg\" class=\"arrow-img cursor-pointer\" alt=\"cp arrow img\" (click)=\"navigateToCompetency(obj)\" />\n </div> -->\n </div>\n </div>\n <div class=\"flex flex-row pt-3 pb-3 description\">\n {{ allcompetencyTheme[obj.name]?.description }} \n </div>\n <!-- <div class=\"flex flex-row gap-3 items-center\">\n <mat-icon class=\"content-icon\">school</mat-icon>\n <div class=\"no-of-contents\" *ngIf=\"obj.count === 1\">{{obj.count}} Content</div>\n <div class=\"no-of-contents\" *ngIf=\"obj.count !== 1\">{{obj.count}} Contents</div>\n </div> -->\n <div class=\"line mt-3 mt-2\"></div>\n <div class=\"flex flex-wrap gap-3 pt-4 chip-container\">\n <ng-container *ngFor=\"let child of allcompetencyTheme[obj.name]?.children| slice:0: allcompetencyTheme[obj.name]?.viewMore ? allcompetencyTheme[obj.name]?.children?.length : 3; let i = index\">\n <div class=\"chip rounded-full p-2 text-xs chip-ellipsis\" [title]=\"child?.name\" >\n {{ child.name }}\n </div>\n </ng-container>\n <div class=\"p-2 info-btn cursor-pointer\"\n *ngIf=\"allcompetencyTheme[obj.name]?.children.length > 3 && !allcompetencyTheme[obj.name]?.viewMore\" (click)=\"viewMoreChildren(allcompetencyTheme[obj.name])\">\n View more\n </div>\n <div class=\"p-2 info-btn cursor-pointer\"\n *ngIf=\"allcompetencyTheme[obj.name]?.children.length > 3 && allcompetencyTheme[obj.name]?.viewMore\" (click)=\"viewMoreChildren(allcompetencyTheme[obj.name])\">\n View less\n </div>\n </div>\n </div> \n </div>\n </div>\n </div>\n</div>\n<ng-container *ngIf=\"competencyTheme.length > 6 && !loadCometency\">\n <div class=\"flex items-center justify-center gap-8 mt-5 mb-5 competency-filters\">\n <sb-uic-pills [pillsData]=\"showAllTheme\" [requiredTitlecase]=\"false\" [dynamicColor]=\"dynamicColor\" (pillClick)=\"displayAllTheme($event)\"></sb-uic-pills>\n </div>\n</ng-container> \n\n<ng-container *ngIf=\"loadCometency\">\n\n<div class=\"grid grid-cols-1 md:grid-cols-{{cardDisplayCount}} w-full grid-flow-row gap-5\">\n <div *ngFor=\"let obj of [0,1,2,3,4,5]\">\n <div class=\"flex-1 flex-col\">\n <div class=\"competency-theme\"></div>\n <div class=\"details flex flex-col\">\n <div class=\"flex flex-col p-4\">\n <div class=\"flex flex-row cursor-pointer\">\n <div class=\"flex flex-row gap-2 items-center w-full\">\n <div class=\"name w-full\">\n <sb-uic-skeleton-loader [bindingClass]=\"'flex rounded mb-2'\" [width]=\"'100%'\"\n [height]=\"'24px'\"></sb-uic-skeleton-loader>\n <sb-uic-skeleton-loader [bindingClass]=\"'flex rounded'\" [width]=\"'80%'\"\n [height]=\"'24px'\"></sb-uic-skeleton-loader>\n </div>\n </div>\n </div>\n <div class=\"pt-3 pb-3 description\">\n <sb-uic-skeleton-loader class=\"w-full\" [bindingClass]=\"'flex rounded mb-2'\" [width]=\"'100%'\"\n [height]=\"'24px'\"></sb-uic-skeleton-loader>\n <sb-uic-skeleton-loader class=\"w-full\" [bindingClass]=\"'flex rounded'\" [width]=\"'80%'\"\n [height]=\"'24px'\"></sb-uic-skeleton-loader>\n </div>\n <div class=\"flex flex-row gap-3 items-center\">\n <mat-icon class=\"content-icon\"><sb-uic-skeleton-loader [bindingClass]=\"'flex rounded mb-2'\" [width]=\"'24px'\"\n [height]=\"'24px'\"></sb-uic-skeleton-loader></mat-icon>\n <div class=\"no-of-contents\"><sb-uic-skeleton-loader [bindingClass]=\"'flex rounded '\" [width]=\"'100px'\"\n [height]=\"'24px'\"></sb-uic-skeleton-loader></div>\n </div>\n <div class=\"line mt-3 mt-2\"></div>\n <div class=\"flex flex-wrap gap-3 pt-4 chip-container\">\n <sb-uic-skeleton-loader class=\"w-2/5\" [bindingClass]=\"'flex rounded '\" [width]=\"'100px'\"\n [height]=\"'24px'\"></sb-uic-skeleton-loader>\n <sb-uic-skeleton-loader class=\"w-2/5\" [bindingClass]=\"'flex rounded '\" [width]=\"'100px'\"\n [height]=\"'24px'\"></sb-uic-skeleton-loader>\n <sb-uic-skeleton-loader class=\"w-2/5\" [bindingClass]=\"'flex rounded '\" [width]=\"'100px'\"\n [height]=\"'24px'\"></sb-uic-skeleton-loader>\n </div>\n </div> \n </div>\n </div>\n </div>\n</div>\n</ng-container>",
16458
+ template: " <div class=\"competency-title\" *ngIf=\"objectData?.title\">{{objectData?.title}} \n <span class=\"competency-count\">\n ({{competencyStrength}})\n </span>\n</div>\n<div class=\"flex items-center justify-{{dynamicAlignPills}} gap-8 mt-5 mb-5 competency-filters\">\n <sb-uic-pills [pillsData]=\"competencyArea\" [dynamicColor]=\"dynamicColor\"\n [isLoading]=\"loadCompetencyArea\" (pillClick)=\"competencyChange($event)\" [selectedValue]=\"selectedValue\"></sb-uic-pills>\n</div>\n<div class=\"grid grid-cols-1 md:grid-cols-{{cardDisplayCount}} w-full grid-flow-row gap-5\" *ngIf=\"!loadCometency\">\n <div class=\"competency-card\" *ngFor=\"let obj of competencyTheme| slice:0:competencyThemeLength\">\n <div class=\"flex-1 flex-col\">\n <div class=\"competency-theme\"></div>\n <div class=\"details flex flex-col\">\n <div class=\"flex flex-col p-4\">\n <div class=\"flex flex-row cursor-pointer\">\n <div class=\"flex flex-row gap-2 items-center\">\n <div class=\"name\">{{allcompetencyTheme[obj?.name]?.displayName}}</div>\n <!-- <div class=\"flex items-baseline\">\n <img src=\"assets/icons/competency/cp-arrow.svg\" class=\"arrow-img cursor-pointer\" alt=\"cp arrow img\" (click)=\"navigateToCompetency(obj)\" />\n </div> -->\n </div>\n </div>\n <div class=\"flex flex-row pt-3 pb-3 description\">\n {{ allcompetencyTheme[obj.name]?.description }} \n </div>\n <!-- <div class=\"flex flex-row gap-3 items-center\">\n <mat-icon class=\"content-icon\">school</mat-icon>\n <div class=\"no-of-contents\" *ngIf=\"obj.count === 1\">{{obj.count}} Content</div>\n <div class=\"no-of-contents\" *ngIf=\"obj.count !== 1\">{{obj.count}} Contents</div>\n </div> -->\n <div class=\"line mt-3 mt-2\"></div>\n <div class=\"flex flex-wrap gap-3 pt-4 chip-container\">\n <ng-container *ngFor=\"let child of allcompetencyTheme[obj.name]?.children| slice:0: allcompetencyTheme[obj.name]?.viewMore ? allcompetencyTheme[obj.name]?.children?.length : 3; let i = index\">\n <div class=\"chip rounded-full p-2 text-xs chip-ellipsis\" [title]=\"child?.displayName\" >\n {{ child?.displayName }}\n </div>\n </ng-container>\n <div class=\"p-2 info-btn cursor-pointer\"\n *ngIf=\"allcompetencyTheme[obj.name]?.children.length > 3 && !allcompetencyTheme[obj.name]?.viewMore\" (click)=\"viewMoreChildren(allcompetencyTheme[obj.name])\">\n View more\n </div>\n <div class=\"p-2 info-btn cursor-pointer\"\n *ngIf=\"allcompetencyTheme[obj.name]?.children.length > 3 && allcompetencyTheme[obj.name]?.viewMore\" (click)=\"viewMoreChildren(allcompetencyTheme[obj.name])\">\n View less\n </div>\n </div>\n </div> \n </div>\n </div>\n </div>\n</div>\n<ng-container *ngIf=\"competencyTheme.length > 6 && !loadCometency\">\n <div class=\"flex items-center justify-center gap-8 mt-5 mb-5 competency-filters\">\n <sb-uic-pills [pillsData]=\"showAllTheme\" [requiredTitlecase]=\"false\" [dynamicColor]=\"dynamicColor\" (pillClick)=\"displayAllTheme($event)\"></sb-uic-pills>\n </div>\n</ng-container> \n\n<ng-container *ngIf=\"loadCometency\">\n\n<div class=\"grid grid-cols-1 md:grid-cols-{{cardDisplayCount}} w-full grid-flow-row gap-5\">\n <div *ngFor=\"let obj of [0,1,2,3,4,5]\">\n <div class=\"flex-1 flex-col\">\n <div class=\"competency-theme\"></div>\n <div class=\"details flex flex-col\">\n <div class=\"flex flex-col p-4\">\n <div class=\"flex flex-row cursor-pointer\">\n <div class=\"flex flex-row gap-2 items-center w-full\">\n <div class=\"name w-full\">\n <sb-uic-skeleton-loader [bindingClass]=\"'flex rounded mb-2'\" [width]=\"'100%'\"\n [height]=\"'24px'\"></sb-uic-skeleton-loader>\n <sb-uic-skeleton-loader [bindingClass]=\"'flex rounded'\" [width]=\"'80%'\"\n [height]=\"'24px'\"></sb-uic-skeleton-loader>\n </div>\n </div>\n </div>\n <div class=\"pt-3 pb-3 description\">\n <sb-uic-skeleton-loader class=\"w-full\" [bindingClass]=\"'flex rounded mb-2'\" [width]=\"'100%'\"\n [height]=\"'24px'\"></sb-uic-skeleton-loader>\n <sb-uic-skeleton-loader class=\"w-full\" [bindingClass]=\"'flex rounded'\" [width]=\"'80%'\"\n [height]=\"'24px'\"></sb-uic-skeleton-loader>\n </div>\n <div class=\"flex flex-row gap-3 items-center\">\n <mat-icon class=\"content-icon\"><sb-uic-skeleton-loader [bindingClass]=\"'flex rounded mb-2'\" [width]=\"'24px'\"\n [height]=\"'24px'\"></sb-uic-skeleton-loader></mat-icon>\n <div class=\"no-of-contents\"><sb-uic-skeleton-loader [bindingClass]=\"'flex rounded '\" [width]=\"'100px'\"\n [height]=\"'24px'\"></sb-uic-skeleton-loader></div>\n </div>\n <div class=\"line mt-3 mt-2\"></div>\n <div class=\"flex flex-wrap gap-3 pt-4 chip-container\">\n <sb-uic-skeleton-loader class=\"w-2/5\" [bindingClass]=\"'flex rounded '\" [width]=\"'100px'\"\n [height]=\"'24px'\"></sb-uic-skeleton-loader>\n <sb-uic-skeleton-loader class=\"w-2/5\" [bindingClass]=\"'flex rounded '\" [width]=\"'100px'\"\n [height]=\"'24px'\"></sb-uic-skeleton-loader>\n <sb-uic-skeleton-loader class=\"w-2/5\" [bindingClass]=\"'flex rounded '\" [width]=\"'100px'\"\n [height]=\"'24px'\"></sb-uic-skeleton-loader>\n </div>\n </div> \n </div>\n </div>\n </div>\n</div>\n</ng-container>",
16350
16459
  styles: [".competencies-backgroud{background-color:#1b2133}.competency-title{font-family:Montserrat;font-size:16px;font-weight:600;line-height:19.5px;text-align:left;color:#fff}.competency-count{color:#f3962f}.filter-button{padding:12px 16px;border-radius:50px;border:1px solid #fff;font-family:Lato;font-size:14px;font-weight:700;line-height:16.8px;text-align:center;background-color:transparent;color:#fff;cursor:pointer}.filter-button.active{background:#1b4ca1}.banner-metrics{background:linear-gradient(180deg,#f9cb97 -107.59%,#ef951e 110.74%)}.infra-background{background:#1b4ca1}.competency-theme{height:16px;border-top-left-radius:12px;border-top-right-radius:12px;background-color:#f8b861}.details{background-color:#fff;border-radius:12px;position:relative;top:-8px;min-height:278px}.name{font-family:Montserrat;font-size:16px;font-weight:600;line-height:19.5px;text-align:left}.description{font-family:Lato;font-size:14px;font-weight:400;line-height:16.8px;text-align:left;height:42px;display:-webkit-box!important;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis}.no-of-contents{font-family:Lato;font-size:14px;font-weight:700;line-height:16.8px;text-align:center;color:#1b4ca1}.content-icon{color:#1b4ca1}.line{border-top:1px solid #e2dddd}.chip{padding:8px 16px;gap:8px;border-radius:50px;border:1px solid #1b4ca1;color:#1b4ca1;font-family:Lato;font-size:14px;font-weight:700;text-align:center}.chip-ellipsis{white-space:nowrap;max-width:110px;overflow:hidden;text-overflow:ellipsis}.info-btn{font-family:Lato;font-size:14px;font-weight:700;line-height:16.8px;text-align:center;opacity:.7;padding:12px 5px}.hide{display:none}.behavioral{background-color:#f8b861}.functional{background-color:#e24577}.domain{background-color:#7b47a4}.competency-card{z-index:999}"]
16351
16460
  }] }
16352
16461
  ];
@@ -16355,7 +16464,8 @@
16355
16464
  { type: utilsV2.ConfigurationsService },
16356
16465
  { type: WidgetContentService },
16357
16466
  { type: CompetencyPassbookService },
16358
- { type: router.Router }
16467
+ { type: router.Router },
16468
+ { type: undefined, decorators: [{ type: core.Inject, args: ['environment',] }] }
16359
16469
  ]; };
16360
16470
  CompetencyPassbookComponent.propDecorators = {
16361
16471
  objectData: [{ type: core.Input }],
@@ -16409,6 +16519,10 @@
16409
16519
  /** @type {?} */
16410
16520
  CompetencyPassbookComponent.prototype.showAllTheme;
16411
16521
  /** @type {?} */
16522
+ CompetencyPassbookComponent.prototype.environment;
16523
+ /** @type {?} */
16524
+ CompetencyPassbookComponent.prototype.comeptencyKeys;
16525
+ /** @type {?} */
16412
16526
  CompetencyPassbookComponent.prototype.configSvc;
16413
16527
  /** @type {?} */
16414
16528
  CompetencyPassbookComponent.prototype.contentSvc;
@@ -16539,6 +16653,7 @@
16539
16653
  var API_POINTS$1 = {
16540
16654
  COMPETENCY_LIST: "apis/proxies/v8/competency/v4/search",
16541
16655
  competency_URL: "apis/proxies/v8/v1/search/competenciesByOrg/",
16656
+ COMPETENCY_LIST_V2: "apis/proxies/v8/searchBy/v2/competency",
16542
16657
  };
16543
16658
  var CompetencyPassbookMdoService = /** @class */ (function () {
16544
16659
  // tslint: disable-next-line: whitespace
@@ -16556,6 +16671,15 @@
16556
16671
  function (payload) {
16557
16672
  return this.http.post(API_POINTS$1.COMPETENCY_LIST, payload);
16558
16673
  };
16674
+ /**
16675
+ * @return {?}
16676
+ */
16677
+ CompetencyPassbookMdoService.prototype.getCompetencyListv_V2 = /**
16678
+ * @return {?}
16679
+ */
16680
+ function () {
16681
+ return this.http.get(API_POINTS$1.COMPETENCY_LIST_V2);
16682
+ };
16559
16683
  /**
16560
16684
  * @param {?} providerId
16561
16685
  * @return {?}
@@ -16594,7 +16718,7 @@
16594
16718
  // currentFilter = 'Behavioural'
16595
16719
  // currentCompetencies: any = []
16596
16720
  // competencyData: any
16597
- function CompetencyPassbookMdoComponent(configSvc, contentSvc, competencySvc, router) {
16721
+ function CompetencyPassbookMdoComponent(configSvc, contentSvc, competencySvc, router, environment) {
16598
16722
  this.configSvc = configSvc;
16599
16723
  this.contentSvc = contentSvc;
16600
16724
  this.competencySvc = competencySvc;
@@ -16605,12 +16729,14 @@
16605
16729
  this.temeletryResponse = new core.EventEmitter();
16606
16730
  this.loadCometency = false;
16607
16731
  this.loadCompetencyArea = false;
16732
+ this.selectedValue = 'functional';
16608
16733
  this.competencyVersion = '';
16609
16734
  this.competencyTheme = [];
16610
16735
  this.allcompetencyTheme = {};
16611
16736
  this.competencyStrength = 0;
16612
16737
  this.competencyThemeLength = 6;
16613
16738
  this.showAllTheme = [{ name: 'Show all', showAll: false }];
16739
+ this.environment = environment;
16614
16740
  }
16615
16741
  /**
16616
16742
  * @return {?}
@@ -16619,6 +16745,7 @@
16619
16745
  * @return {?}
16620
16746
  */
16621
16747
  function () {
16748
+ this.comeptencyKeys = this.configSvc.compentency[this.environment.compentencyVersionKey];
16622
16749
  this.getAllCompetencies();
16623
16750
  };
16624
16751
  /**
@@ -16632,17 +16759,17 @@
16632
16759
  this.loadCometency = true;
16633
16760
  /** @type {?} */
16634
16761
  var request = { "search": { "type": "Competency Area" }, "filter": { "isDetail": true } };
16635
- this.competencySvc.getCompetencyList(request).subscribe((/**
16762
+ this.competencySvc.getCompetencyListv_V2().subscribe((/**
16636
16763
  * @param {?} response
16637
16764
  * @return {?}
16638
16765
  */
16639
16766
  function (response) {
16640
16767
  _this.allcompetencyTheme = {};
16641
- if (response && response.result && response.result.competency) {
16642
- _this.originalCompetencyArray = response.result.competency;
16768
+ if (response && response.result && response.result.content) {
16769
+ _this.originalCompetencyArray = response.result.content;
16643
16770
  _this.getMdoCompetencies();
16644
16771
  // this.getCompetencyArea()
16645
- response.result.competency.forEach((/**
16772
+ response.result.content.forEach((/**
16646
16773
  * @param {?} element
16647
16774
  * @return {?}
16648
16775
  */
@@ -16688,11 +16815,11 @@
16688
16815
  * @return {?}
16689
16816
  */
16690
16817
  function (facet) {
16691
- if (facet.name === 'competencies_v5.competencyArea') {
16818
+ if (facet.name === _this.environment.compentencyVersionKey + "." + _this.comeptencyKeys.vCompetencyArea) {
16692
16819
  _this.competencyArea = facet.values;
16693
16820
  _this.selectedValue = facet.values[0].name;
16694
16821
  }
16695
- else if (facet.name === 'competencies_v5.competencyTheme') {
16822
+ else if (facet.name === _this.environment.compentencyVersionKey + "." + _this.comeptencyKeys.vCompetencyTheme) {
16696
16823
  _this.competencyThemeData = facet.values;
16697
16824
  _this.getCompetencyTheme();
16698
16825
  }
@@ -16887,7 +17014,7 @@
16887
17014
  CompetencyPassbookMdoComponent.decorators = [
16888
17015
  { type: core.Component, args: [{
16889
17016
  selector: 'sb-uic-competency-passbook-mdo',
16890
- template: "<div class=\"competency-title\" *ngIf=\"objectData?.title\">{{objectData?.title}} \n <span class=\"competency-count\">\n ({{competencyStrength}})\n </span>\n</div>\n<div class=\"flex items-center justify-{{dynamicAlignPills}} gap-8 mt-5 mb-5 competency-filters\">\n <sb-uic-pills [pillsData]=\"competencyArea\" [dynamicColor]=\"dynamicColor\"\n [isLoading]=\"loadCompetencyArea\" (pillClick)=\"competencyChange($event)\" [selectedValue]=\"selectedValue\"></sb-uic-pills>\n</div>\n<div class=\"grid grid-cols-1 md:grid-cols-{{cardDisplayCount}} w-full grid-flow-row gap-5\" *ngIf=\"!loadCometency\">\n <div class=\"competency-card\" *ngFor=\"let obj of competencyTheme| slice:0:competencyThemeLength\">\n <div class=\"flex-1 flex-col\">\n <div class=\"competency-theme\"></div>\n <div class=\"details flex flex-col\">\n <div class=\"flex flex-col p-4\">\n <div class=\"flex flex-row cursor-pointer\">\n <div class=\"flex flex-row gap-2 items-center\">\n <div class=\"name\">{{allcompetencyTheme[obj?.name]?.name}}</div>\n <!-- <div class=\"flex items-baseline\">\n <img src=\"assets/icons/competency/cp-arrow.svg\" class=\"arrow-img cursor-pointer\" alt=\"cp arrow img\" (click)=\"navigateToCompetency(obj)\" />\n </div> -->\n </div>\n </div>\n <div class=\"flex flex-row pt-3 pb-3 description\">\n {{ allcompetencyTheme[obj.name]?.description }} \n </div>\n <div class=\"flex flex-row gap-3 items-center\">\n <mat-icon class=\"content-icon\">school</mat-icon>\n <div class=\"no-of-contents\">{{obj.count}} Contents</div>\n </div>\n <div class=\"line mt-3 mt-2\"></div>\n <div class=\"flex flex-wrap gap-3 pt-4 chip-container\">\n <ng-container *ngFor=\"let child of allcompetencyTheme[obj.name]?.children| slice:0: allcompetencyTheme[obj.name]?.viewMore ? allcompetencyTheme[obj.name]?.children?.length : 3; let i = index\">\n <div class=\"chip rounded-full p-2 text-xs chip-ellipsis\" [title]=\"child?.name\" >\n {{ child.name }}\n </div>\n </ng-container>\n <div class=\"p-2 info-btn cursor-pointer\"\n *ngIf=\"allcompetencyTheme[obj.name]?.children.length > 3 && !allcompetencyTheme[obj.name]?.viewMore\" (click)=\"viewMoreChildren(allcompetencyTheme[obj.name])\">\n View more\n </div>\n <div class=\"p-2 info-btn cursor-pointer\"\n *ngIf=\"allcompetencyTheme[obj.name]?.children.length > 3 && allcompetencyTheme[obj.name]?.viewMore\" (click)=\"viewMoreChildren(allcompetencyTheme[obj.name])\">\n View less\n </div>\n </div>\n </div> \n </div>\n </div>\n </div>\n</div>\n<ng-container *ngIf=\"competencyTheme.length > 6 && !loadCometency\">\n <div class=\"flex items-center justify-center gap-8 mt-5 mb-5 competency-filters\">\n <sb-uic-pills [pillsData]=\"showAllTheme\" [requiredTitlecase]=\"false\" [dynamicColor]=\"dynamicColor\" (pillClick)=\"displayAllTheme($event)\"></sb-uic-pills>\n </div>\n</ng-container> \n\n<ng-container *ngIf=\"loadCometency\">\n\n<div class=\"grid grid-cols-1 md:grid-cols-{{cardDisplayCount}} w-full grid-flow-row gap-5\">\n <div *ngFor=\"let obj of [0,1,2,3,4,5]\">\n <div class=\"flex-1 flex-col\">\n <div class=\"competency-theme\"></div>\n <div class=\"details flex flex-col\">\n <div class=\"flex flex-col p-4\">\n <div class=\"flex flex-row cursor-pointer\">\n <div class=\"flex flex-row gap-2 items-center w-full\">\n <div class=\"name w-full\">\n <sb-uic-skeleton-loader [bindingClass]=\"'flex rounded mb-2'\" [width]=\"'100%'\"\n [height]=\"'24px'\"></sb-uic-skeleton-loader>\n <sb-uic-skeleton-loader [bindingClass]=\"'flex rounded'\" [width]=\"'80%'\"\n [height]=\"'24px'\"></sb-uic-skeleton-loader>\n </div>\n </div>\n </div>\n <div class=\"pt-3 pb-3 description\">\n <sb-uic-skeleton-loader class=\"w-full\" [bindingClass]=\"'flex rounded mb-2'\" [width]=\"'100%'\"\n [height]=\"'24px'\"></sb-uic-skeleton-loader>\n <sb-uic-skeleton-loader class=\"w-full\" [bindingClass]=\"'flex rounded'\" [width]=\"'80%'\"\n [height]=\"'24px'\"></sb-uic-skeleton-loader>\n </div>\n <div class=\"flex flex-row gap-3 items-center\">\n <mat-icon class=\"content-icon\"><sb-uic-skeleton-loader [bindingClass]=\"'flex rounded mb-2'\" [width]=\"'24px'\"\n [height]=\"'24px'\"></sb-uic-skeleton-loader></mat-icon>\n <div class=\"no-of-contents\"><sb-uic-skeleton-loader [bindingClass]=\"'flex rounded '\" [width]=\"'100px'\"\n [height]=\"'24px'\"></sb-uic-skeleton-loader></div>\n </div>\n <div class=\"line mt-3 mt-2\"></div>\n <div class=\"flex flex-wrap gap-3 pt-4 chip-container\">\n <sb-uic-skeleton-loader class=\"w-2/5\" [bindingClass]=\"'flex rounded '\" [width]=\"'100px'\"\n [height]=\"'24px'\"></sb-uic-skeleton-loader>\n <sb-uic-skeleton-loader class=\"w-2/5\" [bindingClass]=\"'flex rounded '\" [width]=\"'100px'\"\n [height]=\"'24px'\"></sb-uic-skeleton-loader>\n <sb-uic-skeleton-loader class=\"w-2/5\" [bindingClass]=\"'flex rounded '\" [width]=\"'100px'\"\n [height]=\"'24px'\"></sb-uic-skeleton-loader>\n </div>\n </div> \n </div>\n </div>\n </div>\n</div>\n</ng-container>",
17017
+ template: "<div class=\"competency-title\" *ngIf=\"objectData?.title\">{{objectData?.title}} \n <span class=\"competency-count\">\n ({{competencyStrength}})\n </span>\n</div>\n<div class=\"flex items-center justify-{{dynamicAlignPills}} gap-8 mt-5 mb-5 competency-filters\">\n <sb-uic-pills [pillsData]=\"competencyArea\" [dynamicColor]=\"dynamicColor\"\n [isLoading]=\"loadCompetencyArea\" (pillClick)=\"competencyChange($event)\" [selectedValue]=\"selectedValue\"></sb-uic-pills>\n</div>\n<div class=\"grid grid-cols-1 md:grid-cols-{{cardDisplayCount}} w-full grid-flow-row gap-5\" *ngIf=\"!loadCometency\">\n <div class=\"competency-card\" *ngFor=\"let obj of competencyTheme| slice:0:competencyThemeLength\">\n <div class=\"flex-1 flex-col\">\n <div class=\"competency-theme\"></div>\n <div class=\"details flex flex-col\">\n <div class=\"flex flex-col p-4\">\n <div class=\"flex flex-row cursor-pointer\">\n <div class=\"flex flex-row gap-2 items-center\">\n <div class=\"name\">{{allcompetencyTheme[obj?.name]?.displayName}}</div>\n <!-- <div class=\"flex items-baseline\">\n <img src=\"assets/icons/competency/cp-arrow.svg\" class=\"arrow-img cursor-pointer\" alt=\"cp arrow img\" (click)=\"navigateToCompetency(obj)\" />\n </div> -->\n </div>\n </div>\n <div class=\"flex flex-row pt-3 pb-3 description\">\n {{ allcompetencyTheme[obj.name]?.description }} \n </div>\n <div class=\"flex flex-row gap-3 items-center\">\n <mat-icon class=\"content-icon\">school</mat-icon>\n <div class=\"no-of-contents\">{{obj.count}} Contents</div>\n </div>\n <div class=\"line mt-3 mt-2\"></div>\n <div class=\"flex flex-wrap gap-3 pt-4 chip-container\">\n <ng-container *ngFor=\"let child of allcompetencyTheme[obj.name]?.children| slice:0: allcompetencyTheme[obj.name]?.viewMore ? allcompetencyTheme[obj.name]?.children?.length : 3; let i = index\">\n <div class=\"chip rounded-full p-2 text-xs chip-ellipsis\" [title]=\"child?.displayName\" >\n {{ child?.displayName }}\n </div>\n </ng-container>\n <div class=\"p-2 info-btn cursor-pointer\"\n *ngIf=\"allcompetencyTheme[obj.name]?.children.length > 3 && !allcompetencyTheme[obj.name]?.viewMore\" (click)=\"viewMoreChildren(allcompetencyTheme[obj.name])\">\n View more\n </div>\n <div class=\"p-2 info-btn cursor-pointer\"\n *ngIf=\"allcompetencyTheme[obj.name]?.children.length > 3 && allcompetencyTheme[obj.name]?.viewMore\" (click)=\"viewMoreChildren(allcompetencyTheme[obj.name])\">\n View less\n </div>\n </div>\n </div> \n </div>\n </div>\n </div>\n</div>\n<ng-container *ngIf=\"competencyTheme.length > 6 && !loadCometency\">\n <div class=\"flex items-center justify-center gap-8 mt-5 mb-5 competency-filters\">\n <sb-uic-pills [pillsData]=\"showAllTheme\" [requiredTitlecase]=\"false\" [dynamicColor]=\"dynamicColor\" (pillClick)=\"displayAllTheme($event)\"></sb-uic-pills>\n </div>\n</ng-container> \n\n<ng-container *ngIf=\"loadCometency\">\n\n<div class=\"grid grid-cols-1 md:grid-cols-{{cardDisplayCount}} w-full grid-flow-row gap-5\">\n <div *ngFor=\"let obj of [0,1,2,3,4,5]\">\n <div class=\"flex-1 flex-col\">\n <div class=\"competency-theme\"></div>\n <div class=\"details flex flex-col\">\n <div class=\"flex flex-col p-4\">\n <div class=\"flex flex-row cursor-pointer\">\n <div class=\"flex flex-row gap-2 items-center w-full\">\n <div class=\"name w-full\">\n <sb-uic-skeleton-loader [bindingClass]=\"'flex rounded mb-2'\" [width]=\"'100%'\"\n [height]=\"'24px'\"></sb-uic-skeleton-loader>\n <sb-uic-skeleton-loader [bindingClass]=\"'flex rounded'\" [width]=\"'80%'\"\n [height]=\"'24px'\"></sb-uic-skeleton-loader>\n </div>\n </div>\n </div>\n <div class=\"pt-3 pb-3 description\">\n <sb-uic-skeleton-loader class=\"w-full\" [bindingClass]=\"'flex rounded mb-2'\" [width]=\"'100%'\"\n [height]=\"'24px'\"></sb-uic-skeleton-loader>\n <sb-uic-skeleton-loader class=\"w-full\" [bindingClass]=\"'flex rounded'\" [width]=\"'80%'\"\n [height]=\"'24px'\"></sb-uic-skeleton-loader>\n </div>\n <div class=\"flex flex-row gap-3 items-center\">\n <mat-icon class=\"content-icon\"><sb-uic-skeleton-loader [bindingClass]=\"'flex rounded mb-2'\" [width]=\"'24px'\"\n [height]=\"'24px'\"></sb-uic-skeleton-loader></mat-icon>\n <div class=\"no-of-contents\"><sb-uic-skeleton-loader [bindingClass]=\"'flex rounded '\" [width]=\"'100px'\"\n [height]=\"'24px'\"></sb-uic-skeleton-loader></div>\n </div>\n <div class=\"line mt-3 mt-2\"></div>\n <div class=\"flex flex-wrap gap-3 pt-4 chip-container\">\n <sb-uic-skeleton-loader class=\"w-2/5\" [bindingClass]=\"'flex rounded '\" [width]=\"'100px'\"\n [height]=\"'24px'\"></sb-uic-skeleton-loader>\n <sb-uic-skeleton-loader class=\"w-2/5\" [bindingClass]=\"'flex rounded '\" [width]=\"'100px'\"\n [height]=\"'24px'\"></sb-uic-skeleton-loader>\n <sb-uic-skeleton-loader class=\"w-2/5\" [bindingClass]=\"'flex rounded '\" [width]=\"'100px'\"\n [height]=\"'24px'\"></sb-uic-skeleton-loader>\n </div>\n </div> \n </div>\n </div>\n </div>\n</div>\n</ng-container>",
16891
17018
  styles: [".competencies-backgroud{background-color:#1b2133}.competency-title{font-family:Montserrat;font-size:16px;font-weight:600;line-height:19.5px;text-align:left;color:#fff}.competency-count{color:#f3962f}.filter-button{padding:12px 16px;border-radius:50px;border:1px solid #fff;font-family:Lato;font-size:14px;font-weight:700;line-height:16.8px;text-align:center;background-color:transparent;color:#fff;cursor:pointer}.filter-button.active{background:#1b4ca1}.banner-metrics{background:linear-gradient(180deg,#f9cb97 -107.59%,#ef951e 110.74%)}.infra-background{background:#1b4ca1}.competency-theme{height:16px;border-top-left-radius:12px;border-top-right-radius:12px;background-color:#f8b861}.details{background-color:#fff;border-radius:12px;position:relative;top:-8px;min-height:278px}.name{font-family:Montserrat;font-size:16px;font-weight:600;line-height:19.5px;text-align:left}.description{font-family:Lato;font-size:14px;font-weight:400;line-height:16.8px;text-align:left;height:42px;display:-webkit-box!important;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis}.no-of-contents{font-family:Lato;font-size:14px;font-weight:700;line-height:16.8px;text-align:center;color:#1b4ca1}.content-icon{color:#1b4ca1}.line{border-top:1px solid #e2dddd}.chip{padding:8px 16px;gap:8px;border-radius:50px;border:1px solid #1b4ca1;color:#1b4ca1;font-family:Lato;font-size:14px;font-weight:700;text-align:center}.chip-ellipsis{white-space:nowrap;max-width:110px;overflow:hidden;text-overflow:ellipsis}.info-btn{font-family:Lato;font-size:14px;font-weight:700;line-height:16.8px;text-align:center;opacity:.7;padding:12px 5px}.hide{display:none}.behavioral{background-color:#f8b861}.functional{background-color:#e24577}.domain{background-color:#7b47a4}.competency-card{z-index:999}"]
16892
17019
  }] }
16893
17020
  ];
@@ -16896,7 +17023,8 @@
16896
17023
  { type: utilsV2.ConfigurationsService },
16897
17024
  { type: WidgetContentService },
16898
17025
  { type: CompetencyPassbookMdoService },
16899
- { type: router.Router }
17026
+ { type: router.Router },
17027
+ { type: undefined, decorators: [{ type: core.Inject, args: ['environment',] }] }
16900
17028
  ]; };
16901
17029
  CompetencyPassbookMdoComponent.propDecorators = {
16902
17030
  objectData: [{ type: core.Input }],
@@ -16952,6 +17080,10 @@
16952
17080
  /** @type {?} */
16953
17081
  CompetencyPassbookMdoComponent.prototype.showAllTheme;
16954
17082
  /** @type {?} */
17083
+ CompetencyPassbookMdoComponent.prototype.environment;
17084
+ /** @type {?} */
17085
+ CompetencyPassbookMdoComponent.prototype.comeptencyKeys;
17086
+ /** @type {?} */
16955
17087
  CompetencyPassbookMdoComponent.prototype.configSvc;
16956
17088
  /** @type {?} */
16957
17089
  CompetencyPassbookMdoComponent.prototype.contentSvc;
@@ -18149,6 +18281,1280 @@
18149
18281
  return ProvidersModule;
18150
18282
  }());
18151
18283
 
18284
+ /**
18285
+ * @fileoverview added by tsickle
18286
+ * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
18287
+ */
18288
+ var NationalLearningComponent = /** @class */ (function () {
18289
+ function NationalLearningComponent(router, events) {
18290
+ this.router = router;
18291
+ this.events = events;
18292
+ this.sectionList = [];
18293
+ this.providerId = '123456789';
18294
+ this.descriptionMaxLength = 500;
18295
+ }
18296
+ /**
18297
+ * @return {?}
18298
+ */
18299
+ NationalLearningComponent.prototype.ngOnInit = /**
18300
+ * @return {?}
18301
+ */
18302
+ function () {
18303
+ };
18304
+ /**
18305
+ * @param {?} event
18306
+ * @param {?} learnerReview
18307
+ * @return {?}
18308
+ */
18309
+ NationalLearningComponent.prototype.hideKeyHightlight = /**
18310
+ * @param {?} event
18311
+ * @param {?} learnerReview
18312
+ * @return {?}
18313
+ */
18314
+ function (event, learnerReview) {
18315
+ if (event) {
18316
+ learnerReview['hideSection'] = true;
18317
+ }
18318
+ };
18319
+ /**
18320
+ * @param {?} _stripData
18321
+ * @param {?} columnData
18322
+ * @return {?}
18323
+ */
18324
+ NationalLearningComponent.prototype.showAllContent = /**
18325
+ * @param {?} _stripData
18326
+ * @param {?} columnData
18327
+ * @return {?}
18328
+ */
18329
+ function (_stripData, columnData) {
18330
+ if (columnData && columnData.contentStrip && columnData.contentStrip.strips && columnData.contentStrip.strips.length) {
18331
+ /** @type {?} */
18332
+ var stripData = _stripData;
18333
+ /** @type {?} */
18334
+ var tabSelected = stripData.viewMoreUrl && stripData.viewMoreUrl.queryParams && stripData.viewMoreUrl.queryParams.tabSelected && stripData.viewMoreUrl.queryParams.tabSelected || '';
18335
+ this.router.navigate(["app/learn/national-learning-week/see-all"], { queryParams: { pageDetails: true, tabSelected: tabSelected, key: columnData.sectionKey } });
18336
+ }
18337
+ else {
18338
+ this.router.navigate(["/app/learn/browse-by/provider/" + this.providerName + "/" + this.providerId + "/all-CBP"], { queryParams: { pageDetails: true } });
18339
+ }
18340
+ };
18341
+ /**
18342
+ * @param {?} event
18343
+ * @param {?} contentStripData
18344
+ * @return {?}
18345
+ */
18346
+ NationalLearningComponent.prototype.hideContentStrip = /**
18347
+ * @param {?} event
18348
+ * @param {?} contentStripData
18349
+ * @return {?}
18350
+ */
18351
+ function (event, contentStripData) {
18352
+ if (event) {
18353
+ contentStripData.contentStrip['hideSection'] = true;
18354
+ }
18355
+ };
18356
+ /**
18357
+ * @param {?} event
18358
+ * @return {?}
18359
+ */
18360
+ NationalLearningComponent.prototype.raiseTabClick = /**
18361
+ * @param {?} event
18362
+ * @return {?}
18363
+ */
18364
+ function (event) {
18365
+ this.events.raiseInteractTelemetry({
18366
+ type: 'click',
18367
+ subType: 'mdo-leaderboard',
18368
+ id: event + "-tab",
18369
+ }, {}, {
18370
+ module: 'National Learning Week',
18371
+ });
18372
+ };
18373
+ /**
18374
+ * @param {?} event
18375
+ * @return {?}
18376
+ */
18377
+ NationalLearningComponent.prototype.raiseTelemetryInteratEvent = /**
18378
+ * @param {?} event
18379
+ * @return {?}
18380
+ */
18381
+ function (event) {
18382
+ this.events.raiseInteractTelemetry({
18383
+ type: 'click',
18384
+ subType: 'mandatory-courses',
18385
+ id: "mandatory-courses-card",
18386
+ }, {
18387
+ id: event.identifier,
18388
+ type: event.primaryCategory,
18389
+ }, {
18390
+ pageIdExt: "mandatory-courses-card",
18391
+ module: 'National Learning Week',
18392
+ });
18393
+ };
18394
+ NationalLearningComponent.decorators = [
18395
+ { type: core.Component, args: [{
18396
+ selector: 'sb-uic-national-learning',
18397
+ 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",
18398
+ 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}}"]
18399
+ }] }
18400
+ ];
18401
+ /** @nocollapse */
18402
+ NationalLearningComponent.ctorParameters = function () { return [
18403
+ { type: router.Router },
18404
+ { type: utilsV2.EventService }
18405
+ ]; };
18406
+ NationalLearningComponent.propDecorators = {
18407
+ sectionList: [{ type: core.Input }],
18408
+ configDetails: [{ type: core.Input }],
18409
+ nwlConfiguration: [{ type: core.Input }]
18410
+ };
18411
+ return NationalLearningComponent;
18412
+ }());
18413
+ if (false) {
18414
+ /** @type {?} */
18415
+ NationalLearningComponent.prototype.sectionList;
18416
+ /** @type {?} */
18417
+ NationalLearningComponent.prototype.configDetails;
18418
+ /** @type {?} */
18419
+ NationalLearningComponent.prototype.nwlConfiguration;
18420
+ /** @type {?} */
18421
+ NationalLearningComponent.prototype.providerId;
18422
+ /** @type {?} */
18423
+ NationalLearningComponent.prototype.providerName;
18424
+ /** @type {?} */
18425
+ NationalLearningComponent.prototype.descriptionMaxLength;
18426
+ /** @type {?} */
18427
+ NationalLearningComponent.prototype.router;
18428
+ /**
18429
+ * @type {?}
18430
+ * @private
18431
+ */
18432
+ NationalLearningComponent.prototype.events;
18433
+ }
18434
+
18435
+ /**
18436
+ * @fileoverview added by tsickle
18437
+ * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
18438
+ */
18439
+ var KeyHighlightsComponent = /** @class */ (function () {
18440
+ function KeyHighlightsComponent() {
18441
+ this.currentIndex = 0;
18442
+ this.providerId = '';
18443
+ this.formData = '';
18444
+ this.emptyResponse = new core.EventEmitter();
18445
+ this.styleData = {};
18446
+ this.contentdata = [];
18447
+ }
18448
+ /**
18449
+ * @return {?}
18450
+ */
18451
+ KeyHighlightsComponent.prototype.ngOnInit = /**
18452
+ * @return {?}
18453
+ */
18454
+ function () {
18455
+ this.styleData = this.formData && this.formData.sliderData && this.formData.sliderData.styleData;
18456
+ this.contentdata = this.formData && this.formData.content ? this.formData.content : [];
18457
+ };
18458
+ /**
18459
+ * @param {?} indexValue
18460
+ * @return {?}
18461
+ */
18462
+ KeyHighlightsComponent.prototype.getCurrentIndex = /**
18463
+ * @param {?} indexValue
18464
+ * @return {?}
18465
+ */
18466
+ function (indexValue) {
18467
+ this.currentIndex = indexValue;
18468
+ };
18469
+ KeyHighlightsComponent.decorators = [
18470
+ { type: core.Component, args: [{
18471
+ selector: 'sb-uic-key-highlights',
18472
+ template: "<ng-container *ngIf=\"contentdata?.length && mode === 'desktop'\">\n <div class=\"key-highlighs-container\">\n <sb-uic-sliders-ng-content\n [title]=\"'providerName'\"\n [autoScroll]=\"true\"\n [currentIndex]=\"currentIndex\" \n (currentIndexValue)=\"getCurrentIndex($event)\"\n [loadNgContentData]=\"true\"\n [customBanner]=\"true\"\n [widgetData]=\"contentdata\" [styleData]=\"styleData\">\n <div sliderbody>\n <div *ngFor=\"let content of contentdata; let i = index\" [hidden]=\"i !== currentIndex\">\n <div class=\"flex flex-row key-wrapper items-center justify-center\">\n <div class=\"kh-description\"> {{content?.title}}</div>\n </div>\n </div>\n </div> \n </sb-uic-sliders-ng-content>\n </div>\n</ng-container>\n\n<ng-container *ngIf=\"contentdata?.length && mode === 'mobile'\">\n <div class=\"p-5\">\n <div class=\"mob-key-highlighs-container\">\n <sb-uic-sliders-ng-content\n [title]=\"'providerName'\"\n [autoScroll]=\"true\"\n [currentIndex]=\"currentIndex\" \n (currentIndexValue)=\"getCurrentIndex($event)\"\n [loadNgContentData]=\"true\"\n [customBanner]=\"true\"\n [widgetData]=\"contentdata\" [styleData]=\"styleData\">\n <div sliderbody>\n <div *ngFor=\"let content of contentdata; let i = index\" [hidden]=\"i !== currentIndex\">\n <div class=\"flex flex-row mkey-wrapper items-center justify-center\">\n <div class=\"mkh-description\"> {{content?.title}}</div>\n </div>\n </div>\n </div>\n </sb-uic-sliders-ng-content>\n </div>\n </div>\n</ng-container>",
18473
+ styles: [".kh-description{font-family:Montserrat;font-size:16px;font-weight:600;line-height:19.5px;text-align:center;padding:0 10px}.key-wrapper{background-color:#eaf1f8;padding:25px 16px;border-radius:50px}.mkey-wrapper{background-color:#eaf1f8;padding:16px;border-radius:50px}.mkh-description{font-family:Lato;font-size:14px;font-weight:700;line-height:16.8px;text-align:center;padding:0 30px}"]
18474
+ }] }
18475
+ ];
18476
+ /** @nocollapse */
18477
+ KeyHighlightsComponent.ctorParameters = function () { return []; };
18478
+ KeyHighlightsComponent.propDecorators = {
18479
+ providerId: [{ type: core.Input }],
18480
+ formData: [{ type: core.Input }],
18481
+ mode: [{ type: core.Input }],
18482
+ emptyResponse: [{ type: core.Output }],
18483
+ scrollableItems: [{ type: core.ViewChildren, args: [ScrollableItemDirective,] }]
18484
+ };
18485
+ return KeyHighlightsComponent;
18486
+ }());
18487
+ if (false) {
18488
+ /** @type {?} */
18489
+ KeyHighlightsComponent.prototype.currentIndex;
18490
+ /** @type {?} */
18491
+ KeyHighlightsComponent.prototype.providerId;
18492
+ /** @type {?} */
18493
+ KeyHighlightsComponent.prototype.formData;
18494
+ /** @type {?} */
18495
+ KeyHighlightsComponent.prototype.mode;
18496
+ /** @type {?} */
18497
+ KeyHighlightsComponent.prototype.emptyResponse;
18498
+ /** @type {?} */
18499
+ KeyHighlightsComponent.prototype.styleData;
18500
+ /** @type {?} */
18501
+ KeyHighlightsComponent.prototype.contentdata;
18502
+ /** @type {?} */
18503
+ KeyHighlightsComponent.prototype.scrollableItems;
18504
+ }
18505
+
18506
+ /**
18507
+ * @fileoverview added by tsickle
18508
+ * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
18509
+ */
18510
+ var KeyHighlightsModule = /** @class */ (function () {
18511
+ function KeyHighlightsModule() {
18512
+ }
18513
+ KeyHighlightsModule.decorators = [
18514
+ { type: core.NgModule, args: [{
18515
+ declarations: [KeyHighlightsComponent],
18516
+ imports: [
18517
+ common.CommonModule,
18518
+ material.MatIconModule,
18519
+ SlidersNgContentLibModule,
18520
+ ScrollableItemModule
18521
+ ],
18522
+ exports: [
18523
+ KeyHighlightsComponent
18524
+ ],
18525
+ schemas: [core.CUSTOM_ELEMENTS_SCHEMA]
18526
+ },] }
18527
+ ];
18528
+ return KeyHighlightsModule;
18529
+ }());
18530
+
18531
+ /**
18532
+ * @fileoverview added by tsickle
18533
+ * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
18534
+ */
18535
+ /** @type {?} */
18536
+ var moment$2 = moment$4;
18537
+ var EventsComponent = /** @class */ (function () {
18538
+ function EventsComponent(insightSvc) {
18539
+ this.insightSvc = insightSvc;
18540
+ this.daysBetween = [];
18541
+ this.events = [];
18542
+ this.loader = false;
18543
+ }
18544
+ /**
18545
+ * @return {?}
18546
+ */
18547
+ EventsComponent.prototype.ngOnInit = /**
18548
+ * @return {?}
18549
+ */
18550
+ function () {
18551
+ this.requestBody = {
18552
+ locale: [
18553
+ 'en',
18554
+ ],
18555
+ query: '',
18556
+ request: {
18557
+ query: '',
18558
+ filters: {
18559
+ status: ['Live'],
18560
+ contentType: 'Event',
18561
+ category: 'Event',
18562
+ startDate: {
18563
+ ">=": '',
18564
+ "<": ''
18565
+ }
18566
+ },
18567
+ sort_by: {
18568
+ startDate: 'desc',
18569
+ },
18570
+ },
18571
+ };
18572
+ this.getEventsList();
18573
+ };
18574
+ /**
18575
+ * @return {?}
18576
+ */
18577
+ EventsComponent.prototype.getDaysBetweenDates = /**
18578
+ * @return {?}
18579
+ */
18580
+ function () {
18581
+ /** @type {?} */
18582
+ var currentDate = moment$2(this.nwlEventsConfig.startDate, 'DD-MM-YYYY');
18583
+ /** @type {?} */
18584
+ var endDate = moment$2(this.nwlEventsConfig.endDate, 'DD-MM-YYYY');
18585
+ while (currentDate.isSameOrBefore(endDate)) {
18586
+ /** @type {?} */
18587
+ var localObj = {};
18588
+ localObj['startDate'] = currentDate.format('YYYY-MM-DD');
18589
+ localObj['diplayFormat'] = currentDate.format('MMM DD, YYYY');
18590
+ if (currentDate.isSame(moment$2(), 'day')) {
18591
+ this.currentDay = currentDate.format('YYYY-MM-DD');
18592
+ }
18593
+ currentDate.add(1, 'days').format('YYYY-MM-DD');
18594
+ this.daysBetween.push(localObj);
18595
+ }
18596
+ console.log("currentDay ", this.currentDay);
18597
+ };
18598
+ /**
18599
+ * @param {?} slectedDate
18600
+ * @return {?}
18601
+ */
18602
+ EventsComponent.prototype.getEvents = /**
18603
+ * @param {?} slectedDate
18604
+ * @return {?}
18605
+ */
18606
+ function (slectedDate) {
18607
+ var _this = this;
18608
+ this.currentDay = slectedDate.target.value;
18609
+ /** @type {?} */
18610
+ var nextDay = moment$2(slectedDate.target.value, 'YYYY-MM-DD');
18611
+ nextDay.add(1, 'days');
18612
+ this.requestBody.request.filters.startDate[">="] = this.currentDay;
18613
+ this.requestBody.request.filters.startDate["<"] = nextDay.format('YYYY-MM-DD');
18614
+ this.loader = true;
18615
+ this.insightSvc.fetchTrainingDetails(this.requestBody).subscribe((/**
18616
+ * @param {?} res
18617
+ * @return {?}
18618
+ */
18619
+ function (res) {
18620
+ _this.events = [];
18621
+ if (res && res.result && res.result.count > 0) {
18622
+ _this.events = res.result.Event;
18623
+ _this.loader = false;
18624
+ }
18625
+ else {
18626
+ _this.loader = false;
18627
+ }
18628
+ }), (/**
18629
+ * @param {?} error
18630
+ * @return {?}
18631
+ */
18632
+ function (error) {
18633
+ _this.loader = false;
18634
+ }));
18635
+ };
18636
+ /**
18637
+ * @return {?}
18638
+ */
18639
+ EventsComponent.prototype.getEventsList = /**
18640
+ * @return {?}
18641
+ */
18642
+ function () {
18643
+ var _this = this;
18644
+ this.getDaysBetweenDates();
18645
+ /** @type {?} */
18646
+ var nextDay = moment$2(this.currentDay, 'YYYY-MM-DD');
18647
+ nextDay.add(1, 'days');
18648
+ this.requestBody.request.filters.startDate[">="] = this.currentDay;
18649
+ this.requestBody.request.filters.startDate["<"] = nextDay.format('YYYY-MM-DD');
18650
+ this.loader = true;
18651
+ this.insightSvc.fetchTrainingDetails(this.requestBody).subscribe((/**
18652
+ * @param {?} res
18653
+ * @return {?}
18654
+ */
18655
+ function (res) {
18656
+ _this.events = [];
18657
+ if (res && res.result && res.result.count > 0) {
18658
+ _this.events = res.result.Event;
18659
+ _this.loader = false;
18660
+ }
18661
+ else {
18662
+ _this.loader = false;
18663
+ }
18664
+ }), (/**
18665
+ * @param {?} error
18666
+ * @return {?}
18667
+ */
18668
+ function (error) {
18669
+ _this.loader = false;
18670
+ }));
18671
+ };
18672
+ EventsComponent.decorators = [
18673
+ { type: core.Component, args: [{
18674
+ selector: 'sb-uic-events',
18675
+ 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>",
18676
+ 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}"]
18677
+ }] }
18678
+ ];
18679
+ /** @nocollapse */
18680
+ EventsComponent.ctorParameters = function () { return [
18681
+ { type: InsiteDataService }
18682
+ ]; };
18683
+ EventsComponent.propDecorators = {
18684
+ object: [{ type: core.Input }],
18685
+ nwlEventsConfig: [{ type: core.Input }]
18686
+ };
18687
+ return EventsComponent;
18688
+ }());
18689
+ if (false) {
18690
+ /** @type {?} */
18691
+ EventsComponent.prototype.object;
18692
+ /** @type {?} */
18693
+ EventsComponent.prototype.nwlEventsConfig;
18694
+ /** @type {?} */
18695
+ EventsComponent.prototype.daysBetween;
18696
+ /** @type {?} */
18697
+ EventsComponent.prototype.events;
18698
+ /** @type {?} */
18699
+ EventsComponent.prototype.requestBody;
18700
+ /** @type {?} */
18701
+ EventsComponent.prototype.currentDay;
18702
+ /** @type {?} */
18703
+ EventsComponent.prototype.loader;
18704
+ /** @type {?} */
18705
+ EventsComponent.prototype.insightSvc;
18706
+ }
18707
+
18708
+ /**
18709
+ * @fileoverview added by tsickle
18710
+ * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
18711
+ */
18712
+ /** @type {?} */
18713
+ var moment$3 = moment$4;
18714
+ var EventCardComponent = /** @class */ (function () {
18715
+ function EventCardComponent(environment, router) {
18716
+ this.router = router;
18717
+ this.descriptionMaxLength = 50;
18718
+ this.environment = environment;
18719
+ }
18720
+ /**
18721
+ * @param {?} event
18722
+ * @return {?}
18723
+ */
18724
+ EventCardComponent.prototype.getEventDate = /**
18725
+ * @param {?} event
18726
+ * @return {?}
18727
+ */
18728
+ function (event) {
18729
+ /** @type {?} */
18730
+ var timeString = event.startTime.split(":");
18731
+ /** @type {?} */
18732
+ var dataString = moment$3(event.startDate).format('MMM DD, YYYY') + " " + timeString[0] + ":" + timeString[1];
18733
+ return dataString;
18734
+ };
18735
+ /**
18736
+ * @param {?} url
18737
+ * @return {?}
18738
+ */
18739
+ EventCardComponent.prototype.getPublicUrl = /**
18740
+ * @param {?} url
18741
+ * @return {?}
18742
+ */
18743
+ function (url) {
18744
+ /** @type {?} */
18745
+ var mainUrl = url.split('/content').pop() || '';
18746
+ return this.environment.contentHost + "/" + this.environment.contentBucket + "/content" + mainUrl;
18747
+ };
18748
+ /**
18749
+ * @param {?} event
18750
+ * @return {?}
18751
+ */
18752
+ EventCardComponent.prototype.redirectTo = /**
18753
+ * @param {?} event
18754
+ * @return {?}
18755
+ */
18756
+ function (event) {
18757
+ this.router.navigate(["/app/event-hub/home/", event.identifier]);
18758
+ };
18759
+ EventCardComponent.decorators = [
18760
+ { type: core.Component, args: [{
18761
+ selector: 'sb-uic-event-card',
18762
+ template: "<div class=\"events-card margin-bottom-m cursor-pointer\" *ngIf=\"!loader\" (click)=\"redirectTo(eventDetails)\">\n <div class=\"flex gap-4\">\n <div class=\"event-poster\">\n <img class='poster' [src]=\"eventDetails.appIcon ? getPublicUrl(eventDetails.appIcon) : objectData?.defaultImage\" alt=\"\" />\n </div>\n <div class=\"flex flex-col\">\n <div class=\"flex\">\n <div class=\"flex event-label\">{{eventDetails?.resourceType}}</div>\n </div>\n <div class=\"orgName pt-2 pb-1\">\n {{eventDetails?.owner}}\n </div>\n <div class=\"event-title pt-1\">\n {{eventDetails?.name | slice:0:descriptionMaxLength}}\n <span *ngIf=\"eventDetails?.name?.length > descriptionMaxLength\">...</span>\n </div>\n <div class=\"event-date pt-2\">{{getEventDate(eventDetails)}}</div>\n </div>\n </div>\n</div>\n<div *ngIf=\"loader\">\n <div class=\"events-card margin-bottom-m\">\n <div class=\"flex gap-4\">\n <div class=\"event-poster\">\n <sb-uic-skeleton-loader [bindingClass]=\"'flex rounded objIcon '\" [width]=\"'180px'\" [height]=\"'107px'\">\n </sb-uic-skeleton-loader>\n </div>\n <div class=\"flex flex-col\">\n <div class=\"flex\">\n <sb-uic-skeleton-loader [bindingClass]=\"'flex rounded objIcon '\" [width]=\"'60px'\" [height]=\"'21px'\">\n </sb-uic-skeleton-loader>\n </div>\n <div class=\"flex orgName pt-2 pb-1\">\n <sb-uic-skeleton-loader [bindingClass]=\"'flex rounded objIcon '\" [width]=\"'355px'\" [height]=\"'21px'\">\n </sb-uic-skeleton-loader>\n </div>\n <div class=\"flex event-title pt-1\">\n <sb-uic-skeleton-loader [bindingClass]=\"'flex rounded objIcon '\" [width]=\"'355px'\" [height]=\"'21px'\">\n </sb-uic-skeleton-loader>\n </div>\n <div class=\"event-date pt-2\">\n <sb-uic-skeleton-loader [bindingClass]=\"'flex rounded objIcon '\" [width]=\"'355px'\" [height]=\"'21px'\">\n </sb-uic-skeleton-loader>\n </div>\n </div>\n </div>\n </div>\n</div>",
18763
+ styles: [".events-card{padding:16px;border-radius:12px;border:1px solid #c3c3c3}.events-card .poster{width:180px;height:107px;border-radius:12px}.events-card .event-label{border:1px solid #ef951e;background:rgba(239,149,30,.05);border-radius:45px;font:400 14px/16.8px Lato;padding:8px 12px}.events-card .orgName{font-family:Lato;font-size:12px;font-weight:400;line-height:14.4px;text-align:left;opacity:.6}.events-card .event-title{font-family:Lato;font-size:14px;font-weight:700;line-height:16.8px;text-align:left}.events-card .event-date{font-family:Lato;font-size:12px;font-weight:400;line-height:14.4px;text-align:left;color:#1b4ca1}@media screen and (min-width:320px) and (max-width:769px){.events-card .poster{width:80px;height:69px}}"]
18764
+ }] }
18765
+ ];
18766
+ /** @nocollapse */
18767
+ EventCardComponent.ctorParameters = function () { return [
18768
+ { type: undefined, decorators: [{ type: core.Inject, args: ['environment',] }] },
18769
+ { type: router.Router }
18770
+ ]; };
18771
+ EventCardComponent.propDecorators = {
18772
+ objectData: [{ type: core.Input }],
18773
+ eventDetails: [{ type: core.Input }],
18774
+ loader: [{ type: core.Input }]
18775
+ };
18776
+ return EventCardComponent;
18777
+ }());
18778
+ if (false) {
18779
+ /** @type {?} */
18780
+ EventCardComponent.prototype.objectData;
18781
+ /** @type {?} */
18782
+ EventCardComponent.prototype.eventDetails;
18783
+ /** @type {?} */
18784
+ EventCardComponent.prototype.environment;
18785
+ /** @type {?} */
18786
+ EventCardComponent.prototype.loader;
18787
+ /** @type {?} */
18788
+ EventCardComponent.prototype.descriptionMaxLength;
18789
+ /**
18790
+ * @type {?}
18791
+ * @private
18792
+ */
18793
+ EventCardComponent.prototype.router;
18794
+ }
18795
+
18796
+ /**
18797
+ * @fileoverview added by tsickle
18798
+ * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
18799
+ */
18800
+ var EventsModule = /** @class */ (function () {
18801
+ function EventsModule() {
18802
+ }
18803
+ EventsModule.decorators = [
18804
+ { type: core.NgModule, args: [{
18805
+ declarations: [EventsComponent, EventCardComponent],
18806
+ imports: [
18807
+ common.CommonModule,
18808
+ router.RouterModule,
18809
+ SkeletonLoaderLibModule,
18810
+ ],
18811
+ exports: [EventsComponent, EventCardComponent]
18812
+ },] }
18813
+ ];
18814
+ return EventsModule;
18815
+ }());
18816
+
18817
+ /**
18818
+ * @fileoverview added by tsickle
18819
+ * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
18820
+ */
18821
+ var MdoLeaderboardComponent = /** @class */ (function () {
18822
+ function MdoLeaderboardComponent(insiteDataService) {
18823
+ this.insiteDataService = insiteDataService;
18824
+ this.currentTab = 'XL';
18825
+ this.result = [];
18826
+ this.searchTerm = '';
18827
+ this.expand = true;
18828
+ this.tabClicked = new core.EventEmitter();
18829
+ }
18830
+ /**
18831
+ * @return {?}
18832
+ */
18833
+ MdoLeaderboardComponent.prototype.ngOnInit = /**
18834
+ * @return {?}
18835
+ */
18836
+ function () {
18837
+ this.getData();
18838
+ };
18839
+ /**
18840
+ * @return {?}
18841
+ */
18842
+ MdoLeaderboardComponent.prototype.getData = /**
18843
+ * @return {?}
18844
+ */
18845
+ function () {
18846
+ var _this = this;
18847
+ this.insiteDataService.fetchLeaderboard().subscribe((/**
18848
+ * @param {?} res
18849
+ * @return {?}
18850
+ */
18851
+ function (res) {
18852
+ if (res && res.result) {
18853
+ _this.result = res.result;
18854
+ _this.filteredData = _this.result.mdoLeaderBoard
18855
+ .filter((/**
18856
+ * @param {?} user
18857
+ * @return {?}
18858
+ */
18859
+ function (user) { return user.size === _this.currentTab; }))
18860
+ .map((/**
18861
+ * @param {?} user
18862
+ * @return {?}
18863
+ */
18864
+ function (user) { return (__assign({}, user, { children: [], selected: false })); }));
18865
+ }
18866
+ }), (/**
18867
+ * @param {?} error
18868
+ * @return {?}
18869
+ */
18870
+ function (error) {
18871
+ console.log(error);
18872
+ }));
18873
+ };
18874
+ /**
18875
+ * @param {?} name
18876
+ * @return {?}
18877
+ */
18878
+ MdoLeaderboardComponent.prototype.getTabData = /**
18879
+ * @param {?} name
18880
+ * @return {?}
18881
+ */
18882
+ function (name) {
18883
+ var _this = this;
18884
+ this.currentTab = name;
18885
+ this.searchTerm = '';
18886
+ this.filteredData = this.result.mdoLeaderBoard
18887
+ .filter((/**
18888
+ * @param {?} user
18889
+ * @return {?}
18890
+ */
18891
+ function (user) { return user.size === _this.currentTab; }))
18892
+ .map((/**
18893
+ * @param {?} user
18894
+ * @return {?}
18895
+ */
18896
+ function (user) { return (__assign({}, user, { children: [], selected: false })); }));
18897
+ /** @type {?} */
18898
+ var nameStr = '';
18899
+ switch (name) {
18900
+ case 'XL':
18901
+ nameStr = 'greater-than-50K';
18902
+ break;
18903
+ case 'L':
18904
+ nameStr = '10K-50K';
18905
+ break;
18906
+ case 'M':
18907
+ nameStr = '1K-10K';
18908
+ break;
18909
+ case 'S':
18910
+ nameStr = '500-1K';
18911
+ break;
18912
+ default:
18913
+ nameStr = 'less-than-500';
18914
+ break;
18915
+ }
18916
+ this.tabClicked.emit(nameStr);
18917
+ };
18918
+ /**
18919
+ * @param {?} rank
18920
+ * @return {?}
18921
+ */
18922
+ MdoLeaderboardComponent.prototype.getRank = /**
18923
+ * @param {?} rank
18924
+ * @return {?}
18925
+ */
18926
+ function (rank) {
18927
+ return [1, 2, 3].includes(rank) ? "rank" + rank : 'rank0';
18928
+ };
18929
+ /**
18930
+ * @param {?} rank
18931
+ * @return {?}
18932
+ */
18933
+ MdoLeaderboardComponent.prototype.getMedal = /**
18934
+ * @param {?} rank
18935
+ * @return {?}
18936
+ */
18937
+ function (rank) {
18938
+ if (rank === 1) {
18939
+ return 'assets/images/national-learning/Medal1.svg';
18940
+ }
18941
+ else if (rank === 2) {
18942
+ return 'assets/images/national-learning/Medal2.svg';
18943
+ }
18944
+ else {
18945
+ return 'assets/images/national-learning/Medal3.svg';
18946
+ }
18947
+ };
18948
+ /**
18949
+ * @param {?} e
18950
+ * @return {?}
18951
+ */
18952
+ MdoLeaderboardComponent.prototype.handleSearchQuery = /**
18953
+ * @param {?} e
18954
+ * @return {?}
18955
+ */
18956
+ function (e) {
18957
+ var _this = this;
18958
+ if (e.target.value && e.target.value.length > 0) {
18959
+ this.searchTerm = e.target.value;
18960
+ this.filteredData = this.result.mdoLeaderBoard
18961
+ .filter((/**
18962
+ * @param {?} user
18963
+ * @return {?}
18964
+ */
18965
+ function (user) { return user.size === _this.currentTab && user.org_name.toLowerCase().includes(e.target.value); }))
18966
+ .map((/**
18967
+ * @param {?} user
18968
+ * @return {?}
18969
+ */
18970
+ function (user) { return (__assign({}, user, { children: [] })); }));
18971
+ }
18972
+ else {
18973
+ this.filteredData = this.result.mdoLeaderBoard
18974
+ .filter((/**
18975
+ * @param {?} user
18976
+ * @return {?}
18977
+ */
18978
+ function (user) { return user.size === _this.currentTab; }))
18979
+ .map((/**
18980
+ * @param {?} user
18981
+ * @return {?}
18982
+ */
18983
+ function (user) { return (__assign({}, user, { children: [] })); }));
18984
+ }
18985
+ };
18986
+ /**
18987
+ * @return {?}
18988
+ */
18989
+ MdoLeaderboardComponent.prototype.toggleWeekHightlits = /**
18990
+ * @return {?}
18991
+ */
18992
+ function () {
18993
+ this.expand = !this.expand;
18994
+ };
18995
+ MdoLeaderboardComponent.decorators = [
18996
+ { type: core.Component, args: [{
18997
+ selector: 'sb-uic-mdo-leaderboard',
18998
+ template: "<div class=\"mdo-leaderboard-container\">\n <div class=\"flex l-title gap-2 items-center justify-between px-4 md:px-0 py-4 md:py-0\">\n <div class=\"flex gap-2\">\n {{object?.title}} <div><img [src]=\"object?.infoIcon\" alt=\"\" i18n-matTooltip [matTooltip]=\"object?.infoText\"></div>\n </div>\n <div class=\"block md:hidden\">\n <mat-icon (click)=\"toggleWeekHightlits()\">expand_more</mat-icon>\n </div>\n </div>\n <div class=\"flex item-center justify-center\" *ngIf=\"expand\">\n <div class=\"flex fl-div\">\n <div class=\"pointer\">\n <span class=\"dot-dot\"></span>\n </div>\n </div>\n </div>\n <div class=\"l-content\" *ngIf=\"expand\">\n <div class=\"horizontal-scroll-container\">\n <div class=\"scroll-content\">\n <span class=\"tab-title\" [ngClass]=\"{'active' : currentTab === 'XL' }\" (click)=\"getTabData('XL')\">Greater than 50K</span>\n <span class=\"tab-title\" [ngClass]=\"{'active' : currentTab === 'L' }\" (click)=\"getTabData('L')\">10K-50K</span>\n <span class=\"tab-title\" [ngClass]=\"{'active' : currentTab === 'M' }\" (click)=\"getTabData('M')\">1K-10K</span>\n <span class=\"tab-title\" [ngClass]=\"{'active' : currentTab === 'S' }\" (click)=\"getTabData('S')\">500-1K</span>\n <span class=\"tab-title\" [ngClass]=\"{'active' : currentTab === 'XS' }\" (click)=\"getTabData('XS')\">Less than 500</span>\n </div>\n </div>\n <div class=\"relative search-wrapper margin-top-m mb-5\">\n <mat-icon matPrefix class=\"flex absolute items-center justify-center mr-2 icon-search\">search\n </mat-icon>\n <input type=\"search\" name=\"searchKey\" class=\"search-field\" i18-aria-label\n aria-label=\"Search\" i18n-placeholder=\"search\" [(ngModel)]=\"searchTerm\"\n placeholder=\"Search your MDO\" (keyup)=\"handleSearchQuery($event)\" />\n </div>\n <div class=\"l-tab-data\">\n <div *ngFor=\"let user of filteredData\">\n <div class=\"flex flex-row item mb-5 gap-3 {{user.row_num === 1 ? 'relative' : ''}}\" >\n <div><img class=\"crown absolute\" src=\"assets/images/national-learning/rank-crown.svg\" *ngIf=\"user.row_num === 1\"/></div>\n <div class=\"{{getRank(user.row_num)}}\">{{user.row_num}}</div>\n <div class=\"w-full\">\n <div class=\"flex flex-between gap-2\">\n <div>\n <div class=\"rank-name\">{{user.org_name}}</div>\n <div class=\"rank-points flex mt-1 gap-1\">\n <img class=\"nlw-kb\" src=\"assets/icons/home/karma-badge.svg\"/>\n <div class=\"points\">{{user.total_points || 0 }} points</div>\n </div>\n </div>\n <div class=\"rank-crown\" *ngIf=\"[1,2,3].includes(user.row_num)\">\n <img class=\"nlw-animation\" [src]=\"getMedal(user.row_num)\"/>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"no-data px-1\" *ngIf=\"filteredData?.length === 0\">\n No data found!\n </div>\n </div>\n </div>\n</div>\n",
18999
+ styles: [".l-title{font-family:Montserrat;font-size:20px;font-weight:600;line-height:24.38px;text-align:left}.l-content{background-color:#e9eef6;border-radius:16px;padding:16px}.horizontal-scroll-container{overflow-x:auto;white-space:nowrap;-ms-overflow-style:none;scrollbar-width:none;height:32px}.horizontal-scroll-container::-webkit-scrollbar{display:none}.scroll-content{display:inline-block}.tab-title{font-family:Lato;font-size:14px;line-height:16.8px;text-align:left;cursor:pointer;padding:0 15px 8px;border-bottom:2px solid #c3c3c3}.active{font-weight:700;border-bottom:2px solid #1b4ca1}.search-field{height:34px;padding:0 16px 0 40px;border-radius:52px;background:#fff;border:2px solid rgba(0,0,0,.0784313725);width:100%}.icon-search{top:10px;left:15px;height:15px;width:17px}.item{border-radius:12px;background-color:#fff;padding:16px;align-items:flex-start}.rank1{background:#ffca28;font-family:Lato;font-size:14px;font-weight:700;line-height:9px;text-align:center;border-radius:50%;padding:10px}.rank2{background:#1b4ca1;font-family:Lato;font-size:14px;font-weight:700;line-height:9px;text-align:center;border-radius:50%;padding:10px;color:#fff}.rank3{background:#ff8228;font-family:Lato;font-size:14px;font-weight:700;line-height:9px;text-align:center;border-radius:50%;padding:10px}.rank0{font-family:Lato;font-size:14px;font-weight:700;line-height:9px;text-align:center;border-radius:50%;padding:10px;border:1px solid #c3c3c3}.rank-name{font-family:Montserrat;line-height:1.5em;font-size:16px;font-weight:600;text-align:left;align-items:center;display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;-webkit-line-clamp:2;line-clamp:2}.rank-points{align-items:center}.nlw-kb{height:24px;width:24px}.points{font-family:Lato;font-size:14px;font-weight:600;line-height:16.8px;text-align:right}.crown{left:10px;top:0;width:36px;height:36px}.l-tab-data{height:520px;overflow:auto;padding-bottom:16px}.l-tab-data::-webkit-scrollbar{display:none}.pointer{margin-bottom:-59px;border-radius:41px;background:#c3c3c3;border:35px solid #e9eef6}.dot-dot{width:7px;display:flex;height:7px;background:#c3c3c3;margin-top:-25px;border-radius:10px}@media screen and (min-width:320px) and (max-width:769px){.mdo-leaderboard-container{background-color:#d1dbec}}"]
19000
+ }] }
19001
+ ];
19002
+ /** @nocollapse */
19003
+ MdoLeaderboardComponent.ctorParameters = function () { return [
19004
+ { type: InsiteDataService }
19005
+ ]; };
19006
+ MdoLeaderboardComponent.propDecorators = {
19007
+ object: [{ type: core.Input }],
19008
+ tabClicked: [{ type: core.Output }]
19009
+ };
19010
+ return MdoLeaderboardComponent;
19011
+ }());
19012
+ if (false) {
19013
+ /** @type {?} */
19014
+ MdoLeaderboardComponent.prototype.currentTab;
19015
+ /** @type {?} */
19016
+ MdoLeaderboardComponent.prototype.result;
19017
+ /** @type {?} */
19018
+ MdoLeaderboardComponent.prototype.filteredData;
19019
+ /** @type {?} */
19020
+ MdoLeaderboardComponent.prototype.searchTerm;
19021
+ /** @type {?} */
19022
+ MdoLeaderboardComponent.prototype.expand;
19023
+ /** @type {?} */
19024
+ MdoLeaderboardComponent.prototype.object;
19025
+ /** @type {?} */
19026
+ MdoLeaderboardComponent.prototype.tabClicked;
19027
+ /**
19028
+ * @type {?}
19029
+ * @private
19030
+ */
19031
+ MdoLeaderboardComponent.prototype.insiteDataService;
19032
+ }
19033
+
19034
+ /**
19035
+ * @fileoverview added by tsickle
19036
+ * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
19037
+ */
19038
+ var MdoLeaderboardModule = /** @class */ (function () {
19039
+ function MdoLeaderboardModule() {
19040
+ }
19041
+ MdoLeaderboardModule.decorators = [
19042
+ { type: core.NgModule, args: [{
19043
+ declarations: [MdoLeaderboardComponent],
19044
+ imports: [
19045
+ common.CommonModule,
19046
+ material.MatIconModule,
19047
+ SkeletonLoaderLibModule,
19048
+ forms.FormsModule,
19049
+ material.MatTooltipModule
19050
+ ],
19051
+ exports: [
19052
+ MdoLeaderboardComponent
19053
+ ],
19054
+ providers: [InsiteDataService]
19055
+ },] }
19056
+ ];
19057
+ return MdoLeaderboardModule;
19058
+ }());
19059
+
19060
+ /**
19061
+ * @fileoverview added by tsickle
19062
+ * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
19063
+ */
19064
+ var HighlightsOfWeekComponent = /** @class */ (function () {
19065
+ function HighlightsOfWeekComponent() {
19066
+ this.currentIndex = 0;
19067
+ this.contentdata = [];
19068
+ this.styleData = {};
19069
+ this.expand = true;
19070
+ }
19071
+ /**
19072
+ * @return {?}
19073
+ */
19074
+ HighlightsOfWeekComponent.prototype.ngOnInit = /**
19075
+ * @return {?}
19076
+ */
19077
+ function () {
19078
+ var _this = this;
19079
+ this.styleData = this.objectData && this.objectData.sliderData && this.objectData.sliderData.styleData;
19080
+ if (this.objectData && this.objectData.list) {
19081
+ this.objectData.list.forEach((/**
19082
+ * @param {?} contentEle
19083
+ * @return {?}
19084
+ */
19085
+ function (contentEle) {
19086
+ /** @type {?} */
19087
+ var localData = {};
19088
+ localData['title'] = contentEle.title;
19089
+ localData['videoUrl'] = contentEle.videoUrl;
19090
+ localData['cardSubType'] = "card-wide-lib";
19091
+ localData['description'] = contentEle.description;
19092
+ _this.contentdata.push(localData);
19093
+ }));
19094
+ }
19095
+ };
19096
+ /**
19097
+ * @return {?}
19098
+ */
19099
+ HighlightsOfWeekComponent.prototype.toggleWeekHightlits = /**
19100
+ * @return {?}
19101
+ */
19102
+ function () {
19103
+ this.expand = !this.expand;
19104
+ };
19105
+ /**
19106
+ * @param {?} indexValue
19107
+ * @return {?}
19108
+ */
19109
+ HighlightsOfWeekComponent.prototype.getCurrentIndex = /**
19110
+ * @param {?} indexValue
19111
+ * @return {?}
19112
+ */
19113
+ function (indexValue) {
19114
+ this.currentIndex = indexValue;
19115
+ };
19116
+ HighlightsOfWeekComponent.decorators = [
19117
+ { type: core.Component, args: [{
19118
+ selector: 'sb-uic-highlights-of-week',
19119
+ template: "<div *ngIf=\"contentdata.length\" class=\"highlights-of-the-week-container {{expand ? 'mb-4' : ''}}\">\n <ng-container *ngIf=\"contentdata.length\">\n <div class=\"flex title pb-3 no-radius items-center justify-between\">\n <div class=\"flex gap-2\">\n {{objectData?.title}}\n <div class=\"block md:hidden\">\n <img [src]=\"objectData?.infoIcon\" alt=\"\" i18n-matTooltip [matTooltip]=\"objectData?.infoText\">\n </div> \n </div>\n <div class=\"block md:hidden\">\n <mat-icon (click)=\"toggleWeekHightlits()\">expand_more</mat-icon>\n </div>\n </div>\n <div *ngIf=\"expand\">\n <sb-uic-sliders-ng-content\n [title]=\"'providerName'\"\n [currentIndex]=\"currentIndex\"\n (currentIndexValue)=\"getCurrentIndex($event)\"\n [loadNgContentData]=\"true\" [widgetData]=\"contentdata\"\n [styleData]=\"styleData\">\n <div sliderbody>\n <div *ngFor=\"let item of contentdata; let i = index\" [hidden]=\"i !== currentIndex\">\n <div class=\"wh-wrapper no-radius\">\n <div class=\"player\">\n <video width=\"100%\" height=\"100%\" controls *ngIf=\"i === currentIndex\">\n <source [src]=\"item.videoUrl\" type=\"video/mp4\">\n <source [src]=\"item.videoUrl\" type=\"application/x-mpegURL\" />\n </video>\n </div>\n <div class=\"player-title py-3\">\n {{item?.title}}\n </div>\n <div class=\"player-body\">\n {{item?.description}}\n </div>\n </div>\n </div>\n </div>\n </sb-uic-sliders-ng-content>\n </div>\n </ng-container>\n</div>\n\n",
19120
+ styles: [".highlights-of-the-week-container ::ng-deep.banner-title{display:none}.highlights-of-the-week-container ::ng-deep.banner-meta{bottom:-37px}.highlights-of-the-week-container ::ng-deep.prev{margin-left:11px}.highlights-of-the-week-container ::ng-deep.next{margin-right:16px}.title{font-family:Montserrat;font-size:20px;font-weight:600;line-height:24.38px;text-align:left;background-color:#d1dbec;padding:16px;border-top-left-radius:12px;border-top-right-radius:12px}.wh-wrapper{background-color:#d1dbec;padding:0 16px 16px;border-bottom-left-radius:12px;border-bottom-right-radius:12px}.wh-wrapper .player{height:420px}.wh-wrapper .player-title{font-family:Montserrat;font-size:16px;font-weight:600;line-height:19.5px;text-align:left}.wh-wrapper .player-body{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){.highlights-of-the-week-container ::ng-deep.prev{display:none!important}.highlights-of-the-week-container ::ng-deep.next{display:none!important}.wh-wrapper .player{height:215px}.no-radius{border-radius:0}}"]
19121
+ }] }
19122
+ ];
19123
+ /** @nocollapse */
19124
+ HighlightsOfWeekComponent.ctorParameters = function () { return []; };
19125
+ HighlightsOfWeekComponent.propDecorators = {
19126
+ objectData: [{ type: core.Input }],
19127
+ scrollableItems: [{ type: core.ViewChildren, args: [ScrollableItemDirective,] }]
19128
+ };
19129
+ return HighlightsOfWeekComponent;
19130
+ }());
19131
+ if (false) {
19132
+ /** @type {?} */
19133
+ HighlightsOfWeekComponent.prototype.objectData;
19134
+ /** @type {?} */
19135
+ HighlightsOfWeekComponent.prototype.currentIndex;
19136
+ /** @type {?} */
19137
+ HighlightsOfWeekComponent.prototype.contentdata;
19138
+ /** @type {?} */
19139
+ HighlightsOfWeekComponent.prototype.styleData;
19140
+ /** @type {?} */
19141
+ HighlightsOfWeekComponent.prototype.expand;
19142
+ /** @type {?} */
19143
+ HighlightsOfWeekComponent.prototype.scrollableItems;
19144
+ }
19145
+
19146
+ /**
19147
+ * @fileoverview added by tsickle
19148
+ * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
19149
+ */
19150
+ var HighlightsOfWeekModule = /** @class */ (function () {
19151
+ function HighlightsOfWeekModule() {
19152
+ }
19153
+ HighlightsOfWeekModule.decorators = [
19154
+ { type: core.NgModule, args: [{
19155
+ declarations: [HighlightsOfWeekComponent],
19156
+ imports: [
19157
+ common.CommonModule,
19158
+ material.MatIconModule,
19159
+ material.MatTooltipModule,
19160
+ ScrollableItemModule,
19161
+ SlidersNgContentLibModule
19162
+ ],
19163
+ exports: [
19164
+ HighlightsOfWeekComponent
19165
+ ]
19166
+ },] }
19167
+ ];
19168
+ return HighlightsOfWeekModule;
19169
+ }());
19170
+
19171
+ /**
19172
+ * @fileoverview added by tsickle
19173
+ * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
19174
+ */
19175
+ var SpeakersComponent = /** @class */ (function () {
19176
+ function SpeakersComponent() {
19177
+ this.currentIndex = 0;
19178
+ this.contentdata = [];
19179
+ this.styleData = {};
19180
+ this.expand = true;
19181
+ }
19182
+ /**
19183
+ * @return {?}
19184
+ */
19185
+ SpeakersComponent.prototype.ngOnInit = /**
19186
+ * @return {?}
19187
+ */
19188
+ function () {
19189
+ var _this = this;
19190
+ this.styleData = this.objectData && this.objectData.sliderData && this.objectData.sliderData.styleData;
19191
+ if (this.objectData && this.objectData.list) {
19192
+ this.objectData.list.forEach((/**
19193
+ * @param {?} contentEle
19194
+ * @return {?}
19195
+ */
19196
+ function (contentEle) {
19197
+ /** @type {?} */
19198
+ var localData = {};
19199
+ localData['name'] = contentEle.title;
19200
+ localData['cardSubType'] = "card-wide-lib";
19201
+ localData['description'] = contentEle.description;
19202
+ localData['initial'] = _this.createInititals(contentEle.title);
19203
+ localData['profileImage'] = contentEle.profileImage ? contentEle.profileImage : '';
19204
+ _this.contentdata.push(localData);
19205
+ }));
19206
+ }
19207
+ };
19208
+ /**
19209
+ * @param {?} name
19210
+ * @return {?}
19211
+ */
19212
+ SpeakersComponent.prototype.createInititals = /**
19213
+ * @param {?} name
19214
+ * @return {?}
19215
+ */
19216
+ function (name) {
19217
+ /** @type {?} */
19218
+ var initials = '';
19219
+ /** @type {?} */
19220
+ var array = name.toString().split(' ');
19221
+ if (array[0] !== 'undefined' && typeof array[1] !== 'undefined') {
19222
+ initials += array[0].charAt(0);
19223
+ initials += array[1].charAt(0);
19224
+ }
19225
+ else {
19226
+ for (var i = 0; i < name.length; i += 1) {
19227
+ if (name.charAt(i) === ' ') {
19228
+ continue;
19229
+ }
19230
+ if (name.charAt(i) === name.charAt(i)) {
19231
+ initials += name.charAt(i);
19232
+ if (initials.length === 2) {
19233
+ break;
19234
+ }
19235
+ }
19236
+ }
19237
+ }
19238
+ return initials.toUpperCase();
19239
+ };
19240
+ /**
19241
+ * @param {?} indexValue
19242
+ * @return {?}
19243
+ */
19244
+ SpeakersComponent.prototype.getCurrentIndex = /**
19245
+ * @param {?} indexValue
19246
+ * @return {?}
19247
+ */
19248
+ function (indexValue) {
19249
+ this.currentIndex = indexValue;
19250
+ };
19251
+ /**
19252
+ * @return {?}
19253
+ */
19254
+ SpeakersComponent.prototype.toggleWeekHightlits = /**
19255
+ * @return {?}
19256
+ */
19257
+ function () {
19258
+ this.expand = !this.expand;
19259
+ };
19260
+ SpeakersComponent.decorators = [
19261
+ { type: core.Component, args: [{
19262
+ selector: 'sb-uic-speakers',
19263
+ template: "<div class=\"nlw-speakers-wrapper px-4 md:px-0 my-4 md:my-0\">\n <div class=\"flex speakers-title gap-2 justify-between pb-1\" *ngIf=\"contentdata.length\">\n <div class=\"flex gap-2\">\n {{objectData?.title}}\n <div><img [src]=\"objectData?.infoIcon\" alt=\"\" i18n-matTooltip [matTooltip]=\"objectData?.infoText\"></div>\n </div>\n <div class=\"block md:hidden\">\n <mat-icon (click)=\"toggleWeekHightlits()\">expand_more</mat-icon>\n </div>\n </div>\n <div *ngIf=\"expand\" class=\"speakers-container margin-bottom-xs\" >\n <ng-container *ngIf=\"contentdata.length\">\n <sb-uic-sliders-ng-content\n [title]=\"'providerName'\"\n [currentIndex]=\"currentIndex\"\n (currentIndexValue)=\"getCurrentIndex($event)\"\n [loadNgContentData]=\"true\" [widgetData]=\"contentdata\"\n [styleData]=\"styleData\">\n <div sliderbody>\n <div *ngFor=\"let item of contentdata; let i = index\" [hidden]=\"i !== currentIndex\">\n <div class=\"speakers-wrapper\">\n <div class=\"flex items-center justify-center pb-2\">\n <div class=\"speaker-initial\" *ngIf=\"!item.profileImage\">{{item?.initial}}</div>\n <img class='speaker-icon' [src]=\"item?.profileImage\" alt=\"\" *ngIf=\"item.profileImage\"/>\n </div>\n <div class=\"flex items-center justify-center pb-2\">\n <div class=\"speaker-title\">{{item.name}}</div>\n </div>\n <div class=\"flex items-center justify-center\">\n <div class=\"speaker-description\">{{item.description}}</div>\n </div>\n </div>\n </div>\n </div>\n </sb-uic-sliders-ng-content>\n </ng-container>\n </div>\n</div>",
19264
+ styles: [".speakers-container ::ng-deep.banner-title{display:none}.speakers-container ::ng-deep.prev{margin-left:0;background-color:#fff4ec!important;color:#b6b4b4}.speakers-container ::ng-deep.next{margin-right:0;background-color:#fff4ec!important;color:#b6b4b4}.speakers-title{font-family:Montserrat;font-size:20px;font-weight:600;line-height:24.38px;text-align:left}.speakers-wrapper{background-color:#fff4ec;border-radius:12px;padding:24px}.speaker-title{font-family:Montserrat;font-size:16px;font-weight:600;line-height:19.5px;text-align:left}.speaker-description{font-family:Lato;font-size:12px;font-weight:400;line-height:14.4px;text-align:center}.speaker-initial{font-family:Montserrat;font-size:24px;font-weight:600;line-height:29.26px;text-align:center;width:80px;height:80px;display:flex;align-items:center;justify-content:center;background-color:#1b4ca1;color:#fff;border-radius:50px}.speaker-icon{width:80px;height:80px;border-radius:50px}@media screen and (min-width:320px) and (max-width:769px){.nlw-speakers-wrapper{background-color:#d1dbec}.speakers-title{padding:16px 0}}"]
19265
+ }] }
19266
+ ];
19267
+ /** @nocollapse */
19268
+ SpeakersComponent.ctorParameters = function () { return []; };
19269
+ SpeakersComponent.propDecorators = {
19270
+ objectData: [{ type: core.Input }],
19271
+ scrollableItems: [{ type: core.ViewChildren, args: [ScrollableItemDirective,] }]
19272
+ };
19273
+ return SpeakersComponent;
19274
+ }());
19275
+ if (false) {
19276
+ /** @type {?} */
19277
+ SpeakersComponent.prototype.objectData;
19278
+ /** @type {?} */
19279
+ SpeakersComponent.prototype.currentIndex;
19280
+ /** @type {?} */
19281
+ SpeakersComponent.prototype.contentdata;
19282
+ /** @type {?} */
19283
+ SpeakersComponent.prototype.styleData;
19284
+ /** @type {?} */
19285
+ SpeakersComponent.prototype.expand;
19286
+ /** @type {?} */
19287
+ SpeakersComponent.prototype.scrollableItems;
19288
+ }
19289
+
19290
+ /**
19291
+ * @fileoverview added by tsickle
19292
+ * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
19293
+ */
19294
+ var SpeakersModule = /** @class */ (function () {
19295
+ function SpeakersModule() {
19296
+ }
19297
+ SpeakersModule.decorators = [
19298
+ { type: core.NgModule, args: [{
19299
+ declarations: [SpeakersComponent],
19300
+ imports: [
19301
+ common.CommonModule,
19302
+ ScrollableItemModule,
19303
+ SlidersNgContentLibModule,
19304
+ material.MatTooltipModule,
19305
+ material.MatIconModule,
19306
+ ],
19307
+ exports: [
19308
+ SpeakersComponent
19309
+ ]
19310
+ },] }
19311
+ ];
19312
+ return SpeakersModule;
19313
+ }());
19314
+
19315
+ /**
19316
+ * @fileoverview added by tsickle
19317
+ * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
19318
+ */
19319
+ var UserProgressComponent = /** @class */ (function () {
19320
+ function UserProgressComponent(insightSvc) {
19321
+ this.insightSvc = insightSvc;
19322
+ this.insitesData = [];
19323
+ this.currentIndex = 0;
19324
+ this.styleData = {};
19325
+ this.expand = true;
19326
+ }
19327
+ /**
19328
+ * @return {?}
19329
+ */
19330
+ UserProgressComponent.prototype.ngOnInit = /**
19331
+ * @return {?}
19332
+ */
19333
+ function () {
19334
+ this.styleData = this.objectData.insights.data.sliderData.styleData;
19335
+ this.getUserProgress();
19336
+ this.getInsightsData();
19337
+ };
19338
+ /**
19339
+ * @return {?}
19340
+ */
19341
+ UserProgressComponent.prototype.getUserProgress = /**
19342
+ * @return {?}
19343
+ */
19344
+ function () {
19345
+ var _this = this;
19346
+ this.insightSvc.fetchUserProgress().subscribe((/**
19347
+ * @param {?} res
19348
+ * @return {?}
19349
+ */
19350
+ function (res) {
19351
+ if (res && res.result && res.result.userLeaderBoard) {
19352
+ _this.userProgress = res.result.userLeaderBoard[0];
19353
+ }
19354
+ }));
19355
+ };
19356
+ /**
19357
+ * @return {?}
19358
+ */
19359
+ UserProgressComponent.prototype.getInsightsData = /**
19360
+ * @return {?}
19361
+ */
19362
+ function () {
19363
+ var _this = this;
19364
+ /** @type {?} */
19365
+ var request = {
19366
+ request: {
19367
+ filters: {
19368
+ primaryCategory: 'programs',
19369
+ organisations: [
19370
+ 'across',
19371
+ this.rootOrgId,
19372
+ ],
19373
+ },
19374
+ },
19375
+ };
19376
+ this.insightSvc.fetchInsightsData(request).subscribe((/**
19377
+ * @param {?} res
19378
+ * @return {?}
19379
+ */
19380
+ function (res) {
19381
+ if (res && res.result && res.result.response && res.result.response.nudges) {
19382
+ _this.insitesData = res.result.response.nudges;
19383
+ _this.insitesData = _this.insitesData.map((/**
19384
+ * @param {?} obj
19385
+ * @return {?}
19386
+ */
19387
+ function (obj) {
19388
+ return __assign({}, obj, { cardSubType: 'card-wide-lib' });
19389
+ }));
19390
+ }
19391
+ }));
19392
+ };
19393
+ /**
19394
+ * @param {?} number
19395
+ * @return {?}
19396
+ */
19397
+ UserProgressComponent.prototype.roundTo = /**
19398
+ * @param {?} number
19399
+ * @return {?}
19400
+ */
19401
+ function (number) {
19402
+ return Math.round(number * 100 / 100);
19403
+ };
19404
+ /**
19405
+ * @param {?} indexValue
19406
+ * @return {?}
19407
+ */
19408
+ UserProgressComponent.prototype.getCurrentIndex = /**
19409
+ * @param {?} indexValue
19410
+ * @return {?}
19411
+ */
19412
+ function (indexValue) {
19413
+ this.currentIndex = indexValue;
19414
+ };
19415
+ /**
19416
+ * @param {?} name
19417
+ * @return {?}
19418
+ */
19419
+ UserProgressComponent.prototype.createInititals = /**
19420
+ * @param {?} name
19421
+ * @return {?}
19422
+ */
19423
+ function (name) {
19424
+ /** @type {?} */
19425
+ var initials = '';
19426
+ /** @type {?} */
19427
+ var array = name.toString().split(' ');
19428
+ if (array[0] !== 'undefined' && typeof array[1] !== 'undefined') {
19429
+ initials += array[0].charAt(0);
19430
+ initials += array[1].charAt(0);
19431
+ }
19432
+ else {
19433
+ for (var i = 0; i < name.length; i += 1) {
19434
+ if (name.charAt(i) === ' ') {
19435
+ continue;
19436
+ }
19437
+ if (name.charAt(i) === name.charAt(i)) {
19438
+ initials += name.charAt(i);
19439
+ if (initials.length === 2) {
19440
+ break;
19441
+ }
19442
+ }
19443
+ }
19444
+ }
19445
+ return initials.toUpperCase();
19446
+ };
19447
+ /**
19448
+ * @return {?}
19449
+ */
19450
+ UserProgressComponent.prototype.toggleWeekHightlits = /**
19451
+ * @return {?}
19452
+ */
19453
+ function () {
19454
+ this.expand = !this.expand;
19455
+ };
19456
+ UserProgressComponent.decorators = [
19457
+ { type: core.Component, args: [{
19458
+ selector: 'sb-uic-user-progress',
19459
+ template: "<div class=\"px-4 md:px-0 pt-4 md:pt-0 week-progress {{expand ? 'pb-4' : 'pb-1'}}\">\n <div class=\"flex user-progress-title gap-2 margin-bottom-xs items-center justify-between\">\n <div class=\"flex gap-2\">\n {{objectData?.title}}\n <div><img [src]=\"objectData?.infoIcon\" alt=\"\" i18n-matTooltip [matTooltip]=\"objectData?.infoText\"></div>\n </div>\n <div class=\"block md:hidden\">\n <mat-icon (click)=\"toggleWeekHightlits()\">expand_more</mat-icon>\n </div>\n </div>\n <div class=\"user-progress-wrapper\" *ngIf=\"expand\">\n <div class=\"user-rank flex items-center\">\n <div class=\"flex item-center\">\n <div class=\"current-rank\" *ngIf=\"userProgress?.rank > 0\">#{{userProgress?.rank}} Rank</div>\n </div>\n </div>\n <div class=\"user-details-wrapper\">\n <div class=\"user-details flex gap-2\">\n <div class=\"user-initial\" *ngIf=\"userProgress?.profile_image\">\n <img class=\"user-profile\" [src]=\"userProgress?.profile_image\" alt=\"\"/>\n </div>\n <div class=\"user-initial\" *ngIf=\"!userProgress?.profile_image && userProgress?.fullname\">{{createInititals(userProgress?.fullname)}}</div>\n <div class=\"user-name pt-3\">{{userProgress?.fullname}}</div>\n </div>\n <div class=\"user-stats my-3\">\n <div class=\"flex gap-2 items-center justify-center\">\n <div class=\"my-hours\">\n <div class=\"flex items-center gap-3\">\n <img class=\"hours-icon\"\n src=\"https://portal.dev.karmayogibharat.net/content-store/orgStore/0135071359030722569/1726808794219_InProgress_Icon.svg\" alt=\"\">\n <div>\n <div class=\"counter\">{{userProgress?.total_learning_hours || 0}}</div>\n <div class=\"counter-title pt-1\">Learning Hours</div>\n </div>\n </div>\n </div>\n <div class=\"my-certificates\">\n <div class=\"flex items-center gap-3\">\n <img class=\"cert-icon\"\n src=\"https://portal.dev.karmayogibharat.net/content-store/orgStore/0135071359030722569/1726808775795_Certificate_icon.svg\" alt=\"\">\n <div>\n <div class=\"counter\">{{userProgress?.count || 0}}</div>\n <div class=\"counter-title pt-1\">Certificates</div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"flex gap-2 items-center justify-center pt-3\">\n <div class=\"k-points\">\n <div class=\"flex items-center gap-3\">\n <img class=\"kp-point-icon\"\n src=\"https://portal.dev.karmayogibharat.net/content-store/orgStore/0135071359030722569/1726808815206_karma-badge.svg\" alt=\"\">\n <div>\n <div class=\"counter\">{{userProgress?.total_points || 0}}</div>\n <div class=\"counter-title pt-1\">Karma Points</div>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"insights-wrapper\">\n <div class=\"insights-container\">\n <sb-uic-sliders-ng-content\n [title]=\"'p1'\"\n [currentIndex]=\"currentIndex\"\n (currentIndexValue)=\"getCurrentIndex($event)\"\n [loadNgContentData]=\"true\" [widgetData]=\"insitesData\"\n [customBanner]=\"true\" [autoScroll]=\"true\"\n [styleData]=\"styleData\">\n <div sliderbody>\n <div class=\"insights-item\" *ngFor=\"let item of insitesData; let i = index\" [hidden]=\"i !== currentIndex\">\n <div class=\"flex gap-4\">\n <div class=\"insights-lable\">{{item?.label}}</div>\n <div class=\"flex items-center growth-positive\" *ngIf=\"item?.growth === 'positive'\">\n <mat-icon class=\"positive-icon\">arrow_upward</mat-icon>\n <span class=\"positive-note pt-1\">+{{roundTo(item?.progress)}}%</span>\n </div>\n <div class=\"flex items-center growth-negative\" *ngIf=\"item?.growth === 'negative' && item?.progress > 0\">\n <mat-icon class=\"negative-icon\">arrow_downward</mat-icon>\n <span class=\"negative-note\">-{{roundTo(item?.progress)}}%</span>\n </div>\n </div>\n </div>\n </div>\n </sb-uic-sliders-ng-content>\n </div>\n </div>\n </div>\n </div>\n</div>\n",
19460
+ styles: [".user-progress-title{font-family:Montserrat;font-size:20px;font-weight:600;line-height:24.38px;text-align:left}.user-progress-wrapper{border-radius:12px}.user-rank{background:url(https://portal.dev.karmayogibharat.net/content-store/orgStore/0132238763297177601/1727267061524_shadow.png),linear-gradient(124.59deg,#266eeb 51.53%,#133f8b 140.2%);height:76px;border-top-left-radius:12px;border-top-right-radius:12px;border-left-color:#266eeb;border-right-color:#266eeb;border-top-color:#266eeb;padding-left:25%}.current-rank{padding:3px 10px;border-radius:15px;background-color:#fff;color:#f3962f;font-family:Montserrat;font-size:16px;font-weight:600;line-height:19.5px;text-align:center}.user-details-wrapper{padding:0 8px;border:1px solid #e8e8e8;border-bottom-left-radius:12px;border-bottom-right-radius:12px;background-color:#fff}.user-details,.user-stats{padding:0 8px}.user-initial{font-family:Montserrat;font-size:20px;font-weight:600;line-height:24.38px;text-align:center;width:70px;height:70px;display:flex;align-items:center;justify-content:center;background-color:#000;color:#fff;border-radius:50px;border:3px solid #fff;margin-top:-30px}.user-profile{width:70px;height:70px;border-radius:50px}.user-name{font-family:Montserrat;font-size:16px;font-weight:600;line-height:19.5px;text-align:left}.my-hours{padding:16px;background-color:#f0f3f4;border-radius:12px;width:50%;border:1px solid #c3c3c3}.my-certificates{padding:16px;background-color:#f0f3f4;width:50%;border-radius:12px;border:1px solid #c3c3c3}.k-points{padding:16px;background-color:#f0f3f4;width:40%;border-radius:12px;border:1px solid #c3c3c3}.hours-icon{background:linear-gradient(143.13deg,rgba(255,191,26,.15) 5.36%,rgba(255,64,128,.15) 94.64%);border-radius:50px;padding:5px}.counter-title{font-family:Lato;font-size:12px;font-weight:400;line-height:14.4px;text-align:left}.counter{font-family:Montserrat;font-size:16px;font-weight:600;line-height:19.5px;text-align:left}.cert-icon{background:linear-gradient(180deg,rgba(255,206,81,.24) 0,rgba(254,231,28,.24) 100%);border-radius:50px;padding:5px}.kp-point-icon{background:#dbe4ff;border-radius:50px;padding:5px;height:18px;width:18px}.insights-wrapper{padding:8px 0}.insights-container{background:rgba(243,150,47,.2);height:84px;border-radius:8px}.insights-container ::ng-deep .prev{display:none}.insights-container ::ng-deep .next{display:none}.insights-item{padding:16px}.insights-lable{font-family:Lato;font-size:12px;font-weight:400;line-height:14.4px;text-align:left}.positive-note{font-size:12px;font-weight:400;line-height:14.4px}.positive-icon{font-size:18px;height:18px;width:18px}.growth-positive{color:green}.growth-negative{color:red}.negative-icon{font-size:18px;height:18px;width:18px}.negative-note{font-size:12px;font-weight:400;line-height:14.4px}@media screen and (min-width:320px) and (max-width:769px){.week-progress{background-color:#d1dbec}}"]
19461
+ }] }
19462
+ ];
19463
+ /** @nocollapse */
19464
+ UserProgressComponent.ctorParameters = function () { return [
19465
+ { type: InsiteDataService }
19466
+ ]; };
19467
+ UserProgressComponent.propDecorators = {
19468
+ objectData: [{ type: core.Input }],
19469
+ rootOrgId: [{ type: core.Input }],
19470
+ scrollableItems: [{ type: core.ViewChildren, args: [ScrollableItemDirective,] }]
19471
+ };
19472
+ return UserProgressComponent;
19473
+ }());
19474
+ if (false) {
19475
+ /** @type {?} */
19476
+ UserProgressComponent.prototype.objectData;
19477
+ /** @type {?} */
19478
+ UserProgressComponent.prototype.rootOrgId;
19479
+ /** @type {?} */
19480
+ UserProgressComponent.prototype.insitesData;
19481
+ /** @type {?} */
19482
+ UserProgressComponent.prototype.currentIndex;
19483
+ /** @type {?} */
19484
+ UserProgressComponent.prototype.styleData;
19485
+ /** @type {?} */
19486
+ UserProgressComponent.prototype.userProgress;
19487
+ /** @type {?} */
19488
+ UserProgressComponent.prototype.expand;
19489
+ /** @type {?} */
19490
+ UserProgressComponent.prototype.scrollableItems;
19491
+ /** @type {?} */
19492
+ UserProgressComponent.prototype.insightSvc;
19493
+ }
19494
+
19495
+ /**
19496
+ * @fileoverview added by tsickle
19497
+ * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
19498
+ */
19499
+ var UserProgressModule = /** @class */ (function () {
19500
+ function UserProgressModule() {
19501
+ }
19502
+ UserProgressModule.decorators = [
19503
+ { type: core.NgModule, args: [{
19504
+ declarations: [UserProgressComponent],
19505
+ imports: [
19506
+ common.CommonModule,
19507
+ material.MatTooltipModule,
19508
+ material.MatIconModule,
19509
+ ScrollableItemModule,
19510
+ SlidersNgContentLibModule,
19511
+ ],
19512
+ exports: [
19513
+ UserProgressComponent
19514
+ ]
19515
+ },] }
19516
+ ];
19517
+ return UserProgressModule;
19518
+ }());
19519
+
19520
+ /**
19521
+ * @fileoverview added by tsickle
19522
+ * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
19523
+ */
19524
+ var NationalLearningModule = /** @class */ (function () {
19525
+ function NationalLearningModule() {
19526
+ }
19527
+ NationalLearningModule.decorators = [
19528
+ { type: core.NgModule, args: [{
19529
+ declarations: [NationalLearningComponent],
19530
+ imports: [
19531
+ common.CommonModule,
19532
+ material.MatIconModule,
19533
+ material.MatChipsModule,
19534
+ SkeletonLoaderLibModule,
19535
+ SlidersLibModule,
19536
+ material.MatTabsModule,
19537
+ KeyHighlightsModule,
19538
+ ContentStripWithTabsLibModule,
19539
+ DataPointsModule,
19540
+ EventsModule,
19541
+ MdoLeaderboardModule,
19542
+ HighlightsOfWeekModule,
19543
+ SpeakersModule,
19544
+ UserProgressModule
19545
+ ],
19546
+ exports: [
19547
+ NationalLearningComponent,
19548
+ ],
19549
+ providers: [
19550
+ CommonMethodsService
19551
+ ],
19552
+ schemas: [core.CUSTOM_ELEMENTS_SCHEMA]
19553
+ },] }
19554
+ ];
19555
+ return NationalLearningModule;
19556
+ }());
19557
+
18152
19558
  exports.AnnouncementsModule = AnnouncementsModule;
18153
19559
  exports.CalenderModule = CalenderModule;
18154
19560
  exports.CardsModule = CardsModule;
@@ -18165,15 +19571,22 @@
18165
19571
  exports.ContentStripWithTabsPillsModule = ContentStripWithTabsPillsModule;
18166
19572
  exports.DataPointsModule = DataPointsModule;
18167
19573
  exports.DialogComponentsModule = DialogComponentsModule;
19574
+ exports.EventsModule = EventsModule;
19575
+ exports.HighlightsOfWeekModule = HighlightsOfWeekModule;
18168
19576
  exports.HttpLoaderFactory = HttpLoaderFactory;
18169
19577
  exports.HttpLoaderFactory1 = HttpLoaderFactory1;
19578
+ exports.KeyHighlightsModule = KeyHighlightsModule;
18170
19579
  exports.MDOChannelModule = MDOChannelModule;
19580
+ exports.MdoLeaderboardModule = MdoLeaderboardModule;
18171
19581
  exports.MyHammerConfig = MyHammerConfig;
19582
+ exports.NationalLearningModule = NationalLearningModule;
18172
19583
  exports.ProvidersModule = ProvidersModule;
18173
19584
  exports.ROOT_WIDGET_CONFIG = ROOT_WIDGET_CONFIG;
18174
19585
  exports.SlidersLibModule = SlidersLibModule;
19586
+ exports.SpeakersModule = SpeakersModule;
18175
19587
  exports.TopLearnersModule = TopLearnersModule;
18176
19588
  exports.UserContentRatingLibModule = UserContentRatingLibModule;
19589
+ exports.UserProgressModule = UserProgressModule;
18177
19590
  exports.WIDGET_REGISTERED_LIB_MODULES = WIDGET_REGISTERED_LIB_MODULES;
18178
19591
  exports.WIDGET_REGISTRATION_LIB_CONFIG = WIDGET_REGISTRATION_LIB_CONFIG;
18179
19592
  exports.WidgetContentService = WidgetContentService;
@@ -18223,6 +19636,14 @@
18223
19636
  exports.ɵco = MdoChannelV1Component;
18224
19637
  exports.ɵcp = MdoChannelV2Component;
18225
19638
  exports.ɵcq = ProvidersV2Component;
19639
+ exports.ɵcr = NationalLearningComponent;
19640
+ exports.ɵcs = KeyHighlightsComponent;
19641
+ exports.ɵct = EventsComponent;
19642
+ exports.ɵcu = EventCardComponent;
19643
+ exports.ɵcv = MdoLeaderboardComponent;
19644
+ exports.ɵcw = HighlightsOfWeekComponent;
19645
+ exports.ɵcx = SpeakersComponent;
19646
+ exports.ɵcy = UserProgressComponent;
18226
19647
  exports.ɵd = ConfigurationsService;
18227
19648
  exports.ɵe = HorizontalScrollerV2Module;
18228
19649
  exports.ɵf = HorizontalScrollerV2Component;