@clickview/library-editor 1.1.19-dev.0 → 1.1.19-rc.1

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 (377) hide show
  1. package/dist/css/1.chunk.css.map +1 -0
  2. package/dist/css/10.chunk.css.map +1 -0
  3. package/dist/css/11.chunk.css +137 -0
  4. package/dist/css/11.chunk.css.map +1 -0
  5. package/dist/css/12.chunk.css.map +1 -0
  6. package/dist/css/13.chunk.css.map +1 -0
  7. package/dist/css/14.chunk.css.map +1 -0
  8. package/dist/css/16.chunk.css.map +1 -0
  9. package/dist/css/17.chunk.css.map +1 -0
  10. package/dist/css/18.chunk.css.map +1 -0
  11. package/dist/css/2.chunk.css.map +1 -0
  12. package/dist/css/21.chunk.css.map +1 -0
  13. package/dist/css/22.chunk.css.map +1 -0
  14. package/dist/css/23.chunk.css.map +1 -0
  15. package/dist/css/25.chunk.css.map +1 -0
  16. package/dist/css/26.chunk.css.map +1 -0
  17. package/dist/css/28.chunk.css.map +1 -0
  18. package/dist/css/29.chunk.css.map +1 -0
  19. package/dist/css/3.chunk.css +17 -0
  20. package/dist/css/3.chunk.css.map +1 -0
  21. package/dist/css/30.chunk.css.map +1 -0
  22. package/dist/css/31.chunk.css.map +1 -0
  23. package/dist/css/32.chunk.css.map +1 -0
  24. package/dist/css/33.chunk.css +16 -0
  25. package/dist/css/33.chunk.css.map +1 -0
  26. package/dist/css/34.chunk.css +21 -0
  27. package/dist/css/34.chunk.css.map +1 -0
  28. package/dist/css/35.chunk.css +20 -0
  29. package/dist/css/35.chunk.css.map +1 -0
  30. package/dist/css/36.chunk.css.map +1 -0
  31. package/dist/css/37.chunk.css.map +1 -0
  32. package/dist/css/38.chunk.css.map +1 -0
  33. package/dist/css/40.chunk.css.map +1 -0
  34. package/dist/css/41.chunk.css.map +1 -0
  35. package/dist/css/42.chunk.css.map +1 -0
  36. package/dist/css/43.chunk.css.map +1 -0
  37. package/dist/css/44.chunk.css.map +1 -0
  38. package/dist/css/45.chunk.css.map +1 -0
  39. package/dist/css/46.chunk.css.map +1 -0
  40. package/dist/css/47.chunk.css.map +1 -0
  41. package/dist/css/48.chunk.css.map +1 -0
  42. package/dist/css/49.chunk.css +35 -0
  43. package/dist/css/49.chunk.css.map +1 -0
  44. package/dist/css/50.chunk.css.map +1 -0
  45. package/dist/css/51.chunk.css.map +1 -0
  46. package/dist/css/52.chunk.css +66 -0
  47. package/dist/css/52.chunk.css.map +1 -0
  48. package/dist/css/55.chunk.css.map +1 -0
  49. package/dist/css/56.chunk.css.map +1 -0
  50. package/dist/css/58.chunk.css.map +1 -0
  51. package/dist/css/59.chunk.css.map +1 -0
  52. package/dist/css/6.chunk.css.map +1 -0
  53. package/dist/css/60.chunk.css +18 -0
  54. package/dist/css/60.chunk.css.map +1 -0
  55. package/dist/css/62.chunk.css.map +1 -0
  56. package/dist/css/63.chunk.css +170 -0
  57. package/dist/css/63.chunk.css.map +1 -0
  58. package/dist/css/67.chunk.css +78 -0
  59. package/dist/css/67.chunk.css.map +1 -0
  60. package/dist/css/68.chunk.css +17 -0
  61. package/dist/css/68.chunk.css.map +1 -0
  62. package/dist/css/69.chunk.css +17 -0
  63. package/dist/css/69.chunk.css.map +1 -0
  64. package/dist/css/7.chunk.css.map +1 -0
  65. package/dist/css/70.chunk.css +23 -0
  66. package/dist/css/70.chunk.css.map +1 -0
  67. package/dist/css/71.chunk.css +40 -0
  68. package/dist/css/71.chunk.css.map +1 -0
  69. package/dist/css/72.chunk.css +16 -0
  70. package/dist/css/72.chunk.css.map +1 -0
  71. package/dist/css/73.chunk.css +37 -0
  72. package/dist/css/73.chunk.css.map +1 -0
  73. package/dist/css/74.chunk.css +29 -0
  74. package/dist/css/74.chunk.css.map +1 -0
  75. package/dist/css/75.chunk.css +6 -0
  76. package/dist/css/75.chunk.css.map +1 -0
  77. package/dist/css/76.chunk.css +6 -0
  78. package/dist/css/76.chunk.css.map +1 -0
  79. package/dist/css/8.chunk.css.map +1 -0
  80. package/dist/css/library-editor-app.css +2 -0
  81. package/dist/css/library-editor-app.css.map +1 -0
  82. package/dist/en.json +1 -1
  83. package/dist/libs/analytics/src/interfaces/AnalyticsTypes.d.ts +49 -5
  84. package/dist/libs/common/src/backbone/core/BaseAppRouter.d.ts +5 -1
  85. package/dist/libs/shared/src/apps/search/components/instant-search/classification/ClassificationSearchResultComponent.d.ts +17 -0
  86. package/dist/libs/shared/src/apps/search/components/instant-search/index.d.ts +1 -0
  87. package/dist/libs/shared/src/apps/search/enums/SearchQueryType.d.ts +1 -1
  88. package/dist/libs/shared/src/apps/search/utils/InstantSearchHelper.d.ts +1 -0
  89. package/dist/libs/shared/src/apps/search/views/search-bar/SearchBarView.d.ts +2 -0
  90. package/dist/libs/shared/src/apps/upload/services/UploadService.d.ts +3 -2
  91. package/dist/libs/shared/src/constants/BootstrapKeys.d.ts +1 -0
  92. package/dist/libs/shared/src/enums/CountryCode.d.ts +5 -0
  93. package/dist/libs/shared/src/enums/SubtitleExtractionOptions.d.ts +4 -0
  94. package/dist/libs/shared/src/enums/WidgetContents.d.ts +2 -1
  95. package/dist/libs/shared/src/interfaces/app-variables/BaseSearchAppVariables.d.ts +1 -1
  96. package/dist/libs/shared/src/interfaces/models/Classification.d.ts +1 -0
  97. package/dist/libs/shared/src/interfaces/models/Config.d.ts +3 -1
  98. package/dist/libs/shared/src/interfaces/models/Group.d.ts +3 -0
  99. package/dist/libs/shared/src/interfaces/models/Theme.d.ts +1 -2
  100. package/dist/libs/shared/src/interfaces/models/User.d.ts +2 -1
  101. package/dist/libs/shared/src/interfaces/models/UserChannel.d.ts +7 -0
  102. package/dist/libs/shared/src/interfaces/models/index.d.ts +2 -0
  103. package/dist/libs/shared/src/legacy/components/thumbnail/ThumbnailComponent.d.ts +1 -0
  104. package/dist/projects/library-editor/src/apps/default/DefaultApplication.d.ts +1 -1
  105. package/dist/scripts/{0-48b01028ea.chunk.js → 0-8cdf48d69e.chunk.js} +1 -1
  106. package/dist/scripts/0.chunk.js +1034 -0
  107. package/dist/scripts/0.chunk.js.map +1 -0
  108. package/dist/scripts/1-a197f0efeb.chunk.js +1 -0
  109. package/dist/scripts/1.chunk.js +442 -0
  110. package/dist/scripts/1.chunk.js.map +1 -0
  111. package/dist/scripts/{10-b4b24c05f8.chunk.js → 10-48aa375ebe.chunk.js} +1 -1
  112. package/dist/scripts/10.chunk.js +820 -0
  113. package/dist/scripts/10.chunk.js.map +1 -0
  114. package/dist/scripts/{11-e79fc84dc9.chunk.js → 11-805aab3b80.chunk.js} +1 -1
  115. package/dist/scripts/11.chunk.js +4091 -0
  116. package/dist/scripts/11.chunk.js.map +1 -0
  117. package/dist/scripts/{12-58284faf21.chunk.js → 12-57671136e8.chunk.js} +1 -1
  118. package/dist/scripts/12.chunk.js +555 -0
  119. package/dist/scripts/12.chunk.js.map +1 -0
  120. package/dist/scripts/{13-2c4cd203ec.chunk.js → 13-46bc40cc23.chunk.js} +1 -1
  121. package/dist/scripts/13.chunk.js +373 -0
  122. package/dist/scripts/13.chunk.js.map +1 -0
  123. package/dist/scripts/{14-2eeb73cd11.chunk.js → 14-556e982a73.chunk.js} +1 -1
  124. package/dist/scripts/14.chunk.js +2386 -0
  125. package/dist/scripts/14.chunk.js.map +1 -0
  126. package/dist/scripts/15-2edbad42a0.chunk.js +1 -0
  127. package/dist/scripts/15.chunk.js +314 -0
  128. package/dist/scripts/15.chunk.js.map +1 -0
  129. package/dist/scripts/{16-68c900303f.chunk.js → 16-60b9a789b4.chunk.js} +1 -1
  130. package/dist/scripts/16.chunk.js +1290 -0
  131. package/dist/scripts/16.chunk.js.map +1 -0
  132. package/dist/scripts/{17-af7eca54ed.chunk.js → 17-d6083dbd9b.chunk.js} +1 -1
  133. package/dist/scripts/17.chunk.js +381 -0
  134. package/dist/scripts/17.chunk.js.map +1 -0
  135. package/dist/scripts/{18-087b42c483.chunk.js → 18-31ce9284d0.chunk.js} +1 -1
  136. package/dist/scripts/18.chunk.js +393 -0
  137. package/dist/scripts/18.chunk.js.map +1 -0
  138. package/dist/scripts/19.chunk.js +364 -0
  139. package/dist/scripts/19.chunk.js.map +1 -0
  140. package/dist/scripts/{2-c70309751f.chunk.js → 2-33fcca96e3.chunk.js} +1 -1
  141. package/dist/scripts/2.chunk.js +519 -0
  142. package/dist/scripts/2.chunk.js.map +1 -0
  143. package/dist/scripts/{20-caf95bbe64.chunk.js → 20-3c2f3fb166.chunk.js} +1 -1
  144. package/dist/scripts/20.chunk.js +317 -0
  145. package/dist/scripts/20.chunk.js.map +1 -0
  146. package/dist/scripts/21-9497f03cd8.chunk.js +1 -0
  147. package/dist/scripts/21.chunk.js +531 -0
  148. package/dist/scripts/21.chunk.js.map +1 -0
  149. package/dist/scripts/{22-f2b4962990.chunk.js → 22-22cd929ad4.chunk.js} +1 -1
  150. package/dist/scripts/22.chunk.js +354 -0
  151. package/dist/scripts/22.chunk.js.map +1 -0
  152. package/dist/scripts/{23-d575c690b9.chunk.js → 23-16b02d09f5.chunk.js} +1 -1
  153. package/dist/scripts/23.chunk.js +605 -0
  154. package/dist/scripts/23.chunk.js.map +1 -0
  155. package/dist/scripts/{24-dc5b027075.chunk.js → 24-24699f9007.chunk.js} +1 -1
  156. package/dist/scripts/24.chunk.js +318 -0
  157. package/dist/scripts/24.chunk.js.map +1 -0
  158. package/dist/scripts/{25-956d1e9caf.chunk.js → 25-7a210f731b.chunk.js} +1 -1
  159. package/dist/scripts/25.chunk.js +365 -0
  160. package/dist/scripts/25.chunk.js.map +1 -0
  161. package/dist/scripts/{26-7a3d12d816.chunk.js → 26-263cf0ebce.chunk.js} +1 -1
  162. package/dist/scripts/26.chunk.js +437 -0
  163. package/dist/scripts/26.chunk.js.map +1 -0
  164. package/dist/scripts/{27-dc6045c275.chunk.js → 27-707d8b29f0.chunk.js} +1 -1
  165. package/dist/scripts/27.chunk.js +3565 -0
  166. package/dist/scripts/27.chunk.js.map +1 -0
  167. package/dist/scripts/{28-e7ce349a42.chunk.js → 28-d748f747fa.chunk.js} +1 -1
  168. package/dist/scripts/28.chunk.js +3129 -0
  169. package/dist/scripts/28.chunk.js.map +1 -0
  170. package/dist/scripts/{29-e281d8346a.chunk.js → 29-ef4aaa5fd8.chunk.js} +1 -1
  171. package/dist/scripts/29.chunk.js +3088 -0
  172. package/dist/scripts/29.chunk.js.map +1 -0
  173. package/dist/scripts/{3-afb156ea3e.chunk.js → 3-9ac062f7ab.chunk.js} +1 -1
  174. package/dist/scripts/3.chunk.js +782 -0
  175. package/dist/scripts/3.chunk.js.map +1 -0
  176. package/dist/scripts/{30-d4b6c1cd1d.chunk.js → 30-1b84ae2ac7.chunk.js} +1 -1
  177. package/dist/scripts/30.chunk.js +1809 -0
  178. package/dist/scripts/30.chunk.js.map +1 -0
  179. package/dist/scripts/{31-c1d42342dd.chunk.js → 31-b51d47f02b.chunk.js} +1 -1
  180. package/dist/scripts/31.chunk.js +958 -0
  181. package/dist/scripts/31.chunk.js.map +1 -0
  182. package/dist/scripts/{32-1b1e4c86f5.chunk.js → 32-3f5cffb858.chunk.js} +1 -1
  183. package/dist/scripts/32.chunk.js +1235 -0
  184. package/dist/scripts/32.chunk.js.map +1 -0
  185. package/dist/scripts/33-bd5b8ad402.chunk.js +1 -0
  186. package/dist/scripts/33.chunk.js +792 -0
  187. package/dist/scripts/33.chunk.js.map +1 -0
  188. package/dist/scripts/34-16c6ce9391.chunk.js +1 -0
  189. package/dist/scripts/34.chunk.js +990 -0
  190. package/dist/scripts/34.chunk.js.map +1 -0
  191. package/dist/scripts/35-f0ff6077b5.chunk.js +1 -0
  192. package/dist/scripts/35.chunk.js +518 -0
  193. package/dist/scripts/35.chunk.js.map +1 -0
  194. package/dist/scripts/{36-37f9fd0ad1.chunk.js → 36-6d5df4dbb0.chunk.js} +1 -1
  195. package/dist/scripts/36.chunk.js +335 -0
  196. package/dist/scripts/36.chunk.js.map +1 -0
  197. package/dist/scripts/{37-06db9481cd.chunk.js → 37-1aedf84774.chunk.js} +1 -1
  198. package/dist/scripts/37.chunk.js +236 -0
  199. package/dist/scripts/37.chunk.js.map +1 -0
  200. package/dist/scripts/{38-528abd1bba.chunk.js → 38-9411624870.chunk.js} +1 -1
  201. package/dist/scripts/38.chunk.js +315 -0
  202. package/dist/scripts/38.chunk.js.map +1 -0
  203. package/dist/scripts/{39-80001e779c.chunk.js → 39-f46d2f69b1.chunk.js} +1 -1
  204. package/dist/scripts/39.chunk.js +116 -0
  205. package/dist/scripts/39.chunk.js.map +1 -0
  206. package/dist/scripts/{4-f8a4d0b62a.chunk.js → 4-2bf2f1b864.chunk.js} +1 -1
  207. package/dist/scripts/4.chunk.js +335 -0
  208. package/dist/scripts/4.chunk.js.map +1 -0
  209. package/dist/scripts/{40-d59ee7c3e1.chunk.js → 40-2134ac47ae.chunk.js} +1 -1
  210. package/dist/scripts/40.chunk.js +1782 -0
  211. package/dist/scripts/40.chunk.js.map +1 -0
  212. package/dist/scripts/{41-8c75d122fc.chunk.js → 41-38841ce7ed.chunk.js} +1 -1
  213. package/dist/scripts/41.chunk.js +2347 -0
  214. package/dist/scripts/41.chunk.js.map +1 -0
  215. package/dist/scripts/{42-a68ee26f34.chunk.js → 42-06cb96ddaf.chunk.js} +1 -1
  216. package/dist/scripts/42.chunk.js +2111 -0
  217. package/dist/scripts/42.chunk.js.map +1 -0
  218. package/dist/scripts/{43-bde1af67cb.chunk.js → 43-164d1aaf84.chunk.js} +1 -1
  219. package/dist/scripts/43.chunk.js +2243 -0
  220. package/dist/scripts/43.chunk.js.map +1 -0
  221. package/dist/scripts/{44-abdd275e46.chunk.js → 44-234dd1aac7.chunk.js} +1 -1
  222. package/dist/scripts/44.chunk.js +1024 -0
  223. package/dist/scripts/44.chunk.js.map +1 -0
  224. package/dist/scripts/{45-6b745e57af.chunk.js → 45-26c33d7856.chunk.js} +1 -1
  225. package/dist/scripts/45.chunk.js +1065 -0
  226. package/dist/scripts/45.chunk.js.map +1 -0
  227. package/dist/scripts/{46-bee29b02a3.chunk.js → 46-07c390591d.chunk.js} +1 -1
  228. package/dist/scripts/46.chunk.js +613 -0
  229. package/dist/scripts/46.chunk.js.map +1 -0
  230. package/dist/scripts/{47-c142425de4.chunk.js → 47-6a9c70d236.chunk.js} +1 -1
  231. package/dist/scripts/47.chunk.js +735 -0
  232. package/dist/scripts/47.chunk.js.map +1 -0
  233. package/dist/scripts/{48-81efa76f40.chunk.js → 48-ee3bf3e841.chunk.js} +1 -1
  234. package/dist/scripts/48.chunk.js +994 -0
  235. package/dist/scripts/48.chunk.js.map +1 -0
  236. package/dist/scripts/{49-cbd218d6e4.chunk.js → 49-73ebbe96d0.chunk.js} +1 -1
  237. package/dist/scripts/49.chunk.js +759 -0
  238. package/dist/scripts/49.chunk.js.map +1 -0
  239. package/dist/scripts/{5-1b6768e719.chunk.js → 5-19ce45d023.chunk.js} +1 -1
  240. package/dist/scripts/5.chunk.js +40 -0
  241. package/dist/scripts/5.chunk.js.map +1 -0
  242. package/dist/scripts/{50-ec2f179d8c.chunk.js → 50-a1439e0fa7.chunk.js} +1 -1
  243. package/dist/scripts/50.chunk.js +528 -0
  244. package/dist/scripts/50.chunk.js.map +1 -0
  245. package/dist/scripts/{51-9b91910fc0.chunk.js → 51-cad32e2046.chunk.js} +1 -1
  246. package/dist/scripts/51.chunk.js +932 -0
  247. package/dist/scripts/51.chunk.js.map +1 -0
  248. package/dist/scripts/{52-d2e93491a5.chunk.js → 52-1d3e8eb21e.chunk.js} +1 -1
  249. package/dist/scripts/52.chunk.js +408 -0
  250. package/dist/scripts/52.chunk.js.map +1 -0
  251. package/dist/scripts/{53-1c8ff136ad.chunk.js → 53-5e80e33e98.chunk.js} +1 -1
  252. package/dist/scripts/53.chunk.js +754 -0
  253. package/dist/scripts/53.chunk.js.map +1 -0
  254. package/dist/scripts/{54-34116d34e6.chunk.js → 54-8df01312cc.chunk.js} +1 -1
  255. package/dist/scripts/54.chunk.js +681 -0
  256. package/dist/scripts/54.chunk.js.map +1 -0
  257. package/dist/scripts/{55-02803101de.chunk.js → 55-4c8d7b57f9.chunk.js} +1 -1
  258. package/dist/scripts/55.chunk.js +645 -0
  259. package/dist/scripts/55.chunk.js.map +1 -0
  260. package/dist/scripts/{56-19ec4b6ccd.chunk.js → 56-1d96fdfcd3.chunk.js} +1 -1
  261. package/dist/scripts/56.chunk.js +346 -0
  262. package/dist/scripts/56.chunk.js.map +1 -0
  263. package/dist/scripts/{57-17e93c944c.chunk.js → 57-c17cdf728f.chunk.js} +1 -1
  264. package/dist/scripts/57.chunk.js +422 -0
  265. package/dist/scripts/57.chunk.js.map +1 -0
  266. package/dist/scripts/{58-dd77463e63.chunk.js → 58-ce34e558f4.chunk.js} +1 -1
  267. package/dist/scripts/58.chunk.js +437 -0
  268. package/dist/scripts/58.chunk.js.map +1 -0
  269. package/dist/scripts/{59-08e8830b9c.chunk.js → 59-cc8e184cce.chunk.js} +1 -1
  270. package/dist/scripts/59.chunk.js +342 -0
  271. package/dist/scripts/59.chunk.js.map +1 -0
  272. package/dist/scripts/6-e9685801b5.chunk.js +1 -0
  273. package/dist/scripts/6.chunk.js +484 -0
  274. package/dist/scripts/6.chunk.js.map +1 -0
  275. package/dist/scripts/{60-720797bb78.chunk.js → 60-8d73b65e4e.chunk.js} +1 -1
  276. package/dist/scripts/60.chunk.js +254 -0
  277. package/dist/scripts/60.chunk.js.map +1 -0
  278. package/dist/scripts/{61-66e55ae6e1.chunk.js → 61-bd804db13e.chunk.js} +1 -1
  279. package/dist/scripts/61.chunk.js +318 -0
  280. package/dist/scripts/61.chunk.js.map +1 -0
  281. package/dist/scripts/{62-beb29b208b.chunk.js → 62-827229b727.chunk.js} +1 -1
  282. package/dist/scripts/62.chunk.js +142 -0
  283. package/dist/scripts/62.chunk.js.map +1 -0
  284. package/dist/scripts/{63-bbc787afe7.chunk.js → 63-7251ac44d0.chunk.js} +1 -1
  285. package/dist/scripts/63.chunk.js +147 -0
  286. package/dist/scripts/63.chunk.js.map +1 -0
  287. package/dist/scripts/{64-b10c083c61.chunk.js → 64-33ca5259e4.chunk.js} +1 -1
  288. package/dist/scripts/64.chunk.js +439 -0
  289. package/dist/scripts/64.chunk.js.map +1 -0
  290. package/dist/scripts/{65-40c1cc2f53.chunk.js → 65-50d52bf3df.chunk.js} +1 -1
  291. package/dist/scripts/65.chunk.js +582 -0
  292. package/dist/scripts/65.chunk.js.map +1 -0
  293. package/dist/scripts/{66-32ae3ca73f.chunk.js → 66-fe41a3b54a.chunk.js} +1 -1
  294. package/dist/scripts/66.chunk.js +442 -0
  295. package/dist/scripts/66.chunk.js.map +1 -0
  296. package/dist/scripts/{67-1f082de6fd.chunk.js → 67-1508455eb9.chunk.js} +1 -1
  297. package/dist/scripts/67.chunk.js +295 -0
  298. package/dist/scripts/67.chunk.js.map +1 -0
  299. package/dist/scripts/{68-f53fbad25f.chunk.js → 68-21e8520126.chunk.js} +1 -1
  300. package/dist/scripts/68.chunk.js +165 -0
  301. package/dist/scripts/68.chunk.js.map +1 -0
  302. package/dist/scripts/{69-984061e3b8.chunk.js → 69-4d26485024.chunk.js} +1 -1
  303. package/dist/scripts/69.chunk.js +248 -0
  304. package/dist/scripts/69.chunk.js.map +1 -0
  305. package/dist/scripts/{7-7d12e809a2.chunk.js → 7-d0085fdf2e.chunk.js} +1 -1
  306. package/dist/scripts/7.chunk.js +309 -0
  307. package/dist/scripts/7.chunk.js.map +1 -0
  308. package/dist/scripts/{70-8edf7afb7b.chunk.js → 70-8e1d03a7d8.chunk.js} +1 -1
  309. package/dist/scripts/70.chunk.js +207 -0
  310. package/dist/scripts/70.chunk.js.map +1 -0
  311. package/dist/scripts/{71-6365b9e3d4.chunk.js → 71-b835514c89.chunk.js} +1 -1
  312. package/dist/scripts/71.chunk.js +237 -0
  313. package/dist/scripts/71.chunk.js.map +1 -0
  314. package/dist/scripts/{72-85505b2300.chunk.js → 72-23d6083900.chunk.js} +1 -1
  315. package/dist/scripts/72.chunk.js +331 -0
  316. package/dist/scripts/72.chunk.js.map +1 -0
  317. package/dist/scripts/73.chunk.js +404 -0
  318. package/dist/scripts/73.chunk.js.map +1 -0
  319. package/dist/scripts/74.chunk.js +301 -0
  320. package/dist/scripts/74.chunk.js.map +1 -0
  321. package/dist/scripts/75.chunk.js +231 -0
  322. package/dist/scripts/75.chunk.js.map +1 -0
  323. package/dist/scripts/76.chunk.js +157 -0
  324. package/dist/scripts/76.chunk.js.map +1 -0
  325. package/dist/scripts/77.chunk.js +307 -0
  326. package/dist/scripts/77.chunk.js.map +1 -0
  327. package/dist/scripts/78.chunk.js +249 -0
  328. package/dist/scripts/78.chunk.js.map +1 -0
  329. package/dist/scripts/79.chunk.js +282 -0
  330. package/dist/scripts/79.chunk.js.map +1 -0
  331. package/dist/scripts/{8-76e9f1bbc7.chunk.js → 8-0ebd446b65.chunk.js} +1 -1
  332. package/dist/scripts/8.chunk.js +307 -0
  333. package/dist/scripts/8.chunk.js.map +1 -0
  334. package/dist/scripts/80.chunk.js +308 -0
  335. package/dist/scripts/80.chunk.js.map +1 -0
  336. package/dist/scripts/81.chunk.js +366 -0
  337. package/dist/scripts/81.chunk.js.map +1 -0
  338. package/dist/scripts/82.chunk.js +314 -0
  339. package/dist/scripts/82.chunk.js.map +1 -0
  340. package/dist/scripts/83.chunk.js +328 -0
  341. package/dist/scripts/83.chunk.js.map +1 -0
  342. package/dist/scripts/84.chunk.js +313 -0
  343. package/dist/scripts/84.chunk.js.map +1 -0
  344. package/dist/scripts/85.chunk.js +291 -0
  345. package/dist/scripts/85.chunk.js.map +1 -0
  346. package/dist/scripts/86.chunk.js +119 -0
  347. package/dist/scripts/86.chunk.js.map +1 -0
  348. package/dist/scripts/87.chunk.js +219 -0
  349. package/dist/scripts/87.chunk.js.map +1 -0
  350. package/dist/scripts/88.chunk.js +194 -0
  351. package/dist/scripts/88.chunk.js.map +1 -0
  352. package/dist/scripts/89.chunk.js +522 -0
  353. package/dist/scripts/89.chunk.js.map +1 -0
  354. package/dist/scripts/9-0476e7c063.chunk.js +1 -0
  355. package/dist/scripts/9.chunk.js +222 -0
  356. package/dist/scripts/9.chunk.js.map +1 -0
  357. package/dist/scripts/90.chunk.js +337 -0
  358. package/dist/scripts/90.chunk.js.map +1 -0
  359. package/dist/scripts/91.chunk.js +131 -0
  360. package/dist/scripts/91.chunk.js.map +1 -0
  361. package/dist/scripts/92.chunk.js +266 -0
  362. package/dist/scripts/92.chunk.js.map +1 -0
  363. package/dist/scripts/bundle-511dc1956b.min.js +1 -0
  364. package/dist/scripts/bundle-8468900bf9.min.js +1 -0
  365. package/dist/scripts/bundle.js +57527 -0
  366. package/dist/scripts/bundle.js.map +1 -0
  367. package/dist/scripts/bundles.json +1 -1
  368. package/package.json +99 -99
  369. package/dist/scripts/1-098c567081.chunk.js +0 -1
  370. package/dist/scripts/15-6fa6f47a8b.chunk.js +0 -1
  371. package/dist/scripts/21-5d5cda7f47.chunk.js +0 -1
  372. package/dist/scripts/33-7ef65d086d.chunk.js +0 -1
  373. package/dist/scripts/34-6d7e7405af.chunk.js +0 -1
  374. package/dist/scripts/35-7d7e41a203.chunk.js +0 -1
  375. package/dist/scripts/6-e87b3c0be1.chunk.js +0 -1
  376. package/dist/scripts/9-a04919dbb2.chunk.js +0 -1
  377. package/dist/scripts/bundle-f3260e8016.min.js +0 -1
