@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,47 +0,0 @@
1
- (window["webpackJsonp_clickview_library_editor"] = window["webpackJsonp_clickview_library_editor"] || []).push([[23],{
2
-
3
- /***/ "../../libs/shared/src/utils/EmbedHelper.ts":
4
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
5
-
6
- "use strict";
7
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"EmbedHelper\", function() { return EmbedHelper; });\n/* harmony import */ var libs_common_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\"../../libs/common/src/backbone/services/LanguageService.tsx\");\n\nvar namespace = 'shared.shared-utils';\nvar EmbedHelper = {\n getEmbedResolutions: function getEmbedResolutions() {\n return [{\n label: libs_common_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_0__[\"LanguageService\"].getPhrase(namespace, 'responsive'),\n width: '100%',\n height: '100%'\n }, {\n label: libs_common_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_0__[\"LanguageService\"].getPhrase(namespace, 'small'),\n width: '640',\n height: '360'\n }, {\n label: libs_common_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_0__[\"LanguageService\"].getPhrase(namespace, 'medium'),\n width: '1014',\n height: '576'\n }, {\n label: libs_common_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_0__[\"LanguageService\"].getPhrase(namespace, 'large'),\n width: '1280',\n height: '720'\n }];\n }\n};//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi4vLi4vbGlicy9zaGFyZWQvc3JjL3V0aWxzL0VtYmVkSGVscGVyLnRzLmpzIiwic291cmNlcyI6WyJmaWxlOi8vQzovQ2xpY2tWaWV3IFByb2plY3RzL2NsaWNrdmlldy9wYWNrYWdlcy9saWJzL3NoYXJlZC9zcmMvdXRpbHMvRW1iZWRIZWxwZXIudHMiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgTGFuZ3VhZ2VTZXJ2aWNlIH0gZnJvbSAnbGlicy9jb21tb24vYmFja2JvbmUvc2VydmljZXMvTGFuZ3VhZ2VTZXJ2aWNlJztcclxuXHJcbmNvbnN0IG5hbWVzcGFjZSA9ICdzaGFyZWQuc2hhcmVkLX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IH1cclxuICAgIF07XHJcbiAgfVxyXG59OyJdLCJtYXBwaW5ncyI6IkFBQUE7QUFBQTtBQUFBO0FBQUE7QUFFQTtBQVFBO0FBQ0E7QUFDQTtBQUVBO0FBQ0E7QUFDQTtBQUhBO0FBTUE7QUFDQTtBQUNBO0FBSEE7QUFNQTtBQUNBO0FBQ0E7QUFIQTtBQU1BO0FBQ0E7QUFDQTtBQUhBO0FBTUE7QUF4QkEiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///../../libs/shared/src/utils/EmbedHelper.ts\n");
8
-
9
- /***/ }),
10
-
11
- /***/ "./src/shared/views/share/EmbedString.hbs":
12
- /***/ (function(module, exports, __webpack_require__) {
13
-
14
- eval("var Handlebars = __webpack_require__(\"handlebars\");\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"1\":function(container,depth0,helpers,partials,data) {\n return \"style=\\\"position:absolute; top:0; left:0; width:100%; height:100%;\\\"\";\n},\"3\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable, alias2=container.lambda, alias3=container.escapeExpression;\n\n return \"width=\\\"\"\n + alias3(alias2(((stack1 = (depth0 != null ? depth0.videoSize : depth0)) != null ? stack1.width : stack1), depth0))\n + \"\\\" height=\\\"\"\n + alias3(alias2(((stack1 = (depth0 != null ? depth0.videoSize : depth0)) != null ? stack1.height : stack1), depth0))\n + \"\\\"\";\n},\"compiler\":[8,\">= 4.3.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n var stack1, helper, alias1=container.propertyIsEnumerable, alias2=depth0 != null ? depth0 : (container.nullContext || {}), alias3=container.hooks.helperMissing, alias4=\"function\", alias5=container.escapeExpression;\n\n return \"<iframe frameborder=\\\"0\\\" allowfullscreen webkitallowfullscreen mozallowfullscreen \"\n + ((stack1 = helpers[\"if\"].call(alias2,(depth0 != null ? depth0.isResponsive : depth0),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.program(3, data, 0),\"data\":data})) != null ? stack1 : \"\")\n + \" src=\\\"\"\n + alias5(((helper = (helper = helpers.baseUrl || (depth0 != null ? depth0.baseUrl : depth0)) != null ? helper : alias3),(typeof helper === alias4 ? helper.call(alias2,{\"name\":\"baseUrl\",\"hash\":{},\"data\":data}) : helper)))\n + \"?shareCode=\"\n + alias5(((helper = (helper = helpers.shortCode || (depth0 != null ? depth0.shortCode : depth0)) != null ? helper : alias3),(typeof helper === alias4 ? helper.call(alias2,{\"name\":\"shortCode\",\"hash\":{},\"data\":data}) : helper)))\n + \"&a=\"\n + alias5(((helper = (helper = helpers.autoplay || (depth0 != null ? depth0.autoplay : depth0)) != null ? helper : alias3),(typeof helper === alias4 ? helper.call(alias2,{\"name\":\"autoplay\",\"hash\":{},\"data\":data}) : helper)))\n + \"\\\"></iframe>\";\n},\"useData\":true});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvc2hhcmVkL3ZpZXdzL3NoYXJlL0VtYmVkU3RyaW5nLmhicy5qcyIsInNvdXJjZXMiOlsiZmlsZTovL0M6L0NsaWNrVmlldyBQcm9qZWN0cy9jbGlja3ZpZXcvcGFja2FnZXMvcHJvamVjdHMvbGlicmFyeS1lZGl0b3Ivc3JjL3NoYXJlZC92aWV3cy9zaGFyZS9FbWJlZFN0cmluZy5oYnMiXSwic291cmNlc0NvbnRlbnQiOlsidmFyIEhhbmRsZWJhcnMgPSByZXF1aXJlKCdoYW5kbGViYXJzJyk7XG5tb2R1bGUuZXhwb3J0cyA9IChIYW5kbGViYXJzWydkZWZhdWx0J10gfHwgSGFuZGxlYmFycykudGVtcGxhdGUoe1wiMVwiOmZ1bmN0aW9uKGNvbnRhaW5lcixkZXB0aDAsaGVscGVycyxwYXJ0aWFscyxkYXRhKSB7XG4gICAgcmV0dXJuIFwic3R5bGU9XFxcInBvc2l0aW9uOmFic29sdXRlOyB0b3A6MDsgbGVmdDowOyB3aWR0a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YXMyLHtcIm5hbWVcIjpcInNob3J0Q29kZVwiLFwiaGFzaFwiOnt9LFwiZGF0YVwiOmRhdGF9KSA6IGhlbHBlcikpKVxuICAgICsgXCImYT1cIlxuICAgICsgYWxpYXM1KCgoaGVscGVyID0gKGhlbHBlciA9IGhlbHBlcnMuYXV0b3BsYXkgfHwgKGRlcHRoMCAhPSBudWxsID8gZGVwdGgwLmF1dG9wbGF5IDogZGVwdGgwKSkgIT0gbnVsbCA/IGhlbHBlciA6IGFsaWFzMyksKHR5cGVvZiBoZWxwZXIgPT09IGFsaWFzNCA/IGhlbHBlci5jYWxsKGFsaWFzMix7XCJuYW1lXCI6XCJhdXRvcGxheVwiLFwiaGFzaFwiOnt9LFwiZGF0YVwiOmRhdGF9KSA6IGhlbHBlcikpKVxuICAgICsgXCJcXFwiPjwvaWZyYW1lPlwiO1xufSxcInVzZURhdGFcIjp0cnVlfSk7Il0sIm1hcHBpbmdzIjoiQUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./src/shared/views/share/EmbedString.hbs\n");
15
-
16
- /***/ }),
17
-
18
- /***/ "./src/shared/views/share/Share.hbs":
19
- /***/ (function(module, exports, __webpack_require__) {
20
-
21
- eval("var Handlebars = __webpack_require__(\"handlebars\");\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"1\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable;\n\n return ((stack1 = container.lambda(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.spinnerEl : stack1), depth0)) != null ? stack1 : \"\")\n + \"\\r\\n\";\n},\"3\":function(container,depth0,helpers,partials,data) {\n var stack1, helper, alias1=container.propertyIsEnumerable, alias2=container.lambda, alias3=container.escapeExpression, alias4=depth0 != null ? depth0 : (container.nullContext || {}), alias5=container.hooks.helperMissing;\n\n return \"\\r\\n<div class=\\\"\"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.container : stack1), depth0))\n + \"\\\">\\r\\n <label for=\\\"share-input\\\" class=\\\"mb-0 h6\\\">\"\n + alias3((helpers.lang||(depth0 && depth0.lang)||alias5).call(alias4,\"shareLink\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</label>\\r\\n <div class=\\\"input-group mb-2\\\">\\r\\n <input type=\\\"text\\\" autocomplete=\\\"off\\\" class=\\\"form-control \"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.shareInput : stack1), depth0))\n + \"\\\" id=\\\"share-input\\\" spellcheck=\\\"false\\\" readonly=\\\"true\\\" value=\"\n + alias3(((helper = (helper = helpers.shortUrl || (depth0 != null ? depth0.shortUrl : depth0)) != null ? helper : alias5),(typeof helper === \"function\" ? helper.call(alias4,{\"name\":\"shortUrl\",\"hash\":{},\"data\":data}) : helper)))\n + \">\\r\\n <div class=\\\"input-group-append\\\">\\r\\n <button class=\\\"btn bg-white copy \"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.copyBtn : stack1), depth0))\n + \"\\\" type=\\\"button\\\" data-clipboard-target=\\\"#share-input\\\">\"\n + alias3((helpers.lang||(depth0 && depth0.lang)||alias5).call(alias4,\"copy\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</button>\\r\\n </div>\\r\\n </div>\\r\\n\\r\\n\"\n + ((stack1 = helpers.unless.call(alias4,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.showEmbed : stack1),{\"name\":\"unless\",\"hash\":{},\"fn\":container.program(4, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + \"\\r\\n\"\n + ((stack1 = helpers[\"if\"].call(alias4,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.showEmbed : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(6, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + \"</div>\\r\\n\";\n},\"4\":function(container,depth0,helpers,partials,data) {\n var alias1=container.propertyIsEnumerable;\n\n return \" <small class=\\\"embed-toggle\\\"><a class=\\\"text-info cursor-pointer hover-text-underline\\\">\"\n + container.escapeExpression((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),\"showOptions\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</a></small>\\r\\n\";\n},\"6\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable, alias2=depth0 != null ? depth0 : (container.nullContext || {}), alias3=container.hooks.helperMissing, alias4=container.escapeExpression, alias5=container.lambda;\n\n return \" <hr class=\\\"mt-4\\\">\\r\\n <label for=\\\"link-options-input\\\" class=\\\"mb-2 h6\\\">\"\n + alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,\"linkOptions\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</label>\\r\\n <div class=\\\"custom-control custom-checkbox mb-2\\\">\\r\\n <input type=\\\"checkbox\\\" autocomplete=\\\"off\\\" class=\\\"custom-control-input public-checkbox\\\" id=\\\"public-checkbox\\\" name=\\\"public\\\" \"\n + ((stack1 = helpers.unless.call(alias2,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.canPublicShare : stack1),{\"name\":\"unless\",\"hash\":{},\"fn\":container.program(7, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + \">\\r\\n <label class=\\\"custom-control-label\\\" for=\\\"public-checkbox\\\">\"\n + alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,\"publicCheckbox\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</label>\\r\\n \"\n + ((stack1 = helpers.unless.call(alias2,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.canPublicShare : stack1),{\"name\":\"unless\",\"hash\":{},\"fn\":container.program(9, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + \"\\r\\n </div>\\r\\n <hr class=\\\"mt-4\\\">\\r\\n <label for=\\\"embed-input\\\" class=\\\"mb-0 mt-2 h6\\\">\"\n + alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,\"embed\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</label>\\r\\n <div class=\\\"input-group mb-2 \"\n + alias4(alias5(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.textareaContainer : stack1), depth0))\n + \"\\\">\\r\\n <textarea type=\\\"text\\\" class=\\\"form-control rounded w-100 h-100 \"\n + alias4(alias5(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.embedInput : stack1), depth0))\n + \"\\\" id=\\\"embed-input\\\" spellcheck=\\\"false\\\" readonly=\\\"true\\\">\"\n + alias4(alias5(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.embedString : stack1), depth0))\n + \"</textarea>\\r\\n <div class=\\\"input-group-append \"\n + alias4(alias5(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.embedCopyBtn : stack1), depth0))\n + \" rounded\\\">\\r\\n <button class=\\\"btn bg-white copy \"\n + alias4(alias5(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.copyBtn : stack1), depth0))\n + \"\\\" type=\\\"button\\\" data-clipboard-target=\\\"#embed-input\\\">\"\n + alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,\"copy\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</button>\\r\\n </div>\\r\\n </div>\\r\\n\"\n + ((stack1 = helpers[\"if\"].call(alias2,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.videoSizes : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(11, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + \" <div class=\\\"custom-control custom-checkbox d-inline-block\\\">\\r\\n <input type=\\\"checkbox\\\" autocomplete=\\\"off\\\" class=\\\"custom-control-input autoplay-checkbox\\\" id=\\\"autoplay-checkbox\\\" name=\\\"autoplay\\\">\\r\\n <label class=\\\"custom-control-label\\\" for=\\\"autoplay-checkbox\\\">\"\n + alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,\"autoplay\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</label>\\r\\n </div>\\r\\n\";\n},\"7\":function(container,depth0,helpers,partials,data) {\n return \"disabled\";\n},\"9\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable;\n\n return \"<div class=\\\"text-muted\\\">\"\n + container.escapeExpression(container.lambda(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.cannotPublicShareText : stack1), depth0))\n + \"</div>\";\n},\"11\":function(container,depth0,helpers,partials,data) {\n var alias1=container.propertyIsEnumerable;\n\n return \" <label for=\\\"size-select\\\" class=\\\"d-block pt-2 h6\\\">\"\n + container.escapeExpression((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),\"playerSize\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</label>\\r\\n <select class=\\\"custom-select w-25 mr-4 size-select\\\" id=\\\"#size-select\\\" name=\\\"selectedVideoSize\\\"></select>\\r\\n\";\n},\"compiler\":[8,\">= 4.3.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable;\n\n return ((stack1 = helpers[\"if\"].call(depth0 != null ? depth0 : (container.nullContext || {}),((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.showLoader : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.program(3, data, 0),\"data\":data})) != null ? stack1 : \"\");\n},\"useData\":true});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvc2hhcmVkL3ZpZXdzL3NoYXJlL1NoYXJlLmhicy5qcyIsInNvdXJjZXMiOlsiZmlsZTovL0M6L0NsaWNrVmlldyBQcm9qZWN0cy9jbGlja3ZpZXcvcGFja2FnZXMvcHJvamVjdHMvbGlicmFyeS1lZGl0b3Ivc3JjL3NoYXJlZC92aWV3cy9zaGFyZS9TaGFyZS5oYnMiXSwic291cmNlc0NvbnRlbnQiOlsidmFyIEhhbmRsZWJhcnMgPSByZXF1aXJlKCdoYW5kbGViYXJzJyk7XG5tb2R1bGUuZXhwb3J0cyA9IChIYW5kbGViYXJzWydkZWZhdWx0J10gfHwgSGFuZGxlYmFycykudGVtcGxhdGUoe1wiMVwiOmZ1bmN0aW9uKGNvbnRhaW5lcixkZXB0aDAsaGVscGVycyxwYXJ0aWFscyxkYXRhKSB7XG4gICAgdmFyIHN0YWNrMSwgYWxpYXMxPWNvbnRhaW5lci5wcm9wZXJ0eUlzRW51bWVyYWJsZTtcblxuICByZXR1cm4gKChzdGFjazEgPSBjb250YWluZXIubGFtYmRhKCgoc3RhY2sxID0gKGRlcHRoMCAhPSBudWxsID8gZGVwdGgwLm9wdGlvbnMgOiBkZXB0aDApKSAhPSBudWxsID8gc3RhY2sxLnNwaW5uZXJFbCA6IHN0YWNrMSksIGRlcHRoMCkpICE9IG51bGwgPyBzdGFjazEgOiBcIlwiKVxuICAgICsgXCJcXHJcXG5cIjtcbn0sXCIzXCI6ZnVuY3Rpb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TtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./src/shared/views/share/Share.hbs\n");
22
-
23
- /***/ }),
24
-
25
- /***/ "./src/shared/views/share/ShareFooter.hbs":
26
- /***/ (function(module, exports, __webpack_require__) {
27
-
28
- 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 \"<small class=\\\"text-left w-100 mb-0 \"\n + alias3(alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.footerTextClass : stack1), depth0))\n + \"\\\">\"\n + alias3(alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.privacyDescription : stack1), depth0))\n + \"</small>\";\n},\"useData\":true});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvc2hhcmVkL3ZpZXdzL3NoYXJlL1NoYXJlRm9vdGVyLmhicy5qcyIsInNvdXJjZXMiOlsiZmlsZTovL0M6L0NsaWNrVmlldyBQcm9qZWN0cy9jbGlja3ZpZXcvcGFja2FnZXMvcHJvamVjdHMvbGlicmFyeS1lZGl0b3Ivc3JjL3NoYXJlZC92aWV3cy9zaGFyZS9TaGFyZUZvb3Rlci5oYnMiXSwic291cmNlc0NvbnRlbnQiOlsidmFyIEhhbmRsZWJhcnMgPSByZXF1aXJlKCdoYW5kbGViYXJzJyk7XG5tb2R1bGUuZXhwb3J0cyA9IChIYW5kbGViYXJzWydkZWZhdWx0J10gfHwgSGFuZGxlYmFycykudGVtcGxhdGUoe1wiY29tcGlsZXJcIjpbOCxcIj49IDQuMy4wXCJdLFwibWFpblwiOmZ1bmN0aW9uKGNvbnRhaW5lcixkZXB0aDAsaGVscGVycyxwYXJ0aWFscyxkYXRhKSB7XG4gICAgdmFyIHN0YWNrMSwgYWxpYXMxPWNvbnRhaW5lci5wcm9wZXJ0eUlzRW51bWVyYWJsZSwgYWxpYXMyPWNvbnRhaW5lci5sYW1iZGEsIGFsaWFzMz1jb250YWluZXIuZXNjYXBlRXhwcmVzc2lvbjtcblxuICByZXR1cm4gXCI8c21hbGwgY2xhc3M9XFxcInRleHQtbGVmdCB3LTEwMCBtYi0wIFwiXG4gICAgKyBhbGlhczMoYWxpYXMyKCgoc3RhY2sxID0gKGRlcHRoMCAhPSBudWxsID8gZGVwdGgwLm9wdGlvbnMgOiBkZXB0aDApKSAhPSBudWxsID8gc3RhY2sxLmZvb3RlclRleHRDbGFzcyA6IHN0YWNrMSksIGRlcHRoMCkpXG4gICAgKyBcIlxcXCI+XCJcbiAgICArIGFsaWFzMyhhbGlhczIoKChzdGFjazEgPSAoZGVwdGgwICE9IG51bGwgPyBkZXB0aDAub3B0aW9ucyA6IGRlcHRoMCkpICE9IG51bGwgPyBzdGFjazEucHJpdmFjeURlc2NyaXB0aW9uIDogc3RhY2sxKSwgZGVwdGgwKSlcbiAgICArIFwiPC9zbWFsbD5cIjtcbn0sXCJ1c2VEYXRhXCI6dHJ1ZX0pOyJdLCJtYXBwaW5ncyI6IkFBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./src/shared/views/share/ShareFooter.hbs\n");
29
-
30
- /***/ }),
31
-
32
- /***/ "./src/shared/views/share/ShareView.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__, \"ShareView\", function() { return ShareView; });\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 clipboard__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\"clipboard\");\n/* harmony import */ var clipboard__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(clipboard__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var libs_common_backbone_services_InstanceManager__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\"../../libs/common/src/backbone/services/InstanceManager.ts\");\n/* harmony import */ var libs_common_backbone_services_ViewModelService__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\"../../libs/common/src/backbone/services/ViewModelService.ts\");\n/* harmony import */ var libs_common_core__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(\"../../libs/common/src/backbone/index.ts\");\n/* harmony import */ var libs_common_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(\"../../libs/common/src/backbone/services/LanguageService.tsx\");\n/* harmony import */ var libs_common_backbone_utils_UrlHelper__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(\"../../libs/common/src/backbone/utils/UrlHelper.ts\");\n/* harmony import */ var libs_shared_utils_EmbedHelper__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(\"../../libs/shared/src/utils/EmbedHelper.ts\");\n/* harmony import */ var shared_behaviors__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(\"./src/shared/behaviors/index.ts\");\n/* harmony import */ var shared_services_ConfigDataService__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(\"./src/shared/services/ConfigDataService.ts\");\n/* harmony import */ var shared_constants_Services__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(\"./src/shared/constants/Services.ts\");\n/* harmony import */ var shared_enums__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(\"./src/shared/enums/index.ts\");\n/* harmony import */ var shared_utils__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(\"./src/shared/utils/index.ts\");\n/* harmony import */ var _share_scss__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(\"./src/shared/views/share/share.scss\");\n/* harmony import */ var _share_scss__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(_share_scss__WEBPACK_IMPORTED_MODULE_13__);\n/* harmony import */ var _Share_hbs__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(\"./src/shared/views/share/Share.hbs\");\n/* harmony import */ var _Share_hbs__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(_Share_hbs__WEBPACK_IMPORTED_MODULE_14__);\n/* harmony import */ var _ShareFooter_hbs__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(\"./src/shared/views/share/ShareFooter.hbs\");\n/* harmony import */ var _ShareFooter_hbs__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(_ShareFooter_hbs__WEBPACK_IMPORTED_MODULE_15__);\n/* harmony import */ var _EmbedString_hbs__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(\"./src/shared/views/share/EmbedString.hbs\");\n/* harmony import */ var _EmbedString_hbs__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(_EmbedString_hbs__WEBPACK_IMPORTED_MODULE_16__);\n/* harmony import */ var shared_constants__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(\"./src/shared/constants/index.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 _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\n\n\n\n\n\n\n\n\n\n\n\n\nvar ShareFooterComponent = /*#__PURE__*/function (_Core$Component) {\n _inherits(ShareFooterComponent, _Core$Component);\n\n var _super = _createSuper(ShareFooterComponent);\n\n function ShareFooterComponent(options) {\n _classCallCheck(this, ShareFooterComponent);\n\n return _super.call(this, options);\n }\n\n _createClass(ShareFooterComponent, [{\n key: \"name\",\n get: function get() {\n return 'ShareFooterComponent';\n }\n }, {\n key: \"className\",\n get: function get() {\n return 'modal-footer bg-light rounded-bottom';\n }\n }, {\n key: \"template\",\n get: function get() {\n return _ShareFooter_hbs__WEBPACK_IMPORTED_MODULE_15___default.a;\n }\n }, {\n key: \"viewOptions\",\n value: function viewOptions() {\n return {\n footerTextClass: _share_scss__WEBPACK_IMPORTED_MODULE_13___default.a.footerText,\n privacyDescription: this.options.privacyDescription\n };\n }\n }]);\n\n return ShareFooterComponent;\n}(libs_common_core__WEBPACK_IMPORTED_MODULE_4__[\"Core\"].Component);\n\nvar ShareView = /*#__PURE__*/function (_Core$View) {\n _inherits(ShareView, _Core$View);\n\n var _super2 = _createSuper(ShareView);\n\n function ShareView(options) {\n var _this;\n\n _classCallCheck(this, ShareView);\n\n _this = _super2.call(this, options);\n _this.clipboards = [];\n return _this;\n }\n\n _createClass(ShareView, [{\n key: \"initialize\",\n value: function initialize() {\n this.setUpViewModel();\n this.bindListeners();\n this.videoDataService = libs_common_backbone_services_InstanceManager__WEBPACK_IMPORTED_MODULE_2__[\"InstanceManager\"].getInstance(shared_constants_Services__WEBPACK_IMPORTED_MODULE_10__[\"DataServices\"].Video, this);\n }\n }, {\n key: \"name\",\n get: function get() {\n return 'ShareView';\n }\n }, {\n key: \"title\",\n get: function get() {\n return false;\n }\n }, {\n key: \"template\",\n get: function get() {\n return _Share_hbs__WEBPACK_IMPORTED_MODULE_14___default.a;\n }\n }, {\n key: \"lang\",\n get: function get() {\n return 'shared.share';\n }\n }, {\n key: \"props\",\n get: function get() {\n return ['videoId'];\n }\n }, {\n key: \"elements\",\n get: function get() {\n return {\n copy: '.copy',\n embedToggle: '.embed-toggle'\n };\n }\n }, {\n key: \"events\",\n value: function events() {\n return {\n 'click @ui.copy': 'onClickCopy',\n 'click @ui.embedToggle': 'onClickEmbed'\n };\n }\n }, {\n key: \"regions\",\n value: function regions() {\n return {\n container: {\n el: \".\".concat(_share_scss__WEBPACK_IMPORTED_MODULE_13___default.a.container),\n replaceElement: false\n },\n footer: {\n el: '.modal-footer',\n replaceElement: true\n }\n };\n }\n }, {\n key: \"defaults\",\n get: function get() {\n return {\n autoplay: false,\n selectedVideoSize: 0,\n videoSizes: libs_shared_utils_EmbedHelper__WEBPACK_IMPORTED_MODULE_7__[\"EmbedHelper\"].getEmbedResolutions()\n };\n }\n }, {\n key: \"behaviors\",\n get: function get() {\n return [{\n behaviorClass: shared_behaviors__WEBPACK_IMPORTED_MODULE_8__[\"PopupBehavior\"],\n title: libs_common_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_5__[\"LanguageService\"].getPhrase(this.lang, 'share'),\n hideCloseButton: true\n }, {\n behaviorClass: shared_behaviors__WEBPACK_IMPORTED_MODULE_8__[\"StickitBehavior\"],\n bindViewModel: true\n }];\n }\n }, {\n key: \"bindListeners\",\n value: function bindListeners() {\n this.listenTo(this.viewModel, 'change:autoplay change:selectedVideoSize', this.render);\n this.listenTo(this.viewModel, 'change:public', this.onTogglePublic);\n this.listenTo(shared_constants__WEBPACK_IMPORTED_MODULE_17__[\"DataChannels\"].VIDEO, \"\".concat(shared_constants__WEBPACK_IMPORTED_MODULE_17__[\"DataPrefixes\"].VIDEOS, \":\").concat(this.options.videoId, \":sync\"), this.render);\n }\n }, {\n key: \"bindings\",\n get: function get() {\n var _this2 = this;\n\n var collection = function collection() {\n return underscore__WEBPACK_IMPORTED_MODULE_0__[\"map\"](_this2.options.videoSizes, function (item, index) {\n return {\n label: item.label,\n value: index\n };\n });\n };\n\n return {\n '[name=autoplay]': 'autoplay',\n '[name=selectedVideoSize]': {\n observe: 'selectedVideoSize',\n selectOptions: {\n collection: collection\n }\n },\n '[name=public]': 'public'\n };\n }\n }, {\n key: \"setUpViewModel\",\n value: function setUpViewModel() {\n this.viewModel = libs_common_backbone_services_ViewModelService__WEBPACK_IMPORTED_MODULE_3__[\"ViewModelService\"].get(\"share:\".concat(this.options.videoId), this.options);\n }\n }, {\n key: \"onTogglePublic\",\n value: function onTogglePublic() {\n var _this3 = this;\n\n var privacy = this.viewModel.get('public') ? shared_enums__WEBPACK_IMPORTED_MODULE_11__[\"SharedResourcePrivacy\"].Public : shared_enums__WEBPACK_IMPORTED_MODULE_11__[\"SharedResourcePrivacy\"].SchoolOnly;\n this.videoDataService.getSharedResource(this.videoId, privacy, function (data) {\n /**\r\n * This is a hack fixing staging shortcode api returning a stale privacy id\r\n */\n data.set('privacyId', privacy);\n\n _this3.onSharedResourceSync(data);\n });\n }\n }, {\n key: \"updateViewModel\",\n value: function updateViewModel() {\n this.viewModel.set('public', this.model.get('privacyId') === shared_enums__WEBPACK_IMPORTED_MODULE_11__[\"SharedResourcePrivacy\"].Public, {\n silent: true\n });\n }\n }, {\n key: \"onSharedResourceSync\",\n value: function onSharedResourceSync(data) {\n this.model = data;\n this.updateViewModel();\n this.render();\n }\n }, {\n key: \"fetchData\",\n value: function fetchData() {\n this.video = this.videoDataService.getVideo(this.videoId);\n if (this.model) return;\n this.videoDataService.getSharedResource(this.videoId, null, underscore__WEBPACK_IMPORTED_MODULE_0__[\"bind\"](this.onSharedResourceSync, this));\n }\n }, {\n key: \"buildEmbedString\",\n value: function buildEmbedString() {\n var embedOptions = underscore__WEBPACK_IMPORTED_MODULE_0__[\"extend\"]({}, this.model.toJSON(), this.viewModel.toJSON());\n\n var selectedSize = this.options.videoSizes[embedOptions.selectedVideoSize];\n var isResponsive = selectedSize.height === '100%' && selectedSize.width === '100%';\n embedOptions.videoSize = selectedSize;\n embedOptions.baseUrl = libs_common_backbone_utils_UrlHelper__WEBPACK_IMPORTED_MODULE_6__[\"UrlHelper\"].safeUrlConcat(this.config.get('onlineUrl'), '/share/embed');\n embedOptions.isResponsive = isResponsive;\n var iframeTemplate = _EmbedString_hbs__WEBPACK_IMPORTED_MODULE_16___default()(embedOptions);\n return isResponsive ? \"<div style=\\\"padding:56.25% 0 0 0; position:relative;\\\">\".concat(iframeTemplate, \"</div>\") : iframeTemplate;\n }\n }, {\n key: \"onClickEmbed\",\n value: function onClickEmbed() {\n this.viewModel.set('showEmbed', true);\n this.render();\n }\n }, {\n key: \"onClickCopy\",\n value: function onClickCopy(e) {\n this.$(e.currentTarget).text(libs_common_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_5__[\"LanguageService\"].getPhrase(this.lang, 'copied'));\n }\n }, {\n key: \"getPrivacyDescription\",\n value: function getPrivacyDescription(privacy) {\n switch (privacy) {\n case shared_enums__WEBPACK_IMPORTED_MODULE_11__[\"SharedResourcePrivacy\"][shared_enums__WEBPACK_IMPORTED_MODULE_11__[\"SharedResourcePrivacy\"].Private]:\n return libs_common_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_5__[\"LanguageService\"].getPhrase(this.lang, 'private');\n\n case shared_enums__WEBPACK_IMPORTED_MODULE_11__[\"SharedResourcePrivacy\"][shared_enums__WEBPACK_IMPORTED_MODULE_11__[\"SharedResourcePrivacy\"].SchoolOnly]:\n return libs_common_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_5__[\"LanguageService\"].getPhrase(this.lang, 'schoolOnly');\n\n case shared_enums__WEBPACK_IMPORTED_MODULE_11__[\"SharedResourcePrivacy\"][shared_enums__WEBPACK_IMPORTED_MODULE_11__[\"SharedResourcePrivacy\"].Public]:\n return libs_common_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_5__[\"LanguageService\"].getPhrase(this.lang, 'public');\n\n default:\n return '';\n }\n }\n }, {\n key: \"initClipboards\",\n value: function initClipboards() {\n var _this4 = this;\n\n this.destroyClipboards();\n this.getUI('copy').each(function (index, element) {\n _this4.clipboards.push(new clipboard__WEBPACK_IMPORTED_MODULE_1__(element));\n });\n }\n }, {\n key: \"destroyClipboards\",\n value: function destroyClipboards() {\n underscore__WEBPACK_IMPORTED_MODULE_0__[\"each\"](this.clipboards, function (cp) {\n return cp.destroy();\n });\n\n this.clipboards = [];\n }\n }, {\n key: \"requiredResources\",\n get: function get() {\n return {\n config: shared_services_ConfigDataService__WEBPACK_IMPORTED_MODULE_9__[\"ConfigDataServiceHelper\"].config\n };\n }\n }, {\n key: \"getCannotPublicShareText\",\n value: function getCannotPublicShareText() {\n if (!this.video) return '';\n if (shared_utils__WEBPACK_IMPORTED_MODULE_12__[\"VideoHelper\"].isExchangeVideo(this.video)) return libs_common_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_5__[\"LanguageService\"].getPhrase(this.lang, 'cannotShareExchange');\n return libs_common_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_5__[\"LanguageService\"].getPhrase(this.lang, 'cannotShareClickView');\n }\n }, {\n key: \"onBeforeDestroy\",\n value: function onBeforeDestroy() {\n this.destroyClipboards();\n }\n }, {\n key: \"renderFooter\",\n value: function renderFooter() {\n var privacyDescription = this.model && this.getPrivacyDescription(this.model.get('privacy'));\n this.showChildView('footer', new ShareFooterComponent({\n privacyDescription: privacyDescription\n }));\n }\n }, {\n key: \"viewOptions\",\n value: function viewOptions() {\n return Object.assign(Object.assign({\n styles: _share_scss__WEBPACK_IMPORTED_MODULE_13___default.a\n }, this.viewModel.toJSON()), {\n embedString: this.model && this.buildEmbedString(),\n spinnerEl: shared_utils__WEBPACK_IMPORTED_MODULE_12__[\"SpinnerHelper\"].getSpinner({\n size: shared_utils__WEBPACK_IMPORTED_MODULE_12__[\"SpinnerSize\"].Large,\n extraClasses: 'mx-auto'\n }),\n showLoader: !this.model || !this.video,\n canPublicShare: this.video && shared_utils__WEBPACK_IMPORTED_MODULE_12__[\"PermissionsHelper\"].canPublicShare(this.video),\n cannotPublicShareText: this.getCannotPublicShareText()\n });\n }\n }, {\n key: \"onBeforeRender\",\n value: function onBeforeRender() {\n this.fetchData();\n }\n }, {\n key: \"onRender\",\n value: function onRender() {\n this.initClipboards();\n this.renderFooter();\n }\n }]);\n\n return ShareView;\n}(libs_common_core__WEBPACK_IMPORTED_MODULE_4__[\"Core\"].View);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvc2hhcmVkL3ZpZXdzL3NoYXJlL1NoYXJlVmlldy50cy5qcyIsInNvdXJjZXMiOlsiZmlsZTovL0M6L0NsaWNrVmlldyBQcm9qZWN0cy9jbGlja3ZpZXcvcGFja2FnZXMvcHJvamVjdHMvbGlicmFyeS1lZGl0b3Ivc3JjL3NoYXJlZC92aWV3cy9zaGFyZS9TaGFyZVZpZXcudHMiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0ICogYXMgXyBmcm9tICd1bmRlcnNjb3JlJztcclxuaW1wb3J0IHsgT2JqZWN0SGFzaCB9IGZyb20gJ2JhY2tib25lJztcclxuaW1wb3J0ICogYXMgQ2xpcGJvYXJkSlMgZnJvbSAnY2xpcGJvYXJkJztcclxuXHJcbmltcG9ydCB7IEluc3RhbmNlTWFuYWdlciB9IGZyb20gJ2xpYnMvY29tbW9uL2JhY2tib25lL3NlcnZpY2VzL0luc3RhbmNlTWFuYWdlcic7XHJcbmltcG9ydCB7IFZpZXdNb2RlbFNlcnZpY2UgfSBmcm9tICdsaWJzL2NvbW1vbi9iYWNrYm9uZS9zZXJ2aWNlcy9WaWV3TW9kZWxTZXJ2aWNlJztcclxuaW1wb3J0IHsgQ29yZSB9IGZyb20gJ2xpYnMvY29tbW9uL2NvcmUnO1xyXG5pbXBvcnQgeyBMYW5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0FBRUE7QUFFQTtBQWhKQTtBQUFBO0FBQUE7QUFtSkE7QUFDQTtBQUNBO0FBQ0E7QUFFQTtBQUNBO0FBQ0E7QUFFQTtBQUVBO0FBR0E7QUFqS0E7QUFBQTtBQUFBO0FBb0tBO0FBQ0E7QUFDQTtBQXRLQTtBQUFBO0FBQUE7QUF5S0E7QUFDQTtBQTFLQTtBQUFBO0FBQUE7QUE2S0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBWEE7QUFhQTtBQTFMQTtBQUFBO0FBQUE7QUE0TEE7QUFDQTtBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFqTUE7QUFBQTtBQUFBO0FBb01BO0FBQUE7QUFBQTtBQUNBO0FBQUE7QUFDQTtBQXRNQTtBQUFBO0FBQUE7QUF5TUE7QUFDQTtBQURBO0FBR0E7QUE1TUE7QUFBQTtBQUFBO0FBK01BO0FBR0E7QUFHQTtBQUNBO0FBdE5BO0FBQUE7QUFBQTtBQXlOQTtBQUNBO0FBMU5BO0FBQUE7QUFBQTtBQTZOQTtBQUVBO0FBQ0E7QUFEQTtBQUdBO0FBbE9BO0FBQUE7QUFBQTtBQXFPQTtBQUNBO0FBREE7QUFHQTtBQUNBO0FBQUE7QUFBQTtBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBTEE7QUFPQTtBQTlPQTtBQUFBO0FBQUE7QUFpUEE7QUFDQTtBQWxQQTtBQUFBO0FBQUE7QUFxUEE7QUFDQTtBQUNBO0FBdlBBO0FBQ0E7QUFEQTtBQUFBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./src/shared/views/share/ShareView.ts\n");
37
-
38
- /***/ }),
39
-
40
- /***/ "./src/shared/views/share/share.scss":
41
- /***/ (function(module, exports, __webpack_require__) {
42
-
43
- eval("// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"cv--container--2SYyd\",\"embedInput\":\"cv--embedInput--ozkKz\",\"textareaContainer\":\"cv--textareaContainer--1monr\",\"shareInput\":\"cv--shareInput--36Arj\",\"copyBtn\":\"cv--copyBtn--2UGxe\",\"embedCopyBtn\":\"cv--embedCopyBtn--gaJap\",\"footerText\":\"cv--footerText--3ydjG\"};//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvc2hhcmVkL3ZpZXdzL3NoYXJlL3NoYXJlLnNjc3MuanMiLCJzb3VyY2VzIjpbImZpbGU6Ly9DOi9DbGlja1ZpZXcgUHJvamVjdHMvY2xpY2t2aWV3L3BhY2thZ2VzL3Byb2plY3RzL2xpYnJhcnktZWRpdG9yL3NyYy9zaGFyZWQvdmlld3Mvc2hhcmUvc2hhcmUuc2NzcyJdLCJzb3VyY2VzQ29udGVudCI6WyIvLyBleHRyYWN0ZWQgYnkgbWluaS1jc3MtZXh0cmFjdC1wbHVnaW5cbm1vZHVsZS5leHBvcnRzID0ge1wiY29udGFpbmVyXCI6XCJjdi0tY29udGFpbmVyLS0yU1l5ZFwiLFwiZW1iZWRJbnB1dFwiOlwiY3YtLWVtYmVkSW5wdXQtLW96a0t6XCIsXCJ0ZXh0YXJlYUNvbnRhaW5lclwiOlwiY3YtLXRleHRhcmVhQ29udGFpbmVyLS0xbW9uclwiLFwic2hhcmVJbnB1dFwiOlwiY3YtLXNoYXJlSW5wdXQtLTM2QXJqXCIsXCJjb3B5QnRuXCI6XCJjdi0tY29weUJ0bi0tMlVHeGVcIixcImVtYmVkQ29weUJ0blwiOlwiY3YtLWVtYmVkQ29weUJ0bi0tZ2FKYXBcIixcImZvb3RlclRleHRcIjpcImN2LS1mb290ZXJUZXh0LS0zeWRqR1wifTsiXSwibWFwcGluZ3MiOiJBQUFBO0FBQ0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./src/shared/views/share/share.scss\n");
44
-
45
- /***/ })
46
-
47
- }]);
@@ -1 +0,0 @@
1
- (window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[24],{1223:function(e,n,t){"use strict";var o,i;t.d(n,"b",(function(){return o})),t.d(n,"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,n,t){e.exports={lock:"_25RMJ",svgContainer:"_1k8KB"}},1225:function(e,n,t){e.exports={dragItem:"_2TIZ7",svgContainer:"_3JzEU",dragText:"_1Kdwj"}},1226:function(e,n,t){var o=t(10);e.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(e,n,t,o,i){e.propertyIsEnumerable;var r,a=e.lambda,l=e.escapeExpression;return'<span class="'+l(a(null!=(r=null!=(r=null!=n?n.options:n)?r.styles:r)?r.svgContainer:r,n))+' mr-2">'+(null!=(r=a(null!=(r=null!=n?n.options:n)?r.svg:r,n))?r:"")+'</span>\r\n<span class="'+l(a(null!=(r=null!=(r=null!=n?n.options:n)?r.styles:r)?r.dragText:r,n))+'">'+l(a(null!=(r=null!=n?n.options:n)?r.text:r,n))+"</span>"},useData:!0})},1235:function(e,n,t){e.exports={actions:"_34Z19",showPreview:"cZAmH"}},1237:function(e,n,t){var o=t(10);e.exports=(o.default||o).template({1:function(e,n,t,o,i){return" cursor-pointer"},3:function(e,n,t,o,i){return"checked"},5:function(e,n,t,o,i){return"disabled"},compiler:[8,">= 4.3.0"],main:function(e,n,t,o,i){e.propertyIsEnumerable;var r,a=e.lambda,l=e.escapeExpression,s=null!=n?n:e.nullContext||{};return'<div class="custom-control custom-checkbox '+l(a(null!=(r=null!=n?n.options:n)?r.checkboxClassName:r,n))+'">\r\n <input name="checkbox-'+l(a(null!=(r=null!=n?n.options:n)?r.id:r,n))+'" id="checkbox-'+l(a(null!=(r=null!=n?n.options:n)?r.id:r,n))+'" type="checkbox" class="custom-control-input'+(null!=(r=t.unless.call(s,null!=(r=null!=n?n.options:n)?r.disabled:r,{name:"unless",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i}))?r:"")+'" '+(null!=(r=t.if.call(s,null!=(r=null!=n?n.options:n)?r.checked:r,{name:"if",hash:{},fn:e.program(3,i,0),inverse:e.noop,data:i}))?r:"")+" "+(null!=(r=t.if.call(s,null!=(r=null!=n?n.options:n)?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=t.unless.call(s,null!=(r=null!=n?n.options:n)?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!=n?n.options:n)?r.id:r,n))+'">&nbsp;</label>\r\n</div>'},useData:!0})},1242:function(e,n,t){"use strict";var o=t(1225),i=t.n(o),r=t(1226),a=t.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,n){for(var t=0;t<n.length;t++){var o=n[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function c(e,n){return(c=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e})(e,n)}function u(e){var n=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 t,o=f(e);if(n){var i=f(this).constructor;t=Reflect.construct(o,arguments,i)}else t=o.apply(this,arguments);return p(this,t)}}function p(e,n){return!n||"object"!==l(n)&&"function"!=typeof n?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):n}function f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var h=function(e){!function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&c(e,n)}(l,e);var n,t,o,r=u(l);function l(e){return function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,l),r.call(this,e)}return n=l,(t=[{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(n.prototype,t),o&&s(n,o),l}(t(2).a.Component),d={delay:150,cursorAt:{left:-20,top:10},refreshPositions:!0};t.d(n,"c",(function(){return i.a})),t.d(n,"b",(function(){return h})),t.d(n,"a",(function(){return d}))},1243:function(e,n,t){e.exports={checkboxContainer:"_3BLCF",thumbnailContainer:"_16jlV",metaContainer:"_2mMws",actionsContainer:"I31I0",allowBulk:"_2VkOe",videoItem:"PoHa-",processingVideo:"qFjv2",bulkPlaceholder:"_3iAFa",previewContainer:"_2UBZX"}},1244:function(e,n,t){"use strict";t.d(n,"a",(function(){return g})),t.d(n,"b",(function(){return m}));var o=t(1),i=t(2),r=t(1237),a=t.n(r),l=t(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,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function u(e,n){for(var t=0;t<n.length;t++){var o=n[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function p(e,n){return(p=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e})(e,n)}function f(e){var n=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 t,o=d(e);if(n){var i=d(this).constructor;t=Reflect.construct(o,arguments,i)}else t=o.apply(this,arguments);return h(this,t)}}function h(e,n){return!n||"object"!==s(n)&&"function"!=typeof n?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):n}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var g="checkbox-all",m=function(e){!function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&p(e,n)}(s,e);var n,t,i,r=f(s);function s(e){return function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,s),r.call(this,e)}return n=s,(t=[{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(n.prototype,t),i&&u(n,i),s}(i.a.Component)},1245:function(e,n,t){"use strict";var o=t(0),i=t(81),r=t(190),a=t(192),l=t(1251),s=t(1),c=t(2),u=t(15),p=t(133),f=t(12),h=t(1228),d=t(1257),g=t.n(d),m=t(1258),y=t.n(m);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,n){for(var t=0;t<n.length;t++){var o=n[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function k(e,n){return(k=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e})(e,n)}function w(e){var n=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 t,o=O(e);if(n){var i=O(this).constructor;t=Reflect.construct(o,arguments,i)}else t=o.apply(this,arguments);return C(this,t)}}function C(e,n){return!n||"object"!==v(n)&&"function"!=typeof n?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):n}function O(e){return(O=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var S=function(e){!function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&k(e,n)}(r,e);var n,t,o,i=w(r);function r(e){return function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,r),i.call(this,e)}return n=r,(t=[{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),n=this.options.showRestrictionBadge&&f.n.getRestrictionTooltipMessage(this.model);return{styles:y.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,y.a.reviewBadge,y.a.urgentReviewBadge),restrictionMessage:n}}},{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(n.prototype,t),o&&b(n,o),r}(c.a.Component),x=t(1238),E=t(1227),P=t(1259),R=t.n(P),I=t(1224),_=t.n(I);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,n){for(var t=0;t<n.length;t++){var o=n[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function j(e,n){return(j=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e})(e,n)}function M(e){var n=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 t,o=L(e);if(n){var i=L(this).constructor;t=Reflect.construct(o,arguments,i)}else t=o.apply(this,arguments);return D(this,t)}}function D(e,n){return!n||"object"!==T(n)&&"function"!=typeof n?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):n}function L(e){return(L=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var A=function(e){!function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&j(e,n)}(a,e);var n,t,i,r=M(a);function a(e){return function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,a),r.call(this,e)}return n=a,(t=[{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={},n="click .".concat(_.a.svgContainer),t="onClickBadge",n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e;var e,n,t}},{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 x.a(e))}},{key:"renderSeries",value:function(){this.showChildView("series",new E.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:_.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 R.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(n.prototype,t),i&&V(n,i),a}(c.a.Component),N=t(1260),U=t.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,n){for(var t=0;t<n.length;t++){var o=n[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function W(e,n){return(W=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e})(e,n)}function z(e){var n=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 t,o=Y(e);if(n){var i=Y(this).constructor;t=Reflect.construct(o,arguments,i)}else t=o.apply(this,arguments);return F(this,t)}}function F(e,n){return!n||"object"!==B(n)&&"function"!=typeof n?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):n}function Y(e){return(Y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var G=function(e){!function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&W(e,n)}(l,e);var n,t,r,a=z(l);function l(e){return function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,l),a.call(this,e)}return n=l,(t=[{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"},n="click .".concat(_.a.svgContainer),t="onClickMetadata",n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e;var e,n,t}},{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 x.a(e))}}},{key:"renderSeries",value:function(){f.x.hasCustomLibrary(this.model)&&this.showChildView("series",new E.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:_.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(n.prototype,t),r&&H(n,r),l}(c.a.Component),K=t(97),q=t(99),J=t(1261),Z=t.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,n){for(var t=0;t<n.length;t++){var o=n[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function X(e,n){return(X=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e})(e,n)}function ee(e){var n=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 t,o=te(e);if(n){var i=te(this).constructor;t=Reflect.construct(o,arguments,i)}else t=o.apply(this,arguments);return ne(this,t)}}function ne(e,n){return!n||"object"!==Q(n)&&"function"!=typeof n?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):n}function te(e){return(te=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var oe=function(e){!function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&X(e,n)}(a,e);var n,t,i,r=ee(a);function a(e){return function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,a),r.call(this,e)}return n=a,(t=[{key:"initialize",value:function(){this.bindListeners()}},{key:"bindListeners",value:function(){this.model.get("status")===K.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 Z.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]}}}}])&&$(n.prototype,t),i&&$(n,i),a}(c.a.Component),ie=t(1262),re=t.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,n){for(var t=0;t<n.length;t++){var o=n[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function se(e,n){return(se=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e})(e,n)}function ce(e){var n=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 t,o=pe(e);if(n){var i=pe(this).constructor;t=Reflect.construct(o,arguments,i)}else t=o.apply(this,arguments);return ue(this,t)}}function ue(e,n){return!n||"object"!==ae(n)&&"function"!=typeof n?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):n}function pe(e){return(pe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var fe=function(e){!function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&se(e,n)}(a,e);var n,t,o,r=ce(a);function a(e){return function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,a),r.call(this,e)}return n=a,(t=[{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 E.a({model:this.model,highlight:!1,seriesUrl:this.getSeriesUrl()}))}},{key:"viewOptions",value:function(){return{styles:_.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(n.prototype,t),o&&le(n,o),a}(c.a.Component),he=t(1263),de=t.n(he),ge=t(1264),me=t.n(ge);function ye(e){return(ye="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,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function be(e,n){for(var t=0;t<n.length;t++){var o=n[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function ke(e,n){return(ke=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e})(e,n)}function we(e){var n=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 t,o=Oe(e);if(n){var i=Oe(this).constructor;t=Reflect.construct(o,arguments,i)}else t=o.apply(this,arguments);return Ce(this,t)}}function Ce(e,n){return!n||"object"!==ye(n)&&"function"!=typeof n?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):n}function Oe(e){return(Oe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Se=function(e){!function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&ke(e,n)}(a,e);var n,t,o,r=we(a);function a(e){return function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,a),r.call(this,e)}return n=a,(t=[{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(me.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 E.a({model:this.model,highlight:!1,seriesUrl:this.getSeriesUrl()}))}},{key:"viewOptions",value:function(){return{styles:s.extend({},_.a,me.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(n.prototype,t),o&&be(n,o),a}(c.a.Component),xe=t(1265),Ee=t.n(xe);function Pe(e){return(Pe="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 Re(e,n){for(var t=0;t<n.length;t++){var o=n[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Ie(e,n){return(Ie=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e})(e,n)}function _e(e){var n=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 t,o=Ve(e);if(n){var i=Ve(this).constructor;t=Reflect.construct(o,arguments,i)}else t=o.apply(this,arguments);return Te(this,t)}}function Te(e,n){return!n||"object"!==Pe(n)&&"function"!=typeof n?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):n}function Ve(e){return(Ve=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var je=function(e){!function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&Ie(e,n)}(a,e);var n,t,i,r=_e(a);function a(e){return function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,a),r.call(this,e)}return n=a,(t=[{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"},n="click ".concat(_.a.svgContainer),t="onClickSvg",n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e;var e,n,t}},{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(n){return f.v.wordsHighlighter(f.v.escapeExpression(n),e.model.get("_matchedWords"))}))}},{key:"renderSources",value:function(){var e=s.extend({},{model:this.model},this.options.sourceMetadataOptions);this.showChildView("sources",new x.a(e))}},{key:"renderSeries",value:function(){this.showChildView("series",new E.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:_.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 Ee.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")]}}}}])&&Re(n.prototype,t),i&&Re(n,i),a}(c.a.Component),Me=t(6),De=t(1292),Le=t(1266),Ae=t.n(Le),Ne=t(1235),Ue=t.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,n){for(var t=0;t<n.length;t++){var o=n[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function We(e,n){return(We=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e})(e,n)}function ze(e){var n=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 t,o=Ye(e);if(n){var i=Ye(this).constructor;t=Reflect.construct(o,arguments,i)}else t=o.apply(this,arguments);return Fe(this,t)}}function Fe(e,n){return!n||"object"!==Be(n)&&"function"!=typeof n?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):n}function Ye(e){return(Ye=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Ge=function(e){!function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&We(e,n)}(r,e);var n,t,o,i=ze(r);function r(e){return function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,r),i.call(this,e)}return n=r,(t=[{key:"regions",value:function(){return{videoActions:".video-actions-region"}}},{key:"events",value:function(){return e={},n="click .".concat(Ue.a.showPreview),t="onClickShowPreview",n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e;var e,n,t}},{key:"onClickShowPreview",value:function(e){e.stopPropagation(),this.options.channelName&&Me.Radio.channel(this.options.channelName).trigger("click:show:preview")}},{key:"renderVideoActions",value:function(){this.showChildView("videoActions",new De.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 Ae.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(n.prototype,t),o&&He(n,o),r}(c.a.Component),Ke=t(5),qe=t(4),Je=t(42),Ze=t(1267),Qe=t.n(Ze);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,n){for(var t=0;t<n.length;t++){var o=n[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function en(e,n){return(en=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e})(e,n)}function nn(e){var n=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 t,o=on(e);if(n){var i=on(this).constructor;t=Reflect.construct(o,arguments,i)}else t=o.apply(this,arguments);return tn(this,t)}}function tn(e,n){return!n||"object"!==$e(n)&&"function"!=typeof n?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):n}function on(e){return(on=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var rn=function(e){!function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&en(e,n)}(a,e);var n,t,i,r=nn(a);function a(e){return function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,a),r.call(this,e)}return n=a,(t=[{key:"initialize",value:function(){this.restrictedVideoDataService=Ke.a.getInstance(o.g.RestrictedVideo,this)}},{key:"events",value:function(){return e={"click .approve":"onClickApprove","click .applink-manage-video-access":"onClickManageVideoAccess"},n="click .".concat(Ue.a.showPreview),t="onClickShowPreview",n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e;var e,n,t}},{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&&Me.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},n={id:this.model.get("id")};Je.a.logUserAction(n,e)}},{key:"logManageAccessAction",value:function(){var e={location:qe.LocationContext.AwaitingReviewVideoItem,actionType:qe.UserAction.SetAccess,entity:qe.EntityType.Video,workflowPhase:qe.WorkflowPhase.Start},n={id:this.model.get("id")};Je.a.logUserAction(n,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(n.prototype,t),i&&Xe(n,i),a}(c.a.Component),an=t(1268),ln=t.n(an);function sn(e){return(sn="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 cn(e,n){for(var t=0;t<n.length;t++){var o=n[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function un(e,n){return(un=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e})(e,n)}function pn(e){var n=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 t,o=hn(e);if(n){var i=hn(this).constructor;t=Reflect.construct(o,arguments,i)}else t=o.apply(this,arguments);return fn(this,t)}}function fn(e,n){return!n||"object"!==sn(n)&&"function"!=typeof n?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):n}function hn(e){return(hn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var dn=function(e){!function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&un(e,n)}(a,e);var n,t,i,r=pn(a);function a(e){return function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,a),r.call(this,e)}return n=a,(t=[{key:"events",value:function(){return e={"click .applink-manage-video-access":"onClickManageVideoAccess"},n="click .".concat(Ue.a.showPreview),t="onClickShowPreview",n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e;var e,n,t}},{key:"onClickManageVideoAccess",value:function(e){e.stopPropagation(),this.logAction()}},{key:"onClickShowPreview",value:function(e){e.stopPropagation(),this.options.channelName&&Me.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},n={id:this.model.get("id")};Je.a.logUserAction(n,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 ln.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")]}}}}])&&cn(n.prototype,t),i&&cn(n,i),a}(c.a.Component),gn=t(1252),mn=t(1269),yn=t(9),vn=t(3),bn=t(297),kn=t(1254),wn=t(292),Cn=t(1270),On=t.n(Cn);function Sn(e){return(Sn="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 xn(e,n){for(var t=0;t<n.length;t++){var o=n[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function En(e,n){return(En=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e})(e,n)}function Pn(e){var n=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 t,o=In(e);if(n){var i=In(this).constructor;t=Reflect.construct(o,arguments,i)}else t=o.apply(this,arguments);return Rn(this,t)}}function Rn(e,n){return!n||"object"!==Sn(n)&&"function"!=typeof n?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):n}function In(e){return(In=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var _n=function(e){!function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&En(e,n)}(a,e);var n,t,i,r=Pn(a);function a(e){return function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,a),r.call(this,e)}return n=a,(t=[{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&&Me.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 bn.a(this.collection.slice(0,e))}},{key:"getExtraTagsInfo",value:function(){if(!this.showingMoreTags)return vn.a.getPhrase(this.lang,"extraTags",{smartCount:s.max([this.collection.length-this.options.initialTagDisplayCount,0])})}},{key:"renderTags",value:function(){var e=new kn.a({collection:this.getTagCollection(),behavior:wn.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 On.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]}}}}])&&xn(n.prototype,t),i&&xn(n,i),a}(c.a.Component),Tn=t(1271),Vn=t.n(Tn),jn=t(1272),Mn=t.n(jn);function Dn(e){return(Dn="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 Ln(e,n){for(var t=0;t<n.length;t++){var o=n[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function An(e,n){return(An=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e})(e,n)}function Nn(e){var n=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 t,o=Bn(e);if(n){var i=Bn(this).constructor;t=Reflect.construct(o,arguments,i)}else t=o.apply(this,arguments);return Un(this,t)}}function Un(e,n){return!n||"object"!==Dn(n)&&"function"!=typeof n?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):n}function Bn(e){return(Bn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Hn=function(e){!function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&An(e,n)}(a,e);var n,t,i,r=Nn(a);function a(e){return function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,a),r.call(this,e)}return n=a,(t=[{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:yn.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(){Me.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 gn.a({model:this.model,highlighter:!0,size:gn.b.Small,truncate:!0});this.showChildView("description",e)}}},{key:"renderTags",value:function(){if(this.showTags()){var e=new _n({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 mn.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 n=this.model.get(e).length;return n>1?"".concat(n," ").concat(e):"".concat(vn.a.getPhrase(this.lang,"one")," ").concat(e.slice(0,-1))}},{key:"onBeforeRender",value:function(){return!(!this.model||!this.model.get("dataFetched"))||(Me.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:Mn.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 Vn.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"}]}}])&&Ln(n.prototype,t),i&&Ln(n,i),a}(c.a.Component),Wn=t(1273),zn=t.n(Wn);function Fn(e){return(Fn="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 Yn(e,n){for(var t=0;t<n.length;t++){var o=n[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Gn(e,n){return(Gn=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e})(e,n)}function Kn(e){var n=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 t,o=Jn(e);if(n){var i=Jn(this).constructor;t=Reflect.construct(o,arguments,i)}else t=o.apply(this,arguments);return qn(this,t)}}function qn(e,n){return!n||"object"!==Fn(n)&&"function"!=typeof n?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):n}function Jn(e){return(Jn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Zn,Qn,$n,Xn,et,nt,tt,ot,it,rt=function(e){!function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&Gn(e,n)}(r,e);var n,t,o,i=Kn(r);function r(e){return function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,r),i.call(this,e)}return n=r,(t=[{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(){Me.Radio.channel(this.options.channelName).trigger("retry:pending:item",this.pendingItem)}},{key:"bindListeners",value:function(){this.model.get("status")===K.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 zn.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"}}])&&Yn(n.prototype,t),o&&Yn(n,o),r}(c.a.Component),at=t(1243),lt=t.n(at),st=t(187),ct=t(1223);function ut(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}t.d(n,"a",(function(){return mt}));var pt=ct.b,ft=ct.a,ht=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}}},dt=function(e){return{component:Hn,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}}},gt=function(e){return{component:Hn,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}}},mt={componentOptions:(nt={},ut(nt,pt.Base,(Zn={},ut(Zn,ft.Checkbox,(function(e){return{component:l.a,options:{className:"d-inline-flex align-items-center mr-3 ".concat(lt.a.checkboxContainer),checkboxClassName:lt.a.checkbox,itemId:e.model.id,key:e.collectionIdentifier.toString(),type:st.CheckboxTypes.VIDEO_LIST}}})),ut(Zn,ft.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}}})),ut(Zn,ft.Metadata,(function(e){return{component:A,options:{model:e.model,sourceMetadataOptions:e.options.sourceMetadataOptions}}})),ut(Zn,ft.VideoActions,(function(e){return{component:Ge,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}}}})),ut(Zn,ft.VideoInfo,dt),Zn)),ut(nt,pt.AwaitingReview,(Qn={},ut(Qn,ft.Thumbnail,ht),ut(Qn,ft.Metadata,(function(e){return{component:fe,options:{model:e.model,config:e.options.config}}})),ut(Qn,ft.VideoActions,(function(e){return{component:rn,options:{model:e.model,channelName:e.channelName,previewDisplayed:e.viewModel.get("previewOpen"),analyticsOptions:e.options.analyticsOptions}}})),ut(Qn,ft.VideoInfo,gt),Qn)),ut(nt,pt.PastReleases,($n={},ut($n,ft.Thumbnail,ht),ut($n,ft.Metadata,(function(e){return{component:Se,options:{model:e.model,config:e.options.config}}})),ut($n,ft.VideoInfo,gt),$n)),ut(nt,pt.VideoAccess,(Xn={},ut(Xn,ft.VideoActions,(function(e){return{component:dn,options:{model:e.model,channelName:e.channelName,previewDisplayed:e.viewModel.get("previewOpen"),analyticsOptions:e.options.analyticsOptions}}})),ut(Xn,ft.Metadata,(function(e){return{component:G,options:{model:e.model,config:e.options.config,sourceMetadataOptions:{showFolder:!0}}}})),ut(Xn,ft.VideoInfo,(function(e){return f.x.hasCustomLibrary(e.model)?dt(e):gt(e)})),Xn)),ut(nt,pt.ProcessingVideo,(et={},ut(et,ft.Metadata,(function(e){return{component:oe,options:{model:e.model,pendingItems:e.options.pendingItems}}})),ut(et,ft.VideoActions,(function(e){return{component:rt,options:{model:e.model,pendingItems:e.options.pendingItems,channelName:e.options.collectionViewChannel,analyticsOptions:e.options.analyticsOptions}}})),et)),ut(nt,pt.Draggable,{}),ut(nt,pt.Search,ut({},ft.Metadata,(function(e){return{component:je,options:{model:e.model,sourceMetadataOptions:{showFolder:!0,highlight:!0}}}}))),nt),onBeforeRender:(it={},ut(it,pt.Base,(tt={},ut(tt,ft.Checkbox,(function(e){return!!e.options.allowBulk})),ut(tt,ft.VideoInfo,(function(e){return!!e.viewModel.get("previewOpen")})),tt)),ut(it,pt.ProcessingVideo,(ot={},ut(ot,ft.Checkbox,(function(){return!1})),ut(ot,ft.VideoInfo,(function(){return!1})),ot)),it)}},1246:function(e,n,t){"use strict";var o=t(2),i=t(1),r=t(1223),a=t(1245),l=t(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=t(20);t.d(n,"a",(function(){return g}));var h=r.b.Base,d=a.a,g={renderRegions:function(e,n){i.each(e.regions,(function(t,o){m.onBeforeRenderRegion(e,n,o)&&m.renderRegion(e,n,o)}))},onBeforeRenderRegion:function(e,n,t){var o=d.onBeforeRender[n];if(o||(o=d.onBeforeRender[h]),!o)return!0;var r=o[t];return!r||(!i.isFunction(r)||r(e))},renderRegion:function(e,n,t){var o=m.getComponent(e,n,t);e.showChildView(t,o)},getComponent:function(e,n,t){var i=d.componentOptions[n];i||o.a.ErrorHelper.throw(new f.a("Must define VideoItemComponent type options: ".concat(r.b[n],".")));var a=i[t];a||(a=d.componentOptions[h][t]),a||o.a.ErrorHelper.throw(new f.a("Must define VideoItemComponent region options: ".concat(t,".")));var l=a(e);return l.component||o.a.ErrorHelper.throw(new f.a("Must define component for region: ".concat(t,",\n in VideoItemComponent type: ").concat(r.b[n],"."))),new l.component(l.options||{})},getBehaviors:function(e,n){return p[n]?p[n](e):null}},m=g},1247:function(e,n,t){"use strict";t.d(n,"a",(function(){return C}));var o=t(1),i=t(6),r=t(2),a=t(20),l=t(15),s=t(0),c=t(12),u=t(3),p=t(1242),f=t(187),h=t(1250),d=t.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 m(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function y(e,n){for(var t=0;t<n.length;t++){var o=n[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function v(e,n){return(v=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e})(e,n)}function b(e){var n=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 t,o=w(e);if(n){var i=w(this).constructor;t=Reflect.construct(o,arguments,i)}else t=o.apply(this,arguments);return k(this,t)}}function k(e,n){return!n||"object"!==g(n)&&"function"!=typeof n?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):n}function w(e){return(w=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var C=function(e){!function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&v(e,n)}(k,e);var n,t,h,g=b(k);function k(){return m(this,k),g.apply(this,arguments)}return n=k,(t=[{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(),n=i.Radio.channel(s.w.VIDEO_DRAG_DROP);n.trigger("drag:start",e,this.options.collectionIdentifier),o.each(e,(function(e){return n.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,n=c.a.GetSelectedModels({key:this.options.collectionIdentifier.toString(),type:f.CheckboxTypes.VIDEO_LIST,collection:this.view.model.collection});return o.any(n,(function(n){return n.id===e.view.model.id}))||(n=[this.view.model]),n.length?n:[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(),n={helper:o.bind(this.helper,this),start:o.bind(this.start,this),stop:o.bind(this.stop,this)};n.classes=this.getClassMappings(),e.draggable(o.extend({},p.a,n))}},{key:"onBeforeDestroy",value:function(){var e=this.getSelector();e.draggable("instance")&&e.draggable("destroy")}},{key:"lang",get:function(){return"libraryEditor.behaviors"}}])&&y(n.prototype,t),h&&y(n,h),k}(r.a.Behavior)},1250:function(e,n,t){e.exports={draggingVideo:"_3cCHx"}},1251:function(e,n,t){"use strict";t.d(n,"a",(function(){return d}));var o=t(2),i=t(1237),r=t.n(i),a=t(12),l=t(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,n){for(var t=0;t<n.length;t++){var o=n[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function u(e,n){return(u=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e})(e,n)}function p(e){var n=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 t,o=h(e);if(n){var i=h(this).constructor;t=Reflect.construct(o,arguments,i)}else t=o.apply(this,arguments);return f(this,t)}}function f(e,n){return!n||"object"!==s(n)&&"function"!=typeof n?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):n}function h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var d=function(e){!function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&u(e,n)}(s,e);var n,t,o,i=p(s);function s(e){return function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,s),i.call(this,e)}return n=s,(t=[{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(n.prototype,t),o&&c(n,o),s}(o.a.Component)},1255:function(e,n,t){"use strict";t.d(n,"a",(function(){return g}));var o=t(1),i=t(2),r=t(4),a=t(42),l=t(1256),s=t.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,n){for(var t=0;t<n.length;t++){var o=n[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function p(e,n){return(p=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e})(e,n)}function f(e){var n=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 t,o=d(e);if(n){var i=d(this).constructor;t=Reflect.construct(o,arguments,i)}else t=o.apply(this,arguments);return h(this,t)}}function h(e,n){return!n||"object"!==c(n)&&"function"!=typeof n?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):n}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var g=function(e){!function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&p(e,n)}(c,e);var n,t,i,l=f(c);function c(e){return function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,c),l.call(this,e)}return n=c,(t=[{key:"events",value:function(){return{"click .previous-applink":"onClickPrevious","click .next-applink":"onClickNext"}}},{key:"buildCursor",value:function(e){return{application:this.options.appLink.application,action:this.options.appLink.action,args:this.options.appLink.args,params:o.extend({},this.options.appLink.params,(n={},t=this.options.cursorParamName,i=e,t in n?Object.defineProperty(n,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[t]=i,n))};var n,t,i}},{key:"onClickPrevious",value:function(){this.logAction("previous")}},{key:"onClickNext",value:function(){this.logAction("next")}},{key:"logAction",value:function(e){var n=a.a.mergeOptions(this.options.analyticsOptions,{location:r.LocationContext.Pagination,entity:r.EntityType.Pagination,actionType:r.UserAction.Navigate}),t={id:this.options.collectionId,page:e};a.a.logUserAction(t,n)}},{key:"viewOptions",value:function(){return{cursors:this.options.cursors}}},{key:"onBeforeRender",value:function(){return!!this.options.cursors}},{key:"defaults",get:function(){return{cursors:{},cursorParamName:"cursor"}}},{key:"name",get:function(){return"PaginationComponent"}},{key:"template",get:function(){return s.a}},{key:"lang",get:function(){return"shared._pagination"}},{key:"appLinks",get:function(){var e={};if(!this.options.cursors)return{};if(this.options.cursors.previous){var n=this.options.cursors.previous,t=this.buildCursor(this.options.cursors.previous);+n<=1&&!0!==this.options.allowFirstPageCursor&&delete t.params.cursor,e[".previous-applink"]=t}return this.options.cursors.next&&(e[".next-applink"]=this.buildCursor(this.options.cursors.next)),e}}])&&u(n.prototype,t),i&&u(n,i),c}(i.a.Component)},1256:function(e,n,t){var o=t(10);e.exports=(o.default||o).template({1:function(e,n,t,o,i){return"disabled"},compiler:[8,">= 4.3.0"],main:function(e,n,t,o,i){e.propertyIsEnumerable;var r,a=null!=n?n:e.nullContext||{},l=e.hooks.helperMissing,s=e.escapeExpression;return'<div class="p-3">\r\n <a class="btn previous-applink btn-secondary '+(null!=(r=t.unless.call(a,null!=(r=null!=(r=null!=n?n.options:n)?r.cursors:r)?r.previous:r,{name:"unless",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i}))?r:"")+'">'+s((t.lang||n&&n.lang||l).call(a,"previous",{name:"lang",hash:{},data:i}))+'</a>\r\n <a class="btn next-applink btn-secondary '+(null!=(r=t.unless.call(a,null!=(r=null!=(r=null!=n?n.options:n)?r.cursors:r)?r.next:r,{name:"unless",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i}))?r:"")+'">'+s((t.lang||n&&n.lang||l).call(a,"next",{name:"lang",hash:{},data:i}))+"</a>\r\n</div>"},useData:!0})},1257:function(e,n,t){var o=t(10);e.exports=(o.default||o).template({1:function(e,n,t,o,i){e.propertyIsEnumerable;var r,a=e.escapeExpression;return' <span class="badge p-1 '+a(e.lambda(null!=(r=null!=(r=null!=n?n.options:n)?r.styles:r)?r.interactive:r,n))+'">'+a((t.lang||n&&n.lang||e.hooks.helperMissing).call(null!=n?n:e.nullContext||{},"interactive",{name:"lang",hash:{},data:i}))+"</span>\r\n"},3:function(e,n,t,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!=n?n.options:n)?r.styles:r)?r.rating:r,n))+" "+l(a(null!=(r=null!=n?n.options:n)?r.ratingColorClass:r,n))+'" title="'+l(a(null!=(r=null!=n?n.rating:n)?r.name:r,n))+'">'+l(a(null!=(r=null!=n?n.rating:n)?r.code:r,n))+"</span>\r\n"},5:function(e,n,t,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!=n?n.options:n)?r.styles:r)?r.svgContainer:r,n))+'" title="Subtitles">'+(null!=(r=a(null!=(r=null!=n?n.options:n)?r.closeCaptionSvg:r,n))?r:"")+"</span>\r\n"},7:function(e,n,t,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!=n?n.options:n)?r.styles:r)?r.svgContainer:r,n))+'" title="Resources">'+(null!=(r=a(null!=(r=null!=n?n.options:n)?r.resourcesSvg:r,n))?r:"")+"</span>\r\n"},9:function(e,n,t,o,i){e.propertyIsEnumerable;var r,a=e.lambda,l=e.escapeExpression;return' <span class="badge p-1 '+l(a(null!=(r=null!=n?n.options:n)?r.awaitingReviewBadgeClass:r,n))+'">'+l(a(null!=(r=null!=n?n.options:n)?r.awaitingReviewMsg:r,n))+"</span>\r\n"},11:function(e,n,t,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!=n?n.options:n)?r.styles:r)?r.restrictionBadgeClass:r,n))+'">'+l(a(null!=(r=null!=n?n.options:n)?r.restrictionMessage:r,n))+"</span>\r\n"},compiler:[8,">= 4.3.0"],main:function(e,n,t,o,i){e.propertyIsEnumerable;var r,a=null!=n?n:e.nullContext||{};return'<div class="mt-1 '+e.escapeExpression(e.lambda(null!=(r=null!=(r=null!=n?n.options:n)?r.styles:r)?r.badgesWrapper:r,n))+'">\r\n'+(null!=(r=t.if.call(a,null!=(r=null!=n?n.options:n)?r.interactive:r,{name:"if",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i}))?r:"")+"\r\n"+(null!=(r=t.if.call(a,null!=(r=null!=n?n.rating:n)?r.code:r,{name:"if",hash:{},fn:e.program(3,i,0),inverse:e.noop,data:i}))?r:"")+"\r\n"+(null!=(r=t.if.call(a,null!=(r=null!=n?n.options:n)?r.subtitles:r,{name:"if",hash:{},fn:e.program(5,i,0),inverse:e.noop,data:i}))?r:"")+"\r\n"+(null!=(r=t.if.call(a,null!=(r=null!=n?n.options:n)?r.resources:r,{name:"if",hash:{},fn:e.program(7,i,0),inverse:e.noop,data:i}))?r:"")+"\r\n"+(null!=(r=t.if.call(a,null!=(r=null!=n?n.options:n)?r.awaitingReviewMsg:r,{name:"if",hash:{},fn:e.program(9,i,0),inverse:e.noop,data:i}))?r:"")+"\r\n"+(null!=(r=t.if.call(a,null!=(r=null!=n?n.options:n)?r.restrictionMessage:r,{name:"if",hash:{},fn:e.program(11,i,0),inverse:e.noop,data:i}))?r:"")+"</div>"},useData:!0})},1258:function(e,n,t){e.exports={interactive:"_37GpR",rating:"_2lAYT",svgContainer:"_19ncQ",badgesWrapper:"_26lCi",restrictionBadgeClass:"UdQeS",reviewBadge:"ExFLF",urgentReviewBadge:"_3dcfL"}},1259:function(e,n,t){var o=t(10);e.exports=(o.default||o).template({1:function(e,n,t,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!=n?n.options:n)?r.styles:r)?r.svgContainer:r,n))+'" title="'+l(a(null!=(r=null!=n?n.options:n)?r.restrictionMessage:r,n))+'">'+(null!=(r=a(null!=(r=null!=n?n.options:n)?r.lockSvg:r,n))?r:"")+"</span>\r\n"},compiler:[8,">= 4.3.0"],main:function(e,n,t,o,i){e.propertyIsEnumerable;var r,a,l=null!=n?n: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=t.name||(null!=n?n.name:n))?a:e.hooks.helperMissing)?a.call(l,{name:"name",hash:{},data:i}):a)+"</a>\r\n"+(null!=(r=t.if.call(l,null!=(r=null!=n?n.options:n)?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,n,t){var o=t(10);e.exports=(o.default||o).template({1:function(e,n,t,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!=n?n.options:n)?r.videoUrl:r,n))+'" target="_blank">'+s("function"==typeof(a=null!=(a=t.name||(null!=n?n.name:n))?a:e.hooks.helperMissing)?a.call(null!=n?n: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!=n?n.options:n)?r.videoUrl:r,n))+'" target="_blank">'+(null!=(r=l(null!=(r=null!=n?n.options:n)?r.openExternalSvg:r,n))?r:"")+"</a>\r\n"},3:function(e,n,t,o,i){var r;e.propertyIsEnumerable;return'<a class="cursor-pointer applink-show-video h6">'+e.escapeExpression("function"==typeof(r=null!=(r=t.name||(null!=n?n.name:n))?r:e.hooks.helperMissing)?r.call(null!=n?n:e.nullContext||{},{name:"name",hash:{},data:i}):r)+"</a>\r\n"},compiler:[8,">= 4.3.0"],main:function(e,n,t,o,i){e.propertyIsEnumerable;var r,a=e.lambda,l=e.escapeExpression;return'<div class="series-region"></div>\r\n'+(null!=(r=t.if.call(null!=n?n:e.nullContext||{},null!=(r=null!=n?n.options:n)?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!=n?n.options:n)?r.styles:r)?r.lock:r,n))+" "+l(a(null!=(r=null!=(r=null!=n?n.options:n)?r.styles:r)?r.svgContainer:r,n))+'" title="'+l(a(null!=(r=null!=n?n.options:n)?r.restrictionMessage:r,n))+'">'+(null!=(r=a(null!=(r=null!=n?n.options:n)?r.lockSvg:r,n))?r:"")+'</span>\r\n<div class="sources-region"></div>\r\n<div class="badges-region"></div>'},useData:!0})},1261:function(e,n,t){var o=t(10);e.exports=(o.default||o).template({1:function(e,n,t,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!=n?n.options:n)?r.styles:r)?r.lockSvgContainer:r,n))+'">'+(null!=(r=a(null!=(r=null!=n?n.options:n)?r.lockSvg:r,n))?r:"")+"</span>\r\n"},3:function(e,n,t,o,i){return"text-danger"},5:function(e,n,t,o,i){var r;e.propertyIsEnumerable;return" "+e.escapeExpression(e.lambda(null!=(r=null!=n?n.options:n)?r.status:r,n))+"\r\n"},7:function(e,n,t,o,i){e.propertyIsEnumerable;return" "+e.escapeExpression((t.lang||n&&n.lang||e.hooks.helperMissing).call(null!=n?n:e.nullContext||{},"waiting",{name:"lang",hash:{},data:i}))+"\r\n"},9:function(e,n,t,o,i){e.propertyIsEnumerable;return" <br><i>"+e.escapeExpression((t.lang||n&&n.lang||e.hooks.helperMissing).call(null!=n?n:e.nullContext||{},"anotherAdmin",{name:"lang",hash:{},data:i}))+"</i>\r\n"},compiler:[8,">= 4.3.0"],main:function(e,n,t,o,i){e.propertyIsEnumerable;var r,a,l=null!=n?n:e.nullContext||{};return'<a class="applink-show-video h6 text-dark">'+e.escapeExpression("function"==typeof(a=null!=(a=t.name||(null!=n?n.name:n))?a:e.hooks.helperMissing)?a.call(l,{name:"name",hash:{},data:i}):a)+"</a>\r\n"+(null!=(r=t.if.call(l,null!=(r=null!=n?n.options:n)?r.hasAdminRestriction:r,{name:"if",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i}))?r:"")+'<div class="processing '+(null!=(r=t.if.call(l,null!=(r=null!=n?n.options:n)?r.hasError:r,{name:"if",hash:{},fn:e.program(3,i,0),inverse:e.noop,data:i}))?r:"")+'">\r\n'+(null!=(r=t.if.call(l,null!=(r=null!=n?n.options:n)?r.hasPendingItem:r,{name:"if",hash:{},fn:e.program(5,i,0),inverse:e.program(7,i,0),data:i}))?r:"")+(null!=(r=t.unless.call(l,null!=(r=null!=n?n.options:n)?r.hasPendingItem:r,{name:"unless",hash:{},fn:e.program(9,i,0),inverse:e.noop,data:i}))?r:"")+"</div>"},useData:!0})},1262:function(e,n,t){var o=t(10);e.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(e,n,t,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!=n?n.options:n)?r.videoUrl:r,n))+'" target="_blank">'+s("function"==typeof(a=null!=(a=t.name||(null!=n?n.name:n))?a:e.hooks.helperMissing)?a.call(null!=n?n: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!=n?n.options:n)?r.videoUrl:r,n))+'" target="_blank">'+(null!=(r=l(null!=(r=null!=n?n.options:n)?r.openExternalSvg:r,n))?r:"")+'</a>\r\n<div class="badges-region"></div>'},useData:!0})},1263:function(e,n,t){var o=t(10);e.exports=(o.default||o).template({1:function(e,n,t,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!=n?n.options:n)?r.styles:r)?r.lock:r,n))+'" title="'+l(a(null!=(r=null!=n?n.options:n)?r.restrictionMessage:r,n))+'">'+(null!=(r=a(null!=(r=null!=n?n.options:n)?r.lockSvg:r,n))?r:"")+"</span>\r\n"},compiler:[8,">= 4.3.0"],main:function(e,n,t,o,i){e.propertyIsEnumerable;var r,a,l=e.lambda,s=e.escapeExpression,c=null!=n?n: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!=n?n.options:n)?r.videoUrl:r,n))+'" target="_blank">'+s("function"==typeof(a=null!=(a=t.name||(null!=n?n.name:n))?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!=n?n.options:n)?r.videoUrl:r,n))+'" target="_blank">'+(null!=(r=l(null!=(r=null!=n?n.options:n)?r.openExternalSvg:r,n))?r:"")+"</a>\r\n"+(null!=(r=t.if.call(c,null!=(r=null!=n?n.options:n)?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,n,t){e.exports={series:"P3914"}},1265:function(e,n,t){var o=t(10);e.exports=(o.default||o).template({1:function(e,n,t,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!=n?n.options:n)?r.styles:r)?r.svgContainer:r,n))+'" title="'+l(a(null!=(r=null!=n?n.options:n)?r.restrictionMessage:r,n))+'">'+(null!=(r=a(null!=(r=null!=n?n.options:n)?r.lockSvg:r,n))?r:"")+"</span>\r\n"},3:function(e,n,t,o,i){var r;return' <span class="d-block pt-1">'+(null!=(r=e.lambda(n,n))?r:"")+"</span>\r\n"},compiler:[8,">= 4.3.0"],main:function(e,n,t,o,i){e.propertyIsEnumerable;var r,a=null!=n?n: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!=n?n.options:n)?r.name:r,n))?r:"")+"</a>\r\n"+(null!=(r=t.if.call(a,null!=(r=null!=n?n.options:n)?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=t.each.call(a,null!=(r=null!=n?n.options:n)?r.keyPhrases:r,{name:"each",hash:{},fn:e.program(3,i,0),inverse:e.noop,data:i}))?r:"")},useData:!0})},1266:function(e,n,t){var o=t(10);e.exports=(o.default||o).template({1:function(e,n,t,o,i){e.propertyIsEnumerable;return e.escapeExpression((t.lang||n&&n.lang||e.hooks.helperMissing).call(null!=n?n:e.nullContext||{},"hide",{name:"lang",hash:{},data:i}))},3:function(e,n,t,o,i){e.propertyIsEnumerable;return e.escapeExpression((t.lang||n&&n.lang||e.hooks.helperMissing).call(null!=n?n:e.nullContext||{},"show",{name:"lang",hash:{},data:i}))},compiler:[8,">= 4.3.0"],main:function(e,n,t,o,i){e.propertyIsEnumerable;var r,a=e.lambda,l=e.escapeExpression,s=null!=n?n:e.nullContext||{};return'<div class="video-actions-region row no-gutters video-item-actions '+l(a(null!=(r=null!=(r=null!=n?n.options:n)?r.styles:r)?r.actions:r,n))+'"></div>\r\n<div class="row no-gutters cursor-pointer video-item-show-preview '+l(a(null!=(r=null!=(r=null!=n?n.options:n)?r.styles:r)?r.showPreview:r,n))+'">\r\n <span class="svg-container">'+(null!=(r=a(null!=(r=null!=n?n.options:n)?r.previewSvg:r,n))?r:"")+"</span>\r\n "+(null!=(r=t.if.call(s,null!=(r=null!=n?n.options:n)?r.previewDisplayed:r,{name:"if",hash:{},fn:e.program(1,i,0),inverse:e.program(3,i,0),data:i}))?r:"")+" "+l((t.lang||n&&n.lang||e.hooks.helperMissing).call(s,"preview",{name:"lang",hash:{},data:i}))+"\r\n</div>"},useData:!0})},1267:function(e,n,t){var o=t(10);e.exports=(o.default||o).template({1:function(e,n,t,o,i){e.propertyIsEnumerable;return e.escapeExpression((t.lang||n&&n.lang||e.hooks.helperMissing).call(null!=n?n:e.nullContext||{},"hide",{name:"lang",hash:{},data:i}))},3:function(e,n,t,o,i){e.propertyIsEnumerable;return e.escapeExpression((t.lang||n&&n.lang||e.hooks.helperMissing).call(null!=n?n:e.nullContext||{},"show",{name:"lang",hash:{},data:i}))},compiler:[8,">= 4.3.0"],main:function(e,n,t,o,i){e.propertyIsEnumerable;var r,a=null!=n?n: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((t.lang||n&&n.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=(t.lang||n&&n.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!=n?n.options:n)?r.styles:r)?r.showPreview:r,n))+'"> \r\n <span class="svg-container">'+(null!=(r=c(null!=(r=null!=n?n.options:n)?r.previewSvg:r,n))?r:"")+"</span> \r\n "+(null!=(r=t.if.call(a,null!=(r=null!=n?n.options:n)?r.previewDisplayed:r,{name:"if",hash:{},fn:e.program(1,i,0),inverse:e.program(3,i,0),data:i}))?r:"")+" "+s((t.lang||n&&n.lang||l).call(a,"preview",{name:"lang",hash:{},data:i}))+"\r\n</div> "},useData:!0})},1268:function(e,n,t){var o=t(10);e.exports=(o.default||o).template({1:function(e,n,t,o,i){e.propertyIsEnumerable;return e.escapeExpression((t.lang||n&&n.lang||e.hooks.helperMissing).call(null!=n?n:e.nullContext||{},"hide",{name:"lang",hash:{},data:i}))},3:function(e,n,t,o,i){e.propertyIsEnumerable;return e.escapeExpression((t.lang||n&&n.lang||e.hooks.helperMissing).call(null!=n?n:e.nullContext||{},"show",{name:"lang",hash:{},data:i}))},compiler:[8,">= 4.3.0"],main:function(e,n,t,o,i){e.propertyIsEnumerable;var r,a=null!=n?n: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((t.lang||n&&n.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!=n?n.options:n)?r.styles:r)?r.showPreview:r,n))+'">\r\n <span class="svg-container">'+(null!=(r=c(null!=(r=null!=n?n.options:n)?r.previewSvg:r,n))?r:"")+"</span>\r\n "+(null!=(r=t.if.call(a,null!=(r=null!=n?n.options:n)?r.previewDisplayed:r,{name:"if",hash:{},fn:e.program(1,i,0),inverse:e.program(3,i,0),data:i}))?r:"")+" "+s((t.lang||n&&n.lang||l).call(a,"preview",{name:"lang",hash:{},data:i}))+"\r\n</div>"},useData:!0})},1270:function(e,n,t){var o=t(10);e.exports=(o.default||o).template({1:function(e,n,t,o,i){var r;e.propertyIsEnumerable;return' <a class="info-link show-more-tags">'+e.escapeExpression(e.lambda(null!=(r=null!=n?n.options:n)?r.extraTagsText:r,n))+"</a>\r\n"},3:function(e,n,t,o,i){e.propertyIsEnumerable;return' <a class="info-link applink-video-details">'+e.escapeExpression((t.lang||n&&n.lang||e.hooks.helperMissing).call(null!=n?n:e.nullContext||{},"viewAllTags",{name:"lang",hash:{},data:i}))+"</a>\r\n"},compiler:[8,">= 4.3.0"],main:function(e,n,t,o,i){e.propertyIsEnumerable;var r,a=null!=n?n:e.nullContext||{};return'<div class="tags-region"></div>\r\n\r\n'+(null!=(r=t.if.call(a,null!=(r=null!=n?n.options:n)?r.expandable:r,{name:"if",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i}))?r:"")+(null!=(r=t.if.call(a,null!=(r=null!=n?n.options:n)?r.moreTags:r,{name:"if",hash:{},fn:e.program(3,i,0),inverse:e.noop,data:i}))?r:"")},useData:!0})},1271:function(e,n,t){var o=t(10);e.exports=(o.default||o).template({1:function(e,n,t,o,i){e.propertyIsEnumerable;return" <p>"+e.escapeExpression((t.lang||n&&n.lang||e.hooks.helperMissing).call(null!=n?n:e.nullContext||{},"noDescription",{name:"lang",hash:{},data:i}))+"</p>\r\n"},3:function(e,n,t,o,i){return' <div class="description-region"></div>\r\n'},5:function(e,n,t,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!=n?n.options:n)?r.styles:r)?r.columnNames:r,n))+'">'+l((t.lang||n&&n.lang||e.hooks.helperMissing).call(null!=n?n: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!=n?n.options:n)?r.ratingClass:r,n))+'" title="'+l(a(null!=(r=null!=n?n.rating:n)?r.name:r,n))+'">'+l(a(null!=(r=null!=n?n.rating:n)?r.code:r,n))+"</span>\r\n </div>\r\n"},7:function(e,n,t,o,i){e.propertyIsEnumerable;var r,a,l=e.escapeExpression,s=null!=n?n:e.nullContext||{},c=e.hooks.helperMissing;return' <div class="col-6 py-1 '+l(e.lambda(null!=(r=null!=(r=null!=n?n.options:n)?r.styles:r)?r.columnNames:r,n))+'">'+l((t.lang||n&&n.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=t.productionYear||(null!=n?n.productionYear:n))?a:c)?a.call(s,{name:"productionYear",hash:{},data:i}):a)+"</p>\r\n"},9:function(e,n,t,o,i){e.propertyIsEnumerable;var r,a=e.lambda,l=e.escapeExpression,s=null!=n?n:e.nullContext||{};return' <div class="col-6 py-1 '+l(a(null!=(r=null!=(r=null!=n?n.options:n)?r.styles:r)?r.columnNames:r,n))+'">'+l((t.lang||n&&n.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=t.unless.call(s,null!=(r=null!=n?n.options:n)?r.externalLink:r,{name:"unless",hash:{},fn:e.program(10,i,0),inverse:e.noop,data:i}))?r:"")+'"\r\n'+(null!=(r=t.if.call(s,null!=(r=null!=n?n.options:n)?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!=n?n.options:n)?r.chapters:r,n))+"\r\n "+(null!=(r=t.if.call(s,null!=(r=null!=n?n.options:n)?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,n,t,o,i){return"applink-video-details"},12:function(e,n,t,o,i){var r;e.propertyIsEnumerable;return' href="'+e.escapeExpression(e.lambda(null!=(r=null!=n?n.options:n)?r.externalLink:r,n))+'"\r\n target="_blank"\r\n'},14:function(e,n,t,o,i){e.propertyIsEnumerable;var r,a=e.lambda;return'<div class="d-inline-block '+e.escapeExpression(a(null!=(r=null!=(r=null!=n?n.options:n)?r.styles:r)?r.smallSvgContainer:r,n))+'">'+(null!=(r=a(null!=(r=null!=n?n.options:n)?r.openExternalSvg:r,n))?r:"")+"</div>"},16:function(e,n,t,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!=n?n.options:n)?r.styles:r)?r.columnNames:r,n))+'">'+l((t.lang||n&&n.lang||e.hooks.helperMissing).call(null!=n?n:e.nullContext||{},"interactives",{name:"lang",hash:{},data:i}))+'</div>\r\n <p class="col-6 mb-0 py-1">'+l(a(null!=(r=null!=n?n.options:n)?r.interactives:r,n))+"</p>\r\n"},18:function(e,n,t,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!=n?n.options:n)?r.styles:r)?r.columnNames:r,n))+'">'+l((t.lang||n&&n.lang||e.hooks.helperMissing).call(null!=n?n:e.nullContext||{},"subtitles",{name:"lang",hash:{},data:i}))+'</div>\r\n <p class="col-6 mb-0 py-1">'+l(a(null!=(r=null!=n?n.options:n)?r.subtitles:r,n))+"</p>\r\n"},20:function(e,n,t,o,i){e.propertyIsEnumerable;var r,a=e.lambda,l=e.escapeExpression,s=null!=n?n:e.nullContext||{};return' <div class="col-6 py-1 '+l(a(null!=(r=null!=(r=null!=n?n.options:n)?r.styles:r)?r.columnNames:r,n))+'">'+l((t.lang||n&&n.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=t.unless.call(s,null!=(r=null!=n?n.options:n)?r.externalLink:r,{name:"unless",hash:{},fn:e.program(10,i,0),inverse:e.noop,data:i}))?r:"")+'"\r\n'+(null!=(r=t.if.call(s,null!=(r=null!=n?n.options:n)?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!=n?n.options:n)?r.resources:r,n))+"\r\n "+(null!=(r=t.if.call(s,null!=(r=null!=n?n.options:n)?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,n,t,o,i){e.propertyIsEnumerable;var r,a=e.lambda,l=e.escapeExpression,s=null!=n?n:e.nullContext||{};return' <div class="col-6 py-1 '+l(a(null!=(r=null!=(r=null!=n?n.options:n)?r.styles:r)?r.columnNames:r,n))+'">'+l((t.lang||n&&n.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=t.unless.call(s,null!=(r=null!=n?n.options:n)?r.externalLink:r,{name:"unless",hash:{},fn:e.program(10,i,0),inverse:e.noop,data:i}))?r:"")+'"\r\n'+(null!=(r=t.if.call(s,null!=(r=null!=n?n.options:n)?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!=n?n.options:n)?r.links:r,n))+"\r\n "+(null!=(r=t.if.call(s,null!=(r=null!=n?n.options:n)?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,n,t,o,i){e.propertyIsEnumerable;var r,a=e.escapeExpression;return' <div class="py-1 '+a(e.lambda(null!=(r=null!=(r=null!=n?n.options:n)?r.styles:r)?r.columnNames:r,n))+'">'+a((t.lang||n&&n.lang||e.hooks.helperMissing).call(null!=n?n: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,n,t,o,i){e.propertyIsEnumerable;var r,a=e.lambda,l=e.escapeExpression;return' <a href="'+l(a(null!=(r=null!=n?n.options:n)?r.externalLink:r,n))+'" target="_blank" class="info-link d-inline-block pt-3 '+l(a(null!=(r=null!=(r=null!=n?n.options:n)?r.styles:r)?r.columnNames:r,n))+'">\r\n '+l((t.lang||n&&n.lang||e.hooks.helperMissing).call(null!=n?n:e.nullContext||{},"goToVideo",{name:"lang",hash:{},data:i}))+'\r\n <div class="d-inline-block svg-container">'+(null!=(r=a(null!=(r=null!=n?n.options:n)?r.openExternalSvg:r,n))?r:"")+"</div>\r\n </a>\r\n"},28:function(e,n,t,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!=n?n.options:n)?r.styles:r)?r.columnNames:r,n))+'">'+a((t.lang||n&&n.lang||e.hooks.helperMissing).call(null!=n?n:e.nullContext||{},"viewFullDetails",{name:"lang",hash:{},data:i}))+"</a>\r\n"},compiler:[8,">= 4.3.0"],main:function(e,n,t,o,i){e.propertyIsEnumerable;var r,a=e.lambda,l=e.escapeExpression,s=null!=n?n: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!=n?n.options:n)?r.styles:r)?r.columnNames:r,n))+'">'+l((t.lang||n&&n.lang||c).call(s,"description",{name:"lang",hash:{},data:i}))+"</p>\r\n \r\n"+(null!=(r=t.unless.call(s,null!=(r=null!=n?n.options:n)?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!=n?n.options:n)?r.styles:r)?r.columnNames:r,n))+'">'+l((t.lang||n&&n.lang||c).call(s,"details",{name:"lang",hash:{},data:i}))+'</p>\r\n\r\n <div class="row">\r\n'+(null!=(r=t.if.call(s,null!=(r=null!=n?n.rating:n)?r.code:r,{name:"if",hash:{},fn:e.program(5,i,0),inverse:e.noop,data:i}))?r:"")+"\r\n"+(null!=(r=t.if.call(s,null!=n?n.productionYear:n,{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!=n?n.options:n)?r.styles:r)?r.columnNames:r,n))+'">'+l((t.lang||n&&n.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!=n?n.options:n)?r.duration:r,n))+"</p>\r\n\r\n"+(null!=(r=t.if.call(s,null!=(r=null!=n?n.options:n)?r.chapters:r,{name:"if",hash:{},fn:e.program(9,i,0),inverse:e.noop,data:i}))?r:"")+"\r\n"+(null!=(r=t.if.call(s,null!=(r=null!=n?n.options:n)?r.interactives:r,{name:"if",hash:{},fn:e.program(16,i,0),inverse:e.noop,data:i}))?r:"")+"\r\n"+(null!=(r=t.if.call(s,null!=(r=null!=n?n.options:n)?r.subtitles:r,{name:"if",hash:{},fn:e.program(18,i,0),inverse:e.noop,data:i}))?r:"")+"\r\n"+(null!=(r=t.if.call(s,null!=(r=null!=n?n.options:n)?r.resources:r,{name:"if",hash:{},fn:e.program(20,i,0),inverse:e.noop,data:i}))?r:"")+"\r\n"+(null!=(r=t.if.call(s,null!=(r=null!=n?n.options:n)?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=t.if.call(s,null!=(r=null!=n?n.options:n)?r.showTags:r,{name:"if",hash:{},fn:e.program(24,i,0),inverse:e.noop,data:i}))?r:"")+"\r\n"+(null!=(r=t.if.call(s,null!=(r=null!=n?n.options:n)?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,n,t){e.exports={columnNames:"QvhY0",smallSvgContainer:"_2qax8"}},1273:function(e,n,t){var o=t(10);e.exports=(o.default||o).template({1:function(e,n,t,o,i){e.propertyIsEnumerable;return' <button class="btn btn-light retry">'+e.escapeExpression((t.lang||n&&n.lang||e.hooks.helperMissing).call(null!=n?n:e.nullContext||{},"retry",{name:"lang",hash:{},data:i}))+"</button>\r\n"},compiler:[8,">= 4.3.0"],main:function(e,n,t,o,i){e.propertyIsEnumerable;var r,a=null!=n?n:e.nullContext||{};return"<div>\r\n"+(null!=(r=t.if.call(a,null!=(r=null!=n?n.options:n)?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((t.lang||n&&n.lang||e.hooks.helperMissing).call(a,"cancel",{name:"lang",hash:{},data:i}))+"</button>\r\n</div>\r\n"},useData:!0})},1274:function(e,n,t){var o=t(10);e.exports=(o.default||o).template({1:function(e,n,t,o,i){return" cursor-pointer"},3:function(e,n,t,o,i){var r;e.propertyIsEnumerable;return' <div class="bulk-checkbox-region '+(null!=(r=t.if.call(null!=n?n:e.nullContext||{},null!=(r=null!=n?n.options:n)?r.bulkPlaceholder:r,{name:"if",hash:{},fn:e.program(4,i,0),inverse:e.noop,data:i}))?r:"")+'"></div>\r\n'},4:function(e,n,t,o,i){var r;e.propertyIsEnumerable;return e.escapeExpression(e.lambda(null!=(r=null!=(r=null!=n?n.options:n)?r.styles:r)?r.bulkPlaceholder:r,n))},compiler:[8,">= 4.3.0"],main:function(e,n,t,o,i){e.propertyIsEnumerable;var r,a=e.lambda,l=e.escapeExpression,s=null!=n?n:e.nullContext||{};return'<div class="d-flex justify-content-between align-items-stretch p-3 drag-item '+l(a(null!=(r=null!=(r=null!=n?n.options:n)?r.styles:r)?r.videoItem:r,n))+(null!=(r=t.if.call(s,null!=(r=null!=n?n.options:n)?r.isClickable:r,{name:"if",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i}))?r:"")+'">\r\n'+(null!=(r=t.if.call(s,null!=(r=null!=n?n.options:n)?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!=n?n.options:n)?r.styles:r)?r.thumbnailContainer:r,n))+'"></div>\r\n <div class="metadata-region d-inline-block px-3 '+l(a(null!=(r=null!=(r=null!=n?n.options:n)?r.styles:r)?r.metaContainer:r,n))+'"></div>\r\n <div class="video-actions-region d-inline-block '+l(a(null!=(r=null!=(r=null!=n?n.options:n)?r.styles:r)?r.actionsContainer:r,n))+'"></div>\r\n</div>\r\n<div class="video-info-region '+l(a(null!=(r=null!=(r=null!=n?n.options:n)?r.styles:r)?r.previewContainer:r,n))+'"></div>'},useData:!0})},1275:function(e,n,t){var o=t(10);e.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(e,n,t,o,i){return'<div class="videos-region"></div>'},useData:!0})},1283:function(e,n,t){"use strict";var o=t(2),i=t(4),r=t(42),a=t(294),l=t(6),s=t(30),c=t(14),u=t(0),p=t(12),f=t(1246),h=t(1223),d=t(1274),g=t.n(d),m=t(1243),y=t.n(m);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,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function k(e,n){for(var t=0;t<n.length;t++){var o=n[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function w(e,n){return(w=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e})(e,n)}function C(e){var n=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 t,o=S(e);if(n){var i=S(this).constructor;t=Reflect.construct(o,arguments,i)}else t=o.apply(this,arguments);return O(this,t)}}function O(e,n){return!n||"object"!==v(n)&&"function"!=typeof n?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):n}function S(e){return(S=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var x=function(e){!function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&w(e,n)}(m,e);var n,t,a,d=C(m);function m(e){return function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,m),d.call(this,e)}return n=m,(t=[{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 y.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 n=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 n.render()}),300)}},{key:"setPreviewHeight",value:function(){var e=this;this.listenToOnce(this.getRegion(h.a.VideoInfo),"show",(function(){var n=e.getRegion(h.a.VideoInfo).currentView;e.listenTo(n,"render",(function(){e.getUI("previewContainer").height(n.$el.outerHeight())})),e.listenTo(e.channelName,"resize:preview",(function(){window.setTimeout((function(){return e.getUI("previewContainer").height(n.$el.outerHeight())}),0)})),n.isRendered()&&e.getUI("previewContainer").height(n.$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 n=r.a.mergeOptions(this.options.analyticsOptions,{actionType:i.UserAction.Click,descriptor:i.ClickDescriptor.TogglePreview,workflowPhase:i.WorkflowPhase.Complete}),t={buttonClicked:e,show:this.viewModel.get("previewOpen")};r.a.logUserAction(t,n)}},{key:"viewOptions",value:function(){return{styles:y.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(y.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(y.a.previewContainer)}}}])&&k(n.prototype,t),a&&k(n,a),m}(o.a.Component),E=t(291),P=t(97),R=t(9),I=t(292),_=t(1275),T=t.n(_);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,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function M(e,n){for(var t=0;t<n.length;t++){var o=n[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function D(e,n,t){return n&&M(e.prototype,n),t&&M(e,t),e}function L(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&A(e,n)}function A(e,n){return(A=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e})(e,n)}function N(e){var n=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 t,o=B(e);if(n){var i=B(this).constructor;t=Reflect.construct(o,arguments,i)}else t=o.apply(this,arguments);return U(this,t)}}function U(e,n){return!n||"object"!==V(n)&&"function"!=typeof n?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):n}function B(e){return(B=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}t.d(n,"a",(function(){return W}));var H=function(e){L(t,e);var n=N(t);function t(e){return j(this,t),n.call(this,e)}return D(t,[{key:"name",get:function(){return"VideoItemListComponent"}},{key:"childView",get:function(){return x}},{key:"childViewOptions",get:function(){var e=this;return function(n){return{componentType:n.get("status")===P.a.Processing?h.b.ProcessingVideo:e.options.videoItemComponentType,videoWithMetadata:e.options.videosWithMetadata&&e.options.videosWithMetadata.get(n.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}}}}]),t}(o.a.ComponentCollection),W=function(e){L(t,e);var n=N(t);function t(e){return j(this,t),n.call(this,e)}return D(t,[{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:R.c.Default,videoCollectionSource:I.d.Folder}}},{key:"behaviors",get:function(){return[{behaviorClass:E.c,selector:".lazy-img",minBrowserSupportVersion:u.p},{behaviorClass:a.a,region:"videos",type:this.options.emptyStateType,componentOptions:this.options.emptyStateOptions,emptyStateComponents:u.h}]}}]),t}(o.a.Component)},1512:function(e,n,t){e.exports={svgContainer:"_2KSbB"}},1513:function(e,n,t){var o=t(10);e.exports=(o.default||o).template({1:function(e,n,t,o,i){e.propertyIsEnumerable;var r,a=e.lambda,l=e.escapeExpression;return' <a class="d-inline-block ml-2 '+l(a(null!=(r=null!=(r=null!=n?n.options:n)?r.styles:r)?r.svgContainer:r,n))+'" href="'+l(a(null!=(r=null!=n?n.options:n)?r.supportUrl:r,n))+'">'+(null!=(r=a(null!=(r=null!=n?n.options:n)?r.svg:r,n))?r:"")+"</a>\r\n"},compiler:[8,">= 4.3.0"],main:function(e,n,t,o,i){e.propertyIsEnumerable;var r,a=null!=n?n:e.nullContext||{},l=e.hooks.helperMissing,s=e.escapeExpression;return'<div class="pl-3 pt-3 pr-3">\r\n <div class="border-bottom">\r\n <div class="d-flex align-items-center pb-3 border-bottom">\r\n <h1 class="h3 d-inline-block m-0">'+s((t.lang||n&&n.lang||l).call(a,"heading",{name:"lang",hash:{},data:i}))+" </h1>\r\n"+(null!=(r=t.if.call(a,null!=(r=null!=n?n.options:n)?r.supportUrl:r,{name:"if",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i}))?r:"")+' </div>\r\n <p class="py-3 m-0">\r\n '+s((t.lang||n&&n.lang||l).call(a,"description",{name:"lang",hash:{},data:i}))+'\r\n </p>\r\n </div> \r\n</div>\r\n<div class="video-list-region"></div>\r\n<div class="pagination-region"></div>\r\n<div class="empty-region"></div>'},useData:!0})},1628:function(e,n,t){"use strict";t.r(n),t.d(n,"RestrictedVideoListView",(function(){return P}));var o=t(2),i=t(5),r=t(3),a=t(15),l=t(133),s=t(1255),c=t(50),u=t(0),p=t(9),f=t(188),h=t(98),d=t(1283),g=t(1223),m=t(1512),y=t.n(m),v=t(1513),b=t.n(v),k=t(134);function w(e){return(w="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,n){for(var t=0;t<n.length;t++){var o=n[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function O(e,n){return(O=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e})(e,n)}function S(e){var n=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 t,o=E(e);if(n){var i=E(this).constructor;t=Reflect.construct(o,arguments,i)}else t=o.apply(this,arguments);return x(this,t)}}function x(e,n){return!n||"object"!==w(n)&&"function"!=typeof n?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):n}function E(e){return(E=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var P=function(e){!function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&O(e,n)}(v,e);var n,t,o,m=S(v);function v(e){return function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,v),m.call(this,e)}return n=v,(t=[{key:"initialize",value:function(){this.bindListeners(),this.restrictedVideoDataService=i.a.getInstance(u.g.RestrictedVideo,this),this.videoDataService=i.a.getInstance(u.g.Video,this)}},{key:"bindListeners",value:function(){this.listenTo(u.e.RESTRICTED_VIDEO,"".concat(u.f.RESTRICTED_VIDEOS,":").concat(this.options.page,":sync"),this.render),this.listenTo(this.channelName,"fetch:video:with:metadata",this.fetchVideoWithMetadata),this.listenTo(u.e.RESTRICTED_VIDEO,"cache:cleared",this.render)}},{key:"regions",value:function(){return{videos:{replaceElement:!0,el:".video-list-region",partialLoading:p.h.VideoList},pagination:{replaceElement:!0,el:".pagination-region"},empty:{replaceElement:!0,el:".empty-region"}}}},{key:"setVideosWithMetadata",value:function(){this.videoCollection&&!this.videosWithMetadata&&(this.videosWithMetadata=new c.a(this.videoCollection.map((function(e){return new h.a({id:e.get("id")})}))))}},{key:"renderVideoList",value:function(){this.showChildView("videos",new d.a({collection:this.videoCollection,videosWithMetadata:this.videosWithMetadata,application:u.b.VIDEO_ACCESS,collectionIdentifier:null,videoItemComponentType:g.b.VideoAccess,config:this.config,emptyStateType:p.c.VideoAccess,emptyStateOptions:{heading:r.a.getPhrase(this.lang,"emptyStateHeading")},collectionViewChannel:this.channelName,currentUser:this.currentUser}))}},{key:"renderPagination",value:function(){var e=this.restrictedVideoDataService.getPaginationCursors(this.options.page);this.showChildView("pagination",new s.a({cursors:e,appLink:{application:u.b.VIDEO_ACCESS,action:u.a.VideoAccess.HOME},cursorParamName:"page"}))}},{key:"fetchVideoWithMetadata",value:function(e){var n=this;this.videoDataService.getVideo(e,(function(t){var o=n.videosWithMetadata.get(e);o&&(o.set(t.toJSON()),o.set({dataFetched:!0}))}))}},{key:"onBeforeRender",value:function(){return this.videoCollection=this.restrictedVideoDataService.getRestrictedVideos(this.options.page),!!this.videoCollection&&(this.setVideosWithMetadata(),!0)}},{key:"viewOptions",value:function(){var e=this.config?"".concat(this.config.get("supportSiteUrl")).concat(u.y.VIDEO_ACCESS):"";return{styles:y.a,supportUrl:e,svg:a.a.getSvg(a.b.Info)}}},{key:"onRender",value:function(){this.renderVideoList(),this.renderPagination()}},{key:"name",get:function(){return"RestrictedVideoListView"}},{key:"title",get:function(){return r.a.getPhrase(this.lang,"title")}},{key:"className",get:function(){return"bg-white"}},{key:"channelName",get:function(){return"".concat(this.name).concat(this.cid)}},{key:"template",get:function(){return b.a}},{key:"lang",get:function(){return"videoAccess.restrictedVideoList"}},{key:"behaviors",get:function(){return[{behaviorClass:l.a,selector:".".concat(y.a.svgContainer),title:r.a.getPhrase(this.lang,"findOutMore")}]}},{key:"defaults",get:function(){return{page:1}}},{key:"requiredResources",get:function(){return{config:f.b.config,currentUser:k.b.currentUser}}}])&&C(n.prototype,t),o&&C(n,o),v}(o.a.View)}}]);