@clickview/library-editor 1.1.22 → 1.1.23-dev.1

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 (466) 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/20.chunk.css +8 -0
  15. package/dist/css/21.chunk.css +10 -8
  16. package/dist/css/21.chunk.css.map +1 -0
  17. package/dist/css/22.chunk.css +14 -8
  18. package/dist/css/22.chunk.css.map +1 -0
  19. package/dist/css/23.chunk.css +9 -9
  20. package/dist/css/23.chunk.css.map +1 -0
  21. package/dist/css/24.chunk.css +11 -7
  22. package/dist/css/25.chunk.css +7 -7
  23. package/dist/css/25.chunk.css.map +1 -0
  24. package/dist/css/26.chunk.css +9 -5
  25. package/dist/css/26.chunk.css.map +1 -0
  26. package/dist/css/27.chunk.css +5 -5
  27. package/dist/css/28.chunk.css +6 -4
  28. package/dist/css/28.chunk.css.map +1 -0
  29. package/dist/css/29.chunk.css +4 -4
  30. package/dist/css/29.chunk.css.map +1 -0
  31. package/dist/css/3.chunk.css.map +1 -0
  32. package/dist/css/30.chunk.css +4 -4
  33. package/dist/css/30.chunk.css.map +1 -0
  34. package/dist/css/31.chunk.css +5 -3
  35. package/dist/css/31.chunk.css.map +1 -0
  36. package/dist/css/32.chunk.css +2 -0
  37. package/dist/css/32.chunk.css.map +1 -0
  38. package/dist/css/33.chunk.css +4 -0
  39. package/dist/css/33.chunk.css.map +1 -0
  40. package/dist/css/34.chunk.css +21 -0
  41. package/dist/css/34.chunk.css.map +1 -0
  42. package/dist/css/35.chunk.css +20 -0
  43. package/dist/css/35.chunk.css.map +1 -0
  44. package/dist/css/36.chunk.css +12 -2
  45. package/dist/css/36.chunk.css.map +1 -0
  46. package/dist/css/37.chunk.css +2 -2
  47. package/dist/css/37.chunk.css.map +1 -0
  48. package/dist/css/38.chunk.css +3 -1
  49. package/dist/css/38.chunk.css.map +1 -0
  50. package/dist/css/40.chunk.css +1 -3
  51. package/dist/css/40.chunk.css.map +1 -0
  52. package/dist/css/41.chunk.css +2 -2
  53. package/dist/css/41.chunk.css.map +1 -0
  54. package/dist/css/42.chunk.css +3 -1
  55. package/dist/css/42.chunk.css.map +1 -0
  56. package/dist/css/43.chunk.css +1 -1
  57. package/dist/css/43.chunk.css.map +1 -0
  58. package/dist/css/44.chunk.css +1 -1
  59. package/dist/css/44.chunk.css.map +1 -0
  60. package/dist/css/45.chunk.css +1 -1
  61. package/dist/css/45.chunk.css.map +1 -0
  62. package/dist/css/46.chunk.css +1 -1
  63. package/dist/css/46.chunk.css.map +1 -0
  64. package/dist/css/47.chunk.css +1 -1
  65. package/dist/css/47.chunk.css.map +1 -0
  66. package/dist/css/48.chunk.css +2 -0
  67. package/dist/css/48.chunk.css.map +1 -0
  68. package/dist/css/49.chunk.css +34 -1
  69. package/dist/css/49.chunk.css.map +1 -0
  70. package/dist/css/50.chunk.css +1 -1
  71. package/dist/css/50.chunk.css.map +1 -0
  72. package/dist/css/51.chunk.css +2 -0
  73. package/dist/css/51.chunk.css.map +1 -0
  74. package/dist/css/52.chunk.css +66 -0
  75. package/dist/css/52.chunk.css.map +1 -0
  76. package/dist/css/54.chunk.css +1 -1
  77. package/dist/css/55.chunk.css +1 -1
  78. package/dist/css/55.chunk.css.map +1 -0
  79. package/dist/css/56.chunk.css +1 -1
  80. package/dist/css/56.chunk.css.map +1 -0
  81. package/dist/css/57.chunk.css +1 -1
  82. package/dist/css/58.chunk.css +1 -1
  83. package/dist/css/58.chunk.css.map +1 -0
  84. package/dist/css/59.chunk.css +2 -0
  85. package/dist/css/59.chunk.css.map +1 -0
  86. package/dist/css/6.chunk.css.map +1 -0
  87. package/dist/css/60.chunk.css +17 -1
  88. package/dist/css/60.chunk.css.map +1 -0
  89. package/dist/css/61.chunk.css +1 -1
  90. package/dist/css/62.chunk.css +2 -0
  91. package/dist/css/62.chunk.css.map +1 -0
  92. package/dist/css/63.chunk.css +170 -0
  93. package/dist/css/63.chunk.css.map +1 -0
  94. package/dist/css/67.chunk.css +78 -0
  95. package/dist/css/67.chunk.css.map +1 -0
  96. package/dist/css/68.chunk.css +17 -0
  97. package/dist/css/68.chunk.css.map +1 -0
  98. package/dist/css/69.chunk.css +17 -0
  99. package/dist/css/69.chunk.css.map +1 -0
  100. package/dist/css/7.chunk.css.map +1 -0
  101. package/dist/css/70.chunk.css +23 -0
  102. package/dist/css/70.chunk.css.map +1 -0
  103. package/dist/css/71.chunk.css +40 -0
  104. package/dist/css/71.chunk.css.map +1 -0
  105. package/dist/css/72.chunk.css +16 -0
  106. package/dist/css/72.chunk.css.map +1 -0
  107. package/dist/css/73.chunk.css +37 -0
  108. package/dist/css/73.chunk.css.map +1 -0
  109. package/dist/css/74.chunk.css +29 -0
  110. package/dist/css/74.chunk.css.map +1 -0
  111. package/dist/css/75.chunk.css +6 -0
  112. package/dist/css/75.chunk.css.map +1 -0
  113. package/dist/css/76.chunk.css +6 -0
  114. package/dist/css/76.chunk.css.map +1 -0
  115. package/dist/css/8.chunk.css.map +1 -0
  116. package/dist/css/library-editor-app.css.map +1 -0
  117. package/dist/libs/analytics/src/clients/CollectionApiClient.d.ts +3 -1
  118. package/dist/libs/analytics/src/interfaces/AnalyticsTypes.d.ts +5 -6
  119. package/dist/libs/analytics/src/interfaces/User.d.ts +11 -0
  120. package/dist/libs/analytics/src/models/CollectionEvent.d.ts +6 -0
  121. package/dist/libs/analytics/src/utils/CollectionApiClientHelper.d.ts +1 -1
  122. package/dist/libs/analytics/src/utils/UrlHelper.d.ts +3 -0
  123. package/dist/libs/analytics/src/utils/VideoAnalyticsTracker.d.ts +2 -1
  124. package/dist/libs/common/src/backbone/services/data-providers/SignalRDataProvider.d.ts +3 -3
  125. package/dist/libs/common/src/backbone/utils/UrlHelper.d.ts +1 -0
  126. package/dist/libs/shared/src/enums/PlaylistPrivacy.d.ts +5 -0
  127. package/dist/libs/shared/src/enums/PresentationType.d.ts +4 -0
  128. package/dist/libs/shared/src/enums/SettingKind.d.ts +4 -0
  129. package/dist/libs/shared/src/enums/SettingName.d.ts +3 -0
  130. package/dist/libs/shared/src/interfaces/collections/VideoHistoryCollection.d.ts +4 -0
  131. package/dist/libs/shared/src/interfaces/collections/index.d.ts +1 -0
  132. package/dist/libs/shared/src/interfaces/models/EntitySetting.d.ts +9 -0
  133. package/dist/libs/shared/src/interfaces/models/Library.d.ts +2 -0
  134. package/dist/libs/shared/src/interfaces/models/Playlist.d.ts +4 -1
  135. package/dist/libs/shared/src/interfaces/models/Presentation.d.ts +3 -0
  136. package/dist/libs/shared/src/interfaces/models/Video.d.ts +4 -2
  137. package/dist/libs/shared/src/interfaces/models/VideoHistory.d.ts +9 -0
  138. package/dist/libs/shared/src/interfaces/models/Widget.d.ts +2 -1
  139. package/dist/libs/shared/src/interfaces/models/index.d.ts +3 -1
  140. package/dist/projects/library-editor/src/app.d.ts +0 -2
  141. package/dist/projects/library-editor/src/polyfills.d.ts +2 -0
  142. package/dist/scripts/0-09e1e33a5c.chunk.js +1 -0
  143. package/dist/scripts/0.chunk.js +1034 -0
  144. package/dist/scripts/0.chunk.js.map +1 -0
  145. package/dist/scripts/{1-2de58388ac.chunk.js → 1-a66bb44471.chunk.js} +1 -1
  146. package/dist/scripts/1.chunk.js +442 -0
  147. package/dist/scripts/1.chunk.js.map +1 -0
  148. package/dist/scripts/10-6c79d8c6f9.chunk.js +1 -0
  149. package/dist/scripts/10.chunk.js +820 -0
  150. package/dist/scripts/10.chunk.js.map +1 -0
  151. package/dist/scripts/{11-7e6fa27e09.chunk.js → 11-6eef9e160e.chunk.js} +1 -1
  152. package/dist/scripts/11.chunk.js +4091 -0
  153. package/dist/scripts/11.chunk.js.map +1 -0
  154. package/dist/scripts/12-dbffa50a92.chunk.js +1 -0
  155. package/dist/scripts/12.chunk.js +555 -0
  156. package/dist/scripts/12.chunk.js.map +1 -0
  157. package/dist/scripts/13-37e5cfab3e.chunk.js +1 -0
  158. package/dist/scripts/13.chunk.js +373 -0
  159. package/dist/scripts/13.chunk.js.map +1 -0
  160. package/dist/scripts/14-b524fbd295.chunk.js +1 -0
  161. package/dist/scripts/14.chunk.js +2386 -0
  162. package/dist/scripts/14.chunk.js.map +1 -0
  163. package/dist/scripts/{15-bfba4ec28c.chunk.js → 15-1ff1252d1a.chunk.js} +1 -1
  164. package/dist/scripts/15.chunk.js +314 -0
  165. package/dist/scripts/15.chunk.js.map +1 -0
  166. package/dist/scripts/16-b27142fe98.chunk.js +1 -0
  167. package/dist/scripts/16.chunk.js +1290 -0
  168. package/dist/scripts/16.chunk.js.map +1 -0
  169. package/dist/scripts/17-c3bbe50816.chunk.js +1 -0
  170. package/dist/scripts/17.chunk.js +381 -0
  171. package/dist/scripts/17.chunk.js.map +1 -0
  172. package/dist/scripts/18.chunk.js +393 -0
  173. package/dist/scripts/18.chunk.js.map +1 -0
  174. package/dist/scripts/19.chunk.js +364 -0
  175. package/dist/scripts/19.chunk.js.map +1 -0
  176. package/dist/scripts/{2-4e0702e404.chunk.js → 2-2cc3988222.chunk.js} +1 -1
  177. package/dist/scripts/2.chunk.js +523 -0
  178. package/dist/scripts/2.chunk.js.map +1 -0
  179. package/dist/scripts/20-6d9086f5db.chunk.js +1 -0
  180. package/dist/scripts/20.chunk.js +317 -0
  181. package/dist/scripts/20.chunk.js.map +1 -0
  182. package/dist/scripts/21-2f10553302.chunk.js +1 -0
  183. package/dist/scripts/21.chunk.js +531 -0
  184. package/dist/scripts/21.chunk.js.map +1 -0
  185. package/dist/scripts/22-59ae44b448.chunk.js +1 -0
  186. package/dist/scripts/22.chunk.js +354 -0
  187. package/dist/scripts/22.chunk.js.map +1 -0
  188. package/dist/scripts/23-11e008ee63.chunk.js +1 -0
  189. package/dist/scripts/23.chunk.js +604 -0
  190. package/dist/scripts/23.chunk.js.map +1 -0
  191. package/dist/scripts/24-7f21e384d2.chunk.js +1 -0
  192. package/dist/scripts/24.chunk.js +318 -0
  193. package/dist/scripts/24.chunk.js.map +1 -0
  194. package/dist/scripts/25-f0f7fa16a4.chunk.js +1 -0
  195. package/dist/scripts/25.chunk.js +365 -0
  196. package/dist/scripts/25.chunk.js.map +1 -0
  197. package/dist/scripts/26-e65533bd94.chunk.js +1 -0
  198. package/dist/scripts/26.chunk.js +442 -0
  199. package/dist/scripts/26.chunk.js.map +1 -0
  200. package/dist/scripts/27-9dc0f5a4df.chunk.js +1 -0
  201. package/dist/scripts/27.chunk.js +3630 -0
  202. package/dist/scripts/27.chunk.js.map +1 -0
  203. package/dist/scripts/28-26e5c371c7.chunk.js +1 -0
  204. package/dist/scripts/28.chunk.js +3173 -0
  205. package/dist/scripts/28.chunk.js.map +1 -0
  206. package/dist/scripts/29-61415c2af0.chunk.js +1 -0
  207. package/dist/scripts/29.chunk.js +3088 -0
  208. package/dist/scripts/29.chunk.js.map +1 -0
  209. package/dist/scripts/{3-e5c7b6f664.chunk.js → 3-5eff8c9df5.chunk.js} +1 -1
  210. package/dist/scripts/3.chunk.js +833 -0
  211. package/dist/scripts/3.chunk.js.map +1 -0
  212. package/dist/scripts/30-6075c28972.chunk.js +1 -0
  213. package/dist/scripts/30.chunk.js +1852 -0
  214. package/dist/scripts/30.chunk.js.map +1 -0
  215. package/dist/scripts/31-e35ae4e153.chunk.js +1 -0
  216. package/dist/scripts/31.chunk.js +958 -0
  217. package/dist/scripts/31.chunk.js.map +1 -0
  218. package/dist/scripts/32-d5a50a7592.chunk.js +1 -0
  219. package/dist/scripts/32.chunk.js +1235 -0
  220. package/dist/scripts/32.chunk.js.map +1 -0
  221. package/dist/scripts/33-5ae90ed7d7.chunk.js +1 -0
  222. package/dist/scripts/33.chunk.js +792 -0
  223. package/dist/scripts/33.chunk.js.map +1 -0
  224. package/dist/scripts/{33-fc12af4a2f.chunk.js → 34-50402c1835.chunk.js} +1 -1
  225. package/dist/scripts/34.chunk.js +990 -0
  226. package/dist/scripts/34.chunk.js.map +1 -0
  227. package/dist/scripts/{34-132c087a52.chunk.js → 35-ec8c190357.chunk.js} +1 -1
  228. package/dist/scripts/35.chunk.js +518 -0
  229. package/dist/scripts/35.chunk.js.map +1 -0
  230. package/dist/scripts/{35-bdb5443e62.chunk.js → 36-4d467bc42e.chunk.js} +1 -1
  231. package/dist/scripts/36.chunk.js +335 -0
  232. package/dist/scripts/36.chunk.js.map +1 -0
  233. package/dist/scripts/37-37e8965783.chunk.js +1 -0
  234. package/dist/scripts/37.chunk.js +236 -0
  235. package/dist/scripts/37.chunk.js.map +1 -0
  236. package/dist/scripts/38-3dc24b8867.chunk.js +1 -0
  237. package/dist/scripts/38.chunk.js +315 -0
  238. package/dist/scripts/38.chunk.js.map +1 -0
  239. package/dist/scripts/39-350ff66a2b.chunk.js +1 -0
  240. package/dist/scripts/39.chunk.js +116 -0
  241. package/dist/scripts/39.chunk.js.map +1 -0
  242. package/dist/scripts/4-b3f3c7c71c.chunk.js +1 -0
  243. package/dist/scripts/4.chunk.js +335 -0
  244. package/dist/scripts/4.chunk.js.map +1 -0
  245. package/dist/scripts/40-3443f99cb2.chunk.js +1 -0
  246. package/dist/scripts/40.chunk.js +2493 -0
  247. package/dist/scripts/40.chunk.js.map +1 -0
  248. package/dist/scripts/{40-376ad7e86e.chunk.js → 41-b5dfd35e9e.chunk.js} +1 -1
  249. package/dist/scripts/41.chunk.js +1782 -0
  250. package/dist/scripts/41.chunk.js.map +1 -0
  251. package/dist/scripts/42-103fecb7b6.chunk.js +1 -0
  252. package/dist/scripts/42.chunk.js +2116 -0
  253. package/dist/scripts/42.chunk.js.map +1 -0
  254. package/dist/scripts/{42-e1b7e51fda.chunk.js → 43-57b07579f7.chunk.js} +1 -1
  255. package/dist/scripts/43.chunk.js +2243 -0
  256. package/dist/scripts/43.chunk.js.map +1 -0
  257. package/dist/scripts/{43-e6c65d0b16.chunk.js → 44-210d64dffe.chunk.js} +1 -1
  258. package/dist/scripts/44.chunk.js +1024 -0
  259. package/dist/scripts/44.chunk.js.map +1 -0
  260. package/dist/scripts/{44-23032fea5c.chunk.js → 45-632b07e926.chunk.js} +1 -1
  261. package/dist/scripts/45.chunk.js +1065 -0
  262. package/dist/scripts/45.chunk.js.map +1 -0
  263. package/dist/scripts/46-82cce63cbf.chunk.js +1 -0
  264. package/dist/scripts/46.chunk.js +656 -0
  265. package/dist/scripts/46.chunk.js.map +1 -0
  266. package/dist/scripts/47-595b4aae87.chunk.js +1 -0
  267. package/dist/scripts/47.chunk.js +735 -0
  268. package/dist/scripts/47.chunk.js.map +1 -0
  269. package/dist/scripts/48-fcf6378889.chunk.js +1 -0
  270. package/dist/scripts/48.chunk.js +994 -0
  271. package/dist/scripts/48.chunk.js.map +1 -0
  272. package/dist/scripts/49-d8a4899eb1.chunk.js +1 -0
  273. package/dist/scripts/49.chunk.js +759 -0
  274. package/dist/scripts/49.chunk.js.map +1 -0
  275. package/dist/scripts/{5-31fd5b5c13.chunk.js → 5-06bc197b1e.chunk.js} +1 -1
  276. package/dist/scripts/5.chunk.js +15 -0
  277. package/dist/scripts/5.chunk.js.map +1 -0
  278. package/dist/scripts/50-11b1a49916.chunk.js +1 -0
  279. package/dist/scripts/50.chunk.js +528 -0
  280. package/dist/scripts/50.chunk.js.map +1 -0
  281. package/dist/scripts/51-72a75e0265.chunk.js +1 -0
  282. package/dist/scripts/51.chunk.js +932 -0
  283. package/dist/scripts/51.chunk.js.map +1 -0
  284. package/dist/scripts/52-195f73bcd6.chunk.js +1 -0
  285. package/dist/scripts/52.chunk.js +408 -0
  286. package/dist/scripts/52.chunk.js.map +1 -0
  287. package/dist/scripts/53-bb4f37ee25.chunk.js +1 -0
  288. package/dist/scripts/53.chunk.js +754 -0
  289. package/dist/scripts/53.chunk.js.map +1 -0
  290. package/dist/scripts/54-7a201d8285.chunk.js +1 -0
  291. package/dist/scripts/54.chunk.js +681 -0
  292. package/dist/scripts/54.chunk.js.map +1 -0
  293. package/dist/scripts/55-be3d7b8805.chunk.js +1 -0
  294. package/dist/scripts/55.chunk.js +645 -0
  295. package/dist/scripts/55.chunk.js.map +1 -0
  296. package/dist/scripts/56-6aeece1bf1.chunk.js +1 -0
  297. package/dist/scripts/56.chunk.js +346 -0
  298. package/dist/scripts/56.chunk.js.map +1 -0
  299. package/dist/scripts/57-59ee15161b.chunk.js +1 -0
  300. package/dist/scripts/57.chunk.js +422 -0
  301. package/dist/scripts/57.chunk.js.map +1 -0
  302. package/dist/scripts/58-8ff58b194a.chunk.js +1 -0
  303. package/dist/scripts/58.chunk.js +437 -0
  304. package/dist/scripts/58.chunk.js.map +1 -0
  305. package/dist/scripts/59-3d33954fcb.chunk.js +1 -0
  306. package/dist/scripts/59.chunk.js +342 -0
  307. package/dist/scripts/59.chunk.js.map +1 -0
  308. package/dist/scripts/6-a469872b10.chunk.js +1 -0
  309. package/dist/scripts/6.chunk.js +484 -0
  310. package/dist/scripts/6.chunk.js.map +1 -0
  311. package/dist/scripts/60-f092baa91c.chunk.js +1 -0
  312. package/dist/scripts/60.chunk.js +254 -0
  313. package/dist/scripts/60.chunk.js.map +1 -0
  314. package/dist/scripts/61-bd9ef62ccd.chunk.js +1 -0
  315. package/dist/scripts/61.chunk.js +409 -0
  316. package/dist/scripts/61.chunk.js.map +1 -0
  317. package/dist/scripts/62-f15b3bf74c.chunk.js +1 -0
  318. package/dist/scripts/62.chunk.js +142 -0
  319. package/dist/scripts/62.chunk.js.map +1 -0
  320. package/dist/scripts/63-92757f75e7.chunk.js +1 -0
  321. package/dist/scripts/63.chunk.js +147 -0
  322. package/dist/scripts/63.chunk.js.map +1 -0
  323. package/dist/scripts/64-c5a1c55521.chunk.js +1 -0
  324. package/dist/scripts/64.chunk.js +439 -0
  325. package/dist/scripts/64.chunk.js.map +1 -0
  326. package/dist/scripts/{64-2f0dd2389f.chunk.js → 65-6bb10ae23b.chunk.js} +1 -1
  327. package/dist/scripts/65.chunk.js +582 -0
  328. package/dist/scripts/65.chunk.js.map +1 -0
  329. package/dist/scripts/66-f047027f7d.chunk.js +1 -0
  330. package/dist/scripts/66.chunk.js +442 -0
  331. package/dist/scripts/66.chunk.js.map +1 -0
  332. package/dist/scripts/67-2e1a011200.chunk.js +1 -0
  333. package/dist/scripts/67.chunk.js +295 -0
  334. package/dist/scripts/67.chunk.js.map +1 -0
  335. package/dist/scripts/68-d5c0ab3fc1.chunk.js +1 -0
  336. package/dist/scripts/68.chunk.js +165 -0
  337. package/dist/scripts/68.chunk.js.map +1 -0
  338. package/dist/scripts/69-fc8325afc9.chunk.js +1 -0
  339. package/dist/scripts/69.chunk.js +248 -0
  340. package/dist/scripts/69.chunk.js.map +1 -0
  341. package/dist/scripts/7-58dd909fa3.chunk.js +1 -0
  342. package/dist/scripts/7.chunk.js +309 -0
  343. package/dist/scripts/7.chunk.js.map +1 -0
  344. package/dist/scripts/70-ceda95013e.chunk.js +1 -0
  345. package/dist/scripts/70.chunk.js +207 -0
  346. package/dist/scripts/70.chunk.js.map +1 -0
  347. package/dist/scripts/71-6e8fc95beb.chunk.js +1 -0
  348. package/dist/scripts/71.chunk.js +237 -0
  349. package/dist/scripts/71.chunk.js.map +1 -0
  350. package/dist/scripts/72-53fe3338bf.chunk.js +1 -0
  351. package/dist/scripts/72.chunk.js +331 -0
  352. package/dist/scripts/72.chunk.js.map +1 -0
  353. package/dist/scripts/73.chunk.js +404 -0
  354. package/dist/scripts/73.chunk.js.map +1 -0
  355. package/dist/scripts/74.chunk.js +301 -0
  356. package/dist/scripts/74.chunk.js.map +1 -0
  357. package/dist/scripts/75.chunk.js +231 -0
  358. package/dist/scripts/75.chunk.js.map +1 -0
  359. package/dist/scripts/76.chunk.js +157 -0
  360. package/dist/scripts/76.chunk.js.map +1 -0
  361. package/dist/scripts/77.chunk.js +307 -0
  362. package/dist/scripts/77.chunk.js.map +1 -0
  363. package/dist/scripts/78.chunk.js +249 -0
  364. package/dist/scripts/78.chunk.js.map +1 -0
  365. package/dist/scripts/79.chunk.js +282 -0
  366. package/dist/scripts/79.chunk.js.map +1 -0
  367. package/dist/scripts/8-6974afed28.chunk.js +1 -0
  368. package/dist/scripts/8.chunk.js +307 -0
  369. package/dist/scripts/8.chunk.js.map +1 -0
  370. package/dist/scripts/80.chunk.js +308 -0
  371. package/dist/scripts/80.chunk.js.map +1 -0
  372. package/dist/scripts/81.chunk.js +366 -0
  373. package/dist/scripts/81.chunk.js.map +1 -0
  374. package/dist/scripts/82.chunk.js +314 -0
  375. package/dist/scripts/82.chunk.js.map +1 -0
  376. package/dist/scripts/83.chunk.js +328 -0
  377. package/dist/scripts/83.chunk.js.map +1 -0
  378. package/dist/scripts/84.chunk.js +313 -0
  379. package/dist/scripts/84.chunk.js.map +1 -0
  380. package/dist/scripts/85.chunk.js +291 -0
  381. package/dist/scripts/85.chunk.js.map +1 -0
  382. package/dist/scripts/86.chunk.js +119 -0
  383. package/dist/scripts/86.chunk.js.map +1 -0
  384. package/dist/scripts/87.chunk.js +219 -0
  385. package/dist/scripts/87.chunk.js.map +1 -0
  386. package/dist/scripts/88.chunk.js +194 -0
  387. package/dist/scripts/88.chunk.js.map +1 -0
  388. package/dist/scripts/89.chunk.js +522 -0
  389. package/dist/scripts/89.chunk.js.map +1 -0
  390. package/dist/scripts/{9-8e055aeb59.chunk.js → 9-9279038caa.chunk.js} +1 -1
  391. package/dist/scripts/9.chunk.js +222 -0
  392. package/dist/scripts/9.chunk.js.map +1 -0
  393. package/dist/scripts/90.chunk.js +337 -0
  394. package/dist/scripts/90.chunk.js.map +1 -0
  395. package/dist/scripts/91.chunk.js +131 -0
  396. package/dist/scripts/91.chunk.js.map +1 -0
  397. package/dist/scripts/92.chunk.js +266 -0
  398. package/dist/scripts/92.chunk.js.map +1 -0
  399. package/dist/scripts/bundle-06dc1f4908.min.js +8 -0
  400. package/dist/scripts/bundle.js +66631 -0
  401. package/dist/scripts/bundle.js.map +1 -0
  402. package/dist/scripts/bundles.json +2 -1
  403. package/dist/scripts/polyfills-efb4d7caa3.min.js +1 -0
  404. package/dist/scripts/polyfills.js +14866 -0
  405. package/dist/scripts/polyfills.js.map +1 -0
  406. package/package.json +4 -4
  407. package/dist/css/19.chunk.css +0 -34
  408. package/dist/css/53.chunk.css +0 -2
  409. package/dist/libs/shared/src/interfaces/models/VideoWithRestrictions.d.ts +0 -5
  410. package/dist/scripts/0-239b1b4c4f.chunk.js +0 -1
  411. package/dist/scripts/10-7495996e1b.chunk.js +0 -1
  412. package/dist/scripts/12-c614c326e8.chunk.js +0 -1
  413. package/dist/scripts/13-c59b7a1080.chunk.js +0 -1
  414. package/dist/scripts/14-11b2ecd293.chunk.js +0 -1
  415. package/dist/scripts/16-671e43ff10.chunk.js +0 -1
  416. package/dist/scripts/17-91db50901e.chunk.js +0 -1
  417. package/dist/scripts/19-9c1bab42e0.chunk.js +0 -1
  418. package/dist/scripts/20-16dc42eda6.chunk.js +0 -1
  419. package/dist/scripts/21-83635f45bd.chunk.js +0 -1
  420. package/dist/scripts/22-d1631d6f68.chunk.js +0 -1
  421. package/dist/scripts/23-ee9435b786.chunk.js +0 -1
  422. package/dist/scripts/24-9fe9688c10.chunk.js +0 -1
  423. package/dist/scripts/25-3fe9899044.chunk.js +0 -1
  424. package/dist/scripts/26-9a55e7c4c6.chunk.js +0 -1
  425. package/dist/scripts/27-62a6a557d0.chunk.js +0 -1
  426. package/dist/scripts/28-44c3f79737.chunk.js +0 -1
  427. package/dist/scripts/29-a9859b26ac.chunk.js +0 -1
  428. package/dist/scripts/30-e3a45015ad.chunk.js +0 -1
  429. package/dist/scripts/31-81d688b2d0.chunk.js +0 -1
  430. package/dist/scripts/32-6856552e24.chunk.js +0 -1
  431. package/dist/scripts/36-6a0bc972bb.chunk.js +0 -1
  432. package/dist/scripts/37-e50a9b9593.chunk.js +0 -1
  433. package/dist/scripts/38-1b320ac069.chunk.js +0 -1
  434. package/dist/scripts/39-dd59ad46c4.chunk.js +0 -1
  435. package/dist/scripts/4-93604b7a67.chunk.js +0 -1
  436. package/dist/scripts/41-de00f2381c.chunk.js +0 -1
  437. package/dist/scripts/45-a737a50524.chunk.js +0 -1
  438. package/dist/scripts/46-1daa477ba1.chunk.js +0 -1
  439. package/dist/scripts/47-b6f2874a9b.chunk.js +0 -1
  440. package/dist/scripts/48-1f5b41db07.chunk.js +0 -1
  441. package/dist/scripts/49-d94156f6d5.chunk.js +0 -1
  442. package/dist/scripts/50-0b91864cf6.chunk.js +0 -1
  443. package/dist/scripts/51-b469206180.chunk.js +0 -1
  444. package/dist/scripts/52-ed0e96f469.chunk.js +0 -1
  445. package/dist/scripts/53-f9b9090787.chunk.js +0 -1
  446. package/dist/scripts/54-3b1f6ff5fb.chunk.js +0 -1
  447. package/dist/scripts/55-00cdc60d5f.chunk.js +0 -1
  448. package/dist/scripts/56-926bcd1442.chunk.js +0 -1
  449. package/dist/scripts/57-cd9da1e70e.chunk.js +0 -1
  450. package/dist/scripts/58-7983444a26.chunk.js +0 -1
  451. package/dist/scripts/59-659211dccc.chunk.js +0 -1
  452. package/dist/scripts/6-e13c1f1b07.chunk.js +0 -1
  453. package/dist/scripts/60-486f90f64b.chunk.js +0 -1
  454. package/dist/scripts/61-2608315d61.chunk.js +0 -1
  455. package/dist/scripts/62-3bbb85072e.chunk.js +0 -1
  456. package/dist/scripts/63-fdaa23d553.chunk.js +0 -1
  457. package/dist/scripts/65-9db56b2dcb.chunk.js +0 -1
  458. package/dist/scripts/66-f9036265fa.chunk.js +0 -1
  459. package/dist/scripts/67-2518858e70.chunk.js +0 -1
  460. package/dist/scripts/68-5c6e608ca7.chunk.js +0 -1
  461. package/dist/scripts/69-521dbc644d.chunk.js +0 -1
  462. package/dist/scripts/7-888cdbea89.chunk.js +0 -1
  463. package/dist/scripts/70-f57eb7cd7c.chunk.js +0 -1
  464. package/dist/scripts/71-f9d6b5174f.chunk.js +0 -1
  465. package/dist/scripts/8-23bc582e02.chunk.js +0 -1
  466. package/dist/scripts/bundle-d3fae9effe.min.js +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/apps/content-updates/components/awaiting-review-header/AwaitingReviewHeader.hbs","file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/apps/content-updates/components/awaiting-review-header/AwaitingReviewHeaderComponent.ts","file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/apps/content-updates/components/content-updates-header/ContentUpdatesHeader.hbs","file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/apps/content-updates/components/content-updates-header/ContentUpdatesHeaderComponent.ts","webpack://@clickview/library-editor/./src/apps/content-updates/components/content-updates-header/content-updates-header.scss?ee0a","file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/apps/content-updates/components/content-updates-left-nav/ContentUpdatesLeftNav.hbs","file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/apps/content-updates/components/content-updates-left-nav/ContentUpdatesLeftNavComponent.ts","webpack://@clickview/library-editor/./src/apps/content-updates/components/content-updates-left-nav/content-updates-left-nav.scss?9b01","file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/apps/content-updates/components/video-group-list/VideoGroupItem.hbs","file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/apps/content-updates/components/video-group-list/VideoGroupList.hbs","file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/apps/content-updates/components/video-group-list/VideoGroupListComponent.ts","webpack://@clickview/library-editor/./src/apps/content-updates/views/content-updates.scss?7f2f","file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/shared/components/tabs/Tabs.hbs","file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/shared/components/tabs/TabsComponent.ts","web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AAJ,CAAS,QAAV,CAAL,GAA2B,GAAG,CAAC,IAAJ,CAAS,OAAlD;AAAA,OAA1B;AAEA,aAAO,KAAP;AACD;AA9BH;;AAAA;AAAA,EAAmC,8DAAI,CAAC,SAAxC,E;;;;;;;;;;;ACzBA;AACA,kBAAkB,uD","file":"scripts/31.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;\n\n return \"<button class=\\\"approve-all btn btn-success d-inline-block \"\n + alias2(container.lambda(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.btnClass : stack1), depth0))\n + \"\\\" type=\\\"button\\\">\"\n + alias2((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),\"approveBtn\",{\"name\":\"lang\",\"hash\":{\"smartCount\":((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.numVideos : stack1)},\"data\":data}))\n + \"</button>\\r\\n\";\n},\"compiler\":[8,\">= 4.3.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable, alias2=container.escapeExpression, alias3=depth0 != null ? depth0 : (container.nullContext || {});\n\n return \"<h5 class=\\\"d-inline-block m-0 \"\n + alias2(container.lambda(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.headingClass : stack1), depth0))\n + \"\\\">\"\n + alias2((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(alias3,\"heading\",{\"name\":\"lang\",\"hash\":{\"smartCount\":((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.numVideos : stack1)},\"data\":data}))\n + \"</h5>\\r\\n\"\n + ((stack1 = helpers[\"if\"].call(alias3,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.videosToReview : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\");\n},\"useData\":true});","import { ObjectHash, Radio } from 'backbone';\r\n\r\nimport { Core } from 'libs/common/core';\r\nimport { LocationContext, UserAction, EntityType, WorkflowPhase, OperationDescriptor } from 'libs/analytics/interfaces';\r\nimport { AnalyticsHelper } from 'libs/analytics/AnalyticsHelper';\r\n\r\nimport { DialogViewOptions } from 'shared/components/dialog/DialogView';\r\nimport { DialogHelper } from 'shared/utils';\r\nimport { LanguageService } from 'libs/common/backbone/services/LanguageService';\r\n\r\nimport AwaitingReviewHeaderTemplate from './AwaitingReviewHeader.hbs';\r\n\r\nexport class AwaitingReviewHeaderComponent extends Core.Component {\r\n public get name(): string {\r\n return 'AwaitingReviewHeaderComponent';\r\n }\r\n\r\n public get className(): string {\r\n return 'd-flex justify-content-between align-items-center p-3 border-bottom';\r\n }\r\n\r\n public get template(): string {\r\n return AwaitingReviewHeaderTemplate;\r\n }\r\n\r\n public get lang(): string {\r\n return 'contentUpdates.awaitingReviewHeader';\r\n }\r\n\r\n public events(): ObjectHash {\r\n return {\r\n 'click .approve-all': 'onClickApproveAll'\r\n };\r\n }\r\n\r\n private onClickApproveAll(): void {\r\n const dialog = new DialogHelper(this.getApproveAllDialogOptions());\r\n\r\n dialog.render()\r\n .done(() => this.onConfirmApproveAll());\r\n\r\n this.logAction(WorkflowPhase.Start);\r\n }\r\n\r\n private onConfirmApproveAll(): void {\r\n Radio.channel(this.options.channelName).trigger('approve:all');\r\n\r\n this.logAction(WorkflowPhase.Complete);\r\n }\r\n\r\n private getApproveAllDialogOptions(): DialogViewOptions {\r\n return {\r\n title: LanguageService.getPhrase(this.lang, 'dialogTitle'),\r\n text: LanguageService.getPhrase(this.lang, 'dialogBody'),\r\n buttons: [{\r\n text: LanguageService.getPhrase(this.lang, 'dialogButton'),\r\n className: 'btn btn-primary',\r\n success: true\r\n }]\r\n };\r\n }\r\n\r\n private logAction(workflowPhase: WorkflowPhase): void {\r\n const analyticsOptions = {\r\n location: LocationContext.AwaitingReviewVideoListHeader,\r\n actionType: UserAction.Approve,\r\n descriptor: OperationDescriptor.All,\r\n entity: EntityType.Video,\r\n workflowPhase\r\n };\r\n\r\n const data = {\r\n approvedCount: this.collection.length\r\n };\r\n\r\n AnalyticsHelper.logUserAction(data, analyticsOptions);\r\n }\r\n\r\n public viewOptions(): ObjectHash {\r\n return {\r\n videosToReview: !!this.collection.length,\r\n multipleVideos: this.collection.length > 1,\r\n numVideos: this.collection.length\r\n };\r\n }\r\n}","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=container.lambda, alias3=container.escapeExpression;\n\n return \"<div class=\\\"d-inline-block p-3 \"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.heading : stack1), depth0))\n + \"\\\"><h1 class=\\\"h3 m-0\\\">\"\n + alias3((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),\"contentUpdates\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</h1></div><div class=\\\"tabs-region d-inline-flex align-items-end \"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.tabsContainer : stack1), depth0))\n + \"\\\"></div>\";\n},\"useData\":true});","import { ObjectHash } from 'backbone';\r\nimport { Core } from 'libs/common/core';\r\n\r\nimport ContentUpdatesHeaderTemplate from './ContentUpdatesHeader.hbs';\r\nimport { TabsComponent, Tab } from 'shared/components/tabs/TabsComponent';\r\nimport { ContentUpdatesTabs, ContentUpdateTabNames } from 'apps/content-updates/utils';\r\nimport styles from './content-updates-header.scss';\r\n\r\ninterface ContentUpdatesHeaderComponentOptions extends Core.ComponentOptions {\r\n activeTab: string;\r\n reviewEnabled: boolean;\r\n}\r\n\r\nexport class ContentUpdatesHeaderComponent extends Core.Component {\r\n protected options: ContentUpdatesHeaderComponentOptions;\r\n\r\n constructor(options: ContentUpdatesHeaderComponentOptions) {\r\n super(options);\r\n }\r\n\r\n public get name(): string {\r\n return 'ContentUpdatesHeaderComponent';\r\n }\r\n\r\n public get className(): string {\r\n return 'd-flex align-items-end border-bottom';\r\n }\r\n\r\n public get template(): string {\r\n return ContentUpdatesHeaderTemplate;\r\n }\r\n\r\n public get lang(): string {\r\n return 'contentUpdates.contentUpdatesHeader';\r\n }\r\n\r\n public regions(): ObjectHash {\r\n return {\r\n tabs: {\r\n el: '.tabs-region'\r\n }\r\n };\r\n }\r\n\r\n private getTabs(): Array<Tab> {\r\n const tabs = ContentUpdatesTabs;\r\n\r\n if (this.options.reviewEnabled) return tabs;\r\n\r\n return tabs.filter(t => t.name !== ContentUpdateTabNames.AwaitingReview);\r\n }\r\n\r\n public viewOptions(): ObjectHash {\r\n return {\r\n styles\r\n };\r\n }\r\n\r\n public onRender(): void {\r\n const tabs = this.getTabs();\r\n\r\n if (tabs.length <= 1) return;\r\n\r\n this.showChildView('tabs', new TabsComponent({\r\n tabs,\r\n activeTab: this.options.activeTab,\r\n className: 'border-0'\r\n }));\r\n }\r\n}","// extracted by mini-css-extract-plugin\nmodule.exports = {\"heading\":\"cv--heading--1SwZ2\",\"tabsContainer\":\"cv--tabsContainer--3f4T9\"};","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 \"<div class=\\\"p-3 border-bottom\\\">\\r\\n <h5>\"\n + alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,\"manualReviewHeading\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</h5>\\r\\n <p>\"\n + alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,\"manualReviewBody\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</p>\\r\\n <button class=\\\"btn btn-light text-center disable-review\\\" type=\\\"button\\\">\"\n + alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,\"manualReviewOffBtn\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</button>\\r\\n</div>\\r\\n<div class=\\\"p-3 border-bottom\\\">\\r\\n <p class=\\\"m-0\\\">\"\n + alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,\"noActionDisclaimer\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</p>\\r\\n <p class=\\\"m-0\\\">\"\n + alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,\"learnMore\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \" <a href=\"\n + alias4(container.lambda(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.supportUrl : stack1), depth0))\n + \" target=\\\"_blank\\\">\"\n + alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,\"learnMoreLink\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</a></p>\\r\\n</div>\";\n},\"useData\":true});","import { ObjectHash } from 'backbone';\r\nimport { Core } from 'libs/common/core';\r\nimport { UrlHelper } from 'libs/common/backbone/utils/UrlHelper';\r\n\r\nimport { Actions, AppChannels, SupportArticles } from 'shared/constants';\r\nimport { LocationContext, UserAction, EntityType, WorkflowPhase, CustomerSettingDescriptor } from 'libs/analytics/interfaces';\r\nimport { AnalyticsHelper } from 'libs/analytics/AnalyticsHelper';\r\n\r\nimport ContentUpdatesLeftNavTemplate from './ContentUpdatesLeftNav.hbs';\r\nimport styles from './content-updates-left-nav.scss';\r\n\r\ninterface ContentUpdatesLeftNavComponentOptions extends Core.ComponentOptions {\r\n supportSiteUrl: string;\r\n}\r\n\r\nexport class ContentUpdatesLeftNavComponent extends Core.Component {\r\n public options: ContentUpdatesLeftNavComponentOptions;\r\n\r\n constructor(options: ContentUpdatesLeftNavComponentOptions) {\r\n super(options);\r\n }\r\n\r\n public get name(): string {\r\n return 'ContentUpdatesLeftNavComponent';\r\n }\r\n\r\n public get className(): string {\r\n return `d-inline-block ${styles.leftNav}`;\r\n }\r\n\r\n public get template(): string {\r\n return ContentUpdatesLeftNavTemplate;\r\n }\r\n\r\n public get lang(): string {\r\n return 'contentUpdates.contentUpdatesLeftNav';\r\n }\r\n\r\n public get appLinks(): Core.AppLinkHash {\r\n return {\r\n '.disable-review': {\r\n application: AppChannels.CONTENT_UPDATES,\r\n action: Actions.ContentUpdates.DISABLE_REVIEW\r\n }\r\n };\r\n }\r\n\r\n public events(): ObjectHash {\r\n return {\r\n 'click .disable-review': 'onClickDisableReview'\r\n };\r\n }\r\n\r\n private onClickDisableReview(): void {\r\n const analyticsOptions = {\r\n location: LocationContext.LeftNav,\r\n actionType: UserAction.Disable,\r\n entity: EntityType.CustomerSetting,\r\n descriptor: CustomerSettingDescriptor.LibraryReview,\r\n workflowPhase: WorkflowPhase.Start\r\n };\r\n\r\n AnalyticsHelper.logUserAction({}, analyticsOptions);\r\n }\r\n\r\n public viewOptions(): ObjectHash {\r\n return {\r\n supportUrl: UrlHelper.safeUrlConcat(this.options.supportSiteUrl, SupportArticles.LIBRARY_REVIEW)\r\n };\r\n }\r\n}","// extracted by mini-css-extract-plugin\nmodule.exports = {\"leftNav\":\"cv--leftNav--15vRB\"};","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;\n\n return \"<h4 class=\\\"pl-3\\\">\"\n + container.escapeExpression(container.lambda(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.groupTitle : stack1), depth0))\n + \"</h4>\\r\\n<div class=\\\"video-list-region\\\"></div>\";\n},\"useData\":true});","var Handlebars = require('handlebars');\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"compiler\":[8,\">= 4.3.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n return \"<div class=\\\"videos-region\\\"></div>\";\n},\"useData\":true});","import { ObjectHash } from 'backbone';\r\nimport { Core } from 'libs/common/core';\r\nimport { LanguageService } from 'libs/common/backbone/services/LanguageService';\r\nimport { EmptyStateBehavior } from 'libs/shared/legacy/behaviors/empty-state/EmptyStateBehavior';\r\n\r\nimport { AppChannels, EmptyStateComponents, EmptyStateOptions } from 'shared/constants';\r\nimport { Config } from 'shared/models/Config';\r\nimport { EmptyState } from 'shared/enums';\r\nimport { VideoListComponent } from 'shared/components/video-list/VideoListComponent';\r\nimport { VideoItemComponentType } from 'shared/components/video-item/utils/VideoItemComponentTypes';\r\nimport { VideoSourcesMetadataComponentOptions } from 'shared/components/video-item/video-item-metadata/video-sources-metadata/VideoSourcesMetadataComponent';\r\nimport { VideoCollection } from 'shared/collections/VideoCollection';\r\n\r\nimport { VideoGroup } from 'apps/content-updates/models';\r\n\r\nimport VideoGroupListTemplate from './VideoGroupList.hbs';\r\nimport VideoGroupItemTemplate from './VideoGroupItem.hbs';\r\n\r\ninterface VideoGroupItemComponentOptions extends Core.ComponentOptions<VideoGroup> {\r\n videoItemComponentType?: VideoItemComponentType;\r\n videosWithMetadata?: VideoCollection;\r\n groupTitleAttr?: string;\r\n config: Config;\r\n sourceMetadataOptions?: VideoSourcesMetadataComponentOptions;\r\n customerHasCustomLibrary?: boolean;\r\n customerHasLocalCache?: boolean;\r\n collectionViewChannel?: string;\r\n}\r\n\r\nclass VideoGroupItemComponent extends Core.Component<VideoGroup> {\r\n protected options: VideoGroupItemComponentOptions;\r\n\r\n constructor(options: VideoGroupItemComponentOptions) {\r\n super(options);\r\n }\r\n\r\n public get name(): string {\r\n return 'VideoGroupItemComponent';\r\n }\r\n\r\n public get template(): string {\r\n return VideoGroupItemTemplate;\r\n }\r\n\r\n public get className(): string {\r\n return 'pt-3';\r\n }\r\n\r\n public get defaults(): ObjectHash {\r\n return {\r\n videoItemComponentType: VideoItemComponentType.Base\r\n };\r\n }\r\n\r\n public regions(): ObjectHash {\r\n return {\r\n videos: {\r\n el: '.video-list-region',\r\n replaceElement: true\r\n }\r\n };\r\n }\r\n\r\n private getGroupTitle(): string {\r\n const attr = this.options.groupTitleAttr || 'groupTitle';\r\n\r\n return this.model.get(attr);\r\n }\r\n\r\n public viewOptions(): ObjectHash {\r\n return {\r\n groupTitle: this.getGroupTitle()\r\n };\r\n }\r\n\r\n public onRender(): void {\r\n this.showChildView('videos', new VideoListComponent({\r\n collection: this.model.videos,\r\n videosWithMetadata: this.options.videosWithMetadata,\r\n application: AppChannels.CONTENT_UPDATES,\r\n collectionIdentifier: null,\r\n videoItemComponentType: this.options.videoItemComponentType,\r\n config: this.options.config,\r\n sourceMetadataOptions: this.options.sourceMetadataOptions,\r\n collectionViewChannel: this.options.collectionViewChannel,\r\n customerHasLocalCache: this.options.customerHasLocalCache,\r\n customerHasCustomLibrary: this.options.customerHasCustomLibrary\r\n }));\r\n }\r\n}\r\n\r\ninterface VideoGroupItemComponentCollectionOptions extends Core.ComponentCollectionOptions {\r\n childOptions?: VideoGroupItemComponentOptions;\r\n}\r\n\r\nclass VideoGroupItemComponentCollection extends Core.ComponentCollection {\r\n public options: VideoGroupItemComponentCollectionOptions;\r\n\r\n constructor(options: VideoGroupItemComponentCollectionOptions) {\r\n super(options);\r\n }\r\n\r\n public get name(): string {\r\n return 'VideoGroupItemComponentCollection';\r\n }\r\n\r\n public get childView(): any {\r\n return VideoGroupItemComponent;\r\n }\r\n\r\n public get childViewOptions(): ObjectHash {\r\n return this.options.childOptions;\r\n }\r\n}\r\n\r\ninterface VideoGroupListComponentOptions extends Core.ComponentOptions {\r\n childOptions?: VideoGroupItemComponentOptions;\r\n emptyStateType?: EmptyState;\r\n emptyStateOptions?: EmptyStateOptions;\r\n}\r\n\r\nexport class VideoGroupListComponent extends Core.Component {\r\n public options: VideoGroupListComponentOptions;\r\n\r\n constructor(options: VideoGroupListComponentOptions) {\r\n super(options);\r\n }\r\n\r\n public get name(): string {\r\n return 'VideoGroupListComponent';\r\n }\r\n\r\n public get template(): string {\r\n return VideoGroupListTemplate;\r\n }\r\n\r\n public get lang(): string {\r\n return 'contentUpdates.videoGroupList';\r\n }\r\n\r\n public get defaults(): ObjectHash {\r\n return {\r\n emptyState: EmptyState.Default\r\n };\r\n }\r\n\r\n public get behaviors(): any[] {\r\n return [\r\n {\r\n behaviorClass: EmptyStateBehavior,\r\n region: 'videos',\r\n type: this.options.emptyStateType,\r\n componentOptions: this.getEmptyStateComponentOptions(),\r\n emptyStateComponents: EmptyStateComponents\r\n }\r\n ];\r\n }\r\n\r\n public regions(): ObjectHash {\r\n return {\r\n videos: {\r\n el: '.videos-region',\r\n replaceElement: true\r\n }\r\n };\r\n }\r\n\r\n private getEmptyStateComponentOptions(): ObjectHash {\r\n if (this.options.emptyStateType === EmptyState.AwaitingReview) {\r\n return {\r\n heading: LanguageService.getPhrase(this.lang, 'awaitingReviewEmptyStateHeading'),\r\n description: LanguageService.getPhrase(this.lang, 'awaitingReviewEmptyStateBody')\r\n };\r\n }\r\n\r\n if (this.options.emptyStateType === EmptyState.PastReleases) {\r\n return {\r\n heading: LanguageService.getPhrase(this.lang, 'pastReleasesEmptyStateHeading')\r\n };\r\n }\r\n }\r\n\r\n public onRender(): void {\r\n this.showChildView('videos', new VideoGroupItemComponentCollection(this.options));\r\n }\r\n}","// extracted by mini-css-extract-plugin\nmodule.exports = {\"content\":\"cv--content--303Nb\",\"contentWithLeftNav\":\"cv--contentWithLeftNav--2ZCHY\"};","var Handlebars = require('handlebars');\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"1\":function(container,depth0,helpers,partials,data,blockParams,depths) {\n var stack1, alias1=container.propertyIsEnumerable;\n\n return ((stack1 = helpers.unless.call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? depth0.hide : depth0),{\"name\":\"unless\",\"hash\":{},\"fn\":container.program(2, data, 0, blockParams, depths),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\");\n},\"2\":function(container,depth0,helpers,partials,data,blockParams,depths) {\n var stack1, alias1=container.propertyIsEnumerable, alias2=container.lambda, alias3=container.escapeExpression;\n\n return \" <a class=\\\"\"\n + alias3(alias2(((stack1 = ((stack1 = (depths[1] != null ? depths[1].options : depths[1])) != null ? stack1.styles : stack1)) != null ? stack1.link : stack1), depth0))\n + \" p-2 \"\n + alias3(alias2((depth0 != null ? depth0.link : depth0), depth0))\n + \" \"\n + ((stack1 = helpers[\"if\"].call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? depth0.active : depth0),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(3, data, 0, blockParams, depths),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + \"\\\">\"\n + alias3(alias2((depth0 != null ? depth0.name : depth0), depth0))\n + \"</a>\\r\\n\";\n},\"3\":function(container,depth0,helpers,partials,data,blockParams,depths) {\n var stack1, alias1=container.propertyIsEnumerable;\n\n return container.escapeExpression(container.lambda(((stack1 = ((stack1 = (depths[1] != null ? depths[1].options : depths[1])) != null ? stack1.styles : stack1)) != null ? stack1.active : stack1), depth0))\n + \" border-bottom border-primary text-primary\";\n},\"compiler\":[8,\">= 4.3.0\"],\"main\":function(container,depth0,helpers,partials,data,blockParams,depths) {\n var stack1, alias1=container.propertyIsEnumerable;\n\n return ((stack1 = helpers.each.call(depth0 != null ? depth0 : (container.nullContext || {}),((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.tabs : stack1),{\"name\":\"each\",\"hash\":{},\"fn\":container.program(1, data, 0, blockParams, depths),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\");\n},\"useData\":true,\"useDepths\":true});","import * as _ from 'underscore';\r\nimport { ObjectHash } from 'backbone';\r\n\r\nimport { Core } from 'libs/common/core';\r\n\r\nimport styles from './tabs.scss';\r\nimport TabsTemplate from './Tabs.hbs';\r\n\r\ninterface TabAppLink {\r\n selector: string;\r\n appLink: Object;\r\n}\r\n\r\nexport interface Tab {\r\n name: string | (() => string);\r\n active?: boolean;\r\n link: TabAppLink;\r\n hide?: boolean;\r\n}\r\n\r\ninterface TabsComponentOptions extends Core.ComponentOptions {\r\n tabs: Array<Tab>;\r\n activeTab: string;\r\n}\r\n\r\nexport class TabsComponent extends Core.Component {\r\n public options: TabsComponentOptions;\r\n\r\n constructor(options: TabsComponentOptions) {\r\n super(options);\r\n }\r\n\r\n public get name(): string {\r\n return 'TabsView';\r\n }\r\n\r\n public get className(): string {\r\n let className = 'bg-white py-2 border-bottom';\r\n\r\n if (this.options.className)\r\n className += ` ${this.options.className}`;\r\n\r\n return className;\r\n }\r\n\r\n public get template(): any {\r\n return TabsTemplate;\r\n }\r\n\r\n public get appLinks(): ObjectHash {\r\n const links: {[selector: string]: Object} = {};\r\n\r\n this.options.tabs.forEach((tab: Tab) => links[tab.link.selector] = tab.link.appLink);\r\n\r\n return links;\r\n }\r\n\r\n public viewOptions(): ObjectHash {\r\n const { tabs } = this.options;\r\n\r\n const pageTabs = tabs.map((tab: Tab) => {\r\n return {\r\n ...tab,\r\n link: tab.link.selector.replace('.', '')\r\n };\r\n });\r\n\r\n return {\r\n styles,\r\n tabs: pageTabs\r\n };\r\n }\r\n\r\n private setActiveTab(): void {\r\n // Find active applink and set it as active if exists, or set first tab as active\r\n let found = false;\r\n\r\n this.options.tabs.forEach((t: Tab) => {\r\n // First reset all tabs to not active\r\n t.active = false;\r\n\r\n if (t.link.selector !== this.options.activeTab)\r\n return;\r\n\r\n t.active = true;\r\n found = true;\r\n });\r\n\r\n if (found)\r\n return;\r\n\r\n const firstTab = _.first(this.options.tabs);\r\n\r\n if (firstTab)\r\n firstTab.active = true;\r\n }\r\n\r\n public onBeforeRender(): void {\r\n this.setActiveTab();\r\n }\r\n}","// extracted by mini-css-extract-plugin\nmodule.exports = {\"link\":\"cv--link--5idZs\",\"active\":\"cv--active--3Ty4M\"};"],"sourceRoot":""}