@@ -1 +1 @@
1
- (window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[20],{1085:function(t,e,n){"use strict";n.r(e);var o=n(1),r=n(2),i=n(5),l=n(3),a=n(4),c=n(39),u=n(670),s=n(61),f=n(35),p=n(6),h=n(0),y=n(661),d=n(119),b=n(86),v=n(678),g=n(89),m=n(174),w=(n(714),n(717)),k=n(716),O=n(953),C=n.n(O),S=n(779),R=n(62),_=n(80);function E(t){return(E="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function P(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function T(t,e){return(T=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function j(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=F(t);if(e){var r=F(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return x(this,n)}}function x(t,e){return!e||"object"!==E(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function F(t){return(F=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var N=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&T(t,e)}(i,t);var e,n,o,r=j(i);function i(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i),r.call(this,t)}return e=i,(n=[{key:"regions",value:function(){return{filterList:{el:".filter-list-region",replaceRegion:!1,partialLoading:p.j.PastReleasesSearchFilter}}}},{key:"getVisibleFilters",value:function(){return new R.a(this.collection.filter((function(t){return _.b.showFilter(t)})))}},{key:"renderFilterList",value:function(){var t=new S.b({collection:this.getVisibleFilters(),channelName:this.options.channelName});this.showChildView("filterList",t)}},{key:"onBeforeRender",value:function(){return!!this.collection}},{key:"onRender",value:function(){this.renderFilterList()}},{key:"name",get:function(){return"PastReleasesFiltersComponent"}},{key:"template",get:function(){return C.a}},{key:"lang",get:function(){return"contentUpdates.pastReleasesFilters"}}])&&P(e.prototype,n),o&&P(e,o),i}(r.a.Component),D=n(7),I=n(954),L=n.n(I);function A(t){return(A="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function V(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function M(t,e){return(M=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function U(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=H(t);if(e){var r=H(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return B(this,n)}}function B(t,e){return!e||"object"!==A(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function H(t){return(H=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var G=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&M(t,e)}(i,t);var e,n,o,r=U(i);function i(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i),r.call(this,t)}return e=i,(n=[{key:"regions",value:function(){return{filters:{el:".filters-region"}}}},{key:"events",value:function(){return{"click .generate-pdf":"onClickGeneratePdf"}}},{key:"onClickGeneratePdf",value:function(){D.Radio.channel(this.options.channelName).trigger("generate:pdf")}},{key:"renderFilters",value:function(){var t=new N({collection:this.filterCollection,channelName:this.options.channelName});this.showChildView("filters",t)}},{key:"viewOptions",value:function(){return{showGeneratePdf:this.options.showGeneratePdf}}},{key:"onRender",value:function(){this.renderFilters()}},{key:"name",get:function(){return"PastReleasesHeaderComponent"}},{key:"props",get:function(){return["filterCollection"]}},{key:"lang",get:function(){return"contentUpdates.pastReleasesHeader"}},{key:"className",get:function(){return"d-flex justify-content-between align-items-center p-3 border-bottom"}},{key:"template",get:function(){return L.a}}])&&V(e.prototype,n),o&&V(e,o),i}(r.a.Component),W=n(715),q=n(21),z=n(775),Q=n.n(z),Y=n(955),J=n.n(Y);function Z(t){return(Z="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function $(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function X(t,e){return(X=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function K(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=et(t);if(e){var r=et(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return tt(this,n)}}function tt(t,e){return!e||"object"!==Z(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function et(t){return(et=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n.d(e,"PastReleasesView",(function(){return nt}));var nt=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&X(t,e)}(S,t);var e,n,O,C=K(S);function S(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,S),C.call(this,t)}return e=S,(n=[{key:"initialize",value:function(){this.bindListeners(),this.settingsDataService=i.a.getInstance(h.g.Settings,this),this.contentUpdatesDataService=i.a.getInstance(h.g.ContentUpdates,this),this.videoDataService=i.a.getInstance(h.g.Video,this),this.libraryDataService=i.a.getInstance(h.g.Library,this),this.videoMixinService=i.a.getInstance(h.x.VideoMixin,this)}},{key:"regions",value:function(){return{header:{el:".header-region",replaceElement:!0},leftNav:{el:".left-nav-region",replaceElement:!0},listHeader:{el:".list-header-region",replaceElement:!0},videos:{el:".video-list-region",replaceElement:!0,partialLoading:p.j.VideoGroupList},pagination:{el:".pagination-region",replaceElement:!0}}}},{key:"bindListeners",value:function(){this.listenTo(h.e.SETTINGS,"".concat(h.f.SETTINGS,":sync"),this.render),this.listenTo(this.channelName,"generate:pdf",this.onClickGeneratePdf),this.listenTo(h.e.RESTRICTED_VIDEO,"".concat(h.f.UPDATE_VIDEO_RESTRICTION,":sync"),this.updateRestrictedVideos),this.listenTo(this.channelName,h.i.Filters.FILTER_CHANGED,o.debounce(this.onFilterChange,100)),this.listenTo(this.channelName,"fetch:video:with:metadata",this.fetchVideoWithMetadata)}},{key:"initializeFilterCollection",value:function(){var t=this;this.filterCollection||this.libraryDataService.getHostedLibraries((function(e){return t.onLibrariesSync(e)}))}},{key:"onLibrariesSync",value:function(t){var e=this;this.filterCollection||(this.libraryIds=m.f.getLibraryIds(this.options.queryParams[q.a.Libraries],t),this.subjectCollectionIdentifier=new v.c({dateQueryString:this.options.queryParams[q.a.ReleaseDate],libraryIds:this.libraryIds}),this.contentUpdatesDataService.getRecentVideoSubjects(this.subjectCollectionIdentifier,(function(n){return e.onSubjectsSync(t,n)})))}},{key:"onSubjectsSync",value:function(t,e){var n=m.f.getSubjectOptions(e);this.filterCollection=m.f.getFilterCollection(t,n,this.options.queryParams);var o=m.f.getSelectedSubjects(this.filterCollection),r=n.length>1&&n.length===o.length;this.videoCollectionIdentifier=new v.b({dateQueryString:this.options.queryParams[q.a.ReleaseDate],libraryIds:this.libraryIds,subjects:!r&&o,cursor:this.options.queryParams.cursor}),this.listenTo(h.e.CONTENT_UPDATES,"".concat(this.videoCollectionIdentifier.toString(),":sync"),this.render),this.fetchVideos()}},{key:"setVideosWithMetadata",value:function(){this.videoCollection&&!this.videosWithMetadata&&(this.videosWithMetadata=new f.a(this.videoCollection.map((function(t){return new s.a({id:t.get("id")})}))))}},{key:"updateRestrictedVideos",value:function(){var t=this;this.videoMixinService.getAndMixinVideoCollectionRestrictions(this.videoCollection,null,(function(){return t.render()}))}},{key:"onFilterChange",value:function(){r.a.AppLinkHelper.trigger({application:h.b.CONTENT_UPDATES,action:h.a.ContentUpdates.PAST_RELEASES,params:m.f.getRouteQueryParams(this.filterCollection)})}},{key:"onClickGeneratePdf",value:function(){this.videoCollection.length&&(r.a.AppLinkHelper.trigger({application:h.b.CONTENT_UPDATES,action:h.a.ContentUpdates.GENERATE_PDF,params:m.f.getRouteQueryParams(this.filterCollection)}),this.logPdfAction())}},{key:"getContentClassName",value:function(){var t=Q.a.content;return this.reviewSetting&&this.reviewSetting.get("value")?t+=" d-inline-block border-left ".concat(Q.a.contentWithLeftNav):t+=" w-100",t}},{key:"logPdfAction",value:function(){var t={location:a.k.PastReleasesHeader,actionType:a.q.Create,entity:a.e.PDF,workflowPhase:a.r.Start},e=m.f.getSelectedSubjects(this.filterCollection),n=m.f.getSelectedReleaseDate(this.filterCollection),o={libraries:this.libraryIds.join(","),subjects:e.map((function(t){return t.get("name")})).join(","),releaseDate:n.get("name")};c.a.logUserAction(o,t)}},{key:"renderHeader",value:function(){this.reviewSetting?this.showChildView("header",new w.a({activeTab:m.b.PastReleases,reviewEnabled:this.reviewSetting.get("value")})):this.renderPartialLoading("header")}},{key:"renderLeftNav",value:function(){this.reviewSetting&&this.reviewSetting.get("value")&&this.showChildView("leftNav",new k.a({supportSiteUrl:this.config.get("supportSiteUrl")}))}},{key:"renderListHeader",value:function(){this.showChildView("listHeader",new G({filterCollection:this.filterCollection,channelName:this.channelName,showGeneratePdf:!!this.videoCollection&&!!this.videoCollection.length}))}},{key:"renderVideos",value:function(){this.config&&this.groupedVideoCollection?this.showChildView("videos",new W.a({collection:this.groupedVideoCollection,childOptions:{config:this.config,videoItemComponentType:y.b.PastReleases,videosWithMetadata:this.videosWithMetadata,customerHasCustomLibrary:this.customLibraries&&!!this.customLibraries.length,collectionViewChannel:this.channelName},emptyStateType:p.c.PastReleases,emptyStateOptions:{heading:l.a.getPhrase(this.lang,"emptyState")}})):this.renderPartialLoading("videos")}},{key:"renderPagination",value:function(){if(this.videoCollection){var t=this.contentUpdatesDataService.getVideoCollectionCursors(this.videoCollectionIdentifier),e=new u.a({cursors:t,appLink:{application:h.b.CONTENT_UPDATES,action:h.a.ContentUpdates.PAST_RELEASES,params:m.f.getRouteQueryParams(this.filterCollection)}});this.showChildView("pagination",e)}}},{key:"fetchVideos",value:function(){this.filterCollection&&!this.videoCollection&&(this.videoCollection=this.contentUpdatesDataService.getRecentVideos(this.videoCollectionIdentifier),this.videoCollection&&(this.setVideosWithMetadata(),this.groupedVideoCollection=m.f.groupVideosByReleaseMonth(this.videoCollection)))}},{key:"fetchVideoWithMetadata",value:function(t){var e=this;this.videoDataService.getVideo(t,(function(n){var o=e.videosWithMetadata.get(t);o&&(o.set(n.toJSON()),o.set({dataFetched:!0}))}))}},{key:"onBeforeRender",value:function(){this.initializeFilterCollection(),this.fetchVideos(),this.videoCollection&&(this.groupedVideoCollection=m.f.groupVideosByReleaseMonth(this.videoCollection)),this.reviewSetting=this.settingsDataService.getSetting(this.currentUser.get("customerId"),p.m.LibraryReview)}},{key:"viewOptions",value:function(){return{showLeftNav:this.reviewSetting&&this.reviewSetting.get("value"),contentClass:this.getContentClassName()}}},{key:"onRender",value:function(){this.renderHeader(),this.renderLeftNav(),this.renderListHeader(),this.renderVideos(),this.renderPagination()}},{key:"name",get:function(){return"PastReleasesView"}},{key:"title",get:function(){return l.a.getPhrase(this.lang,"title")}},{key:"lang",get:function(){return"contentUpdates.pastReleases"}},{key:"channelName",get:function(){return"".concat(this.name).concat(this.cid)}},{key:"className",get:function(){return"bg-white"}},{key:"template",get:function(){return J.a}},{key:"requiredResources",get:function(){return{config:d.b.config,currentUser:b.b.currentUser,customLibraries:g.b.libraries}}}])&&$(e.prototype,n),O&&$(e,O),S}(r.a.View)},670:function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var o=n(1),r=n(2),i=n(4),l=n(39),a=n(671),c=n.n(a);class u extends r.a.Component{constructor(t){super(t)}get defaults(){return{cursors:{},cursorParamName:"cursor"}}get name(){return"PaginationComponent"}get template(){return c.a}get lang(){return"shared._pagination"}get appLinks(){const t={};if(!this.options.cursors)return{};if(this.options.cursors.previous){let e=this.options.cursors.previous;const n=this.buildCursor(this.options.cursors.previous);+e<=1&&!0!==this.options.allowFirstPageCursor&&delete n.params.cursor,t[".previous-applink"]=n}return this.options.cursors.next&&(t[".next-applink"]=this.buildCursor(this.options.cursors.next)),t}events(){return{"click .previous-applink":"onClickPrevious","click .next-applink":"onClickNext"}}buildCursor(t){return{application:this.options.appLink.application,action:this.options.appLink.action,args:this.options.appLink.args,params:o.extend({},this.options.appLink.params,{[this.options.cursorParamName]:t})}}onClickPrevious(){this.logAction("previous")}onClickNext(){this.logAction("next")}logAction(t){const e=l.a.mergeOptions(this.options.analyticsOptions,{location:i.k.Pagination,entity:i.e.Pagination,actionType:i.q.Navigate,workflowPhase:i.r.Complete}),n={id:this.options.collectionId,page:t};l.a.logUserAction(n,e)}viewOptions(){return{cursors:this.options.cursors}}onBeforeRender(){return!!this.options.cursors}}},671:function(t,e,n){var o=n(8);t.exports=(o.default||o).template({1:function(t,e,n,o,r){return"disabled"},compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){t.propertyIsEnumerable;var i,l=null!=e?e:t.nullContext||{},a=t.hooks.helperMissing,c=t.escapeExpression;return'<div class="p-3">\r\n <a class="btn previous-applink btn-secondary '+(null!=(i=n.unless.call(l,null!=(i=null!=(i=null!=e?e.options:e)?i.cursors:i)?i.previous:i,{name:"unless",hash:{},fn:t.program(1,r,0),inverse:t.noop,data:r}))?i:"")+'">'+c((n.lang||e&&e.lang||a).call(l,"previous",{name:"lang",hash:{},data:r}))+'</a>\r\n <a class="btn next-applink btn-secondary '+(null!=(i=n.unless.call(l,null!=(i=null!=(i=null!=e?e.options:e)?i.cursors:i)?i.next:i,{name:"unless",hash:{},fn:t.program(1,r,0),inverse:t.noop,data:r}))?i:"")+'">'+c((n.lang||e&&e.lang||a).call(l,"next",{name:"lang",hash:{},data:r}))+"</a>\r\n</div>"},useData:!0})},675:function(t,e,n){"use strict";n.d(e,"a",(function(){return d}));var o=n(1),r=n(2),i=n(676),l=n.n(i),a=n(677),c=n.n(a);function u(t){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function s(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function f(t,e){return(f=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function p(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=y(t);if(e){var r=y(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return h(this,n)}}function h(t,e){return!e||"object"!==u(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function y(t){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var d=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&f(t,e)}(a,t);var e,n,r,i=p(a);function a(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),i.call(this,t)}return e=a,(n=[{key:"viewOptions",value:function(){var t=this.options.tabs.map((function(t){return Object.assign(Object.assign({},t),{link:t.link.selector.replace(".","")})}));return{styles:l.a,tabs:t}}},{key:"setActiveTab",value:function(){var t=this,e=!1;if(this.options.tabs.forEach((function(n){n.active=!1,n.link.selector===t.options.activeTab&&(n.active=!0,e=!0)})),!e){var n=o.first(this.options.tabs);n&&(n.active=!0)}}},{key:"onBeforeRender",value:function(){this.setActiveTab()}},{key:"name",get:function(){return"TabsView"}},{key:"className",get:function(){var t="bg-white py-2 border-bottom";return this.options.className&&(t+=" ".concat(this.options.className)),t}},{key:"template",get:function(){return c.a}},{key:"appLinks",get:function(){var t={};return this.options.tabs.forEach((function(e){return t[e.link.selector]=e.link.appLink})),t}}])&&s(e.prototype,n),r&&s(e,r),a}(r.a.Component)},676:function(t,e,n){t.exports={link:"_5idZs",active:"_3Ty4M"}},677:function(t,e,n){var o=n(8);t.exports=(o.default||o).template({1:function(t,e,n,o,r,i,l){var a;t.propertyIsEnumerable;return null!=(a=n.unless.call(null!=e?e:t.nullContext||{},null!=e?e.hide:e,{name:"unless",hash:{},fn:t.program(2,r,0,i,l),inverse:t.noop,data:r}))?a:""},2:function(t,e,n,o,r,i,l){t.propertyIsEnumerable;var a,c=t.lambda,u=t.escapeExpression;return' <a class="'+u(c(null!=(a=null!=(a=null!=l[1]?l[1].options:l[1])?a.styles:a)?a.link:a,e))+" p-2 "+u(c(null!=e?e.link:e,e))+" "+(null!=(a=n.if.call(null!=e?e:t.nullContext||{},null!=e?e.active:e,{name:"if",hash:{},fn:t.program(3,r,0,i,l),inverse:t.noop,data:r}))?a:"")+'">'+u(c(null!=e?e.name:e,e))+"</a>\r\n"},3:function(t,e,n,o,r,i,l){var a;t.propertyIsEnumerable;return t.escapeExpression(t.lambda(null!=(a=null!=(a=null!=l[1]?l[1].options:l[1])?a.styles:a)?a.active:a,e))+" border-bottom border-primary text-primary"},compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r,i,l){var a;t.propertyIsEnumerable;return null!=(a=n.each.call(null!=e?e:t.nullContext||{},null!=(a=null!=e?e.options:e)?a.tabs:a,{name:"each",hash:{},fn:t.program(1,r,0,i,l),inverse:t.noop,data:r}))?a:""},useData:!0,useDepths:!0})},678:function(t,e,n){"use strict";var o=n(121),r=n(1),i=n(120),l=n(0),a=n(88),c=n(174);function u(t){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function s(t){return function(t){if(Array.isArray(t))return f(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return f(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return f(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}function p(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function h(t,e){return(h=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function y(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=b(t);if(e){var r=b(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return d(this,n)}}function d(t,e){return!e||"object"!==u(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function b(t){return(b=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var v=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&h(t,e)}(u,t);var e,n,o,i=y(u);function u(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,u),(e=i.call(this,{collectionPrefix:"".concat(l.f.RECENT_VIDEOS,":collection"),cursor:t.cursor,sort:t.sort})).setAdditionalData(t),e}return e=u,(n=[{key:"setAdditionalData",value:function(t){var e=t.libraryIds,n=t.dateQueryString,o=t.subjects;e&&(this.libraryIds=e),o&&(r.isArray(o)&&o.length&&(this.subjects=o),r.isArray(o)||(this.subjects=[o]));var i=r.findWhere(c.g,{queryString:n})||c.e;this.dateOption=new a.b(i)}},{key:"toString",value:function(){var t=this.subjects&&this.subjects.length&&this.subjects.map((function(t){return escape(t.get("name"))}))||[];return[this.collectionPrefix,this.libraryIds,this.dateOption.get("from"),this.dateOption.get("to")].concat(s(t),[this.cursor]).filter(Boolean).join(":")}},{key:"toParams",value:function(){var t={};return this.libraryIds&&(t.libraryIds=this.libraryIds),this.dateOption&&(t.from=this.dateOption.get("from"),t.to=this.dateOption.get("to")),this.subjects&&(t.subjectIds=r.flatten(this.subjects.map((function(t){return t.get("subjectIds")})))),this.cursor&&(t.cursor=this.cursor),t}}])&&p(e.prototype,n),o&&p(e,o),u}(i.a);function g(t){return(g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function m(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function w(t,e){return(w=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function k(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=C(t);if(e){var r=C(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return O(this,n)}}function O(t,e){return!e||"object"!==g(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function C(t){return(C=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var S=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&w(t,e)}(u,t);var e,n,o,i=k(u);function u(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,u),(e=i.call(this,{collectionPrefix:"".concat(l.f.RECENT_SUBJECTS,":collection"),sort:t.sort})).setAdditionalData(t),e}return e=u,(n=[{key:"setAdditionalData",value:function(t){var e=t.libraryIds,n=t.dateQueryString;e&&(this.libraryIds=e);var o=r.findWhere(c.g,{queryString:n})||c.e;this.dateOption=new a.b(o)}},{key:"toString",value:function(){return[this.collectionPrefix,this.libraryIds,this.dateOption.get("from"),this.dateOption.get("to")].filter(Boolean).join(":")}},{key:"toParams",value:function(){var t={};return this.libraryIds&&(t.libraryIds=this.libraryIds),this.dateOption&&(t.from=this.dateOption.get("from"),t.to=this.dateOption.get("to")),t}}])&&m(e.prototype,n),o&&m(e,o),u}(i.a);function R(t){return(R="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function _(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function E(t,e){return(E=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function P(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=j(t);if(e){var r=j(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return T(this,n)}}function T(t,e){return!e||"object"!==R(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function j(t){return(j=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var x=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&E(t,e)}(n,t);var e=P(n);function n(t,o){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return _(this,n),e.call(this,{collectionPrefix:l.f.LIBRARY_FOLDERS,id:t,sort:o,cursor:r})}return n}(i.a);n.d(e,"d",(function(){return o.a})),n.d(e,"b",(function(){return v})),n.d(e,"c",(function(){return S})),n.d(e,"a",(function(){return x}))},681:function(t,e,n){t.exports={label:"_3iMZr",filterButton:"_1xOts",dropdownMenu:"_1Yzts"}},688:function(t,e,n){"use strict";var o={TagFilter:"tag:filter"};n.d(e,"a",(function(){return o}))},714:function(t,e,n){"use strict";n.d(e,"a",(function(){return g}));var o=n(7),r=n(2),i=n(4),l=n(39),a=n(11),c=n(3),u=n(768),s=n.n(u);function f(t){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function p(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function h(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function y(t,e){return(y=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function d(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=v(t);if(e){var r=v(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return b(this,n)}}function b(t,e){return!e||"object"!==f(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function v(t){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var g=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&y(t,e)}(f,t);var e,n,r,u=d(f);function f(){return p(this,f),u.apply(this,arguments)}return e=f,(n=[{key:"events",value:function(){return{"click .approve-all":"onClickApproveAll"}}},{key:"onClickApproveAll",value:function(){var t=this;new a.d(this.getApproveAllDialogOptions()).render().done((function(){return t.onConfirmApproveAll()})),this.logAction(i.r.Start)}},{key:"onConfirmApproveAll",value:function(){o.Radio.channel(this.options.channelName).trigger("approve:all"),this.logAction(i.r.Complete)}},{key:"getApproveAllDialogOptions",value:function(){return{title:c.a.getPhrase(this.lang,"dialogTitle"),text:c.a.getPhrase(this.lang,"dialogBody"),buttons:[{text:c.a.getPhrase(this.lang,"dialogButton"),className:"btn btn-primary",success:!0}]}}},{key:"logAction",value:function(t){var e={location:i.k.AwaitingReviewVideoListHeader,actionType:i.q.Approve,descriptor:i.l.All,entity:i.e.Video,workflowPhase:t},n={approvedCount:this.collection.length};l.a.logUserAction(n,e)}},{key:"viewOptions",value:function(){return{videosToReview:!!this.collection.length,multipleVideos:this.collection.length>1,numVideos:this.collection.length}}},{key:"name",get:function(){return"AwaitingReviewHeaderComponent"}},{key:"className",get:function(){return"d-flex justify-content-between align-items-center p-3 border-bottom"}},{key:"template",get:function(){return s.a}},{key:"lang",get:function(){return"contentUpdates.awaitingReviewHeader"}}])&&h(e.prototype,n),r&&h(e,r),f}(r.a.Component)},715:function(t,e,n){"use strict";n.d(e,"a",(function(){return R}));var o=n(2),r=n(3),i=n(178),l=n(0),a=n(6),c=n(710),u=n(661),s=n(769),f=n.n(s),p=n(770),h=n.n(p);function y(t){return(y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function d(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function b(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function v(t,e,n){return e&&b(t.prototype,e),n&&b(t,n),t}function g(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&m(t,e)}function m(t,e){return(m=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function w(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=O(t);if(e){var r=O(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return k(this,n)}}function k(t,e){return!e||"object"!==y(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function O(t){return(O=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var C=function(t){g(n,t);var e=w(n);function n(t){return d(this,n),e.call(this,t)}return v(n,[{key:"regions",value:function(){return{videos:{el:".video-list-region",replaceElement:!0}}}},{key:"getGroupTitle",value:function(){var t=this.options.groupTitleAttr||"groupTitle";return this.model.get(t)}},{key:"viewOptions",value:function(){return{groupTitle:this.getGroupTitle()}}},{key:"onRender",value:function(){this.showChildView("videos",new c.a({collection:this.model.videos,videosWithMetadata:this.options.videosWithMetadata,application:l.b.CONTENT_UPDATES,collectionIdentifier:null,videoItemComponentType:this.options.videoItemComponentType,config:this.options.config,sourceMetadataOptions:this.options.sourceMetadataOptions,collectionViewChannel:this.options.collectionViewChannel,customerHasLocalCache:this.options.customerHasLocalCache,customerHasCustomLibrary:this.options.customerHasCustomLibrary}))}},{key:"name",get:function(){return"VideoGroupItemComponent"}},{key:"template",get:function(){return h.a}},{key:"className",get:function(){return"pt-3"}},{key:"defaults",get:function(){return{videoItemComponentType:u.b.Base}}}]),n}(o.a.Component),S=function(t){g(n,t);var e=w(n);function n(t){return d(this,n),e.call(this,t)}return v(n,[{key:"name",get:function(){return"VideoGroupItemComponentCollection"}},{key:"childView",get:function(){return C}},{key:"childViewOptions",get:function(){return this.options.childOptions}}]),n}(o.a.ComponentCollection),R=function(t){g(n,t);var e=w(n);function n(t){return d(this,n),e.call(this,t)}return v(n,[{key:"regions",value:function(){return{videos:{el:".videos-region",replaceElement:!0}}}},{key:"getEmptyStateComponentOptions",value:function(){return this.options.emptyStateType===a.c.AwaitingReview?{heading:r.a.getPhrase(this.lang,"awaitingReviewEmptyStateHeading"),description:r.a.getPhrase(this.lang,"awaitingReviewEmptyStateBody")}:this.options.emptyStateType===a.c.PastReleases?{heading:r.a.getPhrase(this.lang,"pastReleasesEmptyStateHeading")}:void 0}},{key:"onRender",value:function(){this.showChildView("videos",new S(this.options))}},{key:"name",get:function(){return"VideoGroupListComponent"}},{key:"template",get:function(){return f.a}},{key:"lang",get:function(){return"contentUpdates.videoGroupList"}},{key:"defaults",get:function(){return{emptyState:a.c.Default}}},{key:"behaviors",get:function(){return[{behaviorClass:i.a,region:"videos",type:this.options.emptyStateType,componentOptions:this.getEmptyStateComponentOptions(),emptyStateComponents:l.h}]}}]),n}(o.a.Component)},716:function(t,e,n){"use strict";n.d(e,"a",(function(){return g}));var o=n(2),r=n(58),i=n(0),l=n(4),a=n(39),c=n(771),u=n.n(c),s=n(772),f=n.n(s);function p(t){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function h(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function y(t,e){return(y=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function d(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=v(t);if(e){var r=v(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return b(this,n)}}function b(t,e){return!e||"object"!==p(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function v(t){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var g=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&y(t,e)}(s,t);var e,n,o,c=d(s);function s(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),c.call(this,t)}return e=s,(n=[{key:"events",value:function(){return{"click .disable-review":"onClickDisableReview"}}},{key:"onClickDisableReview",value:function(){var t={location:l.k.LeftNav,actionType:l.q.Disable,entity:l.e.CustomerSetting,descriptor:l.c.LibraryReview,workflowPhase:l.r.Start};a.a.logUserAction({},t)}},{key:"viewOptions",value:function(){return{supportUrl:r.a.safeUrlConcat(this.options.supportSiteUrl,i.y.LIBRARY_REVIEW)}}},{key:"name",get:function(){return"ContentUpdatesLeftNavComponent"}},{key:"className",get:function(){return"d-inline-block ".concat(f.a.leftNav)}},{key:"template",get:function(){return u.a}},{key:"lang",get:function(){return"contentUpdates.contentUpdatesLeftNav"}},{key:"appLinks",get:function(){return{".disable-review":{application:i.b.CONTENT_UPDATES,action:i.a.ContentUpdates.DISABLE_REVIEW}}}}])&&h(e.prototype,n),o&&h(e,o),s}(o.a.Component)},717:function(t,e,n){"use strict";n.d(e,"a",(function(){return b}));var o=n(2),r=n(773),i=n.n(r),l=n(675),a=n(174),c=n(774),u=n.n(c);function s(t){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function f(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function p(t,e){return(p=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function h(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=d(t);if(e){var r=d(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return y(this,n)}}function y(t,e){return!e||"object"!==s(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function d(t){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var b=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&p(t,e)}(c,t);var e,n,o,r=h(c);function c(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,c),r.call(this,t)}return e=c,(n=[{key:"regions",value:function(){return{tabs:{el:".tabs-region"}}}},{key:"getTabs",value:function(){var t=a.d;return this.options.reviewEnabled?t:t.filter((function(t){return t.name!==a.a.AwaitingReview}))}},{key:"viewOptions",value:function(){return{styles:u.a}}},{key:"onRender",value:function(){var t=this.getTabs();t.length<=1||this.showChildView("tabs",new l.a({tabs:t,activeTab:this.options.activeTab,className:"border-0"}))}},{key:"name",get:function(){return"ContentUpdatesHeaderComponent"}},{key:"className",get:function(){return"d-flex align-items-end border-bottom"}},{key:"template",get:function(){return i.a}},{key:"lang",get:function(){return"contentUpdates.contentUpdatesHeader"}}])&&f(e.prototype,n),o&&f(e,o),c}(o.a.Component)},750:function(t,e,n){var o=n(8);t.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){var i;t.propertyIsEnumerable;return'<h6 class="mb-0">'+t.escapeExpression("function"==typeof(i=null!=(i=n.title||(null!=e?e.title:e))?i:t.hooks.helperMissing)?i.call(null!=e?e:t.nullContext||{},{name:"title",hash:{},data:r}):i)+'</h6>\r\n<div class="options-region"></div>'},useData:!0})},751:function(t,e,n){var o=n(8);t.exports=(o.default||o).template({1:function(t,e,n,o,r){t.propertyIsEnumerable;return' <a class="clear-filters float-left text-muted hover-text-underline cursor-pointer">'+t.escapeExpression((n.lang||e&&e.lang||t.hooks.helperMissing).call(null!=e?e:t.nullContext||{},"reset",{name:"lang",hash:{},data:r}))+"</a>\r\n"},3:function(t,e,n,o,r){t.propertyIsEnumerable;return' <a class="apply-filters d-block text-right info-link">'+t.escapeExpression((n.lang||e&&e.lang||t.hooks.helperMissing).call(null!=e?e:t.nullContext||{},"apply",{name:"lang",hash:{},data:r}))+"</a>\r\n"},compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){t.propertyIsEnumerable;var i,l=null!=e?e:t.nullContext||{};return'<div class="filter-list-region"></div>\r\n<div>\r\n'+(null!=(i=n.if.call(l,null!=(i=null!=e?e.options:e)?i.showClearFilters:i,{name:"if",hash:{},fn:t.program(1,r,0),inverse:t.noop,data:r}))?i:"")+(null!=(i=n.if.call(l,null!=(i=null!=e?e.options:e)?i.showApplyFilters:i,{name:"if",hash:{},fn:t.program(3,r,0),inverse:t.noop,data:r}))?i:"")+"</div>"},useData:!0})},752:function(t,e,n){var o=n(8);t.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){t.propertyIsEnumerable;var i,l=t.lambda,a=t.escapeExpression;return'<button class="'+a(l(null!=(i=null!=e?e.options:e)?i.buttonClass:i,e))+' dropdown-btn" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">\r\n '+a(l(null!=(i=null!=e?e.options:e)?i.label:i,e))+'\r\n</button>\r\n<div class="dropdown-menu p-2 filters-region"></div>'},useData:!0})},753:function(t,e,n){t.exports={moreFiltersButton:"_3sym3"}},754:function(t,e,n){var o=n(8);t.exports=(o.default||o).template({1:function(t,e,n,o,r){t.propertyIsEnumerable;return'<div class="d-inline-block text-right">\r\n <a class="clear-filters cursor-pointer hover-text-underline">'+t.escapeExpression((n.lang||e&&e.lang||t.hooks.helperMissing).call(null!=e?e:t.nullContext||{},"reset",{name:"lang",hash:{},data:r}))+"</a>\r\n</div>\r\n"},compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){t.propertyIsEnumerable;var i,l=t.escapeExpression,a=null!=e?e:t.nullContext||{};return'<div class="d-inline-block border-right py-1 pr-3 '+l(t.lambda(null!=(i=null!=e?e.options:e)?i.labelClass:i,e))+'"><strong>'+l((n.lang||e&&e.lang||t.hooks.helperMissing).call(a,"heading",{name:"lang",hash:{},data:r}))+'</strong></div>\r\n<div class="filter-list-region d-inline-block pl-2"></div>\r\n<div class="more-filters-region d-inline-block mr-2"></div>\r\n'+(null!=(i=n.if.call(a,null!=(i=null!=e?e.options:e)?i.hasFiltersSelected:i,{name:"if",hash:{},fn:t.program(1,r,0),inverse:t.noop,data:r}))?i:"")},useData:!0})},755:function(t,e,n){var o=n(8);t.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){t.propertyIsEnumerable;var i,l=t.lambda,a=t.escapeExpression;return'<button class="'+a(l(null!=(i=null!=e?e.options:e)?i.buttonClass:i,e))+' dropdown-btn cursor-pointer" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">\r\n '+a(l(null!=(i=null!=e?e.options:e)?i.label:i,e))+'\r\n</button>\r\n<div class="dropdown-menu '+a(l(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.dropdownMenu:i,e))+' p-2 filter-region"></div>'},useData:!0})},756:function(t,e,n){var o=n(8);t.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){return'<div class="option-list-region"></div>'},useData:!0})},757:function(t,e,n){var o=n(8);t.exports=(o.default||o).template({1:function(t,e,n,o,r){t.propertyIsEnumerable;var i,l=t.lambda,a=t.escapeExpression;return'<div class="default-option py-1">\r\n <div class="custom-control custom-'+a(l(null!=(i=null!=e?e.options:e)?i.inputType:i,e))+'">\r\n <input type='+a(l(null!=(i=null!=e?e.options:e)?i.inputType:i,e))+' autocomplete="off" class="custom-control-input"'+(null!=(i=n.if.call(null!=e?e:t.nullContext||{},null!=(i=null!=e?e.options:e)?i.defaultOptionSelected:i,{name:"if",hash:{},fn:t.program(2,r,0),inverse:t.noop,data:r}))?i:"")+'>\r\n <label class="custom-control-label align-middle cursor-pointer">'+a(l(null!=(i=null!=e?e.options:e)?i.defaultOptionLabel:i,e))+"</label>\r\n </div>\r\n</div>\r\n"},2:function(t,e,n,o,r){return" checked"},compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){var i;t.propertyIsEnumerable;return(null!=(i=n.if.call(null!=e?e:t.nullContext||{},null!=(i=null!=e?e.options:e)?i.defaultOptionLabel:i,{name:"if",hash:{},fn:t.program(1,r,0),inverse:t.noop,data:r}))?i:"")+'<div class="options-region"></div>'},useData:!0})},758:function(t,e,n){var o=n(8);t.exports=(o.default||o).template({1:function(t,e,n,o,r){return" checked"},compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){t.propertyIsEnumerable;var i,l,a=t.lambda,c=t.escapeExpression,u=null!=e?e:t.nullContext||{};return'<div class="custom-control custom-'+c(a(null!=(i=null!=e?e.options:e)?i.inputType:i,e))+'">\r\n <input type='+c(a(null!=(i=null!=e?e.options:e)?i.inputType:i,e))+' autocomplete="off" class="custom-control-input"'+(null!=(i=n.if.call(u,null!=e?e.active:e,{name:"if",hash:{},fn:t.program(1,r,0),inverse:t.noop,data:r}))?i:"")+'>\r\n <label class="custom-control-label align-middle cursor-pointer">'+c("function"==typeof(l=null!=(l=n.name||(null!=e?e.name:e))?l:t.hooks.helperMissing)?l.call(u,{name:"name",hash:{},data:r}):l)+"</label>\r\n</div>"},useData:!0})},759:function(t,e,n){var o=n(8);t.exports=(o.default||o).template({1:function(t,e,n,o,r){return" on"},compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){t.propertyIsEnumerable;var i,l,a=null!=e?e:t.nullContext||{};return'<div class="custom-toggle toggle-option float-right'+(null!=(i=n.if.call(a,null!=(i=null!=e?e.options:e)?i.isSelected:i,{name:"if",hash:{},fn:t.program(1,r,0),inverse:t.noop,data:r}))?i:"")+'"><span class="handle"></span></div>\r\n<p>'+t.escapeExpression("function"==typeof(l=null!=(l=n.description||(null!=e?e.description:e))?l:t.hooks.helperMissing)?l.call(a,{name:"description",hash:{},data:r}):l)+"</p>"},useData:!0})},760:function(t,e,n){var o=n(8);t.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){var i;t.propertyIsEnumerable;return t.escapeExpression("function"==typeof(i=null!=(i=n.name||(null!=e?e.name:e))?i:t.hooks.helperMissing)?i.call(null!=e?e:t.nullContext||{},{name:"name",hash:{},data:r}):i)},useData:!0})},761:function(t,e,n){t.exports={options:"_6o30E",option:"_3yReT"}},762:function(t,e,n){var o=n(8);t.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){t.propertyIsEnumerable;var i,l,a=t.escapeExpression,c=null!=e?e:t.nullContext||{},u=t.hooks.helperMissing;return'<button type="button" class="d-block option-btn w-100 '+a(t.lambda(null!=(i=null!=e?e.options:e)?i.buttonClass:i,e))+'">\r\n '+a("function"==typeof(l=null!=(l=n.name||(null!=e?e.name:e))?l:u)?l.call(c,{name:"name",hash:{},data:r}):l)+'\r\n</button>\r\n<div class="text-center">'+a("function"==typeof(l=null!=(l=n.description||(null!=e?e.description:e))?l:u)?l.call(c,{name:"description",hash:{},data:r}):l)+"</div>"},useData:!0})},763:function(t,e,n){t.exports={optionItem:"_3jzt0",customOptionItem:"_78r7L",selected:"aFhSG"}},764:function(t,e,n){t.exports={container:"_1SMXf"}},765:function(t,e,n){var o=n(8);t.exports=(o.default||o).template({1:function(t,e,n,o,r){t.propertyIsEnumerable;return'<p class="mb-0">'+t.escapeExpression((n.lang||e&&e.lang||t.hooks.helperMissing).call(null!=e?e:t.nullContext||{},"emptyState",{name:"lang",hash:{},data:r}))+"</p>\r\n"},3:function(t,e,n,o,r){return'<div class="dropdown-divider"></div>\r\n'},compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){t.propertyIsEnumerable;var i,l=null!=e?e:t.nullContext||{};return(null!=(i=n.if.call(l,null!=(i=null!=e?e.options:e)?i.showEmptyState:i,{name:"if",hash:{},fn:t.program(1,r,0),inverse:t.noop,data:r}))?i:"")+'\r\n<div class="selected-tags-region"></div>\r\n'+(null!=(i=n.if.call(l,null!=(i=null!=e?e.options:e)?i.useDivider:i,{name:"if",hash:{},fn:t.program(3,r,0),inverse:t.noop,data:r}))?i:"")+'<div class="relevant-tags-region"></div>'},useData:!0})},766:function(t,e,n){var o=n(8);t.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){return'<div class="tags-region"></div>'},useData:!0})},768:function(t,e,n){var o=n(8);t.exports=(o.default||o).template({1:function(t,e,n,o,r){t.propertyIsEnumerable;var i,l=t.escapeExpression;return'<button class="approve-all btn btn-success d-inline-block '+l(t.lambda(null!=(i=null!=e?e.options:e)?i.btnClass:i,e))+'" type="button">'+l((n.lang||e&&e.lang||t.hooks.helperMissing).call(null!=e?e:t.nullContext||{},"approveBtn",{name:"lang",hash:{smartCount:null!=(i=null!=e?e.options:e)?i.numVideos:i},data:r}))+"</button>\r\n"},compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){t.propertyIsEnumerable;var i,l=t.escapeExpression,a=null!=e?e:t.nullContext||{};return'<h5 class="d-inline-block m-0 '+l(t.lambda(null!=(i=null!=e?e.options:e)?i.headingClass:i,e))+'">'+l((n.lang||e&&e.lang||t.hooks.helperMissing).call(a,"heading",{name:"lang",hash:{smartCount:null!=(i=null!=e?e.options:e)?i.numVideos:i},data:r}))+"</h5>\r\n"+(null!=(i=n.if.call(a,null!=(i=null!=e?e.options:e)?i.videosToReview:i,{name:"if",hash:{},fn:t.program(1,r,0),inverse:t.noop,data:r}))?i:"")},useData:!0})},769:function(t,e,n){var o=n(8);t.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){return'<div class="videos-region"></div>'},useData:!0})},770:function(t,e,n){var o=n(8);t.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){var i;t.propertyIsEnumerable;return'<h4 class="pl-3">'+t.escapeExpression(t.lambda(null!=(i=null!=e?e.options:e)?i.groupTitle:i,e))+'</h4>\r\n<div class="video-list-region"></div>'},useData:!0})},771:function(t,e,n){var o=n(8);t.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){t.propertyIsEnumerable;var i,l=null!=e?e:t.nullContext||{},a=t.hooks.helperMissing,c=t.escapeExpression;return'<div class="p-3 border-bottom">\r\n <h5>'+c((n.lang||e&&e.lang||a).call(l,"manualReviewHeading",{name:"lang",hash:{},data:r}))+"</h5>\r\n <p>"+c((n.lang||e&&e.lang||a).call(l,"manualReviewBody",{name:"lang",hash:{},data:r}))+'</p>\r\n <button class="btn btn-light text-center disable-review" type="button">'+c((n.lang||e&&e.lang||a).call(l,"manualReviewOffBtn",{name:"lang",hash:{},data:r}))+'</button>\r\n</div>\r\n<div class="p-3 border-bottom">\r\n <p class="m-0">'+c((n.lang||e&&e.lang||a).call(l,"noActionDisclaimer",{name:"lang",hash:{},data:r}))+'</p>\r\n <p class="m-0">'+c((n.lang||e&&e.lang||a).call(l,"learnMore",{name:"lang",hash:{},data:r}))+" <a href="+c(t.lambda(null!=(i=null!=e?e.options:e)?i.supportUrl:i,e))+' target="_blank">'+c((n.lang||e&&e.lang||a).call(l,"learnMoreLink",{name:"lang",hash:{},data:r}))+"</a></p>\r\n</div>"},useData:!0})},772:function(t,e,n){t.exports={leftNav:"_15vRB"}},773:function(t,e,n){var o=n(8);t.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){t.propertyIsEnumerable;var i,l=t.lambda,a=t.escapeExpression;return'<div class="d-inline-block p-3 '+a(l(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.heading:i,e))+'"><h1 class="h3 m-0">'+a((n.lang||e&&e.lang||t.hooks.helperMissing).call(null!=e?e:t.nullContext||{},"contentUpdates",{name:"lang",hash:{},data:r}))+'</h1></div><div class="tabs-region d-inline-flex align-items-end '+a(l(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.tabsContainer:i,e))+'"></div>'},useData:!0})},774:function(t,e,n){t.exports={heading:"_1SwZ2",tabsContainer:"_3f4T9"}},775:function(t,e,n){t.exports={content:"_303Nb",contentWithLeftNav:"_2ZCHY"}},779:function(t,e,n){"use strict";var o=n(7),r=n(2),i=n(0),l=n(6),a=n(4),c=n(39),u=n(24),s=n(3),f=n(17),p=n(80),h=n(688),y=n(750),d=n.n(y);function b(t){return(b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function v(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function g(t,e){return(g=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function m(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=k(t);if(e){var r=k(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return w(this,n)}}function w(t,e){return!e||"object"!==b(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function k(t){return(k=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var O=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&g(t,e)}(i,t);var e,n,o,r=m(i);function i(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i),r.call(this,t)}return e=i,(n=[{key:"regions",value:function(){return{options:{el:".options-region",replaceElement:!0}}}},{key:"renderOptions",value:function(){this.showChildView("options",new jt({collection:this.model.options,model:this.model,channelName:this.options.channelName}))}},{key:"onRender",value:function(){this.renderOptions()}},{key:"name",get:function(){return"FilterItemComponent"}},{key:"template",get:function(){return d.a}},{key:"className",get:function(){return"py-1"}}])&&v(e.prototype,n),o&&v(e,o),i}(r.a.Component),C=n(751),S=n.n(C);function R(t){return(R="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function _(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function E(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function P(t,e,n){return e&&E(t.prototype,e),n&&E(t,n),t}function T(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&j(t,e)}function j(t,e){return(j=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function x(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=N(t);if(e){var r=N(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return F(this,n)}}function F(t,e){return!e||"object"!==R(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function N(t){return(N=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var D=function(t){T(n,t);var e=x(n);function n(){return _(this,n),e.apply(this,arguments)}return P(n,[{key:"initialize",value:function(){this.bindListeners()}},{key:"regions",value:function(){return{filterList:{el:".filter-list-region",replaceElement:!0}}}},{key:"events",value:function(){return{click:"onClick","click .apply-filters":"onClickApplyFilters","click .clear-filters":"onClickClearFilters"}}},{key:"bindListeners",value:function(){this.listenTo(this.channelName,i.i.Filters.OPTION_SELECTED,this.render)}},{key:"onClick",value:function(t){t.stopPropagation()}},{key:"onClickApplyFilters",value:function(t){t.stopPropagation(),this.applyFilters(),this.render()}},{key:"onClickClearFilters",value:function(t){t.stopPropagation(),o.Radio.channel(this.options.channelName).trigger("reset:filters"),p.b.clearFilters(this.collection),this.isTagFilterType()&&o.Radio.channel(h.a.TagFilter).trigger("change:relevant:tags"),this.render()}},{key:"applyFilters",value:function(){o.Radio.channel(this.options.channelName).trigger(i.i.Filters.APPLY_FILTER)}},{key:"hasFiltersSelected",value:function(){return this.collection.some((function(t){return p.b.isSelected(t)}))}},{key:"isTagFilterType",value:function(){return!!this.collection.findWhere({type:f.a.Tags})}},{key:"viewOptions",value:function(){return{showApplyFilters:!this.isTagFilterType(),showClearFilters:this.hasFiltersSelected()}}},{key:"onRender",value:function(){this.showChildView("filterList",new I({collection:this.collection,channelName:this.channelName}))}},{key:"name",get:function(){return"FilterListComponent"}},{key:"template",get:function(){return S.a}},{key:"lang",get:function(){return"search.filterList"}},{key:"className",get:function(){return"px-1"}},{key:"channelName",get:function(){return"".concat(this.name).concat(this.cid)}}]),n}(r.a.Component),I=function(t){T(n,t);var e=x(n);function n(t){return _(this,n),e.call(this,t)}return P(n,[{key:"name",get:function(){return"FilterComponentCollection"}},{key:"tagName",get:function(){return"ul"}},{key:"className",get:function(){return"m-0 p-0"}},{key:"childView",get:function(){return O}},{key:"childViewOptions",get:function(){return{channelName:this.options.channelName}}}]),n}(r.a.ComponentCollection),L=n(62),A=n(681),V=n.n(A),M=n(752),U=n.n(M),B=n(753),H=n.n(B);function G(t){return(G="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function W(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function q(t,e){return(q=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function z(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=Y(t);if(e){var r=Y(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return Q(this,n)}}function Q(t,e){return!e||"object"!==G(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function Y(t){return(Y=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var J=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&q(t,e)}(f,t);var e,n,r,l=z(f);function f(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,f),l.call(this,t)}return e=f,(n=[{key:"initialize",value:function(){this.getViewModel(),this.setInitialFilters(),this.bindListeners()}},{key:"regions",value:function(){return{filters:{el:".filters-region",replaceElement:!1}}}},{key:"events",value:function(){return{"hide.bs.dropdown":"onHideDropdown","show.bs.dropdown":"onShowDropdown"}}},{key:"getViewModel",value:function(){this.viewModel=u.a.get(this.viewModelName)}},{key:"bindListeners",value:function(){this.listenTo(this.channelName,i.i.Filters.APPLY_FILTER,this.onClickApplyFilters),this.listenTo(this.channelName,"reset:filters",this.logFilterResetAction)}},{key:"setInitialFilters",value:function(){this.initialFilters=new L.a(this.collection.toJSON())}},{key:"onClickApplyFilters",value:function(){this.viewModel.get("dropdownVisible")&&(this.viewModel.set({applyClicked:!0}),this.toggleDropdown())}},{key:"onShowDropdown",value:function(){this.viewModel.set("dropdownVisible",!0)}},{key:"onHideDropdown",value:function(){var t=this.viewModel.get("applyClicked");this.viewModel.unset("applyClicked"),this.viewModel.set("dropdownVisible",!1),this.applyFilters(!!t)}},{key:"toggleDropdown",value:function(){this.getUI("dropdownToggle").dropdown("toggle")}},{key:"applyFilters",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.haveFiltersChanged()&&(this.logFilterApplyAction(t),this.setInitialFilters(),o.Radio.channel(this.options.channelName).trigger(i.i.Filters.FILTER_CHANGED),this.render())}},{key:"haveFiltersChanged",value:function(){var t=this;return!this.collection.every((function(e,n){return!p.b.hasFilterChanged(t.initialFilters.at(n),e)}))}},{key:"isSelected",value:function(){return this.collection.some((function(t){return p.b.isSelected(t)}))}},{key:"numSelectedFilters",value:function(){return this.collection.filter((function(t){return p.b.isSelected(t)})).length}},{key:"getLabel",value:function(){var t=s.a.getPhrase(this.lang,"moreFilters"),e=this.numSelectedFilters();return e&&(t+=" - ".concat(e)),t}},{key:"getButtonClass",value:function(){var t="btn ".concat(V.a.filterButton);return this.isSelected()?t+=" btn-info":t+=" btn-light",t}},{key:"logFilterApplyAction",value:function(t){var e=this;this.collection.each((function(n,o){p.b.hasFilterChanged(e.initialFilters.at(o),n)&&e.logFilter(n,t)}))}},{key:"logFilter",value:function(t,e){var n={location:a.k.SearchFilters,actionType:a.q.Filter,entity:a.e.Video,workflowPhase:a.r.Complete},o={filter:t.get("title"),selectedOption:p.b.getFilterSelectedOptionsAnalyticsData(t),applyClicked:e};c.a.logUserAction(o,n)}},{key:"logFilterResetAction",value:function(){var t={location:a.k.SearchFilters,actionType:a.q.Filter,descriptor:a.h.Reset,entity:a.e.Video,workflowPhase:a.r.Complete};c.a.logUserAction({filter:"More Filters"},t)}},{key:"viewOptions",value:function(){return{label:this.getLabel(),buttonClass:this.getButtonClass()}}},{key:"renderFilters",value:function(){this.showChildView("filters",new D({collection:this.collection,channelName:this.channelName}))}},{key:"onRender",value:function(){this.renderFilters(),this.viewModel.get("dropdownVisible")&&this.toggleDropdown()}},{key:"name",get:function(){return"MoreFiltersButtonComponent"}},{key:"template",get:function(){return U.a}},{key:"lang",get:function(){return"search.moreFiltersButton"}},{key:"className",get:function(){return"rounded cursor-pointer ".concat(H.a.moreFiltersButton)}},{key:"channelName",get:function(){return"".concat(this.name).concat(this.cid)}},{key:"viewModelName",get:function(){return this.name}},{key:"elements",get:function(){return{dropdownToggle:".dropdown-btn"}}}])&&W(e.prototype,n),r&&W(e,r),f}(r.a.Component),Z=n(754),$=n.n(Z);function X(t){return(X="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function K(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function tt(t,e){return(tt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function et(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=ot(t);if(e){var r=ot(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return nt(this,n)}}function nt(t,e){return!e||"object"!==X(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function ot(t){return(ot=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var rt=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&tt(t,e)}(s,t);var e,n,r,u=et(s);function s(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),u.call(this,t)}return e=s,(n=[{key:"regions",value:function(){return{filterList:{el:".filter-list-region",replaceRegion:!0,partialLoading:l.j.SearchFilter},moreFilters:{el:".more-filters-region",replaceRegion:!0}}}},{key:"events",value:function(){return{"click .clear-filters":"onClickClearFilters"}}},{key:"onClickClearFilters",value:function(){p.b.clearFilters(this.collection),o.Radio.channel(this.options.channelName).trigger(i.i.Filters.FILTER_CHANGED),this.logFilterResetAction()}},{key:"getVisibleFilters",value:function(){return new L.a(this.collection.filter((function(t){return!t.get("showInMoreFilters")&&p.b.showFilter(t)})))}},{key:"getMoreFilters",value:function(){return new L.a(this.collection.filter((function(t){return t.get("showInMoreFilters")&&p.b.showFilter(t)})))}},{key:"hasFiltersSelected",value:function(){return this.collection.some((function(t){return p.b.isSelected(t)}))}},{key:"logFilterResetAction",value:function(){var t={location:a.k.SearchFilters,actionType:a.q.Filter,descriptor:a.h.Reset,entity:a.e.Video,workflowPhase:a.r.Complete};c.a.logUserAction({filter:"All"},t)}},{key:"renderFilterList",value:function(){var t=new ft({collection:this.getVisibleFilters(),channelName:this.options.channelName});this.showChildView("filterList",t)}},{key:"renderMoreFilters",value:function(){var t=new J({collection:this.getMoreFilters(),channelName:this.options.channelName});this.showChildView("moreFilters",t)}},{key:"viewOptions",value:function(){return{labelClass:V.a.label,hasFiltersSelected:this.collection&&this.hasFiltersSelected(),clearFiltersClass:V.a.clearFilters}}},{key:"onBeforeRender",value:function(){return!!this.collection}},{key:"onRender",value:function(){this.renderFilterList(),this.renderMoreFilters()}},{key:"name",get:function(){return"FiltersComponent"}},{key:"template",get:function(){return $.a}},{key:"lang",get:function(){return"search.filters"}}])&&K(e.prototype,n),r&&K(e,r),s}(r.a.Component);function it(t){return(it="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function lt(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function at(t,e){return(at=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function ct(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=st(t);if(e){var r=st(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return ut(this,n)}}function ut(t,e){return!e||"object"!==it(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function st(t){return(st=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var ft=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&at(t,e)}(i,t);var e,n,o,r=ct(i);function i(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i),r.call(this,t)}return e=i,(n=[{key:"name",get:function(){return"FilterListComponent"}},{key:"tagName",get:function(){return"ul"}},{key:"className",get:function(){return"m-0 p-0"}},{key:"childView",get:function(){return kt}},{key:"childViewOptions",get:function(){return{channelName:this.options.channelName,analyticsOptions:{location:a.k.SearchFilters,entity:a.e.Video}}}}])&&lt(e.prototype,n),o&&lt(e,o),i}(r.a.ComponentCollection),pt=n(88),ht=n(755),yt=n.n(ht);function dt(t){return(dt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function bt(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function vt(t,e){return(vt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function gt(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=wt(t);if(e){var r=wt(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return mt(this,n)}}function mt(t,e){return!e||"object"!==dt(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function wt(t){return(wt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var kt=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&vt(t,e)}(h,t);var e,n,l,s=gt(h);function h(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,h),s.call(this,t)}return e=h,(n=[{key:"initialize",value:function(){this.getViewModel(),this.setInitialFilter(),this.bindListeners()}},{key:"regions",value:function(){return{filter:{el:".filter-region",replaceElement:!1}}}},{key:"events",value:function(){return{"hide.bs.dropdown":"onHideDropdown","show.bs.dropdown":"onShowDropdown"}}},{key:"getViewModel",value:function(){this.viewModel=u.a.get(this.viewModelName)}},{key:"bindListeners",value:function(){this.listenTo(this.channelName,i.i.Filters.APPLY_FILTER,this.onClickApplyFilter),this.listenTo(this.channelName,"reset:filters",this.logFilterResetAction)}},{key:"setInitialFilter",value:function(){this.initialFilter=new pt.a(this.model.toJSON())}},{key:"onClickApplyFilter",value:function(){this.viewModel.get("dropdownVisible")&&(this.viewModel.set({applyClicked:!0}),this.toggleDropdown())}},{key:"onShowDropdown",value:function(){this.viewModel.set("dropdownVisible",!0)}},{key:"onHideDropdown",value:function(){var t=this.viewModel.get("applyClicked");this.viewModel.unset("applyClicked"),this.viewModel.set("dropdownVisible",!1),this.applyFilter(!!t)}},{key:"toggleDropdown",value:function(){this.getUI("dropdownToggle").dropdown("toggle")}},{key:"applyFilter",value:function(t){p.b.hasFilterChanged(this.initialFilter,this.model)&&this.model.get("type")!==f.a.Tags&&(this.setInitialFilter(),o.Radio.channel(this.options.channelName).trigger(i.i.Filters.FILTER_CHANGED),this.logFilterApplyAction(t))}},{key:"getLabel",value:function(){return p.b.isSelected(this.model)?p.b.getFilterLabel(this.model):this.model.get("title")}},{key:"getButtonClass",value:function(){var t="btn ".concat(V.a.filterButton);return p.b.isSelected(this.model)?t+=" btn-info":t+=" btn-light",t}},{key:"logFilterApplyAction",value:function(t){var e=c.a.mergeOptions(this.options.analyticsOptions,{actionType:a.q.Filter,workflowPhase:a.r.Complete}),n={filter:this.model.get("title"),selectedOption:p.b.getFilterSelectedOptionsAnalyticsData(this.model),applyClicked:t};c.a.logUserAction(n,e)}},{key:"logFilterResetAction",value:function(){var t=c.a.mergeOptions(this.options.analyticsOptions,{actionType:a.q.Filter,descriptor:a.h.Reset,workflowPhase:a.r.Complete}),e={filter:this.model.get("title")};c.a.logUserAction(e,t)}},{key:"viewOptions",value:function(){return{styles:V.a,label:this.getLabel(),buttonClass:this.getButtonClass()}}},{key:"renderFilter",value:function(){this.showChildView("filter",new D({collection:new r.a.Collection([this.model]),channelName:this.channelName}))}},{key:"onRender",value:function(){this.renderFilter(),this.viewModel.get("dropdownVisible")&&this.toggleDropdown()}},{key:"name",get:function(){return"FilterButtonItemComponent"}},{key:"template",get:function(){return yt.a}},{key:"className",get:function(){return"d-inline-block m-1"}},{key:"channelName",get:function(){return"".concat(this.name).concat(this.cid)}},{key:"viewModelName",get:function(){return"".concat(this.name,":").concat(this.model.get("type"))}},{key:"elements",get:function(){return{dropdownToggle:".dropdown-btn"}}}])&&bt(e.prototype,n),l&&bt(e,l),h}(r.a.Component),Ot=n(756),Ct=n.n(Ot);function St(t){return(St="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Rt(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function _t(t,e){return(_t=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Et(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=Tt(t);if(e){var r=Tt(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return Pt(this,n)}}function Pt(t,e){return!e||"object"!==St(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function Tt(t){return(Tt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var jt=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&_t(t,e)}(a,t);var e,n,r,l=Et(a);function a(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),l.call(this,t)}return e=a,(n=[{key:"initialize",value:function(){this.bindListeners()}},{key:"regions",value:function(){return{optionsList:".option-list-region"}}},{key:"bindListeners",value:function(){this.listenTo(this.channelName,i.i.Filters.OPTION_SELECTED,this.onChangeOption)}},{key:"onChangeOption",value:function(t,e){t&&this.isInclusiveType()&&this.onChangeInclusiveOption(t),t&&this.isExclusiveType()&&this.onChangeExclusiveOption(t),t&&this.isRangeType()&&this.onChangeRangeOption(t),t&&this.isTagType()&&this.onChangeTagOption(t),e||(o.Radio.channel(this.options.channelName).trigger(i.i.Filters.OPTION_SELECTED),this.render())}},{key:"onChangeInclusiveOption",value:function(t){t.set("active",!t.get("active"))}},{key:"onChangeExclusiveOption",value:function(t){p.b.clearOptions(this.model),t.set("active",!0)}},{key:"onChangeRangeOption",value:function(t){p.b.clearOptions(this.model),this.collection.each((function(e){e.get("value")<=t.get("value")&&e.set("active",!0)}))}},{key:"onChangeTagOption",value:function(t){var e=this.collection.findWhere({name:t.get("name")});e.set("active",!e.get("active"))}},{key:"isBooleanType",value:function(){return this.model.get("behavior")===p.a.Boolean}},{key:"isInclusiveType",value:function(){return this.model.get("behavior")===p.a.Inclusive}},{key:"isExclusiveType",value:function(){return this.model.get("behavior")===p.a.Exclusive}},{key:"isRangeType",value:function(){return this.model.get("behavior")===p.a.Range}},{key:"isTagType",value:function(){return this.model.get("behavior")===p.a.Tag}},{key:"getChildComponent",value:function(){return this.model.get("type")===f.a.Duration?Le:this.isTagType()?an:this.isRangeType()?ke:this.isBooleanType()?ae:Ht}},{key:"renderOptionsList",value:function(){this.showChildView("optionsList",new(this.getChildComponent())({collection:this.collection,model:this.model,channelName:this.channelName,isExclusiveType:this.isExclusiveType()}))}},{key:"onRender",value:function(){this.renderOptionsList()}},{key:"name",get:function(){return"FilterOptionsComponent"}},{key:"template",get:function(){return Ct.a}},{key:"className",get:function(){return"py-1"}},{key:"channelName",get:function(){return"".concat(this.name).concat(this.cid)}}])&&Rt(e.prototype,n),r&&Rt(e,r),a}(r.a.Component),xt=n(757),Ft=n.n(xt);function Nt(t){return(Nt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Dt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function It(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Lt(t,e,n){return e&&It(t.prototype,e),n&&It(t,n),t}function At(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Vt(t,e)}function Vt(t,e){return(Vt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Mt(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=Bt(t);if(e){var r=Bt(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return Ut(this,n)}}function Ut(t,e){return!e||"object"!==Nt(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function Bt(t){return(Bt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var Ht=function(t){At(n,t);var e=Mt(n);function n(t){return Dt(this,n),e.call(this,t)}return Lt(n,[{key:"regions",value:function(){return{options:".options-region"}}},{key:"events",value:function(){return{"click .default-option":"onClickDefaultOption"}}},{key:"onClickDefaultOption",value:function(t){t.stopPropagation(),this.model.get("behavior")===p.a.Inclusive?p.b.selectAllOptions(this.model):p.b.clearOptions(this.model),o.Radio.channel(this.options.channelName).trigger(i.i.Filters.OPTION_SELECTED),this.render()}},{key:"defaultOptionSelected",value:function(){return this.model.get("behavior")===p.a.Inclusive?p.b.allOptionsSelected(this.model):!p.b.hasOptionSelected(this.model)}},{key:"getInputType",value:function(){return this.options.isExclusiveType?"radio":"checkbox"}},{key:"viewOptions",value:function(){return{inputType:this.getInputType(),defaultOptionSelected:this.defaultOptionSelected(),defaultOptionLabel:this.model.get("defaultOptionLabel")}}},{key:"renderOptions",value:function(){this.showChildView("options",new Gt({collection:this.collection,childOptions:{channelName:this.options.channelName,isExclusiveType:this.options.isExclusiveType}}))}},{key:"onRender",value:function(){this.renderOptions()}},{key:"name",get:function(){return"FilterOptionsListComponent"}},{key:"template",get:function(){return Ft.a}}]),n}(r.a.Component),Gt=function(t){At(n,t);var e=Mt(n);function n(t){return Dt(this,n),e.call(this,t)}return Lt(n,[{key:"name",get:function(){return"FilterOptionComponentCollection"}},{key:"childView",get:function(){return Xt}},{key:"childViewOptions",get:function(){return this.options.childOptions}}]),n}(r.a.ComponentCollection),Wt=n(758),qt=n.n(Wt);function zt(t){return(zt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Qt(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Yt(t,e){return(Yt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Jt(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=$t(t);if(e){var r=$t(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return Zt(this,n)}}function Zt(t,e){return!e||"object"!==zt(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function $t(t){return($t=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var Xt=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Yt(t,e)}(a,t);var e,n,r,l=Jt(a);function a(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),l.call(this,t)}return e=a,(n=[{key:"initialize",value:function(){this.bindListeners()}},{key:"events",value:function(){return{click:"onClick"}}},{key:"bindListeners",value:function(){this.listenTo(this.model,"change",this.render)}},{key:"onClick",value:function(t){t.stopPropagation(),o.Radio.channel(this.options.channelName).trigger(i.i.Filters.OPTION_SELECTED,this.model)}},{key:"getInputType",value:function(){return this.options.isExclusiveType?"radio":"checkbox"}},{key:"viewOptions",value:function(){return{inputType:this.getInputType()}}},{key:"name",get:function(){return"FilterOptionItemComponent"}},{key:"template",get:function(){return qt.a}},{key:"className",get:function(){return"filter-option-item py-1 cursor-pointer"}}])&&Qt(e.prototype,n),r&&Qt(e,r),a}(r.a.Component),Kt=n(759),te=n.n(Kt);function ee(t){return(ee="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ne(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function oe(t,e){return(oe=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function re(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=le(t);if(e){var r=le(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return ie(this,n)}}function ie(t,e){return!e||"object"!==ee(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function le(t){return(le=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var ae=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&oe(t,e)}(a,t);var e,n,r,l=re(a);function a(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),l.call(this,t)}return e=a,(n=[{key:"events",value:function(){return{"click .toggle-option":"onClickToggleOption"}}},{key:"onClickToggleOption",value:function(t){t.stopPropagation(),this.model.set("active",!this.model.get("active")),o.Radio.channel(this.options.channelName).trigger(i.i.Filters.OPTION_SELECTED),this.render()}},{key:"viewOptions",value:function(){return{isSelected:this.model.get("active")}}},{key:"name",get:function(){return"BoolFilterOptionComponent"}},{key:"template",get:function(){return te.a}}])&&ne(e.prototype,n),r&&ne(e,r),a}(r.a.Component),ce=n(760),ue=n.n(ce),se=n(761),fe=n.n(se);function pe(t){return(pe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function he(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ye(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function de(t,e,n){return e&&ye(t.prototype,e),n&&ye(t,n),t}function be(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ve(t,e)}function ve(t,e){return(ve=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function ge(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=we(t);if(e){var r=we(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return me(this,n)}}function me(t,e){return!e||"object"!==pe(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function we(t){return(we=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var ke=function(t){be(n,t);var e=ge(n);function n(){return he(this,n),e.apply(this,arguments)}return de(n,[{key:"name",get:function(){return"RatingFilterOptionComponentCollection"}},{key:"className",get:function(){return"btn-group ".concat(fe.a.options," py-2")}},{key:"attributes",get:function(){return{role:"group"}}},{key:"childView",get:function(){return Oe}},{key:"childViewOptions",get:function(){return{channelName:this.options.channelName}}}]),n}(r.a.ComponentCollection),Oe=function(t){be(n,t);var e=ge(n);function n(){return he(this,n),e.apply(this,arguments)}return de(n,[{key:"events",value:function(){return{click:"onClick"}}},{key:"onClick",value:function(t){t.stopPropagation(),o.Radio.channel(this.options.channelName).trigger(i.i.Filters.OPTION_SELECTED,this.model)}},{key:"isSelected",value:function(){return this.model.get("active")}},{key:"onRender",value:function(){this.$el.tooltip()}},{key:"onBeforeDestroy",value:function(){this.$el.tooltip("dispose")}},{key:"name",get:function(){return"RatingFilterOptionItemComponent"}},{key:"template",get:function(){return ue.a}},{key:"tagName",get:function(){return"button"}},{key:"className",get:function(){var t="".concat(fe.a.option," border btn btn-");return this.isSelected()?"".concat(t,"info"):"".concat(t,"light")}},{key:"attributes",get:function(){return{type:"button",title:this.model.get("fullName")}}}]),n}(r.a.Component),Ce=n(762),Se=n.n(Ce),Re=n(763),_e=n.n(Re);function Ee(t){return(Ee="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Pe(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Te(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function je(t,e,n){return e&&Te(t.prototype,e),n&&Te(t,n),t}function xe(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Fe(t,e)}function Fe(t,e){return(Fe=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Ne(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=Ie(t);if(e){var r=Ie(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return De(this,n)}}function De(t,e){return!e||"object"!==Ee(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function Ie(t){return(Ie=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var Le=function(t){xe(n,t);var e=Ne(n);function n(){return Pe(this,n),e.apply(this,arguments)}return je(n,[{key:"getOptionItemClassName",value:function(){var t=_e.a.optionItem;return 4===this.collection.length&&(t+=" ".concat(_e.a.customOptionItem)),t}},{key:"name",get:function(){return"DurationFilterOptionComponentCollection"}},{key:"childView",get:function(){return Ae}},{key:"className",get:function(){return _e.a.options}},{key:"childViewOptions",get:function(){return{channelName:this.options.channelName,optionItemClassName:this.getOptionItemClassName()}}}]),n}(r.a.ComponentCollection),Ae=function(t){xe(n,t);var e=Ne(n);function n(t){return Pe(this,n),e.call(this,t)}return je(n,[{key:"events",value:function(){return{"click .option-btn":"onClickOption"}}},{key:"viewOptions",value:function(){return{buttonClass:this.getButtonClass()}}},{key:"onClickOption",value:function(t){t.stopPropagation(),o.Radio.channel(this.options.channelName).trigger(i.i.Filters.OPTION_SELECTED,this.model)}},{key:"isSelected",value:function(){return this.model.get("active")}},{key:"getButtonClass",value:function(){var t="btn ".concat(_e.a.optionButton," p-1");return this.isSelected()?t+=" btn-info":t+=" btn-light",t}},{key:"name",get:function(){return"DurationFilterItemComponent"}},{key:"template",get:function(){return Se.a}},{key:"className",get:function(){return"d-inline-block p-1 ".concat(this.options.optionItemClassName)}}]),n}(r.a.Component),Ve=n(1),Me=n(105),Ue=n(764),Be=n.n(Ue),He=n(765),Ge=n.n(He),We=n(689),qe=n(766),ze=n.n(qe);function Qe(t){return(Qe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Ye(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Je(t,e){return(Je=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Ze(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=Xe(t);if(e){var r=Xe(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return $e(this,n)}}function $e(t,e){return!e||"object"!==Qe(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function Xe(t){return(Xe=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var Ke=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Je(t,e)}(i,t);var e,n,o,r=Ze(i);function i(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i),r.call(this,t)}return e=i,(n=[{key:"regions",value:function(){return{tags:{el:".tags-region",replaceElement:!0,partialLoading:l.j.TagFilter}}}},{key:"onBeforeRender",value:function(){return!Ve.isNull(this.collection)}},{key:"onRender",value:function(){this.showChildView("tags",new We.a({collection:this.collection,channelName:this.options.channelName,behavior:this.options.behavior,removeEvent:this.options.removeEvent,clickEvent:this.options.clickEvent}))}},{key:"name",get:function(){return"TagFilterOptionsListComponent"}},{key:"template",get:function(){return ze.a}}])&&Ye(e.prototype,n),o&&Ye(e,o),i}(r.a.Component);function tn(t){return(tn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function en(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function nn(t,e){return(nn=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function on(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=ln(t);if(e){var r=ln(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return rn(this,n)}}function rn(t,e){return!e||"object"!==tn(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function ln(t){return(ln=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var an=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&nn(t,e)}(a,t);var e,n,r,l=on(a);function a(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),l.call(this,t)}return e=a,(n=[{key:"initialize",value:function(){this.bindListeners(),this.setRelevantTags()}},{key:"regions",value:function(){return{selectedTags:{el:".selected-tags-region",replaceElement:!0},relevantTags:{el:".relevant-tags-region",replaceElement:!0}}}},{key:"bindListeners",value:function(){this.listenTo(this.channelName,"on:option:change",this.onChange)}},{key:"onChange",value:function(t){o.Radio.channel(this.options.channelName).trigger(i.i.Filters.OPTION_SELECTED,t,!0),o.Radio.channel(h.a.TagFilter).trigger("change:relevant:tags"),this.relevantTags=null,this.render()}},{key:"setRelevantTags",value:function(){var t=p.b.getSelectedOptions(this.collection).map((function(t){return t.get("id")}));this.collection.length!==t.length?this.relevantTags=new L.b(this.collection.filter((function(e){return!Ve.contains(t,e.get("id"))})).slice(0,5)):this.relevantTags=null}},{key:"hasSelectedTags",value:function(){var t=p.b.getSelectedOptions(this.collection);return t&&!!t.length}},{key:"hasRelevantTags",value:function(){return Ve.isNull(this.relevantTags)||this.relevantTags&&!!this.relevantTags.length}},{key:"renderSelectedTags",value:function(){if(this.hasSelectedTags()){var t=p.b.getSelectedOptions(this.collection);this.showChildView("selectedTags",new Ke({collection:t,channelName:this.channelName,behavior:Me.c.Filter,removeEvent:"on:option:change"}))}}},{key:"renderRelevantTags",value:function(){this.showChildView("relevantTags",new Ke({collection:this.relevantTags,channelName:this.channelName,behavior:Me.c.Filter,clickEvent:"on:option:change"}))}},{key:"viewOptions",value:function(){return{showEmptyState:!this.hasSelectedTags()&&!this.hasRelevantTags(),useDivider:this.hasSelectedTags()&&this.hasRelevantTags()}}},{key:"onRender",value:function(){this.renderSelectedTags(),this.renderRelevantTags()}},{key:"name",get:function(){return"TagFilterOptionsComponent"}},{key:"template",get:function(){return Ge.a}},{key:"lang",get:function(){return"search.tagFilterOptions"}},{key:"className",get:function(){return"".concat(Be.a.container)}},{key:"channelName",get:function(){return"".concat(this.name).concat(this.cid)}}])&&en(e.prototype,n),r&&en(e,r),a}(r.a.Component);n.d(e,"f",(function(){return rt})),n.d(e,"b",(function(){return ft})),n.d(e,"a",(function(){return kt})),n.d(e,"d",(function(){return jt})),n.d(e,"e",(function(){return Ht})),n.d(e,"c",(function(){return Xt}))},953:function(t,e,n){var o=n(8);t.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){t.propertyIsEnumerable;return'<div class="d-inline-block border-right py-1 pr-3"><strong>'+t.escapeExpression((n.lang||e&&e.lang||t.hooks.helperMissing).call(null!=e?e:t.nullContext||{},"filters",{name:"lang",hash:{},data:r}))+'</strong></div>\r\n<div class="filter-list-region d-inline-block pl-2"></div>'},useData:!0})},954:function(t,e,n){var o=n(8);t.exports=(o.default||o).template({1:function(t,e,n,o,r){t.propertyIsEnumerable;return'<button class="generate-pdf btn btn-light d-inline-block" type="button">'+t.escapeExpression((n.lang||e&&e.lang||t.hooks.helperMissing).call(null!=e?e:t.nullContext||{},"generatePdf",{name:"lang",hash:{},data:r}))+"</button>\r\n"},compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){var i;t.propertyIsEnumerable;return'<div class="filters-region d-inline-block"></div>\r\n'+(null!=(i=n.if.call(null!=e?e:t.nullContext||{},null!=(i=null!=e?e.options:e)?i.showGeneratePdf:i,{name:"if",hash:{},fn:t.program(1,r,0),inverse:t.noop,data:r}))?i:"")},useData:!0})},955:function(t,e,n){var o=n(8);t.exports=(o.default||o).template({1:function(t,e,n,o,r){return'<div class="left-nav-region"></div>'},compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){var i;t.propertyIsEnumerable;return'<div class="header-region"></div>\r\n'+(null!=(i=n.if.call(null!=e?e:t.nullContext||{},null!=(i=null!=e?e.options:e)?i.showLeftNav:i,{name:"if",hash:{},fn:t.program(1,r,0),inverse:t.noop,data:r}))?i:"")+'<div class="'+t.escapeExpression(t.lambda(null!=(i=null!=e?e.options:e)?i.contentClass:i,e))+'">\r\n<div class="list-header-region"></div>\r\n<div class="video-list-region"></div>\r\n<div class="pagination-region"></div>\r\n</div>'},useData:!0})}}]);
1
+ (window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[20],{1088:function(t,e,n){"use strict";n.r(e);var o=n(1),r=n(2),i=n(5),l=n(3),a=n(4),c=n(31),u=n(672),s=n(61),f=n(37),p=n(6),h=n(0),y=n(663),d=n(119),b=n(86),v=n(680),g=n(89),m=n(176),w=(n(716),n(719)),k=n(718),O=n(955),C=n.n(O),S=n(781),R=n(62),_=n(80);function E(t){return(E="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function P(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function T(t,e){return(T=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function j(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=F(t);if(e){var r=F(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return x(this,n)}}function x(t,e){return!e||"object"!==E(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function F(t){return(F=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var N=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&T(t,e)}(i,t);var e,n,o,r=j(i);function i(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i),r.call(this,t)}return e=i,(n=[{key:"regions",value:function(){return{filterList:{el:".filter-list-region",replaceRegion:!1,partialLoading:p.j.PastReleasesSearchFilter}}}},{key:"getVisibleFilters",value:function(){return new R.a(this.collection.filter((function(t){return _.b.showFilter(t)})))}},{key:"renderFilterList",value:function(){var t=new S.b({collection:this.getVisibleFilters(),channelName:this.options.channelName});this.showChildView("filterList",t)}},{key:"onBeforeRender",value:function(){return!!this.collection}},{key:"onRender",value:function(){this.renderFilterList()}},{key:"name",get:function(){return"PastReleasesFiltersComponent"}},{key:"template",get:function(){return C.a}},{key:"lang",get:function(){return"contentUpdates.pastReleasesFilters"}}])&&P(e.prototype,n),o&&P(e,o),i}(r.a.Component),D=n(7),I=n(956),L=n.n(I);function A(t){return(A="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function V(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function M(t,e){return(M=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function U(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=H(t);if(e){var r=H(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return B(this,n)}}function B(t,e){return!e||"object"!==A(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function H(t){return(H=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var G=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&M(t,e)}(i,t);var e,n,o,r=U(i);function i(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i),r.call(this,t)}return e=i,(n=[{key:"regions",value:function(){return{filters:{el:".filters-region"}}}},{key:"events",value:function(){return{"click .generate-pdf":"onClickGeneratePdf"}}},{key:"onClickGeneratePdf",value:function(){D.Radio.channel(this.options.channelName).trigger("generate:pdf")}},{key:"renderFilters",value:function(){var t=new N({collection:this.filterCollection,channelName:this.options.channelName});this.showChildView("filters",t)}},{key:"viewOptions",value:function(){return{showGeneratePdf:this.options.showGeneratePdf}}},{key:"onRender",value:function(){this.renderFilters()}},{key:"name",get:function(){return"PastReleasesHeaderComponent"}},{key:"props",get:function(){return["filterCollection"]}},{key:"lang",get:function(){return"contentUpdates.pastReleasesHeader"}},{key:"className",get:function(){return"d-flex justify-content-between align-items-center p-3 border-bottom"}},{key:"template",get:function(){return L.a}}])&&V(e.prototype,n),o&&V(e,o),i}(r.a.Component),W=n(717),q=n(22),z=n(777),Q=n.n(z),Y=n(957),J=n.n(Y);function Z(t){return(Z="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function $(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function X(t,e){return(X=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function K(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=et(t);if(e){var r=et(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return tt(this,n)}}function tt(t,e){return!e||"object"!==Z(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function et(t){return(et=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n.d(e,"PastReleasesView",(function(){return nt}));var nt=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&X(t,e)}(S,t);var e,n,O,C=K(S);function S(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,S),C.call(this,t)}return e=S,(n=[{key:"initialize",value:function(){this.bindListeners(),this.settingsDataService=i.a.getInstance(h.g.Settings,this),this.contentUpdatesDataService=i.a.getInstance(h.g.ContentUpdates,this),this.videoDataService=i.a.getInstance(h.g.Video,this),this.libraryDataService=i.a.getInstance(h.g.Library,this),this.videoMixinService=i.a.getInstance(h.x.VideoMixin,this)}},{key:"regions",value:function(){return{header:{el:".header-region",replaceElement:!0},leftNav:{el:".left-nav-region",replaceElement:!0},listHeader:{el:".list-header-region",replaceElement:!0},videos:{el:".video-list-region",replaceElement:!0,partialLoading:p.j.VideoGroupList},pagination:{el:".pagination-region",replaceElement:!0}}}},{key:"bindListeners",value:function(){this.listenTo(h.e.SETTINGS,"".concat(h.f.SETTINGS,":sync"),this.render),this.listenTo(this.channelName,"generate:pdf",this.onClickGeneratePdf),this.listenTo(h.e.RESTRICTED_VIDEO,"".concat(h.f.UPDATE_VIDEO_RESTRICTION,":sync"),this.updateRestrictedVideos),this.listenTo(this.channelName,h.i.Filters.FILTER_CHANGED,o.debounce(this.onFilterChange,100)),this.listenTo(this.channelName,"fetch:video:with:metadata",this.fetchVideoWithMetadata)}},{key:"initializeFilterCollection",value:function(){var t=this;this.filterCollection||this.libraryDataService.getHostedLibraries((function(e){return t.onLibrariesSync(e)}))}},{key:"onLibrariesSync",value:function(t){var e=this;this.filterCollection||(this.libraryIds=m.f.getLibraryIds(this.options.queryParams[q.a.Libraries],t),this.subjectCollectionIdentifier=new v.c({dateQueryString:this.options.queryParams[q.a.ReleaseDate],libraryIds:this.libraryIds}),this.contentUpdatesDataService.getRecentVideoSubjects(this.subjectCollectionIdentifier,(function(n){return e.onSubjectsSync(t,n)})))}},{key:"onSubjectsSync",value:function(t,e){var n=m.f.getSubjectOptions(e);this.filterCollection=m.f.getFilterCollection(t,n,this.options.queryParams);var o=m.f.getSelectedSubjects(this.filterCollection),r=n.length>1&&n.length===o.length;this.videoCollectionIdentifier=new v.b({dateQueryString:this.options.queryParams[q.a.ReleaseDate],libraryIds:this.libraryIds,subjects:!r&&o,cursor:this.options.queryParams.cursor}),this.listenTo(h.e.CONTENT_UPDATES,"".concat(this.videoCollectionIdentifier.toString(),":sync"),this.render),this.fetchVideos()}},{key:"setVideosWithMetadata",value:function(){this.videoCollection&&!this.videosWithMetadata&&(this.videosWithMetadata=new f.a(this.videoCollection.map((function(t){return new s.a({id:t.get("id")})}))))}},{key:"updateRestrictedVideos",value:function(){var t=this;this.videoMixinService.getAndMixinVideoCollectionRestrictions(this.videoCollection,null,(function(){return t.render()}))}},{key:"onFilterChange",value:function(){r.a.AppLinkHelper.trigger({application:h.b.CONTENT_UPDATES,action:h.a.ContentUpdates.PAST_RELEASES,params:m.f.getRouteQueryParams(this.filterCollection)})}},{key:"onClickGeneratePdf",value:function(){this.videoCollection.length&&(r.a.AppLinkHelper.trigger({application:h.b.CONTENT_UPDATES,action:h.a.ContentUpdates.GENERATE_PDF,params:m.f.getRouteQueryParams(this.filterCollection)}),this.logPdfAction())}},{key:"getContentClassName",value:function(){var t=Q.a.content;return this.reviewSetting&&this.reviewSetting.get("value")?t+=" d-inline-block border-left ".concat(Q.a.contentWithLeftNav):t+=" w-100",t}},{key:"logPdfAction",value:function(){var t={location:a.k.PastReleasesHeader,actionType:a.q.Create,entity:a.e.PDF,workflowPhase:a.r.Start},e=m.f.getSelectedSubjects(this.filterCollection),n=m.f.getSelectedReleaseDate(this.filterCollection),o={libraries:this.libraryIds.join(","),subjects:e.map((function(t){return t.get("name")})).join(","),releaseDate:n.get("name")};c.a.logUserAction(o,t)}},{key:"renderHeader",value:function(){this.reviewSetting?this.showChildView("header",new w.a({activeTab:m.b.PastReleases,reviewEnabled:this.reviewSetting.get("value")})):this.renderPartialLoading("header")}},{key:"renderLeftNav",value:function(){this.reviewSetting&&this.reviewSetting.get("value")&&this.showChildView("leftNav",new k.a({supportSiteUrl:this.config.get("supportSiteUrl")}))}},{key:"renderListHeader",value:function(){this.showChildView("listHeader",new G({filterCollection:this.filterCollection,channelName:this.channelName,showGeneratePdf:!!this.videoCollection&&!!this.videoCollection.length}))}},{key:"renderVideos",value:function(){this.config&&this.groupedVideoCollection?this.showChildView("videos",new W.a({collection:this.groupedVideoCollection,childOptions:{config:this.config,videoItemComponentType:y.b.PastReleases,videosWithMetadata:this.videosWithMetadata,customerHasCustomLibrary:this.customLibraries&&!!this.customLibraries.length,collectionViewChannel:this.channelName},emptyStateType:p.c.PastReleases,emptyStateOptions:{heading:l.a.getPhrase(this.lang,"emptyState")}})):this.renderPartialLoading("videos")}},{key:"renderPagination",value:function(){if(this.videoCollection){var t=this.contentUpdatesDataService.getVideoCollectionCursors(this.videoCollectionIdentifier),e=new u.a({cursors:t,appLink:{application:h.b.CONTENT_UPDATES,action:h.a.ContentUpdates.PAST_RELEASES,params:m.f.getRouteQueryParams(this.filterCollection)}});this.showChildView("pagination",e)}}},{key:"fetchVideos",value:function(){this.filterCollection&&!this.videoCollection&&(this.videoCollection=this.contentUpdatesDataService.getRecentVideos(this.videoCollectionIdentifier),this.videoCollection&&(this.setVideosWithMetadata(),this.groupedVideoCollection=m.f.groupVideosByReleaseMonth(this.videoCollection)))}},{key:"fetchVideoWithMetadata",value:function(t){var e=this;this.videoDataService.getVideo(t,(function(n){var o=e.videosWithMetadata.get(t);o&&(o.set(n.toJSON()),o.set({dataFetched:!0}))}))}},{key:"onBeforeRender",value:function(){this.initializeFilterCollection(),this.fetchVideos(),this.videoCollection&&(this.groupedVideoCollection=m.f.groupVideosByReleaseMonth(this.videoCollection)),this.reviewSetting=this.settingsDataService.getSetting(this.currentUser.get("customerId"),p.m.LibraryReview)}},{key:"viewOptions",value:function(){return{showLeftNav:this.reviewSetting&&this.reviewSetting.get("value"),contentClass:this.getContentClassName()}}},{key:"onRender",value:function(){this.renderHeader(),this.renderLeftNav(),this.renderListHeader(),this.renderVideos(),this.renderPagination()}},{key:"name",get:function(){return"PastReleasesView"}},{key:"title",get:function(){return l.a.getPhrase(this.lang,"title")}},{key:"lang",get:function(){return"contentUpdates.pastReleases"}},{key:"channelName",get:function(){return"".concat(this.name).concat(this.cid)}},{key:"className",get:function(){return"bg-white"}},{key:"template",get:function(){return J.a}},{key:"requiredResources",get:function(){return{config:d.b.config,currentUser:b.b.currentUser,customLibraries:g.b.libraries}}}])&&$(e.prototype,n),O&&$(e,O),S}(r.a.View)},672:function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var o=n(1),r=n(2),i=n(4),l=n(31),a=n(673),c=n.n(a);class u extends r.a.Component{constructor(t){super(t)}get defaults(){return{cursors:{},cursorParamName:"cursor"}}get name(){return"PaginationComponent"}get template(){return c.a}get lang(){return"shared._pagination"}get appLinks(){const t={};if(!this.options.cursors)return{};if(this.options.cursors.previous){let e=this.options.cursors.previous;const n=this.buildCursor(this.options.cursors.previous);+e<=1&&!0!==this.options.allowFirstPageCursor&&delete n.params.cursor,t[".previous-applink"]=n}return this.options.cursors.next&&(t[".next-applink"]=this.buildCursor(this.options.cursors.next)),t}events(){return{"click .previous-applink":"onClickPrevious","click .next-applink":"onClickNext"}}buildCursor(t){return{application:this.options.appLink.application,action:this.options.appLink.action,args:this.options.appLink.args,params:o.extend({},this.options.appLink.params,{[this.options.cursorParamName]:t})}}onClickPrevious(){this.logAction("previous")}onClickNext(){this.logAction("next")}logAction(t){const e=l.a.mergeOptions(this.options.analyticsOptions,{location:i.k.Pagination,entity:i.e.Pagination,actionType:i.q.Navigate,workflowPhase:i.r.Complete}),n={id:this.options.collectionId,page:t};l.a.logUserAction(n,e)}viewOptions(){return{cursors:this.options.cursors}}onBeforeRender(){return!!this.options.cursors}}},673:function(t,e,n){var o=n(8);t.exports=(o.default||o).template({1:function(t,e,n,o,r){return"disabled"},compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){t.propertyIsEnumerable;var i,l=null!=e?e:t.nullContext||{},a=t.hooks.helperMissing,c=t.escapeExpression;return'<div class="p-3">\r\n <a class="btn previous-applink btn-secondary '+(null!=(i=n.unless.call(l,null!=(i=null!=(i=null!=e?e.options:e)?i.cursors:i)?i.previous:i,{name:"unless",hash:{},fn:t.program(1,r,0),inverse:t.noop,data:r}))?i:"")+'">'+c((n.lang||e&&e.lang||a).call(l,"previous",{name:"lang",hash:{},data:r}))+'</a>\r\n <a class="btn next-applink btn-secondary '+(null!=(i=n.unless.call(l,null!=(i=null!=(i=null!=e?e.options:e)?i.cursors:i)?i.next:i,{name:"unless",hash:{},fn:t.program(1,r,0),inverse:t.noop,data:r}))?i:"")+'">'+c((n.lang||e&&e.lang||a).call(l,"next",{name:"lang",hash:{},data:r}))+"</a>\r\n</div>"},useData:!0})},677:function(t,e,n){"use strict";n.d(e,"a",(function(){return d}));var o=n(1),r=n(2),i=n(678),l=n.n(i),a=n(679),c=n.n(a);function u(t){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function s(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function f(t,e){return(f=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function p(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=y(t);if(e){var r=y(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return h(this,n)}}function h(t,e){return!e||"object"!==u(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function y(t){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var d=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&f(t,e)}(a,t);var e,n,r,i=p(a);function a(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),i.call(this,t)}return e=a,(n=[{key:"viewOptions",value:function(){var t=this.options.tabs.map((function(t){return Object.assign(Object.assign({},t),{link:t.link.selector.replace(".","")})}));return{styles:l.a,tabs:t}}},{key:"setActiveTab",value:function(){var t=this,e=!1;if(this.options.tabs.forEach((function(n){n.active=!1,n.link.selector===t.options.activeTab&&(n.active=!0,e=!0)})),!e){var n=o.first(this.options.tabs);n&&(n.active=!0)}}},{key:"onBeforeRender",value:function(){this.setActiveTab()}},{key:"name",get:function(){return"TabsView"}},{key:"className",get:function(){var t="bg-white py-2 border-bottom";return this.options.className&&(t+=" ".concat(this.options.className)),t}},{key:"template",get:function(){return c.a}},{key:"appLinks",get:function(){var t={};return this.options.tabs.forEach((function(e){return t[e.link.selector]=e.link.appLink})),t}}])&&s(e.prototype,n),r&&s(e,r),a}(r.a.Component)},678:function(t,e,n){t.exports={link:"_5idZs",active:"_3Ty4M"}},679:function(t,e,n){var o=n(8);t.exports=(o.default||o).template({1:function(t,e,n,o,r,i,l){var a;t.propertyIsEnumerable;return null!=(a=n.unless.call(null!=e?e:t.nullContext||{},null!=e?e.hide:e,{name:"unless",hash:{},fn:t.program(2,r,0,i,l),inverse:t.noop,data:r}))?a:""},2:function(t,e,n,o,r,i,l){t.propertyIsEnumerable;var a,c=t.lambda,u=t.escapeExpression;return' <a class="'+u(c(null!=(a=null!=(a=null!=l[1]?l[1].options:l[1])?a.styles:a)?a.link:a,e))+" p-2 "+u(c(null!=e?e.link:e,e))+" "+(null!=(a=n.if.call(null!=e?e:t.nullContext||{},null!=e?e.active:e,{name:"if",hash:{},fn:t.program(3,r,0,i,l),inverse:t.noop,data:r}))?a:"")+'">'+u(c(null!=e?e.name:e,e))+"</a>\r\n"},3:function(t,e,n,o,r,i,l){var a;t.propertyIsEnumerable;return t.escapeExpression(t.lambda(null!=(a=null!=(a=null!=l[1]?l[1].options:l[1])?a.styles:a)?a.active:a,e))+" border-bottom border-primary text-primary"},compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r,i,l){var a;t.propertyIsEnumerable;return null!=(a=n.each.call(null!=e?e:t.nullContext||{},null!=(a=null!=e?e.options:e)?a.tabs:a,{name:"each",hash:{},fn:t.program(1,r,0,i,l),inverse:t.noop,data:r}))?a:""},useData:!0,useDepths:!0})},680:function(t,e,n){"use strict";var o=n(121),r=n(1),i=n(120),l=n(0),a=n(88),c=n(176);function u(t){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function s(t){return function(t){if(Array.isArray(t))return f(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return f(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return f(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}function p(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function h(t,e){return(h=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function y(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=b(t);if(e){var r=b(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return d(this,n)}}function d(t,e){return!e||"object"!==u(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function b(t){return(b=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var v=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&h(t,e)}(u,t);var e,n,o,i=y(u);function u(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,u),(e=i.call(this,{collectionPrefix:"".concat(l.f.RECENT_VIDEOS,":collection"),cursor:t.cursor,sort:t.sort})).setAdditionalData(t),e}return e=u,(n=[{key:"setAdditionalData",value:function(t){var e=t.libraryIds,n=t.dateQueryString,o=t.subjects;e&&(this.libraryIds=e),o&&(r.isArray(o)&&o.length&&(this.subjects=o),r.isArray(o)||(this.subjects=[o]));var i=r.findWhere(c.g,{queryString:n})||c.e;this.dateOption=new a.b(i)}},{key:"toString",value:function(){var t=this.subjects&&this.subjects.length&&this.subjects.map((function(t){return escape(t.get("name"))}))||[];return[this.collectionPrefix,this.libraryIds,this.dateOption.get("from"),this.dateOption.get("to")].concat(s(t),[this.cursor]).filter(Boolean).join(":")}},{key:"toParams",value:function(){var t={};return this.libraryIds&&(t.libraryIds=this.libraryIds),this.dateOption&&(t.from=this.dateOption.get("from"),t.to=this.dateOption.get("to")),this.subjects&&(t.subjectIds=r.flatten(this.subjects.map((function(t){return t.get("subjectIds")})))),this.cursor&&(t.cursor=this.cursor),t}}])&&p(e.prototype,n),o&&p(e,o),u}(i.a);function g(t){return(g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function m(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function w(t,e){return(w=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function k(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=C(t);if(e){var r=C(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return O(this,n)}}function O(t,e){return!e||"object"!==g(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function C(t){return(C=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var S=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&w(t,e)}(u,t);var e,n,o,i=k(u);function u(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,u),(e=i.call(this,{collectionPrefix:"".concat(l.f.RECENT_SUBJECTS,":collection"),sort:t.sort})).setAdditionalData(t),e}return e=u,(n=[{key:"setAdditionalData",value:function(t){var e=t.libraryIds,n=t.dateQueryString;e&&(this.libraryIds=e);var o=r.findWhere(c.g,{queryString:n})||c.e;this.dateOption=new a.b(o)}},{key:"toString",value:function(){return[this.collectionPrefix,this.libraryIds,this.dateOption.get("from"),this.dateOption.get("to")].filter(Boolean).join(":")}},{key:"toParams",value:function(){var t={};return this.libraryIds&&(t.libraryIds=this.libraryIds),this.dateOption&&(t.from=this.dateOption.get("from"),t.to=this.dateOption.get("to")),t}}])&&m(e.prototype,n),o&&m(e,o),u}(i.a);function R(t){return(R="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function _(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function E(t,e){return(E=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function P(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=j(t);if(e){var r=j(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return T(this,n)}}function T(t,e){return!e||"object"!==R(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function j(t){return(j=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var x=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&E(t,e)}(n,t);var e=P(n);function n(t,o){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return _(this,n),e.call(this,{collectionPrefix:l.f.LIBRARY_FOLDERS,id:t,sort:o,cursor:r})}return n}(i.a);n.d(e,"d",(function(){return o.a})),n.d(e,"b",(function(){return v})),n.d(e,"c",(function(){return S})),n.d(e,"a",(function(){return x}))},683:function(t,e,n){t.exports={label:"_3iMZr",filterButton:"_1xOts",dropdownMenu:"_1Yzts"}},690:function(t,e,n){"use strict";var o={TagFilter:"tag:filter"};n.d(e,"a",(function(){return o}))},716:function(t,e,n){"use strict";n.d(e,"a",(function(){return g}));var o=n(7),r=n(2),i=n(4),l=n(31),a=n(11),c=n(3),u=n(770),s=n.n(u);function f(t){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function p(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function h(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function y(t,e){return(y=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function d(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=v(t);if(e){var r=v(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return b(this,n)}}function b(t,e){return!e||"object"!==f(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function v(t){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var g=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&y(t,e)}(f,t);var e,n,r,u=d(f);function f(){return p(this,f),u.apply(this,arguments)}return e=f,(n=[{key:"events",value:function(){return{"click .approve-all":"onClickApproveAll"}}},{key:"onClickApproveAll",value:function(){var t=this;new a.d(this.getApproveAllDialogOptions()).render().done((function(){return t.onConfirmApproveAll()})),this.logAction(i.r.Start)}},{key:"onConfirmApproveAll",value:function(){o.Radio.channel(this.options.channelName).trigger("approve:all"),this.logAction(i.r.Complete)}},{key:"getApproveAllDialogOptions",value:function(){return{title:c.a.getPhrase(this.lang,"dialogTitle"),text:c.a.getPhrase(this.lang,"dialogBody"),buttons:[{text:c.a.getPhrase(this.lang,"dialogButton"),className:"btn btn-primary",success:!0}]}}},{key:"logAction",value:function(t){var e={location:i.k.AwaitingReviewVideoListHeader,actionType:i.q.Approve,descriptor:i.l.All,entity:i.e.Video,workflowPhase:t},n={approvedCount:this.collection.length};l.a.logUserAction(n,e)}},{key:"viewOptions",value:function(){return{videosToReview:!!this.collection.length,multipleVideos:this.collection.length>1,numVideos:this.collection.length}}},{key:"name",get:function(){return"AwaitingReviewHeaderComponent"}},{key:"className",get:function(){return"d-flex justify-content-between align-items-center p-3 border-bottom"}},{key:"template",get:function(){return s.a}},{key:"lang",get:function(){return"contentUpdates.awaitingReviewHeader"}}])&&h(e.prototype,n),r&&h(e,r),f}(r.a.Component)},717:function(t,e,n){"use strict";n.d(e,"a",(function(){return R}));var o=n(2),r=n(3),i=n(179),l=n(0),a=n(6),c=n(712),u=n(663),s=n(771),f=n.n(s),p=n(772),h=n.n(p);function y(t){return(y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function d(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function b(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function v(t,e,n){return e&&b(t.prototype,e),n&&b(t,n),t}function g(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&m(t,e)}function m(t,e){return(m=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function w(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=O(t);if(e){var r=O(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return k(this,n)}}function k(t,e){return!e||"object"!==y(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function O(t){return(O=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var C=function(t){g(n,t);var e=w(n);function n(t){return d(this,n),e.call(this,t)}return v(n,[{key:"regions",value:function(){return{videos:{el:".video-list-region",replaceElement:!0}}}},{key:"getGroupTitle",value:function(){var t=this.options.groupTitleAttr||"groupTitle";return this.model.get(t)}},{key:"viewOptions",value:function(){return{groupTitle:this.getGroupTitle()}}},{key:"onRender",value:function(){this.showChildView("videos",new c.a({collection:this.model.videos,videosWithMetadata:this.options.videosWithMetadata,application:l.b.CONTENT_UPDATES,collectionIdentifier:null,videoItemComponentType:this.options.videoItemComponentType,config:this.options.config,sourceMetadataOptions:this.options.sourceMetadataOptions,collectionViewChannel:this.options.collectionViewChannel,customerHasLocalCache:this.options.customerHasLocalCache,customerHasCustomLibrary:this.options.customerHasCustomLibrary}))}},{key:"name",get:function(){return"VideoGroupItemComponent"}},{key:"template",get:function(){return h.a}},{key:"className",get:function(){return"pt-3"}},{key:"defaults",get:function(){return{videoItemComponentType:u.b.Base}}}]),n}(o.a.Component),S=function(t){g(n,t);var e=w(n);function n(t){return d(this,n),e.call(this,t)}return v(n,[{key:"name",get:function(){return"VideoGroupItemComponentCollection"}},{key:"childView",get:function(){return C}},{key:"childViewOptions",get:function(){return this.options.childOptions}}]),n}(o.a.ComponentCollection),R=function(t){g(n,t);var e=w(n);function n(t){return d(this,n),e.call(this,t)}return v(n,[{key:"regions",value:function(){return{videos:{el:".videos-region",replaceElement:!0}}}},{key:"getEmptyStateComponentOptions",value:function(){return this.options.emptyStateType===a.c.AwaitingReview?{heading:r.a.getPhrase(this.lang,"awaitingReviewEmptyStateHeading"),description:r.a.getPhrase(this.lang,"awaitingReviewEmptyStateBody")}:this.options.emptyStateType===a.c.PastReleases?{heading:r.a.getPhrase(this.lang,"pastReleasesEmptyStateHeading")}:void 0}},{key:"onRender",value:function(){this.showChildView("videos",new S(this.options))}},{key:"name",get:function(){return"VideoGroupListComponent"}},{key:"template",get:function(){return f.a}},{key:"lang",get:function(){return"contentUpdates.videoGroupList"}},{key:"defaults",get:function(){return{emptyState:a.c.Default}}},{key:"behaviors",get:function(){return[{behaviorClass:i.a,region:"videos",type:this.options.emptyStateType,componentOptions:this.getEmptyStateComponentOptions(),emptyStateComponents:l.h}]}}]),n}(o.a.Component)},718:function(t,e,n){"use strict";n.d(e,"a",(function(){return g}));var o=n(2),r=n(58),i=n(0),l=n(4),a=n(31),c=n(773),u=n.n(c),s=n(774),f=n.n(s);function p(t){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function h(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function y(t,e){return(y=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function d(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=v(t);if(e){var r=v(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return b(this,n)}}function b(t,e){return!e||"object"!==p(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function v(t){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var g=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&y(t,e)}(s,t);var e,n,o,c=d(s);function s(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),c.call(this,t)}return e=s,(n=[{key:"events",value:function(){return{"click .disable-review":"onClickDisableReview"}}},{key:"onClickDisableReview",value:function(){var t={location:l.k.LeftNav,actionType:l.q.Disable,entity:l.e.CustomerSetting,descriptor:l.c.LibraryReview,workflowPhase:l.r.Start};a.a.logUserAction({},t)}},{key:"viewOptions",value:function(){return{supportUrl:r.a.safeUrlConcat(this.options.supportSiteUrl,i.y.LIBRARY_REVIEW)}}},{key:"name",get:function(){return"ContentUpdatesLeftNavComponent"}},{key:"className",get:function(){return"d-inline-block ".concat(f.a.leftNav)}},{key:"template",get:function(){return u.a}},{key:"lang",get:function(){return"contentUpdates.contentUpdatesLeftNav"}},{key:"appLinks",get:function(){return{".disable-review":{application:i.b.CONTENT_UPDATES,action:i.a.ContentUpdates.DISABLE_REVIEW}}}}])&&h(e.prototype,n),o&&h(e,o),s}(o.a.Component)},719:function(t,e,n){"use strict";n.d(e,"a",(function(){return b}));var o=n(2),r=n(775),i=n.n(r),l=n(677),a=n(176),c=n(776),u=n.n(c);function s(t){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function f(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function p(t,e){return(p=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function h(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=d(t);if(e){var r=d(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return y(this,n)}}function y(t,e){return!e||"object"!==s(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function d(t){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var b=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&p(t,e)}(c,t);var e,n,o,r=h(c);function c(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,c),r.call(this,t)}return e=c,(n=[{key:"regions",value:function(){return{tabs:{el:".tabs-region"}}}},{key:"getTabs",value:function(){var t=a.d;return this.options.reviewEnabled?t:t.filter((function(t){return t.name!==a.a.AwaitingReview}))}},{key:"viewOptions",value:function(){return{styles:u.a}}},{key:"onRender",value:function(){var t=this.getTabs();t.length<=1||this.showChildView("tabs",new l.a({tabs:t,activeTab:this.options.activeTab,className:"border-0"}))}},{key:"name",get:function(){return"ContentUpdatesHeaderComponent"}},{key:"className",get:function(){return"d-flex align-items-end border-bottom"}},{key:"template",get:function(){return i.a}},{key:"lang",get:function(){return"contentUpdates.contentUpdatesHeader"}}])&&f(e.prototype,n),o&&f(e,o),c}(o.a.Component)},752:function(t,e,n){var o=n(8);t.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){var i;t.propertyIsEnumerable;return'<h6 class="mb-0">'+t.escapeExpression("function"==typeof(i=null!=(i=n.title||(null!=e?e.title:e))?i:t.hooks.helperMissing)?i.call(null!=e?e:t.nullContext||{},{name:"title",hash:{},data:r}):i)+'</h6>\r\n<div class="options-region"></div>'},useData:!0})},753:function(t,e,n){var o=n(8);t.exports=(o.default||o).template({1:function(t,e,n,o,r){t.propertyIsEnumerable;return' <a class="clear-filters float-left text-muted hover-text-underline cursor-pointer">'+t.escapeExpression((n.lang||e&&e.lang||t.hooks.helperMissing).call(null!=e?e:t.nullContext||{},"reset",{name:"lang",hash:{},data:r}))+"</a>\r\n"},3:function(t,e,n,o,r){t.propertyIsEnumerable;return' <a class="apply-filters d-block text-right info-link">'+t.escapeExpression((n.lang||e&&e.lang||t.hooks.helperMissing).call(null!=e?e:t.nullContext||{},"apply",{name:"lang",hash:{},data:r}))+"</a>\r\n"},compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){t.propertyIsEnumerable;var i,l=null!=e?e:t.nullContext||{};return'<div class="filter-list-region"></div>\r\n<div>\r\n'+(null!=(i=n.if.call(l,null!=(i=null!=e?e.options:e)?i.showClearFilters:i,{name:"if",hash:{},fn:t.program(1,r,0),inverse:t.noop,data:r}))?i:"")+(null!=(i=n.if.call(l,null!=(i=null!=e?e.options:e)?i.showApplyFilters:i,{name:"if",hash:{},fn:t.program(3,r,0),inverse:t.noop,data:r}))?i:"")+"</div>"},useData:!0})},754:function(t,e,n){var o=n(8);t.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){t.propertyIsEnumerable;var i,l=t.lambda,a=t.escapeExpression;return'<button class="'+a(l(null!=(i=null!=e?e.options:e)?i.buttonClass:i,e))+' dropdown-btn" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">\r\n '+a(l(null!=(i=null!=e?e.options:e)?i.label:i,e))+'\r\n</button>\r\n<div class="dropdown-menu p-2 filters-region"></div>'},useData:!0})},755:function(t,e,n){t.exports={moreFiltersButton:"_3sym3"}},756:function(t,e,n){var o=n(8);t.exports=(o.default||o).template({1:function(t,e,n,o,r){t.propertyIsEnumerable;return'<div class="d-inline-block text-right">\r\n <a class="clear-filters cursor-pointer hover-text-underline">'+t.escapeExpression((n.lang||e&&e.lang||t.hooks.helperMissing).call(null!=e?e:t.nullContext||{},"reset",{name:"lang",hash:{},data:r}))+"</a>\r\n</div>\r\n"},compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){t.propertyIsEnumerable;var i,l=t.escapeExpression,a=null!=e?e:t.nullContext||{};return'<div class="d-inline-block border-right py-1 pr-3 '+l(t.lambda(null!=(i=null!=e?e.options:e)?i.labelClass:i,e))+'"><strong>'+l((n.lang||e&&e.lang||t.hooks.helperMissing).call(a,"heading",{name:"lang",hash:{},data:r}))+'</strong></div>\r\n<div class="filter-list-region d-inline-block pl-2"></div>\r\n<div class="more-filters-region d-inline-block mr-2"></div>\r\n'+(null!=(i=n.if.call(a,null!=(i=null!=e?e.options:e)?i.hasFiltersSelected:i,{name:"if",hash:{},fn:t.program(1,r,0),inverse:t.noop,data:r}))?i:"")},useData:!0})},757:function(t,e,n){var o=n(8);t.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){t.propertyIsEnumerable;var i,l=t.lambda,a=t.escapeExpression;return'<button class="'+a(l(null!=(i=null!=e?e.options:e)?i.buttonClass:i,e))+' dropdown-btn cursor-pointer" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">\r\n '+a(l(null!=(i=null!=e?e.options:e)?i.label:i,e))+'\r\n</button>\r\n<div class="dropdown-menu '+a(l(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.dropdownMenu:i,e))+' p-2 filter-region"></div>'},useData:!0})},758:function(t,e,n){var o=n(8);t.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){return'<div class="option-list-region"></div>'},useData:!0})},759:function(t,e,n){var o=n(8);t.exports=(o.default||o).template({1:function(t,e,n,o,r){t.propertyIsEnumerable;var i,l=t.lambda,a=t.escapeExpression;return'<div class="default-option py-1">\r\n <div class="custom-control custom-'+a(l(null!=(i=null!=e?e.options:e)?i.inputType:i,e))+'">\r\n <input type='+a(l(null!=(i=null!=e?e.options:e)?i.inputType:i,e))+' autocomplete="off" class="custom-control-input"'+(null!=(i=n.if.call(null!=e?e:t.nullContext||{},null!=(i=null!=e?e.options:e)?i.defaultOptionSelected:i,{name:"if",hash:{},fn:t.program(2,r,0),inverse:t.noop,data:r}))?i:"")+'>\r\n <label class="custom-control-label align-middle cursor-pointer">'+a(l(null!=(i=null!=e?e.options:e)?i.defaultOptionLabel:i,e))+"</label>\r\n </div>\r\n</div>\r\n"},2:function(t,e,n,o,r){return" checked"},compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){var i;t.propertyIsEnumerable;return(null!=(i=n.if.call(null!=e?e:t.nullContext||{},null!=(i=null!=e?e.options:e)?i.defaultOptionLabel:i,{name:"if",hash:{},fn:t.program(1,r,0),inverse:t.noop,data:r}))?i:"")+'<div class="options-region"></div>'},useData:!0})},760:function(t,e,n){var o=n(8);t.exports=(o.default||o).template({1:function(t,e,n,o,r){return" checked"},compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){t.propertyIsEnumerable;var i,l,a=t.lambda,c=t.escapeExpression,u=null!=e?e:t.nullContext||{};return'<div class="custom-control custom-'+c(a(null!=(i=null!=e?e.options:e)?i.inputType:i,e))+'">\r\n <input type='+c(a(null!=(i=null!=e?e.options:e)?i.inputType:i,e))+' autocomplete="off" class="custom-control-input"'+(null!=(i=n.if.call(u,null!=e?e.active:e,{name:"if",hash:{},fn:t.program(1,r,0),inverse:t.noop,data:r}))?i:"")+'>\r\n <label class="custom-control-label align-middle cursor-pointer">'+c("function"==typeof(l=null!=(l=n.name||(null!=e?e.name:e))?l:t.hooks.helperMissing)?l.call(u,{name:"name",hash:{},data:r}):l)+"</label>\r\n</div>"},useData:!0})},761:function(t,e,n){var o=n(8);t.exports=(o.default||o).template({1:function(t,e,n,o,r){return" on"},compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){t.propertyIsEnumerable;var i,l,a=null!=e?e:t.nullContext||{};return'<div class="custom-toggle toggle-option float-right'+(null!=(i=n.if.call(a,null!=(i=null!=e?e.options:e)?i.isSelected:i,{name:"if",hash:{},fn:t.program(1,r,0),inverse:t.noop,data:r}))?i:"")+'"><span class="handle"></span></div>\r\n<p>'+t.escapeExpression("function"==typeof(l=null!=(l=n.description||(null!=e?e.description:e))?l:t.hooks.helperMissing)?l.call(a,{name:"description",hash:{},data:r}):l)+"</p>"},useData:!0})},762:function(t,e,n){var o=n(8);t.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){var i;t.propertyIsEnumerable;return t.escapeExpression("function"==typeof(i=null!=(i=n.name||(null!=e?e.name:e))?i:t.hooks.helperMissing)?i.call(null!=e?e:t.nullContext||{},{name:"name",hash:{},data:r}):i)},useData:!0})},763:function(t,e,n){t.exports={options:"_6o30E",option:"_3yReT"}},764:function(t,e,n){var o=n(8);t.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){t.propertyIsEnumerable;var i,l,a=t.escapeExpression,c=null!=e?e:t.nullContext||{},u=t.hooks.helperMissing;return'<button type="button" class="d-block option-btn w-100 '+a(t.lambda(null!=(i=null!=e?e.options:e)?i.buttonClass:i,e))+'">\r\n '+a("function"==typeof(l=null!=(l=n.name||(null!=e?e.name:e))?l:u)?l.call(c,{name:"name",hash:{},data:r}):l)+'\r\n</button>\r\n<div class="text-center">'+a("function"==typeof(l=null!=(l=n.description||(null!=e?e.description:e))?l:u)?l.call(c,{name:"description",hash:{},data:r}):l)+"</div>"},useData:!0})},765:function(t,e,n){t.exports={optionItem:"_3jzt0",customOptionItem:"_78r7L",selected:"aFhSG"}},766:function(t,e,n){t.exports={container:"_1SMXf"}},767:function(t,e,n){var o=n(8);t.exports=(o.default||o).template({1:function(t,e,n,o,r){t.propertyIsEnumerable;return'<p class="mb-0">'+t.escapeExpression((n.lang||e&&e.lang||t.hooks.helperMissing).call(null!=e?e:t.nullContext||{},"emptyState",{name:"lang",hash:{},data:r}))+"</p>\r\n"},3:function(t,e,n,o,r){return'<div class="dropdown-divider"></div>\r\n'},compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){t.propertyIsEnumerable;var i,l=null!=e?e:t.nullContext||{};return(null!=(i=n.if.call(l,null!=(i=null!=e?e.options:e)?i.showEmptyState:i,{name:"if",hash:{},fn:t.program(1,r,0),inverse:t.noop,data:r}))?i:"")+'\r\n<div class="selected-tags-region"></div>\r\n'+(null!=(i=n.if.call(l,null!=(i=null!=e?e.options:e)?i.useDivider:i,{name:"if",hash:{},fn:t.program(3,r,0),inverse:t.noop,data:r}))?i:"")+'<div class="relevant-tags-region"></div>'},useData:!0})},768:function(t,e,n){var o=n(8);t.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){return'<div class="tags-region"></div>'},useData:!0})},770:function(t,e,n){var o=n(8);t.exports=(o.default||o).template({1:function(t,e,n,o,r){t.propertyIsEnumerable;var i,l=t.escapeExpression;return'<button class="approve-all btn btn-success d-inline-block '+l(t.lambda(null!=(i=null!=e?e.options:e)?i.btnClass:i,e))+'" type="button">'+l((n.lang||e&&e.lang||t.hooks.helperMissing).call(null!=e?e:t.nullContext||{},"approveBtn",{name:"lang",hash:{smartCount:null!=(i=null!=e?e.options:e)?i.numVideos:i},data:r}))+"</button>\r\n"},compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){t.propertyIsEnumerable;var i,l=t.escapeExpression,a=null!=e?e:t.nullContext||{};return'<h5 class="d-inline-block m-0 '+l(t.lambda(null!=(i=null!=e?e.options:e)?i.headingClass:i,e))+'">'+l((n.lang||e&&e.lang||t.hooks.helperMissing).call(a,"heading",{name:"lang",hash:{smartCount:null!=(i=null!=e?e.options:e)?i.numVideos:i},data:r}))+"</h5>\r\n"+(null!=(i=n.if.call(a,null!=(i=null!=e?e.options:e)?i.videosToReview:i,{name:"if",hash:{},fn:t.program(1,r,0),inverse:t.noop,data:r}))?i:"")},useData:!0})},771:function(t,e,n){var o=n(8);t.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){return'<div class="videos-region"></div>'},useData:!0})},772:function(t,e,n){var o=n(8);t.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){var i;t.propertyIsEnumerable;return'<h4 class="pl-3">'+t.escapeExpression(t.lambda(null!=(i=null!=e?e.options:e)?i.groupTitle:i,e))+'</h4>\r\n<div class="video-list-region"></div>'},useData:!0})},773:function(t,e,n){var o=n(8);t.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){t.propertyIsEnumerable;var i,l=null!=e?e:t.nullContext||{},a=t.hooks.helperMissing,c=t.escapeExpression;return'<div class="p-3 border-bottom">\r\n <h5>'+c((n.lang||e&&e.lang||a).call(l,"manualReviewHeading",{name:"lang",hash:{},data:r}))+"</h5>\r\n <p>"+c((n.lang||e&&e.lang||a).call(l,"manualReviewBody",{name:"lang",hash:{},data:r}))+'</p>\r\n <button class="btn btn-light text-center disable-review" type="button">'+c((n.lang||e&&e.lang||a).call(l,"manualReviewOffBtn",{name:"lang",hash:{},data:r}))+'</button>\r\n</div>\r\n<div class="p-3 border-bottom">\r\n <p class="m-0">'+c((n.lang||e&&e.lang||a).call(l,"noActionDisclaimer",{name:"lang",hash:{},data:r}))+'</p>\r\n <p class="m-0">'+c((n.lang||e&&e.lang||a).call(l,"learnMore",{name:"lang",hash:{},data:r}))+" <a href="+c(t.lambda(null!=(i=null!=e?e.options:e)?i.supportUrl:i,e))+' target="_blank">'+c((n.lang||e&&e.lang||a).call(l,"learnMoreLink",{name:"lang",hash:{},data:r}))+"</a></p>\r\n</div>"},useData:!0})},774:function(t,e,n){t.exports={leftNav:"_15vRB"}},775:function(t,e,n){var o=n(8);t.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){t.propertyIsEnumerable;var i,l=t.lambda,a=t.escapeExpression;return'<div class="d-inline-block p-3 '+a(l(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.heading:i,e))+'"><h1 class="h3 m-0">'+a((n.lang||e&&e.lang||t.hooks.helperMissing).call(null!=e?e:t.nullContext||{},"contentUpdates",{name:"lang",hash:{},data:r}))+'</h1></div><div class="tabs-region d-inline-flex align-items-end '+a(l(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.tabsContainer:i,e))+'"></div>'},useData:!0})},776:function(t,e,n){t.exports={heading:"_1SwZ2",tabsContainer:"_3f4T9"}},777:function(t,e,n){t.exports={content:"_303Nb",contentWithLeftNav:"_2ZCHY"}},781:function(t,e,n){"use strict";var o=n(7),r=n(2),i=n(0),l=n(6),a=n(4),c=n(31),u=n(24),s=n(3),f=n(17),p=n(80),h=n(690),y=n(752),d=n.n(y);function b(t){return(b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function v(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function g(t,e){return(g=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function m(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=k(t);if(e){var r=k(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return w(this,n)}}function w(t,e){return!e||"object"!==b(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function k(t){return(k=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var O=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&g(t,e)}(i,t);var e,n,o,r=m(i);function i(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i),r.call(this,t)}return e=i,(n=[{key:"regions",value:function(){return{options:{el:".options-region",replaceElement:!0}}}},{key:"renderOptions",value:function(){this.showChildView("options",new jt({collection:this.model.options,model:this.model,channelName:this.options.channelName}))}},{key:"onRender",value:function(){this.renderOptions()}},{key:"name",get:function(){return"FilterItemComponent"}},{key:"template",get:function(){return d.a}},{key:"className",get:function(){return"py-1"}}])&&v(e.prototype,n),o&&v(e,o),i}(r.a.Component),C=n(753),S=n.n(C);function R(t){return(R="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function _(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function E(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function P(t,e,n){return e&&E(t.prototype,e),n&&E(t,n),t}function T(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&j(t,e)}function j(t,e){return(j=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function x(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=N(t);if(e){var r=N(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return F(this,n)}}function F(t,e){return!e||"object"!==R(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function N(t){return(N=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var D=function(t){T(n,t);var e=x(n);function n(){return _(this,n),e.apply(this,arguments)}return P(n,[{key:"initialize",value:function(){this.bindListeners()}},{key:"regions",value:function(){return{filterList:{el:".filter-list-region",replaceElement:!0}}}},{key:"events",value:function(){return{click:"onClick","click .apply-filters":"onClickApplyFilters","click .clear-filters":"onClickClearFilters"}}},{key:"bindListeners",value:function(){this.listenTo(this.channelName,i.i.Filters.OPTION_SELECTED,this.render)}},{key:"onClick",value:function(t){t.stopPropagation()}},{key:"onClickApplyFilters",value:function(t){t.stopPropagation(),this.applyFilters(),this.render()}},{key:"onClickClearFilters",value:function(t){t.stopPropagation(),o.Radio.channel(this.options.channelName).trigger("reset:filters"),p.b.clearFilters(this.collection),this.isTagFilterType()&&o.Radio.channel(h.a.TagFilter).trigger("change:relevant:tags"),this.render()}},{key:"applyFilters",value:function(){o.Radio.channel(this.options.channelName).trigger(i.i.Filters.APPLY_FILTER)}},{key:"hasFiltersSelected",value:function(){return this.collection.some((function(t){return p.b.isSelected(t)}))}},{key:"isTagFilterType",value:function(){return!!this.collection.findWhere({type:f.a.Tags})}},{key:"viewOptions",value:function(){return{showApplyFilters:!this.isTagFilterType(),showClearFilters:this.hasFiltersSelected()}}},{key:"onRender",value:function(){this.showChildView("filterList",new I({collection:this.collection,channelName:this.channelName}))}},{key:"name",get:function(){return"FilterListComponent"}},{key:"template",get:function(){return S.a}},{key:"lang",get:function(){return"search.filterList"}},{key:"className",get:function(){return"px-1"}},{key:"channelName",get:function(){return"".concat(this.name).concat(this.cid)}}]),n}(r.a.Component),I=function(t){T(n,t);var e=x(n);function n(t){return _(this,n),e.call(this,t)}return P(n,[{key:"name",get:function(){return"FilterComponentCollection"}},{key:"tagName",get:function(){return"ul"}},{key:"className",get:function(){return"m-0 p-0"}},{key:"childView",get:function(){return O}},{key:"childViewOptions",get:function(){return{channelName:this.options.channelName}}}]),n}(r.a.ComponentCollection),L=n(62),A=n(683),V=n.n(A),M=n(754),U=n.n(M),B=n(755),H=n.n(B);function G(t){return(G="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function W(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function q(t,e){return(q=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function z(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=Y(t);if(e){var r=Y(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return Q(this,n)}}function Q(t,e){return!e||"object"!==G(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function Y(t){return(Y=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var J=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&q(t,e)}(f,t);var e,n,r,l=z(f);function f(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,f),l.call(this,t)}return e=f,(n=[{key:"initialize",value:function(){this.getViewModel(),this.setInitialFilters(),this.bindListeners()}},{key:"regions",value:function(){return{filters:{el:".filters-region",replaceElement:!1}}}},{key:"events",value:function(){return{"hide.bs.dropdown":"onHideDropdown","show.bs.dropdown":"onShowDropdown"}}},{key:"getViewModel",value:function(){this.viewModel=u.a.get(this.viewModelName)}},{key:"bindListeners",value:function(){this.listenTo(this.channelName,i.i.Filters.APPLY_FILTER,this.onClickApplyFilters),this.listenTo(this.channelName,"reset:filters",this.logFilterResetAction)}},{key:"setInitialFilters",value:function(){this.initialFilters=new L.a(this.collection.toJSON())}},{key:"onClickApplyFilters",value:function(){this.viewModel.get("dropdownVisible")&&(this.viewModel.set({applyClicked:!0}),this.toggleDropdown())}},{key:"onShowDropdown",value:function(){this.viewModel.set("dropdownVisible",!0)}},{key:"onHideDropdown",value:function(){var t=this.viewModel.get("applyClicked");this.viewModel.unset("applyClicked"),this.viewModel.set("dropdownVisible",!1),this.applyFilters(!!t)}},{key:"toggleDropdown",value:function(){this.getUI("dropdownToggle").dropdown("toggle")}},{key:"applyFilters",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.haveFiltersChanged()&&(this.logFilterApplyAction(t),this.setInitialFilters(),o.Radio.channel(this.options.channelName).trigger(i.i.Filters.FILTER_CHANGED),this.render())}},{key:"haveFiltersChanged",value:function(){var t=this;return!this.collection.every((function(e,n){return!p.b.hasFilterChanged(t.initialFilters.at(n),e)}))}},{key:"isSelected",value:function(){return this.collection.some((function(t){return p.b.isSelected(t)}))}},{key:"numSelectedFilters",value:function(){return this.collection.filter((function(t){return p.b.isSelected(t)})).length}},{key:"getLabel",value:function(){var t=s.a.getPhrase(this.lang,"moreFilters"),e=this.numSelectedFilters();return e&&(t+=" - ".concat(e)),t}},{key:"getButtonClass",value:function(){var t="btn ".concat(V.a.filterButton);return this.isSelected()?t+=" btn-info":t+=" btn-light",t}},{key:"logFilterApplyAction",value:function(t){var e=this;this.collection.each((function(n,o){p.b.hasFilterChanged(e.initialFilters.at(o),n)&&e.logFilter(n,t)}))}},{key:"logFilter",value:function(t,e){var n={location:a.k.SearchFilters,actionType:a.q.Filter,entity:a.e.Video,workflowPhase:a.r.Complete},o={filter:t.get("title"),selectedOption:p.b.getFilterSelectedOptionsAnalyticsData(t),applyClicked:e};c.a.logUserAction(o,n)}},{key:"logFilterResetAction",value:function(){var t={location:a.k.SearchFilters,actionType:a.q.Filter,descriptor:a.h.Reset,entity:a.e.Video,workflowPhase:a.r.Complete};c.a.logUserAction({filter:"More Filters"},t)}},{key:"viewOptions",value:function(){return{label:this.getLabel(),buttonClass:this.getButtonClass()}}},{key:"renderFilters",value:function(){this.showChildView("filters",new D({collection:this.collection,channelName:this.channelName}))}},{key:"onRender",value:function(){this.renderFilters(),this.viewModel.get("dropdownVisible")&&this.toggleDropdown()}},{key:"name",get:function(){return"MoreFiltersButtonComponent"}},{key:"template",get:function(){return U.a}},{key:"lang",get:function(){return"search.moreFiltersButton"}},{key:"className",get:function(){return"rounded cursor-pointer ".concat(H.a.moreFiltersButton)}},{key:"channelName",get:function(){return"".concat(this.name).concat(this.cid)}},{key:"viewModelName",get:function(){return this.name}},{key:"elements",get:function(){return{dropdownToggle:".dropdown-btn"}}}])&&W(e.prototype,n),r&&W(e,r),f}(r.a.Component),Z=n(756),$=n.n(Z);function X(t){return(X="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function K(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function tt(t,e){return(tt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function et(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=ot(t);if(e){var r=ot(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return nt(this,n)}}function nt(t,e){return!e||"object"!==X(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function ot(t){return(ot=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var rt=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&tt(t,e)}(s,t);var e,n,r,u=et(s);function s(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),u.call(this,t)}return e=s,(n=[{key:"regions",value:function(){return{filterList:{el:".filter-list-region",replaceRegion:!0,partialLoading:l.j.SearchFilter},moreFilters:{el:".more-filters-region",replaceRegion:!0}}}},{key:"events",value:function(){return{"click .clear-filters":"onClickClearFilters"}}},{key:"onClickClearFilters",value:function(){p.b.clearFilters(this.collection),o.Radio.channel(this.options.channelName).trigger(i.i.Filters.FILTER_CHANGED),this.logFilterResetAction()}},{key:"getVisibleFilters",value:function(){return new L.a(this.collection.filter((function(t){return!t.get("showInMoreFilters")&&p.b.showFilter(t)})))}},{key:"getMoreFilters",value:function(){return new L.a(this.collection.filter((function(t){return t.get("showInMoreFilters")&&p.b.showFilter(t)})))}},{key:"hasFiltersSelected",value:function(){return this.collection.some((function(t){return p.b.isSelected(t)}))}},{key:"logFilterResetAction",value:function(){var t={location:a.k.SearchFilters,actionType:a.q.Filter,descriptor:a.h.Reset,entity:a.e.Video,workflowPhase:a.r.Complete};c.a.logUserAction({filter:"All"},t)}},{key:"renderFilterList",value:function(){var t=new ft({collection:this.getVisibleFilters(),channelName:this.options.channelName});this.showChildView("filterList",t)}},{key:"renderMoreFilters",value:function(){var t=new J({collection:this.getMoreFilters(),channelName:this.options.channelName});this.showChildView("moreFilters",t)}},{key:"viewOptions",value:function(){return{labelClass:V.a.label,hasFiltersSelected:this.collection&&this.hasFiltersSelected(),clearFiltersClass:V.a.clearFilters}}},{key:"onBeforeRender",value:function(){return!!this.collection}},{key:"onRender",value:function(){this.renderFilterList(),this.renderMoreFilters()}},{key:"name",get:function(){return"FiltersComponent"}},{key:"template",get:function(){return $.a}},{key:"lang",get:function(){return"search.filters"}}])&&K(e.prototype,n),r&&K(e,r),s}(r.a.Component);function it(t){return(it="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function lt(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function at(t,e){return(at=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function ct(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=st(t);if(e){var r=st(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return ut(this,n)}}function ut(t,e){return!e||"object"!==it(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function st(t){return(st=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var ft=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&at(t,e)}(i,t);var e,n,o,r=ct(i);function i(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i),r.call(this,t)}return e=i,(n=[{key:"name",get:function(){return"FilterListComponent"}},{key:"tagName",get:function(){return"ul"}},{key:"className",get:function(){return"m-0 p-0"}},{key:"childView",get:function(){return kt}},{key:"childViewOptions",get:function(){return{channelName:this.options.channelName,analyticsOptions:{location:a.k.SearchFilters,entity:a.e.Video}}}}])&&lt(e.prototype,n),o&&lt(e,o),i}(r.a.ComponentCollection),pt=n(88),ht=n(757),yt=n.n(ht);function dt(t){return(dt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function bt(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function vt(t,e){return(vt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function gt(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=wt(t);if(e){var r=wt(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return mt(this,n)}}function mt(t,e){return!e||"object"!==dt(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function wt(t){return(wt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var kt=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&vt(t,e)}(h,t);var e,n,l,s=gt(h);function h(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,h),s.call(this,t)}return e=h,(n=[{key:"initialize",value:function(){this.getViewModel(),this.setInitialFilter(),this.bindListeners()}},{key:"regions",value:function(){return{filter:{el:".filter-region",replaceElement:!1}}}},{key:"events",value:function(){return{"hide.bs.dropdown":"onHideDropdown","show.bs.dropdown":"onShowDropdown"}}},{key:"getViewModel",value:function(){this.viewModel=u.a.get(this.viewModelName)}},{key:"bindListeners",value:function(){this.listenTo(this.channelName,i.i.Filters.APPLY_FILTER,this.onClickApplyFilter),this.listenTo(this.channelName,"reset:filters",this.logFilterResetAction)}},{key:"setInitialFilter",value:function(){this.initialFilter=new pt.a(this.model.toJSON())}},{key:"onClickApplyFilter",value:function(){this.viewModel.get("dropdownVisible")&&(this.viewModel.set({applyClicked:!0}),this.toggleDropdown())}},{key:"onShowDropdown",value:function(){this.viewModel.set("dropdownVisible",!0)}},{key:"onHideDropdown",value:function(){var t=this.viewModel.get("applyClicked");this.viewModel.unset("applyClicked"),this.viewModel.set("dropdownVisible",!1),this.applyFilter(!!t)}},{key:"toggleDropdown",value:function(){this.getUI("dropdownToggle").dropdown("toggle")}},{key:"applyFilter",value:function(t){p.b.hasFilterChanged(this.initialFilter,this.model)&&this.model.get("type")!==f.a.Tags&&(this.setInitialFilter(),o.Radio.channel(this.options.channelName).trigger(i.i.Filters.FILTER_CHANGED),this.logFilterApplyAction(t))}},{key:"getLabel",value:function(){return p.b.isSelected(this.model)?p.b.getFilterLabel(this.model):this.model.get("title")}},{key:"getButtonClass",value:function(){var t="btn ".concat(V.a.filterButton);return p.b.isSelected(this.model)?t+=" btn-info":t+=" btn-light",t}},{key:"logFilterApplyAction",value:function(t){var e=c.a.mergeOptions(this.options.analyticsOptions,{actionType:a.q.Filter,workflowPhase:a.r.Complete}),n={filter:this.model.get("title"),selectedOption:p.b.getFilterSelectedOptionsAnalyticsData(this.model),applyClicked:t};c.a.logUserAction(n,e)}},{key:"logFilterResetAction",value:function(){var t=c.a.mergeOptions(this.options.analyticsOptions,{actionType:a.q.Filter,descriptor:a.h.Reset,workflowPhase:a.r.Complete}),e={filter:this.model.get("title")};c.a.logUserAction(e,t)}},{key:"viewOptions",value:function(){return{styles:V.a,label:this.getLabel(),buttonClass:this.getButtonClass()}}},{key:"renderFilter",value:function(){this.showChildView("filter",new D({collection:new r.a.Collection([this.model]),channelName:this.channelName}))}},{key:"onRender",value:function(){this.renderFilter(),this.viewModel.get("dropdownVisible")&&this.toggleDropdown()}},{key:"name",get:function(){return"FilterButtonItemComponent"}},{key:"template",get:function(){return yt.a}},{key:"className",get:function(){return"d-inline-block m-1"}},{key:"channelName",get:function(){return"".concat(this.name).concat(this.cid)}},{key:"viewModelName",get:function(){return"".concat(this.name,":").concat(this.model.get("type"))}},{key:"elements",get:function(){return{dropdownToggle:".dropdown-btn"}}}])&&bt(e.prototype,n),l&&bt(e,l),h}(r.a.Component),Ot=n(758),Ct=n.n(Ot);function St(t){return(St="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Rt(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function _t(t,e){return(_t=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Et(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=Tt(t);if(e){var r=Tt(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return Pt(this,n)}}function Pt(t,e){return!e||"object"!==St(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function Tt(t){return(Tt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var jt=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&_t(t,e)}(a,t);var e,n,r,l=Et(a);function a(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),l.call(this,t)}return e=a,(n=[{key:"initialize",value:function(){this.bindListeners()}},{key:"regions",value:function(){return{optionsList:".option-list-region"}}},{key:"bindListeners",value:function(){this.listenTo(this.channelName,i.i.Filters.OPTION_SELECTED,this.onChangeOption)}},{key:"onChangeOption",value:function(t,e){t&&this.isInclusiveType()&&this.onChangeInclusiveOption(t),t&&this.isExclusiveType()&&this.onChangeExclusiveOption(t),t&&this.isRangeType()&&this.onChangeRangeOption(t),t&&this.isTagType()&&this.onChangeTagOption(t),e||(o.Radio.channel(this.options.channelName).trigger(i.i.Filters.OPTION_SELECTED),this.render())}},{key:"onChangeInclusiveOption",value:function(t){t.set("active",!t.get("active"))}},{key:"onChangeExclusiveOption",value:function(t){p.b.clearOptions(this.model),t.set("active",!0)}},{key:"onChangeRangeOption",value:function(t){p.b.clearOptions(this.model),this.collection.each((function(e){e.get("value")<=t.get("value")&&e.set("active",!0)}))}},{key:"onChangeTagOption",value:function(t){var e=this.collection.findWhere({name:t.get("name")});e.set("active",!e.get("active"))}},{key:"isBooleanType",value:function(){return this.model.get("behavior")===p.a.Boolean}},{key:"isInclusiveType",value:function(){return this.model.get("behavior")===p.a.Inclusive}},{key:"isExclusiveType",value:function(){return this.model.get("behavior")===p.a.Exclusive}},{key:"isRangeType",value:function(){return this.model.get("behavior")===p.a.Range}},{key:"isTagType",value:function(){return this.model.get("behavior")===p.a.Tag}},{key:"getChildComponent",value:function(){return this.model.get("type")===f.a.Duration?Le:this.isTagType()?an:this.isRangeType()?ke:this.isBooleanType()?ae:Ht}},{key:"renderOptionsList",value:function(){this.showChildView("optionsList",new(this.getChildComponent())({collection:this.collection,model:this.model,channelName:this.channelName,isExclusiveType:this.isExclusiveType()}))}},{key:"onRender",value:function(){this.renderOptionsList()}},{key:"name",get:function(){return"FilterOptionsComponent"}},{key:"template",get:function(){return Ct.a}},{key:"className",get:function(){return"py-1"}},{key:"channelName",get:function(){return"".concat(this.name).concat(this.cid)}}])&&Rt(e.prototype,n),r&&Rt(e,r),a}(r.a.Component),xt=n(759),Ft=n.n(xt);function Nt(t){return(Nt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Dt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function It(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Lt(t,e,n){return e&&It(t.prototype,e),n&&It(t,n),t}function At(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Vt(t,e)}function Vt(t,e){return(Vt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Mt(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=Bt(t);if(e){var r=Bt(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return Ut(this,n)}}function Ut(t,e){return!e||"object"!==Nt(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function Bt(t){return(Bt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var Ht=function(t){At(n,t);var e=Mt(n);function n(t){return Dt(this,n),e.call(this,t)}return Lt(n,[{key:"regions",value:function(){return{options:".options-region"}}},{key:"events",value:function(){return{"click .default-option":"onClickDefaultOption"}}},{key:"onClickDefaultOption",value:function(t){t.stopPropagation(),this.model.get("behavior")===p.a.Inclusive?p.b.selectAllOptions(this.model):p.b.clearOptions(this.model),o.Radio.channel(this.options.channelName).trigger(i.i.Filters.OPTION_SELECTED),this.render()}},{key:"defaultOptionSelected",value:function(){return this.model.get("behavior")===p.a.Inclusive?p.b.allOptionsSelected(this.model):!p.b.hasOptionSelected(this.model)}},{key:"getInputType",value:function(){return this.options.isExclusiveType?"radio":"checkbox"}},{key:"viewOptions",value:function(){return{inputType:this.getInputType(),defaultOptionSelected:this.defaultOptionSelected(),defaultOptionLabel:this.model.get("defaultOptionLabel")}}},{key:"renderOptions",value:function(){this.showChildView("options",new Gt({collection:this.collection,childOptions:{channelName:this.options.channelName,isExclusiveType:this.options.isExclusiveType}}))}},{key:"onRender",value:function(){this.renderOptions()}},{key:"name",get:function(){return"FilterOptionsListComponent"}},{key:"template",get:function(){return Ft.a}}]),n}(r.a.Component),Gt=function(t){At(n,t);var e=Mt(n);function n(t){return Dt(this,n),e.call(this,t)}return Lt(n,[{key:"name",get:function(){return"FilterOptionComponentCollection"}},{key:"childView",get:function(){return Xt}},{key:"childViewOptions",get:function(){return this.options.childOptions}}]),n}(r.a.ComponentCollection),Wt=n(760),qt=n.n(Wt);function zt(t){return(zt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Qt(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Yt(t,e){return(Yt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Jt(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=$t(t);if(e){var r=$t(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return Zt(this,n)}}function Zt(t,e){return!e||"object"!==zt(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function $t(t){return($t=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var Xt=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Yt(t,e)}(a,t);var e,n,r,l=Jt(a);function a(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),l.call(this,t)}return e=a,(n=[{key:"initialize",value:function(){this.bindListeners()}},{key:"events",value:function(){return{click:"onClick"}}},{key:"bindListeners",value:function(){this.listenTo(this.model,"change",this.render)}},{key:"onClick",value:function(t){t.stopPropagation(),o.Radio.channel(this.options.channelName).trigger(i.i.Filters.OPTION_SELECTED,this.model)}},{key:"getInputType",value:function(){return this.options.isExclusiveType?"radio":"checkbox"}},{key:"viewOptions",value:function(){return{inputType:this.getInputType()}}},{key:"name",get:function(){return"FilterOptionItemComponent"}},{key:"template",get:function(){return qt.a}},{key:"className",get:function(){return"filter-option-item py-1 cursor-pointer"}}])&&Qt(e.prototype,n),r&&Qt(e,r),a}(r.a.Component),Kt=n(761),te=n.n(Kt);function ee(t){return(ee="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ne(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function oe(t,e){return(oe=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function re(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=le(t);if(e){var r=le(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return ie(this,n)}}function ie(t,e){return!e||"object"!==ee(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function le(t){return(le=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var ae=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&oe(t,e)}(a,t);var e,n,r,l=re(a);function a(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),l.call(this,t)}return e=a,(n=[{key:"events",value:function(){return{"click .toggle-option":"onClickToggleOption"}}},{key:"onClickToggleOption",value:function(t){t.stopPropagation(),this.model.set("active",!this.model.get("active")),o.Radio.channel(this.options.channelName).trigger(i.i.Filters.OPTION_SELECTED),this.render()}},{key:"viewOptions",value:function(){return{isSelected:this.model.get("active")}}},{key:"name",get:function(){return"BoolFilterOptionComponent"}},{key:"template",get:function(){return te.a}}])&&ne(e.prototype,n),r&&ne(e,r),a}(r.a.Component),ce=n(762),ue=n.n(ce),se=n(763),fe=n.n(se);function pe(t){return(pe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function he(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ye(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function de(t,e,n){return e&&ye(t.prototype,e),n&&ye(t,n),t}function be(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ve(t,e)}function ve(t,e){return(ve=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function ge(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=we(t);if(e){var r=we(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return me(this,n)}}function me(t,e){return!e||"object"!==pe(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function we(t){return(we=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var ke=function(t){be(n,t);var e=ge(n);function n(){return he(this,n),e.apply(this,arguments)}return de(n,[{key:"name",get:function(){return"RatingFilterOptionComponentCollection"}},{key:"className",get:function(){return"btn-group ".concat(fe.a.options," py-2")}},{key:"attributes",get:function(){return{role:"group"}}},{key:"childView",get:function(){return Oe}},{key:"childViewOptions",get:function(){return{channelName:this.options.channelName}}}]),n}(r.a.ComponentCollection),Oe=function(t){be(n,t);var e=ge(n);function n(){return he(this,n),e.apply(this,arguments)}return de(n,[{key:"events",value:function(){return{click:"onClick"}}},{key:"onClick",value:function(t){t.stopPropagation(),o.Radio.channel(this.options.channelName).trigger(i.i.Filters.OPTION_SELECTED,this.model)}},{key:"isSelected",value:function(){return this.model.get("active")}},{key:"onRender",value:function(){this.$el.tooltip()}},{key:"onBeforeDestroy",value:function(){this.$el.tooltip("dispose")}},{key:"name",get:function(){return"RatingFilterOptionItemComponent"}},{key:"template",get:function(){return ue.a}},{key:"tagName",get:function(){return"button"}},{key:"className",get:function(){var t="".concat(fe.a.option," border btn btn-");return this.isSelected()?"".concat(t,"info"):"".concat(t,"light")}},{key:"attributes",get:function(){return{type:"button",title:this.model.get("fullName")}}}]),n}(r.a.Component),Ce=n(764),Se=n.n(Ce),Re=n(765),_e=n.n(Re);function Ee(t){return(Ee="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Pe(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Te(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function je(t,e,n){return e&&Te(t.prototype,e),n&&Te(t,n),t}function xe(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Fe(t,e)}function Fe(t,e){return(Fe=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Ne(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=Ie(t);if(e){var r=Ie(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return De(this,n)}}function De(t,e){return!e||"object"!==Ee(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function Ie(t){return(Ie=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var Le=function(t){xe(n,t);var e=Ne(n);function n(){return Pe(this,n),e.apply(this,arguments)}return je(n,[{key:"getOptionItemClassName",value:function(){var t=_e.a.optionItem;return 4===this.collection.length&&(t+=" ".concat(_e.a.customOptionItem)),t}},{key:"name",get:function(){return"DurationFilterOptionComponentCollection"}},{key:"childView",get:function(){return Ae}},{key:"className",get:function(){return _e.a.options}},{key:"childViewOptions",get:function(){return{channelName:this.options.channelName,optionItemClassName:this.getOptionItemClassName()}}}]),n}(r.a.ComponentCollection),Ae=function(t){xe(n,t);var e=Ne(n);function n(t){return Pe(this,n),e.call(this,t)}return je(n,[{key:"events",value:function(){return{"click .option-btn":"onClickOption"}}},{key:"viewOptions",value:function(){return{buttonClass:this.getButtonClass()}}},{key:"onClickOption",value:function(t){t.stopPropagation(),o.Radio.channel(this.options.channelName).trigger(i.i.Filters.OPTION_SELECTED,this.model)}},{key:"isSelected",value:function(){return this.model.get("active")}},{key:"getButtonClass",value:function(){var t="btn ".concat(_e.a.optionButton," p-1");return this.isSelected()?t+=" btn-info":t+=" btn-light",t}},{key:"name",get:function(){return"DurationFilterItemComponent"}},{key:"template",get:function(){return Se.a}},{key:"className",get:function(){return"d-inline-block p-1 ".concat(this.options.optionItemClassName)}}]),n}(r.a.Component),Ve=n(1),Me=n(105),Ue=n(766),Be=n.n(Ue),He=n(767),Ge=n.n(He),We=n(692),qe=n(768),ze=n.n(qe);function Qe(t){return(Qe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Ye(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Je(t,e){return(Je=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Ze(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=Xe(t);if(e){var r=Xe(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return $e(this,n)}}function $e(t,e){return!e||"object"!==Qe(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function Xe(t){return(Xe=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var Ke=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Je(t,e)}(i,t);var e,n,o,r=Ze(i);function i(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i),r.call(this,t)}return e=i,(n=[{key:"regions",value:function(){return{tags:{el:".tags-region",replaceElement:!0,partialLoading:l.j.TagFilter}}}},{key:"onBeforeRender",value:function(){return!Ve.isNull(this.collection)}},{key:"onRender",value:function(){this.showChildView("tags",new We.a({collection:this.collection,channelName:this.options.channelName,behavior:this.options.behavior,removeEvent:this.options.removeEvent,clickEvent:this.options.clickEvent}))}},{key:"name",get:function(){return"TagFilterOptionsListComponent"}},{key:"template",get:function(){return ze.a}}])&&Ye(e.prototype,n),o&&Ye(e,o),i}(r.a.Component);function tn(t){return(tn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function en(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function nn(t,e){return(nn=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function on(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=ln(t);if(e){var r=ln(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return rn(this,n)}}function rn(t,e){return!e||"object"!==tn(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function ln(t){return(ln=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var an=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&nn(t,e)}(a,t);var e,n,r,l=on(a);function a(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),l.call(this,t)}return e=a,(n=[{key:"initialize",value:function(){this.bindListeners(),this.setRelevantTags()}},{key:"regions",value:function(){return{selectedTags:{el:".selected-tags-region",replaceElement:!0},relevantTags:{el:".relevant-tags-region",replaceElement:!0}}}},{key:"bindListeners",value:function(){this.listenTo(this.channelName,"on:option:change",this.onChange)}},{key:"onChange",value:function(t){o.Radio.channel(this.options.channelName).trigger(i.i.Filters.OPTION_SELECTED,t,!0),o.Radio.channel(h.a.TagFilter).trigger("change:relevant:tags"),this.relevantTags=null,this.render()}},{key:"setRelevantTags",value:function(){var t=p.b.getSelectedOptions(this.collection).map((function(t){return t.get("id")}));this.collection.length!==t.length?this.relevantTags=new L.b(this.collection.filter((function(e){return!Ve.contains(t,e.get("id"))})).slice(0,5)):this.relevantTags=null}},{key:"hasSelectedTags",value:function(){var t=p.b.getSelectedOptions(this.collection);return t&&!!t.length}},{key:"hasRelevantTags",value:function(){return Ve.isNull(this.relevantTags)||this.relevantTags&&!!this.relevantTags.length}},{key:"renderSelectedTags",value:function(){if(this.hasSelectedTags()){var t=p.b.getSelectedOptions(this.collection);this.showChildView("selectedTags",new Ke({collection:t,channelName:this.channelName,behavior:Me.c.Filter,removeEvent:"on:option:change"}))}}},{key:"renderRelevantTags",value:function(){this.showChildView("relevantTags",new Ke({collection:this.relevantTags,channelName:this.channelName,behavior:Me.c.Filter,clickEvent:"on:option:change"}))}},{key:"viewOptions",value:function(){return{showEmptyState:!this.hasSelectedTags()&&!this.hasRelevantTags(),useDivider:this.hasSelectedTags()&&this.hasRelevantTags()}}},{key:"onRender",value:function(){this.renderSelectedTags(),this.renderRelevantTags()}},{key:"name",get:function(){return"TagFilterOptionsComponent"}},{key:"template",get:function(){return Ge.a}},{key:"lang",get:function(){return"search.tagFilterOptions"}},{key:"className",get:function(){return"".concat(Be.a.container)}},{key:"channelName",get:function(){return"".concat(this.name).concat(this.cid)}}])&&en(e.prototype,n),r&&en(e,r),a}(r.a.Component);n.d(e,"f",(function(){return rt})),n.d(e,"b",(function(){return ft})),n.d(e,"a",(function(){return kt})),n.d(e,"d",(function(){return jt})),n.d(e,"e",(function(){return Ht})),n.d(e,"c",(function(){return Xt}))},955:function(t,e,n){var o=n(8);t.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){t.propertyIsEnumerable;return'<div class="d-inline-block border-right py-1 pr-3"><strong>'+t.escapeExpression((n.lang||e&&e.lang||t.hooks.helperMissing).call(null!=e?e:t.nullContext||{},"filters",{name:"lang",hash:{},data:r}))+'</strong></div>\r\n<div class="filter-list-region d-inline-block pl-2"></div>'},useData:!0})},956:function(t,e,n){var o=n(8);t.exports=(o.default||o).template({1:function(t,e,n,o,r){t.propertyIsEnumerable;return'<button class="generate-pdf btn btn-light d-inline-block" type="button">'+t.escapeExpression((n.lang||e&&e.lang||t.hooks.helperMissing).call(null!=e?e:t.nullContext||{},"generatePdf",{name:"lang",hash:{},data:r}))+"</button>\r\n"},compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){var i;t.propertyIsEnumerable;return'<div class="filters-region d-inline-block"></div>\r\n'+(null!=(i=n.if.call(null!=e?e:t.nullContext||{},null!=(i=null!=e?e.options:e)?i.showGeneratePdf:i,{name:"if",hash:{},fn:t.program(1,r,0),inverse:t.noop,data:r}))?i:"")},useData:!0})},957:function(t,e,n){var o=n(8);t.exports=(o.default||o).template({1:function(t,e,n,o,r){return'<div class="left-nav-region"></div>'},compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){var i;t.propertyIsEnumerable;return'<div class="header-region"></div>\r\n'+(null!=(i=n.if.call(null!=e?e:t.nullContext||{},null!=(i=null!=e?e.options:e)?i.showLeftNav:i,{name:"if",hash:{},fn:t.program(1,r,0),inverse:t.noop,data:r}))?i:"")+'<div class="'+t.escapeExpression(t.lambda(null!=(i=null!=e?e.options:e)?i.contentClass:i,e))+'">\r\n<div class="list-header-region"></div>\r\n<div class="video-list-region"></div>\r\n<div class="pagination-region"></div>\r\n</div>'},useData:!0})}}]);