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

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 (596) hide show
  1. package/dist/css/1.chunk.css.map +1 -0
  2. package/dist/css/10.chunk.css.map +1 -0
  3. package/dist/css/11.chunk.css +137 -0
  4. package/dist/css/11.chunk.css.map +1 -0
  5. package/dist/css/12.chunk.css.map +1 -0
  6. package/dist/css/13.chunk.css.map +1 -0
  7. package/dist/css/14.chunk.css.map +1 -0
  8. package/dist/css/16.chunk.css.map +1 -0
  9. package/dist/css/17.chunk.css.map +1 -0
  10. package/dist/css/18.chunk.css +20 -0
  11. package/dist/css/18.chunk.css.map +1 -0
  12. package/dist/css/2.chunk.css +145 -0
  13. package/dist/css/2.chunk.css.map +1 -0
  14. package/dist/css/21.chunk.css.map +1 -0
  15. package/dist/css/22.chunk.css.map +1 -0
  16. package/dist/css/23.chunk.css.map +1 -0
  17. package/dist/css/25.chunk.css.map +1 -0
  18. package/dist/css/26.chunk.css.map +1 -0
  19. package/dist/css/28.chunk.css.map +1 -0
  20. package/dist/css/29.chunk.css.map +1 -0
  21. package/dist/css/3.chunk.css.map +1 -0
  22. package/dist/css/30.chunk.css.map +1 -0
  23. package/dist/css/31.chunk.css.map +1 -0
  24. package/dist/css/32.chunk.css.map +1 -0
  25. package/dist/css/33.chunk.css.map +1 -0
  26. package/dist/css/34.chunk.css +21 -0
  27. package/dist/css/34.chunk.css.map +1 -0
  28. package/dist/css/35.chunk.css +20 -0
  29. package/dist/css/35.chunk.css.map +1 -0
  30. package/dist/css/36.chunk.css +14 -0
  31. package/dist/css/36.chunk.css.map +1 -0
  32. package/dist/css/37.chunk.css.map +1 -0
  33. package/dist/css/38.chunk.css.map +1 -0
  34. package/dist/css/40.chunk.css.map +1 -0
  35. package/dist/css/41.chunk.css.map +1 -0
  36. package/dist/css/42.chunk.css.map +1 -0
  37. package/dist/css/43.chunk.css.map +1 -0
  38. package/dist/css/44.chunk.css.map +1 -0
  39. package/dist/css/45.chunk.css.map +1 -0
  40. package/dist/css/46.chunk.css.map +1 -0
  41. package/dist/css/47.chunk.css.map +1 -0
  42. package/dist/css/48.chunk.css.map +1 -0
  43. package/dist/css/49.chunk.css +35 -0
  44. package/dist/css/49.chunk.css.map +1 -0
  45. package/dist/css/50.chunk.css.map +1 -0
  46. package/dist/css/51.chunk.css.map +1 -0
  47. package/dist/css/52.chunk.css +66 -0
  48. package/dist/css/52.chunk.css.map +1 -0
  49. package/dist/css/55.chunk.css.map +1 -0
  50. package/dist/css/56.chunk.css.map +1 -0
  51. package/dist/css/58.chunk.css.map +1 -0
  52. package/dist/css/59.chunk.css.map +1 -0
  53. package/dist/css/6.chunk.css.map +1 -0
  54. package/dist/css/60.chunk.css +18 -0
  55. package/dist/css/60.chunk.css.map +1 -0
  56. package/dist/css/62.chunk.css.map +1 -0
  57. package/dist/css/63.chunk.css +170 -0
  58. package/dist/css/63.chunk.css.map +1 -0
  59. package/dist/css/67.chunk.css +78 -0
  60. package/dist/css/67.chunk.css.map +1 -0
  61. package/dist/css/68.chunk.css +17 -0
  62. package/dist/css/68.chunk.css.map +1 -0
  63. package/dist/css/69.chunk.css +17 -0
  64. package/dist/css/69.chunk.css.map +1 -0
  65. package/dist/css/7.chunk.css.map +1 -0
  66. package/dist/css/70.chunk.css +23 -0
  67. package/dist/css/70.chunk.css.map +1 -0
  68. package/dist/css/71.chunk.css +40 -0
  69. package/dist/css/71.chunk.css.map +1 -0
  70. package/dist/css/72.chunk.css +16 -0
  71. package/dist/css/72.chunk.css.map +1 -0
  72. package/dist/css/73.chunk.css +37 -0
  73. package/dist/css/73.chunk.css.map +1 -0
  74. package/dist/css/74.chunk.css +29 -0
  75. package/dist/css/74.chunk.css.map +1 -0
  76. package/dist/css/75.chunk.css +6 -0
  77. package/dist/css/75.chunk.css.map +1 -0
  78. package/dist/css/76.chunk.css +6 -0
  79. package/dist/css/76.chunk.css.map +1 -0
  80. package/dist/css/8.chunk.css.map +1 -0
  81. package/dist/css/library-editor-app.css.map +1 -0
  82. package/dist/libs/common/src/react/flight/enums/RequestStatus.d.ts +6 -0
  83. package/dist/libs/common/src/react/flight/enums/index.d.ts +1 -0
  84. package/dist/libs/common/src/react/flight/interfaces/FlightState.d.ts +22 -0
  85. package/dist/libs/common/src/react/flight/interfaces/NormalizeOptions.d.ts +4 -0
  86. package/dist/libs/common/src/react/flight/interfaces/Request.d.ts +29 -0
  87. package/dist/libs/common/src/react/flight/interfaces/UpdateStateOptions.d.ts +15 -0
  88. package/dist/libs/common/src/react/interfaces/ApplicationData.d.ts +3 -0
  89. package/dist/libs/common/src/react/interfaces/ApplicationState.d.ts +8 -0
  90. package/dist/libs/common/src/react/interfaces/BaseReducerActions.d.ts +4 -0
  91. package/dist/libs/common/src/react/interfaces/index.d.ts +4 -0
  92. package/dist/libs/shared/src/enums/MasterObjectTypes.d.ts +8 -0
  93. package/dist/libs/shared/src/enums/ObjectOwnerType.d.ts +4 -0
  94. package/dist/libs/shared/src/enums/UploadInteractionType.d.ts +4 -0
  95. package/dist/libs/shared/src/interfaces/collections/SubtitleCollection.d.ts +3 -0
  96. package/dist/libs/shared/src/interfaces/models/FileUpload.d.ts +20 -0
  97. package/dist/libs/shared/src/interfaces/models/Language.d.ts +4 -0
  98. package/dist/libs/shared/src/interfaces/models/Pdf.d.ts +4 -0
  99. package/dist/libs/shared/src/interfaces/models/Subtitle.d.ts +7 -0
  100. package/dist/libs/shared/src/interfaces/requests/UpdateObjectChannel.d.ts +3 -0
  101. package/dist/libs/shared/src/interfaces/requests/UpdateObjectRating.d.ts +3 -0
  102. package/dist/libs/shared/src/interfaces/requests/UpdateResourceRequest.d.ts +3 -0
  103. package/dist/libs/shared/src/interfaces/services/BaseConfigDataService.d.ts +5 -0
  104. package/dist/libs/shared/src/legacy/behaviors/file-drop/FileDropBehavior.d.ts +19 -0
  105. package/dist/libs/shared/src/legacy/behaviors/file-drop/FileDropHelper.d.ts +4 -0
  106. package/dist/libs/shared/src/legacy/behaviors/file-drop/FileDropMaskBehavior.d.ts +19 -0
  107. package/dist/libs/shared/src/legacy/behaviors/file-select/FileSelectBehavior.d.ts +16 -0
  108. package/dist/libs/shared/src/legacy/components/file-select/FileSelectComponent.d.ts +29 -0
  109. package/dist/libs/shared/src/legacy/components/file-uploads/FileUploadComponent.d.ts +15 -0
  110. package/dist/libs/shared/src/legacy/components/resource-item/ResourceItemComponent.d.ts +22 -0
  111. package/dist/libs/shared/src/legacy/components/subtitle-item/SubtitleItemComponent.d.ts +17 -0
  112. package/dist/libs/shared/src/legacy/errors/too-many-files/TooManyFilesError.d.ts +7 -0
  113. package/dist/libs/shared/src/legacy/errors/too-many-resources/TooManyResourcesError.d.ts +8 -0
  114. package/dist/libs/shared/src/legacy/errors/too-many-subtitles/TooManySubtitlesError.d.ts +8 -0
  115. package/dist/libs/shared/src/utils/SubtitleHelper.d.ts +9 -0
  116. package/dist/libs/shared/src/utils/VideoDetailsHelper.d.ts +21 -0
  117. package/dist/scripts/0-1c2bb7e28a.chunk.js +1 -0
  118. package/dist/scripts/0-1dbc79e4e7.chunk.js +1 -0
  119. package/dist/scripts/0-93276429bf.chunk.js +1 -0
  120. package/dist/scripts/0.chunk.js +1039 -0
  121. package/dist/scripts/0.chunk.js.map +1 -0
  122. package/dist/scripts/1-480e5932a6.chunk.js +1 -0
  123. package/dist/scripts/1-6051b28de6.chunk.js +1 -0
  124. package/dist/scripts/1-b85c11fc30.chunk.js +1 -0
  125. package/dist/scripts/1.chunk.js +442 -0
  126. package/dist/scripts/1.chunk.js.map +1 -0
  127. package/dist/scripts/10-3ff370d548.chunk.js +1 -0
  128. package/dist/scripts/10-923c4b075a.chunk.js +1 -0
  129. package/dist/scripts/10-e2fea45a6c.chunk.js +1 -0
  130. package/dist/scripts/10.chunk.js +820 -0
  131. package/dist/scripts/10.chunk.js.map +1 -0
  132. package/dist/scripts/11-3dec7d2c7e.chunk.js +11 -0
  133. package/dist/scripts/11-74bc3f2d9f.chunk.js +11 -0
  134. package/dist/scripts/11.chunk.js +4091 -0
  135. package/dist/scripts/11.chunk.js.map +1 -0
  136. package/dist/scripts/12-07999b80e0.chunk.js +1 -0
  137. package/dist/scripts/12-24bd360be0.chunk.js +1 -0
  138. package/dist/scripts/12-e522e64a94.chunk.js +1 -0
  139. package/dist/scripts/12.chunk.js +555 -0
  140. package/dist/scripts/12.chunk.js.map +1 -0
  141. package/dist/scripts/13-081c0e5887.chunk.js +1 -0
  142. package/dist/scripts/13-54fe4fe53b.chunk.js +1 -0
  143. package/dist/scripts/13-958a8fd026.chunk.js +1 -0
  144. package/dist/scripts/13.chunk.js +380 -0
  145. package/dist/scripts/13.chunk.js.map +1 -0
  146. package/dist/scripts/14-16f84b2721.chunk.js +1 -0
  147. package/dist/scripts/14-45cd4dc6ef.chunk.js +1 -0
  148. package/dist/scripts/14-68c85d6674.chunk.js +1 -0
  149. package/dist/scripts/14.chunk.js +2386 -0
  150. package/dist/scripts/14.chunk.js.map +1 -0
  151. package/dist/scripts/15-12fa4c3471.chunk.js +1 -0
  152. package/dist/scripts/15-5544e6bde6.chunk.js +1 -0
  153. package/dist/scripts/15-8c96c3288e.chunk.js +1 -0
  154. package/dist/scripts/15.chunk.js +314 -0
  155. package/dist/scripts/15.chunk.js.map +1 -0
  156. package/dist/scripts/16-670c43d26f.chunk.js +1 -0
  157. package/dist/scripts/16-742a776f88.chunk.js +1 -0
  158. package/dist/scripts/16-7bcffb06e7.chunk.js +1 -0
  159. package/dist/scripts/16.chunk.js +1290 -0
  160. package/dist/scripts/16.chunk.js.map +1 -0
  161. package/dist/scripts/17-140fec014b.chunk.js +1 -0
  162. package/dist/scripts/17-b5e44e8b17.chunk.js +1 -0
  163. package/dist/scripts/17-f6b0159da3.chunk.js +1 -0
  164. package/dist/scripts/17.chunk.js +381 -0
  165. package/dist/scripts/17.chunk.js.map +1 -0
  166. package/dist/scripts/18.chunk.js +393 -0
  167. package/dist/scripts/18.chunk.js.map +1 -0
  168. package/dist/scripts/19.chunk.js +364 -0
  169. package/dist/scripts/19.chunk.js.map +1 -0
  170. package/dist/scripts/2-0c5fba8b60.chunk.js +1 -0
  171. package/dist/scripts/2-7cc9176e8a.chunk.js +1 -0
  172. package/dist/scripts/2.chunk.js +523 -0
  173. package/dist/scripts/2.chunk.js.map +1 -0
  174. package/dist/scripts/20-4d88ede0e0.chunk.js +1 -0
  175. package/dist/scripts/20-732a7a549d.chunk.js +1 -0
  176. package/dist/scripts/20-df9f6f7661.chunk.js +1 -0
  177. package/dist/scripts/20.chunk.js +317 -0
  178. package/dist/scripts/20.chunk.js.map +1 -0
  179. package/dist/scripts/21-0b84d33cef.chunk.js +1 -0
  180. package/dist/scripts/21-c9983ca8ad.chunk.js +1 -0
  181. package/dist/scripts/21-ee85b6d208.chunk.js +1 -0
  182. package/dist/scripts/21.chunk.js +531 -0
  183. package/dist/scripts/21.chunk.js.map +1 -0
  184. package/dist/scripts/22-151cf38018.chunk.js +1 -0
  185. package/dist/scripts/22-3b2207c8f6.chunk.js +1 -0
  186. package/dist/scripts/22-6e6ed9f607.chunk.js +1 -0
  187. package/dist/scripts/22.chunk.js +354 -0
  188. package/dist/scripts/22.chunk.js.map +1 -0
  189. package/dist/scripts/23-1af21bf234.chunk.js +1 -0
  190. package/dist/scripts/23-94f9fe4222.chunk.js +1 -0
  191. package/dist/scripts/23-ab8f73ee87.chunk.js +1 -0
  192. package/dist/scripts/23.chunk.js +604 -0
  193. package/dist/scripts/23.chunk.js.map +1 -0
  194. package/dist/scripts/24-74ab289589.chunk.js +1 -0
  195. package/dist/scripts/24-7aa9b43511.chunk.js +1 -0
  196. package/dist/scripts/24-d1ffdd4755.chunk.js +1 -0
  197. package/dist/scripts/24.chunk.js +318 -0
  198. package/dist/scripts/24.chunk.js.map +1 -0
  199. package/dist/scripts/25-5a38ce3533.chunk.js +1 -0
  200. package/dist/scripts/25-76d9011eea.chunk.js +1 -0
  201. package/dist/scripts/25-866cfc0ef5.chunk.js +1 -0
  202. package/dist/scripts/25.chunk.js +365 -0
  203. package/dist/scripts/25.chunk.js.map +1 -0
  204. package/dist/scripts/26-d166e3c313.chunk.js +1 -0
  205. package/dist/scripts/26-e53ba8e00f.chunk.js +1 -0
  206. package/dist/scripts/26-ea028a6276.chunk.js +1 -0
  207. package/dist/scripts/26.chunk.js +442 -0
  208. package/dist/scripts/26.chunk.js.map +1 -0
  209. package/dist/scripts/27-2109d41afa.chunk.js +1 -0
  210. package/dist/scripts/27-c1241fcd84.chunk.js +1 -0
  211. package/dist/scripts/27-ee88c84482.chunk.js +1 -0
  212. package/dist/scripts/27.chunk.js +3630 -0
  213. package/dist/scripts/27.chunk.js.map +1 -0
  214. package/dist/scripts/28-5c540e74cc.chunk.js +1 -0
  215. package/dist/scripts/28-76b9766891.chunk.js +1 -0
  216. package/dist/scripts/28-e490147f6b.chunk.js +1 -0
  217. package/dist/scripts/28.chunk.js +3172 -0
  218. package/dist/scripts/28.chunk.js.map +1 -0
  219. package/dist/scripts/29-2da59b1589.chunk.js +1 -0
  220. package/dist/scripts/29-69389908f8.chunk.js +1 -0
  221. package/dist/scripts/29-bb7e39304b.chunk.js +1 -0
  222. package/dist/scripts/29.chunk.js +3090 -0
  223. package/dist/scripts/29.chunk.js.map +1 -0
  224. package/dist/scripts/3-6e67dd4b74.chunk.js +1 -0
  225. package/dist/scripts/3-81b501ac1e.chunk.js +1 -0
  226. package/dist/scripts/3-c69e4454ce.chunk.js +1 -0
  227. package/dist/scripts/3.chunk.js +845 -0
  228. package/dist/scripts/3.chunk.js.map +1 -0
  229. package/dist/scripts/30-9d32d88d76.chunk.js +1 -0
  230. package/dist/scripts/30-a1df3e37da.chunk.js +1 -0
  231. package/dist/scripts/30-fa390c35f6.chunk.js +1 -0
  232. package/dist/scripts/30.chunk.js +1851 -0
  233. package/dist/scripts/30.chunk.js.map +1 -0
  234. package/dist/scripts/31-ce31250e42.chunk.js +1 -0
  235. package/dist/scripts/31-f15802825c.chunk.js +1 -0
  236. package/dist/scripts/31-fc63c4629d.chunk.js +1 -0
  237. package/dist/scripts/31.chunk.js +958 -0
  238. package/dist/scripts/31.chunk.js.map +1 -0
  239. package/dist/scripts/32-1ad8193581.chunk.js +1 -0
  240. package/dist/scripts/32-4173874dbe.chunk.js +1 -0
  241. package/dist/scripts/32-9bca57f408.chunk.js +1 -0
  242. package/dist/scripts/32.chunk.js +1235 -0
  243. package/dist/scripts/32.chunk.js.map +1 -0
  244. package/dist/scripts/33-20ac0ab4a1.chunk.js +1 -0
  245. package/dist/scripts/33-350334db4c.chunk.js +1 -0
  246. package/dist/scripts/33-7efae85b8b.chunk.js +1 -0
  247. package/dist/scripts/33.chunk.js +958 -0
  248. package/dist/scripts/33.chunk.js.map +1 -0
  249. package/dist/scripts/34-3adf309726.chunk.js +1 -0
  250. package/dist/scripts/34-c4f0495750.chunk.js +1 -0
  251. package/dist/scripts/34-f6eea83a09.chunk.js +1 -0
  252. package/dist/scripts/34.chunk.js +990 -0
  253. package/dist/scripts/34.chunk.js.map +1 -0
  254. package/dist/scripts/35-17b30890a5.chunk.js +1 -0
  255. package/dist/scripts/35-7f90628b77.chunk.js +1 -0
  256. package/dist/scripts/35-9c3899dfbd.chunk.js +1 -0
  257. package/dist/scripts/35.chunk.js +518 -0
  258. package/dist/scripts/35.chunk.js.map +1 -0
  259. package/dist/scripts/36-2ec95df618.chunk.js +1 -0
  260. package/dist/scripts/36-b5ad543fba.chunk.js +1 -0
  261. package/dist/scripts/36-cdbe95bd06.chunk.js +1 -0
  262. package/dist/scripts/36.chunk.js +335 -0
  263. package/dist/scripts/36.chunk.js.map +1 -0
  264. package/dist/scripts/37-3f3a603b60.chunk.js +1 -0
  265. package/dist/scripts/37-6fa4b8fc60.chunk.js +1 -0
  266. package/dist/scripts/37-c649a307d4.chunk.js +1 -0
  267. package/dist/scripts/37.chunk.js +236 -0
  268. package/dist/scripts/37.chunk.js.map +1 -0
  269. package/dist/scripts/38-1c98f19489.chunk.js +1 -0
  270. package/dist/scripts/38-6fc346f964.chunk.js +1 -0
  271. package/dist/scripts/38-7ffe535b0d.chunk.js +1 -0
  272. package/dist/scripts/38.chunk.js +315 -0
  273. package/dist/scripts/38.chunk.js.map +1 -0
  274. package/dist/scripts/39-13d6669c3f.chunk.js +1 -0
  275. package/dist/scripts/39-71c4bb46b2.chunk.js +1 -0
  276. package/dist/scripts/39-e5983a5d53.chunk.js +1 -0
  277. package/dist/scripts/39.chunk.js +107 -0
  278. package/dist/scripts/39.chunk.js.map +1 -0
  279. package/dist/scripts/4-435484d217.chunk.js +1 -0
  280. package/dist/scripts/4-7274621693.chunk.js +1 -0
  281. package/dist/scripts/4-85ba8523ad.chunk.js +1 -0
  282. package/dist/scripts/4.chunk.js +335 -0
  283. package/dist/scripts/4.chunk.js.map +1 -0
  284. package/dist/scripts/40-2ecbd41570.chunk.js +1 -0
  285. package/dist/scripts/40-a691a401ff.chunk.js +1 -0
  286. package/dist/scripts/40-f1d72b1049.chunk.js +1 -0
  287. package/dist/scripts/40.chunk.js +2493 -0
  288. package/dist/scripts/40.chunk.js.map +1 -0
  289. package/dist/scripts/41-0368ba16dc.chunk.js +1 -0
  290. package/dist/scripts/41-85fcb15184.chunk.js +1 -0
  291. package/dist/scripts/41-bb9aef24f7.chunk.js +1 -0
  292. package/dist/scripts/41.chunk.js +1782 -0
  293. package/dist/scripts/41.chunk.js.map +1 -0
  294. package/dist/scripts/42-389acb6e55.chunk.js +1 -0
  295. package/dist/scripts/42-3ef41f40f5.chunk.js +1 -0
  296. package/dist/scripts/42-61a626d7f4.chunk.js +1 -0
  297. package/dist/scripts/42.chunk.js +2327 -0
  298. package/dist/scripts/42.chunk.js.map +1 -0
  299. package/dist/scripts/43-2fe5b1c9cc.chunk.js +1 -0
  300. package/dist/scripts/43-49f13dab14.chunk.js +1 -0
  301. package/dist/scripts/43-a5b882d502.chunk.js +1 -0
  302. package/dist/scripts/43.chunk.js +1206 -0
  303. package/dist/scripts/43.chunk.js.map +1 -0
  304. package/dist/scripts/44-0703eb0ad8.chunk.js +1 -0
  305. package/dist/scripts/44-de22428999.chunk.js +1 -0
  306. package/dist/scripts/44-ee6a740a16.chunk.js +1 -0
  307. package/dist/scripts/44.chunk.js +2245 -0
  308. package/dist/scripts/44.chunk.js.map +1 -0
  309. package/dist/scripts/45-806dd5b78c.chunk.js +1 -0
  310. package/dist/scripts/45-da34a8b6b2.chunk.js +1 -0
  311. package/dist/scripts/45-e4a92a40fd.chunk.js +1 -0
  312. package/dist/scripts/45.chunk.js +1065 -0
  313. package/dist/scripts/45.chunk.js.map +1 -0
  314. package/dist/scripts/46-4aa05464fe.chunk.js +1 -0
  315. package/dist/scripts/46-cccef3e874.chunk.js +1 -0
  316. package/dist/scripts/46-ebf8eee4ac.chunk.js +1 -0
  317. package/dist/scripts/46.chunk.js +655 -0
  318. package/dist/scripts/46.chunk.js.map +1 -0
  319. package/dist/scripts/47-1e3d829757.chunk.js +1 -0
  320. package/dist/scripts/47-56d22af6ba.chunk.js +1 -0
  321. package/dist/scripts/47-c61fa52c53.chunk.js +1 -0
  322. package/dist/scripts/47.chunk.js +736 -0
  323. package/dist/scripts/47.chunk.js.map +1 -0
  324. package/dist/scripts/48-877e9e02b8.chunk.js +1 -0
  325. package/dist/scripts/48-e05ab3ecac.chunk.js +1 -0
  326. package/dist/scripts/48-fc96b968fc.chunk.js +1 -0
  327. package/dist/scripts/48.chunk.js +994 -0
  328. package/dist/scripts/48.chunk.js.map +1 -0
  329. package/dist/scripts/49-13c5f8e87d.chunk.js +1 -0
  330. package/dist/scripts/49-4a6c119f58.chunk.js +1 -0
  331. package/dist/scripts/49-f9151c7e06.chunk.js +1 -0
  332. package/dist/scripts/49.chunk.js +761 -0
  333. package/dist/scripts/49.chunk.js.map +1 -0
  334. package/dist/scripts/5-1ba89c4774.chunk.js +1 -0
  335. package/dist/scripts/5-515b264fbc.chunk.js +1 -0
  336. package/dist/scripts/5-d6a7d71167.chunk.js +1 -0
  337. package/dist/scripts/5.chunk.js +15 -0
  338. package/dist/scripts/5.chunk.js.map +1 -0
  339. package/dist/scripts/50-0741587a02.chunk.js +1 -0
  340. package/dist/scripts/50-3924907655.chunk.js +1 -0
  341. package/dist/scripts/50-4de0b758d5.chunk.js +1 -0
  342. package/dist/scripts/50.chunk.js +530 -0
  343. package/dist/scripts/50.chunk.js.map +1 -0
  344. package/dist/scripts/51-a5f1309ada.chunk.js +1 -0
  345. package/dist/scripts/51-dca2a9cc86.chunk.js +1 -0
  346. package/dist/scripts/51-ea33746146.chunk.js +1 -0
  347. package/dist/scripts/51.chunk.js +932 -0
  348. package/dist/scripts/51.chunk.js.map +1 -0
  349. package/dist/scripts/52-50230b48c8.chunk.js +1 -0
  350. package/dist/scripts/52-a3c8ed29ca.chunk.js +1 -0
  351. package/dist/scripts/52-bc48f1f9e8.chunk.js +1 -0
  352. package/dist/scripts/52.chunk.js +408 -0
  353. package/dist/scripts/52.chunk.js.map +1 -0
  354. package/dist/scripts/53-0e253f9f3e.chunk.js +1 -0
  355. package/dist/scripts/53-36007500cf.chunk.js +1 -0
  356. package/dist/scripts/53-d8f0dea552.chunk.js +1 -0
  357. package/dist/scripts/53.chunk.js +756 -0
  358. package/dist/scripts/53.chunk.js.map +1 -0
  359. package/dist/scripts/54-7cdbdcebf9.chunk.js +1 -0
  360. package/dist/scripts/54-d1bc70c7b5.chunk.js +1 -0
  361. package/dist/scripts/54-ead54d0b34.chunk.js +1 -0
  362. package/dist/scripts/54.chunk.js +681 -0
  363. package/dist/scripts/54.chunk.js.map +1 -0
  364. package/dist/scripts/55-3c60601030.chunk.js +1 -0
  365. package/dist/scripts/55-a5fa20b497.chunk.js +1 -0
  366. package/dist/scripts/55-e29d6a6ba9.chunk.js +1 -0
  367. package/dist/scripts/55.chunk.js +645 -0
  368. package/dist/scripts/55.chunk.js.map +1 -0
  369. package/dist/scripts/56-36d54fa08f.chunk.js +1 -0
  370. package/dist/scripts/56-370078d597.chunk.js +1 -0
  371. package/dist/scripts/56-df0a32000b.chunk.js +1 -0
  372. package/dist/scripts/56.chunk.js +346 -0
  373. package/dist/scripts/56.chunk.js.map +1 -0
  374. package/dist/scripts/57-6e622c6480.chunk.js +1 -0
  375. package/dist/scripts/57-a4f4d6fe41.chunk.js +1 -0
  376. package/dist/scripts/57-c1faec8b32.chunk.js +1 -0
  377. package/dist/scripts/57.chunk.js +422 -0
  378. package/dist/scripts/57.chunk.js.map +1 -0
  379. package/dist/scripts/58-17706ccb46.chunk.js +1 -0
  380. package/dist/scripts/58-a0fe201826.chunk.js +1 -0
  381. package/dist/scripts/58-e996405f2b.chunk.js +1 -0
  382. package/dist/scripts/58.chunk.js +437 -0
  383. package/dist/scripts/58.chunk.js.map +1 -0
  384. package/dist/scripts/59-0a7bdc86b0.chunk.js +1 -0
  385. package/dist/scripts/59-381a49ed7f.chunk.js +1 -0
  386. package/dist/scripts/59-4f2fcb6412.chunk.js +1 -0
  387. package/dist/scripts/59.chunk.js +342 -0
  388. package/dist/scripts/59.chunk.js.map +1 -0
  389. package/dist/scripts/6-40c8ba5007.chunk.js +1 -0
  390. package/dist/scripts/6-51a379e066.chunk.js +1 -0
  391. package/dist/scripts/6-b3d36065dc.chunk.js +1 -0
  392. package/dist/scripts/6.chunk.js +484 -0
  393. package/dist/scripts/6.chunk.js.map +1 -0
  394. package/dist/scripts/60-0d8896555f.chunk.js +1 -0
  395. package/dist/scripts/60-b4a91c86fa.chunk.js +1 -0
  396. package/dist/scripts/60-c57f161f18.chunk.js +1 -0
  397. package/dist/scripts/60.chunk.js +254 -0
  398. package/dist/scripts/60.chunk.js.map +1 -0
  399. package/dist/scripts/61-5d6e59d408.chunk.js +1 -0
  400. package/dist/scripts/61-7d81d27c31.chunk.js +1 -0
  401. package/dist/scripts/61-a342a0d501.chunk.js +1 -0
  402. package/dist/scripts/61.chunk.js +408 -0
  403. package/dist/scripts/61.chunk.js.map +1 -0
  404. package/dist/scripts/62-758f5e505b.chunk.js +1 -0
  405. package/dist/scripts/62-b572d8b80d.chunk.js +1 -0
  406. package/dist/scripts/62-f5fd35fdc0.chunk.js +1 -0
  407. package/dist/scripts/62.chunk.js +142 -0
  408. package/dist/scripts/62.chunk.js.map +1 -0
  409. package/dist/scripts/63-568008965e.chunk.js +1 -0
  410. package/dist/scripts/63-6700b4d00a.chunk.js +1 -0
  411. package/dist/scripts/63-c88b9860e9.chunk.js +1 -0
  412. package/dist/scripts/63.chunk.js +147 -0
  413. package/dist/scripts/63.chunk.js.map +1 -0
  414. package/dist/scripts/64-9c88ee6161.chunk.js +1 -0
  415. package/dist/scripts/64-e177d4c971.chunk.js +1 -0
  416. package/dist/scripts/64-fa2facacbb.chunk.js +1 -0
  417. package/dist/scripts/64.chunk.js +439 -0
  418. package/dist/scripts/64.chunk.js.map +1 -0
  419. package/dist/scripts/65-93567fe088.chunk.js +1 -0
  420. package/dist/scripts/65-e4568d1f06.chunk.js +1 -0
  421. package/dist/scripts/65-f750573f69.chunk.js +1 -0
  422. package/dist/scripts/65.chunk.js +582 -0
  423. package/dist/scripts/65.chunk.js.map +1 -0
  424. package/dist/scripts/66-c84a3a3c3f.chunk.js +1 -0
  425. package/dist/scripts/66-f325ff3187.chunk.js +1 -0
  426. package/dist/scripts/66-f6d213b33c.chunk.js +1 -0
  427. package/dist/scripts/66.chunk.js +442 -0
  428. package/dist/scripts/66.chunk.js.map +1 -0
  429. package/dist/scripts/67-3c9628d296.chunk.js +1 -0
  430. package/dist/scripts/67-97c694c3d5.chunk.js +1 -0
  431. package/dist/scripts/67-c5af18680c.chunk.js +1 -0
  432. package/dist/scripts/67.chunk.js +295 -0
  433. package/dist/scripts/67.chunk.js.map +1 -0
  434. package/dist/scripts/68-488cd1552f.chunk.js +1 -0
  435. package/dist/scripts/68-7b1d5e8e75.chunk.js +1 -0
  436. package/dist/scripts/68-eb8700aeb1.chunk.js +1 -0
  437. package/dist/scripts/68.chunk.js +165 -0
  438. package/dist/scripts/68.chunk.js.map +1 -0
  439. package/dist/scripts/69-3d2063cd0f.chunk.js +1 -0
  440. package/dist/scripts/69-b0ea71d7c5.chunk.js +1 -0
  441. package/dist/scripts/69-be2be90b7c.chunk.js +1 -0
  442. package/dist/scripts/69.chunk.js +248 -0
  443. package/dist/scripts/69.chunk.js.map +1 -0
  444. package/dist/scripts/7-3151397d74.chunk.js +1 -0
  445. package/dist/scripts/7-aac8c84ccb.chunk.js +1 -0
  446. package/dist/scripts/7-dfddb8ffa8.chunk.js +1 -0
  447. package/dist/scripts/7.chunk.js +309 -0
  448. package/dist/scripts/7.chunk.js.map +1 -0
  449. package/dist/scripts/70-27e9e5792a.chunk.js +1 -0
  450. package/dist/scripts/70-39dc936989.chunk.js +1 -0
  451. package/dist/scripts/70-e6ebb44667.chunk.js +1 -0
  452. package/dist/scripts/70.chunk.js +207 -0
  453. package/dist/scripts/70.chunk.js.map +1 -0
  454. package/dist/scripts/71-8e3682a7d7.chunk.js +1 -0
  455. package/dist/scripts/71-a80858069c.chunk.js +1 -0
  456. package/dist/scripts/71-c5923e2d2d.chunk.js +1 -0
  457. package/dist/scripts/71.chunk.js +237 -0
  458. package/dist/scripts/71.chunk.js.map +1 -0
  459. package/dist/scripts/72-245f28bf97.chunk.js +1 -0
  460. package/dist/scripts/72-550438db4e.chunk.js +1 -0
  461. package/dist/scripts/72-65364adff1.chunk.js +1 -0
  462. package/dist/scripts/72.chunk.js +331 -0
  463. package/dist/scripts/72.chunk.js.map +1 -0
  464. package/dist/scripts/73.chunk.js +404 -0
  465. package/dist/scripts/73.chunk.js.map +1 -0
  466. package/dist/scripts/74.chunk.js +301 -0
  467. package/dist/scripts/74.chunk.js.map +1 -0
  468. package/dist/scripts/75.chunk.js +231 -0
  469. package/dist/scripts/75.chunk.js.map +1 -0
  470. package/dist/scripts/76.chunk.js +157 -0
  471. package/dist/scripts/76.chunk.js.map +1 -0
  472. package/dist/scripts/77.chunk.js +307 -0
  473. package/dist/scripts/77.chunk.js.map +1 -0
  474. package/dist/scripts/78.chunk.js +249 -0
  475. package/dist/scripts/78.chunk.js.map +1 -0
  476. package/dist/scripts/79.chunk.js +282 -0
  477. package/dist/scripts/79.chunk.js.map +1 -0
  478. package/dist/scripts/8-c4955c2009.chunk.js +1 -0
  479. package/dist/scripts/8-d46f48d03c.chunk.js +1 -0
  480. package/dist/scripts/8-e5d19252c8.chunk.js +1 -0
  481. package/dist/scripts/8.chunk.js +307 -0
  482. package/dist/scripts/8.chunk.js.map +1 -0
  483. package/dist/scripts/80.chunk.js +308 -0
  484. package/dist/scripts/80.chunk.js.map +1 -0
  485. package/dist/scripts/81.chunk.js +366 -0
  486. package/dist/scripts/81.chunk.js.map +1 -0
  487. package/dist/scripts/82.chunk.js +314 -0
  488. package/dist/scripts/82.chunk.js.map +1 -0
  489. package/dist/scripts/83.chunk.js +328 -0
  490. package/dist/scripts/83.chunk.js.map +1 -0
  491. package/dist/scripts/84.chunk.js +313 -0
  492. package/dist/scripts/84.chunk.js.map +1 -0
  493. package/dist/scripts/85.chunk.js +291 -0
  494. package/dist/scripts/85.chunk.js.map +1 -0
  495. package/dist/scripts/86.chunk.js +119 -0
  496. package/dist/scripts/86.chunk.js.map +1 -0
  497. package/dist/scripts/87.chunk.js +219 -0
  498. package/dist/scripts/87.chunk.js.map +1 -0
  499. package/dist/scripts/88.chunk.js +194 -0
  500. package/dist/scripts/88.chunk.js.map +1 -0
  501. package/dist/scripts/89.chunk.js +522 -0
  502. package/dist/scripts/89.chunk.js.map +1 -0
  503. package/dist/scripts/9-4589726554.chunk.js +1 -0
  504. package/dist/scripts/9-66021549bd.chunk.js +1 -0
  505. package/dist/scripts/9-df99ba6ce1.chunk.js +1 -0
  506. package/dist/scripts/9.chunk.js +222 -0
  507. package/dist/scripts/9.chunk.js.map +1 -0
  508. package/dist/scripts/90.chunk.js +337 -0
  509. package/dist/scripts/90.chunk.js.map +1 -0
  510. package/dist/scripts/91.chunk.js +131 -0
  511. package/dist/scripts/91.chunk.js.map +1 -0
  512. package/dist/scripts/92.chunk.js +266 -0
  513. package/dist/scripts/92.chunk.js.map +1 -0
  514. package/dist/scripts/bundle-1b984e2fd9.min.js +8 -0
  515. package/dist/scripts/{bundle-8862b095c0.min.js → bundle-203920eb14.min.js} +1 -1
  516. package/dist/scripts/bundle-7d13ba933b.min.js +8 -0
  517. package/dist/scripts/bundle-d5b23160b1.min.js +8 -0
  518. package/dist/scripts/bundle.js +67100 -0
  519. package/dist/scripts/bundle.js.map +1 -0
  520. package/dist/scripts/bundles.json +2 -2
  521. package/dist/scripts/polyfills-9b0be1bd72.min.js +1 -0
  522. package/dist/scripts/polyfills-cd3d0a9f6d.min.js +1 -0
  523. package/dist/scripts/polyfills-d891a77823.min.js +1 -0
  524. package/dist/scripts/polyfills.js +14866 -0
  525. package/dist/scripts/polyfills.js.map +1 -0
  526. package/package.json +2 -2
  527. /package/dist/scripts/{0-1deffb42bf.chunk.js → 0-8b75adf540.chunk.js} +0 -0
  528. /package/dist/scripts/{1-a4065968c1.chunk.js → 1-22a3bd404f.chunk.js} +0 -0
  529. /package/dist/scripts/{10-0adc529f9b.chunk.js → 10-31317a2d02.chunk.js} +0 -0
  530. /package/dist/scripts/{12-18ae0dfa89.chunk.js → 12-6ecdd79b85.chunk.js} +0 -0
  531. /package/dist/scripts/{13-a9ed73e93d.chunk.js → 13-282f8add17.chunk.js} +0 -0
  532. /package/dist/scripts/{14-e0828acdfa.chunk.js → 14-5e443cb402.chunk.js} +0 -0
  533. /package/dist/scripts/{15-c67caabb0a.chunk.js → 15-1f779dd0d3.chunk.js} +0 -0
  534. /package/dist/scripts/{16-31fefb2cac.chunk.js → 16-427a8933c8.chunk.js} +0 -0
  535. /package/dist/scripts/{17-b9c5bbda43.chunk.js → 17-7093f50dff.chunk.js} +0 -0
  536. /package/dist/scripts/{20-2bca62d1c0.chunk.js → 20-a84733c89f.chunk.js} +0 -0
  537. /package/dist/scripts/{21-c70d40dc61.chunk.js → 21-9b28a13702.chunk.js} +0 -0
  538. /package/dist/scripts/{22-0e9dca307f.chunk.js → 22-082c94a39c.chunk.js} +0 -0
  539. /package/dist/scripts/{23-b4a5ffb3a6.chunk.js → 23-2b00ff99bf.chunk.js} +0 -0
  540. /package/dist/scripts/{24-88056bc5c9.chunk.js → 24-c94049500e.chunk.js} +0 -0
  541. /package/dist/scripts/{25-ec294abf37.chunk.js → 25-34c0406f50.chunk.js} +0 -0
  542. /package/dist/scripts/{26-2a038b6df5.chunk.js → 26-d19e3f755c.chunk.js} +0 -0
  543. /package/dist/scripts/{27-9f06d5bb5d.chunk.js → 27-3aa629dd67.chunk.js} +0 -0
  544. /package/dist/scripts/{28-4e62071464.chunk.js → 28-738b88c816.chunk.js} +0 -0
  545. /package/dist/scripts/{29-5ab940b23f.chunk.js → 29-3faa153e38.chunk.js} +0 -0
  546. /package/dist/scripts/{3-dbf1f0bdbc.chunk.js → 3-42e8af9f39.chunk.js} +0 -0
  547. /package/dist/scripts/{30-87ec7ee868.chunk.js → 30-109f8ddd5c.chunk.js} +0 -0
  548. /package/dist/scripts/{31-24f9dc350e.chunk.js → 31-639090fee3.chunk.js} +0 -0
  549. /package/dist/scripts/{32-a06209da52.chunk.js → 32-3de9c7454b.chunk.js} +0 -0
  550. /package/dist/scripts/{33-c33020ec6f.chunk.js → 33-675467f07d.chunk.js} +0 -0
  551. /package/dist/scripts/{34-116a50814d.chunk.js → 34-0a7f3b55fe.chunk.js} +0 -0
  552. /package/dist/scripts/{35-33ea39c18e.chunk.js → 35-4254e160f0.chunk.js} +0 -0
  553. /package/dist/scripts/{36-ccb493b3f6.chunk.js → 36-1fde696d6a.chunk.js} +0 -0
  554. /package/dist/scripts/{37-bb5a5bdad3.chunk.js → 37-97b84a8be5.chunk.js} +0 -0
  555. /package/dist/scripts/{38-64d5f34871.chunk.js → 38-0cf8029bec.chunk.js} +0 -0
  556. /package/dist/scripts/{39-14259bc6fe.chunk.js → 39-748eb61732.chunk.js} +0 -0
  557. /package/dist/scripts/{4-dbbff4289b.chunk.js → 4-5c50e71b83.chunk.js} +0 -0
  558. /package/dist/scripts/{40-ea678bbe5b.chunk.js → 40-2691dfbd5a.chunk.js} +0 -0
  559. /package/dist/scripts/{41-2d35060d0e.chunk.js → 41-1df587ee3a.chunk.js} +0 -0
  560. /package/dist/scripts/{42-898076e213.chunk.js → 42-3480033857.chunk.js} +0 -0
  561. /package/dist/scripts/{43-0616177a42.chunk.js → 43-72d1bc0ae2.chunk.js} +0 -0
  562. /package/dist/scripts/{44-861ac46f36.chunk.js → 44-756fd6622b.chunk.js} +0 -0
  563. /package/dist/scripts/{45-7446535f17.chunk.js → 45-610d098194.chunk.js} +0 -0
  564. /package/dist/scripts/{46-26620d2a5f.chunk.js → 46-cadf3f46ee.chunk.js} +0 -0
  565. /package/dist/scripts/{47-a4034122c9.chunk.js → 47-22a83e5974.chunk.js} +0 -0
  566. /package/dist/scripts/{48-76b2c74863.chunk.js → 48-e577124476.chunk.js} +0 -0
  567. /package/dist/scripts/{49-505e968070.chunk.js → 49-0f9a6a1782.chunk.js} +0 -0
  568. /package/dist/scripts/{5-2051149282.chunk.js → 5-06b97501c3.chunk.js} +0 -0
  569. /package/dist/scripts/{50-5fc4da3bc5.chunk.js → 50-0d5aed7730.chunk.js} +0 -0
  570. /package/dist/scripts/{51-fc0310c5cd.chunk.js → 51-cd37c8efa2.chunk.js} +0 -0
  571. /package/dist/scripts/{52-bf7eecfbac.chunk.js → 52-8b53a5c0b1.chunk.js} +0 -0
  572. /package/dist/scripts/{53-ec51fba164.chunk.js → 53-54b0df474f.chunk.js} +0 -0
  573. /package/dist/scripts/{54-d3990092dd.chunk.js → 54-dd4d101665.chunk.js} +0 -0
  574. /package/dist/scripts/{55-e4665da63e.chunk.js → 55-078bb9b0ea.chunk.js} +0 -0
  575. /package/dist/scripts/{56-21b33b42c3.chunk.js → 56-7a6c662f14.chunk.js} +0 -0
  576. /package/dist/scripts/{57-07deff9444.chunk.js → 57-0e126120b9.chunk.js} +0 -0
  577. /package/dist/scripts/{58-68ca09ffdf.chunk.js → 58-5729cbaa5c.chunk.js} +0 -0
  578. /package/dist/scripts/{59-c7705e6551.chunk.js → 59-333f38ee3b.chunk.js} +0 -0
  579. /package/dist/scripts/{6-9bc788ce4c.chunk.js → 6-1045293de4.chunk.js} +0 -0
  580. /package/dist/scripts/{60-319578f49a.chunk.js → 60-b17c6609cd.chunk.js} +0 -0
  581. /package/dist/scripts/{61-25fcfd00c9.chunk.js → 61-57fa6b5248.chunk.js} +0 -0
  582. /package/dist/scripts/{62-d07ddf14ff.chunk.js → 62-67458b7fb4.chunk.js} +0 -0
  583. /package/dist/scripts/{63-08c93c2e53.chunk.js → 63-420b10f5f2.chunk.js} +0 -0
  584. /package/dist/scripts/{64-ffead99364.chunk.js → 64-e6598113a7.chunk.js} +0 -0
  585. /package/dist/scripts/{65-86eee87750.chunk.js → 65-a7e499ceee.chunk.js} +0 -0
  586. /package/dist/scripts/{66-79a4d8629a.chunk.js → 66-f00f29ccae.chunk.js} +0 -0
  587. /package/dist/scripts/{67-bc34473155.chunk.js → 67-1ebaab7a2d.chunk.js} +0 -0
  588. /package/dist/scripts/{68-c3fe0c028e.chunk.js → 68-38a6d7fb50.chunk.js} +0 -0
  589. /package/dist/scripts/{69-f4f1f07045.chunk.js → 69-870856c6fb.chunk.js} +0 -0
  590. /package/dist/scripts/{7-74c0fcd6fe.chunk.js → 7-d41d3bf60c.chunk.js} +0 -0
  591. /package/dist/scripts/{70-4681989887.chunk.js → 70-6ef72cd9b6.chunk.js} +0 -0
  592. /package/dist/scripts/{71-8ae59fd304.chunk.js → 71-4e4a47d601.chunk.js} +0 -0
  593. /package/dist/scripts/{72-8615720ce0.chunk.js → 72-0a6c88f9fe.chunk.js} +0 -0
  594. /package/dist/scripts/{8-039e714b81.chunk.js → 8-7278f3247c.chunk.js} +0 -0
  595. /package/dist/scripts/{9-e76ba48df5.chunk.js → 9-576592d419.chunk.js} +0 -0
  596. /package/dist/scripts/{polyfills-57fccaae30.min.js → polyfills-5a81b67408.min.js} +0 -0
