@clickview/library-editor 1.1.31-rc.0 → 1.1.31

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 (338) hide show
  1. package/package.json +1 -1
  2. package/dist/bundles.json +0 -5
  3. package/dist/css/0-library-editor-c3083c7c46.chunk.css +0 -6
  4. package/dist/css/0-library-editor.chunk.css +0 -26
  5. package/dist/css/1-library-editor-9a899a1d1d.chunk.css +0 -2
  6. package/dist/css/10-library-editor-53c28be130.chunk.css +0 -2
  7. package/dist/css/10-library-editor.chunk.css +0 -25
  8. package/dist/css/11-library-editor.chunk.css +0 -135
  9. package/dist/css/11.chunk.css +0 -135
  10. package/dist/css/12-library-editor-7f17ad1c90.chunk.css +0 -24
  11. package/dist/css/12-library-editor.chunk.css +0 -18
  12. package/dist/css/13-library-editor-911b8069ae.chunk.css +0 -14
  13. package/dist/css/13-library-editor.chunk.css +0 -21
  14. package/dist/css/14-library-editor-f507c0ef52.chunk.css +0 -14
  15. package/dist/css/14-library-editor.chunk.css +0 -76
  16. package/dist/css/15-library-editor-b08725a10e.chunk.css +0 -2
  17. package/dist/css/16-library-editor-89ad109c63.chunk.css +0 -2
  18. package/dist/css/16-library-editor.chunk.css +0 -52
  19. package/dist/css/17-library-editor.chunk.css +0 -14
  20. package/dist/css/17.chunk.css +0 -14
  21. package/dist/css/18-library-editor.chunk.css +0 -18
  22. package/dist/css/18.chunk.css +0 -18
  23. package/dist/css/2-library-editor.chunk.css +0 -143
  24. package/dist/css/2.chunk.css +0 -143
  25. package/dist/css/20-library-editor-2bd52b5a32.chunk.css +0 -34
  26. package/dist/css/21-library-editor-a7633bece5.chunk.css +0 -26
  27. package/dist/css/21-library-editor.chunk.css +0 -52
  28. package/dist/css/22-library-editor-459b106aec.chunk.css +0 -24
  29. package/dist/css/22-library-editor.chunk.css +0 -12
  30. package/dist/css/23-library-editor-33acb75c24.chunk.css +0 -18
  31. package/dist/css/23-library-editor.chunk.css +0 -25
  32. package/dist/css/24-library-editor-b180014922.chunk.css +0 -18
  33. package/dist/css/25-library-editor-4c64aed388.chunk.css +0 -16
  34. package/dist/css/25-library-editor.chunk.css +0 -35
  35. package/dist/css/26-library-editor-f0118cbca0.chunk.css +0 -14
  36. package/dist/css/26-library-editor.chunk.css +0 -20
  37. package/dist/css/27-library-editor-b72d0e2d36.chunk.css +0 -10
  38. package/dist/css/28-library-editor-de55d150ef.chunk.css +0 -10
  39. package/dist/css/28-library-editor.chunk.css +0 -63
  40. package/dist/css/29-library-editor-b0e16f882d.chunk.css +0 -8
  41. package/dist/css/29-library-editor.chunk.css +0 -80
  42. package/dist/css/3-library-editor-904319558a.chunk.css +0 -4
  43. package/dist/css/3-library-editor.chunk.css +0 -15
  44. package/dist/css/30-library-editor-10f54d8a75.chunk.css +0 -8
  45. package/dist/css/30-library-editor.chunk.css +0 -33
  46. package/dist/css/31-library-editor-4d763bac2b.chunk.css +0 -8
  47. package/dist/css/31-library-editor.chunk.css +0 -30
  48. package/dist/css/32-library-editor-d962911bc5.chunk.css +0 -6
  49. package/dist/css/32-library-editor.chunk.css +0 -45
  50. package/dist/css/33-library-editor-630c133693.chunk.css +0 -4
  51. package/dist/css/33-library-editor.chunk.css +0 -13
  52. package/dist/css/34-library-editor.chunk.css +0 -19
  53. package/dist/css/34.chunk.css +0 -19
  54. package/dist/css/35-library-editor.chunk.css +0 -18
  55. package/dist/css/35.chunk.css +0 -18
  56. package/dist/css/36-library-editor.chunk.css +0 -12
  57. package/dist/css/36.chunk.css +0 -12
  58. package/dist/css/37-library-editor-d18b8a3619.chunk.css +0 -4
  59. package/dist/css/37-library-editor.chunk.css +0 -5
  60. package/dist/css/38-library-editor-8b225d15f4.chunk.css +0 -4
  61. package/dist/css/38-library-editor.chunk.css +0 -5
  62. package/dist/css/39-library-editor-b08725a10e.chunk.css +0 -2
  63. package/dist/css/40-library-editor-b08725a10e.chunk.css +0 -2
  64. package/dist/css/40-library-editor.chunk.css +0 -24
  65. package/dist/css/41-library-editor-9a2d011500.chunk.css +0 -4
  66. package/dist/css/41-library-editor.chunk.css +0 -76
  67. package/dist/css/42-library-editor-593c0084b4.chunk.css +0 -4
  68. package/dist/css/42-library-editor.chunk.css +0 -44
  69. package/dist/css/43-library-editor-aa3e9bea9a.chunk.css +0 -2
  70. package/dist/css/43-library-editor.chunk.css +0 -30
  71. package/dist/css/44-library-editor-7b1cd4a5cc.chunk.css +0 -2
  72. package/dist/css/44-library-editor.chunk.css +0 -12
  73. package/dist/css/45-library-editor-f1820aeeff.chunk.css +0 -2
  74. package/dist/css/45-library-editor.chunk.css +0 -25
  75. package/dist/css/46-library-editor-547abc7492.chunk.css +0 -2
  76. package/dist/css/46-library-editor.chunk.css +0 -24
  77. package/dist/css/47-library-editor-3f6fb7f3ab.chunk.css +0 -2
  78. package/dist/css/47-library-editor.chunk.css +0 -84
  79. package/dist/css/48-library-editor-467e156ba3.chunk.css +0 -2
  80. package/dist/css/48-library-editor.chunk.css +0 -4
  81. package/dist/css/49-library-editor.chunk.css +0 -33
  82. package/dist/css/49.chunk.css +0 -33
  83. package/dist/css/5-library-editor-24603066ed.chunk.css +0 -6
  84. package/dist/css/50-library-editor-7aca18778d.chunk.css +0 -2
  85. package/dist/css/50-library-editor.chunk.css +0 -20
  86. package/dist/css/51-library-editor-81c5aced1f.chunk.css +0 -2
  87. package/dist/css/51-library-editor.chunk.css +0 -37
  88. package/dist/css/52-library-editor.chunk.css +0 -64
  89. package/dist/css/52.chunk.css +0 -64
  90. package/dist/css/54-library-editor-d3b8bb68f9.chunk.css +0 -2
  91. package/dist/css/55-library-editor-94a8c4e7fa.chunk.css +0 -2
  92. package/dist/css/55-library-editor.chunk.css +0 -3
  93. package/dist/css/56-library-editor-61808b02a0.chunk.css +0 -2
  94. package/dist/css/56-library-editor.chunk.css +0 -3
  95. package/dist/css/57-library-editor-c49b3847df.chunk.css +0 -2
  96. package/dist/css/58-library-editor-8f5e04b64a.chunk.css +0 -2
  97. package/dist/css/58-library-editor.chunk.css +0 -3
  98. package/dist/css/59-library-editor-b64f6f3e74.chunk.css +0 -2
  99. package/dist/css/59-library-editor.chunk.css +0 -3
  100. package/dist/css/6-library-editor-d96af27be1.chunk.css +0 -14
  101. package/dist/css/6-library-editor.chunk.css +0 -42
  102. package/dist/css/60-library-editor.chunk.css +0 -16
  103. package/dist/css/60.chunk.css +0 -16
  104. package/dist/css/61-library-editor-7f123672b2.chunk.css +0 -2
  105. package/dist/css/62-library-editor-61e4c24a7b.chunk.css +0 -2
  106. package/dist/css/62-library-editor.chunk.css +0 -4
  107. package/dist/css/63-library-editor.chunk.css +0 -168
  108. package/dist/css/63.chunk.css +0 -168
  109. package/dist/css/67-library-editor.chunk.css +0 -76
  110. package/dist/css/67.chunk.css +0 -76
  111. package/dist/css/68-library-editor.chunk.css +0 -15
  112. package/dist/css/68.chunk.css +0 -15
  113. package/dist/css/69-library-editor.chunk.css +0 -15
  114. package/dist/css/69.chunk.css +0 -15
  115. package/dist/css/7-library-editor-b08725a10e.chunk.css +0 -2
  116. package/dist/css/7-library-editor.chunk.css +0 -10
  117. package/dist/css/70-library-editor.chunk.css +0 -21
  118. package/dist/css/70.chunk.css +0 -21
  119. package/dist/css/71-library-editor.chunk.css +0 -38
  120. package/dist/css/71.chunk.css +0 -38
  121. package/dist/css/72-library-editor.chunk.css +0 -14
  122. package/dist/css/72.chunk.css +0 -14
  123. package/dist/css/73-library-editor.chunk.css +0 -35
  124. package/dist/css/73.chunk.css +0 -35
  125. package/dist/css/74-library-editor.chunk.css +0 -27
  126. package/dist/css/74.chunk.css +0 -27
  127. package/dist/css/75-library-editor.chunk.css +0 -4
  128. package/dist/css/75.chunk.css +0 -4
  129. package/dist/css/76-library-editor.chunk.css +0 -4
  130. package/dist/css/76.chunk.css +0 -4
  131. package/dist/css/8-library-editor-eb68c1df75.chunk.css +0 -2
  132. package/dist/css/8-library-editor.chunk.css +0 -7
  133. package/dist/css/9-library-editor-fec6984a64.chunk.css +0 -4
  134. package/dist/css/library-editor-app-8d31f0bd76.css +0 -133
  135. package/dist/scripts/0-1896ad7fec.chunk.js +0 -1
  136. package/dist/scripts/0.chunk.js +0 -64
  137. package/dist/scripts/1-0252096024.chunk.js +0 -1
  138. package/dist/scripts/1-a937e78e21.chunk.js +0 -1
  139. package/dist/scripts/1.chunk.js +0 -75
  140. package/dist/scripts/10-9ccbcc7396.chunk.js +0 -1
  141. package/dist/scripts/10-a9679320a1.chunk.js +0 -1
  142. package/dist/scripts/10.chunk.js +0 -62
  143. package/dist/scripts/11-a70b0fc08f.chunk.js +0 -11
  144. package/dist/scripts/11.chunk.js +0 -317
  145. package/dist/scripts/12-71eaeafb58.chunk.js +0 -1
  146. package/dist/scripts/12-f7d3c3eb14.chunk.js +0 -1
  147. package/dist/scripts/12.chunk.js +0 -56
  148. package/dist/scripts/13-05e571645c.chunk.js +0 -1
  149. package/dist/scripts/13.chunk.js +0 -25
  150. package/dist/scripts/14-10db24a21b.chunk.js +0 -1
  151. package/dist/scripts/14-fb181db148.chunk.js +0 -1
  152. package/dist/scripts/14.chunk.js +0 -272
  153. package/dist/scripts/15-c27b6e07d7.chunk.js +0 -1
  154. package/dist/scripts/15-fceeab7012.chunk.js +0 -1
  155. package/dist/scripts/15.chunk.js +0 -35
  156. package/dist/scripts/16-5f822e4179.chunk.js +0 -1
  157. package/dist/scripts/16.chunk.js +0 -79
  158. package/dist/scripts/17-0eb846d9b9.chunk.js +0 -1
  159. package/dist/scripts/17-8cb6e51052.chunk.js +0 -1
  160. package/dist/scripts/17.chunk.js +0 -40
  161. package/dist/scripts/18.chunk.js +0 -40
  162. package/dist/scripts/19.chunk.js +0 -43
  163. package/dist/scripts/2-a6cad67b85.chunk.js +0 -1
  164. package/dist/scripts/2.chunk.js +0 -33
  165. package/dist/scripts/20-415d21bc0f.chunk.js +0 -1
  166. package/dist/scripts/20-4694e953f3.chunk.js +0 -1
  167. package/dist/scripts/20.chunk.js +0 -18
  168. package/dist/scripts/21-31fe65f6fe.chunk.js +0 -1
  169. package/dist/scripts/21-63eb746ac4.chunk.js +0 -1
  170. package/dist/scripts/21.chunk.js +0 -55
  171. package/dist/scripts/22-00be2f39f7.chunk.js +0 -1
  172. package/dist/scripts/22-53683e1113.chunk.js +0 -1
  173. package/dist/scripts/22.chunk.js +0 -47
  174. package/dist/scripts/23-26ce93dca1.chunk.js +0 -1
  175. package/dist/scripts/23-b3e46bcf50.chunk.js +0 -1
  176. package/dist/scripts/23.chunk.js +0 -47
  177. package/dist/scripts/24-bbcd07a4ad.chunk.js +0 -1
  178. package/dist/scripts/24-e6d86a507c.chunk.js +0 -1
  179. package/dist/scripts/24.chunk.js +0 -33
  180. package/dist/scripts/25-89fdb8ae9e.chunk.js +0 -1
  181. package/dist/scripts/25-ca0f4cdb11.chunk.js +0 -1
  182. package/dist/scripts/25.chunk.js +0 -25
  183. package/dist/scripts/26-e0c0653451.chunk.js +0 -1
  184. package/dist/scripts/26.chunk.js +0 -25
  185. package/dist/scripts/27-3d2348bbb9.chunk.js +0 -1
  186. package/dist/scripts/27.chunk.js +0 -10
  187. package/dist/scripts/28-4c412503ce.chunk.js +0 -1
  188. package/dist/scripts/28.chunk.js +0 -334
  189. package/dist/scripts/29-98ee96c8e2.chunk.js +0 -1
  190. package/dist/scripts/29-e6af31fc4a.chunk.js +0 -1
  191. package/dist/scripts/29.chunk.js +0 -202
  192. package/dist/scripts/3-4bec0e8f4a.chunk.js +0 -1
  193. package/dist/scripts/3.chunk.js +0 -49
  194. package/dist/scripts/30-2b6b14974a.chunk.js +0 -1
  195. package/dist/scripts/30.chunk.js +0 -137
  196. package/dist/scripts/31-b7a766b5c6.chunk.js +0 -1
  197. package/dist/scripts/31-ddc6005e61.chunk.js +0 -1
  198. package/dist/scripts/31.chunk.js +0 -113
  199. package/dist/scripts/32-1520e14c6f.chunk.js +0 -1
  200. package/dist/scripts/32-faaa878653.chunk.js +0 -1
  201. package/dist/scripts/32.chunk.js +0 -115
  202. package/dist/scripts/33-a00e22b5c6.chunk.js +0 -1
  203. package/dist/scripts/33.chunk.js +0 -93
  204. package/dist/scripts/34-326bc04c16.chunk.js +0 -1
  205. package/dist/scripts/34-e04439a134.chunk.js +0 -1
  206. package/dist/scripts/34.chunk.js +0 -63
  207. package/dist/scripts/35-1b99032982.chunk.js +0 -1
  208. package/dist/scripts/35-b4f5e76a1c.chunk.js +0 -1
  209. package/dist/scripts/35.chunk.js +0 -48
  210. package/dist/scripts/36-237f8641dc.chunk.js +0 -1
  211. package/dist/scripts/36-b0af9bb208.chunk.js +0 -1
  212. package/dist/scripts/36.chunk.js +0 -33
  213. package/dist/scripts/37-e9abba0fda.chunk.js +0 -1
  214. package/dist/scripts/37.chunk.js +0 -25
  215. package/dist/scripts/38-5a834b8cfc.chunk.js +0 -1
  216. package/dist/scripts/38-d31c013847.chunk.js +0 -1
  217. package/dist/scripts/38.chunk.js +0 -25
  218. package/dist/scripts/39-1084d66957.chunk.js +0 -1
  219. package/dist/scripts/39-c6cddc090b.chunk.js +0 -1
  220. package/dist/scripts/39.chunk.js +0 -19
  221. package/dist/scripts/4-1c1dfe2433.chunk.js +0 -1
  222. package/dist/scripts/4-bf358041e9.chunk.js +0 -1
  223. package/dist/scripts/4.chunk.js +0 -26
  224. package/dist/scripts/40-107eee3179.chunk.js +0 -1
  225. package/dist/scripts/40.chunk.js +0 -182
  226. package/dist/scripts/41-a0e807e2f4.chunk.js +0 -1
  227. package/dist/scripts/41.chunk.js +0 -175
  228. package/dist/scripts/42-4ace7dc078.chunk.js +0 -1
  229. package/dist/scripts/42-ed988e3f2d.chunk.js +0 -1
  230. package/dist/scripts/42.chunk.js +0 -176
  231. package/dist/scripts/43-4a90405f39.chunk.js +0 -1
  232. package/dist/scripts/43.chunk.js +0 -113
  233. package/dist/scripts/44-1d7deb29f3.chunk.js +0 -1
  234. package/dist/scripts/44.chunk.js +0 -122
  235. package/dist/scripts/45-7c7b54fa86.chunk.js +0 -1
  236. package/dist/scripts/45-ecdc8f35ff.chunk.js +0 -1
  237. package/dist/scripts/45.chunk.js +0 -85
  238. package/dist/scripts/46-2514802e6b.chunk.js +0 -1
  239. package/dist/scripts/46-d7378b7299.chunk.js +0 -1
  240. package/dist/scripts/46.chunk.js +0 -78
  241. package/dist/scripts/47-941bca4d28.chunk.js +0 -1
  242. package/dist/scripts/47.chunk.js +0 -70
  243. package/dist/scripts/48-b816dd6f29.chunk.js +0 -1
  244. package/dist/scripts/48.chunk.js +0 -88
  245. package/dist/scripts/49-7100a40b00.chunk.js +0 -1
  246. package/dist/scripts/49.chunk.js +0 -62
  247. package/dist/scripts/5-56dc0cf4d3.chunk.js +0 -1
  248. package/dist/scripts/5-abeccd6d25.chunk.js +0 -1
  249. package/dist/scripts/5.chunk.js +0 -10
  250. package/dist/scripts/50-0fae63024c.chunk.js +0 -1
  251. package/dist/scripts/50.chunk.js +0 -64
  252. package/dist/scripts/51-19eebceba1.chunk.js +0 -1
  253. package/dist/scripts/51.chunk.js +0 -55
  254. package/dist/scripts/52-b3b59cb367.chunk.js +0 -1
  255. package/dist/scripts/52.chunk.js +0 -47
  256. package/dist/scripts/53-4138309573.chunk.js +0 -1
  257. package/dist/scripts/53.chunk.js +0 -56
  258. package/dist/scripts/54-5ff1f1ae99.chunk.js +0 -1
  259. package/dist/scripts/54-7ed93c3099.chunk.js +0 -1
  260. package/dist/scripts/54.chunk.js +0 -56
  261. package/dist/scripts/55-3497f6f8f6.chunk.js +0 -1
  262. package/dist/scripts/55.chunk.js +0 -41
  263. package/dist/scripts/56-11e9b487a7.chunk.js +0 -1
  264. package/dist/scripts/56-2920fec1d6.chunk.js +0 -1
  265. package/dist/scripts/56.chunk.js +0 -41
  266. package/dist/scripts/57-0ebd6896c1.chunk.js +0 -1
  267. package/dist/scripts/57-1dbfc6cc21.chunk.js +0 -1
  268. package/dist/scripts/57.chunk.js +0 -50
  269. package/dist/scripts/58-bd86d244ca.chunk.js +0 -1
  270. package/dist/scripts/58-d459172602.chunk.js +0 -1
  271. package/dist/scripts/58.chunk.js +0 -33
  272. package/dist/scripts/59-1a216fcead.chunk.js +0 -1
  273. package/dist/scripts/59.chunk.js +0 -33
  274. package/dist/scripts/6-6f95f8dca9.chunk.js +0 -1
  275. package/dist/scripts/6-761fc04f5a.chunk.js +0 -1
  276. package/dist/scripts/6.chunk.js +0 -40
  277. package/dist/scripts/60-d7ae18c894.chunk.js +0 -1
  278. package/dist/scripts/60.chunk.js +0 -33
  279. package/dist/scripts/61-ab0b757ac4.chunk.js +0 -1
  280. package/dist/scripts/61-e21c38e6ad.chunk.js +0 -1
  281. package/dist/scripts/61.chunk.js +0 -33
  282. package/dist/scripts/62-e51c3109a1.chunk.js +0 -1
  283. package/dist/scripts/62.chunk.js +0 -25
  284. package/dist/scripts/63-367c2bc7b9.chunk.js +0 -1
  285. package/dist/scripts/63.chunk.js +0 -25
  286. package/dist/scripts/64-412c40e41f.chunk.js +0 -1
  287. package/dist/scripts/64.chunk.js +0 -33
  288. package/dist/scripts/65-ed951170ce.chunk.js +0 -1
  289. package/dist/scripts/65.chunk.js +0 -34
  290. package/dist/scripts/66-5af63166cd.chunk.js +0 -1
  291. package/dist/scripts/66.chunk.js +0 -33
  292. package/dist/scripts/67-1d9dd19e42.chunk.js +0 -1
  293. package/dist/scripts/67-71fccc45c2.chunk.js +0 -1
  294. package/dist/scripts/67.chunk.js +0 -25
  295. package/dist/scripts/68-ff1015da34.chunk.js +0 -1
  296. package/dist/scripts/68.chunk.js +0 -25
  297. package/dist/scripts/69-bb09eb0f05.chunk.js +0 -1
  298. package/dist/scripts/69.chunk.js +0 -25
  299. package/dist/scripts/7-7f5ce7e0da.chunk.js +0 -1
  300. package/dist/scripts/7-899302c16f.chunk.js +0 -1
  301. package/dist/scripts/7.chunk.js +0 -33
  302. package/dist/scripts/70-4920915604.chunk.js +0 -1
  303. package/dist/scripts/70.chunk.js +0 -25
  304. package/dist/scripts/71-ca0b28a01d.chunk.js +0 -1
  305. package/dist/scripts/71.chunk.js +0 -25
  306. package/dist/scripts/72-8e8580bdbe.chunk.js +0 -1
  307. package/dist/scripts/72.chunk.js +0 -25
  308. package/dist/scripts/73.chunk.js +0 -25
  309. package/dist/scripts/74.chunk.js +0 -25
  310. package/dist/scripts/75.chunk.js +0 -25
  311. package/dist/scripts/76.chunk.js +0 -25
  312. package/dist/scripts/77.chunk.js +0 -26
  313. package/dist/scripts/78.chunk.js +0 -26
  314. package/dist/scripts/79.chunk.js +0 -26
  315. package/dist/scripts/8-94b673b9c2.chunk.js +0 -1
  316. package/dist/scripts/8.chunk.js +0 -33
  317. package/dist/scripts/80.chunk.js +0 -26
  318. package/dist/scripts/81.chunk.js +0 -26
  319. package/dist/scripts/82.chunk.js +0 -26
  320. package/dist/scripts/83.chunk.js +0 -26
  321. package/dist/scripts/84.chunk.js +0 -26
  322. package/dist/scripts/85.chunk.js +0 -26
  323. package/dist/scripts/86.chunk.js +0 -18
  324. package/dist/scripts/87.chunk.js +0 -18
  325. package/dist/scripts/88.chunk.js +0 -18
  326. package/dist/scripts/89.chunk.js +0 -18
  327. package/dist/scripts/9-02b8b8184b.chunk.js +0 -1
  328. package/dist/scripts/9-ec75826552.chunk.js +0 -1
  329. package/dist/scripts/9.chunk.js +0 -18
  330. package/dist/scripts/90.chunk.js +0 -18
  331. package/dist/scripts/91.chunk.js +0 -18
  332. package/dist/scripts/92.chunk.js +0 -18
  333. package/dist/scripts/bundle-210627add9.min.js +0 -10
  334. package/dist/scripts/bundle-8853c11e8b.min.js +0 -8
  335. package/dist/scripts/bundle.js +0 -7667
  336. package/dist/scripts/polyfills-1ff4d28da8.min.js +0 -1
  337. package/dist/scripts/polyfills-f4207eea5b.min.js +0 -1
  338. package/dist/scripts/polyfills.js +0 -2694
