@clickview/library-editor 1.1.45-rc.3 → 1.1.46-rc.0

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 (382) hide show
  1. package/dist/bundles.json +3 -3
  2. package/dist/css/{library-editor-app-9c24416a39.css → library-editor-app-d4e455dc19.css} +1 -1
  3. package/dist/scripts/{0-2f5a66d67a.chunk.js → 0-39b4264c40.chunk.js} +1 -1
  4. package/dist/scripts/{1-6e8dcc5ca2.chunk.js → 1-c2f2ee50e1.chunk.js} +1 -1
  5. package/dist/scripts/{10-a4ab5eff50.chunk.js → 10-74b6a07baa.chunk.js} +1 -1
  6. package/dist/scripts/{11-3dec7d2c7e.chunk.js → 11-f9ca151e61.chunk.js} +1 -1
  7. package/dist/scripts/{12-bb9475eac6.chunk.js → 12-a961dabbb5.chunk.js} +1 -1
  8. package/dist/scripts/{13-de5b2bb606.chunk.js → 13-31b759d4dc.chunk.js} +1 -1
  9. package/dist/scripts/{14-c671e8bc46.chunk.js → 14-28ab8d5025.chunk.js} +1 -1
  10. package/dist/scripts/{15-7de7fc2b35.chunk.js → 15-e326770074.chunk.js} +1 -1
  11. package/dist/scripts/{16-382f0c41cf.chunk.js → 16-33bc415c72.chunk.js} +1 -1
  12. package/dist/scripts/{17-1eb8479302.chunk.js → 17-4d85362caa.chunk.js} +1 -1
  13. package/dist/scripts/{2-7cc9176e8a.chunk.js → 2-6334a56d75.chunk.js} +1 -1
  14. package/dist/scripts/{20-d3444fe825.chunk.js → 20-be33eea416.chunk.js} +1 -1
  15. package/dist/scripts/{21-df15d4d827.chunk.js → 21-d07eac93af.chunk.js} +1 -1
  16. package/dist/scripts/{22-5d9b14f0b0.chunk.js → 22-f61848d852.chunk.js} +1 -1
  17. package/dist/scripts/{23-7922bfa9d3.chunk.js → 23-883535facb.chunk.js} +1 -1
  18. package/dist/scripts/{24-a675687323.chunk.js → 24-28d1ee1ddb.chunk.js} +1 -1
  19. package/dist/scripts/{25-a1259842aa.chunk.js → 25-36f6c0f04c.chunk.js} +1 -1
  20. package/dist/scripts/{26-bbf1c17cb5.chunk.js → 26-41d73fb1cc.chunk.js} +1 -1
  21. package/dist/scripts/{27-eff11570d8.chunk.js → 27-9faadbc5ad.chunk.js} +1 -1
  22. package/dist/scripts/{28-285eb18d9a.chunk.js → 28-1abda5ddcd.chunk.js} +1 -1
  23. package/dist/scripts/{29-b7d2b7cde1.chunk.js → 29-e1b5688929.chunk.js} +1 -1
  24. package/dist/scripts/{3-aa8256fe40.chunk.js → 3-c468e5f805.chunk.js} +1 -1
  25. package/dist/scripts/{30-6fdc3a1e11.chunk.js → 30-4331611384.chunk.js} +1 -1
  26. package/dist/scripts/{31-4a94075827.chunk.js → 31-f594f549df.chunk.js} +1 -1
  27. package/dist/scripts/{32-7e2b293f23.chunk.js → 32-b5a8e7c2a3.chunk.js} +1 -1
  28. package/dist/scripts/{33-8de738bfb9.chunk.js → 33-b88d856ab0.chunk.js} +1 -1
  29. package/dist/scripts/{34-7d112464d3.chunk.js → 34-7fcaaeddea.chunk.js} +1 -1
  30. package/dist/scripts/{35-e850443dff.chunk.js → 35-e210da4f12.chunk.js} +1 -1
  31. package/dist/scripts/{36-a480ba6fea.chunk.js → 36-524bf056e4.chunk.js} +1 -1
  32. package/dist/scripts/{37-43b5d8c3af.chunk.js → 37-0336031536.chunk.js} +1 -1
  33. package/dist/scripts/{38-1b53bc0747.chunk.js → 38-1aa8ca825c.chunk.js} +1 -1
  34. package/dist/scripts/{39-674f9ca697.chunk.js → 39-faf8a59822.chunk.js} +1 -1
  35. package/dist/scripts/{4-9915802afa.chunk.js → 4-4c62127fb2.chunk.js} +1 -1
  36. package/dist/scripts/{40-4f0571b8a2.chunk.js → 40-9b473a87c2.chunk.js} +1 -1
  37. package/dist/scripts/{41-5ed5f9712e.chunk.js → 41-20fe91435b.chunk.js} +1 -1
  38. package/dist/scripts/{42-c280d7752c.chunk.js → 42-143ac3914b.chunk.js} +1 -1
  39. package/dist/scripts/{43-c0a7d44737.chunk.js → 43-ce726c3839.chunk.js} +1 -1
  40. package/dist/scripts/{44-b04dab25e6.chunk.js → 44-fc7c025c5f.chunk.js} +1 -1
  41. package/dist/scripts/{45-a6b9650b26.chunk.js → 45-1e84cd6639.chunk.js} +1 -1
  42. package/dist/scripts/{46-319d735448.chunk.js → 46-26b40a870e.chunk.js} +1 -1
  43. package/dist/scripts/{47-87b93cae7d.chunk.js → 47-f03e03252c.chunk.js} +1 -1
  44. package/dist/scripts/{48-92ee4ae7a7.chunk.js → 48-c9a61fd1e3.chunk.js} +1 -1
  45. package/dist/scripts/{49-5c6fe71808.chunk.js → 49-2879e96eed.chunk.js} +1 -1
  46. package/dist/scripts/{5-5341544820.chunk.js → 5-5d2e1c890e.chunk.js} +1 -1
  47. package/dist/scripts/{50-38186c72b7.chunk.js → 50-b76b6c7d52.chunk.js} +1 -1
  48. package/dist/scripts/{51-37749b146e.chunk.js → 51-c252822f95.chunk.js} +1 -1
  49. package/dist/scripts/{52-67c9e2601b.chunk.js → 52-ecde4fecf3.chunk.js} +1 -1
  50. package/dist/scripts/{53-16ef9ed0cb.chunk.js → 53-3ab3b83088.chunk.js} +1 -1
  51. package/dist/scripts/{54-8d377c5aff.chunk.js → 54-0e921db390.chunk.js} +1 -1
  52. package/dist/scripts/{55-2360f690da.chunk.js → 55-bd9dc838cd.chunk.js} +1 -1
  53. package/dist/scripts/{56-d6e13d4afb.chunk.js → 56-6528a68474.chunk.js} +1 -1
  54. package/dist/scripts/{57-d31643829d.chunk.js → 57-3477d4f9b5.chunk.js} +1 -1
  55. package/dist/scripts/{58-21714dd15f.chunk.js → 58-2c62df5dbd.chunk.js} +1 -1
  56. package/dist/scripts/{59-b36d9e7be9.chunk.js → 59-13ade58ba1.chunk.js} +1 -1
  57. package/dist/scripts/{6-19be7f0d3b.chunk.js → 6-1fdfa2191a.chunk.js} +1 -1
  58. package/dist/scripts/{60-86a780fb81.chunk.js → 60-f36c57ef33.chunk.js} +1 -1
  59. package/dist/scripts/{61-897e3aacfb.chunk.js → 61-24acf3201f.chunk.js} +1 -1
  60. package/dist/scripts/{62-35425b2e29.chunk.js → 62-d869eccf9a.chunk.js} +1 -1
  61. package/dist/scripts/{63-714e5c1ee7.chunk.js → 63-d35e9ced47.chunk.js} +1 -1
  62. package/dist/scripts/{64-6ee45d0114.chunk.js → 64-dfc3cd19ee.chunk.js} +1 -1
  63. package/dist/scripts/{65-4041af23f8.chunk.js → 65-b66a158393.chunk.js} +1 -1
  64. package/dist/scripts/{66-1089ec4f34.chunk.js → 66-89b577d70f.chunk.js} +1 -1
  65. package/dist/scripts/{67-c03fd65497.chunk.js → 67-83b2b3ad1a.chunk.js} +1 -1
  66. package/dist/scripts/{68-53e4b905db.chunk.js → 68-452e0327d9.chunk.js} +1 -1
  67. package/dist/scripts/{69-6e315af542.chunk.js → 69-0491a8faf5.chunk.js} +1 -1
  68. package/dist/scripts/{7-8626ad1134.chunk.js → 7-13b4886b73.chunk.js} +1 -1
  69. package/dist/scripts/{70-64d4bc3567.chunk.js → 70-62aff2ab4e.chunk.js} +1 -1
  70. package/dist/scripts/{71-979bac4e9f.chunk.js → 71-91b4d4dfcb.chunk.js} +1 -1
  71. package/dist/scripts/{72-be5d02bfe6.chunk.js → 72-4d851db609.chunk.js} +1 -1
  72. package/dist/scripts/{8-ed9e11c370.chunk.js → 8-55ea9736c8.chunk.js} +1 -1
  73. package/dist/scripts/{9-82e97cb80a.chunk.js → 9-175ec73a5d.chunk.js} +1 -1
  74. package/dist/scripts/bundle-804e733ae8.min.js +10 -0
  75. package/dist/scripts/polyfills-e2b8375767.min.js +1 -0
  76. package/package.json +3 -3
  77. package/typings/libs/trackjs.d.ts +3 -0
  78. package/dist/css/0-library-editor.chunk.css +0 -26
  79. package/dist/css/10-library-editor.chunk.css +0 -25
  80. package/dist/css/11-library-editor.chunk.css +0 -135
  81. package/dist/css/12-library-editor.chunk.css +0 -18
  82. package/dist/css/13-library-editor.chunk.css +0 -21
  83. package/dist/css/14-library-editor.chunk.css +0 -76
  84. package/dist/css/16-library-editor.chunk.css +0 -52
  85. package/dist/css/17-library-editor.chunk.css +0 -14
  86. package/dist/css/18-library-editor.chunk.css +0 -18
  87. package/dist/css/2-library-editor.chunk.css +0 -143
  88. package/dist/css/21-library-editor.chunk.css +0 -52
  89. package/dist/css/22-library-editor.chunk.css +0 -12
  90. package/dist/css/23-library-editor.chunk.css +0 -25
  91. package/dist/css/25-library-editor.chunk.css +0 -35
  92. package/dist/css/26-library-editor.chunk.css +0 -20
  93. package/dist/css/28-library-editor.chunk.css +0 -63
  94. package/dist/css/29-library-editor.chunk.css +0 -80
  95. package/dist/css/3-library-editor.chunk.css +0 -15
  96. package/dist/css/30-library-editor.chunk.css +0 -33
  97. package/dist/css/31-library-editor.chunk.css +0 -30
  98. package/dist/css/32-library-editor.chunk.css +0 -45
  99. package/dist/css/33-library-editor.chunk.css +0 -13
  100. package/dist/css/34-library-editor.chunk.css +0 -19
  101. package/dist/css/35-library-editor.chunk.css +0 -18
  102. package/dist/css/36-library-editor.chunk.css +0 -12
  103. package/dist/css/37-library-editor.chunk.css +0 -5
  104. package/dist/css/38-library-editor.chunk.css +0 -5
  105. package/dist/css/40-library-editor.chunk.css +0 -24
  106. package/dist/css/41-library-editor.chunk.css +0 -76
  107. package/dist/css/42-library-editor.chunk.css +0 -44
  108. package/dist/css/43-library-editor.chunk.css +0 -30
  109. package/dist/css/44-library-editor.chunk.css +0 -12
  110. package/dist/css/45-library-editor.chunk.css +0 -25
  111. package/dist/css/46-library-editor.chunk.css +0 -24
  112. package/dist/css/47-library-editor.chunk.css +0 -84
  113. package/dist/css/48-library-editor.chunk.css +0 -4
  114. package/dist/css/49-library-editor.chunk.css +0 -33
  115. package/dist/css/50-library-editor.chunk.css +0 -20
  116. package/dist/css/51-library-editor.chunk.css +0 -37
  117. package/dist/css/52-library-editor.chunk.css +0 -64
  118. package/dist/css/55-library-editor.chunk.css +0 -3
  119. package/dist/css/56-library-editor.chunk.css +0 -3
  120. package/dist/css/58-library-editor.chunk.css +0 -3
  121. package/dist/css/59-library-editor.chunk.css +0 -3
  122. package/dist/css/6-library-editor.chunk.css +0 -42
  123. package/dist/css/60-library-editor.chunk.css +0 -16
  124. package/dist/css/62-library-editor.chunk.css +0 -4
  125. package/dist/css/63-library-editor.chunk.css +0 -168
  126. package/dist/css/67-library-editor.chunk.css +0 -76
  127. package/dist/css/68-library-editor.chunk.css +0 -15
  128. package/dist/css/69-library-editor.chunk.css +0 -15
  129. package/dist/css/7-library-editor.chunk.css +0 -10
  130. package/dist/css/70-library-editor.chunk.css +0 -21
  131. package/dist/css/71-library-editor.chunk.css +0 -38
  132. package/dist/css/72-library-editor.chunk.css +0 -14
  133. package/dist/css/73-library-editor.chunk.css +0 -35
  134. package/dist/css/74-library-editor.chunk.css +0 -27
  135. package/dist/css/75-library-editor.chunk.css +0 -4
  136. package/dist/css/76-library-editor.chunk.css +0 -4
  137. package/dist/css/8-library-editor.chunk.css +0 -7
  138. package/dist/css/library-editor-app.css +0 -9291
  139. package/dist/scripts/0-298010e33a.chunk.js +0 -1
  140. package/dist/scripts/0-aaa3608203.chunk.js +0 -1
  141. package/dist/scripts/0.chunk.js +0 -64
  142. package/dist/scripts/1-323257c9af.chunk.js +0 -1
  143. package/dist/scripts/1-c690200bdb.chunk.js +0 -1
  144. package/dist/scripts/1.chunk.js +0 -75
  145. package/dist/scripts/10-466cc9683b.chunk.js +0 -1
  146. package/dist/scripts/10-abb1be81df.chunk.js +0 -1
  147. package/dist/scripts/10.chunk.js +0 -62
  148. package/dist/scripts/11-2356f4df85.chunk.js +0 -11
  149. package/dist/scripts/11-3ea7c37829.chunk.js +0 -11
  150. package/dist/scripts/11.chunk.js +0 -317
  151. package/dist/scripts/12-26db35cb21.chunk.js +0 -1
  152. package/dist/scripts/12-c76d68628d.chunk.js +0 -1
  153. package/dist/scripts/12.chunk.js +0 -56
  154. package/dist/scripts/13-a886aeba95.chunk.js +0 -1
  155. package/dist/scripts/13-ffdf6d7db4.chunk.js +0 -1
  156. package/dist/scripts/13.chunk.js +0 -25
  157. package/dist/scripts/14-377ed1af74.chunk.js +0 -1
  158. package/dist/scripts/14-d80e0ddb3c.chunk.js +0 -1
  159. package/dist/scripts/14.chunk.js +0 -272
  160. package/dist/scripts/15-3c4f92249c.chunk.js +0 -1
  161. package/dist/scripts/15-ac502fa5ec.chunk.js +0 -1
  162. package/dist/scripts/15.chunk.js +0 -35
  163. package/dist/scripts/16-082a975dbb.chunk.js +0 -1
  164. package/dist/scripts/16-783d3e4092.chunk.js +0 -1
  165. package/dist/scripts/16.chunk.js +0 -79
  166. package/dist/scripts/17-b13fb41bd3.chunk.js +0 -1
  167. package/dist/scripts/17-c66a2978ae.chunk.js +0 -1
  168. package/dist/scripts/17.chunk.js +0 -40
  169. package/dist/scripts/18.chunk.js +0 -40
  170. package/dist/scripts/19.chunk.js +0 -43
  171. package/dist/scripts/2-717e5953ab.chunk.js +0 -1
  172. package/dist/scripts/2-8e809f7467.chunk.js +0 -1
  173. package/dist/scripts/2.chunk.js +0 -33
  174. package/dist/scripts/20-6dd45d4f46.chunk.js +0 -1
  175. package/dist/scripts/20-fa33bbf746.chunk.js +0 -1
  176. package/dist/scripts/20.chunk.js +0 -18
  177. package/dist/scripts/21-4de1bd55b0.chunk.js +0 -1
  178. package/dist/scripts/21-dadfbacfbc.chunk.js +0 -1
  179. package/dist/scripts/21.chunk.js +0 -55
  180. package/dist/scripts/22-6d8b1c21c5.chunk.js +0 -1
  181. package/dist/scripts/22-d381139a29.chunk.js +0 -1
  182. package/dist/scripts/22.chunk.js +0 -47
  183. package/dist/scripts/23-30dffdfecf.chunk.js +0 -1
  184. package/dist/scripts/23-9f6cc70b65.chunk.js +0 -1
  185. package/dist/scripts/23.chunk.js +0 -47
  186. package/dist/scripts/24-7406b564f6.chunk.js +0 -1
  187. package/dist/scripts/24-b6ec3366cb.chunk.js +0 -1
  188. package/dist/scripts/24.chunk.js +0 -33
  189. package/dist/scripts/25-7faa89d5e3.chunk.js +0 -1
  190. package/dist/scripts/25-d7396e955d.chunk.js +0 -1
  191. package/dist/scripts/25.chunk.js +0 -25
  192. package/dist/scripts/26-2d98320aae.chunk.js +0 -1
  193. package/dist/scripts/26-c1fc20583b.chunk.js +0 -1
  194. package/dist/scripts/26.chunk.js +0 -25
  195. package/dist/scripts/27-31485d4b2a.chunk.js +0 -1
  196. package/dist/scripts/27-531532942a.chunk.js +0 -1
  197. package/dist/scripts/27.chunk.js +0 -10
  198. package/dist/scripts/28-b71b9ac0eb.chunk.js +0 -1
  199. package/dist/scripts/28-e85da77e0f.chunk.js +0 -1
  200. package/dist/scripts/28.chunk.js +0 -334
  201. package/dist/scripts/29-7be825c44d.chunk.js +0 -1
  202. package/dist/scripts/29-d980d0cbb5.chunk.js +0 -1
  203. package/dist/scripts/29.chunk.js +0 -202
  204. package/dist/scripts/3-151fc3d544.chunk.js +0 -1
  205. package/dist/scripts/3-eeb2d3d492.chunk.js +0 -1
  206. package/dist/scripts/3.chunk.js +0 -57
  207. package/dist/scripts/30-0e805630f4.chunk.js +0 -1
  208. package/dist/scripts/30-ad62e78d54.chunk.js +0 -1
  209. package/dist/scripts/30.chunk.js +0 -137
  210. package/dist/scripts/31-49c7676cff.chunk.js +0 -1
  211. package/dist/scripts/31-b1a679306a.chunk.js +0 -1
  212. package/dist/scripts/31.chunk.js +0 -113
  213. package/dist/scripts/32-042cda92ae.chunk.js +0 -1
  214. package/dist/scripts/32-e448ef7e82.chunk.js +0 -1
  215. package/dist/scripts/32.chunk.js +0 -115
  216. package/dist/scripts/33-36ddd95595.chunk.js +0 -1
  217. package/dist/scripts/33-b5cf4cfa6f.chunk.js +0 -1
  218. package/dist/scripts/33.chunk.js +0 -93
  219. package/dist/scripts/34-894005f525.chunk.js +0 -1
  220. package/dist/scripts/34-b206a218e9.chunk.js +0 -1
  221. package/dist/scripts/34.chunk.js +0 -63
  222. package/dist/scripts/35-9cdb858587.chunk.js +0 -1
  223. package/dist/scripts/35-d0137a950e.chunk.js +0 -1
  224. package/dist/scripts/35.chunk.js +0 -48
  225. package/dist/scripts/36-54624daa85.chunk.js +0 -1
  226. package/dist/scripts/36-846ab1a7ae.chunk.js +0 -1
  227. package/dist/scripts/36.chunk.js +0 -33
  228. package/dist/scripts/37-3314327a46.chunk.js +0 -1
  229. package/dist/scripts/37-6ffb96d64b.chunk.js +0 -1
  230. package/dist/scripts/37.chunk.js +0 -25
  231. package/dist/scripts/38-a18528bd5a.chunk.js +0 -1
  232. package/dist/scripts/38-d5dc6c775d.chunk.js +0 -1
  233. package/dist/scripts/38.chunk.js +0 -25
  234. package/dist/scripts/39-a4d5bf70ed.chunk.js +0 -1
  235. package/dist/scripts/39-d1b6c2defd.chunk.js +0 -1
  236. package/dist/scripts/39.chunk.js +0 -19
  237. package/dist/scripts/4-3516e54324.chunk.js +0 -1
  238. package/dist/scripts/4-adab2b69d4.chunk.js +0 -1
  239. package/dist/scripts/4.chunk.js +0 -26
  240. package/dist/scripts/40-264a3768ac.chunk.js +0 -1
  241. package/dist/scripts/40-bc2c6ae993.chunk.js +0 -1
  242. package/dist/scripts/40.chunk.js +0 -182
  243. package/dist/scripts/41-2084077727.chunk.js +0 -1
  244. package/dist/scripts/41-a4121258fa.chunk.js +0 -1
  245. package/dist/scripts/41.chunk.js +0 -175
  246. package/dist/scripts/42-16c4690eeb.chunk.js +0 -1
  247. package/dist/scripts/42-6b99047385.chunk.js +0 -1
  248. package/dist/scripts/42.chunk.js +0 -176
  249. package/dist/scripts/43-16efe31266.chunk.js +0 -1
  250. package/dist/scripts/43-f0a2833261.chunk.js +0 -1
  251. package/dist/scripts/43.chunk.js +0 -121
  252. package/dist/scripts/44-66950d4440.chunk.js +0 -1
  253. package/dist/scripts/44-dbc3731bcb.chunk.js +0 -1
  254. package/dist/scripts/44.chunk.js +0 -122
  255. package/dist/scripts/45-6dd66a0ec6.chunk.js +0 -1
  256. package/dist/scripts/45-bc07f6ed34.chunk.js +0 -1
  257. package/dist/scripts/45.chunk.js +0 -85
  258. package/dist/scripts/46-1188acdeb9.chunk.js +0 -1
  259. package/dist/scripts/46-b403f6be5b.chunk.js +0 -1
  260. package/dist/scripts/46.chunk.js +0 -78
  261. package/dist/scripts/47-2964488de7.chunk.js +0 -1
  262. package/dist/scripts/47-b482682154.chunk.js +0 -1
  263. package/dist/scripts/47.chunk.js +0 -70
  264. package/dist/scripts/48-48a409c875.chunk.js +0 -1
  265. package/dist/scripts/48-d924ddb603.chunk.js +0 -1
  266. package/dist/scripts/48.chunk.js +0 -88
  267. package/dist/scripts/49-3728b15a3c.chunk.js +0 -1
  268. package/dist/scripts/49-a76be85054.chunk.js +0 -1
  269. package/dist/scripts/49.chunk.js +0 -62
  270. package/dist/scripts/5-3fe2876121.chunk.js +0 -1
  271. package/dist/scripts/5-c3a1e51e77.chunk.js +0 -1
  272. package/dist/scripts/5.chunk.js +0 -10
  273. package/dist/scripts/50-06212d1dc8.chunk.js +0 -1
  274. package/dist/scripts/50-a20245292f.chunk.js +0 -1
  275. package/dist/scripts/50.chunk.js +0 -64
  276. package/dist/scripts/51-4e98f3c73f.chunk.js +0 -1
  277. package/dist/scripts/51-af622cc279.chunk.js +0 -1
  278. package/dist/scripts/51.chunk.js +0 -55
  279. package/dist/scripts/52-1ece273b07.chunk.js +0 -1
  280. package/dist/scripts/52-c988320a6f.chunk.js +0 -1
  281. package/dist/scripts/52.chunk.js +0 -47
  282. package/dist/scripts/53-1514119651.chunk.js +0 -1
  283. package/dist/scripts/53-eae4eb72dc.chunk.js +0 -1
  284. package/dist/scripts/53.chunk.js +0 -56
  285. package/dist/scripts/54-56e7cb4493.chunk.js +0 -1
  286. package/dist/scripts/54-f489df5eda.chunk.js +0 -1
  287. package/dist/scripts/54.chunk.js +0 -56
  288. package/dist/scripts/55-b621cecfd3.chunk.js +0 -1
  289. package/dist/scripts/55-c7303d997f.chunk.js +0 -1
  290. package/dist/scripts/55.chunk.js +0 -41
  291. package/dist/scripts/56-53c4bdf797.chunk.js +0 -1
  292. package/dist/scripts/56-db9dbfd5fa.chunk.js +0 -1
  293. package/dist/scripts/56.chunk.js +0 -41
  294. package/dist/scripts/57-be599f08b2.chunk.js +0 -1
  295. package/dist/scripts/57-fb4f8ce1ab.chunk.js +0 -1
  296. package/dist/scripts/57.chunk.js +0 -50
  297. package/dist/scripts/58-8d1653ecd7.chunk.js +0 -1
  298. package/dist/scripts/58-c0e985cbc4.chunk.js +0 -1
  299. package/dist/scripts/58.chunk.js +0 -33
  300. package/dist/scripts/59-9b9c8c0f2d.chunk.js +0 -1
  301. package/dist/scripts/59-fcf6a940d6.chunk.js +0 -1
  302. package/dist/scripts/59.chunk.js +0 -33
  303. package/dist/scripts/6-a39d1f4585.chunk.js +0 -1
  304. package/dist/scripts/6-deb7609cc9.chunk.js +0 -1
  305. package/dist/scripts/6.chunk.js +0 -40
  306. package/dist/scripts/60-6995cd4cf5.chunk.js +0 -1
  307. package/dist/scripts/60-b4f7090720.chunk.js +0 -1
  308. package/dist/scripts/60.chunk.js +0 -33
  309. package/dist/scripts/61-7d1475b277.chunk.js +0 -1
  310. package/dist/scripts/61-cac68e627b.chunk.js +0 -1
  311. package/dist/scripts/61.chunk.js +0 -33
  312. package/dist/scripts/62-2aa55f08d5.chunk.js +0 -1
  313. package/dist/scripts/62-3a96a88b11.chunk.js +0 -1
  314. package/dist/scripts/62.chunk.js +0 -25
  315. package/dist/scripts/63-65744e61fe.chunk.js +0 -1
  316. package/dist/scripts/63-90bb249d0f.chunk.js +0 -1
  317. package/dist/scripts/63.chunk.js +0 -25
  318. package/dist/scripts/64-4f64cd6916.chunk.js +0 -1
  319. package/dist/scripts/64-b92f429d9a.chunk.js +0 -1
  320. package/dist/scripts/64.chunk.js +0 -33
  321. package/dist/scripts/65-179891d951.chunk.js +0 -1
  322. package/dist/scripts/65-fe362dec65.chunk.js +0 -1
  323. package/dist/scripts/65.chunk.js +0 -34
  324. package/dist/scripts/66-0bda221806.chunk.js +0 -1
  325. package/dist/scripts/66-b1de02727e.chunk.js +0 -1
  326. package/dist/scripts/66.chunk.js +0 -33
  327. package/dist/scripts/67-9773a2f9cf.chunk.js +0 -1
  328. package/dist/scripts/67-fc341ce660.chunk.js +0 -1
  329. package/dist/scripts/67.chunk.js +0 -25
  330. package/dist/scripts/68-2ff366d408.chunk.js +0 -1
  331. package/dist/scripts/68-c6ef8701a2.chunk.js +0 -1
  332. package/dist/scripts/68.chunk.js +0 -25
  333. package/dist/scripts/69-4af679bc4c.chunk.js +0 -1
  334. package/dist/scripts/69-5368c32a2e.chunk.js +0 -1
  335. package/dist/scripts/69.chunk.js +0 -25
  336. package/dist/scripts/7-c387d70c9b.chunk.js +0 -1
  337. package/dist/scripts/7-c86af5cc3a.chunk.js +0 -1
  338. package/dist/scripts/7.chunk.js +0 -33
  339. package/dist/scripts/70-3650ef74f8.chunk.js +0 -1
  340. package/dist/scripts/70-e782f523de.chunk.js +0 -1
  341. package/dist/scripts/70.chunk.js +0 -25
  342. package/dist/scripts/71-a45419aed7.chunk.js +0 -1
  343. package/dist/scripts/71-cf362223a9.chunk.js +0 -1
  344. package/dist/scripts/71.chunk.js +0 -25
  345. package/dist/scripts/72-3f71367bdd.chunk.js +0 -1
  346. package/dist/scripts/72-93adcc17c5.chunk.js +0 -1
  347. package/dist/scripts/72.chunk.js +0 -25
  348. package/dist/scripts/73.chunk.js +0 -25
  349. package/dist/scripts/74.chunk.js +0 -25
  350. package/dist/scripts/75.chunk.js +0 -25
  351. package/dist/scripts/76.chunk.js +0 -25
  352. package/dist/scripts/77.chunk.js +0 -26
  353. package/dist/scripts/78.chunk.js +0 -26
  354. package/dist/scripts/79.chunk.js +0 -26
  355. package/dist/scripts/8-2e66d6cb35.chunk.js +0 -1
  356. package/dist/scripts/8-82c9c86dfd.chunk.js +0 -1
  357. package/dist/scripts/8.chunk.js +0 -33
  358. package/dist/scripts/80.chunk.js +0 -26
  359. package/dist/scripts/81.chunk.js +0 -26
  360. package/dist/scripts/82.chunk.js +0 -26
  361. package/dist/scripts/83.chunk.js +0 -26
  362. package/dist/scripts/84.chunk.js +0 -26
  363. package/dist/scripts/85.chunk.js +0 -26
  364. package/dist/scripts/86.chunk.js +0 -18
  365. package/dist/scripts/87.chunk.js +0 -18
  366. package/dist/scripts/88.chunk.js +0 -18
  367. package/dist/scripts/89.chunk.js +0 -18
  368. package/dist/scripts/9-61225547b6.chunk.js +0 -1
  369. package/dist/scripts/9-bd46228181.chunk.js +0 -1
  370. package/dist/scripts/9.chunk.js +0 -18
  371. package/dist/scripts/90.chunk.js +0 -18
  372. package/dist/scripts/91.chunk.js +0 -18
  373. package/dist/scripts/92.chunk.js +0 -18
  374. package/dist/scripts/bundle-39b749b21d.min.js +0 -10
  375. package/dist/scripts/bundle-42046b5b88.min.js +0 -10
  376. package/dist/scripts/bundle-a8b8854ef1.min.js +0 -10
  377. package/dist/scripts/bundle-f18858be26.min.js +0 -10
  378. package/dist/scripts/bundle.js +0 -8153
  379. package/dist/scripts/polyfills-022d27190f.min.js +0 -1
  380. package/dist/scripts/polyfills-5139b6bb05.min.js +0 -1
  381. package/dist/scripts/polyfills-b0f2bc073f.min.js +0 -1
  382. package/dist/scripts/polyfills.js +0 -2701