@@ -0,0 +1,157 @@
1
+ (window["webpackJsonp_clickview_library_editor"] = window["webpackJsonp_clickview_library_editor"] || []).push([[76],{
2
+
3
+ /***/ "./src/apps/upload/views/upload-complete/UploadComplete.hbs":
4
+ /*!******************************************************************!*\
5
+ !*** ./src/apps/upload/views/upload-complete/UploadComplete.hbs ***!
6
+ \******************************************************************/
7
+ /*! no static exports found */
8
+ /***/ (function(module, exports, __webpack_require__) {
9
+
10
+ var Handlebars = __webpack_require__(/*! handlebars */ "handlebars");
11
+ module.exports = (Handlebars['default'] || Handlebars).template({"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
12
+ var stack1, alias1=container.propertyIsEnumerable, alias2=depth0 != null ? depth0 : (container.nullContext || {}), alias3=container.hooks.helperMissing, alias4=container.escapeExpression;
13
+
14
+ return "<h1>"
15
+ + alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,"inLibrary",{"name":"lang","hash":{"smartCount":((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.count : stack1)},"data":data}))
16
+ + "</h1>\r\n<div class=\"my-3\">\r\n <img src=\"/images/upload/upload-completed@2x.png\" class=\""
17
+ + alias4(container.lambda(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.completeImage : stack1), depth0))
18
+ + "\"/>\r\n</div>\r\n<p>"
19
+ + alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,"isProcessing",{"name":"lang","hash":{"smartCount":((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.count : stack1)},"data":data}))
20
+ + "</p>\r\n<a class=\"back-to-library-applink btn btn-primary\">"
21
+ + alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,"back",{"name":"lang","hash":{},"data":data}))
22
+ + "</a>";
23
+ },"useData":true});
24
+
25
+ /***/ }),
26
+
27
+ /***/ "./src/apps/upload/views/upload-complete/UploadCompleteView.ts":
28
+ /*!*********************************************************************!*\
29
+ !*** ./src/apps/upload/views/upload-complete/UploadCompleteView.ts ***!
30
+ \*********************************************************************/
31
+ /*! exports provided: UploadCompleteView */
32
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
33
+
34
+ "use strict";
35
+ __webpack_require__.r(__webpack_exports__);
36
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "UploadCompleteView", function() { return UploadCompleteView; });
37
+ /* harmony import */ var _libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone */ "../../libs/common/src/backbone/index.ts");
38
+ /* harmony import */ var _libs_common_src_backbone_services_InstanceManager__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone/services/InstanceManager */ "../../libs/common/src/backbone/services/InstanceManager.ts");
39
+ /* harmony import */ var _UploadComplete_hbs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./UploadComplete.hbs */ "./src/apps/upload/views/upload-complete/UploadComplete.hbs");
40
+ /* harmony import */ var _UploadComplete_hbs__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_UploadComplete_hbs__WEBPACK_IMPORTED_MODULE_2__);
41
+ /* harmony import */ var _shared_constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../shared/constants */ "./src/shared/constants/index.ts");
42
+ /* harmony import */ var _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone/services/LanguageService */ "../../libs/common/src/backbone/services/LanguageService.tsx");
43
+ /* harmony import */ var _upload_complete_scss__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./upload-complete.scss */ "./src/apps/upload/views/upload-complete/upload-complete.scss");
44
+ /* harmony import */ var _upload_complete_scss__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_upload_complete_scss__WEBPACK_IMPORTED_MODULE_5__);
45
+ function _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); }
46
+
47
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
48
+
49
+ function _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); } }
50
+
51
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
52
+
53
+ function _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); }
54
+
55
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
56
+
57
+ function _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); }; }
58
+
59
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
60
+
61
+ function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
62
+
63
+ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
64
+
65
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
66
+
67
+
68
+
69
+
70
+
71
+
72
+
73
+ var UploadCompleteView = /*#__PURE__*/function (_Core$View) {
74
+ _inherits(UploadCompleteView, _Core$View);
75
+
76
+ var _super = _createSuper(UploadCompleteView);
77
+
78
+ function UploadCompleteView() {
79
+ _classCallCheck(this, UploadCompleteView);
80
+
81
+ return _super.apply(this, arguments);
82
+ }
83
+
84
+ _createClass(UploadCompleteView, [{
85
+ key: "initialize",
86
+ value: function initialize() {
87
+ this.videoUploadService = _libs_common_src_backbone_services_InstanceManager__WEBPACK_IMPORTED_MODULE_1__["InstanceManager"].getInstance(_shared_constants__WEBPACK_IMPORTED_MODULE_3__["Services"].VideoUpload, this);
88
+ }
89
+ }, {
90
+ key: "viewOptions",
91
+ value: function viewOptions() {
92
+ return {
93
+ styles: _upload_complete_scss__WEBPACK_IMPORTED_MODULE_5___default.a,
94
+ count: this.videoUploadService.getCollection().length
95
+ };
96
+ }
97
+ }, {
98
+ key: "onBeforeDestroy",
99
+ value: function onBeforeDestroy() {
100
+ this.videoUploadService.getCollection().reset();
101
+ }
102
+ }, {
103
+ key: "name",
104
+ get: function get() {
105
+ return 'UploadCompleteView';
106
+ }
107
+ }, {
108
+ key: "title",
109
+ get: function get() {
110
+ return _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_4__["LanguageService"].getPhrase(this.lang, 'title');
111
+ }
112
+ }, {
113
+ key: "lang",
114
+ get: function get() {
115
+ return 'upload.uploadComplete';
116
+ }
117
+ }, {
118
+ key: "template",
119
+ get: function get() {
120
+ return _UploadComplete_hbs__WEBPACK_IMPORTED_MODULE_2___default.a;
121
+ }
122
+ }, {
123
+ key: "className",
124
+ get: function get() {
125
+ return 'p-3 my-3 bg-white text-center';
126
+ }
127
+ }, {
128
+ key: "appLinks",
129
+ get: function get() {
130
+ return {
131
+ '.back-to-library-applink': {
132
+ application: _shared_constants__WEBPACK_IMPORTED_MODULE_3__["AppChannels"].LIBRARY_EDITOR,
133
+ action: _shared_constants__WEBPACK_IMPORTED_MODULE_3__["Actions"].LibraryEditor.HOME
134
+ }
135
+ };
136
+ }
137
+ }]);
138
+
139
+ return UploadCompleteView;
140
+ }(_libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_0__["Core"].View);
141
+
142
+ /***/ }),
143
+
144
+ /***/ "./src/apps/upload/views/upload-complete/upload-complete.scss":
145
+ /*!********************************************************************!*\
146
+ !*** ./src/apps/upload/views/upload-complete/upload-complete.scss ***!
147
+ \********************************************************************/
148
+ /*! no static exports found */
149
+ /***/ (function(module, exports, __webpack_require__) {
150
+
151
+ // extracted by mini-css-extract-plugin
152
+ module.exports = {"completeImage":"cv--completeImage--1LiuD"};
153
+
154
+ /***/ })
155
+
156
+ }]);
157
+ //# sourceMappingURL=76.chunk.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/apps/upload/views/upload-complete/UploadComplete.hbs","file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/apps/upload/views/upload-complete/UploadCompleteView.ts","webpack://@clickview/library-editor/./src/apps/upload/views/upload-complete/upload-complete.scss?5aad"],"names":[],"mappings":";;;;;;;;;AAAA,iBAAiB,mBAAO,CAAC,8BAAY;AACrC,iEAAiE;AACjE,oHAAoH;;AAEpH;AACA,sFAAsF,sBAAsB,qGAAqG,aAAa;AAC9N;AACA;AACA;AACA,yFAAyF,sBAAsB,qGAAqG,aAAa;AACjO;AACA,iFAAiF,uBAAuB,aAAa;AACrH;AACA,CAAC,gBAAgB,E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACbjB;AACA;AAEA;AAEA;AACA;AAGA;AAEO,IAAM,kBAAb;AAAA;;AAAA;;AAAA;AAAA;;AAAA;AAAA;;AAAA;AAAA;AAAA,iCAGmB;AACf,WAAK,kBAAL,GAA0B,kGAAe,CAAC,WAAhB,CAA4B,0DAAQ,CAAC,WAArC,EAAkD,IAAlD,CAA1B;AACD;AALH;AAAA;AAAA,kCAoCoB;AAChB,aAAO;AACL,cAAM,EAAN,4DADK;AAEL,aAAK,EAAE,KAAK,kBAAL,CAAwB,aAAxB,GAAwC;AAF1C,OAAP;AAID;AAzCH;AAAA;AAAA,sCA2CwB;AACpB,WAAK,kBAAL,CAAwB,aAAxB,GAAwC,KAAxC;AACD;AA7CH;AAAA;AAAA,wBAOiB;AACb,aAAO,oBAAP;AACD;AATH;AAAA;AAAA,wBAWkB;AACd,aAAO,kGAAe,CAAC,SAAhB,CAA0B,KAAK,IAA/B,EAAqC,OAArC,CAAP;AACD;AAbH;AAAA;AAAA,wBAeiB;AACb,aAAO,uBAAP;AACD;AAjBH;AAAA;AAAA,wBAmBqB;AACjB,aAAO,0DAAP;AACD;AArBH;AAAA;AAAA,wBAuBsB;AAClB,aAAO,+BAAP;AACD;AAzBH;AAAA;AAAA,wBA2BqB;AACjB,aAAO;AACL,oCAA4B;AAC1B,qBAAW,EAAE,6DAAW,CAAC,cADC;AAE1B,gBAAM,EAAE,yDAAO,CAAC,aAAR,CAAsB;AAFJ;AADvB,OAAP;AAMD;AAlCH;;AAAA;AAAA,EAAwC,8DAAI,CAAC,IAA7C,E;;;;;;;;;;;ACXA;AACA,kBAAkB,4C","file":"scripts/76.chunk.js","sourcesContent":["var Handlebars = 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=depth0 != null ? depth0 : (container.nullContext || {}), alias3=container.hooks.helperMissing, alias4=container.escapeExpression;\n\n return \"<h1>\"\n + alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,\"inLibrary\",{\"name\":\"lang\",\"hash\":{\"smartCount\":((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.count : stack1)},\"data\":data}))\n + \"</h1>\\r\\n<div class=\\\"my-3\\\">\\r\\n <img src=\\\"/images/upload/upload-completed@2x.png\\\" class=\\\"\"\n + alias4(container.lambda(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.completeImage : stack1), depth0))\n + \"\\\"/>\\r\\n</div>\\r\\n<p>\"\n + alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,\"isProcessing\",{\"name\":\"lang\",\"hash\":{\"smartCount\":((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.count : stack1)},\"data\":data}))\n + \"</p>\\r\\n<a class=\\\"back-to-library-applink btn btn-primary\\\">\"\n + alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,\"back\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</a>\";\n},\"useData\":true});","import { Core } from 'libs/common/core';\r\nimport { InstanceManager } from 'libs/common/backbone/services/InstanceManager';\r\n\r\nimport UploadCompleteTemplate from './UploadComplete.hbs';\r\nimport { ObjectHash } from 'backbone';\r\nimport { Actions, Services, AppChannels } from 'shared/constants';\r\nimport { LanguageService } from 'libs/common/backbone/services/LanguageService';\r\nimport { VideoUploadService } from 'apps/upload/services';\r\n\r\nimport styles from './upload-complete.scss';\r\n\r\nexport class UploadCompleteView extends Core.View {\r\n private videoUploadService: VideoUploadService;\r\n\r\n public initialize(): void {\r\n this.videoUploadService = InstanceManager.getInstance(Services.VideoUpload, this);\r\n }\r\n\r\n public get name(): string {\r\n return 'UploadCompleteView';\r\n }\r\n\r\n public get title(): string {\r\n return LanguageService.getPhrase(this.lang, 'title');\r\n }\r\n\r\n public get lang(): string {\r\n return 'upload.uploadComplete';\r\n }\r\n\r\n public get template(): any {\r\n return UploadCompleteTemplate;\r\n }\r\n\r\n public get className(): string {\r\n return 'p-3 my-3 bg-white text-center';\r\n }\r\n\r\n public get appLinks(): Core.AppLinkHash {\r\n return {\r\n '.back-to-library-applink': {\r\n application: AppChannels.LIBRARY_EDITOR,\r\n action: Actions.LibraryEditor.HOME\r\n }\r\n };\r\n }\r\n\r\n public viewOptions(): ObjectHash {\r\n return {\r\n styles,\r\n count: this.videoUploadService.getCollection().length\r\n };\r\n }\r\n\r\n public onBeforeDestroy(): void {\r\n this.videoUploadService.getCollection().reset();\r\n }\r\n}","// extracted by mini-css-extract-plugin\nmodule.exports = {\"completeImage\":\"cv--completeImage--1LiuD\"};"],"sourceRoot":""}
@@ -0,0 +1,307 @@
1
+ (window["webpackJsonp_clickview_library_editor"] = window["webpackJsonp_clickview_library_editor"] || []).push([[77],{
2
+
3
+ /***/ "./src/apps/content-updates/views/disable-review/DisableReview.hbs":
4
+ /*!*************************************************************************!*\
5
+ !*** ./src/apps/content-updates/views/disable-review/DisableReview.hbs ***!
6
+ \*************************************************************************/
7
+ /*! no static exports found */
8
+ /***/ (function(module, exports, __webpack_require__) {
9
+
10
+ var Handlebars = __webpack_require__(/*! handlebars */ "handlebars");
11
+ module.exports = (Handlebars['default'] || Handlebars).template({"1":function(container,depth0,helpers,partials,data) {
12
+ var stack1, alias1=container.propertyIsEnumerable;
13
+
14
+ return ((stack1 = container.lambda(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.spinnerEl : stack1), depth0)) != null ? stack1 : "")
15
+ + "\r\n";
16
+ },"3":function(container,depth0,helpers,partials,data) {
17
+ var stack1, alias1=container.propertyIsEnumerable, alias2=depth0 != null ? depth0 : (container.nullContext || {}), alias3=container.hooks.helperMissing, alias4=container.escapeExpression;
18
+
19
+ return "<p class=\"m-0 pb-2\">"
20
+ + alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,"noReview",{"name":"lang","hash":{},"data":data}))
21
+ + "</p>\r\n"
22
+ + ((stack1 = helpers["if"].call(alias2,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.videosToReview : stack1),{"name":"if","hash":{},"fn":container.program(4, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
23
+ + "<p class=\"m-0\">"
24
+ + alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,"undoInstructions",{"name":"lang","hash":{},"data":data}))
25
+ + "</p>\r\n";
26
+ },"4":function(container,depth0,helpers,partials,data) {
27
+ var alias1=container.propertyIsEnumerable;
28
+
29
+ return "<p class=\"m-0 pb-2\">"
30
+ + container.escapeExpression((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),"automaticApproval",{"name":"lang","hash":{},"data":data}))
31
+ + "</p>\r\n";
32
+ },"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
33
+ var stack1, alias1=container.propertyIsEnumerable;
34
+
35
+ 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 : "");
36
+ },"useData":true});
37
+
38
+ /***/ }),
39
+
40
+ /***/ "./src/apps/content-updates/views/disable-review/DisableReviewView.ts":
41
+ /*!****************************************************************************!*\
42
+ !*** ./src/apps/content-updates/views/disable-review/DisableReviewView.ts ***!
43
+ \****************************************************************************/
44
+ /*! exports provided: DisableReviewView */
45
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
46
+
47
+ "use strict";
48
+ __webpack_require__.r(__webpack_exports__);
49
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DisableReviewView", function() { return DisableReviewView; });
50
+ /* harmony import */ var _libs_common_src_backbone_services_InstanceManager__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone/services/InstanceManager */ "../../libs/common/src/backbone/services/InstanceManager.ts");
51
+ /* harmony import */ var _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone/services/LanguageService */ "../../libs/common/src/backbone/services/LanguageService.tsx");
52
+ /* harmony import */ var _libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone */ "../../libs/common/src/backbone/index.ts");
53
+ /* harmony import */ var _libs_analytics_src_interfaces__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../../../libs/analytics/src/interfaces */ "../../libs/analytics/src/interfaces/index.ts");
54
+ /* harmony import */ var _libs_analytics_src_AnalyticsHelper__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../../../../../libs/analytics/src/AnalyticsHelper */ "../../libs/analytics/src/AnalyticsHelper.ts");
55
+ /* harmony import */ var _shared_components_spinner_button_SpinnerButtonComponent__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../../shared/components/spinner-button/SpinnerButtonComponent */ "./src/shared/components/spinner-button/SpinnerButtonComponent.ts");
56
+ /* harmony import */ var _shared_behaviors__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../../shared/behaviors */ "./src/shared/behaviors/index.ts");
57
+ /* harmony import */ var _shared_utils__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../../shared/utils */ "./src/shared/utils/index.ts");
58
+ /* harmony import */ var _shared_services_UserDataService__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../../shared/services/UserDataService */ "./src/shared/services/UserDataService.ts");
59
+ /* harmony import */ var _shared_constants__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../../../shared/constants */ "./src/shared/constants/index.ts");
60
+ /* harmony import */ var _shared_models_DisabledSpinnerModel__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../../../shared/models/DisabledSpinnerModel */ "./src/shared/models/DisabledSpinnerModel.ts");
61
+ /* harmony import */ var _DisableReview_hbs__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./DisableReview.hbs */ "./src/apps/content-updates/views/disable-review/DisableReview.hbs");
62
+ /* harmony import */ var _DisableReview_hbs__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(_DisableReview_hbs__WEBPACK_IMPORTED_MODULE_11__);
63
+ function _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); }
64
+
65
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
66
+
67
+ function _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); } }
68
+
69
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
70
+
71
+ function _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); }
72
+
73
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
74
+
75
+ function _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); }; }
76
+
77
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
78
+
79
+ function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
80
+
81
+ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
82
+
83
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
84
+
85
+
86
+
87
+
88
+
89
+
90
+
91
+
92
+
93
+
94
+
95
+
96
+
97
+ var DisableReviewView = /*#__PURE__*/function (_Core$View) {
98
+ _inherits(DisableReviewView, _Core$View);
99
+
100
+ var _super = _createSuper(DisableReviewView);
101
+
102
+ function DisableReviewView() {
103
+ _classCallCheck(this, DisableReviewView);
104
+
105
+ return _super.apply(this, arguments);
106
+ }
107
+
108
+ _createClass(DisableReviewView, [{
109
+ key: "initialize",
110
+ value: function initialize() {
111
+ this.bindListeners();
112
+ this.settingsDataService = _libs_common_src_backbone_services_InstanceManager__WEBPACK_IMPORTED_MODULE_0__["InstanceManager"].getInstance(_shared_constants__WEBPACK_IMPORTED_MODULE_9__["DataServices"].Settings, this);
113
+ this.contentUpdatesDataService = _libs_common_src_backbone_services_InstanceManager__WEBPACK_IMPORTED_MODULE_0__["InstanceManager"].getInstance(_shared_constants__WEBPACK_IMPORTED_MODULE_9__["DataServices"].ContentUpdates, this);
114
+ }
115
+ }, {
116
+ key: "bindListeners",
117
+ value: function bindListeners() {
118
+ this.listenTo(_shared_constants__WEBPACK_IMPORTED_MODULE_9__["DataChannels"].VIDEO, "".concat(_shared_constants__WEBPACK_IMPORTED_MODULE_9__["DataPrefixes"].VIDEOS_TO_REVIEW, ":sync"), this.render);
119
+ }
120
+ }, {
121
+ key: "videosToReview",
122
+ value: function videosToReview() {
123
+ return !!this.videoCollection && !!this.videoCollection.length;
124
+ }
125
+ }, {
126
+ key: "onClickDisable",
127
+ value: function onClickDisable() {
128
+ if (this.videosToReview()) this.approveAllThenDisableReview();else this.disableReview();
129
+ this.triggerMethod('hide');
130
+ }
131
+ }, {
132
+ key: "approveAllThenDisableReview",
133
+ value: function approveAllThenDisableReview() {
134
+ var _this = this;
135
+
136
+ this.contentUpdatesDataService.approveAllVideos(function () {
137
+ return _this.disableReview();
138
+ });
139
+ }
140
+ }, {
141
+ key: "disableReview",
142
+ value: function disableReview() {
143
+ var settingOptions = _shared_utils__WEBPACK_IMPORTED_MODULE_7__["SettingsHelper"].getLibraryReviewOptions(false);
144
+ this.settingsDataService.updateSetting(this.currentUser.get('customerId'), settingOptions, _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_1__["LanguageService"].getPhrase(this.lang, 'disableSuccess'), this.redirectToPastReleases);
145
+ this.logAction();
146
+ }
147
+ }, {
148
+ key: "redirectToPastReleases",
149
+ value: function redirectToPastReleases() {
150
+ _libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_2__["Core"].AppLinkHelper.trigger({
151
+ application: _shared_constants__WEBPACK_IMPORTED_MODULE_9__["AppChannels"].CONTENT_UPDATES,
152
+ action: _shared_constants__WEBPACK_IMPORTED_MODULE_9__["Actions"].ContentUpdates.PAST_RELEASES
153
+ });
154
+ }
155
+ }, {
156
+ key: "logAction",
157
+ value: function logAction() {
158
+ var analyticsOptions = {
159
+ location: _libs_analytics_src_interfaces__WEBPACK_IMPORTED_MODULE_3__["LocationContext"].Popup,
160
+ actionType: _libs_analytics_src_interfaces__WEBPACK_IMPORTED_MODULE_3__["UserAction"].Disable,
161
+ entity: _libs_analytics_src_interfaces__WEBPACK_IMPORTED_MODULE_3__["EntityType"].CustomerSetting,
162
+ descriptor: _libs_analytics_src_interfaces__WEBPACK_IMPORTED_MODULE_3__["CustomerSettingDescriptor"].LibraryReview,
163
+ workflowPhase: _libs_analytics_src_interfaces__WEBPACK_IMPORTED_MODULE_3__["WorkflowPhase"].Complete
164
+ };
165
+ var data = {
166
+ approvedCount: this.videoCollection.length
167
+ };
168
+ _libs_analytics_src_AnalyticsHelper__WEBPACK_IMPORTED_MODULE_4__["AnalyticsHelper"].logUserAction(data, analyticsOptions);
169
+ }
170
+ }, {
171
+ key: "onBeforeRender",
172
+ value: function onBeforeRender() {
173
+ this.videoCollection = this.contentUpdatesDataService.getVideosToReview();
174
+ if (this.videoCollection) this.spinnerModel.set(_shared_components_spinner_button_SpinnerButtonComponent__WEBPACK_IMPORTED_MODULE_5__["SpinnerButtonModelAttributes"].Disabled, false);
175
+ }
176
+ }, {
177
+ key: "viewOptions",
178
+ value: function viewOptions() {
179
+ return {
180
+ videosToReview: this.videosToReview(),
181
+ dataFetched: !!this.videoCollection,
182
+ spinnerEl: _shared_utils__WEBPACK_IMPORTED_MODULE_7__["SpinnerHelper"].getSpinner({
183
+ size: _shared_utils__WEBPACK_IMPORTED_MODULE_7__["SpinnerSize"].Large,
184
+ extraClasses: 'mx-auto'
185
+ })
186
+ };
187
+ }
188
+ }, {
189
+ key: "name",
190
+ get: function get() {
191
+ return 'DisableReviewView';
192
+ }
193
+ }, {
194
+ key: "title",
195
+ get: function get() {
196
+ return _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_1__["LanguageService"].getPhrase(this.lang, 'title');
197
+ }
198
+ }, {
199
+ key: "template",
200
+ get: function get() {
201
+ return _DisableReview_hbs__WEBPACK_IMPORTED_MODULE_11___default.a;
202
+ }
203
+ }, {
204
+ key: "lang",
205
+ get: function get() {
206
+ return 'contentUpdates.disableReview';
207
+ }
208
+ }, {
209
+ key: "channelName",
210
+ get: function get() {
211
+ return _shared_utils__WEBPACK_IMPORTED_MODULE_7__["RadioChannelHelper"].generateUniqueChannelName(this);
212
+ }
213
+ }, {
214
+ key: "behaviors",
215
+ get: function get() {
216
+ var _this2 = this;
217
+
218
+ return [{
219
+ title: _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_1__["LanguageService"].getPhrase(this.lang, 'heading'),
220
+ behaviorClass: _shared_behaviors__WEBPACK_IMPORTED_MODULE_6__["PopupBehavior"],
221
+ spinnerButtonOptions: {
222
+ model: this.spinnerModel = new _shared_models_DisabledSpinnerModel__WEBPACK_IMPORTED_MODULE_10__["DisabledSpinnerModel"](),
223
+ channelName: this.channelName,
224
+ buttonText: _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_1__["LanguageService"].getPhrase(this.lang, 'offBtn'),
225
+ onClick: function onClick() {
226
+ return _this2.onClickDisable();
227
+ }
228
+ }
229
+ }];
230
+ }
231
+ }, {
232
+ key: "requiredResources",
233
+ get: function get() {
234
+ return {
235
+ currentUser: _shared_services_UserDataService__WEBPACK_IMPORTED_MODULE_8__["UserDataServiceHelper"].currentUser
236
+ };
237
+ }
238
+ }]);
239
+
240
+ return DisableReviewView;
241
+ }(_libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_2__["Core"].View);
242
+
243
+ /***/ }),
244
+
245
+ /***/ "./src/shared/models/DisabledSpinnerModel.ts":
246
+ /*!***************************************************!*\
247
+ !*** ./src/shared/models/DisabledSpinnerModel.ts ***!
248
+ \***************************************************/
249
+ /*! exports provided: DisabledSpinnerModel */
250
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
251
+
252
+ "use strict";
253
+ __webpack_require__.r(__webpack_exports__);
254
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DisabledSpinnerModel", function() { return DisabledSpinnerModel; });
255
+ /* harmony import */ var _libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../libs/common/src/backbone */ "../../libs/common/src/backbone/index.ts");
256
+ /* harmony import */ var _components_spinner_button_SpinnerButtonComponent__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../components/spinner-button/SpinnerButtonComponent */ "./src/shared/components/spinner-button/SpinnerButtonComponent.ts");
257
+ function _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); }
258
+
259
+ function _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; }
260
+
261
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
262
+
263
+ function _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); } }
264
+
265
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
266
+
267
+ function _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); }
268
+
269
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
270
+
271
+ function _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); }; }
272
+
273
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
274
+
275
+ function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
276
+
277
+ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
278
+
279
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
280
+
281
+
282
+
283
+ var DisabledSpinnerModel = /*#__PURE__*/function (_Core$Model) {
284
+ _inherits(DisabledSpinnerModel, _Core$Model);
285
+
286
+ var _super = _createSuper(DisabledSpinnerModel);
287
+
288
+ function DisabledSpinnerModel() {
289
+ _classCallCheck(this, DisabledSpinnerModel);
290
+
291
+ return _super.apply(this, arguments);
292
+ }
293
+
294
+ _createClass(DisabledSpinnerModel, [{
295
+ key: "defaults",
296
+ value: function defaults() {
297
+ return _defineProperty({}, _components_spinner_button_SpinnerButtonComponent__WEBPACK_IMPORTED_MODULE_1__["SpinnerButtonModelAttributes"].Disabled, true);
298
+ }
299
+ }]);
300
+
301
+ return DisabledSpinnerModel;
302
+ }(_libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_0__["Core"].Model);
303
+
304
+ /***/ })
305
+
306
+ }]);
307
+ //# sourceMappingURL=77.chunk.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/apps/content-updates/views/disable-review/DisableReview.hbs","file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/apps/content-updates/views/disable-review/DisableReviewView.ts","file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/shared/models/DisabledSpinnerModel.ts"],"names":[],"mappings":";;;;;;;;;AAAA,iBAAiB,mBAAO,CAAC,8BAAY;AACrC,iEAAiE;AACjE;;AAEA;AACA;AACA,CAAC;AACD,oHAAoH;;AAEpH;AACA,qFAAqF,uBAAuB,aAAa;AACzH;AACA,6IAA6I,qBAAqB,yEAAyE;AAC3O;AACA,6FAA6F,uBAAuB,aAAa;AACjI;AACA,CAAC;AACD;;AAEA;AACA,mKAAmK,uBAAuB,uBAAuB,aAAa;AAC9N;AACA,CAAC;AACD;;AAEA,8FAA8F,iGAAiG,yBAAyB,wFAAwF;AAChT,CAAC,gBAAgB,E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACxBjB;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AAEA;AAEA;AACA;AAMA;AAEO,IAAM,iBAAb;AAAA;;AAAA;;AAAA;AAAA;;AAAA;AAAA;;AAAA;AAAA;AAAA,iCAOmB;AACf,WAAK,aAAL;AAEA,WAAK,mBAAL,GAA2B,kGAAe,CAAC,WAAhB,CAA4B,8DAAY,CAAC,QAAzC,EAAmD,IAAnD,CAA3B;AACA,WAAK,yBAAL,GAAiC,kGAAe,CAAC,WAAhB,CAA4B,8DAAY,CAAC,cAAzC,EAAyD,IAAzD,CAAjC;AACD;AAZH;AAAA;AAAA,oCAiDuB;AACnB,WAAK,QAAL,CAAc,8DAAY,CAAC,KAA3B,YAAqC,8DAAY,CAAC,gBAAlD,YAA2E,KAAK,MAAhF;AACD;AAnDH;AAAA;AAAA,qCAqDwB;AACpB,aAAO,CAAC,CAAC,KAAK,eAAP,IAA0B,CAAC,CAAC,KAAK,eAAL,CAAqB,MAAxD;AACD;AAvDH;AAAA;AAAA,qCAyDwB;AACpB,UAAI,KAAK,cAAL,EAAJ,EACE,KAAK,2BAAL,GADF,KAGE,KAAK,aAAL;AAEF,WAAK,aAAL,CAAmB,MAAnB;AACD;AAhEH;AAAA;AAAA,kDAkEqC;AAAA;;AACjC,WAAK,yBAAL,CAA+B,gBAA/B,CAAgD;AAAA,eAAM,KAAI,CAAC,aAAL,EAAN;AAAA,OAAhD;AACD;AApEH;AAAA;AAAA,oCAsEuB;AACnB,UAAM,cAAc,GAAG,4DAAc,CAAC,uBAAf,CAAuC,KAAvC,CAAvB;AAEA,WAAK,mBAAL,CAAyB,aAAzB,CACE,KAAK,WAAL,CAAiB,GAAjB,CAAqB,YAArB,CADF,EAEE,cAFF,EAGE,kGAAe,CAAC,SAAhB,CAA0B,KAAK,IAA/B,EAAqC,gBAArC,CAHF,EAIE,KAAK,sBAJP;AAOA,WAAK,SAAL;AACD;AAjFH;AAAA;AAAA,6CAmFgC;AAC5B,oEAAI,CAAC,aAAL,CAAmB,OAAnB,CAA2B;AACzB,mBAAW,EAAE,6DAAW,CAAC,eADA;AAEzB,cAAM,EAAE,yDAAO,CAAC,cAAR,CAAuB;AAFN,OAA3B;AAID;AAxFH;AAAA;AAAA,gCA0FmB;AACf,UAAM,gBAAgB,GAAG;AACvB,gBAAQ,EAAE,8EAAe,CAAC,KADH;AAEvB,kBAAU,EAAE,yEAAU,CAAC,OAFA;AAGvB,cAAM,EAAE,yEAAU,CAAC,eAHI;AAIvB,kBAAU,EAAE,wFAAyB,CAAC,aAJf;AAKvB,qBAAa,EAAE,4EAAa,CAAC;AALN,OAAzB;AAQA,UAAM,IAAI,GAAe;AACvB,qBAAa,EAAE,KAAK,eAAL,CAAqB;AADb,OAAzB;AAIA,yFAAe,CAAC,aAAhB,CAA8B,IAA9B,EAAoC,gBAApC;AACD;AAxGH;AAAA;AAAA,qCAgHuB;AACnB,WAAK,eAAL,GAAuB,KAAK,yBAAL,CAA+B,iBAA/B,EAAvB;AAEA,UAAI,KAAK,eAAT,EACE,KAAK,YAAL,CAAkB,GAAlB,CAAsB,qHAA4B,CAAC,QAAnD,EAA6D,KAA7D;AACH;AArHH;AAAA;AAAA,kCAuHoB;AAChB,aAAO;AACL,sBAAc,EAAE,KAAK,cAAL,EADX;AAEL,mBAAW,EAAE,CAAC,CAAC,KAAK,eAFf;AAGL,iBAAS,EAAE,2DAAa,CAAC,UAAd,CAAyB;AAAE,cAAI,EAAE,yDAAW,CAAC,KAApB;AAA2B,sBAAY,EAAE;AAAzC,SAAzB;AAHN,OAAP;AAKD;AA7HH;AAAA;AAAA,wBAciB;AACb,aAAO,mBAAP;AACD;AAhBH;AAAA;AAAA,wBAkBkB;AACd,aAAO,kGAAe,CAAC,SAAhB,CAA0B,KAAK,IAA/B,EAAqC,OAArC,CAAP;AACD;AApBH;AAAA;AAAA,wBAsBqB;AACjB,aAAO,0DAAP;AACD;AAxBH;AAAA;AAAA,wBA0BiB;AACb,aAAO,8BAAP;AACD;AA5BH;AAAA;AAAA,wBA8BwB;AACpB,aAAO,gEAAkB,CAAC,yBAAnB,CAA6C,IAA7C,CAAP;AACD;AAhCH;AAAA;AAAA,wBAkCsB;AAAA;;AAClB,aAAO,CACL;AACE,aAAK,EAAE,kGAAe,CAAC,SAAhB,CAA0B,KAAK,IAA/B,EAAqC,SAArC,CADT;AAEE,qBAAa,EAAE,+DAFjB;AAGE,4BAAoB,EAAE;AACpB,eAAK,EAAE,KAAK,YAAL,GAAoB,IAAI,yFAAJ,EADP;AAEpB,qBAAW,EAAE,KAAK,WAFE;AAGpB,oBAAU,EAAE,kGAAe,CAAC,SAAhB,CAA0B,KAAK,IAA/B,EAAqC,QAArC,CAHQ;AAIpB,iBAAO,EAAE;AAAA,mBAAM,MAAI,CAAC,cAAL,EAAN;AAAA;AAJW;AAHxB,OADK,CAAP;AAYD;AA/CH;AAAA;AAAA,wBA0G8B;AAC1B,aAAO;AACL,mBAAW,EAAE,sFAAqB,CAAC;AAD9B,OAAP;AAGD;AA9GH;;AAAA;AAAA,EAAuC,8DAAI,CAAC,IAA5C,E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACtBA;AACA;AAEO,IAAM,oBAAb;AAAA;;AAAA;;AAAA;AAAA;;AAAA;AAAA;;AAAA;AAAA;AAAA,+BACiB;AACb,iCACG,8GAA4B,CAAC,QADhC,EAC2C,IAD3C;AAGD;AALH;;AAAA;AAAA,EAA0C,8DAAI,CAAC,KAA/C,E","file":"scripts/77.chunk.js","sourcesContent":["var Handlebars = require('handlebars');\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"1\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable;\n\n return ((stack1 = container.lambda(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.spinnerEl : stack1), depth0)) != null ? stack1 : \"\")\n + \"\\r\\n\";\n},\"3\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable, alias2=depth0 != null ? depth0 : (container.nullContext || {}), alias3=container.hooks.helperMissing, alias4=container.escapeExpression;\n\n return \"<p class=\\\"m-0 pb-2\\\">\"\n + alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,\"noReview\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</p>\\r\\n\"\n + ((stack1 = helpers[\"if\"].call(alias2,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.videosToReview : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(4, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + \"<p class=\\\"m-0\\\">\"\n + alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,\"undoInstructions\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</p>\\r\\n\";\n},\"4\":function(container,depth0,helpers,partials,data) {\n var alias1=container.propertyIsEnumerable;\n\n return \"<p class=\\\"m-0 pb-2\\\">\"\n + container.escapeExpression((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),\"automaticApproval\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</p>\\r\\n\";\n},\"compiler\":[8,\">= 4.3.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable;\n\n return ((stack1 = helpers.unless.call(depth0 != null ? depth0 : (container.nullContext || {}),((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.dataFetched : stack1),{\"name\":\"unless\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.program(3, data, 0),\"data\":data})) != null ? stack1 : \"\");\n},\"useData\":true});","import { ObjectHash } from 'backbone';\r\n\r\nimport { InstanceManager } from 'libs/common/backbone/services/InstanceManager';\r\nimport { LanguageService } from 'libs/common/backbone/services/LanguageService';\r\nimport { Core } from 'libs/common/core';\r\nimport { LocationContext, UserAction, EntityType, CustomerSettingDescriptor, WorkflowPhase } from 'libs/analytics/interfaces';\r\nimport { AnalyticsHelper } from 'libs/analytics/AnalyticsHelper';\r\n\r\nimport { SpinnerButtonModelAttributes } from 'shared/components/spinner-button/SpinnerButtonComponent';\r\nimport { PopupBehavior } from 'shared/behaviors';\r\nimport { SettingsHelper, RadioChannelHelper, SpinnerHelper, SpinnerSize } from 'shared/utils';\r\nimport { SettingsDataService } from 'shared/services/SettingsDataService';\r\nimport { UserDataServiceHelper } from 'shared/services/UserDataService';\r\n\r\nimport { DataServices, Actions, DataPrefixes, DataChannels, AppChannels } from 'shared/constants';\r\nimport { DisabledSpinnerModel } from 'shared/models/DisabledSpinnerModel';\r\nimport { User } from 'shared/models/User';\r\nimport { VideoCollection } from 'shared/collections/VideoCollection';\r\n\r\nimport { ContentUpdatesDataService } from 'apps/content-updates/services';\r\n\r\nimport DisableReviewTemplate from './DisableReview.hbs';\r\n\r\nexport class DisableReviewView extends Core.View {\r\n private settingsDataService: SettingsDataService;\r\n private contentUpdatesDataService: ContentUpdatesDataService;\r\n private currentUser: User;\r\n private videoCollection: VideoCollection;\r\n private spinnerModel: DisabledSpinnerModel;\r\n\r\n public initialize(): void {\r\n this.bindListeners();\r\n\r\n this.settingsDataService = InstanceManager.getInstance(DataServices.Settings, this);\r\n this.contentUpdatesDataService = InstanceManager.getInstance(DataServices.ContentUpdates, this);\r\n }\r\n\r\n public get name(): string {\r\n return 'DisableReviewView';\r\n }\r\n\r\n public get title(): string {\r\n return LanguageService.getPhrase(this.lang, 'title');\r\n }\r\n\r\n public get template(): string {\r\n return DisableReviewTemplate;\r\n }\r\n\r\n public get lang(): string {\r\n return 'contentUpdates.disableReview';\r\n }\r\n\r\n public get channelName(): string {\r\n return RadioChannelHelper.generateUniqueChannelName(this);\r\n }\r\n\r\n public get behaviors(): any[] {\r\n return [\r\n {\r\n title: LanguageService.getPhrase(this.lang, 'heading'),\r\n behaviorClass: PopupBehavior,\r\n spinnerButtonOptions: {\r\n model: this.spinnerModel = new DisabledSpinnerModel(),\r\n channelName: this.channelName,\r\n buttonText: LanguageService.getPhrase(this.lang, 'offBtn'),\r\n onClick: () => this.onClickDisable()\r\n }\r\n }\r\n ];\r\n }\r\n\r\n private bindListeners(): void {\r\n this.listenTo(DataChannels.VIDEO, `${DataPrefixes.VIDEOS_TO_REVIEW}:sync`, this.render);\r\n }\r\n\r\n private videosToReview(): boolean {\r\n return !!this.videoCollection && !!this.videoCollection.length;\r\n }\r\n\r\n private onClickDisable(): void {\r\n if (this.videosToReview())\r\n this.approveAllThenDisableReview();\r\n else\r\n this.disableReview();\r\n\r\n this.triggerMethod('hide');\r\n }\r\n\r\n private approveAllThenDisableReview(): void {\r\n this.contentUpdatesDataService.approveAllVideos(() => this.disableReview());\r\n }\r\n\r\n private disableReview(): void {\r\n const settingOptions = SettingsHelper.getLibraryReviewOptions(false);\r\n\r\n this.settingsDataService.updateSetting(\r\n this.currentUser.get('customerId'),\r\n settingOptions,\r\n LanguageService.getPhrase(this.lang, 'disableSuccess'),\r\n this.redirectToPastReleases\r\n );\r\n\r\n this.logAction();\r\n }\r\n\r\n private redirectToPastReleases(): void {\r\n Core.AppLinkHelper.trigger({\r\n application: AppChannels.CONTENT_UPDATES,\r\n action: Actions.ContentUpdates.PAST_RELEASES\r\n });\r\n }\r\n\r\n private logAction(): void {\r\n const analyticsOptions = {\r\n location: LocationContext.Popup,\r\n actionType: UserAction.Disable,\r\n entity: EntityType.CustomerSetting,\r\n descriptor: CustomerSettingDescriptor.LibraryReview,\r\n workflowPhase: WorkflowPhase.Complete\r\n };\r\n\r\n const data: ObjectHash = {\r\n approvedCount: this.videoCollection.length\r\n };\r\n\r\n AnalyticsHelper.logUserAction(data, analyticsOptions);\r\n }\r\n\r\n public get requiredResources(): Core.RequiredResourceHash {\r\n return {\r\n currentUser: UserDataServiceHelper.currentUser\r\n };\r\n }\r\n\r\n public onBeforeRender(): void {\r\n this.videoCollection = this.contentUpdatesDataService.getVideosToReview();\r\n\r\n if (this.videoCollection)\r\n this.spinnerModel.set(SpinnerButtonModelAttributes.Disabled, false);\r\n }\r\n\r\n public viewOptions(): ObjectHash {\r\n return {\r\n videosToReview: this.videosToReview(),\r\n dataFetched: !!this.videoCollection,\r\n spinnerEl: SpinnerHelper.getSpinner({ size: SpinnerSize.Large, extraClasses: 'mx-auto' })\r\n };\r\n }\r\n}","import { ObjectHash } from 'backbone';\r\nimport { Core } from 'libs/common/core';\r\nimport { SpinnerButtonModelAttributes } from 'shared/components/spinner-button/SpinnerButtonComponent';\r\n\r\nexport class DisabledSpinnerModel extends Core.Model {\r\n public defaults(): ObjectHash {\r\n return {\r\n [SpinnerButtonModelAttributes.Disabled]: true\r\n };\r\n }\r\n}"],"sourceRoot":""}