@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 @@
1
+ {"version":3,"sources":["file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/apps/library-editor/components/suggest-edit/SuggestEdit.hbs","file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/apps/library-editor/components/suggest-edit/SuggestEditComponent.ts","webpack://@clickview/library-editor/./src/apps/library-editor/components/suggest-edit/suggest-edit.scss?b993","file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/apps/library-editor/views/suggest-an-edit/SuggestAnEdit.hbs","file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/apps/library-editor/views/suggest-an-edit/SuggestAnEditView.ts","file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/apps/notifications/utils/Constants.ts","file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/apps/notifications/utils/NotificationsHelper.ts","file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/apps/notifications/utils/index.ts","file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/shared/components/dropdown/DropdownComponentCollection.ts","file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/shared/models/DisabledSpinnerModel.ts","file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/shared/models/Metadata.ts"],"names":[],"mappings":";;;;;;;;;AAAA,iBAAiB,mBAAO,CAAC,8BAAY;AACrC,iEAAiE;AACjE;;AAEA;AACA,+IAA+I,iBAAiB,sBAAsB,8GAA8G,aAAa;AACjT;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;;AAEA;AACA;AACA;AACA,CAAC;AACD,oHAAoH;;AAEpH,8IAA8I,yBAAyB,yEAAyE;AAChP;AACA,iGAAiG,uBAAuB,aAAa;AACrI;AACA,+IAA+I,yBAAyB,yEAAyE;AACjP;AACA,gGAAgG,uBAAuB,aAAa;AACpI;AACA,iGAAiG,uBAAuB,aAAa;AACrI;AACA,CAAC,gBAAgB,E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC9BjB;AACA;AAEA;AAEA;AACA;AACA;AAIA;AACA;AAEA;AACA;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AAe;AACnC,mBAAW,EAAE,KAAK,OAAL,CAAa,WADS;AAEnC,uBAAe,EAAE,KAAK,OAAL,CAAa;AAFK,OAArC;AAKA,aAAO,kDAAS,gBAAT,EAA2B,KAAK,OAAL,CAAa,YAAxC,CAAP;AACD;AApCH;;AAAA;AAAA,EAAiD,8DAAI,CAAC,mBAAtD,E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AClCA;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACJA;AAEO,IAAM,QAAb;AAAA;;AAAA;;AAAA;AAAA;;AAAA;AAAA;;AAAA;AAAA,EAA8B,8DAAI,CAAC,KAAnC,E","file":"scripts/48.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, alias2=container.escapeExpression, alias3=container.lambda;\n\n return \"<p class=\\\"font-weight-bold mb-0\\\">\"\n + alias2((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),\"currentType\",{\"name\":\"lang\",\"hash\":{\"metadataType\":((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.metadataType : stack1)},\"data\":data}))\n + \"</p>\\r\\n<p class=\\\"mb-3 \"\n + alias2(alias3(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.metadataValue : stack1), depth0))\n + \"\\\">\"\n + ((stack1 = alias3(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.metadataValue : stack1), depth0)) != null ? stack1 : \"\")\n + \"</p>\\r\\n\";\n},\"3\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable;\n\n return \" <textarea\\r\\n id=\\\"suggest-edit\\\"\\r\\n placeholder=\\\"\"\n + container.escapeExpression(container.lambda(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.suggestionPlaceholder : stack1), depth0))\n + \"\\\"\\r\\n class=\\\"form-control\\\"\\r\\n name=\\\"suggestion\\\"\\r\\n ></textarea>\\r\\n <div class=\\\"form-feedback\\\"></div>\\r\\n\";\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 ((stack1 = helpers.unless.call(alias2,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.isOtherType : stack1),{\"name\":\"unless\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + \"\\r\\n<div class=\\\"dropdown-divider\\\"></div>\\r\\n\\r\\n<div class=\\\"form-group\\\">\\r\\n <label for=\\\"suggest-edit\\\" class=\\\"font-weight-bold\\\">\"\n + alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,\"suggestionSubheading\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</label>\\r\\n <div class=\\\"rating-select-region\\\"></div>\\r\\n <div class=\\\"rating-form-feedback invalid-feedback\\\"></div>\\r\\n\"\n + ((stack1 = helpers.unless.call(alias2,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.useRatingSelect : stack1),{\"name\":\"unless\",\"hash\":{},\"fn\":container.program(3, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + \"</div>\\r\\n\\r\\n<div class=\\\"form-group\\\">\\r\\n <label for=\\\"reason-for-edit\\\" class=\\\"font-weight-bold\\\">\"\n + alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,\"reasoningSubheading\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</label>\\r\\n <textarea\\r\\n id=\\\"reason-for-edit\\\"\\r\\n placeholder=\\\"\"\n + alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,\"reasoningPlaceholder\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"\\\"\\r\\n class=\\\"form-control\\\"\\r\\n name=\\\"reason\\\"\\r\\n ></textarea>\\r\\n <div class=\\\"form-feedback\\\"></div>\\r\\n</div>\";\n},\"useData\":true});","import { ObjectHash, Validation } from 'backbone';\r\nimport * as moment from 'moment';\r\n\r\nimport { Core } from 'libs/common/core';\r\n\r\nimport { LanguageService } from 'libs/common/backbone/services/LanguageService';\r\nimport { TimeType } from 'shared/enums';\r\nimport { SelectRatingComponent } from 'shared/components/edit-video/select-rating/SelectRatingComponent';\r\nimport { RatingCollection } from 'shared/collections/RatingCollection';\r\nimport { Rating } from 'shared/models/Rating';\r\n\r\nimport { MetadataType } from 'apps/library-editor/constants';\r\nimport { VideoDetailsHelper } from 'apps/library-editor/utils';\r\n\r\nimport SuggestEditTemplate from './SuggestEdit.hbs';\r\nimport styles from './suggest-edit.scss';\r\n\r\ninterface SuggestEditComponentOptions extends Core.ComponentOptions {\r\n metadataType: MetadataType;\r\n metadataValue?: any;\r\n ratings: RatingCollection;\r\n currentRating: Rating;\r\n ratingValidationMessage?: string;\r\n}\r\n\r\nexport class SuggestEditComponent extends Core.Component {\r\n public options: SuggestEditComponentOptions;\r\n\r\n public constructor(options: SuggestEditComponentOptions) {\r\n super(options);\r\n }\r\n\r\n public get name(): string {\r\n return 'SuggestEditComponent';\r\n }\r\n\r\n public get template(): string {\r\n return SuggestEditTemplate;\r\n }\r\n\r\n public get tagName(): string {\r\n return 'form';\r\n }\r\n\r\n public get className(): string {\r\n return 'mt-3';\r\n }\r\n\r\n public get lang(): string {\r\n return 'libraryEditor.suggestEdit';\r\n }\r\n\r\n public regions(): ObjectHash {\r\n return {\r\n ratingSelect: {\r\n el: '.rating-select-region',\r\n replaceElement: true\r\n }\r\n };\r\n }\r\n\r\n public get bindings(): ObjectHash {\r\n return {\r\n '[name=suggestion]': {\r\n observe: 'suggestion',\r\n setOptions: { validate: true }\r\n },\r\n '[name=reason]': {\r\n observe: 'reason',\r\n setOptions: { validate: true }\r\n }\r\n };\r\n }\r\n\r\n public get elements(): ObjectHash {\r\n return {\r\n ratingValidation: '.rating-form-feedback'\r\n };\r\n }\r\n\r\n private getMetadataValue(): string {\r\n if (this.options.metadataType === MetadataType.BroadcastDate) {\r\n if (!this.options.metadataValue)\r\n return LanguageService.getPhrase(this.lang, 'noMetadataValue');\r\n\r\n return moment(this.options.metadataValue).format(TimeType.FULL_YEAR);\r\n }\r\n\r\n if (this.options.metadataValue instanceof Core.Collection) {\r\n if (!this.options.metadataValue.length)\r\n return LanguageService.getPhrase(this.lang, 'noMetadataValue');\r\n\r\n return this.options.metadataValue.map((value: Core.Model) => value.get('name')).join(', ');\r\n }\r\n\r\n return this.options.metadataValue || LanguageService.getPhrase(this.lang, 'noMetadataValue');\r\n }\r\n\r\n private getSuggestionPlaceholder(): string {\r\n return this.options.metadataType === MetadataType.Other\r\n ? LanguageService.getPhrase(this.lang, 'otherSuggestionPlaceholder')\r\n : LanguageService.getPhrase(this.lang, 'suggestionPlaceholder', {\r\n metadataType: VideoDetailsHelper.translateMetadataName(this.options.metadataType).toLowerCase()\r\n });\r\n }\r\n\r\n private renderRatingSelect(): void {\r\n if (this.options.ratingValidationMessage) {\r\n this.getUI('ratingValidation').text(this.options.ratingValidationMessage).attr('style', 'display: block;');\r\n } else {\r\n this.getUI('ratingValidation').hide();\r\n }\r\n\r\n if (this.options.metadataType !== MetadataType.Rating)\r\n return;\r\n\r\n this.showChildView('ratingSelect', new SelectRatingComponent({\r\n model: this.options.currentRating,\r\n collection: this.options.ratings,\r\n parentChannelName: this.options.channelName,\r\n hideHeaderText: true,\r\n hideRemove: true\r\n }));\r\n }\r\n\r\n public viewOptions(): ObjectHash {\r\n return {\r\n styles,\r\n metadataValue: this.getMetadataValue(),\r\n useRatingSelect: this.options.metadataType === MetadataType.Rating,\r\n isOtherType: this.options.metadataType === MetadataType.Other,\r\n metadataType: VideoDetailsHelper.translateMetadataName(this.options.metadataType).toLowerCase(),\r\n suggestionPlaceholder: this.getSuggestionPlaceholder()\r\n };\r\n }\r\n\r\n public onRender(): void {\r\n this.renderRatingSelect();\r\n\r\n this.stickit();\r\n Validation.bind(this);\r\n }\r\n\r\n public onDestroy(): void {\r\n this.unstickit();\r\n Validation.unbind(this);\r\n }\r\n}","// extracted by mini-css-extract-plugin\nmodule.exports = {\"metadataValue\":\"cv--metadataValue--3nkrW\"};","var Handlebars = require('handlebars');\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"1\":function(container,depth0,helpers,partials,data) {\n var alias1=container.propertyIsEnumerable, alias2=depth0 != null ? depth0 : (container.nullContext || {}), alias3=container.hooks.helperMissing, alias4=container.escapeExpression;\n\n return \"<p>\"\n + alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,\"guidelines\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</p>\\r\\n<p class=\\\"font-weight-bold mb-1\\\">\"\n + alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,\"dropdownHeading\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</p>\\r\\n<div class=\\\"metadata-dropdown-region position-relative\\\"></div>\\r\\n<div class=\\\"suggest-edit-region\\\"></div>\\r\\n\";\n},\"3\":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},\"compiler\":[8,\">= 4.3.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable;\n\n return ((stack1 = helpers[\"if\"].call(depth0 != null ? depth0 : (container.nullContext || {}),((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.dataFetched : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.program(3, data, 0),\"data\":data})) != null ? stack1 : \"\");\n},\"useData\":true});","import * as _ from 'underscore';\r\nimport { ObjectHash } from 'backbone';\r\n\r\nimport { LanguageService } from 'libs/common/backbone/services/LanguageService';\r\nimport { Core } from 'libs/common/core';\r\nimport { InstanceManager } from 'libs/common/backbone/services/InstanceManager';\r\nimport { ViewModelService } from 'libs/common/backbone/services/ViewModelService';\r\nimport { NotificationDataService } from 'libs/shared/apps/notifications/services/NotificationDataService';\r\nimport { SuggestionDescriptor, LocationContext, UserAction, EntityType } from 'libs/analytics/interfaces';\r\nimport { AnalyticsHelper } from 'libs/analytics/AnalyticsHelper';\r\n\r\nimport { RadioChannelHelper, VideoHelper, CollectionHelpers, SpinnerHelper, SpinnerSize } from 'shared/utils';\r\nimport { Video } from 'shared/models/Video';\r\nimport { Metadata } from 'shared/models/Metadata';\r\nimport { User } from 'shared/models/User';\r\nimport { Rating } from 'shared/models/Rating';\r\nimport { Config } from 'shared/models/Config';\r\nimport { DisabledSpinnerModel } from 'shared/models/DisabledSpinnerModel';\r\nimport { UserDataServiceHelper } from 'shared/services/UserDataService';\r\nimport { ConfigDataServiceHelper } from 'shared/services/ConfigDataService';\r\nimport { DataServices, DataChannels, DataPrefixes } from 'shared/constants';\r\nimport { MetadataCollection } from 'shared/collections/MetadataCollection';\r\nimport { RatingCollection } from 'shared/collections/RatingCollection';\r\nimport { SelectComponent } from 'shared/components/select/SelectComponent';\r\nimport { SpinnerButtonModelAttributes } from 'shared/components/spinner-button/SpinnerButtonComponent';\r\nimport { PopupBehavior } from 'shared/behaviors';\r\nimport { MasterObjectTypes } from 'libs/shared/enums/MasterObjectTypes';\r\n\r\nimport { VideoDataService } from 'apps/library-editor/services/VideoDataService';\r\nimport { RatingsDataService } from 'apps/library-editor/services/RatingsDataService';\r\nimport { SuggestEditComponent } from 'apps/library-editor/components/suggest-edit/SuggestEditComponent';\r\nimport { MetadataTypes, MetadataType } from 'apps/library-editor/constants';\r\nimport { SuggestEditValidation, SuggestEditRatingValidation, VideoDetailsHelper } from 'apps/library-editor/utils';\r\nimport { NotificationsHelper } from 'apps/notifications/utils';\r\n\r\nimport SuggestAnEditTemplate from './SuggestAnEdit.hbs';\r\n\r\ninterface SuggestAnEditViewOptions extends Core.ViewOptions {\r\n videoId: string;\r\n metadata?: string;\r\n}\r\n\r\nexport class SuggestAnEditView extends Core.View {\r\n public options: SuggestAnEditViewOptions;\r\n\r\n public model: Video;\r\n private selectedMetadata: Metadata;\r\n private spinnerModel: DisabledSpinnerModel;\r\n\r\n private ratingCollection: RatingCollection;\r\n private metadataCollection: MetadataCollection;\r\n\r\n private videoDataService: VideoDataService;\r\n private ratingsDataService: RatingsDataService;\r\n private notificationDataService: NotificationDataService;\r\n\r\n private currentUser: User;\r\n private config: Config;\r\n\r\n public constructor(options: SuggestAnEditViewOptions) {\r\n super(options);\r\n }\r\n\r\n public initialize(): void {\r\n this.getViewModel();\r\n\r\n this.videoDataService = InstanceManager.getInstance(DataServices.Video, this);\r\n this.ratingsDataService = InstanceManager.getInstance(DataServices.Ratings, this);\r\n this.notificationDataService = InstanceManager.getInstance(DataServices.Notifications, this);\r\n\r\n this.selectedMetadata = new Metadata();\r\n this.metadataCollection = this.getMetadataCollection();\r\n\r\n this.bindListeners();\r\n }\r\n\r\n public get name(): string {\r\n return 'SuggestAnEditView';\r\n }\r\n\r\n public get template(): string {\r\n return SuggestAnEditTemplate;\r\n }\r\n\r\n public get tagName(): string {\r\n return 'form';\r\n }\r\n\r\n public get className(): string {\r\n return 'form-group';\r\n }\r\n\r\n public get lang(): string {\r\n return 'libraryEditor.suggestAnEdit';\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 channelName(): string {\r\n return RadioChannelHelper.generateUniqueChannelName(this);\r\n }\r\n\r\n public get viewModelName(): string {\r\n return `${this.name}:${this.options.videoId}`;\r\n }\r\n\r\n public regions(): ObjectHash {\r\n return {\r\n dropdown: {\r\n el: '.metadata-dropdown-region',\r\n replaceElement: false\r\n },\r\n suggestEdit: {\r\n el: '.suggest-edit-region',\r\n replaceElement: true\r\n }\r\n };\r\n }\r\n\r\n public get behaviors(): any[] {\r\n return [\r\n {\r\n behaviorClass: PopupBehavior,\r\n title: LanguageService.getPhrase(this.lang, 'heading'),\r\n spinnerButtonOptions: {\r\n model: this.spinnerModel = new DisabledSpinnerModel(),\r\n channelName: this.channelName,\r\n buttonText: LanguageService.getPhrase(this.lang, 'submit'),\r\n onClick: () => this.onSubmit()\r\n }\r\n }\r\n ];\r\n }\r\n\r\n public get requiredResources(): Core.RequiredResourceHash {\r\n return {\r\n config: ConfigDataServiceHelper.config,\r\n currentUser: UserDataServiceHelper.currentUser\r\n };\r\n }\r\n\r\n private bindListeners(): void {\r\n this.listenTo(this.channelName, 'select:option:selected', this.onMetadataSelect);\r\n this.listenTo(this.channelName, 'select:rating', this.onSelectRating);\r\n this.listenTo(DataChannels.VIDEO, `${DataPrefixes.VIDEOS}:${this.options.videoId}:sync`, this.render);\r\n this.listenTo(DataChannels.NOTIFICATIONS, `${DataPrefixes.SUGGEST_EDIT}:error`, this.onError);\r\n }\r\n\r\n private onSubmit(): void {\r\n const isValid = this.validateForm();\r\n if (!isValid)\r\n return;\r\n\r\n this.spinnerModel.set(SpinnerButtonModelAttributes.ShowSpinner, true);\r\n\r\n const suggestion = this.selectedMetadata.get('metadataType') === MetadataType.Rating\r\n ? this.viewModel.get('ratingSuggestion')\r\n : this.viewModel.get('suggestion');\r\n\r\n const groupId = this.config.get('suggestEditMetadataGroupId');\r\n\r\n const data = NotificationsHelper.createSuggestEditNotification({\r\n groupId,\r\n countryCode: this.currentUser.get('countryCode'),\r\n video: this.model.toJSON(),\r\n user: this.currentUser.toJSON(),\r\n property: this.selectedMetadata.get('metadataType').toLowerCase(),\r\n suggestion,\r\n reason: this.viewModel.get('reason'),\r\n currentValue: this.selectedMetadata.get('metadataValue')\r\n });\r\n\r\n this.notificationDataService.suggestEdit(data, () => {\r\n this.triggerMethod('hide');\r\n this.spinnerModel.set(SpinnerButtonModelAttributes.ShowSpinner, false);\r\n this.spinnerModel.set(SpinnerButtonModelAttributes.Disabled, true);\r\n });\r\n\r\n this.logAction();\r\n\r\n this.viewModel.clear();\r\n }\r\n\r\n private onError(): void {\r\n this.spinnerModel.set(SpinnerButtonModelAttributes.ShowSpinner, false);\r\n }\r\n\r\n private onMetadataSelect(metadata: Metadata): void {\r\n this.selectMetadata(metadata);\r\n this.renderSuggestEdit();\r\n }\r\n\r\n private onSelectRating(rating: Rating): void {\r\n /**\r\n * A field separate to `suggestion` is used for ratings so that the inputs for\r\n * the other suggestions can be persisted across changes to the metadata selection\r\n * without interference from selecting a rating.\r\n */\r\n this.viewModel.set('ratingSuggestion', rating.get('name'));\r\n this.renderSuggestEdit();\r\n }\r\n\r\n private selectMetadata(metadata: Metadata): void {\r\n this.spinnerModel.set(SpinnerButtonModelAttributes.Disabled, false);\r\n\r\n CollectionHelpers.setSelected(metadata.get('id'), this.metadataCollection);\r\n\r\n this.selectedMetadata.set({\r\n metadataType: metadata.get('name'),\r\n metadataValue: metadata.get('name') !== MetadataType.Other\r\n ? this.model.get(metadata.get('property'))\r\n : null\r\n });\r\n\r\n if (metadata.get('name') !== MetadataType.Rating)\r\n this.viewModel.set('ratingSuggestion', '');\r\n }\r\n\r\n private getMetadataCollection(): MetadataCollection {\r\n return new MetadataCollection(Object.keys(MetadataTypes).map((key: string) => MetadataTypes[key]));\r\n }\r\n\r\n private getMetadataByType(type: string): Metadata {\r\n return this.metadataCollection.findWhere({ name: type });\r\n }\r\n\r\n private getViewModel(): void {\r\n this.viewModel = ViewModelService.get(this.viewModelName);\r\n this.viewModel.addValidation(SuggestEditValidation);\r\n }\r\n\r\n /**\r\n * The view model is manually validated as opposed to using `.isValid()`\r\n * due to the `ratingSuggestion` field not fulfilling the \"required\"\r\n * check for the regular `suggestion` field.\r\n */\r\n private validateForm(): boolean {\r\n this.renderSuggestEdit();\r\n\r\n this.viewModel.validate();\r\n\r\n const { reason, suggestion } = this.viewModel.toJSON();\r\n\r\n if (this.getRatingValidationMessage()) return false;\r\n if (this.selectedMetadata.get('metadataType') !== MetadataType.Rating && !suggestion) return false;\r\n\r\n return !!reason;\r\n }\r\n\r\n private getRatingValidationMessage(): string {\r\n if (this.selectedMetadata.get('metadataType') !== MetadataType.Rating)\r\n return '';\r\n\r\n const currentRating = this.selectedMetadata.get('metadataValue');\r\n const userSelectedRating = this.viewModel.get('ratingSuggestion');\r\n\r\n if (!userSelectedRating)\r\n return SuggestEditRatingValidation.empty();\r\n\r\n if (currentRating === userSelectedRating)\r\n return SuggestEditRatingValidation.original();\r\n\r\n return '';\r\n }\r\n\r\n // Checks for a pre-selected metadata option passed with the applink parameter.\r\n private checkPreselection(): void {\r\n if (this.selectedMetadata.get('metadataType') || !this.options.metadata || !this.dataFetched())\r\n return;\r\n\r\n const preselection: Metadata = this.getMetadataByType(this.options.metadata);\r\n this.selectMetadata(preselection);\r\n }\r\n\r\n private logAction(): void {\r\n let sourceTypes = VideoHelper.getSourceTypes(this.model);\r\n sourceTypes = _.filter(sourceTypes, s => s !== MasterObjectTypes.CustomLibrary);\r\n const videoSourceTypes = _.sortBy(_.unique(sourceTypes), a => a).join(',');\r\n\r\n const data = {\r\n videoSourceTypes,\r\n videoId: this.model.get('id'),\r\n metadataProperty: this.selectedMetadata.get('metadataType'),\r\n metadataPropertyValue: this.selectedMetadata.get('metadataValue'),\r\n suggestion: this.viewModel.get('suggestion'),\r\n reason: this.viewModel.get('reason')\r\n };\r\n\r\n AnalyticsHelper.logUserAction(data, {\r\n descriptor: SuggestionDescriptor.Edit,\r\n location: LocationContext.Popup,\r\n actionType: UserAction.Suggest,\r\n entity: EntityType.Video\r\n });\r\n }\r\n\r\n private dataFetched(): boolean {\r\n return !!this.model && !!this.ratingCollection;\r\n }\r\n\r\n private renderMetadataDropdown(): void {\r\n this.showChildView('dropdown', new SelectComponent({\r\n collection: VideoDetailsHelper.translateMetadataCollectionNames(this.metadataCollection),\r\n channelName: this.channelName,\r\n childOptions: {\r\n titleProperty: 'name',\r\n eventName: 'select:option:click'\r\n },\r\n placeholderText: this.selectedMetadata.get('metadataType') || LanguageService.getPhrase(this.lang, 'dropdownPlaceholder'),\r\n analyticsHelper: AnalyticsHelper\r\n }));\r\n }\r\n\r\n private renderSuggestEdit(): void {\r\n if (!this.selectedMetadata.get('metadataType'))\r\n return;\r\n\r\n this.showChildView('suggestEdit', new SuggestEditComponent({\r\n model: this.viewModel,\r\n channelName: this.channelName,\r\n ratings: this.ratingCollection,\r\n currentRating: this.viewModel.get('ratingSuggestion')\r\n ? new Rating(this.ratingCollection.findWhere({ name: this.viewModel.get('ratingSuggestion') }))\r\n : null,\r\n metadataType: this.selectedMetadata.get('metadataType'),\r\n metadataValue: this.selectedMetadata.get('metadataValue'),\r\n ratingValidationMessage: this.getRatingValidationMessage()\r\n }));\r\n }\r\n\r\n public onBeforeRender(): void {\r\n if (!this.dataFetched()) {\r\n this.model = this.videoDataService.getVideo(this.options.videoId);\r\n this.ratingCollection = this.ratingsDataService.getAllRatings();\r\n }\r\n\r\n this.checkPreselection();\r\n }\r\n\r\n public viewOptions(): ObjectHash {\r\n return {\r\n dataFetched: this.dataFetched(),\r\n spinnerEl: SpinnerHelper.getSpinner({ size: SpinnerSize.Large, extraClasses: 'mx-auto' })\r\n };\r\n }\r\n\r\n public onRender(): void {\r\n if (!this.dataFetched()) return;\r\n\r\n this.renderMetadataDropdown();\r\n this.renderSuggestEdit();\r\n }\r\n}","export enum NotificationChannels {\r\n Email = 0\r\n}","import { ObjectHash } from 'backbone';\r\nimport { NotificationsHelper as SharedNotificationsHelper } from 'libs/shared/apps/notifications/utils/NotificationsHelper';\r\nimport { NotificationType } from 'libs/shared/apps/notifications/enums/NotificationType';\r\nimport { NotificationChannels } from 'apps/notifications/utils/Constants';\r\n\r\nexport const NotificationsHelper = {\r\n ...SharedNotificationsHelper,\r\n createSuggestEditNotification: (data: ObjectHash): ObjectHash => {\r\n return {\r\n _type: NotificationType.SuggestEdit,\r\n groupId: data.groupId,\r\n receiverId: 0, // This is not used, although it is a required field.\r\n countryCode: data.countryCode,\r\n channels: [NotificationChannels.Email],\r\n data: {\r\n video: data.video,\r\n user: data.user,\r\n property: data.property,\r\n suggestion: data.suggestion,\r\n reason: data.reason,\r\n currentValue: data.currentValue\r\n }\r\n };\r\n }\r\n};\r\n","export * from './Constants';\r\nexport * from './NotificationsHelper';\r\n","import * as _ from 'underscore';\r\nimport { ObjectHash } from 'backbone';\r\n\r\nimport { Core } from 'libs/common/core';\r\n\r\nimport { DropdownItemComponent } from 'shared/components/dropdown/DropdownItemComponent';\r\n\r\nexport interface DropdownDisplayOptions {\r\n alignment?: string;\r\n extraClasses?: string;\r\n}\r\n\r\nexport interface DropdownAnalyticsHelper {\r\n logUserAction(data: ObjectHash | ObjectHash[], analyticsOptions: any): void;\r\n}\r\n\r\nexport interface DropdownChildOptions {\r\n channelName?: string;\r\n titleProperty?: string;\r\n eventName?: string;\r\n extraClasses?: string;\r\n prefixHandler?: () => string;\r\n currentSelectedMessage?: string;\r\n isDisabled?: (model: Core.Model) => boolean;\r\n getTooltip?: (model: Core.Model) => ObjectHash;\r\n truncateOptionNames?: boolean;\r\n}\r\n\r\nexport interface DropdownComponentCollectionOptions extends Core.ComponentCollectionOptions {\r\n channelName: string;\r\n childOptions?: DropdownChildOptions;\r\n displayOptions?: DropdownDisplayOptions;\r\n analyticsHelper: DropdownAnalyticsHelper;\r\n}\r\n\r\nexport class DropdownComponentCollection extends Core.ComponentCollection {\r\n public options: DropdownComponentCollectionOptions;\r\n\r\n constructor(options?: DropdownComponentCollectionOptions) {\r\n super(options);\r\n }\r\n\r\n public get name(): string {\r\n return 'DropdownCollectionComponent';\r\n }\r\n\r\n public get className(): string {\r\n return `dropdown-menu items-viewpart ${this.getExtraClasses(this.options.displayOptions)}`;\r\n }\r\n\r\n public get attributes(): ObjectHash {\r\n return {\r\n 'aria-labelledby': 'dropdownSelector'\r\n };\r\n }\r\n\r\n public initialize(): void {\r\n this.listenTo(this.options.channelName, 'center:dropdown', this.centerSelectedItem);\r\n }\r\n\r\n public get childView(): any {\r\n return DropdownItemComponent;\r\n }\r\n\r\n public get childViewOptions(): ObjectHash {\r\n const baseChildOptions: ObjectHash = {\r\n channelName: this.options.channelName,\r\n analyticsHelper: this.options.analyticsHelper\r\n };\r\n\r\n return _.extend(baseChildOptions, this.options.childOptions);\r\n }\r\n\r\n private getExtraClasses(displayOptions: DropdownDisplayOptions = {}): string {\r\n const { alignment = 'left', extraClasses } = displayOptions;\r\n\r\n let className = `dropdown-menu-${alignment}`;\r\n\r\n if (extraClasses)\r\n className = `${className} ${extraClasses}`;\r\n\r\n return className;\r\n }\r\n\r\n private centerSelectedItem(): void {\r\n const active = this.$el.find('.active');\r\n\r\n if (!active.length)\r\n return;\r\n\r\n const halfRatio = 0.5;\r\n const top = this.$el.scrollTop() + active.position().top;\r\n const distance = this.$el.height() * halfRatio + active.height() * halfRatio;\r\n this.$el.scrollTop(top - distance);\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}","import { Core } from 'libs/common/core';\r\n\r\nexport class Metadata extends Core.Model {}"],"sourceRoot":""}
@@ -0,0 +1 @@
1
+ (window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[49],{1065:function(t,n,e){"use strict";e.d(n,"a",(function(){return g}));var o=e(1),i=e(2),r=e(4),a=e(42),s=e(1066),c=e.n(s);function u(t){return(u="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 l(t,n){for(var e=0;e<n.length;e++){var o=n[e];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function p(t,n){return(p=Object.setPrototypeOf||function(t,n){return t.__proto__=n,t})(t,n)}function f(t){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var e,o=y(t);if(n){var i=y(this).constructor;e=Reflect.construct(o,arguments,i)}else e=o.apply(this,arguments);return h(this,e)}}function h(t,n){return!n||"object"!==u(n)&&"function"!=typeof n?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):n}function y(t){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var g=function(t){!function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),n&&p(t,n)}(u,t);var n,e,i,s=f(u);function u(t){return function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,u),s.call(this,t)}return n=u,(e=[{key:"events",value:function(){return{"click .previous-applink":"onClickPrevious","click .next-applink":"onClickNext"}}},{key:"buildCursor",value:function(t){return{application:this.options.appLink.application,action:this.options.appLink.action,args:this.options.appLink.args,params:o.extend({},this.options.appLink.params,(n={},e=this.options.cursorParamName,i=t,e in n?Object.defineProperty(n,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[e]=i,n))};var n,e,i}},{key:"onClickPrevious",value:function(){this.logAction("previous")}},{key:"onClickNext",value:function(){this.logAction("next")}},{key:"logAction",value:function(t){var n=a.a.mergeOptions(this.options.analyticsOptions,{location:r.k.Pagination,entity:r.e.Pagination,actionType:r.q.Navigate}),e={id:this.options.collectionId,page:t};a.a.logUserAction(e,n)}},{key:"viewOptions",value:function(){return{cursors:this.options.cursors}}},{key:"onBeforeRender",value:function(){return!!this.options.cursors}},{key:"defaults",get:function(){return{cursors:{},cursorParamName:"cursor"}}},{key:"name",get:function(){return"PaginationComponent"}},{key:"template",get:function(){return c.a}},{key:"lang",get:function(){return"shared._pagination"}},{key:"appLinks",get:function(){var t={};if(!this.options.cursors)return{};if(this.options.cursors.previous){var n=this.options.cursors.previous,e=this.buildCursor(this.options.cursors.previous);+n<=1&&!0!==this.options.allowFirstPageCursor&&delete e.params.cursor,t[".previous-applink"]=e}return this.options.cursors.next&&(t[".next-applink"]=this.buildCursor(this.options.cursors.next)),t}}])&&l(n.prototype,e),i&&l(n,i),u}(i.a.Component)},1066:function(t,n,e){var o=e(10);t.exports=(o.default||o).template({1:function(t,n,e,o,i){return"disabled"},compiler:[8,">= 4.3.0"],main:function(t,n,e,o,i){t.propertyIsEnumerable;var r,a=null!=n?n:t.nullContext||{},s=t.hooks.helperMissing,c=t.escapeExpression;return'<div class="p-3">\r\n <a class="btn previous-applink btn-secondary '+(null!=(r=e.unless.call(a,null!=(r=null!=(r=null!=n?n.options:n)?r.cursors:r)?r.previous:r,{name:"unless",hash:{},fn:t.program(1,i,0),inverse:t.noop,data:i}))?r:"")+'">'+c((e.lang||n&&n.lang||s).call(a,"previous",{name:"lang",hash:{},data:i}))+'</a>\r\n <a class="btn next-applink btn-secondary '+(null!=(r=e.unless.call(a,null!=(r=null!=(r=null!=n?n.options:n)?r.cursors:r)?r.next:r,{name:"unless",hash:{},fn:t.program(1,i,0),inverse:t.noop,data:i}))?r:"")+'">'+c((e.lang||n&&n.lang||s).call(a,"next",{name:"lang",hash:{},data:i}))+"</a>\r\n</div>"},useData:!0})},1342:function(t,n,e){var o=e(10);t.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(t,n,e,o,i){t.propertyIsEnumerable;return'<div class="container-fluid bg-white p-3">\r\n <h1 class="h3 header border-bottom pb-2 m-0">'+t.escapeExpression((e.lang||n&&n.lang||t.hooks.helperMissing).call(null!=n?n:t.nullContext||{},"notifications",{name:"lang",hash:{},data:i}))+'</h1>\r\n <div class="list-region"></div>\r\n <div class="pagination-region"></div>\r\n</div>'},useData:!0})},1445:function(t,n,e){"use strict";e.r(n),e.d(n,"NotificationsView",(function(){return x}));var o=e(2),i=e(3),r=e(5),a=e(25),s=e(53),c=e(22),u=e(46),l=e(188),p=e(1065),f=e(223),h=e(1342),y=e.n(h),g=e(414),v=e.n(g),b=e(415),d=e.n(b);function m(t){return(m="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 k(t,n){for(var e=0;e<n.length;e++){var o=n[e];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function w(t,n){return(w=Object.setPrototypeOf||function(t,n){return t.__proto__=n,t})(t,n)}function O(t){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var e,o=C(t);if(n){var i=C(this).constructor;e=Reflect.construct(o,arguments,i)}else e=o.apply(this,arguments);return P(this,e)}}function P(t,n){return!n||"object"!==m(n)&&"function"!=typeof n?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):n}function C(t){return(C=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var x=function(t){!function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),n&&w(t,n)}(g,t);var n,e,o,h=O(g);function g(t){return function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,g),h.call(this,t)}return n=g,(e=[{key:"regions",value:function(){return{notifications:{replaceElement:!0,el:".list-region",partialLoading:{component:a.a.ComponentCollection,options:{collectionLength:5,childOptions:{template:v.a,className:"px-1 py-2",viewOptions:{styles:d.a}}}}},pagination:{replaceElement:!0,el:".pagination-region"}}}},{key:"initialize",value:function(){this.notificationService=r.a.getInstance(c.b.Notification,this),this.appVariables=r.a.getInstance(u.a.NOTIFICATIONS,this)}},{key:"onData",value:function(t){this.collection=t,this.render()}},{key:"getCollectionIdentifier",value:function(){return this.collectionIdentifier?this.collectionIdentifier:this.collectionIdentifier=new l.a(Object.assign({collectionPrefix:s.a.NOTIFICATIONS},this.options.params))}},{key:"renderNotificationList",value:function(){var t=new f.b({collection:this.collection,childType:f.a.Default});this.showChildView("notifications",t)}},{key:"renderPagination",value:function(){if(this.collection.length){var t=this.notificationService.getNotificationsCursors(this.getCollectionIdentifier()),n=new p.a({cursors:t,appLink:Object.assign(Object.assign({},this.appVariables.appLinks.notifications),{args:[],params:this.getCollectionIdentifier().toParams()})});this.showChildView("pagination",n)}}},{key:"onBeforeRender",value:function(){var t=this;return this.collection||this.notificationService.getNotifications(this.options.params,this.getCollectionIdentifier(),(function(n){return t.onData(n)})),!!this.collection}},{key:"onRender",value:function(){this.renderNotificationList(),this.renderPagination()}},{key:"name",get:function(){return"NotificationsView"}},{key:"title",get:function(){return i.a.getPhrase(this.lang,"title")}},{key:"lang",get:function(){return"notifications.notifications"}},{key:"className",get:function(){return"notifications-container"}},{key:"template",get:function(){return y.a}}])&&k(n.prototype,e),o&&k(n,o),g}(o.a.View)}}]);
@@ -0,0 +1 @@
1
+ (window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[49],{1060:function(t,n,e){"use strict";e.d(n,"a",(function(){return g}));var o=e(1),i=e(2),r=e(4),a=e(42),s=e(1061),c=e.n(s);function u(t){return(u="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 l(t,n){for(var e=0;e<n.length;e++){var o=n[e];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function p(t,n){return(p=Object.setPrototypeOf||function(t,n){return t.__proto__=n,t})(t,n)}function f(t){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var e,o=y(t);if(n){var i=y(this).constructor;e=Reflect.construct(o,arguments,i)}else e=o.apply(this,arguments);return h(this,e)}}function h(t,n){return!n||"object"!==u(n)&&"function"!=typeof n?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):n}function y(t){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var g=function(t){!function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),n&&p(t,n)}(u,t);var n,e,i,s=f(u);function u(t){return function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,u),s.call(this,t)}return n=u,(e=[{key:"events",value:function(){return{"click .previous-applink":"onClickPrevious","click .next-applink":"onClickNext"}}},{key:"buildCursor",value:function(t){return{application:this.options.appLink.application,action:this.options.appLink.action,args:this.options.appLink.args,params:o.extend({},this.options.appLink.params,(n={},e=this.options.cursorParamName,i=t,e in n?Object.defineProperty(n,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[e]=i,n))};var n,e,i}},{key:"onClickPrevious",value:function(){this.logAction("previous")}},{key:"onClickNext",value:function(){this.logAction("next")}},{key:"logAction",value:function(t){var n=a.a.mergeOptions(this.options.analyticsOptions,{location:r.k.Pagination,entity:r.e.Pagination,actionType:r.q.Navigate}),e={id:this.options.collectionId,page:t};a.a.logUserAction(e,n)}},{key:"viewOptions",value:function(){return{cursors:this.options.cursors}}},{key:"onBeforeRender",value:function(){return!!this.options.cursors}},{key:"defaults",get:function(){return{cursors:{},cursorParamName:"cursor"}}},{key:"name",get:function(){return"PaginationComponent"}},{key:"template",get:function(){return c.a}},{key:"lang",get:function(){return"shared._pagination"}},{key:"appLinks",get:function(){var t={};if(!this.options.cursors)return{};if(this.options.cursors.previous){var n=this.options.cursors.previous,e=this.buildCursor(this.options.cursors.previous);+n<=1&&!0!==this.options.allowFirstPageCursor&&delete e.params.cursor,t[".previous-applink"]=e}return this.options.cursors.next&&(t[".next-applink"]=this.buildCursor(this.options.cursors.next)),t}}])&&l(n.prototype,e),i&&l(n,i),u}(i.a.Component)},1061:function(t,n,e){var o=e(10);t.exports=(o.default||o).template({1:function(t,n,e,o,i){return"disabled"},compiler:[8,">= 4.3.0"],main:function(t,n,e,o,i){t.propertyIsEnumerable;var r,a=null!=n?n:t.nullContext||{},s=t.hooks.helperMissing,c=t.escapeExpression;return'<div class="p-3">\r\n <a class="btn previous-applink btn-secondary '+(null!=(r=e.unless.call(a,null!=(r=null!=(r=null!=n?n.options:n)?r.cursors:r)?r.previous:r,{name:"unless",hash:{},fn:t.program(1,i,0),inverse:t.noop,data:i}))?r:"")+'">'+c((e.lang||n&&n.lang||s).call(a,"previous",{name:"lang",hash:{},data:i}))+'</a>\r\n <a class="btn next-applink btn-secondary '+(null!=(r=e.unless.call(a,null!=(r=null!=(r=null!=n?n.options:n)?r.cursors:r)?r.next:r,{name:"unless",hash:{},fn:t.program(1,i,0),inverse:t.noop,data:i}))?r:"")+'">'+c((e.lang||n&&n.lang||s).call(a,"next",{name:"lang",hash:{},data:i}))+"</a>\r\n</div>"},useData:!0})},1335:function(t,n,e){var o=e(10);t.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(t,n,e,o,i){t.propertyIsEnumerable;return'<div class="container-fluid bg-white p-3">\r\n <h1 class="h3 header border-bottom pb-2 m-0">'+t.escapeExpression((e.lang||n&&n.lang||t.hooks.helperMissing).call(null!=n?n:t.nullContext||{},"notifications",{name:"lang",hash:{},data:i}))+'</h1>\r\n <div class="list-region"></div>\r\n <div class="pagination-region"></div>\r\n</div>'},useData:!0})},1438:function(t,n,e){"use strict";e.r(n),e.d(n,"NotificationsView",(function(){return x}));var o=e(2),i=e(3),r=e(5),a=e(25),s=e(53),c=e(22),u=e(46),l=e(188),p=e(1060),f=e(223),h=e(1335),y=e.n(h),g=e(413),v=e.n(g),b=e(414),d=e.n(b);function m(t){return(m="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 k(t,n){for(var e=0;e<n.length;e++){var o=n[e];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function w(t,n){return(w=Object.setPrototypeOf||function(t,n){return t.__proto__=n,t})(t,n)}function O(t){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var e,o=C(t);if(n){var i=C(this).constructor;e=Reflect.construct(o,arguments,i)}else e=o.apply(this,arguments);return P(this,e)}}function P(t,n){return!n||"object"!==m(n)&&"function"!=typeof n?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):n}function C(t){return(C=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var x=function(t){!function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),n&&w(t,n)}(g,t);var n,e,o,h=O(g);function g(t){return function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,g),h.call(this,t)}return n=g,(e=[{key:"regions",value:function(){return{notifications:{replaceElement:!0,el:".list-region",partialLoading:{component:a.a.ComponentCollection,options:{collectionLength:5,childOptions:{template:v.a,className:"px-1 py-2",viewOptions:{styles:d.a}}}}},pagination:{replaceElement:!0,el:".pagination-region"}}}},{key:"initialize",value:function(){this.notificationService=r.a.getInstance(c.b.Notification,this),this.appVariables=r.a.getInstance(u.a.NOTIFICATIONS,this)}},{key:"onData",value:function(t){this.collection=t,this.render()}},{key:"getCollectionIdentifier",value:function(){return this.collectionIdentifier?this.collectionIdentifier:this.collectionIdentifier=new l.a(Object.assign({collectionPrefix:s.a.NOTIFICATIONS},this.options.params))}},{key:"renderNotificationList",value:function(){var t=new f.b({collection:this.collection,childType:f.a.Default});this.showChildView("notifications",t)}},{key:"renderPagination",value:function(){if(this.collection.length){var t=this.notificationService.getNotificationsCursors(this.getCollectionIdentifier()),n=new p.a({cursors:t,appLink:Object.assign(Object.assign({},this.appVariables.appLinks.notifications),{args:[],params:this.getCollectionIdentifier().toParams()})});this.showChildView("pagination",n)}}},{key:"onBeforeRender",value:function(){var t=this;return this.collection||this.notificationService.getNotifications(this.options.params,this.getCollectionIdentifier(),(function(n){return t.onData(n)})),!!this.collection}},{key:"onRender",value:function(){this.renderNotificationList(),this.renderPagination()}},{key:"name",get:function(){return"NotificationsView"}},{key:"title",get:function(){return i.a.getPhrase(this.lang,"title")}},{key:"lang",get:function(){return"notifications.notifications"}},{key:"className",get:function(){return"notifications-container"}},{key:"template",get:function(){return y.a}}])&&k(n.prototype,e),o&&k(n,o),g}(o.a.View)}}]);
@@ -0,0 +1 @@
1
+ (window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[49],{1064:function(t,n,e){"use strict";e.d(n,"a",(function(){return g}));var o=e(1),i=e(2),r=e(4),a=e(42),s=e(1065),c=e.n(s);function u(t){return(u="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 l(t,n){for(var e=0;e<n.length;e++){var o=n[e];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function p(t,n){return(p=Object.setPrototypeOf||function(t,n){return t.__proto__=n,t})(t,n)}function f(t){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var e,o=y(t);if(n){var i=y(this).constructor;e=Reflect.construct(o,arguments,i)}else e=o.apply(this,arguments);return h(this,e)}}function h(t,n){return!n||"object"!==u(n)&&"function"!=typeof n?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):n}function y(t){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var g=function(t){!function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),n&&p(t,n)}(u,t);var n,e,i,s=f(u);function u(t){return function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,u),s.call(this,t)}return n=u,(e=[{key:"events",value:function(){return{"click .previous-applink":"onClickPrevious","click .next-applink":"onClickNext"}}},{key:"buildCursor",value:function(t){return{application:this.options.appLink.application,action:this.options.appLink.action,args:this.options.appLink.args,params:o.extend({},this.options.appLink.params,(n={},e=this.options.cursorParamName,i=t,e in n?Object.defineProperty(n,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[e]=i,n))};var n,e,i}},{key:"onClickPrevious",value:function(){this.logAction("previous")}},{key:"onClickNext",value:function(){this.logAction("next")}},{key:"logAction",value:function(t){var n=a.a.mergeOptions(this.options.analyticsOptions,{location:r.k.Pagination,entity:r.e.Pagination,actionType:r.q.Navigate}),e={id:this.options.collectionId,page:t};a.a.logUserAction(e,n)}},{key:"viewOptions",value:function(){return{cursors:this.options.cursors}}},{key:"onBeforeRender",value:function(){return!!this.options.cursors}},{key:"defaults",get:function(){return{cursors:{},cursorParamName:"cursor"}}},{key:"name",get:function(){return"PaginationComponent"}},{key:"template",get:function(){return c.a}},{key:"lang",get:function(){return"shared._pagination"}},{key:"appLinks",get:function(){var t={};if(!this.options.cursors)return{};if(this.options.cursors.previous){var n=this.options.cursors.previous,e=this.buildCursor(this.options.cursors.previous);+n<=1&&!0!==this.options.allowFirstPageCursor&&delete e.params.cursor,t[".previous-applink"]=e}return this.options.cursors.next&&(t[".next-applink"]=this.buildCursor(this.options.cursors.next)),t}}])&&l(n.prototype,e),i&&l(n,i),u}(i.a.Component)},1065:function(t,n,e){var o=e(10);t.exports=(o.default||o).template({1:function(t,n,e,o,i){return"disabled"},compiler:[8,">= 4.3.0"],main:function(t,n,e,o,i){t.propertyIsEnumerable;var r,a=null!=n?n:t.nullContext||{},s=t.hooks.helperMissing,c=t.escapeExpression;return'<div class="p-3">\r\n <a class="btn previous-applink btn-secondary '+(null!=(r=e.unless.call(a,null!=(r=null!=(r=null!=n?n.options:n)?r.cursors:r)?r.previous:r,{name:"unless",hash:{},fn:t.program(1,i,0),inverse:t.noop,data:i}))?r:"")+'">'+c((e.lang||n&&n.lang||s).call(a,"previous",{name:"lang",hash:{},data:i}))+'</a>\r\n <a class="btn next-applink btn-secondary '+(null!=(r=e.unless.call(a,null!=(r=null!=(r=null!=n?n.options:n)?r.cursors:r)?r.next:r,{name:"unless",hash:{},fn:t.program(1,i,0),inverse:t.noop,data:i}))?r:"")+'">'+c((e.lang||n&&n.lang||s).call(a,"next",{name:"lang",hash:{},data:i}))+"</a>\r\n</div>"},useData:!0})},1341:function(t,n,e){var o=e(10);t.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(t,n,e,o,i){t.propertyIsEnumerable;return'<div class="container-fluid bg-white p-3">\r\n <h1 class="h3 header border-bottom pb-2 m-0">'+t.escapeExpression((e.lang||n&&n.lang||t.hooks.helperMissing).call(null!=n?n:t.nullContext||{},"notifications",{name:"lang",hash:{},data:i}))+'</h1>\r\n <div class="list-region"></div>\r\n <div class="pagination-region"></div>\r\n</div>'},useData:!0})},1444:function(t,n,e){"use strict";e.r(n),e.d(n,"NotificationsView",(function(){return x}));var o=e(2),i=e(3),r=e(5),a=e(25),s=e(53),c=e(22),u=e(46),l=e(188),p=e(1064),f=e(223),h=e(1341),y=e.n(h),g=e(414),v=e.n(g),b=e(415),d=e.n(b);function m(t){return(m="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 k(t,n){for(var e=0;e<n.length;e++){var o=n[e];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function w(t,n){return(w=Object.setPrototypeOf||function(t,n){return t.__proto__=n,t})(t,n)}function O(t){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var e,o=C(t);if(n){var i=C(this).constructor;e=Reflect.construct(o,arguments,i)}else e=o.apply(this,arguments);return P(this,e)}}function P(t,n){return!n||"object"!==m(n)&&"function"!=typeof n?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):n}function C(t){return(C=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var x=function(t){!function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),n&&w(t,n)}(g,t);var n,e,o,h=O(g);function g(t){return function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,g),h.call(this,t)}return n=g,(e=[{key:"regions",value:function(){return{notifications:{replaceElement:!0,el:".list-region",partialLoading:{component:a.a.ComponentCollection,options:{collectionLength:5,childOptions:{template:v.a,className:"px-1 py-2",viewOptions:{styles:d.a}}}}},pagination:{replaceElement:!0,el:".pagination-region"}}}},{key:"initialize",value:function(){this.notificationService=r.a.getInstance(c.b.Notification,this),this.appVariables=r.a.getInstance(u.a.NOTIFICATIONS,this)}},{key:"onData",value:function(t){this.collection=t,this.render()}},{key:"getCollectionIdentifier",value:function(){return this.collectionIdentifier?this.collectionIdentifier:this.collectionIdentifier=new l.a(Object.assign({collectionPrefix:s.a.NOTIFICATIONS},this.options.params))}},{key:"renderNotificationList",value:function(){var t=new f.b({collection:this.collection,childType:f.a.Default});this.showChildView("notifications",t)}},{key:"renderPagination",value:function(){if(this.collection.length){var t=this.notificationService.getNotificationsCursors(this.getCollectionIdentifier()),n=new p.a({cursors:t,appLink:Object.assign(Object.assign({},this.appVariables.appLinks.notifications),{args:[],params:this.getCollectionIdentifier().toParams()})});this.showChildView("pagination",n)}}},{key:"onBeforeRender",value:function(){var t=this;return this.collection||this.notificationService.getNotifications(this.options.params,this.getCollectionIdentifier(),(function(n){return t.onData(n)})),!!this.collection}},{key:"onRender",value:function(){this.renderNotificationList(),this.renderPagination()}},{key:"name",get:function(){return"NotificationsView"}},{key:"title",get:function(){return i.a.getPhrase(this.lang,"title")}},{key:"lang",get:function(){return"notifications.notifications"}},{key:"className",get:function(){return"notifications-container"}},{key:"template",get:function(){return y.a}}])&&k(n.prototype,e),o&&k(n,o),g}(o.a.View)}}]);