@@ -1 +0,0 @@
1
- (window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[58],{1363:function(n,t,e){n.exports={backupImage:"_10r2k",info:"_1O7-y",button:"_1cN_3",bolder:"bxulh",question:"_2OYs-",collapse:"_1dD-L",collapseContents:"_2sqEn",migrationBackupContainer:"_2Hcov"}},1364:function(n,t,e){var l=e(10);n.exports=(l.default||l).template({compiler:[8,">= 4.3.0"],main:function(n,t,e,l,a){n.propertyIsEnumerable;var o,r,i=null!=t?t:n.nullContext||{},c=n.hooks.helperMissing,s=n.escapeExpression,u=n.lambda;return'<div class="row mb-2">\r\n <h4 class="col-12">'+s((e.lang||t&&t.lang||c).call(i,"heading",{name:"lang",hash:{},data:a}))+'</h4>\r\n</div>\r\n\r\n<div class="row">\r\n <div class="col-12">\r\n <p>\r\n '+s((e.lang||t&&t.lang||c).call(i,"toSucceed",{name:"lang",hash:{},data:a}))+'\r\n </p>\r\n </div>\r\n</div>\r\n\r\n<div class="row mt-3 d-block p-3 '+s(u(null!=(o=null!=(o=null!=t?t.options:t)?o.styles:o)?o.question:o,t))+'">\r\n <p class="text-center text-white">'+s((e.lang||t&&t.lang||c).call(i,"check",{name:"lang",hash:{},data:a}))+'</p>\r\n\r\n <div id="accordion">\r\n <button type="button" class="btn bg-white btn-block '+s(u(null!=(o=null!=(o=null!=t?t.options:t)?o.styles:o)?o.button:o,t))+' mb-2 mt-2" data-toggle="collapse" data-target="#collapseYes" aria-expanded="true" aria-controls="collapseYes">'+s((e.lang||t&&t.lang||c).call(i,"checkConfirm",{name:"lang",hash:{},data:a}))+'</button>\r\n <div id="collapseYes" class="collapse mb-2 mt-2 pl-3 pr-3 pb-3 pt-1 '+s(u(null!=(o=null!=(o=null!=t?t.options:t)?o.styles:o)?o.collapse:o,t))+'" aria-labelledby="collapseYes" data-parent="#accordion">\r\n <hr>\r\n <div class="text-center '+s(u(null!=(o=null!=(o=null!=t?t.options:t)?o.styles:o)?o.collapseContents:o,t))+'">\r\n <p class="'+s(u(null!=(o=null!=(o=null!=t?t.options:t)?o.styles:o)?o.bolder:o,t))+'">\r\n '+s((e.lang||t&&t.lang||c).call(i,"downloadAndRun",{name:"lang",hash:{},data:a}))+"\r\n <br>\r\n ("+s((e.lang||t&&t.lang||c).call(i,"contactAdmin",{name:"lang",hash:{},data:a}))+')\r\n </p>\r\n <a class="text-white text-center btn btn-primary" target="_blank" href='+s("function"==typeof(r=null!=(r=e.downloadUrl||(null!=t?t.downloadUrl:t))?r:c)?r.call(i,{name:"downloadUrl",hash:{},data:a}):r)+">"+s((e.lang||t&&t.lang||c).call(i,"download",{name:"lang",hash:{},data:a}))+'</a>\r\n </div>\r\n </div>\r\n\r\n <button type="button" class="btn bg-white btn-block '+s(u(null!=(o=null!=(o=null!=t?t.options:t)?o.styles:o)?o.button:o,t))+' mb-2 mt-2" data-toggle="collapse" data-target="#collapseNo" aria-expanded="true" aria-controls="collapseNo">'+s((e.lang||t&&t.lang||c).call(i,"checkDecline",{name:"lang",hash:{},data:a}))+'</button>\r\n <div id="collapseNo" class="collapse mb-2 mt-2 pl-3 pr-3 pb-3 pt-1 '+s(u(null!=(o=null!=(o=null!=t?t.options:t)?o.styles:o)?o.collapse:o,t))+'" aria-labelledby="collapseNo" data-parent="#accordion">\r\n <hr>\r\n <div class="text-center '+s(u(null!=(o=null!=(o=null!=t?t.options:t)?o.styles:o)?o.collapseContents:o,t))+'">\r\n <p class="'+s(u(null!=(o=null!=(o=null!=t?t.options:t)?o.styles:o)?o.bolder:o,t))+'">\r\n '+s((e.lang||t&&t.lang||c).call(i,"toComplete",{name:"lang",hash:{},data:a}))+'<a class="info-link" target="_blank" href="'+s(u(null!=(o=null!=t?t.options:t)?o.supportUrl:o,t))+'">'+s((e.lang||t&&t.lang||c).call(i,"helpArticle",{name:"lang",hash:{},data:a}))+"</a>.\r\n <br>\r\n "+s((e.lang||t&&t.lang||c).call(i,"contactAdmin",{name:"lang",hash:{},data:a}))+'\r\n </p>\r\n <p class="'+s(u(null!=(o=null!=(o=null!=t?t.options:t)?o.styles:o)?o.bolder:o,t))+'">\r\n '+(null!=(o=(e.lang||t&&t.lang||c).call(i,"bookAppointment",{name:"lang",hash:{appointmentUrl:null!=(o=null!=t?t.options:t)?o.appointmentUrl:o,className:"info-link"},data:a}))?o:"")+"\r\n </p>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n</div>"},useData:!0})},1451:function(n,t,e){"use strict";e.r(t),e.d(t,"PublisherBackupView",(function(){return C}));var l=e(59),a=e(2),o=e(5),r=e(3),i=e(1363),c=e.n(i),s=e(1364),u=e.n(s),p=e(57),d=e(0),f=e(195),g=e(303),b=e(305),h=e(141);function y(n){return(y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function m(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function")}function v(n,t){for(var e=0;e<t.length;e++){var l=t[e];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(n,l.key,l)}}function k(n,t){return(k=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function w(n){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(n){return!1}}();return function(){var e,l=S(n);if(t){var a=S(this).constructor;e=Reflect.construct(l,arguments,a)}else e=l.apply(this,arguments);return _(this,e)}}function _(n,t){return!t||"object"!==y(t)&&"function"!=typeof t?function(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}(n):t}function S(n){return(S=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var C=function(n){!function(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),t&&k(n,t)}(y,n);var t,e,i,s=w(y);function y(){return m(this,y),s.apply(this,arguments)}return t=y,(e=[{key:"initialize",value:function(){this.migrationVideoDataService=o.a.getInstance(d.g.MigrationVideo,this),this.listenTo(d.e.MIGRATION,"".concat(d.f.BACKUP_TOOL,":sync"),this.render)}},{key:"name",get:function(){return"PublisherBackupView"}},{key:"title",get:function(){return r.a.getPhrase(this.lang,"title")}},{key:"lang",get:function(){return"migrationWizard.publisherBackup"}},{key:"className",get:function(){return"container p-4 bg-white ".concat(c.a.migrationBackupContainer," ").concat(c.a.info)}},{key:"template",get:function(){return u.a}},{key:"pollCloudSyncStatus",value:function(){var n=this;this.migrationVideoDataService.clearCacheAndGetCustomerMetadata((function(t){p.a.backupProcessing(t)?a.a.AppLinkHelper.trigger({application:d.b.MIGRATION_WIZARD,action:d.a.MigrationWizard.BACKUP_PROGRESS}):p.a.backupComplete(t)?a.a.AppLinkHelper.trigger({application:d.b.MIGRATION_WIZARD,action:d.a.MigrationWizard.BACKUP_COMPLETE}):setTimeout((function(){return n.pollCloudSyncStatus()}),3e4)}))}},{key:"requiredResources",get:function(){return{config:f.b.config,currentUser:h.b.currentUser}}},{key:"onBeforeRender",value:function(){return this.model=this.migrationVideoDataService.getBackupTool(this.config.get("pbtDownloadChannel")),!!this.model}},{key:"viewOptions",value:function(){var n,t;return{styles:c.a,supportUrl:b.a.getArticle(null===(n=this.config)||void 0===n?void 0:n.get("supportSiteUrl"),g.a.PublisherServer,null===(t=this.currentUser)||void 0===t?void 0:t.get("countryCode")),appointmentUrl:"".concat(l.a.safeUrlConcat(this.config.get("marketingSiteUrl"),"/library-editor/book-appointment"))}}},{key:"onRender",value:function(){this.pollingStarted||(this.pollCloudSyncStatus(),this.pollingStarted=!0)}}])&&v(t.prototype,e),i&&v(t,i),y}(a.a.View)}}]);
@@ -1,33 +0,0 @@
1
- (window["webpackJsonp_clickview_library_editor"] = window["webpackJsonp_clickview_library_editor"] || []).push([[58],{
2
-
3
- /***/ "./src/apps/content-updates/views/generate-past-releases-pdf/GeneratePastReleasesPdf.hbs":
4
- /***/ (function(module, exports, __webpack_require__) {
5
-
6
- 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, alias1=container.propertyIsEnumerable, alias2=container.lambda, alias3=container.escapeExpression, alias4=depth0 != null ? depth0 : (container.nullContext || {}), alias5=container.hooks.helperMissing;\n\n return \"<div class=\\\"pb-3 text-center\\\">\\r\\n <img src=\\\"\"\n + alias3(alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.imageUrl : stack1), depth0))\n + \"\\\" class=\\\"\"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.image : stack1), depth0))\n + \"\\\" />\\r\\n</div>\\r\\n<p class=\\\"m-0\\\">\\r\\n \"\n + ((stack1 = (helpers.lang||(depth0 && depth0.lang)||alias5).call(alias4,\"body1\",{\"name\":\"lang\",\"hash\":{},\"data\":data})) != null ? stack1 : \"\")\n + \"\\r\\n \"\n + ((stack1 = helpers[\"if\"].call(alias4,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.libraryText : stack1),{\"name\":\"if\",\"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.subject : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(6, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + \"\\r\\n \"\n + ((stack1 = (helpers.lang||(depth0 && depth0.lang)||alias5).call(alias4,\"body4\",{\"name\":\"lang\",\"hash\":{\"email\":((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.email : stack1),\"to\":((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.to : stack1),\"from\":((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.from : stack1)},\"data\":data})) != null ? stack1 : \"\")\n + \"\\r\\n</p>\\r\\n\";\n},\"4\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable;\n\n return ((stack1 = (helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),\"body2\",{\"name\":\"lang\",\"hash\":{\"libraryText\":((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.libraryText : stack1)},\"data\":data})) != null ? stack1 : \"\");\n},\"6\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable;\n\n return ((stack1 = (helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),\"body3\",{\"name\":\"lang\",\"hash\":{\"subject\":((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.subject : stack1)},\"data\":data})) != null ? stack1 : \"\");\n},\"compiler\":[8,\">= 4.3.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable;\n\n return ((stack1 = helpers.unless.call(depth0 != null ? depth0 : (container.nullContext || {}),((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.dataFetched : stack1),{\"name\":\"unless\",\"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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvYXBwcy9jb250ZW50LXVwZGF0ZXMvdmlld3MvZ2VuZXJhdGUtcGFzdC1yZWxlYXNlcy1wZGYvR2VuZXJhdGVQYXN0UmVsZWFzZXNQZGYuaGJzLmpzIiwic291cmNlcyI6WyJmaWxlOi8vQzovQ2xpY2tWaWV3IFByb2plY3RzL0BjbGlja3ZpZXcvcGFja2FnZXMvcHJvamVjdHMvbGlicmFyeS1lZGl0b3Ivc3JjL2FwcHMvY29udGVudC11cGRhdGVzL3ZpZXdzL2dlbmVyYXRlLXBhc3QtcmVsZWFzZXMtcGRmL0dlbmVyYXRlUGFzdFJlbGVhc2VzUGRmLmhicyJdLCJzb3VyY2VzQ29udGVudCI6WyJ2YXIgSGFuZG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WxsID8gc3RhY2sxIDogXCJcIik7XG59LFwiY29tcGlsZXJcIjpbOCxcIj49IDQuMy4wXCJdLFwibWFpblwiOmZ1bmN0aW9uKGNvbnRhaW5lcixkZXB0aDAsaGVscGVycyxwYXJ0aWFscyxkYXRhKSB7XG4gICAgdmFyIHN0YWNrMSwgYWxpYXMxPWNvbnRhaW5lci5wcm9wZXJ0eUlzRW51bWVyYWJsZTtcblxuICByZXR1cm4gKChzdGFjazEgPSBoZWxwZXJzLnVubGVzcy5jYWxsKGRlcHRoMCAhPSBudWxsID8gZGVwdGgwIDogKGNvbnRhaW5lci5udWxsQ29udGV4dCB8fCB7fSksKChzdGFjazEgPSAoZGVwdGgwICE9IG51bGwgPyBkZXB0aDAub3B0aW9ucyA6IGRlcHRoMCkpICE9IG51bGwgPyBzdGFjazEuZGF0YUZldGNoZWQgOiBzdGFjazEpLHtcIm5hbWVcIjpcInVubGVzc1wiLFwiaGFzaFwiOnt9LFwiZm5cIjpjb250YWluZXIucHJvZ3JhbSgxLCBkYXRhLCAwKSxcImludmVyc2VcIjpjb250YWluZXIucHJvZ3JhbSgzLCBkYXRhLCAwKSxcImRhdGFcIjpkYXRhfSkpICE9IG51bGwgPyBzdGFjazEgOiBcIlwiKTtcbn0sXCJ1c2VEYXRhXCI6dHJ1ZX0pOyJdLCJtYXBwaW5ncyI6IkFBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./src/apps/content-updates/views/generate-past-releases-pdf/GeneratePastReleasesPdf.hbs\n");
7
-
8
- /***/ }),
9
-
10
- /***/ "./src/apps/content-updates/views/generate-past-releases-pdf/GeneratePastReleasesPdfView.ts":
11
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
12
-
13
- "use strict";
14
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"GeneratePastReleasesPdfView\", function() { return GeneratePastReleasesPdfView; });\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 moment__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\"moment\");\n/* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(moment__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var libs_common_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\"../../libs/common/src/backbone/index.ts\");\n/* harmony import */ var libs_common_backbone_services_InstanceManager__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\"../../libs/common/src/backbone/services/InstanceManager.ts\");\n/* harmony import */ var libs_common_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(\"../../libs/common/src/backbone/services/LanguageService.tsx\");\n/* harmony import */ var libs_analytics_interfaces__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(\"../../libs/analytics/src/interfaces/index.ts\");\n/* harmony import */ var libs_analytics_AnalyticsHelper__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(\"../../libs/analytics/src/AnalyticsHelper.ts\");\n/* harmony import */ var shared_behaviors__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(\"./src/shared/behaviors/index.ts\");\n/* harmony import */ var shared_interfaces__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(\"./src/shared/interfaces/index.ts\");\n/* harmony import */ var shared_services_UserDataService__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(\"./src/shared/services/UserDataService.ts\");\n/* harmony import */ var shared_constants__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(\"./src/shared/constants/index.ts\");\n/* harmony import */ var shared_models_DisabledSpinnerModel__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(\"./src/shared/models/DisabledSpinnerModel.ts\");\n/* harmony import */ var shared_utils__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(\"./src/shared/utils/index.ts\");\n/* harmony import */ var apps_content_updates_utils__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(\"./src/apps/content-updates/utils/index.ts\");\n/* harmony import */ var shared_components_spinner_button_SpinnerButtonComponent__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(\"./src/shared/components/spinner-button/SpinnerButtonComponent.ts\");\n/* harmony import */ var apps_search_models__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(\"./src/apps/search/models/index.ts\");\n/* harmony import */ var _GeneratePastReleasesPdf_hbs__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(\"./src/apps/content-updates/views/generate-past-releases-pdf/GeneratePastReleasesPdf.hbs\");\n/* harmony import */ var _GeneratePastReleasesPdf_hbs__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(_GeneratePastReleasesPdf_hbs__WEBPACK_IMPORTED_MODULE_16__);\n/* harmony import */ var _generate_past_releases_pdf_scss__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(\"./src/apps/content-updates/views/generate-past-releases-pdf/generate-past-releases-pdf.scss\");\n/* harmony import */ var _generate_past_releases_pdf_scss__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(_generate_past_releases_pdf_scss__WEBPACK_IMPORTED_MODULE_17__);\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 GeneratePastReleasesPdfView = /*#__PURE__*/function (_Core$View) {\n _inherits(GeneratePastReleasesPdfView, _Core$View);\n\n var _super = _createSuper(GeneratePastReleasesPdfView);\n\n function GeneratePastReleasesPdfView(options) {\n _classCallCheck(this, GeneratePastReleasesPdfView);\n\n return _super.call(this, options);\n }\n\n _createClass(GeneratePastReleasesPdfView, [{\n key: \"initialize\",\n value: function initialize() {\n this.libraryDataService = libs_common_backbone_services_InstanceManager__WEBPACK_IMPORTED_MODULE_3__[\"InstanceManager\"].getInstance(shared_constants__WEBPACK_IMPORTED_MODULE_10__[\"DataServices\"].Library, this);\n this.contentUpdatesDataService = libs_common_backbone_services_InstanceManager__WEBPACK_IMPORTED_MODULE_3__[\"InstanceManager\"].getInstance(shared_constants__WEBPACK_IMPORTED_MODULE_10__[\"DataServices\"].ContentUpdates, this);\n this.exportDataService = libs_common_backbone_services_InstanceManager__WEBPACK_IMPORTED_MODULE_3__[\"InstanceManager\"].getInstance(shared_constants__WEBPACK_IMPORTED_MODULE_10__[\"DataServices\"].Export, this);\n }\n }, {\n key: \"name\",\n get: function get() {\n return 'GeneratePastReleasesPdfView';\n }\n }, {\n key: \"title\",\n get: function get() {\n return libs_common_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_4__[\"LanguageService\"].getPhrase(this.lang, 'title');\n }\n }, {\n key: \"lang\",\n get: function get() {\n return 'contentUpdates.generatePastReleasesPdf';\n }\n }, {\n key: \"template\",\n get: function get() {\n return _GeneratePastReleasesPdf_hbs__WEBPACK_IMPORTED_MODULE_16___default.a;\n }\n }, {\n key: \"channelName\",\n get: function get() {\n return shared_utils__WEBPACK_IMPORTED_MODULE_12__[\"RadioChannelHelper\"].generateUniqueChannelName(this);\n }\n }, {\n key: \"behaviors\",\n get: function get() {\n var _this = this;\n\n return [{\n behaviorClass: shared_behaviors__WEBPACK_IMPORTED_MODULE_7__[\"PopupBehavior\"],\n title: libs_common_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_4__[\"LanguageService\"].getPhrase(this.lang, 'heading'),\n spinnerButtonOptions: {\n model: this.spinnerModel = new shared_models_DisabledSpinnerModel__WEBPACK_IMPORTED_MODULE_11__[\"DisabledSpinnerModel\"](),\n channelName: this.channelName,\n buttonText: libs_common_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_4__[\"LanguageService\"].getPhrase(this.lang, 'generateBtn'),\n onClick: function onClick() {\n return _this.onClickGeneratePdf();\n }\n }\n }];\n }\n }, {\n key: \"onLibrariesSync\",\n value: function onLibrariesSync(libraries) {\n var _this2 = this;\n\n this.libraries = libraries;\n this.selectedLibraryIds = apps_content_updates_utils__WEBPACK_IMPORTED_MODULE_13__[\"PastReleasesHelper\"].getLibraryIds(this.options.librariesQueryString, libraries);\n this.subjectCollectionIdentifier = new shared_interfaces__WEBPACK_IMPORTED_MODULE_8__[\"RecentVideoSubjectCollectionIdentifier\"]({\n dateQueryString: this.options.dateQueryString,\n libraryIds: this.selectedLibraryIds\n });\n this.contentUpdatesDataService.getRecentVideoSubjects(this.subjectCollectionIdentifier, function (subjects) {\n return _this2.onSubjectsSync(libraries, subjects);\n });\n }\n }, {\n key: \"onSubjectsSync\",\n value: function onSubjectsSync(libraries, subjects) {\n var subjectOptions = apps_content_updates_utils__WEBPACK_IMPORTED_MODULE_13__[\"PastReleasesHelper\"].getSubjectOptions(subjects).map(function (s) {\n return new apps_search_models__WEBPACK_IMPORTED_MODULE_15__[\"Option\"](s);\n });\n var collectionIdentifierOptions = {\n dateQueryString: this.options.dateQueryString,\n libraryIds: this.selectedLibraryIds\n };\n\n if (!this.options.subjectQueryString) {\n this.videoCollectionIdentifier = new shared_interfaces__WEBPACK_IMPORTED_MODULE_8__[\"RecentVideoCollectionIdentifier\"](collectionIdentifierOptions);\n this.spinnerModel.set(shared_components_spinner_button_SpinnerButtonComponent__WEBPACK_IMPORTED_MODULE_14__[\"SpinnerButtonModelAttributes\"].Disabled, false);\n return;\n }\n\n var subjectIds = this.getSubjectIds();\n this.videoCollectionIdentifier = new shared_interfaces__WEBPACK_IMPORTED_MODULE_8__[\"RecentVideoCollectionIdentifier\"](underscore__WEBPACK_IMPORTED_MODULE_0__[\"extend\"](collectionIdentifierOptions, {\n subjects: subjectOptions.filter(function (s) {\n return !!underscore__WEBPACK_IMPORTED_MODULE_0__[\"intersection\"](subjectIds, s.get('subjectIds')).length;\n })\n }));\n this.spinnerModel.set(shared_components_spinner_button_SpinnerButtonComponent__WEBPACK_IMPORTED_MODULE_14__[\"SpinnerButtonModelAttributes\"].Disabled, false);\n }\n }, {\n key: \"getSubjectIds\",\n value: function getSubjectIds() {\n if (!this.options.subjectQueryString) return;\n var ids = this.options.subjectQueryString.split('-')[1];\n return ids.split(',');\n }\n }, {\n key: \"getLibrariesText\",\n value: function getLibrariesText() {\n var _this3 = this;\n\n if (this.libraries.length === this.selectedLibraryIds.length) return;\n var libraries = this.libraries.filter(function (l) {\n return underscore__WEBPACK_IMPORTED_MODULE_0__[\"contains\"](_this3.selectedLibraryIds, l.id.toString());\n });\n var names = libraries.map(function (l) {\n return \"<strong>\".concat(shared_utils__WEBPACK_IMPORTED_MODULE_12__[\"TextHelper\"].escapeExpression(l.get('name')), \"</strong>\");\n });\n if (libraries.length <= 2) return names.join(\" \".concat(libs_common_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_4__[\"LanguageService\"].getPhrase(this.lang, 'and'), \" \"));\n return underscore__WEBPACK_IMPORTED_MODULE_0__[\"first\"](names, names.length - 1).join(', ') + \" \".concat(libs_common_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_4__[\"LanguageService\"].getPhrase(this.lang, 'and'), \" \").concat(underscore__WEBPACK_IMPORTED_MODULE_0__[\"last\"](names));\n }\n }, {\n key: \"getFormattedDate\",\n value: function getFormattedDate(date) {\n if (!date) return;\n return moment__WEBPACK_IMPORTED_MODULE_1__(date).format('DD MMMM YYYY');\n }\n }, {\n key: \"getFormattedSubjects\",\n value: function getFormattedSubjects() {\n if (!this.videoCollectionIdentifier.subjects) return;\n var names = this.videoCollectionIdentifier.subjects.map(function (s) {\n return s.get('name');\n });\n if (names.length === 1) return names[0];\n return names.slice(0, -1).join(', ') + \" \".concat(libs_common_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_4__[\"LanguageService\"].getPhrase(this.lang, 'and'), \" \") + names.slice(-1);\n }\n }, {\n key: \"onClickGeneratePdf\",\n value: function onClickGeneratePdf() {\n this.spinnerModel.set(shared_components_spinner_button_SpinnerButtonComponent__WEBPACK_IMPORTED_MODULE_14__[\"SpinnerButtonModelAttributes\"].ShowSpinner, true);\n this.fetchVideosAndGeneratePdf();\n }\n }, {\n key: \"fetchVideosAndGeneratePdf\",\n value: function fetchVideosAndGeneratePdf() {\n var _this4 = this;\n\n this.contentUpdatesDataService.getRecentVideosAllPages(this.videoCollectionIdentifier, function (videos) {\n if (!videos || !videos.length) {\n _this4.triggerMethod('hide');\n\n return;\n }\n\n _this4.generatePdf(videos.map(function (v) {\n return v.id.toString();\n }));\n });\n }\n }, {\n key: \"generatePdf\",\n value: function generatePdf(videoIds) {\n var _this5 = this;\n\n var title = this.videoCollectionIdentifier.subjects ? this.getFormattedSubjects() : libs_common_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_4__[\"LanguageService\"].getPhrase(this.lang, 'latestReleases');\n var from = moment__WEBPACK_IMPORTED_MODULE_1__(this.videoCollectionIdentifier.dateOption.get('from')).format('MMMM YYYY');\n var to = moment__WEBPACK_IMPORTED_MODULE_1__(this.videoCollectionIdentifier.dateOption.get('to')).format('MMMM YYYY');\n var header = from === to ? libs_common_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_4__[\"LanguageService\"].getPhrase(this.lang, 'fromContentUpdate', {\n from: from\n }) : libs_common_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_4__[\"LanguageService\"].getPhrase(this.lang, 'fromToContentUpdates', {\n from: from,\n to: to\n });\n this.exportDataService.generateCustomListPdf(title, header, videoIds, this.currentUser, function () {\n return _this5.triggerMethod('hide');\n });\n this.logAction(videoIds.length);\n }\n }, {\n key: \"logAction\",\n value: function logAction(videoCount) {\n var analyticsOptions = {\n location: libs_analytics_interfaces__WEBPACK_IMPORTED_MODULE_5__[\"LocationContext\"].Popup,\n actionType: libs_analytics_interfaces__WEBPACK_IMPORTED_MODULE_5__[\"UserAction\"].Create,\n entity: libs_analytics_interfaces__WEBPACK_IMPORTED_MODULE_5__[\"EntityType\"].PDF,\n workflowPhase: libs_analytics_interfaces__WEBPACK_IMPORTED_MODULE_5__[\"WorkflowPhase\"].Complete\n };\n var data = {\n videoCount: videoCount,\n libraries: this.selectedLibraryIds.join(','),\n releaseDate: this.videoCollectionIdentifier.dateOption.get('name'),\n subjects: this.options.subjectQueryString ? this.videoCollectionIdentifier.subjects.map(function (s) {\n return s.get('name');\n }).join(',') : ''\n };\n libs_analytics_AnalyticsHelper__WEBPACK_IMPORTED_MODULE_6__[\"AnalyticsHelper\"].logUserAction(data, analyticsOptions);\n }\n }, {\n key: \"requiredResources\",\n get: function get() {\n return {\n currentUser: shared_services_UserDataService__WEBPACK_IMPORTED_MODULE_9__[\"UserDataServiceHelper\"].currentUser\n };\n }\n }, {\n key: \"onBeforeRender\",\n value: function onBeforeRender() {\n var _this6 = this;\n\n if (this.libraries) return;\n this.libraryDataService.getHostedLibraries(function (data) {\n return _this6.onLibrariesSync(data);\n });\n }\n }, {\n key: \"viewOptions\",\n value: function viewOptions() {\n return {\n styles: _generate_past_releases_pdf_scss__WEBPACK_IMPORTED_MODULE_17___default.a,\n dataFetched: !!this.libraries,\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 email: this.currentUser.get('email'),\n imageUrl: shared_constants__WEBPACK_IMPORTED_MODULE_10__[\"ImageUrls\"].Shared.GeneratePdf,\n libraryText: this.getLibrariesText(),\n subject: this.getFormattedSubjects(),\n from: this.videoCollectionIdentifier && this.getFormattedDate(this.videoCollectionIdentifier.dateOption.get('from')),\n to: this.videoCollectionIdentifier && this.getFormattedDate(this.videoCollectionIdentifier.dateOption.get('to'))\n };\n }\n }]);\n\n return GeneratePastReleasesPdfView;\n}(libs_common_core__WEBPACK_IMPORTED_MODULE_2__[\"Core\"].View);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvYXBwcy9jb250ZW50LXVwZGF0ZXMvdmlld3MvZ2VuZXJhdGUtcGFzdC1yZWxlYXNlcy1wZGYvR2VuZXJhdGVQYXN0UmVsZWFzZXNQZGZWaWV3LnRzLmpzIiwic291cmNlcyI6WyJmaWxlOi8vQzovQ2xpY2tWaWV3IFByb2plY3RzL0BjbGlja3ZpZXcvcGFja2FnZXMvcHJvamVjdHMvbGlicmFyeS1lZGl0b3Ivc3JjL2FwcHMvY29udGVudC11cGRhdGVzL3ZpZXdzL2dlbmVyYXRlLXBhc3QtcmVsZWFzZXMtcGRmL0dlbmVyYXRlUGFzdFJlbGVhc2VzUGRmVmlldy50cyJdLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgKiBhcyBfIGZyb20gJ3VuZGVyc2NvcmUnO1xyXG5pbXBvcnQgeyBPYmplY3RIYXNoIH0gZnJvbSAnYmFja2JvbmUnO1xyXG5pbXBvcnQgKiBhcyBtb21lbnQgZnJvbSAnbW9tZW50JztcclxuXHJcbmltcG9ydCB7IENvcmUgfSBmc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UFBO0FBQUE7QUFrTUE7QUFDQTtBQURBO0FBR0E7QUFyTUE7QUFBQTtBQUFBO0FBdU1BO0FBQ0E7QUFBQTtBQUVBO0FBQUE7QUFBQTtBQUNBO0FBM01BO0FBQUE7QUFBQTtBQThNQTtBQUNBO0FBQ0E7QUFDQTtBQUFBO0FBQUE7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQVRBO0FBV0E7QUF6TkE7QUFDQTtBQURBO0FBQUEiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./src/apps/content-updates/views/generate-past-releases-pdf/GeneratePastReleasesPdfView.ts\n");
15
-
16
- /***/ }),
17
-
18
- /***/ "./src/apps/content-updates/views/generate-past-releases-pdf/generate-past-releases-pdf.scss":
19
- /***/ (function(module, exports, __webpack_require__) {
20
-
21
- eval("// extracted by mini-css-extract-plugin\nmodule.exports = {\"image\":\"cv--image--2AV9T\"};//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvYXBwcy9jb250ZW50LXVwZGF0ZXMvdmlld3MvZ2VuZXJhdGUtcGFzdC1yZWxlYXNlcy1wZGYvZ2VuZXJhdGUtcGFzdC1yZWxlYXNlcy1wZGYuc2Nzcy5qcyIsInNvdXJjZXMiOlsiZmlsZTovL0M6L0NsaWNrVmlldyBQcm9qZWN0cy9AY2xpY2t2aWV3L3BhY2thZ2VzL3Byb2plY3RzL2xpYnJhcnktZWRpdG9yL3NyYy9hcHBzL2NvbnRlbnQtdXBkYXRlcy92aWV3cy9nZW5lcmF0ZS1wYXN0LXJlbGVhc2VzLXBkZi9nZW5lcmF0ZS1wYXN0LXJlbGVhc2VzLXBkZi5zY3NzIl0sInNvdXJjZXNDb250ZW50IjpbIi8vIGV4dHJhY3RlZCBieSBtaW5pLWNzcy1leHRyYWN0LXBsdWdpblxubW9kdWxlLmV4cG9ydHMgPSB7XCJpbWFnZVwiOlwiY3YtLWltYWdlLS0yQVY5VFwifTsiXSwibWFwcGluZ3MiOiJBQUFBO0FBQ0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./src/apps/content-updates/views/generate-past-releases-pdf/generate-past-releases-pdf.scss\n");
22
-
23
- /***/ }),
24
-
25
- /***/ "./src/shared/models/DisabledSpinnerModel.ts":
26
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
27
-
28
- "use strict";
29
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"DisabledSpinnerModel\", function() { return DisabledSpinnerModel; });\n/* harmony import */ var libs_common_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\"../../libs/common/src/backbone/index.ts\");\n/* harmony import */ var shared_components_spinner_button_SpinnerButtonComponent__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\"./src/shared/components/spinner-button/SpinnerButtonComponent.ts\");\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }\n\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\n\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\n\n\nvar DisabledSpinnerModel = /*#__PURE__*/function (_Core$Model) {\n _inherits(DisabledSpinnerModel, _Core$Model);\n\n var _super = _createSuper(DisabledSpinnerModel);\n\n function DisabledSpinnerModel() {\n _classCallCheck(this, DisabledSpinnerModel);\n\n return _super.apply(this, arguments);\n }\n\n _createClass(DisabledSpinnerModel, [{\n key: \"defaults\",\n value: function defaults() {\n return _defineProperty({}, shared_components_spinner_button_SpinnerButtonComponent__WEBPACK_IMPORTED_MODULE_1__[\"SpinnerButtonModelAttributes\"].Disabled, true);\n }\n }]);\n\n return DisabledSpinnerModel;\n}(libs_common_core__WEBPACK_IMPORTED_MODULE_0__[\"Core\"].Model);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvc2hhcmVkL21vZGVscy9EaXNhYmxlZFNwaW5uZXJNb2RlbC50cy5qcyIsInNvdXJjZXMiOlsiZmlsZTovL0M6L0NsaWNrVmlldyBQcm9qZWN0cy9AY2xpY2t2aWV3L3BhY2thZ2VzL3Byb2plY3RzL2xpYnJhcnktZWRpdG9yL3NyYy9zaGFyZWQvbW9kZWxzL0Rpc2FibGVkU3Bpbm5lck1vZGVsLnRzIl0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IE9iamVjdEhhc2ggfSBmcm9tICdiYWNrYm9uZSc7XHJcbmltcG9ydCB7IENvcmUgfSBmcm9tICdsaWJzL2NvbW1vbi9jb3JlJztcclxuaW1wb3J0IHsgU3Bpbm5lckJ1dHRvbk1vZGVsQXR0cmlidXRlcyB9IGZyb20gJ3NoYXJlZC9jb21wb25lbnRzL3NwaW5uZXItYnV0dG9uL1NwaW5uZXJCdXR0b25Db21wb25lbnQnO1xyXG5cclxuZXhwb3J0IGNsYXNzIERpc2FibGVkU3Bpbm5lck1vZGVsIGV4dGVuZHMgQ29yZS5Nb2RlbCB7XHJcbiAgcHVibGljIGRlZmF1bHRzKCk6IE9iamVjdEhhc2gge1xyXG4gICAgcmV0dXJuIHtcclxuICAgICAgW1NwaW5uZXJCdXR0b25Nb2RlbEF0dHJpYnV0ZXMuRGlzYWJsZWRdOiB0cnVlXHJcbiAgICB9O1xyXG4gIH1cclxufSJdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztBQUNBO0FBQ0E7QUFFQTtBQUFBO0FBQ0E7QUFEQTtBQUNBO0FBREE7QUFBQTtBQUNBO0FBREE7QUFBQTtBQUNBO0FBREE7QUFBQTtBQUFBO0FBRUE7QUFHQTtBQUxBO0FBQ0E7QUFEQTtBQUFBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./src/shared/models/DisabledSpinnerModel.ts\n");
30
-
31
- /***/ })
32
-
33
- }]);
@@ -1 +0,0 @@
1
- (window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[59],{1391:function(n,e,l){n.exports={videosAdded:"_2mvcb",migrationContainer:"_kJhb",info:"wszk6",image:"_1HF1l",publisherLink:"_2SXoK",icon:"_2wZJN"}},1392:function(n,e,l){var t=l(10);n.exports=(t.default||t).template({1:function(n,e,l,t,a){n.propertyIsEnumerable;var r,i=n.lambda,s=n.escapeExpression,o=null!=e?e:n.nullContext||{},u=n.hooks.helperMissing;return' <img src="/images/added.png" class="'+s(i(null!=(r=null!=(r=null!=e?e.options:e)?r.styles:r)?r.image:r,e))+' d-block p-3">\r\n <h4>'+s((l.lang||e&&e.lang||u).call(o,"heading",{name:"lang",hash:{},data:a}))+'</h4>\r\n <span class="p-2 d-block '+s(i(null!=(r=null!=(r=null!=e?e.options:e)?r.styles:r)?r.info:r,e))+'">\r\n'+(null!=(r=l.if.call(o,null!=(r=null!=e?e.options:e)?r.firstTime:r,{name:"if",hash:{},fn:n.program(2,a,0),inverse:n.program(4,a,0),data:a}))?r:"")+" "+s((l.lang||e&&e.lang||u).call(o,"tip1",{name:"lang",hash:{},data:a}))+'\r\n <span class="'+s(i(null!=(r=null!=(r=null!=e?e.options:e)?r.styles:r)?r.publisherLink:r,e))+'">\r\n <span class="d-inline-block align-middle '+s(i(null!=(r=null!=(r=null!=e?e.options:e)?r.styles:r)?r.icon:r,e))+'">'+(null!=(r=i(null!=(r=null!=e?e.options:e)?r.publisherIcon:r,e))?r:"")+"</span>\r\n "+s((l.lang||e&&e.lang||u).call(o,"tip2",{name:"lang",hash:{},data:a}))+'\r\n </span>\r\n </span>\r\n <a class="btn btn-primary m-2 applink-start '+s(i(null!=(r=null!=(r=null!=e?e.options:e)?r.styles:r)?r.info:r,e))+'">\r\n'+(null!=(r=l.if.call(o,null!=(r=null!=e?e.options:e)?r.firstTime:r,{name:"if",hash:{},fn:n.program(6,a,0),inverse:n.program(8,a,0),data:a}))?r:"")+" </a>\r\n"},2:function(n,e,l,t,a){n.propertyIsEnumerable;return" "+n.escapeExpression((l.lang||e&&e.lang||n.hooks.helperMissing).call(null!=e?e:n.nullContext||{},"firstTime",{name:"lang",hash:{},data:a}))+"\r\n"},4:function(n,e,l,t,a){n.propertyIsEnumerable;return" "+n.escapeExpression((l.lang||e&&e.lang||n.hooks.helperMissing).call(null!=e?e:n.nullContext||{},"notFirstTime",{name:"lang",hash:{},data:a}))+"\r\n"},6:function(n,e,l,t,a){n.propertyIsEnumerable;return" "+n.escapeExpression((l.lang||e&&e.lang||n.hooks.helperMissing).call(null!=e?e:n.nullContext||{},"start",{name:"lang",hash:{},data:a}))+"\r\n"},8:function(n,e,l,t,a){n.propertyIsEnumerable;return" "+n.escapeExpression((l.lang||e&&e.lang||n.hooks.helperMissing).call(null!=e?e:n.nullContext||{},"continue",{name:"lang",hash:{},data:a}))+" \r\n"},10:function(n,e,l,t,a){n.propertyIsEnumerable;var r,i=n.lambda,s=n.escapeExpression,o=null!=e?e:n.nullContext||{},u=n.hooks.helperMissing;return' <img src="/images/added-warning.png" class="'+s(i(null!=(r=null!=(r=null!=e?e.options:e)?r.styles:r)?r.image:r,e))+' d-block p-3">\r\n <h4>'+s((l.lang||e&&e.lang||u).call(o,"warningHeading",{name:"lang",hash:{},data:a}))+'</h4>\r\n <span class="p-2 d-block '+s(i(null!=(r=null!=(r=null!=e?e.options:e)?r.styles:r)?r.info:r,e))+'">\r\n '+(null!=(r=(l.lang||e&&e.lang||u).call(o,"issues",{name:"lang",hash:{},data:a}))?r:"")+' \r\n <span class="'+s(i(null!=(r=null!=(r=null!=e?e.options:e)?r.styles:r)?r.publisherLink:r,e))+'">\r\n <span class="d-inline-block align-middle '+s(i(null!=(r=null!=(r=null!=e?e.options:e)?r.styles:r)?r.icon:r,e))+'">'+(null!=(r=i(null!=(r=null!=e?e.options:e)?r.publisherIcon:r,e))?r:"")+"</span>\r\n </span>\r\n "+s((l.lang||e&&e.lang||u).call(o,"tip2",{name:"lang",hash:{},data:a}))+"\r\n </span>\r\n"+(null!=(r=l.if.call(o,null!=(r=null!=e?e.options:e)?r.firstTime:r,{name:"if",hash:{},fn:n.program(11,a,0),inverse:n.program(13,a,0),data:a}))?r:"")},11:function(n,e,l,t,a){var r;n.propertyIsEnumerable;return" "+(null!=(r=(l.lang||e&&e.lang||n.hooks.helperMissing).call(null!=e?e:n.nullContext||{},"startOrReview",{name:"lang",hash:{reviewClasses:"applink-migration-warnings text-underline",startClasses:"btn btn-primary m-2 applink-start {{options.styles.info}}"},data:a}))?r:"")+"\r\n"},13:function(n,e,l,t,a){var r;n.propertyIsEnumerable;return" "+(null!=(r=(l.lang||e&&e.lang||n.hooks.helperMissing).call(null!=e?e:n.nullContext||{},"continueOrReview",{name:"lang",hash:{reviewClasses:"applink-migration-warnings text-underline",continueClasses:"btn btn-primary m-2 applink-start {{options.styles.info}}"},data:a}))?r:"")+"\r\n"},15:function(n,e,l,t,a){n.propertyIsEnumerable;var r,i=n.lambda,s=n.escapeExpression,o=null!=e?e:n.nullContext||{},u=n.hooks.helperMissing;return' <img src="/images/added-error.png" class="'+s(i(null!=(r=null!=(r=null!=e?e.options:e)?r.styles:r)?r.image:r,e))+' d-block p-3">\r\n <h4>'+s((l.lang||e&&e.lang||u).call(o,"errorsHeading",{name:"lang",hash:{},data:a}))+'</h4>\r\n <span class="p-2 d-block '+s(i(null!=(r=null!=(r=null!=e?e.options:e)?r.styles:r)?r.info:r,e))+'">\r\n'+(null!=(r=l.if.call(o,null!=(r=null!=e?e.options:e)?r.successes:r,{name:"if",hash:{},fn:n.program(16,a,0),inverse:n.noop,data:a}))?r:"")+" "+(null!=(r=(l.lang||e&&e.lang||u).call(o,"reviews",{name:"lang",hash:{smartCount:null!=(r=null!=e?e.options:e)?r.warnings:r},data:a}))?r:"")+'\r\n </span>\r\n <button class="btn btn-primary m-2 applink-migration-warnings '+s(i(null!=(r=null!=(r=null!=e?e.options:e)?r.styles:r)?r.info:r,e))+'">\r\n '+s((l.lang||e&&e.lang||u).call(o,"goToReview",{name:"lang",hash:{},data:a}))+"\r\n </button>\r\n"},16:function(n,e,l,t,a){var r;n.propertyIsEnumerable;return" "+(null!=(r=(l.lang||e&&e.lang||n.hooks.helperMissing).call(null!=e?e:n.nullContext||{},"successes",{name:"lang",hash:{smartCount:null!=(r=null!=e?e.options:e)?r.successes:r},data:a}))?r:"")+" \r\n"},compiler:[8,">= 4.3.0"],main:function(n,e,l,t,a){n.propertyIsEnumerable;var r,i=null!=e?e:n.nullContext||{};return(null!=(r=l.if.call(i,null!=(r=null!=e?e.options:e)?r.showSuccess:r,{name:"if",hash:{},fn:n.program(1,a,0),inverse:n.noop,data:a}))?r:"")+(null!=(r=l.if.call(i,null!=(r=null!=e?e.options:e)?r.showWarning:r,{name:"if",hash:{},fn:n.program(10,a,0),inverse:n.noop,data:a}))?r:"")+(null!=(r=l.if.call(i,null!=(r=null!=e?e.options:e)?r.showError:r,{name:"if",hash:{},fn:n.program(15,a,0),inverse:n.noop,data:a}))?r:"")},useData:!0})},1457:function(n,e,l){"use strict";l.r(e),l.d(e,"VideosAddedView",(function(){return b}));var t=l(2),a=l(5),r=l(17),i=l(0),s=l(3),o=l(1391),u=l.n(o),c=l(1392),p=l.n(c);function g(n){return(g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function h(n,e){for(var l=0;l<e.length;l++){var t=e[l];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(n,t.key,t)}}function f(n,e){return(f=Object.setPrototypeOf||function(n,e){return n.__proto__=e,n})(n,e)}function m(n){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(n){return!1}}();return function(){var l,t=y(n);if(e){var a=y(this).constructor;l=Reflect.construct(t,arguments,a)}else l=t.apply(this,arguments);return d(this,l)}}function d(n,e){return!e||"object"!==g(e)&&"function"!=typeof e?function(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}(n):e}function y(n){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var b=function(n){!function(n,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),e&&f(n,e)}(c,n);var e,l,t,o=m(c);function c(n){return function(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}(this,c),o.call(this,n)}return e=c,(l=[{key:"initialize",value:function(){this.migrationVideoDataService=a.a.getInstance(i.g.MigrationVideo,this),this.listenTo(i.e.MIGRATION,"".concat(i.f.FINALISATION,":").concat(this.options.finalisationTaskId,":sync"),this.render)}},{key:"name",get:function(){return"VideosAddedView"}},{key:"title",get:function(){return s.a.getPhrase(this.lang,"title")}},{key:"lang",get:function(){return"migrationWizard.videosAdded"}},{key:"template",get:function(){return p.a}},{key:"className",get:function(){return"".concat(u.a.migrationContainer," text-center p-3 bg-white ").concat(u.a.videosAdded)}},{key:"appLinks",get:function(){return{".applink-start":{application:i.b.LIBRARY_EDITOR,action:i.a.LibraryEditor.HOME},".applink-migration-warnings":{application:i.b.MIGRATION_WIZARD,action:i.a.MigrationWizard.MIGRATION_ERRORS}}}},{key:"showError",value:function(){return!this.options.firstTime&&this.model.get("videosWithWarning")}},{key:"showWarning",value:function(){return!(!this.options.firstTime||!this.model.get("videosWithWarning"))}},{key:"showSuccess",value:function(){return!this.model.get("videosWithWarning")}},{key:"viewOptions",value:function(){return{styles:u.a,publisherIcon:r.a.getSvg(r.b.PublisherArchive),firstTime:this.options.firstTime,showSuccess:this.showSuccess(),showWarning:this.showWarning(),showError:this.showError(),successes:this.model.get("successfullyProcessed"),warnings:this.model.get("videosWithWarning")}}},{key:"onBeforeRender",value:function(){var n=this;return!!this.model||(this.migrationVideoDataService.clearCacheAndGetManualReviewVideoCount(),this.migrationVideoDataService.getFinalisationTask(this.options.finalisationTaskId,(function(e){n.model=e,n.render()})),!1)}}])&&h(e.prototype,l),t&&h(e,t),c}(t.a.View)}}]);
@@ -1 +0,0 @@
1
- (window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[59],{1390:function(n,e,l){n.exports={videosAdded:"_2mvcb",migrationContainer:"_kJhb",info:"wszk6",image:"_1HF1l",publisherLink:"_2SXoK",icon:"_2wZJN"}},1391:function(n,e,l){var t=l(10);n.exports=(t.default||t).template({1:function(n,e,l,t,a){n.propertyIsEnumerable;var r,i=n.lambda,s=n.escapeExpression,o=null!=e?e:n.nullContext||{},u=n.hooks.helperMissing;return' <img src="/images/added.png" class="'+s(i(null!=(r=null!=(r=null!=e?e.options:e)?r.styles:r)?r.image:r,e))+' d-block p-3">\r\n <h4>'+s((l.lang||e&&e.lang||u).call(o,"heading",{name:"lang",hash:{},data:a}))+'</h4>\r\n <span class="p-2 d-block '+s(i(null!=(r=null!=(r=null!=e?e.options:e)?r.styles:r)?r.info:r,e))+'">\r\n'+(null!=(r=l.if.call(o,null!=(r=null!=e?e.options:e)?r.firstTime:r,{name:"if",hash:{},fn:n.program(2,a,0),inverse:n.program(4,a,0),data:a}))?r:"")+" "+s((l.lang||e&&e.lang||u).call(o,"tip1",{name:"lang",hash:{},data:a}))+'\r\n <span class="'+s(i(null!=(r=null!=(r=null!=e?e.options:e)?r.styles:r)?r.publisherLink:r,e))+'">\r\n <span class="d-inline-block align-middle '+s(i(null!=(r=null!=(r=null!=e?e.options:e)?r.styles:r)?r.icon:r,e))+'">'+(null!=(r=i(null!=(r=null!=e?e.options:e)?r.publisherIcon:r,e))?r:"")+"</span>\r\n "+s((l.lang||e&&e.lang||u).call(o,"tip2",{name:"lang",hash:{},data:a}))+'\r\n </span>\r\n </span>\r\n <a class="btn btn-primary m-2 applink-start '+s(i(null!=(r=null!=(r=null!=e?e.options:e)?r.styles:r)?r.info:r,e))+'">\r\n'+(null!=(r=l.if.call(o,null!=(r=null!=e?e.options:e)?r.firstTime:r,{name:"if",hash:{},fn:n.program(6,a,0),inverse:n.program(8,a,0),data:a}))?r:"")+" </a>\r\n"},2:function(n,e,l,t,a){n.propertyIsEnumerable;return" "+n.escapeExpression((l.lang||e&&e.lang||n.hooks.helperMissing).call(null!=e?e:n.nullContext||{},"firstTime",{name:"lang",hash:{},data:a}))+"\r\n"},4:function(n,e,l,t,a){n.propertyIsEnumerable;return" "+n.escapeExpression((l.lang||e&&e.lang||n.hooks.helperMissing).call(null!=e?e:n.nullContext||{},"notFirstTime",{name:"lang",hash:{},data:a}))+"\r\n"},6:function(n,e,l,t,a){n.propertyIsEnumerable;return" "+n.escapeExpression((l.lang||e&&e.lang||n.hooks.helperMissing).call(null!=e?e:n.nullContext||{},"start",{name:"lang",hash:{},data:a}))+"\r\n"},8:function(n,e,l,t,a){n.propertyIsEnumerable;return" "+n.escapeExpression((l.lang||e&&e.lang||n.hooks.helperMissing).call(null!=e?e:n.nullContext||{},"continue",{name:"lang",hash:{},data:a}))+" \r\n"},10:function(n,e,l,t,a){n.propertyIsEnumerable;var r,i=n.lambda,s=n.escapeExpression,o=null!=e?e:n.nullContext||{},u=n.hooks.helperMissing;return' <img src="/images/added-warning.png" class="'+s(i(null!=(r=null!=(r=null!=e?e.options:e)?r.styles:r)?r.image:r,e))+' d-block p-3">\r\n <h4>'+s((l.lang||e&&e.lang||u).call(o,"warningHeading",{name:"lang",hash:{},data:a}))+'</h4>\r\n <span class="p-2 d-block '+s(i(null!=(r=null!=(r=null!=e?e.options:e)?r.styles:r)?r.info:r,e))+'">\r\n '+(null!=(r=(l.lang||e&&e.lang||u).call(o,"issues",{name:"lang",hash:{},data:a}))?r:"")+' \r\n <span class="'+s(i(null!=(r=null!=(r=null!=e?e.options:e)?r.styles:r)?r.publisherLink:r,e))+'">\r\n <span class="d-inline-block align-middle '+s(i(null!=(r=null!=(r=null!=e?e.options:e)?r.styles:r)?r.icon:r,e))+'">'+(null!=(r=i(null!=(r=null!=e?e.options:e)?r.publisherIcon:r,e))?r:"")+"</span>\r\n </span>\r\n "+s((l.lang||e&&e.lang||u).call(o,"tip2",{name:"lang",hash:{},data:a}))+"\r\n </span>\r\n"+(null!=(r=l.if.call(o,null!=(r=null!=e?e.options:e)?r.firstTime:r,{name:"if",hash:{},fn:n.program(11,a,0),inverse:n.program(13,a,0),data:a}))?r:"")},11:function(n,e,l,t,a){var r;n.propertyIsEnumerable;return" "+(null!=(r=(l.lang||e&&e.lang||n.hooks.helperMissing).call(null!=e?e:n.nullContext||{},"startOrReview",{name:"lang",hash:{reviewClasses:"applink-migration-warnings text-underline",startClasses:"btn btn-primary m-2 applink-start {{options.styles.info}}"},data:a}))?r:"")+"\r\n"},13:function(n,e,l,t,a){var r;n.propertyIsEnumerable;return" "+(null!=(r=(l.lang||e&&e.lang||n.hooks.helperMissing).call(null!=e?e:n.nullContext||{},"continueOrReview",{name:"lang",hash:{reviewClasses:"applink-migration-warnings text-underline",continueClasses:"btn btn-primary m-2 applink-start {{options.styles.info}}"},data:a}))?r:"")+"\r\n"},15:function(n,e,l,t,a){n.propertyIsEnumerable;var r,i=n.lambda,s=n.escapeExpression,o=null!=e?e:n.nullContext||{},u=n.hooks.helperMissing;return' <img src="/images/added-error.png" class="'+s(i(null!=(r=null!=(r=null!=e?e.options:e)?r.styles:r)?r.image:r,e))+' d-block p-3">\r\n <h4>'+s((l.lang||e&&e.lang||u).call(o,"errorsHeading",{name:"lang",hash:{},data:a}))+'</h4>\r\n <span class="p-2 d-block '+s(i(null!=(r=null!=(r=null!=e?e.options:e)?r.styles:r)?r.info:r,e))+'">\r\n'+(null!=(r=l.if.call(o,null!=(r=null!=e?e.options:e)?r.successes:r,{name:"if",hash:{},fn:n.program(16,a,0),inverse:n.noop,data:a}))?r:"")+" "+(null!=(r=(l.lang||e&&e.lang||u).call(o,"reviews",{name:"lang",hash:{smartCount:null!=(r=null!=e?e.options:e)?r.warnings:r},data:a}))?r:"")+'\r\n </span>\r\n <button class="btn btn-primary m-2 applink-migration-warnings '+s(i(null!=(r=null!=(r=null!=e?e.options:e)?r.styles:r)?r.info:r,e))+'">\r\n '+s((l.lang||e&&e.lang||u).call(o,"goToReview",{name:"lang",hash:{},data:a}))+"\r\n </button>\r\n"},16:function(n,e,l,t,a){var r;n.propertyIsEnumerable;return" "+(null!=(r=(l.lang||e&&e.lang||n.hooks.helperMissing).call(null!=e?e:n.nullContext||{},"successes",{name:"lang",hash:{smartCount:null!=(r=null!=e?e.options:e)?r.successes:r},data:a}))?r:"")+" \r\n"},compiler:[8,">= 4.3.0"],main:function(n,e,l,t,a){n.propertyIsEnumerable;var r,i=null!=e?e:n.nullContext||{};return(null!=(r=l.if.call(i,null!=(r=null!=e?e.options:e)?r.showSuccess:r,{name:"if",hash:{},fn:n.program(1,a,0),inverse:n.noop,data:a}))?r:"")+(null!=(r=l.if.call(i,null!=(r=null!=e?e.options:e)?r.showWarning:r,{name:"if",hash:{},fn:n.program(10,a,0),inverse:n.noop,data:a}))?r:"")+(null!=(r=l.if.call(i,null!=(r=null!=e?e.options:e)?r.showError:r,{name:"if",hash:{},fn:n.program(15,a,0),inverse:n.noop,data:a}))?r:"")},useData:!0})},1456:function(n,e,l){"use strict";l.r(e),l.d(e,"VideosAddedView",(function(){return b}));var t=l(2),a=l(5),r=l(17),i=l(0),s=l(3),o=l(1390),u=l.n(o),c=l(1391),p=l.n(c);function g(n){return(g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function h(n,e){for(var l=0;l<e.length;l++){var t=e[l];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(n,t.key,t)}}function f(n,e){return(f=Object.setPrototypeOf||function(n,e){return n.__proto__=e,n})(n,e)}function m(n){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(n){return!1}}();return function(){var l,t=y(n);if(e){var a=y(this).constructor;l=Reflect.construct(t,arguments,a)}else l=t.apply(this,arguments);return d(this,l)}}function d(n,e){return!e||"object"!==g(e)&&"function"!=typeof e?function(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}(n):e}function y(n){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var b=function(n){!function(n,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),e&&f(n,e)}(c,n);var e,l,t,o=m(c);function c(n){return function(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}(this,c),o.call(this,n)}return e=c,(l=[{key:"initialize",value:function(){this.migrationVideoDataService=a.a.getInstance(i.g.MigrationVideo,this),this.listenTo(i.e.MIGRATION,"".concat(i.f.FINALISATION,":").concat(this.options.finalisationTaskId,":sync"),this.render)}},{key:"name",get:function(){return"VideosAddedView"}},{key:"title",get:function(){return s.a.getPhrase(this.lang,"title")}},{key:"lang",get:function(){return"migrationWizard.videosAdded"}},{key:"template",get:function(){return p.a}},{key:"className",get:function(){return"".concat(u.a.migrationContainer," text-center p-3 bg-white ").concat(u.a.videosAdded)}},{key:"appLinks",get:function(){return{".applink-start":{application:i.b.LIBRARY_EDITOR,action:i.a.LibraryEditor.HOME},".applink-migration-warnings":{application:i.b.MIGRATION_WIZARD,action:i.a.MigrationWizard.MIGRATION_ERRORS}}}},{key:"showError",value:function(){return!this.options.firstTime&&this.model.get("videosWithWarning")}},{key:"showWarning",value:function(){return!(!this.options.firstTime||!this.model.get("videosWithWarning"))}},{key:"showSuccess",value:function(){return!this.model.get("videosWithWarning")}},{key:"viewOptions",value:function(){return{styles:u.a,publisherIcon:r.a.getSvg(r.b.PublisherArchive),firstTime:this.options.firstTime,showSuccess:this.showSuccess(),showWarning:this.showWarning(),showError:this.showError(),successes:this.model.get("successfullyProcessed"),warnings:this.model.get("videosWithWarning")}}},{key:"onBeforeRender",value:function(){var n=this;return!!this.model||(this.migrationVideoDataService.clearCacheAndGetManualReviewVideoCount(),this.migrationVideoDataService.getFinalisationTask(this.options.finalisationTaskId,(function(e){n.model=e,n.render()})),!1)}}])&&h(e.prototype,l),t&&h(e,t),c}(t.a.View)}}]);
@@ -1,33 +0,0 @@
1
- (window["webpackJsonp_clickview_library_editor"] = window["webpackJsonp_clickview_library_editor"] || []).push([[59],{
2
-
3
- /***/ "./src/apps/library-editor/views/generate-pdf/GeneratePdf.hbs":
4
- /***/ (function(module, exports, __webpack_require__) {
5
-
6
- 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, alias1=container.propertyIsEnumerable, alias2=container.lambda, alias3=container.escapeExpression;\n\n return \"<div class=\\\"pb-3 text-center\\\">\\r\\n <img src=\\\"\"\n + alias3(alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.imageUrl : stack1), depth0))\n + \"\\\" class=\\\"\"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.image : stack1), depth0))\n + \"\\\" />\\r\\n</div>\\r\\n<p class=\\\"m-0\\\">\"\n + ((stack1 = (helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),\"info\",{\"name\":\"lang\",\"hash\":{\"email\":((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.email : stack1),\"name\":(depth0 != null ? depth0.name : depth0)},\"data\":data})) != null ? stack1 : \"\")\n + \"</p>\\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.unless.call(depth0 != null ? depth0 : (container.nullContext || {}),((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.dataFetched : stack1),{\"name\":\"unless\",\"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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvYXBwcy9saWJyYXJ5LWVkaXRvci92aWV3cy9nZW5lcmF0ZS1wZGYvR2VuZXJhdGVQZGYuaGJzLmpzIiwic291cmNlcyI6WyJmaWxlOi8vQzovQ2xpY2tWaWV3IFByb2plY3RzL0BjbGlja3ZpZXcvcGFja2FnZXMvcHJvamVjdHMvbGlicmFyeS1lZGl0b3Ivc3JjL2FwcHMvbGlicmFyeS1lZGl0b3Ivdmlld3MvZ2VuZXJhdGUtcGRmL0dlbmVyYXRlUGRmLmhicyJdLCJzb3VyY2VzQ29udGVudCI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HRoMCA6IChjb250YWluZXIubnVsbENvbnRleHQgfHwge30pLCgoc3RhY2sxID0gKGRlcHRoMCAhPSBudWxsID8gZGVwdGgwLm9wdGlvbnMgOiBkZXB0aDApKSAhPSBudWxsID8gc3RhY2sxLmRhdGFGZXRjaGVkIDogc3RhY2sxKSx7XCJuYW1lXCI6XCJ1bmxlc3NcIixcImhhc2hcIjp7fSxcImZuXCI6Y29udGFpbmVyLnByb2dyYW0oMSwgZGF0YSwgMCksXCJpbnZlcnNlXCI6Y29udGFpbmVyLnByb2dyYW0oMywgZGF0YSwgMCksXCJkYXRhXCI6ZGF0YX0pKSAhPSBudWxsID8gc3RhY2sxIDogXCJcIik7XG59LFwidXNlRGF0YVwiOnRydWV9KTsiXSwibWFwcGluZ3MiOiJBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./src/apps/library-editor/views/generate-pdf/GeneratePdf.hbs\n");
7
-
8
- /***/ }),
9
-
10
- /***/ "./src/apps/library-editor/views/generate-pdf/GeneratePdfView.ts":
11
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
12
-
13
- "use strict";
14
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"GeneratePdfView\", function() { return GeneratePdfView; });\n/* harmony import */ var backbone__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\"backbone\");\n/* harmony import */ var backbone__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(backbone__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var libs_common_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\"../../libs/common/src/backbone/index.ts\");\n/* harmony import */ var libs_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_LanguageService__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\"../../libs/common/src/backbone/services/LanguageService.tsx\");\n/* harmony import */ var libs_analytics_interfaces__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(\"../../libs/analytics/src/interfaces/index.ts\");\n/* harmony import */ var libs_analytics_AnalyticsHelper__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(\"../../libs/analytics/src/AnalyticsHelper.ts\");\n/* harmony import */ var libs_shared_legacy_enums_SortType__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(\"../../libs/shared/src/legacy/enums/SortType.ts\");\n/* harmony import */ var shared_behaviors__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(\"./src/shared/behaviors/index.ts\");\n/* harmony import */ var shared_components_spinner_button_SpinnerButtonComponent__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(\"./src/shared/components/spinner-button/SpinnerButtonComponent.ts\");\n/* harmony import */ var shared_models_DisabledSpinnerModel__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(\"./src/shared/models/DisabledSpinnerModel.ts\");\n/* harmony import */ var shared_services_UserDataService__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(\"./src/shared/services/UserDataService.ts\");\n/* harmony import */ var shared_constants__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(\"./src/shared/constants/index.ts\");\n/* harmony import */ var shared_utils__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(\"./src/shared/utils/index.ts\");\n/* harmony import */ var apps_library_editor_errors__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(\"./src/apps/library-editor/errors/index.ts\");\n/* harmony import */ var _GeneratePdf_hbs__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(\"./src/apps/library-editor/views/generate-pdf/GeneratePdf.hbs\");\n/* harmony import */ var _GeneratePdf_hbs__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(_GeneratePdf_hbs__WEBPACK_IMPORTED_MODULE_14__);\n/* harmony import */ var _generate_pdf_scss__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(\"./src/apps/library-editor/views/generate-pdf/generate-pdf.scss\");\n/* harmony import */ var _generate_pdf_scss__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(_generate_pdf_scss__WEBPACK_IMPORTED_MODULE_15__);\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\nvar GeneratePdfView = /*#__PURE__*/function (_Core$View) {\n _inherits(GeneratePdfView, _Core$View);\n\n var _super = _createSuper(GeneratePdfView);\n\n function GeneratePdfView(options) {\n _classCallCheck(this, GeneratePdfView);\n\n return _super.call(this, options);\n }\n\n _createClass(GeneratePdfView, [{\n key: \"initialize\",\n value: function initialize() {\n this.collectionIdentifier = this.options.collectionIdentifier;\n this.libraryDataService = libs_common_backbone_services_InstanceManager__WEBPACK_IMPORTED_MODULE_2__[\"InstanceManager\"].getInstance(shared_constants__WEBPACK_IMPORTED_MODULE_11__[\"DataServices\"].Library, this);\n this.videoDataService = libs_common_backbone_services_InstanceManager__WEBPACK_IMPORTED_MODULE_2__[\"InstanceManager\"].getInstance(shared_constants__WEBPACK_IMPORTED_MODULE_11__[\"DataServices\"].Video, this);\n this.exportDataService = libs_common_backbone_services_InstanceManager__WEBPACK_IMPORTED_MODULE_2__[\"InstanceManager\"].getInstance(shared_constants__WEBPACK_IMPORTED_MODULE_11__[\"DataServices\"].Export, this);\n this.bindListeners();\n }\n }, {\n key: \"name\",\n get: function get() {\n return 'GeneratePdfView';\n }\n }, {\n key: \"title\",\n get: function get() {\n return libs_common_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_3__[\"LanguageService\"].getPhrase(this.lang, 'title');\n }\n }, {\n key: \"lang\",\n get: function get() {\n return 'libraryEditor.generatePdf';\n }\n }, {\n key: \"template\",\n get: function get() {\n return _GeneratePdf_hbs__WEBPACK_IMPORTED_MODULE_14___default.a;\n }\n }, {\n key: \"channelName\",\n get: function get() {\n return shared_utils__WEBPACK_IMPORTED_MODULE_12__[\"RadioChannelHelper\"].generateUniqueChannelName(this);\n }\n }, {\n key: \"behaviors\",\n get: function get() {\n return [{\n behaviorClass: shared_behaviors__WEBPACK_IMPORTED_MODULE_7__[\"PopupBehavior\"],\n title: libs_common_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_3__[\"LanguageService\"].getPhrase(this.lang, 'heading'),\n spinnerButtonOptions: {\n model: this.spinnerModel = new shared_models_DisabledSpinnerModel__WEBPACK_IMPORTED_MODULE_9__[\"DisabledSpinnerModel\"](),\n saveEvent: 'generate:pdf',\n channelName: this.channelName,\n buttonText: libs_common_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_3__[\"LanguageService\"].getPhrase(this.lang, 'generate'),\n extraButtonClass: 'btn-primary',\n spinnerOptions: {\n size: shared_utils__WEBPACK_IMPORTED_MODULE_12__[\"SpinnerSize\"].Small,\n type: shared_utils__WEBPACK_IMPORTED_MODULE_12__[\"SpinnerType\"].Light,\n extraClasses: 'mx-auto'\n }\n }\n }];\n }\n }, {\n key: \"bindListeners\",\n value: function bindListeners() {\n var _this = this;\n\n this.listenTo(this.channelName, 'generate:pdf', this.onClickGeneratePdf);\n this.listenTo(shared_constants__WEBPACK_IMPORTED_MODULE_11__[\"DataChannels\"].LIBRARY, \"\".concat(shared_constants__WEBPACK_IMPORTED_MODULE_11__[\"DataPrefixes\"].FOLDER, \":\").concat(this.collectionIdentifier.id, \":sync\"), this.render);\n this.listenTo(shared_constants__WEBPACK_IMPORTED_MODULE_11__[\"DataChannels\"].VIDEO, \"\".concat(this.collectionIdentifier.toString(), \":sync\"), this.render);\n this.listenTo(shared_constants__WEBPACK_IMPORTED_MODULE_11__[\"DataChannels\"].EXPORT, \"\".concat(shared_constants__WEBPACK_IMPORTED_MODULE_11__[\"DataPrefixes\"].GENERATE_COLLECTION_PDF, \":\").concat(this.collectionIdentifier.id, \":sync\"), function () {\n return _this.triggerMethod('hide');\n });\n }\n }, {\n key: \"onClickGeneratePdf\",\n value: function onClickGeneratePdf() {\n if (!this.hasDataFetched()) return;\n backbone__WEBPACK_IMPORTED_MODULE_0__[\"Radio\"].channel(this.channelName).trigger(shared_components_spinner_button_SpinnerButtonComponent__WEBPACK_IMPORTED_MODULE_8__[\"SpinnerButtonEvents\"].ShowSpinner);\n this.exportDataService.generateCollectionPdf(this.library.id, this.collectionIdentifier.id, this.currentUser, this.collectionIdentifier.sort);\n this.logAction(this.collectionIdentifier.id, this.collectionIdentifier.sort);\n }\n }, {\n key: \"fetchData\",\n value: function fetchData() {\n var _this2 = this;\n\n this.videos = this.videoDataService.getCollectionVideos(this.collectionIdentifier);\n this.model = this.libraryDataService.getFolder(this.collectionIdentifier.id);\n if (this.library) return;\n this.libraryDataService.getLibraries(function (data) {\n _this2.library = shared_utils__WEBPACK_IMPORTED_MODULE_12__[\"FolderTreeHelpers\"].getLibrary(_this2.collectionIdentifier.id, data);\n\n _this2.render();\n });\n }\n }, {\n key: \"logAction\",\n value: function logAction(collectionId, sortType) {\n var analyticsOptions = {\n location: libs_analytics_interfaces__WEBPACK_IMPORTED_MODULE_4__[\"LocationContext\"].Popup,\n actionType: libs_analytics_interfaces__WEBPACK_IMPORTED_MODULE_4__[\"UserAction\"].Create,\n entity: libs_analytics_interfaces__WEBPACK_IMPORTED_MODULE_4__[\"EntityType\"].PDF,\n workflowPhase: libs_analytics_interfaces__WEBPACK_IMPORTED_MODULE_4__[\"WorkflowPhase\"].Complete\n };\n var data = {\n id: collectionId,\n sort: libs_shared_legacy_enums_SortType__WEBPACK_IMPORTED_MODULE_6__[\"SortType\"][sortType]\n };\n libs_analytics_AnalyticsHelper__WEBPACK_IMPORTED_MODULE_5__[\"AnalyticsHelper\"].logUserAction(data, analyticsOptions);\n }\n }, {\n key: \"hasDataFetched\",\n value: function hasDataFetched() {\n return !!this.model && !!this.videos && !!this.library;\n }\n }, {\n key: \"requiredResources\",\n get: function get() {\n return {\n currentUser: shared_services_UserDataService__WEBPACK_IMPORTED_MODULE_10__[\"UserDataServiceHelper\"].currentUser\n };\n }\n }, {\n key: \"onBeforeRender\",\n value: function onBeforeRender() {\n var _this3 = this;\n\n this.fetchData();\n if (!this.hasDataFetched()) return false;\n\n if (this.videos && !this.videos.length) {\n window.setTimeout(function () {\n _this3.triggerMethod('hide');\n\n libs_common_core__WEBPACK_IMPORTED_MODULE_1__[\"Core\"].ErrorHelper.throw(new apps_library_editor_errors__WEBPACK_IMPORTED_MODULE_13__[\"FolderEmptyError\"](libs_common_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_3__[\"LanguageService\"].getPhrase(_this3.lang, 'errorHeading')));\n }, shared_constants__WEBPACK_IMPORTED_MODULE_11__[\"MiscConstants\"].POPUP_FADE_TIMEOUT);\n return false;\n }\n\n if (this.hasDataFetched()) this.spinnerModel.set(shared_components_spinner_button_SpinnerButtonComponent__WEBPACK_IMPORTED_MODULE_8__[\"SpinnerButtonModelAttributes\"].Disabled, false);\n return true;\n }\n }, {\n key: \"viewOptions\",\n value: function viewOptions() {\n return {\n dataFetched: this.hasDataFetched(),\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 email: this.currentUser.get('email'),\n imageUrl: shared_constants__WEBPACK_IMPORTED_MODULE_11__[\"ImageUrls\"].Shared.GeneratePdf,\n styles: _generate_pdf_scss__WEBPACK_IMPORTED_MODULE_15___default.a\n };\n }\n }]);\n\n return GeneratePdfView;\n}(libs_common_core__WEBPACK_IMPORTED_MODULE_1__[\"Core\"].View);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvYXBwcy9saWJyYXJ5LWVkaXRvci92aWV3cy9nZW5lcmF0ZS1wZGYvR2VuZXJhdGVQZGZWaWV3LnRzLmpzIiwic291cmNlcyI6WyJmaWxlOi8vQzovQ2xpY2tWaWV3IFByb2plY3RzL0BjbGlja3ZpZXcvcGFja2FnZXMvcHJvamVjdHMvbGlicmFyeS1lZGl0b3Ivc3JjL2FwcHMvbGlicmFyeS1lZGl0b3Ivdmlld3MvZ2VuZXJhdGUtcGRmL0dlbmVyYXRlUGRmVmlldy50cyJdLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBSYWRpbyB9IGZyb20gJ2JhY2tib25lJztcclxuaW1wb3J0IHsgT2JqZWN0SGFzaCB9IGZyb20gJ2JhY2tib25lJztcclxuXHJcbmltcG9ydCB7IENvcmUgfSBmcm9tICdsaWJzL2NvbW1vbi9jb3JlJztcclxuaW1wb3J0IHsgSW5zdGFuY2VNYW5hZ2VyIH0gZnJvbSAnbGlicy9jb21tb24vYmFja2JvbmUvc2VydmljZXMvSW5zdGFuY2VNYW5hZ2VyJztcclxuaW1wb3J0IHsgTGFuZ3VhZ2VTZXJ2aWNlIH0gZnJvbSAnbGlicy9jb21tb24vYmFja2JvbmUvc2VydmljZXMvTGFuZ3VhZ2VTZXJ2aWNlJztcclxuaW1wb3J0IHsgTG9jYXRpb25Db250ZXh0LCBVc2VyQWN0aW9uLCBFbnRpdHlUeXBlLCBXb3JrZmxvd1BoYXNlIH0gZnJv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QUE7QUFBQTtBQTRDQTtBQUNBO0FBN0NBO0FBQUE7QUFBQTtBQWdEQTtBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUhBO0FBTkE7QUFIQTtBQWtCQTtBQW5FQTtBQUFBO0FBQUE7QUFxRUE7QUFDQTtBQUFBO0FBRUE7QUFFQTtBQUVBO0FBQUE7QUFBQTtBQUNBO0FBN0VBO0FBQUE7QUFBQTtBQWdGQTtBQUVBO0FBRUE7QUFPQTtBQUNBO0FBNUZBO0FBQUE7QUFBQTtBQThGQTtBQUNBO0FBQUE7QUFDQTtBQUVBO0FBRUE7QUFDQTtBQUNBO0FBQUE7QUFDQTtBQUNBO0FBeEdBO0FBQUE7QUFBQTtBQTJHQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBSkE7QUFPQTtBQUNBO0FBQ0E7QUFGQTtBQUtBO0FBQ0E7QUF4SEE7QUFBQTtBQUFBO0FBMkhBO0FBQ0E7QUE1SEE7QUFBQTtBQUFBO0FBK0hBO0FBQ0E7QUFEQTtBQUdBO0FBbElBO0FBQUE7QUFBQTtBQW9JQTtBQUNBO0FBQUE7QUFFQTtBQUNBO0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFHQTtBQUNBO0FBdEpBO0FBQUE7QUFBQTtBQXlKQTtBQUNBO0FBQ0E7QUFBQTtBQUFBO0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFMQTtBQU9BO0FBaEtBO0FBQ0E7QUFEQTtBQUFBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./src/apps/library-editor/views/generate-pdf/GeneratePdfView.ts\n");
15
-
16
- /***/ }),
17
-
18
- /***/ "./src/apps/library-editor/views/generate-pdf/generate-pdf.scss":
19
- /***/ (function(module, exports, __webpack_require__) {
20
-
21
- eval("// extracted by mini-css-extract-plugin\nmodule.exports = {\"image\":\"cv--image--J9jn_\"};//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvYXBwcy9saWJyYXJ5LWVkaXRvci92aWV3cy9nZW5lcmF0ZS1wZGYvZ2VuZXJhdGUtcGRmLnNjc3MuanMiLCJzb3VyY2VzIjpbImZpbGU6Ly9DOi9DbGlja1ZpZXcgUHJvamVjdHMvQGNsaWNrdmlldy9wYWNrYWdlcy9wcm9qZWN0cy9saWJyYXJ5LWVkaXRvci9zcmMvYXBwcy9saWJyYXJ5LWVkaXRvci92aWV3cy9nZW5lcmF0ZS1wZGYvZ2VuZXJhdGUtcGRmLnNjc3MiXSwic291cmNlc0NvbnRlbnQiOlsiLy8gZXh0cmFjdGVkIGJ5IG1pbmktY3NzLWV4dHJhY3QtcGx1Z2luXG5tb2R1bGUuZXhwb3J0cyA9IHtcImltYWdlXCI6XCJjdi0taW1hZ2UtLUo5am5fXCJ9OyJdLCJtYXBwaW5ncyI6IkFBQUE7QUFDQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./src/apps/library-editor/views/generate-pdf/generate-pdf.scss\n");
22
-
23
- /***/ }),
24
-
25
- /***/ "./src/shared/models/DisabledSpinnerModel.ts":
26
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
27
-
28
- "use strict";
29
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"DisabledSpinnerModel\", function() { return DisabledSpinnerModel; });\n/* harmony import */ var libs_common_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\"../../libs/common/src/backbone/index.ts\");\n/* harmony import */ var shared_components_spinner_button_SpinnerButtonComponent__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\"./src/shared/components/spinner-button/SpinnerButtonComponent.ts\");\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }\n\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\n\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\n\n\nvar DisabledSpinnerModel = /*#__PURE__*/function (_Core$Model) {\n _inherits(DisabledSpinnerModel, _Core$Model);\n\n var _super = _createSuper(DisabledSpinnerModel);\n\n function DisabledSpinnerModel() {\n _classCallCheck(this, DisabledSpinnerModel);\n\n return _super.apply(this, arguments);\n }\n\n _createClass(DisabledSpinnerModel, [{\n key: \"defaults\",\n value: function defaults() {\n return _defineProperty({}, shared_components_spinner_button_SpinnerButtonComponent__WEBPACK_IMPORTED_MODULE_1__[\"SpinnerButtonModelAttributes\"].Disabled, true);\n }\n }]);\n\n return DisabledSpinnerModel;\n}(libs_common_core__WEBPACK_IMPORTED_MODULE_0__[\"Core\"].Model);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvc2hhcmVkL21vZGVscy9EaXNhYmxlZFNwaW5uZXJNb2RlbC50cy5qcyIsInNvdXJjZXMiOlsiZmlsZTovL0M6L0NsaWNrVmlldyBQcm9qZWN0cy9AY2xpY2t2aWV3L3BhY2thZ2VzL3Byb2plY3RzL2xpYnJhcnktZWRpdG9yL3NyYy9zaGFyZWQvbW9kZWxzL0Rpc2FibGVkU3Bpbm5lck1vZGVsLnRzIl0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IE9iamVjdEhhc2ggfSBmcm9tICdiYWNrYm9uZSc7XHJcbmltcG9ydCB7IENvcmUgfSBmcm9tICdsaWJzL2NvbW1vbi9jb3JlJztcclxuaW1wb3J0IHsgU3Bpbm5lckJ1dHRvbk1vZGVsQXR0cmlidXRlcyB9IGZyb20gJ3NoYXJlZC9jb21wb25lbnRzL3NwaW5uZXItYnV0dG9uL1NwaW5uZXJCdXR0b25Db21wb25lbnQnO1xyXG5cclxuZXhwb3J0IGNsYXNzIERpc2FibGVkU3Bpbm5lck1vZGVsIGV4dGVuZHMgQ29yZS5Nb2RlbCB7XHJcbiAgcHVibGljIGRlZmF1bHRzKCk6IE9iamVjdEhhc2gge1xyXG4gICAgcmV0dXJuIHtcclxuICAgICAgW1NwaW5uZXJCdXR0b25Nb2RlbEF0dHJpYnV0ZXMuRGlzYWJsZWRdOiB0cnVlXHJcbiAgICB9O1xyXG4gIH1cclxufSJdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztBQUNBO0FBQ0E7QUFFQTtBQUFBO0FBQ0E7QUFEQTtBQUNBO0FBREE7QUFBQTtBQUNBO0FBREE7QUFBQTtBQUNBO0FBREE7QUFBQTtBQUFBO0FBRUE7QUFHQTtBQUxBO0FBQ0E7QUFEQTtBQUFBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./src/shared/models/DisabledSpinnerModel.ts\n");
30
-
31
- /***/ })
32
-
33
- }]);
@@ -1 +0,0 @@
1
- (window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[6],{1050:function(e,t,n){var o=n(10);e.exports=(o.default||o).template({1:function(e,t,n,o,r){return" cursor-pointer"},3:function(e,t,n,o,r){return"checked"},5:function(e,t,n,o,r){return"disabled"},compiler:[8,">= 4.3.0"],main:function(e,t,n,o,r){e.propertyIsEnumerable;var i,l=e.lambda,a=e.escapeExpression,u=null!=t?t:e.nullContext||{};return'<div class="custom-control custom-checkbox '+a(l(null!=(i=null!=t?t.options:t)?i.checkboxClassName:i,t))+'">\r\n <input name="checkbox-'+a(l(null!=(i=null!=t?t.options:t)?i.id:i,t))+'" id="checkbox-'+a(l(null!=(i=null!=t?t.options:t)?i.id:i,t))+'" type="checkbox" class="custom-control-input'+(null!=(i=n.unless.call(u,null!=(i=null!=t?t.options:t)?i.disabled:i,{name:"unless",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r}))?i:"")+'" '+(null!=(i=n.if.call(u,null!=(i=null!=t?t.options:t)?i.checked:i,{name:"if",hash:{},fn:e.program(3,r,0),inverse:e.noop,data:r}))?i:"")+" "+(null!=(i=n.if.call(u,null!=(i=null!=t?t.options:t)?i.disabled:i,{name:"if",hash:{},fn:e.program(5,r,0),inverse:e.noop,data:r}))?i:"")+' />\r\n <label class="custom-control-label'+(null!=(i=n.unless.call(u,null!=(i=null!=t?t.options:t)?i.disabled:i,{name:"unless",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r}))?i:"")+'" for="checkbox-'+a(l(null!=(i=null!=t?t.options:t)?i.id:i,t))+'">&nbsp;</label>\r\n</div>'},useData:!0})},1057:function(e,t,n){"use strict";n.d(t,"a",(function(){return y})),n.d(t,"b",(function(){return g}));var o=n(1),r=n(2),i=n(1050),l=n.n(i),a=n(13);function u(e){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function p(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=d(e);if(t){var r=d(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return h(this,n)}}function h(e,t){return!t||"object"!==u(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var y="checkbox-all",g=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&f(e,t)}(u,e);var t,n,r,i=p(u);function u(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u),i.call(this,e)}return t=u,(n=[{key:"initialize",value:function(){this.getViewModel(),this.bindListeners()}},{key:"name",get:function(){return"BulkCheckboxComponent"}},{key:"className",get:function(){return this.options.className}},{key:"template",get:function(){return l.a}},{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",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",y));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 y}},{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(y),disabled:this.options.disabled,checkboxClassName:this.options.checkboxClassName}}}])&&s(t.prototype,n),r&&s(t,r),u}(r.a.Component)},1064:function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var o=n(2),r=n(1050),i=n.n(r),l=n(13),a=n(1057);function u(e){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function c(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function f(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=h(e);if(t){var r=h(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return p(this,n)}}function p(e,t){return!t||"object"!==u(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var d=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(u,e);var t,n,o,r=f(u);function u(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u),r.call(this,e)}return t=u,(n=[{key:"initialize",value:function(){if(this.getViewModel(),this.bindListeners(),this.options.checked){var e=this.getItemId();this.model.set(e,!0,{silent:!0})}}},{key:"name",get:function(){return"CheckboxComponent"}},{key:"className",get:function(){return this.options.className}},{key:"template",get:function(){return i.a}},{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: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(a.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}}}])&&c(t.prototype,n),o&&c(t,o),u}(o.a.Component)},1119:function(e,t,n){"use strict";var o=n(2),r=n(17),i=n(0),l=n(331),a=n(1374),u=n.n(a);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 s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function f(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function h(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=y(e);if(t){var r=y(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return d(this,n)}}function d(e,t){return!t||"object"!==c(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function y(e){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var g=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p(e,t)}(c,e);var t,n,o,a=h(c);function c(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),a.call(this,e)}return t=c,(n=[{key:"name",get:function(){return"SearchBarComponent"}},{key:"template",get:function(){return u.a}},{key:"lang",get:function(){return"migrationWizard.searchBar"}},{key:"className",get:function(){var e="container";return"publisher-archive"===this.options.selected&&(e+=" ".concat(l.publisherArchive)),"migration-errors"===this.options.selected&&(e+=" ".concat(l.migrationErrors)),"none"===this.options.selected&&(e+=" ".concat(l.none)),e}},{key:"elements",get:function(){return{search:".search"}}},{key:"regions",value:function(){return{generateReport:{el:".generate-report-region",replaceElement:!0}}}},{key:"appLinks",get:function(){var e;return s(e={},".".concat(l.reviewErroredAppLink),{application:i.b.MIGRATION_WIZARD,action:i.a.MigrationWizard.MIGRATION_ERRORS}),s(e,".".concat(l.publisherArchiveAppLink),{application:i.b.MIGRATION_WIZARD,action:i.a.MigrationWizard.HOME}),e}},{key:"viewOptions",value:function(){return{styles:l,warningSvg:r.a.getSvg(r.b.Warning)}}},{key:"onRender",value:function(){this.showChildView("generateReport",new Wt)}}])&&f(t.prototype,n),o&&f(t,o),c}(o.a.Component),b=n(1),m=n(6),v=n(1057),k=n(13),O=n(195),w=n(1126),C=n(53),x=n(332),R=n.n(x),_=n(1375),S=n.n(_);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 j(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function I(e,t){return(I=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function P(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=M(e);if(t){var r=M(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return T(this,n)}}function T(e,t){return!t||"object"!==E(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function M(e){return(M=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var B=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&I(e,t)}(a,e);var t,n,o,l=P(a);function a(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),l.call(this,e)}return t=a,(n=[{key:"initialize",value:function(){this.bindListeners()}},{key:"bindListeners",value:function(){this.viewModel=k.a.GetViewModel(this.getCheckboxKey(),O.CheckboxTypes.MIGRATION_VIDEO_LIST),this.listenTo(this.viewModel,"change:".concat(v.a),this.onCheckboxChange)}},{key:"name",get:function(){return"SortingRowComponent"}},{key:"template",get:function(){return S.a}},{key:"className",get:function(){return"row no-gutters px-2 py-1 ".concat(R.a.sortingRow)}},{key:"lang",get:function(){return"migrationWizard.sortingRow"}},{key:"viewOptions",value:function(){return{styles:R.a,showCategory:this.options.searchTerm,sortSvg:r.a.getSvg(r.b.UpDown)}}},{key:"elements",get:function(){return{sortOption:".sort"}}},{key:"events",value:function(){return{"click .sort-title":"sortTitle","click .sort-views":"sortViews"}}},{key:"regions",value:function(){return{selectAll:{replaceElement:!0,el:".select-all"}}}},{key:"getCheckboxKey",value:function(){return this.options.searchTerm||this.options.folderChord}},{key:"onRender",value:function(){this.showChildView("selectAll",new v.b({type:O.CheckboxTypes.MIGRATION_VIDEO_LIST,key:this.getCheckboxKey(),disabled:0===this.getVideosThatCanBeMigrated().length,className:"".concat(R.a.bulkCheckbox," position-relative d-inline-block"),numberOfItems:this.collection.length}))}},{key:"sortTitle",value:function(){this.sort(C.e.Title)}},{key:"sortViews",value:function(){this.sort(C.e.Views)}},{key:"getVideosThatCanBeMigrated",value:function(){return this.collection.filter((function(e){return e.get("migrationStatus")===w.a.HasNotBeenMigrated}))}},{key:"sort",value:function(e){m.Radio.channel(i.e.MIGRATION).trigger(i.i.MigrationWizard.SORT_VIDEOS,e)}},{key:"onCheckboxChange",value:function(){var e=m.Radio.channel(this.options.channelName),t=this.viewModel.get(v.a),n=this.getVideosThatCanBeMigrated();t?e.trigger("add:selected",n,this.options.folderChord):b.isUndefined(t)&&e.trigger("remove:selected",n,this.options.folderChord)}}])&&j(t.prototype,n),o&&j(t,o),a}(o.a.Component),V=n(1376),N=n.n(V),L=n(286);function A(e){return(A="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 D(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function W(e,t){return(W=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function z(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=U(e);if(t){var r=U(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return G(this,n)}}function G(e,t){return!t||"object"!==A(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function U(e){return(U=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var H=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&W(e,t)}(i,e);var t,n,o,r=z(i);function i(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),r.call(this,e)}return t=i,(n=[{key:"name",get:function(){return"StatusBarComponent"}},{key:"className",get:function(){return"w-100 p-2 pl-3 pr-3 ".concat(L.statusBar)}},{key:"template",get:function(){return N.a}},{key:"lang",get:function(){return"migrationWizard.statusBar"}},{key:"appLinks",get:function(){var e=this.options,t=e.nextAppLink,n=e.backAppLink,o={".applink-next":t};return n&&(o[".applink-back"]=n),o}},{key:"events",value:function(){return{"click .applink-next":"onClickNext","click .applink-back":"onClickBack"}}},{key:"onClickNext",value:function(){this.options.nextDisabled||b.isFunction(this.options.onClickNext)&&this.options.onClickNext()}},{key:"onClickBack",value:function(){b.isFunction(this.options.onClickBack)&&this.options.onClickBack()}},{key:"viewOptions",value:function(){return Object.assign(Object.assign({styles:L},this.options),{multipleVideosAvailable:1!==this.options.numberAvailable,numberAvailable:this.options.numberAvailable||0,videoCount:this.options.numberSelected||0})}}])&&D(t.prototype,n),o&&D(t,o),i}(o.a.Component),K=n(5),Z=n(333),F=n.n(Z),Y=n(1377),J=n.n(Y),X=n(1064);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 Q(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function ee(e,t){return(ee=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function te(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=oe(e);if(t){var r=oe(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return ne(this,n)}}function ne(e,t){return!t||"object"!==q(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function oe(e){return(oe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var re=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ee(e,t)}(l,e);var t,n,o,r=te(l);function l(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),r.call(this,e)}return t=l,(n=[{key:"initialize",value:function(){this.viewModel=k.a.GetViewModel(this.getCheckboxKey(),O.CheckboxTypes.MIGRATION_VIDEO_LIST),this.selectedVideoService=K.a.getInstance(i.x.SelectedVideo,this),this.bindListeners()}},{key:"bindListeners",value:function(){this.listenTo(this.viewModel,"change:".concat(this.getCheckboxId()),this.onCheckboxChange)}},{key:"template",get:function(){return J.a}},{key:"name",get:function(){return"MigrationVideoItemComponent"}},{key:"className",get:function(){if(this.shouldRender())return"col-12 py-1 ".concat(F.a.videoRow)}},{key:"lang",get:function(){return"migrationWizard.migrationVideoItem"}},{key:"appLinks",get:function(){return{".applink-show":{application:i.b.MIGRATION_WIZARD,action:i.a.MigrationWizard.SHOW_PUBLISHER_VIDEO,args:[this.model.get("trackingCode")]},".applink-remigrate":{application:i.b.MIGRATION_WIZARD,action:i.a.MigrationWizard.REMIGRATE_VIDEO,args:[this.model.get("id").toString(),this.model.get("masterId")&&this.model.get("masterId").toString(),this.model.get("categoryChord")]}}}},{key:"regions",value:function(){return{bulkCheckbox:{replaceElement:!0,el:".bulk-checkbox-region"},errorCode:{replaceElement:!0,el:".error-code-region"}}}},{key:"hasBeenMigrated",value:function(){return this.model.get("migrationStatus")!==w.a.HasNotBeenMigrated}},{key:"getCheckboxKey",value:function(){return this.options.searchTerm||this.model.get("categoryChord")}},{key:"getCheckboxId",value:function(){return this.model.get("id")}},{key:"onCheckboxChange",value:function(){if(!this.hasBeenMigrated()){var e=this.viewModel.get("".concat(this.getCheckboxId()));e?this.selectedVideoService.addSelectedVideos(this.model,this.options.folderChord):b.isUndefined(e)||this.selectedVideoService.removeSelectedVideos(this.model,this.options.folderChord)}}},{key:"shouldRender",value:function(){return!this.model.get("hidden")}},{key:"renderCheckbox",value:function(){var e=this.hasBeenMigrated(),t=e?" ".concat(F.a.faded):"",n=this.model.get("selected")||this.model.get("checkedForMigration")||e;this.showChildView("bulkCheckbox",new X.a({checked:n,checkboxClassName:t,disabled:e,key:this.getCheckboxKey(),itemId:this.getCheckboxId(),type:O.CheckboxTypes.MIGRATION_VIDEO_LIST,className:"".concat(F.a.bulkCheckbox," position-relative d-inline-block")}))}},{key:"onBeforeRender",value:function(){return this.shouldRender()}},{key:"viewOptions",value:function(){return Object.assign(Object.assign({styles:F.a},this.options),{migrated:this.hasBeenMigrated(),views:this.model.get("viewsLast3Years")})}},{key:"onRender",value:function(){this.renderCheckbox()}}])&&Q(t.prototype,n),o&&Q(t,o),l}(o.a.Component),ie=n(3),le=n(1127),ae=n(1378),ue=n.n(ae);function ce(e){return(ce="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 se(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function fe(e,t){return(fe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function pe(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=de(e);if(t){var r=de(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return he(this,n)}}function he(e,t){return!t||"object"!==ce(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function de(e){return(de=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var ye=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fe(e,t)}(l,e);var t,n,o,r=pe(l);function l(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),r.call(this,e)}return t=l,(n=[{key:"initialize",value:function(){this.bindListeners()}},{key:"name",get:function(){return"VideoListCollection"}},{key:"template",get:function(){return ue.a}},{key:"lang",get:function(){return"migrationWizard.videoList"}},{key:"regions",value:function(){return{videoListSort:{replaceElement:!0,el:".video-sorting-region"},videoList:{el:".video-list-region",replaceElement:!0}}}},{key:"bindListeners",value:function(){this.listenTo(i.e.MIGRATION,i.i.MigrationWizard.SORT_VIDEOS,this.sort),this.listenTo(i.e.MIGRATION,i.i.MigrationWizard.TOGGLE_MIGRATED,this.toggleMigrated)}},{key:"toggleMigrated",value:function(e){this.collection&&0!==this.collection.length&&(this.collection=le.a.toggleMigrated(this.collection,e),this.render())}},{key:"sort",value:function(e){0!==this.collection.length&&(this.sortedBy=this.sortedBy===e?void 0:e,this.collection=le.a.sortVideos(this.collection,e,this.sortedBy===e),this.renderVideoList())}},{key:"renderEmptyMessage",value:function(){this.showChildView("videoList",new it({text:ie.a.getPhrase(this.lang,"noVideos")}))}},{key:"renderSortingRow",value:function(){this.showChildView("videoListSort",new B({collection:this.collection,folderChord:this.options.folderChord,searchTerm:this.options.searchTerm,channelName:this.options.channelName}))}},{key:"renderVideoList",value:function(){this.showChildView("videoList",new xe({folderChord:this.options.folderChord,collection:this.collection,searchTerm:this.options.searchTerm,supportSiteUrl:this.options.supportSiteUrl}))}},{key:"onRender",value:function(){this.renderSortingRow(),0!==this.collection.where({hidden:!1}).length?this.renderVideoList():this.renderEmptyMessage()}}])&&se(t.prototype,n),o&&se(t,o),l}(o.a.Component),ge=n(1379),be=n.n(ge);function me(e){return(me="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ve(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function ke(e,t){return(ke=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Oe(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=Ce(e);if(t){var r=Ce(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return we(this,n)}}function we(e,t){return!t||"object"!==me(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Ce(e){return(Ce=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var xe=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ke(e,t)}(i,e);var t,n,o,r=Oe(i);function i(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),r.call(this,e)}return t=i,(n=[{key:"name",get:function(){return"VideoListCollectionComponent"}},{key:"className",get:function(){return be.a.videoList}},{key:"childView",get:function(){return re}},{key:"childViewOptions",get:function(){return{folderChord:this.options.folderChord,searchTerm:this.getOption("searchTerm"),supportSiteUrl:this.options.supportSiteUrl}}}])&&ve(t.prototype,n),o&&ve(t,o),i}(o.a.ComponentCollection),Re=n(306),_e=n(304),Se=n(1380),Ee=n.n(Se),je=n(1381),Ie=n.n(je);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 Te(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Me(e,t){return(Me=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Be(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=Ne(e);if(t){var r=Ne(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return Ve(this,n)}}function Ve(e,t){return!t||"object"!==Pe(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Ne(e){return(Ne=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Le=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Me(e,t)}(i,e);var t,n,o,r=Be(i);function i(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),r.call(this,e)}return t=i,(n=[{key:"name",get:function(){return"BannerComponent"}},{key:"className",get:function(){return"w-100 p-2 pl-3 pr-3 ".concat(Ee.a.banner)}},{key:"lang",get:function(){return"migrationWizard.banner"}},{key:"props",get:function(){return["config"]}},{key:"template",get:function(){return Ie.a}},{key:"viewOptions",value:function(){return{styles:Ee.a,learnMoreUrl:this.getLearnMoreUrl()}}},{key:"getLearnMoreUrl",value:function(){var e,t;return Re.a.getArticle(null===(e=this.config)||void 0===e?void 0:e.get("supportSiteUrl"),_e.a.PublisherArchive,null===(t=this.currentUser)||void 0===t?void 0:t.get("countryCode"))}}])&&Te(t.prototype,n),o&&Te(t,o),i}(o.a.Component),Ae=n(1382),De=n.n(Ae),We=n(1383),ze=n.n(We);function Ge(e){return(Ge="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 Ue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function He(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Ke(e,t){return(Ke=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Ze(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=Ye(e);if(t){var r=Ye(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return Fe(this,n)}}function Fe(e,t){return!t||"object"!==Ge(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Ye(e){return(Ye=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Je=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ke(e,t)}(i,e);var t,n,o,r=Ze(i);function i(){return Ue(this,i),r.apply(this,arguments)}return t=i,(n=[{key:"name",get:function(){return"SelectedVideoItemComponent"}},{key:"template",get:function(){return ze.a}},{key:"lang",get:function(){return"migrationWizard.selectedVideoItem"}},{key:"className",get:function(){return"ml-2 pt-1"}},{key:"viewOptions",value:function(){return{styles:De.a,folder:this.model.get("folderChord").split("->").join(" / "),videoCount:this.model.get("count")}}}])&&He(t.prototype,n),o&&He(t,o),i}(o.a.Component),$e=n(1384),Xe=n(1385),qe=n.n(Xe);function Qe(e){return(Qe="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 et(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function tt(e,t){return(tt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function nt(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=rt(e);if(t){var r=rt(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return ot(this,n)}}function ot(e,t){return!t||"object"!==Qe(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function rt(e){return(rt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var it=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tt(e,t)}(i,e);var t,n,o,r=nt(i);function i(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),r.call(this,e)}return t=i,(n=[{key:"name",get:function(){return"EmptyVideoListComponent"}},{key:"className",get:function(){return"d-flex justify-content-center align-items-center text-muted p-5 ".concat($e.videoList)}},{key:"template",get:function(){return qe.a}},{key:"viewOptions",value:function(){return{text:this.options.text}}}])&&et(t.prototype,n),o&&et(t,o),i}(o.a.Component),lt=n(1386),at=n.n(lt),ut=n(1387),ct=n.n(ut);function st(e){return(st="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 ft(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function pt(e,t){return(pt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ht(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=yt(e);if(t){var r=yt(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return dt(this,n)}}function dt(e,t){return!t||"object"!==st(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function yt(e){return(yt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var gt=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pt(e,t)}(i,e);var t,n,o,r=ht(i);function i(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),r.call(this,e)}return t=i,(n=[{key:"name",get:function(){return"ProgressBarComponent"}},{key:"className",get:function(){return this.options.class||""}},{key:"template",get:function(){return ct.a}},{key:"elements",get:function(){return{progressBar:".progress-bar",progressText:".progress-text"}}},{key:"viewOptions",value:function(){return{styles:at.a,background:this.options.backgroundClass,progress:this.options.percentage}}},{key:"update",value:function(){var e=this.getUI("progressBar"),t=this.getUI("progressText");e&&e.get(0)&&$(e.get(0)).css("width","".concat(this.model.get("percentage"),"%")),t&&t.get(0)&&$(t.get(0)).text("".concat(this.model.get("percentage"),"%"))}},{key:"onRender",value:function(){this.update()}}])&&ft(t.prototype,n),o&&ft(t,o),i}(o.a.Component),bt=n(1125),mt=n(1187),vt=n(1388),kt=n.n(vt);function Ot(e){return(Ot="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function wt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ct(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function xt(e,t){return(xt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Rt(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=St(e);if(t){var r=St(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return _t(this,n)}}function _t(e,t){return!t||"object"!==Ot(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function St(e){return(St=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Et=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xt(e,t)}(a,e);var t,n,r,l=Rt(a);function a(){var e;return wt(this,a),(e=l.apply(this,arguments)).buttonDisabled=!0,e}return t=a,(n=[{key:"initialize",value:function(){this.migrationVideoDataService=K.a.getInstance(i.g.MigrationVideo,this),this.bindListeners()}},{key:"name",get:function(){return"GenerateReportComponent"}},{key:"template",get:function(){return kt.a}},{key:"className",get:function(){return"dropdown-menu dropdown-menu-right dropdown-arrow"}},{key:"lang",get:function(){return"migrationWizard.generateReport"}},{key:"events",value:function(){return{"click .options":"onClickOptionsContainer","change #migrated-option":"onToggleMigratedOption","change #remaining-option":"onToggleRemainingOption","change #errored-option":"onToggleErroredOption","change #content-matched-option":"onToggleContentMatchedOption","click .generate-report":"onClickSubmit"}}},{key:"elements",get:function(){return{generateReportBtn:".generate-report"}}},{key:"bindListeners",value:function(){this.listenTo(i.e.MIGRATION,"get:migration:report:options",this.render)}},{key:"onClickOptionsContainer",value:function(e){e.stopPropagation()}},{key:"onToggleMigratedOption",value:function(){var e=this.reportOptions[C.d.Migrated];e.selected=!e.selected,this.updateButton()}},{key:"onToggleRemainingOption",value:function(){var e=this.reportOptions[C.d.Remaining];e.selected=!e.selected,this.updateButton()}},{key:"onToggleErroredOption",value:function(){var e=this.reportOptions[C.d.Errored];e.selected=!e.selected,this.updateButton()}},{key:"onToggleContentMatchedOption",value:function(){var e=this.reportOptions[C.d.ContentMatched];e.selected=!e.selected,this.updateButton()}},{key:"onClickSubmit",value:function(){this.buttonDisabled||o.a.AppLinkHelper.trigger({application:i.b.MIGRATION_WIZARD,action:i.a.MigrationWizard.GENERATE_CSV_REPORT,params:{options:mt.a.filterSelectedOptions(this.reportOptions)}})}},{key:"updateButton",value:function(){var e=this.getUI("generateReportBtn");mt.a.filterSelectedOptions(this.reportOptions).length?(this.buttonDisabled=!1,e.removeAttr("disabled")):(this.buttonDisabled=!0,e.attr("disabled","disabled"))}},{key:"fetchMigrationReportOptions",value:function(){var e=this;this.migrationVideoDataService.getMigrationReportOptions((function(t){e.reportOptions=mt.a.processValidReportOptions(t),e.render()}))}},{key:"viewOptions",value:function(){return{reportOptions:this.reportOptions}}},{key:"onRender",value:function(){this.reportOptions||this.fetchMigrationReportOptions()}}])&&Ct(t.prototype,n),r&&Ct(t,r),a}(o.a.Component),jt=n(1389),It=n.n(jt),Pt=n(1390),Tt=n.n(Pt);function Mt(e){return(Mt="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 Bt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vt(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Nt(e,t){return(Nt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Lt(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=Dt(e);if(t){var r=Dt(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return At(this,n)}}function At(e,t){return!t||"object"!==Mt(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Dt(e){return(Dt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Wt=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Nt(e,t)}(i,e);var t,n,o,r=Lt(i);function i(){return Bt(this,i),r.apply(this,arguments)}return t=i,(n=[{key:"name",get:function(){return"GenerateReportButtonComponent"}},{key:"template",get:function(){return It.a}},{key:"lang",get:function(){return"migrationWizard.generateReportButton"}},{key:"regions",value:function(){return{options:{el:".options-region",replaceElement:!0}}}},{key:"viewOptions",value:function(){return{styles:Tt.a}}},{key:"onRender",value:function(){this.showChildView("options",new Et)}}])&&Vt(t.prototype,n),o&&Vt(t,o),i}(o.a.Component);n.d(t,"h",(function(){return g})),n.d(t,"j",(function(){return B})),n.d(t,"k",(function(){return H})),n.d(t,"e",(function(){return re})),n.d(t,"l",(function(){return ye})),n.d(t,"m",(function(){return xe})),n.d(t,"a",(function(){return Le})),n.d(t,"i",(function(){return Je})),n.d(t,"b",(function(){return it})),n.d(t,"f",(function(){return gt})),n.d(t,"g",(function(){return bt.a})),n.d(t,"d",(function(){return Et})),n.d(t,"c",(function(){return Wt}))},1125:function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var o=n(2),r=n(1185),i=n.n(r),l=n(1186),a=n.n(l);function u(e){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function c(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function f(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=h(e);if(t){var r=h(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return p(this,n)}}function p(e,t){return!t||"object"!==u(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var d=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(l,e);var t,n,o,r=f(l);function l(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),r.call(this,e)}return t=l,(n=[{key:"initialize",value:function(){this.listenTo(this.model,"change:percentage",this.update)}},{key:"name",get:function(){return"ProgressCircleComponent"}},{key:"template",get:function(){return a.a}},{key:"lang",get:function(){return"migrationWizard.progressCircle"}},{key:"elements",get:function(){return{circle:".progress-circle",text:".progress-circle-text"}}},{key:"viewOptions",value:function(){return{styles:i.a,text:this.options.text,class:this.options.class,percentage:this.options.percentage}}},{key:"onRender",value:function(){this.update()}},{key:"update",value:function(){var e=this.model.get("percentage")||0,t=this.getUI("circle").get(0),n=2*t.r.baseVal.value*Math.PI;t.style.strokeDasharray="".concat(n," ").concat(n),t.style.strokeDashoffset=n;var o=n-e/100*n;t.style.strokeDashoffset=o;var r=this.getUI("text");r&&r.text("".concat(e,"%"))}}])&&c(t.prototype,n),o&&c(t,o),l}(o.a.Component)},1126:function(e,t,n){"use strict";var o;n.d(t,"a",(function(){return o})),function(e){e[e.NeedsManualReview=-1]="NeedsManualReview",e[e.HasNotBeenMigrated=0]="HasNotBeenMigrated",e[e.MigratedByUser=1]="MigratedByUser"}(o||(o={}))},1127:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var o=n(1),r=n(2),i=n(90),l=n(1126),a={setChecked:function(e,t,n){e.set("selected",!1);var r=n&&e.get("viewsLast3Years")>0;(o.contains(t,e.id.toString())||r&&0===t.length)&&e.set("selected",!0)},sortVideos:function(e,t,n){var o="name";return e.comparator=function(e,r){e.keys().forEach((function(e){e===t&&(o=e)}));var i=e.get(o),l=r.get(o);return"string"==typeof i&&"string"==typeof l&&(i=i.toLowerCase(),l=l.toLowerCase()),i<l?n?1:-1:i>l?n?-1:1:0},e.sort(),e},toggleMigrated:function(e,t){return e.each((function(e){var n=e.get("migrationStatus")!==l.a.HasNotBeenMigrated,r=e.get("hidden");!o.isUndefined(t)&&n?e.set("hidden",t):n?e.set("hidden",!r):e.set("hidden",!1)})),e},getSelectedVideosCollection:function(e){var t=new r.a.Collection;return Object.keys(e).forEach((function(n){var o=e[n],r=o.id,l=o.folderChord,a=t.findWhere({folderChord:l});a?(a.set("count",a.get("count")+1),a.get("videoIds").push(r)):t.add(new i.f({count:1,folderChord:l,videoIds:[r]}))})),t.each((function(e){e.set("folderChord",e.get("folderChord"))})),t}}},1185:function(e,t,n){e.exports={circle:"_3iX0l",extraText:"_1nYnx",progressCircleContainer:"_2l1Al",progressCircle:"_1RbA5"}},1186:function(e,t,n){var o=n(10);e.exports=(o.default||o).template({1:function(e,t,n,o,r){e.propertyIsEnumerable;var i,l=e.lambda,a=e.escapeExpression;return' <span class="'+a(l(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.extraText:i,t))+'">'+a(l(null!=(i=null!=t?t.options:t)?i.text:i,t))+"</span>\r\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,o,r){e.propertyIsEnumerable;var i,l=e.lambda,a=e.escapeExpression,u=null!=t?t:e.nullContext||{};return'<div class="'+a(l(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.circle:i,t))+" "+a(l(null!=(i=null!=t?t.options:t)?i.class:i,t))+'">\r\n <span>\r\n <span class="progress-circle-text">'+a((n.lang||t&&t.lang||e.hooks.helperMissing).call(u,"progress",{name:"lang",hash:{percentage:null!=(i=null!=t?t.options:t)?i.percentage:i},data:r}))+"</span>\r\n"+(null!=(i=n.if.call(u,null!=(i=null!=t?t.options:t)?i.text:i,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r}))?i:"")+' </span>\r\n\r\n <svg class="'+a(l(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.progressCircleContainer:i,t))+'">\r\n <circle class="progress-circle '+a(l(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.progressCircle:i,t))+'" transform=\'rotate(270 160 0)\' stroke-width="28" fill="transparent" r="150">\r\n </svg>\r\n</div>'},useData:!0})},1187:function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var o=n(1),r=n(3),i=n(53);function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var a="migrationWizard.utils",u={getReportOptions:function(){var e;return l(e={},i.d.Migrated,{id:"migrated",type:"homemigrator.le.migration.migrated.report",labelText:r.a.getPhrase(a,"migratedOption")}),l(e,i.d.Remaining,{id:"remaining",type:"homemigrator.le.migration.videos.remaining.report",labelText:r.a.getPhrase(a,"remainingOption")}),l(e,i.d.Errored,{id:"errored",type:"homemigrator.le.migration.error.report",labelText:r.a.getPhrase(a,"erroredOption")}),l(e,i.d.ContentMatched,{id:"content-matched",type:"homemigrator.le.migration.content.matched.report",labelText:r.a.getPhrase(a,"linkedOption")}),e},processValidReportOptions:function(e){var t=this.getReportOptions(),n={};return o.each(o.keys(t),(function(r){o.contains(e,t[r].type)&&(n[r]=t[r])})),n},filterSelectedOptions:function(e){return o.filter(o.keys(e),(function(t){return e[t].selected})).map((function(t){return e[t].id}))},getSelectedOptionsText:function(e){var t=this.getReportOptions();return o.filter(o.keys(t),(function(n){return o.contains(e,t[n].id)})).map((function(e){return t[e].labelText}))}}},1374:function(e,t,n){var o=n(10);e.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,o,r){e.propertyIsEnumerable;var i,l=e.lambda,a=e.escapeExpression,u=null!=t?t:e.nullContext||{},c=e.hooks.helperMissing;return'<div class="row '+a(l(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.tabContainer:i,t))+' position-relative">\r\n <a class="col-4 p-3 '+a(l(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.publisherArchiveAppLink:i,t))+'"><h1 class="m-0 h5">'+a((n.lang||t&&t.lang||c).call(u,"addVideos",{name:"lang",hash:{},data:r}))+'</h1></a>\r\n <a class="p-3 '+a(l(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.reviewErroredAppLink:i,t))+'"><h1 class="m-0 h5">'+a((n.lang||t&&t.lang||c).call(u,"migrationWarnings",{name:"lang",hash:{},data:r}))+'<span class="ml-2 svg-container d-inline-block '+a(l(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.svgContainer:i,t))+'">'+(null!=(i=l(null!=(i=null!=t?t.options:t)?i.warningSvg:i,t))?i:"")+'</span></h1></a>\r\n <div class="generate-report-region"></div>\r\n</div>'},useData:!0})},1375:function(e,t,n){var o=n(10);e.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,o,r){e.propertyIsEnumerable;var i,l=e.lambda,a=e.escapeExpression,u=null!=t?t:e.nullContext||{},c=e.hooks.helperMissing;return'<div class="col-8">\r\n <div class="select-all"></div>\r\n <div class="align-middle d-inline-block">\r\n <span class="cursor-pointer sort sort-title '+a(l(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.sortOption:i,t))+'">\r\n <span>'+a((n.lang||t&&t.lang||c).call(u,"sortTitle",{name:"lang",hash:{},data:r}))+'</span>\r\n <span class="svg-container '+a(l(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.svgContainer:i,t))+'">'+(null!=(i=l(null!=(i=null!=t?t.options:t)?i.sortSvg:i,t))?i:"")+'</span>\r\n </span>\r\n </div>\r\n</div>\r\n\r\n<div class="col-4 pr-3 text-right">\r\n <span class="cursor-pointer sort mr-3 sort-views '+a(l(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.sortOption:i,t))+'">\r\n <span>'+a((n.lang||t&&t.lang||c).call(u,"sortViews",{name:"lang",hash:{},data:r}))+'</span>\r\n <span class="svg-container '+a(l(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.svgContainer:i,t))+'">'+(null!=(i=l(null!=(i=null!=t?t.options:t)?i.sortSvg:i,t))?i:"")+"</span>\r\n </span>\r\n</div>"},useData:!0})},1376:function(e,t,n){var o=n(10);e.exports=(o.default||o).template({1:function(e,t,n,o,r){e.propertyIsEnumerable;var i,l=e.escapeExpression;return' <button class="applink-back btn btn-secondary '+l(e.lambda(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.button:i,t))+'">\r\n '+l((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"back",{name:"lang",hash:{},data:r}))+"\r\n </button>\r\n"},3:function(e,t,n,o,r){e.propertyIsEnumerable;var i,l=e.escapeExpression;return' <span class="align-middle '+l(e.lambda(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.statusBarMessage:i,t))+'">\r\n '+l((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"videosSelected",{name:"lang",hash:{videoCount:null!=(i=null!=t?t.options:t)?i.videoCount:i,smartCount:null!=(i=null!=t?t.options:t)?i.numberAvailable:i},data:r}))+"\r\n </span>\r\n"},5:function(e,t,n,o,r){return"disabled"},compiler:[8,">= 4.3.0"],main:function(e,t,n,o,r){e.propertyIsEnumerable;var i,l=null!=t?t:e.nullContext||{},a=e.lambda,u=e.escapeExpression;return'<div class="row">\r\n <div class="col-4">\r\n'+(null!=(i=n.if.call(l,null!=(i=null!=t?t.options:t)?i.showBackButton:i,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r}))?i:"")+' </div>\r\n <div class="col-6">\r\n'+(null!=(i=n.if.call(l,null!=(i=null!=t?t.options:t)?i.showSelected:i,{name:"if",hash:{},fn:e.program(3,r,0),inverse:e.noop,data:r}))?i:"")+' </div>\r\n <div class="col-2 text-right">\r\n <button class="applink-next btn btn-primary '+u(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.button:i,t))+'" '+(null!=(i=n.if.call(l,null!=(i=null!=t?t.options:t)?i.nextDisabled:i,{name:"if",hash:{},fn:e.program(5,r,0),inverse:e.noop,data:r}))?i:"")+">\r\n "+u(a(null!=(i=null!=t?t.options:t)?i.text:i,t))+"\r\n </button>\r\n </div>\r\n</div>"},useData:!0})},1377:function(e,t,n){var o=n(10);e.exports=(o.default||o).template({1:function(e,t,n,o,r){return"text-muted"},3:function(e,t,n,o,r){e.propertyIsEnumerable;var i,l=e.escapeExpression;return' <a class="applink-remigrate cursor-pointer '+l(e.lambda(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.viewLink:i,t))+'">'+l((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"readd",{name:"lang",hash:{},data:r}))+"</a>\r\n"},5:function(e,t,n,o,r){e.propertyIsEnumerable;var i,l=e.escapeExpression;return' <a class="applink-show cursor-pointer '+l(e.lambda(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.viewLink:i,t))+'">'+l((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"details",{name:"lang",hash:{},data:r}))+"</a>\r\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,o,r){e.propertyIsEnumerable;var i,l,a=e.lambda,u=e.escapeExpression,c=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing;return'<div class="row no-gutters">\r\n <div class="col-8">\r\n <div class="bulk-checkbox-region '+u(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.bulkCheckbox:i,t))+'"></div>\r\n <a class="applink-show align-middle cursor-pointer mt-2 '+u(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.videoTitle:i,t))+" "+(null!=(i=n.if.call(c,null!=(i=null!=t?t.options:t)?i.migrated:i,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r}))?i:"")+'">'+u("function"==typeof(l=null!=(l=n.name||(null!=t?t.name:t))?l:s)?l.call(c,{name:"name",hash:{},data:r}):l)+'</a>\r\n </div>\r\n <div class="col-4 position-static">\r\n <div class="row no-gutters">\r\n <div class="col-11 text-right pr-2">\r\n'+(null!=(i=n.if.call(c,null!=(i=null!=t?t.options:t)?i.migrated:i,{name:"if",hash:{},fn:e.program(3,r,0),inverse:e.program(5,r,0),data:r}))?i:"")+' <div class="'+u(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.viewCount:i,t))+'">\r\n <span>\r\n '+u((n.lang||t&&t.lang||s).call(c,"views",{name:"lang",hash:{smartCount:null!=(i=null!=t?t.options:t)?i.views:i},data:r}))+'\r\n </span>\r\n </div>\r\n </div>\r\n <div class="col-1 d-flex justify-content-center position-static">\r\n <div class="error-code-region"></div>\r\n </div>\r\n </div>\r\n </div>\r\n</div>'},useData:!0})},1378:function(e,t,n){var o=n(10);e.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,o,r){return'<div class="video-sorting-region"></div>\r\n<div class="video-list-region"></div>'},useData:!0})},1379:function(e,t,n){e.exports={videoList:"_3RFYO"}},1380:function(e,t,n){e.exports={banner:"O5CMF",learnMore:"MjcUE"}},1381:function(e,t,n){var o=n(10);e.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,o,r){e.propertyIsEnumerable;var i,l=null!=t?t:e.nullContext||{},a=e.hooks.helperMissing,u=e.escapeExpression,c=e.lambda;return'<span class="text-white mr-1">'+u((n.lang||t&&t.lang||a).call(l,"banner",{name:"lang",hash:{},data:r}))+'</span>\r\n<a href="'+u(c(null!=(i=null!=t?t.options:t)?i.learnMoreUrl:i,t))+'" class="'+u(c(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.learnMore:i,t))+'" target="_blank">'+u((n.lang||t&&t.lang||a).call(l,"learnMore",{name:"lang",hash:{},data:r}))+"</a>"},useData:!0})},1382:function(e,t,n){e.exports={category:"BSPKV"}},1383:function(e,t,n){var o=n(10);e.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,o,r){var i;e.propertyIsEnumerable;return null!=(i=(n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"selectedVideos",{name:"lang",hash:{folder:null!=(i=null!=t?t.options:t)?i.folder:i,className:null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.category:i,smartCount:null!=(i=null!=t?t.options:t)?i.videoCount:i},data:r}))?i:""},useData:!0})},1384:function(e,t,n){e.exports={videoList:"_3TgUv"}},1385:function(e,t,n){var o=n(10);e.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,o,r){var i;e.propertyIsEnumerable;return'<h3 class="m-0">'+e.escapeExpression(e.lambda(null!=(i=null!=t?t.options:t)?i.text:i,t))+"</h3>"},useData:!0})},1386:function(e,t,n){e.exports={progressBarContainter:"_1aNlZ",progressBar:"_325nt"}},1387:function(e,t,n){var o=n(10);e.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,o,r){e.propertyIsEnumerable;var i,l=e.lambda,a=e.escapeExpression;return'<div class="row">\r\n <div class="col-11 '+a(l(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.progressBarContainter:i,t))+' pl-0">\r\n <div class="progress '+a(l(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.progressBar:i,t))+'">\r\n <div class="progress-bar '+a(l(null!=(i=null!=t?t.options:t)?i.background:i,t))+" "+a(l(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.progressBar:i,t))+'" role="progressbar" aria-valuenow="'+a(l(null!=(i=null!=t?t.options:t)?i.progress:i,t))+'" aria-valuemin="0" aria-valuemax="100"></div>\r\n </div>\r\n </div>\r\n <div class="col-1 pr-0">\r\n <span class="float-right progress-text">'+a(l(null!=(i=null!=t?t.options:t)?i.progress:i,t))+"%</span>\r\n </div>\r\n</div>\r\n\r\n"},useData:!0})},1388:function(e,t,n){var o=n(10);e.exports=(o.default||o).template({1:function(e,t,n,o,r){e.propertyIsEnumerable;var i=e.lambda,l=e.escapeExpression;return' <div class="d-flex py-1">\r\n <div class="custom-control custom-checkbox">\r\n <input id="'+l(i(null!=t?t.id:t,t))+'-option" name="checkbox-'+l(i(null!=t?t.id:t,t))+'" type="checkbox" class="custom-control-input cursor-pointer">\r\n <label class="custom-control-label cursor-pointer" for="'+l(i(null!=t?t.id:t,t))+'-option">&nbsp;</label>\r\n </div>\r\n <label for="'+l(i(null!=t?t.id:t,t))+'-option">'+l(i(null!=t?t.labelText:t,t))+"</label>\r\n </div> \r\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,o,r){e.propertyIsEnumerable;var i,l=null!=t?t:e.nullContext||{},a=e.hooks.helperMissing,u=e.escapeExpression;return'<h1 class="h5 py-1 mx-2">'+u((n.lang||t&&t.lang||a).call(l,"heading",{name:"lang",hash:{},data:r}))+'</h1>\r\n<div class="dropdown-divider"></div>\r\n<p class="m-2 mt-0">'+u((n.lang||t&&t.lang||a).call(l,"options",{name:"lang",hash:{},data:r}))+'</p>\r\n\r\n<div class="mx-2 options">\r\n'+(null!=(i=n.each.call(l,null!=(i=null!=t?t.options:t)?i.reportOptions:i,{name:"each",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r}))?i:"")+'</div>\r\n\r\n<div class="dropdown-divider"></div>\r\n<div class="mr-3">\r\n <button class="btn btn-primary w-100 mx-2 generate-report" disabled>'+u((n.lang||t&&t.lang||a).call(l,"generate",{name:"lang",hash:{},data:r}))+"</button>\r\n</div>"},useData:!0})},1389:function(e,t,n){var o=n(10);e.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,o,r){e.propertyIsEnumerable;var i,l=e.escapeExpression;return'<div\r\n data-toggle="dropdown"\r\n aria-haspopup="true"\r\n aria-expanded="false"\r\n class="'+l(e.lambda(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.generateReport:i,t))+' mr-2"\r\n>\r\n <div class="btn btn-link border px-2 my-2">\r\n '+l((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"generateReport",{name:"lang",hash:{},data:r}))+'\r\n </div>\r\n</div>\r\n<div class="options-region"></div>'},useData:!0})},1390:function(e,t,n){e.exports={generateReport:"_2PRgW"}}}]);