@sunbird-cb/utils-v2 0.0.11 → 0.0.13

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 (311) hide show
  1. package/bundles/sunbird-cb-utils-v2.umd.js +6701 -6677
  2. package/bundles/sunbird-cb-utils-v2.umd.js.map +1 -1
  3. package/bundles/sunbird-cb-utils-v2.umd.min.js +1 -1
  4. package/bundles/sunbird-cb-utils-v2.umd.min.js.map +1 -1
  5. package/esm2015/lib/components/image-crop/image-crop.component.js +194 -194
  6. package/esm2015/lib/components/image-crop/image-crop.module.js +26 -26
  7. package/esm2015/lib/constants/features.enum.js +554 -554
  8. package/esm2015/lib/constants/instances.enum.js +4 -4
  9. package/esm2015/lib/directives/class-change-on-scroll/class-change-on-scroll.directive.js +86 -86
  10. package/esm2015/lib/directives/class-change-on-scroll/class-change-on-scroll.module.js +14 -14
  11. package/esm2015/lib/directives/default-thumbnail/default-thumbnail.directive.js +37 -37
  12. package/esm2015/lib/directives/default-thumbnail/default-thumbnail.module.js +14 -14
  13. package/esm2015/lib/directives/image-responsive/image-responsive.directive.js +91 -91
  14. package/esm2015/lib/directives/image-responsive/image-responsive.module.js +14 -14
  15. package/esm2015/lib/directives/in-view-port/in-view-port.directive.js +67 -67
  16. package/esm2015/lib/directives/in-view-port/in-view-port.module.js +14 -14
  17. package/esm2015/lib/directives/navigation/navigation.directive.js +38 -38
  18. package/esm2015/lib/directives/navigation/navigation.module.js +14 -14
  19. package/esm2015/lib/directives/permission/permission.directive.js +10 -10
  20. package/esm2015/lib/directives/permission/permission.module.js +14 -14
  21. package/esm2015/lib/helpers/functions/getStringifiedQueryParams.js +8 -8
  22. package/esm2015/lib/helpers/horizontal-scroller/horizontal-scroller.component.js +98 -98
  23. package/esm2015/lib/helpers/horizontal-scroller/horizontal-scroller.module.js +18 -18
  24. package/esm2015/lib/helpers/horizontal-scroller-v2/horizontal-scroller-v2.component.js +194 -194
  25. package/esm2015/lib/helpers/horizontal-scroller-v2/horizontal-scroller-v2.module.js +19 -19
  26. package/esm2015/lib/helpers/logout/logout.component.js +89 -89
  27. package/esm2015/lib/helpers/logout/logout.module.js +19 -19
  28. package/esm2015/lib/models/profile-v3.models.js +104 -104
  29. package/esm2015/lib/pipes/pipe-certificate-image-URL/pipe-certimage-URL.module.js +15 -15
  30. package/esm2015/lib/pipes/pipe-certificate-image-URL/pipe-certimage-URL.pipe.js +116 -94
  31. package/esm2015/lib/pipes/pipe-concise-date-range/pipe-concise-date-range.module.js +12 -12
  32. package/esm2015/lib/pipes/pipe-concise-date-range/pipe-concise-date-range.pipe.js +58 -58
  33. package/esm2015/lib/pipes/pipe-count-transform/pipe-count-transform.module.js +14 -14
  34. package/esm2015/lib/pipes/pipe-count-transform/pipe-count-transform.pipe.js +32 -32
  35. package/esm2015/lib/pipes/pipe-coursename/PipeCourseNameModule.js +15 -15
  36. package/esm2015/lib/pipes/pipe-coursename/pipe-coursename.pipe.js +13 -13
  37. package/esm2015/lib/pipes/pipe-date-concat/pipe-date-concat.module.js +14 -14
  38. package/esm2015/lib/pipes/pipe-date-concat/pipe-date-concat.pipe.js +42 -42
  39. package/esm2015/lib/pipes/pipe-duration-transform/pipe-duration-transform.module.js +14 -14
  40. package/esm2015/lib/pipes/pipe-duration-transform/pipe-duration-transform.pipe.js +81 -81
  41. package/esm2015/lib/pipes/pipe-email/pipe-email.module.js +15 -15
  42. package/esm2015/lib/pipes/pipe-email/pipe-email.pipe.js +12 -12
  43. package/esm2015/lib/pipes/pipe-filter/pipe-filter.module.js +14 -14
  44. package/esm2015/lib/pipes/pipe-filter/pipe-filter.pipe.js +15 -15
  45. package/esm2015/lib/pipes/pipe-filter-search/pipe-filter-search.module.js +14 -14
  46. package/esm2015/lib/pipes/pipe-filter-search/pipe-filter-search.pipe.js +37 -37
  47. package/esm2015/lib/pipes/pipe-filter-v2/pipe-filter-v2.module.js +14 -14
  48. package/esm2015/lib/pipes/pipe-filter-v2/pipe-filter-v2.pipe.js +20 -20
  49. package/esm2015/lib/pipes/pipe-filter-v3/pipe-filter-v3.module.js +15 -15
  50. package/esm2015/lib/pipes/pipe-filter-v3/pipe-filter-v3.pipe.js +23 -23
  51. package/esm2015/lib/pipes/pipe-html-tag-removal/pipe-html-tag-removal.module.js +14 -14
  52. package/esm2015/lib/pipes/pipe-html-tag-removal/pipe-html-tag-removal.pipe.js +11 -11
  53. package/esm2015/lib/pipes/pipe-limit-to/pipe-limit-to.module.js +14 -14
  54. package/esm2015/lib/pipes/pipe-limit-to/pipe-limit-to.pipe.js +24 -24
  55. package/esm2015/lib/pipes/pipe-list-filter/pipe-list-filter.module.js +14 -14
  56. package/esm2015/lib/pipes/pipe-list-filter/pipe-list-filter.pipe.js +16 -16
  57. package/esm2015/lib/pipes/pipe-name-transform/pipe-name-transform.module.js +14 -14
  58. package/esm2015/lib/pipes/pipe-name-transform/pipe-name-transform.pipe.js +26 -26
  59. package/esm2015/lib/pipes/pipe-nic-relative/pipe-nic-relative.module.js +15 -15
  60. package/esm2015/lib/pipes/pipe-nic-relative/pipe-nic-relative.pipe.js +39 -39
  61. package/esm2015/lib/pipes/pipe-order-by/pipe-order-by.module.js +14 -14
  62. package/esm2015/lib/pipes/pipe-order-by/pipe-order-by.pipe.js +15 -15
  63. package/esm2015/lib/pipes/pipe-ordinal/pipe-ordinal.module.js +15 -15
  64. package/esm2015/lib/pipes/pipe-ordinal/pipe-ordinal.pipe.js +17 -17
  65. package/esm2015/lib/pipes/pipe-partial-content/pipe-partial-content.module.js +14 -14
  66. package/esm2015/lib/pipes/pipe-partial-content/pipe-partial-content.pipe.js +17 -17
  67. package/esm2015/lib/pipes/pipe-public-URL/pipe-public-URL.module.js +15 -15
  68. package/esm2015/lib/pipes/pipe-public-URL/pipe-public-URL.pipe.js +26 -26
  69. package/esm2015/lib/pipes/pipe-relative-time/pipe-relative-time.module.js +14 -14
  70. package/esm2015/lib/pipes/pipe-relative-time/pipe-relative-time.pipe.js +15 -15
  71. package/esm2015/lib/pipes/pipe-safe-sanitizer/pipe-safe-sanitizer.module.js +14 -14
  72. package/esm2015/lib/pipes/pipe-safe-sanitizer/pipe-safe-sanitizer.pipe.js +34 -34
  73. package/esm2015/lib/resolvers/explore-detail.resolver.js +88 -88
  74. package/esm2015/lib/resolvers/marketing-offering.resolve.js +39 -39
  75. package/esm2015/lib/resolvers/module-name.resolver.js +38 -38
  76. package/esm2015/lib/resolvers/page-name.resolver.js +32 -32
  77. package/esm2015/lib/resolvers/page.constant.js +3 -3
  78. package/esm2015/lib/resolvers/page.model.js +47 -47
  79. package/esm2015/lib/resolvers/page.resolver.js +89 -89
  80. package/esm2015/lib/resolvers/resolver.model.js +5 -5
  81. package/esm2015/lib/services/auth-keycloak.service.js +267 -267
  82. package/esm2015/lib/services/auth-microsoft.service.js +195 -195
  83. package/esm2015/lib/services/card-content.model.js +30 -30
  84. package/esm2015/lib/services/configurations.model.js +550 -550
  85. package/esm2015/lib/services/configurations.service.js +142 -140
  86. package/esm2015/lib/services/content-strip-multiple.model.js +74 -74
  87. package/esm2015/lib/services/event.model.js +257 -257
  88. package/esm2015/lib/services/event.service.js +210 -210
  89. package/esm2015/lib/services/logger.service.js +54 -54
  90. package/esm2015/lib/services/ms-office.model.js +7 -7
  91. package/esm2015/lib/services/multilingual-translations.service.js +136 -136
  92. package/esm2015/lib/services/nps-grid.service.js +45 -45
  93. package/esm2015/lib/services/subapplication-respond.service.js +213 -213
  94. package/esm2015/lib/services/telemetry.service.js +620 -620
  95. package/esm2015/lib/services/user-preference.model.js +37 -37
  96. package/esm2015/lib/services/user-preference.service.js +89 -89
  97. package/esm2015/lib/services/utility.service.js +144 -144
  98. package/esm2015/lib/services/value.service.js +30 -30
  99. package/esm2015/lib/services/widget-content.model.js +372 -372
  100. package/esm2015/lib/services/widget-content.service.js +203 -203
  101. package/esm2015/lib/services/widget-resolver.model.js +56 -56
  102. package/esm2015/lib/services/widget-search.model.js +125 -125
  103. package/esm2015/public-api.js +87 -87
  104. package/esm2015/sunbird-cb-utils-v2.js +9 -9
  105. package/esm5/lib/components/image-crop/image-crop.component.js +199 -199
  106. package/esm5/lib/components/image-crop/image-crop.module.js +30 -30
  107. package/esm5/lib/constants/features.enum.js +554 -554
  108. package/esm5/lib/constants/instances.enum.js +4 -4
  109. package/esm5/lib/directives/class-change-on-scroll/class-change-on-scroll.directive.js +104 -104
  110. package/esm5/lib/directives/class-change-on-scroll/class-change-on-scroll.module.js +18 -18
  111. package/esm5/lib/directives/default-thumbnail/default-thumbnail.directive.js +39 -39
  112. package/esm5/lib/directives/default-thumbnail/default-thumbnail.module.js +18 -18
  113. package/esm5/lib/directives/image-responsive/image-responsive.directive.js +94 -94
  114. package/esm5/lib/directives/image-responsive/image-responsive.module.js +18 -18
  115. package/esm5/lib/directives/in-view-port/in-view-port.directive.js +72 -72
  116. package/esm5/lib/directives/in-view-port/in-view-port.module.js +18 -18
  117. package/esm5/lib/directives/navigation/navigation.directive.js +40 -40
  118. package/esm5/lib/directives/navigation/navigation.module.js +18 -18
  119. package/esm5/lib/directives/permission/permission.directive.js +13 -13
  120. package/esm5/lib/directives/permission/permission.module.js +18 -18
  121. package/esm5/lib/helpers/functions/getStringifiedQueryParams.js +8 -8
  122. package/esm5/lib/helpers/horizontal-scroller/horizontal-scroller.component.js +102 -102
  123. package/esm5/lib/helpers/horizontal-scroller/horizontal-scroller.module.js +22 -22
  124. package/esm5/lib/helpers/horizontal-scroller-v2/horizontal-scroller-v2.component.js +199 -199
  125. package/esm5/lib/helpers/horizontal-scroller-v2/horizontal-scroller-v2.module.js +23 -23
  126. package/esm5/lib/helpers/logout/logout.component.js +95 -95
  127. package/esm5/lib/helpers/logout/logout.module.js +23 -23
  128. package/esm5/lib/models/profile-v3.models.js +104 -104
  129. package/esm5/lib/pipes/pipe-certificate-image-URL/pipe-certimage-URL.module.js +19 -19
  130. package/esm5/lib/pipes/pipe-certificate-image-URL/pipe-certimage-URL.pipe.js +118 -96
  131. package/esm5/lib/pipes/pipe-concise-date-range/pipe-concise-date-range.module.js +16 -16
  132. package/esm5/lib/pipes/pipe-concise-date-range/pipe-concise-date-range.pipe.js +62 -62
  133. package/esm5/lib/pipes/pipe-count-transform/pipe-count-transform.module.js +18 -18
  134. package/esm5/lib/pipes/pipe-count-transform/pipe-count-transform.pipe.js +36 -36
  135. package/esm5/lib/pipes/pipe-coursename/PipeCourseNameModule.js +19 -19
  136. package/esm5/lib/pipes/pipe-coursename/pipe-coursename.pipe.js +17 -17
  137. package/esm5/lib/pipes/pipe-date-concat/pipe-date-concat.module.js +18 -18
  138. package/esm5/lib/pipes/pipe-date-concat/pipe-date-concat.pipe.js +44 -44
  139. package/esm5/lib/pipes/pipe-duration-transform/pipe-duration-transform.module.js +18 -18
  140. package/esm5/lib/pipes/pipe-duration-transform/pipe-duration-transform.pipe.js +85 -85
  141. package/esm5/lib/pipes/pipe-email/pipe-email.module.js +19 -19
  142. package/esm5/lib/pipes/pipe-email/pipe-email.pipe.js +16 -16
  143. package/esm5/lib/pipes/pipe-filter/pipe-filter.module.js +18 -18
  144. package/esm5/lib/pipes/pipe-filter/pipe-filter.pipe.js +19 -19
  145. package/esm5/lib/pipes/pipe-filter-search/pipe-filter-search.module.js +18 -18
  146. package/esm5/lib/pipes/pipe-filter-search/pipe-filter-search.pipe.js +45 -45
  147. package/esm5/lib/pipes/pipe-filter-v2/pipe-filter-v2.module.js +18 -18
  148. package/esm5/lib/pipes/pipe-filter-v2/pipe-filter-v2.pipe.js +24 -24
  149. package/esm5/lib/pipes/pipe-filter-v3/pipe-filter-v3.module.js +19 -19
  150. package/esm5/lib/pipes/pipe-filter-v3/pipe-filter-v3.pipe.js +31 -31
  151. package/esm5/lib/pipes/pipe-html-tag-removal/pipe-html-tag-removal.module.js +18 -18
  152. package/esm5/lib/pipes/pipe-html-tag-removal/pipe-html-tag-removal.pipe.js +15 -15
  153. package/esm5/lib/pipes/pipe-limit-to/pipe-limit-to.module.js +18 -18
  154. package/esm5/lib/pipes/pipe-limit-to/pipe-limit-to.pipe.js +29 -29
  155. package/esm5/lib/pipes/pipe-list-filter/pipe-list-filter.module.js +18 -18
  156. package/esm5/lib/pipes/pipe-list-filter/pipe-list-filter.pipe.js +20 -20
  157. package/esm5/lib/pipes/pipe-name-transform/pipe-name-transform.module.js +18 -18
  158. package/esm5/lib/pipes/pipe-name-transform/pipe-name-transform.pipe.js +30 -30
  159. package/esm5/lib/pipes/pipe-nic-relative/pipe-nic-relative.module.js +19 -19
  160. package/esm5/lib/pipes/pipe-nic-relative/pipe-nic-relative.pipe.js +41 -41
  161. package/esm5/lib/pipes/pipe-order-by/pipe-order-by.module.js +18 -18
  162. package/esm5/lib/pipes/pipe-order-by/pipe-order-by.pipe.js +17 -17
  163. package/esm5/lib/pipes/pipe-ordinal/pipe-ordinal.module.js +19 -19
  164. package/esm5/lib/pipes/pipe-ordinal/pipe-ordinal.pipe.js +21 -21
  165. package/esm5/lib/pipes/pipe-partial-content/pipe-partial-content.module.js +18 -18
  166. package/esm5/lib/pipes/pipe-partial-content/pipe-partial-content.pipe.js +33 -33
  167. package/esm5/lib/pipes/pipe-public-URL/pipe-public-URL.module.js +19 -19
  168. package/esm5/lib/pipes/pipe-public-URL/pipe-public-URL.pipe.js +28 -28
  169. package/esm5/lib/pipes/pipe-relative-time/pipe-relative-time.module.js +18 -18
  170. package/esm5/lib/pipes/pipe-relative-time/pipe-relative-time.pipe.js +19 -19
  171. package/esm5/lib/pipes/pipe-safe-sanitizer/pipe-safe-sanitizer.module.js +18 -18
  172. package/esm5/lib/pipes/pipe-safe-sanitizer/pipe-safe-sanitizer.pipe.js +37 -37
  173. package/esm5/lib/resolvers/explore-detail.resolver.js +92 -92
  174. package/esm5/lib/resolvers/marketing-offering.resolve.js +42 -42
  175. package/esm5/lib/resolvers/module-name.resolver.js +40 -40
  176. package/esm5/lib/resolvers/page-name.resolver.js +35 -35
  177. package/esm5/lib/resolvers/page.constant.js +3 -3
  178. package/esm5/lib/resolvers/page.model.js +47 -47
  179. package/esm5/lib/resolvers/page.resolver.js +97 -97
  180. package/esm5/lib/resolvers/resolver.model.js +5 -5
  181. package/esm5/lib/services/auth-keycloak.service.js +352 -352
  182. package/esm5/lib/services/auth-microsoft.service.js +250 -250
  183. package/esm5/lib/services/card-content.model.js +30 -30
  184. package/esm5/lib/services/configurations.model.js +550 -550
  185. package/esm5/lib/services/configurations.service.js +144 -142
  186. package/esm5/lib/services/content-strip-multiple.model.js +74 -74
  187. package/esm5/lib/services/event.model.js +257 -257
  188. package/esm5/lib/services/event.service.js +214 -214
  189. package/esm5/lib/services/logger.service.js +72 -72
  190. package/esm5/lib/services/ms-office.model.js +7 -7
  191. package/esm5/lib/services/multilingual-translations.service.js +138 -138
  192. package/esm5/lib/services/nps-grid.service.js +47 -47
  193. package/esm5/lib/services/subapplication-respond.service.js +218 -218
  194. package/esm5/lib/services/telemetry.service.js +669 -669
  195. package/esm5/lib/services/user-preference.model.js +37 -37
  196. package/esm5/lib/services/user-preference.service.js +108 -108
  197. package/esm5/lib/services/utility.service.js +177 -177
  198. package/esm5/lib/services/value.service.js +32 -32
  199. package/esm5/lib/services/widget-content.model.js +372 -372
  200. package/esm5/lib/services/widget-content.service.js +225 -225
  201. package/esm5/lib/services/widget-resolver.model.js +56 -56
  202. package/esm5/lib/services/widget-search.model.js +125 -125
  203. package/esm5/public-api.js +87 -87
  204. package/esm5/sunbird-cb-utils-v2.js +9 -9
  205. package/fesm2015/sunbird-cb-utils-v2.js +6192 -6168
  206. package/fesm2015/sunbird-cb-utils-v2.js.map +1 -1
  207. package/fesm5/sunbird-cb-utils-v2.js +6701 -6677
  208. package/fesm5/sunbird-cb-utils-v2.js.map +1 -1
  209. package/lib/components/image-crop/image-crop.component.d.ts +56 -56
  210. package/lib/components/image-crop/image-crop.module.d.ts +2 -2
  211. package/lib/constants/features.enum.d.ts +553 -553
  212. package/lib/constants/instances.enum.d.ts +3 -3
  213. package/lib/constants/misc.constants.d.ts +2 -2
  214. package/lib/directives/class-change-on-scroll/class-change-on-scroll.directive.d.ts +18 -18
  215. package/lib/directives/class-change-on-scroll/class-change-on-scroll.module.d.ts +2 -2
  216. package/lib/directives/default-thumbnail/default-thumbnail.directive.d.ts +9 -9
  217. package/lib/directives/default-thumbnail/default-thumbnail.module.d.ts +2 -2
  218. package/lib/directives/image-responsive/image-responsive.directive.d.ts +17 -17
  219. package/lib/directives/image-responsive/image-responsive.module.d.ts +2 -2
  220. package/lib/directives/in-view-port/in-view-port.directive.d.ts +11 -11
  221. package/lib/directives/in-view-port/in-view-port.module.d.ts +2 -2
  222. package/lib/directives/navigation/navigation.directive.d.ts +9 -9
  223. package/lib/directives/navigation/navigation.module.d.ts +2 -2
  224. package/lib/directives/permission/permission.directive.d.ts +3 -3
  225. package/lib/directives/permission/permission.module.d.ts +2 -2
  226. package/lib/helpers/functions/getStringifiedQueryParams.d.ts +3 -3
  227. package/lib/helpers/horizontal-scroller/horizontal-scroller.component.d.ts +18 -18
  228. package/lib/helpers/horizontal-scroller/horizontal-scroller.module.d.ts +2 -2
  229. package/lib/helpers/horizontal-scroller-v2/horizontal-scroller-v2.component.d.ts +36 -36
  230. package/lib/helpers/horizontal-scroller-v2/horizontal-scroller-v2.module.d.ts +2 -2
  231. package/lib/helpers/logout/logout.component.d.ts +20 -20
  232. package/lib/helpers/logout/logout.module.d.ts +2 -2
  233. package/lib/models/profile-v3.models.d.ts +91 -91
  234. package/lib/pipes/pipe-certificate-image-URL/pipe-certimage-URL.module.d.ts +2 -2
  235. package/lib/pipes/pipe-certificate-image-URL/pipe-certimage-URL.pipe.d.ts +6 -6
  236. package/lib/pipes/pipe-concise-date-range/pipe-concise-date-range.module.d.ts +2 -2
  237. package/lib/pipes/pipe-concise-date-range/pipe-concise-date-range.pipe.d.ts +10 -10
  238. package/lib/pipes/pipe-count-transform/pipe-count-transform.module.d.ts +2 -2
  239. package/lib/pipes/pipe-count-transform/pipe-count-transform.pipe.d.ts +4 -4
  240. package/lib/pipes/pipe-coursename/PipeCourseNameModule.d.ts +2 -2
  241. package/lib/pipes/pipe-coursename/pipe-coursename.pipe.d.ts +4 -4
  242. package/lib/pipes/pipe-date-concat/pipe-date-concat.module.d.ts +2 -2
  243. package/lib/pipes/pipe-date-concat/pipe-date-concat.pipe.d.ts +13 -13
  244. package/lib/pipes/pipe-duration-transform/pipe-duration-transform.module.d.ts +2 -2
  245. package/lib/pipes/pipe-duration-transform/pipe-duration-transform.pipe.d.ts +6 -6
  246. package/lib/pipes/pipe-email/pipe-email.module.d.ts +2 -2
  247. package/lib/pipes/pipe-email/pipe-email.pipe.d.ts +4 -4
  248. package/lib/pipes/pipe-filter/pipe-filter.module.d.ts +2 -2
  249. package/lib/pipes/pipe-filter/pipe-filter.pipe.d.ts +4 -4
  250. package/lib/pipes/pipe-filter-search/pipe-filter-search.module.d.ts +2 -2
  251. package/lib/pipes/pipe-filter-search/pipe-filter-search.pipe.d.ts +4 -4
  252. package/lib/pipes/pipe-filter-v2/pipe-filter-v2.module.d.ts +2 -2
  253. package/lib/pipes/pipe-filter-v2/pipe-filter-v2.pipe.d.ts +4 -4
  254. package/lib/pipes/pipe-filter-v3/pipe-filter-v3.module.d.ts +2 -2
  255. package/lib/pipes/pipe-filter-v3/pipe-filter-v3.pipe.d.ts +4 -4
  256. package/lib/pipes/pipe-html-tag-removal/pipe-html-tag-removal.module.d.ts +2 -2
  257. package/lib/pipes/pipe-html-tag-removal/pipe-html-tag-removal.pipe.d.ts +4 -4
  258. package/lib/pipes/pipe-limit-to/pipe-limit-to.module.d.ts +2 -2
  259. package/lib/pipes/pipe-limit-to/pipe-limit-to.pipe.d.ts +4 -4
  260. package/lib/pipes/pipe-list-filter/pipe-list-filter.module.d.ts +2 -2
  261. package/lib/pipes/pipe-list-filter/pipe-list-filter.pipe.d.ts +4 -4
  262. package/lib/pipes/pipe-name-transform/pipe-name-transform.module.d.ts +2 -2
  263. package/lib/pipes/pipe-name-transform/pipe-name-transform.pipe.d.ts +9 -9
  264. package/lib/pipes/pipe-nic-relative/pipe-nic-relative.module.d.ts +2 -2
  265. package/lib/pipes/pipe-nic-relative/pipe-nic-relative.pipe.d.ts +7 -7
  266. package/lib/pipes/pipe-order-by/pipe-order-by.module.d.ts +2 -2
  267. package/lib/pipes/pipe-order-by/pipe-order-by.pipe.d.ts +9 -9
  268. package/lib/pipes/pipe-ordinal/pipe-ordinal.module.d.ts +2 -2
  269. package/lib/pipes/pipe-ordinal/pipe-ordinal.pipe.d.ts +4 -4
  270. package/lib/pipes/pipe-partial-content/pipe-partial-content.module.d.ts +2 -2
  271. package/lib/pipes/pipe-partial-content/pipe-partial-content.pipe.d.ts +4 -4
  272. package/lib/pipes/pipe-public-URL/pipe-public-URL.module.d.ts +2 -2
  273. package/lib/pipes/pipe-public-URL/pipe-public-URL.pipe.d.ts +6 -6
  274. package/lib/pipes/pipe-relative-time/pipe-relative-time.module.d.ts +2 -2
  275. package/lib/pipes/pipe-relative-time/pipe-relative-time.pipe.d.ts +4 -4
  276. package/lib/pipes/pipe-safe-sanitizer/pipe-safe-sanitizer.module.d.ts +2 -2
  277. package/lib/pipes/pipe-safe-sanitizer/pipe-safe-sanitizer.pipe.d.ts +7 -7
  278. package/lib/resolvers/explore-detail.resolver.d.ts +16 -16
  279. package/lib/resolvers/marketing-offering.resolve.d.ts +10 -10
  280. package/lib/resolvers/module-name.resolver.d.ts +6 -6
  281. package/lib/resolvers/page-name.resolver.d.ts +5 -5
  282. package/lib/resolvers/page.constant.d.ts +1 -1
  283. package/lib/resolvers/page.model.d.ts +41 -41
  284. package/lib/resolvers/page.resolver.d.ts +17 -17
  285. package/lib/resolvers/resolver.model.d.ts +4 -4
  286. package/lib/services/auth-keycloak.service.d.ts +31 -31
  287. package/lib/services/auth-microsoft.service.d.ts +30 -30
  288. package/lib/services/card-content.model.d.ts +29 -29
  289. package/lib/services/configurations.model.d.ts +523 -523
  290. package/lib/services/configurations.service.d.ts +74 -73
  291. package/lib/services/content-strip-multiple.model.d.ts +79 -79
  292. package/lib/services/event.model.d.ts +221 -221
  293. package/lib/services/event.service.d.ts +30 -30
  294. package/lib/services/logger.service.d.ts +15 -15
  295. package/lib/services/ms-office.model.d.ts +6 -6
  296. package/lib/services/multilingual-translations.service.d.ts +20 -20
  297. package/lib/services/nps-grid.service.d.ts +12 -12
  298. package/lib/services/subapplication-respond.service.d.ts +23 -23
  299. package/lib/services/telemetry.service.d.ts +56 -56
  300. package/lib/services/user-preference.model.d.ts +34 -34
  301. package/lib/services/user-preference.service.d.ts +11 -11
  302. package/lib/services/utility.service.d.ts +31 -31
  303. package/lib/services/value.service.d.ts +8 -8
  304. package/lib/services/widget-content.model.d.ts +344 -344
  305. package/lib/services/widget-content.service.d.ts +50 -50
  306. package/lib/services/widget-resolver.model.d.ts +48 -48
  307. package/lib/services/widget-search.model.d.ts +114 -114
  308. package/package.json +1 -1
  309. package/public-api.d.ts +87 -87
  310. package/sunbird-cb-utils-v2.d.ts +9 -9
  311. package/sunbird-cb-utils-v2.metadata.json +1 -1
@@ -1,2 +1,2 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("@angular/material/dialog"),require("@angular/material/snack-bar"),require("rxjs"),require("@angular/cdk/layout"),require("rxjs/operators"),require("@angular/common"),require("@angular/material"),require("ngx-image-cropper"),require("@angular/cdk/platform"),require("@angular/common/http"),require("@angular/router"),require("lodash"),require("moment"),require("keycloak-angular"),require("@ngx-translate/core"),require("@angular/platform-browser")):"function"==typeof define&&define.amd?define("@sunbird-cb/utils-v2",["exports","@angular/core","@angular/material/dialog","@angular/material/snack-bar","rxjs","@angular/cdk/layout","rxjs/operators","@angular/common","@angular/material","ngx-image-cropper","@angular/cdk/platform","@angular/common/http","@angular/router","lodash","moment","keycloak-angular","@ngx-translate/core","@angular/platform-browser"],t):t(((e=e||self)["sunbird-cb"]=e["sunbird-cb"]||{},e["sunbird-cb"]["utils-v2"]={}),e.ng.core,e.ng.material.dialog,e.ng.material["snack-bar"],e.rxjs,e.ng.cdk.layout,e.rxjs.operators,e.ng.common,e.ng.material,e.ngxImageCropper,e.ng.cdk.platform,e.ng.common.http,e.ng.router,e._,e.moment,e["keycloak-angular"],e.core$1,e.ng.platformBrowser)}(this,(function(e,t,n,i,o,r,a,s,c,l,u,p,E,d,_,S,g,A){"use strict";var T="default"in d?d.default:d;_=_&&_.hasOwnProperty("default")?_.default:_;var I=function(){return(I=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function f(e,t,n,i){return new(n||(n=Promise))((function(o,r){function a(e){try{c(i.next(e))}catch(e){r(e)}}function s(e){try{c(i.throw(e))}catch(e){r(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((i=i.apply(e,t||[])).next())}))}function h(e,t){var n,i,o,r,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function s(r){return function(s){return function(r){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(o=2&r[0]?i.return:r[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,r[1])).done)return o;switch(i=0,o&&(r=[2&r[0],o.value]),r[0]){case 0:case 1:o=r;break;case 4:return a.label++,{value:r[1],done:!1};case 5:a.label++,i=r[1],r=[0];continue;case 7:r=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==r[0]&&2!==r[0])){a=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]<o[3])){a.label=r[1];break}if(6===r[0]&&a.label<o[1]){a.label=o[1],o=r;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(r);break}o[2]&&a.ops.pop(),a.trys.pop();continue}r=t.call(e,a)}catch(e){r=[6,e],i=0}finally{n=o=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}([r,s])}}}function m(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],i=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function N(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,o,r=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(i=r.next()).done;)a.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return a}var C=function(){function e(){this.appSetup=!0,this.userUrl="",this.baseUrl="assets/configurations",this.sitePath="assets/configurations",this.hostPath=window.location.host.replace(":","_"),this.userRoles=null,this.userGroups=null,this.restrictedFeatures=null,this.restrictedWidgets=null,this.instanceConfig=null,this.appsConfig=null,this.rootOrg=null,this.org=null,this.activeOrg="",this.isProduction=!1,this.hasAcceptedTnc=!1,this.profileDetailsStatus=!1,this.isActive=!0,this.userPreference=null,this.userProfile=null,this.userProfileV2=null,this.nodebbUserProfile=null,this.isAuthenticated=!1,this.isNewUser=!1,this.pinnedApps=new o.BehaviorSubject(new Set),this.prefChangeNotifier=new o.ReplaySubject(1),this.tourGuideNotifier=new o.ReplaySubject,this.authChangeNotifier=new o.ReplaySubject(1),this.updateProfile=new o.BehaviorSubject(!1),this.updateProfileObservable=this.updateProfile.asObservable(),this.updateTourGuide=new o.BehaviorSubject(!0),this.updateTourGuideObservable=this.updateTourGuide.asObservable(),this.updatePlatformRating=new o.BehaviorSubject({bottom:"120px"}),this.updatePlatformRatingObservable$=this.updatePlatformRating.asObservable(),this.languageTranslationFlag=new o.Subject,this.activeThemeObject=null,this.activeFontObject=null,this.isDarkMode=!1,this.isIntranetAllowed=!1,this.isRTL=!1,this.activeLocale=null,this.activeLocaleGroup="",this.completedActivity=null,this.completedTour=!1,this.profileSettings=["profilePicture","learningTime","learningPoints"],this.primaryNavBar={color:"primary"},this.pageNavBar={color:"primary"},this.primaryNavBarConfig=null,this.welcomeTabs=null,this.cstoken="",this.changeNavBarFullView=new o.Subject,this.openExploreMenuForMWeb=new o.Subject}return e.prototype.updateGlobalProfile=function(e){this.updateProfile.next(e)},e.prototype.updateTourGuideMethod=function(e){this.updateTourGuide.next(e)},e.prototype.updatePlatformRatingMethod=function(e){this.updatePlatformRating.next(e)},e.decorators=[{type:t.Injectable,args:[{providedIn:"root"}]}],e.ctorParameters=function(){return[]},e.ngInjectableDef=t.ɵɵdefineInjectable({factory:function(){return new e},token:e,providedIn:"root"}),e}();var y=function(){function e(e){this.breakpointObserver=e,this.isXSmall$=this.breakpointObserver.observe([r.Breakpoints.XSmall]).pipe(a.map((function(e){return e.matches}))),this.isLtMedium$=this.breakpointObserver.observe([r.Breakpoints.XSmall,r.Breakpoints.Small]).pipe(a.map((function(e){return e.matches})))}return e.decorators=[{type:t.Injectable,args:[{providedIn:"root"}]}],e.ctorParameters=function(){return[{type:r.BreakpointObserver}]},e.ngInjectableDef=t.ɵɵdefineInjectable({factory:function(){return new e(t.ɵɵinject(r.BreakpointObserver))},token:e,providedIn:"root"}),e}();var R=function(){function e(e,n,i,o,r){this.dialogRef=e,this.configSvc=n,this.snackBar=i,this.valueSvc=o,this.data=new t.EventEmitter,this.isRoundCrop=!1,this.isNotOfRequiredSize=!1,this.imageFileBase64="",this.width="",this.height="",this.imageDimensions="",this.croppedHeight="",this.croppedWidth="",this.cropperReadyToStart=!1,this.fileName="",this.canvasRotation=0,this.transform={},this.resetValue=!1,this.isXSmall=!1,this.isThumbnail=!0,this.isRoundCrop=r.isRoundCrop,r.imageFile&&(this.imageFile=r.imageFile),r.imageFileName&&(this.fileName=r.imageFileName),r.isRoundCrop||(r.height&&(this.opHeight=r.height),r.width&&(this.opWidth=r.width))}return e.prototype.ngOnInit=function(){var e=this;this.thumbnailSizeDetection(),this.valueSvc.isXSmall$.subscribe((function(t){e.isXSmall=t,e.isXSmall?e.dialogRef.updateSize("90%"):e.dialogRef.updateSize("70%")}))},e.prototype.changeToDefaultImg=function(e){e.target.src=this.configSvc.instanceConfig?this.configSvc.instanceConfig.logos.defaultContent:""},e.prototype.imageCropped=function(e){this.imageFileBase64=e.base64,this.cropimageFile=this.base64ImageToBlob(this.imageFileBase64),this.croppedHeight=e.height,this.croppedWidth=e.width},e.prototype.openSnackBar=function(e){this.snackBar.open(e,"X",{duration:2e3})},e.prototype.continueToImageCrop=function(){this.isNotOfRequiredSize=!1},e.prototype.thumbnailSizeDetection=function(){var e=this,t=new FileReader;t.readAsDataURL(this.imageFile),t.onload=function(){var n=new Image;n.src=t.result,n.onload=function(){if(e.width=n.width,e.height=n.height,!e.isRoundCrop){if(e.height===e.opHeight&&e.width===e.opWidth)return void e.openSnackBar("Image is of the required dimensions of the thumbnail, croping is not available!");(e.height<e.opHeight||e.width<e.opWidth)&&(e.isNotOfRequiredSize=!0)}}}},e.prototype.base64ImageToBlob=function(e){for(var t=e.indexOf(";base64,"),n=e.substr(t+8),i=atob(n),o=new ArrayBuffer(i.length),r=new Uint8Array(o),a=0;a<i.length;a+=1)r[a]=i.charCodeAt(a);var s=new Blob([r],{type:"image/png"}),c=s;return c.lastModifiedDate=new Date,c.name=this.fileName,new File([s],this.fileName,{type:"image/jpeg"})},e.prototype.flipAfterRotate=function(){var e=this.transform.flipH,t=this.transform.flipV;this.transform=I({},this.transform,{flipH:t,flipV:e})},e.prototype.rotateLeft=function(){this.canvasRotation=this.canvasRotation-1,this.flipAfterRotate()},e.prototype.rotateRight=function(){this.canvasRotation=this.canvasRotation+1,this.flipAfterRotate()},e.prototype.flipHorizontal=function(){this.transform=I({},this.transform,{flipH:!this.transform.flipH})},e.prototype.zoom=function(e){this.resetValue=!1,this.transform=I({},this.transform,{scale:e.value})},e.prototype.croppingImage=function(){this.dialogRef.close(this.cropimageFile)},e.prototype.reset=function(){this.resetValue=!0,this.canvasRotation=0,this.transform={}},e.prototype.close=function(){this.dialogRef.close()},e.decorators=[{type:t.Component,args:[{selector:"ws-utils-image-crop",template:'<ng-container *ngIf="isNotOfRequiredSize">\r\n <mat-dialog-content>\r\n <div class="flex pl-4">\r\n <mat-icon class="ws-mat-warn-text largeicon padding-remove-left">warning</mat-icon>\r\n <h2 class="text-xl" i18n>This image will appear stretched as it is not in proper dimension. Do you want to\r\n continue?</h2>\r\n </div>\r\n <div class="text-sm pl-4">\r\n <div i18n class="pb-2">Note:</div>\r\n <div i18n class="pb-2">Required dimensions : 265 * 150</div>\r\n <div class="flex flex-wrap items-baseline">\r\n <div>Current dimensions:</div>\r\n <div class="pl-1">{{ width }} * {{ height }} px</div>\r\n </div>\r\n </div>\r\n </mat-dialog-content>\r\n <mat-dialog-actions class="flex flex-end">\r\n <div class="flex flex-end">\r\n <button mat-raised-button autofocus type="button" (click)=" close()">\r\n <span i18n>No</span>\r\n </button>\r\n <button mat-raised-button type="button" class="text-white ws-mat-primary-background text-white"\r\n (click)=" continueToImageCrop()">\r\n <span class="text-white" i18n>Yes</span>\r\n </button>\r\n </div>\r\n </mat-dialog-actions>\r\n</ng-container>\r\n<ng-container *ngIf="isRoundCrop">\r\n \x3c!-- For Profile image - start --\x3e\r\n <div class="flex flex-between">\r\n <mat-icon class=" ws-mat-primary-text margin-bottom-xxs">crop</mat-icon>\r\n <p mat-dialog-title class="text-3xl font-weight-bold ws-mat-primary-text" i18n>Profile Photo</p>\r\n <mat-icon class="float-right flex-end cursor-pointer" (click)="close()" i18n>close</mat-icon>\r\n\r\n </div>\r\n <mat-dialog-content class="p-0 overflow-hidden " *ngIf="isRoundCrop">\r\n <div class="flex flex-between">\r\n <div class="profile-slides">\r\n <image-cropper #imageCropper class="image-cropper-profile" [imageFile]="imageFile" [maintainAspectRatio]="true"\r\n [aspectRatio]="250 / 250" [resizeToWidth]="100" [roundCropper]="isRoundCrop" [resizeToHeight]="120"\r\n [cropperMinWidth]="500" [format]="\'jpeg\'" [transform]="transform" [canvasRotation]="canvasRotation"\r\n (imageCropped)="imageCropped($event)">\r\n </image-cropper>\r\n </div>\r\n </div>\r\n <ul class="toolbar cf">\r\n <li><button mat-raised-button class="mat-button" (click)="rotateLeft()">\r\n <mat-icon class="text-white large-icon ws-mat-primary-text">rotate_left</mat-icon>\r\n <span class="button-text" i18n>Rotate Left</span>\r\n </button>\r\n </li>\r\n <li><button mat-raised-button class="mat-button" (click)="rotateRight()">\r\n <mat-icon class="text-white medium-icon ws-mat-primary-text">rotate_right</mat-icon>\r\n <span class="button-text" i18n>Rotate Right</span>\r\n </button></li>\r\n <li><button mat-raised-button class="mat-button" (click)="flipHorizontal()">\r\n <mat-icon class="text-white medium-icon ws-mat-primary-text">flip</mat-icon>\r\n <span class="button-text" i18n>Flip Horizontal</span>\r\n </button></li>\r\n <li><a href="#"><i class="icon-cloud"></i></a></li>\r\n </ul>\r\n </mat-dialog-content>\r\n</ng-container> \x3c!-- For Profile image - end --\x3e\r\n<ng-container>\r\n <ng-container *ngIf="!isNotOfRequiredSize && !isRoundCrop ">\r\n <div class="flex flex-between">\r\n <mat-icon class=" ws-mat-primary-text margin-bottom-xxs">crop</mat-icon>\r\n <p mat-dialog-title class="text-3xl title-margin font-weight-bold ws-mat-primary-text" i18n>Edit Image</p>\r\n <mat-icon class="float-right flex-end cursor-pointer" (click)="close()" i18n>\r\n close</mat-icon>\r\n </div>\r\n <mat-dialog-content *ngIf="!isRoundCrop">\r\n <div class="flex flex-between">\r\n <div class="Slides">\r\n <image-cropper #imageCropper class="image-cropper padding-remove" [imageFile]="imageFile"\r\n [maintainAspectRatio]="true" [aspectRatio]="opWidth / opHeight" [resizeToWidth]="opWidth"\r\n [roundCropper]="isRoundCrop" [resizeToHeight]="opHeight" [cropperMinWidth]="opWidth" [format]="\'jpeg\'"\r\n [transform]="transform" [canvasRotation]="canvasRotation" (imageCropped)="imageCropped($event)">\r\n </image-cropper>\r\n <div class="flex flex-between">\r\n <span class="my-3" i18n>Zoom</span>\r\n <mat-slider class="w-full mx-3" color="primary" (input)="zoom($event)" min="1" max="2.5" step="0.1">\r\n </mat-slider>\r\n </div>\r\n <div class="edit-feature-window " *ngIf="!isXSmall">\r\n <div class="flex flex-between">\r\n <button mat-raised-button class="mat-button" (click)="rotateLeft()">\r\n <mat-icon class="text-white large-icon ws-mat-primary-text">rotate_left</mat-icon>\r\n <span class="button-text" i18n>Rotate Left</span>\r\n </button>\r\n <button mat-raised-button class="mat-button" (click)="rotateRight()">\r\n <mat-icon class="text-white medium-icon ws-mat-primary-text">rotate_right</mat-icon>\r\n <span class="button-text" i18n>Rotate Right</span>\r\n </button>\r\n <button mat-raised-button class="mat-button" (click)="flipHorizontal()">\r\n <mat-icon class="text-white medium-icon ws-mat-primary-text">flip</mat-icon>\r\n <span class="button-text" i18n>Flip Horizontal</span>\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n <mat-card class="ws-mat-primary-border-top-bolder mat-elevation-z6 margin-bottom-l button-text"\r\n *ngIf="isThumbnail">\r\n <img [src]="imageFileBase64" height="auto" width="100%" (error)="changeToDefaultImg($event)" />\r\n <div class="flex flex-middle justify-center margin-bottom-s padding-top-s">\r\n <mat-icon class="ws-mat-primary-text padding-right-s">image</mat-icon>\r\n <b class="mat-title margin-remove ws-mat-primary-text" i18n>Preview</b>\r\n </div>\r\n </mat-card>\r\n </div>\r\n <div class="edit-feature-window heightwidth">\r\n \x3c!-- <div class="flex flex-middle margin-left-l margin-bottom-s padding-top-s">\r\n <mat-icon class="ws-mat-primary-text padding-right-s">swap_horiz</mat-icon>\r\n <b class="mat-body margin-remove " i18n>Cropped dimensions: {{ opWidth }} * {{ opHeight }} px</b>\r\n </div> --\x3e\r\n <div class="flex flex-middle margin-left-l margin-bottom-s padding-top-s">\r\n <mat-icon class="ws-mat-primary-text padding-right-s">swap_horiz</mat-icon>\r\n <b class="mat-body margin-remove ">\r\n <span i18n>Cropped Width: </span>\r\n <span>{{ croppedWidth }}</span>\r\n <span i18n>px</span>\r\n </b>\r\n </div>\r\n <div class="flex flex-middle margin-left-l margin-bottom-s padding-top-s">\r\n <mat-icon class="ws-mat-primary-text padding-right-s">swap_vert</mat-icon>\r\n <b class="mat-body margin-remove ">\r\n <span i18n>Cropped Height: </span>\r\n <span>{{ croppedHeight }}</span>\r\n <span i18n>px</span>\r\n </b>\r\n </div>\r\n </div>\r\n </mat-dialog-content>\r\n </ng-container>\r\n <mat-dialog-actions align="end" *ngIf="!isNotOfRequiredSize ">\r\n <div class="flex flex-end margin-bottom-s">\r\n \x3c!-- <button mat-raised-button type="button" (click)=" reset()">\r\n <span i18n>Reset</span>\r\n </button> --\x3e\r\n <button mat-raised-button type="button" class="text-white ws-mat-primary-background text-white"\r\n (click)=" croppingImage()">\r\n <span class="text-white" i18n>Apply</span>\r\n </button>\r\n </div>\r\n </mat-dialog-actions>\r\n</ng-container>\r\n',styles:['.image-cropper{max-height:55vh}::ng-deep image-cropper .overlay{background-color:transparent!important}.Slides{display:block;height:auto;width:50%;position:relative;margin-left:auto;margin-right:auto;padding:0 1.25em}.cursor{cursor:pointer}.edit-feature-window{background:0 0;justify-content:center}mat-toolbar{background-color:#fff!important;z-index:1!important}mat-dialog-content{padding:1.25em!important}.heightwidth{display:flex}@media only screen and (max-width:1030px){.Slides{padding:0;width:100%}mat-dialog-content{padding:.25em .5em!important}.heightwidth{display:block}.mat-button{min-width:auto;padding:0 14px}.button-text{display:none}}.largeicon{font-size:2em;padding:.13em .5em}.tooltip{background:#b71c1c}.dimension-icon{position:relative;top:.35em;padding:0 0 0 .3em}.image-cropper-profile{max-height:55vh}.profile-slides{box-shadow:0 10px 20px rgba(0,0,0,.19),0 6px 6px rgba(0,0,0,.23);display:block;height:auto;width:50%;position:relative;margin-left:auto;margin-right:auto}@media only screen and (max-width:1030px){.profile-slides{padding:0;width:100%}}.toolbar{left:50%;margin:1em 0 0 -10em;position:absolute;width:auto;border-radius:4px}.cf:after,.cf:before{content:"";display:table}.cf:after{clear:both}.toolbar li{float:left;list-style:none}.toolbar a{border-left:0 solid rgba(79,123,170,.4);border-right:1px solid rgba(255,255,255,.3)}.toolbar li:first-child a{border-left:none;border-radius:4px 0 0 4px}.toolbar li:last-child a{border-right:none;border-radius:0 4px 4px 0}']}]}],e.ctorParameters=function(){return[{type:n.MatDialogRef},{type:C},{type:i.MatSnackBar},{type:y},{type:void 0,decorators:[{type:t.Inject,args:[n.MAT_DIALOG_DATA]}]}]},e.propDecorators={data:[{type:t.Output}]},e}();var O=function(){function e(){}return e.decorators=[{type:t.NgModule,args:[{declarations:[R],imports:[s.CommonModule,l.ImageCropperModule,c.MatIconModule,c.MatButtonModule,c.MatDialogModule,c.MatToolbarModule,c.MatDialogModule,c.MatCardModule,c.MatTooltipModule,c.MatSliderModule],exports:[R],entryComponents:[R]}]}],e}(),v={ScrollingUp:0,ScrollingDown:1,NoScrolling:2};v[v.ScrollingUp]="ScrollingUp",v[v.ScrollingDown]="ScrollingDown",v[v.NoScrolling]="NoScrolling";var P=function(){function e(){this.wsClassOnScrollDirChange=5e3,this.hasScrolledDown=!1,this.windowScrollSubscription=null,this.lastScreenTop=0,this.currState=v.NoScrolling}return Object.defineProperty(e.prototype,"isScrollingDown",{get:function(){return this.currState===v.ScrollingDown},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isScrollingUp",{get:function(){return this.currState===v.ScrollingUp},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isNotScrolling",{get:function(){return this.currState===v.NoScrolling},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){var e=this;this.windowScrollSubscription=o.fromEvent(window,"scroll").pipe(a.debounceTime(50)).subscribe((function(){clearTimeout(e.timeoutTimer);var t=window.scrollY;e.hasScrolledDown=t>56,e.setScrollState(e.lastScreenTop,t),e.lastScreenTop=t}))},e.prototype.ngAfterViewInit=function(){},e.prototype.ngOnDestroy=function(){this.windowScrollSubscription&&this.windowScrollSubscription.unsubscribe()},e.prototype.setScrollState=function(e,t){void 0===e&&(e=0),void 0===t&&(t=0),this.currState=e>t?v.ScrollingUp:e<t?v.ScrollingDown:v.NoScrolling,this.currState!==v.NoScrolling&&this.resetScrollingState()},e.prototype.resetScrollingState=function(){var e=this;this.timeoutTimer=setTimeout((function(){e.setScrollState()}),this.wsClassOnScrollDirChange||5e3)},e.decorators=[{type:t.Directive,args:[{selector:"[wsUtilsClassChangeOnScroll]"}]}],e.ctorParameters=function(){return[]},e.propDecorators={wsClassOnScrollDirChange:[{type:t.Input}],isScrollingDown:[{type:t.HostBinding,args:["class.scrolling-down"]}],isScrollingUp:[{type:t.HostBinding,args:["class.scrolling-up"]}],isNotScrolling:[{type:t.HostBinding,args:["class.scrolling-no"]}],hasScrolledDown:[{type:t.HostBinding,args:["class.scrolled-down"]}]},e}();var L=function(){function e(){}return e.decorators=[{type:t.NgModule,args:[{declarations:[P],imports:[s.CommonModule],exports:[P]}]}],e}(),b=function(){function e(){this.wsUtilsDefaultThumbnail="",this.src="",this.isSrcUpdateAttemptedForDefault=!1,this.srcUrl=""}return e.prototype.updateSrc=function(){this.isSrcUpdateAttemptedForDefault||(this.srcUrl=this.wsUtilsDefaultThumbnail,this.isSrcUpdateAttemptedForDefault=!0)},e.prototype.ngOnChanges=function(){this.src&&(this.srcUrl=this.src)},e.decorators=[{type:t.Directive,args:[{selector:"[wsUtilsDefaultThumbnail]"}]}],e.propDecorators={wsUtilsDefaultThumbnail:[{type:t.Input}],src:[{type:t.Input}],srcUrl:[{type:t.HostBinding,args:["src"]}],updateSrc:[{type:t.HostListener,args:["error"]}]},e}();var D=function(){function e(){}return e.decorators=[{type:t.NgModule,args:[{declarations:[b],imports:[s.CommonModule],exports:[b]}]}],e}();var w="(max-width: 450px)",V="(min-width: 450.001px) and (max-width: 768px)",G="(min-width: 768.001px) and (max-width: 1024px)",M="(min-width: 1024.001px) and (max-width: 1400px)",U="(min-width: 1400.001px) and (max-width: 1920px)",W="(min-width: 1920.001px)",F=function(){function e(e){var t=this;this.breakpointObserver=e,this.src=null,this.srcBindUrl="",this.currentSize="",this.breakpointSubscription=null,this.breakpointSubscription=this.breakpointObserver.observe([w,V,G,M,U,W]).pipe(a.distinctUntilChanged()).subscribe((function(e){e.breakpoints[W]?t.currentSize="xxl":e.breakpoints[U]?t.currentSize="xl":e.breakpoints[M]?t.currentSize="l":e.breakpoints[G]?t.currentSize="m":e.breakpoints[V]?t.currentSize="s":e.breakpoints[w]?t.currentSize="xs":t.currentSize="xl",t.setSrc()}))}return e.prototype.ngOnChanges=function(){this.src&&this.setSrc()},e.prototype.ngOnDestroy=function(){this.breakpointSubscription&&this.breakpointSubscription.unsubscribe()},e.prototype.setSrc=function(){this.currentSize&&this.src&&this.src[this.currentSize]&&(this.srcBindUrl=this.src[this.currentSize])},e.decorators=[{type:t.Directive,args:[{selector:"[wsUtilsImageResponsive]"}]}],e.ctorParameters=function(){return[{type:r.BreakpointObserver}]},e.propDecorators={src:[{type:t.Input}],srcBindUrl:[{type:t.HostBinding,args:["src"]}]},e}();var x=function(){function e(){}return e.decorators=[{type:t.NgModule,args:[{declarations:[F],imports:[s.CommonModule],exports:[F]}]}],e}(),B=function(){function e(e){this._el=e,this.inViewport=new t.EventEmitter}return e.prototype.ngOnInit=function(){var e=this;this.check(),this.scroll=o.fromEvent(window,"scroll").pipe(a.debounceTime(100)).subscribe((function(){e.check()})),this.resize=o.fromEvent(window,"resize").pipe(a.debounceTime(100)).subscribe((function(){e.check()}))},e.prototype.ngOnDestroy=function(){this.scroll.unsubscribe(),this.resize.unsubscribe()},e.prototype.check=function(e,t){void 0===e&&(e=!0),void 0===t&&(t="both");var n=this._el.nativeElement,i=n.offsetWidth*n.offsetHeight,o=n.getBoundingClientRect(),r=window.innerWidth,a=window.innerHeight,s=o.top>=0&&o.top<a,c=o.bottom>0&&o.bottom<=a,l=o.left>=0&&o.left<r,u=o.right>0&&o.right<=r,p=e?s||c:s&&c,E=e?l||u:l&&u,d=!1;"both"===t?d=!!(i&&p&&E):"vertical"===t?d=!(!i||!p):"horizontal"===t&&(d=!(!i||!E)),this.inViewport.emit(d)},e.decorators=[{type:t.Directive,args:[{selector:"[wsUtilsInViewPort]"}]}],e.ctorParameters=function(){return[{type:t.ElementRef}]},e.propDecorators={inViewport:[{type:t.Output}]},e}();var k=function(){function e(){}return e.decorators=[{type:t.NgModule,args:[{declarations:[B],exports:[B],imports:[s.CommonModule]}]}],e}(),H=function(){function e(){this.wsUtilsNavigation="",this.openInNewTab=!1,this.routeUrl=""}return e.prototype.onMouseEnter=function(e){(this.openInNewTab||this.wsUtilsNavigation.includes("mailto"))&&(e.preventDefault(),e.stopPropagation(),this.routeUrl="./",window.open(this.wsUtilsNavigation))},e.prototype.ngOnChanges=function(){(this.openInNewTab||this.wsUtilsNavigation.includes("mailto"))&&(this.routeUrl="./")},e.decorators=[{type:t.Directive,args:[{selector:"[wsUtilsNavigation]"}]}],e.ctorParameters=function(){return[]},e.propDecorators={wsUtilsNavigation:[{type:t.Input}],openInNewTab:[{type:t.Input}],routeUrl:[{type:t.Input},{type:t.HostBinding,args:["attr.routerLink"]}],onMouseEnter:[{type:t.HostListener,args:["mousedown",["$event"]]}]},e}();var Y=function(){function e(){}return e.decorators=[{type:t.NgModule,args:[{declarations:[H],imports:[s.CommonModule],exports:[H]}]}],e}(),j=function(){function e(){}return e.decorators=[{type:t.Directive,args:[{selector:"[wsUtilsPermission]"}]}],e.ctorParameters=function(){return[]},e}(),K=function(){function e(){}return e.decorators=[{type:t.NgModule,args:[{declarations:[j],imports:[s.CommonModule],exports:[j]}]}],e}();var z=function(){function e(){this.loadStatus="none",this.onHover=!1,this.loadNext=new t.EventEmitter,this.horizontalScrollElem=null,this.enablePrev=!1,this.enableNext=!1,this.scrollObserver=null}return e.prototype.ngOnInit=function(){var e=this;if(this.horizontalScrollElem){var t=this.horizontalScrollElem;this.scrollObserver=o.fromEvent(t.nativeElement,"scroll").pipe(a.debounceTime(100),a.throttleTime(100)).subscribe((function(n){e.updateNavigationBtnStatus(t.nativeElement)}))}},e.prototype.ngOnChanges=function(){var e=this;o.timer(100).subscribe((function(){e.horizontalScrollElem&&e.updateNavigationBtnStatus(e.horizontalScrollElem.nativeElement)}))},e.prototype.ngOnDestroy=function(){this.scrollObserver&&this.scrollObserver.unsubscribe()},e.prototype.showPrev=function(){if(this.horizontalScrollElem&&this.horizontalScrollElem){var e=this.horizontalScrollElem.nativeElement.clientWidth;this.horizontalScrollElem.nativeElement.scrollTo({left:this.horizontalScrollElem.nativeElement.scrollLeft-e,behavior:"smooth"})}},e.prototype.showNext=function(){if(this.horizontalScrollElem&&this.horizontalScrollElem){var e=this.horizontalScrollElem.nativeElement.clientWidth;this.horizontalScrollElem.nativeElement.scrollTo({left:this.horizontalScrollElem.nativeElement.scrollLeft+e,behavior:"smooth"})}},e.prototype.updateNavigationBtnStatus=function(e){this.enablePrev=!0,this.enableNext=!0,0===e.scrollLeft&&(this.enablePrev=!1),e.scrollWidth===e.clientWidth+e.scrollLeft&&("hasMore"===this.loadStatus?this.loadNext.emit():this.enableNext=!1)},e.decorators=[{type:t.Component,args:[{selector:"ws-utils-horizontal-scroller",template:'<section class="horizontal-scroll-container h-full">\r\n <button i18n-aria-label aria-label="back" name="content-backward-button" mat-mini-fab color="primary" (click)="showPrev()"\r\n class="prevBtn hidden-touch border-radius-xs" [hidden]="!enablePrev" [ngClass]="{\'prevBtnHover\': onHover}">\r\n <mat-icon>navigate_before</mat-icon>\r\n </button>\r\n <div name="horizontal-scroll-content-strip" class="horizontal-scroll-content" #horizontalScrollElem>\r\n <ng-content></ng-content>\r\n </div>\r\n <button i18n-aria-label aria-label="next" name="content-forward-button" mat-mini-fab (click)="showNext()" color="primary"\r\n class="nextBtn hidden-touch border-radius-xs" [ngClass]="{\'nextBtnHover\': onHover}"\r\n [hidden]="!enableNext || loadStatus === \'fetching\'">\r\n <mat-icon>navigate_next</mat-icon>\r\n </button>\r\n <div class="nextLoading" *ngIf="loadStatus === \'fetching\'">\r\n <mat-spinner></mat-spinner>\r\n </div>\r\n</section>',styles:[".horizontal-scroll-container{position:relative;width:100%;min-height:100px}.nextBtn,.nextLoading,.prevBtn{position:absolute;top:50%;transform:translateY(-50%);z-index:999}.border-radius-xs{border-radius:8px!important}.prevBtn{left:-16px}.nextBtn{right:-16px}.nextLoading{padding:0;right:-16px}.horizontal-scroll-content{overflow-y:auto;white-space:nowrap;-webkit-overflow-scrolling:touch;height:100%;flex-wrap:nowrap;display:flex;align-items:stretch;-ms-overflow-style:none;scrollbar-width:none}.horizontal-scroll-content::-webkit-scrollbar{width:0;height:0}"]}]}],e.ctorParameters=function(){return[]},e.propDecorators={loadStatus:[{type:t.Input}],onHover:[{type:t.Input}],loadNext:[{type:t.Output}],horizontalScrollElem:[{type:t.ViewChild,args:["horizontalScrollElem",{static:!0}]}]},e}();var q=function(){function e(){}return e.decorators=[{type:t.NgModule,args:[{declarations:[z],imports:[s.CommonModule,c.MatButtonModule,c.MatIconModule,c.MatProgressSpinnerModule],exports:[z]}]}],e}();!function(e){function t(){}function n(){}function i(){}function o(){}function r(){}function a(){}function s(){}function c(){}function l(){}function u(){}function p(){}function E(){}function d(){}function _(){}function S(){}e.IWsEventsFromWidget=t,e.IWsEventsFromPage=n,function(e){e.Action="Action",e.Telemetry="Telemetry",e.PageNavigation="PageNavigation",e.AccessRestrictedContentAccessed="AccessRestrictedContentAccessed",e.PageSlow="PageSlow",e.ErrorOccurred="ErrorOccurred",e.WidgetResolveError="WidgetResolveError"}(e.WsEventType||(e.WsEventType={})),function(e){e.Warn="Warn",e.Error="Error",e.Info="Info",e.Log="Log",e.Trace="Trace"}(e.WsEventLogLevel||(e.WsEventLogLevel={})),function(e){e.Created="Created",e.Updated="Updated",e.Deleted="Deleted"}(e.WsAuditTypes||(e.WsAuditTypes={})),function(e){e.Page="Page",e.Player="Player"}(e.WsTimeSpentType||(e.WsTimeSpentType={})),function(e){e.Play="Play",e.View="View"}(e.WsTimeSpentMode||(e.WsTimeSpentMode={})),function(e){e.RBCP="rbcp-web-ui"}(e.externalTelemetrypdata||(e.externalTelemetrypdata={})),e.IWsEvents=i,function(e){e.Init="Init",e.Interact="Interact",e.Loaded="Loaded",e.Unloaded="Unloaded",e.StateChange="StateChange",e.HeartBeat="HeartBeat",e.Search="Search",e.Feedback="Feedback",e.Impression="Impression",e.Chatbot="Chatbot",e.GetStarted="Get Started",e.PlatformRating="PlatformRating"}(e.EnumTelemetrySubType||(e.EnumTelemetrySubType={})),e.ITelemetryPageContext=o,e.ITelemetryEdata=r,e.ITelemetryTabData=a,e.IWsEventTelemetry=s,function(e){e.PAGE_CHANGED="PAGE_CHANGED",e.FULLSCREEN_ACTIVATED="FULLSCREEN_ACTIVATED",e.FULLSCREEN_DEACTIVATED="FULLSCREEN_DEACTIVATED",e.ZOOM_CHANGE="ZOOM_CHANGE",e.NONE="NONE"}(e.EnumTelemetryPdfActivity||(e.EnumTelemetryPdfActivity={})),e.IWsEventTelemetryPdfData=c,e.IWsEventTelemetrySurveyData=l,e.IWsEventTelemetryInteract=u,e.IWsEventTelemetryFeedback=p,e.IWsEventTelemetryImpression=E,e.IWsEventTelemetrySearch=d,e.IWsEventTelemetryHeartBeat=_,function(e){e.PLAYED="PLAYED",e.PAUSED="PAUSED",e.SEEKED="SEEKED",e.ENDED="ENDED",e.VOLUME_CHANGE="VOLUME_CHANGE",e.MUTE="MUTE",e.UNMUTE="UNMUTE",e.PLAYBACK_SPEED_CHANGE="PLAYBACK_SPEED_CHANGE",e.FULLSCREEN_ACTIVATED="FULLSCREEN_ACTIVATED",e.FULLSCREEN_DEACTIVATED="FULLSCREEN_DEACTIVATED",e.PICTURE_IN_PICTURE_ACTIVATED="PICTURE_IN_PICTURE_ACTIVATED",e.PICTURE_IN_PICTURE_DEACTIVATED="PICTURE_IN_PICTURE_DEACTIVATED",e.NONE="NONE"}(e.EnumTelemetryMediaActivity||(e.EnumTelemetryMediaActivity={})),function(e){e.PLAYING="PLAYING",e.PAUSED="PAUSED",e.ENDED="ENDED",e.BUFFERING="BUFFERING",e.NOT_STARTED="NOT_STARTED"}(e.EnumTelemetryMediaState||(e.EnumTelemetryMediaState={})),e.IWsEventTelemetryMediaData=S,function(e){e.CONTENT="content",e.FEEDBACK="feedback",e.COURSE="course",e.PROGRAM="program",e.EXPLORE="explore",e.LEARN="learn",e.HOME="home",e.DASHBOARD="dashboard",e.SEARCH="search",e.DISCUSS="Discuss",e.COMPETENCY="competency",e.EVENTS="events",e.CAREER="career",e.PROFILE="profile",e.NETWORK="network",e.SUPPORT="support",e.KARMAPOINTS="karmapoints",e.PLATFORM_RATING="platformrating"}(e.EnumTelemetrymodules||(e.EnumTelemetrymodules={})),function(e){e.CLICK="click",e.subType="subType"}(e.EnumInteractTypes||(e.EnumInteractTypes={})),function(e){e.COURSE_TAB="course-tab",e.CAREER_TAB="career-tab",e.NETWORK_TAB="network-tab",e.COMPETENCY_TAB="competency-tab",e.PROFILE_EDIT_TAB="profile-edit-tab",e.DISCUSS_TAB="discuss-tab",e.EVENTS_TAB="events-tab",e.SIDE_MENU="side-menu",e.MY_IGOT="my-igot",e.MY_LEARNING="my-learning",e.RECENTLY_ADDED="recently-added",e.TRENDING_IN_YOUR_DEPARTMENT="trending-in-your-department",e.TRENDING_ACROSS_YOUR_DEPARTMENTS="trending-across-your-departments",e.LEARNING_UNDER_30_MINUTES="learning-under-30-minutes",e.BLENDED_PROGRAM="blended program",e.RECENT_CONNECTION_REQUEST="recent-connection-request",e.CERTIFICATIONS_OF_THE_WEEK="certifications-of-the-week",e.HOME_PAGE_STRIP_TABS="home-page-strip-tabs",e.HUB_MENU="hub-menu",e.PORTAL_NUDGE="portal_nudge",e.CERTIFICATE="certificate",e.DEFAULT_SUBTYPE="default-subtype",e.SUGGESTED_CONNECTIONS="suggested-connections",e.PROFILE="profile",e.ADD_POST="add-post",e.TRENDING_DISCUSSIONS="trending-discussions",e.MY_DISCUSSIONS="my-discussions"}(e.EnumInteractSubTypes||(e.EnumInteractSubTypes={}))}(e.WsEvents||(e.WsEvents={}));var Q=function(){function e(e,t,n,i){var o=this;this.http=e,this.platform=t,this.router=n,this.route=i,this.currentRouteData=[],this.router.events.subscribe((function(e){if(e instanceof E.NavigationEnd){var t=o.route.snapshot,n=t.root.firstChild;o.getChildRouteData(t,n)}}))}return e.prototype.getChildRouteData=function(e,t){t&&(t.data&&this.currentRouteData.push(t.data),t.firstChild&&this.getChildRouteData(e,t.firstChild))},Object.defineProperty(e.prototype,"randomId",{get:function(){return 1},enumerable:!0,configurable:!0}),e.prototype.getJson=function(e){return this.http.get(e)},e.prototype.getLeafNodes=function(e,t){var n=this;return 0===(e.children||[]).length?t.push(e):e.children&&e.children.forEach((function(e){n.getLeafNodes(e,t)})),t},e.prototype.getPath=function(e,t){var n=[];return this.hasPath(e,n,t),n},e.prototype.hasPath=function(e,t,n){var i=this;return null!=e&&(t.push(e),e.identifier===n||(!!(e.children||[]).some((function(e){return i.hasPath(e,t,n)}))||(t.pop(),!1)))},Object.defineProperty(e.prototype,"isMobile",{get:function(){return!(!this.isIos&&!this.isAndroid)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isIos",{get:function(){return this.platform.IOS},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isAndroid",{get:function(){return this.platform.ANDROID},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isAndroidApp",{get:function(){return Boolean(window.appRef)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"iOsAppRef",{get:function(){return window.webkit&&window.webkit.messageHandlers&&window.webkit.messageHandlers.appRef?window.webkit.messageHandlers.appRef:null},enumerable:!0,configurable:!0}),e.prototype.setRouteData=function(e){this.currentRouteData=e},Object.defineProperty(e.prototype,"routeData",{get:function(){var e={module:"",pageId:""};return this.currentRouteData.map((function(t){t.pageId&&(e.pageId=e.pageId+"/"+t.pageId),t.module&&(e.module=t.module)})),e},enumerable:!0,configurable:!0}),e.decorators=[{type:t.Injectable,args:[{providedIn:"root"}]}],e.ctorParameters=function(){return[{type:p.HttpClient},{type:u.Platform},{type:E.Router},{type:E.ActivatedRoute}]},e.ngInjectableDef=t.ɵɵdefineInjectable({factory:function(){return new e(t.ɵɵinject(p.HttpClient),t.ɵɵinject(u.Platform),t.ɵɵinject(E.Router),t.ɵɵinject(E.ActivatedRoute))},token:e,providedIn:"root"}),e}();var J=function(){function n(e,t){this.utilitySvc=t,this.todaysEvents=[],this.eventsSubject=new o.Subject,this.events$=this.eventsSubject.asObservable(),this.eventsChatbotSubject=new o.Subject,this.chatbotEvents$=this.eventsChatbotSubject.asObservable(),this.eventsGetStartSubject=new o.Subject,this.getStartEvents$=this.eventsGetStartSubject.asObservable(),this.eventsPRSubject=new o.Subject,this.getPREvents$=this.eventsPRSubject.asObservable(),this.environment=e}return n.prototype.dispatchEvent=function(e){e.pageContext=this.getContext(e.pageContext),this.eventsSubject.next(e)},n.prototype.dispatchChatbotEvent=function(e){this.eventsChatbotSubject.next(e)},n.prototype.dispatchGetStartedEvent=function(e){this.eventsGetStartSubject.next(e)},n.prototype.dispatchPlatformRatingEvent=function(e){this.eventsPRSubject.next(e)},n.prototype.raiseInteractTelemetry=function(t,n,i){this.dispatchEvent({eventType:e.WsEvents.WsEventType.Telemetry,eventLogLevel:e.WsEvents.WsEventLogLevel.Info,data:{edata:t,object:n,pageContext:this.getContext(i),eventSubType:e.WsEvents.EnumTelemetrySubType.Interact},from:"",to:"Telemetry"})},n.prototype.raiseFeedbackTelemetry=function(t,n,i){this.dispatchEvent({eventType:e.WsEvents.WsEventType.Telemetry,eventLogLevel:e.WsEvents.WsEventLogLevel.Info,data:{edata:t,object:n,eventSubType:e.WsEvents.EnumTelemetrySubType.Feedback},from:i||"",to:"Telemetry"})},n.prototype.raiseCustomImpression=function(t,n){this.dispatchEvent({eventType:e.WsEvents.WsEventType.Telemetry,eventLogLevel:e.WsEvents.WsEventLogLevel.Info,data:{object:t,pageContext:this.getContext(n),eventSubType:e.WsEvents.EnumTelemetrySubType.Impression},from:"",to:"Telemetry"})},n.prototype.getContext=function(e){var t=this.utilitySvc.routeData,n={pageId:t.pageId,module:t.module};return e&&(e.pageIdExt?n.pageId=t.pageId+"_"+e.pageIdExt:e.pageId&&(n.pageId=e.pageId),e.module&&(n.module=e.module)),n},n.prototype.handleTabTelemetry=function(t,n,i){this.raiseInteractTelemetry({subType:t,type:e.WsEvents.EnumInteractTypes.CLICK,id:T.camelCase(n.label)+"-tab"},I({},i),{pageIdExt:T.camelCase(n.label)+"-tab"}),this.raiseCustomImpression(I({context:{position:n.index}},i),{pageIdExt:T.camelCase(n.label)+"-tab"})},n.prototype.getPublicUrl=function(e){var t=e.split("/content").pop()||"";return this.environment.contentHost+"/"+this.environment.contentBucket+"/content"+t},n.prototype.allEventDateFormat=function(e){var t=new Date(e).getDate(),n=new Date(e).getFullYear(),i=new Date(e).getMonth(),o=new Date(e).getHours(),r=new Date(e).getMinutes(),a=new Date(e).getSeconds(),s=new Date(n,i,t,o,r,a,0);return""+_(s).format("YYYY-MM-DD")},n.prototype.compareDate=function(e){var t=new Date,n=("0"+(new Date).getDate()).slice(-2);return e===(new Date).getFullYear()+"-"+("0"+(t.getMonth()+1)).slice(-2)+"-"+n},n.prototype.customDateFormat=function(e,t){var n=t.split("+")[0];return e+" "+n.substr(0,2)+n.substr(2,3)},n.prototype.setEventListData=function(e){var t=this;if(void 0!==e){this.todaysEvents=[];var n=e;Object.keys(n).forEach((function(e){var i=n[e],o=(0,Math.floor)(i.duration/60),r=i.duration%60,a=0===o?0===r?"---":r+" minutes":0===r?1===o?o+" hour":o+" hours":1===o?o+" hour "+r+" minutes":o+" hours "+r+" minutes",s=void 0!==i.creatorDetails?i.creatorDetails:[],c=s&&s.length>0?s.replace(/\\/g,""):[],l=c&&c.length>0?JSON.parse(c):s,u=i.startTime.split("+")[0],p=""+u.substr(0,2)+u.substr(2,3),E=i.endTime.split("+")[0],d=""+E.substr(0,2)+E.substr(2,3),_={event:i,eventName:i.name,eventStartTime:p,eventEndTime:d,eventStartDate:i.startDate,eventCreatedOn:t.allEventDateFormat(i.createdOn),eventDuration:a,eventjoined:l.length,eventThumbnail:!i.appIcon||null===i.appIcon&&void 0===i.appIcon?"/assets/icons/Events_default.png":t.getPublicUrl(i.appIcon),pastevent:!1};t.compareDate(i.startDate)&&t.todaysEvents.push(_)}))}},n.decorators=[{type:t.Injectable,args:[{providedIn:"root"}]}],n.ctorParameters=function(){return[{type:void 0,decorators:[{type:t.Inject,args:["environment"]}]},{type:Q}]},n.ngInjectableDef=t.ɵɵdefineInjectable({factory:function(){return new n(t.ɵɵinject("environment"),t.ɵɵinject(Q))},token:n,providedIn:"root"}),n}();var $=function(){function n(e){this.eventService=e,this.loadStatus="fetching",this.onHover=!1,this.sliderConfig={showNavs:!0,showDots:!0,cerificateCardMargin:!1},this.loadNext=new t.EventEmitter,this.horizontalScrollElem=null,this.enablePrev=!1,this.enableNext=!1,this.activeNav=0,this.cardSubType="standard",this.bottomDotsArray=[],this.scrollObserver=null}return n.prototype.ngOnInit=function(){var e=this;if(this.cardSubType=this.stripConfig&&this.stripConfig.cardSubType?this.stripConfig.cardSubType:"standard",this.horizontalScrollElem){var t=this.horizontalScrollElem;this.scrollObserver=o.fromEvent(t.nativeElement,"scroll").pipe(a.debounceTime(100),a.throttleTime(100)).subscribe((function(n){e.updateNavigationBtnStatus(t.nativeElement)})),this.getBottomDotsArray()}},n.prototype.ngOnChanges=function(){var e=this;o.timer(100).subscribe((function(){e.horizontalScrollElem&&e.updateNavigationBtnStatus(e.horizontalScrollElem.nativeElement)})),this.getBottomDotsArray()},n.prototype.ngOnDestroy=function(){this.scrollObserver&&this.scrollObserver.unsubscribe()},n.prototype.showPrev=function(){if(this.horizontalScrollElem){var e=this.horizontalScrollElem.nativeElement.clientWidth;this.horizontalScrollElem.nativeElement.scrollTo({left:this.horizontalScrollElem.nativeElement.scrollLeft-e,behavior:"smooth"}),this.activeNav-=1,this.raiseNavigationTelemetry("more-left")}},n.prototype.showNext=function(){if(this.horizontalScrollElem){var e=this.horizontalScrollElem.nativeElement.clientWidth;this.horizontalScrollElem.nativeElement.scrollTo({left:this.horizontalScrollElem.nativeElement.scrollLeft+e,behavior:"smooth"}),this.activeNav+=1,this.raiseNavigationTelemetry("more-right")}},n.prototype.raiseNavigationTelemetry=function(t){this.eventService.raiseInteractTelemetry({id:t,type:e.WsEvents.EnumInteractTypes.CLICK,subType:this.subtype},{},{module:e.WsEvents.EnumTelemetrymodules.HOME})},n.prototype.updateNavigationBtnStatus=function(e){this.enablePrev=!0,this.enableNext=!0,0===e.scrollLeft&&(this.enablePrev=!1,this.activeNav=0);var t=Math.abs(e.scrollWidth-Math.round(e.clientWidth+e.scrollLeft));0!==t&&1!==t||("hasMore"===this.loadStatus?this.loadNext.emit():(this.enableNext=!1,this.bottomDotsArray.length&&(this.activeNav=this.bottomDotsArray.length-1))),0!==e.scrollLeft&&e.scrollWidth!==e.clientWidth+e.scrollLeft&&(this.activeNav=Math.ceil(e.scrollLeft/e.clientWidth))},n.prototype.slideTo=function(e){var t=e-this.activeNav;if(this.horizontalScrollElem){var n=this.horizontalScrollElem.nativeElement.clientWidth;this.horizontalScrollElem.nativeElement.scrollTo({left:this.horizontalScrollElem.nativeElement.scrollLeft+n*t,behavior:"smooth"})}this.activeNav=e},n.prototype.getBottomDotsArray=function(){var e=this;if(this.horizontalScrollElem){this.bottomDotsArray=[];var t,n=void 0;if("card-wide-v2"!==this.cardSubType){if(n="standard"===this.cardSubType?245:document.getElementsByClassName(this.cardSubType)&&void 0!==document.getElementsByClassName(this.cardSubType)[0]?document.getElementsByClassName(this.cardSubType)[0].clientWidth:245,document.getElementsByClassName("horizontal-scroll-container")&&document.getElementsByClassName("horizontal-scroll-container")[0]){var i=document.getElementsByClassName("horizontal-scroll-container")[0].clientWidth;if(n*this.widgetsLength>i){t=i/n,this.defaultMaxWidgets=this.defaultMaxWidgets&&this.widgetsLength<this.defaultMaxWidgets?this.widgetsLength:this.defaultMaxWidgets,t=this.defaultMaxWidgets/t;for(var o=0;o<t;o+=1)this.bottomDotsArray.push(o)}}}else setTimeout((function(){t=document.getElementsByClassName(e.cardSubType).length;for(var n=0;n<t;n+=1)e.bottomDotsArray.push(n)}),1e3)}},n.decorators=[{type:t.Component,args:[{selector:"ws-utils-horizontal-scroller-v2",template:'<section class="horizontal-scroll-container h-full" [ngClass]="{\'px-4\': sliderConfig.showNavs, \'mt-5\':sliderConfig.cerificateCardMargin}">\r\n <ng-container *ngIf="sliderConfig?.showNavs">\r\n <button i18n-aria-label aria-label="back" name="content-backward-button" mat-mini-fab color="" \r\n (click)="showPrev()" class="prevBtn mat-elevation-z" [hidden]="!enablePrev"\r\n [ngClass]="{\'prevBtnHover\': onHover}">\r\n <mat-icon>navigate_before</mat-icon>\r\n </button>\r\n </ng-container>\r\n <div name="horizontal-scroll-content-strip" class="horizontal-scroll-content" #horizontalScrollElem>\r\n <ng-content></ng-content>\r\n </div>\r\n <ng-container *ngIf="sliderConfig?.showNavs">\r\n <button i18n-aria-label aria-label="next" name="content-forward-button" mat-mini-fab (click)="showNext()"\r\n color="" class="nextBtn mat-elevation-z" [ngClass]="{\'nextBtnHover\': onHover}"\r\n [hidden]="!enableNext || loadStatus === \'fetching\'">\r\n <mat-icon>navigate_next</mat-icon>\r\n </button>\r\n </ng-container>\r\n \x3c!-- <div class="nextLoading" *ngIf="loadStatus === \'fetching\'">\r\n <mat-spinner></mat-spinner>\r\n </div> --\x3e \r\n</section>\r\n\r\n<div class="dots-container" *ngIf="sliderConfig?.showDots">\r\n \x3c!-- <span class="dot" [ngClass]="{ active: j === currentIndex }" --\x3e\r\n <span class="dot" [ngClass]="{ active: j === activeNav }" *ngFor="let slide of bottomDotsArray; let j = index" (click)="slideTo(j)"></span>\r\n</div>',styles:[".horizontal-scroll-container{position:relative;width:100%;width:inherit}@media only screen and (max-width:599px){.horizontal-scroll-container{padding:0}}.nextBtn,.nextLoading,.prevBtn{position:absolute;top:50%;transform:translateY(-50%);z-index:999;height:32px!important;width:32px!important;display:flex;align-items:center;justify-content:center}.nextBtn,.prevBtn{border-radius:50%;background-color:#1b2133!important;color:#fff!important}.border-radius-xs{border-radius:8px!important}.prevBtn{left:0}.nextBtn{right:0}.nextLoading{padding:0;right:0}.horizontal-scroll-content{overflow-y:auto;white-space:nowrap;-webkit-overflow-scrolling:touch;height:100%;flex-wrap:nowrap;display:flex;align-items:stretch;-ms-overflow-style:none;scrollbar-width:none}.horizontal-scroll-content::-webkit-scrollbar{width:0;height:0}.dots-container{padding:8px;display:flex;align-items:center;justify-content:center}.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}.dots-container .dot.active{border-radius:4px;background-color:#f3962f;width:16px}@media screen and (max-width:768px){.nextBtn{right:-16px}.prevBtn{left:-16px}}"]}]}],n.ctorParameters=function(){return[{type:J}]},n.propDecorators={loadStatus:[{type:t.Input}],onHover:[{type:t.Input}],sliderConfig:[{type:t.Input}],loadNext:[{type:t.Output}],widgetsLength:[{type:t.Input}],defaultMaxWidgets:[{type:t.Input}],stripConfig:[{type:t.Input}],stripsResultDataMap:[{type:t.Input}],subtype:[{type:t.Input}],horizontalScrollElem:[{type:t.ViewChild,args:["horizontalScrollElem",{static:!0}]}]},n}();var Z=function(){function e(){}return e.decorators=[{type:t.NgModule,args:[{declarations:[$],imports:[s.CommonModule,c.MatButtonModule,c.MatIconModule,c.MatProgressSpinnerModule],exports:[$]}]}],e}(),X=function(){function e(e){this.configSvc=e,this.consoleError=console.error,this.consoleInfo=console.info,this.consoleLog=console.log,this.consoleWarn=console.warn,this.noConsole=function(){}}return Object.defineProperty(e.prototype,"error",{get:function(){return this.consoleError},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"info",{get:function(){return this.configSvc.isProduction?this.noConsole:this.consoleInfo},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"log",{get:function(){return this.configSvc.isProduction?this.noConsole:this.consoleLog},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"warn",{get:function(){return this.configSvc.isProduction?this.noConsole:this.consoleWarn},enumerable:!0,configurable:!0}),e.prototype.removeConsoleAccess=function(){if(!this.configSvc.isProduction){var e=function(){throw new Error("Console Functions Usage Are Not Allowed.")};console.warn=e,console.info=e,console.error=e}},e.decorators=[{type:t.Injectable,args:[{providedIn:"root"}]}],e.ctorParameters=function(){return[{type:C}]},e.ngInjectableDef=t.ɵɵdefineInjectable({factory:function(){return new e(t.ɵɵinject(C))},token:e,providedIn:"root"}),e}();var ee=localStorage,te={sharePointToken:"/apis/protected/v8/user/token"},ne=function(){function e(e,t){this.loggerSvc=e,this.http=t,this.msConfig={clientId:"",tenant:"",defaultEmailId:"",validEmailExtensions:[],isConfigured:!1},this.emailUsed=null,this.code=null,this.msToken={accessToken:"",expiresOn:"",resource:"",tokenType:""}}return Object.defineProperty(e.prototype,"isLogoutRequired",{get:function(){return Boolean(this.msConfig.isConfigured&&this.msConfig.clientId&&this.emailUsed)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"loginUrl",{get:function(){if(this.msConfig.isConfigured&&this.msConfig.clientId){var e="https://login.windows.net/common/oauth2/authorize",t=new URLSearchParams({response_type:"code",client_id:this.msConfig.clientId,redirect_uri:window.location.href}),n=location.search.substring(1);return n?e+"?"+t.toString()+"#"+n:e+"?"+t.toString()}return null},enumerable:!0,configurable:!0}),e.prototype.logoutUrl=function(e){return this.isValidEmail(this.emailUsed||"")?"https://login.microsoftonline.com/common/oauth2/logout?post_logout_redirect_uri="+e:e},e.prototype.init=function(e){return f(this,void 0,void 0,(function(){var t,n;return h(this,(function(i){switch(i.label){case 0:return e&&e.microsoft&&e.microsoft.isConfigured||this.loggerSvc.warn("Empty/No Configuration passed, ignoring Microsoft Authentication"),this.msConfig=e.microsoft,(t=new URLSearchParams(location.search)).has("code")&&t.has("session_state")?(this.code=t.get("code"),this.code?(n=location.origin+location.pathname,[4,this.exchangeTokenForCode(this.code,n)]):[2]):[3,2];case 1:i.sent(),location.hash&&(n+=location.hash.substring(1)),history.replaceState(null,"",n),i.label=2;case 2:return[2]}}))}))},e.prototype.login=function(e){return f(this,void 0,void 0,(function(){var t;return h(this,(function(n){return this.isValidEmail(e)?((t=this.loginUrl)?location.assign(t):this.loggerSvc.warn("Unable to identify Office Login URL, Ignoring login request"),[2]):(this.loggerSvc.warn("Microsoft Login is not allowed for your emailId ("+e+")"),[2])}))}))},e.prototype.getToken=function(e){return f(this,void 0,void 0,(function(){var t,n;return h(this,(function(i){switch(i.label){case 0:if(this.msToken&&this.isValid(this.msToken.accessToken,this.msToken.expiresOn)&&this.msToken.accessToken)return[2,this.msToken.accessToken];if(!this.isValidEmail(e))return[3,4];i.label=1;case 1:return i.trys.push([1,3,,4]),t=this,[4,this.getTokenForEmail(e)];case 2:return t.msToken=i.sent(),this.msToken.accessToken?(this.emailUsed=e,[2,this.msToken.accessToken]):[3,4];case 3:return i.sent(),this.code||this.login(e),[3,4];case 4:if(!this.msConfig.defaultEmailId||!this.isValidEmail(this.msConfig.defaultEmailId))return[3,8];i.label=5;case 5:return i.trys.push([5,7,,8]),n=this,[4,this.getTokenForEmail(this.msConfig.defaultEmailId)];case 6:return n.msToken=i.sent(),this.msToken.accessToken?(this.emailUsed=this.msConfig.defaultEmailId,[2,this.msToken.accessToken]):[3,8];case 7:return i.sent(),[3,8];case 8:throw new Error("UNABLE TO FETCH MS AUTH TOKEN")}}))}))},e.prototype.loginForSSOEnabledEmbed=function(e){this.isValidEmail(e)||this.loggerSvc.warn("SSO Login request Ignored. Invalid Email Id for SSO Enabled Content");var t=0;try{t=parseInt(ee.getItem("msLoginRequested")||"0",10)}catch(e){}(!t||t&&(Date.now()-t)/1e3>600)&&(this.loggerSvc.info("last login exceeded 600 duration. Redirecting to O365 login"),ee.setItem("msLoginRequested",Date.now().toString()),this.login(e))},e.prototype.isValidEmail=function(e){return this.msConfig.validEmailExtensions.some((function(t){return e.endsWith(t)}))},e.prototype.isValid=function(e,t){return!(!e||!t)},e.prototype.exchangeTokenForCode=function(e,t){return f(this,void 0,void 0,(function(){var n;return h(this,(function(i){switch(i.label){case 0:return[4,this.http.get(te+"?code="+e+"&redirectUrl="+t).toPromise()];case 1:return n=i.sent(),[2,this.getInstanceFromResponse(n)]}}))}))},e.prototype.getTokenForEmail=function(e){return f(this,void 0,void 0,(function(){var t;return h(this,(function(n){switch(n.label){case 0:return[4,this.http.get(te.sharePointToken+"?email="+e).toPromise()];case 1:return t=n.sent(),[2,this.getInstanceFromResponse(t)]}}))}))},e.prototype.getInstanceFromResponse=function(e){return{accessToken:e.accessToken,expiresOn:e.expiresOn,resource:e.resource,tokenType:e.tokenType}},e.decorators=[{type:t.Injectable,args:[{providedIn:"root"}]}],e.ctorParameters=function(){return[{type:X},{type:p.HttpClient}]},e.ngInjectableDef=t.ɵɵdefineInjectable({factory:function(){return new e(t.ɵɵinject(X),t.ɵɵinject(p.HttpClient))},token:e,providedIn:"root"}),e}();var ie=localStorage,oe=function(){function e(e,t,n,i){var r=this;this.http=e,this.configSvc=t,this.keycloakSvc=n,this.msAuthSvc=i,this.loginChangeSubject=new o.ReplaySubject(1),this.loginChangeSubject.subscribe((function(e){r.configSvc.isAuthenticated=e,e&&r.configSvc.instanceConfig&&Boolean(r.configSvc.instanceConfig.disablePidCheck)&&(r.configSvc.userProfile={email:r.userEmail,userName:r.userName,userId:r.userId||""})}))}return Object.defineProperty(e.prototype,"isLoggedIn$",{get:function(){return this.loginChangeSubject.asObservable()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isLoggedIn",{get:function(){return this.keycloakSvc.isLoggedIn()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isAuthenticated",{get:function(){return this.keycloakSvc.getKeycloakInstance().authenticated},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"token",{get:function(){return this.keycloakSvc.getKeycloakInstance().token},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"sessionId",{get:function(){return this.keycloakSvc.getKeycloakInstance().sessionId},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"userId",{get:function(){var e=this.keycloakSvc.getKeycloakInstance();if(e)return e.tokenParsed&&e.tokenParsed.sub||e.idTokenParsed&&e.idTokenParsed.sub},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"userEmail",{get:function(){var e=this.keycloakSvc.getKeycloakInstance(),t=e.tokenParsed,n=e.idTokenParsed;return t&&t.email||n&&n.email||n&&n.encEmail||t&&t.preferred_username||n&&n.preferred_username},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"userName",{get:function(){var e=this.keycloakSvc.getKeycloakInstance();return e.tokenParsed&&e.tokenParsed.name||e.idTokenParsed&&e.idTokenParsed.name},enumerable:!0,configurable:!0}),e.prototype.initAuth=function(){return f(this,void 0,void 0,(function(){var e;return h(this,(function(t){switch(t.label){case 0:if(!this.configSvc.instanceConfig)return[2,!1];(e=this.configSvc.instanceConfig).microsoft.isConfigured&&this.msAuthSvc.init({microsoft:e.microsoft}),t.label=1;case 1:return t.trys.push([1,3,,4]),this.setupGlobalAuthResponder(),this.addKeycloakEventListener(),[4,this.keycloakSvc.init({config:{url:e.keycloak.url,realm:e.keycloak.realm,clientId:e.keycloak.clientId},initOptions:I({},this.getSavedKcConfig(),{onLoad:e.keycloak.onLoad||"check-sso",checkLoginIframe:!1}),enableBearerInterceptor:!0,loadUserProfileAtStartUp:!1,bearerExcludedUrls:e.keycloak.bearerExcludedUrls})];case 2:return[2,t.sent()];case 3:return t.sent(),[2,!1];case 4:return[2]}}))}))},e.prototype.login=function(e,t){return void 0===e&&(e="E"),void 0===t&&(t=this.defaultRedirectUrl),this.keycloakSvc.login({idpHint:e,redirectUri:t})},e.prototype.loginV2=function(e,t){return void 0===e&&(e="E"),void 0===t&&(t=this.defaultRedirectUrl),this.configSvc.instanceConfig?(window.location.href=this.configSvc.instanceConfig.keycloak.url+t,Promise.resolve()):Promise.reject()},e.prototype.register=function(e){return void 0===e&&(e=this.defaultRedirectUrl),this.keycloakSvc.register({redirectUri:e})},e.prototype.logout=function(e){return void 0===e&&(e=this.defaultRedirectUrl),f(this,void 0,void 0,(function(){return h(this,(function(t){ie.getItem("telemetrySessionId")&&ie.removeItem("telemetrySessionId");try{sessionStorage.clear(),localStorage.clear()}catch(e){}return ie.removeItem("kc"),window.location.href=e+"apis/reset",[2]}))}))},e.prototype.force_logout=function(){return f(this,void 0,void 0,(function(){return h(this,(function(e){switch(e.label){case 0:return ie.getItem("telemetrySessionId")?(ie.removeItem("telemetrySessionId"),[3,4]):[3,1];case 1:return ie.removeItem("kc"),[4,this.http.get("/apis/reset").toPromise()];case 2:return e.sent(),[4,this.http.get("https://admin-test.ecornell.com/saml/logout.do").toPromise()];case 3:e.sent(),e.label=4;case 4:try{sessionStorage.clear(),localStorage.clear()}catch(e){}return ie.removeItem("kc"),[4,this.http.get("/apis/reset").toPromise()];case 5:return e.sent(),[4,this.http.get("https://admin-test.ecornell.com/saml/logout.do").toPromise()];case 6:return e.sent(),[2]}}))}))},e.prototype.addKeycloakEventListener=function(){var e=this;this.keycloakSvc.keycloakEvents$.subscribe((function(t){switch(t.type){case S.KeycloakEventType.OnAuthError:e.loginChangeSubject.next(!1);break;case S.KeycloakEventType.OnAuthLogout:e.loginChangeSubject.next(!1),ie.removeItem("kc");break;case S.KeycloakEventType.OnAuthRefreshError:case S.KeycloakEventType.OnAuthRefreshSuccess:case S.KeycloakEventType.OnAuthSuccess:break;case S.KeycloakEventType.OnReady:e.loginChangeSubject.next(t.args),t.args&&e.saveKeycloakConfig();break;case S.KeycloakEventType.OnTokenExpired:e.keycloakSvc.updateToken(60)}}))},e.prototype.setupGlobalAuthResponder=function(){var e=this;o.fromEvent(window,"message").pipe(a.filter((function(e){return Boolean(e)&&Boolean(e.data)&&"AUTH_REQUEST"===e.data.type&&Boolean(e.source&&"function"==typeof e.source.postMessage)}))).subscribe((function(t){return f(e,void 0,void 0,(function(){var e,n,i;return h(this,(function(o){switch(o.label){case 0:return e=t.source,[4,this.keycloakSvc.getToken()];case 1:return n=o.sent(),i={app:"WEB_PORTAL",type:"AUTH_RESPONSE",state:"NONE",plugin:"NONE",data:{token:n,id:t.data&&t.data.data&&t.data.data.id}},e.postMessage(i,"*"),[2]}}))}))}))},e.prototype.saveKeycloakConfig=function(){var e=this.keycloakSvc.getKeycloakInstance(),t={idToken:e.idToken,refreshToken:e.refreshToken,timeSkew:e.timeSkew,token:e.token};ie.setItem("kc",JSON.stringify(t))},e.prototype.getSavedKcConfig=function(){try{var e=ie.getItem("kc");if(e){var t=JSON.parse(e);if("idToken"in t&&"refreshToken"in t&&"timeSkew"in t&&"token"in t)return t}}catch(e){}return{}},Object.defineProperty(e.prototype,"defaultRedirectUrl",{get:function(){try{return document.baseURI||location.origin}catch(e){return location.origin}},enumerable:!0,configurable:!0}),e.decorators=[{type:t.Injectable,args:[{providedIn:"root"}]}],e.ctorParameters=function(){return[{type:p.HttpClient},{type:C},{type:S.KeycloakService},{type:ne}]},e.ngInjectableDef=t.ɵɵdefineInjectable({factory:function(){return new e(t.ɵɵinject(p.HttpClient),t.ɵɵinject(C),t.ɵɵinject(S.KeycloakService),t.ɵɵinject(ne))},token:e,providedIn:"root"}),e}();var re=function(){function e(e,t,n,i,o){if(this.dialogRef=e,this.authSvc=t,this.configSvc=n,this.utilitySvc=i,this.translate=o,this.disabled=!1,this.isDownloadableIos=!1,this.isDownloadableAndroid=!1,localStorage.getItem("websiteLanguage")){this.translate.setDefaultLang("en");var r=localStorage.getItem("websiteLanguage")||null;this.translate.use(r)}}return e.prototype.ngOnInit=function(){this.configSvc.restrictedFeatures&&(this.isDownloadableIos=!this.configSvc.restrictedFeatures.has("iosDownload"),this.isDownloadableAndroid=!this.configSvc.restrictedFeatures.has("androidDownload"))},e.prototype.confirmed=function(){this.disabled=!0,this.dialogRef.close(),localStorage.getItem("ratingformID")&&localStorage.removeItem("ratingformID"),localStorage.getItem("ratingfeedID")&&localStorage.removeItem("ratingfeedID"),localStorage.getItem("platformratingTime")&&localStorage.removeItem("platformratingTime"),localStorage.getItem("websiteLanguage")&&localStorage.removeItem("websiteLanguage"),this.authSvc.force_logout(),localStorage.getItem("faq")&&localStorage.removeItem("faq"),localStorage.getItem("faq-languages")&&localStorage.removeItem("faq-languages"),sessionStorage.getItem("hideUpdateProfilePopUp")&&sessionStorage.removeItem("hideUpdateProfilePopUp"),localStorage.getItem("motivationalMessage")&&localStorage.removeItem("motivationalMessage")},Object.defineProperty(e.prototype,"isDownloadable",{get:function(){return!(!this.configSvc.instanceConfig||!this.configSvc.instanceConfig.isContentDownloadAvailable||!this.utilitySvc.iOsAppRef&&!this.utilitySvc.isAndroidApp)},enumerable:!0,configurable:!0}),e.decorators=[{type:t.Component,args:[{selector:"ws-utils-logout",template:'<h1 mat-dialog-title i18n>{{\'utilslogout.logoutNow\' | translate}}</h1>\r\n<div class="ws-mat-primary-text text-base pb-2 title-text" *ngIf="isDownloadable" i18n>\r\n {{\'utilslogout.logoutNote\' | translate}}\r\n</div>\r\n<div mat-dialog-content class="text-base hide-overflow" i18n>\r\n {{\'utilslogout.logoutConfirm\' | translate}}\r\n</div>\r\n<div mat-dialog-actions class="flex-row-reverse">\r\n <button mat-flat-button color="warn" [disabled]="disabled" (click)="confirmed()" i18n>\r\n {{\'utilslogout.logoutYes\' | translate}}\r\n </button>\r\n <button mat-button class="margin-right-xs" mat-dialog-close cdkFocusInitial i18n>\r\n {{\'utilslogout.logoutNo\' | translate}}\r\n </button>\r\n</div>\r\n',styles:[".hide-overflow{overflow:hidden}"]}]}],e.ctorParameters=function(){return[{type:c.MatDialogRef},{type:oe},{type:C},{type:Q},{type:g.TranslateService}]},e}();var ae=function(){function e(){}return e.decorators=[{type:t.NgModule,args:[{declarations:[re],imports:[s.CommonModule,c.MatButtonModule,c.MatDialogModule,g.TranslateModule],entryComponents:[re]}]}],e}();var se=function(){function e(){}return e.prototype.transform=function(e){try{var t=void 0,n=void 0,i=new Date(e.fromDate),o=new Date(e.toDate),r={day:i.getDate(),month:i.toLocaleString("default",{month:"short"}),year:i.getFullYear(),time:i.getTime()},a={day:o.getDate(),month:o.toLocaleString("default",{month:"short"}),year:o.getFullYear(),time:o.getTime()};return r.time===a.time?r.day+" "+r.month+" "+r.year:r.year!=r.year?(t=r.day+" "+r.month+" "+r.year)+" - "+(n=a.day+" "+a.month+" "+a.year):(r.month===a.month?(t=""+r.day,n=a.day+" "+a.month+" "+a.year):(t=r.day+" "+r.month,n=a.day+" "+a.month+" "+a.year),t+" - "+n)}catch(t){return e.fromDate+" - "+e.toDate}},e.decorators=[{type:t.Pipe,args:[{name:"pipeConciseDateRange"}]}],e}(),ce=function(){function e(){}return e.decorators=[{type:t.NgModule,args:[{declarations:[se],imports:[s.CommonModule],exports:[se]}]}],e}(),le=function(){function e(){}return e.prototype.transform=function(e){var t;return e>0?e<1e3?String(e):e>=1e3&&e<1e6?(t=(e/1e3).toFixed(1)).endsWith("0")?t.split(".")[0]+"K":t+"K":(t=(e/1e6).toFixed(1)).endsWith("0")?t.split(".")[0]+"M":t+"M":"0"},e.decorators=[{type:t.Pipe,args:[{name:"pipeCountTransform"}]}],e}(),ue=function(){function e(){}return e.decorators=[{type:t.NgModule,args:[{declarations:[le],imports:[s.CommonModule],exports:[le]}]}],e}();var pe=function(){function e(){this.months=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]}return e.prototype.transform=function(e){var t=e.day+" "+this.months[e.month-1]+" "+e.year;return e.timeZone&&(t+=" "+e.timeZone),t},e.decorators=[{type:t.Pipe,args:[{name:"pipeDateConcat"}]}],e.ctorParameters=function(){return[]},e}();var Ee=function(){function e(){}return e.decorators=[{type:t.NgModule,args:[{declarations:[pe],imports:[s.CommonModule],exports:[pe]}]}],e}(),de=function(){function e(){}return e.prototype.transform=function(e,t){if(e<=0)return"";var n=Math.floor(e/3600),i=Math.floor(e%3600/60),o=Math.floor(e%3600%60),r="";switch(t){case"time24":return this.defaultDuration(n,i,o);case"hms":return this.hmsCalculation(n,i,o,r,t);case"hms2H":var a=_.duration(e,"seconds");return _.utc(a.asMilliseconds()).format("HH:mm:ss");case"hms2M":var s=_.duration(e,"seconds");return _.utc(s.asMilliseconds()).format("mm:ss");case"hour":return 0===n&&(r+="less than an hour"),1===n&&(r+=n+" hour"),n>1&&(r+=n+" hours"),r;case"day":return n>24?_.duration(e,"seconds").days()+" day(s)":this.hmsCalculation(n,i,o,r,t);case"DAYS":return r=e+"d";default:return this.defaultDuration(n,i,o)}},e.prototype.defaultDuration=function(e,t,n){var i="";return i+=e>0?e.toString().padStart(2)+":":"",i+=t>0?t.toString().padStart(2)+":":"00:",i+=n>0?n.toString().padStart(2):"00"},e.prototype.hmsCalculation=function(e,t,n,i,o){var r="",a=i;return e>0&&(a+="hms"===o?e+"h":e+" hr"),t>0&&(e>0&&(r=" "),a+="hms"===o?""+r+t+"m":""+r+t+" min"),n>0&&0===e&&(t>0&&(r=" "),a+="hms"===o?""+r+n+"s":""+r+n+" sec"),a},e.decorators=[{type:t.Pipe,args:[{name:"pipeDurationTransform"}]}],e}(),_e=function(){function e(){}return e.decorators=[{type:t.NgModule,args:[{declarations:[de],imports:[s.CommonModule],exports:[de]}]}],e}(),Se=function(){function e(){}return e.prototype.transform=function(e){return e?String(e).replace(/<[^>]+>/gm,""):""},e.decorators=[{type:t.Pipe,args:[{name:"pipeHtmlTagRemoval"}]}],e}(),ge=function(){function e(){}return e.decorators=[{type:t.NgModule,args:[{declarations:[Se],imports:[s.CommonModule],exports:[Se]}]}],e}(),Ae=function(){function e(){}return e.prototype.transform=function(e,t,n){return n?(e||[]).filter((function(e){return t.split(",").some((function(t){return e.hasOwnProperty(t)&&new RegExp("^"+n+"$","gi").test(e[t])}))})):e},e.decorators=[{type:t.Pipe,args:[{name:"pipeFilter"}]}],e}(),Te=function(){function e(){}return e.decorators=[{type:t.NgModule,args:[{declarations:[Ae],imports:[s.CommonModule],exports:[Ae]}]}],e}(),Ie=function(){function e(){}return e.prototype.transform=function(e){if(0===e)return"0th";var t=["th","st","nd","rd"],n=e%100;return e+(t[(n-20)%10]||t[n]||t[0])},e.decorators=[{type:t.Pipe,args:[{name:"pipeOrdinal"}]}],e}(),fe=function(){function e(){}return e.decorators=[{type:t.NgModule,args:[{declarations:[Ie],imports:[s.CommonModule],exports:[Ie]}]}],e}(),he=function(){function e(){}return e.prototype.transform=function(e){return e.split(".").join("[dot]").replace("@","[at]")},e.decorators=[{type:t.Pipe,args:[{name:"pipeEmail"}]}],e}(),me=function(){function e(){}return e.decorators=[{type:t.NgModule,args:[{declarations:[he],imports:[s.CommonModule],exports:[he]}]}],e}(),Ne=function(){function e(){}return e.prototype.transform=function(e,t,n){if(!e)return[];if(!n)return e;var i=n.toLowerCase();return e.filter((function(e){return(e[t]+" ").toLowerCase().includes(i)}))},e.decorators=[{type:t.Pipe,args:[{name:"pipeFilterV2"}]}],e}(),Ce=function(){function e(){}return e.decorators=[{type:t.NgModule,args:[{declarations:[Ne],imports:[s.CommonModule],exports:[Ne]}]}],e}(),ye=function(){function e(){}return e.prototype.transform=function(e,t,n){if(t&&Array.isArray(e)){var i=Object.keys(t);return n?e.filter((function(e){return i.reduce((function(n,i){return n&&new RegExp(t[i],"gi").test(e[i])||""===t[i]}),!0)})):e.filter((function(e){return i.some((function(n){return new RegExp(t[n],"gi").test(e[n])||""===t[n]}))}))}return e},e.decorators=[{type:t.Pipe,args:[{name:"pipeFilterV3"}]}],e}(),Re=function(){function e(){}return e.decorators=[{type:t.NgModule,args:[{declarations:[ye],imports:[s.CommonModule],exports:[ye]}]}],e}(),Oe=function(){function e(){}return e.prototype.transform=function(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];if(!e)return[];if(!t)return e;var o=t.toLowerCase();if(n&&n.length){var r=e.filter((function(e){return e.profileDetails?e.profileDetails.personalDetails[n[0]].toLowerCase().includes(o):e.personalDetails?e.personalDetails[n[0]].toLowerCase().includes(o):e.fullName?e.fullName.toLowerCase().includes(o):void 0}));return r&&r.length<=0?[-1]:r}return e.filter((function(e){return e.title.toLowerCase().includes(o)}))},e.decorators=[{type:t.Pipe,args:[{name:"pipeFilterSearch"}]}],e}(),ve=function(){function e(){}return e.decorators=[{type:t.NgModule,args:[{declarations:[Oe],imports:[s.CommonModule],exports:[Oe]}]}],e}(),Pe=function(){function e(){}return e.prototype.transform=function(e,t,n){return n?(e||[]).filter((function(e){return t.split(",").some((function(t){return e.hasOwnProperty(t)&&e[t]&&(e[t]+" ").toLocaleLowerCase().includes(n.toLocaleLowerCase())}))})):e},e.decorators=[{type:t.Pipe,args:[{name:"pipeListFilter"}]}],e}(),Le=function(){function e(){}return e.decorators=[{type:t.NgModule,args:[{declarations:[Pe],imports:[s.CommonModule],exports:[Pe]}]}],e}(),be=function(){function e(){}return e.prototype.transform=function(e){return e?_(new Date(e)).fromNow():_().startOf("hour").fromNow()},e.decorators=[{type:t.Pipe,args:[{name:"pipeRelativeTime"}]}],e}(),De=function(){function e(){}return e.decorators=[{type:t.NgModule,args:[{declarations:[be],imports:[s.CommonModule],exports:[be]}]}],e}(),we=function(){function e(){this.transform=d.orderBy}return e.decorators=[{type:t.Pipe,args:[{name:"orderBy"}]}],e}();var Ve=function(){function e(){}return e.decorators=[{type:t.NgModule,args:[{declarations:[we],imports:[s.CommonModule],exports:[we]}]}],e}(),Ge=function(){function e(){}return e.prototype.transform=function(e,t){if(void 0===t&&(t=5),!e||!e.length)return null;if(Array.isArray(e))return e.slice(0,t);if("string"==typeof e){var n=e.substr(0,t);return t<e.length?n+"...":n}return null},e.decorators=[{type:t.Pipe,args:[{name:"pipeLimitTo"}]}],e}(),Me=function(){function e(){}return e.decorators=[{type:t.NgModule,args:[{declarations:[Ge],imports:[s.CommonModule],exports:[Ge]}]}],e}();var Ue=function(){function e(){}return e.prototype.transform=function(e){var t="";return e.firstName&&(t+=e.firstName),""!==t.trim()?t:e.email?e.email:"Anonymous User"},e.decorators=[{type:t.Pipe,args:[{name:"pipeNameTransform"}]}],e}(),We=function(){function e(){}return e.decorators=[{type:t.NgModule,args:[{declarations:[Ue],imports:[s.CommonModule],exports:[Ue]}]}],e}(),Fe=function(){function e(){}return e.prototype.transform=function(e,t){var n,i,o={};try{for(var r=m(t),a=r.next();!a.done;a=r.next()){var s=a.value;e[s]&&(o[s]=e[s])}}catch(e){n={error:e}}finally{try{a&&!a.done&&(i=r.return)&&i.call(r)}finally{if(n)throw n.error}}return o},e.decorators=[{type:t.Pipe,args:[{name:"pipePartialContent"}]}],e}(),xe=function(){function e(){}return e.decorators=[{type:t.NgModule,args:[{declarations:[Fe],imports:[s.CommonModule],exports:[Fe]}]}],e}(),Be=function(){function e(e){this.sanitizer=e}return e.prototype.transform=function(e,t){switch(void 0===t&&(t="html"),t){case"html":return this.sanitizer.bypassSecurityTrustHtml(e);case"style":return this.sanitizer.bypassSecurityTrustStyle(e);case"script":return this.sanitizer.bypassSecurityTrustScript(e);case"url":return this.sanitizer.bypassSecurityTrustUrl(e);case"resourceUrl":return this.sanitizer.bypassSecurityTrustResourceUrl(e);default:throw new Error("Invalid safe type specified: "+t)}},e.decorators=[{type:t.Pipe,args:[{name:"pipeSafeSanitizer"}]}],e.ctorParameters=function(){return[{type:A.DomSanitizer}]},e}();var ke=function(){function e(){}return e.decorators=[{type:t.NgModule,args:[{declarations:[Be],imports:[s.CommonModule],exports:[Be]}]}],e}(),He=function(){function e(e){this.environment=e}return e.prototype.transform=function(e){if(e&&e.includes("/content")&&e.includes("do_")){var t=e&&e.split("/content").pop()||"",n=this.environment.contentHost+"/"+this.environment.contentBucket+"/content"+t;return e?n:""}return e},e.decorators=[{type:t.Pipe,args:[{name:"pipePublicURL"}]}],e.ctorParameters=function(){return[{type:void 0,decorators:[{type:t.Inject,args:["environment"]}]}]},e}();var Ye=function(){function e(){}return e.decorators=[{type:t.NgModule,args:[{declarations:[He],imports:[s.CommonModule],exports:[He]}]}],e}(),je=function(){function e(e){this.environment=e}return e.prototype.transform=function(e){if(e.indexOf("/public/content")>-1&&(-1===e.indexOf("/content/content")||-1===e.indexOf("/content/collection"))){var t=e&&e.split("/content").pop()||"",n=this.environment.contentHost+"/"+this.environment.certificateassets+"/content"+t;return e?n:""}if(-1===e.indexOf("/public/content")){if(e.indexOf("/content/content")>-1||e.indexOf("/igot/content")>-1||e.indexOf("/content-store/content")>-1){t=e&&e.split("/content").pop()||"",n=this.environment.contentHost+"/"+this.environment.contentBucket+"/content"+t;return e?n:""}if(e.indexOf("/igotprod/collection")>-1){t=e&&e.split("/igotprod").pop()||"",n=this.environment.contentHost+"/"+this.environment.contentBucket+t;return e?n:""}if(e.indexOf("/igotprod/content")>-1){t=e&&e.split("/igotprod").pop()||"",n=this.environment.contentHost+"/"+this.environment.contentBucket+t;return e?n:""}if(e.indexOf("/igotbm/collection")>-1){t=e&&e.split("/igotbm").pop()||"",n=this.environment.contentHost+"/"+this.environment.contentBucket+t;return e?n:""}if(e.indexOf("/igotbm/content")>-1){t=e&&e.split("/igotbm").pop()||"",n=this.environment.contentHost+"/"+this.environment.contentBucket+t;return e?n:""}if(e.indexOf("/igot/collection")>-1){t=e&&e.split("/igot").pop()||"",n=this.environment.contentHost+"/"+this.environment.contentBucket+t;return e?n:""}if(e.indexOf("/igot/content")>-1){t=e&&e.split("/igot").pop()||"",n=this.environment.contentHost+"/"+this.environment.contentBucket+t;return e?n:""}if(e.indexOf("/igot/profileImage")>-1){t=e&&e.split("/igot").pop()||"",n=this.environment.contentHost+"/"+this.environment.contentBucket+t;return e?n:""}if(e.indexOf("/igotqa/profileImage")>-1){t=e&&e.split("/igotqa").pop()||"",n=this.environment.contentHost+"/"+this.environment.contentBucket+t;return e?n:""}if(e.indexOf("/igotbm/profileImage")>-1){t=e&&e.split("/igotbm").pop()||"",n=this.environment.contentHost+"/"+this.environment.contentBucket+t;return e?n:""}if(e.indexOf("/igotprod/profileImage")>-1){t=e&&e.split("/igotprod").pop()||"",n=this.environment.contentHost+"/"+this.environment.contentBucket+t;return e?n:""}if(e.indexOf("/content/collection")>-1){t=e&&e.split("/content").pop()||"",n=this.environment.contentHost+"/"+this.environment.contentBucket+t;return e?n:""}if(-1===e.indexOf("/content/content")||-1===e.indexOf("/content/collection")){t=e&&e.split("/content").pop()||"",n=this.environment.contentHost+"/"+this.environment.contentBucket+t;return e?n:""}}},e.decorators=[{type:t.Pipe,args:[{name:"pipeCertImageURL"}]}],e.ctorParameters=function(){return[{type:void 0,decorators:[{type:t.Inject,args:["environment"]}]}]},e}();var Ke=function(){function e(){}return e.decorators=[{type:t.NgModule,args:[{declarations:[je],imports:[s.CommonModule],exports:[je]}]}],e}(),ze=function(){function e(e){this.environment=e}return e.prototype.transform=function(e){return e?this.generateUrl(e):""},e.prototype.generateUrl=function(e){for(var t=e?e.split("/"):[],n=this.environment.azureHost.split("/"),i=[],o=0;o<t.length;o+=1)2===o?i.push(n[o]):3===o?i.push(this.environment.azureBucket):i.push(t[o]);return i.join("/")},e.decorators=[{type:t.Pipe,args:[{name:"PipeNicRelative"}]}],e.ctorParameters=function(){return[{type:void 0,decorators:[{type:t.Inject,args:["environment"]}]}]},e}();var qe=function(){function e(){}return e.decorators=[{type:t.NgModule,args:[{declarations:[ze],imports:[s.CommonModule],exports:[ze]}]}],e}(),Qe=function(){function e(){}return e.prototype.transform=function(e){return e.split(",")[1]},e.decorators=[{type:t.Pipe,args:[{name:"pipeCourseName"}]}],e}(),Je=function(){function e(){}return e.decorators=[{type:t.NgModule,args:[{declarations:[Qe],imports:[s.CommonModule],exports:[Qe]}]}],e}(),$e=function(){function e(e,t,n){this.http=e,this.configSvc=t,this.utilitySvc=n,this.baseUrl=this.configSvc.sitePath,this.isIntranetAllowedSettings=!1}return e.prototype.resolve=function(e,t){var n=this;this.isIntranetAllowedSettings=this.configSvc.isIntranetAllowed;var i=decodeURIComponent(e.params.tags),r="";return e.data.pageUrl&&(r=e.data.pageUrl),"page"===e.data.pageType&&e.data.pageKey&&(r=this.baseUrl+"/page/"+e.data.pageKey+".json"),this.http.get(r).pipe(a.map((function(e){return{data:n.transformPageData(e,i),error:null}})),a.catchError((function(e){return o.of({data:null,error:e})})))},e.prototype.transformPageData=function(e,t){var n=this,i=t.split(">");return e.pageLayout.widgetData.widgets=e.pageLayout.widgetData.widgets.map((function(o){return e.navigationBar&&e.navigationBar.links&&(e.navigationBar.links=e.navigationBar.links.filter((function(e){return e.widgetData.tags===t}))),"cardBreadcrumb"===o.widgetSubType&&(o.widgetData.path=[{text:e.navigationBar.pageTitle,clickUrl:e.navigationBar.pageBackLink}].concat(i.map((function(e,t){return{text:e,clickUrl:"/page/explore/"+i.slice(0,t+1).join(">")}})))),"contentStripMultiple"===o.widgetSubType&&(o.widgetData.strips=o.widgetData.strips.map((function(e){return e.request.searchV6.filters[0].andFilters.push({catalogPaths:[t]}),n.utilitySvc.isMobile&&!n.isIntranetAllowedSettings&&e.request.searchV6.filters[0].andFilters.push({isInIntranet:["false"]}),e})),o.widgetData.noDataWidget&&o.widgetData.noDataWidget.widgetData.strips&&(o.widgetData.noDataWidget.widgetData.strips=o.widgetData.noDataWidget.widgetData.strips.map((function(e){return e.request.searchV6.filters[0].andFilters.push({catalogPaths:[t]}),n.utilitySvc.isMobile&&!n.isIntranetAllowedSettings&&e.request.searchV6.filters[0].andFilters.push({isInIntranet:["false"]}),e})))),o})),e},e.decorators=[{type:t.Injectable,args:[{providedIn:"root"}]}],e.ctorParameters=function(){return[{type:p.HttpClient},{type:C},{type:Q}]},e.ngInjectableDef=t.ɵɵdefineInjectable({factory:function(){return new e(t.ɵɵinject(p.HttpClient),t.ɵɵinject(C),t.ɵɵinject(Q))},token:e,providedIn:"root"}),e}();var Ze,Xe=function(){function e(e){this.http=e}return e.prototype.resolve=function(e,t){var n=this,i=e.params.tag;return this.http.get(e.data.pageUrl).pipe(a.map((function(e){return{data:n.transformPageData(e,i),error:null}})),a.catchError((function(e){return o.of({data:null,error:e})})))},e.prototype.transformPageData=function(e,t){return e.pageLayout.widgetData.widgets=e.pageLayout.widgetData.widgets.map((function(e){return"contentStripMultiple"===e.widgetSubType&&(e.widgetData.strips=e.widgetData.strips.map((function(e){return e.request.search.filters.catalogPaths=[decodeURIComponent(t)],e}))),e})),e},e.decorators=[{type:t.Injectable,args:[{providedIn:"root"}]}],e.ctorParameters=function(){return[{type:p.HttpClient}]},e.ngInjectableDef=t.ɵɵdefineInjectable({factory:function(){return new e(t.ɵɵinject(p.HttpClient))},token:e,providedIn:"root"}),e}();(function(e){function t(){}function n(){}function i(){}function o(){}function r(){}e.IPage=t,e.INavBar=n,e.INavBackground=i,e.INavLink=o,e.INavLinkConfig=r})(Ze||(Ze={}));var et={pagename:"lexid"},tt=function(){function e(e,t,n){this.configSvc=e,this.http=t,this.locale=n,this.baseUrl=this.configSvc.sitePath}return e.prototype.resolve=function(e){return e.data.pageUrl?this.getData(e.data.pageUrl):"feature"===e.data.pageType&&e.data.pageKey?this.getData(this.baseUrl+"/feature/"+e.data.pageKey):"page"===e.data.pageType&&e.data.pageKey&&e.paramMap.has(e.data.pageKey)?this.getData(this.baseUrl+"/page/"+e.paramMap.get(e.data.pageKey)):"page"!==e.data.pageType||!e.data.pageKey||"toc"!==e.data.pageKey&&"home"!==e.data.pageKey?{data:null,error:"CONFIGURATION_ERROR_PAGE_URL_NOT_FORMED"}:this.getData(this.baseUrl+"/page/"+e.data.pageKey)},e.prototype.setS3Cookie=function(e){return o.EMPTY},e.prototype.getContent=function(e){return this.http.post("/apis/protected/v8/content/"+e+"?hierarchyType=minimal",["status","artifactUrl"])},e.prototype.getData=function(e){var t=this,n=e.split("/").pop().split(".")[0]||"",i=n.startsWith("lex_auth_")?n:et[n];if(i)return o.forkJoin([this.setS3Cookie(i),this.getContent(i)]).pipe(a.mergeMap((function(e){var n=N(e,2),i=(n[0],n[1]);return"Expired"!==i.status&&"Deleted"!==i.status&&i.artifactUrl?t.http.get(i.artifactUrl+"?ts="+(new Date).getTime()).pipe(a.map((function(e){return{data:e,error:null}})),a.catchError((function(e){return o.of({data:null,error:e})}))):o.of({data:null,error:"NoContent"})})),a.catchError((function(e){return o.of({data:null,error:e})})));var r=[(i?this.setS3Cookie(i):o.of(!0)).pipe(a.mergeMap((function(){return t.http.get(e+".json").pipe(a.map((function(e){return{data:e,error:null}})),a.catchError((function(e){return o.of({data:null,error:e})})))}))),"en"===this.locale||"en-US"===this.locale?o.of({data:void 0,error:null}):this.http.get(e+"."+this.locale+".json").pipe(a.map((function(e){return{data:e,error:null}})),a.catchError((function(e){return o.of({data:null,error:e})})))];return o.forkJoin(r).pipe(a.map((function(e){var t=N(e,2),n=t[0],i=t[1];return i.data?i:n})))},e.decorators=[{type:t.Injectable,args:[{providedIn:"root"}]}],e.ctorParameters=function(){return[{type:C},{type:p.HttpClient},{type:String,decorators:[{type:t.Inject,args:[t.LOCALE_ID]}]}]},e.ngInjectableDef=t.ɵɵdefineInjectable({factory:function(){return new e(t.ɵɵinject(C),t.ɵɵinject(p.HttpClient),t.ɵɵinject(t.LOCALE_ID))},token:e,providedIn:"root"}),e}();var nt,it,ot,rt=function(){function e(){}return e.prototype.resolve=function(e){return e.data.pageUrl?e.data.pageUrl:"feature"===e.data.pageType&&e.data.pageKey?""+e.data.pageKey:"page"===e.data.pageType&&e.data.pageKey&&e.paramMap.has(e.data.pageKey)?""+e.paramMap.get(e.data.pageKey):"page"===e.data.pageType&&e.data.pageKey&&"toc"===e.data.pageKey?""+e.data.pageKey:"common module"},e.decorators=[{type:t.Injectable,args:[{providedIn:"root"}]}],e.ctorParameters=function(){return[]},e.ngInjectableDef=t.ɵɵdefineInjectable({factory:function(){return new e},token:e,providedIn:"root"}),e}(),at=function(){function e(){this.moduleName=""}return e.prototype.resolve=function(e){return e.data.pageUrl?e.data.pageUrl:"feature"===e.data.pageType&&e.data.pageKey?""+e.data.pageKey:"page"===e.data.pageType&&e.data.pageKey&&e.paramMap.has(e.data.pageKey)?(this.moduleName=e.paramMap.get(e.data.pageKey),""+(this.moduleName.charAt(0).toUpperCase()+this.moduleName.slice(1))):"page"===e.data.pageType&&e.data.pageKey&&"toc"===e.data.pageKey?""+e.data.pageKey:"common module"},e.decorators=[{type:t.Injectable,args:[{providedIn:"root"}]}],e.ctorParameters=function(){return[]},e.ngInjectableDef=t.ɵɵdefineInjectable({factory:function(){return new e},token:e,providedIn:"root"}),e}();(function(e){function t(){}function n(){}function i(){}function o(){}function r(){}function a(){}function s(){}function c(){}function l(){}function u(){}function p(){}function E(){}function d(){}function _(){}function S(){}function g(){}function A(){}function T(){}function I(){}function f(){}e.IConfig=t,e.IPortalUrls=n,e.IForgotPassword=i,e.ISourceLogo=o,e.IPath=function(){},e.IHubs=r,e.IIndexHtmlMeta=a,e.IFontSize=s,e.IKeycloak=c,e.ILocalsConfig=l,e.IMicrosoft=u,e.ITheme=p,e.IThemeColor=E,e.IOverrideThemeChanges=d,e.IDesktop=_,e.IMWeb=S,e.ILogos=g,e.IMailIds=A,e.IDetails=T,e.IPrimaryNavbarConfig=I,e.ITelemetryConfig=f})(nt||(nt={})),function(e){function t(){}function n(){}function i(){}e.IAppsConfig=t,e.IGroup=n,e.IFeature=i}(it||(it={})),function(e){function t(){}function n(){}function i(){}function o(){}function r(){}function a(){}e.IUserProfile=t,e.INodebbUserProfile=n,e.IUserPidProfile=i,e.IUserPidProfileV2=o,e.IUserPidProfileVer2=r,e.ILanguages=a}(ot||(ot={})),function(e){function t(){}function n(){}var i,o;function r(){}function a(){}function s(){}function c(){}function l(){}function u(){}function p(){}e.IContinueLearningData=t,e.IContent=n,function(e){e.PROGRAM="Program",e.COURSE="Course",e.MODULE="Course Unit",e.RESOURCE="Learning Resource",e.GOALS="GOALS",e.PRACTICE_RESOURCE="Practice Question Set",e.FINAL_ASSESSMENT="Course Assessment",e.COMP_ASSESSMENT="Competency Assessment",e.FTB_QUESTION="FTB Question",e.MTF_QUESTION="MTF Question",e.MULTIPLE_CHOICE_QUESTION="Multiple Choice Question",e.SINGLE_CHOICE_QUESTION="Single Choice Question",e.MANDATORY_COURSE_GOAL="Mandatory Course Goal",e.BLENDED_PROGRAM="Blended Program",e.OFFLINE_SESSION="Offline Session",e.KNOWLEDGE_ARTIFACT="Knowledge Artifact",e.KNOWLEDGE_BOARD="Knowledge Board",e.LEARNING_JOURNEY="Learning Journeys",e.CHANNEL="Channel"}(e.EPrimaryCategory||(e.EPrimaryCategory={})),e.IContentMinimal=r,e.ICollectionHierarchyResponse=a,e.IRelatedContentMeta=s,e.ICreator=c,e.IContentTopic=l,e.IContact=u,e.IViewerContinueLearningRequest=p,function(e){e.PROGRAM="Learning Path",e.CHANNEL="Channel",e.COURSE="Course",e.KNOWLEDGE_ARTIFACT="Knowledge Artifact",e.KNOWLEDGE_BOARD="Knowledge Board",e.LEARNING_JOURNEY="Learning Journeys",e.MODULE="Collection",e.RESOURCE="Resource"}(i=e.EContentTypes||(e.EContentTypes={})),function(e){e.PLAYLIST="Playlist"}(o=e.EMiscPlayerSupportedCollectionTypes||(e.EMiscPlayerSupportedCollectionTypes={})),e.PLAYER_SUPPORTED_COLLECTION_TYPES=[i.COURSE,i.MODULE,i.PROGRAM,o.PLAYLIST],e.KB_SUPPORTED_CONTENT_TYPES=[i.COURSE,i.MODULE,i.PROGRAM,i.RESOURCE],e.PLAYLIST_SUPPORTED_CONTENT_TYPES=[i.COURSE,i.MODULE,i.PROGRAM,i.RESOURCE],function(e){e.COLLECTION="application/vnd.ekstep.content-collection",e.HTML="application/html",e.ILP_FP="application/ilpfp",e.IAP="application/iap-assessment",e.M4A="audio/m4a",e.MP3="audio/mpeg",e.MP4="video/mp4",e.M3U8="application/x-mpegURL",e.INTERACTION="video/interactive",e.PDF="application/pdf",e.QUIZ="application/quiz",e.DRAG_DROP="application/drag-drop",e.HTML_PICKER="application/htmlpicker",e.WEB_MODULE="application/web-module",e.WEB_MODULE_EXERCISE="application/web-module-exercise",e.YOUTUBE="video/x-youtube",e.HANDS_ON="application/integrated-hands-on",e.RDBMS_HANDS_ON="application/rdbms",e.CLASS_DIAGRAM="application/class-diagram",e.CHANNEL="application/channel",e.COLLECTION_RESOURCE="resource/collection",e.CERTIFICATION="application/certification",e.PLAYLIST="application/playlist",e.QUESTION_SET="application/vnd.sunbird.questionset",e.QUESTION="application/vnd.sunbird.question",e.UNKNOWN="application/unknown",e.OFFLINE_SESSION="application/offline"}(e.EMimeTypes||(e.EMimeTypes={})),function(e){e.ASSESSMENT="ASSESSMENT",e.AUDIO="AUDIO",e.CERTIFICATION="CERTIFICATION",e.CHANNEL="Channel",e.CLASS_DIAGRAM="CLASS_DIAGRAM",e.COURSE="COURSE",e.DEFAULT="DEFAULT",e.DRAG_DROP="DRAG_DROP",e.EXTERNAL_CERTIFICATION="EXTERNAL_CERTIFICATION",e.EXTERNAL_COURSE="EXTERNAL_COURSE",e.GOALS="GOALS",e.HANDS_ON="HANDS_ON",e.IAP="IAP",e.INSTRUCTOR_LED="INSTRUCTOR_LED",e.INTERACTIVE_VIDEO="INTERACTIVE_VIDEO",e.KNOWLEDGE_ARTIFACT="KNOWLEDGE_ARTIFACT",e.MODULE="MODULE",e.PDF="PDF",e.PLAYLIST="PLAYLIST",e.PROGRAM="PROGRAM",e.QUIZ="QUIZ",e.RESOURCE="RESOURCE",e.RDBMS_HANDS_ON="RDBMS_HANDS_ON",e.VIDEO="VIDEO",e.WEB_MODULE="WEB_MODULE",e.WEB_PAGE="WEB_PAGE",e.YOUTUBE="YOUTUBE",e.KNOWLEDGE_BOARD="Knowledge Board",e.LEARNING_JOURNEY="Learning Journeys"}(e.EDisplayContentTypes||(e.EDisplayContentTypes={})),function(e){e.ALL="ALL",e.LEARN="LEARN",e.PRACTICE="PRACTICE",e.ASSESS="ASSESS"}(e.EFilterCategory||(e.EFilterCategory={})),function(e){e.NEWLY_ADDED="NEWLY ADDED"}(e.ETagType||(e.ETagType={}))}(e.NsContent||(e.NsContent={}));var st="/apis/protected/v8",ct={CONTENT:st+"/content",AUTHORING_CONTENT:"/apis/authApi/hierarchy",CONTENT_LIKES:st+"/content/likeCount",SET_S3_COOKIE:st+"/content/setCookie",SET_S3_IMAGE_COOKIE:st+"/content/setImageCookie",FETCH_MANIFEST:st+"/content/getWebModuleManifest",FETCH_WEB_MODULE_FILES:st+"/content/getWebModuleFiles",MULTIPLE_CONTENT:st+"/content/multiple",CONTENT_SEARCH_V5:st+"/content/searchV5",CONTENT_SEARCH_V6:st+"/content/searchV6",CONTENT_SEARCH_REGION_RECOMMENDATION:st+"/content/searchRegionRecommendation",CONTENT_HISTORY:st+"/user/history",USER_CONTINUE_LEARNING:st+"/user/history/continue",CONTENT_RATING:st+"/user/rating",COLLECTION_HIERARCHY:function(e,t){return st+"/content/collection/"+e+"/"+t},REGISTRATION_STATUS:st+"/admin/userRegistration/checkUserRegistrationContent",MARK_AS_COMPLETE_META:function(e){return st+"/user/progress/"+e},EXT_USER_COURSE_ENROLL:function(e){return"/apis/proxies/v8/cios-enroll/v1/readby/useridcourseid/"+e},EXT_CONTENT_EROLL:"/apis/proxies/v8/cios-enroll/v1/create",CERT_DOWNLOAD:function(e){return st+"/cohorts/course/batch/cert/download/"+e}},lt=function(){function n(e,t){this.http=e,this.configSvc=t}return n.prototype.fetchMarkAsCompleteMeta=function(e){ct.MARK_AS_COMPLETE_META(e);return o.of().toPromise()},n.prototype.fetchContent=function(e,t,n){void 0===t&&(t="detail"),void 0===n&&(n=[]);var i=ct.CONTENT+"/"+e+"?hierarchyType="+t;return this.http.post(i,{additionalFields:n}).pipe(a.retry(1))},n.prototype.fetchAuthoringContent=function(e){var t=ct.AUTHORING_CONTENT+"/"+e;return this.http.get(t).pipe(a.retry(1))},n.prototype.fetchMultipleContent=function(e){return this.http.get(ct.MULTIPLE_CONTENT+"/"+e.join(","))},n.prototype.fetchCollectionHierarchy=function(e,t,n,i){return void 0===n&&(n=0),void 0===i&&(i=1),this.http.get(ct.COLLECTION_HIERARCHY(e,t)+"?pageNumber="+n+"&pageSize="+i)},n.prototype.fetchContentLikes=function(e){return this.http.post(ct.CONTENT_LIKES,e).toPromise()},n.prototype.fetchContentRatings=function(e){return o.of().toPromise()},n.prototype.fetchContentHistory=function(e){return this.http.get(ct.CONTENT_HISTORY+"/"+e)},n.prototype.continueLearning=function(e,t,n){return f(this,void 0,void 0,(function(){var i=this;return h(this,(function(o){return[2,new Promise((function(o){return f(i,void 0,void 0,(function(){var i;return h(this,(function(r){switch(r.label){case 0:return n&&"playlist"===n.toLowerCase()?(i={contextPathId:t||e,resourceId:e,data:JSON.stringify({timestamp:Date.now(),contextFullPath:[t,e]}),dateAccessed:Date.now(),contextType:"playlist"},[4,this.saveContinueLearning(i).toPromise().catch().finally((function(){o(!0)}))]):[3,2];case 1:return r.sent(),[3,4];case 2:return i={contextPathId:t||e,resourceId:e,data:JSON.stringify({timestamp:Date.now()}),dateAccessed:Date.now()},[4,this.saveContinueLearning(i).toPromise().catch().finally((function(){o(!0)}))];case 3:r.sent(),r.label=4;case 4:return[2]}}))}))}))]}))}))},n.prototype.saveContinueLearning=function(e){return o.of()},n.prototype.setS3Cookie=function(e){return o.EMPTY},n.prototype.setS3ImageCookie=function(){return this.http.post(ct.SET_S3_IMAGE_COOKIE,{}).pipe(a.catchError((function(e){return o.of(!0)})))},n.prototype.fetchManifest=function(e){return this.http.post(ct.FETCH_MANIFEST,{url:e})},n.prototype.fetchWebModuleContent=function(e){return this.http.get(ct.FETCH_WEB_MODULE_FILES+"?url="+encodeURIComponent(e))},n.prototype.search=function(e){return e.query=e.query||"",this.http.post(ct.CONTENT_SEARCH_V5,{request:e})},n.prototype.searchRegionRecommendation=function(e){return e.query=e.query||"",e.preLabelValue=(e.preLabelValue||"")+(this.configSvc.userProfile&&this.configSvc.userProfile.country||""),e.filters=I({},e.filters,{labels:[e.preLabelValue||""]}),this.http.post(ct.CONTENT_SEARCH_REGION_RECOMMENDATION,{request:e})},n.prototype.searchV6=function(e){return e.query=e.query||"",this.http.post(ct.CONTENT_SEARCH_V6,e)},n.prototype.fetchContentRating=function(e){return this.http.get(ct.CONTENT_RATING+"/"+e)},n.prototype.deleteContentRating=function(e){return this.http.delete(ct.CONTENT_RATING+"/"+e)},n.prototype.addContentRating=function(e,t){return this.http.post(ct.CONTENT_RATING+"/"+e,t)},n.prototype.getFirstChildInHierarchy=function(t){if(!(t.children||[]).length)return t;if(!("Program"!==t.primaryCategory||t.artifactUrl&&t.artifactUrl.length)){var n=t.children[0];return this.getFirstChildInHierarchy(n)}if(t.primaryCategory===e.NsContent.EPrimaryCategory.RESOURCE||t.primaryCategory===e.NsContent.EPrimaryCategory.KNOWLEDGE_ARTIFACT||t.primaryCategory===e.NsContent.EPrimaryCategory.PROGRAM||t.primaryCategory===e.NsContent.EPrimaryCategory.PRACTICE_RESOURCE||t.primaryCategory===e.NsContent.EPrimaryCategory.FINAL_ASSESSMENT||t.primaryCategory===e.NsContent.EPrimaryCategory.COMP_ASSESSMENT||t.primaryCategory===e.NsContent.EPrimaryCategory.MANDATORY_COURSE_GOAL||t.primaryCategory===e.NsContent.EPrimaryCategory.OFFLINE_SESSION)return t;var i=t.children[0];return this.getFirstChildInHierarchy(i)},n.prototype.getRegistrationStatus=function(e){return this.http.get(ct.REGISTRATION_STATUS+"/"+e).toPromise()},n.prototype.fetchConfig=function(e){return this.http.get(e)},n.prototype.fetchExtUserContentEnroll=function(e){return this.http.get(ct.EXT_USER_COURSE_ENROLL(e))},n.prototype.extContentEnroll=function(e){return this.http.post(""+ct.EXT_CONTENT_EROLL,e)},n.prototype.downloadCert=function(e){return this.http.get(""+ct.CERT_DOWNLOAD(e))},n.decorators=[{type:t.Injectable,args:[{providedIn:"root"}]}],n.ctorParameters=function(){return[{type:p.HttpClient},{type:C}]},n.ngInjectableDef=t.ɵɵdefineInjectable({factory:function(){return new n(t.ɵɵinject(p.HttpClient),t.ɵɵinject(C))},token:n,providedIn:"root"}),n}();var ut=function(e){return"/apis/proxies/v8/user/v1/feed/"+e},pt=function(e){return"/apis/proxies/v8/forms/getFormById?id="+e},Et="/apis/proxies/v8/forms/v1/saveFormSubmit",dt="/apis/proxies/v8/user/feed/v1/delete",_t=function(){function e(e){this.http=e,this.telemetryEvents=new o.BehaviorSubject(!1),this.updateTelemetryDataObservable=this.telemetryEvents.asObservable()}return e.prototype.updateTelemetryData=function(e){this.telemetryEvents.next(e)},e.prototype.getFeedStatus=function(e){return this.http.get(ut(e))},e.prototype.getFormData=function(e){return this.http.get(pt(e))},e.prototype.submitPlatformRating=function(e){return this.http.post(Et,e)},e.prototype.deleteFeed=function(e){return this.http.post(dt,e)},e.decorators=[{type:t.Injectable}],e.ctorParameters=function(){return[{type:p.HttpClient}]},e}();var St=function(){function n(e,t,n,i,o,r){this.configSvc=e,this.eventsSvc=t,this.logger=i,this.router=o,this.npsSvc=r,this.previousUrl=null,this.telemetryConfig=null,this.pData=null,this.contextCdata=[],this.isAnonymousTelemetry=!0,this.telArray=[],this.externalApps={RBCP:"rbcp-web-ui"},this.environment=n;var a=this.configSvc.instanceConfig;this.navigationStart(),this.initializeConfig(a),this.addPlayerListener(),this.addCustomEventListener(),this.addInteractListener(),this.addFeedbackListener(),this.addTimeSpentListener(),this.addSearchListener(),this.addHearbeatListener(),this.addCustomImpressionListener(),this.addCustomListener(),this.addCustomListenerForGetStart(),this.addCustomListenerForPlatformRating()}return n.prototype.navigationStart=function(){var e=this;this.router.events.subscribe((function(t){if(t instanceof E.NavigationStart&&(t.url.includes("/public/")||t.url.includes("&preview=true")||t.url.includes("/certs"))){e.isAnonymousTelemetry=!0,e.updateTelemetryConfig();var n=e.configSvc.instanceConfig;e.initializeConfig(n)}}))},Object.defineProperty(n.prototype,"isAnonymousTelemetryRequired",{get:function(){return this.isAnonymousTelemetry},enumerable:!0,configurable:!0}),n.prototype.updateTelemetryConfig=function(){this.configSvc.instanceConfig&&this.configSvc.instanceConfig.telemetryConfig&&(this.isAnonymousTelemetryRequired?this.configSvc.instanceConfig.telemetryConfig.endpoint=this.configSvc.instanceConfig.telemetryConfig.publicEndpoint:this.configSvc.instanceConfig.telemetryConfig.endpoint=this.configSvc.instanceConfig.telemetryConfig.protectedEndpoint)},n.prototype.initializeConfig=function(e){e&&(this.telemetryConfig=e.telemetryConfig,this.telemetryConfig=I({},this.telemetryConfig,{pdata:I({},this.telemetryConfig.pdata,{id:this.environment.name+"."+this.telemetryConfig.pdata.id}),uid:this.configSvc.userProfile&&this.configSvc.userProfile.userId?this.configSvc.userProfile.userId:"",channel:this.rootOrgId||this.telemetryConfig.channel,sid:this.getTelemetrySessionId}),this.pData=this.telemetryConfig.pdata)},Object.defineProperty(n.prototype,"getTelemetrySessionId",{get:function(){return localStorage.getItem("telemetrySessionId")||""},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"rootOrgId",{get:function(){return this.configSvc&&this.configSvc.userProfile&&this.configSvc.userProfile.rootOrgId?this.configSvc.userProfile.rootOrgId:""},enumerable:!0,configurable:!0}),n.prototype.triggerNPSUpdate=function(e){this.telArray.push(e),this.telArray&&4===this.telArray.length&&localStorage.getItem("ratingformID")&&(this.telArray=[],this.npsSvc.updateTelemetryData(!0))},n.prototype.start=function(e,t,n){try{this.telemetryConfig?$t.start(this.telemetryConfig,n&&n.pageId?n.pageId:"","1.0",{type:e.type,mode:e.mode,pageid:n&&n.pageId?n.pageId:"",duration:1},{context:I({pdata:I({},this.pData,{id:this.pData.id})},n&&n.module?{env:n.module}:null),object:I({},t&&t)}):this.logger.error("Error Initializing Telemetry. Config missing.")}catch(e){console.log("Error in telemetry start",e)}},n.prototype.end=function(e,t,n){try{$t.end({type:e.type,mode:e.mode,pageid:n&&n.pageId?n.pageId:""},{context:I({pdata:I({},this.pData,{id:this.pData.id})},n&&n.module?{env:n.module}:null),object:I({},t&&t)})}catch(e){console.log("Error in telemetry end",e)}},n.prototype.audit=function(e,t,n){try{$t.audit({type:e,props:t,state:n,prevstate:"",duration:""},{context:{pdata:I({},this.pData,{id:this.pData.id})}})}catch(e){console.log("Error in telemetry audit",e)}},n.prototype.heartbeat=function(e,t){try{$t.heartbeat({id:t,type:e})}catch(e){console.log("Error in telemetry heartbeat",e)}},n.prototype.impression=function(e,t){this.triggerNPSUpdate(e);try{var n=this.getPageDetails();e&&e.pageContext&&(n.pageid=e.pageContext.pageId,n.module=e.pageContext.module);var i={pageid:n.pageid,type:n.pageUrlParts[0],uri:n.pageUrl};if(n.objectId){var o={context:{pdata:I({},this.pData,{id:this.pData.id}),env:n.module||this.telemetryConfig&&this.telemetryConfig.env},object:I({id:n.objectId,type:t},e&&e.object)};n.objectId&&t||(o.object={}),$t.impression(i,o)}else $t.impression(i,{context:{pdata:I({},this.pData,{id:this.pData&&this.pData.id}),env:n.module||""},object:I({},e&&e.object)});this.previousUrl=n.pageUrl}catch(e){console.log("Error in telemetry impression",e)}},n.prototype.externalImpression=function(e){try{var t=this.getPageDetails();if(this.externalApps[e.subApplicationName]){var n=t.objectId?{context:{pdata:I({},this.pData,{id:this.externalApps[e.subApplicationName]})},object:{id:t.objectId}}:{context:{pdata:I({},this.pData,{id:this.externalApps[e.subApplicationName]})}};$t.impression(e.data,n)}}catch(e){console.log("Error in telemetry externalImpression",e)}},n.prototype.addCustomListenerForPlatformRating=function(){var t=this;this.eventsSvc.getPREvents$.pipe(a.filter((function(t){return t&&t.eventType===e.WsEvents.WsEventType.Telemetry&&t.data.eventSubType===e.WsEvents.EnumTelemetrySubType.PlatformRating&&t.data.mode&&t.data}))).subscribe((function(n){n.data.state===e.WsEvents.EnumTelemetrySubType.Loaded&&t.start({type:n.data.type||e.WsEvents.WsTimeSpentType.Player,mode:n.data.mode||e.WsEvents.WsTimeSpentMode.Play},{},n.pageContext),n.data.state===e.WsEvents.EnumTelemetrySubType.Unloaded&&t.end({type:n.data.type||e.WsEvents.WsTimeSpentType.Player,mode:n.data.mode||e.WsEvents.WsTimeSpentMode.Play},n.data.object,n.pageContext),n.data.state===e.WsEvents.EnumTelemetrySubType.Interact&&$t.interact({type:n.data.edata.type,subtype:n.data.edata.subType,id:n.data.edata&&n.data.edata.id?n.data.edata.id:"",pageid:n.pageContext&&n.pageContext.pageId||""},{context:I({pdata:I({},t.pData,{id:t.pData.id})},n.pageContext&&n.pageContext.module?{env:n.pageContext.module}:null),object:I({},n.data.object)})}))},n.prototype.addCustomListenerForGetStart=function(){var t=this;this.eventsSvc.getStartEvents$.pipe(a.filter((function(t){return t&&t.eventType===e.WsEvents.WsEventType.Telemetry&&t.data.eventSubType===e.WsEvents.EnumTelemetrySubType.GetStarted&&t.data.mode&&t.data}))).subscribe((function(n){n.data.state===e.WsEvents.EnumTelemetrySubType.Loaded&&t.start({type:n.data.type||e.WsEvents.WsTimeSpentType.Player,mode:n.data.mode||e.WsEvents.WsTimeSpentMode.Play},{},n.pageContext),n.data.state===e.WsEvents.EnumTelemetrySubType.Unloaded&&t.end({type:n.data.type||e.WsEvents.WsTimeSpentType.Player,mode:n.data.mode||e.WsEvents.WsTimeSpentMode.Play},n.data.object,n.pageContext),n.data.state===e.WsEvents.EnumTelemetrySubType.Interact&&$t.interact({type:n.data.edata.type,subtype:n.data.edata.subType,id:n.data.edata&&n.data.edata.id?n.data.edata.id:"",pageid:n.pageContext&&n.pageContext.pageId||""},{context:I({pdata:I({},t.pData,{id:t.pData.id})},n.pageContext&&n.pageContext.module?{env:n.pageContext.module}:null),object:I({},n.data.object)})}))},n.prototype.addCustomListener=function(){var t=this;this.eventsSvc.chatbotEvents$.pipe(a.filter((function(t){return t&&t.eventType===e.WsEvents.WsEventType.Telemetry&&t.data.eventSubType===e.WsEvents.EnumTelemetrySubType.Chatbot&&t.data.mode&&t.data}))).subscribe((function(n){n.data.state===e.WsEvents.EnumTelemetrySubType.Loaded&&t.start({type:n.data.type||e.WsEvents.WsTimeSpentType.Player,mode:n.data.mode||e.WsEvents.WsTimeSpentMode.Play},{},n.pageContext),n.data.state===e.WsEvents.EnumTelemetrySubType.Unloaded&&t.end({type:n.data.type||e.WsEvents.WsTimeSpentType.Player,mode:n.data.mode||e.WsEvents.WsTimeSpentMode.Play},{},n.pageContext),n.data.state===e.WsEvents.EnumTelemetrySubType.Interact&&$t.interact({type:n.data.edata.type,subtype:n.data.edata.subType,id:n.data.edata&&n.data.edata.id?n.data.edata.id:"",pageid:n.pageContext&&n.pageContext.pageId||""},{context:I({pdata:I({},t.pData,{id:t.pData.id})},n.pageContext&&n.pageContext.module?{env:n.pageContext.module}:null),object:I({},n.data.object)})}))},n.prototype.addCustomImpressionListener=function(){var t=this;this.eventsSvc.events$.pipe(a.filter((function(t){return t&&t.data&&t.eventType===e.WsEvents.WsEventType.Telemetry&&t.data.eventSubType===e.WsEvents.EnumTelemetrySubType.Impression}))).subscribe((function(e){try{t.impression(e.data)}catch(e){console.log("Error in telemetry impression",e)}}))},n.prototype.addTimeSpentListener=function(){var t=this;this.eventsSvc.events$.pipe(a.filter((function(t){return t&&t.eventType===e.WsEvents.WsEventType.Telemetry&&t.data.type===e.WsEvents.WsTimeSpentType.Page&&t.data.mode&&t.data}))).subscribe((function(n){n.data.state===e.WsEvents.EnumTelemetrySubType.Loaded&&t.start({type:n.data.type||e.WsEvents.WsTimeSpentType.Player,mode:n.data.mode||e.WsEvents.WsTimeSpentMode.Play},{},n.pageContext),n.data.state===e.WsEvents.EnumTelemetrySubType.Unloaded&&t.end({type:n.data.type||e.WsEvents.WsTimeSpentType.Player,mode:n.data.mode||e.WsEvents.WsTimeSpentMode.Play},{},n.pageContext)}))},n.prototype.addCustomEventListener=function(){var t=this;this.eventsSvc.events$.pipe(a.filter((function(t){return t&&t.eventType===e.WsEvents.WsEventType.Telemetry}))).subscribe((function(n){n.data.state===e.WsEvents.EnumTelemetrySubType.Loaded&&n.data.type!==e.WsEvents.WsTimeSpentType.Player&&t.start({type:n.data.type,mode:n.data.mode||e.WsEvents.WsTimeSpentMode.Play},n.data.object,n.pageContext),n.data.state===e.WsEvents.EnumTelemetrySubType.Unloaded&&n.data.type!==e.WsEvents.WsTimeSpentType.Player&&t.end({type:n.data.type||e.WsEvents.WsTimeSpentType.Player,mode:n.data.mode||e.WsEvents.WsTimeSpentMode.Play},n.data.object,n.pageContext)}))},n.prototype.addPlayerListener=function(){var t=this;this.eventsSvc.events$.pipe(a.filter((function(t){return t&&t.eventType===e.WsEvents.WsEventType.Telemetry&&t.data.type===e.WsEvents.WsTimeSpentType.Player&&t.data.mode&&t.data}))).subscribe((function(n){var i=n.data.content;n.data.state!==e.WsEvents.EnumTelemetrySubType.Loaded||i&&"maybe"!==(i.isIframeSupported||"").toLowerCase()&&"yes"!==(i.isIframeSupported||"").toLowerCase()&&(i.mimeType,0)||t.start({type:n.data.type||e.WsEvents.WsTimeSpentType.Player,mode:n.data.mode||e.WsEvents.WsTimeSpentMode.Play},n.data.object,n.pageContext),n.data.state!==e.WsEvents.EnumTelemetrySubType.Unloaded||i&&"maybe"!==(i.isIframeSupported||"").toLowerCase()&&"yes"!==(i.isIframeSupported||"").toLowerCase()&&(i.mimeType,0)||t.end({type:n.data.type||e.WsEvents.WsTimeSpentType.Player,mode:n.data.mode||e.WsEvents.WsTimeSpentMode.Play},n.data.object,n.pageContext)}))},n.prototype.addInteractListener=function(){var t=this,n=this.getPageDetails();this.triggerNPSUpdate(n.pageid),this.eventsSvc.events$.pipe(a.filter((function(t){return t&&t.data&&t.eventType===e.WsEvents.WsEventType.Telemetry&&t.data.eventSubType===e.WsEvents.EnumTelemetrySubType.Interact}))).subscribe((function(e){var n=t.getPageDetails();if("string"==typeof e.from&&t.externalApps[e.from]){var i={context:{pdata:I({},t.pData,{id:t.externalApps[e.from]})}};try{$t.interact(e.data,i)}catch(e){console.log("Error in telemetry interact",e)}}else try{$t.interact({type:e.data.edata.type,subtype:e.data.edata.subType,id:e.data.edata&&e.data.edata.id?e.data.edata.id:"",pageid:e.data.pageContext&&e.data.pageContext.pageId||n.pageid},{context:I({pdata:I({},t.pData,{id:t.pData.id})},e.pageContext&&e.pageContext.module?{env:e.pageContext.module}:null),object:I({},e.data.object)})}catch(e){console.log("Error in telemetry interact",e)}}))},n.prototype.addFeedbackListener=function(){var t=this;this.eventsSvc.events$.pipe(a.filter((function(t){return t&&t.data&&t.eventType===e.WsEvents.WsEventType.Telemetry&&t.data.eventSubType===e.WsEvents.EnumTelemetrySubType.Feedback}))).subscribe((function(e){var n=t.getPageDetails();try{$t.feedback({rating:e.data.object.rating||0,commentid:e.data.object.commentid||"",commenttxt:e.data.object.commenttxt||"",pageid:n.pageid},{context:{pdata:I({},t.pData,{id:t.pData.id})},object:{id:e.data.object.contentId||e.data.object.id||"",type:e.data.edata.type||"",ver:""+(e.data.object.version||"1"),rollup:{}}})}catch(e){console.log("Error in telemetry interact",e)}}))},n.prototype.addHearbeatListener=function(){var t=this;this.eventsSvc.events$.pipe(a.filter((function(t){return t&&t.data&&t.eventType===e.WsEvents.WsEventType.Telemetry&&t.data.eventSubType===e.WsEvents.EnumTelemetrySubType.HeartBeat}))).subscribe((function(e){if("string"==typeof e.from&&t.externalApps[e.from]){var n={context:{pdata:I({},t.pData,{id:t.externalApps[e.from]})}};try{$t.heartbeat(e.data,n)}catch(e){console.log("Error in telemetry heartbeat",e)}}else try{$t.heartbeat({type:e.data.type,id:e.data.id},{context:{pdata:I({},t.pData,{id:t.pData.id})}})}catch(e){console.log("Error in telemetry heartbeat",e)}}))},n.prototype.addSearchListener=function(){var t=this;this.eventsSvc.events$.pipe(a.filter((function(t){return t&&t.data&&t.eventType===e.WsEvents.WsEventType.Telemetry&&t.data.eventSubType===e.WsEvents.EnumTelemetrySubType.Search}))).subscribe((function(e){try{$t.search({query:e.data.query,filters:e.data.filters,size:e.data.size},{context:{pdata:I({},t.pData,{id:t.pData.id})}})}catch(e){console.log("Error in telemetry search",e)}}))},n.prototype.getPageDetails=function(){var e=window.location.pathname.replace("/",""),t=e+window.location.search,n="";return e.includes("discussion-forum")&&(n="Discuss"),{pageid:e,pageUrl:t,pageUrlParts:e.split("/"),refferUrl:this.previousUrl,objectId:this.extractContentIdFromUrlParts(e.split("/")),module:n}},n.prototype.extractContentIdFromUrlParts=function(e){var t=e.indexOf("toc"),n=e.indexOf("viewer");return-1===t&&-1===n?null:-1!==t&&t<e.length-1?e[t+1]:-1!==n&&n<e.length-2?e[n+2]:null},n.decorators=[{type:t.Injectable,args:[{providedIn:"root"}]}],n.ctorParameters=function(){return[{type:C},{type:J},{type:void 0,decorators:[{type:t.Inject,args:["environment"]}]},{type:X},{type:E.Router},{type:_t}]},n.ngInjectableDef=t.ɵɵdefineInjectable({factory:function(){return new n(t.ɵɵinject(C),t.ɵɵinject(J),t.ɵɵinject("environment"),t.ɵɵinject(X),t.ɵɵinject(E.Router),t.ɵɵinject(_t))},token:n,providedIn:"root"}),n}();var gt=function(){function n(e,t,n,i,o,r){var a=this;this.configSvc=e,this.contentSvc=t,this.activatedRoute=n,this.router=i,this.eventSvc=o,this.teleSvc=r,this.subAppname="",this.continueLearningData=null,this.loaded=!1,this.changeContextrespond(),this.configSvc.prefChangeNotifier.subscribe((function(){a.changeContextrespond()}))}return n.prototype.loadedRespond=function(e,t,n){var i=this;if(n&&this.activatedRoute.snapshot.queryParams.viewMode&&"RESUME"===this.activatedRoute.snapshot.queryParams.viewMode)this.continueLearningData=null,this.contentSvc.fetchContentHistory(n).subscribe((function(n){if(i.continueLearningData=n.continueData,i.configSvc&&i.configSvc.userProfile){var o=i.configSvc.userProfile.userName?i.configSvc.userProfile.userName.split(" ",2)[0]:"",r=i.configSvc.userProfile.userName?i.configSvc.userProfile.userName.split(" ",2)[1]:"",a=i.activatedRoute.snapshot.queryParams.viewMode?i.activatedRoute.snapshot.queryParams.viewMode:"",s={subApplicationName:t,requestId:"LOADED",parentContext:{domainName:window.location.host,url:i.router.url,rootOrg:i.configSvc.rootOrg,theme:i.configSvc.activeThemeObject?I({name:i.configSvc.activeThemeObject.themeName},i.configSvc.activeThemeObject.color):"",fontSize:i.configSvc.activeFontObject?i.configSvc.activeFontObject.baseFontSize:"14px",locale:i.configSvc.userPreference&&i.configSvc.userPreference.selectedLocale||"en",darkMode:i.configSvc.isDarkMode,subApplicationStartMode:a.toUpperCase(),user:{firstName:o,lastName:r,userId:i.configSvc.userProfile.userId?i.configSvc.userProfile.userId:"",roles:i.configSvc.userRoles?Array.from(i.configSvc.userRoles):[]},heartbeatFrequency:"200"},data:i.continueLearningData.data?{continueLearning:i.continueLearningData.data}:null};e.postMessage(s,"*"),i.contentWindowinfo=e,i.loaded=!0,i.subAppname=t}}));else if(this.configSvc&&this.configSvc.userProfile){var o=this.configSvc.userProfile.userName?this.configSvc.userProfile.userName.split(" ",2)[0]:"",r=this.configSvc.userProfile.userName?this.configSvc.userProfile.userName.split(" ",2)[1]:"",a=this.activatedRoute.snapshot.queryParams.viewMode?this.activatedRoute.snapshot.queryParams.viewMode:"",s={subApplicationName:t,requestId:"LOADED",parentContext:{domainName:window.location.host,url:this.router.url,rootOrg:this.configSvc.rootOrg,theme:this.configSvc.activeThemeObject?I({name:this.configSvc.activeThemeObject.themeName},this.configSvc.activeThemeObject.color):"",fontSize:this.configSvc.activeFontObject?this.configSvc.activeFontObject.baseFontSize:"14px",locale:this.configSvc.userPreference&&this.configSvc.userPreference.selectedLocale||"en",darkMode:this.configSvc.isDarkMode,subApplicationStartMode:a.toUpperCase(),user:{firstName:o,lastName:r,userId:this.configSvc.userProfile.userId?this.configSvc.userProfile.userId:"",roles:this.configSvc.userRoles?Array.from(this.configSvc.userRoles):[]},heartbeatFrequency:"200"},data:null};e.postMessage(s,"*"),this.contentWindowinfo=e,this.loaded=!0,this.subAppname=t}},n.prototype.continueLearningRespond=function(e,t){this.contentSvc.saveContinueLearning({contextPathId:e,resourceId:e,data:JSON.stringify({timestamp:Date.now(),data:t}),dateAccessed:Date.now()}).toPromise().catch()},n.prototype.telemetryEvents=function(t){if(t)switch(t.eventId){case"INTERACT":this.eventSvc.dispatchEvent({eventType:e.WsEvents.WsEventType.Telemetry,eventLogLevel:e.WsEvents.WsEventLogLevel.Warn,data:I({},t.data,{eventSubType:e.WsEvents.EnumTelemetrySubType.Interact}),from:t.subApplicationName,to:"Telemetry"});break;case"HEARTBEAT":this.eventSvc.dispatchEvent({eventType:e.WsEvents.WsEventType.Telemetry,eventLogLevel:e.WsEvents.WsEventLogLevel.Trace,data:I({},t.data,{eventSubType:e.WsEvents.EnumTelemetrySubType.HeartBeat}),from:t.subApplicationName,to:"Telemetry"});break;case"IMPRESSION":this.teleSvc.externalImpression(t.data)}},n.prototype.unsubscribeResponse=function(){this.subAppname="",this.continueLearningData=null,this.contentWindowinfo=null,this.loaded=!1},n.prototype.changeContextrespond=function(){if(this.loaded&&this.contentWindowinfo&&this.configSvc&&this.configSvc.userProfile&&this.subAppname){var e=this.configSvc.userProfile.userName?this.configSvc.userProfile.userName.split(" ",2)[0]:"",t=this.configSvc.userProfile.userName?this.configSvc.userProfile.userName.split(" ",2)[1]:"",n=this.activatedRoute.snapshot.queryParams.viewMode?this.activatedRoute.snapshot.queryParams.viewMode:"",i={subApplicationName:this.subAppname,requestId:"CONTEXT_CHANGE",parentContext:{domainName:window.location.host,url:this.router.url,rootOrg:this.configSvc.rootOrg,theme:this.configSvc.activeThemeObject?I({name:this.configSvc.activeThemeObject.themeName},this.configSvc.activeThemeObject.color):"",fontSize:this.configSvc.activeFontObject?this.configSvc.activeFontObject.baseFontSize:"14px",locale:this.configSvc.userPreference&&this.configSvc.userPreference.selectedLocale||"en",darkMode:this.configSvc.isDarkMode,subApplicationStartMode:n.toUpperCase(),user:{firstName:e,lastName:t,userId:this.configSvc.userProfile.userId?this.configSvc.userProfile.userId:"",roles:this.configSvc.userRoles?Array.from(this.configSvc.userRoles):[]},heartbeatFrequency:"200"}};this.contentWindowinfo.postMessage(i,"*")}},n.decorators=[{type:t.Injectable,args:[{providedIn:"root"}]}],n.ctorParameters=function(){return[{type:C},{type:lt},{type:E.ActivatedRoute},{type:E.Router},{type:J},{type:St}]},n.ngInjectableDef=t.ɵɵdefineInjectable({factory:function(){return new n(t.ɵɵinject(C),t.ɵɵinject(lt),t.ɵɵinject(E.ActivatedRoute),t.ɵɵinject(E.Router),t.ɵɵinject(J),t.ɵɵinject(St))},token:n,providedIn:"root"}),n}();var At="/apis/protected/v8/user/preference",Tt=function(){function e(e,t){this.http=e,this.configurationSvc=t}return e.prototype.initialize=function(){var e=this;this.configurationSvc.prefChangeNotifier.pipe(a.debounceTime(250)).subscribe((function(t){e.configurationSvc.isAuthenticated&&e.saveUserPreference(t)}))},e.prototype.fetchUserPreference=function(){return f(this,void 0,void 0,(function(){return h(this,(function(e){switch(e.label){case 0:return[4,this.http.get(At).toPromise()];case 1:return[2,e.sent()]}}))}))},e.prototype.saveUserPreference=function(e){return f(this,void 0,void 0,(function(){var t,n,i=this;return h(this,(function(r){switch(r.label){case 0:return r.trys.push([0,2,,3]),e?(t=I({},this.configurationSvc.userPreference,{pinnedApps:e&&e.pinnedApps||this.configurationSvc.userPreference&&this.configurationSvc.userPreference.pinnedApps||"",isDarkMode:this.configurationSvc.isDarkMode,isRTL:this.configurationSvc.isRTL,selectedTheme:this.configurationSvc.activeThemeObject&&this.configurationSvc.activeThemeObject.themeClass||"",selectedFont:this.configurationSvc.activeFontObject&&this.configurationSvc.activeFontObject.fontClass||"",selectedLangGroup:this.configurationSvc.userPreference&&this.configurationSvc.userPreference.selectedLangGroup||"",selectedLocale:this.configurationSvc.userPreference&&this.configurationSvc.userPreference.selectedLocale||"",colorPallet:this.configurationSvc.userPreference&&this.configurationSvc.userPreference.colorPallet||[],defaultCardType:this.configurationSvc.userPreference&&this.configurationSvc.userPreference.defaultCardType||"",completedActivity:this.configurationSvc.userPreference&&this.configurationSvc.userPreference.completedActivity||[]},e||{},{completedTour:this.configurationSvc.completedTour,profileSettings:this.configurationSvc.userPreference&&this.configurationSvc.userPreference.profileSettings||this.configurationSvc.profileSettings}),n=this.configurationSvc.userPreference,this.configurationSvc.userPreference=t,[4,this.http.put(At,t).pipe(a.retry(3),a.catchError((function(e){return i.configurationSvc.userPreference=n,o.of(e)}))).toPromise()]):[2,!1];case 1:return r.sent(),[2,!0];case 2:return r.sent(),[2,!1];case 3:return[2]}}))}))},e.decorators=[{type:t.Injectable,args:[{providedIn:"root"}]}],e.ctorParameters=function(){return[{type:p.HttpClient},{type:C}]},e.ngInjectableDef=t.ɵɵdefineInjectable({factory:function(){return new e(t.ɵɵinject(p.HttpClient),t.ɵɵinject(C))},token:e,providedIn:"root"}),e}();var It,ft=function(){function e(e,t,n){this.translate=e,this.http=t,this.configSvc=n,this.selectedLang="",this.languageSelected=new o.BehaviorSubject(!0),this.languageSelectedObservable=this.languageSelected.asObservable(),this.editProfileDetails="/apis/proxies/v8/user/v1/extPatch"}return e.prototype.getLanguage=function(){if(this.configSvc.unMappedUser)if(this.configSvc.unMappedUser.profileDetails&&this.configSvc.unMappedUser.profileDetails.additionalProperties&&this.configSvc.unMappedUser.profileDetails.additionalProperties.webPortalLang){var e=this.configSvc.unMappedUser.profileDetails.additionalProperties.webPortalLang;this.translate.use(e),localStorage.setItem("websiteLanguage",e)}else{if(localStorage.getItem("websiteLanguage"))e=(e=JSON.stringify(localStorage.getItem("websiteLanguage"))).replace(/\"/g,""),this.translate.use(e);else this.translate.setDefaultLang("en"),localStorage.setItem("websiteLanguage","en")}else localStorage.getItem("websiteLanguage")&&(e=(e=JSON.stringify(localStorage.getItem("websiteLanguage"))).replace(/\"/g,""),this.translate.use(e))},e.prototype.translateLabelWithoutspace=function(e,t,n){var i=e;if(i=i&&i.replace(/\s/g,""),n){var o=t+"."+i+n;return this.translate.instant(o)}var r=t+"."+i;return this.translate.instant(r)},e.prototype.translateLabel=function(e,t,n){var i=e,o=(i=i.toLowerCase()).split(" ");if(o.forEach((function(e,t){0!==t&&(o[t]=e[0].toUpperCase()+e.slice(1))})),i=(i=o.join("")).replace(/\s/g,""),n){var r=t+"."+i+n;return this.translate.instant(r)}var a=t+"."+i;return this.translate.instant(a)},e.prototype.translateActualLabel=function(e,t,n){var i=e,o=i.split(" ");if(o.forEach((function(e,t){0!==t&&(o[t]=e[0].toUpperCase()+e.slice(1))})),i=(i=o.join("")).replace(/\s/g,""),n){var r=t+"."+i+n;return this.translate.instant(r)}var a=t+"."+i;return this.translate.instant(a)},e.prototype.editProfileDetailsAPI=function(e){return this.http.post(this.editProfileDetails,e)},e.prototype.updatelanguageSelected=function(e,t,n){if(this.languageSelected.next(e),this.translate.use(t),this.selectedLang=t,n){var i={request:{userId:n,profileDetails:{additionalProperties:{webPortalLang:this.selectedLang}}}};this.editProfileDetailsAPI(i).subscribe()}},e.decorators=[{type:t.Injectable,args:[{providedIn:"root"}]}],e.ctorParameters=function(){return[{type:g.TranslateService},{type:p.HttpClient},{type:C}]},e.ngInjectableDef=t.ɵɵdefineInjectable({factory:function(){return new e(t.ɵɵinject(g.TranslateService),t.ɵɵinject(p.HttpClient),t.ɵɵinject(C))},token:e,providedIn:"root"}),e}();(function(e){function t(){}function n(){}function i(){}function o(){}function r(){}function a(){}function s(){}function c(){}e.IUnitPermissionObject=t,e.IPermissions=n,e.IBaseConfig=i,e.IRegistrationConfig=o,e.IRegistrationsPermissionConfig=r,e.IRenderConfigWithTypedData=a,e.IWidgetData=s,e.ITitle=c})(It||(It={})),e.AuthKeycloakService=oe,e.AuthMicrosoftService=ne,e.ClassChangeOnScrollModule=L,e.ConfigurationsService=C,e.DefaultThumbnailModule=D,e.EFeatures={PLAYLIST:"playlist",PLAYLIST_CREATE:"playlistCreate",PLAYLIST_ADD_NEW_CONTENT:"playlistAddNewContent",PLAYLIST_REMOVE_EXISTING_CONTENT:"playlistRemoveExistingContent",PLAYLIST_DELETE:"playlistDelete",PLAYLIST_SHARE:"playlistShare",GOAL:"goal",GOAL_CREATE_OWN:"goalCreateOwn",GOAL_CREATE_SUGGESTED:"goalCreateSuggested",GOAL_EDIT_EXISTING_GOAL:"goalEditExistingGoal",GOAL_DELETE_EXISTING_GOAL:"goalDeleteExistingGoal",GOAL_SHARE_GOAL_WITH_OTHERS:"goalShareGoalWithOthers",GOAL_VIEW_ALL_GOALS_SECTION:"goalViewAllGoalsSection",GOAL_VIEW_IN_PROGRESS_GOALS_SECTION:"goalViewInProgressGoalsSection",GOAL_VIEW_COMPLETED_GOALS_SECTION:"goalViewCompletedGoalsSection",NAVIGATOR:"navigator",NAVIGATOR_VIEW_NAVIGATOR_CAROUSEL:"navigatorViewNavigatorCarousel",NAVIGATOR_VIEW_ROLES_PAGE:"navigatorViewRolesPage",NAVIGATOR_SELECT_ANY_PILLAR:"navigatorSelectAnyPillar",NAVIGATOR_PURSUE_ANY_OFFERING:"navigatorPursueAnyOffering",NAVIGATOR_CREATE_GOAL_FROM_OFFERING:"navigatorCreateGoalFromOffering",NAVIGATOR_VIEW_EXPLORE_PAGE:"navigatorViewExplorePage",NAVIGATOR_SELECT_ANY_LEARNING_PATH:"navigatorSelectAnyLearningPath",NAVIGATOR_CREATE_GOAL_FROM_LEARNING_PATH:"navigatorCreateGoalFromLearningPath",NAVIGATOR_VIEW_SUGGESTIONS_PAGE:"navigatorViewSuggestionsPage",NAVIGATOR_SELECT_SUGGESTED_TOPICS:"navigatorSelectSuggestedTopics",NAVIGATOR_GET_SUGGESTIONS_OF_SELECTED_TOPICS:"navigatorGetSuggestionsOfSelectedTopics",NAVIGATOR_CREATE_GOAL_FROM_SELECTED_LEARNING_PATHS:"navigatorCreateGoalFromSelectedLearningPaths",NAVIGATOR_VIEW_INDUSTRIES_PAGE:"navigatorViewIndustriesPage",NAVIGATOR_VIEW_CME_PAGE:"navigatorViewCmePage",NAVIGATOR_SELECT_SUBDOMAIN:"navigatorSelectSubdomain",NAVIGATOR_SELECT_PILLAR:"navigatorSelectPillar",NAVIGATOR_SELECT_THEME:"navigatorSelectTheme",NAVIGATOR_VIEW_CPG_PAGE:"navigatorViewCpgPage",NAVIGATOR_VIEW_ENERGY_PAGE:"navigatorViewEnergyPage",NAVIGATOR_VIEW_FINANCIAL_SERVICES_PAGE:"navigatorViewFinancialServicesPage",NAVIGATOR_VIEW_HEALTH_CARE_PAGE:"navigatorViewHealthCarePage",NAVIGATOR_VIEW_INSURANCE_PAGE:"navigatorViewInsurancePage",NAVIGATOR_VIEW_LIFE_SCIENCES_PAGE:"navigatorViewLifeSciencesPage",NAVIGATOR_VIEW_MFG_PAGE:"navigatorViewMfgPage",NAVIGATOR_VIEW_RETAIL_PAGE:"navigatorViewRetailPage",NAVIGATOR_VIEW_TRAVEL_AND_HOSPITALITY_PAGE:"navigatorViewTravelAndHospitalityPage",NAVIGATOR_VIEW_UTILITIES_PAGE:"navigatorViewUtilitiesPage",NAVIGATOR_VIEW_CME_ANALYTICS:"navigatorViewCmeAnalytics",NAVIGATOR_VIEW_GPG_ANALYTICS:"navigatorViewGpgAnalytics",NAVIGATOR_VIEW_ENERGY_ANALYTICS:"navigatorViewEnergyAnalytics",NAVIGATOR_VIEW_FINANCIAL_SERVICES_ANALYTICS:"navigatorViewFinancialServicesAnalytics",NAVIGATOR_VIEW_HEALTH_CARE_ANALYTICS:"navigatorViewHealthCareAnalytics",NAVIGATOR_VIEW_INSURANCE_ANALYTICS:"navigatorViewInsuranceAnalytics",NAVIGATOR_VIEW_LIFE_SCIENCES_ANALYTICS:"navigatorViewLifeSciencesAnalytics",NAVIGATOR_VIEW_MFG_ANALYTICS:"navigatorViewMfgAnalytics",NAVIGATOR_VIEW_RETAIL_ANALYTICS:"navigatorViewRetailAnalytics",NAVIGATOR_VIEW_TRAVEL_AND_HOSPITALITY_ANALYTICS:"navigatorViewTravelAndHospitalityAnalytics",NAVIGATOR_VIEW_UTILITIES_ANALYTICS:"navigatorViewUtilitiesAnalytics",NAVIGATOR_VIEW_PILLARS_PAGE:"navigatorViewPillarsPage",NAVIGATOR_VIEW_DIFFERENT_COURSES_IN_PILLAR:"navigatorViewDifferentCoursesInPillar",NAVIGATOR_VIEW_FULL_STACK_PAGE:"navigatorViewFullStackPage",NAVIGATOR_VIEW_DIFFERENT_FULL_STACK_PROGRAMS:"navigatorViewDifferentFullStackPrograms",CATALOG:"catalog",CATALOG_VIEW_CATALOG_LIST:"catalogViewCatalogList",CATALOG_SELECT_ITEM_FROM_CATALOG_LIST:"catalogSelectItemFromCatalogList",CATALOG_VIEW_PROGRAMS_STRIP:"catalogViewProgramsStrip",CATALOG_VIEW_COURSES_STRIP:"catalogViewCoursesStrip",CATALOG_VIEW_LEARNING_MODULES_STRIP:"catalogViewLearningModulesStrip",CATALOG_VIEW_RESOURCES_STRIP:"catalogViewResourcesStrip",MARKETING_PAGE:"marketingPage",MARKETING_PAGE_VIEW_BRAND_ASSETS_PAGE:"marketingPageViewBrandAssetsPage",MARKETING_PAGE_VIEW_CORPORATE_STRIP:"marketingPageViewCorporateStrip",MARKETING_PAGE_VIEW_EMPLOYEE_STRIP:"marketingPageViewEmployeeStrip",MARKETING_PAGE_VIEW_EXPERIMENTAL_SHOWCASE_PAGE:"marketingPageViewExperimentalShowcasePage",MARKETING_PAGE_VIEW_HUBS_PAGE:"marketingPageViewHubsPage",MARKETING_PAGE_VIEW_CONNECTICUT_STRIP:"marketingPageViewConnecticutStrip",MARKETING_PAGE_VIEW_INDIANA_STRIP:"marketingPageViewIndianaStrip",MARKETING_PAGE_VIEW_RHODE_ISLAND_STRIP:"marketingPageViewRhodeIslandStrip",MARKETING_PAGE_VIEW_CLIENT_STORIES_PAGE:"marketingPageViewClientStoriesPage",MARKETING_PAGE_VIEW_AGILE_SCALE_AT_DIGITAL_STRIP:"marketingPageViewAgileScaleAtDigitalStrip",MARKETING_PAGE_VIEW_AI_POWERED_CORE_STRIP:"marketingPageViewAiPoweredCoreStrip",MARKETING_PAGE_VIEW_ALWAYS_ON_LEAVING_STRIP:"marketingPageViewAlwaysOnLeavingStrip",MARKETING_PAGE_VIEW_SERVICES_PAGE:"marketingPageViewServicesPage",MARKETING_PAGE_VIEW_SERVICES_PENTAGON:"marketingPageViewServicesPentagon",MARKETING_PAGE_VIEW_OFFERINGS_LIST:"marketingPageViewOfferingsList",MARKETING_PAGE_SELECT_ANY_OFFERING:"marketingPageSelectAnyOffering",MARKETING_PAGE_SELECT_ANY_PILLAR_FROM_PENTAGON:"marketingPageSelectAnyPillarFromPentagon",MARKETING_PAGE_VIEW_INDUSTRIES_PAGE:"marketingPageViewIndustriesPage",MARKETING_PAGE_VIEW_INDUSTRIES_LIST:"marketingPageViewIndustriesList",MARKETING_PAGE_SELECT_ANY_INDUSTRY:"marketingPageSelectAnyIndustry",MARKETING_PAGE_VIEW_PRODUCT_AND_SUBSIDIARIES_PAGE:"marketingPageViewProductAndSubsidiariesPage",MARKETING_PAGE_VIEW_PRODUCT_AND_SUBSIDIARIES_LIST:"marketingPageViewProductAndSubsidiariesList",MARKETING_PAGE_SELECT_ANY_PRODUCT_AND_SUBSIDIARY:"marketingPageSelectAnyProductAndSubsidiary",INTERESTS:"interests",INTERESTS_ADD_INTERESTS_FROM_SEARCH:"interestsAddInterestsFromSearch",INTERESTS_ADD_INTERESTS_FROM_OUR_SUGGESTIONS_SECTION:"interestsAddInterestsFromOurSuggestionsSection",INTERESTS_REMOVE_INTERESTS_FROM_MY_INTERESTS_SECTION:"interestsRemoveInterestsFromMyInterestsSection",INTERESTS_VIEW_INTERESTS_SEARCH_FIELD:"interestsViewInterestsSearchField",INTERESTS_VIEW_MY_INTERESTS_SECTION:"interestsViewMyInterestsSection",INTERESTS_VIEW_OWN_SUGGESTIONS_SECTION:"interestsViewOwnSuggestionsSection",INTERESTS_VIEW_MORE_SUGGESTIONS_BUTTON:"interestsViewMoreSuggestionsButton",FEEDBACK:"feedback",FEEDBACK_VIEW_PLATFORM_FEEDBACK_SECTION:"feedbackViewPlatformFeedbackSection",FEEDBACK_STAR_RATING_FOR_PLATFORM:"feedbackStarRatingForPlatform",FEEDBACK_WRITE_PLATFORM_FEEDBACK:"feedbackWritePlatformFeedback",FEEDBACK_RESET_PLATFORM_FEEDBACK:"feedbackResetPlatformFeedback",FEEDBACK_SUBMIT_PLATFORM_FEEDBACK:"feedbackSubmitPlatformFeedback",FEEDBACK_VIEW_CONTENT_FEEDBACK_SECTION:"feedbackViewContentFeedbackSection",FEEDBACK_STAR_RATING_FOR_CONTENT:"feedbackStarRatingForContent",FEEDBACK_WRITE_CONTENT_FEEDBACK:"feedbackWriteContentFeedback",FEEDBACK_RESET_CONTENT_FEEDBACK:"feedbackResetContentFeedback",FEEDBACK_SUBMIT_CONTENT_FEEDBACK:"feedbackSubmitContentFeedback",FEEDBACK_VIEW_ISSUE_REPORTING_SECTION:"feedbackViewIssueReportingSection",FEEDBACK_WRITING_ISSUE:"feedbackWritingIssue",FEEDBACK_RESET_ISSUE:"feedbackResetIssue",FEEDBACK_SUBMIT_ISSUE:"feedbackSubmitIssue",CONTACT_US:"contactUs",CONTACT_US_VIEW_RAISE_AHD_SECTION:"contactUsViewRaiseAhdSection",CONTACT_US_VIEW_MAIL_US_SECTION:"contactUsViewMailUsSection",CONTACT_US_VIEW_TALK_TO_US_SECTION:"contactUsViewTalkToUsSection",CONTACT_US_RAISE_AHD:"contactUsRaiseAhd",CONTACT_US_WRITE_EMAIL:"contactUsWriteEmail",CONTACT_US_DIAL_FROM_PHONE:"contactUsDialFromPhone",FAQ:"faq",FAQ_VIEW_LOGIN_FAQS:"faqViewLoginFaqs",FAQ_VIEW_ODC_ACCESS_FAQS:"faqViewOdcAccessFaqs",FAQ_VIEW_COMPATIBILITY_FAQS:"faqViewCompatibilityFaqs",FAQ_VIEW_INSTALLATION_FAQS:"faqViewInstallationFaqs",FAQ_VIEW_PROGRESS_COMPLETION_FAQS:"faqViewProgressCompletionFaqs",FAQ_VIEW_VIDEO_FAQS:"faqViewVideoFaqs",FAQ_VIEW_AUTHORING_FAQS:"faqViewAuthoringFaqs",MOBILE_APPS:"mobileApps",MOBILE_APPS_VIEW_ANDROID_APP_SECTION:"mobileAppsViewAndroidAppSection",MOBILE_APPS_DOWNLOAD_APP_FROM_PLAY_STORE:"mobileAppsDownloadAppFromPlayStore",MOBILE_APPS_DOWNLOAD_APP_FROM_OUR_SERVER:"mobileAppsDownloadAppFromOurServer",MOBILE_APPS_VIEW_QR_CODE_FOR_ANDROID_APP:"mobileAppsViewQrCodeForAndroidApp",MOBILE_APPS_VIEW_IOS_APP_SECTION:"mobileAppsViewIosAppSection",MOBILE_APPS_DOWNLOAD_IOS_APP:"mobileAppsDownloadIosApp",MOBILE_APPS_VIEW_QR_CODE_FOR_IOS_APP:"mobileAppsViewQrCodeForIosApp",ABOUT_US:"aboutUs",ABOUT_US_VIEW_ABOUT_US_PAGE_SECTIONS:"aboutUsViewAboutUsPageSections",SETTINGS:"settings",SETTINGS_VIEW_LANGUAGE_SECTION:"settingsViewLanguageSection",SETTINGS_VIEW_FONT_SIZE_SECTION:"settingsViewFontSizeSection",SETTINGS_VIEW_THEME_SECTION:"settingsViewThemeSection",SETTINGS_CHANGE_LANGUAGE:"settingsChangeLanguage",SETTINGS_CHANGE_FONT_SIZE:"settingsChangeFontSize",SETTINGS_CHANGE_THEME:"settingsChangeTheme",LOGIN_PAGE:"loginPage",LOGIN_PAGE_LOGIN_FOR_INFOSCIONS:"loginPageLoginForInfoscions",LOGIN_PAGE_LOGIN_FOR_SUBSIDIARIES:"loginPageLoginForSubsidiaries",LOGIN_PAGE_LOGIN_FOR_NEW_RECRUITS:"loginPageLoginForNewRecruits",LOGIN_PAGE_ABOUT_US:"loginPageAboutUs",LOGIN_PAGE_TERMS_OF_USE:"loginPageTermsOfUse",LOGIN_PAGE_FAQS:"loginPageFaqs",LOGIN_PAGE_CONTACT_US:"loginPageContactUs",TOC_PAGE:"tocPage",TOC_PAGE_VIEW_OVERVIEW_SECTION:"tocPageViewOverviewSection",TOC_PAGE_VIEW_INSTRUCTOR_LED_SECTION:"tocPageViewInstructorLedSection",TOC_PAGE_VIEW_COHORTS_SECTION:"tocPageViewCohortsSection",TOC_PAGE_VIEW_DISCUSSION_FORUM_SECTION:"tocPageViewDiscussionForumSection",TOC_PAGE_VIEW_COURSE_ANALYTICS_SECTION:"tocPageViewCourseAnalyticsSection",TOC_PAGE_VIEW_WHATS_NEXT_SECTION:"tocPageViewWhatsNextSection",TOC_PAGE_VIEW_PART_OF_SECTION:"tocPageViewPartOfSection",TOC_PAGE_REGISTER_FOR_UPCOMING_TRAINING:"tocPageRegisterForUpcomingTraining",TOC_PAGE_UNREGISTER_FROM_REGISTERED_TRAINING:"tocPageUnregisterFromRegisteredTraining",TOC_PAGE_SHARE_INSTRUCTOR_LED_TRAININGS:"tocPageShareInstructorLedTrainings",TOC_PAGE_VIEW_EDUCATORS_OF_TRAININGS:"tocPageViewEducatorsOfTrainings",TOC_PAGE_NOMINATE_OTHERS_FOR_TRAININGS:"tocPageNominateOthersForTrainings",TOC_PAGE_REQUEST_TRAINING:"tocPageRequestTraining",TOC_PAGE_VIEW_ACTIVE_LEARNERS_SECTION:"tocPageViewActiveLearnersSection",TOC_PAGE_VIEW_ALL_ACTIVE_LEARNERS:"tocPageViewAllActiveLearners",TOC_PAGE_VIEW_CURRENTLY_ACTIVE_LEARNERS:"tocPageViewCurrentlyActiveLearners",TOC_PAGE_VIEW_LEARNERS_SHARING_THE_SAME_GOALS:"tocPageViewLearnersSharingTheSameGoals",TOC_PAGE_VIEW_EXPERTS_AND_TUTORS_SECTION:"tocPageViewExpertsAndTutorsSection",TOC_PAGE_VIEW_ALL_EXPERTS_AND_TUTORS:"tocPageViewAllExpertsAndTutors",TOC_PAGE_VIEW_AUTHORS_OF_COURSE:"tocPageViewAuthorsOfCourse",TOC_PAGE_VIEW_EDUCATORS_OF_COURSE:"tocPageViewEducatorsOfCourse",TOC_PAGE_VIEW_TOPPERS_OF_COURSE:"tocPageViewToppersOfCourse",TOC_PAGE_MAIL_THE_PERSON:"tocPageMailThePerson",TOC_PAGE_CALL_THE_PERSON:"tocPageCallThePerson",TOC_PAGE_POST_VIEWS_IN_DISCUSSION_FORUM:"tocPagePostViewsInDiscussionForum",TOC_PAGE_LEARN_THE_COURSE:"tocPageLearnTheCourse",TOC_PAGE_LIKE_THE_COURSE:"tocPageLikeTheCourse",TOC_PAGE_SHARE_THE_COURSE:"tocPageShareTheCourse",TOC_PAGE_ADD_COURSE_TO_GOALS:"tocPageAddCourseToGoals",TOC_PAGE_ADD_COURSE_TO_PLAYLIST:"tocPageAddCourseToPlaylist",TOC_PAGE_ADD_COURSE_TO_WATCHLIST:"tocPageAddCourseToWatchlist",TOC_PAGE_GIVE_COURSE_FEEDBACK:"tocPageGiveCourseFeedback",TOC_PAGE_RESUME_THE_COURSE:"tocPageResumeTheCourse",TOC_PAGE_START_OVER_THE_COURSE:"tocPageStartOverTheCourse",TOC_PAGE_GO_TO_COURSE_QUIZ:"tocPageGoToCourseQuiz",TOC_PAGE_GO_TO_COURSE_HANDS_ON:"tocPageGoToCourseHandsOn",NAVBAR:"navbar",NAVBAR_VIEW_LOGO:"navbarViewLogo",NAVBAR_CATALOG_ICON:"navbarCatalogIcon",NAVBAR_NAVIGATOR_ICON:"navbarNavigatorIcon",NAVBAR_NOTIFICATION_ICON:"navbarNotificationIcon",NAVBAR_SETTINGS_ICON:"navbarSettingsIcon",NAVBAR_SEARCH_ICON:"navbarSearchIcon",NAVBAR_APPS_ICON:"navbarAppsIcon",HOME_PAGE:"homePage",HOME_PAGE_VIEW_CAROUSEL:"homePageViewCarousel",HOME_PAGE_VIEW_CONTINUE_LEARNING_STRIP:"homePageViewContinueLearningStrip",HOME_PAGE_VIEW_FEATURED_APPS_STRIP:"homePageViewFeaturedAppsStrip",HOME_PAGE_VIEW_RECENT_ADDITION_TO_PLAYLISTS_STRIP:"homePageViewRecentAdditionToPlaylistsStrip",HOME_PAGE_VIEW_BASED_ON_YOUR_INTERESTS_STRIP:"homePageViewBasedOnYourInterestsStrip",HOME_PAGE_VIEW_BASED_ON_WHAT_YOU_VIEWED_STRIP:"homePageViewBasedOnWhatYouViewedStrip",HOME_PAGE_VIEW_LATEST_STRIP:"homePageViewLatestStrip",HOME_PAGE_VIEW_TRENDING_STRIP:"homePageViewTrendingStrip",HOME_PAGE_SHOW_COMPLETED_FILTER:"homePageShowCompletedFilter",HOME_PAGE_SHOW_RESOURCES_FILTER:"homePageShowResourcesFilter",TNC_PAGE:"tncPage",TNC_PAGE_VIEW_CONTEST_RULES_SECTION:"tncPageViewContestRulesSection",TNC_PAGE_VIEW_DATA_PRIVACY_SECTION:"tncPageViewDataPrivacySection",TNC_PAGE_ACCEPT_TERMS_AND_CONDITIONS:"tncPageAcceptTermsAndConditions",BLOGS:"blogs",BLOG_VIEW_OTHERS_BLOGS:"blogViewOthersBlogs",BLOGS_LIKE_OTHER_BLOGS:"blogsLikeOtherBlogs",BLOGS_VIEW_MY_BLOGS:"blogsViewMyBlogs",BLOGS_WRITE_NEW_BLOG:"blogsWriteNewBlog",BLOGS_SAVE_BLOG_AS_DRAFT:"blogsSaveBlogAsDraft",BLOGS_EDIT_MY_SAVED_BLOG:"blogsEditMySavedBlog",BLOGS_PUBLISH_MY_BLOG:"blogsPublishMyBlog",BLOGS_UPVOTE_FOR_BLOG:"blogsUpvoteForBlog",BLOGS_DOWNVOTE_FOR_BLOG:"blogsDownvoteForBlog",BLOGS_WRITE_RESPONSE_FOR_BLOG:"blogsWriteResponseForBlog",BLOGS_DELETE_MY_BLOG:"blogsDeleteMyBlog",BLOGS_EDIT_MY_RESPONSE:"blogsEditMyResponse",BLOGS_DELETE_MY_RESPONSE:"blogsDeleteMyResponse",BLOGS_VIEW_DRAFTS_SECTION:"blogsViewDraftsSection",BLOGS_VIEW_PUBLISHED_SECTION:"blogsViewPublishedSection",QUESTION_AND_ANSWER:"questionAndAnswer",QUESTION_AND_ANSWER_VIEW_ALL_QUESTIONS_AND_ANSWERS:"questionAndAnswerViewAllQuestionsAndAnswers",QUESTION_AND_ANSWER_VIEW_ONLY_UNANSWERED_QUESTIONS:"questionAndAnswerViewOnlyUnansweredQuestions",QUESTION_AND_ANSWER_VIEW_MY_TIMELINE:"questionAndAnswerViewMyTimeline",QUESTION_AND_ANSWER_ASK_NEW_QUESTION:"questionAndAnswerAskNewQuestion",QUESTION_AND_ANSWER_VIEW_SPECIFIC_QUESTION:"questionAndAnswerViewSpecificQuestion",QUESTION_AND_ANSWER_UPVOTE_FOR_ANSWER:"questionAndAnswerUpvoteForAnswer",QUESTION_AND_ANSWER_DOWNVOTE_FOR_ANSWER:"questionAndAnswerDownvoteForAnswer",QUESTION_AND_ANSWER_LIKE_AN_ANSWER:"questionAndAnswerLikeAnAnswer",QUESTION_AND_ANSWER_ADD_COMMENT_FOR_ANY_ANSWER:"questionAndAnswerAddCommentForAnyAnswer",QUESTION_AND_ANSWER_ADD_ANSWER_FOR_ANY_QUESTION:"questionAndAnswerAddAnswerForAnyQuestion",QUESTION_AND_ANSWER_SAVE_QUESTION_AS_DRAFT:"questionAndAnswerSaveQuestionAsDraft",QUESTION_AND_ANSWER_PUBLISH_SAVED_QUESTION:"questionAndAnswerPublishedSavedQuestion",QUESTION_AND_ANSWER_VIEW_DRAFTS_SECTION:"questionAndAnswerViewDraftsSection",QUESTION_AND_ANSWER_VIEW_PUBLISHED_SECTION:"questionAndAnswerViewPublishedSection",BADGES:"badges",BADGES_VIEW_RECENTLY_EARNED_BADGE:"badgesViewRecentlyEarnedBadge",BADGES_VIEW_ALL_EARNED_BADGES:"badgesViewAllEarnedBadges",BADGES_VIEW_NEXT_TARGETTED_BADGES:"badgesViewNextTargettedBadges",HANDS_ON_DASHBOARD:"handsOnDashboard",HANDS_ON_DASHBOARD_VIEW_MY_DASHBOARD:"handsOnDashboardViewMyDashboard",HANDS_ON_DASHBOARD_VIEW_SHARED_PROFILE_SECTION:"handsOnDashboardViewSharedProfileSection",LEARNING_HISTORY:"learningHistory",LEARNING_HISTORY_VIEW_PROGRAMS_SECTION:"learningHistoryViewProgramsSection",LEARNING_HISTORY_VIEW_COURSES_SECTION:"learningHistoryViewCoursesSection",LEARNING_HISTORY_VIEW_LEARNING_MODULES_SECTION:"learningHistoryViewLearningModulesSection",LEARNING_HISTORY_VIEW_RESOURCES_SECTION:"learningHistoryViewResourcesSection",LEARNING_HISTORY_VIEW_CERTIFICATIONS_SECTION:"learningHistoryViewCertificationsSection",LEARNING_HISTORY_APPLY_COMPLETED_FILTER:"learningHistoryApplyCompletedFilter",LEARNING_HISTORY_VIEW_MORE_BUTTON:"learningHistoryViewMoreButton",LEARNING_TIME:"learningTime",LEARNING_TIME_VIEW_LEARNING_TIME_GRAPH:"learningTimeViewLearningTimeGraph",LEARNING_TIME_APPLY_BAR_GRAPH_FILTER:"learningTimeApplyBarGraphFilter",LEARNING_TIME_APPLY_DATE_RANGE_FILTER:"learningTimeApplyDateRangeFilter",LEARNING_TIME_APPLY_TIME_SPENT_FILTER:"learningTimeApplyTimeSpentFilter",LEARNING_TIME_APPLY_APP_AVERAGE_FILTER:"learningTimeApplyAppAverageFilter",LEARNING_TIME_APPLY_USER_AVERAGE_OVER_PERIOD_FILTER:"learningTimeApplyUserAverageOverPeriodFilter",NOTIFICATION:"notification",NOTIFICATION_VIEW_RECENT_BADGE_EARNED:"notificationViewRecentBadgeEarned",NOTIFICATION_VIEW_SHARED_PLAYLIST:"notificationViewSharedPlaylist",NOTIFICATION_VIEW_SHARED_GOALS:"notificationViewSharedGoals",PROFILE:"profile",PROFILE_VIEW_BASIC_INFORMATION:"profileViewBasicInformation",PROFILE_VIEW_RECENTLY_LEARNED_COURSES:"profileViewRecentlyLearnedCourses",PROFILE_VIEW_LIKED_ITEMS:"profileViewLikedItems",PROFILE_VIEW_BADGES_EARNED:"profileViewBadgesEarned",BEHAVIORAL_SKILLS:"behavioralSkills",BEHAVIORAL_SKILLS_VIEW_MODEL_CLIENT_INTERACTIONS:"behavioralSkillsViewModalClientInteractions",BEHAVIORAL_SKILLS_VIEW_CLIENT_INTERACTION_TESTS:"behavioralSkillsViewClientInteractionTests",CERTIFICATIONS:"certifications",CERTIFICATIONS_VIEW_MY_APPROVALS_SECTION:"certificationsViewMyApprovalsSection",CERTIFICATIONS_VIEW_MY_REQUESTS_SECTION:"certificationsViewMyRequestsSection",CERTIFICATIONS_VIEW_MY_CERTIFICATIONS_SECTION:"certificationsViewMyCertificationsSection",CERTIFICATIONS_APPLY_COMPLETION_STATUS_FILTER:"certificationsApplyCompletionStatusFilter",CODE_CRACK:"codeCrack",CODE_CRACK_VIEW_PUZZLE_MANIA:"codeCrackViewPuzzleMania",CODE_CRACK_VIEW_CODE_CRACK:"codeCrackViewCodeCrack",CODE_CRACK_VIEW_TECHNOLOGY_PLAYGROUND:"codeCrackViewTechnologyPlayground",CODE_CRACK_WATCH_PROGRAMMING_CHALLENGES_VIDEO:"codeCrackWatchProgrammingChallengesVideo",CODE_CRACK_VIEW_ACCELERATE:"codeCrackViewAccelerate",CODE_CRACK_START_CODE_CRACK_TEST:"codeCrackStartCodeCrackTest",CODE_CRACK_START_PUZZLE_MANIA:"codeCrackStartPuzzleMania",CODE_CRACK_START_TECHNOLOGY_PLAYGROUND:"codeCrackStartTechnologyPlayground",INSTRUCTOR_LED_TRAINING:"instructorLedTraining",INSTRUCTOR_LED_TRAINING_VIEW_TRAINING_SCHEDULE_SECTION:"instructorLedTrainingViewTrainingScheduleSection",INSTRUCTOR_LED_TRAINING_VIEW_FEEDBACK_SECTION:"instructorLedTrainingViewFeedbackSection",INSTRUCTOR_LED_TRAINING_VIEW_TRAININGS_PLANNED_BY_YOUR_TEAM_SECTION:"instructorLedTrainingViewTrainingsPlannedByYourTeamSection",INSTRUCTOR_LED_TRAINING_SEARCH_TRAINING:"instructorLedTrainingSearchTraining",INSTRUCTOR_LED_TRAINING_REGISTER_FOR_TRAINING:"instructorLedTrainingRegisterForTraining",INSTRUCTOR_LED_TRAINING_GIVE_TRAINING_FEEDBACK:"instructorLedTrainingGiveTrainingFeedback",LEADERBOARD:"leaderboard",LEADERBOARD_VIEW_WEEKLY_SECTION:"leaderboardViewWeeklySection",LEADERBOARD_VIEW_MONTHLY_SECTION:"leaderboardViewMonthlySection",LEADERBOARD_VIEW_HALL_OF_FAME_SECTION:"leaderboardViewHallOfSection",LEADERBOARD_APPLY_LEARNER_COLLABORATOR_FILTER:"leaderboardApplyLearnerCollaboratorFilter",LEADERBOARD_BACK_DATE_BUTTON:"leaderboardBackDatebutton",LEADERBOARD_FORWARD_DATE_BUTTON:"leaderboardForwardDateButton",PLAYGROUND:"playground",PLAYGROUND_VIEW_TECHNOLOGY_PLAYGROUNDS_STRIP:"playgroundViewTechnologyPlaygorundsStrip",PLAYGROUND_VIEW_ASSESSMENTS_PLAYGROUNDS_STRIP:"playgroundViewAssessmentsPlaygroundsStrip",PUZZLE_MANIA:"puzzleMania",PUZZLE_MANIA_VIEW_PUZZLE_MANIA:"puzzleManiaViewPuzzleMania",PUZZLE_MANIA_VIEW_CODE_CRACK:"puzzleManiaViewCodeCrack",PUZZLE_MANIA_VIEW_TECHNOLOGY_PLAYGROUND:"puzzleManiaViewTechnologyPlayground",PUZZLE_MANIA_WATCH_PROGRAMMING_CHALLENGES_VIDEO:"puzzleManiaWatchProgrammingChallengesVideo",PUZZLE_MANIA_VIEW_ACCELERATE:"puzzleManiaViewAccelerate",PUZZLE_MANIA_START_CODE_CRACK_TEST:"puzzleManiaStartCodeCrackTest",PUZZLE_MANIA_START_PUZZLE_MANIA:"puzzleManiaStartPuzzleMania",PUZZLE_MANIA_START_TECHNOLOGY_PLAYGROUND:"puzzleManiaStartTechnologyPlayground",FULL_STACK_SALES_LEADER:"fullStackSalesLeader",FULL_STACK_SALES_LEADER_WATCH_LEADER_VIDEO:"fullStackSalesLeaderWatchLeaderVideo",FULL_STACK_SALES_LEADER_EMBARK_ON_THIS_LEARNING_JOURNEY_BUTTON:"fullStackSalesLeaderEmbarkOnThisLearningJourneyButton",FULL_STACK_SALES_LEADER_QUICK_TOUR_VIDEO_LINK:"fullStackSalesLeaderQuickTourVideoLink",FULL_STACK_SALES_LEADER_FEEDBACK_LINK:"fullStackSalesLeaderFeedbackLink",FULL_STACK_SALES_LEADER_DROP_NOTE_LINK:"fullStackSalesLeaderDropNoteLink",ONBOARDING:"onboarding",ONBOARDING_VIEW_DC_ONBOARDING_PROGRAMS_STRIP:"onboardingViewDcOnboardingProgramsStrip",ONBOARDING_VIEW_ORGANISATIONAL_ONBOARDING_PROGRAMS_STRIP:"onboardingViewOrganisationalOnboardingProgramsStrip",ONBOARDING_VIEW_ROLE_BASED_ONBOARDING_PROGRAMS_STRIP:"onboardingViewRoleBasedOnboardingProgramsStrip",ONBOARDING_VIEW_UNIT_AND_PROJECT_ONBOARDING_PROGRAMS_STRIP:"onboardingViewUnitAndProjectOnboardingProgramsStrip",SEARCH:"search",SEARCH_SEARCHING_CONTENT:"searchSearchingContent",KNOWLEDGE_HUB:"knowledgeHub",KNOWLEDGE_HUB_SUBMIT_KNOWLEDGE_ARTIFACTS:"knowledgeHubSubmitKnowledgeArtifacts",KNOWLEDGE_HUB_VIEW_TOP_PROJECTS_SECTION:"knowledgeHubViewTopProjectsSection",KNOWLEDGE_HUB_VIEW_INTERESTING_READS_SECTION:"knowledgeHubViewInterestingReadsSection",KNOWLEDGE_HUB_VIEW_MARKETING_SECTION:"knowledgeHubViewMarketingSection",KNOWLEDGE_HUB_VIEW_KSHOP_CLASSIC_SECTION:"knowledgeHubViewKshopClassicSection",KNOWLEDGE_HUB_VIEW_TRENDING_TOOLS_SECTION:"knowledgeHubViewTrendingToolsSection",KNOWLEDGE_HUB_VIEW_DOCUMENTS_STRIP:"knowledgeHubViewDocumentsStrip",KNOWLEDGE_HUB_VIEW_TOOLS_STRIP:"knowledgeHubViewProjectReferencesStrip",KNOWLEDGE_HUB_VIEW_MARKETING_STRIP:"knowledgeHubViewMarketingStrip",CHANNELS:"channels",CHANNELS_VIEW_LEADERSHIP_SECTION:"channelsViewLeadershipSection",CHANNELS_VIEW_RAVI_KUMAR_PAGE:"channelsViewRaviKumarPage",CHANNELS_VIEW_MOHIT_JOSHI_PAGE:"channelsViewMohitJoshiPage",CHANNELS_FOLLOW_RAVI_KUMAR:"channelsFollowRaviKumar",CHANNELS_MAIL_TO_RAVI_KUMAR:"channelsMailToRaviKumar",CHANNELS_VIEW_ABOUT_RAVI_KUMAR_SECTION:"channelsViewAboutRaviKumarSection",CHANNELS_VIEW_RAVI_KUMAR_TWEETS_SECTION:"channelsViewRaviKumarTweetsSection",CHANNELS_VIEW_RAVI_KUMAR_ARTICLES_SECTION:"channelsViewRaviKumarArticlesSection",CHANNELS_VIEW_RAVI_KUMAR_TRAILBLAZERS_SECTION:"channelsViewRaviKumarTrailblazersSection",CHANNELS_VIEW_RAVI_KUMAR_COMMUNICATIONS_SECTION:"channelsViewRaviKumarCommunicationsSection",CHANNELS_VIEW_RAVI_KUMAR_DISCUSSION_SECTION:"channelsViewraviKumarDiscussionSection",CHANNELS_LIKE_TWEET_RAVI_KUMAR:"channelsLikeTweetRaviKumar",CHANNELS_SHARE_TWEET_RAVI_KUMAR:"channelsShareTweetRaviKumar",CHANNELS_POST_YOUR_THOUGHTS_IN_DISCUSSION_RAVI_KUMAR:"channelsPostYourThoughtsInDiscussionRaviKumar",CHANNELS_FOLLOW_MOHIT_JOSHI:"channelsFollowMohitJoshi",CHANNELS_MAIL_TO_MOHIT_JOSHI:"channelsMailToMohitJoshi",CHANNELS_VIEW_ABOUT_MOHIT_JOSHI_SECTION:"channelsViewAboutMohitJoshiSection",CHANNELS_VIEW_MOHIT_JOSHI_TWEETS_SECTION:"channelsViewMohitJoshiTweetsSection",CHANNELS_VIEW_MOHIT_JOSHI_ARTICLES_SECTION:"channelsViewMohitJoshiArticlesSection",CHANNELS_VIEW_MOHIT_JOSHI_TRAILBLAZERS_SECTION:"channelsViewMohitJoshiTrailblazersSection",CHANNELS_VIEW_MOHIT_JOSHI_COMMUNICATIONS_SECTION:"channelsViewMohitJoshiCommunicationsSection",CHANNELS_VIEW_MOHIT_JOSHI_DISCUSSION_SECTION:"channelsViewMohitJoshiDiscussionSection",CHANNELS_LIKE_TWEET_MOHIT_JOSHI:"channelsLikeTweetMohitJoshi",CHANNELS_SHARE_TWEET_MOHIT_JOSHI:"channelsShareTweetMohitJoshi",CHANNELS_POST_YOUR_THOUGHTS_IN_DISCUSSION_MOHIT_JOSHI:"channelsPostYourThoughtsInDiscussionMohitJoshi",CHANNELS_VIEW_CORPORATE_SECTION:"channelsViewCorporateSection",CHANNELS_VIEW_EXPERIENCE_WOW_PAGE:"channelsViewExperienceWowPage",CHANNELS_VIEW_iGOT_KNOWLEDGE_INSTITUTE_PAGE:"channelsViewiGOTKnowledgeInstitutePage",CHANNELS_VIEW_CMT_LEARNING_HUB_PAGE:"channelsViewCmtLearningHubPage",CHANNELS_VIEW_FULL_STACK_SALES_LEADERS_PAGE:"channelsViewFullStackSalesLeaderPage",EXPERIENCE_WOW_PAGE:"experienceWowPage",EXPERIENCE_WOW_PAGE_VIEW_PAGE_SECTIONS:"experienceWowPageViewPageSections",EXPERIENCE_WOW_PAGE_CHECK_iGOT_STATISTICS:"experienceWowPageCheckiGOTStatistics",EXPERIENCE_WOW_PAGE_CHECK_iGOT_ME_STATISTICS:"experienceWowPageCheckiGOTMeStatistics",EXPERIENCE_WOW_PAGE_PROVIDE_SUGGESTIONS:"experienceWowPageProvideSuggestions",EXPERIENCE_WOW_PAGE_SEND_MAIL_FOR_BECOMING_COCREATOR:"experienceWowPageSendMailForBecomingCocreator",iGOT_RADIO:"iGOTRadio",iGOT_RADIO_VIEW_PODCASTS_STRIP:"iGOTRadioViewPodcastsStrip",iGOT_TV:"iGOTTv",iGOT_TV_VIEW_JUST_FOR_YOU_SECTION:"iGOTTvViewJustForYouSection",iGOT_TV_VIEW_MUST_VIEW_STRIP:"iGOTTvViewMustViewStrip",iGOT_TV_VIEW_LATEST_STRIP:"iGOTTvViewLatestStrip",iGOT_TV_VIEW_CHANNELS_SECTION:"iGOTTvViewChannelsSection",iGOT_TV_VIEW_CHANNELS_STRIP:"iGOTTvViewChannelsStrip",iGOT_TV_VIEW_BROADCAST_SECTION:"iGOTTvViewBroadcastSection",iGOT_TV_VIEW_PREVIOUS_EVENTS_LIST:"iGOTTvViewPreviousEventsList",iGOT_TV_VIEW_LIVE_EVENTS_LIST:"iGOTTvViewLiveEventsList",iGOT_TV_VIEW_UPCOMING_EVENTS_LIST:"iGOTTvViewUpcomingEventsList",LEADERSHIP_MESSAGES:"leadershipMessages",LEADERSHIP_MESSAGES_VIEW_LEADERSHIP_VIDEO:"leadershipMessagesViewLeadershipVideo",LIVING_LABS:"livingLabs",LIVING_LABS_VIEW_LIVING_LABS_STRIP:"livingLabsViewLivingLabsStrip",AMERICAS_CONFLUENECE:"americasConfluence",AMERICAS_CONFLUENECE_VIEW_CONFLUENCE_VIDEOS_STRIPS:"americasConfluenceViewConfluenceVideosStrips",APAC_CONFLUENECE:"apacConfluence",APAC_CONFLUENECE_VIEW_CONFLUENCE_VIDEOS_STRIPS:"apacConfluenceViewConfluenceVideosStrips",EMEA_CONFLUENECE:"emeaConfluence",EMEA_CONFLUENECE_VIEW_CONFLUENCE_VIDEOS_STRIPS:"emeaConfluenceViewConfluenceVideosStrips",CONNECT:"connect",CONNECT_VIEW_CONTENT_STRIP:"connectViewContentStrip",LIVE_EVENTS:"liveEvents",LIVE_EVENTS_WATCH_LIVE:"liveEventsWatchLive",LIVE_EVENTS_WATCH_CLASSROOM_BROADCAST:"liveEventsWatchClassroomBroadcast",LIVE_EVENTS_WATCH_THREE_SIXTY_VIDEO:"liveEventsWatchThreeSixtyVideo",LIVE_EVENTS_WATCH_FAMILY_MATTERS_VIDEO:"liveEventsWatchFamilyMattersVideo",LIVE_EVENTS_WATCH_CONFLUENCE_EVENTS:"liveEventsWatchConfluenceEvents",DIGITAL_ASSISTANT_TOUR:"digitalAssistantTour",DIGITAL_ASSISTANT_TOUR_WATCH_TOUR_VIDEO:"digitalAssistantTourWatchTourVideo",QUICK_TOUR:"quickTour",QUICK_TOUR_WATCH_TOUR_VIDEO:"quickTourWatchTourVideo",LOGOUT:"logout",LOGOUT_LOGS_OUT_FROM_APPLICATION:"logoutLogsOutFromApplication",MY_ANALYTICS:"myAnalytics",MY_ANALYTICS_APPLY_QUARTER_FILTERS:"myAnalyticsApplyQuarterFilters",MY_ANALYTICS_VIEW_MY_LEARNING_SECTION:"myAnalyticsViewMyLearningSection",MY_ANALYTICS_VIEW_MY_ASSESSMENT_SECTION:"myAnalyticsViewMyAssessmentSection",MY_ANALYTICS_VIEW_MY_REFACTORING_SECTION:"myAnalyticsViewMyRefactoringSection",MY_ANALYTICS_VIEW_MY_PLANS_SECTION:"myAnalyticsViewMyPlansSection",MY_ANALYTICS_VIEW_MY_COLLABORATORS_SECTION:"myAnalyticsViewMyCollaboratorsSection",MY_ANALYTICS_VIEW_MY_FEATURES_USAGE_SECTION:"myAnalyticsViewTopCoursesSection",MY_ANALYTICS_VIEW_MY_LEARNING_MINUTES:"myAnalyticsViewMyLearningMinutes",MY_ANALYTICS_VIEW_MY_LEARNING_POINTS:"myAnalyticsViewMyLearningPoints",MY_ANALYTICS_VIEW_BADGES:"myAnalyticsViewBadges",MY_ANALYTICS_VIEW_TIME_SPENT_BY_USER:"myAnalyticsViewTimeSpentByUser",MY_ANALYTICS_VIEW_AVERAGE_MINUTES_ON_iGOT:"myAnalyticsViewAverageMinutesOniGOT",MY_ANALYTICS_VIEW_AVERAGE_MINUTES_ACROSS_DIMENSIONS:"myAnalyticsViewAverageMinutesAcrossDimensions",MY_ANALYTICS_VIEW_PERCENTAGE_TIME_SPENT_BY_USER:"myAnalyticsViewPercentageTimeSpentByUser",MY_ANALYTICS_VIEW_PERCENTAGE_TIME_SPENT_BY_INFOSCIONS:"myAnalyticsViewPercentageTimeSpentByInfoscions",MY_ANALYTICS_VIEW_PERCENTAGE_TIME_SPENT_BY_PEERS:"myAnalyticsViewPercentageTimeSpentByPeers",MY_ANALYTICS_VIEW_TOTAL_ASSESSMENTS:"myAnalyticsViewTotalAssessments",MY_ANALYTICS_VIEW_PENDING_ASSESSMENTS:"myAnalyticsViewPendingAssessments",MY_ANALYTICS_VIEW_CERTIFICATIONS:"myAnalyticsViewCertifications",MY_ANALYTICS_VIEW_ASSESSMENTS:"myAnalyticsViewAssessments",MY_ANALYTICS_VIEW_RECENT_ASSESSMENTS:"myAnalyticsViewRecentAssessments",MY_ANALYTICS_VIEW_ASSESSMENT_DETAILS:"myAnalyticsViewAssessmentDetails",MY_ANALYTICS_VIEW_RECENT_ASSESSMENT:"myAnalyticsViewRecentAssessment",MY_ANALYTICS_VIEW_MY_REFACTORING_PROGRAM:"myAnalyticsViewMyRefactoringProgram",MY_ANALYTICS_VIEW_NAVIGATOR:"myAnalyticsViewNavigator",MY_ANALYTICS_VIEW_AI_AND_AUTOMATION_PROGRESS:"myAnalyticsViewAiAndAutomationProcess",MY_ANALYTICS_VIEW_MY_GOALS:"myAnalyticsViewMyGoals",MY_ANALYTICS_VIEW_PLAYLIST:"myAnalyticsViewPlaylist",MY_ANALYTICS_VIEW_GOALS_SHARED_WITH_USER:"myAnalyticsViewGoalsSharedWithUser",MY_ANALYTICS_VIEW_DETAILED_COURSES_PROGRESS:"myAnalyticsViewDetailedCoursesProgress",MY_ANALYTICS_VIEW_GOALS_SHARED_BY_USER:"myAnalyticsViewGoalsSharedByUser",MY_ANALYTICS_VIEW_ARTIFACTS_SHARED_BY_USER:"myAnalyticsViewArtifactsSharedByUser",MY_ANALYTICS_VIEW_EXPERTS_USER_CONTACTED:"myAnalyticsViewExpertsUserContacted",MY_ANALYTICS_VIEW_DETAILED_GOALS_SHARING:"myAnalyticsViewDetailedGoalsSharing",MY_ANALYTICS_VIEW_PLAYGROUNDS:"myAnalyticsViewPlaygrounds",MY_ANALYTICS_VIEW_LIKES:"myAnalyticsViewLikes",MY_ANALYTICS_VIEW_SEARCH:"myAnalyticsViewSearch",MY_ANALYTICS_VIEW_iGOT_TV:"myAnalyticsViewiGOTTv",MY_ANALYTICS_VIEW_iGOT_RADIO:"myAnalyticsViewiGOTRadio",MY_ANALYTICS_VIEW_iGOT_LIVE:"myAnalyticsViewiGOTLive",MY_ANALYTICS_VIEW_TOP_COURSES_BY_USER_UNIT:"myAnalyticsViewTopCoursesByUserUnit",MY_ANALYTICS_VIEW_TOP_COURSES_BY_USER_PEERS:"myAnalyticsViewTopCoursesbyUserPeers",LEARNING_ANALYTICS:"learningAnalytics",LEARNING_ANALYTICS_SEARCH_FOR_PARTICIPANTS_AND_EDUCATORS:"learningAnalyticsSearchForParticipantsAndEducators",LEARNING_ANALYTICS_UNIT_FILTER:"learningAnalyticsUnitFilter",LEARNING_ANALYTICS_PU_FILTER:"learningAnalyticsPuFilter",LEARNING_ANALYTICS_DU_FILTER:"learningAnalyticsDuFilter",LEARNING_ANALYTICS_ACCOUNT_FILTER:"learningAnalyticsAccountFilter",LEARNING_ANALYTICS_LOCATION_FILTER:"learningAnalyticsLocationFilter",LEARNING_ANALYTICS_QUARTER_FILTER:"learningAnalyticsQuarterFilter",LEARNING_ANALYTICS_COMPLETED_FILTER:"learningAnalyticsCompletedFilter",LEARNING_ANALYTICS_ETA_FILTER:"learningAnalyticsEtaFilter",LEARNING_ANALYTICS_UNIQUE_USERS_DATA:"learningAnalyticsUniqueUsersData",LEARNING_ANALYTICS_USERS_BY_ONSITE_OFFSHORE:"learningAnalyticsUsersByOnsiteOffshore",LEARNING_ANALYTICS_USERS_BY_DEVICE_TYPE:"learningAnalyticsUsersByDeviceType",LEARNING_ANALYTICS_USERS_BY_UNIT:"learningAnalyticsUsersByUnit",LEARNING_ANALYTICS_USERS_BY_TRACK:"learningAnalyticsUsersByTrack",LEARNING_ANALYTICS_USERS_BY_PU_SALES:"learningAnalyticsUsersByPuSales",LEARNING_ANALYTICS_USERS_BY_CU_TYPE:"learningAnalyticsUsersByCuType",LEARNING_ANALYTICS_USERS_BY_SKILL:"learningAnalyticsUsersBySkill",LEARNING_ANALYTICS_USERS_BY_TOPICS:"learningAnalyticsUsersByTopics",LEARNING_ANALYTICS_USERS_BY_HORIZON:"learningAnalyticsUsersByHorizon",LEARNING_ANALYTICS_USERS_GROWTH:"learningAnalyticsUsersGrowth",LEARNING_ANALYTICS_USERS_DETAILS:"learningAnalyticsUsersDetails",LEARNING_ANALYTICS_VIEW_ALL_TRAININGS_SECTION:"learningAnalyticsViewAllTrainingsSection",LEARNING_ANALYTICS_TALENT_GRID_FILTER:"learningAnalyticstalentGridFilter",LEARNING_ANALYTICS_STACK_FILTER:"learningAnalyticsStackFilter",LEARNING_ANALYTICS_UNIQUE_PARTICIPANTS:"learningAnalyticsUniqueParticipants",LEARNING_ANALYTICS_OVERALL_PARTICIPANTS:"learningAnalyticsOverallParticipants",LEARNING_ANALYTICS_AVERAGE_DAYS:"learningAnalyticsAverageDays",LEARNING_ANALYTICS_PARTICIPANTS_BY_ONSITE_ONSHORE:"learningAnalyticsParticipantsByOnsiteOnshore",LEARNING_ANALYTICS_PARTICIPANTS_BY_UNIT:"learningAnalyticsParticipantsByUnit",LEARNING_ANALYTICS_PARTICIPANTS_BY_PU:"learningAnalyticsParticipantsByPu",LEARNING_ANALYTICS_PARTICIPANTS_BY_SKILL_TYPE:"learningAnalyticsParticipantsBySkillType",LEARNING_ANALYTICS_PARTICIPANTS_BY_SKILL:"learningAnalyticsParticipantsBySkill",LEARNING_ANALYTICS_PARTICIPANTS_BY_STACKS:"learningAnalyticsParticipantsByStacks",LEARNING_ANALYTICS_PARTICIPANTS_BY_NEW_SERVICES:"learningAnalyticsParticipantsByNewServices",LEARNING_ANALYTICS_PARTICIPANTS_BY_LEARNING_TRACK:"learningAnalyticsParticipantsByLearningTrack",LEARNING_ANALYTICS_PARTICIPANTS_BY_OFFERING_MODE:"learningAnalyticsParticipantsByOfferingMode",LEARNING_ANALYTICS_PARTICIPANTS_BY_TOPICS:"learningAnalyticsParticipantsByTopics",LEARNING_ANALYTICS_PARTICIPANTS_BY_ABCD:"learningAnalyticsParticipantsByAbcd",LEARNING_ANALYTICS_PARTICIPANTS_DETAILS:"learningAnalyticsParticipantsDetails",LEARNING_ANALYTICS_SCHEDULES_SECTION:"learningAnalyticsSchedulesSection",LEARNING_ANALYTICS_SCHEDULE_DATE_FILTER:"learningAnalyticsScheduleDateFilter",LEARNING_ANALYTICS_PARTICIPANTS:"learningAnalyticsParticipants",LEARNING_ANALYTICS_EDUCATORS:"learningAnalyticsEducators",LEARNING_ANALYTICS_COURSES:"learningAnalyticsCourses",LEARNING_ANALYTICS_SCHEDULES:"learningAnalyticsSchedules",LEARNING_ANALYTICS_VIEW_TRAINING_SCHEDULES_SECTION:"learningAnalyticsTrainingSchedulesSection",LEARNING_ANALYTICS_COURSES_BY_OFFERING_MODE:"learningAnalyticsCoursesByOfferingMode",LEARNING_ANALYTICS_COURSES_BY_TRACK:"learningAnalyticsCoursesByTrack",LEARNING_ANALYTICS_COURSES_BY_TOPIC:"learningAnalyticsCoursesByTopic",LEARNING_ANALYTICS_COURSES_BY_ABCD:"learningAnalyticsCoursesByAbcd",LEARNING_ANALYTICS_COURSES_BY_SKILL:"learningAnalyticsCoursesBySkill",APPS_PAGE:"appsPage",APPS_PAGE_VIEW_DIFFERENT_APPS_ICONS:"appsPageViewDifferentAppsIcons",COURSE_CARD:"courseCard",COURSE_CARD_LIKE_THE_COURSE_BUTTON:"courseCardLikeTheCourseButton",COURSE_CARD_SHARE_THE_COURSE_BUTTON:"courseCardShareTheCourseButton",COURSE_CARD_ADD_COURSE_TO_GOALS_BUTTON:"courseCardAddCourseToGoalsButton",COURSE_CARD_ADD_COURSE_TO_PLAYLIST_BUTTON:"courseCardAddCourseToPlaylistButton",COURSE_CARD_VIEW_MORE_OPTIONS_BUTTON:"courseCardViewMoreOptionsButton",COURSE_CARD_START_COURSE_OPTION:"courseCardStartCourseOption",COURSE_CARD_VIEW_TOC_OPTION:"courseCardViewTocOption",COURSE_CARD_COHORTS_OPTION:"courseCardCohortsOption",COURSE_CARD_ANALYTICS_OPTION:"courseCardAnalyticsOption",SEARCH_RESULTS_PAGE:"searchResultsPage",SEARCH_RESULTS_PAGE_VIEW_LEARNING_SECTION:"searchResultsPageViewLearningSection",SEARCH_RESULTS_PAGE_VIEW_CERTIFICATIONS_SECTION:"searchResultsPageViewCertificationsSection",SEARCH_RESULTS_PAGE_VIEW_KNOWLEDGE_SECTION:"searchResultsPageViewKnowledgeSection",SEARCH_RESULTS_PAGE_VIEW_PROJECTS_SECTION:"searchResultsPageViewProjectsSection",SEARCH_RESULTS_PAGE_VIEW_SOCIAL_SECTION:"searchResultsPageViewSocialSection",SEARCH_RESULTS_PAGE_CATALOG_FILTER:"searchResultsPageCatalogFilter",SEARCH_RESULTS_PAGE_DURATION_FILTER:"searchResultsPageDurationFilter",SEARCH_RESULTS_PAGE_CONTENT_TYPE_FILTER:"searchResultsPageContentTypeFilter",SEARCH_RESULTS_PAGE_LEVEL_FILTER:"searchResultsPageLevelFilter",SEARCH_RESULTS_PAGE_SOURCE_FILTER:"searchResultsPageSourceFilter",SEARCH_RESULTS_PAGE_UNIT_FILTER:"searchResultsPageUnitFilter",SEARCH_RESULTS_PAGE_TYPE_FILTER:"searchResultsPageTypeFilter",SEARCH_RESULTS_PAGE_PUBLISHED_DATE_FILTER:"searchResultsPagePublishedDateFilter",SEARCH_RESULTS_PAGE_CATEGORY_FILTER:"searchResultsPageCategoryFilter",SEARCH_RESULTS_PAGE_ITEM_TYPE_FILTER:"searchResultsPageItemTypeFilter",SEARCH_RESULTS_PAGE_TOPICS_FILTER:"searchResultsPageTopicsFilter",SEARCH_RESULTS_PAGE_AUTHORS_FILTER:"searchResultsPageAuthorsFilter",SEARCH_RESULTS_PAGE_TAGS_FILTER:"searchResultsPageTagsFilter",SEARCH_RESULTS_PAGE_GROUPS_FILTER:"searchResultsPageGroupsFilter",SEARCH_RESULTS_PAGE_VIEW_RESULT_CARDS:"searchResultsPageViewResultCards",SEARCH_RESULTS_PAGE_VIEW_RELATED_CONCEPTS:"searchResultsPageViewRelatedConcepts",LAB_42_INTERVIEW:"interview",LAB_42_DIALOGUE:"dialogue",LAB_42_STRATEGY_MAP:"strategyMap",LAB_42_VIRTUAL_CLASSROOM:"virtualClassroom",LAB_42_PROJECT_STACK:"projectStack",LAB_42_LIVE_TRANSCRIBE:"liveTranscribe",LAB_42_EPOCH:"epoch",LEARNING_ASSISTANT_MAQ:"learning-assistant-maq",LEARNING_ASSISTANT_ILIPDP:"learning-assistant-ilipdp"},e.EInstance={INSTANCE:"RootOrg"},e.EventService=J,e.ExploreDetailResolve=$e,e.HorizontalScrollerModule=q,e.HorizontalScrollerV2Module=Z,e.ImageCropComponent=R,e.ImageCropModule=O,e.ImageResponsiveModule=x,e.InViewPortModule=k,e.LoggerService=X,e.LogoutComponent=re,e.LogoutModule=ae,e.MarketingOfferingResolve=Xe,e.ModuleNameResolve=at,e.MultilingualTranslationsService=ft,e.NPSGridService=_t,e.NavigationModule=Y,e.OrderByPipe=we,e.PageNameResolve=rt,e.PageResolve=tt,e.PermissionModule=K,e.PipeCertificateImageURL=je,e.PipeCertificateImageURLModule=Ke,e.PipeConciseDateRangeModule=ce,e.PipeConciseDateRangePipe=se,e.PipeCountTransformModule=ue,e.PipeCountTransformPipe=le,e.PipeCourseNameModule=Je,e.PipeCourseNamePipe=Qe,e.PipeDateConcatModule=Ee,e.PipeDateConcatPipe=pe,e.PipeDurationTransformModule=_e,e.PipeDurationTransformPipe=de,e.PipeEmailModule=me,e.PipeEmailPipe=he,e.PipeFilterModule=Te,e.PipeFilterPipe=Ae,e.PipeFilterSearchModule=ve,e.PipeFilterSearchPipe=Oe,e.PipeFilterV2Module=Ce,e.PipeFilterV2Pipe=Ne,e.PipeFilterV3Module=Re,e.PipeFilterV3Pipe=ye,e.PipeHtmlTagRemovalModule=ge,e.PipeHtmlTagRemovalPipe=Se,e.PipeLimitToModule=Me,e.PipeLimitToPipe=Ge,e.PipeListFilterModule=Le,e.PipeListFilterPipe=Pe,e.PipeNameTransformModule=We,e.PipeNameTransformPipe=Ue,e.PipeNicRelativeModule=qe,e.PipeNicRelativePipe=ze,e.PipeOrderByModule=Ve,e.PipeOrdinalModule=fe,e.PipeOrdinalPipe=Ie,e.PipePartialContentModule=xe,e.PipePartialContentPipe=Fe,e.PipePublicURL=He,e.PipePublicURLModule=Ye,e.PipeRelativeTimeModule=De,e.PipeRelativeTimePipe=be,e.PipeSafeSanitizerModule=ke,e.PipeSafeSanitizerPipe=Be,e.SubapplicationRespondService=gt,e.TelemetryService=St,e.UserPreferenceService=Tt,e.UtilityService=Q,e.ValueService=y,e.WidgetContentService=lt,e.getStringifiedQueryParams=function(e){return Object.entries(e).filter((function(e){return e[1]})).map((function(e){return e[0]+"="+e[1]})).join("&")},e.ɵa=P,e.ɵb=b,e.ɵc=F,e.ɵd=B,e.ɵe=H,e.ɵf=j,e.ɵg=z,e.ɵh=$,Object.defineProperty(e,"__esModule",{value:!0})}));
1
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("@angular/material/dialog"),require("@angular/material/snack-bar"),require("rxjs"),require("@angular/cdk/layout"),require("rxjs/operators"),require("@angular/common"),require("@angular/material"),require("ngx-image-cropper"),require("@angular/cdk/platform"),require("@angular/common/http"),require("@angular/router"),require("lodash"),require("moment"),require("keycloak-angular"),require("@ngx-translate/core"),require("@angular/platform-browser")):"function"==typeof define&&define.amd?define("@sunbird-cb/utils-v2",["exports","@angular/core","@angular/material/dialog","@angular/material/snack-bar","rxjs","@angular/cdk/layout","rxjs/operators","@angular/common","@angular/material","ngx-image-cropper","@angular/cdk/platform","@angular/common/http","@angular/router","lodash","moment","keycloak-angular","@ngx-translate/core","@angular/platform-browser"],t):t(((e=e||self)["sunbird-cb"]=e["sunbird-cb"]||{},e["sunbird-cb"]["utils-v2"]={}),e.ng.core,e.ng.material.dialog,e.ng.material["snack-bar"],e.rxjs,e.ng.cdk.layout,e.rxjs.operators,e.ng.common,e.ng.material,e.ngxImageCropper,e.ng.cdk.platform,e.ng.common.http,e.ng.router,e._,e.moment,e["keycloak-angular"],e.core$1,e.ng.platformBrowser)}(this,(function(e,t,n,i,o,r,a,s,c,l,u,p,E,d,_,S,g,A){"use strict";var T="default"in d?d.default:d;_=_&&_.hasOwnProperty("default")?_.default:_;var I=function(){return(I=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function f(e,t,n,i){return new(n||(n=Promise))((function(o,r){function a(e){try{c(i.next(e))}catch(e){r(e)}}function s(e){try{c(i.throw(e))}catch(e){r(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((i=i.apply(e,t||[])).next())}))}function h(e,t){var n,i,o,r,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function s(r){return function(s){return function(r){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(o=2&r[0]?i.return:r[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,r[1])).done)return o;switch(i=0,o&&(r=[2&r[0],o.value]),r[0]){case 0:case 1:o=r;break;case 4:return a.label++,{value:r[1],done:!1};case 5:a.label++,i=r[1],r=[0];continue;case 7:r=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==r[0]&&2!==r[0])){a=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]<o[3])){a.label=r[1];break}if(6===r[0]&&a.label<o[1]){a.label=o[1],o=r;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(r);break}o[2]&&a.ops.pop(),a.trys.pop();continue}r=t.call(e,a)}catch(e){r=[6,e],i=0}finally{n=o=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}([r,s])}}}function m(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],i=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function N(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,o,r=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(i=r.next()).done;)a.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return a}var C=function(){function e(){this.appSetup=!0,this.userUrl="",this.baseUrl="assets/configurations",this.sitePath="assets/configurations",this.hostPath=window.location.host.replace(":","_"),this.userRoles=null,this.userGroups=null,this.restrictedFeatures=null,this.restrictedWidgets=null,this.instanceConfig=null,this.appsConfig=null,this.rootOrg=null,this.org=null,this.activeOrg="",this.isProduction=!1,this.hasAcceptedTnc=!1,this.profileDetailsStatus=!1,this.isActive=!0,this.userPreference=null,this.userProfile=null,this.userProfileV2=null,this.nodebbUserProfile=null,this.isAuthenticated=!1,this.isNewUser=!1,this.pinnedApps=new o.BehaviorSubject(new Set),this.prefChangeNotifier=new o.ReplaySubject(1),this.tourGuideNotifier=new o.ReplaySubject,this.authChangeNotifier=new o.ReplaySubject(1),this.updateProfile=new o.BehaviorSubject(!1),this.updateProfileObservable=this.updateProfile.asObservable(),this.updateTourGuide=new o.BehaviorSubject(!0),this.updateTourGuideObservable=this.updateTourGuide.asObservable(),this.updatePlatformRating=new o.BehaviorSubject({bottom:"120px"}),this.updatePlatformRatingObservable$=this.updatePlatformRating.asObservable(),this.languageTranslationFlag=new o.Subject,this.activeThemeObject=null,this.activeFontObject=null,this.isDarkMode=!1,this.isIntranetAllowed=!1,this.isRTL=!1,this.activeLocale=null,this.activeLocaleGroup="",this.completedActivity=null,this.completedTour=!1,this.profileSettings=["profilePicture","learningTime","learningPoints"],this.primaryNavBar={color:"primary"},this.pageNavBar={color:"primary"},this.primaryNavBarConfig=null,this.welcomeTabs=null,this.compentency=null,this.cstoken="",this.changeNavBarFullView=new o.Subject,this.openExploreMenuForMWeb=new o.Subject}return e.prototype.updateGlobalProfile=function(e){this.updateProfile.next(e)},e.prototype.updateTourGuideMethod=function(e){this.updateTourGuide.next(e)},e.prototype.updatePlatformRatingMethod=function(e){this.updatePlatformRating.next(e)},e.decorators=[{type:t.Injectable,args:[{providedIn:"root"}]}],e.ctorParameters=function(){return[]},e.ngInjectableDef=t.ɵɵdefineInjectable({factory:function(){return new e},token:e,providedIn:"root"}),e}();var y=function(){function e(e){this.breakpointObserver=e,this.isXSmall$=this.breakpointObserver.observe([r.Breakpoints.XSmall]).pipe(a.map((function(e){return e.matches}))),this.isLtMedium$=this.breakpointObserver.observe([r.Breakpoints.XSmall,r.Breakpoints.Small]).pipe(a.map((function(e){return e.matches})))}return e.decorators=[{type:t.Injectable,args:[{providedIn:"root"}]}],e.ctorParameters=function(){return[{type:r.BreakpointObserver}]},e.ngInjectableDef=t.ɵɵdefineInjectable({factory:function(){return new e(t.ɵɵinject(r.BreakpointObserver))},token:e,providedIn:"root"}),e}();var R=function(){function e(e,n,i,o,r){this.dialogRef=e,this.configSvc=n,this.snackBar=i,this.valueSvc=o,this.data=new t.EventEmitter,this.isRoundCrop=!1,this.isNotOfRequiredSize=!1,this.imageFileBase64="",this.width="",this.height="",this.imageDimensions="",this.croppedHeight="",this.croppedWidth="",this.cropperReadyToStart=!1,this.fileName="",this.canvasRotation=0,this.transform={},this.resetValue=!1,this.isXSmall=!1,this.isThumbnail=!0,this.isRoundCrop=r.isRoundCrop,r.imageFile&&(this.imageFile=r.imageFile),r.imageFileName&&(this.fileName=r.imageFileName),r.isRoundCrop||(r.height&&(this.opHeight=r.height),r.width&&(this.opWidth=r.width))}return e.prototype.ngOnInit=function(){var e=this;this.thumbnailSizeDetection(),this.valueSvc.isXSmall$.subscribe((function(t){e.isXSmall=t,e.isXSmall?e.dialogRef.updateSize("90%"):e.dialogRef.updateSize("70%")}))},e.prototype.changeToDefaultImg=function(e){e.target.src=this.configSvc.instanceConfig?this.configSvc.instanceConfig.logos.defaultContent:""},e.prototype.imageCropped=function(e){this.imageFileBase64=e.base64,this.cropimageFile=this.base64ImageToBlob(this.imageFileBase64),this.croppedHeight=e.height,this.croppedWidth=e.width},e.prototype.openSnackBar=function(e){this.snackBar.open(e,"X",{duration:2e3})},e.prototype.continueToImageCrop=function(){this.isNotOfRequiredSize=!1},e.prototype.thumbnailSizeDetection=function(){var e=this,t=new FileReader;t.readAsDataURL(this.imageFile),t.onload=function(){var n=new Image;n.src=t.result,n.onload=function(){if(e.width=n.width,e.height=n.height,!e.isRoundCrop){if(e.height===e.opHeight&&e.width===e.opWidth)return void e.openSnackBar("Image is of the required dimensions of the thumbnail, croping is not available!");(e.height<e.opHeight||e.width<e.opWidth)&&(e.isNotOfRequiredSize=!0)}}}},e.prototype.base64ImageToBlob=function(e){for(var t=e.indexOf(";base64,"),n=e.substr(t+8),i=atob(n),o=new ArrayBuffer(i.length),r=new Uint8Array(o),a=0;a<i.length;a+=1)r[a]=i.charCodeAt(a);var s=new Blob([r],{type:"image/png"}),c=s;return c.lastModifiedDate=new Date,c.name=this.fileName,new File([s],this.fileName,{type:"image/jpeg"})},e.prototype.flipAfterRotate=function(){var e=this.transform.flipH,t=this.transform.flipV;this.transform=I({},this.transform,{flipH:t,flipV:e})},e.prototype.rotateLeft=function(){this.canvasRotation=this.canvasRotation-1,this.flipAfterRotate()},e.prototype.rotateRight=function(){this.canvasRotation=this.canvasRotation+1,this.flipAfterRotate()},e.prototype.flipHorizontal=function(){this.transform=I({},this.transform,{flipH:!this.transform.flipH})},e.prototype.zoom=function(e){this.resetValue=!1,this.transform=I({},this.transform,{scale:e.value})},e.prototype.croppingImage=function(){this.dialogRef.close(this.cropimageFile)},e.prototype.reset=function(){this.resetValue=!0,this.canvasRotation=0,this.transform={}},e.prototype.close=function(){this.dialogRef.close()},e.decorators=[{type:t.Component,args:[{selector:"ws-utils-image-crop",template:'<ng-container *ngIf="isNotOfRequiredSize">\r\n <mat-dialog-content>\r\n <div class="flex pl-4">\r\n <mat-icon class="ws-mat-warn-text largeicon padding-remove-left">warning</mat-icon>\r\n <h2 class="text-xl" i18n>This image will appear stretched as it is not in proper dimension. Do you want to\r\n continue?</h2>\r\n </div>\r\n <div class="text-sm pl-4">\r\n <div i18n class="pb-2">Note:</div>\r\n <div i18n class="pb-2">Required dimensions : 265 * 150</div>\r\n <div class="flex flex-wrap items-baseline">\r\n <div>Current dimensions:</div>\r\n <div class="pl-1">{{ width }} * {{ height }} px</div>\r\n </div>\r\n </div>\r\n </mat-dialog-content>\r\n <mat-dialog-actions class="flex flex-end">\r\n <div class="flex flex-end">\r\n <button mat-raised-button autofocus type="button" (click)=" close()">\r\n <span i18n>No</span>\r\n </button>\r\n <button mat-raised-button type="button" class="text-white ws-mat-primary-background text-white"\r\n (click)=" continueToImageCrop()">\r\n <span class="text-white" i18n>Yes</span>\r\n </button>\r\n </div>\r\n </mat-dialog-actions>\r\n</ng-container>\r\n<ng-container *ngIf="isRoundCrop">\r\n \x3c!-- For Profile image - start --\x3e\r\n <div class="flex flex-between">\r\n <mat-icon class=" ws-mat-primary-text margin-bottom-xxs">crop</mat-icon>\r\n <p mat-dialog-title class="text-3xl font-weight-bold ws-mat-primary-text" i18n>Profile Photo</p>\r\n <mat-icon class="float-right flex-end cursor-pointer" (click)="close()" i18n>close</mat-icon>\r\n\r\n </div>\r\n <mat-dialog-content class="p-0 overflow-hidden " *ngIf="isRoundCrop">\r\n <div class="flex flex-between">\r\n <div class="profile-slides">\r\n <image-cropper #imageCropper class="image-cropper-profile" [imageFile]="imageFile" [maintainAspectRatio]="true"\r\n [aspectRatio]="250 / 250" [resizeToWidth]="100" [roundCropper]="isRoundCrop" [resizeToHeight]="120"\r\n [cropperMinWidth]="500" [format]="\'jpeg\'" [transform]="transform" [canvasRotation]="canvasRotation"\r\n (imageCropped)="imageCropped($event)">\r\n </image-cropper>\r\n </div>\r\n </div>\r\n <ul class="toolbar cf">\r\n <li><button mat-raised-button class="mat-button" (click)="rotateLeft()">\r\n <mat-icon class="text-white large-icon ws-mat-primary-text">rotate_left</mat-icon>\r\n <span class="button-text" i18n>Rotate Left</span>\r\n </button>\r\n </li>\r\n <li><button mat-raised-button class="mat-button" (click)="rotateRight()">\r\n <mat-icon class="text-white medium-icon ws-mat-primary-text">rotate_right</mat-icon>\r\n <span class="button-text" i18n>Rotate Right</span>\r\n </button></li>\r\n <li><button mat-raised-button class="mat-button" (click)="flipHorizontal()">\r\n <mat-icon class="text-white medium-icon ws-mat-primary-text">flip</mat-icon>\r\n <span class="button-text" i18n>Flip Horizontal</span>\r\n </button></li>\r\n <li><a href="#"><i class="icon-cloud"></i></a></li>\r\n </ul>\r\n </mat-dialog-content>\r\n</ng-container> \x3c!-- For Profile image - end --\x3e\r\n<ng-container>\r\n <ng-container *ngIf="!isNotOfRequiredSize && !isRoundCrop ">\r\n <div class="flex flex-between">\r\n <mat-icon class=" ws-mat-primary-text margin-bottom-xxs">crop</mat-icon>\r\n <p mat-dialog-title class="text-3xl title-margin font-weight-bold ws-mat-primary-text" i18n>Edit Image</p>\r\n <mat-icon class="float-right flex-end cursor-pointer" (click)="close()" i18n>\r\n close</mat-icon>\r\n </div>\r\n <mat-dialog-content *ngIf="!isRoundCrop">\r\n <div class="flex flex-between">\r\n <div class="Slides">\r\n <image-cropper #imageCropper class="image-cropper padding-remove" [imageFile]="imageFile"\r\n [maintainAspectRatio]="true" [aspectRatio]="opWidth / opHeight" [resizeToWidth]="opWidth"\r\n [roundCropper]="isRoundCrop" [resizeToHeight]="opHeight" [cropperMinWidth]="opWidth" [format]="\'jpeg\'"\r\n [transform]="transform" [canvasRotation]="canvasRotation" (imageCropped)="imageCropped($event)">\r\n </image-cropper>\r\n <div class="flex flex-between">\r\n <span class="my-3" i18n>Zoom</span>\r\n <mat-slider class="w-full mx-3" color="primary" (input)="zoom($event)" min="1" max="2.5" step="0.1">\r\n </mat-slider>\r\n </div>\r\n <div class="edit-feature-window " *ngIf="!isXSmall">\r\n <div class="flex flex-between">\r\n <button mat-raised-button class="mat-button" (click)="rotateLeft()">\r\n <mat-icon class="text-white large-icon ws-mat-primary-text">rotate_left</mat-icon>\r\n <span class="button-text" i18n>Rotate Left</span>\r\n </button>\r\n <button mat-raised-button class="mat-button" (click)="rotateRight()">\r\n <mat-icon class="text-white medium-icon ws-mat-primary-text">rotate_right</mat-icon>\r\n <span class="button-text" i18n>Rotate Right</span>\r\n </button>\r\n <button mat-raised-button class="mat-button" (click)="flipHorizontal()">\r\n <mat-icon class="text-white medium-icon ws-mat-primary-text">flip</mat-icon>\r\n <span class="button-text" i18n>Flip Horizontal</span>\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n <mat-card class="ws-mat-primary-border-top-bolder mat-elevation-z6 margin-bottom-l button-text"\r\n *ngIf="isThumbnail">\r\n <img [src]="imageFileBase64" height="auto" width="100%" (error)="changeToDefaultImg($event)" />\r\n <div class="flex flex-middle justify-center margin-bottom-s padding-top-s">\r\n <mat-icon class="ws-mat-primary-text padding-right-s">image</mat-icon>\r\n <b class="mat-title margin-remove ws-mat-primary-text" i18n>Preview</b>\r\n </div>\r\n </mat-card>\r\n </div>\r\n <div class="edit-feature-window heightwidth">\r\n \x3c!-- <div class="flex flex-middle margin-left-l margin-bottom-s padding-top-s">\r\n <mat-icon class="ws-mat-primary-text padding-right-s">swap_horiz</mat-icon>\r\n <b class="mat-body margin-remove " i18n>Cropped dimensions: {{ opWidth }} * {{ opHeight }} px</b>\r\n </div> --\x3e\r\n <div class="flex flex-middle margin-left-l margin-bottom-s padding-top-s">\r\n <mat-icon class="ws-mat-primary-text padding-right-s">swap_horiz</mat-icon>\r\n <b class="mat-body margin-remove ">\r\n <span i18n>Cropped Width: </span>\r\n <span>{{ croppedWidth }}</span>\r\n <span i18n>px</span>\r\n </b>\r\n </div>\r\n <div class="flex flex-middle margin-left-l margin-bottom-s padding-top-s">\r\n <mat-icon class="ws-mat-primary-text padding-right-s">swap_vert</mat-icon>\r\n <b class="mat-body margin-remove ">\r\n <span i18n>Cropped Height: </span>\r\n <span>{{ croppedHeight }}</span>\r\n <span i18n>px</span>\r\n </b>\r\n </div>\r\n </div>\r\n </mat-dialog-content>\r\n </ng-container>\r\n <mat-dialog-actions align="end" *ngIf="!isNotOfRequiredSize ">\r\n <div class="flex flex-end margin-bottom-s">\r\n \x3c!-- <button mat-raised-button type="button" (click)=" reset()">\r\n <span i18n>Reset</span>\r\n </button> --\x3e\r\n <button mat-raised-button type="button" class="text-white ws-mat-primary-background text-white"\r\n (click)=" croppingImage()">\r\n <span class="text-white" i18n>Apply</span>\r\n </button>\r\n </div>\r\n </mat-dialog-actions>\r\n</ng-container>\r\n',styles:['.image-cropper{max-height:55vh}::ng-deep image-cropper .overlay{background-color:transparent!important}.Slides{display:block;height:auto;width:50%;position:relative;margin-left:auto;margin-right:auto;padding:0 1.25em}.cursor{cursor:pointer}.edit-feature-window{background:0 0;justify-content:center}mat-toolbar{background-color:#fff!important;z-index:1!important}mat-dialog-content{padding:1.25em!important}.heightwidth{display:flex}@media only screen and (max-width:1030px){.Slides{padding:0;width:100%}mat-dialog-content{padding:.25em .5em!important}.heightwidth{display:block}.mat-button{min-width:auto;padding:0 14px}.button-text{display:none}}.largeicon{font-size:2em;padding:.13em .5em}.tooltip{background:#b71c1c}.dimension-icon{position:relative;top:.35em;padding:0 0 0 .3em}.image-cropper-profile{max-height:55vh}.profile-slides{box-shadow:0 10px 20px rgba(0,0,0,.19),0 6px 6px rgba(0,0,0,.23);display:block;height:auto;width:50%;position:relative;margin-left:auto;margin-right:auto}@media only screen and (max-width:1030px){.profile-slides{padding:0;width:100%}}.toolbar{left:50%;margin:1em 0 0 -10em;position:absolute;width:auto;border-radius:4px}.cf:after,.cf:before{content:"";display:table}.cf:after{clear:both}.toolbar li{float:left;list-style:none}.toolbar a{border-left:0 solid rgba(79,123,170,.4);border-right:1px solid rgba(255,255,255,.3)}.toolbar li:first-child a{border-left:none;border-radius:4px 0 0 4px}.toolbar li:last-child a{border-right:none;border-radius:0 4px 4px 0}']}]}],e.ctorParameters=function(){return[{type:n.MatDialogRef},{type:C},{type:i.MatSnackBar},{type:y},{type:void 0,decorators:[{type:t.Inject,args:[n.MAT_DIALOG_DATA]}]}]},e.propDecorators={data:[{type:t.Output}]},e}();var v=function(){function e(){}return e.decorators=[{type:t.NgModule,args:[{declarations:[R],imports:[s.CommonModule,l.ImageCropperModule,c.MatIconModule,c.MatButtonModule,c.MatDialogModule,c.MatToolbarModule,c.MatDialogModule,c.MatCardModule,c.MatTooltipModule,c.MatSliderModule],exports:[R],entryComponents:[R]}]}],e}(),O={ScrollingUp:0,ScrollingDown:1,NoScrolling:2};O[O.ScrollingUp]="ScrollingUp",O[O.ScrollingDown]="ScrollingDown",O[O.NoScrolling]="NoScrolling";var P=function(){function e(){this.wsClassOnScrollDirChange=5e3,this.hasScrolledDown=!1,this.windowScrollSubscription=null,this.lastScreenTop=0,this.currState=O.NoScrolling}return Object.defineProperty(e.prototype,"isScrollingDown",{get:function(){return this.currState===O.ScrollingDown},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isScrollingUp",{get:function(){return this.currState===O.ScrollingUp},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isNotScrolling",{get:function(){return this.currState===O.NoScrolling},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){var e=this;this.windowScrollSubscription=o.fromEvent(window,"scroll").pipe(a.debounceTime(50)).subscribe((function(){clearTimeout(e.timeoutTimer);var t=window.scrollY;e.hasScrolledDown=t>56,e.setScrollState(e.lastScreenTop,t),e.lastScreenTop=t}))},e.prototype.ngAfterViewInit=function(){},e.prototype.ngOnDestroy=function(){this.windowScrollSubscription&&this.windowScrollSubscription.unsubscribe()},e.prototype.setScrollState=function(e,t){void 0===e&&(e=0),void 0===t&&(t=0),this.currState=e>t?O.ScrollingUp:e<t?O.ScrollingDown:O.NoScrolling,this.currState!==O.NoScrolling&&this.resetScrollingState()},e.prototype.resetScrollingState=function(){var e=this;this.timeoutTimer=setTimeout((function(){e.setScrollState()}),this.wsClassOnScrollDirChange||5e3)},e.decorators=[{type:t.Directive,args:[{selector:"[wsUtilsClassChangeOnScroll]"}]}],e.ctorParameters=function(){return[]},e.propDecorators={wsClassOnScrollDirChange:[{type:t.Input}],isScrollingDown:[{type:t.HostBinding,args:["class.scrolling-down"]}],isScrollingUp:[{type:t.HostBinding,args:["class.scrolling-up"]}],isNotScrolling:[{type:t.HostBinding,args:["class.scrolling-no"]}],hasScrolledDown:[{type:t.HostBinding,args:["class.scrolled-down"]}]},e}();var L=function(){function e(){}return e.decorators=[{type:t.NgModule,args:[{declarations:[P],imports:[s.CommonModule],exports:[P]}]}],e}(),b=function(){function e(){this.wsUtilsDefaultThumbnail="",this.src="",this.isSrcUpdateAttemptedForDefault=!1,this.srcUrl=""}return e.prototype.updateSrc=function(){this.isSrcUpdateAttemptedForDefault||(this.srcUrl=this.wsUtilsDefaultThumbnail,this.isSrcUpdateAttemptedForDefault=!0)},e.prototype.ngOnChanges=function(){this.src&&(this.srcUrl=this.src)},e.decorators=[{type:t.Directive,args:[{selector:"[wsUtilsDefaultThumbnail]"}]}],e.propDecorators={wsUtilsDefaultThumbnail:[{type:t.Input}],src:[{type:t.Input}],srcUrl:[{type:t.HostBinding,args:["src"]}],updateSrc:[{type:t.HostListener,args:["error"]}]},e}();var D=function(){function e(){}return e.decorators=[{type:t.NgModule,args:[{declarations:[b],imports:[s.CommonModule],exports:[b]}]}],e}();var w="(max-width: 450px)",V="(min-width: 450.001px) and (max-width: 768px)",G="(min-width: 768.001px) and (max-width: 1024px)",M="(min-width: 1024.001px) and (max-width: 1400px)",U="(min-width: 1400.001px) and (max-width: 1920px)",W="(min-width: 1920.001px)",F=function(){function e(e){var t=this;this.breakpointObserver=e,this.src=null,this.srcBindUrl="",this.currentSize="",this.breakpointSubscription=null,this.breakpointSubscription=this.breakpointObserver.observe([w,V,G,M,U,W]).pipe(a.distinctUntilChanged()).subscribe((function(e){e.breakpoints[W]?t.currentSize="xxl":e.breakpoints[U]?t.currentSize="xl":e.breakpoints[M]?t.currentSize="l":e.breakpoints[G]?t.currentSize="m":e.breakpoints[V]?t.currentSize="s":e.breakpoints[w]?t.currentSize="xs":t.currentSize="xl",t.setSrc()}))}return e.prototype.ngOnChanges=function(){this.src&&this.setSrc()},e.prototype.ngOnDestroy=function(){this.breakpointSubscription&&this.breakpointSubscription.unsubscribe()},e.prototype.setSrc=function(){this.currentSize&&this.src&&this.src[this.currentSize]&&(this.srcBindUrl=this.src[this.currentSize])},e.decorators=[{type:t.Directive,args:[{selector:"[wsUtilsImageResponsive]"}]}],e.ctorParameters=function(){return[{type:r.BreakpointObserver}]},e.propDecorators={src:[{type:t.Input}],srcBindUrl:[{type:t.HostBinding,args:["src"]}]},e}();var x=function(){function e(){}return e.decorators=[{type:t.NgModule,args:[{declarations:[F],imports:[s.CommonModule],exports:[F]}]}],e}(),k=function(){function e(e){this._el=e,this.inViewport=new t.EventEmitter}return e.prototype.ngOnInit=function(){var e=this;this.check(),this.scroll=o.fromEvent(window,"scroll").pipe(a.debounceTime(100)).subscribe((function(){e.check()})),this.resize=o.fromEvent(window,"resize").pipe(a.debounceTime(100)).subscribe((function(){e.check()}))},e.prototype.ngOnDestroy=function(){this.scroll.unsubscribe(),this.resize.unsubscribe()},e.prototype.check=function(e,t){void 0===e&&(e=!0),void 0===t&&(t="both");var n=this._el.nativeElement,i=n.offsetWidth*n.offsetHeight,o=n.getBoundingClientRect(),r=window.innerWidth,a=window.innerHeight,s=o.top>=0&&o.top<a,c=o.bottom>0&&o.bottom<=a,l=o.left>=0&&o.left<r,u=o.right>0&&o.right<=r,p=e?s||c:s&&c,E=e?l||u:l&&u,d=!1;"both"===t?d=!!(i&&p&&E):"vertical"===t?d=!(!i||!p):"horizontal"===t&&(d=!(!i||!E)),this.inViewport.emit(d)},e.decorators=[{type:t.Directive,args:[{selector:"[wsUtilsInViewPort]"}]}],e.ctorParameters=function(){return[{type:t.ElementRef}]},e.propDecorators={inViewport:[{type:t.Output}]},e}();var B=function(){function e(){}return e.decorators=[{type:t.NgModule,args:[{declarations:[k],exports:[k],imports:[s.CommonModule]}]}],e}(),H=function(){function e(){this.wsUtilsNavigation="",this.openInNewTab=!1,this.routeUrl=""}return e.prototype.onMouseEnter=function(e){(this.openInNewTab||this.wsUtilsNavigation.includes("mailto"))&&(e.preventDefault(),e.stopPropagation(),this.routeUrl="./",window.open(this.wsUtilsNavigation))},e.prototype.ngOnChanges=function(){(this.openInNewTab||this.wsUtilsNavigation.includes("mailto"))&&(this.routeUrl="./")},e.decorators=[{type:t.Directive,args:[{selector:"[wsUtilsNavigation]"}]}],e.ctorParameters=function(){return[]},e.propDecorators={wsUtilsNavigation:[{type:t.Input}],openInNewTab:[{type:t.Input}],routeUrl:[{type:t.Input},{type:t.HostBinding,args:["attr.routerLink"]}],onMouseEnter:[{type:t.HostListener,args:["mousedown",["$event"]]}]},e}();var Y=function(){function e(){}return e.decorators=[{type:t.NgModule,args:[{declarations:[H],imports:[s.CommonModule],exports:[H]}]}],e}(),j=function(){function e(){}return e.decorators=[{type:t.Directive,args:[{selector:"[wsUtilsPermission]"}]}],e.ctorParameters=function(){return[]},e}(),K=function(){function e(){}return e.decorators=[{type:t.NgModule,args:[{declarations:[j],imports:[s.CommonModule],exports:[j]}]}],e}();var z=function(){function e(){this.loadStatus="none",this.onHover=!1,this.loadNext=new t.EventEmitter,this.horizontalScrollElem=null,this.enablePrev=!1,this.enableNext=!1,this.scrollObserver=null}return e.prototype.ngOnInit=function(){var e=this;if(this.horizontalScrollElem){var t=this.horizontalScrollElem;this.scrollObserver=o.fromEvent(t.nativeElement,"scroll").pipe(a.debounceTime(100),a.throttleTime(100)).subscribe((function(n){e.updateNavigationBtnStatus(t.nativeElement)}))}},e.prototype.ngOnChanges=function(){var e=this;o.timer(100).subscribe((function(){e.horizontalScrollElem&&e.updateNavigationBtnStatus(e.horizontalScrollElem.nativeElement)}))},e.prototype.ngOnDestroy=function(){this.scrollObserver&&this.scrollObserver.unsubscribe()},e.prototype.showPrev=function(){if(this.horizontalScrollElem&&this.horizontalScrollElem){var e=this.horizontalScrollElem.nativeElement.clientWidth;this.horizontalScrollElem.nativeElement.scrollTo({left:this.horizontalScrollElem.nativeElement.scrollLeft-e,behavior:"smooth"})}},e.prototype.showNext=function(){if(this.horizontalScrollElem&&this.horizontalScrollElem){var e=this.horizontalScrollElem.nativeElement.clientWidth;this.horizontalScrollElem.nativeElement.scrollTo({left:this.horizontalScrollElem.nativeElement.scrollLeft+e,behavior:"smooth"})}},e.prototype.updateNavigationBtnStatus=function(e){this.enablePrev=!0,this.enableNext=!0,0===e.scrollLeft&&(this.enablePrev=!1),e.scrollWidth===e.clientWidth+e.scrollLeft&&("hasMore"===this.loadStatus?this.loadNext.emit():this.enableNext=!1)},e.decorators=[{type:t.Component,args:[{selector:"ws-utils-horizontal-scroller",template:'<section class="horizontal-scroll-container h-full">\r\n <button i18n-aria-label aria-label="back" name="content-backward-button" mat-mini-fab color="primary" (click)="showPrev()"\r\n class="prevBtn hidden-touch border-radius-xs" [hidden]="!enablePrev" [ngClass]="{\'prevBtnHover\': onHover}">\r\n <mat-icon>navigate_before</mat-icon>\r\n </button>\r\n <div name="horizontal-scroll-content-strip" class="horizontal-scroll-content" #horizontalScrollElem>\r\n <ng-content></ng-content>\r\n </div>\r\n <button i18n-aria-label aria-label="next" name="content-forward-button" mat-mini-fab (click)="showNext()" color="primary"\r\n class="nextBtn hidden-touch border-radius-xs" [ngClass]="{\'nextBtnHover\': onHover}"\r\n [hidden]="!enableNext || loadStatus === \'fetching\'">\r\n <mat-icon>navigate_next</mat-icon>\r\n </button>\r\n <div class="nextLoading" *ngIf="loadStatus === \'fetching\'">\r\n <mat-spinner></mat-spinner>\r\n </div>\r\n</section>',styles:[".horizontal-scroll-container{position:relative;width:100%;min-height:100px}.nextBtn,.nextLoading,.prevBtn{position:absolute;top:50%;transform:translateY(-50%);z-index:999}.border-radius-xs{border-radius:8px!important}.prevBtn{left:-16px}.nextBtn{right:-16px}.nextLoading{padding:0;right:-16px}.horizontal-scroll-content{overflow-y:auto;white-space:nowrap;-webkit-overflow-scrolling:touch;height:100%;flex-wrap:nowrap;display:flex;align-items:stretch;-ms-overflow-style:none;scrollbar-width:none}.horizontal-scroll-content::-webkit-scrollbar{width:0;height:0}"]}]}],e.ctorParameters=function(){return[]},e.propDecorators={loadStatus:[{type:t.Input}],onHover:[{type:t.Input}],loadNext:[{type:t.Output}],horizontalScrollElem:[{type:t.ViewChild,args:["horizontalScrollElem",{static:!0}]}]},e}();var q=function(){function e(){}return e.decorators=[{type:t.NgModule,args:[{declarations:[z],imports:[s.CommonModule,c.MatButtonModule,c.MatIconModule,c.MatProgressSpinnerModule],exports:[z]}]}],e}();!function(e){function t(){}function n(){}function i(){}function o(){}function r(){}function a(){}function s(){}function c(){}function l(){}function u(){}function p(){}function E(){}function d(){}function _(){}function S(){}e.IWsEventsFromWidget=t,e.IWsEventsFromPage=n,function(e){e.Action="Action",e.Telemetry="Telemetry",e.PageNavigation="PageNavigation",e.AccessRestrictedContentAccessed="AccessRestrictedContentAccessed",e.PageSlow="PageSlow",e.ErrorOccurred="ErrorOccurred",e.WidgetResolveError="WidgetResolveError"}(e.WsEventType||(e.WsEventType={})),function(e){e.Warn="Warn",e.Error="Error",e.Info="Info",e.Log="Log",e.Trace="Trace"}(e.WsEventLogLevel||(e.WsEventLogLevel={})),function(e){e.Created="Created",e.Updated="Updated",e.Deleted="Deleted"}(e.WsAuditTypes||(e.WsAuditTypes={})),function(e){e.Page="Page",e.Player="Player"}(e.WsTimeSpentType||(e.WsTimeSpentType={})),function(e){e.Play="Play",e.View="View"}(e.WsTimeSpentMode||(e.WsTimeSpentMode={})),function(e){e.RBCP="rbcp-web-ui"}(e.externalTelemetrypdata||(e.externalTelemetrypdata={})),e.IWsEvents=i,function(e){e.Init="Init",e.Interact="Interact",e.Loaded="Loaded",e.Unloaded="Unloaded",e.StateChange="StateChange",e.HeartBeat="HeartBeat",e.Search="Search",e.Feedback="Feedback",e.Impression="Impression",e.Chatbot="Chatbot",e.GetStarted="Get Started",e.PlatformRating="PlatformRating"}(e.EnumTelemetrySubType||(e.EnumTelemetrySubType={})),e.ITelemetryPageContext=o,e.ITelemetryEdata=r,e.ITelemetryTabData=a,e.IWsEventTelemetry=s,function(e){e.PAGE_CHANGED="PAGE_CHANGED",e.FULLSCREEN_ACTIVATED="FULLSCREEN_ACTIVATED",e.FULLSCREEN_DEACTIVATED="FULLSCREEN_DEACTIVATED",e.ZOOM_CHANGE="ZOOM_CHANGE",e.NONE="NONE"}(e.EnumTelemetryPdfActivity||(e.EnumTelemetryPdfActivity={})),e.IWsEventTelemetryPdfData=c,e.IWsEventTelemetrySurveyData=l,e.IWsEventTelemetryInteract=u,e.IWsEventTelemetryFeedback=p,e.IWsEventTelemetryImpression=E,e.IWsEventTelemetrySearch=d,e.IWsEventTelemetryHeartBeat=_,function(e){e.PLAYED="PLAYED",e.PAUSED="PAUSED",e.SEEKED="SEEKED",e.ENDED="ENDED",e.VOLUME_CHANGE="VOLUME_CHANGE",e.MUTE="MUTE",e.UNMUTE="UNMUTE",e.PLAYBACK_SPEED_CHANGE="PLAYBACK_SPEED_CHANGE",e.FULLSCREEN_ACTIVATED="FULLSCREEN_ACTIVATED",e.FULLSCREEN_DEACTIVATED="FULLSCREEN_DEACTIVATED",e.PICTURE_IN_PICTURE_ACTIVATED="PICTURE_IN_PICTURE_ACTIVATED",e.PICTURE_IN_PICTURE_DEACTIVATED="PICTURE_IN_PICTURE_DEACTIVATED",e.NONE="NONE"}(e.EnumTelemetryMediaActivity||(e.EnumTelemetryMediaActivity={})),function(e){e.PLAYING="PLAYING",e.PAUSED="PAUSED",e.ENDED="ENDED",e.BUFFERING="BUFFERING",e.NOT_STARTED="NOT_STARTED"}(e.EnumTelemetryMediaState||(e.EnumTelemetryMediaState={})),e.IWsEventTelemetryMediaData=S,function(e){e.CONTENT="content",e.FEEDBACK="feedback",e.COURSE="course",e.PROGRAM="program",e.EXPLORE="explore",e.LEARN="learn",e.HOME="home",e.DASHBOARD="dashboard",e.SEARCH="search",e.DISCUSS="Discuss",e.COMPETENCY="competency",e.EVENTS="events",e.CAREER="career",e.PROFILE="profile",e.NETWORK="network",e.SUPPORT="support",e.KARMAPOINTS="karmapoints",e.PLATFORM_RATING="platformrating"}(e.EnumTelemetrymodules||(e.EnumTelemetrymodules={})),function(e){e.CLICK="click",e.subType="subType"}(e.EnumInteractTypes||(e.EnumInteractTypes={})),function(e){e.COURSE_TAB="course-tab",e.CAREER_TAB="career-tab",e.NETWORK_TAB="network-tab",e.COMPETENCY_TAB="competency-tab",e.PROFILE_EDIT_TAB="profile-edit-tab",e.DISCUSS_TAB="discuss-tab",e.EVENTS_TAB="events-tab",e.SIDE_MENU="side-menu",e.MY_IGOT="my-igot",e.MY_LEARNING="my-learning",e.RECENTLY_ADDED="recently-added",e.TRENDING_IN_YOUR_DEPARTMENT="trending-in-your-department",e.TRENDING_ACROSS_YOUR_DEPARTMENTS="trending-across-your-departments",e.LEARNING_UNDER_30_MINUTES="learning-under-30-minutes",e.BLENDED_PROGRAM="blended program",e.RECENT_CONNECTION_REQUEST="recent-connection-request",e.CERTIFICATIONS_OF_THE_WEEK="certifications-of-the-week",e.HOME_PAGE_STRIP_TABS="home-page-strip-tabs",e.HUB_MENU="hub-menu",e.PORTAL_NUDGE="portal_nudge",e.CERTIFICATE="certificate",e.DEFAULT_SUBTYPE="default-subtype",e.SUGGESTED_CONNECTIONS="suggested-connections",e.PROFILE="profile",e.ADD_POST="add-post",e.TRENDING_DISCUSSIONS="trending-discussions",e.MY_DISCUSSIONS="my-discussions"}(e.EnumInteractSubTypes||(e.EnumInteractSubTypes={}))}(e.WsEvents||(e.WsEvents={}));var Q=function(){function e(e,t,n,i){var o=this;this.http=e,this.platform=t,this.router=n,this.route=i,this.currentRouteData=[],this.router.events.subscribe((function(e){if(e instanceof E.NavigationEnd){var t=o.route.snapshot,n=t.root.firstChild;o.getChildRouteData(t,n)}}))}return e.prototype.getChildRouteData=function(e,t){t&&(t.data&&this.currentRouteData.push(t.data),t.firstChild&&this.getChildRouteData(e,t.firstChild))},Object.defineProperty(e.prototype,"randomId",{get:function(){return 1},enumerable:!0,configurable:!0}),e.prototype.getJson=function(e){return this.http.get(e)},e.prototype.getLeafNodes=function(e,t){var n=this;return 0===(e.children||[]).length?t.push(e):e.children&&e.children.forEach((function(e){n.getLeafNodes(e,t)})),t},e.prototype.getPath=function(e,t){var n=[];return this.hasPath(e,n,t),n},e.prototype.hasPath=function(e,t,n){var i=this;return null!=e&&(t.push(e),e.identifier===n||(!!(e.children||[]).some((function(e){return i.hasPath(e,t,n)}))||(t.pop(),!1)))},Object.defineProperty(e.prototype,"isMobile",{get:function(){return!(!this.isIos&&!this.isAndroid)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isIos",{get:function(){return this.platform.IOS},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isAndroid",{get:function(){return this.platform.ANDROID},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isAndroidApp",{get:function(){return Boolean(window.appRef)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"iOsAppRef",{get:function(){return window.webkit&&window.webkit.messageHandlers&&window.webkit.messageHandlers.appRef?window.webkit.messageHandlers.appRef:null},enumerable:!0,configurable:!0}),e.prototype.setRouteData=function(e){this.currentRouteData=e},Object.defineProperty(e.prototype,"routeData",{get:function(){var e={module:"",pageId:""};return this.currentRouteData.map((function(t){t.pageId&&(e.pageId=e.pageId+"/"+t.pageId),t.module&&(e.module=t.module)})),e},enumerable:!0,configurable:!0}),e.decorators=[{type:t.Injectable,args:[{providedIn:"root"}]}],e.ctorParameters=function(){return[{type:p.HttpClient},{type:u.Platform},{type:E.Router},{type:E.ActivatedRoute}]},e.ngInjectableDef=t.ɵɵdefineInjectable({factory:function(){return new e(t.ɵɵinject(p.HttpClient),t.ɵɵinject(u.Platform),t.ɵɵinject(E.Router),t.ɵɵinject(E.ActivatedRoute))},token:e,providedIn:"root"}),e}();var J=function(){function n(e,t){this.utilitySvc=t,this.todaysEvents=[],this.eventsSubject=new o.Subject,this.events$=this.eventsSubject.asObservable(),this.eventsChatbotSubject=new o.Subject,this.chatbotEvents$=this.eventsChatbotSubject.asObservable(),this.eventsGetStartSubject=new o.Subject,this.getStartEvents$=this.eventsGetStartSubject.asObservable(),this.eventsPRSubject=new o.Subject,this.getPREvents$=this.eventsPRSubject.asObservable(),this.environment=e}return n.prototype.dispatchEvent=function(e){e.pageContext=this.getContext(e.pageContext),this.eventsSubject.next(e)},n.prototype.dispatchChatbotEvent=function(e){this.eventsChatbotSubject.next(e)},n.prototype.dispatchGetStartedEvent=function(e){this.eventsGetStartSubject.next(e)},n.prototype.dispatchPlatformRatingEvent=function(e){this.eventsPRSubject.next(e)},n.prototype.raiseInteractTelemetry=function(t,n,i){this.dispatchEvent({eventType:e.WsEvents.WsEventType.Telemetry,eventLogLevel:e.WsEvents.WsEventLogLevel.Info,data:{edata:t,object:n,pageContext:this.getContext(i),eventSubType:e.WsEvents.EnumTelemetrySubType.Interact},from:"",to:"Telemetry"})},n.prototype.raiseFeedbackTelemetry=function(t,n,i){this.dispatchEvent({eventType:e.WsEvents.WsEventType.Telemetry,eventLogLevel:e.WsEvents.WsEventLogLevel.Info,data:{edata:t,object:n,eventSubType:e.WsEvents.EnumTelemetrySubType.Feedback},from:i||"",to:"Telemetry"})},n.prototype.raiseCustomImpression=function(t,n){this.dispatchEvent({eventType:e.WsEvents.WsEventType.Telemetry,eventLogLevel:e.WsEvents.WsEventLogLevel.Info,data:{object:t,pageContext:this.getContext(n),eventSubType:e.WsEvents.EnumTelemetrySubType.Impression},from:"",to:"Telemetry"})},n.prototype.getContext=function(e){var t=this.utilitySvc.routeData,n={pageId:t.pageId,module:t.module};return e&&(e.pageIdExt?n.pageId=t.pageId+"_"+e.pageIdExt:e.pageId&&(n.pageId=e.pageId),e.module&&(n.module=e.module)),n},n.prototype.handleTabTelemetry=function(t,n,i){this.raiseInteractTelemetry({subType:t,type:e.WsEvents.EnumInteractTypes.CLICK,id:T.camelCase(n.label)+"-tab"},I({},i),{pageIdExt:T.camelCase(n.label)+"-tab"}),this.raiseCustomImpression(I({context:{position:n.index}},i),{pageIdExt:T.camelCase(n.label)+"-tab"})},n.prototype.getPublicUrl=function(e){var t=e.split("/content").pop()||"";return this.environment.contentHost+"/"+this.environment.contentBucket+"/content"+t},n.prototype.allEventDateFormat=function(e){var t=new Date(e).getDate(),n=new Date(e).getFullYear(),i=new Date(e).getMonth(),o=new Date(e).getHours(),r=new Date(e).getMinutes(),a=new Date(e).getSeconds(),s=new Date(n,i,t,o,r,a,0);return""+_(s).format("YYYY-MM-DD")},n.prototype.compareDate=function(e){var t=new Date,n=("0"+(new Date).getDate()).slice(-2);return e===(new Date).getFullYear()+"-"+("0"+(t.getMonth()+1)).slice(-2)+"-"+n},n.prototype.customDateFormat=function(e,t){var n=t.split("+")[0];return e+" "+n.substr(0,2)+n.substr(2,3)},n.prototype.setEventListData=function(e){var t=this;if(void 0!==e){this.todaysEvents=[];var n=e;Object.keys(n).forEach((function(e){var i=n[e],o=(0,Math.floor)(i.duration/60),r=i.duration%60,a=0===o?0===r?"---":r+" minutes":0===r?1===o?o+" hour":o+" hours":1===o?o+" hour "+r+" minutes":o+" hours "+r+" minutes",s=void 0!==i.creatorDetails?i.creatorDetails:[],c=s&&s.length>0?s.replace(/\\/g,""):[],l=c&&c.length>0?JSON.parse(c):s,u=i.startTime.split("+")[0],p=""+u.substr(0,2)+u.substr(2,3),E=i.endTime.split("+")[0],d=""+E.substr(0,2)+E.substr(2,3),_={event:i,eventName:i.name,eventStartTime:p,eventEndTime:d,eventStartDate:i.startDate,eventCreatedOn:t.allEventDateFormat(i.createdOn),eventDuration:a,eventjoined:l.length,eventThumbnail:!i.appIcon||null===i.appIcon&&void 0===i.appIcon?"/assets/icons/Events_default.png":t.getPublicUrl(i.appIcon),pastevent:!1};t.compareDate(i.startDate)&&t.todaysEvents.push(_)}))}},n.decorators=[{type:t.Injectable,args:[{providedIn:"root"}]}],n.ctorParameters=function(){return[{type:void 0,decorators:[{type:t.Inject,args:["environment"]}]},{type:Q}]},n.ngInjectableDef=t.ɵɵdefineInjectable({factory:function(){return new n(t.ɵɵinject("environment"),t.ɵɵinject(Q))},token:n,providedIn:"root"}),n}();var $=function(){function n(e){this.eventService=e,this.loadStatus="fetching",this.onHover=!1,this.sliderConfig={showNavs:!0,showDots:!0,cerificateCardMargin:!1},this.loadNext=new t.EventEmitter,this.horizontalScrollElem=null,this.enablePrev=!1,this.enableNext=!1,this.activeNav=0,this.cardSubType="standard",this.bottomDotsArray=[],this.scrollObserver=null}return n.prototype.ngOnInit=function(){var e=this;if(this.cardSubType=this.stripConfig&&this.stripConfig.cardSubType?this.stripConfig.cardSubType:"standard",this.horizontalScrollElem){var t=this.horizontalScrollElem;this.scrollObserver=o.fromEvent(t.nativeElement,"scroll").pipe(a.debounceTime(100),a.throttleTime(100)).subscribe((function(n){e.updateNavigationBtnStatus(t.nativeElement)})),this.getBottomDotsArray()}},n.prototype.ngOnChanges=function(){var e=this;o.timer(100).subscribe((function(){e.horizontalScrollElem&&e.updateNavigationBtnStatus(e.horizontalScrollElem.nativeElement)})),this.getBottomDotsArray()},n.prototype.ngOnDestroy=function(){this.scrollObserver&&this.scrollObserver.unsubscribe()},n.prototype.showPrev=function(){if(this.horizontalScrollElem){var e=this.horizontalScrollElem.nativeElement.clientWidth;this.horizontalScrollElem.nativeElement.scrollTo({left:this.horizontalScrollElem.nativeElement.scrollLeft-e,behavior:"smooth"}),this.activeNav-=1,this.raiseNavigationTelemetry("more-left")}},n.prototype.showNext=function(){if(this.horizontalScrollElem){var e=this.horizontalScrollElem.nativeElement.clientWidth;this.horizontalScrollElem.nativeElement.scrollTo({left:this.horizontalScrollElem.nativeElement.scrollLeft+e,behavior:"smooth"}),this.activeNav+=1,this.raiseNavigationTelemetry("more-right")}},n.prototype.raiseNavigationTelemetry=function(t){this.eventService.raiseInteractTelemetry({id:t,type:e.WsEvents.EnumInteractTypes.CLICK,subType:this.subtype},{},{module:e.WsEvents.EnumTelemetrymodules.HOME})},n.prototype.updateNavigationBtnStatus=function(e){this.enablePrev=!0,this.enableNext=!0,0===e.scrollLeft&&(this.enablePrev=!1,this.activeNav=0);var t=Math.abs(e.scrollWidth-Math.round(e.clientWidth+e.scrollLeft));0!==t&&1!==t||("hasMore"===this.loadStatus?this.loadNext.emit():(this.enableNext=!1,this.bottomDotsArray.length&&(this.activeNav=this.bottomDotsArray.length-1))),0!==e.scrollLeft&&e.scrollWidth!==e.clientWidth+e.scrollLeft&&(this.activeNav=Math.ceil(e.scrollLeft/e.clientWidth))},n.prototype.slideTo=function(e){var t=e-this.activeNav;if(this.horizontalScrollElem){var n=this.horizontalScrollElem.nativeElement.clientWidth;this.horizontalScrollElem.nativeElement.scrollTo({left:this.horizontalScrollElem.nativeElement.scrollLeft+n*t,behavior:"smooth"})}this.activeNav=e},n.prototype.getBottomDotsArray=function(){var e=this;if(this.horizontalScrollElem){this.bottomDotsArray=[];var t,n=void 0;if("card-wide-v2"!==this.cardSubType){if(n="standard"===this.cardSubType?245:document.getElementsByClassName(this.cardSubType)&&void 0!==document.getElementsByClassName(this.cardSubType)[0]?document.getElementsByClassName(this.cardSubType)[0].clientWidth:245,document.getElementsByClassName("horizontal-scroll-container")&&document.getElementsByClassName("horizontal-scroll-container")[0]){var i=document.getElementsByClassName("horizontal-scroll-container")[0].clientWidth;if(n*this.widgetsLength>i){t=i/n,this.defaultMaxWidgets=this.defaultMaxWidgets&&this.widgetsLength<this.defaultMaxWidgets?this.widgetsLength:this.defaultMaxWidgets,t=this.defaultMaxWidgets/t;for(var o=0;o<t;o+=1)this.bottomDotsArray.push(o)}}}else setTimeout((function(){t=document.getElementsByClassName(e.cardSubType).length;for(var n=0;n<t;n+=1)e.bottomDotsArray.push(n)}),1e3)}},n.decorators=[{type:t.Component,args:[{selector:"ws-utils-horizontal-scroller-v2",template:'<section class="horizontal-scroll-container h-full" [ngClass]="{\'px-4\': sliderConfig.showNavs, \'mt-5\':sliderConfig.cerificateCardMargin}">\n <ng-container *ngIf="sliderConfig?.showNavs">\n <button i18n-aria-label aria-label="back" name="content-backward-button" mat-mini-fab color="" \n (click)="showPrev()" class="prevBtn mat-elevation-z" [hidden]="!enablePrev"\n [ngClass]="{\'prevBtnHover\': onHover}">\n <mat-icon>navigate_before</mat-icon>\n </button>\n </ng-container>\n <div name="horizontal-scroll-content-strip" class="horizontal-scroll-content" #horizontalScrollElem>\n <ng-content></ng-content>\n </div>\n <ng-container *ngIf="sliderConfig?.showNavs">\n <button i18n-aria-label aria-label="next" name="content-forward-button" mat-mini-fab (click)="showNext()"\n color="" class="nextBtn mat-elevation-z" [ngClass]="{\'nextBtnHover\': onHover}"\n [hidden]="!enableNext || loadStatus === \'fetching\'">\n <mat-icon>navigate_next</mat-icon>\n </button>\n </ng-container>\n \x3c!-- <div class="nextLoading" *ngIf="loadStatus === \'fetching\'">\n <mat-spinner></mat-spinner>\n </div> --\x3e \n</section>\n\n<div class="dots-container" *ngIf="sliderConfig?.showDots">\n \x3c!-- <span class="dot" [ngClass]="{ active: j === currentIndex }" --\x3e\n <span class="dot" [ngClass]="{ active: j === activeNav }" *ngFor="let slide of bottomDotsArray; let j = index" (click)="slideTo(j)"></span>\n</div>',styles:[".horizontal-scroll-container{position:relative;width:100%;width:inherit}@media only screen and (max-width:599px){.horizontal-scroll-container{padding:0}}.nextBtn,.nextLoading,.prevBtn{position:absolute;top:50%;transform:translateY(-50%);z-index:999;height:32px!important;width:32px!important;display:flex;align-items:center;justify-content:center}.nextBtn,.prevBtn{border-radius:50%;background-color:#1b2133!important;color:#fff!important}.border-radius-xs{border-radius:8px!important}.prevBtn{left:0}.nextBtn{right:0}.nextLoading{padding:0;right:0}.horizontal-scroll-content{overflow-y:auto;white-space:nowrap;-webkit-overflow-scrolling:touch;height:100%;flex-wrap:nowrap;display:flex;align-items:stretch;-ms-overflow-style:none;scrollbar-width:none}.horizontal-scroll-content::-webkit-scrollbar{width:0;height:0}.dots-container{padding:8px;display:flex;align-items:center;justify-content:center}.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}.dots-container .dot.active{border-radius:4px;background-color:#f3962f;width:16px}@media screen and (max-width:768px){.nextBtn{right:-16px}.prevBtn{left:-16px}}"]}]}],n.ctorParameters=function(){return[{type:J}]},n.propDecorators={loadStatus:[{type:t.Input}],onHover:[{type:t.Input}],sliderConfig:[{type:t.Input}],loadNext:[{type:t.Output}],widgetsLength:[{type:t.Input}],defaultMaxWidgets:[{type:t.Input}],stripConfig:[{type:t.Input}],stripsResultDataMap:[{type:t.Input}],subtype:[{type:t.Input}],horizontalScrollElem:[{type:t.ViewChild,args:["horizontalScrollElem",{static:!0}]}]},n}();var Z=function(){function e(){}return e.decorators=[{type:t.NgModule,args:[{declarations:[$],imports:[s.CommonModule,c.MatButtonModule,c.MatIconModule,c.MatProgressSpinnerModule],exports:[$]}]}],e}(),X=function(){function e(e){this.configSvc=e,this.consoleError=console.error,this.consoleInfo=console.info,this.consoleLog=console.log,this.consoleWarn=console.warn,this.noConsole=function(){}}return Object.defineProperty(e.prototype,"error",{get:function(){return this.consoleError},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"info",{get:function(){return this.configSvc.isProduction?this.noConsole:this.consoleInfo},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"log",{get:function(){return this.configSvc.isProduction?this.noConsole:this.consoleLog},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"warn",{get:function(){return this.configSvc.isProduction?this.noConsole:this.consoleWarn},enumerable:!0,configurable:!0}),e.prototype.removeConsoleAccess=function(){if(!this.configSvc.isProduction){var e=function(){throw new Error("Console Functions Usage Are Not Allowed.")};console.warn=e,console.info=e,console.error=e}},e.decorators=[{type:t.Injectable,args:[{providedIn:"root"}]}],e.ctorParameters=function(){return[{type:C}]},e.ngInjectableDef=t.ɵɵdefineInjectable({factory:function(){return new e(t.ɵɵinject(C))},token:e,providedIn:"root"}),e}();var ee=localStorage,te={sharePointToken:"/apis/protected/v8/user/token"},ne=function(){function e(e,t){this.loggerSvc=e,this.http=t,this.msConfig={clientId:"",tenant:"",defaultEmailId:"",validEmailExtensions:[],isConfigured:!1},this.emailUsed=null,this.code=null,this.msToken={accessToken:"",expiresOn:"",resource:"",tokenType:""}}return Object.defineProperty(e.prototype,"isLogoutRequired",{get:function(){return Boolean(this.msConfig.isConfigured&&this.msConfig.clientId&&this.emailUsed)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"loginUrl",{get:function(){if(this.msConfig.isConfigured&&this.msConfig.clientId){var e="https://login.windows.net/common/oauth2/authorize",t=new URLSearchParams({response_type:"code",client_id:this.msConfig.clientId,redirect_uri:window.location.href}),n=location.search.substring(1);return n?e+"?"+t.toString()+"#"+n:e+"?"+t.toString()}return null},enumerable:!0,configurable:!0}),e.prototype.logoutUrl=function(e){return this.isValidEmail(this.emailUsed||"")?"https://login.microsoftonline.com/common/oauth2/logout?post_logout_redirect_uri="+e:e},e.prototype.init=function(e){return f(this,void 0,void 0,(function(){var t,n;return h(this,(function(i){switch(i.label){case 0:return e&&e.microsoft&&e.microsoft.isConfigured||this.loggerSvc.warn("Empty/No Configuration passed, ignoring Microsoft Authentication"),this.msConfig=e.microsoft,(t=new URLSearchParams(location.search)).has("code")&&t.has("session_state")?(this.code=t.get("code"),this.code?(n=location.origin+location.pathname,[4,this.exchangeTokenForCode(this.code,n)]):[2]):[3,2];case 1:i.sent(),location.hash&&(n+=location.hash.substring(1)),history.replaceState(null,"",n),i.label=2;case 2:return[2]}}))}))},e.prototype.login=function(e){return f(this,void 0,void 0,(function(){var t;return h(this,(function(n){return this.isValidEmail(e)?((t=this.loginUrl)?location.assign(t):this.loggerSvc.warn("Unable to identify Office Login URL, Ignoring login request"),[2]):(this.loggerSvc.warn("Microsoft Login is not allowed for your emailId ("+e+")"),[2])}))}))},e.prototype.getToken=function(e){return f(this,void 0,void 0,(function(){var t,n;return h(this,(function(i){switch(i.label){case 0:if(this.msToken&&this.isValid(this.msToken.accessToken,this.msToken.expiresOn)&&this.msToken.accessToken)return[2,this.msToken.accessToken];if(!this.isValidEmail(e))return[3,4];i.label=1;case 1:return i.trys.push([1,3,,4]),t=this,[4,this.getTokenForEmail(e)];case 2:return t.msToken=i.sent(),this.msToken.accessToken?(this.emailUsed=e,[2,this.msToken.accessToken]):[3,4];case 3:return i.sent(),this.code||this.login(e),[3,4];case 4:if(!this.msConfig.defaultEmailId||!this.isValidEmail(this.msConfig.defaultEmailId))return[3,8];i.label=5;case 5:return i.trys.push([5,7,,8]),n=this,[4,this.getTokenForEmail(this.msConfig.defaultEmailId)];case 6:return n.msToken=i.sent(),this.msToken.accessToken?(this.emailUsed=this.msConfig.defaultEmailId,[2,this.msToken.accessToken]):[3,8];case 7:return i.sent(),[3,8];case 8:throw new Error("UNABLE TO FETCH MS AUTH TOKEN")}}))}))},e.prototype.loginForSSOEnabledEmbed=function(e){this.isValidEmail(e)||this.loggerSvc.warn("SSO Login request Ignored. Invalid Email Id for SSO Enabled Content");var t=0;try{t=parseInt(ee.getItem("msLoginRequested")||"0",10)}catch(e){}(!t||t&&(Date.now()-t)/1e3>600)&&(this.loggerSvc.info("last login exceeded 600 duration. Redirecting to O365 login"),ee.setItem("msLoginRequested",Date.now().toString()),this.login(e))},e.prototype.isValidEmail=function(e){return this.msConfig.validEmailExtensions.some((function(t){return e.endsWith(t)}))},e.prototype.isValid=function(e,t){return!(!e||!t)},e.prototype.exchangeTokenForCode=function(e,t){return f(this,void 0,void 0,(function(){var n;return h(this,(function(i){switch(i.label){case 0:return[4,this.http.get(te+"?code="+e+"&redirectUrl="+t).toPromise()];case 1:return n=i.sent(),[2,this.getInstanceFromResponse(n)]}}))}))},e.prototype.getTokenForEmail=function(e){return f(this,void 0,void 0,(function(){var t;return h(this,(function(n){switch(n.label){case 0:return[4,this.http.get(te.sharePointToken+"?email="+e).toPromise()];case 1:return t=n.sent(),[2,this.getInstanceFromResponse(t)]}}))}))},e.prototype.getInstanceFromResponse=function(e){return{accessToken:e.accessToken,expiresOn:e.expiresOn,resource:e.resource,tokenType:e.tokenType}},e.decorators=[{type:t.Injectable,args:[{providedIn:"root"}]}],e.ctorParameters=function(){return[{type:X},{type:p.HttpClient}]},e.ngInjectableDef=t.ɵɵdefineInjectable({factory:function(){return new e(t.ɵɵinject(X),t.ɵɵinject(p.HttpClient))},token:e,providedIn:"root"}),e}();var ie=localStorage,oe=function(){function e(e,t,n,i){var r=this;this.http=e,this.configSvc=t,this.keycloakSvc=n,this.msAuthSvc=i,this.loginChangeSubject=new o.ReplaySubject(1),this.loginChangeSubject.subscribe((function(e){r.configSvc.isAuthenticated=e,e&&r.configSvc.instanceConfig&&Boolean(r.configSvc.instanceConfig.disablePidCheck)&&(r.configSvc.userProfile={email:r.userEmail,userName:r.userName,userId:r.userId||""})}))}return Object.defineProperty(e.prototype,"isLoggedIn$",{get:function(){return this.loginChangeSubject.asObservable()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isLoggedIn",{get:function(){return this.keycloakSvc.isLoggedIn()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isAuthenticated",{get:function(){return this.keycloakSvc.getKeycloakInstance().authenticated},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"token",{get:function(){return this.keycloakSvc.getKeycloakInstance().token},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"sessionId",{get:function(){return this.keycloakSvc.getKeycloakInstance().sessionId},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"userId",{get:function(){var e=this.keycloakSvc.getKeycloakInstance();if(e)return e.tokenParsed&&e.tokenParsed.sub||e.idTokenParsed&&e.idTokenParsed.sub},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"userEmail",{get:function(){var e=this.keycloakSvc.getKeycloakInstance(),t=e.tokenParsed,n=e.idTokenParsed;return t&&t.email||n&&n.email||n&&n.encEmail||t&&t.preferred_username||n&&n.preferred_username},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"userName",{get:function(){var e=this.keycloakSvc.getKeycloakInstance();return e.tokenParsed&&e.tokenParsed.name||e.idTokenParsed&&e.idTokenParsed.name},enumerable:!0,configurable:!0}),e.prototype.initAuth=function(){return f(this,void 0,void 0,(function(){var e;return h(this,(function(t){switch(t.label){case 0:if(!this.configSvc.instanceConfig)return[2,!1];(e=this.configSvc.instanceConfig).microsoft.isConfigured&&this.msAuthSvc.init({microsoft:e.microsoft}),t.label=1;case 1:return t.trys.push([1,3,,4]),this.setupGlobalAuthResponder(),this.addKeycloakEventListener(),[4,this.keycloakSvc.init({config:{url:e.keycloak.url,realm:e.keycloak.realm,clientId:e.keycloak.clientId},initOptions:I({},this.getSavedKcConfig(),{onLoad:e.keycloak.onLoad||"check-sso",checkLoginIframe:!1}),enableBearerInterceptor:!0,loadUserProfileAtStartUp:!1,bearerExcludedUrls:e.keycloak.bearerExcludedUrls})];case 2:return[2,t.sent()];case 3:return t.sent(),[2,!1];case 4:return[2]}}))}))},e.prototype.login=function(e,t){return void 0===e&&(e="E"),void 0===t&&(t=this.defaultRedirectUrl),this.keycloakSvc.login({idpHint:e,redirectUri:t})},e.prototype.loginV2=function(e,t){return void 0===e&&(e="E"),void 0===t&&(t=this.defaultRedirectUrl),this.configSvc.instanceConfig?(window.location.href=this.configSvc.instanceConfig.keycloak.url+t,Promise.resolve()):Promise.reject()},e.prototype.register=function(e){return void 0===e&&(e=this.defaultRedirectUrl),this.keycloakSvc.register({redirectUri:e})},e.prototype.logout=function(e){return void 0===e&&(e=this.defaultRedirectUrl),f(this,void 0,void 0,(function(){return h(this,(function(t){ie.getItem("telemetrySessionId")&&ie.removeItem("telemetrySessionId");try{sessionStorage.clear(),localStorage.clear()}catch(e){}return ie.removeItem("kc"),window.location.href=e+"apis/reset",[2]}))}))},e.prototype.force_logout=function(){return f(this,void 0,void 0,(function(){return h(this,(function(e){switch(e.label){case 0:return ie.getItem("telemetrySessionId")?(ie.removeItem("telemetrySessionId"),[3,4]):[3,1];case 1:return ie.removeItem("kc"),[4,this.http.get("/apis/reset").toPromise()];case 2:return e.sent(),[4,this.http.get("https://admin-test.ecornell.com/saml/logout.do").toPromise()];case 3:e.sent(),e.label=4;case 4:try{sessionStorage.clear(),localStorage.clear()}catch(e){}return ie.removeItem("kc"),[4,this.http.get("/apis/reset").toPromise()];case 5:return e.sent(),[4,this.http.get("https://admin-test.ecornell.com/saml/logout.do").toPromise()];case 6:return e.sent(),[2]}}))}))},e.prototype.addKeycloakEventListener=function(){var e=this;this.keycloakSvc.keycloakEvents$.subscribe((function(t){switch(t.type){case S.KeycloakEventType.OnAuthError:e.loginChangeSubject.next(!1);break;case S.KeycloakEventType.OnAuthLogout:e.loginChangeSubject.next(!1),ie.removeItem("kc");break;case S.KeycloakEventType.OnAuthRefreshError:case S.KeycloakEventType.OnAuthRefreshSuccess:case S.KeycloakEventType.OnAuthSuccess:break;case S.KeycloakEventType.OnReady:e.loginChangeSubject.next(t.args),t.args&&e.saveKeycloakConfig();break;case S.KeycloakEventType.OnTokenExpired:e.keycloakSvc.updateToken(60)}}))},e.prototype.setupGlobalAuthResponder=function(){var e=this;o.fromEvent(window,"message").pipe(a.filter((function(e){return Boolean(e)&&Boolean(e.data)&&"AUTH_REQUEST"===e.data.type&&Boolean(e.source&&"function"==typeof e.source.postMessage)}))).subscribe((function(t){return f(e,void 0,void 0,(function(){var e,n,i;return h(this,(function(o){switch(o.label){case 0:return e=t.source,[4,this.keycloakSvc.getToken()];case 1:return n=o.sent(),i={app:"WEB_PORTAL",type:"AUTH_RESPONSE",state:"NONE",plugin:"NONE",data:{token:n,id:t.data&&t.data.data&&t.data.data.id}},e.postMessage(i,"*"),[2]}}))}))}))},e.prototype.saveKeycloakConfig=function(){var e=this.keycloakSvc.getKeycloakInstance(),t={idToken:e.idToken,refreshToken:e.refreshToken,timeSkew:e.timeSkew,token:e.token};ie.setItem("kc",JSON.stringify(t))},e.prototype.getSavedKcConfig=function(){try{var e=ie.getItem("kc");if(e){var t=JSON.parse(e);if("idToken"in t&&"refreshToken"in t&&"timeSkew"in t&&"token"in t)return t}}catch(e){}return{}},Object.defineProperty(e.prototype,"defaultRedirectUrl",{get:function(){try{return document.baseURI||location.origin}catch(e){return location.origin}},enumerable:!0,configurable:!0}),e.decorators=[{type:t.Injectable,args:[{providedIn:"root"}]}],e.ctorParameters=function(){return[{type:p.HttpClient},{type:C},{type:S.KeycloakService},{type:ne}]},e.ngInjectableDef=t.ɵɵdefineInjectable({factory:function(){return new e(t.ɵɵinject(p.HttpClient),t.ɵɵinject(C),t.ɵɵinject(S.KeycloakService),t.ɵɵinject(ne))},token:e,providedIn:"root"}),e}();var re=function(){function e(e,t,n,i,o){if(this.dialogRef=e,this.authSvc=t,this.configSvc=n,this.utilitySvc=i,this.translate=o,this.disabled=!1,this.isDownloadableIos=!1,this.isDownloadableAndroid=!1,localStorage.getItem("websiteLanguage")){this.translate.setDefaultLang("en");var r=localStorage.getItem("websiteLanguage")||null;this.translate.use(r)}}return e.prototype.ngOnInit=function(){this.configSvc.restrictedFeatures&&(this.isDownloadableIos=!this.configSvc.restrictedFeatures.has("iosDownload"),this.isDownloadableAndroid=!this.configSvc.restrictedFeatures.has("androidDownload"))},e.prototype.confirmed=function(){this.disabled=!0,this.dialogRef.close(),localStorage.getItem("ratingformID")&&localStorage.removeItem("ratingformID"),localStorage.getItem("ratingfeedID")&&localStorage.removeItem("ratingfeedID"),localStorage.getItem("platformratingTime")&&localStorage.removeItem("platformratingTime"),localStorage.getItem("websiteLanguage")&&localStorage.removeItem("websiteLanguage"),this.authSvc.force_logout(),localStorage.getItem("faq")&&localStorage.removeItem("faq"),localStorage.getItem("faq-languages")&&localStorage.removeItem("faq-languages"),sessionStorage.getItem("hideUpdateProfilePopUp")&&sessionStorage.removeItem("hideUpdateProfilePopUp"),localStorage.getItem("motivationalMessage")&&localStorage.removeItem("motivationalMessage")},Object.defineProperty(e.prototype,"isDownloadable",{get:function(){return!(!this.configSvc.instanceConfig||!this.configSvc.instanceConfig.isContentDownloadAvailable||!this.utilitySvc.iOsAppRef&&!this.utilitySvc.isAndroidApp)},enumerable:!0,configurable:!0}),e.decorators=[{type:t.Component,args:[{selector:"ws-utils-logout",template:'<h1 mat-dialog-title i18n>{{\'utilslogout.logoutNow\' | translate}}</h1>\r\n<div class="ws-mat-primary-text text-base pb-2 title-text" *ngIf="isDownloadable" i18n>\r\n {{\'utilslogout.logoutNote\' | translate}}\r\n</div>\r\n<div mat-dialog-content class="text-base hide-overflow" i18n>\r\n {{\'utilslogout.logoutConfirm\' | translate}}\r\n</div>\r\n<div mat-dialog-actions class="flex-row-reverse">\r\n <button mat-flat-button color="warn" [disabled]="disabled" (click)="confirmed()" i18n>\r\n {{\'utilslogout.logoutYes\' | translate}}\r\n </button>\r\n <button mat-button class="margin-right-xs" mat-dialog-close cdkFocusInitial i18n>\r\n {{\'utilslogout.logoutNo\' | translate}}\r\n </button>\r\n</div>\r\n',styles:[".hide-overflow{overflow:hidden}"]}]}],e.ctorParameters=function(){return[{type:c.MatDialogRef},{type:oe},{type:C},{type:Q},{type:g.TranslateService}]},e}();var ae=function(){function e(){}return e.decorators=[{type:t.NgModule,args:[{declarations:[re],imports:[s.CommonModule,c.MatButtonModule,c.MatDialogModule,g.TranslateModule],entryComponents:[re]}]}],e}();var se=function(){function e(){}return e.prototype.transform=function(e){try{var t=void 0,n=void 0,i=new Date(e.fromDate),o=new Date(e.toDate),r={day:i.getDate(),month:i.toLocaleString("default",{month:"short"}),year:i.getFullYear(),time:i.getTime()},a={day:o.getDate(),month:o.toLocaleString("default",{month:"short"}),year:o.getFullYear(),time:o.getTime()};return r.time===a.time?r.day+" "+r.month+" "+r.year:r.year!=r.year?(t=r.day+" "+r.month+" "+r.year)+" - "+(n=a.day+" "+a.month+" "+a.year):(r.month===a.month?(t=""+r.day,n=a.day+" "+a.month+" "+a.year):(t=r.day+" "+r.month,n=a.day+" "+a.month+" "+a.year),t+" - "+n)}catch(t){return e.fromDate+" - "+e.toDate}},e.decorators=[{type:t.Pipe,args:[{name:"pipeConciseDateRange"}]}],e}(),ce=function(){function e(){}return e.decorators=[{type:t.NgModule,args:[{declarations:[se],imports:[s.CommonModule],exports:[se]}]}],e}(),le=function(){function e(){}return e.prototype.transform=function(e){var t;return e>0?e<1e3?String(e):e>=1e3&&e<1e6?(t=(e/1e3).toFixed(1)).endsWith("0")?t.split(".")[0]+"K":t+"K":(t=(e/1e6).toFixed(1)).endsWith("0")?t.split(".")[0]+"M":t+"M":"0"},e.decorators=[{type:t.Pipe,args:[{name:"pipeCountTransform"}]}],e}(),ue=function(){function e(){}return e.decorators=[{type:t.NgModule,args:[{declarations:[le],imports:[s.CommonModule],exports:[le]}]}],e}();var pe=function(){function e(){this.months=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]}return e.prototype.transform=function(e){var t=e.day+" "+this.months[e.month-1]+" "+e.year;return e.timeZone&&(t+=" "+e.timeZone),t},e.decorators=[{type:t.Pipe,args:[{name:"pipeDateConcat"}]}],e.ctorParameters=function(){return[]},e}();var Ee=function(){function e(){}return e.decorators=[{type:t.NgModule,args:[{declarations:[pe],imports:[s.CommonModule],exports:[pe]}]}],e}(),de=function(){function e(){}return e.prototype.transform=function(e,t){if(e<=0)return"";var n=Math.floor(e/3600),i=Math.floor(e%3600/60),o=Math.floor(e%3600%60),r="";switch(t){case"time24":return this.defaultDuration(n,i,o);case"hms":return this.hmsCalculation(n,i,o,r,t);case"hms2H":var a=_.duration(e,"seconds");return _.utc(a.asMilliseconds()).format("HH:mm:ss");case"hms2M":var s=_.duration(e,"seconds");return _.utc(s.asMilliseconds()).format("mm:ss");case"hour":return 0===n&&(r+="less than an hour"),1===n&&(r+=n+" hour"),n>1&&(r+=n+" hours"),r;case"day":return n>24?_.duration(e,"seconds").days()+" day(s)":this.hmsCalculation(n,i,o,r,t);case"DAYS":return r=e+"d";default:return this.defaultDuration(n,i,o)}},e.prototype.defaultDuration=function(e,t,n){var i="";return i+=e>0?e.toString().padStart(2)+":":"",i+=t>0?t.toString().padStart(2)+":":"00:",i+=n>0?n.toString().padStart(2):"00"},e.prototype.hmsCalculation=function(e,t,n,i,o){var r="",a=i;return e>0&&(a+="hms"===o?e+"h":e+" hr"),t>0&&(e>0&&(r=" "),a+="hms"===o?""+r+t+"m":""+r+t+" min"),n>0&&0===e&&(t>0&&(r=" "),a+="hms"===o?""+r+n+"s":""+r+n+" sec"),a},e.decorators=[{type:t.Pipe,args:[{name:"pipeDurationTransform"}]}],e}(),_e=function(){function e(){}return e.decorators=[{type:t.NgModule,args:[{declarations:[de],imports:[s.CommonModule],exports:[de]}]}],e}(),Se=function(){function e(){}return e.prototype.transform=function(e){return e?String(e).replace(/<[^>]+>/gm,""):""},e.decorators=[{type:t.Pipe,args:[{name:"pipeHtmlTagRemoval"}]}],e}(),ge=function(){function e(){}return e.decorators=[{type:t.NgModule,args:[{declarations:[Se],imports:[s.CommonModule],exports:[Se]}]}],e}(),Ae=function(){function e(){}return e.prototype.transform=function(e,t,n){return n?(e||[]).filter((function(e){return t.split(",").some((function(t){return e.hasOwnProperty(t)&&new RegExp("^"+n+"$","gi").test(e[t])}))})):e},e.decorators=[{type:t.Pipe,args:[{name:"pipeFilter"}]}],e}(),Te=function(){function e(){}return e.decorators=[{type:t.NgModule,args:[{declarations:[Ae],imports:[s.CommonModule],exports:[Ae]}]}],e}(),Ie=function(){function e(){}return e.prototype.transform=function(e){if(0===e)return"0th";var t=["th","st","nd","rd"],n=e%100;return e+(t[(n-20)%10]||t[n]||t[0])},e.decorators=[{type:t.Pipe,args:[{name:"pipeOrdinal"}]}],e}(),fe=function(){function e(){}return e.decorators=[{type:t.NgModule,args:[{declarations:[Ie],imports:[s.CommonModule],exports:[Ie]}]}],e}(),he=function(){function e(){}return e.prototype.transform=function(e){return e.split(".").join("[dot]").replace("@","[at]")},e.decorators=[{type:t.Pipe,args:[{name:"pipeEmail"}]}],e}(),me=function(){function e(){}return e.decorators=[{type:t.NgModule,args:[{declarations:[he],imports:[s.CommonModule],exports:[he]}]}],e}(),Ne=function(){function e(){}return e.prototype.transform=function(e,t,n){if(!e)return[];if(!n)return e;var i=n.toLowerCase();return e.filter((function(e){return(e[t]+" ").toLowerCase().includes(i)}))},e.decorators=[{type:t.Pipe,args:[{name:"pipeFilterV2"}]}],e}(),Ce=function(){function e(){}return e.decorators=[{type:t.NgModule,args:[{declarations:[Ne],imports:[s.CommonModule],exports:[Ne]}]}],e}(),ye=function(){function e(){}return e.prototype.transform=function(e,t,n){if(t&&Array.isArray(e)){var i=Object.keys(t);return n?e.filter((function(e){return i.reduce((function(n,i){return n&&new RegExp(t[i],"gi").test(e[i])||""===t[i]}),!0)})):e.filter((function(e){return i.some((function(n){return new RegExp(t[n],"gi").test(e[n])||""===t[n]}))}))}return e},e.decorators=[{type:t.Pipe,args:[{name:"pipeFilterV3"}]}],e}(),Re=function(){function e(){}return e.decorators=[{type:t.NgModule,args:[{declarations:[ye],imports:[s.CommonModule],exports:[ye]}]}],e}(),ve=function(){function e(){}return e.prototype.transform=function(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];if(!e)return[];if(!t)return e;var o=t.toLowerCase();if(n&&n.length){var r=e.filter((function(e){return e.profileDetails?e.profileDetails.personalDetails[n[0]].toLowerCase().includes(o):e.personalDetails?e.personalDetails[n[0]].toLowerCase().includes(o):e.fullName?e.fullName.toLowerCase().includes(o):void 0}));return r&&r.length<=0?[-1]:r}return e.filter((function(e){return e.title.toLowerCase().includes(o)}))},e.decorators=[{type:t.Pipe,args:[{name:"pipeFilterSearch"}]}],e}(),Oe=function(){function e(){}return e.decorators=[{type:t.NgModule,args:[{declarations:[ve],imports:[s.CommonModule],exports:[ve]}]}],e}(),Pe=function(){function e(){}return e.prototype.transform=function(e,t,n){return n?(e||[]).filter((function(e){return t.split(",").some((function(t){return e.hasOwnProperty(t)&&e[t]&&(e[t]+" ").toLocaleLowerCase().includes(n.toLocaleLowerCase())}))})):e},e.decorators=[{type:t.Pipe,args:[{name:"pipeListFilter"}]}],e}(),Le=function(){function e(){}return e.decorators=[{type:t.NgModule,args:[{declarations:[Pe],imports:[s.CommonModule],exports:[Pe]}]}],e}(),be=function(){function e(){}return e.prototype.transform=function(e){return e?_(new Date(e)).fromNow():_().startOf("hour").fromNow()},e.decorators=[{type:t.Pipe,args:[{name:"pipeRelativeTime"}]}],e}(),De=function(){function e(){}return e.decorators=[{type:t.NgModule,args:[{declarations:[be],imports:[s.CommonModule],exports:[be]}]}],e}(),we=function(){function e(){this.transform=d.orderBy}return e.decorators=[{type:t.Pipe,args:[{name:"orderBy"}]}],e}();var Ve=function(){function e(){}return e.decorators=[{type:t.NgModule,args:[{declarations:[we],imports:[s.CommonModule],exports:[we]}]}],e}(),Ge=function(){function e(){}return e.prototype.transform=function(e,t){if(void 0===t&&(t=5),!e||!e.length)return null;if(Array.isArray(e))return e.slice(0,t);if("string"==typeof e){var n=e.substr(0,t);return t<e.length?n+"...":n}return null},e.decorators=[{type:t.Pipe,args:[{name:"pipeLimitTo"}]}],e}(),Me=function(){function e(){}return e.decorators=[{type:t.NgModule,args:[{declarations:[Ge],imports:[s.CommonModule],exports:[Ge]}]}],e}();var Ue=function(){function e(){}return e.prototype.transform=function(e){var t="";return e.firstName&&(t+=e.firstName),""!==t.trim()?t:e.email?e.email:"Anonymous User"},e.decorators=[{type:t.Pipe,args:[{name:"pipeNameTransform"}]}],e}(),We=function(){function e(){}return e.decorators=[{type:t.NgModule,args:[{declarations:[Ue],imports:[s.CommonModule],exports:[Ue]}]}],e}(),Fe=function(){function e(){}return e.prototype.transform=function(e,t){var n,i,o={};try{for(var r=m(t),a=r.next();!a.done;a=r.next()){var s=a.value;e[s]&&(o[s]=e[s])}}catch(e){n={error:e}}finally{try{a&&!a.done&&(i=r.return)&&i.call(r)}finally{if(n)throw n.error}}return o},e.decorators=[{type:t.Pipe,args:[{name:"pipePartialContent"}]}],e}(),xe=function(){function e(){}return e.decorators=[{type:t.NgModule,args:[{declarations:[Fe],imports:[s.CommonModule],exports:[Fe]}]}],e}(),ke=function(){function e(e){this.sanitizer=e}return e.prototype.transform=function(e,t){switch(void 0===t&&(t="html"),t){case"html":return this.sanitizer.bypassSecurityTrustHtml(e);case"style":return this.sanitizer.bypassSecurityTrustStyle(e);case"script":return this.sanitizer.bypassSecurityTrustScript(e);case"url":return this.sanitizer.bypassSecurityTrustUrl(e);case"resourceUrl":return this.sanitizer.bypassSecurityTrustResourceUrl(e);default:throw new Error("Invalid safe type specified: "+t)}},e.decorators=[{type:t.Pipe,args:[{name:"pipeSafeSanitizer"}]}],e.ctorParameters=function(){return[{type:A.DomSanitizer}]},e}();var Be=function(){function e(){}return e.decorators=[{type:t.NgModule,args:[{declarations:[ke],imports:[s.CommonModule],exports:[ke]}]}],e}(),He=function(){function e(e){this.environment=e}return e.prototype.transform=function(e){if(e&&e.includes("/content")&&e.includes("do_")){var t=e&&e.split("/content").pop()||"",n=this.environment.contentHost+"/"+this.environment.contentBucket+"/content"+t;return e?n:""}return e},e.decorators=[{type:t.Pipe,args:[{name:"pipePublicURL"}]}],e.ctorParameters=function(){return[{type:void 0,decorators:[{type:t.Inject,args:["environment"]}]}]},e}();var Ye=function(){function e(){}return e.decorators=[{type:t.NgModule,args:[{declarations:[He],imports:[s.CommonModule],exports:[He]}]}],e}(),je=function(){function e(e){this.environment=e}return e.prototype.transform=function(e){if(!(e.indexOf(this.environment.contentHost)<0))return e;if(e.indexOf("/public/content")>-1&&(-1===e.indexOf("/content/content")||-1===e.indexOf("/content/collection"))){var t=e&&e.split("/content").pop()||"",n=this.environment.contentHost+"/"+this.environment.certificateassets+"/content"+t;return e?n:""}if(-1===e.indexOf("/public/content")){if(e.indexOf("/content/content")>-1||e.indexOf("/igot/content")>-1||e.indexOf("/content-store/content")>-1){t=e&&e.split("/content").pop()||"",n=this.environment.contentHost+"/"+this.environment.contentBucket+"/content"+t;return e?n:""}if(e.indexOf("/igotprod/collection")>-1){t=e&&e.split("/igotprod").pop()||"",n=this.environment.contentHost+"/"+this.environment.contentBucket+t;return e?n:""}if(e.indexOf("/igotprod/content")>-1){t=e&&e.split("/igotprod").pop()||"",n=this.environment.contentHost+"/"+this.environment.contentBucket+t;return e?n:""}if(e.indexOf("/igotuat/collection")>-1){t=e&&e.split("/igotuat").pop()||"",n=this.environment.contentHost+"/"+this.environment.contentBucket+t;return e?n:""}if(e.indexOf("/igotuat/content")>-1){t=e&&e.split("/igotuat").pop()||"",n=this.environment.contentHost+"/"+this.environment.contentBucket+t;return e?n:""}if(e.indexOf("/igot/collection")>-1){t=e&&e.split("/igot").pop()||"",n=this.environment.contentHost+"/"+this.environment.contentBucket+t;return e?n:""}if(e.indexOf("/igot/content")>-1){t=e&&e.split("/igot").pop()||"",n=this.environment.contentHost+"/"+this.environment.contentBucket+t;return e?n:""}if(e.indexOf("/igot/profileImage")>-1){t=e&&e.split("/igot").pop()||"",n=this.environment.contentHost+"/"+this.environment.contentBucket+t;return e?n:""}if(e.indexOf("/igotqa/profileImage")>-1){t=e&&e.split("/igotqa").pop()||"",n=this.environment.contentHost+"/"+this.environment.contentBucket+t;return e?n:""}if(e.indexOf("/igotuat/profileImage")>-1){t=e&&e.split("/igotuat").pop()||"",n=this.environment.contentHost+"/"+this.environment.contentBucket+t;return e?n:""}if(e.indexOf("/igotprod/profileImage")>-1){t=e&&e.split("/igotprod").pop()||"",n=this.environment.contentHost+"/"+this.environment.contentBucket+t;return e?n:""}if(e.indexOf("/content/collection")>-1){t=e&&e.split("/content").pop()||"",n=this.environment.contentHost+"/"+this.environment.contentBucket+t;return e?n:""}if(-1===e.indexOf("/content/content")||-1===e.indexOf("/content/collection")){t=e&&e.split("/content").pop()||"",n=this.environment.contentHost+"/"+this.environment.contentBucket+t;return e?n:""}if(this.environment&&this.environment.bucketName){if(e.indexOf("/"+this.environment.bucketName+"/profileImage")>-1){t=e&&e.split("/"+this.environment.bucketName).pop()||"",n=this.environment.contentHost+"/"+this.environment.contentBucket+t;return e?n:""}if(e.indexOf("/"+this.environment.bucketName+"/content")>-1){t=e&&e.split("/"+this.environment.bucketName).pop()||"",n=this.environment.contentHost+"/"+this.environment.contentBucket+t;return e?n:""}if(e.indexOf("/"+this.environment.bucketName+"/collection")>-1){t=e&&e.split("/"+this.environment.bucketName).pop()||"",n=this.environment.contentHost+"/"+this.environment.contentBucket+t;return e?n:""}}}},e.decorators=[{type:t.Pipe,args:[{name:"pipeCertImageURL"}]}],e.ctorParameters=function(){return[{type:void 0,decorators:[{type:t.Inject,args:["environment"]}]}]},e}();var Ke=function(){function e(){}return e.decorators=[{type:t.NgModule,args:[{declarations:[je],imports:[s.CommonModule],exports:[je]}]}],e}(),ze=function(){function e(e){this.environment=e}return e.prototype.transform=function(e){return e?this.generateUrl(e):""},e.prototype.generateUrl=function(e){for(var t=e?e.split("/"):[],n=this.environment.azureHost.split("/"),i=[],o=0;o<t.length;o+=1)2===o?i.push(n[o]):3===o?i.push(this.environment.azureBucket):i.push(t[o]);return i.join("/")},e.decorators=[{type:t.Pipe,args:[{name:"PipeNicRelative"}]}],e.ctorParameters=function(){return[{type:void 0,decorators:[{type:t.Inject,args:["environment"]}]}]},e}();var qe=function(){function e(){}return e.decorators=[{type:t.NgModule,args:[{declarations:[ze],imports:[s.CommonModule],exports:[ze]}]}],e}(),Qe=function(){function e(){}return e.prototype.transform=function(e){return e.split(",")[1]},e.decorators=[{type:t.Pipe,args:[{name:"pipeCourseName"}]}],e}(),Je=function(){function e(){}return e.decorators=[{type:t.NgModule,args:[{declarations:[Qe],imports:[s.CommonModule],exports:[Qe]}]}],e}(),$e=function(){function e(e,t,n){this.http=e,this.configSvc=t,this.utilitySvc=n,this.baseUrl=this.configSvc.sitePath,this.isIntranetAllowedSettings=!1}return e.prototype.resolve=function(e,t){var n=this;this.isIntranetAllowedSettings=this.configSvc.isIntranetAllowed;var i=decodeURIComponent(e.params.tags),r="";return e.data.pageUrl&&(r=e.data.pageUrl),"page"===e.data.pageType&&e.data.pageKey&&(r=this.baseUrl+"/page/"+e.data.pageKey+".json"),this.http.get(r).pipe(a.map((function(e){return{data:n.transformPageData(e,i),error:null}})),a.catchError((function(e){return o.of({data:null,error:e})})))},e.prototype.transformPageData=function(e,t){var n=this,i=t.split(">");return e.pageLayout.widgetData.widgets=e.pageLayout.widgetData.widgets.map((function(o){return e.navigationBar&&e.navigationBar.links&&(e.navigationBar.links=e.navigationBar.links.filter((function(e){return e.widgetData.tags===t}))),"cardBreadcrumb"===o.widgetSubType&&(o.widgetData.path=[{text:e.navigationBar.pageTitle,clickUrl:e.navigationBar.pageBackLink}].concat(i.map((function(e,t){return{text:e,clickUrl:"/page/explore/"+i.slice(0,t+1).join(">")}})))),"contentStripMultiple"===o.widgetSubType&&(o.widgetData.strips=o.widgetData.strips.map((function(e){return e.request.searchV6.filters[0].andFilters.push({catalogPaths:[t]}),n.utilitySvc.isMobile&&!n.isIntranetAllowedSettings&&e.request.searchV6.filters[0].andFilters.push({isInIntranet:["false"]}),e})),o.widgetData.noDataWidget&&o.widgetData.noDataWidget.widgetData.strips&&(o.widgetData.noDataWidget.widgetData.strips=o.widgetData.noDataWidget.widgetData.strips.map((function(e){return e.request.searchV6.filters[0].andFilters.push({catalogPaths:[t]}),n.utilitySvc.isMobile&&!n.isIntranetAllowedSettings&&e.request.searchV6.filters[0].andFilters.push({isInIntranet:["false"]}),e})))),o})),e},e.decorators=[{type:t.Injectable,args:[{providedIn:"root"}]}],e.ctorParameters=function(){return[{type:p.HttpClient},{type:C},{type:Q}]},e.ngInjectableDef=t.ɵɵdefineInjectable({factory:function(){return new e(t.ɵɵinject(p.HttpClient),t.ɵɵinject(C),t.ɵɵinject(Q))},token:e,providedIn:"root"}),e}();var Ze,Xe=function(){function e(e){this.http=e}return e.prototype.resolve=function(e,t){var n=this,i=e.params.tag;return this.http.get(e.data.pageUrl).pipe(a.map((function(e){return{data:n.transformPageData(e,i),error:null}})),a.catchError((function(e){return o.of({data:null,error:e})})))},e.prototype.transformPageData=function(e,t){return e.pageLayout.widgetData.widgets=e.pageLayout.widgetData.widgets.map((function(e){return"contentStripMultiple"===e.widgetSubType&&(e.widgetData.strips=e.widgetData.strips.map((function(e){return e.request.search.filters.catalogPaths=[decodeURIComponent(t)],e}))),e})),e},e.decorators=[{type:t.Injectable,args:[{providedIn:"root"}]}],e.ctorParameters=function(){return[{type:p.HttpClient}]},e.ngInjectableDef=t.ɵɵdefineInjectable({factory:function(){return new e(t.ɵɵinject(p.HttpClient))},token:e,providedIn:"root"}),e}();(function(e){function t(){}function n(){}function i(){}function o(){}function r(){}e.IPage=t,e.INavBar=n,e.INavBackground=i,e.INavLink=o,e.INavLinkConfig=r})(Ze||(Ze={}));var et={pagename:"lexid"},tt=function(){function e(e,t,n){this.configSvc=e,this.http=t,this.locale=n,this.baseUrl=this.configSvc.sitePath}return e.prototype.resolve=function(e){return e.data.pageUrl?this.getData(e.data.pageUrl):"feature"===e.data.pageType&&e.data.pageKey?this.getData(this.baseUrl+"/feature/"+e.data.pageKey):"page"===e.data.pageType&&e.data.pageKey&&e.paramMap.has(e.data.pageKey)?this.getData(this.baseUrl+"/page/"+e.paramMap.get(e.data.pageKey)):"page"!==e.data.pageType||!e.data.pageKey||"toc"!==e.data.pageKey&&"home"!==e.data.pageKey?{data:null,error:"CONFIGURATION_ERROR_PAGE_URL_NOT_FORMED"}:this.getData(this.baseUrl+"/page/"+e.data.pageKey)},e.prototype.setS3Cookie=function(e){return o.EMPTY},e.prototype.getContent=function(e){return this.http.post("/apis/protected/v8/content/"+e+"?hierarchyType=minimal",["status","artifactUrl"])},e.prototype.getData=function(e){var t=this,n=e.split("/").pop().split(".")[0]||"",i=n.startsWith("lex_auth_")?n:et[n];if(i)return o.forkJoin([this.setS3Cookie(i),this.getContent(i)]).pipe(a.mergeMap((function(e){var n=N(e,2),i=(n[0],n[1]);return"Expired"!==i.status&&"Deleted"!==i.status&&i.artifactUrl?t.http.get(i.artifactUrl+"?ts="+(new Date).getTime()).pipe(a.map((function(e){return{data:e,error:null}})),a.catchError((function(e){return o.of({data:null,error:e})}))):o.of({data:null,error:"NoContent"})})),a.catchError((function(e){return o.of({data:null,error:e})})));var r=[(i?this.setS3Cookie(i):o.of(!0)).pipe(a.mergeMap((function(){return t.http.get(e+".json").pipe(a.map((function(e){return{data:e,error:null}})),a.catchError((function(e){return o.of({data:null,error:e})})))}))),"en"===this.locale||"en-US"===this.locale?o.of({data:void 0,error:null}):this.http.get(e+"."+this.locale+".json").pipe(a.map((function(e){return{data:e,error:null}})),a.catchError((function(e){return o.of({data:null,error:e})})))];return o.forkJoin(r).pipe(a.map((function(e){var t=N(e,2),n=t[0],i=t[1];return i.data?i:n})))},e.decorators=[{type:t.Injectable,args:[{providedIn:"root"}]}],e.ctorParameters=function(){return[{type:C},{type:p.HttpClient},{type:String,decorators:[{type:t.Inject,args:[t.LOCALE_ID]}]}]},e.ngInjectableDef=t.ɵɵdefineInjectable({factory:function(){return new e(t.ɵɵinject(C),t.ɵɵinject(p.HttpClient),t.ɵɵinject(t.LOCALE_ID))},token:e,providedIn:"root"}),e}();var nt,it,ot,rt=function(){function e(){}return e.prototype.resolve=function(e){return e.data.pageUrl?e.data.pageUrl:"feature"===e.data.pageType&&e.data.pageKey?""+e.data.pageKey:"page"===e.data.pageType&&e.data.pageKey&&e.paramMap.has(e.data.pageKey)?""+e.paramMap.get(e.data.pageKey):"page"===e.data.pageType&&e.data.pageKey&&"toc"===e.data.pageKey?""+e.data.pageKey:"common module"},e.decorators=[{type:t.Injectable,args:[{providedIn:"root"}]}],e.ctorParameters=function(){return[]},e.ngInjectableDef=t.ɵɵdefineInjectable({factory:function(){return new e},token:e,providedIn:"root"}),e}(),at=function(){function e(){this.moduleName=""}return e.prototype.resolve=function(e){return e.data.pageUrl?e.data.pageUrl:"feature"===e.data.pageType&&e.data.pageKey?""+e.data.pageKey:"page"===e.data.pageType&&e.data.pageKey&&e.paramMap.has(e.data.pageKey)?(this.moduleName=e.paramMap.get(e.data.pageKey),""+(this.moduleName.charAt(0).toUpperCase()+this.moduleName.slice(1))):"page"===e.data.pageType&&e.data.pageKey&&"toc"===e.data.pageKey?""+e.data.pageKey:"common module"},e.decorators=[{type:t.Injectable,args:[{providedIn:"root"}]}],e.ctorParameters=function(){return[]},e.ngInjectableDef=t.ɵɵdefineInjectable({factory:function(){return new e},token:e,providedIn:"root"}),e}();(function(e){function t(){}function n(){}function i(){}function o(){}function r(){}function a(){}function s(){}function c(){}function l(){}function u(){}function p(){}function E(){}function d(){}function _(){}function S(){}function g(){}function A(){}function T(){}function I(){}function f(){}e.IConfig=t,e.IPortalUrls=n,e.IForgotPassword=i,e.ISourceLogo=o,e.IPath=function(){},e.IHubs=r,e.IIndexHtmlMeta=a,e.IFontSize=s,e.IKeycloak=c,e.ILocalsConfig=l,e.IMicrosoft=u,e.ITheme=p,e.IThemeColor=E,e.IOverrideThemeChanges=d,e.IDesktop=_,e.IMWeb=S,e.ILogos=g,e.IMailIds=A,e.IDetails=T,e.IPrimaryNavbarConfig=I,e.ITelemetryConfig=f})(nt||(nt={})),function(e){function t(){}function n(){}function i(){}e.IAppsConfig=t,e.IGroup=n,e.IFeature=i}(it||(it={})),function(e){function t(){}function n(){}function i(){}function o(){}function r(){}function a(){}e.IUserProfile=t,e.INodebbUserProfile=n,e.IUserPidProfile=i,e.IUserPidProfileV2=o,e.IUserPidProfileVer2=r,e.ILanguages=a}(ot||(ot={})),function(e){function t(){}function n(){}var i,o;function r(){}function a(){}function s(){}function c(){}function l(){}function u(){}function p(){}e.IContinueLearningData=t,e.IContent=n,function(e){e.PROGRAM="Program",e.COURSE="Course",e.MODULE="Course Unit",e.RESOURCE="Learning Resource",e.GOALS="GOALS",e.PRACTICE_RESOURCE="Practice Question Set",e.FINAL_ASSESSMENT="Course Assessment",e.COMP_ASSESSMENT="Competency Assessment",e.FTB_QUESTION="FTB Question",e.MTF_QUESTION="MTF Question",e.MULTIPLE_CHOICE_QUESTION="Multiple Choice Question",e.SINGLE_CHOICE_QUESTION="Single Choice Question",e.MANDATORY_COURSE_GOAL="Mandatory Course Goal",e.BLENDED_PROGRAM="Blended Program",e.OFFLINE_SESSION="Offline Session",e.KNOWLEDGE_ARTIFACT="Knowledge Artifact",e.KNOWLEDGE_BOARD="Knowledge Board",e.LEARNING_JOURNEY="Learning Journeys",e.CHANNEL="Channel"}(e.EPrimaryCategory||(e.EPrimaryCategory={})),e.IContentMinimal=r,e.ICollectionHierarchyResponse=a,e.IRelatedContentMeta=s,e.ICreator=c,e.IContentTopic=l,e.IContact=u,e.IViewerContinueLearningRequest=p,function(e){e.PROGRAM="Learning Path",e.CHANNEL="Channel",e.COURSE="Course",e.KNOWLEDGE_ARTIFACT="Knowledge Artifact",e.KNOWLEDGE_BOARD="Knowledge Board",e.LEARNING_JOURNEY="Learning Journeys",e.MODULE="Collection",e.RESOURCE="Resource"}(i=e.EContentTypes||(e.EContentTypes={})),function(e){e.PLAYLIST="Playlist"}(o=e.EMiscPlayerSupportedCollectionTypes||(e.EMiscPlayerSupportedCollectionTypes={})),e.PLAYER_SUPPORTED_COLLECTION_TYPES=[i.COURSE,i.MODULE,i.PROGRAM,o.PLAYLIST],e.KB_SUPPORTED_CONTENT_TYPES=[i.COURSE,i.MODULE,i.PROGRAM,i.RESOURCE],e.PLAYLIST_SUPPORTED_CONTENT_TYPES=[i.COURSE,i.MODULE,i.PROGRAM,i.RESOURCE],function(e){e.COLLECTION="application/vnd.ekstep.content-collection",e.HTML="application/html",e.ILP_FP="application/ilpfp",e.IAP="application/iap-assessment",e.M4A="audio/m4a",e.MP3="audio/mpeg",e.MP4="video/mp4",e.M3U8="application/x-mpegURL",e.INTERACTION="video/interactive",e.PDF="application/pdf",e.QUIZ="application/quiz",e.DRAG_DROP="application/drag-drop",e.HTML_PICKER="application/htmlpicker",e.WEB_MODULE="application/web-module",e.WEB_MODULE_EXERCISE="application/web-module-exercise",e.YOUTUBE="video/x-youtube",e.HANDS_ON="application/integrated-hands-on",e.RDBMS_HANDS_ON="application/rdbms",e.CLASS_DIAGRAM="application/class-diagram",e.CHANNEL="application/channel",e.COLLECTION_RESOURCE="resource/collection",e.CERTIFICATION="application/certification",e.PLAYLIST="application/playlist",e.QUESTION_SET="application/vnd.sunbird.questionset",e.QUESTION="application/vnd.sunbird.question",e.UNKNOWN="application/unknown",e.OFFLINE_SESSION="application/offline"}(e.EMimeTypes||(e.EMimeTypes={})),function(e){e.ASSESSMENT="ASSESSMENT",e.AUDIO="AUDIO",e.CERTIFICATION="CERTIFICATION",e.CHANNEL="Channel",e.CLASS_DIAGRAM="CLASS_DIAGRAM",e.COURSE="COURSE",e.DEFAULT="DEFAULT",e.DRAG_DROP="DRAG_DROP",e.EXTERNAL_CERTIFICATION="EXTERNAL_CERTIFICATION",e.EXTERNAL_COURSE="EXTERNAL_COURSE",e.GOALS="GOALS",e.HANDS_ON="HANDS_ON",e.IAP="IAP",e.INSTRUCTOR_LED="INSTRUCTOR_LED",e.INTERACTIVE_VIDEO="INTERACTIVE_VIDEO",e.KNOWLEDGE_ARTIFACT="KNOWLEDGE_ARTIFACT",e.MODULE="MODULE",e.PDF="PDF",e.PLAYLIST="PLAYLIST",e.PROGRAM="PROGRAM",e.QUIZ="QUIZ",e.RESOURCE="RESOURCE",e.RDBMS_HANDS_ON="RDBMS_HANDS_ON",e.VIDEO="VIDEO",e.WEB_MODULE="WEB_MODULE",e.WEB_PAGE="WEB_PAGE",e.YOUTUBE="YOUTUBE",e.KNOWLEDGE_BOARD="Knowledge Board",e.LEARNING_JOURNEY="Learning Journeys"}(e.EDisplayContentTypes||(e.EDisplayContentTypes={})),function(e){e.ALL="ALL",e.LEARN="LEARN",e.PRACTICE="PRACTICE",e.ASSESS="ASSESS"}(e.EFilterCategory||(e.EFilterCategory={})),function(e){e.NEWLY_ADDED="NEWLY ADDED"}(e.ETagType||(e.ETagType={}))}(e.NsContent||(e.NsContent={}));var st="/apis/protected/v8",ct={CONTENT:st+"/content",AUTHORING_CONTENT:"/apis/authApi/hierarchy",CONTENT_LIKES:st+"/content/likeCount",SET_S3_COOKIE:st+"/content/setCookie",SET_S3_IMAGE_COOKIE:st+"/content/setImageCookie",FETCH_MANIFEST:st+"/content/getWebModuleManifest",FETCH_WEB_MODULE_FILES:st+"/content/getWebModuleFiles",MULTIPLE_CONTENT:st+"/content/multiple",CONTENT_SEARCH_V5:st+"/content/searchV5",CONTENT_SEARCH_V6:st+"/content/searchV6",CONTENT_SEARCH_REGION_RECOMMENDATION:st+"/content/searchRegionRecommendation",CONTENT_HISTORY:st+"/user/history",USER_CONTINUE_LEARNING:st+"/user/history/continue",CONTENT_RATING:st+"/user/rating",COLLECTION_HIERARCHY:function(e,t){return st+"/content/collection/"+e+"/"+t},REGISTRATION_STATUS:st+"/admin/userRegistration/checkUserRegistrationContent",MARK_AS_COMPLETE_META:function(e){return st+"/user/progress/"+e},EXT_USER_COURSE_ENROLL:function(e){return"/apis/proxies/v8/cios-enroll/v1/readby/useridcourseid/"+e},EXT_CONTENT_EROLL:"/apis/proxies/v8/cios-enroll/v1/create",CERT_DOWNLOAD:function(e){return st+"/cohorts/course/batch/cert/download/"+e}},lt=function(){function n(e,t){this.http=e,this.configSvc=t}return n.prototype.fetchMarkAsCompleteMeta=function(e){ct.MARK_AS_COMPLETE_META(e);return o.of().toPromise()},n.prototype.fetchContent=function(e,t,n){void 0===t&&(t="detail"),void 0===n&&(n=[]);var i=ct.CONTENT+"/"+e+"?hierarchyType="+t;return this.http.post(i,{additionalFields:n}).pipe(a.retry(1))},n.prototype.fetchAuthoringContent=function(e){var t=ct.AUTHORING_CONTENT+"/"+e;return this.http.get(t).pipe(a.retry(1))},n.prototype.fetchMultipleContent=function(e){return this.http.get(ct.MULTIPLE_CONTENT+"/"+e.join(","))},n.prototype.fetchCollectionHierarchy=function(e,t,n,i){return void 0===n&&(n=0),void 0===i&&(i=1),this.http.get(ct.COLLECTION_HIERARCHY(e,t)+"?pageNumber="+n+"&pageSize="+i)},n.prototype.fetchContentLikes=function(e){return this.http.post(ct.CONTENT_LIKES,e).toPromise()},n.prototype.fetchContentRatings=function(e){return o.of().toPromise()},n.prototype.fetchContentHistory=function(e){return this.http.get(ct.CONTENT_HISTORY+"/"+e)},n.prototype.continueLearning=function(e,t,n){return f(this,void 0,void 0,(function(){var i=this;return h(this,(function(o){return[2,new Promise((function(o){return f(i,void 0,void 0,(function(){var i;return h(this,(function(r){switch(r.label){case 0:return n&&"playlist"===n.toLowerCase()?(i={contextPathId:t||e,resourceId:e,data:JSON.stringify({timestamp:Date.now(),contextFullPath:[t,e]}),dateAccessed:Date.now(),contextType:"playlist"},[4,this.saveContinueLearning(i).toPromise().catch().finally((function(){o(!0)}))]):[3,2];case 1:return r.sent(),[3,4];case 2:return i={contextPathId:t||e,resourceId:e,data:JSON.stringify({timestamp:Date.now()}),dateAccessed:Date.now()},[4,this.saveContinueLearning(i).toPromise().catch().finally((function(){o(!0)}))];case 3:r.sent(),r.label=4;case 4:return[2]}}))}))}))]}))}))},n.prototype.saveContinueLearning=function(e){return o.of()},n.prototype.setS3Cookie=function(e){return o.EMPTY},n.prototype.setS3ImageCookie=function(){return this.http.post(ct.SET_S3_IMAGE_COOKIE,{}).pipe(a.catchError((function(e){return o.of(!0)})))},n.prototype.fetchManifest=function(e){return this.http.post(ct.FETCH_MANIFEST,{url:e})},n.prototype.fetchWebModuleContent=function(e){return this.http.get(ct.FETCH_WEB_MODULE_FILES+"?url="+encodeURIComponent(e))},n.prototype.search=function(e){return e.query=e.query||"",this.http.post(ct.CONTENT_SEARCH_V5,{request:e})},n.prototype.searchRegionRecommendation=function(e){return e.query=e.query||"",e.preLabelValue=(e.preLabelValue||"")+(this.configSvc.userProfile&&this.configSvc.userProfile.country||""),e.filters=I({},e.filters,{labels:[e.preLabelValue||""]}),this.http.post(ct.CONTENT_SEARCH_REGION_RECOMMENDATION,{request:e})},n.prototype.searchV6=function(e){return e.query=e.query||"",this.http.post(ct.CONTENT_SEARCH_V6,e)},n.prototype.fetchContentRating=function(e){return this.http.get(ct.CONTENT_RATING+"/"+e)},n.prototype.deleteContentRating=function(e){return this.http.delete(ct.CONTENT_RATING+"/"+e)},n.prototype.addContentRating=function(e,t){return this.http.post(ct.CONTENT_RATING+"/"+e,t)},n.prototype.getFirstChildInHierarchy=function(t){if(!(t.children||[]).length)return t;if(!("Program"!==t.primaryCategory||t.artifactUrl&&t.artifactUrl.length)){var n=t.children[0];return this.getFirstChildInHierarchy(n)}if(t.primaryCategory===e.NsContent.EPrimaryCategory.RESOURCE||t.primaryCategory===e.NsContent.EPrimaryCategory.KNOWLEDGE_ARTIFACT||t.primaryCategory===e.NsContent.EPrimaryCategory.PROGRAM||t.primaryCategory===e.NsContent.EPrimaryCategory.PRACTICE_RESOURCE||t.primaryCategory===e.NsContent.EPrimaryCategory.FINAL_ASSESSMENT||t.primaryCategory===e.NsContent.EPrimaryCategory.COMP_ASSESSMENT||t.primaryCategory===e.NsContent.EPrimaryCategory.MANDATORY_COURSE_GOAL||t.primaryCategory===e.NsContent.EPrimaryCategory.OFFLINE_SESSION)return t;var i=t.children[0];return this.getFirstChildInHierarchy(i)},n.prototype.getRegistrationStatus=function(e){return this.http.get(ct.REGISTRATION_STATUS+"/"+e).toPromise()},n.prototype.fetchConfig=function(e){return this.http.get(e)},n.prototype.fetchExtUserContentEnroll=function(e){return this.http.get(ct.EXT_USER_COURSE_ENROLL(e))},n.prototype.extContentEnroll=function(e){return this.http.post(""+ct.EXT_CONTENT_EROLL,e)},n.prototype.downloadCert=function(e){return this.http.get(""+ct.CERT_DOWNLOAD(e))},n.decorators=[{type:t.Injectable,args:[{providedIn:"root"}]}],n.ctorParameters=function(){return[{type:p.HttpClient},{type:C}]},n.ngInjectableDef=t.ɵɵdefineInjectable({factory:function(){return new n(t.ɵɵinject(p.HttpClient),t.ɵɵinject(C))},token:n,providedIn:"root"}),n}();var ut=function(e){return"/apis/proxies/v8/user/v1/feed/"+e},pt=function(e){return"/apis/proxies/v8/forms/getFormById?id="+e},Et="/apis/proxies/v8/forms/v1/saveFormSubmit",dt="/apis/proxies/v8/user/feed/v1/delete",_t=function(){function e(e){this.http=e,this.telemetryEvents=new o.BehaviorSubject(!1),this.updateTelemetryDataObservable=this.telemetryEvents.asObservable()}return e.prototype.updateTelemetryData=function(e){this.telemetryEvents.next(e)},e.prototype.getFeedStatus=function(e){return this.http.get(ut(e))},e.prototype.getFormData=function(e){return this.http.get(pt(e))},e.prototype.submitPlatformRating=function(e){return this.http.post(Et,e)},e.prototype.deleteFeed=function(e){return this.http.post(dt,e)},e.decorators=[{type:t.Injectable}],e.ctorParameters=function(){return[{type:p.HttpClient}]},e}();var St=function(){function n(e,t,n,i,o,r){this.configSvc=e,this.eventsSvc=t,this.logger=i,this.router=o,this.npsSvc=r,this.previousUrl=null,this.telemetryConfig=null,this.pData=null,this.contextCdata=[],this.isAnonymousTelemetry=!0,this.telArray=[],this.externalApps={RBCP:"rbcp-web-ui"},this.environment=n;var a=this.configSvc.instanceConfig;this.navigationStart(),this.initializeConfig(a),this.addPlayerListener(),this.addCustomEventListener(),this.addInteractListener(),this.addFeedbackListener(),this.addTimeSpentListener(),this.addSearchListener(),this.addHearbeatListener(),this.addCustomImpressionListener(),this.addCustomListener(),this.addCustomListenerForGetStart(),this.addCustomListenerForPlatformRating()}return n.prototype.navigationStart=function(){var e=this;this.router.events.subscribe((function(t){if(t instanceof E.NavigationStart&&(t.url.includes("/public/")||t.url.includes("&preview=true")||t.url.includes("/certs"))){e.isAnonymousTelemetry=!0,e.updateTelemetryConfig();var n=e.configSvc.instanceConfig;e.initializeConfig(n)}}))},Object.defineProperty(n.prototype,"isAnonymousTelemetryRequired",{get:function(){return this.isAnonymousTelemetry},enumerable:!0,configurable:!0}),n.prototype.updateTelemetryConfig=function(){this.configSvc.instanceConfig&&this.configSvc.instanceConfig.telemetryConfig&&(this.isAnonymousTelemetryRequired?this.configSvc.instanceConfig.telemetryConfig.endpoint=this.configSvc.instanceConfig.telemetryConfig.publicEndpoint:this.configSvc.instanceConfig.telemetryConfig.endpoint=this.configSvc.instanceConfig.telemetryConfig.protectedEndpoint)},n.prototype.initializeConfig=function(e){e&&(this.telemetryConfig=e.telemetryConfig,this.telemetryConfig=I({},this.telemetryConfig,{pdata:I({},this.telemetryConfig.pdata,{id:this.environment.name+"."+this.telemetryConfig.pdata.id}),uid:this.configSvc.userProfile&&this.configSvc.userProfile.userId?this.configSvc.userProfile.userId:"",channel:this.rootOrgId||this.telemetryConfig.channel,sid:this.getTelemetrySessionId}),this.pData=this.telemetryConfig.pdata)},Object.defineProperty(n.prototype,"getTelemetrySessionId",{get:function(){return localStorage.getItem("telemetrySessionId")||""},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"rootOrgId",{get:function(){return this.configSvc&&this.configSvc.userProfile&&this.configSvc.userProfile.rootOrgId?this.configSvc.userProfile.rootOrgId:""},enumerable:!0,configurable:!0}),n.prototype.triggerNPSUpdate=function(e){this.telArray.push(e),this.telArray&&4===this.telArray.length&&localStorage.getItem("ratingformID")&&(this.telArray=[],this.npsSvc.updateTelemetryData(!0))},n.prototype.start=function(e,t,n){try{this.telemetryConfig?$t.start(this.telemetryConfig,n&&n.pageId?n.pageId:"","1.0",{type:e.type,mode:e.mode,pageid:n&&n.pageId?n.pageId:"",duration:1},{context:I({pdata:I({},this.pData,{id:this.pData.id})},n&&n.module?{env:n.module}:null),object:I({},t&&t)}):this.logger.error("Error Initializing Telemetry. Config missing.")}catch(e){console.log("Error in telemetry start",e)}},n.prototype.end=function(e,t,n){try{$t.end({type:e.type,mode:e.mode,pageid:n&&n.pageId?n.pageId:""},{context:I({pdata:I({},this.pData,{id:this.pData.id})},n&&n.module?{env:n.module}:null),object:I({},t&&t)})}catch(e){console.log("Error in telemetry end",e)}},n.prototype.audit=function(e,t,n){try{$t.audit({type:e,props:t,state:n,prevstate:"",duration:""},{context:{pdata:I({},this.pData,{id:this.pData.id})}})}catch(e){console.log("Error in telemetry audit",e)}},n.prototype.heartbeat=function(e,t){try{$t.heartbeat({id:t,type:e})}catch(e){console.log("Error in telemetry heartbeat",e)}},n.prototype.impression=function(e,t){this.triggerNPSUpdate(e);try{var n=this.getPageDetails();e&&e.pageContext&&(n.pageid=e.pageContext.pageId,n.module=e.pageContext.module);var i={pageid:n.pageid,type:n.pageUrlParts[0],uri:n.pageUrl};if(n.objectId){var o={context:{pdata:I({},this.pData,{id:this.pData.id}),env:n.module||this.telemetryConfig&&this.telemetryConfig.env},object:I({id:n.objectId,type:t},e&&e.object)};n.objectId&&t||(o.object={}),$t.impression(i,o)}else $t.impression(i,{context:{pdata:I({},this.pData,{id:this.pData&&this.pData.id}),env:n.module||""},object:I({},e&&e.object)});this.previousUrl=n.pageUrl}catch(e){console.log("Error in telemetry impression",e)}},n.prototype.externalImpression=function(e){try{var t=this.getPageDetails();if(this.externalApps[e.subApplicationName]){var n=t.objectId?{context:{pdata:I({},this.pData,{id:this.externalApps[e.subApplicationName]})},object:{id:t.objectId}}:{context:{pdata:I({},this.pData,{id:this.externalApps[e.subApplicationName]})}};$t.impression(e.data,n)}}catch(e){console.log("Error in telemetry externalImpression",e)}},n.prototype.addCustomListenerForPlatformRating=function(){var t=this;this.eventsSvc.getPREvents$.pipe(a.filter((function(t){return t&&t.eventType===e.WsEvents.WsEventType.Telemetry&&t.data.eventSubType===e.WsEvents.EnumTelemetrySubType.PlatformRating&&t.data.mode&&t.data}))).subscribe((function(n){n.data.state===e.WsEvents.EnumTelemetrySubType.Loaded&&t.start({type:n.data.type||e.WsEvents.WsTimeSpentType.Player,mode:n.data.mode||e.WsEvents.WsTimeSpentMode.Play},{},n.pageContext),n.data.state===e.WsEvents.EnumTelemetrySubType.Unloaded&&t.end({type:n.data.type||e.WsEvents.WsTimeSpentType.Player,mode:n.data.mode||e.WsEvents.WsTimeSpentMode.Play},n.data.object,n.pageContext),n.data.state===e.WsEvents.EnumTelemetrySubType.Interact&&$t.interact({type:n.data.edata.type,subtype:n.data.edata.subType,id:n.data.edata&&n.data.edata.id?n.data.edata.id:"",pageid:n.pageContext&&n.pageContext.pageId||""},{context:I({pdata:I({},t.pData,{id:t.pData.id})},n.pageContext&&n.pageContext.module?{env:n.pageContext.module}:null),object:I({},n.data.object)})}))},n.prototype.addCustomListenerForGetStart=function(){var t=this;this.eventsSvc.getStartEvents$.pipe(a.filter((function(t){return t&&t.eventType===e.WsEvents.WsEventType.Telemetry&&t.data.eventSubType===e.WsEvents.EnumTelemetrySubType.GetStarted&&t.data.mode&&t.data}))).subscribe((function(n){n.data.state===e.WsEvents.EnumTelemetrySubType.Loaded&&t.start({type:n.data.type||e.WsEvents.WsTimeSpentType.Player,mode:n.data.mode||e.WsEvents.WsTimeSpentMode.Play},{},n.pageContext),n.data.state===e.WsEvents.EnumTelemetrySubType.Unloaded&&t.end({type:n.data.type||e.WsEvents.WsTimeSpentType.Player,mode:n.data.mode||e.WsEvents.WsTimeSpentMode.Play},n.data.object,n.pageContext),n.data.state===e.WsEvents.EnumTelemetrySubType.Interact&&$t.interact({type:n.data.edata.type,subtype:n.data.edata.subType,id:n.data.edata&&n.data.edata.id?n.data.edata.id:"",pageid:n.pageContext&&n.pageContext.pageId||""},{context:I({pdata:I({},t.pData,{id:t.pData.id})},n.pageContext&&n.pageContext.module?{env:n.pageContext.module}:null),object:I({},n.data.object)})}))},n.prototype.addCustomListener=function(){var t=this;this.eventsSvc.chatbotEvents$.pipe(a.filter((function(t){return t&&t.eventType===e.WsEvents.WsEventType.Telemetry&&t.data.eventSubType===e.WsEvents.EnumTelemetrySubType.Chatbot&&t.data.mode&&t.data}))).subscribe((function(n){n.data.state===e.WsEvents.EnumTelemetrySubType.Loaded&&t.start({type:n.data.type||e.WsEvents.WsTimeSpentType.Player,mode:n.data.mode||e.WsEvents.WsTimeSpentMode.Play},{},n.pageContext),n.data.state===e.WsEvents.EnumTelemetrySubType.Unloaded&&t.end({type:n.data.type||e.WsEvents.WsTimeSpentType.Player,mode:n.data.mode||e.WsEvents.WsTimeSpentMode.Play},{},n.pageContext),n.data.state===e.WsEvents.EnumTelemetrySubType.Interact&&$t.interact({type:n.data.edata.type,subtype:n.data.edata.subType,id:n.data.edata&&n.data.edata.id?n.data.edata.id:"",pageid:n.pageContext&&n.pageContext.pageId||""},{context:I({pdata:I({},t.pData,{id:t.pData.id})},n.pageContext&&n.pageContext.module?{env:n.pageContext.module}:null),object:I({},n.data.object)})}))},n.prototype.addCustomImpressionListener=function(){var t=this;this.eventsSvc.events$.pipe(a.filter((function(t){return t&&t.data&&t.eventType===e.WsEvents.WsEventType.Telemetry&&t.data.eventSubType===e.WsEvents.EnumTelemetrySubType.Impression}))).subscribe((function(e){try{t.impression(e.data)}catch(e){console.log("Error in telemetry impression",e)}}))},n.prototype.addTimeSpentListener=function(){var t=this;this.eventsSvc.events$.pipe(a.filter((function(t){return t&&t.eventType===e.WsEvents.WsEventType.Telemetry&&t.data.type===e.WsEvents.WsTimeSpentType.Page&&t.data.mode&&t.data}))).subscribe((function(n){n.data.state===e.WsEvents.EnumTelemetrySubType.Loaded&&t.start({type:n.data.type||e.WsEvents.WsTimeSpentType.Player,mode:n.data.mode||e.WsEvents.WsTimeSpentMode.Play},{},n.pageContext),n.data.state===e.WsEvents.EnumTelemetrySubType.Unloaded&&t.end({type:n.data.type||e.WsEvents.WsTimeSpentType.Player,mode:n.data.mode||e.WsEvents.WsTimeSpentMode.Play},{},n.pageContext)}))},n.prototype.addCustomEventListener=function(){var t=this;this.eventsSvc.events$.pipe(a.filter((function(t){return t&&t.eventType===e.WsEvents.WsEventType.Telemetry}))).subscribe((function(n){n.data.state===e.WsEvents.EnumTelemetrySubType.Loaded&&n.data.type!==e.WsEvents.WsTimeSpentType.Player&&t.start({type:n.data.type,mode:n.data.mode||e.WsEvents.WsTimeSpentMode.Play},n.data.object,n.pageContext),n.data.state===e.WsEvents.EnumTelemetrySubType.Unloaded&&n.data.type!==e.WsEvents.WsTimeSpentType.Player&&t.end({type:n.data.type||e.WsEvents.WsTimeSpentType.Player,mode:n.data.mode||e.WsEvents.WsTimeSpentMode.Play},n.data.object,n.pageContext)}))},n.prototype.addPlayerListener=function(){var t=this;this.eventsSvc.events$.pipe(a.filter((function(t){return t&&t.eventType===e.WsEvents.WsEventType.Telemetry&&t.data.type===e.WsEvents.WsTimeSpentType.Player&&t.data.mode&&t.data}))).subscribe((function(n){var i=n.data.content;n.data.state!==e.WsEvents.EnumTelemetrySubType.Loaded||i&&"maybe"!==(i.isIframeSupported||"").toLowerCase()&&"yes"!==(i.isIframeSupported||"").toLowerCase()&&(i.mimeType,0)||t.start({type:n.data.type||e.WsEvents.WsTimeSpentType.Player,mode:n.data.mode||e.WsEvents.WsTimeSpentMode.Play},n.data.object,n.pageContext),n.data.state!==e.WsEvents.EnumTelemetrySubType.Unloaded||i&&"maybe"!==(i.isIframeSupported||"").toLowerCase()&&"yes"!==(i.isIframeSupported||"").toLowerCase()&&(i.mimeType,0)||t.end({type:n.data.type||e.WsEvents.WsTimeSpentType.Player,mode:n.data.mode||e.WsEvents.WsTimeSpentMode.Play},n.data.object,n.pageContext)}))},n.prototype.addInteractListener=function(){var t=this,n=this.getPageDetails();this.triggerNPSUpdate(n.pageid),this.eventsSvc.events$.pipe(a.filter((function(t){return t&&t.data&&t.eventType===e.WsEvents.WsEventType.Telemetry&&t.data.eventSubType===e.WsEvents.EnumTelemetrySubType.Interact}))).subscribe((function(e){var n=t.getPageDetails();if("string"==typeof e.from&&t.externalApps[e.from]){var i={context:{pdata:I({},t.pData,{id:t.externalApps[e.from]})}};try{$t.interact(e.data,i)}catch(e){console.log("Error in telemetry interact",e)}}else try{$t.interact({type:e.data.edata.type,subtype:e.data.edata.subType,id:e.data.edata&&e.data.edata.id?e.data.edata.id:"",pageid:e.data.pageContext&&e.data.pageContext.pageId||n.pageid},{context:I({pdata:I({},t.pData,{id:t.pData.id})},e.pageContext&&e.pageContext.module?{env:e.pageContext.module}:null),object:I({},e.data.object)})}catch(e){console.log("Error in telemetry interact",e)}}))},n.prototype.addFeedbackListener=function(){var t=this;this.eventsSvc.events$.pipe(a.filter((function(t){return t&&t.data&&t.eventType===e.WsEvents.WsEventType.Telemetry&&t.data.eventSubType===e.WsEvents.EnumTelemetrySubType.Feedback}))).subscribe((function(e){var n=t.getPageDetails();try{$t.feedback({rating:e.data.object.rating||0,commentid:e.data.object.commentid||"",commenttxt:e.data.object.commenttxt||"",pageid:n.pageid},{context:{pdata:I({},t.pData,{id:t.pData.id})},object:{id:e.data.object.contentId||e.data.object.id||"",type:e.data.edata.type||"",ver:""+(e.data.object.version||"1"),rollup:{}}})}catch(e){console.log("Error in telemetry interact",e)}}))},n.prototype.addHearbeatListener=function(){var t=this;this.eventsSvc.events$.pipe(a.filter((function(t){return t&&t.data&&t.eventType===e.WsEvents.WsEventType.Telemetry&&t.data.eventSubType===e.WsEvents.EnumTelemetrySubType.HeartBeat}))).subscribe((function(e){if("string"==typeof e.from&&t.externalApps[e.from]){var n={context:{pdata:I({},t.pData,{id:t.externalApps[e.from]})}};try{$t.heartbeat(e.data,n)}catch(e){console.log("Error in telemetry heartbeat",e)}}else try{$t.heartbeat({type:e.data.type,id:e.data.id},{context:{pdata:I({},t.pData,{id:t.pData.id})}})}catch(e){console.log("Error in telemetry heartbeat",e)}}))},n.prototype.addSearchListener=function(){var t=this;this.eventsSvc.events$.pipe(a.filter((function(t){return t&&t.data&&t.eventType===e.WsEvents.WsEventType.Telemetry&&t.data.eventSubType===e.WsEvents.EnumTelemetrySubType.Search}))).subscribe((function(e){try{$t.search({query:e.data.query,filters:e.data.filters,size:e.data.size},{context:{pdata:I({},t.pData,{id:t.pData.id})}})}catch(e){console.log("Error in telemetry search",e)}}))},n.prototype.getPageDetails=function(){var e=window.location.pathname.replace("/",""),t=e+window.location.search,n="";return e.includes("discussion-forum")&&(n="Discuss"),{pageid:e,pageUrl:t,pageUrlParts:e.split("/"),refferUrl:this.previousUrl,objectId:this.extractContentIdFromUrlParts(e.split("/")),module:n}},n.prototype.extractContentIdFromUrlParts=function(e){var t=e.indexOf("toc"),n=e.indexOf("viewer");return-1===t&&-1===n?null:-1!==t&&t<e.length-1?e[t+1]:-1!==n&&n<e.length-2?e[n+2]:null},n.decorators=[{type:t.Injectable,args:[{providedIn:"root"}]}],n.ctorParameters=function(){return[{type:C},{type:J},{type:void 0,decorators:[{type:t.Inject,args:["environment"]}]},{type:X},{type:E.Router},{type:_t}]},n.ngInjectableDef=t.ɵɵdefineInjectable({factory:function(){return new n(t.ɵɵinject(C),t.ɵɵinject(J),t.ɵɵinject("environment"),t.ɵɵinject(X),t.ɵɵinject(E.Router),t.ɵɵinject(_t))},token:n,providedIn:"root"}),n}();var gt=function(){function n(e,t,n,i,o,r){var a=this;this.configSvc=e,this.contentSvc=t,this.activatedRoute=n,this.router=i,this.eventSvc=o,this.teleSvc=r,this.subAppname="",this.continueLearningData=null,this.loaded=!1,this.changeContextrespond(),this.configSvc.prefChangeNotifier.subscribe((function(){a.changeContextrespond()}))}return n.prototype.loadedRespond=function(e,t,n){var i=this;if(n&&this.activatedRoute.snapshot.queryParams.viewMode&&"RESUME"===this.activatedRoute.snapshot.queryParams.viewMode)this.continueLearningData=null,this.contentSvc.fetchContentHistory(n).subscribe((function(n){if(i.continueLearningData=n.continueData,i.configSvc&&i.configSvc.userProfile){var o=i.configSvc.userProfile.userName?i.configSvc.userProfile.userName.split(" ",2)[0]:"",r=i.configSvc.userProfile.userName?i.configSvc.userProfile.userName.split(" ",2)[1]:"",a=i.activatedRoute.snapshot.queryParams.viewMode?i.activatedRoute.snapshot.queryParams.viewMode:"",s={subApplicationName:t,requestId:"LOADED",parentContext:{domainName:window.location.host,url:i.router.url,rootOrg:i.configSvc.rootOrg,theme:i.configSvc.activeThemeObject?I({name:i.configSvc.activeThemeObject.themeName},i.configSvc.activeThemeObject.color):"",fontSize:i.configSvc.activeFontObject?i.configSvc.activeFontObject.baseFontSize:"14px",locale:i.configSvc.userPreference&&i.configSvc.userPreference.selectedLocale||"en",darkMode:i.configSvc.isDarkMode,subApplicationStartMode:a.toUpperCase(),user:{firstName:o,lastName:r,userId:i.configSvc.userProfile.userId?i.configSvc.userProfile.userId:"",roles:i.configSvc.userRoles?Array.from(i.configSvc.userRoles):[]},heartbeatFrequency:"200"},data:i.continueLearningData.data?{continueLearning:i.continueLearningData.data}:null};e.postMessage(s,"*"),i.contentWindowinfo=e,i.loaded=!0,i.subAppname=t}}));else if(this.configSvc&&this.configSvc.userProfile){var o=this.configSvc.userProfile.userName?this.configSvc.userProfile.userName.split(" ",2)[0]:"",r=this.configSvc.userProfile.userName?this.configSvc.userProfile.userName.split(" ",2)[1]:"",a=this.activatedRoute.snapshot.queryParams.viewMode?this.activatedRoute.snapshot.queryParams.viewMode:"",s={subApplicationName:t,requestId:"LOADED",parentContext:{domainName:window.location.host,url:this.router.url,rootOrg:this.configSvc.rootOrg,theme:this.configSvc.activeThemeObject?I({name:this.configSvc.activeThemeObject.themeName},this.configSvc.activeThemeObject.color):"",fontSize:this.configSvc.activeFontObject?this.configSvc.activeFontObject.baseFontSize:"14px",locale:this.configSvc.userPreference&&this.configSvc.userPreference.selectedLocale||"en",darkMode:this.configSvc.isDarkMode,subApplicationStartMode:a.toUpperCase(),user:{firstName:o,lastName:r,userId:this.configSvc.userProfile.userId?this.configSvc.userProfile.userId:"",roles:this.configSvc.userRoles?Array.from(this.configSvc.userRoles):[]},heartbeatFrequency:"200"},data:null};e.postMessage(s,"*"),this.contentWindowinfo=e,this.loaded=!0,this.subAppname=t}},n.prototype.continueLearningRespond=function(e,t){this.contentSvc.saveContinueLearning({contextPathId:e,resourceId:e,data:JSON.stringify({timestamp:Date.now(),data:t}),dateAccessed:Date.now()}).toPromise().catch()},n.prototype.telemetryEvents=function(t){if(t)switch(t.eventId){case"INTERACT":this.eventSvc.dispatchEvent({eventType:e.WsEvents.WsEventType.Telemetry,eventLogLevel:e.WsEvents.WsEventLogLevel.Warn,data:I({},t.data,{eventSubType:e.WsEvents.EnumTelemetrySubType.Interact}),from:t.subApplicationName,to:"Telemetry"});break;case"HEARTBEAT":this.eventSvc.dispatchEvent({eventType:e.WsEvents.WsEventType.Telemetry,eventLogLevel:e.WsEvents.WsEventLogLevel.Trace,data:I({},t.data,{eventSubType:e.WsEvents.EnumTelemetrySubType.HeartBeat}),from:t.subApplicationName,to:"Telemetry"});break;case"IMPRESSION":this.teleSvc.externalImpression(t.data)}},n.prototype.unsubscribeResponse=function(){this.subAppname="",this.continueLearningData=null,this.contentWindowinfo=null,this.loaded=!1},n.prototype.changeContextrespond=function(){if(this.loaded&&this.contentWindowinfo&&this.configSvc&&this.configSvc.userProfile&&this.subAppname){var e=this.configSvc.userProfile.userName?this.configSvc.userProfile.userName.split(" ",2)[0]:"",t=this.configSvc.userProfile.userName?this.configSvc.userProfile.userName.split(" ",2)[1]:"",n=this.activatedRoute.snapshot.queryParams.viewMode?this.activatedRoute.snapshot.queryParams.viewMode:"",i={subApplicationName:this.subAppname,requestId:"CONTEXT_CHANGE",parentContext:{domainName:window.location.host,url:this.router.url,rootOrg:this.configSvc.rootOrg,theme:this.configSvc.activeThemeObject?I({name:this.configSvc.activeThemeObject.themeName},this.configSvc.activeThemeObject.color):"",fontSize:this.configSvc.activeFontObject?this.configSvc.activeFontObject.baseFontSize:"14px",locale:this.configSvc.userPreference&&this.configSvc.userPreference.selectedLocale||"en",darkMode:this.configSvc.isDarkMode,subApplicationStartMode:n.toUpperCase(),user:{firstName:e,lastName:t,userId:this.configSvc.userProfile.userId?this.configSvc.userProfile.userId:"",roles:this.configSvc.userRoles?Array.from(this.configSvc.userRoles):[]},heartbeatFrequency:"200"}};this.contentWindowinfo.postMessage(i,"*")}},n.decorators=[{type:t.Injectable,args:[{providedIn:"root"}]}],n.ctorParameters=function(){return[{type:C},{type:lt},{type:E.ActivatedRoute},{type:E.Router},{type:J},{type:St}]},n.ngInjectableDef=t.ɵɵdefineInjectable({factory:function(){return new n(t.ɵɵinject(C),t.ɵɵinject(lt),t.ɵɵinject(E.ActivatedRoute),t.ɵɵinject(E.Router),t.ɵɵinject(J),t.ɵɵinject(St))},token:n,providedIn:"root"}),n}();var At="/apis/protected/v8/user/preference",Tt=function(){function e(e,t){this.http=e,this.configurationSvc=t}return e.prototype.initialize=function(){var e=this;this.configurationSvc.prefChangeNotifier.pipe(a.debounceTime(250)).subscribe((function(t){e.configurationSvc.isAuthenticated&&e.saveUserPreference(t)}))},e.prototype.fetchUserPreference=function(){return f(this,void 0,void 0,(function(){return h(this,(function(e){switch(e.label){case 0:return[4,this.http.get(At).toPromise()];case 1:return[2,e.sent()]}}))}))},e.prototype.saveUserPreference=function(e){return f(this,void 0,void 0,(function(){var t,n,i=this;return h(this,(function(r){switch(r.label){case 0:return r.trys.push([0,2,,3]),e?(t=I({},this.configurationSvc.userPreference,{pinnedApps:e&&e.pinnedApps||this.configurationSvc.userPreference&&this.configurationSvc.userPreference.pinnedApps||"",isDarkMode:this.configurationSvc.isDarkMode,isRTL:this.configurationSvc.isRTL,selectedTheme:this.configurationSvc.activeThemeObject&&this.configurationSvc.activeThemeObject.themeClass||"",selectedFont:this.configurationSvc.activeFontObject&&this.configurationSvc.activeFontObject.fontClass||"",selectedLangGroup:this.configurationSvc.userPreference&&this.configurationSvc.userPreference.selectedLangGroup||"",selectedLocale:this.configurationSvc.userPreference&&this.configurationSvc.userPreference.selectedLocale||"",colorPallet:this.configurationSvc.userPreference&&this.configurationSvc.userPreference.colorPallet||[],defaultCardType:this.configurationSvc.userPreference&&this.configurationSvc.userPreference.defaultCardType||"",completedActivity:this.configurationSvc.userPreference&&this.configurationSvc.userPreference.completedActivity||[]},e||{},{completedTour:this.configurationSvc.completedTour,profileSettings:this.configurationSvc.userPreference&&this.configurationSvc.userPreference.profileSettings||this.configurationSvc.profileSettings}),n=this.configurationSvc.userPreference,this.configurationSvc.userPreference=t,[4,this.http.put(At,t).pipe(a.retry(3),a.catchError((function(e){return i.configurationSvc.userPreference=n,o.of(e)}))).toPromise()]):[2,!1];case 1:return r.sent(),[2,!0];case 2:return r.sent(),[2,!1];case 3:return[2]}}))}))},e.decorators=[{type:t.Injectable,args:[{providedIn:"root"}]}],e.ctorParameters=function(){return[{type:p.HttpClient},{type:C}]},e.ngInjectableDef=t.ɵɵdefineInjectable({factory:function(){return new e(t.ɵɵinject(p.HttpClient),t.ɵɵinject(C))},token:e,providedIn:"root"}),e}();var It,ft=function(){function e(e,t,n){this.translate=e,this.http=t,this.configSvc=n,this.selectedLang="",this.languageSelected=new o.BehaviorSubject(!0),this.languageSelectedObservable=this.languageSelected.asObservable(),this.editProfileDetails="/apis/proxies/v8/user/v1/extPatch"}return e.prototype.getLanguage=function(){if(this.configSvc.unMappedUser)if(this.configSvc.unMappedUser.profileDetails&&this.configSvc.unMappedUser.profileDetails.additionalProperties&&this.configSvc.unMappedUser.profileDetails.additionalProperties.webPortalLang){var e=this.configSvc.unMappedUser.profileDetails.additionalProperties.webPortalLang;this.translate.use(e),localStorage.setItem("websiteLanguage",e)}else{if(localStorage.getItem("websiteLanguage"))e=(e=JSON.stringify(localStorage.getItem("websiteLanguage"))).replace(/\"/g,""),this.translate.use(e);else this.translate.setDefaultLang("en"),localStorage.setItem("websiteLanguage","en")}else localStorage.getItem("websiteLanguage")&&(e=(e=JSON.stringify(localStorage.getItem("websiteLanguage"))).replace(/\"/g,""),this.translate.use(e))},e.prototype.translateLabelWithoutspace=function(e,t,n){var i=e;if(i=i&&i.replace(/\s/g,""),n){var o=t+"."+i+n;return this.translate.instant(o)}var r=t+"."+i;return this.translate.instant(r)},e.prototype.translateLabel=function(e,t,n){var i=e,o=(i=i.toLowerCase()).split(" ");if(o.forEach((function(e,t){0!==t&&(o[t]=e[0].toUpperCase()+e.slice(1))})),i=(i=o.join("")).replace(/\s/g,""),n){var r=t+"."+i+n;return this.translate.instant(r)}var a=t+"."+i;return this.translate.instant(a)},e.prototype.translateActualLabel=function(e,t,n){var i=e,o=i.split(" ");if(o.forEach((function(e,t){0!==t&&(o[t]=e[0].toUpperCase()+e.slice(1))})),i=(i=o.join("")).replace(/\s/g,""),n){var r=t+"."+i+n;return this.translate.instant(r)}var a=t+"."+i;return this.translate.instant(a)},e.prototype.editProfileDetailsAPI=function(e){return this.http.post(this.editProfileDetails,e)},e.prototype.updatelanguageSelected=function(e,t,n){if(this.languageSelected.next(e),this.translate.use(t),this.selectedLang=t,n){var i={request:{userId:n,profileDetails:{additionalProperties:{webPortalLang:this.selectedLang}}}};this.editProfileDetailsAPI(i).subscribe()}},e.decorators=[{type:t.Injectable,args:[{providedIn:"root"}]}],e.ctorParameters=function(){return[{type:g.TranslateService},{type:p.HttpClient},{type:C}]},e.ngInjectableDef=t.ɵɵdefineInjectable({factory:function(){return new e(t.ɵɵinject(g.TranslateService),t.ɵɵinject(p.HttpClient),t.ɵɵinject(C))},token:e,providedIn:"root"}),e}();(function(e){function t(){}function n(){}function i(){}function o(){}function r(){}function a(){}function s(){}function c(){}e.IUnitPermissionObject=t,e.IPermissions=n,e.IBaseConfig=i,e.IRegistrationConfig=o,e.IRegistrationsPermissionConfig=r,e.IRenderConfigWithTypedData=a,e.IWidgetData=s,e.ITitle=c})(It||(It={})),e.AuthKeycloakService=oe,e.AuthMicrosoftService=ne,e.ClassChangeOnScrollModule=L,e.ConfigurationsService=C,e.DefaultThumbnailModule=D,e.EFeatures={PLAYLIST:"playlist",PLAYLIST_CREATE:"playlistCreate",PLAYLIST_ADD_NEW_CONTENT:"playlistAddNewContent",PLAYLIST_REMOVE_EXISTING_CONTENT:"playlistRemoveExistingContent",PLAYLIST_DELETE:"playlistDelete",PLAYLIST_SHARE:"playlistShare",GOAL:"goal",GOAL_CREATE_OWN:"goalCreateOwn",GOAL_CREATE_SUGGESTED:"goalCreateSuggested",GOAL_EDIT_EXISTING_GOAL:"goalEditExistingGoal",GOAL_DELETE_EXISTING_GOAL:"goalDeleteExistingGoal",GOAL_SHARE_GOAL_WITH_OTHERS:"goalShareGoalWithOthers",GOAL_VIEW_ALL_GOALS_SECTION:"goalViewAllGoalsSection",GOAL_VIEW_IN_PROGRESS_GOALS_SECTION:"goalViewInProgressGoalsSection",GOAL_VIEW_COMPLETED_GOALS_SECTION:"goalViewCompletedGoalsSection",NAVIGATOR:"navigator",NAVIGATOR_VIEW_NAVIGATOR_CAROUSEL:"navigatorViewNavigatorCarousel",NAVIGATOR_VIEW_ROLES_PAGE:"navigatorViewRolesPage",NAVIGATOR_SELECT_ANY_PILLAR:"navigatorSelectAnyPillar",NAVIGATOR_PURSUE_ANY_OFFERING:"navigatorPursueAnyOffering",NAVIGATOR_CREATE_GOAL_FROM_OFFERING:"navigatorCreateGoalFromOffering",NAVIGATOR_VIEW_EXPLORE_PAGE:"navigatorViewExplorePage",NAVIGATOR_SELECT_ANY_LEARNING_PATH:"navigatorSelectAnyLearningPath",NAVIGATOR_CREATE_GOAL_FROM_LEARNING_PATH:"navigatorCreateGoalFromLearningPath",NAVIGATOR_VIEW_SUGGESTIONS_PAGE:"navigatorViewSuggestionsPage",NAVIGATOR_SELECT_SUGGESTED_TOPICS:"navigatorSelectSuggestedTopics",NAVIGATOR_GET_SUGGESTIONS_OF_SELECTED_TOPICS:"navigatorGetSuggestionsOfSelectedTopics",NAVIGATOR_CREATE_GOAL_FROM_SELECTED_LEARNING_PATHS:"navigatorCreateGoalFromSelectedLearningPaths",NAVIGATOR_VIEW_INDUSTRIES_PAGE:"navigatorViewIndustriesPage",NAVIGATOR_VIEW_CME_PAGE:"navigatorViewCmePage",NAVIGATOR_SELECT_SUBDOMAIN:"navigatorSelectSubdomain",NAVIGATOR_SELECT_PILLAR:"navigatorSelectPillar",NAVIGATOR_SELECT_THEME:"navigatorSelectTheme",NAVIGATOR_VIEW_CPG_PAGE:"navigatorViewCpgPage",NAVIGATOR_VIEW_ENERGY_PAGE:"navigatorViewEnergyPage",NAVIGATOR_VIEW_FINANCIAL_SERVICES_PAGE:"navigatorViewFinancialServicesPage",NAVIGATOR_VIEW_HEALTH_CARE_PAGE:"navigatorViewHealthCarePage",NAVIGATOR_VIEW_INSURANCE_PAGE:"navigatorViewInsurancePage",NAVIGATOR_VIEW_LIFE_SCIENCES_PAGE:"navigatorViewLifeSciencesPage",NAVIGATOR_VIEW_MFG_PAGE:"navigatorViewMfgPage",NAVIGATOR_VIEW_RETAIL_PAGE:"navigatorViewRetailPage",NAVIGATOR_VIEW_TRAVEL_AND_HOSPITALITY_PAGE:"navigatorViewTravelAndHospitalityPage",NAVIGATOR_VIEW_UTILITIES_PAGE:"navigatorViewUtilitiesPage",NAVIGATOR_VIEW_CME_ANALYTICS:"navigatorViewCmeAnalytics",NAVIGATOR_VIEW_GPG_ANALYTICS:"navigatorViewGpgAnalytics",NAVIGATOR_VIEW_ENERGY_ANALYTICS:"navigatorViewEnergyAnalytics",NAVIGATOR_VIEW_FINANCIAL_SERVICES_ANALYTICS:"navigatorViewFinancialServicesAnalytics",NAVIGATOR_VIEW_HEALTH_CARE_ANALYTICS:"navigatorViewHealthCareAnalytics",NAVIGATOR_VIEW_INSURANCE_ANALYTICS:"navigatorViewInsuranceAnalytics",NAVIGATOR_VIEW_LIFE_SCIENCES_ANALYTICS:"navigatorViewLifeSciencesAnalytics",NAVIGATOR_VIEW_MFG_ANALYTICS:"navigatorViewMfgAnalytics",NAVIGATOR_VIEW_RETAIL_ANALYTICS:"navigatorViewRetailAnalytics",NAVIGATOR_VIEW_TRAVEL_AND_HOSPITALITY_ANALYTICS:"navigatorViewTravelAndHospitalityAnalytics",NAVIGATOR_VIEW_UTILITIES_ANALYTICS:"navigatorViewUtilitiesAnalytics",NAVIGATOR_VIEW_PILLARS_PAGE:"navigatorViewPillarsPage",NAVIGATOR_VIEW_DIFFERENT_COURSES_IN_PILLAR:"navigatorViewDifferentCoursesInPillar",NAVIGATOR_VIEW_FULL_STACK_PAGE:"navigatorViewFullStackPage",NAVIGATOR_VIEW_DIFFERENT_FULL_STACK_PROGRAMS:"navigatorViewDifferentFullStackPrograms",CATALOG:"catalog",CATALOG_VIEW_CATALOG_LIST:"catalogViewCatalogList",CATALOG_SELECT_ITEM_FROM_CATALOG_LIST:"catalogSelectItemFromCatalogList",CATALOG_VIEW_PROGRAMS_STRIP:"catalogViewProgramsStrip",CATALOG_VIEW_COURSES_STRIP:"catalogViewCoursesStrip",CATALOG_VIEW_LEARNING_MODULES_STRIP:"catalogViewLearningModulesStrip",CATALOG_VIEW_RESOURCES_STRIP:"catalogViewResourcesStrip",MARKETING_PAGE:"marketingPage",MARKETING_PAGE_VIEW_BRAND_ASSETS_PAGE:"marketingPageViewBrandAssetsPage",MARKETING_PAGE_VIEW_CORPORATE_STRIP:"marketingPageViewCorporateStrip",MARKETING_PAGE_VIEW_EMPLOYEE_STRIP:"marketingPageViewEmployeeStrip",MARKETING_PAGE_VIEW_EXPERIMENTAL_SHOWCASE_PAGE:"marketingPageViewExperimentalShowcasePage",MARKETING_PAGE_VIEW_HUBS_PAGE:"marketingPageViewHubsPage",MARKETING_PAGE_VIEW_CONNECTICUT_STRIP:"marketingPageViewConnecticutStrip",MARKETING_PAGE_VIEW_INDIANA_STRIP:"marketingPageViewIndianaStrip",MARKETING_PAGE_VIEW_RHODE_ISLAND_STRIP:"marketingPageViewRhodeIslandStrip",MARKETING_PAGE_VIEW_CLIENT_STORIES_PAGE:"marketingPageViewClientStoriesPage",MARKETING_PAGE_VIEW_AGILE_SCALE_AT_DIGITAL_STRIP:"marketingPageViewAgileScaleAtDigitalStrip",MARKETING_PAGE_VIEW_AI_POWERED_CORE_STRIP:"marketingPageViewAiPoweredCoreStrip",MARKETING_PAGE_VIEW_ALWAYS_ON_LEAVING_STRIP:"marketingPageViewAlwaysOnLeavingStrip",MARKETING_PAGE_VIEW_SERVICES_PAGE:"marketingPageViewServicesPage",MARKETING_PAGE_VIEW_SERVICES_PENTAGON:"marketingPageViewServicesPentagon",MARKETING_PAGE_VIEW_OFFERINGS_LIST:"marketingPageViewOfferingsList",MARKETING_PAGE_SELECT_ANY_OFFERING:"marketingPageSelectAnyOffering",MARKETING_PAGE_SELECT_ANY_PILLAR_FROM_PENTAGON:"marketingPageSelectAnyPillarFromPentagon",MARKETING_PAGE_VIEW_INDUSTRIES_PAGE:"marketingPageViewIndustriesPage",MARKETING_PAGE_VIEW_INDUSTRIES_LIST:"marketingPageViewIndustriesList",MARKETING_PAGE_SELECT_ANY_INDUSTRY:"marketingPageSelectAnyIndustry",MARKETING_PAGE_VIEW_PRODUCT_AND_SUBSIDIARIES_PAGE:"marketingPageViewProductAndSubsidiariesPage",MARKETING_PAGE_VIEW_PRODUCT_AND_SUBSIDIARIES_LIST:"marketingPageViewProductAndSubsidiariesList",MARKETING_PAGE_SELECT_ANY_PRODUCT_AND_SUBSIDIARY:"marketingPageSelectAnyProductAndSubsidiary",INTERESTS:"interests",INTERESTS_ADD_INTERESTS_FROM_SEARCH:"interestsAddInterestsFromSearch",INTERESTS_ADD_INTERESTS_FROM_OUR_SUGGESTIONS_SECTION:"interestsAddInterestsFromOurSuggestionsSection",INTERESTS_REMOVE_INTERESTS_FROM_MY_INTERESTS_SECTION:"interestsRemoveInterestsFromMyInterestsSection",INTERESTS_VIEW_INTERESTS_SEARCH_FIELD:"interestsViewInterestsSearchField",INTERESTS_VIEW_MY_INTERESTS_SECTION:"interestsViewMyInterestsSection",INTERESTS_VIEW_OWN_SUGGESTIONS_SECTION:"interestsViewOwnSuggestionsSection",INTERESTS_VIEW_MORE_SUGGESTIONS_BUTTON:"interestsViewMoreSuggestionsButton",FEEDBACK:"feedback",FEEDBACK_VIEW_PLATFORM_FEEDBACK_SECTION:"feedbackViewPlatformFeedbackSection",FEEDBACK_STAR_RATING_FOR_PLATFORM:"feedbackStarRatingForPlatform",FEEDBACK_WRITE_PLATFORM_FEEDBACK:"feedbackWritePlatformFeedback",FEEDBACK_RESET_PLATFORM_FEEDBACK:"feedbackResetPlatformFeedback",FEEDBACK_SUBMIT_PLATFORM_FEEDBACK:"feedbackSubmitPlatformFeedback",FEEDBACK_VIEW_CONTENT_FEEDBACK_SECTION:"feedbackViewContentFeedbackSection",FEEDBACK_STAR_RATING_FOR_CONTENT:"feedbackStarRatingForContent",FEEDBACK_WRITE_CONTENT_FEEDBACK:"feedbackWriteContentFeedback",FEEDBACK_RESET_CONTENT_FEEDBACK:"feedbackResetContentFeedback",FEEDBACK_SUBMIT_CONTENT_FEEDBACK:"feedbackSubmitContentFeedback",FEEDBACK_VIEW_ISSUE_REPORTING_SECTION:"feedbackViewIssueReportingSection",FEEDBACK_WRITING_ISSUE:"feedbackWritingIssue",FEEDBACK_RESET_ISSUE:"feedbackResetIssue",FEEDBACK_SUBMIT_ISSUE:"feedbackSubmitIssue",CONTACT_US:"contactUs",CONTACT_US_VIEW_RAISE_AHD_SECTION:"contactUsViewRaiseAhdSection",CONTACT_US_VIEW_MAIL_US_SECTION:"contactUsViewMailUsSection",CONTACT_US_VIEW_TALK_TO_US_SECTION:"contactUsViewTalkToUsSection",CONTACT_US_RAISE_AHD:"contactUsRaiseAhd",CONTACT_US_WRITE_EMAIL:"contactUsWriteEmail",CONTACT_US_DIAL_FROM_PHONE:"contactUsDialFromPhone",FAQ:"faq",FAQ_VIEW_LOGIN_FAQS:"faqViewLoginFaqs",FAQ_VIEW_ODC_ACCESS_FAQS:"faqViewOdcAccessFaqs",FAQ_VIEW_COMPATIBILITY_FAQS:"faqViewCompatibilityFaqs",FAQ_VIEW_INSTALLATION_FAQS:"faqViewInstallationFaqs",FAQ_VIEW_PROGRESS_COMPLETION_FAQS:"faqViewProgressCompletionFaqs",FAQ_VIEW_VIDEO_FAQS:"faqViewVideoFaqs",FAQ_VIEW_AUTHORING_FAQS:"faqViewAuthoringFaqs",MOBILE_APPS:"mobileApps",MOBILE_APPS_VIEW_ANDROID_APP_SECTION:"mobileAppsViewAndroidAppSection",MOBILE_APPS_DOWNLOAD_APP_FROM_PLAY_STORE:"mobileAppsDownloadAppFromPlayStore",MOBILE_APPS_DOWNLOAD_APP_FROM_OUR_SERVER:"mobileAppsDownloadAppFromOurServer",MOBILE_APPS_VIEW_QR_CODE_FOR_ANDROID_APP:"mobileAppsViewQrCodeForAndroidApp",MOBILE_APPS_VIEW_IOS_APP_SECTION:"mobileAppsViewIosAppSection",MOBILE_APPS_DOWNLOAD_IOS_APP:"mobileAppsDownloadIosApp",MOBILE_APPS_VIEW_QR_CODE_FOR_IOS_APP:"mobileAppsViewQrCodeForIosApp",ABOUT_US:"aboutUs",ABOUT_US_VIEW_ABOUT_US_PAGE_SECTIONS:"aboutUsViewAboutUsPageSections",SETTINGS:"settings",SETTINGS_VIEW_LANGUAGE_SECTION:"settingsViewLanguageSection",SETTINGS_VIEW_FONT_SIZE_SECTION:"settingsViewFontSizeSection",SETTINGS_VIEW_THEME_SECTION:"settingsViewThemeSection",SETTINGS_CHANGE_LANGUAGE:"settingsChangeLanguage",SETTINGS_CHANGE_FONT_SIZE:"settingsChangeFontSize",SETTINGS_CHANGE_THEME:"settingsChangeTheme",LOGIN_PAGE:"loginPage",LOGIN_PAGE_LOGIN_FOR_INFOSCIONS:"loginPageLoginForInfoscions",LOGIN_PAGE_LOGIN_FOR_SUBSIDIARIES:"loginPageLoginForSubsidiaries",LOGIN_PAGE_LOGIN_FOR_NEW_RECRUITS:"loginPageLoginForNewRecruits",LOGIN_PAGE_ABOUT_US:"loginPageAboutUs",LOGIN_PAGE_TERMS_OF_USE:"loginPageTermsOfUse",LOGIN_PAGE_FAQS:"loginPageFaqs",LOGIN_PAGE_CONTACT_US:"loginPageContactUs",TOC_PAGE:"tocPage",TOC_PAGE_VIEW_OVERVIEW_SECTION:"tocPageViewOverviewSection",TOC_PAGE_VIEW_INSTRUCTOR_LED_SECTION:"tocPageViewInstructorLedSection",TOC_PAGE_VIEW_COHORTS_SECTION:"tocPageViewCohortsSection",TOC_PAGE_VIEW_DISCUSSION_FORUM_SECTION:"tocPageViewDiscussionForumSection",TOC_PAGE_VIEW_COURSE_ANALYTICS_SECTION:"tocPageViewCourseAnalyticsSection",TOC_PAGE_VIEW_WHATS_NEXT_SECTION:"tocPageViewWhatsNextSection",TOC_PAGE_VIEW_PART_OF_SECTION:"tocPageViewPartOfSection",TOC_PAGE_REGISTER_FOR_UPCOMING_TRAINING:"tocPageRegisterForUpcomingTraining",TOC_PAGE_UNREGISTER_FROM_REGISTERED_TRAINING:"tocPageUnregisterFromRegisteredTraining",TOC_PAGE_SHARE_INSTRUCTOR_LED_TRAININGS:"tocPageShareInstructorLedTrainings",TOC_PAGE_VIEW_EDUCATORS_OF_TRAININGS:"tocPageViewEducatorsOfTrainings",TOC_PAGE_NOMINATE_OTHERS_FOR_TRAININGS:"tocPageNominateOthersForTrainings",TOC_PAGE_REQUEST_TRAINING:"tocPageRequestTraining",TOC_PAGE_VIEW_ACTIVE_LEARNERS_SECTION:"tocPageViewActiveLearnersSection",TOC_PAGE_VIEW_ALL_ACTIVE_LEARNERS:"tocPageViewAllActiveLearners",TOC_PAGE_VIEW_CURRENTLY_ACTIVE_LEARNERS:"tocPageViewCurrentlyActiveLearners",TOC_PAGE_VIEW_LEARNERS_SHARING_THE_SAME_GOALS:"tocPageViewLearnersSharingTheSameGoals",TOC_PAGE_VIEW_EXPERTS_AND_TUTORS_SECTION:"tocPageViewExpertsAndTutorsSection",TOC_PAGE_VIEW_ALL_EXPERTS_AND_TUTORS:"tocPageViewAllExpertsAndTutors",TOC_PAGE_VIEW_AUTHORS_OF_COURSE:"tocPageViewAuthorsOfCourse",TOC_PAGE_VIEW_EDUCATORS_OF_COURSE:"tocPageViewEducatorsOfCourse",TOC_PAGE_VIEW_TOPPERS_OF_COURSE:"tocPageViewToppersOfCourse",TOC_PAGE_MAIL_THE_PERSON:"tocPageMailThePerson",TOC_PAGE_CALL_THE_PERSON:"tocPageCallThePerson",TOC_PAGE_POST_VIEWS_IN_DISCUSSION_FORUM:"tocPagePostViewsInDiscussionForum",TOC_PAGE_LEARN_THE_COURSE:"tocPageLearnTheCourse",TOC_PAGE_LIKE_THE_COURSE:"tocPageLikeTheCourse",TOC_PAGE_SHARE_THE_COURSE:"tocPageShareTheCourse",TOC_PAGE_ADD_COURSE_TO_GOALS:"tocPageAddCourseToGoals",TOC_PAGE_ADD_COURSE_TO_PLAYLIST:"tocPageAddCourseToPlaylist",TOC_PAGE_ADD_COURSE_TO_WATCHLIST:"tocPageAddCourseToWatchlist",TOC_PAGE_GIVE_COURSE_FEEDBACK:"tocPageGiveCourseFeedback",TOC_PAGE_RESUME_THE_COURSE:"tocPageResumeTheCourse",TOC_PAGE_START_OVER_THE_COURSE:"tocPageStartOverTheCourse",TOC_PAGE_GO_TO_COURSE_QUIZ:"tocPageGoToCourseQuiz",TOC_PAGE_GO_TO_COURSE_HANDS_ON:"tocPageGoToCourseHandsOn",NAVBAR:"navbar",NAVBAR_VIEW_LOGO:"navbarViewLogo",NAVBAR_CATALOG_ICON:"navbarCatalogIcon",NAVBAR_NAVIGATOR_ICON:"navbarNavigatorIcon",NAVBAR_NOTIFICATION_ICON:"navbarNotificationIcon",NAVBAR_SETTINGS_ICON:"navbarSettingsIcon",NAVBAR_SEARCH_ICON:"navbarSearchIcon",NAVBAR_APPS_ICON:"navbarAppsIcon",HOME_PAGE:"homePage",HOME_PAGE_VIEW_CAROUSEL:"homePageViewCarousel",HOME_PAGE_VIEW_CONTINUE_LEARNING_STRIP:"homePageViewContinueLearningStrip",HOME_PAGE_VIEW_FEATURED_APPS_STRIP:"homePageViewFeaturedAppsStrip",HOME_PAGE_VIEW_RECENT_ADDITION_TO_PLAYLISTS_STRIP:"homePageViewRecentAdditionToPlaylistsStrip",HOME_PAGE_VIEW_BASED_ON_YOUR_INTERESTS_STRIP:"homePageViewBasedOnYourInterestsStrip",HOME_PAGE_VIEW_BASED_ON_WHAT_YOU_VIEWED_STRIP:"homePageViewBasedOnWhatYouViewedStrip",HOME_PAGE_VIEW_LATEST_STRIP:"homePageViewLatestStrip",HOME_PAGE_VIEW_TRENDING_STRIP:"homePageViewTrendingStrip",HOME_PAGE_SHOW_COMPLETED_FILTER:"homePageShowCompletedFilter",HOME_PAGE_SHOW_RESOURCES_FILTER:"homePageShowResourcesFilter",TNC_PAGE:"tncPage",TNC_PAGE_VIEW_CONTEST_RULES_SECTION:"tncPageViewContestRulesSection",TNC_PAGE_VIEW_DATA_PRIVACY_SECTION:"tncPageViewDataPrivacySection",TNC_PAGE_ACCEPT_TERMS_AND_CONDITIONS:"tncPageAcceptTermsAndConditions",BLOGS:"blogs",BLOG_VIEW_OTHERS_BLOGS:"blogViewOthersBlogs",BLOGS_LIKE_OTHER_BLOGS:"blogsLikeOtherBlogs",BLOGS_VIEW_MY_BLOGS:"blogsViewMyBlogs",BLOGS_WRITE_NEW_BLOG:"blogsWriteNewBlog",BLOGS_SAVE_BLOG_AS_DRAFT:"blogsSaveBlogAsDraft",BLOGS_EDIT_MY_SAVED_BLOG:"blogsEditMySavedBlog",BLOGS_PUBLISH_MY_BLOG:"blogsPublishMyBlog",BLOGS_UPVOTE_FOR_BLOG:"blogsUpvoteForBlog",BLOGS_DOWNVOTE_FOR_BLOG:"blogsDownvoteForBlog",BLOGS_WRITE_RESPONSE_FOR_BLOG:"blogsWriteResponseForBlog",BLOGS_DELETE_MY_BLOG:"blogsDeleteMyBlog",BLOGS_EDIT_MY_RESPONSE:"blogsEditMyResponse",BLOGS_DELETE_MY_RESPONSE:"blogsDeleteMyResponse",BLOGS_VIEW_DRAFTS_SECTION:"blogsViewDraftsSection",BLOGS_VIEW_PUBLISHED_SECTION:"blogsViewPublishedSection",QUESTION_AND_ANSWER:"questionAndAnswer",QUESTION_AND_ANSWER_VIEW_ALL_QUESTIONS_AND_ANSWERS:"questionAndAnswerViewAllQuestionsAndAnswers",QUESTION_AND_ANSWER_VIEW_ONLY_UNANSWERED_QUESTIONS:"questionAndAnswerViewOnlyUnansweredQuestions",QUESTION_AND_ANSWER_VIEW_MY_TIMELINE:"questionAndAnswerViewMyTimeline",QUESTION_AND_ANSWER_ASK_NEW_QUESTION:"questionAndAnswerAskNewQuestion",QUESTION_AND_ANSWER_VIEW_SPECIFIC_QUESTION:"questionAndAnswerViewSpecificQuestion",QUESTION_AND_ANSWER_UPVOTE_FOR_ANSWER:"questionAndAnswerUpvoteForAnswer",QUESTION_AND_ANSWER_DOWNVOTE_FOR_ANSWER:"questionAndAnswerDownvoteForAnswer",QUESTION_AND_ANSWER_LIKE_AN_ANSWER:"questionAndAnswerLikeAnAnswer",QUESTION_AND_ANSWER_ADD_COMMENT_FOR_ANY_ANSWER:"questionAndAnswerAddCommentForAnyAnswer",QUESTION_AND_ANSWER_ADD_ANSWER_FOR_ANY_QUESTION:"questionAndAnswerAddAnswerForAnyQuestion",QUESTION_AND_ANSWER_SAVE_QUESTION_AS_DRAFT:"questionAndAnswerSaveQuestionAsDraft",QUESTION_AND_ANSWER_PUBLISH_SAVED_QUESTION:"questionAndAnswerPublishedSavedQuestion",QUESTION_AND_ANSWER_VIEW_DRAFTS_SECTION:"questionAndAnswerViewDraftsSection",QUESTION_AND_ANSWER_VIEW_PUBLISHED_SECTION:"questionAndAnswerViewPublishedSection",BADGES:"badges",BADGES_VIEW_RECENTLY_EARNED_BADGE:"badgesViewRecentlyEarnedBadge",BADGES_VIEW_ALL_EARNED_BADGES:"badgesViewAllEarnedBadges",BADGES_VIEW_NEXT_TARGETTED_BADGES:"badgesViewNextTargettedBadges",HANDS_ON_DASHBOARD:"handsOnDashboard",HANDS_ON_DASHBOARD_VIEW_MY_DASHBOARD:"handsOnDashboardViewMyDashboard",HANDS_ON_DASHBOARD_VIEW_SHARED_PROFILE_SECTION:"handsOnDashboardViewSharedProfileSection",LEARNING_HISTORY:"learningHistory",LEARNING_HISTORY_VIEW_PROGRAMS_SECTION:"learningHistoryViewProgramsSection",LEARNING_HISTORY_VIEW_COURSES_SECTION:"learningHistoryViewCoursesSection",LEARNING_HISTORY_VIEW_LEARNING_MODULES_SECTION:"learningHistoryViewLearningModulesSection",LEARNING_HISTORY_VIEW_RESOURCES_SECTION:"learningHistoryViewResourcesSection",LEARNING_HISTORY_VIEW_CERTIFICATIONS_SECTION:"learningHistoryViewCertificationsSection",LEARNING_HISTORY_APPLY_COMPLETED_FILTER:"learningHistoryApplyCompletedFilter",LEARNING_HISTORY_VIEW_MORE_BUTTON:"learningHistoryViewMoreButton",LEARNING_TIME:"learningTime",LEARNING_TIME_VIEW_LEARNING_TIME_GRAPH:"learningTimeViewLearningTimeGraph",LEARNING_TIME_APPLY_BAR_GRAPH_FILTER:"learningTimeApplyBarGraphFilter",LEARNING_TIME_APPLY_DATE_RANGE_FILTER:"learningTimeApplyDateRangeFilter",LEARNING_TIME_APPLY_TIME_SPENT_FILTER:"learningTimeApplyTimeSpentFilter",LEARNING_TIME_APPLY_APP_AVERAGE_FILTER:"learningTimeApplyAppAverageFilter",LEARNING_TIME_APPLY_USER_AVERAGE_OVER_PERIOD_FILTER:"learningTimeApplyUserAverageOverPeriodFilter",NOTIFICATION:"notification",NOTIFICATION_VIEW_RECENT_BADGE_EARNED:"notificationViewRecentBadgeEarned",NOTIFICATION_VIEW_SHARED_PLAYLIST:"notificationViewSharedPlaylist",NOTIFICATION_VIEW_SHARED_GOALS:"notificationViewSharedGoals",PROFILE:"profile",PROFILE_VIEW_BASIC_INFORMATION:"profileViewBasicInformation",PROFILE_VIEW_RECENTLY_LEARNED_COURSES:"profileViewRecentlyLearnedCourses",PROFILE_VIEW_LIKED_ITEMS:"profileViewLikedItems",PROFILE_VIEW_BADGES_EARNED:"profileViewBadgesEarned",BEHAVIORAL_SKILLS:"behavioralSkills",BEHAVIORAL_SKILLS_VIEW_MODEL_CLIENT_INTERACTIONS:"behavioralSkillsViewModalClientInteractions",BEHAVIORAL_SKILLS_VIEW_CLIENT_INTERACTION_TESTS:"behavioralSkillsViewClientInteractionTests",CERTIFICATIONS:"certifications",CERTIFICATIONS_VIEW_MY_APPROVALS_SECTION:"certificationsViewMyApprovalsSection",CERTIFICATIONS_VIEW_MY_REQUESTS_SECTION:"certificationsViewMyRequestsSection",CERTIFICATIONS_VIEW_MY_CERTIFICATIONS_SECTION:"certificationsViewMyCertificationsSection",CERTIFICATIONS_APPLY_COMPLETION_STATUS_FILTER:"certificationsApplyCompletionStatusFilter",CODE_CRACK:"codeCrack",CODE_CRACK_VIEW_PUZZLE_MANIA:"codeCrackViewPuzzleMania",CODE_CRACK_VIEW_CODE_CRACK:"codeCrackViewCodeCrack",CODE_CRACK_VIEW_TECHNOLOGY_PLAYGROUND:"codeCrackViewTechnologyPlayground",CODE_CRACK_WATCH_PROGRAMMING_CHALLENGES_VIDEO:"codeCrackWatchProgrammingChallengesVideo",CODE_CRACK_VIEW_ACCELERATE:"codeCrackViewAccelerate",CODE_CRACK_START_CODE_CRACK_TEST:"codeCrackStartCodeCrackTest",CODE_CRACK_START_PUZZLE_MANIA:"codeCrackStartPuzzleMania",CODE_CRACK_START_TECHNOLOGY_PLAYGROUND:"codeCrackStartTechnologyPlayground",INSTRUCTOR_LED_TRAINING:"instructorLedTraining",INSTRUCTOR_LED_TRAINING_VIEW_TRAINING_SCHEDULE_SECTION:"instructorLedTrainingViewTrainingScheduleSection",INSTRUCTOR_LED_TRAINING_VIEW_FEEDBACK_SECTION:"instructorLedTrainingViewFeedbackSection",INSTRUCTOR_LED_TRAINING_VIEW_TRAININGS_PLANNED_BY_YOUR_TEAM_SECTION:"instructorLedTrainingViewTrainingsPlannedByYourTeamSection",INSTRUCTOR_LED_TRAINING_SEARCH_TRAINING:"instructorLedTrainingSearchTraining",INSTRUCTOR_LED_TRAINING_REGISTER_FOR_TRAINING:"instructorLedTrainingRegisterForTraining",INSTRUCTOR_LED_TRAINING_GIVE_TRAINING_FEEDBACK:"instructorLedTrainingGiveTrainingFeedback",LEADERBOARD:"leaderboard",LEADERBOARD_VIEW_WEEKLY_SECTION:"leaderboardViewWeeklySection",LEADERBOARD_VIEW_MONTHLY_SECTION:"leaderboardViewMonthlySection",LEADERBOARD_VIEW_HALL_OF_FAME_SECTION:"leaderboardViewHallOfSection",LEADERBOARD_APPLY_LEARNER_COLLABORATOR_FILTER:"leaderboardApplyLearnerCollaboratorFilter",LEADERBOARD_BACK_DATE_BUTTON:"leaderboardBackDatebutton",LEADERBOARD_FORWARD_DATE_BUTTON:"leaderboardForwardDateButton",PLAYGROUND:"playground",PLAYGROUND_VIEW_TECHNOLOGY_PLAYGROUNDS_STRIP:"playgroundViewTechnologyPlaygorundsStrip",PLAYGROUND_VIEW_ASSESSMENTS_PLAYGROUNDS_STRIP:"playgroundViewAssessmentsPlaygroundsStrip",PUZZLE_MANIA:"puzzleMania",PUZZLE_MANIA_VIEW_PUZZLE_MANIA:"puzzleManiaViewPuzzleMania",PUZZLE_MANIA_VIEW_CODE_CRACK:"puzzleManiaViewCodeCrack",PUZZLE_MANIA_VIEW_TECHNOLOGY_PLAYGROUND:"puzzleManiaViewTechnologyPlayground",PUZZLE_MANIA_WATCH_PROGRAMMING_CHALLENGES_VIDEO:"puzzleManiaWatchProgrammingChallengesVideo",PUZZLE_MANIA_VIEW_ACCELERATE:"puzzleManiaViewAccelerate",PUZZLE_MANIA_START_CODE_CRACK_TEST:"puzzleManiaStartCodeCrackTest",PUZZLE_MANIA_START_PUZZLE_MANIA:"puzzleManiaStartPuzzleMania",PUZZLE_MANIA_START_TECHNOLOGY_PLAYGROUND:"puzzleManiaStartTechnologyPlayground",FULL_STACK_SALES_LEADER:"fullStackSalesLeader",FULL_STACK_SALES_LEADER_WATCH_LEADER_VIDEO:"fullStackSalesLeaderWatchLeaderVideo",FULL_STACK_SALES_LEADER_EMBARK_ON_THIS_LEARNING_JOURNEY_BUTTON:"fullStackSalesLeaderEmbarkOnThisLearningJourneyButton",FULL_STACK_SALES_LEADER_QUICK_TOUR_VIDEO_LINK:"fullStackSalesLeaderQuickTourVideoLink",FULL_STACK_SALES_LEADER_FEEDBACK_LINK:"fullStackSalesLeaderFeedbackLink",FULL_STACK_SALES_LEADER_DROP_NOTE_LINK:"fullStackSalesLeaderDropNoteLink",ONBOARDING:"onboarding",ONBOARDING_VIEW_DC_ONBOARDING_PROGRAMS_STRIP:"onboardingViewDcOnboardingProgramsStrip",ONBOARDING_VIEW_ORGANISATIONAL_ONBOARDING_PROGRAMS_STRIP:"onboardingViewOrganisationalOnboardingProgramsStrip",ONBOARDING_VIEW_ROLE_BASED_ONBOARDING_PROGRAMS_STRIP:"onboardingViewRoleBasedOnboardingProgramsStrip",ONBOARDING_VIEW_UNIT_AND_PROJECT_ONBOARDING_PROGRAMS_STRIP:"onboardingViewUnitAndProjectOnboardingProgramsStrip",SEARCH:"search",SEARCH_SEARCHING_CONTENT:"searchSearchingContent",KNOWLEDGE_HUB:"knowledgeHub",KNOWLEDGE_HUB_SUBMIT_KNOWLEDGE_ARTIFACTS:"knowledgeHubSubmitKnowledgeArtifacts",KNOWLEDGE_HUB_VIEW_TOP_PROJECTS_SECTION:"knowledgeHubViewTopProjectsSection",KNOWLEDGE_HUB_VIEW_INTERESTING_READS_SECTION:"knowledgeHubViewInterestingReadsSection",KNOWLEDGE_HUB_VIEW_MARKETING_SECTION:"knowledgeHubViewMarketingSection",KNOWLEDGE_HUB_VIEW_KSHOP_CLASSIC_SECTION:"knowledgeHubViewKshopClassicSection",KNOWLEDGE_HUB_VIEW_TRENDING_TOOLS_SECTION:"knowledgeHubViewTrendingToolsSection",KNOWLEDGE_HUB_VIEW_DOCUMENTS_STRIP:"knowledgeHubViewDocumentsStrip",KNOWLEDGE_HUB_VIEW_TOOLS_STRIP:"knowledgeHubViewProjectReferencesStrip",KNOWLEDGE_HUB_VIEW_MARKETING_STRIP:"knowledgeHubViewMarketingStrip",CHANNELS:"channels",CHANNELS_VIEW_LEADERSHIP_SECTION:"channelsViewLeadershipSection",CHANNELS_VIEW_RAVI_KUMAR_PAGE:"channelsViewRaviKumarPage",CHANNELS_VIEW_MOHIT_JOSHI_PAGE:"channelsViewMohitJoshiPage",CHANNELS_FOLLOW_RAVI_KUMAR:"channelsFollowRaviKumar",CHANNELS_MAIL_TO_RAVI_KUMAR:"channelsMailToRaviKumar",CHANNELS_VIEW_ABOUT_RAVI_KUMAR_SECTION:"channelsViewAboutRaviKumarSection",CHANNELS_VIEW_RAVI_KUMAR_TWEETS_SECTION:"channelsViewRaviKumarTweetsSection",CHANNELS_VIEW_RAVI_KUMAR_ARTICLES_SECTION:"channelsViewRaviKumarArticlesSection",CHANNELS_VIEW_RAVI_KUMAR_TRAILBLAZERS_SECTION:"channelsViewRaviKumarTrailblazersSection",CHANNELS_VIEW_RAVI_KUMAR_COMMUNICATIONS_SECTION:"channelsViewRaviKumarCommunicationsSection",CHANNELS_VIEW_RAVI_KUMAR_DISCUSSION_SECTION:"channelsViewraviKumarDiscussionSection",CHANNELS_LIKE_TWEET_RAVI_KUMAR:"channelsLikeTweetRaviKumar",CHANNELS_SHARE_TWEET_RAVI_KUMAR:"channelsShareTweetRaviKumar",CHANNELS_POST_YOUR_THOUGHTS_IN_DISCUSSION_RAVI_KUMAR:"channelsPostYourThoughtsInDiscussionRaviKumar",CHANNELS_FOLLOW_MOHIT_JOSHI:"channelsFollowMohitJoshi",CHANNELS_MAIL_TO_MOHIT_JOSHI:"channelsMailToMohitJoshi",CHANNELS_VIEW_ABOUT_MOHIT_JOSHI_SECTION:"channelsViewAboutMohitJoshiSection",CHANNELS_VIEW_MOHIT_JOSHI_TWEETS_SECTION:"channelsViewMohitJoshiTweetsSection",CHANNELS_VIEW_MOHIT_JOSHI_ARTICLES_SECTION:"channelsViewMohitJoshiArticlesSection",CHANNELS_VIEW_MOHIT_JOSHI_TRAILBLAZERS_SECTION:"channelsViewMohitJoshiTrailblazersSection",CHANNELS_VIEW_MOHIT_JOSHI_COMMUNICATIONS_SECTION:"channelsViewMohitJoshiCommunicationsSection",CHANNELS_VIEW_MOHIT_JOSHI_DISCUSSION_SECTION:"channelsViewMohitJoshiDiscussionSection",CHANNELS_LIKE_TWEET_MOHIT_JOSHI:"channelsLikeTweetMohitJoshi",CHANNELS_SHARE_TWEET_MOHIT_JOSHI:"channelsShareTweetMohitJoshi",CHANNELS_POST_YOUR_THOUGHTS_IN_DISCUSSION_MOHIT_JOSHI:"channelsPostYourThoughtsInDiscussionMohitJoshi",CHANNELS_VIEW_CORPORATE_SECTION:"channelsViewCorporateSection",CHANNELS_VIEW_EXPERIENCE_WOW_PAGE:"channelsViewExperienceWowPage",CHANNELS_VIEW_iGOT_KNOWLEDGE_INSTITUTE_PAGE:"channelsViewiGOTKnowledgeInstitutePage",CHANNELS_VIEW_CMT_LEARNING_HUB_PAGE:"channelsViewCmtLearningHubPage",CHANNELS_VIEW_FULL_STACK_SALES_LEADERS_PAGE:"channelsViewFullStackSalesLeaderPage",EXPERIENCE_WOW_PAGE:"experienceWowPage",EXPERIENCE_WOW_PAGE_VIEW_PAGE_SECTIONS:"experienceWowPageViewPageSections",EXPERIENCE_WOW_PAGE_CHECK_iGOT_STATISTICS:"experienceWowPageCheckiGOTStatistics",EXPERIENCE_WOW_PAGE_CHECK_iGOT_ME_STATISTICS:"experienceWowPageCheckiGOTMeStatistics",EXPERIENCE_WOW_PAGE_PROVIDE_SUGGESTIONS:"experienceWowPageProvideSuggestions",EXPERIENCE_WOW_PAGE_SEND_MAIL_FOR_BECOMING_COCREATOR:"experienceWowPageSendMailForBecomingCocreator",iGOT_RADIO:"iGOTRadio",iGOT_RADIO_VIEW_PODCASTS_STRIP:"iGOTRadioViewPodcastsStrip",iGOT_TV:"iGOTTv",iGOT_TV_VIEW_JUST_FOR_YOU_SECTION:"iGOTTvViewJustForYouSection",iGOT_TV_VIEW_MUST_VIEW_STRIP:"iGOTTvViewMustViewStrip",iGOT_TV_VIEW_LATEST_STRIP:"iGOTTvViewLatestStrip",iGOT_TV_VIEW_CHANNELS_SECTION:"iGOTTvViewChannelsSection",iGOT_TV_VIEW_CHANNELS_STRIP:"iGOTTvViewChannelsStrip",iGOT_TV_VIEW_BROADCAST_SECTION:"iGOTTvViewBroadcastSection",iGOT_TV_VIEW_PREVIOUS_EVENTS_LIST:"iGOTTvViewPreviousEventsList",iGOT_TV_VIEW_LIVE_EVENTS_LIST:"iGOTTvViewLiveEventsList",iGOT_TV_VIEW_UPCOMING_EVENTS_LIST:"iGOTTvViewUpcomingEventsList",LEADERSHIP_MESSAGES:"leadershipMessages",LEADERSHIP_MESSAGES_VIEW_LEADERSHIP_VIDEO:"leadershipMessagesViewLeadershipVideo",LIVING_LABS:"livingLabs",LIVING_LABS_VIEW_LIVING_LABS_STRIP:"livingLabsViewLivingLabsStrip",AMERICAS_CONFLUENECE:"americasConfluence",AMERICAS_CONFLUENECE_VIEW_CONFLUENCE_VIDEOS_STRIPS:"americasConfluenceViewConfluenceVideosStrips",APAC_CONFLUENECE:"apacConfluence",APAC_CONFLUENECE_VIEW_CONFLUENCE_VIDEOS_STRIPS:"apacConfluenceViewConfluenceVideosStrips",EMEA_CONFLUENECE:"emeaConfluence",EMEA_CONFLUENECE_VIEW_CONFLUENCE_VIDEOS_STRIPS:"emeaConfluenceViewConfluenceVideosStrips",CONNECT:"connect",CONNECT_VIEW_CONTENT_STRIP:"connectViewContentStrip",LIVE_EVENTS:"liveEvents",LIVE_EVENTS_WATCH_LIVE:"liveEventsWatchLive",LIVE_EVENTS_WATCH_CLASSROOM_BROADCAST:"liveEventsWatchClassroomBroadcast",LIVE_EVENTS_WATCH_THREE_SIXTY_VIDEO:"liveEventsWatchThreeSixtyVideo",LIVE_EVENTS_WATCH_FAMILY_MATTERS_VIDEO:"liveEventsWatchFamilyMattersVideo",LIVE_EVENTS_WATCH_CONFLUENCE_EVENTS:"liveEventsWatchConfluenceEvents",DIGITAL_ASSISTANT_TOUR:"digitalAssistantTour",DIGITAL_ASSISTANT_TOUR_WATCH_TOUR_VIDEO:"digitalAssistantTourWatchTourVideo",QUICK_TOUR:"quickTour",QUICK_TOUR_WATCH_TOUR_VIDEO:"quickTourWatchTourVideo",LOGOUT:"logout",LOGOUT_LOGS_OUT_FROM_APPLICATION:"logoutLogsOutFromApplication",MY_ANALYTICS:"myAnalytics",MY_ANALYTICS_APPLY_QUARTER_FILTERS:"myAnalyticsApplyQuarterFilters",MY_ANALYTICS_VIEW_MY_LEARNING_SECTION:"myAnalyticsViewMyLearningSection",MY_ANALYTICS_VIEW_MY_ASSESSMENT_SECTION:"myAnalyticsViewMyAssessmentSection",MY_ANALYTICS_VIEW_MY_REFACTORING_SECTION:"myAnalyticsViewMyRefactoringSection",MY_ANALYTICS_VIEW_MY_PLANS_SECTION:"myAnalyticsViewMyPlansSection",MY_ANALYTICS_VIEW_MY_COLLABORATORS_SECTION:"myAnalyticsViewMyCollaboratorsSection",MY_ANALYTICS_VIEW_MY_FEATURES_USAGE_SECTION:"myAnalyticsViewTopCoursesSection",MY_ANALYTICS_VIEW_MY_LEARNING_MINUTES:"myAnalyticsViewMyLearningMinutes",MY_ANALYTICS_VIEW_MY_LEARNING_POINTS:"myAnalyticsViewMyLearningPoints",MY_ANALYTICS_VIEW_BADGES:"myAnalyticsViewBadges",MY_ANALYTICS_VIEW_TIME_SPENT_BY_USER:"myAnalyticsViewTimeSpentByUser",MY_ANALYTICS_VIEW_AVERAGE_MINUTES_ON_iGOT:"myAnalyticsViewAverageMinutesOniGOT",MY_ANALYTICS_VIEW_AVERAGE_MINUTES_ACROSS_DIMENSIONS:"myAnalyticsViewAverageMinutesAcrossDimensions",MY_ANALYTICS_VIEW_PERCENTAGE_TIME_SPENT_BY_USER:"myAnalyticsViewPercentageTimeSpentByUser",MY_ANALYTICS_VIEW_PERCENTAGE_TIME_SPENT_BY_INFOSCIONS:"myAnalyticsViewPercentageTimeSpentByInfoscions",MY_ANALYTICS_VIEW_PERCENTAGE_TIME_SPENT_BY_PEERS:"myAnalyticsViewPercentageTimeSpentByPeers",MY_ANALYTICS_VIEW_TOTAL_ASSESSMENTS:"myAnalyticsViewTotalAssessments",MY_ANALYTICS_VIEW_PENDING_ASSESSMENTS:"myAnalyticsViewPendingAssessments",MY_ANALYTICS_VIEW_CERTIFICATIONS:"myAnalyticsViewCertifications",MY_ANALYTICS_VIEW_ASSESSMENTS:"myAnalyticsViewAssessments",MY_ANALYTICS_VIEW_RECENT_ASSESSMENTS:"myAnalyticsViewRecentAssessments",MY_ANALYTICS_VIEW_ASSESSMENT_DETAILS:"myAnalyticsViewAssessmentDetails",MY_ANALYTICS_VIEW_RECENT_ASSESSMENT:"myAnalyticsViewRecentAssessment",MY_ANALYTICS_VIEW_MY_REFACTORING_PROGRAM:"myAnalyticsViewMyRefactoringProgram",MY_ANALYTICS_VIEW_NAVIGATOR:"myAnalyticsViewNavigator",MY_ANALYTICS_VIEW_AI_AND_AUTOMATION_PROGRESS:"myAnalyticsViewAiAndAutomationProcess",MY_ANALYTICS_VIEW_MY_GOALS:"myAnalyticsViewMyGoals",MY_ANALYTICS_VIEW_PLAYLIST:"myAnalyticsViewPlaylist",MY_ANALYTICS_VIEW_GOALS_SHARED_WITH_USER:"myAnalyticsViewGoalsSharedWithUser",MY_ANALYTICS_VIEW_DETAILED_COURSES_PROGRESS:"myAnalyticsViewDetailedCoursesProgress",MY_ANALYTICS_VIEW_GOALS_SHARED_BY_USER:"myAnalyticsViewGoalsSharedByUser",MY_ANALYTICS_VIEW_ARTIFACTS_SHARED_BY_USER:"myAnalyticsViewArtifactsSharedByUser",MY_ANALYTICS_VIEW_EXPERTS_USER_CONTACTED:"myAnalyticsViewExpertsUserContacted",MY_ANALYTICS_VIEW_DETAILED_GOALS_SHARING:"myAnalyticsViewDetailedGoalsSharing",MY_ANALYTICS_VIEW_PLAYGROUNDS:"myAnalyticsViewPlaygrounds",MY_ANALYTICS_VIEW_LIKES:"myAnalyticsViewLikes",MY_ANALYTICS_VIEW_SEARCH:"myAnalyticsViewSearch",MY_ANALYTICS_VIEW_iGOT_TV:"myAnalyticsViewiGOTTv",MY_ANALYTICS_VIEW_iGOT_RADIO:"myAnalyticsViewiGOTRadio",MY_ANALYTICS_VIEW_iGOT_LIVE:"myAnalyticsViewiGOTLive",MY_ANALYTICS_VIEW_TOP_COURSES_BY_USER_UNIT:"myAnalyticsViewTopCoursesByUserUnit",MY_ANALYTICS_VIEW_TOP_COURSES_BY_USER_PEERS:"myAnalyticsViewTopCoursesbyUserPeers",LEARNING_ANALYTICS:"learningAnalytics",LEARNING_ANALYTICS_SEARCH_FOR_PARTICIPANTS_AND_EDUCATORS:"learningAnalyticsSearchForParticipantsAndEducators",LEARNING_ANALYTICS_UNIT_FILTER:"learningAnalyticsUnitFilter",LEARNING_ANALYTICS_PU_FILTER:"learningAnalyticsPuFilter",LEARNING_ANALYTICS_DU_FILTER:"learningAnalyticsDuFilter",LEARNING_ANALYTICS_ACCOUNT_FILTER:"learningAnalyticsAccountFilter",LEARNING_ANALYTICS_LOCATION_FILTER:"learningAnalyticsLocationFilter",LEARNING_ANALYTICS_QUARTER_FILTER:"learningAnalyticsQuarterFilter",LEARNING_ANALYTICS_COMPLETED_FILTER:"learningAnalyticsCompletedFilter",LEARNING_ANALYTICS_ETA_FILTER:"learningAnalyticsEtaFilter",LEARNING_ANALYTICS_UNIQUE_USERS_DATA:"learningAnalyticsUniqueUsersData",LEARNING_ANALYTICS_USERS_BY_ONSITE_OFFSHORE:"learningAnalyticsUsersByOnsiteOffshore",LEARNING_ANALYTICS_USERS_BY_DEVICE_TYPE:"learningAnalyticsUsersByDeviceType",LEARNING_ANALYTICS_USERS_BY_UNIT:"learningAnalyticsUsersByUnit",LEARNING_ANALYTICS_USERS_BY_TRACK:"learningAnalyticsUsersByTrack",LEARNING_ANALYTICS_USERS_BY_PU_SALES:"learningAnalyticsUsersByPuSales",LEARNING_ANALYTICS_USERS_BY_CU_TYPE:"learningAnalyticsUsersByCuType",LEARNING_ANALYTICS_USERS_BY_SKILL:"learningAnalyticsUsersBySkill",LEARNING_ANALYTICS_USERS_BY_TOPICS:"learningAnalyticsUsersByTopics",LEARNING_ANALYTICS_USERS_BY_HORIZON:"learningAnalyticsUsersByHorizon",LEARNING_ANALYTICS_USERS_GROWTH:"learningAnalyticsUsersGrowth",LEARNING_ANALYTICS_USERS_DETAILS:"learningAnalyticsUsersDetails",LEARNING_ANALYTICS_VIEW_ALL_TRAININGS_SECTION:"learningAnalyticsViewAllTrainingsSection",LEARNING_ANALYTICS_TALENT_GRID_FILTER:"learningAnalyticstalentGridFilter",LEARNING_ANALYTICS_STACK_FILTER:"learningAnalyticsStackFilter",LEARNING_ANALYTICS_UNIQUE_PARTICIPANTS:"learningAnalyticsUniqueParticipants",LEARNING_ANALYTICS_OVERALL_PARTICIPANTS:"learningAnalyticsOverallParticipants",LEARNING_ANALYTICS_AVERAGE_DAYS:"learningAnalyticsAverageDays",LEARNING_ANALYTICS_PARTICIPANTS_BY_ONSITE_ONSHORE:"learningAnalyticsParticipantsByOnsiteOnshore",LEARNING_ANALYTICS_PARTICIPANTS_BY_UNIT:"learningAnalyticsParticipantsByUnit",LEARNING_ANALYTICS_PARTICIPANTS_BY_PU:"learningAnalyticsParticipantsByPu",LEARNING_ANALYTICS_PARTICIPANTS_BY_SKILL_TYPE:"learningAnalyticsParticipantsBySkillType",LEARNING_ANALYTICS_PARTICIPANTS_BY_SKILL:"learningAnalyticsParticipantsBySkill",LEARNING_ANALYTICS_PARTICIPANTS_BY_STACKS:"learningAnalyticsParticipantsByStacks",LEARNING_ANALYTICS_PARTICIPANTS_BY_NEW_SERVICES:"learningAnalyticsParticipantsByNewServices",LEARNING_ANALYTICS_PARTICIPANTS_BY_LEARNING_TRACK:"learningAnalyticsParticipantsByLearningTrack",LEARNING_ANALYTICS_PARTICIPANTS_BY_OFFERING_MODE:"learningAnalyticsParticipantsByOfferingMode",LEARNING_ANALYTICS_PARTICIPANTS_BY_TOPICS:"learningAnalyticsParticipantsByTopics",LEARNING_ANALYTICS_PARTICIPANTS_BY_ABCD:"learningAnalyticsParticipantsByAbcd",LEARNING_ANALYTICS_PARTICIPANTS_DETAILS:"learningAnalyticsParticipantsDetails",LEARNING_ANALYTICS_SCHEDULES_SECTION:"learningAnalyticsSchedulesSection",LEARNING_ANALYTICS_SCHEDULE_DATE_FILTER:"learningAnalyticsScheduleDateFilter",LEARNING_ANALYTICS_PARTICIPANTS:"learningAnalyticsParticipants",LEARNING_ANALYTICS_EDUCATORS:"learningAnalyticsEducators",LEARNING_ANALYTICS_COURSES:"learningAnalyticsCourses",LEARNING_ANALYTICS_SCHEDULES:"learningAnalyticsSchedules",LEARNING_ANALYTICS_VIEW_TRAINING_SCHEDULES_SECTION:"learningAnalyticsTrainingSchedulesSection",LEARNING_ANALYTICS_COURSES_BY_OFFERING_MODE:"learningAnalyticsCoursesByOfferingMode",LEARNING_ANALYTICS_COURSES_BY_TRACK:"learningAnalyticsCoursesByTrack",LEARNING_ANALYTICS_COURSES_BY_TOPIC:"learningAnalyticsCoursesByTopic",LEARNING_ANALYTICS_COURSES_BY_ABCD:"learningAnalyticsCoursesByAbcd",LEARNING_ANALYTICS_COURSES_BY_SKILL:"learningAnalyticsCoursesBySkill",APPS_PAGE:"appsPage",APPS_PAGE_VIEW_DIFFERENT_APPS_ICONS:"appsPageViewDifferentAppsIcons",COURSE_CARD:"courseCard",COURSE_CARD_LIKE_THE_COURSE_BUTTON:"courseCardLikeTheCourseButton",COURSE_CARD_SHARE_THE_COURSE_BUTTON:"courseCardShareTheCourseButton",COURSE_CARD_ADD_COURSE_TO_GOALS_BUTTON:"courseCardAddCourseToGoalsButton",COURSE_CARD_ADD_COURSE_TO_PLAYLIST_BUTTON:"courseCardAddCourseToPlaylistButton",COURSE_CARD_VIEW_MORE_OPTIONS_BUTTON:"courseCardViewMoreOptionsButton",COURSE_CARD_START_COURSE_OPTION:"courseCardStartCourseOption",COURSE_CARD_VIEW_TOC_OPTION:"courseCardViewTocOption",COURSE_CARD_COHORTS_OPTION:"courseCardCohortsOption",COURSE_CARD_ANALYTICS_OPTION:"courseCardAnalyticsOption",SEARCH_RESULTS_PAGE:"searchResultsPage",SEARCH_RESULTS_PAGE_VIEW_LEARNING_SECTION:"searchResultsPageViewLearningSection",SEARCH_RESULTS_PAGE_VIEW_CERTIFICATIONS_SECTION:"searchResultsPageViewCertificationsSection",SEARCH_RESULTS_PAGE_VIEW_KNOWLEDGE_SECTION:"searchResultsPageViewKnowledgeSection",SEARCH_RESULTS_PAGE_VIEW_PROJECTS_SECTION:"searchResultsPageViewProjectsSection",SEARCH_RESULTS_PAGE_VIEW_SOCIAL_SECTION:"searchResultsPageViewSocialSection",SEARCH_RESULTS_PAGE_CATALOG_FILTER:"searchResultsPageCatalogFilter",SEARCH_RESULTS_PAGE_DURATION_FILTER:"searchResultsPageDurationFilter",SEARCH_RESULTS_PAGE_CONTENT_TYPE_FILTER:"searchResultsPageContentTypeFilter",SEARCH_RESULTS_PAGE_LEVEL_FILTER:"searchResultsPageLevelFilter",SEARCH_RESULTS_PAGE_SOURCE_FILTER:"searchResultsPageSourceFilter",SEARCH_RESULTS_PAGE_UNIT_FILTER:"searchResultsPageUnitFilter",SEARCH_RESULTS_PAGE_TYPE_FILTER:"searchResultsPageTypeFilter",SEARCH_RESULTS_PAGE_PUBLISHED_DATE_FILTER:"searchResultsPagePublishedDateFilter",SEARCH_RESULTS_PAGE_CATEGORY_FILTER:"searchResultsPageCategoryFilter",SEARCH_RESULTS_PAGE_ITEM_TYPE_FILTER:"searchResultsPageItemTypeFilter",SEARCH_RESULTS_PAGE_TOPICS_FILTER:"searchResultsPageTopicsFilter",SEARCH_RESULTS_PAGE_AUTHORS_FILTER:"searchResultsPageAuthorsFilter",SEARCH_RESULTS_PAGE_TAGS_FILTER:"searchResultsPageTagsFilter",SEARCH_RESULTS_PAGE_GROUPS_FILTER:"searchResultsPageGroupsFilter",SEARCH_RESULTS_PAGE_VIEW_RESULT_CARDS:"searchResultsPageViewResultCards",SEARCH_RESULTS_PAGE_VIEW_RELATED_CONCEPTS:"searchResultsPageViewRelatedConcepts",LAB_42_INTERVIEW:"interview",LAB_42_DIALOGUE:"dialogue",LAB_42_STRATEGY_MAP:"strategyMap",LAB_42_VIRTUAL_CLASSROOM:"virtualClassroom",LAB_42_PROJECT_STACK:"projectStack",LAB_42_LIVE_TRANSCRIBE:"liveTranscribe",LAB_42_EPOCH:"epoch",LEARNING_ASSISTANT_MAQ:"learning-assistant-maq",LEARNING_ASSISTANT_ILIPDP:"learning-assistant-ilipdp"},e.EInstance={INSTANCE:"RootOrg"},e.EventService=J,e.ExploreDetailResolve=$e,e.HorizontalScrollerModule=q,e.HorizontalScrollerV2Module=Z,e.ImageCropComponent=R,e.ImageCropModule=v,e.ImageResponsiveModule=x,e.InViewPortModule=B,e.LoggerService=X,e.LogoutComponent=re,e.LogoutModule=ae,e.MarketingOfferingResolve=Xe,e.ModuleNameResolve=at,e.MultilingualTranslationsService=ft,e.NPSGridService=_t,e.NavigationModule=Y,e.OrderByPipe=we,e.PageNameResolve=rt,e.PageResolve=tt,e.PermissionModule=K,e.PipeCertificateImageURL=je,e.PipeCertificateImageURLModule=Ke,e.PipeConciseDateRangeModule=ce,e.PipeConciseDateRangePipe=se,e.PipeCountTransformModule=ue,e.PipeCountTransformPipe=le,e.PipeCourseNameModule=Je,e.PipeCourseNamePipe=Qe,e.PipeDateConcatModule=Ee,e.PipeDateConcatPipe=pe,e.PipeDurationTransformModule=_e,e.PipeDurationTransformPipe=de,e.PipeEmailModule=me,e.PipeEmailPipe=he,e.PipeFilterModule=Te,e.PipeFilterPipe=Ae,e.PipeFilterSearchModule=Oe,e.PipeFilterSearchPipe=ve,e.PipeFilterV2Module=Ce,e.PipeFilterV2Pipe=Ne,e.PipeFilterV3Module=Re,e.PipeFilterV3Pipe=ye,e.PipeHtmlTagRemovalModule=ge,e.PipeHtmlTagRemovalPipe=Se,e.PipeLimitToModule=Me,e.PipeLimitToPipe=Ge,e.PipeListFilterModule=Le,e.PipeListFilterPipe=Pe,e.PipeNameTransformModule=We,e.PipeNameTransformPipe=Ue,e.PipeNicRelativeModule=qe,e.PipeNicRelativePipe=ze,e.PipeOrderByModule=Ve,e.PipeOrdinalModule=fe,e.PipeOrdinalPipe=Ie,e.PipePartialContentModule=xe,e.PipePartialContentPipe=Fe,e.PipePublicURL=He,e.PipePublicURLModule=Ye,e.PipeRelativeTimeModule=De,e.PipeRelativeTimePipe=be,e.PipeSafeSanitizerModule=Be,e.PipeSafeSanitizerPipe=ke,e.SubapplicationRespondService=gt,e.TelemetryService=St,e.UserPreferenceService=Tt,e.UtilityService=Q,e.ValueService=y,e.WidgetContentService=lt,e.getStringifiedQueryParams=function(e){return Object.entries(e).filter((function(e){return e[1]})).map((function(e){return e[0]+"="+e[1]})).join("&")},e.ɵa=P,e.ɵb=b,e.ɵc=F,e.ɵd=k,e.ɵe=H,e.ɵf=j,e.ɵg=z,e.ɵh=$,Object.defineProperty(e,"__esModule",{value:!0})}));
2
2
  //# sourceMappingURL=sunbird-cb-utils-v2.umd.min.js.map