@@ -1 +0,0 @@
1
- (window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[22],{1223:function(e,t,n){"use strict";var o,i;n.d(t,"b",(function(){return o})),n.d(t,"a",(function(){return i})),function(e){e[e.Base=0]="Base",e[e.AwaitingReview=1]="AwaitingReview",e[e.PastReleases=2]="PastReleases",e[e.VideoAccess=3]="VideoAccess",e[e.ProcessingVideo=4]="ProcessingVideo",e[e.Draggable=5]="Draggable",e[e.Search=6]="Search"}(o||(o={})),function(e){e.Checkbox="checkbox",e.Thumbnail="thumbnail",e.Metadata="metadata",e.VideoActions="videoActions",e.VideoInfo="videoInfo"}(i||(i={}))},1224:function(e,t,n){e.exports={lock:"_25RMJ",svgContainer:"_1k8KB"}},1225:function(e,t,n){e.exports={dragItem:"_2TIZ7",svgContainer:"_3JzEU",dragText:"_1Kdwj"}},1226:function(e,t,n){var o=n(10);e.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,o,i){e.propertyIsEnumerable;var r,a=e.lambda,l=e.escapeExpression;return'<span class="'+l(a(null!=(r=null!=(r=null!=t?t.options:t)?r.styles:r)?r.svgContainer:r,t))+' mr-2">'+(null!=(r=a(null!=(r=null!=t?t.options:t)?r.svg:r,t))?r:"")+'</span>\r\n<span class="'+l(a(null!=(r=null!=(r=null!=t?t.options:t)?r.styles:r)?r.dragText:r,t))+'">'+l(a(null!=(r=null!=t?t.options:t)?r.text:r,t))+"</span>"},useData:!0})},1235:function(e,t,n){e.exports={actions:"_34Z19",showPreview:"cZAmH"}},1237:function(e,t,n){var o=n(10);e.exports=(o.default||o).template({1:function(e,t,n,o,i){return" cursor-pointer"},3:function(e,t,n,o,i){return"checked"},5:function(e,t,n,o,i){return"disabled"},compiler:[8,">= 4.3.0"],main:function(e,t,n,o,i){e.propertyIsEnumerable;var r,a=e.lambda,l=e.escapeExpression,s=null!=t?t:e.nullContext||{};return'<div class="custom-control custom-checkbox '+l(a(null!=(r=null!=t?t.options:t)?r.checkboxClassName:r,t))+'">\r\n <input name="checkbox-'+l(a(null!=(r=null!=t?t.options:t)?r.id:r,t))+'" id="checkbox-'+l(a(null!=(r=null!=t?t.options:t)?r.id:r,t))+'" type="checkbox" class="custom-control-input'+(null!=(r=n.unless.call(s,null!=(r=null!=t?t.options:t)?r.disabled:r,{name:"unless",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i}))?r:"")+'" '+(null!=(r=n.if.call(s,null!=(r=null!=t?t.options:t)?r.checked:r,{name:"if",hash:{},fn:e.program(3,i,0),inverse:e.noop,data:i}))?r:"")+" "+(null!=(r=n.if.call(s,null!=(r=null!=t?t.options:t)?r.disabled:r,{name:"if",hash:{},fn:e.program(5,i,0),inverse:e.noop,data:i}))?r:"")+' />\r\n <label class="custom-control-label'+(null!=(r=n.unless.call(s,null!=(r=null!=t?t.options:t)?r.disabled:r,{name:"unless",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i}))?r:"")+'" for="checkbox-'+l(a(null!=(r=null!=t?t.options:t)?r.id:r,t))+'">&nbsp;</label>\r\n</div>'},useData:!0})},1242:function(e,t,n){"use strict";var o=n(1225),i=n.n(o),r=n(1226),a=n.n(r);function l(e){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function s(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function u(e){var t=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(e){return!1}}();return function(){var n,o=f(e);if(t){var i=f(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return p(this,n)}}function p(e,t){return!t||"object"!==l(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var h=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c(e,t)}(l,e);var t,n,o,r=u(l);function l(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),r.call(this,e)}return t=l,(n=[{key:"viewOptions",value:function(){return Object.assign({styles:i.a},this.options)}},{key:"name",get:function(){return"DraggableItemComponent"}},{key:"template",get:function(){return a.a}},{key:"className",get:function(){return"".concat(i.a.dragItem," p-3")}}])&&s(t.prototype,n),o&&s(t,o),l}(n(2).a.Component),d={delay:150,cursorAt:{left:-20,top:10},refreshPositions:!0};n.d(t,"c",(function(){return i.a})),n.d(t,"b",(function(){return h})),n.d(t,"a",(function(){return d}))},1243:function(e,t,n){e.exports={checkboxContainer:"_3BLCF",thumbnailContainer:"_16jlV",metaContainer:"_2mMws",actionsContainer:"I31I0",allowBulk:"_2VkOe",videoItem:"PoHa-",processingVideo:"qFjv2",bulkPlaceholder:"_3iAFa",previewContainer:"_2UBZX"}},1244:function(e,t,n){"use strict";n.d(t,"a",(function(){return g})),n.d(t,"b",(function(){return y}));var o=n(1),i=n(2),r=n(1237),a=n.n(r),l=n(12);function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function f(e){var t=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(e){return!1}}();return function(){var n,o=d(e);if(t){var i=d(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return h(this,n)}}function h(e,t){return!t||"object"!==s(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var g="checkbox-all",y=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p(e,t)}(s,e);var t,n,i,r=f(s);function s(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),r.call(this,e)}return t=s,(n=[{key:"initialize",value:function(){this.getViewModel(),this.bindListeners()}},{key:"getViewModel",value:function(){this.model=l.a.GetViewModel(this.options.key,this.options.type)}},{key:"bindListeners",value:function(){this.options.disabled||this.listenTo(this.model,"change",this.onChange)}},{key:"events",value:function(){return{"change .custom-control-input":"onClick"}}},{key:"onChange",value:function(){this.checkAllChecked(),this.render()}},{key:"checkAllChecked",value:function(){var e=o.values(this.model.omit("all",g));o.every(e,(function(e){return!!e}))&&(this.model.get("all")||e.length===this.options.numberOfItems)&&this.model.set(c({all:!0},this.getItemId(),!0))}},{key:"getItemId",value:function(){return g}},{key:"onClick",value:function(){this.model.get(this.getItemId())?this.model.clear():(this.model.clear(),this.model.set(c({all:!0},this.getItemId(),!0)))}},{key:"viewOptions",value:function(){return{id:this.getItemId(),checked:this.model.get(g),disabled:this.options.disabled,checkboxClassName:this.options.checkboxClassName}}},{key:"name",get:function(){return"BulkCheckboxComponent"}},{key:"className",get:function(){return this.options.className}},{key:"template",get:function(){return a.a}}])&&u(t.prototype,n),i&&u(t,i),s}(i.a.Component)},1245:function(e,t,n){"use strict";var o=n(0),i=n(81),r=n(190),a=n(192),l=n(1251),s=n(1),c=n(2),u=n(15),p=n(133),f=n(12),h=n(1228),d=n(1257),g=n.n(d),y=n(1258),m=n.n(y);function v(e){return(v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function b(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function w(e,t){return(w=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function k(e){var t=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(e){return!1}}();return function(){var n,o=O(e);if(t){var i=O(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return C(this,n)}}function C(e,t){return!t||"object"!==v(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function O(e){return(O=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var S=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&w(e,t)}(r,e);var t,n,o,i=k(r);function r(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r),i.call(this,e)}return t=r,(n=[{key:"events",value:function(){return{"click span":"onClick"}}},{key:"onClick",value:function(e){e.stopPropagation()}},{key:"viewOptions",value:function(){var e=this.options.showReviewBadge&&f.n.getRestrictionTooltipMessage(this.model),t=this.options.showRestrictionBadge&&f.n.getRestrictionTooltipMessage(this.model);return{styles:m.a,interactive:h.h.isInteractive(this.model),subtitles:!1,resources:!1,ratingColorClass:h.h.mapRatingToClass(this.model.rating.get("value")),closeCaptionSvg:u.a.getSvg(u.b.CloseCaptionBadge),resourcesSvg:u.a.getSvg(u.b.Resources),awaitingReviewMessage:e,awaitingReviewBadgeClass:f.n.getReviewBadgeClassName(this.model,m.a.reviewBadge,m.a.urgentReviewBadge),restrictionMessage:t}}},{key:"name",get:function(){return"VideoItemBadgesComponent"}},{key:"template",get:function(){return g.a}},{key:"lang",get:function(){return"shared.videoItemBadges"}},{key:"behaviors",get:function(){return[{behaviorClass:p.a,selector:".tool-tip"}]}},{key:"defaults",get:function(){return{showRestrictionBadge:!1,showReviewBadge:!1}}}])&&b(t.prototype,n),o&&b(t,o),r}(c.a.Component),E=n(1238),x=n(1227),R=n(1259),P=n.n(R),_=n(1224),I=n.n(_);function T(e){return(T="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function V(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function j(e,t){return(j=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function D(e){var t=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(e){return!1}}();return function(){var n,o=A(e);if(t){var i=A(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return M(this,n)}}function M(e,t){return!t||"object"!==T(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function A(e){return(A=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var L=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&j(e,t)}(a,e);var t,n,i,r=D(a);function a(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),r.call(this,e)}return t=a,(n=[{key:"initialize",value:function(){this.listenTo(this.model,"change:restrictions",this.render)}},{key:"regions",value:function(){return{sources:{el:".sources-region",replaceElement:!0},badges:{el:".badges-region",replaceElement:!0},series:{el:".series-region",replaceElement:!0}}}},{key:"events",value:function(){return e={},t="click .".concat(I.a.svgContainer),n="onClickBadge",t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e;var e,t,n}},{key:"onClickBadge",value:function(e){e.stopPropagation()}},{key:"renderSources",value:function(){var e=s.extend({},{model:this.model},this.options.sourceMetadataOptions);this.showChildView("sources",new E.a(e))}},{key:"renderSeries",value:function(){this.showChildView("series",new x.a({model:this.model,highlight:this.options.sourceMetadataOptions&&!!this.options.sourceMetadataOptions.highlight}))}},{key:"renderBadges",value:function(){this.showChildView("badges",new S({model:this.model}))}},{key:"viewOptions",value:function(){return{styles:I.a,hasAdminRestriction:f.n.hasAdminRestriction(this.model),restrictionMessage:f.n.getRestrictionTooltipMessage(this.model),lockSvg:u.a.getSvg(u.b.Lock)}}},{key:"onRender",value:function(){this.renderSeries(),this.renderSources(),this.renderBadges()}},{key:"name",get:function(){return"VideoItemMetadataComponent"}},{key:"template",get:function(){return P.a}},{key:"behaviors",get:function(){return[{behaviorClass:p.a,selector:".tool-tip"}]}},{key:"appLinks",get:function(){return{".applink-show-video":{application:o.b.LIBRARY_EDITOR,action:o.a.LibraryEditor.VIDEO_DETAILS,args:[this.model.get("id")]}}}}])&&V(t.prototype,n),i&&V(t,i),a}(c.a.Component),N=n(1260),U=n.n(N);function B(e){return(B="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function H(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function W(e,t){return(W=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function z(e){var t=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(e){return!1}}();return function(){var n,o=F(e);if(t){var i=F(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return G(this,n)}}function G(e,t){return!t||"object"!==B(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function F(e){return(F=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Y=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&W(e,t)}(l,e);var t,n,r,a=z(l);function l(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),a.call(this,e)}return t=l,(n=[{key:"initialize",value:function(){this.listenTo(this.model,"change:restrictions",this.render)}},{key:"regions",value:function(){return{sources:{el:".sources-region",replaceElement:!0},badges:{el:".badges-region",replaceElement:!0},series:{el:".series-region",replaceElement:!0}}}},{key:"events",value:function(){return e={click:"onClick","click .video-title":"onClickMetadata"},t="click .".concat(I.a.svgContainer),n="onClickMetadata",t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e;var e,t,n}},{key:"onClickMetadata",value:function(e){e.stopPropagation()}},{key:"getVideoUrl",value:function(){return i.a.safeUrlConcat(this.options.config.get("onlineUrl"),"videos/".concat(this.model.get("id")))}},{key:"renderSources",value:function(){if(f.x.hasCustomLibrary(this.model)){var e=s.extend({},{model:this.model},this.options.sourceMetadataOptions);this.showChildView("sources",new E.a(e))}}},{key:"renderSeries",value:function(){f.x.hasCustomLibrary(this.model)&&this.showChildView("series",new x.a({model:this.model,highlight:this.options.sourceMetadataOptions&&!!this.options.sourceMetadataOptions.highlight}))}},{key:"renderBadges",value:function(){this.showChildView("badges",new S({model:this.model,showRestrictionBadge:!0}))}},{key:"viewOptions",value:function(){return{styles:I.a,restrictionMessage:f.n.getRestrictionTooltipMessage(this.model),lockSvg:u.a.getSvg(u.b.Lock),linkToOnline:!f.x.hasCustomLibrary(this.model),videoUrl:this.getVideoUrl(),openExternalSvg:u.a.getSvg(u.b.NewWindow)}}},{key:"onRender",value:function(){this.renderSeries(),this.renderSources(),this.renderBadges()}},{key:"name",get:function(){return"VideoItemVideoAccessMetadataComponent"}},{key:"template",get:function(){return U.a}},{key:"behaviors",get:function(){return[{behaviorClass:p.a,selector:".tool-tip"}]}},{key:"appLinks",get:function(){if(f.x.hasCustomLibrary(this.model))return{".applink-show-video":{application:o.b.LIBRARY_EDITOR,action:o.a.LibraryEditor.VIDEO_DETAILS,args:[this.model.get("id")]}}}}])&&H(t.prototype,n),r&&H(t,r),l}(c.a.Component),Z=n(97),q=n(99),J=n(1261),K=n.n(J);function Q(e){return(Q="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function $(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function X(e,t){return(X=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ee(e){var t=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(e){return!1}}();return function(){var n,o=ne(e);if(t){var i=ne(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return te(this,n)}}function te(e,t){return!t||"object"!==Q(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function ne(e){return(ne=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var oe=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&X(e,t)}(a,e);var t,n,i,r=ee(a);function a(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),r.call(this,e)}return t=a,(n=[{key:"initialize",value:function(){this.bindListeners()}},{key:"bindListeners",value:function(){this.model.get("status")===Z.a.Processing&&this.options.pendingItems&&(this.pendingItem||(this.listenTo(this.options.pendingItems,"update",this.mapPendingItem),this.mapPendingItem()))}},{key:"mapPendingItem",value:function(){this.pendingItem=this.options.pendingItems.get(this.model.get("id")),this.render(),this.pendingItem&&(this.stopListening(this.options.pendingItems,"update"),this.listenTo(this.pendingItem,"change:foregroundProgress change:backgroundProgress change:pendingProcessStatus",this.render))}},{key:"viewOptions",value:function(){return this.pendingItem?{status:q.a.getStatus(this.pendingItem),hasError:q.a.hasError(this.pendingItem),hasPendingItem:!0}:{hasPendingItem:!1}}},{key:"lang",get:function(){return"shared.videoItemProcessingMetadata"}},{key:"name",get:function(){return"VideoItemProcessingMetadataComponent"}},{key:"template",get:function(){return K.a}},{key:"appLinks",get:function(){var e=this.model.series?this.model.series.id:"";return{".applink-series":{application:o.b.LIBRARY_EDITOR,action:o.a.LibraryEditor.FOLDER,args:[e]}}}}])&&$(t.prototype,n),i&&$(t,i),a}(c.a.Component),ie=n(1262),re=n.n(ie);function ae(e){return(ae="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function le(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function se(e,t){return(se=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ce(e){var t=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(e){return!1}}();return function(){var n,o=pe(e);if(t){var i=pe(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return ue(this,n)}}function ue(e,t){return!t||"object"!==ae(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function pe(e){return(pe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var fe=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&se(e,t)}(a,e);var t,n,o,r=ce(a);function a(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),r.call(this,e)}return t=a,(n=[{key:"events",value:function(){return{"click .video-title":"onClickMetadata","click .svg-container":"onClickMetadata"}}},{key:"regions",value:function(){return{badges:{el:".badges-region",replaceElement:!0},series:{el:".series-region",replaceElement:!0}}}},{key:"onClickMetadata",value:function(e){e.stopPropagation()}},{key:"getVideoUrl",value:function(){return i.a.safeUrlConcat(this.options.config.get("onlineUrl"),"videos/".concat(this.model.get("id")))}},{key:"getSeriesUrl",value:function(){if(this.model.series)return i.a.safeUrlConcat(this.options.config.get("onlineUrl"),"series/".concat(this.model.series.id))}},{key:"renderBadges",value:function(){this.showChildView("badges",new S({model:this.model,showReviewBadge:!0}))}},{key:"renderSeries",value:function(){this.showChildView("series",new x.a({model:this.model,highlight:!1,seriesUrl:this.getSeriesUrl()}))}},{key:"viewOptions",value:function(){return{styles:I.a,videoUrl:this.getVideoUrl(),openExternalSvg:u.a.getSvg(u.b.NewWindow)}}},{key:"onRender",value:function(){this.renderSeries(),this.renderBadges()}},{key:"name",get:function(){return"VideoItemAwaitingReviewMetadataComponent"}},{key:"template",get:function(){return re.a}}])&&le(t.prototype,n),o&&le(t,o),a}(c.a.Component),he=n(1263),de=n.n(he),ge=n(1264),ye=n.n(ge);function me(e){return(me="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ve(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function be(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function we(e,t){return(we=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ke(e){var t=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(e){return!1}}();return function(){var n,o=Oe(e);if(t){var i=Oe(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return Ce(this,n)}}function Ce(e,t){return!t||"object"!==me(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Oe(e){return(Oe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Se=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&we(e,t)}(a,e);var t,n,o,r=ke(a);function a(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),r.call(this,e)}return t=a,(n=[{key:"initialize",value:function(){this.listenTo(this.model,"change:restrictions",this.render)}},{key:"regions",value:function(){return{badges:{el:".badges-region",replaceElement:!0},series:{el:".series-region",replaceElement:!0}}}},{key:"events",value:function(){var e;return ve(e={"click .video-title":"onClickMetadata"},"click .".concat(ye.a.series),"onClickMetadata"),ve(e,"click .svg-container","onClickMetadata"),e}},{key:"onClickMetadata",value:function(e){e.stopPropagation()}},{key:"getVideoUrl",value:function(){return i.a.safeUrlConcat(this.options.config.get("onlineUrl"),"videos/".concat(this.model.get("id")))}},{key:"getSeriesUrl",value:function(){if(this.model.series)return i.a.safeUrlConcat(this.options.config.get("onlineUrl"),"series/".concat(this.model.series.id))}},{key:"renderBadges",value:function(){this.showChildView("badges",new S({model:this.model}))}},{key:"renderSeries",value:function(){this.showChildView("series",new x.a({model:this.model,highlight:!1,seriesUrl:this.getSeriesUrl()}))}},{key:"viewOptions",value:function(){return{styles:s.extend({},I.a,ye.a),videoUrl:this.getVideoUrl(),openExternalSvg:u.a.getSvg(u.b.NewWindow),hasAdminRestriction:f.n.hasAdminRestriction(this.model),restrictionMessage:f.n.getRestrictionTooltipMessage(this.model),lockSvg:u.a.getSvg(u.b.Lock)}}},{key:"onRender",value:function(){this.renderSeries(),this.renderBadges()}},{key:"name",get:function(){return"VideoItemPastReleasesMetadataComponent"}},{key:"template",get:function(){return de.a}},{key:"lang",get:function(){return"shared.videoItemPastReleasesMetadata"}},{key:"behaviors",get:function(){return[{behaviorClass:p.a,selector:".tool-tip"}]}}])&&be(t.prototype,n),o&&be(t,o),a}(c.a.Component),Ee=n(1265),xe=n.n(Ee);function Re(e){return(Re="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Pe(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function _e(e,t){return(_e=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Ie(e){var t=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(e){return!1}}();return function(){var n,o=Ve(e);if(t){var i=Ve(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return Te(this,n)}}function Te(e,t){return!t||"object"!==Re(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Ve(e){return(Ve=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var je=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_e(e,t)}(a,e);var t,n,i,r=Ie(a);function a(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),r.call(this,e)}return t=a,(n=[{key:"initialize",value:function(){this.listenTo(this.model,"change:restrictions",this.render)}},{key:"regions",value:function(){return{sources:{el:".sources-region",replaceElement:!0},badges:{el:".badges-region",replaceElement:!0},series:{el:".series-region",replaceElement:!0}}}},{key:"events",value:function(){return e={click:"onClick"},t="click ".concat(I.a.svgContainer),n="onClickSvg",t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e;var e,t,n}},{key:"onClickSvg",value:function(e){e.stopPropagation()}},{key:"getKeyPhrases",value:function(){var e=this;return f.v.extractKeyPhrases(this.model.get("description"),this.model.get("_matchedWords"),100,2).map((function(t){return f.v.wordsHighlighter(f.v.escapeExpression(t),e.model.get("_matchedWords"))}))}},{key:"renderSources",value:function(){var e=s.extend({},{model:this.model},this.options.sourceMetadataOptions);this.showChildView("sources",new E.a(e))}},{key:"renderSeries",value:function(){this.showChildView("series",new x.a({model:this.model,highlight:this.options.sourceMetadataOptions&&!!this.options.sourceMetadataOptions.highlight}))}},{key:"renderBadges",value:function(){this.showChildView("badges",new S({model:this.model}))}},{key:"viewOptions",value:function(){return{styles:I.a,name:f.v.wordsHighlighter(f.v.escapeExpression(this.model.get("name")),this.model.get("_matchedWords")),keyPhrases:this.getKeyPhrases(),hasAdminRestriction:f.n.hasAdminRestriction(this.model),restrictionMessage:f.n.getRestrictionTooltipMessage(this.model),lockSvg:u.a.getSvg(u.b.Lock)}}},{key:"onRender",value:function(){this.renderSeries(),this.renderSources(),this.renderBadges()}},{key:"name",get:function(){return"VideoItemSearchMetadataComponent"}},{key:"template",get:function(){return xe.a}},{key:"behaviors",get:function(){return[{behaviorClass:p.a,selector:".tool-tip"}]}},{key:"appLinks",get:function(){return{".applink-show-video":{application:o.b.LIBRARY_EDITOR,action:o.a.LibraryEditor.VIDEO_DETAILS,args:[this.model.get("id")]}}}}])&&Pe(t.prototype,n),i&&Pe(t,i),a}(c.a.Component),De=n(6),Me=n(1292),Ae=n(1266),Le=n.n(Ae),Ne=n(1235),Ue=n.n(Ne);function Be(e){return(Be="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function He(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function We(e,t){return(We=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ze(e){var t=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(e){return!1}}();return function(){var n,o=Fe(e);if(t){var i=Fe(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return Ge(this,n)}}function Ge(e,t){return!t||"object"!==Be(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Fe(e){return(Fe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Ye=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&We(e,t)}(r,e);var t,n,o,i=ze(r);function r(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r),i.call(this,e)}return t=r,(n=[{key:"regions",value:function(){return{videoActions:".video-actions-region"}}},{key:"events",value:function(){return e={},t="click .".concat(Ue.a.showPreview),n="onClickShowPreview",t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e;var e,t,n}},{key:"onClickShowPreview",value:function(e){e.stopPropagation(),this.options.channelName&&De.Radio.channel(this.options.channelName).trigger("click:show:preview")}},{key:"renderVideoActions",value:function(){this.showChildView("videoActions",new Me.a(this.options.videoActionsOptions))}},{key:"viewOptions",value:function(){return{styles:Ue.a,previewDisplayed:this.options.previewDisplayed,previewSvg:u.a.getSvg(u.b.Preview)}}},{key:"onRender",value:function(){this.renderVideoActions()}},{key:"name",get:function(){return"VideoItemActionsComponent"}},{key:"template",get:function(){return Le.a}},{key:"className",get:function(){return"d-flex h-100 flex-column align-items-end justify-content-between"}},{key:"lang",get:function(){return"shared._videoItemActions"}}])&&He(t.prototype,n),o&&He(t,o),r}(c.a.Component),Ze=n(5),qe=n(4),Je=n(42),Ke=n(1267),Qe=n.n(Ke);function $e(e){return($e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Xe(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function et(e,t){return(et=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function tt(e){var t=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(e){return!1}}();return function(){var n,o=ot(e);if(t){var i=ot(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return nt(this,n)}}function nt(e,t){return!t||"object"!==$e(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function ot(e){return(ot=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var it=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&et(e,t)}(a,e);var t,n,i,r=tt(a);function a(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),r.call(this,e)}return t=a,(n=[{key:"initialize",value:function(){this.restrictedVideoDataService=Ze.a.getInstance(o.g.RestrictedVideo,this)}},{key:"events",value:function(){return e={"click .approve":"onClickApprove","click .applink-manage-video-access":"onClickManageVideoAccess"},t="click .".concat(Ue.a.showPreview),n="onClickShowPreview",t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e;var e,t,n}},{key:"onClickApprove",value:function(e){e.stopPropagation(),this.restrictedVideoDataService.deleteVideoRestriction(this.model.get("id")),this.logApproveAction()}},{key:"onClickManageVideoAccess",value:function(e){e.stopPropagation(),this.logManageAccessAction()}},{key:"onClickShowPreview",value:function(e){e.stopPropagation(),this.options.channelName&&De.Radio.channel(this.options.channelName).trigger("click:show:preview")}},{key:"logApproveAction",value:function(){var e={location:qe.LocationContext.AwaitingReviewVideoItem,actionType:qe.UserAction.Approve,entity:qe.EntityType.Video,descriptor:qe.OperationDescriptor.Single,workflowPhase:qe.WorkflowPhase.Complete},t={id:this.model.get("id")};Je.a.logUserAction(t,e)}},{key:"logManageAccessAction",value:function(){var e={location:qe.LocationContext.AwaitingReviewVideoItem,actionType:qe.UserAction.SetAccess,entity:qe.EntityType.Video,workflowPhase:qe.WorkflowPhase.Start},t={id:this.model.get("id")};Je.a.logUserAction(t,e)}},{key:"viewOptions",value:function(){return{styles:Ue.a,previewDisplayed:this.options.previewDisplayed,previewSvg:u.a.getSvg(u.b.Preview)}}},{key:"name",get:function(){return"VideoItemReviewActionsComponent"}},{key:"template",get:function(){return Qe.a}},{key:"lang",get:function(){return"shared.videoItemReviewActions"}},{key:"className",get:function(){return"d-flex h-100 flex-column align-items-end"}},{key:"appLinks",get:function(){return{".applink-manage-video-access":{application:o.b.CONTENT_UPDATES,action:o.a.Shared.MANAGE_VIDEO_ACCESS,args:[this.model.get("id")]}}}}])&&Xe(t.prototype,n),i&&Xe(t,i),a}(c.a.Component),rt=n(1268),at=n.n(rt);function lt(e){return(lt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function st(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function ct(e,t){return(ct=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ut(e){var t=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(e){return!1}}();return function(){var n,o=ft(e);if(t){var i=ft(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return pt(this,n)}}function pt(e,t){return!t||"object"!==lt(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function ft(e){return(ft=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var ht=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ct(e,t)}(a,e);var t,n,i,r=ut(a);function a(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),r.call(this,e)}return t=a,(n=[{key:"events",value:function(){return e={"click .applink-manage-video-access":"onClickManageVideoAccess"},t="click .".concat(Ue.a.showPreview),n="onClickShowPreview",t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e;var e,t,n}},{key:"onClickManageVideoAccess",value:function(e){e.stopPropagation(),this.logAction()}},{key:"onClickShowPreview",value:function(e){e.stopPropagation(),this.options.channelName&&De.Radio.channel(this.options.channelName).trigger("click:show:preview")}},{key:"logAction",value:function(){var e={location:qe.LocationContext.VideoListItem,actionType:qe.UserAction.SetAccess,entity:qe.EntityType.Video,workflowPhase:qe.WorkflowPhase.Start},t={id:this.model.get("id")};Je.a.logUserAction(t,e)}},{key:"viewOptions",value:function(){return{styles:Ue.a,previewDisplayed:this.options.previewDisplayed,previewSvg:u.a.getSvg(u.b.Preview)}}},{key:"name",get:function(){return"VideoItemVideoAccessComponent"}},{key:"template",get:function(){return at.a}},{key:"lang",get:function(){return"shared.videoItemVideoAccessActions"}},{key:"className",get:function(){return"d-flex h-100 flex-column align-items-end justify-content-between"}},{key:"appLinks",get:function(){return{".applink-manage-video-access":{application:o.b.VIDEO_ACCESS,action:o.a.Shared.MANAGE_VIDEO_ACCESS,args:[this.model.get("id")]}}}}])&&st(t.prototype,n),i&&st(t,i),a}(c.a.Component),dt=n(1252),gt=n(1269),yt=n(9),mt=n(3),vt=n(297),bt=n(1254),wt=n(292),kt=n(1270),Ct=n.n(kt);function Ot(e){return(Ot="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function St(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Et(e,t){return(Et=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function xt(e){var t=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(e){return!1}}();return function(){var n,o=Pt(e);if(t){var i=Pt(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return Rt(this,n)}}function Rt(e,t){return!t||"object"!==Ot(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Pt(e){return(Pt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var _t=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Et(e,t)}(a,e);var t,n,i,r=xt(a);function a(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),r.call(this,e)}return t=a,(n=[{key:"events",value:function(){return{"click .show-more-tags":"onClickShowMoreTags"}}},{key:"regions",value:function(){return{tags:{replaceElement:!0,el:".tags-region"}}}},{key:"onClickShowMoreTags",value:function(){this.showingMoreTags=!0,this.options.channelName&&De.Radio.channel(this.options.channelName).trigger("show:more:tags"),this.render()}},{key:"getTagCollection",value:function(){var e=this.showingMoreTags?this.options.expandedTagDisplayCount:this.options.initialTagDisplayCount;return new vt.a(this.collection.slice(0,e))}},{key:"getExtraTagsInfo",value:function(){if(!this.showingMoreTags)return mt.a.getPhrase(this.lang,"extraTags",{smartCount:s.max([this.collection.length-this.options.initialTagDisplayCount,0])})}},{key:"renderTags",value:function(){var e=new bt.a({collection:this.getTagCollection(),behavior:wt.b.Link});this.showChildView("tags",e)}},{key:"viewOptions",value:function(){return{expandable:this.collection.length>this.options.initialTagDisplayCount&&!this.showingMoreTags,extraTagsText:this.getExtraTagsInfo(),moreTags:this.showingMoreTags&&this.collection.length>this.options.expandedTagDisplayCount}}},{key:"onRender",value:function(){this.renderTags()}},{key:"name",get:function(){return"ExpandableTagListComponent"}},{key:"template",get:function(){return Ct.a}},{key:"lang",get:function(){return"libraryEditor.expandableTagList"}},{key:"defaults",get:function(){return{initialTagDisplayCount:5,expandedTagDisplayCount:10}}},{key:"appLinks",get:function(){return{".applink-video-details":{application:o.b.LIBRARY_EDITOR,action:o.a.LibraryEditor.VIDEO_DETAILS,args:[this.options.videoId]}}}}])&&St(t.prototype,n),i&&St(t,i),a}(c.a.Component),It=n(1271),Tt=n.n(It),Vt=n(1272),jt=n.n(Vt);function Dt(e){return(Dt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Mt(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function At(e,t){return(At=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Lt(e){var t=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(e){return!1}}();return function(){var n,o=Ut(e);if(t){var i=Ut(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return Nt(this,n)}}function Nt(e,t){return!t||"object"!==Dt(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Ut(e){return(Ut=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Bt=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&At(e,t)}(a,e);var t,n,i,r=Lt(a);function a(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),r.call(this,e)}return t=a,(n=[{key:"initialize",value:function(){this.listenTo(this.model,"change",this.render),this.listenTo(this.channelName,"show:more:tags",this.onClickShowMoreTags)}},{key:"regions",value:function(){return{partialLoadingContainer:{el:".content-container-region",replaceElement:!1,partialLoading:yt.h.VideoItemPreview},description:".description-region",preview:".video-preview-region",tags:{replaceElement:!0,el:".tags-region"}}}},{key:"events",value:function(){return{click:"onClick"}}},{key:"onClick",value:function(e){e.stopPropagation()}},{key:"onClickShowMoreTags",value:function(){De.Radio.channel(this.options.channelName).trigger("resize:preview")}},{key:"showTags",value:function(){return!(!this.model.tags||!this.model.tags.length)}},{key:"renderDescription",value:function(){if(this.model&&this.model.get("description")){var e=new dt.a({model:this.model,highlighter:!0,size:dt.b.Small,truncate:!0});this.showChildView("description",e)}}},{key:"renderTags",value:function(){if(this.showTags()){var e=new _t({collection:this.model.tags,videoId:this.model.id&&this.model.get("id"),channelName:this.channelName});this.showChildView("tags",e)}}},{key:"renderVideoPreview",value:function(){var e=new gt.a({model:this.model,webPlayerUrl:this.options.webPlayerUrl,analyticsOptions:{location:qe.LocationContext.VideoItemPreview},currentUser:this.options.currentUser});this.showChildView("preview",e)}},{key:"getSubtitleLanguage",value:function(){if(!this.model.subtitles||!this.model.get("subtitles").length)return"";var e=s.uniq(this.model.get("subtitles").map((function(e){return e.get("language")})));return s.map(e,(function(e){return CVLanguages.getFullEnglishName(e)})).join(", ")}},{key:"getDetails",value:function(e){if(!this.model[e]||!this.model.get(e).length)return"";var t=this.model.get(e).length;return t>1?"".concat(t," ").concat(e):"".concat(mt.a.getPhrase(this.lang,"one")," ").concat(e.slice(0,-1))}},{key:"onBeforeRender",value:function(){return!(!this.model||!this.model.get("dataFetched"))||(De.Radio.channel(this.options.collectionViewChannel).trigger("fetch:video:with:metadata",this.options.videoId),!(!this.model||!this.model.get("dataFetched"))&&void 0)}},{key:"viewOptions",value:function(){if(this.model&&this.model.get("dataFetched")){var e=this.model.get("duration");return{styles:jt.a,ratingClass:this.model.rating&&h.h.mapRatingToClass(this.model.rating.get("value")),showTags:this.showTags(),description:this.model.get("description"),duration:e&&f.e.ToDisplayDuration(e),chapters:this.getDetails("chapters"),interactives:this.model.interactives&&this.model.get("interactives").length,subtitles:this.getSubtitleLanguage(),resources:this.getDetails("resources"),links:this.getDetails("links"),externalLink:this.options.externalLink,openExternalSvg:u.a.getSvg(u.b.NewWindow)}}}},{key:"onRender",value:function(){this.renderDescription(),this.renderTags(),this.renderVideoPreview()}},{key:"name",get:function(){return"VideoItemPreviewComponent"}},{key:"template",get:function(){return Tt.a}},{key:"lang",get:function(){return"shared.videoItemPreview"}},{key:"className",get:function(){return"row border-top px-3 m-0"}},{key:"channelName",get:function(){return"".concat(this.name).concat(this.cid)}},{key:"appLinks",get:function(){return{".applink-video-details":{application:o.b.LIBRARY_EDITOR,action:o.a.LibraryEditor.VIDEO_DETAILS,args:[this.model.get("id")]}}}},{key:"behaviors",get:function(){return[{behaviorClass:p.a,selector:".tool-tip"}]}}])&&Mt(t.prototype,n),i&&Mt(t,i),a}(c.a.Component),Ht=n(1273),Wt=n.n(Ht);function zt(e){return(zt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Gt(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Ft(e,t){return(Ft=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Yt(e){var t=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(e){return!1}}();return function(){var n,o=qt(e);if(t){var i=qt(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return Zt(this,n)}}function Zt(e,t){return!t||"object"!==zt(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function qt(e){return(qt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Jt,Kt,Qt,$t,Xt,en,tn,nn,on,rn=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ft(e,t)}(r,e);var t,n,o,i=Yt(r);function r(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r),i.call(this,e)}return t=r,(n=[{key:"initialize",value:function(){this.bindListeners()}},{key:"events",value:function(){return{"click .cancel":"onClickCancel","click .retry":"onClickRetry"}}},{key:"onClickCancel",value:function(){var e=this.pendingItem.get("video").get("name");f.b.generateDialog(e,this.options.channelName,"cancel:pending:item",this.pendingItem)}},{key:"onClickRetry",value:function(){De.Radio.channel(this.options.channelName).trigger("retry:pending:item",this.pendingItem)}},{key:"bindListeners",value:function(){this.model.get("status")===Z.a.Processing&&this.options.pendingItems&&(this.pendingItem||(this.listenTo(this.options.pendingItems,"update",this.mapPendingItem),this.mapPendingItem()))}},{key:"mapPendingItem",value:function(){this.pendingItem=this.options.pendingItems.get(this.model.get("id")),this.render(),this.pendingItem&&(this.stopListening(this.options.pendingItems,"update"),this.listenTo(this.pendingItem,"change:pendingProcessStatus",this.render))}},{key:"viewOptions",value:function(){return{hasError:q.a.hasError(this.pendingItem)}}},{key:"onBeforeRender",value:function(){return!!this.pendingItem}},{key:"name",get:function(){return"VideoItemProcessingActionsComponent"}},{key:"template",get:function(){return Wt.a}},{key:"lang",get:function(){return"shared.videoItemProcessingActions"}},{key:"className",get:function(){return"d-flex h-100 flex-column align-items-end justify-content-between"}}])&&Gt(t.prototype,n),o&&Gt(t,o),r}(c.a.Component),an=n(1243),ln=n.n(an),sn=n(187),cn=n(1223);function un(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"a",(function(){return yn}));var pn=cn.b,fn=cn.a,hn=function(e){return{component:r.a,options:{model:e.model,lazyload:e.shouldLazyLoadThumbnail(),thumbnailOptions:{size:a.a.Small},href:i.a.safeUrlConcat(e.options.config.get("onlineUrl"),"videos/".concat(e.model.id)),channelName:e.channelName}}},dn=function(e){return{component:Bt,options:{model:e.options.videoWithMetadata,videoId:e.model.id.toString(),channelName:e.channelName,collectionViewChannel:e.options.collectionViewChannel,webPlayerUrl:e.options.config.get("webPlayerUrl"),currentUser:e.options.currentUser}}},gn=function(e){return{component:Bt,options:{model:e.options.videoWithMetadata,videoId:e.model.id.toString(),channelName:e.channelName,collectionViewChannel:e.options.collectionViewChannel,webPlayerUrl:e.options.config.get("webPlayerUrl"),externalLink:i.a.safeUrlConcat(e.options.config.get("onlineUrl"),"videos/".concat(e.model.id)),currentUser:e.options.currentUser}}},yn={componentOptions:(en={},un(en,pn.Base,(Jt={},un(Jt,fn.Checkbox,(function(e){return{component:l.a,options:{className:"d-inline-flex align-items-center mr-3 ".concat(ln.a.checkboxContainer),checkboxClassName:ln.a.checkbox,itemId:e.model.id,key:e.collectionIdentifier.toString(),type:sn.CheckboxTypes.VIDEO_LIST}}})),un(Jt,fn.Thumbnail,(function(e){return{component:r.a,options:{model:e.model,lazyload:e.shouldLazyLoadThumbnail(),thumbnailOptions:{size:a.a.Small},appLink:{application:o.b.LIBRARY_EDITOR,action:o.a.LibraryEditor.VIDEO_DETAILS,args:[e.model.id]},channelName:e.channelName}}})),un(Jt,fn.Metadata,(function(e){return{component:L,options:{model:e.model,sourceMetadataOptions:e.options.sourceMetadataOptions}}})),un(Jt,fn.VideoActions,(function(e){return{component:Ye,options:{model:e.model,channelName:e.channelName,previewDisplayed:e.viewModel.get("previewOpen"),videoActionsOptions:{model:e.model,application:e.options.application,collectionIdentifier:e.options.collectionIdentifier,customerHasLocalCache:e.options.customerHasLocalCache,customerHasExchange:e.options.customerHasExchange,customerHasCustomLibrary:e.options.customerHasCustomLibrary,analyticsOptions:e.options.analyticsOptions,config:e.options.config,collectionSource:e.options.videoCollectionSource}}}})),un(Jt,fn.VideoInfo,dn),Jt)),un(en,pn.AwaitingReview,(Kt={},un(Kt,fn.Thumbnail,hn),un(Kt,fn.Metadata,(function(e){return{component:fe,options:{model:e.model,config:e.options.config}}})),un(Kt,fn.VideoActions,(function(e){return{component:it,options:{model:e.model,channelName:e.channelName,previewDisplayed:e.viewModel.get("previewOpen"),analyticsOptions:e.options.analyticsOptions}}})),un(Kt,fn.VideoInfo,gn),Kt)),un(en,pn.PastReleases,(Qt={},un(Qt,fn.Thumbnail,hn),un(Qt,fn.Metadata,(function(e){return{component:Se,options:{model:e.model,config:e.options.config}}})),un(Qt,fn.VideoInfo,gn),Qt)),un(en,pn.VideoAccess,($t={},un($t,fn.VideoActions,(function(e){return{component:ht,options:{model:e.model,channelName:e.channelName,previewDisplayed:e.viewModel.get("previewOpen"),analyticsOptions:e.options.analyticsOptions}}})),un($t,fn.Metadata,(function(e){return{component:Y,options:{model:e.model,config:e.options.config,sourceMetadataOptions:{showFolder:!0}}}})),un($t,fn.VideoInfo,(function(e){return f.x.hasCustomLibrary(e.model)?dn(e):gn(e)})),$t)),un(en,pn.ProcessingVideo,(Xt={},un(Xt,fn.Metadata,(function(e){return{component:oe,options:{model:e.model,pendingItems:e.options.pendingItems}}})),un(Xt,fn.VideoActions,(function(e){return{component:rn,options:{model:e.model,pendingItems:e.options.pendingItems,channelName:e.options.collectionViewChannel,analyticsOptions:e.options.analyticsOptions}}})),Xt)),un(en,pn.Draggable,{}),un(en,pn.Search,un({},fn.Metadata,(function(e){return{component:je,options:{model:e.model,sourceMetadataOptions:{showFolder:!0,highlight:!0}}}}))),en),onBeforeRender:(on={},un(on,pn.Base,(tn={},un(tn,fn.Checkbox,(function(e){return!!e.options.allowBulk})),un(tn,fn.VideoInfo,(function(e){return!!e.viewModel.get("previewOpen")})),tn)),un(on,pn.ProcessingVideo,(nn={},un(nn,fn.Checkbox,(function(){return!1})),un(nn,fn.VideoInfo,(function(){return!1})),nn)),on)}},1246:function(e,t,n){"use strict";var o=n(2),i=n(1),r=n(1223),a=n(1245),l=n(1247);var s,c,u,p=(s={},c=r.b.Draggable,u=function(e){return[{behaviorClass:l.a,collectionIdentifier:e.options.collectionIdentifier,model:e.options.model,selector:"drag-selector"}]},c in s?Object.defineProperty(s,c,{value:u,enumerable:!0,configurable:!0,writable:!0}):s[c]=u,s),f=n(20);n.d(t,"a",(function(){return g}));var h=r.b.Base,d=a.a,g={renderRegions:function(e,t){i.each(e.regions,(function(n,o){y.onBeforeRenderRegion(e,t,o)&&y.renderRegion(e,t,o)}))},onBeforeRenderRegion:function(e,t,n){var o=d.onBeforeRender[t];if(o||(o=d.onBeforeRender[h]),!o)return!0;var r=o[n];return!r||(!i.isFunction(r)||r(e))},renderRegion:function(e,t,n){var o=y.getComponent(e,t,n);e.showChildView(n,o)},getComponent:function(e,t,n){var i=d.componentOptions[t];i||o.a.ErrorHelper.throw(new f.a("Must define VideoItemComponent type options: ".concat(r.b[t],".")));var a=i[n];a||(a=d.componentOptions[h][n]),a||o.a.ErrorHelper.throw(new f.a("Must define VideoItemComponent region options: ".concat(n,".")));var l=a(e);return l.component||o.a.ErrorHelper.throw(new f.a("Must define component for region: ".concat(n,",\n in VideoItemComponent type: ").concat(r.b[t],"."))),new l.component(l.options||{})},getBehaviors:function(e,t){return p[t]?p[t](e):null}},y=g},1247:function(e,t,n){"use strict";n.d(t,"a",(function(){return C}));var o=n(1),i=n(6),r=n(2),a=n(20),l=n(15),s=n(0),c=n(12),u=n(3),p=n(1242),f=n(187),h=n(1250),d=n.n(h);function g(e){return(g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function y(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function v(e,t){return(v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function b(e){var t=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(e){return!1}}();return function(){var n,o=k(e);if(t){var i=k(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return w(this,n)}}function w(e,t){return!t||"object"!==g(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function k(e){return(k=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var C=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&v(e,t)}(w,e);var t,n,h,g=b(w);function w(){return y(this,w),g.apply(this,arguments)}return t=w,(n=[{key:"initialize",value:function(){this.options.model||r.a.ErrorHelper.throw(new a.a("DraggableVideoBehavior must be passed a Video model")),this.listenTo(s.w.VIDEO_DRAG_DROP,"drag:style:".concat(this.options.model.id),this.styleDragStart),this.listenTo(s.w.VIDEO_DRAG_DROP,"drag:stop",this.styleDragStop)}},{key:"helper",value:function(){var e=this.getVideoModels();return new p.b({text:e.length>1?u.a.getPhrase(this.lang,"videos",{videoCount:e.length}):e[0].get("name"),svg:l.a.getSvg(l.b.Play)}).render().el}},{key:"getSelector",value:function(){return this.view.getUI(this.options.selector)}},{key:"styleDragStart",value:function(){this.getSelector().addClass(d.a.draggingVideo)}},{key:"styleDragStop",value:function(){this.getSelector().removeClass(d.a.draggingVideo)}},{key:"start",value:function(){var e=this.getVideoModels(),t=i.Radio.channel(s.w.VIDEO_DRAG_DROP);t.trigger("drag:start",e,this.options.collectionIdentifier),o.each(e,(function(e){return t.trigger("drag:style:".concat(e.id))}))}},{key:"stop",value:function(){i.Radio.channel(s.w.VIDEO_DRAG_DROP).trigger("drag:stop")}},{key:"getVideoModels",value:function(){var e=this,t=c.a.GetSelectedModels({key:this.options.collectionIdentifier.toString(),type:f.CheckboxTypes.VIDEO_LIST,collection:this.view.model.collection});return o.any(t,(function(t){return t.id===e.view.model.id}))||(t=[this.view.model]),t.length?t:[this.view.model]}},{key:"getClassMappings",value:function(){return{"ui-draggable":p.c.draggable,"ui-draggable-disabled":p.c.disabled,"ui-draggable-handle":p.c.handle,"ui-draggable-dragging":p.c.dragging}}},{key:"onRender",value:function(){var e=this.getSelector(),t={helper:o.bind(this.helper,this),start:o.bind(this.start,this),stop:o.bind(this.stop,this)};t.classes=this.getClassMappings(),e.draggable(o.extend({},p.a,t))}},{key:"onBeforeDestroy",value:function(){var e=this.getSelector();e.draggable("instance")&&e.draggable("destroy")}},{key:"lang",get:function(){return"libraryEditor.behaviors"}}])&&m(t.prototype,n),h&&m(t,h),w}(r.a.Behavior)},1250:function(e,t,n){e.exports={draggingVideo:"_3cCHx"}},1251:function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var o=n(2),i=n(1237),r=n.n(i),a=n(12),l=n(1244);function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function c(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function p(e){var t=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(e){return!1}}();return function(){var n,o=h(e);if(t){var i=h(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return f(this,n)}}function f(e,t){return!t||"object"!==s(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var d=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}(s,e);var t,n,o,i=p(s);function s(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),i.call(this,e)}return t=s,(n=[{key:"initialize",value:function(){if(this.getViewModel(),this.bindListeners(),this.options.checked){var e=this.getItemId();this.model.set(e,!0,{silent:!0})}}},{key:"getViewModel",value:function(){this.model=a.a.GetViewModel(this.options.key,this.options.type)}},{key:"bindListeners",value:function(){this.options.disabled||this.listenTo(this.model,"change:all change:".concat(this.getItemId()),this.render)}},{key:"events",value:function(){return{"click .custom-checkbox":"onClickCheckbox","change .custom-control-input":"onChangeCheckbox"}}},{key:"getItemId",value:function(){return this.options.itemId.toString()}},{key:"onClickCheckbox",value:function(e){e.stopPropagation()}},{key:"onChangeCheckbox",value:function(){if(!this.options.disabled){var e=this.getItemId();this.model.has(e)||this.model.get("all")?!1===this.model.get(e)?this.model.set(e,!0):(this.model.set(e,!1),this.model.set(l.a,!1)):this.model.set(e,!0)}}},{key:"viewOptions",value:function(){var e=this.getItemId();return{id:e,checked:this.model.has(e)?this.model.get(e):this.model.get("all"),disabled:this.options.disabled,checkboxClassName:this.options.checkboxClassName}}},{key:"name",get:function(){return"CheckboxComponent"}},{key:"className",get:function(){return this.options.className}},{key:"template",get:function(){return r.a}}])&&c(t.prototype,n),o&&c(t,o),s}(o.a.Component)},1257:function(e,t,n){var o=n(10);e.exports=(o.default||o).template({1:function(e,t,n,o,i){e.propertyIsEnumerable;var r,a=e.escapeExpression;return' <span class="badge p-1 '+a(e.lambda(null!=(r=null!=(r=null!=t?t.options:t)?r.styles:r)?r.interactive:r,t))+'">'+a((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"interactive",{name:"lang",hash:{},data:i}))+"</span>\r\n"},3:function(e,t,n,o,i){e.propertyIsEnumerable;var r,a=e.lambda,l=e.escapeExpression;return' <span class="badge p-1 tool-tip '+l(a(null!=(r=null!=(r=null!=t?t.options:t)?r.styles:r)?r.rating:r,t))+" "+l(a(null!=(r=null!=t?t.options:t)?r.ratingColorClass:r,t))+'" title="'+l(a(null!=(r=null!=t?t.rating:t)?r.name:r,t))+'">'+l(a(null!=(r=null!=t?t.rating:t)?r.code:r,t))+"</span>\r\n"},5:function(e,t,n,o,i){e.propertyIsEnumerable;var r,a=e.lambda;return' <span class="d-inline-block tool-tip '+e.escapeExpression(a(null!=(r=null!=(r=null!=t?t.options:t)?r.styles:r)?r.svgContainer:r,t))+'" title="Subtitles">'+(null!=(r=a(null!=(r=null!=t?t.options:t)?r.closeCaptionSvg:r,t))?r:"")+"</span>\r\n"},7:function(e,t,n,o,i){e.propertyIsEnumerable;var r,a=e.lambda;return' <span class="d-inline-block tool-tip '+e.escapeExpression(a(null!=(r=null!=(r=null!=t?t.options:t)?r.styles:r)?r.svgContainer:r,t))+'" title="Resources">'+(null!=(r=a(null!=(r=null!=t?t.options:t)?r.resourcesSvg:r,t))?r:"")+"</span>\r\n"},9:function(e,t,n,o,i){e.propertyIsEnumerable;var r,a=e.lambda,l=e.escapeExpression;return' <span class="badge p-1 '+l(a(null!=(r=null!=t?t.options:t)?r.awaitingReviewBadgeClass:r,t))+'">'+l(a(null!=(r=null!=t?t.options:t)?r.awaitingReviewMsg:r,t))+"</span>\r\n"},11:function(e,t,n,o,i){e.propertyIsEnumerable;var r,a=e.lambda,l=e.escapeExpression;return' <span class="badge p-1 '+l(a(null!=(r=null!=(r=null!=t?t.options:t)?r.styles:r)?r.restrictionBadgeClass:r,t))+'">'+l(a(null!=(r=null!=t?t.options:t)?r.restrictionMessage:r,t))+"</span>\r\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,o,i){e.propertyIsEnumerable;var r,a=null!=t?t:e.nullContext||{};return'<div class="mt-1 '+e.escapeExpression(e.lambda(null!=(r=null!=(r=null!=t?t.options:t)?r.styles:r)?r.badgesWrapper:r,t))+'">\r\n'+(null!=(r=n.if.call(a,null!=(r=null!=t?t.options:t)?r.interactive:r,{name:"if",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i}))?r:"")+"\r\n"+(null!=(r=n.if.call(a,null!=(r=null!=t?t.rating:t)?r.code:r,{name:"if",hash:{},fn:e.program(3,i,0),inverse:e.noop,data:i}))?r:"")+"\r\n"+(null!=(r=n.if.call(a,null!=(r=null!=t?t.options:t)?r.subtitles:r,{name:"if",hash:{},fn:e.program(5,i,0),inverse:e.noop,data:i}))?r:"")+"\r\n"+(null!=(r=n.if.call(a,null!=(r=null!=t?t.options:t)?r.resources:r,{name:"if",hash:{},fn:e.program(7,i,0),inverse:e.noop,data:i}))?r:"")+"\r\n"+(null!=(r=n.if.call(a,null!=(r=null!=t?t.options:t)?r.awaitingReviewMsg:r,{name:"if",hash:{},fn:e.program(9,i,0),inverse:e.noop,data:i}))?r:"")+"\r\n"+(null!=(r=n.if.call(a,null!=(r=null!=t?t.options:t)?r.restrictionMessage:r,{name:"if",hash:{},fn:e.program(11,i,0),inverse:e.noop,data:i}))?r:"")+"</div>"},useData:!0})},1258:function(e,t,n){e.exports={interactive:"_37GpR",rating:"_2lAYT",svgContainer:"_19ncQ",badgesWrapper:"_26lCi",restrictionBadgeClass:"UdQeS",reviewBadge:"ExFLF",urgentReviewBadge:"_3dcfL"}},1259:function(e,t,n){var o=n(10);e.exports=(o.default||o).template({1:function(e,t,n,o,i){e.propertyIsEnumerable;var r,a=e.lambda,l=e.escapeExpression;return' <span class="d-inline-block ml-1 tool-tip '+l(a(null!=(r=null!=(r=null!=t?t.options:t)?r.styles:r)?r.svgContainer:r,t))+'" title="'+l(a(null!=(r=null!=t?t.options:t)?r.restrictionMessage:r,t))+'">'+(null!=(r=a(null!=(r=null!=t?t.options:t)?r.lockSvg:r,t))?r:"")+"</span>\r\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,o,i){e.propertyIsEnumerable;var r,a,l=null!=t?t:e.nullContext||{};return'<div class="series-region"></div>\r\n<a class="cursor-pointer applink-show-video h6 text-dark">'+e.escapeExpression("function"==typeof(a=null!=(a=n.name||(null!=t?t.name:t))?a:e.hooks.helperMissing)?a.call(l,{name:"name",hash:{},data:i}):a)+"</a>\r\n"+(null!=(r=n.if.call(l,null!=(r=null!=t?t.options:t)?r.hasAdminRestriction:r,{name:"if",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i}))?r:"")+'<div class="sources-region"></div>\r\n<div class="badges-region"></div>'},useData:!0})},1260:function(e,t,n){var o=n(10);e.exports=(o.default||o).template({1:function(e,t,n,o,i){e.propertyIsEnumerable;var r,a,l=e.lambda,s=e.escapeExpression;return'<a class="cursor-pointer h6 video-title text-dark" href="'+s(l(null!=(r=null!=t?t.options:t)?r.videoUrl:r,t))+'" target="_blank">'+s("function"==typeof(a=null!=(a=n.name||(null!=t?t.name:t))?a:e.hooks.helperMissing)?a.call(null!=t?t:e.nullContext||{},{name:"name",hash:{},data:i}):a)+'</a>\r\n<a class="svg-container d-inline-block align-bottom text-muted no-decoration" href="'+s(l(null!=(r=null!=t?t.options:t)?r.videoUrl:r,t))+'" target="_blank">'+(null!=(r=l(null!=(r=null!=t?t.options:t)?r.openExternalSvg:r,t))?r:"")+"</a>\r\n"},3:function(e,t,n,o,i){var r;e.propertyIsEnumerable;return'<a class="cursor-pointer applink-show-video h6">'+e.escapeExpression("function"==typeof(r=null!=(r=n.name||(null!=t?t.name:t))?r:e.hooks.helperMissing)?r.call(null!=t?t:e.nullContext||{},{name:"name",hash:{},data:i}):r)+"</a>\r\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,o,i){e.propertyIsEnumerable;var r,a=e.lambda,l=e.escapeExpression;return'<div class="series-region"></div>\r\n'+(null!=(r=n.if.call(null!=t?t:e.nullContext||{},null!=(r=null!=t?t.options:t)?r.linkToOnline:r,{name:"if",hash:{},fn:e.program(1,i,0),inverse:e.program(3,i,0),data:i}))?r:"")+'<span class="d-inline-block ml-1 tool-tip '+l(a(null!=(r=null!=(r=null!=t?t.options:t)?r.styles:r)?r.lock:r,t))+" "+l(a(null!=(r=null!=(r=null!=t?t.options:t)?r.styles:r)?r.svgContainer:r,t))+'" title="'+l(a(null!=(r=null!=t?t.options:t)?r.restrictionMessage:r,t))+'">'+(null!=(r=a(null!=(r=null!=t?t.options:t)?r.lockSvg:r,t))?r:"")+'</span>\r\n<div class="sources-region"></div>\r\n<div class="badges-region"></div>'},useData:!0})},1261:function(e,t,n){var o=n(10);e.exports=(o.default||o).template({1:function(e,t,n,o,i){e.propertyIsEnumerable;var r,a=e.lambda;return' <span class="d-inline-block align-middle ml-1 '+e.escapeExpression(a(null!=(r=null!=(r=null!=t?t.options:t)?r.styles:r)?r.lockSvgContainer:r,t))+'">'+(null!=(r=a(null!=(r=null!=t?t.options:t)?r.lockSvg:r,t))?r:"")+"</span>\r\n"},3:function(e,t,n,o,i){return"text-danger"},5:function(e,t,n,o,i){var r;e.propertyIsEnumerable;return" "+e.escapeExpression(e.lambda(null!=(r=null!=t?t.options:t)?r.status:r,t))+"\r\n"},7:function(e,t,n,o,i){e.propertyIsEnumerable;return" "+e.escapeExpression((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"waiting",{name:"lang",hash:{},data:i}))+"\r\n"},9:function(e,t,n,o,i){e.propertyIsEnumerable;return" <br><i>"+e.escapeExpression((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"anotherAdmin",{name:"lang",hash:{},data:i}))+"</i>\r\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,o,i){e.propertyIsEnumerable;var r,a,l=null!=t?t:e.nullContext||{};return'<a class="applink-show-video h6 text-dark">'+e.escapeExpression("function"==typeof(a=null!=(a=n.name||(null!=t?t.name:t))?a:e.hooks.helperMissing)?a.call(l,{name:"name",hash:{},data:i}):a)+"</a>\r\n"+(null!=(r=n.if.call(l,null!=(r=null!=t?t.options:t)?r.hasAdminRestriction:r,{name:"if",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i}))?r:"")+'<div class="processing '+(null!=(r=n.if.call(l,null!=(r=null!=t?t.options:t)?r.hasError:r,{name:"if",hash:{},fn:e.program(3,i,0),inverse:e.noop,data:i}))?r:"")+'">\r\n'+(null!=(r=n.if.call(l,null!=(r=null!=t?t.options:t)?r.hasPendingItem:r,{name:"if",hash:{},fn:e.program(5,i,0),inverse:e.program(7,i,0),data:i}))?r:"")+(null!=(r=n.unless.call(l,null!=(r=null!=t?t.options:t)?r.hasPendingItem:r,{name:"unless",hash:{},fn:e.program(9,i,0),inverse:e.noop,data:i}))?r:"")+"</div>"},useData:!0})},1262:function(e,t,n){var o=n(10);e.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,o,i){e.propertyIsEnumerable;var r,a,l=e.lambda,s=e.escapeExpression;return'<div class="series-region"></div>\r\n<a class="cursor-pointer h6 video-title text-dark" href="'+s(l(null!=(r=null!=t?t.options:t)?r.videoUrl:r,t))+'" target="_blank">'+s("function"==typeof(a=null!=(a=n.name||(null!=t?t.name:t))?a:e.hooks.helperMissing)?a.call(null!=t?t:e.nullContext||{},{name:"name",hash:{},data:i}):a)+'</a>\r\n<a class="svg-container d-inline-block align-bottom text-muted no-decoration" href="'+s(l(null!=(r=null!=t?t.options:t)?r.videoUrl:r,t))+'" target="_blank">'+(null!=(r=l(null!=(r=null!=t?t.options:t)?r.openExternalSvg:r,t))?r:"")+'</a>\r\n<div class="badges-region"></div>'},useData:!0})},1263:function(e,t,n){var o=n(10);e.exports=(o.default||o).template({1:function(e,t,n,o,i){e.propertyIsEnumerable;var r,a=e.lambda,l=e.escapeExpression;return' <span class="d-inline-block svg-container align-bottom tool-tip '+l(a(null!=(r=null!=(r=null!=t?t.options:t)?r.styles:r)?r.lock:r,t))+'" title="'+l(a(null!=(r=null!=t?t.options:t)?r.restrictionMessage:r,t))+'">'+(null!=(r=a(null!=(r=null!=t?t.options:t)?r.lockSvg:r,t))?r:"")+"</span>\r\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,o,i){e.propertyIsEnumerable;var r,a,l=e.lambda,s=e.escapeExpression,c=null!=t?t:e.nullContext||{};return'<div class="series-region"></div>\r\n<a class="cursor-pointer h6 video-title text-dark" href="'+s(l(null!=(r=null!=t?t.options:t)?r.videoUrl:r,t))+'" target="_blank">'+s("function"==typeof(a=null!=(a=n.name||(null!=t?t.name:t))?a:e.hooks.helperMissing)?a.call(c,{name:"name",hash:{},data:i}):a)+'</a>\r\n<a class="svg-container d-inline-block align-bottom text-muted no-decoration" href="'+s(l(null!=(r=null!=t?t.options:t)?r.videoUrl:r,t))+'" target="_blank">'+(null!=(r=l(null!=(r=null!=t?t.options:t)?r.openExternalSvg:r,t))?r:"")+"</a>\r\n"+(null!=(r=n.if.call(c,null!=(r=null!=t?t.options:t)?r.hasAdminRestriction:r,{name:"if",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i}))?r:"")+'<div class="badges-region"></div>'},useData:!0})},1264:function(e,t,n){e.exports={series:"P3914"}},1265:function(e,t,n){var o=n(10);e.exports=(o.default||o).template({1:function(e,t,n,o,i){e.propertyIsEnumerable;var r,a=e.lambda,l=e.escapeExpression;return' <span class="d-inline-block ml-1 tool-tip '+l(a(null!=(r=null!=(r=null!=t?t.options:t)?r.styles:r)?r.svgContainer:r,t))+'" title="'+l(a(null!=(r=null!=t?t.options:t)?r.restrictionMessage:r,t))+'">'+(null!=(r=a(null!=(r=null!=t?t.options:t)?r.lockSvg:r,t))?r:"")+"</span>\r\n"},3:function(e,t,n,o,i){var r;return' <span class="d-block pt-1">'+(null!=(r=e.lambda(t,t))?r:"")+"</span>\r\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,o,i){e.propertyIsEnumerable;var r,a=null!=t?t:e.nullContext||{};return'<div class="series-region"></div>\r\n<a class="cursor-pointer applink-show-video h6 text-dark">'+(null!=(r=e.lambda(null!=(r=null!=t?t.options:t)?r.name:r,t))?r:"")+"</a>\r\n"+(null!=(r=n.if.call(a,null!=(r=null!=t?t.options:t)?r.hasAdminRestriction:r,{name:"if",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i}))?r:"")+'<div class="sources-region"></div>\r\n<div class="badges-region"></div>\r\n'+(null!=(r=n.each.call(a,null!=(r=null!=t?t.options:t)?r.keyPhrases:r,{name:"each",hash:{},fn:e.program(3,i,0),inverse:e.noop,data:i}))?r:"")},useData:!0})},1266:function(e,t,n){var o=n(10);e.exports=(o.default||o).template({1:function(e,t,n,o,i){e.propertyIsEnumerable;return e.escapeExpression((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"hide",{name:"lang",hash:{},data:i}))},3:function(e,t,n,o,i){e.propertyIsEnumerable;return e.escapeExpression((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"show",{name:"lang",hash:{},data:i}))},compiler:[8,">= 4.3.0"],main:function(e,t,n,o,i){e.propertyIsEnumerable;var r,a=e.lambda,l=e.escapeExpression,s=null!=t?t:e.nullContext||{};return'<div class="video-actions-region row no-gutters video-item-actions '+l(a(null!=(r=null!=(r=null!=t?t.options:t)?r.styles:r)?r.actions:r,t))+'"></div>\r\n<div class="row no-gutters cursor-pointer video-item-show-preview '+l(a(null!=(r=null!=(r=null!=t?t.options:t)?r.styles:r)?r.showPreview:r,t))+'">\r\n <span class="svg-container">'+(null!=(r=a(null!=(r=null!=t?t.options:t)?r.previewSvg:r,t))?r:"")+"</span>\r\n "+(null!=(r=n.if.call(s,null!=(r=null!=t?t.options:t)?r.previewDisplayed:r,{name:"if",hash:{},fn:e.program(1,i,0),inverse:e.program(3,i,0),data:i}))?r:"")+" "+l((n.lang||t&&t.lang||e.hooks.helperMissing).call(s,"preview",{name:"lang",hash:{},data:i}))+"\r\n</div>"},useData:!0})},1267:function(e,t,n){var o=n(10);e.exports=(o.default||o).template({1:function(e,t,n,o,i){e.propertyIsEnumerable;return e.escapeExpression((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"hide",{name:"lang",hash:{},data:i}))},3:function(e,t,n,o,i){e.propertyIsEnumerable;return e.escapeExpression((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"show",{name:"lang",hash:{},data:i}))},compiler:[8,">= 4.3.0"],main:function(e,t,n,o,i){e.propertyIsEnumerable;var r,a=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,s=e.escapeExpression,c=e.lambda;return'<button class="approve d-flex btn btn-sm btn-outline-success" type="button">'+s((n.lang||t&&t.lang||l).call(a,"approve",{name:"lang",hash:{},data:i}))+'</button>\r\n<a class="applink-manage-video-access cursor-pointer hover-text-underline py-1">'+(null!=(r=(n.lang||t&&t.lang||l).call(a,"manageAccess",{name:"lang",hash:{},data:i}))?r:"")+'</a> \r\n<div class="row no-gutters cursor-pointer video-item-show-preview '+s(c(null!=(r=null!=(r=null!=t?t.options:t)?r.styles:r)?r.showPreview:r,t))+'"> \r\n <span class="svg-container">'+(null!=(r=c(null!=(r=null!=t?t.options:t)?r.previewSvg:r,t))?r:"")+"</span> \r\n "+(null!=(r=n.if.call(a,null!=(r=null!=t?t.options:t)?r.previewDisplayed:r,{name:"if",hash:{},fn:e.program(1,i,0),inverse:e.program(3,i,0),data:i}))?r:"")+" "+s((n.lang||t&&t.lang||l).call(a,"preview",{name:"lang",hash:{},data:i}))+"\r\n</div> "},useData:!0})},1268:function(e,t,n){var o=n(10);e.exports=(o.default||o).template({1:function(e,t,n,o,i){e.propertyIsEnumerable;return e.escapeExpression((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"hide",{name:"lang",hash:{},data:i}))},3:function(e,t,n,o,i){e.propertyIsEnumerable;return e.escapeExpression((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"show",{name:"lang",hash:{},data:i}))},compiler:[8,">= 4.3.0"],main:function(e,t,n,o,i){e.propertyIsEnumerable;var r,a=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,s=e.escapeExpression,c=e.lambda;return'<button class="applink-manage-video-access d-flex btn btn-sm btn-secondary" type="button">'+s((n.lang||t&&t.lang||l).call(a,"manageAccess",{name:"lang",hash:{},data:i}))+'</button>\r\n<div class="row no-gutters cursor-pointer video-item-show-preview '+s(c(null!=(r=null!=(r=null!=t?t.options:t)?r.styles:r)?r.showPreview:r,t))+'">\r\n <span class="svg-container">'+(null!=(r=c(null!=(r=null!=t?t.options:t)?r.previewSvg:r,t))?r:"")+"</span>\r\n "+(null!=(r=n.if.call(a,null!=(r=null!=t?t.options:t)?r.previewDisplayed:r,{name:"if",hash:{},fn:e.program(1,i,0),inverse:e.program(3,i,0),data:i}))?r:"")+" "+s((n.lang||t&&t.lang||l).call(a,"preview",{name:"lang",hash:{},data:i}))+"\r\n</div>"},useData:!0})},1270:function(e,t,n){var o=n(10);e.exports=(o.default||o).template({1:function(e,t,n,o,i){var r;e.propertyIsEnumerable;return' <a class="info-link show-more-tags">'+e.escapeExpression(e.lambda(null!=(r=null!=t?t.options:t)?r.extraTagsText:r,t))+"</a>\r\n"},3:function(e,t,n,o,i){e.propertyIsEnumerable;return' <a class="info-link applink-video-details">'+e.escapeExpression((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"viewAllTags",{name:"lang",hash:{},data:i}))+"</a>\r\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,o,i){e.propertyIsEnumerable;var r,a=null!=t?t:e.nullContext||{};return'<div class="tags-region"></div>\r\n\r\n'+(null!=(r=n.if.call(a,null!=(r=null!=t?t.options:t)?r.expandable:r,{name:"if",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i}))?r:"")+(null!=(r=n.if.call(a,null!=(r=null!=t?t.options:t)?r.moreTags:r,{name:"if",hash:{},fn:e.program(3,i,0),inverse:e.noop,data:i}))?r:"")},useData:!0})},1271:function(e,t,n){var o=n(10);e.exports=(o.default||o).template({1:function(e,t,n,o,i){e.propertyIsEnumerable;return" <p>"+e.escapeExpression((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"noDescription",{name:"lang",hash:{},data:i}))+"</p>\r\n"},3:function(e,t,n,o,i){return' <div class="description-region"></div>\r\n'},5:function(e,t,n,o,i){e.propertyIsEnumerable;var r,a=e.lambda,l=e.escapeExpression;return' <div class="col-6 pb-1 '+l(a(null!=(r=null!=(r=null!=t?t.options:t)?r.styles:r)?r.columnNames:r,t))+'">'+l((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"rating",{name:"lang",hash:{},data:i}))+'</div>\r\n <div class="col-6 mb-0 pb-1">\r\n <span class="badge p-1 text-white tool-tip '+l(a(null!=(r=null!=t?t.options:t)?r.ratingClass:r,t))+'" title="'+l(a(null!=(r=null!=t?t.rating:t)?r.name:r,t))+'">'+l(a(null!=(r=null!=t?t.rating:t)?r.code:r,t))+"</span>\r\n </div>\r\n"},7:function(e,t,n,o,i){e.propertyIsEnumerable;var r,a,l=e.escapeExpression,s=null!=t?t:e.nullContext||{},c=e.hooks.helperMissing;return' <div class="col-6 py-1 '+l(e.lambda(null!=(r=null!=(r=null!=t?t.options:t)?r.styles:r)?r.columnNames:r,t))+'">'+l((n.lang||t&&t.lang||c).call(s,"productionYear",{name:"lang",hash:{},data:i}))+'</div>\r\n <p class="col-6 mb-0 py-1">'+l("function"==typeof(a=null!=(a=n.productionYear||(null!=t?t.productionYear:t))?a:c)?a.call(s,{name:"productionYear",hash:{},data:i}):a)+"</p>\r\n"},9:function(e,t,n,o,i){e.propertyIsEnumerable;var r,a=e.lambda,l=e.escapeExpression,s=null!=t?t:e.nullContext||{};return' <div class="col-6 py-1 '+l(a(null!=(r=null!=(r=null!=t?t.options:t)?r.styles:r)?r.columnNames:r,t))+'">'+l((n.lang||t&&t.lang||e.hooks.helperMissing).call(s,"chapters",{name:"lang",hash:{},data:i}))+'</div>\r\n <a\r\n class="col-6 info-link mb-0 py-1 '+(null!=(r=n.unless.call(s,null!=(r=null!=t?t.options:t)?r.externalLink:r,{name:"unless",hash:{},fn:e.program(10,i,0),inverse:e.noop,data:i}))?r:"")+'"\r\n'+(null!=(r=n.if.call(s,null!=(r=null!=t?t.options:t)?r.externalLink:r,{name:"if",hash:{},fn:e.program(12,i,0),inverse:e.noop,data:i}))?r:"")+" >\r\n "+l(a(null!=(r=null!=t?t.options:t)?r.chapters:r,t))+"\r\n "+(null!=(r=n.if.call(s,null!=(r=null!=t?t.options:t)?r.externalLink:r,{name:"if",hash:{},fn:e.program(14,i,0),inverse:e.noop,data:i}))?r:"")+"\r\n </a>\r\n"},10:function(e,t,n,o,i){return"applink-video-details"},12:function(e,t,n,o,i){var r;e.propertyIsEnumerable;return' href="'+e.escapeExpression(e.lambda(null!=(r=null!=t?t.options:t)?r.externalLink:r,t))+'"\r\n target="_blank"\r\n'},14:function(e,t,n,o,i){e.propertyIsEnumerable;var r,a=e.lambda;return'<div class="d-inline-block '+e.escapeExpression(a(null!=(r=null!=(r=null!=t?t.options:t)?r.styles:r)?r.smallSvgContainer:r,t))+'">'+(null!=(r=a(null!=(r=null!=t?t.options:t)?r.openExternalSvg:r,t))?r:"")+"</div>"},16:function(e,t,n,o,i){e.propertyIsEnumerable;var r,a=e.lambda,l=e.escapeExpression;return' <div class="col-6 py-1 '+l(a(null!=(r=null!=(r=null!=t?t.options:t)?r.styles:r)?r.columnNames:r,t))+'">'+l((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"interactives",{name:"lang",hash:{},data:i}))+'</div>\r\n <p class="col-6 mb-0 py-1">'+l(a(null!=(r=null!=t?t.options:t)?r.interactives:r,t))+"</p>\r\n"},18:function(e,t,n,o,i){e.propertyIsEnumerable;var r,a=e.lambda,l=e.escapeExpression;return' <div class="col-6 py-1 '+l(a(null!=(r=null!=(r=null!=t?t.options:t)?r.styles:r)?r.columnNames:r,t))+'">'+l((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"subtitles",{name:"lang",hash:{},data:i}))+'</div>\r\n <p class="col-6 mb-0 py-1">'+l(a(null!=(r=null!=t?t.options:t)?r.subtitles:r,t))+"</p>\r\n"},20:function(e,t,n,o,i){e.propertyIsEnumerable;var r,a=e.lambda,l=e.escapeExpression,s=null!=t?t:e.nullContext||{};return' <div class="col-6 py-1 '+l(a(null!=(r=null!=(r=null!=t?t.options:t)?r.styles:r)?r.columnNames:r,t))+'">'+l((n.lang||t&&t.lang||e.hooks.helperMissing).call(s,"resources",{name:"lang",hash:{},data:i}))+'</div>\r\n <a\r\n class="col-6 info-link mb-0 py-1 '+(null!=(r=n.unless.call(s,null!=(r=null!=t?t.options:t)?r.externalLink:r,{name:"unless",hash:{},fn:e.program(10,i,0),inverse:e.noop,data:i}))?r:"")+'"\r\n'+(null!=(r=n.if.call(s,null!=(r=null!=t?t.options:t)?r.externalLink:r,{name:"if",hash:{},fn:e.program(12,i,0),inverse:e.noop,data:i}))?r:"")+" >\r\n "+l(a(null!=(r=null!=t?t.options:t)?r.resources:r,t))+"\r\n "+(null!=(r=n.if.call(s,null!=(r=null!=t?t.options:t)?r.externalLink:r,{name:"if",hash:{},fn:e.program(14,i,0),inverse:e.noop,data:i}))?r:"")+"\r\n </a>\r\n"},22:function(e,t,n,o,i){e.propertyIsEnumerable;var r,a=e.lambda,l=e.escapeExpression,s=null!=t?t:e.nullContext||{};return' <div class="col-6 py-1 '+l(a(null!=(r=null!=(r=null!=t?t.options:t)?r.styles:r)?r.columnNames:r,t))+'">'+l((n.lang||t&&t.lang||e.hooks.helperMissing).call(s,"links",{name:"lang",hash:{},data:i}))+'</div>\r\n <a\r\n class="col-6 info-link mb-0 py-1 '+(null!=(r=n.unless.call(s,null!=(r=null!=t?t.options:t)?r.externalLink:r,{name:"unless",hash:{},fn:e.program(10,i,0),inverse:e.noop,data:i}))?r:"")+'"\r\n'+(null!=(r=n.if.call(s,null!=(r=null!=t?t.options:t)?r.externalLink:r,{name:"if",hash:{},fn:e.program(12,i,0),inverse:e.noop,data:i}))?r:"")+" >\r\n "+l(a(null!=(r=null!=t?t.options:t)?r.links:r,t))+"\r\n "+(null!=(r=n.if.call(s,null!=(r=null!=t?t.options:t)?r.externalLink:r,{name:"if",hash:{},fn:e.program(14,i,0),inverse:e.noop,data:i}))?r:"")+"\r\n </a>\r\n"},24:function(e,t,n,o,i){e.propertyIsEnumerable;var r,a=e.escapeExpression;return' <div class="py-1 '+a(e.lambda(null!=(r=null!=(r=null!=t?t.options:t)?r.styles:r)?r.columnNames:r,t))+'">'+a((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"tags",{name:"lang",hash:{},data:i}))+'</div>\r\n <div class="tags-region"></div>\r\n <div class="col-12">&nbsp;</div>\r\n'},26:function(e,t,n,o,i){e.propertyIsEnumerable;var r,a=e.lambda,l=e.escapeExpression;return' <a href="'+l(a(null!=(r=null!=t?t.options:t)?r.externalLink:r,t))+'" target="_blank" class="info-link d-inline-block pt-3 '+l(a(null!=(r=null!=(r=null!=t?t.options:t)?r.styles:r)?r.columnNames:r,t))+'">\r\n '+l((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"goToVideo",{name:"lang",hash:{},data:i}))+'\r\n <div class="d-inline-block svg-container">'+(null!=(r=a(null!=(r=null!=t?t.options:t)?r.openExternalSvg:r,t))?r:"")+"</div>\r\n </a>\r\n"},28:function(e,t,n,o,i){e.propertyIsEnumerable;var r,a=e.escapeExpression;return' <a class="info-link applink-video-details d-inline-block pt-3 '+a(e.lambda(null!=(r=null!=(r=null!=t?t.options:t)?r.styles:r)?r.columnNames:r,t))+'">'+a((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"viewFullDetails",{name:"lang",hash:{},data:i}))+"</a>\r\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,o,i){e.propertyIsEnumerable;var r,a=e.lambda,l=e.escapeExpression,s=null!=t?t:e.nullContext||{},c=e.hooks.helperMissing;return'<div class="content-container-region row w-100 pl-0">\r\n <div class="col-8 border-right pt-3">\r\n <p class="text-uppercase text-muted '+l(a(null!=(r=null!=(r=null!=t?t.options:t)?r.styles:r)?r.columnNames:r,t))+'">'+l((n.lang||t&&t.lang||c).call(s,"description",{name:"lang",hash:{},data:i}))+"</p>\r\n \r\n"+(null!=(r=n.unless.call(s,null!=(r=null!=t?t.options:t)?r.description:r,{name:"unless",hash:{},fn:e.program(1,i,0),inverse:e.program(3,i,0),data:i}))?r:"")+' \r\n <div class="video-preview-region col-7 my-3 pl-0"></div>\r\n </div>\r\n <div class="col-4 my-3 pr-0 pl-3">\r\n <p class="text-uppercase text-muted '+l(a(null!=(r=null!=(r=null!=t?t.options:t)?r.styles:r)?r.columnNames:r,t))+'">'+l((n.lang||t&&t.lang||c).call(s,"details",{name:"lang",hash:{},data:i}))+'</p>\r\n\r\n <div class="row">\r\n'+(null!=(r=n.if.call(s,null!=(r=null!=t?t.rating:t)?r.code:r,{name:"if",hash:{},fn:e.program(5,i,0),inverse:e.noop,data:i}))?r:"")+"\r\n"+(null!=(r=n.if.call(s,null!=t?t.productionYear:t,{name:"if",hash:{},fn:e.program(7,i,0),inverse:e.noop,data:i}))?r:"")+'\r\n <div class="col-6 py-1 '+l(a(null!=(r=null!=(r=null!=t?t.options:t)?r.styles:r)?r.columnNames:r,t))+'">'+l((n.lang||t&&t.lang||c).call(s,"duration",{name:"lang",hash:{},data:i}))+'</div>\r\n <p class="col-6 mb-0 py-1">'+l(a(null!=(r=null!=t?t.options:t)?r.duration:r,t))+"</p>\r\n\r\n"+(null!=(r=n.if.call(s,null!=(r=null!=t?t.options:t)?r.chapters:r,{name:"if",hash:{},fn:e.program(9,i,0),inverse:e.noop,data:i}))?r:"")+"\r\n"+(null!=(r=n.if.call(s,null!=(r=null!=t?t.options:t)?r.interactives:r,{name:"if",hash:{},fn:e.program(16,i,0),inverse:e.noop,data:i}))?r:"")+"\r\n"+(null!=(r=n.if.call(s,null!=(r=null!=t?t.options:t)?r.subtitles:r,{name:"if",hash:{},fn:e.program(18,i,0),inverse:e.noop,data:i}))?r:"")+"\r\n"+(null!=(r=n.if.call(s,null!=(r=null!=t?t.options:t)?r.resources:r,{name:"if",hash:{},fn:e.program(20,i,0),inverse:e.noop,data:i}))?r:"")+"\r\n"+(null!=(r=n.if.call(s,null!=(r=null!=t?t.options:t)?r.links:r,{name:"if",hash:{},fn:e.program(22,i,0),inverse:e.noop,data:i}))?r:"")+" </div>\r\n\r\n"+(null!=(r=n.if.call(s,null!=(r=null!=t?t.options:t)?r.showTags:r,{name:"if",hash:{},fn:e.program(24,i,0),inverse:e.noop,data:i}))?r:"")+"\r\n"+(null!=(r=n.if.call(s,null!=(r=null!=t?t.options:t)?r.externalLink:r,{name:"if",hash:{},fn:e.program(26,i,0),inverse:e.program(28,i,0),data:i}))?r:"")+" </div>\r\n</div>"},useData:!0})},1272:function(e,t,n){e.exports={columnNames:"QvhY0",smallSvgContainer:"_2qax8"}},1273:function(e,t,n){var o=n(10);e.exports=(o.default||o).template({1:function(e,t,n,o,i){e.propertyIsEnumerable;return' <button class="btn btn-light retry">'+e.escapeExpression((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"retry",{name:"lang",hash:{},data:i}))+"</button>\r\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,o,i){e.propertyIsEnumerable;var r,a=null!=t?t:e.nullContext||{};return"<div>\r\n"+(null!=(r=n.if.call(a,null!=(r=null!=t?t.options:t)?r.hasError:r,{name:"if",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i}))?r:"")+' <button class="btn btn-light cancel">'+e.escapeExpression((n.lang||t&&t.lang||e.hooks.helperMissing).call(a,"cancel",{name:"lang",hash:{},data:i}))+"</button>\r\n</div>\r\n"},useData:!0})},1274:function(e,t,n){var o=n(10);e.exports=(o.default||o).template({1:function(e,t,n,o,i){return" cursor-pointer"},3:function(e,t,n,o,i){var r;e.propertyIsEnumerable;return' <div class="bulk-checkbox-region '+(null!=(r=n.if.call(null!=t?t:e.nullContext||{},null!=(r=null!=t?t.options:t)?r.bulkPlaceholder:r,{name:"if",hash:{},fn:e.program(4,i,0),inverse:e.noop,data:i}))?r:"")+'"></div>\r\n'},4:function(e,t,n,o,i){var r;e.propertyIsEnumerable;return e.escapeExpression(e.lambda(null!=(r=null!=(r=null!=t?t.options:t)?r.styles:r)?r.bulkPlaceholder:r,t))},compiler:[8,">= 4.3.0"],main:function(e,t,n,o,i){e.propertyIsEnumerable;var r,a=e.lambda,l=e.escapeExpression,s=null!=t?t:e.nullContext||{};return'<div class="d-flex justify-content-between align-items-stretch p-3 drag-item '+l(a(null!=(r=null!=(r=null!=t?t.options:t)?r.styles:r)?r.videoItem:r,t))+(null!=(r=n.if.call(s,null!=(r=null!=t?t.options:t)?r.isClickable:r,{name:"if",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i}))?r:"")+'">\r\n'+(null!=(r=n.if.call(s,null!=(r=null!=t?t.options:t)?r.allowBulk:r,{name:"if",hash:{},fn:e.program(3,i,0),inverse:e.noop,data:i}))?r:"")+' <div class="thumbnail-region d-inline-block '+l(a(null!=(r=null!=(r=null!=t?t.options:t)?r.styles:r)?r.thumbnailContainer:r,t))+'"></div>\r\n <div class="metadata-region d-inline-block px-3 '+l(a(null!=(r=null!=(r=null!=t?t.options:t)?r.styles:r)?r.metaContainer:r,t))+'"></div>\r\n <div class="video-actions-region d-inline-block '+l(a(null!=(r=null!=(r=null!=t?t.options:t)?r.styles:r)?r.actionsContainer:r,t))+'"></div>\r\n</div>\r\n<div class="video-info-region '+l(a(null!=(r=null!=(r=null!=t?t.options:t)?r.styles:r)?r.previewContainer:r,t))+'"></div>'},useData:!0})},1275:function(e,t,n){var o=n(10);e.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,o,i){return'<div class="videos-region"></div>'},useData:!0})},1279:function(e,t,n){"use strict";n.d(t,"a",(function(){return g}));var o=n(1),i=n(2),r=n(1280),a=n.n(r),l=n(1281),s=n.n(l);function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function u(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function f(e){var t=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(e){return!1}}();return function(){var n,o=d(e);if(t){var i=d(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return h(this,n)}}function h(e,t){return!t||"object"!==c(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var g=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p(e,t)}(l,e);var t,n,i,r=f(l);function l(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),r.call(this,e)}return t=l,(n=[{key:"viewOptions",value:function(){var e=this.options.tabs.map((function(e){return Object.assign(Object.assign({},e),{link:e.link.selector.replace(".","")})}));return{styles:a.a,tabs:e}}},{key:"setActiveTab",value:function(){var e=this,t=!1;if(this.options.tabs.forEach((function(n){n.active=!1,n.link.selector===e.options.activeTab&&(n.active=!0,t=!0)})),!t){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 e="bg-white py-2 border-bottom";return this.options.className&&(e+=" ".concat(this.options.className)),e}},{key:"template",get:function(){return s.a}},{key:"appLinks",get:function(){var e={};return this.options.tabs.forEach((function(t){return e[t.link.selector]=t.link.appLink})),e}}])&&u(t.prototype,n),i&&u(t,i),l}(i.a.Component)},1280:function(e,t,n){e.exports={link:"_5idZs",active:"_3Ty4M"}},1281:function(e,t,n){var o=n(10);e.exports=(o.default||o).template({1:function(e,t,n,o,i,r,a){var l;e.propertyIsEnumerable;return null!=(l=n.unless.call(null!=t?t:e.nullContext||{},null!=t?t.hide:t,{name:"unless",hash:{},fn:e.program(2,i,0,r,a),inverse:e.noop,data:i}))?l:""},2:function(e,t,n,o,i,r,a){e.propertyIsEnumerable;var l,s=e.lambda,c=e.escapeExpression;return' <a class="'+c(s(null!=(l=null!=(l=null!=a[1]?a[1].options:a[1])?l.styles:l)?l.link:l,t))+" p-2 "+c(s(null!=t?t.link:t,t))+" "+(null!=(l=n.if.call(null!=t?t:e.nullContext||{},null!=t?t.active:t,{name:"if",hash:{},fn:e.program(3,i,0,r,a),inverse:e.noop,data:i}))?l:"")+'">'+c(s(null!=t?t.name:t,t))+"</a>\r\n"},3:function(e,t,n,o,i,r,a){var l;e.propertyIsEnumerable;return e.escapeExpression(e.lambda(null!=(l=null!=(l=null!=a[1]?a[1].options:a[1])?l.styles:l)?l.active:l,t))+" border-bottom border-primary text-primary"},compiler:[8,">= 4.3.0"],main:function(e,t,n,o,i,r,a){var l;e.propertyIsEnumerable;return null!=(l=n.each.call(null!=t?t:e.nullContext||{},null!=(l=null!=t?t.options:t)?l.tabs:l,{name:"each",hash:{},fn:e.program(1,i,0,r,a),inverse:e.noop,data:i}))?l:""},useData:!0,useDepths:!0})},1283:function(e,t,n){"use strict";var o=n(2),i=n(4),r=n(42),a=n(294),l=n(6),s=n(30),c=n(14),u=n(0),p=n(12),f=n(1246),h=n(1223),d=n(1274),g=n.n(d),y=n(1243),m=n.n(y);function v(e){return(v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function b(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function w(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function k(e,t){return(k=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function C(e){var t=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(e){return!1}}();return function(){var n,o=S(e);if(t){var i=S(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return O(this,n)}}function O(e,t){return!t||"object"!==v(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function S(e){return(S=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var E=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&k(e,t)}(y,e);var t,n,a,d=C(y);function y(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,y),d.call(this,e)}return t=y,(n=[{key:"initialize",value:function(){this.initViewModel(),this.listenTo(this.channelName,"thumbnail:load",this.onThumbnailLoad),this.listenTo(this.channelName,"click:show:preview",this.onClickTogglePreview),this.listenTo(this.options.collectionViewChannel,"close:preview",this.onCloseCollectionPreview)}},{key:"getTypeClassName",value:function(){switch(this.options.componentType){case h.b.ProcessingVideo:return m.a.processingVideo;default:return""}}},{key:"regions",value:function(){var e;return b(e={},h.a.Checkbox,{replaceElement:!0,el:".bulk-checkbox-region"}),b(e,h.a.Thumbnail,".thumbnail-region"),b(e,h.a.Metadata,".metadata-region"),b(e,h.a.VideoActions,".video-actions-region"),b(e,h.a.VideoInfo,".video-info-region"),e}},{key:"events",value:function(){return{click:"onClick"}}},{key:"initViewModel",value:function(){this.viewModel=s.a.get("".concat(this.name,":").concat(this.model.get("id")),{previewOpen:!1})}},{key:"isClickable",value:function(){return this.options.componentType!==h.b.ProcessingVideo}},{key:"onThumbnailLoad",value:function(){this.thumbnailLoaded=!0}},{key:"onClick",value:function(){this.isClickable()&&this.onClickTogglePreview(!1)}},{key:"onClickTogglePreview",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];l.Radio.channel(this.options.collectionViewChannel).trigger("close:preview",this.cid),this.togglePreview(!this.viewModel.get("previewOpen")),this.logTogglePreviewAction(e)}},{key:"onNavigateAway",value:function(){this.viewModel.set({previewOpen:!1})}},{key:"togglePreview",value:function(e){var t=this;if(this.viewModel.set({previewOpen:e}),e)return this.setPreviewHeight(),this.listenToOnce(c.a.SHELL,o.a.EventNames.ROUTE,this.onNavigateAway),void this.render();this.stopListening(l.Radio.channel(c.a.SHELL),o.a.EventNames.ROUTE),this.getUI("previewContainer").height(0),window.setTimeout((function(){return t.render()}),300)}},{key:"setPreviewHeight",value:function(){var e=this;this.listenToOnce(this.getRegion(h.a.VideoInfo),"show",(function(){var t=e.getRegion(h.a.VideoInfo).currentView;e.listenTo(t,"render",(function(){e.getUI("previewContainer").height(t.$el.outerHeight())})),e.listenTo(e.channelName,"resize:preview",(function(){window.setTimeout((function(){return e.getUI("previewContainer").height(t.$el.outerHeight())}),0)})),t.isRendered()&&e.getUI("previewContainer").height(t.$el.outerHeight())}))}},{key:"onCloseCollectionPreview",value:function(e){this.cid!==e&&this.viewModel.get("previewOpen")&&this.togglePreview(!1)}},{key:"shouldLazyLoadThumbnail",value:function(){return!!p.h.isLazyLoadSupported(u.p)&&!this.thumbnailLoaded}},{key:"logTogglePreviewAction",value:function(e){var t=r.a.mergeOptions(this.options.analyticsOptions,{actionType:i.UserAction.Click,descriptor:i.ClickDescriptor.TogglePreview,workflowPhase:i.WorkflowPhase.Complete}),n={buttonClicked:e,show:this.viewModel.get("previewOpen")};r.a.logUserAction(n,t)}},{key:"viewOptions",value:function(){return{styles:m.a,allowBulk:this.options.allowBulk,bulkPlaceholder:this.options.componentType===h.b.ProcessingVideo&&this.options.allowBulk,isClickable:this.isClickable()}}},{key:"onRender",value:function(){f.a.renderRegions(this,this.options.componentType)}},{key:"onAttach",value:function(){this.viewModel.get("previewOpen")&&this.togglePreview(!0)}},{key:"name",get:function(){return"VideoItemComponent"}},{key:"defaults",get:function(){return{componentType:h.b.Base,allowBulk:!1}}},{key:"behaviors",get:function(){return f.a.getBehaviors(this,this.options.componentType)}},{key:"template",get:function(){return g.a}},{key:"channelName",get:function(){return p.k.generateUniqueChannelName(this)}},{key:"className",get:function(){var e="border-bottom";return this.options.allowBulk&&(e+=" ".concat(m.a.allowBulk)),this.options.componentType&&(e+=" ".concat(this.getTypeClassName())),e}},{key:"props",get:function(){return["collectionIdentifier"]}},{key:"elements",get:function(){return{"drag-selector":".drag-item",previewContainer:".".concat(m.a.previewContainer)}}}])&&w(t.prototype,n),a&&w(t,a),y}(o.a.Component),x=n(291),R=n(97),P=n(9),_=n(292),I=n(1275),T=n.n(I);function V(e){return(V="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function j(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function D(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function M(e,t,n){return t&&D(e.prototype,t),n&&D(e,n),e}function A(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&L(e,t)}function L(e,t){return(L=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function N(e){var t=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(e){return!1}}();return function(){var n,o=B(e);if(t){var i=B(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return U(this,n)}}function U(e,t){return!t||"object"!==V(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function B(e){return(B=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n.d(t,"a",(function(){return W}));var H=function(e){A(n,e);var t=N(n);function n(e){return j(this,n),t.call(this,e)}return M(n,[{key:"name",get:function(){return"VideoItemListComponent"}},{key:"childView",get:function(){return E}},{key:"childViewOptions",get:function(){var e=this;return function(t){return{componentType:t.get("status")===R.a.Processing?h.b.ProcessingVideo:e.options.videoItemComponentType,videoWithMetadata:e.options.videosWithMetadata&&e.options.videosWithMetadata.get(t.get("id")),allowBulk:e.options.allowBulk,collectionIdentifier:e.options.collectionIdentifier,application:e.options.application,pendingItems:e.options.pendingItems,config:e.options.config,sourceMetadataOptions:e.options.sourceMetadataOptions,collectionViewChannel:e.options.collectionViewChannel,customerHasLocalCache:e.options.customerHasLocalCache,customerHasExchange:e.options.customerHasExchange,customerHasCustomLibrary:e.options.customerHasCustomLibrary,analyticsOptions:e.options.analyticsOptions,videoCollectionSource:e.options.videoCollectionSource,currentUser:e.options.currentUser}}}}]),n}(o.a.ComponentCollection),W=function(e){A(n,e);var t=N(n);function n(e){return j(this,n),t.call(this,e)}return M(n,[{key:"regions",value:function(){return{videos:".videos-region"}}},{key:"onRender",value:function(){var e=new H({collection:this.collection,videosWithMetadata:this.options.videosWithMetadata,videoItemComponentType:this.options.videoItemComponentType,allowBulk:this.options.allowBulk,collectionIdentifier:this.collectionIdentifier,application:this.options.application,pendingItems:this.options.pendingItems,config:this.options.config,sourceMetadataOptions:this.options.sourceMetadataOptions,collectionViewChannel:this.options.collectionViewChannel,customerHasLocalCache:this.options.customerHasLocalCache,customerHasExchange:this.options.customerHasExchange,customerHasCustomLibrary:this.options.customerHasCustomLibrary,analyticsOptions:r.a.mergeOptions(this.options.analyticsOptions,{location:i.LocationContext.VideoListItem,entity:i.EntityType.Video}),videoCollectionSource:this.options.videoCollectionSource,currentUser:this.options.currentUser});this.showChildView("videos",e)}},{key:"name",get:function(){return"VideoListView"}},{key:"className",get:function(){return"bg-white"}},{key:"props",get:function(){return["collectionIdentifier"]}},{key:"template",get:function(){return T.a}},{key:"defaults",get:function(){return{videoItemComponentType:h.b.Base,allowBulk:!1,emptyState:P.c.Default,videoCollectionSource:_.d.Folder}}},{key:"behaviors",get:function(){return[{behaviorClass:x.c,selector:".lazy-img",minBrowserSupportVersion:u.p},{behaviorClass:a.a,region:"videos",type:this.options.emptyStateType,componentOptions:this.options.emptyStateOptions,emptyStateComponents:u.h}]}}]),n}(o.a.Component)},1308:function(e,t,n){"use strict";n.d(t,"a",(function(){return v}));var o=n(6),i=n(2),r=n(4),a=n(42),l=n(12),s=n(3),c=n(1364),u=n.n(c);function p(e){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function g(e){var t=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(e){return!1}}();return function(){var n,o=m(e);if(t){var i=m(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return y(this,n)}}function y(e,t){return!t||"object"!==p(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var v=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d(e,t)}(p,e);var t,n,i,c=g(p);function p(){return f(this,p),c.apply(this,arguments)}return t=p,(n=[{key:"events",value:function(){return{"click .approve-all":"onClickApproveAll"}}},{key:"onClickApproveAll",value:function(){var e=this;new l.d(this.getApproveAllDialogOptions()).render().done((function(){return e.onConfirmApproveAll()})),this.logAction(r.WorkflowPhase.Start)}},{key:"onConfirmApproveAll",value:function(){o.Radio.channel(this.options.channelName).trigger("approve:all"),this.logAction(r.WorkflowPhase.Complete)}},{key:"getApproveAllDialogOptions",value:function(){return{title:s.a.getPhrase(this.lang,"dialogTitle"),text:s.a.getPhrase(this.lang,"dialogBody"),buttons:[{text:s.a.getPhrase(this.lang,"dialogButton"),className:"btn btn-primary",success:!0}]}}},{key:"logAction",value:function(e){var t={location:r.LocationContext.AwaitingReviewVideoListHeader,actionType:r.UserAction.Approve,descriptor:r.OperationDescriptor.All,entity:r.EntityType.Video,workflowPhase:e},n={approvedCount:this.collection.length};a.a.logUserAction(n,t)}},{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 u.a}},{key:"lang",get:function(){return"contentUpdates.awaitingReviewHeader"}}])&&h(t.prototype,n),i&&h(t,i),p}(i.a.Component)},1309:function(e,t,n){"use strict";n.d(t,"a",(function(){return E}));var o=n(2),i=n(3),r=n(294),a=n(0),l=n(9),s=n(1283),c=n(1223),u=n(1365),p=n.n(u),f=n(1366),h=n.n(f);function d(e){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function g(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function y(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function m(e,t,n){return t&&y(e.prototype,t),n&&y(e,n),e}function v(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&b(e,t)}function b(e,t){return(b=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function w(e){var t=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(e){return!1}}();return function(){var n,o=C(e);if(t){var i=C(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return k(this,n)}}function k(e,t){return!t||"object"!==d(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function C(e){return(C=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var O=function(e){v(n,e);var t=w(n);function n(e){return g(this,n),t.call(this,e)}return m(n,[{key:"regions",value:function(){return{videos:{el:".video-list-region",replaceElement:!0}}}},{key:"getGroupTitle",value:function(){var e=this.options.groupTitleAttr||"groupTitle";return this.model.get(e)}},{key:"viewOptions",value:function(){return{groupTitle:this.getGroupTitle()}}},{key:"onRender",value:function(){this.showChildView("videos",new s.a({collection:this.model.videos,videosWithMetadata:this.options.videosWithMetadata,application:a.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,currentUser:this.options.currentUser}))}},{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:c.b.Base}}}]),n}(o.a.Component),S=function(e){v(n,e);var t=w(n);function n(e){return g(this,n),t.call(this,e)}return m(n,[{key:"name",get:function(){return"VideoGroupItemComponentCollection"}},{key:"childView",get:function(){return O}},{key:"childViewOptions",get:function(){return this.options.childOptions}}]),n}(o.a.ComponentCollection),E=function(e){v(n,e);var t=w(n);function n(e){return g(this,n),t.call(this,e)}return m(n,[{key:"regions",value:function(){return{videos:{el:".videos-region",replaceElement:!0}}}},{key:"getEmptyStateComponentOptions",value:function(){return this.options.emptyStateType===l.c.AwaitingReview?{heading:i.a.getPhrase(this.lang,"awaitingReviewEmptyStateHeading"),description:i.a.getPhrase(this.lang,"awaitingReviewEmptyStateBody")}:this.options.emptyStateType===l.c.PastReleases?{heading:i.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 p.a}},{key:"lang",get:function(){return"contentUpdates.videoGroupList"}},{key:"defaults",get:function(){return{emptyState:l.c.Default}}},{key:"behaviors",get:function(){return[{behaviorClass:r.a,region:"videos",type:this.options.emptyStateType,componentOptions:this.getEmptyStateComponentOptions(),emptyStateComponents:a.h}]}}]),n}(o.a.Component)},1310:function(e,t,n){"use strict";n.d(t,"a",(function(){return v}));var o=n(2),i=n(81),r=n(0),a=n(4),l=n(42),s=n(1367),c=n.n(s),u=n(1368),p=n.n(u);function f(e){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function h(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function g(e){var t=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(e){return!1}}();return function(){var n,o=m(e);if(t){var i=m(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return y(this,n)}}function y(e,t){return!t||"object"!==f(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var v=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d(e,t)}(u,e);var t,n,o,s=g(u);function u(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u),s.call(this,e)}return t=u,(n=[{key:"events",value:function(){return{"click .disable-review":"onClickDisableReview"}}},{key:"onClickDisableReview",value:function(){var e={location:a.LocationContext.LeftNav,actionType:a.UserAction.Disable,entity:a.EntityType.CustomerSetting,descriptor:a.CustomerSettingDescriptor.LibraryReview,workflowPhase:a.WorkflowPhase.Start};l.a.logUserAction({},e)}},{key:"viewOptions",value:function(){return{supportUrl:i.a.safeUrlConcat(this.options.supportSiteUrl,r.y.LIBRARY_REVIEW)}}},{key:"name",get:function(){return"ContentUpdatesLeftNavComponent"}},{key:"className",get:function(){return"d-inline-block ".concat(p.a.leftNav)}},{key:"template",get:function(){return c.a}},{key:"lang",get:function(){return"contentUpdates.contentUpdatesLeftNav"}},{key:"appLinks",get:function(){return{".disable-review":{application:r.b.CONTENT_UPDATES,action:r.a.ContentUpdates.DISABLE_REVIEW}}}}])&&h(t.prototype,n),o&&h(t,o),u}(o.a.Component)},1311:function(e,t,n){"use strict";n.d(t,"a",(function(){return y}));var o=n(2),i=n(1369),r=n.n(i),a=n(1279),l=n(293),s=n(1370),c=n.n(s);function u(e){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function p(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function h(e){var t=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(e){return!1}}();return function(){var n,o=g(e);if(t){var i=g(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return d(this,n)}}function d(e,t){return!t||"object"!==u(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function g(e){return(g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var y=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&f(e,t)}(s,e);var t,n,o,i=h(s);function s(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),i.call(this,e)}return t=s,(n=[{key:"regions",value:function(){return{tabs:{el:".tabs-region"}}}},{key:"getTabs",value:function(){var e=l.d;return this.options.reviewEnabled?e:e.filter((function(e){return e.name!==l.a.AwaitingReview}))}},{key:"viewOptions",value:function(){return{styles:c.a}}},{key:"onRender",value:function(){var e=this.getTabs();e.length<=1||this.showChildView("tabs",new a.a({tabs:e,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 r.a}},{key:"lang",get:function(){return"contentUpdates.contentUpdatesHeader"}}])&&p(t.prototype,n),o&&p(t,o),s}(o.a.Component)},1363:function(e,t,n){"use strict";var o=n(1223);n.d(t,"a",(function(){return o.b}));n(1245),n(1246)},1364:function(e,t,n){var o=n(10);e.exports=(o.default||o).template({1:function(e,t,n,o,i){e.propertyIsEnumerable;var r,a=e.escapeExpression;return'<button class="approve-all btn btn-success d-inline-block '+a(e.lambda(null!=(r=null!=t?t.options:t)?r.btnClass:r,t))+'" type="button">'+a((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"approveBtn",{name:"lang",hash:{smartCount:null!=(r=null!=t?t.options:t)?r.numVideos:r},data:i}))+"</button>\r\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,o,i){e.propertyIsEnumerable;var r,a=e.escapeExpression,l=null!=t?t:e.nullContext||{};return'<h5 class="d-inline-block m-0 '+a(e.lambda(null!=(r=null!=t?t.options:t)?r.headingClass:r,t))+'">'+a((n.lang||t&&t.lang||e.hooks.helperMissing).call(l,"heading",{name:"lang",hash:{smartCount:null!=(r=null!=t?t.options:t)?r.numVideos:r},data:i}))+"</h5>\r\n"+(null!=(r=n.if.call(l,null!=(r=null!=t?t.options:t)?r.videosToReview:r,{name:"if",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i}))?r:"")},useData:!0})},1365:function(e,t,n){var o=n(10);e.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,o,i){return'<div class="videos-region"></div>'},useData:!0})},1366:function(e,t,n){var o=n(10);e.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,o,i){var r;e.propertyIsEnumerable;return'<h4 class="pl-3">'+e.escapeExpression(e.lambda(null!=(r=null!=t?t.options:t)?r.groupTitle:r,t))+'</h4>\r\n<div class="video-list-region"></div>'},useData:!0})},1367:function(e,t,n){var o=n(10);e.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,o,i){e.propertyIsEnumerable;var r,a=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,s=e.escapeExpression;return'<div class="p-3 border-bottom">\r\n <h5>'+s((n.lang||t&&t.lang||l).call(a,"manualReviewHeading",{name:"lang",hash:{},data:i}))+"</h5>\r\n <p>"+s((n.lang||t&&t.lang||l).call(a,"manualReviewBody",{name:"lang",hash:{},data:i}))+'</p>\r\n <button class="btn btn-light text-center disable-review" type="button">'+s((n.lang||t&&t.lang||l).call(a,"manualReviewOffBtn",{name:"lang",hash:{},data:i}))+'</button>\r\n</div>\r\n<div class="p-3 border-bottom">\r\n <p class="m-0">'+s((n.lang||t&&t.lang||l).call(a,"noActionDisclaimer",{name:"lang",hash:{},data:i}))+'</p>\r\n <p class="m-0">'+s((n.lang||t&&t.lang||l).call(a,"learnMore",{name:"lang",hash:{},data:i}))+" <a href="+s(e.lambda(null!=(r=null!=t?t.options:t)?r.supportUrl:r,t))+' target="_blank">'+s((n.lang||t&&t.lang||l).call(a,"learnMoreLink",{name:"lang",hash:{},data:i}))+"</a></p>\r\n</div>"},useData:!0})},1368:function(e,t,n){e.exports={leftNav:"_15vRB"}},1369:function(e,t,n){var o=n(10);e.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,o,i){e.propertyIsEnumerable;var r,a=e.lambda,l=e.escapeExpression;return'<div class="d-inline-block p-3 '+l(a(null!=(r=null!=(r=null!=t?t.options:t)?r.styles:r)?r.heading:r,t))+'"><h1 class="h3 m-0">'+l((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"contentUpdates",{name:"lang",hash:{},data:i}))+'</h1></div><div class="tabs-region d-inline-flex align-items-end '+l(a(null!=(r=null!=(r=null!=t?t.options:t)?r.styles:r)?r.tabsContainer:r,t))+'"></div>'},useData:!0})},1370:function(e,t,n){e.exports={heading:"_1SwZ2",tabsContainer:"_3f4T9"}},1371:function(e,t,n){e.exports={content:"_303Nb",contentWithLeftNav:"_2ZCHY"}},1524:function(e,t,n){var o=n(10);e.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,o,i){var r;e.propertyIsEnumerable;return'<div class="header-region"></div>\r\n<div class="left-nav-region"></div><div class="'+e.escapeExpression(e.lambda(null!=(r=null!=t?t.options:t)?r.contentClass:r,t))+'">\r\n<div class="list-header-region"></div>\r\n<div class="video-list-region"></div>\r\n</div>'},useData:!0})},1631:function(e,t,n){"use strict";n.r(t),n.d(t,"AwaitingReviewView",(function(){return T}));var o=n(1),i=n(2),r=n(5),a=n(3),l=n(60),s=n(0),c=n(50),u=n(98),p=n(9),f=n(1308),h=n(293),d=n(1309),g=n(1363),y=n(188),m=n(134),v=n(1310),b=n(1311),w=n(1524),k=n.n(w),C=n(1371),O=n.n(C);function S(e){return(S="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function E(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function x(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function R(e,t){return(R=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function P(e){var t=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(e){return!1}}();return function(){var n,o=I(e);if(t){var i=I(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return _(this,n)}}function _(e,t){return!t||"object"!==S(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function I(e){return(I=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var T=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&R(e,t)}(S,e);var t,n,w,C=P(S);function S(){return E(this,S),C.apply(this,arguments)}return t=S,(n=[{key:"initialize",value:function(){this.bindListeners(),this.settingsDataService=r.a.getInstance(s.g.Settings,this),this.contentUpdatesDataService=r.a.getInstance(s.g.ContentUpdates,this),this.videoDataService=r.a.getInstance(s.g.Video,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,partialLoading:p.h.AwaitingReviewHeader},videos:{el:".video-list-region",replaceElement:!0,partialLoading:p.h.VideoGroupList}}}},{key:"bindListeners",value:function(){this.listenTo(s.e.SETTINGS,"".concat(s.f.SETTINGS,":sync"),this.render),this.listenTo(s.e.CONTENT_UPDATES,"".concat(s.f.VIDEOS_TO_REVIEW,":sync"),this.render),this.listenTo(s.e.RESTRICTED_VIDEO,"".concat(s.f.VIDEOS_TO_REVIEW,":invalidate"),this.fetchVideos),this.listenTo(this.channelName,"approve:all",this.approveAllVideos),this.listenTo(this.channelName,"fetch:video:with:metadata",this.fetchVideoWithMetadata)}},{key:"approveAllVideos",value:function(){this.contentUpdatesDataService.approveAllVideos(o.bind(this.fetchVideos,this))}},{key:"redirectToPastReleases",value:function(){i.a.AppLinkHelper.trigger({application:s.b.CONTENT_UPDATES,action:s.a.ContentUpdates.PAST_RELEASES},{replace:!0})}},{key:"getContentClassName",value:function(){var e="".concat(O.a.content," border-left ").concat(O.a.contentWithLeftNav);return this.videoCollection&&!this.videoCollection.length?e+=" d-inline-flex justify-content-center align-items-center":e+=" d-inline-block",e}},{key:"setVideosWithMetadata",value:function(){this.videoCollection&&!this.videosWithMetadata&&(this.videosWithMetadata=new c.a(this.videoCollection.map((function(e){return new u.a({id:e.get("id")})}))))}},{key:"renderHeader",value:function(){this.reviewSetting?this.showChildView("header",new b.a({activeTab:h.b.AwaitingReview,reviewEnabled:this.reviewSetting.get("value")})):this.renderPartialLoading("header")}},{key:"renderLeftNav",value:function(){this.reviewSetting&&this.showChildView("leftNav",new v.a({supportSiteUrl:this.config.get("supportSiteUrl")}))}},{key:"renderListHeader",value:function(){this.videoCollection?this.videoCollection.length&&this.showChildView("listHeader",new f.a({collection:this.videoCollection,channelName:this.channelName})):this.renderPartialLoading("listHeader")}},{key:"renderVideos",value:function(){this.groupedVideoCollection?this.showChildView("videos",new d.a({collection:this.groupedVideoCollection,childOptions:{videoItemComponentType:g.a.AwaitingReview,videosWithMetadata:this.videosWithMetadata,config:this.config,collectionViewChannel:this.channelName,currentUser:this.currentUser},emptyStateType:p.c.AwaitingReview,emptyStateOptions:{heading:a.a.getPhrase(this.lang,"emptyStateHeading"),description:a.a.getPhrase(this.lang,"emptyStateDescription",{classNames:"disable-review info-link"})}})):this.renderPartialLoading("videos")}},{key:"fetchVideos",value:function(){this.videoCollection=this.contentUpdatesDataService.getVideosToReview(),this.videoCollection&&(this.setVideosWithMetadata(),this.groupedVideoCollection=h.c.groupVideosByHostedLibrary(this.videoCollection))}},{key:"fetchVideoWithMetadata",value:function(e){var t=this;this.videoDataService.getVideo(e,(function(n){var o=t.videosWithMetadata.get(e);o&&(o.set(n.toJSON()),o.set({dataFetched:!0}))}))}},{key:"onBeforeRender",value:function(){this.reviewSetting=this.settingsDataService.getSetting(this.currentUser.get("customerId"),l.a.LibraryReview),this.fetchVideos(),this.reviewSetting&&!this.reviewSetting.get("value")&&this.redirectToPastReleases()}},{key:"viewOptions",value:function(){return{contentClass:this.getContentClassName()}}},{key:"onRender",value:function(){this.renderHeader(),this.renderLeftNav(),this.renderListHeader(),this.renderVideos()}},{key:"name",get:function(){return"AwaitingReviewView"}},{key:"title",get:function(){return a.a.getPhrase(this.lang,"title")}},{key:"lang",get:function(){return"contentUpdates.awaitingReview"}},{key:"channelName",get:function(){return"".concat(this.name).concat(this.cid)}},{key:"className",get:function(){return"bg-white"}},{key:"template",get:function(){return k.a}},{key:"requiredResources",get:function(){return{config:y.b.config,currentUser:m.b.currentUser}}}])&&x(t.prototype,n),w&&x(t,w),S}(i.a.View)}}]);
@@ -1,47 +0,0 @@
1
- (window["webpackJsonp_clickview_library_editor"] = window["webpackJsonp_clickview_library_editor"] || []).push([[22],{
2
-
3
- /***/ "./src/apps/library-editor/components/edit-video-tabs/EditVideoTabs.hbs":
4
- /***/ (function(module, exports, __webpack_require__) {
5
-
6
- eval("var Handlebars = __webpack_require__(\"handlebars\");\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"compiler\":[8,\">= 4.3.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable, alias2=container.lambda, alias3=container.escapeExpression;\n\n return \"<div class=\\\"row\\\">\\r\\n <h4>\\r\\n <a class=\\\"d-inline-flex align-items-center \"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.link : stack1), depth0))\n + \" \"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.backTab : stack1)) != null ? stack1.link : stack1), depth0))\n + \"\\\">\\r\\n <span class=\\\"\"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.svgContainer : stack1), depth0))\n + \" d-inline-block mx-2\\\">\"\n + ((stack1 = alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.backArrow : stack1), depth0)) != null ? stack1 : \"\")\n + \"</span>\\r\\n \"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.backTab : stack1)) != null ? stack1.name : stack1), depth0))\n + \"\\r\\n </a>\\r\\n </h4>\\r\\n</div>\\r\\n<div class=\\\"tabs-region pl-2\\\"></div>\";\n},\"useData\":true});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvYXBwcy9saWJyYXJ5LWVkaXRvci9jb21wb25lbnRzL2VkaXQtdmlkZW8tdGFicy9FZGl0VmlkZW9UYWJzLmhicy5qcyIsInNvdXJjZXMiOlsiZmlsZTovL0M6L0NsaWNrVmlldyBQcm9qZWN0cy9jbGlja3ZpZXcvcGFja2FnZXMvcHJvamVjdHMvbGlicmFyeS1lZGl0b3Ivc3JjL2FwcHMvbGlicmFyeS1lZGl0b3IvY29tcG9uZW50cy9lZGl0LXZpZGVvLXRhYnMvRWRpdFZpZGVvVGFicy5oYnMiXSwic291cmNlc0NvbnRlbnQiOlsidmFyIEhhbmRsZWJhcnMgPSByZXF1aXJlKCdoYW5kbGViYXJzJyk7XG5tb2R1bGUuZXhwb3J0cyA9IChIYW5kbGViYXJzWydkZWZhdWx0J10gfHwgSGFuZGxlYmFycykudGVtcGxhdGUoe1wiY29tcGlsZXJcIjpbOCxcIj49IDQuMy4wXCJdLFwibWFpblwiOmZ1bmN0aW9uKGNvbnRhaW5lcixkZXB0aDAsaGVscGVycyxwYXJ0aWFscyxkYXRhKSB7XG4gICAgdmFyIHN0YWNrMSwgYWxpYXMxPWNvbnRhaW5lci5wcm9wZXJ0eUlzRW51bWVyYWJsZSwgYWxpYXMyPWNvbnRhaW5lci5sYW1iZGEsIGFsaWFzMz1jb250YWluZXIuZXNjYXBlRXhwcmVzc2lvbjtcblxuICByZXR1cm4gXCI8ZGl2IGNsYXNzPVxcXCJyb3dcXFwiPlxcclxcbiAgPGg0PlxcclxcbiAgICA8YSBjbGFzcz1cXFwiZC1pbmxpbmUtZmxleCBhbGlnbi1pdGVtcy1jZW50ZXIgXCJcbiAgICArIGFsaWFzMyhhbGlhczIoKChzdGFjazEgPSAoKHN0YWNrMSA9IChkZXB0aDAgIT0gbnVsbCA/IGRlcHRoMC5vcHRpb25zIDogZGVwdGgwKSkgIT0gbnVsbCA/IHN0YWNrMS5zdHlsZXMgOiBzdGFjazEpKSAhPSBudWxsID8gc3RhY2sxLmxpbmsgOiBzdGFjazEpLCBkZXB0aDApKVxuICAgICsgXCIgXCJcbiAgICArIGFsaWFzMyhhbGlhczIoKChzdGFjazEgPSAoKHN0YWNrMSA9IChkZXB0aDAgIT0gbnVsbCA/IGRlcHRoMC5vcHRpb25zIDogZGVwdGgwKSkgIT0gbnVsbCA/IHN0YWNrMS5iYWNrVGFiIDogc3RhY2sxKSkgIT0gbnVsbCA/IHN0YWNrMS5saW5rIDogc3RhY2sxKSwgZGVwdGgwKSlcbiAgICArIFwiXFxcIj5cXHJcXG4gICAgICA8c3BhbiBjbGFzcz1cXFwiXCJcbiAgICArIGFsaWFzMyhhbGlhczIoKChzdGFjazEgPSAoKHN0YWNrMSA9IChkZXB0aDAgIT0gbnVsbCA/IGRlcHRoMC5vcHRpb25zIDogZGVwdGgwKSkgIT0gbnVsbCA/IHN0YWNrMS5zdHlsZXMgOiBzdGFjazEpKSAhPSBudWxsID8gc3RhY2sxLnN2Z0NvbnRhaW5lciA6IHN0YWNrMSksIGRlcHRoMCkpXG4gICAgKyBcIiBkLWlubGluZS1ibG9jayBteC0yXFxcIj5cIlxuICAgICsgKChzdGFjazEgPSBhbGlhczIoKChzdGFjazEgPSAoZGVwdGgwICE9IG51bGwgPyBkZXB0aDAub3B0aW9ucyA6IGRlcHRoMCkpICE9IG51bGwgPyBzdGFjazEuYmFja0Fycm93IDogc3RhY2sxKSwgZGVwdGgwKSkgIT0gbnVsbCA/IHN0YWNrMSA6IFwiXCIpXG4gICAgKyBcIjwvc3Bhbj5cXHJcXG4gICAgICBcIlxuICAgICsgYWxpYXMzKGFsaWFzMigoKHN0YWNrMSA9ICgoc3RhY2sxID0gKGRlcHRoMCAhPSBudWxsID8gZGVwdGgwLm9wdGlvbnMgOiBkZXB0aDApKSAhPSBudWxsID8gc3RhY2sxLmJhY2tUYWIgOiBzdGFjazEpKSAhPSBudWxsID8gc3RhY2sxLm5hbWUgOiBzdGFjazEpLCBkZXB0aDApKVxuICAgICsgXCJcXHJcXG4gICAgPC9hPlxcclxcbiAgPC9oND5cXHJcXG48L2Rpdj5cXHJcXG48ZGl2IGNsYXNzPVxcXCJ0YWJzLXJlZ2lvbiBwbC0yXFxcIj48L2Rpdj5cIjtcbn0sXCJ1c2VEYXRhXCI6dHJ1ZX0pOyJdLCJtYXBwaW5ncyI6IkFBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./src/apps/library-editor/components/edit-video-tabs/EditVideoTabs.hbs\n");
7
-
8
- /***/ }),
9
-
10
- /***/ "./src/apps/library-editor/components/edit-video-tabs/EditVideoTabsComponent.ts":
11
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
12
-
13
- "use strict";
14
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"EditVideoTabsComponent\", function() { return EditVideoTabsComponent; });\n/* harmony import */ var backbone__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\"backbone\");\n/* harmony import */ var backbone__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(backbone__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var libs_common_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\"../../libs/common/src/backbone/index.ts\");\n/* harmony import */ var libs_shared_utils_SvgHelper__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\"../../libs/shared/src/utils/SvgHelper.ts\");\n/* harmony import */ var _edit_video_tabs_scss__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\"./src/apps/library-editor/components/edit-video-tabs/edit-video-tabs.scss\");\n/* harmony import */ var _edit_video_tabs_scss__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_edit_video_tabs_scss__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _EditVideoTabs_hbs__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(\"./src/apps/library-editor/components/edit-video-tabs/EditVideoTabs.hbs\");\n/* harmony import */ var _EditVideoTabs_hbs__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_EditVideoTabs_hbs__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var shared_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(\"./src/shared/constants/index.ts\");\n/* harmony import */ var shared_components_tabs_TabsComponent__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(\"./src/shared/components/tabs/TabsComponent.ts\");\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }\n\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\n\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\n\n\n\n\n\n\n\nvar EditVideoTabsComponent = /*#__PURE__*/function (_Core$Component) {\n _inherits(EditVideoTabsComponent, _Core$Component);\n\n var _super = _createSuper(EditVideoTabsComponent);\n\n function EditVideoTabsComponent(options) {\n _classCallCheck(this, EditVideoTabsComponent);\n\n return _super.call(this, options);\n }\n\n _createClass(EditVideoTabsComponent, [{\n key: \"name\",\n get: function get() {\n return 'EditVideoTabsComponent';\n }\n }, {\n key: \"className\",\n get: function get() {\n return 'bg-white';\n }\n }, {\n key: \"regions\",\n value: function regions() {\n return {\n tabs: {\n el: '.tabs-region',\n replaceElement: true\n }\n };\n }\n }, {\n key: \"template\",\n get: function get() {\n return _EditVideoTabs_hbs__WEBPACK_IMPORTED_MODULE_4___default.a;\n }\n }, {\n key: \"appLinks\",\n get: function get() {\n var link = this.options.goBackTab.link;\n return _defineProperty({}, link.selector, link.appLink);\n }\n }, {\n key: \"viewOptions\",\n value: function viewOptions() {\n var backTab = Object.assign(Object.assign({}, this.options.goBackTab), {\n link: this.options.goBackTab.link.selector.replace('.', '')\n });\n return {\n styles: _edit_video_tabs_scss__WEBPACK_IMPORTED_MODULE_3___default.a,\n backTab: backTab,\n backArrow: libs_shared_utils_SvgHelper__WEBPACK_IMPORTED_MODULE_2__[\"SvgHelper\"].getSvg(libs_shared_utils_SvgHelper__WEBPACK_IMPORTED_MODULE_2__[\"cvSvgLibrary\"].ArrowLeft)\n };\n }\n /**\r\n * On save trigger save event which the active view can listen to\r\n */\n\n }, {\n key: \"onSave\",\n value: function onSave() {\n /**\r\n * TODO: This shouldn't be on the library editor application channel\r\n */\n var libraryEditorChannel = backbone__WEBPACK_IMPORTED_MODULE_0__[\"Radio\"].channel(shared_constants__WEBPACK_IMPORTED_MODULE_5__[\"AppChannels\"].LIBRARY_EDITOR);\n /**\r\n * TODO: SAVE_VIDEO shouldnt be an action it should be an eventname\r\n */\n\n libraryEditorChannel.trigger(shared_constants__WEBPACK_IMPORTED_MODULE_5__[\"Actions\"].LibraryEditor.SAVE_VIDEO);\n }\n }, {\n key: \"onRender\",\n value: function onRender() {\n this.showChildView('tabs', new shared_components_tabs_TabsComponent__WEBPACK_IMPORTED_MODULE_6__[\"TabsComponent\"]({\n tabs: this.options.tabs,\n activeTab: this.options.activeTab\n }));\n }\n }]);\n\n return EditVideoTabsComponent;\n}(libs_common_core__WEBPACK_IMPORTED_MODULE_1__[\"Core\"].Component);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvYXBwcy9saWJyYXJ5LWVkaXRvci9jb21wb25lbnRzL2VkaXQtdmlkZW8tdGFicy9FZGl0VmlkZW9UYWJzQ29tcG9uZW50LnRzLmpzIiwic291cmNlcyI6WyJmaWxlOi8vQzovQ2xpY2tWaWV3IFByb2plY3RzL2NsaWNrdmlldy9wYWNrYWdlcy9wcm9qZWN0cy9saWJyYXJ5LWVkaXRvci9zcmMvYXBwcy9saWJyYXJ5LWVkaXRvci9jb21wb25lbnRzL2VkaXQtdmlkZW8tdGFicy9FZGl0VmlkZW9UYWJzQ29tcG9uZW50LnRzIl0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IE9iamVjdEhhc2gsIFJhZGlvIH0gZnJvbSAnYmFja2JvbmUnO1xyXG5cclxuaW1wb3J0IHsgQ29yZSB9IGZyb20gJ2xpYnMvY29tbW9uL2NvcmUnO1xyXG5pbXBvcnQgeyBTdmdIZWxwZXIsIGN2U3ZnTGlicmFyeSB9IGZyb20gJ2xpYnMvc2hhcmVkL3V0aWxzL1N2Z0hlbHBlcic7XHJcblxyXG5pbXBvcnQgc3R5bGVzIGZyb20gJy4vZWRpdC12aWRlby10YWJzLnNjc3MnO1xyXG5pbXBvcnQgRWRpdFZpZGVvVGFic1RlbXBsYXRlIGZyb20gJy4vRWRpdFZpZGVvVGFicy5oYnMnO1xyXG5pbXBvcnQgeyBBY3Rpb25zLCBBcHBDaGFubmVscyB9IGZyb20gJ3NoYXJlZC9jb25zdGFudHMnO1xyXG5pbXBvcnQgeyBUYWIsIFRhYnNDb21wb25lbnQgfSBmcm9tICdzaGFyZWQvY29tcG9uZW50cy90YWJzL1RhYnNDb21wb25lbnQnO1xyXG5cclxuaW50ZXJmYWNlIEVkaXRWaWRlb1RhYnNDb21wb25lbnRPcHRpb25zIGV4dGVuZHMgQ29yZS5Db21wb25lbnRPcHRpb25zIHtcclxuICB0YWJzOiBBcnJheTxUYWI+O1xyXG4gIGFjdGl2ZVRhYjogc3RyaW5nO1xyXG4gIGdvQmFja1RhYjogVGFiO1xyXG59XHJcblxyXG5leHBvcnQgY2xhc3MgRWRpdFZpZGVvVGFic0NvbXBvbmVudCBleHRlbmRzIENvcmUuQ29tcG9uZW50IHtcclxuICBwcm90ZWN0ZWQgb3B0aW9uczogRWRpdFZpZGVvVGFic0NvbXBvbmVudE9wdGlvbnM7XHJcblxyXG4gIGNvbnN0cnVjdG9yKG9wdGlvbnM6IEVkaXRWaWRlb1RhYnNDb21wb25lbnRPcHRpb25zKSB7XHJcbiAgICBzdXBlcihvcHRpb25zKTtcclxuICB9XHJcbiAgcHVibGljIGdldCBuYW1lKCk6IHN0cmluZyB7XHJcbiAgICByZXR1cm4gJ0VkaXRWaWRlb1RhYnNDb21wb25lbnQnO1xyXG4gIH1cclxuXHJcbiAgcHVibGljIGdldCBjbGFzc05hbWUoKTogc3RyaW5nIHtcclxuICAgIHJldHVybiAnYmctd2hpdGUnO1xyXG4gIH1cclxuXHJcbiAgcHVibGljIHJlZ2lvbnMoKTogT2JqZWN0SGFzaCB7XHJcbiAgICByZXR1cm4ge1xyXG4gICAgICB0YWJzOiB7XHJcbiAgICAgICAgZWw6ICcudGFicy1yZWdpb24nLFxyXG4gICAgICAgIHJlcGxhY2VFbGVtZW50OiB0cnVlXHJcbiAgICAgIH1cclxuICAgIH07XHJcbiAgfVxyXG5cclxuICBwdWJsaWMgZ2V0IHRlbXBsYXRlKCk6IGFueSB7XHJcbiAgICByZXR1cm4gRWRpdFZpZGVvVGFic1RlbXBsYXRlO1xyXG4gIH1cclxuXHJcbiAgcHVibGljIGdldCBhcHBMaW5rcygpOiBPYmplY3RIYXNoIHtcclxuICAgIGNvbnN0IGxpbmsgPSB0aGlzLm9wdGlvbnMuZ29CYWNrVGFiLmxpbms7XHJcblxyXG4gICAgcmV0dXJuIHtcclxuICAgICAgW2xpbmsuc2VsZWN0b3JdOiBsaW5rLmFwcExpbmtcclxuICAgIH07XHJcbiAgfVxyXG5cclxuICBwdWJsaWMgdmlld09wdGlvbnMoKTogT2JqZWN0SGFzaCB7XHJcbiAgICBjb25zdCBiYWNrVGFiID0ge1xyXG4gICAgICAuLi50aGlzLm9wdGlvbnMuZ29CYWNrVGFiLFxyXG4gICAgICBsaW5rOiB0aGlzLm9wdGlvbnMuZ29CYWNrVGFiLmxpbmsuc2VsZWN0b3IucmVwbGFjZSgnLicsICcnKVxyXG4gICAgfTtcclxuXHJcbiAgICByZXR1cm4ge1xyXG4gICAgICBzdHlsZXMsXHJcbiAgICAgIGJhY2tUYWIsXHJcbiAgICAgIGJhY2tBcnJvdzogU3ZnSGVscGVyLmdldFN2ZyhjdlN2Z0xpYnJhcnkuQXJyb3dMZWZ0KVxyXG4gICAgfTtcclxuICB9XHJcblxyXG4gIC8qKlxyXG4gICAqIE9uIHNhdmUgdHJpZ2dlciBzYXZlIGV2ZW50IHdoaWNoIHRoZSBhY3RpdmUgdmlldyBjYW4gbGlzdGVuIHRvXHJcbiAgICovXHJcbiAgcHJpdmF0ZSBvblNhdmUoKTogdm9pZCB7XHJcbiAgICAvKipcclxuICAgICAqIFRPRE86IFRoaXMgc2hvdWxkbid0IGJlIG9uIHRoZSBsaWJyYXJ5IGVkaXRvciBhcHBsaWNhdGlvbiBjaGFubmVsXHJcbiAgICAgKi9cclxuICAgIGNvbnN0IGxpYnJhcnlFZGl0b3JDaGFubmVsID0gUmFkaW8uY2hhbm5lbChBcHBDaGFubmVscy5MSUJSQVJZX0VESVRPUik7XHJcblxyXG4gICAgLyoqXHJcbiAgICAgKiBUT0RPOiBTQVZFX1ZJREVPIHNob3VsZG50IGJlIGFuIGFjdGlvbiBpdCBzaG91bGQgYmUgYW4gZXZlbnRuYW1lXHJcbiAgICAgKi9cclxuICAgIGxpYnJhcnlFZGl0b3JDaGFubmVsLnRyaWdnZXIoQWN0aW9ucy5MaWJyYXJ5RWRpdG9yLlNBVkVfVklERU8pO1xyXG4gIH1cclxuXHJcbiAgcHVibGljIG9uUmVuZGVyKCk6IHZvaWQge1xyXG4gICAgdGhpcy5zaG93Q2hpbGRWaWV3KCd0YWJzJywgbmV3IFRhYnNDb21wb25lbnQoe1xyXG4gICAgICB0YWJzOiB0aGlzLm9wdGlvbnMudGFicyxcclxuICAgICAgYWN0aXZlVGFiOiB0aGlzLm9wdGlvbnMuYWN0aXZlVGFiXHJcbiAgICB9KSk7XHJcbiAgfVxyXG59Il0sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7QUFBQTtBQUVBO0FBQ0E7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQVFBO0FBQUE7QUFDQTtBQURBO0FBQ0E7QUFFQTtBQUFBO0FBQ0E7QUFEQTtBQUVBO0FBQ0E7QUFOQTtBQUFBO0FBQUE7QUFPQTtBQUNBO0FBUkE7QUFBQTtBQUFBO0FBV0E7QUFDQTtBQVpBO0FBQUE7QUFBQTtBQWVBO0FBQ0E7QUFDQTtBQUNBO0FBRkE7QUFEQTtBQU1BO0FBckJBO0FBQUE7QUFBQTtBQXdCQTtBQUNBO0FBekJBO0FBQUE7QUFBQTtBQTRCQTtBQUVBO0FBR0E7QUFqQ0E7QUFBQTtBQUFBO0FBb0NBO0FBRUE7QUFEQTtBQUlBO0FBQ0E7QUFDQTtBQUNBO0FBSEE7QUFLQTtBQUVBOztBQUVBO0FBQ0E7QUFuREE7QUFBQTtBQUFBO0FBb0RBOztBQUVBO0FBQ0E7QUFFQTs7QUFFQTtBQUNBO0FBQUE7QUFDQTtBQTdEQTtBQUFBO0FBQUE7QUFnRUE7QUFDQTtBQUNBO0FBRkE7QUFJQTtBQXBFQTtBQUNBO0FBREE7QUFBQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./src/apps/library-editor/components/edit-video-tabs/EditVideoTabsComponent.ts\n");
15
-
16
- /***/ }),
17
-
18
- /***/ "./src/apps/library-editor/components/edit-video-tabs/edit-video-tabs.scss":
19
- /***/ (function(module, exports, __webpack_require__) {
20
-
21
- eval("// extracted by mini-css-extract-plugin\nmodule.exports = {\"svgContainer\":\"cv--svgContainer--27gR6\"};//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvYXBwcy9saWJyYXJ5LWVkaXRvci9jb21wb25lbnRzL2VkaXQtdmlkZW8tdGFicy9lZGl0LXZpZGVvLXRhYnMuc2Nzcy5qcyIsInNvdXJjZXMiOlsiZmlsZTovL0M6L0NsaWNrVmlldyBQcm9qZWN0cy9jbGlja3ZpZXcvcGFja2FnZXMvcHJvamVjdHMvbGlicmFyeS1lZGl0b3Ivc3JjL2FwcHMvbGlicmFyeS1lZGl0b3IvY29tcG9uZW50cy9lZGl0LXZpZGVvLXRhYnMvZWRpdC12aWRlby10YWJzLnNjc3MiXSwic291cmNlc0NvbnRlbnQiOlsiLy8gZXh0cmFjdGVkIGJ5IG1pbmktY3NzLWV4dHJhY3QtcGx1Z2luXG5tb2R1bGUuZXhwb3J0cyA9IHtcInN2Z0NvbnRhaW5lclwiOlwiY3YtLXN2Z0NvbnRhaW5lci0tMjdnUjZcIn07Il0sIm1hcHBpbmdzIjoiQUFBQTtBQUNBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./src/apps/library-editor/components/edit-video-tabs/edit-video-tabs.scss\n");
22
-
23
- /***/ }),
24
-
25
- /***/ "./src/shared/components/tabs/Tabs.hbs":
26
- /***/ (function(module, exports, __webpack_require__) {
27
-
28
- eval("var Handlebars = __webpack_require__(\"handlebars\");\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"1\":function(container,depth0,helpers,partials,data,blockParams,depths) {\n var stack1, alias1=container.propertyIsEnumerable;\n\n return ((stack1 = helpers.unless.call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? depth0.hide : depth0),{\"name\":\"unless\",\"hash\":{},\"fn\":container.program(2, data, 0, blockParams, depths),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\");\n},\"2\":function(container,depth0,helpers,partials,data,blockParams,depths) {\n var stack1, alias1=container.propertyIsEnumerable, alias2=container.lambda, alias3=container.escapeExpression;\n\n return \" <a class=\\\"\"\n + alias3(alias2(((stack1 = ((stack1 = (depths[1] != null ? depths[1].options : depths[1])) != null ? stack1.styles : stack1)) != null ? stack1.link : stack1), depth0))\n + \" p-2 \"\n + alias3(alias2((depth0 != null ? depth0.link : depth0), depth0))\n + \" \"\n + ((stack1 = helpers[\"if\"].call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? depth0.active : depth0),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(3, data, 0, blockParams, depths),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + \"\\\">\"\n + alias3(alias2((depth0 != null ? depth0.name : depth0), depth0))\n + \"</a>\\r\\n\";\n},\"3\":function(container,depth0,helpers,partials,data,blockParams,depths) {\n var stack1, alias1=container.propertyIsEnumerable;\n\n return container.escapeExpression(container.lambda(((stack1 = ((stack1 = (depths[1] != null ? depths[1].options : depths[1])) != null ? stack1.styles : stack1)) != null ? stack1.active : stack1), depth0))\n + \" border-bottom border-primary text-primary\";\n},\"compiler\":[8,\">= 4.3.0\"],\"main\":function(container,depth0,helpers,partials,data,blockParams,depths) {\n var stack1, alias1=container.propertyIsEnumerable;\n\n return ((stack1 = helpers.each.call(depth0 != null ? depth0 : (container.nullContext || {}),((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.tabs : stack1),{\"name\":\"each\",\"hash\":{},\"fn\":container.program(1, data, 0, blockParams, depths),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\");\n},\"useData\":true,\"useDepths\":true});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvc2hhcmVkL2NvbXBvbmVudHMvdGFicy9UYWJzLmhicy5qcyIsInNvdXJjZXMiOlsiZmlsZTovL0M6L0NsaWNrVmlldyBQcm9qZWN0cy9jbGlja3ZpZXcvcGFja2FnZXMvcHJvamVjdHMvbGlicmFyeS1lZGl0b3Ivc3JjL3NoYXJlZC9jb21wb25lbnRzL3RhYnMvVGFicy5oYnMiXSwic291cmNlc0NvbnRlbnQiOlsidmFyIEhhbmRsZWJhcnMgPSByZXF1aXJlKCdoYW5kbGViYXJzJyk7XG5tb2R1bGUuZXhwb3J0cyA9IChIYW5kbGViYXJzWydkZWZhdWx0J10gfHwgSGFuZGxlYmFycykudGVtcGxhdGUoe1wiMVwiOmZ1bmN0aW9uKGNvbnRhaW5lcixkZXB0aDAsaGVscGVycyxwYXJ0aWFscyxkYXRhLGJsb2NrUGFyYW1zLGRlcHRocykge1xuICAgIHZhciBzdGFjazEsIGFsaWFzMT1jb250YWluZXIucHJvcGVydHlJc0VudW1lcmFibGU7XG5cbiAgcmV0dXJuICgoc3RhY2sxID0gaGVscGVycy51bmxlc3MuY2FsbChkZXB0aDAgIT0gbnVsbCA/IGRlcHRoMCA6IChjb250YWluZXIubnVsbENvbnRleHQgfHwge30pLChkZXB0aDAgIT0gbnVsbCA/IGRlcHRoMC5oaWRlIDogZGVwdGgwKSx7XCJuYW1lXCI6XCJ1bmxlc3NcIixcImhhc2hcIjp7fSxcImZuXCI6Y29udGFpbmVyLnByb2dyYW0oMiwgZGF0YSwgMCwgYmxvY2tQYXJhbXMsIGRlcHRocyksXCJpbnZlcnNlXCI6Y29udGFpbmVyLm5vb3AsXCJkYXRhXCI6ZGF0YX0pKSAhPSBudWxsID8gc3RhY2sxIDogXCJcIik7XG59LFwiMlwiOmZ1bmN0aW9uKGNvbnRhaW5lcixkZXB0aDAsaGVscGVycyxwYXJ0aWFscyxkYXRhLGJsb2NrUGFyYW1zLGRlcHRocykge1xuICAgIHZhciBzdGFjazEsIGFsaWFzMT1jb250YWluZXIucHJvcGVydHlJc0VudW1lcmFibGUsIGFsaWFzMj1jb250YWluZXIubGFtYmRhLCBhbGlhczM9Y29udGFpbmVyLmVzY2FwZUV4cHJlc3Npb247XG5cbiAgcmV0dXJuIFwiICA8YSBjbGFzcz1cXFwiXCJcbiAgICArIGFsaWFzMyhhbGlhczIoKChzdGFjazEgPSAoKHN0YWNrMSA9IChkZXB0aHNbMV0gIT0gbnVsbCA/IGRlcHRoc1sxXS5vcHRpb25zIDogZGVwdGhzWzFdKSkgIT0gbnVsbCA/IHN0YWNrMS5zdHlsZXMgOiBzdGFjazEpKSAhPSBudWxsID8gc3RhY2sxLmxpbmsgOiBzdGFjazEpLCBkZXB0aDApKVxuICAgICsgXCIgcC0yIFwiXG4gICAgKyBhbGlhczMoYWxpYXMyKChkZXB0aDAgIT0gbnVsbCA/IGRlcHRoMC5saW5rIDogZGVwdGgwKSwgZGVwdGgwKSlcbiAgICArIFwiIFwiXG4gICAgKyAoKHN0YWNrMSA9IGhlbHBlcnNbXCJpZlwiXS5jYWxsKGRlcHRoMCAhPSBudWxsID8gZGVwdGgwIDogKGNvbnRhaW5lci5udWxsQ29udGV4dCB8fCB7fSksKGRlcHRoMCAhPSBudWxsID8gZGVwdGgwLmFjdGl2ZSA6IGRlcHRoMCkse1wibmFtZVwiOlwiaWZcIixcImhhc2hcIjp7fSxcImZuXCI6Y29udGFpbmVyLnByb2dyYW0oMywgZGF0YSwgMCwgYmxvY2tQYXJhbXMsIGRlcHRocyksXCJpbnZlcnNlXCI6Y29udGFpbmVyLm5vb3AsXCJkYXRhXCI6ZGF0YX0pKSAhPSBudWxsID8gc3RhY2sxIDogXCJcIilcbiAgICArIFwiXFxcIj5cIlxuICAgICsgYWxpYXMzKGFsaWFzMigoZGVwdGgwICE9IG51bGwgPyBkZXB0aDAubmFtZSA6IGRlcHRoMCksIGRlcHRoMCkpXG4gICAgKyBcIjwvYT5cXHJcXG5cIjtcbn0sXCIzXCI6ZnVuY3Rpb24oY29udGFpbmVyLGRlcHRoMCxoZWxwZXJzLHBhcnRpYWxzLGRhdGEsYmxvY2tQYXJhbXMsZGVwdGhzKSB7XG4gICAgdmFyIHN0YWNrMSwgYWxpYXMxPWNvbnRhaW5lci5wcm9wZXJ0eUlzRW51bWVyYWJsZTtcblxuICByZXR1cm4gY29udGFpbmVyLmVzY2FwZUV4cHJlc3Npb24oY29udGFpbmVyLmxhbWJkYSgoKHN0YWNrMSA9ICgoc3RhY2sxID0gKGRlcHRoc1sxXSAhPSBudWxsID8gZGVwdGhzWzFdLm9wdGlvbnMgOiBkZXB0aHNbMV0pKSAhPSBudWxsID8gc3RhY2sxLnN0eWxlcyA6IHN0YWNrMSkpICE9IG51bGwgPyBzdGFjazEuYWN0aXZlIDogc3RhY2sxKSwgZGVwdGgwKSlcbiAgICArIFwiIGJvcmRlci1ib3R0b20gYm9yZGVyLXByaW1hcnkgdGV4dC1wcmltYXJ5XCI7XG59LFwiY29tcGlsZXJcIjpbOCxcIj49IDQuMy4wXCJdLFwibWFpblwiOmZ1bmN0aW9uKGNvbnRhaW5lcixkZXB0aDAsaGVscGVycyxwYXJ0aWFscyxkYXRhLGJsb2NrUGFyYW1zLGRlcHRocykge1xuICAgIHZhciBzdGFjazEsIGFsaWFzMT1jb250YWluZXIucHJvcGVydHlJc0VudW1lcmFibGU7XG5cbiAgcmV0dXJuICgoc3RhY2sxID0gaGVscGVycy5lYWNoLmNhbGwoZGVwdGgwICE9IG51bGwgPyBkZXB0aDAgOiAoY29udGFpbmVyLm51bGxDb250ZXh0IHx8IHt9KSwoKHN0YWNrMSA9IChkZXB0aDAgIT0gbnVsbCA/IGRlcHRoMC5vcHRpb25zIDogZGVwdGgwKSkgIT0gbnVsbCA/IHN0YWNrMS50YWJzIDogc3RhY2sxKSx7XCJuYW1lXCI6XCJlYWNoXCIsXCJoYXNoXCI6e30sXCJmblwiOmNvbnRhaW5lci5wcm9ncmFtKDEsIGRhdGEsIDAsIGJsb2NrUGFyYW1zLCBkZXB0aHMpLFwiaW52ZXJzZVwiOmNvbnRhaW5lci5ub29wLFwiZGF0YVwiOmRhdGF9KSkgIT0gbnVsbCA/IHN0YWNrMSA6IFwiXCIpO1xufSxcInVzZURhdGFcIjp0cnVlLFwidXNlRGVwdGhzXCI6dHJ1ZX0pOyJdLCJtYXBwaW5ncyI6IkFBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./src/shared/components/tabs/Tabs.hbs\n");
29
-
30
- /***/ }),
31
-
32
- /***/ "./src/shared/components/tabs/TabsComponent.ts":
33
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
34
-
35
- "use strict";
36
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"TabsComponent\", function() { return TabsComponent; });\n/* harmony import */ var underscore__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\"underscore\");\n/* harmony import */ var underscore__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(underscore__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var libs_common_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\"../../libs/common/src/backbone/index.ts\");\n/* harmony import */ var _tabs_scss__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\"./src/shared/components/tabs/tabs.scss\");\n/* harmony import */ var _tabs_scss__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_tabs_scss__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _Tabs_hbs__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\"./src/shared/components/tabs/Tabs.hbs\");\n/* harmony import */ var _Tabs_hbs__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_Tabs_hbs__WEBPACK_IMPORTED_MODULE_3__);\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }\n\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\n\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\n\n\n\n\nvar TabsComponent = /*#__PURE__*/function (_Core$Component) {\n _inherits(TabsComponent, _Core$Component);\n\n var _super = _createSuper(TabsComponent);\n\n function TabsComponent(options) {\n _classCallCheck(this, TabsComponent);\n\n return _super.call(this, options);\n }\n\n _createClass(TabsComponent, [{\n key: \"name\",\n get: function get() {\n return 'TabsView';\n }\n }, {\n key: \"className\",\n get: function get() {\n var className = 'bg-white py-2 border-bottom';\n if (this.options.className) className += \" \".concat(this.options.className);\n return className;\n }\n }, {\n key: \"template\",\n get: function get() {\n return _Tabs_hbs__WEBPACK_IMPORTED_MODULE_3___default.a;\n }\n }, {\n key: \"appLinks\",\n get: function get() {\n var links = {};\n this.options.tabs.forEach(function (tab) {\n return links[tab.link.selector] = tab.link.appLink;\n });\n return links;\n }\n }, {\n key: \"viewOptions\",\n value: function viewOptions() {\n var tabs = this.options.tabs;\n var pageTabs = tabs.map(function (tab) {\n return Object.assign(Object.assign({}, tab), {\n link: tab.link.selector.replace('.', '')\n });\n });\n return {\n styles: _tabs_scss__WEBPACK_IMPORTED_MODULE_2___default.a,\n tabs: pageTabs\n };\n }\n }, {\n key: \"setActiveTab\",\n value: function setActiveTab() {\n var _this = this;\n\n // Find active applink and set it as active if exists, or set first tab as active\n var found = false;\n this.options.tabs.forEach(function (t) {\n // First reset all tabs to not active\n t.active = false;\n if (t.link.selector !== _this.options.activeTab) return;\n t.active = true;\n found = true;\n });\n if (found) return;\n\n var firstTab = underscore__WEBPACK_IMPORTED_MODULE_0__[\"first\"](this.options.tabs);\n\n if (firstTab) firstTab.active = true;\n }\n }, {\n key: \"onBeforeRender\",\n value: function onBeforeRender() {\n this.setActiveTab();\n }\n }]);\n\n return TabsComponent;\n}(libs_common_core__WEBPACK_IMPORTED_MODULE_1__[\"Core\"].Component);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvc2hhcmVkL2NvbXBvbmVudHMvdGFicy9UYWJzQ29tcG9uZW50LnRzLmpzIiwic291cmNlcyI6WyJmaWxlOi8vQzovQ2xpY2tWaWV3IFByb2plY3RzL2NsaWNrdmlldy9wYWNrYWdlcy9wcm9qZWN0cy9saWJyYXJ5LWVkaXRvci9zcmMvc2hhcmVkL2NvbXBvbmVudHMvdGFicy9UYWJzQ29tcG9uZW50LnRzIl0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCAqIGFzIF8gZnJvbSAndW5kZXJzY29yZSc7XHJcbmltcG9ydCB7IE9iamVjdEhhc2ggfSBmcm9tICdiYWNrYm9uZSc7XHJcblxyXG5pbXBvcnQgeyBDb3JlIH0gZnJvbSAnbGlicy9jb21tb24vY29yZSc7XHJcblxyXG5pbXBvcnQgc3R5bGVzIGZyb20gJy4vdGFicy5zY3NzJztcclxuaW1wb3J0IFRhYnNUZW1wbGF0ZSBmcm9tICcuL1RhYnMuaGJzJztcclxuXHJcbmludGVyZmFjZSBUYWJBcHBMaW5rIHtcclxuICBzZWxlY3Rvcjogc3RyaW5nO1xyXG4gIGFwcExpbms6IENvcmUuQXBwTGluaztcclxufVxyXG5cclxuZXhwb3J0IGludGVyZmFjZSBUYWIge1xyXG4gIG5hbWU6IHN0cmluZyB8ICgoKSA9PiBzdHJpbmcpO1xyXG4gIGFjdGl2ZT86IGJvb2xlYW47XHJcbiAgbGluazogVGFiQXBwTGluaztcclxuICBoaWRlPzogYm9vbGVhbjtcclxufVxyXG5cclxuaW50ZXJmYWNlIFRhYnNDb21wb25lbnRPcHRpb25zIGV4dGVuZHMgQ29yZS5Db21wb25lbnRPcHRpb25zIHtcclxuICB0YWJzOiBBcnJheTxUYWI+O1xyXG4gIGFjdGl2ZVRhYjogc3RyaW5nO1xyXG59XHJcblxyXG5leHBvcnQgY2xhc3MgVGFic0NvbXBvbmVudCBleHRlbmRzIENvcmUuQ29tcG9uZW50IHtcclxuICBwdWJsaWMgb3B0aW9uczogVGFic0NvbXBvbmVudE9wdGlvbnM7XHJcblxyXG4gIGNvbnN0cnVjdG9yKG9wdGlvbnM6IFRhYnNDb21wb25lbnRPcHRpb25zKSB7XHJcbiAgICBzdXBlcihvcHRpb25zKTtcclxuICB9XHJcblxyXG4gIHB1YmxpYyBnZXQgbmFtZSgpOiBzdHJpbmcge1xyXG4gICAgcmV0dXJuICdUYWJzVmlldyc7XHJcbiAgfVxyXG5cclxuICBwdWJsaWMgZ2V0IGNsYXNzTmFtZSgpOiBzdHJpbmcge1xyXG4gICAgbGV0IGNsYXNzTmFtZSA9ICdiZy13aGl0ZSBweS0yIGJvcmRlci1ib3R0b20nO1xyXG5cclxuICAgIGlmICh0aGlzLm9wdGlvbnMuY2xhc3NOYW1lKVxyXG4gICAgICBjbGFzc05hbWUgKz0gYCAke3RoaXMub3B0aW9ucy5jbGFzc05hbWV9YDtcclxuXHJcbiAgICByZXR1cm4gY2xhc3NOYW1lO1xyXG4gIH1cclxuXHJcbiAgcHVibGljIGdldCB0ZW1wbGF0ZSgpOiBhbnkge1xyXG4gICAgcmV0dXJuIFRhYnNUZW1wbGF0ZTtcclxuICB9XHJcblxyXG4gIHB1YmxpYyBnZXQgYXBwTGlua3MoKTogT2JqZWN0SGFzaCB7XHJcbiAgICBjb25zdCBsaW5rczoge1tzZWxlY3Rvcjogc3RyaW5nXTogQ29yZS5BcHBMaW5rfSA9IHt9O1xyXG5cclxuICAgIHRoaXMub3B0aW9ucy50YWJzLmZvckVhY2goKHRhYjogVGFiKSA9PiBsaW5rc1t0YWIubGluay5zZWxlY3Rvcl0gPSB0YWIubGluay5hcHBMaW5rKTtcclxuXHJcbiAgICByZXR1cm4gbGlua3M7XHJcbiAgfVxyXG5cclxuICBwdWJsaWMgdmlld09wdGlvbnMoKTogT2JqZWN0SGFzaCB7XHJcbiAgICBjb25zdCB7IHRhYnMgfSA9IHRoaXMub3B0aW9ucztcclxuXHJcbiAgICBjb25zdCBwYWdlVGFicyA9IHRhYnMubWFwKCh0YWI6IFRhYikgPT4ge1xyXG4gICAgICByZXR1cm4ge1xyXG4gICAgICAgIC4uLnRhYixcclxuICAgICAgICBsaW5rOiB0YWIubGluay5zZWxlY3Rvci5yZXBsYWNlKCcuJywgJycpXHJcbiAgICAgIH07XHJcbiAgICB9KTtcclxuXHJcbiAgICByZXR1cm4ge1xyXG4gICAgICBzdHlsZXMsXHJcbiAgICAgIHRhYnM6IHBhZ2VUYWJzXHJcbiAgICB9O1xyXG4gIH1cclxuXHJcbiAgcHJpdmF0ZSBzZXRBY3RpdmVUYWIoKTogdm9pZCB7XHJcbiAgICAvLyBGaW5kIGFjdGl2ZSBhcHBsaW5rIGFuZCBzZXQgaXQgYXMgYWN0aXZlIGlmIGV4aXN0cywgb3Igc2V0IGZpcnN0IHRhYiBhcyBhY3RpdmVcclxuICAgIGxldCBmb3VuZCA9IGZhbHNlO1xyXG5cclxuICAgIHRoaXMub3B0aW9ucy50YWJzLmZvckVhY2goKHQ6IFRhYikgPT4ge1xyXG4gICAgICAvLyBGaXJzdCByZXNldCBhbGwgdGFicyB0byBub3QgYWN0aXZlXHJcbiAgICAgIHQuYWN0aXZlID0gZmFsc2U7XHJcblxyXG4gICAgICBpZiAodC5saW5rLnNlbGVjdG9yICE9PSB0aGlzLm9wdGlvbnMuYWN0aXZlVGFiKVxyXG4gICAgICAgIHJldHVybjtcclxuXHJcbiAgICAgIHQuYWN0aXZlID0gdHJ1ZTtcclxuICAgICAgZm91bmQgPSB0cnVlO1xyXG4gICAgfSk7XHJcblxyXG4gICAgaWYgKGZvdW5kKVxyXG4gICAgICByZXR1cm47XHJcblxyXG4gICAgY29uc3QgZmlyc3RUYWIgPSBfLmZpcnN0KHRoaXMub3B0aW9ucy50YWJzKTtcclxuXHJcbiAgICBpZiAoZmlyc3RUYWIpXHJcbiAgICAgIGZpcnN0VGFiLmFjdGl2ZSA9IHRydWU7XHJcbiAgfVxyXG5cclxuICBwdWJsaWMgb25CZWZvcmVSZW5kZXIoKTogdm9pZCB7XHJcbiAgICB0aGlzLnNldEFjdGl2ZVRhYigpO1xyXG4gIH1cclxufSJdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztBQUFBO0FBR0E7QUFFQTtBQUNBO0FBbUJBO0FBQUE7QUFDQTtBQURBO0FBQ0E7QUFFQTtBQUFBO0FBQ0E7QUFEQTtBQUVBO0FBQ0E7QUFOQTtBQUFBO0FBQUE7QUFRQTtBQUNBO0FBVEE7QUFBQTtBQUFBO0FBWUE7QUFFQTtBQUdBO0FBQ0E7QUFsQkE7QUFBQTtBQUFBO0FBcUJBO0FBQ0E7QUF0QkE7QUFBQTtBQUFBO0FBeUJBO0FBRUE7QUFBQTtBQUFBO0FBRUE7QUFDQTtBQTlCQTtBQUFBO0FBQUE7QUFnQ0E7QUFHQTtBQUNBO0FBRUE7QUFEQTtBQUdBO0FBRUE7QUFDQTtBQUNBO0FBRkE7QUFJQTtBQTlDQTtBQUFBO0FBQUE7QUFnREE7QUFDQTtBQUFBO0FBQ0E7QUFFQTtBQUNBO0FBQ0E7QUFFQTtBQUdBO0FBQ0E7QUFDQTtBQUVBO0FBQ0E7QUFFQTtBQUNBO0FBQ0E7QUFFQTtBQXRFQTtBQUFBO0FBQUE7QUF5RUE7QUFDQTtBQTFFQTtBQUNBO0FBREE7QUFBQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./src/shared/components/tabs/TabsComponent.ts\n");
37
-
38
- /***/ }),
39
-
40
- /***/ "./src/shared/components/tabs/tabs.scss":
41
- /***/ (function(module, exports, __webpack_require__) {
42
-
43
- eval("// extracted by mini-css-extract-plugin\nmodule.exports = {\"link\":\"cv--link--5idZs\",\"active\":\"cv--active--3Ty4M\"};//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvc2hhcmVkL2NvbXBvbmVudHMvdGFicy90YWJzLnNjc3MuanMiLCJzb3VyY2VzIjpbImZpbGU6Ly9DOi9DbGlja1ZpZXcgUHJvamVjdHMvY2xpY2t2aWV3L3BhY2thZ2VzL3Byb2plY3RzL2xpYnJhcnktZWRpdG9yL3NyYy9zaGFyZWQvY29tcG9uZW50cy90YWJzL3RhYnMuc2NzcyJdLCJzb3VyY2VzQ29udGVudCI6WyIvLyBleHRyYWN0ZWQgYnkgbWluaS1jc3MtZXh0cmFjdC1wbHVnaW5cbm1vZHVsZS5leHBvcnRzID0ge1wibGlua1wiOlwiY3YtLWxpbmstLTVpZFpzXCIsXCJhY3RpdmVcIjpcImN2LS1hY3RpdmUtLTNUeTRNXCJ9OyJdLCJtYXBwaW5ncyI6IkFBQUE7QUFDQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./src/shared/components/tabs/tabs.scss\n");
44
-
45
- /***/ })
46
-
47
- }]);