@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,33 +0,0 @@
1
- (window["webpackJsonp_clickview_library_editor"] = window["webpackJsonp_clickview_library_editor"] || []).push([[61],{
2
-
3
- /***/ "../../libs/shared/src/apps/notifications/views/notifications/Notifications.hbs":
4
- /***/ (function(module, exports, __webpack_require__) {
5
-
6
- eval("var Handlebars = __webpack_require__(\"handlebars\");\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"compiler\":[8,\">= 4.3.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable, alias2=container.escapeExpression;\n\n return \"<div class=\\\"\"\n + alias2(container.lambda(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.containerClass : stack1), depth0))\n + \"\\\">\\r\\n <h1 class=\\\"header border-bottom pb-2 m-0\\\">\"\n + alias2((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),\"notifications\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</h1>\\r\\n <div class=\\\"list-region\\\"></div>\\r\\n <div class=\\\"pagination-region\\\"></div>\\r\\n</div>\";\n},\"useData\":true});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi4vLi4vbGlicy9zaGFyZWQvc3JjL2FwcHMvbm90aWZpY2F0aW9ucy92aWV3cy9ub3RpZmljYXRpb25zL05vdGlmaWNhdGlvbnMuaGJzLmpzIiwic291cmNlcyI6WyJmaWxlOi8vQzovQ2xpY2tWaWV3IFByb2plY3RzL0BjbGlja3ZpZXcvcGFja2FnZXMvbGlicy9zaGFyZWQvc3JjL2FwcHMvbm90aWZpY2F0aW9ucy92aWV3cy9ub3RpZmljYXRpb25zL05vdGlmaWNhdGlvbnMuaGJzIl0sInNvdXJjZXNDb250ZW50IjpbInZhciBIYW5kbGViYXJzID0gcmVxdWlyZSgnaGFuZGxlYmFycycpO1xubW9kdWxlLmV4cG9ydHMgPSAoSGFuZGxlYmFyc1snZGVmYXVsdCddIHx8IEhhbmRsZWJhcnMpLnRlbXBsYXRlKHtcImNvbXBpbGVyXCI6WzgsXCI+PSA0LjMuMFwiXSxcIm1haW5cIjpmdW5jdGlvbihjb250YWluZXIsZGVwdGgwLGhlbHBlcnMscGFydGlhbHMsZGF0YSkge1xuICAgIHZhciBzdGFjazEsIGFsaWFzMT1jb250YWluZXIucHJvcGVydHlJc0VudW1lcmFibGUsIGFsaWFzMj1jb250YWluZXIuZXNjYXBlRXhwcmVzc2lvbjtcblxuICByZXR1cm4gXCI8ZGl2IGNsYXNzPVxcXCJcIlxuICAgICsgYWxpYXMyKGNvbnRhaW5lci5sYW1iZGEoKChzdGFjazEgPSAoZGVwdGgwICE9IG51bGwgPyBkZXB0aDAub3B0aW9ucyA6IGRlcHRoMCkpICE9IG51bGwgPyBzdGFjazEuY29udGFpbmVyQ2xhc3MgOiBzdGFjazEpLCBkZXB0aDApKVxuICAgICsgXCJcXFwiPlxcclxcbiAgPGgxIGNsYXNzPVxcXCJoZWFkZXIgYm9yZGVyLWJvdHRvbSBwYi0yIG0tMFxcXCI+XCJcbiAgICArIGFsaWFzMigoaGVscGVycy5sYW5nfHwoZGVwdGgwICYmIGRlcHRoMC5sYW5nKXx8Y29udGFpbmVyLmhvb2tzLmhlbHBlck1pc3NpbmcpLmNhbGwoZGVwdGgwICE9IG51bGwgPyBkZXB0aDAgOiAoY29udGFpbmVyLm51bGxDb250ZXh0IHx8IHt9KSxcIm5vdGlmaWNhdGlvbnNcIix7XCJuYW1lXCI6XCJsYW5nXCIsXCJoYXNoXCI6e30sXCJkYXRhXCI6ZGF0YX0pKVxuICAgICsgXCI8L2gxPlxcclxcbiAgPGRpdiBjbGFzcz1cXFwibGlzdC1yZWdpb25cXFwiPjwvZGl2PlxcclxcbiAgPGRpdiBjbGFzcz1cXFwicGFnaW5hdGlvbi1yZWdpb25cXFwiPjwvZGl2PlxcclxcbjwvZGl2PlwiO1xufSxcInVzZURhdGFcIjp0cnVlfSk7Il0sIm1hcHBpbmdzIjoiQUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///../../libs/shared/src/apps/notifications/views/notifications/Notifications.hbs\n");
7
-
8
- /***/ }),
9
-
10
- /***/ "../../libs/shared/src/apps/notifications/views/notifications/NotificationsView.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__, \"NotificationsView\", function() { return NotificationsView; });\n/* harmony import */ var libs_common_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\"../../libs/common/src/backbone/index.ts\");\n/* harmony import */ var libs_common_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\"../../libs/common/src/backbone/services/LanguageService.tsx\");\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_shared_enums_PartialLoading__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\"../../libs/shared/src/enums/PartialLoading.ts\");\n/* harmony import */ var libs_shared_constants_DataPrefixes__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(\"../../libs/shared/src/constants/DataPrefixes.ts\");\n/* harmony import */ var libs_shared_constants_SharedServices__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(\"../../libs/shared/src/constants/SharedServices.ts\");\n/* harmony import */ var libs_shared_constants_AppVariables__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(\"../../libs/shared/src/constants/AppVariables.ts\");\n/* harmony import */ var libs_shared_legacy_interfaces__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(\"../../libs/shared/src/legacy/interfaces/index.ts\");\n/* harmony import */ var libs_shared_legacy_components_pagination_PaginationComponent__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(\"../../libs/shared/src/legacy/components/pagination/PaginationComponent.ts\");\n/* harmony import */ var libs_shared_apps_notifications_components_notification_list_NotificationListComponent__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(\"../../libs/shared/src/apps/notifications/components/notification-list/NotificationListComponent.ts\");\n/* harmony import */ var _Notifications_hbs__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(\"../../libs/shared/src/apps/notifications/views/notifications/Notifications.hbs\");\n/* harmony import */ var _Notifications_hbs__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_Notifications_hbs__WEBPACK_IMPORTED_MODULE_10__);\n/* harmony import */ var _components_notification_items_partial_loading_NotificationsPartial_hbs__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(\"../../libs/shared/src/apps/notifications/components/notification-items/partial-loading/NotificationsPartial.hbs\");\n/* harmony import */ var _components_notification_items_partial_loading_NotificationsPartial_hbs__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(_components_notification_items_partial_loading_NotificationsPartial_hbs__WEBPACK_IMPORTED_MODULE_11__);\n/* harmony import */ var _components_notification_items_partial_loading_notification_partial_scss__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(\"../../libs/shared/src/apps/notifications/components/notification-items/partial-loading/notification-partial.scss\");\n/* harmony import */ var _components_notification_items_partial_loading_notification_partial_scss__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(_components_notification_items_partial_loading_notification_partial_scss__WEBPACK_IMPORTED_MODULE_12__);\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\nvar NotificationsView = /*#__PURE__*/function (_Core$View) {\n _inherits(NotificationsView, _Core$View);\n\n var _super = _createSuper(NotificationsView);\n\n function NotificationsView(options) {\n _classCallCheck(this, NotificationsView);\n\n return _super.call(this, options);\n }\n\n _createClass(NotificationsView, [{\n key: \"name\",\n get: function get() {\n return 'NotificationsView';\n }\n }, {\n key: \"title\",\n get: function get() {\n return libs_common_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_1__[\"LanguageService\"].getPhrase(this.lang, 'title');\n }\n }, {\n key: \"lang\",\n get: function get() {\n return 'notifications.notifications';\n }\n }, {\n key: \"template\",\n get: function get() {\n return _Notifications_hbs__WEBPACK_IMPORTED_MODULE_10___default.a;\n }\n }, {\n key: \"regions\",\n value: function regions() {\n return {\n notifications: {\n replaceElement: true,\n el: '.list-region',\n partialLoading: {\n component: libs_shared_enums_PartialLoading__WEBPACK_IMPORTED_MODULE_3__[\"PartialLoadingComponentTypes\"].ComponentCollection,\n options: {\n collectionLength: 5,\n childOptions: {\n template: _components_notification_items_partial_loading_NotificationsPartial_hbs__WEBPACK_IMPORTED_MODULE_11___default.a,\n className: \"px-1 py-2\",\n viewOptions: {\n styles: _components_notification_items_partial_loading_notification_partial_scss__WEBPACK_IMPORTED_MODULE_12___default.a\n }\n }\n }\n }\n },\n pagination: {\n replaceElement: true,\n el: '.pagination-region'\n }\n };\n }\n }, {\n key: \"initialize\",\n value: function initialize() {\n this.notificationService = libs_common_backbone_services_InstanceManager__WEBPACK_IMPORTED_MODULE_2__[\"InstanceManager\"].getInstance(libs_shared_constants_SharedServices__WEBPACK_IMPORTED_MODULE_5__[\"SharedServices\"].Notification, this);\n this.appVariables = libs_common_backbone_services_InstanceManager__WEBPACK_IMPORTED_MODULE_2__[\"InstanceManager\"].getInstance(libs_shared_constants_AppVariables__WEBPACK_IMPORTED_MODULE_6__[\"AppVariables\"].NOTIFICATIONS, this);\n }\n }, {\n key: \"onData\",\n value: function onData(collection) {\n this.collection = collection;\n this.render();\n }\n }, {\n key: \"getCollectionIdentifier\",\n value: function getCollectionIdentifier() {\n if (this.collectionIdentifier) return this.collectionIdentifier;\n return this.collectionIdentifier = new libs_shared_legacy_interfaces__WEBPACK_IMPORTED_MODULE_7__[\"CollectionIdentifier\"](Object.assign({\n collectionPrefix: libs_shared_constants_DataPrefixes__WEBPACK_IMPORTED_MODULE_4__[\"SharedDataPrefixes\"].NOTIFICATIONS\n }, this.options.params));\n }\n }, {\n key: \"renderNotificationList\",\n value: function renderNotificationList() {\n var view = new libs_shared_apps_notifications_components_notification_list_NotificationListComponent__WEBPACK_IMPORTED_MODULE_9__[\"NotificationListComponent\"]({\n collection: this.collection,\n childType: libs_shared_apps_notifications_components_notification_list_NotificationListComponent__WEBPACK_IMPORTED_MODULE_9__[\"NotificationChildType\"].Default\n });\n this.showChildView('notifications', view);\n }\n }, {\n key: \"renderPagination\",\n value: function renderPagination() {\n if (!this.collection.length) return;\n var cursors = this.notificationService.getNotificationsCursors(this.getCollectionIdentifier());\n var paginationComponent = new libs_shared_legacy_components_pagination_PaginationComponent__WEBPACK_IMPORTED_MODULE_8__[\"PaginationComponent\"]({\n cursors: cursors,\n appLink: Object.assign(Object.assign({}, this.appVariables.appLinks.notifications), {\n args: [],\n params: this.getCollectionIdentifier().toParams()\n })\n });\n this.showChildView('pagination', paginationComponent);\n }\n }, {\n key: \"viewOptions\",\n value: function viewOptions() {\n var _a, _b;\n\n return {\n containerClass: (_b = (_a = this.appVariables) === null || _a === void 0 ? void 0 : _a.notificationsViewClassNames) !== null && _b !== void 0 ? _b : ''\n };\n }\n }, {\n key: \"onBeforeRender\",\n value: function onBeforeRender() {\n var _this = this;\n\n if (!this.collection) {\n this.notificationService.getNotifications(this.options.params, this.getCollectionIdentifier(), function (collection) {\n return _this.onData(collection);\n });\n }\n\n return !!this.collection;\n }\n }, {\n key: \"onRender\",\n value: function onRender() {\n this.renderNotificationList();\n this.renderPagination();\n }\n }]);\n\n return NotificationsView;\n}(libs_common_core__WEBPACK_IMPORTED_MODULE_0__[\"Core\"].View);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi4vLi4vbGlicy9zaGFyZWQvc3JjL2FwcHMvbm90aWZpY2F0aW9ucy92aWV3cy9ub3RpZmljYXRpb25zL05vdGlmaWNhdGlvbnNWaWV3LnRzLmpzIiwic291cmNlcyI6WyJmaWxlOi8vQzovQ2xpY2tWaWV3IFByb2plY3RzL0BjbGlja3ZpZXcvcGFja2FnZXMvbGlicy9zaGFyZWQvc3Jj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JuIE5vdGlmaWNhdGlvbnNUZW1wbGF0ZTtcclxuICB9XHJcblxyXG4gIHB1YmxpYyByZWdpb25zKCk6IE9iamVjdEhhc2gge1xyXG4gICAgcmV0dXJuIHtcclxuICAgICAgbm90aWZpY2F0aW9uczoge1xyXG4gICAgICAgIHJlcGxhY2VFbGVtZW50OiB0cnVlLFxyXG4gICAgICAgIGVsOiAnLmxpc3QtcmVnaW9uJyxcclxuICAgICAgICBwYXJ0aWFsTG9hZGluZzoge1xyXG4gICAgICAgICAgY29tcG9uZW50OiBQYXJ0aWFsTG9hZGluZ0NvbXBvbmVudFR5cGVzLkNvbXBvbmVudENvbGxlY3Rpb24sXHJcbiAgICAgICAgICBvcHRpb25zOiB7XHJcbiAgICAgICAgICAgIGNvbGxlY3Rpb25MZW5ndGg6IDUsXHJcbiAgICAgICAgICAgIGNoaWxkT3B0aW9uczoge1xyXG4gICAgICAgICAgICAgIHRlbXBsYXRlOiBQYXJ0aWFsTG9hZGluZ1RlbXBsYXRlLFxyXG4gICAgICAgICAgICAgIGNsYXNzTmFtZTogYHB4LTEgcHktMmAsXHJcbiAgICAgICAgICAgICAgdmlld09wdGlvbnM6IHtcclxuICAgICAgICAgICAgICAgIHN0eWxlczogUGFydGlhbExvYWRpbmdTdHlsZXNcclxuICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgIH1cclxuICAgICAgICAgIH1cclxuICAgICAgICB9XHJcbiAgICAgIH0sXHJcbiAgICAgIHBhZ2luYXRpb246IHtcclxuICAgICAgICByZXBsYWNlRWxlbWVudDogdHJ1ZSxcclxuICAgICAgICBlbDogJy5wYWdpbmF0aW9uLXJlZ2lvbicsXHJcbiAgICAgIH1cclxuICAgIH07XHJcbiAgfVxyXG5cclxuICBwdWJsaWMgaW5pdGlhbGl6ZSgpOiB2b2lkIHtcclxuICAgIHRoaXMubm90aWZpY2F0aW9uU2VydmljZSA9IEluc3RhbmNlTWFuYWdlci5nZXRJbnN0YW5jZShTaGFyZWRTZXJ2a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NEQTtBQUNBO0FBQ0E7QUF4REE7QUFBQTtBQUFBO0FBMkRBO0FBQ0E7QUFDQTtBQTdEQTtBQUFBO0FBQUE7QUFnRUE7QUFHQTtBQUNBO0FBREE7QUFJQTtBQXZFQTtBQUFBO0FBQUE7QUEwRUE7QUFDQTtBQUNBO0FBRkE7QUFLQTtBQUNBO0FBaEZBO0FBQUE7QUFBQTtBQW1GQTtBQUVBO0FBRUE7QUFDQTtBQUNBO0FBRUE7QUFDQTtBQUZBO0FBSEE7QUFTQTtBQUNBO0FBakdBO0FBQUE7QUFBQTs7O0FBb0dBO0FBQ0E7QUFEQTtBQUdBO0FBdkdBO0FBQUE7QUFBQTtBQXlHQTtBQUNBO0FBQUE7QUFDQTtBQUVBO0FBQUE7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQWxIQTtBQUFBO0FBQUE7QUFxSEE7QUFDQTtBQUNBO0FBdkhBO0FBQ0E7QUFEQTtBQUFBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///../../libs/shared/src/apps/notifications/views/notifications/NotificationsView.ts\n");
15
-
16
- /***/ }),
17
-
18
- /***/ "../../libs/shared/src/legacy/components/pagination/Pagination.hbs":
19
- /***/ (function(module, exports, __webpack_require__) {
20
-
21
- eval("var Handlebars = __webpack_require__(\"handlebars\");\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"1\":function(container,depth0,helpers,partials,data) {\n return \"disabled\";\n},\"compiler\":[8,\">= 4.3.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable, alias2=depth0 != null ? depth0 : (container.nullContext || {}), alias3=container.hooks.helperMissing, alias4=container.escapeExpression;\n\n return \"<div class=\\\"p-3\\\">\\r\\n <a class=\\\"btn previous-applink btn-secondary \"\n + ((stack1 = helpers.unless.call(alias2,((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.cursors : stack1)) != null ? stack1.previous : stack1),{\"name\":\"unless\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + \"\\\">\"\n + alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,\"previous\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</a>\\r\\n <a class=\\\"btn next-applink btn-secondary \"\n + ((stack1 = helpers.unless.call(alias2,((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.cursors : stack1)) != null ? stack1.next : stack1),{\"name\":\"unless\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + \"\\\">\"\n + alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,\"next\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</a>\\r\\n</div>\";\n},\"useData\":true});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi4vLi4vbGlicy9zaGFyZWQvc3JjL2xlZ2FjeS9jb21wb25lbnRzL3BhZ2luYXRpb24vUGFnaW5hdGlvbi5oYnMuanMiLCJzb3VyY2VzIjpbImZpbGU6Ly9DOi9DbGlja1ZpZXcgUHJvamVjdHMvQGNsaWNrdmlldy9wYWNrYWdlcy9saWJzL3NoYXJlZC9zcmMvbGVnYWN5L2NvbXBvbmVudHMvcGFnaW5hdGlvbi9QYWdpbmF0aW9uLmhicyJdLCJzb3VyY2VzQ29udGVudCI6WyJ2YXIgSGFuZGxlYmFycyA9IHJlcXVpcmUoJ2hhbmRsZWJhcnMnKTtcbm1vZHVsZS5leHBvcnRzID0gKEhhbmRsZWJhcnNbJ2RlZmF1bHQnXSB8fCBIYW5kbGViYXJzKS50ZW1wbGF0ZSh7XCIxXCI6ZnVuY3Rpb24oY29udGFpbmVyLGRlcHRoMCxoZWxwZXJzLHBhcnRpYWxzLGRhdGEpIHtcbiAgICByZXR1cm4gXCJkaXNhYmx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ibGFuZ1wiLFwiaGFzaFwiOnt9LFwiZGF0YVwiOmRhdGF9KSlcbiAgICArIFwiPC9hPlxcclxcbiAgPGEgY2xhc3M9XFxcImJ0biBuZXh0LWFwcGxpbmsgYnRuLXNlY29uZGFyeSBcIlxuICAgICsgKChzdGFjazEgPSBoZWxwZXJzLnVubGVzcy5jYWxsKGFsaWFzMiwoKHN0YWNrMSA9ICgoc3RhY2sxID0gKGRlcHRoMCAhPSBudWxsID8gZGVwdGgwLm9wdGlvbnMgOiBkZXB0aDApKSAhPSBudWxsID8gc3RhY2sxLmN1cnNvcnMgOiBzdGFjazEpKSAhPSBudWxsID8gc3RhY2sxLm5leHQgOiBzdGFjazEpLHtcIm5hbWVcIjpcInVubGVzc1wiLFwiaGFzaFwiOnt9LFwiZm5cIjpjb250YWluZXIucHJvZ3JhbSgxLCBkYXRhLCAwKSxcImludmVyc2VcIjpjb250YWluZXIubm9vcCxcImRhdGFcIjpkYXRhfSkpICE9IG51bGwgPyBzdGFjazEgOiBcIlwiKVxuICAgICsgXCJcXFwiPlwiXG4gICAgKyBhbGlhczQoKGhlbHBlcnMubGFuZ3x8KGRlcHRoMCAmJiBkZXB0aDAubGFuZyl8fGFsaWFzMykuY2FsbChhbGlhczIsXCJuZXh0XCIse1wibmFtZVwiOlwibGFuZ1wiLFwiaGFzaFwiOnt9LFwiZGF0YVwiOmRhdGF9KSlcbiAgICArIFwiPC9hPlxcclxcbjwvZGl2PlwiO1xufSxcInVzZURhdGFcIjp0cnVlfSk7Il0sIm1hcHBpbmdzIjoiQUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///../../libs/shared/src/legacy/components/pagination/Pagination.hbs\n");
22
-
23
- /***/ }),
24
-
25
- /***/ "../../libs/shared/src/legacy/components/pagination/PaginationComponent.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__, \"PaginationComponent\", function() { return PaginationComponent; });\n/* harmony import */ var underscore__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\"underscore\");\n/* harmony import */ var underscore__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(underscore__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var libs_common_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\"../../libs/common/src/backbone/index.ts\");\n/* harmony import */ var libs_analytics_interfaces__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\"../../libs/analytics/src/interfaces/index.ts\");\n/* harmony import */ var libs_analytics_AnalyticsHelper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\"../../libs/analytics/src/AnalyticsHelper.ts\");\n/* harmony import */ var _Pagination_hbs__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(\"../../libs/shared/src/legacy/components/pagination/Pagination.hbs\");\n/* harmony import */ var _Pagination_hbs__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_Pagination_hbs__WEBPACK_IMPORTED_MODULE_4__);\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }\n\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\n\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\n\n\n\n\n\nvar PaginationComponent = /*#__PURE__*/function (_Core$Component) {\n _inherits(PaginationComponent, _Core$Component);\n\n var _super = _createSuper(PaginationComponent);\n\n function PaginationComponent(options) {\n _classCallCheck(this, PaginationComponent);\n\n return _super.call(this, options);\n }\n\n _createClass(PaginationComponent, [{\n key: \"defaults\",\n get: function get() {\n return {\n cursors: {},\n cursorParamName: 'cursor'\n };\n }\n }, {\n key: \"name\",\n get: function get() {\n return 'PaginationComponent';\n }\n }, {\n key: \"template\",\n get: function get() {\n return _Pagination_hbs__WEBPACK_IMPORTED_MODULE_4___default.a;\n }\n }, {\n key: \"lang\",\n get: function get() {\n return 'shared._pagination';\n }\n }, {\n key: \"appLinks\",\n get: function get() {\n var appLinks = {};\n if (!this.options.cursors) return {};\n\n if (this.options.cursors.previous) {\n var previous = this.options.cursors.previous;\n var cursor = this.buildCursor(this.options.cursors.previous);\n /**\r\n * ** For legacy pagination only **\r\n * Remove the cursor param if the previous page is the first page.\r\n * This ensures that we don't unnecessarily re-fetch the first page\r\n * which in most cases would have been retrieved without using a cursor.\r\n */\n\n if (+previous <= 1 && this.options.allowFirstPageCursor !== true) delete cursor.params.cursor;\n appLinks['.previous-applink'] = cursor;\n }\n\n if (this.options.cursors.next) {\n appLinks['.next-applink'] = this.buildCursor(this.options.cursors.next);\n }\n\n return appLinks;\n }\n }, {\n key: \"events\",\n value: function events() {\n return {\n 'click .previous-applink': 'onClickPrevious',\n 'click .next-applink': 'onClickNext'\n };\n }\n }, {\n key: \"buildCursor\",\n value: function buildCursor(cursorParam) {\n return {\n application: this.options.appLink.application,\n action: this.options.appLink.action,\n args: this.options.appLink.args,\n params: underscore__WEBPACK_IMPORTED_MODULE_0__[\"extend\"]({}, this.options.appLink.params, _defineProperty({}, this.options.cursorParamName, cursorParam))\n };\n }\n }, {\n key: \"onClickPrevious\",\n value: function onClickPrevious() {\n this.logAction('previous');\n }\n }, {\n key: \"onClickNext\",\n value: function onClickNext() {\n this.logAction('next');\n }\n }, {\n key: \"logAction\",\n value: function logAction(page) {\n var analyticsOptions = libs_analytics_AnalyticsHelper__WEBPACK_IMPORTED_MODULE_3__[\"AnalyticsHelper\"].mergeOptions(this.options.analyticsOptions, {\n location: libs_analytics_interfaces__WEBPACK_IMPORTED_MODULE_2__[\"LocationContext\"].Pagination,\n entity: libs_analytics_interfaces__WEBPACK_IMPORTED_MODULE_2__[\"EntityType\"].Pagination,\n actionType: libs_analytics_interfaces__WEBPACK_IMPORTED_MODULE_2__[\"UserAction\"].Navigate\n });\n var data = {\n id: this.options.collectionId,\n page: page\n };\n libs_analytics_AnalyticsHelper__WEBPACK_IMPORTED_MODULE_3__[\"AnalyticsHelper\"].logUserAction(data, analyticsOptions);\n }\n }, {\n key: \"viewOptions\",\n value: function viewOptions() {\n return {\n cursors: this.options.cursors\n };\n }\n }, {\n key: \"onBeforeRender\",\n value: function onBeforeRender() {\n return !!this.options.cursors;\n }\n }]);\n\n return PaginationComponent;\n}(libs_common_core__WEBPACK_IMPORTED_MODULE_1__[\"Core\"].Component);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi4vLi4vbGlicy9zaGFyZWQvc3JjL2xlZ2FjeS9jb21wb25lbnRzL3BhZ2luYXRpb24vUGFnaW5hdGlvbkNvbXBvbmVudC50cy5qcyIsInNvdXJjZXMiOlsiZmlsZTovL0M6L0NsaWNrVmlldyBQcm9qZWN0cy9AY2xpY2t2aWV3L3BhY2thZ2VzL2xpYnMvc2hhcmVkL3NyYy9sZWdhY3kvY29tcG9uZW50cy9wYWdpbmF0aW9uL1BhZ2luYXRpb25Db21wb25lbnQudHMiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0ICogYXMgXyBmcm9tICd1bmRlcnNjb3JlJztcclxuaW1wb3J0IHsgT2JqZWN0SGFzaCB9IGZyb20gJ2JhY2tib25lJztcclxuXHJcbmltcG9ydCB7IENvcmUgfSBmcm9tICdsaWJzL2Nvb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QUE3RkE7QUFBQTtBQUFBO0FBZ0dBO0FBQ0E7QUFEQTtBQUdBO0FBbkdBO0FBQUE7QUFBQTtBQXNHQTtBQUNBO0FBdkdBO0FBQ0E7QUFEQTtBQUFBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///../../libs/shared/src/legacy/components/pagination/PaginationComponent.ts\n");
30
-
31
- /***/ })
32
-
33
- }]);
@@ -1 +0,0 @@
1
- (window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[62],{1360:function(t,e,n){var o=n(10);t.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){t.propertyIsEnumerable;var i,a=null!=e?e:t.nullContext||{},l=t.hooks.helperMissing,u=t.escapeExpression;return"<h1>"+u((n.lang||e&&e.lang||l).call(a,"inLibrary",{name:"lang",hash:{smartCount:null!=(i=null!=e?e.options:e)?i.count:i},data:r}))+'</h1>\r\n<div class="my-3">\r\n <img src="/images/upload/upload-completed@2x.png" class="'+u(t.lambda(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.completeImage:i,e))+'"/>\r\n</div>\r\n<p>'+u((n.lang||e&&e.lang||l).call(a,"isProcessing",{name:"lang",hash:{smartCount:null!=(i=null!=e?e.options:e)?i.count:i},data:r}))+'</p>\r\n<a class="back-to-library-applink btn btn-primary">'+u((n.lang||e&&e.lang||l).call(a,"back",{name:"lang",hash:{},data:r}))+"</a>"},useData:!0})},1361:function(t,e,n){t.exports={completeImage:"_1LiuD"}},1450:function(t,e,n){"use strict";n.r(e),n.d(e,"UploadCompleteView",(function(){return h}));var o=n(2),r=n(5),i=n(1360),a=n.n(i),l=n(0),u=n(3),c=n(1361),p=n.n(c);function s(t){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function f(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function y(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function b(t,e){return(b=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function m(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=d(t);if(e){var r=d(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return g(this,n)}}function g(t,e){return!e||"object"!==s(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function d(t){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var h=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&b(t,e)}(c,t);var e,n,o,i=m(c);function c(){return f(this,c),i.apply(this,arguments)}return e=c,(n=[{key:"initialize",value:function(){this.videoUploadService=r.a.getInstance(l.x.VideoUpload,this)}},{key:"name",get:function(){return"UploadCompleteView"}},{key:"title",get:function(){return u.a.getPhrase(this.lang,"title")}},{key:"lang",get:function(){return"upload.uploadComplete"}},{key:"template",get:function(){return a.a}},{key:"className",get:function(){return"p-3 my-3 bg-white text-center"}},{key:"appLinks",get:function(){return{".back-to-library-applink":{application:l.b.LIBRARY_EDITOR,action:l.a.LibraryEditor.HOME}}}},{key:"viewOptions",value:function(){return{styles:p.a,count:this.videoUploadService.getCollection().length}}},{key:"onBeforeDestroy",value:function(){this.videoUploadService.getCollection().reset()}}])&&y(e.prototype,n),o&&y(e,o),c}(o.a.View)}}]);
@@ -1 +0,0 @@
1
- (window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[62],{1351:function(t,e,n){var o=n(10);t.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){t.propertyIsEnumerable;var i,a=null!=e?e:t.nullContext||{},l=t.hooks.helperMissing,u=t.escapeExpression;return"<h1>"+u((n.lang||e&&e.lang||l).call(a,"inLibrary",{name:"lang",hash:{smartCount:null!=(i=null!=e?e.options:e)?i.count:i},data:r}))+'</h1>\r\n<div class="my-3">\r\n <img src="/images/upload/upload-completed@2x.png" class="'+u(t.lambda(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.completeImage:i,e))+'"/>\r\n</div>\r\n<p>'+u((n.lang||e&&e.lang||l).call(a,"isProcessing",{name:"lang",hash:{smartCount:null!=(i=null!=e?e.options:e)?i.count:i},data:r}))+'</p>\r\n<a class="back-to-library-applink btn btn-primary">'+u((n.lang||e&&e.lang||l).call(a,"back",{name:"lang",hash:{},data:r}))+"</a>"},useData:!0})},1352:function(t,e,n){t.exports={completeImage:"_1LiuD"}},1441:function(t,e,n){"use strict";n.r(e),n.d(e,"UploadCompleteView",(function(){return h}));var o=n(2),r=n(5),i=n(1351),a=n.n(i),l=n(0),u=n(3),c=n(1352),p=n.n(c);function s(t){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function f(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function y(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function b(t,e){return(b=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function m(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=d(t);if(e){var r=d(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return g(this,n)}}function g(t,e){return!e||"object"!==s(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function d(t){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var h=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&b(t,e)}(c,t);var e,n,o,i=m(c);function c(){return f(this,c),i.apply(this,arguments)}return e=c,(n=[{key:"initialize",value:function(){this.videoUploadService=r.a.getInstance(l.x.VideoUpload,this)}},{key:"name",get:function(){return"UploadCompleteView"}},{key:"title",get:function(){return u.a.getPhrase(this.lang,"title")}},{key:"lang",get:function(){return"upload.uploadComplete"}},{key:"template",get:function(){return a.a}},{key:"className",get:function(){return"p-3 my-3 bg-white text-center"}},{key:"appLinks",get:function(){return{".back-to-library-applink":{application:l.b.LIBRARY_EDITOR,action:l.a.LibraryEditor.HOME}}}},{key:"viewOptions",value:function(){return{styles:p.a,count:this.videoUploadService.getCollection().length}}},{key:"onBeforeDestroy",value:function(){this.videoUploadService.getCollection().reset()}}])&&y(e.prototype,n),o&&y(e,o),c}(o.a.View)}}]);
@@ -1,25 +0,0 @@
1
- (window["webpackJsonp_clickview_library_editor"] = window["webpackJsonp_clickview_library_editor"] || []).push([[62],{
2
-
3
- /***/ "./src/apps/default/views/error-view/Error.hbs":
4
- /***/ (function(module, exports, __webpack_require__) {
5
-
6
- eval("var Handlebars = __webpack_require__(\"handlebars\");\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"compiler\":[8,\">= 4.3.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable, alias2=container.lambda, alias3=container.escapeExpression;\n\n return \"\\r\\n<img src=\\\"/images/errors/Oops\"\n + alias3(alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.imageNumber : stack1), depth0))\n + \"@2x.png\\\" class=\\\"\"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.image : stack1), depth0))\n + \"\\\" />\\r\\n<h4 class=\\\"mt-3 text-muted\\\">\"\n + alias3(alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.heading : stack1), depth0))\n + \"</h4>\\r\\n<p>\"\n + ((stack1 = alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.description : stack1), depth0)) != null ? stack1 : \"\")\n + \"</p>\";\n},\"useData\":true});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvYXBwcy9kZWZhdWx0L3ZpZXdzL2Vycm9yLXZpZXcvRXJyb3IuaGJzLmpzIiwic291cmNlcyI6WyJmaWxlOi8vQzovQ2xpY2tWaWV3IFByb2plY3RzL0BjbGlja3ZpZXcvcGFja2FnZXMvcHJvamVjdHMvbGlicmFyeS1lZGl0b3Ivc3JjL2FwcHMvZGVmYXVsdC92aWV3cy9lcnJvci12aWV3L0Vycm9yLmhicyJdLCJzb3VyY2VzQ29udGVudCI6WyJ2YXIgSGFuZGxlYmFycyA9IHJlcXVpcmUoJ2hhbmRsZWJhcnMnKTtcbm1vZHVsZS5leHBvcnRzID0gKEhhbmRsZWJhcnNbJ2RlZmF1bHQnXSB8fCBIYW5kbGViYXJzKS50ZW1wbGF0ZSh7XCJjb21waWxlclwiOls4LFwiPj0gNC4zLjBcIl0sXCJtYWluXCI6ZnVuY3Rpb24oY29udGFpbmVyLGRlcHRoMCxoZWxwZXJzLHBhcnRpYWxzLGRhdGEpI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azEpLCBkZXB0aDApKSAhPSBudWxsID8gc3RhY2sxIDogXCJcIilcbiAgICArIFwiPC9wPlwiO1xufSxcInVzZURhdGFcIjp0cnVlfSk7Il0sIm1hcHBpbmdzIjoiQUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./src/apps/default/views/error-view/Error.hbs\n");
7
-
8
- /***/ }),
9
-
10
- /***/ "./src/apps/default/views/error-view/ErrorView.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__, \"ErrorView\", function() { return ErrorView; });\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 _Error_hbs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\"./src/apps/default/views/error-view/Error.hbs\");\n/* harmony import */ var _Error_hbs__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_Error_hbs__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _error_scss__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\"./src/apps/default/views/error-view/error.scss\");\n/* harmony import */ var _error_scss__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_error_scss__WEBPACK_IMPORTED_MODULE_3__);\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }\n\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\n\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\n\n\n\n\nvar ErrorView = /*#__PURE__*/function (_Core$View) {\n _inherits(ErrorView, _Core$View);\n\n var _super = _createSuper(ErrorView);\n\n function ErrorView() {\n _classCallCheck(this, ErrorView);\n\n return _super.apply(this, arguments);\n }\n\n _createClass(ErrorView, [{\n key: \"initialize\",\n value: function initialize() {\n var channel = backbone__WEBPACK_IMPORTED_MODULE_0__[\"Radio\"].channel('error:view');\n this.error = channel.request('current:error');\n }\n }, {\n key: \"name\",\n get: function get() {\n return 'ErrorView';\n }\n }, {\n key: \"title\",\n get: function get() {\n return false;\n }\n }, {\n key: \"className\",\n get: function get() {\n return 'bg-white mt-3 p-5 text-center';\n }\n }, {\n key: \"template\",\n get: function get() {\n return _Error_hbs__WEBPACK_IMPORTED_MODULE_2___default.a;\n }\n }, {\n key: \"viewOptions\",\n value: function viewOptions() {\n return {\n heading: this.error.heading,\n description: this.error.description,\n imageNumber: Math.round(Math.random() * 5 + 1),\n styles: _error_scss__WEBPACK_IMPORTED_MODULE_3___default.a\n };\n }\n }]);\n\n return ErrorView;\n}(libs_common_core__WEBPACK_IMPORTED_MODULE_1__[\"Core\"].View);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvYXBwcy9kZWZhdWx0L3ZpZXdzL2Vycm9yLXZpZXcvRXJyb3JWaWV3LnRzLmpzIiwic291cmNlcyI6WyJmaWxlOi8vQzovQ2xpY2tWaWV3IFByb2plY3RzL0BjbGlja3ZpZXcvcGFja2FnZXMvcHJvamVjdHMvbGlicmFyeS1lZGl0b3Ivc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SB0ZXh0LWNlbnRlcic7XHJcbiAgfVxyXG5cclxuICBwdWJsaWMgZ2V0IHRlbXBsYXRlKCk6IGFueSB7XHJcbiAgICByZXR1cm4gRXJyb3JUZW1wbGF0ZTtcclxuICB9XHJcblxyXG4gIHB1YmxpYyB2aWV3T3B0aW9ucygpOiBPYmplY3RIYXNoIHtcclxuICAgIHJldHVybiB7XHJcbiAgICAgIGhlYWRpbmc6IHRoaXMuZXJyb3IuaGVhZGluZyxcclxuICAgICAgZGVzY3JpcHRpb246IHRoaXMuZXJyb3IuZGVzY3JpcHRpb24sXHJcbiAgICAgIGltYWdlTnVtYmVyOiBNYXRoLnJvdW5kKCgoTWF0aC5yYW5kb20oKSAqIDUpICsgMSkpLFxyXG4gICAgICBzdHlsZXNcclxuICAgIH07XHJcbiAgfVxyXG59Il0sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBQ0E7QUFDQTtBQUlBO0FBQ0E7QUFFQTtBQUFBO0FBQ0E7QUFEQTtBQUNBO0FBREE7QUFBQTtBQUNBO0FBREE7QUFBQTtBQUNBO0FBREE7QUFBQTtBQUFBO0FBSUE7QUFDQTtBQUNBO0FBTkE7QUFBQTtBQUFBO0FBU0E7QUFDQTtBQVZBO0FBQUE7QUFBQTtBQWFBO0FBQ0E7QUFkQTtBQUFBO0FBQUE7QUFpQkE7QUFDQTtBQWxCQTtBQUFBO0FBQUE7QUFxQkE7QUFDQTtBQXRCQTtBQUFBO0FBQUE7QUF5QkE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUpBO0FBTUE7QUEvQkE7QUFDQTtBQURBO0FBQUEiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./src/apps/default/views/error-view/ErrorView.ts\n");
15
-
16
- /***/ }),
17
-
18
- /***/ "./src/apps/default/views/error-view/error.scss":
19
- /***/ (function(module, exports, __webpack_require__) {
20
-
21
- eval("// extracted by mini-css-extract-plugin\nmodule.exports = {\"image\":\"cv--image--1wvl8\"};//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvYXBwcy9kZWZhdWx0L3ZpZXdzL2Vycm9yLXZpZXcvZXJyb3Iuc2Nzcy5qcyIsInNvdXJjZXMiOlsiZmlsZTovL0M6L0NsaWNrVmlldyBQcm9qZWN0cy9AY2xpY2t2aWV3L3BhY2thZ2VzL3Byb2plY3RzL2xpYnJhcnktZWRpdG9yL3NyYy9hcHBzL2RlZmF1bHQvdmlld3MvZXJyb3Itdmlldy9lcnJvci5zY3NzIl0sInNvdXJjZXNDb250ZW50IjpbIi8vIGV4dHJhY3RlZCBieSBtaW5pLWNzcy1leHRyYWN0LXBsdWdpblxubW9kdWxlLmV4cG9ydHMgPSB7XCJpbWFnZVwiOlwiY3YtLWltYWdlLS0xd3ZsOFwifTsiXSwibWFwcGluZ3MiOiJBQUFBO0FBQ0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./src/apps/default/views/error-view/error.scss\n");
22
-
23
- /***/ })
24
-
25
- }]);
@@ -1 +0,0 @@
1
- (window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[63],{1035:function(e,t,n){"use strict";n.d(t,"a",(function(){return p}));var r=n(2),o=n(262);function i(e){return(i="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 a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=f(e);if(t){var o=f(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return s(this,n)}}function s(e,t){return!t||"object"!==i(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var p=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}(s,e);var t,n,r,i=c(s);function s(){return a(this,s),i.apply(this,arguments)}return t=s,(n=[{key:"defaults",value:function(){return e={},t=o.c.Disabled,n=!0,t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e;var e,t,n}}])&&l(t.prototype,n),r&&l(t,r),s}(r.a.Model)},1343:function(e,t,n){var r=n(10);e.exports=(r.default||r).template({1:function(e,t,n,r,o){var i;e.propertyIsEnumerable;return(null!=(i=e.lambda(null!=(i=null!=t?t.options:t)?i.spinnerEl:i,t))?i:"")+"\r\n"},3:function(e,t,n,r,o){e.propertyIsEnumerable;var i,a=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,u=e.escapeExpression;return'<p class="m-0 pb-2">'+u((n.lang||t&&t.lang||l).call(a,"noReview",{name:"lang",hash:{},data:o}))+"</p>\r\n"+(null!=(i=n.if.call(a,null!=(i=null!=t?t.options:t)?i.videosToReview:i,{name:"if",hash:{},fn:e.program(4,o,0),inverse:e.noop,data:o}))?i:"")+'<p class="m-0">'+u((n.lang||t&&t.lang||l).call(a,"undoInstructions",{name:"lang",hash:{},data:o}))+"</p>\r\n"},4:function(e,t,n,r,o){e.propertyIsEnumerable;return'<p class="m-0 pb-2">'+e.escapeExpression((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"automaticApproval",{name:"lang",hash:{},data:o}))+"</p>\r\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i;e.propertyIsEnumerable;return null!=(i=n.unless.call(null!=t?t:e.nullContext||{},null!=(i=null!=t?t.options:t)?i.dataFetched:i,{name:"unless",hash:{},fn:e.program(1,o,0),inverse:e.program(3,o,0),data:o}))?i:""},useData:!0})},1446:function(e,t,n){"use strict";n.r(t),n.d(t,"DisableReviewView",(function(){return O}));var r=n(5),o=n(3),i=n(2),a=n(4),l=n(42),u=n(262),c=n(301),s=n(13),f=n(141),p=n(0),h=n(1035),y=n(1343),v=n.n(y);function b(e){return(b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function w(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=k(e);if(t){var o=k(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return R(this,n)}}function R(e,t){return!t||"object"!==b(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function k(e){return(k=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var O=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&&m(e,t)}(R,e);var t,n,y,b=w(R);function R(){return d(this,R),b.apply(this,arguments)}return t=R,(n=[{key:"initialize",value:function(){this.bindListeners(),this.settingsDataService=r.a.getInstance(p.g.Settings,this),this.contentUpdatesDataService=r.a.getInstance(p.g.ContentUpdates,this)}},{key:"name",get:function(){return"DisableReviewView"}},{key:"title",get:function(){return o.a.getPhrase(this.lang,"title")}},{key:"template",get:function(){return v.a}},{key:"lang",get:function(){return"contentUpdates.disableReview"}},{key:"channelName",get:function(){return s.k.generateUniqueChannelName(this)}},{key:"behaviors",get:function(){var e=this;return[{title:o.a.getPhrase(this.lang,"heading"),behaviorClass:c.e,spinnerButtonOptions:{model:this.spinnerModel=new h.a,channelName:this.channelName,buttonText:o.a.getPhrase(this.lang,"offBtn"),onClick:function(){return e.onClickDisable()}}}]}},{key:"bindListeners",value:function(){this.listenTo(p.e.VIDEO,"".concat(p.f.VIDEOS_TO_REVIEW,":sync"),this.render)}},{key:"videosToReview",value:function(){return!!this.videoCollection&&!!this.videoCollection.length}},{key:"onClickDisable",value:function(){this.videosToReview()?this.approveAllThenDisableReview():this.disableReview(),this.triggerMethod("hide")}},{key:"approveAllThenDisableReview",value:function(){var e=this;this.contentUpdatesDataService.approveAllVideos((function(){return e.disableReview()}))}},{key:"disableReview",value:function(){var e=s.p.getLibraryReviewOptions(!1);this.settingsDataService.updateSetting(this.currentUser.get("customerId"),e,o.a.getPhrase(this.lang,"disableSuccess"),this.redirectToPastReleases),this.logAction()}},{key:"redirectToPastReleases",value:function(){i.a.AppLinkHelper.trigger({application:p.b.CONTENT_UPDATES,action:p.a.ContentUpdates.PAST_RELEASES})}},{key:"logAction",value:function(){var e={location:a.LocationContext.Popup,actionType:a.UserAction.Disable,entity:a.EntityType.CustomerSetting,descriptor:a.CustomerSettingDescriptor.LibraryReview,workflowPhase:a.WorkflowPhase.Complete},t={approvedCount:this.videoCollection.length};l.a.logUserAction(t,e)}},{key:"requiredResources",get:function(){return{currentUser:f.b.currentUser}}},{key:"onBeforeRender",value:function(){this.videoCollection=this.contentUpdatesDataService.getVideosToReview(),this.videoCollection&&this.spinnerModel.set(u.c.Disabled,!1)}},{key:"viewOptions",value:function(){return{videosToReview:this.videosToReview(),dataFetched:!!this.videoCollection,spinnerEl:s.r.getSpinner({size:s.s.Large,extraClasses:"mx-auto"})}}}])&&g(t.prototype,n),y&&g(t,y),R}(i.a.View)}}]);
@@ -1 +0,0 @@
1
- (window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[63],{1026:function(e,t,n){"use strict";n.d(t,"a",(function(){return p}));var r=n(2),o=n(262);function i(e){return(i="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 a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=f(e);if(t){var o=f(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return s(this,n)}}function s(e,t){return!t||"object"!==i(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var p=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}(s,e);var t,n,r,i=c(s);function s(){return a(this,s),i.apply(this,arguments)}return t=s,(n=[{key:"defaults",value:function(){return e={},t=o.c.Disabled,n=!0,t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e;var e,t,n}}])&&l(t.prototype,n),r&&l(t,r),s}(r.a.Model)},1334:function(e,t,n){var r=n(10);e.exports=(r.default||r).template({1:function(e,t,n,r,o){var i;e.propertyIsEnumerable;return(null!=(i=e.lambda(null!=(i=null!=t?t.options:t)?i.spinnerEl:i,t))?i:"")+"\r\n"},3:function(e,t,n,r,o){e.propertyIsEnumerable;var i,a=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,u=e.escapeExpression;return'<p class="m-0 pb-2">'+u((n.lang||t&&t.lang||l).call(a,"noReview",{name:"lang",hash:{},data:o}))+"</p>\r\n"+(null!=(i=n.if.call(a,null!=(i=null!=t?t.options:t)?i.videosToReview:i,{name:"if",hash:{},fn:e.program(4,o,0),inverse:e.noop,data:o}))?i:"")+'<p class="m-0">'+u((n.lang||t&&t.lang||l).call(a,"undoInstructions",{name:"lang",hash:{},data:o}))+"</p>\r\n"},4:function(e,t,n,r,o){e.propertyIsEnumerable;return'<p class="m-0 pb-2">'+e.escapeExpression((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"automaticApproval",{name:"lang",hash:{},data:o}))+"</p>\r\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i;e.propertyIsEnumerable;return null!=(i=n.unless.call(null!=t?t:e.nullContext||{},null!=(i=null!=t?t.options:t)?i.dataFetched:i,{name:"unless",hash:{},fn:e.program(1,o,0),inverse:e.program(3,o,0),data:o}))?i:""},useData:!0})},1437:function(e,t,n){"use strict";n.r(t),n.d(t,"DisableReviewView",(function(){return O}));var r=n(5),o=n(3),i=n(2),a=n(4),l=n(42),u=n(262),c=n(301),s=n(13),f=n(143),p=n(0),h=n(1026),y=n(1334),v=n.n(y);function b(e){return(b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function w(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=k(e);if(t){var o=k(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return R(this,n)}}function R(e,t){return!t||"object"!==b(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function k(e){return(k=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var O=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&&m(e,t)}(R,e);var t,n,y,b=w(R);function R(){return d(this,R),b.apply(this,arguments)}return t=R,(n=[{key:"initialize",value:function(){this.bindListeners(),this.settingsDataService=r.a.getInstance(p.g.Settings,this),this.contentUpdatesDataService=r.a.getInstance(p.g.ContentUpdates,this)}},{key:"name",get:function(){return"DisableReviewView"}},{key:"title",get:function(){return o.a.getPhrase(this.lang,"title")}},{key:"template",get:function(){return v.a}},{key:"lang",get:function(){return"contentUpdates.disableReview"}},{key:"channelName",get:function(){return s.k.generateUniqueChannelName(this)}},{key:"behaviors",get:function(){var e=this;return[{title:o.a.getPhrase(this.lang,"heading"),behaviorClass:c.e,spinnerButtonOptions:{model:this.spinnerModel=new h.a,channelName:this.channelName,buttonText:o.a.getPhrase(this.lang,"offBtn"),onClick:function(){return e.onClickDisable()}}}]}},{key:"bindListeners",value:function(){this.listenTo(p.e.VIDEO,"".concat(p.f.VIDEOS_TO_REVIEW,":sync"),this.render)}},{key:"videosToReview",value:function(){return!!this.videoCollection&&!!this.videoCollection.length}},{key:"onClickDisable",value:function(){this.videosToReview()?this.approveAllThenDisableReview():this.disableReview(),this.triggerMethod("hide")}},{key:"approveAllThenDisableReview",value:function(){var e=this;this.contentUpdatesDataService.approveAllVideos((function(){return e.disableReview()}))}},{key:"disableReview",value:function(){var e=s.p.getLibraryReviewOptions(!1);this.settingsDataService.updateSetting(this.currentUser.get("customerId"),e,o.a.getPhrase(this.lang,"disableSuccess"),this.redirectToPastReleases),this.logAction()}},{key:"redirectToPastReleases",value:function(){i.a.AppLinkHelper.trigger({application:p.b.CONTENT_UPDATES,action:p.a.ContentUpdates.PAST_RELEASES})}},{key:"logAction",value:function(){var e={location:a.LocationContext.Popup,actionType:a.UserAction.Disable,entity:a.EntityType.CustomerSetting,descriptor:a.CustomerSettingDescriptor.LibraryReview,workflowPhase:a.WorkflowPhase.Complete},t={approvedCount:this.videoCollection.length};l.a.logUserAction(t,e)}},{key:"requiredResources",get:function(){return{currentUser:f.b.currentUser}}},{key:"onBeforeRender",value:function(){this.videoCollection=this.contentUpdatesDataService.getVideosToReview(),this.videoCollection&&this.spinnerModel.set(u.c.Disabled,!1)}},{key:"viewOptions",value:function(){return{videosToReview:this.videosToReview(),dataFetched:!!this.videoCollection,spinnerEl:s.r.getSpinner({size:s.s.Large,extraClasses:"mx-auto"})}}}])&&g(t.prototype,n),y&&g(t,y),R}(i.a.View)}}]);
@@ -1,25 +0,0 @@
1
- (window["webpackJsonp_clickview_library_editor"] = window["webpackJsonp_clickview_library_editor"] || []).push([[63],{
2
-
3
- /***/ "./src/apps/default/views/not-found/NotFound.handlebars":
4
- /***/ (function(module, exports, __webpack_require__) {
5
-
6
- eval("var Handlebars = __webpack_require__(\"handlebars\");\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"compiler\":[8,\">= 4.3.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable, alias2=container.lambda, alias3=container.escapeExpression, alias4=depth0 != null ? depth0 : (container.nullContext || {}), alias5=container.hooks.helperMissing;\n\n return \"<div class=\\\"\"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.illoContainer : stack1), depth0))\n + \"\\\">\\r\\n <div class=\\\"\"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.lunaHead : stack1), depth0))\n + \"\\\"><img width=\\\"86px\\\" height=\\\"110px\\\" src=\\\"/images/errors/not-found/luna-head@2x.png\\\"></div>\\r\\n <div class=\\\"\"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.head : stack1), depth0))\n + \"\\\"><img width=\\\"134px\\\" height=\\\"138px\\\" src=\\\"/images/errors/not-found/head@2x.png\\\"></div>\\r\\n <div class=\\\"\"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.body : stack1), depth0))\n + \"\\\"><img width=\\\"241px\\\" height=\\\"229px\\\" src=\\\"/images/errors/not-found/back@2x.png\\\"></div>\\r\\n</div>\\r\\n<h4 class=\\\"mt-3 text-muted\\\">\"\n + alias3((helpers.lang||(depth0 && depth0.lang)||alias5).call(alias4,\"pageNotFound\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</h4>\\r\\n<p>\"\n + ((stack1 = (helpers.lang||(depth0 && depth0.lang)||alias5).call(alias4,\"takeMeBack\",{\"name\":\"lang\",\"hash\":{\"classNames\":((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.linkClasses : stack1)},\"data\":data})) != null ? stack1 : \"\")\n + \"</p>\";\n},\"useData\":true});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvYXBwcy9kZWZhdWx0L3ZpZXdzL25vdC1mb3VuZC9Ob3RGb3VuZC5oYW5kbGViYXJzLmpzIiwic291cmNlcyI6WyJmaWxlOi8vQzovQ2xpY2tWaWV3IFByb2plY3RzL0BjbGlja3ZpZXcvcGFja2FnZXMvcHJvamVjdHMvbGlicmFyeS1lZGl0b3Ivc3JjL2FwcHMvZGVmYXVsdC92aWV3cy9ub3QtZm91bmQvTm90Rm91bmQuaGFuZGxlYmFycyJdLCJzb3VyY2VzQ29udGVudCI6WyJ2YXIgSGFuZGxlYmFycyA9IHJlcXVpcmUoJ2hhbmRsZWJhcnMnKTtcbm1vZHVsZS5leHBvcnRzID0gKEhhbmRsZWJhcnNbJ2RlZmF1bHQnXSB8fCBIYW5kbGViYXJzKS50ZW1wbGF0ZSh7XCJjb21waWxlclwiOls4LFwiPj0gNC4zLjBcIl0sXCJtYWluXCI6ZnVuY3Rpb24oY29udGFpbmVyLGRlcHRoMCxoZWxwZXJzLHBhcnRpYWxzLGRhdGEpIHtcbiAgICB2YXIgc3RhY2sxLCBhbGlhczE9Y29udGFpbmVyLnByb3BlcnR5SXNFbnVtZXJhYmxlLCBhbGlhczI9Y29udGFpbmVyLmxhbWJkYSwgYWxpYXMzPWNvbnRhaW5lci5lc2NhcGVFeHByZXNzaW9uLCBhbGlhczQ9ZGVwdGgwICE9IG51bGwgP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9wdGlvbnMgOiBkZXB0aDApKSAhPSBudWxsID8gc3RhY2sxLmxpbmtDbGFzc2VzIDogc3RhY2sxKX0sXCJkYXRhXCI6ZGF0YX0pKSAhPSBudWxsID8gc3RhY2sxIDogXCJcIilcbiAgICArIFwiPC9wPlwiO1xufSxcInVzZURhdGFcIjp0cnVlfSk7Il0sIm1hcHBpbmdzIjoiQUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./src/apps/default/views/not-found/NotFound.handlebars\n");
7
-
8
- /***/ }),
9
-
10
- /***/ "./src/apps/default/views/not-found/NotFoundView.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__, \"NotFoundView\", function() { return NotFoundView; });\n/* harmony import */ var libs_common_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\"../../libs/common/src/backbone/index.ts\");\n/* harmony import */ var shared_constants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\"./src/shared/constants/index.ts\");\n/* harmony import */ var _NotFound_handlebars__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\"./src/apps/default/views/not-found/NotFound.handlebars\");\n/* harmony import */ var _NotFound_handlebars__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_NotFound_handlebars__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _not_found_scss__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\"./src/apps/default/views/not-found/not-found.scss\");\n/* harmony import */ var _not_found_scss__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_not_found_scss__WEBPACK_IMPORTED_MODULE_3__);\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }\n\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\n\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\n\n\n\n\nvar NotFoundView = /*#__PURE__*/function (_Core$View) {\n _inherits(NotFoundView, _Core$View);\n\n var _super = _createSuper(NotFoundView);\n\n function NotFoundView() {\n _classCallCheck(this, NotFoundView);\n\n return _super.apply(this, arguments);\n }\n\n _createClass(NotFoundView, [{\n key: \"name\",\n get: function get() {\n return 'NotFoundView';\n }\n }, {\n key: \"title\",\n get: function get() {\n return false;\n }\n }, {\n key: \"lang\",\n get: function get() {\n return 'default.notFound';\n }\n }, {\n key: \"template\",\n get: function get() {\n return _NotFound_handlebars__WEBPACK_IMPORTED_MODULE_2___default.a;\n }\n }, {\n key: \"appLinks\",\n get: function get() {\n return {\n '.applink-home': {\n application: shared_constants__WEBPACK_IMPORTED_MODULE_1__[\"AppChannels\"].DEFAULT,\n action: shared_constants__WEBPACK_IMPORTED_MODULE_1__[\"Actions\"].Default.HOME\n }\n };\n }\n }, {\n key: \"className\",\n get: function get() {\n return 'bg-white p-5 text-center';\n }\n }, {\n key: \"viewOptions\",\n value: function viewOptions() {\n return {\n styles: _not_found_scss__WEBPACK_IMPORTED_MODULE_3___default.a,\n linkClasses: 'applink-home info-link'\n };\n }\n }]);\n\n return NotFoundView;\n}(libs_common_core__WEBPACK_IMPORTED_MODULE_0__[\"Core\"].View);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvYXBwcy9kZWZhdWx0L3ZpZXdzL25vdC1mb3VuZC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ceURL=webpack-internal:///./src/apps/default/views/not-found/NotFoundView.ts\n");
15
-
16
- /***/ }),
17
-
18
- /***/ "./src/apps/default/views/not-found/not-found.scss":
19
- /***/ (function(module, exports, __webpack_require__) {
20
-
21
- eval("// extracted by mini-css-extract-plugin\nmodule.exports = {\"illoContainer\":\"cv--illoContainer--3Eqbe\",\"body\":\"cv--body--39GQb\",\"head\":\"cv--head--PVOtq\",\"lunaHead\":\"cv--lunaHead--3z13a\",\"animate\":\"cv--animate--2FR1z\",\"luna-animate\":\"cv--luna-animate--12szO\",\"lunaTail\":\"cv--lunaTail--1memV\",\"tintinTail\":\"cv--tintinTail--2V4lb\",\"wag-tail-small\":\"cv--wag-tail-small--2atTc\",\"wag-tail\":\"cv--wag-tail--13j3E\"};//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvYXBwcy9kZWZhdWx0L3ZpZXdzL25vdC1mb3VuZC9ub3QtZm91bmQuc2Nzcy5qcyIsInNvdXJjZXMiOlsiZmlsZTovL0M6L0NsaWNrVmlldyBQcm9qZWN0cy9AY2xpY2t2aWV3L3BhY2thZ2VzL3Byb2plY3RzL2xpYnJhcnktZWRpdG9yL3NyYy9hcHBzL2RlZmF1bHQvdmlld3Mvbm90LWZvdW5kL25vdC1mb3VuZC5zY3NzIl0sInNvdXJjZXNDb250ZW50IjpbIi8vIGV4dHJhY3RlZCBieSBtaW5pLWNzcy1leHRyYWN0LXBsdWdpblxubW9kdWxlLmV4cG9ydHMgPSB7XCJpbGxvQ29udGFpbmVyXCI6XCJjdi0taWxsb0NvbnRhaW5lci0tM0VxYmVcIixcImJvZHlcIjpcImN2LS1ib2R5LS0zOUdRYlwiLFwiaGVhZFwiOlwiY3YtLWhlYWQtLVBWT3RxXCIsXCJsdW5hSGVhZFwiOlwiY3YtLWx1bmFIZWFkLS0zejEzYVwiLFwiYW5pbWF0ZVwiOlwiY3YtLWFuaW1hdGUtLTJGUjF6XCIsXCJsdW5hLWFuaW1hdGVcIjpcImN2LS1sdW5hLWFuaW1hdGUtLTEyc3pPXCIsXCJsdW5hVGFpbFwiOlwiY3YtLWx1bmFUYWlsLS0xbWVtVlwiLFwidGludGluVGFpbFwiOlwiY3YtLXRpbnRpblRhaWwtLTJWNGxiXCIsXCJ3YWctdGFpbC1zbWFsbFwiOlwiY3YtLXdhZy10YWlsLXNtYWxsLS0yYXRUY1wiLFwid2FnLXRhaWxcIjpcImN2LS13YWctdGFpbC0tMTNqM0VcIn07Il0sIm1hcHBpbmdzIjoiQUFBQTtBQUNBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./src/apps/default/views/not-found/not-found.scss\n");
22
-
23
- /***/ })
24
-
25
- }]);
@@ -1 +0,0 @@
1
- (window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[64],{1046:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(3),i="libraryEditor.utils",o={name:[{required:!0,msg:function(){return r.a.getPhrase(i,"libraryNameRequired")}},{maxLength:255,msg:function(){return r.a.getPhrase(i,"libraryNameExceeds")}}]}},1296:function(e,t,n){var r=n(10);e.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){e.propertyIsEnumerable;var o=null!=t?t:e.nullContext||{},a=e.hooks.helperMissing,l=e.escapeExpression;return'<form>\r\n <div class="form-group">\r\n <label for="name" class="control-label">'+l((n.lang||t&&t.lang||a).call(o,"libraryName",{name:"lang",hash:{},data:i}))+'</label>\r\n <input name="name" id="name" type="text" class="form-control" placeholder="'+l((n.lang||t&&t.lang||a).call(o,"secondaryLibrary",{name:"lang",hash:{},data:i}))+'" autocomplete="off" autofocus/>\r\n <div class="form-feedback"></div>\r\n </div>\r\n</form>'},useData:!0})},1430:function(e,t,n){"use strict";n.r(t),n.d(t,"RenameLibraryView",(function(){return S}));var r=n(6),i=n(2),o=n(5),a=n(30),l=n(3),u=n(42),c=n(300),s=n(135),f=n(261),y=n(0),b=n(13),h=n(1046),p=n(1296),m=n.n(p);function d(e){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function v(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function g(e,t){return(g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function k(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=O(e);if(t){var i=O(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return w(this,n)}}function w(e,t){return!t||"object"!==d(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function O(e){return(O=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var S=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&g(e,t)}(d,e);var t,n,i,p=k(d);function d(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,d),p.call(this,e)}return t=d,(n=[{key:"initialize",value:function(){this.bindListeners(),this.libraryDataService=o.a.getInstance(y.g.Library,this)}},{key:"bindListeners",value:function(){this.listenTo(y.e.LIBRARY,"libraries:sync",this.render)}},{key:"name",get:function(){return"RenameLibraryView"}},{key:"lang",get:function(){return"libraryEditor.renameLibrary"}},{key:"title",get:function(){return l.a.getPhrase(this.lang,"title")}},{key:"template",get:function(){return m.a}},{key:"channelName",get:function(){return b.k.generateUniqueChannelName(this)}},{key:"behaviors",get:function(){var e=this;return[{behaviorClass:c.a,modelValidation:h.a},{behaviorClass:c.f},{behaviorClass:c.e,title:l.a.getPhrase(this.lang,"edit"),spinnerButtonOptions:{channelName:this.channelName,buttonText:l.a.getPhrase(this.lang,"save"),onClick:function(t){return e.onSubmit(t)}}}]}},{key:"bindings",get:function(){return{"[name=name]":{observe:"name",setOptions:{validate:!0}}}}},{key:"events",value:function(){return{submit:"onSubmit"}}},{key:"onSubmit",value:function(e){e&&e.preventDefault(),this.model.validate(),this.model.isValid()&&(r.Radio.channel(this.channelName).trigger(f.b.ShowSpinner),this.saveLibrary(),this.logAction())}},{key:"logAction",value:function(){var e={id:this.options.libraryId,name:this.model.get("name")};u.a.logUserAction(e,this.options.analyticsOptions)}},{key:"saveLibrary",value:function(){var e=this;this.libraryDataService.updateLibrary(this.model,(function(){e.triggerMethod("hide")}))}},{key:"onBeforeRender",value:function(){var e=this;return this.libraryDataService.getFolderFromLibraries(this.options.libraryId,(function(t){e.model||(e.model=a.a.get("library:".concat(e.options.libraryId),t.toJSON(),{ctor:s.a}))})),!!this.model}}])&&v(t.prototype,n),i&&v(t,i),d}(i.a.View)}}]);
@@ -1 +0,0 @@
1
- (window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[64],{1038:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(3),i="libraryEditor.utils",o={name:[{required:!0,msg:function(){return r.a.getPhrase(i,"libraryNameRequired")}},{maxLength:255,msg:function(){return r.a.getPhrase(i,"libraryNameExceeds")}}]}},1288:function(e,t,n){var r=n(10);e.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){e.propertyIsEnumerable;var o=null!=t?t:e.nullContext||{},a=e.hooks.helperMissing,l=e.escapeExpression;return'<form>\r\n <div class="form-group">\r\n <label for="name" class="control-label">'+l((n.lang||t&&t.lang||a).call(o,"libraryName",{name:"lang",hash:{},data:i}))+'</label>\r\n <input name="name" id="name" type="text" class="form-control" placeholder="'+l((n.lang||t&&t.lang||a).call(o,"secondaryLibrary",{name:"lang",hash:{},data:i}))+'" autocomplete="off" autofocus/>\r\n <div class="form-feedback"></div>\r\n </div>\r\n</form>'},useData:!0})},1422:function(e,t,n){"use strict";n.r(t),n.d(t,"RenameLibraryView",(function(){return S}));var r=n(6),i=n(2),o=n(5),a=n(30),l=n(3),u=n(42),c=n(301),s=n(137),f=n(262),y=n(0),b=n(13),h=n(1038),p=n(1288),m=n.n(p);function d(e){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function v(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function g(e,t){return(g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function k(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=O(e);if(t){var i=O(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return w(this,n)}}function w(e,t){return!t||"object"!==d(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function O(e){return(O=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var S=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&g(e,t)}(d,e);var t,n,i,p=k(d);function d(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,d),p.call(this,e)}return t=d,(n=[{key:"initialize",value:function(){this.bindListeners(),this.libraryDataService=o.a.getInstance(y.g.Library,this)}},{key:"bindListeners",value:function(){this.listenTo(y.e.LIBRARY,"libraries:sync",this.render)}},{key:"name",get:function(){return"RenameLibraryView"}},{key:"lang",get:function(){return"libraryEditor.renameLibrary"}},{key:"title",get:function(){return l.a.getPhrase(this.lang,"title")}},{key:"template",get:function(){return m.a}},{key:"channelName",get:function(){return b.k.generateUniqueChannelName(this)}},{key:"behaviors",get:function(){var e=this;return[{behaviorClass:c.a,modelValidation:h.a},{behaviorClass:c.f},{behaviorClass:c.e,title:l.a.getPhrase(this.lang,"edit"),spinnerButtonOptions:{channelName:this.channelName,buttonText:l.a.getPhrase(this.lang,"save"),onClick:function(t){return e.onSubmit(t)}}}]}},{key:"bindings",get:function(){return{"[name=name]":{observe:"name",setOptions:{validate:!0}}}}},{key:"events",value:function(){return{submit:"onSubmit"}}},{key:"onSubmit",value:function(e){e&&e.preventDefault(),this.model.validate(),this.model.isValid()&&(r.Radio.channel(this.channelName).trigger(f.b.ShowSpinner),this.saveLibrary(),this.logAction())}},{key:"logAction",value:function(){var e={id:this.options.libraryId,name:this.model.get("name")};u.a.logUserAction(e,this.options.analyticsOptions)}},{key:"saveLibrary",value:function(){var e=this;this.libraryDataService.updateLibrary(this.model,(function(){e.triggerMethod("hide")}))}},{key:"onBeforeRender",value:function(){var e=this;return this.libraryDataService.getFolderFromLibraries(this.options.libraryId,(function(t){e.model||(e.model=a.a.get("library:".concat(e.options.libraryId),t.toJSON(),{ctor:s.a}))})),!!this.model}}])&&v(t.prototype,n),i&&v(t,i),d}(i.a.View)}}]);
@@ -1,33 +0,0 @@
1
- (window["webpackJsonp_clickview_library_editor"] = window["webpackJsonp_clickview_library_editor"] || []).push([[64],{
2
-
3
- /***/ "./src/apps/library-editor/views/banner-upload/BannerUpload.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 return \"<div class=\\\"cropper-region\\\"></div>\\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvYXBwcy9saWJyYXJ5LWVkaXRvci92aWV3cy9iYW5uZXItdXBsb2FkL0Jhbm5lclVwbG9hZC5oYnMuanMiLCJzb3VyY2VzIjpbImZpbGU6Ly9DOi9DbGlja1ZpZXcgUHJvamVjdHMvQGNsaWNrdmlldy9wYWNrYWdlcy9wcm9qZWN0cy9saWJyYXJ5LWVkaXRvci9zcmMvYXBwcy9saWJyYXJ5LWVkaXRvci92aWV3cy9iYW5uZXItdXBsb2FkL0Jhbm5lclVwbG9hZC5oYnMiXSwic291cmNlc0NvbnRlbnQiOlsidmFyIEhhbmRsZWJhcnMgPSByZXF1aXJlKCdoYW5kbGViYXJzJyk7XG5tb2R1bGUuZXhwb3J0cyA9IChIYW5kbGViYXJzWydkZWZhdWx0J10gfHwgSGFuZGxlYmFycykudGVtcGxhdGUoe1wiMVwiOmZ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xLCBkYXRhLCAwKSxcImludmVyc2VcIjpjb250YWluZXIucHJvZ3JhbSgzLCBkYXRhLCAwKSxcImRhdGFcIjpkYXRhfSkpICE9IG51bGwgPyBzdGFjazEgOiBcIlwiKTtcbn0sXCJ1c2VEYXRhXCI6dHJ1ZX0pOyJdLCJtYXBwaW5ncyI6IkFBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./src/apps/library-editor/views/banner-upload/BannerUpload.hbs\n");
7
-
8
- /***/ }),
9
-
10
- /***/ "./src/apps/library-editor/views/banner-upload/BannerUploadView.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__, \"BannerUploadView\", function() { return BannerUploadView; });\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 backbone__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\"backbone\");\n/* harmony import */ var backbone__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(backbone__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var libs_common_backbone_services_InstanceManager__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\"../../libs/common/src/backbone/services/InstanceManager.ts\");\n/* harmony import */ var libs_common_core__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\"../../libs/common/src/backbone/index.ts\");\n/* harmony import */ var libs_common_backbone_services_ViewModelService__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(\"../../libs/common/src/backbone/services/ViewModelService.ts\");\n/* harmony import */ var libs_common_backbone_errors_DevError__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(\"../../libs/common/src/backbone/errors/DevError.ts\");\n/* harmony import */ var shared_models_Image__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(\"./src/shared/models/Image.ts\");\n/* harmony import */ var shared_constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(\"./src/shared/constants/index.ts\");\n/* harmony import */ var shared_enums__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(\"./src/shared/enums/index.ts\");\n/* harmony import */ var shared_behaviors__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(\"./src/shared/behaviors/index.ts\");\n/* harmony import */ var shared_utils__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(\"./src/shared/utils/index.ts\");\n/* harmony import */ var shared_components_image_cropper_ImageCropperComponent__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(\"./src/shared/components/image-cropper/ImageCropperComponent.ts\");\n/* harmony import */ var shared_components_spinner_button_SpinnerButtonComponent__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(\"./src/shared/components/spinner-button/SpinnerButtonComponent.ts\");\n/* harmony import */ var libs_common_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(\"../../libs/common/src/backbone/services/LanguageService.tsx\");\n/* harmony import */ var _BannerUpload_hbs__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(\"./src/apps/library-editor/views/banner-upload/BannerUpload.hbs\");\n/* harmony import */ var _BannerUpload_hbs__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(_BannerUpload_hbs__WEBPACK_IMPORTED_MODULE_14__);\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\nvar BannerUploadView = /*#__PURE__*/function (_Core$View) {\n _inherits(BannerUploadView, _Core$View);\n\n var _super = _createSuper(BannerUploadView);\n\n function BannerUploadView(options) {\n _classCallCheck(this, BannerUploadView);\n\n return _super.call(this, options);\n }\n\n _createClass(BannerUploadView, [{\n key: \"initialize\",\n value: function initialize() {\n this.libraryDataService = libs_common_backbone_services_InstanceManager__WEBPACK_IMPORTED_MODULE_2__[\"InstanceManager\"].getInstance(shared_constants__WEBPACK_IMPORTED_MODULE_7__[\"DataServices\"].Library, this);\n this.imageUploadDataService = libs_common_backbone_services_InstanceManager__WEBPACK_IMPORTED_MODULE_2__[\"InstanceManager\"].getInstance(shared_constants__WEBPACK_IMPORTED_MODULE_7__[\"DataServices\"].ImageUpload, this);\n this.viewModel = libs_common_backbone_services_ViewModelService__WEBPACK_IMPORTED_MODULE_4__[\"ViewModelService\"].get('image:storage');\n this.bindListeners();\n this.initImageEl();\n }\n }, {\n key: \"name\",\n get: function get() {\n return 'BannerUploadView';\n }\n }, {\n key: \"title\",\n get: function get() {\n return libs_common_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_13__[\"LanguageService\"].getPhrase(this.lang, 'title');\n }\n }, {\n key: \"lang\",\n get: function get() {\n return 'libraryEditor.bannerUpload';\n }\n }, {\n key: \"template\",\n get: function get() {\n return _BannerUpload_hbs__WEBPACK_IMPORTED_MODULE_14___default.a;\n }\n }, {\n key: \"channelName\",\n get: function get() {\n return shared_utils__WEBPACK_IMPORTED_MODULE_10__[\"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_9__[\"PopupBehavior\"],\n title: libs_common_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_13__[\"LanguageService\"].getPhrase(this.lang, 'resizeAndCrop'),\n size: 'modal-lg',\n spinnerButtonOptions: {\n channelName: this.channelName,\n buttonText: libs_common_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_13__[\"LanguageService\"].getPhrase(this.lang, 'crop'),\n onClick: function onClick() {\n return _this.onClickCrop();\n }\n }\n }];\n }\n }, {\n key: \"regions\",\n value: function regions() {\n return {\n cropper: {\n el: '.cropper-region',\n replaceElement: true\n }\n };\n }\n }, {\n key: \"events\",\n value: function events() {\n /**\r\n * When rendering cropper into a modal,\r\n * it must be initialized after the modal\r\n * has be shown completely.\r\n */\n return {\n 'shown.bs.modal': 'renderCropper'\n };\n }\n }, {\n key: \"bindListeners\",\n value: function bindListeners() {\n var _this2 = this;\n\n this.listenTo(this.channelName, shared_components_image_cropper_ImageCropperComponent__WEBPACK_IMPORTED_MODULE_11__[\"CropEventNames\"].ImageCropped, this.onImageCropped);\n this.listenTo(shared_constants__WEBPACK_IMPORTED_MODULE_7__[\"DataChannels\"].VIDEO, \"\".concat(shared_constants__WEBPACK_IMPORTED_MODULE_7__[\"DataPrefixes\"].FOLDER, \":\").concat(this.options.folderId, \":sync\"), this.render);\n this.listenTo(shared_constants__WEBPACK_IMPORTED_MODULE_7__[\"DataChannels\"].VIDEO, \"\".concat(shared_constants__WEBPACK_IMPORTED_MODULE_7__[\"DataPrefixes\"].UPDATE_FOLDER_BANNER, \":\").concat(this.options.folderId, \":sync\"), function () {\n return _this2.triggerMethod('hide');\n });\n }\n }, {\n key: \"initImageEl\",\n value: function initImageEl() {\n if (!this.viewModel.get('dataUrl')) libs_common_core__WEBPACK_IMPORTED_MODULE_3__[\"Core\"].ErrorHelper.throw(new libs_common_backbone_errors_DevError__WEBPACK_IMPORTED_MODULE_5__[\"DevError\"]('DataUrl must be set on the image:storage ViewModel'));\n this.imageEl = new Image();\n this.imageEl.src = this.viewModel.get('dataUrl');\n this.viewModel.unset('dataUrl');\n }\n }, {\n key: \"getCropRegionWidth\",\n value: function getCropRegionWidth() {\n return this.$el.find('.modal-body').width();\n }\n }, {\n key: \"onClickCrop\",\n value: function onClickCrop() {\n backbone__WEBPACK_IMPORTED_MODULE_1__[\"Radio\"].channel(this.channelName).trigger(shared_components_image_cropper_ImageCropperComponent__WEBPACK_IMPORTED_MODULE_11__[\"CropEventNames\"].CropImage);\n backbone__WEBPACK_IMPORTED_MODULE_1__[\"Radio\"].channel(this.channelName).trigger(shared_components_spinner_button_SpinnerButtonComponent__WEBPACK_IMPORTED_MODULE_12__[\"SpinnerButtonEvents\"].ShowSpinner);\n }\n }, {\n key: \"onImageCropped\",\n value: function onImageCropped(dataUrl) {\n var _this3 = this;\n\n this.imageUploadDataService.uploadBase64Image(dataUrl, shared_enums__WEBPACK_IMPORTED_MODULE_8__[\"ImageType\"].Banners, function (data) {\n return _this3.onImageUploaded(data);\n });\n }\n }, {\n key: \"onImageUploaded\",\n value: function onImageUploaded(imageModel) {\n var _this4 = this;\n\n var callback = function callback() {\n return _this4.triggerMethod('hide');\n };\n\n var data = {\n folderId: this.options.folderId,\n imageModel: imageModel,\n currentImageId: this.model.banner && this.model.banner.id\n };\n this.libraryDataService.addOrUpdateBanner(data, callback);\n }\n }, {\n key: \"renderCropper\",\n value: function renderCropper() {\n var model = new shared_models_Image__WEBPACK_IMPORTED_MODULE_6__[\"Image\"]({\n dataUrl: this.imageEl.src,\n width: this.imageEl.width,\n height: this.imageEl.height\n });\n this.showChildView('cropper', new shared_components_image_cropper_ImageCropperComponent__WEBPACK_IMPORTED_MODULE_11__[\"ImageCropperComponent\"]({\n model: model,\n channelName: this.channelName,\n imageType: shared_enums__WEBPACK_IMPORTED_MODULE_8__[\"ImageType\"].Banners,\n minWidth: shared_constants__WEBPACK_IMPORTED_MODULE_7__[\"ImageMinDimensions\"][shared_enums__WEBPACK_IMPORTED_MODULE_8__[\"ImageType\"].Banners].width,\n minHeight: shared_constants__WEBPACK_IMPORTED_MODULE_7__[\"ImageMinDimensions\"][shared_enums__WEBPACK_IMPORTED_MODULE_8__[\"ImageType\"].Banners].height,\n getCropRegionWidth: underscore__WEBPACK_IMPORTED_MODULE_0__[\"bind\"](this.getCropRegionWidth, this)\n }));\n }\n }, {\n key: \"onBeforeRender\",\n value: function onBeforeRender() {\n this.model = this.libraryDataService.getFolder(this.options.folderId);\n }\n }, {\n key: \"viewOptions\",\n value: function viewOptions() {\n return {\n dataFetched: !!this.model,\n spinnerEl: shared_utils__WEBPACK_IMPORTED_MODULE_10__[\"SpinnerHelper\"].getSpinner({\n size: shared_utils__WEBPACK_IMPORTED_MODULE_10__[\"SpinnerSize\"].Large,\n extraClasses: 'mx-auto'\n })\n };\n }\n }]);\n\n return BannerUploadView;\n}(libs_common_core__WEBPACK_IMPORTED_MODULE_3__[\"Core\"].View);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvYXBwcy9saWJyYXJ5LWVkaXRvci92aWV3cy9iYW5uZXItdXBsb2FkL0Jhbm5lclVwbG9hZFZpZXcudHMuanMiLCJzb3VyY2VzIjpbImZpbGU6Ly9DOi9DbGlja1ZpZXcgUHJvamVjdHMvQGNsaWNrdmlldy9wYWNrYWdlcy9wcm9qZWN0cy9saWJyYXJ5LWVkaXRvci9zcmMvYXBwcy9saWJyYXJ5LWVkaXRvci92aWV3cy9iYW5uZXItdXBsb2FkL0Jhbm5lclVwbG9hZFZpZXcudHMiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0ICogYXMgXyBmcm9tICd1bmRlcnNjb3JlJztcclxuaW1wb3J0IHsgT2JqZWN0SGFzaCwgUmFkaW8gfSBmcm9tICdiYWNrYm9uZSc7XHJcblxyXG5pbXBvcnQgeyBJbnN0YW5jZU1hbmFnZXIgfSBmcm9tICdsaWJzL2NvbW1vbi9iYWNrYm9uZS9zZXJ2aWN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TtBQUFBO0FBRUE7QUFDQTtBQUFBO0FBQUE7QUFDQTtBQWhGQTtBQUFBO0FBQUE7QUFtRkE7QUFHQTtBQUNBO0FBQ0E7QUFDQTtBQXpGQTtBQUFBO0FBQUE7QUE0RkE7QUFDQTtBQTdGQTtBQUFBO0FBQUE7QUFnR0E7QUFDQTtBQUNBO0FBbEdBO0FBQUE7QUFBQTtBQW9HQTtBQUNBO0FBQUE7QUFFQTtBQUFBO0FBRUE7QUF6R0E7QUFBQTtBQUFBO0FBMkdBO0FBQ0E7QUFBQTtBQUFBO0FBQUE7QUFDQTtBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBSEE7QUFLQTtBQUNBO0FBbkhBO0FBQUE7QUFBQTtBQXNIQTtBQUNBO0FBQ0E7QUFDQTtBQUhBO0FBTUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFOQTtBQVFBO0FBcElBO0FBQUE7QUFBQTtBQXVJQTtBQUNBO0FBeElBO0FBQUE7QUFBQTtBQTJJQTtBQUNBO0FBQ0E7QUFBQTtBQUFBO0FBQUE7QUFGQTtBQUlBO0FBL0lBO0FBQ0E7QUFEQTtBQUFBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./src/apps/library-editor/views/banner-upload/BannerUploadView.ts\n");
15
-
16
- /***/ }),
17
-
18
- /***/ "./src/shared/components/image-cropper/ImageCropper.hbs":
19
- /***/ (function(module, exports, __webpack_require__) {
20
-
21
- eval("var Handlebars = __webpack_require__(\"handlebars\");\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"compiler\":[8,\">= 4.3.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n var helper, alias1=container.propertyIsEnumerable;\n\n return \"<img src=\\\"\"\n + container.escapeExpression(((helper = (helper = helpers.dataUrl || (depth0 != null ? depth0.dataUrl : depth0)) != null ? helper : container.hooks.helperMissing),(typeof helper === \"function\" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{\"name\":\"dataUrl\",\"hash\":{},\"data\":data}) : helper)))\n + \"\\\" class=\\\"img img-fluid\\\" />\";\n},\"useData\":true});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvc2hhcmVkL2NvbXBvbmVudHMvaW1hZ2UtY3JvcHBlci9JbWFnZUNyb3BwZXIuaGJzLmpzIiwic291cmNlcyI6WyJmaWxlOi8vQzovQ2xpY2tWaWV3IFByb2plY3RzL0BjbGlja3ZpZXcvcGFja2FnZXMvcHJvamVjdHMvbGlicmFyeS1lZGl0b3Ivc3JjL3NoYXJlZC9jb21wb25lbnRzL2ltYWdlLWNyb3BwZXIvSW1hZ2VDcm9wcGVyLmhicyJdLCJzb3VyY2VzQ29udGVudCI6WyJ2YXIgSGFuZGxlYmFycyA9IHJlcXVpcmUoJ2hhbmRsZWJhcnMnKTtcbm1vZHVsZS5leHBvcnRzID0gKEhhbmRsZWJhcnNbJ2RlZmF1bHQnXSB8fCBIYW5kbGViYXJzKS50ZW1wbGF0ZSh7XCJjb21waWxlclwiOls4LFwiPj0gNC4zLjBcIl0sXCJtYWluXCI6ZnVuY3Rpb24oY29udGFpbmVyLGRlcHRoMCxoZWxwZXJzLHBhcnRpYWxzLGRhdGEpIHtcbiAgICB2YXIgaGVscGVyLCBhbGlhczE9Y29udGFpbmVyLnByb3BlcnR5SXNFbnVtZXJhYmxlO1xuXG4gIHJldHVybiBcIjxpbWcgc3JjPVxcXCJcIlxuICAgICsgY29udGFpbmVyLmVzY2FwZUV4cHJlc3Npb24oKChoZWxwZXIgPSAoaGVscGVyID0gaGVscGVycy5kYXRhVXJsIHx8IChkZXB0aDAgIT0gbnVsbCA/IGRlcHRoMC5kYXRhVXJsIDogZGVwdGgwKSkgIT0gbnVsbCA/IGhlbHBlciA6IGNvbnRhaW5lci5ob29rcy5oZWxwZXJNaXNzaW5nKSwodHlwZW9mIGhlbHBlciA9PT0gXCJmdW5jdGlvblwiID8gaGVscGVyLmNhbGwoZGVwdGgwICE9IG51bGwgPyBkZXB0aDAgOiAoY29udGFpbmVyLm51bGxDb250ZXh0IHx8IHt9KSx7XCJuYW1lXCI6XCJkYXRhVXJsXCIsXCJoYXNoXCI6e30sXCJkYXRhXCI6ZGF0YX0pIDogaGVscGVyKSkpXG4gICAgKyBcIlxcXCIgY2xhc3M9XFxcImltZyBpbWctZmx1aWRcXFwiIC8+XCI7XG59LFwidXNlRGF0YVwiOnRydWV9KTsiXSwibWFwcGluZ3MiOiJBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./src/shared/components/image-cropper/ImageCropper.hbs\n");
22
-
23
- /***/ }),
24
-
25
- /***/ "./src/shared/components/image-cropper/ImageCropperComponent.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__, \"CropEventNames\", function() { return CropEventNames; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ImageCropperComponent\", function() { return ImageCropperComponent; });\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 cropperjs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\"../../../node_modules/cropperjs/dist/cropper.js\");\n/* harmony import */ var cropperjs__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(cropperjs__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _ImageCropper_hbs__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\"./src/shared/components/image-cropper/ImageCropper.hbs\");\n/* harmony import */ var _ImageCropper_hbs__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_ImageCropper_hbs__WEBPACK_IMPORTED_MODULE_3__);\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }\n\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\n\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\n\n\n\n\nvar CropEventNames;\n\n(function (CropEventNames) {\n CropEventNames[\"ClickCrop\"] = \"click:crop\";\n CropEventNames[\"CropImage\"] = \"crop:image\";\n CropEventNames[\"ImageCropped\"] = \"image:cropped\";\n})(CropEventNames || (CropEventNames = {}));\n\nvar ImageCropperComponent = /*#__PURE__*/function (_Core$Component) {\n _inherits(ImageCropperComponent, _Core$Component);\n\n var _super = _createSuper(ImageCropperComponent);\n\n function ImageCropperComponent(options) {\n _classCallCheck(this, ImageCropperComponent);\n\n return _super.call(this, options);\n }\n\n _createClass(ImageCropperComponent, [{\n key: \"initialize\",\n value: function initialize() {\n this.listenTo(this.options.channelName, CropEventNames.CropImage, this.crop);\n }\n }, {\n key: \"name\",\n get: function get() {\n return 'ImageCropperComponent';\n }\n }, {\n key: \"template\",\n get: function get() {\n return _ImageCropper_hbs__WEBPACK_IMPORTED_MODULE_3___default.a;\n }\n }, {\n key: \"className\",\n get: function get() {\n return 'text-center';\n }\n }, {\n key: \"elements\",\n get: function get() {\n return {\n image: '.img'\n };\n }\n }, {\n key: \"getMinCropBoxWidth\",\n value: function getMinCropBoxWidth() {\n return this.options.minWidth * this.getViewportToImageRatio();\n }\n }, {\n key: \"getMinCropBoxHeight\",\n value: function getMinCropBoxHeight() {\n return this.options.minHeight * this.getViewportToImageRatio();\n }\n }, {\n key: \"getViewportToImageRatio\",\n value: function getViewportToImageRatio() {\n return this.options.getCropRegionWidth() / this.model.get('width');\n }\n }, {\n key: \"crop\",\n value: function crop() {\n var dataUrl = this.cropper.getCroppedCanvas().toDataURL(this.getImageMimeType());\n backbone__WEBPACK_IMPORTED_MODULE_0__[\"Radio\"].channel(this.options.channelName).trigger(CropEventNames.ImageCropped, dataUrl);\n }\n }, {\n key: \"getImageMimeType\",\n value: function getImageMimeType() {\n var dataUrl = this.model.get('dataUrl');\n var mime = dataUrl.match(/data:([a-zA-Z0-9]+\\/[a-zA-Z0-9-.+]+).*,.*/);\n if (!mime) return;\n return mime[1];\n }\n }, {\n key: \"renderCropper\",\n value: function renderCropper() {\n this.getMinCropBoxWidth();\n var image = this.getUI('image').get(0);\n this.cropper = new cropperjs__WEBPACK_IMPORTED_MODULE_2___default.a(image, {\n viewMode: 1,\n aspectRatio: this.options.minWidth / this.options.minHeight,\n minCropBoxWidth: this.getMinCropBoxWidth(),\n minCropBoxHeight: this.getMinCropBoxHeight(),\n autoCropArea: 1\n });\n }\n }, {\n key: \"onRender\",\n value: function onRender() {\n this.renderCropper();\n }\n }, {\n key: \"onBeforeDestroy\",\n value: function onBeforeDestroy() {\n this.cropper.destroy();\n }\n }]);\n\n return ImageCropperComponent;\n}(libs_common_core__WEBPACK_IMPORTED_MODULE_1__[\"Core\"].Component);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvc2hhcmVkL2NvbXBvbmVudHMvaW1hZ2UtY3JvcHBlci9JbWFnZUNyb3BwZXJDb21wb25lbnQudHMuanMiLCJzb3VyY2VzIjpbImZpbGU6Ly9DOi9DbGlja1ZpZXcgUHJvamVjdHMvQGNsaWNrdmlldy9wYWNrYWdlcy9wcm9qZWN0cy9saW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CQTtBQUNBO0FBREE7QUFHQTtBQTVCQTtBQUFBO0FBQUE7QUErQkE7QUFDQTtBQWhDQTtBQUFBO0FBQUE7QUFtQ0E7QUFDQTtBQXBDQTtBQUFBO0FBQUE7QUF1Q0E7QUFDQTtBQXhDQTtBQUFBO0FBQUE7QUEyQ0E7QUFDQTtBQUNBO0FBN0NBO0FBQUE7QUFBQTtBQWdEQTtBQUVBO0FBRUE7QUFFQTtBQUNBO0FBdkRBO0FBQUE7QUFBQTtBQTBEQTtBQUNBO0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBTEE7QUFPQTtBQXBFQTtBQUFBO0FBQUE7QUF1RUE7QUFDQTtBQXhFQTtBQUFBO0FBQUE7QUEyRUE7QUFDQTtBQTVFQTtBQUNBO0FBREE7QUFBQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./src/shared/components/image-cropper/ImageCropperComponent.ts\n");
30
-
31
- /***/ })
32
-
33
- }]);
@@ -1 +0,0 @@
1
- (window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[65],{1095:function(t,e,n){"use strict";var r=n(199),o=n(1),i=n(197),c=n(0),u=n(142),a=n(303);function l(t){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function s(t){return function(t){if(Array.isArray(t))return f(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return f(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return f(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function y(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function p(t,e){return(p=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function h(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=b(t);if(e){var o=b(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return d(this,n)}}function d(t,e){return!e||"object"!==l(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function b(t){return(b=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var m=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&p(t,e)}(l,t);var e,n,r,i=h(l);function l(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,l),(e=i.call(this,{collectionPrefix:"".concat(c.f.RECENT_VIDEOS,":collection"),cursor:t.cursor,sort:t.sort})).setAdditionalData(t),e}return e=l,(n=[{key:"setAdditionalData",value:function(t){var e=t.libraryIds,n=t.dateQueryString,r=t.subjects;e&&(this.libraryIds=e),r&&(o.isArray(r)&&r.length&&(this.subjects=r),o.isArray(r)||(this.subjects=[r]));var i=o.findWhere(a.g,{queryString:n})||a.e;this.dateOption=new u.b(i)}},{key:"toString",value:function(){var t=this.subjects&&this.subjects.length&&this.subjects.map((function(t){return escape(t.get("name"))}))||[];return[this.collectionPrefix,this.libraryIds,this.dateOption.get("from"),this.dateOption.get("to")].concat(s(t),[this.cursor]).filter(Boolean).join(":")}},{key:"toParams",value:function(){var t={};return this.libraryIds&&(t.libraryIds=this.libraryIds),this.dateOption&&(t.from=this.dateOption.get("from"),t.to=this.dateOption.get("to")),this.subjects&&(t.subjectIds=o.flatten(this.subjects.map((function(t){return t.get("subjectIds")})))),this.cursor&&(t.cursor=this.cursor),t}}])&&y(e.prototype,n),r&&y(e,r),l}(i.a);function v(t){return(v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function g(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function O(t,e){return(O=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function w(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=_(t);if(e){var o=_(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return S(this,n)}}function S(t,e){return!e||"object"!==v(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function _(t){return(_=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var j=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&O(t,e)}(l,t);var e,n,r,i=w(l);function l(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,l),(e=i.call(this,{collectionPrefix:"".concat(c.f.RECENT_SUBJECTS,":collection"),sort:t.sort})).setAdditionalData(t),e}return e=l,(n=[{key:"setAdditionalData",value:function(t){var e=t.libraryIds,n=t.dateQueryString;e&&(this.libraryIds=e);var r=o.findWhere(a.g,{queryString:n})||a.e;this.dateOption=new u.b(r)}},{key:"toString",value:function(){return[this.collectionPrefix,this.libraryIds,this.dateOption.get("from"),this.dateOption.get("to")].filter(Boolean).join(":")}},{key:"toParams",value:function(){var t={};return this.libraryIds&&(t.libraryIds=this.libraryIds),this.dateOption&&(t.from=this.dateOption.get("from"),t.to=this.dateOption.get("to")),t}}])&&g(e.prototype,n),r&&g(e,r),l}(i.a);function R(t){return(R="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function P(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function I(t,e){return(I=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function k(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=D(t);if(e){var o=D(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return E(this,n)}}function E(t,e){return!e||"object"!==R(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function D(t){return(D=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var A=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&I(t,e)}(n,t);var e=k(n);function n(t,r){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return P(this,n),e.call(this,{collectionPrefix:c.f.LIBRARY_FOLDERS,id:t,sort:r,cursor:o})}return n}(i.a);n.d(e,"d",(function(){return r.a})),n.d(e,"b",(function(){return m})),n.d(e,"c",(function(){return j})),n.d(e,"a",(function(){return A}))},1235:function(t,e,n){var r=n(10);t.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,r,o){var i;t.propertyIsEnumerable;return null!=(i=(n.lang||e&&e.lang||t.hooks.helperMissing).call(null!=e?e:t.nullContext||{},"check",{name:"lang",hash:{name:null!=e?e.name:e},data:o}))?i:""},useData:!0})},1425:function(t,e,n){"use strict";n.r(e),n.d(e,"DeleteFolderView",(function(){return S}));var r=n(6),o=n(5),i=n(2),c=n(42),u=n(0),a=n(301),l=n(13),s=n(262),f=n(1095),y=n(3),p=n(201),h=n(1235),d=n.n(h);function b(t){return(b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function m(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function v(t,e){return(v=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function g(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=w(t);if(e){var o=w(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return O(this,n)}}function O(t,e){return!e||"object"!==b(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function w(t){return(w=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var S=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&v(t,e)}(O,t);var e,n,h,b=g(O);function O(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,O),b.call(this,t)}return e=O,(n=[{key:"initialize",value:function(){this.listenTo(u.e.LIBRARY,"libraries:sync",this.render),this.collectionIdentifier=new f.d(this.options.folderId,l.q.GetCurrentSortType()),this.listenTo(u.e.VIDEO,"".concat(this.collectionIdentifier,":sync"),this.render),this.libraryDataService=o.a.getInstance(u.g.Library,this),this.videoDataService=o.a.getInstance(u.g.Video,this)}},{key:"name",get:function(){return"DeleteFolderView"}},{key:"title",get:function(){return!!this.model&&y.a.getPhrase(this.lang,"title",{folderName:this.model.get("name")})}},{key:"lang",get:function(){return"libraryEditor.deleteFolder"}},{key:"template",get:function(){return d.a}},{key:"channelName",get:function(){return l.k.generateUniqueChannelName(this)}},{key:"behaviors",get:function(){var t=this;return[{behaviorClass:a.e,title:y.a.getPhrase(this.lang,"removeFolder"),spinnerButtonOptions:{channelName:this.channelName,buttonText:y.a.getPhrase(this.lang,"remove"),extraButtonClass:"btn-danger",onClick:function(e){return t.onClickDelete(e)}}}]}},{key:"getParentId",value:function(){if(l.f.isSubFolder(this.model)&&this.model&&this.model.collection&&this.model.collection.parent&&this.model.collection.parent instanceof i.a.Model)return this.model.collection.parent.get("id");var t=l.f.getLibrary(this.model.get("id"),this.model.collection);return t&&t.id||null}},{key:"onClickDelete",value:function(t){t&&t.preventDefault(),r.Radio.channel(this.channelName).trigger(s.b.ShowSpinner);var e=this.getParentId(),n=l.f.isSubFolder(this.model)?u.a.LibraryEditor.FOLDER:u.a.LibraryEditor.LIBRARY;this.libraryDataService.deleteFolder(this.options.folderId,(function(){i.a.AppLinkHelper.trigger({application:u.b.LIBRARY_EDITOR,action:n,args:[e]},{replace:!0})})),this.logAction()}},{key:"logAction",value:function(){var t={id:this.options.folderId,name:this.model.get("name")};c.a.logUserAction(t,this.options.analyticsOptions)}},{key:"canDelete",value:function(){return!(this.model.children&&this.model.children.length||this.videos&&this.videos.length)}},{key:"onBeforeRender",value:function(){var t=this;return this.libraryDataService.getFolderFromLibraries(this.options.folderId,(function(e){t.model=e})),this.videos=this.videoDataService.getCollectionVideos(this.collectionIdentifier),!(!this.model||!this.videos||!this.canDelete()&&(window.setTimeout((function(){t.triggerMethod("hide"),i.a.ErrorHelper.throw(new p.c)}),u.s.POPUP_FADE_TIMEOUT),1))}}])&&m(e.prototype,n),h&&m(e,h),O}(i.a.View)}}]);
@@ -1 +0,0 @@
1
- (window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[65],{1086:function(t,e,n){"use strict";var r=n(199),o=n(1),i=n(197),c=n(0),u=n(144),a=n(303);function l(t){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function s(t){return function(t){if(Array.isArray(t))return f(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return f(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return f(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function y(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function p(t,e){return(p=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function h(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=b(t);if(e){var o=b(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return d(this,n)}}function d(t,e){return!e||"object"!==l(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function b(t){return(b=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var m=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&p(t,e)}(l,t);var e,n,r,i=h(l);function l(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,l),(e=i.call(this,{collectionPrefix:"".concat(c.f.RECENT_VIDEOS,":collection"),cursor:t.cursor,sort:t.sort})).setAdditionalData(t),e}return e=l,(n=[{key:"setAdditionalData",value:function(t){var e=t.libraryIds,n=t.dateQueryString,r=t.subjects;e&&(this.libraryIds=e),r&&(o.isArray(r)&&r.length&&(this.subjects=r),o.isArray(r)||(this.subjects=[r]));var i=o.findWhere(a.g,{queryString:n})||a.e;this.dateOption=new u.b(i)}},{key:"toString",value:function(){var t=this.subjects&&this.subjects.length&&this.subjects.map((function(t){return escape(t.get("name"))}))||[];return[this.collectionPrefix,this.libraryIds,this.dateOption.get("from"),this.dateOption.get("to")].concat(s(t),[this.cursor]).filter(Boolean).join(":")}},{key:"toParams",value:function(){var t={};return this.libraryIds&&(t.libraryIds=this.libraryIds),this.dateOption&&(t.from=this.dateOption.get("from"),t.to=this.dateOption.get("to")),this.subjects&&(t.subjectIds=o.flatten(this.subjects.map((function(t){return t.get("subjectIds")})))),this.cursor&&(t.cursor=this.cursor),t}}])&&y(e.prototype,n),r&&y(e,r),l}(i.a);function v(t){return(v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function g(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function O(t,e){return(O=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function w(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=_(t);if(e){var o=_(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return S(this,n)}}function S(t,e){return!e||"object"!==v(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function _(t){return(_=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var j=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&O(t,e)}(l,t);var e,n,r,i=w(l);function l(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,l),(e=i.call(this,{collectionPrefix:"".concat(c.f.RECENT_SUBJECTS,":collection"),sort:t.sort})).setAdditionalData(t),e}return e=l,(n=[{key:"setAdditionalData",value:function(t){var e=t.libraryIds,n=t.dateQueryString;e&&(this.libraryIds=e);var r=o.findWhere(a.g,{queryString:n})||a.e;this.dateOption=new u.b(r)}},{key:"toString",value:function(){return[this.collectionPrefix,this.libraryIds,this.dateOption.get("from"),this.dateOption.get("to")].filter(Boolean).join(":")}},{key:"toParams",value:function(){var t={};return this.libraryIds&&(t.libraryIds=this.libraryIds),this.dateOption&&(t.from=this.dateOption.get("from"),t.to=this.dateOption.get("to")),t}}])&&g(e.prototype,n),r&&g(e,r),l}(i.a);function R(t){return(R="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function P(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function I(t,e){return(I=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function k(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=D(t);if(e){var o=D(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return E(this,n)}}function E(t,e){return!e||"object"!==R(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function D(t){return(D=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var A=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&I(t,e)}(n,t);var e=k(n);function n(t,r){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return P(this,n),e.call(this,{collectionPrefix:c.f.LIBRARY_FOLDERS,id:t,sort:r,cursor:o})}return n}(i.a);n.d(e,"d",(function(){return r.a})),n.d(e,"b",(function(){return m})),n.d(e,"c",(function(){return j})),n.d(e,"a",(function(){return A}))},1226:function(t,e,n){var r=n(10);t.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,r,o){var i;t.propertyIsEnumerable;return null!=(i=(n.lang||e&&e.lang||t.hooks.helperMissing).call(null!=e?e:t.nullContext||{},"check",{name:"lang",hash:{name:null!=e?e.name:e},data:o}))?i:""},useData:!0})},1416:function(t,e,n){"use strict";n.r(e),n.d(e,"DeleteFolderView",(function(){return S}));var r=n(6),o=n(5),i=n(2),c=n(42),u=n(0),a=n(301),l=n(13),s=n(262),f=n(1086),y=n(3),p=n(201),h=n(1226),d=n.n(h);function b(t){return(b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function m(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function v(t,e){return(v=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function g(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=w(t);if(e){var o=w(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return O(this,n)}}function O(t,e){return!e||"object"!==b(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function w(t){return(w=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var S=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&v(t,e)}(O,t);var e,n,h,b=g(O);function O(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,O),b.call(this,t)}return e=O,(n=[{key:"initialize",value:function(){this.listenTo(u.e.LIBRARY,"libraries:sync",this.render),this.collectionIdentifier=new f.d(this.options.folderId,l.q.GetCurrentSortType()),this.listenTo(u.e.VIDEO,"".concat(this.collectionIdentifier,":sync"),this.render),this.libraryDataService=o.a.getInstance(u.g.Library,this),this.videoDataService=o.a.getInstance(u.g.Video,this)}},{key:"name",get:function(){return"DeleteFolderView"}},{key:"title",get:function(){return!!this.model&&y.a.getPhrase(this.lang,"title",{folderName:this.model.get("name")})}},{key:"lang",get:function(){return"libraryEditor.deleteFolder"}},{key:"template",get:function(){return d.a}},{key:"channelName",get:function(){return l.k.generateUniqueChannelName(this)}},{key:"behaviors",get:function(){var t=this;return[{behaviorClass:a.e,title:y.a.getPhrase(this.lang,"removeFolder"),spinnerButtonOptions:{channelName:this.channelName,buttonText:y.a.getPhrase(this.lang,"remove"),extraButtonClass:"btn-danger",onClick:function(e){return t.onClickDelete(e)}}}]}},{key:"getParentId",value:function(){if(l.f.isSubFolder(this.model)&&this.model&&this.model.collection&&this.model.collection.parent&&this.model.collection.parent instanceof i.a.Model)return this.model.collection.parent.get("id");var t=l.f.getLibrary(this.model.get("id"),this.model.collection);return t&&t.id||null}},{key:"onClickDelete",value:function(t){t&&t.preventDefault(),r.Radio.channel(this.channelName).trigger(s.b.ShowSpinner);var e=this.getParentId(),n=l.f.isSubFolder(this.model)?u.a.LibraryEditor.FOLDER:u.a.LibraryEditor.LIBRARY;this.libraryDataService.deleteFolder(this.options.folderId,(function(){i.a.AppLinkHelper.trigger({application:u.b.LIBRARY_EDITOR,action:n,args:[e]},{replace:!0})})),this.logAction()}},{key:"logAction",value:function(){var t={id:this.options.folderId,name:this.model.get("name")};c.a.logUserAction(t,this.options.analyticsOptions)}},{key:"canDelete",value:function(){return!(this.model.children&&this.model.children.length||this.videos&&this.videos.length)}},{key:"onBeforeRender",value:function(){var t=this;return this.libraryDataService.getFolderFromLibraries(this.options.folderId,(function(e){t.model=e})),this.videos=this.videoDataService.getCollectionVideos(this.collectionIdentifier),!(!this.model||!this.videos||!this.canDelete()&&(window.setTimeout((function(){t.triggerMethod("hide"),i.a.ErrorHelper.throw(new p.c)}),u.s.POPUP_FADE_TIMEOUT),1))}}])&&m(e.prototype,n),h&&m(e,h),O}(i.a.View)}}]);