@@ -0,0 +1 @@
1
+ (window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[32],{1019:function(e,t,n){"use strict";n.d(t,"a",(function(){return p}));var r=n(2),o=n(244);function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=f(e);if(t){var o=f(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return u(this,n)}}function u(e,t){return!t||"object"!==i(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var p=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(u,e);var t,n,r,i=c(u);function u(){return l(this,u),i.apply(this,arguments)}return t=u,(n=[{key:"defaults",value:function(){return e={},t=o.c.Disabled,n=!0,t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e;var e,t,n}}])&&a(t.prototype,n),r&&a(t,r),u}(r.a.Model)},1031:function(e,t,n){"use strict";n.d(t,"a",(function(){return p}));var r=n(1),o=n(2),i=n(285);function l(e){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=f(e);if(t){var o=f(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return u(this,n)}}function u(e,t){return!t||"object"!==l(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var p=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(u,e);var t,n,o,l=c(u);function u(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u),l.call(this,e)}return t=u,(n=[{key:"initialize",value:function(){this.listenTo(this.options.channelName,"center:dropdown",this.centerSelectedItem)}},{key:"getExtraClasses",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.alignment,n=void 0===t?"left":t,r=e.extraClasses,o="dropdown-menu-".concat(n);return r&&(o="".concat(o," ").concat(r)),o}},{key:"centerSelectedItem",value:function(){var e=this.$el.find(".active");if(e.length){var t=this.$el.scrollTop()+e.position().top,n=.5*this.$el.height()+.5*e.height();this.$el.scrollTop(t-n)}}},{key:"name",get:function(){return"DropdownCollectionComponent"}},{key:"className",get:function(){return"dropdown-menu items-viewpart ".concat(this.getExtraClasses(this.options.displayOptions))}},{key:"attributes",get:function(){return{"aria-labelledby":"dropdownSelector"}}},{key:"childView",get:function(){return i.a}},{key:"childViewOptions",get:function(){var e={channelName:this.options.channelName,analyticsHelper:this.options.analyticsHelper};return r.extend(e,this.options.childOptions)}}])&&a(t.prototype,n),o&&a(t,o),u}(o.a.ComponentCollection)},1036:function(e,t,n){"use strict";n.d(t,"a",(function(){return g}));var r=n(7),o=n(2),i=n(3),l=n(1050),a=n(13),s=n(1037),c=n.n(s),u=n(1038),f=n.n(u);function p(e){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function d(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function y(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=m(e);if(t){var o=m(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return b(this,n)}}function b(e,t){return!t||"object"!==p(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var g=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}(u,e);var t,n,o,s=y(u);function u(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u),s.call(this,e)}return t=u,(n=[{key:"initialize",value:function(){this.listenTo(this.options.channelName,"folder:selected new:folder:selected",this.setButtonText),this.listenTo(this.options.channelName,"re:render:selector",this.renderSelector),this.disabledIds=this.options.disabledIds&&this.options.disabledIds.reduce((function(e,t){return Object.assign(Object.assign({},e),function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},t,!0))}),{})}},{key:"regions",value:function(){return{selector:{el:".selector-region",replaceElement:!1}}}},{key:"events",value:function(){return{"click .create-new":"onClickCreateNew"}}},{key:"onClickCreateNew",value:function(e){e.preventDefault(),r.Radio.channel(this.options.channelName).trigger("create:folder:clicked")}},{key:"setButtonText",value:function(e,t){if(e&&!t){var n=e.get("name");this.getUI("button").text(n)}else{var r=a.f.getSelected(this.options.folderTreeKey,this.collection),o=r?r.get("name"):i.a.getPhrase(this.lang,"button");this.getUI("button").text(o)}}},{key:"renderSelector",value:function(){this.showChildView("selector",new l.a({styles:f.a,collection:this.collection,channelName:this.options.channelName,childrenProperty:"children",folderTreeId:this.options.folderTreeKey,extraClass:f.a.list,extraClasses:f.a.list,isSelector:!0,disabledIds:this.disabledIds||{}}))}},{key:"viewOptions",value:function(){return{styles:f.a,name:this.options.name||this.options.channelName,buttonText:this.buttonText,canCreateNew:this.options.canCreateNew}}},{key:"onRender",value:function(){this.setButtonText(),this.renderSelector()}},{key:"name",get:function(){return"TreeDropdownComponent"}},{key:"template",get:function(){return c.a}},{key:"className",get:function(){return"position-relative"}},{key:"lang",get:function(){return"libraryEditor.treeDropdown"}},{key:"defaults",get:function(){return{disabledIds:[]}}},{key:"elements",get:function(){return{button:".custom-select"}}}])&&d(t.prototype,n),o&&d(t,o),u}(o.a.Component)},1037:function(e,t,n){var r=n(10);e.exports=(r.default||r).template({1:function(e,t,n,r,o){e.propertyIsEnumerable;var i,l=e.escapeExpression;return' <button class="create-new btn font-weight-bold rounded-0 w-100 text-left '+l(e.lambda(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.customItem:i,t))+'">'+l((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"createNew",{name:"lang",hash:{},data:o}))+"</button>\r\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){e.propertyIsEnumerable;var i,l=e.lambda,a=e.escapeExpression;return'<button\r\n class="'+a(l(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.selectBtn:i,t))+' custom-select form-control"\r\n data-toggle="dropdown"\r\n aria-haspopup="true"\r\n aria-expanded="false"\r\n name='+a(l(null!=(i=null!=t?t.options:t)?i.name:i,t))+"\r\n>"+a(l(null!=(i=null!=t?t.options:t)?i.buttonText:i,t))+'</button>\r\n<div class="dropdown-menu '+a(l(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.selector:i,t))+'">\r\n <div class="selector-region"></div>\r\n'+(null!=(i=n.if.call(null!=t?t:e.nullContext||{},null!=(i=null!=t?t.options:t)?i.canCreateNew:i,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o}))?i:"")+'</div>\r\n<div class="form-feedback"></div>'},useData:!0})},1038:function(e,t,n){e.exports={selectBtn:"_2TTgs",list:"_3wN7o",selector:"_3Xf1P",customItem:"_199PI"}},1073:function(e,t,n){"use strict";n.d(t,"a",(function(){return g}));var r=n(1),o=n(7),i=n(2),l=n(1031),a=n(13),s=n(1074),c=n.n(s),u=n(1075),f=n.n(u);function p(e){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function d(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function y(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=m(e);if(t){var o=m(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return b(this,n)}}function b(e,t){return!t||"object"!==p(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var g=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}(u,e);var t,n,i,s=y(u);function u(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u),(t=s.call(this,e)).selectSearch="",t.sameCharIndex=1,t.optionStep=1,t}return t=u,(n=[{key:"initialize",value:function(){this.setModel(),this.bindListeners()}},{key:"regions",value:function(){return{dropdown:{el:".dropdown-region",replaceElement:!0}}}},{key:"events",value:function(){return{keydown:"onKeydown","shown.bs.dropdown":"onShowDropdown"}}},{key:"bindListeners",value:function(){this.listenTo(this.options.channelName,this.options.childOptions.eventName,this.onSelect)}},{key:"onShowDropdown",value:function(e){o.Radio.channel(this.options.channelName).trigger("center:dropdown")}},{key:"onKeydown",value:function(e){38===e.keyCode||40===e.keyCode?this.onArrowKeyDown(e):13===e.keyCode?this.render():this.onType(e),o.Radio.channel(this.options.channelName).trigger("center:dropdown")}},{key:"onArrowKeyDown",value:function(e){a.c.getSelected(this.collection)?this.optionStep=1:this.optionStep=0;var t=this.getNextModel(e.keyCode);for(t||(a.c.deselectAll(this.collection),t=this.getNextModel(e.keyCode));this.isDisabled(t);)this.optionStep++,t=this.getNextModel(e.keyCode);this.onSelect(t)}},{key:"onType",value:function(e){if(1===e.key.toString().length){var t=this.getModelMatch(e);t&&this.onSelect(t),this.runTimer()}}},{key:"onSelect",value:function(e){this.isDisabled(e)||(a.c.setSelected(e.get("id"),this.collection),this.setModel(),this.getUI("dropdownToggle").text(this.getButtonText()),o.Radio.channel(this.options.channelName).trigger("select:option:selected",e))}},{key:"setModel",value:function(){this.model=a.c.getSelected(this.collection)}},{key:"getNextModel",value:function(e){var t,n=a.c.getSelected(this.collection)||this.collection.first(),r=this.collection.indexOf(n);return(t=38===e?this.collection.at(r-this.optionStep):this.collection.at(r+this.optionStep))||(a.c.deselectAll(this.collection),t=this.collection.first(),this.optionStep=0),t}},{key:"getModelMatch",value:function(e){var t,n=this;return 1===this.selectSearch.length&&this.selectSearch===e.key?t=this.handleSameCharIndex(e.key):(this.selectSearch+=e.key,this.sameCharIndex=1),t||(t=r.find(this.collection.models,(function(e){return e.get(n.options.displayProperty).toLowerCase().slice(0,n.selectSearch.length).includes(n.selectSearch.toLowerCase())}))),t}},{key:"handleSameCharIndex",value:function(e){var t=this,n=r.filter(this.collection.models,(function(n){return n.get(t.options.displayProperty).toLowerCase().slice(0,1)===e}));if(n.length>1){var o=n[this.sameCharIndex];return o||(o=r.first(n),this.sameCharIndex=0),this.sameCharIndex++,o}return r.first(n)}},{key:"runTimer",value:function(){var e=this;this.scopedTimerIndex&&clearTimeout(this.scopedTimerIndex),this.scopedTimerIndex=window.setTimeout((function(){e.selectSearch=""}),500)}},{key:"isDisabled",value:function(e){return!!e.get("divider")||!!r.isFunction(this.options.childOptions.isDisabled)&&this.options.childOptions.isDisabled.apply(this,arguments)}},{key:"getButtonText",value:function(){if(this.options.disabled)return this.options.noOptionsText;var e=a.c.getSelected(this.collection);return e&&e.get(this.options.displayProperty)||this.options.placeholderText}},{key:"viewOptions",value:function(){return{styles:f.a,inputName:this.options.inputName,disabled:this.options.disabled,placeholderText:this.getButtonText()}}},{key:"onRender",value:function(){this.showChildView("dropdown",new l.a({collection:this.collection,channelName:this.options.channelName,childOptions:r.extend(this.options.childOptions),displayOptions:{extraClasses:"w-100 ".concat(f.a.dropdownMenu)},analyticsHelper:this.options.analyticsHelper}))}},{key:"name",get:function(){return"SelectComponent"}},{key:"template",get:function(){return c.a}},{key:"defaults",get:function(){return{displayProperty:"name"}}},{key:"elements",get:function(){return{dropdownToggle:".dropdown-toggle"}}}])&&d(t.prototype,n),i&&d(t,i),u}(i.a.Component)},1074:function(e,t,n){var r=n(10);e.exports=(r.default||r).template({1:function(e,t,n,r,o){var i;e.propertyIsEnumerable;return e.escapeExpression(e.lambda(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.disabled:i,t))},3:function(e,t,n,r,o){return" disabled"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){e.propertyIsEnumerable;var i,l=e.lambda,a=e.escapeExpression,s=null!=t?t:e.nullContext||{};return'<button \r\n class="dropdown-toggle form-control btn-block text-left position-relative '+a(l(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.selectButton:i,t))+" "+(null!=(i=n.if.call(s,null!=(i=null!=t?t.options:t)?i.disabled:i,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o}))?i:"")+'" \r\n type="button" \r\n id="dropdownMenuButton" \r\n data-toggle="dropdown" \r\n aria-haspopup="true" \r\n aria-expanded="false"\r\n '+(null!=(i=n.if.call(s,null!=(i=null!=t?t.options:t)?i.disabled:i,{name:"if",hash:{},fn:e.program(3,o,0),inverse:e.noop,data:o}))?i:"")+' \r\n name="'+a(l(null!=(i=null!=t?t.options:t)?i.inputName:i,t))+'"\r\n >\r\n '+a(l(null!=(i=null!=t?t.options:t)?i.placeholderText:i,t))+'\r\n</button>\r\n<div class="dropdown-region"></div>\r\n<div class="form-feedback"></div>'},useData:!0})},1075:function(e,t,n){e.exports={dropdownMenu:"_2RaQu",selectButton:"_2xGqi",disabled:"_15kWr"}},1096:function(e,t,n){"use strict";n.d(t,"a",(function(){return g}));var r=n(1),o=n(7),i=n(2),l=n(3),a=n(42),s=n(1073),c=n(13),u=n(1097),f=n.n(u);function p(e){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function d(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function y(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=m(e);if(t){var o=m(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return b(this,n)}}function b(e,t){return!t||"object"!==p(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var g=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}(p,e);var t,n,i,u=y(p);function p(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,p),u.call(this,e)}return t=p,(n=[{key:"initialize",value:function(){this.bindListeners(),c.c.deselectAll(this.collection),c.c.setSelected(this.options.currentLibraryId,this.collection)}},{key:"regions",value:function(){return{dropdown:{el:".dropdown-menu-region",replaceElement:!0}}}},{key:"bindListeners",value:function(){var e=this;this.listenTo(this.channelName,"select:option:selected",(function(t){o.Radio.channel(e.options.channelName).trigger("library:selected",t)}))}},{key:"getIsOptionDisabledFn",value:function(){var e=this.options.disabledLibraryIds;return function(t){var n=t||this.model;if(r.contains(e,n.get("id")+""))return!0}}},{key:"onRender",value:function(){this.showChildView("dropdown",new s.a({collection:this.collection,channelName:this.channelName,childOptions:{titleProperty:"name",eventName:"select:option:click",isDisabled:this.getIsOptionDisabledFn()},placeholderText:this.options.placeholderText||l.a.getPhrase(this.lang,"placeholder"),noOptionsText:l.a.getPhrase(this.lang,"noLibraries"),inputName:this.options.inputName,disabled:0===this.collection.length||this.options.disabled,analyticsHelper:a.a}))}},{key:"name",get:function(){return"LibrarySelectComponent"}},{key:"channelName",get:function(){return"".concat(this.name).concat(this.cid)}},{key:"className",get:function(){return"position-relative"}},{key:"lang",get:function(){return"libraryEditor.librarySelect"}},{key:"template",get:function(){return f.a}}])&&d(t.prototype,n),i&&d(t,i),p}(i.a.Component)},1097:function(e,t,n){var r=n(10);e.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){return'<div class="dropdown-menu-region"></div>\r\n<div class="form-feedback"></div>'},useData:!0})},1325:function(e,t,n){var r=n(10);e.exports=(r.default||r).template({1:function(e,t,n,r,o){e.propertyIsEnumerable;var i,l=null!=t?t:e.nullContext||{};return(null!=(i=n.if.call(l,null!=(i=null!=t?t.options:t)?i.foundLibraries:i,{name:"if",hash:{},fn:e.program(2,o,0),inverse:e.noop,data:o}))?i:"")+"\r\n"+(null!=(i=n.if.call(l,null!=(i=null!=t?t.options:t)?i.hasAvailableLibraries:i,{name:"if",hash:{},fn:e.program(4,o,0),inverse:e.noop,data:o}))?i:"")+"\r\n"+(null!=(i=n.if.call(l,null!=(i=null!=t?t.options:t)?i.showNoFolderText:i,{name:"if",hash:{},fn:e.program(7,o,0),inverse:e.noop,data:o}))?i:"")},2:function(e,t,n,r,o){var i;e.propertyIsEnumerable;return' <div class="alert alert-info" role="alert">\r\n <p class="m-0">'+(null!=(i=(n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"foundLibraries",{name:"lang",hash:{libraries:null!=(i=null!=t?t.options:t)?i.foundLibraries:i},data:o}))?i:"")+"</p>\r\n </div>\r\n"},4:function(e,t,n,r,o){e.propertyIsEnumerable;var i,l=null!=t?t:e.nullContext||{},a=e.hooks.helperMissing,s=e.escapeExpression,c=e.lambda;return' <span class="d-block pb-2">'+s((n.lang||t&&t.lang||a).call(l,"selectFolder",{name:"lang",hash:{},data:o}))+"</span>\r\n"+(null!=(i=n.if.call(l,null!=(i=null!=t?t.options:t)?i.hasMultipleLibraries:i,{name:"if",hash:{},fn:e.program(5,o,0),inverse:e.noop,data:o}))?i:"")+' <div class="mt-1 mb-2 library-dropdown-region"></div>\r\n\r\n <span class="'+s(c(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.header:i,t))+' folder-name">'+s((n.lang||t&&t.lang||a).call(l,"folder",{name:"lang",hash:{},data:o}))+'</span>\r\n <div class="'+s(c(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.folderSelector:i,t))+' mt-1 folder-selector-region"></div>\r\n'},5:function(e,t,n,r,o){e.propertyIsEnumerable;var i,l=e.escapeExpression;return' <span class="'+l(e.lambda(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.header:i,t))+'">'+l((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"library",{name:"lang",hash:{},data:o}))+"</span>\r\n"},7:function(e,t,n,r,o){e.propertyIsEnumerable;var i,l=null!=t?t:e.nullContext||{},a=e.hooks.helperMissing;return" <p>"+e.escapeExpression((n.lang||t&&t.lang||a).call(l,"noFolders1",{name:"lang",hash:{},data:o}))+"</p>\r\n <p>"+(null!=(i=(n.lang||t&&t.lang||a).call(l,"noFolders2",{name:"lang",hash:{},data:o}))?i:"")+"</p>\r\n"},9:function(e,t,n,r,o){var i;e.propertyIsEnumerable;return(null!=(i=e.lambda(null!=(i=null!=t?t.options:t)?i.spinnerEl:i,t))?i:"")+"\r\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i;e.propertyIsEnumerable;return null!=(i=n.if.call(null!=t?t:e.nullContext||{},null!=(i=null!=t?t.options:t)?i.dataFetched:i,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.program(9,o,0),data:o}))?i:""},useData:!0})},1326:function(e,t,n){e.exports={header:"_1tdTv"}},1429:function(e,t,n){"use strict";n.r(t),n.d(t,"AddToLibraryView",(function(){return L}));var r=n(1),o=n(2),i=n(5),l=n(244),a=n(1036),s=n(281),c=n(6),u=n(62),f=n(1019),p=n(13),d=n(0),h=n(3),y=n(137),b=n(1096),m=n(1325),g=n.n(m),v=n(1326),w=n.n(v);function k(e){return(k="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function S(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function O(e,t){return(O=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function x(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=C(e);if(t){var o=C(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return T(this,n)}}function T(e,t){return!t||"object"!==k(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function C(e){return(C=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var L=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&O(e,t)}(v,e);var t,n,o,m=x(v);function v(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,v),m.call(this,e)}return t=v,(n=[{key:"initialize",value:function(){this.videoDataService=i.a.getInstance(d.g.Video,this),this.bindListeners()}},{key:"regions",value:function(){return{libraryDropdown:".library-dropdown-region",folderSelector:".folder-selector-region"}}},{key:"events",value:function(){return{submit:"onSubmit"}}},{key:"bindListeners",value:function(){this.listenTo("".concat(this.channelName,":library"),"library:selected",this.onLibrarySelected),this.listenTo("".concat(this.channelName,":folder"),"folder:selected",this.onFolderSelected),this.listenTo(d.e.VIDEO,"".concat(d.f.VIDEOS,":").concat(this.options.videoId,":sync"),this.render),this.listenTo(d.e.VIDEO,"get:video:categories:libraries:".concat(this.options.videoId,":sync"),this.render)}},{key:"onSubmit",value:function(e){e&&e.preventDefault(),this.spinnerModel.set(l.c.ShowSpinner,!0),this.addToLibrary()}},{key:"onLibrarySelected",value:function(e){this.spinnerModel.set(l.c.Disabled,!0),p.f.setSelected(this.libraryTreeKey,e.get("id"),this.customLibraries),this.renderFolderSelector()}},{key:"onFolderSelected",value:function(e){this.spinnerModel.set(l.c.Disabled,!1),p.f.setSelected(this.folderTreeKey,e,this.customLibraries)}},{key:"getVideosCustomLibraryNames",value:function(){if(!this.dataFetched())return null;var e=this.getVideoCustomLibraries();if(!e.length)return null;var t=r.map(e,(function(e){return"<strong>".concat(p.v.escapeExpression(e),"</strong>")}));if(1===t.length)return t[0];var n=h.a.getPhrase(this.lang,"and");return"".concat(t.slice(0,-1).join(", ")," ").concat(n," ").concat(t.slice(-1))}},{key:"addToLibrary",value:function(){var e,t,n=this,o=p.f.getSelected(this.folderTreeKey,this.customLibraries),i=o.get("id"),l=p.f.getSelected(this.libraryTreeKey,this.customLibraries).get("id"),a=this.model.libraries.filter((function(e){return e.get("type")===u.a.HostedLibrary})),s=this.model.categories;s&&s.last()&&(e=s.last().get("id")),a&&a.length&&(t=r.last(a).get("id"));var f={masterObjectId:this.options.videoId,masterObjectType:c.i.Video,metadata:{sourceLibraryId:t,sourceCategoryId:e,destinationLibraryId:l,destinationCategoryId:i}};this.videoDataService.addVideoToCustomLibrary(f,this.model,o,(function(){n.triggerMethod("hide")}))}},{key:"getSubmitBtnTooltipOptions",value:function(){if(this.spinnerModel.get(l.c.Disabled)&&this.hasAvailableLibraries())return{title:h.a.getPhrase(this.lang,"heading")}}},{key:"getAvailableCustomLibraries",value:function(){if(!this.dataFetched())return null;var e=this.customLibraries.clone();e.remove(this.model.libraries.filter((function(e){return e.get("type")===u.a.CustomLibrary})));var t=e.filter((function(e){return 0===e.children.length}));return e.remove(t),e}},{key:"hasAvailableLibraries",value:function(){if(!this.customLibraries)return!1;var e=this.getAvailableCustomLibraries();return e&&e.length>0}},{key:"hasFolders",value:function(){return!!this.customLibraries&&!!this.customLibraries.find((function(e){return!!e.get("children").length}))}},{key:"getVideoCustomLibraries",value:function(){if(!this.model||!this.model.libraries||!this.model.libraries.length)return null;var e=this.model.libraries.filter((function(e){return e.get("type")===u.a.CustomLibrary}));return r.map(e,(function(e){return e.get("name")}))}},{key:"dataFetched",value:function(){return!!this.model}},{key:"renderLibraryDropdown",value:function(){if(this.customLibraries.length<=1)this.renderFolderSelector();else{var e=p.f.getSelected(this.libraryTreeKey,this.customLibraries),t=this.getUI("folderName");this.$(t).hide(),this.showChildView("libraryDropdown",new b.a({currentLibraryId:e?e.get("id"):null,collection:this.getAvailableCustomLibraries(),channelName:"".concat(this.channelName,":library")}))}}},{key:"renderFolderSelector",value:function(){var e=this.getAvailableCustomLibraries();1===e.length&&p.f.setSelected(this.libraryTreeKey,e.first().get("id"),e);var t=p.f.getSelected(this.libraryTreeKey,e),n=t.get("children")&&!!t.get("children").length,r=this.getUI("folderName");t&&n&&this.$(r).show(),this.showChildView("folderSelector",new a.a({collection:t.children,channelName:"".concat(this.channelName,":folder"),folderTreeKey:this.folderTreeKey}))}},{key:"onBeforeRender",value:function(){this.model=this.videoDataService.getVideo(this.options.videoId)}},{key:"viewOptions",value:function(){var e;return{styles:w.a,foundLibraries:this.getVideosCustomLibraryNames(),hasAvailableLibraries:this.hasAvailableLibraries(),hasMultipleLibraries:(null===(e=this.customLibraries)||void 0===e?void 0:e.length)>1,dataFetched:this.dataFetched(),spinnerEl:p.q.getSpinner({size:p.r.Large,extraClasses:"mx-auto"}),showNoFolderText:!this.hasFolders()}}},{key:"onRender",value:function(){this.dataFetched()&&this.hasAvailableLibraries()&&this.renderLibraryDropdown()}},{key:"name",get:function(){return"AddToLibraryView"}},{key:"title",get:function(){return h.a.getPhrase(this.lang,"title")}},{key:"lang",get:function(){return"contentUpdates.addToLibrary"}},{key:"tagName",get:function(){return"form"}},{key:"className",get:function(){return"form-group"}},{key:"appLinks",get:function(){return{".library-editor-applink":{application:d.b.LIBRARY_EDITOR,action:d.a.LibraryEditor.HOME}}}},{key:"folderTreeKey",get:function(){return"folderselect:".concat(this.cid)}},{key:"libraryTreeKey",get:function(){return"libraryselect:".concat(this.cid)}},{key:"channelName",get:function(){return p.k.generateUniqueChannelName(this)}},{key:"template",get:function(){return g.a}},{key:"behaviors",get:function(){var e=this;return[{behaviorClass:s.f,title:h.a.getPhrase(this.lang,"submitTooltip"),size:"modal-md",spinnerButtonOptions:{channelName:this.channelName,model:this.spinnerModel=new f.a,buttonText:h.a.getPhrase(this.lang,"addBtn"),tooltip:function(){return e.getSubmitBtnTooltipOptions()},onClick:function(t){return e.onSubmit(t)}}}]}},{key:"elements",get:function(){return{folderName:".folder-name"}}},{key:"requiredResources",get:function(){return{customLibraries:y.b.libraries}}}])&&S(t.prototype,n),o&&S(t,o),v}(o.a.View)}}]);